:root{
  --customer-green:#173f2a;
  --customer-green-2:#246746;
  --customer-cream:#f7f2e8;
  --customer-card:#fffdf8;
  --customer-line:#eadfce;
  --customer-muted:#756b5e;
  --customer-amber:#b36b00;
  --customer-red:#9d2424;
  --customer-shadow:0 14px 34px rgba(45,35,20,.09);
}
body{background:linear-gradient(180deg,#f8f4ec 0%,#f3efe7 100%)}
.wrap{max-width:1120px}.wrap>h1:first-child{display:none}
.customer-hero{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin:1rem 0 1rem;padding:1.35rem 1.45rem;border-radius:26px;color:#fff;background:linear-gradient(135deg,var(--customer-green),var(--customer-green-2));box-shadow:var(--customer-shadow)}
.customer-hero.small{display:block}.customer-hero h1{margin:.1rem 0 .3rem;font-size:clamp(2rem,4vw,3.1rem);letter-spacing:-.04em}.customer-hero p{margin:0;color:#e8f0ea}.customer-eyebrow{text-transform:uppercase;letter-spacing:.13em;font-size:.78rem;font-weight:900;color:#cfe2d5}
.customer-balance{min-width:190px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.25);border-radius:20px;padding:1rem;text-align:right}.customer-balance span,.customer-balance em{display:block;color:#edf5ef;font-style:normal}.customer-balance strong{display:block;font-size:2.1rem;line-height:1;margin:.3rem 0}.customer-balance.owing strong{color:#ffe2b3}.customer-balance.clear strong{color:#fff}
.customer-actions{display:flex;gap:.55rem;flex-wrap:wrap;margin:0 0 1rem}.customer-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:.55rem .9rem;border-radius:999px;background:#fffdf8;border:1px solid var(--customer-line);color:var(--customer-green);font-weight:850;text-decoration:none;box-shadow:0 8px 20px rgba(45,35,20,.05)}
.customer-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin:1rem 0}.customer-grid.top-grid{grid-template-columns:1.35fr .85fr .85fr .85fr}.customer-card{background:var(--customer-card);border:1px solid var(--customer-line);border-radius:22px;padding:1rem;box-shadow:var(--customer-shadow)}.customer-card h2{margin:.15rem 0 .45rem;color:var(--customer-green);font-size:1.35rem}.customer-card.next-card h2{font-size:1.7rem}.wide-card{margin:1rem 0}.card-label{font-size:.76rem;text-transform:uppercase;letter-spacing:.1em;font-weight:900;color:var(--customer-muted)}.muted{color:var(--customer-muted)}
.section-head{display:flex;justify-content:space-between;gap:1rem;align-items:flex-start;margin-bottom:.75rem}.section-head h2{margin:0}.soft-pill{display:inline-flex;align-items:center;min-height:30px;padding:.25rem .65rem;border-radius:999px;background:#edf5ef;color:var(--customer-green);font-weight:850;white-space:nowrap}.soft-pill.warn{background:#fff4de;color:#8a5300}
.mini-list{display:grid;gap:.5rem;margin-top:.75rem}.mini-list div,.product-row{display:flex;justify-content:space-between;gap:.8rem;align-items:center;border-bottom:1px solid #f0e6d8;padding:.45rem 0}.mini-list div:last-child{border-bottom:0}.mini-list strong{color:var(--customer-green);white-space:nowrap}.mini-list em{display:block;margin-top:.15rem;color:var(--customer-muted);font-size:.85rem;font-style:normal}
.regular-list{display:grid;gap:.8rem}.regular-sub{border:1px solid #efe4d6;background:#fffaf2;border-radius:18px;padding:.8rem}.sub-meta{display:flex;justify-content:space-between;gap:1rem;margin-bottom:.35rem}.sub-meta span{color:var(--customer-muted)}
.timeline-list{display:grid;gap:.65rem}.timeline-list div{border-left:4px solid #d8e6da;background:#fffaf2;border-radius:14px;padding:.65rem .75rem}.timeline-list strong,.timeline-list span{display:block}.timeline-list span{color:var(--customer-muted);margin-top:.15rem}
.statement-list{display:grid;gap:.45rem}.statement-list div{display:grid;grid-template-columns:1fr 1fr auto;gap:.8rem;align-items:center;border-bottom:1px solid #f0e6d8;padding:.55rem 0}.statement-list strong{color:var(--customer-green)}
.details-grid{display:grid;grid-template-columns:1fr 1fr;gap:.75rem}.details-grid div{background:#fffaf2;border:1px solid #efe4d6;border-radius:16px;padding:.75rem}.details-grid span{display:block;color:var(--customer-muted);font-size:.82rem;font-weight:850;text-transform:uppercase;letter-spacing:.06em}.details-grid strong{display:block;margin-top:.2rem;color:#2d271f}
/* messaging */
.customer-action-msg{background:#e07b15!important;color:#fff!important;border-color:transparent!important;position:relative}
.customer-action-msg:hover{background:#c96c10!important}
.msg-badge{display:inline-flex;align-items:center;justify-content:center;background:#fff;color:#e07b15;border-radius:999px;font-size:.72rem;font-weight:900;min-width:1.2rem;height:1.2rem;padding:0 .3rem;margin-left:.25rem}
.msg-compose-form{display:grid;gap:.65rem;margin:.75rem 0;max-width:640px}
.msg-compose-form label{font-size:.8rem;font-weight:850;text-transform:uppercase;letter-spacing:.06em;color:var(--customer-muted)}
.msg-compose-form textarea{width:100%;padding:.55rem .65rem;border:1px solid var(--customer-line);border-radius:12px;font-size:.95rem;background:#fff;color:#2d271f;box-sizing:border-box;resize:vertical}
.msg-thread{display:flex;flex-direction:column;gap:.65rem;margin-top:.75rem}
.msg-bubble{max-width:85%;padding:.75rem .9rem;border-radius:16px;line-height:1.5}
.msg-inbound{align-self:flex-start;background:#f0f4ff;border:1px solid #ccd5f0}
.msg-outbound{align-self:flex-end;background:#eef7f2;border:1px solid #b4d8be}
.msg-meta{display:flex;gap:.65rem;align-items:center;margin-bottom:.35rem;font-size:.82rem}
.msg-meta strong{color:#2d271f}
.msg-meta span{color:var(--customer-muted)}
.msg-body{color:#2d271f;font-size:.93rem}
/* signup form */
.signup-form{max-width:680px;margin:1.25rem auto 2rem}
.signup-error-banner{background:#fde8e8;border:1px solid #e3a5a5;border-radius:14px;padding:.75rem 1rem;color:#7a1c1c;font-weight:700;margin-bottom:1.25rem}
.signup-section{background:var(--customer-card);border:1px solid var(--customer-line);border-radius:22px;padding:1.25rem;margin-bottom:1rem;box-shadow:var(--customer-shadow)}
.signup-section h2{margin:0 0 .9rem;color:var(--customer-green);font-size:1.15rem}
.signup-grid{display:grid;grid-template-columns:1fr 1fr;gap:.75rem}
.signup-grid .full{grid-column:1/-1}
.signup-field{display:flex;flex-direction:column;gap:.3rem}
.signup-field label{font-size:.8rem;font-weight:850;text-transform:uppercase;letter-spacing:.06em;color:var(--customer-muted)}
.signup-field input{padding:.5rem .65rem;border:1px solid var(--customer-line);border-radius:10px;font-size:.95rem;background:#fff;color:#2d271f;transition:border-color .1s}
.signup-field input:focus{outline:none;border-color:var(--customer-green-2)}
.signup-field.has-error input{border-color:var(--customer-red)}
.field-error{color:var(--customer-red);font-size:.82rem;font-weight:700}
.field-hint{color:var(--customer-muted);font-size:.8rem}
.req{color:var(--customer-red);font-style:normal}
.signup-hint{color:var(--customer-muted);font-size:.85rem;margin:.35rem 0}
.signup-products{display:grid;grid-template-columns:1fr 1fr;gap:.5rem;margin-top:.5rem}
.signup-product-check{display:flex;flex-direction:column;gap:.15rem;padding:.65rem .8rem;border:1.5px solid var(--customer-line);border-radius:14px;cursor:pointer;background:#faf7f2;transition:border-color .1s,background .1s}
.signup-product-check input[type=checkbox]{display:none}
.signup-product-check.checked{border-color:var(--customer-green);background:#eef7f2}
.signup-product-check:hover{border-color:#c8bdb0}
.signup-product-check.checked:hover{border-color:var(--customer-green-2)}
.check-name{font-weight:700;color:#2d271f;font-size:.93rem}
.check-name::before{content:'☐ ';color:var(--customer-muted)}
.signup-product-check.checked .check-name::before{content:'☑ ';color:var(--customer-green)}
.check-price{color:var(--customer-muted);font-size:.82rem}
.signup-section-footer{display:flex;flex-direction:column;gap:.5rem}
.signup-checkbox-label{display:flex;align-items:flex-start;gap:.6rem;cursor:pointer;font-size:.9rem;color:#2d271f}
.signup-checkbox-label input[type=checkbox]{width:1rem;height:1rem;margin-top:.15rem;accent-color:var(--customer-green);flex-shrink:0}
.signup-submit{align-self:flex-start;background:var(--customer-green);color:#fff;border:none;border-radius:999px;padding:.7rem 1.75rem;font-size:1rem;font-weight:850;cursor:pointer;box-shadow:0 2px 10px rgba(23,63,42,.25);margin-top:.25rem}
.signup-submit:hover{background:var(--customer-green-2)}
@media(max-width:580px){.signup-grid,.signup-products{grid-template-columns:1fr}}
/* direct debit */
.dd-card{display:flex;flex-direction:column}
.dd-none{font-size:1.1rem;margin:.15rem 0 .4rem;color:var(--customer-muted)}
.dd-status{display:inline-flex;align-items:center;gap:.45rem;font-size:1rem;font-weight:700;margin:.25rem 0 0}
.dd-status-dot{width:9px;height:9px;border-radius:50%;flex-shrink:0}
.dd-active{color:#1a5e34}.dd-active .dd-status-dot{background:#2d9e5a}
.dd-pending{color:#7a5500}.dd-pending .dd-status-dot{background:#e8a020}
.dd-inactive{color:var(--customer-muted)}.dd-inactive .dd-status-dot{background:#c8bdb0}
.dd-setup-btn{display:inline-flex;align-items:center;margin-top:.7rem;padding:.4rem 1rem;border-radius:999px;background:var(--customer-green);color:#fff;font-size:.85rem;font-weight:850;text-decoration:none;box-shadow:0 2px 8px rgba(23,63,42,.22);align-self:flex-start}
.dd-setup-btn:hover{background:var(--customer-green-2)}
.bacs-details{display:grid;grid-template-columns:auto 1fr;gap:.2rem .75rem;margin:.65rem 0 0;font-size:.87rem}
.bacs-details dt{color:var(--customer-muted);white-space:nowrap;font-weight:700}
.bacs-details dd{margin:0;color:#1d2d1f;font-weight:700;font-family:monospace;font-size:.9rem}
/* order editing */
.order-saved-notice{background:#e8f5ec;border:1px solid #b4d8be;border-radius:14px;padding:.65rem .9rem;color:#1a4a28;font-weight:700;margin-bottom:.9rem}
.order-edit-error{color:var(--customer-red);font-weight:700;margin:.4rem 0 .65rem;font-size:.95rem}
.order-edit-form{margin-top:.65rem}
.order-edit-header{display:grid;grid-template-columns:1fr 80px 1fr;gap:.6rem;padding:.3rem .9rem .5rem;font-size:.74rem;text-transform:uppercase;letter-spacing:.07em;font-weight:900;color:var(--customer-muted);border-bottom:2px solid var(--customer-line);margin-bottom:.5rem}
.order-edit-row{display:grid;grid-template-columns:1fr 80px 1fr;gap:.75rem;align-items:center;padding:.8rem .9rem;background:#fff;border:1px solid #e8dfd0;border-radius:14px;margin-bottom:.45rem;box-shadow:0 2px 6px rgba(45,35,20,.04)}
.order-edit-row:last-of-type{margin-bottom:0}
.order-edit-category{font-size:.72rem;font-weight:900;text-transform:uppercase;letter-spacing:.1em;color:var(--customer-muted);padding:.9rem .9rem .35rem;margin-top:.25rem}
.order-edit-product strong{display:block;color:#2d271f;font-size:.95rem;font-weight:700}
.order-edit-product em{display:block;color:var(--customer-muted);font-size:.82rem;font-style:normal;margin-top:.15rem}
.order-edit-qty input{width:100%;padding:.5rem .4rem;border:1px solid var(--customer-line);border-radius:10px;font-size:1rem;background:#faf7f2;text-align:center;color:#2d271f}
.order-edit-days{display:flex;flex-wrap:wrap;gap:.4rem}
.order-edit-days label{display:inline-flex;align-items:center;padding:.3rem .75rem;border-radius:999px;border:1.5px solid var(--customer-line);background:#faf7f2;font-size:.83rem;font-weight:700;cursor:pointer;color:#6a6055;user-select:none;transition:background .1s,border-color .1s,color .1s}
.order-edit-days label:has(input:checked){background:var(--customer-green);color:#fff;border-color:var(--customer-green)}
.order-edit-days input[type=checkbox]{display:none}
.order-edit-product{display:flex;align-items:center;gap:.6rem}
.order-edit-product-thumb{width:44px;height:44px;object-fit:cover;border-radius:8px;flex-shrink:0;background:#f1e8d9}
.order-edit-product-info strong{display:block;color:#2d271f;font-size:.95rem;font-weight:700}
.order-edit-product-info em{display:block;color:var(--customer-muted);font-size:.82rem;font-style:normal;margin-top:.1rem}
.order-edit-header-sub{grid-template-columns:1fr auto}
.order-edit-header-sub>span:last-child{display:flex;gap:.3rem}
.order-edit-header-sub>span:last-child>span{width:52px;text-align:center}
.order-edit-row-sub{grid-template-columns:1fr auto}
.order-edit-day-qtys{display:flex;gap:.3rem}
.sub-day-col{display:flex;flex-direction:column;align-items:center;gap:.25rem}
.sub-day-label{font-size:.7rem;font-weight:900;text-transform:uppercase;letter-spacing:.06em;color:var(--customer-muted);display:none}
.order-edit-day-qtys input{width:52px;padding:.45rem .25rem;border:1px solid var(--customer-line);border-radius:10px;font-size:.95rem;background:#faf7f2;text-align:center;color:#2d271f}
.order-edit-actions{display:flex;align-items:center;gap:.75rem;margin-top:1rem;flex-wrap:wrap}
.order-edit-actions button{background:var(--customer-green);color:#fff;border:none;border-radius:999px;padding:.6rem 1.4rem;font-size:.92rem;font-weight:850;cursor:pointer;line-height:1.4}
.order-edit-actions button:hover{background:var(--customer-green-2)}
.order-edit-cancel{color:var(--customer-green);font-weight:700;text-decoration:none;padding:.6rem .4rem;font-size:.92rem}
.order-edit-cancel:hover{text-decoration:underline}
.order-edit-trigger{margin-top:.9rem}
.order-edit-trigger a{display:inline-flex;align-items:center;min-height:36px;padding:.4rem 1.15rem;border-radius:999px;border:none;background:var(--customer-green);color:#fff;font-size:.88rem;font-weight:850;text-decoration:none;box-shadow:0 2px 8px rgba(23,63,42,.22)}
.order-edit-trigger a:hover{background:var(--customer-green-2)}
/* one-off orders */
.oneoff-form{margin-top:.75rem;display:grid;gap:.75rem}
.oneoff-date-row{display:grid;grid-template-columns:1fr 1fr;gap:.65rem}
.oneoff-date-row label,.oneoff-form label{display:block;font-size:.8rem;font-weight:850;text-transform:uppercase;letter-spacing:.06em;color:var(--customer-muted);margin-bottom:.25rem}
.oneoff-optional{text-transform:none;letter-spacing:0;font-weight:400;color:var(--customer-muted)}
.oneoff-date-row select,.oneoff-date-row input[type=text]{width:100%;padding:.45rem .6rem;border:1px solid var(--customer-line);border-radius:10px;font-size:.95rem;background:#fff;color:#2d271f;box-sizing:border-box}
.oneoff-date-row select{cursor:pointer}
.oneoff-products .order-edit-header,.oneoff-products .order-edit-row{grid-template-columns:1fr 80px}
.order-list{display:grid;gap:.5rem;margin-top:.65rem}
.order-row{display:flex;align-items:center;gap:.75rem;background:#fffaf2;border:1px solid #efe4d6;border-radius:14px;padding:.65rem .8rem;flex-wrap:wrap}
.order-row-date{flex:1;min-width:0}.order-row-date strong{display:block;color:#2d271f;font-size:.95rem}.order-row-date span{display:block;color:var(--customer-muted);font-size:.83rem;margin-top:.1rem}
.order-row-total{color:var(--customer-green);white-space:nowrap;font-size:.95rem}
.order-row-actions{display:flex;gap:.4rem;align-items:center}
.order-row-items{width:100%;display:flex;flex-wrap:wrap;gap:.25rem .75rem;padding-top:.45rem;border-top:1px solid #efe4d6;margin-top:.1rem}
.order-row-items span{color:var(--customer-muted);font-size:.83rem}
/* pauses */
.pause-add-btn{display:inline-flex;align-items:center;min-height:32px;padding:.35rem 1rem;border-radius:999px;border:none;background:var(--customer-green);color:#fff;font-size:.85rem;font-weight:850;text-decoration:none;white-space:nowrap;box-shadow:0 2px 8px rgba(23,63,42,.22)}
.pause-add-btn:hover{background:var(--customer-green-2)}
.pause-add-form{margin-top:.75rem;display:grid;gap:.65rem}
.pause-form-row{display:grid;grid-template-columns:1fr 1fr;gap:.65rem}
.pause-form-row label,.pause-add-form label{display:block;font-size:.8rem;font-weight:850;text-transform:uppercase;letter-spacing:.06em;color:var(--customer-muted);margin-bottom:.25rem}
.pause-form-row input,.pause-add-form input,.pause-add-form select{width:100%;padding:.45rem .6rem;border:1px solid var(--customer-line);border-radius:10px;font-size:.95rem;background:#fff;color:#2d271f;box-sizing:border-box}
.pause-add-form select{cursor:pointer}
.pause-help{margin:.1rem 0 0;font-size:.83rem}
.pause-list{display:grid;gap:.5rem;margin-top:.65rem}
.pause-row{display:flex;align-items:center;gap:.75rem;background:#fffaf2;border:1px solid #efe4d6;border-radius:14px;padding:.65rem .8rem;flex-wrap:wrap}
.pause-dates{flex:1;min-width:0}.pause-dates strong{display:block;color:#2d271f;font-size:.95rem}.pause-dates span{display:block;color:var(--customer-muted);font-size:.83rem;margin-top:.1rem}
.pause-reason{color:var(--customer-muted);font-size:.88rem;white-space:nowrap}
.pause-delete-form{margin:0}
.pause-remove-btn{background:none;border:1px solid #e8c8c8;border-radius:999px;color:var(--customer-red);font-size:.8rem;font-weight:700;padding:.25rem .7rem;cursor:pointer;white-space:nowrap}
.pause-remove-btn:hover{background:#fdf0f0}
.pause-active-tag{font-size:.78rem;font-weight:850;text-transform:uppercase;letter-spacing:.07em;color:var(--customer-amber);background:#fff8e8;border:1px solid #f5d98a;border-radius:999px;padding:.2rem .6rem;white-space:nowrap}
/* signup map */
.signup-postcode-row{display:flex;gap:.5rem;align-items:center}
.signup-postcode-row input{flex:1;min-width:0}
.signup-map-section{padding-top:.25rem}
.signup-map-intro{font-size:.9rem;color:var(--customer-muted);margin:.15rem 0 .85rem}
.signup-map-toolbar{display:flex;align-items:center;gap:.85rem;margin-bottom:.65rem;flex-wrap:wrap}
.signup-map-status{font-size:.88rem}
.signup-map-pinned{color:var(--customer-green);font-weight:700}
.signup-map{width:100%;height:340px;border-radius:16px;overflow:hidden;border:1px solid var(--customer-line);touch-action:none}
.signup-map-hint{font-size:.82rem;margin:.55rem 0 0}
@media(max-width:650px){.signup-map{height:280px}}
/* catalogue */
.catalogue-wrap{display:flex;gap:1.5rem;align-items:flex-start;margin-top:1rem}
.catalogue-products{flex:1;min-width:0}
.catalogue-cat-heading{font-size:1.1rem;font-weight:800;color:var(--customer-green);margin:1.5rem 0 .65rem;padding-bottom:.35rem;border-bottom:2px solid var(--customer-line)}
.catalogue-cat-heading:first-child{margin-top:0}
.catalogue-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:1rem}
.catalogue-card{background:#fff;border:1px solid var(--customer-line);border-radius:18px;overflow:hidden;display:flex;flex-direction:column;transition:box-shadow .15s}
.catalogue-card:hover{box-shadow:0 4px 18px rgba(0,0,0,.08)}
.catalogue-img-wrap{aspect-ratio:4/3;overflow:hidden;background:#f5f3f0}
.catalogue-img{width:100%;height:100%;object-fit:cover;display:block}
.catalogue-img-placeholder{display:flex;align-items:center;justify-content:center;font-size:2.5rem;color:#ccc}
.catalogue-card-body{padding:.85rem;display:flex;flex-direction:column;flex:1}
.catalogue-prod-name{font-size:.95rem;font-weight:800;color:#2d271f;margin:0 0 .25rem}
.catalogue-prod-desc{font-size:.82rem;color:var(--customer-muted);margin:0 0 .5rem;flex:1;line-height:1.4}
.catalogue-price{font-size:1rem;font-weight:800;color:var(--customer-green);margin:0 0 .6rem}
.catalogue-unit{font-size:.8rem;font-weight:400;color:var(--customer-muted)}
.catalogue-qty-row{display:flex;align-items:center;gap:.4rem;margin-top:auto}
.catalogue-qty-btn{width:32px;height:32px;border-radius:50%;border:1px solid var(--customer-line);background:#fff;color:var(--customer-green);font-size:1.1rem;font-weight:800;cursor:pointer;display:flex;align-items:center;justify-content:center;flex-shrink:0;line-height:1}
.catalogue-qty-btn:hover{background:var(--customer-green);color:#fff;border-color:var(--customer-green)}
.catalogue-qty-input{width:44px;text-align:center;border:1px solid var(--customer-line);border-radius:8px;padding:.3rem 0;font-size:.95rem;font-weight:700;color:#2d271f;background:#fff}
/* cart sidebar */
.catalogue-cart{width:260px;flex-shrink:0;position:sticky;top:1.25rem}
.catalogue-cart-inner{background:#fff;border:1px solid var(--customer-line);border-radius:18px;padding:1.1rem 1rem}
.catalogue-cart-heading{font-size:1rem;font-weight:800;color:#2d271f;margin:0 0 .75rem}
.catalogue-cart-empty p{font-size:.88rem;color:var(--customer-muted);margin:0}
.catalogue-cart-items{display:grid;gap:.35rem;margin-bottom:.75rem}
.cart-item-row{display:grid;grid-template-columns:1fr auto auto;gap:.3rem .5rem;font-size:.85rem;align-items:baseline}
.cart-item-name{color:#2d271f;font-weight:600;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cart-item-qty{color:var(--customer-muted);white-space:nowrap}
.cart-item-sub{font-weight:700;color:var(--customer-green);white-space:nowrap}
.catalogue-cart-footer{display:grid;gap:.6rem;margin-top:.75rem;padding-top:.75rem;border-top:1px solid var(--customer-line)}
.catalogue-cart-total{font-size:.9rem;color:#2d271f}
.catalogue-cart-label{font-size:.82rem;font-weight:700;color:#2d271f;margin-bottom:.15rem}
.catalogue-cart-select{width:100%;padding:.4rem .55rem;border:1px solid var(--customer-line);border-radius:10px;font-size:.9rem;background:#fff;color:#2d271f}
.catalogue-cart-submit{width:100%;justify-content:center}
.catalogue-cart-error{font-size:.83rem;color:var(--customer-red);margin:0}
/* mobile cart bar */
.mobile-cart-bar{display:none;position:fixed;bottom:0;left:0;right:0;background:var(--customer-green);color:#fff;padding:.75rem 1rem;align-items:center;justify-content:space-between;gap:.75rem;z-index:150;font-weight:700;font-size:.95rem}
.mobile-cart-overlay{display:none;position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:200}
.mobile-cart-overlay.open{display:block}
.mobile-cart-drawer{position:fixed;bottom:-100%;left:0;right:0;background:#fff;border-radius:24px 24px 0 0;z-index:201;padding:1.25rem 1rem 2rem;transition:bottom .25s ease;max-height:85dvh;overflow-y:auto}
.mobile-cart-drawer.open{bottom:0}
.mobile-cart-drawer-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:.75rem}
.mobile-cart-close{background:none;border:none;font-size:1.2rem;cursor:pointer;color:var(--customer-muted);padding:.2rem .4rem}
@media(min-width:651px){.mobile-cart-bar{display:none!important}}
@media(max-width:650px){
  .catalogue-wrap{display:block}
  .catalogue-cart{display:none}
  .catalogue-grid{grid-template-columns:repeat(2,1fr);gap:.65rem}
  .mobile-cart-bar{display:flex}
  .catalogue-cat-heading{font-size:1rem}
}
@media(max-width:400px){.catalogue-grid{grid-template-columns:1fr}}
/* portal notifications */
.portal-notifications{display:grid;gap:.6rem;margin:.75rem 0}
.portal-notif{border-radius:14px;padding:.75rem 1rem;line-height:1.5}
.portal-notif p{margin:.2rem 0 0;font-size:.93rem}
.portal-notif strong{display:block;font-size:.97rem}
.portal-notif-info{background:#eaf5fb;border:1px solid #90cde8;color:#0d4f6b}
.portal-notif-warning{background:#fff8e8;border:1px solid #f5d98a;color:#6b4800}
.portal-notif-alert{background:#fdf0f0;border:1px solid #f5b8b8;color:#8b1c1c}
/* customer hamburger menu */
.customer-menu-toggle{display:none;background:none;border:none;color:#fff;font-size:1.5rem;cursor:pointer;padding:.2rem .45rem;border-radius:6px;line-height:1;flex-shrink:0}
.customer-menu-toggle:hover{background:rgba(255,255,255,.15)}
.customer-overlay{display:none;position:fixed;inset:0;background:rgba(0,0,0,.5);z-index:200}
.customer-overlay.open{display:block}
.customer-menu{position:fixed;top:0;right:-280px;width:260px;height:100dvh;background:var(--customer-green);z-index:201;transition:right .22s ease;display:flex;flex-direction:column;padding:1rem;box-shadow:-4px 0 24px rgba(0,0,0,.25)}
.customer-menu.open{right:0}
.customer-menu-close{align-self:flex-end;background:none;border:none;color:rgba(255,255,255,.7);font-size:1.4rem;cursor:pointer;padding:.2rem .4rem;border-radius:6px;line-height:1;margin-bottom:.5rem}
.customer-menu-close:hover{color:#fff;background:rgba(255,255,255,.12)}
.customer-menu a{display:block;color:#fff;text-decoration:none;padding:.75rem .85rem;border-radius:12px;font-size:1rem;font-weight:700}
.customer-menu a:hover{background:rgba(255,255,255,.12)}
.customer-menu-logout{margin-top:auto;color:rgba(255,255,255,.65)!important}
.customer-menu-logout:hover{color:#fff!important}
@media(max-width:900px){.customer-grid,.customer-grid.top-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:650px){.customer-grid,.customer-grid.top-grid{grid-template-columns:1fr}.wrap{padding:.8rem}.customer-hero{display:block;border-radius:20px;padding:1.05rem}.customer-balance{margin-top:1rem;text-align:left}.customer-actions a{flex:1 1 calc(50% - .55rem)}.customer-card{border-radius:18px}.section-head{display:block}.soft-pill{margin-top:.55rem}.statement-list div{grid-template-columns:1fr auto}.statement-list div span:nth-child(2){grid-column:1/-1;order:3}.sub-meta{display:block}.customer-hero h1{font-size:2rem}.details-grid{grid-template-columns:1fr}
.order-edit-header:not(.order-edit-header-sub),.order-edit-row:not(.order-edit-row-sub){grid-template-columns:1fr 72px}.order-edit-header:not(.order-edit-header-sub) span:last-child,.order-edit-days{grid-column:1/-1}.order-edit-header:not(.order-edit-header-sub){padding-left:.9rem}
.order-edit-header-sub{display:none}.order-edit-row-sub{grid-template-columns:1fr}.order-edit-day-qtys{flex-wrap:wrap}.sub-day-label{display:block}
.pause-form-row{grid-template-columns:1fr}.pause-row{gap:.5rem}
.oneoff-date-row{grid-template-columns:1fr}.order-row{gap:.5rem}
.customer-top nav{display:none}.customer-menu-toggle{display:block}}
