/* ==========================================================================
   SENCO GOLD & DIAMONDS CLONE CSS STYLESHEET
   Design System: Royal Purple/Maroon (#4A0E2E), Muted Gold (#C5A059), Cream Background (#FAF6F0)
   ========================================================================== */

/* 1. INITIAL SETUP & DESIGN TOKENS */
:root {
    --brand-purple: #4A0E2E;
    --brand-purple-light: #6A1B47;
    --brand-purple-dark: #2F051C;
    --brand-gold: #C5A059;
    --brand-gold-light: #E5C07B;
    --brand-gold-dark: #9F7E3B;
    --accent-red: #E21C26;
    --accent-green: #2E7D32;
    --bg-cream: #FAF6F0;
    --bg-white: #FFFFFF;
    --text-dark: #222222;
    --text-muted: #666666;
    --border-color: #EADEC9;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    --shadow-sm: 0 2px 8px rgba(74, 14, 46, 0.05);
    --shadow-md: 0 8px 24px rgba(74, 14, 46, 0.08);
    --shadow-lg: 0 16px 40px rgba(74, 14, 46, 0.12);
    --transition-fast: all 0.2s ease;
    --transition-normal: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-cream);
    line-height: 1.6;
    overflow-x: hidden;
}

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

button {
    font-family: var(--font-body);
    cursor: pointer;
    border: none;
    background: none;
    outline: none;
}

/* 2. TOP ANNOUNCEMENT BAR */
.top-announcement-bar {
    background-color: var(--brand-purple-dark);
    color: var(--brand-gold-light);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 8px 20px;
    height: 34px;
    overflow: hidden;
    position: relative;
    z-index: 100;
}

.carousel-text-wrapper {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.announcement-item i {
    margin-right: 6px;
    color: var(--brand-gold);
}

@media (max-width: 768px) {
    .carousel-text-wrapper {
        animation: textTicker 15s linear infinite;
        white-space: nowrap;
        justify-content: flex-start;
        gap: 50px;
    }
}

@keyframes textTicker {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* 3. MAIN HEADER & NAVIGATION */
.main-header {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 99;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px 30px;
    display: grid;
    grid-template-columns: 200px 1fr 200px;
    align-items: center;
    gap: 30px;
}

/* Logo Design */
.logo-container {
    cursor: pointer;
    text-align: left;
}

.logo-main {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--brand-purple);
    line-height: 1;
}

.logo-sub {
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: var(--brand-gold-dark);
    margin-top: 4px;
}

/* Search Container */
.search-container {
    display: flex;
    align-items: center;
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

.search-container input {
    width: 100%;
    padding: 12px 50px 12px 20px;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.85rem;
    font-family: var(--font-body);
    background-color: var(--bg-cream);
    color: var(--text-dark);
    transition: var(--transition-fast);
}

.search-container input:focus {
    border-color: var(--brand-purple-light);
    background-color: var(--bg-white);
    outline: none;
    box-shadow: 0 0 10px rgba(74, 14, 46, 0.05);
}

.search-container button {
    position: absolute;
    right: 5px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--brand-purple);
    color: var(--brand-gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.search-container button:hover {
    background-color: var(--brand-purple-light);
    color: var(--bg-white);
}

/* Action Icons */
.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
}

.action-item {
    font-size: 1.4rem;
    color: var(--brand-purple);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    transition: var(--transition-fast);
}

.action-item:hover {
    background-color: var(--bg-cream);
    color: var(--brand-gold-dark);
    transform: translateY(-2px);
}

.action-item .badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background-color: var(--brand-gold);
    color: var(--brand-purple-dark);
    font-size: 0.65rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-white);
}

/* Navigation Links */
.main-navbar {
    background-color: var(--brand-purple);
    border-top: 1px solid var(--brand-purple-light);
}

.nav-links {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 60px;
    list-style: none;
    padding: 0 20px;
}

.nav-link {
    display: block;
    color: var(--bg-cream);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    padding: 14px 20px;
    text-align: center;
    position: relative;
    transition: var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background-color: var(--brand-gold);
    transition: var(--transition-fast);
    transform: translateX(-50%);
}

.nav-link:hover,
.nav-link.active {
    color: var(--brand-gold-light);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.interactive-3d-link {
    color: var(--brand-gold-light);
    font-weight: 700;
}

.interactive-3d-link i {
    animation: floatIcon 2s infinite ease-in-out;
}

@keyframes floatIcon {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3px);
    }
}

/* Mobile Toggles */
.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--brand-purple);
}

/* Responsive Navbar Controls */
@media (max-width: 992px) {
    .header-container {
        grid-template-columns: auto 1fr auto;
        padding: 12px 20px;
        gap: 15px;
    }

    .main-navbar {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
        order: 1;
    }

    .logo-container {
        order: 2;
    }

    .search-container {
        display: none;
        /* Accessible in drawer or separate mobile element if needed, keep clean */
    }

    .header-actions {
        order: 3;
    }
}

/* 4. MOBILE DRAWER MENU */
.mobile-drawer {
    position: fixed;
    top: 0;
    left: -320px;
    width: 300px;
    height: 100vh;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: transform 0.3s cubic-bezier(0.77, 0.2, 0.05, 1.0);
    display: flex;
    flex-direction: column;
}

.mobile-drawer.open {
    transform: translateX(320px);
}

.drawer-header {
    padding: 20px;
    background-color: var(--brand-purple);
    color: var(--brand-gold-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.drawer-header h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
}

.close-drawer-btn {
    font-size: 1.4rem;
    color: var(--brand-gold-light);
}

.drawer-links {
    list-style: none;
    padding: 20px 0;
    overflow-y: auto;
}

.drawer-link {
    display: block;
    padding: 15px 25px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--brand-purple);
    border-bottom: 1px solid var(--bg-cream);
    transition: var(--transition-fast);
}

.drawer-link:hover,
.drawer-link.active {
    background-color: var(--bg-cream);
    padding-left: 35px;
    color: var(--brand-gold-dark);
}

.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(47, 5, 28, 0.4);
    backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

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

/* 5. HERO CAROUSEL */
.hero-slider {
    position: relative;
    height: 520px;
    width: 100%;
    overflow: hidden;
    background-color: var(--brand-purple-dark);
}

.slides-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide-content {
    max-width: 700px;
    padding: 50px 80px;
    color: var(--bg-cream);
}

.slide-tag {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--brand-gold-light);
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--brand-gold);
    padding-bottom: 5px;
}

.slide-content h2 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--bg-white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.slide-content p {
    font-size: 1.05rem;
    margin-bottom: 35px;
    color: rgba(250, 246, 240, 0.9);
}

.slide-actions {
    display: flex;
    gap: 15px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: var(--transition-normal);
}

.btn-gold {
    background-color: var(--brand-gold);
    color: var(--brand-purple-dark);
}

.btn-gold:hover {
    background-color: var(--brand-gold-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(197, 160, 89, 0.3);
}

.btn-outline-white {
    border: 2px solid var(--bg-white);
    color: var(--bg-white);
}

.btn-outline-white:hover {
    background-color: var(--bg-white);
    color: var(--brand-purple-dark);
    transform: translateY(-2px);
}

.btn-outline-purple {
    border: 2px solid var(--brand-purple);
    color: var(--brand-purple);
}

.btn-outline-purple:hover {
    background-color: var(--brand-purple);
    color: var(--bg-white);
}

/* Slider Controls */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(47, 5, 28, 0.5);
    border: 1px solid rgba(250, 246, 240, 0.2);
    color: var(--bg-white);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    z-index: 10;
}

.slider-btn:hover {
    background-color: rgba(74, 14, 46, 0.85);
    color: var(--brand-gold-light);
}

.slider-btn.prev {
    left: 30px;
}

.slider-btn.next {
    right: 30px;
}

.slider-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(250, 246, 240, 0.4);
    cursor: pointer;
    transition: var(--transition-fast);
}

.slider-dots .dot.active {
    background-color: var(--brand-gold);
    width: 28px;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .hero-slider {
        height: 420px;
    }

    .slide-content {
        padding: 30px 40px;
    }

    .slide-content h2 {
        font-size: 2.2rem;
    }

    .slide-content p {
        font-size: 0.9rem;
    }

    .slider-btn {
        display: none;
    }

    .slide-actions {
        flex-direction: column;
        gap: 10px;
    }
}

/* 6. TRUST PROMISES BAR */
.trust-promises {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    padding: 30px 40px;
    max-width: 1400px;
    margin: 0 auto;
    gap: 20px;
}

.promise-item {
    display: flex;
    align-items: center;
    gap: 15px;
    border-right: 1px solid var(--border-color);
    padding-right: 15px;
}

.promise-item:last-child {
    border-right: none;
}

.promise-item i {
    font-size: 2.2rem;
    color: var(--brand-gold-dark);
}

.promise-item h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--brand-purple-dark);
}

.promise-item p {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 3px;
}

@media (max-width: 992px) {
    .trust-promises {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .promise-item:nth-child(2) {
        border-right: none;
    }
}

@media (max-width: 576px) {
    .trust-promises {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .promise-item {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 15px;
    }

    .promise-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
}

/* 7. GENERAL SECTIONS STYLING */
.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 40px;
}

.bg-cream-flat {
    background-color: #FAF5EE;
    max-width: 100%;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--brand-purple);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--brand-gold);
}

.section-header p {
    margin-top: 15px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Tabs */
.tab-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.tab-btn {
    padding: 10px 24px;
    border: 1px solid var(--border-color);
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--brand-purple);
    transition: var(--transition-fast);
}

.tab-btn:hover,
.tab-btn.active {
    background-color: var(--brand-purple);
    color: var(--brand-gold-light);
    border-color: var(--brand-purple);
}

/* 8. 3D JEWELLERY HIGHLIGHT BANNER */
.three-d-promo-banner {
    max-width: 1400px;
    margin: 40px auto;
    background: linear-gradient(135deg, var(--brand-purple-dark) 0%, var(--brand-purple) 100%);
    border-radius: 8px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.three-d-banner-content {
    padding: 60px 80px;
    color: var(--bg-cream);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.badge-3d {
    background-color: var(--brand-gold);
    color: var(--brand-purple-dark);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 30px;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
}

.badge-3d i {
    margin-right: 4px;
}

.three-d-banner-content h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--bg-white);
}

.three-d-banner-content p {
    font-size: 0.95rem;
    color: rgba(250, 246, 240, 0.85);
    margin-bottom: 30px;
}

.three-d-banner-graphics {
    position: relative;
    background-color: rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 350px;
}

.model-viewer-placeholder {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background-color: rgba(250, 246, 240, 0.06);
    border: 1.5px dashed rgba(197, 160, 89, 0.35);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    text-align: center;
    padding-bottom: 18px;
    overflow: hidden;
}

.model-viewer-placeholder model-viewer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.tip-3d {
    position: relative;
    z-index: 2;
    font-size: 0.72rem;
    color: rgba(250, 246, 240, 0.65);
    pointer-events: none;
}

@media (max-width: 992px) {
    .three-d-promo-banner {
        grid-template-columns: 1fr;
    }

    .three-d-banner-content {
        padding: 40px;
        align-items: center;
        text-align: center;
    }

    .three-d-banner-graphics {
        min-height: 250px;
    }
}

/* 9. CATEGORY GRID */
.category-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
}

.category-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.category-card:hover {
    transform: translateY(-8px);
    border-color: var(--brand-gold);
    box-shadow: var(--shadow-md);
}

.cat-image-wrapper {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 20px auto;
    background-color: var(--bg-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid rgba(197, 160, 89, 0.2);
    transition: var(--transition-normal);
}

.category-card:hover .cat-image-wrapper {
    background-color: var(--brand-purple-dark);
}

.cat-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: var(--transition-normal);
}

.category-card:hover .cat-image-wrapper img {
    transform: scale(1.08);
    opacity: 0.9;
}

.placeholder-icon-cat {
    font-size: 2.2rem;
    color: var(--brand-purple-light);
}

.placeholder-icon-cat.gold-color {
    color: var(--brand-gold);
}

.placeholder-icon-cat.diamond-color {
    color: #8ecae6;
}

.category-card:hover .placeholder-icon-cat {
    color: var(--brand-gold-light);
}

.category-card h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: var(--brand-purple);
    margin-bottom: 12px;
}

.explore-link {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--brand-gold-dark);
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition-fast);
}

.category-card:hover .explore-link {
    color: var(--brand-purple);
}

.category-card:hover .explore-link i {
    transform: translateX(3px);
}

@media (max-width: 992px) {
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 576px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

/* 10. PRODUCT CARD & CONTAINER */
.product-cards-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.product-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.product-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    border-color: var(--brand-gold-light);
}

/* Badge/Tag */
.product-card-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: var(--brand-gold);
    color: var(--brand-purple-dark);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 2px;
    z-index: 5;
    text-transform: uppercase;
}

.product-card-3d-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: var(--brand-purple);
    color: var(--brand-gold-light);
    font-size: 0.65rem;
    font-weight: 700;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    transition: var(--transition-fast);
}

.product-card-3d-badge:hover {
    transform: scale(1.1) rotate(15deg);
    background-color: var(--brand-gold);
    color: var(--brand-purple-dark);
}

/* Wishlist Button */
.wishlist-btn {
    position: absolute;
    bottom: 125px;
    /* Above details */
    right: 15px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: var(--bg-white);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-purple-light);
    font-size: 1.1rem;
    z-index: 4;
    transition: var(--transition-fast);
}

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

.wishlist-btn.active i {
    font-weight: 900;
    color: var(--accent-red);
}

/* Image styling */
.product-image-container {
    width: 100%;
    height: 260px;
    background-color: var(--bg-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
}

.product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: var(--transition-normal);
}

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

/* Image fallback placeholder styling */
.img-placeholder-jewel {
    font-size: 4rem;
    color: var(--brand-gold-dark);
}

/* Product Details */
.product-info {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-category {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--brand-gold-dark);
    text-transform: uppercase;
    margin-bottom: 5px;
}

.product-title-card {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: var(--brand-purple);
    font-weight: 700;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 48px;
    line-height: 1.2;
}

/* Ratings */
.product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.7rem;
    color: var(--brand-gold);
    margin-bottom: 10px;
}

.rating-count {
    color: var(--text-muted);
    margin-left: 4px;
}

/* Price layout */
.price-row-card {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 15px;
}

.price-row-card .current-p {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--brand-purple-dark);
}

.price-row-card .original-p {
    font-size: 0.85rem;
    text-decoration: line-through;
    color: var(--text-muted);
}

.price-row-card .discount-p {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--accent-red);
}

/* Button Group */
.card-actions-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Side-by-side on desktop/tablet */
    gap: 8px;
    margin-top: auto;
    width: 100%;
}

.card-actions-wrapper > :only-child {
    grid-column: span 2; /* Span full width if only one button is present */
}

.product-card .btn-add-cart,
.product-card .btn-view-3d-card {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 0.68rem; /* Slightly smaller to fit side-by-side text safely */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    width: 100%;
    box-sizing: border-box;
}

.product-card .btn-add-cart {
    background-color: var(--brand-purple);
    color: var(--bg-cream);
    border: none;
    transition: var(--transition-fast);
}

.product-card .btn-add-cart:hover {
    background-color: var(--brand-purple-light);
    color: var(--bg-white);
}

.product-card .btn-view-3d-card {
    background-color: var(--bg-white);
    color: var(--brand-gold-dark);
    border: 1px solid var(--brand-gold);
    transition: var(--transition-fast);
}

.product-card .btn-view-3d-card:hover {
    background-color: var(--brand-gold-light);
    color: var(--brand-purple-dark);
    border-color: var(--brand-gold-light);
}

@media (max-width: 1200px) {
    .product-cards-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .product-cards-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .product-image-container {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .product-cards-container {
        grid-template-columns: 1fr;
    }
}

/* 11. BRAND HERITAGE BANNER */
.heritage-banner {
    background-size: cover;
    background-position: center;
    color: var(--bg-cream);
    text-align: center;
    padding: 100px 40px;
    margin: 40px auto;
}

.heritage-content {
    max-width: 900px;
    margin: 0 auto;
}

.heritage-tag {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--brand-gold-light);
    text-transform: uppercase;
}

.heritage-content h2 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    margin: 15px 0 25px 0;
    color: var(--bg-white);
}

.heritage-content p {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 40px;
    opacity: 0.9;
}

.badge-row {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.badge-item {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(197, 160, 89, 0.4);
    padding: 8px 18px;
    border-radius: 4px;
    background-color: rgba(47, 5, 28, 0.4);
}

.badge-item i {
    color: var(--brand-gold-light);
}

@media (max-width: 768px) {
    .heritage-banner {
        padding: 60px 20px;
    }

    .heritage-content h2 {
        font-size: 2rem;
    }

    .heritage-content p {
        font-size: 0.95rem;
    }

    .badge-row {
        gap: 15px;
    }
}

/* 12. SHOP / CATALOG PAGE STRUCTURE */
.shop-page-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}

.shop-sidebar {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 30px 24px;
    align-self: start;
    position: sticky;
    top: 110px;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1.5px solid var(--border-color);
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.filter-header h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--brand-purple);
}

.clear-filters-btn {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--brand-gold-dark);
    text-transform: uppercase;
    border-bottom: 1px solid transparent;
    transition: var(--transition-fast);
}

.clear-filters-btn:hover {
    color: var(--brand-purple);
    border-color: var(--brand-purple);
}

.filter-group {
    border-bottom: 1px solid var(--bg-cream);
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.filter-group:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.filter-group h4 {
    font-size: 0.88rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--brand-purple);
    margin-bottom: 15px;
}

.checkbox-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.custom-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-dark);
    cursor: pointer;
}

.custom-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--brand-purple);
    cursor: pointer;
}

/* Custom Toggle */
.custom-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--brand-purple);
}

.custom-toggle input {
    display: none;
}

.toggle-slider {
    width: 40px;
    height: 20px;
    background-color: var(--border-color);
    border-radius: 20px;
    position: relative;
    transition: var(--transition-fast);
}

.toggle-slider::after {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: var(--bg-white);
    top: 3px;
    left: 3px;
    transition: var(--transition-fast);
}

.custom-toggle input:checked+.toggle-slider {
    background-color: var(--brand-purple-light);
}

.custom-toggle input:checked+.toggle-slider::after {
    left: 23px;
    background-color: var(--brand-gold-light);
}

/* Shop Catalog Main */
.shop-main-content {
    display: flex;
    flex-direction: column;
}

.catalog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
}

.catalog-title-wrapper h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--brand-purple-dark);
}

.catalog-title-wrapper .item-count {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 5px;
    display: block;
}

.sort-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.sort-wrapper select {
    padding: 8px 15px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-white);
    border-radius: 4px;
    font-size: 0.8rem;
    font-family: var(--font-body);
    font-weight: 600;
    outline: none;
    color: var(--text-dark);
    cursor: pointer;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

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

@media (max-width: 992px) {
    .shop-page-wrapper {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .shop-sidebar {
        position: static;
        width: 100%;
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
}

/* 13. SHOPPING CART / WISHLIST DRAWER (SLIDE-IN) */
.cart-drawer {
    position: fixed;
    top: 0;
    right: -450px;
    width: 420px;
    height: 100vh;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: transform 0.3s cubic-bezier(0.77, 0.2, 0.05, 1.0);
    display: flex;
    flex-direction: column;
}

.cart-drawer.open {
    transform: translateX(-450px);
}

@media (max-width: 480px) {
    .cart-drawer {
        width: 100%;
        right: -100%;
    }

    .cart-drawer.open {
        transform: translateX(-100%);
    }
}

.cart-drawer-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding: 20px;
}

.cart-items-wrapper {
    flex-grow: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-bottom: 20px;
}

/* Cart Item Card */
.cart-item {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 15px;
    padding: 15px;
    background-color: var(--bg-cream);
    border-radius: 4px;
    border: 1px solid var(--border-color);
}

.cart-item-img {
    width: 80px;
    height: 80px;
    background-color: var(--bg-white);
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(197, 160, 89, 0.15);
}

.cart-item-img img {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
}

.cart-item-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cart-item-title {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--brand-purple);
    margin-bottom: 4px;
    line-height: 1.2;
}

.cart-item-metal {
    font-size: 0.65rem;
    color: var(--brand-gold-dark);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.cart-item-qty-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.qty-control {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    background-color: var(--bg-white);
    border-radius: 20px;
    padding: 2px 8px;
}

.qty-control button {
    font-size: 0.75rem;
    color: var(--brand-purple);
    padding: 2px 6px;
    font-weight: 800;
}

.qty-control span {
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0 8px;
    min-width: 20px;
    text-align: center;
}

.cart-item-price-block {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
}

.cart-item-price {
    font-weight: 700;
    color: var(--brand-purple-dark);
    font-size: 0.95rem;
}

.remove-cart-item {
    font-size: 1rem;
    color: var(--text-muted);
    transition: var(--transition-fast);
    padding: 5px;
}

.remove-cart-item:hover {
    color: var(--accent-red);
}

/* Cart Summary block */
.cart-summary {
    border-top: 1.5px solid var(--border-color);
    padding-top: 20px;
    margin-top: auto;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.summary-row.total-row {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--brand-purple-dark);
    margin-top: 15px;
    border-top: 1px solid var(--bg-cream);
    padding-top: 10px;
    margin-bottom: 20px;
}

.btn-checkout {
    width: 100%;
    padding: 16px;
    background-color: var(--brand-purple);
    color: var(--brand-gold-light);
    font-size: 0.9rem;
}

.btn-checkout:hover {
    background-color: var(--brand-purple-dark);
    color: var(--bg-white);
}

/* Empty States */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    text-align: center;
    padding: 40px;
}

.empty-state i {
    font-size: 4rem;
    color: var(--border-color);
    margin-bottom: 20px;
    animation: floatIcon 3s infinite ease-in-out;
}

.empty-state p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 25px;
}

/* 14. INTERACTIVE 3D VIEWER MODAL */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(47, 5, 28, 0.7);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden; /* Prevent overlay blocking clicks on load */
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-backdrop.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* 2D/3D View Mode Toggle Overlay Styles */
.view-mode-toggle-container {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 100;
    display: none; /* Shown dynamically via JS */
}

.view-toggle-switch {
    position: relative;
    display: inline-block;
    width: 170px;
    height: 36px;
    cursor: pointer;
}

.view-toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.view-toggle-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--brand-purple-light);
    border: 1px solid var(--brand-gold);
    border-radius: 30px;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
}

.view-toggle-slider::before {
    content: '';
    position: absolute;
    height: 28px;
    width: 82px;
    left: 4px;
    bottom: 3px;
    background-color: var(--brand-gold);
    border-radius: 20px;
    transition: var(--transition-normal);
    z-index: 1;
}

.toggle-text-2d, .toggle-text-3d {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 2;
    transition: var(--transition-fast);
    width: 50%;
    text-align: center;
}

.toggle-text-2d {
    color: var(--bg-cream);
}

.toggle-text-3d {
    color: var(--brand-purple-dark);
}

/* Checked (3D) position: slide indicator to right */
.view-toggle-switch input:checked + .view-toggle-slider::before {
    transform: translateX(80px);
}

.view-toggle-switch input:checked + .view-toggle-slider .toggle-text-2d {
    color: var(--brand-gold-light);
}

.view-toggle-switch input:checked + .view-toggle-slider .toggle-text-3d {
    color: var(--brand-purple-dark);
}

/* Static image container inside modal viewport */
.viewer-image-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background-color: #F3ECE2;
}

.viewer-image-container img {
    max-width: 75%;
    max-height: 75%;
    object-fit: contain;
    filter: drop-shadow(0 15px 30px rgba(74, 14, 46, 0.15));
}


.modal-container {
    background-color: var(--bg-white);
    width: 90%;
    max-width: 1100px;
    height: 85vh;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    display: flex;
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    color: var(--brand-purple);
    z-index: 20;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--bg-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.modal-close-btn:hover {
    background-color: var(--brand-purple);
    color: var(--bg-white);
    transform: rotate(90deg);
}

.modal-body-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    width: 100%;
    height: 100%;
}

/* Left side: Carousel container */
.viewer-section-3d {
    background-color: var(--bg-cream);
    position: relative;
    height: 100%;
    width: 100%;
    overflow: hidden;
    border-radius: 6px 0 0 6px;
}

.viewer-section-3d model-viewer {
    width: 100%;
    height: 100%;
    outline: none;
}

/* Loading overlay */
.viewer-loading-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #F3ECE2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    z-index: 10;
    transition: opacity 0.5s ease;
}

.viewer-loading-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(74, 14, 46, 0.1);
    border-top: 3px solid var(--brand-purple);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.viewer-tip {
    font-size: 0.72rem;
    color: var(--brand-purple-light);
    font-weight: 500;
}

/* Hotspot customization elements for model viewer */
.hotspot-info {
    background: rgba(47, 5, 28, 0.85);
    backdrop-filter: blur(4px);
    border: 1px solid var(--brand-gold);
    color: var(--brand-gold-light);
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    pointer-events: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}

/* Right side: Product summary details */
.viewer-details-section {
    padding: 40px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    height: 100%;
    border-left: 1px solid var(--border-color);
}

.product-badge {
    align-self: flex-start;
    background-color: var(--brand-purple);
    color: var(--brand-gold-light);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 2px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 15px;
}

.viewer-details-section .product-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--brand-purple-dark);
    line-height: 1.2;
    margin-bottom: 15px;
}

.viewer-details-section .price-block {
    display: flex;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 5px;
}

.viewer-details-section .current-price {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--brand-purple-dark);
}

.viewer-details-section .mrp {
    font-size: 1.1rem;
    text-decoration: line-through;
    color: var(--text-muted);
}

.viewer-details-section .discount-percent {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-red);
    background-color: rgba(226, 28, 38, 0.1);
    padding: 2px 8px;
    border-radius: 2px;
}

.making-charges {
    font-size: 0.78rem;
    color: var(--accent-green);
    font-weight: 600;
    margin-bottom: 25px;
}

.product-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Material Switcher customizer */
.model-customizer {
    margin-bottom: 35px;
}

.model-customizer h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--brand-purple);
    margin-bottom: 12px;
    letter-spacing: 0.05em;
}

.material-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.material-btn {
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-fast);
}

.material-btn:hover {
    border-color: var(--brand-purple);
}

.material-btn.active {
    border-color: var(--brand-gold-dark);
    background-color: var(--bg-cream);
    color: var(--brand-purple);
    box-shadow: 0 2px 8px rgba(197, 160, 89, 0.2);
}

.color-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    border: 1px solid rgba(0, 0, 0, 0.15);
}

.gold-dot {
    background-color: #ffd700;
}

.rose-dot {
    background-color: #b76e79;
}

.white-dot {
    background-color: #e5e4e2;
}

/* Modal Action Button Layouts */
.action-buttons-group {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 15px;
    margin-bottom: 35px;
}

.action-buttons-group button {
    height: 52px;
}

/* Assurances */
.product-assurances {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.assurance-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.assurance-item i {
    font-size: 1.1rem;
    color: var(--brand-gold-dark);
}

.assurance-item span {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-dark);
    text-transform: uppercase;
}

@media (max-width: 992px) {
    .modal-container {
        width: 95%;
        height: 90vh;
        max-height: 90vh;
        display: flex;
        flex-direction: column;
    }

    .modal-body-layout {
        display: flex;
        flex-direction: column;
        height: 100%;
        width: 100%;
        overflow-y: auto;
    }

    .viewer-section-3d {
        height: 300px;
        min-height: 300px;
        width: 100%;
    }

    .viewer-details-section {
        height: auto;
        flex-grow: 1;
        border-left: none;
        border-top: 1px solid var(--border-color);
        padding: 20px;
        overflow-y: visible;
    }

    .modal-close-btn {
        top: 12px;
        right: 12px;
        width: 36px;
        height: 36px;
        font-size: 1.2rem;
        z-index: 110;
    }
}

@media (max-width: 768px) {
    .section-container {
        padding: 40px 20px;
    }
    
    .catalog-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .viewer-section-3d {
        height: 240px;
        min-height: 240px;
    }
    
    .action-buttons-group {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .card-actions-wrapper {
        grid-template-columns: 1fr;
    }

    .card-actions-wrapper > :only-child {
        grid-column: span 1;
    }
}

@media (max-width: 480px) {
    .section-container {
        padding: 30px 15px;
    }
    
    .logo-main {
        font-size: 1.6rem;
    }
    
    .logo-sub {
        font-size: 0.52rem;
        letter-spacing: 0.18em;
    }
    
    .header-container {
        padding: 10px 15px;
        gap: 10px;
    }
    
    .action-item {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }
}

/* 15. SUCCESS ORDER MODAL */
.success-modal-card {
    background-color: var(--bg-white);
    padding: 50px 40px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--brand-gold);
    animation: modalPulse 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalPulse {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.success-icon {
    font-size: 4.5rem;
    color: var(--accent-green);
    margin-bottom: 25px;
}

.success-modal-card h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--brand-purple-dark);
    margin-bottom: 15px;
}

.success-modal-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.success-modal-card button {
    width: 100%;
}

/* 16. BRAND FOOTER */
.brand-footer {
    background-color: var(--brand-purple-dark);
    color: var(--bg-cream);
    font-family: var(--font-body);
}

.footer-top {
    max-width: 1400px;
    margin: 0 auto;
    padding: 70px 40px;
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 40px;
}

.footer-column h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--brand-gold-light);
    margin-bottom: 25px;
    font-weight: 700;
}

.brand-info p {
    font-size: 0.85rem;
    line-height: 1.7;
    margin-bottom: 25px;
    opacity: 0.8;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 38px;
    height: 38px;
    background-color: rgba(250, 246, 240, 0.08);
    color: var(--bg-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1rem;
    transition: var(--transition-fast);
    border: 1px solid rgba(250, 246, 240, 0.1);
}

.social-links a:hover {
    background-color: var(--brand-gold);
    color: var(--brand-purple-dark);
    transform: translateY(-3px);
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
    text-align: left;
}

.footer-column ul li a {
    font-size: 0.85rem;
    opacity: 0.8;
    transition: var(--transition-fast);
}

.footer-column ul li a:hover {
    opacity: 1;
    color: var(--brand-gold-light);
    padding-left: 5px;
}

/* Footer Middle */
.footer-middle {
    border-top: 1px solid rgba(250, 246, 240, 0.1);
    border-bottom: 1px solid rgba(250, 246, 240, 0.1);
    padding: 30px 40px;
}

.certifications {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.cert-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--brand-gold-light);
}

.cert-item i {
    font-size: 1.3rem;
    color: var(--brand-gold);
}

/* Footer Bottom */
.footer-bottom {
    padding: 25px 40px;
    text-align: center;
    font-size: 0.75rem;
    opacity: 0.6;
}

@media (max-width: 992px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .footer-top {
        grid-template-columns: 1fr;
    }

    .certifications {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

/* 17. MAIN CONTENT LAYOUT ROUTER VISIBILITY */
.view-section {
    display: none;
}

.view-section.active {
    display: block;
}

/* ============================================================
   3D JEWELLERY ZONE VIEW
   ============================================================ */

.zone3d-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 40px 80px;
}

/* Zone Header */
.zone3d-header {
    text-align: center;
    margin-bottom: 56px;
}

.zone3d-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--brand-purple-dark), var(--brand-purple));
    color: var(--brand-gold-light);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 8px 20px;
    border-radius: 30px;
    margin-bottom: 20px;
}

.zone3d-header h1 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    color: var(--brand-purple);
    position: relative;
    display: inline-block;
    padding-bottom: 18px;
    margin-bottom: 16px;
}

.zone3d-header h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background-color: var(--brand-gold);
    border-radius: 2px;
}

.zone3d-header p {
    color: var(--text-muted);
    font-size: 0.97rem;
    max-width: 600px;
    margin: 0 auto;
}

/* 3D Zone Product Grid */
.zone3d-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

/* 3D Zone Card */
.zone3d-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    position: relative;
}

.zone3d-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(74, 14, 46, 0.14);
    border-color: var(--brand-gold);
}

/* 3D showcase viewer area — live model-viewer with warm jewellery background */
.zone3d-card-viewer {
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
    /* Warm cream-to-gold gradient — mimics a lit jewellery display case */
    background: radial-gradient(ellipse at 50% 30%, #fff9f0 0%, #f5e8d0 45%, #e8d4b0 100%);
    border-bottom: 1px solid var(--border-color);
}

/* The actual model-viewer element inside the card */
.zone3d-model-viewer {
    width: 100%;
    height: 100%;
    --poster-color: transparent;
}

/* Loading spinner overlay for 3D zone cards */
.zone3d-loading-spinner {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    z-index: 4;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.zone3d-loading-spinner span {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--brand-purple);
    letter-spacing: 0.03em;
    opacity: 0.7;
}

.zone3d-spinner-ring {
    width: 38px;
    height: 38px;
    border: 3px solid rgba(74, 14, 46, 0.12);
    border-top-color: var(--brand-gold);
    border-radius: 50%;
    animation: zone3dSpin 0.9s linear infinite;
}

@keyframes zone3dSpin {
    to { transform: rotate(360deg); }
}

/* 3D badge on card */
.zone3d-card-3d-tag {
    position: absolute;
    top: 14px;
    right: 14px;
    background-color: var(--brand-purple);
    color: var(--brand-gold-light);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 5px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 5;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    pointer-events: none;
}

/* Hover overlay */
.zone3d-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(74,14,46,0.72) 0%, transparent 55%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 22px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.zone3d-card:hover .zone3d-card-overlay {
    opacity: 1;
}

.zone3d-view-btn {
    background-color: var(--brand-gold);
    color: var(--brand-purple-dark);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 10px 24px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    pointer-events: none;
}

/* Card body */
.zone3d-card-body {
    padding: 20px 22px 22px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.zone3d-card-category {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--brand-gold-dark);
}

.zone3d-card-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--brand-purple);
    margin: 2px 0 8px;
    line-height: 1.3;
}

.zone3d-card-price-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.zone3d-card-price {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--brand-purple-dark);
}

.zone3d-card-mrp {
    font-size: 0.82rem;
    text-decoration: line-through;
    color: var(--text-muted);
}

.zone3d-card-discount {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--accent-red);
}

/* Responsive */
@media (max-width: 1100px) {
    .zone3d-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .zone3d-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .zone3d-wrapper {
        padding: 40px 20px 60px;
    }

    .zone3d-header h1 {
        font-size: 2rem;
    }

    .zone3d-card-viewer {
        height: 240px;
    }
}

/* ============================================================
   MODAL IMAGE CAROUSEL (replaces old 2D/3D toggle)
   ============================================================ */

/* Carousel wrapper fills the left panel */
.modal-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: var(--bg-cream);
    border-radius: 6px 0 0 6px;
}

/* Sliding track — all slides sit side by side */
.modal-carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.42s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

/* Individual slide */
.modal-carousel-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-cream);
    position: relative;
    overflow: hidden;
}

.modal-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 20px;
}

/* Last slide: the 3D model-viewer — warm jewellery showcase background */
.modal-slide-3d {
    background: radial-gradient(ellipse at 50% 30%, #fff9f0 0%, #f5e8d0 45%, #e8d4b0 100%);
}

.modal-slide-3d model-viewer {
    width: 100%;
    height: 100%;
    background: transparent;
    --poster-color: transparent;
    --progress-bar-color: var(--brand-gold);
    --progress-mask: transparent;
}
.modal-slide-3d {
    background: radial-gradient(ellipse at 50% 30%, #fff9f0 0%, #f5e8d0 45%, #e8d4b0 100%);
}

.modal-slide-3d model-viewer {
    width: 100%;
    height: 100%;
    background: transparent;
}

/* Loader overlay inside 3D slide */
.modal-3d-loading {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    background: rgba(250, 246, 240, 0.92);
    color: var(--brand-purple);
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 5;
    pointer-events: none;
}

/* Arrow buttons */
.modal-carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(74, 14, 46, 0.65);
    border: 1px solid rgba(197, 160, 89, 0.3);
    color: var(--brand-gold-light);
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    cursor: pointer;
    transition: var(--transition-fast);
}

.modal-carousel-arrow:hover {
    background: var(--brand-purple);
    color: var(--brand-gold-light);
}

.modal-carousel-prev { left: 12px; }
.modal-carousel-next { right: 12px; }

/* Dots row */
.modal-carousel-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10;
}

.modal-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(250, 246, 240, 0.4);
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
    padding: 0;
    font-size: 0;
    line-height: 0;
}

.modal-dot.active {
    background: var(--brand-gold);
    width: 22px;
    border-radius: 4px;
}

/* 3D dot — shows cube icon, slightly larger */
.modal-dot.dot-3d {
    width: auto;
    height: auto;
    border-radius: 20px;
    padding: 4px 10px;
    background: rgba(74, 14, 46, 0.7);
    color: var(--brand-gold);
    font-size: 0.65rem;
    border: 1px solid rgba(197, 160, 89, 0.4);
}

.modal-dot.dot-3d.active {
    background: var(--brand-purple);
    color: var(--brand-gold-light);
    width: auto;
    border-radius: 20px;
}

/* ============================================================
   PRODUCT CARD — slide indicator chip
   ============================================================ */
.card-slide-indicator {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(47, 5, 28, 0.72);
    color: rgba(250, 246, 240, 0.9);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 4px 10px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(4px);
    pointer-events: none;
    z-index: 4;
}

.badge-3d-pill {
    background: var(--brand-gold);
    color: var(--brand-purple-dark);
    padding: 1px 6px;
    border-radius: 10px;
    font-size: 0.6rem;
}

/* ============================================================
   PRODUCT CARD — special offer strip & Made In tag
   ============================================================ */

.product-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 4px;
}

.card-made-in {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.62rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.card-made-in img {
    border-radius: 2px;
    vertical-align: middle;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.1);
}

.card-offer-strip {
    display: flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(90deg, #fff8e8, #fff3d4);
    border: 1px solid #e8c96a;
    border-left: 3px solid var(--brand-gold-dark);
    color: #7a5200;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 3px;
    margin-bottom: 10px;
    letter-spacing: 0.02em;
}

.card-offer-strip i {
    color: var(--brand-gold-dark);
    font-size: 0.65rem;
}

/* MRP note on card */
.mrp-note {
    font-size: 0.68rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-left: 2px;
}

/* ============================================================
   MODAL RIGHT PANEL — Made In & MRP note
   ============================================================ */

.viewer-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.viewer-made-in {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: var(--bg-cream);
    border: 1px solid var(--border-color);
    padding: 4px 10px;
    border-radius: 20px;
}

.viewer-made-in img {
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.1);
}

.mrp-incl-note {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 500;
    display: block;
    margin-top: 2px;
}

/* ============================================================
   3D ZONE CARD — meta row, offer strip, MRP note
   ============================================================ */

.zone3d-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 4px;
    flex-wrap: wrap;
}

.zone3d-made-in {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.zone3d-made-in img {
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.1);
}

.zone3d-mrp-note {
    font-size: 0.68rem;
    color: var(--text-muted);
    font-weight: 500;
}

.zone3d-offer-strip {
    display: flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(90deg, #fff8e8, #fff3d4);
    border: 1px solid #e8c96a;
    border-left: 3px solid var(--brand-gold-dark);
    color: #7a5200;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 3px;
    margin-top: 8px;
    letter-spacing: 0.02em;
}

.zone3d-offer-strip i {
    color: var(--brand-gold-dark);
    font-size: 0.65rem;
}

/* ============================================================
   3D Zone Global Loading Overlay
   ============================================================ */
.zone3d-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(14, 8, 8, 0.96); /* Elegant premium dark backdrop */
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    pointer-events: auto;
}

.zone3d-loading-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.zone3d-loading-content {
    text-align: center;
    color: #ffffff;
    max-width: 450px;
    padding: 30px;
    background: rgba(26, 17, 17, 0.8);
    border: 1px solid rgba(197, 160, 89, 0.25);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
}

.zone3d-logo-spin {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #f5d799, #c5a059);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(197, 160, 89, 0.4);
    animation: pulseCube 2s infinite ease-in-out;
}

.zone3d-logo-spin i {
    font-size: 2rem;
    color: #1a1111;
    animation: spinCube 4s infinite linear;
}

.zone3d-loading-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #c5a059;
    margin-bottom: 10px;
    letter-spacing: 0.05em;
}

.zone3d-loading-content p {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: #cccccc;
    margin-bottom: 25px;
    line-height: 1.5;
}

.zone3d-progress-container {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 12px;
}

.zone3d-progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #f5d799, #c5a059);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.zone3d-progress-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    color: #c5a059;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

@keyframes spinCube {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulseCube {
    0%, 100% { transform: scale(1); box-shadow: 0 4px 20px rgba(197, 160, 89, 0.4); }
    50% { transform: scale(1.08); box-shadow: 0 4px 30px rgba(197, 160, 89, 0.7); }
}

/* ============================================================
   SKU display — card & modal
   ============================================================ */

.card-sku {
    font-size: 0.62rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.04em;
    margin-bottom: 6px;
    font-family: var(--font-body);
}

.viewer-sku {
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.04em;
    margin-top: -6px;
    margin-bottom: 14px;
    font-family: var(--font-body);
}

/* ============================================================
   360° STORE TOUR — NAV LINK
   ============================================================ */
.tour360-nav-link {
    color: var(--brand-gold-light) !important;
    font-weight: 700;
    animation: pulse360 2.5s ease-in-out infinite;
}

.tour360-nav-link i {
    animation: spin360slow 6s linear infinite;
    display: inline-block;
}

@keyframes spin360slow {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse360 {
    0%, 100% { text-shadow: 0 0 0px transparent; }
    50%       { text-shadow: 0 0 12px rgba(197, 160, 89, 0.6); }
}

/* ============================================================
   360° TOUR LANDING VIEW
   ============================================================ */
.tour360-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 30px 80px;
}

.tour360-header {
    text-align: center;
    margin-bottom: 50px;
}

.tour360-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--brand-gold-dark), var(--brand-gold));
    color: var(--brand-purple-dark);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 7px 18px;
    border-radius: 30px;
    margin-bottom: 20px;
    box-shadow: 0 4px 14px rgba(197, 160, 89, 0.3);
}

.tour360-header h1 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--brand-purple);
    margin-bottom: 14px;
    position: relative;
    display: inline-block;
    padding-bottom: 16px;
}

.tour360-header h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-gold-dark), var(--brand-gold-light));
}

.tour360-header p {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 580px;
    margin: 16px auto 0;
    line-height: 1.7;
}

/* 360 card */
.tour360-card {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.35s ease;
}

.tour360-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(74, 14, 46, 0.18);
}

.tour360-card-preview {
    position: relative;
    overflow: hidden;
    min-height: 380px;
}

.tour360-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.tour360-card:hover .tour360-thumb {
    transform: scale(1.06);
}

.tour360-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(47, 5, 28, 0.55), rgba(74, 14, 46, 0.35));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.tour360-card:hover .tour360-card-overlay {
    opacity: 1;
}

.tour360-play-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--brand-gold-light);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.tour360-play-btn i {
    font-size: 3.5rem;
    filter: drop-shadow(0 4px 12px rgba(197, 160, 89, 0.6));
    animation: breathe360 2s ease-in-out infinite;
}

@keyframes breathe360 {
    0%, 100% { transform: scale(1); }
    50%       { transform: scale(1.1); }
}

.tour360-card-info {
    padding: 48px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
    background: linear-gradient(160deg, var(--bg-white) 60%, #faf1e8 100%);
}

.tour360-card-info h2 {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--brand-purple);
    line-height: 1.3;
}

.tour360-card-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.75;
}

.tour360-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tour360-features span {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--brand-purple-light);
    letter-spacing: 0.03em;
}

.tour360-features span i {
    color: var(--brand-gold-dark);
    width: 16px;
    text-align: center;
}

.tour360-card-info .btn {
    align-self: flex-start;
    margin-top: 8px;
    gap: 8px;
}

@media (max-width: 768px) {
    .tour360-card {
        grid-template-columns: 1fr;
    }
    .tour360-card-preview {
        min-height: 240px;
    }
    .tour360-card-overlay {
        opacity: 1;
    }
    .tour360-card-info {
        padding: 30px 24px;
    }
    .tour360-header h1 {
        font-size: 2rem;
    }
}

/* ============================================================
   360° FULLSCREEN PANORAMA MODAL
   ============================================================ */
.tour360-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: #0a0408;
    display: flex;
    flex-direction: column;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

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

/* Header bar */
.tour360-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 22px;
    background: linear-gradient(90deg, var(--brand-purple-dark) 0%, #1e0313 100%);
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
    z-index: 10;
    flex-shrink: 0;
    transition: max-height 0.3s ease, padding 0.3s ease, border-color 0.3s ease;
    position: relative;
    max-height: 80px;
}

.tour360-modal-header.collapsed {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    border-bottom-color: transparent;
    overflow: visible;
}

.tour360-modal-header.collapsed > *:not(.tour360-header-toggle-btn) {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.tour360-header-toggle-btn {
    position: absolute;
    bottom: -24px;
    left: 50%;
    transform: translateX(-50%);
    width: 42px;
    height: 24px;
    background: rgba(30, 3, 19, 0.95);
    border: 1px solid rgba(197, 160, 89, 0.4);
    border-top: none;
    border-radius: 0 0 8px 8px;
    color: var(--brand-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    transition: background 0.2s, color 0.2s;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.tour360-header-toggle-btn:hover {
    background: var(--brand-purple-dark);
    color: var(--brand-gold-light);
}

.tour360-modal-header.collapsed + .tour360-canvas-wrapper .tour360-back-btn {
    top: 14px !important;
}

.tour360-modal-header.collapsed + .tour360-canvas-wrapper .tour360-inspect-exit-btn {
    top: 14px !important;
}

.tour360-modal-title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--brand-gold-light);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tour360-modal-title i {
    font-size: 1.2rem;
    color: var(--brand-gold);
}

.tour360-modal-controls {
    display: flex;
    gap: 8px;
}

.tour360-ctrl-btn {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(197, 160, 89, 0.1);
    border: 1px solid rgba(197, 160, 89, 0.2);
    color: var(--brand-gold-light);
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, color 0.2s ease;
    cursor: pointer;
}

.tour360-ctrl-btn:hover {
    background: var(--brand-gold);
    color: var(--brand-purple-dark);
    border-color: var(--brand-gold);
}

.tour360-close-btn {
    background: rgba(226, 28, 38, 0.15);
    border-color: rgba(226, 28, 38, 0.3);
    color: #ff6b6b;
}

.tour360-close-btn:hover {
    background: #E21C26;
    color: white;
    border-color: #E21C26;
}

.tour360-light-control {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(197, 160, 89, 0.1);
    border: 1px solid rgba(197, 160, 89, 0.2);
    border-radius: 8px;
    padding: 0 12px;
    height: 38px;
    color: var(--brand-gold-light);
    font-size: 0.85rem;
}

.tour360-light-control input[type="range"] {
    width: 80px;
    cursor: pointer;
    accent-color: var(--brand-gold);
    background: transparent;
}

.tour360-light-control span {
    font-weight: 700;
    min-width: 24px;
    text-align: right;
    font-family: monospace;
}

/* Canvas (viewer area) */
.tour360-canvas-wrapper {
    flex: 1;
    position: relative;
    overflow: hidden;
    cursor: grab;
    user-select: none;
    background: #0a0408;
}

.tour360-canvas-wrapper.dragging {
    cursor: grabbing;
}

/* The equirectangular image is now rendered by Three.js WebGL canvas */
.tour360-canvas-wrapper canvas {
    display: block;
    width: 100%;
    height: 100%;
}

/* Hint overlay */
.tour360-gyro-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(47, 5, 28, 0.75);
    border: 1px solid rgba(197, 160, 89, 0.3);
    color: var(--brand-gold-light);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    padding: 8px 18px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(6px);
    animation: fadeHint 4s ease forwards;
    pointer-events: none;
}

@keyframes fadeHint {
    0%   { opacity: 1; }
    70%  { opacity: 1; }
    100% { opacity: 0; }
}

/* Compass */
.tour360-compass {
    position: absolute;
    bottom: 30px;
    right: 26px;
    width: 42px;
    height: 42px;
    background: rgba(47, 5, 28, 0.7);
    border: 1px solid rgba(197, 160, 89, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-gold);
    font-size: 1.3rem;
    backdrop-filter: blur(6px);
    pointer-events: none;
    transition: transform 0.1s linear;
}

/* Fullscreen overrides */
.tour360-modal:-webkit-full-screen { width: 100vw; height: 100vh; }
.tour360-modal:-moz-full-screen    { width: 100vw; height: 100vh; }
.tour360-modal:fullscreen          { width: 100vw; height: 100vh; }


/* ============================================================
   360° TOUR — JEWELLERY INSPECT MODE (in-scene, no overlay)
   Exit button + product label rendered over the Three.js canvas
   ============================================================ */

/* Exit close-up button — top-left of canvas */
.tour360-inspect-exit-btn {
    position: absolute;
    top: 60px;
    right: 14px;
    z-index: 1100;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    background: #14051e;
    color: var(--brand-gold-light, #e8cf92);
    border: 1px solid rgba(197, 160, 89, 0.45);
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.04em;
    cursor: pointer;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
    pointer-events: auto;
}

.tour360-inspect-exit-btn:hover {
    background: rgba(197, 160, 89, 0.22);
    color: #fff;
    border-color: var(--brand-gold, #c8a84b);
}

.tour360-inspect-exit-btn i {
    font-size: 0.85rem;
}

/* Product name + hint label — bottom-centre of canvas */
.tour360-inspect-label {
    position: absolute;
    bottom: 54px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1100;
    text-align: center;
    white-space: nowrap;
    padding: 9px 22px 10px;
    background: rgba(12, 3, 20, 0.78);
    border: 1px solid rgba(197, 160, 89, 0.3);
    border-radius: 28px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    pointer-events: none;
    animation: tour360LabelFadeIn 0.4s ease forwards;
}

@keyframes tour360LabelFadeIn {
    from { opacity: 0; transform: translateX(-50%) translateY(10px); }
    to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.tour360-inspect-label .ilab-title {
    display: block;
    font-family: var(--font-heading, 'Playfair Display', serif);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--brand-gold-light, #e8cf92);
    letter-spacing: 0.02em;
    margin-bottom: 3px;
}

.tour360-inspect-label .ilab-hint {
    display: block;
    font-size: 0.67rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

.tour360-inspect-label .ilab-hint kbd {
    display: inline-block;
    padding: 0px 5px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 4px;
    font-size: 0.62rem;
    color: rgba(255,255,255,0.65);
    font-family: inherit;
}

@media (max-width: 576px) {
    .tour360-inspect-label .ilab-title { font-size: 0.9rem; }
    .tour360-inspect-label .ilab-hint  { font-size: 0.59rem; }
    .tour360-inspect-exit-btn          { font-size: 0.72rem; padding: 7px 12px; }
}

.tour360-loading-overlay {
    position: absolute;
    inset: 0;
    z-index: 200;
    background: radial-gradient(ellipse at center, #1a0a12 0%, #0a0408 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.tour360-loading-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.tour360-loading-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 40px;
}

.tour360-loading-spinner {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 3px solid rgba(197, 160, 89, 0.15);
    border-top-color: var(--brand-gold);
    animation: tour360Spin 1s linear infinite;
}

@keyframes tour360Spin {
    to { transform: rotate(360deg); }
}

.tour360-loading-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--bg-cream);
    letter-spacing: 0.04em;
    margin: 0;
    text-align: center;
}

.tour360-loading-bar-track {
    width: 260px;
    max-width: 80vw;
    height: 6px;
    background: rgba(197, 160, 89, 0.12);
    border-radius: 3px;
    overflow: hidden;
}

.tour360-loading-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--brand-gold-dark), var(--brand-gold), var(--brand-gold-light));
    border-radius: 3px;
    transition: width 0.3s ease;
}

.tour360-loading-pct {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: rgba(250, 246, 240, 0.45);
    letter-spacing: 0.06em;
    margin: 0;
}


/* ============================================================
   360° TOUR LANDING — Showcase sections grid
   ============================================================ */

.tour360-showcase-grid {
    margin-top: 48px;
}

.tour360-showcase-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--brand-purple);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-color);
}

.tour360-showcase-title i {
    color: var(--brand-gold-dark);
}

.tour360-showcase-sections {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.tour360-section-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    cursor: pointer;
}

.tour360-section-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--brand-gold);
}

.tour360-section-preview {
    width: 100%;
    height: 140px;
    overflow: hidden;
    background: radial-gradient(ellipse at 50% 30%, #fff9f0 0%, #f5e8d0 60%, #e8d4b0 100%);
}

.tour360-section-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.5s ease;
}

.tour360-section-card:hover .tour360-section-preview img {
    transform: scale(1.08);
}

.tour360-section-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--brand-purple);
    color: var(--brand-gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    margin: 16px 16px 0;
    flex-shrink: 0;
    align-self: flex-start;
}

.tour360-section-info {
    padding: 8px 16px 14px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.tour360-section-label {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--brand-purple);
}

.tour360-section-count {
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--brand-gold-dark);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .tour360-showcase-sections {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .tour360-showcase-sections {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .tour360-section-preview {
        height: 110px;
    }
}

/* ============================================================
   360° TOUR — EDITOR MODE CSS
   ============================================================ */

/* Banner at the top of the canvas */
.tour360-editor-banner {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(197, 160, 89, 0.95);
    border: 1px solid var(--brand-purple-dark);
    color: var(--brand-purple-dark);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 10px 22px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    z-index: 40;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tour360-editor-banner.visible {
    opacity: 1;
    pointer-events: auto;
}

.editor-banner-reset-btn {
    background: rgba(255, 107, 107, 0.15);
    color: #ff6b6b;
    border: 1px solid rgba(255, 107, 107, 0.3);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 0.72rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: 15px;
}

.editor-banner-reset-btn:hover {
    background: rgba(255, 107, 107, 0.3);
    border-color: #ff6b6b;
    color: #fff;
}

/* Properties panel on the right/left */
.tour360-editor-panel {
    position: absolute;
    top: 80px;
    right: 20px;
    width: 320px;
    background: rgba(15, 6, 12, 0.92);
    border: 1px solid rgba(197, 160, 89, 0.3);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    z-index: 40;
    display: flex;
    flex-direction: column;
    color: var(--bg-cream);
    font-family: var(--font-body);
    opacity: 0;
    pointer-events: none;
    transform: translateX(30px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    backdrop-filter: blur(8px);
    max-height: calc(100% - 150px);
}

.tour360-editor-panel.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
}

.tour360-editor-panel-header {
    padding: 14px 18px;
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
}

.tour360-editor-panel-header h3 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--brand-gold);
    display: flex;
    align-items: center;
    gap: 8px;
}

.tour360-editor-panel-body {
    padding: 16px 18px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1;
}

.editor-field-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.editor-field-group label {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(250, 246, 240, 0.7);
}

.editor-field-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.editor-field-value {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--brand-gold-light);
}

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

.editor-field-controls input[type="range"] {
    flex: 1;
    accent-color: var(--brand-gold);
    height: 4px;
    background: rgba(250, 246, 240, 0.15);
    border-radius: 2px;
    border: none;
}

.editor-num-input {
    width: 65px;
    background: rgba(250, 246, 240, 0.08);
    border: 1px solid rgba(197, 160, 89, 0.25);
    color: white;
    font-size: 0.75rem;
    padding: 4px 6px;
    border-radius: 4px;
    text-align: center;
    font-weight: 600;
}

.editor-num-input:focus {
    border-color: var(--brand-gold);
    outline: none;
}

.tour360-editor-panel-footer {
    padding: 14px 18px;
    border-top: 1px solid rgba(197, 160, 89, 0.2);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.editor-save-btn, .editor-reset-btn {
    width: 100%;
    padding: 10px;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.editor-save-btn {
    background: var(--brand-gold);
    color: var(--brand-purple-dark);
    border: 1px solid var(--brand-gold);
}

.editor-save-btn:hover {
    background: var(--brand-gold-light);
    border-color: var(--brand-gold-light);
    box-shadow: 0 4px 12px rgba(197, 160, 89, 0.25);
}

.editor-reset-btn {
    background: transparent;
    color: rgba(255, 107, 107, 0.85);
    border: 1px solid rgba(255, 107, 107, 0.3);
}

.editor-reset-btn:hover {
    background: rgba(255, 107, 107, 0.1);
    color: #ff6b6b;
    border-color: #ff6b6b;
}

.editor-action-group {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
}

.editor-dup-btn, .editor-del-btn {
    flex: 1;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.editor-dup-btn {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.editor-dup-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.editor-del-btn {
    background: rgba(255, 107, 107, 0.15);
    color: #ff8080;
    border: 1px solid rgba(255, 107, 107, 0.3);
}

.editor-del-btn:hover {
    background: rgba(255, 107, 107, 0.25);
    color: #ff9b9b;
    border-color: #ff9b9b;
}

/* Toast Notification */
.tour360-toast {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: rgba(47, 5, 28, 0.95);
    border: 1px solid var(--brand-gold);
    color: var(--brand-gold-light);
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 2500;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.5);
    transform: translateY(100px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease;
    pointer-events: none;
}

.tour360-toast.visible {
    transform: translateY(0);
    opacity: 1;
}

/* Export Modal Overlay */
.tour360-export-modal {
    position: fixed;
    inset: 0;
    background: rgba(10, 4, 8, 0.85);
    z-index: 2600;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 20px;
}

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

.tour360-export-content {
    background: #170712;
    border: 1px solid rgba(197, 160, 89, 0.4);
    border-radius: 14px;
    width: 600px;
    max-width: 100%;
    padding: 28px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
    color: var(--bg-cream);
    display: flex;
    flex-direction: column;
    gap: 16px;
    animation: tour360ZoomInModal 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes tour360ZoomInModal {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.tour360-export-content h3 {
    margin: 0;
    font-family: var(--font-heading);
    color: var(--brand-gold);
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tour360-export-content p {
    font-size: 0.82rem;
    line-height: 1.6;
    color: rgba(250, 246, 240, 0.75);
    margin: 0;
}

.tour360-export-content textarea {
    width: 100%;
    height: 250px;
    background: #090307;
    border: 1px solid rgba(250, 246, 240, 0.15);
    border-radius: 6px;
    color: #4af626;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.78rem;
    padding: 14px;
    resize: none;
    line-height: 1.5;
}

.tour360-export-content textarea:focus {
    outline: none;
    border-color: var(--brand-gold);
}

.tour360-export-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 6px;
}

/* Dragging state cursor */
.tour360-canvas-wrapper.dragging-hotspot {
    cursor: move;
}
