/* =========================================================
   1. ROOT & RESET
========================================================= */

:root {
    --bg: #fbf6ee;
    --maroon: #4a1510;
    --maroon-dark: #2f0d09;
    --gold: #c8871a;

    --text: #3b2a24;
    --muted: #7a675d;

    --card: #ffffff;
    --line: #eadfce;
    --cream: #f3e2c4;

    --container: 1160px;
    --radius: 14px;
    --transition: 0.3s ease;
}

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

/* Bug fix: .btn display was overriding the [hidden] attribute */
[hidden] {
    display: none !important;
}

html {
    scroll-behavior: smooth;
    scrollbar-color: var(--gold) var(--bg);
}

body {
    font-family: Inter, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
}

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

::selection {
    background: var(--gold);
    color: #fff;
}

:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
    border-radius: 4px;
}


/* =========================================================
   2. GLOBAL TYPOGRAPHY
========================================================= */

h1,
h2,
h3,
.brand {
    font-family: "Playfair Display", serif;
    color: var(--maroon);
    line-height: 1.15;
}

h1 {
    font-size: clamp(2.5rem, 5.2vw, 4.1rem);
    font-weight: 700;
}

h1 span {
    display: block;
    color: var(--gold);
    background: linear-gradient(90deg, #b87512, #e8b04a, #b87512);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 6s linear infinite;
}

h2 {
    font-size: clamp(1.9rem, 3.5vw, 2.7rem);
}

.eyebrow {
    margin-bottom: 12px;

    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;

    color: var(--gold);
}

.lead {
    max-width: 480px;
    margin: 22px 0 32px;

    font-size: 1.1rem;
    color: var(--muted);
}


/* =========================================================
   3. CONTAINER
========================================================= */

.wrap {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}


/* =========================================================
   4. NAVIGATION
========================================================= */

#nav {
    position: fixed;
    inset: 0 0 auto;

    z-index: 100;

    transition: var(--transition);
}

#nav.s {
    background: #fbf6eef5;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}

.bar {
    display: flex;
    align-items: center;
    justify-content: space-between;

    height: 72px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;

    font-size: 1.25rem;
    font-weight: 700;
    text-decoration: none;
}

.brand img {
    width: 52px;
    height: 52px;

    border-radius: 50%;
    object-fit: cover;
}

nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

nav a:not(.btn) {
    position: relative;

    font-size: 0.92rem;
    font-weight: 500;

    color: var(--text);
    text-decoration: none;
}

nav a:not(.btn)::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -4px;

    width: 0;
    height: 2px;

    background: var(--gold);

    transition: var(--transition);
}

nav a:not(.btn):hover::after {
    width: 100%;
}

nav a:not(.btn).active {
    color: var(--gold);
}

nav a:not(.btn).active::after {
    width: 100%;
}


/* =========================================================
   5. BUTTONS
========================================================= */

.btn {
    display: inline-block;

    padding: 13px 28px;

    font-size: 0.93rem;
    font-weight: 500;

    color: #fff;
    background: var(--maroon);

    border: 1.5px solid var(--maroon);
    border-radius: 6px;

    text-decoration: none;
    cursor: pointer;

    box-shadow: 0 8px 18px #4a15101f;

    transition: var(--transition);
}

.btn:hover {
    color: #fff;
    background: var(--gold);
    border-color: var(--gold);

    transform: translateY(-2px);
    box-shadow: 0 14px 26px #c8871a44;
}

.btn:active {
    transform: translateY(0) scale(.98);
}

.btn.sm {
    padding: 9px 20px;
}

.btn.line {
    color: var(--maroon);
    background: transparent;
    box-shadow: none;
}

.btn.line:hover {
    color: #fff;
    background: var(--maroon);
    border-color: var(--maroon);
}

.btn.line.light {
    color: #fff;
    background: transparent;
    border-color: #ffffff66;
}

.btn.line.light:hover {
    color: var(--maroon);
    background: #fff;
    border-color: #fff;
}


/* =========================================================
   6. HERO
========================================================= */

.hero {
    position: relative;
    overflow: hidden;

    padding: 140px 0 90px;

    background:
        radial-gradient(circle at 80% 30%, #f6e6cb, transparent 55%),
        radial-gradient(circle at 5% 90%, #f3e2c466, transparent 40%);
}

.hero::before {
    content: "";
    position: absolute;
    top: -120px;
    left: -120px;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle, #c8871a22, transparent 70%);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 40px;
    align-items: center;
}

.cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.cta.c {
    justify-content: center;
    margin-top: 28px;
}


/* =========================================================
   7. HERO PRODUCT ART
========================================================= */

.hero-art {
    position: relative;
    height: 480px;
}

.ring {
    position: absolute;
    inset: 6%;

    border: 1px dashed #c8871a88;
    border-radius: 50%;

    background: var(--cream);

    animation: spin 40s linear infinite;
}

.hero-art img {
    position: absolute;

    filter: drop-shadow(0 22px 24px #4a15102e);
}

.h1i {
    width: 41%;
    left: 8%;
    top: 22%;

    animation: float 6s ease-in-out infinite;
}

.h2i {
    width: 42%;
    right: 6%;
    top: 8%;

    animation: float 7s ease-in-out -2s infinite;
}

.h3i {
    width: 38%;
    left: 34%;
    bottom: 2%;

    animation: float 6.5s ease-in-out -4s infinite;
}


/* =========================================================
   8. MAROON INFORMATION STRIP
========================================================= */

.strip {
    color: #f5dfb8;
    background: var(--maroon);

    font-size: 0.85rem;
    letter-spacing: 0.04em;
}

.strip .wrap {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;

    padding: 16px 24px;
}

.strip span::before {
    content: "✦";
    margin-right: 8px;
    color: var(--gold);
}


/* =========================================================
   9. SECTIONS
========================================================= */

section {
    padding: 96px 0;
}

/* Skip rendering off-screen sections until needed (faster load) */
#cakes,
#customize,
#about,
#details {
    content-visibility: auto;
    contain-intrinsic-size: auto 800px;
}

.head {
    margin-bottom: 36px;
    text-align: center;
}

.head .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.head .eyebrow::before,
.head .eyebrow::after {
    content: "";
    width: 28px;
    height: 1px;
    background: currentColor;
    opacity: .6;
}

.head h2::after {
    content: "";
    display: block;
    width: 56px;
    height: 3px;
    margin: 16px auto 0;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--gold), #e8b04a);
}

.sub {
    max-width: 560px;
    margin: 14px auto 0;

    color: var(--muted);
}

.sub.l {
    margin: 18px 0 0;
}

.center {
    text-align: center;
}


/* =========================================================
   10. DARK SECTIONS
========================================================= */

.dark {
    background: var(--maroon);
}

.dark h2 {
    color: #fff;
}

.dark .sub {
    color: #e8d3b5;
}


/* =========================================================
   11. CATEGORY TABS
========================================================= */

.tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;

    margin-bottom: 40px;
}

.tabs button {
    padding: 9px 24px;

    font-family: Inter, sans-serif;
    font-size: 0.88rem;
    font-weight: 500;

    color: var(--text);
    background: #fff;

    border: 1px solid var(--line);
    border-radius: 30px;

    cursor: pointer;

    transition: var(--transition);
}

.tabs button:hover,
.tabs .on {
    color: #fff;
    background: var(--maroon);
    border-color: var(--maroon);
}


/* =========================================================
   12. PRODUCT GRID
========================================================= */

.grid {
    display: grid;

    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));

    gap: 28px;
}


/* =========================================================
   13. PRODUCT CARD
========================================================= */

.card {
    position: relative;
    display: flex;
    flex-direction: column;

    overflow: hidden;

    background: var(--card);

    border: 1px solid var(--line);
    border-radius: var(--radius);

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease,
        border-color 0.4s ease;

    animation: rise 0.6s both;
}

.card::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), #e8b04a);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .45s ease;
}

.card:hover::after {
    transform: scaleX(1);
}

.card:hover {
    transform: translateY(-8px);
    border-color: #e3c994;

    box-shadow: 0 24px 40px #4a151018;
}


/* =========================================================
   14. PRODUCT IMAGE AREA
========================================================= */

.im {
    position: relative;

    width: 100%;
    aspect-ratio: 4 / 3;

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

    padding: 18px 24px;

    background: linear-gradient(160deg, #faf1e1, #f1dfc0);

    overflow: hidden;

    cursor: zoom-in;
    touch-action: manipulation;
}

.im img {
    width: 100%;
    height: 100%;

    max-width: 100%;
    max-height: 100%;

    object-fit: contain;
    object-position: center;

    transition: transform 0.6s ease;
}

.card:hover .im img {
    transform: scale(1.04);
}


/* =========================================================
   15. PRODUCT INFORMATION
========================================================= */

.info {
    padding: 20px 22px 24px;
}

.badge {
    display: block;

    margin-bottom: 4px;

    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;

    color: var(--gold);
}

.info h3 {
    margin: 4px 0 6px;

    font-family: "Playfair Display", serif;
    font-size: 1.2rem;
    font-weight: 600;

    color: var(--maroon);
}

.info p {
    margin-bottom: 16px;

    font-size: 0.88rem;
    color: var(--muted);
}

.order-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
}

.info a {
    display: inline-block;

    padding-bottom: 2px;

    font-size: 0.88rem;
    font-weight: 600;

    color: var(--maroon);
    text-decoration: none;

    border-bottom: 1.5px solid var(--gold);

    transition: var(--transition);
}

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

.order-sep {
    color: var(--gold);
    font-weight: 700;
}

.market-link {
    border-bottom: 1px solid currentColor !important;
}

.dark .order-sep {
    color: #e8c47d;
}


/* =========================================================
   16. DARK PRODUCT CARDS
========================================================= */

.dark .card {
    background: #5a2018;
    border-color: #ffffff1a;
}

.dark .im {
    background: #3f120d;
}

.dark .info h3 {
    color: #fff;
}

.dark .info p {
    color: #e0c9a8;
}

.dark .info a {
    color: #fff;
}


/* =========================================================
   17. ABOUT SECTION
========================================================= */

.about {
    display: grid;

    grid-template-columns: 1.2fr 1fr;
    gap: 64px;

    align-items: center;
}

.about h2 {
    max-width: 520px;
}


/* =========================================================
   18. STATS
========================================================= */

.stats {
    display: grid;

    border-left: 2px solid var(--gold);
}

.stats div {
    padding: 20px 28px;

    border-bottom: 1px solid var(--line);
}

.stats div:last-child {
    border-bottom: 0;
}

.stats b {
    display: block;

    font-family: "Playfair Display", serif;
    font-size: 2rem;
    font-weight: 700;

    color: var(--maroon);
}

.stats span {
    font-size: 0.9rem;
    color: var(--muted);
}


/* =========================================================
   19. MANUFACTURER BOX
========================================================= */

.mfg {
    display: inline-block;

    margin-top: 28px;
    padding: 16px 22px;

    background: #fff;

    border: 1px solid var(--line);
    border-left: 3px solid var(--gold);
    border-radius: 8px;
}

.mfg small {
    display: block;

    font-size: 0.7rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;

    color: var(--muted);
}

.mfg b {
    font-family: "Playfair Display", serif;
    font-size: 1.25rem;
    font-weight: 700;

    color: var(--maroon);
}


/* =========================================================
   20. ORDER SECTION
========================================================= */

.order .sub a {
    color: var(--gold);
    font-weight: 600;
    text-decoration: none;
}

.order .btn {
    background: var(--gold);
    border-color: var(--gold);
}

.order .btn:hover {
    color: var(--maroon);
    background: #fff;
}

.order .btn.line {
    background: transparent;
    border-color: #ffffff66;
}

.area {
    margin-top: 32px;

    font-size: 0.85rem;
    color: #d9c3a3;
}

/* Platform contact buttons (all screen sizes) */
.cta.c .btn:nth-child(1) { background: #20b951; border-color: #20b951; }
.cta.c .btn:nth-child(1):hover { background: #1a9b44; border-color: #1a9b44; color: #fff; }

.cta.c .btn:nth-child(2) { background: #03afe3; border-color: #03afe3; }
.cta.c .btn:nth-child(2):hover { background: #089ac6; border-color: #089ac6; color: #fff; }

.cta.c .btn:nth-child(3) {
    background: linear-gradient(45deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5);
    border-color: transparent;
}
.cta.c .btn:nth-child(3):hover { filter: brightness(1.1); color: #fff; }

.cta.c .btn:nth-child(4) { background: #e23744; border-color: #e23744; }
.cta.c .btn:nth-child(4):hover { background: #c91f2d; border-color: #c91f2d; color: #fff; }

.cta.c .btn:nth-child(5) { background: #fc8019; border-color: #fc8019; }
.cta.c .btn:nth-child(5):hover { background: #e66f0b; border-color: #e66f0b; color: #fff; }


/* =========================================================
   21. FOOTER
========================================================= */

footer {
    color: #cbb08c;
    background: var(--maroon-dark);
    border-top: 3px solid var(--gold);

    font-size: 0.85rem;
}

footer .wrap {
    display: flex;
    justify-content: space-between;
    gap: 20px;

    padding: 22px 24px;
}


/* =========================================================
   22. SCROLL REVEAL
========================================================= */

.reveal {
    opacity: 0;

    transform: translateY(30px);

    transition:
        opacity 0.9s ease,
        transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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


/* =========================================================
   23. ANIMATIONS
========================================================= */

@keyframes float {
    50% {
        transform: translateY(-14px);
    }
}

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

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
}

@keyframes pop {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

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

@keyframes shimmer {
    to {
        background-position: 200% center;
    }
}

@keyframes fabPulse {
    0%   { box-shadow: 0 12px 28px #20b95166, 0 0 0 0 #20b95166; }
    70%  { box-shadow: 0 12px 28px #20b95166, 0 0 0 16px #20b95100; }
    100% { box-shadow: 0 12px 28px #20b95166, 0 0 0 0 #20b95100; }
}


/* =========================================================
   24. CAKE CUTOUTS
========================================================= */

#cakeGrid .im {
    aspect-ratio: 4/5;
    padding: 0;
    background: #3a0f0a;
}

#cakeGrid .im img {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
    object-position: center 45%;
    filter: none;
}

#cakeGrid .card:hover .im img {
    transform: scale(1.08);
}


/* =========================================================
   25. CUSTOMIZE CAKE FORM
========================================================= */

#customize {
    background: linear-gradient(180deg, var(--bg), #f6ead5);
}

.cform {
    max-width: 820px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 36px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 24px 50px #4a15100f;
}

.cform label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: .82rem;
    font-weight: 600;
    color: var(--maroon);
}

.cform .full {
    grid-column: 1/-1;
}

.cform input,
.cform select,
.cform textarea {
    width: 100%;
    padding: 12px 14px;
    font: 400 .95rem Inter, sans-serif;
    color: var(--text);
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 8px;
    outline: 0;
    transition: var(--transition);
}

.cform input:focus,
.cform select:focus,
.cform textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px #c8871a26;
    background: #fff;
}

.cform textarea {
    resize: vertical;
}

.cform .check {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    cursor: pointer;
}

.cform .check input {
    width: 18px;
    height: 18px;
    accent-color: var(--maroon);
}

.cform .btn {
    padding: 15px;
    font-size: 1rem;
}


/* =========================================================
   26. BUSINESS DETAILS / FACT SHEET
========================================================= */

#details {
    background: linear-gradient(180deg, #f6ead5, var(--bg));
}

.fs-highlights {
    max-width: 820px;
    margin: 0 auto 28px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.fs-highlights div {
    padding: 22px 16px;
    text-align: center;
    background: #fff;
    border: 1px solid var(--line);
    border-top: 3px solid var(--gold);
    border-radius: var(--radius);
    transition: transform .35s ease, box-shadow .35s ease;
}

.fs-highlights div:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 34px #4a15101a;
}

.fs-highlights b {
    display: block;
    font-family: "Playfair Display", serif;
    font-size: 1.7rem;
    color: var(--maroon);
    line-height: 1.2;
}

.fs-highlights span {
    font-size: .82rem;
    color: var(--muted);
}

.factsheet {
    max-width: 820px;
    margin: 0 auto;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: 0 24px 50px #4a15100f;
}

.fs-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 22px 30px;
    background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
}

.fs-top small {
    display: block;
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #e8c47d;
}

.fs-top h3 {
    font-size: 1.45rem;
    color: #fff;
}

.fs-verified {
    padding: 7px 16px;
    font-size: .78rem;
    font-weight: 600;
    color: var(--maroon);
    background: var(--cream);
    border: 1px solid #e8c47d;
    border-radius: 30px;
}

.fs-list {
    display: block;
}

.fs-row {
    display: grid;
    grid-template-columns: 38% 1fr;
    gap: 16px;
    align-items: center;
    padding: 17px 30px;
    border-bottom: 1px solid var(--line);
    border-left: 3px solid transparent;
    transition: background .3s ease, border-color .3s ease;
}

.fs-row:last-child {
    border-bottom: 0;
}

.fs-row:hover {
    background: #fdf8ef;
    border-left-color: var(--gold);
}

.fs-row dt {
    font-size: .9rem;
    font-weight: 500;
    color: var(--muted);
}

.fs-row dd {
    font-size: .98rem;
    font-weight: 600;
    color: var(--maroon);
}

.fs-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.fs-chips span {
    padding: 5px 14px;
    font-size: .8rem;
    font-weight: 500;
    color: var(--maroon);
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 30px;
}

.fs-gst {
    display: inline-block;
    padding: 5px 14px;
    font-family: ui-monospace, Consolas, monospace;
    font-size: .92rem;
    letter-spacing: .08em;
    color: var(--maroon);
    background: var(--cream);
    border: 1px dashed var(--gold);
    border-radius: 8px;
}


/* =========================================================
   27. IMAGE PREVIEW (click to zoom)
========================================================= */

.image-preview {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 24px;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity .28s ease, visibility .28s ease;
}

.image-preview.show {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.image-preview-backdrop {
    position: absolute;
    inset: 0;
    background: #170806b8;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.image-preview-card {
    position: relative;
    width: min(88vw, 720px);
    max-height: 90vh;
    padding: 18px;
    border: 1px solid #ffffff26;
    border-radius: 24px;
    background: linear-gradient(145deg, #fffaf2, #f3dfbd);
    box-shadow: 0 35px 90px #00000055;
    transform: translateY(24px) scale(.92);
    transition: transform .42s cubic-bezier(.2,.8,.2,1);
    overflow: hidden;
}

.image-preview.show .image-preview-card {
    transform: translateY(0) scale(1);
}

.image-preview-image-wrap {
    display: grid;
    place-items: center;
    min-height: 280px;
    max-height: 76vh;
    border-radius: 16px;
    background: radial-gradient(circle, #fff8ec, #ead5b0);
    overflow: hidden;
}

.image-preview-image {
    width: 100%;
    height: min(68vh, 620px);
    object-fit: contain;
    transform: scale(.96);
    transition: transform .55s cubic-bezier(.2,.8,.2,1);
}

.image-preview.show .image-preview-image {
    transform: scale(1);
}

.image-preview-name {
    padding: 14px 8px 8px;
    color: var(--maroon);
    font-family: "Playfair Display", serif;
    font-size: 1.15rem;
    font-weight: 600;
    text-align: center;
}

.image-preview-close {
    position: absolute;
    top: 28px;
    right: 28px;
    z-index: 2;
    width: 38px;
    height: 38px;
    border: 1px solid #ffffff88;
    border-radius: 50%;
    color: #fff;
    background: #2f0d09cc;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    transition: transform .25s ease, background .25s ease;
}

.image-preview-close:hover {
    transform: rotate(90deg) scale(1.05);
    background: var(--maroon);
}


/* =========================================================
   28. FEATURED PRODUCT CAROUSEL
========================================================= */

.product-showcase {
    position: relative;
    margin: 0 0 42px;
    padding: 26px;
    border: 1px solid #eadfce;
    border-radius: 24px;
    background:
        radial-gradient(circle at 92% 8%, #fff7df 0, transparent 28%),
        linear-gradient(145deg, #fffdf9, #f5e6ce);
    box-shadow: 0 24px 60px #4a15100d;
    overflow: hidden;
}

.showcase-top {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.showcase-kicker {
    display: block;
    margin-bottom: 4px;
    color: var(--gold);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.showcase-top h3 {
    color: var(--maroon);
    font-family: "Playfair Display", serif;
    font-size: clamp(1.35rem, 2.5vw, 1.8rem);
}

.carousel-controls {
    display: flex;
    gap: 8px;
}

.carousel-arrow {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid #d9c6a9;
    border-radius: 50%;
    color: var(--maroon);
    background: #fffaf2;
    font-size: 1.05rem;
    cursor: pointer;
    transition: transform .25s ease, background .25s ease, color .25s ease;
}

.carousel-arrow:hover {
    color: #fff;
    background: var(--maroon);
    border-color: var(--maroon);
    transform: translateY(-2px);
}

.product-carousel {
    position: relative;
    z-index: 1;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(270px, 31%);
    gap: 18px;
    overflow-x: auto;
    padding: 4px 2px 14px;
    scroll-snap-type: none;
    scroll-behavior: auto;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
    touch-action: pan-x;
}

.product-carousel::-webkit-scrollbar {
    display: none;
}

.showcase-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #eadfce;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 30px #4a15100b;
    transition: transform .35s ease, box-shadow .35s ease;
}

.showcase-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px #4a15101a;
}

.showcase-image {
    aspect-ratio: 1.25 / 1;
    padding: 20px;
    background:
        radial-gradient(circle at 50% 45%, #fffdf7, transparent 55%),
        linear-gradient(145deg, #f9eedb, #ead3ad);
}

.showcase-image img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 14px 16px #4a15102b);
    transition: transform .55s cubic-bezier(.2,.8,.2,1);
}

.showcase-card:hover .showcase-image img {
    transform: scale(1.08) rotate(-1deg);
}

.showcase-shine {
    position: absolute;
    inset: -40% auto -40% -80%;
    width: 45%;
    transform: rotate(18deg);
    background: linear-gradient(90deg, transparent, #ffffff88, transparent);
    transition: left .8s ease;
    pointer-events: none;
}

.showcase-card:hover .showcase-shine {
    left: 140%;
}

.showcase-info {
    padding: 16px 18px 18px;
}

.showcase-info h4 {
    margin: 3px 0 5px;
    color: var(--maroon);
    font-family: "Playfair Display", serif;
    font-size: 1.12rem;
}

.showcase-info p {
    min-height: 44px;
    margin-bottom: 12px;
    color: var(--muted);
    font-size: .82rem;
    line-height: 1.45;
}

.showcase-info a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--maroon);
    font-size: .8rem;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid var(--gold);
}

.showcase-info a span {
    transition: transform .2s ease;
}

.showcase-info a:hover span {
    transform: translate(2px, -2px);
}

.carousel-footer {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 4px;
    color: var(--muted);
    font-size: .72rem;
}

.carousel-dots {
    display: flex;
    gap: 5px;
}

.carousel-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #d8c4a5;
    transition: width .25s ease, background .25s ease;
}

.carousel-dots span.on {
    width: 18px;
    border-radius: 999px;
    background: var(--gold);
}


/* =========================================================
   29. FLOATING UI (progress bar, WhatsApp, back to top)
========================================================= */

.progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    z-index: 200;
    background: linear-gradient(90deg, var(--gold), #e8b04a);
    transform: scaleX(0);
    transform-origin: left;
    pointer-events: none;
}

.fab-wa {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 150;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 20px 13px 16px;
    color: #fff;
    font-size: .9rem;
    font-weight: 600;
    text-decoration: none;
    background: #20b951;
    border-radius: 40px;
    box-shadow: 0 12px 28px #20b95166;
    transition: transform .3s ease;
    animation: fabPulse 2.8s ease-out infinite;
}

.fab-wa:hover {
    transform: translateY(-3px);
}

.to-top {
    position: fixed;
    right: 22px;
    bottom: 84px;
    z-index: 150;
    width: 44px;
    height: 44px;
    font-size: 1.15rem;
    color: var(--maroon);
    background: #fffaf2;
    border: 1px solid #d9c6a9;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity .3s, transform .3s, visibility .3s, background .3s, color .3s;
}

.to-top.show {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.to-top:hover {
    color: #fff;
    background: var(--maroon);
}


/* =========================================================
   30. MOBILE MENU BASE
========================================================= */

.burger {
    display: none;
}

section {
    scroll-margin-top: 72px;
}

a,
button {
    -webkit-tap-highlight-color: transparent;
}


/* =========================================================
   31. TABLET (max 820px)
========================================================= */

@media (max-width: 820px) {

    .hero-grid,
    .about {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    section {
        padding: 70px 0;
    }

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

    .product-showcase {
        padding: 20px;
    }

    .product-carousel {
        grid-auto-columns: minmax(260px, 44%);
    }

    /* Always-visible solid header */
    #nav {
        background: #fbf6eef7;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-bottom: 1px solid var(--line);
    }

    .bar { height: 64px; }
    .brand { font-size: 1.15rem; }
    .brand img { width: 44px; height: 44px; }

    /* Hamburger */
    .burger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 44px;
        height: 44px;
        padding: 0 11px;
        background: none;
        border: 0;
        cursor: pointer;
    }

    .burger span {
        display: block;
        height: 2px;
        width: 100%;
        background: var(--maroon);
        border-radius: 2px;
        transition: transform .3s, opacity .3s;
    }

    #nav.menu-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    #nav.menu-open .burger span:nth-child(2) { opacity: 0; }
    #nav.menu-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    /* Slide-down menu */
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 6px 24px 22px;
        background: #fbf6ee;
        border-bottom: 1px solid var(--line);
        box-shadow: 0 18px 30px #4a15101a;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: opacity .3s, transform .3s, visibility .3s;
    }

    nav.open {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    nav a:not(.btn) {
        display: block;
        padding: 15px 2px;
        font-size: 1rem;
        border-bottom: 1px solid var(--line);
    }

    nav a:not(.btn)::after { display: none; }
    nav .btn.sm { margin-top: 16px; padding: 14px; text-align: center; }

    /* Layout */
    .hero { padding: 96px 0 56px; }
    .hero-text { text-align: center; }
    .lead { margin-left: auto; margin-right: auto; }
    .hero .cta { justify-content: center; }
    .hero-art { height: 320px; max-width: 420px; margin: 0 auto; width: 100%; }

    .strip .wrap {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px 14px;
        text-align: center;
        padding: 14px 18px;
        font-size: 0.78rem;
    }

    .head { margin-bottom: 28px; }
    .about { gap: 28px; }
    .about .reveal { text-align: center; }
    .about h2 { margin-left: auto; margin-right: auto; }
    .sub.l { margin-left: auto; margin-right: auto; }

    .stats {
        grid-template-columns: repeat(3, 1fr);
        border-left: 0;
        border-top: 2px solid var(--gold);
    }

    .stats div {
        padding: 16px 8px;
        text-align: center;
        border-bottom: 0;
        border-right: 1px solid var(--line);
    }

    .stats div:last-child { border-right: 0; }
    .stats b { font-size: 1.35rem; }
    .stats span { font-size: .78rem; display: block; line-height: 1.3; }
}


/* =========================================================
   32. MOBILE (max 560px)
========================================================= */

@media (max-width: 560px) {

    .wrap { padding: 0 18px; }

    section { padding: 56px 0; }
    h1 { font-size: 2.2rem; }
    .hero .cta .btn { flex: 1 1 100%; text-align: center; }
    .hero-art { height: 290px; }

    /* Two-column product & cake grids */
    .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
    .card { border-radius: 12px; }
    .card:hover { transform: none; }
    .im { aspect-ratio: 4 / 3; padding: 12px 14px; }
    #cakeGrid .im { padding: 0; }
    .info { padding: 12px 12px 16px; }
    .badge { font-size: .6rem; letter-spacing: .1em; }
    .info h3 { font-size: .98rem; line-height: 1.25; }
    .info p { font-size: .78rem; line-height: 1.45; margin-bottom: 10px; }
    .info a { font-size: .74rem; }
    .order-links { gap: 5px; }

    .tabs { gap: 6px; }
    .tabs button { padding: 8px 16px; font-size: 0.8rem; }

    /* Contact buttons */
    .cta.c { gap: 10px; }
    .cta.c .btn { flex: 1 1 calc(50% - 10px); text-align: center; padding: 13px 10px; }
    .mfg { display: block; text-align: left; }

    /* Form: 16px inputs stop iOS zoom */
    .cform { padding: 22px 16px; gap: 16px; }
    .cform input, .cform select, .cform textarea { font-size: 16px; }

    footer .wrap { flex-direction: column; text-align: center; padding: 20px 18px; }

    /* Carousel */
    .product-showcase { margin-bottom: 30px; padding: 16px; border-radius: 20px; }
    .showcase-top { margin-bottom: 14px; }
    .showcase-top h3 { font-size: 1.25rem; }
    .carousel-arrow { width: 38px; height: 38px; }
    .product-carousel { grid-auto-columns: 82%; gap: 12px; }
    .showcase-info { padding: 14px 15px 16px; }
    .showcase-info p { min-height: auto; }

    /* Image preview */
    .image-preview { padding: 16px; }
    .image-preview-card { width: 94vw; padding: 10px; border-radius: 18px; }
    .image-preview-image-wrap { min-height: 240px; }
    .image-preview-image { height: 64vh; }
    .image-preview-close { top: 18px; right: 18px; }

    /* Fact sheet */
    .fs-highlights { gap: 10px; }
    .fs-highlights div { padding: 16px 8px; }
    .fs-highlights b { font-size: 1.15rem; }
    .fs-highlights span { font-size: .7rem; display: block; line-height: 1.3; }
    .fs-top { padding: 18px; }
    .fs-top h3 { font-size: 1.2rem; }
    .fs-row { grid-template-columns: 1fr; gap: 4px; padding: 14px 18px; }
    .fs-row dt { font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; }
    .fs-gst { font-size: .8rem; }

    /* Floating UI */
    .fab-wa { right: 14px; bottom: 14px; padding: 13px 18px 13px 14px; }
    .to-top { right: 18px; bottom: 76px; }
}

@media (max-width: 620px) {
    .cform { grid-template-columns: 1fr; padding: 24px 18px; }
}

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


/* =========================================================
   33. ACCESSIBILITY
========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

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