*{box-sizing:border-box}body{margin:0;font-family:Arial,"Noto Sans Tamil",sans-serif;color:#203128;background:#f7faf7}a{color:inherit}.top{height:auto;min-height:76px;background:#fff;display:flex;align-items:center;gap:28px;padding:14px max(4%,calc((100% - 1200px)/2));box-shadow:0 2px 12px #1231;position:sticky;top:0;z-index:5}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;font-weight:800;font-size:19px;white-space:nowrap}.brand small{display:block;font-size:9px;letter-spacing:3px;color:#568064}.logo{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:#176b3a;color:#fff;font-size:25px}.search{display:flex;flex:1;max-width:520px}.search input,input{border:1px solid #d7e3da;border-radius:9px;padding:12px;font-size:15px;min-width:0}.search input{width:100%;border-radius:9px 0 0 9px}.search button,.carthead button{border:0;background:#e8f3eb;padding:0 15px;border-radius:0 9px 9px 0}nav{display:flex;align-items:center;gap:16px;margin-left:auto}nav a{text-decoration:none;font-size:14px}.cartbtn{border:0;background:#176b3a;color:#fff;padding:11px 15px;border-radius:9px}.hero{max-width:1200px;margin:30px auto 20px;padding:55px 6%;border-radius:24px;background:linear-gradient(115deg,#e4f5e8,#f8f5df);display:flex;justify-content:space-between;align-items:center;overflow:hidden}.eyebrow{font-size:11px;font-weight:bold;letter-spacing:2px;color:#36744b}.hero h1{font-size:clamp(34px,5vw,56px);line-height:1.05;margin:15px 0}.hero em{color:#198047;font-style:normal}.hero p,.sectionhead p,.delivery p{color:#68786d}.hero-art{font-size:54px;line-height:1.6;transform:rotate(-8deg);padding:20px}.primary,.add{background:#176b3a;color:white;border:0;border-radius:9px;padding:12px 18px;font-weight:bold;cursor:pointer}.notice{max-width:1200px;margin:0 auto;padding:12px 18px;background:#fff5d9;border-radius:9px;font-size:14px}main{max-width:1200px;margin:38px auto;padding:0 16px}.sectionhead{display:flex;justify-content:space-between;align-items:center;margin:35px 0 18px}.sectionhead h2,.delivery h2{margin:0 0 5px;font-size:25px}.sectionhead p{margin:0}.categories{display:grid;grid-template-columns:repeat(6,1fr);gap:13px}.cat{background:white;border:1px solid #e5eee7;border-radius:13px;padding:17px 8px;display:flex;align-items:center;flex-direction:column;gap:8px;cursor:pointer}.cat span{font-size:28px}.cat small,.productbody small{color:#728078}.productgrid{display:grid;grid-template-columns:repeat(5,1fr);gap:16px}.product{background:#fff;border:1px solid #e7eee8;border-radius:14px;overflow:hidden}.productimg{height:145px;background:#edf5ee;display:grid;place-items:center;font-size:50px}.productimg img{width:100%;height:100%;object-fit:cover}.productbody{padding:13px}.productbody h3{font-size:15px;margin:7px 0}.tamil{font-size:13px;color:#64776a;margin:0 0 8px}.prices{display:flex;gap:10px;align-items:center;margin:12px 0}.prices b{color:#176b3a;font-size:18px}.prices del{font-size:12px;color:#98a39b}.add{width:100%;padding:10px}.delivery{margin:45px 0;background:#e8f4eb;border-radius:18px;padding:28px;display:flex;justify-content:space-between;align-items:center;gap:20px}.delivery input{width:190px}footer{background:#173d29;color:#fff;text-align:center;padding:35px 15px}footer p,footer small{color:#c8ddcf}.cartpanel{position:fixed;right:-420px;top:0;width:min(400px,100%);height:100vh;background:#fff;z-index:10;box-shadow:-5px 0 30px #0002;padding:20px;transition:.25s;display:flex;flex-direction:column}.cartpanel.open{right:0}.carthead{display:flex;justify-content:space-between;align-items:center}.carthead button{font-size:22px}.cartfoot{margin-top:auto;display:grid;gap:12px}.cartrow{display:flex;justify-content:space-between;padding:12px 0;border-bottom:1px solid #eee}.assistant{position:fixed;right:20px;bottom:20px;z-index:8}.ai-toggle{border:0;border-radius:25px;padding:13px 18px;background:#174e32;color:white;box-shadow:0 5px 18px #0003}#chatbox{display:none;position:absolute;right:0;bottom:58px;width:min(350px,calc(100vw - 35px));height:420px;background:#fff;border-radius:15px;box-shadow:0 8px 35px #0003;overflow:hidden}#chatbox.show{display:flex;flex-direction:column}.chat-title{background:#176b3a;color:white;padding:14px;display:flex;justify-content:space-between}.chat-title button{background:none;border:0;color:white;font-size:20px}.chatinput{display:flex;padding:10px;gap:7px}.chatinput input{flex:1;width:0}.chatinput button{background:#176b3a;color:#fff;border:0;border-radius:8px;padding:0 14px}#chatlog{padding:12px;overflow:auto;flex:1}.bubble{background:#edf5ee;padding:10px;border-radius:10px;font-size:14px;line-height:1.5}.bubble.user{background:#e2efff;margin-left:35px}.bubble.bot{margin-right:25px}.hidden{display:none}@media(max-width:850px){.top{flex-wrap:wrap;gap:10px}.search{order:3;flex-basis:100%;max-width:none}nav{gap:10px}nav a{font-size:12px}.hero{margin:15px;padding:35px 22px}.hero-art{font-size:35px}.categories{grid-template-columns:repeat(3,1fr)}.productgrid{grid-template-columns:repeat(2,1fr)}.delivery{display:block}.delivery input{width:65%}}@media(min-width:851px) and (max-width:1100px){.productgrid{grid-template-columns:repeat(4,1fr)}.categories{grid-template-columns:repeat(3,1fr)}}
.accountbox{background:#fff;border:1px solid #e5eee7;border-radius:14px;padding:22px;margin:20px 0}.formgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:end}.formgrid label{display:grid;gap:6px;font-size:14px}.formgrid .wide{grid-column:1/-1}.formgrid textarea{min-height:80px;border:1px solid #d7e3da;border-radius:9px;padding:12px;font:inherit}.formgrid .check{display:flex;align-items:center}.addresscard,.ordercard{border:1px solid #e5eee7;border-radius:10px;padding:14px;margin:10px 0}.ordercard{display:flex;justify-content:space-between;align-items:center;gap:12px}.ordercard p{color:#68786d;margin:6px 0}.tag{font-size:11px;background:#e5f4e9;color:#176b3a;border-radius:20px;padding:4px 8px}.alert{background:#fff0ed;color:#a32d1b;padding:12px;border-radius:8px}.success{background:#e7f6e9;color:#176b3a;padding:12px;border-radius:8px}table{width:100%;border-collapse:collapse;background:white}th,td{text-align:left;padding:11px;border-bottom:1px solid #e5eee7;font-size:13px}th{background:#edf5ee}td form{margin:0}td button,td a{font-size:12px}@media(max-width:650px){.formgrid{grid-template-columns:1fr}.formgrid .wide{grid-column:auto}.ordercard{align-items:flex-start;flex-direction:column}}
.installbtn{border:1px solid #176b3a;color:#176b3a;background:#fff;padding:10px 12px;border-radius:9px;font-weight:bold;cursor:pointer}
/* Valarmathy Supermarket - friendly responsive theme overrides
   Append this file's contents to assets/style.css (do not replace existing CSS). */

:root {
  --vm-green: #176b3a;
  --vm-green-dark: #104d2b;
  --vm-green-soft: #eaf6ed;
  --vm-cream: #fbfdf9;
  --vm-ink: #183326;
  --vm-muted: #64756b;
  --vm-border: #dce8df;
  --vm-shadow: 0 8px 26px rgba(24, 51, 38, .07);
  --vm-radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--vm-cream);
  color: var(--vm-ink);
  font-family: Inter, "Noto Sans Tamil", "Nirmala UI", system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.6;
}
a { color: var(--vm-green); text-underline-offset: 3px; }
a:hover { color: var(--vm-green-dark); }
img { max-width: 100%; height: auto; }

/* Header / navigation */
header.top, .top {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px max(18px, calc((100% - 1240px)/2));
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--vm-border);
  box-shadow: 0 3px 14px rgba(24,51,38,.045);
  backdrop-filter: blur(12px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--vm-green-dark);
  font-size: 17px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
.brand small { display:block; font-size:10px; letter-spacing:1.2px; color:var(--vm-muted); }
.logo {
  display:grid;
  place-items:center;
  width:40px;
  height:40px;
  border-radius:13px;
  background:var(--vm-green);
  color:#fff;
  font-weight:900;
}
.top nav, header.top nav { display:flex; align-items:center; gap:16px; flex-wrap:wrap; }
.top nav a { font-weight:650; text-decoration:none; }
.top nav a:hover { text-decoration:underline; }

/* Main page width */
main, .container, .page, .content {
  width: min(1180px, calc(100% - 36px));
  margin: 28px auto;
}
h1,h2,h3,h4 { color:var(--vm-ink); line-height:1.25; letter-spacing:-.02em; }
h1 { font-size:clamp(27px,3vw,38px); margin:0 0 16px; }
h2 { font-size:clamp(21px,2vw,27px); margin:30px 0 12px; }
h3 { font-size:19px; margin:22px 0 10px; }
p { color:var(--vm-muted); }

/* Store hero */
.hero, .hero-banner, .banner {
  position:relative;
  overflow:hidden;
  border:1px solid #e1efe3;
  border-radius:24px;
  padding:clamp(26px,5vw,56px);
  margin:22px 0 28px;
  background:linear-gradient(115deg,#e5f5e8 0%,#f5f8e9 100%);
  box-shadow:var(--vm-shadow);
}
.hero h1, .hero-banner h1 { max-width:700px; font-size:clamp(30px,4vw,46px); color:#14502f; }
.hero p, .hero-banner p { max-width:650px; font-size:16px; }

/* Cards and grids */
.card, .panel, .product-card, .category-card, .stat-card, .dashboard-card {
  background:#fff;
  border:1px solid var(--vm-border);
  border-radius:var(--vm-radius);
  box-shadow:var(--vm-shadow);
  padding:18px;
}
.card:hover, .product-card:hover, .category-card:hover {
  border-color:#b8d8c1;
  box-shadow:0 12px 30px rgba(24,51,38,.10);
}
.grid, .products, .product-grid, .category-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));
  gap:16px;
}
.category-grid a, .category a {
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:11px 14px;
  margin:4px;
  border:1px solid var(--vm-border);
  border-radius:999px;
  background:#fff;
  color:var(--vm-green-dark);
  font-weight:650;
  text-decoration:none;
}
.category-grid a:hover, .category a:hover { background:var(--vm-green-soft); }

/* Forms */
form { max-width:100%; }
label { display:block; margin:12px 0 6px; color:#294638; font-weight:650; }
input, select, textarea {
  display:block;
  width:100%;
  min-height:46px;
  padding:11px 13px;
  border:1px solid #cfddd2;
  border-radius:10px;
  background:#fff;
  color:var(--vm-ink);
  font:inherit;
  outline:none;
  transition:border-color .15s, box-shadow .15s;
}
textarea { min-height:110px; resize:vertical; }
input:focus, select:focus, textarea:focus {
  border-color:var(--vm-green);
  box-shadow:0 0 0 3px rgba(23,107,58,.12);
}
input::placeholder, textarea::placeholder { color:#8b9a90; }

/* Buttons */
button, .button, a.button, .primary, input[type=submit] {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:42px;
  padding:10px 17px;
  border:1px solid var(--vm-green);
  border-radius:10px;
  background:var(--vm-green);
  color:#fff !important;
  font:inherit;
  font-weight:700;
  text-decoration:none;
  cursor:pointer;
  transition:background .15s, transform .15s, box-shadow .15s;
}
button:hover, .button:hover, .primary:hover, input[type=submit]:hover {
  background:var(--vm-green-dark);
  box-shadow:0 5px 14px rgba(23,107,58,.18);
  transform:translateY(-1px);
}
button:focus-visible, a:focus-visible, input:focus-visible {
  outline:3px solid rgba(23,107,58,.25);
  outline-offset:2px;
}

/* Admin dashboard */
.admin-nav, .dashboard-nav {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  padding:12px 16px;
  background:#fff;
  border:1px solid var(--vm-border);
  border-radius:14px;
  margin-bottom:22px;
}
.admin-stats, .stats, .dashboard-stats {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(170px,1fr));
  gap:14px;
  margin:18px 0 26px;
}
.admin-stats > *, .stats > *, .dashboard-stats > * {
  background:#fff;
  border:1px solid var(--vm-border);
  border-left:4px solid var(--vm-green);
  border-radius:13px;
  padding:17px;
  box-shadow:var(--vm-shadow);
}
.admin-stats strong, .stats strong, .dashboard-stats strong {
  display:block;
  font-size:25px;
  color:var(--vm-green-dark);
}

/* Tables / inventory */
table {
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  overflow:hidden;
  background:#fff;
  border:1px solid var(--vm-border);
  border-radius:13px;
}
th, td { padding:12px 13px; text-align:left; border-bottom:1px solid #edf2ee; vertical-align:middle; }
th { background:#eff7f0; color:#245338; font-weight:750; }
tr:last-child td { border-bottom:0; }
tbody tr:hover { background:#fbfefb; }

/* Notices */
.alert, .notice, .success, .error, .login-error {
  padding:12px 15px;
  border-radius:10px;
  margin:12px 0;
}
.success { background:#eaf7ed; color:#17613a; }
.error, .login-error { background:#fff0ee; color:#9b2d22; }

/* Product imagery */
.product-card img, .category-card img {
  display:block;
  width:100%;
  aspect-ratio:1/1;
  object-fit:contain;
  border-radius:11px;
  background:#f7faf7;
}
.price, .sale-price { color:var(--vm-green-dark); font-weight:800; font-size:18px; }
.mrp, del { color:#849188; }

/* Small screens */
@media (max-width:760px) {
  header.top, .top {
    position:relative;
    align-items:flex-start;
    flex-direction:column;
    padding:12px 16px;
    gap:10px;
  }
  .top nav, header.top nav { width:100%; gap:10px 15px; }
  main, .container, .page, .content { width:calc(100% - 24px); margin:18px auto; }
  .hero, .hero-banner, .banner { border-radius:17px; padding:24px 19px; }
  .admin-stats, .stats, .dashboard-stats { grid-template-columns:repeat(2,minmax(0,1fr)); }
  table { display:block; overflow-x:auto; white-space:nowrap; }
  button, .button, .primary { min-height:44px; }
}
@media (max-width:390px) {
  .admin-stats, .stats, .dashboard-stats { grid-template-columns:1fr; }
  .brand { font-size:15px; }
}



/* ===== PHASE 2 CUSTOMER THEME OVERRIDES ===== */
/* VALARMATHY SUPERMARKET — Phase 2 visual upgrade
   Append to the END of public_html/assets/style.css.
   Presentation only: preserves existing PHP/API/database behaviour. */

:root{
 --vm-primary:#176b3a;--vm-primary-dark:#10522d;--vm-primary-soft:#eaf6ed;
 --vm-accent:#f4b942;--vm-ink:#183326;--vm-muted:#68786f;
 --vm-line:#e2ebe4;--vm-surface:#fff;--vm-bg:#f7faf7;
 --vm-shadow:0 8px 26px rgba(21,61,37,.075);--vm-radius:18px
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{background:var(--vm-bg);color:var(--vm-ink);font-family:Inter,"Noto Sans Tamil","Nirmala UI",Arial,sans-serif;font-size:15px;line-height:1.55}
a{color:var(--vm-primary);text-underline-offset:3px}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
.top{min-height:74px;padding:11px max(18px,calc((100% - 1240px)/2));gap:20px;border-bottom:1px solid var(--vm-line);box-shadow:0 3px 15px rgba(20,50,30,.055)}
.brand{color:var(--vm-primary-dark);font-size:18px;letter-spacing:-.3px}
.brand small{letter-spacing:1.7px;font-size:9px}
.logo{box-shadow:0 4px 10px #176b3a2b}
.search{border:1px solid var(--vm-line);border-radius:12px;background:#fff;overflow:hidden;box-shadow:0 2px 8px #18332608}
.search input{border:0!important;box-shadow:none!important;min-height:44px;padding:11px 14px}
.search button,.carthead button{min-width:48px;background:var(--vm-primary-soft);color:var(--vm-primary-dark);font-weight:700}
nav{gap:15px}
nav a{font-weight:650;color:#345744}
nav a:hover{color:var(--vm-primary);text-decoration:underline}
.cartbtn{min-height:43px;padding:10px 17px;border-radius:12px;box-shadow:0 4px 12px #176b3a24}
.hero{max-width:1240px;margin:28px auto 20px;padding:clamp(30px,5vw,62px);border:1px solid #e0eee2;box-shadow:var(--vm-shadow);background:linear-gradient(115deg,#e5f5e8 0%,#f5f7e8 100%)}
.eyebrow{display:inline-block;padding:6px 11px;border-radius:999px;background:#fff9;color:var(--vm-primary-dark);letter-spacing:1.3px}
.hero h1{color:#164c2e;max-width:720px;letter-spacing:-1.5px}
.hero p{font-size:16px;line-height:1.8;max-width:620px}
.hero .primary{display:inline-flex;margin-top:9px;min-height:46px;padding:12px 21px;border-radius:12px;box-shadow:0 5px 13px #176b3a25}
.hero-art{filter:drop-shadow(0 8px 10px #176b3a16)}
.notice{max-width:1200px;border:1px solid #f1dfac;background:#fff8e7;color:#70551b;padding:13px 17px}
main{max-width:1240px;margin:34px auto;padding:0 20px}
.sectionhead{margin:36px 0 17px;gap:12px}
.sectionhead h2,.delivery h2{font-size:clamp(21px,2.3vw,27px);letter-spacing:-.6px;color:var(--vm-ink)}
.sectionhead p,.delivery p{line-height:1.7}
.categories{grid-template-columns:repeat(6,minmax(0,1fr));gap:14px}
.cat{min-height:112px;border:1px solid var(--vm-line);border-radius:16px;padding:17px 10px;background:#fff;box-shadow:0 3px 12px #18332608;transition:transform .18s,border-color .18s,box-shadow .18s}
.cat:hover{transform:translateY(-3px);border-color:#b8d8c1;box-shadow:var(--vm-shadow);background:#fbfffb}
.cat span{font-size:32px}
.cat strong,.cat b{font-size:13px;line-height:1.35;text-align:center}
.cat small{font-size:11px}
.productgrid{grid-template-columns:repeat(5,minmax(0,1fr));gap:17px}
.product{border:1px solid var(--vm-line);border-radius:17px;box-shadow:0 4px 15px #18332608;transition:transform .18s,box-shadow .18s,border-color .18s}
.product:hover{transform:translateY(-3px);border-color:#c5dfcb;box-shadow:var(--vm-shadow)}
.productimg{height:170px;background:linear-gradient(145deg,#f2f8f2,#f8faf5);color:#8aa591}
.productimg img{object-fit:contain;padding:12px}
.productbody{padding:15px}
.productbody h3{font-size:15px;line-height:1.45;min-height:42px;color:#243d2e}
.tamil{line-height:1.55;min-height:20px}
.prices{margin:13px 0;gap:9px;flex-wrap:wrap}
.prices b{font-size:19px;color:var(--vm-primary-dark)}
.prices del{font-size:13px;color:#89978e}
.add,.primary{min-height:43px;border-radius:11px;background:var(--vm-primary);box-shadow:0 3px 9px #176b3a1b;transition:background .15s,transform .15s}
.add:hover,.primary:hover{background:var(--vm-primary-dark);transform:translateY(-1px)}
.delivery{margin:48px 0 35px;padding:clamp(22px,4vw,34px);border:1px solid #dcecdf;background:linear-gradient(120deg,#eaf6ed,#f5f8ed);border-radius:20px}
.delivery input{min-height:47px;border-radius:11px;border:1px solid #cfdfd2;background:#fff;padding:12px 14px}
#pinResult{font-weight:650;margin-top:10px}
footer{margin-top:50px;background:#153d29;padding:42px 18px}
footer a{color:#fff}
.cartpanel{width:min(430px,100%);padding:22px;border-radius:20px 0 0 20px;box-shadow:-10px 0 35px #10271924}
.carthead{padding-bottom:14px;border-bottom:1px solid var(--vm-line)}
.carthead h2{font-size:22px}
.carthead button{width:40px;height:40px;border-radius:10px}
.cartrow{align-items:center;gap:12px;border-bottom:1px solid #edf2ee;padding:14px 0}
.cartrow button{min-width:30px;min-height:30px;border:1px solid var(--vm-line);border-radius:8px;background:#f5faf6;color:var(--vm-primary);font-weight:800}
.cartfoot{padding-top:17px;border-top:1px solid var(--vm-line)}
.cartfoot strong,#cartTotal{font-size:21px;color:var(--vm-primary-dark)}
.assistant{right:22px;bottom:22px}
.ai-toggle{min-height:49px;border-radius:999px;background:var(--vm-primary-dark);padding:13px 20px;font-weight:750;box-shadow:0 7px 22px #123b2650}
#chatbox{border:1px solid var(--vm-line);border-radius:18px;height:min(470px,70vh);box-shadow:0 12px 45px #1027192b}
.chat-title{background:var(--vm-primary-dark);padding:15px 17px;font-weight:750}
#chatlog{background:#fbfdfb}
.bubble{padding:11px 13px;border-radius:13px;line-height:1.65}
.bubble.user{background:#e5efff}
.bubble.bot{background:#edf6ef;border:1px solid #e0eee3}
.chatinput{border-top:1px solid var(--vm-line);background:#fff;padding:11px}
.chatinput input{border:1px solid var(--vm-line);border-radius:10px;padding:11px}
.chatinput button{min-width:48px;border-radius:10px;background:var(--vm-primary);font-weight:700}
input,select,textarea{border:1px solid #d5e1d8;border-radius:10px;min-height:44px;padding:11px 13px;outline:none}
input:focus,select:focus,textarea:focus{border-color:var(--vm-primary);box-shadow:0 0 0 3px #176b3a1c}
:focus-visible{outline:3px solid #176b3a38;outline-offset:2px}

/* Generic admin styles, if these common elements are present */
.admin-nav,.dashboard-nav{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;background:#fff;border:1px solid var(--vm-line);border-radius:15px;padding:13px 17px;margin-bottom:22px}
.admin-stats,.stats,.dashboard-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:14px;margin:18px 0 26px}
.admin-stats>*,.stats>*,.dashboard-stats>*{background:#fff;border:1px solid var(--vm-line);border-left:4px solid var(--vm-primary);border-radius:14px;padding:17px;box-shadow:0 4px 15px #18332609}
table{width:100%;border-collapse:separate;border-spacing:0;background:#fff;border:1px solid var(--vm-line);border-radius:13px;overflow:hidden}
th,td{padding:12px 14px;border-bottom:1px solid #edf2ee;text-align:left}
th{background:#eff7f0;color:#28543a}
tr:last-child td{border-bottom:0}
@media(max-width:1000px){.categories{grid-template-columns:repeat(3,minmax(0,1fr))}.productgrid{grid-template-columns:repeat(3,minmax(0,1fr))}.hero{margin:18px 16px}}
@media(max-width:700px){
 .top{position:sticky;min-height:unset;padding:10px 13px;gap:10px;flex-wrap:wrap}
 .brand{font-size:16px}.logo{width:37px;height:37px}
 nav{width:100%;order:3;justify-content:space-between;gap:8px;margin:0}
 nav a{font-size:12px}
 .search{order:2;flex:1 1 100%;max-width:none}
 .hero{margin:14px 12px;padding:27px 20px;border-radius:18px}
 .hero h1{font-size:clamp(30px,8vw,40px)}
 .hero-art{font-size:32px;padding:4px}
 main{padding:0 13px;margin:25px auto}
 .categories{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
 .cat{min-height:96px;padding:12px 5px}.cat span{font-size:27px}
 .productgrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
 .productimg{height:135px}.productbody{padding:11px}
 .productbody h3{font-size:14px;min-height:40px}
 .prices b{font-size:17px}
 .delivery{display:block;margin:35px 0;padding:21px}
 .delivery input{width:100%;margin:8px 0}
 .assistant{right:13px;bottom:14px}
 .ai-toggle{min-height:46px;padding:11px 16px}
 .cartpanel{border-radius:0;width:100%;padding:17px}
 table{display:block;overflow-x:auto;white-space:nowrap}
}
@media(max-width:380px){.categories{grid-template-columns:repeat(2,minmax(0,1fr))}.productgrid{gap:8px}.productimg{height:120px}}
