:root {
    --pale-sky: #d0edfdff;
    --seashell: #fcf5eeff;
    --lavender-veil: #ecd9ffff;
    --petal-frost: #ffd5e3ff;
    --brand-accent: #5c4a6d;
    --brand-border: rgba(92, 74, 109, 0.18);
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Base font for the site (Tailwind utilities still handle most spacing/colors) */
body {
    font-family: 'Poppins', sans-serif;
}

/* Use Playfair for header/title and navigation to keep the brand look */
header h1,
h2,
h3,
h4,
#mainNav,
#mainNav a,
#mobileNav {
    font-family: 'Playfair Display', serif;
}

.brand-chip {
    background: rgba(255, 255, 255, 0.92);
        border: 1px solid var(--brand-border);
        border-radius: 1rem;
        padding: 0.9rem 1rem;
        text-align: center;
        font-weight: 600;
        color: var(--brand-accent);
        box-shadow: 0 8px 20px rgba(92, 74, 109, 0.08);
        backdrop-filter: blur(6px);
    }

    .button {
        --bg: linear-gradient(90deg, var(--lavender-veil), var(--petal-frost));
        --bg-hover: linear-gradient(90deg, var(--petal-frost), var(--seashell));
        appearance: none;
        border: none;
        border-radius: 0.65rem;
        background: var(--bg);
        color: #fff;
        font-weight: 700;
        letter-spacing: 0.01em;
        padding: 0.62rem 0.95rem;
        transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
        box-shadow: 0 10px 24px rgba(237, 217, 255, 0.4);
    }

    .button:hover {
        background: var(--bg-hover);
        transform: translateY(-1px);
        box-shadow: 0 14px 26px rgba(237, 217, 255, 0.45);
    }

.button:active {
    transform: translateY(0);
}

.button.small {
    font-size: 0.95rem;
    padding-top: 0.58rem;
    padding-bottom: 0.58rem;
}

.button:disabled,
.button[disabled] {
    opacity: 0.62;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

/* Blur-up effect used by lazy-loading images */
.blur-image {
    filter: blur(10px);
    transition: filter 0.8s ease-out, opacity 0.8s ease-out;
}

.blur-image.loaded {
    filter: blur(0);
    opacity: 1;
}

/* WhatsApp floating button — pulse ring */
@keyframes wa-ping {
    0%   { transform: scale(1);    opacity: 0.75; }
    70%  { transform: scale(1.55); opacity: 0;    }
    100% { transform: scale(1.55); opacity: 0;    }
}

.wa-pulse-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid #40c351;
    animation: wa-ping 2.2s ease-out infinite;
    pointer-events: none;
}

/* Parallax impact section — shared layer base */
.par-layer {
    position: absolute;
    left: 0;
    right: 0;
    will-change: transform;
}

@keyframes add-cart-pop {
    0%   { transform: scale(1); }
    40%  { transform: scale(1.018); }
    100% { transform: scale(1); }
}

.add-cart-pop {
    animation: add-cart-pop 260ms ease-out;
}

@keyframes cart-target-pulse {
    0%   { transform: scale(1); }
    30%  { transform: scale(1.12); }
    100% { transform: scale(1); }
}

.cart-target-pulse {
    animation: cart-target-pulse 460ms ease-out;
}

.cart-fly-item {
    position: fixed;
    top: 0;
    left: 0;
    width: 56px;
    height: 56px;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.95);
    background-color: #ffffff;
    background-position: center;
    background-size: cover;
    box-shadow: 0 10px 24px rgba(109, 22, 90, 0.28);
    pointer-events: none;
    z-index: 80;
}

@keyframes cart-sparkle-float {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.95;
    }
    100% {
        transform: translate(var(--sparkle-x, 0px), var(--sparkle-y, -30px)) scale(0.2);
        opacity: 0;
    }
}

.cart-sparkle {
    position: fixed;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    pointer-events: none;
    z-index: 82;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.65);
    animation: cart-sparkle-float 520ms ease-out forwards;
}

@keyframes cart-ripple {
    0% {
        transform: scale(0.35);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.45);
        opacity: 0;
    }
}

.cart-ripple {
    position: absolute;
    inset: -6px;
    border-radius: 999px;
    border: 2px solid rgba(255, 196, 166, 0.75);
    pointer-events: none;
    animation: cart-ripple 540ms ease-out forwards;
}

@keyframes cart-badge-bump {
    0% { transform: scale(1); }
    35% { transform: scale(1.28); }
    100% { transform: scale(1); }
}

.cart-badge-bump {
    animation: cart-badge-bump 400ms cubic-bezier(0.2, 0.9, 0.2, 1);
}