@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Montserrat:wght@400;500;600;700&display=swap");

:root {
  --black: #111111;
  --ink: #1a1c1c;
  --text: #4c4546;
  --muted: #7e7576;
  --line: #e5ddd4;
  --page: #f8f5f1;
  --soft: #f0ebe4;
  --brand: #b87333;
  --brand-dark: #8f5a28;
  --brand-darker: #6d4520;
  --brand-light: #d4955c;
  --brand-soft: rgba(184, 115, 51, 0.12);
  --brand-glow: rgba(184, 115, 51, 0.18);
  --lux-gold: #c8a96a;
  --lux-gold-dark: #a88d4f;
  --lux-gold-glow: rgba(200, 169, 106, 0.45);
  --gold: #b87333;
  --gold-dark: #8f5a28;
  --accent: #b87333;
  --accent-dark: #8f5a28;
  --white: #ffffff;
  --header-trust-h: 28px;
  --header-main-h: 48px;
  --header-subnav-h: 0px;
  --header-shell-pad: 10px;
  --header-h: calc(var(--header-trust-h) + var(--header-shell-pad) + var(--header-main-h));
  --header-h-mobile: calc(var(--header-trust-h) + var(--header-shell-pad) + 40px + 40px);
  --promo-h: 48px;
  --card-radius: 22px;
  --card-shadow: 0 8px 28px rgba(17, 17, 17, 0.06);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-family: "Inter", Arial, sans-serif;
}

body.dialog-open {
  overflow: hidden;
}

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

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

.header-shell {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  width: 100%;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(207, 196, 197, 0.45);
}

.site-header {
  color: var(--ink);
}

.header-inner {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px clamp(14px, 3vw, 28px);
}

.header-row-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 480px) minmax(0, auto);
  align-items: center;
  gap: 12px 20px;
  min-height: var(--header-main-h);
  min-width: 0;
}

.header-start {
  display: flex;
  align-items: center;
  gap: 14px 20px;
  min-width: 0;
  justify-self: start;
}

.header-menu-toggle {
  display: none;
  flex-shrink: 0;
}

.header-row-main .header-search {
  justify-self: center;
  width: 100%;
  max-width: 480px;
  flex: none;
}

.header-row-main .header-end {
  justify-self: end;
}

.promo-banner {
  background: linear-gradient(90deg, #1a1a1a 0%, #2a1f14 50%, #1a1a1a 100%);
  border-bottom: 1px solid var(--brand-glow);
}

.promo-banner-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 16px;
  min-height: var(--promo-h);
  padding: 10px max(16px, calc((100vw - 1280px) / 2 + 24px));
}

.promo-banner-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.promo-banner-copy strong {
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.promo-banner-copy span {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.88rem;
}

.promo-banner-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.promo-banner-close {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  display: block;
  width: clamp(130px, 18vw, 200px);
  height: auto;
  background: transparent;
}

.header-search {
  display: flex;
  align-items: center;
  flex: 1 1 160px;
  min-width: 0;
  max-width: 420px;
  min-height: 40px;
  padding: 0 6px 0 14px;
  border: 1px solid rgba(207, 196, 197, 0.75);
  border-radius: 999px;
  background: var(--page);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.header-search:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
  background: #fff;
}

.header-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 0.88rem;
  padding: 8px 6px;
}

.header-search input:focus {
  outline: none;
}

.header-search button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.header-search button:hover {
  background: var(--brand-dark);
}

.header-end {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.header-nav a {
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.header-nav a:hover {
  color: var(--brand-dark);
}

.lang-dropdown {
  position: relative;
}

.lang-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(207, 196, 197, 0.8);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.lang-dropdown-toggle:hover,
.lang-dropdown.is-open .lang-dropdown-toggle {
  border-color: var(--brand);
  color: var(--brand-dark);
}

.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-end: 0;
  z-index: 80;
  display: grid;
  gap: 2px;
  min-width: 148px;
  padding: 6px;
  border: 1px solid rgba(207, 196, 197, 0.65);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(17, 17, 17, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.lang-dropdown.is-open .lang-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-dropdown-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 600;
}

.lang-dropdown-menu a:hover,
.lang-dropdown-menu a.is-active {
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.header-menu-toggle {
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 0 8px;
  border: 1px solid rgba(207, 196, 197, 0.8);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}

.header-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--brand-dark);
  transition: transform 180ms ease, opacity 180ms ease;
}

.header-menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header-menu-toggle.is-open span:nth-child(2) {
  transform: translateY(-7px) rotate(-45deg);
}

.header-mobile-panel {
  position: absolute;
  top: calc(100% + 1px);
  inset-inline: 0;
  z-index: 70;
  padding: 10px clamp(14px, 3vw, 28px) 14px;
  border-top: 1px solid rgba(207, 196, 197, 0.35);
  background: #fff;
  box-shadow: 0 18px 36px rgba(17, 17, 17, 0.08);
}

.header-mobile-panel nav {
  display: grid;
  gap: 4px;
}

.header-mobile-panel a {
  padding: 12px 10px;
  border-radius: 8px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
}

.header-mobile-panel a:hover {
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.site-nav-admin {
  gap: 16px;
}

.site-nav a,
.site-nav button {
  padding-bottom: 5px;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav a:hover,
.site-nav button:hover {
  border-color: var(--brand);
  color: var(--brand-dark);
}

body.nav-open {
  overflow: hidden;
}

main {
  padding-top: var(--header-h);
}

.header-shell:has(.promo-banner:not([hidden])) ~ main {
  padding-top: calc(var(--header-h) + var(--promo-h));
}

.hero {
  position: relative;
  width: calc(100% - 12px);
  min-height: clamp(520px, 78vh, 780px);
  margin: 6px auto 0;
  display: grid;
  place-items: end center;
  overflow: hidden;
  border-radius: 8px;
  background: #111;
  isolation: isolate;
}

.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: 50% 55%;
  animation:
    heroImageSettle 1400ms cubic-bezier(0.16, 1, 0.3, 1) both,
    heroKenBurns 22s ease-in-out 1.4s infinite;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      to top,
      rgba(0, 0, 0, 0.6) 0%,
      rgba(0, 0, 0, 0.5) 22%,
      rgba(0, 0, 0, 0.3) 48%,
      rgba(0, 0, 0, 0.12) 68%,
      transparent 88%
    ),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, transparent 42%);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  gap: 14px;
  width: min(860px, calc(100% - 32px));
  padding: clamp(56px, 11vh, 96px) 0 clamp(48px, 8vh, 72px);
  color: #fff;
  text-align: center;
  align-content: end;
  min-height: inherit;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero::before {
  display: none;
}

.hero::after {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  opacity: 1;
}

.hero-kicker,
.hero h1,
.hero-title-line,
.hero-subtitle,
.hero-cta {
  animation: heroCopyRise 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--lux-gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  animation-delay: 180ms;
}

.hero-kicker-icon {
  font-size: 0.62rem;
  line-height: 1;
  opacity: 0.92;
}

.hero h1 {
  max-width: min(760px, 100%);
  margin: 0;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.85rem, 4.2vw, 3.6rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.12;
  text-wrap: balance;
  animation-delay: 320ms;
}

.hero-title-line {
  display: block;
  width: 72px;
  height: 1px;
  margin: 4px auto 6px;
  background: linear-gradient(90deg, transparent, var(--lux-gold), transparent);
  animation-delay: 420ms;
}

.hero-subtitle {
  margin: 0;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(0.9rem, 1.15vw, 1.05rem);
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.03em;
  animation-delay: 480ms;
}

.hero-cta {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  border: 0;
  border-radius: 6px;
  padding: 0 28px;
  background: var(--lux-gold);
  color: #111;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  animation-delay: 500ms;
  transition:
    background 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.hero-cta:hover {
  background: #d4b87a;
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.28),
    0 0 24px var(--lux-gold-glow);
  transform: translateY(-2px);
}

.hero-cta:active {
  transform: translateY(0) scale(0.98);
}

.primary-link,
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 45px;
  border: 0;
  border-radius: 10px;
  padding: 0 28px;
  background: var(--brand);
  color: #fff;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition:
    background 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
  box-shadow: 0 8px 20px var(--brand-glow);
}

.primary-button:disabled {
  cursor: not-allowed;
  background: var(--soft);
  color: var(--muted);
  box-shadow: none;
}

.primary-link:hover,
.primary-button:not(:disabled):hover {
  background: var(--brand-dark);
}

.primary-link:active,
.primary-button:not(:disabled):active {
  transform: scale(0.98);
}

.collection-section {
  scroll-margin-top: calc(var(--header-h) + 20px);
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: 32px clamp(16px, 4vw, 32px) 56px;
}

.collection-section-home {
  padding-top: clamp(28px, 5vw, 48px);
  margin-top: 12px;
}

.catalog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding-top: 8px;
}

.pagination-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(207, 196, 197, 0.45);
  border-radius: 8px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  background: #fff;
}

.pagination-link:hover {
  border-color: var(--brand);
  color: var(--brand-dark);
}

.pagination-link.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

.pagination-status {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.category-pills .category-pill {
  text-decoration: none;
}

.flash-stack {
  width: min(1280px, calc(100% - 32px));
  margin: 12px auto 0;
}

.flash-toast {
  position: sticky;
  top: calc(var(--header-h) + 10px);
  z-index: 40;
  width: 100%;
  margin: 0 0 16px;
  padding-right: 42px;
  animation: flashToastIn 320ms ease both;
}

.flash-toast .form-message {
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 12px 32px rgba(17, 17, 17, 0.12);
}

.flash-toast-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: rgba(17, 17, 17, 0.06);
  color: var(--ink);
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
}

@keyframes flashToastIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.collection-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.section-eyebrow {
  margin: 0;
  color: var(--gold-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.collection-heading h2 {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.collection-heading span {
  width: 64px;
  height: 2px;
  background: var(--brand);
}

.catalog-toolbar {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
}

.category-pills {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.category-pills::-webkit-scrollbar {
  display: none;
}

.category-pill {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid rgba(207, 196, 197, 0.75);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

.category-pill:hover,
.category-pill.is-active {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

.category-pill-stock.is-active {
  border-color: var(--brand-dark);
  background: var(--brand-light);
  color: #fff;
}

label {
  display: grid;
  gap: 10px;
  color: #000;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(207, 196, 197, 0.65);
  border-radius: 2px;
  padding: 12px;
  background: transparent;
  color: var(--ink);
  font-size: 0.92rem;
  letter-spacing: 0;
  text-transform: none;
}

input:focus,
select:focus,
textarea:focus {
  outline: 1px solid var(--brand);
  border-color: var(--brand);
}

.stock-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.stock-toggle input {
  width: 16px;
  height: 16px;
  accent-color: var(--brand);
}

.catalog-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 12px 0 0;
  border-top: 1px solid rgba(207, 196, 197, 0.35);
}

.catalog-bar-copy p {
  margin: 0;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 600;
}

.sort-label {
  width: min(220px, 100%);
  flex-shrink: 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
}

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 12px;
  border: 1px solid rgba(207, 196, 197, 0.18);
  border-radius: var(--card-radius);
  background: #fff;
  box-shadow: var(--card-shadow);
  transition:
    box-shadow 220ms ease,
    transform 220ms ease,
    border-color 220ms ease;
}

.product-card:hover {
  border-color: var(--brand-glow);
  box-shadow: 0 16px 36px rgba(17, 17, 17, 0.1);
  transform: translateY(-3px);
}

.product-image {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border-radius: calc(var(--card-radius) - 6px);
  background: #f0eeec;
}

.product-hover-gallery {
  position: absolute;
  inset: 0;
  display: block;
}

.product-hover-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1);
  transition:
    opacity 450ms ease,
    transform 900ms ease;
}

.product-hover-image:first-child {
  opacity: 1;
}

.product-hover-image:not(:first-child) {
  opacity: 0;
}

.product-card:hover .product-hover-image {
  transform: scale(1.04);
}

.product-card:hover .product-hover-gallery.is-animated-2 .product-hover-image,
.product-card:hover .product-hover-gallery.is-animated-3 .product-hover-image {
  opacity: 0;
  animation-fill-mode: forwards;
  transition: transform 900ms ease;
}

.product-card:hover .product-hover-gallery.is-animated-2 .product-hover-image {
  animation: productImageStep2 3s infinite;
}

.product-card:hover .product-hover-gallery.is-animated-2 .product-hover-image:nth-child(1) {
  animation-delay: 0s;
}

.product-card:hover .product-hover-gallery.is-animated-2 .product-hover-image:nth-child(2) {
  animation-delay: 1.5s;
}

.product-card:hover .product-hover-gallery.is-animated-3 .product-hover-image {
  animation: productImageStep3 4.5s infinite;
}

.product-card:hover .product-hover-gallery.is-animated-3 .product-hover-image:nth-child(1) {
  animation-delay: 0s;
}

.product-card:hover .product-hover-gallery.is-animated-3 .product-hover-image:nth-child(2) {
  animation-delay: 1.5s;
}

.product-card:hover .product-hover-gallery.is-animated-3 .product-hover-image:nth-child(3) {
  animation-delay: 3s;
}

@keyframes productImageStep2 {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

@keyframes productImageStep3 {
  0%, 32% { opacity: 1; }
  33%, 100% { opacity: 0; }
}

.stock-pill {
  position: absolute;
  bottom: 14px;
  left: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.stock-pill i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.stock-pill .ok {
  background: #22c55e;
}

.stock-pill .off {
  background: #ef4444;
}

.product-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  padding: 14px 6px 6px;
}

.product-meta {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.product-content h3 {
  margin: 0 0 8px;
  color: #000;
  font-family: "Montserrat", sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.25;
}

.product-content p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-footer {
  display: grid;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
}

.product-price {
  color: var(--accent);
  font-family: "Montserrat", sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.product-card-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.product-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 12px;
  padding: 0 12px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  transition:
    background 160ms ease,
    color 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.product-btn-outline {
  border: 1px solid rgba(17, 17, 17, 0.18);
  background: #fff;
  color: var(--ink);
}

.product-btn-outline:hover {
  border-color: var(--brand);
  color: var(--brand-dark);
  background: var(--brand-soft);
}

.product-btn-primary {
  border: 0;
  background: var(--brand);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 6px 16px var(--brand-glow);
}

.product-btn-primary:not(:disabled):hover {
  background: var(--brand-dark);
}

.product-btn-primary:disabled {
  cursor: not-allowed;
  background: var(--soft);
  color: var(--muted);
}

.product-btn:active:not(:disabled) {
  transform: scale(0.98);
}

.empty-state {
  grid-column: 1 / -1;
  min-height: 320px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  border: 1px solid rgba(207, 196, 197, 0.25);
  background: #fff;
  text-align: center;
}

.empty-state h3,
.empty-state p {
  margin: 0;
}

.product-detail-page {
  min-height: calc(100vh - 80px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
  padding: clamp(36px, 6vw, 76px) max(16px, calc((100vw - 1280px) / 2 + 48px));
}

.product-detail-gallery {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.product-detail-gallery:not(:has(.detail-thumbnails)) {
  grid-template-columns: minmax(0, 1fr);
}

.detail-main-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: 12px;
  background: linear-gradient(145deg, #f7f7f7 0%, #ececec 100%);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.08);
}

.detail-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 180ms ease, transform 320ms ease;
}

.detail-thumbnails {
  display: grid;
  gap: 10px;
}

.detail-thumb {
  overflow: hidden;
  aspect-ratio: 1;
  border: 2px solid rgba(207, 196, 197, 0.45);
  border-radius: 10px;
  padding: 0;
  background: #fff;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.detail-thumb:hover {
  border-color: rgba(17, 17, 17, 0.35);
  transform: translateY(-1px);
}

.detail-thumb.active {
  border-color: var(--brand);
  box-shadow: 0 0 0 1px var(--brand);
}

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

.product-detail-info {
  display: grid;
  gap: 18px;
}

.back-link {
  width: fit-content;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-detail-info h1 {
  margin: 0;
  color: #000;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: 0.95;
}

.detail-price {
  color: var(--accent);
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
}

.detail-description {
  margin: 0;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.7;
}

.detail-specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 8px 0 0;
  background: rgba(207, 196, 197, 0.35);
}

.detail-specs div {
  padding: 16px;
  background: #fff;
}

.detail-specs dt {
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.detail-specs dd {
  margin: 8px 0 0;
  color: #000;
  font-weight: 800;
}

.related-products-section {
  grid-column: 1 / -1;
  padding-top: clamp(20px, 4vw, 42px);
  border-top: 1px solid rgba(207, 196, 197, 0.3);
}

.related-heading {
  place-items: start;
  margin-bottom: 18px;
  text-align: left;
}

.related-heading h2 {
  font-size: clamp(1.15rem, 2.2vw, 1.65rem);
  letter-spacing: 0.1em;
}

.related-product-grid {
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 14px;
}

.related-product-card {
  min-width: 0;
  border: 1px solid rgba(207, 196, 197, 0.18);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--card-shadow);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.related-product-card:hover {
  border-color: rgba(17, 17, 17, 0.22);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.07);
  transform: translateY(-2px);
}

.related-product-card a {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  grid-template-areas:
    "media copy"
    "media status";
  gap: 8px 12px;
  align-items: center;
  min-height: 112px;
  padding: 10px;
}

.related-product-media {
  grid-area: media;
  overflow: hidden;
  width: 84px;
  height: 92px;
  border-radius: 14px;
  background: #f0eeec;
}

.related-product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-product-copy {
  grid-area: copy;
  display: grid;
  min-width: 0;
  gap: 5px;
}

.related-product-copy .product-meta {
  margin-bottom: 0;
}

.related-product-copy strong {
  overflow: hidden;
  color: #000;
  font-family: "Montserrat", sans-serif;
  font-size: 0.95rem;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.related-product-price {
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 800;
}

.related-product-status {
  grid-area: status;
  width: fit-content;
  padding: 5px 8px;
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.related-product-status.status-ok {
  background: rgba(34, 197, 94, 0.12);
  color: #15803d;
}

.related-product-status.status-off {
  background: rgba(239, 68, 68, 0.12);
  color: #b91c1c;
}

.related-empty-state {
  grid-column: 1 / -1;
  display: grid;
  min-height: 112px;
  place-items: center;
  border: 1px solid rgba(207, 196, 197, 0.22);
  background: #fff;
  color: var(--muted);
  text-align: center;
}

.related-empty-state p {
  margin: 0;
}

.benefits-section {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding: 64px max(16px, calc((100vw - 1280px) / 2 + 48px));
  border-block: 1px solid rgba(207, 196, 197, 0.3);
  background: #fff;
  text-align: center;
}

.benefits-section article {
  display: grid;
  gap: 8px;
}

.benefits-section strong {
  font-family: "Montserrat", sans-serif;
}

.benefits-section p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.order-dialog {
  width: min(560px, calc(100vw - 28px));
  max-height: min(90dvh, 720px);
  border: 1px solid rgba(207, 196, 197, 0.5);
  border-radius: 2px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.3);
  animation: dialogEnter 220ms ease both;
}

.order-dialog::backdrop {
  background: rgba(17, 17, 17, 0.68);
  backdrop-filter: blur(5px);
}

.order-dialog form {
  display: grid;
  gap: 15px;
  max-height: min(90dvh, 720px);
  padding: 24px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  background: #fff;
}

.dialog-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 6px;
}

.dialog-header h2 {
  margin: 4px 0 0;
  font-family: "Montserrat", sans-serif;
}

.order-product-name {
  margin: -4px 0 2px;
  border-left: 2px solid var(--brand);
  padding-left: 12px;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 800;
}

.eyebrow {
  margin: 0;
  color: var(--gold-dark);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.icon-button {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(207, 196, 197, 0.8);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  font-size: 1.3rem;
}

.detail-order-button {
  min-height: 48px;
  width: 100%;
  max-width: 360px;
  border-radius: 14px;
  font-size: 0.74rem;
}

.flash-stack:not(.flash-toast) {
  width: min(820px, calc(100% - 32px));
  display: grid;
  gap: 10px;
  margin: 18px auto 0;
}

.form-message {
  min-height: 0;
  margin: 0;
  border: 1px solid rgba(207, 196, 197, 0.5);
  border-radius: 2px;
  padding: 12px 14px;
  background: #fff;
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.45;
}

.form-message:empty {
  display: none;
}

.form-message-success {
  border-color: rgba(34, 197, 94, 0.28);
  background: rgba(34, 197, 94, 0.1);
  color: #15803d;
}

.form-message-error {
  border-color: rgba(239, 68, 68, 0.28);
  background: rgba(239, 68, 68, 0.1);
  color: #b91c1c;
}

.site-footer {
  background: linear-gradient(180deg, var(--brand-dark) 0%, var(--brand-darker) 100%);
  color: #fff;
  padding: 64px max(16px, calc((100vw - 1280px) / 2 + 48px)) 32px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.footer-main {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}

.footer-column {
  display: grid;
  gap: 16px;
}

.footer-column strong {
  font-family: "Montserrat", sans-serif;
  font-size: 0.9rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-nav {
  display: grid;
  gap: 10px;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 160ms ease;
}

.footer-nav a:hover {
  color: #fff;
}

.dev-contact-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--brand-light) !important;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.dev-note {
  display: block;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 8px;
  font-style: italic;
}

.footer-credit {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-credit strong {
  color: var(--brand-light);
}

.footer-social-wrap {
  display: flex;
  gap: 12px;
}

.footer-payment-section {
  padding: 32px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.payment-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
}

.payment-info strong {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

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

.payment-method.cash-on-delivery {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
}

.payment-icon {
  font-size: 1.1rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.5);
  transition: color 160ms ease;
}

.footer-legal a:hover {
  color: #fff;
}

@media (max-width: 900px) {
  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .footer-main {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-column {
    align-items: center;
  }
  .footer-social-wrap {
    justify-content: center;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  .footer-legal {
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
  }
}


.site-footer strong {
  font-family: "Montserrat", sans-serif;
}

.footer-logo {
  display: block;
  width: min(220px, 55vw);
  height: auto;
  margin-bottom: 18px;
  background: transparent;
}

.site-footer p {
  max-width: 380px;
  color: var(--text);
  line-height: 1.6;
}

.developer-credit {
  display: grid;
  gap: 5px;
  margin-top: 24px;
}

.developer-credit span,
.developer-service {
  color: var(--muted);
  font-size: 0.78rem;
}

.footer-developer {
  display: grid;
  align-content: start;
  gap: 14px;
}

.footer-social {
  display: grid;
  align-content: start;
  gap: 14px;
}

.social-links {
  display: flex;
  gap: 10px;
  align-items: center;
}

.social-links a {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(17, 17, 17, 0.18);
  border-radius: 50%;
  color: #000;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

.social-links a:hover {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

.social-links svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 24px;
  z-index: 70;
  display: inline-flex;
  width: auto;
  min-width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px 0 14px;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  background: #128c7e;
  color: #fff;
  box-shadow: 0 16px 36px rgba(18, 140, 126, 0.32);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    background 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.floating-whatsapp:hover {
  background: #075e54;
  box-shadow: 0 18px 42px rgba(18, 140, 126, 0.42);
  transform: translateY(-2px);
}

.floating-whatsapp:active {
  transform: scale(0.96);
}

.floating-whatsapp svg {
  width: 31px;
  height: 31px;
  fill: currentColor;
  flex: 0 0 auto;
}

.floating-whatsapp::after {
  content: "Contact-nous";
}

.developer-number {
  width: fit-content;
  margin: 0;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 2px;
  padding: 8px 11px;
  background: #f7f7f7;
  color: var(--text);
  font-family: "Montserrat", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 12px;
}

.footer-links a {
  width: fit-content;
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 160ms ease;
}

.footer-links a:hover {
  color: var(--brand-dark);
}

.footer-bottom {
  grid-column: 1 / -1;
  padding-top: 22px;
  border-top: 1px solid rgba(207, 196, 197, 0.3);
  text-align: center;
}

.footer-copyright {
  margin: 0;
  color: var(--page) !important ;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.whatsapp-icon-link,
.whatsapp-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  gap: 10px;
  min-height: 44px;
  border: 1px solid #128c7e;
  border-radius: 2px;
  padding: 0 16px;
  background: #128c7e;
  color: #fff;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.whatsapp-icon-link svg,
.whatsapp-action svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex: 0 0 auto;
}

.footer-developer .whatsapp-icon-link {
  width: fit-content;
}

/* Static pages: Services & About */
.static-page {
  width: min(1080px, 100%);
  margin: 0 auto;
  padding: clamp(32px, 6vw, 64px) clamp(16px, 4vw, 32px) clamp(48px, 8vw, 80px);
}

.static-page-hero {
  max-width: 680px;
  margin-bottom: clamp(36px, 6vw, 56px);
}

.static-page-hero h1 {
  margin: 8px 0 16px;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.1;
  color: var(--ink);
}

.static-page-lead {
  margin: 0;
  color: var(--text);
  font-size: clamp(0.95rem, 2vw, 1.08rem);
  line-height: 1.7;
}

.static-page-section {
  margin-bottom: clamp(36px, 6vw, 56px);
}

.static-page-section-muted {
  padding: clamp(28px, 5vw, 40px);
  border-radius: 12px;
  background: var(--page);
  border: 1px solid rgba(207, 196, 197, 0.35);
}

.static-section-title {
  margin: 0 0 24px;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.25rem, 3vw, 1.6rem);
  color: var(--ink);
}

.static-section-title-center {
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.service-card {
  display: grid;
  gap: 12px;
  padding: 28px 24px;
  border: 1px solid rgba(207, 196, 197, 0.4);
  border-radius: 12px;
  background: #fff;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  border-color: var(--brand-glow);
  box-shadow: 0 12px 32px rgba(17, 17, 17, 0.08);
}

.service-card-icon {
  color: var(--brand);
  font-family: "Montserrat", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.service-card h3 {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 1.05rem;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.services-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.services-steps li {
  display: grid;
  gap: 8px;
  padding-top: 8px;
  border-top: 2px solid var(--brand);
}

.services-steps strong {
  font-family: "Montserrat", sans-serif;
  font-size: 0.95rem;
}

.services-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.about-story {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(24px, 5vw, 48px);
  align-items: start;
}

.about-story-copy p {
  margin: 0 0 14px;
  color: var(--text);
  line-height: 1.75;
  font-size: 0.95rem;
}

.about-story-stats {
  display: grid;
  gap: 16px;
}

.about-stat {
  display: grid;
  gap: 4px;
  padding: 20px 22px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(207, 196, 197, 0.4);
  text-align: center;
}

.about-stat strong {
  font-family: "Montserrat", sans-serif;
  font-size: 1.6rem;
  color: var(--brand-dark);
}

.about-stat span {
  color: var(--muted);
  font-size: 0.82rem;
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.about-value-card {
  display: grid;
  gap: 10px;
  padding: 24px 20px;
  border: 1px solid rgba(207, 196, 197, 0.35);
  border-radius: 12px;
  background: #fff;
  text-align: center;
  transition: border-color 0.2s ease;
}

.about-value-card:hover {
  border-color: var(--brand);
}

.about-value-icon {
  color: var(--brand);
  font-size: 0.9rem;
}

.about-value-card h3 {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 0.95rem;
}

.about-value-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

.about-mission {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.about-mission p {
  margin: 0;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.75;
}

.static-page-cta {
  padding: clamp(32px, 5vw, 48px);
  border-radius: 12px;
  background: linear-gradient(135deg, #1a1a1a 0%, #2a1f14 100%);
  color: #fff;
  text-align: center;
}

.static-page-cta h2 {
  margin: 0 0 10px;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  color: #fff;
}

.static-page-cta p {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.6;
}

.static-page-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.static-page-cta .secondary-button {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.static-page-cta .secondary-button:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: rgba(255, 255, 255, 0.06);
}

.contact-page {
  min-height: calc(100vh - 80px);
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
  padding: clamp(46px, 8vw, 86px) max(16px, calc((100vw - 1280px) / 2 + 48px));
}

.contact-copy h1 {
  margin: 12px 0 18px;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  line-height: 0.95;
}

.contact-copy p {
  max-width: 540px;
  color: var(--text);
  font-size: 1.02rem;
  line-height: 1.75;
}

.contact-page-form {
  display: grid;
  gap: 13px;
  padding: 26px;
  border: 1px solid rgba(207, 196, 197, 0.35);
  background: #fff;
  max-height: none;
  overflow-y: visible;
}

.contact-page-form strong {
  margin-bottom: 2px;
  font-family: "Montserrat", sans-serif;
  font-size: 1.4rem;
}

.contact-page-form label {
  display: grid;
  gap: 8px;
}

.contact-page-form .primary-button {
  width: fit-content;
}

.compact-footer {
  margin-top: 0;
}

.admin-app .site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid rgba(207, 196, 197, 0.35);
}

.admin-app .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: none;
  min-height: 64px;
  padding: 10px 24px;
}

.admin-app .brand {
  flex-shrink: 0;
}

.admin-app .site-nav-admin {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  margin: 0;
  margin-left: auto;
  flex-shrink: 0;
}

.admin-app .admin-topnav-link,
.admin-app .site-nav-admin a {
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.admin-app .admin-topnav-link:hover,
.admin-app .site-nav-admin a:hover {
  border-color: var(--brand);
  color: var(--brand-dark);
}

.admin-app .admin-topnav-logout,
.admin-app .site-nav-admin form {
  margin: 0;
}

.admin-app .admin-topnav-logout button,
.admin-app .site-nav-admin button {
  padding: 8px 14px;
  border: 1px solid rgba(207, 196, 197, 0.55);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.admin-app .admin-topnav-logout button:hover,
.admin-app .site-nav-admin button:hover {
  border-color: var(--brand);
  color: var(--brand-dark);
}

.admin-app {
  min-height: 100vh;
  padding-top: 64px;
}

.admin-layout {
  min-height: calc(100vh - 80px);
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  padding-top: 0;
}

.admin-sidebar {
  position: sticky;
  top: 64px;
  height: calc(100vh - 64px);
  display: flex;
  flex-direction: column;
  padding: 32px 16px;
  border-right: 1px solid rgba(207, 196, 197, 0.25);
  background: #fff;
}

.admin-sidebar h1 {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 0.86rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.admin-sidebar p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-sidebar nav {
  display: grid;
  gap: 4px;
  margin-top: 34px;
}

.admin-sidebar nav a {
  padding: 13px 12px;
  border-left: 2px solid transparent;
  border-radius: 2px;
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-sidebar nav a.active,
.admin-sidebar nav a:hover {
  border-left-color: var(--brand);
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.admin-profile {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid rgba(207, 196, 197, 0.2);
}

.admin-profile > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--soft);
  font-weight: 900;
}

.admin-profile strong {
  font-size: 0.82rem;
}

.admin-workspace {
  padding: 44px clamp(18px, 4vw, 54px);
}

.admin-panel {
  display: grid;
  gap: 22px;
  margin-bottom: 34px;
  scroll-margin-top: 104px;
}

.admin-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(207, 196, 197, 0.3);
}

.admin-heading h1 {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
}

.admin-heading p {
  margin: 8px 0 0;
  color: var(--text);
}

.admin-page .scroll-reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

.admin-subheading {
  margin-bottom: 18px;
}

.admin-subheading h2 {
  margin: 0 0 4px;
  font-size: 1.15rem;
}

.admin-subheading p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.admin-panel + .admin-panel {
  margin-top: 20px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 28px;
}

.stats-grid article {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(207, 196, 197, 0.25);
  border-radius: 2px;
  background: #fff;
}

.stats-grid span {
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.stats-grid strong {
  display: block;
  margin-top: 14px;
  color: #000;
  font-family: "Montserrat", sans-serif;
  font-size: 2rem;
}

.stats-grid p {
  margin: 8px 0 0;
  color: #15803d;
  font-size: 0.78rem;
}

.orders-panel {
  overflow: hidden;
  border: 1px solid rgba(207, 196, 197, 0.25);
  border-radius: 2px;
  background: #fff;
}

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

table {
  width: 100%;
  min-width: 850px;
  border-collapse: collapse;
}

th,
td {
  padding: 18px;
  border-bottom: 1px solid rgba(207, 196, 197, 0.3);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

td span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.86rem;
}

.status {
  display: inline-flex;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 45px;
  border: 1px solid var(--brand);
  border-radius: 10px;
  padding: 0 24px;
  background: transparent;
  color: var(--brand-dark);
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.secondary-button:hover {
  background: var(--brand);
  color: #fff;
}

.hidden {
  display: none !important;
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 620ms ease,
    transform 620ms ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroImageSettle {
  from {
    opacity: 0.78;
    transform: scale(1.04);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes heroKenBurns {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.02);
  }
}

@keyframes heroCopyRise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes dialogEnter {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero > img,
  .hero-overlay,
  .hero::before,
  .hero::after,
  .hero-kicker,
  .hero h1,
  .hero-title-line,
  .hero-subtitle,
  .hero-cta,
  .order-dialog {
    animation: none !important;
  }

  .hero > img,
  .hero-kicker,
  .hero h1,
  .hero-title-line,
  .hero-subtitle,
  .hero-cta {
    opacity: 1;
    transform: none;
  }

  .hero-overlay {
    opacity: 1;
  }
}

.login-view {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(90deg, rgba(249, 249, 249, 0.94), rgba(249, 249, 249, 0.72)),
    url("https://lh3.googleusercontent.com/aida-public/AB6AXuDmHIsNTPkDEmmZMSbmrBvat0HUQYsoEvoQl_ocpGvbJ36ZFhsuMsTJ5dbNqolYu5sTik6PG_qHuPbDY5Ir6FLwFzVt0a1PEbDdTekbpFvEKBp5I8ZmVauy8g5i-p8HInY6MMKwvDMjM-KvPJrIQAw3FVAl6CMWXLKjn5qrTVRdUqCiYsJGjGGZvTC-CN47A7s4tPQsgYZZjf4l2LMe1GI24ZTYBm5D9FbM_aD46GYAZjmyOqE2kkQ4286Zb8Zy6TLARZO3-Rdd6rRf")
      center/cover;
}

.login-card {
  width: min(460px, 100%);
  display: grid;
  gap: 20px;
  padding: 34px;
  border: 1px solid rgba(207, 196, 197, 0.45);
  border-top: 4px solid var(--brand);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.12);
}

.login-card .brand {
  justify-content: center;
}

.login-card h1 {
  margin: 4px 0 8px;
  font-family: "Montserrat", sans-serif;
  font-size: 2.4rem;
}

.login-card p {
  margin: 0;
  color: var(--text);
  line-height: 1.6;
}

.product-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 16px;
  margin-bottom: 26px;
  padding: 22px;
  border: 1px solid rgba(207, 196, 197, 0.25);
  border-radius: 2px;
  background: #fff;
}

.product-form .full {
  grid-column: 1 / -1;
}

.product-images-fieldset {
  display: grid;
  gap: 12px;
}

.product-images-fieldset .fieldset-label {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-image-slots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.product-image-slot {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px dashed rgba(207, 196, 197, 0.55);
  border-radius: 8px;
  background: #fafafa;
}

.product-image-slot span {
  font-size: 0.82rem;
  font-weight: 700;
}

.admin-image-preview {
  width: 100%;
  max-width: 140px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(207, 196, 197, 0.45);
}

.form-actions {
  grid-column: 1 / -1;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.admin-sidebar nav button {
  padding: 13px 12px;
  border: 0;
  border-left: 2px solid transparent;
  border-radius: 2px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: left;
  text-transform: uppercase;
}

.admin-sidebar nav button.active,
.admin-sidebar nav button:hover {
  border-left-color: var(--brand);
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.row-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.row-actions a,
.row-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  border: 1px solid rgba(207, 196, 197, 0.75);
  border-radius: 2px;
  padding: 0 10px;
  background: #fff;
  color: #000;
  cursor: pointer;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.row-actions a:hover,
.row-actions button:hover {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

.status.status-ok {
  background: rgba(34, 197, 94, 0.12);
  color: #15803d;
}

.status.status-off {
  background: rgba(239, 68, 68, 0.12);
  color: #b91c1c;
}

.status-select {
  width: 100%;
  max-width: 160px;
  margin-bottom: 8px;
  padding: 8px;
  font-size: 0.82rem;
}

[dir="rtl"] .flash-toast {
  padding-right: 0;
  padding-left: 42px;
}

[dir="rtl"] .flash-toast-close {
  right: auto;
  left: 10px;
}

[dir="rtl"] .hero,
[dir="rtl"] .catalog-bar,
[dir="rtl"] .product-footer,
[dir="rtl"] .product-card-actions,
[dir="rtl"] .site-footer,
[dir="rtl"] .benefits-section,
[dir="rtl"] .header-inner,
[dir="rtl"] .category-pills,
[dir="rtl"] .promo-banner-inner {
  direction: rtl;
}

[dir="rtl"] .stock-pill {
  left: auto;
  right: 14px;
}

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

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

@media (max-width: 900px) {
  .header-nav {
    display: none;
  }

  .header-menu-toggle {
    display: inline-flex;
  }
}

@media (max-width: 980px) {
  .hero {
    min-height: 460px;
    border-radius: 8px;
  }

  .admin-layout,
  .product-detail-page {
    grid-template-columns: 1fr;
  }

  .product-detail-gallery {
    grid-template-columns: 1fr;
  }

  .product-detail-gallery .detail-thumbnails {
    order: 2;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .product-detail-gallery .detail-main-image {
    order: 1;
  }

  .product-image-slots {
    grid-template-columns: 1fr;
  }

  .admin-sidebar,
  .product-detail-info {
    position: static;
    height: auto;
  }

  .product-grid,
  .related-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats-grid,
  .product-form,
  .benefits-section,
  .services-grid,
  .services-steps,
  .about-story,
  .about-values-grid,
  .site-footer,
  .detail-specs,
  .contact-page {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .services-steps,
  .about-values-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --header-h-mobile: calc(var(--header-trust-h) + var(--header-shell-pad) + 40px + 38px);
    --promo-h: 72px;
  }

  .header-inner {
    padding-inline: 12px;
  }

  .header-search input {
    font-size: 0.82rem;
  }

  .collection-section-home {
    margin-top: 8px;
    padding-top: 20px;
  }

  .order-dialog {
    width: calc(100vw - 16px);
    max-height: calc(100dvh - 16px);
    margin: auto;
  }

  .order-dialog form {
    max-height: calc(100dvh - 16px);
    padding: 18px 16px 24px;
  }

  .order-dialog form .dialog-header {
    position: sticky;
    top: 0;
    z-index: 2;
    padding-top: 2px;
    background: #fff;
  }

  .contact-page {
    padding-top: 24px;
    padding-bottom: 32px;
  }

  .contact-page-form {
    max-height: calc(100dvh - var(--header-h) - 48px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 20px 16px;
  }

  .catalog-toolbar {
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }

  .static-page {
    padding-top: 24px;
  }

  .about-story {
    grid-template-columns: 1fr;
  }

  .static-page-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .static-page-cta .primary-button,
  .static-page-cta .secondary-button {
    width: 100%;
    justify-content: center;
  }

  .promo-banner-inner {
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding-inline: 14px;
  }

  .promo-banner-cta {
    display: none;
  }

  .hero {
    width: calc(100% - 16px);
    min-height: 420px;
    margin-top: 10px;
    border-radius: 8px;
  }

  .hero-copy {
    gap: 12px;
    padding: 0 16px 42px;
  }

  .hero h1 {
    font-size: clamp(1.55rem, 7vw, 2.2rem);
  }

  .hero-cta {
    width: 100%;
    max-width: 320px;
  }

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

  .product-card {
    padding: 10px;
    border-radius: 18px;
  }

  .product-image {
    border-radius: 14px;
  }

  .product-content {
    padding-inline: 4px;
  }

  .product-content h3 {
    font-size: 0.92rem;
  }

  .product-card-actions {
    grid-template-columns: 1fr;
  }

  .product-btn {
    min-height: 44px;
    width: 100%;
  }

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

  .flash-toast {
    top: calc(var(--header-h) + 6px);
  }

  .sort-label {
    width: 100%;
  }

  .floating-whatsapp {
    right: 16px;
    bottom: max(16px, env(safe-area-inset-bottom));
    min-width: 52px;
    width: 52px;
    height: 52px;
    padding: 0;
    border-width: 2px;
    border-radius: 50%;
  }

  .floating-whatsapp svg {
    width: 28px;
    height: 28px;
  }

  .floating-whatsapp::after {
    content: none;
  }
}

/* ─── Temu-style storefront (couleurs Azlag) ─── */
body:not(.admin-page) {
  background: #f5f3f0;
}

body:not(.admin-page) .header-shell {
  background: linear-gradient(180deg, var(--brand-dark) 0%, var(--brand-darker) 100%);
  border-bottom: none;
  backdrop-filter: none;
}

body:not(.admin-page) .site-header {
  color: #fff;
}

.trust-bar {
  background: #111;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.72rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.trust-bar-viewport {
  overflow: hidden;
  max-width: 1280px;
  margin: 0 auto;
  min-height: var(--header-trust-h);
}

.trust-bar-track {
  display: flex;
  width: max-content;
}

.trust-bar-group {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 4px clamp(14px, 3vw, 28px);
  white-space: nowrap;
  flex-shrink: 0;
}

.trust-bar-group span::before {
  content: "✓ ";
  color: var(--brand-light);
}

@media (min-width: 769px) {
  .trust-bar-viewport {
    display: flex;
    justify-content: center;
  }

  .trust-bar-group[aria-hidden="true"] {
    display: none;
  }
}

@media (max-width: 768px) {
  .trust-bar-viewport {
    mask-image: linear-gradient(
      90deg,
      transparent 0,
      #000 8%,
      #000 92%,
      transparent 100%
    );
  }

  .trust-bar-track {
    animation: trust-marquee 24s linear infinite;
  }

  .trust-bar:hover .trust-bar-track,
  .trust-bar:focus-within .trust-bar-track {
    animation-play-state: paused;
  }

  [dir="rtl"] .trust-bar-track {
    animation-name: trust-marquee-rtl;
  }
}

@keyframes trust-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes trust-marquee-rtl {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .trust-bar-track {
    animation: none !important;
  }

  @media (max-width: 768px) {
    .trust-bar-viewport {
      overflow-x: auto;
      scrollbar-width: none;
      mask-image: none;
    }

    .trust-bar-viewport::-webkit-scrollbar {
      display: none;
    }

    .trust-bar-group[aria-hidden="true"] {
      display: none;
    }
  }
}

body:not(.admin-page) .header-search {
  background: #fff;
  border-color: transparent;
  min-height: 40px;
  border-radius: 999px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

body:not(.admin-page) .header-search input {
  color: var(--ink);
}

body:not(.admin-page) .header-search button {
  background: var(--brand);
}

body:not(.admin-page) .header-action-text {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

body:not(.admin-page) .header-action-text:hover,
body:not(.admin-page) .lang-dropdown.is-open .header-action-text {
  border-color: var(--brand-light);
  color: #fff;
}

.header-action-text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(207, 196, 197, 0.8);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.header-cart-toggle {
  position: relative;
}

.header-cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--brand-light);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1;
}

body:not(.admin-page) .header-inner {
  padding: 6px clamp(12px, 3vw, 24px) 4px;
}

body:not(.admin-page) .header-row-main {
  gap: 10px 16px;
}

.header-subnav {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 1 auto;
  margin: 0;
  min-width: 0;
  padding: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.header-subnav::-webkit-scrollbar {
  display: none;
}

.header-subnav a,
.header-cat-toggle {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color 160ms ease, border-color 160ms ease;
}

.header-subnav a:hover,
.header-cat-toggle:hover {
  color: #fff;
  border-bottom-color: var(--brand-light);
}

.header-cat-dropdown {
  position: relative;
}

.header-cat-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.header-cat-menu {
  position: absolute;
  top: calc(100% + 10px);
  inset-inline-start: 0;
  z-index: 90;
  display: grid;
  gap: 2px;
  min-width: 180px;
  padding: 8px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(17, 17, 17, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.header-cat-dropdown.is-open .header-cat-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.header-cat-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--ink);
  font-size: 0.86rem;
}

.header-cat-menu a:hover {
  background: var(--brand-soft);
  color: var(--brand-dark);
}

body:not(.admin-page) .brand img {
  width: clamp(108px, 14vw, 148px);
  filter: brightness(0) invert(1);
}

body:not(.admin-page) .lang-dropdown-toggle {
  min-height: 34px;
  padding: 0 10px;
  font-size: 0.68rem;
}

body:not(.admin-page) .collection-section-home {
  margin-top: 0;
  padding-top: 20px;
}

.product-grid-temu {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.product-card-temu {
  padding: 8px;
  border-radius: 10px;
  border-color: rgba(207, 196, 197, 0.35);
  box-shadow: none;
}

.product-card-temu:hover {
  transform: none;
  border-color: var(--brand-glow);
  box-shadow: 0 4px 16px rgba(17, 17, 17, 0.08);
}

.product-card-temu .product-image {
  border-radius: 8px;
}

.product-card-temu .product-content {
  padding: 10px 4px 4px;
  gap: 6px;
}

.product-card-temu h3 {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-temu .product-meta {
  margin-bottom: 2px;
  font-size: 0.62rem;
}

.product-title-row {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  min-height: 2.2em;
}

.product-title-row h3 {
  flex: 1;
  min-width: 0;
}

.product-savings-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
  margin-top: 1px;
  padding: 2px 6px 2px 4px;
  border-radius: 4px;
  background: linear-gradient(135deg, #f05a28 0%, #e04e1f 100%);
  color: #fff;
  font-size: 0.58rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.product-savings-badge svg {
  flex-shrink: 0;
}

.product-price-row,
.detail-price-row,
.related-product-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
}

.product-card-temu .product-price,
.detail-price {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 800;
}

.product-card-temu .product-price-row.has-discount .product-price {
  color: #e85d04;
  font-size: 1.05rem;
}

.product-old-price,
.detail-old-price,
.admin-old-price {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
  text-decoration: line-through;
}

.admin-old-price {
  display: block;
  font-size: 0.72rem;
}

.product-cart-fab {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(17, 17, 17, 0.12);
  transition: transform 160ms ease, background 160ms ease;
}

.product-cart-fab:hover {
  background: var(--brand);
  color: #fff;
  transform: scale(1.05);
}

body:not(.admin-page) .category-pill {
  border-radius: 8px;
  border-color: rgba(17, 17, 17, 0.12);
  background: #fff;
  font-weight: 600;
}

body:not(.admin-page) .category-pill.is-active,
body:not(.admin-page) .category-pill:hover {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

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

.detail-cart-button {
  min-height: 48px;
}

body.cart-open {
  overflow: hidden;
}

.cart-drawer[hidden] {
  display: none;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 120;
}

.cart-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.45);
}

.cart-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  width: min(420px, 100vw);
  height: 100%;
  background: #fff;
  box-shadow: -12px 0 40px rgba(17, 17, 17, 0.12);
}

[dir="rtl"] .cart-drawer-panel {
  right: auto;
  left: 0;
  box-shadow: 12px 0 40px rgba(17, 17, 17, 0.12);
}

.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.cart-drawer-header h2 {
  margin: 0;
  font-size: 1.1rem;
}

.cart-drawer-close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--soft);
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
}

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
}

.cart-drawer-empty {
  margin: 0;
  color: var(--muted);
  text-align: center;
  padding: 40px 0;
}

.cart-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.cart-item-image img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
}

.cart-item-name {
  font-weight: 700;
  font-size: 0.9rem;
}

.cart-item-price {
  margin: 4px 0 0;
  color: var(--brand-dark);
  font-weight: 800;
}

.cart-item-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.cart-qty {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 8px;
}

.cart-qty button {
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 50%;
  background: var(--soft);
  cursor: pointer;
}

.cart-item-order,
.cart-item-remove {
  border: 0;
  background: transparent;
  color: var(--brand-dark);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.cart-drawer-footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 20px 24px;
  border-top: 1px solid var(--line);
}

.cart-drawer-total {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
}

.cart-drawer-checkout {
  width: 100%;
  min-height: 46px;
}

.order-cart-summary {
  margin: 0 0 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--soft);
}

.order-cart-summary h3 {
  margin: 0 0 8px;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.order-cart-summary ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.order-cart-summary li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(207, 196, 197, 0.35);
  font-size: 0.88rem;
}

.order-cart-summary li:last-child {
  border-bottom: 0;
}

.order-cart-summary-total {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(207, 196, 197, 0.45);
  font-size: 0.95rem;
  font-weight: 800;
}

.cart-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  z-index: 130;
  transform: translateX(-50%) translateY(12px);
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--brand-dark);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease, transform 200ms ease;
}

.cart-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

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

@media (max-width: 1100px) {
  .header-subnav {
    gap: 10px;
  }

  .header-subnav a {
    font-size: 0.7rem;
  }

  .header-row-main {
    grid-template-columns: minmax(0, 1fr) minmax(180px, 380px) auto;
    gap: 8px 12px;
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: var(--header-h-mobile);
  }

  .header-row-main {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "start end"
      "search search";
    gap: 8px 10px;
    min-height: auto;
    padding-bottom: 4px;
  }

  .header-start {
    grid-area: start;
    gap: 8px 10px;
    min-width: 0;
  }

  .header-subnav {
    display: none;
  }

  .header-menu-toggle {
    display: inline-flex;
  }

  body:not(.admin-page) .header-menu-toggle {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.1);
  }

  body:not(.admin-page) .header-menu-toggle span {
    background: #fff;
  }

  .header-row-main .header-search {
    grid-area: search;
    justify-self: stretch;
    width: 100%;
    max-width: none;
  }

  .header-row-main .header-end {
    grid-area: end;
  }

  body:not(.admin-page) .brand img {
    width: clamp(92px, 26vw, 124px);
  }

  body:not(.admin-page) .header-search {
    min-height: 38px;
  }

  body:not(.admin-page) .header-search button {
    padding: 0 12px;
    font-size: 0.64rem;
  }

  .header-action-text {
    min-height: 34px;
    padding: 0 10px;
    font-size: 0.65rem;
  }

  body:not(.admin-page) .header-mobile-panel {
    background: linear-gradient(180deg, var(--brand-darker) 0%, #111 100%);
    border-top-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
  }

  body:not(.admin-page) .header-mobile-panel a {
    color: rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.06);
  }

  body:not(.admin-page) .header-mobile-panel a:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
  }

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

@media (max-width: 640px) {
  .product-grid-temu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .product-card-temu {
    padding: 6px;
  }

  .trust-bar-group {
    gap: 20px;
    font-size: 0.65rem;
  }

  body:not(.admin-page) .header-search {
    min-height: 34px;
    padding-inline: 10px 4px;
  }

  body:not(.admin-page) .header-search input {
    font-size: 0.8rem;
    padding: 6px 4px;
  }

  :root {
    --header-h-mobile: calc(var(--header-trust-h) + var(--header-shell-pad) + 42px + 44px);
  }
}
