@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,400&family=Montserrat:wght@300;400;500;600&display=swap');

/* --- DESIGN SYSTEM & VARIABLES --- */
:root {
    --bg-primary: #0a0a09;
    --bg-secondary: #121210;
    --bg-tertiary: #1b1b19;
    --gold-primary: #d4af37;
    --gold-muted: #c5a880;
    --gold-bright: #f0d06b;
    --text-primary: #f5f2eb;
    --text-secondary: #b5b0a5;
    --text-dark: #121210;
    --burgundy: #521820;
    --burgundy-light: #7a2632;
    --border-color: rgba(212, 175, 55, 0.15);
    --border-color-hover: rgba(212, 175, 55, 0.4);
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Montserrat', sans-serif;
    --transition-smooth: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-fast: all 0.25s ease;
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-sans);
    overflow-x: hidden;
}

body {
    background-color: var(--bg-primary);
    background-image: radial-gradient(circle at 50% 0%, #1c1a15 0%, #0a0a09 70%);
    line-height: 1.6;
}

/* --- SCROLLBAR --- */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--gold-primary);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold-bright);
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, .brand-name {
    font-family: var(--font-serif);
    font-weight: 400;
    letter-spacing: 1px;
}

/* --- CONTAINER & UTILITIES --- */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* --- GLASSMORPHISM HEADER --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(10, 10, 9, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

header.scrolled {
    padding: 0.5rem 0;
    background: rgba(10, 10, 9, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.logo-section {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-main {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--gold-primary);
    text-shadow: 0 2px 10px rgba(212, 175, 55, 0.2);
}

.logo-sub {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 6px;
    color: var(--text-secondary);
    margin-top: -2px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
    padding: 0.5rem 0;
}

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

.nav-links a:hover {
    color: var(--gold-primary);
}

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

.btn-admin-nav {
    border: 1px solid var(--gold-primary);
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.75rem;
    background: transparent;
    color: var(--gold-primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: var(--transition-smooth);
}

.btn-admin-nav:hover {
    background: var(--gold-primary);
    color: var(--bg-primary);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

/* --- HERO SECTION --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    transform: scale(1.05);
    transition: transform 10s ease-out;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(10, 10, 9, 0.95) 30%, rgba(10, 10, 9, 0.5) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 750px;
    padding-left: 2rem;
}

.hero-tagline {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: var(--gold-muted);
    margin-bottom: 1.5rem;
    display: inline-block;
    border-left: 2px solid var(--gold-primary);
    padding-left: 1rem;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    font-weight: 300;
}

.hero h1 span {
    display: block;
    color: var(--gold-primary);
    font-weight: 700;
    font-style: italic;
    font-size: 5rem;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-weight: 300;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
}

.btn-luxury {
    display: inline-block;
    padding: 1rem 2.5rem;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-decoration: none;
    border-radius: 0;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.btn-luxury-primary {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-muted));
    color: var(--text-dark);
    border: none;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.35);
}

.btn-luxury-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.6);
    background: linear-gradient(135deg, var(--gold-bright), var(--gold-primary));
}

.btn-luxury-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-luxury-secondary:hover {
    border-color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.05);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--gold-muted);
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-decoration: none;
    animation: bounce 2s infinite;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--gold-primary), transparent);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
    40% { transform: translate(-50%, -10px); }
    60% { transform: translate(-50%, -5px); }
}

/* --- COLLECTIONS SECTION --- */
.section {
    padding: 8rem 0;
    border-bottom: 1px solid var(--border-color);
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-subtitle {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--gold-primary);
    display: block;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 300;
}

.section-title span {
    font-style: italic;
    color: var(--gold-muted);
}

.section-divider {
    width: 80px;
    height: 1px;
    background: var(--gold-primary);
    margin: 2rem auto 0 auto;
    position: relative;
}

.section-divider::after {
    content: '❖';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--bg-primary);
    color: var(--gold-primary);
    padding: 0 10px;
    font-size: 0.8rem;
}

/* --- FILTER BAR --- */
.filter-container {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.6rem 1.8rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
    border-color: var(--gold-primary);
    color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.05);
}

/* --- PRODUCTS GRID --- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 3.5rem;
}

/* --- PRODUCT CARD --- */
.product-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--border-color-hover);
    box-shadow: var(--card-shadow);
}

.product-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 130%; /* 4:5 Aspect Ratio for Portrait */
    overflow: hidden;
    background-color: #1a1917;
}

.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.5s ease;
}

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

.product-tag {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: rgba(10, 10, 9, 0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    color: var(--gold-primary);
    border: 1px solid var(--gold-primary);
    padding: 0.3rem 0.8rem;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.product-details {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-code {
    font-size: 0.75rem;
    color: var(--gold-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.product-name {
    font-size: 1.6rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.product-material {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-style: italic;
}

.product-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 300;
}

/* --- SWATCHES --- */
.color-options-title {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-bottom: 0.6rem;
}

.swatch-container {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.swatch {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid var(--bg-secondary);
    outline: 1px solid var(--border-color);
    position: relative;
    transition: var(--transition-fast);
}

.swatch:hover, .swatch.active {
    outline-color: var(--gold-primary);
    transform: scale(1.15);
}

.swatch-tooltip {
    position: absolute;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    background: rgba(10, 10, 9, 0.95);
    border: 1px solid var(--gold-primary);
    color: var(--text-primary);
    padding: 0.3rem 0.6rem;
    border-radius: 3px;
    font-size: 0.6rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-fast);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.swatch:hover .swatch-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* --- ACTION BUTTONS --- */
.card-actions {
    display: flex;
    gap: 1rem;
    margin-top: auto;
}

.btn-inquire {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--burgundy), #3a0d14);
    color: var(--text-primary);
    border: 1px solid var(--gold-primary);
    padding: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none;
}

.btn-inquire:hover {
    background: linear-gradient(135deg, var(--burgundy-light), var(--burgundy));
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

.btn-inquire svg {
    fill: currentColor;
    width: 14px;
    height: 14px;
}

/* --- WHOLESALE INFO --- */
.wholesale-info {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

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

.info-card {
    text-align: center;
    padding: 3rem 2rem;
    border: 1px solid var(--border-color);
    background-image: linear-gradient(to bottom, rgba(20, 19, 17, 0.3), rgba(10, 10, 9, 0.5));
}

.info-icon {
    font-size: 2.5rem;
    color: var(--gold-primary);
    margin-bottom: 1.5rem;
}

.info-card h3 {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.info-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 300;
}

/* --- FOOTER --- */
footer {
    background: #060605;
    padding: 5rem 0 3rem 0;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand h2 {
    font-size: 2rem;
    color: var(--gold-primary);
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    max-width: 320px;
    font-weight: 300;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

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

.footer-heading {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-primary);
    margin-bottom: 1.8rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 1px;
    background: var(--gold-primary);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.85rem;
    transition: var(--transition-fast);
    font-weight: 300;
}

.footer-links a:hover {
    color: var(--gold-primary);
    padding-left: 5px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 300;
}

.contact-item i {
    color: var(--gold-primary);
    font-size: 1rem;
}

.footer-bottom {
    border-top: 1px solid rgba(212, 175, 55, 0.08);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    text-decoration: none;
    color: var(--text-secondary);
}

/* --- INTERSECTION OBSERVER ANIMATIONS --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1), transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* --- ADMIN PANEL DRAWER (SLIDE IN FROM RIGHT) --- */
.admin-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 600px;
    max-width: 100vw;
    height: 100vh;
    background: rgba(18, 18, 16, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid var(--gold-primary);
    z-index: 1000;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.8);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.admin-drawer.open {
    right: 0;
}

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

.admin-title {
    font-size: 1.8rem;
    color: var(--gold-primary);
}

.btn-close-admin {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-close-admin:hover {
    color: var(--gold-primary);
    transform: rotate(90deg);
}

/* --- ADMIN PASSCODE SCREEN --- */
.admin-auth {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
    padding: 3rem;
    text-align: center;
}

.admin-auth h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.admin-auth p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 2rem;
}

.passcode-input-wrapper {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.passcode-input {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 1.5rem;
    text-align: center;
    letter-spacing: 5px;
    padding: 0.8rem 1.5rem;
    width: 200px;
}

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

.admin-content {
    display: none; /* Controlled by JS when authenticated */
    flex-direction: column;
    flex-grow: 1;
    overflow-y: auto;
    padding: 2rem;
}

/* --- ADMIN ACTIONS & FORMS --- */
.admin-toolbar {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.btn-admin {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 0.6rem 1.2rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-admin:hover {
    border-color: var(--gold-primary);
    color: var(--gold-primary);
}

.btn-admin-primary {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-muted));
    color: var(--text-dark);
    font-weight: 600;
}

.btn-admin-primary:hover {
    background: var(--gold-bright);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.admin-instructions {
    background: rgba(212, 175, 55, 0.05);
    border: 1px dashed var(--gold-primary);
    padding: 1.2rem;
    margin-bottom: 2rem;
    font-size: 0.8rem;
    color: var(--gold-muted);
}

.admin-instructions p {
    margin-bottom: 0.5rem;
}

.admin-instructions strong {
    color: var(--gold-primary);
}

.admin-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.admin-item {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.admin-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.8rem;
}

.admin-item-title {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-primary);
}

.admin-item-actions {
    display: flex;
    gap: 0.8rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.form-group label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
}

.form-group input, .form-group textarea, .form-group select {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.8rem;
    font-family: var(--font-sans);
    font-size: 0.85rem;
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none;
    border-color: var(--gold-primary);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* --- COLOR VARIANT EDITOR --- */
.color-variants-edit-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gold-primary);
    margin: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.variant-edit-row {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr auto;
    gap: 0.8rem;
    align-items: end;
    margin-bottom: 1rem;
    background: var(--bg-secondary);
    padding: 1rem;
    border: 1px solid var(--border-color);
}

.variant-edit-row input[type="file"] {
    display: none;
}

.file-upload-label {
    display: block;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.8rem;
    font-size: 0.75rem;
    text-align: center;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 160px;
    transition: var(--transition-fast);
}

.file-upload-label:hover {
    border-color: var(--gold-primary);
    color: var(--gold-primary);
}

.btn-delete-variant, .btn-delete-model {
    background: transparent;
    color: #cc3333;
    border: 1px solid rgba(204, 51, 51, 0.3);
    padding: 0.5rem;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-delete-variant:hover, .btn-delete-model:hover {
    background: rgba(204, 51, 51, 0.1);
    border-color: #cc3333;
}

.admin-footer {
    padding: 2rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    background: rgba(18, 18, 16, 0.98);
}

/* --- OVERLAY BLUR --- */
.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

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

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

/* --- RESPONSIVENESS --- */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3.5rem;
    }
    .hero h1 span {
        font-size: 4rem;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 1rem 1.5rem;
    }
    
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 25px;
        height: 18px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1010; /* Above nav drawer */
    }
    
    .mobile-menu-toggle span {
        display: block;
        width: 100%;
        height: 2px;
        background-color: var(--text-primary);
        transition: var(--transition-smooth);
        border-radius: 2px;
    }
    
    /* Toggle active state (forms 'X') */
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
        background-color: var(--gold-primary);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
        background-color: var(--gold-primary);
    }
    
    .nav-links {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 9, 0.98);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        z-index: 1000;
        transition: var(--transition-smooth);
        padding: 2rem;
    }
    
    .nav-links.open {
        right: 0;
    }
    
    .nav-links li {
        width: 100%;
        text-align: center;
    }
    
    .nav-links a {
        font-size: 1.3rem;
        display: block;
        width: 100%;
        padding: 0.5rem 0;
    }
    
    .btn-admin-nav {
        font-size: 1rem;
        padding: 0.7rem 2.2rem;
        border-radius: 25px;
        margin-top: 1rem;
    }
    .hero h1 {
        font-size: 2.8rem;
    }
    .hero h1 span {
        font-size: 3.2rem;
    }
    .hero p {
        font-size: 1rem;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    .products-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .section-title {
        font-size: 2.2rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .admin-drawer {
        width: 100%;
    }
    .variant-edit-row {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }
    .variant-edit-row .file-upload-label {
        max-width: none;
        grid-column: span 2;
    }
    .variant-edit-row .btn-delete-variant {
        grid-column: span 2;
        margin-top: 0.5rem;
    }
}

/* --- PRODUCT DETAIL MODAL --- */
.product-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(10, 10, 9, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    overflow-y: auto;
}

.product-modal.open {
    opacity: 1;
    pointer-events: auto;
}

.btn-close-modal {
    position: absolute;
    top: 2rem;
    right: 2.5rem;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition-fast);
    z-index: 1001;
}

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

.modal-content-container {
    width: 100%;
    max-width: 1200px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    max-height: 85vh;
    overflow: hidden;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.product-modal.open .modal-content-container {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}

.modal-image-column {
    position: relative;
    background: #151412;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    min-height: 500px;
}

.modal-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, opacity 0.3s ease;
}

.modal-image-column:hover .modal-image {
    transform: scale(1.05);
}

.modal-info-column {
    padding: 3.5rem 3rem;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    max-height: 85vh;
    border-left: 1px solid var(--border-color);
}

.modal-category {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gold-primary);
    margin-bottom: 0.5rem;
}

.modal-title {
    font-size: 2.8rem;
    font-weight: 300;
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
}

.modal-code {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold-muted);
    margin-bottom: 1.5rem;
    display: inline-block;
}

.modal-divider {
    width: 100%;
    height: 1px;
    background: var(--border-color);
    margin-bottom: 2rem;
}

.modal-section-title {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
}

.modal-material {
    font-size: 1rem;
    color: var(--text-primary);
    font-style: italic;
    margin-bottom: 2rem;
}

.modal-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.product-name a:hover {
    color: var(--gold-primary) !important;
}

/* Modal Responsiveness */
@media (max-width: 900px) {
    .modal-content-container {
        grid-template-columns: 1fr;
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .modal-image-column {
        height: 400px;
        min-height: auto;
    }
    
    .modal-info-column {
        padding: 2rem;
        max-height: none;
        border-left: none;
        border-top: 1px solid var(--border-color);
    }
    
    .modal-title {
        font-size: 2.2rem;
    }
}

