@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@0,500;0,600;0,700;0,800;1,600;1,700&display=swap');

:root{
    --cream:#f8f1e8;
    --paper:#fffdf8;
    --white:#ffffff;
    --blush:#efb5c4;
    --blush-soft:#fbe6ec;
    --burgundy:#8d0b16;
    --burgundy-dark:#650711;
    --cocoa:#3f2823;
    --ink:#241b18;
    --muted:#786b64;
    --line:#e7dbd0;
    --green:#2d6842;
    --yellow:#a36d10;
    --blue:#2d6088;
    --brand-red:#c1121f;

    --shadow:0 22px 60px rgba(71,40,31,.10);
    --shadow-soft:0 10px 26px rgba(71,40,31,.06);

    --radius-xl:36px;
    --radius-lg:26px;
    --radius-md:18px;
}

*{
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    margin:0;
    font-family:'DM Sans',sans-serif;
    color:var(--ink);
    background:var(--cream);
    line-height:1.55;
    -webkit-font-smoothing:antialiased;
}

body:has(input:focus),
body:has(textarea:focus),
body:has(select:focus){
    scroll-behavior:auto;
}

a{
    color:inherit;
}

button,
input,
select,
textarea{
    font:inherit;
}

button{
    cursor:pointer;
}

/* =========================================================
   GLOBAL IMAGE
   Semua gambar tidak melakukan zoom / scale / animasi
========================================================= */

img{
    max-width:100%;
    transform:none !important;
    transition:none !important;
}


/* =========================================================
   BACKGROUND
========================================================= */

body:before{
    content:"";
    position:fixed;
    inset:0;
    pointer-events:none;
    z-index:-2;

    background:
        radial-gradient(
            circle at 8% 10%,
            rgba(239,181,196,.34),
            transparent 25%
        ),
        radial-gradient(
            circle at 94% 26%,
            rgba(141,11,22,.08),
            transparent 22%
        ),
        radial-gradient(
            circle at 46% 100%,
            rgba(255,255,255,.7),
            transparent 30%
        );
}

.grain{
    position:fixed;
    inset:0;
    pointer-events:none;
    z-index:50;
    opacity:.045;

    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}


/* =========================================================
   CONTAINER
========================================================= */

.container{
    width:min(1240px,calc(100% - 44px));
    margin-inline:auto;
}


/* =========================================================
   SITE HEADER
========================================================= */

.site-header{
    position:sticky;
    top:0;
    z-index:40;

    background:rgba(248,241,232,.86);

    backdrop-filter:blur(18px);

    border-bottom:1px solid rgba(63,40,35,.08);
}

.nav-wrap{
    min-height:84px;

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

    gap:24px;
}


/* =========================================================
   BRAND
========================================================= */

.brand{
    display:inline-flex;

    flex:none;

    text-decoration:none;

    color:var(--burgundy);
}

.brand img{
    display:block;

    width:48px;
    height:48px;

    border-radius:14px;

    object-fit:cover;

    transform:none !important;
    transition:none !important;
}

.brand.compact img{
    width:48px;
    height:48px;
    border-radius:14px;
}

.brand-with-text{
    display:inline-flex;
    flex-direction:row;
    align-items:center;

    gap:12px;
}

.brand-copy{
    display:flex;
    flex-direction:row;
    align-items:center;
    justify-content:center;

    gap:15px;

    line-height:1;

    white-space:nowrap;
}

.brand-copy strong{
    display:inline;

    color:var(--cocoa);

    font-family:'Playfair Display',serif;

    font-size:1.20rem;

    font-weight:800;

    letter-spacing:-.02em;
}

.site-header .brand-copy strong{
    font-size:1.20rem;
    color:var(--cocoa);
}


/* =========================================================
   MAIN NAVIGATION
========================================================= */

.main-nav{
    display:flex;
    align-items:center;
    justify-content:flex-end;

    gap:6px;

    flex-wrap:wrap;
}

.main-nav a{
    display:inline-flex;

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

    min-height:42px;

    padding:10px 15px;

    border-radius:999px;

    text-decoration:none;

    font-weight:700;

    color:var(--cocoa);

    background:transparent;

    border:1px solid transparent;

    transition:
        background .2s ease,
        color .2s ease,
        border-color .2s ease,
        box-shadow .2s ease,
        transform .2s ease;
}

.main-nav a:hover{
    background:var(--paper);

    border-color:var(--line);

    box-shadow:var(--shadow-soft);

    transform:translateY(-1px);
}


/* =========================================================
   ACTIVE NAV ITEM
========================================================= */

.main-nav a.active{
    background:var(--burgundy);

    border-color:var(--burgundy);

    color:#fff;

    box-shadow:
        0 8px 20px rgba(141,11,22,.18);
}

.main-nav a.active:hover{
    background:var(--burgundy-dark);

    border-color:var(--burgundy-dark);

    color:#fff;
}


/* =========================================================
   CART
========================================================= */

.cart-link{
    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:7px;
}

.cart-badge{
    min-width:22px;

    height:22px;

    padding:0 6px;

    display:inline-grid;

    place-items:center;

    border-radius:999px;

    background:var(--burgundy);

    color:#fff;

    font-size:.7rem;

    font-weight:800;
}

.cart-link.active .cart-badge{
    background:#fff;

    color:var(--burgundy);
}


/* =========================================================
   ADMIN NAV
========================================================= */

.main-nav .nav-admin{
    border:1px solid var(--line);

    background:rgba(255,255,255,.35);
}

.main-nav .nav-admin.active{
    background:var(--burgundy);

    border-color:var(--burgundy);

    color:#fff;

    box-shadow:
        0 8px 20px rgba(141,11,22,.18);
}


/* =========================================================
   FLASH
========================================================= */

.flash{
    width:min(1240px,calc(100% - 44px));

    margin:16px auto 0;

    padding:13px 16px;

    border-radius:16px;

    border:1px solid transparent;

    font-weight:700;

    box-shadow:var(--shadow-soft);
}

.flash.success{
    background:#eef8f0;

    color:#245a36;

    border-color:#cfe4d3;
}

.flash.error{
    background:#fff0f0;

    color:#8a171f;

    border-color:#f0caca;
}


/* =========================================================
   EYEBROW
========================================================= */

.eyebrow{
    display:inline-flex;

    align-items:center;

    gap:8px;

    color:var(--burgundy);

    font-size:.72rem;

    font-weight:800;

    letter-spacing:.18em;

    text-transform:uppercase;
}

.eyebrow:before{
    content:"";

    width:22px;
    height:1px;

    background:currentColor;

    display:inline-block;

    opacity:.65;
}


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

.hero{
    display:grid;

    grid-template-columns:
        minmax(0,1.02fr)
        minmax(440px,.98fr);

    gap:60px;

    align-items:center;

    padding:78px 0 54px;

    min-height:690px;
}

.hero-copy{
    position:relative;
    z-index:2;
}

.hero h1,
.page-hero h1,
.success-page h1,
.auth-card h1{
    font-family:'Playfair Display',serif;

    font-weight:700;

    letter-spacing:-.055em;

    color:var(--cocoa);

    line-height:.95;

    margin:18px 0;
}

.hero h1{
    font-size:clamp(3.8rem,7vw,6.8rem);
}

.hero h1 em{
    font-style:italic;
    color:var(--burgundy);
}

.hero-copy>p{
    font-size:1.1rem;

    line-height:1.75;

    color:var(--muted);

    max-width:600px;

    margin:24px 0 0;
}

.hero-actions{
    display:flex;

    align-items:center;

    flex-wrap:wrap;

    gap:14px;

    margin-top:30px;
}

.hero-actions.center{
    justify-content:center;
}

.hero-note{
    display:flex;

    align-items:center;

    gap:7px;

    margin-top:22px;

    color:var(--muted);

    font-size:.9rem;
}

.hero-note span{
    color:var(--burgundy);
}


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

.hero-art{
    position:relative;

    min-height:570px;
}

.hero-art:before{
    content:"";

    position:absolute;

    width:72%;
    height:72%;

    right:2%;
    top:9%;

    border-radius:
        46% 54% 42% 58% /
        44% 42% 58% 56%;

    background:var(--blush-soft);

    transform:rotate(-7deg);
}

.hero-card{
    position:absolute;

    width:min(370px,70%);

    padding:11px;

    background:#fff;

    border-radius:28px;

    box-shadow:var(--shadow);

    border:1px solid rgba(63,40,35,.09);

    overflow:hidden;
}

.hero-card img{
    display:block;

    width:100%;
    height:405px;

    object-fit:cover;

    border-radius:20px;

    transform:none !important;
    transition:none !important;
}

.hero-card-back{
    right:2%;
    top:88px;

    transform:rotate(8deg);

    opacity:.95;
}

.hero-card-front{
    left:5%;
    top:38px;

    z-index:2;

    transform:rotate(-5deg);
}

.stamp{
    position:absolute;

    right:-3px;
    top:7px;

    z-index:4;

    width:112px;
    height:112px;

    border-radius:50%;

    display:grid;

    place-items:center;

    text-align:center;

    background:var(--blush);

    color:var(--burgundy);

    border:2px dashed var(--burgundy);

    font-family:'Playfair Display',serif;

    font-size:1rem;

    font-weight:800;

    line-height:1.02;

    transform:rotate(8deg);
}


/* =========================================================
   CATEGORY STRIP
========================================================= */

.category-strip{
    display:grid;

    grid-template-columns:
        repeat(3,minmax(0,1fr));

    gap:14px;

    padding:12px 0 56px;
}

.category-pill{
    min-height:88px;

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:16px;

    padding:18px 22px;

    text-decoration:none;

    background:var(--paper);

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

    border-radius:24px;

    color:var(--cocoa);

    box-shadow:var(--shadow-soft);

    transition:.22s ease;
}

.category-pill:hover{
    transform:translateY(-4px);

    border-color:#d8c8bc;

    box-shadow:var(--shadow);
}

.category-pill strong{
    font-family:'Playfair Display',serif;

    font-size:1.24rem;
}

.category-pill span{
    color:var(--burgundy);

    font-weight:900;

    font-size:1.15rem;
}


/* =========================================================
   SECTION
========================================================= */

.section{
    padding:72px 0;
}

.section-head{
    display:flex;

    align-items:end;

    justify-content:space-between;

    gap:24px;

    margin-bottom:28px;
}

.section h2,
.mini-story h2,
.panel h2{
    font-family:'Playfair Display',serif;

    color:var(--cocoa);

    line-height:1.02;

    letter-spacing:-.035em;

    font-size:clamp(2.2rem,4vw,3.6rem);

    margin:10px 0 0;
}


/* =========================================================
   PRODUCT GRID
========================================================= */

.product-grid{
    display:grid;

    grid-template-columns:
        repeat(3,minmax(0,1fr));

    gap:20px;
}

.product-card{
    background:var(--paper);

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

    border-radius:28px;

    padding:12px;

    box-shadow:var(--shadow-soft);

    overflow:hidden;

    transition:
        transform .22s ease,
        box-shadow .22s ease,
        border-color .22s ease;
}

.product-card:hover{
    transform:translateY(-5px);

    box-shadow:var(--shadow);

    border-color:#d9c7ba;
}


/* =========================================================
   PRODUCT IMAGE
   TIDAK ADA ZOOM
========================================================= */

.product-image-wrap{
    position:relative;

    aspect-ratio:1/1;

    border-radius:21px;

    overflow:hidden;

    background:#efe5da;
}

.product-image-wrap img{
    width:100%;
    height:100%;

    display:block;

    object-fit:cover;

    transform:none !important;
    transition:none !important;
}

.product-card:hover .product-image-wrap img{
    transform:none !important;
}


/* =========================================================
   PRODUCT TAG
========================================================= */

.product-tag{
    position:absolute;

    left:12px;
    top:12px;

    padding:7px 10px;

    border-radius:999px;

    background:rgba(255,253,248,.94);

    color:var(--burgundy);

    font-size:.67rem;

    font-weight:800;

    letter-spacing:.08em;

    text-transform:uppercase;

    backdrop-filter:blur(7px);
}


/* =========================================================
   PRODUCT INFO
========================================================= */

.product-info{
    display:flex;

    justify-content:space-between;

    align-items:flex-start;

    gap:16px;

    padding:18px 4px 10px;
}

.product-info h3{
    margin:0;

    color:var(--cocoa);

    font-family:'Playfair Display',serif;

    font-size:1.45rem;

    line-height:1.06;
}

.product-info p{
    margin:6px 0 0;

    color:var(--muted);

    font-size:.86rem;

    line-height:1.5;
}

.price{
    flex:none;

    color:var(--burgundy);

    font-size:.95rem;

    font-weight:900;

    white-space:nowrap;
}

.card-meta{
    display:flex;

    justify-content:space-between;

    gap:10px;

    padding:7px 4px 14px;

    color:var(--muted);

    font-size:.75rem;
}


/* =========================================================
   ADD FORM
========================================================= */


.add-form input,
.qty-input{
    width:70px;

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

    background:#fff;

    border-radius:14px;

    padding:11px 8px;

    text-align:center;

    outline:none;
}

.add-form input:focus,
.qty-input:focus,
input:focus,
select:focus,
textarea:focus{
    border-color:var(--burgundy);

    box-shadow:
        0 0 0 3px rgba(141,11,22,.08);
}


/* =========================================================
   BUTTON
========================================================= */

.btn{
    min-height:48px;

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:12px 20px;

    border:0;

    border-radius:999px;

    font:inherit;

    font-weight:800;

    text-decoration:none;

    transition:.2s ease;
}

.btn:hover{
    transform:translateY(-2px);
}

.btn-primary{
    color:#fff;

    background:var(--burgundy);

    box-shadow:
        0 12px 26px rgba(141,11,22,.18);
}

.btn-primary:hover{
    background:var(--burgundy-dark);
}

.btn-dark{
    color:#fff;

    background:var(--cocoa);
}

.btn-outline{
    color:var(--cocoa);

    background:transparent;

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

.btn-outline:hover{
    background:var(--paper);
}

.whatsapp-btn{
    border-color:#2ca24a;

    color:#1f7a37;
}

.whatsapp-btn:hover{
    background:#eaf7ee;
}

.btn-light{
    color:var(--cocoa);

    background:#f4ece3;
}

.big{
    min-height:54px;

    font-size:1rem;
}

.full{
    width:100%;
}

.text-link{
    color:var(--burgundy);

    text-decoration:none;

    font-weight:800;
}

.text-link:hover{
    text-decoration:underline;

    text-underline-offset:4px;
}


/* =========================================================
   QUOTE
========================================================= */

.quote-band{
    position:relative;

    overflow:hidden;

    background:var(--burgundy);

    color:#fff;
}

.quote-band:before{
    content:"";

    position:absolute;

    inset:0;

    opacity:.18;

    background:
        radial-gradient(
            circle at 80% 20%,
            var(--blush),
            transparent 30%
        ),
        radial-gradient(
            circle at 10% 90%,
            #fff,
            transparent 18%
        );
}

.quote-inner{
    position:relative;

    z-index:1;

    min-height:270px;

    display:flex;

    align-items:center;

    justify-content:center;

    gap:24px;

    text-align:center;
}

.quote-inner span{
    font-family:'Playfair Display',serif;

    font-size:6rem;

    opacity:.4;

    line-height:.35;
}

.quote-inner p{
    max-width:760px;

    margin:0;

    font-family:'Playfair Display',serif;

    font-size:clamp(1.75rem,3.2vw,2.75rem);

    line-height:1.2;
}


/* =========================================================
   MINI STORY
========================================================= */

.mini-story{
    display:grid;

    grid-template-columns:1fr 1fr;

    gap:54px;

    align-items:center;
}

.mini-story-image{
    position:relative;

    background:var(--blush-soft);

    border:1px solid #efc9d4;

    border-radius:34px;

    padding:18px;

    box-shadow:var(--shadow-soft);

    transform:rotate(-1.2deg);
}

.mini-story-image img{
    display:block;

    width:100%;

    aspect-ratio:1.05/1;

    object-fit:cover;

    border-radius:24px;

    transform:none !important;
    transition:none !important;
}

.mini-story-copy p{
    color:var(--muted);

    font-size:1.03rem;

    line-height:1.8;

    max-width:560px;
}


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

.page-hero{
    padding:66px 0 28px;
}

.page-hero h1{
    font-size:clamp(3.3rem,6vw,5.8rem);

    margin-bottom:14px;
}

.page-hero p{
    max-width:650px;

    color:var(--muted);

    font-size:1.05rem;

    line-height:1.7;
}

.menu-section{
    padding-bottom:80px;
}


/* =========================================================
   FILTER
========================================================= */

.filter-row{
    display:flex;

    flex-wrap:wrap;

    gap:9px;

    margin:10px 0 28px;
}

.filter{
    display:inline-flex;

    align-items:center;

    min-height:40px;

    padding:8px 14px;

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

    border-radius:999px;

    text-decoration:none;

    background:rgba(255,253,248,.65);

    color:var(--cocoa);

    font-size:.83rem;

    font-weight:800;

    transition:.18s ease;
}

.filter:hover{
    border-color:#cfbeb1;

    background:var(--paper);
}

.filter.active{
    background:var(--burgundy);

    border-color:var(--burgundy);

    color:#fff;
}


/* =========================================================
   CART / CHECKOUT LAYOUT
========================================================= */

.cart-layout,
.checkout-layout{
    display:grid;

    grid-template-columns:
        minmax(0,1.55fr)
        minmax(300px,.78fr);

    gap:22px;

    padding-bottom:85px;
}

.cart-card,
.summary-card,
.form-card,
.success-card,
.auth-card,
.panel{
    background:rgba(255,253,248,.92);

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

    border-radius:28px;

    box-shadow:var(--shadow-soft);
}

.cart-card{
    padding:8px 25px 25px;
}

.cart-row{
    display:grid;

    grid-template-columns:
        28px
        86px
        minmax(0,1fr)
        116px
        110px
        42px;

    gap:15px;

    align-items:center;

    padding:18px 0;

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

.cart-row:last-of-type{
    border-bottom:0;
}

.cart-thumb{
    width:86px;
    height:86px;

    border-radius:17px;

    overflow:hidden;

    background:#eee1d7;
}

.cart-thumb img{
    display:block;

    width:100%;
    height:100%;

    object-fit:cover;

    transform:none !important;
    transition:none !important;
}

.cart-item-copy{
    min-width:0;

    display:flex;

    flex-direction:column;
}

.cart-item-copy strong{
    font-family:'Playfair Display',serif;

    color:var(--cocoa);

    font-size:1.17rem;

    line-height:1.1;
}

.cart-item-copy span,
.cart-item-copy small{
    color:var(--muted);

    font-size:.82rem;
}

.line-total{
    color:var(--burgundy);

    white-space:nowrap;
}

.icon-btn{
    width:40px;
    height:40px;

    display:grid;

    place-items:center;

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

    border-radius:13px;

    background:#fff;

    color:var(--burgundy);

    text-decoration:none;

    font-weight:900;

    font-size:1.2rem;

    transition:.18s ease;
}

.icon-btn:hover{
    background:var(--blush-soft);

    border-color:#e2b7c5;
}

.cart-check{
    position:relative;

    display:inline-flex;

    flex:none;

    width:24px;
    height:24px;
}

.cart-check input{
    position:absolute;

    inset:0;

    opacity:0;

    margin:0;

    cursor:pointer;
}

.cart-check .check-mark{
    width:24px;
    height:24px;

    border-radius:8px;

    border:1.5px solid var(--line);

    background:#fff;

    display:grid;

    place-items:center;

    transition:.15s ease;
}

.cart-check .check-mark:after{
    content:"";

    width:11px;
    height:8px;

    border-left:2.5px solid #fff;

    border-bottom:2.5px solid #fff;

    transform:rotate(-45deg) translate(1px,-2px);

    opacity:0;

    transition:.15s ease;
}

.cart-check input:checked+.check-mark{
    background:var(--burgundy);

    border-color:var(--burgundy);
}

.cart-check input:checked+.check-mark:after{
    opacity:1;
}


/* =========================================================
   CART QUANTITY STEPPER
========================================================= */

.qty-stepper{
    display:flex;

    align-items:stretch;

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

    border-radius:14px;

    overflow:hidden;

    background:#fff;

    width:112px;

    flex:none;
}

.qty-stepper .qty-btn{
    flex:none;

    width:32px;

    border:0;

    background:transparent;

    color:var(--cocoa);

    font-size:1.05rem;

    font-weight:800;

    display:grid;

    place-items:center;

    transition:.15s ease;
}

.qty-stepper .qty-btn:hover{
    background:var(--paper);
}

.qty-stepper .qty-input{
    flex:1;

    width:auto;

    min-width:0;

    border:0;

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

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

    border-radius:0;

    text-align:center;

    padding:11px 2px;
}

.qty-stepper .qty-input::-webkit-outer-spin-button,
.qty-stepper .qty-input::-webkit-inner-spin-button{
    -webkit-appearance:none;

    margin:0;
}


/* =========================================================
   SUMMARY
========================================================= */

.summary-card{
    padding:25px;

    height:max-content;
}

.summary-card.sticky{
    position:sticky;

    top:108px;
}

.summary-line,
.summary-total,
.summary-product{
    display:flex;

    justify-content:space-between;

    gap:18px;

    padding:14px 0;

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

.summary-product{
    font-size:.88rem;
}

.summary-product span{
    display:flex;

    flex-direction:column;

    gap:3px;
}

.summary-product small{
    color:var(--muted);
}

.summary-total{
    border-bottom:0;

    padding-top:19px;

    font-size:1.13rem;
}

.summary-total strong{
    color:var(--burgundy);

    font-size:1.42rem;
}

.summary-note{
    margin:11px 0 22px;

    color:var(--muted);

    font-size:.8rem;

    line-height:1.6;
}


/* =========================================================
   EMPTY
========================================================= */

.empty-state{
    grid-column:1/-1;

    min-height:340px;

    display:flex;

    flex-direction:column;

    align-items:center;

    justify-content:center;

    text-align:center;

    padding:55px 24px;

    background:rgba(255,253,248,.72);

    border:1px dashed #d9cabd;

    border-radius:28px;
}

.empty-state.wide{
    min-height:470px;
}

.empty-icon,
.success-mark{
    width:74px;
    height:74px;

    display:grid;

    place-items:center;

    border-radius:50%;

    background:var(--blush-soft);

    color:var(--burgundy);

    font-size:2rem;

    margin-bottom:14px;
}

.empty-state h2{
    font-family:'Playfair Display',serif;

    color:var(--cocoa);

    margin:6px 0;
}


/* =========================================================
   CHECKOUT FORM
========================================================= */


.form-card{
    padding:26px;
}


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

label{
    display:flex;

    flex-direction:column;

    gap:7px;

    color:var(--cocoa);

    font-size:.83rem;

    font-weight:800;
}

.optional{
    color:var(--muted);

    font-weight:500;
}

label+label,
label+textarea,
.field-grid+label{
    margin-top:14px;
}

input,
select,
textarea{
    width:100%;

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

    background:#fff;

    border-radius:14px;

    padding:12px 14px;

    color:var(--ink);

    outline:none;
}

textarea{
    resize:vertical;

    min-height:108px;
}

.choice{
    position:relative;
}

.choice input{
    position:absolute;

    opacity:0;

    pointer-events:none;
}

.choice span{
    height:100%;

    display:flex;

    flex-direction:column;

    gap:4px;

    padding:16px;

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

    background:#fff;

    border-radius:17px;

    cursor:pointer;

    transition:.18s ease;
}

.choice span strong{
    color:var(--cocoa);
}

.choice small{
    color:var(--muted);

    font-weight:500;
}

.choice input:checked+span{
    background:var(--blush-soft);

    border-color:var(--burgundy);

    box-shadow:
        0 0 0 3px rgba(141,11,22,.07);
}


/* =========================================================
   QRIS
========================================================= */

.qris-panel{
display:none;
gap:18px;
align-items:flex-start;
padding:18px;
background:var(--paper);
border:1px solid var(--line);
border-radius:20px;
}

.qris-panel img{
    width:132px;

    border-radius:14px;

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

    flex:none;

    transform:none !important;
    transition:none !important;
}

.qris-panel-body{
    min-width:0;

    display:flex;

    flex-direction:column;

    gap:12px;
}

.qris-panel-body>p{
    margin:0;

    color:var(--muted);

    font-size:.85rem;

    line-height:1.6;
}


/* =========================================================
   SUCCESS
========================================================= */

.success-page{
    width:min(860px,calc(100% - 44px));

    padding:76px 0 95px;

    text-align:center;
}

.success-page h1{
    font-size:clamp(3rem,6vw,5.8rem);
}

.success-page .lead{
    max-width:650px;

    margin:0 auto;

    color:var(--muted);

    font-size:1.05rem;
}

.success-mark{
    margin:0 auto 18px;

    background:#e7f4eb;

    color:var(--green);

    font-size:2.1rem;
}

.order-code{
    display:inline-flex;

    align-items:center;

    justify-content:center;

    margin:24px 0 18px;

    padding:13px 18px;

    border-radius:999px;

    background:var(--burgundy);

    color:#fff;

    font-weight:900;

    letter-spacing:.15em;
}

.success-card{
    display:grid;

    grid-template-columns:1fr 1fr;

    text-align:left;

    padding:25px;

    margin:0 auto 14px;
}

.success-card>div{
    display:flex;

    flex-direction:column;

    gap:4px;

    padding:0 16px;
}

.success-card>div+div{
    border-left:1px solid var(--line);
}

.success-card strong{
    font-family:'Playfair Display',serif;

    font-size:1.35rem;

    color:var(--cocoa);
}

.success-card span:not(.eyebrow),
.success-items small{
    color:var(--muted);

    font-size:.85rem;
}

.success-items{
    padding:10px 22px;

    background:rgba(255,253,248,.92);

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

    border-radius:28px;

    text-align:left;

    box-shadow:var(--shadow-soft);
}

.success-items div{
    display:flex;

    justify-content:space-between;

    gap:16px;

    padding:13px 0;

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

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


/* =========================================================
   AUTH
========================================================= */

.auth-page{
    min-height:calc(100vh - 220px);

    display:grid;

    place-items:center;

    padding:60px 0;
}


/* =========================================================
   MINIMAL LOGIN
========================================================= */

.minimal-body{
    position:relative;

    display:flex;

    min-height:100vh;

    width:100%;

    overflow-x:hidden;
}

.minimal-main{
    flex:1;

    display:flex;

    width:100%;

    min-width:0;
}

.minimal-main .auth-page{
    width:100%;

    min-height:100vh;

    display:grid;

    place-items:center;

    padding:40px 0;
}


/* =========================================================
   LOGIN CARD
========================================================= */

.auth-card{
    width:min(500px,100%);

    padding:34px;

    background:rgba(255,253,248,.94);

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

    border-radius:28px;

    box-shadow:var(--shadow);

    position:relative;

    z-index:2;
}

.auth-card h1{
    font-size:clamp(3rem,6vw,4.6rem);
}

.auth-card p{
    color:var(--muted);

    line-height:1.7;

    margin-bottom:20px;
}


/* =========================================================
   LOGIN FORM
========================================================= */

.auth-form{
    display:grid;

    gap:9px;

    margin-top:4px;
}

.auth-form button{
    margin-top:35px;
}

.auth-form label{
    display:flex;

    flex-direction:column;

    gap:7px;

    color:var(--cocoa);

    font-size:.83rem;

    font-weight:800;
}


/* =========================================================
   LOGIN NOTIFICATION
========================================================= */

.minimal-flash{
    position:static;

    display:block;

    width:100%;

    max-width:none;

    margin:0 0 17px;

    padding:10px 13px;

    border-radius:12px;

    font-size:.78rem;

    line-height:1.4;

    box-shadow:none;

    z-index:auto;

    pointer-events:auto;

    animation:minimalFlashIn .22s ease-out;
}

.minimal-flash-success{
    background:#eef8f0;

    color:#245a36;

    border:1px solid #cfe4d3;
}

.minimal-flash-error{
    background:#fff0f0;

    color:#8a171f;

    border:1px solid #efcaca;
}

@keyframes minimalFlashIn{

    from{
        opacity:0;

        transform:translateY(-5px);
    }

    to{
        opacity:1;

        transform:translateY(0);
    }

}


/* =========================================================
   FOOTER
========================================================= */

.site-footer{
    margin-top:20px;

    padding:58px 0 20px;

    background:#f2eae1;

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

.footer-grid{
    display:grid;

    grid-template-columns:
        2fr
        1fr
        1fr;

    gap:36px;
}

.footer-grid p{
    max-width:470px;

    color:var(--muted);

    line-height:1.7;
}

.footer-grid>div:not(:first-child){
    display:flex;

    flex-direction:column;

    gap:7px;
}

.footer-grid strong{
    color:var(--cocoa);

    margin-bottom:4px;
}

.footer-grid span,
.footer-grid a{
    color:var(--muted);

    text-decoration:none;
}

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

.compact{
    margin-bottom:14px;
}

.footer-bottom{
    margin-top:38px;

    padding-top:16px;

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

    color:var(--muted);

    font-size:.78rem;
}


/* =========================================================
   ADMIN
========================================================= */

.admin-body{
    background:#eee6dc;
}

.admin-shell{
    display:grid;

    grid-template-columns:
        270px
        minmax(0,1fr);

    min-height:100vh;
}

.sidebar{
    position:fixed;

    inset:0 auto 0 0;

    width:270px;

    padding:26px 18px;

    background:var(--cocoa);

    color:#fff;

    display:flex;

    flex-direction:column;

    z-index:35;

    border-right:1px solid rgba(255,255,255,.08);
}


/* =========================================================
   ADMIN BRAND
========================================================= */

.admin-brand{
    display:flex;

    flex-direction:column;

    align-items:flex-start;

    gap:7px;

    width:100%;

    padding:4px 10px 28px;

    color:#fff;

    text-decoration:none;
}

.admin-brand-row{
    display:flex;

    align-items:center;

    gap:12px;

    width:100%;
}

.admin-brand img{
    width:60px;
    height:60px;

    border-radius:17px;

    object-fit:cover;

    flex:none;

    transform:none !important;
    transition:none !important;
}

.admin-brand-copy{
    display:flex;

    flex-direction:column;

    gap:2px;

    line-height:1;
}

.admin-brand-copy strong{
    color:#ffffff;

    font-family:'Playfair Display',serif;

    font-size:1rem;

    font-weight:800;

    letter-spacing:-.02em;
}

.admin-workspace{
    display:block;

    margin-left:72px;

    color:rgba(255,255,255,.68);

    font-family:'DM Sans',sans-serif;

    font-size:.72rem;

    line-height:1.2;

    font-weight:500;
}


/* =========================================================
   ADMIN NAV
========================================================= */

.admin-nav{
    display:flex;

    flex-direction:column;

    gap:10px;
}

.side-link{
    width:100%;

    min-height:54px;

    display:flex;

    align-items:center;

    gap:12px;

    padding:10px 12px;

    border:1px solid transparent;

    border-radius:18px;

    background:transparent;

    color:rgba(255,255,255,.78);

    font:inherit;

    font-weight:800;

    text-decoration:none;

    text-align:left;

    transition:
        transform .18s ease,
        background .18s ease,
        border-color .18s ease,
        box-shadow .18s ease,
        color .18s ease;
}

.side-link:hover{
    transform:translateY(-1px);

    color:#fff;

    background:rgba(255,255,255,.08);

    border-color:rgba(255,255,255,.10);
}

.side-link.active{
    color:#fff;

    background:rgba(239,181,196,.18);

    border-color:rgba(239,181,196,.20);

    box-shadow:
        0 10px 24px rgba(0,0,0,.10);
}

.side-link-icon{
    width:34px;

    height:34px;

    flex:none;

    display:grid;

    place-items:center;

    border-radius:11px;

    background:rgba(255,255,255,.08);

    font-size:.92rem;

    line-height:1;
}

.side-link.active .side-link-icon,
.side-link:hover .side-link-icon{
    background:rgba(239,181,196,.18);
}

.side-button{
    appearance:none;

    cursor:pointer;
}

.sidebar-bottom{
    margin-top:auto;

    display:grid;

    gap:10px;
}


/* =========================================================
   ADMIN MAIN
========================================================= */

.admin-main{
    grid-column:2;

    padding:34px 34px 54px;

    min-width:0;
}

.admin-topbar{
    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:20px;

    margin-bottom:26px;
}

.admin-topbar h1{
    font-family:'Playfair Display',serif;

    color:var(--cocoa);

    font-size:clamp(2.3rem,4vw,3.5rem);

    line-height:1;

    margin:8px 0 0;
}

.admin-user{
    display:flex;

    align-items:center;

    gap:10px;

    padding:8px 16px 8px 8px;

    background:#fff;

    border-radius:999px;

    box-shadow:var(--shadow-soft);
}

.avatar{
    width:44px;
    height:44px;

    display:grid;

    place-items:center;

    border-radius:50%;

    background:var(--blush);

    color:var(--burgundy);

    font-weight:900;
}

.admin-user strong,
.admin-user small{
    display:block;
}

.admin-user small{
    color:var(--muted);

    font-size:.74rem;
}


/* =========================================================
   ADMIN COMPONENTS
========================================================= */

.admin-actions{
    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:15px;

    margin-bottom:18px;
}

.stats-grid{
    display:grid;

    grid-template-columns:
        repeat(4,minmax(0,1fr));

    gap:14px;

    margin-bottom:20px;
}

.stat-card{
    min-height:148px;

    padding:19px;

    background:var(--paper);

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

    border-radius:22px;

    box-shadow:var(--shadow-soft);
}

.stat-card.highlight{
    background:var(--blush-soft);

    border-color:#edc6d1;
}

.stat-card.revenue{
    grid-column:span 2;
}

.stat-card span,
.stat-card small{
    display:block;

    color:var(--muted);

    font-size:.76rem;
}

.stat-card strong{
    display:block;

    margin:7px 0 4px;

    color:var(--cocoa);

    font-family:'Playfair Display',serif;

    font-size:2.2rem;

    line-height:1.05;
}

.admin-grid-two{
    display:grid;

    grid-template-columns:
        minmax(0,1.55fr)
        minmax(300px,.85fr);

    gap:20px;

    margin-bottom:20px;
}

.panel{
    padding:23px;

    min-width:0;
}

.panel-head{
    display:flex;

    justify-content:space-between;

    align-items:start;

    gap:14px;

    margin-bottom:16px;
}

.panel h2{
    font-size:2rem;
}

.accent-panel{
    background:var(--blush-soft);

    border-color:#e8bdc9;

    display:flex;

    flex-direction:column;

    align-items:flex-start;

    justify-content:center;
}

.accent-panel p{
    max-width:470px;

    color:#6f5550;

    line-height:1.7;
}

.table-wrap{
    width:100%;

    overflow-x:auto;
}

table{
    width:100%;

    border-collapse:collapse;

    min-width:660px;
}

th,
td{
    text-align:left;

    vertical-align:middle;

    padding:13px 10px;

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

    font-size:.83rem;
}

th{
    color:var(--muted);

    font-size:.69rem;

    letter-spacing:.1em;

    text-transform:uppercase;
}

td small{
    display:block;

    margin-top:3px;

    color:var(--muted);

    font-size:.71rem;
}

.status{
    display:inline-flex;

    align-items:center;

    justify-content:center;

    min-height:28px;

    padding:5px 9px;

    border-radius:999px;

    font-size:.68rem;

    font-weight:900;

    white-space:nowrap;
}

.status-pending{
    background:#fff2d9;

    color:var(--yellow);
}

.status-confirmed{
    background:#e7f2ff;

    color:var(--blue);
}

.status-processing{
    background:#eee8ff;

    color:#624a98;
}

.status-ready,
.status-completed{
    background:#e4f2e8;

    color:#2c663f;
}

.status-cancelled{
    background:#fbe4e4;

    color:#8f222b;
}

.payment-dot{
    display:inline-block;

    width:7px;

    height:7px;

    margin-right:7px;

    border-radius:50%;

    background:#c98c17;
}

.payment-dot.paid{
    background:#2d7d46;
}

.table-empty{
    text-align:center;

    color:var(--muted);

    padding:40px;
}

.admin-filters{
    margin-bottom:18px;
}

.search-box{
    position:relative;

    flex:none;

    width:min(280px,100%);
}

.search-box .search-icon{
    position:absolute;

    left:14px;

    top:50%;

    transform:translateY(-50%);

    color:var(--muted);

    font-size:.95rem;

    pointer-events:none;
}

.search-box input{
    padding-left:36px;

    background:#fff;
}

/* Product search: remove category chips and provide a clickable search icon. */
.admin-product-search{
    width:min(360px,100%);
}

.admin-product-search input{
    width:100%;

    min-height:48px;

    padding:12px 50px 12px 16px;

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

    border-radius:999px;

    background:rgba(255,253,248,.9);

    color:var(--cocoa);

    outline:none;
}

.admin-product-search input:focus{
    border-color:var(--burgundy);

    box-shadow:0 0 0 3px rgba(141,11,22,.08);
}

.admin-product-search .search-submit{
    position:absolute;

    top:50%;
    right:6px;

    display:grid;
    place-items:center;

    width:36px;
    height:36px;

    padding:0;

    transform:translateY(-50%);

    border:0;
    border-radius:50%;

    background:var(--burgundy);

    color:#fff;

    cursor:pointer;

    transition:background .18s ease, transform .18s ease;
}

.admin-product-search .search-submit:hover{
    background:var(--burgundy-dark);
}

.admin-product-search .search-submit:focus-visible{
    outline:2px solid var(--burgundy);
    outline-offset:3px;
}

.admin-product-search .search-submit svg{
    display:block;

    width:17px;
    height:17px;

    fill:none;
    stroke:currentColor;
    stroke-width:2;
    stroke-linecap:round;
    stroke-linejoin:round;
}

.detail-top{
    display:flex;

    justify-content:space-between;

    align-items:flex-end;

    gap:20px;

    margin-bottom:20px;
}

.detail-code{
    font-family:'Playfair Display',serif;

    color:var(--cocoa);

    font-size:clamp(2.5rem,5vw,3.6rem);

    line-height:.96;

    margin:11px 0;
}

.detail-total{
    text-align:right;
}

.detail-total span{
    display:block;

    color:var(--muted);

    font-size:.74rem;
}

.detail-total strong{
    font-family:'Playfair Display',serif;

    color:var(--burgundy);

    font-size:2.05rem;
}

.detail-item{
    display:flex;

    justify-content:space-between;

    gap:15px;

    padding:15px 0;

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

.detail-item div{
    display:flex;

    flex-direction:column;

    gap:3px;
}

.detail-item small{
    color:var(--muted);
}

.totals{
    margin-top:10px;
}

.totals>div{
    display:flex;

    justify-content:space-between;

    padding:9px 0;

    color:var(--muted);
}

.totals .grand{
    margin-top:6px;

    padding-top:13px;

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

    color:var(--cocoa);

    font-weight:900;

    font-size:1.06rem;
}

.customer-block{
    display:flex;

    flex-direction:column;

    gap:5px;

    margin:12px 0 20px;
}

.customer-block strong{
    font-family:'Playfair Display',serif;

    color:var(--cocoa);

    font-size:1.52rem;
}

.customer-block span,
.customer-block p{
    color:var(--muted);

    font-size:.84rem;
}

.payment-proof-block{
    display:flex;

    align-items:center;

    gap:14px;

    margin:12px 0 20px;
}

.proof-thumb{
    display:flex;

    align-items:center;

    gap:10px;

    text-decoration:none;

    color:var(--burgundy);

    font-weight:800;

    font-size:.82rem;
}

.proof-thumb img{
    width:52px;
    height:52px;

    object-fit:cover;

    border-radius:12px;

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

    transform:none !important;
    transition:none !important;
}

.admin-form{
    display:grid;

    gap:14px;

    margin-top:17px;
}

.admin-form small{
    color:var(--muted);
}

.notes-panel{
    margin-top:20px;
}

.admin-product-grid{
    display:grid;

    grid-template-columns:
        repeat(3,minmax(0,1fr));

    gap:16px;
}

.admin-product-card{
    overflow:hidden;

    background:var(--paper);

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

    border-radius:24px;

    box-shadow:var(--shadow-soft);
}

.admin-product-img{
    position:relative;

    height:230px;

    background:#eadfd4;
}

.admin-product-img img{
    width:100%;
    height:100%;

    display:block;

    object-fit:cover;

    transform:none !important;
    transition:none !important;
}

.admin-product-img .status{
    position:absolute;

    top:12px;

    right:12px;
}

.admin-product-body{
    padding:17px;
}

.admin-product-body h3{
    margin:6px 0 0;

    color:var(--cocoa);

    font-family:'Playfair Display',serif;

    font-size:1.4rem;

    line-height:1.07;
}

.admin-product-body p{
    margin:3px 0 18px;

    color:var(--muted);
}

.price-row{
    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:10px;

    margin-bottom:15px;
}

.price-row strong{
    color:var(--burgundy);
}

.price-row span{
    color:var(--muted);

    font-size:.76rem;
}

.admin-card-actions{
    display:flex;

    gap:8px;
}

.admin-card-actions form{
    flex:1;
}

.admin-card-actions .btn{
    width:100%;
}

.form-panel{
    max-width:980px;
}

.form-panel-head{
    margin-bottom:22px;
}

.form-panel-head h2{
    font-size:2.3rem;

    margin-top:12px;
}

.form-panel-head p{
    color:var(--muted);
}

.check-row{
    display:flex!important;

    flex-direction:row!important;

    align-items:center;

    gap:10px!important;
}

.check-row input{
    width:18px;

    height:18px;

    margin:0;
}

.form-actions{
    display:flex;

    justify-content:flex-end;

    gap:10px;

    margin-top:10px;
}


/* =========================================================
   MOBILE / TABLET
========================================================= */

@media (max-width:1100px){

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

        gap:14px;

        padding-top:58px;
    }

    .hero-art{
        min-height:560px;

        max-width:680px;

        width:100%;

        margin-inline:auto;
    }

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

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

    .stat-card.revenue{
        grid-column:span 2;
    }

    .admin-grid-two{
        grid-template-columns:1fr;
    }

    .cart-layout,
    .checkout-layout,
    .mini-story{
        grid-template-columns:1fr;
    }

    .summary-card.sticky{
        position:static;
    }

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


@media (max-width:820px){

    .container{
        width:min(100% - 32px,1240px);
    }

    .flash{
        width:min(100% - 32px,1240px);
    }

    .nav-wrap{
        min-height:76px;
    }

    .main-nav{
        gap:2px;
    }

    .main-nav a{
        padding:9px 10px;

        font-size:.83rem;
    }

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

    .section-head,
    .admin-actions,
    .admin-topbar{
        align-items:flex-start;

        flex-direction:column;
    }

    .admin-topbar{
        gap:15px;
    }

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


    /* ADMIN */

    .admin-shell{
        grid-template-columns:
            92px
            minmax(0,1fr);
    }

    .sidebar{
        width:92px;

        padding:19px 11px;
    }

    .admin-brand{
        align-items:center;

        padding:4px 8px 28px;
    }

    .admin-brand-row{
        justify-content:center;
    }

    .admin-brand-copy,
    .admin-workspace{
        display:none;
    }

    .admin-brand img{
        width:42px;

        height:42px;
    }

    .side-link{
        justify-content:center;
    }

    .side-link span:not(.side-link-icon){
        display:none;
    }

    .admin-main{
        padding:24px 20px 45px;
    }
}


@media (max-width:620px){

    .container,
    .success-page{
        width:min(100% - 24px,1240px);
    }

    .flash{
        width:min(100% - 24px,1240px);
    }

    .main-nav .nav-admin{
        display:none;
    }

    .main-nav a{
        padding:8px 9px;

        font-size:.78rem;
    }

    .hero{
        padding:46px 0 32px;

        min-height:auto;
    }

    .hero h1{
        font-size:clamp(3.2rem,16vw,5rem);
    }

    .hero-copy>p{
        font-size:1rem;
    }

    .hero-art{
        min-height:420px;
    }

    .hero-card{
        width:65%;

        padding:8px;

        border-radius:22px;
    }

    .hero-card img{
        height:290px;

        border-radius:16px;

        transform:none !important;
        transition:none !important;
    }

    .hero-card-front{
        left:2%;

        top:55px;
    }

    .hero-card-back{
        right:1%;

        top:105px;
    }

    .stamp{
        width:82px;

        height:82px;

        font-size:.74rem;

        right:0;

        top:26px;
    }

    .section{
        padding:54px 0;
    }

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

    .quote-inner{
        min-height:220px;

        padding:0 10px;
    }

    .quote-inner span{
        font-size:4rem;
    }

    .quote-inner p{
        font-size:1.55rem;
    }

    .page-hero{
        padding:48px 0 22px;
    }

    .cart-row{
        grid-template-columns:
            24px
            70px
            minmax(0,1fr)
            38px;

        gap:8px 10px;
    }

    .cart-check{
        grid-column:1/2;

        grid-row:1;
    }

    .cart-thumb{
        width:70px;

        height:70px;

        grid-column:2/3;

        grid-row:1;
    }

    .cart-item-copy{
        grid-column:3/4;

        grid-row:1;
    }

    .qty-stepper{
        grid-column:2/4;

        grid-row:2;

        justify-self:start;
    }

    .line-total{
        grid-column:2/4;

        grid-row:2;

        justify-self:end;
    }

    .cart-row>.icon-btn{
        grid-column:4/5;

        grid-row:1/3;

        align-self:center;
    }

    .field-grid,
    .choice-grid,
    .choice-grid.three,
    .success-card,
    .footer-grid{
        grid-template-columns:1fr;
    }

    .success-card>div+div{
        border-left:0;

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

        padding-top:16px;

        margin-top:16px;
    }

    .success-items{
        padding-inline:16px;
    }

    .success-items div{
        align-items:flex-start;
    }

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

    .stat-card.revenue{
        grid-column:span 2;
    }


    /* ADMIN */

    .admin-shell{
        grid-template-columns:1fr;
    }

    .sidebar{
        position:static;

        width:100%;

        padding:18px 14px 12px;
    }

    .admin-brand{
        display:flex;

        flex-direction:column;

        align-items:flex-start;

        gap:6px;

        width:100%;

        padding:0 4px 16px;
    }

    .admin-brand-row{
        justify-content:flex-start;

        gap:11px;
    }

    .admin-brand img{
        width:48px;

        height:48px;
    }

    .admin-brand-copy{
        display:flex;
    }

    .admin-brand-copy strong{
        font-size:.86rem;
    }

    .admin-workspace{
        display:block;

        margin-left:59px;

        font-size:.65rem;
    }

    .admin-nav{
        flex-direction:row;

        overflow-x:auto;

        padding-bottom:2px;
    }

    .sidebar-bottom{
        display:none;
    }

    .side-link{
        width:auto;

        min-width:max-content;

        justify-content:flex-start;

        white-space:nowrap;

        padding:10px 13px;
    }

    .side-link span:not(.side-link-icon){
        display:inline;
    }

    .admin-main{
        grid-column:1;

        padding:18px 12px 40px;
    }

    table{
        min-width:710px;
    }

    .detail-top{
        align-items:flex-start;

        flex-direction:column;

        gap:10px;
    }

    .detail-total{
        text-align:left;
    }

    .form-actions{
        flex-direction:column-reverse;
    }

    .form-actions .btn{
        width:100%;
    }

    .qris-panel{
        flex-direction:column;
    }

    .qris-panel img{
        width:100%;

        max-width:220px;

        transform:none !important;
        transition:none !important;
    }

    .search-box{
        width:100%;
    }
}


@media (max-width:430px){

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

    .stat-card.revenue{
        grid-column:auto;
    }

    .hero-art{
        min-height:360px;
    }

    .hero-card img{
        height:250px;

        transform:none !important;
        transition:none !important;
    }

    .add-form{
        flex-wrap:wrap;
    }

    .add-form input{
        width:76px;
    }

    .add-form .btn{
        min-width:0;
    }

    .cart-card{
        padding-inline:15px;
    }
}


/* =========================================================
   FOOTER BRAND + DESCRIPTION
========================================================= */

.footer-brand-block{
    display:flex;

    flex-direction:column;

    align-items:flex-start;
}

.footer-brand-block .brand-with-text{
    align-items:center;

    gap:12px;
}

.footer-brand-block .brand-copy strong{
    font-size:.95rem;
}

.footer-brand-block p{
    margin:12px 0 0;

    max-width:470px;

    color:var(--muted);

    line-height:1.7;
}


/* =========================================================
   DASHBOARD
========================================================= */


.dashboard-recent-orders{
    width:100%;

    margin-bottom:20px;
}

.dashboard-orders-table{
    width:100%;

    min-width:0;
}

.dashboard-orders-table th:nth-child(1),
.dashboard-orders-table td:nth-child(1){
    width:24%;
}

.dashboard-orders-table th:nth-child(2),
.dashboard-orders-table td:nth-child(2){
    width:26%;
}

.dashboard-orders-table th:nth-child(3),
.dashboard-orders-table td:nth-child(3){
    width:18%;
}

.dashboard-orders-table th:nth-child(4),
.dashboard-orders-table td:nth-child(4){
    width:18%;
}

.dashboard-orders-table th:nth-child(5),
.dashboard-orders-table td:nth-child(5){
    width:14%;

    text-align:right;
}


/* =========================================================
   DASHBOARD RESPONSIVE
========================================================= */

@media (max-width:820px){

    .dashboard-stats{
        grid-template-columns:
            1fr 1fr;

        gap:14px;
    }

    .dashboard-recent-orders{
        width:100%;
    }

}

@media (max-width:620px){

    .dashboard-stats{
        grid-template-columns:1fr;
    }

    .dashboard-orders-table{
        min-width:680px;
    }
}


/* =========================================================
   BACK TO STORE
========================================================= */

.back-to-store{
    position:fixed;

    top:22px;
    left:22px;

    z-index:90;

    display:inline-flex;

    align-items:center;

    gap:10px;

    min-height:48px;

    padding:7px 16px 7px 7px;

    background:var(--burgundy);

    border:1px solid var(--burgundy);

    border-radius:16px;

    color:#fff;

    text-decoration:none;

    font-size:.78rem;

    font-weight:800;

    box-shadow:
        0 10px 24px rgba(141,11,22,.20),
        0 3px 8px rgba(71,40,31,.08);

    backdrop-filter:blur(10px);

    transition:
        transform .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}

.back-to-store:hover{
    transform:translateY(-2px);

    background:var(--burgundy-dark);

    border-color:var(--burgundy-dark);

    color:#fff;

    box-shadow:
        0 14px 30px rgba(141,11,22,.24);
}


/* =========================================================
   BACK TO STORE ICON
========================================================= */

.back-to-store-icon{
    width:34px;
    height:34px;

    display:grid;

    place-items:center;

    flex:none;

    border-radius:11px;

    background:rgba(255,255,255,.14);

    color:#fff;

    border:1px solid rgba(255,255,255,.18);

    transition:
        background .2s ease,
        transform .2s ease;
}

.back-to-store-icon svg{
    width:16px;

    height:16px;

    display:block;
}

.back-to-store:hover .back-to-store-icon{
    background:rgba(255,255,255,.22);

    transform:translateX(-2px);
}


/* =========================================================
   BACK TO STORE TEXT
========================================================= */

.back-to-store-text{
    color:#fff;

    line-height:1;

    white-space:nowrap;
}


/* =========================================================
   BACK TO STORE MOBILE
========================================================= */

@media (max-width:620px){

    .back-to-store{
        top:14px;

        left:14px;

        min-height:44px;

        padding:6px 12px 6px 6px;

        gap:8px;

        border-radius:14px;

        font-size:.72rem;
    }

    .back-to-store-icon{
        width:31px;

        height:31px;

        border-radius:10px;
    }

    .back-to-store-icon svg{
        width:15px;

        height:15px;
    }

}


/* =========================================================
   SIGNATURE BATCHES
========================================================= */

.signature-section{
    padding-top:40px;

    padding-bottom:80px;
}

.signature-grid{
    display:grid;

    grid-template-columns:
        repeat(3,minmax(0,1fr));

    gap:20px;
}

.signature-card{
    display:block;

    background:var(--paper);

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

    border-radius:28px;

    padding:12px;

    box-shadow:var(--shadow-soft);

    overflow:hidden;

    cursor:default;

    user-select:none;

    transition:
        transform .22s ease,
        box-shadow .22s ease,
        border-color .22s ease;
}

.signature-card:hover{
    transform:translateY(-3px);

    box-shadow:var(--shadow);

    border-color:#d9c7ba;
}


/* =========================================================
   SIGNATURE IMAGE
   TIDAK ADA ZOOM
========================================================= */

.signature-card-image{
    position:relative;

    width:100%;

    aspect-ratio:1 / 1;

    overflow:hidden;

    border-radius:21px;

    background:#efe5da;
}

.signature-card-image img{
    width:100%;
    height:100%;

    display:block;

    object-fit:cover;

    transform:none !important;
    transition:none !important;
}

.signature-card:hover
.signature-card-image img{
    transform:none !important;
}


/* =========================================================
   SIGNATURE CATEGORY LABEL
========================================================= */

.signature-card-title{
    position:absolute;

    left:50%;

    bottom:18px;

    transform:translateX(-50%);

    display:flex;

    flex-direction:column;

    align-items:center;

    justify-content:center;

    min-width:145px;

    padding:10px 18px;

    background:rgba(255,253,248,.94);

    border:1px solid rgba(255,255,255,.75);

    border-radius:999px;

    backdrop-filter:blur(10px);

    text-align:center;

    box-shadow:
        0 8px 20px rgba(71,40,31,.10);
}

.signature-card-title strong{
    color:var(--burgundy);

    font-size:.72rem;

    font-weight:900;

    letter-spacing:.12em;

    line-height:1.1;
}

.signature-card-title span{
    margin-top:3px;

    color:var(--muted);

    font-size:.7rem;

    line-height:1.1;
}


/* =========================================================
   SIGNATURE RESPONSIVE
========================================================= */

@media (max-width:820px){

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

}

@media (max-width:620px){

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

    .signature-card{
        border-radius:24px;
    }

    .signature-card-image{
        border-radius:19px;
    }

}


/* =========================================================
   PRODUCT VISIBILITY CUSTOM MODAL
========================================================= */

.product-confirm-overlay{
    position:fixed;

    inset:0;

    z-index:9999;

    display:flex;

    align-items:center;

    justify-content:center;

    padding:24px;

    background:rgba(63,40,35,.36);

    backdrop-filter:blur(8px);

    opacity:0;

    visibility:hidden;

    pointer-events:none;

    transition:
        opacity .22s ease,
        visibility .22s ease;
}

.product-confirm-overlay.is-visible{
    opacity:1;

    visibility:visible;

    pointer-events:auto;
}


/* =========================================================
   MODAL CARD
========================================================= */

.product-confirm-modal{
    width:min(
        430px,
        100%
    );

    padding:28px;

    background:var(--paper);

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

    border-radius:26px;

    box-shadow:
        0 30px 80px rgba(63,40,35,.20);

    transform:
        translateY(14px)
        scale(.97);

    transition:
        transform .22s ease;
}

.product-confirm-overlay.is-visible
.product-confirm-modal{
    transform:
        translateY(0)
        scale(1);
}


/* =========================================================
   MODAL ICON
========================================================= */

.product-confirm-icon{
    width:52px;

    height:52px;

    display:grid;

    place-items:center;

    margin-bottom:18px;

    border-radius:16px;

    background:var(--blush-soft);

    border:1px solid #efcad5;

    color:var(--burgundy);

    font-size:1.25rem;

    font-weight:900;
}

.product-confirm-icon span{
    width:28px;

    height:28px;

    display:grid;

    place-items:center;

    border-radius:50%;

    background:var(--burgundy);

    color:#fff;
}


/* =========================================================
   MODAL CONTENT
========================================================= */

.product-confirm-content .eyebrow{
    margin-bottom:6px;
}

.product-confirm-content h2{
    margin:8px 0 9px;

    color:var(--cocoa);

    font-family:'Playfair Display',serif;

    font-size:2rem;

    line-height:1.05;

    letter-spacing:-.035em;
}

.product-confirm-content p{
    margin:0;

    color:var(--muted);

    font-size:.9rem;

    line-height:1.65;
}


/* =========================================================
   MODAL BUTTONS
========================================================= */

.product-confirm-actions{
    display:flex;

    justify-content:flex-end;

    gap:10px;

    margin-top:26px;
}

.product-confirm-actions button{
    min-height:46px;

    padding:11px 18px;

    border-radius:999px;

    font:inherit;

    font-size:.82rem;

    font-weight:800;

    cursor:pointer;

    transition:
        transform .18s ease,
        background .18s ease,
        border-color .18s ease,
        box-shadow .18s ease;
}

.product-confirm-actions button:hover{
    transform:translateY(-1px);
}


/* =========================================================
   CANCEL
========================================================= */

.product-confirm-cancel{
    color:var(--cocoa);

    background:transparent;

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

.product-confirm-cancel:hover{
    background:#f4ece3;

    border-color:#d8c8bc;
}


/* =========================================================
   CONFIRM
========================================================= */

.product-confirm-submit{
    color:#fff;

    background:var(--burgundy);

    border:1px solid var(--burgundy);

    box-shadow:
        0 9px 20px rgba(141,11,22,.16);
}

.product-confirm-submit:hover{
    background:var(--burgundy-dark);

    border-color:var(--burgundy-dark);
}

.product-confirm-submit.danger{
    background:var(--burgundy);

    border-color:var(--burgundy);
}


/* =========================================================
   MODAL SCROLL LOCK
========================================================= */

body.modal-open{
    overflow:hidden;
}


/* =========================================================
   MODAL MOBILE
========================================================= */

@media (max-width:620px){

    .product-confirm-overlay{
        padding:16px;
    }

    .product-confirm-modal{
        padding:22px;

        border-radius:22px;
    }

    .product-confirm-content h2{
        font-size:1.7rem;
    }

    .product-confirm-actions{
        flex-direction:column-reverse;
    }

    .product-confirm-actions button{
        width:100%;
    }
}


/* =========================================================
   PICKUP NOTE
========================================================= */

.pickup-note{
    display:flex;

    align-items:flex-start;

    gap:12px;

    margin-top:14px;

    padding:15px 16px;

    background:var(--blush-soft);

    border:1px solid #efcad5;

    border-radius:17px;

    color:var(--cocoa);
}

.pickup-note-icon{
    width:30px;

    height:30px;

    display:grid;

    place-items:center;

    flex:none;

    border-radius:10px;

    background:var(--burgundy);

    color:#fff;

    font-size:.8rem;

    font-weight:900;
}

.pickup-note strong{
    display:block;

    margin-bottom:3px;
}

.pickup-note p{
    margin:0;

    color:var(--muted);

    font-size:.78rem;

    line-height:1.55;
}


/* =========================================================
   SCHEDULE NOTE
========================================================= */

.schedule-note{
    color:var(--muted);

    font-size:.82rem;

    line-height:1.55;
}


/* =========================================================
   RECEIPT IMAGE
========================================================= */

.receipt-section{
text-align:center;
}


.receipt-image-frame{
align-items:flex-start;
}


@media (max-width:620px){

    .receipt-section{
        margin-top:26px;
    }

    .receipt-preview-card{
        padding:12px;

        border-radius:22px;
    }

    .receipt-image-frame{
        padding:9px;

        border-radius:17px;
    }

    .receipt-section-head h2{
        font-size:1.7rem;
    }

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

    .receipt-actions .btn{
        width:100%;

        min-width:0;
    }
}


/* =========================================================
   RECEIPT SUCCESS PAGE
   No navbar / no footer
========================================================= */

.receipt-page-body{
background:var(--bg);
}


.receipt-success-page .lead{
    max-width:650px;

    margin:0 auto;

    color:var(--muted);

    font-size:1rem;

    line-height:1.65;
}

.receipt-success-page .success-mark{
    margin-bottom:18px;
}

.receipt-success-page .order-code{
    margin:24px 0 28px;
}


/* =========================================================
   RECEIPT
========================================================= */

.receipt-section{
    margin:0 auto 28px;
}

.receipt-section-head{
max-width:560px;
}

.receipt-section-head h2{
    margin:8px 0;

    color:var(--cocoa);

    font-family:'Playfair Display',serif;

    font-size:2rem;
}

.receipt-section-head p{
    margin:0;

    color:var(--muted);

    font-size:.86rem;

    line-height:1.6;
}

.receipt-preview-card{
    width:min(680px,100%);

    margin:0 auto;

    padding:18px;

    background:rgba(255,253,248,.96);

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

    border-radius:26px;

    box-shadow:var(--shadow-soft);
}

.receipt-image-frame{
    display:flex;

    justify-content:center;

    padding:14px;

    background:#eee8e0;

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

    border-radius:20px;

    overflow:hidden;
}

.receipt-image{
    display:block;

    width:min(600px,100%);

    height:auto;

    background:#fff;

    border-radius:3px;

    box-shadow:
        0 16px 30px rgba(53,39,30,.14);

    transform:none !important;
    transition:none !important;
}

.receipt-actions{
    display:flex;

    justify-content:center;

    gap:10px;

    flex-wrap:wrap;

    margin-top:16px;
}

.receipt-actions .btn{
    min-width:170px;
}


/* =========================================================
   RECEIPT ERROR
========================================================= */

.receipt-missing{
    width:min(680px,100%);

    margin:0 auto 28px;

    padding:22px;

    background:var(--paper);

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

    border-radius:22px;
}

.receipt-missing strong{
    display:block;

    margin-bottom:6px;

    color:var(--cocoa);
}

.receipt-missing p{
    margin:0;

    color:var(--muted);

    font-size:.86rem;
}


/* =========================================================
   ORDER INFO
========================================================= */

.receipt-success-page .success-card{
    margin-top:20px;

    margin-bottom:14px;
}

.receipt-success-page .success-items{
    margin-top:0;
}


/* =========================================================
   PAGE ACTIONS
========================================================= */

.receipt-page-actions{
display:flex;
justify-content:center;
align-items:center;
gap:10px;
flex-wrap:wrap;
}

.receipt-page-actions .btn{
    min-width:150px;
}


/* =========================================================
   RECEIPT MOBILE
========================================================= */

@media (max-width:620px){

    .receipt-success-page{
        width:min(100% - 24px, 860px);

        padding:42px 0 60px;
    }

    .receipt-success-page h1{
        font-size:clamp(2.5rem, 13vw, 4rem);
    }

    .receipt-preview-card{
        padding:10px;

        border-radius:20px;
    }

    .receipt-image-frame{
        padding:8px;

        border-radius:16px;
    }

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

    .receipt-actions .btn{
        width:100%;

        min-width:0;
    }

    .receipt-page-actions{
        flex-direction:column;
    }

    .receipt-page-actions .btn{
        width:100%;
    }
}


/* =========================================================
   CHECKOUT — BACK TO CART
========================================================= */

.checkout-back-wrap{
    padding-top:28px;

    margin-bottom:8px;
}

.checkout-back{
    display:inline-flex;

    align-items:center;

    gap:9px;

    padding:9px 14px;

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

    border-radius:999px;

    background:rgba(255,253,248,.82);

    color:var(--cocoa);

    font-size:.82rem;

    font-weight:800;

    text-decoration:none;

    transition:
        background .2s ease,
        border-color .2s ease,
        transform .2s ease;
}

.checkout-back:hover{
    background:var(--paper);

    border-color:#d9c7ba;

    transform:translateX(-2px);
}

.checkout-back-icon{
    display:grid;

    place-items:center;

    width:26px;

    height:26px;

    border-radius:50%;

    background:var(--burgundy);

    color:#fff;

    font-size:.9rem;

    line-height:1;
}


/* =========================================================
   MENU QUANTITY STEPPER
========================================================= */

.menu-qty{
    display:inline-flex;

    align-items:center;

    height:48px;

    overflow:hidden;

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

    border-radius:14px;

    background:#fff;
}

.menu-qty-btn{
    width:38px;

    height:46px;

    display:grid;

    place-items:center;

    border:0;

    background:transparent;

    color:var(--cocoa);

    font-size:1.1rem;

    font-weight:800;

    line-height:1;

    transition:
        background .18s ease,
        color .18s ease;
}

.menu-qty-btn:hover:not(:disabled){
    background:var(--blush-soft);

    color:var(--burgundy);
}

.menu-qty-btn:disabled{
    opacity:.4;

    cursor:not-allowed;
}

.menu-qty-input{
    width:38px !important;

    height:46px;

    padding:0 !important;

    border:0 !important;

    border-left:1px solid var(--line) !important;

    border-right:1px solid var(--line) !important;

    border-radius:0 !important;

    background:#fff;

    color:var(--cocoa);

    text-align:center;

    font-weight:800;

    box-shadow:none !important;

    appearance:textfield;
}

.menu-qty-input::-webkit-outer-spin-button,
.menu-qty-input::-webkit-inner-spin-button{
    margin:0;

    appearance:none;
}

.menu-qty-input:focus{
    box-shadow:none !important;
}

.add-form{
    display:flex;

    align-items:center;

    gap:8px;
}

.add-form .menu-qty{
    flex:none;
}

.add-form .btn{
    flex:1;
}

/* =========================================================
   ADMIN REPORTS
   ========================================================= */

.report-filter-panel {
    margin-bottom: 18px;
}


.report-filter-grid label {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.report-filter-grid label > span {
    font-size: .72rem;
    font-weight: 800;
    color: var(--muted);
}

.report-filter-actions {
justify-content: flex-end;
gap: 9px;
margin-top: 16px;
}

.report-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.report-stat {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(255, 253, 248, .84);
    box-shadow: var(--shadow-soft);
}

.report-stat .eyebrow {
    display: block;
    margin-bottom: 8px;
}

.report-stat strong {
    display: block;
    color: var(--cocoa);
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    line-height: 1.15;
}

.report-stat small {
    display: block;
    margin-top: 7px;
    color: var(--muted);
    font-size: .78rem;
}

.report-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
    padding: 20px 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(255, 253, 248, .84);
}

.report-actions h2 {
    margin: 3px 0 0;
}

.report-download-buttons {
    display: flex;
    gap: 9px;
    flex-wrap: wrap;
}

.report-table-wrap {
    width: 100%;
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
}

.report-table {
    width: 100%;
    min-width: 1050px;
    border-collapse: collapse;
}

.report-table th,
.report-table td {
    padding: 12px 13px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--line);
}

.report-table th {
    background: rgba(141, 11, 22, .055);
    color: var(--muted);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
    white-space: nowrap;
}

.report-table td {
    color: var(--ink);
    font-size: .82rem;
}

.report-table tbody tr:last-child td {
    border-bottom: 0;
}

.report-table tbody tr:hover {
    background: rgba(251, 230, 236, .38);
}

.report-table td small {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: .72rem;
}

.report-items {
    min-width: 180px;
}

.report-item-line {
    line-height: 1.45;
}

.report-item-line + .report-item-line {
    margin-top: 3px;
}

.report-table .text-link {
    font-weight: 800;
}

@media (max-width: 1100px) {

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

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

}

@media (max-width: 700px) {

    .report-filter-grid {
        grid-template-columns: 1fr;
    }

    .report-filter-actions {
        justify-content: stretch;
    }

    .report-filter-actions .btn {
        flex: 1;
    }

    .report-summary-grid {
        grid-template-columns: 1fr;
    }

    .report-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .report-download-buttons {
        width: 100%;
    }

    .report-download-buttons .btn {
        flex: 1;
    }

}

/* =========================================================
   ADMIN SIDEBAR — REPORTS MENU
   ========================================================= */

.admin-nav .nav-card {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    box-sizing: border-box;
    text-decoration: none;
}

.admin-nav .nav-card:hover,
.admin-nav .nav-card:focus,
.admin-nav .nav-card:active {
    text-decoration: none;
}

.admin-nav .nav-card-text {
    display: block;
}

.admin-nav .nav-card-icon {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
}

/* =========================================================
   REPORT — SINGLE MAIN CARD
   ========================================================= */

.report-main-card {
    padding: 0;
    overflow: hidden;
}

.report-main-card .report-actions {
    margin: 0;
    padding: 22px 24px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.report-card-divider {
    height: 1px;
    width: 100%;
    background: var(--line);
}

.report-data-header {
    padding: 22px 24px 18px;
}

.report-data-header h2 {
    margin: 4px 0 0;
}

.report-main-card .report-table-wrap {
    margin: 0 24px 24px;
    width: auto;
}

.report-main-card .report-download-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

@media (max-width: 700px) {

    .report-main-card .report-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .report-download-buttons {
        width: 100%;
    }

    .report-download-buttons .btn {
        flex: 1;
    }

    .report-main-card .report-table-wrap {
        margin-left: 14px;
        margin-right: 14px;
    }

    .report-data-header {
        padding-left: 18px;
        padding-right: 18px;
    }

}

/* =========================================================
   ORDER RECEIVED / RECEIPT PAGE
   Rapikan jarak vertikal
========================================================= */

.receipt-page-body {
    min-height: 100vh;
}

.receipt-success-page {
    width: min(900px, calc(100% - 44px));
    margin: 0 auto;
    padding: 48px 0 70px;
    text-align: center;
}

/* Check icon */
.receipt-success-page .success-mark {
    width: 74px;
    height: 74px;
    margin: 0 auto 20px;
    font-size: 2rem;
}

/* Main title */
.receipt-success-page h1 {
    margin: 0 0 42px;
    font-size: clamp(3rem, 6vw, 5.8rem);
    line-height: .95;
    letter-spacing: -.045em;
}

/* Receipt heading area */
.receipt-section {
    margin-top: 0;
}

.receipt-section-head {
    margin: 0 auto 22px;
}

.receipt-section-head .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 10px;
}

.receipt-section-head .eyebrow::before,
.receipt-section-head .eyebrow::after {
    content: "";
    width: 28px;
    height: 2px;
    background: var(--blush);
    border-radius: 999px;
}

.receipt-section-head .lead {
    max-width: 720px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.65;
}

/* Receipt card */
.receipt-preview-card {
    margin-top: 0;
}

/* Receipt image */
.receipt-image-frame {
    margin-top: 0;
}

/* Buttons below receipt */
.receipt-page-actions {
    margin-top: 28px;
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 620px) {

    .receipt-success-page {
        width: min(100% - 24px, 900px);
        padding: 32px 0 50px;
    }

    .receipt-success-page .success-mark {
        width: 64px;
        height: 64px;
        margin-bottom: 16px;
    }

    .receipt-success-page h1 {
        margin-bottom: 30px;
        font-size: clamp(2.8rem, 14vw, 4.5rem);
    }

    .receipt-section-head {
        margin-bottom: 18px;
    }

    .receipt-section-head .lead {
        font-size: .92rem;
        line-height: 1.6;
    }

    .receipt-page-actions {
        margin-top: 22px;
    }
}

/* =========================================================
   CHECKOUT FORM — RAPAPIH & SEJAJAR
========================================================= */

/* Jarak antar bagian */
.checkout-form {
    display: grid;
    gap: 22px;
}

/* Judul section */
.form-subhead {
    margin: 18px 0 12px;
    color: var(--burgundy);
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.2;
}

.form-card > .form-subhead:first-child {
    margin-top: 0;
}

/* Grid 2 kolom selalu sama besar */
.field-grid,
.choice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    width: 100%;
}

/* Setiap item grid tidak boleh berubah ukuran */
.field-grid > *,
.choice-grid > * {
    min-width: 0;
    width: 100%;
}

/* =========================================================
   CUSTOMER DETAILS
========================================================= */

.field-grid label {
    width: 100%;
    min-width: 0;
    margin: 0 !important;
}

.field-grid input,
.field-grid select,
.field-grid textarea {
    width: 100%;
    box-sizing: border-box;
}

/* Samakan tinggi input */
.field-grid input,
.field-grid select {
    height: 62px;
    min-height: 62px;
}

/* =========================================================
   INSTAGRAM / FULL WIDTH FIELD
========================================================= */

.field-grid + label {
    width: 100%;
    margin-top: 0 !important;
}

.field-grid + label input,
.field-grid + label textarea {
    width: 100%;
    box-sizing: border-box;
}

/* =========================================================
   PICKUP / DELIVERY
========================================================= */


.choice-grid .choice {
    width: 100%;
    height: 100%;
    min-width: 0;
}

.choice-grid .choice span {
border-radius: 17px;
}

/* Judul pilihan */


/* Deskripsi pilihan */


/* =========================================================
   PAYMENT
========================================================= */

.choice-grid.payment-grid,
.choice-grid[aria-label="Payment method"] {
    align-items: stretch;
}

.choice-grid.payment-grid .choice span,
.choice-grid[aria-label="Payment method"] .choice span {
    min-height: 104px;
    height: 104px;
}

/* =========================================================
   Qris PANEL
========================================================= */

.qris-panel {
    margin-top: 14px;
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 820px) {

    .field-grid,
    .choice-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }
}

@media (max-width: 620px) {

    .field-grid,
    .choice-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .field-grid input,
    .field-grid select {
        height: 58px;
        min-height: 58px;
    }

    .choice-grid .choice span {
        min-height: 96px;
        height: 96px;
    }
}

/* =========================================================
   CHECKOUT — FULFILMENT & PAYMENT ALIGNMENT FIX
========================================================= */

/* Jangan beri margin tambahan pada setiap choice */
.choice-grid > .choice,
.choice-grid > label.choice {
    margin: 0 !important;
    width: 100%;
    min-width: 0;
}

/* Semua card choice harus mulai dari posisi yang sama */
.choice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

/* Card pilihan harus benar-benar sama besar */
.choice-grid .choice span {
    width: 100%;
    height: 112px;
    min-height: 112px;
    box-sizing: border-box;

    display: flex;
    flex-direction: column;
    justify-content: center;

    margin: 0;
    padding: 18px 22px;
}

/* Supaya isi di dalam setiap card juga konsisten */
.choice-grid .choice span strong {
    margin: 0;
    line-height: 1.25;
}

.choice-grid .choice span small {
    margin: 5px 0 0;
    line-height: 1.4;
}

/* Hilangkan efek rule label + label terhadap choice */
.choice-grid label + label {
    margin-top: 0 !important;
}

/* =========================================================
   FULFILMENT
========================================================= */

.form-subhead + .choice-grid {
    margin-top: 0;
}

/* =========================================================
   PAYMENT
========================================================= */

.choice-grid + .qris-panel {
    margin-top: 14px;
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 620px) {

    .choice-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .choice-grid .choice span {
        height: 100px;
        min-height: 100px;
    }
}

/* =========================================================
   REPORT FILTER — CLEAN / NO CARD
========================================================= */

.report-filter-form {
    width: 100%;
    margin: 0 0 24px;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.report-filter-grid {
    display: grid;
    grid-template-columns:
        minmax(180px, 1fr)
        minmax(180px, 1fr)
        minmax(180px, 1fr)
        auto;
    gap: 14px;
    align-items: end;
    width: 100%;
}

.report-filter-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0;
    width: 100%;
    margin: 0 !important;
}

.report-filter-field span {
    color: var(--cocoa);
    font-size: .78rem;
    font-weight: 800;
}

.report-filter-field input,
.report-filter-field select {
    width: 100%;
    height: 48px;
    min-height: 48px;
    box-sizing: border-box;
    margin: 0;
}

.report-filter-actions {
    display: flex;
    align-items: flex-end;
    margin: 0;
}

.report-filter-actions .btn {
    height: 48px;
    min-height: 48px;
    min-width: 130px;
    margin: 0;
}


/* =========================================================
   REMOVE OLD FILTER CARD STYLING
========================================================= */

.report-filter-panel {
    margin: 0 0 24px !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 820px) {

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

    .report-filter-actions {
        grid-column: 1 / -1;
    }

    .report-filter-actions .btn {
        width: 100%;
    }
}


@media (max-width: 620px) {

    .report-filter-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .report-filter-actions {
        grid-column: auto;
    }

    .report-filter-actions .btn {
        width: 100%;
    }
}

/* =========================================================
   ADMIN DASHBOARD — 4 STAT CARDS
========================================================= */

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
    margin-bottom: 20px;
}

.dashboard-stat-card {
    min-width: 0;
    min-height: 148px;
    padding: 19px;
}

.dashboard-stat-card strong {
    white-space: nowrap;
    font-size: clamp(1.45rem, 2.2vw, 2.2rem);
}

/*
|--------------------------------------------------------------------------
| Override old revenue rule
|--------------------------------------------------------------------------
*/
.dashboard-stat-card.revenue,
.dashboard-stat-card.highlight {
    grid-column: auto;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width:1100px) {

    .dashboard-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width:620px) {

    .dashboard-stats {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .dashboard-stat-card {
        min-height: 132px;
    }

    .dashboard-stat-card strong {
        font-size: 1.8rem;
    }

}

/* =========================================================
   ADMIN PASSWORD FIELD
========================================================= */

.admin-password-field {
    display: flex;
    align-items: stretch;
    gap: 8px;
    width: 100%;
}

.admin-password-input {
    flex: 1;
    min-width: 0;
    box-sizing: border-box;

    padding: 10px 12px;

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

    background: var(--paper);
    color: var(--ink);

    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 0.82rem;
}

.admin-password-input:focus {
    outline: none;
    border-color: var(--burgundy);
}

.admin-password-field .btn {
    flex: 0 0 auto;
    white-space: nowrap;
}


/* =========================================================
   CHANGE PASSWORD MODAL
========================================================= */

.admin-password-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;

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

    padding: 24px;

    background: rgba(36, 27, 24, 0.52);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 0.2s ease,
        visibility 0.2s ease;
}

.admin-password-modal-overlay.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.admin-password-modal {
    position: relative;

    width: min(520px, 100%);

    box-sizing: border-box;

    padding: 34px;

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

    box-shadow:
        0 30px 80px rgba(36, 27, 24, 0.20);

    transform: translateY(10px);

    transition: transform 0.2s ease;
}

.admin-password-modal-overlay.show
.admin-password-modal {
    transform: translateY(0);
}

.admin-password-modal h2 {
    margin: 8px 0 10px;

    color: var(--cocoa);

    font-family:
        'Playfair Display',
        serif;

    font-size: clamp(1.8rem, 4vw, 2.4rem);

    line-height: 1.05;
}

.admin-password-modal-text {
    margin: 0 0 26px;

    color: var(--muted);

    line-height: 1.6;
}

.admin-password-modal-close {
    position: absolute;

    top: 14px;
    right: 16px;

    width: 38px;
    height: 38px;

    border: 0;
    border-radius: 50%;

    background: transparent;
    color: var(--muted);

    font-size: 28px;
    line-height: 1;

    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.admin-password-modal-close:hover {
    background: var(--blush-soft);
    color: var(--burgundy);
}


/* =========================================================
   PASSWORD LABEL
========================================================= */

.admin-password-label {
    display: block;

    margin-bottom: 18px;
}

.admin-password-label > span {
    display: block;

    margin-bottom: 8px;

    color: var(--cocoa);

    font-weight: 700;
}


/* =========================================================
   PASSWORD INPUT
========================================================= */

.admin-password-input-wrap {
    position: relative;

    width: 100%;
}

.admin-password-input-wrap input {
    display: block;

    width: 100%;

    box-sizing: border-box;

    padding: 13px 52px 13px 14px;

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

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

    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
}

.admin-password-input-wrap input:focus {
    outline: none;

    border-color: var(--burgundy);

    box-shadow:
        0 0 0 3px rgba(141, 11, 22, 0.08);
}

.admin-password-eye {
    position: absolute;

    top: 50%;
    right: 7px;

    width: 38px;
    height: 38px;

    transform: translateY(-50%);

    display: grid;
    place-items: center;

    border: 0;
    border-radius: 9px;

    background: transparent;

    cursor: pointer;

    font-size: 17px;
}

.admin-password-eye:hover {
    background: var(--blush-soft);
}

.admin-password-error {
    display: block;

    margin-top: 7px;

    color: #a32626;

    font-size: 0.82rem;
}


/* =========================================================
   MODAL ACTIONS
========================================================= */

.admin-password-modal-actions {
    display: flex;

    justify-content: flex-end;

    gap: 10px;

    margin-top: 28px;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 760px) {

    .admin-password-field {
        flex-direction: column;
    }

    .admin-password-input {
        width: 100%;
    }

    .admin-password-field .btn {
        width: 100%;
    }

    .admin-password-modal {
        padding: 26px 20px;
        border-radius: 18px;
    }

    .admin-password-modal-actions {
        flex-direction: column-reverse;
    }

    .admin-password-modal-actions .btn {
        width: 100%;
    }

}

/* =========================================================
   ADMIN FORMS (admin accounts, products, order status)
========================================================= */

.admin-form {
    width: 100%;
}

.admin-form label {
    display: block;
    width: 100%;
    margin-top: 18px;
}

.admin-form label > span {
    display: block;
    margin-bottom: 8px;
    color: var(--cocoa);
    font-weight: 700;
}

.admin-form label input:not([type="checkbox"]) {
    width: 100%;
    box-sizing: border-box;
    padding: 13px 14px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: #fff;
    color: var(--ink);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
}

.admin-form label input:not([type="checkbox"]):focus {
    outline: none;
    border-color: var(--burgundy);
    box-shadow: 0 0 0 3px rgba(141, 11, 22, 0.08);
}

.admin-form label input[readonly] {
    background: var(--paper);
    cursor: default;
}

/* Dua kolom (Full name + Email) harus sejajar di atas yang sama */
.admin-form .field-grid {
    align-items: start;
}

.admin-form .field-grid > label,
.admin-form .field-grid + label {
    margin-top: 0;
}

/* Checkbox "Allow this account to sign in" */
.admin-form .check-row {
    margin-top: 4px;
}

.admin-form .check-row input[type="checkbox"] {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    padding: 0;
    accent-color: var(--burgundy);
}

.admin-form .check-row span {
    margin-bottom: 0;
}

.field-error {
    display: block;
    margin-top: 7px;
    color: #a32626;
    font-size: 0.82rem;
    font-weight: 600;
}

.field-hint {
    display: block;
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.5;
}


/* =========================================================
   ADMIN TABLE ACTIONS — EDIT & DELETE
========================================================= */

.admin-table-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 210px;
}

.admin-table-actions > a,
.admin-table-actions > form {
    flex: 1 1 0;
    min-width: 0;
}

.admin-table-actions form {
    margin: 0;
}

.admin-table-actions .btn {
    width: 100%;
    min-height: 42px;
    padding: 10px 14px;
    white-space: nowrap;
    font-size: 0.82rem;
}

.admin-table-actions .btn-danger {
    color: #fff;
    background: #a30d1b;
    border: 1px solid #a30d1b;
    box-shadow: none;
    cursor: pointer;
}

.admin-table-actions .btn-danger:hover {
    color: #fff;
    background: #850916;
    border-color: #850916;
}
