/* ===== Variables ===== */
:root {
  --color-primary: #c41e5a;
  --color-primary-dark: #a01848;
  --color-primary-light: #fce4ec;
  --filter-brand-icon: brightness(0) saturate(100%) invert(17%) sepia(98%) saturate(4159%) hue-rotate(326deg) brightness(91%) contrast(92%);
  --filter-brand-icon-hover: brightness(0) saturate(100%) invert(12%) sepia(92%) saturate(3800%) hue-rotate(326deg) brightness(82%) contrast(92%);
  --color-green: #2d6a4f;
  --color-green-light: #d8f3dc;
  --color-text: #1a1a1a;
  --color-text-muted: #666;
  --color-bg: #fff;
  --color-bg-gray: #f8f6f4;
  --color-bg-warm: #faf8f5;
  --color-bg-blush: #fdf7f9;
  --color-border: #e8e4e0;
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --shadow-sm: 0 2px 8px rgba(0,0,0,.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,.1);
  --shadow-soft: 0 10px 40px rgba(26, 20, 18, 0.06);
  --shadow-card: 0 4px 24px rgba(26, 20, 18, 0.05);
  --radius: 8px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --header-height: 64px;
  --promo-height: 40px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --fab-size: 56px;
  --fab-gap: 12px;
  --fab-edge: max(16px, var(--safe-right));
  --fab-bottom: max(16px, var(--safe-bottom));
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --header-stack: calc(var(--header-height) + var(--promo-height) + var(--safe-top));
  --touch-min: 44px;
  --container-max: 1280px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  overflow-x: hidden;
  overflow-x: clip;
  min-height: 100vh;
  min-height: 100dvh;
  padding-left: var(--safe-left);
  padding-right: var(--safe-right);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.nav-open {
  overflow: hidden;
  touch-action: none;
}

html.scroll-locked-root,
body.scroll-locked {
  overflow: hidden;
}

body.scroll-locked {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  touch-action: none;
}

body.threeds-open {
  overflow: hidden;
  touch-action: none;
}

body.nav-open::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 98;
  pointer-events: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 24px);
}

.header .container {
  max-width: 1440px;
  padding: 0 clamp(12px, 3vw, 20px);
}

a { color: inherit; text-decoration: none; }

/* ===== Promo bar ===== */
.promo-bar {
  background: var(--color-primary);
  color: #fff;
  text-align: center;
  padding: 10px clamp(12px, 3vw, 16px);
  padding-top: max(10px, var(--safe-top));
  font-size: clamp(12px, 2.8vw, 14px);
  font-weight: 500;
  line-height: 1.35;
}

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  padding-left: var(--safe-left);
  padding-right: var(--safe-right);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  height: var(--header-height);
  min-width: 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex-shrink: 1;
  text-decoration: none;
  color: inherit;
}

.logo__mark {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: block;
  border-radius: 50%;
  object-fit: contain;
  box-shadow: 0 2px 8px rgba(196, 30, 90, 0.22);
}

.logo__text {
  display: flex;
  align-items: center;
  min-width: 0;
}

.logo__name {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 3.6vw, 1.75rem);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.1;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: min(46vw, 320px);
}

.logo__name--short { display: none; }

.logo--invert .logo__name { color: #fff; }

.logo--compact .logo__name {
  font-size: clamp(1.15rem, 4vw, 1.5rem);
  max-width: none;
}

.logo--compact .logo__mark {
  width: 40px;
  height: 40px;
}

.checkout-header .logo { flex-shrink: 1; min-width: 0; }

.checkout-header .logo__name {
  color: #fff;
  font-size: clamp(1.2rem, 4vw, 1.65rem);
  max-width: min(55vw, 360px);
}

.nav {
  flex: 1;
  min-width: 0;
}

.nav__list {
  display: flex;
  flex-wrap: nowrap;
  list-style: none;
  gap: 0;
  justify-content: center;
}

.nav__item { position: relative; flex-shrink: 0; }

.nav__item > a {
  display: block;
  padding: 8px 9px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  border-radius: var(--radius);
  transition: background .2s, color .2s;
}

.nav__item > a.nav__heading {
  cursor: default;
}

.nav__item > a:hover {
  background: var(--color-primary-light);
  color: var(--color-primary);
}

.nav__dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  list-style: none;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all .2s;
  z-index: 10;
}

.nav__item--has-dropdown:hover .nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav__dropdown a {
  display: block;
  padding: 8px 16px;
  font-size: 14px;
}

.nav__dropdown a:hover {
  background: var(--color-bg-gray);
  color: var(--color-primary);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-left: auto;
}

.header__link {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-muted);
  white-space: nowrap;
  padding: 4px 2px;
}

.header__link:hover { color: var(--color-primary); }

.cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  min-width: var(--touch-min);
  min-height: var(--touch-min);
  color: var(--color-text);
}

.cart-btn__count {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--color-primary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  min-width: var(--touch-min);
  min-height: var(--touch-min);
  border-radius: var(--radius);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: transform .2s, opacity .2s;
  transform-origin: center;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  min-height: var(--touch-min);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
  text-align: center;
}

.btn--primary {
  background: var(--color-primary);
  color: #fff;
}

.btn--primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
}

.btn--white {
  background: #fff;
  color: var(--color-primary);
  border-color: #fff;
}

.btn--white:hover {
  background: transparent;
  color: #fff;
}

.btn--dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  min-height: 44px;
  background: #111;
  color: #fff;
  border: none;
  border-radius: 0;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.3;
  text-align: center;
  transition: background 0.2s ease;
}

.btn--dark:hover {
  background: #000;
}

/* ===== Hero (FYF home carousel) ===== */
.hero {
  position: relative;
  overflow: hidden;
}

.hero--fyf {
  padding: clamp(16px, 2.5vw, 24px) 0 0;
  background: #fff;
}

.hero--home.hero--fyf {
  padding: clamp(16px, 2.5vw, 24px) 0 clamp(24px, 3.5vw, 36px);
}

.hero--fyf .hero__container {
  max-width: 1530px;
  padding-left: clamp(12px, 2vw, 20px);
  padding-right: clamp(12px, 2vw, 20px);
}

.hero__container {
  position: relative;
}

.hero__slides {
  position: relative;
  width: 100%;
  aspect-ratio: 1530 / 400;
  max-height: 400px;
  min-height: clamp(180px, 26vw, 400px);
  border-radius: 0;
  overflow: hidden;
  background: #e8e8e8;
  box-shadow: none;
}

.hero--fyf .hero__slide {
  position: absolute;
  inset: 0;
  display: block;
  text-decoration: none;
  color: inherit;
  opacity: 0;
  transition: opacity .55s ease;
  pointer-events: none;
}

.hero--fyf .hero__slide--active {
  opacity: 1;
  pointer-events: auto;
}

.hero--fyf .hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 8s ease;
}

.hero--fyf .hero__slide--active .hero__image {
  transform: none;
}

.hero--home .hero__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0.12) 42%, transparent 68%);
  pointer-events: none;
  z-index: 1;
}

.hero--home .hero__caption {
  z-index: 2;
  left: clamp(20px, 4vw, 48px);
  top: auto;
  right: auto;
  bottom: clamp(20px, 4vw, 40px);
  transform: none;
  max-width: min(480px, calc(100% - 40px));
  text-align: left;
}

.hero--home .hero__caption-box {
  display: none;
}

.hero--home .hero__title {
  margin: 0 0 clamp(14px, 2vw, 18px);
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}

.hero--home .hero__cta.btn--primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  min-height: 44px;
  width: auto;
  max-width: 100%;
  font-size: clamp(0.8125rem, 1.6vw, 0.9375rem);
  font-weight: 600;
  border-radius: 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  white-space: normal;
  text-align: center;
}

.hero--home .hero__slide:hover .hero__cta.btn--primary,
.hero--home .hero__slide:focus-visible .hero__cta.btn--primary {
  background: var(--color-primary-dark);
  transform: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.hero--fyf .hero__caption {
  position: absolute;
  z-index: 2;
  padding: 0;
  box-sizing: border-box;
}

.hero--fyf .hero__scrim {
  display: none;
}

.hero--fyf .hero__caption-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding: clamp(18px, 3vw, 28px) clamp(20px, 3.5vw, 32px);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.hero--fyf .hero__kicker {
  margin: 0 0 10px;
  font-family: var(--font-body);
  font-size: clamp(0.6875rem, 1.6vw, 0.8125rem);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
}

.hero--fyf .hero__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4.2vw, 2.875rem);
  font-weight: 600;
  line-height: 1.06;
  margin: 0 0 clamp(16px, 2.5vw, 22px);
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: none;
}

.hero--fyf .hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px 13px 24px;
  min-height: 48px;
  max-width: 100%;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: clamp(0.8125rem, 1.8vw, 0.9375rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.25;
  text-align: left;
  white-space: normal;
  box-shadow: 0 4px 20px rgba(196, 30, 90, 0.35);
  transition: background 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.hero--fyf .hero__cta-label {
  flex: 1;
  min-width: 0;
}

.hero--fyf .hero__cta-icon {
  flex-shrink: 0;
  transition: transform 0.22s ease;
}

.hero__slide:hover .hero__cta,
.hero__slide:focus-visible .hero__cta {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(196, 30, 90, 0.42);
}

.hero__slide:hover .hero__cta-icon,
.hero__slide:focus-visible .hero__cta-icon {
  transform: translateX(3px);
}

.btn--carousel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  min-height: 46px;
  max-width: 100%;
  background: #fff;
  color: #1a1a1a;
  border: none;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: normal;
  text-align: center;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.hero__slide:hover .btn--carousel,
.hero__slide:focus-visible .btn--carousel {
  background: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.hero--fyf .hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.85);
  border: none;
  color: #333;
  font-size: 1.75rem;
  line-height: 1;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  transition: background .2s;
  z-index: 3;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.hero--fyf .hero__arrow:hover {
  background: #fff;
}

.hero--fyf .hero__arrow--prev { left: 8px; }
.hero--fyf .hero__arrow--next { right: 8px; }

@media (min-width: 769px) {
  .hero--fyf .hero__caption {
    left: clamp(40px, 6vw, 72px);
    max-width: min(460px, 46%);
  }
}

.hero--fyf .hero__dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}

.hero--fyf .hero__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: background .2s, transform .2s;
}

.hero--fyf .hero__dot--active {
  background: #fff;
  width: 24px;
  border-radius: 999px;
  transform: none;
}

/* ===== Home quick links (FYF occasion icons) ===== */
.home-quick-links {
  padding: clamp(28px, 4vw, 48px) 0 clamp(12px, 2vw, 20px);
  background: #fff;
}

.home-quick-links__header {
  text-align: center;
  margin-bottom: clamp(20px, 3vw, 32px);
}

.home-quick-links__kicker {
  margin: 0 0 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.home-quick-links__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.625rem, 3.5vw, 2.125rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--color-text);
}

.home-quick-links__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(10px, 2vw, 18px);
}

.home-quick-links__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  text-align: center;
  padding: clamp(12px, 2vw, 18px) 8px;
  border-radius: var(--radius-lg);
  transition: transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.home-quick-links__item:hover {
  transform: translateY(-3px);
  background: var(--color-bg-warm);
  box-shadow: var(--shadow-card);
}

.home-quick-links__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 108px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(145deg, #fff 0%, var(--color-primary-light) 100%);
  box-shadow: inset 0 0 0 1px rgba(196, 30, 90, 0.14), 0 4px 16px rgba(196, 30, 90, 0.1);
}

.home-quick-links__icon img {
  width: 72%;
  height: 72%;
  object-fit: contain;
  display: block;
  transition: transform 0.22s ease, filter 0.22s ease;
  filter: var(--filter-brand-icon);
}

.home-quick-links__item:hover .home-quick-links__icon img {
  transform: scale(1.06);
  filter: var(--filter-brand-icon-hover);
}

.home-quick-links__label {
  font-size: clamp(0.75rem, 1.4vw, 0.875rem);
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-text);
}

.home-quick-links__item:hover .home-quick-links__label {
  color: var(--color-primary);
}

@media (max-width: 768px) {
  .home-quick-links__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Legacy hero (category pages) */
.hero:not(.hero--fyf) {
  height: clamp(360px, 56dvh, 520px);
}

.hero:not(.hero--fyf) .hero__slides { height: 100%; }

.hero:not(.hero--fyf) .hero__slide {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.28) 45%, rgba(0, 0, 0, 0.15) 100%), var(--bg) center/cover no-repeat;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity .6s ease;
  pointer-events: none;
}

.hero__frame {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
}

.hero:not(.hero--fyf) .hero__slide--active {
  opacity: 1;
  pointer-events: auto;
}

.hero__content {
  color: #fff;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding: clamp(16px, 4vw, 32px) 0;
}

.hero:not(.hero--fyf) .hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 6vw, 4.25rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.hero__subtitle {
  font-family: var(--font-body);
  font-size: clamp(1.125rem, 2.2vw, 1.375rem);
  font-weight: 400;
  line-height: 1.45;
  margin: 0 0 clamp(24px, 4vw, 32px);
  opacity: 0.96;
  max-width: 28ch;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.3);
}

.btn--hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  padding: 16px 40px;
  min-height: 52px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--color-primary);
  color: #fff;
  border: 2px solid var(--color-primary);
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  transition: background .2s, transform .2s, box-shadow .2s;
}

.btn--hero:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.32);
}

.hero:not(.hero--fyf) .hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.2);
  backdrop-filter: blur(4px);
  border: none;
  color: #fff;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  transition: background .2s;
  z-index: 2;
}

.hero:not(.hero--fyf) .hero__arrow:hover { background: rgba(255,255,255,.35); }
.hero:not(.hero--fyf) .hero__arrow--prev { left: 24px; }
.hero:not(.hero--fyf) .hero__arrow--next { right: 24px; }

.hero:not(.hero--fyf) .hero__dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.hero__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  border: none;
  cursor: pointer;
  transition: background .2s, transform .2s;
}

.hero__dot--active {
  background: #fff;
  transform: scale(1.2);
}

.page-home {
  background: #fff;
  overflow-x: hidden;
  overflow-x: clip;
  --home-pad-x: clamp(16px, 2.5vw, 24px);
  --home-section-y: clamp(48px, 6vw, 72px);
  --home-band-y: clamp(40px, 5vw, 56px);
}

.page-home .container,
.page-home .hero--fyf .hero__container,
.page-home .home-promo-banner .container,
.page-home .instagram-section .container {
  max-width: 1530px;
  padding-left: var(--home-pad-x);
  padding-right: var(--home-pad-x);
}
.home-promo-banner {
  padding: 0;
  background: #fff;
}

.page-home .home-promo-banner {
  padding: var(--home-band-y) 0;
}

.page-home .home-promo-banner:nth-of-type(even) {
  background: #fff;
}

.home-promo-banner .hero-banner {
  border-radius: 0;
  box-shadow: none;
  border: none;
}

.hero-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  margin: 0;
  aspect-ratio: 880 / 400;
  min-height: clamp(220px, 32vw, 400px);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.hero-banner--reverse .hero-banner__content { order: 2; }
.hero-banner--reverse .hero-banner__image { order: 1; }

.hero-banner__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(28px, 4.5vw, 52px);
  color: #fff;
  text-decoration: none;
  min-height: 0;
  height: 100%;
  background: var(--color-primary);
}

.hero-banner__subhead {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
  opacity: 0.92;
}

.hero-banner__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.625rem);
  font-weight: 600;
  margin-bottom: clamp(20px, 3vw, 28px);
  line-height: 1.15;
  max-width: 16ch;
}

.page-home .hero-banner__title {
  max-width: 14em;
  line-height: 1.12;
}

.hero-banner__content .btn {
  white-space: nowrap;
  max-width: 100%;
}

.hero-banner__content .btn--primary {
  padding: 14px 24px;
  font-size: 0.9375rem;
}

.hero-banner__content .btn--dark {
  padding: 14px 24px;
  font-size: 0.9375rem;
  min-height: 46px;
  background: #111;
  color: #fff;
  border: none;
  border-radius: 0;
  font-weight: 600;
  transition: background 0.2s ease;
  box-shadow: none;
}

.hero-banner__content:hover .btn--dark {
  background: #000;
  transform: none;
  box-shadow: none;
}

.hero-banner__image {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 0;
  height: 100%;
  text-decoration: none;
  background: #2a2a2a;
}

.hero-banner__image::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.14) 0%, transparent 22%);
}

.hero-banner--reverse .hero-banner__image::after {
  background: linear-gradient(270deg, rgba(0, 0, 0, 0.14) 0%, transparent 22%);
}

.hero-banner__photo,
.hero-banner__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  image-rendering: auto;
}

.hero-banner:hover .hero-banner__photo,
.hero-banner:hover .hero-banner__image img,
.hero-banner:focus-within .hero-banner__photo,
.hero-banner:focus-within .hero-banner__image img {
  transform: scale(1.05);
}

@media (prefers-reduced-motion: reduce) {
  .hero-banner__photo,
  .hero-banner__image img {
    transition: none;
  }

  .hero-banner:hover .hero-banner__photo,
  .hero-banner:hover .hero-banner__image img,
  .hero-banner:focus-within .hero-banner__photo,
  .hero-banner:focus-within .hero-banner__image img {
    transform: none;
  }
}

.home-promo {
  padding: clamp(48px, 6vw, 72px) 0;
  background: #fff;
}

.home-promo__stack {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3vw, 28px);
  width: 100%;
}

.home-promo__stack > .hero-banner {
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .hero-banner {
    grid-template-columns: 1fr;
    aspect-ratio: auto;
  }
  .hero-banner--reverse .hero-banner__content,
  .hero-banner--reverse .hero-banner__image { order: unset; }
  .hero-banner__content {
    align-items: center;
    text-align: center;
    min-height: auto;
    padding: clamp(28px, 6vw, 40px);
  }
  .hero-banner__title { max-width: none; }
  .hero-banner__image {
    aspect-ratio: 1 / 1;
    min-height: 0;
    width: 100%;
  }
  .hero-banner__image::after {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, transparent 28%);
  }
}

/* ===== Instagram section (FYF-style) ===== */
.instagram-section {
  padding: var(--home-section-y) 0;
  background: #fff;
  border-top: 1px solid var(--color-border);
}

.instagram-section .hero-banner {
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
  border: none;
  margin-bottom: clamp(20px, 3vw, 28px);
}

.instagram-section__slider {
  display: flex;
  align-items: center;
  width: 100%;
  position: relative;
  padding: 0 4px;
}

.instagram-section__viewport {
  flex: 1;
  overflow: hidden;
  outline: none;
}

.instagram-section__track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .instagram-section__track { transition: none; }
}

.instagram-section__tile {
  position: relative;
  flex: 0 0 20%;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: transparent;
  padding: 0 6px;
}

.instagram-section__tile-media {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  padding: 10px;
}

.instagram-section__tile-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
  transition: transform 0.3s ease;
  image-rendering: auto;
}

.instagram-section__tile-label {
  display: block;
  padding: 12px 4px 0;
  font-size: clamp(0.8125rem, 1.3vw, 0.9375rem);
  font-weight: 600;
  color: var(--color-text);
  text-align: center;
  line-height: 1.35;
  min-height: 2.8em;
}

.instagram-section__tile:hover .instagram-section__tile-media img,
.instagram-section__tile:focus-visible .instagram-section__tile-media img {
  transform: scale(1.04);
}

.instagram-section__tile:hover .instagram-section__tile-label,
.instagram-section__tile:focus-visible .instagram-section__tile-label {
  color: var(--color-primary);
}

.instagram-section__nav {
  flex-shrink: 0;
  width: clamp(36px, 4vw, 48px);
  border: none;
  background: transparent;
  color: #999;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--touch-min);
  transition: color 0.2s;
}

.instagram-section__nav:hover:not(:disabled) {
  color: #333;
}

.instagram-section__nav:disabled {
  opacity: 0.25;
  cursor: default;
}

@media (max-width: 768px) {
  .instagram-section__slider {
    padding: 0;
  }
}

@media (max-width: 480px) {
  .instagram-section__nav {
    width: 32px;
    font-size: 1.75rem;
  }
}

/* ===== Categories ===== */
.categories {
  padding: 32px 0;
  border-bottom: 1px solid var(--color-border);
}

.categories__grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.categories__grid--hub {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  justify-content: stretch;
  margin-top: 24px;
}

.occasions-hub .page-header {
  margin-bottom: 8px;
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 28px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  min-width: 140px;
  transition: all .2s;
}

.category-card:hover {
  border-color: var(--color-primary);
  background: var(--color-primary-light);
  transform: translateY(-2px);
}

.category-card__icon { font-size: 1.75rem; }

.category-card__title {
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  line-height: 1.25;
}

/* ===== Sections ===== */
.section {
  padding: 64px 0;
}

.section--gray { background: var(--color-bg-gray); }

.section__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.section__header h2 {
  flex: 1;
  min-width: 0;
}

.section__link {
  flex-shrink: 0;
  white-space: nowrap;
}

.section__header h2,
.section__title-center {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
}

.section__title-center {
  text-align: center;
  margin-bottom: 40px;
}

.section__link {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
}

.section__link:hover { text-decoration: underline; }

/* ===== Featured product sections (FYF home style) ===== */
.featured-section {
  padding: clamp(40px, 5.5vw, 64px) 0;
  background: #fff;
}

.featured-section--soft {
  background: var(--color-bg-warm);
}

.featured-section--light {
  background: #fff;
}

.featured-section__header {
  text-align: center;
  margin-bottom: clamp(24px, 4vw, 36px);
}

.featured-section__kicker {
  margin: 0 0 10px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.featured-section__title {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 4vw, 2.375rem);
  font-weight: 600;
  text-align: center;
  color: var(--color-text);
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.01em;
}

.featured-section__title::after {
  display: none;
}

.featured-section--text-list {
  padding-top: clamp(32px, 4vw, 48px);
}

.featured-section--text-list .featured-section__header {
  margin-bottom: clamp(20px, 3vw, 28px);
}

.product-listing--text a {
  display: block;
  padding: 0 4px;
}

.product-listing--text .product-listing__blurb {
  margin: 0 0 10px;
  font-size: clamp(0.8125rem, 1.5vw, 0.9375rem);
  line-height: 1.45;
  color: var(--color-text);
  text-align: center;
}

.product-listing--text .product-listing__price {
  margin: 0;
}

.page-home .product-listing__image {
  border-radius: 0;
  overflow: hidden;
  background: #fff;
  box-shadow: none;
  border: none;
  transition: none;
}

.page-home .product-listing a:hover .product-listing__image {
  box-shadow: none;
  transform: none;
}

.page-home .product-listing a:hover .product-listing__image img {
  transform: none;
}

.product-listings {
  display: grid;
  gap: clamp(12px, 2vw, 20px);
  align-items: start;
}

.product-listings--6 {
  grid-template-columns: repeat(6, 1fr);
}

.product-listings--4 {
  grid-template-columns: repeat(4, 1fr);
}

.product-listing a {
  display: block;
  text-decoration: none;
  color: inherit;
  text-align: center;
}

.product-listing__image {
  aspect-ratio: 650 / 759;
  overflow: hidden;
  background: #fff;
  margin-bottom: 10px;
}

.product-listing__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 0.25s ease;
}

.product-listing__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.page-home .product-listing__title {
  margin: 0 0 6px;
  padding: 0 4px;
  font-size: clamp(0.8125rem, 1.4vw, 0.9375rem);
  font-weight: 600;
  line-height: 1.35;
  color: var(--color-text);
  text-align: center;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.product-listing a:hover .product-listing__title {
  color: var(--color-primary);
}

.product-listing a:hover .product-listing__image img {
  transform: scale(1.03);
}

.product-listing__price {
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  line-height: 1.4;
  margin: 0;
  padding: 0 4px;
}

.product-listing__srp {
  color: var(--color-text-muted);
  font-size: 0.8125rem;
  margin-right: 2px;
}

.product-listing__price s {
  color: var(--color-text-muted);
  margin-right: 4px;
}

.product-listing__price b {
  color: var(--color-text);
  font-weight: 700;
}

.featured-section__shop-all {
  text-align: center;
  margin: clamp(24px, 4vw, 32px) 0 0;
}

.featured-section__shop-all a {
  display: inline;
  min-height: 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
  border: none;
  border-radius: 0;
  background: transparent;
  transition: color 0.2s ease;
}

.featured-section__shop-all a:hover {
  color: var(--color-primary);
  border: none;
  transform: none;
  box-shadow: none;
  text-decoration: underline;
}

@media (max-width: 1100px) {
  .product-listings--6 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.featured-section--testimonials {
  background: #fff;
  border-top: 1px solid var(--color-border);
}

.featured-section--testimonials .featured-section__title::after {
  display: none;
}

.testimonials-carousel {
  display: flex;
  align-items: center;
  gap: clamp(4px, 1.5vw, 12px);
  margin-top: clamp(8px, 2vw, 16px);
}

.testimonials-carousel__viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  outline: none;
}

.testimonials-carousel__track {
  display: flex;
  align-items: stretch;
  will-change: transform;
  transition: transform 0.35s ease;
}

@media (prefers-reduced-motion: reduce) {
  .testimonials-carousel__track { transition: none; }
}

.testimonials-carousel__slide {
  flex-shrink: 0;
  padding: 0 clamp(8px, 1.5vw, 12px);
  box-sizing: border-box;
  margin: 0;
}

.testimonials-carousel__nav {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: #fff;
  color: var(--color-text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: background 0.2s, border-color 0.2s;
}

.testimonials-carousel__nav:hover:not(:disabled) {
  background: var(--color-primary-light);
  border-color: var(--color-primary);
}

.testimonials-carousel__nav:disabled {
  opacity: 0.35;
  cursor: default;
}

@media (max-width: 640px) {
  .testimonials-carousel__nav {
    width: 36px;
    height: 36px;
    font-size: 1.35rem;
  }
}

@media (max-width: 768px) {
  .product-listings--6,
  .product-listings--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero--fyf {
    padding-top: 0;
  }

  .hero--fyf .hero__container {
    max-width: none;
    padding-left: 0;
    padding-right: 0;
  }

  .hero--fyf .hero__caption,
  .hero--home .hero__caption {
    left: clamp(16px, 4vw, 24px);
    top: auto;
    right: auto;
    bottom: clamp(16px, 4vw, 28px);
    transform: none;
    max-width: calc(100% - 32px);
    width: auto;
  }

  .hero--fyf .hero__caption-box,
  .hero--fyf .hero__caption-card {
    align-items: flex-start;
    text-align: left;
    padding: 0;
  }

  .hero--fyf .hero__title,
  .hero--home .hero__title {
    font-size: clamp(1.5rem, 5.5vw, 2rem);
    margin-bottom: 12px;
  }

  .hero--fyf .hero__cta,
  .hero--home .hero__cta.btn--primary {
    width: auto;
    max-width: 100%;
    justify-content: center;
    padding: 11px 16px;
    font-size: 0.8125rem;
  }

  .btn--carousel {
    font-size: 0.8125rem;
    padding: 10px 16px;
  }
}

@media (max-width: 380px) {
  .product-listings--6,
  .product-listings--4 {
    gap: 10px;
  }

  .product-listing__price {
    font-size: 0.8125rem;
  }
}

/* ===== Products (category / full cards) ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
  gap: clamp(16px, 3vw, 24px);
  align-items: stretch;
}

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

.product-card__link {
  display: flex;
  flex-direction: column;
  flex: 1;
  height: 100%;
  color: inherit;
  text-decoration: none;
  transition: box-shadow .2s, transform .2s;
}

.product-card__link:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.product-card__link:hover .product-card__name {
  color: var(--color-primary);
}

.product-card__link:hover .product-card__btn--view {
  background: var(--color-primary);
  color: #fff;
}

.product-card__link:active {
  transform: translateY(-2px);
}

.product-card__media {
  display: block;
  flex-shrink: 0;
  background: #fff;
  aspect-ratio: 650 / 759;
  overflow: hidden;
}

.product-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.product-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px;
  min-height: 0;
}

.product-card__name {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.35;
  min-height: 2.7em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .2s;
}

.product-card__footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
}

.product-card__prices {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 10px;
}

.product-card__srp {
  font-size: 12px;
  color: var(--color-text-muted);
  line-height: 1.3;
}

.product-card__srp s {
  text-decoration: line-through;
}

.product-card__price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
}

.product-card__old {
  font-size: 14px;
  color: var(--color-text-muted);
  text-decoration: line-through;
}

.product-card__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 2px;
}

.product-card__btn {
  width: 100%;
  padding: 12px 10px;
  min-height: var(--touch-min);
  background: var(--color-primary-light);
  color: var(--color-primary);
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background .2s, color .2s;
  pointer-events: none;
}

.product-card__btn--view {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 13px 16px;
}

/* ===== Banners ===== */
.banner {
  padding: 48px 0;
}

.banner--pink { background: var(--color-primary); color: #fff; }
.banner--green { background: var(--color-green); color: #fff; }

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

.banner__text h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: 8px;
}

.banner__text p { opacity: .9; }

/* ===== Testimonials ===== */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: stretch;
}

.testimonial {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0;
  background: #fff;
  padding: 28px 28px 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(196, 30, 90, 0.08);
  position: relative;
}

.testimonial__mark {
  display: block;
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
  color: var(--color-primary);
  opacity: 0.35;
  margin-bottom: 4px;
}

.testimonial__text {
  flex: 1;
  font-size: 15px;
  font-style: normal;
  margin-bottom: 16px;
  line-height: 1.75;
  color: #333;
}

.testimonial__author {
  font-weight: 600;
  font-size: 14px;
}

.testimonial__city {
  font-size: 13px;
  color: var(--color-text-muted);
}

/* ===== Info blocks ===== */
.info-blocks {
  padding: clamp(48px, 6vw, 72px) 0 clamp(64px, 8vw, 96px);
  background: #fff;
}

.info-blocks--home {
  background: var(--color-bg-warm);
}

.info-blocks__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(16px, 2.5vw, 24px);
  align-items: stretch;
}

.info-block {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: clamp(24px, 3vw, 32px);
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: var(--shadow-card);
}

.info-block h3 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  margin-bottom: 12px;
  color: var(--color-primary);
  line-height: 1.2;
}

.info-block p {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ===== Blog (FYF-style) ===== */
.blog-section {
  padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 6vw, 64px);
  background: #fff;
  border-top: 1px solid var(--color-border);
}

.blog-section--home {
  padding: clamp(48px, 6vw, 72px) 0;
  background: #fff;
  border-top: none;
}

.blog-section--page {
  padding-top: clamp(32px, 5vw, 48px);
  padding-bottom: clamp(48px, 7vw, 80px);
}

.blog-section__container,
.blog-section--page .container {
  max-width: 1200px;
}

.blog-section__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 600;
  text-align: center;
  margin: 0 0 clamp(12px, 2vw, 16px);
  color: var(--color-text);
  line-height: 1.2;
}

.blog-section__title a {
  color: inherit;
  text-decoration: none;
}

.blog-section__title a:hover {
  color: var(--color-primary);
}

.blog-section__intro {
  max-width: 640px;
  margin: 0 auto clamp(28px, 4vw, 40px);
  text-align: center;
  color: var(--color-text-muted);
  font-size: clamp(0.9375rem, 2vw, 1.0625rem);
  line-height: 1.65;
}

.blog-posts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 32px);
  align-items: stretch;
}

.blog-post {
  min-width: 0;
  display: flex;
}

.blog-post__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--color-border);
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.blog-post__link:hover {
  border-color: #d8d4e8;
  box-shadow: 0 12px 32px rgba(46, 42, 94, 0.08);
  transform: translateY(-2px);
}

.blog-post__image {
  aspect-ratio: 650 / 759;
  overflow: hidden;
  background: #f7f6f4;
  margin: 0;
  flex-shrink: 0;
}

.blog-post__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 0.35s ease;
}

.blog-post__link:hover .blog-post__image img {
  transform: scale(1.03);
}

.blog-post__copy {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px 16px 18px;
  text-align: left;
}

.blog-post__title {
  font-family: var(--font-display);
  font-size: clamp(0.9375rem, 1.8vw, 1.0625rem);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.35;
  margin: 0 0 8px;
}

.blog-post__excerpt {
  margin: 0 0 12px;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--color-text-muted);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.blog-post__cta {
  margin-top: auto;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.02em;
}

.blog-post__link:hover .blog-post__title {
  color: var(--color-primary);
}

.blog-section--page .blog-posts {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 992px) {
  .blog-posts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .blog-posts {
    gap: 16px;
  }

  .blog-post__copy {
    padding: 14px 14px 16px;
  }
}

/* ===== Newsletter ===== */
.newsletter {
  background: var(--color-primary-light);
  padding: 48px 0;
}

.newsletter__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.newsletter h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin-bottom: 4px;
}

.newsletter p { color: var(--color-text-muted); font-size: 14px; }

.newsletter__form {
  display: flex;
  gap: 8px;
  flex: 1;
  max-width: 480px;
}

.newsletter__form input {
  flex: 1;
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 15px;
}

.newsletter__form input:focus {
  outline: none;
  border-color: var(--color-primary);
}

/* ===== Footer (FYF-style) ===== */
.footer {
  background: #eceae6;
  color: #333;
  padding: 40px 0 24px;
  padding-bottom: max(24px, var(--safe-bottom));
  border-top: 1px solid var(--color-border);
}

.footer__headline {
  text-align: center;
  padding-bottom: 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid #d8d4cf;
}

.footer__headline-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
}

.footer__headline-sub {
  font-size: 14px;
  color: var(--color-text-muted);
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.5;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 24px;
  margin-bottom: 32px;
}

.footer__col ul { list-style: none; }

.footer__col li { margin-bottom: 6px; }

.footer__col a {
  font-size: 14px;
  color: #444;
  transition: color .2s;
}

.footer__col a:hover { color: var(--color-primary); }

.footer__heading {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-text);
  cursor: pointer;
  list-style: none;
}

.footer__heading--static {
  margin-bottom: 12px;
}

.footer__group summary {
  list-style: none;
}

.footer__group summary::-webkit-details-marker { display: none; }

.footer__group summary::after {
  content: "+";
  float: right;
  font-weight: 400;
  color: var(--color-text-muted);
}

.footer__group[open] summary::after { content: "−"; }

.footer__col--stack .footer__group + .footer__group {
  margin-top: 24px;
}

.footer__hours {
  font-size: 13px;
  color: #555;
  margin: 0 0 12px;
  line-height: 1.4;
}

.footer__contacts--icons li { margin-bottom: 10px; }

.footer__contacts--icons a,
.footer__chat-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #444;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
}

.footer__contacts--icons a:hover,
.footer__chat-btn:hover { color: var(--color-primary); }

.footer__newsletter {
  margin-top: 20px;
}

.footer__newsletter-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-text);
}

.footer__newsletter-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__newsletter input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: var(--radius);
  font-size: 16px;
  background: #fff;
}

.footer__newsletter input:focus {
  outline: none;
  border-color: var(--color-primary);
}

.btn--newsletter {
  width: 100%;
  padding: 12px 16px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  min-height: var(--touch-min);
}

.btn--newsletter:hover {
  background: var(--color-primary-dark);
  color: #fff;
}

.footer__social-title {
  margin-top: 20px;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
}

.footer__social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer__social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.footer__social-link--facebook {
  background: #1877F2;
}

.footer__social-link--instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.footer__social-link--youtube {
  background: #FF0000;
}

.footer__social-link--pinterest {
  background: #BD081C;
}

.footer__social-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
}

.footer__legal-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 4px;
  padding-top: 20px;
  border-top: 1px solid #d8d4cf;
  font-size: 13px;
  color: #555;
  text-align: center;
}

.footer__legal-bar a {
  color: #444;
}

.footer__legal-bar a:hover { color: var(--color-primary); }

.footer__sep { color: #999; user-select: none; }

.footer__copyright { color: #666; }

.footer__cookie-btn {
  background: none;
  border: none;
  color: #444;
  font-size: 13px;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  font-family: inherit;
}

.footer__cookie-btn:hover { color: var(--color-primary); }

.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin: 24px 0;
}

.sitemap-grid h3 {
  font-size: 1rem;
  margin-bottom: 10px;
  color: var(--color-primary);
}

.sitemap-grid ul { list-style: none; }

.sitemap-grid li { margin-bottom: 6px; }

.state-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(52px, 1fr));
  gap: 8px;
  margin-top: 20px;
}

.state-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 8px;
  background: var(--color-bg-gray);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  transition: background .2s, border-color .2s;
}

.state-link:hover {
  background: var(--color-primary-light);
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.home-trust__mark {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: block;
}

/* ===== Chat widget ===== */
.chat-panel {
  position: fixed;
  right: max(16px, var(--safe-right));
  bottom: max(80px, calc(var(--safe-bottom) + 16px));
  width: min(360px, calc(100vw - 32px - var(--safe-left) - var(--safe-right)));
  max-height: min(520px, calc(100dvh - 120px - var(--safe-top) - var(--safe-bottom)));
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  z-index: 9999;
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.chat-panel[hidden] { display: none !important; }

.chat-panel__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  padding: 12px 14px;
  background: var(--color-primary);
  color: #fff;
  flex-shrink: 0;
}

.chat-panel__title {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.chat-panel__mark {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
  display: block;
}

.chat-panel__title-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.chat-panel__title strong {
  font-size: 15px;
}

.chat-panel__status {
  font-size: 11px;
  opacity: 0.9;
  font-weight: 500;
}

.chat-panel__actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.chat-panel__reset {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
}

.chat-panel__reset:hover {
  background: rgba(255, 255, 255, 0.28);
}

.chat-panel__close {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
}

.chat-messages {
  flex: 1;
  min-height: 200px;
  max-height: 280px;
  overflow-y: auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #fafafa;
}

.chat-msg-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  max-width: 100%;
}

.chat-msg-row--bot {
  align-self: flex-start;
}

.chat-msg__avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
  display: block;
}

.chat-msg-row .chat-msg {
  max-width: calc(100% - 36px);
}

.chat-msg {
  max-width: 88%;
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
}

.chat-msg--bot {
  align-self: flex-start;
  background: #fff;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-bottom-left-radius: 4px;
}

.chat-msg--bot a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.chat-msg--bot a:hover {
  color: var(--color-primary-dark);
}

.chat-msg--user {
  align-self: flex-end;
  background: var(--color-primary);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.chat-msg--typing {
  display: flex;
  gap: 4px;
  padding: 12px 14px;
}

.chat-msg--typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-text-muted);
  animation: chat-typing 1.2s infinite ease-in-out;
}

.chat-msg--typing span:nth-child(2) { animation-delay: 0.15s; }
.chat-msg--typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes chat-typing {
  0%, 80%, 100% { opacity: 0.35; transform: scale(0.85); }
  40% { opacity: 1; transform: scale(1); }
}

.chat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 12px 8px;
  flex-shrink: 0;
  max-height: 88px;
  overflow-y: auto;
}

.chat-chip {
  border: 1px solid var(--color-primary);
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-size: 11px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
  cursor: pointer;
  line-height: 1.2;
}

.chat-chip:hover {
  background: var(--color-primary);
  color: #fff;
}

.chat-form {
  display: flex;
  gap: 8px;
  padding: 8px 12px 12px;
  border-top: 1px solid var(--color-border);
  flex-shrink: 0;
}

.chat-form__input {
  flex: 1;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 8px 14px;
  font-size: 13px;
  outline: none;
}

.chat-form__input:focus {
  border-color: var(--color-primary);
}

.chat-form__send {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.chat-form__send:hover { background: var(--color-primary-dark); }

.chat-fab {
  position: fixed;
  right: var(--fab-edge);
  bottom: var(--fab-bottom);
  width: var(--fab-size);
  height: var(--fab-size);
  padding: 0;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  border: none;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-fab__mark {
  width: var(--fab-size);
  height: var(--fab-size);
  border-radius: 50%;
  display: block;
}

.chat-fab:hover .chat-fab__mark {
  filter: brightness(0.96);
}

@media (min-width: 1025px) {
  .footer__group summary { pointer-events: none; }
  .footer__group summary::after { display: none; }
}

@media (max-width: 1024px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer__col--contact {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .footer__grid { grid-template-columns: 1fr; }
  .footer__group:not([open]) ul { display: none; }
  .footer__sep { display: none; }
  .footer__legal-bar { flex-direction: column; gap: 6px; }
}

/* ===== Mobile ===== */
@media (max-width: 1024px) {
  .nav { display: none; }
  .header__link { display: none; }
  .menu-toggle { display: flex; }

  .header__inner {
    width: 100%;
    justify-content: space-between;
  }

  .header__actions {
    margin-left: auto;
  }

  .nav.nav--open {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    top: var(--header-stack);
    bottom: var(--safe-bottom);
    height: auto;
    max-height: calc(100dvh - var(--header-stack) - var(--safe-bottom));
    background: #fff;
    padding: 16px clamp(16px, 4vw, 24px) 24px;
    padding-bottom: max(24px, var(--safe-bottom));
    z-index: 99;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    box-shadow: var(--shadow-md);
  }

  .nav--open .nav__list {
    flex-direction: column;
    gap: 0;
  }

  .nav--open .nav__item > a {
    padding: 14px 8px;
    font-size: 16px;
    min-height: var(--touch-min);
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .nav--open .nav__item--has-dropdown > a.nav__heading::after {
    content: "+";
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--color-text-muted);
    margin-left: 8px;
  }

  .nav--open .nav__item--expanded > a.nav__heading::after {
    content: "−";
  }

  .nav--open .nav__dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0 0 8px 12px;
    display: none;
  }

  .nav--open .nav__item--expanded .nav__dropdown {
    display: block;
  }

  .nav--open .nav__dropdown a {
    padding: 12px 8px;
    min-height: var(--touch-min);
    display: flex;
    align-items: center;
  }

  .nav__mobile-account {
    display: none;
    flex-direction: column;
    gap: 0;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--color-border);
  }

  .nav.nav--open .nav__mobile-account {
    display: flex;
  }

  .nav--open .nav__mobile-link,
  .nav--open .nav__mobile-account .header__link {
    display: flex !important;
    align-items: center;
    padding: 14px 8px;
    font-size: 16px;
    min-height: var(--touch-min);
    color: var(--color-text);
    font-weight: 600;
  }

  .nav--open .nav__mobile-link.header__link--signup {
    color: var(--color-primary);
  }
}

@media (max-width: 768px) {
  .section { padding: 48px 0; }
  .section__header h2,
  .section__title-center { font-size: clamp(1.5rem, 5vw, 2rem); }
  .hero-banner__content { padding: clamp(24px, 6vw, 48px); }
  .categories__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .category-card {
    min-width: 0;
    padding: 16px 12px;
  }
  .page-layout { padding: 24px clamp(16px, 4vw, 24px) 48px; }
  .sidebar {
    width: 100%;
    max-height: none;
    position: static;
  }
  .filters {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .filters select { width: 100%; min-height: var(--touch-min); }
  .account-header {
    flex-direction: column;
    align-items: stretch;
  }
  .auth-form__row { grid-template-columns: 1fr; }
  .checkout-header {
    padding-left: max(16px, var(--safe-left));
    padding-right: max(16px, var(--safe-right));
  }
}

@media (max-width: 640px) {
  :root { --header-height: 56px; --promo-height: 36px; }

  .hero:not(.hero--fyf) { height: clamp(300px, 50dvh, 440px); }
  .hero__content { max-width: 100%; }
  .hero__title { font-size: clamp(2.25rem, 8vw, 3rem); margin-bottom: 10px; }
  .hero__subtitle { font-size: 1rem; margin-bottom: 22px; max-width: none; }
  .btn--hero { padding: 14px 32px; min-height: var(--touch-min); font-size: 0.9375rem; }
  .hero__arrow { display: none; }
  .hero__dots { bottom: max(16px, var(--safe-bottom)); }

  .banner__inner { flex-direction: column; text-align: center; }
  .banner__text h2 { font-size: clamp(1.35rem, 5vw, 2rem); }

  .newsletter__inner { flex-direction: column; text-align: center; }
  .newsletter__form {
    flex-direction: column;
    max-width: 100%;
    width: 100%;
  }
  .newsletter__form .btn { width: 100%; }

  .footer { padding-bottom: max(24px, var(--safe-bottom)); }

  .page-layout { flex-direction: column; }
  .product-detail { grid-template-columns: 1fr; gap: 24px; }
  .product-detail__price { font-size: 1.65rem; }

  .page-header h1,
  .static-page h1,
  .legal-page h1 { font-size: clamp(1.75rem, 6vw, 2.5rem); }

  .static-page { padding: 32px clamp(16px, 4vw, 24px) 48px; }

  .contact-grid { grid-template-columns: 1fr; gap: 24px; }

  .contact-form input,
  .contact-form textarea,
  .auth-form input,
  .track-form input,
  .newsletter__form input {
    font-size: 16px;
    min-height: var(--touch-min);
  }

  .blog-article__container {
    padding-left: clamp(16px, 4vw, 24px);
    padding-right: clamp(16px, 4vw, 24px);
  }

  .blog-article__hero {
    max-height: min(56vh, 420px);
  }

  .blog-related .blog-posts {
    grid-template-columns: 1fr;
  }

  .cookie-banner {
    padding: 12px max(12px, var(--safe-right)) max(12px, var(--safe-bottom)) max(12px, var(--safe-left));
    max-height: min(46vh, 340px);
    overflow: hidden;
  }

  .cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .cookie-banner__title {
    font-size: 14px;
    margin-bottom: 4px;
  }

  .cookie-banner__text {
    flex: 1 1 auto;
    font-size: 12px;
    line-height: 1.4;
    max-height: 9.5em;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .cookie-banner__actions {
    flex-direction: column-reverse;
    width: 100%;
    gap: 8px;
  }

  .cookie-banner__actions .btn,
  .cookie-banner__btn {
    width: 100%;
    min-height: 42px;
    white-space: normal;
    padding: 10px 12px;
    font-size: 13px;
  }

  .cookie-modal {
    align-items: flex-end;
    padding: 0;
  }

  .cookie-modal__panel {
    max-height: 90dvh;
    overflow-y: auto;
    border-radius: var(--radius) var(--radius) 0 0;
    padding-bottom: max(28px, var(--safe-bottom));
  }

  .container {
    padding-left: max(16px, var(--safe-left));
    padding-right: max(16px, var(--safe-right));
  }

  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .product-card__body {
    padding: 12px;
  }

  .product-card__name {
    font-size: 13px;
    line-height: 1.35;
  }

  .product-card__price {
    font-size: 14px;
  }

  .product-card__btn--view {
    font-size: 14px;
    padding: 10px 12px;
  }

  .category-banner__hero {
    min-height: clamp(120px, 32vw, 180px);
  }

  .category-banner__title {
    font-size: clamp(1.35rem, 6vw, 2rem);
    padding: 12px 16px;
  }

  .category-page .page-layout {
    padding-top: 16px;
    padding-left: max(16px, var(--safe-left));
    padding-right: max(16px, var(--safe-right));
  }

  .breadcrumbs {
    font-size: 12px;
    gap: 6px;
    margin-bottom: 14px;
  }

  .filters select {
    width: 100%;
    min-height: var(--touch-min);
    font-size: 16px;
  }

  .page-layout {
    padding-left: max(16px, var(--safe-left));
    padding-right: max(16px, var(--safe-right));
  }

  .logo__name {
    max-width: none;
    font-size: clamp(1.15rem, 4.2vw, 1.4rem);
  }

  .logo__name--full { display: none; }
  .logo__name--short { display: inline; }

  .logo--compact .logo__name {
    max-width: none;
  }

  .header__actions {
    gap: 4px;
  }

  .breadcrumbs {
    font-size: 12px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .product-detail {
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 16px 0 28px;
  }

  .product-detail__title {
    font-size: clamp(1.35rem, 5.5vw, 1.75rem);
    overflow-wrap: anywhere;
    word-break: break-word;
    outline: none;
  }

  .product-detail__title:focus,
  .product-detail__title:focus-visible {
    outline: none;
  }

  .product-page {
    max-width: 100%;
    padding-bottom: max(120px, calc(var(--safe-bottom) + 100px));
  }

  .product-detail__gallery-col,
  .product-detail__buy-col,
  .pdp-options,
  .pdp-step {
    min-width: 0;
    max-width: 100%;
  }

  .pdp-gallery__thumbs {
    padding-right: 8px;
    margin-right: -4px;
  }

  .pdp-gallery__thumbs {
    gap: 6px;
    scroll-snap-type: x mandatory;
  }

  .pdp-gallery__thumb {
    width: 72px;
    height: 84px;
    flex: 0 0 72px;
    scroll-snap-align: start;
  }

  .promo-bar {
    font-size: 12px;
    padding: 8px 12px;
    padding-top: max(8px, var(--safe-top));
  }

  .header .container {
    padding-left: max(12px, var(--safe-left));
    padding-right: max(12px, var(--safe-right));
  }

  .header__inner {
    gap: 8px;
  }

  .logo__mark {
    width: 40px;
    height: 40px;
  }

  .chat-panel {
    left: max(8px, var(--safe-left));
    right: max(8px, var(--safe-right));
    bottom: max(72px, calc(var(--safe-bottom) + 8px));
    width: auto;
    max-height: min(78dvh, calc(var(--vh, 1vh) * 78));
    border-radius: 16px 16px 0 0;
  }

  .chat-panel__reset,
  .chat-panel__close {
    min-width: var(--touch-min);
    min-height: var(--touch-min);
  }

  .chat-form__send {
    width: var(--touch-min);
    height: var(--touch-min);
  }

  .btn--lg {
    width: 100%;
    padding: 14px 20px;
  }

  .faq-item summary {
    min-height: var(--touch-min);
    display: flex;
    align-items: center;
  }

  .account-card {
    padding: 18px 16px;
  }

  .testimonial {
    padding: 22px 18px 20px;
  }

  .occasions-hub__grid-wrap {
    padding: 24px max(16px, var(--safe-left)) 48px max(16px, var(--safe-right));
  }

  .page-home .home-quick-links--compact .home-quick-links__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .categories__grid { grid-template-columns: 1fr 1fr; }
  .category-card__title { font-size: 13px; }
  .testimonials { grid-template-columns: 1fr; }
  .info-blocks__grid { grid-template-columns: 1fr; }
  .checkout-steps { font-size: 12px; }
  .checkout-step__sep { display: none; }
  .logo__name { max-width: min(44vw, 220px); font-size: clamp(1.1rem, 4.5vw, 1.45rem); }
}

@media (max-width: 360px) {
  .logo__mark { width: 38px; height: 38px; }
  .logo__name { font-size: 1rem; max-width: 42vw; }
}

@media (hover: none) and (pointer: coarse) {
  .product-card__link:hover,
  .category-card:hover {
    transform: none;
  }

  .btn--primary:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== Inner pages ===== */
.page-layout {
  display: flex;
  gap: 32px;
  padding: 32px 24px 64px;
  align-items: flex-start;
}

.page-main { flex: 1; min-width: 0; }

.sidebar {
  width: 260px;
  flex-shrink: 0;
  background: var(--color-bg-gray);
  border-radius: var(--radius);
  padding: 20px;
  max-height: 80vh;
  overflow-y: auto;
  position: sticky;
  top: calc(var(--header-height) + 16px);
}

.sidebar h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.sidebar__group {
  margin-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 12px;
}

.sidebar__group h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.sidebar__group ul { list-style: none; }

.sidebar__group li { margin-bottom: 4px; }

.sidebar__group a {
  font-size: 13px;
  color: var(--color-text-muted);
  display: block;
  padding: 4px 0;
}

.sidebar__group a:hover,
.sidebar__group a.active {
  color: var(--color-primary);
}

.hub-links__list {
  list-style: none;
  columns: 2;
  column-gap: 32px;
}

.hub-links__list li {
  margin-bottom: 4px;
  break-inside: avoid;
}

.hub-links__list a {
  font-size: 13px;
  color: var(--color-text-muted);
  display: block;
  padding: 4px 0;
}

.hub-links__list a:hover {
  color: var(--color-primary);
}

@media (min-width: 768px) {
  .hub-links__list { columns: 3; }
}

@media (max-width: 640px) {
  .hub-links__list { columns: 1; }
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.breadcrumbs a:hover { color: var(--color-primary); }

/* ===== Category banners (FYF-style) ===== */
.category-page .page-layout {
  padding-top: 24px;
}

.category-banner {
  background: #f4f3f1;
  border-bottom: 1px solid var(--color-border);
}

.category-banner__hero-wrap {
  padding: 0 clamp(16px, 3vw, 24px);
}

.category-banner__hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(160px, 22vw, 240px);
  overflow: hidden;
  background: #eceae6;
}

.category-banner__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  pointer-events: none;
  user-select: none;
}

.category-banner__title {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: clamp(14px, 2.5vw, 22px) clamp(24px, 5vw, 48px);
  background: #fff;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  color: var(--color-text);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.category-banner__sub {
  padding: 18px 0 8px;
  background: #fff;
}

.category-banner__sub .breadcrumbs {
  margin-bottom: 0;
}

.category-banner__intro {
  padding: 16px 0 8px;
  max-width: 920px;
}

.category-banner__subhead {
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  margin: 0 0 10px;
}

.category-banner__intro-text {
  margin: 0;
  color: var(--color-text-muted);
  line-height: 1.65;
  font-size: 15px;
}

.occasions-hub__grid-wrap {
  padding: 32px 24px 64px;
}

.page-header {
  margin-bottom: 24px;
}

.page-header h1 {
  font-family: var(--font-display);
  font-size: 2.25rem;
  margin-bottom: 8px;
}

.page-header p { color: var(--color-text-muted); }

.filters {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-size: 14px;
  color: var(--color-text-muted);
}

.filters select {
  padding: 8px 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.category-page-nav {
  margin-top: 24px;
}

.product-listings-pagination {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--color-text-muted);
  font-size: 14px;
}

.product-listings-pagination .prev-link,
.product-listings-pagination .next-link {
  color: var(--color-red);
  font-weight: 700;
  text-decoration: none;
}

.product-listings-pagination .prev-link:hover,
.product-listings-pagination .next-link:hover {
  text-decoration: underline;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  min-height: 26px;
  line-height: 1.2;
}

.badge--same {
  background: var(--color-green-light);
  color: var(--color-green);
}

.badge--spacer {
  visibility: hidden;
  padding: 0;
  min-height: 26px;
}

.product-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin: 24px 0 40px;
  align-items: start;
}

@media (min-width: 769px) {
  .product-detail {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px;
  }
}

.product-detail__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin: 0 0 12px;
  text-align: center;
}

.product-detail__gallery-col {
  min-width: 0;
}

.product-detail__buy-col {
  min-width: 0;
}

.pdp-gallery__main {
  background: var(--color-bg-gray);
  border-radius: var(--radius);
  overflow: hidden;
}

.pdp-gallery__main > img,
.pdp-gallery__main > .pdp-gallery__single {
  width: 100%;
  display: block;
  aspect-ratio: 690 / 800;
  object-fit: contain;
  background: var(--color-bg-gray);
}

.pdp-gallery__composite {
  position: relative;
  width: 100%;
  aspect-ratio: 690 / 800;
  overflow: hidden;
  background: var(--color-bg-gray);
}

.pdp-gallery__composite .pdp-gallery__bouquet,
.pdp-gallery__composite .pdp-gallery__vase-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  display: block;
  object-fit: contain;
  object-position: center center;
  background: transparent;
  pointer-events: none;
}

.pdp-gallery__composite .pdp-gallery__vase-overlay {
  z-index: 1;
}

.pdp-gallery__composite .pdp-gallery__bouquet {
  z-index: 2;
}

.pdp-gallery__thumbs {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
}

.pdp-gallery__thumb {
  border: 3px solid transparent;
  border-radius: 4px;
  padding: 0;
  background: var(--color-bg-gray);
  cursor: pointer;
  width: 88px;
  height: 103px;
  flex: 0 0 88px;
  overflow: hidden;
  transition: border-color 0.15s;
}

.pdp-gallery__thumb.is-active {
  border-color: #111;
}

.pdp-gallery__thumb--vase.is-active {
  border-color: var(--color-primary, #c41e5a);
}

.pdp-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  background: var(--color-bg-gray);
}

.pdp-gallery__thumb .pdp-gallery__composite {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
}

.pdp-bottom {
  margin-top: 8px;
}

.pdp-bottom__info {
  margin-bottom: 8px;
}

.pdp-collapse-wrap + .pdp-collapse-wrap .pdp-collapse__summary {
  border-top: 1px solid var(--color-border);
}

.pdp-collapse {
  border: 0;
}

.pdp-collapse__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  list-style: none;
  cursor: pointer;
  padding: 18px 0;
  border-top: 1px solid var(--color-border);
  user-select: none;
}

.pdp-collapse-wrap:first-child .pdp-collapse__summary {
  border-top: 1px solid var(--color-border);
}

.pdp-collapse__summary::-webkit-details-marker {
  display: none;
}

.pdp-collapse__title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
}

.pdp-collapse__indicator {
  flex-shrink: 0;
  width: 9px;
  height: 9px;
  margin-right: 4px;
  border-right: 2px solid var(--color-text-muted);
  border-bottom: 2px solid var(--color-text-muted);
  transform: rotate(-45deg);
  transition: transform 0.2s ease;
}

.pdp-collapse[open] .pdp-collapse__indicator {
  transform: rotate(45deg);
}

.pdp-collapse__body {
  padding: 0 0 24px;
  color: var(--color-text);
  line-height: 1.65;
  font-size: 15px;
}

.pdp-collapse__body p {
  margin: 0 0 14px;
}

.pdp-collapse__body h4 {
  font-size: 1rem;
  margin: 18px 0 8px;
}

.pdp-collapse__body ul {
  margin: 0 0 14px;
  padding-left: 1.25rem;
}

.pdp-collapse__body li {
  margin-bottom: 6px;
}

.pdp-details__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.pdp-details__sku {
  font-weight: 600;
  margin-left: auto;
}

.btn--similar,
.pdp-details__similar {
  display: inline-block;
  padding: 10px 18px;
  background: var(--color-primary);
  color: #fff !important;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius);
  font-size: 14px;
  transition: background 0.2s;
}

.btn--similar:hover,
.pdp-details__similar:hover {
  background: var(--color-primary-dark, #5a3d8a);
  color: #fff !important;
}

.pdp-details__desc p {
  line-height: 1.65;
  margin-bottom: 16px;
}

.pdp-details__includes h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.pdp-details__includes ul {
  margin: 0 0 16px;
  padding-left: 1.2rem;
}

.pdp-details__pet,
.pdp-details__srp-note {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.55;
  margin-bottom: 16px;
}

.pdp-additional-section {
  padding: 28px 0 8px;
  border-top: 1px solid var(--color-border);
}

.pdp-additional-section--recent {
  padding-bottom: 32px;
}

.pdp-additional-section__title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 700;
  text-align: center;
  margin: 0 0 20px;
}

.pdp-additional-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px 18px;
}

.pdp-additional-card {
  min-width: 0;
}

.pdp-additional-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.pdp-additional-card__link:hover .pdp-additional-card__name {
  color: var(--color-primary);
}

.pdp-additional-card__media {
  position: relative;
  background: #fff;
  overflow: hidden;
  line-height: 0;
  aspect-ratio: 414 / 483;
}

.pdp-additional-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 0.2s ease;
}

.pdp-additional-card__link:hover .pdp-additional-card__media img {
  transform: scale(1.03);
}

.pdp-additional-card__badge {
  position: absolute;
  top: 6px;
  left: 6px;
  font-size: 9px;
  padding: 3px 6px;
  z-index: 1;
}

.pdp-additional-card__body {
  padding: 10px 2px 0;
  text-align: center;
}

.pdp-additional-card__name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-family: var(--font-display);
  font-size: 13px;
  line-height: 1.35;
  margin: 0 0 6px;
  font-weight: 600;
}

.pdp-additional-card__price {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
}

.pdp-additional-card__srp {
  display: block;
  font-size: 11px;
  color: var(--color-text-muted);
}

.pdp-additional-card__srp s {
  color: inherit;
}

.pdp-additional-card__price strong {
  display: block;
  font-size: 1.05em;
  color: var(--color-primary);
}

@media (max-width: 992px) {
  .pdp-additional-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .pdp-additional-row {
    display: flex;
    overflow-x: auto;
    gap: 14px;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .pdp-additional-card {
    flex: 0 0 min(42vw, 180px);
    scroll-snap-align: start;
  }
}

.pdp-details {
  max-width: 100%;
  margin: 0 0 48px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

.pdp-details__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 1.875rem);
  text-align: center;
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
}

.section--related h2 {
  text-align: center;
  font-family: var(--font-display);
  margin-bottom: 24px;
}

.products-grid--related {
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 1200px) {
  .products-grid--related {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .products-grid--related {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
  }

  .products-grid--related .product-card {
    flex: 0 0 min(72vw, 220px);
    scroll-snap-align: start;
  }
}

.pdp-accordion {
  border-top: 1px solid var(--color-border);
  padding: 14px 0;
}

.pdp-accordion summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.pdp-accordion summary::-webkit-details-marker { display: none; }

.pdp-accordion p {
  margin: 12px 0 0;
  color: var(--color-text-muted);
  line-height: 1.55;
  font-size: 14px;
}

.product-detail__gallery {
  background: var(--color-bg-gray);
  border-radius: var(--radius);
  overflow: hidden;
}

.product-detail__gallery img {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 650 / 759;
  object-fit: contain;
  object-position: center center;
  background: var(--color-bg-gray);
}

.product-detail__price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
}

.product-detail__old {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  text-decoration: line-through;
  margin-left: 12px;
}

.product-detail__delivery {
  color: var(--color-text-muted);
  margin: 12px 0;
}

.product-detail__desc {
  margin: 20px 0;
  line-height: 1.7;
}

.product-detail__features {
  list-style: none;
  margin-bottom: 24px;
}

.product-detail__features li {
  padding: 6px 0;
  font-size: 14px;
}

.btn--lg { padding: 16px 36px; font-size: 16px; }

.static-page {
  padding: 48px 24px 64px;
  max-width: 900px;
}

.static-page h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  margin-bottom: 24px;
}

.contact-lead {
  color: var(--color-text-muted);
  margin: -8px 0 28px;
  line-height: 1.6;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-form,
.auth-form,
.track-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-form input,
.contact-form textarea,
.auth-form input,
.track-form input {
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
}

.faq-list { display: flex; flex-direction: column; gap: 12px; }

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 16px 20px;
  background: #fff;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
}

.faq-item p {
  margin-top: 12px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.empty-state {
  text-align: center;
  padding: 48px;
  color: var(--color-text-muted);
}

.empty-state a { color: var(--color-primary); font-weight: 600; }

.cart-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
}

.cart-item img { border-radius: var(--radius); object-fit: cover; }

.cart-total {
  text-align: right;
  padding: 24px 0;
  font-size: 1.25rem;
}

.not-found {
  text-align: center;
  padding: 80px 24px;
}

.not-found h1 {
  font-size: 4rem;
  color: var(--color-primary);
}

.blog-article {
  background: #fff;
  padding-bottom: clamp(40px, 6vw, 64px);
}

.blog-article__container {
  max-width: 860px;
  padding: clamp(24px, 4vw, 40px) clamp(20px, 4vw, 32px) 0;
}

.blog-article__header {
  margin-bottom: clamp(20px, 3vw, 28px);
}

.blog-article__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4.5vw, 2.5rem);
  line-height: 1.15;
  color: var(--color-text);
  margin: 0 0 12px;
}

.blog-article__lead {
  margin: 0;
  font-size: clamp(1rem, 2.2vw, 1.125rem);
  line-height: 1.65;
  color: var(--color-text-muted);
}

.blog-article__figure {
  margin: 0 0 clamp(24px, 4vw, 36px);
  border-radius: var(--radius);
  overflow: hidden;
  background: #f7f6f4;
  border: 1px solid var(--color-border);
}

.blog-article__hero {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(72vh, 640px);
  object-fit: contain;
  object-position: center center;
  margin: 0 auto;
}

.blog-article__body {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--color-text);
}

.blog-article__body p {
  margin: 0 0 1.15em;
}

.blog-article__body h2 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  color: var(--color-text);
  margin: 1.75em 0 0.65em;
  line-height: 1.25;
}

.blog-article__body ul,
.blog-article__body ol {
  margin: 0 0 1.25em;
  padding-left: 1.35em;
}

.blog-article__body li {
  margin-bottom: 0.45em;
}

.blog-article__body li:last-child {
  margin-bottom: 0;
}

.blog-article__footer {
  margin-top: clamp(28px, 4vw, 40px);
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

.blog-related {
  margin-top: clamp(32px, 5vw, 48px);
  padding: clamp(40px, 6vw, 56px) 0 clamp(48px, 7vw, 72px);
  background: #faf9f7;
  border-top: 1px solid var(--color-border);
}

.blog-related__title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  text-align: center;
  color: var(--color-text);
  margin: 0 0 clamp(24px, 4vw, 32px);
}

.track-status {
  margin-top: 20px;
  padding: 16px;
  background: var(--color-green-light);
  border-radius: var(--radius);
  color: var(--color-green);
}

.auth-error {
  color: #c41e3a;
  font-size: 14px;
}

.auth-page {
  max-width: 480px;
}

.auth-lead {
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

.auth-switch {
  margin-top: 20px;
  text-align: center;
  color: var(--color-text-muted);
}

.auth-switch a {
  color: var(--color-primary);
  font-weight: 600;
}

.auth-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.auth-submit:disabled {
  opacity: 0.7;
  cursor: wait;
}

.header__link--signup {
  color: var(--color-primary);
  font-weight: 600;
}

@media (min-width: 1025px) and (max-width: 1360px) {
  .header .container { padding: 0 12px; }
  .header__inner { gap: 8px; }
  .logo { font-size: 1.3rem; }
  .nav__item > a { padding: 8px 7px; font-size: 12.5px; }
  .header__link { font-size: 12px; }
}

@media (min-width: 1361px) {
  .nav__item > a { padding: 8px 11px; font-size: 13.5px; }
}

.account-email-sub {
  color: var(--color-text-muted);
  font-size: 14px;
  margin-top: 2px;
}

.account-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 32px;
  gap: 16px;
}

.account-email {
  color: var(--color-text-muted);
  margin-top: 4px;
}

.account-grid {
  display: grid;
  gap: 24px;
}

.account-card {
  background: var(--color-bg-gray);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--color-border);
}

.account-card h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 16px;
}

.orders-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.orders-table th,
.orders-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.orders-table th {
  font-weight: 600;
  color: var(--color-text-muted);
}

.order-status {
  color: var(--color-green);
  font-weight: 600;
}

.account-links {
  list-style: none;
}

.account-links li { margin-bottom: 8px; }

.account-links a {
  color: var(--color-primary);
  font-weight: 500;
}

.account-empty {
  margin-bottom: 16px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.account-clear-orders {
  margin-top: 16px;
}

.order-delete {
  color: var(--color-primary);
  font-weight: 600;
  font-size: 13px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.order-delete:hover {
  text-decoration: underline;
}

.order-status--confirmed { color: var(--color-green); }
.order-status--processing { color: #b45309; }

.order-detail-page .account-header {
  align-items: flex-start;
}

.order-detail__back {
  margin-bottom: 12px;
}

.order-detail__back a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
}

.order-detail__items {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}

.order-detail__item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.order-detail__thumb {
  width: 88px;
  height: 102px;
  object-fit: contain;
  background: #fff;
  border-radius: var(--radius);
  flex-shrink: 0;
}

.order-detail__item-body strong {
  display: block;
  margin-bottom: 4px;
}

.order-detail__sku,
.order-detail__opts {
  display: block;
  font-size: 12px;
  color: var(--color-text-muted);
  line-height: 1.4;
}

.order-detail__price {
  display: block;
  margin-top: 8px;
  font-weight: 600;
}

.order-detail__totals {
  border-top: 1px solid var(--color-border);
  padding-top: 12px;
}

.order-detail__subhead {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: 20px 0 10px;
}

.track-lead {
  margin-bottom: 16px;
  color: var(--color-text-muted);
  max-width: 52ch;
}

.track-hint {
  margin-bottom: 20px;
  padding: 12px 16px;
  border-radius: var(--radius);
  background: var(--color-primary-light);
  color: var(--color-text);
  font-size: 14px;
}

.track-hint a {
  color: var(--color-primary);
  font-weight: 600;
}

.track-page__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  gap: clamp(24px, 4vw, 40px);
  align-items: start;
}

.track-form--card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 28px);
  box-shadow: var(--shadow-card);
}

.track-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.track-form__field span {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-muted);
}

.track-form__field input {
  width: 100%;
  min-height: var(--touch-min);
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 16px;
}

.track-form__field input:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 1px;
  border-color: var(--color-primary);
}

.track-form__error {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: var(--radius);
  background: #fef2f2;
  color: #b91c1c;
  font-size: 14px;
}

.btn--full { width: 100%; }

.btn--sm {
  padding: 8px 14px;
  min-height: 36px;
  font-size: 13px;
}

.track-result {
  margin-top: 24px;
}

.track-status--error {
  color: #b91c1c;
}

.track-result-card {
  margin-top: 0;
  padding: 20px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: #fff;
  line-height: 1.6;
  box-shadow: var(--shadow-card);
}

.track-result-card--full {
  padding: clamp(20px, 3vw, 28px);
}

.track-result-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.track-result-card__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}

.track-result-card__id {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0;
  line-height: 1.1;
}

.track-result-card__placed,
.track-result-card__muted {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-top: 6px;
}

.track-result-card__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 20px 0;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}

.track-result-card__block h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.track-result-card__total {
  margin-top: 12px;
  font-size: 15px;
}

.track-result-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.track-result-card .btn { margin-top: 0; }

.order-track-panel__status {
  margin-bottom: 16px;
}

.order-track-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.order-track-timeline__step {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  position: relative;
  padding-bottom: 18px;
}

.order-track-timeline__step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 18px;
  bottom: 0;
  width: 2px;
  background: var(--color-border);
}

.order-track-timeline__step.is-done:not(:last-child)::before {
  background: var(--color-green);
}

.order-track-timeline__dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--color-border);
  background: #fff;
  margin-top: 2px;
  position: relative;
  z-index: 1;
}

.order-track-timeline__step.is-done .order-track-timeline__dot {
  border-color: var(--color-green);
  background: var(--color-green);
}

.order-track-timeline__step.is-active .order-track-timeline__dot {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px var(--color-primary-light);
}

.order-track-timeline__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.order-track-timeline__body strong {
  font-size: 15px;
}

.order-track-timeline__body span,
.order-track-timeline__body time {
  font-size: 13px;
  color: var(--color-text-muted);
}

.order-track-items {
  margin: 0 0 8px;
  padding-left: 18px;
}

.order-track-items__more {
  color: var(--color-text-muted);
  font-style: italic;
}

.order-status--preparing { color: #b45309; }
.order-status--out-for-delivery { color: #1d4ed8; }
.order-status--delivered { color: var(--color-green); }
.order-status--cancelled { color: #b91c1c; }

.account-grid--dashboard {
  grid-template-columns: 1fr 1fr;
}

.account-card--wide {
  grid-column: 1 / -1;
}

.account-card--profile .account-profile {
  margin: 0;
}

.account-profile__row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 8px 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
}

.account-profile__row:last-child {
  border-bottom: none;
}

.account-profile__row dt {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-muted);
}

.account-profile__row dd {
  margin: 0;
  font-size: 15px;
}

.account-card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.account-card__head h2 {
  margin-bottom: 0;
}

.account-card__count {
  font-size: 13px;
  color: var(--color-text-muted);
}

.account-header__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.account-empty__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.orders-table-wrap {
  overflow-x: auto;
}

.orders-table__actions {
  white-space: nowrap;
}

.orders-table__actions .link-btn + .link-btn {
  margin-left: 10px;
}

.orders-cards {
  display: none;
  flex-direction: column;
  gap: 12px;
}

.order-list-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 16px;
  background: #fff;
}

.order-list-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.order-list-card__id {
  font-weight: 700;
  color: var(--color-primary);
}

.order-list-card__item {
  font-size: 14px;
  margin-bottom: 4px;
}

.order-list-card__meta {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.order-list-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.order-detail-track {
  margin-bottom: 24px;
}

.track-result-card .btn {
  margin-top: 12px;
}

.btn--outline {
  background: transparent;
  border: 2px solid var(--color-border);
  color: var(--color-text);
  padding: 10px 20px;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 600;
}

.btn--outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.static-page { max-width: 960px; }

@media (max-width: 900px) {
  .track-page__layout {
    grid-template-columns: 1fr;
  }

  .track-result-card__grid {
    grid-template-columns: 1fr;
  }

  .account-grid--dashboard {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .orders-table--desktop {
    display: none;
  }

  .orders-cards {
    display: flex;
  }

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

  .account-header__actions {
    width: 100%;
  }

  .account-header__actions .btn {
    flex: 1;
    min-width: 0;
  }
}

@media (max-width: 640px) {
  .account-profile__row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .track-result-card__actions {
    flex-direction: column;
  }

  .track-result-card__actions .btn {
    width: 100%;
  }
}


/* ===== Cookie consent ===== */
.cookie-banner {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 10000;
  background: #1a1a1a;
  color: #eee;
  box-shadow: 0 -4px 24px rgba(0,0,0,.25);
  padding: 20px max(16px, var(--safe-right)) max(20px, var(--safe-bottom)) max(16px, var(--safe-left));
}

.cookie-banner[hidden] { display: none !important; }

.cookie-banner__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}

.cookie-banner__title {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 6px;
  color: #fff;
}

.cookie-banner__text {
  flex: 1 1 420px;
  font-size: 13px;
  line-height: 1.55;
}

.cookie-banner__text a { color: #f5b8cc; }

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-banner__btn { white-space: nowrap; font-size: 13px; padding: 10px 16px; }

.cookie-banner .btn--outline {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  background: transparent;
}

.cookie-banner .btn--outline:hover,
.cookie-banner .btn--outline:focus-visible {
  border-color: #fff;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.cookie-banner .btn--primary {
  border: none;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.cookie-modal[hidden] { display: none !important; }

.cookie-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
}

.cookie-modal__panel {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  max-width: 520px;
  width: 100%;
  padding: 28px;
  box-shadow: var(--shadow-md);
}

.cookie-modal__panel h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin-bottom: 12px;
}

.cookie-modal__intro {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.cookie-modal__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--color-border);
  font-size: 14px;
  cursor: pointer;
}

.cookie-modal__option div span {
  display: block;
  font-size: 12px;
  color: var(--color-text-muted);
  margin-top: 2px;
}

.cookie-modal__always {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text-muted);
}

.cookie-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}

/* ===== Legal pages ===== */
.legal-page h1 {
  font-family: var(--font-display);
  font-size: 2.25rem;
  margin-bottom: 8px;
}

.legal-meta {
  color: var(--color-text-muted);
  font-size: 14px;
  margin-bottom: 24px;
}

.legal-body h2 {
  font-size: 1.25rem;
  margin: 28px 0 12px;
  color: var(--color-text);
}

.legal-body h3 {
  font-size: 1.05rem;
  margin: 20px 0 8px;
}

.legal-body p,
.legal-body li {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 12px;
}

.legal-body ul { padding-left: 1.25rem; margin-bottom: 16px; }

.legal-body {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.legal-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 14px;
  margin: 16px 0 24px;
}

.legal-table th,
.legal-table td {
  border: 1px solid var(--color-border);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.legal-table th { background: var(--color-bg-gray); font-weight: 600; }

.legal-link-btn {
  background: none;
  border: none;
  color: var(--color-primary);
  text-decoration: underline;
  cursor: pointer;
  font: inherit;
  padding: 0;
}

.legal-notice {
  background: var(--color-green-light);
  color: var(--color-green);
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 14px;
}

/* ===== Cross-platform, browsers & accessibility (US mobile-first) ===== */
:root {
  --viewport-h: 100vh;
  --viewport-h: 100dvh;
  --vh: 1vh;
}

#shell {
  width: 100%;
  min-height: var(--viewport-h);
  min-height: calc(var(--vh, 1vh) * 100);
  overflow-x: hidden;
  overflow-x: clip;
}

#app {
  min-height: 50vh;
  overflow-x: hidden;
  overflow-x: clip;
}

@supports (-webkit-touch-callout: none) {
  body,
  #shell {
    min-height: -webkit-fill-available;
  }
}

.hero__slides {
  min-height: clamp(180px, 26vw, 400px);
}

@supports not (aspect-ratio: 1 / 1) {
  .hero__slides {
    height: clamp(180px, 26vw, 400px);
  }

  .hero-banner__image {
    min-height: clamp(220px, 32vw, 400px);
  }
}

.hero__slides,
.instagram-section__viewport,
.testimonials-carousel__viewport {
  touch-action: pan-y pinch-zoom;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

.hero--fyf .hero__arrow,
.instagram-section__nav,
.testimonials-carousel__nav,
.menu-toggle,
.cart-btn {
  min-width: var(--touch-min);
  min-height: var(--touch-min);
}

body.cookie-visible .chat-fab {
  bottom: max(calc(var(--safe-bottom) + 92px), 100px);
}

body.cookie-visible .tg-float {
  bottom: max(calc(var(--safe-bottom) + 92px + var(--fab-size) + var(--fab-gap)), calc(100px + var(--fab-size) + var(--fab-gap)));
}

body.cookie-visible .chat-panel {
  bottom: max(calc(var(--safe-bottom) + 92px), 100px);
}

.footer__legal-bar {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.product-listing__title,
.product-card__title {
  overflow-wrap: anywhere;
  word-break: normal;
}

@supports (line-clamp: 2) {
  .product-card__title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
  }
}

@media (max-width: 1024px) {
  .chat-form__input {
    font-size: max(16px, 1em);
  }

  .footer__newsletter input[type="email"] {
    font-size: max(16px, 1em);
    min-height: var(--touch-min);
  }

  .chat-panel {
    left: max(16px, var(--safe-left));
    right: max(16px, var(--safe-right));
    width: auto;
    max-height: min(560px, calc(var(--viewport-h) - 96px - var(--safe-top) - var(--safe-bottom)));
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .product-listings--6 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .product-listings--4 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-layout {
    gap: 24px;
    padding: 28px clamp(20px, 3vw, 32px) 56px;
  }

  .sidebar {
    width: 220px;
  }
}

@media (max-height: 520px) and (orientation: landscape) {
  .hero--fyf .hero__slides,
  .page-home .hero__slides {
    max-height: min(72vh, 280px);
    min-height: 160px;
  }

  .page-home .hero--fyf .hero__caption {
    top: auto;
    left: clamp(16px, 4vw, 24px);
    bottom: 12px;
    transform: none;
    max-width: min(380px, 60%);
  }

  .page-home .hero--fyf .hero__title {
    font-size: clamp(1.35rem, 4vw, 1.75rem);
    margin-bottom: 10px;
  }

  .page-home .hero--fyf .hero__cta {
    padding: 10px 18px;
    min-height: 40px;
    font-size: 0.75rem;
  }

  body.nav-open .nav.nav--open {
    max-height: calc(var(--viewport-h) - var(--header-stack));
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hero--fyf .hero__slide--active .hero__image {
    transform: none;
  }
}

@media (max-width: 1024px) {
  input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
  select,
  textarea {
    font-size: max(16px, 1em);
  }
}

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

button:focus:not(:focus-visible),
a:focus:not(:focus-visible) {
  outline: none;
}

::selection {
  background: var(--color-primary-light);
  color: var(--color-text);
}

@supports (-webkit-touch-callout: none) {
  .header {
    position: -webkit-sticky;
    position: sticky;
  }

  .is-ios input,
  .is-ios select,
  .is-ios textarea {
    font-size: max(16px, 1em);
  }
}

@supports (height: 100dvh) {
  body.nav-open .nav.nav--open {
    max-height: calc(100dvh - var(--header-stack) - var(--safe-bottom));
  }
}

@supports not (overflow: clip) {
  html,
  body,
  #shell,
  #app,
  .page-home {
    overflow-x: hidden;
  }
}

@media (hover: none) and (pointer: coarse) {
  .product-card__link:active .product-card__image,
  .pdp-additional-card__link:active .pdp-additional-card__media img,
  .page-home .product-listing a:active .product-listing__image img,
  .page-home .hero-banner:active .hero-banner__photo {
    transform: none;
  }

  .hero__slide:active .hero__cta,
  .featured-section__shop-all a:active {
    transform: none;
  }
}

@media (pointer: coarse) {
  .nav__item > a,
  .footer__contacts a,
  .home-quick-links__item {
    -webkit-tap-highlight-color: transparent;
  }
}

.home-quick-links--compact {
  padding: clamp(24px, 3vw, 36px) 0;
  background: #fff;
}

.home-quick-links--compact .home-quick-links__grid {
  gap: clamp(12px, 2vw, 20px);
}

.home-quick-links--compact .home-quick-links__label {
  font-size: clamp(0.8125rem, 1.4vw, 0.9375rem);
  font-weight: 600;
  line-height: 1.3;
}

.home-quick-links--compact .home-quick-links__item {
  padding: 8px 4px;
  border-radius: 0;
}

.home-quick-links--compact .home-quick-links__item:hover {
  transform: none;
  background: transparent;
  box-shadow: none;
}

.home-quick-links--compact .home-quick-links__icon {
  width: min(100%, 88px);
  border-radius: 50%;
  background: linear-gradient(145deg, #fff 0%, var(--color-primary-light) 100%);
  box-shadow: inset 0 0 0 1px rgba(196, 30, 90, 0.14), 0 4px 14px rgba(196, 30, 90, 0.08);
}

.home-quick-links--compact .home-quick-links__icon img {
  filter: var(--filter-brand-icon);
}

.home-quick-links--compact .home-quick-links__item:hover .home-quick-links__icon img {
  filter: var(--filter-brand-icon-hover);
}

.home-quick-links--compact .home-quick-links__item:hover .home-quick-links__label {
  color: var(--color-primary);
}

.is-home #app {
  overflow-x: hidden;
  overflow-x: clip;
}

.page-home .featured-section {
  padding: var(--home-section-y) 0;
  background: #fff;
}

.page-home .featured-section__header {
  margin-bottom: clamp(28px, 4vw, 42px);
}

.page-home .featured-section__title {
  font-size: clamp(1.75rem, 3.2vw, 2.25rem);
}

.page-home .featured-section__shop-all {
  margin-top: clamp(28px, 4vw, 40px);
}

.page-home .product-listings {
  gap: clamp(22px, 2.5vw, 32px);
}

.page-home .product-listings--6 {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.page-home .product-listings--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.page-home .product-listing {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-home .product-listing > a {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-home .product-listing__image {
  margin-bottom: 12px;
}

.page-home .product-listing__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
  padding: 0 2px;
}

.page-home .product-listing__title {
  min-height: 2.75em;
  margin: 0;
  flex: 1;
}

.page-home .product-listing__price {
  margin-top: auto;
  padding: 0;
}

.page-home .product-listing a:hover .product-listing__image img {
  transform: scale(1.02);
}

.page-home .home-quick-links--compact {
  padding: var(--home-band-y) 0;
  margin: 0;
  background: var(--color-bg-gray);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.page-home .home-quick-links--compact .home-quick-links__grid {
  gap: clamp(14px, 2vw, 24px);
  max-width: 1200px;
  margin: 0 auto;
}

.page-home .home-quick-links--compact .home-quick-links__item {
  padding: 10px 6px;
}

.page-home .home-quick-links--compact .home-quick-links__icon {
  width: min(100%, 96px);
  background: linear-gradient(145deg, #fff 0%, var(--color-primary-light) 100%);
}

.page-home .featured-section--testimonials {
  border-top: 1px solid var(--color-border);
}

.page-home .featured-section--testimonials .container {
  max-width: 1530px;
}

.page-home .testimonials-carousel {
  gap: 12px;
  margin-top: 0;
}

.page-home .testimonials-carousel__slide {
  padding: 0 10px;
}

.page-home .blog-section--home {
  padding: var(--home-section-y) 0;
  background: #fff;
  border-top: 1px solid var(--color-border);
}

.page-home .blog-section--home .container {
  max-width: 1530px;
  padding-left: var(--home-pad-x);
  padding-right: var(--home-pad-x);
}

.page-home .blog-section__title {
  margin-bottom: clamp(24px, 3.5vw, 36px);
}

.page-home .info-blocks--home {
  padding: var(--home-section-y) 0 clamp(56px, 7vw, 88px);
  background: var(--color-bg-warm);
}

.page-home .info-blocks--home .container {
  max-width: 1530px;
  padding-left: var(--home-pad-x);
  padding-right: var(--home-pad-x);
}

.page-home .info-blocks__grid {
  gap: clamp(20px, 2.5vw, 28px);
}

.page-home .info-block {
  border-top: 3px solid var(--color-primary);
  border-radius: var(--radius);
  box-shadow: none;
}

.page-home .instagram-section .hero-banner {
  margin-bottom: clamp(28px, 3.5vw, 40px);
}

.page-home .instagram-section__slider {
  padding: 0;
}

@media (max-width: 1100px) {
  .page-home .product-listings--6 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .page-home {
    --home-section-y: clamp(40px, 8vw, 52px);
    --home-band-y: clamp(32px, 6vw, 44px);
  }

  .hero--home .hero__caption {
    left: 50%;
    bottom: clamp(28px, 7vw, 40px);
    transform: translateX(-50%);
    text-align: center;
    max-width: calc(100% - 24px);
  }

  .hero--fyf .hero__dots {
    bottom: 8px;
    gap: 6px;
  }

  .hero--home .hero__title {
    font-size: clamp(1.375rem, 6vw, 1.75rem);
  }

  .page-home .hero--fyf .hero__container {
    padding-left: 0;
    padding-right: 0;
  }

  .page-home .product-listings--6,
  .page-home .product-listings--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .page-home .product-listing__title {
    min-height: 2.5em;
    font-size: 0.8125rem;
  }

  .page-home .home-quick-links--compact .home-quick-links__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
}

@media (max-width: 640px) {
  .page-home .product-listings--6,
  .page-home .product-listings--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero--fyf .hero__arrow {
    display: none;
  }

  .is-phone .chat-fab {
    --fab-size: 52px;
  }

  .is-phone .chat-fab__mark {
    width: var(--fab-size);
    height: var(--fab-size);
  }

  .instagram-section__nav {
    min-width: var(--touch-min);
    min-height: var(--touch-min);
  }

  .hero__dots button,
  .hero__dot {
    min-width: 0;
    min-height: 0;
    width: 10px;
    height: 10px;
    padding: 0;
    position: relative;
  }

  .hero__dot--active {
    width: 22px;
    height: 10px;
  }

  .hero__dot::before {
    content: "";
    position: absolute;
    inset: -14px;
  }

  .product-listings-pagination {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .product-listings-pagination .prev-link,
  .product-listings-pagination .next-link {
    min-height: var(--touch-min);
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
  }

  .footer__newsletter .btn {
    width: 100%;
    min-height: var(--touch-min);
  }

  .footer__group summary {
    min-height: var(--touch-min);
    display: flex;
    align-items: center;
  }

  .pdp-bottom {
    margin-top: 8px;
  }

  .pdp-details {
    margin-bottom: 32px;
  }

  .pdp-accordion summary {
    min-height: var(--touch-min);
    display: flex;
    align-items: center;
  }
}

@media print {
  .promo-bar,
  .header,
  .footer,
  .chat-fab,
  .chat-panel,
  .cookie-banner,
  .cookie-modal {
    display: none !important;
  }

  body {
    padding: 0;
    color: #000;
    background: #fff;
  }

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.85em;
  }
}

/* Floating Telegram contact button — stacked above chat FAB */
.tg-float {
  position: fixed;
  right: var(--fab-edge);
  bottom: calc(var(--fab-bottom) + var(--fab-size) + var(--fab-gap));
  z-index: 9997;
  width: var(--fab-size);
  height: var(--fab-size);
  padding: 0;
  border: none;
  cursor: pointer;
  border-radius: 50%;
  background: linear-gradient(135deg, #2aabee 0%, #229ed9 100%);
  color: #fff;
  text-decoration: none;
  box-shadow: var(--shadow-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.tg-float:hover {
  color: #fff;
  transform: translateY(-2px);
  filter: brightness(0.96);
  box-shadow: var(--shadow-md);
}

.tg-float svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.tg-float__label {
  display: none;
}

.nav__mobile-account {
  display: none;
}

@media (max-width: 640px) {
  .is-phone .tg-float {
    --fab-size: 52px;
  }

  .is-phone .tg-float svg {
    width: 26px;
    height: 26px;
  }
}

/* ===== Universal mobile / cross-browser hardening ===== */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(196, 30, 90, 0.12);
}

body {
  overscroll-behavior-y: none;
  -webkit-font-smoothing: antialiased;
}

img,
video,
svg,
canvas {
  max-width: 100%;
  height: auto;
}

button,
a,
.label,
summary,
.menu-toggle,
.cart-btn,
.btn,
.home-quick-links__item {
  touch-action: manipulation;
}

/* Hide desktop-only account links inside open mobile nav duplication on desktop */
@media (min-width: 1025px) {
  .nav__mobile-account {
    display: none !important;
  }
}

/* Phone catalog density */
@media (max-width: 640px) {
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .product-card__title {
    font-size: 13px;
    line-height: 1.3;
  }

  .product-card__price {
    font-size: 14px;
  }

  .page-layout {
    padding: 16px max(12px, var(--safe-left)) 40px max(12px, var(--safe-right));
    gap: 16px;
  }

  .sidebar {
    width: 100%;
  }

  .container {
    padding-left: max(12px, var(--safe-left));
    padding-right: max(12px, var(--safe-right));
  }

  .header .container {
    padding-left: max(10px, var(--safe-left));
    padding-right: max(10px, var(--safe-right));
  }

  .logo__name {
    max-width: min(48vw, 200px);
    font-size: clamp(0.95rem, 4.2vw, 1.2rem);
  }

  .home-quick-links__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .section {
    padding: 36px 0;
  }

  .btn,
  .btn--primary,
  .btn--checkout {
    min-height: var(--touch-min);
  }
}

@media (max-width: 380px) {
  .products-grid {
    gap: 8px;
  }

  .logo__mark {
    width: 36px;
    height: 36px;
  }

  .logo__name {
    max-width: 42vw;
  }
}

/* iOS Safari / WebKit sticky + 16px inputs */
.is-ios input,
.is-ios select,
.is-ios textarea,
.is-safari input,
.is-safari select,
.is-safari textarea {
  font-size: max(16px, 1em);
}

.is-ios .header,
.is-safari .header {
  position: -webkit-sticky;
  position: sticky;
}

/* Android Chrome / Samsung / WebView */
.is-android input,
.is-android select,
.is-android textarea,
.is-samsung input,
.is-samsung select,
.is-samsung textarea {
  font-size: max(16px, 1em);
}

.is-android .nav.nav--open,
.is-samsung .nav.nav--open,
.is-webview .nav.nav--open {
  /* visualViewport units more reliable than 100vh in Chrome WebView */
  max-height: calc(var(--vh, 1vh) * 100 - var(--header-stack) - var(--safe-bottom));
}

.is-android .chat-panel,
.is-samsung .chat-panel {
  max-height: min(560px, calc(var(--vh, 1vh) * 100 - 96px - var(--safe-top) - var(--safe-bottom)));
}

/* Firefox mobile */
.is-firefox .products-grid,
.is-firefox .home-quick-links__grid {
  gap: max(8px, 0.5rem);
}

.is-firefox input,
.is-firefox select,
.is-firefox textarea {
  font-size: max(16px, 1em);
}

/* Opera / Brave / Edge share Chromium — keep tap targets generous */
.is-opera .btn,
.is-brave .btn,
.is-edge .btn,
.is-chrome .btn {
  min-height: var(--touch-min);
}

/* Chinese in-app browsers (WeChat / UC / QQ / Baidu / Huawei / MIUI / Quark) */
.is-cn-browser,
.is-webview {
  -webkit-overflow-scrolling: touch;
}

.is-cn-browser #shell,
.is-webview #shell {
  min-height: calc(var(--vh, 1vh) * 100);
}

.is-cn-browser .header,
.is-webview .header {
  position: sticky;
  top: 0;
  z-index: 100;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.is-cn-browser .nav.nav--open,
.is-webview .nav.nav--open {
  position: fixed;
  max-height: calc(var(--vh, 1vh) * 100 - var(--header-stack));
  bottom: 0;
}

.is-cn-browser input,
.is-cn-browser select,
.is-cn-browser textarea,
.is-webview input,
.is-webview select,
.is-webview textarea {
  font-size: max(16px, 1em);
  line-height: 1.35;
}

.is-wechat .chat-fab,
.is-wechat .tg-float {
  /* WeChat bottom toolbar overlap */
  bottom: max(calc(var(--safe-bottom) + 24px), 72px);
}

.is-wechat body.cookie-visible .chat-fab {
  bottom: max(calc(var(--safe-bottom) + 110px), 120px);
}

.is-uc .product-card__image,
.is-qq .product-card__image,
.is-baidu .product-card__image {
  /* older WebViews struggle with object-fit contain + aspect boxes */
  background-size: cover;
}

/* Standalone / PWA notch */
.is-standalone body {
  padding-top: var(--safe-top);
}

/* Coarse pointers: kill sticky hover artifacts */
@media (hover: none) and (pointer: coarse) {
  .product-card:hover,
  .category-card:hover,
  .home-quick-links__item:hover {
    transform: none;
    box-shadow: none;
  }

  a,
  button,
  .nav__item > a,
  .product-card__link,
  .btn {
    -webkit-tap-highlight-color: rgba(196, 30, 90, 0.1);
  }
}

/* Short phone landscape */
@media (max-width: 900px) and (max-height: 480px) and (orientation: landscape) {
  .promo-bar {
    display: none;
  }

  .header__inner {
    height: 52px;
  }

  .pdp-actions {
    position: static !important;
  }
}

/* Ensure form rows stack on narrow phones */
@media (max-width: 480px) {
  .form-row,
  .form-row--3,
  .form-row--2 {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .form-row > *,
  .form-row--3 > *,
  .form-row--2 > * {
    width: 100%;
    min-width: 0;
  }
}

