/* ============================================================
   JAYY'S CORNER — Pink × Rose Gold × Luxury Design System
   ============================================================ */

/* ── TOKENS ──────────────────────────────────────────────── */
:root {
    --p50: #FFF0F8;
    --p100: #FCE7F3;
    --p200: #FBCFE8;
    --p300: #F9A8D4;
    --p400: #F472B6;
    --p500: #EC4899;
    --p600: #DB2777;
    --p700: #BE185D;
    --p800: #9D174D;
    --gold: #D4A853;
    --gold-l: #F5E6C8;
    --gold-d: #A67C2E;
    --white: #FFFFFF;
    --dark: #1E1218;
    --g400: #9CA3AF;
    --g600: #6B7280;
    --r-sm: 10px;
    --r-md: 18px;
    --r-lg: 26px;
    --r-xl: 36px;
    --r-f: 9999px;
    --sh-sm: 0 2px 8px rgba(190, 24, 93, .08);
    --sh-md: 0 6px 24px rgba(190, 24, 93, .13);
    --sh-lg: 0 12px 48px rgba(190, 24, 93, .20);
    --sh-xl: 0 24px 72px rgba(190, 24, 93, .28);
    --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);
    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%;
    opacity: .25;
    animation: floatUp linear infinite;
}

@keyframes floatUp {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }

    10% {
        opacity: .3;
    }

    90% {
        opacity: .25;
    }

    100% {
        transform: translateY(-10vh) scale(1);
        opacity: 0;
    }
}

/* ── HERO ────────────────────────────────────────────────── */
.hero-section {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(145deg, #9D174D 0%, #DB2777 35%, #EC4899 65%, #FBCFE8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 80px 24px;
    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;
}

.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;
}

.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);
}