/* ============================================================
   JAYY'S CORNER — Pink × Rose Gold × Luxury Design System
   ============================================================ */

/* ── TOKENS ──────────────────────────────────────────────── */
:root {
    --p50: #FFF5F8;
    --p100: #FCE7F3;
    --p200: #FBCFE8;
    --p300: #F4ABB4;
    --p400: #E2858E;
    --p500: #C96675;
    --p600: #A84C59;
    --p700: #883D48;
    --p800: #6B2E38;
    --gold: #D4AF37;
    --gold-l: #F9F1DC;
    --gold-d: #AA8B2C;
    --white: #FFFFFF;
    --dark: #2C1E23;
    --g400: #A19B9D;
    --g600: #736C6E;
    --r-sm: 12px;
    --r-md: 20px;
    --r-lg: 30px;
    --r-xl: 40px;
    --r-f: 9999px;
    --sh-sm: 0 4px 15px rgba(201, 102, 117, .08);
    --sh-md: 0 8px 30px rgba(201, 102, 117, .12);
    --sh-lg: 0 15px 50px rgba(201, 102, 117, .18);
    --sh-xl: 0 30px 80px rgba(201, 102, 117, .25);
    --tr: all .3s cubic-bezier(.4, 0, .2, 1);
    --tr-b: all .4s cubic-bezier(.34, 1.56, .64, 1);
}

/* ── RESET ───────────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--p50) url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M40 20c-4-8-12-8-12 0 0 8 12 20 12 20s12-12 12-20c0-8-8-8-12 0z' fill='%23FCE7F3' fill-opacity='0.8' fill-rule='evenodd'/%3E%3C/svg%3E");
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

input,
select,
textarea {
    font-family: inherit;
    font-size: 1rem;
}

/* ── PARTICLES ───────────────────────────────────────────── */
.particles-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    background: var(--p300);
    border-radius: 50% 0 50% 50%;
    opacity: .4;
    animation: floatUp linear infinite, spin 6s linear infinite;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

@keyframes floatUp {
    0% {
        transform: translateY(100vh) scale(0) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: .45;
    }

    90% {
        opacity: .35;
    }

    100% {
        transform: translateY(-10vh) scale(1) rotate(180deg);
        opacity: 0;
    }
}

/* ── HERO ────────────────────────────────────────────────── */
.hero-section {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(145deg, #BE185D 0%, #DB2777 35%, #F472B6 65%, #FBCFE8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 180px 24px 80px;
    z-index: 1;
}

/* Animated blobs */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: .22;
    pointer-events: none;
    animation: blobPulse ease-in-out infinite alternate;
}

.blob-1 {
    width: 520px;
    height: 520px;
    top: -200px;
    left: -160px;
    background: radial-gradient(circle, #fff0f8, #FBCFE8);
    animation-duration: 9s;
}

.blob-2 {
    width: 420px;
    height: 420px;
    bottom: -160px;
    right: -100px;
    background: radial-gradient(circle, #D4A853, #F472B6);
    animation-duration: 11s;
    animation-delay: -4s;
}

.blob-3 {
    width: 300px;
    height: 300px;
    top: 35%;
    left: 58%;
    background: radial-gradient(circle, #fff, #FCE7F3);
    animation-duration: 13s;
    animation-delay: -8s;
}

@keyframes blobPulse {
    0% {
        transform: scale(1) translate(0, 0);
    }

    50% {
        transform: scale(1.12) translate(24px, -20px);
    }

    100% {
        transform: scale(.93) translate(-12px, 18px);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

/* Logo card */
.logo-card {
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(20px);
    border-radius: var(--r-xl);
    padding: 36px 52px;
    box-shadow: var(--sh-xl), 0 0 0 1px rgba(255, 255, 255, .6) inset;
    max-width: 320px;
    width: 100%;
    animation: logoFloat 6s ease-in-out infinite;
}

.logo-img {
    width: 100%;
    max-width: 240px;
    margin: 0 auto;
}

.logo-fallback {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.fallback-script {
    font-family: 'Dancing Script', cursive;
    font-size: 2.8rem;
    color: var(--gold);
    line-height: 1.1;
}

.fallback-bold {
    font-family: 'Playfair Display', serif;
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--dark);
    letter-spacing: .1em;
}

@keyframes logoFloat {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-10px)
    }
}

.hero-tagline {
    color: rgba(255, 255, 255, .9);
    font-size: 1.05rem;
    letter-spacing: .06em;
    font-weight: 400;
}

.hero-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.hero-pills span {
    background: rgba(255, 255, 255, .18);
    backdrop-filter: blur(10px);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .35);
    padding: 8px 18px;
    border-radius: var(--r-f);
    font-size: .88rem;
    font-weight: 500;
    transition: var(--tr);
}

.hero-pills span:hover {
    background: rgba(255, 255, 255, .3);
    transform: translateY(-2px);
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    color: var(--p700);
    font-weight: 700;
    font-size: 1.05rem;
    padding: 16px 40px;
    border-radius: var(--r-f);
    box-shadow: 0 8px 30px rgba(0, 0, 0, .18);
    transition: var(--tr-b);
    border: none;
    cursor: pointer;
}

.hero-cta:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 14px 40px rgba(0, 0, 0, .22);
}

.hero-cta .fas {
    color: var(--p500);
    animation: heartbeat 1.4s ease-in-out infinite;
}

@keyframes heartbeat {

    0%,
    100% {
        transform: scale(1)
    }

    50% {
        transform: scale(1.25)
    }
}

/* ── UTILITY ─────────────────────────────────────────────── */
.container {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-head {
    text-align: center;
    margin-bottom: 52px;
}

.section-sub {
    display: block;
    color: var(--p600);
    font-size: .85rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 10px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 18px;
}

.divider {
    display: flex;
    align-items: center;
    gap: 14px;
    justify-content: center;
}

.divider span {
    display: block;
    height: 1px;
    width: 60px;
    background: linear-gradient(90deg, transparent, var(--p400));
}

.divider span:last-child {
    background: linear-gradient(90deg, var(--p400), transparent);
}

.divider i {
    color: var(--gold);
    font-size: .75rem;
}

/* ── MENU SECTION ────────────────────────────────────────── */
.menu-section {
    padding: 90px 0;
    position: relative;
    z-index: 1;
    background: var(--white);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
}

.menu-card {
    background: linear-gradient(145deg, #fff, var(--p50));
    border: 1.5px solid var(--p100);
    border-radius: var(--r-lg);
    padding: 32px 24px;
    text-align: center;
    transition: var(--tr-b);
    box-shadow: var(--sh-sm);
    cursor: default;
    opacity: 0;
    transform: translateY(30px);
}

.menu-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.menu-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--sh-lg);
    border-color: var(--p300);
}

.menu-icon {
    font-size: 3rem;
    margin-bottom: 14px;
    display: block;
    animation: iconFloat 4s ease-in-out infinite;
}

@keyframes iconFloat {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-6px)
    }
}

.menu-card:nth-child(2) .menu-icon {
    animation-delay: -.8s;
}

.menu-card:nth-child(3) .menu-icon {
    animation-delay: -1.6s;
}

.menu-card:nth-child(4) .menu-icon {
    animation-delay: -2.4s;
}

.menu-card:nth-child(5) .menu-icon {
    animation-delay: -3.2s;
}

.menu-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.menu-card p {
    color: var(--g600);
    font-size: .88rem;
    line-height: 1.65;
    margin-bottom: 16px;
}

.menu-tag {
    background: var(--p100);
    color: var(--p700);
    font-size: .78rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: var(--r-f);
    display: inline-block;
}

/* ── ORDER SECTION ───────────────────────────────────────── */
.order-section {
    padding: 90px 0 60px;
    position: relative;
    z-index: 1;
}

.order-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, var(--p100) 0%, var(--p50) 100%);
    z-index: -1;
}

/* ── FORM CARDS ──────────────────────────────────────────── */
.form-card {
    background: var(--white);
    border-radius: var(--r-lg);
    padding: 36px;
    margin-bottom: 24px;
    box-shadow: var(--sh-md);
    border: 1.5px solid var(--p100);
    opacity: 0;
    transform: translateY(24px);
    transition: var(--tr);
}

.form-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.card-header {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 28px;
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--r-md);
    background: linear-gradient(135deg, var(--p500), var(--p700));
    display: grid;
    place-items: center;
    flex-shrink: 0;
    color: #fff;
    font-size: 1.1rem;
    box-shadow: 0 4px 16px rgba(219, 39, 119, .35);
}

.card-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}

.card-header p {
    color: var(--g600);
    font-size: .88rem;
}

/* ── FIELDS ──────────────────────────────────────────────── */
.fields-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.field.full {
    grid-column: 1/-1;
}

label {
    font-size: .85rem;
    font-weight: 600;
    color: var(--dark);
}

label em {
    font-style: normal;
    color: var(--g400);
    font-weight: 400;
    font-size: .8rem;
}

.req {
    color: var(--p600);
}

input[type=text],
input[type=tel],
input[type=date],
input[type=time],
input[type=email],
select,
textarea {
    width: 100%;
    padding: 13px 16px;
    border-radius: var(--r-sm);
    border: 1.5px solid var(--p200);
    background: var(--p50);
    color: var(--dark);
    transition: var(--tr);
    outline: none;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--p500);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(236, 72, 153, .15);
}

input.error,
select.error,
textarea.error {
    border-color: #EF4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, .12);
}

textarea {
    resize: vertical;
    min-height: 80px;
}

select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23EC4899' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 44px;
}

/* ── FULFILLMENT TOGGLE ──────────────────────────────────── */
.fulfillment-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 20px;
}

.toggle-opt {
    position: relative;
    cursor: pointer;
    border: 2px solid var(--p200);
    border-radius: var(--r-md);
    padding: 18px 20px;
    transition: var(--tr-b);
    background: var(--p50);
}

.toggle-opt input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-inner {
    display: flex;
    align-items: center;
    gap: 14px;
}

.toggle-inner i {
    font-size: 1.4rem;
    color: var(--p400);
    transition: var(--tr);
}

.toggle-inner strong {
    display: block;
    font-size: .95rem;
    color: var(--dark);
}

.toggle-inner small {
    display: block;
    font-size: .78rem;
    color: var(--g400);
}

.toggle-opt.active {
    border-color: var(--p500);
    background: linear-gradient(135deg, var(--p50), var(--p100));
    box-shadow: 0 4px 16px rgba(236, 72, 153, .18);
}

.toggle-opt.active .toggle-inner i {
    color: var(--p600);
}

.toggle-opt:hover:not(.active) {
    border-color: var(--p300);
    transform: translateY(-2px);
}

.delivery-area {
    overflow: hidden;
    max-height: 0;
    transition: max-height .4s ease, opacity .3s ease;
    opacity: 0;
}

.delivery-area.open {
    max-height: 120px;
    opacity: 1;
    margin-bottom: 18px;
}

.delivery-area.hidden {
    display: none;
}

/* ── ITEM CARDS ──────────────────────────────────────────── */
.item-card {
    background: linear-gradient(145deg, var(--p50), #fff);
    border: 1.5px solid var(--p200);
    border-radius: var(--r-md);
    padding: 24px;
    margin-bottom: 18px;
    transition: var(--tr);
    animation: slideIn .35s ease forwards;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(16px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.item-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.item-label {
    display: flex;
    align-items: center;
    gap: 10px;
}

.item-badge {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--p500), var(--p700));
    color: #fff;
    font-weight: 700;
    font-size: .82rem;
    display: grid;
    place-items: center;
    box-shadow: 0 3px 10px rgba(219, 39, 119, .35);
}

.item-label h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--dark);
}

.remove-btn {
    background: transparent;
    border: 1.5px solid #EF4444;
    color: #EF4444;
    padding: 6px 14px;
    border-radius: var(--r-f);
    font-size: .8rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--tr);
    display: flex;
    align-items: center;
    gap: 6px;
}

.remove-btn:hover {
    background: #EF4444;
    color: #fff;
}

.item-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.item-full {
    grid-column: 1/-1;
}

.text-cake-group {
    grid-column: 1/-1;
}

/* Add item button */
.add-item-btn {
    width: 100%;
    padding: 15px;
    border-radius: var(--r-md);
    border: 2px dashed var(--p400);
    background: transparent;
    color: var(--p600);
    font-size: .95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--tr-b);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 4px;
}

.add-item-btn:hover {
    background: var(--p100);
    border-color: var(--p600);
    transform: translateY(-2px);
}

/* ── FILE UPLOAD ──────────────────────────────────────────── */
.upload-area {
    border: 2px dashed var(--p300);
    border-radius: var(--r-md);
    background: var(--p50);
    text-align: center;
    cursor: pointer;
    transition: var(--tr);
    min-height: 140px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.upload-area:hover {
    border-color: var(--p500);
    background: var(--p100);
}

.upload-placeholder {
    pointer-events: none;
}

.upload-placeholder i {
    font-size: 2.2rem;
    color: var(--p400);
    margin-bottom: 10px;
    display: block;
}

.upload-placeholder p {
    color: var(--p600);
    font-weight: 500;
    font-size: .9rem;
    margin-bottom: 4px;
}

.upload-placeholder span {
    color: var(--g400);
    font-size: .78rem;
}

.upload-preview {
    width: 100%;
    max-height: 200px;
    object-fit: contain;
    display: none;
    border-radius: var(--r-sm);
}

/* ── PAYMENT ─────────────────────────────────────────────── */
.cliq-banner {
    display: flex;
    align-items: center;
    gap: 18px;
    background: linear-gradient(135deg, var(--p50), var(--gold-l));
    border: 1.5px solid var(--p200);
    border-radius: var(--r-md);
    padding: 22px 24px;
    margin-bottom: 24px;
}

.cliq-icon {
    font-size: 2rem;
    color: var(--gold-d);
    flex-shrink: 0;
}

.cliq-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cliq-label {
    font-size: .75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--g600);
}

.cliq-alias {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--p700);
    line-height: 1.1;
}

.cliq-note {
    font-size: .8rem;
    color: var(--g600);
    line-height: 1.4;
}

.copy-btn {
    padding: 10px 20px;
    border-radius: var(--r-f);
    border: none;
    background: linear-gradient(135deg, var(--p500), var(--p700));
    color: #fff;
    font-weight: 600;
    font-size: .85rem;
    cursor: pointer;
    transition: var(--tr-b);
    display: flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(219, 39, 119, .3);
}

.copy-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 24px rgba(219, 39, 119, .4);
}

/* ── SUBMIT BUTTON ────────────────────────────────────────── */
.submit-btn {
    position: relative;
    width: 100%;
    padding: 20px;
    background: linear-gradient(135deg, var(--p500), var(--p700), var(--p800));
    background-size: 200% 200%;
    color: #fff;
    border: none;
    border-radius: var(--r-lg);
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    overflow: hidden;
    transition: var(--tr-b);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    box-shadow: 0 8px 32px rgba(190, 24, 93, .4);
    letter-spacing: .03em;
    animation: gradientShift 4s ease infinite;
    margin-top: 8px;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%
    }

    50% {
        background-position: 100% 50%
    }
}

.submit-btn .fas {
    animation: heartbeat 1.4s ease-in-out infinite;
}

.submit-btn:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 16px 48px rgba(190, 24, 93, .55);
}

.submit-btn:active {
    transform: scale(.98);
}

.btn-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .25), transparent);
    animation: shimmer 2.8s ease-in-out infinite;
    transform: skewX(-20deg);
}

@keyframes shimmer {
    0% {
        left: -100%
    }

    100% {
        left: 200%
    }
}

.submit-btn:disabled {
    opacity: .65;
    cursor: not-allowed;
    animation: none;
}

.submit-btn:disabled .btn-shimmer {
    display: none;
}

/* ── FOOTER ──────────────────────────────────────────────── */
.site-footer {
    background: var(--dark);
    color: rgba(255, 255, 255, .65);
    text-align: center;
    padding: 36px 24px;
}

.site-footer .fas {
    margin: 0 3px;
}

.footer-copy {
    font-size: .8rem;
    margin-top: 6px;
    color: rgba(255, 255, 255, .35);
}

/* ── MODALS ──────────────────────────────────────────────── */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(30, 18, 24, .6);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s ease;
    padding: 24px;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal {
    background: var(--white);
    border-radius: var(--r-xl);
    padding: 48px 40px;
    text-align: center;
    max-width: 420px;
    width: 100%;
    box-shadow: var(--sh-xl);
    transform: translateY(30px) scale(.95);
    transition: var(--tr-b);
}

.modal-overlay.active .modal {
    transform: translateY(0) scale(1);
}

.modal-emoji {
    font-size: 3.2rem;
    margin-bottom: 16px;
    display: block;
    animation: popIn .5s var(--tr-b);
}

@keyframes popIn {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

.modal h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.modal p {
    color: var(--g600);
    font-size: .95rem;
    line-height: 1.6;
    margin-bottom: 28px;
}

.modal-btn {
    padding: 14px 36px;
    border-radius: var(--r-f);
    border: none;
    background: linear-gradient(135deg, var(--p500), var(--p700));
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--tr-b);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(219, 39, 119, .4);
}

.modal-btn.outline {
    background: transparent;
    border: 2px solid var(--p500);
    color: var(--p600);
}

.modal-btn.outline:hover {
    background: var(--p500);
    color: #fff;
}

/* VIP Success Modal Styles */
.vip-modal {
    max-width: 500px;
    padding: 50px 36px;
}

.vip-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--p700);
    margin-bottom: 8px;
}

.vip-subtext {
    font-size: 0.95rem;
    color: var(--g500);
    margin-bottom: 24px;
}

.vip-section {
    background: linear-gradient(145deg, var(--p50), #fff);
    border: 1px solid var(--p200);
    border-radius: var(--r-md);
    padding: 24px 20px;
    margin-bottom: 30px;
    box-shadow: var(--sh-sm);
}

.vip-section p {
    margin-bottom: 12px;
    color: var(--dark);
    font-size: 0.95rem;
    line-height: 1.5;
}

.vip-section p:last-child {
    margin-bottom: 0;
}

.vip-note {
    font-size: 0.85rem !important;
    color: var(--g500) !important;
    font-style: italic;
    margin-top: 16px;
}

.modal-actions-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.modal-actions-col .modal-btn {
    width: 100%;
    justify-content: center;
}

.btn-whatsapp {
    border-color: #25D366;
    color: #25D366;
}

.btn-whatsapp:hover {
    background: #25D366;
    color: #fff;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
}

.modal-err .modal-emoji {
    animation: shake .4s ease;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0)
    }

    25% {
        transform: translateX(-8px)
    }

    75% {
        transform: translateX(8px)
    }
}

/* ── LOADING ──────────────────────────────────────────────── */
.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(30, 18, 24, .7);
    backdrop-filter: blur(10px);
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
}

.loading-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.loading-box {
    text-align: center;
    color: #fff;
}

.ring {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 4px solid transparent;
    border-top-color: var(--p400);
    animation: spin .8s linear infinite;
    margin: 0 auto 20px;
}

.ring.r2 {
    width: 48px;
    height: 48px;
    border-top-color: var(--gold);
    animation-duration: .6s;
    margin-top: -56px;
    margin-bottom: 16px;
}

.ring.r3 {
    width: 32px;
    height: 32px;
    border-top-color: var(--white);
    animation-duration: 1s;
    margin-top: -48px;
    margin-bottom: 24px;
}

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}

.loading-box p {
    font-weight: 600;
    font-size: 1.05rem;
    color: #fff;
    margin-bottom: 6px;
}

.loading-box small {
    color: rgba(255, 255, 255, .6);
    font-size: .82rem;
}

/* ── SCROLL ANIMATIONS ────────────────────────────────────── */
.fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .55s ease, transform .55s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width:640px) {
    .fields-grid {
        grid-template-columns: 1fr;
    }

    .field.full {
        grid-column: 1;
    }

    .item-fields {
        grid-template-columns: 1fr;
    }

    .item-full,
    .text-cake-group {
        grid-column: 1;
    }

    .fulfillment-row {
        grid-template-columns: 1fr;
    }

    .cliq-banner {
        flex-direction: column;
        text-align: center;
    }

    .logo-card {
        padding: 28px 32px;
    }

    .form-card {
        padding: 24px 20px;
    }

    .menu-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-pills span {
        font-size: .8rem;
        padding: 7px 14px;
    }
}

@media (max-width:400px) {
    .menu-grid {
        grid-template-columns: 1fr;
    }
}

/* ── MENU PRICE LISTS ─────────────────────────────────────── */
.section-note {
    color: var(--g400);
    font-size: .82rem;
    margin-top: 10px;
}

.price-list {
    width: 100%;
    margin: 12px 0;
    border-top: 1px solid var(--p100);
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 0;
    border-bottom: 1px solid var(--p100);
    font-size: .83rem;
}

.price-row span {
    color: var(--g600);
}

.price-row .price {
    color: var(--p700);
    font-weight: 700;
    font-size: .9rem;
    white-space: nowrap;
}

.addon-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 10px;
    text-align: left;
}

.addon-list span {
    font-size: .76rem;
    color: var(--g400);
}

.menu-card.fade-up {
    opacity: 0;
    transform: translateY(28px);
}

.menu-card.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.menu-card:nth-child(2n) {
    animation-delay: .08s;
}

.menu-card:nth-child(3n) {
    animation-delay: .16s;
}

/* ── 48H NOTICE ──────────────────────────────────────────── */
.notice-48h {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: linear-gradient(135deg, #FFF7ED, #FEF3C7);
    border: 1.5px solid #FDE68A;
    border-radius: var(--r-md);
    padding: 16px 20px;
    margin-bottom: 24px;
}

.notice-48h i {
    color: #D97706;
    font-size: 1.2rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.notice-48h strong {
    display: block;
    color: #92400E;
    font-size: .9rem;
    margin-bottom: 3px;
}

.notice-48h span {
    font-size: .82rem;
    color: #A16207;
}

.notice-content {
    display: flex;
    flex-direction: column;
}

.notice-urgent {
    display: block;
    margin-top: 10px;
    font-weight: 500;
    color: var(--p700) !important;
    font-size: 0.85rem !important;
}

.notice-btns {
    display: flex;
    gap: 12px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.notice-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: var(--r-f);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--tr);
    background: var(--white);
    border: 1px solid var(--p200);
    color: var(--p600);
}

.notice-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.15);
}

.notice-btn-wa:hover {
    border-color: #25D366;
    color: #25D366;
}

.notice-btn-ig:hover {
    border-color: #E1306C;
    color: #E1306C;
}

.datetime-error {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #FEF2F2;
    border: 1.5px solid #FECACA;
    border-radius: var(--r-sm);
    padding: 12px 18px;
    color: #B91C1C;
    font-size: .85rem;
    margin-top: 10px;
    animation: slideIn .3s ease;
}

.datetime-error i {
    flex-shrink: 0;
}

/* ── DELIVERY AREA FIX (supports Other text input) ─────────── */
.delivery-area.open {
    max-height: 200px;
}

/* ── ITEM CARD UPDATES ───────────────────────────────────── */
.item-header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.item-total-badge {
    background: linear-gradient(135deg, var(--p500), var(--p700));
    color: #fff;
    font-weight: 700;
    font-size: .88rem;
    padding: 6px 14px;
    border-radius: var(--r-f);
    box-shadow: 0 3px 10px rgba(219, 39, 119, .35);
    white-space: nowrap;
    min-width: 90px;
    text-align: center;
    transition: var(--tr);
    font-family: 'Poppins', sans-serif;
}

input[type=number] {
    width: 100%;
    padding: 13px 16px;
    border-radius: var(--r-sm);
    border: 1.5px solid var(--p200);
    background: var(--p50);
    color: var(--dark);
    transition: var(--tr);
    outline: none;
}

input[type=number]:focus {
    border-color: var(--p500);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(236, 72, 153, .15);
}

.per-unit-display {
    background: var(--p50);
    border: 1.5px solid var(--p200);
    border-radius: var(--r-sm);
    padding: 13px 16px;
    color: var(--p700);
    font-weight: 600;
    font-size: .95rem;
}

/* ── ADD-ONS ──────────────────────────────────────────────── */
.addon-section {
    background: linear-gradient(135deg, var(--p50), var(--gold-l));
    border: 1.5px solid var(--p200);
    border-radius: var(--r-md);
    padding: 18px 20px;
    margin-top: 12px;
    grid-column: 1/-1;
}

.addon-section-title {
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--p700);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.addon-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(219, 39, 119, .1);
}

.addon-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.addon-label {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    font-size: .85rem;
}

.addon-label i {
    color: var(--p500);
}

.addon-price-tag {
    color: var(--gold-d);
    font-weight: 700;
    font-size: .82rem;
}

.addon-qty-input {
    width: 70px !important;
    padding: 8px 10px !important;
    text-align: center;
    border-radius: var(--r-sm);
    border: 1.5px solid var(--p300) !important;
}

.addon-check {
    width: 20px;
    height: 20px;
    accent-color: var(--p500);
    cursor: pointer;
}

/* ── GRAND TOTAL BANNER ───────────────────────────────────── */
.grand-total-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, var(--p700), var(--p800));
    border-radius: var(--r-md);
    padding: 20px 28px;
    margin-top: 20px;
    box-shadow: 0 8px 28px rgba(157, 23, 77, .35);
}

.gt-label {
    color: rgba(255, 255, 255, .85);
    font-size: .95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.gt-label i {
    color: var(--gold);
}

.gt-amount {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: .02em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .2);
    transition: var(--tr);
}

/* ── CUSTOM FIELDS SPACING ────────────────────────────────── */
.custom-fields {
    margin-top: 8px;
}

.ref-image-wrap {
    margin-top: 4px;
}

/* ── UPDATE RESPONSIVE ────────────────────────────────────── */
@media (max-width:640px) {
    .grand-total-banner {
        padding: 16px 18px;
    }

    .gt-amount {
        font-size: 1.4rem;
    }

    .addon-row {
        flex-wrap: wrap;
        gap: 8px;
    }

    .cliq-note strong {
        display: block;
        margin-top: 2px;
    }

    .notice-48h {
        flex-direction: column;
        gap: 8px;
    }
}

/* ── SOCIAL LINKS ────────────────────────────────────────── */
.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.social-links a {
    color: var(--p500);
    font-size: 1.6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--p100);
    border-radius: 50%;
    transition: var(--tr-b);
}

.social-links a:hover {
    color: #fff;
    background: var(--p500);
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 6px 16px rgba(236, 72, 153, .3);
}

/* ── TOP NAV ─────────────────────────────────────────────── */
.top-nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 24px 0;
    background: transparent;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.9);
    padding: 8px 16px;
    border-radius: var(--r-f);
    box-shadow: var(--sh-sm);
    text-decoration: none;
    transition: var(--tr);
}

.nav-logo:hover {
    transform: translateY(-2px);
    box-shadow: var(--sh-md);
}

.nav-script {
    font-family: 'Dancing Script', cursive;
    font-size: 1.5rem;
    color: var(--gold);
    line-height: 1;
}

.nav-bold {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    letter-spacing: .05em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
    background: rgba(255, 255, 255, 0.9);
    padding: 8px 24px;
    border-radius: var(--r-f);
    box-shadow: var(--sh-sm);
    flex-wrap: wrap;
    justify-content: center;
}

.nav-links a {
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark);
    transition: var(--tr);
    text-decoration: none;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--p500);
}

.nav-order-btn {
    background: var(--p500);
    color: #fff !important;
    padding: 8px 20px;
    border-radius: var(--r-f);
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.3);
}

.nav-order-btn:hover {
    background: var(--p600);
    color: #fff !important;
    transform: translateY(-2px);
}

.nav-links i {
    font-size: 1.2rem;
    color: var(--p500);
}

.nav-links i:hover {
    color: var(--p700);
}

@media (max-width: 1200px) {
    .nav-container {
        flex-direction: column;
        gap: 16px;
    }
}

/* ── GALLERY ─────────────────────────────────────────────── */
.gallery-hero {
    position: relative;
    padding: 180px 24px 80px;
    background: linear-gradient(145deg, #FBCFE8 0%, #EC4899 50%, #BE185D 100%);
    text-align: center;
    overflow: hidden;
}

.gallery-hero .hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.gallery-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.gallery-wrapper {
    background: var(--white);
    padding-bottom: 80px;
}

.gallery-section {
    padding: 80px 0;
}

.gallery-section.bg-light {
    background: var(--p50);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    border-radius: var(--r-md);
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: var(--p100);
    cursor: pointer;
    box-shadow: var(--sh-sm);
    transition: var(--tr-b);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--sh-lg);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(157, 23, 77, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--tr);
}

.gallery-overlay i {
    color: #fff;
    font-size: 2rem;
    transform: scale(0.5);
    transition: var(--tr-b);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

/* ── LIGHTBOX ────────────────────────────────────────────── */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(30, 18, 24, 0.95);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--tr);
    backdrop-filter: blur(10px);
}

.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: var(--r-md);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: var(--tr-b);
}

.lightbox.active img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    transition: var(--tr);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close:hover {
    background: var(--p500);
    transform: rotate(90deg);
}

/* ── HERO ACTIONS ────────────────────────────────────────── */
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 10px;
}

.hero-cta.outline {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: none;
}

.hero-cta.outline:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #fff;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.hero-cta.outline .fas {
    color: #fff;
    animation: none;
}

/* ── FADE-UP ANIMATION ──────────────────────────────────── */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── CART UI ─────────────────────────────────────────────── */
.nav-cart-btn {
    position: relative;
    font-size: 1.15rem;
    margin-left: 10px;
    color: var(--dark);
    text-decoration: none;
    transition: var(--tr);
}

.nav-cart-btn:hover {
    color: var(--p600);
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    background: var(--p600);
    color: #fff;
    font-size: 0.70rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 20px;
    min-width: 18px;
    text-align: center;
    box-shadow: var(--sh-sm);
    display: none;
}

.cart-toast {
    position: fixed;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--p600);
    color: #fff;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 500;
    box-shadow: var(--sh-lg);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 9999;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cart-toast.show {
    transform: translate(-50%, -85px);
}

.product-add-btn {
    display: inline-block;
    margin-top: 16px;
    background: var(--p100);
    color: var(--p600);
    padding: 8px 16px;
    border-radius: var(--r-md);
    font-weight: 600;
    font-size: 0.90rem;
    cursor: pointer;
    border: 1px solid var(--p200);
    transition: var(--tr);
    width: 100%;
}

.product-add-btn:hover {
    background: var(--p600);
    color: #fff;
    border-color: var(--p600);
}

/* ── CART MODAL ──────────────────────────────────────────── */
.dessert-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--tr);
}

.dessert-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.dessert-modal-overlay .modal {
    width: 90%;
    max-width: 500px;
    background: var(--white);
    border-radius: var(--r-lg);
    padding: 30px;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(20px) scale(0.95);
    transition: var(--tr-b);
    box-shadow: var(--sh-lg);
    text-align: left;
}

.dessert-modal-overlay.active .modal {
    transform: translateY(0) scale(1);
}

.dessert-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.dessert-modal-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--dark);
}

.dessert-modal-close {
    cursor: pointer;
    background: var(--gray);
    color: var(--g600);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--tr);
}

.dessert-modal-close:hover {
    background: var(--p100);
    color: var(--p600);
}

.dessert-modal-fields .field {
    margin-bottom: 16px;
}

.dessert-modal-fields label {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--g600);
    margin-bottom: 6px;
}

.dessert-modal-fields input,
.dessert-modal-fields select,
.dessert-modal-fields textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    background: #fdfdfd;
    transition: var(--tr);
    font-family: 'Poppins', sans-serif;
}

.dessert-modal-fields textarea {
    resize: vertical;
    min-height: 80px;
}

.dessert-modal-footer {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dessert-modal-price {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--p600);
}

.dessert-modal-btn {
    background: var(--p600);
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: var(--r-md);
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--tr);
}

.dessert-modal-btn:hover {
    background: var(--p700);
}

/* ── CART PAGE SPECIFIC ──────────────────────────────────── */
.cart-items-wrap {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cart-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border: 1px solid var(--p100);
    border-radius: var(--r-md);
    background: var(--white);
}

.cart-row-info h4 {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 4px;
}

.cart-row-info p {
    font-size: 0.85rem;
    color: var(--g600);
    line-height: 1.4;
}

.cart-row-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cart-row-price {
    font-weight: 700;
    color: var(--p600);
    min-width: 80px;
    text-align: right;
}

.cart-row-qty {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-row-qty button {
    background: var(--gray);
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--tr);
}

.cart-row-qty button:hover {
    background: var(--p200);
    color: var(--p600);
}

.cart-row-remove {
    color: #ef4444;
    cursor: pointer;
    background: none;
    border: none;
    font-size: 1.1rem;
}

.cart-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--g600);
}

/* ── PRODUCT CARDS ───────────────────────────────────────── */
.product-card {
    position: relative;
    background: var(--white);
    border-radius: var(--r-md);
    overflow: hidden;
    box-shadow: var(--sh-sm);
    transition: var(--tr-b);
    display: flex;
    flex-direction: column;
    border: 1.5px solid var(--p100);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--sh-lg);
    border-color: var(--p300);
}

.product-img-wrap {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    cursor: pointer;
}

.product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.product-card:hover .product-img-wrap img {
    transform: scale(1.08);
}

.product-overlay {
    position: absolute;
    inset: 0;
    background: rgba(157, 23, 77, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--tr);
}

.product-overlay i {
    color: #fff;
    font-size: 2rem;
    transform: scale(0.5);
    transition: var(--tr-b);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-card:hover .product-overlay i {
    transform: scale(1);
}

.product-info {
    padding: 24px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.product-desc {
    color: var(--g600);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* ── COMPACT GRID (Bouquets) ─────────────────────────────────── */
.gallery-grid-compact {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}

.gallery-grid-compact .product-info {
    padding: 16px;
}

.gallery-grid-compact .product-title {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.gallery-grid-compact .product-desc {
    font-size: 0.85rem;
}

/* -- CATEGORY NAV ---------------------------------------------- */
.category-nav {
    background: #fff;
    padding: 15px 0;
    border-bottom: 1px solid var(--p100);
    position: sticky;
    top: 0;
    z-index: 90;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.cat-nav-container {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.cat-btn {
    background: var(--p50);
    color: var(--p600);
    padding: 8px 18px;
    border-radius: var(--r-f);
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: var(--tr);
    border: 1px solid var(--p200);
    display: flex;
    align-items: center;
    gap: 6px;
}

.cat-btn i {
    font-size: 1rem;
}

.cat-btn:hover {
    background: var(--p500);
    color: #fff;
    border-color: var(--p500);
    transform: translateY(-2px);
    box-shadow: var(--sh-sm);
}

@media (max-width: 768px) {
    .cat-nav-container {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 5px;
        -webkit-overflow-scrolling: touch;
    }

    .cat-btn {
        flex-shrink: 0;
    }
}

/* -- MOBILE NAVBAR OVERLAP FIX -------------------------------- */
:root {
    scroll-padding-top: calc(var(--nav-height, 100px) + 20px);
}

@media (max-width: 1200px) {
    .container {
        padding-top: 0 !important;
    }

    .hero-section {
        padding-top: calc(var(--nav-height, 100px) + 40px) !important;
    }

    .gallery-hero {
        padding-top: calc(var(--nav-height, 100px) + 20px) !important;
    }

    .order-section,
    .cart-section,
    section[style*="padding-top:120px"],
    section[style*="padding-top: 120px"] {
        padding-top: calc(var(--nav-height, 100px) + 30px) !important;
    }
}

/* ========== SMART UPSELL ========== */
.upsell-section {
    background: var(--white);
    border-radius: var(--r-lg);
    padding: 30px;
    margin-bottom: 24px;
    box-shadow: var(--sh-md);
    border: 1.5px solid var(--p100);
    text-align: center;
}

.upsell-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--p700);
    margin-bottom: 24px;
}

.upsell-grid {
    display: flex;
    overflow-x: auto;
    gap: 16px;
    padding-bottom: 15px;
    -webkit-overflow-scrolling: touch;
}

.upsell-grid::-webkit-scrollbar {
    height: 6px;
}

.upsell-grid::-webkit-scrollbar-thumb {
    background-color: var(--p300);
    border-radius: 4px;
}

.upsell-card {
    min-width: 140px;
    background: linear-gradient(145deg, var(--p50), #fff);
    border: 1px solid var(--p200);
    border-radius: var(--r-md);
    padding: 20px 14px;
    transition: var(--tr);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

.upsell-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--sh-sm);
    border-color: var(--p400);
}

.upsell-emoji {
    font-size: 2.2rem;
    margin-bottom: 5px;
    animation: bounceHover 2s infinite ease-in-out alternate;
}

@keyframes bounceHover {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-4px);
    }
}

.upsell-info h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 4px;
    line-height: 1.2;
}

.upsell-price {
    font-size: 0.85rem;
    color: var(--p600);
    font-weight: 500;
}

.upsell-btn {
    margin-top: auto;
    background: transparent;
    border: 1.5px dashed var(--p400);
    color: var(--p600);
    padding: 6px 14px;
    border-radius: var(--r-f);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--tr);
    width: 100%;
}

.upsell-btn:hover {
    background: var(--p100);
    color: var(--p700);
    border-color: var(--p600);
}

/* ── CUTE DECORATIONS ────────────────────────────────────── */
.cute-section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 60px 20px;
    opacity: 0.8;
}

.cute-section-divider span:not(.cute-icon-div) {
    display: block;
    height: 1px;
    width: 140px;
    background: linear-gradient(90deg, transparent, var(--p300));
}

.cute-section-divider span:not(.cute-icon-div):last-child {
    background: linear-gradient(90deg, var(--p300), transparent);
}

.cute-icon-div {
    font-size: 1.4rem;
    color: var(--p400);
    filter: drop-shadow(0 2px 4px rgba(236, 72, 153, 0.2));
}

.cute-icons-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.cute-icon {
    position: absolute;
    font-size: clamp(14px, 2vw, 22px);
    opacity: 0.07;
    animation: cuteDrift 16s ease-in-out infinite alternate;
    user-select: none;
}

@keyframes cuteDrift {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    100% {
        transform: translate(30px, -40px) rotate(15deg);
    }
}
/* ── ORDER SUMMARY LIST ──────────────────────────────────── */
.order-summary-list {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px dashed var(--p200);
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 0.95rem;
    color: var(--dark);
}

.summary-item-name {
    font-weight: 500;
}

.summary-item-name span {
    color: var(--p600);
    font-weight: 700;
    margin-right: 6px;
}

.summary-item-name small {
    color: var(--g400);
    font-size: 0.8rem;
    margin-left: 4px;
}

.summary-item-price {
    font-weight: 600;
}

.upsell-summary-item {
    background: rgba(236, 72, 153, 0.05);
    padding: 8px 10px;
    border-radius: var(--r-sm);
    margin: 4px -10px;
}
