/* storefront/static/style.css - Editorial Atelier Lookbook for Misykath
   Inspired by Brunello Cucinelli's Quiet Luxury & Architectural Solomeo Aesthetics.
   Tokens strictly follow Design Bible & Brunello editorial standards.
   Zero literal hex allowed outside the :root block. */

:root {
  --paper: #fbfaf8;
  --surface: #ffffff;
  --ink: #1c1a17;
  --btn-dark: #1a202c;
  --btn-dark-hover: #11141a;
  --rule: #e8e2d8;
  --sand: #f4efe9;
  --sand-deep: #eae3d8;
  --muted: #756d64;
  --shopee: #ee4d2d;
  --shopee-dark: #d73211;
  --gold: #b39768;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-ui: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --measure: 1680px;
  --ease-editorial: cubic-bezier(0.16, 1, 0.3, 1);
  --frosted-bg: rgba(255, 255, 255, 0.7);
  --overlay-bg: rgba(0, 0, 0, 0.45);
}

/* Base Reset & Box Model */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-radius: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  background-color: var(--paper);
}

body {
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--font-ui);
  font-weight: 400;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  width: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Container Invariant */
.unified-dashboard-container {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

/* Micro-caps Typography */
.micro-caps {
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
}

.sentence-case {
  text-transform: none;
}

/* Headings & Display Serif */
h1, h2, h3, h4, .display-font {
  font-family: var(--font-display);
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--ink);
  overflow-wrap: break-word;
}

h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  font-weight: 300;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
}

h3 {
  font-size: 1.45rem;
  font-weight: 400;
}

/* Prices & Tabular Numbers */
.price, .tabular-nums {
  font-family: var(--font-ui);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Navigation Header */
/* Navigation Header (Brunello Stark White 3-Anchor Boutique) */
.site-header {
  border-bottom: 1px solid var(--rule);
  background-color: var(--surface);
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  transition: background-color 0.3s ease;
}

.boutique-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  width: 100%;
}

.header-anchor-left {
  display: flex;
  align-items: center;
  flex: 1;
}

.header-anchor-center {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 2;
}

.header-anchor-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  flex: 1;
}

.boutique-brand-link {
  text-decoration: none;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 44px;
}

.brand-crest {
  color: var(--ink);
  flex-shrink: 0;
}

.brand-title {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--ink);
}

.btn-icon.header-action-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0.5rem;
  transition: opacity 0.2s ease;
  position: relative;
  text-decoration: none;
}

.btn-icon.header-action-btn:hover {
  opacity: 0.7;
}

.bag-btn .bag-count {
  position: absolute;
  top: 8px;
  right: 6px;
  font-size: 9px;
  line-height: 1;
  font-weight: 600;
  color: var(--muted);
}

/* Slide-Over Navigation Drawer */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background-color: var(--overlay-bg);
  z-index: 999;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.drawer-overlay.active {
  visibility: visible;
  opacity: 1;
}

.nav-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  width: 380px;
  max-width: 85vw;
  background-color: var(--surface);
  z-index: 1000;
  box-shadow: 4px 0 24px var(--overlay-bg);
  transform: translateX(-100%);
  transition: transform 0.35s var(--ease-editorial);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.drawer-overlay.active .nav-drawer {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  justify-content: flex-end;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--rule);
}

.drawer-close-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 2.5px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
  color: var(--ink);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.drawer-body {
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.drawer-section-label {
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.nav-categories {
  display: flex;
  flex-direction: column;
  list-style: none;
  gap: 0.25rem;
}

.nav-link {
  text-decoration: none;
  color: var(--ink);
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 500;
  min-height: 44px;
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--sand);
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.nav-link:hover {
  color: var(--ink);
  padding-left: 0.35rem;
}

.drawer-divider {
  height: 1px;
  background-color: var(--rule);
  margin: 0.5rem 0;
}

.drawer-aux-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.drawer-link {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  min-height: 44px;
  display: flex;
  align-items: center;
  transition: color 0.2s ease;
}

.drawer-link:hover {
  color: var(--ink);
}

/* Quick Search Modal */
.search-modal-overlay {
  position: fixed;
  inset: 0;
  background-color: var(--overlay-bg);
  z-index: 999;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 12vh;
}

.search-modal-overlay.active {
  visibility: visible;
  opacity: 1;
}

.search-modal {
  background-color: var(--surface);
  width: 640px;
  max-width: 92vw;
  border: 1px solid var(--rule);
  padding: 1.75rem 2rem;
  box-shadow: 0 16px 48px var(--overlay-bg);
}

.search-modal-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 0.5rem;
}

.search-input {
  flex: 1;
  border: none;
  outline: none;
  font-family: var(--font-ui);
  font-size: 1.05rem;
  color: var(--ink);
  background: transparent;
  min-height: 44px;
}

.search-modal-close {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 600;
  color: var(--muted);
  min-height: 44px;
  padding: 0 0.5rem;
}

.search-modal-results {
  padding-top: 1.5rem;
  max-height: 45vh;
  overflow-y: auto;
}

.search-hint {
  color: var(--muted);
  text-align: center;
  padding: 1.5rem 0;
}

/* ==========================================================================
   BRUNELLO EDITORIAL HERO SPREAD
   ========================================================================== */

.hero-spread-section {
  padding: 4.5rem 0 5rem 0;
  border-bottom: 1px solid var(--rule);
  background-color: var(--sand);
}

.hero-spread-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-spread-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-editorial-eyebrow {
  margin-bottom: 1.5rem;
  color: var(--gold);
  letter-spacing: 3.5px;
}

.hero-editorial-title {
  font-size: clamp(2.75rem, 5vw, 4.5rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 1.75rem;
  color: var(--ink);
}

.hero-editorial-title em {
  font-style: italic;
  font-weight: 300;
}

.hero-editorial-lead {
  font-size: 1.15rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 580px;
  font-weight: 400;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.btn-editorial-explore {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background-color: var(--ink);
  color: var(--paper);
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0 2rem;
  min-height: 48px;
  font-weight: 500;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

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

.hero-editorial-visual {
  position: relative;
}

.hero-visual-frame {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background-color: var(--surface);
  border: 1px solid var(--rule);
  position: relative;
  box-shadow: 0 12px 36px rgba(28, 26, 23, 0.05);
}

.hero-visual-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s var(--ease-editorial);
}

.hero-visual-frame:hover img {
  transform: scale(1.03);
}

.hero-visual-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(to top, rgba(28, 26, 23, 0.75) 0%, transparent 100%);
  color: var(--surface);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.hero-visual-caption .caption-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--surface);
}

.hero-visual-caption .caption-tag {
  font-size: 9px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--sand);
}

/* ==========================================================================
   PHILOSOPHY INTERMEZZO BANNER (SOLOMEO ETHOS)
   ========================================================================== */

.philosophy-banner {
  padding: 4.5rem 0;
  background-color: var(--paper);
  border-bottom: 1px solid var(--rule);
  text-align: center;
}

.philosophy-inner {
  max-width: 900px;
  margin: 0 auto;
}

.philosophy-quote {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.2vw, 2.35rem);
  font-weight: 300;
  line-height: 1.45;
  color: var(--ink);
  font-style: italic;
  margin-bottom: 1.5rem;
}

.philosophy-author {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

/* ==========================================================================
   CATALOGUE SECTION & BRUNELLO 3-COLUMN BOUTIQUE GRID
   ========================================================================== */

.catalog-section {
  padding: 4rem 0 6rem 0;
}

.boutique-plp-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 2rem;
}

.plp-header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.grid-mode-group {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.view-mode-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  padding: 0.5rem;
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.view-mode-btn.active, .view-mode-btn:hover {
  color: var(--ink);
}

.btn-filter-trigger {
  background: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 500;
  color: var(--ink);
  min-height: 44px;
  padding: 0 0.5rem;
  text-transform: uppercase;
}

.btn-filter-trigger:hover {
  opacity: 0.7;
}

/* Slide-Over Filter Drawer */
.filter-drawer-overlay {
  position: fixed;
  inset: 0;
  background-color: var(--overlay-bg);
  z-index: 999;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.filter-drawer-overlay.active {
  visibility: visible;
  opacity: 1;
}

.filter-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  width: 420px;
  max-width: 88vw;
  background-color: var(--surface);
  z-index: 1000;
  box-shadow: -4px 0 24px var(--overlay-bg);
  transform: translateX(100%);
  transition: transform 0.35s var(--ease-editorial);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.filter-drawer-overlay.active .filter-drawer {
  transform: translateX(0);
}

.filter-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--rule);
}

.filter-drawer-title {
  color: var(--ink);
  font-weight: 600;
}

.filter-close-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink);
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.filter-drawer-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  flex: 1;
}

.filter-group-title {
  margin-bottom: 0.75rem;
  color: var(--muted);
}

.filter-options-row {
  display: flex;
  gap: 0.75rem;
}

.filter-view-option {
  background-color: var(--paper);
  border: 1px solid var(--rule);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 12px;
  padding: 0.65rem 1.25rem;
  min-height: 44px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-view-option.active {
  background-color: var(--ink);
  color: var(--surface);
  border-color: var(--ink);
}

.filter-drawer-footer {
  padding: 1.5rem 2rem;
  border-top: 1px solid var(--rule);
  display: flex;
  gap: 1rem;
  position: sticky;
  bottom: 0;
  background-color: var(--surface);
}

.btn-reset-filters {
  flex: 1;
  background: none;
  border: 1px solid var(--rule);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 500;
  min-height: 44px;
  cursor: pointer;
}

.btn-apply-filters {
  flex: 2;
  background-color: var(--btn-dark);
  border: none;
  color: var(--surface);
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 600;
  min-height: 44px;
  cursor: pointer;
}

/* Category Quick Filter Bar */
.category-filter-bar {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding-bottom: 2.5rem;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 1.25rem;
  background-color: var(--paper);
  border: 1px solid var(--rule);
  color: var(--ink);
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: all 0.25s var(--ease-editorial);
  cursor: pointer;
  font-weight: 500;
}

.filter-pill:hover, .filter-pill.active {
  background-color: var(--ink);
  color: var(--surface);
  border-color: var(--ink);
}

/* Product Grid (Brunello 3-Column Mode Default) */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem 1.5rem;
  margin-bottom: 4rem;
}

.product-grid.grid-2-mode {
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem 2.5rem;
}

@media (max-width: 768px) {
  .product-grid, .product-grid.grid-2-mode {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1rem;
  }
}

@media (max-width: 480px) {
  .product-grid, .product-grid.grid-2-mode {
    grid-template-columns: 1fr;
    gap: 2.5rem 0;
  }
}

/* Borderless Luxury Product Tile */
.product-card-wrap {
  width: 100%;
}

.product-tile {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: transparent;
  border: none;
  box-shadow: none;
  position: relative;
}

.product-tile-image-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  background-color: var(--sand);
  overflow: hidden;
  border: none;
}

.product-tile-img-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.product-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-editorial);
}

.product-tile:hover .product-card-img {
  transform: scale(1.025);
}

/* Floating Frosted Glass Wishlist Heart Button */
.tile-wishlist-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  background-color: var(--frosted-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  z-index: 2;
  transition: all 0.2s ease;
  padding: 0;
}

.tile-wishlist-btn:hover {
  background-color: var(--surface);
  transform: scale(1.08);
}

.tile-wishlist-btn.active svg {
  fill: var(--ink);
  stroke: var(--ink);
}

/* Subtle Bottom-Left Slider Dash Indicator */
.tile-slider-indicator {
  position: absolute;
  bottom: 12px;
  left: 14px;
  width: 18px;
  height: 2px;
  background-color: var(--ink);
  opacity: 0.6;
  z-index: 2;
}

.product-tile-info {
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.product-tile-title-link {
  text-decoration: none;
  color: var(--ink);
  min-height: 44px;
  display: flex;
  align-items: center;
}

.product-tile-title {
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0.5px;
  color: var(--ink);
  transition: opacity 0.2s ease;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.product-tile-title-link:hover .product-tile-title {
  opacity: 0.7;
}

.product-tile-price {
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.8px;
  color: var(--ink);
  margin-top: 0.15rem;
}

.product-tile-colorway {
  margin-top: 0.2rem;
  font-size: 10px;
  letter-spacing: 2.5px;
  color: var(--muted);
  font-weight: 500;
}

.plp-pagination-row {
  display: flex;
  justify-content: center;
  padding-top: 2rem;
}

/* ==========================================================================
   CRAFTSMANSHIP PILLARS (ATELIER CODE)
   ========================================================================== */

.craft-pillars-section {
  padding: 4.5rem 0;
  background-color: var(--sand);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.craft-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.craft-pillar-card {
  display: flex;
  flex-direction: column;
}

.craft-pillar-num {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--gold);
  margin-bottom: 0.75rem;
  font-weight: 300;
}

.craft-pillar-title {
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
  color: var(--ink);
}

.craft-pillar-desc {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ==========================================================================
   PRODUCT DETAIL PAGE (PDP) - EDITORIAL SPLIT
   ========================================================================== */

.breadcrumb-nav {
  padding: 1.5rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.breadcrumb-nav a {
  color: var(--muted);
  text-decoration: none;
  min-height: 44px;
  padding: 0 0.35rem;
  display: inline-flex;
  align-items: center;
}

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

.breadcrumb-nav span[aria-current="page"] {
  word-break: break-word;
  color: var(--ink);
}

/* ==========================================================================
   BRUNELLO PDP LUXURY BOUTIQUE ANATOMY (2-COLUMN SPLIT)
   ========================================================================== */

.boutique-pdp-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 4.5rem;
  padding-bottom: 5rem;
  align-items: flex-start;
}

/* Gallery Column (Portrait 3:4 with 6 Vertical Dots) */
.pdp-gallery-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.pdp-main-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  background-color: var(--sand);
  overflow: hidden;
  border: none;
}

.pdp-main-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s ease;
}

/* 6 Vertical Slider Dots on Right Edge */
.pdp-vertical-dots {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 10;
}

.pdp-dot {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  border: none;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  position: relative;
}

.pdp-dot::after {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--ink);
  opacity: 0.35;
  transition: all 0.25s ease;
}

.pdp-dot.active::after, .pdp-dot:hover::after {
  opacity: 1;
  transform: scale(1.4);
}

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

/* Thumbnail Strip */
.gallery-thumbnails {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.thumb-frame {
  width: 80px;
  aspect-ratio: 3 / 4;
  background-color: var(--sand);
  border: 1px solid var(--sand-deep);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s ease;
}

.thumb-frame:hover, .thumb-frame.active {
  border-color: var(--ink);
  opacity: 0.9;
}

.thumb-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Product Purchase Rail */
.pdp-info-rail {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: sticky;
  top: 90px;
}

.pdp-title {
  font-family: var(--font-ui);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.35;
  color: var(--ink);
  letter-spacing: 0.4px;
}

.pdp-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--rule);
}

.pdp-price {
  font-family: var(--font-ui);
  font-size: 1.25rem;
  font-weight: 300;
  letter-spacing: 0.8px;
  color: var(--ink);
}

.pdp-action-icons {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.pdp-icon-btn {
  width: 36px;
  height: 36px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  background: none;
  border: 1px solid var(--rule);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink);
  transition: all 0.2s ease;
}

.pdp-icon-btn:hover, .pdp-icon-btn.active {
  background-color: var(--sand);
  border-color: var(--ink);
}

.pdp-icon-btn.active svg {
  fill: var(--ink);
  stroke: var(--ink);
}

/* Solid Black BUY CTA Button (Brunello #1a202c Parity) */
.pdp-buy-block {
  width: 100%;
}

.btn-pdp-buy {
  width: 100%;
  min-height: 52px;
  background-color: var(--btn-dark);
  color: var(--surface);
  border: none;
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 2.5px;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-pdp-buy:hover {
  background-color: var(--btn-dark-hover);
}

.pdp-colorway-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--sand);
}

/* Minimalist Luxury Accordions */
.pdp-accordions {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin-top: 0.5rem;
}

.pdp-accordion-item {
  border-bottom: 1px solid var(--sand);
}

.pdp-accordion-item:last-child {
  border-bottom: none;
}

.pdp-accordion-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 48px;
  background: none;
  border: none;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 400;
  color: var(--ink);
  cursor: pointer;
  padding: 0.75rem 0;
  text-align: left;
}

.pdp-chevron {
  transition: transform 0.3s ease;
  color: var(--muted);
}

.pdp-accordion-item.open .pdp-chevron {
  transform: rotate(90deg);
  color: var(--ink);
}

.pdp-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.pdp-accordion-item.open .pdp-accordion-content {
  max-height: 500px;
  padding-bottom: 1.25rem;
}

.pdp-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem 1.5rem;
  margin-bottom: 1rem;
}

.spec-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--muted);
  display: block;
}

.spec-val {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  display: block;
}

.pdp-description-text {
  white-space: pre-line;
  font-size: 13px;
  line-height: 1.7;
}

/* Dual Underlined Boutique Service Links */
.pdp-boutique-services {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  padding: 1.25rem 0;
}

.pdp-service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 500;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 4px;
  color: var(--ink);
  min-height: 44px;
  transition: opacity 0.2s ease;
}

.pdp-service-link:hover {
  opacity: 0.7;
}

/* Cross-Sell Recommendations Section */
.pdp-cross-sell-section {
  margin-top: 4.5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--rule);
}

.cross-sell-tabs-header {
  display: flex;
  gap: 2.5rem;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 2.5rem;
}

.cross-sell-tab-btn {
  background: none;
  border: none;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
  cursor: pointer;
  padding-bottom: 1rem;
  position: relative;
  min-height: 44px;
  transition: color 0.2s ease;
}

.cross-sell-tab-btn.active {
  color: var(--ink);
  font-weight: 500;
}

.cross-sell-tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--ink);
}

.cross-sell-panel {
  display: none;
}

.cross-sell-panel.active {
  display: block;
}

.cross-sell-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem 1.5rem;
}

.cross-sell-card {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.cross-sell-image-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  background-color: var(--sand);
  overflow: hidden;
  border: none;
}

.cross-sell-img-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.cross-sell-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.cross-sell-card:hover .cross-sell-image-frame img {
  transform: scale(1.025);
}

.cross-sell-info {
  padding-top: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.cross-sell-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.cross-sell-title-link {
  text-decoration: none;
  color: var(--ink);
  flex: 1;
  overflow: hidden;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.cross-sell-title {
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cross-sell-plus-btn {
  font-size: 18px;
  font-weight: 300;
  color: var(--ink);
  text-decoration: none;
  line-height: 1;
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.cross-sell-plus-btn:hover {
  transform: scale(1.2);
}

.cross-sell-price {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.8px;
  color: var(--ink);
}

/* Slide-Up Variant Selection Drawer */
.variant-drawer-overlay {
  position: fixed;
  inset: 0;
  background-color: var(--overlay-bg);
  z-index: 999;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.variant-drawer-overlay.active {
  visibility: visible;
  opacity: 1;
}

.variant-drawer {
  background-color: var(--surface);
  width: 600px;
  max-width: 100vw;
  border-top: 1px solid var(--rule);
  padding: 2rem;
  transform: translateY(100%);
  transition: transform 0.35s var(--ease-editorial);
  box-shadow: 0 -8px 32px var(--overlay-bg);
  max-height: 80vh;
  overflow-y: auto;
}

.variant-drawer-overlay.active .variant-drawer {
  transform: translateY(0);
}

.variant-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--rule);
}

.variant-drawer-product-title {
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.35rem;
}

.variant-drawer-product-price {
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 300;
  color: var(--ink);
}

.variant-drawer-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink);
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.variant-drawer-body {
  padding-top: 1.5rem;
}

.variant-select-label {
  margin-bottom: 1rem;
  color: var(--muted);
}

.variant-chips-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.variant-select-chip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  border: 1px solid var(--rule);
  color: var(--ink);
  text-decoration: none;
  font-size: 13px;
  min-height: 44px;
  background-color: var(--paper);
  transition: all 0.2s ease;
}

.variant-select-chip:hover {
  background-color: var(--ink);
  color: var(--surface);
  border-color: var(--ink);
}

.btn-shopee-checkout {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  background-color: var(--btn-dark);
  color: var(--surface);
  text-decoration: none;
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 600;
  text-transform: uppercase;
  transition: background-color 0.2s ease;
}

.btn-shopee-checkout:hover {
  background-color: var(--btn-dark-hover);
}

/* Sticky Bottom BUY Bar on Scroll */
.pdp-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--surface);
  border-top: 1px solid var(--rule);
  z-index: 90;
  transform: translateY(100%);
  transition: transform 0.3s var(--ease-editorial);
  box-shadow: 0 -4px 16px var(--overlay-bg);
}

.pdp-sticky-bar.visible {
  transform: translateY(0);
}

.pdp-sticky-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
}

.pdp-sticky-product-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  overflow: hidden;
}

.pdp-sticky-title {
  font-size: 14px;
  font-weight: 400;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pdp-sticky-price {
  font-size: 14px;
  font-weight: 300;
  color: var(--ink);
}

.btn-sticky-buy {
  background-color: var(--btn-dark);
  color: var(--surface);
  border: none;
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 600;
  min-height: 44px;
  padding: 0 2rem;
  cursor: pointer;
  text-transform: uppercase;
  transition: background-color 0.2s ease;
}

.btn-sticky-buy:hover {
  background-color: var(--btn-dark-hover);
}

@media (max-width: 900px) {
  .boutique-pdp-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .pdp-info-rail {
    position: static;
  }

  .cross-sell-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .cross-sell-grid {
    grid-template-columns: 1fr;
  }
}

/* 404 Page */
.error-page-container {
  padding: 7rem 0;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.error-code {
  font-size: 6rem;
  font-family: var(--font-display);
  font-weight: 300;
  color: var(--gold);
  margin-bottom: 1rem;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1.5rem;
  background-color: var(--ink);
  color: var(--paper);
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 2rem;
  transition: background-color 0.2s ease;
}

.btn-secondary:hover {
  background-color: var(--shopee-dark);
}

/* Colophon Footer */
.site-footer {
  border-top: 1px solid var(--rule);
  background-color: var(--paper);
  padding: 4rem 0 3rem 0;
  margin-top: auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--rule);
}

.footer-brand h4 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  color: var(--muted);
  font-size: 13px;
  max-width: 420px;
  line-height: 1.7;
}

.footer-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.footer-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s ease;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  font-size: 11px;
  color: var(--muted);
}

/* ==========================================================================
   RESPONSIVENESS & BREAKPOINTS (T-12)
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-spread-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem 1.5rem;
  }
  .product-detail-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .product-info-pane {
    position: static;
  }
}

@media (max-width: 768px) {
  .unified-dashboard-container {
    padding: 0 1.5rem;
  }
  .nav-row {
    flex-direction: column;
    height: auto;
    padding: 1.25rem 0;
    gap: 0.75rem;
  }
  .nav-categories {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  .nav-link {
    font-size: 11px;
    letter-spacing: 1.5px;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.25rem;
  }
  .craft-pillars-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-top {
    flex-direction: column;
    gap: 2rem;
  }
  .footer-links {
    flex-direction: column;
    gap: 0.5rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .unified-dashboard-container {
    padding: 0 1.25rem;
  }
  .hero-spread-section {
    padding: 3rem 0;
  }
  .hero-editorial-title {
    font-size: 2.5rem;
  }
  .product-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .category-filter-bar {
    gap: 0.5rem;
  }
  .filter-pill {
    font-size: 10px;
    padding: 0 1rem;
  }
  .mobile-sticky-dock {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--surface);
    border-top: 1px solid var(--rule);
    padding: 0.75rem 1.25rem;
    z-index: 999;
    box-shadow: 0 -4px 16px rgba(28, 26, 23, 0.08);
  }
  .mobile-sticky-info {
    display: flex;
    flex-direction: column;
  }
  .mobile-sticky-title {
    font-size: 11px;
    font-weight: 500;
    color: var(--ink);
    max-width: 160px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .mobile-sticky-price {
    font-size: 14px;
    color: var(--shopee-dark);
  }
  .btn-mobile-dock {
    background-color: var(--shopee);
    color: var(--surface);
    text-decoration: none;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 600;
    padding: 0 1.25rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}
