:root{--ink:#102b50;--muted:#64748b;--green:#0b3b78;--green2:#dcecf8;--yellow:#20a6a8;--cream:#f3f8fc;--line:#dce6f0;--white:#fff;--radius:22px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);font-family:'DM Sans',sans-serif;background:#fff;font-size:15px;line-height:1.6}a{color:inherit;text-decoration:none}img{max-width:100%;display:block}button,input,textarea,select{font:inherit}.topline{background:var(--green);color:#fff;text-align:center;padding:8px 15px;font-size:12px;letter-spacing:.03em}.topline span{padding:0 8px;color:#b7d7bd}.site-header{height:86px;display:flex;align-items:center;gap:34px;padding:0 max(calc((100% - 1220px)/2),5%);border-bottom:1px solid var(--line);background:#fff;position:sticky;top:0;z-index:20}.brand{display:flex;align-items:center;gap:10px;font:800 23px Manrope,sans-serif;white-space:nowrap;line-height:1.05}.brand-mark{height:39px;width:39px;border-radius:13px;background:var(--yellow);display:grid;place-items:center;color:var(--green);font-size:25px}.brand-logo{width:46px;height:46px;object-fit:contain;border-radius:10px;flex:none}.brand-g{color:var(--green)}.brand small{display:block;font:700 8px 'DM Sans';letter-spacing:.13em;color:var(--muted);margin-top:4px}.search-form{display:flex;flex:1;max-width:390px;background:#f5f6f1;border-radius:30px;padding:4px 6px 4px 17px}.search-form input,.shop-search input{border:0;background:transparent;outline:0;min-width:0;flex:1}.search-form button{border:0;background:var(--yellow);width:36px;height:36px;border-radius:50%;font-size:23px;cursor:pointer}.main-nav{display:flex;gap:24px;margin-left:auto;font-size:13px;font-weight:600}.main-nav a:hover,.text-link:hover{color:var(--green)}.header-actions{display:flex;gap:17px;align-items:center;font-size:13px;font-weight:700}.cart-link{background:var(--ink);color:white;padding:10px 15px;border-radius:25px}.cart-link b{background:var(--yellow);color:var(--ink);padding:2px 6px;border-radius:50%;margin-left:5px}.menu-toggle{display:none;border:0;background:none;font-size:23px}.hero{max-width:1220px;margin:40px auto 0;padding:32px 5% 45px;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:55px}.hero-copy h1,.page-intro h1,.success-page h1{font:800 clamp(42px,5vw,66px)/1.08 Manrope,sans-serif;letter-spacing:-.055em;margin:15px 0}.hero-copy h1 em{color:var(--green);font-style:normal}.eyebrow{font-size:10px;letter-spacing:.17em;font-weight:800;color:var(--green)}.hero-copy p{max-width:440px;color:var(--muted);font-size:16px}.hero-actions{display:flex;gap:25px;align-items:center;margin:27px 0}.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;border:0;border-radius:30px;padding:14px 22px;font-weight:700;cursor:pointer;transition:.2s}.btn:hover{transform:translateY(-2px)}.btn-dark{background:var(--green);color:white}.btn-light{background:#fff;color:var(--green)}.btn-outline{border:1px solid var(--line);background:#fff}.btn-full{width:100%}.btn-small{padding:7px 12px;font-size:12px}.text-link{font-weight:700;font-size:13px}.hero-points{display:flex;gap:15px;flex-wrap:wrap;color:#657366;font-size:11px}.hero-art{position:relative;padding:20px}.hero-art img{width:100%;height:400px;object-fit:cover;border-radius:48% 48% 25px 25px;position:relative;z-index:1}.hero-orbit{position:absolute;inset:0;border:1px solid #d8e6d7;border-radius:48% 48% 30px 30px;transform:rotate(5deg)}.hero-label{position:absolute;z-index:2;top:43px;left:0;background:var(--yellow);padding:9px 15px;border-radius:20px;font-size:10px;font-weight:800;letter-spacing:.1em}.hero-sticker{position:absolute;z-index:2;right:-3px;bottom:28px;background:var(--green);color:white;border-radius:50%;height:110px;width:110px;display:grid;align-content:center;text-align:center;font-size:12px;line-height:1.3;transform:rotate(8deg)}.hero-sticker b{font:800 16px Manrope}.trust-strip{display:grid;grid-template-columns:repeat(4,1fr);background:var(--cream);padding:24px max(calc((100% - 1120px)/2),5%);gap:18px}.trust-strip div{font-size:13px}.trust-strip small{display:block;color:var(--muted);padding-left:28px;font-size:11px}.section{max-width:1220px;margin:80px auto;padding:0 5%}.section-head{display:flex;align-items:end;justify-content:space-between;margin-bottom:27px}.section-head h2,.delivery-banner h2{font:800 clamp(27px,3vw,38px)/1.2 Manrope;margin:7px 0;letter-spacing:-.04em}.section-head p{margin:5px 0;color:var(--muted)}.category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.category-card{min-height:155px;padding:22px;border-radius:19px;display:flex;flex-direction:column;justify-content:end;transition:.2s}.category-card:hover{transform:translateY(-4px)}.tone-0{background:#f7edcf}.tone-1{background:#e1efdf}.tone-2{background:#f7e5df}.tone-3{background:#e6e8f5}.category-emoji{font-size:32px;margin-bottom:10px}.category-card b{font:700 16px Manrope}.category-card small{color:#667164;font-size:11px}.products-section{margin-top:85px}.product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.product-card{border:1px solid var(--line);border-radius:18px;overflow:hidden;background:#fff;transition:.2s}.product-card:hover{box-shadow:0 12px 30px #1d3b1a12;transform:translateY(-3px)}.product-image{height:190px;background:var(--cream);position:relative;display:block}.product-image img{height:100%;width:100%;object-fit:cover}.discount-tag{position:absolute;top:12px;left:12px;background:var(--yellow);padding:4px 9px;border-radius:12px;font-size:9px;font-weight:800}.product-info{padding:14px}.product-info>small{color:var(--muted);font-size:10px}.product-info>a{display:block;margin:4px 0 12px}.product-info>a b{font:700 14px Manrope}.product-buy{display:flex;align-items:center;justify-content:space-between;font-weight:800}.product-buy small{font-weight:400;color:var(--muted)}.product-buy button{border:0;background:var(--green);color:#fff;border-radius:50%;height:34px;width:34px;font-size:22px;cursor:pointer}.delivery-banner{max-width:1120px;margin:85px auto;background:var(--green);color:white;border-radius:26px;padding:50px 6%;display:flex;align-items:center;justify-content:space-between;overflow:hidden}.delivery-banner .eyebrow{color:#d9e9d9}.delivery-banner p{color:#d5e3d5}.banner-fruit{font-size:60px;white-space:nowrap;transform:rotate(-10deg)}.site-footer{background:#1e2c22;color:#f5f6ef;padding:55px max(calc((100% - 1120px)/2),5%) 20px;margin-top:90px}.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1.3fr;gap:40px}.footer-brand{color:white}.footer-grid p,.footer-grid a{color:#c0cbbf;font-size:12px}.footer-grid p{max-width:270px}.footer-grid>div:not(:first-child){display:flex;flex-direction:column;gap:10px}.footer-grid>div>b{font:700 13px Manrope;margin-bottom:6px}.footer-bottom{border-top:1px solid #405044;margin-top:35px;padding-top:18px;display:flex;justify-content:space-between;color:#aeb9ad;font-size:10px}.whatsapp-float{position:fixed;bottom:22px;right:22px;z-index:30;background:#1baf62;color:#fff;border-radius:50%;width:52px;height:52px;display:grid;place-items:center;font-size:25px;box-shadow:0 5px 18px #0002}.page-intro{background:var(--cream);padding:65px 8%;text-align:center}.page-intro h1{font-size:clamp(34px,4vw,52px)}.page-intro p{color:var(--muted)}.shop-layout{max-width:1220px;margin:45px auto;padding:0 5%;display:grid;grid-template-columns:190px 1fr;gap:35px}.filters{display:flex;flex-direction:column;gap:12px;font-size:13px}.filters b{font:800 16px Manrope;margin-bottom:6px}.filters a{color:var(--muted)}.filters a.active{color:var(--green);font-weight:800}.shop-search{display:flex;border:1px solid var(--line);border-radius:30px;padding:5px 7px 5px 18px;margin-bottom:10px}.shop-search .btn{padding:9px 18px}.results-count{color:var(--muted);font-size:12px;margin-bottom:18px}.breadcrumbs{font-size:11px;color:var(--muted);margin-bottom:30px}.product-detail{max-width:1100px;margin:55px auto;padding:0 5%;display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center}.detail-image{background:var(--cream);border-radius:25px;overflow:hidden}.detail-image img{width:100%;height:480px;object-fit:cover}.detail-copy h1{font:800 40px/1.1 Manrope;letter-spacing:-.04em}.detail-price{font:800 26px Manrope;color:var(--green)}.detail-price small{font:400 13px 'DM Sans';color:var(--muted)}.detail-copy p{color:var(--muted)}.stock-note{color:var(--green)!important;font-weight:700}.add-detail{display:flex;align-items:end;gap:14px;margin:25px 0}.add-detail label{font-size:11px;color:var(--muted)}.add-detail input{display:block;width:75px;padding:10px;border:1px solid var(--line);border-radius:10px}.cart-layout,.checkout-layout,.contact-layout{max-width:1120px;margin:45px auto;padding:0 5%;display:grid;grid-template-columns:1.6fr 1fr;gap:35px;align-items:start}.cart-row{display:grid;grid-template-columns:75px 1fr 70px 90px;gap:15px;align-items:center;padding:15px 0;border-bottom:1px solid var(--line)}.cart-row img{width:75px;height:75px;object-fit:cover;border-radius:12px}.cart-item-name b,.cart-item-name small{display:block}.cart-item-name small{color:var(--muted);font-size:11px}.remove-link,.link-button{border:0;background:none;color:#b34d3e;padding:4px 0;font-size:11px;cursor:pointer}.qty-input{width:60px;padding:8px;border:1px solid var(--line);border-radius:8px}.summary-card,.form-card,.admin-panel,.account-box{background:#fff;border:1px solid var(--line);border-radius:20px;padding:25px}.summary-card h2,.form-card h2,.admin-panel h2{font:800 19px Manrope;margin:0 0 20px}.summary-card>div{display:flex;justify-content:space-between;gap:12px;margin:13px 0;font-size:13px}.summary-card>div span:last-child{color:var(--muted);text-align:right}.summary-total{font-size:15px!important}.summary-total strong{font:800 21px Manrope;color:var(--green)}.summary-card hr{border:0;border-top:1px solid var(--line);margin:18px 0}.summary-card>small{display:block;color:var(--muted);font-size:10px;text-align:center;margin-top:14px}.empty-state{text-align:center;padding:45px 20px;background:var(--cream);border-radius:20px;color:var(--muted)}.empty-state h2{color:var(--ink);font:800 24px Manrope}.empty-icon{font-size:44px}.checkout-layout{grid-template-columns:1.4fr .8fr}.form-card label{display:block;font-size:12px;font-weight:700;margin:0 0 14px}.form-card input,.form-card textarea,.form-card select,.form-grid input,.form-grid textarea,.form-grid select{display:block;width:100%;margin-top:6px;padding:12px 13px;border:1px solid #dfe4da;border-radius:10px;outline-color:var(--green);background:#fff}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}.full-field{grid-column:1/-1}.radio-card{display:flex!important;gap:10px;align-items:center;border:1px solid var(--line);padding:13px;border-radius:12px}.radio-card input{width:auto;margin:0}.radio-card small{display:block;color:var(--muted);font-weight:400}.radio-card.disabled{opacity:.55}.notice{padding:12px 16px;margin:15px auto;max-width:1100px;border-radius:10px;font-size:13px}.notice.success{background:#e6f5e8;color:#23613a}.notice.error{background:#fff0ed;color:#a13f31}.auth-wrap{padding:55px 15px;background:var(--cream)}.auth-card{max-width:460px;margin:0 auto}.auth-card h1{font:800 30px Manrope;margin:7px 0 25px}.auth-card>p{font-size:12px;text-align:center;color:var(--muted)}.success-page{text-align:center;max-width:620px;margin:75px auto;padding:0 20px}.success-icon{margin:auto auto 25px;width:65px;height:65px;border-radius:50%;background:#e0f2df;color:var(--green);display:grid;place-items:center;font-size:30px}.success-page p{color:var(--muted)}.order-confirm{margin:25px auto;padding:20px;background:var(--cream);border-radius:15px;display:grid;grid-template-columns:1fr 1fr;gap:8px;text-align:left;max-width:380px}.content-page{max-width:800px;margin:55px auto;padding:0 22px}.content-page h2{font:800 23px Manrope;margin-top:30px}.content-page p{color:#626c60}.contact-layout{grid-template-columns:.8fr 1.2fr}.contact-details p{margin:20px 0;color:var(--muted)}.honeypot{position:absolute;left:-9999px}.account-box{max-width:1100px;margin:40px auto;padding:25px}.account-head{display:flex;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:20px}.account-head p{color:var(--muted);font-size:12px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:12px;text-align:left}th,td{padding:13px 10px;border-bottom:1px solid var(--line);white-space:nowrap}th{color:var(--muted)}td small{display:block;color:var(--muted)}.track-result{margin-top:25px;padding:15px;background:var(--cream);border-radius:12px}.track-result p{font-size:12px}.admin-shell{max-width:1400px;margin:30px auto;padding:0 3%;display:grid;grid-template-columns:210px 1fr;gap:25px}.admin-side{background:#f4f7f1;border-radius:18px;padding:20px;display:flex;flex-direction:column;gap:12px;align-self:start;position:sticky;top:105px}.admin-side b{font:800 13px Manrope;margin-bottom:10px}.admin-side a{padding:9px 11px;border-radius:8px;font-size:12px;color:#596457}.admin-side a.active{background:var(--green);color:white}.admin-main h1{font:800 29px Manrope}.admin-heading{display:flex;justify-content:space-between;align-items:center}.admin-role{background:var(--green2);color:var(--green);padding:6px 12px;border-radius:20px;font-size:11px}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:25px 0}.stats-grid>div{padding:20px;background:var(--cream);border-radius:15px}.stats-grid small,.stats-grid strong{display:block}.stats-grid small{color:var(--muted);font-size:11px}.stats-grid strong{font:800 25px Manrope;margin-top:7px}.admin-panel{margin:20px 0}.admin-panel .section-head{align-items:center}.inline-form{display:inline}.status-form{display:flex;gap:5px}.status-form select{max-width:130px;padding:6px;border:1px solid var(--line);border-radius:7px;font-size:11px}.admin-panel .form-grid{margin-bottom:10px}.admin-panel .form-grid label{font-size:11px}.inline-form button{font-size:11px}.muted{color:var(--muted)}
@media(max-width:900px){.site-header{gap:16px;padding:0 4%}.main-nav{gap:13px}.search-form{max-width:260px}.hero{gap:25px}.hero-art img{height:330px}.product-grid{grid-template-columns:repeat(3,1fr)}.footer-grid{grid-template-columns:repeat(2,1fr)}.delivery-banner{margin-left:4%;margin-right:4%}.admin-shell{grid-template-columns:170px 1fr}.stats-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:650px){.topline{font-size:10px}.site-header{height:70px;gap:10px;justify-content:space-between}.brand{font-size:19px}.brand-mark{height:34px;width:34px}.search-form{display:none}.main-nav{display:none;position:absolute;top:69px;left:0;right:0;background:white;padding:18px 6%;box-shadow:0 12px 15px #0001;flex-direction:column}.main-nav.is-open{display:flex}.header-actions{gap:12px}.account-link span{display:none}.menu-toggle{display:block}.hero{grid-template-columns:1fr;margin-top:15px;padding-top:25px;gap:20px}.hero-copy h1{font-size:46px}.hero-art{max-width:450px;margin:auto;width:100%}.hero-art img{height:270px}.hero-points{font-size:10px}.trust-strip{grid-template-columns:repeat(2,1fr);padding:20px 6%;gap:20px}.section{margin:55px auto}.section-head{align-items:start;gap:10px}.section-head h2{font-size:26px}.section-head>.text-link{font-size:11px;max-width:100px;text-align:right}.category-grid{grid-template-columns:repeat(2,1fr);gap:10px}.category-card{min-height:135px;padding:15px}.product-grid{grid-template-columns:repeat(2,1fr);gap:11px}.product-image{height:145px}.product-info{padding:11px}.product-info>a b{font-size:12px}.product-buy{font-size:13px}.delivery-banner{padding:35px 7%;margin:55px 4%;}.delivery-banner h2{font-size:26px}.banner-fruit{font-size:30px;white-space:normal;max-width:95px}.footer-grid{grid-template-columns:1fr 1fr;gap:28px 20px}.footer-grid>div:first-child{grid-column:1/-1}.footer-bottom{gap:12px;flex-direction:column}.page-intro{padding:45px 6%}.page-intro h1{font-size:35px}.shop-layout{grid-template-columns:1fr;margin:25px auto;gap:20px}.filters{flex-direction:row;overflow:auto;padding-bottom:8px;white-space:nowrap}.filters b{display:none}.filters a{background:var(--cream);padding:7px 12px;border-radius:20px}.product-detail{grid-template-columns:1fr;gap:25px;margin:25px auto}.detail-image img{height:300px}.detail-copy h1{font-size:32px}.cart-layout,.checkout-layout,.contact-layout{grid-template-columns:1fr;margin:25px auto;gap:20px}.cart-row{grid-template-columns:58px 1fr 55px 65px;gap:8px;font-size:12px}.cart-row img{width:58px;height:58px}.qty-input{width:50px}.form-grid{grid-template-columns:1fr}.full-field{grid-column:auto}.contact-details{order:2}.admin-shell{display:block;margin:15px auto;padding:0 4%}.admin-side{position:static;display:flex;flex-direction:row;overflow:auto;white-space:nowrap;margin-bottom:20px;padding:10px}.admin-side b{display:none}.admin-side a{font-size:10px}.admin-main h1{font-size:25px}.stats-grid{gap:8px}.stats-grid>div{padding:14px}.stats-grid strong{font-size:20px}.admin-panel{padding:15px}.status-form{min-width:180px}.account-box{margin:20px 4%;padding:15px}.success-page{margin:50px auto}}


/* ==========================================================
   GMartG responsive refinement – desktop, tablet and mobile
   Appended overrides; preserves the existing PHP page styles.
   ========================================================== */
:root {
  --content-width: 1240px;
  --page-gutter: clamp(16px, 4.5vw, 64px);
  --soft-shadow: 0 14px 38px rgba(25, 48, 28, .08);
}
html { scroll-padding-top: 100px; }
body { overflow-x: clip; -webkit-font-smoothing: antialiased; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(30,107,67,.35);
  outline-offset: 3px;
}
.sr-only {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* Header and navigation */
.site-header {
  width: 100%; max-width: none; min-height: 82px; height: auto;
  padding: 12px max(calc((100% - var(--content-width))/2), var(--page-gutter));
  gap: clamp(14px, 2.2vw, 30px);
  box-shadow: 0 4px 18px rgba(25,48,28,.035);
}
.brand { flex: 0 0 auto; }
.search-form { max-width: 440px; min-height: 46px; align-items: center; }
.search-form input { font-size: 13px; }
.main-nav { gap: clamp(13px, 1.8vw, 25px); }
.main-nav a { white-space: nowrap; }
.header-actions { gap: clamp(10px, 1.4vw, 18px); white-space: nowrap; }
.menu-toggle { cursor: pointer; border-radius: 10px; padding: 7px 9px; }
.mobile-search-wrap { display: none; }

/* Hero */
.hero {
  max-width: var(--content-width); width: 100%;
  padding: clamp(30px, 4vw, 58px) var(--page-gutter) clamp(35px, 4.5vw, 62px);
  margin: 0 auto; gap: clamp(30px, 5vw, 72px);
}
.hero-copy { min-width: 0; }
.hero-copy h1 { font-size: clamp(42px, 5.1vw, 72px); line-height: 1.04; }
.hero-copy p { font-size: clamp(15px, 1.2vw, 17px); line-height: 1.75; }
.hero-art { min-width: 0; max-width: 590px; width: 100%; justify-self: end; }
.hero-art img { height: clamp(300px, 34vw, 455px); }
.hero-sticker { right: 0; }

/* Consistent section widths and spacing */
.section {
  width: 100%; max-width: var(--content-width);
  padding-left: var(--page-gutter); padding-right: var(--page-gutter);
  margin-top: clamp(56px, 6vw, 88px);
  margin-bottom: clamp(56px, 6vw, 88px);
}
.section-head { gap: 24px; }
.section-head h2 { line-height: 1.16; }
.category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.category-card { min-width: 0; min-height: 170px; padding: 24px; }
.category-card b { overflow-wrap: anywhere; }
.product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.product-card { min-width: 0; border-radius: 20px; }
.product-image { height: clamp(165px, 17vw, 225px); overflow: hidden; }
.product-image img { transition: transform .35s ease; }
.product-card:hover .product-image img { transform: scale(1.045); }
.product-info { padding: 16px; }
.product-info>a b { line-height: 1.45; }
.product-buy { gap: 8px; }
.product-buy form { flex: 0 0 auto; }
.product-buy button { width: 40px; height: 40px; }

/* Trust and promotional panels */
.trust-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 26px max(calc((100% - 1160px)/2), var(--page-gutter));
  gap: 24px;
}
.trust-strip div { line-height: 1.5; }
.delivery-banner {
  width: calc(100% - 2 * var(--page-gutter));
  max-width: 1160px; margin: clamp(60px, 7vw, 95px) auto;
  padding: clamp(32px, 5vw, 58px) clamp(24px, 6vw, 72px);
  gap: 24px;
}
.banner-fruit { flex: 0 0 auto; }

/* Footer */
.site-footer { padding-left: max(calc((100% - 1160px)/2), var(--page-gutter)); padding-right: max(calc((100% - 1160px)/2), var(--page-gutter)); }
.footer-grid { gap: clamp(22px, 3vw, 44px); }
.footer-grid a { line-height: 1.6; }
.whatsapp-float { width: 56px; height: 56px; }

/* Inner pages use the same responsive content rhythm */
.page-intro { padding: clamp(42px, 5.5vw, 76px) var(--page-gutter); }
.shop-layout, .product-detail, .cart-layout, .checkout-layout, .contact-layout {
  width: 100%; max-width: var(--content-width);
  padding-left: var(--page-gutter); padding-right: var(--page-gutter);
}
.account-box { width: calc(100% - 2 * var(--page-gutter)); }
.admin-shell { width: 100%; }

/* Large desktop */
@media (min-width: 1500px) {
  .hero { padding-top: 64px; padding-bottom: 68px; }
  .hero-art img { height: 470px; }
  .section { margin-top: 92px; margin-bottom: 92px; }
}

/* Tablet and compact laptop */
@media (max-width: 1050px) {
  .site-header { gap: 14px; }
  .brand { font-size: 20px; }
  .search-form { max-width: 260px; }
  .main-nav { gap: 12px; font-size: 12px; }
  .header-actions { gap: 10px; }
  .hero { gap: 28px; }
  .hero-art img { height: 340px; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .shop-layout { gap: 24px; }
}

/* Mobile/tablet navigation */
@media (max-width: 760px) {
  .topline { padding: 7px 12px; font-size: 10px; }
  .site-header {
    min-height: 68px; height: 68px; padding: 8px 16px;
    gap: 8px; justify-content: space-between;
  }
  .brand { font-size: 19px; gap: 8px; }
  .brand-mark { width: 34px; height: 34px; border-radius: 11px; font-size: 22px; }
  .brand small { font-size: 7px; }
  .search-form { display: none; }
  .main-nav {
    display: none; position: absolute; top: 67px; left: 0; right: 0;
    margin: 0; padding: 12px 16px 18px; gap: 0;
    background: #fff; border-top: 1px solid var(--line);
    box-shadow: 0 14px 24px rgba(20,40,20,.12);
    flex-direction: column; z-index: 30;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 13px 8px; border-bottom: 1px solid #f0f1ec; font-size: 14px; }
  .header-actions { gap: 9px; font-size: 12px; }
  .account-link { padding: 7px; }
  .account-link span { display: none; }
  .cart-link { padding: 9px 12px; }
  .menu-toggle { display: inline-grid; place-items: center; font-size: 22px; }
  .mobile-search-wrap { display: block; padding: 12px 16px 0; }
  .mobile-search {
    display: flex; align-items: center; gap: 8px;
    width: 100%; max-width: 620px; margin: 0 auto;
    background: #f4f6f0; border: 1px solid #edf0e8;
    border-radius: 14px; padding: 5px 6px 5px 14px;
  }
  .mobile-search input {
    min-width: 0; flex: 1; height: 40px; border: 0;
    outline: 0; background: transparent; font-size: 13px;
  }
  .mobile-search button {
    flex: 0 0 40px; height: 40px; border: 0;
    border-radius: 11px; background: var(--yellow);
    color: var(--ink); font-size: 24px; cursor: pointer;
  }
  .hero {
    grid-template-columns: 1fr; margin: 0 auto;
    padding: 30px 18px 28px; gap: 18px;
  }
  .hero-copy h1 { font-size: clamp(42px, 10vw, 58px); }
  .hero-copy p { max-width: 560px; font-size: 14px; }
  .hero-actions { gap: 16px; flex-wrap: wrap; margin: 20px 0; }
  .hero-points { gap: 8px 14px; }
  .hero-art { max-width: 560px; justify-self: center; padding: 12px; }
  .hero-art img { height: clamp(220px, 58vw, 330px); border-radius: 42% 42% 20px 20px; }
  .hero-label { top: 28px; left: 0; font-size: 9px; }
  .hero-sticker { width: 88px; height: 88px; right: 0; bottom: 18px; font-size: 10px; }
  .hero-sticker b { font-size: 13px; }
  .trust-strip { grid-template-columns: repeat(2, minmax(0,1fr)); padding: 20px 18px; gap: 17px 12px; }
  .trust-strip div { font-size: 12px; }
  .trust-strip small { font-size: 10px; padding-left: 25px; }
  .section { margin: 48px auto; padding: 0 18px; }
  .section-head { align-items: flex-start; margin-bottom: 19px; gap: 12px; }
  .section-head h2 { font-size: clamp(23px, 6vw, 29px); }
  .section-head>.text-link { max-width: 112px; flex: 0 0 auto; text-align: right; font-size: 11px; }
  .category-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 11px; }
  .category-card { min-height: 132px; padding: 15px; border-radius: 16px; }
  .category-emoji { font-size: 29px; margin-bottom: 7px; }
  .category-card b { font-size: 14px; }
  .category-card small { font-size: 10px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 11px; }
  .product-image { height: clamp(125px, 37vw, 180px); }
  .product-info { padding: 11px; }
  .product-info>a { margin: 4px 0 9px; }
  .product-info>a b { font-size: 12px; }
  .product-buy { font-size: 12px; }
  .product-buy button { width: 36px; height: 36px; }
  .delivery-banner {
    width: calc(100% - 36px); margin: 48px 18px;
    padding: 30px 22px; border-radius: 20px;
  }
  .delivery-banner h2 { font-size: 25px; }
  .delivery-banner p { font-size: 13px; }
  .banner-fruit { font-size: 30px; max-width: 78px; white-space: normal; }
  .site-footer { margin-top: 55px; padding: 42px 18px 18px; }
  .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 25px 18px; }
  .footer-grid>div:first-child { grid-column: 1/-1; }
  .footer-grid p { font-size: 11px; }
  .footer-grid a { font-size: 11px; overflow-wrap: anywhere; }
  .footer-bottom { flex-direction: column; gap: 7px; font-size: 10px; }
  .whatsapp-float { right: 15px; bottom: 15px; width: 50px; height: 50px; }
  .page-intro { padding: 38px 18px; }
  .page-intro h1 { font-size: clamp(30px, 8vw, 38px); }
  .shop-layout, .product-detail, .cart-layout, .checkout-layout, .contact-layout {
    margin: 25px auto; padding: 0 18px; gap: 20px;
  }
  .shop-layout { grid-template-columns: 1fr; }
  .filters { flex-direction: row; overflow-x: auto; padding: 2px 0 10px; white-space: nowrap; }
  .filters a { flex: 0 0 auto; }
  .product-detail { grid-template-columns: 1fr; }
  .detail-image img { height: min(82vw, 360px); }
  .cart-layout, .checkout-layout, .contact-layout { grid-template-columns: 1fr; }
  .account-box { width: calc(100% - 36px); margin: 20px 18px; }
  .admin-shell { display: block; padding: 0 14px; }
  .admin-side { position: static; overflow-x: auto; white-space: nowrap; }
}

/* Small phones */
@media (max-width: 390px) {
  .brand { font-size: 17px; }
  .brand-mark { width: 31px; height: 31px; }
  .header-actions { gap: 5px; }
  .cart-link { padding: 8px 9px; }
  .hero-copy h1 { font-size: 40px; }
  .hero-actions .btn { padding: 12px 16px; }
  .hero-actions { gap: 12px; }
  .product-grid { gap: 8px; }
  .product-info { padding: 9px; }
  .product-info>a b { font-size: 11px; }
  .product-buy button { width: 33px; height: 33px; }
  .trust-strip { padding-left: 14px; padding-right: 14px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid>div:first-child { grid-column: auto; }
}

/* Very wide admin tables and forms remain usable */
@media (max-width: 760px) {
  .stats-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .table-wrap { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .form-grid { grid-template-columns: 1fr; }
  .full-field { grid-column: auto; }
  .status-form { min-width: 175px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important; animation-duration: .01ms !important;
    animation-iteration-count: 1 !important; transition-duration: .01ms !important;
  }
}
/* GMartG advanced product catalogue */
.product-detail-advanced{align-items:start}.detail-gallery{min-width:0}.detail-gallery .detail-image img{height:500px;object-fit:contain;background:#fbf9f1}.detail-thumbs{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}.detail-thumb{width:76px;height:76px;padding:3px;border:1px solid var(--line);border-radius:12px;background:#fff;cursor:pointer;overflow:hidden}.detail-thumb.active{border:2px solid var(--green)}.detail-thumb img{width:100%;height:100%;object-fit:cover;border-radius:8px}.product-brand,.product-meta-line{font-size:12px;color:var(--muted)}.detail-price del{font:500 14px 'DM Sans';color:#8b9188;margin-left:9px}.detail-discount{display:inline-block;margin-left:8px;background:#fff1d1;color:#8b5a00;border-radius:20px;padding:4px 8px;font:700 10px 'DM Sans';vertical-align:middle}.product-information{border-top:1px solid var(--line);padding-top:14px;margin-top:20px}.product-information h2{font:800 16px Manrope;margin:0 0 8px}.product-information p,.product-information li{font-size:13px;color:#687166}.product-information ul{padding-left:19px}.product-flags{display:flex;gap:24px;flex-wrap:wrap}.product-flags label{display:flex;align-items:center;gap:8px;font-size:13px}.product-flags input{width:auto;margin:0}.admin-gallery{margin-top:22px}.admin-gallery>div{display:flex;gap:14px;flex-wrap:wrap;margin-top:12px}.admin-gallery figure{margin:0;width:120px}.admin-gallery img{width:120px;height:100px;object-fit:cover;border-radius:10px;border:1px solid var(--line)}.admin-gallery form{text-align:center}.product-buy button:disabled{opacity:.35;cursor:not-allowed}.related-products{margin-top:20px}
@media(max-width:760px){.product-detail-advanced{grid-template-columns:1fr;gap:25px;margin:28px auto}.detail-gallery .detail-image img{height:340px}.detail-copy h1{font-size:32px}.detail-thumbs{gap:7px}.detail-thumb{width:64px;height:64px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.product-image{height:145px}.form-grid{grid-template-columns:1fr}.full-field{grid-column:1}.product-flags{display:block}.product-flags label{margin:8px 0}}
.catalogue-sort{display:flex;justify-content:flex-end;margin:12px 0}.catalogue-sort label{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:8px}.catalogue-sort select{border:1px solid var(--line);border-radius:20px;padding:8px 12px;background:white;color:var(--ink)}

/* Gmart blue-teal brand refinement */
.topline{background:#092e62}.hero-copy h1 em{color:#159da6}.btn-dark{background:#0b3b78}.search-form button{background:#20a6a8}.cart-link{background:#092e62}.delivery-banner{background:#0b3b78}.hero-label{background:#20a6a8;color:#062b4d}.discount-tag{background:#20a6a8;color:#062b4d}

.subcat-link{padding-left:12px;font-size:12px}

.hero-category-art{position:relative;z-index:1;min-height:400px;border-radius:34px;background:linear-gradient(145deg,#eaf4fb,#d9f0ef);display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:38px;align-content:center;box-shadow:inset 0 0 0 1px #ffffffaa}.hero-category-tile{min-height:132px;border-radius:22px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;font-size:43px;box-shadow:0 12px 30px #0b3b7810}.hero-category-tile b{font:700 13px Manrope;color:#102b50}.tile-grocery{background:#fff}.tile-snacks{background:#e1f4f2}.tile-dairy{background:#e3edf9}.tile-home{background:#f2f0fa}
@media(max-width:600px){.hero-category-art{min-height:290px;padding:20px;gap:10px}.hero-category-tile{min-height:105px;font-size:35px}}

/* Gmart brand header and continuously scrolling offer ticker */
.brand{gap:11px}.brand-logo{display:block;width:46px;height:46px;object-fit:contain;border-radius:12px;flex:none}.brand-name{display:block;color:var(--ink);font:800 23px/1.05 Manrope,sans-serif}.brand-name small{display:block;font:700 8px/1.4 'DM Sans',sans-serif;letter-spacing:.13em;color:var(--muted);margin-top:5px}
.offer-marquee{display:flex;align-items:center;width:100%;min-height:44px;overflow:hidden;background:#e8f5f6;color:#10345c;border-bottom:1px solid #d2e8e9}
.marquee-label{position:relative;z-index:2;flex:0 0 auto;background:#0b3b78;color:#fff;padding:12px 16px;font-size:10px;font-weight:800;letter-spacing:.12em}
.marquee-window{display:block;flex:1;min-width:0;overflow:hidden}
.marquee-track{display:flex;align-items:center;gap:55px;width:max-content;min-width:max-content;white-space:nowrap;padding:0 24px;font-size:12px;will-change:transform;animation:gmart-marquee-scroll 32s linear infinite}
.marquee-item{display:inline-flex;align-items:center;gap:4px;flex:0 0 auto}.marquee-track a{text-decoration:underline;text-underline-offset:3px}.marquee-track:hover{animation-play-state:paused}
@keyframes gmart-marquee-scroll{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}
@media(max-width:600px){.brand-logo{width:42px;height:42px}.brand-name{font-size:20px}.marquee-label{padding:11px 10px;font-size:9px}.marquee-track{gap:35px;animation-duration:27s}}
@media(prefers-reduced-motion:reduce){.marquee-track{animation-duration:90s}}



/* =========================================================
   GMART RESPONSIVE STORE EXPERIENCE — MOBILE + DESKTOP
   Overrides only presentation; preserves existing PHP flows.
   ========================================================= */
html, body { width:100%; max-width:100%; overflow-x:clip; }
body { min-width:320px; }
main { width:100%; max-width:100%; overflow-x:clip; }
.site-header, .topline, .site-footer { width:100%; }
.site-header { max-width:none; }
.site-header .brand { flex:0 0 auto; }
.site-header .search-form { min-width:140px; }
.product-grid, .category-grid, .trust-strip, .stats-grid { min-width:0; }
.product-card, .category-card { min-width:0; }
.product-info>a b { overflow-wrap:anywhere; }
button, .btn, .cart-link, .account-link { -webkit-tap-highlight-color:transparent; }
input, select, textarea { max-width:100%; }

/* Consistent desktop spacing and content width */
.hero { max-width:1220px; width:100%; }
.section { width:100%; }
.delivery-banner { width:calc(100% - 10%); }
.offer-marquee { position:relative; z-index:2; }
.offer-marquee .marquee-window { min-width:0; overflow:hidden; }
.offer-marquee .marquee-track {
  display:flex !important; flex:0 0 auto; width:max-content !important;
  min-width:max-content; white-space:nowrap; will-change:transform;
  animation:gmart-marquee-scroll 28s linear infinite !important;
}
.offer-marquee:hover .marquee-track { animation-play-state:paused !important; }
@keyframes gmart-marquee-scroll {
  from { transform:translate3d(0,0,0); }
  to { transform:translate3d(-50%,0,0); }
}
@media (prefers-reduced-motion:reduce) {
  .offer-marquee .marquee-track { animation-duration:45s !important; animation-iteration-count:infinite !important; }
}

/* Tablet */
@media (max-width:900px) {
  .site-header { gap:16px; padding-left:22px; padding-right:22px; }
  .main-nav { gap:14px; }
  .header-actions { gap:10px; }
  .hero { gap:24px; }
  .hero-copy h1 { font-size:clamp(38px,5vw,54px); }
  .product-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
}

/* Phone-first header and homepage */
@media (max-width:760px) {
  body { font-size:14px; }
  .topline { padding:6px 12px; font-size:10px; line-height:1.4; }
  .site-header {
    height:auto; min-height:68px; padding:9px 14px; gap:9px;
    display:grid; grid-template-columns:minmax(0,1fr) auto;
    grid-template-areas:"brand actions" "search search";
    position:sticky; top:0; z-index:50;
    box-shadow:0 3px 12px rgba(9,46,98,.06);
  }
  .site-header .brand { grid-area:brand; min-width:0; gap:8px; }
  .site-header .brand-logo { width:40px; height:40px; }
  .site-header .brand-name { font-size:19px; }
  .site-header .brand-name small { font-size:7px; letter-spacing:.1em; }
  .site-header .search-form {
    grid-area:search; display:flex; width:100%; max-width:none; min-height:42px;
    background:#f2f7fa; border:1px solid #e0ebf0; padding:3px 5px 3px 14px;
  }
  .site-header .search-form input { font-size:13px; }
  .site-header .search-form button { width:35px; height:35px; flex:0 0 35px; }
  .site-header .main-nav {
    display:none; position:absolute; top:100%; left:0; right:0; margin:0;
    padding:12px 16px 16px; background:#fff; border-top:1px solid var(--line);
    box-shadow:0 12px 20px rgba(10,40,70,.12); z-index:60;
    flex-direction:column; gap:0;
  }
  .site-header .main-nav.is-open { display:flex; }
  .site-header .main-nav a { padding:12px 8px; border-bottom:1px solid #eef2f5; }
  .site-header .header-actions { grid-area:actions; gap:8px; font-size:12px; }
  .site-header .account-link { display:inline-flex; align-items:center; gap:4px; white-space:nowrap; }
  .site-header .cart-link { padding:8px 10px; white-space:nowrap; font-size:12px; }
  .site-header .menu-toggle { display:inline-flex; align-items:center; justify-content:center; width:38px; height:38px; border-radius:10px; background:#f2f7fa; color:var(--ink); }
  .offer-marquee { min-height:38px; }
  .offer-marquee .marquee-label { padding:10px 9px; font-size:9px; letter-spacing:.06em; }
  .offer-marquee .marquee-track { gap:28px; padding:0 15px; font-size:11px; animation-duration:23s !important; }
  .gm-home { width:100%; max-width:100%; padding:0 14px; }
  .gm-home .offer-marquee { width:calc(100% + 28px); margin-left:-14px; margin-right:-14px; border-radius:0; }
  .gm-home .hero {
    width:100%; max-width:none; margin:14px 0 0; padding:21px 18px 17px;
    display:flex; flex-direction:column; align-items:stretch; gap:14px;
    border-radius:17px; overflow:hidden;
  }
  .gm-home .hero-copy h1 { font-size:clamp(31px,8.4vw,40px); line-height:1.08; margin:9px 0 12px; }
  .gm-home .hero-copy>p { font-size:14px; line-height:1.55; margin:0; }
  .gm-home .hero-actions { margin:17px 0 12px; gap:14px; flex-wrap:wrap; }
  .gm-home .hero-actions .btn { min-height:46px; padding:12px 17px; }
  .gm-home .hero-points { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:5px; font-size:10px; }
  .gm-home .hero-art { width:100%; max-width:none; padding:7px 0 0; margin:0; }
  .gm-home .hero-orbit { inset:4px 0 0; }
  .gm-home .hero-category-art { min-height:0; padding:14px; gap:9px; border-radius:18px; }
  .gm-home .hero-category-tile { min-height:76px; border-radius:13px; font-size:28px; gap:4px; }
  .gm-home .hero-category-tile b { font-size:11px; }
  .gm-home .hero-label { top:12px; left:0; padding:7px 10px; font-size:8px; }
  .gm-home .hero-sticker { width:76px; height:76px; right:0; bottom:0; font-size:9px; }
  .gm-home .hero-sticker b { font-size:12px; }
  .gm-home .mobile-search-wrap { margin:14px 0; }
  .gm-home .mobile-search { min-height:48px; }
  .gm-home .mobile-search input { font-size:13px; }
  .gm-home .trust-strip { margin:14px 0 22px; padding:0; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; background:transparent; }
  .gm-home .trust-strip>div { border:1px solid var(--line); background:#fff; border-radius:12px; padding:10px; font-size:16px; }
  .gm-home .trust-strip b { font-size:11px; }
  .gm-home .trust-strip small { font-size:10px; }
  .gm-home .section { width:100%; max-width:none; margin:28px 0; padding:0; }
  .gm-home .section-head { align-items:center; gap:8px; margin-bottom:13px; }
  .gm-home .section-head h2 { font-size:21px; line-height:1.2; }
  .gm-home .section-head .eyebrow { font-size:9px; }
  .gm-home .section-head .text-link { font-size:11px; white-space:nowrap; }
  .gm-home .category-grid { grid-template-columns:repeat(4,minmax(105px,1fr)); gap:9px; overflow-x:auto; padding:2px 1px 10px; scroll-snap-type:x mandatory; }
  .gm-home .category-card { min-height:112px; padding:12px 10px !important; border-radius:13px !important; scroll-snap-align:start; }
  .gm-home .category-emoji { font-size:26px; margin-bottom:5px; }
  .gm-home .category-card b { font-size:11px; line-height:1.25; }
  .gm-home .category-card small { font-size:9px; }
  .gm-home .product-grid, .product-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
  .gm-home .product-card, .product-card { border-radius:13px; }
  .gm-home .product-image, .product-image { height:clamp(118px,38vw,165px); }
  .gm-home .product-info, .product-info { padding:10px; }
  .gm-home .product-info>a b, .product-info>a b { font-size:12px; line-height:1.35; }
  .gm-home .product-buy { font-size:12px; gap:5px; }
  .gm-home .product-buy button, .product-buy button { width:36px; height:36px; border-radius:10px; font-size:20px; }
  .gm-home .delivery-banner { width:100%; margin:26px 0; padding:23px 18px !important; border-radius:16px !important; gap:8px; }
  .gm-home .delivery-banner h2 { font-size:23px; }
  .gm-home .delivery-banner p { font-size:12px; }
  .gm-home .banner-fruit { font-size:28px; }
  .whatsapp-float { width:48px; height:48px; right:13px; bottom:14px; }
  .site-footer { margin-top:40px; padding:34px 16px 16px; }
  .footer-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px 14px; }
  .footer-grid>div:first-child { grid-column:1/-1; }
  .footer-grid p, .footer-grid a { overflow-wrap:anywhere; }
  .footer-bottom { flex-direction:column; gap:6px; }
  .page-intro { padding:32px 16px; }
  .shop-layout, .product-detail, .cart-layout, .checkout-layout, .contact-layout { width:100%; max-width:100%; padding:0 14px; margin:22px auto; gap:16px; }
  .shop-layout { grid-template-columns:1fr; }
  .filters { flex-direction:row; overflow-x:auto; white-space:nowrap; padding:2px 0 10px; }
  .filters a { flex:0 0 auto; }
  .product-detail { grid-template-columns:1fr; }
  .detail-image img { height:min(78vw,340px); }
  .detail-copy h1 { font-size:29px; }
  .cart-layout, .checkout-layout, .contact-layout { grid-template-columns:1fr; }
  .cart-row { grid-template-columns:58px minmax(0,1fr) auto; gap:9px; }
  .cart-row img { width:58px; height:58px; }
  .cart-row>*:last-child { grid-column:2/-1; }
  .account-box { width:calc(100% - 28px); margin:18px 14px; padding:16px; }
  .admin-shell { display:block; padding:0 12px; }
  .admin-side { position:static; overflow-x:auto; white-space:nowrap; flex-direction:row; gap:8px; padding:12px; }
  .admin-side a { flex:0 0 auto; }
  .admin-main h1 { font-size:23px; }
  .stats-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
  .stats-grid>div { padding:13px; }
  .stats-grid strong { font-size:20px; }
  .table-wrap { max-width:100%; overflow-x:auto; -webkit-overflow-scrolling:touch; }
}

/* Narrow devices: prevent header and content from pushing viewport wider */
@media (max-width:390px) {
  .site-header { padding-left:10px; padding-right:10px; column-gap:6px; }
  .site-header .brand-logo { width:36px; height:36px; }
  .site-header .brand-name { font-size:17px; }
  .site-header .brand-name small { font-size:6px; }
  .site-header .header-actions { gap:5px; }
  .site-header .account-link span { display:none; }
  .site-header .cart-link { padding:7px 8px; }
  .gm-home { padding-left:11px; padding-right:11px; }
  .gm-home .offer-marquee { width:calc(100% + 22px); margin-left:-11px; margin-right:-11px; }
  .gm-home .hero-copy h1 { font-size:32px; }
  .gm-home .hero-points { font-size:9px; }
  .gm-home .category-grid { grid-template-columns:repeat(4,100px); }
  .gm-home .section-head .text-link { font-size:10px; }
}

/* GMart procurement workspace refresh */
.purchase-workspace{border:1px solid #dce6f0;border-radius:18px;background:#fff;padding:clamp(16px,2.2vw,26px);margin:18px 0;box-shadow:0 8px 26px rgba(16,43,80,.045)}
.purchase-workspace h2{font-size:clamp(20px,2vw,25px);margin:0 0 8px;color:#102b50}
.purchase-workspace h3{font-size:17px;margin:22px 0 12px}
.purchase-workspace .muted{color:#64748b}
.purchase-workspace .purchase-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:16px 0}
.purchase-workspace label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:700;color:#294563;min-width:0}
.purchase-workspace input:not([type=checkbox]),.purchase-workspace select,.purchase-workspace textarea{width:100%;min-width:0;border:1px solid #cbd8e6;border-radius:10px;padding:10px 11px;background:#fff;color:#102b50;outline:none}
.purchase-workspace input:focus,.purchase-workspace select:focus,.purchase-workspace textarea:focus{border-color:#168b9a;box-shadow:0 0 0 3px rgba(22,139,154,.12)}
.purchase-workspace .scan-upload{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:16px;border:1px dashed #9bb8d0;border-radius:14px;background:#f5f9fc;margin:16px 0}
.purchase-workspace .section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:22px}
.purchase-workspace .table-wrap{overflow:auto;border:1px solid #dce6f0;border-radius:12px;margin:12px 0}
.purchase-workspace table{width:100%;border-collapse:separate;border-spacing:0;min-width:1120px}
.purchase-workspace th{background:#f0f6fa;color:#36536f;font-size:12px;text-transform:uppercase;letter-spacing:.035em;position:sticky;top:0}
.purchase-workspace th,.purchase-workspace td{padding:10px;border-bottom:1px solid #e5edf4;text-align:left;vertical-align:middle}
.purchase-workspace td input{min-width:90px}
.purchase-workspace td:first-child input:first-child{min-width:220px}
.purchase-workspace .bill-subfield{margin-top:6px;font-size:12px;background:#f8fbfd}
.purchase-workspace #supplierExtract{border:1px solid #cfe0ed;border-radius:14px;background:linear-gradient(135deg,#f7fbfe,#eef6fa)!important}
.purchase-workspace #newScanSupplier{border-radius:14px!important;background:#fff8e9!important;border-color:#f0d79a!important}
.purchase-workspace .scan-confirm{display:flex;flex-direction:row;align-items:center;gap:10px;padding:14px;background:#f2f8f5;border:1px solid #d2e9dc;border-radius:12px;margin:16px 0}
.purchase-workspace .btn{border-radius:999px;padding:10px 18px;font-weight:700}
@media(max-width:900px){.purchase-workspace .purchase-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.purchase-workspace{padding:14px;border-radius:14px}.purchase-workspace .purchase-grid{grid-template-columns:1fr}.purchase-workspace .section-head{align-items:flex-start;flex-direction:column}.purchase-workspace .scan-upload>*{width:100%}.purchase-workspace table{min-width:1000px}}

/* =========================================================
   GMART PRODUCT-FIRST DESIGN SYSTEM – Nov 2026
   ========================================================= */
:root{--gm-primary:#0b3978;--gm-teal:#16a6a6;--gm-ink:#142d4d;--gm-muted:#687b91;--gm-border:#e3eaf1;--gm-surface:#f6f9fc}
body{background:#fff;color:var(--gm-ink)}
.topline{background:#082f68;color:#fff}
.site-header{height:78px;gap:clamp(12px,2.2vw,30px);padding-left:max(calc((100% - 1280px)/2),3%);padding-right:max(calc((100% - 1280px)/2),3%);box-shadow:0 3px 18px rgba(11,57,120,.055)}
.brand{font-size:22px;color:#12365f}.brand-logo{width:42px;height:42px}
.search-form{position:relative;max-width:540px;min-width:240px;background:#f2f6f8;border:1px solid #e4edf2;border-radius:15px;padding:5px 7px 5px 16px}
.search-form input{font-size:14px;padding:8px 4px}.search-form button{background:var(--gm-teal);color:#fff;width:38px;height:38px}
.main-nav{gap:clamp(12px,1.8vw,24px);font-size:13px}
.cart-link{background:#092f68}.cart-link b{background:#19aaa9;color:#fff}
.gm-global-search{position:relative}
.gm-search-results{position:absolute;top:calc(100% + 8px);left:0;right:0;z-index:9999;background:#fff;border:1px solid #dce7ef;border-radius:14px;box-shadow:0 18px 42px rgba(9,46,98,.17);overflow:hidden;max-height:440px;overflow-y:auto}
.gm-search-result{display:flex;align-items:center;gap:12px;padding:10px 13px;border-bottom:1px solid #eef2f6}
.gm-search-result:hover{background:#f3f9fa}
.gm-search-thumb{width:44px;height:44px;flex:none;border-radius:9px;background:#edf5f7;display:grid;place-items:center;overflow:hidden;color:#0b3978;font-weight:900}
.gm-search-thumb img{width:100%;height:100%;object-fit:contain}
.gm-search-copy{min-width:0;display:grid;gap:2px;flex:1}
.gm-search-copy b{font-size:13px;line-height:1.35}.gm-search-copy small{font-size:10px;color:#8291a1}
.gm-search-result>strong{font-size:13px;white-space:nowrap;color:#0b3978}
.gm-search-all,.gm-search-empty{display:block;padding:12px 14px;font-size:12px;font-weight:700;color:#087f87}.gm-search-empty{color:#718096;font-weight:500}
.page-intro{max-width:1280px;margin:28px auto 18px;padding:0 24px}
.page-intro h1{font-size:clamp(28px,3vw,42px);letter-spacing:-.035em;color:#14385f}
.shop-layout{max-width:1280px;margin:0 auto 60px;padding:0 24px;display:grid;grid-template-columns:230px minmax(0,1fr);gap:25px}
.filters{background:#f7fafc;border:1px solid #e5edf3;border-radius:16px;padding:17px;align-self:start;position:sticky;top:95px}
.filters>b{display:block;margin:0 0 10px;color:#12365f;font-size:15px}
.filters a{display:block;padding:8px 10px;border-radius:9px;color:#536b83;font-size:13px}
.filters a:hover,.filters a.active{background:#e6f4f5;color:#087f87;font-weight:700}
.shop-search{display:flex;gap:8px;padding:8px;background:#f5f8fb;border:1px solid #e1eaf1;border-radius:14px;margin-bottom:12px}
.shop-search input{padding:9px 12px;min-width:0;font-size:14px}.shop-search .btn{border-radius:10px;padding:9px 18px}
.catalogue-sort{display:flex;justify-content:flex-end;margin:10px 0}.results-count{font-size:12px;color:#718096}
.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.product-card{border:1px solid #e5edf3;border-radius:15px;overflow:hidden;background:#fff;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.product-card:hover{transform:translateY(-3px);border-color:#b9dfe0;box-shadow:0 12px 28px rgba(12,55,100,.09)}
.product-image{height:180px;background:#f7fafc;position:relative;display:grid;place-items:center;padding:12px}
.product-image img{height:100%;width:100%;object-fit:contain;mix-blend-mode:multiply}
.product-info{padding:12px 13px 13px}.product-info>small{display:block;color:#8392a2;font-size:10px;letter-spacing:.025em;margin-bottom:5px}
.product-info>a b{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:40px;font-size:13px;line-height:1.5;color:#183b61}
.product-buy{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:12px}
.product-buy>span{font-size:15px;font-weight:800;color:#0b3978}.product-buy>span small{font-size:10px;font-weight:500;color:#7a8b9e}
.product-buy form button{width:36px;height:34px;border-radius:10px;background:#0b3978;color:#fff;font-size:21px;line-height:1;border:0}
.product-buy form button:hover{background:#16a6a6}
.discount-tag{background:#e4f7f4;color:#087c76;border-radius:6px;padding:5px 8px;font-size:10px;font-weight:800}
.gm-home{max-width:1320px;margin:0 auto;padding-left:24px;padding-right:24px}
.gm-home .hero{border-radius:20px}.gm-home .category-grid{gap:12px}
.gm-home .category-card{border:1px solid #e4edf2;border-radius:14px;background:#fff}
.gm-home .section-head h2{color:#14385f}.gm-home .product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.site-footer{background:#092f68}
@media(max-width:1050px){.site-header{gap:12px}.main-nav{gap:12px}.header-actions{gap:8px}.product-grid,.gm-home .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.shop-layout{grid-template-columns:200px minmax(0,1fr);gap:16px}}
@media(max-width:760px){
 .site-header{height:auto;min-height:68px;flex-wrap:wrap;padding:10px 14px;gap:9px}
 .brand{font-size:19px}.brand-logo{width:36px;height:36px}
 .search-form{order:3;flex:1 0 100%;max-width:none;min-width:0}
 .main-nav{display:none;order:4;flex:1 0 100%;margin:0;padding:8px 0}.main-nav.is-open{display:flex;flex-wrap:wrap}
 .header-actions{margin-left:auto}.topline{font-size:10px;padding:6px}
 .shop-layout{display:block;padding:0 13px}.filters{position:static;display:flex;gap:6px;overflow:auto;margin-bottom:13px;padding:9px;white-space:nowrap}
 .filters>b{display:none}.filters a{flex:none;padding:7px 10px}
 .page-intro{padding:0 14px;margin:20px auto 14px}
 .product-grid,.gm-home .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .product-image{height:145px}.product-info{padding:9px}.product-info>a b{font-size:12px;min-height:36px}
 .product-buy>span{font-size:14px}.gm-home{padding-left:13px;padding-right:13px}
}
@media(min-width:761px) and (max-width:1180px){.product-grid,.gm-home .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}


/* GMart friendly colourful refresh – Nov 2026 */
:root{
 --ink:#18324f;--muted:#66788d;--green:#087f72;--green2:#d9f5ec;
 --yellow:#ffca55;--cream:#fff8e9;--line:#e4eaf2;--white:#fff;
 --gmart-coral:#ff8066;--gmart-purple:#7565c9;--gmart-blue:#3478d4;
 --radius:18px
}
body{background:#fffdfa;color:var(--ink)}
.topline{background:linear-gradient(90deg,#087f72,#159d91,#3478d4);letter-spacing:.02em}
.site-header{box-shadow:0 5px 24px rgba(24,50,79,.06);border-bottom-color:#edf0f5}
.search-form{background:#f2f7f7;border:1px solid #e4efec}
.search-form:focus-within,.shop-search:focus-within{border-color:#20a99a;box-shadow:0 0 0 3px rgba(32,169,154,.12)}
.search-form button{background:linear-gradient(135deg,#12a99b,#087f72);color:white}
.cart-link{background:#183d70}
.cart-link b{background:#ffca55;color:#18324f}
.hero{background:linear-gradient(120deg,#fff4d8 0%,#fff9ed 46%,#e8f8f3 100%);border:1px solid #f4e9cf;border-radius:28px;margin-top:28px;padding-top:42px;padding-bottom:42px}
.hero-copy h1 em{color:#078777}
.eyebrow{color:#e06d4e}
.btn-dark{background:linear-gradient(135deg,#078b7d,#087f72);box-shadow:0 8px 18px rgba(8,127,114,.18)}
.btn-light{background:#fff3d6;color:#7b4b00}
.category-card{border:1px solid rgba(24,50,79,.05);box-shadow:0 6px 20px rgba(24,50,79,.035)}
.tone-0{background:linear-gradient(145deg,#fff0c8,#ffe4a0)}
.tone-1{background:linear-gradient(145deg,#dff8ed,#c7efdf)}
.tone-2{background:linear-gradient(145deg,#ffe4dc,#ffd0c3)}
.tone-3{background:linear-gradient(145deg,#e8e4ff,#d8d2ff)}
.product-card{border-color:#e8edf3;box-shadow:0 4px 15px rgba(24,50,79,.035)}
.product-card:hover{border-color:#9edbd0;box-shadow:0 14px 30px rgba(8,127,114,.12)}
.product-buy button,.product-buy form button{background:#087f72}
.product-buy button:hover,.product-buy form button:hover{background:#ff8066}
.discount-tag{background:#fff0d1;color:#a45b00}
.delivery-banner{background:linear-gradient(115deg,#087f72,#1769a5 72%,#7565c9);box-shadow:0 15px 32px rgba(8,127,114,.15)}
.site-footer{background:linear-gradient(120deg,#17385c,#102e50 60%,#203d70)}
.whatsapp-float{box-shadow:0 8px 22px rgba(20,160,94,.25)}
.page-intro h1,.gm-home .section-head h2{color:#183b61}
.filters a:hover,.filters a.active{background:#d9f5ec;color:#087f72}
.discount-tag{border-radius:20px}

/* Admin workspace: larger targets, clear grouping, quick entry */
.admin-shell{max-width:1500px;grid-template-columns:235px minmax(0,1fr);gap:22px;margin:24px auto}
.admin-side{background:linear-gradient(180deg,#e8f8f2 0%,#f4f7ff 55%,#fff5e8 100%);border:1px solid #e1eee9;border-radius:20px;padding:16px;box-shadow:0 8px 24px rgba(24,50,79,.05);gap:6px}
.admin-side b{font-size:13px;color:#087f72;padding:7px 9px 12px;border-bottom:1px solid #dceae5}
.admin-side a{display:flex;align-items:center;min-height:40px;padding:10px 12px;border-radius:11px;font-size:13px;font-weight:600;color:#496079;transition:.18s}
.admin-side a:hover{background:#fff;color:#087f72;transform:translateX(2px)}
.admin-side a.active{background:linear-gradient(110deg,#087f72,#159d91);color:#fff;box-shadow:0 5px 12px rgba(8,127,114,.18)}
.admin-main{min-width:0}
.admin-main h1{font-size:clamp(24px,3vw,34px);letter-spacing:-.04em;color:#183b61}
.admin-heading{padding:19px 22px;background:linear-gradient(110deg,#fff2d5,#fff9ed 45%,#e8f8f3);border:1px solid #f1e6d2;border-radius:20px}
.admin-role{background:#e2eaff;color:#315c9a;font-weight:800}
.role-welcome{padding:16px 19px;background:#eef8ff;border:1px solid #d9eafb;border-left:4px solid #3478d4;border-radius:14px;margin:16px 0;color:#31516e}
.role-welcome p{margin:4px 0 0;font-size:13px;color:#63788f}
.stats-grid{gap:12px}
.stats-grid>div{background:linear-gradient(145deg,#fff,#f1f9f7);border:1px solid #e2eee9;box-shadow:0 5px 16px rgba(24,50,79,.04);border-radius:16px}
.stats-grid>div:nth-child(2){background:linear-gradient(145deg,#fff,#fff4dc)}
.stats-grid>div:nth-child(3){background:linear-gradient(145deg,#fff,#f0edff)}
.stats-grid>div:nth-child(4){background:linear-gradient(145deg,#fff,#eaf3ff)}
.stats-grid strong{color:#087f72}
.admin-panel,.account-box{border-color:#e4eaf2;box-shadow:0 7px 24px rgba(24,50,79,.045)}
.dashboard-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0}
.dashboard-shortcuts a{display:flex;flex-direction:column;gap:5px;min-height:112px;padding:17px;border-radius:16px;border:1px solid #e4eaf2;background:linear-gradient(145deg,#fff,#f3faf8);font-size:22px;transition:.18s}
.dashboard-shortcuts a:nth-child(3n+2){background:linear-gradient(145deg,#fff,#fff6e6)}
.dashboard-shortcuts a:nth-child(3n){background:linear-gradient(145deg,#fff,#f1efff)}
.dashboard-shortcuts a:hover{transform:translateY(-3px);border-color:#a6dacf;box-shadow:0 10px 22px rgba(8,127,114,.1)}
.dashboard-shortcuts a b{font-size:14px;color:#183b61}
.dashboard-shortcuts a small{font-size:11px;color:#6b7d91;line-height:1.45}
.admin-quick-search{display:flex;gap:10px;align-items:center;margin:16px 0 10px;padding:10px 14px;border:1px solid #dce8ef;border-radius:14px;background:#fff;box-shadow:0 4px 16px rgba(24,50,79,.035)}
.admin-quick-search input{border:0;outline:0;min-width:0;flex:1;padding:8px;font-size:14px}
.admin-quick-search span{color:#087f72;font-size:18px}
.admin-quick-title{display:flex;justify-content:space-between;align-items:center;margin:20px 0 8px}
.admin-quick-title h2{font:800 17px Manrope;margin:0;color:#183b61}
.admin-quick-title small{font-size:11px;color:#718096}
.admin-shortcut-hidden{display:none!important}
.admin-main .btn{border-radius:12px}
.admin-main input,.admin-main select,.admin-main textarea{border-radius:10px}
.admin-main table th{background:#edf7f5;color:#31516e}
.admin-main table tr:hover td{background:#fbfefd}
@media(max-width:900px){
 .admin-shell{grid-template-columns:1fr;gap:14px;margin:14px auto}
 .admin-side{position:static;display:flex;flex-direction:row;overflow-x:auto;white-space:nowrap;padding:9px;gap:5px}
 .admin-side b{display:none}
 .admin-side a{flex:none;min-height:38px;padding:8px 12px}
 .dashboard-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:520px){
 .dashboard-shortcuts{grid-template-columns:1fr 1fr;gap:8px}
 .dashboard-shortcuts a{min-height:104px;padding:12px}
 .admin-heading{padding:15px;align-items:flex-start;gap:10px}
 .stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .hero{margin:14px 12px 0;padding:24px 18px}
}


/* =========================================================
   GMart Storefront + Admin Redesign Rebuild (2026-11)
   Visual-only layer: preserves existing routes and workflows.
   ========================================================= */
:root{
 --ink:#16324f;--muted:#64748b;--green:#087f5b;--green2:#d8f3e8;
 --yellow:#ffd166;--cream:#f7fbf8;--line:#dce8e2;--white:#fff;
 --gmart-blue:#1769aa;--gmart-coral:#ff8066;--gmart-purple:#7966d8;
 --gmart-mint:#dff7ee;--gmart-sky:#e7f3ff;--gmart-peach:#fff0e8;
 --radius:18px;
}
body{background:#fbfdfc;color:var(--ink)}
.topline{background:linear-gradient(90deg,#075e49,#087f5b 52%,#1769aa);font-weight:700}
.site-header{height:78px;max-width:none;padding-left:max(calc((100% - 1320px)/2),3%);padding-right:max(calc((100% - 1320px)/2),3%);gap:25px;box-shadow:0 3px 18px #16324f0a}
.brand-logo{width:48px;height:48px}
.search-form{max-width:560px;background:#f0f7f3;border:1px solid #dcece4;box-shadow:inset 0 1px 2px #16324f08}
.search-form:focus-within{background:#fff;border-color:#35a982;box-shadow:0 0 0 4px #087f5b18}
.search-form input{padding:8px 2px;font-size:14px}
.search-form button{background:linear-gradient(135deg,#087f5b,#13a879);color:white}
.main-nav{gap:20px}
.main-nav a{padding:9px 11px;border-radius:10px}
.main-nav a:hover{background:#e8f7f0;color:#087f5b}
.cart-link{background:#173b61}
.cart-link b{background:#ffd166;color:#173b61}
.hero{max-width:1320px;padding-top:30px}
.hero-copy h1 em{color:#087f5b}
.eyebrow{color:#087f5b}
.hero-label{background:#ffd166;color:#173b61}
.hero-sticker{background:linear-gradient(145deg,#087f5b,#1769aa)}
.trust-strip{background:linear-gradient(90deg,#effaf4,#eef7ff,#fff7e9)}
.section{max-width:1320px}
.section-head h2{color:#173b61}
.category-grid{gap:16px}
.category-card,.category-tile{border:1px solid #e0eee6;box-shadow:0 5px 16px #16324f08;transition:.2s}
.category-card:hover,.category-tile:hover{transform:translateY(-3px);box-shadow:0 12px 25px #16324f12}
.product-grid{gap:18px}
.product-card{border:1px solid #e3ece7;border-radius:18px;box-shadow:0 5px 18px #16324f08}
.product-card:hover{border-color:#a8d9c4;box-shadow:0 15px 30px #087f5b18;transform:translateY(-4px)}
.product-image{height:205px;background:linear-gradient(145deg,#f1faf5,#f0f6ff)}
.discount-tag{background:#ffdf85;color:#714600}
.product-info{padding:15px}
.product-info>a b{color:#173b61;line-height:1.4}
.product-buy button{background:linear-gradient(135deg,#087f5b,#16a879);box-shadow:0 4px 10px #087f5b24}
.delivery-banner{background:linear-gradient(110deg,#087f5b,#1769aa);box-shadow:0 15px 35px #087f5b20}
.site-footer{background:#123451}
.whatsapp-float{box-shadow:0 8px 22px #087f5b35}

/* Admin workspace */
.admin-shell{max-width:1500px;margin:24px auto 55px;padding:0 22px;grid-template-columns:235px minmax(0,1fr);gap:22px;align-items:start}
.admin-side{background:linear-gradient(180deg,#effaf4,#f2f7ff);border:1px solid #dcebe3;border-radius:20px;padding:17px;gap:6px;box-shadow:0 8px 24px #16324f08;top:92px;max-height:calc(100vh - 110px);overflow:auto}
.admin-side b{padding:9px 10px 13px;color:#087f5b;font-size:13px;letter-spacing:.08em}
.admin-side a{display:flex;align-items:center;min-height:40px;padding:10px 12px;border-radius:11px;font-size:13px;font-weight:650;color:#36536d;transition:.15s}
.admin-side a:hover{background:#fff;color:#087f5b;transform:translateX(2px)}
.admin-side a.active{background:linear-gradient(100deg,#087f5b,#12a879);color:#fff;box-shadow:0 5px 12px #087f5b22}
.admin-main{min-width:0}
.admin-main h1{font-size:clamp(25px,3vw,34px);color:#173b61;margin:6px 0 16px}
.admin-heading{background:linear-gradient(110deg,#effaf4,#eef6ff);border:1px solid #dcebe3;border-radius:20px;padding:22px 24px;margin-bottom:18px}
.admin-role{background:#fff;color:#087f5b;border:1px solid #bfe7d3;font-weight:750}
.role-welcome{background:#fff8e6;border:1px solid #ffe2a1;border-radius:15px;padding:14px 17px}
.role-welcome p{margin:4px 0 0;color:#6c5b37}
.stats-grid{gap:14px;margin:18px 0}
.stats-grid>div{border:1px solid #e1eee7;background:#fff;border-radius:17px;box-shadow:0 5px 16px #16324f08;position:relative;overflow:hidden}
.stats-grid>div:before{content:"";position:absolute;left:0;top:0;bottom:0;width:5px;background:#16a879}
.stats-grid>div:nth-child(2):before{background:#3988d4}
.stats-grid>div:nth-child(3):before{background:#f3b83f}
.stats-grid>div:nth-child(4):before{background:#9279df}
.stats-grid small{font-size:12px;font-weight:700;color:#647b8d}
.stats-grid strong{font-size:30px;color:#173b61}
.admin-quick-search{display:flex;align-items:center;gap:12px;padding:12px 16px;border:1px solid #cfe3d9;border-radius:15px;background:#fff;box-shadow:0 5px 16px #16324f08;margin:22px 0}
.admin-quick-search>span{font-size:22px;color:#087f5b}
.admin-quick-search input{flex:1;min-width:0;border:0;outline:0;font-size:15px;padding:6px}
.admin-quick-search small{color:#087f5b;font-weight:800}
.admin-quick-title{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin:25px 0 12px}
.admin-quick-title h2{font-size:21px;margin:0;color:#173b61}
.admin-quick-title small{color:#6b8091}
.dashboard-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.admin-shortcut{display:flex;flex-direction:column;gap:7px;min-height:145px;padding:17px;border:1px solid #dfece5;border-radius:17px;background:#fff;box-shadow:0 5px 16px #16324f08;transition:.18s}
.admin-shortcut:nth-child(4n+1){background:linear-gradient(145deg,#f0fbf5,#fff)}
.admin-shortcut:nth-child(4n+2){background:linear-gradient(145deg,#eff7ff,#fff)}
.admin-shortcut:nth-child(4n+3){background:linear-gradient(145deg,#fff8e9,#fff)}
.admin-shortcut:hover{transform:translateY(-3px);border-color:#9bd7bb;box-shadow:0 12px 24px #16324f12}
.admin-shortcut>span{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:#fff;font-size:23px;box-shadow:0 3px 10px #16324f0d}
.admin-shortcut b{font-size:14px;color:#173b61}
.admin-shortcut small{font-size:11px;line-height:1.45;color:#647b8d}
.admin-shortcut-hidden{display:none!important}
.admin-panel{background:#fff;border:1px solid #e0ebe5;border-radius:18px;padding:20px;margin:18px 0;box-shadow:0 6px 20px #16324f08}
.admin-panel h2{color:#173b61}
.admin-panel .form-grid{gap:10px 15px}
.admin-panel .form-grid label,.form-grid label{font-size:12px;font-weight:750;color:#36536d}
.form-grid input,.form-grid textarea,.form-grid select,.form-card input,.form-card textarea,.form-card select,
.admin-panel input:not([type=checkbox]):not([type=file]),.admin-panel select,.admin-panel textarea{
 border:1px solid #d6e5dd;border-radius:11px;background:#fbfefc;padding:12px 13px;min-height:43px;color:#173b61;
}
.form-grid input:focus,.form-grid textarea:focus,.form-grid select:focus,.admin-panel input:focus,.admin-panel select:focus,.admin-panel textarea:focus{
 outline:0;border-color:#19a675;box-shadow:0 0 0 4px #087f5b16;background:#fff
}
.btn-dark{background:linear-gradient(110deg,#087f5b,#12a879);box-shadow:0 5px 12px #087f5b22}
.btn-dark:hover{filter:brightness(1.04)}
.btn-outline{border-color:#cfe1d7;color:#31566f}
.table-wrap{border:1px solid #e1ece6;border-radius:13px;overflow:auto}
table{min-width:650px}
th{background:#eef8f2;color:#31566f;font-size:11px;text-transform:uppercase;letter-spacing:.04em}
td{font-size:12px}
tbody tr:hover{background:#f7fcf9}
.notice{box-shadow:0 5px 15px #16324f0b}
.admin-gallery img{border-radius:12px}

/* Product data entry: clearer hierarchy and faster saving */
#product-entry{scroll-margin-top:100px}
.product-entry-actions{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin:0 0 15px}
.product-entry-actions .hint{color:#6b8091;font-size:12px;margin-right:auto}
.product-entry-actions a{font-size:12px}
.product-entry-form .full-field{grid-column:1/-1}
.product-entry-form .product-flags{display:flex;flex-wrap:wrap;gap:12px}
.product-entry-form .product-flags label{display:flex;align-items:center;gap:8px;background:#f3faf6;border:1px solid #dceee4;border-radius:11px;padding:10px 13px}
.product-entry-form .product-flags input{width:auto;margin:0}
.product-entry-form button[type=submit]{min-width:170px;min-height:48px;font-size:15px}
@media(max-width:1000px){
 .admin-shell{grid-template-columns:190px minmax(0,1fr);gap:15px}
 .dashboard-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){
 .site-header{height:auto;min-height:68px;flex-wrap:wrap;padding:9px 4%;gap:8px}
 .search-form{display:flex;order:3;flex:1 0 100%;max-width:none}
 .main-nav{top:68px}
 .hero{padding-top:20px}
 .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
 .product-image{height:155px}
 .product-info{padding:11px}
 .admin-shell{display:flex;flex-direction:column;padding:0 12px;margin:15px auto}
 .admin-side{position:static;max-height:none;width:100%;display:flex;flex-direction:row;flex-wrap:nowrap;overflow-x:auto;gap:6px;padding:9px;border-radius:14px}
 .admin-side b{display:none}
 .admin-side a{white-space:nowrap;min-height:37px;padding:8px 11px;font-size:11px}
 .admin-main{width:100%}
 .admin-heading{padding:16px}
 .stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .stats-grid>div{padding:14px}
 .stats-grid strong{font-size:25px}
 .dashboard-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .admin-shortcut{padding:13px;min-height:130px}
 .admin-panel{padding:14px}
 .form-grid{grid-template-columns:1fr}
 .form-grid .full-field{grid-column:1}
 .admin-quick-search{gap:7px}
 .admin-quick-search small{display:none}
 .admin-quick-title{align-items:flex-start;flex-direction:column}
}
@media(max-width:390px){
 .dashboard-shortcuts{grid-template-columns:1fr}
 .header-actions{gap:7px}
}

.admin-entry-bar{display:flex;flex-wrap:wrap;gap:9px;margin:12px 0 20px}.admin-entry-bar .btn{min-height:42px}.admin-entry-bar .btn-outline{background:#fff}


/* GMart Stage 7: live new-order marquee and staff dashboard navigation */
.nav-dashboard-link{background:#e8f7f0;color:#087f5b!important;border-radius:10px;padding:9px 12px;font-weight:800!important}
.gm-new-order-alert{display:flex;align-items:stretch;gap:14px;margin:16px 0 20px;padding:12px 15px;border:1px solid #cceadd;border-radius:15px;background:linear-gradient(100deg,#effcf5,#f2f8ff);box-shadow:0 5px 18px rgba(8,127,91,.07);overflow:hidden}
.gm-alert-heading{display:flex;align-items:center;gap:8px;white-space:nowrap;color:#087f5b;font-size:12px;letter-spacing:.04em}
.gm-alert-heading small{font-size:11px;color:#526b7d;letter-spacing:0;font-weight:700}
.gm-alert-dot{width:9px;height:9px;border-radius:50%;background:#ed493d;box-shadow:0 0 0 4px #ed493d20;animation:gm-alert-pulse 1.5s infinite}
.gm-alert-track{min-width:0;flex:1;overflow:hidden;white-space:nowrap}
.gm-alert-items{display:inline-flex;align-items:center;gap:28px;min-width:max-content;animation:gm-order-marquee 32s linear infinite}
.gm-alert-items:hover{animation-play-state:paused}
.gm-alert-items a{font-size:12px;color:#23465c;text-decoration:none}
.gm-alert-items a strong{color:#087f5b}
.gm-alert-items a span{color:#087f5b;font-weight:800;margin-left:5px}
.gm-alert-empty{font-size:12px;color:#5c7182}
@keyframes gm-order-marquee{0%{transform:translateX(0)}100%{transform:translateX(-45%)}}
@keyframes gm-alert-pulse{50%{box-shadow:0 0 0 7px #ed493d08;opacity:.65}}
@media(max-width:650px){.gm-new-order-alert{display:block;padding:10px 12px}.gm-alert-heading{margin-bottom:8px}.gm-alert-items{animation-duration:25s}.nav-dashboard-link{display:inline-flex}}
