/* ==========================================================================
   Fashion S.House — static recreation of the Figma "Desktop" frame
   (Relume Figma Kit v3.7, node 10202:76434)

   Structure of this file
   1.  Design tokens
   2.  Reset and base
   3.  Layout primitives (section / container / color schemes)
   4.  Typography
   5.  Reusable components (button, product card, category, slider ui ...)
   6.  Sections (navbar to footer)
   7.  Responsive behaviour

   No animation, transition or transform is declared anywhere in this file so
   that motion can be layered on later without touching the structure.
   ========================================================================== */

/* 1. Design tokens ========================================================= */

:root {
  /* Colors — Figma variable collection "Color" */
  --color-neutral-darkest: #020404;
  --color-white: #ffffff;
  --color-amaranth: #e63946;

  --opacity-neutral-darkest-5: rgba(2, 4, 4, 0.05);
  --opacity-neutral-darkest-15: rgba(2, 4, 4, 0.15);
  --opacity-white-10: rgba(255, 255, 255, 0.1);

  /* Color schemes */
  --scheme-1-background: #451115;
  --scheme-1-foreground: #451115;
  --scheme-1-text: #ffffff;

  --scheme-4-background: #ffffff;
  --scheme-4-text: #020404;
  --scheme-4-border: rgba(2, 4, 4, 0.15);

  --scheme-6-background: #f2f2f2;
  --scheme-6-text: #020404;

  --scheme-7-background: #fcebec;
  --scheme-7-foreground: #fcebec;
  --scheme-7-text: #020404;

  --scheme-8-background: #264653;
  --scheme-8-foreground: #264653;
  --scheme-8-text: #ffffff;

  /* Type sizes */
  --text-heading-1: 84px;
  --text-heading-2: 60px;
  --text-heading-4: 40px;
  --text-heading-6: 26px;
  --text-tagline-display: 64px;
  --text-cta-lead: 24px;
  --text-large: 26px;
  --text-medium: 20px;
  --text-regular: 18px;
  --text-small: 16px;

  /* Type families */
  --font-heading: "Bebas Neue", "Inter", "Segoe UI", sans-serif;
  --font-heading-serif: "Abhaya Libre", "Inter", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
  --font-serif: "Roboto Serif", Georgia, "Times New Roman", serif;
  --font-slab: "Roboto Slab", Georgia, "Times New Roman", serif;
  --font-condensed: "Roboto Condensed", "Arial Narrow", "Segoe UI", sans-serif;

  /* Spacing */
  --page-padding-global: 64px;
  --section-padding-large: 112px;
  --section-padding-medium: 80px;
  --container-large: 1280px;
  --max-width-large: 768px;

  /* Radius */
  --radius-medium: 8px;
  --radius-large: 8px;
  --radius-pill: 100px;

  /* Elevation — button shadow recipes from the Figma component */
  --shadow-button-soft: 0 1px 2px 0 var(--opacity-neutral-darkest-5);
  --shadow-button-primary-inset:
    inset 0 32px 24px 0 rgba(255, 255, 255, 0.05),
    inset 0 2px 1px 0 rgba(255, 255, 255, 0.25),
    inset 0 0 0 0 var(--opacity-neutral-darkest-15),
    inset 0 -2px 1px 0 rgba(0, 0, 0, 0.2);
  --shadow-button-light-inset:
    inset 0 0 0 0 var(--opacity-white-10),
    inset 0 -2px 1px 0 var(--opacity-neutral-darkest-5);
  --shadow-button-dark-inset:
    inset 0 0 0 0 var(--opacity-neutral-darkest-5),
    inset 0 -2px 1px 0 var(--opacity-neutral-darkest-5);
}

/* 2. Reset and base ======================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--scheme-4-background);
  color: var(--scheme-4-text);
  font-family: var(--font-body);
  font-size: var(--text-regular);
  line-height: 1.5;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

p,
figure {
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: 400;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

address {
  font-style: normal;
}

/* 3. Layout primitives ===================================================== */

.section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--section-padding-large) var(--page-padding-global);
  background-color: var(--section-background, var(--scheme-4-background));
  color: var(--section-text, var(--scheme-4-text));
}

.container {
  width: 100%;
  max-width: var(--container-large);
}

/* Color scheme scoping — each section declares the palette its children use. */

.scheme-1 {
  --section-background: var(--scheme-1-background);
  --section-foreground: var(--scheme-1-foreground);
  --section-text: var(--scheme-1-text);
}

.scheme-4 {
  --section-background: var(--scheme-4-background);
  --section-foreground: var(--scheme-4-background);
  --section-text: var(--scheme-4-text);
}

.scheme-6 {
  --section-background: var(--scheme-6-background);
  --section-foreground: var(--scheme-6-background);
  --section-text: var(--scheme-6-text);
}

.scheme-7 {
  --section-background: var(--scheme-7-background);
  --section-foreground: var(--scheme-7-foreground);
  --section-text: var(--scheme-7-text);
}

.scheme-8 {
  --section-background: var(--scheme-8-background);
  --section-foreground: var(--scheme-8-foreground);
  --section-text: var(--scheme-8-text);
}

/* 4. Typography ============================================================ */

.heading-1,
.heading-2,
.heading-4,
.heading-6 {
  font-family: var(--font-heading);
  font-weight: 400;
  text-transform: uppercase;
}

.heading-1 {
  font-size: var(--text-heading-1);
  line-height: 1;
  letter-spacing: -0.01em;
}

.heading-2 {
  font-size: var(--text-heading-2);
  line-height: 1;
  letter-spacing: -0.01em;
}

.heading-4 {
  font-size: var(--text-heading-4);
  line-height: 1;
  letter-spacing: -0.01em;
}

.heading-6 {
  font-size: var(--text-heading-6);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.tagline {
  font-size: var(--text-small);
  font-weight: 600;
  line-height: 1.5;
}

.text-medium {
  font-size: var(--text-medium);
  line-height: 1.5;
}

.text-small {
  font-size: var(--text-small);
  line-height: 1.5;
}

.link-underline {
  text-decoration: underline;
  text-underline-position: from-font;
}

/* 5. Components ============================================================ */

/* 5.1 Button --------------------------------------------------------------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border: 0;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: var(--text-regular);
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.button--small {
  padding: 8px 20px;
}

/* Full-bleed button used inside a product card. */
.button--block {
  width: 100%;
  height: 40px;
  padding: 8px 20px;
}

.button--primary {
  background-color: var(--color-amaranth);
  color: var(--color-white);
  box-shadow: var(--shadow-button-primary-inset);
  filter: drop-shadow(0 1px 1px rgba(2, 4, 4, 0.05));
}

.button--light {
  background-color: var(--opacity-white-10);
  color: var(--color-white);
  box-shadow: var(--shadow-button-soft), var(--shadow-button-light-inset);
}

/* Same as .button--light plus the 1px inner ring used in the category row. */
.button--light-ring {
  background-color: var(--opacity-white-10);
  color: var(--color-white);
  box-shadow:
    var(--shadow-button-soft),
    inset 0 0 0 1px var(--opacity-white-10),
    inset 0 -2px 1px 0 var(--opacity-neutral-darkest-5);
}

.button--dark {
  background-color: var(--opacity-neutral-darkest-5);
  color: var(--color-neutral-darkest);
  box-shadow: var(--shadow-button-soft), var(--shadow-button-dark-inset);
}

/* Solid white pill — reads as the quiet option next to the amaranth one
   on the dark hero. */
.button--white {
  background-color: var(--color-white);
  color: var(--color-neutral-darkest);
  box-shadow: var(--shadow-button-soft), var(--shadow-button-dark-inset);
}

/* 5.2 Section title -------------------------------------------------------- */

.section-title {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  max-width: var(--max-width-large);
}

.section-title__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Empty tagline slot present in the Figma frame — keeps the designed rhythm. */
.tagline-wrapper--empty {
  height: 24px;
}

/* 5.3 Product card --------------------------------------------------------- */

.product-card {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  gap: 16px;
  width: 296px;
}

/* The artwork is intentionally 8px wider than the card, exactly as designed. */
.product-card__media {
  width: 304px;
  height: 364.8px;
  border-radius: var(--radius-medium);
  overflow: hidden;
}

.product-card__media img,
.product-card__media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.product-card__row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  height: 48px;
}

.product-card__header {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  min-width: 0;
}

.product-card__name {
  font-size: var(--text-medium);
  font-weight: 600;
  line-height: 1.5;
}

.product-card__material {
  font-size: var(--text-small);
  line-height: 1.5;
}

.product-card__price {
  font-size: var(--text-large);
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;
}

/* 5.4 Slider chrome -------------------------------------------------------- */

.slider-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.slider-dots {
  width: 104px;
  height: 8px;
}

.slider-buttons {
  display: flex;
  gap: 16px;
}

.slider-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border: 1px solid var(--opacity-neutral-darkest-15);
  border-radius: var(--radius-pill);
  background-color: var(--section-foreground);
  cursor: pointer;
}

.slider-arrow img {
  width: 24px;
  height: 24px;
}

/* 5.5 Company logo --------------------------------------------------------- */

/* ЗОРИУДЫН ЗӨРӨЛ (Figma: 70x36 хэвтээ `logo-wide.svg`).
   Дэлгүүр жинхэнэ брэндийн логогоо өгсөн — тэр нь давхарласан
   бүтэцтэй (дээвэр, FASHION, S.HOUSE, зураас) тул харьцаа нь 1.64:1,
   Figma-гийнх шиг 1.94:1 биш. 36px өндөрт шахвал S.HOUSE уншигдахаа
   болино. Тиймээс 82x50 болгов — харьцааг нь хадгалж, S.HOUSE-ийн
   үсгийн өндөр ~14px болж уншигдана. Толгой хэсэг 68px-ээс 82px болж
   өндөрсөнө. README-гийн зөрөлтийн хүснэгтэд бичигдсэн. */

.company-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 82px;
  height: 50px;
  overflow: hidden;
}

.company-logo img {
  width: 82px;
  height: 50px;
}

/* 6. Sections ============================================================== */

/* 6.1 Navbar --------------------------------------------------------------- */

.navbar {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  padding: 14.5px var(--page-padding-global);
  background-color: var(--scheme-4-background);
  color: var(--scheme-4-text);
}

.navbar__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.navbar__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 40px;
}

.navbar__column {
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: center;
}

.navbar__links {
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: flex-end;
}

/* Хоёр дэлгүүрийн хаяг — шошго зүүн талдаа үлдэж, хаягууд
   нь доошоо зэрэгцэнэ. */
.navbar__link--stacked {
  display: inline-flex;
  gap: 8px;
  align-items: baseline;
}

.navbar__branches {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.navbar__link {
  font-family: var(--font-serif);
  font-size: var(--text-regular);
  font-weight: 400;
  line-height: 1.5;
  text-decoration: none;
  white-space: nowrap;
}

/* Emphasised runs inside a nav link: the venue name and the phone number. */
.navbar__link-em {
  font-weight: 600;
}

/* The pavilion number is set heavier still and in the brand maroon. */
.navbar__link-accent {
  font-weight: 900;
  color: var(--scheme-1-background);
}

/* Facebook mark that follows the phone number in the nav links row. */
.navbar__social {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  /* `.navbar__actions`-ийн 16px зайг Figma-гийн 32px болгож нөхнө. */
  margin-right: 16px;
}

/* Хажуугийн товчнуудтай ижил өндөр (button--small = 40px). SVG нь 1:1
   viewBox-той тул квадрат хэвээр томорч, гажуудахгүй. */
.navbar__social img {
  width: 40px;
  height: 40px;
}

.navbar__actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

/* 6.2 Hero header ---------------------------------------------------------- */

.hero__container {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.hero__content {
  display: flex;
  gap: 80px;
  align-items: flex-start;
}

.hero__column {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  min-width: 0;
}

/* ЗОРИУДЫН ЗӨРӨЛ: Figma-д байхгүй. Гарчгийн дээр гурван төрлийн текст
   цэс — зурагтай «Ангилал» хэсэг рүү хүрэхийн тулд доош гүйлгэх
   шаардлагагүй болгоно. Тэр хэсэг давхцдаг тул түр хаагдсан.
   README-гийн зөрөлтийн хүснэгтэд бичигдсэн. */
.hero__kinds {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 32px;
  margin-bottom: 24px;

  /* ОПТИК ЗЭРЭГЦҮҮЛЭЛТ. Гурвуулангийн CSS хайрцаг яг нэг цэгээс
     эхэлдэг ч НҮД нь бэхийг хардаг, хайрцгийг биш. Хэмжсэн нь
     (1440px, хайрцаг x=72.5):

         цэсний «Э»      бэх x=80   → 7.5px  = 0.42em (18px дээр)
         гарчгийн «Д»    бэх x=83   → 10.5px = 0.125em (84px дээр)

     Том гарчиг хажуудаа илүү зай үлдээдэг тул цэс нь зүүн тийш
     далийж харагдана. Зөрүүг нь нөхнө.

     Токенуудаар бичсэн учир таслах цэг бүрт өөрөө тохирно: 84px
     дээр +2.9px, 56px дээр -0.6px, 40px дээр -1.7px. Тогтмол
     пиксел бичвэл жижиг дэлгэц дээр эсрэгээрээ далийна. */
  margin-left: calc(var(--text-heading-1) * 0.125 - var(--text-regular) * 0.42);
}

.hero__kinds a {
  font-family: var(--font-body);
  font-size: var(--text-regular);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: inherit;
  text-decoration: none;
  /* Доогуур зураас нь hover-т гарна (motion.css). Зайг нь одооноос
     авч тавьснаар текст үсэрдэггүй. */
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}

/* The copy column starts 192px below the headline in the desktop frame. */
.hero__column--offset {
  justify-content: flex-end;
  padding-top: 192px;
}

.hero__copy {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Opening line, deliberately larger and heavier than the sentence below it. */
.hero__lead {
  font-size: var(--text-large);
  font-weight: 600;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-start;
}

.hero__gallery {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

/* ЗОРИУДЫН ЗӨРӨЛ (Figma: 1 видео + 2 зураг бүхий коллаж).
   Захиалгаар тэр коллажийг сүүлд нэмэгдсэн 12 бараагаар сольсон —
   4 багана x 3 мөр. Шалтгаан нь: коллаж нь тогтмол зураг байсан тул
   дэлгүүрийн жинхэнэ бараа нүүр хуудсанд шууд харагддаггүй байв.
   README-гийн зөрөлтийн хүснэгтэд бичигдсэн.

   `.hero__gallery` дүрмүүд хэвээр үлдэв — Figma-г дахин хөрвүүлэх
   үед эргэж хэрэгтэй болно. */

.hero__latest {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.hero__latest-head {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* Каруселийн зурвасаас ялгаатай нь энэ нь гүйдэггүй тор. Карт нь
   багананыхаа өргөнийг дагана — тиймээс `.product-card`-ийн тогтмол
   296px-ийг энд дарж бичнэ. */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 48px 32px;
}

.product-grid .product-card {
  width: auto;
  min-width: 0;
  /* Мөрийн өндрийг дүүргэнэ — доорх товчны зэрэгцүүлэлт үүнээс хамаарна. */
  height: 100%;
}

/* Зургийн харьцааг Figma-гийн картнаас (304 x 364.8) авав. Карт нь
   багананд багтахаар болсон тул өндрийг нь пикселээр биш, харьцаагаар
   барина. Мөн Figma дээр зураг картнаас 8px өргөн байдаг — тор дотор
   тэр нь хөрш багана руу халих тул энд тэгшитгэв. */
.product-grid .product-card__media {
  width: 100%;
  height: auto;
  aspect-ratio: 304 / 364.8;
}

/* Figma-гийн карт 296px өргөнтэй тул нэр нэг мөрөнд багтана гэж үзэж
   `.product-card__row`-д тогтмол 48px өндөр өгсөн. Тор дотор багана
   нарийн болохоор урт нэр хоёр мөр болж, тэр 48px-ээс халин доорх
   товчоо дарж эхэлдэг. Торонд өндрийг чөлөөлж, 48px-ийг доод хязгаар
   болгов. */
.product-grid .product-card__row {
  height: auto;
  min-height: 48px;
}

/* Нэр нь нэг мөр эсвэл хоёр мөр байхаас үл хамааран нэг эгнээний
   товчнууд нэг шугамд байх ёстой — карт мөрийн өндрийг дүүргэж,
   товч нь доод талд наалдана. */
.product-grid .product-card__body {
  flex: 1 1 auto;
}

.product-grid .product-card__body > .button {
  margin-top: auto;
}

/* Үнэ нь `white-space: nowrap` тул богиносож чадахгүй. Агшихыг нь
   зөвшөөрвөл хайрцаг нь нарийсаад текст нь нэрийн дээр халина. */
.product-grid .product-card__price {
  flex: 0 0 auto;
}

/* Үгийг зөвхөн ҮНЭХЭЭР багтахгүй үед таслана. `anywhere` биш —
   тэр нь «Гоёлын» гэдгийг «Гоёлы / н» болгож тасалдаг. */
.product-grid .product-card__name {
  overflow-wrap: break-word;
}

/* Left figure is pushed down so its 348px square sits on the gallery baseline. */
.hero__figure--offset {
  flex: 0 0 auto;
  padding-top: 244px;
}

.hero__figure--offset .hero__frame {
  width: 348px;
  height: 348px;
}

/* This one is fitted, not cropped: the portrait sits 196px wide and centred
   inside its 348px slot, letting the section colour show either side.
   Needs to outrank the shared `.hero__frame img` cover rule below. */
.hero__figure--offset .hero__frame img,
.hero__figure--offset .hero__frame video {
  object-fit: contain;
}

.hero__figure--tall {
  flex: 1 1 0;
  min-width: 0;
}

.hero__figure--tall .hero__frame {
  height: 828px;
}

.hero__figure--short {
  flex: 0 0 auto;
}

.hero__figure--short .hero__frame {
  width: 348px;
  height: 522px;
}

.hero__frame {
  border-radius: var(--radius-large);
  overflow: hidden;
}

.hero__frame img,
.hero__frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 6.3 Category row --------------------------------------------------------- */

/* Figma-гээс зориудаар хазайсан: захиалагчийн хүсэлтээр энэ хэсгийн дэвсгэрийг
   жоохон цайруулав. scheme-1 токеныг hero болон бусад хэсэг хуваалцдаг тул
   тэднийг хөндөхгүйн тулд зөвхөн энд --section-background-ыг дарж бичив. */
.categories {
  --section-background: #5a171c;
}

.categories__row {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

.category {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  gap: 32px;
  align-items: center;
  min-width: 0;
}

.category__media {
  width: 100%;
  aspect-ratio: 148 / 90;
  border-radius: var(--radius-medium);
  overflow: hidden;
}

.category__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category__content {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
  width: 100%;
}

.category__title {
  width: 100%;
  text-align: center;
}

/* 6.4 CTA ------------------------------------------------------------------ */

.cta__row {
  display: flex;
  gap: 80px;
  align-items: flex-start;
}

.cta__column {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  gap: 32px;
  min-width: 0;
}

/* Condensed rather than the Bebas display face used by the other headings,
   and set on a looser 1.4 leading so the two lines breathe. */
.cta__heading {
  font-family: var(--font-condensed);
  font-size: var(--text-heading-2);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.cta__text {
  font-family: var(--font-serif);
  font-size: var(--text-cta-lead);
  font-weight: 400;
  line-height: 1.5;
}

/* 6.5 Product carousel ----------------------------------------------------- */

/* The carousel track is clipped by the section edge, not by the container —
   that is what makes the next card peek into the page padding, as designed. */
.products {
  overflow: hidden;
}

.products__container {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.products__title {
  display: flex;
  gap: 32px;
  align-items: flex-end;
  justify-content: space-between;
}

/* The section tagline is a display line in its own right, not a small label. */
.products__tagline {
  font-family: var(--font-slab);
  font-size: var(--text-tagline-display);
  font-weight: 600;
  line-height: 1.5;
  color: var(--section-text);
}

/* On the light scheme it is set in the brand maroon rather than the body ink. */
.scheme-7 .products__tagline {
  color: var(--scheme-1-background);
}

.products__content {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

/* Static carousel track: it overflows the container exactly like the frame
   does in Figma. Scrolling is the browser's own, no script involved. */
.products__track {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  /* Stretch the track from the container's left edge to the viewport's right
     edge so the following card peeks out exactly like it does in the frame. */
  margin-right: calc(50% - 50vw);
  overflow-x: auto;
  scrollbar-width: none;
}

.products__track::-webkit-scrollbar {
  display: none;
}

/* 6.6 Customer info -------------------------------------------------------- */

.info__container {
  display: flex;
  flex-direction: column;
  gap: 80px;
  align-items: center;
}

.info__title {
  width: 100%;
  max-width: var(--max-width-large);
  text-align: center;
}

.info__row {
  display: flex;
  gap: 64px;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
}

.info__column {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  gap: 32px;
  align-items: center;
  min-width: 0;
  overflow: hidden;
}

.info__quote {
  width: 100%;
  font-family: var(--font-slab);
  font-size: var(--text-heading-6);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-align: center;
  text-transform: uppercase;
}

.info__avatar {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 153px;
  height: 123px;
  max-width: 100%;
}

.info__avatar img {
  width: 101px;
  height: 101px;
}

/* Delivery note and its call to action, in the right-hand column. */
.info__delivery {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  justify-content: center;
  width: 500px;
  max-width: 100%;
  min-height: 80px;
}

.info__delivery-note,
.info__delivery-link {
  font-size: var(--text-regular);
  line-height: 1.5;
  text-align: center;
}

.info__delivery-link {
  font-weight: 600;
  /* A deeper maroon than the brand background, set directly in the design. */
  color: #500a10;
  /* The design sets no underline here, unlike the contact links. */
  text-decoration: none;
}

/* 6.7 Contact -------------------------------------------------------------- */

.contact__container {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.contact__content {
  display: flex;
  gap: 80px;
  align-items: flex-start;
}

.contact__heading {
  font-family: var(--font-heading-serif);
  font-size: var(--text-heading-2);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.contact__details {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  gap: 24px;
  width: 500px;
  padding: 8px 0;
}

.contact__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact__icon {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
}

.contact__info {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

/* ЗОРИУДЫН ЗӨРӨЛ (Figma: `heading-6` = Bebas Neue 26px).
   Bebas Neue-д КИРИЛЛ ҮСЭГ БАЙХГҮЙ. Тиймээс нэг жагсаалт дотор
   «SUNDAY PLAZA-1» нь жинхэнэ Bebas-аар нарийхан, «УТАС» ба
   «КОМПЬЮТЕР МОЛЛ» нь браузерын fallback-аар өргөн гарч, гурван
   гарчиг хоёр өөр үсгийн хэлбэртэй харагдаж байв.

   Энэ жагсаалт нь латин, кирилл хоёрыг ЗЭРЭГ агуулдаг цорын ганц
   газар тул фонтыг Inter болгож нэгтгэв — гурвуулаа ижил. Хэсгийн
   том гарчиг (`.contact__heading`, Abhaya Libre) ч кириллдээ яг
   ийм fallback болдог тул энэ нь түүнтэй ч нийцнэ.

   README-гийн зөрөлтийн хүснэгтэд бичигдсэн. */
.contact__info h3 {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

.contact__map {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-large);
  overflow: hidden;
}

.contact__map img,
.contact__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

/* Map plus its caption sit closer together than the section's 80px rhythm.
   Хоёр дэлгүүрийн хооронд л илүү зай хэрэгтэй. */
.contact__map-block {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Дэлгүүр бүр: нэр, зураг, холбоос. Хоёр зураг дараалж байхад аль нь
   аль болохыг нэр нь хэлэх ёстой. */
.contact__shop {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact__map-title {
  font-family: var(--font-body);
  font-size: var(--text-regular);
  font-weight: 600;
  line-height: 1.5;
}

.contact__map-link {
  font-size: var(--text-regular);
  font-weight: 600;
  line-height: 1.5;
  text-align: right;
}

/* 6.8 Footer --------------------------------------------------------------- */

.footer {
  padding-top: var(--section-padding-medium);
  padding-bottom: var(--section-padding-medium);
}

.footer__container {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.footer__top {
  display: flex;
  gap: 32px;
  align-items: center;
}

.footer__brand {
  display: flex;
  flex: 1 1 0;
  min-width: 0;
}

.footer__links {
  display: flex;
  flex: 0 0 auto;
  gap: 32px;
  justify-content: center;
}

.footer__links a {
  font-size: var(--text-small);
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  white-space: nowrap;
}

.footer__social {
  display: flex;
  flex: 1 1 0;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
}

.footer__social img {
  width: 24px;
  height: 24px;
}

.footer__credits {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
}

.footer__divider {
  width: 100%;
  height: 0;
  margin: 0;
  border: 0;
  border-top: 1px solid var(--scheme-4-border);
}

.footer__legal {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  font-size: var(--text-small);
  line-height: 1.5;
}

.footer__legal span,
.footer__legal a {
  white-space: nowrap;
}

/* 7. Responsive ============================================================
   The Figma file only ships the 1440px desktop frame, so the two breakpoints
   below follow the Relume kit's standard tablet / mobile behaviour: the same
   content, reflowed — nothing added, nothing removed.
   ========================================================================== */

/* Десктоп дээр багана 4 хэвээр (захиалгаар). Гэвч 1280px-ээс доош
   багана 264px-ээс нарийсч, нэр, үнэ хоёр нэг мөрөнд багтахаа больдог:
   үнэ нь богиносдоггүй тул нэр нь үгээ дундуур таслуулж эхэлнэ.
   Багананы тоог хэвээр үлдээж, нэр, үнийг дээш доош нь өрөв. */
@media (max-width: 1280px) {
  .product-grid .product-card__row {
    flex-direction: column;
    gap: 4px;
  }

  /* Багана чиглэлд `flex: 1 1 0` нь өндрөө суналтад өгдөг тул болино. */
  .product-grid .product-card__header {
    flex: 0 0 auto;
    width: 100%;
  }
}

/* The navbar's own limit. Logo + serif link row + Facebook mark + cart leave
   a 135px gap at 1600px, so the design's 32px rhythm runs out at 1497px —
   it reflows to two rows well before the rest of the page does. */
@media (max-width: 1496px) {
  .navbar {
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .navbar__container {
    flex-wrap: wrap;
    gap: 16px;
  }

  .navbar__column {
    flex-wrap: wrap;
    gap: 16px;
    justify-content: flex-end;
  }

  .navbar__links {
    flex-wrap: wrap;
    gap: 16px 24px;
  }

  .navbar__link {
    white-space: normal;
  }
}

@media (max-width: 991px) {
  :root {
    --page-padding-global: 32px;
    --section-padding-large: 76px;
    --section-padding-medium: 56px;
    --text-heading-1: 56px;
    --text-heading-2: 44px;
    --text-heading-4: 34px;
    --text-tagline-display: 48px;
    --text-cta-lead: 22px;
  }

  .hero__container,
  .products__container,
  .info__container,
  .contact__container,
  .footer__container {
    gap: 56px;
  }

  /* When a row becomes a column its children must still fill the width,
     so the inherited `align-items: flex-start` has to be reset. */
  .hero__content,
  .cta__row,
  .contact__content {
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
  }

  .hero__column--offset {
    padding-top: 0;
  }

  .hero__gallery {
    gap: 24px;
  }

  /* Десктоп дээр 4 багана x 3 мөр. Таблетад 4 нь хэт нарийсдаг тул 3. */
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px 24px;
  }


  .hero__figure--offset,
  .hero__figure--short {
    flex: 1 1 0;
    min-width: 0;
  }

  .hero__figure--offset {
    padding-top: 120px;
  }

  .hero__figure--offset .hero__frame {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .hero__figure--short .hero__frame {
    width: 100%;
    height: auto;
    aspect-ratio: 348 / 522;
  }

  .hero__figure--tall .hero__frame {
    height: auto;
    aspect-ratio: 520 / 828;
  }

  .categories__row {
    gap: 32px;
  }

  .products__title {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }

  .products__actions {
    display: flex;
    justify-content: flex-start;
  }

  .contact__details {
    width: 100%;
  }

  .footer__top {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .footer__brand,
  .footer__social {
    flex: 0 0 auto;
    justify-content: center;
  }

  .footer__links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 24px;
  }

  .footer__legal {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 24px;
    text-align: center;
  }
}

@media (max-width: 767px) {
  :root {
    --page-padding-global: 20px;
    --section-padding-large: 64px;
    --section-padding-medium: 48px;
    --text-heading-1: 40px;
    --text-heading-2: 36px;
    --text-heading-4: 30px;
    --text-heading-6: 24px;
    --text-tagline-display: 36px;
    --text-cta-lead: 20px;
    --text-large: 22px;
    --text-medium: 18px;
    --text-regular: 16px;
  }

  .navbar__container {
    flex-direction: column;
    align-items: stretch;
  }

  .navbar__column {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .navbar__links {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  /* Шошго хажуудаа багана эзэлвэл хаягуудад өргөн дутаж, дэлгүүр
     тусбүрийн нэр дундуураа тасарна. Жижиг дэлгэцэнд шошгыг дээр нь
     тавьж, хаяг бүрт бүтэн өргөн өгнө. */
  .navbar__link--stacked {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  /* Facebook тэмдэг энэ эгнээнд нүүсэн тул 4 зүйл болж, 390px дээр
     халина. Боогдохоос нь өмнө мөр таслуулна. */
  .navbar__actions {
    flex-wrap: wrap;
  }

  .navbar__social {
    margin-right: 0;
  }

  .hero__container,
  .products__container,
  .info__container,
  .contact__container,
  .footer__container {
    gap: 40px;
  }

  .hero__gallery {
    flex-direction: column;
    align-items: stretch;
  }

  /* Гар утсан дээр 2 багана x 6 мөр — 12 бараа бүгд хэвээр.
     Нэг багана болговол 12 мөр болж, гүйлгэлт хэт уртсана. */
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 16px;
  }

  .hero__figure--offset {
    padding-top: 0;
  }

  .hero__figure--offset .hero__frame,
  .hero__figure--short .hero__frame,
  .hero__figure--tall .hero__frame {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .categories__row,
  .info__row {
    flex-direction: column;
    align-items: stretch;
    gap: 40px;
  }

  .contact__content {
    gap: 24px;
  }

  .contact__map {
    aspect-ratio: 4 / 3;
  }
}
