/* =========================================
   Sagunthala Sweets - E-Commerce Styles
   ========================================= */

:root {
    /* Color Palette */
    --clr-primary: #01004e;
    /* Deep Royal Blue */
    --clr-primary-rgb: 1, 0, 78;
    --clr-primary-light: #02007a;
    --clr-primary-dark: #010036;

    --clr-accent: #d4af37;
    /* Metallic Gold */
    --clr-accent-rgb: 212, 175, 55;
    --clr-accent-light: #f3e5ab;
    --clr-accent-dark: #aa8c2c;

    --clr-bg: #fffdf5;
    /* Cream */
    --clr-white: #ffffff;
    --clr-black: #111111;
    --clr-text-main: #333333;
    --clr-text-light: #666666;

    --clr-border: #e0d8c0;
    --clr-badge-sale: #e74c3c;
    --clr-badge-new: #2ecc71;
    --clr-stars: #f39c12;

    /* Typography */
    --font-heading: 'Cinzel', serif;
    --font-serif: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    /* Shadows & Transitions */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 5px 15px rgba(1, 0, 78, 0.08);
    --shadow-lg: 0 15px 35px rgba(1, 0, 78, 0.15);
    --shadow-gold: 0 5px 20px rgba(212, 175, 55, 0.3);

    --transition-fast: 0.3s ease;
    --transition-smooth: 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);

    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;

    /* Fluid Typography (clamp-based) */
    --fz-h1: clamp(1.4rem, 5vw, 3.5rem);
    --fz-h2: clamp(1rem, 4vw, 2rem);
    --fz-h3: clamp(1.3rem, 3vw, 1.2rem);
    --fz-h4: clamp(1rem, 2vw, 1.4rem);
    --fz-body: clamp(0.95rem, 1.1vw, 1.1rem);
    --fz-subtitle: clamp(1rem, 2vw, 1.3rem);
    --fz-nav: clamp(0.85rem, 1vw, 1rem);
    --fz-card-title: clamp(1rem, 2vw, 1.1rem);
    --fz-price: clamp(1.1rem, 2vw, 1.3rem);
    --fz-small: clamp(0.75rem, 0.9vw, 0.9rem);
    --fz-badge: clamp(0.65rem, 0.8vw, 0.75rem);

    /* Fluid Spacing */
    --section-padding: clamp(20px, 4vw, 30px);
    --container-padding: clamp(10px, 3vw, 20px);
    --grid-gap: clamp(20px, 3vw, 40px);
}

/* =========================================
   Resets & Base Styles
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--clr-text-main);
    background-color: var(--clr-bg);
    /* Subtle background texture */
    background-image: url('../assets/images/bg_pattern_1773294138723.png');
    background-repeat: repeat;
    background-size: 400px;
    background-attachment: fixed;
    background-blend-mode: overlay;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

button,
input {
    font-family: inherit;
    outline: none;
    border: none;
}

button {
    cursor: pointer;
    background: none;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section-padding {
    padding: var(--section-padding) 0;
}

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

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--clr-primary);
    font-family: var(--font-heading);
    font-weight: 600;
}

h1 {
    font-size: var(--fz-h1);
}

h2 {
    font-size: var(--fz-h2);
}

h3 {
    font-size: var(--fz-h3);
}

h4 {
    font-size: var(--fz-h4);
}

.section-title {
    font-size: var(--fz-h2);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-subtitle {
    display: inline-block;
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--clr-accent);
    font-size: var(--fz-subtitle);
    margin-bottom: 5px;
}

.divider {
    height: 3px;
    width: 80px;
    background: var(--clr-accent);
    margin: 0 auto 30px;
    position: relative;
}

.divider::before,
.divider::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: var(--clr-primary);
    border-radius: 50%;
}

.divider::before {
    left: -15px;
}

.divider::after {
    right: -15px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: var(--transition-smooth);
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

.btn-primary {
    background-color: var(--clr-accent);
    color: var(--clr-primary-dark);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
    color: var(--clr-primary-dark);
}

.btn-outline {
    border: 2px solid var(--clr-accent);
    color: var(--clr-primary);
    background: transparent;
}

.btn-outline:hover {
    background: var(--clr-accent);
    color: var(--clr-primary-dark);
}

/* =========================================
   Loader
   ========================================= */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--clr-primary);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease, visibility 0.8s;
}

.loader-wrapper.fade-out {
    opacity: 0;
    visibility: hidden;
}

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

.loader-spinner {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    border-top-color: var(--clr-accent);
    animation: spin 1.5s ease-in-out infinite;
    margin: 0 auto 20px;
}

.loader-text {
    color: #ffffff;
    letter-spacing: 3px;
    animation: pulse 2s infinite;
}

.loader-text span {
    color: var(--clr-accent);
}

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

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

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }
}

/* =========================================
   Header & Navigation
   ========================================= */
.announcement-bar {
    background-color: var(--clr-primary-dark);
    color: var(--clr-accent);
    padding: 8px 0;
    font-size: 0.9rem;
    font-weight: 500;
    overflow: hidden;
    position: relative;
}

.marquee-content {
    white-space: nowrap;
    animation: marquee 40s linear infinite;
}

.marquee-content p {
    display: inline-block;
    padding-right: 50px;
}

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

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

.header {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.header.scrolled {
    padding: 12px 0;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo h1 {
    font-size: var(--fz-h3);
    line-height: 0.9;
    text-transform: uppercase;
    font-weight: 700;
    background: linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-primary-dark) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

.brand-logo span {
    color: var(--clr-accent);
    font-size: var(--fz-small);
    letter-spacing: 5px;
    font-weight: 600;
    display: block;
    margin-top: 2px;
}

.main-nav {
    display: flex;
}

/* Hide mobile menu brand header on desktop */
.mobile-nav-header {
    display: none;
}

.nav-list {
    display: flex;
    gap: 30px;
}

@media (max-width: 1200px) {
    .nav-list {
        gap: 20px;
    }
}

@media (max-width: 1024px) {
    .nav-list {
        gap: clamp(10px, 1.5vw, 20px);
    }
}

.nav-link {
    font-family: var(--font-heading);
    color: var(--clr-primary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: var(--fz-nav);
    position: relative;
    padding: 8px 0;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--clr-accent), transparent);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform: translateX(-50%);
}

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

.nav-link:hover {
    color: var(--clr-accent-dark);
    transform: translateY(-2px);
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--clr-white);
    box-shadow: var(--shadow-lg);
    border-top: 3px solid var(--clr-accent);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-smooth);
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 12px 20px;
    color: var(--clr-text-main);
    border-bottom: 1px solid var(--clr-border);
    transition: var(--transition-fast);
}

.dropdown-menu li a:hover {
    background-color: var(--clr-bg);
    color: var(--clr-primary);
    padding-left: 25px;
}

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

.search-container {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(var(--clr-primary-rgb), 0.03);
    border-radius: 25px;
    padding: 5px 18px;
    border: 1px solid rgba(var(--clr-primary-rgb), 0.1);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    width: 200px;
    /* Fixed width to stabilize layout */
}

.search-container:focus-within {
    background: var(--clr-white);
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.25);
    border-color: var(--clr-accent);
    width: 250px;
    margin-left: -50px;
    transform: translateY(-1px);
}

.search-input {
    background: transparent;
    width: 100%;
    border: none;
    outline: none;
    padding: 5px 0;
    font-size: var(--fz-nav);
    color: var(--clr-primary);
    font-family: var(--font-body);
}

.search-input::placeholder {
    color: rgba(var(--clr-primary-rgb), 0.4);
}

.search-btn {
    border: none;
    background: transparent;
    color: var(--clr-accent-dark);
    font-size: 1rem;
    cursor: pointer;
    padding: 0;
    margin-left: 10px;
}

/* Real-time Search Results Dropdown */
.search-results-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    margin-top: 12px;
    z-index: 1100;
    overflow: hidden;
    display: none;
    max-height: 450px;
    overflow-y: auto;
    border: 1px solid rgba(0, 0, 0, 0.05);
    animation: slideDown 0.3s ease;
}

.search-results-dropdown.active {
    display: block;
}

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

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

.search-result-item {
    display: flex;
    align-items: center;
    padding: 12px 18px;
    gap: 15px;
    text-decoration: none;
    color: var(--clr-text);
    transition: all 0.2s;
    border-bottom: 1px solid #f8f8f8;
    cursor: pointer;
}

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

.search-result-item:hover {
    background: #fdfaf0;
}

.search-result-img {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.search-result-info {
    flex: 1;
}

.search-result-name {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--clr-primary);
    margin-bottom: 2px;
}

.search-result-price {
    font-size: 0.85rem;
    color: var(--clr-accent-dark);
    font-weight: 700;
}

.search-no-results {
    padding: 30px 20px;
    text-align: center;
    color: #888;
    font-size: 0.9rem;
    background: #fff;
}

.icon-btn {
    font-size: var(--fz-h4);
    color: var(--clr-primary);
    position: relative;
    transition: var(--transition-fast);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-btn:hover {
    background-color: var(--clr-bg);
    color: var(--clr-accent-dark);
}

.badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--clr-accent);
    color: var(--clr-primary-dark);
    font-size: var(--fz-badge);
    font-weight: bold;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--clr-primary);
}

/* =========================================
   Hero Slider
   ========================================= */
.hero-section {
    position: relative;
    height: 90vh;
    /* Increased for grander feel */
    min-height: 600px;
    overflow: hidden;
    background: var(--clr-primary-dark);
}

.hero-decor-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

/* Light Ray Animation */
.light-ray {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.08) 0%, transparent 60%);
    animation: rotateRay 25s linear infinite;
    mix-blend-mode: screen;
}

@keyframes rotateRay {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Particles System */
.particles-container {
    position: absolute;
    inset: 0;
}

@keyframes goldenDust {
    0% {
        transform: translateY(100vh) rotate(0deg) scale(0);
        opacity: 0;
    }

    20% {
        opacity: 0.8;
        transform: translateY(80vh) rotate(90deg) scale(1);
    }

    50% {
        opacity: 1;
        transform: translateY(50vh) rotate(180deg) scale(1.2);
    }

    80% {
        opacity: 0.8;
        transform: translateY(20vh) rotate(270deg) scale(1);
    }

    100% {
        transform: translateY(-100px) rotate(360deg) scale(0);
        opacity: 0;
    }
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: radial-gradient(circle, #fff 0%, var(--clr-accent) 50%, var(--clr-accent-dark) 100%);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--clr-accent);
    opacity: 0;
    animation: goldenDust var(--d, 10s) linear infinite;
}

/* Rose Petals Animation */
.petals-container {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 3;
    overflow: hidden;
}

.petal {
    position: absolute;
    top: -100px;
    width: 25px;
    height: 25px;
    background: radial-gradient(circle at 30% 30%, #ff4d6d 0%, #c9184a 100%);
    border-radius: 50% 0 50% 50%;
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.2));
    animation: fallingPetal var(--d, 12s) linear infinite;
    opacity: 0;
}

@keyframes fallingPetal {
    0% {
        transform: translateY(0) rotate(0deg) translateX(0) scale(0);
        opacity: 0;
    }

    10% {
        opacity: 0.8;
        transform: translateY(10vh) rotate(30deg) translateX(20px) scale(1);
    }

    25% {
        transform: translateY(25vh) rotate(90deg) translateX(-30px);
    }

    50% {
        transform: translateY(50vh) rotate(180deg) translateX(40px);
    }

    75% {
        transform: translateY(75vh) rotate(270deg) translateX(-20px);
    }

    100% {
        transform: translateY(110vh) rotate(360deg) translateX(30px) scale(0.8);
        opacity: 0;
    }
}

.petal-1 {
    left: 10%;
    --d: 15s;
    animation-delay: 0s;
}

.petal-2 {
    left: 25%;
    --d: 12s;
    animation-delay: 2s;
    width: 15px;
    height: 15px;
}

.petal-3 {
    left: 45%;
    --d: 18s;
    animation-delay: 5s;
}

.petal-4 {
    left: 60%;
    --d: 14s;
    animation-delay: 1s;
    width: 20px;
    height: 20px;
}

.petal-5 {
    left: 75%;
    --d: 16s;
    animation-delay: 4s;
}

.petal-6 {
    left: 90%;
    --d: 13s;
    animation-delay: 7s;
    width: 18px;
    height: 18px;
}

.petal-7 {
    left: 5%;
    --d: 17s;
    animation-delay: 6s;
}

.petal-8 {
    left: 55%;
    --d: 19s;
    animation-delay: 3s;
}


/* Ornament Animations */
@keyframes ornamentPulse {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 0 5px var(--clr-accent));
    }

    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 0 20px var(--clr-accent));
        opacity: 0.9;
    }

    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 5px var(--clr-accent));
    }
}

.hero-slide.active .ornament {
    animation: ornamentFade 1.2s ease-out 0.8s forwards, ornamentPulse 3s ease-in-out 2s infinite;
}

.hero-slider {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 2;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    /* Prevent image stretching on ultra-wide */
    background-attachment: scroll;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(1, 0, 78, 0.85) 0%, rgba(1, 0, 78, 0.4) 50%, rgba(1, 0, 78, 0.7) 100%);
    /* Extra layer for depth */
}

.hero-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 70% 30%, rgba(212, 175, 55, 0.15), transparent 60%),
        url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0MCIgaGVpZ2h0PSI0MCIgdmlld0JveD0iMCAwIDQwIDQwIj4KPHBhdGggZD0iTTIwIDBDMTEuMTU2NyAwIDQgNy4xNTY4NSA0IDE2QzQgMjQuODQzMSAxMS4xNTY3IDMyIDIwIDMyQzI4Ljg0MzMgMzIgMzYgMjQuODQzMSAzNiAxNkMzNiA3LjE1Njg1IDI4Ljg0MzMgMCAyMCAwWk0yMCAyOEMxMy4zNzI2IDI4IDggMjIuNjI3NCA4IDE2QzggOS4zNzI1OCAxMy4zNzI2IDQgMjAgNEMyNi42Mjc0IDQgMzIgOS4zNzI1OCAzMiAxNkMzMiAyMi42Mjc0IDI2LjYyNzQgMjggMjAgMjhaIiBmaWxsPSJyZ2JhKDIxMiwgMTc1LCA1NSwgMC4wOCkiLz4KPC9zdmc+');
    /* Subtle traditional circle/mandala pattern */
    background-size: 80px 80px;
    opacity: 0.45;
}

.hero-content {
    position: relative;
    z-index: 5;
    max-width: 900px;
    text-align: center;
    color: var(--clr-white);
    padding: 0 40px;
}

.hero-content .subtitle {
    display: inline-block;
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--clr-accent);
    font-size: 1rem;
    margin-bottom: 20px;
    letter-spacing: 3px;
    text-transform: uppercase;
    position: relative;
    padding: 0 55px;
}

.hero-content .subtitle::before,
.hero-content .subtitle::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 45px;
    height: 1px;
    background: var(--clr-accent);
}

.hero-content .subtitle::before {
    left: 0;
}

.hero-content .subtitle::after {
    right: 0;
}

.hero-content .title {
    font-size: var(--fz-h1);
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.gradient-text {
    background: linear-gradient(to bottom, #f3e5ab 0%, #d4af37 50%, #aa8c2c 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
}

.ornament {
    font-size: 1rem;
    color: var(--clr-accent);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    opacity: 0;
}

.ornament::before,
.ornament::after {
    content: '';
    width: 70px;
    height: 1px;
    background: linear-gradient(to var(--d, right), var(--clr-accent), transparent);
}

.ornament::after {
    --d: left;
}

.hero-slide.active .ornament {
    animation: ornamentFade 1.2s ease-out 0.8s forwards;
}

@keyframes ornamentFade {
    from {
        opacity: 0;
        transform: scale(0.6);
    }

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

.hero-content .desc {
    font-size: var(--fz-body);
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
    font-weight: 300;
}

.hero-btns .btn {
    padding: 16px 45px;
    font-size: 1rem;
    border-radius: 50px;
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.4);
}

.hero-btns .btn i {
    transition: transform 0.3s ease;
    margin-left: 10px;
}

.hero-btns .btn:hover i {
    transform: translateX(6px);
}

@media (min-width: 1400px) {
    .hero-content .title {
        font-size: 3.5rem;
    }

    .hero-content .subtitle {
        font-size: 1.1rem;
    }

    .hero-content .desc {
        font-size: 1rem;
        max-width: 750px;
    }
}

/* Hero Frame Decoration */
.hero-frame {
    position: absolute;
    inset: -40px;
    border: 1px solid rgba(212, 175, 55, 0.25);
    pointer-events: none;
    opacity: 0;
    transition: all 1.2s cubic-bezier(0.22, 1, 0.36, 1) 1s;
}

.hero-slide.active .hero-frame {
    inset: -20px;
    opacity: 1;
}

/* Slider Animations */
.slide-up-anim {
    opacity: 0;
    transform: translateY(60px);
}

.hero-slide.active .slide-up-anim {
    animation: advancedSlideIn 1.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

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

.delay-1 {
    animation-delay: 0.4s;
}

.delay-2 {
    animation-delay: 0.8s;
}

.delay-3 {
    animation-delay: 1.2s;
}

/* Background Ken Burns Effect */
@keyframes kenBurnsLarge {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.18);
    }
}

.hero-slide.active {
    animation: kenBurnsLarge 18s ease-out forwards;
}

.slider-controls {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    z-index: 15;
}

.slider-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: var(--clr-white);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.slider-btn:hover {
    background: var(--clr-accent);
    color: var(--clr-primary-dark);
    border-color: var(--clr-accent);
    transform: scale(1.15);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.slider-dots {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.dot {
    width: 12px;
    height: 12px;
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.5);
    transform: rotate(45deg);
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    backdrop-filter: blur(4px);
}

.dot::after {
    content: '';
    position: absolute;
    inset: 2px;
    background: rgba(212, 175, 55, 0.2);
    transition: all 0.4s ease;
}

.dot:hover {
    border-color: var(--clr-accent);
    transform: rotate(45deg) scale(1.2);
    background: rgba(212, 175, 55, 0.1);
}

.dot.active {
    width: 8px;
    height: 40px;
    background: linear-gradient(180deg, #f3e5ab, var(--clr-accent), #aa8c2c);
    background-size: 200% auto;
    border: none;
    transform: rotate(0deg);
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.8), 0 0 30px rgba(212, 175, 55, 0.4);
    animation: luminousPill 3s linear infinite;
}

@keyframes luminousPill {
    0% {
        background-position: 0% 50%;
    }

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

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

.dot.active::after {
    display: none;
}

/* Responsive Design */
@media (max-width: 992px) {
    .nav-container {
        padding: 0 20px;
    }

    .search-container {
        width: 160px;
    }

    .search-container:focus-within {
        width: 200px;
        margin-left: -40px;
    }

    .hero-content .title {
        font-size: 2.8rem;
        line-height: 1.1;
    }

    .hero-content .subtitle {
        font-size: 1.1rem;
        padding: 0 45px;
        letter-spacing: 3px;
    }

    .hero-content .subtitle::before,
    .hero-content .subtitle::after {
        width: 35px;
    }

    .hero-content .desc {
        font-size: 1.1rem;
        margin-bottom: 35px;
    }

    .hero-section {
        min-height: 550px;
        height: 75vh;
    }

    .hero-frame {
        display: none;
    }

    .particles-container {
        opacity: 0.5;
    }

    .promo-bg {
        background-attachment: scroll;
    }

    .promo-content .title {
        font-size: 1.2rem;
    }

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

@media (max-width: 768px) {
    .hero-content .title {
        font-size: 2.1rem;
    }

    .hero-content .subtitle {
        font-size: 1.1rem;
        padding: 0 35px;
        letter-spacing: 3px;
    }

    .hero-content .desc {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }

    .search-container {
        display: none;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        padding: 30px 30px 40px;
        transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        z-index: 1001;
    }

    .mobile-nav-header {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        margin-bottom: 30px;
        border-bottom: 1px solid rgba(1, 0, 78, 0.08);
        padding-bottom: 15px;
    }

    .mobile-brand-logo {
        display: flex;
        align-items: center;
        text-decoration: none;
    }

    .mobile-brand-text {
        font-family: var(--font-heading);
        font-size: 1.15rem;
        font-weight: 700;
        letter-spacing: 0.5px;
        color: var(--clr-primary);
        text-transform: uppercase;
        margin: 0;
    }

    .mobile-brand-text span {
        color: var(--clr-accent);
    }

    .main-nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 20px;
    }

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

    .mobile-menu-close {
        display: block !important;
    }

    /* Hero Navigation Polish - Mobile */
    .slider-controls {
        right: 20px;
        gap: 20px;
        top: 55%;
    }

    .slider-btn {
        width: 45px;
        height: 45px;
    }

    .dot {
        width: 10px;
        height: 10px;
    }

    .dot.active {
        width: 7px;
        height: 30px;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border: none;
        padding-left: 15px;
        display: none;
    }

    .dropdown.active .dropdown-menu {
        display: block;
        margin-top: 10px;
        animation: slideDown 0.3s ease-out;
    }

    .text-center {
        margin-top: clamp(30px, 5vw, 50px);
    }
}

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

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

@media (max-width: 576px) {
    .hero-content .subtitle {
        padding: 0 30px;
        letter-spacing: 2px;
    }

    .hero-content .subtitle::before,
    .hero-content .subtitle::after {
        width: 20px;
    }

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

    .hero-btns .btn {
        padding: 12px 30px;
    }

    .ornament {
        margin-bottom: 20px;
    }

    .ornament::before,
    .ornament::after {
        width: 40px;
    }

    .slider-controls {
        right: 12px;
        gap: 12px;
        top: 65%;
    }

    .slider-btn {
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
    }

    .dot {
        width: 8px;
        height: 8px;
    }

    .dot.active {
        width: 5px;
        height: 22px;
    }
}

@media (max-width: 480px) {
    .brand-logo span {
        letter-spacing: 2px;
    }

    .nav-container {
        padding: 0 15px;
    }

    .header-actions {
        gap: 8px;
    }
}

body.no-scroll {
    overflow: hidden;
}

/* =========================================
   Categories Section (Improvised Carousel)
   ========================================= */
.categories-carousel-wrapper {
    position: relative;
    padding: 20px 0 60px;
    margin-top: 20px;
}

.categories-carousel {
    overflow: hidden;
    width: 100%;
    cursor: grab;
}

.categories-carousel:active {
    cursor: grabbing;
}

.categories-track {
    display: flex;
    gap: 30px;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.categories-grid-wrapper {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
}

.category-card {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    background: #fff;
    padding: 60px 40px;
    border-radius: 35px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.03), 0 5px 20px rgba(212, 175, 55, 0.08);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    border: 1px solid rgba(212, 175, 55, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.category-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.08), transparent 70%);
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: -1;
}

.category-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(1, 0, 78, 0.1), 0 10px 30px rgba(212, 175, 55, 0.2);
    border-color: var(--clr-accent);
}

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

.category-icon {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 30px;
    border: 5px solid #fff;
    outline: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    background: #fff;
    position: relative;
}

.category-card:hover .category-icon {
    border-color: var(--clr-accent);
    transform: rotate(5deg) scale(1.1);
    box-shadow: 0 12px 25px rgba(212, 175, 55, 0.3);
}

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

.category-card:hover .category-icon img {
    transform: scale(1.15);
}

.category-card h4 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--clr-primary);
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.category-card p {
    font-size: 0.85rem;
    color: var(--clr-accent);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-weight: 700;
    position: relative;
    padding-bottom: 8px;
    display: inline-block;
}

.category-card p::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--clr-accent);
    transition: var(--transition-smooth);
    transform: translateX(-50%);
}

.category-card:hover p::after {
    width: 100%;
}

/* Nav Controls */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--clr-white);
    color: var(--clr-primary);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    border: 1px solid var(--clr-border);
}

.carousel-nav:hover {
    background: var(--clr-accent);
    color: var(--clr-primary-dark);
    border-color: var(--clr-accent);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.carousel-nav.prev {
    left: -25px;
}

.carousel-nav.next {
    right: -25px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.cat-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.4s ease;
}

.cat-dot.active {
    background: var(--clr-accent);
    transform: scale(1.4);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* Responsive Categories */
@media (max-width: 992px) {
    .categories-grid-wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        max-width: 100%;
        padding: 0 15px;
    }

    .category-card {
        min-width: 0;
        padding: 40px 20px;
    }

    .category-icon {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 480px) {
    .categories-grid-wrapper {
        gap: 12px;
        padding: 0 10px;
    }

    .category-card {
        min-width: 140px;
        padding: 30px 15px;
        border-radius: 20px;
    }

    .category-icon {
        width: 120px;
        height: 120px;
        border-width: 3px;
    }

    .category-card h4 {
        font-size: 1.1rem;
    }
}

.carousel-nav {
    display: none;
}


@media (max-width: 480px) {
    .category-card {
        flex: 0 0 100%;
    }
}

/* =========================================
   Products Grid & Cards
   ========================================= */
.bg-light {
    background-color: var(--clr-white);
}

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

.product-card {
    background: var(--clr-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(1, 0, 78, 0.04);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    border: 1px solid rgba(212, 175, 55, 0.12);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(1, 0, 78, 0.08), 0 0 20px rgba(212, 175, 55, 0.15);
    border-color: rgba(212, 175, 55, 0.4);
}

.product-badges {
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    z-index: 5;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.product-badges .badge {
    padding: 4px 12px;
    border-radius: 50px;
    font-size: var(--fz-badge);
    color: var(--clr-white);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    background: var(--clr-primary);
}

.badge.sale {
    background-color: var(--clr-badge-sale);
}

.badge.new {
    background-color: var(--clr-badge-new);
}


.product-image {
    position: relative;
    height: clamp(280px, 35vh, 380px);
    /* Increased height for full view */
    overflow: hidden;
    background: #fdfdfd;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Changed to cover for a fuller look */
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

.product-actions {
    position: absolute;
    bottom: 15px;
    left: 15px;
    right: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--border-radius-md);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    z-index: 10;
    border: 1px solid rgba(212, 175, 55, 0.25);
    opacity: 1;
    /* Always visible */
    transform: translateY(0);
}

.product-card:hover .product-actions {
    background: var(--clr-white);
    box-shadow: 0 15px 35px rgba(1, 0, 78, 0.12);
    border-color: var(--clr-accent);
}

.action-btn {
    background: var(--clr-primary);
    color: var(--clr-white);
    height: 42px;
    padding: 0 15px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    flex-grow: 1;
    border: none;
    cursor: pointer;
}

.action-btn:hover {
    background: var(--clr-accent);
    color: var(--clr-primary);
    transform: translateY(-2px);
}

.action-btn.icon-only {
    flex-grow: 0;
    width: 42px;
    height: 42px;
    padding: 0;
    background: rgba(255, 255, 255, 0.9);
    color: var(--clr-primary);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.action-btn.icon-only:hover {
    background: var(--clr-primary);
    color: var(--clr-accent);
    border-color: var(--clr-primary);
}

/* Responsive adjustments for Grand Card UI */
@media (max-width: 768px) {
    .product-image {
        height: 300px;
    }

    .product-actions {
        bottom: 10px;
        left: 10px;
        right: 10px;
        padding: 6px;
        gap: 6px;
    }

    .action-btn {
        height: 38px;
        font-size: 0.75rem;
        padding: 0 10px;
    }

    .action-btn.icon-only {
        width: 38px;
        height: 38px;
    }
}

@media (max-width: 480px) {
    .product-image {
        height: 320px;
    }

    .action-btn span {
        display: none;
        /* Hide text on very small screens to fit icons */
    }

    .action-btn.add-to-cart {
        flex-grow: 1;
    }

    .action-btn.add-to-cart i {
        margin: 0;
        font-size: 1.1rem;
    }
}

.product-info {
    padding: 20px;
    text-align: center;
}


.product-title {
    font-size: var(--fz-card-title);
    margin-bottom: 10px;
    font-family: var(--font-heading);
    color: var(--clr-primary);
}

.product-title a {
    transition: var(--transition-fast);
}

.product-title a:hover {
    color: var(--clr-accent-dark);
}

.product-price {
    font-family: var(--font-heading);
    font-size: var(--fz-price);
    font-weight: 700;
    color: var(--clr-primary);
    margin-bottom: 10px;
}

.old-price {
    font-size: var(--fz-small);
    color: var(--clr-text-light);
    text-decoration: line-through;
    margin-left: 10px;
    font-weight: 400;
}

/* =========================================
   Product Carousel (Grand White UI Refinement)
   ========================================= */
.carousel-grand-frame-wrapper {
    background: #fcfaf5;
    /* Premium Ivory/White Background */
    padding: 30px 0;
    position: relative;
    overflow: hidden;
    margin: 60px 0;
}

.carousel-grand-frame-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("https://www.transparenttextures.com/patterns/royal-feather.png");
    opacity: 0.05;
    /* Even more subtle for white background */
    pointer-events: none;
    filter: invert(1);
    /* Invert pattern for light background if needed */
}

.carousel-section {
    position: relative;
    padding: 60px 40px;
    background: rgba(255, 255, 255, 0.7);
    /* Light glass */
    backdrop-filter: blur(15px);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    /* Softer shadow for white theme */
}

.carousel-ornament {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 3px solid var(--clr-accent-dark);
    z-index: 5;
    pointer-events: none;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.carousel-ornament.top-left {
    top: -15px;
    left: -15px;
    border-right: none;
    border-bottom: none;
}

.carousel-ornament.bottom-right {
    bottom: -15px;
    right: -15px;
    border-left: none;
    border-top: none;
}

.section-pre-title {
    display: block;
    font-family: var(--font-body);
    color: var(--clr-accent-dark);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.divider-gold {
    background: linear-gradient(to right, transparent, var(--clr-accent), transparent);
    height: 2px;
    width: 150px;
    margin: 20px auto 40px;
}

.product-carousel-wrapper {
    position: relative;
    padding: 0 20px;
}

.product-carousel {
    position: relative;
    overflow: hidden;
    padding: 30px 0;
}

.carousel-track {
    display: flex;
    gap: 30px;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.carousel-track .product-card {
    flex: 0 0 calc(25% - 22.5px);
}

.carousel-btn {
    position: absolute;
    top: 42%;
    transform: translateY(-50%);
    width: 60px;
    /* Slightly larger for better accessibility */
    height: 60px;
    border-radius: 50%;
    background: var(--clr-white);
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: var(--clr-primary);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 50;
    /* Higher z-index to stay above cards */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.carousel-btn:hover {
    background: var(--clr-accent);
    color: var(--clr-primary);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.3);
}

.carousel-btn.prev-btn {
    left: 0px;
}

.carousel-btn.next-btn {
    right: 0px;
}

/* Best Selling Responsive */
@media (max-width: 1200px) {
    .carousel-track .product-card {
        flex: 0 0 calc(33.333% - 20px);
    }
}

@media (max-width: 992px) {
    .carousel-section {
        padding: 50px 25px;
        margin: 0 15px;
    }

    .carousel-btn {
        width: 45px;
        height: 45px;
    }

    .carousel-btn.prev-btn {
        left: 5px;
    }

    .carousel-btn.next-btn {
        right: 5px;
    }
}

@media (max-width: 768px) {
    .carousel-track .product-card {
        flex: 0 0 calc(50% - 15px);
    }

    .carousel-grand-frame-wrapper {
        padding: 60px 0;
    }
}

@media (max-width: 500px) {
    .carousel-track .product-card {
        flex: 0 0 100%;
    }

    .carousel-ornament {
        width: 40px;
        height: 40px;
    }
}

/* =========================================
   Promo Section (Parallax)
   ========================================= */
.promo-section {
    position: relative;
    height: clamp(600px, 80vh, 900px);
    /* Taller for more grandeur */
    overflow: hidden;
}

.promo-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center bottom;
    /* Focus on the lower part of banquet image */
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
}

.promo-section .hero-overlay {
    background: radial-gradient(circle at center, rgba(1, 0, 78, 0.4) 0%, rgba(1, 0, 78, 0.7) 100%);
}

.promo-content {
    position: relative;
    z-index: 2;
    color: var(--clr-white);
    max-width: 900px;
    /* margin: 0 auto; */
    padding: clamp(40px, 6vw, 80px);
    background: rgba(1, 0, 78, 0.2);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.6);
}

/* Grand Decorative Frame Corners */
.promo-content::before,
.promo-content::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    border: 2px solid var(--clr-accent);
    z-index: 3;
    pointer-events: none;
}

.promo-content::before {
    top: 15px;
    left: 15px;
    border-right: none;
    border-bottom: none;
}

.promo-content::after {
    bottom: 15px;
    right: 15px;
    border-left: none;
    border-top: none;
}

.promo-ornament {
    font-size: 2.5rem;
    color: var(--clr-accent);
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.5));
}

.promo-divider {
    width: 60px;
    height: 2px;
    background: var(--clr-accent);
    margin: 0 auto clamp(20px, 4vw, 40px);
    position: relative;
}

.promo-divider::after {
    content: '✦';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--clr-primary-dark);
    padding: 0 10px;
    color: var(--clr-accent);
    font-size: 0.8rem;
}

.promo-content .title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: var(--white);
    margin-bottom: clamp(10px, 2vw, 20px);
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: -1px;
    font-weight: 800;
}

.promo-content .desc {
    font-size: clamp(1.1rem, 1.4vw, 1.4rem);
    line-height: 1.7;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.95);
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

/* Promo Responsive V2 */
@media (max-width: 992px) {
    .promo-bg {
        background-position: 70% bottom;
        /* Adjust to keep main banquet elements visible */
    }
}

@media (max-width: 768px) {
    .promo-section {
        height: auto;
        min-height: 100vh;
        padding: 50px 0;
        display: flex;
        align-items: center;
    }

    .promo-bg {
        background-attachment: scroll;
        background-position: center center;
    }

    .promo-content {
        margin: 0 15px;
        padding: 50px 20px;
        border-radius: var(--border-radius-md);
    }
}

@media (max-width: 480px) {

    .promo-content::before,
    .promo-content::after {
        width: 30px;
        height: 30px;
    }

    .promo-title {
        font-size: 2.2rem;
    }
}

/* Premium Scroll Reveal System */
.reveal {
    opacity: 0;
    transition: all 1s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform, opacity;
}

/* Reveal Variations */
.reveal-up {
    transform: translateY(60px);
}

.reveal-down {
    transform: translateY(-60px);
}

.reveal-left {
    transform: translateX(-60px);
}

.reveal-right {
    transform: translateX(60px);
}

.reveal-zoom {
    transform: scale(0.9);
}

.reveal-blur {
    filter: blur(10px);
}

.reveal.active {
    opacity: 1;
    transform: translate(0) scale(1);
    filter: blur(0);
}

/* Staggered Reveals (Parent-based) */
.reveal-stagger>* {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-stagger.active>* {
    opacity: 1;
    transform: translateY(0);
}

/* Individual slide delays for lists/grids */
.reveal-stagger.active>*:nth-child(1) {
    transition-delay: 0.1s;
}

.reveal-stagger.active>*:nth-child(2) {
    transition-delay: 0.2s;
}

.reveal-stagger.active>*:nth-child(3) {
    transition-delay: 0.3s;
}

.reveal-stagger.active>*:nth-child(4) {
    transition-delay: 0.4s;
}

.reveal-stagger.active>*:nth-child(5) {
    transition-delay: 0.5s;
}

.reveal-stagger.active>*:nth-child(6) {
    transition-delay: 0.6s;
}

/* Parallax Element Base */
.parallax-element {
    transition: transform 0.1s linear;
    will-change: transform;
}

/* =========================================
   Gallery Section
   ========================================= */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    height: 300px;
}

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

.gallery-item .overlay {
    position: absolute;
    inset: 0;
    background: rgba(1, 0, 78, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-white);
    font-size: 2rem;
    opacity: 0;
    transition: var(--transition-fast);
}

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

.gallery-item:hover .overlay {
    opacity: 1;
}

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

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

    .gallery-item {
        height: 250px;
    }
}

/* =========================================
   Newsletter
   ========================================= */
.bg-primary {
    background-color: var(--clr-primary-dark);
}

.text-white {
    color: var(--clr-white);
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    position: relative;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border-radius: var(--border-radius-md) 0 0 var(--border-radius-md);
    font-size: 1rem;
    border: none;
}

.newsletter-form button {
    border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
}

@media (max-width: 600px) {
    .newsletter-form {
        flex-direction: column;
        gap: 10px;
    }

    .newsletter-form input,
    .newsletter-form button {
        border-radius: var(--border-radius-md);
        width: 100%;
    }
}

/* =========================================
   Footer
   ========================================= */
.footer {
    background-color: var(--clr-primary-dark);
    background-image:
        /* Premium Radial Highlight */
        radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.1) 0%, transparent 70%),
        /* Main Gradient */
        linear-gradient(135deg, var(--clr-primary-dark) 0%, var(--clr-primary) 100%),
        /* Enhanced CSS Pattern: Denser Diamond Grid */
        repeating-linear-gradient(45deg, rgba(212, 175, 55, 0.08) 0px, rgba(212, 175, 55, 0.08) 1px, transparent 1px, transparent 20px),
        repeating-linear-gradient(-45deg, rgba(212, 175, 55, 0.08) 0px, rgba(212, 175, 55, 0.08) 1px, transparent 1px, transparent 20px);
    background-blend-mode: normal, normal, overlay;
    color: var(--clr-white);
    padding-top: 80px;
    border-top: 5px solid var(--clr-accent);
    position: relative;
    box-shadow: 0 -15px 50px rgba(0, 0, 0, 0.4);
}

/* Refined footer logo with circular white background */
.footer-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--clr-white);
    padding: 10px;
    border-radius: 10%;
    /* Perfect circle */
    margin-bottom: 25px;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 90px;
    height: 90px;
    margin-right: auto;
    /* Ensures left alignment */
}

.footer-logo img {
    height: 65px;
    /* Slightly smaller to fit circle better */
    width: auto;
    transition: var(--transition-smooth);
}

.footer-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.footer-logo:hover img {
    transform: scale(1.05);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--clr-accent-light), transparent);
    opacity: 0.5;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
}

/* No additional styles needed here as .footer-logo is now handled above */

.footer-col p {
    color: #cccccc;
    font-size: 0.95rem;
    margin-bottom: 20px;
    max-width: 300px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--clr-white);
    margin-right: 10px;
    transition: var(--transition-fast);
}

.social-icons a:hover {
    background: var(--clr-accent);
    color: var(--clr-primary);
    transform: translateY(-3px);
}

.footer-col h3 {
    color: var(--clr-accent);
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col a {
    color: #cccccc;
    transition: var(--transition-fast);
    font-size: 0.95rem;
}

.footer-col a:hover {
    color: var(--clr-accent);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    gap: 15px;
    color: #cccccc;
    font-size: 0.95rem;
}

.contact-info i {
    color: var(--clr-accent);
    margin-top: 3px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    color: #aaaaaa;
    font-size: 0.9rem;
}

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

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

/* =========================================
   Cart Sidebar Modals
   ========================================= */
.cart-overlay,
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: var(--clr-white);
    z-index: 1100;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    transition: 0.4s ease-out;
}

.cart-sidebar.active {
    right: 0;
}

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

.cart-header {
    padding: 20px;
    border-bottom: 1px solid var(--clr-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    font-size: 1.5rem;
    margin: 0;
}

.close-cart,
.close-modal {
    font-size: 1.5rem;
    color: var(--clr-text-light);
}

.close-cart:hover,
.close-modal:hover {
    color: var(--clr-badge-sale);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

/* Cart Item Styles */
.cart-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--clr-border);
    padding-bottom: 20px;
}

.cart-item-img {
    width: 80px;
    height: 80px;
    border-radius: var(--border-radius-sm);
    flex-shrink: 0;
    background: #f9f9f9;
}

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

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

.cart-item-title {
    font-size: 1rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.cart-item-price {
    color: var(--clr-primary);
    font-weight: bold;
    margin-bottom: 10px;
}

.cart-item-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.item-remove {
    color: var(--clr-badge-sale);
    font-size: 0.8rem;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid var(--clr-border);
    background: var(--clr-white);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 15px;
}

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

/* =========================================
   Quick View Modal
   ========================================= */
.quick-view-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
}

.quick-view-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--clr-white);
    width: 90%;
    max-width: 800px;
    border-radius: var(--border-radius-md);
    position: relative;
    transform: translateY(50px);
    transition: 0.4s ease-out;
    overflow: hidden;
}

.quick-view-modal.active .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    background: var(--clr-white);
    border-radius: 50%;
    width: 35px;
    height: 35px;
    box-shadow: var(--shadow-sm);
}

.modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.modal-image {
    background: #f9f9f9;
    padding: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-image img {
    max-height: 300px;
}

.modal-info {
    padding: 40px 40px 40px 0;
}

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

    .modal-image {
        padding: 0px;
    }

    .modal-image img {
        max-height: 200px;
    }

    .modal-info {
        padding: 20px;
    }
}

/* =========================================
   Scroll to Top Button
   ========================================= */
.scroll-top-btn {
    position: fixed;
    bottom: -60px;
    right: 30px;
    width: 45px;
    height: 45px;
    background-color: var(--clr-accent);
    color: var(--clr-primary-dark);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    z-index: 999;
    transition: all 0.4s var(--transition-smooth);
    opacity: 0;
    pointer-events: none;
    border: none;
    outline: none;
}

.scroll-top-btn.show {
    bottom: 30px;
    opacity: 1;
    pointer-events: auto;
}

.scroll-top-btn:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-gold);
    background-color: var(--clr-primary);
    color: var(--clr-accent);
}

/* =========================================
   Responsive Utility Classes
   ========================================= */
.grid-2,
.grid-3,
.grid-4 {
    display: grid;
    gap: var(--grid-gap);
}

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

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

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

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

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

@media (max-width: 600px) {

    .grid-4,
    .grid-3,
    .grid-2 {
        grid-template-columns: 1fr;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        gap: 20px;
    }
}

.section-badge {
    display: inline-block;
    padding: 6px 15px;
    background: var(--clr-accent-light);
    color: var(--clr-accent-dark);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    margin-bottom: 15px;
}

/* =========================================
   New Pages Common Styles (Forms & Layouts)
   ========================================= */

/* Generic Page Header (Standard for inner pages) */
.page-header {
    background-color: var(--clr-primary-dark);
    padding: 60px 0;
    text-align: center;
    color: var(--clr-white);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.1) 0%, transparent 80%);
}

.page-header h2 {
    font-size: 3rem;
    color: var(--clr-white);
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--clr-accent);
    position: relative;
    z-index: 1;
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.6);
}

/* Global Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--clr-primary);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--clr-border);
    border-radius: var(--border-radius-sm);
    font-family: inherit;
    transition: var(--transition-fast);
    background: var(--clr-white);
}

.form-control:focus {
    border-color: var(--clr-accent);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* Auth Pages (Login/Sign Up) */
.auth-container {
    max-width: 450px;
    margin: 60px auto;
    padding: 40px;
    background: var(--clr-white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    border-top: 5px solid var(--clr-accent);
}

.auth-tabs {
    display: flex;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--clr-border);
}

.auth-tab {
    flex: 1;
    text-align: center;
    padding: 10px;
    cursor: pointer;
    font-weight: 600;
    color: var(--clr-text-light);
    transition: var(--transition-fast);
}

.auth-tab.active {
    color: var(--clr-primary);
    border-bottom: 3px solid var(--clr-accent);
}

/* Dashboard / Profile Styles */
.profile-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}

.dashboard-sidebar {
    background: var(--clr-white);
    padding: 30px 0;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    height: fit-content;
}

.db-nav-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 30px;
    color: var(--clr-text-main);
    transition: var(--transition-fast);
    border-left: 4px solid transparent;
}

.db-nav-item:hover,
.db-nav-item.active {
    background: var(--clr-bg);
    color: var(--clr-primary);
    border-left-color: var(--clr-accent);
}

.db-nav-item i {
    width: 20px;
    color: var(--clr-accent-dark);
}

.dashboard-content {
    background: var(--clr-white);
    padding: clamp(15px, 4vw, 40px);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    /* Prevent internal content from leaking */
}

.db-overview-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.db-card {
    padding: 25px;
    background: var(--clr-bg);
    border-radius: var(--border-radius-lg);
    border-left: 4px solid var(--clr-accent);
    transition: var(--transition-fast);
}

.db-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.db-card p {
    font-size: 0.85rem;
    color: var(--clr-text-light);
    margin-bottom: 5px;
}

.db-card h2 {
    color: var(--clr-primary);
    font-size: 2rem;
}

@media (max-width: 600px) {
    .dashboard-content {
        padding: 15px;
    }

    .db-overview-cards {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        margin-bottom: 25px;
    }

    .db-card {
        padding: 12px;
    }

    .db-card p {
        font-size: 0.75rem;
    }

    .db-card h2 {
        font-size: 1.25rem;
    }

    /* Stack form grids on mobile */
    .dashboard-content form div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
}

.db-overview-cards {
    grid-template-columns: 1fr 1fr;
}

.db-card {
    padding: 15px;
}

.db-card h2 {
    font-size: 1.5rem;
}


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


/* Contact Page Specific */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info-card {
    background: var(--clr-white);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: var(--clr-bg);
    color: var(--clr-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* Checkout Page Specific */
.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
}

.checkout-summary {
    background: var(--clr-white);
    padding: 30px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--clr-border);
    position: sticky;
    top: 100px;
}

@media (max-width: 992px) {

    .profile-grid,
    .contact-grid,
    .checkout-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .dashboard-sidebar {
        margin-bottom: 20px;
        padding: 15px 0;
    }

    .user-preview {
        padding: 10px !important;
        margin-bottom: 5px !important;
    }

    .user-preview h3 {
        font-size: 1rem;
    }

    .user-preview .avatar {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.2rem !important;
        margin-bottom: 10px !important;
    }

    .dashboard-sidebar nav {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        padding: 0 15px;
    }

    .db-nav-item {
        border: 1px solid rgba(0, 0, 0, 0.08);
        border-radius: 6px;
        padding: 10px 12px;
        flex: 1 1 calc(50% - 8px);
        justify-content: flex-start;
        border-left: none;
        font-size: 0.85rem;
        background: #fdfdfd;
    }

    .db-nav-item.active {
        background: var(--clr-primary);
        color: var(--clr-white);
        border-color: var(--clr-primary);
        box-shadow: 0 4px 10px rgba(1, 0, 78, 0.15);
    }

    .db-nav-item i {
        color: inherit;
        font-size: 0.9rem;
    }

    /* Logout should be full width on mobile */
    .db-nav-item.logout-item {
        flex: 1 1 100%;
        margin-top: 15px !important;
        background: #fff5f5;
        border-color: #feb2b2;
        color: #c53030;
    }

    .db-nav-item.logout-item i {
        color: #c53030;
    }
}

@media (max-width: 480px) {
    .db-nav-item {
        flex: 1 1 calc(50% - 8px);
        /* Try 2 columns even on small phones */
        font-size: 0.75rem;
        padding: 8px;
    }

    .dashboard-sidebar nav {
        padding: 0 10px;
    }

    .db-overview-cards {
        grid-template-columns: 1fr 1fr;
        /* Keep 2 columns for stats */
    }
}

/* Responsive Table Utility */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 1rem;
}

.table-responsive table {
    min-width: 600px;
    /* Ensure table doesn't squish too much */
}

@media (max-width: 768px) {
    .page-header {
        padding: 40px 0;
    }
}

/* =========================================
   Checkout Page Utilities
   ========================================= */
.payment-option {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border: 1px solid var(--clr-border);
    border-radius: var(--border-radius-md);
    margin-bottom: 15px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.payment-option:hover {
    background: var(--clr-bg);
    border-color: var(--clr-accent);
}

.payment-option input[type="radio"] {
    accent-color: var(--clr-accent);
}

.summary-items {
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 25px;
}

.summary-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.summary-item-img {
    width: 60px;
    height: 60px;
    background: #f9f9f9;
    border-radius: 5px;
    flex-shrink: 0;
    padding: 5px;
}

.summary-item-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

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

.summary-item-total {
    font-weight: 600;
}



/* =========================================
   Shop Page Specific Styles
   ========================================= */
.shop-layout {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.shop-sidebar {
    width: 280px;
    flex-shrink: 0;
}

.shop-main {
    flex: 1;
}

.filter-section {
    background: var(--clr-white);
    padding: 25px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
}

.filter-section h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--clr-primary);
    padding-bottom: 10px;
    border-bottom: 1px solid var(--clr-border);
}

.category-filter-item {
    margin-bottom: 25px !important;
    display: block !important;
}

.main-category {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.main-category label {
    font-weight: 600;
    color: var(--clr-primary);
    cursor: pointer;
}

.sub-filter-list {
    list-style: none;
    padding-left: 15px;
    margin-left: 8px;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-left: 1px solid #eee;
}

.sub-filter-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0 !important;
    padding-left: 10px;
}

.sub-filter-list label {
    font-size: 0.9rem;
    color: #666;
    cursor: pointer;
}

.sub-filter-list input[type="checkbox"] {
    width: 16px;
    height: 16px;
}

.filter-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-list input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--clr-accent);
}

.shop-header-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    background: var(--clr-white);
    padding: 15px 25px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
}

.shop-header-actions select {
    padding: 8px 15px;
    border: 1px solid var(--clr-border);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-body);
}

/* Hide mobile-only elements on desktop */
.mobile-filter-btn-container,
.sidebar-header,
.sidebar-overlay {
    display: none !important;
}

@media (max-width: 992px) {
    .shop-layout {
        display: block;
        margin-top: 20px;
    }

    .shop-sidebar {
        position: fixed;
        top: 0;
        left: -320px;
        width: 300px;
        height: 100vh;
        background: #fff;
        z-index: 2000;
        transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        padding: 30px 20px;
        overflow-y: auto;
        box-shadow: 20px 0 50px rgba(0, 0, 0, 0.1);
        display: flex;
        flex-direction: column;
    }

    .shop-sidebar.active {
        left: 0;
    }

    .sidebar-header {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 30px;
        padding-bottom: 15px;
        border-bottom: 2px solid #f5f5f5;
    }

    .mobile-filter-btn-container {
        display: block !important;
    }

    .sidebar-overlay {
        display: block !important;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(4px);
        z-index: 1999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

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

    .shop-header-actions {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .sidebar-header h3 {
        margin: 0;
        font-size: 1.4rem;
        color: var(--clr-primary);
        font-family: var(--font-heading);
    }

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

    .btn-close-custom:hover {
        background: #e9ecef;
        color: #000;
    }

    .filter-section {
        box-shadow: none;
        padding: 0;
        margin-bottom: 25px;
    }
}

/* text-align: center;
    }
} */


/* =========================================
   Customer Reviews Section (Carousel)
   ========================================= */
.reviews-section {
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

.reviews-carousel-wrapper {
    max-width: 1000px;
    margin: 40px auto 0;
    position: relative;
}

.reviews-carousel {
    overflow: hidden;
    width: 100%;
}

.reviews-track {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.reviews-track .review-card {
    flex: 0 0 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.review-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 60px 40px !important;
    border-radius: 30px !important;
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 20px 50px rgba(1, 0, 78, 0.1);
    position: relative;
    transition: var(--transition-smooth);
}

.review-quote-icon {
    font-size: 3rem;
    color: var(--clr-accent-dark) !important;
    opacity: 0.2;
    margin-bottom: -20px;
}

.review-text {
    font-size: var(--fz-h3) !important;
    font-family: var(--font-serif);
    font-style: italic;
    line-height: 1.6;
    color: var(--clr-primary);
    margin-bottom: 30px !important;
}

.review-card .reviewer {
    display: flex !important;
    align-items: center;
    gap: 20px;
    margin-top: auto;
}

.review-card .reviewer img {
    width: 70px !important;
    height: 70px !important;
    border-radius: 50%;
    border: 3px solid var(--clr-accent-light);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.reviewer-info h4 {
    margin: 0;
    font-size: var(--fz-h4);
    color: var(--clr-primary);
    font-family: var(--font-heading);
}

.reviewer-info span {
    font-size: var(--fz-small);
    color: var(--clr-accent-dark);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.review-dots {
    margin-top: 30px;
    justify-content: center;
}

@media (max-width: 768px) {
    .review-card {
        padding: 40px 20px !important;
    }

    .reviewer img {
        width: 55px !important;
        height: 55px !important;
    }
}

/* --- Ultra-Smooth Scrolling Enhancements --- */

/* Scroll Progress Indicator */
.scroll-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    z-index: 9999;
    background: transparent;
}

.scroll-progress-bar {
    height: 100%;
    background: linear-gradient(to right, #01004e, #d4af37);
    width: 0%;
    transition: width 0.1s linear;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* Luxury Scrollbar Designs */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #fffdf5;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #01004e, #d4af37);
    border-radius: 10px;
    border: 2px solid #fffdf5;
}

::-webkit-scrollbar-thumb:hover {
    background: #d4af37;
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #d4af37 #fffdf5;
}

/* Elegant Reveal Override */
.reveal {
    transition-duration: 1.2s !important;
    transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* --- Smooth Page Transitions --- */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 10000;
    pointer-events: auto;
    opacity: 1;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    visibility: visible;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.page-transition.fade-out {
    opacity: 0;
    visibility: hidden;
    transform: scale(1.1);
    pointer-events: none;
}

.page-transition.fade-in {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    pointer-events: auto;
}

/* --- Navbar Logo Styling --- */
.brand-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.brand-img {
    height: 80px;
    /* Default height for desktop */
    width: auto;
    transition: transform 0.3s ease;
    display: block;
}

.brand-logo:hover .brand-img {
    transform: scale(1.05);
}



.header.scrolled .brand-img {
    height: 45px;
    /* Shrink on scroll */
}

@media (max-width: 768px) {
    .brand-img {
        height: 50px;
    }

    .header.scrolled .brand-img {
        height: 40px;
    }
}

@media (max-width: 480px) {
    .brand-img {
        height: 45px;
    }
}

/* --- Refined Navbar Branding (Logo + Text) --- */
.brand-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    /* Space between logo and text */
    text-decoration: none;
}

.brand-img {
    height: 70px;
    /* Base size */
    width: auto;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.brand-text h1 {
    font-size: 1.8rem !important;
    /* Slightly smaller to fit next to logo */
    line-height: 0.9 !important;
    margin: 0 !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.brand-text span {
    font-size: 0.8rem !important;
    letter-spacing: 4px !important;
}

.header.scrolled .brand-img {
    height: 50px;
}

.header.scrolled .brand-text h1 {
    font-size: 1.5rem !important;
}

@media (max-width: 768px) {
    .brand-logo {
        gap: 10px;
    }

    .brand-img {
        height: 55px;
    }

    .brand-text h1 {
        font-size: 1.4rem !important;
    }

    .brand-text span {
        letter-spacing: 2px !important;
        font-size: 0.7rem !important;
    }
}

@media (max-width: 480px) {

    /* On very small screens, keep it compact */
    .brand-logo {
        gap: 8px;
    }

    .brand-img {
        height: 45px;
    }

    /* Optional: hide text on mobile if too crowded, but user asked for responsive text nearby */
    .brand-text h1 {
        font-size: 1.2rem !important;
    }
}

/* --- Grand Preloader UI --- */
.loader-wrapper {
    background: radial-gradient(circle at center, #acacc5 0%, #01004e 100%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.loader-logo-container {
    position: relative;
    width: 180px;
    height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-logo {
    width: 120px;
    height: auto;
    z-index: 2;
    animation: logoPulse 2s ease-in-out infinite;
}

/* .loader-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--clr-accent);
    border-radius: 50%;
    animation: ringExpand 3s linear infinite;
    opacity: 0;
}

.loader-ring::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    background: var(--clr-accent);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--clr-accent);
} */

.loader-text {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: #02007a;
    text-transform: uppercase;
    margin: 0;
    text-align: center;
    transition: all 0.3s ease;
}

.loader-text span {
    color: var(--clr-accent);
}

.loader-progress {
    width: 220px;
    height: 3px;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
}

/* Preloader Responsiveness */
@media (max-width: 768px) {
    .loader-logo-container {
        width: 140px !important;
        height: 140px !important;
    }
    .loader-logo {
        width: 95px !important;
    }
    .loader-text {
        font-size: 1.4rem !important;
        letter-spacing: 2px !important;
    }
    .loader-progress {
        width: 160px !important;
    }
}

@media (max-width: 480px) {
    .loader-logo-container {
        width: 110px !important;
        height: 110px !important;
    }
    .loader-logo {
        width: 75px !important;
    }
    .loader-text {
        font-size: 1.2rem !important;
        letter-spacing: 1.5px !important;
    }
    .loader-progress {
        width: 130px !important;
    }
}

.loader-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(to right, var(--clr-accent), #f3e5ab);
    animation: progressFill 2.5s ease-in-out forwards;
}

@keyframes logoPulse {

    0%,
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 0px var(--clr-accent));
    }

    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.6));
    }
}

@keyframes ringExpand {
    0% {
        transform: scale(0.6);
        opacity: 0;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

@keyframes progressFill {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .loader-logo-container {
        width: 120px;
        height: 120px;
    }

    .loader-logo {
        width: 80px;
    }
}

/* =========================================
   Heritage & Gifting - Improvised UI
   ========================================= */

/* Heritage Section Refined */
.heritage-section {
    position: relative;
    overflow: hidden;
    background-color: var(--clr-primary);
    background-image:
        radial-gradient(circle at 10% 20%, rgba(212, 175, 55, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(212, 175, 55, 0.05) 0%, transparent 20%);
}

.decorative-element {
    position: absolute;
    width: 300px;
    height: 300px;
    opacity: 0.1;
    pointer-events: none;
    background-image: url('../assets/images/bg_pattern_1773294138723.png');
    background-size: contain;
    background-repeat: no-repeat;
}

.shape-1 {
    top: -100px;
    left: -100px;
    transform: rotate(45deg);
}

.shape-2 {
    bottom: -100px;
    right: -100px;
    transform: rotate(-135deg);
}

.heritage-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 8vw, 120px);
    align-items: center;
}

.heritage-header {
    margin-bottom: 30px;
}

.heritage-subtitle {
    display: block;
    color: var(--clr-accent);
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.heritage-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.1;
    color: var(--clr-white);
    margin-bottom: 20px;
}

.heritage-divider {
    width: 80px;
    height: 3px;
    background: var(--clr-accent);
    position: relative;
}

.heritage-divider::after {
    content: '';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: var(--clr-accent);
    border-radius: 50%;
}

.heritage-desc {
    font-size: clamp(1rem, 1.2vw, 1.25rem);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

.heritage-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.heritage-features .feat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--border-radius-md);
    transition: var(--transition-smooth);
}

.heritage-features .feat:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    border-color: var(--clr-accent);
}

.feat-icon {
    font-size: 2rem;
    color: var(--clr-accent);
    margin-bottom: 15px;
}

.heritage-features .feat span {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Heritage Image Wrapper */
.heritage-image-wrapper {
    position: relative;
    padding: 20px;
}

.heritage-image {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    z-index: 1;
    box-shadow: var(--shadow-lg);
}

.heritage-image img {
    width: 100%;
    display: block;
    transition: transform 1s ease;
}

.heritage-image-wrapper:hover .heritage-image img {
    transform: scale(1.05);
}

.image-frame {
    position: absolute;
    inset: 15px;
    border: 2px solid var(--clr-accent);
    z-index: 2;
    pointer-events: none;
    opacity: 0.5;
}

.image-accent-badge {
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 120px;
    height: 120px;
    background: var(--clr-accent);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--clr-primary);
    z-index: 3;
    box-shadow: var(--shadow-md);
    border: 4px solid var(--clr-primary);
    animation: floating 3s ease-in-out infinite;
}

.image-accent-badge .year {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.image-accent-badge .num {
    font-size: 1.5rem;
    font-weight: 800;
}

@keyframes floating {

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

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

/* Luxury Gifting Section Refined */
.bg-accent-gradient {
    background: linear-gradient(135deg, #f3e5ab 0%, #d4af37 50%, #aa8c2c 100%);
    position: relative;
    overflow: hidden;
    color: var(--clr-primary);
}

.decorative-pattern {
    position: absolute;
    inset: 0;
    background-image: url('../assets/images/bg_pattern_1773294138723.png');
    background-size: 400px;
    opacity: 0.05;
    pointer-events: none;
}

.gifting-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.title-divider-left {
    width: 60px;
    height: 3px;
    background: var(--clr-primary);
    margin-bottom: 25px;
}

.gifting-main-content h2 {
    font-size: clamp(2.2rem, 4vw, 3rem);
    margin-bottom: 15px;
}

.gifting-main-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    font-weight: 500;
}

.gifting-icon-list {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.gifting-item {
    display: flex;
    align-items: center;
    gap: 25px;
    background: rgba(255, 255, 255, 0.2);
    padding: 25px;
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(1, 0, 78, 0.1);
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

.gifting-item:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateX(10px);
}

.icon-box {
    min-width: 60px;
    height: 60px;
    background: var(--clr-primary);
    color: var(--clr-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.gifting-item h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 5px;
}

.gifting-item p {
    margin: 0;
    font-size: 0.95rem;
    opacity: 0.8;
}

/* Responsive Overrides */
@media (max-width: 992px) {

    .heritage-grid,
    .gifting-grid {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

    .heritage-divider,
    .title-divider-left {
        margin: 0 auto 25px;
    }

    .heritage-content {
        order: 2;
    }

    .heritage-image-wrapper {
        order: 1;
        max-width: 500px;
        margin: 0 auto;
    }

    .gifting-main-content {
        text-align: center;
    }

    .gifting-icon-list {
        max-width: 600px;
        margin: 0 auto;
    }

    .image-accent-badge {
        width: 100px;
        height: 100px;
        bottom: -20px;
        left: -10px;
    }
}

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

    .gifting-item {
        flex-direction: column;
        text-align: center;
    }

    .icon-box {
        margin-bottom: 10px;
    }
}

/* =========================================
   Contact Page Styles
   ========================================= */
.contact-header {
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    position: relative;
    color: var(--clr-white);
}

.contact-header h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 15px;
    font-family: var(--font-heading);
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    margin-top: -80px;
    /* Overlap with header */
    position: relative;
    z-index: 5;
}

.glass-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.contact-button-container {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.contact-form-card {
    height: 100%;
}

.premium-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.premium-form .form-group {
    margin-bottom: 25px;
}

.premium-form .form-label {
    display: block;
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--clr-primary);
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 15px;
    color: var(--clr-accent);
    font-size: 1rem;
}

.input-icon-top {
    position: absolute;
    left: 15px;
    top: 15px;
    color: var(--clr-accent);
}

.premium-form .form-control {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 1px solid var(--clr-border);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-body);
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.5);
}

.premium-form .form-control:focus {
    border-color: var(--clr-accent);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
    background: var(--clr-white);
    outline: none;
}

.btn-block {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 15px;
    font-weight: 600;
}

/* Info Cards Styles */
.info-cards-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.info-card {
    display: flex;
    gap: 20px;
    padding: 25px;
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-icon-box {
    width: 50px;
    height: 50px;
    background: var(--clr-primary);
    color: var(--clr-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-details h4 {
    color: var(--clr-primary);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.info-details p {
    color: var(--clr-text-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

.info-details small {
    display: block;
    margin-top: 5px;
    color: var(--clr-accent);
    font-weight: 500;
}

.info-link {
    display: inline-block;
    margin-top: 10px;
    color: var(--clr-accent);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
}

.info-link:hover {
    text-decoration: underline;
}

/* Map Card */
.map-card {
    padding: 10px;
    margin-bottom: 30px;
}

.map-container {
    height: 250px;
    border-radius: var(--border-radius-md);
    overflow: hidden;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.map-container:hover .map-overlay {
    opacity: 1;
}

/* Social Connection */
.social-connect {
    text-align: center;
    padding: 20px;
}

.social-connect h4 {
    color: var(--clr-primary);
    margin-bottom: 20px;
    font-family: var(--font-heading);
}

.social-links-premium {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-item {
    width: 45px;
    height: 45px;
    background: var(--clr-white);
    color: var(--clr-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 1px solid var(--clr-border);
}

.social-item:hover {
    background: var(--clr-primary);
    color: var(--clr-accent);
    border-color: var(--clr-primary);
    transform: rotate(360deg);
}

/* Contact Responsive Overrides */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        margin-top: -40px;
        gap: 30px;
    }

    .contact-header {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .premium-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .glass-card {
        padding: 25px;
    }
}

/* =========================================
   Grand CTA Section (Refined)
   ========================================= */
.cta-grand-section {
    position: relative;
    overflow: hidden;
}

.cta-bg {
    min-height: 550px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    padding: 80px 0;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(1, 0, 78, 0.8) 0%,
            rgba(1, 0, 78, 0.4) 50%,
            rgba(1, 0, 78, 0.8) 100%);
    z-index: 1;
}

.cta-glass-box {
    max-width: 850px;
    margin: 0 auto;
    padding: clamp(40px, 8vw, 70px) clamp(20px, 5vw, 60px);
    background: rgba(20, 19, 19, 0.329);
    /* backdrop-filter: blur(25px) saturate(180%); */
    /* -webkit-backdrop-filter: blur(25px) saturate(180%); */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.4),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
}

.cta-pre-title {
    font-family: var(--font-body);
    color: var(--clr-accent);
    text-transform: uppercase;
    letter-spacing: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    color: var(--clr-white);
    margin-bottom: 25px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.cta-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.cta-divider span {
    width: 60px;
    height: 1px;
    background: linear-gradient(to var(--dir, right), var(--clr-accent), transparent);
}

.cta-divider span:last-child {
    --dir: left;
}

.cta-divider i {
    color: var(--clr-accent);
    font-size: 0.8rem;
    filter: drop-shadow(0 0 5px var(--clr-accent));
}

.cta-desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: clamp(1rem, 1.3vw, 1.2rem);
    line-height: 1.7;
    margin-bottom: 45px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.btn-grand {
    padding: 16px 45px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn-grand:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.btn-outline-white {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--clr-white);
}

.btn-outline-white:hover {
    background: var(--clr-white);
    color: var(--clr-primary);
    border-color: var(--clr-white);
}

/* Response Fixes for CTA */
@media (max-width: 992px) {
    .cta-bg {
        background-attachment: scroll;
        min-height: 500px;
    }
}

@media (max-width: 768px) {
    .cta-bg {
        padding: 60px 0;
    }

    .cta-glass-box {
        margin: 0 15px;
        padding: 50px 25px;
    }

    .cta-actions {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }

    .btn-grand {
        width: 100%;
        justify-content: center;
    }
}

/* =========================================
   Toast Notification System (Admin Style)
   ========================================= */
.ss-toast-container {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 10000;
    /* Ensure it stays above everything */
    display: flex;
    flex-direction: column;
    gap: 15px;
    pointer-events: none;
}


.ss-toast {
    pointer-events: auto;
    width: 320px;
    background: var(--clr-white);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    padding: 16px 20px;
    position: relative;
    border-left: 4px solid var(--clr-accent);
    transform: translateX(120%);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    opacity: 0;
}

.ss-toast.show {
    transform: translateX(0);
    opacity: 1;
}

.ss-toast.fade-out {
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.4s ease;
}

.ss-toast-icon {
    font-size: 1.5rem;
    margin-right: 15px;
    flex-shrink: 0;
}

.ss-toast-content {
    flex-grow: 1;
    font-size: 0.95rem;
    color: var(--clr-text-main);
}

.ss-toast-close {
    margin-left: 15px;
    cursor: pointer;
    font-size: 1.2rem;
    color: #aaa;
    transition: var(--transition-fast);
}

.ss-toast-close:hover {
    color: var(--clr-black);
    transform: scale(1.1);
}

/* Success Toast */
.ss-toast-success {
    border-left-color: #10b981;
    background-color: #f0fdf4;
}

.ss-toast-success .ss-toast-icon {
    color: #10b981;
}

/* Error/Danger Toast */
.ss-toast-error,
.ss-toast-danger {
    border-left-color: #ef4444;
    background-color: #fef2f2;
}

.ss-toast-error .ss-toast-icon,
.ss-toast-danger .ss-toast-icon {
    color: #ef4444;
}

/* Warning/Info Toast */
.ss-toast-warning,
.ss-toast-info {
    border-left-color: #f59e0b;
    background-color: #fffbeb;
}

.ss-toast-warning .ss-toast-icon,
.ss-toast-info .ss-toast-icon {
    color: #f59e0b;
}

/* Password Toggle */
.password-field-wrapper {
    position: relative;
    display: block;
    width: 100%;
}


.password-toggle-btn {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #888;
    background: none;
    border: none;
    padding: 0;
    font-size: 1.1rem;
    transition: var(--transition-fast);
}

.password-toggle-btn:hover {
    color: var(--clr-primary);
}


/* Quick View Modal Enhancements */
.weight-option {
    transition: all 0.2s ease;
    background: #fff;
    color: var(--clr-text-main);
    cursor: pointer;
    border-color: var(--clr-border) !important;
}

.weight-option:hover {
    border-color: var(--clr-accent) !important;
    background: var(--clr-bg);
}

.weight-option.active {
    background: var(--clr-primary) !important;
    color: var(--clr-white) !important;
    border-color: var(--clr-primary) !important;
    box-shadow: 0 4px 10px rgba(1, 0, 78, 0.2);
}

.qty-control input::-webkit-outer-spin-button,
.qty-control input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.qty-control input[type=number] {
    -moz-appearance: textfield;
}

.btn-wishlist-modal:hover {
    background: #f8f9fa !important;
    color: var(--clr-primary) !important;
    border-color: var(--clr-primary) !important;
}

#qv-add-cart {
    background-color: #d4af37;
    /* Specific Gold Color */
    border: none;
    color: #01004e;
    /* Navy text for contrast on gold */
    font-weight: 700;
}

#qv-add-cart:hover {
    background-color: #c5a02c;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}