:root {
  --customer-blue:#0759ca;
  --customer-ink:#0c2450;
  --customer-line:#d9e6f8;
  --customer-bg:#f0f6ff;
}
.customer { color:var(--customer-ink); background:var(--customer-bg); }
.app-icon { display:inline-block; width:1.25rem; height:1.25rem; flex-shrink:0; vertical-align:middle; }
.phone-title { display:none; }
.shop-top { background:linear-gradient(112deg,#073981,#075ccf); box-shadow:0 3px 12px #083b8126; }
.shop-top .brand-mark { width:35px; height:35px; border-radius:11px; }
.shop-top .brand small { letter-spacing:.09em; }
.app-bar-action,.shop-top .cart-link { position:relative; display:grid; place-items:center; width:42px; height:42px; border:0; padding:0; border-radius:12px; background:#ffffff16; }
.cart-link #cart-count { position:absolute; right:2px; top:1px; font-size:.68rem; line-height:1.15rem; min-width:1.12rem; padding:0 .2rem; text-align:center; }
.shop-top:has(.logo) { background:#fff; color:var(--customer-ink); border-bottom:1px solid var(--customer-line); box-shadow:0 2px 10px #083b8110; }
.shop-top:has(.logo) .top-inner { min-height:74px; }
.shop-top .logo { width:auto; height:60px; max-height:none; border-radius:0; }
.shop-top:has(.logo) a { color:var(--customer-ink); }
.shop-top:has(.logo) nav a:hover,.shop-top:has(.logo) nav .current { background:#edf4ff; color:#0753bd; }
.shop-top:has(.logo) :is(.app-bar-action,.cart-link) { background:#eef4ff; color:#0753bd; }
.shop-top:has(.logo) :is(.app-bar-action,.cart-link):hover { background:#deebff; }
.customer-rail .app-icon { margin-bottom:.2rem; }
.store-main .panel { border-color:var(--customer-line); box-shadow:0 3px 9px #1347780b; }
.store-main h1 { color:#0a285b; }
.customer .store-hero { min-height:310px; padding:clamp(1.3rem,4.5vw,3.6rem); border-radius:19px; background-image:linear-gradient(90deg,#220a53 5%,#341471ec 33%,#37187133 71%),url('../images/banners/millet-hero.webp'); background-position:center,center 58%; }
.store-hero .hero-label { font-size:.73rem; font-weight:850; letter-spacing:.11em; color:#fff2d5; }
.customer .store-hero h1 { color:#ffe364; font-size:clamp(2.1rem,4vw,4.1rem); letter-spacing:-.04em; margin-bottom:.9rem; }
.store-hero .hero-cta { background:#ffdc52; color:#281645; border-radius:999px; box-shadow:0 2px 10px #2a125c55; }
.shop-search { position:relative; gap:0; padding:.24rem; background:white; border:1px solid #c8d9f0; border-radius:12px; }
.shop-search input { border:0; background:transparent; padding-left:2.25rem; }
.shop-search input:focus-visible { outline-offset:-3px; }
.search-leading { position:absolute; top:50%; transform:translateY(-50%); left:.85rem; color:#406196; pointer-events:none; }
.search-leading .app-icon { width:1rem; height:1rem; }
.shop-search button { display:flex; gap:.35rem; white-space:nowrap; padding:.45rem .75rem; }
.shop-search button .app-icon { width:1.05rem; height:1.05rem; }
.shop-shortcuts { margin:.9rem 0 1.3rem; gap:.4rem; padding:.8rem .45rem; border:1px solid var(--customer-line); border-radius:14px; background:#fff; }
.shop-shortcuts a { display:grid; justify-items:center; align-content:start; gap:.28rem; color:var(--customer-ink); }
.shop-shortcuts a span { width:43px; height:43px; margin:0; color:white; background:linear-gradient(140deg,#328aff,#1660d3); box-shadow:0 3px 7px #1e58c831; }
.shop-shortcuts a span .app-icon { width:22px; height:22px; }
.shop-shortcuts a:nth-child(2) span { background:linear-gradient(140deg,#40b4ff,#065acb); color:#fff; }
.shop-shortcuts a:nth-child(3) span { background:linear-gradient(140deg,#ffb63b,#ee650c); color:#fff; }
.shop-shortcuts a:nth-child(4) span { background:linear-gradient(140deg,#0fb9ac,#087d86); color:#fff; }
.shop-shortcuts a:nth-child(5) span { background:linear-gradient(140deg,#b65deb,#7a24c9); color:#fff; }
.shop-shortcuts a:nth-child(6) span { background:linear-gradient(140deg,#7765fa,#4a2fba); color:#fff; }
.category-heading a { display:flex; align-items:center; gap:.2rem; font-weight:750; font-size:.85rem; }
.category-heading a .app-icon { width:.9rem; }
.catalog-filters { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:.45rem; margin:0 0 .65rem; max-width:480px; }
.catalog-filters select { min-width:0; min-height:42px; color:#1b3c70; border-color:#c9daf2; font-size:.85rem; }
.catalog-results { align-items:center; margin-bottom:.5rem; }
.catalog-results h2 { overflow-wrap:anywhere; }
.catalog-results span { flex:none; color:#4a6488; font-size:.82rem; }
.category-grid { display:grid; grid-template-columns:repeat(8,minmax(0,1fr)); gap:.55rem; margin:0 0 1rem; }
.category-tile { display:grid; justify-items:center; align-content:start; gap:.35rem; min-width:0; background:#fff; border:1px solid var(--customer-line); border-radius:12px; padding:.65rem .35rem; font-size:.88rem; font-weight:740; color:#0f2c54; text-align:center; overflow-wrap:anywhere; }
.category-tile span { display:grid; place-items:center; width:46px; height:40px; background:#fff5e0; border-radius:11px; font-size:1.5rem; }
.category-tile:nth-child(3n+2) span { background:#e9f7e6; }
.category-tile:nth-child(3n+3) span { background:#eaf2ff; }
.all-categories,.utility-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
.product-card .cart-form button { min-height:38px; width:100%; }
.product-card .product-art { background:#edf4ff; }
.product-card .product-art span,.product-detail .product-art span { background:transparent; font-size:3rem; }
.product-actions .cart-form,.product-actions form { flex:1 1 125px; }
.product-actions button { width:100%; }
.tier-grid>div { background:#fff4d9; }
.tier-grid>div:nth-child(2) { background:#e6f7e9; }
.tier-grid>div:nth-child(3) { background:#f1e5fd; }
.customer .tier-grid .selected { border:2px solid #246bd0; }
.wallet-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.7rem; margin-bottom:.8rem; }
.wallet-grid-two { grid-template-columns:repeat(2,minmax(0,1fr)); }
.wallet-tile { padding:1rem; color:#fff; background:linear-gradient(125deg,#0955cb,#478aef); border-radius:13px; }
.wallet-tile:nth-child(2) { background:linear-gradient(125deg,#6d2ad0,#9b5ee7); }
.wallet-tile:nth-child(3) { background:linear-gradient(125deg,#086d68,#198b74); }
.wallet-tile strong { display:block; font-size:1.3rem; }
.profile-banner { display:flex; align-items:center; gap:.8rem; }
.profile-avatar { display:grid; place-items:center; width:52px; height:52px; border-radius:50%; background:#ffffff24; flex-shrink:0; }
.profile-avatar .app-icon { width:29px; height:29px; }
.account-group { margin-top:.85rem; }
.account-group h2 { margin-bottom:.45rem; }
.account-list { display:grid; background:#fff; border:1px solid var(--customer-line); border-radius:11px; overflow:hidden; }
.account-list a { display:flex; align-items:center; gap:.6rem; min-height:46px; padding:.55rem .7rem; color:var(--customer-ink); font-size:.9rem; font-weight:660; }
.account-list a + a { border-top:1px solid #e8effa; }
.account-list a .app-icon { color:var(--customer-blue); }
.account-list a .app-icon:last-child { margin-left:auto; width:.9rem; }
.auth .auth-icon { display:grid; place-items:center; margin:0 auto .65rem; width:58px; height:58px; border-radius:19px; color:#0759ca; background:#e6f0ff; }
.auth .auth-icon .app-icon { width:29px; height:29px; }
.customer .auth h1,.auth .auth-subtitle { text-align:center; }
.auth .auth-subtitle { color:#4e6387; }
.auth-guest { width:100%; }
.auth-recovery { display:flex; flex-wrap:wrap; justify-content:center; gap:.25rem 1.15rem; margin:0 0 1rem; }
.auth-recovery a { display:inline-flex; align-items:center; min-height:40px; color:#16498b; font-size:.9rem; font-weight:650; }
.auth-recovery a:hover { text-decoration:underline; text-underline-offset:.2em; }
.auth-signup { display:grid; gap:.55rem; padding:1rem; margin-bottom:.75rem; border:1px solid #f2d2a6; border-radius:12px; background:#fff7eb; text-align:center; }
.auth-signup p { margin:0; color:#734013; font-size:.9rem; font-weight:650; }
.auth .auth-signup-button { width:100%; background:#a84309; color:#fff; }
.auth .auth-signup-button:hover { background:#833106; color:#fff; }
.auth-recovery a:focus-visible,.auth .auth-signup-button:focus-visible { outline:2px solid #16498b; outline-offset:3px; }
.profile-consent { display:flex; align-items:flex-start; gap:.5rem; }
.profile-consent input { width:auto; min-height:0; margin:.2rem 0 0; }
.delivery-progress { margin:0 0 .75rem; padding:.65rem .8rem; border:1px solid #b8dfc7; border-radius:10px; color:#124f2e; background:#edf9f1; font-weight:650; }
.saved-record { padding:.7rem 0; border-bottom:1px solid var(--customer-line); }
.saved-record:last-child { border-bottom:0; }
.saved-actions { display:flex; align-items:center; flex-wrap:wrap; gap:.45rem; }
.order-actions { margin-bottom:.8rem; }
.bill-sheet dl { margin:1rem 0 0 auto; max-width:390px; }
.bill-totals div { display:flex; justify-content:space-between; gap:1rem; padding:.4rem 0; }
.bill-totals dd { margin:0; text-align:right; }
.bill-total { border-top:1px solid var(--customer-line); font-weight:800; }
.order-timeline { display:grid; gap:.4rem; padding-left:1.15rem; }
@media print {
  .customer .shop-top,.customer .customer-rail,.customer .mobile-nav,.customer footer,
  .customer .account-nav,.customer .account-heading,.customer .order-actions,.customer .skip { display:none!important; }
  .customer { background:#fff; }
  .customer:not(.login-page) .store-main { width:100%; transform:none; margin:0; padding:0; }
  .customer .account-layout { display:block; }
  .customer .account-layout .panel { box-shadow:none; }
  .invoice-sheet { break-inside:auto; }
}
.referral-card { margin-bottom:1rem; }
.referral-card strong { color:var(--customer-blue); letter-spacing:.08em; }
.referral-actions { margin-top:.65rem; }
.referral-actions button { font-size:.88rem; }
#sponsor-name { margin:-.4rem 0 0; font-size:.83rem; color:#385276; }
@media(max-width:900px) {
 .shop-top nav { display:none; }
}
@media(max-width:760px) {
 .customer .top-inner { width:100%; min-height:calc(56px + env(safe-area-inset-top)); padding:env(safe-area-inset-top) .72rem 0; gap:.35rem; }
 .customer .shop-top:has(.logo) .top-inner { min-height:calc(60px + env(safe-area-inset-top)); }
 .shop-top .logo { height:50px; }
 .customer:not(.app-home) .phone-title { display:flex; align-items:center; gap:.45rem; color:white; font-weight:780; min-width:0; }
 .customer:not(.app-home) .shop-top:has(.logo) .phone-title { color:var(--customer-ink); }
 .phone-title span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
 .phone-title a { display:grid; place-items:center; width:34px; height:42px; flex:none; }
 .customer:not(.app-home) .shop-top .brand:has(+ .phone-title) { display:none; }
 .shop-top .header-end { gap:.3rem; margin-left:auto; }
 .shop-top .cart-link,.app-bar-action { width:37px; height:37px; }
 .shop-top .admin-link { font-size:.75rem; }
 .customer .store-main { padding-top:.7rem; min-height:calc(100dvh - 135px); }
 .customer:not(.login-page) .store-main,.customer:not(.login-page) footer,.customer.login-page .store-main,.customer.login-page footer { width:calc(100% - 1.25rem); }
 .customer footer { padding-bottom:calc(4rem + env(safe-area-inset-bottom)); font-size:.75rem; }
 .customer .mobile-nav { background:#fff; box-shadow:0 -3px 14px #1246851c; border-top:1px solid #d6e4fa; padding:.25rem .3rem calc(.25rem + env(safe-area-inset-bottom)); z-index:6; }
 .mobile-nav a { display:grid; justify-items:center; gap:.12rem; align-content:center; width:20%; min-height:49px; padding:.2rem .1rem; border-radius:10px; color:#455a7e; font-size:.69rem; font-weight:700; }
 .mobile-nav a.current { color:#0758cf; background:#eaf2ff; }
 .mobile-nav .app-icon { width:21px; height:21px; }
 .customer .store-hero { min-height:186px; padding:1rem .9rem; border-radius:14px; background-position:center,63% center; }
 .customer .store-hero h1 { font-size:clamp(1.75rem,6vw,2.7rem); max-width:12ch; margin-bottom:.6rem; }
 .store-hero .hero-label { font-size:.64rem; margin-bottom:.25rem; }
 .store-hero .hero-cta { min-height:35px; font-size:.82rem; padding:.35rem .75rem; }
 .shop-search { margin-bottom:.65rem; }
 .shop-search button span { display:none; }
 .shop-search button { min-height:38px; width:39px; }
 .shop-search input { min-width:0; min-height:38px; }
 .shop-shortcuts { grid-template-columns:repeat(6,minmax(0,1fr)); margin:.65rem 0 .95rem; padding:.63rem .2rem; gap:.12rem; }
 .shop-shortcuts a { font-size:.65rem; }
 .shop-shortcuts a span { width:37px; height:37px; border-radius:10px; }
 .shop-shortcuts a span .app-icon { width:19px; height:19px; }
 .category-grid { grid-template-columns:repeat(4,minmax(0,1fr)); gap:.42rem; }
 .all-categories { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .utility-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
 .category-tile { font-size:.72rem; padding:.45rem .23rem; }
 .category-tile span { width:38px; height:35px; font-size:1.28rem; }
 .chips { gap:.35rem; }
 .chips a { font-size:.78rem; padding:.35rem .55rem; }
 .catalog-filters { margin-bottom:.5rem; }
 .catalog-filters select { min-height:40px; padding:.35rem .4rem; font-size:.81rem; }
 .catalog-results { gap:.45rem; }
 .account-layout { gap:.7rem; }
 .account-nav { display:none; }
 .account-layout>.panel { border:0; background:none; padding:0; box-shadow:none; }
 .wallet-grid { gap:.4rem; }
 .wallet-tile { padding:.6rem .45rem; font-size:.73rem; }
 .wallet-tile strong { font-size:1.12rem; overflow-wrap:anywhere; }
 .customer .table-scroll { overflow:visible; }
 .customer .table-scroll table { display:block; }
 .customer .table-scroll thead { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
 .customer .table-scroll tbody { display:grid; gap:.6rem; }
 .customer .table-scroll tr { display:block; padding:.35rem .6rem; background:white; border:1px solid var(--customer-line); border-radius:10px; }
 .customer .table-scroll td { display:flex; white-space:normal; overflow-wrap:anywhere; justify-content:space-between; gap:.5rem; padding:.3rem 0; font-size:.81rem; text-align:right; }
 .customer .table-scroll td:last-child { border:0; }
 .customer .table-scroll td::before { content:attr(data-label); font-weight:700; color:#385276; text-align:left; }
 .customer .auth { margin:1rem auto; padding:1.15rem; }
 .checkout-layout aside .button { width:100%; }
 .product-detail .product-art { min-height:165px; }
}
.shop-shortcuts.shop-shortcuts-compact { grid-template-columns:repeat(4,minmax(0,1fr)); }
@media(max-width:355px) {
 .shop-shortcuts a { font-size:.6rem; }
 .shop-shortcuts a span { width:32px; height:32px; }
 .category-tile { font-size:.67rem; }
}

/* Utility recharge */
.recharge-app { width:min(100%,1040px); margin:0 auto 1.5rem; color:#142749; }
.recharge-app [hidden] { display:none!important; }
.recharge-nav,.recharge-header,.recharge-title,.recharge-wallet,.recharge-recipient,.recharge-plan-heading { display:flex; align-items:center; gap:.85rem; }
.recharge-nav { justify-content:space-between; margin-bottom:.7rem; }
.recharge-nav a { display:inline-flex; align-items:center; gap:.4rem; min-height:38px; font-size:.88rem; font-weight:750; color:#0754bb; }
.recharge-header { justify-content:space-between; flex-wrap:wrap; padding:1.1rem 1.25rem; margin-bottom:1rem; background:linear-gradient(120deg,#e2eeff,#f1f7ff); border:1px solid #d4e3fa; border-radius:22px; }
.recharge-title h1,.recharge-card h2 { margin:0; line-height:1.2; }
.recharge-title h1 { font-size:clamp(1.35rem,3vw,2rem); letter-spacing:-.025em; }
.recharge-kicker { margin:0 0 .2rem; color:#4b6286; font-size:.85rem; }
.recharge-icon { display:grid; place-items:center; flex:none; width:43px; height:43px; border-radius:14px; background:#0754bb; color:#fff; font-weight:800; }
.recharge-wallet { gap:.55rem; flex:none; padding:.5rem .75rem; background:#fff; border:1px solid #d4e3fa; border-radius:14px; }
.recharge-wallet .app-icon { color:#0754bb; }
.recharge-wallet span,.recharge-recipient span:not(.recharge-icon) { display:block; color:#4b6286; font-size:.78rem; }
.recharge-wallet strong,.recharge-recipient b { display:block; }
.recharge-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; align-items:start; }
.recharge-mobile-form { grid-template-columns:minmax(270px,.85fr) minmax(0,1.35fr); grid-template-areas:"details plans" "checkout plans" ". plans"; grid-template-rows:auto auto 1fr; }
.recharge-mobile-form .recharge-details { grid-area:details; }
.recharge-mobile-form .recharge-plans { grid-area:plans; }
.recharge-mobile-form .recharge-checkout { grid-area:checkout; }
.recharge-card { min-width:0; padding:1.1rem; background:#fff; border:1px solid #d6e4fa; border-radius:20px; box-shadow:0 4px 18px #173b6a09; }
.recharge-card h2 { font-size:1.15rem; }
.recharge-fields { display:grid; gap:.7rem; margin-top:.9rem; }
.recharge-card label { margin:0; color:#334b70; font-weight:700; }
.recharge-card input:not([type=hidden]),.recharge-card select { min-height:44px; margin:0; border-color:#c9d9ef; border-radius:10px; }
.recharge-card button { min-height:44px; }
.recharge-card button:disabled { opacity:.6; cursor:not-allowed; }
.recharge-number,.recharge-search { display:flex; align-items:center; gap:.45rem; min-width:0; }
.recharge-number span { flex:none; padding:.55rem .65rem; background:#eff5ff; border-radius:9px; color:#2e517e; font-weight:750; }
.recharge-number input,.recharge-search input { flex:1; min-width:0; }
.recharge-checkout label { display:block; margin:.75rem 0 .25rem; }
.recharge-checkout button,.recharge-actions button { width:100%; margin-top:.8rem; }
.recharge-checkout { scroll-margin-top:90px; scroll-margin-bottom:78px; }
.recharge-selected,.recharge-cashback { padding:.65rem .75rem; background:#eaf7ef; border-radius:10px; color:#16603c; font-weight:700; }
.recharge-selected { margin:.7rem 0 0; }
.recharge-plan-heading { justify-content:space-between; }
.recharge-plan-heading button { flex:none; }
.recharge-plan-status { color:#486084; margin:.7rem 0; }
.recharge-plan-tools { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,10.5rem); gap:.5rem; }
.recharge-search .app-icon { flex:none; width:18px; color:#486084; }
.recharge-categories { display:flex; flex-wrap:wrap; gap:.4rem; margin:.75rem 0 .4rem; }
.recharge-categories button { min-height:36px; padding:.35rem .68rem; border:1px solid #d4e3fa; border-radius:999px; background:#f1f6ff; color:#244875; font-size:.82rem; }
.recharge-categories button[aria-pressed=true],.recharge-plan-price[aria-pressed=true] { background:#0754bb; border-color:#0754bb; color:white; }
.recharge-plan-count { margin:.5rem 0; font-size:.8rem; color:#486084; }
.recharge-plan-results { display:grid; gap:.5rem; }
.recharge-plan { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:start; gap:.75rem; padding:.75rem; border:1px solid #dce7f7; border-radius:13px; }
.recharge-plan:has([aria-pressed=true]) { background:#f1f7ff; border-color:#83b1ed; }
.recharge-plan p { margin:.25rem 0 0; color:#425778; font-size:.87rem; overflow-wrap:anywhere; }
.recharge-validity { display:inline-block; margin-left:.45rem; padding:.12rem .42rem; border-radius:6px; background:#eaf1fb; color:#385476; font-size:.74rem; font-weight:700; }
.recharge-validity:empty { display:none; }
.recharge-plan-price { min-width:4.25rem; white-space:nowrap; }
.recharge-more { width:100%; margin-top:.7rem; }
.recharge-review { max-width:820px; }
.recharge-recipient { align-items:flex-start; margin-top:.95rem; }
.recharge-recipient b { font-size:1.2rem; }
.recharge-recipient > div { min-width:0; overflow-wrap:anywhere; }
.recharge-summary { margin:.65rem 0 0; }
.recharge-summary > div,.recharge-cashback { display:flex; justify-content:space-between; gap:.65rem; }
.recharge-summary > div { padding:.5rem 0; }
.recharge-summary dt { color:#486084; }
.recharge-summary dd { margin:0; text-align:right; font-weight:750; overflow-wrap:anywhere; }
.recharge-summary .recharge-total { border-top:1px solid #d6e4fa; margin-top:.35rem; padding-top:.75rem; align-items:center; }
.recharge-total dt { color:#142749; font-weight:750; }
.recharge-total dd { font-size:1.4rem; white-space:nowrap; }
.recharge-cashback { margin:.55rem 0 0; }

@media(max-width:760px) {
  .recharge-grid { grid-template-columns:minmax(0,1fr); gap:.7rem; }
  .recharge-mobile-form { grid-template-areas:"details" "plans" "checkout"; grid-template-rows:auto; }
  .recharge-header { padding:.85rem; margin-bottom:.7rem; gap:.6rem; }
  .recharge-card { padding:.9rem; border-radius:16px; }
}
@media(max-width:390px) {
  .recharge-plan-tools { grid-template-columns:minmax(0,1fr); }
  .recharge-wallet { padding:.4rem .55rem; }
}
