/* ROOT VARIABLES */
:root {
    --oxblood: #661D1D;
    --oxblood-dark: #4A1515;
    --oxblood-light: #7D2525;
    --text-primary: #1A1A1A;
    --text-secondary: #6B6B6B;
    --text-muted: #999999;
    --bg-gallery: #F9F9F9;
    --bg-white: #FFFFFF;
    --border-light: #E0E0E0;
    --border-subtle: #EEEEEE;
    --font-display: 'Playfair Display', 'Didot', 'Georgia', serif;
    --font-display-sc: 'Playfair Display SC', 'Playfair Display', serif;
    --font-body: 'EB Garamond', 'Garamond', 'Times New Roman', serif;
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 40px;
    --space-xl: 64px;
    --space-2xl: 96px;
    --max-width: 1400px;
    --header-height: 84px;
}

/* RESET */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 20.8px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background-color: var(--bg-gallery);
    line-height: 1.6;
}

/* HEADER */
.site-header {
    background-color: var(--oxblood);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo-link {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.header-monogram {
    height: 54px;
    width: auto;
}

.header-logotype {
    height: 16px;
    width: auto;
    background: transparent;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.header-nav a {
    font-family: var(--font-display-sc);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: color 0.2s ease;
    position: relative;
}

.header-nav a:hover {
    color: #FFFFFF;
}

.header-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: rgba(255,255,255,0.6);
    transition: width 0.3s ease;
}

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

/* NAV DROPDOWN */
.nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(255,255,255,0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: none;
    padding: 16px 0 6px;
    min-width: 0;
    width: 100%;
    box-shadow: 0 6px 24px rgba(0,0,0,0.12);
}

.nav-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: -16px;
    right: -16px;
    height: 16px;
}

.nav-dropdown:hover .nav-dropdown-menu {
    display: block;
}

.nav-dropdown-menu a {
    display: block;
    padding: 7px 16px;
    color: var(--text-secondary) !important;
    font-family: var(--font-body);
    font-size: 0.82rem;
    letter-spacing: 0 !important;
}

.nav-dropdown-menu a:hover {
    background: rgba(0,0,0,0.03);
    color: var(--oxblood) !important;
}

.nav-dropdown-menu a::after {
    display: none;
}

/* HEADER ACTIONS */
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: var(--space-md);
}

.header-search-btn, .header-basket-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: rgba(255,255,255,0.85);
    cursor: pointer;
    padding: 6px;
    transition: color 0.2s ease;
    text-decoration: none;
    position: relative;
}

.header-search-btn:hover, .header-basket-btn:hover {
    color: #FFFFFF;
}

.basket-count {
    position: absolute;
    top: -4px;
    right: -6px;
    background: #FFFFFF;
    color: var(--oxblood);
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 600;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* SEARCH OVERLAY */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--oxblood);
    z-index: 200;
    padding: var(--space-md);
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

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

.search-overlay-inner {
    max-width: 640px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.search-input {
    flex: 1;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    color: #FFFFFF;
    font-family: var(--font-body);
    font-size: 1.1rem;
    padding: 12px 20px;
    outline: none;
    transition: border-color 0.2s;
}

.search-input::placeholder {
    color: rgba(255,255,255,0.5);
}

.search-input:focus {
    border-color: rgba(255,255,255,0.5);
}

.search-close {
    background: none;
    border: none;
    color: rgba(255,255,255,0.7);
    font-size: 1.8rem;
    cursor: pointer;
    padding: 4px 8px;
    line-height: 1;
    transition: color 0.2s;
}

.search-close:hover {
    color: #FFFFFF;
}

/* HERO SLIDER */
.hero {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 480px;
    max-height: 720px;
    overflow: hidden;
    background: #1A1A1A;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 2.5s ease;
    background-size: cover;
    background-position: center 40%;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(102,29,29,0.75) 0%, rgba(102,29,29,0.3) 40%, rgba(0,0,0,0.1) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding-bottom: var(--space-2xl);
}

.hero-logotype {
    height: 64px;
    width: auto;
    margin-bottom: var(--space-lg);
    opacity: 0.95;
}

.hero-cta {
    font-family: var(--font-display-sc);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    color: #FFFFFF;
    border: 1px solid rgba(255,255,255,0.6);
    padding: 14px 36px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero-cta:hover {
    background: rgba(255,255,255,0.12);
    border-color: #FFFFFF;
}

/* SECTION HEADINGS */
.section-heading {
    text-align: center;
    padding: var(--space-xl) var(--space-md) var(--space-lg);
}

.section-heading h2 {
    font-family: var(--font-display-sc);
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    color: var(--oxblood);
    margin-bottom: var(--space-xs);
}

.section-heading .rule {
    width: 48px;
    height: 1px;
    background: var(--oxblood);
    margin: 0 auto;
    opacity: 0.4;
}

/* FILTER BAR */
.filter-bar {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-md) var(--space-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.filter-categories {
    display: flex;
    gap: var(--space-xs);
}

.filter-btn {
    font-family: var(--font-body);
    font-size: 0.9rem;
    padding: 8px 20px;
    border: 1px solid var(--border-light);
    background: var(--bg-white);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn:hover {
    border-color: var(--oxblood);
    color: var(--oxblood);
}

.filter-btn.active {
    background: var(--oxblood);
    border-color: var(--oxblood);
    color: #FFFFFF;
}

.filter-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-dropdown {
    position: relative;
}

.filter-dropdown-btn {
    font-family: var(--font-body);
    font-size: 0.9rem;
    padding: 8px 32px 8px 16px;
    min-width: 7.2rem;
    border: 1px solid var(--border-light);
    background: var(--bg-white);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%236B6B6B' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    white-space: nowrap;
    text-align: left;
}

.filter-dropdown-btn:hover {
    border-color: var(--oxblood);
    color: var(--oxblood);
}

.filter-dropdown-btn.has-selection {
    border-color: var(--oxblood);
    color: var(--oxblood);
}

.filter-dropdown-panel {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 220px;
    max-height: 320px;
    overflow-y: auto;
    background: rgba(255,255,255,0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: none;
    box-shadow: 0 6px 24px rgba(0,0,0,0.12);
    z-index: 50;
    padding: 8px 0;
}

.filter-dropdown.open .filter-dropdown-panel {
    display: block;
}

.filter-checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 16px;
    cursor: pointer;
    transition: background 0.15s;
    font-family: var(--font-body);
    font-size: 0.82rem;
    color: var(--text-secondary);
    user-select: none;
}

.filter-checkbox-item:hover {
    background: var(--bg-gallery);
    color: var(--text-primary);
}

.filter-checkbox-item input[type="checkbox"] {
    accent-color: var(--oxblood);
    width: 15px;
    height: 15px;
    cursor: pointer;
    flex-shrink: 0;
}

.filter-reset-btn {
    font-family: var(--font-body);
    font-size: 0.9rem;
    padding: 8px 20px;
    border: 1px solid var(--border-light);
    background: var(--bg-white);
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.filter-reset-btn:hover {
    border-color: var(--oxblood);
    color: var(--oxblood);
}

/* SORT DROPDOWN */
.filter-sort {
    position: relative;
}

.filter-sort-btn {
    font-family: var(--font-body);
    font-size: 0.9rem;
    padding: 8px 32px 8px 16px;
    border: 1px solid var(--border-light);
    background: var(--bg-white);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%236B6B6B' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    white-space: nowrap;
}

.filter-sort-btn:hover {
    border-color: var(--oxblood);
    color: var(--oxblood);
}

.filter-sort-panel {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 200px;
    background: rgba(255,255,255,0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: none;
    box-shadow: 0 6px 24px rgba(0,0,0,0.12);
    z-index: 50;
    padding: 8px 0;
}

.filter-sort.open .filter-sort-panel {
    display: block;
}

.filter-sort-item {
    display: block;
    padding: 7px 16px;
    font-family: var(--font-body);
    font-size: 0.82rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: background 0.15s;
    white-space: nowrap;
}

.filter-sort-item:hover {
    background: rgba(0,0,0,0.03);
    color: var(--oxblood);
}

.filter-sort-item.active {
    color: var(--oxblood);
    font-weight: 500;
}

/* PRODUCT GRID */
.catalog-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-md) var(--space-2xl);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.product-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: transform 0.3s ease;
    margin-bottom: 24px;
}

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

.product-image-wrap {
    width: 100%;
    aspect-ratio: 3 / 4;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 8px 4px 8px;
}

.product-image-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-info {
    text-align: center;
    padding: 0 var(--space-xs) 0;
    width: 100%;
}

.product-card .product-artist {
    font-family: var(--font-display-sc);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    margin-bottom: 4px;
    text-transform: uppercase;
}

.product-card .product-title {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 400;
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: 6px;
    line-height: 1.3;
}

.product-card .product-meta {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.product-card .product-price {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--oxblood);
}

/* BACK TO TOP BUTTON */
.back-to-top-btn {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 90;
    font-family: var(--font-display-sc);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: var(--oxblood);
    background: var(--bg-white);
    border: 1px solid var(--oxblood);
    padding: 12px 32px;
    text-decoration: none;
    transition: bottom 0s;
    display: none;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    cursor: pointer;
}

.back-to-top-btn:hover {
    background: var(--oxblood);
    color: #FFF;
}

/* INFINITE SCROLL SENTINEL */
.scroll-sentinel {
    height: 1px;
    width: 100%;
}

.loading-indicator {
    text-align: center;
    padding: var(--space-lg) 0;
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* BREADCRUMB */
.breadcrumb {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0.6rem 1.15rem;
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

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

.breadcrumb span {
    margin: 0 0.4rem;
    color: var(--border-light);
}

/* PRODUCT PAGE LAYOUT */
.product-page {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.15rem 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* IMAGE GALLERY */
.gallery {
    position: sticky;
    top: calc(var(--header-height) + 16px);
}

.gallery-main {
    position: relative;
    background: var(--bg-gallery);
    aspect-ratio: 4 / 5;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: zoom-in;
}

.gallery-main img {
    max-width: 92%;
    max-height: 92%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.4s ease;
    position: absolute;
}

.gallery-main img.active {
    opacity: 1;
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--oxblood);
    width: 67px;
    height: 67px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: all 0.2s ease;
    font-size: 3.1rem;
    font-weight: 300;
    opacity: 0.7;
}

.gallery-arrow:hover {
    opacity: 1;
}

.gallery-arrow.prev {
    left: -28px;
}

.gallery-arrow.next {
    right: -28px;
}

.gallery-counter {
    position: absolute;
    bottom: 12px;
    right: 16px;
    font-family: var(--font-body);
    font-size: 0.65rem;
    color: var(--text-muted);
    background: rgba(249,249,249,0.85);
    padding: 2px 10px;
    z-index: 2;
}

.gallery-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 0.75rem;
    padding-bottom: 4px;
}

.gallery-thumb {
    flex: 0 0 108px;
    height: 108px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: border-color 0.2s ease;
    background: var(--bg-gallery);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
}

.gallery-thumb.active {
    border-color: var(--oxblood);
}

.gallery-thumb:hover {
    border-color: var(--oxblood-light);
}

.gallery-thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* PRODUCT DETAILS */
.product-details {
    padding-top: 0.5rem;
}

.product-page .product-artist {
    font-family: var(--font-display-sc);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: var(--oxblood);
    margin-bottom: 0.4rem;
}

.product-page .product-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.25;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.product-era {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.72rem;
    color: var(--text-secondary);
    border: 1px solid var(--border-light);
    padding: 4px 14px;
    margin-bottom: 1.8rem;
}

.product-page .product-price {
    font-family: var(--font-display);
    font-size: 1.85rem;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.product-page .product-price .currency {
    font-size: 1.1rem;
    vertical-align: super;
    margin-right: 2px;
}

.product-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 1.8rem;
}

.btn-buy {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--oxblood);
    color: #FFFFFF;
    border: none;
    font-family: var(--font-display-sc);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    padding: 14px 24px;
    cursor: pointer;
    transition: background 0.2s ease;
}

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

.btn-buy svg {
    flex-shrink: 0;
}

.btn-enquire {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    color: var(--text-primary);
    border: 1px solid var(--border-light);
    font-family: var(--font-display-sc);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    padding: 14px 24px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-enquire:hover {
    border-color: var(--oxblood);
    color: var(--oxblood);
}

.shipping-note {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    color: var(--text-secondary);
    margin-bottom: 1.8rem;
    padding-bottom: 1.8rem;
    border-bottom: 1px solid var(--border-subtle);
}

.shipping-note svg {
    flex-shrink: 0;
    color: var(--text-muted);
}

.detail-section {
    margin-bottom: 1.8rem;
}

.detail-section-title {
    font-family: var(--font-display-sc);
    font-size: 0.62rem;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid var(--border-subtle);
}

.detail-section p {
    font-size: 0.85rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.specs-table {
    width: 100%;
    font-family: var(--font-body);
    font-size: 0.8rem;
}

.specs-table tr {
    border-bottom: 1px solid var(--border-subtle);
}

.specs-table td {
    padding: 8px 0;
    vertical-align: top;
}

.specs-table td:first-child {
    color: var(--text-muted);
    width: 140px;
    font-size: 0.72rem;
}

.specs-table td:last-child {
    color: var(--text-primary);
}

.sku-label {
    font-family: var(--font-body);
    font-size: 0.65rem;
    color: var(--text-muted);
    margin-top: 0.75rem;
}

/* THE DOSSIER SECTION */
.dossier {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.15rem 3rem;
}

.dossier-inner {
    max-width: 720px;
    margin: 0 auto;
    border-top: 1px solid var(--border-light);
    padding-top: 3rem;
}

.dossier-monogram {
    display: block;
    margin: 0 auto 1.5rem;
    height: 56px;
    width: auto;
}

.dossier-title {
    font-family: var(--font-display-sc);
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    color: var(--oxblood);
    margin-bottom: 1.8rem;
    text-align: center;
}

.dossier-text {
    font-family: var(--font-body);
    font-size: 0.88rem;
    line-height: 1.85;
    color: var(--text-secondary);
}

.dossier-text p {
    margin-bottom: 1rem;
}

.dossier-text p:last-child {
    margin-bottom: 0;
}

.dossier-section {
    margin-top: 3rem;
}

.dossier-section .dossier-title {
    text-align: left;
}

.french-text-block {
    font-style: italic;
    margin-top: 0.75rem;
    padding: 1rem 1.5rem;
    border-left: 3px solid var(--oxblood-light);
    background: var(--bg-white);
}

.french-text-block p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.authenticity-badge {
    margin-top: 3rem;
    padding: 1.2rem;
    border: 1px solid var(--border-light);
    background: var(--bg-white);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.authenticity-badge svg {
    flex-shrink: 0;
    color: var(--oxblood);
    margin-top: 2px;
}

.authenticity-badge p {
    font-size: 0.76rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.authenticity-badge strong {
    color: var(--text-primary);
}

/* GALLERY WALL SECTION */
.gallery-wall-section {
    max-width: 720px;
    margin: 0 auto 3rem;
    padding: 0 1.15rem;
}

.gallery-wall-img {
    width: 100%;
    display: block;
}

.gallery-wall-text {
    margin-top: 1rem;
    font-family: var(--font-body);
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.6;
    text-align: center;
}

.gallery-wall-text strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

/* LIGHTBOX */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 300;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 32px;
    background: none;
    border: none;
    color: rgba(255,255,255,0.7);
    font-size: 2rem;
    cursor: pointer;
}

.lightbox-close:hover {
    color: #FFFFFF;
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255,255,255,0.7);
    font-size: 3rem;
    cursor: pointer;
    padding: 16px;
    transition: color 0.2s;
}

.lightbox-arrow:hover {
    color: #FFFFFF;
}

.lightbox-arrow.prev {
    left: 16px;
}

.lightbox-arrow.next {
    right: 16px;
}

/* FOOTER */
.site-footer {
    background: #3A3A3A;
    color: rgba(255,255,255,0.65);
    padding: 1.4rem 1.15rem;
    font-family: var(--font-body);
    font-size: 0.8rem;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.footer-left {
    flex: 1;
}

.footer-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.footer-monogram {
    height: 81px;
    width: auto;
    opacity: 0.15;
}

.footer-social {
    display: flex;
    gap: 16px;
    margin-top: 0.5rem;
}

.footer-social a {
    color: rgba(255,255,255,0.5);
    transition: color 0.2s;
    text-decoration: none;
}

.footer-social a:hover {
    color: #FFF;
}

.footer-right {
    text-align: right;
}

.footer-logo {
    height: 14px;
    width: auto;
    margin-bottom: 0.4rem;
    opacity: 0.7;
}

.footer-text {
    line-height: 1.5;
    margin-top: 0.2rem;
    max-width: 320px;
}

.footer-heading {
    font-family: var(--font-display-sc);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: rgba(255,255,255,0.7);
    margin-bottom: 0.4rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.25rem;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #FFF;
}

.footer-bottom {
    max-width: var(--max-width);
    margin: 0.8rem auto 0;
    padding-top: 0.6rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: 0.6rem;
}

/* RESPONSIVE BREAKPOINTS */
@media (min-width: 1200px) {
    .hero-slide {
        background-position: center 35%;
    }
}

@media (min-width: 1600px) {
    .hero-slide {
        background-position: center 30%;
    }
}

@media (min-width: 2000px) {
    .hero-slide {
        background-position: center 25%;
    }
}

@media (max-width: 1024px) {
    .catalog-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
}

@media (max-width: 960px) {
    .product-page {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .gallery {
        position: static;
    }
}

/* ============================================
   MOBILE NAV (hamburger + dropdown)
   ============================================ */

.hamburger-btn {
    display: none;
    background: none;
    border: none;
    color: rgba(255,255,255,0.85);
    cursor: pointer;
    padding: 6px;
    margin-left: 12px;
    transition: color 0.2s;
}

.hamburger-btn:hover { color: #FFFFFF; }

.hamburger-btn svg { display: block; }

/* Mobile overlay (catches taps to close) */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.25);
    z-index: 149;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
}

/* Mobile dropdown panel — sits below header */
.mobile-nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--oxblood);
    z-index: 150;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    max-height: calc(100vh - var(--header-height));
}

.mobile-nav.active {
    transform: translateY(0);
}

.mobile-nav-links {
    list-style: none;
    padding: 8px 0 16px;
}

.mobile-nav-links li {
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

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

.mobile-nav-links a {
    display: block;
    padding: 13px 24px;
    font-family: var(--font-display-sc);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.2s, background 0.2s;
}

.mobile-nav-links a:hover {
    color: #FFFFFF;
    background: rgba(255,255,255,0.06);
}

.mobile-nav-sublinks {
    list-style: none;
    padding: 0 0 6px;
    background: rgba(0,0,0,0.1);
}

.mobile-nav-sublinks a {
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 400;
    letter-spacing: 0;
    padding: 9px 24px 9px 40px;
    color: rgba(255,255,255,0.6);
}

.mobile-nav-sublinks a:hover {
    color: #FFFFFF;
}

@media (max-width: 768px) {
    html {
        font-size: 18.2px;
    }

    .header-nav {
        display: none;
    }

    .hamburger-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-nav-overlay {
        display: block;
        pointer-events: none;
    }

    .mobile-nav-overlay.active {
        pointer-events: auto;
    }

    .hero-slide {
        background-position: center 45%;
    }

    .hero-logotype {
        height: 48px;
    }

    .catalog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        padding: 0 var(--space-sm) var(--space-xl);
    }

    .product-image-wrap {
        padding: 16px;
    }

    .filter-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .product-actions {
        flex-direction: column;
    }

    .footer-inner {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
        text-align: center;
    }

    .footer-right {
        text-align: center;
    }

    .footer-text {
        max-width: none;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 16.6px;
    }

    .header-monogram {
        height: 38px;
    }

    .header-logotype {
        height: 12px;
    }

    .hero {
        min-height: 360px;
    }

    .hero-logotype {
        height: 36px;
    }

    .product-info {
        padding: var(--space-xs) 0 0;
    }

    .product-card .product-artist {
        font-size: 0.6rem;
    }

    .product-card .product-title {
        font-size: 0.8rem;
    }

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

    .header-actions {
        gap: 10px;
        margin-left: 12px;
    }

    .gallery-main {
        aspect-ratio: 1 / 1;
    }

    .gallery-thumb {
        flex: 0 0 80px;
        height: 80px;
    }

    .gallery-arrow.prev {
        left: -16px;
    }

    .gallery-arrow.next {
        right: -16px;
    }
}
