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

:root {
    --primary: #C5A059;
    --primary-light: #D9BE8B;
    --primary-dark: #B58D3D;
    --secondary: #1A1A1A;
    --background: #FFFFFF;
    --surface: #FDFCF8;
    --text: #1A1A1A;
    --text-muted: #666666;
    --border: #E5E5E5;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;

    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
}

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

html,
body {
    max-width: 100vw;
    overflow-x: hidden;
    color: var(--text);
    background: var(--background);
    font-family: var(--font-sans);
    scroll-behavior: smooth;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.2;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--background);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 10px;
}

/* Common Classes */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.section-padding {
    padding: 120px 0;
}

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

.sectionLabel {
    display: inline-block;
    color: var(--primary);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.btn-primary {
    background: var(--secondary);
    color: white;
    padding: 14px 36px;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 1px solid var(--secondary);
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
}

.btn-primary:hover {
    background: transparent;
    color: var(--secondary);
}

.btn-outline {
    background: transparent;
    color: var(--secondary);
    padding: 14px 36px;
    border: 1px solid var(--secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
}

/* Features Grid */
.featuresGrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

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

/* Header & Nav */
.header {
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.topBar {
    background: var(--secondary);
    color: white;
    padding: 8px 0;
    font-size: 11px;
    letter-spacing: 1px;
}

.topBarContent {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.socials {
    display: flex;
    gap: 15px;
}

.contact .phone {
    display: flex;
    align-items: center;
    gap: 8px;
}

.promoText {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.mainNav {
    background: white;
    padding: 12px 0;
}

.navContent {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logoSection .logoWrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logoText {
    display: flex;
    flex-direction: column;
}

.logoMain {
    font-family: var(--font-serif);
    font-size: 26px;
    letter-spacing: 3px;
    color: var(--text);
    line-height: 1;
    font-weight: 700;
}

.logoSub {
    font-size: 8px;
    letter-spacing: 5px;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-top: 4px;
}

.rightSection {
    display: flex;
    align-items: center;
    gap: 20px;
}

.menuLinks {
    display: flex;
    align-items: center;
    gap: 15px;
}

.menuLinks a {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--text);
    text-transform: uppercase;
    position: relative;
    white-space: nowrap;
}

.menuLinks a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

.menuLinks a:hover::after,
.menuLinks a.active::after {
    width: 100%;
}

.rightSection {
    display: flex;
    align-items: center;
    gap: 40px;
}

.goldPriceBtn {
    background: linear-gradient(135deg, #ECC94B 0%, #D69E2E 100%);
    color: #1A202C;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(214, 158, 46, 0.3);
    transition: var(--transition);
}

.goldPriceBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(214, 158, 46, 0.4);
}

.navIcons {
    display: flex;
    align-items: center;
    gap: 25px;
}

.navIcons button {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    transition: var(--transition);
}

.navIcons button:hover {
    color: var(--primary);
}

.navIcons .mobileMenu {
    display: none;
}

/* Hero Slider */
.hero {
    position: relative;
    height: 90vh;
    min-height: 600px;
    background: #000;
    overflow: hidden;
}

.sliderContainer {
    display: flex;
    height: 100%;
    width: 100%;
    align-items: center;
}

.sidePreview {
    flex: 0 0 15%;
    height: 70%;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    opacity: 0.3;
    transition: var(--transition);
    z-index: 10;
}

.sidePreview:hover {
    opacity: 0.6;
}

.previewImage {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: grayscale(100%);
}

.mainSlide {
    flex: 1;
    height: 100%;
    position: relative;
}

.bgImage {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;

    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease;
}

.bgImage.active {
    opacity: 1;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6));
    z-index: 1;
}

.heroContent {
    position: absolute;
    top: 35%;
    left: 8%;
    text-align: left;
    color: white;
    z-index: 10;
    width: 90%;
    max-width: 650px;
}

.heroBtns {
    display: flex;
    justify-content: flex-start;
    gap: 15px;
}

.heroContent h1 {
    font-size: clamp(32px, 5vw, 68px);
    margin-bottom: 20px;
    text-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
}

.heroContent p {
    font-size: clamp(13px, 1.3vw, 16px);
    margin-bottom: 30px;
    opacity: 0.9;
    letter-spacing: 1px;
}

.heroContent .btn-primary,
.heroContent .btn-outline {
    padding: 12px 28px;
    font-size: 13px;
}

.navButton {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
}

.navButton:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.navLeft {
    left: 40px;
}

.navRight {
    right: 40px;
}

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

.dot {
    width: 10px;
    height: 10px;
    border: 1.5px solid white;
    border-radius: 50%;
    transition: 0.4s;
}

.dot.active {
    background: var(--primary);
    border-color: var(--primary);
    width: 35px;
    border-radius: 5px;
}

/* Category Cards Refined */
.categoryScrollWrapper {
    margin-bottom: 50px;
    overflow-x: auto;
    padding: 10px 5px;
    -ms-overflow-style: none;
    /* IE/Edge */
    scrollbar-width: none;
    /* Firefox */
}

.categoryScrollWrapper::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari/Webkit */
}

.categoryCards {
    display: flex;
    justify-content: center;
    gap: 20px;
    min-width: max-content;
    padding-bottom: 5px;
}

.catCard {
    background: white;
    border: 1px solid #E2E8F0;
    border-radius: 24px;
    padding: 25px;
    width: 140px;
    height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.catCard .catIcon {
    width: 50px;
    height: 50px;
    background: #FFFBEB;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    color: #B28922;
    transition: var(--transition);
}

.catCard .catIcon i {
    width: 24px;
    height: 24px;
}

.catCard span {
    font-size: 14px;
    font-weight: 700;
    color: #4A5568;
    transition: var(--transition);
}

.catCard:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.catCard.active {
    border: 2px solid var(--primary);
    background: #FFFDF7;
}

.catCard.active span {
    color: var(--primary-dark);
}

.catCard.active .catIcon {
    background: var(--primary);
    color: white;
}


/* Product Cards */
.productGrid {
    display: grid;
    /* fixed 4 columns on larger screens so homepage featured shows as 4 items */
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

@media (max-width: 600px) {
    .productGrid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

.productCard {
    background: white;
    position: relative;
}

.productImageWrapper {
    position: relative;
    height: 400px;
    background: var(--surface);
    overflow: hidden;
    margin-bottom: 25px;
    border-radius: 6px;
}

.productImageWrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.8s ease;
}

.productCard:hover img {
    transform: scale(1.1);
}

.badgeNew,
.badgeDiscount {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 5px 15px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 3px;
    z-index: 5;
    color: white;
}

.badgeNew {
    background: var(--secondary);
}

.badgeDiscount {
    background: #E74C3C;
}

.productActions {
    position: absolute;
    bottom: -60px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: 0.4s;
}

.productCard:hover .productActions {
    bottom: 0;
}

.productActions button {
    width: 45px;
    height: 45px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.productActions button:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.productInfo {
    text-align: center;
}

.productCategory {
    font-size: 11px;
    color: var(--primary-dark);
    letter-spacing: 2px;
    display: block;
    margin-bottom: 8px;
}

.productName {
    font-size: 20px;
    color: var(--text);
    margin-bottom: 12px;
}

.productPrice {
    font-weight: 700;
    color: var(--secondary);
    font-size: 18px;
}

.oldPrice {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 15px;
    margin-left: 10px;
    opacity: 0.6;
}

/* About Section & Others */
.aboutGrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.aboutImage img {
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.latestTrends {
    position: relative;
    text-align: center;
    color: white;
}

.trendHero {
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-size: cover;
    transition: 1s ease;
}

.trendHero:hover {
    transform: scale(1.02);
}

/* Footer */
.footer {
    position: relative;
    margin-top: 150px;
    /* Space for the overlapping CTA */
}

.footerLinks ul li a {
    transition: 0.3s ease;
    display: inline-block;
}

.footerLinks ul li a:hover {
    color: var(--primary) !important;
    transform: translateX(5px);
}

@media (max-width: 991px) {
    .footerGrid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 1024px) {
    .footerGrid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footerInfo {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-cta-banner {
        height: auto !important;
        padding: 60px 20px !important;
        justify-content: center !important;
        text-align: center !important;
        border-radius: 15px !important;
    }

    .footer-cta-container {
        transform: translateY(-50px) !important;
        margin-bottom: -50px !important;
    }

    .trendContent {
        padding: 0 !important;
    }
}

/* Animations */
[data-reveal] {
    opacity: 0;
    transform: translateY(40px);
    transition: 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

@keyframes revealRight {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }

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

@keyframes revealZoom {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Modals Refined */
.goldModalContent {
    background: white;
    padding: 0;
    border-radius: 8px;
    width: 90%;
    max-width: 900px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Gold Rain */
.goldRain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 999;
    overflow: hidden;
}

.goldParticle {
    position: absolute;
    background: radial-gradient(circle, #f4e5c3 0%, #d4af37 60%, transparent 100%);
    border-radius: 50%;
    animation: fall linear infinite;
    box-shadow: 0 0 5px rgba(212, 175, 55, 0.4);
}

@keyframes fall {
    0% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(100vh);
    }
}

/* Modals */
.searchModal,
.goldModal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.searchModalContent,
/* Gold Price Modal Refined */
.goldModalContent {
    background: white;
    padding: 0;
    border-radius: 20px;
    width: 95%;
    max-width: 500px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.goldModalHeader {
    background: white;
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #E2E8F0;
}

.goldModalHeader h3 {
    font-family: var(--font-serif);
    font-size: 24px;
    color: #2D3748;
    margin: 0;
}

.goldBack,
.goldClose {
    background: #F7FAFC;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: #4A5568;
}

.goldBack:hover,
.goldClose:hover {
    background: #EDF2F7;
    color: var(--primary);
}

.goldModalBody {
    padding: 40px 30px;
}

.goldRateCard {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #F7FAFC;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid #E2E8F0;
}

.goldRateCard.highlight {
    background: #FFFBEB;
    border-color: #FEF3C7;
}

.rateInfo .label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #718096;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.rateInfo .value {
    font-size: 22px;
    font-weight: 800;
    color: #2D3748;
}


/* Responsive Fixes */
@media (max-width: 1280px) {
    .sidePreview {
        display: none;
    }
}

@media (max-width: 1024px) {
    .footerGrid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .aboutGrid {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
}

@media (max-width: 1024px) {
    .container {
        padding: 0 25px;
    }

    .section-padding {
        padding: 80px 0;
    }

    .topBar {
        display: block;
        padding: 5px 0;
    }

    .topBarContent {
        flex-direction: column;
        justify-content: center;
        gap: 5px;
    }

    .topBarContent .contact {
        display: none;
    }

    .topBarContent .promoText {
        font-size: 9px;
        text-align: center;
    }

    .logoMain {
        font-size: 22px;
    }

    .hero {
        height: 60vh;
        min-height: 450px;
    }

    .heroContent h1 {
        font-size: 36px;
    }

    .heroBtns {
        flex-direction: column;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
        gap: 15px;
    }

    .navButton {
        display: none;
    }

    .categoryCards {
        justify-content: flex-start;
        padding-left: 15px;
    }

    .catCard {
        width: 110px;
        height: 110px;
        padding: 15px;
        border-radius: 18px;
    }

    .catCard .catIcon {
        width: 38px;
        height: 38px;
        margin-bottom: 8px;
    }

    .catCard span {
        font-size: 11px;
    }

    .goldPriceBtn {
        display: flex;
        font-size: 10px;
        padding: 6px 12px;
    }

    .logoImage {
        width: 40px !important;
    }

    .logoMain {
        font-size: 20px;
    }

    .rightSection {
        gap: 15px;
    }

    .menuLinks {
        display: none;
    }

    .navIcons .mobileMenu {
        display: flex;
    }

    .navIcons .wishlist,
    .navIcons button[onclick="toggleSearch()"] {
        display: none;
    }
}

@media (max-width: 480px) {
    .productGrid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .heroContent h1 {
        font-size: 32px;
    }

    .footerGrid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Tablet / small desktop: show two columns (2x2 for four featured items) */
@media (max-width: 1024px) {
    .productGrid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .productImageWrapper {
        height: 300px;
    }
}

/* Filter Styles */
.filterContainer {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.filterBtn {
    background: transparent;
    border: 1px solid var(--border);
    padding: 8px 24px;
    border-radius: 30px;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
}

.filterBtn.active,
.filterBtn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Page Hero for inner pages */
.page-hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 35vh;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
    z-index: 1;
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    font-size: clamp(28px, 4vw, 42px);
    color: white;
    margin-bottom: 10px;
}

.page-hero p {
    color: var(--primary-light);
    font-size: 15px;
    max-width: 600px;
    margin: 0 auto;
}

/* Update goldPriceBtn */
.goldPriceBtn {
    background: linear-gradient(135deg, #E6C27A 0%, #D4AF37 100%);
    color: #1A1A1A;
    border-radius: 6px !important;
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.3);
}

@media (max-width: 1024px) {
    .sidePreview {
        display: none;
    }

    .mainSlide {
        flex: 1;
    }

    .heroContent {
        left: 5%;
        width: 90%;
    }
}

@media (max-width: 1024px) {
    .section-padding {
        padding: 60px 0;
    }

    .container {
        padding: 0 20px;
    }

    .sectionTitle {
        font-size: 28px !important;
        margin-bottom: 15px;
    }

    .sectionLabel {
        font-size: 11px !important;
        letter-spacing: 2px !important;
        margin-bottom: 10px;
    }

    /* Header Fixes */
    .topBar .promoText {
        display: none;
    }

    .mainNav {
        padding: 10px 0;
    }

    .logoMain {
        font-size: 18px;
        letter-spacing: 1px;
    }

    .logoSub {
        font-size: 6px;
        letter-spacing: 3px;
    }

    .logoSection img {
        width: 45px !important;
    }

    .rightSection {
        gap: 8px;
        margin-left: auto;
        /* Push it as far right as possible */
    }

    .navContent {
        gap: 30px;
        /* Stronger separation */
    }

    .navIcons {
        gap: 8px;
    }

    .goldPriceBtn {
        padding: 4px 8px !important;
        border-radius: 4px !important;
    }

    .goldPriceBtn span:first-child {
        font-size: 7px !important;
    }

    .goldPriceBtn span:last-child {
        font-size: 10px !important;
    }

    /* Hero Fixes */
    .hero {
        height: 80vh;
        min-height: 500px;
    }

    .heroContent {
        top: 45%;
        left: 20px;
        width: calc(100% - 40px);
    }

    .heroContent h1 {
        font-size: clamp(28px, 8vw, 36px);
        line-height: 1.1;
        margin-bottom: 15px;
    }

    .heroContent p {
        font-size: 14px;
        margin-bottom: 25px;
    }

    .heroBtns {
        flex-direction: column;
        gap: 12px;
    }

    .heroBtns a {
        width: 100%;
        text-align: center;
        padding: 12px 20px !important;
        font-size: 12px !important;
    }

    .navButton {
        display: none;
        /* Hide arrows on mobile for cleaner look as swipe/side-tap is expected or use dots */
    }

    .dots {
        bottom: 50px;
    }

    /* Grid Fixes */
    .productGrid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .productImageWrapper {
        height: 250px;
    }

    .productName {
        font-size: 16px;
    }

    .aboutGrid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .productGrid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .productImageWrapper {
        height: 200px;
        margin-bottom: 15px;
    }

    .productName {
        font-size: 14px;
        margin-bottom: 5px;
    }

    .productPrice {
        font-size: 15px;
    }

    .logoMain {
        font-size: 18px;
    }

    .navIcons {
        gap: 5px;
    }
}

/* --- Search Modal Extracted Styles --- */
.goldModal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 3000;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeInModal 0.3s ease;
}

@keyframes fadeInModal {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.searchModalContent {
    background: white;
    padding: 60px 40px;
    border-radius: 24px;
    width: 100%;
    max-width: 650px;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    transform: translateY(0);
    animation: slideUpModal 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes slideUpModal {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

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

.searchClose {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 40px;
    height: 40px;
    background: #f5f5f5;
    color: #333;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.searchClose:hover {
    background: var(--primary);
    color: white;
    transform: rotate(90deg);
}

.searchForm {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.searchInput {
    flex: 1;
    padding: 18px 25px;
    border: 2px solid #eee;
    border-radius: 12px;
    font-size: 16px;
    outline: none;
    transition: all 0.3s;
    font-family: var(--font-sans);
}

.searchInput:focus {
    border-color: var(--primary);
    background: #fffdf8;
    box-shadow: 0 0 0 4px rgba(197, 160, 89, 0.1);
}

.searchSubmit {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0 30px;
    border-radius: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

.searchSubmit:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(181, 141, 61, 0.2);
}

/* Responsiveness for Search Modal */
@media (max-width: 600px) {
    .searchModalContent {
        padding: 30px 20px;
        border-radius: 15px;
        width: 90%;
    }

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

    .searchInput {
        padding: 14px 20px;
        font-size: 14px;
    }

    .searchSubmit {
        padding: 14px;
        justify-content: center;
        font-size: 14px;
    }
}

/* --- Global Responsive Enhancements --- */
@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }

    .container {
        padding: 0 25px;
    }

    .main {
        overflow-x: hidden;
    }

    /* Improve Hero on very small screens */
    .heroContent {
        text-align: center;
        left: 0;
        width: 100%;
        padding: 0 20px;
    }

    .heroBtns {
        align-items: center;
    }

    /* Better spacing for featured products */
    .featuredSection .sectionTitle {
        font-size: 32px !important;
    }
}

@media (max-width: 480px) {
    .sectionTitle {
        font-size: 28px !important;
    }

    .heroContent h1 {
        font-size: 36px !important;
    }
}


/* --- Universal Touch & Mobile Interaction --- */
@media (hover: none) {

    /* Mimic hover effects on tap for interactive elements */
    .productCard:active .productImageWrapper img,
    .galleryItem:active img {
        transform: scale(1.05);
    }

    .productCard:active .productActions,
    .galleryItem:active .galleryOverlay,
    .galleryItem:active .view-trigger,
    .contact-item:active {
        opacity: 1;
        transform: translateY(0);
        background: var(--surface);
    }

    .contact-item:active {
        transform: translateX(5px);
    }

    /* Links and Small Icons */
    .footerLinks a:active,
    .menuLinks a:active,
    .contact-link:active,
    .socialIcon:active {
        color: var(--primary) !important;
        transform: scale(0.98);
    }

    /* Tactile Feedback: Slight scale down on every button/link press */
    button:active,
    .btn-primary:active,
    .btn-outline:active,
    .social-btn:active,
    .catCard:active {
        transform: scale(0.96) !important;
        transition: transform 0.1s ease;
    }

    /* Ensure tap targets are large enough */
    .navIcons button,
    .productActions button,
    .view-trigger {
        min-width: 48px;
        min-height: 48px;
    }

    /* Gallery Eye Trigger should be more visible or easier to hit on mobile */
    .view-trigger {
        opacity: 0.9;
        transform: translateY(0);
        background: rgba(255, 255, 255, 0.9);
    }
}

/* Global Tap Highlight Removal for cleaner look on Android/iOS */
* {
    -webkit-tap-highlight-color: transparent;
}

/* Smooth transition for active state release */
button,
.btn-primary,
.btn-outline,
.productCard,
.galleryItem,
.catCard {
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.3s ease, background 0.3s ease;
}

/* --- Wishlist Side Drawer Styles --- */
.wishlist-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    z-index: 4000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.wishlist-overlay.open {
    opacity: 1;
    visibility: visible;
}

.wishlist-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 450px;
    max-width: 100%;
    height: 100vh;
    background: white;
    z-index: 4001;
    box-shadow: -15px 0 40px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.wishlist-drawer.open {
    transform: translateX(0);
}

.wishlist-drawer-header {
    padding: 30px;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wishlist-drawer-header h3 {
    font-size: 24px;
    margin: 0;
    font-family: var(--font-serif);
    color: var(--secondary);
}

.wishlist-close-btn {
    background: #f5f5f5;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    cursor: pointer;
    transition: all 0.3s;
}

.wishlist-close-btn:hover {
    background: var(--primary);
    color: white;
    transform: rotate(90deg);
}

.wishlist-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 30px;
    scrollbar-width: thin;
}

.wishlist-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f5f5f5;
    align-items: center;
    animation: fadeInSlide 0.4s ease forwards;
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.wishlist-item-img {
    width: 90px;
    height: 90px;
    border-radius: 12px;
    object-fit: cover;
    background: #fafafa;
    box-shadow: var(--shadow-sm);
}

.wishlist-item-info {
    flex: 1;
}

.wishlist-item-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 5px;
    display: block;
}

.wishlist-item-price {
    font-size: 15px;
    color: var(--primary);
    font-weight: 700;
}

.wishlist-remove-btn {
    background: #fff0f0;
    color: #ff4d4d;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.wishlist-remove-btn:hover {
    background: #ff4d4d;
    color: white;
    transform: scale(1.1);
}

.wishlist-drawer-footer {
    padding: 30px;
    border-top: 1px solid #f0f0f0;
    background: #fafafa;
}

.wishlist-view-all {
    width: 100%;
    background: var(--secondary);
    color: white !important;
    padding: 18px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    display: block;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.wishlist-view-all:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(197, 160, 89, 0.3);
}

.wishlist-empty-msg {
    text-align: center;
    padding: 60px 20px;
    color: #bbb;
}

.wishlist-empty-msg i {
    margin-bottom: 20px;
    opacity: 0.2;
}

/* Mobile Adjustments for Drawer */
@media (max-width: 480px) {
    .wishlist-drawer {
        width: 100%;
    }

    .wishlist-drawer-header {
        padding: 20px;
    }

    .wishlist-drawer-body {
        padding: 20px;
    }

    .wishlist-item-img {
        width: 70px;
        height: 70px;
    }

    .wishlist-item-name {
        font-size: 14px;
    }
}


/* --- Quick View Modal Responsive Refinement --- */
.qv-content {
    max-width: 1000px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 40px;
    background: white;
    border-radius: 20px;
    scrollbar-width: thin;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.qv-breadcrumb {
    font-size: 13px;
    color: var(--primary);
    margin-bottom: 25px;
    font-family: var(--font-sans);
}

.qv-layout {
    display: flex;
    gap: 40px;
}

.qv-image-area {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.qv-image-area img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.qv-discount-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #ff3366;
    color: white;
    padding: 6px 15px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 11px;
    z-index: 5;
    letter-spacing: 1px;
}

.qv-details-area {
    flex: 1.2;
    min-width: 300px;
}

.qv-badges {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.qv-badges span {
    font-size: 10px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.qv-stock-badge {
    background: #e1f7ed;
    color: #2ecc71 !important;
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
}

#qvName {
    font-size: clamp(28px, 4vw, 42px);
    margin-bottom: 10px;
    color: var(--secondary);
}

.qv-meta {
    margin-bottom: 25px;
    font-size: 14px;
    color: #666;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

#qvCategoryText {
    color: var(--primary);
    font-weight: 600;
}

.qv-likes {
    font-size: 12px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 6px;
}

.qv-price-section {
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    padding: 20px 0;
    margin-bottom: 25px;
}

.qv-price-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 5px;
}

#qvPrice {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
}

#qvOldPrice {
    font-size: 18px;
    text-decoration: line-through;
    color: #ddd;
}

.qv-savings {
    color: #27ae60;
    font-weight: 600;
    font-size: 13px;
}

.qv-specs {
    margin-bottom: 25px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.qv-spec-item {
    background: #fafafa;
    padding: 12px 15px;
    border-radius: 10px;
    border: 1px solid #f0f0f0;
}

.qv-spec-label {
    font-size: 9px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.qv-spec-val {
    font-weight: 700;
    color: var(--secondary);
    font-size: 14px;
}

.qv-description-area {
    margin-bottom: 30px;
}

.qv-description-area h4 {
    font-size: 13px;
    margin-bottom: 10px;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#qvDescription {
    color: #777;
    line-height: 1.6;
    font-size: 13px;
}

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

.qv-action-btn {
    flex: 1;
    min-width: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px !important;
    font-weight: 700;
    border-radius: 8px;
    font-size: 12px !important;
}

#qvWishlistBtn {
    background: white;
    border-color: #eee;
}

.qv-share-btn {
    color: #555 !important;
    border-color: #eee !important;
    background: #f9f9f9 !important;
}

.qv-share-menu {
    width: 100%;
    display: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.qv-share-menu.open {
    display: grid;
}

.qv-share-option {
    min-width: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px !important;
    border-color: #eee !important;
    background: white !important;
    font-size: 11px !important;
    font-weight: 600;
    text-transform: none;
}

/* Mobile Quick View Overrides */
@media (max-width: 768px) {
    .qv-content {
        padding: 15px;
        border-radius: 12px;
        width: 95%;
        max-height: 90vh;
        margin: 10px auto;
    }

    .qv-breadcrumb {
        margin-bottom: 10px;
        font-size: 10px;
    }

    .qv-layout {
        flex-direction: column;
        gap: 15px;
    }

    .qv-image-area {
        min-width: 100%;
        max-height: 250px;
    }

    .qv-image-area img {
        max-height: 250px;
        border-radius: 8px;
    }

    .qv-discount-badge {
        top: 10px;
        left: 10px;
        padding: 4px 10px;
        font-size: 9px;
    }

    .qv-details-area {
        min-width: 100%;
    }

    .qv-share-menu {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #qvName {
        font-size: 20px;
        margin-bottom: 5px;
    }

    .qv-badges {
        gap: 8px;
        margin-bottom: 10px;
    }

    .qv-stock-badge {
        padding: 2px 8px;
        font-size: 9px;
    }

    .qv-meta {
        margin-bottom: 10px;
        font-size: 11px;
    }

    .qv-price-section {
        padding: 10px 0;
        margin-bottom: 15px;
    }

    #qvPrice {
        font-size: 18px;
    }

    #qvOldPrice {
        font-size: 13px;
    }

    .qv-savings {
        font-size: 11px;
    }

    .qv-specs {
        gap: 8px;
        margin-bottom: 15px;
    }

    .qv-spec-item {
        padding: 6px 10px;
        border-radius: 6px;
    }

    .qv-spec-label {
        font-size: 7px;
    }

    .qv-spec-val {
        font-size: 11px;
    }

    .qv-description-area h4 {
        font-size: 10px;
        margin-bottom: 3px;
    }

    #qvDescription {
        font-size: 11px;
        line-height: 1.5;
    }

    .qv-actions {
        gap: 8px;
        flex-direction: column;
    }

    .qv-action-btn {
        width: 100%;
        padding: 10px !important;
        font-size: 11px !important;
        min-width: unset;
    }

    /* Fixed Exit Button for Mobile Quick View */
    .qv-content .searchClose {
        top: 10px;
        right: 10px;
        width: 32px;
        height: 32px;
        z-index: 100;
        background: rgba(255, 255, 255, 0.9);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
}


/* --- Social Icon Fixes --- */
.socialIcon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- Container Responsiveness refinement --- */
@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }
}

/* Ensure images don't overflow on small screens */
img {
    max-width: 100%;
    height: auto;
}