:root{--green:#073d28;--gold:#edae32;--cream:#fbf7ef;--ink:#171914}*{box-sizing:border-box}body{margin:0;font-family:Arial,sans-serif;background:var(--cream);color:var(--ink)}.top{background:var(--green);color:white;text-align:center;padding:8px;font-size:13px}header{height:78px;display:flex;align-items:center;justify-content:space-between;padding:0 5%;background:#fff;position:sticky;top:0;z-index:5;box-shadow:0 2px 12px #0001}.brand{font-family:Georgia;font-size:30px;font-weight:bold;color:var(--green);text-decoration:none;line-height:.7}.brand span{display:block;font:10px Arial;letter-spacing:5px;text-align:center;margin-top:7px}nav{display:flex;gap:28px}nav a{color:#111;text-decoration:none;font-weight:600;font-size:14px}.cart,article button{border:0;background:var(--green);color:white;border-radius:7px;padding:11px 16px}.cart b{background:#c33;border-radius:50%;padding:2px 6px}.hero{min-height:510px;background:radial-gradient(circle at 78% 35%,#7a5a2d 0,#3d2916 25%,#1b120b 48%,#0b2f20 100%);overflow:hidden}.shade{padding:90px 5%;color:white;max-width:800px}.eyebrow{letter-spacing:5px;font-size:12px}.hero h1{font:58px Georgia;margin:12px 0 0}.hero h1 em{color:var(--gold);font-style:normal}.hero h2{font:30px Georgia;margin:4px 0 16px}.hero p:not(.eyebrow){font-size:17px;line-height:1.6;max-width:600px}.btn{display:inline-block;padding:15px 25px;margin:14px 8px 0 0;border-radius:7px;text-decoration:none;font-weight:bold}.gold{background:var(--gold);color:#172016}.ghost{border:1px solid white;color:white}.section{padding:45px 4%;text-align:center}.section h2,.menu h1{font:36px Georgia;margin:0 0 6px}.categories{display:grid;grid-template-columns:repeat(6,1fr);gap:18px;margin-top:30px}.categories a{text-decoration:none;color:#111;font-family:Georgia;font-weight:bold}.categories span{display:flex;align-items:center;justify-content:center;margin:auto auto 10px;width:100px;height:100px;border-radius:50%;background:#eee2d0;font-size:42px}.products{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:25px;text-align:left}.products article{background:#fff;border-radius:10px;overflow:hidden;box-shadow:0 2px 14px #0001;padding-bottom:14px}.foodpic{height:210px;background:linear-gradient(135deg,#e8dcc8,#bda57d);background-position:center;background-size:cover;position:relative}.products h3,.products p,.products strong,.products button{margin-left:14px;margin-right:14px}.products p{color:#666;min-height:38px;font-size:13px}.products strong{display:block;font-size:18px;margin-bottom:12px}.products button{width:calc(100% - 28px)}.duo{display:grid;grid-template-columns:1fr 1fr;gap:18px;padding:20px 4% 45px}.duo>div{min-height:220px;border-radius:12px;padding:35px;color:white;background:linear-gradient(135deg,#063d29,#0d6847)}.duo>div:nth-child(2){background:linear-gradient(135deg,#efe6d8,#d8c6a9);color:#111}.benefits{display:grid;grid-template-columns:repeat(4,1fr);padding:30px 5%;background:white;text-align:center}.cta{padding:55px 7%;background:var(--green);color:white}.cta h2{font:32px Georgia;margin:0}.cta .btn{float:right;margin-top:-55px}footer{display:flex;justify-content:space-between;padding:35px 5%;background:#062a1d;color:white}.menu{min-height:70vh}.menu>h2{text-align:left;margin-top:40px}@media(max-width:800px){nav{display:none}.hero{min-height:460px}.hero h1{font-size:42px}.categories{grid-template-columns:repeat(3,1fr)}.products{grid-template-columns:repeat(2,1fr)}.duo{grid-template-columns:1fr}.benefits{grid-template-columns:1fr 1fr;gap:25px}.cta .btn{float:none;margin-top:10px}}@media(max-width:480px){.products{grid-template-columns:1fr}.categories span{width:78px;height:78px}.hero h1{font-size:35px}.hero h2{font-size:24px}}
.page{max-width:1180px;margin:auto;padding:55px 5%;min-height:68vh}.page>h1{font:42px Georgia;margin-top:0}.narrow{max-width:760px}.checkout-grid{display:grid;grid-template-columns:2fr 1fr;gap:30px;align-items:start}.cart-row{display:grid;grid-template-columns:1fr auto auto;gap:20px;align-items:center;background:#fff;padding:20px;margin-bottom:12px;border-radius:10px}.cart-row h3,.cart-row p{margin:3px 0}.cart-row input{width:65px;padding:9px}.cart-row button,.track-form button{padding:10px 14px;border:0;background:var(--green);color:#fff;border-radius:6px}.summary,.checkout-form,.tracking,.empty,.success{background:#fff;padding:28px;border-radius:12px;box-shadow:0 3px 18px #0001}.summary p{display:flex;justify-content:space-between;gap:20px}.block{display:block;text-align:center;width:100%;border:0;margin-top:22px}.checkout-form p{display:grid;gap:7px}.checkout-form input,.checkout-form select,.checkout-form textarea,.track-form input{width:100%;padding:13px;border:1px solid #d6d0c7;border-radius:7px;background:#fff}.muted{color:#777;font-size:12px;line-height:1.5}.success{text-align:center;max-width:700px;margin:auto}.success>span{display:inline-grid;place-items:center;width:70px;height:70px;border-radius:50%;background:var(--green);color:#fff;font-size:36px}.reference{font:28px monospace;background:var(--cream);padding:15px;border-radius:8px;margin:18px auto;max-width:330px}.track-form{display:grid;grid-template-columns:1fr auto;gap:10px;margin:25px 0}.status-pill{display:inline-block;padding:8px 13px;background:#e4f1e9;color:var(--green);border-radius:30px;font-weight:bold}.error{background:#fee;padding:14px;border-radius:7px}.messages{max-width:1100px;margin:12px auto;padding:0 5%}.messages p{background:#fff4cf;padding:12px;border-radius:7px}.cart{text-decoration:none}.products form{margin:0}.products form button{width:calc(100% - 28px)}
@media(max-width:800px){.checkout-grid{grid-template-columns:1fr}.cart-row{grid-template-columns:1fr auto}.cart-row>strong{grid-column:1/-1}.track-form{grid-template-columns:1fr}}
/* V1.3 production polish */
html{scroll-behavior:smooth}body{padding-bottom:0}.mobile-nav{display:none}.hero{position:relative}.hero:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 70%,rgba(7,61,40,.18));pointer-events:none}.hero .shade{position:relative;z-index:1}.section>p{color:#6e716b}.products article{transition:transform .18s ease,box-shadow .18s ease}.products article:hover{transform:translateY(-4px);box-shadow:0 10px 28px #0002}.products h3{font-family:Georgia,serif;font-size:19px}.products button{cursor:pointer;font-weight:700}.account-actions{display:flex;gap:10px;flex-wrap:wrap}.kitchen-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.kitchen-card{background:#fff;border-radius:12px;padding:18px;box-shadow:0 3px 16px #0001;border-top:5px solid var(--gold)}.kitchen-card h3{margin:0}.kitchen-card ul{padding-left:18px}.kitchen-card select,.kitchen-card button{width:100%;padding:11px;margin-top:8px}.order-meta{font-size:13px;color:#666}.status-steps{display:grid;grid-template-columns:repeat(6,1fr);gap:6px;margin:22px 0}.status-steps span{padding:10px 5px;border-radius:7px;background:#ece8df;text-align:center;font-size:11px}.status-steps .done{background:#dcecdf;color:var(--green);font-weight:bold}.demo-note{background:#fff8df;border:1px solid #eedc9a;padding:12px 15px;border-radius:8px;margin:18px 0}.form-help{font-size:12px;color:#666}.hero-badges{display:flex;gap:18px;flex-wrap:wrap;margin-top:24px;font-size:12px}.hero-badges span{background:#ffffff17;border:1px solid #ffffff44;padding:8px 12px;border-radius:30px}
@media(max-width:900px){.kitchen-grid{grid-template-columns:1fr 1fr}}
@media(max-width:800px){body{padding-bottom:68px}header{height:68px;padding:0 4%}header .brand{font-size:25px}.mobile-nav{display:grid;grid-template-columns:repeat(5,1fr);position:fixed;bottom:0;left:0;right:0;height:66px;background:#fff;border-top:1px solid #ddd;z-index:20;box-shadow:0 -3px 14px #0001}.mobile-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;text-decoration:none;color:var(--green);font-size:20px}.mobile-nav span{font-size:10px;margin-top:3px}.hero .shade{padding-top:65px}.hero-badges{gap:7px}.kitchen-grid{grid-template-columns:1fr}footer{margin-bottom:0}}

/* V1.4 Meedahs visual update — stock food imagery removed */
.meedahs-hero:before{content:"MEEDAHS\A RELISH";white-space:pre;position:absolute;right:7%;top:22%;font:700 82px/0.9 Georgia,serif;color:#ffffff0d;text-align:right;letter-spacing:4px}.meedahs-hero:after{background:linear-gradient(90deg,rgba(8,28,19,.2),transparent)!important}.instagram-section{background:#fff;text-align:left}.instagram-head{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:24px}.instagram-head h2{margin:3px 0}.instagram-head p{max-width:720px}.eyebrow.dark{color:var(--green);letter-spacing:3px;font-size:11px}.instagram-btn{background:var(--green);color:#fff;white-space:nowrap}.insta-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:9px}.insta-tile{aspect-ratio:1;position:relative;overflow:hidden;border-radius:10px;background:#eee2d0;text-decoration:none}.insta-tile img{width:100%;height:100%;object-fit:cover;transition:transform .25s}.insta-tile:hover img{transform:scale(1.04)}.insta-overlay{position:absolute;left:0;right:0;bottom:0;padding:24px 9px 8px;color:#fff;font-size:11px;font-weight:700;background:linear-gradient(transparent,#0009);opacity:0;transition:.2s}.insta-tile:hover .insta-overlay{opacity:1}.meedahs-placeholder{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;background:radial-gradient(circle at 50% 30%,#fff8e8,#e9dbc1);color:var(--green)}.meedahs-placeholder span{font:700 17px Georgia;letter-spacing:2px}.meedahs-placeholder small{margin-top:9px;color:#796d5a;font-size:9px}.photo-note{font-size:11px!important;color:#777!important;margin-top:13px}.foodpic:empty:after{content:"MEEDAHS RELISH";position:absolute;inset:0;display:grid;place-items:center;color:#073d2866;font:700 18px Georgia;letter-spacing:2px}.benefits{border-top:1px solid #eee}
@media(max-width:800px){.instagram-head{align-items:start;flex-direction:column}.insta-grid{grid-template-columns:repeat(3,1fr)}.meedahs-hero:before{font-size:48px;right:-4%;top:17%}}

/* V1.5 — Meedahs original photography */
.hero-v15{min-height:650px;background:#062f21;display:grid;grid-template-columns:52% 48%;overflow:hidden}.hero-copy{padding:100px 8% 80px 10%;color:#fff;display:flex;flex-direction:column;justify-content:center}.hero-copy h1{font:700 68px/1.02 Georgia,serif;margin:12px 0 22px;letter-spacing:-2px}.hero-copy h1 span{color:var(--gold)}.hero-lead{font-size:18px;line-height:1.65;max-width:650px;color:#f5f0e7}.hero-actions{margin-top:12px}.hero-trust{display:flex;gap:24px;flex-wrap:wrap;margin-top:38px;color:#e9dfcf;font-size:12px}.hero-trust span:before{content:'✓';color:var(--gold);margin-right:7px}.hero-photo{position:relative;min-height:650px}.hero-photo:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#062f21 0,transparent 22%),linear-gradient(0deg,#0005,transparent 35%)}.hero-photo img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}.hero-seal{position:absolute;z-index:2;right:7%;bottom:7%;width:118px;height:118px;border-radius:50%;background:#f3b12d;color:#082d20;display:flex;flex-direction:column;align-items:center;justify-content:center;box-shadow:0 10px 30px #0004;transform:rotate(-7deg)}.hero-seal b{font:700 17px Georgia}.hero-seal small{font-size:9px;letter-spacing:4px;margin-top:4px}.intro-v15{padding-top:70px}.visual-categories{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;max-width:1240px;margin:34px auto 0}.visual-categories a{height:350px;position:relative;border-radius:16px;overflow:hidden;text-decoration:none;color:#fff;text-align:left;background:#111}.visual-categories img{width:100%;height:100%;object-fit:cover;transition:.3s}.visual-categories a:after{content:'';position:absolute;inset:35% 0 0;background:linear-gradient(transparent,#000c)}.visual-categories a:hover img{transform:scale(1.035)}.visual-categories b,.visual-categories span{position:absolute;z-index:2;left:22px}.visual-categories b{bottom:43px;font:700 22px Georgia}.visual-categories span{bottom:21px;font-size:12px;color:#f3b12d}.popular-v15{background:#f2eadf;padding-top:65px;padding-bottom:70px}.section-title-row{max-width:1240px;margin:auto;display:flex;align-items:end;justify-content:space-between;text-align:left}.section-title-row>a{color:var(--green);font-weight:700;text-decoration:none}.popular-v15 .products{max-width:1240px;margin:28px auto 0}.popular-v15 .products article{padding:0}.product-copy{padding:2px 2px 16px}.price-row{display:flex;align-items:center;justify-content:space-between;padding-right:14px}.price-row strong{margin-bottom:0}.price-row form button{width:auto;margin:0;padding:9px 14px}.v15-product{background-position:center;background-size:cover}.v15-product.pic-a{background-image:url('../img/v15/smoky-jollof.png')}.v15-product.pic-b{background-image:url('../img/v15/spaghetti-fish.png')}.v15-product.pic-c{background-image:url('../img/v15/fish-plantain.png')}.v15-product.pic-d{background-image:url('../img/v15/swallow-soup.png')}.v15-product.pic-e{background-image:url('../img/v15/rice-fish.png')}.v15-product.pic-f{background-image:url('../img/v15/curry-rice.png')}.v15-product.pic-g{background-image:url('../img/v15/beans-plantain.png')}.v15-product.pic-h{background-image:url('../img/v15/couscous.png')}.catering-v15{display:grid;grid-template-columns:1.05fr .95fr;background:#083d2b;min-height:560px}.catering-photo{min-height:560px}.catering-photo img{width:100%;height:100%;object-fit:cover}.catering-copy{color:#fff;padding:70px 10%;display:flex;flex-direction:column;justify-content:center}.catering-copy h2{font:700 52px/1.05 Georgia;margin:10px 0 18px}.catering-copy>p:not(.eyebrow){line-height:1.7;color:#e8e3d9}.catering-points{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0;color:#fff}.catering-points span{font-size:14px}.moments-v15{padding-top:70px}.moments-grid{max-width:1240px;margin:30px auto 0;display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:16px}.moments-grid figure{height:420px;margin:0;position:relative;overflow:hidden;border-radius:14px}.moments-grid img{width:100%;height:100%;object-fit:cover}.moments-grid figcaption{position:absolute;left:18px;bottom:18px;background:#fff;color:var(--green);padding:10px 14px;border-radius:30px;font-weight:700;font-size:12px}.v15-gallery .insta-tile{border-radius:4px}.v15-benefits div{display:flex;flex-direction:column;gap:6px}.v15-benefits small{color:#777}.v15-cta{display:flex;align-items:center;justify-content:space-between;padding:55px 7%}.v15-cta h2{margin:4px 0 6px}.v15-cta p{margin:0}.v15-cta .btn{float:none;margin:0}.v15-cta .eyebrow{color:#dcb15c}
@media(max-width:1000px){.hero-v15{grid-template-columns:1fr 1fr}.hero-copy{padding:70px 7%}.hero-copy h1{font-size:52px}.visual-categories{grid-template-columns:repeat(2,1fr)}.catering-copy h2{font-size:42px}.moments-grid{grid-template-columns:1.3fr 1fr}.moments-grid figure:last-child{display:none}}
@media(max-width:800px){.hero-v15{grid-template-columns:1fr;min-height:0}.hero-copy{padding:58px 7% 50px}.hero-copy h1{font-size:46px}.hero-photo{min-height:440px}.visual-categories a{height:290px}.catering-v15{grid-template-columns:1fr}.catering-photo{min-height:420px}.catering-copy{padding:55px 7%}.moments-grid{grid-template-columns:1fr 1fr}.moments-grid figure{height:330px}.v15-cta{align-items:flex-start;flex-direction:column;gap:22px}.v15-benefits{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.hero-copy h1{font-size:39px}.hero-lead{font-size:16px}.hero-photo{min-height:360px}.hero-seal{width:92px;height:92px}.visual-categories{grid-template-columns:1fr 1fr;gap:10px}.visual-categories a{height:220px}.visual-categories b{font-size:17px;left:14px;bottom:38px}.visual-categories span{left:14px}.moments-grid{grid-template-columns:1fr}.moments-grid figure{height:360px}.moments-grid figure:nth-child(3){display:none}.catering-points{grid-template-columns:1fr}.v15-benefits{grid-template-columns:1fr 1fr}}

/* =========================================================
   MEEDAHS RELISH V1.5.1 — HERO/LAYOUT FIX
   ========================================================= */

.hero-v15 {
    position: relative;
    width: 100%;
    min-height: 620px;
    display: grid;
    grid-template-columns: minmax(0, 52%) minmax(0, 48%);
    background: #062f21;
    overflow: hidden;
}

.hero-v15 .hero-copy {
    position: relative;
    z-index: 2;
    min-width: 0;
    padding: 80px 8% 70px 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
}

.hero-v15 .hero-copy .eyebrow {
    margin: 0 0 12px;
    color: #f3b12d;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 4px;
}

.hero-v15 .hero-copy h1 {
    margin: 0 0 22px;
    max-width: 720px;
    color: #fff;
    font-family: Georgia, serif;
    font-size: clamp(48px, 4.3vw, 72px);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -2px;
}

.hero-v15 .hero-copy h1 span {
    color: #edae32;
}

.hero-v15 .hero-lead {
    max-width: 620px;
    margin: 0;
    color: #f5f0e7;
    font-size: 18px;
    line-height: 1.65;
}

.hero-v15 .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.hero-v15 .hero-actions .btn {
    margin: 0;
}

.hero-v15 .hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 36px;
    color: #e9dfcf;
    font-size: 13px;
}

.hero-v15 .hero-trust span {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.hero-v15 .hero-trust span::before {
    content: "✓";
    margin-right: 7px;
    color: #edae32;
    font-weight: 700;
}

.hero-v15 .hero-photo {
    position: relative;
    min-width: 0;
    min-height: 620px;
    overflow: hidden;
}

.hero-v15 .hero-photo > img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
}

.hero-v15 .hero-photo::after {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    background:
        linear-gradient(90deg, #062f21 0%, rgba(6,47,33,.42) 10%, transparent 28%),
        linear-gradient(0deg, rgba(0,0,0,.35), transparent 38%);
    pointer-events: none;
}

.hero-v15 .hero-seal {
    position: absolute;
    right: 7%;
    bottom: 7%;
    z-index: 3;
}

/* Prevent legacy hero styles interfering with V1.5 */
.hero-v15 .hero-copy,
.hero-v15 .hero-photo {
    max-width: none;
}

@media (max-width: 900px) {
    .hero-v15 {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .hero-v15 .hero-copy {
        padding: 60px 7% 52px;
    }

    .hero-v15 .hero-copy h1 {
        font-size: clamp(42px, 9vw, 60px);
    }

    .hero-v15 .hero-photo {
        width: 100%;
        min-height: 480px;
    }

    .hero-v15 .hero-photo::after {
        background: linear-gradient(0deg, rgba(0,0,0,.3), transparent 45%);
    }
}

@media (max-width: 520px) {
    .hero-v15 .hero-copy {
        padding: 45px 6% 42px;
    }

    .hero-v15 .hero-copy h1 {
        font-size: 39px;
        letter-spacing: -1px;
    }

    .hero-v15 .hero-lead {
        font-size: 16px;
    }

    .hero-v15 .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-v15 .hero-actions .btn {
        text-align: center;
    }

    .hero-v15 .hero-trust {
        gap: 10px 18px;
    }

    .hero-v15 .hero-photo {
        min-height: 360px;
    }
}


/* =========================================================
   MEEDAHS RELISH V1.5.1 — HERO/LAYOUT FIX
   ========================================================= */

.hero-v15 {
    position: relative;
    width: 100%;
    min-height: 620px;
    display: grid;
    grid-template-columns: minmax(0, 52%) minmax(0, 48%);
    background: #062f21;
    overflow: hidden;
}

.hero-v15 .hero-copy {
    position: relative;
    z-index: 2;
    min-width: 0;
    padding: 80px 8% 70px 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
}

.hero-v15 .hero-copy .eyebrow {
    margin: 0 0 12px;
    color: #f3b12d;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 4px;
}

.hero-v15 .hero-copy h1 {
    margin: 0 0 22px;
    max-width: 720px;
    color: #fff;
    font-family: Georgia, serif;
    font-size: clamp(48px, 4.3vw, 72px);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -2px;
}

.hero-v15 .hero-copy h1 span {
    color: #edae32;
}

.hero-v15 .hero-lead {
    max-width: 620px;
    margin: 0;
    color: #f5f0e7;
    font-size: 18px;
    line-height: 1.65;
}

.hero-v15 .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.hero-v15 .hero-actions .btn {
    margin: 0;
}

.hero-v15 .hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 36px;
    color: #e9dfcf;
    font-size: 13px;
}

.hero-v15 .hero-trust span {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.hero-v15 .hero-trust span::before {
    content: "✓";
    margin-right: 7px;
    color: #edae32;
    font-weight: 700;
}

.hero-v15 .hero-photo {
    position: relative;
    min-width: 0;
    min-height: 620px;
    overflow: hidden;
}

.hero-v15 .hero-photo > img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
}

.hero-v15 .hero-photo::after {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    background:
        linear-gradient(90deg, #062f21 0%, rgba(6,47,33,.42) 10%, transparent 28%),
        linear-gradient(0deg, rgba(0,0,0,.35), transparent 38%);
    pointer-events: none;
}

.hero-v15 .hero-seal {
    position: absolute;
    right: 7%;
    bottom: 7%;
    z-index: 3;
}

/* Prevent legacy hero styles interfering with V1.5 */
.hero-v15 .hero-copy,
.hero-v15 .hero-photo {
    max-width: none;
}

@media (max-width: 900px) {
    .hero-v15 {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .hero-v15 .hero-copy {
        padding: 60px 7% 52px;
    }

    .hero-v15 .hero-copy h1 {
        font-size: clamp(42px, 9vw, 60px);
    }

    .hero-v15 .hero-photo {
        width: 100%;
        min-height: 480px;
    }

    .hero-v15 .hero-photo::after {
        background: linear-gradient(0deg, rgba(0,0,0,.3), transparent 45%);
    }
}

@media (max-width: 520px) {
    .hero-v15 .hero-copy {
        padding: 45px 6% 42px;
    }

    .hero-v15 .hero-copy h1 {
        font-size: 39px;
        letter-spacing: -1px;
    }

    .hero-v15 .hero-lead {
        font-size: 16px;
    }

    .hero-v15 .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-v15 .hero-actions .btn {
        text-align: center;
    }

    .hero-v15 .hero-trust {
        gap: 10px 18px;
    }

    .hero-v15 .hero-photo {
        min-height: 360px;
    }
}


/* =====================================================
   MEEDAHS RELISH V1.5.3 — FINAL HOMEPAGE REFINEMENTS
   ===================================================== */

.catering-v15 {
    align-items: stretch;
}

.catering-copy {
    padding-top: 72px !important;
    padding-bottom: 72px !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.catering-copy .eyebrow {
    margin-top: 0;
}

.catering-copy h2 {
    margin-top: 10px;
    line-height: .95;
}

@media (max-width: 800px) {
    .catering-copy {
        padding-top: 48px !important;
        padding-bottom: 48px !important;
    }
}

/* ======================================================
   MEEDAHS RELISH V1.5.3 REFINEMENT
   ====================================================== */

.catering-v15 {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    min-height: 620px;
    overflow: hidden;
}

.catering-photo {
    min-height: 620px;
}

.catering-photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.catering-copy {
    padding: 80px 9% !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

.catering-copy .eyebrow {
    margin: 0 0 18px;
}

.catering-copy h2 {
    margin: 0 0 30px;
    line-height: .95;
}

.catering-copy > p:not(.eyebrow) {
    max-width: 680px;
    line-height: 1.65;
}

.catering-points {
    margin: 28px 0 34px;
}

@media (max-width: 900px) {
    .catering-v15 {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .catering-photo {
        min-height: 420px;
    }

    .catering-copy {
        padding: 55px 7% !important;
    }
}

@media (max-width: 600px) {
    .catering-photo {
        min-height: 330px;
    }

    .catering-copy {
        padding: 42px 24px !important;
    }
}

/* ==========================================================
   MEEDAHS RELISH V1.5.4
   Brand + Product Presentation Refinement
   ========================================================== */

/* ---------- Product photography ---------- */

.products article {
    overflow: hidden;
}

.products .foodpic {
    width: 100%;
    aspect-ratio: 4 / 3;
    min-height: 250px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transition:
        transform .45s ease,
        filter .45s ease;
}

.products article:hover .foodpic {
    transform: scale(1.025);
}

/* Keep product content visually balanced */

.products article h3 {
    margin-top: 20px;
    margin-bottom: 8px;
}

.products article > p {
    line-height: 1.6;
}

.products article strong {
    display: block;
    margin-top: 14px;
    margin-bottom: 16px;
}

/* Premium Add-to-Cart treatment */

.products article form {
    margin-top: auto;
}

.products article form button {
    width: 100%;
    cursor: pointer;
    transition:
        transform .2s ease,
        opacity .2s ease;
}

.products article form button:hover {
    transform: translateY(-1px);
}

.products article form button:active {
    transform: translateY(0);
}


/* ---------- Official Meedahs branding ---------- */

.meedahs-official-logo {
    width: 58px;
    height: 58px;
    object-fit: contain;
    display: block;
    flex: 0 0 auto;
}

.meedahs-brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    text-decoration: none;
}

.meedahs-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.meedahs-brand-name {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: .02em;
}

.meedahs-brand-subtitle {
    margin-top: 5px;
    font-size: 8px;
    text-transform: uppercase;
    letter-spacing: .23em;
    opacity: .68;
}


/* ---------- Mobile ---------- */

@media (max-width: 800px) {

    .products .foodpic {
        min-height: 220px;
    }

    .meedahs-official-logo {
        width: 48px;
        height: 48px;
    }

    .meedahs-brand-name {
        font-size: 17px;
    }

    .meedahs-brand-subtitle {
        display: none;
    }
}

@media (max-width: 480px) {

    .products .foodpic {
        min-height: 200px;
    }

    .meedahs-official-logo {
        width: 43px;
        height: 43px;
    }
}

/* ==========================================================
   MEEDAHS RELISH V1.5.5
   Official Brand Integration
   ========================================================== */

header .meedahs-brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

header .meedahs-official-logo {
    width: 58px;
    height: 58px;
    object-fit: contain;
    display: block;
}

header .meedahs-brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

header .meedahs-brand-name {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

header .meedahs-brand-subtitle {
    margin-top: 6px;
    font-size: 7px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: .12em;
    text-transform: uppercase;
    opacity: .62;
    white-space: nowrap;
}


/* Footer official branding */

footer .footer-brand {
    display: flex;
    align-items: center;
    gap: 18px;
}

footer .footer-logo {
    width: 78px;
    height: 78px;
    object-fit: contain;
    flex-shrink: 0;
}

footer .footer-brand strong {
    display: block;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    margin-bottom: 6px;
}


/* Tablet */

@media (max-width: 1000px) {

    header .meedahs-official-logo {
        width: 50px;
        height: 50px;
    }

    header .meedahs-brand-name {
        font-size: 17px;
    }

    header .meedahs-brand-subtitle {
        display: none;
    }
}


/* Mobile */

@media (max-width: 800px) {

    header .meedahs-official-logo {
        width: 46px;
        height: 46px;
    }

    header .meedahs-brand-name {
        font-size: 16px;
    }

    footer .footer-logo {
        width: 65px;
        height: 65px;
    }

    footer .footer-brand {
        gap: 13px;
    }
}

@media (max-width: 480px) {

    header .meedahs-official-logo {
        width: 42px;
        height: 42px;
    }

    header .meedahs-brand-name {
        font-size: 15px;
    }

    footer .footer-logo {
        width: 58px;
        height: 58px;
    }
}

/* ==========================================================
   MEEDAHS RELISH V1.6.1
   Menu + Shopping Bag Experience
   ========================================================== */

.menu-hero {
    padding: 80px 7% 60px;
    text-align: center;
    background: #f7f1e7;
}

.menu-hero h1 {
    margin: 8px 0 16px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(46px, 7vw, 82px);
    line-height: .95;
}

.menu-hero > p:last-child {
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.7;
}

.menu-v16 {
    padding: 45px 7% 90px;
}

.category-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 65px;
}

.category-nav a {
    padding: 10px 17px;
    border: 1px solid rgba(7,61,40,.18);
    border-radius: 999px;
    text-decoration: none;
    font-size: 13px;
}

.menu-category {
    scroll-margin-top: 120px;
    margin-bottom: 80px;
}

.menu-category-heading {
    margin-bottom: 25px;
}

.menu-category-heading h2 {
    margin: 5px 0 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(32px, 4vw, 48px);
}

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

.menu-card .foodpic {
    position: relative;
    overflow: hidden;
}

.featured-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 2;
    padding: 7px 12px;
    border-radius: 999px;
    background: #cba45c;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.food-placeholder {
    width: 100%;
    height: 100%;
    min-height: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #073d28;
    color: #d7b46a;
}

.food-placeholder span {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 46px;
}

.food-placeholder small {
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: .18em;
    font-size: 8px;
}

.menu-card-content {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.menu-card-title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.menu-card-title h3 {
    flex: 1;
}

.menu-card-title strong {
    white-space: nowrap;
}

.add-to-bag-form {
    margin-top: auto;
}

.add-to-bag-form button {
    width: 100%;
}


/* ---------- Cart ---------- */

.cart-page {
    max-width: 1380px;
    margin: 0 auto;
    padding: 70px 7% 100px;
}

.cart-heading {
    margin-bottom: 45px;
}

.cart-heading h1 {
    margin: 6px 0 12px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(46px, 6vw, 72px);
}

.cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(300px, .8fr);
    gap: 50px;
    align-items: start;
}

.cart-item {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr) auto;
    gap: 25px;
    align-items: center;
    padding: 24px 0;
    border-bottom: 1px solid rgba(7,61,40,.13);
}

.cart-image {
    width: 150px;
    height: 120px;
    overflow: hidden;
    border-radius: 4px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.cart-item-info h3 {
    margin: 0 0 5px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 23px;
}

.cart-unit-price {
    margin: 0 0 18px;
    opacity: .7;
}

.quantity-form {
    display: flex;
    align-items: center;
    gap: 7px;
}

.qty-btn {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(7,61,40,.2);
    background: transparent;
    cursor: pointer;
    font-size: 20px;
}

.qty-input {
    width: 52px;
    height: 36px;
    box-sizing: border-box;
    text-align: center;
    border: 1px solid rgba(7,61,40,.2);
}

.update-cart {
    min-height: 36px;
    padding: 0 14px;
    cursor: pointer;
}

.remove-form {
    margin-top: 10px;
}

.remove-form button {
    padding: 0;
    border: 0;
    background: none;
    text-decoration: underline;
    cursor: pointer;
    opacity: .6;
}

.cart-line-total {
    min-width: 115px;
    text-align: right;
}

.cart-line-total small {
    display: block;
    margin-bottom: 4px;
    opacity: .6;
}

.cart-line-total strong {
    font-size: 18px;
}

.continue-shopping {
    display: inline-block;
    margin-top: 30px;
}

.cart-summary {
    position: sticky;
    top: 120px;
    padding: 35px;
    background: #073d28;
    color: #fff;
}

.cart-summary h2 {
    margin: 6px 0 30px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 31px;
}

.summary-line,
.summary-total {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.summary-line {
    padding-bottom: 20px;
}

.summary-note {
    padding: 22px 0;
    border-top: 1px solid rgba(255,255,255,.15);
    border-bottom: 1px solid rgba(255,255,255,.15);
}

.summary-note p {
    margin-bottom: 0;
    font-size: 13px;
    line-height: 1.6;
    opacity: .75;
}

.summary-total {
    padding: 25px 0;
    font-size: 19px;
}

.checkout-button {
    text-align: center;
}

.checkout-assurance {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin-top: 17px;
    font-size: 10px;
    opacity: .65;
}

.empty-cart {
    padding: 80px 20px;
    text-align: center;
}

.empty-cart-mark {
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    border: 1px solid #cba45c;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 30px;
    color: #cba45c;
}


/* ---------- Responsive ---------- */

@media (max-width: 900px) {

    .cart-layout {
        grid-template-columns: 1fr;
    }

    .cart-summary {
        position: static;
    }
}

@media (max-width: 650px) {

    .menu-hero {
        padding: 55px 24px 40px;
    }

    .menu-v16 {
        padding: 30px 24px 90px;
    }

    .category-nav {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 8px;
    }

    .category-nav a {
        white-space: nowrap;
    }

    .cart-page {
        padding: 50px 24px 110px;
    }

    .cart-item {
        grid-template-columns: 95px minmax(0, 1fr);
        gap: 16px;
    }

    .cart-image {
        width: 95px;
        height: 95px;
    }

    .cart-line-total {
        grid-column: 2;
        text-align: left;
    }

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

    .cart-summary {
        padding: 28px 24px;
    }
}

/* ==========================================================
   MEEDAHS RELISH V1.6.2
   Bank Transfer + Receipt
   ========================================================== */

.payment-page {
    min-height: 80vh;
    padding: 70px 20px 100px;
    background: #f5efe4;
}

.payment-panel {
    max-width: 650px;
    margin: auto;
}

.payment-brand {
    text-align: center;
    margin-bottom: 35px;
}

.payment-brand img {
    width: 95px;
    height: 95px;
    object-fit: contain;
}

.payment-brand h1 {
    margin: 8px 0 12px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(36px, 6vw, 52px);
}

.payment-amount {
    padding: 30px;
    background: #073d28;
    color: white;
    text-align: center;
}

.payment-amount span,
.payment-amount small {
    display: block;
}

.payment-amount span {
    font-size: 11px;
    letter-spacing: .18em;
}

.payment-amount strong {
    display: block;
    margin: 10px 0;
    color: #d7b46a;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(38px, 8vw, 58px);
}

.payment-amount small {
    opacity: .7;
}

.bank-transfer-card {
    padding: 10px 30px;
    background: white;
}

.bank-label {
    margin: 20px 0 8px;
    font-size: 10px;
    letter-spacing: .18em;
    opacity: .55;
}

.bank-row {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 20px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(7,61,40,.1);
}

.bank-row > span {
    opacity: .65;
}

.account-number-row {
    grid-template-columns: 140px 1fr auto;
    align-items: center;
}

.account-number-row strong {
    font-size: 22px;
    letter-spacing: .08em;
}

.copy-account {
    padding: 8px 12px;
    border: 1px solid #cba45c;
    background: transparent;
    cursor: pointer;
}

.transfer-instructions {
    margin: 25px 0;
    padding: 22px 25px;
    background: rgba(203,164,92,.12);
}

.transfer-instructions h3 {
    margin-top: 0;
}

.transfer-instructions p {
    line-height: 1.65;
}

.payment-confirm-button {
    width: 100%;
    padding: 19px 25px;
    border: 0;
    background: #cba45c;
    color: #073d28;
    font-weight: 800;
    font-size: 16px;
    cursor: pointer;
}

.payment-back {
    display: block;
    margin-top: 22px;
    text-align: center;
}


/* Receipt */

.receipt-page {
    padding: 70px 20px 100px;
    background: #eee9df;
}

.receipt-paper {
    max-width: 760px;
    margin: auto;
    padding: 55px;
    background: white;
    box-shadow: 0 15px 60px rgba(0,0,0,.08);
}

.receipt-header {
    display: flex;
    align-items: center;
    gap: 25px;
    padding-bottom: 30px;
    border-bottom: 5px solid #cba45c;
}

.receipt-header img {
    width: 95px;
    height: 95px;
    object-fit: contain;
}

.receipt-header h1 {
    margin: 5px 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 36px;
}

.receipt-header p {
    margin: 0;
}

.receipt-status {
    margin: 30px 0;
    padding: 20px;
    background: #073d28;
    color: white;
}

.receipt-status strong,
.receipt-status span {
    display: block;
}

.receipt-status strong {
    color: #d7b46a;
    margin-bottom: 5px;
}

.receipt-details,
.receipt-order {
    margin-top: 35px;
}

.receipt-details h2,
.receipt-order h2 {
    font-family: Georgia, "Times New Roman", serif;
}

.receipt-details > div,
.receipt-item,
.receipt-totals > div {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.receipt-details span,
.receipt-totals span {
    opacity: .65;
}

.receipt-totals {
    margin-top: 30px;
}

.receipt-grand-total {
    margin-top: 10px;
    padding: 20px 0 !important;
    border-top: 2px solid #073d28;
    border-bottom: 0 !important;
    font-size: 22px;
}

.receipt-notice {
    margin-top: 30px;
    padding: 18px 20px;
    background: #f5efe4;
    line-height: 1.6;
}

.receipt-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.receipt-actions .btn {
    flex: 1;
    text-align: center;
}


/* Mobile */

@media (max-width: 600px) {

    .bank-row,
    .account-number-row {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .receipt-paper {
        padding: 30px 22px;
    }

    .receipt-header {
        align-items: flex-start;
    }

    .receipt-header img {
        width: 70px;
        height: 70px;
    }

    .receipt-header h1 {
        font-size: 27px;
    }

    .receipt-details > div {
        flex-direction: column;
        gap: 4px;
    }

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


/* Printing */

@media print {

    .top,
    body > header,
    .mobile-nav,
    body > footer,
    .receipt-actions,
    .messages {
        display: none !important;
    }

    .receipt-page {
        padding: 0;
        background: white;
    }

    .receipt-paper {
        max-width: none;
        box-shadow: none;
        margin: 0;
    }
}

/* ==========================================================
   MEEDAHS RELISH V1.6.5
   Customer Tracking + Kitchen Operations
   ========================================================== */

.tracking-page {
    min-height: 75vh;
    padding: 70px 7% 110px;
    background: #f5efe4;
}

.tracking-intro {
    max-width: 720px;
    margin: 0 auto 45px;
    text-align: center;
}

.tracking-intro h1 {
    margin: 8px 0 15px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(44px, 7vw, 70px);
}

.tracking-intro > p:last-of-type {
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

.tracking-search {
    display: flex;
    max-width: 570px;
    margin: 30px auto 0;
}

.tracking-search input {
    flex: 1;
    min-width: 0;
    padding: 16px 18px;
    border: 1px solid rgba(7,61,40,.2);
    background: white;
    font-size: 15px;
}

.tracking-search button {
    padding: 0 25px;
    border: 0;
    background: #073d28;
    color: white;
    font-weight: 700;
    cursor: pointer;
}

.tracking-card {
    max-width: 1050px;
    margin: auto;
    padding: 45px;
    background: white;
    box-shadow: 0 15px 50px rgba(0,0,0,.05);
}

.tracking-order-head {
    display: flex;
    justify-content: space-between;
    gap: 25px;
    align-items: flex-start;
}

.tracking-order-head h2 {
    margin: 4px 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 34px;
}

.tracking-status-badge {
    padding: 10px 16px;
    border-radius: 999px;
    background: #f2eadb;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.status-delivered {
    background: #e3f1e8;
}

.status-cancelled {
    background: #f5dfdf;
}

.tracking-progress {
    position: relative;
    margin: 65px 0 55px;
}

.tracking-progress-line {
    position: absolute;
    top: 18px;
    left: 8%;
    right: 8%;
    height: 4px;
    background: #e5e0d7;
}

.tracking-progress-line span {
    display: block;
    height: 100%;
    background: #cba45c;
    transition: width .5s ease;
}

.tracking-steps {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}

.tracking-step {
    text-align: center;
}

.step-marker {
    width: 40px;
    height: 40px;
    margin: 0 auto 13px;
    display: grid;
    place-items: center;
    border: 2px solid #d8d2c7;
    border-radius: 50%;
    background: white;
    font-weight: 800;
}

.tracking-step.complete .step-marker {
    border-color: #cba45c;
    background: #cba45c;
    color: #073d28;
}

.tracking-step strong,
.tracking-step small {
    display: block;
}

.tracking-step strong {
    font-size: 12px;
}

.tracking-step small {
    margin-top: 5px;
    font-size: 10px;
    opacity: .55;
}

.tracking-information {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid #eee8dd;
    border-bottom: 1px solid #eee8dd;
}

.tracking-information > div {
    padding: 22px 18px;
    border-right: 1px solid #eee8dd;
}

.tracking-information > div:last-child {
    border-right: 0;
}

.tracking-information span,
.tracking-information strong {
    display: block;
}

.tracking-information span {
    margin-bottom: 6px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .08em;
    opacity: .55;
}

.tracking-items {
    margin-top: 35px;
}

.tracking-items h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
}

.tracking-items > div {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 11px 0;
    border-bottom: 1px solid #eee;
}

.tracking-actions {
    display: flex;
    gap: 12px;
    margin-top: 35px;
}

.tracking-refresh-note {
    margin: 25px 0 0;
    font-size: 11px;
    opacity: .55;
}

.tracking-not-found,
.cancelled-order {
    max-width: 650px;
    margin: auto;
    padding: 45px;
    text-align: center;
    background: white;
}

.tracking-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: grid;
    place-items: center;
    border: 1px solid #cba45c;
    border-radius: 50%;
    color: #cba45c;
    font-size: 25px;
}


/* ---------- Kitchen ---------- */

.kitchen-page {
    max-width: 1450px;
    margin: auto;
    padding: 60px 5% 100px;
}

.kitchen-heading {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: flex-end;
    margin-bottom: 40px;
}

.kitchen-heading h1 {
    margin: 5px 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(40px, 5vw, 60px);
}

.kitchen-refresh {
    padding: 13px 20px;
    border: 1px solid #073d28;
    background: transparent;
    cursor: pointer;
}

.kitchen-board {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.kitchen-order {
    display: flex;
    flex-direction: column;
    padding: 25px;
    border: 1px solid rgba(7,61,40,.13);
    background: white;
}

.kitchen-order-header {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.kitchen-order-header h2 {
    margin: 3px 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
}

.kitchen-status {
    height: fit-content;
    padding: 7px 10px;
    background: #f2eadb;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.kitchen-customer {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 18px 0;
}

.kitchen-customer span {
    font-size: 12px;
    opacity: .65;
}

.kitchen-payment {
    padding: 12px;
    background: #f6f1e8;
    font-size: 12px;
}

.payment-ok {
    color: #175c39;
}

.payment-waiting {
    color: #8b681d;
}

.kitchen-items {
    margin: 20px 0;
}

.kitchen-items > div {
    display: flex;
    gap: 8px;
    padding: 7px 0;
    border-bottom: 1px solid #eee;
}

.kitchen-notes {
    margin-bottom: 20px;
    padding: 13px;
    background: #fff7df;
}

.kitchen-notes p {
    margin-bottom: 0;
}

.kitchen-status-form {
    margin-top: auto;
    padding-top: 20px;
}

.kitchen-status-form label {
    display: block;
    margin-bottom: 7px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.kitchen-status-form > div {
    display: flex;
}

.kitchen-status-form select {
    flex: 1;
    min-width: 0;
    padding: 11px;
}

.kitchen-status-form button {
    border: 0;
    padding: 0 16px;
    background: #073d28;
    color: white;
    cursor: pointer;
}

.kitchen-order-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}


/* ---------- Responsive ---------- */

@media (max-width: 1100px) {

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

@media (max-width: 800px) {

    .tracking-card {
        padding: 30px 22px;
    }

    .tracking-progress {
        margin-top: 40px;
    }

    .tracking-progress-line {
        display: none;
    }

    .tracking-steps {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .tracking-step {
        display: grid;
        grid-template-columns: 45px 1fr;
        column-gap: 15px;
        text-align: left;
        padding-bottom: 20px;
    }

    .step-marker {
        grid-row: span 2;
        margin: 0;
    }

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

    .kitchen-board {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 550px) {

    .tracking-page {
        padding: 50px 20px 110px;
    }

    .tracking-search {
        flex-direction: column;
    }

    .tracking-search button {
        padding: 16px;
    }

    .tracking-order-head {
        flex-direction: column;
    }

    .tracking-information {
        grid-template-columns: 1fr;
    }

    .tracking-information > div {
        border-right: 0;
        border-bottom: 1px solid #eee8dd;
    }

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

    .kitchen-heading {
        align-items: flex-start;
        flex-direction: column;
    }
}


/* =========================================================
   MEEDAHS RELISH V1.7
   PREMIUM CHECKOUT
   ========================================================= */

.v17-checkout{
    max-width:1240px;
    margin:0 auto;
    padding:64px 24px 100px;
}

.checkout-intro{
    max-width:720px;
    margin-bottom:45px;
}

.checkout-intro h1{
    font-family:Georgia,serif;
    font-size:clamp(42px,6vw,72px);
    line-height:.98;
    color:#073d28;
    margin:8px 0 20px;
}

.checkout-intro h1 em{
    color:#c99a2e;
    font-style:normal;
}

.checkout-intro>p:last-child{
    font-size:17px;
    line-height:1.7;
    max-width:600px;
    color:#666;
}

.v17-checkout-grid{
    display:grid;
    grid-template-columns:minmax(0,1.55fr) minmax(320px,.75fr);
    gap:42px;
    align-items:start;
}

.v17-checkout-form{
    display:grid;
    gap:22px;
}

.checkout-section{
    background:#fff;
    border:1px solid #ece6d9;
    border-radius:20px;
    padding:30px;
}

.checkout-section-heading{
    display:flex;
    gap:16px;
    margin-bottom:25px;
    align-items:flex-start;
}

.checkout-section-heading>span{
    width:36px;
    height:36px;
    flex:0 0 36px;
    border-radius:50%;
    background:#073d28;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:700;
}

.checkout-section-heading h2{
    margin:0 0 5px;
    color:#073d28;
    font-family:Georgia,serif;
    font-size:25px;
}

.checkout-section-heading p{
    margin:0;
    color:#777;
    font-size:14px;
}

.checkout-fields.two{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:18px;
}

.checkout-field{
    margin-top:18px;
}

.checkout-field label{
    display:flex;
    justify-content:space-between;
    margin-bottom:8px;
    color:#173d2e;
    font-weight:700;
    font-size:14px;
}

.checkout-field label span{
    color:#999;
    font-weight:400;
}

.checkout-field input,
.checkout-field select,
.checkout-field textarea,
#delivery-fields select{
    width:100%;
    box-sizing:border-box;
    padding:14px 15px;
    border:1px solid #ddd5c7;
    border-radius:10px;
    background:#fff;
    font:inherit;
    color:#222;
    outline:none;
}

.checkout-field input:focus,
.checkout-field select:focus,
.checkout-field textarea:focus,
#delivery-fields select:focus{
    border-color:#b89034;
    box-shadow:0 0 0 3px rgba(201,154,46,.10);
}

.fulfilment-options{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:14px;
}

.fulfilment-card{
    position:relative;
    cursor:pointer;
}

.fulfilment-card input{
    position:absolute;
    opacity:0;
}

.fulfilment-card-body{
    min-height:88px;
    border:1px solid #ddd5c7;
    border-radius:14px;
    padding:18px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    transition:.2s ease;
}

.fulfilment-card-body strong{
    color:#073d28;
    margin-bottom:5px;
}

.fulfilment-card-body small{
    color:#777;
}

.fulfilment-card input:checked + .fulfilment-card-body{
    border:2px solid #c99a2e;
    background:#fffaf0;
    box-shadow:0 5px 18px rgba(0,0,0,.05);
}

.field-error{
    display:block;
    color:#a52a2a;
    margin-top:6px;
}

.checkout-errors{
    background:#fff0f0;
    color:#8d1d1d;
    border:1px solid #efcccc;
    padding:15px;
    border-radius:10px;
}

.bank-payment-choice{
    border:2px solid #c99a2e;
    background:#fffaf0;
    border-radius:15px;
    padding:20px;
    display:grid;
    grid-template-columns:48px 1fr auto;
    gap:15px;
    align-items:center;
}

.bank-icon{
    width:48px;
    height:48px;
    border-radius:50%;
    background:#073d28;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:21px;
    font-weight:700;
}

.bank-payment-choice strong{
    color:#073d28;
}

.bank-payment-choice p{
    margin:5px 0 0;
    color:#666;
    line-height:1.5;
    font-size:13px;
}

.payment-selected{
    background:#073d28;
    color:#fff;
    padding:7px 10px;
    border-radius:20px;
    font-size:11px;
    font-weight:700;
    text-transform:uppercase;
}

.checkout-submit{
    min-height:58px;
    font-weight:800;
    letter-spacing:.06em;
    font-size:15px;
}

.checkout-security{
    text-align:center;
    color:#777;
    font-size:13px;
    margin:0;
}

.v17-order-summary{
    position:sticky;
    top:115px;
    background:#073d28;
    color:#fff;
    padding:30px;
    border-radius:22px;
}

.v17-order-summary .eyebrow{
    color:#d7b65a;
}

.v17-order-summary>h2{
    font-family:Georgia,serif;
    font-size:30px;
    margin:5px 0 25px;
}

.checkout-order-items{
    display:grid;
    gap:18px;
}

.checkout-order-item{
    display:grid;
    grid-template-columns:58px 1fr auto;
    gap:12px;
    align-items:center;
}

.checkout-order-item img,
.checkout-item-placeholder{
    width:58px;
    height:58px;
    border-radius:10px;
    object-fit:cover;
}

.checkout-item-placeholder{
    background:#e7d8ae;
    color:#073d28;
    display:flex;
    align-items:center;
    justify-content:center;
    font-family:Georgia,serif;
    font-weight:700;
}

.checkout-order-product{
    display:flex;
    flex-direction:column;
    gap:3px;
}

.checkout-order-product small{
    color:#c9d4cf;
}

.checkout-totals{
    border-top:1px solid rgba(255,255,255,.18);
    margin-top:25px;
    padding-top:20px;
    display:grid;
    gap:13px;
}

.checkout-totals>div{
    display:flex;
    justify-content:space-between;
    gap:20px;
}

.checkout-grand-total{
    border-top:1px solid rgba(255,255,255,.18);
    padding-top:17px;
    margin-top:4px;
    font-size:19px;
}

.checkout-grand-total strong{
    color:#e0bd58;
    font-size:24px;
}

.checkout-summary-note{
    margin-top:25px;
    padding:17px;
    background:rgba(255,255,255,.08);
    border-radius:12px;
}

.checkout-summary-note strong{
    color:#e0bd58;
}

.checkout-summary-note p{
    margin:5px 0 0;
    color:#d4ded9;
    font-size:13px;
}

@media(max-width:900px){

    .v17-checkout-grid{
        grid-template-columns:1fr;
    }

    .v17-order-summary{
        position:static;
        order:-1;
    }

}

@media(max-width:620px){

    .v17-checkout{
        padding:40px 16px 70px;
    }

    .checkout-section{
        padding:22px 17px;
    }

    .checkout-fields.two,
    .fulfilment-options{
        grid-template-columns:1fr;
    }

    .bank-payment-choice{
        grid-template-columns:42px 1fr;
    }

    .payment-selected{
        grid-column:2;
        width:max-content;
    }

    .checkout-order-item{
        grid-template-columns:50px 1fr auto;
    }

    .checkout-order-item img,
    .checkout-item-placeholder{
        width:50px;
        height:50px;
    }

}


/* =========================================================
   V1.7.1 — KITCHEN PAYMENT VERIFICATION
   ========================================================= */

.kitchen-payment-panel{
    margin:16px 0;
    padding:16px;
    background:#faf7ef;
    border:1px solid #e6ddca;
    border-radius:12px;
}

.kitchen-payment-heading{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:12px;
    margin-bottom:12px;
}

.kitchen-payment-heading small{
    color:#777;
    font-weight:700;
    letter-spacing:.08em;
}

.payment-ok{
    color:#167343;
}

.payment-waiting{
    color:#a57400;
}

.payment-failed{
    color:#a22b2b;
}

.kitchen-payment-form{
    display:grid;
    grid-template-columns:1fr auto;
    gap:8px;
}

.kitchen-payment-form select{
    width:100%;
    padding:10px 12px;
    border:1px solid #d8cfbd;
    border-radius:8px;
    background:#fff;
    font:inherit;
}

.kitchen-payment-form button{
    border:0;
    border-radius:8px;
    background:#073d28;
    color:#fff;
    padding:10px 15px;
    cursor:pointer;
    font-weight:700;
}

.kitchen-payment-form button:hover{
    opacity:.9;
}

@media(max-width:600px){

    .kitchen-payment-heading{
        align-items:flex-start;
        flex-direction:column;
    }

    .kitchen-payment-form{
        grid-template-columns:1fr;
    }

}


/* =========================================================
   V1.7.1 — KITCHEN PAYMENT VERIFICATION
   ========================================================= */

.kitchen-payment-panel{
    margin:16px 0;
    padding:16px;
    background:#faf7ef;
    border:1px solid #e6ddca;
    border-radius:12px;
}

.kitchen-payment-heading{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:12px;
    margin-bottom:12px;
}

.kitchen-payment-heading small{
    color:#777;
    font-weight:700;
    letter-spacing:.08em;
}

.payment-ok{
    color:#167343;
}

.payment-waiting{
    color:#a57400;
}

.payment-failed{
    color:#a22b2b;
}

.payment-pending{
    color:#666;
}

.kitchen-payment-form{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:8px;
}

.kitchen-payment-form select{
    width:100%;
    min-width:0;
    padding:10px 12px;
    border:1px solid #d8cfbd;
    border-radius:8px;
    background:#fff;
    color:#173d2e;
    font:inherit;
}

.kitchen-payment-form button{
    border:0;
    border-radius:8px;
    background:#073d28;
    color:#fff;
    padding:10px 15px;
    cursor:pointer;
    font-weight:700;
}

.kitchen-payment-form button:hover{
    opacity:.9;
}

@media(max-width:600px){

    .kitchen-payment-heading{
        align-items:flex-start;
        flex-direction:column;
    }

    .kitchen-payment-form{
        grid-template-columns:1fr;
    }

}


/* =========================================================
   V1.7.2 — KITCHEN PAYMENT SAFETY
   ========================================================= */

.kitchen-payment-panel.payment-is-paid{
    border:2px solid #237a4b;
    background:#f4fbf6;
}

.paid-badge{
    display:inline-flex;
    align-items:center;
    margin-top:6px;
    padding:6px 12px;
    border-radius:999px;
    background:#17683f;
    color:#fff;
    font-size:.82rem;
    font-weight:800;
    letter-spacing:.08em;
}

.payment-verified{
    padding:6px 10px;
    border-radius:999px;
    background:#dcefe3;
    color:#17683f;
    font-size:.78rem;
    font-weight:700;
}

.payment-reference{
    display:flex;
    justify-content:space-between;
    gap:16px;
    padding:8px 0;
    border-top:1px solid #e6ddca;
    font-size:.85rem;
}

.payment-reference span{
    color:#777;
}

.payment-reference strong{
    text-align:right;
    overflow-wrap:anywhere;
}

@media(max-width:600px){

    .payment-reference{
        flex-direction:column;
        gap:3px;
    }

    .payment-reference strong{
        text-align:left;
    }

}


/* =========================================================
   V1.8.0 — KITCHEN OPERATIONS DASHBOARD
   ========================================================= */

.v18-kitchen-dashboard{
    display:grid;
    grid-template-columns:repeat(7,minmax(120px,1fr));
    gap:12px;
    margin:22px 0;
}

.kitchen-stat{
    min-height:105px;
    padding:17px;
    border:1px solid #e5dcc8;
    border-radius:14px;
    background:#fff;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
}

.kitchen-stat span{
    color:#6d6d62;
    font-size:.72rem;
    font-weight:800;
    letter-spacing:.07em;
}

.kitchen-stat strong{
    color:#073d28;
    font-family:Georgia,serif;
    font-size:2rem;
    line-height:1;
}

.kitchen-stat.paid-stat{
    background:#f1faf4;
    border-color:#bcdcc8;
}

.kitchen-stat.attention-stat{
    background:#fff9e8;
    border-color:#eadca6;
}

.v18-kitchen-filters{
    display:grid;
    grid-template-columns:
        minmax(260px,2fr)
        minmax(160px,1fr)
        minmax(160px,1fr)
        auto;
    gap:12px;
    align-items:end;
    padding:18px;
    margin:18px 0 10px;
    background:#f8f4ea;
    border:1px solid #e6ddca;
    border-radius:16px;
}

.v18-kitchen-filters label{
    display:block;
    margin-bottom:6px;
    color:#073d28;
    font-size:.75rem;
    font-weight:800;
    letter-spacing:.05em;
}

.v18-kitchen-filters input,
.v18-kitchen-filters select{
    box-sizing:border-box;
    width:100%;
    min-height:44px;
    padding:10px 12px;
    border:1px solid #d8cfbd;
    border-radius:9px;
    background:#fff;
    font:inherit;
}

.kitchen-filter-actions{
    display:flex;
    gap:8px;
    align-items:center;
}

.kitchen-filter-actions button{
    min-height:44px;
    padding:0 16px;
    border:0;
    border-radius:9px;
    background:#073d28;
    color:#fff;
    font-weight:700;
    cursor:pointer;
}

.kitchen-filter-actions a{
    min-height:44px;
    padding:0 13px;
    border:1px solid #cfc5b2;
    border-radius:9px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#073d28;
    text-decoration:none;
    font-weight:700;
}

.v18-results-bar{
    display:flex;
    justify-content:space-between;
    gap:15px;
    margin:10px 2px 20px;
    color:#716c61;
    font-size:.88rem;
}

.kitchen-order-age{
    display:inline-flex;
    margin-left:8px;
    padding:5px 9px;
    border-radius:999px;
    background:#f1ece0;
    color:#775f24;
    font-size:.75rem;
    font-weight:700;
    vertical-align:middle;
}

@media(max-width:1200px){

    .v18-kitchen-dashboard{
        grid-template-columns:
            repeat(4,minmax(130px,1fr));
    }

}

@media(max-width:900px){

    .v18-kitchen-filters{
        grid-template-columns:1fr 1fr;
    }

}

@media(max-width:650px){

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

    .v18-kitchen-filters{
        grid-template-columns:1fr;
    }

    .kitchen-filter-actions{
        width:100%;
    }

    .kitchen-filter-actions button,
    .kitchen-filter-actions a{
        flex:1;
    }

    .v18-results-bar{
        flex-direction:column;
        gap:4px;
    }

    .kitchen-order-age{
        margin:7px 0 0;
    }

}


/* ==========================================================
   MEEDAHS RELISH V1.8.1
   Kitchen Order Detail + Activity History
   ========================================================== */

.kitchen-header-actions{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    flex-wrap:wrap;
    gap:9px;
}

.kitchen-open-order{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:36px;
    padding:0 12px;
    border:1px solid #d7c58b;
    border-radius:8px;
    background:#fffdf7;
    color:#073d28;
    text-decoration:none;
    font-size:.78rem;
    font-weight:800;
    white-space:nowrap;
    transition:.18s ease;
}

.kitchen-open-order:hover{
    background:#073d28;
    border-color:#073d28;
    color:#fff;
}


.kitchen-detail-page{
    max-width:1380px;
    margin:0 auto;
    padding:42px 28px 70px;
}

.kitchen-detail-top{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:25px;
    margin-bottom:28px;
}

.kitchen-back{
    display:inline-block;
    margin-bottom:20px;
    color:#716c61;
    text-decoration:none;
    font-size:.9rem;
    font-weight:700;
}

.kitchen-back:hover{
    color:#073d28;
}

.kitchen-detail-eyebrow{
    margin:0 0 7px;
    color:#a17a24;
    font-size:.72rem;
    font-weight:900;
    letter-spacing:.16em;
}

.kitchen-detail-top h1{
    margin:0;
    color:#073d28;
    font-size:clamp(2rem,4vw,3.4rem);
    line-height:1;
}

.kitchen-detail-date{
    margin:10px 0 0;
    color:#777064;
    font-size:.9rem;
}

.kitchen-detail-badges{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    flex-wrap:wrap;
    gap:9px;
}

.order-status-badge{
    display:inline-flex;
    align-items:center;
    min-height:38px;
    padding:0 13px;
    border-radius:999px;
    background:#eee8d9;
    color:#073d28;
    font-size:.8rem;
    font-weight:800;
}

.kitchen-detail-grid{
    display:grid;
    grid-template-columns:
        minmax(0,1fr)
        minmax(300px,380px);
    gap:24px;
    align-items:start;
}

.kitchen-detail-main{
    display:grid;
    gap:20px;
}

.detail-card{
    background:#fff;
    border:1px solid #e4ded2;
    border-radius:16px;
    padding:24px;
    box-shadow:0 8px 28px rgba(25,38,31,.055);
}

.detail-card h2{
    margin:0 0 20px;
    color:#073d28;
    font-size:1.18rem;
}

.detail-data-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:20px;
}

.detail-data-grid div,
.detail-reference,
.detail-payment-state{
    display:flex;
    flex-direction:column;
    gap:5px;
}

.detail-data-grid span,
.detail-address span,
.detail-reference span,
.detail-payment-state > span{
    color:#8a8275;
    font-size:.72rem;
    font-weight:800;
    letter-spacing:.07em;
    text-transform:uppercase;
}

.detail-data-grid strong,
.detail-address strong{
    color:#282c29;
    font-size:.94rem;
    overflow-wrap:anywhere;
}

.detail-address{
    display:flex;
    flex-direction:column;
    gap:7px;
    margin-top:22px;
    padding-top:20px;
    border-top:1px solid #eee9df;
}

.detail-items{
    display:grid;
}

.detail-item{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    padding:15px 0;
    border-bottom:1px solid #eee9df;
}

.detail-item:last-child{
    border-bottom:0;
}

.detail-item strong{
    color:#313530;
}

.detail-totals{
    margin-top:18px;
    padding-top:17px;
    border-top:2px solid #073d28;
}

.detail-totals > div{
    display:flex;
    justify-content:space-between;
    gap:20px;
    padding:6px 0;
}

.detail-totals span{
    color:#777064;
}

.detail-total-final{
    margin-top:8px;
    padding-top:13px !important;
    border-top:1px solid #ddd5c6;
    color:#073d28;
    font-size:1.12rem;
}

.customer-order-note{
    padding:16px;
    border-radius:10px;
    background:#faf7ef;
    color:#4d4a43;
    line-height:1.7;
}


/* Activity timeline */

.order-timeline{
    position:relative;
}

.timeline-entry{
    position:relative;
    display:grid;
    grid-template-columns:18px minmax(0,1fr);
    gap:14px;
    padding:0 0 24px;
}

.timeline-entry:not(:last-child)::before{
    content:"";
    position:absolute;
    left:6px;
    top:13px;
    bottom:0;
    width:2px;
    background:#e5dcc5;
}

.timeline-dot{
    position:relative;
    z-index:1;
    width:14px;
    height:14px;
    margin-top:3px;
    border:3px solid #fff;
    border-radius:50%;
    background:#b89237;
    box-shadow:0 0 0 2px #b89237;
}

.timeline-entry strong{
    display:block;
    color:#27322c;
    line-height:1.4;
}

.timeline-entry p{
    margin:6px 0 0;
    color:#8a8275;
    font-size:.8rem;
}

.timeline-empty{
    padding:20px;
    border:1px dashed #d7cdb9;
    border-radius:11px;
    background:#faf8f2;
}

.timeline-empty strong{
    color:#073d28;
}

.timeline-empty p{
    margin:6px 0 0;
    color:#777064;
    font-size:.87rem;
}


/* Management panel */

.sticky-detail-card{
    position:sticky;
    top:95px;
}

.detail-payment-state{
    margin-bottom:18px;
    padding:16px;
    border-radius:10px;
    background:#f7f3e9;
}

.detail-reference{
    margin-bottom:17px;
}

.detail-reference strong{
    color:#303630;
    overflow-wrap:anywhere;
}

.detail-action-form{
    display:grid;
    gap:9px;
    margin-top:22px;
    padding-top:20px;
    border-top:1px solid #e7e0d4;
}

.detail-action-form label{
    color:#073d28;
    font-size:.78rem;
    font-weight:900;
    letter-spacing:.04em;
    text-transform:uppercase;
}

.detail-action-form select{
    width:100%;
    min-height:46px;
    padding:0 12px;
    border:1px solid #cec5b5;
    border-radius:9px;
    background:#fff;
    color:#272c29;
    font:inherit;
}

.detail-action-form button{
    min-height:46px;
    padding:0 15px;
    border:0;
    border-radius:9px;
    background:#073d28;
    color:#fff;
    cursor:pointer;
    font:inherit;
    font-weight:800;
}

.detail-action-form button:hover{
    opacity:.92;
}


@media(max-width:900px){

    .kitchen-detail-grid{
        grid-template-columns:1fr;
    }

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

}

@media(max-width:650px){

    .kitchen-detail-page{
        padding:28px 16px 50px;
    }

    .kitchen-detail-top{
        align-items:flex-start;
        flex-direction:column;
    }

    .kitchen-detail-badges{
        justify-content:flex-start;
    }

    .detail-data-grid{
        grid-template-columns:1fr;
    }

    .detail-card{
        padding:19px;
    }

    .kitchen-order-header{
        align-items:flex-start;
    }

    .kitchen-header-actions{
        align-items:flex-end;
        flex-direction:column;
    }

}


/* =========================================================
   MEEDAHS RELISH V1.9.0
   CUSTOMER ACCOUNT DASHBOARD
   ========================================================= */

.account-v19{
    width:min(1180px,calc(100% - 40px));
    margin:42px auto 90px;
}

.account-hero-v19{
    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(214,174,87,.20),
            transparent 35%
        ),
        #123d2d;
    color:#fff;
    padding:48px;
    border-radius:28px;
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:32px;
}

.account-hero-v19 h1{
    margin:5px 0 12px;
    max-width:700px;
    font-size:clamp(2.2rem,5vw,4rem);
    line-height:1;
}

.account-hero-v19 p{
    max-width:620px;
    margin-bottom:0;
    color:rgba(255,255,255,.78);
}

.account-eyebrow{
    margin:0 !important;
    font-size:.72rem;
    font-weight:800;
    letter-spacing:.18em;
    color:#d6ae57 !important;
}

.account-eyebrow.dark{
    color:#80621f !important;
}

.account-stats-v19{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:16px;
    margin:20px 0 54px;
}

.account-stat-card{
    padding:23px 25px;
    border:1px solid rgba(18,61,45,.10);
    border-radius:18px;
    background:#fff;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:15px;
}

.account-stat-card span{
    color:#6f746f;
    font-size:.88rem;
}

.account-stat-card strong{
    color:#123d2d;
    font-size:1.8rem;
}

.account-section-v19{
    margin-top:52px;
}

.account-section-heading{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:20px;
    margin-bottom:20px;
}

.account-section-heading h2{
    margin:5px 0 0;
    color:#173d30;
    font-size:2rem;
}

.account-section-heading > a{
    color:#80621f;
    font-weight:700;
    text-decoration:none;
}

.account-live-badge{
    border-radius:999px;
    padding:8px 13px;
    background:#edf7f1;
    color:#21663f;
    font-size:.72rem;
    font-weight:800;
    letter-spacing:.08em;
}

.active-order-v19{
    background:#fff;
    border:1px solid rgba(18,61,45,.10);
    border-radius:24px;
    padding:30px;
    box-shadow:0 18px 50px rgba(26,47,38,.06);
}

.active-order-top{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:20px;
}

.active-order-top small,
.account-order-main small{
    color:#8a8e89;
    font-weight:700;
    letter-spacing:.1em;
}

.active-order-top h3,
.account-order-main h3{
    margin:5px 0;
    color:#173d30;
}

.active-order-top p,
.account-order-main p{
    margin:0;
    color:#7a7f7a;
    font-size:.88rem;
}

.account-order-status{
    display:inline-flex;
    align-items:center;
    border-radius:999px;
    padding:8px 12px;
    background:#f1f4f2;
    color:#254b3b;
    font-size:.76rem;
    font-weight:800;
}

.account-progress-v19{
    display:flex;
    align-items:flex-start;
    margin:38px 0;
}

.progress-step{
    width:74px;
    text-align:center;
    flex:0 0 auto;
}

.progress-step span{
    width:34px;
    height:34px;
    margin:0 auto 8px;
    border-radius:50%;
    display:grid;
    place-items:center;
    border:2px solid #d7ddd9;
    background:#fff;
    color:#8b918d;
    font-weight:800;
}

.progress-step small{
    color:#7a807c;
    font-size:.72rem;
}

.progress-step.complete span{
    border-color:#173d30;
    background:#173d30;
    color:#fff;
}

.progress-step.complete small{
    color:#173d30;
    font-weight:700;
}

.progress-line{
    height:2px;
    background:#dfe4e1;
    flex:1;
    margin-top:16px;
}

.progress-line.complete{
    background:#173d30;
}

.active-order-bottom{
    border-top:1px solid #edf0ee;
    padding-top:22px;
    display:flex;
    align-items:center;
    gap:35px;
}

.active-order-bottom div{
    display:flex;
    flex-direction:column;
    gap:4px;
}

.active-order-bottom span{
    color:#898e8a;
    font-size:.75rem;
    text-transform:uppercase;
    letter-spacing:.08em;
}

.active-order-bottom strong{
    color:#173d30;
}

.account-secondary-button{
    margin-left:auto;
    text-decoration:none;
    padding:12px 18px;
    border:1px solid #173d30;
    border-radius:999px;
    color:#173d30;
    font-size:.78rem;
    font-weight:800;
}

.account-orders-v19{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:16px;
}

.account-order-card{
    background:#fff;
    border:1px solid rgba(18,61,45,.10);
    border-radius:20px;
    padding:22px;
}

.account-order-main{
    display:flex;
    justify-content:space-between;
    gap:20px;
}

.account-order-price{
    color:#173d30;
    font-weight:800;
    white-space:nowrap;
}

.account-order-footer{
    border-top:1px solid #edf0ee;
    margin-top:18px;
    padding-top:16px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:15px;
}

.account-order-actions a{
    color:#80621f;
    font-weight:800;
    text-decoration:none;
    font-size:.82rem;
}

.account-empty-v19,
.account-empty-small-v19{
    background:#fff;
    border:1px dashed rgba(18,61,45,.20);
    border-radius:22px;
    padding:38px;
    text-align:center;
}

.account-empty-icon{
    width:54px;
    height:54px;
    margin:0 auto 16px;
    border-radius:50%;
    display:grid;
    place-items:center;
    background:#173d30;
    color:#d6ae57;
    font-weight:800;
}

.account-empty-v19 h3{
    color:#173d30;
    margin-bottom:8px;
}

.account-empty-v19 p,
.account-empty-small-v19 p{
    max-width:540px;
    margin:0 auto 20px;
    color:#727873;
}

.account-empty-small-v19 a{
    color:#80621f;
    font-weight:800;
}

.account-favourites-v19{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:18px;
}

.account-favourite-card{
    overflow:hidden;
    background:#fff;
    border:1px solid rgba(18,61,45,.10);
    border-radius:20px;
}

.account-favourite-image{
    aspect-ratio:16/10;
    background:#f0ede4;
    overflow:hidden;
}

.account-favourite-image img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.account-product-placeholder{
    width:100%;
    height:100%;
    display:grid;
    place-items:center;
    color:#d6ae57;
    background:#173d30;
    font-size:2rem;
    font-weight:800;
}

.account-favourite-body{
    padding:18px;
    display:flex;
    justify-content:space-between;
    align-items:flex-end;
    gap:15px;
}

.account-favourite-body h3{
    margin:0 0 5px;
    color:#173d30;
    font-size:1rem;
}

.account-favourite-body strong{
    color:#80621f;
}

.account-favourite-body a{
    color:#173d30;
    font-weight:800;
    text-decoration:none;
    white-space:nowrap;
}

.account-profile-v19{
    margin-top:58px;
    border-radius:24px;
    padding:30px;
    background:#173d30;
    color:#fff;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:25px;
}

.account-profile-v19 h2{
    margin:5px 0;
    color:#fff;
}

.account-profile-v19 > div > p:last-child{
    color:rgba(255,255,255,.72);
}

.account-logout-button{
    cursor:pointer;
    border:1px solid rgba(255,255,255,.35);
    border-radius:999px;
    background:transparent;
    color:#fff;
    padding:11px 18px;
    font:inherit;
    font-weight:700;
}

@media(max-width:900px){

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

    .account-orders-v19{
        grid-template-columns:1fr;
    }

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

    .account-progress-v19{
        overflow-x:auto;
        padding-bottom:8px;
    }

    .progress-line{
        min-width:35px;
    }
}

@media(max-width:650px){

    .account-v19{
        width:min(100% - 24px,1180px);
        margin-top:20px;
    }

    .account-hero-v19{
        padding:30px 24px;
        border-radius:22px;
        flex-direction:column;
        align-items:flex-start;
    }

    .account-stats-v19{
        gap:10px;
        margin-bottom:38px;
    }

    .account-stat-card{
        padding:17px;
        flex-direction:column;
        align-items:flex-start;
    }

    .account-section-v19{
        margin-top:38px;
    }

    .active-order-v19{
        padding:20px;
    }

    .active-order-top{
        flex-direction:column;
    }

    .active-order-bottom{
        align-items:flex-start;
        flex-wrap:wrap;
        gap:20px;
    }

    .account-secondary-button{
        width:100%;
        margin-left:0;
        text-align:center;
    }

    .account-favourites-v19{
        grid-template-columns:1fr;
    }

    .account-profile-v19{
        align-items:flex-start;
        flex-direction:column;
    }
}


/* =========================================================
   V1.9.0 CUSTOMER ORDER DETAIL
   ========================================================= */

.customer-order-detail-v19{
    width:min(1180px,calc(100% - 40px));
    margin:34px auto 90px;
}

.customer-order-nav{
    margin-bottom:18px;
}

.customer-order-nav a{
    color:#173d30;
    text-decoration:none;
    font-weight:700;
}

.customer-order-hero{
    background:#173d30;
    color:#fff;
    border-radius:26px;
    padding:38px 42px;
    display:flex;
    justify-content:space-between;
    align-items:flex-end;
    gap:30px;
}

.customer-order-hero h1{
    margin:6px 0;
    color:#fff;
    font-size:clamp(2.1rem,5vw,3.8rem);
}

.customer-order-hero p:last-child{
    margin:0;
    color:rgba(255,255,255,.7);
}

.customer-order-hero-status{
    display:flex;
    flex-wrap:wrap;
    justify-content:flex-end;
    gap:8px;
}

.customer-order-hero .account-order-status{
    background:#fff;
}

.customer-payment-badge{
    display:inline-flex;
    align-items:center;
    padding:8px 12px;
    border-radius:999px;
    background:#d6ae57;
    color:#173d30;
    font-size:.76rem;
    font-weight:800;
}

.customer-order-progress-card{
    margin-top:16px;
    background:#fff;
    border:1px solid rgba(18,61,45,.10);
    border-radius:22px;
    padding:10px 30px;
}

.customer-order-grid{
    display:grid;
    grid-template-columns:minmax(0,1.65fr) minmax(300px,.75fr);
    gap:22px;
    margin-top:22px;
    align-items:start;
}

.customer-order-main{
    display:grid;
    gap:22px;
}

.customer-detail-card{
    background:#fff;
    border:1px solid rgba(18,61,45,.10);
    border-radius:22px;
    padding:27px;
}

.customer-detail-heading{
    display:flex;
    justify-content:space-between;
    align-items:flex-end;
    gap:20px;
    margin-bottom:20px;
}

.customer-detail-card h2{
    margin:5px 0 0;
    color:#173d30;
}

.customer-order-items{
    display:grid;
}

.customer-order-item{
    display:flex;
    justify-content:space-between;
    gap:25px;
    padding:16px 0;
    border-bottom:1px solid #edf0ee;
}

.customer-order-item > div{
    display:flex;
    flex-direction:column;
    gap:4px;
}

.customer-order-item span{
    color:#818681;
    font-size:.82rem;
}

.customer-order-item strong{
    color:#173d30;
}

.customer-order-totals{
    padding-top:17px;
}

.customer-order-totals > div{
    display:flex;
    justify-content:space-between;
    gap:25px;
    padding:6px 0;
}

.customer-order-totals span{
    color:#777d78;
}

.customer-grand-total{
    margin-top:8px;
    padding-top:15px !important;
    border-top:1px solid #dfe4e1;
    color:#173d30;
    font-size:1.1rem;
}

.customer-activity-timeline{
    position:relative;
}

.customer-activity-entry{
    position:relative;
    display:grid;
    grid-template-columns:18px 1fr;
    gap:14px;
    padding-bottom:23px;
}

.customer-activity-entry:not(:last-child)::before{
    content:"";
    position:absolute;
    left:5px;
    top:13px;
    bottom:0;
    width:2px;
    background:#e3e7e4;
}

.customer-activity-dot{
    position:relative;
    z-index:1;
    width:12px;
    height:12px;
    margin-top:4px;
    border-radius:50%;
    background:#d6ae57;
    border:3px solid #173d30;
    box-sizing:border-box;
}

.customer-activity-entry > div:last-child{
    display:flex;
    flex-direction:column;
    gap:5px;
}

.customer-activity-entry strong{
    color:#173d30;
}

.customer-activity-entry span{
    color:#8a8f8b;
    font-size:.8rem;
}

.customer-activity-empty{
    color:#777d78;
}

.customer-order-note{
    margin-bottom:0;
    color:#656b66;
    line-height:1.7;
}

.customer-sticky-card{
    position:sticky;
    top:105px;
}

.customer-info-list{
    display:grid;
    margin-top:20px;
}

.customer-info-list > div{
    display:grid;
    gap:4px;
    padding:13px 0;
    border-bottom:1px solid #edf0ee;
}

.customer-info-list span{
    color:#858b86;
    font-size:.75rem;
    text-transform:uppercase;
    letter-spacing:.07em;
}

.customer-info-list strong{
    color:#173d30;
    overflow-wrap:anywhere;
}

.customer-track-button{
    display:block;
    margin-top:22px;
    padding:13px 18px;
    border-radius:999px;
    background:#173d30;
    color:#fff;
    text-align:center;
    text-decoration:none;
    font-size:.8rem;
    font-weight:800;
}

@media(max-width:900px){

    .customer-order-grid{
        grid-template-columns:1fr;
    }

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

@media(max-width:650px){

    .customer-order-detail-v19{
        width:min(100% - 24px,1180px);
        margin-top:20px;
    }

    .customer-order-hero{
        padding:28px 23px;
        flex-direction:column;
        align-items:flex-start;
    }

    .customer-order-hero-status{
        justify-content:flex-start;
    }

    .customer-order-progress-card{
        padding:5px 16px;
        overflow:hidden;
    }

    .customer-detail-card{
        padding:21px;
    }
}

.account-order-actions{
    display:flex;
    align-items:center;
    gap:15px;
}


/* =========================================================
   V1.9.0 — ORDER AGAIN UI
   ========================================================= */

.account-order-again-form{
    display:inline-flex;
    margin:0;
    padding:0;
}

.account-order-again-form button{
    appearance:none;
    border:0;
    background:transparent;
    padding:0;
    margin:0;
    color:#80621f;
    font:inherit;
    font-size:.82rem;
    font-weight:800;
    cursor:pointer;
}

.account-order-again-form button:hover{
    text-decoration:underline;
}

.customer-order-again-form{
    width:100%;
    margin:10px 0 0;
}

.customer-order-again-button{
    width:100%;
    border:1px solid #173d30;
    border-radius:999px;
    background:#d6ae57;
    color:#173d30;
    padding:13px 18px;
    font:inherit;
    font-size:.8rem;
    font-weight:800;
    letter-spacing:.04em;
    cursor:pointer;
    transition:
        transform .15s ease,
        filter .15s ease;
}

.customer-order-again-button:hover{
    filter:brightness(.97);
    transform:translateY(-1px);
}

.customer-order-again-button:active{
    transform:translateY(0);
}


/* =========================================================
   V1.9.0 — ORDER AGAIN UI
   ========================================================= */

.account-order-again-form{
    display:inline-flex;
    align-items:center;
    margin:0;
    padding:0;
}

.account-order-again-form button{
    appearance:none;
    border:0;
    background:transparent;
    padding:0;
    margin:0;
    color:#80621f;
    font:inherit;
    font-size:.82rem;
    font-weight:800;
    cursor:pointer;
}

.account-order-again-form button:hover{
    text-decoration:underline;
}

.customer-order-again-form{
    width:100%;
    margin:10px 0 0;
}

.customer-order-again-button{
    width:100%;
    border:1px solid #173d30;
    border-radius:999px;
    background:#d6ae57;
    color:#173d30;
    padding:13px 18px;
    font:inherit;
    font-size:.8rem;
    font-weight:800;
    letter-spacing:.04em;
    cursor:pointer;
    transition:transform .15s ease, filter .15s ease;
}

.customer-order-again-button:hover{
    filter:brightness(.97);
    transform:translateY(-1px);
}

.customer-order-again-button:active{
    transform:translateY(0);
}

@media (max-width:700px){
    .account-order-actions{
        flex-wrap:wrap;
    }

    .customer-order-again-button{
        min-height:46px;
    }
}


/* =========================================================
   V1.9.0 — CUSTOMER PROFILE + SIGNUP
   ========================================================= */


/* ACCOUNT PROFILE */

.account-profile-v19{
    margin-top:58px;
    border-radius:28px;
    padding:34px;
    background:#173d30;
    color:#fff;
    display:block;
    overflow:hidden;
    position:relative;
}

.account-profile-v19::before{
    content:"";
    position:absolute;
    width:260px;
    height:260px;
    border-radius:50%;
    right:-110px;
    top:-120px;
    background:rgba(203,165,83,.10);
    pointer-events:none;
}

.account-profile-heading-v19{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:35px;
    padding-bottom:28px;
    border-bottom:1px solid rgba(255,255,255,.12);
    position:relative;
    z-index:1;
}

.account-profile-heading-v19 h2{
    color:#fff;
    margin:5px 0 8px;
    font-size:clamp(1.8rem,3vw,2.5rem);
}

.account-profile-heading-v19 p:last-child{
    max-width:600px;
    margin:0;
    color:rgba(255,255,255,.72);
    line-height:1.7;
}

.account-identity-v19{
    display:flex;
    align-items:center;
    gap:13px;
    min-width:max-content;
}

.account-avatar-v19{
    width:48px;
    height:48px;
    border-radius:50%;
    display:grid;
    place-items:center;
    background:#cba553;
    color:#173d30;
    font-weight:900;
    font-size:1.1rem;
}

.account-identity-v19 div{
    display:flex;
    flex-direction:column;
    gap:2px;
}

.account-identity-v19 span{
    font-size:.76rem;
    color:rgba(255,255,255,.58);
}

.account-identity-v19 strong{
    color:#fff;
    font-size:.94rem;
}

.account-profile-form-v19{
    position:relative;
    z-index:1;
    padding:30px 0;
}

.account-form-grid-v19{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:20px;
}

.account-field-v19{
    display:flex;
    flex-direction:column;
    gap:8px;
}

.account-field-wide-v19{
    grid-column:1 / -1;
}

.account-field-v19 label{
    color:#fff;
    font-size:.79rem;
    font-weight:800;
    letter-spacing:.04em;
}

.account-field-v19 input,
.account-field-v19 textarea{
    width:100%;
    box-sizing:border-box;
    border:1px solid rgba(255,255,255,.17);
    border-radius:13px;
    padding:14px 15px;
    background:rgba(255,255,255,.075);
    color:#fff;
    font:inherit;
    outline:none;
    transition:
        border-color .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}

.account-field-v19 textarea{
    min-height:105px;
    resize:vertical;
}

.account-field-v19 input:focus,
.account-field-v19 textarea:focus{
    border-color:#cba553;
    background:rgba(255,255,255,.11);
    box-shadow:0 0 0 3px rgba(203,165,83,.13);
}

.account-field-help-v19{
    color:rgba(255,255,255,.55);
    font-size:.76rem;
    line-height:1.5;
}

.account-field-error-v19{
    color:#ffd1cc;
    font-weight:700;
}

.account-form-errors-v19{
    margin-bottom:20px;
    padding:13px 15px;
    border-radius:12px;
    background:rgba(166,47,35,.28);
    color:#fff;
}

.account-profile-actions-v19{
    margin-top:24px;
    display:flex;
    align-items:center;
    gap:18px;
}

.account-save-button-v19{
    appearance:none;
    border:0;
    border-radius:999px;
    padding:14px 24px;
    background:#cba553;
    color:#173d30;
    font:inherit;
    font-size:.82rem;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.07em;
    cursor:pointer;
    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.account-save-button-v19:hover{
    transform:translateY(-2px);
    box-shadow:0 9px 24px rgba(0,0,0,.18);
}

.account-save-note-v19{
    color:rgba(255,255,255,.55);
    font-size:.78rem;
}

.account-profile-footer-v19{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    padding-top:24px;
    border-top:1px solid rgba(255,255,255,.12);
    position:relative;
    z-index:1;
}

.account-profile-footer-v19 > div{
    display:flex;
    flex-direction:column;
    gap:3px;
}

.account-profile-footer-v19 strong{
    color:#fff;
    font-size:.85rem;
}

.account-profile-footer-v19 span{
    color:rgba(255,255,255,.55);
    font-size:.76rem;
}


/* SIGNUP */

.signup-v19{
    width:min(1180px,calc(100% - 40px));
    margin:42px auto 80px;
}

.signup-shell-v19{
    display:grid;
    grid-template-columns:.9fr 1.1fr;
    min-height:690px;
    border-radius:30px;
    overflow:hidden;
    background:#fff;
    box-shadow:0 20px 60px rgba(23,61,48,.10);
}

.signup-intro-v19{
    position:relative;
    overflow:hidden;
    padding:60px 48px;
    background:#173d30;
    color:#fff;
}

.signup-intro-v19::after{
    content:"";
    position:absolute;
    width:360px;
    height:360px;
    border-radius:50%;
    right:-180px;
    bottom:-180px;
    border:70px solid rgba(203,165,83,.10);
}

.signup-eyebrow-v19{
    margin:0 0 18px;
    color:#d9b967;
    font-size:.73rem;
    font-weight:900;
    letter-spacing:.15em;
}

.signup-intro-v19 h1{
    max-width:520px;
    margin:0;
    color:#fff;
    font-size:clamp(2.3rem,4vw,4rem);
    line-height:1.04;
}

.signup-lead-v19{
    max-width:500px;
    margin:25px 0 40px;
    color:rgba(255,255,255,.70);
    line-height:1.8;
}

.signup-benefits-v19{
    display:grid;
    gap:22px;
    position:relative;
    z-index:1;
}

.signup-benefits-v19 > div{
    display:flex;
    align-items:flex-start;
    gap:16px;
}

.signup-benefits-v19 > div > span{
    width:38px;
    height:38px;
    flex:0 0 38px;
    border-radius:50%;
    display:grid;
    place-items:center;
    border:1px solid rgba(203,165,83,.55);
    color:#d9b967;
    font-size:.68rem;
    font-weight:900;
}

.signup-benefits-v19 p{
    display:flex;
    flex-direction:column;
    gap:4px;
    margin:0;
    color:rgba(255,255,255,.60);
    font-size:.86rem;
    line-height:1.5;
}

.signup-benefits-v19 strong{
    color:#fff;
    font-size:.94rem;
}

.signup-card-v19{
    padding:54px;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.signup-card-heading-v19{
    margin-bottom:28px;
}

.signup-card-heading-v19 > p{
    margin:0 0 7px;
    color:#a17b29;
    font-size:.7rem;
    font-weight:900;
    letter-spacing:.13em;
}

.signup-card-heading-v19 h2{
    margin:0 0 7px;
    color:#173d30;
    font-size:2.15rem;
}

.signup-card-heading-v19 > span{
    color:#70756f;
    font-size:.9rem;
}

.signup-grid-v19{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:17px;
}

.signup-field-v19{
    display:flex;
    flex-direction:column;
    gap:7px;
}

.signup-field-wide-v19{
    grid-column:1 / -1;
}

.signup-field-v19 label{
    color:#24483b;
    font-size:.78rem;
    font-weight:800;
}

.signup-field-v19 input{
    width:100%;
    box-sizing:border-box;
    border:1px solid #d9ded9;
    border-radius:12px;
    padding:13px 14px;
    background:#fbfcfa;
    color:#173d30;
    font:inherit;
    outline:none;
    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}

.signup-field-v19 input:focus{
    border-color:#b6903e;
    background:#fff;
    box-shadow:0 0 0 3px rgba(182,144,62,.11);
}

.signup-error-v19{
    color:#a63a31;
    font-size:.75rem;
    font-weight:700;
}

.signup-errors-v19{
    margin-bottom:18px;
    padding:12px 14px;
    border-radius:11px;
    background:#fff0ee;
    color:#8d3028;
}

.signup-password-note-v19{
    margin-top:15px;
    color:#858a85;
    font-size:.76rem;
    line-height:1.5;
}

.signup-submit-v19{
    width:100%;
    margin-top:22px;
    appearance:none;
    border:0;
    border-radius:999px;
    padding:15px 20px;
    background:#173d30;
    color:#fff;
    font:inherit;
    font-size:.82rem;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.08em;
    cursor:pointer;
    transition:
        transform .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}

.signup-submit-v19:hover{
    transform:translateY(-2px);
    background:#204f3f;
    box-shadow:0 10px 25px rgba(23,61,48,.18);
}

.signup-login-v19{
    margin-top:22px;
    padding-top:20px;
    border-top:1px solid #edf0ec;
    text-align:center;
    color:#777d77;
    font-size:.86rem;
}

.signup-login-v19 a{
    color:#876820;
    font-weight:900;
    text-decoration:none;
}

.signup-login-v19 a:hover{
    text-decoration:underline;
}


/* STAGE 6 MOBILE */

@media(max-width:850px){

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

    .signup-intro-v19{
        padding:42px 34px;
    }

    .signup-intro-v19 h1{
        font-size:2.6rem;
    }

    .signup-benefits-v19{
        display:none;
    }

    .signup-card-v19{
        padding:40px 34px;
    }
}

@media(max-width:650px){

    .account-profile-v19{
        padding:25px 20px;
        border-radius:22px;
    }

    .account-profile-heading-v19{
        flex-direction:column;
        gap:20px;
    }

    .account-form-grid-v19{
        grid-template-columns:1fr;
    }

    .account-field-wide-v19{
        grid-column:auto;
    }

    .account-profile-actions-v19{
        flex-direction:column;
        align-items:stretch;
    }

    .account-save-button-v19{
        width:100%;
    }

    .account-save-note-v19{
        text-align:center;
    }

    .account-profile-footer-v19{
        flex-direction:column;
        align-items:flex-start;
    }

    .account-profile-footer-v19 form,
    .account-logout-button{
        width:100%;
    }

    .signup-v19{
        width:min(100% - 24px,1180px);
        margin:22px auto 55px;
    }

    .signup-shell-v19{
        border-radius:22px;
    }

    .signup-intro-v19{
        padding:34px 24px;
    }

    .signup-intro-v19 h1{
        font-size:2.15rem;
    }

    .signup-lead-v19{
        margin-bottom:0;
    }

    .signup-card-v19{
        padding:32px 22px;
    }

    .signup-grid-v19{
        grid-template-columns:1fr;
    }

    .signup-field-wide-v19{
        grid-column:auto;
    }
}


/* =========================================================
   V1.9.0 CUSTOMER LOGIN
   ========================================================= */

.login-v19{
    width:min(1180px,calc(100% - 40px));
    margin:42px auto 80px;
}

.login-shell-v19{
    display:grid;
    grid-template-columns:.95fr 1.05fr;
    min-height:650px;
    border-radius:30px;
    overflow:hidden;
    background:#fff;
    box-shadow:0 20px 60px rgba(23,61,48,.10);
}

.login-intro-v19{
    position:relative;
    overflow:hidden;
    padding:64px 50px;
    background:#173d30;
    color:#fff;
}

.login-intro-v19::after{
    content:"";
    position:absolute;
    width:360px;
    height:360px;
    right:-180px;
    bottom:-180px;
    border:70px solid rgba(203,165,83,.10);
    border-radius:50%;
}

.login-eyebrow-v19{
    position:relative;
    z-index:1;
    margin:0 0 18px;
    color:#d9b967;
    font-size:.73rem;
    font-weight:900;
    letter-spacing:.15em;
}

.login-intro-v19 h1{
    position:relative;
    z-index:1;
    max-width:520px;
    margin:0;
    color:#fff;
    font:700 clamp(2.3rem,4vw,4rem)/1.04 Georgia,serif;
    letter-spacing:-.03em;
}

.login-lead-v19{
    position:relative;
    z-index:1;
    max-width:500px;
    margin:25px 0 40px;
    color:rgba(255,255,255,.70);
    line-height:1.8;
}

.login-benefits-v19{
    position:relative;
    z-index:1;
    display:grid;
    gap:22px;
}

.login-benefits-v19 > div{
    display:flex;
    align-items:flex-start;
    gap:16px;
}

.login-benefits-v19 > div > span{
    display:grid;
    place-items:center;
    width:38px;
    height:38px;
    flex:0 0 38px;
    border:1px solid rgba(217,185,103,.45);
    border-radius:50%;
    color:#d9b967;
    font-size:.72rem;
    font-weight:900;
}

.login-benefits-v19 p{
    margin:0;
    color:rgba(255,255,255,.68);
    font-size:.88rem;
    line-height:1.55;
}

.login-benefits-v19 strong{
    display:block;
    margin-bottom:4px;
    color:#fff;
    font-size:.95rem;
}

.login-card-v19{
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding:60px clamp(32px,6vw,80px);
}

.login-card-heading-v19{
    margin-bottom:32px;
}

.login-card-heading-v19 > p{
    margin:0 0 8px;
    color:#a77d29;
    font-size:.7rem;
    font-weight:900;
    letter-spacing:.15em;
}

.login-card-heading-v19 h2{
    margin:0 0 10px;
    color:#173d30;
    font:700 2.35rem Georgia,serif;
}

.login-card-heading-v19 > span{
    color:#777;
    font-size:.9rem;
    line-height:1.6;
}

.login-form-v19{
    display:grid;
    gap:20px;
}

.login-field-v19{
    display:grid;
    gap:8px;
}

.login-field-v19 label{
    color:#173d30;
    font-size:.78rem;
    font-weight:800;
}

.login-field-v19 input{
    width:100%;
    padding:14px 15px;
    border:1px solid #ddd7cc;
    border-radius:11px;
    outline:none;
    background:#fff;
    color:#222;
    font:inherit;
    transition:border-color .18s ease,
               box-shadow .18s ease;
}

.login-field-v19 input:focus{
    border-color:#cba553;
    box-shadow:0 0 0 3px rgba(203,165,83,.13);
}

.login-errors-v19{
    padding:13px 15px;
    border-radius:11px;
    background:#fff1ef;
    color:#9a3028;
    font-size:.82rem;
}

.login-errors-v19 ul{
    margin:0;
    padding-left:18px;
}

.login-error-v19{
    color:#a62f23;
    font-size:.76rem;
}

.login-submit-v19{
    appearance:none;
    width:100%;
    margin-top:6px;
    padding:15px 20px;
    border:0;
    border-radius:999px;
    background:#173d30;
    color:#fff;
    cursor:pointer;
    font:inherit;
    font-weight:800;
    transition:transform .18s ease,
               background .18s ease;
}

.login-submit-v19:hover{
    background:#0e3024;
    transform:translateY(-1px);
}

.login-create-v19{
    display:flex;
    justify-content:center;
    gap:6px;
    flex-wrap:wrap;
    margin-top:28px;
    color:#777;
    font-size:.86rem;
}

.login-create-v19 a{
    color:#173d30;
    font-weight:800;
    text-decoration:none;
}

.login-create-v19 a:hover{
    text-decoration:underline;
}

.login-guest-v19{
    display:flex;
    align-items:center;
    gap:12px;
    margin:24px 0 16px;
    color:#aaa;
    font-size:.75rem;
}

.login-guest-v19::before,
.login-guest-v19::after{
    content:"";
    height:1px;
    flex:1;
    background:#ece7df;
}

.login-menu-v19{
    display:block;
    padding:13px 18px;
    border:1px solid #ddd7cc;
    border-radius:999px;
    color:#173d30;
    text-align:center;
    text-decoration:none;
    font-size:.84rem;
    font-weight:800;
}

.login-menu-v19:hover{
    border-color:#cba553;
    background:#fcfaf5;
}


@media(max-width:800px){

    .login-v19{
        width:min(100% - 24px,680px);
        margin:24px auto 92px;
    }

    .login-shell-v19{
        grid-template-columns:1fr;
        min-height:0;
        border-radius:22px;
    }

    .login-intro-v19{
        padding:42px 28px;
    }

    .login-intro-v19 h1{
        font-size:clamp(2rem,10vw,3rem);
    }

    .login-lead-v19{
        margin-bottom:30px;
    }

    .login-benefits-v19{
        gap:17px;
    }

    .login-card-v19{
        padding:42px 28px;
    }

}


@media(max-width:480px){

    .login-intro-v19{
        padding:36px 22px;
    }

    .login-card-v19{
        padding:36px 22px;
    }

    .login-benefits-v19 > div:nth-child(3){
        display:none;
    }

}


/* =========================================================
   V1.9.0 PROFILE EDIT MODE
   ========================================================= */

.account-heading-actions-v19{
    display:flex;
    align-items:center;
    gap:20px;
}

.account-edit-button-v19{
    appearance:none;
    border:1px solid rgba(203,165,83,.65);
    border-radius:999px;
    padding:11px 18px;
    background:transparent;
    color:#d9b967;
    cursor:pointer;
    font:inherit;
    font-size:.78rem;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.06em;
    transition:
        background .2s ease,
        color .2s ease,
        transform .2s ease;
}

.account-edit-button-v19:hover{
    background:#cba553;
    color:#173d30;
    transform:translateY(-1px);
}

.account-cancel-button-v19{
    appearance:none;
    border:1px solid rgba(255,255,255,.32);
    border-radius:999px;
    padding:13px 22px;
    background:transparent;
    color:#fff;
    cursor:pointer;
    font:inherit;
    font-size:.82rem;
    font-weight:800;
}

.account-cancel-button-v19:hover{
    border-color:#fff;
    background:rgba(255,255,255,.07);
}


/* READ-ONLY DISPLAY STATE */

.account-profile-form-v19:not(.is-editing)
.account-field-v19 input[readonly],

.account-profile-form-v19:not(.is-editing)
.account-field-v19 textarea[readonly]{

    opacity:1;
    cursor:default;
    border-color:transparent;
    background:transparent;
    padding-left:0;
    padding-right:0;
    color:#fff;
    -webkit-text-fill-color:#fff;
}


/* EDIT STATE */

.account-profile-form-v19.is-editing
.account-field-v19 input,

.account-profile-form-v19.is-editing
.account-field-v19 textarea{

    border-color:rgba(255,255,255,.22);
    background:rgba(255,255,255,.09);
}


/* HTML hidden attribute must win */

.account-profile-v19 [hidden]{
    display:none !important;
}


@media(max-width:800px){

    .account-heading-actions-v19{
        width:100%;
        align-items:flex-start;
        justify-content:space-between;
        flex-wrap:wrap;
    }

    .account-profile-actions-v19{
        align-items:flex-start;
        flex-wrap:wrap;
    }

}


@media(max-width:520px){

    .account-heading-actions-v19{
        flex-direction:column;
    }

    .account-edit-button-v19{
        width:100%;
    }

    .account-save-button-v19,
    .account-cancel-button-v19{
        width:100%;
    }

    .account-save-note-v19{
        width:100%;
    }

}


/* ==========================================================
   MEEDAHS RELISH V2.0 — BUSINESS MANAGEMENT
   ========================================================== */

.mgmt-v20 {
    max-width: 1380px;
    margin: 0 auto;
    padding: 32px 24px 70px;
}

.mgmt-hero-v20 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 38px 40px;
    border-radius: 28px;
    background:
        linear-gradient(
            135deg,
            #073d28 0%,
            #0b5137 100%
        );
    color: #fff;
    box-shadow: 0 18px 45px rgba(7, 61, 40, .16);
}

.mgmt-eyebrow-v20 {
    display: block;
    margin-bottom: 10px;
    color: #d9b55b;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
}

.mgmt-hero-v20 h1 {
    margin: 0 0 8px;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.05;
}

.mgmt-hero-v20 p {
    max-width: 650px;
    margin: 0;
    color: rgba(255, 255, 255, .78);
}

.mgmt-hero-actions-v20 {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.mgmt-button-v20 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 800;
}

.mgmt-button-light-v20 {
    background: #fff;
    color: #073d28;
}

.mgmt-button-outline-v20 {
    border: 1px solid rgba(255,255,255,.35);
    color: #fff;
}

.mgmt-nav-v20 {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    margin: 18px 0 34px;
    padding: 8px;
    border: 1px solid #eadfca;
    border-radius: 18px;
    background: #fff;
}

.mgmt-nav-v20 a,
.mgmt-nav-v20 span {
    flex: 0 0 auto;
    padding: 10px 15px;
    border-radius: 11px;
    color: #59635d;
    text-decoration: none;
    font-weight: 700;
}

.mgmt-nav-v20 .active {
    background: #073d28;
    color: #fff;
}

.mgmt-section-heading-v20 {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin: 28px 0 14px;
}

.mgmt-section-heading-v20 span,
.mgmt-panel-heading-v20 span {
    color: #a67b28;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.mgmt-section-heading-v20 h2,
.mgmt-panel-heading-v20 h2 {
    margin: 3px 0 0;
    color: #073d28;
}

.mgmt-section-heading-v20 p {
    margin: 0;
    color: #7b817d;
}

.mgmt-kpi-grid-v20 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.mgmt-kpi-v20 {
    padding: 22px;
    border: 1px solid #eadfca;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 8px 25px rgba(30, 40, 35, .05);
}

.mgmt-kpi-v20 > span {
    display: block;
    color: #68716c;
    font-size: 13px;
    font-weight: 700;
}

.mgmt-kpi-v20 strong {
    display: block;
    margin: 8px 0 6px;
    color: #073d28;
    font-size: clamp(25px, 3vw, 34px);
}

.mgmt-kpi-v20 small {
    color: #8a908c;
}

.mgmt-pipeline-v20 {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid #eadfca;
    border-radius: 20px;
    background: #fff;
}

.mgmt-pipeline-v20 div {
    padding: 24px 18px;
    text-align: center;
    border-right: 1px solid #eee4d2;
}

.mgmt-pipeline-v20 div:last-child {
    border-right: 0;
}

.mgmt-pipeline-v20 strong {
    display: block;
    color: #073d28;
    font-size: 30px;
}

.mgmt-pipeline-v20 span {
    display: block;
    margin-top: 5px;
    color: #747c77;
    font-size: 13px;
    font-weight: 700;
}

.mgmt-two-column-v20 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 28px;
}

.mgmt-panel-v20 {
    overflow: hidden;
    border: 1px solid #eadfca;
    border-radius: 22px;
    background: #fff;
}

.mgmt-panel-heading-v20 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px;
    border-bottom: 1px solid #eee4d2;
}

.mgmt-panel-heading-v20 a {
    color: #9a7125;
    font-weight: 800;
    text-decoration: none;
}

.mgmt-order-row-v20 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 17px 22px;
    border-bottom: 1px solid #f0eadf;
    color: inherit;
    text-decoration: none;
    transition: background .15s ease;
}

.mgmt-order-row-v20:last-child {
    border-bottom: 0;
}

.mgmt-order-row-v20:hover {
    background: #fbf8f1;
}

.mgmt-order-row-v20 > div:last-child {
    text-align: right;
}

.mgmt-order-row-v20 strong,
.mgmt-order-row-v20 span {
    display: block;
}

.mgmt-order-row-v20 strong {
    color: #073d28;
}

.mgmt-order-row-v20 span {
    margin-top: 3px;
    color: #818782;
    font-size: 12px;
}

.mgmt-empty-v20 {
    padding: 36px 22px;
    color: #777f7a;
    text-align: center;
}

@media (max-width: 950px) {

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

    .mgmt-two-column-v20 {
        grid-template-columns: 1fr;
    }

    .mgmt-pipeline-v20 {
        grid-template-columns: repeat(5, 150px);
        overflow-x: auto;
    }

}

@media (max-width: 650px) {

    .mgmt-v20 {
        padding: 18px 14px 90px;
    }

    .mgmt-hero-v20 {
        align-items: flex-start;
        flex-direction: column;
        padding: 28px 22px;
        border-radius: 22px;
    }

    .mgmt-kpi-grid-v20 {
        grid-template-columns: 1fr;
    }

    .mgmt-section-heading-v20 {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .mgmt-order-row-v20 {
        align-items: flex-start;
    }

}


/* ==========================================================
   V2.0 — MANAGEMENT ORDERS
   ========================================================== */

.mgmt-page-header-v20,
.mgmt-detail-header-v20 {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 20px;
}

.mgmt-page-header-v20 h1,
.mgmt-detail-header-v20 h1 {
    margin: 4px 0 6px;
    color: #073d28;
    font-size: clamp(32px, 4vw, 48px);
}

.mgmt-page-header-v20 p,
.mgmt-detail-header-v20 p {
    margin: 0;
    color: #707873;
}

.mgmt-eyebrow-dark-v20 {
    color: #a77a21;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .13em;
}

.mgmt-secondary-action-v20,
.mgmt-back-v20 {
    color: #073d28;
    font-weight: 800;
    text-decoration: none;
}

.mgmt-order-stats-v20 {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    margin: 20px 0;
}

.mgmt-order-stats-v20 a {
    padding: 18px;
    border: 1px solid #eadfca;
    border-radius: 17px;
    background: #fff;
    color: inherit;
    text-decoration: none;
}

.mgmt-order-stats-v20 span,
.mgmt-order-stats-v20 strong {
    display: block;
}

.mgmt-order-stats-v20 span {
    color: #777f7a;
    font-size: 12px;
    font-weight: 700;
}

.mgmt-order-stats-v20 strong {
    margin-top: 5px;
    color: #073d28;
    font-size: 28px;
}

.mgmt-order-filters-v20 {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr) auto;
    gap: 12px;
    align-items: end;
    padding: 18px;
    margin-bottom: 20px;
    border: 1px solid #eadfca;
    border-radius: 18px;
    background: #fff;
}

.mgmt-order-filters-v20 label {
    display: block;
    margin-bottom: 6px;
    color: #58615c;
    font-size: 12px;
    font-weight: 800;
}

.mgmt-order-filters-v20 input,
.mgmt-order-filters-v20 select,
.mgmt-action-form-v20 select {
    width: 100%;
    min-height: 45px;
    padding: 0 12px;
    border: 1px solid #dcd4c6;
    border-radius: 11px;
    background: #fff;
}

.mgmt-filter-buttons-v20 {
    display: flex;
    gap: 8px;
}

.mgmt-filter-buttons-v20 button,
.mgmt-action-form-v20 button {
    min-height: 45px;
    padding: 0 16px;
    border: 0;
    border-radius: 11px;
    background: #073d28;
    color: #fff;
    font-weight: 800;
    cursor: pointer;
}

.mgmt-filter-buttons-v20 a {
    display: inline-flex;
    align-items: center;
    min-height: 45px;
    padding: 0 14px;
    color: #073d28;
    font-weight: 800;
    text-decoration: none;
}

.mgmt-orders-panel-v20,
.mgmt-detail-card-v20 {
    border: 1px solid #eadfca;
    border-radius: 20px;
    background: #fff;
}

.mgmt-orders-panel-v20 {
    overflow: hidden;
}

.mgmt-orders-panel-heading-v20 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 22px;
    border-bottom: 1px solid #eee5d6;
}

.mgmt-orders-panel-heading-v20 span {
    color: #a77a21;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
}

.mgmt-orders-panel-heading-v20 h2 {
    margin: 3px 0 0;
    color: #073d28;
}

.mgmt-orders-panel-heading-v20 a {
    color: #073d28;
    font-weight: 800;
    text-decoration: none;
}

.mgmt-orders-table-wrap-v20 {
    overflow-x: auto;
}

.mgmt-orders-table-v20 {
    width: 100%;
    border-collapse: collapse;
}

.mgmt-orders-table-v20 th,
.mgmt-orders-table-v20 td {
    padding: 15px 16px;
    border-bottom: 1px solid #f0eadf;
    text-align: left;
    vertical-align: middle;
}

.mgmt-orders-table-v20 th {
    color: #777e79;
    font-size: 11px;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.mgmt-orders-table-v20 td {
    color: #39433e;
}

.mgmt-orders-table-v20 small {
    display: block;
    margin-top: 3px;
    color: #8a908c;
}

.mgmt-status-v20,
.mgmt-paid-v20,
.mgmt-review-v20,
.mgmt-payment-v20 {
    display: inline-flex;
    align-items: center;
    padding: 6px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}

.mgmt-status-v20 {
    background: #edf3ef;
    color: #174d37;
}

.mgmt-paid-v20 {
    background: #e4f3e9;
    color: #146336;
}

.mgmt-review-v20 {
    background: #fff1cf;
    color: #825e0b;
}

.mgmt-payment-v20 {
    background: #f2eee7;
    color: #675f54;
}

.mgmt-open-order-v20 {
    display: inline-flex;
    padding: 7px 11px;
    border-radius: 9px;
    background: #073d28;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.mgmt-detail-badges-v20 {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mgmt-detail-layout-v20 {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(290px, .8fr);
    gap: 20px;
}

.mgmt-detail-main-v20 {
    display: grid;
    gap: 18px;
}

.mgmt-detail-card-v20 {
    padding: 22px;
}

.mgmt-detail-card-v20 h2 {
    margin: 0 0 18px;
    color: #073d28;
}

.mgmt-detail-data-v20 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.mgmt-detail-data-v20 span,
.mgmt-address-v20 span,
.mgmt-payment-summary-v20 span,
.mgmt-payment-meta-v20 span {
    display: block;
    margin-bottom: 4px;
    color: #818781;
    font-size: 12px;
}

.mgmt-address-v20 {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #eee5d6;
}

.mgmt-detail-item-v20,
.mgmt-detail-totals-v20 > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.mgmt-detail-item-v20 {
    padding: 13px 0;
    border-bottom: 1px solid #f0eadf;
}

.mgmt-detail-item-v20 span {
    display: block;
    margin-top: 3px;
    color: #8a908c;
    font-size: 12px;
}

.mgmt-detail-totals-v20 {
    margin-top: 16px;
}

.mgmt-detail-totals-v20 > div {
    padding: 7px 0;
}

.mgmt-detail-totals-v20 .total {
    margin-top: 8px;
    padding-top: 14px;
    border-top: 1px solid #ddd3c2;
    color: #073d28;
    font-size: 18px;
}

.mgmt-sticky-v20 {
    position: sticky;
    top: 20px;
}

.mgmt-action-form-v20 {
    display: grid;
    gap: 9px;
}

.mgmt-action-form-v20 label {
    color: #555f59;
    font-size: 12px;
    font-weight: 800;
}

.mgmt-detail-card-v20 hr {
    margin: 22px 0;
    border: 0;
    border-top: 1px solid #eee5d6;
}

.mgmt-payment-summary-v20,
.mgmt-payment-meta-v20 {
    margin-bottom: 14px;
}

.mgmt-audit-v20 {
    display: grid;
    gap: 18px;
}

.mgmt-audit-entry-v20 {
    display: grid;
    grid-template-columns: 12px 1fr;
    gap: 12px;
}

.mgmt-audit-dot-v20 {
    width: 10px;
    height: 10px;
    margin-top: 5px;
    border-radius: 50%;
    background: #b48a36;
}

.mgmt-audit-entry-v20 p {
    margin: 4px 0 0;
    color: #858b87;
    font-size: 12px;
}

@media (max-width: 1000px) {
    .mgmt-order-stats-v20 {
        grid-template-columns: repeat(3, 1fr);
    }

    .mgmt-order-filters-v20 {
        grid-template-columns: repeat(2, 1fr);
    }

    .mgmt-detail-layout-v20 {
        grid-template-columns: 1fr;
    }

    .mgmt-sticky-v20 {
        position: static;
    }
}

@media (max-width: 650px) {
    .mgmt-page-header-v20,
    .mgmt-detail-header-v20 {
        align-items: flex-start;
        flex-direction: column;
    }

    .mgmt-order-stats-v20 {
        grid-template-columns: repeat(2, 1fr);
    }

    .mgmt-order-filters-v20 {
        grid-template-columns: 1fr;
    }

    .mgmt-detail-data-v20 {
        grid-template-columns: 1fr;
    }
}


/* ==========================================================
   V2.0 — CUSTOMER MANAGEMENT
   ========================================================== */

.customer-stats-v20 {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    margin: 20px 0;
}

.customer-stats-v20 > div,
.customer-detail-stats-v20 > div {
    padding: 18px;
    border: 1px solid #eadfca;
    border-radius: 17px;
    background: #fff;
}

.customer-stats-v20 span,
.customer-detail-stats-v20 span {
    display: block;
    color: #727a75;
    font-size: 12px;
    font-weight: 800;
}

.customer-stats-v20 strong,
.customer-detail-stats-v20 strong {
    display: block;
    margin-top: 5px;
    color: #073d28;
    font-size: 27px;
}

.customer-stats-v20 small {
    display: block;
    margin-top: 4px;
    color: #969b97;
}

.customer-filter-v20 {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(180px, .7fr) auto;
    gap: 12px;
    align-items: end;
    padding: 18px;
    margin-bottom: 20px;
    border: 1px solid #eadfca;
    border-radius: 18px;
    background: #fff;
}

.customer-filter-v20 label {
    display: block;
    margin-bottom: 6px;
    color: #58615c;
    font-size: 12px;
    font-weight: 800;
}

.customer-filter-v20 input,
.customer-filter-v20 select {
    width: 100%;
    min-height: 45px;
    padding: 0 12px;
    border: 1px solid #dcd4c6;
    border-radius: 11px;
    background: #fff;
}

.customer-filter-actions-v20 {
    display: flex;
    gap: 8px;
}

.customer-filter-actions-v20 button {
    min-height: 45px;
    padding: 0 18px;
    border: 0;
    border-radius: 11px;
    background: #073d28;
    color: #fff;
    font-weight: 800;
    cursor: pointer;
}

.customer-filter-actions-v20 a {
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    color: #073d28;
    font-weight: 800;
    text-decoration: none;
}

.customer-register-v20,
.customer-card-v20 {
    border: 1px solid #eadfca;
    border-radius: 20px;
    background: #fff;
}

.customer-register-v20 {
    overflow: hidden;
}

.customer-register-heading-v20,
.customer-card-heading-v20 {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.customer-register-heading-v20 {
    padding: 20px 22px;
    border-bottom: 1px solid #eee5d6;
}

.customer-register-heading-v20 span,
.customer-card-heading-v20 span {
    color: #a77a21;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
}

.customer-register-heading-v20 h2,
.customer-card-heading-v20 h2 {
    margin: 3px 0 0;
    color: #073d28;
}

.customer-table-wrap-v20 {
    overflow-x: auto;
}

.customer-table-v20 {
    width: 100%;
    border-collapse: collapse;
}

.customer-table-v20 th,
.customer-table-v20 td {
    padding: 15px 16px;
    border-bottom: 1px solid #f0eadf;
    text-align: left;
    vertical-align: middle;
}

.customer-table-v20 th {
    color: #777e79;
    font-size: 11px;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.customer-table-v20 small {
    display: block;
    margin-top: 3px;
    color: #8a908c;
}

.customer-type-registered-v20,
.customer-type-guest-v20,
.customer-username-v20 {
    display: inline-flex;
    padding: 6px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
}

.customer-type-registered-v20 {
    background: #e4f3e9;
    color: #146336;
}

.customer-type-guest-v20 {
    background: #fff1cf;
    color: #825e0b;
}

.customer-username-v20 {
    background: #f0ede7;
    color: #5c625e;
}

.customer-open-v20,
.customer-order-open-v20 {
    display: inline-flex;
    padding: 7px 11px;
    border-radius: 9px;
    background: #073d28;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.customer-detail-header-v20 {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 20px;
}

.customer-detail-header-v20 h1 {
    margin: 5px 0 9px;
    color: #073d28;
    font-size: clamp(34px, 4vw, 50px);
}

.customer-detail-labels-v20 {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.customer-detail-stats-v20 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.customer-detail-layout-v20 {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, .75fr);
    gap: 20px;
}

.customer-detail-main-v20,
.customer-detail-side-v20 {
    display: grid;
    align-content: start;
    gap: 18px;
}

.customer-card-v20 {
    padding: 22px;
}

.customer-profile-grid-v20 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 20px;
}

.customer-profile-grid-v20 span,
.customer-address-v20 span,
.customer-order-row-v20 span {
    display: block;
    margin-bottom: 4px;
    color: #858b87;
    font-size: 12px;
}

.customer-address-v20 {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #eee5d6;
}

.customer-order-history-v20 {
    margin-top: 16px;
}

.customer-order-row-v20 {
    display: grid;
    grid-template-columns: 1.25fr .75fr .9fr 1fr .8fr auto;
    gap: 14px;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f0eadf;
}

.customer-order-row-v20:last-child {
    border-bottom: 0;
}

.customer-order-ref-v20 span {
    margin-top: 4px;
}

.customer-paid-text-v20 {
    color: #146336;
}

.customer-favourites-v20 {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.customer-favourites-v20 > div {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 11px 0;
    border-bottom: 1px solid #f0eadf;
}

.customer-favourites-v20 span {
    color: #777f7a;
}

.customer-muted-v20 {
    color: #7c837e;
    line-height: 1.6;
}

.customer-contact-action-v20 {
    display: flex;
    justify-content: center;
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 11px;
    background: #073d28;
    color: #fff;
    font-weight: 800;
    text-decoration: none;
}

.customer-contact-action-v20.secondary {
    border: 1px solid #d8cdb9;
    background: #fff;
    color: #073d28;
}

@media (max-width: 1050px) {
    .customer-stats-v20 {
        grid-template-columns: repeat(3, 1fr);
    }

    .customer-detail-layout-v20 {
        grid-template-columns: 1fr;
    }

    .customer-order-row-v20 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 700px) {
    .customer-stats-v20,
    .customer-detail-stats-v20 {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .customer-detail-header-v20 {
        align-items: flex-start;
        flex-direction: column;
    }

    .customer-profile-grid-v20 {
        grid-template-columns: 1fr;
    }

    .customer-order-row-v20 {
        grid-template-columns: 1fr 1fr;
    }
}


/* ============================================================
   V2.0 — STAGE 3K CUSTOMER MANAGEMENT CONTROLS
   ============================================================ */

.customer-edit-card-v20,
.customer-notes-card-v20 {
    position: relative;
    overflow: hidden;
}

.customer-edit-card-v20::before,
.customer-notes-card-v20::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(
        90deg,
        #073d28,
        #b89443,
        #d6bd72
    );
}

.customer-form-intro-v20,
.customer-note-intro-v20 {
    margin: 0 0 20px;
    max-width: 720px;
}

.customer-management-form-v20,
.customer-note-form-v20 {
    margin-top: 18px;
}

.customer-form-grid-v20 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.customer-form-field-v20 {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.customer-form-wide-v20 {
    grid-column: 1 / -1;
}

.customer-form-field-v20 label {
    color: #24352d;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.customer-form-field-v20 input,
.customer-form-field-v20 textarea,
.customer-form-field-v20 select {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #ddd3c2;
    border-radius: 12px;
    background: #fffdf9;
    color: #1e2c25;
    font: inherit;
    line-height: 1.45;
    outline: none;
    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        background 0.18s ease;
}

.customer-form-field-v20 input,
.customer-form-field-v20 select {
    min-height: 46px;
    padding: 10px 13px;
}

.customer-form-field-v20 textarea {
    min-height: 105px;
    padding: 12px 13px;
    resize: vertical;
}

.customer-form-field-v20 input:focus,
.customer-form-field-v20 textarea:focus,
.customer-form-field-v20 select:focus {
    border-color: #b89443;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(184, 148, 67, 0.14);
}

.customer-form-field-v20 input::placeholder,
.customer-form-field-v20 textarea::placeholder {
    color: #9a9f9b;
}

.customer-field-error-v20 {
    display: block;
    color: #a33131;
    font-size: 0.79rem;
    font-weight: 700;
    line-height: 1.4;
}

.customer-form-alert-v20 {
    margin-bottom: 16px;
    padding: 11px 13px;
    border: 1px solid #e6bcbc;
    border-radius: 10px;
    background: #fff4f4;
    color: #8e2929;
    font-size: 0.86rem;
    line-height: 1.5;
}

.customer-form-actions-v20 {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}

.customer-save-action-v20 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 19px;
    border: 1px solid #073d28;
    border-radius: 11px;
    background: #073d28;
    color: #fff;
    font: inherit;
    font-size: 0.88rem;
    font-weight: 800;
    cursor: pointer;
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        background 0.15s ease;
}

.customer-save-action-v20:hover {
    background: #0b4c34;
    box-shadow: 0 7px 18px rgba(7, 61, 40, 0.15);
    transform: translateY(-1px);
}

.customer-save-action-v20:focus-visible {
    outline: 3px solid rgba(184, 148, 67, 0.35);
    outline-offset: 2px;
}

.customer-note-action-v20 {
    width: 100%;
    margin-top: 13px;
}

.customer-note-list-v20 {
    display: grid;
    gap: 11px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #eee6d9;
}

.customer-note-item-v20 {
    padding: 14px;
    border: 1px solid #e8dfd0;
    border-radius: 12px;
    background: #fcfaf5;
}

.customer-note-item-v20 p {
    margin: 0;
    color: #303a35;
    font-size: 0.9rem;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.customer-note-meta-v20 {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 11px;
    padding-top: 9px;
    border-top: 1px solid #eee6da;
    color: #818781;
    font-size: 0.73rem;
    line-height: 1.4;
}

.customer-note-meta-v20 span {
    color: #073d28;
    font-weight: 800;
}

.customer-note-meta-v20 time {
    text-align: right;
}

.customer-no-notes-v20 {
    margin: 18px 0 0;
    padding-top: 16px;
    border-top: 1px solid #eee6d9;
}


/* Stage 3K responsive controls */

@media (max-width: 700px) {
    .customer-form-grid-v20 {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .customer-form-wide-v20 {
        grid-column: auto;
    }

    .customer-form-actions-v20 {
        justify-content: stretch;
    }

    .customer-save-action-v20 {
        width: 100%;
    }

    .customer-note-meta-v20 {
        flex-direction: column;
        gap: 4px;
    }

    .customer-note-meta-v20 time {
        text-align: left;
    }
}

@media (max-width: 420px) {
    .customer-form-field-v20 input,
    .customer-form-field-v20 textarea,
    .customer-form-field-v20 select {
        font-size: 16px;
    }
}


/* ============================================================
   V2.0 — PRODUCT & CATALOGUE MANAGEMENT
   ============================================================ */

.management-products-v20 {
    width: min(1440px, calc(100% - 40px));
    margin: 34px auto 70px;
}

.products-hero-v20 {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    padding: 30px 32px;
    border-radius: 20px;
    background:
        linear-gradient(
            135deg,
            #073d28 0%,
            #0b5037 100%
        );
    color: #fff;
    box-shadow: 0 18px 45px rgba(7, 61, 40, 0.12);
}

.products-eyebrow-v20 {
    display: block;
    margin-bottom: 8px;
    color: #d6bd72;
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.13em;
}

.products-hero-v20 h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    line-height: 1.08;
}

.products-hero-v20 p {
    max-width: 680px;
    margin: 10px 0 0;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.6;
}

.products-readonly-v20 {
    display: inline-flex;
    align-items: center;
    padding: 9px 13px;
    border: 1px solid rgba(214, 189, 114, 0.45);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    color: #f3dda0;
    font-size: 0.78rem;
    font-weight: 800;
    white-space: nowrap;
}

.product-stats-v20 {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    margin: 20px 0;
}

.product-stats-v20 article {
    padding: 19px;
    border: 1px solid #e7dfd1;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 7px 22px rgba(31, 46, 38, 0.035);
}

.product-stats-v20 span {
    display: block;
    color: #7d847f;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.product-stats-v20 strong {
    display: block;
    margin: 7px 0 3px;
    color: #073d28;
    font-size: 1.8rem;
    line-height: 1;
}

.product-stats-v20 small {
    color: #929790;
    font-size: 0.74rem;
}

.product-panel-v20 {
    padding: 26px;
    border: 1px solid #e7dfd1;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(31, 46, 38, 0.04);
}

.product-panel-heading-v20 {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.product-panel-heading-v20 > div:first-child > span {
    color: #b08a3d;
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.product-panel-heading-v20 h2 {
    margin: 5px 0 4px;
    color: #1e2e26;
    font-size: 1.45rem;
}

.product-panel-heading-v20 p {
    margin: 0;
    color: #7c837e;
    line-height: 1.5;
}

.product-result-count-v20 {
    color: #073d28;
    font-size: 0.82rem;
    font-weight: 800;
    white-space: nowrap;
}

.product-filter-v20 {
    display: grid;
    grid-template-columns:
        minmax(220px, 1.5fr)
        repeat(3, minmax(145px, 0.75fr))
        auto;
    gap: 12px;
    align-items: end;
    margin-bottom: 24px;
    padding: 16px;
    border: 1px solid #eee6da;
    border-radius: 14px;
    background: #fcfaf6;
}

.product-filter-v20 label {
    display: block;
    margin-bottom: 6px;
    color: #49544e;
    font-size: 0.73rem;
    font-weight: 800;
}

.product-filter-v20 input,
.product-filter-v20 select {
    width: 100%;
    min-height: 42px;
    box-sizing: border-box;
    padding: 9px 11px;
    border: 1px solid #dcd3c4;
    border-radius: 10px;
    background: #fff;
    color: #25342c;
    font: inherit;
    outline: none;
}

.product-filter-v20 input:focus,
.product-filter-v20 select:focus {
    border-color: #b89443;
    box-shadow: 0 0 0 3px rgba(184, 148, 67, 0.12);
}

.product-filter-actions-v20 {
    display: flex;
    gap: 7px;
}

.product-filter-actions-v20 button,
.product-filter-actions-v20 a {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 9px 13px;
    border-radius: 10px;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.product-filter-actions-v20 button {
    border: 1px solid #073d28;
    background: #073d28;
    color: #fff;
}

.product-filter-actions-v20 a {
    border: 1px solid #d9cfbe;
    background: #fff;
    color: #073d28;
}

.product-table-wrap-v20 {
    overflow-x: auto;
}

.product-table-v20 {
    width: 100%;
    border-collapse: collapse;
}

.product-table-v20 th {
    padding: 11px 12px;
    border-bottom: 1px solid #ded7ca;
    color: #7a817c;
    font-size: 0.7rem;
    font-weight: 900;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.product-table-v20 td {
    padding: 14px 12px;
    border-bottom: 1px solid #f0ebe2;
    color: #3c4741;
    vertical-align: middle;
}

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

.product-table-v20 tbody tr:hover {
    background: #fdfbf7;
}

.product-identity-v20 {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 300px;
}

.product-image-v20 {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    overflow: hidden;
    border: 1px solid #e4ddcf;
    border-radius: 12px;
    background: #f5f0e6;
}

.product-image-v20 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-image-placeholder-v20 {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    color: #a48139;
    font-size: 0.85rem;
    font-weight: 900;
}

.product-identity-v20 strong {
    display: block;
    color: #21342a;
    font-size: 0.9rem;
}

.product-identity-v20 p {
    max-width: 430px;
    margin: 5px 0 0;
    color: #8a908b;
    font-size: 0.76rem;
    line-height: 1.45;
}

.product-category-v20 {
    color: #59645e;
    font-size: 0.82rem;
    font-weight: 700;
}

.product-price-v20 {
    color: #073d28;
    white-space: nowrap;
}

.product-status-v20,
.product-feature-v20,
.product-standard-v20 {
    display: inline-flex;
    align-items: center;
    padding: 6px 9px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 900;
    white-space: nowrap;
}

.product-status-v20.available {
    background: #e9f5ed;
    color: #24643d;
}

.product-status-v20.unavailable {
    background: #fff0ed;
    color: #9b4237;
}

.product-feature-v20 {
    border: 1px solid #e4cf91;
    background: #fff8e4;
    color: #8a6721;
}

.product-standard-v20 {
    background: #f1f2ef;
    color: #707770;
}

.product-empty-v20 {
    padding: 55px 20px;
    text-align: center;
}

.product-empty-v20 strong {
    display: block;
    color: #25362d;
    font-size: 1.1rem;
}

.product-empty-v20 p {
    margin: 7px 0 15px;
    color: #858b86;
}

.product-empty-v20 a {
    color: #073d28;
    font-weight: 800;
}

@media (max-width: 1100px) {
    .product-stats-v20 {
        grid-template-columns: repeat(3, 1fr);
    }

    .product-filter-v20 {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 700px) {
    .management-products-v20 {
        width: min(100% - 24px, 1440px);
        margin-top: 20px;
    }

    .products-hero-v20 {
        align-items: flex-start;
        flex-direction: column;
        padding: 24px 20px;
    }

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

    .product-panel-v20 {
        padding: 18px 14px;
    }

    .product-panel-heading-v20 {
        align-items: flex-start;
        flex-direction: column;
    }

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

    .product-filter-actions-v20 {
        grid-column: auto;
    }

    .product-filter-actions-v20 button,
    .product-filter-actions-v20 a {
        flex: 1;
    }

    .product-filter-v20 input,
    .product-filter-v20 select {
        font-size: 16px;
    }
}

@media (max-width: 430px) {
    .product-stats-v20 {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .product-stats-v20 article {
        padding: 15px;
    }
}


/* ============================================================
   V2.0 — STAGE 4C PRODUCT EDITOR
   ============================================================ */

.product-add-button-v20,
.product-form-back-v20 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    box-sizing: border-box;
    padding: 10px 16px;
    border-radius: 10px;
    text-decoration: none;
    font-size: .8rem;
    font-weight: 900;
}

.product-add-button-v20 {
    border: 1px solid #d6bd72;
    background: #d6bd72;
    color: #073d28;
}

.product-add-button-v20:hover {
    background: #e2cc8c;
}

.product-edit-link-v20 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 13px;
    border: 1px solid #d7ccba;
    border-radius: 9px;
    background: #fff;
    color: #073d28;
    font-size: .75rem;
    font-weight: 900;
    text-decoration: none;
}

.product-edit-link-v20:hover {
    border-color: #b89443;
    background: #fffaf0;
}

.management-product-form-v20 {
    width: min(1320px, calc(100% - 40px));
    margin: 34px auto 70px;
}

.product-form-hero-v20 {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    padding: 30px 32px;
    border-radius: 20px;
    background:
        linear-gradient(
            135deg,
            #073d28 0%,
            #0b5037 100%
        );
    color: #fff;
    box-shadow: 0 18px 45px rgba(7, 61, 40, .12);
}

.product-form-hero-v20 h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.product-form-hero-v20 p {
    max-width: 680px;
    margin: 10px 0 0;
    color: rgba(255,255,255,.78);
    line-height: 1.6;
}

.product-form-back-v20 {
    border: 1px solid rgba(214,189,114,.5);
    background: rgba(255,255,255,.07);
    color: #f4dfa4;
    white-space: nowrap;
}

.product-editor-v20 {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(280px, 340px);
    gap: 20px;
    align-items: start;
    margin-top: 20px;
}

.product-editor-main-v20,
.product-editor-side-v20 {
    display: grid;
    gap: 20px;
}

.product-editor-side-v20 {
    position: sticky;
    top: 20px;
}

.product-form-card-v20 {
    padding: 24px;
    border: 1px solid #e7dfd1;
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 8px 26px rgba(31,46,38,.04);
}

.product-form-card-heading-v20 {
    margin-bottom: 21px;
}

.product-form-card-heading-v20 > span,
.product-safety-card-v20 > span {
    color: #b08a3d;
    font-size: .69rem;
    font-weight: 900;
    letter-spacing: .12em;
}

.product-form-card-heading-v20 h2 {
    margin: 5px 0;
    color: #203229;
    font-size: 1.25rem;
}

.product-form-card-heading-v20 p {
    margin: 0;
    color: #858b86;
    font-size: .82rem;
    line-height: 1.55;
}

.product-form-grid-v20 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.product-field-wide-v20 {
    grid-column: 1 / -1;
}

.product-field-v20 label {
    display: block;
    margin-bottom: 7px;
    color: #39483f;
    font-size: .78rem;
    font-weight: 800;
}

.product-field-v20 input:not([type="checkbox"]),
.product-field-v20 select,
.product-field-v20 textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 11px 12px;
    border: 1px solid #dcd3c4;
    border-radius: 10px;
    background: #fff;
    color: #26372e;
    font: inherit;
    outline: none;
}

.product-field-v20 textarea {
    resize: vertical;
}

.product-field-v20 input:focus,
.product-field-v20 select:focus,
.product-field-v20 textarea:focus {
    border-color: #b89443;
    box-shadow: 0 0 0 3px rgba(184,148,67,.12);
}

.product-price-input-v20 {
    display: flex;
    align-items: center;
    border: 1px solid #dcd3c4;
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
}

.product-price-input-v20 > span {
    padding-left: 12px;
    color: #806629;
    font-weight: 900;
}

.product-price-input-v20 input {
    border: 0 !important;
    box-shadow: none !important;
}

.product-field-help-v20 {
    display: block;
    margin-top: 6px;
    color: #8b918d;
    font-size: .7rem;
}

.product-field-error-v20 {
    display: block;
    margin-top: 6px;
    color: #a83d35;
    font-size: .72rem;
    font-weight: 700;
}

.product-form-alert-v20 {
    grid-column: 1 / -1;
    padding: 12px 15px;
    border: 1px solid #edc7c2;
    border-radius: 10px;
    background: #fff2ef;
    color: #973c34;
}

.current-product-preview-v20 {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    padding: 13px;
    border: 1px solid #ece4d7;
    border-radius: 13px;
    background: #fcfaf6;
}

.current-product-image-v20 {
    display: flex;
    width: 72px;
    height: 72px;
    flex: 0 0 72px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 11px;
    background: #f0e9dd;
    color: #9a7935;
    font-weight: 900;
}

.current-product-image-v20 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.current-product-preview-v20 small,
.current-product-preview-v20 strong,
.current-product-preview-v20 span {
    display: block;
}

.current-product-preview-v20 small {
    color: #a0803d;
    font-size: .65rem;
    font-weight: 900;
    letter-spacing: .08em;
}

.current-product-preview-v20 strong {
    margin: 4px 0;
    color: #25372d;
}

.current-product-preview-v20 span {
    color: #66716b;
    font-size: .8rem;
}

.product-toggle-v20 {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 14px 0;
    border-bottom: 1px solid #eee8de;
    cursor: pointer;
}

.product-toggle-v20:last-of-type {
    border-bottom: 0;
}

.product-toggle-v20 input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: #073d28;
}

.product-toggle-v20 strong,
.product-toggle-v20 small {
    display: block;
}

.product-toggle-v20 strong {
    color: #26382e;
    font-size: .82rem;
}

.product-toggle-v20 small {
    margin-top: 3px;
    color: #858c87;
    font-size: .72rem;
    line-height: 1.4;
}

.product-safety-card-v20 {
    border-top: 3px solid #d6bd72;
}

.product-safety-card-v20 h3 {
    margin: 6px 0 8px;
    color: #273a30;
    font-size: 1rem;
}

.product-safety-card-v20 p {
    margin: 8px 0 0;
    color: #7c847f;
    font-size: .76rem;
    line-height: 1.55;
}

.product-form-actions-v20 {
    display: grid;
    gap: 8px;
}

.product-form-actions-v20 button,
.product-form-actions-v20 a {
    display: flex;
    min-height: 45px;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border-radius: 10px;
    font: inherit;
    font-size: .8rem;
    font-weight: 900;
    text-decoration: none;
}

.product-form-actions-v20 button {
    border: 1px solid #073d28;
    background: #073d28;
    color: #fff;
    cursor: pointer;
}

.product-form-actions-v20 a {
    border: 1px solid #d9d0c2;
    background: #fff;
    color: #073d28;
}

@media (max-width: 850px) {
    .product-editor-v20 {
        grid-template-columns: 1fr;
    }

    .product-editor-side-v20 {
        position: static;
    }
}

@media (max-width: 650px) {
    .management-product-form-v20 {
        width: min(100% - 24px, 1320px);
        margin-top: 20px;
    }

    .product-form-hero-v20 {
        align-items: flex-start;
        flex-direction: column;
        padding: 24px 20px;
    }

    .product-form-grid-v20 {
        grid-template-columns: 1fr;
    }

    .product-field-wide-v20 {
        grid-column: auto;
    }

    .product-form-card-v20 {
        padding: 19px 16px;
    }

    .product-field-v20 input:not([type="checkbox"]),
    .product-field-v20 select,
    .product-field-v20 textarea {
        font-size: 16px;
    }
}


/* ============================================================
   V2.0 — STAGE 4C PRODUCT EDITOR VISUAL POLISH
   ============================================================ */

.management-product-form-v20 {
    padding-top: 34px;
}

.management-product-form-v20 .management-tabs-v20 {
    margin-top: 12px;
    margin-bottom: 24px;
}

.product-form-hero-v20 {
    margin-top: 0;
}

@media (max-width: 650px) {
    .management-product-form-v20 {
        padding-top: 20px;
    }

    .management-product-form-v20 .management-tabs-v20 {
        margin-top: 10px;
        margin-bottom: 18px;
    }
}


/* ============================================================
   V2.0 — STAGE 4D CATEGORY MANAGEMENT
   ============================================================ */

.management-categories-v20,
.management-category-form-v20 {
    max-width: 1380px;
    margin: 0 auto;
    padding: 34px 28px 70px;
}

.category-hero-v20,
.category-form-hero-v20 {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    padding: 34px;
    margin-bottom: 12px;
    border: 1px solid rgba(31, 68, 50, 0.10);
    border-radius: 26px;
    background:
        radial-gradient(
            circle at top right,
            rgba(197, 154, 74, 0.17),
            transparent 36%
        ),
        linear-gradient(
            135deg,
            #fdf9f0 0%,
            #f7f0e1 100%
        );
    box-shadow: 0 18px 45px rgba(35, 51, 42, 0.07);
}

.category-hero-v20 h1,
.category-form-hero-v20 h1 {
    margin: 8px 0 10px;
    color: #173f2d;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 4vw, 3.35rem);
    line-height: 1;
}

.category-hero-v20 p,
.category-form-hero-v20 p {
    max-width: 720px;
    margin: 0;
    color: #69736d;
    font-size: 0.98rem;
    line-height: 1.7;
}

.category-hero-actions-v20 {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.category-add-button-v20,
.category-back-button-v20 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 19px;
    border-radius: 13px;
    font-weight: 700;
    text-decoration: none;
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        background 0.18s ease;
}

.category-add-button-v20 {
    color: #fff;
    background: #173f2d;
    box-shadow: 0 10px 22px rgba(23, 63, 45, 0.18);
}

.category-back-button-v20 {
    color: #173f2d;
    border: 1px solid rgba(23, 63, 45, 0.16);
    background: rgba(255, 255, 255, 0.75);
}

.category-add-button-v20:hover,
.category-back-button-v20:hover {
    transform: translateY(-1px);
}

.category-summary-grid-v20 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 22px 0;
}

.category-summary-card-v20 {
    padding: 22px 24px;
    border: 1px solid rgba(31, 68, 50, 0.09);
    border-radius: 19px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(35, 51, 42, 0.05);
}

.category-summary-card-v20 > span {
    display: block;
    margin-bottom: 10px;
    color: #9a7a3b;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.category-summary-card-v20 strong {
    display: block;
    color: #173f2d;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2rem;
    line-height: 1;
}

.category-summary-card-v20 small {
    display: block;
    margin-top: 9px;
    color: #7a827d;
    font-size: 0.82rem;
}

.category-table-card-v20 {
    overflow: hidden;
    border: 1px solid rgba(31, 68, 50, 0.09);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 15px 40px rgba(35, 51, 42, 0.06);
}

.category-table-heading-v20 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 25px 28px;
    border-bottom: 1px solid #eee9de;
}

.category-table-heading-v20 > div > span,
.category-form-heading-v20 > span,
.category-guide-v20 > span,
.category-safe-v20 > span,
.category-current-v20 > span {
    color: #b08a43;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.category-table-heading-v20 h2,
.category-form-heading-v20 h2 {
    margin: 5px 0 6px;
    color: #173f2d;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.55rem;
}

.category-table-heading-v20 p,
.category-form-heading-v20 p {
    margin: 0;
    color: #7b837e;
    font-size: 0.88rem;
}

.category-safety-badge-v20 {
    padding: 8px 12px;
    border: 1px solid rgba(176, 138, 67, 0.18);
    border-radius: 999px;
    color: #806325;
    background: #fbf6e9;
    font-size: 0.73rem;
    font-weight: 700;
    white-space: nowrap;
}

.category-table-wrap-v20 {
    overflow-x: auto;
}

.category-table-v20 {
    width: 100%;
    border-collapse: collapse;
}

.category-table-v20 th {
    padding: 14px 18px;
    color: #7b837e;
    background: #fbfaf7;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-align: left;
    text-transform: uppercase;
}

.category-table-v20 td {
    padding: 18px;
    border-top: 1px solid #f0ede6;
    color: #34463d;
    vertical-align: middle;
}

.category-table-v20 tbody tr:hover {
    background: #fdfbf6;
}

.category-order-v20 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    color: #173f2d;
    background: #edf3ef;
    font-weight: 800;
}

.category-name-v20 {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.category-name-v20 strong {
    color: #173f2d;
    font-size: 0.93rem;
}

.category-name-v20 small {
    color: #929892;
    font-size: 0.74rem;
}

.category-slug-v20 {
    padding: 5px 8px;
    border-radius: 7px;
    color: #68736c;
    background: #f6f5f1;
    font-size: 0.76rem;
}

.category-count-badge-v20 {
    display: inline-flex;
    min-width: 31px;
    justify-content: center;
    padding: 5px 9px;
    border-radius: 999px;
    color: #276342;
    background: #eaf4ed;
    font-size: 0.76rem;
    font-weight: 800;
}

.category-edit-link-v20 {
    display: inline-flex;
    padding: 7px 12px;
    border: 1px solid rgba(23, 63, 45, 0.13);
    border-radius: 9px;
    color: #173f2d;
    background: #fff;
    font-size: 0.79rem;
    font-weight: 800;
    text-decoration: none;
}

.category-edit-link-v20:hover {
    background: #f2f6f3;
}

.category-empty-v20 {
    padding: 45px !important;
    color: #838b86 !important;
    text-align: center;
}

.category-protection-note-v20 {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 28px;
    border-top: 1px solid #eee9de;
    background: #fbf8f0;
}

.category-protection-note-v20 strong {
    flex: 0 0 auto;
    color: #173f2d;
}

.category-protection-note-v20 p {
    margin: 0;
    color: #707973;
    font-size: 0.83rem;
    line-height: 1.55;
}


/* Category editor */

.category-editor-v20 {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(290px, 0.7fr);
    gap: 22px;
    align-items: start;
    margin-top: 22px;
}

.category-form-card-v20 {
    padding: 27px;
    border: 1px solid rgba(31, 68, 50, 0.09);
    border-radius: 21px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(35, 51, 42, 0.055);
}

.category-field-v20 {
    margin-top: 24px;
}

.category-field-v20 label {
    display: block;
    margin-bottom: 8px;
    color: #173f2d;
    font-size: 0.82rem;
    font-weight: 800;
}

.category-field-v20 input {
    width: 100%;
    box-sizing: border-box;
    min-height: 48px;
    padding: 11px 13px;
    border: 1px solid #d9ddd9;
    border-radius: 11px;
    color: #283a31;
    background: #fff;
    font: inherit;
    outline: none;
}

.category-field-v20 input:focus {
    border-color: #9e854f;
    box-shadow: 0 0 0 3px rgba(176, 138, 67, 0.11);
}

.category-field-help-v20 {
    display: block;
    margin-top: 7px;
    color: #8a918c;
    font-size: 0.75rem;
    line-height: 1.5;
}

.category-current-v20 {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 28px;
    padding: 18px;
    border-radius: 14px;
    background: #f7f4ec;
}

.category-current-v20 strong {
    color: #173f2d;
}

.category-current-v20 small {
    color: #7d847f;
}

.category-editor-side-v20 {
    display: grid;
    gap: 16px;
}

.category-guide-v20 h3,
.category-safe-v20 h3 {
    margin: 7px 0 9px;
    color: #173f2d;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.2rem;
}

.category-guide-v20 p,
.category-safe-v20 p {
    margin: 0 0 17px;
    color: #747d77;
    font-size: 0.82rem;
    line-height: 1.6;
}

.category-order-example-v20 {
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: 10px;
    align-items: center;
    padding: 9px 0;
    border-top: 1px solid #efede7;
}

.category-order-example-v20 span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    color: #173f2d;
    background: #edf3ef;
    font-size: 0.76rem;
    font-weight: 800;
}

.category-order-example-v20 strong {
    color: #405047;
    font-size: 0.82rem;
}

.category-safe-v20 {
    border-color: rgba(176, 138, 67, 0.18);
    background: #fdf9ee;
}

.category-form-actions-v20 {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
}

.category-form-actions-v20 button,
.category-form-actions-v20 a {
    min-height: 46px;
    border-radius: 11px;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 800;
}

.category-form-actions-v20 button {
    padding: 0 18px;
    border: 0;
    color: #fff;
    background: #173f2d;
    cursor: pointer;
}

.category-form-actions-v20 a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 17px;
    border: 1px solid #d9ddd9;
    color: #526058;
    background: #fff;
    text-decoration: none;
}

@media (max-width: 900px) {
    .category-hero-v20,
    .category-form-hero-v20 {
        align-items: flex-start;
        flex-direction: column;
    }

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

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

@media (max-width: 650px) {
    .management-categories-v20,
    .management-category-form-v20 {
        padding: 20px 14px 50px;
    }

    .category-hero-v20,
    .category-form-hero-v20 {
        padding: 24px 20px;
        border-radius: 20px;
    }

    .category-hero-actions-v20 {
        width: 100%;
        align-items: stretch;
        flex-direction: column;
    }

    .category-add-button-v20,
    .category-back-button-v20 {
        width: 100%;
        box-sizing: border-box;
    }

    .category-table-heading-v20 {
        align-items: flex-start;
        flex-direction: column;
    }

    .category-protection-note-v20 {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
    }

    .category-form-card-v20 {
        padding: 21px 18px;
    }

    .category-form-actions-v20 {
        grid-template-columns: 1fr;
    }
}


/* Stage 4D — Product dashboard category action */

.product-management-actions-v20 {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

@media (max-width: 650px) {
    .product-management-actions-v20 {
        width: 100%;
        align-items: stretch;
        flex-direction: column;
    }

    .product-management-actions-v20 > a {
        width: 100%;
        box-sizing: border-box;
    }
}


/* ============================================================
   V2.0 — STAGE 4E DELIVERY MANAGEMENT
   ============================================================ */

.management-delivery-v20,
.management-delivery-form-v20 {
    max-width: 1280px;
    margin: 0 auto;
    padding: 132px 28px 70px;
}

.delivery-hero-v20,
.delivery-form-hero-v20 {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 28px;
}

.delivery-hero-v20 h1,
.delivery-form-hero-v20 h1 {
    margin: 7px 0 10px;
    color: #123b2b;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.15rem, 4vw, 3.45rem);
    line-height: 1;
}

.delivery-hero-v20 p,
.delivery-form-hero-v20 p {
    max-width: 720px;
    margin: 0;
    color: #6d695f;
    line-height: 1.7;
}

.delivery-hero-actions-v20 {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.delivery-back-button-v20,
.delivery-add-button-v20,
.delivery-save-button-v20,
.delivery-cancel-button-v20 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 19px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease;
}

.delivery-back-button-v20,
.delivery-cancel-button-v20 {
    border: 1px solid #d9d1bf;
    background: #fffdf8;
    color: #214735;
}

.delivery-add-button-v20,
.delivery-save-button-v20 {
    border: 1px solid #123b2b;
    background: #123b2b;
    color: #fff;
}

.delivery-save-button-v20 {
    cursor: pointer;
    font: inherit;
}

.delivery-back-button-v20:hover,
.delivery-add-button-v20:hover,
.delivery-save-button-v20:hover,
.delivery-cancel-button-v20:hover {
    transform: translateY(-1px);
}

.delivery-summary-grid-v20 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin: 26px 0;
}

.delivery-summary-card-v20 {
    padding: 22px;
    border: 1px solid #e5dece;
    border-radius: 18px;
    background: #fffdf8;
    box-shadow: 0 12px 35px rgba(36, 48, 38, .05);
}

.delivery-summary-card-v20 span,
.delivery-summary-card-v20 small {
    display: block;
    color: #777064;
}

.delivery-summary-card-v20 strong {
    display: block;
    margin: 7px 0 4px;
    color: #123b2b;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2rem;
}

.delivery-table-card-v20 {
    overflow: hidden;
    border: 1px solid #e5dece;
    border-radius: 20px;
    background: #fffdf8;
    box-shadow: 0 16px 44px rgba(36, 48, 38, .06);
}

.delivery-table-header-v20 {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 26px 18px;
    border-bottom: 1px solid #eee7d9;
}

.delivery-table-header-v20 h2 {
    margin: 5px 0 6px;
    color: #173f2f;
    font-family: Georgia, "Times New Roman", serif;
}

.delivery-table-header-v20 p {
    margin: 0;
    color: #777064;
}

.delivery-table-scroll-v20 {
    overflow-x: auto;
}

.delivery-table-v20 {
    width: 100%;
    border-collapse: collapse;
}

.delivery-table-v20 th,
.delivery-table-v20 td {
    padding: 17px 20px;
    text-align: left;
    border-bottom: 1px solid #eee7d9;
    vertical-align: middle;
}

.delivery-table-v20 th {
    color: #777064;
    background: #faf6ed;
    font-size: .78rem;
    letter-spacing: .06em;
    text-transform: uppercase;
}

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

.delivery-area-name-v20 strong,
.delivery-area-name-v20 small {
    display: block;
}

.delivery-area-name-v20 strong {
    color: #173f2f;
}

.delivery-area-name-v20 small {
    margin-top: 4px;
    color: #8a8377;
}

.delivery-status-v20,
.delivery-type-v20 {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 800;
}

.delivery-status-v20.active {
    background: #e8f3eb;
    color: #235a38;
}

.delivery-status-v20.inactive {
    background: #f1eee8;
    color: #746e64;
}

.delivery-type-v20 {
    background: #f4ead0;
    color: #76591e;
}

.delivery-type-v20.protected {
    background: #e9efe9;
    color: #234d38;
}

.delivery-edit-link-v20 {
    color: #a37619;
    font-weight: 800;
    text-decoration: none;
}

.delivery-empty-v20 {
    padding: 40px !important;
    color: #777064;
    text-align: center !important;
}

.delivery-protection-note-v20 {
    margin-top: 18px;
    padding: 20px 22px;
    border: 1px solid #dfd5bd;
    border-radius: 16px;
    background: #faf5e8;
}

.delivery-protection-note-v20 strong {
    color: #173f2f;
}

.delivery-protection-note-v20 p {
    margin: 5px 0 0;
    color: #716a5e;
    line-height: 1.65;
}

.delivery-editor-grid-v20 {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(280px, .8fr);
    gap: 22px;
    margin-top: 26px;
    align-items: start;
}

.delivery-form-card-v20,
.delivery-side-card-v20 {
    border: 1px solid #e5dece;
    border-radius: 20px;
    background: #fffdf8;
    box-shadow: 0 16px 44px rgba(36, 48, 38, .06);
}

.delivery-form-card-v20 {
    padding: 28px;
}

.delivery-side-card-v20 {
    padding: 25px;
}

.delivery-form-card-heading-v20 {
    margin-bottom: 24px;
}

.delivery-form-card-heading-v20 h2,
.delivery-side-card-v20 h3 {
    margin: 5px 0 0;
    color: #173f2f;
    font-family: Georgia, "Times New Roman", serif;
}

.delivery-field-v20 {
    margin-bottom: 20px;
}

.delivery-field-v20 > label,
.delivery-toggle-field-v20 label {
    display: block;
    margin-bottom: 8px;
    color: #274b39;
    font-weight: 800;
}

.delivery-field-v20 input[type="text"],
.delivery-field-v20 input[type="number"] {
    width: 100%;
    min-height: 48px;
    padding: 10px 13px;
    border: 1px solid #d9d1bf;
    border-radius: 11px;
    background: #fff;
    color: #262a25;
    font: inherit;
    box-sizing: border-box;
}

.delivery-field-v20 input:focus {
    outline: 2px solid rgba(180, 137, 45, .18);
    border-color: #b4892d;
}

.delivery-money-field-v20 {
    display: grid;
    grid-template-columns: 48px 1fr;
}

.delivery-money-field-v20 > span {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d9d1bf;
    border-right: 0;
    border-radius: 11px 0 0 11px;
    background: #f7f1e5;
    color: #76591e;
    font-weight: 800;
}

.delivery-money-field-v20 input {
    border-radius: 0 11px 11px 0 !important;
}

.delivery-toggle-field-v20 {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 8px 0 22px;
    padding: 17px;
    border: 1px solid #e5dece;
    border-radius: 13px;
    background: #faf7ef;
}

.delivery-toggle-field-v20 input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
}

.delivery-toggle-field-v20 label {
    margin: 0 0 3px;
}

.delivery-toggle-field-v20 small,
.delivery-field-help-v20 {
    color: #7b756a;
    line-height: 1.55;
}

.delivery-field-help-v20 {
    display: block;
    margin-top: 7px;
}

.delivery-field-error-v20 {
    display: block;
    margin-top: 7px;
    color: #9c302c;
    font-weight: 700;
}

.delivery-form-errors-v20 {
    margin-bottom: 20px;
    padding: 14px;
    border-radius: 10px;
    background: #f9e8e5;
    color: #8d302b;
}

.delivery-current-zone-v20 {
    margin-bottom: 22px;
    padding: 17px;
    border: 1px solid #e5dece;
    border-radius: 13px;
    background: #f8f4ea;
}

.delivery-current-zone-v20 span,
.delivery-current-zone-v20 strong,
.delivery-current-zone-v20 small {
    display: block;
}

.delivery-current-zone-v20 span {
    color: #837b6d;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.delivery-current-zone-v20 strong {
    margin: 5px 0;
    color: #173f2f;
}

.delivery-current-zone-v20 small {
    color: #777064;
}

.delivery-form-actions-v20 {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.delivery-side-card-v20 p {
    color: #716a5e;
    line-height: 1.7;
}

.delivery-side-rule-v20 {
    padding: 16px 0;
    border-top: 1px solid #e9e1d2;
}

.delivery-side-rule-v20 strong,
.delivery-side-rule-v20 span {
    display: block;
}

.delivery-side-rule-v20 strong {
    margin-bottom: 4px;
    color: #234735;
}

.delivery-side-rule-v20 span {
    color: #777064;
    line-height: 1.55;
}

@media (max-width: 900px) {
    .delivery-summary-grid-v20 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .delivery-editor-grid-v20 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 650px) {
    .management-delivery-v20,
    .management-delivery-form-v20 {
        padding: 112px 16px 48px;
    }

    .delivery-hero-v20,
    .delivery-form-hero-v20 {
        align-items: stretch;
        flex-direction: column;
    }

    .delivery-hero-actions-v20 {
        align-items: stretch;
        flex-direction: column;
    }

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

    .delivery-table-v20 th,
    .delivery-table-v20 td {
        padding: 14px;
    }

    .delivery-form-card-v20,
    .delivery-side-card-v20 {
        padding: 20px;
    }
}


/* ==========================================================
   V2.0 — STAGE 4F REPORTS & BUSINESS ANALYTICS
   ========================================================== */

.mgmt-reports-page {
    max-width: 1380px;
    margin: 0 auto;
    padding: 34px 24px 72px;
}

.reports-hero {
    display: flex;
    justify-content: space-between;
    gap: 32px;
    align-items: flex-end;
}

.reports-period-badge {
    min-width: 210px;
    padding: 17px 20px;
    border-radius: 18px;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.18);
}

.reports-period-badge span,
.reports-period-badge small {
    display: block;
    opacity: .76;
    font-size: .78rem;
}

.reports-period-badge strong {
    display: block;
    margin: 4px 0;
    font-size: 1.08rem;
}

.reports-filter-card {
    margin: 22px 0;
    padding: 18px;
    background: #fffdf8;
    border: 1px solid rgba(28,74,48,.12);
    border-radius: 20px;
    box-shadow: 0 12px 35px rgba(32,50,38,.06);
}

.reports-filter-form {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 22px;
    flex-wrap: wrap;
}

.reports-quick-periods {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.reports-quick-periods a {
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(28,74,48,.16);
    color: #1c4a30;
    text-decoration: none;
    font-weight: 700;
    font-size: .84rem;
}

.reports-quick-periods a.active {
    background: #1c4a30;
    color: #fff;
    border-color: #1c4a30;
}

.reports-custom-range {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.reports-custom-range label span {
    display: block;
    margin-bottom: 5px;
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #66736b;
    font-weight: 800;
}

.reports-custom-range input {
    min-height: 42px;
    padding: 8px 11px;
    border: 1px solid #d8ddd8;
    border-radius: 10px;
    background: #fff;
}

.reports-filter-error {
    margin-top: 12px;
    padding: 11px 14px;
    border-radius: 10px;
    background: #fff1ef;
    color: #9b2c24;
    font-weight: 700;
}

.reports-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin: 20px 0 16px;
}

.reports-kpi {
    min-height: 150px;
    padding: 22px;
    background: #fff;
    border: 1px solid rgba(28,74,48,.11);
    border-radius: 20px;
    box-shadow: 0 14px 38px rgba(32,50,38,.06);
}

.reports-kpi-primary {
    background: #173f2a;
    color: #fff;
}

.reports-kpi > span,
.reports-secondary-grid span {
    display: block;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 800;
    opacity: .72;
}

.reports-kpi > strong {
    display: block;
    margin: 16px 0 7px;
    font-size: clamp(1.5rem, 2vw, 2.15rem);
    line-height: 1;
}

.reports-kpi small {
    opacity: .7;
}

.reports-secondary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.reports-secondary-grid article {
    padding: 16px 18px;
    border-radius: 16px;
    background: #f4efe3;
}

.reports-secondary-grid strong {
    display: block;
    margin-top: 7px;
    color: #173f2a;
    font-size: 1.18rem;
}

.reports-secondary-grid small {
    display: block;
    margin-top: 3px;
    color: #68736c;
}

.reports-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin: 42px 0 14px;
}

.reports-section-heading h2 {
    margin: 3px 0 0;
    color: #173f2a;
}

.reports-section-heading p {
    margin: 0;
    color: #69736d;
}

.reports-two-column,
.reports-three-column {
    display: grid;
    gap: 16px;
}

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

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

.reports-panel {
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(28,74,48,.11);
    border-radius: 20px;
    box-shadow: 0 14px 38px rgba(32,50,38,.05);
}

.reports-panel-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 19px 20px 14px;
}

.reports-panel-head h3 {
    margin: 0;
    color: #173f2a;
}

.reports-panel-head p {
    margin: 5px 0 0;
    color: #727b75;
    font-size: .86rem;
}

.reports-table-wrap {
    overflow-x: auto;
}

.reports-table {
    width: 100%;
    border-collapse: collapse;
}

.reports-table th {
    padding: 11px 20px;
    text-align: left;
    background: #f6f2e9;
    color: #6d746e;
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .07em;
}

.reports-table td {
    padding: 14px 20px;
    border-top: 1px solid #edf0ed;
    color: #47534b;
}

.reports-table td strong {
    color: #173f2a;
}

.reports-stat-list {
    padding: 0 20px 15px;
}

.reports-stat-list > div {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 13px 0;
    border-top: 1px solid #edf0ed;
}

.reports-stat-list > div > span {
    color: #566159;
}

.reports-stat-list > div > strong {
    text-align: right;
    color: #173f2a;
}

.reports-stat-list small {
    display: block;
    margin-top: 2px;
    color: #8a918c;
    font-weight: 500;
}

.reports-customer-mix {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 8px 20px 20px;
}

.reports-customer-mix article {
    padding: 18px 12px;
    text-align: center;
    border-radius: 15px;
    background: #f6f2e9;
}

.reports-customer-mix strong {
    display: block;
    color: #173f2a;
    font-size: 1.7rem;
}

.reports-customer-mix span {
    display: block;
    margin-top: 5px;
    color: #69736d;
    font-size: .78rem;
}

.reports-exception-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.reports-exception-grid article {
    padding: 19px;
    border-radius: 17px;
    background: #eef4ef;
    border: 1px solid rgba(28,74,48,.10);
}

.reports-exception-grid article.attention {
    background: #fff3e5;
    border-color: #efd0a7;
}

.reports-exception-grid span {
    display: block;
    color: #68736c;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    font-weight: 800;
}

.reports-exception-grid strong {
    display: block;
    margin: 8px 0 3px;
    color: #173f2a;
    font-size: 1.55rem;
}

.reports-exception-grid small {
    color: #737c76;
}

.reports-policy-note {
    margin-top: 24px;
    padding: 17px 20px;
    border-left: 4px solid #c69a45;
    border-radius: 12px;
    background: #f7f2e8;
}

.reports-policy-note strong {
    color: #173f2a;
}

.reports-policy-note p {
    margin: 5px 0 0;
    color: #626d65;
    line-height: 1.6;
}

.reports-empty {
    padding: 24px !important;
    text-align: center;
    color: #7d867f !important;
}

@media (max-width: 1050px) {
    .reports-kpi-grid,
    .reports-secondary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .reports-three-column {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .mgmt-reports-page {
        padding: 24px 14px 55px;
    }

    .reports-hero,
    .reports-section-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .reports-period-badge {
        min-width: 0;
    }

    .reports-kpi-grid,
    .reports-secondary-grid,
    .reports-two-column,
    .reports-exception-grid {
        grid-template-columns: 1fr;
    }

    .reports-filter-form,
    .reports-custom-range {
        align-items: stretch;
        flex-direction: column;
    }

    .reports-custom-range input,
    .reports-custom-range .btn {
        width: 100%;
    }

    .reports-customer-mix {
        grid-template-columns: 1fr;
    }
}



/* ==========================================================
   V2.0 — STAGE 4G PROMOTIONS & COUPONS MANAGEMENT
   ========================================================== */

.management-promotions-v20,
.management-promotion-form-v20 {
    width: min(1480px, calc(100% - 40px));
    margin: 0 auto;
    padding: 46px 0 80px;
}

.promotions-hero-v20,
.promotion-form-hero-v20 {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 28px;
}

.promotions-hero-v20 h1,
.promotion-form-hero-v20 h1 {
    margin: 8px 0 10px;
    color: #073d28;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.05;
}

.promotions-hero-v20 p,
.promotion-form-hero-v20 p {
    max-width: 720px;
    margin: 0;
    color: #66736d;
    line-height: 1.7;
}

.promotions-hero-actions-v20 {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.promotions-back-button-v20,
.promotions-add-button-v20,
.promotion-save-button-v20,
.promotion-cancel-button-v20 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease;
}

.promotions-back-button-v20,
.promotion-cancel-button-v20 {
    border: 1px solid #d8ded9;
    background: #fff;
    color: #073d28;
}

.promotions-add-button-v20,
.promotion-save-button-v20 {
    border: 0;
    background: #073d28;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(7, 61, 40, .14);
}

.promotions-back-button-v20:hover,
.promotions-add-button-v20:hover,
.promotion-save-button-v20:hover,
.promotion-cancel-button-v20:hover {
    transform: translateY(-1px);
}

.promotions-summary-grid-v20 {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    margin: 26px 0;
}

.promotions-summary-card-v20 {
    padding: 22px;
    border: 1px solid #e6e9e6;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(24, 47, 37, .05);
}

.promotions-summary-card-v20 span {
    display: block;
    color: #78827d;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.promotions-summary-card-v20 strong {
    display: block;
    margin: 8px 0 3px;
    color: #073d28;
    font-size: 1.65rem;
}

.promotions-summary-card-v20 small {
    color: #87918c;
}

.promotions-table-card-v20,
.promotion-form-card-v20,
.promotion-side-card-v20 {
    border: 1px solid #e6e9e6;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(24, 47, 37, .06);
}

.promotions-table-header-v20 {
    padding: 25px 26px 20px;
}

.promotions-table-header-v20 h2,
.promotion-form-heading-v20 h2,
.promotion-side-card-v20 h3 {
    margin: 6px 0 8px;
    color: #073d28;
}

.promotions-table-header-v20 p,
.promotion-side-card-v20 p {
    margin: 0;
    color: #748079;
    line-height: 1.65;
}

.promotions-table-scroll-v20 {
    overflow-x: auto;
}

.promotions-table-v20 {
    width: 100%;
    min-width: 1180px;
    border-collapse: collapse;
}

.promotions-table-v20 th,
.promotions-table-v20 td {
    padding: 16px 18px;
    border-top: 1px solid #edf0ed;
    text-align: left;
    vertical-align: middle;
}

.promotions-table-v20 th {
    color: #727d77;
    background: #fafbf9;
    font-size: .76rem;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.promotion-code-v20,
.promotion-validity-v20 {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.promotion-code-v20 strong {
    color: #073d28;
    letter-spacing: .03em;
}

.promotion-code-v20 small,
.promotion-validity-v20 span,
.promotion-usage-note-v20,
.promotion-muted-v20 {
    color: #87918c;
    font-size: .8rem;
}

.promotion-usage-note-v20 {
    display: block;
    margin-top: 3px;
}

.promotion-status-v20 {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    background: #eef2ef;
    color: #59635e;
    font-size: .74rem;
    font-weight: 800;
}

.promotion-status-v20.active {
    background: #e6f4eb;
    color: #17643c;
}

.promotion-status-v20.scheduled {
    background: #fff6dc;
    color: #8a6500;
}

.promotion-status-v20.expired,
.promotion-status-v20.exhausted,
.promotion-status-v20.inactive {
    background: #f5e9e8;
    color: #8a3730;
}

.promotions-edit-link-v20 {
    color: #073d28;
    font-weight: 800;
    text-decoration: none;
}

.promotions-edit-link-v20:hover {
    text-decoration: underline;
}

.promotions-empty-v20 {
    padding: 40px !important;
    color: #7b8580;
    text-align: center !important;
}

.promotions-protection-note-v20 {
    margin-top: 18px;
    padding: 20px 22px;
    border: 1px solid #e7dfc4;
    border-radius: 16px;
    background: #fffaf0;
}

.promotions-protection-note-v20 strong {
    color: #073d28;
}

.promotions-protection-note-v20 p {
    margin: 5px 0 0;
    color: #716c5d;
    line-height: 1.6;
}

.promotion-editor-grid-v20 {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, .8fr);
    gap: 22px;
    align-items: start;
}

.promotion-form-card-v20,
.promotion-side-card-v20 {
    padding: 26px;
}

.promotion-fields-grid-v20 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.promotion-field-wide-v20 {
    grid-column: 1 / -1;
}

.promotion-field-v20 label,
.promotion-toggle-field-v20 label {
    display: block;
    margin-bottom: 7px;
    color: #173c2d;
    font-weight: 800;
}

.promotion-field-v20 input {
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid #d9dfdb;
    border-radius: 11px;
    background: #fff;
    color: #26342e;
    font: inherit;
    box-sizing: border-box;
}

.promotion-field-v20 input:focus {
    border-color: #a98736;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(169, 135, 54, .12);
}

.promotion-money-field-v20,
.promotion-suffix-field-v20 {
    display: flex;
    align-items: center;
    border: 1px solid #d9dfdb;
    border-radius: 11px;
    overflow: hidden;
    background: #fff;
}

.promotion-money-field-v20 span,
.promotion-suffix-field-v20 span {
    padding: 0 13px;
    color: #806923;
    font-weight: 800;
}

.promotion-money-field-v20 input,
.promotion-suffix-field-v20 input {
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.promotion-field-help-v20 {
    display: block;
    margin-top: 6px;
    color: #8a938f;
    line-height: 1.45;
}

.promotion-field-error-v20,
.promotion-form-errors-v20 {
    display: block;
    margin-top: 6px;
    color: #a33b32;
    font-weight: 700;
}

.promotion-form-errors-v20 {
    padding: 12px 14px;
    border-radius: 10px;
    background: #fff0ef;
}

.promotion-toggle-field-v20 {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 24px;
    padding: 17px;
    border-radius: 14px;
    background: #f7f9f7;
}

.promotion-toggle-field-v20 input {
    width: 19px;
    height: 19px;
    margin-top: 3px;
}

.promotion-toggle-field-v20 small {
    color: #7d8782;
}

.promotion-current-v20 {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 20px;
    padding: 17px;
    border: 1px solid #e8e2cf;
    border-radius: 14px;
    background: #fffaf1;
}

.promotion-current-v20 span {
    color: #8b7a47;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.promotion-current-v20 strong {
    color: #073d28;
}

.promotion-current-v20 small {
    color: #756f60;
    line-height: 1.5;
}

.promotion-form-actions-v20 {
    display: flex;
    gap: 12px;
    margin-top: 26px;
}

.promotion-side-card-v20 {
    position: sticky;
    top: 105px;
}

.promotion-side-rule-v20 {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 16px 0;
    border-top: 1px solid #edf0ed;
}

.promotion-side-rule-v20:first-of-type {
    margin-top: 18px;
}

.promotion-side-rule-v20 strong {
    color: #173c2d;
}

.promotion-side-rule-v20 span {
    color: #7b8580;
    line-height: 1.55;
    font-size: .9rem;
}

@media (max-width: 1100px) {
    .promotions-summary-grid-v20 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .promotion-editor-grid-v20 {
        grid-template-columns: 1fr;
    }

    .promotion-side-card-v20 {
        position: static;
    }
}

@media (max-width: 720px) {
    .management-promotions-v20,
    .management-promotion-form-v20 {
        width: min(100% - 24px, 1480px);
        padding-top: 28px;
    }

    .promotions-hero-v20,
    .promotion-form-hero-v20 {
        align-items: stretch;
        flex-direction: column;
    }

    .promotions-hero-actions-v20,
    .promotion-form-actions-v20 {
        flex-direction: column;
        align-items: stretch;
    }

    .promotions-summary-grid-v20,
    .promotion-fields-grid-v20 {
        grid-template-columns: 1fr;
    }

    .promotion-field-wide-v20 {
        grid-column: auto;
    }

    .promotions-back-button-v20,
    .promotions-add-button-v20,
    .promotion-save-button-v20,
    .promotion-cancel-button-v20 {
        width: 100%;
        box-sizing: border-box;
    }
}


/* ==============================================================
   V2.0 — STAGE 4H BUSINESS SETTINGS
   ============================================================== */

.mgmt-settings-page {
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
    padding: 42px 0 90px;
}

.mgmt-settings-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    padding: 36px;
    border-radius: 28px;
    background:
        radial-gradient(
            circle at top right,
            rgba(207, 168, 79, 0.16),
            transparent 38%
        ),
        #123d2d;
    color: #fff;
}

.mgmt-settings-eyebrow {
    display: block;
    margin-bottom: 10px;
    color: #d9b866;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.mgmt-settings-hero h1 {
    margin: 0 0 10px;
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1;
}

.mgmt-settings-hero p {
    max-width: 670px;
    margin: 0;
    color: rgba(255, 255, 255, 0.74);
    line-height: 1.7;
}

.mgmt-settings-status {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    flex: 0 0 auto;
    padding: 11px 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 0.84rem;
    font-weight: 800;
}

.settings-status-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #78d89b;
    box-shadow: 0 0 0 4px rgba(120, 216, 155, 0.13);
}

.settings-status-dot.is-closed {
    background: #e59a91;
    box-shadow: 0 0 0 4px rgba(229, 154, 145, 0.13);
}

.mgmt-settings-nav {
    display: flex;
    gap: 6px;
    margin: 22px 0 36px;
    padding: 7px;
    overflow-x: auto;
    border: 1px solid rgba(18, 61, 45, 0.09);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 32px rgba(30, 52, 42, 0.05);
}

.mgmt-settings-nav a {
    flex: 0 0 auto;
    padding: 10px 14px;
    border-radius: 12px;
    color: #536159;
    font-size: 0.84rem;
    font-weight: 800;
    text-decoration: none;
    transition: 0.2s ease;
}

.mgmt-settings-nav a:hover {
    background: #f4efe3;
    color: #123d2d;
}

.mgmt-settings-nav a.active {
    background: #123d2d;
    color: #fff;
}

.settings-messages {
    margin-bottom: 22px;
}

.settings-message {
    padding: 14px 17px;
    border: 1px solid rgba(18, 61, 45, 0.12);
    border-radius: 14px;
    background: #edf6f0;
    color: #123d2d;
    font-weight: 700;
}

.settings-form-errors {
    margin-bottom: 24px;
    padding: 16px 18px;
    border: 1px solid rgba(156, 55, 55, 0.18);
    border-radius: 14px;
    background: #fff1ef;
    color: #8f302c;
}

.settings-form-errors p {
    margin: 0;
}

.settings-section {
    margin-top: 38px;
}

.settings-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 15px;
}

.settings-section-heading > div {
    display: flex;
    align-items: center;
    gap: 12px;
}

.settings-section-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #ead8a7;
    color: #123d2d;
    font-size: 0.75rem;
    font-weight: 900;
}

.settings-section-heading h2 {
    margin: 0;
    color: #123d2d;
    font-size: 1.35rem;
}

.settings-section-heading p {
    max-width: 470px;
    margin: 0;
    color: #778179;
    font-size: 0.88rem;
    line-height: 1.6;
    text-align: right;
}

.settings-card {
    padding: 26px;
    border: 1px solid rgba(18, 61, 45, 0.09);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 36px rgba(31, 48, 40, 0.05);
}

.settings-grid {
    display: grid;
    gap: 22px;
}

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

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

.settings-field-full {
    grid-column: 1 / -1;
}

.settings-field label {
    display: block;
    margin-bottom: 8px;
    color: #253b31;
    font-size: 0.82rem;
    font-weight: 800;
}

.settings-field input:not([type="checkbox"]),
.settings-field textarea,
.settings-field select {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid #d8ded9;
    border-radius: 12px;
    outline: none;
    background: #fbfcfa;
    color: #1e3329;
    font: inherit;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.settings-field textarea {
    min-height: 105px;
    resize: vertical;
}

.settings-field input:not([type="checkbox"]):focus,
.settings-field textarea:focus,
.settings-field select:focus {
    border-color: #b9974c;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(185, 151, 76, 0.10);
}

.settings-field small {
    display: block;
    margin-top: 8px;
    color: #879087;
    font-size: 0.77rem;
    line-height: 1.55;
}

.settings-error {
    display: block;
    margin-top: 7px;
    color: #a33c36;
    font-size: 0.78rem;
    font-weight: 700;
}

.settings-payment-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
    padding: 15px 18px;
    border-radius: 14px;
    background: #f5f0e4;
    color: #123d2d;
}

.settings-payment-banner span {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.settings-payment-banner strong {
    font-size: 0.92rem;
}

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

.settings-toggle-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 102px;
    padding: 20px;
    border: 1px solid rgba(18, 61, 45, 0.09);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(31, 48, 40, 0.04);
    cursor: pointer;
}

.settings-toggle-card strong {
    display: block;
    margin-bottom: 5px;
    color: #123d2d;
    font-size: 0.93rem;
}

.settings-toggle-card > div > span {
    display: block;
    max-width: 330px;
    color: #7b857e;
    font-size: 0.78rem;
    line-height: 1.5;
}

.settings-switch {
    position: relative;
    display: inline-block;
    flex: 0 0 auto;
    width: 48px;
    height: 27px;
}

.settings-switch input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.settings-switch-slider {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: #ccd2ce;
    transition: 0.2s ease;
}

.settings-switch-slider::after {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 19px;
    height: 19px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 7px rgba(0, 0, 0, 0.18);
    content: "";
    transition: 0.2s ease;
}

.settings-switch input:checked + .settings-switch-slider {
    background: #123d2d;
}

.settings-switch input:checked + .settings-switch-slider::after {
    transform: translateX(21px);
}

.settings-inline-errors {
    margin-top: 10px;
    color: #a33c36;
    font-size: 0.8rem;
}

.settings-inline-errors ul {
    margin: 0;
    padding-left: 18px;
}

.settings-lead-card {
    margin-top: 14px;
}

.settings-number-control {
    display: flex;
    align-items: stretch;
    max-width: 360px;
}

.settings-number-control input {
    border-radius: 12px 0 0 12px !important;
}

.settings-number-control > span {
    display: flex;
    align-items: center;
    padding: 0 16px;
    border: 1px solid #d8ded9;
    border-left: 0;
    border-radius: 0 12px 12px 0;
    background: #f4f1e8;
    color: #647068;
    font-size: 0.8rem;
    font-weight: 800;
}

.settings-save-bar {
    position: sticky;
    bottom: 18px;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 34px;
    padding: 17px 20px;
    border: 1px solid rgba(18, 61, 45, 0.12);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 50px rgba(24, 48, 37, 0.14);
    backdrop-filter: blur(12px);
}

.settings-save-bar strong {
    display: block;
    margin-bottom: 3px;
    color: #123d2d;
}

.settings-save-bar span {
    color: #7c877f;
    font-size: 0.78rem;
}

.settings-save-button {
    padding: 12px 22px;
    border: 0;
    border-radius: 12px;
    background: #123d2d;
    color: #fff;
    font: inherit;
    font-size: 0.86rem;
    font-weight: 800;
    cursor: pointer;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.settings-save-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(18, 61, 45, 0.20);
}

@media (max-width: 850px) {
    .mgmt-settings-hero,
    .settings-section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .settings-section-heading p {
        text-align: left;
    }

    .settings-grid-two,
    .settings-grid-three,
    .settings-operations-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .mgmt-settings-page {
        width: min(100% - 22px, 1180px);
        padding-top: 22px;
    }

    .mgmt-settings-hero {
        padding: 26px 22px;
        border-radius: 22px;
    }

    .settings-card {
        padding: 20px 17px;
    }

    .settings-toggle-card {
        padding: 18px 16px;
    }

    .settings-save-bar {
        bottom: 8px;
    }

    .settings-save-bar > div {
        display: none;
    }

    .settings-save-button {
        width: 100%;
    }
}


/* ==============================================================
   V2.0 — STAGE 4H PAYMENT ACCOUNT MANAGEMENT
   ============================================================== */

.payment-account-form-page {
    width: min(980px, calc(100% - 36px));
    margin: 0 auto;
    padding: 42px 0 90px;
}

.payment-account-form-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    padding: 34px;
    border-radius: 26px;
    background:
        radial-gradient(
            circle at top right,
            rgba(207, 168, 79, 0.17),
            transparent 40%
        ),
        #123d2d;
    color: #fff;
}

.payment-account-eyebrow {
    display: block;
    margin-bottom: 10px;
    color: #d9b866;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.payment-account-form-hero h1 {
    margin: 0 0 9px;
    color: #fff;
    font-size: clamp(1.9rem, 4vw, 2.8rem);
}

.payment-account-form-hero p {
    max-width: 590px;
    margin: 0;
    color: rgba(255, 255, 255, 0.73);
    line-height: 1.65;
}

.payment-account-back {
    flex: 0 0 auto;
    padding: 11px 15px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 11px;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 800;
    text-decoration: none;
}

.payment-account-back:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.payment-account-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.payment-sort-card {
    margin-top: 14px;
}

.payment-sort-card .settings-field {
    max-width: 360px;
}

.payment-form-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.payment-account-cancel {
    padding: 11px 17px;
    border: 1px solid rgba(18, 61, 45, 0.16);
    border-radius: 11px;
    color: #123d2d;
    font-size: 0.84rem;
    font-weight: 800;
    text-decoration: none;
}

.payment-account-cancel:hover {
    background: #f4f0e6;
    color: #123d2d;
}

@media (max-width: 700px) {
    .payment-account-form-hero {
        align-items: flex-start;
        flex-direction: column;
    }

    .payment-account-options {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .payment-account-form-page {
        width: min(100% - 22px, 980px);
        padding-top: 22px;
    }

    .payment-account-form-hero {
        padding: 25px 21px;
    }

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

    .payment-account-cancel,
    .payment-form-actions .settings-save-button {
        flex: 1;
        text-align: center;
    }
}


/* ==============================================================
   V2.0 — STAGE 4H PAYMENT ACCOUNT MANAGEMENT
   ============================================================== */

.payment-account-form-page {
    width: min(980px, calc(100% - 36px));
    margin: 0 auto;
    padding: 42px 0 90px;
}

.payment-account-form-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    padding: 34px;
    border-radius: 26px;
    background:
        radial-gradient(
            circle at top right,
            rgba(207, 168, 79, 0.17),
            transparent 40%
        ),
        #123d2d;
    color: #fff;
}

.payment-account-eyebrow {
    display: block;
    margin-bottom: 10px;
    color: #d9b866;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.payment-account-form-hero h1 {
    margin: 0 0 9px;
    color: #fff;
    font-size: clamp(1.9rem, 4vw, 2.8rem);
}

.payment-account-form-hero p {
    max-width: 590px;
    margin: 0;
    color: rgba(255, 255, 255, 0.73);
    line-height: 1.65;
}

.payment-account-back {
    flex: 0 0 auto;
    padding: 11px 15px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 11px;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 800;
    text-decoration: none;
}

.payment-account-back:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.payment-account-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.payment-sort-card {
    margin-top: 14px;
}

.payment-sort-card .settings-field {
    max-width: 360px;
}

.payment-form-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.payment-account-cancel {
    padding: 11px 17px;
    border: 1px solid rgba(18, 61, 45, 0.16);
    border-radius: 11px;
    color: #123d2d;
    font-size: 0.84rem;
    font-weight: 800;
    text-decoration: none;
}

.payment-account-cancel:hover {
    background: #f4f0e6;
    color: #123d2d;
}

@media (max-width: 700px) {
    .payment-account-form-hero {
        align-items: flex-start;
        flex-direction: column;
    }

    .payment-account-options {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .payment-account-form-page {
        width: min(100% - 22px, 980px);
        padding-top: 22px;
    }

    .payment-account-form-hero {
        padding: 25px 21px;
    }

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

    .payment-account-cancel,
    .payment-form-actions .settings-save-button {
        flex: 1;
        text-align: center;
    }
}


/* ==============================================================
   V2.0 — STAGE 4H PAYMENT ACCOUNTS SETTINGS MANAGER
   ============================================================== */

.payment-accounts-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 14px;
    padding: 18px 20px;
    border: 1px solid rgba(18, 61, 45, 0.09);
    border-radius: 17px;
    background: #f5f0e4;
}

.payment-accounts-toolbar strong {
    display: block;
    margin-bottom: 3px;
    color: #123d2d;
    font-size: 0.9rem;
}

.payment-accounts-toolbar span {
    color: #78847c;
    font-size: 0.78rem;
}

.payment-account-add-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    padding: 11px 16px;
    border-radius: 11px;
    background: #123d2d;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 800;
    text-decoration: none;
}

.payment-account-add-button:hover {
    color: #fff;
    transform: translateY(-1px);
}

.payment-account-list {
    display: grid;
    gap: 14px;
}

.payment-account-card {
    overflow: hidden;
    border: 1px solid rgba(18, 61, 45, 0.10);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 32px rgba(31, 48, 40, 0.045);
}

.payment-account-card.is-primary {
    border-color: rgba(185, 151, 76, 0.50);
    box-shadow:
        0 10px 32px rgba(31, 48, 40, 0.045),
        inset 4px 0 0 #b9974c;
}

.payment-account-card.is-inactive {
    opacity: 0.72;
}

.payment-account-card-main {
    padding: 23px;
}

.payment-account-card-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.payment-account-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}

.payment-badge {
    display: inline-flex;
    padding: 5px 8px;
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.payment-badge.primary {
    background: #f2e6c5;
    color: #775d20;
}

.payment-badge.active {
    background: #e4f3e9;
    color: #27633d;
}

.payment-badge.inactive {
    background: #eee;
    color: #68706b;
}

.payment-account-card h3 {
    margin: 0 0 4px;
    color: #123d2d;
    font-size: 1.18rem;
}

.payment-account-bank {
    color: #7b867e;
    font-size: 0.82rem;
    font-weight: 700;
}

.payment-account-number {
    padding: 10px 14px;
    border-radius: 11px;
    background: #f5f0e4;
    color: #123d2d;
    font-size: 1.05rem;
    font-weight: 900;
    letter-spacing: 0.04em;
}

.payment-account-details {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(100px, 1fr);
    gap: 12px;
    margin-top: 19px;
}

.payment-account-details > div {
    padding: 13px 15px;
    border-radius: 12px;
    background: #f8faf7;
}

.payment-account-details span {
    display: block;
    margin-bottom: 4px;
    color: #8a938d;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.payment-account-details strong {
    color: #294136;
    font-size: 0.85rem;
}

.payment-account-instructions {
    margin-top: 14px;
    padding: 13px 15px;
    border-left: 3px solid #d0ad5d;
    border-radius: 0 10px 10px 0;
    background: #faf7ef;
    color: #6c746e;
    font-size: 0.8rem;
    line-height: 1.6;
}

.payment-account-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 13px 23px;
    border-top: 1px solid rgba(18, 61, 45, 0.08);
    background: #fbfcfa;
}

.payment-account-actions form {
    margin: 0;
}

.payment-action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 8px 12px;
    border: 1px solid rgba(18, 61, 45, 0.14);
    border-radius: 9px;
    background: #fff;
    color: #123d2d;
    font: inherit;
    font-size: 0.74rem;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.payment-action-button:hover {
    border-color: #123d2d;
    color: #123d2d;
}

.payment-action-button.danger {
    border-color: rgba(157, 59, 52, 0.17);
    color: #9d3b34;
}

.payment-action-button.danger:hover {
    border-color: #9d3b34;
    background: #fff6f5;
    color: #9d3b34;
}

.payment-account-empty {
    padding: 40px 24px;
    border: 1px dashed rgba(18, 61, 45, 0.18);
    border-radius: 20px;
    background: #fff;
    text-align: center;
}

.payment-account-empty strong {
    display: block;
    color: #123d2d;
    font-size: 1rem;
}

.payment-account-empty p {
    margin: 7px auto 18px;
    color: #7c867f;
    font-size: 0.82rem;
}

@media (max-width: 650px) {
    .payment-accounts-toolbar,
    .payment-account-card-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .payment-account-add-button {
        width: 100%;
    }

    .payment-account-number {
        align-self: flex-start;
    }

    .payment-account-details {
        grid-template-columns: 1fr;
    }

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

    .payment-account-actions form,
    .payment-action-button {
        width: 100%;
    }
}


/* ==============================================================
   V2.0 — STAGE 4H CUSTOMER MULTI-ACCOUNT PAYMENT
   ============================================================== */

.customer-payment-accounts {
    display: grid;
    gap: 14px;
}

.customer-payment-accounts .bank-transfer-card {
    margin: 0;
}

.customer-payment-accounts .bank-transfer-card.primary-account {
    border-color: rgba(185, 151, 76, 0.52);
    box-shadow:
        0 12px 32px rgba(18, 61, 45, 0.06),
        inset 4px 0 0 #b9974c;
}

.bank-transfer-card-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
}

.bank-transfer-card-heading .bank-label {
    margin: 0;
}

.customer-primary-badge {
    display: inline-flex;
    padding: 5px 9px;
    border-radius: 999px;
    background: #f2e6c5;
    color: #775d20;
    font-size: 0.64rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.customer-payment-account-name {
    margin: 7px 0 15px;
    color: #123d2d;
    font-size: 1rem;
}

.customer-payment-instructions {
    margin-top: 13px;
    padding: 11px 13px;
    border-left: 3px solid #d0ad5d;
    border-radius: 0 9px 9px 0;
    background: #faf7ef;
    color: #69746d;
    font-size: 0.78rem;
    line-height: 1.55;
}

.payment-account-unavailable {
    padding: 25px 20px;
    border: 1px solid rgba(157, 59, 52, 0.18);
    border-radius: 16px;
    background: #fff8f7;
    text-align: center;
}

.payment-account-unavailable strong {
    display: block;
    color: #8f3731;
}

.payment-account-unavailable p {
    margin: 7px 0 0;
    color: #777;
    font-size: 0.82rem;
}

@media (max-width: 560px) {
    .bank-transfer-card-heading {
        align-items: flex-start;
        flex-direction: column;
    }
}


/* ==============================================================
   V2.0 — STAGE 4H SETTINGS SAVE BAR FIX
   ============================================================== */

.payment-account-list {
    position: relative;
    z-index: 1;
}

.settings-save-bar {
    position: sticky;
    bottom: 16px;
    z-index: 20;
    margin-top: 28px;
}

.settings-section:last-of-type {
    padding-bottom: 90px;
}

@media (max-width: 700px) {
    .settings-save-bar {
        bottom: 8px;
    }
}


/* ==============================================================
   V2.0 — STAGE 4H COPY ACCOUNT BUTTON VISIBILITY FIX
   ============================================================== */

.customer-payment-accounts .copy-account {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 68px;
    min-height: 38px;
    padding: 8px 14px;

    border: 1px solid #c99b3c;
    border-radius: 8px;
    background: #fffaf0;

    color: #123d2d !important;
    font-family: inherit;
    font-size: 0.76rem;
    font-weight: 800;
    line-height: 1;

    text-indent: 0;
    text-transform: none;
    white-space: nowrap;

    cursor: pointer;
    opacity: 1;
}

.customer-payment-accounts .copy-account:hover {
    background: #123d2d;
    border-color: #123d2d;
    color: #ffffff !important;
}

.customer-payment-accounts .copy-account:focus-visible {
    outline: 3px solid rgba(201, 155, 60, 0.25);
    outline-offset: 2px;
}

.customer-payment-accounts .account-number-row {
    gap: 12px;
}

.customer-payment-accounts .account-number-row strong {
    flex: 1;
}


/* ==============================================================
   V2.0 — STAGE 4H COPY SUCCESS STATE
   ============================================================== */

.customer-payment-accounts .copy-account.copied {
    border-color: #123d2d;
    background: #123d2d;
    color: #ffffff !important;
}


/* ==============================================================
   V2.0 — STAGE 4H SETTINGS SAVE BAR FINAL POSITION
   ============================================================== */

.settings-save-bar {
    position: relative !important;
    bottom: auto !important;
    z-index: auto !important;
    margin-top: 28px !important;
}

.settings-section {
    scroll-margin-top: 110px;
}

.settings-section:last-of-type {
    padding-bottom: 24px;
}


/* ==============================================================
   V2.0 — STAGE 4I PAYMENT ACCOUNT SELECTION
   ============================================================== */

.payment-account-selector {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 15px;
    padding: 10px 12px;
    border: 1px solid rgba(18, 61, 45, 0.12);
    border-radius: 9px;
    background: rgba(18, 61, 45, 0.035);
    color: #123d2d;
    font-size: .76rem;
    font-weight: 800;
    cursor: pointer;
}

.payment-account-selector input {
    width: 17px;
    height: 17px;
    margin: 0;
    accent-color: #123d2d;
    cursor: pointer;
}

.payment-account-selector:has(input:checked) {
    border-color: rgba(185, 151, 76, .65);
    background: #fffaf0;
}


/* ==============================================================
   V2.0 — STAGE 4I PAYMENT VERIFICATION EVIDENCE
   ============================================================== */

.stage4i-payment-account {
    margin: 18px 0;
    padding: 16px 18px;
    border: 1px solid rgba(185, 151, 76, .45);
    border-radius: 12px;
    background: #fffaf0;
}

.stage4i-payment-account-heading {
    margin-bottom: 8px;
    color: #8b6b27;
    font-size: .7rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.stage4i-payment-account-bank {
    color: #123d2d;
    font-size: 1rem;
    font-weight: 900;
}

.stage4i-payment-account-label {
    margin-top: 2px;
    color: #59645f;
    font-size: .78rem;
    font-weight: 700;
}

.stage4i-payment-account-number {
    margin-top: 9px;
    color: #123d2d;
    font-size: 1.15rem;
    font-weight: 900;
    letter-spacing: .04em;
}

.stage4i-payment-account-name {
    margin-top: 3px;
    color: #39443f;
    font-size: .8rem;
    font-weight: 700;
}

.stage4i-payment-account-note {
    margin-top: 10px;
    color: #6d746f;
    font-size: .72rem;
    line-height: 1.5;
}

.stage4i-payment-account-legacy {
    border-color: rgba(110, 110, 110, .2);
    background: #f8f7f3;
}

/* ==========================================================
   V2.0 Stage 4J — Payment verification audit
   ========================================================== */

.stage4j-verification-audit {
    margin: 18px 0;
    padding: 16px 18px;
    border: 1px solid rgba(18, 61, 45, .18);
    border-radius: 12px;
    background: rgba(18, 61, 45, .045);
}

.stage4j-verification-heading {
    margin-bottom: 8px;
    font-size: .7rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.stage4j-verification-status {
    margin-bottom: 12px;
    font-size: 1rem;
    font-weight: 900;
}

.stage4j-verification-meta {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 7px 0;
    border-top: 1px solid rgba(18, 61, 45, .08);
    font-size: .78rem;
}

.stage4j-verification-meta span {
    opacity: .7;
}

.stage4j-verification-meta strong {
    text-align: right;
}

.stage4j-verification-note {
    margin-top: 12px;
    font-size: .76rem;
    line-height: 1.55;
}

.stage4j-verification-note span {
    display: block;
    margin-bottom: 4px;
    font-weight: 900;
}

.stage4j-verification-note p {
    margin: 0;
    white-space: pre-wrap;
}

.stage4j-verification-reversed {
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    background: rgba(139, 45, 45, .07);
    font-size: .72rem;
    font-weight: 700;
    line-height: 1.5;
}

.stage4j-verification-historical {
    background: #f8f7f3;
    border-color: rgba(110, 110, 110, .2);
}

.stage4j-verification-input {
    width: 100%;
    box-sizing: border-box;
    min-height: 82px;
    resize: vertical;
}

.stage4j-verification-help {
    margin-top: -4px;
    margin-bottom: 12px;
    font-size: .68rem;
    line-height: 1.45;
    opacity: .65;
}


/* ============================================================
   V2.0 Stage 4K — Finance & Payment Reconciliation
   ============================================================ */

.stage4k-finance {
    padding: 36px 0 64px;
}

.stage4k-finance .management-shell {
    width: min(1440px, calc(100% - 32px));
    margin: 0 auto;
}

.stage4k-header,
.stage4k-section-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.stage4k-header {
    margin-bottom: 24px;
}

.stage4k-header h1,
.stage4k-section-heading h2 {
    margin: 0;
    color: #073d28;
}

.stage4k-eyebrow {
    margin: 0 0 6px;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #9a7418;
}

.stage4k-intro {
    max-width: 720px;
    margin: 8px 0 0;
    color: #647067;
}

.stage4k-header-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.stage4k-secondary-button,
.stage4k-reset-button,
.stage4k-view-button,
.stage4k-primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 9px 16px;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.stage4k-secondary-button,
.stage4k-reset-button {
    border: 1px solid #d8d3c5;
    background: #fff;
    color: #073d28;
}

.stage4k-primary-button,
.stage4k-view-button {
    border: 1px solid #073d28;
    background: #073d28;
    color: #fff;
}

.stage4k-filter-panel {
    margin-bottom: 24px;
    padding: 20px;
    border: 1px solid #e5dfd1;
    border-radius: 16px;
    background: #fffdf8;
}

.stage4k-filter-grid {
    display: grid;
    grid-template-columns:
        minmax(130px, .8fr)
        minmax(145px, 1fr)
        minmax(145px, 1fr)
        minmax(190px, 1.25fr)
        minmax(210px, 1.4fr)
        auto;
    gap: 14px;
    align-items: end;
}

.stage4k-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.stage4k-field label {
    font-size: .8rem;
    font-weight: 800;
    color: #425047;
}

.stage4k-field input,
.stage4k-field select {
    width: 100%;
    min-height: 42px;
    padding: 8px 10px;
    border: 1px solid #d8d3c5;
    border-radius: 9px;
    background: #fff;
    color: #1d2b23;
}

.stage4k-filter-actions {
    display: flex;
    gap: 8px;
}

.stage4k-kpi-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}

.stage4k-kpi {
    min-height: 145px;
    padding: 20px;
    border: 1px solid #e7e0d2;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(25, 46, 34, .05);
}

.stage4k-kpi-attention {
    border-color: #dfc271;
    background: #fffaf0;
}

.stage4k-kpi-historical {
    background: #f6f6f3;
}

.stage4k-kpi-label,
.stage4k-kpi-meta {
    display: block;
}

.stage4k-kpi-label {
    margin-bottom: 10px;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #68736c;
}

.stage4k-kpi-value {
    display: block;
    margin-bottom: 8px;
    font-size: clamp(1.45rem, 2.4vw, 2rem);
    color: #073d28;
}

.stage4k-kpi-meta {
    font-size: .86rem;
    color: #778078;
}

.stage4k-reconciliation {
    overflow: hidden;
    border: 1px solid #e5dfd1;
    border-radius: 18px;
    background: #fff;
}

.stage4k-section-heading {
    padding: 20px 22px;
    border-bottom: 1px solid #eee8dc;
}

.stage4k-result-count {
    padding: 6px 10px;
    border-radius: 999px;
    background: #f2eee3;
    color: #5d665f;
    font-size: .8rem;
    font-weight: 800;
}

.stage4k-account-context {
    padding: 12px 22px;
    border-bottom: 1px solid #eee8dc;
    background: #fffaf0;
    color: #5d5645;
}

.stage4k-table-wrap {
    overflow-x: auto;
}

.stage4k-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 1120px;
}

.stage4k-table th,
.stage4k-table td {
    padding: 15px 14px;
    border-bottom: 1px solid #eeeae1;
    text-align: left;
    vertical-align: top;
}

.stage4k-table th {
    background: #faf8f2;
    color: #5d675f;
    font-size: .73rem;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.stage4k-table td {
    color: #26352c;
    font-size: .88rem;
}

.stage4k-table tbody tr:hover {
    background: #fffdf8;
}

.stage4k-cell-sub {
    display: block;
    margin-top: 4px;
    color: #7b837d;
    font-size: .78rem;
}

.stage4k-money {
    white-space: nowrap;
    font-weight: 800;
    color: #073d28;
}

.stage4k-badge {
    display: inline-flex;
    padding: 5px 9px;
    border-radius: 999px;
    background: #f0f1ef;
    color: #535d56;
    font-size: .72rem;
    font-weight: 800;
}

.stage4k-badge-transfer {
    background: #fff3cf;
    color: #795900;
}

.stage4k-badge-paid {
    background: #e7f4eb;
    color: #176338;
}

.stage4k-badge-historical {
    background: #ececea;
    color: #626762;
}

.stage4k-badge-failed {
    background: #fbe8e8;
    color: #9a3030;
}

.stage4k-awaiting {
    font-weight: 800;
    color: #8a6500;
}

.stage4k-muted {
    color: #8b928d;
    font-size: .82rem;
}

.stage4k-view-button {
    min-height: 34px;
    padding: 6px 11px;
    font-size: .78rem;
}

.stage4k-empty {
    padding: 48px 24px;
    text-align: center;
}

.stage4k-empty h3 {
    margin: 0 0 8px;
    color: #073d28;
}

.stage4k-empty p {
    margin: 0;
    color: #788079;
}

.stage4k-policy-note {
    margin-top: 18px;
    padding: 15px 18px;
    border-left: 4px solid #b88a21;
    border-radius: 8px;
    background: #fffaf0;
    color: #5c594e;
    font-size: .86rem;
}

.stage4k-alert {
    margin-bottom: 18px;
    padding: 12px 15px;
    border-radius: 10px;
}

.stage4k-alert-error {
    border: 1px solid #e6b7b7;
    background: #fff1f1;
    color: #8b2d2d;
}

@media (max-width: 1180px) {
    .stage4k-filter-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .stage4k-header,
    .stage4k-section-heading {
        flex-direction: column;
    }

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

@media (max-width: 560px) {
    .stage4k-finance .management-shell {
        width: min(100% - 20px, 1440px);
    }

    .stage4k-kpi-grid,
    .stage4k-filter-grid {
        grid-template-columns: 1fr;
    }

    .stage4k-filter-actions,
    .stage4k-header-actions {
        width: 100%;
    }

    .stage4k-primary-button,
    .stage4k-reset-button,
    .stage4k-secondary-button {
        flex: 1;
    }
}


/* Stage 4K management navigation */
.stage4k-management-nav {
    margin-bottom: 24px;
}

@media (max-width: 820px) {
    .stage4k-management-nav {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 6px;
    }

    .stage4k-management-nav a {
        white-space: nowrap;
    }
}


/* ============================================================
   V2.0 Stage 4L — Management Activity & Audit Centre
   ============================================================ */

.stage4l-activity {
    background: #f7f4ec;
    min-height: 100vh;
    padding: 42px 22px 70px;
}

.stage4l-shell {
    width: min(1480px, 100%);
    margin: 0 auto;
}

.stage4l-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
    margin-bottom: 24px;
}

.stage4l-eyebrow {
    margin: 0 0 8px;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #9b741c;
}

.stage4l-header h1 {
    margin: 0;
    color: #073d28;
    font-family: Georgia, serif;
    font-size: clamp(2rem, 4vw, 3.35rem);
    line-height: 1.05;
}

.stage4l-intro {
    max-width: 760px;
    margin: 14px 0 0;
    color: #667169;
    font-size: .98rem;
    line-height: 1.7;
}

.stage4l-header-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.stage4l-primary-button,
.stage4l-secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 10px;
    text-decoration: none;
    font-size: .84rem;
    font-weight: 800;
}

.stage4l-primary-button {
    background: #073d28;
    color: #fff;
}

.stage4l-secondary-button {
    border: 1px solid #d8d5c9;
    background: #fff;
    color: #073d28;
}

.stage4l-management-nav {
    margin-bottom: 24px;
}

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

.stage4l-summary-card {
    position: relative;
    overflow: hidden;
    min-height: 142px;
    padding: 20px;
    border: 1px solid #e5e0d3;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(26, 45, 35, .045);
}

.stage4l-summary-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: #c6a24c;
}

.stage4l-summary-card.is-payment::before {
    background: #176f4b;
}

.stage4l-summary-card.is-status::before {
    background: #96721d;
}

.stage4l-summary-card span {
    display: block;
    margin-bottom: 14px;
    color: #7a817c;
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.stage4l-summary-card strong {
    display: block;
    color: #073d28;
    font-family: Georgia, serif;
    font-size: 2rem;
    line-height: 1;
}

.stage4l-summary-card small {
    display: block;
    margin-top: 10px;
    color: #8a8f8b;
    font-size: .76rem;
    line-height: 1.4;
}

.stage4l-filter-panel,
.stage4l-stream-panel {
    margin-bottom: 24px;
    padding: 24px;
    border: 1px solid #e5e0d3;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(26, 45, 35, .045);
}

.stage4l-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 20px;
}

.stage4l-section-heading span {
    display: block;
    margin-bottom: 5px;
    color: #a27c26;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.stage4l-section-heading h2 {
    margin: 0;
    color: #073d28;
    font-family: Georgia, serif;
    font-size: 1.45rem;
}

.stage4l-section-heading p {
    max-width: 540px;
    margin: 0;
    color: #858b87;
    font-size: .82rem;
    line-height: 1.55;
    text-align: right;
}

.stage4l-filter-form {
    display: grid;
    grid-template-columns:
        minmax(220px, 1.7fr)
        repeat(4, minmax(130px, 1fr))
        auto;
    gap: 12px;
    align-items: end;
}

.stage4l-field {
    min-width: 0;
}

.stage4l-field label {
    display: block;
    margin-bottom: 7px;
    color: #4d5a52;
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.stage4l-field input,
.stage4l-field select {
    width: 100%;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid #ddd9ce;
    border-radius: 9px;
    background: #fff;
    color: #24352c;
    font: inherit;
    font-size: .84rem;
    outline: none;
}

.stage4l-field input:focus,
.stage4l-field select:focus {
    border-color: #9d7b2b;
    box-shadow: 0 0 0 3px rgba(157, 123, 43, .1);
}

.stage4l-filter-actions {
    display: flex;
    gap: 8px;
}

.stage4l-filter-button,
.stage4l-clear-button {
    min-height: 44px;
    padding: 0 15px;
    border-radius: 9px;
    font: inherit;
    font-size: .78rem;
    font-weight: 800;
    white-space: nowrap;
}

.stage4l-filter-button {
    border: 0;
    background: #073d28;
    color: #fff;
    cursor: pointer;
}

.stage4l-clear-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd9ce;
    background: #fff;
    color: #4e5a53;
    text-decoration: none;
}

.stage4l-alert {
    margin-bottom: 18px;
    padding: 12px 14px;
    border: 1px solid #ead8a6;
    border-radius: 9px;
    background: #fff9e8;
    color: #735815;
    font-size: .84rem;
}

.stage4l-result-count {
    font-weight: 700;
}

.stage4l-timeline {
    position: relative;
}

.stage4l-event {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
}

.stage4l-event-marker {
    position: relative;
    display: flex;
    justify-content: center;
}

.stage4l-event-marker::after {
    content: "";
    position: absolute;
    top: 23px;
    bottom: -2px;
    width: 1px;
    background: #e4e1d7;
}

.stage4l-event:last-child .stage4l-event-marker::after {
    display: none;
}

.stage4l-event-marker span {
    position: relative;
    z-index: 2;
    display: block;
    width: 13px;
    height: 13px;
    margin-top: 17px;
    border: 3px solid #fff;
    border-radius: 50%;
    background: #b79a57;
    box-shadow: 0 0 0 1px #d7cfba;
}

.stage4l-event-marker.is-payment span {
    background: #17734e;
}

.stage4l-event-marker.is-status span {
    background: #a17a20;
}

.stage4l-event-marker.is-note span {
    background: #65766c;
}

.stage4l-event-body {
    margin-bottom: 14px;
    padding: 17px 18px;
    border: 1px solid #ebe7dd;
    border-radius: 13px;
    background: #fdfcf9;
}

.stage4l-event-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.stage4l-event-identification {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
}

.stage4l-type-badge {
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    padding: 0 9px;
    border-radius: 999px;
    background: #eee9dd;
    color: #665a3d;
    font-size: .66rem;
    font-weight: 900;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.stage4l-type-badge.is-payment {
    background: #e7f4ed;
    color: #176b49;
}

.stage4l-type-badge.is-status {
    background: #f6efd9;
    color: #866417;
}

.stage4l-type-badge.is-note {
    background: #edf0ee;
    color: #526058;
}

.stage4l-order-reference {
    color: #073d28;
    font-size: .8rem;
    font-weight: 900;
    text-decoration: none;
}

.stage4l-order-reference:hover {
    text-decoration: underline;
}

.stage4l-event-top time {
    color: #909590;
    font-size: .75rem;
    white-space: nowrap;
}

.stage4l-event-body h3 {
    margin: 12px 0 9px;
    color: #26372e;
    font-size: .94rem;
    line-height: 1.55;
}

.stage4l-event-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    color: #7b837e;
    font-size: .76rem;
}

.stage4l-event-meta strong {
    color: #4d5b53;
}

.stage4l-event-actions {
    margin-top: 12px;
}

.stage4l-event-actions a {
    color: #8c6b1d;
    font-size: .75rem;
    font-weight: 800;
    text-decoration: none;
}

.stage4l-event-actions a:hover {
    text-decoration: underline;
}

.stage4l-empty {
    padding: 48px 20px;
    text-align: center;
    color: #737c76;
}

.stage4l-empty strong {
    display: block;
    margin-bottom: 7px;
    color: #073d28;
    font-family: Georgia, serif;
    font-size: 1.15rem;
}

.stage4l-empty p {
    margin: 0 0 14px;
    font-size: .84rem;
}

.stage4l-empty a {
    color: #8d6b1c;
    font-weight: 800;
    text-decoration: none;
}

.stage4l-policy-note {
    padding: 18px 20px;
    border: 1px solid #ded8c7;
    border-radius: 13px;
    background: #f1eee5;
    color: #69716c;
}

.stage4l-policy-note strong {
    display: block;
    margin-bottom: 5px;
    color: #073d28;
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.stage4l-policy-note p {
    margin: 0;
    font-size: .8rem;
    line-height: 1.6;
}


@media (max-width: 1180px) {
    .stage4l-summary-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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


@media (max-width: 820px) {
    .stage4l-activity {
        padding: 28px 14px 55px;
    }

    .stage4l-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .stage4l-management-nav {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 6px;
    }

    .stage4l-management-nav a {
        white-space: nowrap;
    }

    .stage4l-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .stage4l-section-heading p {
        text-align: left;
    }

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

    .stage4l-search-field {
        grid-column: 1 / -1;
    }

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


@media (max-width: 560px) {
    .stage4l-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .stage4l-search-field,
    .stage4l-filter-actions {
        grid-column: auto;
    }

    .stage4l-filter-actions {
        flex-direction: column;
    }

    .stage4l-event {
        grid-template-columns: 22px minmax(0, 1fr);
    }

    .stage4l-event-top {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
    }

    .stage4l-event-top time {
        white-space: normal;
    }

    .stage4l-event-body {
        padding: 15px;
    }
}


/* ============================================================
   V2.0 Stage 4M — Management Communications Centre
   ============================================================ */

.stage4m-communications {
    background: #f8f5ed;
    min-height: 100vh;
    padding: 42px 20px 72px;
}

.stage4m-shell {
    width: min(1480px, 100%);
    margin: 0 auto;
}

.stage4m-header,
.stage4m-section-heading {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: flex-start;
}

.stage4m-header {
    margin-bottom: 24px;
}

.stage4m-eyebrow,
.stage4m-section-heading span {
    display: block;
    margin: 0 0 7px;
    color: #94701f;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.stage4m-header h1,
.stage4m-section-heading h2 {
    color: #143d2a;
    margin: 0;
}

.stage4m-header h1 {
    font-size: clamp(30px, 4vw, 48px);
}

.stage4m-intro,
.stage4m-section-heading p {
    color: #68726c;
    line-height: 1.7;
}

.stage4m-intro {
    max-width: 760px;
    margin: 12px 0 0;
}

.stage4m-section-heading p {
    max-width: 470px;
    margin: 0;
}

.stage4m-header-actions,
.stage4m-filter-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.stage4m-primary-button,
.stage4m-secondary-button {
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 43px;
    padding: 10px 16px;
    font: inherit;
    font-weight: 750;
    text-decoration: none;
    cursor: pointer;
}

.stage4m-primary-button {
    background: #173f2c;
    border: 1px solid #173f2c;
    color: #fff;
}

.stage4m-secondary-button {
    background: #fff;
    border: 1px solid #d8d5cb;
    color: #173f2c;
}

.stage4m-management-nav {
    margin-bottom: 24px;
}

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

.stage4m-summary-card {
    background: #fff;
    border: 1px solid #e5e0d5;
    border-radius: 14px;
    padding: 18px;
}

.stage4m-summary-card span,
.stage4m-summary-card small {
    display: block;
}

.stage4m-summary-card span {
    color: #6c746f;
    font-size: 13px;
    font-weight: 750;
}

.stage4m-summary-card strong {
    display: block;
    color: #173f2c;
    font-size: 30px;
    margin: 7px 0 4px;
}

.stage4m-summary-card small {
    color: #8a908c;
    line-height: 1.4;
}

.stage4m-summary-card.is-queued {
    border-top: 3px solid #b18a2e;
}

.stage4m-summary-card.is-sent {
    border-top: 3px solid #52729c;
}

.stage4m-summary-card.is-delivered {
    border-top: 3px solid #34724f;
}

.stage4m-summary-card.is-failed {
    border-top: 3px solid #a54a43;
}

.stage4m-filter-panel,
.stage4m-ledger-panel {
    background: #fff;
    border: 1px solid #e5e0d5;
    border-radius: 16px;
    padding: 24px;
}

.stage4m-filter-panel {
    margin-bottom: 24px;
}

.stage4m-filter-form {
    display: grid;
    grid-template-columns:
        minmax(220px, 1.5fr)
        repeat(5, minmax(140px, 1fr));
    gap: 14px;
    align-items: end;
    margin-top: 22px;
}

.stage4m-field label {
    display: block;
    color: #3f4943;
    font-size: 13px;
    font-weight: 750;
    margin-bottom: 7px;
}

.stage4m-field input,
.stage4m-field select {
    box-sizing: border-box;
    width: 100%;
    min-height: 43px;
    border: 1px solid #d9d7ce;
    border-radius: 8px;
    background: #fff;
    color: #26342c;
    padding: 9px 11px;
    font: inherit;
}

.stage4m-filter-actions {
    grid-column: 1 / -1;
    margin-top: 2px;
}

.stage4m-alert {
    background: #fff2e6;
    border: 1px solid #edc99d;
    border-radius: 9px;
    color: #774b1b;
    margin-top: 18px;
    padding: 11px 14px;
}

.stage4m-table-wrap {
    overflow-x: auto;
    margin-top: 20px;
}

.stage4m-table {
    width: 100%;
    border-collapse: collapse;
}

.stage4m-table th {
    background: #f5f3ed;
    color: #526058;
    font-size: 12px;
    letter-spacing: .04em;
    text-align: left;
    text-transform: uppercase;
}

.stage4m-table th,
.stage4m-table td {
    border-bottom: 1px solid #ece8de;
    padding: 13px 12px;
    vertical-align: top;
}

.stage4m-table td {
    color: #39463e;
    font-size: 14px;
}

.stage4m-table td small {
    display: block;
    color: #8a908c;
    margin-top: 3px;
}

.stage4m-order-link {
    color: #173f2c;
    font-weight: 800;
}

.stage4m-recipient {
    overflow-wrap: anywhere;
}

.stage4m-channel,
.stage4m-status {
    display: inline-block;
    border-radius: 999px;
    padding: 5px 9px;
    font-size: 12px;
    font-weight: 800;
}

.stage4m-channel {
    background: #f0eee7;
    color: #4e5952;
}

.stage4m-status.is-queued {
    background: #fff5d8;
    color: #725716;
}

.stage4m-status.is-sent {
    background: #edf3fb;
    color: #35577c;
}

.stage4m-status.is-delivered {
    background: #e9f5ed;
    color: #286042;
}

.stage4m-status.is-failed {
    background: #fbeceb;
    color: #843b35;
}

.stage4m-status.is-skipped {
    background: #eeeeec;
    color: #626762;
}

.stage4m-message-row td {
    background: #fbfaf7;
    padding-top: 10px;
    padding-bottom: 16px;
}

.stage4m-message {
    max-width: 980px;
}

.stage4m-message strong {
    color: #173f2c;
}

.stage4m-message p {
    margin: 5px 0;
    color: #59635d;
    line-height: 1.55;
}

.stage4m-message small {
    display: inline-block !important;
    margin-right: 14px;
}

.stage4m-message .stage4m-failure {
    color: #923f39;
}

.stage4m-muted {
    color: #a1a59f;
}

.stage4m-empty {
    margin-top: 20px;
    border: 1px dashed #d9d4c8;
    border-radius: 12px;
    padding: 38px 20px;
    text-align: center;
}

.stage4m-empty h3 {
    color: #173f2c;
    margin: 0 0 7px;
}

.stage4m-empty p {
    color: #788079;
    margin: 0;
}

@media (max-width: 1180px) {
    .stage4m-summary-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .stage4m-filter-form {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 760px) {
    .stage4m-communications {
        padding: 28px 14px 55px;
    }

    .stage4m-header,
    .stage4m-section-heading {
        flex-direction: column;
    }

    .stage4m-summary-grid,
    .stage4m-filter-form {
        grid-template-columns: 1fr;
    }

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

    .stage4m-header-actions {
        width: 100%;
    }

    .stage4m-header-actions a {
        flex: 1;
    }
}

/* ==========================================================
   MEEDAHS RELISH V2.0.21
   Stage 4O — Secure Customer Order Tracking
   ========================================================== */

.tracking-verify-form {
    max-width: 650px;
    flex-direction: column;
    gap: 16px;
    text-align: left;
}

.tracking-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.tracking-field label {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #073d28;
}

.tracking-verify-form .tracking-field input {
    width: 100%;
    padding: 16px 18px;
    border: 1px solid rgba(7,61,40,.2);
    background: white;
    font-size: 15px;
    box-sizing: border-box;
}

.tracking-verify-form button {
    min-height: 52px;
    padding: 14px 25px;
}

.tracking-verification-error {
    padding: 15px 18px;
    border-left: 3px solid #9c3d3d;
    background: #f9eeee;
    color: #702d2d;
}

.tracking-verification-error strong,
.tracking-verification-error span {
    display: block;
}

.tracking-verification-error span {
    margin-top: 4px;
    font-size: 13px;
}

.tracking-verification-notice {
    max-width: 650px;
    margin: -20px auto 35px;
    padding: 15px 18px;
    text-align: center;
    background: rgba(255,255,255,.6);
    font-size: 13px;
}

.tracking-verification-notice p {
    margin: 0;
}

.tracking-steps-pickup {
    grid-template-columns: repeat(5, 1fr);
}

@media (max-width: 760px) {
    .tracking-verify-form {
        display: flex;
    }

    .tracking-verify-form button {
        width: 100%;
    }
}

/* =========================================================
   V2.0.21 — STAGE 4P CUSTOMER ORDER PROGRESS
   ========================================================= */

.customer-order-state-note {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 19px 21px 19px 25px;
    overflow: hidden;
    border: 1px solid rgba(7,61,40,.10);
    border-radius: 16px;
    background: linear-gradient(
        135deg,
        rgba(7,61,40,.045),
        rgba(214,174,87,.08)
    );
}

.customer-order-state-note::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 4px;
    background: #d6ae57;
}

.customer-order-state-note strong {
    color: #173d30;
    font-size: 1rem;
    font-weight: 800;
}

.customer-order-state-note span {
    color: #656b66;
    font-size: .9rem;
    line-height: 1.6;
}

@media (max-width: 760px) {
    .customer-order-state-note {
        padding: 17px 18px 17px 22px;
    }
}


/* =========================================================
   V2.0.22 — STAGE 4Q CUSTOMER SELF-SERVICE ACTIONS
   ========================================================= */

.stage4q-active-order-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
}

.stage4q-active-order-actions .account-secondary-button {
    margin-left: 0;
}

.stage4q-track-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 11px 18px;
    border-radius: 999px;
    background: #173d30;
    color: #fff;
    font-size: .78rem;
    font-weight: 800;
    text-decoration: none;
    box-sizing: border-box;
}

.stage4q-track-action:hover {
    background: #0b4c34;
    color: #fff;
}

.stage4q-track-action:focus-visible {
    outline: 3px solid rgba(214,174,87,.38);
    outline-offset: 2px;
}

@media (max-width: 700px) {
    .stage4q-active-order-actions {
        width: 100%;
        margin-left: 0;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .stage4q-active-order-actions a {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 420px) {
    .stage4q-active-order-actions {
        grid-template-columns: 1fr;
    }
}


/* Stage 4Q — owned-order self-service */

.stage4q-order-self-service {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.stage4q-order-self-service .customer-track-button,
.stage4q-receipt-action {
    width: 100%;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    text-align: center;
}

.stage4q-receipt-action {
    padding: 11px 18px;
    border: 1px solid #173d30;
    border-radius: 999px;
    background: #fff;
    color: #173d30;
    font-size: .78rem;
    font-weight: 800;
    text-decoration: none;
}

.stage4q-receipt-action:hover {
    background: #f7f5ee;
    color: #173d30;
}

.stage4q-receipt-action:focus-visible {
    outline: 3px solid rgba(214,174,87,.38);
    outline-offset: 2px;
}

@media (max-width: 520px) {
    .stage4q-order-self-service {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   V2.0.23 — STAGE 4R CUSTOMER FEEDBACK
   ========================================================= */

.stage4r-messages {
    width: min(1180px, calc(100% - 32px));
    margin: 18px auto 0;
    display: grid;
    gap: 10px;
}

.stage4r-message {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 17px;
    border: 1px solid rgba(7,61,40,.12);
    border-radius: 14px;
    background: #f7faf8;
    color: #294237;
    box-shadow: 0 8px 24px rgba(23,61,48,.05);
    font-size: .9rem;
    line-height: 1.55;
}

.stage4r-message-mark {
    flex: 0 0 9px;
    width: 9px;
    height: 9px;
    margin-top: 6px;
    border-radius: 50%;
    background: #173d30;
}

.stage4r-message-success {
    border-color: rgba(23,99,56,.18);
    background: #edf8f1;
    color: #176338;
}

.stage4r-message-success .stage4r-message-mark {
    background: #2b8a4b;
}

.stage4r-message-warning {
    border-color: rgba(154,116,24,.22);
    background: #fff8e5;
    color: #765900;
}

.stage4r-message-warning .stage4r-message-mark {
    background: #d6ae57;
}

.stage4r-message-error {
    border-color: rgba(154,48,48,.20);
    background: #fff1f1;
    color: #8b2d2d;
}

.stage4r-message-error .stage4r-message-mark {
    background: #b54545;
}

.stage4r-message-info {
    border-color: rgba(50,89,110,.18);
    background: #f0f7fa;
    color: #31596c;
}

.stage4r-message-info .stage4r-message-mark {
    background: #4d7f96;
}

@media (max-width: 600px) {
    .stage4r-messages {
        width: calc(100% - 20px);
        margin-top: 10px;
    }

    .stage4r-message {
        padding: 12px 14px;
        border-radius: 12px;
        font-size: .86rem;
    }
}

/* ==========================================================
   V2.0.24 — STAGE 4R CUSTOMER ACCOUNT EXPERIENCE
   ========================================================== */

/* Dashboard section rhythm */
.account-v19 {
    padding-bottom: 48px;
}

.account-section-v19 {
    scroll-margin-top: 100px;
}

/* Make dashboard statistics easier to scan */
.account-stat-card {
    position: relative;
    overflow: hidden;
}

.account-stat-card::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: linear-gradient(
        90deg,
        rgba(237,174,50,.85),
        rgba(237,174,50,.12)
    );
}

.account-stat-card strong {
    font-variant-numeric: tabular-nums;
}

/* Active order emphasis */
.active-order-v19 {
    position: relative;
}

.account-live-badge {
    white-space: nowrap;
}

.account-order-status {
    white-space: nowrap;
}

/* Keep the active-order actions visually grouped */
.stage4q-active-order-actions {
    align-items: center;
}

/* Recent-order cards */
.account-order-card {
    transition:
        transform .18s ease,
        box-shadow .18s ease,
        border-color .18s ease;
}

@media (hover: hover) and (pointer: fine) {
    .account-order-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 30px rgba(7,61,40,.08);
    }
}

/* Empty states */
.account-empty-v19,
.account-empty-small-v19 {
    border: 1px dashed rgba(7,61,40,.18);
    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.96),
            rgba(251,247,239,.88)
        );
}

.account-empty-v19 {
    padding: 42px 24px;
}

.account-empty-small-v19 {
    padding: 26px 24px;
}

.account-empty-icon {
    box-shadow: 0 8px 22px rgba(7,61,40,.10);
}

/* Favourite cards */
.account-favourite-card {
    transition:
        transform .18s ease,
        box-shadow .18s ease;
}

@media (hover: hover) and (pointer: fine) {
    .account-favourite-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 30px rgba(7,61,40,.08);
    }
}

/* Improve keyboard visibility for customer actions */
.account-v19 a:focus-visible,
.account-v19 button:focus-visible {
    outline: 3px solid rgba(237,174,50,.55);
    outline-offset: 3px;
}

/* Tablet/mobile customer dashboard */
@media (max-width: 700px) {

    .account-v19 {
        padding-bottom: 28px;
    }

    .account-section-heading {
        gap: 12px;
    }

    .active-order-top {
        gap: 14px;
    }

    .account-order-main {
        gap: 12px;
    }

    .account-order-footer {
        gap: 14px;
    }

    .account-order-actions {
        width: 100%;
    }

    .account-order-actions a,
    .account-order-actions button {
        min-height: 42px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .stage4q-active-order-actions {
        width: 100%;
    }

    .stage4q-active-order-actions a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .account-empty-v19 {
        padding: 34px 18px;
    }

    .account-empty-small-v19 {
        padding: 22px 18px;
    }
}

/* Narrow phones */
@media (max-width: 480px) {

    .account-hero-v19 h1 {
        overflow-wrap: anywhere;
    }

    .account-stats-v19 {
        gap: 10px;
    }

    .account-stat-card {
        min-width: 0;
    }

    .account-order-price {
        white-space: nowrap;
    }

    /*
       Preserve the existing five-step progress structure while
       making it usable on narrow screens.
    */
    .account-progress-v19 {
        overflow-x: auto;
        overscroll-behavior-x: contain;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 8px;
    }

    .account-progress-v19 > * {
        flex-shrink: 0;
    }

    .account-order-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .account-order-again-form {
        grid-column: 1 / -1;
        width: 100%;
    }

    .account-order-again-form button {
        width: 100%;
    }

    .stage4q-active-order-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .stage4q-active-order-actions a {
        width: 100%;
    }

    .account-favourite-body {
        gap: 10px;
    }
}

/* =========================================================
   V2.0.25 — STAGE 4R CUSTOMER ORDER EXPERIENCE
   ========================================================= */

/* Stronger order-page hierarchy */

.customer-order-detail-v19 {
    padding-bottom: 20px;
}

.customer-order-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
}

.customer-order-hero {
    position: relative;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(7, 61, 40, .12);
}

.customer-order-hero::after {
    content: "";
    position: absolute;
    right: -55px;
    bottom: -85px;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: rgba(214, 174, 87, .10);
    pointer-events: none;
}

.customer-order-hero > * {
    position: relative;
    z-index: 1;
}

.customer-order-hero-status {
    align-items: center;
}

.customer-order-hero .account-order-status,
.customer-payment-badge {
    min-height: 34px;
    box-sizing: border-box;
    white-space: nowrap;
}

/* Progress */

.customer-order-progress-card {
    box-shadow: 0 10px 30px rgba(7, 61, 40, .045);
}

/* Main order cards */

.customer-detail-card {
    box-shadow: 0 10px 30px rgba(7, 61, 40, .045);
}

.customer-order-item:last-child {
    border-bottom: 0;
}

.customer-order-item > strong,
.customer-order-totals strong {
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.customer-grand-total strong {
    font-size: 1.12em;
}

/* Delivery + payment information */

.customer-info-list > div {
    transition: background .15s ease;
}

.customer-info-list > div:hover {
    background: rgba(247, 245, 238, .55);
}

.customer-info-list strong {
    line-height: 1.45;
}

.customer-sticky-card {
    box-shadow: 0 14px 38px rgba(7, 61, 40, .065);
}

/* Customer actions */

.stage4q-order-self-service {
    margin-top: 22px;
}

.stage4q-order-self-service .customer-track-button {
    margin-top: 0;
}

.stage4q-order-self-service .customer-track-button,
.stage4q-receipt-action,
.customer-order-again-button {
    transition:
        transform .15s ease,
        box-shadow .15s ease,
        background .15s ease,
        filter .15s ease;
}

.stage4q-order-self-service .customer-track-button:hover,
.stage4q-receipt-action:hover,
.customer-order-again-button:hover {
    transform: translateY(-1px);
}

.stage4q-order-self-service .customer-track-button:focus-visible,
.stage4q-receipt-action:focus-visible,
.customer-order-again-button:focus-visible,
.customer-order-nav a:focus-visible {
    outline: 3px solid rgba(214, 174, 87, .38);
    outline-offset: 3px;
}

.customer-order-again-form {
    margin-top: 10px;
}

.customer-order-again-button {
    min-height: 46px;
}

/* Tablet */

@media (max-width: 900px) {
    .customer-order-grid {
        gap: 18px;
    }

    .customer-order-sidebar {
        width: 100%;
    }
}

/* Mobile */

@media (max-width: 650px) {
    .customer-order-detail-v19 {
        margin-bottom: 58px;
    }

    .customer-order-hero {
        gap: 20px;
        border-radius: 22px;
    }

    .customer-order-hero h1 {
        overflow-wrap: anywhere;
    }

    .customer-order-hero-status {
        width: 100%;
    }

    .customer-order-progress-card {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .customer-order-progress-card .account-progress-v19 {
        min-width: 500px;
    }

    .customer-detail-card {
        border-radius: 19px;
    }

    .customer-order-item {
        gap: 16px;
    }

    .customer-info-list > div {
        padding: 12px 0;
    }
}

/* Narrow phones */

@media (max-width: 520px) {
    .stage4q-order-self-service {
        grid-template-columns: 1fr;
    }

    .stage4q-order-self-service .customer-track-button,
    .stage4q-receipt-action,
    .customer-order-again-button {
        min-height: 48px;
    }
}

@media (max-width: 420px) {
    .customer-order-detail-v19 {
        width: min(100% - 20px, 1180px);
    }

    .customer-order-hero {
        padding: 25px 20px;
    }

    .customer-detail-card {
        padding: 19px;
    }

    .customer-order-item {
        align-items: flex-start;
    }

    .customer-order-totals > div {
        gap: 15px;
    }
}

/* =========================================================
   V2.0.26 — STAGE 4R FAVOURITES EXPERIENCE
   ========================================================= */

.account-favourites-v19 {
    gap: 20px;
}

.account-favourite-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    border-color: rgba(7, 61, 40, .10);
    box-shadow: 0 8px 26px rgba(7, 61, 40, .045);
}

.account-favourite-image {
    position: relative;
    isolation: isolate;
}

.account-favourite-image::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        to top,
        rgba(7, 61, 40, .12),
        transparent 42%
    );
}

.account-favourite-image img {
    display: block;
    transition: transform .3s ease;
}

@media (hover: hover) and (pointer: fine) {
    .account-favourite-card:hover
    .account-favourite-image img {
        transform: scale(1.025);
    }
}

.account-favourite-body {
    flex: 1;
    align-items: center;
    padding: 19px;
}

.account-favourite-body > div {
    min-width: 0;
}

.account-favourite-body h3 {
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.account-favourite-body strong {
    display: inline-block;
    font-variant-numeric: tabular-nums;
}

.account-favourite-body a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-height: 40px;
    padding: 8px 13px;
    border: 1px solid rgba(7, 61, 40, .14);
    border-radius: 999px;
    background: #f7f5ee;
    transition:
        background .15s ease,
        transform .15s ease,
        border-color .15s ease;
}

@media (hover: hover) and (pointer: fine) {
    .account-favourite-body a:hover {
        background: #173d30;
        border-color: #173d30;
        color: #fff;
        transform: translateY(-1px);
    }
}

/* Favourites empty state */

.account-empty-small-v19 {
    border: 1px dashed rgba(7, 61, 40, .18);
    border-radius: 20px;
    background: linear-gradient(
        135deg,
        rgba(247, 245, 238, .78),
        #fff
    );
}

.account-empty-small-v19 p {
    line-height: 1.65;
}

.account-empty-small-v19 a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 9px 16px;
    border-radius: 999px;
    background: rgba(214, 174, 87, .13);
    text-decoration: none;
}

/* Tablet */

@media (max-width: 900px) {
    .account-favourites-v19 {
        gap: 16px;
    }
}

/* Mobile */

@media (max-width: 650px) {
    .account-favourite-card {
        border-radius: 18px;
    }

    .account-favourite-image {
        aspect-ratio: 16 / 9;
    }

    .account-favourite-body {
        padding: 17px;
    }

    .account-favourite-body a {
        min-height: 44px;
    }
}

/* Narrow phones */

@media (max-width: 420px) {
    .account-favourite-body {
        align-items: flex-start;
        flex-direction: column;
        gap: 13px;
    }

    .account-favourite-body a {
        width: 100%;
        box-sizing: border-box;
    }

    .account-empty-small-v19 {
        padding: 24px 18px;
    }
}


/* ============================================================
   V2.0.27 — STAGE 4S CHECKOUT EXPERIENCE
   ============================================================ */

/* Strengthen the visual flow without changing checkout logic. */
.v17-checkout-form {
    position: relative;
}

.checkout-section {
    transition:
        border-color 180ms ease,
        box-shadow 180ms ease,
        transform 180ms ease;
}

.checkout-section:focus-within {
    border-color: rgba(180, 139, 48, 0.42);
    box-shadow: 0 16px 38px rgba(7, 61, 40, 0.07);
}

.checkout-section-heading > span {
    flex: 0 0 auto;
}

.checkout-field input,
.checkout-field select,
.checkout-field textarea,
#delivery-fields select {
    transition:
        border-color 160ms ease,
        box-shadow 160ms ease,
        background-color 160ms ease;
}

.checkout-field input:hover,
.checkout-field select:hover,
.checkout-field textarea:hover,
#delivery-fields select:hover {
    border-color: rgba(7, 61, 40, 0.34);
}

.checkout-field input:focus,
.checkout-field select:focus,
.checkout-field textarea:focus,
#delivery-fields select:focus {
    box-shadow: 0 0 0 4px rgba(180, 139, 48, 0.10);
}

.field-error {
    display: block;
    margin-top: 7px;
    color: #9f2f2f;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.45;
}

.checkout-errors {
    border-left: 4px solid #a33a32;
}

.fulfilment-card-body {
    height: 100%;
}

.bank-payment-choice {
    position: relative;
    overflow: hidden;
}

.bank-payment-choice::after {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(180, 139, 48, 0.72),
        transparent
    );
}

.checkout-submit {
    min-height: 54px;
    letter-spacing: 0.08em;
    cursor: pointer;
}

.checkout-submit:hover {
    transform: translateY(-1px);
}

.checkout-security {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.v17-order-summary {
    position: sticky;
    top: 110px;
}

.checkout-grand-total {
    padding-top: 18px;
    margin-top: 4px;
}

.checkout-summary-note {
    position: relative;
    overflow: hidden;
}

.checkout-summary-note::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: rgba(180, 139, 48, 0.72);
}

@media (max-width: 980px) {
    .v17-order-summary {
        position: static;
        top: auto;
    }
}

@media (max-width: 650px) {
    .v17-checkout {
        padding-left: 16px;
        padding-right: 16px;
    }

    .checkout-intro {
        margin-bottom: 24px;
    }

    .checkout-intro h1 {
        line-height: 1.04;
    }

    .checkout-section {
        padding: 20px 16px;
    }

    .checkout-section-heading {
        align-items: flex-start;
        gap: 12px;
    }

    .checkout-section-heading > span {
        width: 34px;
        height: 34px;
        font-size: 0.78rem;
    }

    .checkout-field input,
    .checkout-field select,
    .checkout-field textarea,
    #delivery-fields select {
        font-size: 16px;
    }

    .fulfilment-options {
        gap: 10px;
    }

    .fulfilment-card-body {
        min-height: 104px;
    }

    .bank-payment-choice {
        align-items: flex-start;
    }

    .payment-selected {
        white-space: nowrap;
    }

    .checkout-submit {
        min-height: 56px;
    }

    .v17-order-summary {
        padding: 22px 18px;
    }

    .checkout-order-item {
        gap: 11px;
    }

    .checkout-grand-total strong {
        font-size: 1.2rem;
    }
}

@media (max-width: 420px) {
    .checkout-section {
        padding: 18px 14px;
    }

    .checkout-section-heading > span {
        width: 32px;
        height: 32px;
    }

    .bank-payment-choice {
        display: grid;
        grid-template-columns: auto 1fr;
    }

    .payment-selected {
        grid-column: 1 / -1;
        justify-self: start;
        margin-top: 4px;
    }

    .checkout-order-item {
        grid-template-columns: 48px 1fr auto;
    }

    .checkout-order-item img,
    .checkout-item-placeholder {
        width: 48px;
        height: 48px;
    }
}

/* ============================================================
   V2.0.28 — STAGE 4S BANK TRANSFER EXPERIENCE
   ============================================================ */

.payment-page {
    padding-left: 18px;
    padding-right: 18px;
}

.payment-panel {
    overflow: hidden;
}

.stage4s-payment-journey {
    display: grid;
    grid-template-columns: auto 1fr auto 1fr auto;
    align-items: center;
    gap: 10px;
    margin: 28px 0;
    padding: 18px 20px;
    border: 1px solid rgba(7, 61, 40, 0.10);
    border-radius: 14px;
    background: #faf8f1;
}

.stage4s-payment-step {
    display: grid;
    justify-items: center;
    gap: 7px;
    min-width: 82px;
    text-align: center;
}

.stage4s-payment-step span {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border: 1px solid rgba(7, 61, 40, 0.22);
    border-radius: 50%;
    background: #fff;
    color: #647068;
    font-size: 0.75rem;
    font-weight: 900;
}

.stage4s-payment-step strong {
    color: #68726d;
    font-size: 0.68rem;
    line-height: 1.25;
}

.stage4s-payment-step.is-complete span,
.stage4s-payment-step.is-current span {
    border-color: #073d28;
    background: #073d28;
    color: #fff;
}

.stage4s-payment-step.is-complete strong,
.stage4s-payment-step.is-current strong {
    color: #073d28;
}

.stage4s-payment-step.is-current span {
    box-shadow: 0 0 0 5px rgba(180, 139, 48, 0.14);
}

.stage4s-payment-line {
    height: 1px;
    background: rgba(7, 61, 40, 0.18);
}

.payment-amount {
    position: relative;
    overflow: hidden;
}

.payment-amount strong {
    letter-spacing: -0.02em;
}

.customer-payment-accounts {
    display: grid;
    gap: 16px;
}

.customer-payment-accounts .bank-transfer-card {
    transition:
        border-color 160ms ease,
        box-shadow 160ms ease,
        transform 160ms ease;
}

.customer-payment-accounts .bank-transfer-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(7, 61, 40, 0.07);
}

.payment-account-selector {
    transition:
        border-color 160ms ease,
        background-color 160ms ease,
        box-shadow 160ms ease;
}

.payment-account-selector:has(input:checked) {
    box-shadow: 0 0 0 3px rgba(185, 151, 76, 0.09);
}

.customer-payment-accounts .copy-account {
    min-width: 68px;
}

.stage4s-payment-verification-note {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin: 22px 0 16px;
    padding: 16px 17px;
    border: 1px solid rgba(7, 61, 40, 0.13);
    border-radius: 13px;
    background: rgba(7, 61, 40, 0.045);
}

.stage4s-payment-verification-icon {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 31px;
    height: 31px;
    border-radius: 50%;
    background: #073d28;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 900;
}

.stage4s-payment-verification-note strong {
    display: block;
    margin: 1px 0 4px;
    color: #073d28;
    font-size: 0.88rem;
}

.stage4s-payment-verification-note p {
    margin: 0;
    color: #626c66;
    font-size: 0.78rem;
    line-height: 1.55;
}

.payment-confirm-button {
    min-height: 54px;
    cursor: pointer;
    transition:
        transform 160ms ease,
        box-shadow 160ms ease;
}

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

.payment-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 650px) {
    .payment-page {
        padding-left: 14px;
        padding-right: 14px;
    }

    .stage4s-payment-journey {
        gap: 6px;
        padding: 16px 10px;
    }

    .stage4s-payment-step {
        min-width: 62px;
    }

    .stage4s-payment-step strong {
        font-size: 0.61rem;
    }

    .stage4s-payment-step span {
        width: 28px;
        height: 28px;
    }

    .payment-amount strong {
        font-size: clamp(1.8rem, 9vw, 2.4rem);
    }

    .customer-payment-accounts .bank-transfer-card {
        padding-left: 16px;
        padding-right: 16px;
    }

    .account-number-row {
        gap: 8px;
    }

    .customer-payment-accounts .copy-account {
        min-height: 40px;
        min-width: 64px;
    }

    .stage4s-payment-verification-note {
        padding: 15px;
    }

    .payment-confirm-button {
        min-height: 56px;
        width: 100%;
    }
}

@media (max-width: 390px) {
    .stage4s-payment-journey {
        grid-template-columns: 1fr 16px 1fr 16px 1fr;
    }

    .stage4s-payment-step {
        min-width: 0;
    }

    .stage4s-payment-step strong {
        font-size: 0.57rem;
    }

    .stage4s-payment-line {
        width: 16px;
    }
}

/* ============================================================
   V2.0.29 — STAGE 4S ORDER SUCCESS EXPERIENCE
   ============================================================ */

.stage4s-success-page {
    max-width: 900px;
    min-height: 68vh;
    margin: 0 auto;
    padding: 64px 24px 80px;
}

.stage4s-success-card {
    overflow: hidden;
    padding: 46px;
    border: 1px solid rgba(7, 61, 40, 0.10);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 16px 50px rgba(7, 61, 40, 0.07);
    text-align: center;
}

.stage4s-success-icon {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: #073d28;
    color: #fff;
    font-size: 2rem;
    font-weight: 900;
    box-shadow: 0 0 0 8px rgba(185, 151, 76, 0.13);
}

.stage4s-success-kicker {
    margin-bottom: 10px;
    color: #9a762e;
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.22em;
}

.stage4s-success-card > h1 {
    margin: 0;
    color: #111811;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    line-height: 1.06;
}

.stage4s-success-lead {
    max-width: 610px;
    margin: 18px auto 28px;
    color: #667069;
    font-size: 0.95rem;
    line-height: 1.7;
}

.stage4s-success-reference {
    max-width: 470px;
    margin: 0 auto 28px;
    padding: 20px;
    border: 1px solid rgba(185, 151, 76, 0.36);
    border-radius: 14px;
    background: #fffaf0;
}

.stage4s-success-reference span {
    display: block;
    margin-bottom: 7px;
    color: #85704b;
    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: 0.15em;
}

.stage4s-success-reference strong {
    display: block;
    color: #073d28;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, monospace;
    font-size: clamp(1.35rem, 4vw, 1.8rem);
    letter-spacing: 0.05em;
}

.stage4s-success-summary {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 30px 0;
    border: 1px solid rgba(7, 61, 40, 0.10);
    border-radius: 14px;
    background: #fafaf7;
}

.stage4s-success-summary-item {
    min-width: 0;
    padding: 18px 12px;
}

.stage4s-success-summary-item + .stage4s-success-summary-item {
    border-left: 1px solid rgba(7, 61, 40, 0.10);
}

.stage4s-success-summary-item span {
    display: block;
    margin-bottom: 5px;
    color: #7a837e;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.stage4s-success-summary-item strong {
    display: block;
    overflow-wrap: anywhere;
    color: #073d28;
    font-size: 0.84rem;
    line-height: 1.35;
}

.stage4s-success-payment-note {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin: 26px 0;
    padding: 17px 18px;
    border: 1px solid rgba(185, 151, 76, 0.30);
    border-radius: 14px;
    background: #fffaf0;
    text-align: left;
}

.stage4s-success-payment-note.is-paid {
    border-color: rgba(7, 61, 40, 0.16);
    background: rgba(7, 61, 40, 0.045);
}

.stage4s-success-note-icon {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #073d28;
    color: #fff;
    font-weight: 900;
}

.stage4s-success-payment-note strong {
    display: block;
    margin: 1px 0 4px;
    color: #073d28;
    font-size: 0.88rem;
}

.stage4s-success-payment-note p {
    margin: 0;
    color: #68716c;
    font-size: 0.78rem;
    line-height: 1.55;
}

.stage4s-success-next {
    margin: 34px 0;
    padding: 30px;
    border-radius: 16px;
    background: #073d28;
    color: #fff;
    text-align: left;
}

.stage4s-success-next-heading {
    margin-bottom: 24px;
    text-align: center;
}

.stage4s-success-next-heading span {
    display: block;
    margin-bottom: 7px;
    color: #d5ad59;
    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: 0.17em;
}

.stage4s-success-next-heading h2 {
    margin: 0;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.7rem;
}

.stage4s-success-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stage4s-success-step {
    display: flex;
    align-items: flex-start;
    gap: 11px;
}

.stage4s-success-step > span {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    border: 1px solid rgba(213, 173, 89, 0.65);
    border-radius: 50%;
    color: #d5ad59;
    font-size: 0.72rem;
    font-weight: 900;
}

.stage4s-success-step strong {
    display: block;
    margin: 2px 0 5px;
    color: #fff;
    font-size: 0.8rem;
}

.stage4s-success-step p {
    margin: 0;
    color: rgba(255, 255, 255, 0.70);
    font-size: 0.7rem;
    line-height: 1.5;
}

.stage4s-success-fulfilment {
    margin: 28px 0;
    padding: 20px;
    border: 1px solid rgba(7, 61, 40, 0.10);
    border-radius: 14px;
    background: #fafaf7;
    text-align: left;
}

.stage4s-success-fulfilment > span {
    display: block;
    margin-bottom: 7px;
    color: #9a762e;
    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: 0.13em;
}

.stage4s-success-fulfilment strong {
    display: block;
    color: #073d28;
    font-size: 0.9rem;
    line-height: 1.5;
}

.stage4s-success-fulfilment p {
    margin: 6px 0 0;
    color: #68716c;
    font-size: 0.78rem;
}

.stage4s-success-actions {
    display: grid;
    gap: 11px;
    max-width: 470px;
    margin: 32px auto 0;
}

.stage4s-success-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    width: 100%;
}

.stage4s-success-secondary,
.stage4s-success-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 800;
    text-decoration: none;
}

.stage4s-success-secondary {
    border: 1px solid #073d28;
    color: #073d28;
    background: #fff;
}

.stage4s-success-menu {
    color: #65706a;
}

.stage4s-success-secondary:hover,
.stage4s-success-menu:hover {
    color: #9a762e;
}

.stage4s-success-help {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid rgba(7, 61, 40, 0.09);
    color: #7a827e;
    font-size: 0.7rem;
    line-height: 1.6;
}

.stage4s-success-help strong {
    color: #073d28;
}

.stage4s-success-help span {
    padding: 0 5px;
    color: #b9974c;
}

@media (max-width: 760px) {
    .stage4s-success-page {
        padding: 36px 14px 60px;
    }

    .stage4s-success-card {
        padding: 32px 20px;
        border-radius: 16px;
    }

    .stage4s-success-icon {
        width: 62px;
        height: 62px;
        font-size: 1.7rem;
    }

    .stage4s-success-summary {
        grid-template-columns: repeat(2, 1fr);
    }

    .stage4s-success-summary-item + .stage4s-success-summary-item {
        border-left: 0;
    }

    .stage4s-success-summary-item:nth-child(even) {
        border-left: 1px solid rgba(7, 61, 40, 0.10);
    }

    .stage4s-success-summary-item:nth-child(n+3) {
        border-top: 1px solid rgba(7, 61, 40, 0.10);
    }

    .stage4s-success-next {
        padding: 25px 20px;
    }

    .stage4s-success-steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 420px) {
    .stage4s-success-card {
        padding: 28px 16px;
    }

    .stage4s-success-reference {
        padding: 17px 12px;
    }

    .stage4s-success-summary-item {
        padding: 16px 8px;
    }

    .stage4s-success-payment-note {
        padding: 15px;
    }

    .stage4s-success-next-heading h2 {
        font-size: 1.45rem;
    }

    .stage4s-success-help span {
        display: none;
    }
}


/* ============================================================
   V2.0.30 — STAGE 4S CUSTOMER JOURNEY INTEGRATION
   ============================================================ */

/*
   Stage 4S Patch 4 intentionally introduces no broad visual
   overrides. Existing checkout, bank-transfer, order-success,
   tracking and receipt presentation remains authoritative.
*/


/* ============================================================
   STAGE 4V-G2D — UNIFIED MANAGEMENT NAVIGATION
   ============================================================ */

.management-unified-nav {
    width: 100%;
    margin: 18px auto 28px;
    padding: 0 4px;
    box-sizing: border-box;
}

.management-unified-nav__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;

    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
    padding: 8px;

    background: #fffdf8;
    border: 1px solid rgba(4, 77, 55, 0.12);
    border-radius: 18px;

    box-shadow:
        0 8px 24px rgba(18, 48, 37, 0.05);

    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
}

.management-unified-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 44px;
    padding: 0 17px;

    border-radius: 13px;

    color: #304a40;
    background: transparent;

    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;

    transition:
        background-color 160ms ease,
        color 160ms ease,
        box-shadow 160ms ease;
}

.management-unified-nav a:hover {
    color: #044d37;
    background: rgba(4, 77, 55, 0.07);
}

.management-unified-nav a:focus-visible {
    outline: 3px solid rgba(210, 169, 75, 0.38);
    outline-offset: 2px;
}

.management-unified-nav a.active {
    color: #ffffff;
    background: #044d37;
    box-shadow:
        0 5px 14px rgba(4, 77, 55, 0.18);
}

.management-unified-nav a.active:hover {
    color: #ffffff;
    background: #044d37;
}

@media (max-width: 1180px) {

    .management-unified-nav__inner {
        justify-content: flex-start;
        width: 100%;
    }

}

@media (max-width: 700px) {

    .management-unified-nav {
        margin-top: 14px;
        margin-bottom: 22px;
        padding: 0;
    }

    .management-unified-nav__inner {
        gap: 4px;
        padding: 6px;
        border-radius: 15px;
    }

    .management-unified-nav a {
        min-height: 40px;
        padding: 0 14px;
        font-size: 14px;
        border-radius: 11px;
    }

}


/* ============================================================
   STAGE 4V-G2F — MANAGEMENT NAV GEOMETRY
   Consistent placement across all Management pages.
   ============================================================ */

.management-unified-nav {
    width: 100%;
    max-width: 1180px;
    margin: 20px auto 30px;
    padding: 0;
}

.management-unified-nav__inner {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    max-width: 1180px;
    min-height: 70px;

    margin: 0 auto;
    padding: 8px 10px;

    box-sizing: border-box;
}

.management-unified-nav a {
    flex: 0 0 auto;
    min-height: 48px;
    padding-left: 20px;
    padding-right: 20px;
}


/* Keep the complete navigation visually centered
   on normal desktop Management screens. */
@media (min-width: 1181px) {

    .management-unified-nav__inner {
        justify-content: space-between;
    }

}


/* Tablet: preserve one row and allow scrolling
   instead of squeezing or wrapping labels. */
@media (max-width: 1180px) {

    .management-unified-nav {
        max-width: 100%;
    }

    .management-unified-nav__inner {
        justify-content: flex-start;
        width: 100%;
        min-height: 64px;

        overflow-x: auto;
        overflow-y: hidden;

        -webkit-overflow-scrolling: touch;
    }

}


/* Mobile */
@media (max-width: 700px) {

    .management-unified-nav {
        margin-top: 16px;
        margin-bottom: 24px;
    }

    .management-unified-nav__inner {
        min-height: 56px;
        padding: 6px;
    }

    .management-unified-nav a {
        min-height: 42px;
        padding-left: 15px;
        padding-right: 15px;
    }

}


/* ============================================================
   STAGE 4V-G2G2 — UNIFIED MANAGEMENT HERO
   ============================================================ */

.management-standard-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;

    width: 100%;
    box-sizing: border-box;

    padding: 34px 38px;
    margin: 0;

    color: #ffffff;
    background: #064d37;

    border-radius: 24px;
}

.management-standard-hero > div:first-child {
    min-width: 0;
    flex: 1 1 auto;
}

.management-standard-eyebrow {
    display: block;
    margin: 0 0 10px;

    color: #e1bd55;

    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.management-standard-hero h1 {
    margin: 0;

    color: #ffffff;

    font-family: inherit;
    font-size: clamp(34px, 3.1vw, 52px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.025em;
}

.management-standard-hero p {
    max-width: 780px;

    margin: 12px 0 0;

    color: rgba(255, 255, 255, 0.91);

    font-size: 17px;
    line-height: 1.55;
}

.management-standard-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 0 0 auto;
    flex-wrap: wrap;
    gap: 10px;
}

.management-standard-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 50px;
    padding: 0 20px;

    box-sizing: border-box;
    border: 1px solid transparent;
    border-radius: 14px;

    font-size: 16px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;

    transition:
        background-color 160ms ease,
        border-color 160ms ease,
        color 160ms ease;
}

.management-standard-button-light {
    color: #063f30;
    background: #ffffff;
    border-color: #ffffff;
}

.management-standard-button-light:hover {
    color: #063f30;
    background: #f7f3e9;
}

.management-standard-button-gold {
    color: #063f30;
    background: #dfc16d;
    border-color: #dfc16d;
}

.management-standard-button-gold:hover {
    color: #063f30;
    background: #e8ce84;
}

.management-standard-button-outline {
    color: #ffffff;
    background: transparent;
    border-color: rgba(255, 255, 255, 0.38);
}

.management-standard-button-outline:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.58);
}

.management-standard-status {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;

    flex: 0 0 auto;
    min-width: 190px;

    padding: 14px 18px;

    color: #ffffff;
    background: rgba(255, 255, 255, 0.09);

    border: 1px solid rgba(255, 255, 255, 0.20);
    border-radius: 16px;
}

.management-standard-status span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    line-height: 1.3;
}

.management-standard-status strong {
    margin-top: 3px;
    color: #ffffff;
    font-size: 18px;
    line-height: 1.3;
}

.management-standard-status small {
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 12px;
}


/* Give the standardized hero the same premium breathing room
   inside the older Management shells. */
.mgmt-v20 > .management-standard-hero,
.management-delivery-v20 > .management-standard-hero,
.management-promotions-v20 > .management-standard-hero,
.mgmt-reports-page > .management-standard-hero {
    margin-top: 0;
}


/* Finance and Activity use nested legacy shells. */
.stage4k-finance .management-standard-hero,
.stage4l-activity .management-standard-hero {
    width: 100%;
}


/* Tablet / narrow desktop */
@media (max-width: 980px) {

    .management-standard-hero {
        align-items: flex-start;
        flex-direction: column;

        gap: 24px;
        padding: 30px;
    }

    .management-standard-actions {
        justify-content: flex-start;
        width: 100%;
    }

    .management-standard-status {
        min-width: 0;
    }

}


/* Mobile */
@media (max-width: 700px) {

    .management-standard-hero {
        gap: 20px;

        padding: 25px 20px;

        border-radius: 20px;
    }

    .management-standard-eyebrow {
        font-size: 12px;
    }

    .management-standard-hero h1 {
        font-size: clamp(30px, 10vw, 40px);
    }

    .management-standard-hero p {
        margin-top: 10px;

        font-size: 15px;
        line-height: 1.5;
    }

    .management-standard-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .management-standard-button {
        width: 100%;
        min-height: 46px;
    }

    .management-standard-status {
        width: 100%;
        box-sizing: border-box;
    }

}


/* ============================================================
   STAGE 4V-G2H2 — PREMIUM MAIN NAVIGATION
   ============================================================ */

.site-header {
    position: relative;
    z-index: 50;

    display: grid;
    grid-template-columns:
        minmax(250px, auto)
        minmax(0, 1fr)
        auto;
    align-items: center;
    gap: 24px;

    width: 100%;
    box-sizing: border-box;

    padding: 12px 22px;

    background: rgba(255, 255, 255, 0.97);

    border-bottom:
        1px solid rgba(6, 77, 55, 0.08);

    box-shadow:
        0 7px 24px rgba(18, 53, 40, 0.055);
}


/* ---------- Brand ---------- */

.site-header .meedahs-brand-lockup {
    min-width: 0;
    margin: 0;
}


/* ---------- Main navigation ---------- */

.site-primary-nav {
    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 0;

    padding: 5px;

    background: #faf8f2;

    border:
        1px solid rgba(6, 77, 55, 0.10);
    border-radius: 18px;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.site-primary-nav__customer,
.site-primary-nav__staff {
    display: flex;
    align-items: center;
    gap: 3px;

    flex: 0 0 auto;
}


/* Staff operations are visually separated without
   competing with the customer navigation. */

.site-primary-nav__staff {
    position: relative;

    margin-left: 8px;
    padding-left: 12px;
}

.site-primary-nav__staff::before {
    content: "";

    position: absolute;
    top: 9px;
    bottom: 9px;
    left: 0;

    width: 1px;

    background:
        rgba(6, 77, 55, 0.18);
}


/* ---------- Navigation links ---------- */

.site-nav-link {
    position: relative;

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

    min-height: 42px;
    padding: 0 14px;

    box-sizing: border-box;

    color: #263e35;

    border: 1px solid transparent;
    border-radius: 13px;

    font-size: 15px;
    font-weight: 750;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;

    transition:
        color 150ms ease,
        background-color 150ms ease,
        border-color 150ms ease,
        box-shadow 150ms ease,
        transform 150ms ease;
}

.site-nav-link:hover {
    color: #064d37;

    background: #f0ead9;

    border-color:
        rgba(191, 151, 55, 0.20);
}

.site-nav-link:focus-visible {
    outline: 3px solid
        rgba(218, 181, 81, 0.35);
    outline-offset: 2px;
}


/* Active customer/staff destination */

.site-nav-link.active {
    color: #ffffff;

    background: #064d37;

    border-color: #064d37;

    box-shadow:
        0 5px 14px rgba(6, 77, 55, 0.16);
}

.site-nav-link.active:hover {
    color: #ffffff;
    background: #043f2d;
}


/* Staff links have a tiny gold cue when inactive. */

.site-nav-link--staff:not(.active) {
    color: #064d37;
}

.site-nav-link--staff:not(.active)::after {
    content: "";

    position: absolute;
    left: 50%;
    bottom: 5px;

    width: 4px;
    height: 4px;

    background: #c8a443;

    border-radius: 999px;

    transform: translateX(-50%);

    opacity: 0.72;
}


/* ---------- Shopping bag ---------- */

.site-header-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    min-height: 48px;
    padding: 0 14px 0 18px;

    box-sizing: border-box;

    color: #ffffff;
    background: #064d37;

    border:
        1px solid rgba(6, 77, 55, 0.85);
    border-radius: 14px;

    font-size: 16px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;

    box-shadow:
        0 6px 16px rgba(6, 77, 55, 0.13);

    transition:
        background-color 150ms ease,
        transform 150ms ease,
        box-shadow 150ms ease;
}

.site-header-cart:hover {
    color: #ffffff;
    background: #043f2d;

    transform: translateY(-1px);

    box-shadow:
        0 8px 19px rgba(6, 77, 55, 0.18);
}

.site-header-cart.active {
    box-shadow:
        0 0 0 3px rgba(218, 181, 81, 0.35),
        0 7px 18px rgba(6, 77, 55, 0.16);
}

.site-header-cart #cart-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 25px;
    height: 25px;
    padding: 0 6px;

    box-sizing: border-box;

    color: #ffffff;
    background: #d93232;

    border-radius: 999px;

    font-size: 13px;
    font-weight: 850;
    line-height: 1;
}


/* ---------- Narrow desktop / tablet ---------- */

@media (max-width: 1250px) {

    .site-header {
        grid-template-columns:
            minmax(220px, auto)
            minmax(0, 1fr)
            auto;

        gap: 14px;

        padding-left: 16px;
        padding-right: 16px;
    }

    .site-primary-nav {
        justify-content: flex-start;

        overflow-x: auto;
        overflow-y: hidden;

        scrollbar-width: none;

        -webkit-overflow-scrolling: touch;
    }

    .site-primary-nav::-webkit-scrollbar {
        display: none;
    }

    .site-nav-link {
        min-height: 40px;
        padding-left: 12px;
        padding-right: 12px;

        font-size: 14px;
    }

}


/* ---------- Mobile ---------- */

@media (max-width: 820px) {

    .site-header {
        grid-template-columns: 1fr auto;
        gap: 10px 14px;

        padding: 10px 14px 12px;
    }

    .site-header .meedahs-brand-lockup {
        grid-column: 1;
        grid-row: 1;
    }

    .site-header-cart {
        grid-column: 2;
        grid-row: 1;

        min-height: 44px;
    }

    .site-primary-nav {
        grid-column: 1 / -1;
        grid-row: 2;

        justify-content: flex-start;

        width: 100%;
        padding: 4px;

        border-radius: 15px;
    }

    .site-primary-nav__customer,
    .site-primary-nav__staff {
        gap: 2px;
    }

    .site-nav-link {
        min-height: 39px;
        padding-left: 12px;
        padding-right: 12px;

        font-size: 13px;
    }

}


/* ---------- Small mobile ---------- */

@media (max-width: 520px) {

    .site-header {
        padding-left: 10px;
        padding-right: 10px;
    }

    .site-header .meedahs-official-logo {
        width: 52px;
        height: 52px;
    }

    .site-header .meedahs-brand-name {
        font-size: 18px;
    }

    .site-header .meedahs-brand-subtitle {
        font-size: 8px;
    }

    .site-header-cart {
        min-height: 42px;

        padding-left: 13px;
        padding-right: 10px;

        font-size: 14px;
    }

    .site-header-cart #cart-count {
        min-width: 22px;
        height: 22px;

        font-size: 12px;
    }

}


/* ============================================================
   STAGE 4V-G2H3 — NAVIGATION FINE POLISH
   Desktop refinement only — navigation logic unchanged
   ============================================================ */


/* Give the three major header zones better visual balance. */

@media (min-width: 821px) {

    .site-header {
        grid-template-columns:
            minmax(300px, 1fr)
            auto
            minmax(110px, 1fr);

        gap: 24px;

        padding-top: 12px;
        padding-bottom: 12px;
    }


    /* Let the navigation hug its content rather than stretching
       across the entire middle of the header. */

    .site-primary-nav {
        width: max-content;
        max-width: 100%;

        justify-self: center;

        padding: 5px;

        border-radius: 17px;
    }


    /* Slightly tighter customer navigation. */

    .site-primary-nav__customer,
    .site-primary-nav__staff {
        gap: 2px;
    }

    .site-nav-link {
        min-height: 42px;

        padding-left: 13px;
        padding-right: 13px;
    }


    /* Staff area remains distinct, but more restrained. */

    .site-primary-nav__staff {
        margin-left: 6px;
        padding-left: 10px;
    }

    .site-primary-nav__staff::before {
        top: 10px;
        bottom: 10px;

        background:
            rgba(6, 77, 55, 0.13);
    }


    /* The divider already communicates the operational section.
       Remove the decorative gold dots. */

    .site-nav-link--staff:not(.active)::after {
        display: none;
    }


    /* Keep the Bag visually important without letting it compete
       with the active navigation destination. */

    .site-header-cart {
        justify-self: end;

        min-height: 46px;

        padding-left: 16px;
        padding-right: 12px;

        border-radius: 13px;

        box-shadow:
            0 5px 14px rgba(6, 77, 55, 0.12);
    }

    .site-header-cart:hover {
        box-shadow:
            0 7px 17px rgba(6, 77, 55, 0.16);
    }

}


/* Medium desktop: retain the polished appearance while allowing
   the navigation to fit gracefully on smaller laptop screens. */

@media (min-width: 821px) and (max-width: 1250px) {

    .site-header {
        grid-template-columns:
            minmax(235px, auto)
            minmax(0, 1fr)
            auto;

        gap: 14px;
    }

    .site-primary-nav {
        width: 100%;

        justify-self: stretch;
        justify-content: flex-start;
    }

    .site-nav-link {
        padding-left: 11px;
        padding-right: 11px;
    }

}


/* Preserve G2H2's intentional mobile horizontal navigation. */

@media (max-width: 820px) {

    .site-nav-link--staff:not(.active)::after {
        display: none;
    }

    .site-primary-nav__staff {
        margin-left: 6px;
        padding-left: 10px;
    }

    .site-primary-nav__staff::before {
        background:
            rgba(6, 77, 55, 0.13);
    }

}


/* ============================================================
   STAGE 4V-G2H4B — PREMIUM MOBILE HEADER
   Desktop navigation remains unchanged.
   ============================================================ */


/* Hidden completely on desktop. */

.mobile-header-menu {
    display: none;
}


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

@media (max-width: 820px) {

    /*
     * Replace the desktop navigation capsule with a compact
     * purpose-built mobile header.
     */

    .site-header {
        position: sticky;

        display: grid;

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

        grid-template-rows: auto;

        align-items: center;

        gap: 8px;

        height: auto;
        min-height: 76px;

        padding:
            8px 12px;

        overflow: visible;

        background: #ffffff;

        border-bottom:
            1px solid rgba(6, 77, 55, 0.08);

        box-shadow:
            0 4px 18px rgba(18, 53, 40, 0.06);
    }


    /* The desktop capsule is no longer part of mobile UI. */

    .site-primary-nav {
        display: none !important;
    }


    /* ---------- Mobile brand ---------- */

    .site-header .meedahs-brand-lockup {
        grid-column: 1;
        grid-row: 1;

        display: flex;
        align-items: center;

        min-width: 0;
        width: auto;

        margin: 0;

        overflow: hidden;
    }

    .site-header .meedahs-official-logo {
        flex: 0 0 auto;

        width: 56px;
        height: 56px;

        object-fit: contain;
    }

    .site-header .meedahs-brand-text {
        display: flex;
        flex-direction: column;

        min-width: 0;

        margin-left: 8px;

        overflow: hidden;
    }

    .site-header .meedahs-brand-name {
        display: block;

        max-width: 100%;

        overflow: hidden;

        color: #064d37;

        font-size: 18px;
        line-height: 1.08;
        letter-spacing: 2px;

        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .site-header .meedahs-brand-subtitle {
        display: block;

        margin-top: 4px;

        overflow: hidden;

        color: #557468;

        font-size: 7px;
        line-height: 1;
        letter-spacing: 1.2px;

        white-space: nowrap;
        text-overflow: ellipsis;
    }


    /* ---------- Mobile Bag ---------- */

    .site-header-cart {
        grid-column: 2;
        grid-row: 1;

        justify-self: end;

        min-height: 44px;

        padding:
            0 10px 0 13px;

        border-radius: 13px;

        font-size: 14px;

        box-shadow:
            0 4px 12px rgba(6, 77, 55, 0.11);
    }

    .site-header-cart #cart-count {
        min-width: 23px;
        height: 23px;

        padding:
            0 5px;

        font-size: 12px;
    }


    /* ---------- Mobile Menu ---------- */

    .mobile-header-menu {
        position: static;

        grid-column: 3;
        grid-row: 1;

        display: block;

        margin: 0;
        padding: 0;
    }

    .mobile-header-menu__toggle {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        width: 48px;
        height: 44px;

        padding: 0;

        cursor: pointer;

        color: #064d37;
        background: #faf8f2;

        border:
            1px solid rgba(6, 77, 55, 0.13);
        border-radius: 13px;

        list-style: none;

        transition:
            background-color 150ms ease,
            border-color 150ms ease;
    }

    .mobile-header-menu__toggle::-webkit-details-marker {
        display: none;
    }

    .mobile-header-menu__toggle::marker {
        display: none;
        content: "";
    }

    .mobile-header-menu__icon {
        display: flex;
        flex-direction: column;

        width: 18px;

        gap: 3px;
    }

    .mobile-header-menu__icon i {
        display: block;

        width: 100%;
        height: 2px;

        background: #064d37;

        border-radius: 999px;

        transition:
            transform 160ms ease,
            opacity 160ms ease;
    }

    .mobile-header-menu__label {
        margin-top: 3px;

        font-size: 7px;
        font-weight: 800;
        line-height: 1;
        letter-spacing: 0.5px;
        text-transform: uppercase;
    }


    /* Open-state hamburger -> close mark. */

    .mobile-header-menu[open]
    .mobile-header-menu__toggle {
        color: #ffffff;
        background: #064d37;
        border-color: #064d37;
    }

    .mobile-header-menu[open]
    .mobile-header-menu__icon i {
        background: #ffffff;
    }

    .mobile-header-menu[open]
    .mobile-header-menu__icon i:nth-child(1) {
        transform:
            translateY(5px)
            rotate(45deg);
    }

    .mobile-header-menu[open]
    .mobile-header-menu__icon i:nth-child(2) {
        opacity: 0;
    }

    .mobile-header-menu[open]
    .mobile-header-menu__icon i:nth-child(3) {
        transform:
            translateY(-5px)
            rotate(-45deg);
    }


    /* ---------- Dropdown panel ---------- */

    .mobile-header-menu__panel {
        position: absolute;

        top: calc(100% + 8px);
        left: 12px;
        right: 12px;

        z-index: 80;

        padding:
            18px;

        overflow: hidden;

        background: #fbf8f1;

        border:
            1px solid rgba(6, 77, 55, 0.12);
        border-radius: 20px;

        box-shadow:
            0 18px 45px rgba(20, 48, 37, 0.20);
    }

    .mobile-header-menu__heading {
        margin:
            0 4px 10px;

        color: #8b6b20;

        font-size: 10px;
        font-weight: 850;
        line-height: 1.2;
        letter-spacing: 2px;
        text-transform: uppercase;
    }

    .mobile-header-menu__link {
        display: flex;
        align-items: center;
        justify-content: space-between;

        min-height: 52px;

        padding:
            0 15px;

        color: #173d30;
        background: #ffffff;

        border:
            1px solid rgba(6, 77, 55, 0.09);
        border-radius: 13px;

        font-size: 15px;
        font-weight: 800;
        line-height: 1.2;
        text-decoration: none;
    }

    .mobile-header-menu__link
    + .mobile-header-menu__link {
        margin-top: 7px;
    }

    .mobile-header-menu__link b {
        color: #b78e2d;

        font-size: 17px;
        font-weight: 500;
    }

    .mobile-header-menu__link.active {
        color: #ffffff;
        background: #064d37;
        border-color: #064d37;
    }

    .mobile-header-menu__link.active b {
        color: #e8c35e;
    }


    /* ---------- Staff operations ---------- */

    .mobile-header-menu__staff {
        margin-top: 16px;
        padding-top: 16px;

        border-top:
            1px solid rgba(6, 77, 55, 0.13);
    }

    .mobile-header-menu__heading--staff {
        color: #064d37;
    }

    .mobile-header-menu__link--staff {
        background: #f3efe3;
    }


    /*
     * Keep the existing bottom navigation as the primary
     * mobile navigation. We only improve its safe spacing.
     */

    .mobile-nav {
        z-index: 90;
    }

}


/* ============================================================
   SMALL PHONES
   ============================================================ */

@media (max-width: 520px) {

    .site-header {
        grid-template-columns:
            minmax(0, 1fr)
            auto
            auto;

        gap: 6px;

        min-height: 70px;

        padding:
            7px 9px;
    }

    .site-header .meedahs-official-logo {
        width: 50px;
        height: 50px;
    }

    .site-header .meedahs-brand-text {
        margin-left: 6px;
    }

    .site-header .meedahs-brand-name {
        font-size: 16px;
        letter-spacing: 1.3px;
    }

    .site-header .meedahs-brand-subtitle {
        font-size: 6px;
        letter-spacing: 0.8px;
    }

    .site-header-cart {
        min-height: 42px;

        padding:
            0 9px 0 11px;

        font-size: 13px;
    }

    .mobile-header-menu__toggle {
        width: 44px;
        height: 42px;
    }

    .mobile-header-menu__panel {
        top: calc(100% + 7px);
        left: 9px;
        right: 9px;

        padding: 15px;

        border-radius: 17px;
    }

}


/* ============================================================
   VERY SMALL PHONES
   ============================================================ */

@media (max-width: 390px) {

    /*
     * Preserve the official logo while simplifying the wordmark
     * if the viewport becomes extremely narrow.
     */

    .site-header .meedahs-brand-name {
        font-size: 14px;
        letter-spacing: 0.8px;
    }

    .site-header .meedahs-brand-subtitle {
        display: none;
    }

    .site-header-cart {
        padding:
            0 8px 0 10px;
    }

}


/* ============================================================
   STAGE 4V-G3B — MOBILE MENU CATEGORY POLISH
   Mobile category navigation only
   ============================================================ */

@media (max-width: 700px) {

    /*
     * Replace the old horizontally scrolling category rail
     * with a complete two-column category directory.
     */

    .menu-v16 .category-nav {
        display: grid;
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 10px;

        width: 100%;

        margin: 0 0 44px;
        padding: 0;

        overflow: visible;

        scrollbar-width: auto;
    }


    /*
     * Large, comfortable touch targets.
     */

    .menu-v16 .category-nav a {
        display: flex;
        align-items: center;
        justify-content: center;

        width: 100%;
        min-width: 0;
        min-height: 52px;

        padding: 10px 12px;

        color: #073d28;
        background: #fffdf8;

        border:
            1px solid rgba(7, 61, 40, 0.17);
        border-radius: 16px;

        box-shadow:
            0 2px 7px rgba(7, 61, 40, 0.035);

        font-size: 14px;
        font-weight: 750;
        line-height: 1.2;
        text-align: center;
        text-decoration: none;
        white-space: normal;

        transition:
            background-color 150ms ease,
            border-color 150ms ease,
            color 150ms ease,
            transform 150ms ease,
            box-shadow 150ms ease;
    }

    .menu-v16 .category-nav a:hover,
    .menu-v16 .category-nav a:focus-visible {
        color: #073d28;
        background: #f4ecdc;

        border-color:
            rgba(185, 151, 76, 0.42);

        box-shadow:
            0 4px 12px rgba(7, 61, 40, 0.07);
    }

    .menu-v16 .category-nav a:active {
        transform: scale(0.985);
    }

    .menu-v16 .category-nav a:focus-visible {
        outline:
            3px solid rgba(185, 151, 76, 0.25);
        outline-offset: 2px;
    }


    /*
     * Give each category destination enough clearance from
     * the mobile header when reached through an anchor.
     */

    .menu-v16 .menu-category {
        scroll-margin-top: 150px;
        margin-bottom: 64px;
    }


    /*
     * Tighten category-heading rhythm slightly on phones.
     */

    .menu-v16 .menu-category-heading {
        margin-bottom: 20px;
    }

    .menu-v16 .menu-category-heading h2 {
        font-size: clamp(34px, 10vw, 44px);
        line-height: 1.04;
    }

}


/*
 * Very narrow phones remain two-column where practical,
 * but use slightly smaller typography and spacing.
 */

@media (max-width: 390px) {

    .menu-v16 .category-nav {
        gap: 8px;
    }

    .menu-v16 .category-nav a {
        min-height: 50px;

        padding-left: 8px;
        padding-right: 8px;

        border-radius: 14px;

        font-size: 13px;
    }

}


/* ============================================================
   STAGE 4V-G3C — MOBILE PRODUCT CARD POLISH
   Customer menu only
   ============================================================ */

@media (max-width: 800px) {

    /*
     * Give the final menu content comfortable clearance
     * above the fixed five-item mobile navigation.
     */
    .menu-page {
        padding-bottom: 105px;
    }


    /* Product card */
    .menu-card {
        overflow: hidden;
        border-radius: 18px;
        background: #fff;
        box-shadow: 0 10px 30px rgba(7, 61, 40, .07);
    }


    /*
     * Product photography / placeholder.
     * Deliberately shorter than the previous mobile presentation
     * so more useful product information appears above the fold.
     */
    .menu-card .foodpic {
        width: 100%;
        height: auto;
        min-height: 0;
        aspect-ratio: 16 / 10;
        background-position: center;
        background-size: cover;
    }

    .menu-card .food-placeholder {
        min-height: 100%;
    }


    /* Slightly smaller featured badge on mobile */
    .menu-card .featured-badge {
        top: 14px;
        left: 14px;
        padding: 7px 13px;
        font-size: 10px;
        letter-spacing: .11em;
    }


    /* Product information */
    .menu-card-content {
        padding: 20px 18px 18px;
    }


    /*
     * Stack product name and price.
     * This prevents long names and larger Naira values from
     * competing for the same horizontal space.
     */
    .menu-card-title {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 7px;
    }

    .menu-card-title h3 {
        width: 100%;
        margin: 0;
        color: #17241d;
        font-size: clamp(22px, 6vw, 28px);
        line-height: 1.12;
    }

    .menu-card-title strong {
        display: block;
        margin: 0;
        color: #073d28;
        font-size: 19px;
        font-weight: 800;
        line-height: 1.2;
        white-space: nowrap;
        font-variant-numeric: tabular-nums;
    }


    /* Description */
    .menu-card-content > p {
        margin: 14px 0 19px;
        color: #6f736f;
        font-size: 15px;
        line-height: 1.55;
    }


    /* Preserve the existing functional cart form */
    .menu-card .add-to-bag-form {
        width: 100%;
        margin-top: auto;
    }

    .menu-card .add-to-bag-form button {
        display: flex;
        width: 100%;
        min-height: 52px;
        align-items: center;
        justify-content: center;
        gap: 7px;

        margin: 0;
        padding: 13px 18px;

        border: 0;
        border-radius: 12px;

        background: #07583e;
        color: #fff;

        font-size: 15px;
        font-weight: 800;
        line-height: 1;

        box-shadow: none;
    }

    .menu-card .add-to-bag-form button span {
        font-size: 19px;
        line-height: 1;
    }

    .menu-card .add-to-bag-form button:active {
        transform: translateY(1px);
    }
}


/* Extra refinement for narrow phones */

@media (max-width: 520px) {

    .menu-card .foodpic {
        aspect-ratio: 16 / 9.5;
    }

    .menu-card-content {
        padding: 18px 16px 16px;
    }

    .menu-card-title h3 {
        font-size: 23px;
    }

    .menu-card-title strong {
        font-size: 18px;
    }

    .menu-card-content > p {
        margin-top: 12px;
        margin-bottom: 17px;
        font-size: 14px;
    }

    .menu-card .add-to-bag-form button {
        min-height: 50px;
    }
}


/* ============================================================
   STAGE 4V-G3C-B — MOBILE PRODUCT CARD REFINEMENT
   Compact premium menu browsing experience
   ============================================================ */

@media (max-width: 800px) {

    /*
     * Keep food photography prominent while reducing
     * the amount of vertical screen occupied by each card.
     */
    .menu-card .foodpic {
        aspect-ratio: 16 / 8.8;
    }


    /*
     * More compact information area.
     */
    .menu-card-content {
        padding: 17px 18px 16px;
    }


    /*
     * Keep name and price stacked for readability,
     * but tighten the vertical relationship.
     */
    .menu-card-title {
        gap: 5px;
    }

    .menu-card-title h3 {
        font-size: clamp(21px, 5.7vw, 26px);
        line-height: 1.08;
    }

    .menu-card-title strong {
        font-size: 18px;
        line-height: 1.15;
    }


    /*
     * Description remains readable but no longer creates
     * excessive empty space before the action.
     */
    .menu-card-content > p {
        margin: 11px 0 15px;
        font-size: 14px;
        line-height: 1.45;
    }


    /*
     * Compact but still comfortably touchable CTA.
     * Existing POST form and cart behaviour remain untouched.
     */
    .menu-card .add-to-bag-form button {
        min-height: 48px;
        padding: 11px 16px;
        border-radius: 11px;
        font-size: 15px;
    }

    .menu-card .add-to-bag-form button span {
        font-size: 18px;
    }
}


@media (max-width: 520px) {

    .menu-card .foodpic {
        aspect-ratio: 16 / 8.6;
    }

    .menu-card-content {
        padding: 16px 15px 15px;
    }

    .menu-card-title {
        gap: 4px;
    }

    .menu-card-title h3 {
        font-size: 22px;
    }

    .menu-card-title strong {
        font-size: 17px;
    }

    .menu-card-content > p {
        margin: 10px 0 14px;
        font-size: 14px;
        line-height: 1.4;
    }

    .menu-card .add-to-bag-form button {
        min-height: 47px;
    }
}



/* ============================================================
   STAGE 4V-G3D — MOBILE MENU SPACING POLISH
   Category rhythm + bottom-navigation clearance
   Product-card design intentionally unchanged
   ============================================================ */

@media (max-width: 700px) {

    /*
     * G3B previously used a generous category separation.
     * Reduce it now that the product cards have their final
     * compact mobile treatment.
     */

    .menu-v16 .menu-category {
        margin-bottom: 48px;
        scroll-margin-top: 145px;
    }


    /*
     * Reduce empty space before the category identity/title.
     */

    .menu-v16 .menu-category-heading {
        margin-top: 0;
        margin-bottom: 16px;
    }


    /*
     * Keep the category eyebrow close to its heading.
     */

    .menu-v16 .menu-category-heading .eyebrow,
    .menu-v16 .menu-category-heading p:first-child {
        margin-bottom: 8px;
    }


    /*
     * Slightly tighter product-grid rhythm.
     * Does not alter card internals from G3C.
     */

    .menu-v16 .menu-grid {
        gap: 20px;
    }


    /*
     * Prevent the final menu content from disappearing behind
     * the persistent mobile bottom navigation.
     */

    .menu-v16 {
        padding-bottom:
            calc(105px + env(safe-area-inset-bottom, 0px));
    }

}


@media (max-width: 520px) {

    .menu-v16 .menu-category {
        margin-bottom: 42px;
    }

    .menu-v16 .menu-category-heading {
        margin-bottom: 14px;
    }

    .menu-v16 .menu-grid {
        gap: 18px;
    }

}

/* ============================================================
   STAGE 4V-G4B — PREMIUM MOBILE BAG
   Presentation only — cart behaviour unchanged
   ============================================================ */

@media (max-width: 800px) {

    /* ---------- Page ---------- */

    .cart-page {
        width: 100%;
        max-width: none;
        margin: 0;
        padding:
            48px 20px
            calc(108px + env(safe-area-inset-bottom));
        box-sizing: border-box;
        background: #fbf7ef;
    }


    /* ---------- Heading ---------- */

    .cart-heading {
        max-width: 680px;
        margin: 0 auto 38px;
    }

    .cart-heading .eyebrow {
        margin: 0 0 13px;
        color: #343a32;
        font-size: 12px;
        font-weight: 500;
        line-height: 1.2;
        letter-spacing: 5px;
    }

    .cart-heading h1 {
        margin: 0;
        color: #151a14;
        font-family: Georgia, serif;
        font-size: clamp(46px, 12vw, 64px);
        font-weight: 700;
        line-height: 0.98;
        letter-spacing: -1.8px;
    }

    .cart-heading > p:not(.eyebrow) {
        max-width: 560px;
        margin: 22px 0 0;
        color: #343832;
        font-size: 17px;
        line-height: 1.5;
    }


    /* ---------- Main layout ---------- */

    .cart-layout {
        display: block;
        width: 100%;
        max-width: 680px;
        margin: 0 auto;
    }

    .cart-items {
        display: block;
        width: 100%;
    }


    /* ---------- Product card ---------- */

    .cart-item {
        display: grid;
        grid-template-columns: 112px minmax(0, 1fr);
        grid-template-areas:
            "image info"
            "total total";
        gap: 0 18px;

        width: 100%;
        margin: 0 0 18px;
        padding: 18px;

        box-sizing: border-box;

        background: #ffffff;

        border:
            1px solid rgba(6, 77, 55, 0.08);
        border-radius: 20px;

        box-shadow:
            0 8px 26px rgba(30, 40, 32, 0.07);
    }


    /* ---------- Product image ---------- */

    .cart-image {
        grid-area: image;

        width: 112px;
        height: 112px;

        border-radius: 15px;

        overflow: hidden;

        background-color: #064d37;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }

    .cart-image .food-placeholder {
        width: 100%;
        height: 100%;

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

        background: #064d37;
    }

    .cart-image .food-placeholder span {
        color: #d9b45a;
        font-family: Georgia, serif;
        font-size: 42px;
        line-height: 1;
    }


    /* ---------- Product information ---------- */

    .cart-item-info {
        grid-area: info;

        min-width: 0;
        padding: 3px 0 0;
    }

    .cart-item-info h3 {
        margin: 0;

        color: #172019;

        font-family: Georgia, serif;
        font-size: 25px;
        font-weight: 700;
        line-height: 1.08;
        letter-spacing: -0.4px;
    }

    .cart-unit-price {
        margin: 8px 0 15px;

        color: #686d68;

        font-size: 14px;
        line-height: 1.35;
    }


    /* ---------- Quantity controls ---------- */

    .quantity-form {
        display: grid;
        grid-template-columns:
            42px 52px 42px
            minmax(76px, 1fr);

        align-items: center;

        gap: 7px;

        width: 100%;
        margin: 0;
    }

    .quantity-form .qty-btn,
    .quantity-form .qty-input,
    .quantity-form .update-cart {
        height: 42px;
        min-height: 42px;

        box-sizing: border-box;

        margin: 0;
    }

    .quantity-form .qty-btn {
        display: flex;
        align-items: center;
        justify-content: center;

        width: 42px;
        padding: 0;

        border:
            1px solid rgba(6, 77, 55, 0.18);
        border-radius: 10px;

        background: #fbfaf5;
        color: #064d37;

        font-size: 22px;
        font-weight: 600;
        line-height: 1;

        cursor: pointer;
    }

    .quantity-form .qty-input {
        width: 52px;
        padding: 0 4px;

        border:
            1px solid rgba(6, 77, 55, 0.20);
        border-radius: 9px;

        background: #ffffff;
        color: #172019;

        font-size: 16px;
        font-weight: 700;
        text-align: center;

        -moz-appearance: textfield;
    }

    .quantity-form .qty-input::-webkit-outer-spin-button,
    .quantity-form .qty-input::-webkit-inner-spin-button {
        margin: 0;
        -webkit-appearance: none;
    }

    .quantity-form .update-cart {
        display: flex;
        align-items: center;
        justify-content: center;

        min-width: 0;
        padding: 0 12px;

        border: 0;
        border-radius: 10px;

        background: #064d37;
        color: #ffffff;

        font-size: 13px;
        font-weight: 800;
        line-height: 1;

        cursor: pointer;
    }


    /* ---------- Remove ---------- */

    .remove-form {
        margin: 10px 0 0;
    }

    .remove-form button {
        display: inline-flex;
        align-items: center;

        margin: 0;
        padding: 4px 0;

        border: 0;

        background: transparent;
        color: #a44137;

        font-size: 13px;
        font-weight: 700;
        line-height: 1.2;

        text-decoration: none;

        cursor: pointer;
    }

    .remove-form button::before {
        content: "×";

        margin-right: 5px;

        font-size: 17px;
        font-weight: 500;
        line-height: 1;
    }


    /* ---------- Line total ---------- */

    .cart-line-total {
        grid-area: total;

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

        gap: 16px;

        width: 100%;

        margin: 17px 0 0;
        padding: 15px 2px 0;

        border-top:
            1px solid rgba(6, 77, 55, 0.10);
    }

    .cart-line-total small {
        color: #747873;

        font-size: 13px;
        font-weight: 600;
    }

    .cart-line-total strong {
        color: #064d37;

        font-family: Georgia, serif;
        font-size: 20px;
        font-weight: 700;
        line-height: 1;
    }


    /* ---------- Continue shopping ---------- */

    .continue-shopping {
        display: inline-flex;
        align-items: center;

        margin: 5px 0 30px;
        padding: 8px 2px;

        color: #064d37;

        font-size: 14px;
        font-weight: 750;
        line-height: 1.2;

        text-decoration: none;
    }


    /* ---------- Summary ---------- */

    .cart-summary {
        width: 100%;
        margin: 0;
        padding: 24px 21px;

        box-sizing: border-box;

        background: #ffffff;

        border:
            1px solid rgba(6, 77, 55, 0.09);
        border-radius: 20px;

        box-shadow:
            0 9px 28px rgba(30, 40, 32, 0.07);
    }

    .cart-summary > .eyebrow {
        margin: 0 0 8px;

        color: #a7812f;

        font-size: 10px;
        font-weight: 800;
        letter-spacing: 3px;
    }

    .cart-summary h2 {
        margin: 0 0 23px;

        color: #172019;

        font-family: Georgia, serif;
        font-size: 30px;
        line-height: 1.05;
    }

    .summary-line,
    .summary-total {
        display: flex;
        align-items: center;
        justify-content: space-between;

        gap: 18px;
    }

    .summary-line {
        padding: 0 0 17px;
    }

    .summary-line span {
        color: #666c67;
        font-size: 14px;
    }

    .summary-line strong {
        color: #172019;
        font-size: 16px;
    }

    .summary-note {
        margin: 0;
        padding: 17px 0;

        border-top:
            1px solid rgba(6, 77, 55, 0.09);
        border-bottom:
            1px solid rgba(6, 77, 55, 0.09);
    }

    .summary-note strong {
        display: block;

        margin: 0 0 5px;

        color: #172019;
        font-size: 14px;
    }

    .summary-note p {
        margin: 0;

        color: #777b77;

        font-size: 12px;
        line-height: 1.5;
    }

    .summary-total {
        padding: 20px 0 3px;
    }

    .summary-total span {
        color: #565c57;

        font-size: 14px;
        font-weight: 600;
    }

    .summary-total strong {
        color: #064d37;

        font-family: Georgia, serif;
        font-size: 25px;
        line-height: 1;
    }


    /* ---------- Checkout CTA ---------- */

    .cart-summary .checkout-button {
        display: flex;
        align-items: center;
        justify-content: center;

        width: 100%;
        min-height: 54px;

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

        box-sizing: border-box;

        border-radius: 12px;

        background: #e8b234;
        color: #172019;

        font-size: 15px;
        font-weight: 850;
        line-height: 1.1;

        text-align: center;
    }

    .cart-summary .checkout-button::after {
        content: "→";

        margin-left: 8px;

        font-size: 18px;
        line-height: 1;
    }

    .checkout-assurance {
        display: flex;
        align-items: center;
        justify-content: center;

        gap: 7px;

        margin: 15px 0 0;

        color: #777c77;

        font-size: 11px;
        line-height: 1.3;

        text-align: center;
    }


    /* ---------- Empty bag ---------- */

    .empty-cart {
        max-width: 680px;
        margin: 0 auto;

        border-radius: 20px;
    }
}


/* ============================================================
   NARROW MOBILE BAG
   ============================================================ */

@media (max-width: 520px) {

    .cart-page {
        padding-left: 16px;
        padding-right: 16px;
        padding-top: 42px;
    }

    .cart-heading {
        margin-bottom: 31px;
    }

    .cart-heading h1 {
        font-size: 50px;
    }

    .cart-heading > p:not(.eyebrow) {
        margin-top: 18px;
        font-size: 16px;
    }

    .cart-item {
        grid-template-columns: 96px minmax(0, 1fr);

        gap: 0 14px;

        padding: 15px;

        border-radius: 17px;
    }

    .cart-image {
        width: 96px;
        height: 96px;

        border-radius: 12px;
    }

    .cart-image .food-placeholder span {
        font-size: 36px;
    }

    .cart-item-info {
        padding-top: 1px;
    }

    .cart-item-info h3 {
        font-size: 21px;
    }

    .cart-unit-price {
        margin-top: 6px;
        margin-bottom: 12px;

        font-size: 13px;
    }

    .quantity-form {
        grid-template-columns:
            38px 44px 38px
            minmax(66px, 1fr);

        gap: 5px;
    }

    .quantity-form .qty-btn,
    .quantity-form .qty-input,
    .quantity-form .update-cart {
        height: 39px;
        min-height: 39px;
    }

    .quantity-form .qty-btn {
        width: 38px;
        border-radius: 9px;
        font-size: 20px;
    }

    .quantity-form .qty-input {
        width: 44px;
        font-size: 15px;
    }

    .quantity-form .update-cart {
        padding-left: 8px;
        padding-right: 8px;

        font-size: 12px;
    }

    .remove-form {
        margin-top: 8px;
    }

    .cart-line-total {
        margin-top: 14px;
        padding-top: 13px;
    }

    .cart-summary {
        padding: 22px 18px;
        border-radius: 17px;
    }

}


/* ============================================================
   VERY NARROW MOBILE BAG
   ============================================================ */

@media (max-width: 390px) {

    .cart-item {
        grid-template-columns: 82px minmax(0, 1fr);
        gap: 0 11px;

        padding: 13px;
    }

    .cart-image {
        width: 82px;
        height: 82px;
    }

    .cart-item-info h3 {
        font-size: 19px;
    }

    .quantity-form {
        grid-template-columns:
            34px 40px 34px
            minmax(58px, 1fr);

        gap: 4px;
    }

    .quantity-form .qty-btn,
    .quantity-form .qty-input,
    .quantity-form .update-cart {
        height: 37px;
        min-height: 37px;
    }

    .quantity-form .qty-btn {
        width: 34px;
    }

    .quantity-form .qty-input {
        width: 40px;
    }

    .quantity-form .update-cart {
        padding-left: 6px;
        padding-right: 6px;

        font-size: 11px;
    }

}



/* ==========================================================
   STAGE 4V-G5C — MOBILE CHECKOUT VERTICAL RHYTHM
   Reduces excessive whitespace between checkout sections.
   Presentation only — no checkout behaviour is changed.
   ========================================================== */

@media (max-width: 800px) {

    /* Overall checkout page */
    .v17-checkout {
        padding-top: 38px;
        padding-bottom: 52px;
    }

    /* Intro → checkout content */
    .checkout-intro {
        margin-bottom: 34px;
    }

    /* Main mobile checkout stack */
    .v17-checkout-grid {
        gap: 26px;
    }

    /* Form sections */
    .v17-checkout-form {
        gap: 22px;
    }

    .checkout-section {
        margin-bottom: 22px;
    }

    /* Reduce oversized space inside section headers */
    .checkout-section-heading {
        margin-bottom: 24px;
    }

    /* Fields within each checkout section */
    .checkout-fields {
        gap: 20px;
    }

    .checkout-fields.two {
        gap: 20px;
    }

    .checkout-field {
        margin-bottom: 18px;
    }

    /* Fulfilment / delivery choices */
    .fulfilment-options {
        gap: 14px;
        margin-top: 18px;
    }

    /* Payment section → Place Order */
    .checkout-submit {
        margin-top: 24px;
    }

    .checkout-security {
        margin-top: 16px;
        margin-bottom: 8px;
    }

    /* Order summary */
    .v17-order-summary {
        margin-top: 4px;
    }

    .checkout-order-items {
        margin-top: 22px;
        margin-bottom: 22px;
    }

    .checkout-totals {
        margin-top: 20px;
    }

    .checkout-summary-note {
        margin-top: 20px;
    }
}


/* Extra refinement for narrow phones */
@media (max-width: 520px) {

    .v17-checkout {
        padding-top: 30px;
        padding-bottom: 44px;
    }

    .checkout-intro {
        margin-bottom: 28px;
    }

    .v17-checkout-grid {
        gap: 22px;
    }

    .v17-checkout-form {
        gap: 18px;
    }

    .checkout-section {
        margin-bottom: 18px;
    }

    .checkout-section-heading {
        margin-bottom: 20px;
    }

    .checkout-field {
        margin-bottom: 16px;
    }

    .fulfilment-options {
        margin-top: 14px;
    }

    .checkout-submit {
        margin-top: 20px;
    }
}


/* ==========================================================
   STAGE 4V-G5E — FINAL MOBILE CHECKOUT SPACING
   Establishes one consistent vertical rhythm for the mobile
   checkout and removes stacked section/button margins.
   Presentation only.
   ========================================================== */

@media (max-width: 800px) {

    /*
     * The checkout form is already a grid.
     * Let its gap control spacing between sections instead of
     * combining grid-gap + section margins.
     */
    .v17-checkout-form {
        gap: 18px;
    }

    .v17-checkout-form > .checkout-section {
        margin-bottom: 0;
    }

    /*
     * Payment section -> Place Order.
     * The form gap above now provides the spacing.
     */
    .v17-checkout-form > .checkout-submit {
        margin-top: 0;
        margin-bottom: 0;
    }

    /*
     * Place Order -> verification message.
     * Again, use the form gap instead of additional margins.
     */
    .v17-checkout-form > .checkout-security {
        margin-top: 0;
        margin-bottom: 0;
    }

    /*
     * Give the form a modest finish before the next major
     * checkout block / footer rather than a large blank area.
     */
    .v17-checkout-form {
        margin-bottom: 0;
        padding-bottom: 0;
    }
}


/* Narrow phones */
@media (max-width: 520px) {

    .v17-checkout-form {
        gap: 16px;
    }

    .v17-checkout-form > .checkout-section {
        margin-bottom: 0;
    }

    .v17-checkout-form > .checkout-submit {
        margin-top: 0;
        margin-bottom: 0;
    }

    .v17-checkout-form > .checkout-security {
        margin-top: 0;
        margin-bottom: 0;
    }
}


/* ==========================================================
   STAGE 4V-G5E — CHECKOUT FINAL MOBILE BOTTOM RHYTHM
   Tightens Place Order → notice → footer spacing only.
   ========================================================== */

@media (max-width: 800px) {

    .checkout-submit {
        margin-bottom: 0;
    }

    .checkout-security {
        margin-top: 18px;
        margin-bottom: 0;
    }

    .v17-checkout-form {
        padding-bottom: 0;
    }

    .v17-checkout {
        padding-bottom: 28px;
    }
}

@media (max-width: 520px) {

    .checkout-security {
        margin-top: 16px;
    }

    .v17-checkout {
        padding-bottom: 22px;
    }
}


/* ==========================================================
   STAGE 4V-G6B — PREMIUM COMPACT MENU INTRO
   Compact customer-first menu entry experience.
   ========================================================== */

.menu-hero {
    position: relative;
    overflow: hidden;
    padding: 42px 7% 38px;
    text-align: center;
    background:
        radial-gradient(
            circle at 12% 20%,
            rgba(203,164,92,.14),
            transparent 27%
        ),
        radial-gradient(
            circle at 88% 75%,
            rgba(7,61,40,.08),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #fbf7ef 0%,
            #f7f1e7 55%,
            #f3eadb 100%
        );
    border-bottom: 1px solid rgba(7,61,40,.08);
}

.menu-hero::before {
    content: "MR";
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(120px, 16vw, 220px);
    line-height: 1;
    font-weight: 700;
    color: rgba(7,61,40,.025);
    pointer-events: none;
}

.menu-hero::after {
    content: "";
    position: absolute;
    width: 170px;
    height: 170px;
    right: -75px;
    top: -85px;
    border: 1px solid rgba(203,164,92,.22);
    border-radius: 50%;
    pointer-events: none;
}

.menu-hero > * {
    position: relative;
    z-index: 1;
}

.menu-hero .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 10px;
    color: #a77b21;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .22em;
}

.menu-hero .eyebrow::before,
.menu-hero .eyebrow::after {
    content: "";
    display: block;
    width: 26px;
    height: 1px;
    background: #cba45c;
}

.menu-hero h1 {
    margin: 0 0 10px;
    color: #073d28;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(42px, 5vw, 66px);
    line-height: .98;
    letter-spacing: -.025em;
}

.menu-hero > p:last-child {
    max-width: 610px;
    margin: 0 auto;
    color: #68655f;
    font-size: 16px;
    line-height: 1.55;
}

/* Pull catalogue navigation closer to the hero */
.menu-v16 {
    padding-top: 24px;
}

/* Premium category selector */
.category-nav {
    gap: 9px;
    margin-bottom: 38px;
}

.category-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 9px 17px;
    border: 1px solid rgba(7,61,40,.14);
    border-radius: 999px;
    background: #fff;
    color: #073d28;
    box-shadow: 0 5px 18px rgba(7,61,40,.045);
    font-size: 12px;
    font-weight: 750;
    letter-spacing: .025em;
    transition:
        background .2s ease,
        color .2s ease,
        border-color .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}

.category-nav a:hover,
.category-nav a:focus-visible {
    background: #073d28;
    color: #fff;
    border-color: #073d28;
    box-shadow: 0 8px 22px rgba(7,61,40,.14);
    transform: translateY(-1px);
}

/* Reduce unnecessary gap before/among menu groups */
.menu-category {
    margin-bottom: 62px;
}

.menu-category-heading {
    margin-bottom: 20px;
}


/* ---------- Mobile ---------- */

@media (max-width: 650px) {

    .menu-hero {
        padding: 28px 22px 25px;
    }

    .menu-hero::before {
        left: -28px;
        font-size: 115px;
    }

    .menu-hero::after {
        width: 110px;
        height: 110px;
        right: -55px;
        top: -55px;
    }

    .menu-hero .eyebrow {
        margin-bottom: 8px;
        font-size: 10px;
        letter-spacing: .19em;
    }

    .menu-hero .eyebrow::before,
    .menu-hero .eyebrow::after {
        width: 18px;
    }

    .menu-hero h1 {
        margin-bottom: 8px;
        font-size: clamp(38px, 12vw, 50px);
    }

    .menu-hero > p:last-child {
        max-width: 330px;
        font-size: 14px;
        line-height: 1.45;
    }

    .menu-v16 {
        padding-top: 18px;
    }

    .category-nav {
        margin: 0 -24px 28px;
        padding: 2px 24px 8px;
        gap: 8px;
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .category-nav::-webkit-scrollbar {
        display: none;
    }

    .category-nav a {
        flex: 0 0 auto;
        min-height: 38px;
        padding: 8px 15px;
        scroll-snap-align: start;
        white-space: nowrap;
    }

    .menu-category {
        margin-bottom: 52px;
    }

    .menu-category-heading {
        margin-bottom: 17px;
    }
}


/* ==========================================================
   STAGE 4V-G6B — COMPACT PREMIUM MOBILE HEADER MENU
   Reduces open-menu vertical footprint while preserving
   hierarchy, touch comfort and existing visual language.
   ========================================================== */

@media (max-width: 820px) {

    /* Bring panel slightly closer to header */
    .mobile-header-menu__panel {
        top: calc(100% + 6px);
        padding: 13px;
        border-radius: 18px;
    }

    /* Compact section labels */
    .mobile-header-menu__heading {
        margin: 0 3px 7px;
        font-size: 9px;
        line-height: 1.15;
        letter-spacing: 1.8px;
    }

    /* Compact but still comfortable touch targets */
    .mobile-header-menu__link {
        min-height: 44px;
        padding: 0 13px;
        border-radius: 12px;
        font-size: 14px;
    }

    /* Tighter rhythm between links */
    .mobile-header-menu__link
    + .mobile-header-menu__link {
        margin-top: 5px;
    }

    .mobile-header-menu__link b {
        font-size: 16px;
    }

    /* Reduce staff divider footprint */
    .mobile-header-menu__staff {
        margin-top: 10px;
        padding-top: 10px;
    }

    .mobile-header-menu__heading--staff {
        margin-bottom: 7px;
    }
}


/* Narrow phones */
@media (max-width: 520px) {

    .mobile-header-menu__panel {
        top: calc(100% + 5px);
        left: 9px;
        right: 9px;
        padding: 12px;
        border-radius: 16px;
    }

    .mobile-header-menu__heading {
        margin-bottom: 6px;
        font-size: 9px;
    }

    .mobile-header-menu__link {
        min-height: 42px;
        padding: 0 12px;
        font-size: 14px;
    }

    .mobile-header-menu__link
    + .mobile-header-menu__link {
        margin-top: 5px;
    }

    .mobile-header-menu__staff {
        margin-top: 9px;
        padding-top: 9px;
    }

    .mobile-header-menu__heading--staff {
        margin-bottom: 6px;
    }
}

/* ==========================================================
   STAGE 4V-G7B — PREMIUM CUSTOMER JOURNEY
   Track Order • My Meedahs • Order Details
   ========================================================== */

/* ---------- Shared customer canvas ---------- */

.tracking-page,
.account-v19,
.customer-order-detail-v19 {
    --customer-green: #064d37;
    --customer-green-dark: #043d2c;
    --customer-gold: #d9b552;
    --customer-cream: #fbf8f0;
    --customer-ink: #183c31;
    --customer-muted: #6f7d76;
    --customer-border: rgba(6,77,55,.11);
    --customer-shadow: 0 20px 55px rgba(21,54,43,.08);
}


/* ==========================================================
   TRACK ORDER
   ========================================================== */

.tracking-page {
    width: min(100% - 40px, 1180px);
    max-width: 1180px;
    margin: 0 auto;
    padding: 42px 0 100px;
}

.tracking-intro {
    position: relative;
    max-width: none;
    margin: 0 0 30px;
    padding: clamp(34px,5vw,62px);
    overflow: hidden;
    border-radius: 28px;
    background:
        radial-gradient(
            circle at 88% 18%,
            rgba(217,181,82,.19),
            transparent 27%
        ),
        linear-gradient(
            135deg,
            var(--customer-green-dark),
            var(--customer-green)
        );
    box-shadow: 0 24px 60px rgba(6,61,44,.15);
    color: #fff;
}

.tracking-intro::after {
    content: "MR";
    position: absolute;
    right: 4%;
    bottom: -42px;
    font-family: Georgia, serif;
    font-size: clamp(120px,18vw,245px);
    line-height: 1;
    font-weight: 700;
    color: rgba(255,255,255,.035);
    pointer-events: none;
}

.tracking-intro > * {
    position: relative;
    z-index: 1;
}

.tracking-intro .eyebrow {
    margin: 0 0 12px;
    color: var(--customer-gold);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .17em;
}

.tracking-intro h1 {
    max-width: 720px;
    margin: 0;
    color: #fff;
    font-family: Georgia, serif;
    font-size: clamp(38px,5.2vw,66px);
    line-height: .98;
    letter-spacing: -.035em;
}

.tracking-intro > p:not(.eyebrow) {
    max-width: 600px;
    margin: 17px 0 0;
    color: rgba(255,255,255,.78);
    font-size: 15px;
    line-height: 1.75;
}

.tracking-verify-form {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 31px 0 0;
    padding: 24px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 20px;
    background: rgba(255,255,255,.09);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
    backdrop-filter: blur(8px);
}

.tracking-field {
    gap: 8px;
}

.tracking-field label {
    color: rgba(255,255,255,.82);
    font-size: 10px;
    letter-spacing: .12em;
}

.tracking-verify-form .tracking-field input {
    min-height: 54px;
    padding: 14px 17px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 12px;
    outline: none;
    background: rgba(255,255,255,.97);
    color: var(--customer-ink);
    transition:
        border-color .18s ease,
        box-shadow .18s ease,
        transform .18s ease;
}

.tracking-verify-form .tracking-field input:focus {
    border-color: var(--customer-gold);
    box-shadow: 0 0 0 4px rgba(217,181,82,.14);
}

.tracking-verify-form button {
    min-height: 54px;
    border: 1px solid var(--customer-gold);
    border-radius: 999px;
    background: var(--customer-gold);
    color: #173d30;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .075em;
    text-transform: uppercase;
    cursor: pointer;
    transition:
        transform .18s ease,
        box-shadow .18s ease;
}

.tracking-verify-form button:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(0,0,0,.15);
}

.tracking-verification-error {
    border: 1px solid rgba(255,210,210,.35);
    border-left: 3px solid #f2b6b6;
    border-radius: 12px;
    background: rgba(112,25,25,.32);
    color: #fff;
}

.tracking-verification-error span {
    color: rgba(255,255,255,.77);
}

.tracking-verification-notice {
    max-width: 700px;
    margin: 0 auto 30px;
    border: 1px solid var(--customer-border);
    border-radius: 14px;
    background: var(--customer-cream);
    color: var(--customer-muted);
}

.tracking-card {
    border: 1px solid var(--customer-border);
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--customer-shadow);
}

.tracking-order-head {
    padding-bottom: 24px;
    border-bottom: 1px solid var(--customer-border);
}

.tracking-order-head h2 {
    color: var(--customer-green);
    font-family: Georgia, serif;
    letter-spacing: -.025em;
}

.tracking-status-badge {
    border-radius: 999px;
    box-shadow: inset 0 0 0 1px rgba(6,77,55,.08);
}

.step-marker {
    box-shadow: 0 0 0 5px #fff;
}

.tracking-step.complete .step-marker {
    box-shadow:
        0 0 0 5px #fff,
        0 0 0 6px rgba(6,77,55,.08);
}

.tracking-information {
    overflow: hidden;
    border: 1px solid var(--customer-border);
    border-radius: 18px;
    background: var(--customer-cream);
}

.tracking-information > div {
    padding: 20px;
}

.tracking-information span {
    color: var(--customer-muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.tracking-information strong {
    color: var(--customer-green);
}

.tracking-items {
    padding: 25px;
    border: 1px solid var(--customer-border);
    border-radius: 18px;
}

.tracking-items h3 {
    margin-top: 0;
    color: var(--customer-green);
    font-family: Georgia, serif;
}


/* ==========================================================
   MY MEEDAHS
   ========================================================== */

.account-v19 {
    width: min(100% - 40px,1180px);
    margin: 0 auto;
    padding-top: 42px;
}

.account-hero-v19 {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background:
        radial-gradient(
            circle at 88% 12%,
            rgba(217,181,82,.18),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            var(--customer-green-dark),
            var(--customer-green)
        );
    box-shadow: 0 24px 60px rgba(6,61,44,.14);
}

.account-hero-v19::after {
    content: "MR";
    position: absolute;
    right: 3%;
    bottom: -52px;
    color: rgba(255,255,255,.035);
    font-family: Georgia,serif;
    font-size: clamp(130px,19vw,250px);
    font-weight: 700;
    line-height: 1;
    pointer-events: none;
}

.account-hero-v19 > * {
    position: relative;
    z-index: 1;
}

.account-hero-v19 h1 {
    max-width: 760px;
    color: #fff;
    font-family: Georgia,serif;
    font-size: clamp(36px,4.8vw,60px);
    line-height: 1;
    letter-spacing: -.035em;
}

.account-hero-v19 > div > p:not(.account-eyebrow) {
    max-width: 620px;
    color: rgba(255,255,255,.76);
    line-height: 1.7;
}

.account-hero-v19 .account-eyebrow {
    color: var(--customer-gold);
    letter-spacing: .16em;
}

.account-hero-v19 .btn.gold {
    border-radius: 999px;
    box-shadow: 0 10px 25px rgba(0,0,0,.12);
}

.account-stats-v19 {
    gap: 14px;
    margin-top: 20px;
}

.account-stat-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--customer-border);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(21,54,43,.055);
}

.account-stat-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(
        90deg,
        var(--customer-green),
        var(--customer-gold)
    );
}

.account-stat-card span {
    color: var(--customer-muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.account-stat-card strong {
    color: var(--customer-green);
    font-family: Georgia,serif;
}

.account-section-v19 {
    margin-top: 38px;
}

.account-section-heading h2 {
    color: var(--customer-green);
    font-family: Georgia,serif;
    letter-spacing: -.025em;
}

.active-order-v19,
.account-order-card,
.account-favourite-card {
    border: 1px solid var(--customer-border);
    border-radius: 20px;
    box-shadow: 0 14px 38px rgba(21,54,43,.055);
}

.active-order-v19 {
    overflow: hidden;
    background:
        linear-gradient(
            135deg,
            rgba(6,77,55,.025),
            rgba(217,181,82,.055)
        ),
        #fff;
}

.account-live-badge {
    border-radius: 999px;
}

.account-order-status {
    border-radius: 999px;
}

.stage4q-track-action,
.account-secondary-button {
    border-radius: 999px !important;
}

.account-order-card {
    transition:
        transform .18s ease,
        box-shadow .18s ease,
        border-color .18s ease;
}

.account-order-card:hover {
    transform: translateY(-2px);
    border-color: rgba(6,77,55,.18);
    box-shadow: 0 18px 44px rgba(21,54,43,.09);
}

.account-order-actions a,
.account-order-actions button {
    font-weight: 800;
}

.account-favourite-card {
    overflow: hidden;
    transition:
        transform .18s ease,
        box-shadow .18s ease;
}

.account-favourite-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 44px rgba(21,54,43,.09);
}

.account-empty-v19,
.account-empty-small-v19 {
    border: 1px dashed rgba(6,77,55,.2);
    border-radius: 20px;
    background: var(--customer-cream);
}


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

.customer-order-detail-v19 {
    width: min(100% - 40px,1180px);
    margin: 0 auto;
    padding-top: 32px;
}

.customer-order-nav {
    margin-bottom: 15px;
}

.customer-order-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid var(--customer-border);
    border-radius: 999px;
    background: #fff;
    color: var(--customer-green);
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
    transition:
        background .18s ease,
        transform .18s ease;
}

.customer-order-nav a:hover {
    transform: translateX(-2px);
    background: var(--customer-cream);
}

.customer-order-hero {
    position: relative;
    overflow: hidden;
    border-radius: 26px;
    background:
        radial-gradient(
            circle at 88% 10%,
            rgba(217,181,82,.18),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            var(--customer-green-dark),
            var(--customer-green)
        );
    box-shadow: 0 22px 55px rgba(6,61,44,.14);
}

.customer-order-hero::after {
    content: "MR";
    position: absolute;
    right: 4%;
    bottom: -45px;
    color: rgba(255,255,255,.035);
    font-family: Georgia,serif;
    font-size: clamp(110px,16vw,210px);
    font-weight: 700;
    line-height: 1;
    pointer-events: none;
}

.customer-order-hero > * {
    position: relative;
    z-index: 1;
}

.customer-order-hero .account-eyebrow {
    color: var(--customer-gold);
}

.customer-order-hero h1 {
    color: #fff;
    font-family: Georgia,serif;
    letter-spacing: -.03em;
}

.customer-order-hero > div:first-child > p:last-child {
    color: rgba(255,255,255,.72);
}

.customer-order-hero-status {
    align-items: flex-end;
}

.customer-order-hero-status .account-order-status,
.customer-order-hero-status .customer-payment-badge {
    border: 1px solid rgba(255,255,255,.15);
    box-shadow: 0 6px 18px rgba(0,0,0,.08);
}

.customer-order-progress-card,
.customer-detail-card {
    border: 1px solid var(--customer-border);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 14px 38px rgba(21,54,43,.055);
}

.customer-order-progress-card {
    margin-top: 18px;
}

.customer-order-grid {
    gap: 20px;
    margin-top: 20px;
}

.customer-detail-heading h2,
.customer-detail-card > h2 {
    color: var(--customer-green);
    font-family: Georgia,serif;
    letter-spacing: -.02em;
}

.customer-order-item {
    border-bottom-color: var(--customer-border);
}

.customer-order-totals {
    margin-top: 22px;
    padding: 20px;
    border-radius: 15px;
    background: var(--customer-cream);
}

.customer-grand-total {
    padding-top: 14px;
    border-top: 1px solid rgba(6,77,55,.14);
}

.customer-grand-total strong {
    color: var(--customer-green);
    font-size: 1.18rem;
}

.customer-info-list > div {
    padding: 13px 0;
    border-bottom-color: var(--customer-border);
}

.customer-info-list span {
    color: var(--customer-muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.customer-track-button,
.stage4q-receipt-action,
.customer-order-again-button {
    border-radius: 999px !important;
}

.customer-sticky-card {
    top: 105px;
}


/* ==========================================================
   MOBILE CUSTOMER EXPERIENCE
   ========================================================== */

@media (max-width: 760px) {

    .tracking-page,
    .account-v19,
    .customer-order-detail-v19 {
        width: min(100% - 24px,1180px);
    }

    .tracking-page {
        padding-top: 20px;
    }

    .account-v19 {
        padding-top: 20px;
    }

    .customer-order-detail-v19 {
        padding-top: 18px;
    }

    .tracking-intro,
    .account-hero-v19,
    .customer-order-hero {
        border-radius: 20px;
    }

    .tracking-intro {
        padding: 30px 20px 22px;
    }

    .tracking-intro h1 {
        font-size: clamp(34px,11vw,48px);
    }

    .tracking-intro > p:not(.eyebrow) {
        font-size: 14px;
    }

    .tracking-verify-form {
        margin-top: 24px;
        padding: 16px;
        border-radius: 16px;
    }

    .tracking-verify-form button {
        width: 100%;
    }

    .tracking-card {
        border-radius: 19px;
    }

    .tracking-information,
    .tracking-items {
        border-radius: 15px;
    }

    .account-hero-v19 {
        padding: 31px 21px;
    }

    .account-hero-v19 h1 {
        font-size: clamp(34px,10vw,46px);
    }

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

    .account-stat-card {
        border-radius: 15px;
    }

    .active-order-v19,
    .account-order-card,
    .account-favourite-card {
        border-radius: 17px;
    }

    .customer-order-hero {
        padding: 28px 20px;
    }

    .customer-order-hero-status {
        align-items: flex-start;
    }

    .customer-order-progress-card,
    .customer-detail-card {
        border-radius: 17px;
    }

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

@media (max-width: 480px) {

    .tracking-page,
    .account-v19,
    .customer-order-detail-v19 {
        width: min(100% - 20px,1180px);
    }

    .tracking-intro {
        padding-left: 17px;
        padding-right: 17px;
    }

    .tracking-verify-form {
        padding: 14px;
    }

    .tracking-verify-form .tracking-field input {
        min-height: 52px;
        font-size: 16px;
    }

    .account-stats-v19 {
        gap: 10px;
    }

    .account-stat-card {
        padding-left: 14px;
        padding-right: 14px;
    }

    .account-order-actions {
        gap: 12px;
    }

    .customer-order-nav a {
        min-height: 38px;
        font-size: 11px;
    }
}



/* ==========================================================
   STAGE 4V-G7C2 — CUSTOMER JOURNEY FINAL POLISH
   Recent Orders • Order Details • Mobile rhythm
   CSS-only refinement
   ========================================================== */


/* ----------------------------------------------------------
   MY MEEDAHS — RECENT ORDERS
   ---------------------------------------------------------- */

.account-orders-v19 {
    gap: 18px;
}

.account-order-card {
    padding: 24px;
    border: 1px solid var(--customer-border);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 14px 38px rgba(21,54,43,.055);
}

.account-order-main {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    align-items: start;
    gap: 20px;
}

.account-order-main small {
    display: block;
    margin-bottom: 7px;
    color: #89938e;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .12em;
}

.account-order-main h3 {
    margin: 0;
    color: var(--customer-green);
    line-height: 1.1;
}

.account-order-main p {
    margin: 7px 0 0;
    color: #858b88;
}

.account-order-price {
    white-space: nowrap;
    color: var(--customer-green);
    font-weight: 900;
}

.account-order-footer {
    display: grid;
    grid-template-columns: auto minmax(0,1fr);
    align-items: center;
    gap: 18px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid rgba(6,77,55,.09);
}

.account-order-status {
    align-self: center;
    white-space: nowrap;
}

.account-order-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
}

.account-order-actions > a,
.account-order-actions button {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 9px 13px;
    border: 1px solid rgba(6,77,55,.12);
    border-radius: 999px;
    background: #fff;
    color: var(--customer-green);
    font: inherit;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition:
        background .18s ease,
        border-color .18s ease,
        transform .18s ease;
}

.account-order-actions > a:hover,
.account-order-actions button:hover {
    border-color: rgba(6,77,55,.24);
    background: var(--customer-cream);
    transform: translateY(-1px);
}

.account-order-again-form {
    margin: 0;
}


/* ----------------------------------------------------------
   ORDER DETAILS — RHYTHM
   ---------------------------------------------------------- */

.customer-order-detail-v19 .customer-detail-card {
    box-shadow: 0 14px 40px rgba(21,54,43,.055);
}

.customer-order-items {
    margin-top: 20px;
}

.customer-order-item {
    padding-top: 15px;
    padding-bottom: 15px;
}

.customer-order-totals {
    margin-top: 22px;
}

.customer-order-state-note {
    margin-top: 18px;
}

.customer-info-list > div {
    padding-top: 17px;
    padding-bottom: 17px;
}

.stage4q-order-self-service {
    margin-top: 22px;
}


/* ----------------------------------------------------------
   MOBILE
   ---------------------------------------------------------- */

@media (max-width: 800px) {

    .account-orders-v19 {
        gap: 14px;
    }

    .account-order-card {
        padding: 20px 18px;
        border-radius: 20px;
    }

    .account-order-main {
        gap: 12px;
    }

    .account-order-main h3 {
        font-size: clamp(19px,5.2vw,24px);
        overflow-wrap: anywhere;
    }

    .account-order-main p {
        font-size: 14px;
    }

    .account-order-price {
        font-size: 17px;
    }

    .account-order-footer {
        grid-template-columns: 1fr;
        gap: 13px;
        margin-top: 16px;
        padding-top: 15px;
    }

    .account-order-status {
        justify-self: start;
    }

    .account-order-actions {
        display: grid;
        grid-template-columns: repeat(3,minmax(0,1fr));
        width: 100%;
        gap: 7px;
    }

    .account-order-actions > a,
    .account-order-actions button {
        width: 100%;
        min-height: 40px;
        padding: 8px 7px;
        font-size: 11px;
        text-align: center;
    }

    .account-order-again-form {
        width: 100%;
    }


    /* Order detail cards */

    .customer-order-detail-v19 .customer-detail-card {
        padding-top: 25px;
        padding-bottom: 25px;
    }

    .customer-order-items {
        margin-top: 14px;
    }

    .customer-order-item {
        padding-top: 13px;
        padding-bottom: 13px;
    }

    .customer-order-totals {
        margin-top: 18px;
    }

    .customer-order-state-note {
        margin-top: 15px;
    }

    .customer-info-list > div {
        padding-top: 14px;
        padding-bottom: 14px;
    }

    .stage4q-order-self-service {
        margin-top: 18px;
    }


    /*
       Defensive containment for any horizontal journey/progress
       component inherited from the earlier customer-order CSS.
       Keeps the component inside the mobile card.
    */

    .customer-order-detail-v19 .customer-order-progress,
    .customer-order-detail-v19 .order-progress,
    .customer-order-detail-v19 .customer-progress {
        max-width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        overscroll-behavior-inline: contain;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .customer-order-detail-v19 .customer-order-progress::-webkit-scrollbar,
    .customer-order-detail-v19 .order-progress::-webkit-scrollbar,
    .customer-order-detail-v19 .customer-progress::-webkit-scrollbar {
        display: none;
    }
}


@media (max-width: 430px) {

    .account-order-card {
        padding: 18px 16px;
    }

    .account-order-main {
        grid-template-columns: minmax(0,1fr) auto;
    }

    .account-order-price {
        font-size: 16px;
    }

    .account-order-actions {
        grid-template-columns: 1fr 1fr;
    }

    .account-order-again-form {
        grid-column: 1 / -1;
    }

    .account-order-actions button {
        min-height: 42px;
    }
}



/* ==========================================================
   STAGE 4V-G7D2 — FINAL CUSTOMER JOURNEY CONSISTENCY
   Mobile progress tracker • recent order actions • rhythm
   CSS-only — no order/payment/security logic changes
   ========================================================== */


/* ----------------------------------------------------------
   ORDER PROGRESS — DESKTOP REFINEMENT
   ---------------------------------------------------------- */

.customer-order-progress-card {
    overflow: hidden;
}

.customer-order-progress-card .account-progress-v19 {
    width: 100%;
    margin: 0;
    padding: 6px 2px 2px;
}

.customer-order-progress-card .progress-step {
    position: relative;
}

.customer-order-progress-card .progress-line {
    min-width: 18px;
}


/* ----------------------------------------------------------
   RECENT ORDERS — ACTION HIERARCHY
   ---------------------------------------------------------- */

.account-order-actions > a:first-child {
    background: var(--customer-green);
    border-color: var(--customer-green);
    color: #fff;
}

.account-order-actions > a:first-child:hover {
    background: #043e2d;
    border-color: #043e2d;
    color: #fff;
}

.account-order-actions > a:nth-child(2) {
    background: var(--customer-cream);
}

.account-order-actions button {
    background: #fff;
}


/* ----------------------------------------------------------
   MOBILE CUSTOMER JOURNEY
   ---------------------------------------------------------- */

@media (max-width: 800px) {

    /*
       Replace the historical 500px minimum-width scrolling
       tracker with a true responsive five-stage journey.
    */

    .customer-order-progress-card {
        overflow: visible;
        padding-left: 14px;
        padding-right: 14px;
    }

    .customer-order-progress-card .account-progress-v19 {
        display: grid;
        grid-template-columns:
            minmax(0,1fr)
            minmax(8px,.45fr)
            minmax(0,1fr)
            minmax(8px,.45fr)
            minmax(0,1fr)
            minmax(8px,.45fr)
            minmax(0,1fr)
            minmax(8px,.45fr)
            minmax(0,1fr);

        align-items: start;

        width: 100%;
        min-width: 0;

        margin: 0;
        padding: 4px 0 2px;

        overflow: visible;
    }

    .customer-order-progress-card .account-progress-v19 > * {
        min-width: 0;
        flex-shrink: 1;
    }

    .customer-order-progress-card .progress-step {
        width: auto;
        min-width: 0;
    }

    .customer-order-progress-card .progress-step span {
        width: 31px;
        height: 31px;
        margin: 0 auto 7px;
        font-size: 12px;
        line-height: 1;
    }

    .customer-order-progress-card .progress-step small {
        display: block;
        width: 100%;
        margin: 0 auto;

        color: #7a807c;

        font-size: 9px;
        font-weight: 700;
        line-height: 1.15;

        text-align: center;
        letter-spacing: -.01em;

        overflow-wrap: normal;
        word-break: normal;
    }

    .customer-order-progress-card .progress-step.complete small {
        color: var(--customer-green);
        font-weight: 800;
    }

    .customer-order-progress-card .progress-line {
        width: 100%;
        min-width: 0;
        height: 2px;

        margin: 15px 0 0;

        align-self: start;
    }


    /* Recent-order action controls */

    .account-order-actions > a,
    .account-order-actions button {
        min-height: 42px;
        border-radius: 13px;
    }


    /* Order-detail card rhythm */

    .customer-order-grid {
        gap: 16px;
    }

    .customer-order-main {
        gap: 16px;
    }

    .customer-order-sidebar {
        gap: 16px;
    }

    .customer-order-progress-card {
        margin-bottom: 16px;
    }

    .customer-order-state-note {
        padding: 17px 18px;
    }

    .customer-order-state-note strong {
        margin-bottom: 4px;
    }


    /* Delivery/payment actions */

    .stage4q-order-self-service {
        gap: 9px;
    }

    .stage4q-order-self-service a,
    .customer-order-again-button {
        min-height: 46px;
        border-radius: 13px;
    }
}


/* ----------------------------------------------------------
   SMALL PHONES
   ---------------------------------------------------------- */

@media (max-width: 520px) {

    .customer-order-progress-card {
        padding-left: 10px;
        padding-right: 10px;
    }

    .customer-order-progress-card .account-progress-v19 {
        grid-template-columns:
            minmax(0,1fr)
            minmax(5px,.28fr)
            minmax(0,1fr)
            minmax(5px,.28fr)
            minmax(0,1fr)
            minmax(5px,.28fr)
            minmax(0,1fr)
            minmax(5px,.28fr)
            minmax(0,1fr);
    }

    .customer-order-progress-card .progress-step span {
        width: 29px;
        height: 29px;
        margin-bottom: 6px;
        font-size: 11px;
    }

    .customer-order-progress-card .progress-step small {
        font-size: 8.5px;
    }

    .customer-order-progress-card .progress-line {
        margin-top: 14px;
    }

    .account-order-actions {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .account-order-again-form {
        grid-column: 1 / -1;
    }

    .account-order-actions > a,
    .account-order-actions button {
        min-height: 42px;
        font-size: 11px;
    }
}


/* ----------------------------------------------------------
   VERY NARROW PHONES
   ---------------------------------------------------------- */

@media (max-width: 380px) {

    .customer-order-progress-card {
        padding-left: 7px;
        padding-right: 7px;
    }

    .customer-order-progress-card .progress-step span {
        width: 27px;
        height: 27px;
        font-size: 10px;
    }

    .customer-order-progress-card .progress-step small {
        font-size: 7.8px;
    }

    .customer-order-progress-card .progress-line {
        margin-top: 13px;
    }
}



/* =========================================================
   STAGE 4V-G8G-B — ACCESSIBILITY FINAL POLISH
   ========================================================= */

.skip-to-content {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 10000;

    padding: 11px 16px;

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

    border: 2px solid var(--gold);
    border-radius: 10px;

    box-shadow: 0 6px 22px rgba(0, 0, 0, .18);

    font-size: 13px;
    font-weight: 800;
    text-decoration: none;

    transform: translateY(-180%);
    transition: transform .16s ease;
}

.skip-to-content:focus,
.skip-to-content:focus-visible {
    transform: translateY(0);
    outline: none;
}


/* Keyboard focus safety net */

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
}


/*
 * Skip target is deliberately a DIV rather than MAIN.
 * Several customer templates already contain MAIN landmarks.
 */

#main-content:focus {
    outline: none;
}


/* Active mobile navigation */

.mobile-nav a {
    position: relative;
}

.mobile-nav a.active,
.mobile-nav a[aria-current="page"] {
    font-weight: 800;
}

.mobile-nav a[aria-current="page"]::after {
    content: "";
    position: absolute;
    bottom: 4px;

    width: 22px;
    height: 3px;

    border-radius: 999px;
    background: var(--gold);
}

.mobile-nav a > span[aria-hidden="true"] {
    font-size: 20px;
    line-height: 1;
}

.mobile-nav a > span:not([aria-hidden="true"]) {
    font-size: 10px;
    margin-top: 3px;
}


@media (prefers-reduced-motion: reduce) {
    .skip-to-content {
        transition: none;
    }
}

