:root {
  --bg: #f7f5f2;           /* Ivory */
  --bg-alt: #e6ded5;       /* Warm Beige */
  --accent: #c8a95f;       /* Muted Gold */
  --accent-soft: #e8dab0;
  --accent-dark: #a6863f;
  --text-main: #1c1c1c;    /* Charcoal */
  --text-muted: #5a5248;
  --border: #d7cec4;
  --shadow-soft: 0 16px 44px rgba(0, 0, 0, 0.05);
  --radius-lg: 18px;
  --radius-xl: 26px;
  --transition-fast: 0.18s ease-out;
}

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

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

    body.lang-ar {
      font-family: "Cairo", system-ui, -apple-system, BlinkMacSystemFont,
        "Segoe UI", sans-serif;
    }

    [dir="rtl"] .nav {
      flex-direction: row-reverse;
    }

    [dir="rtl"] .nav-actions {
      flex-direction: row-reverse;
    }

    [dir="rtl"] .section-header,
    [dir="rtl"] .hero-title,
    [dir="rtl"] .hero-subtitle,
    [dir="rtl"] .boutique-cta-header,
    [dir="rtl"] .boutique-step,
    [dir="rtl"] .checkout-col {
      text-align: right;
    }

    [dir="rtl"] .product-meta-row,
    [dir="rtl"] .product-subline {
      flex-direction: row-reverse;
    }

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

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

    a:focus-visible,
    button:focus-visible,
    input:focus-visible,
    select:focus-visible,
    textarea:focus-visible {
      outline: 2px solid var(--accent);
      outline-offset: 2px;
    }

    button {
      font-family: inherit;
    }

    .page {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
    }

    .max-w {
      max-width: 1180px;
      margin: 0 auto;
      padding: 0 1.6rem;
    }

    /* Top bar */

.topbar {
  font-size: 0.82rem;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(8px);
  background: #ffffff;
}

    .topbar-inner {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0.45rem 0;
      gap: 1rem;
    }

    .topbar-left,
    .topbar-right {
      display: flex;
      align-items: center;
      gap: 1rem;
      flex-wrap: wrap;
    }

.pill {
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

    .pill strong {
      font-weight: 600;
    }

    .top-link {
      cursor: pointer;
      opacity: 0.8;
      transition: color var(--transition-fast), opacity var(--transition-fast);
    }

    .top-link:hover {
      opacity: 1;
      color: var(--text-main);
    }

    /* Header / nav */

.storefront .topbar {
  display: none;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.025);
}

.header-dark {
  background: #1c1c1c;
  border: none;
  box-shadow: none;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.85rem 0;
}

.nav-dark {
  color: #f7f5f2;
  padding: 0.8rem 0;
  position: relative;
}


    .brand {
      display: flex;
      align-items: center;
      gap: 0.55rem;
    }

.brand-logo {
  font-family: "Cairo", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  color: var(--accent);
  background: #f6ede3;
  padding: 0.16rem 0.82rem 0.18rem;
  border-radius: 999px;
  line-height: 1.1;
  box-shadow: none;
}

.nav-dark-brand .brand-logo {
  color: #243739;
}

    .brand-tagline {
      font-size: 0.78rem;
      color: var(--text-muted);
      margin-top: 0.05rem;
      letter-spacing: 0.02em;
    }


.nav-links {
  display: flex;
  gap: 1.2rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.nav-links a {
  position: relative;
  padding: 0.25rem 0;
  transition: color var(--transition-fast);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 999px;
  transition: width var(--transition-fast);
}

.nav-links a:hover {
  color: var(--text-main);
}

.nav-links a:hover::after {
  width: 22px;
}

.nav-dark-links {
  display: flex;
  gap: 1.1rem;
  font-size: 0.95rem;
  color: #f7f5f2;
}

.nav-dark-links a {
  color: inherit;
  letter-spacing: 0.01em;
  font-weight: 600;
  position: relative;
  padding: 0.15rem 0;
}

.nav-dark-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 0;
  height: 2px;
  background: rgba(200, 169, 95, 0.9);
  transition: width var(--transition-fast);
}

.nav-dark-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.nav-dark-left,
.nav-dark-right {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex: 1;
}

.nav-dark-left {
  min-width: 320px;
}

.nav-dark-right {
  justify-content: flex-end;
}

.nav-dark {
  justify-content: space-between;
}

.nav-lang {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.nav-lang .lang-label {
  letter-spacing: 0.02em;
}

.nav-lang .lang-sep {
  opacity: 0.7;
}

.currency-select {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255, 255, 255, 0.85);
}

.currency-select select {
  appearance: none;
  background: transparent;
  border: none;
  color: inherit;
  font: inherit;
  padding-right: 0.9rem;
  cursor: pointer;
}

.currency-select select:focus {
  outline: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 6px;
}

.currency-select::after {
  content: "▾";
  font-size: 0.7rem;
  opacity: 0.8;
  margin-left: -0.7rem;
}

.currency-flag {
  font-size: 0.95rem;
}

.nav-dark-icons {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.icon-line {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #f7f5f2;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.icon-line:hover {
  border-color: rgba(200, 169, 95, 0.6);
  transform: translateY(-1px);
}

    .icon-btn {
      width: 36px;
      height: 36px;
      border-radius: 999px;
      border: 1px solid rgba(0, 0, 0, 0.07);
      background: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.9rem;
      cursor: pointer;
      transition: background var(--transition-fast),
        box-shadow var(--transition-fast),
        transform var(--transition-fast);
    }

    .icon-btn:hover {
      background: #fffaf5;
      box-shadow: var(--shadow-soft);
      transform: translateY(-1px);
    }

.primary-btn,
.outline-btn {
  padding: 0.55rem 1.15rem;
  border-radius: 14px;
  font-size: 0.88rem;
      font-weight: 600;
      cursor: pointer;
      border: none;
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      transition: background var(--transition-fast),
        box-shadow var(--transition-fast), transform var(--transition-fast),
        color var(--transition-fast);
      white-space: nowrap;
      letter-spacing: 0.01em;
    }

.primary-btn {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 26px rgba(200, 169, 95, 0.2);
}

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

.outline-btn {
  background: #fff;
  color: var(--accent-dark);
  border: 1px solid var(--accent-soft);
  box-shadow: none;
}

.outline-btn:hover {
  background: var(--accent-soft);
}

.ghost-link {
  background: transparent;
  border: none;
  color: #5d5750;
  font-weight: 600;
  cursor: pointer;
  padding: 0.4rem 0.2rem;
  font-size: 0.88rem;
  transition: color var(--transition-fast), opacity var(--transition-fast);
}

.ghost-link:hover {
  color: var(--accent-dark);
  opacity: 0.8;
}

    .mobile-nav-toggle {
      display: none;
    }

.mobile-drawer {
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem 1rem;
  border-top: 1px solid rgba(0,0,0,0.04);
  background: rgba(255, 255, 255, 0.96);
}

    .mobile-drawer.mobile-drawer--open {
      display: flex;
    }

    .mobile-search {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      background: #f6f2ec;
      border-radius: 12px;
      padding: 0.45rem 0.6rem;
    }

    .mobile-search input {
      border: none;
      background: transparent;
      flex: 1;
      outline: none;
    }

    .mobile-nav-links {
      display: flex;
      gap: 0.75rem;
      flex-wrap: wrap;
      font-size: 0.9rem;
      color: var(--text-muted);
    }

    /* Hero */

.hero {
      padding: 0;
    }

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

    .hero-eyebrow {
      font-size: 0.7rem;
      text-transform: uppercase;
      letter-spacing: 0.14em;
      color: #9b8b7b;
      margin-bottom: 0.55rem;
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
      font-weight: 600;
    }

    .hero-eyebrow span {
      width: 6px;
      height: 6px;
      border-radius: 999px;
      background: var(--accent-dark);
    }

.hero-title {
      font-family: "Playfair Display", "Cairo", system-ui, sans-serif;
      font-size: clamp(2.3rem, 3.2vw, 3rem);
      font-weight: 600;
      letter-spacing: 0.02em;
      margin-bottom: 0.45rem;
    }

    .hero-title span.highlight {
      background: linear-gradient(120deg, #b48a60, #e4c7a3);
      -webkit-background-clip: text;
      color: transparent;
    }

.hero-subtitle {
      font-size: 0.96rem;
      color: var(--text-muted);
      max-width: 30rem;
      margin-bottom: 1rem;
    }

    .hero-badges {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      margin-bottom: 1.4rem;
    }

.hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
      padding: 0.28rem 0.68rem;
      border-radius: 12px;
      background: var(--bg-alt);
      border: 1px solid var(--border);
      font-size: 0.78rem;
      color: var(--text-muted);
      box-shadow: 0 8px 18px rgba(0,0,0,0.04);
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 0.9rem;
      align-items: center;
      margin-bottom: 1.4rem;
    }

    .hero-note {
      font-size: 0.82rem;
      color: var(--text-muted);
    }

    .hero-note strong {
      color: var(--accent-dark);
    }

    .hero-visual {
      display: none;
    }

.hero-full {
  position: relative;
}

.featured-strip {
  background: #1c1c1c;
  color: #f7f5f2;
  padding: 0.8rem 0 1rem;
}

.featured-inner {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

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

.featured-headline h2 {
  font-family: "Playfair Display", "Cairo", system-ui, sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
}

.featured-label {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.1);
  padding: 0.2rem 0.5rem;
  border-radius: 10px;
}

.featured-note {
  font-size: 0.78rem;
  color: rgba(247,245,242,0.65);
}

.featured-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.6rem;
}

.featured-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 160px;
  box-shadow: 0 14px 32px rgba(0,0,0,0.24);
}

.featured-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-count {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0,0,0,0.55);
  color: #f7f5f2;
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
}

.featured-overlay {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  position: absolute;
  inset: 0;
  padding: 0.8rem;
  justify-content: flex-end;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.55) 100%);
}

.featured-name {
  font-weight: 600;
  font-size: 0.98rem;
}

.featured-desc {
  font-size: 0.85rem;
  color: rgba(247,245,242,0.82);
}

.text-cta {
  background: transparent;
  border: none;
  color: #f7f5f2;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  padding: 0;
  align-self: flex-start;
}

.hero-text {
  padding: 2rem 0 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hero-text .hero-title {
  font-size: clamp(2.4rem, 3.2vw, 3.1rem);
}

.hero-search {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.5rem 0.7rem;
  width: 100%;
}

.hero-search input {
  flex: 1;
  border: none;
  background: transparent;
  color: var(--text-main);
  outline: none;
  font-size: 0.98rem;
}

.hero-search input::placeholder {
  color: var(--text-muted);
}

.hero-trust {
  font-size: 0.92rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

    .hero-gallery {
      display: none;
    }

.trust-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.6rem;
  padding-bottom: 0.4rem;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.75rem;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.04);
  color: var(--text-muted);
  font-size: 0.84rem;
  box-shadow: 0 6px 16px rgba(0,0,0,0.04);
}

    /* Search + filters */

.search-section {
      margin-top: 1.8rem;
      padding-bottom: 1.6rem;
    }

.search-card {
      background: rgba(255, 255, 255, 0.9);
      border-radius: var(--radius-xl);
      border: 1px solid rgba(0, 0, 0, 0.03);
      box-shadow: 0 8px 18px rgba(0,0,0,0.03);
      padding: 0.9rem 1rem 0.9rem;
    }

    .search-top {
      display: none;
    }

    .search-icon {
      font-size: 1rem;
      opacity: 0.7;
    }

    .search-input-wrapper input {
      border: none;
      background: transparent;
      outline: none;
      font-size: 0.9rem;
      width: 100%;
    }

    .search-input-wrapper input::placeholder {
      color: #a9a09a;
    }

.search-top-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  gap: 0.5rem;
  flex-wrap: wrap;
}

    .search-top-meta strong {
      color: var(--accent-dark);
    }

.filters-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.refine-inline {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.4rem;
  font-size: 0.85rem;
}

.text-link {
  background: transparent;
  border: none;
  color: var(--accent-dark);
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0;
}

.search-meta-line {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.2rem;
}

.filter-tag {
  background: #f6efe7;
  border: 1px solid #e7dfd6;
  color: #5a4b3b;
  font-size: 0.72rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  cursor: pointer;
}

.filter-group {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: #fff;
  border-radius: 12px;
  padding: 0.32rem 0.6rem;
  border: 1px solid #e7dfd6;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.filter-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.quick-filters .filter-group {
  background: transparent;
  border-color: var(--border);
}

.filter-toggle.inline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-main);
}

.refine-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(380px, 90vw);
  background: #fffaf3;
  border-left: 1px solid var(--border);
  padding: 1rem;
  box-shadow: -12px 0 30px rgba(0,0,0,0.12);
  z-index: 50;
}

.refine-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.25);
  z-index: 40;
}

.refine-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.8rem;
}

.refine-header h3 {
  font-size: 1rem;
  margin: 0;
}

.refine-grid {
  display: grid;
  gap: 0.8rem;
}

.refine-actions {
  display: flex;
  gap: 0.6rem;
  margin-top: 1rem;
}

.filter-chip-row.compact {
  gap: 0.35rem;
}

    .filter-group label {
      font-weight: 500;
      color: var(--text-main);
    }

    .filter-group select,
    .filter-group input {
      border: none;
      background: transparent;
      outline: none;
      font-size: 0.78rem;
      color: inherit;
      min-width: 60px;
    }

    .filter-group input[type="number"] {
      width: 60px;
    }

    .filter-group input::placeholder {
      color: #b6aca5;
    }

    .filter-chip-row {
      display: flex;
      flex-wrap: wrap;
      gap: 0.4rem;
      margin-top: 0.6rem;
    }

    .filter-chip {
      font-size: 0.8rem;
      padding: 0.25rem 0.75rem;
      border-radius: 999px;
      border: 1px solid #e7dfd6;
      background: #fff;
      cursor: pointer;
      color: var(--text-muted);
      transition: background var(--transition-fast), color var(--transition-fast),
        border-color var(--transition-fast), transform var(--transition-fast);
    }

    .filter-chip.filter-chip--active {
      background: var(--accent);
      color: #fff;
      border-color: var(--accent);
      transform: translateY(-1px);
    }

    .filter-toggle-group {
      display: flex;
      gap: 0.4rem;
      flex-wrap: wrap;
      font-size: 0.78rem;
    }

    .filter-toggle {
      display: inline-flex;
      align-items: center;
      gap: 0.25rem;
      padding: 0.2rem 0.6rem;
      border-radius: 999px;
      background: #faf4ed;
      border: 1px solid rgba(0, 0, 0, 0.03);
      cursor: pointer;
    }

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

    /* Product grid */

.products-section {
  padding-bottom: 3.8rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin: 2.1rem 0 1.1rem;
}

.section-header h2 {
  font-family: "Playfair Display", "Cairo", system-ui, sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.section-header span {
  font-size: 0.8rem;
  color: var(--text-muted);
    }

    .product-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 1rem;
    }

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

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

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

    .pagination-controls {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      margin-top: 1rem;
    }

    .pagination-controls .page-label {
      padding: 0.4rem 0.8rem;
      border-radius: 12px;
      background: rgba(0, 0, 0, 0.04);
      font-weight: 600;
    }

    .product-skeleton {
      background: rgba(255,255,255,0.9);
      border-radius: var(--radius-lg);
      border: 1px solid rgba(0,0,0,0.04);
      padding: 0.75rem;
      display: grid;
      gap: 0.5rem;
      box-shadow: 0 10px 26px rgba(0,0,0,0.03);
      min-height: 300px;
      position: relative;
      overflow: hidden;
    }

    .skeleton-bar {
      height: 10px;
      border-radius: 999px;
      background: linear-gradient(90deg, #f2e7dc, #f8f1e8, #f2e7dc);
      background-size: 200% 100%;
      animation: shimmer 1.4s ease-in-out infinite;
    }

    .skeleton-thumb {
      height: 220px;
      border-radius: 14px;
      background: linear-gradient(90deg, #f2e7dc, #f8f1e8, #f2e7dc);
      background-size: 200% 100%;
      animation: shimmer 1.4s ease-in-out infinite;
    }

    @keyframes shimmer {
      0% {
        background-position: 200% 0;
      }
      100% {
        background-position: -200% 0;
      }
    }

.product-card {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast),
    border-color var(--transition-fast);
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.08);
}

    .product-media-wrapper {
      position: relative;
      padding: 0.75rem;
      padding-bottom: 0.3rem;
    }

    .product-media {
      position: relative;
      border-radius: 16px;
      overflow: hidden;
      background: #111;
      aspect-ratio: 3 / 4;
      display: flex;
      align-items: center;
      justify-content: center;
    }

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

    .product-tag {
      position: absolute;
      left: 10px;
      top: 10px;
      padding: 0.15rem 0.55rem;
      border-radius: 999px;
      font-size: 0.7rem;
      background: rgba(0, 0, 0, 0.6);
      color: #fff;
      backdrop-filter: blur(10px);
    }

    
    .product-fav {
      position: absolute;
      right: 10px;
      top: 10px;
      width: 30px;
      height: 30px;
      border-radius: 999px;
      border: none;
      background: rgba(255, 255, 255, 0.85);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.9rem;
      pointer-events: none; /* indicator only */
      cursor: default;
      transition: background var(--transition-fast), transform var(--transition-fast), color var(--transition-fast);
    }

    .product-fav[data-active="true"] {
      color: #e75b5b;
    }
    

    .product-fav[data-active="true"] {
      color: #e75b5b;
    }

.product-body {
      padding: 0.4rem 0.8rem 0.85rem;
      display: flex;
      flex-direction: column;
      gap: 0.2rem;
    }

    .product-title {
      font-size: 0.9rem;
      font-weight: 600;
    }

.product-subline {
      display: flex;
      justify-content: space-between;
      align-items: baseline;
      gap: 0.4rem;
      font-size: 0.82rem;
      color: var(--text-muted);
    }

.product-price {
      font-weight: 700;
      color: var(--text-main);
    }

.product-meta-row {
      display: none;
    }

    .product-delivery {
      font-size: 0.72rem;
      color: var(--text-muted);
      margin-top: 0.2rem;
      display: flex;
      align-items: center;
      gap: 0.35rem;
    }

.product-pill-row {
      display: none;
    }

    .product-pill {
      padding: 0.15rem 0.5rem;
      border-radius: 999px;
      background: #f4eee6;
      color: var(--text-muted);
    }

.product-cta {
      display: none;
    }

    .product-cta button {
      flex: 1;
      padding: 0.3rem 0.5rem;
      border-radius: 999px;
      border: none;
      cursor: pointer;
    }

    .btn-soft {
      background: #f7efe5;
      color: var(--accent-dark);
    }

    .btn-soft:hover {
      background: #f0e3d5;
    }

    .btn-ghost {
      background: transparent;
      color: var(--text-muted);
    }

    .btn-ghost:hover {
      background: #f7f3ee;
    }

    .empty-state {
      padding: 1.2rem 0.9rem 1rem;
      background: rgba(255, 255, 255, 0.95);
      border-radius: var(--radius-lg);
      border: 1px dashed rgba(0, 0, 0, 0.12);
      font-size: 0.85rem;
      color: var(--text-muted);
    }

    .product-row {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: 0.75rem;
    }

    .product-row .product-card {
      height: 100%;
    }

    /* Footer */

    .footer {
      margin-top: auto;
      border-top: 1px solid rgba(0, 0, 0, 0.05);
      background: rgba(255, 255, 255, 0.92);
      backdrop-filter: blur(12px);
    }

    .footer-inner {
      padding: 1.4rem 0 1.2rem;
      font-size: 0.8rem;
      color: var(--text-muted);
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      gap: 1rem;
    }

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

    .footer-links a {
      text-decoration: underline;
      text-decoration-style: dotted;
      text-underline-offset: 2px;
    }

.control-panels {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 1.6rem 1.4rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
}

    .control-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 0.9rem;
    }

.control-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 10px 24px rgba(0,0,0,0.045);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

    .owner-card {
      border-top: 4px solid var(--accent);
    }

    .boutique-card {
      border-top: 4px solid #1f8a70;
    }

    .control-pill {
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
      padding: 0.2rem 0.65rem;
      border-radius: 999px;
      background: #f2e7d9;
      color: var(--accent-dark);
      font-size: 0.75rem;
      font-weight: 700;
    }

    .control-card h3 {
      font-size: 1rem;
      margin-bottom: 0;
    }

    .control-card p {
      color: var(--text-muted);
      font-size: 0.9rem;
    }

    .control-list {
      display: grid;
      gap: 0.35rem;
    }

    .control-line {
      font-size: 0.9rem;
      padding: 0.45rem 0.55rem;
      border-radius: 12px;
      border: 1px dashed var(--border);
      background: rgba(0,0,0,0.02);
      line-height: 1.45;
    }

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

    .control-chip {
      padding: 0.25rem 0.55rem;
      border-radius: 999px;
      background: #eef1f6;
      color: #46505c;
      font-size: 0.78rem;
      border: 1px solid rgba(0,0,0,0.04);
    }

    .control-note {
      margin-top: 0.8rem;
      font-size: 0.85rem;
      color: var(--text-muted);
    }

    .boutique-cta {
      background: #fff;
      border: 1px solid var(--border);
      border-radius: 22px;
      padding: 1.5rem 1.3rem;
      box-shadow: 0 20px 48px rgba(0,0,0,0.06);
      margin-bottom: 2.5rem;
    }

    .boutique-cta-header h2 {
      font-size: 1.15rem;
      margin-bottom: 0.25rem;
    }

    .boutique-cta-header p {
      color: var(--text-muted);
      font-size: 0.9rem;
    }

    .boutique-cta-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 0.8rem;
      margin: 1rem 0 1.2rem;
    }

    .boutique-step {
      background: rgba(255,255,255,0.65);
      border: 1px solid rgba(0,0,0,0.04);
      border-radius: 14px;
      padding: 0.75rem;
      box-shadow: 0 10px 24px rgba(0,0,0,0.05);
    }

    .boutique-step-num {
      display: inline-block;
      font-weight: 700;
      color: var(--accent-dark);
      margin-bottom: 0.2rem;
    }

    .boutique-step h3 {
      font-size: 0.95rem;
      margin-bottom: 0.2rem;
    }

    .boutique-step p {
      font-size: 0.85rem;
      color: var(--text-muted);
    }

    .boutique-form {
      display: flex;
      flex-direction: column;
      gap: 0.55rem;
    }

    .boutique-form-row {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
    }

    .boutique-form input,
    .boutique-form textarea {
      flex: 1 1 200px;
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 0.55rem 0.7rem;
      background: #fff;
      font-family: inherit;
      font-size: 0.9rem;
    }

    .boutique-form textarea {
      resize: vertical;
    }

    .boutique-form-actions {
      display: flex;
      gap: 0.6rem;
      flex-wrap: wrap;
      align-items: center;
    }

    /* Responsive layout tweaks */

    @media (max-width: 960px) {
      .hero-inner {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
      }

      .hero-floating-card {
        display: none;
      }

      .hero-gallery {
        left: 4%;
        bottom: 4%;
      }
    }

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

      .mobile-nav-toggle {
        display: inline-flex;
      }

      .mobile-drawer {
        display: none;
      }

      .hero-inner {
        grid-template-columns: minmax(0, 1fr);
      }

      .hero {
        padding-top: 1.5rem;
      }

      .hero-visual {
        order: -1;
      }

      .hero-gallery {
        position: static;
        width: 100%;
        max-width: 320px;
        margin: 0.5rem auto 0;
        transform: none;
        display: grid;
      }

      .search-card {
        padding: 0.9rem;
      }
    }

    @media (max-width: 520px) {
      .nav {
        padding: 0.6rem 0;
      }

      .topbar-inner {
        flex-direction: column;
        align-items: flex-start;
      }

      .filters-row {
        flex-direction: column;
        align-items: stretch;
      }

      .filter-group {
        width: 100%;
      }

      .filter-group select,
      .filter-group input {
        width: 100%;
      }

      .hero-card {
        max-width: 100%;
      }

      .hero-card-content {
        padding: 1rem 0.9rem;
      }
    }
  
    /* Product detail overlay */
    .detail-overlay {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.55);
      display: none;
      align-items: center;
      justify-content: center;
      z-index: 40;
      padding: calc(1.2rem + env(safe-area-inset-top)) 1.1rem calc(1.2rem + env(safe-area-inset-bottom));
    }

    .detail-overlay--visible {
      display: flex;
    }

    .detail-panel {
      background: #fffdf9;
      border-radius: 24px;
      max-width: 900px;
      width: 100%;
      box-shadow: 0 28px 70px rgba(0, 0, 0, 0.25);
      padding: 1.4rem 1.4rem 1.2rem;
      position: relative;
    }

    .detail-layout {
      display: grid;
      grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
      gap: 1.25rem;
    }

    .detail-media {
      position: relative;
      border-radius: 18px;
      overflow: hidden;
      background: #111;
      aspect-ratio: 3 / 4;
      cursor: zoom-in;
    }

    .detail-media img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.12s ease-out;
    }

    .detail-media img.detail-image--zoomed {
      transform: scale(2);
      cursor: zoom-out;
    }

    .detail-info-title {
      font-size: 1.1rem;
      font-weight: 600;
      margin-bottom: 0.1rem;
    }

    .detail-info-sub {
      font-size: 0.85rem;
      color: var(--text-muted);
      margin-bottom: 0.6rem;
    }

    .detail-price-row {
      display: flex;
      align-items: baseline;
      gap: 0.4rem;
      margin-bottom: 0.6rem;
    }

    .detail-price-main {
      font-size: 1.15rem;
      font-weight: 600;
      color: var(--accent-dark);
    }

    .detail-meta-pills {
      display: flex;
      flex-wrap: wrap;
      gap: 0.35rem;
      margin-bottom: 0.7rem;
      font-size: 0.78rem;
    }

    .detail-meta-pill {
      padding: 0.2rem 0.6rem;
      border-radius: 999px;
      background: #f7efe5;
      color: var(--text-muted);
    }

    .detail-logistics {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
      gap: 0.4rem;
      margin-bottom: 0.6rem;
      font-size: 0.82rem;
      color: var(--text-muted);
    }

    .detail-logistics span {
      display: inline-flex;
      gap: 0.35rem;
      padding: 0.35rem 0.55rem;
      border-radius: 12px;
      background: #f6f0e9;
      border: 1px solid rgba(0,0,0,0.04);
      align-items: center;
    }

    .detail-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      align-items: center;
      margin-top: 0.4rem;
    }

    .detail-note {
      font-size: 0.78rem;
      color: var(--text-muted);
      margin-top: 0.4rem;
    }

    .detail-reviews {
      margin-top: 0.5rem;
      font-size: 0.82rem;
      color: var(--text-muted);
    }

    .detail-close {
      position: absolute;
      top: 0.7rem;
      right: 0.8rem;
      width: 30px;
      height: 30px;
      border-radius: 999px;
      border: none;
      background: #f3e7da;
      cursor: pointer;
      font-size: 1rem;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background 0.16s ease-out, transform 0.16s ease-out;
    }

    .detail-close:hover {
      background: #e8d5c1;
      transform: translateY(-1px);
    }

    @media (max-width: 720px) {
      .detail-layout {
        grid-template-columns: minmax(0, 1fr);
      }
    }


    /* Cart badge on nav cart icon */
    #cart-button {
      position: relative;
    }

    .cart-count-badge {
      position: absolute;
      top: 2px;
      right: 2px;
      min-width: 16px;
      height: 16px;
      padding: 0 4px;
      border-radius: 999px;
      background: var(--accent-dark);
      color: #fff;
      font-size: 0.65rem;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    /* Cart overlay / panel */
    .cart-panel {
      max-width: 520px;
    }

    .cart-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 0.6rem;
    }

    .cart-header-title {
      font-size: 1rem;
      font-weight: 600;
    }

    .cart-header-meta {
      font-size: 0.78rem;
      color: var(--text-muted);
    }

    .cart-items {
      margin-top: 0.4rem;
      max-height: 260px;
      overflow-y: auto;
      padding-right: 0.2rem;
    }

    .cart-empty {
      font-size: 0.85rem;
      color: var(--text-muted);
      padding: 0.6rem 0;
    }

    .cart-item {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 0.6rem;
      padding: 0.45rem 0;
      border-bottom: 1px solid rgba(0,0,0,0.04);
      font-size: 0.82rem;
    }

    .cart-item-main {
      display: flex;
      gap: 0.5rem;
      flex: 1 1 auto;
      align-items: center;
    }

    .cart-thumb {
      width: 48px;
      height: 64px;
      border-radius: 10px;
      overflow: hidden;
      background: #111;
      flex-shrink: 0;
    }

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

    .cart-item-name {
      font-weight: 500;
    }

    .cart-item-meta {
      font-size: 0.75rem;
      color: var(--text-muted);
    }

    .cart-item-price {
      font-size: 0.8rem;
      color: var(--accent-dark);
      font-weight: 600;
      margin-top: 0.15rem;
    }

    .cart-item-qty {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.15rem;
      font-size: 0.8rem;
    }

    .cart-item-qty button {
      width: 22px;
      height: 22px;
      border-radius: 999px;
      border: 1px solid rgba(0,0,0,0.08);
      background: #f7efe5;
      cursor: pointer;
      padding: 0;
      line-height: 1;
    }

    .cart-summary {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-top: 0.7rem;
      padding-top: 0.6rem;
      border-top: 1px solid rgba(0,0,0,0.06);
      font-size: 0.85rem;
    }

    .cart-summary strong {
      font-size: 0.95rem;
    }

    .cart-actions {
      margin-top: 0.6rem;
      display: flex;
      gap: 0.5rem;
      flex-wrap: wrap;
    }

    .cart-actions .primary-btn {
      flex: 1 1 auto;
      justify-content: center;
    }

    .cart-actions .outline-btn {
      flex: 0 0 auto;
    }

    #wishlist-button {
      position: relative;
    }

    .wishlist-count-badge {
      position: absolute;
      top: 2px;
      right: 2px;
    }

    .wishlist-actions {
      display: flex;
      flex-direction: column;
      gap: 0.25rem;
      align-items: flex-end;
      font-size: 0.75rem;
    }

    .wishlist-action {
      border-radius: 999px;
      border: 1px solid var(--accent-soft);
      background: #ffffff;
      color: var(--accent-dark);
      padding: 0.15rem 0.7rem;
      cursor: pointer;
      transition: background var(--transition-fast), color var(--transition-fast),
        box-shadow var(--transition-fast), transform var(--transition-fast);
    }

    .wishlist-action:hover {
      background: var(--accent-soft);
      box-shadow: var(--shadow-soft);
      transform: translateY(-1px);
    }

    .wishlist-move {
      background: var(--accent);
      color: #fff;
      border-color: var(--accent);
    }

    .wishlist-move:hover {
      background: var(--accent-dark);
    }

    .wishlist-btn {
      border-radius: 999px;
      border: 1px solid var(--accent-soft);
      background: #ffffff;
      color: var(--accent-dark);
      padding: 0.2rem 0.7rem;
      cursor: pointer;
      font-size: 0.78rem;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      transition: background var(--transition-fast), color var(--transition-fast),
        box-shadow var(--transition-fast), transform var(--transition-fast);
    }

    .wishlist-btn:hover {
      background: var(--accent-soft);
      box-shadow: var(--shadow-soft);
      transform: translateY(-1px);
    }



    
    /* Toast notification */
    .toast {
      position: fixed;
      left: 50%;
      bottom: 18px;
      transform: translateX(-50%) translateY(120%);
      background: linear-gradient(135deg, var(--accent), var(--accent-dark));
      color: #fff;
      padding: 0.65rem 1.25rem;
      border-radius: 999px;
      font-size: 0.8rem;
      display: flex;
      align-items: center;
      gap: 0.45rem;
      box-shadow: 0 18px 40px rgba(0,0,0,0.35);
      z-index: 60;
      opacity: 0;
      transition: transform 0.25s ease-out, opacity 0.25s ease-out;
      pointer-events: none;
    }

    .toast--visible {
      transform: translateX(-50%) translateY(0);
      opacity: 1;
      pointer-events: auto;
    }

    .toast-icon {
      font-size: 0.95rem;
    }



/* Floating wishlist heart */
.product-media {
  position: relative;
}

/* Heart is indicator only; no pointer events */
.product-fav {
  position: absolute;
  top: 10px;
  right: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.85);
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--accent-dark);
  box-shadow: var(--shadow-soft);
  pointer-events: none;
  cursor: default;
  transition: background var(--transition-fast), transform var(--transition-fast), color var(--transition-fast);
}

.product-fav[data-active="true"] {
  color: #e75b5b;
}




    /* Variant selection chips in product detail */
    .detail-variants {
      margin-top: 0.75rem;
      margin-bottom: 0.5rem;
      display: flex;
      flex-direction: column;
      gap: 0.6rem;
    }

    .variant-group {
      display: flex;
      flex-direction: column;
      gap: 0.3rem;
    }

    .variant-label {
      font-size: 0.78rem;
      font-weight: 500;
      color: var(--text-muted);
      text-transform: uppercase;
      letter-spacing: 0.04em;
    }

    .variant-chips {
      display: flex;
      flex-wrap: wrap;
      gap: 0.35rem;
    }

    .variant-chip {
      border-radius: 999px;
      border: 1px solid var(--accent-soft);
      background: #ffffff;
      color: var(--text-main);
      padding: 0.2rem 0.7rem;
      font-size: 0.78rem;
      cursor: pointer;
      transition: background var(--transition-fast), color var(--transition-fast),
        box-shadow var(--transition-fast), transform var(--transition-fast), border-color var(--transition-fast);
    }

    .variant-chip:hover {
      background: var(--accent-soft);
      box-shadow: var(--shadow-soft);
      transform: translateY(-1px);
    }

    .variant-chip--active {
      background: var(--accent);
      color: #ffffff;
      border-color: var(--accent);
      box-shadow: var(--shadow-soft);
    }

    .variant-chip--readonly {
      cursor: default;
      pointer-events: none;
    }


    /* Checkout overlay & form */
    .checkout-form {
      margin-top: 0.2rem;
      font-size: 0.85rem;
      color: var(--text-muted);
    }

    .checkout-grid {
      display: grid;
      grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.2fr);
      gap: 1rem;
      margin-top: 0.2rem;
    }

    @media (max-width: 720px) {
      .checkout-grid {
        grid-template-columns: minmax(0, 1fr);
      }
    }

    .checkout-col {
      background: #fffbf7;
      border-radius: 16px;
      padding: 0.8rem 0.85rem;
      border: 1px solid rgba(0,0,0,0.03);
    }

    .checkout-subtitle {
      font-size: 0.9rem;
      font-weight: 600;
      color: var(--text-main);
      margin-bottom: 0.4rem;
    }

    .checkout-field {
      display: flex;
      flex-direction: column;
      gap: 0.18rem;
      margin-bottom: 0.45rem;
    }

    .checkout-field label {
      font-size: 0.78rem;
      font-weight: 500;
      color: var(--text-main);
    }

    .checkout-field input,
    .checkout-field textarea {
      border-radius: 999px;
      border: 1px solid #e2d3c5;
      padding: 0.45rem 0.75rem;
      font-size: 0.85rem;
      font-family: inherit;
      outline: none;
      background: #fdf8f2;
      transition: border var(--transition-fast), box-shadow var(--transition-fast),
        background var(--transition-fast);
    }

    .checkout-field textarea {
      border-radius: 12px;
      resize: vertical;
      min-height: 72px;
    }

    .checkout-field input::placeholder,
    .checkout-field textarea::placeholder {
      color: #b49b89;
    }

    .checkout-field input:focus,
    .checkout-field textarea:focus {
      border-color: var(--accent);
      background: #fff;
      box-shadow: 0 0 0 1px rgba(200, 148, 88, 0.35);
    }

    .checkout-items {
      max-height: 200px;
      overflow-y: auto;
      padding-right: 0.3rem;
      margin-bottom: 0.5rem;
    }

    .checkout-item {
      display: flex;
      justify-content: space-between;
      gap: 0.5rem;
      padding: 0.35rem 0;
      border-bottom: 1px dashed rgba(0,0,0,0.06);
      font-size: 0.8rem;
    }

    .checkout-item-main {
      display: flex;
      gap: 0.5rem;
      flex: 1 1 auto;
    }

    .checkout-thumb {
      width: 42px;
      height: 56px;
      border-radius: 10px;
      overflow: hidden;
      background: #111;
      flex-shrink: 0;
    }

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

    .checkout-item-name {
      font-weight: 500;
      color: var(--text-main);
    }

    .checkout-item-meta {
      font-size: 0.75rem;
      color: var(--text-muted);
    }

    .checkout-item-price {
      font-size: 0.8rem;
      color: var(--accent-dark);
      font-weight: 600;
      white-space: nowrap;
    }

    .checkout-badges {
      display: flex;
      flex-wrap: wrap;
      gap: 0.35rem;
      margin-top: 0.25rem;
      margin-bottom: 0.25rem;
      font-size: 0.78rem;
    }

    .checkout-badge {
      display: inline-flex;
      align-items: center;
      gap: 0.3rem;
      padding: 0.25rem 0.6rem;
      border-radius: 999px;
      background: #f5e8dc;
      border: 1px solid rgba(0,0,0,0.04);
      color: var(--accent-dark);
    }

    .checkout-total-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-top: 0.4rem;
      padding-top: 0.4rem;
      border-top: 1px solid rgba(0,0,0,0.06);
      font-size: 0.85rem;
      color: var(--text-main);
    }

    .checkout-vendors {
      font-size: 0.78rem;
      color: var(--text-muted);
      margin-top: 0.3rem;
    }

    .checkout-logistics {
      font-size: 0.78rem;
      color: var(--text-muted);
      margin-top: 0.35rem;
    }
    .checkout-logistics-row {
      margin: 0.2rem 0;
    }
    .checkout-logistics#checkout-logistics-label {
      font-weight: 600;
      color: var(--text-main);
      margin-top: 0.6rem;
    }
    .field-error {
      outline: 2px solid #b42318;
      border-color: #b42318;
    }

    .checkout-actions {
      margin-top: 0.8rem;
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      justify-content: flex-end;
    }

    .checkout-note {
      font-size: 0.75rem;
      color: var(--text-muted);
      margin-top: 0.4rem;
    }

    .checkout-thankyou {
      /* legacy style, not used */
      /* legacy style, not used */
      /* legacy style, not used */
      /* legacy style, not used */

      font-size: 0.8rem;
      color: var(--accent-dark);
      margin-top: 0.6rem;
      font-weight: 500;
      background: #f5ece0;
      padding: 0.45rem 0.6rem;
      border-radius: 10px;
      border: 1px solid rgba(200,148,88,0.3);
    }


    .checkout-success {
      text-align: left;
      padding: 0.8rem 0.2rem 0.2rem;
    }

    .checkout-success-title {
      font-size: 1rem;
      font-weight: 600;
      color: var(--text-main);
      margin-bottom: 0.4rem;
    }

    .checkout-success-text {
      font-size: 0.86rem;
      color: var(--text-muted);
      margin-bottom: 0.8rem;
      max-width: 32rem;
    }



/* Seller portal */
.boutique-body {
  background: var(--bg);
}

.boutique-max-w {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.boutique-header {
  position: sticky;
  top: 0;
  z-index: 12;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
}

.boutique-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.boutique-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.boutique-header-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.boutique-main {
  padding: 1.4rem 0 2rem;
}

.boutique-tabs {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  padding: 0.7rem 1.25rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  background: rgba(255, 255, 255, 0.9);
  position: sticky;
  top: 64px;
  z-index: 11;
  backdrop-filter: blur(12px);
}

.boutique-tab {
  padding: 0.55rem 0.95rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: rgba(255, 255, 255, 0.94);
  cursor: pointer;
  transition: var(--transition-fast);
  color: var(--text-muted);
}

.boutique-tab.active {
  background: var(--accent-soft);
  color: var(--text-main);
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

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

.dashboard-hero {
  margin-top: 0.6rem;
  padding: 0.75rem;
  border: 1px dashed rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background: linear-gradient(120deg, rgba(180, 138, 96, 0.08), rgba(255, 255, 255, 0.8));
}

.dashboard-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.dashboard-logo {
  width: 64px;
  height: 64px;
  background: #f2e4d5;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--accent-dark);
}

.dashboard-name {
  font-weight: 700;
  font-size: 1.1rem;
}

.dashboard-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.8rem;
  margin-top: 0.9rem;
}

.metric-card {
  padding: 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
}

.metric-label {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.metric-value {
  font-size: 1.4rem;
  font-weight: 700;
  margin-top: 0.2rem;
}

.spark {
  width: 100%;
  height: 36px;
  margin-top: 0.5rem;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0.8rem;
  margin-top: 0.8rem;
}

.dashboard-list .dashboard-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.dashboard-list .dashboard-row:last-child {
  border-bottom: none;
}

.dashboard-title {
  font-weight: 600;
}

.dashboard-sub {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.bulk-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.5rem 0.75rem;
  margin: 0.2rem 0 0.6rem;
  border: 1px dashed rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.65);
}

#notifications-panel {
  max-height: 60vh;
  overflow: auto;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.6rem;
}

.stat-card {
  padding: 0.75rem;
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 12px;
  background: rgba(255,255,255,0.9);
  box-shadow: var(--shadow-soft);
}

.stat-value {
  font-weight: 700;
  font-size: 1.2rem;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.stat-hint {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-top: 0.2rem;
}

.boutique-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
  gap: 1rem;
}

@media (max-width: 960px) {
  .boutique-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.boutique-left,
.boutique-right {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1rem 1.15rem;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
}

.card-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.card-title {
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.card-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.stack {
  display: flex;
  flex-direction: column;
}

.row {
  display: flex;
  align-items: center;
}

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

.gap-sm {
  gap: 0.7rem;
}

.gap-2xs {
  gap: 0.2rem;
}

.boutique-form {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.65rem;
}

.boutique-form input,
.boutique-form textarea,
.boutique-form select,
#kyc-form input,
#kyc-form textarea,
#policy-form input {
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 0.55rem 0.7rem;
  font-family: inherit;
  background: #fcfbf9;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.boutique-form input:focus,
.boutique-form textarea:focus,
.boutique-form select:focus,
#kyc-form input:focus,
#kyc-form textarea:focus,
#policy-form input:focus {
  border-color: var(--accent-dark);
  outline: none;
  box-shadow: 0 0 0 3px rgba(180, 138, 96, 0.12);
}

.checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 0.35rem;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
}

.products-table {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.product-row-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.65rem 0.8rem;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.05);
}

.product-row-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}

.product-row-title {
  font-weight: 600;
}

.product-row-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.product-row-meta {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.pill-soft {
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: #f5e8dc;
  color: var(--accent-dark);
  font-size: 0.8rem;
}
.pill-success {
  background: #e6f4ea;
  color: #1e7d3b;
}
.pill-warn {
  background: #fff4e5;
  color: #b66a00;
}
.pill-danger {
  background: #fde8e8;
  color: #b42318;
}
.slot-date-field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.75rem;
}
.slot-date-field input {
  padding: 0.35rem 0.5rem;
  border: 1px solid #e3d8cc;
  border-radius: 8px;
  font-size: 0.85rem;
}

.table-pagination {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
}

.product-row-actions {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.4rem;
}

.boutique-modal {
  max-width: 620px;
}
.filter-group {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: transparent;
  border-radius: 12px;
  padding: 0.2rem 0.5rem;
  border: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-muted);
}
