/* =========================================================
   tedariksepetim.com – tasarım sistemi
   ========================================================= */
:root {
  /* brand */
  --orange-50: #FFF3EB;
  --orange-100: #FFE2CC;
  --orange-200: #FFC399;
  --orange-300: #FFA365;
  --orange-400: #FA8434;
  --orange-500: #F26522;     /* primary (logo) */
  --orange-600: #D9510F;
  --orange-700: #B14009;

  --navy-50:  #EEF2F8;
  --navy-100: #D6DEEC;
  --navy-200: #A6B5CF;
  --navy-300: #6B7FA3;
  --navy-400: #344A75;
  --navy-500: #14254A;       /* secondary deep navy */
  --navy-600: #0E1B38;
  --navy-700: #08122A;

  --ink-900: #1A1F2C;
  --ink-700: #3A4257;
  --ink-500: #6B7388;
  --ink-400: #8B93A8;
  --ink-300: #B8BFD0;
  --ink-200: #DCE0EA;
  --ink-100: #ECEFF5;
  --ink-50:  #F5F7FB;
  --white:   #FFFFFF;

  --green-50: #E8F7EF;
  --green-500: #1F8A5B;      /* whatsapp / success */
  --green-600: #166D49;

  --yellow-50: #FFF8E1;
  --yellow-500: #F2B600;
  --red-500: #D63648;
  --red-50: #FCE8EA;
  --blue-50: #E8F1FE;
  --blue-500: #1F66D6;

  /* shadow + radius */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 20px;
  --shadow-sm: 0 1px 2px rgba(20, 37, 74, .06), 0 1px 1px rgba(20, 37, 74, .04);
  --shadow-md: 0 4px 14px rgba(20, 37, 74, .08);
  --shadow-lg: 0 14px 40px rgba(20, 37, 74, .12);

  /* type */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Manrope', 'Inter', sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--ink-900);
  background: var(--ink-50);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: transparent; }
input, select, textarea { font-family: inherit; }
img { display: block; max-width: 100%; }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 20px; }

/* =========================================================
   HEADER
   ========================================================= */
.topbar {
  background: var(--navy-600);
  color: var(--navy-100);
  font-size: 12.5px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 36px; }
.topbar-left { display: flex; gap: 18px; align-items: center; }
.topbar-left a { display: inline-flex; gap: 6px; align-items: center; }
.topbar-left a:hover { color: var(--white); }
.topbar-right { display: flex; gap: 14px; align-items: center; }
.topbar-right .pill {
  background: var(--green-500); color: white;
  padding: 4px 10px; border-radius: 999px;
  display: inline-flex; gap: 6px; align-items: center;
  font-weight: 600;
}

.mainbar { background: white; border-bottom: 1px solid var(--ink-200); }
.mainbar-inner {
  display: grid;
  grid-template-columns: 280px 1fr auto;
  gap: 28px;
  align-items: center;
  height: 112px;
}
.logo { display: flex; align-items: center; }
.logo img { height: 72px; width: auto; }

.search {
  display: flex; align-items: stretch;
  border: 2px solid var(--orange-500);
  border-radius: 10px;
  overflow: hidden;
  background: white;
  min-height: 56px;
}
.search select {
  border: 0; outline: 0; background: var(--ink-50);
  padding: 0 16px; font-size: 14px; color: var(--ink-700);
  border-right: 1px solid var(--ink-200);
  max-width: 200px;
}
.search input {
  border: 0; outline: 0;
  flex: 1; padding: 0 16px; font-size: 15px;
}
.search button {
  background: var(--orange-500); color: white;
  padding: 0 28px; font-weight: 600; font-size: 15px;
  display: inline-flex; align-items: center; gap: 8px;
}
.search button:hover { background: var(--orange-600); }

.mainbar-actions { display: flex; gap: 6px; align-items: center; }
.icon-btn {
  display: flex; flex-direction: column; align-items: center;
  gap: 2px; color: var(--ink-700); padding: 8px 12px;
  border-radius: 8px; font-size: 11.5px; min-width: 64px;
  position: relative;
}
.icon-btn:hover { background: var(--ink-50); color: var(--navy-500); }
.icon-btn .num { font-weight: 600; color: var(--navy-500); }
.icon-btn .badge {
  position: absolute; top: 4px; right: 8px;
  background: var(--orange-500); color: white;
  font-size: 10px; font-weight: 700;
  border-radius: 999px; min-width: 18px; height: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 5px;
}

.catbar { background: white; border-bottom: 1px solid var(--ink-200); }
.catbar-inner { display: flex; align-items: center; height: 44px; gap: 4px; overflow-x: auto; }
.catbar-inner::-webkit-scrollbar { display: none; }
.catbar a {
  padding: 0 14px; height: 44px;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500; color: var(--ink-700);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
}
.catbar a:hover { color: var(--orange-500); }
.catbar a.active { color: var(--orange-500); border-bottom-color: var(--orange-500); }
.catbar a.all {
  background: var(--navy-500); color: white;
  padding: 0 16px; margin-right: 8px; border-radius: 0;
  font-weight: 600;
}
.catbar a.all:hover { background: var(--navy-600); color: white; }

/* =========================================================
   COMMON
   ========================================================= */
.section-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin: 28px 0 14px;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 700; color: var(--navy-600);
  margin: 0; letter-spacing: -.01em;
}
.section-head .more {
  color: var(--orange-500); font-weight: 600; font-size: 13px;
  display: inline-flex; gap: 4px; align-items: center;
}

.tag {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 8px; border-radius: 4px;
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .02em;
}
.tag.orange { background: var(--orange-50); color: var(--orange-600); }
.tag.navy { background: var(--navy-50); color: var(--navy-500); }
.tag.green { background: var(--green-50); color: var(--green-600); }
.tag.yellow { background: var(--yellow-50); color: #8A6800; }
.tag.red { background: var(--red-50); color: var(--red-500); }
.tag.blue { background: var(--blue-50); color: var(--blue-500); }
.tag.gray { background: var(--ink-100); color: var(--ink-700); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 0 16px; height: 40px;
  border-radius: 8px; font-weight: 600; font-size: 13.5px;
  transition: background .15s, color .15s, transform .05s, border-color .15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--orange-500); color: white; }
.btn-primary:hover { background: var(--orange-600); }
.btn-secondary { background: var(--navy-500); color: white; }
.btn-secondary:hover { background: var(--navy-600); }
.btn-whatsapp { background: var(--green-500); color: white; }
.btn-whatsapp:hover { background: var(--green-600); }
.btn-outline { border: 1px solid var(--ink-200); background: white; color: var(--ink-700); }
.btn-outline:hover { border-color: var(--orange-500); color: var(--orange-500); }
.btn-ghost { background: transparent; color: var(--ink-700); }
.btn-ghost:hover { background: var(--ink-100); }
.btn-sm { height: 32px; padding: 0 12px; font-size: 12.5px; }
.btn-lg { height: 48px; padding: 0 22px; font-size: 14.5px; }
.btn-block { width: 100%; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  display: grid;
  grid-template-columns: 240px 1fr 280px;
  gap: 14px;
  margin-top: 14px;
}
.hero-cats {
  background: white; border-radius: var(--r-md);
  border: 1px solid var(--ink-200);
  overflow: hidden;
}
.hero-cats a {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 14px; font-size: 13px; color: var(--ink-700);
  border-bottom: 1px solid var(--ink-100);
  transition: background .12s, color .12s;
}
.hero-cats a:last-child { border-bottom: 0; }
.hero-cats a:hover { background: var(--orange-50); color: var(--orange-600); }
.hero-cats a .ic { color: var(--ink-400); }
.hero-cats a:hover .ic { color: var(--orange-500); }
.hero-cats a .chev { margin-left: auto; color: var(--ink-300); font-size: 11px; }

.hero-slider {
  position: relative;
  background: linear-gradient(135deg, var(--navy-500), var(--navy-700));
  color: white;
  border-radius: var(--r-md);
  overflow: hidden;
  min-height: 360px;
  display: flex; align-items: center;
  padding: 36px 44px;
}
.hero-slider::before {
  content: ""; position: absolute; right: -40px; top: -40px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(242,101,34,.45), transparent 65%);
}
.hero-slider .badge-pill {
  display: inline-flex; gap: 6px; align-items: center;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  padding: 5px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 600; letter-spacing: .02em;
}
.hero-slider h1 {
  font-family: var(--font-display);
  font-size: 40px; font-weight: 800; line-height: 1.1;
  margin: 14px 0 10px; letter-spacing: -.02em;
  max-width: 460px;
}
.hero-slider h1 .accent { color: var(--orange-400); }
.hero-slider p { color: var(--navy-100); max-width: 420px; font-size: 14px; line-height: 1.6; }
.hero-slider .cta-row { display: flex; gap: 10px; margin-top: 18px; }
.hero-dots {
  position: absolute; bottom: 18px; left: 44px;
  display: flex; gap: 6px;
}
.hero-dots span { width: 26px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.25); }
.hero-dots span.active { background: var(--orange-500); }

.hero-side { display: grid; gap: 14px; }
.hero-promo {
  background: white; border-radius: var(--r-md);
  border: 1px solid var(--ink-200);
  padding: 18px 18px; min-height: 172px;
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative; overflow: hidden;
}
.hero-promo .pheader { color: var(--ink-500); font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.hero-promo h3 {
  font-family: var(--font-display);
  font-size: 19px; font-weight: 700; margin: 6px 0;
  color: var(--navy-600); letter-spacing: -.01em;
  line-height: 1.2;
}
.hero-promo p { font-size: 12.5px; color: var(--ink-500); margin: 0; }
.hero-promo.green { background: linear-gradient(160deg, #1F8A5B, #166D49); color: white; border: 0; }
.hero-promo.green h3, .hero-promo.green .pheader, .hero-promo.green p { color: white; }
.hero-promo.green .pheader { opacity: .85; }
.hero-promo.orange { background: linear-gradient(160deg, var(--orange-500), var(--orange-700)); color: white; border: 0; }
.hero-promo.orange h3, .hero-promo.orange .pheader, .hero-promo.orange p { color: white; }
.hero-promo.orange .pheader { opacity: .9; }

/* feature strip */
.featurestrip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px; margin-top: 24px;
}
.featurestrip .item {
  background: white; padding: 16px;
  border-radius: var(--r-md);
  border: 1px solid var(--ink-200);
  display: flex; gap: 12px; align-items: center;
}
.featurestrip .ico {
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--orange-50); color: var(--orange-600);
  display: inline-flex; align-items: center; justify-content: center;
}
.featurestrip .item h4 { margin: 0; font-size: 14px; color: var(--navy-600); font-weight: 700; }
.featurestrip .item p { margin: 2px 0 0; font-size: 12px; color: var(--ink-500); }

/* category tiles */
.cattiles {
  display: grid; grid-template-columns: repeat(8, 1fr);
  gap: 12px;
}
.cattile {
  background: white; border: 1px solid var(--ink-200);
  border-radius: var(--r-md);
  padding: 16px 8px 12px; text-align: center;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.cattile:hover { border-color: var(--orange-500); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.cattile .ico {
  width: 48px; height: 48px; margin: 0 auto 8px;
  background: var(--ink-50); border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--orange-500);
}
.cattile .label { font-size: 12.5px; font-weight: 600; color: var(--navy-600); line-height: 1.25; }
.cattile .sub { font-size: 11px; color: var(--ink-500); margin-top: 2px; }

/* =========================================================
   PRODUCT CARD
   ========================================================= */
.pgrid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.pgrid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.pgrid.cols-3 { grid-template-columns: repeat(3, 1fr); }

.pcard {
  background: white; border: 1px solid var(--ink-200);
  border-radius: var(--r-md); overflow: hidden;
  position: relative; transition: border-color .15s, box-shadow .15s, transform .15s;
  display: flex; flex-direction: column;
}
.pcard:hover { border-color: var(--orange-400); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.pcard-img {
  aspect-ratio: 1 / 1; background: var(--ink-50);
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.pcard-img .imgph {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--ink-100), var(--ink-50));
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-300); font-size: 11px;
}
.pcard-badges {
  position: absolute; top: 8px; left: 8px;
  display: flex; flex-direction: column; gap: 4px;
}
.pcard-fav {
  position: absolute; top: 8px; right: 8px;
  width: 30px; height: 30px; border-radius: 50%;
  background: white; box-shadow: var(--shadow-sm);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink-400);
}
.pcard-fav:hover { color: var(--red-500); }
.pcard-body { padding: 12px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.pcard-brand { font-size: 11px; color: var(--ink-500); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.pcard-name {
  font-size: 13.5px; color: var(--ink-900); font-weight: 500;
  line-height: 1.35; min-height: 36px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pcard-meta {
  display: flex; gap: 6px; flex-wrap: wrap;
}
.pcard-meta .chip {
  background: var(--ink-100); color: var(--ink-700);
  font-size: 10.5px; font-weight: 600;
  padding: 2px 6px; border-radius: 4px;
}
.pcard-meta .chip.moq { background: var(--navy-50); color: var(--navy-500); }
.pcard-tier {
  background: var(--orange-50); border: 1px dashed var(--orange-300);
  padding: 6px 8px; border-radius: 6px;
  font-size: 10.5px; color: var(--orange-700);
  display: flex; gap: 8px; justify-content: space-between;
  font-weight: 600;
}
.pcard-tier b { font-weight: 700; color: var(--orange-600); }
.pcard-price {
  display: flex; align-items: baseline; gap: 6px;
}
.pcard-price .now {
  font-family: var(--font-display);
  font-size: 19px; font-weight: 800; color: var(--orange-600);
  letter-spacing: -.01em;
}
.pcard-price .unit { font-size: 11.5px; color: var(--ink-500); }
.pcard-price .was { font-size: 12px; color: var(--ink-400); text-decoration: line-through; margin-left: auto; }
.pcard-actions { display: grid; grid-template-columns: 1fr auto; gap: 6px; margin-top: auto; }
.pcard-actions .btn { height: 36px; font-size: 12.5px; padding: 0 10px; }
.pcard-actions .btn-wp { background: var(--green-500); color: white; width: 36px; padding: 0; }
.pcard-actions .btn-wp:hover { background: var(--green-600); }

/* =========================================================
   DAILY DEALS BANNER
   ========================================================= */
.deals {
  background: linear-gradient(135deg, var(--navy-600), var(--navy-700));
  border-radius: var(--r-md);
  color: white;
  padding: 24px 28px;
  display: grid; grid-template-columns: 280px 1fr; gap: 24px;
  margin-top: 14px;
  position: relative; overflow: hidden;
}
.deals::before {
  content: ""; position: absolute; right: -100px; top: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(242,101,34,.25), transparent 60%);
}
.deals h2 {
  font-family: var(--font-display);
  font-size: 26px; font-weight: 800;
  margin: 8px 0 4px; letter-spacing: -.02em;
}
.deals h2 .accent { color: var(--orange-400); }
.deals p { color: var(--navy-100); font-size: 13px; margin: 0; }
.countdown { display: flex; gap: 6px; margin-top: 14px; }
.countdown .cell {
  background: rgba(0,0,0,.3); border: 1px solid rgba(255,255,255,.08);
  border-radius: 6px; padding: 6px 10px; text-align: center; min-width: 50px;
}
.countdown .num {
  font-family: var(--font-display); font-weight: 800; font-size: 18px;
  color: var(--orange-400);
}
.countdown .lbl { font-size: 10px; color: var(--navy-200); text-transform: uppercase; letter-spacing: .05em; }
.deals-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }

/* =========================================================
   BULK ORDER CTA
   ========================================================= */
.bulkcta {
  margin-top: 28px;
  background: white; border: 1px solid var(--ink-200);
  border-radius: var(--r-md);
  padding: 22px 28px;
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
  border-left: 5px solid var(--orange-500);
}
.bulkcta h3 {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 800; margin: 0 0 4px;
  color: var(--navy-600); letter-spacing: -.01em;
}
.bulkcta p { margin: 0; color: var(--ink-500); font-size: 13.5px; }
.bulkcta .actions { display: flex; gap: 8px; }

/* =========================================================
   BRAND STRIP
   ========================================================= */
.brandstrip {
  display: grid; grid-template-columns: repeat(8, 1fr);
  gap: 0; background: white; border: 1px solid var(--ink-200);
  border-radius: var(--r-md); margin-top: 24px;
  overflow: hidden;
}
.brandstrip .brand {
  height: 78px; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800;
  color: var(--ink-400); font-size: 16px;
  border-right: 1px solid var(--ink-100);
  letter-spacing: -.02em;
}
.brandstrip .brand:last-child { border-right: 0; }
.brandstrip .brand:hover { color: var(--navy-500); }

/* =========================================================
   FOOTER
   ========================================================= */
footer {
  background: var(--navy-700); color: var(--navy-100);
  margin-top: 40px; padding: 36px 0 0;
}
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; gap: 24px; padding-bottom: 28px; }
.foot-top h4 {
  font-family: var(--font-display);
  color: white; font-size: 14px; margin: 0 0 14px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em;
}
.foot-top ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot-top a { font-size: 13px; color: var(--navy-200); }
.foot-top a:hover { color: var(--orange-400); }
.foot-brand img {
  height: 56px; width: auto;
  background: white; padding: 8px 14px; border-radius: 8px;
  margin-bottom: 14px; display: inline-block;
}
.foot-brand p { font-size: 13px; color: var(--navy-200); line-height: 1.6; margin: 0 0 14px; }
.foot-contact { display: grid; gap: 6px; font-size: 13px; }
.foot-contact a { display: flex; gap: 8px; align-items: center; }
.foot-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 16px 0;
  display: flex; justify-content: space-between; font-size: 12.5px;
  color: var(--navy-200);
}
.foot-bottom .pays { display: flex; gap: 6px; }
.foot-bottom .pays .pay {
  background: white; color: var(--navy-600);
  padding: 3px 8px; border-radius: 4px; font-weight: 700; font-size: 10.5px;
}

/* =========================================================
   FLOATING WHATSAPP
   ========================================================= */
.fab-wp {
  position: fixed; bottom: 24px; right: 24px;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--green-500); color: white;
  box-shadow: 0 8px 24px rgba(31,138,91,.35);
  display: inline-flex; align-items: center; justify-content: center;
  z-index: 60;
  animation: pulse 2s infinite;
}
.fab-wp:hover { background: var(--green-600); }
@keyframes pulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(31,138,91,.35); }
  50% { box-shadow: 0 8px 24px rgba(31,138,91,.6), 0 0 0 12px rgba(31,138,91,.08); }
}

/* =========================================================
   CATEGORY / PRODUCT LIST PAGE
   ========================================================= */
.crumbs { display: flex; gap: 6px; font-size: 12.5px; color: var(--ink-500); margin: 14px 0; align-items: center; }
.crumbs a:hover { color: var(--orange-500); }
.crumbs .sep { color: var(--ink-300); }
.crumbs .current { color: var(--navy-600); font-weight: 600; }

.catpage { display: grid; grid-template-columns: 240px 1fr; gap: 22px; align-items: flex-start; }
.filters {
  background: white; border: 1px solid var(--ink-200);
  border-radius: var(--r-md); padding: 18px;
  position: sticky; top: 12px;
}
.filter-group { border-bottom: 1px solid var(--ink-100); padding-bottom: 14px; margin-bottom: 14px; }
.filter-group:last-child { border-bottom: 0; margin-bottom: 0; }
.filter-group h4 {
  font-size: 12.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em;
  color: var(--navy-600); margin: 0 0 10px;
}
.filter-group label {
  display: flex; align-items: center; gap: 8px; font-size: 13px;
  color: var(--ink-700); padding: 4px 0; cursor: pointer;
}
.filter-group label input[type=checkbox] { accent-color: var(--orange-500); }
.filter-group .count { color: var(--ink-400); font-size: 11.5px; margin-left: auto; }
.price-range { display: flex; gap: 8px; }
.price-range input { width: 100%; padding: 8px 10px; border: 1px solid var(--ink-200); border-radius: 6px; font-size: 12.5px; }

.catpage-results { min-width: 0; }
.results-bar {
  background: white; border: 1px solid var(--ink-200);
  border-radius: var(--r-md); padding: 12px 16px;
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 14px;
}
.results-bar .count { font-size: 13px; color: var(--ink-700); }
.results-bar .count b { color: var(--navy-600); font-weight: 700; }
.results-bar .sort { display: flex; gap: 8px; align-items: center; font-size: 13px; }
.results-bar select { padding: 6px 10px; border: 1px solid var(--ink-200); border-radius: 6px; font-size: 13px; }
.results-bar .viewtog { display: flex; border: 1px solid var(--ink-200); border-radius: 6px; overflow: hidden; }
.results-bar .viewtog button { padding: 6px 10px; color: var(--ink-500); background: white; }
.results-bar .viewtog button.active { background: var(--navy-500); color: white; }

/* =========================================================
   PRODUCT DETAIL
   ========================================================= */
.pdp { display: grid; grid-template-columns: 1.1fr 1fr 320px; gap: 24px; align-items: flex-start; }
.pdp-gallery { background: white; border: 1px solid var(--ink-200); border-radius: var(--r-md); padding: 14px; }
.pdp-main {
  aspect-ratio: 1 / 1; background: var(--ink-50);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  color: var(--ink-300); position: relative; overflow: hidden;
}
.pdp-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 10px; }
.pdp-thumbs .th {
  aspect-ratio: 1 / 1; background: var(--ink-50); border: 1px solid var(--ink-200);
  border-radius: 6px; display: flex; align-items: center; justify-content: center;
  color: var(--ink-300); font-size: 10px; cursor: pointer;
}
.pdp-thumbs .th.active { border-color: var(--orange-500); }

.pdp-info h1 {
  font-family: var(--font-display);
  font-size: 24px; font-weight: 800; color: var(--navy-700);
  margin: 0 0 8px; letter-spacing: -.01em;
  line-height: 1.25;
}
.pdp-info .brandrow { display: flex; gap: 12px; align-items: center; font-size: 12.5px; color: var(--ink-500); margin-bottom: 8px; }
.pdp-info .brandrow b { color: var(--navy-600); font-weight: 700; }
.pdp-info .rating { display: flex; gap: 4px; align-items: center; font-size: 12.5px; color: var(--ink-500); }
.pdp-info .rating .stars { color: var(--yellow-500); letter-spacing: 1px; }
.pdp-info .pricebox {
  background: var(--ink-50); border: 1px solid var(--ink-200);
  border-radius: var(--r-md); padding: 16px; margin: 14px 0;
}
.pdp-info .pricebox .row { display: flex; gap: 12px; align-items: baseline; }
.pdp-info .pricebox .now {
  font-family: var(--font-display);
  font-size: 32px; font-weight: 800; color: var(--orange-600);
  letter-spacing: -.02em;
}
.pdp-info .pricebox .was { color: var(--ink-400); text-decoration: line-through; font-size: 14px; }
.pdp-info .pricebox .disc { background: var(--red-500); color: white; padding: 2px 8px; border-radius: 4px; font-size: 11px; font-weight: 700; }
.pdp-info .pricebox .vat { color: var(--ink-500); font-size: 12px; margin-top: 4px; }

.tiers-table {
  width: 100%; border-collapse: collapse; margin-top: 10px;
  font-size: 12.5px;
}
.tiers-table th, .tiers-table td {
  padding: 8px 10px; border: 1px solid var(--ink-200);
  text-align: center;
}
.tiers-table th { background: var(--navy-50); color: var(--navy-600); font-weight: 700; font-size: 11.5px; text-transform: uppercase; letter-spacing: .03em; }
.tiers-table td b { color: var(--orange-600); }
.tiers-table tr.active td { background: var(--orange-50); font-weight: 600; }

.pdp-feats { display: grid; gap: 6px; margin-top: 12px; font-size: 13px; }
.pdp-feats .it { display: flex; gap: 8px; align-items: center; color: var(--ink-700); }
.pdp-feats .it .ic { color: var(--green-500); }

/* buybox */
.buybox {
  background: white; border: 1px solid var(--ink-200);
  border-radius: var(--r-md); padding: 18px;
  position: sticky; top: 12px;
}
.buybox h4 { margin: 0 0 12px; font-size: 14px; font-family: var(--font-display); color: var(--navy-600); }
.qty-input { display: flex; align-items: stretch; border: 1px solid var(--ink-200); border-radius: 8px; overflow: hidden; }
.qty-input button { padding: 0 14px; background: var(--ink-50); color: var(--ink-700); font-size: 16px; font-weight: 700; }
.qty-input button:hover { background: var(--ink-100); }
.qty-input input {
  border: 0; outline: 0; flex: 1; text-align: center; font-weight: 700;
  font-size: 14px; min-width: 0; width: 100%;
}
.unit-toggle {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  background: var(--ink-50); border-radius: 8px; padding: 3px;
  margin-bottom: 10px;
}
.unit-toggle button {
  padding: 8px; font-size: 12.5px; color: var(--ink-700); font-weight: 600;
  border-radius: 6px;
}
.unit-toggle button.active { background: white; color: var(--navy-600); box-shadow: var(--shadow-sm); }
.buybox-summary { border-top: 1px dashed var(--ink-200); margin-top: 14px; padding-top: 14px; font-size: 13px; }
.buybox-summary .row { display: flex; justify-content: space-between; padding: 4px 0; color: var(--ink-700); }
.buybox-summary .row.total {
  font-size: 16px; font-weight: 700; color: var(--navy-600);
  border-top: 1px solid var(--ink-100); margin-top: 6px; padding-top: 10px;
}
.buybox-summary .row.total b { color: var(--orange-600); font-family: var(--font-display); }

/* product tabs */
.ptabs {
  background: white; border: 1px solid var(--ink-200);
  border-radius: var(--r-md); margin-top: 22px;
}
.ptabs-nav { display: flex; gap: 0; border-bottom: 1px solid var(--ink-200); padding: 0 16px; }
.ptabs-nav button {
  padding: 14px 18px; font-size: 13.5px; font-weight: 600;
  color: var(--ink-500); border-bottom: 2px solid transparent;
}
.ptabs-nav button.active { color: var(--orange-500); border-bottom-color: var(--orange-500); }
.ptabs-content { padding: 22px 24px; font-size: 13.5px; line-height: 1.65; color: var(--ink-700); }
.ptabs-content h3 { font-family: var(--font-display); font-size: 16px; color: var(--navy-600); margin: 18px 0 8px; }
.ptabs-content h3:first-child { margin-top: 0; }
.specs { width: 100%; border-collapse: collapse; font-size: 13px; }
.specs tr:nth-child(odd) { background: var(--ink-50); }
.specs td { padding: 8px 12px; border: 1px solid var(--ink-100); }
.specs td:first-child { color: var(--ink-500); font-weight: 600; width: 30%; }

/* =========================================================
   CART
   ========================================================= */
.cartpage { display: grid; grid-template-columns: 1fr 360px; gap: 22px; align-items: flex-start; }
.cart-card { background: white; border: 1px solid var(--ink-200); border-radius: var(--r-md); }
.cart-head, .cart-row {
  display: grid; grid-template-columns: 80px 1fr 130px 110px 130px 40px;
  gap: 14px; align-items: center; padding: 14px 18px;
}
.cart-head { background: var(--ink-50); font-size: 11.5px; font-weight: 700; text-transform: uppercase; color: var(--ink-500); letter-spacing: .04em; border-bottom: 1px solid var(--ink-200); }
.cart-row { border-bottom: 1px solid var(--ink-100); font-size: 13px; }
.cart-row:last-child { border-bottom: 0; }
.cart-row .thumb { width: 70px; height: 70px; background: var(--ink-50); border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; color: var(--ink-300); font-size: 10px; }
.cart-row .name { font-weight: 600; color: var(--navy-600); line-height: 1.35; font-size: 13px; }
.cart-row .meta { font-size: 11.5px; color: var(--ink-500); margin-top: 2px; }
.cart-row .price { font-weight: 700; color: var(--ink-700); }
.cart-row .total { font-weight: 800; color: var(--orange-600); font-family: var(--font-display); }
.cart-row .rem { color: var(--ink-400); }
.cart-row .rem:hover { color: var(--red-500); }
.cart-foot { padding: 14px 18px; display: flex; justify-content: space-between; border-top: 1px solid var(--ink-200); background: var(--ink-50); }

.summary { background: white; border: 1px solid var(--ink-200); border-radius: var(--r-md); padding: 18px; position: sticky; top: 12px; }
.summary h3 { margin: 0 0 14px; font-family: var(--font-display); font-size: 16px; color: var(--navy-600); }
.summary .row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 13px; color: var(--ink-700); }
.summary .row.total {
  border-top: 1px solid var(--ink-200); margin-top: 8px; padding-top: 14px;
  font-size: 15px; font-weight: 700; color: var(--navy-600);
}
.summary .row.total b { color: var(--orange-600); font-family: var(--font-display); font-size: 22px; }
.summary .coupon { display: flex; gap: 6px; margin: 10px 0 14px; }
.summary .coupon input { flex: 1; padding: 9px 12px; border: 1px solid var(--ink-200); border-radius: 8px; font-size: 13px; }
.summary .checkout-actions { display: grid; gap: 8px; margin-top: 14px; }

/* =========================================================
   QUICK ORDER TABLE
   ========================================================= */
.qotable { background: white; border: 1px solid var(--ink-200); border-radius: var(--r-md); padding: 18px; }
.qotable table { width: 100%; border-collapse: collapse; font-size: 13px; }
.qotable th { background: var(--ink-50); padding: 10px 12px; text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-500); font-weight: 700; border-bottom: 1px solid var(--ink-200); }
.qotable td { padding: 10px 12px; border-bottom: 1px solid var(--ink-100); }
.qotable input { padding: 8px 10px; border: 1px solid var(--ink-200); border-radius: 6px; font-size: 13px; width: 100%; }
.qotable input.code { font-family: 'JetBrains Mono', monospace; }
.qotable .pname { color: var(--navy-600); font-weight: 600; }
.qotable tr.empty .pname { color: var(--ink-400); font-weight: 500; }
.qotable .lineprice { font-family: var(--font-display); color: var(--orange-600); font-weight: 700; }

/* =========================================================
   ACCOUNT
   ========================================================= */
.acc-layout { display: grid; grid-template-columns: 240px 1fr; gap: 22px; align-items: flex-start; }
.acc-side { background: white; border: 1px solid var(--ink-200); border-radius: var(--r-md); padding: 18px; }
.acc-side .who { display: flex; gap: 10px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--ink-100); margin-bottom: 12px; }
.acc-side .avt { width: 42px; height: 42px; border-radius: 50%; background: var(--navy-500); color: white; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 16px; }
.acc-side .who .nm { font-weight: 700; color: var(--navy-600); font-size: 13.5px; }
.acc-side .who .em { font-size: 12px; color: var(--ink-500); margin-top: 2px; }
.acc-nav { display: grid; gap: 2px; }
.acc-nav a {
  display: flex; gap: 10px; align-items: center;
  padding: 9px 12px; font-size: 13px; color: var(--ink-700);
  border-radius: 6px;
}
.acc-nav a:hover { background: var(--ink-50); }
.acc-nav a.active { background: var(--orange-50); color: var(--orange-600); font-weight: 600; }
.acc-content { background: white; border: 1px solid var(--ink-200); border-radius: var(--r-md); padding: 22px; }
.acc-content h2 { margin: 0 0 4px; font-family: var(--font-display); font-size: 22px; color: var(--navy-600); font-weight: 800; letter-spacing: -.01em; }
.acc-content .sub { color: var(--ink-500); font-size: 13px; margin-bottom: 18px; }

.orderlist { display: grid; gap: 12px; }
.orderrow {
  border: 1px solid var(--ink-200); border-radius: var(--r-md);
  padding: 14px 16px;
  display: grid; grid-template-columns: 1fr 130px 130px 120px 100px; gap: 14px; align-items: center;
}
.orderrow .num { font-family: 'JetBrains Mono', monospace; font-weight: 700; color: var(--navy-600); font-size: 13px; }
.orderrow .date, .orderrow .items { color: var(--ink-700); font-size: 12.5px; }
.orderrow .amount { font-weight: 800; color: var(--orange-600); font-family: var(--font-display); }
.statpill {
  padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 700;
  display: inline-flex; gap: 5px; align-items: center; width: max-content;
}
.statpill.delivered { background: var(--green-50); color: var(--green-600); }
.statpill.shipped { background: var(--blue-50); color: var(--blue-500); }
.statpill.processing { background: var(--yellow-50); color: #8A6800; }
.statpill.pending { background: var(--ink-100); color: var(--ink-700); }
.statpill.cancelled { background: var(--red-50); color: var(--red-500); }
.statpill.wp { background: var(--green-50); color: var(--green-600); }

/* =========================================================
   AUTH (login)
   ========================================================= */
.authpage {
  min-height: calc(100vh - 36px - 88px - 44px);
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--navy-600), var(--navy-700));
  padding: 40px 20px;
}
.authcard {
  background: white; border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  width: 100%; max-width: 880px;
  display: grid; grid-template-columns: 1fr 1fr; overflow: hidden;
  min-height: 540px;
}
.auth-left {
  background: linear-gradient(160deg, var(--orange-500), var(--orange-700));
  color: white; padding: 40px;
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative; overflow: hidden;
}
.auth-left::before { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255,255,255,.08); }
.auth-left h2 { font-family: var(--font-display); font-size: 28px; line-height: 1.2; margin: 0 0 12px; letter-spacing: -.01em; }
.auth-left p { font-size: 14px; line-height: 1.6; opacity: .9; margin: 0; }
.auth-left .perks { display: grid; gap: 10px; margin-top: 22px; }
.auth-left .perks .p { display: flex; gap: 10px; align-items: center; font-size: 13.5px; }
.auth-right { padding: 40px; }
.auth-right h1 { font-family: var(--font-display); margin: 0 0 4px; font-size: 24px; font-weight: 800; color: var(--navy-600); letter-spacing: -.01em; }
.auth-right .sub { color: var(--ink-500); font-size: 13.5px; margin-bottom: 22px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 12.5px; color: var(--ink-700); margin-bottom: 6px; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 12px; border: 1px solid var(--ink-200);
  border-radius: 8px; font-size: 14px; outline: none;
  transition: border-color .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--orange-500); }
.field .hint { font-size: 11.5px; color: var(--ink-500); margin-top: 4px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.auth-tabs { display: flex; gap: 0; border-bottom: 1px solid var(--ink-200); margin-bottom: 22px; }
.auth-tabs button { padding: 10px 18px; font-size: 13.5px; font-weight: 600; color: var(--ink-500); border-bottom: 2px solid transparent; }
.auth-tabs button.active { color: var(--orange-500); border-bottom-color: var(--orange-500); }

/* =========================================================
   ADMIN PANEL
   ========================================================= */
.admin-shell {
  display: grid; grid-template-columns: 240px 1fr;
  min-height: 100vh;
  background: var(--ink-50);
}
.admin-side {
  background: var(--navy-700); color: var(--navy-100);
  padding: 22px 0; min-height: 100vh;
  display: flex; flex-direction: column;
}
.admin-side .brand {
  padding: 0 22px 22px; border-bottom: 1px solid rgba(255,255,255,.06);
  margin-bottom: 18px;
  display: flex; gap: 10px; align-items: center;
}
.admin-side .brand img { height: 28px; filter: brightness(0) invert(1); }
.admin-side .brand .pill { background: var(--orange-500); color: white; padding: 2px 7px; font-size: 9.5px; border-radius: 4px; font-weight: 800; letter-spacing: .04em; }
.admin-nav { display: grid; gap: 2px; padding: 0 10px; }
.admin-nav .group-label { font-size: 10.5px; color: var(--navy-300); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; padding: 16px 12px 6px; }
.admin-nav a {
  display: flex; gap: 10px; align-items: center;
  padding: 10px 12px; font-size: 13px; color: var(--navy-100);
  border-radius: 6px;
}
.admin-nav a:hover { background: rgba(255,255,255,.06); color: white; }
.admin-nav a.active { background: var(--orange-500); color: white; }
.admin-nav .bdg { margin-left: auto; background: rgba(255,255,255,.12); padding: 1px 7px; border-radius: 10px; font-size: 10.5px; font-weight: 700; }
.admin-nav a.active .bdg { background: rgba(0,0,0,.2); }

.admin-main { padding: 0; min-width: 0; }
.admin-top {
  background: white; height: 64px; padding: 0 28px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--ink-200);
}
.admin-top .search-mini {
  display: flex; align-items: center; gap: 8px;
  background: var(--ink-50); padding: 8px 14px; border-radius: 8px;
  font-size: 13px; color: var(--ink-500); min-width: 320px;
}
.admin-top .search-mini input { border: 0; outline: 0; background: transparent; flex: 1; font-size: 13px; }
.admin-top .actions { display: flex; gap: 10px; align-items: center; }
.admin-top .iconbtn { width: 36px; height: 36px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; color: var(--ink-500); background: var(--ink-50); position: relative; }
.admin-top .iconbtn:hover { color: var(--navy-500); background: var(--ink-100); }
.admin-top .iconbtn .nbadge { position: absolute; top: -3px; right: -3px; background: var(--red-500); color: white; font-size: 9px; min-width: 16px; height: 16px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; padding: 0 4px; font-weight: 700; }
.admin-top .me { display: flex; gap: 10px; align-items: center; padding: 4px 12px 4px 4px; border-radius: 8px; }
.admin-top .me:hover { background: var(--ink-50); }
.admin-top .me .avt { width: 32px; height: 32px; border-radius: 50%; background: var(--orange-500); color: white; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; }
.admin-top .me .nm { font-size: 13px; font-weight: 600; color: var(--navy-600); }
.admin-top .me .rl { font-size: 11px; color: var(--ink-500); }

.admin-body { padding: 24px 28px; }
.admin-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 20px;
}
.admin-head h1 { font-family: var(--font-display); margin: 0; font-size: 26px; color: var(--navy-600); font-weight: 800; letter-spacing: -.02em; }
.admin-head .sub { color: var(--ink-500); font-size: 13.5px; margin-top: 2px; }

/* KPI cards */
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 22px; }
.kpi {
  background: white; border: 1px solid var(--ink-200); border-radius: var(--r-md);
  padding: 18px;
  position: relative; overflow: hidden;
}
.kpi .label { font-size: 12px; color: var(--ink-500); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.kpi .value {
  font-family: var(--font-display);
  font-size: 28px; font-weight: 800; color: var(--navy-600);
  margin: 8px 0 4px; letter-spacing: -.02em;
}
.kpi .delta { font-size: 12px; display: inline-flex; gap: 4px; align-items: center; }
.kpi .delta.up { color: var(--green-600); }
.kpi .delta.down { color: var(--red-500); }
.kpi .ico { position: absolute; right: 18px; top: 18px; width: 38px; height: 38px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: var(--orange-50); color: var(--orange-500); }
.kpi.k2 .ico { background: var(--green-50); color: var(--green-500); }
.kpi.k3 .ico { background: var(--blue-50); color: var(--blue-500); }
.kpi.k4 .ico { background: var(--navy-50); color: var(--navy-500); }
.kpi .spark { margin-top: 10px; height: 32px; }

/* admin grid panes */
.dash-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 14px; }
.pane { background: white; border: 1px solid var(--ink-200); border-radius: var(--r-md); }
.pane-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 18px; border-bottom: 1px solid var(--ink-200);
}
.pane-head h3 { margin: 0; font-family: var(--font-display); font-size: 15px; color: var(--navy-600); font-weight: 700; }
.pane-head .more { font-size: 12.5px; color: var(--orange-500); font-weight: 600; }
.pane-body { padding: 18px; }

/* chart */
.chart-tabs { display: flex; gap: 4px; }
.chart-tabs button { padding: 5px 10px; font-size: 12px; border-radius: 6px; color: var(--ink-500); }
.chart-tabs button.active { background: var(--ink-100); color: var(--navy-600); font-weight: 600; }

/* admin tables */
.atable { width: 100%; border-collapse: collapse; font-size: 13px; }
.atable th {
  background: var(--ink-50); padding: 11px 14px;
  text-align: left; color: var(--ink-500); font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em; font-size: 11px;
  border-bottom: 1px solid var(--ink-200);
}
.atable td { padding: 12px 14px; border-bottom: 1px solid var(--ink-100); vertical-align: middle; }
.atable tr:last-child td { border-bottom: 0; }
.atable tr:hover td { background: var(--ink-50); }
.atable .num { font-family: 'JetBrains Mono', monospace; font-weight: 700; color: var(--navy-600); }
.atable .pmini { display: flex; gap: 10px; align-items: center; }
.atable .pmini .ph { width: 36px; height: 36px; background: var(--ink-50); border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; color: var(--ink-300); font-size: 10px; }
.atable .pmini .n { font-weight: 600; color: var(--navy-600); }
.atable .pmini .s { font-size: 11.5px; color: var(--ink-500); }
.atable .price { font-weight: 700; color: var(--ink-700); }
.atable .total { font-weight: 800; color: var(--orange-600); font-family: var(--font-display); }
.atable .rowact { display: flex; gap: 4px; }
.atable .rowact button { width: 28px; height: 28px; border-radius: 6px; background: var(--ink-50); color: var(--ink-500); display: inline-flex; align-items: center; justify-content: center; }
.atable .rowact button:hover { background: var(--ink-100); color: var(--navy-500); }
.atable .rowact button.del:hover { background: var(--red-50); color: var(--red-500); }

/* segment tabs (in admin tables) */
.segtabs { display: flex; gap: 4px; background: var(--ink-100); padding: 3px; border-radius: 8px; }
.segtabs button { padding: 6px 12px; font-size: 12px; border-radius: 6px; color: var(--ink-500); font-weight: 600; }
.segtabs button.active { background: white; color: var(--navy-600); box-shadow: var(--shadow-sm); }
.segtabs button .ct { color: var(--ink-400); font-weight: 500; margin-left: 4px; }
.segtabs button.active .ct { color: var(--orange-500); }

/* admin filter bar */
.filterbar {
  display: flex; gap: 10px; padding: 14px 18px;
  border-bottom: 1px solid var(--ink-200); align-items: center;
}
.filterbar .search-mini { flex: 1; min-width: 0; }
.filterbar select { padding: 8px 12px; border: 1px solid var(--ink-200); border-radius: 8px; font-size: 13px; background: white; }

/* mini stat dots */
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot.green { background: var(--green-500); }
.dot.orange { background: var(--orange-500); }
.dot.blue { background: var(--blue-500); }
.dot.red { background: var(--red-500); }
.dot.gray { background: var(--ink-400); }

/* Floating WP coming from admin: hidden */
body.admin-mode .fab-wp { display: none; }

/* product manager grid */
.pman-toolbar { display: flex; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--ink-200); align-items: center; }

/* order detail in modal-like card */
.order-detail { display: grid; grid-template-columns: 2fr 1fr; gap: 14px; }

/* checkbox style */
.checkbox { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.checkbox input { accent-color: var(--orange-500); }

/* small util */
.spacer { flex: 1; }
.hr { height: 1px; background: var(--ink-200); border: 0; }
.muted { color: var(--ink-500); }
.hint { font-size: 12px; color: var(--ink-500); }
.lbl-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.fab-wp svg { width: 28px; height: 28px; }

/* page-level container helpers */
.page-bg-light { background: var(--ink-50); min-height: 100vh; padding-bottom: 40px; }

/* sparkline (faux line via gradient bars) */
.sparkline { display: flex; gap: 3px; align-items: flex-end; height: 32px; }
.sparkline span { background: linear-gradient(to top, var(--orange-300), var(--orange-500)); flex: 1; border-radius: 2px 2px 0 0; opacity: .8; }
.kpi.k2 .sparkline span { background: linear-gradient(to top, #6BCB94, var(--green-500)); }
.kpi.k3 .sparkline span { background: linear-gradient(to top, #6BA9F0, var(--blue-500)); }
.kpi.k4 .sparkline span { background: linear-gradient(to top, var(--navy-300), var(--navy-500)); }

/* bar chart */
.barchart { display: flex; gap: 14px; align-items: flex-end; height: 220px; padding-top: 10px; }
.barchart .col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; height: 100%; }
.barchart .col .barwrap { display: flex; align-items: flex-end; gap: 4px; width: 100%; height: 100%; justify-content: center; }
.barchart .col .b1, .barchart .col .b2 { width: 16px; border-radius: 3px 3px 0 0; }
.barchart .col .b1 { background: var(--orange-500); }
.barchart .col .b2 { background: var(--navy-400); }
.barchart .col .lbl { font-size: 11px; color: var(--ink-500); font-weight: 600; }
.legend { display: flex; gap: 16px; font-size: 12px; color: var(--ink-700); margin-top: 6px; }
.legend .swatch { display: inline-flex; gap: 6px; align-items: center; }
.legend .sw { width: 10px; height: 10px; border-radius: 2px; display: inline-block; }
.legend .sw.orange { background: var(--orange-500); }
.legend .sw.navy { background: var(--navy-400); }

/* progress (donut-ish via conic) */
.donut { width: 140px; height: 140px; border-radius: 50%; display: inline-block; position: relative; }
.donut::after {
  content: ""; position: absolute; inset: 18px;
  background: white; border-radius: 50%;
}
.donut .center {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.donut .center .v { font-family: var(--font-display); font-size: 24px; font-weight: 800; color: var(--navy-600); }
.donut .center .l { font-size: 11px; color: var(--ink-500); text-transform: uppercase; letter-spacing: .04em; }

/* image placeholder helpers (product mockups via CSS gradients & shapes) */
.ph-shape {
  width: 70%; height: 70%; border-radius: 8px;
  background: linear-gradient(135deg, var(--orange-200), var(--orange-400));
  position: relative;
}
.ph-shape::after {
  content: ""; position: absolute; inset: 18%;
  background: white; opacity: .35; border-radius: 4px;
}

/* modal-ish styles for order detail in admin */
.drawer-overlay {
  position: fixed; inset: 0; background: rgba(20,37,74,.5);
  z-index: 80; display: flex; justify-content: flex-end;
  animation: fadeIn .15s ease-out;
}
.drawer {
  width: 720px; max-width: 95vw; background: var(--ink-50); height: 100vh;
  overflow-y: auto;
  animation: slideIn .2s ease-out;
}
.drawer-head { background: white; padding: 18px 24px; border-bottom: 1px solid var(--ink-200); display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: 5; }
.drawer-head h2 { margin: 0; font-family: var(--font-display); font-size: 18px; color: var(--navy-600); }
.drawer-body { padding: 24px; display: grid; gap: 16px; }
@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }
@keyframes slideIn { from { transform: translateX(20px); opacity: 0 } to { transform: translateX(0); opacity: 1 } }

.linecard { background: white; border: 1px solid var(--ink-200); border-radius: var(--r-md); padding: 14px 16px; display: grid; grid-template-columns: 1fr auto; gap: 12px; }
.linecard .l { font-size: 12.5px; color: var(--ink-500); font-weight: 600; }
.linecard .r { font-size: 14px; font-weight: 700; color: var(--navy-600); }

/* ===========================================================
   ADMIN — Reports / Stock / Tiers / Settings additions
   =========================================================== */

/* SVG line chart */
.linechart-wrap { position: relative; width: 100%; }
.linechart-wrap svg { display: block; width: 100%; height: auto; }
.linechart-y-labels { position: absolute; left: 0; top: 0; bottom: 28px; display: flex; flex-direction: column; justify-content: space-between; font-size: 10.5px; color: var(--ink-400); padding-right: 6px; }
.linechart-x-labels { display: flex; justify-content: space-between; padding-left: 36px; padding-right: 8px; margin-top: 6px; font-size: 10.5px; color: var(--ink-500); }

/* Heatmap */
.heatmap { display: grid; grid-template-columns: 60px repeat(24, 1fr); gap: 2px; font-size: 10px; }
.heatmap .hcell {
  height: 22px; border-radius: 2px;
  background: var(--ink-100);
  display: flex; align-items: center; justify-content: center;
  color: rgba(0,0,0,.5); font-weight: 600;
}
.heatmap .hlabel { display: flex; align-items: center; color: var(--ink-500); font-weight: 600; font-size: 11px; }
.heatmap .htop { color: var(--ink-500); font-weight: 600; font-size: 10px; text-align: center; }

/* Horizontal bar list */
.hbarlist { display: grid; gap: 10px; }
.hbarlist .row { display: grid; grid-template-columns: 140px 1fr 60px; gap: 10px; align-items: center; font-size: 12.5px; }
.hbarlist .row .name { color: var(--ink-700); }
.hbarlist .row .bar { background: var(--ink-100); height: 12px; border-radius: 4px; overflow: hidden; }
.hbarlist .row .bar > div { height: 100%; background: var(--orange-500); border-radius: 4px; }
.hbarlist .row .val { color: var(--navy-600); font-weight: 700; text-align: right; }

/* Stock progress bars */
.stockbar { background: var(--ink-100); height: 6px; border-radius: 3px; overflow: hidden; width: 100%; }
.stockbar > div { height: 100%; border-radius: 3px; }
.stockbar.ok > div { background: var(--green-500); }
.stockbar.low > div { background: var(--orange-500); }
.stockbar.crit > div { background: var(--red-500); }
.stockbar.over > div { background: var(--blue-500); }

/* Tier editor */
.tier-editor { display: grid; gap: 10px; }
.tier-row {
  display: grid; grid-template-columns: 90px 90px 1fr 120px 100px 32px;
  gap: 8px; align-items: center;
  padding: 10px 12px; background: var(--ink-50);
  border-radius: 8px; border: 1px solid var(--ink-100);
}
.tier-row input {
  padding: 8px 10px; border: 1px solid var(--ink-200);
  border-radius: 6px; font-size: 13px; width: 100%;
}
.tier-row .lbl { font-size: 11.5px; color: var(--ink-500); font-weight: 600; }
.tier-row .calc { font-size: 12px; color: var(--green-600); font-weight: 600; }

/* Settings tabs */
.settings-layout { display: grid; grid-template-columns: 260px 1fr; gap: 14px; align-items: flex-start; }
.settings-side { background: white; border: 1px solid var(--ink-200); border-radius: var(--r-md); padding: 8px; }
.settings-side a {
  display: flex; gap: 10px; align-items: center;
  padding: 9px 12px; font-size: 13px; color: var(--ink-700);
  border-radius: 6px; cursor: pointer;
}
.settings-side a:hover { background: var(--ink-50); }
.settings-side a.active { background: var(--orange-50); color: var(--orange-600); font-weight: 600; }
.settings-pane { background: white; border: 1px solid var(--ink-200); border-radius: var(--r-md); }
.settings-pane-head { padding: 18px 22px; border-bottom: 1px solid var(--ink-200); }
.settings-pane-head h2 { margin: 0 0 4px; font-family: var(--font-display); font-size: 18px; color: var(--navy-600); font-weight: 700; }
.settings-pane-head p { margin: 0; color: var(--ink-500); font-size: 13px; }
.settings-pane-body { padding: 22px; }
.settings-section { padding-bottom: 22px; border-bottom: 1px solid var(--ink-100); margin-bottom: 22px; }
.settings-section:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.settings-section h3 { margin: 0 0 4px; font-size: 14px; color: var(--navy-600); font-weight: 700; font-family: var(--font-display); }
.settings-section .help { margin: 0 0 14px; font-size: 12.5px; color: var(--ink-500); }
.setting-row {
  display: grid; grid-template-columns: 1fr 320px;
  gap: 24px; padding: 10px 0; align-items: flex-start;
}
.setting-row .info .name { font-weight: 600; font-size: 13.5px; color: var(--ink-900); margin-bottom: 3px; }
.setting-row .info .desc { font-size: 12.5px; color: var(--ink-500); line-height: 1.5; }
.setting-row .control { display: flex; gap: 8px; align-items: center; justify-content: flex-end; }
.setting-row .control input[type=text],
.setting-row .control input[type=number],
.setting-row .control select { padding: 8px 10px; border: 1px solid var(--ink-200); border-radius: 6px; font-size: 13px; width: 100%; }

/* iOS-style toggle */
.toggle {
  position: relative; width: 40px; height: 22px;
  background: var(--ink-300); border-radius: 999px;
  cursor: pointer; transition: background .15s;
  flex-shrink: 0;
}
.toggle::after {
  content: ""; position: absolute; left: 2px; top: 2px;
  width: 18px; height: 18px; border-radius: 50%;
  background: white; box-shadow: 0 1px 3px rgba(0,0,0,.2);
  transition: transform .15s;
}
.toggle.on { background: var(--green-500); }
.toggle.on::after { transform: translateX(18px); }

/* Product form */
.pform-layout { display: grid; grid-template-columns: 1fr 320px; gap: 14px; align-items: flex-start; }
.pform-section { background: white; border: 1px solid var(--ink-200); border-radius: var(--r-md); margin-bottom: 14px; }
.pform-section .ph { padding: 14px 18px; border-bottom: 1px solid var(--ink-100); }
.pform-section .ph h3 { margin: 0; font-size: 14px; font-family: var(--font-display); color: var(--navy-600); font-weight: 700; }
.pform-section .ph p { margin: 2px 0 0; font-size: 12px; color: var(--ink-500); }
.pform-section .pb { padding: 18px; }
.pform-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pform-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
.image-uploader {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px;
}
.image-uploader .slot {
  aspect-ratio: 1 / 1; border: 2px dashed var(--ink-200);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  color: var(--ink-400); font-size: 11px; cursor: pointer;
  background: var(--ink-50); position: relative;
  flex-direction: column; gap: 4px;
}
.image-uploader .slot.filled { border-style: solid; border-color: var(--ink-200); padding: 0; }
.image-uploader .slot .x {
  position: absolute; top: 4px; right: 4px;
  width: 18px; height: 18px; background: white;
  border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  color: var(--red-500); font-size: 10px; box-shadow: var(--shadow-sm);
}
.image-uploader .slot.main::before {
  content: "ANA"; position: absolute; top: 4px; left: 4px;
  background: var(--orange-500); color: white;
  font-size: 9px; font-weight: 700; padding: 2px 6px; border-radius: 3px;
}

/* tags input */
.tags-input {
  border: 1px solid var(--ink-200); border-radius: 8px;
  padding: 8px; min-height: 42px;
  display: flex; flex-wrap: wrap; gap: 6px;
}
.tags-input .tagchip {
  background: var(--orange-50); color: var(--orange-700);
  padding: 4px 8px; border-radius: 4px; font-size: 12px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
}
.tags-input .tagchip .rm { color: var(--orange-500); cursor: pointer; }
.tags-input input { border: 0; outline: 0; flex: 1; padding: 4px; font-size: 13px; min-width: 100px; }

/* small kpi (used inside reports) */
.minikpi {
  background: white; border: 1px solid var(--ink-200); border-radius: 10px;
  padding: 12px 14px;
}
.minikpi .l { font-size: 11px; color: var(--ink-500); text-transform: uppercase; letter-spacing: .04em; font-weight: 600; }
.minikpi .v { font-family: var(--font-display); font-weight: 800; font-size: 19px; color: var(--navy-600); margin-top: 4px; }
.minikpi .d { font-size: 11px; margin-top: 2px; }

/* warehouse cards */
.wh-card { background: white; border: 1px solid var(--ink-200); border-radius: 10px; padding: 14px; }
.wh-card.active { border-color: var(--orange-500); box-shadow: 0 0 0 3px var(--orange-50); }

/* quote table */
.quote-status { font-weight: 700; }

.timeline { position: relative; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 0; bottom: 0; width: 2px; background: var(--ink-200); }
.timeline .ev { position: relative; padding-bottom: 14px; }
.timeline .ev::before {
  content: ""; position: absolute; left: -25px; top: 4px;
  width: 14px; height: 14px; border-radius: 50%; background: white;
  border: 3px solid var(--orange-500);
}
.timeline .ev.done::before { background: var(--orange-500); border-color: var(--orange-500); }
.timeline .ev .t { font-weight: 600; font-size: 13px; color: var(--navy-600); }
.timeline .ev .d { font-size: 12px; color: var(--ink-500); }

/* =========================================================
   MOBILE RESPONSIVE (≤1024 tablet, ≤768 phone, ≤480 small)
   ========================================================= */

/* mobil hamburger ve drawer backdrop — varsayılan: masaüstünde gizli */
.mob-menu-btn {
  display: none; background: none; border: 0; padding: 8px;
  cursor: pointer; color: var(--navy-600); border-radius: 8px;
}
.mob-menu-btn:hover { background: var(--ink-50); }
.mob-nav-backdrop {
  display: none; position: fixed; inset: 0;
  background: rgba(8,18,42,.5); z-index: 70;
}
body.mob-nav-open .mob-nav-backdrop { display: block; }

/* ---------- tablet (≤1024px) ---------- */
@media (max-width: 1024px) {
  .wrap { padding: 0 16px; }
  .topbar-left a:nth-child(3) { display: none; }
  .mainbar-inner {
    grid-template-columns: auto 1fr auto;
    height: 76px; gap: 14px;
  }
  .logo img { height: 48px; }
  .mainbar-actions .icon-btn span { display: none; }
  .mainbar-actions .icon-btn { padding: 6px 8px; }
  .pgrid.cols-4 { grid-template-columns: repeat(3, 1fr); }
  .pgrid.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .cart-layout, .pdp { grid-template-columns: 1fr 320px !important; }
  footer .foot-top { grid-template-columns: 1fr 1fr 1fr !important; }
  .hero {
    grid-template-columns: 200px 1fr !important;
    gap: 12px;
  }
  .hero-side { display: none !important; }
  .hero-slider { min-height: 320px; padding: 28px 32px; }
  .hero-slider h1 { font-size: 30px; }
}

/* ---------- mobile (≤768px) ---------- */
@media (max-width: 768px) {
  html, body { overflow-x: hidden; max-width: 100vw; }
  body { font-size: 14px; }
  img, video, iframe { max-width: 100%; height: auto; }
  .wrap { max-width: 100%; box-sizing: border-box; }

  /* topbar: solu gizle, sağda sadece WhatsApp link */
  .topbar { font-size: 11px; }
  .topbar-inner { padding: 6px 12px; gap: 6px; }
  .topbar-left { display: none; }
  .topbar-right a:first-child { display: none; }
  .topbar-right .pill { padding: 4px 10px; font-size: 11px; }

  /* mainbar */
  .mob-menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .mainbar-inner {
    grid-template-columns: auto 1fr auto !important;
    grid-template-areas: "menu logo cart" "search search search";
    gap: 10px; height: auto; padding: 10px 0;
  }
  .mob-menu-btn { grid-area: menu; }
  .logo { grid-area: logo; justify-content: center; }
  .logo img { height: 38px; }
  .search { grid-area: search; min-height: 44px; }
  .search select { display: none; }
  .search input { font-size: 14px; padding: 0 12px; }
  .search button { padding: 0 14px; font-size: 13px; }
  .search button svg + * { display: none; }
  .mainbar-actions { grid-area: cart; gap: 4px; }
  .mainbar-actions .icon-btn:not([href*="/sepet"]):not([href*="/giris"]):not([href*="/hesap"]) { display: none; }
  .mainbar-actions .icon-btn { padding: 6px; }
  .mainbar-actions .icon-btn .badge { position: relative; }

  /* catbar drawer modunda */
  .catbar {
    position: fixed; top: 0; left: 0; height: 100vh; width: 84%; max-width: 320px;
    background: white; border-right: 1px solid var(--ink-200);
    transform: translateX(-100%); transition: transform .25s ease;
    z-index: 80; overflow-y: auto; overflow-x: hidden; padding: 14px 0;
  }
  body.mob-nav-open .catbar { transform: translateX(0); box-shadow: 4px 0 24px rgba(8,18,42,.18); }
  .catbar .wrap { padding: 0 8px; }
  .catbar-inner {
    flex-direction: column; align-items: stretch;
    padding: 0; gap: 2px;
    height: auto !important;
    overflow: visible !important;
  }
  .catbar-inner a {
    padding: 12px 14px; border-radius: 8px; font-size: 14px;
    width: 100%; justify-content: flex-start;
    height: auto !important;
    display: flex !important;
    color: var(--ink-700);
    border-bottom: 0 !important;
  }
  .catbar-inner a:hover, .catbar-inner a.active { background: var(--ink-50); color: var(--orange-500); }
  .catbar-inner .all {
    background: var(--navy-600) !important; color: white !important;
    margin: 0 0 8px 0;
    padding: 12px 14px;
  }

  /* genel grid değişiklikleri */
  .pgrid, .pgrid.cols-4, .pgrid.cols-3, .pgrid.cols-2 { grid-template-columns: repeat(2, 1fr) !important; gap: 12px; }
  .pcard-img { aspect-ratio: 1/1; }
  .pcard-body { padding: 10px; gap: 4px; }
  .pcard-name { font-size: 12.5px; line-height: 1.35; }
  .pcard-price .now { font-size: 16px; }
  .pcard-actions { grid-template-columns: 1fr; }
  .pcard-actions .btn-wp { display: none; }

  /* hero/feature/strip alanları */
  .hero {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }
  /* mobilde slider önce gelsin, kategori listesi gizli (hamburger menüde var), sonra yan promolar */
  .hero-slider { order: 1; min-height: 220px !important; padding: 24px 20px !important; }
  .hero-cats   { display: none !important; }
  .hero-side   { order: 2; grid-template-columns: 1fr 1fr !important; }
  .hero-slider h1 { font-size: 24px !important; line-height: 1.2; }
  .hero-slider p  { font-size: 13px !important; }
  .hero-slider .cta-row { flex-wrap: wrap; gap: 8px; }
  .hero-slider .cta-row .btn { flex: 1 1 auto; min-width: 0; font-size: 13px; padding: 10px 12px; }
  .hero-slider::before { width: 200px !important; height: 200px !important; right: -60px !important; top: -60px !important; }
  .hero-dots { left: 20px !important; bottom: 12px !important; }
  .home-slider { height: auto; min-height: 240px; }
  .home-strip-banners { grid-template-columns: 1fr !important; }
  .featurestrip { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .featurestrip .item { padding: 14px; }
  .featurestrip .item h4 { font-size: 13px; }
  .featurestrip .item p { font-size: 11px; }
  .cattiles { display: none !important; }
  .section-head:has(+ .cattiles) { display: none !important; }

  /* ürün detayı */
  .pdp { grid-template-columns: 1fr !important; gap: 14px; }
  .pdp-gallery { position: static; }
  .pdp-info h1 { font-size: 18px !important; line-height: 1.25; }
  .pdp-info .brandrow { flex-wrap: wrap; gap: 6px 10px; }
  .pdp-info .pricebox .now { font-size: 24px !important; }
  .buybox { position: static; padding: 16px; }
  .tiers-table { font-size: 12px; display: block; overflow-x: auto; white-space: nowrap; }
  .tiers-table th, .tiers-table td { padding: 6px 8px; }
  .pdp-feats { font-size: 12.5px; }
  /* pdp tab başlıkları sarabilsin */
  .pdp-tabs-nav { flex-wrap: wrap; gap: 0; }
  .pdp-tabs-nav button { flex: 1 1 auto; font-size: 13px; padding: 10px 8px; text-align: center; }

  /* sepet */
  .cart-layout { grid-template-columns: 1fr !important; }
  .cart-row { grid-template-columns: 80px 1fr !important; gap: 10px !important; padding: 10px !important; }
  .cart-info { grid-column: 2; }
  .cart-qty { grid-column: 1 / -1; justify-self: start; }
  .cart-line { grid-column: 1 / -1; text-align: left !important; display: flex; justify-content: space-between; align-items: center; }
  .cart-line-now { font-size: 18px !important; }
  .cart-summary-card { padding: 16px; position: static; }

  /* checkout */
  .co-grid, .checkout-layout { grid-template-columns: 1fr !important; }

  /* hesap/kategori sayfaları */
  .catpage, .catpage-layout, .account-grid, .acct-grid { grid-template-columns: 1fr !important; }
  .filters, .catpage-sidebar, .account-side, .acc-side { position: static; }
  /* kategori: filtreler hamburger drawer içine gizle, başlık satırı sabit */
  .filters {
    display: none;
    background: white; border: 1px solid var(--ink-200); border-radius: var(--r-md);
    padding: 16px; margin-bottom: 14px;
  }
  .filters.mob-open { display: block; }
  .results-bar { flex-wrap: wrap; gap: 8px; }
  .results-bar .count { font-size: 12px; }
  /* kategori: filtre toggle butonu mobilde göster */
  .mob-filter-btn {
    display: inline-flex !important;
    align-items: center; gap: 6px;
    padding: 8px 14px; background: white;
    border: 1px solid var(--ink-200); border-radius: 8px;
    font-size: 13px; font-weight: 600; color: var(--navy-600);
    cursor: pointer;
  }

  /* footer */
  footer .foot-top { grid-template-columns: 1fr !important; gap: 24px; }
  footer .foot-brand img { height: 44px; }
  .foot-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .pays { justify-content: center; flex-wrap: wrap; }

  /* admin form rows in customer area */
  .pform-grid-2 { grid-template-columns: 1fr !important; }

  /* fab whatsapp button */
  .fab-wp { width: 52px; height: 52px; bottom: 16px; right: 16px; }
  .fab-wp svg { width: 24px; height: 24px; }

  /* toplu sipariş CTA — dikey stack, butonlar tam genişlik */
  .bulkcta {
    grid-template-columns: 1fr !important;
    padding: 18px 18px !important;
    gap: 14px !important;
  }
  .bulkcta h3 { font-size: 16px !important; line-height: 1.3; }
  .bulkcta p  { font-size: 13px !important; }
  .bulkcta .actions { flex-direction: column; gap: 8px; }
  .bulkcta .actions .btn { width: 100%; justify-content: center; }

  /* markalar — 3 kolon grid, taşma yok */
  .brandstrip {
    grid-template-columns: repeat(3, 1fr) !important;
  }
  .brandstrip .brand {
    height: 56px; font-size: 13px;
    border-bottom: 1px solid var(--ink-100);
  }
  .brandstrip .brand:nth-child(3n) { border-right: 0; }
  .brandstrip .brand:nth-last-child(-n+3) { border-bottom: 0; }

  /* section heads */
  .section-head h2 { font-size: 18px; }
  .section-head .more { font-size: 12px; }

  /* tables genel */
  table.atable, .atable { display: block; overflow-x: auto; white-space: nowrap; }

  /* drawer / modal forms */
  .drawer { width: 100% !important; max-width: 100% !important; height: 100vh; border-radius: 0 !important; }
}

/* ---------- small mobile (≤480px) ---------- */
@media (max-width: 480px) {
  .pgrid, .pgrid.cols-4, .pgrid.cols-3, .pgrid.cols-2 { grid-template-columns: 1fr !important; }
  .featurestrip { grid-template-columns: 1fr; }
  .cattiles { grid-template-columns: 1fr; }
  .topbar-right .pill .icon, .topbar-right .pill svg { display: inline-block; }
  .topbar-right a { font-size: 10.5px; }
  .logo img { height: 32px; }
  .section-head h2 { font-size: 16px; }
  /* ürün detayı küçük ekran */
  .pdp-info h1 { font-size: 16px !important; }
  .pdp-info .pricebox .now { font-size: 22px !important; }
  .buybox { padding: 12px; }
  .buybox-qty input { width: 48px !important; }
  /* kategori küçük ekran */
  .pcard-body { padding: 8px; }
  .pcard-name { font-size: 12px; }
  .pcard-price .now { font-size: 14px; }
}

