/* Stellar Boutique — black & gold luxury */

:root {
  --gold: #c9a227;
  --gold-light: #e8d5a3;
  --gold-deep: #9a7a1f;
  --primary: #c9a227;
  --primary-soft: #e0c35a;
  --primary-foreground: #0a0a0a;
  --background: #0a0a0a;
  --foreground: #f2ebe0;
  --card: #141414;
  --muted: #1b1b1b;
  --muted-foreground: #a39e94;
  --border: #2c2c2c;
  --destructive: #c45c5c;
  --frank: #0a0a0a;
  --ink: #050505;
  --radius: 2px;
  --container: 1280px;
  --font-display: "Playfair Display", Georgia, serif;
  --font-brand: "Bodoni Moda", "Didot", "Playfair Display", Georgia, serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --gold-gradient: linear-gradient(135deg, #8f7320 0%, #c9a227 35%, #f0e0a8 50%, #c9a227 65%, #8f7320 100%);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--background);
  color: var(--foreground);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  animation: page-enter 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

::selection {
  background: rgba(201, 162, 39, 0.35);
  color: #fff;
}

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

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

button,
select {
  font: inherit;
  cursor: pointer;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
  color: var(--primary);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 5, 5, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(201, 162, 39, 0.22);
  animation: header-enter 0.65s 0.05s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.3rem 0;
  min-height: 5.35rem;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 0 1 auto;
  min-width: 0;
  align-self: stretch;
}

.brand-link img {
  display: block;
  height: 4.65rem;
  max-height: 4.65rem;
  width: auto;
  max-width: min(190px, 52vw);
  object-fit: contain;
  object-position: left center;
  filter: brightness(1.22) contrast(1.18) saturate(1.12) drop-shadow(0 0 10px rgba(201, 162, 39, 0.28));
}

@media (min-width: 768px) {
  .header-inner {
    min-height: 6.35rem;
    padding: 0.35rem 0;
  }

  .brand-link img {
    height: 5.55rem;
    max-height: 5.55rem;
    max-width: min(240px, 38vw);
  }
}

@media (min-width: 1100px) {
  .header-inner {
    min-height: 7rem;
  }

  .brand-link img {
    height: 6.15rem;
    max-height: 6.15rem;
    max-width: 280px;
  }
}

.nav-desktop {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  min-width: 0;
}

.nav-desktop a {
  position: relative;
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--gold-light);
}

.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: var(--gold-gradient);
  transition: width 0.3s;
}

.nav-desktop a:hover::after,
.nav-desktop a.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex: 0 0 auto;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--gold);
}

.icon-btn:hover {
  background: rgba(201, 162, 39, 0.12);
  color: var(--gold-light);
}

.filter-btn {
  display: inline-flex;
}

@media (min-width: 768px) {
  .filter-btn {
    display: none;
  }
}

.menu-btn {
  display: none;
}

.nav-mobile {
  display: none;
  border-top: 1px solid rgba(201, 162, 39, 0.2);
  background: var(--ink);
}

.nav-mobile.open {
  display: block;
}

.nav-mobile a {
  display: block;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.nav-mobile a:hover,
.nav-mobile a.active {
  color: var(--gold-light);
}

.nav-mobile a:last-child {
  border-bottom: 0;
}

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

  .menu-btn {
    display: inline-flex;
  }

  .nav-mobile {
    max-height: calc(100vh - 4.75rem);
    overflow-y: auto;
  }

  .nav-mobile .container {
    display: grid;
    grid-template-columns: 1fr;
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
  }

  .nav-mobile a {
    width: 100%;
    min-height: 44px;
    padding: 0.8rem 0;
    line-height: 1.35;
  }

  .hero img {
    object-position: center 18%;
  }

  .page-hero > img {
    object-position: left top;
  }

  body[data-page="brand"] .page-hero > img {
    object-position: left 12%;
  }

  .product-media img,
  .detail-media img,
  .detail-thumb img {
    object-position: left center;
  }
}

@media (min-width: 768px) {
  .nav-mobile,
  .nav-mobile.open {
    display: none;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: 88vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  color: #fff;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  transform: none;
  transform-origin: center top;
  filter: saturate(1.04) contrast(1.02) brightness(1.08);
  animation: hero-image-enter 1.35s 0.08s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to right,
      rgba(8, 6, 4, 0.78) 0%,
      rgba(8, 6, 4, 0.52) 26%,
      rgba(8, 6, 4, 0.16) 48%,
      transparent 68%
    ),
    linear-gradient(
      to top,
      rgba(8, 6, 4, 0.28) 0%,
      transparent 42%
    );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 4rem clamp(1.5rem, 6vw, 5.5rem) 4.5rem;
  max-width: 38rem;
}

.hero-content > * {
  animation: content-rise 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-content > :nth-child(1) {
  animation-delay: 0.28s;
}

.hero-content > :nth-child(2) {
  animation-delay: 0.38s;
}

.hero-content > :nth-child(3) {
  animation-delay: 0.48s;
}

.hero-content > :nth-child(4) {
  animation-delay: 0.58s;
}

.hero-brand {
  margin: 0 0 0.85rem;
  font-family: var(--font-brand);
  font-weight: 400;
  font-size: clamp(2.4rem, 5.8vw, 4.15rem);
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--gold);
  line-height: 1.08;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55), 0 1px 3px rgba(0, 0, 0, 0.45);
}

.hero-tagline {
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.15rem, 2.4vw, 1.7rem);
  letter-spacing: -0.01em;
  text-transform: none;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55), 0 1px 3px rgba(0, 0, 0, 0.4);
}

.hero-content > p:not(.hero-tagline) {
  margin: 0 0 2rem;
  max-width: 28rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
}

.hero-highlights {
  background: #0c0b09;
  border-top: 1px solid rgba(201, 162, 39, 0.22);
  border-bottom: 1px solid rgba(201, 162, 39, 0.12);
}

.hero-highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hero-highlight {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 2.15rem 1.6rem;
  text-align: left;
}

.hero-highlight + .hero-highlight {
  border-left: 1px solid rgba(201, 162, 39, 0.28);
}

.hero-highlight-icon {
  display: inline-flex;
  color: var(--gold);
}

.hero-highlight h2 {
  margin: 0 0 0.4rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-highlight p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(242, 235, 224, 0.88);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 2.5rem;
  border: 1px solid transparent;
  background: var(--gold-gradient);
  background-size: 200% 200%;
  color: var(--primary-foreground);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: background-position 0.35s, color 0.2s, border-color 0.2s, box-shadow 0.25s, transform 0.2s;
}

.btn:hover {
  background-position: 100% 0;
  box-shadow: 0 8px 28px rgba(201, 162, 39, 0.28);
  transform: translateY(-1px);
}

.btn-light {
  background: var(--gold-gradient);
  background-size: 200% 200%;
  color: var(--primary-foreground);
  border-color: transparent;
}

.btn-light:hover {
  background-position: 100% 0;
  color: var(--primary-foreground);
}

.btn-outline {
  background: transparent;
  border-color: var(--gold);
  color: var(--gold-light);
}

.btn-outline:hover {
  background: rgba(201, 162, 39, 0.12);
  border-color: var(--gold-light);
  color: var(--gold-light);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Brand spotlight */
.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
  animation: content-rise 0.7s 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: 0.75rem;
  color: var(--gold-light);
}

.section-header p {
  margin: 0;
  color: var(--muted-foreground);
  letter-spacing: 0.08em;
}

.brand-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .brand-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.35rem;
  }
}

@media (min-width: 1024px) {
  .brand-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.brand-card {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--muted);
  color: #fff;
  animation: card-enter 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.brand-card:nth-child(1) {
  animation-delay: 0.48s;
}

.brand-card:nth-child(2) {
  animation-delay: 0.55s;
}

.brand-card:nth-child(3) {
  animation-delay: 0.62s;
}

.brand-card:nth-child(4) {
  animation-delay: 0.69s;
}

.brand-card:nth-child(5) {
  animation-delay: 0.76s;
}

.brand-card:nth-child(6) {
  animation-delay: 0.83s;
}

@media (min-width: 768px) {
  .brand-card {
    aspect-ratio: 5 / 3;
  }
}

.brand-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  opacity: 0.8;
  transition: transform 0.3s ease;
}

.brand-card:hover img {
  transform: scale(1.03);
}

.brand-card-overlay {
  position: absolute;
  inset: 0;
  transition: background 0.3s;
}

.brand-card.jr .brand-card-overlay,
.brand-card.fl .brand-card-overlay,
.brand-card.pg .brand-card-overlay,
.brand-card.th .brand-card-overlay,
.brand-card.cd .brand-card-overlay,
.brand-card.fdj .brand-card-overlay {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.78),
    rgba(0, 0, 0, 0.4),
    rgba(0, 0, 0, 0.28)
  );
}

.brand-card.jr:hover .brand-card-overlay,
.brand-card.fl:hover .brand-card-overlay,
.brand-card.pg:hover .brand-card-overlay,
.brand-card.th:hover .brand-card-overlay,
.brand-card.cd:hover .brand-card-overlay,
.brand-card.fdj:hover .brand-card-overlay {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.7),
    rgba(201, 162, 39, 0.18),
    rgba(0, 0, 0, 0.2)
  );
}

.brand-card-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  text-align: center;
}

.brand-card h3 {
  color: var(--gold-light);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: 0.75rem;
}

.brand-card span {
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(201, 162, 39, 0.55);
  padding-bottom: 0.2rem;
  color: var(--gold);
  transition: border-color 0.2s, color 0.2s;
}

.brand-card:hover span {
  border-color: var(--gold-light);
  color: var(--gold-light);
}

/* Collection layout */
.collection {
  padding-bottom: 2.5rem;
}

.collection-layout {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 768px) {
  .collection-layout {
    flex-direction: row;
    gap: 2.5rem;
  }
}

.filters-desktop {
  display: none;
  width: 16rem;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .filters-desktop {
    display: block;
  }
}

.filters-panel {
  position: sticky;
  top: 8.25rem;
  max-height: calc(100vh - 7rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--card);
  border: 1px solid rgba(201, 162, 39, 0.2);
  padding: 1.5rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(201, 162, 39, 0.55) rgba(255, 255, 255, 0.04);
}

.filters-panel::-webkit-scrollbar {
  width: 8px;
}

.filters-panel::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
}

.filters-panel::-webkit-scrollbar-thumb {
  background: rgba(201, 162, 39, 0.45);
  border-radius: 999px;
}

.filters-panel::-webkit-scrollbar-thumb:hover {
  background: rgba(201, 162, 39, 0.7);
}

.filters-panel .filters-title {
  position: sticky;
  top: -1.5rem;
  z-index: 2;
  margin: -1.5rem -1.5rem 1.5rem;
  padding: 1.25rem 1.5rem 1rem;
  background: var(--card);
  border-bottom: 1px solid rgba(201, 162, 39, 0.14);
}

.filters-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.filters-title h2 {
  font-size: 1.125rem;
}

.filter-count {
  background: var(--gold-gradient);
  color: var(--primary-foreground);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
}

.filter-group {
  border-bottom: 1px solid var(--border);
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.filter-group:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.filter-group-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
  border: 0;
  background: transparent;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: left;
  color: var(--gold-light);
}

.filter-group-toggle svg {
  transition: transform 0.2s;
}

.filter-group.open .filter-group-toggle svg {
  transform: rotate(180deg);
}

.filter-options {
  display: none;
  margin-top: 0.75rem;
}

.filter-group.open .filter-options {
  display: grid;
  gap: 0.5rem;
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  cursor: pointer;
}

.filter-option input {
  accent-color: var(--primary);
}

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

.collection-toolbar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
  scroll-margin-top: 8.25rem;
}

@media (min-width: 640px) {
  .collection-toolbar {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.collection-toolbar h2 {
  font-size: 1.75rem;
  margin-bottom: 0.35rem;
  color: var(--gold-light);
}

.collection-toolbar p,
.results-count {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted-foreground);
}

.sort-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sort-wrap label {
  font-size: 0.9rem;
  font-weight: 500;
}

.sort-wrap select {
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--foreground);
}

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 1.25rem;
  row-gap: 3rem;
}

@media (min-width: 1024px) {
  .product-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }

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

.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.page-btn {
  min-width: 40px;
  height: 40px;
  padding: 0 0.75rem;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--foreground);
  font-size: 0.9rem;
  font-weight: 600;
}

.page-btn:hover:not(:disabled) {
  border-color: var(--gold);
  color: var(--gold-light);
}

.page-btn.active {
  background: var(--gold-gradient);
  border-color: var(--gold);
  color: var(--primary-foreground);
}

.page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.page-ellipsis {
  padding: 0 0.25rem;
  color: var(--muted-foreground);
}

.product-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--muted);
  margin-bottom: 1rem;
  border: 1px solid transparent;
  transition: border-color 0.2s;
}

.product-card {
  animation: card-enter 0.58s var(--entry-delay, 0.05s)
    cubic-bezier(0.22, 1, 0.36, 1) both;
}

.product-card:hover .product-media {
  border-color: rgba(201, 162, 39, 0.35);
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-media img {
  transform: scale(1.03);
}

.detail-media {
  cursor: zoom-in;
}

.detail-media img {
  cursor: zoom-in;
}

body.lightbox-open {
  overflow: hidden;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.25rem;
  background: rgba(5, 5, 5, 0.88);
}

.image-lightbox[hidden] {
  display: none;
}

.image-lightbox img {
  max-width: min(96vw, 1100px);
  max-height: 92vh;
  width: auto;
  height: auto;
  object-fit: contain;
  cursor: default;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.image-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.search-panel {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(5, 5, 5, 0.72);
  padding: 5.5rem 1rem 2rem;
  overflow: auto;
}

.search-panel[hidden] {
  display: none;
}

.search-panel-inner {
  max-width: 72rem;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid rgba(201, 162, 39, 0.28);
  padding: 1.25rem;
}

.search-form {
  display: flex;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.search-form input {
  flex: 1;
  min-height: 46px;
  padding: 0 1rem;
  border: 1px solid rgba(201, 162, 39, 0.35);
  background: transparent;
  color: inherit;
  font: inherit;
}

.search-hint {
  margin: 0;
  color: var(--muted-foreground, #b9b1a6);
}

.product-card:hover .product-media img {
  transform: scale(1.03);
}

.badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--gold-gradient);
  color: var(--primary-foreground);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
}

.discount-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: var(--destructive);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
}

.product-brand {
  margin: 0 0 0.25rem;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.product-name {
  margin: 0 0 0.35rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--foreground);
  min-height: 2.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-code {
  margin: 0 0 0.45rem;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--muted-foreground);
}

.product-stock {
  margin: 0.35rem 0 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--gold-light);
}

.product-price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.product-price .sale {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
}

.product-price .original {
  font-size: 0.9rem;
  color: var(--muted-foreground);
  text-decoration: line-through;
}

.wishlist-btn {
  margin-top: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 0;
  background: transparent;
  padding: 0;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.wishlist-btn.active,
.wishlist-btn:hover {
  color: var(--primary);
}

.wishlist-btn.active {
  color: var(--destructive);
}

.empty-state {
  text-align: center;
  padding: 5rem 1rem;
}

.empty-state p {
  margin: 0 0 1rem;
  font-size: 1.1rem;
  color: var(--muted-foreground);
}

/* Mobile filter drawer */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 60;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}

.drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(300px, 90vw);
  background: var(--card);
  border-right: 1px solid rgba(201, 162, 39, 0.2);
  z-index: 70;
  transform: translateX(-100%);
  transition: transform 0.25s ease;
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.drawer.open {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  padding: 1.25rem 1.25rem 1rem;
  border-bottom: 1px solid rgba(201, 162, 39, 0.14);
  background: var(--card);
}

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

.drawer [data-filters-mobile] {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 1rem 1.25rem 1.5rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(201, 162, 39, 0.55) rgba(255, 255, 255, 0.04);
}

.drawer [data-filters-mobile]::-webkit-scrollbar {
  width: 8px;
}

.drawer [data-filters-mobile]::-webkit-scrollbar-thumb {
  background: rgba(201, 162, 39, 0.45);
  border-radius: 999px;
}

/* Brand page hero */
.page-hero {
  position: relative;
  min-height: 42vh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  color: #fff;
}

.page-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

body[data-page="brand"] .page-hero > img {
  object-position: center 16%;
  transform: translateY(12%);
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.75),
    rgba(0, 0, 0, 0.4)
  );
}

.page-hero-content {
  position: relative;
  z-index: 1;
  padding: 3rem 0;
  animation: content-rise 0.75s 0.18s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.page-hero-content .eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
}

.page-hero h1 {
  color: var(--gold-light);
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 0.75rem;
}

.page-hero p {
  margin: 0;
  max-width: 36rem;
  color: rgba(242, 235, 224, 0.85);
}

.brand-about {
  padding: 2.5rem 0 0;
}

.brand-about-card {
  border: 1px solid rgba(201, 162, 39, 0.22);
  background: linear-gradient(
    180deg,
    rgba(20, 20, 20, 0.95),
    rgba(12, 12, 12, 0.98)
  );
  padding: 1.6rem 1.7rem 1.75rem;
}

.brand-about-label {
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.page-hero .brand-country {
  margin: 0.35rem 0 1rem;
}

.page-hero .brand-founded {
  color: rgba(242, 235, 224, 0.7);
}

.brand-country {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0.85rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.brand-flag {
  display: block;
  width: 2.15rem;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid rgba(242, 235, 224, 0.2);
  box-shadow: 0 0 0 1px rgba(201, 162, 39, 0.18);
}

.brand-founded {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--muted-foreground);
}

.brand-origin-story {
  margin: 0;
  max-width: 48rem;
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(242, 235, 224, 0.86);
}

/* Product detail */
.breadcrumb {
  font-size: 0.9rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
}

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

.product-detail {
  display: grid;
  gap: 2.5rem;
  padding: 2rem 0 3rem;
}

@media (min-width: 1024px) {
  .product-detail {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 3rem 0;
  }
}

.detail-gallery {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.detail-media {
  position: relative;
  aspect-ratio: 3 / 4;
  background: var(--muted);
  overflow: hidden;
}

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

.detail-view-label {
  position: absolute;
  left: 0.85rem;
  bottom: 0.85rem;
  z-index: 2;
  padding: 0.35rem 0.7rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary-foreground);
  background: rgba(10, 10, 10, 0.72);
  border: 1px solid rgba(201, 162, 39, 0.45);
}

.detail-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(5.5rem, 1fr));
  gap: 0.65rem;
}

.detail-thumb {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--muted-foreground);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s, color 0.2s;
}

.detail-thumb img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}

.detail-thumb span {
  padding: 0 0.55rem 0.55rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.detail-thumb:hover,
.detail-thumb.active {
  border-color: var(--gold);
  color: var(--gold-light);
}

.detail-thumb:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.detail-brand {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.detail-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: 1rem;
  color: var(--gold-light);
}

.detail-price {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.detail-price .sale {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.detail-price .original {
  font-size: 1.1rem;
  color: var(--muted-foreground);
  text-decoration: line-through;
}

.detail-price .save {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--destructive);
}

.stock-note {
  margin: 0 0 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted-foreground);
}

.detail-desc {
  margin: 0 0 2rem;
  color: var(--foreground);
  font-size: 1.05rem;
  line-height: 1.75;
  opacity: 0.92;
}

.detail-features {
  margin: -0.35rem 0 2rem;
  padding: 1.25rem 1.35rem;
  border: 1px solid rgba(201, 162, 39, 0.22);
  background: linear-gradient(
    145deg,
    rgba(201, 162, 39, 0.08),
    rgba(20, 20, 20, 0.78)
  );
}

.detail-features h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.detail-features ul {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding-left: 1.15rem;
}

.detail-features li {
  color: rgba(242, 235, 224, 0.82);
  line-height: 1.5;
}

.detail-features li::marker {
  color: var(--gold);
}

.detail-features strong {
  color: var(--gold-light);
}

.size-label {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.colour-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0 0 1.5rem;
}

.colour-swatch {
  display: flex;
  flex-direction: column;
  width: 4.75rem;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--muted-foreground);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.colour-swatch img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 18%;
  display: block;
}

.colour-swatch span {
  padding: 0.35rem 0.3rem 0.45rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.2;
}

.colour-swatch:hover,
.colour-swatch.active {
  border-color: var(--gold);
  color: var(--gold-light);
}

.colour-swatch.active {
  box-shadow: inset 0 0 0 1px var(--gold);
}

.size-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.size-btn {
  min-width: 3rem;
  min-height: 2.75rem;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--foreground);
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.2;
}

.size-btn.active,
.size-btn:hover {
  border-color: var(--gold);
}

.size-btn.active {
  background: var(--gold-gradient);
  color: var(--primary-foreground);
}

.size-btn.sold-out,
.size-btn:disabled {
  opacity: 0.4;
  text-decoration: line-through;
  cursor: not-allowed;
}

.detail-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
  .detail-actions {
    flex-direction: row;
  }

  .detail-actions .btn {
    flex: 1;
  }
}

.detail-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
}

.detail-meta dt {
  color: var(--muted-foreground);
  margin-bottom: 0.25rem;
}

.detail-meta dd {
  margin: 0;
  font-weight: 500;
  text-transform: capitalize;
}

.related {
  padding: 3rem 0 1rem;
}

.related h2 {
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  margin-bottom: 2rem;
  color: var(--gold-light);
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: var(--foreground);
  margin-top: 5rem;
  border-top: 1px solid rgba(201, 162, 39, 0.22);
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding: 3.5rem 0 2.5rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

.site-footer h3 {
  color: var(--gold-light);
  margin-bottom: 1rem;
}

.footer-brand h3 {
  font-size: 1.25rem;
  font-family: var(--font-brand);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 1.1rem;
}

.footer-logo img {
  display: block;
  height: clamp(112px, 18vw, 168px);
  width: auto;
  max-width: min(280px, 78vw);
  object-fit: contain;
  filter: brightness(1.18) contrast(1.14) saturate(1.08);
}

.footer-col h3 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.site-footer p,
.site-footer li {
  font-size: 0.9rem;
  color: rgba(242, 235, 224, 0.68);
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.site-footer a:hover {
  color: var(--gold-light);
}

.footer-contact {
  display: grid;
  gap: 0.85rem;
}

.footer-contact-item {
  display: grid;
  gap: 0.2rem;
}

.footer-contact-label {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(201, 162, 39, 0.85);
}

.footer-contact a {
  color: rgba(242, 235, 224, 0.85);
  text-decoration: none;
  overflow-wrap: normal;
  word-break: keep-all;
}

.footer-contact a[data-contact-email],
a[data-contact-email] {
  overflow-wrap: normal;
  word-break: keep-all;
  white-space: nowrap;
}

.footer-contact a:hover {
  color: var(--gold-light);
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(242, 235, 224, 0.85);
  font-size: 0.92rem;
}

.social-link svg {
  width: 18px;
  height: 18px;
}

.social-link:hover {
  color: var(--gold-light);
}

.footer-bottom {
  border-top: 1px solid rgba(201, 162, 39, 0.18);
  padding: 2rem 0;
  text-align: center;
  font-size: 0.875rem;
  color: rgba(242, 235, 224, 0.45);
}

.footer-bottom-simple {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding-top: 2.5rem;
}

.footer-bottom-simple .footer-logo {
  margin-bottom: 0;
}

/* Customer care / info pages */
.info-page {
  padding: 3.5rem 0 4rem;
  max-width: 860px;
}

.info-page .eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.info-page h1 {
  margin: 0 0 1rem;
  font-family: var(--font-brand);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 500;
  color: var(--gold-light);
}

.info-lead {
  margin: 0 0 2.5rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

.info-card-grid {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
  .info-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .info-card-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.info-card,
.info-block {
  border: 1px solid rgba(201, 162, 39, 0.22);
  background: linear-gradient(
    180deg,
    rgba(20, 20, 20, 0.95),
    rgba(12, 12, 12, 0.98)
  );
  padding: 1.35rem 1.4rem;
}

.info-card h2,
.info-block h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.info-card p,
.info-block p,
.info-block li {
  margin: 0 0 0.65rem;
  color: rgba(242, 235, 224, 0.78);
  line-height: 1.55;
}

.info-block ul,
.info-block ol {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.45rem;
}

.info-block + .info-block {
  margin-top: 1.25rem;
}

.info-card .sale,
.info-card strong {
  color: var(--gold-light);
}

.info-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(201, 162, 39, 0.18);
}

.info-links a {
  color: var(--gold);
  text-decoration: none;
  font-size: 0.9rem;
}

.info-links a:hover {
  color: var(--gold-light);
}

.size-table-wrap {
  overflow-x: auto;
  margin-bottom: 2rem;
  border: 1px solid rgba(201, 162, 39, 0.22);
}

.size-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 420px;
}

.size-table th,
.size-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(201, 162, 39, 0.14);
}

.size-table th {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(201, 162, 39, 0.08);
}

.size-table td {
  color: rgba(242, 235, 224, 0.85);
}

.size-table tr:last-child td {
  border-bottom: 0;
}

/* Product card add to cart */
.card-actions {
  margin-top: 0.75rem;
}

.btn-add-card {
  width: 100%;
  min-height: 40px;
  padding: 0 0.75rem;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-sizing: border-box;
}

.cart-link {
  position: relative;
}

.cart-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--gold-gradient);
  color: var(--primary-foreground);
  font-size: 10px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cart-toast {
  position: fixed;
  left: 50%;
  bottom: 5.5rem;
  transform: translateX(-50%) translateY(12px);
  background: var(--gold-gradient);
  color: var(--primary-foreground);
  padding: 0.75rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  white-space: nowrap;
  max-width: calc(100vw - 2rem);
  overflow: hidden;
  text-overflow: ellipsis;
}

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

/* Cart & checkout */
.cart-layout,
.checkout-layout {
  display: grid;
  gap: 2rem;
  padding: 2.5rem 0 1rem;
}

@media (min-width: 900px) {
  .cart-layout {
    grid-template-columns: 1.6fr 1fr;
    align-items: start;
  }

  .checkout-layout {
    grid-template-columns: 1.5fr 1fr;
    align-items: start;
  }
}

.cart-items h1,
.checkout-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: 0.35rem;
}

.cart-row {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) auto;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.cart-thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  background: var(--muted);
  overflow: hidden;
  border: 1px solid var(--border);
}

.cart-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
}

.cart-info h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--foreground);
  margin: 0.15rem 0 0.35rem;
}

.cart-meta,
.cart-line-price {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted-foreground);
}

.qty-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0.75rem 0 0.5rem;
}

.qty-controls button,
.qty-controls input {
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--foreground);
  height: 34px;
}

.qty-controls button {
  width: 34px;
}

.qty-controls input {
  width: 52px;
  text-align: center;
}

.link-btn {
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--muted-foreground);
  font-size: 0.8rem;
  text-decoration: underline;
}

.cart-row-total {
  font-weight: 700;
  color: var(--primary);
}

.cart-summary,
.checkout-card,
.checkout-summary {
  background: var(--card);
  border: 1px solid rgba(201, 162, 39, 0.22);
  padding: 1.5rem;
}

.cart-summary h2,
.checkout-card h2,
.checkout-summary h2 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  font-size: 0.95rem;
}

.summary-line.muted {
  color: var(--muted-foreground);
}

.summary-line.total {
  border-top: 1px solid var(--border);
  margin-top: 0.5rem;
  padding-top: 1rem;
  font-size: 1.05rem;
}

.form-grid {
  display: grid;
  gap: 0.9rem;
}

@media (min-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.form-grid label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
}

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

.form-grid input,
.form-grid textarea,
.form-grid select {
  border: 1px solid var(--border);
  padding: 0.7rem 0.8rem;
  font: inherit;
  font-weight: 400;
  background: var(--muted);
  color: var(--foreground);
}

.form-grid input:focus,
.form-grid textarea:focus,
.form-grid select:focus {
  outline: 1px solid var(--gold);
  border-color: var(--gold);
}

.currency-estimate {
  display: block;
  margin-top: 0.15rem;
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 500;
}

.currency-notice {
  margin: 1rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.form-error {
  margin: 0.75rem 0 0;
  color: var(--destructive);
  font-size: 0.9rem;
}

.shipping-options {
  display: grid;
  gap: 0.75rem;
}

.shipping-option {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem;
  align-items: center;
  border: 1px solid var(--border);
  padding: 0.9rem;
  cursor: pointer;
  background: var(--muted);
  transition: border-color 0.2s;
}

.shipping-option:hover,
.shipping-option.is-selected {
  border-color: var(--gold);
}

.shipping-option strong {
  display: block;
}

.shipping-option small {
  color: var(--muted-foreground);
}

.shipping-option em {
  font-style: normal;
  font-weight: 700;
  color: var(--primary);
}

.bank-box {
  display: grid;
  gap: 0.65rem;
  background: var(--muted);
  padding: 1rem;
}

.bank-box div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
}

.bank-box span {
  color: var(--muted-foreground);
}

.checkout-note,
.checkout-hint {
  color: var(--muted-foreground);
  font-size: 0.9rem;
  line-height: 1.6;
}

.checkout-hint code {
  font-size: 0.8rem;
}

.turnstile-wrap {
  display: flex;
  justify-content: center;
  margin: 0 0 1.1rem;
}

.checkout-submit {
  grid-column: 1 / -1;
}

.checkout-submit .btn {
  width: 100%;
}

.checkout-items {
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.summary-item {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.9rem;
  padding: 0.35rem 0;
}

.summary-item em {
  color: var(--muted-foreground);
  font-style: normal;
}

.order-confirm {
  max-width: 40rem;
  margin: 2.5rem auto;
  text-align: center;
}

.order-confirm .eyebrow {
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.order-confirm .bank-box {
  text-align: left;
  margin-top: 1.5rem;
}

.confirm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.cart-empty .btn {
  margin-top: 1rem;
}

/* Cookie consent + WhatsApp floating icon */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  padding: 1.1rem 1.25rem 1.25rem;
  background: var(--card);
  border-top: 1px solid var(--gold);
  color: var(--foreground);
}

.cookie-banner-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}

.cookie-banner p {
  margin: 0;
  flex: 1 1 16rem;
  font-size: 0.92rem;
  color: var(--muted-foreground);
  line-height: 1.45;
}

.cookie-banner a {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.cookie-banner .btn {
  min-height: 42px;
  padding: 0 1.4rem;
  font-size: 0.72rem;
}

body.cookie-banner-open .whatsapp-float {
  bottom: 7.5rem;
}

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45);
  color: #fff;
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.whatsapp-float span {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@keyframes page-enter {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes header-enter {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-image-enter {
  from {
    opacity: 0;
    transform: scale(1.04);
    filter: saturate(0.88) contrast(0.96) brightness(1);
  }
  to {
    opacity: 1;
    transform: scale(1);
    filter: saturate(1.04) contrast(1.02) brightness(1.08);
  }
}

@keyframes hero-image-enter-mobile {
  from {
    opacity: 0;
    transform: scale(1.06);
    filter: saturate(0.88) contrast(0.96) brightness(1);
  }
  to {
    opacity: 1;
    transform: scale(1);
    filter: saturate(1.04) contrast(1.02) brightness(1.08);
  }
}

@keyframes content-rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes card-enter {
  from {
    opacity: 0;
    transform: translateY(26px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Responsive safeguards */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}

p,
li,
dd,
a,
button,
label,
small {
  overflow-wrap: anywhere;
}

@media (max-width: 1023px) {
  .header-inner {
    min-height: 5.5rem;
    padding: 0.3rem 0;
  }

  .hero {
    min-height: min(82vh, 720px);
    min-height: min(82svh, 720px);
    align-items: flex-end;
    justify-content: center;
    text-align: center;
  }

  .hero img {
    object-position: center 18%;
  }

  .hero-overlay {
    background: linear-gradient(
      to top,
      rgba(8, 6, 4, 0.9) 0%,
      rgba(8, 6, 4, 0.62) 28%,
      rgba(8, 6, 4, 0.18) 52%,
      transparent 74%
    );
  }

  .hero-content {
    width: 100%;
    max-width: none;
    padding: 2.25rem clamp(1.15rem, 5vw, 2rem) 3.25rem;
  }

  .hero-brand {
    font-size: clamp(2.05rem, 8vw, 2.85rem);
  }

  .hero-tagline {
    font-size: clamp(1.12rem, 4.4vw, 1.45rem);
  }

  .hero-content > p:not(.hero-tagline) {
    margin: 0 auto 1.75rem;
    max-width: 28rem;
  }

  .hero-highlights-grid {
    grid-template-columns: 1fr;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }

  .hero-highlight {
    flex-direction: row;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.35rem 0;
  }

  .hero-highlight + .hero-highlight {
    border-left: 0;
    border-top: 1px solid rgba(201, 162, 39, 0.18);
  }

  .hero-highlight-icon {
    flex-shrink: 0;
    margin-top: 0.15rem;
  }

  .brand-link {
    max-width: calc(100% - 6.25rem);
  }

  .brand-link img {
    width: auto;
    height: 4.8rem;
    max-width: 100%;
    max-height: 4.8rem;
  }

  .nav-desktop {
    display: none;
  }

  .menu-btn {
    display: inline-flex;
  }

  .nav-mobile {
    max-height: calc(100dvh - 6.5rem);
    overflow-y: auto;
  }

  .nav-mobile.open {
    display: block;
  }

  .nav-mobile .container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 1.5rem;
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
  }

  .nav-mobile a {
    width: 100%;
    min-height: 44px;
    padding: 0.8rem 0;
    line-height: 1.35;
  }

  .hero {
    min-height: min(88vh, 760px);
    min-height: min(88svh, 760px);
  }

  .section {
    padding: clamp(3rem, 7vw, 4.25rem) 0;
  }

  .filters-desktop {
    width: 14rem;
  }

  .footer-grid {
    gap: 2rem;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .nav-mobile,
  .nav-mobile.open {
    display: none;
  }

  .nav-mobile.open {
    display: block;
  }

  .product-detail {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2rem;
    padding: 2.5rem 0;
  }

  .cart-layout,
  .checkout-layout {
    grid-template-columns: minmax(0, 1.45fr) minmax(17rem, 1fr);
    align-items: start;
    gap: 1.5rem;
  }

  .cart-summary,
  .checkout-card,
  .checkout-summary {
    padding: 1.25rem;
  }
}

@media (max-width: 639px) {
  body {
    font-size: clamp(0.94rem, 3.9vw, 1rem);
  }

  .container {
    padding-right: clamp(0.875rem, 4vw, 1.25rem);
    padding-left: clamp(0.875rem, 4vw, 1.25rem);
  }

  .header-inner {
    min-height: 4.85rem;
    gap: 0.35rem;
  }

  .brand-link {
    max-width: calc(100% - 5.5rem);
  }

  .brand-link img {
    height: 4.15rem;
    max-height: 4.15rem;
    max-width: min(148px, 58vw);
  }

  .header-actions {
    gap: 0;
  }

  .icon-btn {
    width: 42px;
    height: 42px;
  }

  .nav-mobile .container {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: min(78vh, 660px);
    min-height: min(78svh, 660px);
  }

  .hero img {
    transform: none;
    object-position: center 16%;
    animation-name: hero-image-enter-mobile;
  }

  .hero-content {
    width: 100%;
    padding: 2rem clamp(1rem, 5vw, 1.5rem) 3.25rem;
  }

  .hero-brand {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .hero-tagline {
    font-size: clamp(1.1rem, 5.5vw, 1.4rem);
  }

  .hero-content > p:not(.hero-tagline) {
    margin-bottom: 1.75rem;
    font-size: clamp(0.95rem, 4.2vw, 1.05rem);
  }

  .btn {
    max-width: 100%;
    min-height: 46px;
    padding: 0 1.4rem;
    font-size: 0.74rem;
    letter-spacing: 0.12em;
    white-space: normal;
    text-align: center;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .brand-grid {
    gap: 0.85rem;
  }

  .brand-card-content {
    padding: 0.85rem;
  }

  .brand-card h3 {
    font-size: clamp(1.25rem, 7vw, 1.75rem);
  }

  .brand-card span {
    font-size: 0.64rem;
    letter-spacing: 0.18em;
  }

  .collection-layout {
    gap: 1.5rem;
  }

  .collection-toolbar {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
  }

  .collection-toolbar h2 {
    font-size: clamp(1.45rem, 7vw, 1.75rem);
  }

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

  .sort-wrap select {
    min-width: 0;
    max-width: 70%;
  }

  .product-grid {
    column-gap: clamp(0.65rem, 3vw, 1rem);
    row-gap: 2rem;
  }

  .product-media {
    margin-bottom: 0.7rem;
  }

  .badge,
  .discount-badge {
    top: 0.45rem;
    padding: 0.2rem 0.4rem;
    font-size: 0.58rem;
  }

  .badge {
    left: 0.45rem;
  }

  .discount-badge {
    right: 0.45rem;
  }

  .product-brand {
    font-size: 0.65rem;
    letter-spacing: 0.1em;
  }

  .product-name {
    font-size: clamp(0.8rem, 3.8vw, 0.9rem);
  }

  .product-price {
    flex-wrap: wrap;
    gap: 0.2rem 0.4rem;
  }

  .product-price .sale {
    font-size: 0.92rem;
  }

  .product-price .original {
    font-size: 0.78rem;
  }

  .btn-add-card {
    min-height: 42px;
    padding: 0 0.45rem;
    font-size: 0.7rem;
  }

  .page-hero {
    min-height: 34vh;
    min-height: 34svh;
  }

  body[data-page="brand"] .page-hero > img {
    object-position: left 12%;
    transform: translateY(14%);
  }

  .page-hero-content {
    padding: 2rem 0;
  }

  .page-hero h1 {
    font-size: clamp(1.8rem, 9vw, 2.35rem);
  }

  .detail-title {
    font-size: clamp(1.55rem, 8vw, 1.9rem);
  }

  .detail-price {
    flex-wrap: wrap;
  }

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

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 1.25rem;
    padding: 2.75rem 0 2rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-col#contact {
    grid-column: 1 / -1;
  }

  .footer-logo img {
    height: clamp(104px, 28vw, 148px);
    max-width: min(240px, 72vw);
  }

  .site-footer p,
  .site-footer li {
    font-size: 0.84rem;
  }

  .info-page {
    padding-top: 2.5rem;
  }

  .info-page h1 {
    font-size: clamp(1.85rem, 9vw, 2.3rem);
  }

  .info-lead {
    margin-bottom: 2rem;
    font-size: 1rem;
  }

  .info-card,
  .info-block,
  .cart-summary,
  .checkout-card,
  .checkout-summary {
    padding: 1.1rem;
  }

  .info-links {
    gap: 0.8rem 1rem;
  }

  .size-table {
    min-width: 360px;
  }

  .size-table th,
  .size-table td {
    padding: 0.7rem 0.75rem;
    font-size: 0.82rem;
  }

  .cart-row {
    grid-template-columns: 72px minmax(0, 1fr) auto;
    gap: 0.7rem;
  }

  .cart-info {
    min-width: 0;
  }

  .cart-info h3 {
    font-size: 0.92rem;
  }

  .cart-row-total {
    font-size: 0.85rem;
    text-align: right;
  }

  .qty-controls input {
    width: 44px;
  }

  .shipping-option {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.55rem;
    padding: 0.75rem;
  }

  .bank-box div,
  .summary-line,
  .summary-item {
    min-width: 0;
  }

  .bank-box strong,
  .summary-line strong,
  .summary-item strong {
    text-align: right;
  }

  .cart-toast {
    width: max-content;
    max-width: calc(100vw - 1.5rem);
    white-space: normal;
    text-align: center;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    width: 52px;
    height: 52px;
  }
}

@media (min-width: 420px) and (max-width: 639px) {
  .brand-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .brand-card {
    aspect-ratio: 4 / 5;
  }
}

@media (max-width: 374px) {
  .product-grid {
    column-gap: 0.55rem;
  }

  .product-code,
  .wishlist-btn {
    font-size: 0.68rem;
  }

  .cart-row {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .cart-row-total {
    grid-column: 2;
    text-align: left;
  }
}
