@font-face {
    font-family: 'Army';
    src: url('Assets/Fonts/ARMYD___.TTF') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Army';
    src: url('Assets/Fonts/ARMYDI__.TTF') format('truetype');
    font-weight: normal;
    font-style: italic;
}

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

body {
    font-family: 'Helvetica Neue', 'Arial', sans-serif;
    background: #0a0a0a;
    color: #fafafa;
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 4rem;
    z-index: 1000;
    background: transparent;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
}

.logo {
    font-family: 'Army', sans-serif;
    font-size: 1.8rem;
    color: #fafafa;
    letter-spacing: 0;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #fafafa;
    font-size: 0.9rem;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    transition: opacity 0.3s ease;
}

.nav-links a:hover {
    opacity: 0.6;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
                url('Assets/Product Photos/Lips/pendantconcreteinsidesilver.png') center/cover;
    position: relative;
}

.hero-logo {
    font-family: 'Army', sans-serif;
    font-size: 7rem;
    color: #fafafa;
    position: absolute;
    top: 12vh;
    left: 50%;
    transform: translateX(-50%);
}

.hero-bottom {
    position: absolute;
    bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-slogan {
    font-family: 'Inter', 'Helvetica', 'Arial', sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #E0E0E0;
    animation: fadeInUp 1s ease 0.3s both;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.scroll-indicator {
    font-size: 10px;
    color: #fafafa;
    opacity: 0.7;
    margin-top: 15px;
    animation: fadeInUp 1s ease 0.6s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* --- CLEANED PRODUCTS SECTION --- */

.products-section {
    padding: 8rem 4rem 0;
    background: #0a0a0a;
    position: relative;
    z-index: 5;
}

.products-header {
    font-family: 'Inter', 'Helvetica', 'Arial', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #E0E0E0;
    text-align: center;
    margin-bottom: 60px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* --- CARD BASE --- */
.product-item {
    text-align: left;
    text-decoration: none;
    display: block;
    position: relative;
    color: inherit;
    transition: transform 0.3s ease;
}

/* --- IMAGES & BADGES --- */
.product-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    margin-bottom: 1.2rem;
    background: #1a1a1a;
    min-height: 300px;
}

.product-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.2);
    transition: opacity 0.4s ease-in-out;
}

/* Specific Scale Adjustments per Model */
.product-image-wrapper img[src*="EyeConcreteSilver"],
.product-image-wrapper img[src*="BoobConcreteSilver"] {
    transform: scale(1.5);
}

.product-image-wrapper img[src*="NEWLIPconcreteSilver"] {
    transform: scale(1.1);
}

/* Hover Fade Effect */
.product-default { opacity: 1; }
.product-hover { opacity: 0; }

.product-item:hover .product-default { opacity: 0; }
.product-item:hover .product-hover { opacity: 1; }

/* Material Badges (Static Visual Cues) */
.material-badges {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    gap: 5px;
    z-index: 10;
    opacity: 0.8;
    pointer-events: none; /* Crucial: Prevents 404 clicks */
}

/* Common Badge Style */
.badge-silver, .badge-gold {
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 10px;
    padding: 4px 6px;
    border-radius: 2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(10, 10, 10, 0.9); /* Darker background for legibility */
    border: 1px solid #333;
    color: #E0E0E0;
}

.badge-gold {
    color: #C5A059; /* Gold Text */
    border-color: #C5A059; /* Gold Border */
}

/* --- PRODUCT INFO LAYOUT --- */
.product-info {
    margin-top: 1.2rem;
    text-align: left;
}

/* Header: Title + Type Badge */
.product-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.product-item h3 {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #E0E0E0;
    margin: 0;
}

.product-type {
    font-family: 'Inter', sans-serif;
    font-size: 9px;
    color: #666;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    border: 1px solid #333;
    padding: 3px 6px;
}

/* Meta: Materials + Price */
.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #1a1a1a;
    padding-top: 0.8rem;
    margin-bottom: 0.5rem;
}

.product-materials {
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 11px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.product-price {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #C5A059; /* Votive Gold */
    font-weight: 400;
}

/* Suite Hint (Ring/Earring) */
.product-suite-hint {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding-top: 4px;
    transition: color 0.3s ease;
}

.product-item:hover .product-suite-hint {
    color: #999;
}

.suite-icon {
    font-size: 12px;
    margin-right: 4px;
    display: inline-block;
    transform: translateY(1px);
}

/* Split Section */
.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

.split-content {
    padding: 8rem 6rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #0a0a0a;
}

.split-image {
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.split-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, #0a0a0a 0%, transparent 100%);
}

.gems-section .section-title {
    font-family: 'Inter', 'Helvetica', 'Arial', sans-serif;
    font-size: 1.2rem; /* Made bigger */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: #E0E0E0;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.section-title {
    font-family: 'Army', sans-serif;
    font-size: 3.5rem;
    margin-bottom: 2rem;
    letter-spacing: 0.2rem;
    font-weight: normal;
    line-height: 1.2;
}

.section-text {
    font-size: 0.9rem;
    line-height: 1.9;
    color: #ccc;
    margin-bottom: 2rem;
}

/* Full Width Image */
.full-width-image {
    width: 100%;
    height: 80vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(10,10,10,0.7) 100%);
}

.image-text {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
}

.image-text h3 {
    font-size: 3rem;
    letter-spacing: 0.3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 20px rgba(0,0,0,0.8);
}

.image-text p {
    font-size: 1.3rem;
    opacity: 0.9;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
}

/* Process Grid */
.process-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    min-height: 100vh;
}

.process-item {
    padding: 6rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid #222;
    background-size: cover;
    background-position: center;
    position: relative;
}

.process-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 10, 0.85);
    z-index: 1;
}

.process-item-content {
    position: relative;
    z-index: 2;
}

.process-number {
    font-size: 5rem;
    font-weight: bold;
    opacity: 0.15;
    margin-bottom: 1rem;
    letter-spacing: 0.2rem;
}

.process-item h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.15rem;
}

.process-item p {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.8;
}

/* Section Divider */
.section-divider {
    width: 100%;
    margin: -20rem 0;
    display: flex;
    align-items: center;
    overflow: visible;
    position: relative;
    z-index: 10;
}

.section-divider img {
    width: 100%;
    height: auto;
    display: block;
}

/* Section Separator */
.section-separator {
    height: 120px;
    margin-top: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0a0a0a;
    overflow: visible;
    position: relative;
    z-index: 10;
}

.vertical-line {
    position: relative;
    width: 1px;
    height: 80px;
    background-color: #888888;
    display: flex;
    align-items: center;
    justify-content: center;
}

.separator-label {
    position: absolute;
    background-color: #0a0a0a;
    padding: 5px 0;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #c1c1c1;
    font-family: 'Inter', 'Helvetica', 'Arial', sans-serif;
    white-space: nowrap;
    text-align: center;
}

/* Video Text Section */
.video-text-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #0a0a0a;
    margin-top: 4rem;
    position: relative;
}

.video-container {
    position: relative;
    overflow: hidden;
    display: flex;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.text-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0 6rem 60px 120px;
    background: #0a0a0a;
    text-align: left;
}

.model-content {
    max-width: 500px;
}

.philosophy-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.philosophy-quote {
    font-size: 2.5rem;
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 3rem;
    letter-spacing: 0.05rem;
}

.model-headline {
    font-family: 'Inter', 'Helvetica', 'Arial', sans-serif;
    font-size: 2.5rem;
    font-weight: 400;
    color: #E0E0E0;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    line-height: 1.4;
    margin-bottom: 2rem;
    text-align: left;
}

.model-body-text {
    font-family: 'Inter', 'Helvetica', 'Arial', sans-serif;
    font-size: 1rem;
    color: #CCCCCC;
    line-height: 1.6;
    margin: 0;
}

.philosophy-text {
    font-size: 1.2rem;
    line-height: 1.9;
    opacity: 0.85;
}

/* Gems Section */
.gems-section {
    padding: 8rem 4rem;
    overflow: visible !important;
    background: linear-gradient(rgba(12,12,12,0.9), rgba(12,12,12,0.9)), url('Assets/Product Photos/Lips/pendantconcreteinsidesilver.png') center/cover;
    position: relative;
}

.gems-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #333, transparent);
}

.gems-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #333, transparent);
    position: relative;
    z-index: 10;
}

.gems-header {
    text-align: center;
    margin-bottom: 4rem;
}

.gems-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 100px 30px;
    z-index: 2;
    overflow: visible !important; /* Crucial: lets the shadow spill out */
    padding: 40px 0; /* Adds safe space for the pop-up */
}
    

.gem-item {
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
    transform: scale(1.1);
    overflow: visible !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

/* --- FINAL GEMSTONE VISUALS --- */

.gem-item img {
    width: 100%;
    height: auto;
    margin-bottom: 1.5rem;
    display: block;
    
    /* 1. Hardware Acceleration (Prevents the "Snap/Dull" glitch) */
    will-change: transform, filter;
    backface-visibility: hidden;
    transform: translateZ(0); 

    /* 2. Smooth transition for the glow */
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* 3. REVERT TO FILTER (Hugs the stone, no gap)
   Since we added padding to the .gems-grid earlier, 
   this will NOT clip anymore.
*/

/* Black */
.gem-item:nth-child(1):hover img { 
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.5)); 
    transform: scale(1.05);
}
/* Sapphire */
.gem-item:nth-child(2):hover img { 
    filter: drop-shadow(0 0 15px rgba(20, 50, 200, 0.9)); 
}
/* Emerald */
.gem-item:nth-child(3):hover img { 
    filter: drop-shadow(0 0 15px rgba(20, 150, 50, 0.9)); 
}
/* Amethyst */
.gem-item:nth-child(4):hover img { 
    filter: drop-shadow(0 0 15px rgba(150, 50, 200, 0.9)); 
}
/* Ruby */
.gem-item:nth-child(5):hover img { 
    filter: drop-shadow(0 0 15px rgba(200, 20, 20, 0.9)); 
}
/* White */
.gem-item:nth-child(6):hover img { 
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.8)); 
}

/* Container scales up */
.gem-item:hover {
    transform: scale(1.3) translateY(-20px);
    z-index: 100;
}

.gem-lore {
    min-height: 20px;
    color: #E0E0E0;
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-style: italic;
    margin-top: 30px;
    text-align: center;
    transition: opacity 0.3s ease;
}

/* Horizontal section divider */
.section-divider-horizontal {
    margin: 100px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.horizontal-line {
    width: 200px;
    height: 1px;
    background-color: #888888;
}

/* Hide old tooltips */
.gem-item .gem-tooltip {
    display: none;
}

.gem-label {
    font-family: 'Helvetica Neue', 'Arial', sans-serif;
    font-size: 1.2rem;
    font-weight: normal;
    letter-spacing: 0.1rem;
    color: #fafafa;
    transition: all 0.3s ease;
    display: block;
}

.gem-item:hover .gem-label {
    transform: scale(1.1);
    letter-spacing: 0.2rem;
}

.subsection-title {
    font-family: 'Helvetica Neue', 'Arial', sans-serif;
    font-size: 1.5rem;
    letter-spacing: 0.3rem;
    text-align: center;
    color: #fafafa;
    margin: 6rem 0 0.5rem;
    text-transform: uppercase;
}

.piercings-grid {
    display: flex;
    justify-content: center;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

.piercing-item {
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    width: 300px;
    flex-shrink: 0;
}

.piercing-item:hover {
    transform: scale(1.1);
}

.piercing-item img {
    width: 100%;
    height: auto;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
}

.piercing-item:hover img {
    filter: brightness(1.3) contrast(1.1);
    transform: scale(1.1);
    transition: all 0.3s ease-out;
}

.piercing-item h4 {
    font-family: 'Helvetica Neue', 'Arial', sans-serif;
    font-size: 1.3rem;
    font-weight: normal;
    letter-spacing: 0.15rem;
    color: #fafafa;
    transition: all 0.3s ease;
}

.piercing-item:hover h4 {
    letter-spacing: 0.25rem;
}

/* --- CONTACT SECTION (THE COMMISSION) --- */
.contact-section {
    padding: 10rem 4rem; /* More breathing room */
    background: #0a0a0a;
    text-align: left; /* Switch to Editorial Left-Align */
    position: relative;
    border-top: 1px solid #222; /* Subtle separation */
}

.contact-content {
    max-width: 1200px;
    margin: 0; /* Align left */
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr; /* Form takes 60%, Info takes 40% */
    gap: 8rem; /* Large gap for that luxury feel */
}

/* Right Column Styling */
.contact-info-wrapper {
    padding-top: 8rem; /* Push it down visually to align with form fields */
    border-left: 1px solid #1a1a1a; /* Subtle vertical divider line */
    padding-left: 4rem;
}

.info-block {
    margin-bottom: 4rem;
}

.info-block h3 {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #666;
    margin-bottom: 1rem;
}

.info-block a, 
.info-block p {
    display: block;
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 1.1rem;
    color: #E0E0E0;
    text-decoration: none;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.info-block a:hover {
    color: #C5A059; /* Gold hover */
}
/* Typography Update */
.contact-section .section-title {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #E0E0E0;
    margin-bottom: 2rem;
}

.contact-section .section-text {
    font-family: 'Helvetica Neue', 'Arial', sans-serif;
    font-size: 1.5rem; /* Larger, conversational text */
    line-height: 1.4;
    color: #888;
    margin-bottom: 4rem;
    max-width: 500px;
}

/* The Inputs (Stone Slabs) */
.form-group {
    margin-bottom: 3rem; /* More space between fields */
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 1rem;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #666;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 0; /* Underline style only */
    border: none;
    border-bottom: 1px solid #333; /* The line */
    background: transparent;
    color: #fafafa;
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border-radius: 0;
}

/* The "Votive Gold" Focus State */
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: #C5A059; /* Gold Line */
    background: transparent;
}

.form-group textarea {
    resize: none;
    min-height: 100px;
}

/* The Button (The Gold Ingot) */
.submit-btn {
    background: transparent;
    color: #E0E0E0;
    border: 1px solid #333;
    padding: 1.5rem 4rem;
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s ease;
    width: 100%; /* Full width for mobile, or keep auto for desktop */
}

.submit-btn:hover {
    background: #C5A059; /* Gold Background */
    border-color: #C5A059;
    color: #000; /* Black Text */
}

/* --- FOOTER (THE ANCHOR) --- */
.footer {
    background: #000;
    padding: 3rem 4rem 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Massive Logo */
.footer-logo {
    font-family: 'Army', sans-serif;
    font-size: 12vw; /* Responsive huge size */
    color: #1a1a1a; /* Very dark grey (Subtle watermark look) */
    line-height: 1;
    margin-bottom: 4rem;
    user-select: none;
    display: block;
    letter-spacing: 0; /* Tighten it up */
}

.footer-text-wrapper {
    display: flex;
    justify-content: space-between; /* This pushes left and right apart */
    align-items: flex-end; /* Aligns them at the bottom */
    border-top: 1px solid #1a1a1a;
    padding-top: 2rem;
    margin-top: 2rem;
    
    /* Typography */
    font-family: 'Inter', sans-serif;
    color: #444;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    line-height: 1.8;
}

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

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

/* ========================================= */
/* PRODUCT PAGE STYLES (Merged from product.css) */
/* ========================================= */

.product-detail {
    padding: 10rem 4rem 6rem;
    background: #0a0a0a;
    min-height: 100vh;
}

.product-detail-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr; /* Image column slightly wider */
    gap: 6rem;
}

/* --- LEFT: GALLERY --- */
.product-gallery {
    position: sticky;
    top: 8rem;
    height: fit-content;
}

.gallery-main {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #151515;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

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

.gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.thumbnail {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.5;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.thumbnail:hover, .thumbnail.active {
    opacity: 1;
    border-color: #C5A059; /* Gold border */
}

/* --- RIGHT: THE RITUAL (DETAILS) --- */
.product-details {
    padding-top: 1rem;
}

.product-header-group h1 {
    font-family: 'Army', sans-serif;
    font-size: 3.5rem;
    color: #E0E0E0;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    font-weight: 400;
    letter-spacing: 0.2rem;
    -webkit-font-smoothing: antialiased;
}

.product-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #666;
    border: 1px solid #333;
    padding: 4px 8px;
}

.product-price {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    color: #C5A059;
    margin: 2rem 0;
}

.product-description p {
    font-family: 'Helvetica Neue', 'Arial', sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: #aaa;
    margin-bottom: 3rem;
}

.product-actions {
    margin-top: 4rem; /* Adds massive space above the button */
    position: relative;
    z-index: 5;
    clear: both; /* Ensures it sits below floated elements if any */
}

/* --- THE CONFIGURATOR --- */
.configurator {
    margin-bottom: 3rem;
    border-top: 1px solid #222;
    padding-top: 2rem;
}

.config-section {
    margin-bottom: 2.5rem;
}

.config-label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #666;
    margin-bottom: 1rem;
}

/* Stone Slab Buttons */
.toggle-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.config-btn {
    background: transparent;
    border: 1px solid #333;
    color: #888;
    padding: 1rem 1.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.btn-sub {
    font-size: 9px;
    opacity: 0.6;
    text-transform: none;
    font-style: italic;
}

.config-btn:hover {
    border-color: #666;
    color: #fff;
}

/* Active State (Gold) */
.config-btn.active-gold {
    border-color: #C5A059;
    color: #C5A059;
    background: rgba(197, 160, 89, 0.05);
}

.config-btn.active-silver {
    border-color: #E0E0E0;
    color: #E0E0E0;
    background: rgba(255, 255, 255, 0.05);
}

/* FIX 3: Form Factor Navigation (Pendant / Ring / Earring) */
.form-factor-nav {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #222;
    padding-bottom: 1rem;
}

.form-link {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
    padding-bottom: 2px;
}

.form-link:hover { color: #fff; }

.form-link.active {
    color: #E0E0E0;
    border-bottom: 1px solid #E0E0E0;
}
/* Hidden Section Animation */
.hidden-section {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.5s ease;
}

.hidden-section.visible {
    max-height: 800px; /* Increased to accommodate secondary gems */
    opacity: 1;
}

.divider-line {
    height: 1px;
    background: #222;
    margin: 2rem 0;
}

/* Gem Selectors */
.gem-selector {
    display: flex;
    gap: 15px;
    margin-bottom: 0.5rem;

    /* FIX CLIPPING: Add padding so the first gem has room to expand left */
    padding: 10px 5px; 
    /* Optional: Negative margin to realign it visually with the text above if needed */
    margin-left: 0;
}

/* Second Gem Selector (Hidden by default) - handled below */

.gem-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.2s ease;
    display: inline-block; /* Ensure buttons are visible */
}

.gem-btn:hover { transform: scale(1.1); }
.gem-btn.active { 
    border-color: #fff !important; 
    box-shadow: 0 0 10px rgba(255,255,255,0.3);
}

#gem-name-display, #gem-name-display-2 {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    color: #888;
    margin-top: 8px;
    font-style: italic;
}

.gem-label-small {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #888;
    
    /* FIX OVERLAP: Add breathing room below the label */
    margin-bottom: 10px; 
    margin-top: 1.5rem;
    display: block;
}

/* --- DYNAMIC THEME COLORS --- */

/* Price Colors */
.text-silver { color: #E0E0E0 !important; }
.text-gold { color: #C5A059 !important; }

/* Button Hover States */
.buy-button {
    /* Keep base styles */
    transition: all 0.3s ease;
    border: 1px solid transparent; /* Prepare for border transition */
}

/* Silver Theme Button */
.buy-button.theme-silver {
    background: #fafafa;
    color: #0a0a0a;
}
.buy-button.theme-silver:hover {
    background: #E0E0E0; /* Brighter Silver */
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

/* Gold Theme Button */
.buy-button.theme-gold {
    background: #C5A059; /* Gold Base */
    color: #0a0a0a;
}
.buy-button.theme-gold:hover {
    background: #D4AF37; /* Brighter Gold */
    box-shadow: 0 0 15px rgba(197, 160, 89, 0.4);
}

/* --- ACTIONS --- */
.buy-button {
    width: 100%;
    background: #fafafa;
    color: #0a0a0a;
    border: none;
    padding: 1.2rem;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 3rem;
    font-weight: 600;
}

.buy-button:hover {
    background: #C5A059;
}

/* Accordion Details */
details {
    border-bottom: 1px solid #222;
    padding: 1.2rem 0;
    cursor: pointer;
}

summary {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #E0E0E0;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

summary::after {
    content: '+';
    font-size: 14px;
}

details[open] summary::after {
    content: '-';
}

details ul, details p {
    margin-top: 1rem;
    padding-left: 1rem;
    color: #888;
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 13px;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 900px) {
    .product-detail-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .product-gallery { position: relative; top: 0; }
}

/* Mobile */
@media (max-width: 768px) {
    .footer-text-wrapper {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
        text-align: center;
    }
    .footer-left, .footer-right {
        text-align: center;
    }
}

/* Mobile responsive for footer */
@media (max-width: 768px) {
    .footer-text {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .section-divider {
        margin: -15rem 0;
    }

    .video-text-section {
        margin-top: 0;
    }

    .products-section {
        padding: 6rem 2rem 4rem;
    }

    .products-grid {
        gap: 2rem;
    }
}

@media (max-width: 1024px) {
    .split-section {
        grid-template-columns: 1fr;
    }

    .split-image {
        min-height: 50vh;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .video-text-section {
        grid-template-columns: 1fr;
    }

    .video-container {
        min-height: 50vh;
    }

    .text-container {
        padding: 4rem 2rem;
    }

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

    .section-divider {
        margin: -3rem 0;
    }

    .video-text-section {
        margin-top: 0;
    }

    .products-section {
        padding: 6rem 2rem 8rem;
    }

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

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

/* ========================================= */
/* MOBILE RESPONSIVE OPTIMIZATIONS           */
/* ========================================= */

@media (max-width: 768px) {

    /* --- FIX HORIZONTAL SCROLL --- */
    html, body {
        overflow-x: hidden;
        max-width: 100vw;
    }
    
    * {
        max-width: 100%;
        box-sizing: border-box;
    }

    /* --- 1. HEADER & LOGO (Fixing the Crash) --- */
    .navbar {
        padding: 1.5rem 1rem;
        flex-direction: column; /* Stack Logo on top of Links */
        gap: 1.5rem;
        background: rgba(10, 10, 10, 0.95); /* Always dark on mobile for readability */
    }

    .logo {
        font-size: 2rem; /* Slightly smaller to fit */
    }

    .nav-links {
        gap: 1.5rem;
        padding: 0;
        width: 100%;
        justify-content: center; /* Center links */
    }

    .nav-links a {
        font-size: 10px; /* Smaller font for mobile */
    }

    /* Fix Hero Logo height on mobile */
    .hero-logo {
        font-size: 15vw; /* Responsive size */
        top: 20vh;       /* Pushes it down (was likely 12vh) */
        width: 100%;     /* Ensures it centers properly */
        text-align: center;
    }

    /* --- 2. HERO SLOGAN (Fixing Full Width) --- */
    .hero-slogan {
        font-size: 11px;
        width: 80%; /* Constrain width so it doesn't touch edges */
        max-width: 300px;
        margin: 0 auto;
        line-height: 1.6; /* Better readability */
    }

    /* --- 3. PRODUCT CARDS (Tightening Space) --- */
    .products-section {
        padding: 6rem 1.5rem 2rem; /* Reduce side padding */
    }

    .products-grid {
        grid-template-columns: 1fr; /* Stack products 1 per row */
        gap: 4rem; /* Space between products */
    }

    /* Fix the "Black Space" inside the card */
    .product-info {
        margin-top: 0.8rem; /* Pull text closer to image */
    }

    .product-meta {
        margin-top: 0.5rem;
        padding-top: 0.5rem; /* Tighter lines */
    }

    /* --- 4 & 5. SEPARATORS (Fixing the Void) --- */
    /* Reduce the massive gaps above/below Fig II and III */
    
    .section-separator {
        height: 80px; /* Shorter line */
        margin-top: 40px; /* Less space above */
        margin-bottom: 40px; /* Less space below */
    }

    .vertical-line {
        height: 50px; /* Shorter physical line */
    }

    /* --- 6. PIERCINGS (Fixing the Edge Touching) --- */
    /* Fix Piercings Spacing */
    .piercings-grid {
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 2rem;
        padding: 0 20%;
        width: 100%;
        box-sizing: border-box;
    }

    .piercing-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 120px;
        flex-shrink: 0;
    }
    
    .piercing-item img {
        width: 80px;
        height: 80px;
        object-fit: contain;
        margin-bottom: 0.5rem;
    }
    
    .piercing-item h4 {
        font-size: 1rem;
        margin: 0;
    }

    /* --- 7. CONTACT FORM (Fixing Alignment) --- */
    .contact-section {
        padding: 6rem 1.5rem;
    }

    .contact-grid {
        grid-template-columns: 1fr; /* Stack Form on top of Info */
        gap: 4rem;
    }

    .contact-form-wrapper {
        padding-right: 0;
        text-align: center; /* Center the form elements? */
    }
    
    /* Make inputs feel better on mobile */
    .form-group input, 
    .form-group textarea {
        font-size: 16px; /* Prevents iOS zooming on focus */
    }

    .contact-info-wrapper {
        padding-top: 0;
        padding-left: 0;
        border-left: none;
        border-top: 1px solid #1a1a1a; /* Horizontal divider instead of vertical */
        padding-top: 3rem;
        
        /* Layout for info on mobile */
        display: flex;
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    /* --- EXTRA MOBILE POLISH --- */
    
    /* Model Section Text */
    .text-container {
        padding: 3rem 1.5rem; /* More readable padding */
    }
    
    .model-headline {
        font-size: 2rem; /* Prevent massive text breaking layout */
    }

    /* Footer */
    .footer {
        padding: 4rem 1.5rem 2rem;
    }
    
    .footer-logo {
        font-size: 18vw; /* Make logo huge on mobile */
    }
    
    .footer-text-wrapper {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-left, .footer-right {
        text-align: center;
    }
}

/* FORCE SECONDARY GEM VISIBILITY */
/* Secondary Gem Container - Shows only when Horseshoe is selected */
#secondary-gem-container {
    margin-top: 1.5rem;
    border-top: 1px dashed #333;
    padding-top: 1rem;
    margin-bottom: 2rem;
    min-height: 80px; 
    width: 100%;
    /* CRITICAL: Hidden by default, JavaScript shows it when needed */
    display: none;
}

/* When container is shown, ensure everything inside is visible */
#secondary-gem-container.visible,
#secondary-gem-container[style*="display: block"] {
    display: block !important;
}

/* Ensure the gem selector inside displays correctly when container is shown */
#gem-selector-2 {
    display: flex !important;
    gap: 15px;
    flex-wrap: wrap;
    visibility: visible !important;
}

/* Ensure gem buttons inside secondary selector are visible */
#gem-selector-2 .gem-btn {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 30px !important;
    height: 30px !important;
}
/* CRITICAL DEBUG RULES - Force secondary gems to show */
#secondary-gem-container[style*="display: block"] .gem-selector,
#secondary-gem-container[style*="display: block"] #gem-selector-2 {
    display: flex !important;
    visibility: visible !important;
}

#secondary-gem-container[style*="display: block"] .gem-btn {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    min-width: 30px !important;
    min-height: 30px !important;
}

/* ADDITIONAL MOBILE FIXES FOR GEMSTONES AND PIERCINGS */
@media (max-width: 768px) {
    /* Fix gemstone grid alignment */
    .gems-section .gems-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 1rem !important;
        padding: 2rem 0.5rem !important;
    }
    
    .gems-section .gem-item {
        min-height: 100px !important;
        justify-content: space-between !important;
    }
    
    .gems-section .gem-item img {
        width: 50px !important;
        height: 50px !important;
        margin-bottom: 0.3rem !important;
    }
    
    .gems-section .gem-label {
        font-size: 0.75rem !important;
        line-height: 1.1 !important;
        margin-top: 0.2rem !important;
    }
}
