/* ==========================================================================
   AURA FINE JEWELLERY - PREMIUM STOREFRONT STYLE SHEET
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. GLOBAL RESETS & THEME CONFIGURATION
   -------------------------------------------------------------------------- */
:root {
    /* Color Palette */
    --color-cream: #FCFAF7;
    --color-cream-dark: #F5EFEB;
    --color-charcoal: #1C1A17;
    --color-charcoal-light: #2E2A25;
    --color-gold: #c5a059;       /* Editorial Champagne Gold */
    --color-gold-hover: #b48e48;
    --color-border: #E5DFD5;      /* Thin elegant dividers */
    --color-border-light: #F0EDE8;
    --color-text-muted: #7E786E;
    
    /* Semantic Colors */
    --color-success: #2C6E49;
    --color-error: #A30000;
    
    /* Typography */
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Plus Jakarta Sans', system-ui, sans-serif;
    
    /* Animation & Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-quick: all 0.2s ease;
}

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

body {
    background-color: var(--color-cream);
    color: var(--color-charcoal);
    font-family: var(--font-sans);
    line-height: 1.6;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-quick);
}

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

/* Helper Utilities */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 2rem);
}

.serif {
    font-family: var(--font-serif);
}

.text-center { text-align: center; }
.text-white { color: #ffffff; }
.text-gold { color: var(--color-gold); }
.text-muted { color: var(--color-text-muted); }
.bg-cream { background-color: var(--color-cream-dark); }
.py-10 { padding-top: 5rem; padding-bottom: 5rem; }
.py-8 { padding-top: 4rem; padding-bottom: 4rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 3rem; }
.mt-12 { margin-top: 4rem; }
.mb-6 { margin-bottom: 1.5rem; }
.w-full { width: 100%; }
.max-w-lg { max-width: 800px; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* --------------------------------------------------------------------------
   2. BUTTONS & UI CONTROLS
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2rem;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-primary {
    background-color: var(--color-charcoal);
    color: var(--color-cream);
}

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

.btn-secondary {
    background-color: transparent;
    color: var(--color-cream);
    border-color: rgba(252, 250, 247, 0.4);
}

.btn-secondary:hover {
    background-color: var(--color-cream);
    color: var(--color-charcoal);
    border-color: var(--color-cream);
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    background-color: var(--color-charcoal);
    color: var(--color-cream);
}

.btn-lg {
    padding: 1.1rem 3rem;
    font-size: 0.85rem;
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.7rem;
}

/* Badges */
.badge {
    display: inline-flex;
    padding: 0.25rem 0.75rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.badge-success {
    background-color: rgba(44, 110, 73, 0.1);
    color: var(--color-success);
}

.badge-error {
    background-color: rgba(163, 0, 0, 0.1);
    color: var(--color-error);
}

/* --------------------------------------------------------------------------
   3. HEADER & MOBILE NAVIGATION
   -------------------------------------------------------------------------- */
.site-header {
    background-color: rgba(252, 250, 247, 0.95);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

.header-container {
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 2rem);
    gap: 1rem;
}

.site-logo {
    font-family: var(--font-serif);
    font-size: clamp(1rem, 3.5vw, 1.5rem);
    font-weight: 500;
    letter-spacing: 0.04em;
    flex-shrink: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.desktop-nav {
    display: flex;
    gap: 2.5rem;
}

.desktop-nav a {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--color-charcoal);
    padding: 0.5rem 0;
    position: relative;
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-gold);
    transition: var(--transition-quick);
}

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

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

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

.wishlist-link {
    font-size: 1.2rem;
    position: relative;
    padding: 0.5rem;
}

.wishlist-count {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--color-gold);
    color: #ffffff;
    font-size: 0.6rem;
    font-weight: bold;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── Hamburger button (hidden on desktop) ──────────────────────────── */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    background: none;
    border: none;
    cursor: pointer;
    width: 26px;
    height: 18px;
    padding: 0;
    flex-shrink: 0;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-charcoal, #2c2c2c);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.2s ease;
    transform-origin: center;
}

/* Open state – top bar rotates to \, bottom bar rotates to /, middle hides */
.mobile-menu-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.mobile-menu-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.mobile-menu-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ── Mobile Nav Pane ─────────────────────────────────────────────── */
.mobile-nav {
    display: none;            /* hidden by default – opened via .open class */
    flex-direction: column;
    background-color: var(--color-cream, #faf7f2);
    border-top: 1px solid var(--color-border, #e8e0d5);
    border-bottom: 1px solid var(--color-border, #e8e0d5);
    padding: 1.25rem 1.5rem 1.5rem;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    z-index: 150;
}

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

.mobile-nav a {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--color-charcoal, #2c2c2c);
    text-transform: uppercase;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--color-border, #e8e0d5);
    text-decoration: none;
}

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

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

.mobile-nav-whatsapp {
    background-color: #25d366 !important;
    color: #fff !important;
    text-align: center;
    padding: 0.75rem 1rem !important;
    border-radius: 4px;
    margin-top: 0.75rem;
    border-bottom: none !important;
    font-size: 0.85rem !important;
    letter-spacing: 0.06em;
}

/* --------------------------------------------------------------------------
   4. EDITORIAL HOMEPAGE ELEMENTS
   -------------------------------------------------------------------------- */
.section-header {
    margin-bottom: 3.5rem;
}

.section-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    color: var(--color-gold);
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.section-header h2 {
    font-size: clamp(1.6rem, 4vw, 2.25rem);
    font-weight: 400;
    letter-spacing: 0.02em;
    margin-bottom: 1rem;
}

.section-divider {
    width: 45px;
    height: 1px;
    background-color: var(--color-gold);
    margin: 0 auto;
}

.dual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
}

/* Hero Section */
.hero-section {
    min-height: 480px;
    height: clamp(480px, calc(100vh - 68px), 100vh);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 750px;
    color: #ffffff;
    padding: 0 clamp(1rem, 4vw, 2rem);
}

.hero-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    color: var(--color-gold);
    margin-bottom: 1.5rem;
}

.hero-content h1 {
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: clamp(0.95rem, 2.5vw, 1.1rem);
    font-weight: 300;
    margin-bottom: 2.5rem;
    color: rgba(252, 250, 247, 0.85);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

/* Collections Grid */
.collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.collection-card {
    height: 380px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    transition: var(--transition-smooth);
}

.collection-card:hover {
    transform: translateY(-5px);
}

.collection-card-content {
    color: #ffffff;
    z-index: 2;
}

.collection-card-content h3 {
    font-size: 1.75rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.collection-card-content p {
    font-size: 0.8rem;
    color: rgba(252, 250, 247, 0.8);
    margin-bottom: 1.5rem;
}

.collection-link {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-gold);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Style Match Promo */
.style-match-promo {
    background-size: cover;
    background-position: center;
    padding: 8rem 0;
}

.style-match-content {
    max-width: 650px;
    margin: 0 auto;
}

.style-match-content h2 {
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.style-match-content p {
    font-size: 1rem;
    margin-bottom: 2.5rem;
    color: rgba(252, 250, 247, 0.8);
}

/* Craftsmanship & Contact Promos */
.craftsmanship-promo {
    padding: 0;
}

.craft-image {
    background-size: cover;
    background-position: center;
    min-height: 480px;
}

.flex-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.craft-content {
    padding: 4rem;
}

.craft-content h2 {
    font-size: 2.25rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.craft-content p {
    margin-bottom: 2rem;
    color: var(--color-text-muted);
}

/* Contact Promo */
.contact-promo-details {
    padding: 2rem 0;
}

.contact-info-list {
    margin: 2rem 0;
}

.contact-info-list p {
    margin-bottom: 1.25rem;
}

.contact-promo-actions {
    display: flex;
    gap: 1rem;
}

.map-mock-bg {
    background-color: var(--color-cream-dark);
    border: 1px solid var(--color-border);
    height: 100%;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    text-align: center;
}

.map-mock-bg i {
    font-size: 2.5rem;
    color: var(--color-gold);
    margin-bottom: 1rem;
}

.map-mock-bg h3 {
    margin-bottom: 0.5rem;
}

.map-mock-bg p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

/* --------------------------------------------------------------------------
   5. PRODUCT GRID & CARD STYLING
   -------------------------------------------------------------------------- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr));
    gap: 2rem;
}

.product-card {
    background-color: transparent;
    transition: var(--transition-smooth);
}

.product-card-image {
    position: relative;
    background-color: var(--color-cream-dark);
    aspect-ratio: 1 / 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

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

.wishlist-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: rgba(252, 250, 247, 0.9);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    color: var(--color-charcoal);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: var(--transition-quick);
    z-index: 5;
}

.wishlist-btn:hover {
    color: var(--color-gold);
    transform: scale(1.1);
}

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

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--color-charcoal);
    color: var(--color-cream);
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    padding: 0.35rem 0.75rem;
    text-transform: uppercase;
}

.product-card-info {
    padding: 1.25rem 0.5rem 0;
}

.product-card-category {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--color-gold);
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.4rem;
}

.product-card-info h3 {
    font-size: 1.05rem;
    font-weight: 400;
    margin-bottom: 0.4rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.35;
}

.product-card-price {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-charcoal);
    display: block;
}

.product-card-action {
    margin-top: 1rem;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition-smooth);
}

.product-card:hover .product-card-action {
    opacity: 1;
    transform: translateY(0);
}

.image-fallback {
    font-size: 3rem;
    color: var(--color-border);
}

/* --------------------------------------------------------------------------
   6. SHOWROOM CATALOGUE & FILTERS
   -------------------------------------------------------------------------- */
.showroom-header {
    padding: 4rem 0;
    border-bottom: 1px solid var(--color-border);
}

.showroom-header h1 {
    font-size: 3rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.showroom-wrapper {
    display: flex;
    gap: 3rem;
    padding-top: 3rem;
    padding-bottom: 6rem;
}

/* Sidebar Filters */
.showroom-sidebar {
    width: 280px;
    flex-shrink: 0;
}

.sidebar-header {
    display: none;
}

.filter-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

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

.filter-group h4 {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
}

.filter-group label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
}

.search-input-wrapper {
    position: relative;
    margin-top: 0.5rem;
}

.search-input-wrapper input {
    width: 100%;
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    background-color: var(--color-cream-dark);
    border: 1px solid var(--color-border);
    font-family: var(--font-sans);
    font-size: 0.8rem;
    color: var(--color-charcoal);
}

.search-input-wrapper input:focus {
    outline: none;
    border-color: var(--color-gold);
}

.search-input-wrapper button {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-charcoal);
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.option-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.option-item input[type="radio"] {
    appearance: none;
    width: 14px;
    height: 14px;
    border: 1px solid var(--color-charcoal);
    border-radius: 50%;
    outline: none;
    cursor: pointer;
    position: relative;
}

.option-item input[type="radio"]:checked {
    border-color: var(--color-gold);
}

.option-item input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 6px;
    height: 6px;
    background-color: var(--color-gold);
    border-radius: 50%;
}

.option-item label {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--color-charcoal-light);
    cursor: pointer;
}

.price-inputs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.price-inputs input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid var(--color-border);
    background-color: var(--color-cream-dark);
    font-size: 0.8rem;
}

.price-inputs span {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

/* Toolbar & Sorting */
.showroom-content {
    flex-grow: 1;
}

.showroom-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-border-light);
}

.open-filters-btn {
    display: none;
}

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

.sort-selector {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sort-selector label {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.sort-selector select {
    padding: 0.5rem 2rem 0.5rem 1rem;
    border: 1px solid var(--color-border);
    background-color: var(--color-cream);
    font-family: var(--font-sans);
    font-size: 0.8rem;
    color: var(--color-charcoal);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: 12px;
    background-repeat: no-repeat;
    background-position: right 12px center;
}

/* Active Tags */
.active-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.filter-tag {
    background-color: var(--color-cream-dark);
    border: 1px solid var(--color-border);
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-tag a {
    font-weight: bold;
    color: var(--color-error);
}

.clear-all-tag {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-gold);
    display: flex;
    align-items: center;
    padding: 0.25rem 0.5rem;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 4rem;
}

.page-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-border);
    font-size: 0.8rem;
    font-weight: 500;
}

.page-link.active {
    background-color: var(--color-charcoal);
    color: var(--color-cream);
    border-color: var(--color-charcoal);
}

.page-link:hover:not(.active) {
    border-color: var(--color-charcoal);
}

/* --------------------------------------------------------------------------
   7. PRODUCT DETAIL PAGE
   -------------------------------------------------------------------------- */
.product-detail-container {
    padding-top: 2rem;
    padding-bottom: 6rem;
}

.back-link-row {
    margin-bottom: 2rem;
}

.back-link {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
}

/* Gallery Column */
.primary-image-view {
    background-color: var(--color-cream-dark);
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.primary-image-view img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-placeholder-box {
    font-size: 5rem;
    color: var(--color-border);
}

.gallery-thumbnails {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.thumbnail {
    width: 75px;
    height: 75px;
    background-color: var(--color-cream-dark);
    border: 1px solid transparent;
    cursor: pointer;
    overflow: hidden;
}

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

.thumbnail.active {
    border-color: var(--color-gold);
}

/* Specifications Column */
.product-category-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--color-gold);
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.75rem;
}

.product-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 1rem;
}

.product-title-row h1 {
    font-size: 2.75rem;
    font-weight: 400;
    line-height: 1.2;
}

.detail-page-wishlist {
    position: static;
    border: 1px solid var(--color-border);
}

.price-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-border);
}

.price-amount {
    font-size: 1.5rem;
    font-weight: 500;
}

.product-description {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-charcoal-light);
    margin-bottom: 2.5rem;
}

.section-subtitle {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 1.25rem;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 3rem;
}

.specs-table th, .specs-table td {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--color-border-light);
    font-size: 0.85rem;
}

.specs-table th {
    font-weight: 600;
    text-align: left;
    color: var(--color-text-muted);
    width: 35%;
}

.specs-table td {
    color: var(--color-charcoal);
}

/* --------------------------------------------------------------------------
   8. COMPLETE YOUR LOOK BUILDER
   -------------------------------------------------------------------------- */
.complete-look-section-wrapper {
    margin-top: 6rem;
    border-top: 1px solid var(--color-border);
    padding-top: 5rem;
}

.look-builder-wrapper {
    display: grid;
    grid-template-columns: 1.8fr 1.2fr;
    gap: 4rem;
    margin-top: 3rem;
}

.look-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.look-item-card {
    border: 1px solid var(--color-border);
    padding: 1.25rem;
    background-color: var(--color-cream);
    display: flex;
    flex-direction: column;
    position: relative;
}

.primary-look-card {
    border-color: var(--color-gold);
    background-color: var(--color-cream-dark);
}

.look-card-checkbox {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 5;
}

.look-card-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--color-gold);
    cursor: pointer;
}

.look-card-img {
    aspect-ratio: 1/1;
    overflow: hidden;
    background-color: var(--color-cream-dark);
    margin-bottom: 1rem;
}

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

.look-card-details .look-cat {
    font-size: 0.6rem;
    font-weight: 600;
    color: var(--color-gold);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.25rem;
}

.look-card-details h4 {
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.look-card-details .look-price {
    font-size: 0.85rem;
    font-weight: 600;
}

/* Summary Box */
.look-summary-panel {
    background-color: var(--color-cream-dark);
    border: 1px solid var(--color-border);
    padding: 2.5rem;
    align-self: flex-start;
}

.look-summary-panel h3 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.look-summary-panel p {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.selected-items-summary {
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

.summary-line.primary-line {
    font-weight: 600;
}

.summary-line.addon-line {
    color: var(--color-charcoal-light);
}

.look-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.look-summary-total span {
    font-size: 0.9rem;
    font-weight: 600;
}

.look-summary-total strong {
    font-size: 1.5rem;
    font-family: var(--font-serif);
    color: var(--color-gold);
}

/* Complete Look Home Version */
.complete-look-wrapper {
    display: grid;
    grid-template-columns: 1.6fr 1.4fr;
    gap: 4rem;
    margin-top: 2rem;
}

.complete-look-showcase {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.primary-showcase-image {
    width: 250px;
    aspect-ratio: 1/1;
    background-color: var(--color-cream-dark);
    overflow: hidden;
}

.primary-showcase-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.look-details {
    flex-grow: 1;
}

.look-details h3 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.look-details p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.item-meta {
    display: flex;
    flex-direction: column;
    font-size: 0.8rem;
    gap: 0.25rem;
}

.complete-look-checklist {
    background-color: var(--color-cream-dark);
    padding: 2.5rem;
    border: 1px solid var(--color-border);
}

.complete-look-checklist h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.checklist-desc {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.checklist-items {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.checklist-item input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--color-gold);
}

.checklist-item label {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-size: 0.85rem;
    cursor: pointer;
}

.checklist-item.disabled {
    opacity: 0.65;
}

.addon-cat {
    font-size: 0.7rem;
    color: var(--color-text-muted);
}

.look-total-box .total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.look-total-box strong {
    font-size: 1.5rem;
    font-family: var(--font-serif);
}

/* --------------------------------------------------------------------------
   9. STYLE MATCH DISCOVERY STYLING
   -------------------------------------------------------------------------- */
.style-match-container {
    padding-top: 3rem;
    padding-bottom: 6rem;
}

.quiz-wrapper {
    max-width: 850px;
    margin: 0 auto;
    border: 1px solid var(--color-border);
    padding: 4rem;
}

.quiz-progress-bar {
    height: 3px;
    background-color: var(--color-border);
    margin-bottom: 3.5rem;
}

.progress-fill {
    height: 100%;
    background-color: var(--color-gold);
    transition: var(--transition-smooth);
}

.quiz-step {
    display: none;
}

.quiz-step.active {
    display: block;
}

.step-counter {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--color-gold);
    margin-bottom: 1rem;
}

.quiz-question {
    font-size: 2.25rem;
    font-weight: 400;
    margin-bottom: 2.5rem;
}

.quiz-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.quiz-option-card {
    border: 1px solid var(--color-border);
    background-color: var(--color-cream);
    padding: 2.5rem 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.quiz-option-card:hover {
    border-color: var(--color-gold);
    transform: translateY(-2px);
}

.quiz-option-card.active {
    background-color: var(--color-charcoal);
    color: var(--color-cream);
    border-color: var(--color-charcoal);
}

.option-icon-box {
    font-size: 2.25rem;
    color: var(--color-gold);
    margin-bottom: 1.25rem;
}

.quiz-option-card.active .option-icon-box {
    color: var(--color-gold);
}

.quiz-option-card h3 {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.step-nav {
    display: flex;
    justify-content: space-between;
}

.step-nav.dual-btn-nav {
    justify-content: space-between;
}

/* Results view */
.results-meta-header {
    margin-bottom: 3rem;
}

.selected-summary-pills {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.selected-summary-pills .pill {
    background-color: var(--color-cream-dark);
    border: 1px solid var(--color-border);
    padding: 0.35rem 0.85rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --------------------------------------------------------------------------
   10. EDITORIAL EDITORIAL CONTENT (ABOUT/CRAFT/CONTACT)
   ========================================================================== */
.editorial-pagebg {
    padding: 3rem 0;
    border-bottom: 1px solid var(--color-border);
}

.luxury-header {
    font-size: 3rem;
    font-weight: 400;
}

.editorial-body {
    padding: 4rem 2rem 6rem;
}

.editorial-block {
    margin-bottom: 6rem;
}

.editorial-image {
    background-size: cover;
    background-position: center;
    border: 1px solid var(--color-border);
}

.editorial-text h2 {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.editorial-text p {
    margin-bottom: 1.25rem;
    color: var(--color-text-muted);
}

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

.philosophy-card i {
    font-size: 2.25rem;
    color: var(--color-gold);
    margin-bottom: 1.5rem;
}

.philosophy-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

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

/* Craftsmanship steps */
.craft-intro-text p {
    font-size: 1.15rem;
    color: var(--color-text-muted);
}

.timeline-step {
    border-bottom: 1px solid var(--color-border-light);
    padding-bottom: 4rem;
}

.timeline-step:last-child {
    border-bottom: none;
}

.timeline-image {
    background-size: cover;
    background-position: center;
}

.timeline-text {
    padding: 0 2rem;
}

.step-num {
    font-size: 3.5rem;
    font-family: var(--font-serif);
    color: var(--color-border);
    display: block;
    line-height: 1;
    margin-bottom: 0.75rem;
}

.timeline-text h3 {
    font-size: 1.75rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

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

/* Contact page details */
.contact-details-card {
    padding-right: 3rem;
}

.showroom-intro-text {
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
}

.contact-specs-list {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.contact-spec-item {
    display: flex;
    gap: 1.25rem;
}

.contact-spec-item .icon-box {
    font-size: 1.5rem;
    color: var(--color-gold);
    width: 30px;
}

.contact-spec-item h4 {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
    color: var(--color-text-muted);
}

.contact-spec-item p {
    font-size: 0.9rem;
}

.map-placeholder-frame {
    width: 100%;
    height: 400px;
    background-color: var(--color-cream-dark);
    border: 1px solid var(--color-border);
    overflow: hidden;
}

.map-placeholder-frame iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.social-channels h3 {
    font-size: 1.15rem;
    margin-bottom: 0.25rem;
}

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

.social-links-grid {
    display: flex;
    gap: 1rem;
}

.social-btn {
    flex-grow: 1;
    text-align: center;
    border: 1px solid var(--color-border);
    padding: 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
}

.instagram-btn:hover {
    background-color: #E1306C;
    color: #ffffff;
    border-color: #E1306C;
}

.facebook-btn:hover {
    background-color: #1877F2;
    color: #ffffff;
    border-color: #1877F2;
}

/* --------------------------------------------------------------------------
   11. WISHLIST CUSTOM CONTAINER
   ========================================================================== */
.wishlist-container {
    padding-bottom: 6rem;
}

/* --------------------------------------------------------------------------
   12. FLASH MESSAGES NOTIFICATIONS
   ========================================================================== */
.flash-messages-container {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 380px;
    width: calc(100% - 40px);
}

.flash-message {
    background-color: var(--color-charcoal);
    color: var(--color-cream);
    border-left: 3px solid var(--color-gold);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    animation: slideIn 0.3s ease-out;
}

.flash-message.error {
    border-left-color: var(--color-error);
}

.flash-message.success {
    border-left-color: var(--color-success);
}

.flash-close-btn {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.25rem;
    cursor: pointer;
    line-height: 1;
    padding-left: 1rem;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* --------------------------------------------------------------------------
   13. FOOTER
   ========================================================================== */
.site-footer {
    background-color: var(--color-charcoal);
    color: var(--color-cream);
    padding: 6rem 0 3rem;
    border-top: 1px solid var(--color-charcoal-light);
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr;
    gap: 5rem;
}

.footer-brand-section h2 {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.footer-brand-section p {
    font-size: 0.85rem;
    color: rgba(252, 250, 247, 0.7);
    margin-bottom: 2rem;
    max-width: 320px;
}

.footer-social-links {
    display: flex;
    gap: 1.25rem;
}

.footer-social-links a {
    font-size: 1.15rem;
    color: rgba(252, 250, 247, 0.6);
}

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

.footer-links-section h3, .footer-contact-section h3 {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    margin-bottom: 1.75rem;
    color: var(--color-gold);
}

.footer-links-section nav {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer-links-section nav a {
    font-size: 0.85rem;
    color: rgba(252, 250, 247, 0.7);
}

.footer-links-section nav a:hover {
    color: var(--color-cream);
    padding-left: 4px;
}

.footer-contact-section p {
    font-size: 0.85rem;
    color: rgba(252, 250, 247, 0.7);
    margin-bottom: 1rem;
    display: flex;
    gap: 0.75rem;
}

.footer-contact-section i {
    color: var(--color-gold);
    margin-top: 3px;
}

.footer-address {
    line-height: 1.5;
}

.footer-bottom {
    max-width: 1280px;
    margin: 4rem auto 0;
    padding: 2rem 2rem 0;
    border-top: 1px solid var(--color-charcoal-light);
    text-align: center;
    font-size: 0.75rem;
    color: rgba(252, 250, 247, 0.4);
}

/* --------------------------------------------------------------------------
   14. RESPONSIVE MEDIA QUERIES
   ========================================================================== */
/* ════════════════════════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
   ════════════════════════════════════════════════════════════════════ */

/* ── Tablet / small desktop ── */
@media (max-width: 1024px) {
    .dual-grid {
        gap: 3rem;
    }
    .product-detail-grid {
        gap: 3rem;
    }
    .look-builder-wrapper {
        grid-template-columns: 1fr;
    }
    .complete-look-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .complete-look-showcase {
        justify-content: center;
    }
}

/* ── Mobile (≤ 768px) ───────────────────────────────────────────── */
@media (max-width: 768px) {

    /* ── HEADER ── */
    .desktop-nav,
    .btn-nav-contact {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;   /* show hamburger */
    }

    .header-container {
        padding: 0 1.25rem;
        height: 60px;
    }

    .site-logo {
        font-size: clamp(1rem, 4vw, 1.35rem);
    }

    /* ── HERO ── */
    .hero-content h1 {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }

    /* ── LAYOUT REFLOWS ── */
    .dual-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .timeline-step {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .order-2-mobile { order: 2; }
    .craft-content  { padding: 2rem 0; }
    .timeline-text  { padding: 0; }

    /* ── PRODUCT GRID ── */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .product-card-image {
        aspect-ratio: 1 / 1;
        overflow: hidden;
    }

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

    .product-card-info {
        padding: 0.75rem 0.5rem;
    }

    .product-card-info h3 {
        font-size: 0.88rem;
    }

    .product-card-price {
        font-size: 0.82rem;
    }

    .product-card-action {
        display: none;
    }

    /* ── SHOWROOM SIDEBAR OVERLAY ── */
    .showroom-wrapper {
        flex-direction: column;
        gap: 2rem;
    }
    .showroom-sidebar {
        position: fixed;
        top: 0;
        left: -100%;
        width: min(320px, 90vw);
        height: 100vh;
        background-color: var(--color-cream);
        z-index: 200;
        padding: 2rem;
        box-shadow: 10px 0 30px rgba(0,0,0,0.15);
        overflow-y: auto;
        transition: left 0.3s ease;
    }
    .showroom-sidebar.open { left: 0; }

    .sidebar-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 2rem;
        border-bottom: 1px solid var(--color-border);
        padding-bottom: 1rem;
    }
    .close-sidebar-btn {
        background: none;
        border: none;
        font-size: 1.5rem;
        cursor: pointer;
    }
    .open-filters-btn { display: inline-flex; }
    .showroom-toolbar { margin-bottom: 1.5rem; }

    /* ── COMPLETE LOOK ── */
    .complete-look-showcase {
        flex-direction: column;
        align-items: stretch;
    }
    .primary-showcase-image { width: 100%; }

    /* ── FOOTER ── */
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .footer-brand-section p { max-width: 100%; }

    /* ── STYLE MATCH QUIZ ── */
    .quiz-wrapper      { padding: 1.5rem 1.25rem; }
    .quiz-question     { font-size: 1.6rem; }
    .quiz-options-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    .quiz-option-card  { padding: 1rem 0.5rem; }

    /* ── STYLE MATCH RESULTS ── */
    .style-results-wrapper  { padding: 0 0.25rem; }

    .selected-summary-pills {
        gap: 0.4rem;
        justify-content: center;
    }
    .pill {
        font-size: 0.72rem;
        padding: 0.3rem 0.7rem;
    }

    .style-results-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    /* ── MISC ── */
    .no-results { padding: 3rem 1rem; }
    .no-results-actions { flex-direction: column; align-items: center; }
    .no-results-actions .btn { width: 100%; max-width: 260px; }
}

/* ── Small mobile (≤ 480px) ────────────────────────────────────── */
@media (max-width: 480px) {

    .container { padding: 0 1rem; }

    /* Product grid → 1 column if cards would be too tiny */
    .products-grid,
    .style-results-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.85rem;
    }

    .product-card-image {
        aspect-ratio: 1 / 1;
        overflow: hidden;
    }
    .product-card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .product-card-info h3    { font-size: 0.82rem; }
    .product-card-price      { font-size: 0.78rem; }
    .product-card-action     { display: none; }

    .quiz-options-grid       { grid-template-columns: 1fr; }
    .quiz-option-card        { padding: 0.9rem 0.75rem; }
    .quiz-question           { font-size: 1.4rem; }
    .step-counter            { font-size: 0.68rem; }

    .quiz-wrapper            { padding: 1.25rem 1rem; }

    .style-match-header h1   { font-size: 1.8rem; }
    .style-match-header p    { font-size: 0.88rem; }

    .results-count           { font-size: 0.9rem; }
    .match-reason            { font-size: 0.72rem; }
}

/* ── Very small mobile (≤ 360px) ───────────────────────────────── */
@media (max-width: 360px) {

    /* Single column at very narrow widths */
    .products-grid,
    .style-results-grid {
        grid-template-columns: 1fr;
    }

    .site-logo { font-size: 0.95rem; }

    .quiz-options-grid { gap: 0.6rem; }
}

/* ── Prevent ANY horizontal overflow ───────────────────────────── */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

img, video, iframe, embed, object {
    max-width: 100%;
}


/* ════════════════════════════════════════════════════════════════════
   STYLE MATCH RESULT HELPERS
   ════════════════════════════════════════════════════════════════════ */

.match-reason {
    font-size: 0.78rem;
    color: var(--color-gold, #c8a96e);
    margin: 0.3rem 0 0.5rem;
    font-style: italic;
    letter-spacing: 0.01em;
}

.match-reason i {
    margin-right: 0.3rem;
    font-size: 0.72rem;
}

.results-count {
    font-size: 1rem;
    color: var(--color-charcoal, #3c3c3c);
    letter-spacing: 0.02em;
    margin-bottom: 1.5rem;
}

.no-results {
    padding: 4rem 2rem;
    text-align: center;
}

.no-results h3 { margin-bottom: 0.75rem; }
.no-results p  { margin-bottom: 0; color: var(--color-muted, #888); }

.no-results-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.no-results-actions .btn {
    min-width: 130px;
}

