/* ============================================================================================================
   CHECKOUT AND ACCOUNT (Round 4; design/home/Checkout-Account.html)
   Shopping/Cart, Shipping (+ Members/ShippingAddresses, Pickup, PickupBranch, EmailDeliveryInfo), Checkout,
   OrderSuccess (+ OrderDigitalCodes, OrderPayments); Members/MyAccount, Orders (+ ListOrders), OrderDetails,
   AccountAddresses, EditAccount, RewardPoints and the account menu (_AccountMenu); the focused checkout header
   (_CheckoutHeader) and its one-line footer. Every page root is .g2-co. The ids, names and old classes the scripts
   read stay on the elements; only g2- classes are styled here (plus the few old hooks noted below).
   ============================================================================================================ */
.g2-co *, .g2-co *::before, .g2-co *::after,
.g2-ckhead *, .g2-ckhead *::before, .g2-ckhead *::after,
.g2-ckfoot * {
    box-sizing: border-box;
}

.g2-co {
    padding-bottom: 40px;
    color: var(--g2-text);
}

/* Sentence case (custom.css title-cases headings, labels and .btn) and the site's fonts. */
.g2-co :is(h1, h2, h3, h4, h5, label, legend, button, .g2-btn, summary, input, select, th),
.g2-ckhead :is(a, span, b), .g2-ckfoot a {
    text-transform: none;
    letter-spacing: normal;
}

:where(.g2-co, .g2-ckhead, .g2-ckfoot) a { color: inherit; text-decoration: none; }
:where(.g2-co, .g2-ckhead, .g2-ckfoot) a:hover { text-decoration: none; }
:where(.g2-co) :is(h1, h2, h3, h4) { margin: 0; color: var(--g2-text); line-height: 1.3; text-wrap: balance; }
:where(.g2-co) p { margin: 0; color: inherit; font-size: inherit; line-height: 1.5; }
:where(.g2-co) :is(ul, ol) { margin: 0; padding: 0; list-style: none; }
:where(.g2-co) button { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; }
.g2-co li { text-align: start !important; }
/* Addresses and names typed in either language (dir="auto"): custom.rtl.css forces direction: rtl on every span, which
   put "12 Abbas El Akkad St" back to front; the text's own first letter decides instead. */
.g2-co [dir="auto"] { unicode-bidi: plaintext !important; }
/* Stacked lines with a number among them (a phone number, an order number): each line keeps its own width, so the
   number (direction ltr) still starts at the line start in Arabic. */
.g2-co :is(.g2-orow__id, .g2-shipto__text, .g2-addr__lines, .g2-infocard p, .g2-odetail__lines, .g2-anav__name, .g2-sitem__text, .g2-oline__text, .g2-mbar__total) { align-items: flex-start; }
.g2-co .dark_container ul { padding: 0; }

/* The keyboard focus rings of these pages (.g2-co :focus-visible …): site.css "SHARED PARTS" (they must stay before the
   moved .g2-input:focus). */

/* Prices in these pages: the site's one format (PriceMarkup). Amounts are always light (the old summary's .amount
   inherited Bootstrap's dark table colour). */
.g2-co .g2e-price { display: inline-flex; align-items: baseline; gap: .22em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.g2-co .g2e-price__cur { font-size: .62em; font-weight: 600; color: var(--g2-muted); }
.g2-co .g2e-price__int { font-weight: 700; }
.g2-co .g2e-price__num { direction: ltr !important; unicode-bidi: isolate; }
.g2-co .g2e-price__dec { font-size: .62em; font-weight: 700; }
.g2-co .amount, .g2-co .g2-row__value, .g2-co .g2e-price__int { color: var(--g2-text); }

/* ---------- the focused checkout header (Delivery, Payment) ---------- */
.g2-ckhead {
    background: rgba(15, 18, 21, .78);
    border-bottom: 1px solid var(--g2-hair);
}

/* Round 5 (4.1): 72px tall, 32px numbered circles (the number centred by the grid itself: no padding, line-height 1,
   tabular figures), 15px semi-bold labels, 2px connectors; the current step in the brand colour, done steps ticked
   and linked, upcoming ones muted. Phones: 56px, 26px circles, the current label only. */
.g2-ckhead__bar {
    display: flex;
    align-items: center;
    gap: 20px;
    height: 72px;
}

.g2-ckhead__logo { display: inline-flex; align-items: center; flex: 0 0 auto; }
.g2-ckhead__logo-img { display: block; width: auto; height: 30px; }
.g2-ckhead__spacer { flex: 1 1 auto; }

.g2-steps {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
    font-size: 15px;
    color: var(--g2-dim);
}

.g2-steps__step { display: flex; align-items: center; gap: 10px; }
.g2-steps__link { display: inline-flex; align-items: center; gap: 10px; color: inherit; }
a.g2-steps__link:hover { color: var(--g2-text); }
.g2-steps__name { font-size: 15px; font-weight: 600; line-height: 1.2; white-space: nowrap; }

.g2-steps__dot {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    padding: 0 !important;
    border-radius: 50%;
    border: 2px solid var(--g2-line2);
    font-size: 14px;
    font-weight: 700;
    line-height: 1 !important;
    font-variant-numeric: tabular-nums;
    text-align: center;
}

.g2-steps__dot svg { display: block; }
.g2-steps__step.is-done { color: var(--g2-muted); }
.g2-steps__step.is-done .g2-steps__dot { background: var(--g2-brand); border-color: var(--g2-brand); color: #0b0d10; }
.g2-steps__step.is-current { color: var(--g2-brand); }
.g2-steps__step.is-current .g2-steps__dot { border-color: var(--g2-brand); color: var(--g2-brand); background: var(--g2-brand-soft); }
.g2-steps__line { width: 36px; height: 2px; border-radius: 2px; background: var(--g2-line2); }
.g2-steps__step.is-done + .g2-steps__step .g2-steps__line { background: var(--g2-brand); }

.g2-ckhead__end { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; font-size: 12.5px; color: var(--g2-muted); }
.g2-ckhead__secure { display: inline-flex; align-items: center; gap: 6px; color: var(--g2-brand); }
.g2-ckhead__secure-text { color: var(--g2-muted); }
.g2-ckhead__hotline { display: inline-flex; align-items: center; gap: 6px; color: var(--g2-muted) !important; }
.g2-ckhead__hotline b { color: var(--g2-text); }

.g2-ckfoot { margin-top: 24px; border-top: 1px solid var(--g2-hair); background: #12161b; }
.g2-ckfoot__row { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: center; padding-block: 18px; font-size: 12.5px; color: var(--g2-dim); }
.g2-ckfoot__row a { color: var(--g2-muted) !important; }
.g2-ckfoot__row a:hover { color: var(--g2-text) !important; }

/* Delivery and Payment: no back-to-top button (short pages, and it sat on the phone bar). */
body.g2-focused #scrollToTopBtn { display: none !important; }
body.g2-focused .grecaptcha-badge { visibility: hidden; }

/* ---------- page frame ---------- */
.g2-ptitle { padding-block: 22px 16px; }
.g2-ptitle h1 { font-size: 28px; font-weight: 800; letter-spacing: -.02em; }

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

.g2-co__main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.g2-co__side { min-width: 0; position: sticky; top: 16px; }

/* The panel card (.g2-card, its head, title, count and link), .g2-link, the button sizes and roles, the chip tones:
   site.css "SHARED PARTS" (product cards, dialogs and forms on other pages use them). */

/* The old hook "#submitForm .dark_container" is this card on the payment page: the theme's container rules lose. */
.g2-co .g2-card.dark_container { border-radius: 18px !important; border: 1px solid var(--g2-line); background-color: var(--g2-surface) !important; box-shadow: none; }

.g2-muted { color: var(--g2-muted); font-size: 13px; }

/* A product picture in a fixed frame, contained (never cropped). */
.g2-frame {
    position: relative;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    aspect-ratio: 1;
    padding: 6px;
    border-radius: 12px;
    background: #0f1215;
    overflow: hidden;
}

.g2-frame .g2-media__img { filter: none; }

/* Banners */
.g2-banner {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--g2-text);
}

.g2-banner > .g2-icon { margin-top: 1px; }
.g2-banner b { display: block; font-size: 13.5px; }
.g2-banner--gold { background: rgba(244, 182, 61, .07); border: 1px solid rgba(244, 182, 61, .25); }
.g2-banner--gold > .g2-icon { color: var(--g2-gold); }
.g2-banner--ok { background: rgba(61, 220, 132, .07); border: 1px solid rgba(61, 220, 132, .25); }
.g2-banner--red { background: rgba(255, 107, 91, .07); border: 1px solid rgba(255, 107, 91, .28); }
.g2-banner--red > .g2-icon { color: #ff978b; }
.g2-banner--action { align-items: center; }
.g2-banner--action > span { flex: 1 1 auto; min-width: 0; }
.g2-banner--action > .g2-btn { flex: 0 0 auto; }

/* (.g2-loading and .g2-empty themselves: site.css "SHARED PARTS", before the panel card's phone padding.) */
.g2-loading img { width: 48px; height: 48px; }

/* ---------- cart ---------- */
.g2-citems { display: flex; flex-direction: column; }

.g2-citem {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding-block: 14px;
    border-top: 1px solid var(--g2-line);
}

.g2-citem:first-child { border-top: 0; padding-top: 0; }
.g2-citem__frame { width: 96px; }
.g2-citem__body { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.g2-citem__cat { font-size: 12.5px; color: var(--g2-muted); }
.g2-citem__title { font-size: 15px !important; font-weight: 600; line-height: 1.35 !important; }
.g2-citem__title a { color: var(--g2-text) !important; }
.g2-citem__title a:hover { color: var(--g2-brand-hover) !important; }
.g2-citem__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.g2-citem__side { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.g2-citem__price { font-size: 18px; font-weight: 800; }
.g2-citem__actions { display: flex; align-items: center; gap: 14px; margin: 0; }
.g2-citem__remove { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--g2-dim) !important; cursor: pointer; }
.g2-citem__remove:hover { color: #ff978b !important; font-size: 12.5px !important; font-weight: 500; }
.g2-citems__note { display: flex; align-items: center; gap: 8px; padding-top: 12px; border-top: 1px solid var(--g2-line); font-size: 12.5px; color: var(--g2-gold); }

.g2-qty { display: inline-flex; align-items: center; height: 36px; border-radius: 10px; border: 1px solid var(--g2-line2); background: var(--g2-input); }
.g2-qty__btn { display: grid; place-items: center; width: 34px; height: 34px; color: var(--g2-muted) !important; }
.g2-qty__btn:hover:not(:disabled) { color: var(--g2-text) !important; }
.g2-qty__btn:disabled { opacity: .35; cursor: default; }
.g2-qty__value { min-width: 26px; text-align: center; font-size: 14px; font-weight: 700; }

.g2-empty__icon { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--g2-input); color: var(--g2-muted); }
.g2-empty h2 { font-size: 20px; font-weight: 700; }
.g2-empty p { color: var(--g2-muted); font-size: 14px; }
.g2-empty__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 4px; }

/* ---------- the order summary (cart, delivery, payment) ---------- */
.g2-sum__toggle { display: none; }
.g2-sum__body { display: flex; flex-direction: column; gap: 14px; }
.g2-sum__note { font-size: 12px; color: var(--g2-dim); text-align: center; }
.g2-sum__note a { color: var(--g2-muted) !important; text-decoration: underline !important; }

.g2-sitems { display: flex; flex-direction: column; gap: 10px; }
.g2-sitem { display: flex; align-items: center; gap: 10px; font-size: 12.5px; }
.g2-sitem__frame { width: 46px; padding: 4px; border-radius: 10px; }
.g2-sitem__text { display: flex; flex-direction: column; gap: 2px; flex: 1 1 auto; min-width: 0; line-height: 1.35; }
.g2-sitem__text a { color: var(--g2-text) !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.g2-sitem__text small { color: var(--g2-dim); font-size: 11.5px; }
.g2-sitem__price { flex: 0 0 auto; font-size: 13px; }

.g2-rows { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.g2-rows--small { font-size: 13px; }
.g2-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.g2-row[hidden] { display: none; }
.g2-row__label { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; color: var(--g2-muted); font-size: 13.5px; }
.g2-row__note { font-size: 13px; color: var(--g2-muted); text-align: end; }
.g2-row__value { font-weight: 600; text-align: end; }
.g2-row__value--save { color: #7be8a8 !important; }
.g2-row__action { font-size: 12px; font-weight: 600; color: var(--g2-brand) !important; text-decoration: underline !important; }
.g2-row--total { padding-top: 12px; border-top: 1px solid var(--g2-line); font-size: 18px; font-weight: 800; }
.g2-rows--small .g2-row--total { font-size: 16px; }
.g2-row--total .g2-row__value, .g2-row--total .g2e-price__int { font-weight: 800; }
.g2-row--note { font-size: 12px; }
.g2-row--note .g2-row__label { font-size: 12px; }

.g2-trust { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-top: 12px !important; border-top: 1px solid var(--g2-line); }
.g2-trust li { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--g2-muted); }
.g2-trust .g2-icon { color: var(--g2-brand); }

/* The phone bar: the total and the next step at the bottom of the screen (below 992px). Its button clicks the page's
   own #place_order / #btnSubmit (g2.js), never a second submit path. The chat and back-to-top buttons step up above it
   (body.g2-mbar-shown, g2.js). */
.g2-mbar { display: none; }

/* ---------- delivery options, addresses, branches ---------- */
.g2-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }

.g2-opt { position: relative; border-radius: 14px; border: 1px solid var(--g2-line2); background: var(--g2-input); cursor: pointer; transition: border-color .15s, background-color .15s; }
.g2-opt:hover { border-color: #3a4049; }
.g2-opt.selected { border-color: var(--g2-brand); background: var(--g2-brand-soft); box-shadow: 0 0 0 3px rgba(149, 171, 82, .12); }
.g2-opt.is-disabled { cursor: default; opacity: .6; }
.g2-opt__label { display: flex; align-items: center; gap: 12px; padding: 14px; margin: 0; }
.g2-opt__radio, .g2-addr__radio, .g2-pm__radio { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.g2-opt__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: rgba(255, 255, 255, .05); color: var(--g2-brand); flex: 0 0 auto; }
.g2-opt__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 auto; }
.g2-opt__text b { font-size: 14.5px; }
.g2-opt__text small { font-size: 12px; color: var(--g2-muted); }
.g2-opt__list { display: flex; flex-direction: column; font-size: 12px; color: #ff978b; }
.g2-opt:focus-within { outline: 2px solid var(--g2-brand); outline-offset: 2px; }

/* The round radio mark (filled with the brand colour when its card is selected). */
.g2-radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #3a414b; flex: 0 0 auto; margin-inline-start: auto; transition: border-width .15s, border-color .15s; }
:is(.g2-opt.selected, .address-box.selected, .payment-box.selected, .g2-branch.is-selected) .g2-radio { border: 6px solid var(--g2-brand); }

.g2-co #pickup, .g2-co #emailDelivery { display: none; }
.g2-co #delivery, .g2-co #pickup, .g2-co #emailDelivery { margin-top: 6px; }

.g2-addrs__head { display: flex; flex-direction: column; gap: 2px; margin-bottom: 12px; }
.g2-addrs__head h3 { font-size: 15px; font-weight: 700; }
.g2-addrs__head p { font-size: 12.5px; color: var(--g2-muted); }
.g2-addrs { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; margin: 0 !important; padding: 0 !important; }
.g2-addrs__item { position: relative; display: flex; min-width: 0; list-style: none; }
.g2-addrs__item::marker { content: ""; }

.g2-addr {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid var(--g2-line2);
    background: var(--g2-input);
    text-align: start;
    cursor: pointer;
    transition: border-color .15s, background-color .15s;
}

.g2-addr:hover { border-color: #3a4049; }
.g2-addr.selected { border-color: var(--g2-brand); background: var(--g2-brand-soft); }
.g2-addr.is-off { opacity: .6; }
.g2-addr:focus-within { outline: 2px solid var(--g2-brand); outline-offset: 2px; }
.g2-addr--static { cursor: default; }
.g2-addr--static:hover { border-color: var(--g2-line2); }
.g2-addr__top { display: flex; align-items: center; gap: 8px; padding-inline-end: 34px; }
.g2-addr__top .g2-radio { position: absolute; top: 14px; inset-inline-end: 44px; margin: 0; }
.g2-addr--static .g2-addr__top { padding-inline-end: 0; }
.g2-addr__name { font-size: 14px; }
.g2-addr__lines { display: flex; flex-direction: column; font-size: 12.5px; color: var(--g2-muted); line-height: 1.5; }
.g2-addr__street { color: var(--g2-text); font-size: 13.5px; }
.g2-addr__fee { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: auto; padding-top: 8px; border-top: 1px solid var(--g2-line); font-size: 12.5px; color: var(--g2-muted); }
.g2-addr__fee-value { color: var(--g2-text); font-weight: 600; }

.g2-addr--add {
    align-items: center;
    justify-content: center;
    flex-direction: row;
    min-height: 120px;
    border-style: dashed;
    color: var(--g2-brand);
    font-size: 14px;
    font-weight: 700;
}

.g2-addr--add .add_new_address, button.g2-addr--add { display: inline-flex; align-items: center; gap: 8px; color: var(--g2-brand) !important; cursor: pointer; font-weight: 700; }
.g2-addr--add:hover { border-color: var(--g2-brand); background: var(--g2-brand-soft); }

/* custom.css styles the old cards by id (#memberAddresses li .address-box ...: no side borders, none on the last one):
   the same id here so the cards keep one border all round. */
#memberAddresses li .address-box.g2-addr { padding: 14px; border: 1px solid var(--g2-line2); background-color: var(--g2-input); margin: 0; }
#memberAddresses li .address-box.g2-addr:hover { border-color: #3a4049; }
#memberAddresses li .address-box.g2-addr.selected { border-color: var(--g2-brand); background-color: var(--g2-brand-soft); }
#memberAddresses li .address-box.g2-addr--add { border-style: dashed; }
#memberAddresses li .address-box.g2-addr--add:hover { border-color: var(--g2-brand); background-color: var(--g2-brand-soft); }

/* The ... menu beside an address card (outside .address-box, so it never selects the address). */
.g2-addr__menu { position: absolute; top: 8px; inset-inline-end: 8px; z-index: 2; }
.g2-addr__menu-button { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; color: var(--g2-dim); cursor: pointer; list-style: none; }
.g2-addr__menu-button::-webkit-details-marker { display: none; }
.g2-addr__menu-button::marker { content: ""; }
.g2-addr__menu-button:hover, .g2-addr__menu[open] .g2-addr__menu-button { background: var(--g2-raised); color: var(--g2-text); }
.g2-addr__menu-list { position: absolute; top: 34px; inset-inline-end: 0; min-width: 140px; padding: 6px; border-radius: 12px; background: var(--g2-raised); border: 1px solid var(--g2-line2); box-shadow: 0 12px 30px rgba(0, 0, 0, .45); }
.g2-addr__menu-list a { display: block; padding: 8px 10px; border-radius: 8px; font-size: 13px; color: #ff978b !important; cursor: pointer; }
.g2-addr__menu-list a:hover { background: rgba(255, 107, 91, .1); }

.g2-co .g2-pickup.dark_container { padding: 0; background: transparent !important; border: 0; border-radius: 0 !important; box-shadow: none; }
.g2-pickup__title { font-size: 15px !important; font-weight: 700; }
.g2-pickup__sub { font-size: 12.5px !important; color: var(--g2-muted) !important; margin-bottom: 12px !important; }
.g2-branches { display: flex; flex-direction: column; gap: 8px; }
.g2-branch { position: relative; display: flex; flex-direction: column; border-radius: 14px; border: 1px solid var(--g2-line2); background: var(--g2-input); transition: border-color .15s, background-color .15s; }
.g2-branch[hidden] { display: none; }
.g2-branch__row { display: flex; align-items: stretch; min-width: 0; }
.g2-branch:hover { border-color: #3a4049; }
.g2-branch.is-selected { border-color: var(--g2-brand); background: var(--g2-brand-soft); }
.g2-branch__pick { display: flex !important; align-items: center; gap: 12px; flex: 1 1 auto; min-width: 0; padding: 12px 14px !important; text-align: start; cursor: pointer; }
.g2-branch__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 auto; }
.g2-branch__text b { font-size: 14px; }
.g2-branch__text span { font-size: 12px; color: var(--g2-muted); }
.g2-branch__pick .g2-radio { margin: 0; }
.g2-branch__map { display: inline-flex; align-items: center; gap: 5px; flex: 0 0 auto; padding-inline: 14px; border-inline-start: 1px solid var(--g2-line); font-size: 12.5px; font-weight: 600; color: var(--g2-brand) !important; }
.g2-branch__map:hover { color: var(--g2-brand-hover) !important; }
.g2-co .branch_inventory { margin-top: 12px; }
/* Round 5: the detail sits inside the chosen branch's card. */
.g2-co .g2-branch .branch_inventory { margin: 0; padding: 0 12px 12px; }
.g2-co .g2-branch .branch_inventory:empty { display: none; }

.g2-stocknote { margin-bottom: 10px !important; font-size: 13px !important; color: var(--g2-muted) !important; }
.g2-stocknote strong { color: var(--g2-text); }
.g2-stock { display: flex; flex-direction: column; gap: 8px; padding: 0 !important; margin: 0 !important; }
.g2-stock__item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--g2-raised); }
.g2-stock__item.is-off .g2-frame, .g2-stock__item.is-off b { opacity: .55; }
.g2-stock__frame { width: 52px; }
.g2-stock__qty { position: absolute; top: 2px; inset-inline-end: 2px; padding: 0 5px; border-radius: 6px; background: var(--g2-brand); color: #0b0d10; font-size: 11px; font-weight: 800; }
.g2-stock__text { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; font-size: 13px; }
.g2-stock__text small { font-size: 12px; color: var(--g2-muted); }

.g2-instant { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 14px; background: var(--g2-raised); }
.g2-instant__status { font-size: 13.5px !important; font-weight: 600; color: var(--g2-text) !important; }
.g2-instant__row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 13.5px; }
.g2-instant__icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: rgba(255, 255, 255, .05); color: var(--g2-brand); }
.g2-instant__value { min-width: 0; overflow-wrap: anywhere; }
.g2-instant + .g2-banner, .g2-banner + .g2-banner { margin-top: 10px; }

/* ---------- payment ---------- */
.g2-shipto__row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px 12px; align-items: start; font-size: 13px; }
.g2-shipto__icon { color: var(--g2-brand); }
.g2-shipto__text { display: flex; flex-direction: column; gap: 2px; line-height: 1.5; }
.g2-shipto__text b { font-size: 14px; }
.g2-shipto__text span { color: var(--g2-text); }
.g2-shipto__text small { font-size: 12px; color: var(--g2-muted); margin-top: 4px; }

.g2-pgroup { display: flex; flex-direction: column; gap: 8px; }
.g2-pgroup__title { margin-top: 4px !important; font-size: 12px !important; font-weight: 700 !important; letter-spacing: .08em !important; text-transform: uppercase !important; color: var(--g2-dim) !important; }
[dir="rtl"] .g2-pgroup__title { letter-spacing: 0; }

.g2-pm {
    position: relative;
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid var(--g2-line2);
    background: var(--g2-input);
    text-align: start;
    cursor: pointer;
    transition: border-color .15s, background-color .15s;
}

.g2-pm:hover { border-color: #3a4049; }
.g2-pm.selected { border-color: var(--g2-brand); background: var(--g2-brand-soft); }
.g2-pm.disabled { cursor: default; opacity: .45; }
.g2-pm.disabled:hover { border-color: var(--g2-line2); }
.g2-pm:focus-within { outline: 2px solid var(--g2-brand); outline-offset: 2px; }
.g2-pm .g2-radio { margin: 0; }
.g2-pm__icon { color: var(--g2-brand); }
.g2-pm__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.g2-pm__text b { font-size: 14.5px; }
.g2-pm__text small { font-size: 12px; color: var(--g2-muted); line-height: 1.45; }
.g2-pm__text .g2-pm__why { color: var(--g2-gold); }
.g2-pm__side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.g2-co .g2-logos { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.g2-logo { display: inline-grid; place-items: center; height: 24px; padding: 0 8px; border-radius: 6px; background: rgba(255, 255, 255, .08); color: #dfe3e8; font-size: 10.5px; font-weight: 800; direction: ltr; white-space: nowrap; }

.g2-points { gap: 12px; }
.g2-points__head { display: flex; align-items: center; gap: 12px; }
.g2-points__head b { display: block; font-size: 14px; }
.g2-points__head small { display: block; font-size: 12px; color: var(--g2-muted); }
.g2-points__icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: rgba(244, 182, 61, .12); color: var(--g2-gold); flex: 0 0 auto; }
.g2-points__form { display: flex; gap: 8px; margin: 0; }
.g2-points__form .g2-input { flex: 1 1 auto; min-width: 0; }

/* #btnSubmit stays an <input type=button>: the spinner of a submitted order is drawn over it (C4). */
.g2-paybtn { position: relative; }
.g2-paybtn #btnSubmit:disabled { opacity: .85; }
/* (the pay buttons' busy spinners, .g2-paybtn.is-busy::after and .g2-mbar__go.is-busy, and .g2-spinner: site.css
   "SHARED PARTS", before the general busy button) */

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

/* ---------- order success ---------- */
.g2-okhero { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 34px 0 26px; text-align: center; }
.g2-okhero__icon { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: rgba(61, 220, 132, .12); color: #3ddc84; animation: g2-pop .4s cubic-bezier(.2, .9, .3, 1.4); }
.g2-okhero h1 { font-size: 28px; font-weight: 800; }
.g2-okhero__ids { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; }
.g2-okhero__text { max-width: 520px; font-size: 13px; color: var(--g2-muted); }
.g2-okhero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 6px; }

@keyframes g2-pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }

.g2-idchip { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border-radius: 999px; background: var(--g2-raised); border: 1px solid var(--g2-line2); font-size: 13px; }
.g2-idchip small { color: var(--g2-dim); }
.g2-refchip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; background: rgba(255, 255, 255, .04); color: var(--g2-dim); font-size: 11.5px; cursor: help; }

.g2-fawryref { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-top: 6px; padding: 16px 22px; border-radius: 16px; background: var(--g2-surface); border: 1px dashed rgba(244, 182, 61, .45); }
.g2-fawryref__label { font-size: 12px; font-weight: 600; color: var(--g2-gold); }
.g2-fawryref__number { font-size: 30px; font-weight: 800; letter-spacing: .06em; color: var(--g2-text); }
.g2-fawryref small { font-size: 12px; color: var(--g2-muted); }

.g2-success__body { display: flex; flex-direction: column; gap: 16px; }
/* The hook wrappers the scripts fill (empty until then) add no gap of their own. */
.g2-success__body > :is(.order-digital-codes, .order-payment-requests, .order-payments) { display: contents; }
.g2-success__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.g2-success__branch { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 12.5px; color: var(--g2-muted); }
.g2-infocard__title { font-size: 15px; font-weight: 700; }
.g2-infocard p { display: flex; flex-direction: column; gap: 2px; font-size: 13px; color: var(--g2-muted); line-height: 1.6; }
.g2-infocard p b { color: var(--g2-text); }

/* (.g2-timeline: site.css "SHARED PARTS" - home Coming soon uses the class too) */

.g2-request { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; border-top: 1px solid var(--g2-line); }
.g2-request:first-of-type { border-top: 0; padding-top: 0; }
.g2-request__text { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--g2-muted); line-height: 1.5; }
.g2-request__text b { color: var(--g2-text); font-size: 14px; }
.g2-request__ref { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; padding: 10px 14px; border-radius: 12px; background: var(--g2-raised); flex: 0 0 auto; }
.g2-request__ref small { font-size: 11.5px; color: var(--g2-dim); }
.g2-request__ref b { font-size: 16px; color: var(--g2-gold); }

.g2-codes__list { display: flex; flex-direction: column; gap: 10px; }
.g2-code { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--g2-raised); }
.g2-code__frame { width: 52px; }
.g2-code__text { display: flex; flex-direction: column; gap: 2px; flex: 1 1 auto; min-width: 0; font-size: 13.5px; }
.g2-code__text small { font-size: 12px; color: var(--g2-muted); }
.g2-code__value { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.g2-code__value h3 { margin: 0; font-size: 16px; font-weight: 800; color: var(--g2-brand) !important; direction: ltr; }
.g2-code__hidden { letter-spacing: .1em; color: var(--g2-muted); }
.g2-code__status { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 13px; color: var(--g2-muted); }
.g2-codes__empty { font-size: 13px; color: var(--g2-muted); text-align: center; }

.g2-payments__pending { display: flex; align-items: center; gap: 16px; }
.g2-payments__animation { display: flex; flex-direction: column; align-items: center; gap: 4px; flex: 0 0 auto; }
.g2-payments__text p { font-size: 13px; color: var(--g2-muted); }
.g2-payments .count-down-time { font-size: 18px; font-weight: 800; color: var(--g2-gold); }
.g2-payments__list { display: flex; flex-direction: column; gap: 10px; }
.g2-payments__item { display: flex; align-items: center; gap: 12px; }
.g2-payments__ok { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(61, 220, 132, .12); color: #3ddc84; flex: 0 0 auto; }
.g2-payments__item .g2-payments__text { display: flex; flex-direction: column; gap: 2px; flex: 1 1 auto; font-size: 13.5px; }
.g2-payments__item small { font-size: 12px; color: var(--g2-muted); }

.g2-olines { display: flex; flex-direction: column; }
.g2-oline { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding-block: 10px; border-top: 1px solid var(--g2-line); font-size: 13.5px; }
.g2-oline:first-child { border-top: 0; padding-top: 0; }
.g2-oline__frame { width: 56px; padding: 5px; }
.g2-oline__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; line-height: 1.4; }
.g2-oline__text a { color: var(--g2-text) !important; }
.g2-oline__text a:hover { color: var(--g2-brand-hover) !important; }
.g2-oline__text small { font-size: 12px; color: var(--g2-muted); }

/* (the FAQ card, .g2-faq: site.css "SHARED PARTS" - the listing pages use it) */

/* ---------- account ---------- */
.g2-acc { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 24px; align-items: start; }
.g2-acc__main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }

.g2-anav { position: sticky; top: 16px; display: flex; flex-direction: column; gap: 2px; padding: 8px; border-radius: 18px; background: var(--g2-surface); border: 1px solid var(--g2-line); }
.g2-anav__who { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; padding: 10px 12px 14px; border-bottom: 1px solid var(--g2-line); }
.g2-anav__avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--g2-brand-soft); color: var(--g2-brand); font-weight: 800; flex: 0 0 auto; }
.g2-anav__name { display: flex; flex-direction: column; min-width: 0; }
.g2-anav__name b { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.g2-anav__name small { font-size: 12px; color: var(--g2-muted); }
.g2-anav__link { display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 12px; border-radius: 10px; font-size: 13.5px; font-weight: 600; color: var(--g2-muted) !important; }
.g2-anav__link:hover { background: var(--g2-raised); color: var(--g2-text) !important; }
.g2-anav__link.is-current { background: var(--g2-raised); color: var(--g2-text) !important; }
.g2-anav__link.is-current .g2-icon { color: var(--g2-brand); }
.g2-anav__link--out { margin-top: 4px; border-top: 1px solid var(--g2-line); border-radius: 0 0 10px 10px; }

.g2-mtabs { display: none; }

.g2-latest { gap: 12px; }
.g2-latest__body { min-width: 0; }
.g2-latest__body .g2-orow { padding: 0; border-top: 0; }
.g2-latest__track { align-self: flex-start; }
.g2-latest__track[hidden] { display: none; }
.g2-skeleton { border-radius: 12px; background: linear-gradient(90deg, var(--g2-input) 0%, var(--g2-raised) 50%, var(--g2-input) 100%); background-size: 200% 100%; animation: g2-shimmer 1.4s linear infinite; }
.g2-skeleton--row { height: 56px; }

@keyframes g2-shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }

.g2-kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.g2-kpi { gap: 8px; }
.g2-kpi__label { font-size: 12.5px; color: var(--g2-muted); }
.g2-kpi__big { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; font-size: 26px; font-weight: 800; }
.g2-kpi__big small { font-size: 13px; color: var(--g2-muted); font-weight: 500; }
.g2-kpi__line { font-size: 14px; font-weight: 600; }

.g2-olist { display: flex; flex-direction: column; }
.g2-olist__loading, .g2-olist__empty p { padding: 18px 4px; font-size: 13px; color: var(--g2-muted); text-align: center; }
.g2-co #load_more { display: none; margin-top: 12px; }

.g2-orow {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) auto minmax(0, 1fr) auto 20px;
    gap: 16px;
    align-items: center;
    padding: 14px 4px;
    border-top: 1px solid var(--g2-line);
    font-size: 13.5px;
    color: var(--g2-text) !important;
    border-radius: 0;
    transition: background-color .15s;
}

.g2-olist > .g2-orow:first-of-type, .g2-olist__loading + .g2-orow { border-top: 0; }
.g2-orow:hover { background: rgba(255, 255, 255, .02); color: var(--g2-text) !important; }
.g2-orow__id { display: flex; flex-direction: column; min-width: 0; }
.g2-orow__id b { font-size: 14px; }
.g2-orow__id small { font-size: 12px; color: var(--g2-dim); }
.g2-orow__total { text-align: end; font-size: 14px; }
.g2-orow__go { color: var(--g2-muted); }

.g2-stack { display: flex; align-items: center; }
.g2-stack__frame { width: 40px; padding: 4px; border-radius: 10px; border: 2px solid var(--g2-surface); margin-inline-start: -10px; }
.g2-stack__frame:first-child { margin-inline-start: 0; }
.g2-stack__more { display: grid; place-items: center; width: 34px; height: 34px; margin-inline-start: -8px; border-radius: 10px; border: 2px solid var(--g2-surface); background: var(--g2-raised); font-size: 11.5px; font-weight: 700; color: var(--g2-muted); }

.g2-odetail__status { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.g2-odetail__date { font-size: 12.5px; color: var(--g2-muted); }
.g2-odetail__grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; align-items: start; }
.g2-odetail__side { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.g2-odetail__lines { display: flex; flex-direction: column; gap: 2px; font-size: 13px; color: var(--g2-muted); line-height: 1.6; }
.g2-odetail__lines b { color: var(--g2-text); }

.g2-track { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.g2-track__step { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-size: 12px; color: var(--g2-dim); }
.g2-track__step::before { content: ""; position: absolute; top: 13px; inset-inline-start: -50%; width: 100%; height: 2px; background: var(--g2-line2); z-index: 0; }
.g2-track__step:first-child::before { display: none; }
.g2-track__step.is-done::before, .g2-track__step.is-current::before { background: var(--g2-brand); }
.g2-track__dot { position: relative; z-index: 1; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--g2-surface); border: 2px solid var(--g2-line2); font-size: 12px; font-weight: 700; }
.g2-track__step.is-done .g2-track__dot { background: var(--g2-brand); border-color: var(--g2-brand); color: #0b0d10; }
.g2-track__step.is-current .g2-track__dot { border-color: var(--g2-brand); color: var(--g2-brand); }
.g2-track__step.is-done, .g2-track__step.is-current { color: var(--g2-text); }
.g2-track__step b { font-size: 12.5px; font-weight: 600; }
/* My account → Sell orders (SellRequests/Index): a 4-step track, the items with their agreed prices. */
.g2-track--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 16px; }
/* (.g2-sellcard: site.css "SHARED PARTS", after the product page's "Sell yours" card rules, as before) */

.g2-addrs--account { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.g2-co #add_new_address { display: none; }

/* (forms, fields, the text field / select .g2-input, the pills and the dialog .g2-dialog - the kit every page uses:
   site.css "SHARED PARTS") */

/* The email / mobile verification dialogs (Shopping/Shipping #verifyEmailModal, #verifyMobileModal). */
.g2-verify__step { display: flex; flex-direction: column; gap: 14px; }
.g2-verify__icon { display: grid; place-items: center; color: var(--g2-brand); font-size: 14px; }
.g2-verify__title { margin: 0; text-align: center; font-size: 18px; font-weight: 700; }
.g2-verify__sent { text-align: center; font-size: 13px; color: #7be8a8; }
.g2-verify__error { min-height: 1.4em; padding-inline: 4px; font-size: 13px; color: #ff978b; }
.g2-verify__go { width: 100%; }
.g2-verify__legal { font-size: 11.5px; line-height: 1.5; color: var(--g2-dim); }
.g2-pin { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; direction: ltr; }
.g2-pin__box { height: 52px; padding: 0; text-align: center; font-size: 20px; font-weight: 700; -moz-appearance: textfield; }
.g2-pin__box::-webkit-outer-spin-button, .g2-pin__box::-webkit-inner-spin-button { margin: 0; -webkit-appearance: none; }

/* (the top-up fields dialog, .g2-topup__*: site.css "SHARED PARTS" - Products/TopupFields on the product page) */

.g2-balance { gap: 8px; background: radial-gradient(80% 140% at 100% 0%, rgba(149, 171, 82, .18), transparent 60%), var(--g2-surface); }
[dir="rtl"] .g2-balance { background: radial-gradient(80% 140% at 0% 0%, rgba(149, 171, 82, .18), transparent 60%), var(--g2-surface); }
.g2-balance__label { font-size: 12.5px; color: var(--g2-muted); }
.g2-balance__big { display: flex; align-items: baseline; gap: 8px; font-size: 34px; font-weight: 800; line-height: 1.2; }
.g2-balance__big small { font-size: 15px; color: var(--g2-muted); font-weight: 600; }
.g2-balance__worth { align-self: flex-start; height: auto; min-height: 26px; padding-block: 4px; white-space: normal; }
.g2-howto { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.g2-howto__step { display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: 14px; background: var(--g2-input); border: 1px solid var(--g2-line); font-size: 12.5px; color: var(--g2-muted); line-height: 1.5; }
.g2-howto__step b { font-size: 14px; color: var(--g2-text); }
.g2-howto__number { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--g2-brand-soft); color: var(--g2-brand); font-weight: 800; }

/* ---------- the Bootstrap modals on these pages (address, verify, delete): restyled only ---------- */
.g2-modal .modal-content { border-radius: 18px !important; border: 1px solid var(--g2-line2); background: var(--g2-surface) !important; color: var(--g2-text); box-shadow: 0 24px 60px rgba(0, 0, 0, .6); }
.g2-modal .modal-header, .g2-modal .modal-footer { border-color: var(--g2-line) !important; }
.g2-modal .modal-title, .g2-modal h4 { font-size: 17px !important; font-weight: 700; color: var(--g2-text) !important; text-transform: none; }
.g2-modal label { font-size: 12.5px !important; font-weight: 600; color: var(--g2-muted) !important; text-transform: none; }
.g2-modal .form-control { min-height: 44px; border-radius: 12px; border: 1px solid var(--g2-line2); background: var(--g2-input); color: var(--g2-text); font-size: 14px; }
.g2-modal textarea.form-control { height: 76px; padding-top: 10px; }
.g2-modal select.form-control:not([size]):not([multiple]) { height: 44px; font-size: 14px; }
.g2-modal .form-control:focus { border-color: var(--g2-brand); box-shadow: 0 0 0 3px rgba(149, 171, 82, .18); }
.g2-modal .form-group { margin-bottom: 14px; }
.g2-modal .btn-close { filter: invert(1) grayscale(1); opacity: .7; }
.g2-modal .modal-footer { gap: 10px; }
.g2-modal .modal-footer .g2-btn { margin: 0; }
.g2-co .g2e-area-ac-menu { z-index: 1065; max-height: 280px; overflow-y: auto; }
.g2-co .g2e-area-ac-item { font-size: 12px; padding: 5px; }

/* ============================================================================================================
   ROUND 5: checkout flow (Delivery, Payment, Cart, order success, My addresses, /locate) - the address sheet, the
   pickup picker, the points card, messages, phone rules.
   ============================================================================================================ */

/* The TempData message: site.css .g2-msg (one banner on every page). */

/* (a Phosphor icon inside a chip, .g2-chip i.ph, and a button that sent its form, .g2-btn.is-busy: site.css
   "SHARED PARTS") */

/* Loading and failed states of the parts the Delivery page loads. */
.g2-loading--inline { padding: 12px; }
.g2-loading .g2-spinner { width: 22px; height: 22px; color: var(--g2-brand); }
.g2-loaderror { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(255, 107, 91, .3); background: rgba(255, 107, 91, .06); font-size: 13.5px; color: var(--g2-text); }
.g2-skeleton--chip { display: block; width: 74px; height: 22px; border-radius: 999px; }
.g2-skeleton--line { display: block; width: 100%; height: 13px; border-radius: 6px; }
.g2-skeleton--short { width: 60%; }
.g2-addr--skeleton { gap: 10px; min-height: 140px; cursor: default; }

/* ---------- address cards (Delivery, My addresses) ---------- */
.g2-addrs__contact { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 4px; font-size: 13px !important; color: var(--g2-muted) !important; }
.g2-addrs__contact bdi { color: var(--g2-text); font-weight: 600; }
.g2-addr__type { gap: 6px; height: 24px; max-width: 100%; }
.g2-addr__type bdi { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.g2-addr__type .ph, .g2-addr__pinned .ph { font-size: 14px; }
.g2-addr__pinned { gap: 4px; height: 24px; }
.g2-addr__pin, .g2-addr__pinlink { display: inline-flex; align-items: center; gap: 5px; min-height: 32px; padding: 0 4px; font-size: 12.5px; font-weight: 600; color: var(--g2-brand) !important; background: none; border: 0; cursor: pointer; }
.g2-addr__pin:hover, .g2-addr__pinlink:hover { color: var(--g2-brand-hover) !important; }
.g2-addr__pin .ph, .g2-addr__pinlink .ph { font-size: 16px; }
.g2-addr__place { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; font-size: 14.5px; font-weight: 700; color: var(--g2-text); }
.g2-addr__city { font-size: 12.5px; font-weight: 500; color: var(--g2-muted); }
.g2-addr .g2-addr__street {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    unicode-bidi: plaintext !important;
    white-space: pre-line;
    font-size: 13px;
    line-height: 1.5;
    color: #c9ced4;
}
.g2-addr__landmark { display: flex; align-items: flex-start; gap: 6px; font-size: 12.5px; color: var(--g2-muted); }
.g2-addr__landmark .ph { margin-top: 2px; font-size: 14px; color: var(--g2-dim); }
.g2-addr.is-off { opacity: 1; cursor: default; }
.g2-addr.is-off > :not(.g2-addr__fee) { opacity: .55; }
.g2-addr.is-off .g2-radio { display: none; }
.g2-addr__fee .g2-link { font-size: 12.5px; }
.g2-addr--static .g2-addr__fee { gap: 12px; }

/* ---------- the pickup picker ---------- */
.g2-pickup__head { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.g2-pickup__facts { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0 !important; padding: 0 !important; list-style: none; }
.g2-pickup__facts li { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--g2-muted); }
.g2-pickup__facts .ph { font-size: 15px; color: var(--g2-brand); }
.g2-pickup__tools { display: flex; gap: 8px; margin-bottom: 10px; }
.g2-pickup__search { position: relative; display: flex; align-items: center; flex: 1 1 auto; min-width: 0; margin: 0; }
.g2-pickup__search .ph { position: absolute; inset-inline-start: 14px; font-size: 16px; color: var(--g2-dim); pointer-events: none; }
.g2-co .g2-pickup__search .g2-input { height: 44px; padding-inline-start: 40px; }
.g2-pickup__near { flex: 0 0 auto; height: 44px; }
.g2-pickup__near[aria-pressed="true"] { border-color: var(--g2-brand) !important; color: var(--g2-brand) !important; }
.g2-pickup__near.is-busy .ph { animation: g2-spin .9s linear infinite; }
.g2-pickup__geo { margin: 0 0 10px !important; font-size: 12.5px !important; color: var(--g2-gold) !important; }
.g2-pickup__cities { display: flex; gap: 6px; margin-bottom: 10px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.g2-pickup__cities::-webkit-scrollbar { display: none; }
.g2-pill2 { display: inline-flex; align-items: center; flex: 0 0 auto; height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--g2-line2) !important; background: var(--g2-input) !important; font-size: 13px; font-weight: 600; color: var(--g2-muted) !important; white-space: nowrap; cursor: pointer; }
.g2-pill2[aria-pressed="true"] { background: var(--g2-text) !important; border-color: var(--g2-text) !important; color: #0b0d10 !important; }
.g2-pickup__onlyall { margin-bottom: 10px; height: 30px; padding: 0 12px; border: 0; cursor: pointer; }
.g2-pickup__onlyall[hidden] { display: none; }
.g2-branch__pick { min-height: 64px; }
.g2-branch__where { display: flex; flex-wrap: wrap; gap: 2px 8px; }
.g2-branch__where span { font-size: 12px; color: var(--g2-muted); }
.g2-branch__city { color: var(--g2-dim) !important; }
.g2-branch__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.g2-branch__chips [hidden] { display: none; }
.g2-branch__map { justify-content: center; min-width: 48px; }
.g2-branch__map .ph { font-size: 18px; }
.g2-pickup__empty { padding: 12px 2px; font-size: 13px !important; color: var(--g2-muted) !important; }
.g2-pickup__empty[hidden], .g2-pickup__more[hidden] { display: none; }
.g2-pickup__more { width: 100%; margin-top: 10px; height: 44px; }
.g2-bstock { display: flex; flex-direction: column; gap: 10px; padding-top: 12px; border-top: 1px solid var(--g2-line); }
.g2-bstock__ways { display: flex; flex-direction: column; gap: 10px; padding: 12px; border-radius: 12px; background: rgba(244, 182, 61, .06); border: 1px solid rgba(244, 182, 61, .22); }
.g2-bstock__note { margin: 0 !important; font-size: 13px !important; color: var(--g2-text) !important; }
.g2-bstock__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; }
.g2-bstock__actions [hidden] { display: none; }

/* ---------- the points card (Payment) ---------- */
.g2-pts { gap: 12px; }
.g2-pts__head { display: flex; align-items: center; gap: 12px; }
.g2-pts__icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: rgba(244, 182, 61, .12); color: var(--g2-gold); flex: 0 0 auto; }
.g2-pts__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.g2-pts__text b { font-size: 14.5px; }
.g2-pts__text small { font-size: 12.5px; color: var(--g2-muted); }
.g2-pts__switchrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; margin: 0; padding: 4px 0; font-size: 14px; font-weight: 600; color: var(--g2-text); cursor: pointer; }
.g2-pts__switchtext { display: inline-flex; gap: 6px; }
.g2-switch { appearance: none; -webkit-appearance: none; position: relative; flex: 0 0 auto; width: 46px; height: 28px; margin: 0; border-radius: 999px; background: var(--g2-line2); cursor: pointer; transition: background-color .15s; }
.g2-switch::after { content: ""; position: absolute; top: 3px; inset-inline-start: 3px; width: 22px; height: 22px; border-radius: 50%; background: #eef0f3; box-shadow: 0 1px 3px rgba(0, 0, 0, .4); transition: transform .18s ease; }
.g2-switch:checked { background: var(--g2-brand); }
.g2-switch:checked::after { transform: translateX(18px); }
[dir="rtl"] .g2-switch:checked::after { transform: translateX(-18px); }
.g2-switch:disabled { opacity: .45; cursor: default; }
.g2-switch:focus-visible { outline: 2px solid var(--g2-brand); outline-offset: 2px; }
.g2-pts__applied { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; }
.g2-pts__applied .g2-chip { height: 28px; padding: 0 12px; font-size: 13px; }
.g2-pts__applied .g2-link, .g2-pts__more { display: inline-flex; align-items: center; min-height: 36px; font-size: 13px; }
.g2-pts__more { align-self: flex-start; padding: 0; }
.g2-pts__custom { display: flex; flex-direction: column; gap: 8px; }
.g2-pts__custom[hidden] { display: none; }
.g2-pts__form { display: flex; flex-direction: column; gap: 8px; margin: 0; }
.g2-pts__label { font-size: 12.5px !important; font-weight: 600; color: var(--g2-muted) !important; margin: 0; }
.g2-pts__entry { display: flex; gap: 8px; }
.g2-co .g2-pts__entry .g2-input { flex: 1 1 auto; min-width: 0; height: 44px; }
.g2-pts__entry .g2-btn { height: 44px; }
.g2-pts__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.g2-pts__chip { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--g2-line2) !important; background: var(--g2-input) !important; font-size: 13px; font-weight: 700; color: var(--g2-text) !important; cursor: pointer; }
.g2-pts__chip:hover { border-color: var(--g2-brand) !important; }
.g2-pts__error { margin: 0 !important; font-size: 12.5px !important; color: #ff978b !important; }
.g2-pts__note { font-size: 12px !important; color: var(--g2-dim) !important; }
.g2-pts.is-busy { opacity: .7; pointer-events: none; }
/* Inside the summary (desktop): a flat block above the Total. */
.g2-pts-slot:not(:has(*)) { display: none; }
.g2-pts-slot .g2-pts { padding: 14px 0 0; border: 0; border-top: 1px solid var(--g2-line); border-radius: 0; background: none; }
.g2-pts-home:not(:has(*)) { display: none; }
.g2-terms-phone { display: none; }

/* ---------- empty cart ---------- */
/* (.g2-empty2 itself: site.css "SHARED PARTS", before the panel card's phone padding) */
.g2-empty2__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--g2-brand-soft); color: var(--g2-brand); font-size: 28px; }
.g2-empty2__text { display: flex; flex-direction: column; gap: 4px; }
.g2-empty2__text h2 { font-size: 20px; font-weight: 800; }
.g2-empty2__text p { font-size: 14px; color: var(--g2-muted); }
.g2-empty2__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; }
.g2-empty2__facts { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 18px; padding-top: 14px !important; border-top: 1px solid var(--g2-line); }
.g2-empty2__facts li { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--g2-muted); }
.g2-empty2__facts .ph { font-size: 17px; color: var(--g2-brand); }
.g2-empty2__facts a { color: var(--g2-text) !important; font-weight: 700; }
.g2-ptiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.g2-ptile { display: flex; align-items: center; justify-content: center; gap: 8px; height: 56px; padding: 0 12px; border-radius: 14px; border: 1px solid var(--g2-line2); background: var(--g2-surface); font-size: 15px; font-weight: 700; color: var(--g2-text) !important; white-space: nowrap; transition: border-color .15s, background-color .15s; }
.g2-ptile:hover { border-color: var(--g2-tone, var(--g2-brand)); background: var(--g2-raised); }

/* ---------- the address sheet (Members/_AddressSheet, g2-address.js) ---------- */
.g2-asheet, .g2-asheet *, .g2-asheet *::before, .g2-asheet *::after { box-sizing: border-box; }
.g2-asheet { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 24px; color: var(--g2-text); font-size: 14px; }
.g2-asheet[hidden], .g2-asheet [hidden] { display: none !important; }
.g2-asheet :is(h2, label, legend, button, .g2-btn, input, select) { text-transform: none; letter-spacing: normal; }
.g2-asheet__backdrop { position: absolute; inset: 0; background: rgba(11, 13, 16, .72); opacity: 0; transition: opacity .2s ease; }
.g2-asheet__panel { position: relative; display: flex; flex-direction: column; width: min(640px, 100%); max-height: min(92vh, 900px); border-radius: 20px; border: 1px solid var(--g2-line2); background: var(--g2-surface); box-shadow: 0 24px 60px rgba(0, 0, 0, .6); overflow: hidden; opacity: 0; transform: translateY(12px); transition: opacity .2s ease, transform .2s ease; }
.g2-asheet.is-open .g2-asheet__backdrop { opacity: 1; }
.g2-asheet.is-open .g2-asheet__panel { opacity: 1; transform: none; }
html.g2-asheet-open { overflow: hidden; }
.g2-asheet__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--g2-line); }
.g2-asheet__title { margin: 0; font-size: 17px !important; font-weight: 700; color: var(--g2-text) !important; line-height: 1.3; }
.g2-asheet__x { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; border: 0; background: none; color: var(--g2-muted); cursor: pointer; }
.g2-asheet__x:hover { background: var(--g2-raised); color: var(--g2-text); }
.g2-asheet__body { display: flex; flex-direction: column; gap: 16px; flex: 1 1 auto; min-height: 0; margin: 0; padding: 16px 20px 20px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.g2-asheet__foot { display: flex; justify-content: flex-end; gap: 10px; padding: 12px 20px calc(12px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--g2-line); background: var(--g2-surface); }
.g2-asheet__foot .g2-btn { height: 46px; }
.g2-asheet__save { min-width: 150px; }
.g2-asheet__field { display: flex; flex-direction: column; gap: 6px; min-width: 0; margin: 0; padding: 0; border: 0; }
.g2-asheet__label { margin: 0; padding: 0; float: none; font-size: 12.5px !important; font-weight: 600; color: var(--g2-muted) !important; }
.g2-asheet__input { width: 100%; height: 46px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--g2-line2); background: var(--g2-input); color: var(--g2-text); font-size: 15px; box-shadow: none; outline: none; }
/* Country, city and area: the site's own dropdown (select[data-g2-dd="block"]) at the sheet's field size. */
.g2-asheet .g2-dd { min-width: 0; }
.g2-asheet .g2-dd__button { height: 46px; padding-inline: 14px 12px; border-radius: 12px; font-size: 15px; font-weight: 500; }
.g2-asheet__input::placeholder { color: var(--g2-dim); opacity: 1; font-size: 13.5px; }
.g2-asheet__input:focus { border-color: var(--g2-brand); box-shadow: 0 0 0 3px rgba(149, 171, 82, .18); }
select.g2-asheet__input { padding-inline-end: 30px; }
.g2-asheet__arearow { display: flex; gap: 8px; }
.g2-asheet__search { position: relative; flex: 1 1 auto; min-width: 0; }
.g2-asheet__search .g2-asheet__input { padding-inline-start: 40px; }
.g2-asheet__search-icon { position: absolute; top: 15px; inset-inline-start: 14px; color: var(--g2-dim); pointer-events: none; }
.g2-asheet__locate { flex: 0 0 auto; height: 46px; gap: 6px; }
.g2-asheet__locate .ph { font-size: 17px; }
.g2-asheet__results { position: absolute; top: calc(100% + 4px); inset-inline: 0; z-index: 5; max-height: 260px; margin: 0; padding: 6px; list-style: none; overflow-y: auto; border-radius: 12px; border: 1px solid var(--g2-line2); background: var(--g2-raised); box-shadow: 0 16px 40px rgba(0, 0, 0, .5); }
.g2-asheet__result { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; width: 100%; min-height: 44px; padding: 8px 10px; border: 0; border-radius: 8px; background: none; color: var(--g2-text); text-align: start; cursor: pointer; }
.g2-asheet__result b { font-size: 14px; }
.g2-asheet__result span { font-size: 12px; color: var(--g2-muted); }
.g2-asheet__result:hover, .g2-asheet__result.is-active { background: rgba(149, 171, 82, .14); }
.g2-asheet__chosen { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; min-height: 46px; padding: 8px 12px; border-radius: 12px; border: 1px solid var(--g2-brand); background: var(--g2-brand-soft); }
.g2-asheet__chosen .ph { font-size: 18px; color: var(--g2-brand); }
.g2-asheet__chosen b { font-size: 14.5px; }
.g2-asheet__chosen .g2-link { margin-inline-start: auto; }
.g2-asheet__manual-link { align-self: flex-start; min-height: 32px; padding: 0; border: 0; background: none; }
.g2-asheet__manual { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.g2-asheet__note { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; margin: 0; font-size: 12.5px; color: var(--g2-muted); line-height: 1.5; }
/* The location messages hold line breaks (one sentence a line). */
.g2-asheet__note[data-g2-asheet-accuracy] { display: block; white-space: pre-line; }
.g2-asheet__note[data-g2-asheet-accuracy][hidden] { display: none; }
.g2-asheet__note--ok { color: #7be8a8; }
.g2-asheet__note--hint { color: var(--g2-text); }
.g2-asheet__note--warn { color: var(--g2-gold); }
.g2-asheet__note .g2-link { border: 0; background: none; padding: 0; min-height: 28px; }
.g2-asheet__help { margin: 0; font-size: 12px; color: var(--g2-dim); }
.g2-asheet__map, .g2-locate__map { position: relative; isolation: isolate; overflow: hidden; background: #1a1f26; }
.g2-asheet__map { height: 260px; border-radius: 14px; border: 1px solid var(--g2-line2); }
.g2-asheet__canvas, .g2-locate__canvas { position: absolute; inset: 0; z-index: 0; }
.g2-asheet .leaflet-container, .g2-locate .leaflet-container { background: #1a1f26; font-family: inherit; }
.g2-asheet .leaflet-container img, .g2-locate .leaflet-container img { max-width: none !important; max-height: none !important; }
/* A mild darkening that keeps the street labels readable. */
.g2-asheet .leaflet-tile-pane, .g2-locate .leaflet-tile-pane { filter: brightness(.84) contrast(1.06) saturate(.85); }
.g2-asheet .leaflet-control-attribution, .g2-locate .leaflet-control-attribution { background: rgba(20, 23, 28, .82) !important; color: var(--g2-muted) !important; font-size: 10.5px; }
.g2-asheet .leaflet-control-attribution a, .g2-locate .leaflet-control-attribution a { color: var(--g2-text) !important; }
.g2-asheet .leaflet-bar a, .g2-locate .leaflet-bar a { background: var(--g2-surface); color: var(--g2-text); border-color: var(--g2-line2); }
/* The fixed pin in the centre: a teardrop whose tip is the map's centre, drawn in CSS. */
.g2-asheet__pin { position: absolute; top: 50%; left: 50%; z-index: 500; width: 0; height: 0; pointer-events: none; }
.g2-asheet__pin::before { content: ""; position: absolute; left: -15px; top: -36px; width: 30px; height: 30px; border-radius: 50% 50% 50% 0; background: radial-gradient(circle at 50% 50%, #0b0d10 0 5px, var(--g2-brand) 6px); transform: rotate(-45deg); box-shadow: 0 6px 14px rgba(0, 0, 0, .45); }
.g2-asheet__pin::after { content: ""; position: absolute; left: -6px; top: -3px; width: 12px; height: 6px; border-radius: 50%; background: rgba(0, 0, 0, .45); z-index: -1; }
.g2-asheet__mylocation { position: absolute; z-index: 600; bottom: 12px; inset-inline-end: 12px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--g2-line2); background: var(--g2-surface); color: var(--g2-text); box-shadow: 0 6px 16px rgba(0, 0, 0, .4); cursor: pointer; }
.g2-asheet__mylocation .ph { font-size: 20px; }
.g2-asheet__mylocation.is-busy .ph, .g2-asheet__locate.is-busy .ph { animation: g2-spin .9s linear infinite; }
.g2-asheet__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; }
.g2-asheet__field--wide { grid-column: 1 / -1; }
.g2-asheet__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.g2-asheet__chip { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 40px; margin: 0; padding: 0 14px; border-radius: 999px; border: 1px solid var(--g2-line2); background: var(--g2-input); font-size: 13.5px; font-weight: 600; color: var(--g2-text); cursor: pointer; }
.g2-asheet__chip input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.g2-asheet__chip .ph { font-size: 16px; color: var(--g2-muted); }
.g2-asheet__chip:has(input:checked) { border-color: var(--g2-brand); background: var(--g2-brand-soft); }
.g2-asheet__chip:has(input:checked) .ph { color: var(--g2-brand); }
.g2-asheet__chip:has(input:focus-visible) { outline: 2px solid var(--g2-brand); outline-offset: 2px; }
.g2-asheet__otherlabel { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.g2-asheet__error { margin: 0; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(255, 107, 91, .35); background: rgba(255, 107, 91, .08); font-size: 13px; color: #ffb3a8; }
.g2-asheet[data-mode="pin"] .g2-asheet__map { height: min(52vh, 420px); }

/* ---------- /locate ---------- */
.g2-locate { padding-bottom: 32px; }
.g2-locate__form { margin: 0; }
.g2-locate__map { height: 60vh; min-height: 300px; max-height: 640px; border-bottom: 1px solid var(--g2-line); }
.g2-locate__map.is-saved .g2-asheet__pin::before { background: radial-gradient(circle at 50% 50%, #0b0d10 0 5px, #3ddc84 6px); }
.g2-locate__mylocation { position: absolute; z-index: 600; bottom: 14px; inset-inline-end: 14px; height: 44px; box-shadow: 0 6px 16px rgba(0, 0, 0, .45); }
.g2-locate__mylocation.is-busy svg { animation: g2-spin .9s linear infinite; }
.g2-locate__mapnote { position: absolute; z-index: 700; inset: auto 12px 70px; margin: 0; padding: 10px 12px; border-radius: 12px; background: rgba(20, 23, 28, .92); font-size: 13px; color: var(--g2-text); }
/* The card starts under the map (never over it: the OSM attribution in its corner must stay readable). */
.g2-locate__card, .g2-locate__done, .g2-locate__used { max-width: 640px; margin: 16px auto 0; position: relative; z-index: 1; }
.g2-locate__head { display: flex; flex-direction: column; gap: 4px; }
.g2-locate__head h1 { font-size: 20px; font-weight: 800; }
.g2-locate__lead { font-size: 13.5px; color: var(--g2-muted); }
.g2-locate__field { display: flex; flex-direction: column; gap: 6px; }
.g2-locate__label { margin: 0; font-size: 12.5px !important; font-weight: 600; color: var(--g2-muted) !important; text-align: start; direction: inherit; }
.g2-co .g2-locate__textarea { height: auto; min-height: 70px; padding: 10px 14px; line-height: 1.5; resize: vertical; unicode-bidi: plaintext; }
.g2-locate__note { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; font-size: 13px; color: var(--g2-gold); }
.g2-locate__note--hint { color: var(--g2-text); }
.g2-locate__note .g2-link { border: 0; background: none; padding: 0; }
.g2-locate__error { padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(255, 107, 91, .35); background: rgba(255, 107, 91, .08); font-size: 13px; color: #ffb3a8; }
.g2-locate__foot { font-size: 12.5px; color: var(--g2-dim); text-align: center; }
.g2-locate__done, .g2-locate__used { align-items: center; text-align: center; gap: 10px; }
.g2-locate__used { margin-top: 32px; }
.g2-locate__done h2, .g2-locate__used h1 { font-size: 19px; font-weight: 800; }
.g2-locate__done p, .g2-locate__used p { font-size: 14px; color: var(--g2-muted); }
.g2-locate__doneicon, .g2-locate__usedicon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; }
.g2-locate__doneicon { background: rgba(61, 220, 132, .12); color: #3ddc84; }
.g2-locate__usedicon { background: rgba(244, 182, 61, .12); color: var(--g2-gold); }
.g2-locate__usedactions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 6px; }

/* ---------- phones and tablets (one column, the phone bar) ---------- */
@media (max-width: 991px) {
    /* The bar at the bottom is the one Continue / Place order: the summary's own copy is hidden (still clicked). */
    .g2-co--focused .g2-sum .place-order { display: none; }
    .g2-terms-phone { display: block; font-size: 12px; color: var(--g2-dim); text-align: center; }
    .g2-terms-phone a { color: var(--g2-muted) !important; text-decoration: underline !important; }
    .g2-ptiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
    /* 16px fields stop iOS zooming in; 44px tap targets. */
    .g2-co :is(input, select, textarea).g2-input, .g2-asheet__input, .g2-co .g2-pickup__search .g2-input { font-size: 16px; }
    .g2-co .g2-input { height: 48px; }
    .g2-pickup__tools { flex-wrap: wrap; }
    .g2-pickup__near { flex: 1 1 100%; }
    .g2-addr__pin, .g2-addr__pinlink { min-height: 44px; }

    /* The sheet fills the screen. */
    .g2-asheet { padding: 0; align-items: stretch; }
    .g2-asheet__panel { width: 100%; max-height: none; height: 100%; border-radius: 0; border: 0; transform: translateY(24px); }
    .g2-asheet__head { padding: 10px 12px 10px 16px; }
    .g2-asheet__body { padding: 14px 16px 18px; }
    .g2-asheet__foot { padding-inline: 16px; }
    .g2-asheet__foot .g2-btn { flex: 1 1 0; }
    .g2-asheet__arearow { flex-wrap: wrap; }
    .g2-asheet__locate { flex: 1 1 100%; }
    .g2-asheet__map { height: 220px; }
    .g2-asheet[data-mode="pin"] .g2-asheet__map { height: calc(100vh - 230px); }
    .g2-asheet__manual { grid-template-columns: minmax(0, 1fr); }
    .g2-asheet__grid { grid-template-columns: 1fr 1fr; gap: 12px 10px; }

    /* (.g2-empty2: site.css "SHARED PARTS") */
    .g2-empty2__actions { justify-content: center; }
    .g2-empty2__actions .g2-btn { flex: 1 1 100%; height: 46px; }
    .g2-empty2__facts { justify-content: center; }
    .g2-ptile { height: 48px; font-size: 14px; }

    .g2-locate__card, .g2-locate__done { margin-top: 12px; }
    .g2-locate__map { height: 58vh; }
}

@media (prefers-reduced-motion: reduce) {
    .g2-asheet__backdrop, .g2-asheet__panel, .g2-switch, .g2-switch::after { transition: none !important; }
    /* (the busy spinners' motion off, .g2-btn.is-busy::after …: site.css "SHARED PARTS") */
}

/* ---------- floating buttons over the phone bar: site.css "SHARED PARTS" (the news story's bar uses them too) ---------- */

/* ---------- desktop widths ---------- */
@media (min-width: 1600px) {
    .g2-co__grid { grid-template-columns: minmax(0, 1fr) 420px; }
    .g2-acc { grid-template-columns: 260px minmax(0, 1fr); }
}

/* ---------- below 992px: one column; the phone summary and bar ---------- */
@media (max-width: 991px) {
    .g2-co__grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .g2-co__side { position: static; }
    /* Delivery and Payment: the summary first, folded under "Show order summary". */
    .g2-co--focused .g2-co__side { order: -1; }
    .g2-co--focused .g2-sum { padding: 0; gap: 0; }
    .g2-co--focused .g2-sum__toggle { display: flex; align-items: center; gap: 8px; width: 100%; padding: 12px 14px; font-size: 13.5px; color: var(--g2-text); }
    .g2-co--focused .g2-sum__toggle .g2-icon { transition: transform .2s ease; }
    .g2-co--focused .g2-sum__toggle-total { margin-inline-start: auto; font-size: 15px; }
    .g2-co--focused .g2-sum.is-open .g2-sum__toggle .g2-icon { transform: rotate(180deg); }
    .g2-co--focused .g2-sum__body { display: none; padding: 0 14px 14px; }
    .g2-co--focused .g2-sum.is-open .g2-sum__body { display: flex; }

    /* Fixed to the screen's bottom (a sticky bar stopped mid-screen on a short page, under the chat bubble); the page
       keeps its height as bottom padding so the end of the page and the slim footer are never hidden under it. */
    .g2-mbar {
        position: fixed;
        inset-inline: 0;
        bottom: 0;
        z-index: 1030;
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
        background: rgba(17, 20, 26, .96);
        border-top: 1px solid var(--g2-line2);
        box-shadow: 0 -10px 30px rgba(0, 0, 0, .45);
    }

    .g2-mbar__total { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; }
    .g2-mbar__total small { font-size: 11.5px; color: var(--g2-muted); }
    .g2-mbar__total b { font-size: 18px; font-weight: 800; }
    .g2-mbar__go { flex: 0 1 auto; max-width: 62%; height: 46px; white-space: normal; text-align: center; line-height: 1.2; }
    .g2-mbar__go.is-disabled { background: var(--g2-raised) !important; color: #c9ced4 !important; font-size: 12.5px; }

    .g2-success__cards { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .g2-odetail__grid { grid-template-columns: minmax(0, 1fr); }
    .g2-acc { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .g2-anav { display: none; }
    .g2-mtabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; min-width: 0; padding-bottom: 2px; }
    .g2-mtabs::-webkit-scrollbar { display: none; }
    .g2-mtabs__tab { display: inline-flex; align-items: center; flex: 0 0 auto; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--g2-line2); background: var(--g2-input); font-size: 13px; font-weight: 600; color: var(--g2-muted) !important; white-space: nowrap; }
    .g2-mtabs__tab.is-current { background: var(--g2-text); border-color: var(--g2-text); color: #0b0d10 !important; }
}

/* ---------- phones ---------- */
@media (max-width: 767px) {
    .g2-ptitle { padding-block: 16px 12px; }
    .g2-ptitle h1 { font-size: 22px; }
    /* (.g2-card's phone padding, .g2-timeline and .g2-form on phones: site.css "SHARED PARTS") */
    .g2-co .g2-card.dark_container { border-radius: 16px !important; }

    .g2-ckhead__bar { gap: 8px; height: 56px; }
    .g2-ckhead__logo-img { height: 20px; }
    .g2-steps { gap: 5px; min-width: 0; font-size: 13px; }
    .g2-steps__step { gap: 5px; }
    .g2-steps__link { gap: 6px; }
    .g2-steps__name { font-size: 13px; }
    .g2-steps__dot { width: 26px; height: 26px; font-size: 12.5px; border-width: 1.5px; }
    .g2-steps__line { width: 10px; }
    .g2-ckhead__end { gap: 8px; }
    .g2-steps__name { display: none; }
    .g2-steps__step.is-current .g2-steps__name { display: inline; }
    .g2-ckhead__secure-text, .g2-ckhead__hotline-label, .g2-ckhead__hotline b { display: none; }
    .g2-ckhead__hotline { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--g2-input); color: var(--g2-text) !important; }

    .g2-citem { grid-template-columns: 76px minmax(0, 1fr); gap: 12px; }
    .g2-citem__frame { width: 76px; }
    .g2-citem__title { font-size: 13.5px !important; }
    .g2-citem__side { grid-column: 2; flex-direction: row-reverse; justify-content: space-between; align-items: center; flex-wrap: wrap; }
    .g2-citem__price { font-size: 16px; }
    .g2-citem__remove span { display: none; }
    .g2-trust { grid-template-columns: minmax(0, 1fr); }

    .g2-opts { grid-template-columns: minmax(0, 1fr); }
    .g2-opt__label { padding: 12px; gap: 10px; }
    .g2-opt__icon { width: 34px; height: 34px; }
    .g2-addrs { grid-template-columns: minmax(0, 1fr); }

    .g2-pm { grid-template-columns: auto auto minmax(0, 1fr); }
    .g2-pm__side { grid-column: 3; align-items: flex-start; }
    .g2-co .g2-logos { justify-content: flex-start; }
    .g2-shipto__row { grid-template-columns: auto minmax(0, 1fr); }
    .g2-shipto__map { grid-column: 2; justify-self: start; }

    .g2-okhero { padding: 24px 0 18px; }
    .g2-okhero h1 { font-size: 22px; }
    .g2-fawryref__number { font-size: 24px; }
    .g2-request { flex-direction: column; align-items: stretch; }
    .g2-request__ref { align-items: flex-start; }
    .g2-payments__pending { flex-direction: column; text-align: center; }

    .g2-kpis { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .g2-orow { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "id total" "stack status"; gap: 8px 10px; padding: 12px 2px; }
    .g2-orow__id { grid-area: id; }
    .g2-orow__total { grid-area: total; }
    .g2-stack { grid-area: stack; }
    .g2-orow__status { grid-area: status; justify-self: end; }
    .g2-orow__go { display: none; }
    .g2-track { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .g2-track__step { flex-direction: row; text-align: start; gap: 12px; }
    .g2-track__step::before { display: none; }
    .g2-howto { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .g2-banner--action { flex-wrap: wrap; }
}

/* Narrow phones: the checkout header keeps the logo, the steps and the hotline; the lock goes. */
@media (max-width: 399px) {
    .g2-ckhead__logo-img { height: 18px; }
    .g2-ckhead__secure { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    /* (.g2-okhero__icon, .g2-skeleton, the pay buttons' spinners, .g2-spinner: site.css "SHARED PARTS") */
    .g2-opt, .g2-addr, .g2-pm, .g2-branch, .g2-radio, .g2-orow, .g2-sum__toggle .g2-icon { transition: none !important; }
}

/* ---------- motion off (the header, footer, menus and sections): site.css "SHARED PARTS" ---------- */

/* ============================================================================================================
   CALMER CHECKOUT AND ACCOUNT, BRAND WALL, BOUGHT TOGETHER
   Delivery (mode control, address rows, pickup list), Payment (tiles, "Delivering to"), Cart, the account home,
   Orders, order success, the home brand wall and the product page's "Bought together". Selected = a brand border
   and a check, never a filled colour block.
   ============================================================================================================ */

/* ---------- the check mark of a selected row or tile ---------- */
.g2-check { display: grid; place-items: center; flex: 0 0 auto; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid #3a414b; color: transparent; transition: background-color .15s, border-color .15s; }
:is(.g2-branch.is-selected, .address-box.selected) .g2-check { background: var(--g2-brand); border-color: var(--g2-brand); color: #0b0d10; }
:is(.g2-opt, .g2-pm) .g2-radio { position: relative; width: 20px; height: 20px; border: 1.5px solid #3a414b; }
:is(.g2-opt.selected, .g2-pm.selected) .g2-radio { border: 1.5px solid var(--g2-brand); background: var(--g2-brand); }
:is(.g2-opt.selected, .g2-pm.selected) .g2-radio::after { content: ""; position: absolute; left: 6px; top: 2.5px; width: 5px; height: 10px; border: solid #0b0d10; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.g2-opt.selected, .g2-pm.selected, .g2-branch.is-selected { background: var(--g2-input); box-shadow: none; }

/* ---------- small popovers ("i": an address, a branch) ---------- */
.g2-pop { position: relative; flex: 0 0 auto; }
.g2-pop__btn { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; color: var(--g2-dim); cursor: pointer; list-style: none; }
.g2-pop__btn::-webkit-details-marker { display: none; }
.g2-pop__btn::marker { content: ""; }
.g2-pop__btn:hover, .g2-pop[open] .g2-pop__btn { background: var(--g2-raised); color: var(--g2-text); }
.g2-pop__body { position: absolute; z-index: 30; top: calc(100% + 6px); inset-inline-end: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; width: max-content; max-width: min(300px, 78vw); padding: 10px 12px; border-radius: 12px; border: 1px solid var(--g2-line2); background: var(--g2-raised); box-shadow: 0 12px 30px rgba(0, 0, 0, .45); font-size: 13px; font-weight: 500; line-height: 1.5; color: var(--g2-text); white-space: normal; text-align: start; }
.g2-pop__body [dir="auto"] { unicode-bidi: plaintext; }

/* ---------- Delivery: the mode control ---------- */
.g2-opts { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.g2-opt__label { padding: 12px 14px; }
.g2-opt__icon { width: 36px; height: 36px; border-radius: 10px; }
.g2-opt__text b { font-size: 14px; }
.g2-opt__text small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- address rows (Delivery, My addresses, the account home, order pages) ---------- */
.g2-arows { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: start; }
.g2-addr.g2-arow, .g2-arow {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr) auto;
    grid-template-areas: "check l1 l1" "check l2 end" "check l3 end";
    column-gap: 12px;
    row-gap: 3px;
    align-items: center;
}
#memberAddresses li .address-box.g2-arow { padding: 12px 14px; }
#memberAddresses li .address-box.g2-arow.selected { background-color: var(--g2-input); }
.g2-arow__check { grid-area: check; align-self: start; margin-top: 2px; }
.g2-arow__l1 { grid-area: l1; display: flex; align-items: center; gap: 8px; min-width: 0; padding-inline-end: 32px; }
.g2-arow__place { display: flex; align-items: baseline; gap: 6px; min-width: 0; overflow: hidden; font-size: 14px; font-weight: 700; color: var(--g2-text); white-space: nowrap; }
.g2-arow__place bdi { overflow: hidden; text-overflow: ellipsis; }
.g2-arow__city { flex: 0 0 auto; font-weight: 600; color: var(--g2-muted); }
.g2-arow__pinned { display: inline-flex; flex: 0 0 auto; margin-inline-start: auto; color: #7be8a8; font-size: 15px; }
.g2-arow__pin, .g2-co .g2-arow__pin { flex: 0 0 auto; min-height: 28px; margin-inline-start: auto; padding: 0; font-size: 12px; white-space: nowrap; }
.g2-arow__l2 { grid-area: l2; display: flex; align-items: center; gap: 4px; min-width: 0; }
.g2-arow__street { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; color: #c9ced4; unicode-bidi: plaintext !important; }
.g2-arow__l3 { grid-area: l3; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; color: var(--g2-muted); unicode-bidi: plaintext !important; }
.g2-arow__end { grid-area: end; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.g2-arow__fee { height: 26px; padding: 0 10px; background: var(--g2-raised); color: var(--g2-text); font-size: 13px; }
.g2-arow__fee .g2e-price { font-size: 13px; }
.g2-arow__end .g2-link { font-size: 12px; }
.g2-arow.is-off > :not(.g2-arow__end) { opacity: .55; }
.g2-arow .g2-addr__type { flex: 0 0 auto; height: 22px; }
.g2-arow--static { grid-template-columns: minmax(0, 1fr); grid-template-areas: "l1" "l2" "l3"; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--g2-line2); background: var(--g2-input); }
.g2-arow--static .g2-arow__l1 { padding-inline-end: 0; }
.g2-arow--account { grid-template-columns: 28px minmax(0, 1fr); grid-template-areas: "star l1" "star l2" "star l3"; column-gap: 10px; }
.g2-arow--account .g2-arow__l1 { padding-inline-end: 32px; }
.g2-arow__star { grid-area: star; align-self: start; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; color: var(--g2-dim); fill: none; }
.g2-arow__star svg { fill: none; }
.g2-arow__star:hover { color: var(--g2-gold); background: var(--g2-raised); }
.g2-arow.is-default { border-color: rgba(244, 182, 61, .45); }
.g2-arow.is-default .g2-arow__star { color: var(--g2-gold); }
.g2-arow.is-default .g2-arow__star svg { fill: currentColor; }
.g2-arows__status { margin-top: 10px !important; font-size: 13px; color: var(--g2-muted); }

/* Delivery's address cards (Members/ShippingAddresses.cshtml): row 1 chips + the fee tag, the street on its own line,
   the landmark, the small actions. The selected card: lime 1.5px edge and a soft lime fill. */
.g2-addr.g2-dcard {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    column-gap: 12px;
    row-gap: 6px;
    align-items: start;
}
.g2-dcard > :not(.g2-dcard__check):not(input) { grid-column: 2; min-width: 0; }
.g2-dcard__check { grid-row: 1; grid-column: 1; margin-top: 3px; }
#memberAddresses li .address-box.g2-dcard { padding: 12px 14px; }
#memberAddresses li .address-box.g2-dcard.selected { border-color: #bcd767; box-shadow: inset 0 0 0 .5px #bcd767; background-color: rgba(188, 215, 103, .08); }
.g2-dcard__r1 { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; padding-inline-end: 32px; }
.g2-dcard__chips { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.g2-dcard .g2-addr__type, .g2-dcard__place { flex: 0 1 auto; height: 22px; max-width: 100%; font-size: 12px; }
.g2-dcard__place bdi { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.g2-dcard__fee { display: inline-flex; align-items: center; flex: 0 0 auto; height: 24px; padding: 0 8px; border-radius: 7px; background: var(--g2-raised); color: var(--g2-text); font-size: 12px; font-weight: 600; white-space: nowrap; }
.g2-dcard__fee .g2e-price { font-size: 12px; }
.g2-dcard__fee--off { background: rgba(221, 98, 89, .16); color: #f2a59f; }
.g2-dcard .g2-addr__street { display: block; overflow-wrap: anywhere; unicode-bidi: plaintext !important; text-align: start; white-space: normal; font-size: 13.5px; line-height: 1.5; color: #dfe3e8; -webkit-line-clamp: unset; }
.g2-dcard__landmark { font-size: 13px; line-height: 1.45; color: var(--g2-muted); unicode-bidi: plaintext; text-align: start; overflow-wrap: anywhere; }
.g2-dcard__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; }
.g2-dcard__actions:empty { display: none; }
.g2-dcard__action, .g2-co .g2-dcard__action { min-height: 28px; padding: 0; font-size: 12px; }
.g2-dcard__pinned { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: #7be8a8; }
/* Not covered: the address dims, the red tag and "Try pickup" stay at full strength. */
.g2-addr.g2-dcard.is-off > * { opacity: 1; }
.g2-addr.g2-dcard.is-off :is(.g2-dcard__chips, .g2-addr__street, .g2-dcard__landmark, .g2-dcard__check) { opacity: .55; }
.g2-arows__add .g2-addr--add { min-height: 64px; }
.g2-addr__menu-list a.g2-addr__menu-item { color: var(--g2-text) !important; }
.g2-addr__menu-list a.g2-addr__menu-item:hover { background: var(--g2-input); }

/* ---------- Delivery: the pickup list ---------- */
.g2-pickup__facts { gap: 6px; margin: 0 0 12px !important; }
.g2-pickup__facts li.g2-chip { height: 24px; font-size: 12px; color: var(--g2-muted); }
.g2-pickup__none { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--g2-line2); background: var(--g2-input); }
.g2-pickup__none p { font-size: 13.5px; }
.g2-pickup__none [hidden], .g2-branch__detail [hidden] { display: none; }
.g2-branch__pick { min-height: 56px; padding: 8px 12px !important; gap: 10px; }
.g2-branch__chip { flex: 0 0 auto; }
.g2-branch__where { font-size: 12px; color: var(--g2-muted); }
.g2-branch__info { align-self: center; margin-inline-end: 8px; }
.g2-branch__detail { display: flex; flex-direction: column; gap: 10px; padding: 0 12px 12px; }
.g2-branch__detail[hidden] { display: none; }
.g2-bmiss { display: flex; flex-direction: column; gap: 8px; margin: 0 !important; padding: 0 !important; }
.g2-bmiss__item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; background: var(--g2-raised); }
.g2-bmiss__frame { width: 44px; padding: 4px; border-radius: 8px; }
.g2-bmiss__text { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; font-size: 13px; }
.g2-bmiss__text b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.34; }
.g2-boff { margin-top: 10px; border-radius: 14px; border: 1px solid var(--g2-line); }
.g2-boff__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 48px; padding: 0 14px; font-size: 13.5px; color: var(--g2-muted); cursor: pointer; list-style: none; }
.g2-boff__head::-webkit-details-marker { display: none; }
.g2-boff__head::marker { content: ""; }
.g2-boff__chev { display: inline-flex; transition: transform .2s; }
.g2-boff[open] .g2-boff__chev { transform: rotate(180deg); }
.g2-boff__list { display: flex; flex-direction: column; margin: 0 !important; padding: 0 14px 10px !important; }
.g2-boff__row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 10px; padding: 8px 0; border-top: 1px solid var(--g2-line); opacity: .7; }
.g2-boff__row .g2-branch__text b { font-size: 13.5px; }
.g2-boff__missing { display: flex; flex-wrap: wrap; gap: 4px; min-width: 0; }
.g2-boff__missing .g2-chip { display: inline-block; max-width: 180px; overflow: hidden; text-overflow: ellipsis; line-height: 22px; }

/* ---------- Payment: compact tiles, "Delivering to" ---------- */
.g2-pgroup { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.g2-pgroup__title { grid-column: 1 / -1; }
.g2-pm { min-height: 64px; padding: 10px 12px; gap: 10px; }
.g2-pm__text b { font-size: 14px; }
.g2-pm__text small { display: none; }
.g2-pm.selected .g2-pm__text small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.g2-pm__text small.g2-pm__why { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; white-space: normal; }
.g2-pm__side { gap: 4px; }
.g2-co .g2-logos { gap: 4px; }
.g2-co .g2-logo { height: 20px; padding: 0 6px; font-size: 10px; }
.g2-shipto__text { gap: 4px; min-width: 0; }
.g2-shipto__who { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; }
.g2-shipto__who b { font-size: 14px; }
.g2-shipto__addr { display: -webkit-box !important; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13px; color: #c9ced4 !important; unicode-bidi: plaintext !important; }
.g2-shipto__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.g2-shipto__chips:empty { display: none; }
.g2-shipto__landmark { unicode-bidi: plaintext; text-align: start; }

/* Phones: "Delivering to" is one compact row - icon, the name, the area chip, "Change" at the end - and the address on
   one line; the landmark and the 48-hours note are hidden. Desktop unchanged. */
@media (max-width: 991px) {
    .g2-co .g2-shipto { position: relative; padding: 12px; gap: 6px; }
    .g2-shipto .g2-card__head h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
    .g2-shipto .g2-card__head { position: absolute; top: 12px; inset-inline-end: 12px; }
    .g2-shipto .g2-shipto__row { grid-template-columns: auto minmax(0, 1fr); gap: 8px 10px; align-items: center; padding-inline-end: 56px; }
    .g2-shipto .g2-shipto__text { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
    .g2-shipto .g2-shipto__who { flex: 0 1 auto; min-width: 0; }
    .g2-shipto .g2-shipto__who bdi { display: none; }
    .g2-shipto .g2-shipto__chips { flex: 0 1 auto; }
    .g2-shipto .g2-shipto__chips .g2-chip:not(:first-child) { display: none; }
    .g2-shipto .g2-shipto__addr { order: 3; flex: 1 1 100%; -webkit-line-clamp: 1; display: block !important; white-space: nowrap; text-overflow: ellipsis; }
    .g2-shipto .g2-shipto__landmark, .g2-shipto .g2-shipto__note { display: none; }
}

/* Cart, Delivery, Payment: the footer at the bottom of a short page (body.g2-sticky-footer from ViewData["StickyFooter"]).
   The body is a column; the site wrapper (header, main, footer) fills it and its main grows; content stays at the top. */
body.g2-sticky-footer { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
body.g2-sticky-footer > .site-wrapper { flex: 1 0 auto; display: flex; flex-direction: column; width: 100%; }
body.g2-sticky-footer > .site-wrapper > #main_body { flex: 1 0 auto; }
body.g2-sticky-footer > .site-wrapper > footer { flex-shrink: 0; }

/* The order summary on desktop follows the page (all three pages). */
@media (min-width: 992px) {
    .g2-co__side { position: sticky; top: 88px; align-self: start; }
}

/* Summary look: 56px thumbnails, 2-line titles, option / quantity as small muted chips, rows 12px apart with hairlines,
   a dashed line above the Total, the Total 20px with its amount in lime. */
.g2-sum .g2-sitems { gap: 0; }
.g2-sum .g2-sitem { gap: 12px; padding-block: 12px; border-top: 1px solid #23272e; }
.g2-sum .g2-sitem:first-child { border-top: 0; padding-top: 0; }
.g2-sum .g2-sitem__frame { flex: 0 0 auto; width: 56px; height: 56px; }
.g2-sum .g2-sitem__text { gap: 4px; }
.g2-sum .g2-sitem__text small { display: inline-flex; align-self: flex-start; align-items: center; min-height: 20px; padding: 0 7px; border-radius: 6px; background: var(--g2-raised); color: var(--g2-muted); font-size: 11.5px; }
.g2-sum .g2-rows { gap: 0; }
.g2-sum .g2-row { padding-block: 12px; border-top: 1px solid #23272e; }
.g2-sum .g2-row:first-child { border-top: 0; padding-top: 0; }
.g2-sum .g2-row--total { margin-top: 4px; padding-top: 14px; border-top: 1px dashed #2e333b; font-size: 20px; font-weight: 800; }
.g2-sum .g2-row--total :is(.amount, .g2-row__value, .g2-row__value *, .g2e-price, .g2e-price *) { color: #bcd767 !important; }
.g2-sum .g2-row--total + .g2-row--note { border-top: 0; }

/* Place order (Payment): a tall lime button with a soft glow; the total on a small line under it ("Place order"). */
.g2-paybtn #btnSubmit, .g2-co .g2-mbar__go[data-g2-paybar-label] { height: 56px; border-radius: 14px; font-size: 17px; font-weight: 700; box-shadow: 0 8px 24px rgba(188, 215, 103, .22); }
.g2-paybtn #btnSubmit:hover:not(:disabled), .g2-co .g2-mbar__go[data-g2-paybar-label]:hover:not(:disabled) { box-shadow: 0 10px 28px rgba(188, 215, 103, .32); filter: brightness(1.05); }
.g2-paybtn__total { display: flex; justify-content: center; align-items: baseline; gap: 6px; margin: 8px 0 0; font-size: 13px; color: var(--g2-muted); }
.g2-paybtn__total[hidden] { display: none; }
.g2-paybtn__total .orderTotal { color: var(--g2-text); font-weight: 700; }

/* Cart: what we offer, under the items (2 × 2 tiles, one column under 576px). */
.g2-cartinfo { padding: 16px; }
.g2-cartinfo__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0 !important; padding: 0 !important; list-style: none; }
.g2-cartinfo__tile { display: flex; align-items: flex-start; gap: 12px; min-width: 0; padding: 12px; border-radius: 12px; background: var(--g2-input); border: 1px solid var(--g2-line); }
.g2-cartinfo__icon { display: grid; place-items: center; flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%; background: rgba(188, 215, 103, .12); color: #bcd767; }
.g2-cartinfo__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; line-height: 1.4; }
.g2-cartinfo__text b { font-size: 13.5px; font-weight: 700; color: var(--g2-text); }
.g2-cartinfo__text small { font-size: 12.5px; color: var(--g2-muted); }
.g2-cartinfo__text a { color: var(--g2-brand) !important; font-weight: 700; }
@media (max-width: 575px) {
    .g2-cartinfo__grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Cart: remove is an icon ---------- */
.g2-citem__remove { justify-content: center; width: 36px; height: 36px; border-radius: 10px; }
.g2-citem__remove:hover { background: rgba(255, 107, 91, .1); }

/* ---------- the account home ---------- */
.g2-anav__who { color: inherit !important; border-radius: 12px 12px 0 0; }
.g2-anav__who:hover .g2-anav__name b { color: var(--g2-brand-hover); }
.g2-prof { gap: 14px; }
.g2-prof__who { display: flex; align-items: center; gap: 14px; min-width: 0; }
.g2-prof__avatar { display: grid; place-items: center; flex: 0 0 auto; width: 56px; height: 56px; border-radius: 50%; background: var(--g2-brand-soft); color: var(--g2-brand); font-size: 20px; font-weight: 800; }
.g2-prof__name { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.g2-prof__name b { font-size: 18px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.g2-prof__name small { font-size: 12.5px; color: var(--g2-muted); }
.g2-prof__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.g2-prof__chips .g2-chip { height: 26px; max-width: 100%; font-size: 12px; }
.g2-prof__chips .g2-chip bdi { overflow: hidden; text-overflow: ellipsis; }
.g2-prof__done { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; font-size: 13px; color: var(--g2-muted); }
.g2-prof__bar { display: block; height: 6px; border-radius: 3px; background: var(--g2-line2); overflow: hidden; }
.g2-prof__bar i { display: block; height: 100%; border-radius: 3px; background: var(--g2-brand); }
.g2-about__form { display: flex; flex-direction: column; gap: 18px; margin: 0; }
.g2-about__form fieldset legend { float: none; width: auto; margin: 0 0 6px; }
.g2-about__form .g2-field { max-width: 560px; }
.g2-about__date { display: grid; grid-template-columns: 84px minmax(0, 1fr) 104px; gap: 8px; }
.g2-co .g2-about__date select.g2-input { padding-inline: 12px 28px; }
/* (.g2-field__help: site.css "SHARED PARTS") */
.g2-browse__row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; }
.g2-browse__label { min-width: 84px; font-size: 12.5px; color: var(--g2-muted); }
.g2-browse__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.g2-prof__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.g2-lastorder { gap: 12px; }
.g2-lastorder__row { display: flex; align-items: center; gap: 14px; color: var(--g2-text) !important; }
.g2-lastorder__frame { width: 72px; }
.g2-lastorder__text { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.g2-lastorder__line { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; }
.g2-lastorder__line small { font-size: 12.5px; color: var(--g2-muted); }
.g2-lastorder__total { font-size: 16px; font-weight: 800; }
.g2-lastorder__track { align-self: flex-start; }
.g2-kpi__worth { align-self: flex-start; height: 26px; font-size: 12.5px; }
.g2-kpi__label { margin: 0 !important; font-weight: 500; }
.g2-idchip.g2-num { height: 26px; padding: 0 10px; font-size: 12.5px; font-weight: 700; color: var(--g2-muted); }
.g2-banner--link { color: var(--g2-text) !important; border: 1px solid var(--g2-line2); background: var(--g2-input); }
.g2-banner--link:hover { border-color: #3a4049; }

/* ---------- Orders ---------- */
.g2-ofilters { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.g2-ofilters::-webkit-scrollbar { display: none; }
.g2-ofilters .g2-pill2[aria-current="page"] { background: var(--g2-text) !important; border-color: var(--g2-text) !important; color: #0b0d10 !important; }
.g2-oprog__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.g2-ocard { display: flex; flex-direction: column; gap: 12px; padding: 14px; border-radius: 14px; border: 1px solid var(--g2-line); background: var(--g2-input); }
.g2-ocard__top { display: flex; align-items: center; gap: 12px; min-width: 0; }
.g2-ocard__frame { width: 48px; }
.g2-ocard__info { display: flex; flex: 1 1 auto; flex-direction: column; gap: 6px; min-width: 0; }
.g2-ocard__line { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; }
.g2-ocard__line small { font-size: 12px; color: var(--g2-muted); }
.g2-ocard__total { flex: 0 0 auto; font-size: 15px; font-weight: 800; }
.g2-ominitrack { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; margin: 0 !important; padding: 0 !important; list-style: none; }
.g2-ominitrack__step { height: 4px; border-radius: 2px; background: var(--g2-line2); }
.g2-ominitrack__step.is-done, .g2-ominitrack__step.is-current { background: var(--g2-brand); }
.g2-ocard__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.g2-ocard__stepname { font-size: 13px; font-weight: 600; }
.g2-omonth { margin: 18px 0 2px !important; padding: 0 4px; font-size: 12px !important; font-weight: 700 !important; letter-spacing: .06em !important; text-transform: uppercase !important; color: var(--g2-dim) !important; }
[dir="rtl"] .g2-omonth { letter-spacing: 0; }
.g2-olist > .g2-omonth:first-child { margin-top: 0 !important; }
.g2-omonth + .g2-orow { border-top: 0; }
.g2-ocancel { border-top: 1px solid var(--g2-line); }
.g2-ocancel__head { display: flex; align-items: center; justify-content: space-between; min-height: 44px; padding: 0 4px; font-size: 13px; color: var(--g2-muted); cursor: pointer; list-style: none; }
.g2-ocancel__head::-webkit-details-marker { display: none; }
.g2-ocancel__head::marker { content: ""; }
.g2-ocancel__head::after { content: "+"; font-size: 17px; }
.g2-ocancel[open] .g2-ocancel__head::after { content: "−"; }
.g2-ocancel .g2-orow { opacity: .8; }

/* ---------- order success ---------- */
.g2-okhero__next { max-width: 560px; font-size: 14.5px !important; font-weight: 600; color: var(--g2-text) !important; }
.g2-okhero__ids .g2-idchip span { color: var(--g2-muted); }
.g2-infocard p.g2-infocard__who { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.g2-infocard__action { align-self: flex-start; }
.g2-pinprompt { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 12px; margin: 0; padding: 10px 12px; border-radius: 12px; border: 1px solid rgba(244, 182, 61, .3); background: rgba(244, 182, 61, .07); font-size: 13px; color: var(--g2-text); }
.g2-pinprompt[hidden] { display: none; }
.g2-pinprompt--ok { justify-content: flex-start; border-color: rgba(61, 220, 132, .3); background: rgba(61, 220, 132, .07); color: #7be8a8; }
.g2-payref { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 12px; border-radius: 12px; border: 1px dashed rgba(244, 182, 61, .45); background: var(--g2-input); }
.g2-payref small { font-size: 12px; color: var(--g2-muted); }
.g2-payref__number { font-size: 26px; font-weight: 800; letter-spacing: .05em; color: var(--g2-text); direction: ltr; }
.g2-oline { grid-template-columns: 64px minmax(0, 1fr) auto; }
.g2-oline__frame { width: 64px; }
.g2-okactions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 12px; }
.g2-okactions__call { font-size: 13.5px; }

/* ---------- Cart: a suggestion rail with fewer cards than columns fills the row (desktop; phones scroll) ---------- */
@media (min-width: 768px) {
    .g2-co .g2-rail--square:has(> :nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .g2-co .g2-rail--square:has(> :nth-child(5):last-child) { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
    .g2-co .g2-rail--square:has(> :nth-child(6):last-child) { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (min-width: 1600px) {
    .g2-co .g2-rail--square:has(> :nth-child(7):last-child) { grid-template-columns: repeat(7, minmax(0, 1fr)); }
    .g2-co .g2-rail--square:has(> :nth-child(8):last-child) { grid-template-columns: repeat(8, minmax(0, 1fr)); }
}

