@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+Sinhala:wght@400;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Poppins:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Gemunu+Libre:wght@200..800&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Outfit:wght@100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Raleway:ital,wght@0,100..900;1,100..900&family=Sour+Gummy:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Outfit:wght@100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Raleway:ital,wght@0,100..900;1,100..900&family=Sour+Gummy:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Gemunu+Libre&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Outfit:wght@100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Raleway:ital,wght@0,100..900;1,100..900&family=Sour+Gummy:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    /* Ceremonial Palette */
    --gold: #C9A84C;
    --gold-dark: #A8882E;
    --gold-light: #E8D08A;
    --gold-bg: #FDF6E3;
    --gold-subtle: rgba(201, 168, 76, 0.12);

    --burgundy: #7B2D42;
    --burgundy-dark: #5C1E30;
    --burgundy-light: #A84D65;
    --burgundy-subtle: rgba(123, 45, 66, 0.10);

    --cream: #FBF5E6;
    --cream-dark: #F0E6CC;
    --cream-border: #E8D5B0;

    /* Text */
    --text-primary: #2C1810;
    --text-secondary: #6B4C3B;
    --text-muted: #9C7B6B;
    --text-light: #C4A882;

    /* Neutral */
    --white: #FFFFFF;
    --gray-50: #FAFAFA;
    --gray-100: #F5F5F5;
    --gray-200: #E5E5E5;
    --gray-400: #A3A3A3;

    /* Status */
    --success: #16a34a;
    --error: #dc2626;
    --warning: #d97706;
    --whatsapp: #25D366;

    /* Typography */
    --font-sinhala: 'Noto Serif Sinhala', Georgia, serif;
    --font-display: "Montserrat", sans-serif;
    --font-body: 'Poppins', 'Segoe UI', sans-serif;

    /* Spacing */
    --s1: 0.25rem;
    --s2: 0.5rem;
    --s3: 0.75rem;
    --s4: 1rem;
    --s5: 1.25rem;
    --s6: 1.5rem;
    --s8: 2rem;
    --s10: 2.5rem;
    --s12: 3rem;
    --s16: 4rem;
    --s20: 5rem;
    --s24: 6rem;

    /* Borders */
    --r-sm: 4px;
    --r-md: 8px;
    --r-lg: 16px;
    --r-xl: 24px;
    --r-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 4px rgba(44, 24, 16, 0.08);
    --shadow-md: 0 4px 16px rgba(44, 24, 16, 0.12);
    --shadow-lg: 0 10px 36px rgba(44, 24, 16, 0.16);
    --shadow-gold: 0 4px 24px rgba(201, 168, 76, 0.30);

    /* Layout */
    --nav-height: 72px;
    --container-max: 1200px;

    /* Transitions */
    --t-fast: 0.15s ease;
    --t-mid: 0.25s ease;
    --t-slow: 0.4s ease;
}



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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-primary);
    background: #ffffff3d;
    -webkit-font-smoothing: antialiased;
}

/* Apply to all buttons and links */
button,
.btn,
a {
    transform: translateZ(0);
    will-change: transform;
    -webkit-tap-highlight-color: transparent;
}

/* Class added by JavaScript */
.click-pop {
    animation: clickPop 180ms cubic-bezier(.2, .8, .2, 1);
}

@keyframes clickPop {
    0% {
        transform: scale(1);
    }

    45% {
        transform: scale(1.06);
    }

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

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

a {
    color: #04142c;
    text-decoration: none;
    transition: color var(--t-fast);
}

a:hover {
    color: var(--burgundy);
}

button {
    font-family: var(--font-body);
    cursor: pointer;
}

.si {
    font-family: var(--font-sinhala);
}

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

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

.section-sm {
    padding: var(--s12) 0;

}

/* =====================================================
   TYPOGRAPHY
   ===================================================== */
h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    line-height: 1.25;
    color: var(--text-primary);
}

h1 {
    font-size: clamp(2rem, 5vw, 3.25rem);
}

h2 {
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
}

h3 {
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
}

h4 {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
}

.section-title {
    text-align: center;
    margin-bottom: var(--s12);
}

.section-title h2 {
    color: var(--text-primary);
}

.section-title p {
    color: var(--text-secondary);
    max-width: 560px;
    margin: var(--s3) auto 0;
    font-size: 0.95rem;
    font-style: italic;
    font-family: var(--font-display);
}

.section-title .title-line {
    display: inline-block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #cdb908, #004a65);
    border-radius: var(--r-full);
    margin: var(--s3) auto;
}

/* =====================================================
   NAVBAR
   ===================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 1000;
    background: linear-gradient(270deg, #f0f5f8ef 20%, #f5c43dd3 80%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: border-color var(--t-mid), background var(--t-mid), box-shadow var(--t-mid);
    border-bottom-color: #ffd900da;
}

.navbar.scrolled {
    background: linear-gradient(270deg, #f3f3f3b3 20%, #fdc200bb 80%);
    border-bottom-color: var(--cream-border);
    box-shadow: var(--shadow-sm);
}

.nav-inner {
    display: flex;
    align-items: center;
    height: var(--nav-height);
    gap: var(--s4);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--s2);
    text-decoration: none;
    flex-shrink: 0;
}

.nav-logo img {
    height: 44px;
    width: auto;
}

.nav-logo-text {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.nav-logo-text span {
    display: block;
    font-size: 0.65rem;
    font-family: var(--font-sinhala);
    color: var(--gold-dark);
    font-weight: 400;
    letter-spacing: 0.04em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--s1);
    margin-left: auto;
}

.nav-link {
    padding: var(--s2) var(--s3);
    font-size: 1.1rem;
    font-weight: 500;
    color: #614504;
    border-radius: var(--r-md);
    transition: color var(--t-fast), background var(--t-fast);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid #4f37038b;
    border-radius: 0;
    width: 90%;
    margin: 1px 10px 1px 10px;
}

.nav-link:hover {
    color: var(--text-primary);
    background: var(--gold-subtle);
}

.nav-link.active {
    color: var(--gold-dark);
    font-weight: 600;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--s3);
    margin-left: var(--s4);
}

/* Cart icon */
.cart-btn {
    position: relative;
    background: none;
    border: none;
    padding: var(--s2);
    color: var(--text-primary);
    font-size: 1.3rem;
    cursor: pointer;
    transition: color var(--t-fast);
    text-decoration: none;
    display: flex;
    align-items: center;

    /* Added */
    transform-origin: top center;
    will-change: transform;
}

.cart-btn:hover {
    color: var(--gold-dark);
}

/* Attention animation */
.cart-btn.cart-attention {
    animation: cartAttention 650ms cubic-bezier(.22, 1.35, .36, 1);
}

/* Bag icon bounce */
.cart-btn.cart-attention i {
    animation: bagBounce 650ms cubic-bezier(.22, 1.35, .36, 1);
}

@keyframes cartAttention {
    0% {
        transform: scale(1) rotate(0deg);
    }

    18% {
        transform: scale(1.15) rotate(-9deg);
    }

    34% {
        transform: scale(1.12) rotate(8deg);
    }

    50% {
        transform: scale(1.08) rotate(-6deg);
    }

    68% {
        transform: scale(1.04) rotate(3deg);
    }

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

@keyframes bagBounce {

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

    30% {
        transform: scale(1.22);
    }

    50% {
        transform: scale(.94);
    }

    70% {
        transform: scale(1.08);
    }
}

/* Badge */
.cart-badge {
    position: absolute;
    top: -2px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    background: var(--burgundy);
    color: #fff;
    font-size: .65rem;
    font-weight: 700;
    border-radius: var(--r-full);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
    opacity: 0;
    transform: scale(.7);
    transition: opacity var(--t-fast), transform var(--t-fast);
}

.cart-badge.show {
    opacity: 1;
    transform: scale(1);
}

/* Badge pop when adding */
.cart-btn.cart-attention .cart-badge {
    animation: badgePop 650ms;
}

@keyframes badgePop {

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

    25% {
        transform: scale(1.45);
    }

    45% {
        transform: scale(.9);
    }

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

/* WhatsApp header link */
.nav-whatsapp {
    display: flex;
    align-items: center;
    gap: var(--s2);
    background: #00ac09;
    color: #fff;
    padding: var(--s2) var(--s4);
    border-radius: var(--r-full);
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: background var(--t-fast), transform var(--t-fast);
}

.nav-whatsapp:hover {
    background: #00a508;
    color: #fff;
    transform: translateY(-1px);
}

.nav-whatsapp i {
    font-size: 1rem;
}

/* Mobile menu */
.nav-hamburger {
    display: none;
    background: none;
    border: none;
    padding: var(--s2);
    font-size: 1.5rem;
    color: var(--text-primary);
}

/* Mobile nav drawer */


.nav-drawer.open {

    opacity: 1;

    transform:
        translateY(0) scale(1);

    visibility: visible;
    pointer-events: auto;

}

.nav-link,
.nav-drawer .btn {

    opacity: 0;

    transform:
        translateY(14px);

    transition:
        opacity .45s ease,
        transform .45s cubic-bezier(.22, 1, .36, 1);

}

.nav-drawer.open .nav-link:nth-child(2) {
    transition-delay: .05s;
}

.nav-drawer.open .nav-link:nth-child(3) {
    transition-delay: .10s;
}

.nav-drawer.open .nav-link:nth-child(4) {
    transition-delay: .15s;
}

.nav-drawer.open .nav-link:nth-child(5) {
    transition-delay: .20s;
}

.nav-drawer.open .nav-link:nth-child(6) {
    transition-delay: .25s;
}

.nav-drawer.open .btn {
    transition-delay: .30s;
}

.nav-drawer.open .nav-link,
.nav-drawer.open .btn {

    opacity: 1;
    transform: translateY(0);

}

/* =====================================================
   HERO
   ===================================================== */

@property --gradient-angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

.hero {
    min-height: 100vh;
    padding-top: var(--nav-height);
    background: linear-gradient(var(--gradient-angle), #001b09 0%, #5f4a1d 40%, #001238 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    animation: colorchase 60s linear infinite;
}

@keyframes colorchase {
    0% {
        --gradient-angle: 0deg;
    }

    100% {
        --gradient-angle: 360deg;
    }
}




.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C9A84C' fill-opacity='0.07'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;

}

.hero-radial {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 60% at 70% 50%, rgba(152, 112, 0, 0.562) 0%, transparent 70%);
    pointer-events: none;
}

.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.hp {
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(238, 181, 10, 0.9) 0%, rgba(201, 168, 76, 0.4) 60%, transparent 100%);
    animation: heroFloat var(--dur) var(--d) ease-in-out infinite alternate;
    will-change: transform, opacity;
}

@keyframes heroFloat {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0.15;
    }

    50% {
        opacity: 0.65;
    }

    100% {
        transform: translateY(-28px) scale(1.18);
        opacity: 0.2;
    }
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s16);
    align-items: center;
    padding: var(--s20) 0;
}

.hero-content {
    color: #fff;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--s2);
    background: rgba(201, 168, 76, 0.18);
    border: 1px solid rgba(201, 168, 76, 0.35);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: var(--s1) var(--s4);
    border-radius: var(--r-full);
    margin-bottom: var(--s4);
}

.hero-title-si {
    font-family: "Gemunu Libre", sans-serif;
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    color: #f0b400;
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: var(--s2);
    line-height: .9;
    font-size: 45px;
}

.hero-title-en {
    font-family: "Playfair Display", serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    color: #fff;
    margin-bottom: var(--s5);
}

.hero-title-en em {
    font-style: italic;
    color: var(--gold-light);
}

.hero-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 440px;
    line-height: 1.7;
    margin-bottom: var(--s8);
}

.hero-actions {
    display: flex;
    gap: var(--s3);
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: var(--s8);
    margin-top: var(--s10);
    padding-top: var(--s8);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stat-num {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gold-light);
    line-height: 1;
}

.hero-stat-lbl {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: var(--s1);
}

.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero Polaroid Scatter */
.hero-polaroids {
    position: relative;
    width: 330px;
    height: 460px;
    cursor: pointer;
}

/* Ambient gold glow behind the stack */
.hero-polaroids::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(ellipse at center, rgba(201, 168, 76, 0.22) 0%, transparent 68%);
    pointer-events: none;
    z-index: 0;
}

/* Floating gold sparkle dots */
.hero-polaroids::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(201, 168, 76, 0.75);
    top: 32px;
    right: 52px;
    box-shadow:
        -58px 155px 0 -1px rgba(201, 168, 76, 0.55),
        72px 310px 0 -1.5px rgba(201, 168, 76, 0.4),
        -18px 390px 0 -1px rgba(201, 168, 76, 0.45),
        108px 88px 0 -2px rgba(201, 168, 76, 0.35);
    pointer-events: none;
    z-index: 10;
    animation: goldSparkle 2.8s ease-in-out infinite alternate;
}

@keyframes goldSparkle {
    0% {
        opacity: 0.5;
        transform: scale(1);
    }

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

.polaroid {
    position: absolute;
    background: #FFFCF0;
    padding: 14px 14px 56px;
    border-radius: 3px;
    width: 300px;
    top: 50%;
    left: 50%;
    margin-left: -150px;
    margin-top: -172px;
    transition:
        transform 0.68s cubic-bezier(0.34, 1.25, 0.64, 1),
        opacity 0.5s ease,
        box-shadow 0.4s ease;
    will-change: transform, opacity;
}

/* Gold tape strip */
.polaroid::before {
    content: '';
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%) rotate(-1deg);
    width: 56px;
    height: 22px;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.7), rgba(232, 208, 138, 0.5));
    border-radius: 2px;
    box-shadow: 0 1px 4px rgba(201, 168, 76, 0.3);
}

/* Inner gold border on front card */
.polaroid.pos-1::after {
    content: '';
    position: absolute;
    inset: 6px 6px 28px;
    border: 1px solid rgba(201, 168, 76, 0.28);
    pointer-events: none;
    z-index: 1;
}

.polaroid-photo {
    width: 272px;
    height: 272px;
    overflow: hidden;
    background: var(--gray-100);
    border: 1px solid rgba(201, 168, 76, 0.18);
}

.polaroid-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.polaroid-caption {
    text-align: center;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1rem;
    color: #A08030;
    margin-top: 12px;
    line-height: 1;
    letter-spacing: 0.01em;
}

/* Scatter positions */
.polaroid.pos-1 {
    transform: rotate(-3deg);
    z-index: 3;
    box-shadow:
        0 24px 64px rgba(0, 0, 0, 0.5),
        0 4px 16px rgba(0, 0, 0, 0.18),
        0 0 52px rgba(201, 168, 76, 0.22),
        0 0 0 1px rgba(201, 168, 76, 0.15);
}

.polaroid.pos-2 {
    transform: rotate(6deg) translate(28px, 24px);
    z-index: 2;
    opacity: 0.85;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.32), 0 0 20px rgba(201, 168, 76, 0.1);
}

.polaroid.pos-3 {
    transform: rotate(-10deg) translate(-22px, 32px);
    z-index: 1;
    opacity: 0.6;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.polaroid.pos-hidden {
    transform: rotate(3deg) translateY(60px) scale(0.84);
    opacity: 0;
    z-index: 0;
    pointer-events: none;
}

/* Hover — front polaroid lifts with gold flare */
.hero-polaroids:hover .polaroid.pos-1 {
    transform: rotate(-3deg) translateY(-12px);
    box-shadow:
        0 44px 96px rgba(0, 0, 0, 0.58),
        0 4px 16px rgba(0, 0, 0, 0.18),
        0 0 72px rgba(201, 168, 76, 0.32),
        0 0 0 1px rgba(201, 168, 76, 0.25);
}

.hero-polaroids:hover .polaroid.pos-2 {
    transform: rotate(6deg) translate(28px, 16px);
}

.hero-polaroids:hover .polaroid.pos-3 {
    transform: rotate(-10deg) translate(-22px, 24px);
}

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--s2);
    padding: var(--s3) var(--s6);
    border: 2px solid transparent;
    border-radius: var(--r-full);
    font-size: 0.9rem;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    text-decoration: none;
    transition: all var(--t-fast);
    white-space: nowrap;
    line-height: 1;
}

.btn:hover {
    text-decoration: none;
}

.btn-gold {
    background: #ffc400cb;
    color: #2C1810;
    border-color: var(--gold);
    backdrop-filter: 10px;
}

.btn-gold:hover {
    background: #ffbb27dc;
    border-color: var(--gold-dark);
    color: #2C1810;
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.btn-outline-light {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    color: #fff;
}

.btn-outline-gold {
    background: transparent;
    color: var(--gold-dark);
    border-color: var(--gold);
}

.btn-outline-gold:hover {
    background: var(--gold);
    color: #2C1810;
}

.btn-burgundy {
    background: var(--burgundy);
    color: #fff;
    border-color: var(--burgundy);
}

.btn-burgundy:hover {
    background: var(--burgundy-dark);
    border-color: var(--burgundy-dark);
    color: #fff;
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: #017407;
    color: #fff;
    border-color: #008f00;
    font-size: 0.88rem;
    height: 45px;
    font-size: 1rem;
}

.btn-whatsapp:hover {
    background: #049604;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px #05ce05;
}

.btn-sm {
    padding: var(--s2) var(--s4);

}

.btn-lg {
    padding: var(--s4) var(--s8);
    font-size: 1rem;
}

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

.btn-add-cart {
    background: var(--gold-subtle);
    color: var(--gold-dark);
    border: 1px solid var(--gold-light);
    border-radius: var(--r-full);
    padding: var(--s2) var(--s5);
    font-size: 0.82rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: var(--s2);
    cursor: pointer;
    transition: all var(--t-fast);
    font-family: var(--font-body);
}

.btn-add-cart:hover {
    background: var(--gold);
    color: #2C1810;
    border-color: var(--gold);
}

.btn-add-cart.added {
    background: var(--gold);
    color: #2C1810;
    border-color: var(--gold);
}

/* =====================================================
   CATEGORIES BAR
   ===================================================== */
.categories-bar {
    background: rgba(250, 247, 213, 0.616);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--cream-border);
    padding: var(--s4) 0;
    position: sticky;
    top: var(--nav-height);
    z-index: 50;
    box-shadow: 0 .1px 10px #cbb175c4;
}

.categories-bar::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 3rem;
    background: linear-gradient(to right, transparent, var(--white) 85%);
    pointer-events: none;
    z-index: 5;
}

.categories-bar .container {
    display: flex;
    gap: var(--s3);
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    align-items: center;
    padding-right: 2.5rem;
}

.categories-bar .container::-webkit-scrollbar {
    display: none;
}

.cat-chip {
    display: inline-flex;
    align-items: center;
    gap: var(--s2);
    padding: var(--s2) var(--s4);
    border-radius: var(--r-full);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: #ffffffc4;
    border: 1px solid var(--cream-border);
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
    transition: all var(--t-fast);
    flex-shrink: 0;
}

.cat-chip:hover {
    border-color: var(--gold-light);
    color: var(--gold-dark);
    background: var(--gold-bg);
    transform: translateY(-1px);
}

.cat-chip.active {
    background: var(--gold);
    border-color: var(--gold);
    color: #2C1810;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(201, 168, 76, 0.3);
}

.cat-chip i {
    font-size: 0.9rem;
}

/* =====================================================
   PRODUCT CARDS
   ===================================================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--s5);
}

.product-card {
    background: var(--white);
    border: 1px solid var(--cream-border);
    border-radius: var(--r-lg);
    overflow: hidden;
    transition: transform var(--t-mid), box-shadow var(--t-mid), border-color var(--t-mid);
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 24px rgba(126, 126, 126, 0.3);
}

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

.product-card-img {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
    background: var(--cream-dark);
}

.product-card-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--t-slow);
}

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

.product-card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(201, 168, 76, 0.2) 0%, transparent 60%);
    opacity: 0;
    transition: opacity var(--t-mid);
    pointer-events: none;
    z-index: 1;
}

.product-card:hover .product-card-img::after {
    opacity: 1;
}

.product-card-badge {
    position: absolute;
    top: var(--s3);
    left: var(--s3);
    background: var(--burgundy);
    color: #fff;
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px var(--s2);
    border-radius: var(--r-sm);
    z-index: 2;
}

.product-card-badge.featured {
    background: var(--gold);
    color: #2C1810;
    font-weight: 800;
    box-shadow: 0 2px 8px rgba(201, 168, 76, 0.4);
}


.product-card-body {
    padding: var(--s4);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-card-cat {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #20120c;
    margin-bottom: var(--s2);
}

.product-card-name {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--s1);
    line-height: 1.35;
}

.product-card-name-si {
    font-family: var(--font-sinhala);
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-bottom: var(--s3);
    line-height: 1.5;
}

.product-card-price {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: var(--s3);
    flex-wrap: wrap;
}

.price-current {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    font-family: var(--font-display);
}

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

.product-card-actions {
    display: flex;
    gap: var(--s2);
    margin-top: var(--s3);
    flex-wrap: wrap;
}

/* =====================================================
   FEATURED CAROUSEL (Swiper)
   ===================================================== */
.featured-section {
    background: linear-gradient(130deg, #644100 5%, #100018 15%, #080018 80%, #645a00 100%);
    padding: var(--s20) 0;
    position: relative;
    overflow: hidden;
}

.featured-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 50% 80% at 20% 50%, rgba(201, 168, 76, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 40% 60% at 80% 50%, rgba(123, 45, 66, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.featured-section .section-title h2 {
    color: #ffd000;
    font-family: "Bebas Neue", sans-serif;
    font-size: 40px;
    font-weight: 200;
    border: none;
    background: -webkit-linear-gradient(#ffe600, #ffa600, #f1a500);
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.featured-section .section-title p {
    color: rgba(255, 255, 255, 0.6);
}

.featured-section .title-line {
    background: linear-gradient(90deg, var(--gold), var(--burgundy-light));
}

.featured-swiper {
    padding: var(--s4) 0 var(--s10) !important;
}

.featured-slide {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(201, 168, 76, 0.2);
    border-radius: var(--r-xl);
    overflow: hidden;
    transition: border-color var(--t-mid);
    box-shadow: 0 4px 24px rgba(126, 126, 126, 0.3);
}

.featured-slide:hover {
    border-color: rgba(201, 168, 76, 0.6);
    box-shadow: var(--shadow-gold);
}

.featured-slide-img {
    position: relative;
    padding-top: 100%;
    height: 0;
    overflow: hidden;
    display: block;
    cursor: pointer;
}

.featured-slide-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-slide-body {
    padding: var(--s5);
    color: #fff;
}

.featured-slide-cat {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: var(--s2);
}

.featured-slide-name {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: var(--s1);
}

.featured-slide-name-si {
    font-family: var(--font-sinhala);
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: var(--s4);
}

.featured-slide-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gold-light);
    font-family: var(--font-display);
    margin-bottom: var(--s3);
}

.swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.3) !important;
}

.swiper-pagination-bullet-active {
    background: var(--gold) !important;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--gold) !important;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 1.1rem !important;
    font-weight: 900 !important;
}

/* =====================================================
   Categories DIV
   ===================================================== */

#ezCategoryDiv {
    max-width: 600px;
    width: 90%;
    height: 100%;
    align-items: center;
    text-align: center;
    background: linear-gradient(270deg, #f1b7b7, #fdc200ad);
    border-radius: 40px;
    padding-top: 40px;
    padding-bottom: 40px;
    transition: 1s;
    border: #ffffffe3 3px solid;
    box-shadow: 0 0 20px 5px #d8d8d8, 0 0 40px 10px #ffffff;


}

/* Button 1: Your Original Orange */
.categoryBTN:nth-child(1) {
    --bg-color: rgba(224, 62, 13, 0.604);
    --shadow-color: rgba(150, 35, 3, 0.9);
}

/* Button 2: Green */
.categoryBTN:nth-child(2) {
    --bg-color: rgba(37, 173, 94, 0.604);
    --shadow-color: rgba(32, 148, 80, 0.9);
}

/* Button 3: Blue */
.categoryBTN:nth-child(3) {
    --bg-color: rgba(52, 152, 219, 0.604);
    --shadow-color: rgba(41, 128, 185, 0.9);
}

/* Button 4: Purple */
.categoryBTN:nth-child(4) {
    --bg-color: rgba(155, 89, 182, 0.604);
    --shadow-color: rgba(142, 68, 173, 0.9);
}

/* Button 5: Yellow */
.categoryBTN:nth-child(5) {
    --bg-color: rgba(241, 196, 15, 0.604);
    --shadow-color: rgba(212, 172, 13, 0.9);
}

/* Button 6: Dark Orange */
.categoryBTN:nth-child(6) {
    --bg-color: rgba(230, 126, 34, 0.604);
    --shadow-color: rgba(211, 84, 0, 0.9);
}

/* Button 7: Red */
.categoryBTN:nth-child(7) {
    --bg-color: rgba(231, 76, 60, 0.604);
    --shadow-color: rgba(192, 57, 43, 0.9);
}



.categoryBTN {
    overflow: hidden;
    position: relative;
    text-decoration: none;
    width: 80%;
    color: white;
    margin-bottom: 20px;
    padding-top: 10px;
    font-size: 130%;
    font-weight: 800;
    border-radius: 60px;
    font-family: 'Sour Gummy';
    height: 60px;
    /* 1. Sped up transition for a snappy, responsive click feel */
    transition: all 0.1s ease-in-out;

    border: #ffffffe3 3px solid;
    backdrop-filter: blur(100px);

    display: block;
    background: var(--bg-color);
    box-shadow: 0 8px 0 var(--shadow-color);



}

.categoryBTN:hover {
    color: rgb(164, 164, 164);
}


.categoryBTN:active {
    transform: translateY(6px);
    box-shadow: 0 2px 0 var(--shadow-color);
}


/* =====================================================
   ABOUT / CEREMONY INFO STRIP
   ===================================================== */
.ceremony-strip {
    background: linear-gradient(135deg, var(--gold-bg) 0%, var(--cream) 100%);
    border-top: 1px solid var(--cream-border);
    border-bottom: 1px solid var(--cream-border);
    padding: var(--s16) 0;
}

.ceremony-strip-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s16);
    align-items: center;
}

.ceremony-text h2 {
    margin-bottom: var(--s4);
}

.ceremony-text p {
    color: var(--text-secondary);
    margin-bottom: var(--s4);
    font-size: 0.95rem;
}

.ceremony-text .si {
    font-size: 1.15rem;
    color: var(--gold-dark);
    margin-bottom: var(--s5);
    display: block;
}

.ceremony-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s3);
}

.ceremony-feature {
    display: flex;
    gap: var(--s3);
    align-items: flex-start;
}

.ceremony-feature-icon {
    width: 36px;
    height: 36px;
    background: var(--gold-subtle);
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-dark);
    font-size: 1rem;
    flex-shrink: 0;
}

.ceremony-feature-text strong {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

.ceremony-feature-text span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* =====================================================
   BLOG CARDS
   ===================================================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--s6);
}

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

.blog-card {
    background: var(--white);
    border: 1px solid var(--cream-border);
    border-radius: var(--r-lg);
    overflow: hidden;
    transition: transform var(--t-mid), box-shadow var(--t-mid);
    display: flex;
    flex-direction: column;
}

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

.blog-card-img {
    height: 200px;
    overflow: hidden;
    background: var(--cream-dark);
    display: block;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--t-slow);
}

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

.blog-card-no-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--cream-dark) 0%, #e8ddd0 100%);
    color: var(--burgundy);
    font-size: 2.5rem;
    opacity: 0.4;
}

.blog-card-body {
    padding: var(--s5);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-date {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: var(--s2);
}

.blog-card-title {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--s2);
    line-height: 1.35;
}

.blog-card-title a {
    color: inherit;
}

.blog-card-title a:hover {
    color: var(--gold-dark);
}

.blog-card-title-si {
    font-family: var(--font-sinhala);
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-bottom: var(--s3);
    line-height: 1.5;
}

.blog-card-excerpt {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.65;
    flex: 1;
}

.blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: var(--s2);
    margin-top: var(--s4);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--gold-dark);
}

.blog-card-link:hover {
    color: var(--burgundy);
    gap: var(--s3);
}

/* =====================================================
   CART
   ===================================================== */
.cart-page-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: var(--s8);
    align-items: start;
    margin-top: var(--s8);
}

.cart-table-wrap {
    background: var(--white);
    border: 1px solid var(--cream-border);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(201, 168, 76, 0.30);
    background: linear-gradient(45deg, #e74d3c0d, #f1c40f22);
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;

}

.cart-table th {
    padding: var(--s3) var(--s5);
    text-align: left;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    background: var(--gold-bg);
    border-bottom: 1px solid var(--cream-border);
}

.cart-table td {
    padding: var(--s4) var(--s5);
    border-bottom: 1px solid var(--cream-border);
    vertical-align: middle;
}

.cart-table tr:last-child td {
    border-bottom: none;
}

.cart-item-img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: var(--r-md);
}

.cart-item-name {
    font-weight: 600;
    color: var(--text-primary);
}

.cart-item-name-si {
    font-family: var(--font-sinhala);
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.qty-stepper {
    display: flex;
    align-items: center;
    gap: var(--s2);
}

.qty-stepper button {
    width: 28px;
    height: 28px;
    border-radius: var(--r-sm);
    border: 1px solid var(--cream-border);
    background: var(--white);
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--t-fast);
    color: var(--text-primary);
}

.qty-stepper button:hover {
    background: var(--gold-subtle);
    border-color: var(--gold);
}

.qty-stepper input {
    width: 44px;
    text-align: center;
    border: 1px solid var(--cream-border);
    border-radius: var(--r-sm);
    padding: var(--s1);
    font-size: 0.9rem;
    font-family: var(--font-body);
}



.cart-remove {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.1rem;
    padding: var(--s2);
    border-radius: var(--r-sm);
    transition: color var(--t-fast), background var(--t-fast);
}

.cart-remove:hover {
    color: var(--error);
    background: rgba(220, 38, 38, 0.08);
}

.order-summary {
    background: var(--white);
    border: 1px solid var(--cream-border);
    border-radius: var(--r-lg);
    padding: var(--s6);
    position: sticky;
    top: calc(var(--nav-height) + var(--s4));
    box-shadow: 0 4px 24px rgba(201, 168, 76, 0.30);
    background: linear-gradient(45deg, #e74d3c0d, #f1c40f22);
}

.order-summary h3 {
    font-size: 1.1rem;
    margin-bottom: var(--s5);
    padding-bottom: var(--s4);
    border-bottom: 1px solid var(--cream-border);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.88rem;
    margin-bottom: var(--s3);
    color: var(--text-secondary);
}

.summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    font-family: var(--font-display);
    padding-top: var(--s4);
    margin-top: var(--s3);
    border-top: 1px solid var(--cream-border);
}

.cart-empty {
    text-align: center;
    padding: var(--s20) var(--s8);
}

.cart-empty i {
    font-size: 3.5rem;
    color: var(--text-light);
    display: block;
    margin-bottom: var(--s4);
}

.cart-empty h3 {
    font-size: 1.35rem;
    margin-bottom: var(--s3);
}

.cart-empty p {
    color: var(--text-secondary);
    margin-bottom: var(--s6);
}

/* =====================================================
   PRODUCT DETAIL
   ===================================================== */
.product-detail {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--s12);
    align-items: start;
}

.product-detail-img-col {
    min-width: 0;
    overflow: hidden;
}

.product-detail-img {
    border-radius: var(--r-lg);
    overflow: hidden;
    background: var(--cream-dark);
    box-shadow: var(--shadow-md);
}

.product-detail-img img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    display: block;
}

.product-detail-content h1 {
    font-size: 1.8rem;
    margin-bottom: var(--s2);
}

.product-detail-name-si {
    font-family: var(--font-sinhala);
    font-size: 1.15rem;
    color: var(--gold-dark);
    margin-bottom: var(--s4);
    display: block;
}

.product-detail-price {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--s6);
}

.product-detail-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.75;
    margin-bottom: var(--s6);
}

.product-features {
    background: var(--gold-bg);
    border: 1px solid var(--cream-border);
    border-radius: var(--r-lg);
    padding: var(--s5);
    margin-bottom: var(--s6);
}

.product-features h4 {
    margin-bottom: var(--s3);
    font-size: 0.95rem;
}

.product-features ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--s2);
}

.product-features li {
    font-size: 0.88rem;
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
    gap: var(--s3);
}

.product-features li::before {
    content: '✦';
    color: var(--gold);
    font-size: 0.6rem;
    margin-top: 0.4rem;
    flex-shrink: 0;
}

.product-detail-actions {
    display: flex;
    gap: var(--s3);
    flex-wrap: wrap;
}

/* Product Gallery Thumbnails */
.product-gallery-thumbs {
    display: flex;
    gap: 8px;
    margin-top: var(--s3);
    overflow-x: auto;
    padding-bottom: 4px;
    padding-top: 2px;
    max-width: 100%;
}

.product-gallery-thumbs::-webkit-scrollbar {
    height: 3px;
}

.product-gallery-thumbs::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 2px;
}

.product-gallery-thumb {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    padding: 0;
    border: 2px solid var(--cream-border);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    background: none;
    box-shadow: var(--shadow-sm);
    transition: border-color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
}

.product-gallery-thumb:hover {
    border-color: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.product-gallery-thumb.active {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.3);
}

.product-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Package Items Grid */
.package-items-section {
    margin-bottom: var(--s6);
    border: 1px solid var(--cream-border);
    border-radius: var(--r-lg);
    overflow: hidden;
    background: #fff;
    position: relative;
    box-shadow: var(--shadow-sm);
}

.package-items-header {
    display: flex;
    align-items: center;
    gap: var(--s2);
    padding: var(--s3) var(--s4);
    background: linear-gradient(135deg, var(--gold-bg) 0%, #fdf6e3 100%);
    border-bottom: 1px solid var(--cream-border);
}

.package-items-header h4 {
    font-size: 0.88rem;
    font-weight: 700;
    margin: 0;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: var(--s2);
    flex: 1;
}

.package-items-count {
    font-size: 0.7rem;
    background: var(--gold);
    color: #fff;
    padding: 2px 10px;
    border-radius: var(--r-full);
    font-weight: 700;
    white-space: nowrap;
    letter-spacing: 0.02em;
}

.package-items-scroll-wrap {
    max-height: 310px;
    overflow-y: auto;
    padding: var(--s3);
}

.package-items-scroll-wrap::-webkit-scrollbar {
    width: 4px;
}

.package-items-scroll-wrap::-webkit-scrollbar-track {
    background: var(--cream);
    border-radius: 2px;
}

.package-items-scroll-wrap::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 2px;
}

.package-items-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(to top, rgba(255, 255, 255, 1) 0%, transparent 100%);
    pointer-events: none;
    border-radius: 0 0 var(--r-lg) var(--r-lg);
}

.package-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, 80px);
    gap: 8px;
}

.package-item-card {
    background: var(--cream);
    border: 1.5px solid var(--cream-border);
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    text-decoration: none;
    display: block;
    box-shadow: 0 1px 3px rgba(44, 24, 16, 0.06);
    transition: border-color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
}

.package-item-card:hover {
    border-color: var(--gold);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.package-item-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
}

.package-item-card-name {
    padding: 4px 5px 6px;
    font-size: 0.63rem;
    color: var(--text-primary);
    line-height: 1.35;
    font-weight: 500;
}

/* =====================================================
   BREADCRUMB
   ===================================================== */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--s2);
    font-size: 0.82rem;
    color: var(--text-muted);
    padding: var(--s4) 0;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--text-muted);
}

.breadcrumb a:hover {
    color: var(--gold-dark);
}

.breadcrumb-sep {
    color: var(--text-light);
}

/* =====================================================
   BLOG POST PAGE
   ===================================================== */
.blog-post-hero {
    background: var(--text-primary);
    padding: var(--s20) 0;
}

.blog-post-hero h1 {
    color: #fff;
    font-size: clamp(1.6rem, 4vw, 2.5rem);
    max-width: 720px;
}

.blog-post-meta {
    display: flex;
    align-items: center;
    gap: var(--s4);
    margin-top: var(--s4);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.82rem;
}

.blog-post-content {
    max-width: 760px;
    margin: var(--s12) auto;
    font-size: 1rem;
    line-height: 1.85;
    color: var(--text-secondary);
}

.blog-post-content h2 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--text-primary);
    margin: var(--s10) 0 var(--s4);
}

.blog-post-content p {
    margin-bottom: var(--s5);
}

.blog-post-content ul,
.blog-post-content ol {
    margin-left: var(--s6);
    margin-bottom: var(--s5);
}

.blog-post-content li {
    margin-bottom: var(--s2);
}

.blog-post-content strong {
    color: var(--text-primary);
}

.blog-post-img {
    width: 100%;
    max-height: 440px;
    object-fit: cover;
    border-radius: var(--r-lg);
    margin-bottom: var(--s10);
}

/* =====================================================
   FLOATING WHATSAPP BUTTON
   ===================================================== */
.whatsapp-float {
    position: fixed;
    bottom: var(--s8);
    right: var(--s6);
    z-index: 900;

    width: 58px;
    height: 58px;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: linear-gradient(180deg, #0d893b 0%, #02521f 100%);
    color: #fff;
    text-decoration: none;
    font-size: 1.6rem;

    /* Tiny 3D effect */
    box-shadow:
        inset 0 1px 1px rgba(255, 255, 255, .2),
        0 3px 0 rgba(18, 140, 65, .35),
        0 8px 18px rgba(0, 0, 0, .15);

    transition: all .15s cubic-bezier(.2, .8, .2, 1);
}

.whatsapp-float:hover {
    transform: translateY(-1px);

    box-shadow:
        inset 0 1px 1px rgba(255, 255, 255, .25),
        0 4px 0 rgba(18, 140, 65, .4),
        0 10px 22px rgba(0, 0, 0, .18);

    color: #fff;
}

.whatsapp-float:active {
    transform: translateY(3px);
    animation: wa-tap 0.18s ease;

    box-shadow:
        inset 0 3px 6px rgba(0, 0, 0, .12),
        0 1px 0 rgba(18, 140, 65, .25),
        0 3px 8px rgba(0, 0, 0, .12);
}

@keyframes wa-tap {
    0% {
        transform: translateY(3px) translateX(0);
    }

    20% {
        transform: translateY(3px) translateX(-0.8px);
    }

    40% {
        transform: translateY(3px) translateX(0.8px);
    }

    60% {
        transform: translateY(3px) translateX(-0.6px);
    }

    80% {
        transform: translateY(3px) translateX(0.6px);
    }

    100% {
        transform: translateY(3px) translateX(0);
    }
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: var(--r-full);
    border: 2px solid rgb(16, 128, 3);
    animation: wa-pulse 2s ease-in-out infinite;
}

@keyframes wa-pulse {

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

    50% {
        opacity: 0;
        transform: scale(1.3);
    }
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
    background: #000000;
    color: rgba(255, 255, 255, 0.7);
    padding: var(--s16) 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--s10);
    margin-bottom: var(--s12);
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.35rem;
    color: #fff;
    font-weight: 700;
    margin-bottom: var(--s3);
}

.footer-logo span {
    font-family: var(--font-sinhala);
    font-size: 0.85rem;
    color: var(--gold-light);
    display: block;
    font-weight: 400;
}

.footer-desc {
    font-size: 0.85rem;
    line-height: 1.7;
    max-width: 280px;
}

.footer-social {
    display: flex;
    gap: var(--s3);
    margin-top: var(--s5);
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: var(--r-md);
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: background var(--t-fast), color var(--t-fast);
    text-decoration: none;
}

.footer-social a:hover {
    background: var(--gold);
    color: #2C1810;
}

.footer-col h4 {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #fff;
    margin-bottom: var(--s4);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--s2);
}

.footer-links a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--t-fast);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--gold-light);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--s3);
    font-size: 0.85rem;
    margin-bottom: var(--s3);
}

.footer-contact-item i {
    color: var(--gold);
    margin-top: 2px;
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: var(--s5) 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.4);
    gap: var(--s4);
    flex-wrap: wrap;
}

.footer-bottom a {
    color: var(--gold-light);
}

/* =====================================================
   ALERTS & FLASH
   ===================================================== */
.alert {
    padding: var(--s3) var(--s5);
    border-radius: var(--r-md);
    margin-bottom: var(--s4);
    font-size: 0.88rem;
    border-left: 4px solid;
}

.alert-success {
    background: rgba(22, 163, 74, 0.08);
    border-color: var(--success);
    color: #15803d;
}

.alert-error {
    background: rgba(220, 38, 38, 0.08);
    border-color: var(--error);
    color: #b91c1c;
}

.alert-info {
    background: rgba(201, 168, 76, 0.10);
    border-color: var(--gold);
    color: var(--gold-dark);
}

/* =====================================================
   PAGE HEADER
   ===================================================== */
.page-header {
    background: linear-gradient(135deg, #724403 0%, #000633 100%);
    padding: var(--s16) 0;
}

.page-header h1 {
    color: #fff;
}

.page-header p {
    color: rgba(255, 255, 255, 0.65);
    margin-top: var(--s3);
}

/* =====================================================
   FORM CONTROLS
   ===================================================== */
.form-control {
    appearance: none;
    -webkit-appearance: none;
    width: auto;
    padding: 0.45rem 2.2rem 0.45rem 0.9rem;
    border: 2px solid var(--cream-border);
    border-radius: var(--r-full);
    font-size: 0.85rem;
    font-family: var(--font-body);
    color: var(--text-primary);
    background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 0.75rem center;
    cursor: pointer;
    transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
}

/* =====================================================
   SEARCH
   ===================================================== */
.search-bar {
    position: relative;
    max-width: 560px;
    margin: 0 auto;
}

.search-bar input {
    width: 100%;
    padding: var(--s4) var(--s5) var(--s4) 3rem;
    border: 2px solid var(--cream-border);
    border-radius: var(--r-full);
    font-size: 0.95rem;
    background: var(--white);
    font-family: var(--font-body);
    transition: border-color var(--t-fast);
}

.search-bar input:focus {
    outline: none;
    border-color: var(--gold);
}

.search-bar i {
    position: absolute;
    left: 1.1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1.1rem;
    pointer-events: none;
}

.search-results {
    position: absolute;
    top: 110%;
    left: 0;
    right: 0;
    background: var(--white);
    border: 1px solid var(--cream-border);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg);
    z-index: 200;
    max-height: 400px;
    overflow-y: auto;
    display: none;
}

.search-results.open {
    display: block;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: var(--s3);
    padding: var(--s3) var(--s5);
    text-decoration: none;
    transition: background var(--t-fast);
}

.search-result-item:hover {
    background: var(--gold-bg);
}

.search-result-img {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: var(--r-sm);
    flex-shrink: 0;
}

.search-result-name {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-primary);
}

.search-result-price {
    font-size: 0.8rem;
    color: var(--gold-dark);
    font-weight: 600;
}

/* =====================================================
   INFINITE SCROLL
   ===================================================== */
.ak-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid var(--cream-border);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: ak-spin 0.7s linear infinite;
}

@keyframes ak-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes ak-fade-in-up {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

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

.ak-fade-in {
    animation: ak-fade-in-up 0.35s ease forwards;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1403px) {

    .nav-links {
        display: none;
    }

    .nav-hamburger {
        display: flex;
    }

    .nav-actions {
        margin-left: auto;
    }

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

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

    .cart-page-layout {
        grid-template-columns: 1fr;
    }

    .product-detail {
        grid-template-columns: 1fr;
    }

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

    .hero {
        min-height: auto;
        padding: calc(var(--nav-height) + var(--s12)) 0 var(--s12);
    }

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

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

    .hero-inner {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        display: block;

    }

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

    .ceremony-strip-inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    :root {
        --nav-height: 64px;
    }

    .nav-links,
    .nav-whatsapp {
        display: none;
    }

    .nav-hamburger {
        display: flex;
    }

    .nav-actions {
        margin-left: auto;
    }

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

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

    .cart-page-layout {
        grid-template-columns: 1fr;
    }

    .product-detail {
        grid-template-columns: 1fr;
    }

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

    .hero {
        min-height: auto;
        padding: calc(var(--nav-height) + var(--s12)) 0 var(--s12);
    }

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

/* Featured Packages — vertical scroll list on mobile */
@media (max-width: 639px) {
    .featured-swiper {
        overflow: visible !important;
        padding-bottom: var(--s4) !important;
    }

    .featured-swiper .swiper-wrapper {
        flex-direction: column !important;
        transform: none !important;
        gap: var(--s4);
        height: auto !important;
    }

    .featured-swiper .swiper-slide {
        width: 100% !important;
        height: auto !important;
    }

    .featured-swiper .swiper-pagination {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

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

    .hero-stats {
        gap: var(--s6);
    }

    .container {
        padding: 0 var(--s4);
    }

    .cart-table th:nth-child(3),
    .cart-table td:nth-child(3) {
        display: none;
    }
}

/* =====================================================
   MOBILE — Cart card view
   ===================================================== */
@media (max-width: 639px) {
    .cart-table thead {
        display: none;
    }

    .cart-table tbody tr {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: var(--s3);
        padding: var(--s4);
        border-bottom: 1px solid var(--cream-border);
    }

    .cart-table td {
        border: none;
        padding: 0;
    }

    .cart-table td:nth-child(1) {
        width: 72px;
        flex-shrink: 0;
    }

    .cart-table td:nth-child(2) {
        flex: 1;
        min-width: 100px;
    }

    .cart-table td:nth-child(3) {
        display: none;
    }

    .cart-table td:nth-child(4) {
        width: 130px;
    }

    .cart-table td:nth-child(5) {
        margin-left: auto;
        font-weight: 700;
        font-family: var(--font-display);
    }

    .cart-table td:nth-child(6) {
        width: 36px;
    }

    .cart-item-img {
        width: 72px;
        height: 72px;
    }
}

/* =====================================================
   MOBILE — WhatsApp icon + wider category fade
   ===================================================== */
.nav-whatsapp-icon {
    display: none;
}

@media (max-width: 767px) {
    .nav-whatsapp-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: #40414062;
        color: #fff;
        font-size: 1.05rem;
        text-decoration: none;
        flex-shrink: 0;
        transition: background var(--t-fast), transform var(--t-fast);
    }

    .nav-whatsapp-icon:hover {
        background: #1EBE5B;
        transform: scale(1.08);
        color: #fff;
    }

    .categories-bar::after {
        width: 4rem;
    }
}

/* =====================================================
   MOBILE NAV — Close button
   ===================================================== */
.nav-drawer {
    position: relative;
}

.nav-close-btn {
    position: absolute;
    top: var(--s3);
    right: var(--s4);
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #8a0202;
    cursor: pointer;
    line-height: 1;
    padding: var(--s1);
    border-radius: var(--r-sm);
    transition: color var(--t-fast);
}

.nav-close-btn:hover {
    color: var(--text-primary);
}

/* =====================================================
   SCROLL REVEAL
   ===================================================== */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

/* =====================================================
   CART TOAST
   ===================================================== */
.cart-toast {
    position: fixed;
    bottom: 5rem;
    right: 1.5rem;
    background: var(--text-primary);
    color: #fff;
    padding: 0.75rem 1.25rem;
    border-radius: var(--r-lg);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 9999;
    transform: translateY(16px);
    opacity: 0;
    transition: opacity 0.28s ease, transform 0.28s ease;
    border-left: 3px solid var(--gold);
    box-shadow: var(--shadow-lg);
    pointer-events: none;
    max-width: 280px;
}

.cart-toast.show {
    transform: translateY(0);
    opacity: 1;
}

.cart-toast i {
    color: var(--gold);
    font-size: 1rem;
    flex-shrink: 0;
}

/* =====================================================
   QTY STEPPER PULSE
   ===================================================== */
@keyframes qty-pulse {

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

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

.qty-stepper input.pulse {
    animation: qty-pulse 0.22s ease;
}

/* =====================================================
   PAGINATION
   ===================================================== */
.pagination-nav {
    display: flex;
    justify-content: center;
    padding: var(--s10) 0 var(--s6);
}

.pagination {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: wrap;
    justify-content: center;
}

.page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 0.6rem;
    border-radius: var(--r-sm);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    background: var(--white);
    border: 1px solid var(--cream-border);
    text-decoration: none;
    transition: all var(--t-fast);
    cursor: pointer;
}

.page-btn:hover {
    background: var(--cream);
    border-color: var(--gold);
    color: var(--gold-dark);
}

.page-btn.active {
    background: var(--burgundy);
    color: #fff;
    border-color: var(--burgundy);
    font-weight: 600;
}

.page-btn.disabled {
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
}

.page-btn.ellipsis {
    border: none;
    background: none;
    cursor: default;
}

/* =====================================================
   GALLERY PAGE
   ===================================================== */
.gallery-hero {
    background: linear-gradient(135deg, var(--text-primary) 0%, #3d1a0e 100%);
    padding: 6.5rem 0 3rem;
    text-align: center;
    color: #fff;
}

.gallery-hero-eyebrow {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 0.75rem;
}

.gallery-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: #fff;
    margin-bottom: 0.75rem;
}

.gallery-hero-sub {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.gallery-count-badge {
    display: inline-block;
    background: var(--gold);
    color: var(--text-primary);
    padding: 0.3rem 1rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.gallery-section {
    padding: 3rem 0 4rem;
}

.gallery-masonry {
    columns: 4 220px;
    column-gap: 1rem;
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 1rem;
    border-radius: var(--r-lg);
    overflow: hidden;
    cursor: pointer;
    position: relative;
    background: var(--cream);
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    display: block;
    transition: transform 0.4s ease;
}

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

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(30, 10, 5, 0.7) 0%, transparent 55%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 0.85rem;
    opacity: 0;
    transition: opacity 0.25s ease;
}

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

.gallery-item-overlay i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    color: #fff;
}

.gallery-item-overlay span {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    line-height: 1.3;
}

.gallery-empty {
    text-align: center;
    padding: 4rem 1rem;
    color: var(--text-secondary);
}

.gallery-empty i {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
    opacity: 0.4;
}

/* Gallery CTA */
.gallery-cta {
    background: var(--cream);
    padding: 3.5rem 0;
    text-align: center;
    border-top: 1px solid var(--cream-border);
}

.gallery-cta h2 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}

.gallery-cta p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

/* Lightbox */
.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(10, 5, 2, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.gallery-lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.lb-inner {
    max-width: min(90vw, 900px);
    width: 100%;
    text-align: center;
    transform: scale(0.94);
    transition: transform 0.3s ease;
}

.gallery-lightbox.active .lb-inner {
    transform: scale(1);
}

#lbImg {
    max-height: 80vh;
    max-width: 100%;
    border-radius: var(--r-lg);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
    display: block;
    margin: 0 auto;
}

.lb-caption {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    margin-top: 0.75rem;
    min-height: 1.4em;
}

.lb-counter {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.78rem;
}

.lb-close,
.lb-prev,
.lb-next {
    position: fixed;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.lb-close:hover,
.lb-prev:hover,
.lb-next:hover {
    background: rgba(255, 255, 255, 0.25);
}

.lb-close {
    top: 1.25rem;
    right: 1.25rem;
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
}

.lb-prev {
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    font-size: 1.2rem;
}

.lb-next {
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    font-size: 1.2rem;
}

@media (max-width: 767px) {
    .gallery-masonry {
        columns: 2 160px;
    }

    .lb-prev {
        left: 0.5rem;
    }

    .lb-next {
        right: 0.5rem;
    }
}


#categoryBtn:hover {
    transform: scale(1.05);
}

#categoryBtn:active {
    transform: scale(0.96);
}



.nav-drawer {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;

    display: flex;
    flex-direction: column;
    gap: .45rem;

    padding: 1rem;

    background: linear-gradient(270deg, #f0f5f8d2 20%, #e2c46fc7 80%);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);

    border-bottom: 1px solid rgba(255, 255, 255, .35);

    box-shadow:
        0 20px 60px rgba(0, 0, 0, .08);

    transform-origin: top center;

    opacity: 0;
    transform:
        translateY(-20px) scale(.96);

    visibility: hidden;
    pointer-events: none;

    transition:
        transform .55s cubic-bezier(.22, 1, .36, 1),
        opacity .45s ease,
        visibility .45s;

    z-index: 999;
    border-radius: 20px;
    margin: 15px;
}

.nav-drawer.open {

    opacity: 1;

    transform:
        translateY(0) scale(1);

    visibility: visible;
    pointer-events: auto;

}

.nav-link,
.nav-drawer .btn {
    font-family: "Outfit", sans-serif;
    opacity: 0;

    transform:
        translateY(14px);

    transition:
        opacity .45s ease,
        transform .45s cubic-bezier(.22, 1, .36, 1);

}

.drawer-backdrop {

    position: fixed;
    inset: 0;

    background: rgba(0, 0, 0, .12);

    backdrop-filter: blur(8px);

    opacity: 0;
    pointer-events: none;

    transition: .45s;

    z-index: 998;

}

.drawer-backdrop.show {

    opacity: 1;
    pointer-events: auto;

}

#navCloseBtn {
    display: none;
}
