/* ===== CSS VARIABLES ===== */
:root {
    --ivory: #F5F3EE;
    --champagne: #C9A961;
    --charcoal: #2B2B2B;
    --font-display: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
}

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

body {
    font-family: var(--font-body);
    background: var(--charcoal);
    color: var(--ivory);
    overflow: hidden;
    line-height: 1.6;
}

/* ===== SPLASH SCREEN ===== */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    overflow: hidden;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.splash-screen.active {
    opacity: 1;
    visibility: visible;
}

.splash-screen img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.splash-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.2) 100%);
    pointer-events: none;
    z-index: 1;
}

/* ===== MAIN CONTAINER ===== */
.main-container {
    width: 100vw;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

/* ===== FRAMES ===== */
.frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    overflow-y: auto;
    overflow-x: hidden;
}

.frame.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.frame-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* ===== VIDEO OVERLAY ===== */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    background: #000;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.video-overlay.active {
    opacity: 1;
    visibility: visible;
}

.video-overlay video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== NAVIGATION HINT ===== */
.nav-hint {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 50;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--ivory);
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    padding: 12px 24px;
    border-radius: 30px;
    border: 1px solid rgba(201, 169, 97, 0.3);
    opacity: 1;
    transition: opacity 0.5s ease;
}

.nav-hint.hidden {
    opacity: 0;
    pointer-events: none;
}

/* ===== PRODUCT SHOWCASE (Frame 4) ===== */
.product-showcase {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    padding: 200px 0 0 0;
    display: flex;
    flex-direction: column;
    pointer-events: none;
    /* Allow clicks through empty space */
}

.product-showcase>* {
    pointer-events: auto;
    /* Re-enable clicks on actual elements */
}

/* Heading */
.showcase-heading {
    position: absolute;
    top: 50px;
    left: 100px;
    margin: 0;
    animation: fadeInUp 0.8s ease-out;
}

.showcase-heading h1 {
    font-family: var(--font-display);
    font-size: 52px;
    font-weight: 500;
    color: var(--champagne);
    letter-spacing: 4px;
    margin: 0 0 8px 0;
    text-shadow:
        2px 2px 4px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(201, 169, 97, 0.3);
    -webkit-text-stroke: 0.5px rgba(201, 169, 97, 0.8);
}

.showcase-heading p {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--ivory);
    opacity: 1;
    letter-spacing: 1px;
    margin: 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Card - Landscape 16:9 */
.hero-card {
    position: absolute;
    top: 120px;
    /* Moved up from 210px */
    right: 50px;
    /* Moved closer to edge */
    width: 520px;
    /* Increased from 450px for better readability */
    height: 293px;
    /* Maintain 16:9 ratio */
    background: rgba(245, 243, 238, 0.25);
    /* Increased opacity from 0.15 */
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border-radius: 24px;
    overflow: hidden;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.18);
    transform-style: preserve-3d;
    perspective: 1000px;
    transition: transform 0.1s ease-out, box-shadow 0.3s ease;
    cursor: pointer;
    animation: slideInRight 0.8s ease-out 0.2s both;
    display: flex;
    flex-direction: row;
    z-index: 10;
    /* Ensure it's above other elements */
}

.hero-card:hover {
    box-shadow:
        0 16px 48px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Hero Image Section - Left 40% */
.hero-image {
    width: 40%;
    height: 100%;
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.2) 0%, rgba(245, 243, 238, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: multiply;
    /* Blends image with background for premium look */
    opacity: 0.9;
    transition: transform 0.5s ease;
}

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

.hero-image::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(201, 169, 97, 0.2) 0%, transparent 60%);
    animation: shimmer 4s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
}

@keyframes shimmer {

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

    50% {
        transform: translate(10%, 10%);
    }
}

.jewelry-showcase {
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, var(--champagne) 0%, #b89551 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 56px;
    box-shadow:
        0 8px 24px rgba(201, 169, 97, 0.4),
        inset 0 2px 8px rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 1;
}

/* Hero Content Section - Right 60% */
.hero-content {
    width: 60%;
    padding: 16px 20px;
    /* Reduced from 28px 32px */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: var(--ivory);
}

.hero-badge {
    display: inline-block;
    padding: 3px 10px;
    /* Reduced from 4px 12px */
    background: rgba(201, 169, 97, 0.9);
    color: var(--ivory);
    font-size: 10px;
    /* Reduced from 11px */
    font-weight: 600;
    letter-spacing: 1.5px;
    border-radius: 12px;
    width: fit-content;
    margin-bottom: 8px;
    /* Reduced from 12px */
    box-shadow: 0 2px 8px rgba(201, 169, 97, 0.3);
}

.hero-content h2 {
    font-family: var(--font-display);
    font-size: 24px;
    /* Increased from 22px */
    font-weight: 700;
    color: #FFFFFF;
    /* Pure white for better contrast */
    margin: 0 0 4px 0;
    /* Reduced from 6px */
    /* Reduced spacing */
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.6);
    /* Stronger shadow */
}

.hero-collection {
    font-size: 11px;
    /* Reduced from 12px */
    color: #F5D76E;
    /* Brighter champagne for visibility */
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 6px;
    /* Reduced from 10px */
    font-weight: 600;
    /* Increased from 500 */
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    /* Added shadow */
}

.hero-description {
    font-size: 12px;
    /* Increased from 11px */
    line-height: 1.5;
    /* Increased from 1.4 */
    color: rgba(255, 255, 255, 0.95);
    /* Brighter white */
    margin-bottom: 8px;
    /* Reduced from 10px */
    /* Reduced spacing */
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    /* Stronger shadow */
}

.hero-actions {
    display: flex;
    gap: 12px;
}

.hero-actions button {
    padding: 8px 16px;
    /* Reduced from 10px 20px */
    border: none;
    border-radius: 6px;
    /* Slightly smaller radius */
    font-size: 11px;
    /* Reduced from 13px */
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    flex: 1;
    background: var(--champagne);
    color: var(--ivory);
    font-family: var(--font-body);
    box-shadow: 0 4px 12px rgba(201, 169, 97, 0.3);
}

.btn-primary:hover {
    background: #b89551;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(201, 169, 97, 0.4);
}

.btn-secondary {
    flex: 1;
    background: rgba(245, 243, 238, 0.2);
    color: var(--ivory);
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-family: var(--font-body);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(245, 243, 238, 0.3);
    border-color: var(--champagne);
    transform: translateY(-2px);
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Product Grid */
.product-grid {
    position: absolute;
    top: 440px;
    /* Moved down from 400px (120px + 293px + 27px spacing) */
    left: 72%;
    transform: translateX(-50%);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    width: 750px;
    max-width: calc(100vw - 500px);
    /* Ensure it doesn't overlap stand */
    z-index: 5;
    /* Below hero card */
}

.grid-item {
    background: rgba(245, 243, 238, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 16px;
    padding: 16px;
    text-align: center;
    border: 1px solid rgba(201, 169, 97, 0.25);
    cursor: pointer;
    transform-style: preserve-3d;
    perspective: 1000px;
    transition: transform 0.1s ease-out, box-shadow 0.3s ease, border-color 0.3s ease;
    animation: fadeInUp 0.6s ease-out both;
}

.grid-item:nth-child(1) {
    animation-delay: 0.4s;
}

.grid-item:nth-child(2) {
    animation-delay: 0.5s;
}

.grid-item:nth-child(3) {
    animation-delay: 0.6s;
}

.grid-item:nth-child(4) {
    animation-delay: 0.7s;
}

.grid-item:hover {
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--champagne);
}

.grid-image {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

.grid-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.grid-item:hover .grid-image img {
    transform: scale(1.1);
}

.grid-item:hover .grid-image {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    border-color: rgba(255, 255, 255, 0.3);
}

.grid-item p {
    font-size: 12px;
    color: var(--charcoal);
    font-weight: 500;
}

/* See All Button */
.btn-see-all {
    position: absolute;
    bottom: 30px;
    right: 100px;
    padding: 8px 0;
    background: transparent;
    color: var(--ivory);
    border: none;
    border-bottom: 2px solid var(--champagne);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.btn-see-all:hover {
    color: var(--champagne);
    border-bottom-width: 3px;
    padding-bottom: 7px;
}

/* ===== FRAME BACKGROUNDS & STYLES ===== */
.frame-4 {
    background-image: url("web asset/7.jpeg");
    background-size: cover;
    background-position: center;
    z-index: 4;
}

.frame-5 {
    background-image: url("web asset/6.jpeg");
    background-size: cover;
    background-position: center;
    z-index: 5;
}

/* Frame 4, 5, 6, 7, 8, 9 & 10 Specific Layout (Right Aligned) */
.frame-4 .showcase-heading,
.frame-5 .showcase-heading,
.frame-6 .showcase-heading,
.frame-7 .showcase-heading,
.frame-8 .showcase-heading,
.frame-9 .showcase-heading,
.frame-10 .showcase-heading {
    left: auto;
    right: 100px;
    text-align: right;
    top: 50px;
}

.frame-6 {
    background-image: url("web asset/8.png");
    background-size: cover;
    background-position: center;
    z-index: 6;
}

.frame-7 {
    background-image: url("web asset/9.jpeg");
    background-size: cover;
    background-position: center;
    z-index: 7;
}

.frame-8 {
    background-image: url("web asset/10.png");
    background-size: cover;
    background-position: center;
    z-index: 8;
}

.frame-9 {
    background-image: url("web asset/11.jpeg");
    background-size: cover;
    background-position: center;
    z-index: 9;
}

.frame-10 {
    /* Store Page - No background image */
    background-color: #F5F5F5;
    z-index: 10;
}

/* Enable scrolling for Frame 10 */
.frame-10 .product-showcase {
    height: auto;
    min-height: 100%;
    position: relative;
    padding-bottom: 100px;
    /* Space for scrolling */
}

/* Frame 7 Specific Layout */
.frame-7 .showcase-heading {
    left: auto;
    right: 100px;
    text-align: right;
    top: 50px;
}

/* Frame 11 Featured Jewelers */
/* Frame 11 Featured Jewelers */
.frame-11 {
    background-color: #F5F5F5 !important;
    background-image: none !important;
    /* Force Color Only */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    perspective: 1000px;
    overflow-y: auto;
    overflow-x: hidden;
    /* Hidden by default */
    display: none;
    opacity: 0;
    z-index: 0;
    align-items: flex-start;
    justify-content: center;
}

.frame-11.active {
    display: flex;
    opacity: 1;
    z-index: 11;
    /* Only high z-index when active */
}

/* Ensure no pseudo-element overlay */
.frame-11::before,
.frame-11::after {
    content: none !important;
    display: none !important;
    background: none !important;
}

/* Scrollbar Styling */
.frame-11::-webkit-scrollbar {
    width: 6px;
    background: transparent;
}

.frame-11::-webkit-scrollbar-track {
    background: #F5F5F5;
    /* Match Background */
}

.frame-11::-webkit-scrollbar-thumb {
    background: #C9A961;
    border-radius: 4px;
}

.frame-11 .product-showcase {
    width: 100%;
    max-width: 1500px;
    padding: 150px 20px 300px;
    /* Ample bottom space */
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header-content {
    text-align: center;
    margin-bottom: 70px;
}

.header-content h1 {
    font-family: 'Cinzel', serif;
    font-size: 4.5rem;
    color: #C9A961;
    /* Elegant Gold */
    background: linear-gradient(to right, #C9A961, #AE883D, #C9A961);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 8px;
    text-shadow: 0 2px 10px rgba(201, 169, 97, 0.2);
    font-weight: 500;
    margin: 0;
}

.header-content p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    color: #888;
    /* Subtle Gray Subtitle */
    letter-spacing: 6px;
    text-transform: uppercase;
    margin-top: 15px;
    font-weight: 300;
}

.jeweler-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    width: 100%;
    padding: 20px;
    margin-top: 560px;
    /* Position below hero card (210px top + 309px height + 40px spacing) */
    animation: fadeInUp 0.6s ease-out 0.4s both;
    margin-bottom: 40px;
    /* Reduced margin to bring button up */
    transform-style: preserve-3d;
}

.jeweler-card {
    background: rgba(255, 255, 255, 0.95);
    /* High Opacity White to Pop */
    border: 1px solid rgba(201, 169, 97, 0.3);
    /* Subtle Gold Border */
    border-radius: 16px;
    padding: 30px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    /* Align top */
    overflow: visible;
    /* Allow drawer to slide out */
    backdrop-filter: blur(20px);
    transition: box-shadow 0.3s ease;
    /* Only shadow transition */
    cursor: pointer;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    /* Dark Shadow for Lift */
    height: 320px;
    /* Taller for content */
    color: #2B2B2B;
    /* Dark Text */
}

/* ... existing styles ... */

.btn-see-shops {
    font-family: 'Cinzel', serif;
    padding: 20px 60px;
    /* Larger, premium size */
    font-size: 1.1rem;
    /* More readable */
    font-weight: 600;
    /* Bolder */
    margin-top: 30px;
    /* More space from grid */
    background: transparent;
    color: #C9A961;
    /* Gold Text */
    border: 1px solid #C9A961;
    /* Gold Border */
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
    margin-top: 10px;
}

.btn-see-shops:hover {
    background: #C9A961;
    color: #fff;
    /* White Text on Hover */
    box-shadow: 0 5px 20px rgba(201, 169, 97, 0.4);
    /* Gold Glow */
    transform: translateY(-3px);
}

/* Spotlight Effect (Keep existing logic but refine) */
.jeweler-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
            rgba(255, 255, 255, 0.06),
            transparent 40%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
    z-index: 1;
}

.jeweler-card:hover::before {
    opacity: 1;
}

.jeweler-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 255, 255, 0.3);
}

.logo-wrapper {
    width: 120px;
    height: 120px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    /* Remove Black Overlay */
    border-radius: 50%;
    /* Circle logo background */
    border: 1px solid rgba(43, 43, 43, 0.1);
    /* Subtle Gray Border */
    padding: 15px;
    transition: transform 0.4s ease;
}

.jeweler-card:hover .logo-wrapper {
    transform: scale(1.1) rotate(5deg);
    border-color: #C9A961;
}

.jeweler-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.5));
}

.jeweler-info {
    text-align: center;
    z-index: 2;
    color: #F5F3EE;
}

.jeweler-info h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: #C9A961;
    letter-spacing: 1px;
}

.jeweler-info .location {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: #555;
    /* Dark Gray for Visibility */
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.jeweler-info .specialty {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    color: #2B2B2B;
    /* Dark Text */
    background: rgba(201, 169, 97, 0.15);
    padding: 6px 14px;
    border-radius: 20px;
    display: inline-block;
    border: 1px solid rgba(201, 169, 97, 0.3);
}





.jeweler-card:hover::after {
    opacity: 1;
}

.jeweler-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(201, 169, 97, 0.2);
    border-color: rgba(201, 169, 97, 0.3);
}

.jeweler-logo {
    width: 70%;
    height: 70%;
    object-fit: contain;
    z-index: 2;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
    /* Natural Shadow */
    transition: all 0.4s ease;
    opacity: 1;
    /* Fully Opaque */
}

/* Feature Drawer Styling */
.feature-drawer {
    position: absolute;
    top: 0;
    left: 0;
    width: 150%;
    /* Extended by 50% */
    height: 100%;
    background: rgba(255, 255, 255, 0.15);
    /* Highly translucent glass */
    backdrop-filter: blur(40px);
    /* Strong glass blur */
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid rgba(201, 169, 97, 0.5);
    border-radius: 16px;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(0) scale(0.95);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    /* Slower, smoother */
    z-index: -1;
    display: flex;
    flex-direction: row;
    /* Side-by-side layout */
    align-items: stretch;
    justify-content: flex-start;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    /* Match card shadow */
}

.jeweler-card.active .feature-drawer {
    opacity: 1;
    visibility: visible;
    transform: translateX(98%);
    /* Even closer */
    z-index: 10;
}

/* Feature Content - Hero Card Layout */
.drawer-hero-image {
    width: 40%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.drawer-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.2));
}

.drawer-hero-content {
    width: 60%;
    padding: 24px;
    /* Slightly less padding */
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    /* Tighter gap */
}

.drawer-hero-content h2 {
    font-family: 'Cinzel', serif;
    font-size: 1.6rem;
    /* Slightly smaller */
    color: #C9A961;
    margin: 0;
    letter-spacing: 1px;
    line-height: 1.2;
}

.drawer-hero-content .hero-collection {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
}

.drawer-hero-content .hero-description {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin: 8px 0;
}

.drawer-hero-content .hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, #C9A961, #AE883D);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    align-self: flex-start;
}

.drawer-hero-content .hero-actions {
    display: flex;
    gap: 6px;
    /* Tighter gap */
    margin-top: 10px;
    flex-wrap: wrap;
}

.drawer-hero-content .btn-primary,
.drawer-hero-content .btn-secondary,
.drawer-hero-content .btn-shop {
    padding: 6px 14px;
    /* Smaller padding */
    border-radius: 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    /* Small font */
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    white-space: nowrap;
    /* Prevent text wrapping inside button */
}

.drawer-hero-content .btn-primary {
    background: #C9A961;
    color: white;
}

.drawer-hero-content .btn-primary:hover {
    background: #AE883D;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(201, 169, 97, 0.4);
}

.drawer-hero-content .btn-secondary {
    background: transparent;
    color: #2B2B2B;
    border: 2px solid #2B2B2B;
}

.drawer-hero-content .btn-secondary:hover {
    background: #2B2B2B;
    color: white;
    transform: translateY(-2px);
}

.drawer-hero-content .btn-shop {
    background: linear-gradient(135deg, #C9A961, #AE883D);
    color: white;
}

.drawer-hero-content .btn-shop:hover {
    background: linear-gradient(135deg, #AE883D, #8B6F2E);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(201, 169, 97, 0.4);
}

/* Active & Dimmed States */
.jeweler-card.active {
    border-color: #C9A961;
    box-shadow: 0 20px 60px rgba(201, 169, 97, 0.2);
    transform: scale(1.05);
    /* Slight pop */
    z-index: 20;
    /* Bring to front */
}

.jeweler-card.shifting {
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    /* Smooth shift */
    z-index: 15;
}

.jeweler-card.dimmed {
    opacity: 0;
    /* Invisible */
    visibility: hidden;
    pointer-events: none;
    transform: scale(0.95);
    transition: all 0.3s ease;
    /* Quick fade */
}

/* Update Hover to remove Tilt conflict */
.jeweler-card:hover .jeweler-logo {
    filter: drop-shadow(0 10px 20px rgba(201, 169, 97, 0.4));
    /* Enhanced Gold Shadow */
    /* Remove scale/translate to avoid conflict with active state? */
    /* Keep subtle scale if not active */
}

.jeweler-card:not(.active):hover {
    transform: translateY(-5px);
}

/* ===== GLOBAL HEADER ===== */
.app-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 6px 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    display: flex;
    justify-content: center;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.app-header.hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.app-header nav {
    width: 100%;
    max-width: 1400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-links li {
    position: relative;
    padding: 4px 0;
}

.nav-links a {
    text-decoration: none;
    color: #2B2B2B;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: color 0.3s;
    text-transform: uppercase;
}

.nav-links a:hover {
    color: #C9A961;
}

/* Category Dropdown */
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.98);
    min-width: 180px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    border-radius: 8px;
    padding: 10px 0;
    margin-top: 0;
    border: 1px solid rgba(201, 169, 97, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.dropdown:hover .dropdown-content {
    display: block;
    opacity: 1;
    transform: translateX(-50%) translateY(5px);
}

.dropdown-content a {
    color: #333;
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    font-size: 0.85rem;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: background 0.2s, color 0.2s;
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background-color: #fafafa;
    color: #C9A961;
}

/* =========================================
   FRAME 12: ACCOUNT SETUP STYLES
   ========================================= */

#frame12 {
    display: flex;
    justify-content: center;
    align-items: center;
}

.account-setup-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('web asset/2.jpeg') no-repeat center center/cover;
    filter: brightness(0.4);
    z-index: -1;
}

.account-setup-container {
    width: 100%;
    max-width: 480px;
    padding: 20px;
    z-index: 10;
    position: relative;
    top: 50px;
    /* Offset for header */
}

.setup-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    text-align: center;
    color: white;
    transition: all 0.5s ease;
}

.setup-card h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.2rem;
    margin-bottom: 5px;
    font-weight: 600;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.setup-card .subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.setup-step {
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.setup-step.hidden {
    display: none;
    opacity: 0;
    transform: translateX(20px);
}

.setup-step.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row .form-group {
    flex: 1;
}

label {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.5px;
}

input[type="text"],
input[type="tel"],
input[type="date"],
select {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    outline: none;
}

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

input:focus,
select:focus {
    background: rgba(255, 255, 255, 0.2);
    border-color: #C9A961;
    box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.2);
}

/* Custom Select styling */
select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 20px;
}

select option {
    background: #1a1a1a;
    color: white;
}

.btn-full {
    width: 100%;
    margin-top: 10px;
    padding: 14px;
    font-size: 1rem;
    letter-spacing: 1px;
}

.setup-message {
    margin-top: 15px;
    font-size: 0.85rem;
    font-family: 'Montserrat', sans-serif;
}

.setup-message.error {
    color: #ff6b6b;
}

.setup-message.success {
    color: #51cf66;
}

/* =========================================
   FRAME 13: SHOP PAGE STYLES
   ========================================= */

#frame13 {
    display: block;
    overflow-y: auto;
    /* Allow scrolling for the shop page */
}

.shop-page-container {
    width: 100%;
    min-height: 100%;
    background: #FAFAFA;
}

.shop-header {
    position: relative;
    height: 350px;
    width: 100%;
}

.shop-banner {
    width: 100%;
    height: 100%;
    /* Parallax & Visual Overhaul */
    background-attachment: fixed;
    box-shadow: inset 0 -100px 100px -50px rgba(0, 0, 0, 0.5);
    /* Depth at bottom */
}

.back-btn {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 20;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Hide shop info card when Frame 13 is not active */
#frame13:not(.active) .shop-info-card {
    display: none;
}

/* ... existing code ... */

.shop-info-card {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1000px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 30px;
    z-index: 10;
    border-radius: 16px;
    /* Luxury Border */
    border: 1px solid transparent;
    background-image: linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95)),
        linear-gradient(45deg, #C9A961, #F4E2B1, #AA8E4A, #F4E2B1, #C9A961);
    background-origin: border-box;
    -webkit-background-clip: padding-box, border-box;
    background-clip: padding-box, border-box;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.shop-logo-wrapper {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #C9A961;
    background: white;
    flex-shrink: 0;
}

.shop-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.shop-details {
    flex: 1;
}

.shop-address {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 10px;
}

.shop-content {
    margin-top: 80px;
    padding: 20px 5%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 100px;
}

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    color: #1a1a1a;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.shop-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-image-container {
    height: 250px;
    overflow: hidden;
    position: relative;
    background: #f5f5f5;
}

.product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-details {
    padding: 20px;
}

.product-details h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #1a1a1a;
}

.product-details .price {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #C9A961;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.product-details .desc {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    color: #888;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ... existing code ... */

.shop-product-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    /* For shimmer */
    border: 1px solid rgba(201, 169, 97, 0.2);
    overflow: hidden;
    /* Ensure shimmer doesn't overflow */
}

.shop-product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(201, 169, 97, 0.2);
}

/* Shimmer Effect */
.shop-product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right,
            transparent 0%,
            rgba(255, 255, 255, 0.3) 50%,
            transparent 100%);
    transform: skewX(-25deg);
    transition: left 0.5s;
    z-index: 2;
    pointer-events: none;
}

.shop-product-card:hover::before {
    left: 150%;
    transition: left 0.7s ease-in-out;
}

/* Zoom Interaction */
.shop-product-card:hover .product-image-container img {
    transform: scale(1.05);
    /* Gentle zoom */
    filter: brightness(1.05);
    /* Slight brighten */
}

/* Refined Typography */
.shop-details h2 {
    font-size: 2.8rem;
    /* Larger */
    letter-spacing: -1px;
    background: linear-gradient(45deg, #1a1a1a, #4a4a4a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.shop-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #888;
}

.shop-rating .stars {
    color: #C9A961;
}

/* Product Drawer */
.product-drawer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(201, 169, 97, 0.3);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 10;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
}

.shop-product-card:hover .product-drawer {
    transform: translateY(0);
}

.drawer-btn {
    width: 100%;
    padding: 12px;
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.drawer-btn.quick-view {
    background: #1a1a1a;
    color: #C9A961;
}

.drawer-btn.add-to-cart {
    background: #C9A961;
    color: white;
}

.drawer-btn:hover {
    opacity: 0.9;
    letter-spacing: 2px;
}

/* =========================================
   FRAME 14: PRODUCT DETAIL PAGE
   ========================================= */

#frame14 {
    display: block;
    overflow-y: auto;
}

.product-detail-page {
    width: 100%;
    min-height: 100vh;
    background: #FAFAFA;
    padding: 100px 5% 50px;
}

.product-detail-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
    margin-bottom: 80px;
}

/* Product Gallery (Left 50%) */
.product-gallery {
    flex: 1;
    position: sticky;
    top: 100px;
    height: fit-content;
}

.main-image-wrapper {
    width: 100%;
    aspect-ratio: 1;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid transparent;
    background-image: linear-gradient(white, white),
        linear-gradient(45deg, #C9A961, #F4E2B1, #AA8E4A, #F4E2B1, #C9A961);
    background-origin: border-box;
    -webkit-background-clip: padding-box, border-box;
    background-clip: padding-box, border-box;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.main-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.main-image-wrapper:hover img {
    transform: scale(1.1);
}

.thumbnail-strip {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.thumbnail-strip img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.thumbnail-strip img:hover,
.thumbnail-strip img.active {
    border-color: #C9A961;
    transform: scale(1.05);
}

/* Product Info (Right 50%) */
.product-info {
    flex: 1;
}

.product-info h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    color: #1a1a1a;
    margin-bottom: 15px;
    line-height: 1.2;
}

.product-price {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: #C9A961;
    margin-bottom: 15px;
}

.product-info .product-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.product-info .product-rating .stars {
    color: #C9A961;
    font-size: 1.2rem;
}

.product-description {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 30px;
}

.product-specs {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(201, 169, 97, 0.2);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    color: #888;
    font-size: 0.9rem;
}

.spec-value {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #1a1a1a;
    font-size: 0.9rem;
}

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

.btn-primary,
.btn-secondary {
    flex: 1;
    padding: 18px 30px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #C9A961;
    color: white;
}

.btn-primary:hover {
    background: #AA8E4A;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(201, 169, 97, 0.3);
}

.btn-secondary {
    background: transparent;
    border: 2px solid #C9A961;
    color: #C9A961;
}

.btn-secondary:hover {
    background: #C9A961;
    color: white;
    transform: translateY(-2px);
}

/* Related Products Section */
.related-products-section {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 50px;
    border-top: 1px solid #eee;
}

.related-products-section h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    color: #1a1a1a;
    margin-bottom: 30px;
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.related-product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(201, 169, 97, 0.2);
}

.related-product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(201, 169, 97, 0.2);
}

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

.related-product-card .card-info {
    padding: 15px;
}

.related-product-card h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #1a1a1a;
}

.related-product-card .price {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #C9A961;
    font-size: 1rem;
}

/* =========================================
   RESPONSIVE DESIGN
   ========================================= */

/* Tablet (Portrait) - 1024px and below */
@media (max-width: 1024px) {

    /* Header */
    .app-header nav ul {
        gap: 20px;
    }

    .nav-links li a {
        font-size: 0.8rem;
    }

    /* Jeweler Cards (Frame 11) */
    .jeweler-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    /* Shop Page (Frame 13) */
    .shop-product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    /* Product Detail Page (Frame 14) */
    .product-detail-container {
        gap: 40px;
    }

    .product-info h1 {
        font-size: 2.5rem;
    }

    .product-price {
        font-size: 2rem;
    }

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

/* Mobile (Landscape) - 768px and below */
@media (max-width: 768px) {

    /* Header */
    .app-header {
        padding: 15px 20px;
    }

    .nav-links {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .nav-links li a {
        font-size: 0.9rem;
        padding: 8px 0;
    }

    .dropdown-content {
        position: static;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.05);
        margin-top: 5px;
    }

    /* Jeweler Cards (Frame 11) */
    .jeweler-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }

    .jeweler-card {
        max-width: 100%;
    }

    /* Shop Page (Frame 13) */
    .shop-info-card {
        flex-direction: column;
        text-align: center;
        width: 95%;
        padding: 20px;
        bottom: -30px;
    }

    .shop-logo-wrapper {
        width: 80px;
        height: 80px;
    }

    .shop-content {
        margin-top: 60px;
        padding: 15px 3%;
    }

    .shop-product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .shop-details h2 {
        font-size: 2rem;
    }

    /* Product Detail Page (Frame 14) */
    .product-detail-page {
        padding: 80px 3% 30px;
    }

    .product-detail-container {
        flex-direction: column;
        gap: 30px;
    }

    .product-gallery {
        position: static;
    }

    .product-info h1 {
        font-size: 2rem;
    }

    .product-price {
        font-size: 1.8rem;
    }

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

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }

    .related-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .related-product-card img {
        height: 150px;
    }

    /* Back Button */
    .back-btn {
        top: 15px;
        left: 15px;
        padding: 8px 16px;
        font-size: 0.8rem;
    }
}

/* Mobile (Portrait) - 480px and below */
@media (max-width: 480px) {

    /* Typography */
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    /* Header */
    .app-header {
        padding: 12px 15px;
    }

    /* Jeweler Cards */
    .jeweler-card {
        padding: 20px;
    }

    .jeweler-card h3 {
        font-size: 1.5rem;
    }

    .jeweler-card p {
        font-size: 0.85rem;
    }

    .card-btn {
        padding: 10px 20px;
        font-size: 0.75rem;
    }

    /* Shop Page */
    .shop-product-grid {
        grid-template-columns: 1fr;
    }

    .shop-info-card {
        padding: 15px;
    }

    .shop-details h2 {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    /* Product Detail Page */
    .product-info h1 {
        font-size: 1.8rem;
    }

    .product-price {
        font-size: 1.5rem;
    }

    .product-description {
        font-size: 0.9rem;
    }

    .product-specs {
        padding: 15px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 14px 20px;
        font-size: 0.9rem;
    }

    .related-products-grid {
        grid-template-columns: 1fr;
    }

    .related-products-section h2 {
        font-size: 1.5rem;
    }

    /* Product Drawer */
    .product-drawer {
        padding: 15px;
    }

    .drawer-btn {
        padding: 10px;
        font-size: 0.75rem;
    }

    /* Thumbnail Strip */
    .thumbnail-strip img {
        width: 60px;
        height: 60px;
    }
}

/* Touch-friendly adjustments */
@media (hover: none) and (pointer: coarse) {

    /* Ensure all interactive elements are at least 44px */
    .card-btn,
    .drawer-btn,
    .btn-primary,
    .btn-secondary,
    .back-btn {
        min-height: 44px;
        min-width: 44px;
    }
}

/* Like Button Styles */
.btn-like-hero {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    z-index: 10;
}

.btn-like-hero:hover,
.btn-like-hero.active {
    background: white;
    color: #e74c3c;
    transform: scale(1.1);
}

.btn-like-grid {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.6);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 5;
    opacity: 0;
    transform: translateY(-5px);
}

.grid-item:hover .btn-like-grid {
    opacity: 1;
    transform: translateY(0);
}

.btn-like-grid:hover,
.btn-like-grid.active {
    background: white;
    color: #e74c3c;
    transform: scale(1.1) translateY(0);
}

/* See All Page (Frame 15) Styles */
.frame-15 {
    background-color: #F5F5F5;
    background-image: none;
    z-index: 15;
    /* Ensure it sits above others */
}

.see-all-container {
    padding: 100px 5% 50px;
    height: 100%;
    overflow-y: auto;
    position: relative;
    z-index: 2;
}

.see-all-header {
    text-align: center;
    margin-bottom: 40px;
    animation: fadeInDown 0.8s ease;
}

.see-all-header h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.5rem;
    color: #1a1a1a;
    /* Dark for light bg */
    margin-bottom: 10px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.see-all-header p {
    font-family: 'Montserrat', sans-serif;
    color: #666;
    /* Darker text */
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.see-all-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 25px;
    padding-bottom: 50px;
}

.see-all-item {
    background: white;
    /* White card on light grey */
    border: 1px solid rgba(201, 169, 97, 0.2);
    border-radius: 16px;
    padding: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.5s ease backwards;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.see-all-item:hover {
    background: white;
    border-color: #C9A961;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(201, 169, 97, 0.15);
}

.see-all-img-wrapper {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 12px;
    position: relative;
    background: #f9f9f9;
}

.see-all-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.see-all-item:hover .see-all-img-wrapper img {
    transform: scale(1.1);
}

.see-all-info h3 {
    font-family: 'Cormorant Garamond', serif;
    color: #1a1a1a;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.see-all-info p {
    font-family: 'Montserrat', sans-serif;
    color: #C9A961;
    font-weight: 600;
    font-size: 0.95rem;
}

/* ===== PREMIUM SHOP PAGE (Frame 12) ===== */
#frame12 {
    background-color: #FAFAFA !important;
    /* Force light background */
    color: #1a1a1a;
    /* Force dark text */
    z-index: 12;
}

.shop-container {
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    padding-bottom: 50px;
}

/* Banner Section */
.shop-header-container {
    position: relative;
    width: 100%;
    height: 350px;
    margin-bottom: 100px;
    /* Space for floating card */
}

.shop-banner {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.shop-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.1));
}

/* Floating Info Card */
.shop-info-card {
    position: absolute;
    bottom: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    /* Increased from 80% */
    max-width: 1200px;
    background: white;
    border: 2px solid rgba(201, 169, 97, 0.6);
    /* Gold border */
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    /* Soft shadow */
    padding: 30px 50px;
    display: flex;
    align-items: center;
    gap: 40px;
    z-index: 10;
}

.shop-logo-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid #C9A961;
    overflow: hidden;
    flex-shrink: 0;
}

.shop-logo-circle img {
    width: 80%;
    height: auto;
    object-fit: contain;
}

.shop-details h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 2.5rem;
    color: #1a1a1a;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.shop-meta {
    font-family: 'Montserrat', sans-serif;
    color: #666;
    font-size: 0.95rem;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.shop-rating {
    color: #C9A961;
    font-weight: 600;
    margin-top: 5px;
}

/* Product Grid Section */
.shop-grid-section {
    padding: 0 3%;
    /* Reduced padding for wider layout */
    width: 100%;
    /* Full width */
    margin: 0;
}

.shop-section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    color: #1a1a1a;
    margin-bottom: 30px;
    padding-left: 10px;
    border-left: 4px solid #C9A961;
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    max-width: 100%;
}

/* Product Card */
.shop-product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    border: 1px solid transparent;
}

.shop-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(201, 169, 97, 0.3);
}

.product-img-box {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    position: relative;
    background: #f5f5f5;
}

.product-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

/* Hover Overlay Buttons */
.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.shop-product-card:hover .card-overlay {
    opacity: 1;
}

.overlay-btn {
    padding: 12px 25px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    width: 80%;
    transition: all 0.2s ease;
}

.btn-quick-view {
    background: #1a1a1a;
    color: white;
}

.btn-quick-view:hover {
    background: #333;
}

.btn-add-cart {
    background: #C9A961;
    color: white;
}

.btn-add-cart:hover {
    background: #b08d45;
}


/* Card Info */
.product-info-box {
    padding: 20px;
}

.product-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    color: #1a1a1a;
    margin-bottom: 5px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-price {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    color: #C9A961;
    font-weight: 600;
    margin-bottom: 10px;
}

.product-desc-short {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    color: #888;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Mobile Responsiveness */

/* Tablet: 3 columns */
@media (max-width: 1200px) {
    .shop-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

/* Mobile: 2 columns */
@media (max-width: 768px) {
    .shop-header-container {
        height: 250px;
        margin-bottom: 140px;
    }

    .shop-info-card {
        width: 90%;
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 25px;
    }

    .shop-logo-circle {
        width: 100px;
        height: 100px;
        margin-top: -60px;
        background: white;
    }

    .shop-details h1 {
        font-size: 1.8rem;
    }

    .shop-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .product-info-box {
        padding: 15px;
    }

    .product-title {
        font-size: 1.1rem;
    }
}

/* ===== CATALOG PAGES (Frames 15-21) ===== */
.catalog-page {
    background: linear-gradient(135deg, #FFFFFF 0%, #F8F6F3 100%);
    position: absolute;
    /* Changed from relative to absolute to match frame behavior */
    overflow-y: auto;
}

.catalog-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 60px 80px;
    position: relative;
    z-index: 2;
}

.catalog-back-btn {
    background: rgba(201, 169, 97, 0.1);
    border: 2px solid var(--champagne);
    color: var(--champagne);
    padding: 12px 28px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 30px;
    font-family: var(--font-body);
}

.catalog-back-btn:hover {
    background: var(--champagne);
    color: white;
    transform: translateX(-5px);
}

.catalog-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 40px 0;
}

.catalog-title {
    font-family: var(--font-display);
    font-size: 72px;
    font-weight: 700;
    letter-spacing: 8px;
    background: linear-gradient(135deg, #C9A961 0%, #D4AF37 50%, #C9A961 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    text-transform: uppercase;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.catalog-subtitle {
    font-family: var(--font-body);
    font-size: 18px;
    color: #666;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 400;
}

.catalog-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.catalog-product-card {
    background: white;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.catalog-product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.05) 0%, rgba(212, 175, 55, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.catalog-product-card:hover::before {
    opacity: 1;
}

.catalog-product-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 12px 40px rgba(201, 169, 97, 0.25);
}

.btn-like-catalog {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.btn-like-catalog:hover {
    transform: scale(1.15);
    background: #FFE5E5;
}

.btn-like-catalog.liked {
    color: #FF4444;
    animation: heartBeat 0.3s ease;
}

@keyframes heartBeat {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

.catalog-product-image {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, #F8F6F3 0%, #FFFFFF 100%);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.catalog-product-image img {
    width: 85%;
    height: 85%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

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

.catalog-product-card h3 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    color: #2B2B2B;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.catalog-product-price {
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: 700;
    color: var(--champagne);
    letter-spacing: 0.5px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .catalog-title {
        font-size: 56px;
        letter-spacing: 6px;
    }

    .catalog-product-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .catalog-container {
        padding: 30px 20px 60px;
    }

    .catalog-title {
        font-size: 42px;
        letter-spacing: 4px;
    }

    .catalog-subtitle {
        font-size: 14px;
    }

    .catalog-product-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 16px;
    }

    .catalog-product-card {
        padding: 16px;
    }

    .catalog-product-card h3 {
        font-size: 18px;
    }

    .catalog-product-price {
        font-size: 16px;
    }
}