/* ==============================================
   CLAUDIA & CO — style.css
   Design system
   Số liệu lấy trực tiếp từ global.css, heroSection.css,
   cover, look section styles
   ============================================== */

/* Hellix — primary body font */
@font-face {
  font-family: 'Hellix';
  src: url('../../fonts/HellixVAR.woff2') format('woff2');
  font-display: swap;
  font-weight: 100 900;
}
@font-face {
  font-family: 'Hellix-fallback';
  src: local('Arial');
  font-style: normal;
  size-adjust: 100.75%;
}

/* ──────────────────────────────────────────────
   DESIGN TOKENS — copy từ  :root
   ────────────────────────────────────────────── */
:root {
  /* Màu — từ  global.css */
  --black:            #000000;
  --black-400:        #33383c;
  --white:            #ffffff;
  --iconic-gold:      #c8a86a;       /* màu promo banner  */
  --bg:               #f8f8f8;       /* body background  */
  --surface-90:       rgba(255,255,255,0.9);

  /* Extended black/white palette — từ  global.css */
  --black-300:  #5d676c;
  --black-200:  #7b8487;
  --black-100:  #acb2b4;
  --white-400:  #dadada;
  --white-300:  #e5e5e5;

  /* Semantic colors — từ  global.css */
  --color-content-primary:          var(--black-400);
  --color-content-secondary:        var(--white);
  --color-content-primary-alt-1:    var(--black-200);
  --color-content-secondary-alt-1:  var(--black-100);
  --color-container-primary:        var(--black-400);
  --color-container-secondary:      var(--white);
  --color-outline-primary:          var(--black-400);
  --color-outline-secondary:        var(--white);
  --color-outline-button-filled-secondary: rgba(0,0,0,0.15);
  --color-state-primary-hover:      var(--black-300);
  --color-state-secondary-hover:    var(--white-300);
  --color-state-primary-pressed:    var(--black-200);
  --color-state-secondary-pressed:  var(--white-400);
  --color-state-disable-content:    var(--black-100);
  --color-state-disable-container:  var(--white-400);
  --color-state-disable-outline:    var(--white-400);
  --component-text-color:           var(--color-content-primary);
  --component-secondary-text-color: var(--color-content-primary-alt-1);

  --color-container-bg:   var(--bg);
  --color-header-bg:      var(--white);
  --color-promo-bg:       var(--iconic-gold);
  --color-promo-text:     var(--white);
  --color-border:         rgba(0,0,0,0.1);

  /* Fonts — Heading: Playfair Display (Google), Body: Hellix local + DM Sans fallback */
  --font-primary:   'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-secondary: 'Hellix', 'Hellix-fallback', 'DM Sans', Arial, sans-serif;

  /* Spacing — từ  global.css (exact values) */
  --small-m:    0.25rem;   /* 4px  */
  --small-l:    0.5rem;    /* 8px  */
  --small-xl:   0.75rem;   /* 12px */
  --small-xxl:  1rem;      /* 16px */
  --medium-xs:  1.25rem;   /* 20px */
  --medium-s:   1.5rem;    /* 24px */
  --medium-m:   2rem;      /* 32px */
  --medium-l:   2.5rem;    /* 40px */
  --medium-xl:  3rem;      /* 48px */
  --medium-xxl: 3.5rem;    /* 56px */
  --large-xs:   4rem;      /* 64px */
  --large-s:    5rem;      /* 80px */

  /* Section gaps — từ pageDesignerContent.css */
  --section-headline-gap: var(--small-xxl);   /* 16px */
  --section-inside-gap:   var(--medium-m);    /* 32px */
  --section-end-gap:      var(--medium-l);    /* 40px */
  --section-start-gap:    var(--medium-l);    /* 40px */

  /* Aspect ratios — từ  global.css */
  --ratio-16-9:  1.7777777778;
  --ratio-4-5:   0.8;
  --ratio-2-3:   0.6666666667;
  --ratio-3-2:   1.5;
  --ratio-9-16:  0.5625;
  --ratio-1-1:   1;
  --ratio-21-5:  4.2;

  /* Other tokens — từ  global.css */
  --border-radius-m: 0.375rem;
  --shadow-s: 0 4px 80px 0 rgba(1,1,1,0.12);
  --large-m:  7.5rem;   /* 120px */

  /* Header — từ  global.css */
  --header-height:      5.5rem;    /* mobile: 88px (lớn hơn) */
  --header-logo-height: 2rem;      /* mobile */
  --promo-banner-height: 4.125rem; /* mobile */

  /* Transitions — từ  (motion-easy-both = cubic-bezier) */
  --motion-easy-both: cubic-bezier(0.455, 0.03, 0.515, 0.955);
  --trans:       0.3s var(--motion-easy-both);
  --trans-slow:  0.5s var(--motion-easy-both);
  --trans-img:   0.7s var(--motion-easy-both);
}

@media screen and (min-width: 1024px) {
  :root {
    --header-height:       5rem;    /* 80px */
    --header-logo-height:  2rem;    /* 32px */
    --promo-banner-height: 3.5rem;  /* 56px */
  }
}

/* ──────────────────────────────────────────────
   RESET
   ────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-secondary);
  background-color: var(--bg);
  color: var(--color-content-primary);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.53;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; width: 100%; height: auto; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; color: inherit; }
ul { list-style: none; }

/* ──────────────────────────────────────────────
   PROMO BANNER (Announcement bar)
   : background = --iconic-gold (#c8a86a), text = white
   height = 3.5rem desktop / 4.125rem mobile
   ────────────────────────────────────────────── */
.promo-banner {
  background-color: var(--color-promo-bg);
  color: var(--color-promo-text);
  height: var(--promo-banner-height);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  z-index: 36;
}

.promo-banner__slide {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding-inline: var(--medium-xxl);
}

.promo-banner__message {
  font-family: var(--font-secondary);
  font-size: 0.75rem;      /* 12px — từ  .promo-banner__message */
  font-weight: 500;
  line-height: 0.875rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}

@media screen and (max-width: 600px) {
  .promo-banner__message { font-size: 0.6875rem; }
}

/* ──────────────────────────────────────────────
   HEADER  — .r-header
   : sticky, background-color transition, grid 3 cols
   padding: var(--medium-xs) var(--small-l) = 20px 8px
   Desktop: padding var(--small-xxl) var(--medium-s) = 16px 24px
   ────────────────────────────────────────────── */
.r-header {
  background-color: var(--color-header-bg);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 41;
  opacity: var(--header-opacity, 1);
  pointer-events: var(--header-pointer-events, auto);
  transition: background-color 0.5s var(--motion-easy-both),
              box-shadow 0.3s var(--motion-easy-both),
              opacity 0.5s var(--motion-easy-both);
}

/*  header scrolled = white surface */
.r-header--scrolled {
  box-shadow: 0 1px 0 rgba(0,0,0,0.08);
}

/* : scroll down = hide header */
.r-header--hide {
  --header-opacity: 0;
  --header-pointer-events: none;
}

/* .r-header__top — grid 3 col bằng nhau: left | center | right */
.r-header__top {
  align-items: center;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  padding: var(--medium-xs) var(--small-l);
  width: 100%;
  height: var(--header-height);
}

@media screen and (min-width: 1024px) {
  .r-header__top {
    padding: var(--small-xxl) var(--medium-s);
  }
}

/* Left area */
.r-header__action-buttons {
  display: flex;
  align-items: center;
  gap: var(--small-xxl);
}

.r-header__action-buttons--right {
  justify-content: flex-end;
}

/* Logo */
.r-header__logo {
  height: var(--header-logo-height);
  width: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-primary);
  font-size: 1.5rem;           /* mobile: lớn hơn */
  font-weight: 700;            /* đậm hơn */
  letter-spacing: 0.4em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--black-400);
  text-decoration: none;
  transition: opacity 0.3s;
}
.r-header__logo:hover { opacity: 0.5; }

@media screen and (min-width: 1024px) {
  .r-header__logo {
    font-size: 1.5rem;
    letter-spacing: 0.45em;
  }
}

/* Icon buttons — burger, search */
.r-header__burger,
.r-header__search-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--small-l);
  color: var(--black-400);
  transition: opacity 0.3s;
  background: none;
  border: none;
  cursor: pointer;
}
@media screen and (max-width: 1023px) {
  .r-header__burger svg,
  .r-header__search-toggle svg,
  .r-header__top svg {
    width: 26px !important;
    height: 26px !important;
  }
  .r-header__burger svg *,
  .r-header__search-toggle svg *,
  .r-header__top svg * {
    stroke-width: 1.8 !important;
  }
  .r-header__burger,
  .r-header__search-toggle,
  .r-header__top button,
  .r-header__top a {
    color: #000 !important;
  }
}
.r-header__burger:hover,
.r-header__search-toggle:hover { opacity: 0.5; }

/* burger visible on all screen sizes */

/* Mobile nav drawer — old (keep for fallback) */
.r-header__nav {
  border-top: 1px solid var(--color-border);
  background: var(--white);
}
.r-header__nav-list { padding: 0 var(--medium-s); }
.r-header__nav-list li { border-bottom: 1px solid rgba(0,0,0,0.06); }
.r-header__nav-list a {
  display: block;
  padding: var(--medium-xs) 0;
  font-family: var(--font-secondary);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--black-400);
  transition: opacity 0.3s;
}
.r-header__nav-list a:hover { opacity: 0.5; }

/* ──────────────────────────────────────────────
   NAV DRAWER — Slide-in panel
   ────────────────────────────────────────────── */

/* Backdrop with blur */
.r-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.25);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.r-nav-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* Drawer panel — với margin, bo góc, shadow như  */
.r-nav-drawer {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  bottom: 0.75rem;
  width: 24rem;
  max-width: calc(100vw - 4rem);
  background: #f7f6f4;
  border-radius: 1rem;
  z-index: 101;
  transform: translateX(calc(-100% - 1rem));
  transition: transform 0.4s var(--motion-easy-both);
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 40px rgba(0,0,0,0.18);
  overflow: hidden;
}
.r-nav-drawer.is-open {
  transform: translateX(0);
}

.r-nav-drawer__inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

/* Close button */
.r-nav-drawer__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  color: var(--color-content-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.r-nav-drawer__close:hover { opacity: 1; }

/* Scrollable area */
.r-nav-drawer__scroll {
  flex: 1;
  overflow-y: auto;
  padding: 3rem 0 1rem;
}

/* Nav list — no borders, hover dims others */
.r-nav-drawer__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.r-nav-drawer__item {
  border-bottom: none;
}
.r-nav-drawer__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-secondary);
  font-size: 1.0625rem;
  font-weight: 400;
  color: var(--color-content-primary);
  text-decoration: none;
  transition: opacity 0.25s ease;
  letter-spacing: 0.01em;
}
/* When list is hovered, dim all items, brighten the hovered one */
.r-nav-drawer__list:has(.r-nav-drawer__link:hover) .r-nav-drawer__link {
  opacity: 0.35;
}
.r-nav-drawer__list:has(.r-nav-drawer__link:hover) .r-nav-drawer__link:hover {
  opacity: 1;
  font-weight: 500;
}
.r-nav-drawer__link--small {
  font-size: 0.8125rem;
  padding: 0.4rem 1.5rem;
  color: #666;
}

.r-nav-drawer__divider {
  height: 1px;
  background: rgba(0,0,0,0.08);
  margin: 1rem 1.5rem;
}

/* Accessibility row */
.r-nav-drawer__accessibility {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1.5rem 1.5rem;
  font-family: var(--font-secondary);
  font-size: 0.8125rem;
  color: #666;
}
.r-nav-drawer__toggle {
  position: relative;
  width: 2.5rem;
  height: 1.375rem;
  border-radius: 999px;
  background: #ccc;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
  flex-shrink: 0;
}
.r-nav-drawer__toggle[aria-checked="true"] { background: #333; }
.r-nav-drawer__toggle-thumb {
  position: absolute;
  top: 0.1875rem;
  left: 0.1875rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: white;
  transition: transform 0.3s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.r-nav-drawer__toggle[aria-checked="true"] .r-nav-drawer__toggle-thumb {
  transform: translateX(1.125rem);
}

/* Bottom tabs — sliding white indicator */
.r-nav-drawer__tabs {
  flex-shrink: 0;
  padding: 0.75rem;
  background: transparent;
}

/* : r-navigation__footer */
.r-navigation__footer {
  background-color: rgba(51,56,60,0.9);
  border-radius: 0.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0.25rem;
  position: relative;
}

/* : r-navigation__footer-button */
.r-navigation__footer-button {
  background: none;
  border: none;
  color: rgba(255,255,255,0.45);  /* default: white dim */
  padding: 0.75rem 0;
  position: relative;
  transition: color 0.3s;
  cursor: pointer;
  font-family: var(--font-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-align: center;
  border-radius: 0.375rem;
}
.r-navigation__footer-button {
  color: rgba(255,255,255,1) !important;
}
.r-navigation__footer-button--active {
  color: rgba(20,20,20,1) !important;
}

/* Sliding white block — at footer level, 50% width */
.r-navigation__footer-slider {
  position: absolute;
  top: 0.25rem;
  left: 0.25rem;
  width: calc(50% - 0.25rem);
  bottom: 0.25rem;
  background: var(--white);
  border-radius: 0.375rem;
  transition: transform 0.3s ease;
  pointer-events: none;
  z-index: 0;
  transform: translateX(0);
}
.r-navigation__footer-slider--right {
  transform: translateX(100%);
}

.r-navigation__footer-text {
  position: relative;
  z-index: 2;
}

/* ─────────────────────────────────────────────
   NAV MULTI-LEVEL COLUMNS —  submenu system
   ───────────────────────────────────────────── */

/* Column container — clips and slides */
.r-navigation-columns {
  flex: 1;
  display: flex;
  overflow: hidden;
  position: relative;
}

/* Level 1 column */
.r-navigation-column--1 {
  min-width: 100%;
  transition: transform 0.38s cubic-bezier(0.4,0,0.2,1);
  display: flex;
  flex-direction: column;
}

/* When level 2 is active, slide level 1 out left */
.r-navigation-columns[data-current-level="2"] .r-navigation-column--1 {
  transform: translateX(-100%);
}

/* Level 2 submenu — positioned absolutely, slides from right */
.r-navigation-column--2 {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 100%;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.4,0,0.2,1);
  background: #f7f6f4;
}
.r-navigation-columns[data-current-level="2"] .r-navigation-column--2.is-active {
  transform: translateX(0);
}

/* Back breadcrumb button */
.r-nav-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-secondary);
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--color-content-primary);
  padding: 1.25rem 1.5rem 0.75rem;
  width: 100%;
  text-align: left;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  margin-bottom: 0.5rem;
}
.r-nav-breadcrumb:hover { opacity: 0.7; }

/* ICONICS — horizontal scroll row of product images */
.r-nav-iconics {
  padding: 1rem 1.5rem 0.5rem;
}
.r-nav-iconics__title {
  font-family: var(--font-secondary);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--black-300);
  margin: 0 0 0.75rem;
}
.r-nav-iconics__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.r-nav-iconics__list li {
  width: calc(33.333% - 0.4rem);
}
.r-nav-iconics__list li:nth-child(4),
.r-nav-iconics__list li:nth-child(5) {
  width: calc(33.333% - 0.4rem);
}
.r-nav-iconics__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  color: var(--color-content-primary);
  font-family: var(--font-secondary);
  font-size: 0.75rem;
  text-align: center;
  width: 100%;
  transition: opacity 0.2s;
}
.r-nav-iconics__link:hover { opacity: 0.7; }
.r-nav-iconics__img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 0.5rem;
  background: #ece9e4;
}

/* ─────────────────────────────────────────────
   NAV PUSH PANEL — editorial cards bên phải (desktop)
   ───────────────────────────────────────────── */
.r-nav-push {
  position: fixed;
  top: 0.75rem;
  left: calc(0.75rem + 24rem + 0.75rem);
  bottom: 0.75rem;
  width: 22rem;
  background: #f0ece6;
  border-radius: 1rem;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  overflow: hidden;
}
.r-nav-push.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
/* Only show on desktop */
@media (max-width: 1023px) {
  .r-nav-push { display: none; }
}

.r-nav-push__card {
  flex: 1;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--color-content-primary);
  border-radius: 0.75rem;
  overflow: hidden;
  position: relative;
  min-height: 0;
}
.r-nav-push__img-wrap {
  flex: 1;
  overflow: hidden;
  min-height: 0;
}
.r-nav-push__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.r-nav-push__card:hover .r-nav-push__img {
  transform: scale(1.04);
}
.r-nav-push__text {
  background: rgba(255,255,255,0.92);
  padding: 0.75rem 1rem;
  backdrop-filter: blur(4px);
}
.r-nav-push__headline {
  display: block;
  font-family: var(--font-secondary);
  font-size: 0.75rem;
  color: var(--black-300);
  margin-bottom: 0.25rem;
}
.r-nav-push__name {
  font-family: var(--font-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--black-400);
  margin: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ═══════════════════════════════════════════════
   HERO SECTION — dịch 1:1 từ  heroSection.css
   ═══════════════════════════════════════════════ */

/* ── biến bổ sung ── */
:root {
  --hero-section-animation-duration: 1s;
  --grid-desktop-columns: 23;
  --grid-desktop-gap: var(--medium-s);   /* 24px */
  --grid-mobile-columns: 1;
  --grid-mobile-gap:    var(--medium-s);
  --motion-easy-both-reverse: cubic-bezier(0.455,0.03,0.515,0.955);
}

/* Header overlap lên hero khi desktop (chỉ negative margin) */
@media screen and (min-width:1024px) {
  body:has(.hero-section) .r-header {
    margin-block-end: calc(var(--header-height) * -1);
  }
}

/* ── hero-section root ── */
.hero-section { --hero-section-scroller-height: 1.5rem; }
@media screen and (min-width:1024px) { .hero-section__sticky-container { overflow: clip; } }

/* ── wrapper (flex mobile / grid 23col desktop) ── */
.hero-section__wrapper {
  --col-width: calc((100vw - var(--grid-desktop-gap) * (var(--grid-desktop-columns) - 1)) / var(--grid-desktop-columns));
  --hero-visual-final-width: calc(var(--col-width) * 9 + var(--grid-desktop-gap) * 8);
  display: flex;
  flex-direction: column;
  padding-block-end: 0;
}
@media screen and (min-width:1024px) {
  .hero-section__wrapper {
    display: grid;
    gap: var(--grid-desktop-gap);
    grid-template-columns: repeat(var(--grid-desktop-columns), minmax(0,1fr));
    height: 120vh;
    padding-block-end: 0;
  }
}
/* khi có middle column, final-width tính 7 cols thay vì 9 */
.hero-section__wrapper:has(.hero-section__middle) {
  --hero-visual-final-width: calc(var(--col-width) * 7 + var(--grid-desktop-gap) * 6);
}

/* scroll indicator lines */
@media screen and (min-width:1024px) {
  .hero-section__wrapper::before,
  .hero-section__wrapper::after {
    content: "";
    inset-inline-start: 50vw;
    position: fixed;
    transition: opacity .3s;
    width: .0625rem;
    pointer-events: none;
  }
  .hero-section__wrapper::before {
    background: var(--black-400);
    bottom: 0;
    height: var(--hero-section-scroller-height);
  }
  .hero-section__wrapper::after {
    animation: hero-section-scroller 2.3s infinite;
    background: var(--black-400);
    bottom: var(--hero-section-scroller-height);
    height: 0;
  }
  .hero-section--active .hero-section__wrapper::before,
  .hero-section--active .hero-section__wrapper::after { opacity: 0; }
}

/* ── sticky container + middle-visual variant ── */
@media screen and (min-width:1024px) {
  .hero-section__sticky-container { height: 120vh; }

  .hero-section__wrapper--middle-visual {
    --grid-desktop-columns: 23;
    --grid-desktop-gap: var(--medium-s);
    --hero-section-tile-delay: 0.3s;
    align-items: center;
    height: 100vh;
    inset-block-start: 0;
    position: sticky;
  }
  .hero-section__wrapper--middle-visual .hero-section__overlay {
    max-width: var(--hero-visual-final-width);
  }
}

/* ── hero-section__visual ── */
.hero-section__visual {
  --hero-content-height: 5.625rem;
  --visual-columns: 24;
  --hero-section-visual-transform-x: 0;
  --top:    0rem;
  --bottom: 0rem;
  --padding-bottom: 0rem;
  --hero-section-visual-justify-self: flex-start;
  --hero-section-visual-order: -1;
  height: 100vh;
  justify-self: var(--hero-section-visual-justify-self);
  order: var(--hero-section-visual-order);
  position: relative;
  transform: translateX(var(--hero-section-visual-transform-x));
  width: 100vw;
}
@media screen and (min-width:1024px) {
  .hero-section__visual {
    --visual-columns: 20;
    --top:    6.625rem;
    --bottom: 5.875rem;
    --padding-bottom: 0rem;
    --clip-path-block:         calc((var(--top) + var(--bottom)) / 2);
    --clip-path-inline-start:  calc((var(--col-width) + var(--grid-desktop-gap)) * 2);
    --clip-path-inline-end:    var(--clip-path-inline-start);
    align-items: center;
    clip-path: inset(var(--clip-path-block) var(--clip-path-inline-end) var(--clip-path-block) var(--clip-path-inline-start));
    display: flex;
    grid-column-end: span 9;
    grid-column-start: auto;
    grid-row-end: span 1;
    inset-block-start: 0;
    inset-inline-start: 0;
    justify-content: center;
    overflow: clip;
    position: sticky;
    transition: all calc(var(--hero-section-animation-duration) - .5s) var(--motion-easy-both) .5s;
  }
}
.hero-section__visual .r-image { height: 100vh; }
.hero-section__visual .r-visual .fp-engine,
.hero-section__visual .r-visual .r-responsive-img {
  transition: transform 1s var(--motion-easy-both) .5s;
}

/* ── middle column → visual full 100vw shifted left ── */
@media screen and (max-width:1023px) { .hero-section__middle { order: -1; } }
@media screen and (min-width:1024px) {
  .hero-section__middle .hero-section__visual {
    --hero-section-visual-transform-x: calc((var(--col-width) + var(--grid-desktop-gap)) * -8);
    --visual-columns: 19;
  }
}

/* ── visual-media ── */
.hero-section__visual-media {
  height: 100%;
  overflow: clip;
  position: absolute;
  width: 100%;
  z-index: 2;
}
@media screen and (min-width:1024px) {
  .hero-section__visual-media {
    height: 100%;
    overflow: visible;
    position: relative;
  }
}
.hero-section__visual-media .r-video { background-color: var(--white); }

/* Overlay tối lên video */
@media screen and (min-width:1024px) {
  .hero-section__visual-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.25);
    z-index: 3;
    pointer-events: none;
  }
}

/* ── left / right columns ── */
.hero-section__left {
  grid-column-end: span 7;
  grid-column-start: 2;
  grid-row-end: span 1;
  max-height: 100vh;
}
.hero-section__left .hero-section__tile:not(:first-child) { display: none; }

.hero-section__right {
  grid-column-end: span 7;
  grid-column-start: 16;
  grid-row-end: span 1;
  max-height: 100vh;
}
.hero-section__right .hero-section__tile:not(:nth-child(2)) { display: none; }

.hero-section__middle {
  grid-column-end: span 7;
  grid-column-start: 9;
  grid-row-end: span 1;
  position: relative;
}

/* ── tiles ── */
.hero-section__tiles {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
}
@media screen and (min-width:1024px) {
  .hero-section__tiles { flex-direction: row; padding: 0; gap: var(--section-headline-gap); }
}

.hero-section__tile { flex: 1; }
@media screen and (min-width:1024px) {
  .hero-section__tile {
    --delay: var(--hero-section-tile-delay, calc(.2s + .1s * var(--index,0)));
    opacity: 0;
    transform: translateY(calc(50vh + 50% + var(--large-s)));
    transition:
      transform calc(var(--hero-section-animation-duration) - var(--delay)) var(--motion-easy-both),
      opacity   calc(var(--hero-section-animation-duration) - var(--delay)) var(--motion-easy-both);
  }
}

/* ── overlay ── */
.hero-section__overlay {
  display: flex;
  flex-direction: column;
  inset-block-start: 0;
  inset-inline-start: 0;
  padding: 0 var(--large-xs) var(--medium-m);
  pointer-events: none;
  position: sticky;
  text-align: center;
  width: 100%;
}
@media screen and (min-width:1024px) {
  .hero-section__overlay {
    max-width: calc(var(--col-width) * 9 + var(--grid-desktop-gap) * 8);
    padding-block-end: 0;
  }
}

/* light overlay — ẩn, thay bằng hero-fixed-overlay */
.hero-section__overlay--light { display: none; }

/* Hero fixed overlay — text giữa video, JS set tọa độ */
.hero-fixed-overlay {
  display: none;
}
@media screen and (min-width:1024px) {
  .hero-fixed-overlay {
    display: flex;
    position: fixed;
    z-index: 10;
    pointer-events: none;
    top: 0; left: 0;
    transition: opacity .3s;
  }
  .hero-fixed-overlay__text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: var(--white);
    width: 400px;
    pointer-events: auto;
  }
}

/* dark overlay — mobile only: căn giữa khung video, không sticky */
.hero-section__overlay--dark {
  position: absolute;
  inset-block-start: 50%;
  inset-inline-start: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 320px;
  z-index: 3;
  color: #fff;
  text-shadow: 0 1px 12px rgba(0,0,0,0.35);
}
@media screen and (min-width:1024px) { .hero-section__overlay--dark { display: none; } }
.hero-section__overlay--dark .r-custom-button { color: #fff; }

/* ── typography ── */
.hero-section__ontitle {
  font-family: var(--font-secondary);
  font-size: .75rem;
  font-weight: 500;
  line-height: .875rem;
  margin-bottom: var(--section-headline-gap);
}
.hero-section__title {
  font-family: var(--font-primary);
  font-size: 2.5rem;
  font-weight: 352;
  letter-spacing: -.8px;
  line-height: 1.3;
}
@media screen and (min-width:1024px) {
  .hero-section__title { margin-inline: auto; max-width: var(--hero-visual-final-width); }
}

/* ── CTA button ── */
.hero-section__button {
  align-items: center;
  display: flex;
  justify-content: center;
  margin-top: var(--medium-s);
}
.hero-section__button .r-custom-button {
  color: var(--white);
  font-family: var(--font-secondary);
  font-size: .875rem;
  font-weight: 500;
  padding-bottom: var(--small-m);
  text-decoration: none;
  background-image:
    linear-gradient(to right, currentColor, currentColor),
    linear-gradient(to right, currentColor, currentColor);
  background-position: -0.625rem 100%, 100% 100%;
  background-repeat: no-repeat;
  background-size: 0% .0625rem, 100% .0625rem;
  transition: all .5s var(--motion-easy-both);
  pointer-events: auto;
}
.hero-section__button .r-custom-button:hover {
  background-position: 0 100%, calc(100% + .625rem) 100%;
  background-size: 100% .0625rem, 0% .0625rem;
}

/* ── r-content-tile (side tile article) ── */
.r-content-tile {
  display: block;
  height: 100%;
  overflow: hidden;
  position: relative;
}
.r-content-tile .r-responsive-img {
  aspect-ratio: var(--ratio-2-3);
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform var(--trans-img);
  width: 100%;
}
.r-content-tile:hover .r-responsive-img { transform: scale(1.03); }

.r-content-tile__overlay {
  align-items: flex-start;
  background: linear-gradient(transparent 50%, rgba(0,0,0,.45));
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: var(--small-xxl);
  inset: 0;
  justify-content: flex-end;
  padding: var(--medium-m) var(--medium-xs) var(--medium-xs);
  pointer-events: none;
  position: absolute;
}
.r-content-tile__overlay .r-content-tile__button { pointer-events: auto; }

.r-content-tile__text {
  color: var(--white);
  font-family: var(--font-secondary);
  font-size: .75rem;
  line-height: 1.4;
}
.r-content-tile__button {
  background-image:
    linear-gradient(to right, currentColor, currentColor),
    linear-gradient(to right, currentColor, currentColor);
  background-position: -0.625rem 100%, 100% 100%;
  background-repeat: no-repeat;
  background-size: 0% .0625rem, 100% .0625rem;
  color: var(--white);
  font-family: var(--font-secondary);
  font-size: .875rem;
  font-weight: 500;
  padding-bottom: var(--small-m);
  text-decoration: none;
  transition: background .5s var(--motion-easy-both);
}
.r-content-tile__button:hover {
  background-position: 0 100%, calc(100% + .625rem) 100%;
  background-size: 100% .0625rem, 0% .0625rem;
}

/* ── Video & media sizing ── */

/* Mobile: video + poster chiều cao tự nhiên theo aspect ratio */
.hero-section .r-video { width: 100%; height: 100%; }
.hero-section .r-video__container {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Desktop: visual-media fill full height của visual parent */
@media screen and (min-width: 1024px) {
  .hero-section__visual-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
  .hero-section .r-video,
  .hero-section .r-video__container {
    width: 100%;
    height: 100%;
    aspect-ratio: unset;
  }
}

/* Video element fill container */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* mobile: video phủ kín, không background dư 2 bên */
  z-index: 1;
}
/* Desktop: video dọc → contain với background vàng be 2 bên */
@media screen and (min-width:1024px) {
  .hero-video {
    object-fit: contain;
    background: #d9c4a3;
  }
  .hero-section .r-video__container {
    background: #d9c4a3;
  }
}

/* Nút pause/play */
.hero-video__toggle {
  display: none;
}
@media screen and (min-width:1024px) {
  .hero-video__toggle {
    position: fixed;
    z-index: 9999;
    background: rgba(0,0,0,0.4);
    border: none;
    border-radius: 50%;
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--white);
    transition: opacity .3s, background .2s;
    pointer-events: auto;
  }
}
.hero-video__toggle:hover { background: rgba(0,0,0,0.6); }
.hero-video__icon-play { display: none; }
.hero-video__toggle.is-paused .hero-video__icon-pause { display: none; }
.hero-video__toggle.is-paused .hero-video__icon-play  { display: block; }

/* Poster image — hiện khi video chưa play */
.js-hero-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: opacity .5s;
  z-index: 2;
}
.js-hero-poster.is-hidden { opacity: 0; pointer-events: none; }

/* ══ ACTIVE STATE — khi hero-section--active ══ */

/* clip-path opens up — Spec: block = 50% - (width/ratio_2-3)/2 */
@media screen and (min-width:1024px) {
  .hero-section--active .hero-section__middle .hero-section__visual {
    --clip-path-inline-start: calc(50% - var(--hero-visual-final-width) / 2);
    --clip-path-inline-end:   var(--clip-path-inline-start);
    --clip-path-block:        calc(50% - var(--hero-visual-final-width) / 0.6666666667 / 2);
  }
}

/* transition reset on active (reverse motion) */
.hero-section--active .hero-section__visual {
  transition-delay: 0s;
  transition-timing-function: var(--motion-easy-both-reverse);
}
.hero-section--active .hero-section__visual .r-visual .r-responsive-img {
  transition-delay: 0s;
  transition-timing-function: var(--motion-easy-both-reverse);
}

/* tiles slide in */
@media screen and (min-width:1024px) {
  .hero-section--active .hero-section__tile {
    opacity: 1;
    transform: translateY(0);
    transition-delay: var(--delay);
    transition-timing-function: var(--motion-easy-both-reverse);
  }
}

/* ══ NOT-READY — tắt transition lúc page load ══ */
.hero-section--not-ready .hero-section__visual,
.hero-section--not-ready .hero-section__tile,
.hero-section--not-ready .hero-section__overlay { transition: none; }

/* ── scroller animation ── */
@keyframes hero-section-scroller {
  0%   { bottom: var(--hero-section-scroller-height); height: 0; }
  70%  { bottom: var(--hero-section-scroller-height); height: 0; }
  83%  { bottom: 0; height: var(--hero-section-scroller-height); }
  87%  { bottom: 0; height: var(--hero-section-scroller-height); }
  100% { bottom: 0; height: 0; }
}

/* ──────────────────────────────────────────────
   COVER SECTION — 100% copy từ  coverSection.css
   ────────────────────────────────────────────── */
.cover-section {
  --cover-section-content-position: absolute;
  --cover-section-content-padding-block: var(--large-xs);
  --cover-section-content-color: var(--white);
  --cover-section-content-inset-block-start: 50%;
  --cover-section-content-inset-block-end: auto;
  --cover-section-content-inset-inline-start: 50%;
  --cover-section-content-inset: var(--cover-section-content-inset-block-start) auto var(--cover-section-content-inset-block-end) var(--cover-section-content-inset-inline-start);
  --cover-section-content-transform-translateX: -50%;
  --cover-section-content-transform-translateY: -50%;
  --cover-section-content-transform-translate: translate(var(--cover-section-content-transform-translateX), var(--cover-section-content-transform-translateY));
  --cover-media-ratio: var(--ratio-4-5);
  --cover-media-block-offset: 0%;
  position: relative;
}
@media screen and (min-width: 1024px) {
  .cover-section {
    --cover-section-content-padding-block: var(--large-s);
    --cover-section-content-transform-translateX: -50%;
    --cover-section-content-inset-inline-start: 50%;
    --cover-media-ratio: var(--ratio-16-9);
  }
}

/* Cover bottom: text pinned to bottom-center */
.cover-section--bottom {
  --cover-section-content-inset-block-start: auto;
  --cover-section-content-inset-block-end: 0%;
  --cover-section-content-transform-translateY: 0;
}
@media screen and (min-width: 1024px) {
  .cover-section--bottom {
    --cover-section-content-inset-inline-start: 50%;
    --cover-section-content-transform-translateX: -50%;
    --cover-section-content-transform-translateY: 0;
  }
}

/* Portrait cover: fixed viewport height on desktop, no ratio override */
.cover-section--portrait .cover-section__img {
  object-fit: cover;
  object-position: center center;
}
@media screen and (min-width: 1024px) {
  .cover-section--portrait {
    --cover-media-ratio: var(--ratio-16-9) !important;
  }
  .cover-section--portrait .cover-section__img {
    /* landscape crop image used via <picture> */
    object-fit: cover;
    object-position: center center;
  }
}

.cover-section__wrapper {
  align-items: center;
  display: flex;
  flex-direction: var(--cover-section-wrapper-flex-direction, column);
  gap: var(--medium-xl);
  justify-content: center;
  width: 100%;
}

.cover-section__content {
  align-items: center;
  color: var(--cover-section-content-color);
  display: flex;
  flex-direction: column;
  gap: var(--section-headline-gap);
  inset: var(--cover-section-content-inset);
  padding: var(--cover-section-content-padding-block) var(--medium-m);
  pointer-events: none;
  position: var(--cover-section-content-position);
  transform: var(--cover-section-content-transform-translate);
  text-align: center;
  z-index: 27;
}

/* Mobile: cover content full-width để text căn giữa chính xác */
@media screen and (max-width: 1023px) {
  .cover-section__content {
    inset-inline-start: 0 !important;
    inset-inline-end: 0 !important;
    transform: translateY(var(--cover-section-content-transform-translateY)) !important;
  }
}
@media screen and (min-width: 1024px) {
  .cover-section__content {
    max-width: none;
    padding-inline: 2rem;
    inset: auto;
    bottom: 0;
    left: 0;
    right: 0;
    transform: none;
    width: 100%;
    align-items: center;
    text-align: center;
  }
}

.cover-section__texts {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: var(--section-headline-gap);
  text-align: center;
}

.cover-section__cta { pointer-events: none; }

.cover-section__visual {
  position: relative;
  width: 100%;
}
.cover-section__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.35) 100%);
  pointer-events: none;
  z-index: 1;
}
.cover-section__visual .r-image,
.cover-section__visual .r-video {
  aspect-ratio: var(--cover-media-ratio);
  height: auto;
  width: 100%;
}
.cover-section__visual .r-image img,
.cover-section__visual .r-video img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

/* img shorthand for our <img> inside cover-section__visual */
.cover-section__img {
  width: 100%;
  aspect-ratio: var(--cover-media-ratio);
  object-fit: cover;
  object-position: center top;
  display: block;
}
@media screen and (min-width: 1024px) {
  .cover-section__img {
    object-position: center center;
  }
}

.cover-section__surtitle {
  font-family: var(--font-secondary);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 0.875rem;
}

.cover-section__title {
  font-family: var(--font-primary);
  font-size: 2rem;
  font-weight: 352;
  letter-spacing: -0.64px;
  line-height: 1.3;
}
@media screen and (min-width: 1024px) {
  .cover-section__title {
    font-size: clamp(1.5rem, 3vw, 3.5rem);
    white-space: nowrap;
  }
}

.cover-section__subtitle {
  font-family: var(--font-secondary);
  font-size: 0.875rem;
  line-height: 1.0625rem;
}

/* CTA button */
.cover-section__cta .r-custom-button {
  color: var(--white);
  font-family: var(--font-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  padding-bottom: var(--small-m);
  background-image: linear-gradient(to right, currentColor, currentColor),
                    linear-gradient(to right, currentColor, currentColor);
  background-position: -0.625rem 100%, 100% 100%;
  background-repeat: no-repeat;
  background-size: 0% 0.0625rem, 100% 0.0625rem;
  transition: all 0.5s var(--motion-easy-both);
}
.cover-section__cta .r-custom-button:hover {
  background-position: 0 100%, calc(100% + 0.625rem) 100%;
  background-size: 100% 0.0625rem, 0% 0.0625rem;
}

/* ──────────────────────────────────────────────
   LOOK SECTION — 100% copy từ  lookSection.css
   ────────────────────────────────────────────── */
.look-section {
  --look-section-image-transform: -5%;
  --look-section-desktop-image-width: 45%;
}
@media screen and (min-width: 1024px) {
  .look-section {
    --look-section-content-max-width: calc(var(--col-width, 4rem) * 8 + var(--grid-desktop-gap) * 7);
  }
}

.look-section__wrapper {
  display: flex;
}
@media screen and (max-width: 1023px) {
  .look-section__wrapper { flex-direction: column; }
}

.look-section__visual .r-visual {
  aspect-ratio: var(--ratio-4-5);
}
@media screen and (min-width: 1024px) {
  .look-section__visual .r-visual { height: 100%; }
}

.look-section__visual .r-image {
  transform: translateY(var(--look-section-image-transform));
}

@media screen and (min-width: 1024px) {
  .look-section__visual {
    flex-basis: var(--look-section-desktop-image-width);
  }
}

.look-section__visual-media {
  height: 100%;
  overflow: hidden;
}

.look-section__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: translateY(var(--look-section-image-transform));
  transition: transform var(--trans-img);
}
.look-section__visual:hover .look-section__img {
  transform: translateY(calc(var(--look-section-image-transform) - 2%));
}

.look-section__content {
  align-items: center;
  display: flex;
  justify-content: center;
  padding-block: var(--section-inside-gap) var(--section-end-gap);
  text-align: center;
}
@media screen and (min-width: 1024px) {
  .look-section__content {
    flex-basis: calc(100% - var(--look-section-desktop-image-width));
    padding-block: 0;
  }
}

/* Mobile: ảnh giáp nhau, text spotlight căn giữa */
@media screen and (max-width: 1023px) {
  .look-section__wrapper {
    gap: var(--medium-s);
  }
  .look-section__content {
    padding-block: var(--medium-s) var(--medium-s);
  }
  .look-section__content-wrap {
    width: 100%;
    align-items: center;
    gap: var(--medium-s);
  }
  .look-section__titles {
    align-items: center;
    width: 100%;
  }
  /* Spotlight ảnh + text ở giữa, ảnh to full width */
  .product-spotlight {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 !important;
  }
  .product-spotlight__media {
    max-width: 100% !important;
    width: 100% !important;
    margin-bottom: 0.8rem;
    padding: 0;
  }
  .product-spotlight__img {
    width: 100% !important;
    aspect-ratio: 4/5 !important;
    object-fit: cover !important;
    background: #f0ece6;
    padding: 0 !important;
    height: auto !important;
  }
}

.look-section__content-wrap {
  display: flex;
  flex-direction: column;
  gap: var(--section-inside-gap);
  width: 100%;
}
@media screen and (min-width: 1024px) {
  .look-section__content-wrap { width: 62%; }
}

.look-section__titles {
  display: flex;
  flex-direction: column;
  gap: var(--section-headline-gap);
  padding-inline: var(--medium-s);
}

.look-section__ontitle {
  font-family: var(--font-secondary);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 0.875rem;
  color: var(--component-secondary-text-color, rgba(51,56,60,0.6));
}

.look-section__description {
  font-family: var(--font-secondary);
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.375rem;
  color: var(--component-secondary-text-color, rgba(51,56,60,0.6));
  padding-inline: var(--medium-s);
}
@media screen and (min-width: 1024px) {
  .look-section__description { padding-inline: var(--medium-xl); }
}

.look-section__title {
  font-family: var(--font-primary);
  font-size: 2rem;
  font-weight: 352;
  letter-spacing: -0.64px;
  line-height: 1.3;
  color: var(--black-400);
}

.look-section--right-visual .look-section__wrapper { flex-direction: column; }
@media screen and (min-width: 1024px) {
  .look-section--right-visual .look-section__wrapper { flex-direction: row-reverse; }
}
@media screen and (max-width: 1023px) {
  .look-section--right-visual .look-section__content {
    padding-block: var(--medium-l) var(--medium-xl);
  }
}

.look-section__button { padding-inline: var(--medium-s); }

.look-section__stepper { margin-block-end: var(--medium-l); }
@media screen and (min-width: 1024px) {
  .look-section__stepper { display: none; }
}

.look-section .carousel { width: 100%; }
@media screen and (min-width: 1024px) {
  .look-section__slides { justify-content: center; }
}

.look-section__slide { --tile-animation-delay: 0; }
.look-section__slide .r-product-tile {
  --product-tile-info-gap: var(--small-xl);
  height: 100%;
}

/* look-section discover button */
.look-section__button .r-custom-button {
  --button-background: var(--white);
  --button-text-color: var(--black-400);
  --button-border-color: rgba(0,0,0,0.15);
  --button-border-width: 0.0625rem;
  --button-hover-background: var(--bg);
  align-items: center;
  background: var(--button-background);
  border: var(--button-border-width) solid var(--button-border-color);
  border-radius: var(--border-radius-m);
  color: var(--button-text-color);
  cursor: pointer;
  display: inline-flex;
  font-family: var(--font-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  height: var(--medium-xl);
  justify-content: center;
  padding: 0 var(--small-xl);
  text-align: center;
  text-decoration: none;
  transition: all 0.3s var(--motion-easy-both);
  box-shadow: var(--shadow-s);
}
.look-section__button .r-custom-button:hover {
  background: var(--button-hover-background);
}

/* ──────────────────────────────────────────────
   PRODUCT CAROUSEL  (bên trong look section)
   ────────────────────────────────────────────── */
.product-carousel {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.product-carousel__track {
  display: flex;
  gap: 4px;
  transition: transform 0.5s var(--motion-easy-both);
  cursor: grab;
  user-select: none;
}
.product-carousel__track:active { cursor: grabbing; }

/* Product tile */
.r-product-tile {
  flex: 0 0 160px;
  display: flex;
  flex-direction: column;
}

@media screen and (min-width: 1024px) {
  .r-product-tile { flex: 0 0 195px; }
}

.r-product-tile__visual {
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--bg);
}

.r-product-tile__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--trans-img);
}
.r-product-tile:hover .r-product-tile__img { transform: scale(1.04); }

.r-product-tile__info {
  padding: var(--small-xxl) var(--small-xl) var(--small-xl);
  display: flex;
  flex-direction: column;
  gap: var(--small-l);
}

.r-product-tile__name {
  /* Spec: font-size .875rem; font-weight 500; line-height 1.0625rem */
  font-family: var(--font-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.0625rem;
  color: var(--black-400);
}

.r-product-tile__price {
  font-family: var(--font-secondary);
  font-size: 0.75rem;
  font-weight: 400;
  color: rgba(51,56,60,0.6);
}

.r-product-tile__add {
  display: none;
  width: 100%;
  padding: var(--small-xl) var(--small-xxl);
  font-family: var(--font-secondary);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--black-400);
  color: var(--black-400);
  background: transparent;
  transition: background 0.3s, color 0.3s;
  cursor: pointer;
}
.r-product-tile__add:hover { background: var(--black-400); color: var(--white); }
.r-product-tile:hover .r-product-tile__add { display: block; }

/* Carousel nav */
.product-carousel__nav {
  display: flex;
  align-items: center;
  gap: var(--small-l);
  padding-inline: var(--medium-s);
  margin-top: var(--medium-s);
}

.product-carousel__btn {
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(51,56,60,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black-400);
  transition: background var(--trans), color var(--trans), border-color var(--trans);
  flex-shrink: 0;
}
.product-carousel__btn:hover {
  background: var(--black-400);
  color: var(--white);
  border-color: var(--black-400);
}

/* Discover button */
.look-section__button {
  padding-inline: var(--medium-s);
}

/* ── Product Spotlight — to như , ảnh chiếm full width ── */
.product-spotlight {
  padding: 0 var(--medium-s) var(--medium-s);
}
.product-spotlight__link {
  display: block;
  text-decoration: none;
}
.product-spotlight__media {
  background: #f0ece6;
  border-radius: 0.5rem;
  overflow: hidden;
  margin-bottom: 1rem;
  max-width: 70%;
  margin-left: auto;
  margin-right: auto;
}
.product-spotlight__img {
  width: 100%;
  aspect-ratio: 5/4;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-spotlight__link:hover .product-spotlight__img {
  transform: scale(1.03);
}
.product-spotlight__info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  text-align: center;
}
.product-spotlight__name {
  font-family: var(--font-secondary);
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--black-400);
  margin: 0;
}
.product-spotlight__sub {
  font-family: var(--font-secondary);
  font-size: 0.8125rem;
  color: var(--black-300);
  font-style: italic;
  margin: 0;
}
.product-spotlight__desc {
  font-family: var(--font-secondary);
  font-size: 0.8125rem;
  line-height: 1.65;
  color: var(--black-200);
  margin: 0.25rem 0 0;
}
@media (min-width: 1024px) {
  .product-spotlight__img { aspect-ratio: 3/4; }
  .product-spotlight__name { font-size: 1.125rem; }
}

/* ──────────────────────────────────────────────
   SERVICES / FINISHING TOUCH  — .services-section
   ────────────────────────────────────────────── */
.services-section {
  padding-block: var(--large-s);
  overflow: hidden;
  background: var(--white);
  /* Cannage dot pattern từ  footer style */
  background-image:
    radial-gradient(circle, rgba(0,0,0,0.08) 1px, transparent 1px),
    radial-gradient(circle, rgba(0,0,0,0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  background-position: 0 0, 14px 14px;
}

.services-section__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding-inline: var(--medium-s);
  display: flex;
  flex-direction: column;
  gap: var(--section-inside-gap);
}

@media screen and (min-width: 1024px) {
  .services-section__inner {
    flex-direction: row;
    gap: var(--large-xs);
    padding-inline: var(--medium-xl);
    align-items: flex-start;
  }
}

.services-section__header {
  flex: 0 0 auto;
}

@media screen and (min-width: 1024px) {
  .services-section__header { flex: 0 0 280px; }
}

.services-section__surtitle {
  font-family: var(--font-secondary);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 0.875rem;
  color: rgba(51,56,60,0.6);
  margin-bottom: var(--section-headline-gap);
}

.services-section__title {
  font-family: var(--font-primary);
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: -0.64px;
  line-height: 1.3;
  color: var(--black-400);
  margin-bottom: var(--medium-s);
}

.services-section__desc {
  font-family: var(--font-secondary);
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.375rem;
  color: rgba(51,56,60,0.6);
}

.services-carousel {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.services-carousel__track {
  display: flex;
  gap: 4px;
  transition: transform 0.5s var(--motion-easy-both);
  cursor: grab;
}
.services-carousel__track:active { cursor: grabbing; }

/* Service card — aspect ratio 3:4 (portrait) */
.service-card {
  flex: 0 0 calc(33.333% - 3px);
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--bg);
}

@media screen and (max-width: 1023px) {
  .service-card { flex: 0 0 80vw; }
}

.service-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--trans-img);
}
.service-card:hover .service-card__img { transform: scale(1.05); }

.service-card__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--medium-m) var(--medium-xs) var(--medium-xs);
  background: linear-gradient(transparent, rgba(0,0,0,0.55));
  display: flex;
  flex-direction: column;
  gap: var(--small-xxl);
}

.service-card__title {
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.3;
  color: var(--white);
}

.service-card__cta {
  font-family: var(--font-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--white);
  display: inline;
  /* : underline animation */
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 100% 1px;
  padding-bottom: var(--small-m);
  transition: opacity 0.3s;
}
.service-card__cta:hover { opacity: 0.7; }

/* Full-section / full-card clickable overlay */
.service-card__full-link,
.section-full-link {
  position: absolute;
  inset: 0;
  z-index: 2;
  cursor: pointer;
}
/* Overlay text/CTA — visible but lets clicks pass to full-link above */
.service-card__overlay { pointer-events: none; }
/* Look-section: wrapper is visible above overlay, but pointer-events pass through */
.look-section__wrapper {
  position: relative;
  z-index: 3;
  pointer-events: none;
}
/* Re-enable clicks only on actual interactive elements */
.look-section__wrapper a,
.look-section__wrapper button {
  pointer-events: auto;
}
.look-section { position: relative; }

.services-carousel__nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--small-l);
  margin-top: var(--medium-xs);
}

.services-carousel__btn {
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(51,56,60,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black-400);
  transition: background var(--trans), color var(--trans);
}
.services-carousel__btn:hover { background: var(--black-400); color: var(--white); }

.services-carousel__dots {
  display: flex;
  gap: var(--small-l);
  align-items: center;
}
.services-carousel__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(51,56,60,0.2);
  transition: background 0.3s;
  border: none;
  cursor: pointer;
  padding: 0;
}
.services-carousel__dot--active { background: var(--black-400); }

/* ──────────────────────────────────────────────
   BUTTONS  (Premium style: text link with underline animation)
   ────────────────────────────────────────────── */
/*  CTA = underline link, NOT boxed button */
.r-custom-button {
  display: inline;
  font-family: var(--font-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  padding-bottom: var(--small-m);
  /* animated underline */
  background-image:
    linear-gradient(to right, currentColor, currentColor),
    linear-gradient(to right, currentColor, currentColor);
  background-position: -0.625rem 100%, 100% 100%;
  background-repeat: no-repeat;
  background-size: 0% 1px, 100% 1px;
  transition: background-position 0.5s var(--motion-easy-both),
              background-size 0.5s var(--motion-easy-both),
              color 0.5s var(--motion-easy-both);
  pointer-events: auto;
}
.r-custom-button:hover {
  background-position: 0 100%, calc(100% + 0.625rem) 100%;
  background-size: 100% 1px, 0% 1px;
}

/* White variant — trên dark background */
.r-custom-button--white {
  color: var(--white);
}

/* ──────────────────────────────────────────────
   FOOTER PERKS BAR
   ────────────────────────────────────────────── */
.r-footer-perks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--white);
  border-top: 1px solid rgba(0,0,0,0.07);
}
.r-footer-perks__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--medium-s);
  padding: 1.5rem 2rem;
  border-right: 1px solid rgba(0,0,0,0.07);
  text-decoration: none;
  color: inherit;
  transition: background 0.3s ease;
}
.r-footer-perks__item:last-child { border-right: none; }
.r-footer-perks__item:hover { background: rgba(0,0,0,0.02); }
.r-footer-perks__item:hover .r-footer-perks__arrow { transform: translateX(4px); }
.r-footer-perks__text {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.r-footer-perks__text strong {
  font-family: var(--font-secondary);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--black-400);
  letter-spacing: 0.01em;
}
.r-footer-perks__text span {
  font-family: var(--font-secondary);
  font-size: 0.875rem;
  color: rgba(51,56,60,0.55);
  line-height: 1.5;
}
.r-footer-perks__arrow {
  flex-shrink: 0;
  color: rgba(51,56,60,0.3);
  transition: transform 0.3s ease;
}

/* ──────────────────────────────────────────────
   FOOTER  — .r-footer
   ────────────────────────────────────────────── */
.r-footer {
  background-color: var(--white);
  border-top: 1px solid rgba(0,0,0,0.08);
}

/* Newsletter */
.r-newsletter {
  border-bottom: 1px solid rgba(0,0,0,0.08);
  padding-block: 3.5rem;
}
.r-newsletter__inner {
  max-width: 520px;
  margin: 0 auto;
  padding-inline: var(--medium-s);
  text-align: center;
}
.r-newsletter__title {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 400;
  font-style: italic;
  margin-bottom: 1.5rem;
  color: var(--black-400);
  letter-spacing: 0.01em;
  line-height: 1.3;
}
.r-newsletter__form {
  display: flex;
  border-bottom: 1px solid var(--black-400);
  margin-bottom: 1rem;
}
.r-newsletter__input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font-secondary);
  font-size: 0.9375rem;
  color: var(--black-400);
  padding: 0.875rem 0;
}
.r-newsletter__input::placeholder { color: rgba(51,56,60,0.35); }
.r-newsletter__submit {
  font-family: var(--font-secondary);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--black-400);
  color: var(--white);
  padding: 0.875rem 1.25rem;
  border: none;
  cursor: pointer;
  transition: opacity 0.3s;
}
.r-newsletter__submit:hover { opacity: 0.75; }
.r-newsletter__note {
  font-size: 0.6875rem;
  color: rgba(51,56,60,0.4);
  letter-spacing: 0.02em;
}
.r-newsletter__success {
  font-size: 0.9375rem;
  color: rgba(51,56,60,0.6);
  margin-top: 1rem;
}

/* Links grid */
.r-footer__content-main {
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.r-footer__links-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding-inline: var(--medium-xl);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.r-footer__col {
  border-right: 1px solid rgba(0,0,0,0.07);
  padding: 2.5rem 1.5rem;
}
.r-footer__col:last-child { border-right: none; }

.r-footer__accordion-button,
.r-footer__col-title {
  display: flex;
  align-items: center;
  width: 100%;
  font-family: var(--font-secondary);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--black-400);
  margin-bottom: 1.5rem;
  background: none;
  border: none;
  cursor: default;
  padding: 0;
}
.r-footer__col-arrow { display: none; }

.r-footer__list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.r-footer__item a,
.r-footer__item span {
  font-family: var(--font-secondary);
  font-size: 0.9375rem;
  font-weight: 400;
  color: rgba(51,56,60,0.6);
  line-height: 1.4;
  transition: color 0.25s ease;
}
.r-footer__item a:hover { color: var(--black-400); }
.r-footer__item span { cursor: default; }

/* Bottom bar */
.r-footer__bottom {
  padding-block: 1.25rem;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.r-footer__bottom-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding-inline: var(--medium-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}
.r-footer__bottom-inner .r-follow-us { flex: 1; justify-content: flex-start; }
.r-footer__bottom-inner .r-footer__logo-bottom {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.r-footer__bottom-inner .r-footer__locale { flex: 1; display: flex; justify-content: flex-end; }
.r-follow-us {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.r-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: rgba(51,56,60,0.55);
  text-decoration: none;
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
  position: relative;
}
.r-social-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}
.r-social-icon:hover {
  color: #c8a96a;
  background: rgba(200,169,106,0.10);
  transform: translateY(-2px);
}
/* Tooltip */
.r-social-icon::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: #33383c;
  color: #fff;
  font-family: var(--font-secondary);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  padding: 5px 10px;
  border-radius: 3px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.r-social-icon::before {
  content: '';
  position: absolute;
  bottom: calc(100% + 3px);
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: #33383c;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.r-social-icon:hover::after,
.r-social-icon:hover::before {
  opacity: 1;
}
.r-social-icon:hover::after {
  transform: translateX(-50%) translateY(0);
}
/* button reset cho WeChat trigger (nó là <button> chứ không phải <a>) */
button.r-social-icon {
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  font: inherit;
}

/* ────────────── WeChat QR Modal ────────────── */
.wechat-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.wechat-modal.is-open { opacity: 1; }
.wechat-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  cursor: pointer;
}
.wechat-modal__panel {
  position: relative;
  background: #fff;
  border-radius: 12px;
  padding: 36px 32px 28px;
  max-width: 360px;
  width: 100%;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
  transform: scale(0.94);
  transition: transform 0.2s ease;
}
.wechat-modal.is-open .wechat-modal__panel { transform: scale(1); }
.wechat-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  cursor: pointer;
  color: rgba(51,56,60,0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}
.wechat-modal__close:hover {
  background: rgba(0,0,0,0.05);
  color: var(--black-400);
}
.wechat-modal__title {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--black-400);
  margin: 0 0 8px;
  letter-spacing: 0.02em;
}
.wechat-modal__hint {
  font-family: var(--font-secondary);
  font-size: 0.85rem;
  color: rgba(51,56,60,0.65);
  margin: 0 0 20px;
  line-height: 1.5;
}
.wechat-modal__qr {
  width: 232px;
  height: 232px;
  margin: 0 auto 16px;
  background: #fff;
  border: 1px solid rgba(51,56,60,0.12);
  border-radius: 8px;
  padding: 10px;
}
.wechat-modal__qr img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.wechat-modal__id {
  font-family: var(--font-secondary);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--black-400);
  margin: 0 0 18px;
  letter-spacing: 0.04em;
}
.wechat-modal__download {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  font-family: var(--font-secondary);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--black-400);
  text-decoration: none;
  border: 1px solid rgba(51,56,60,0.2);
  border-radius: 4px;
  transition: all 0.2s ease;
}
.wechat-modal__download:hover {
  background: var(--black-400);
  color: #fff;
  border-color: var(--black-400);
}

@media (max-width: 600px) {
  .wechat-modal__panel { padding: 28px 22px 22px; }
  .wechat-modal__qr { width: 200px; height: 200px; }
  .wechat-modal__title { font-size: 1.3rem; }
}
.r-footer__logo-bottom {
  font-family: var(--font-primary);
  font-size: 1.125rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--black-400);
  text-decoration: none;
  transition: opacity 0.3s ease;
}
.r-footer__logo-bottom:hover { opacity: 0.5; }
.r-footer__locale {
  font-family: var(--font-secondary);
  font-size: 0.75rem;
  color: rgba(51,56,60,0.5);
}
.r-footer__locale button {
  font-family: var(--font-secondary);
  font-size: 0.75rem;
  color: rgba(51,56,60,0.5);
  background: none;
  border: none;
  transition: color 0.25s ease;
  cursor: pointer;
  letter-spacing: 0.04em;
}
.r-footer__locale button:hover { color: var(--black-400); }

/* Language trigger button */
.r-lang-trigger {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-secondary);
  font-size: 0.75rem;
  color: rgba(51,56,60,0.5);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: color 0.25s;
}
.r-lang-trigger:hover { color: var(--black-400); }
.r-lang-trigger__current {
  font-weight: 600;
  color: var(--black-400);
  border-bottom: 1px solid rgba(51,56,60,0.25);
  padding-bottom: 1px;
}
.r-lang-trigger__hint {
  color: rgba(51,56,60,0.45);
  font-weight: 400;
}
.r-lang-trigger .js-lang-label {
  font-weight: 600;
  color: var(--black-400);
  border-bottom: 1px solid rgba(51,56,60,0.25);
  padding-bottom: 1px;
}

/* ── Language Modal ── */
.lang-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.lang-modal.is-open {
  pointer-events: all;
  opacity: 1;
}
.lang-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
}
.lang-modal__panel {
  position: relative;
  background: var(--white);
  width: 100%;
  max-width: 480px;
  max-height: 80vh;
  overflow-y: auto;
  border-radius: 2px;
  transform: translateY(12px) scale(0.98);
  transition: transform 0.3s cubic-bezier(0.32,0,0.15,1);
  padding: 2.5rem 2rem 3rem;
  margin-inline: 1rem;
}
.lang-modal.is-open .lang-modal__panel {
  transform: translateY(0) scale(1);
}
.lang-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.lang-modal__title {
  font-family: var(--font-primary);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--black-400);
  line-height: 1.3;
}
.lang-modal__close {
  flex-shrink: 0;
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(51,56,60,0.5);
  padding: 0.25rem;
  transition: color 0.2s;
}
.lang-modal__close:hover { color: var(--black-400); }
.lang-modal__region {
  font-family: var(--font-secondary);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(51,56,60,0.4);
  margin-bottom: 1.25rem;
}
.lang-modal__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.lang-modal__option {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  padding: 1rem 0;
  font-family: var(--font-secondary);
  font-size: 1rem;
  color: rgba(51,56,60,0.65);
  cursor: pointer;
  transition: color 0.2s, padding-left 0.2s;
}
.lang-modal__option:hover {
  color: var(--black-400);
  padding-left: 0.5rem;
}
.lang-modal__option--active {
  color: var(--black-400);
  font-weight: 600;
  padding-left: 0.5rem;
}
.lang-modal__list li:last-child .lang-modal__option { border-bottom: none; }

.r-footer__copyright {
  padding: 1rem var(--medium-m);
  text-align: center;
}
.r-footer__copyright p {
  font-family: var(--font-secondary);
  font-size: 0.6875rem;
  color: rgba(51,56,60,0.35);
  letter-spacing: 0.03em;
}

/* ──────────────────────────────────────────────
   MINI CART SIDE PANEL
   ────────────────────────────────────────────── */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 200;
  opacity: 0;
  transition: opacity 0.3s;
}
.cart-overlay.is-visible { opacity: 1; }

.cart-panel {
  position: fixed;
  top: 0; right: 0;
  height: 100%;
  width: 360px;
  max-width: 100vw;
  background: var(--white);
  z-index: 201;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s var(--motion-easy-both);
  box-shadow: -4px 0 24px rgba(0,0,0,0.1);
}
.cart-panel.is-open { transform: translateX(0); }

.cart-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--medium-xs) var(--medium-s);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.cart-panel__title {
  font-family: var(--font-primary);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--black-400);
}
.cart-panel__close {
  color: rgba(51,56,60,0.5);
  transition: color 0.3s;
  padding: var(--small-l);
}
.cart-panel__close:hover { color: var(--black-400); }
.cart-panel__body {
  flex: 1;
  overflow-y: auto;
  padding: var(--medium-s);
}
.cart-panel__empty {
  font-size: 0.875rem;
  color: rgba(51,56,60,0.5);
  text-align: center;
  margin-top: var(--large-xs);
}
.cart-item {
  display: flex;
  gap: var(--medium-xs);
  padding-block: var(--medium-xs);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.cart-item__img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  padding: 4px;
  flex-shrink: 0;
  background: #f5f5f0;
  border-radius: 4px;
}
.cart-item__info { flex: 1; }
.cart-item__name {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: var(--small-l);
  color: var(--black-400);
}
.cart-item__price {
  font-size: 0.75rem;
  color: rgba(51,56,60,0.6);
  margin-bottom: var(--small-xxl);
}
.cart-item__qty { display: flex; align-items: center; gap: var(--small-xxl); }
.cart-item__qty-btn {
  width: 24px; height: 24px;
  border: 1px solid rgba(51,56,60,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  color: var(--black-400);
  transition: background 0.3s;
}
.cart-item__qty-btn:hover { background: var(--black-400); color: var(--white); }
.cart-item__qty-num { font-size: 0.875rem; min-width: 20px; text-align: center; }
.cart-item__remove {
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(51,56,60,0.4);
  text-decoration: underline;
  transition: color 0.3s;
  margin-left: auto;
  align-self: flex-start;
  cursor: pointer;
  background: none;
  border: none;
}
.cart-item__remove:hover { color: var(--black-400); }
.cart-panel__footer {
  padding: var(--medium-xs) var(--medium-s);
  border-top: 1px solid rgba(0,0,0,0.08);
}
.cart-panel__total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--medium-xs);
  color: var(--black-400);
}
.cart-panel__total-row strong {
  font-family: var(--font-primary);
  font-size: 1.25rem;
  font-weight: 400;
}
.cart-panel__checkout {
  width: 100%;
  padding: var(--medium-xs);
  background: var(--black-400);
  color: var(--white);
  font-family: var(--font-secondary);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: opacity 0.3s;
}
.cart-panel__checkout:hover { opacity: 0.75; }

/* ──────────────────────────────────────────────
   SEARCH OVERLAY
   ────────────────────────────────────────────── */
.search-overlay {
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 300;
  display: flex;
  align-items: flex-start;
  padding-top: calc(var(--promo-banner-height) + var(--header-height));
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.search-overlay.is-open { opacity: 1; pointer-events: auto; }
.search-overlay__inner {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  padding: var(--medium-m) var(--medium-s);
}
.search-overlay__form {
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--black-400);
  padding-bottom: var(--small-l);
}
.search-overlay__input {
  flex: 1;
  border: none;
  outline: none;
  font-family: var(--font-secondary);
  font-size: 1.125rem;
  color: var(--black-400);
  background: transparent;
}
.search-overlay__input::placeholder { color: rgba(51,56,60,0.3); }
.search-overlay__close {
  color: rgba(51,56,60,0.4);
  padding: var(--small-l);
  transition: color 0.3s;
}
.search-overlay__close:hover { color: var(--black-400); }

/* ──────────────────────────────────────────────
   FADE-IN ON SCROLL
   ────────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 0.6s var(--motion-easy-both), transform 0.6s var(--motion-easy-both);
}
.fade-up.is-visible { opacity: 1; transform: translateY(0); }

/* ──────────────────────────────────────────────
   RESPONSIVE — TABLET
   ────────────────────────────────────────────── */
@media screen and (max-width: 1023px) {
  .r-footer__links-inner {
    grid-template-columns: repeat(2, 1fr);
    padding-inline: var(--medium-s);
  }
  .r-footer__col:nth-child(2) { border-right: none; }
  .r-footer__col:nth-child(3) { border-top: 1px solid rgba(0,0,0,0.07); }
}

/* ──────────────────────────────────────────────
   RESPONSIVE — MOBILE
   ────────────────────────────────────────────── */
@media screen and (max-width: 767px) {
  .hero-section { padding: 4px 4px 0; }

  .hero-section__img {
    height: 80vw;
    min-height: 280px;
    max-height: none;
  }

  .hero-section__title { font-size: 1.75rem; }

  .services-section__inner { padding-inline: var(--medium-s); }

  /* Footer accordion */
  .r-footer__links-inner {
    grid-template-columns: 1fr;
    padding-inline: 0;
  }
  .r-footer__col {
    border-right: none;
    border-bottom: 1px solid rgba(0,0,0,0.07);
    border-top: none;
    padding: var(--medium-s) var(--medium-s) var(--medium-m);
  }
  .r-footer__col:nth-child(3) { border-top: none; }
  .r-footer__col:last-child { border-bottom: none; }
  .r-footer__accordion-button {
    padding: 0 0 var(--medium-xs);
    cursor: default;
    margin-bottom: 0;
    pointer-events: none;
  }
  .r-footer__col-arrow { display: none !important; }
  .r-footer__list {
    display: flex !important;
    padding: 0;
  }

  .r-footer__bottom-inner {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding-inline: var(--medium-s);
    text-align: center;
  }
  .r-footer__bottom-inner .r-follow-us {
    flex: none;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.6rem 1rem;
    width: 100%;
  }
  .r-footer__bottom-inner .r-footer__logo-bottom {
    position: static;
    transform: none;
    left: auto;
    margin: 0;
  }
  .r-footer__bottom-inner .r-footer__locale {
    flex: none;
    justify-content: center;
    width: 100%;
  }

  .cart-panel { width: 100%; }

  .r-newsletter__inner { max-width: 100%; }

  .r-footer-perks {
    grid-template-columns: 1fr;
  }
  .r-footer-perks__item {
    border-right: none;
    border-bottom: 1px solid rgba(0,0,0,0.08);
  }
  .r-footer-perks__item:last-child { border-bottom: none; }
}

/* ==============================================
   CART — icon badge + drawer panel
   ============================================== */

/* Cart icon button in header */
.r-header__cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--black-400);
  transition: opacity 0.2s;
}
.r-header__cart-btn:hover { opacity: 0.6; }

/* Badge */
.r-cart-badge {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  background: var(--black-400);
  color: var(--white);
  font-size: 10px;
  font-weight: 600;
  line-height: 16px;
  text-align: center;
  padding: 0 3px;
  font-family: var(--font-secondary);
  pointer-events: none;
}

/* Cart overlay */
.r-cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  z-index: 1100;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.r-cart-overlay.is-visible { opacity: 1; }

/* Cart panel (drawer từ phải) */
.r-cart-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 420px;
  max-width: 100vw;
  background: var(--white);
  z-index: 1101;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: -4px 0 32px rgba(0,0,0,0.10);
}
.r-cart-panel.is-open { transform: translateX(0); }

/* Header */
.r-cart-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 24px 20px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  flex-shrink: 0;
}
.r-cart-panel__title {
  font-family: var(--font-primary);
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--black-400);
  margin: 0;
}
.r-cart-panel__close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--black-400);
  padding: 4px;
  display: flex;
  align-items: center;
  transition: opacity 0.2s;
}
.r-cart-panel__close:hover { opacity: 0.5; }

/* Scrollable body */
.r-cart-panel__body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-panel__empty {
  text-align: center;
  color: rgba(51,56,60,0.45);
  font-size: 0.9rem;
  font-family: var(--font-secondary);
  margin-top: 40px;
}

/* Cart item */
.cart-item {
  display: flex;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}
.cart-item:last-child { border-bottom: none; padding-bottom: 0; }

.cart-item__img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  padding: 4px;
  flex-shrink: 0;
  background: #f5f5f0;
  border-radius: 4px;
}

.cart-item__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cart-item__name {
  font-family: var(--font-primary);
  font-size: 0.9rem;
  color: var(--black-400);
  margin: 0;
}
.cart-item__price {
  font-family: var(--font-secondary);
  font-size: 0.85rem;
  color: rgba(51,56,60,0.65);
  margin: 0;
}
.cart-item__qty {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}
.cart-item__qty-btn {
  width: 26px;
  height: 26px;
  border: 1px solid rgba(0,0,0,0.18);
  background: none;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black-400);
  transition: background 0.2s;
  border-radius: 2px;
}
.cart-item__qty-btn:hover { background: rgba(0,0,0,0.05); }
.cart-item__qty-num {
  font-family: var(--font-secondary);
  font-size: 0.9rem;
  min-width: 20px;
  text-align: center;
  color: var(--black-400);
}
.cart-item__remove {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.78rem;
  color: rgba(51,56,60,0.4);
  font-family: var(--font-secondary);
  text-decoration: underline;
  padding: 0;
  margin-left: auto;
  transition: color 0.2s;
}
.cart-item__remove:hover { color: var(--black-400); }

/* Footer */
.r-cart-panel__footer {
  padding: 20px 24px 28px;
  border-top: 1px solid rgba(0,0,0,0.08);
  flex-shrink: 0;
}
.r-cart-panel__total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.r-cart-panel__total-label {
  font-family: var(--font-secondary);
  font-size: 0.9rem;
  color: var(--black-400);
  font-weight: 500;
}
.r-cart-panel__total-val {
  font-family: var(--font-primary);
  font-size: 1.05rem;
  color: var(--black-400);
}
.r-cart-panel__note {
  font-size: 0.75rem;
  color: rgba(51,56,60,0.45);
  font-family: var(--font-secondary);
  margin: 0 0 16px;
}
.r-cart-panel__checkout-btn {
  display: block;
  width: 100%;
  padding: 14px 20px;
  background: var(--black-400);
  color: var(--white);
  text-align: center;
  text-decoration: none;
  font-family: var(--font-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.r-cart-panel__checkout-btn:hover { background: #1a1d1f; }

@media (max-width: 480px) {
  .r-cart-panel { width: 100vw; }
}

/* ──────────────────────────────────────────────
   RESPONSIVE — SMALL MOBILE (≤ 480px)
   ────────────────────────────────────────────── */
@media screen and (max-width: 480px) {

  /* Promo banner */
  .promo-banner__message {
    font-size: 0.625rem;
    letter-spacing: 0.03em;
    white-space: normal;
    text-align: center;
    line-height: 1.4;
  }

  /* Header */
  .r-header__logo {
    font-size: 1rem;
    letter-spacing: 0.3em;
  }
  .r-header__action-buttons {
    gap: var(--small-l);
  }

  /* Hero */
  .hero-section { padding: 0; }
  .hero-section__overlay--dark {
    inset-block-start: 35vh;
    padding: 0 var(--medium-s) var(--medium-m);
  }
  .hero-section__title {
    font-size: 1.5rem;
    letter-spacing: -0.5px;
  }
  .hero-section__ontitle {
    font-size: 0.6875rem;
  }

  /* Cover sections */
  .cover-section__title {
    font-size: 1.5rem;
  }
  .cover-section__content {
    padding: var(--medium-m) var(--medium-s);
  }

  /* Look section */
  .look-section__title {
    font-size: 1.5rem;
  }
  .look-section__content {
    padding-inline: 0;
  }
  .look-section__titles,
  .look-section__description,
  .look-section__button {
    padding-inline: var(--medium-s);
  }

  /* Services */
  .services-section {
    padding-block: var(--medium-xl);
  }
  .services-section__title {
    font-size: 1.5rem;
  }
  .service-card { flex: 0 0 85vw; }

  /* Product carousel tiles */
  .r-product-tile { flex: 0 0 140px; }

  /* Product spotlight — full width */
  .product-spotlight__media { max-width: 100%; width: 100%; }

  /* Footer */
  .r-footer__bottom-inner {
    padding-inline: var(--medium-s);
  }
  .r-follow-us { gap: 0.4rem; }
  .r-social-icon { width: 32px; height: 32px; }
  .r-social-icon svg { width: 17px; height: 17px; }

  /* Newsletter */
  .r-newsletter__form { flex-direction: column; gap: 0; }
  .r-newsletter__input {
    width: 100%;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(51,56,60,0.2);
  }
  .r-newsletter__submit {
    width: 100%;
    margin-top: 0.75rem;
    padding: 0.875rem;
  }

  /* Cart panel */
  .r-cart-panel__header { padding: 16px 16px 14px; }
  .r-cart-panel__body { padding: 16px; }
  .r-cart-panel__footer { padding: 16px 16px 24px; }
}

/* ──────────────────────────────────────────────
   RESPONSIVE — EXTRA SMALL (≤ 375px — iPhone SE)
   ────────────────────────────────────────────── */
@media screen and (max-width: 375px) {

  .r-header__logo {
    font-size: 0.875rem;
    letter-spacing: 0.25em;
  }

  .hero-section__title { font-size: 1.375rem; }
  .cover-section__title { font-size: 1.375rem; }
  .look-section__title { font-size: 1.375rem; }
  .services-section__title { font-size: 1.375rem; }

  .cover-section__content {
    padding: var(--medium-s) var(--small-xxl);
  }

  .service-card { flex: 0 0 90vw; }
  .r-product-tile { flex: 0 0 130px; }

  .product-spotlight__media { max-width: 100%; width: 100%; }
}

/* ──────────────────────────────────────────────
   RESPONSIVE — TABLET (481px – 767px)
   ────────────────────────────────────────────── */
@media screen and (min-width: 481px) and (max-width: 767px) {

  /* Cover section */
  .cover-section__title { font-size: 1.75rem; }

  /* Look section */
  .look-section__title { font-size: 1.75rem; }

  /* Services */
  .service-card { flex: 0 0 70vw; }

  /* Product tile */
  .r-product-tile { flex: 0 0 160px; }
}

/* ──────────────────────────────────────────────
   RESPONSIVE — MEDIUM TABLET (768px – 1023px)
   ────────────────────────────────────────────── */
@media screen and (min-width: 768px) and (max-width: 1023px) {

  /* Services: 2 cards visible */
  .service-card { flex: 0 0 calc(50% - 2px); }

  /* Hero fixed overlay — hide on tablet (handled by mobile overlay) */
  .hero-fixed-overlay { display: none; }

  /* Footer perks — 2 cols on tablet */
  .r-footer-perks { grid-template-columns: repeat(2, 1fr); }
  .r-footer-perks__item:nth-child(2) { border-right: none; }
  .r-footer-perks__item:nth-child(1),
  .r-footer-perks__item:nth-child(2) { border-bottom: 1px solid rgba(0,0,0,0.08); }
  .r-footer-perks__item:last-child { border-bottom: none; border-right: none; }
}

/* ──────────────────────────────────────────────
   TOUCH — disable hover-only effects on mobile
   ────────────────────────────────────────────── */
@media (hover: none) and (pointer: coarse) {
  .r-product-tile:hover .r-product-tile__add { display: none; }
  .r-product-tile:hover .r-product-tile__img { transform: none; }
  .service-card:hover .service-card__img { transform: none; }
  .look-section__visual:hover .look-section__img { transform: translateY(var(--look-section-image-transform)); }
}
