/* ============================================================
   Apple-Store–inspired theme for the customer-facing storefront.
   Scoped to body.store-body so the admin/owner/pos panels
   (which share style.css) are completely untouched.
   ============================================================ */

body.store-body {
  --primary: #0071e3;
  --primary-dark: #0058b0;
  --primary-light: #e8f2ff;
  --primary-grad: #0071e3;
  --text: #1d1d1f;
  --text-muted: #86868b;
  --bg: #ffffff;
  --surface: #ffffff;
  --tile: #f5f5f7;
  --border: #d2d2d7;
  --danger: #ff3b30;
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
  letter-spacing: normal;
  line-height: 1.55;
  background: var(--bg);
  color: var(--text);
}

body.store-body * { box-sizing: border-box; }
body.store-body a { color: inherit; }
body.store-body img { max-width: 100%; display: block; }

/* ---------- Top navigation (translucent, blurred, Apple-style) ---------- */
.store-nav {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding: 0 22px;
  height: 52px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 50;
}
.store-nav .brand {
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 6px;
}
.store-nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 13px;
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  opacity: 0.9;
  transition: opacity .15s ease;
}
.store-nav a:hover { opacity: 1; }
.store-nav .nav-links { display: flex; gap: 26px; align-items: center; }
.store-nav .icon, .store-nav svg { width: 16px; height: 16px; }

/* ---------- Hero ---------- */
.store-hero {
  background: linear-gradient(180deg, #fbfbfd 0%, #f5f5f7 100%);
  color: var(--text);
  padding: 72px 24px 56px;
  text-align: center;
}
.store-hero h1 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
.store-hero p {
  color: var(--text-muted);
  font-size: 17px;
  margin: 0 0 28px;
}
.store-search {
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px;
  box-shadow: var(--shadow);
}
.store-search input {
  flex: 1;
  padding: 12px 18px;
  border-radius: 999px;
  border: none;
  font-size: 15px;
  outline: none;
  background: transparent;
  font-family: inherit;
}
.store-search button {
  padding: 12px 26px;
  border-radius: 999px;
  border: none;
  background: var(--primary);
  color: #fff;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: background .15s ease;
  font-family: inherit;
}
.store-search button:hover { background: var(--primary-dark); }

/* ---------- Wrapper ---------- */
.store-wrap { max-width: 1120px; margin: 0 auto; padding: 40px 24px 64px; }
.store-wrap h1 { font-size: 26px; font-weight: 600; letter-spacing: -0.015em; margin: 0 0 20px; }
.store-wrap h2 { font-size: 21px; font-weight: 600; letter-spacing: -0.012em; margin: 0 0 18px; }

/* ---------- Category pills (segmented-control feel) ---------- */
.category-chips {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  margin-bottom: 32px;
  padding: 5px;
  background: var(--tile);
  border-radius: 999px;
  width: fit-content;
  max-width: 100%;
}
.category-chips a {
  padding: 9px 18px;
  border-radius: 999px;
  background: transparent;
  border: none;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  color: var(--text-muted);
  white-space: nowrap;
  transition: all .15s ease;
}
.category-chips a.active {
  background: #fff;
  color: var(--text);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}
.category-chips a:hover:not(.active) { color: var(--text); }

/* ---------- Product grid ---------- */
.product-grid-store {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 18px;
}
.store-product-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
  text-decoration: none;
  color: var(--text);
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s ease;
  display: block;
  max-width: 210px;
  width: 100%;
  margin: 0 auto;
}
.store-product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.store-product-card .thumb {
  aspect-ratio: 1;
  background: var(--tile);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.store-product-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.thumb-fallback {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d9d9de, #bcbcc2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.store-product-card .info { padding: 16px; }
.store-product-card .name {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
  height: 36px;
  overflow: hidden;
  line-height: 1.3;
  color: var(--text);
}
.store-product-card .price { font-size: 15px; font-weight: 600; color: var(--text); }
.store-product-card .price .old-price {
  text-decoration: line-through;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 400;
  display: block;
  margin-bottom: 2px;
}
.store-product-card .stock-badge {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.store-product-card .stock-badge::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: #30d158;
  display: inline-block;
}
.store-product-card .stock-badge.out::before { background: var(--danger); }

/* ---------- Branch cards ---------- */
.branch-card {
  background: var(--surface);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-lg);
  padding: 20px;
}
.branch-card strong { font-size: 15px; font-weight: 600; }
.branch-card p { font-size: 13px; color: var(--text-muted); margin: 6px 0 0; line-height: 1.5; }

/* ---------- Footer ---------- */
.store-footer {
  background: var(--tile);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding: 36px 24px;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 48px;
  line-height: 1.8;
}
.store-footer strong { color: var(--text); font-weight: 500; }

/* ---------- Product detail page ---------- */
.pdp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: flex-start;
}
@media (max-width: 760px) {
  .pdp-grid { grid-template-columns: 1fr; gap: 24px; }
}
.pdp-image {
  background: var(--tile);
  border-radius: var(--radius-lg);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: sticky;
  top: 76px;
}
.pdp-image img { width: 100%; height: 100%; object-fit: cover; }
.pdp-image .thumb-fallback { width: 96px; height: 96px; font-size: 30px; }

.pdp-info .eyebrow {
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin: 0 0 8px;
}
.pdp-info h1 {
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}
.pdp-price {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 6px;
}
.pdp-price .old-price {
  text-decoration: line-through;
  color: var(--text-muted);
  font-size: 16px;
  font-weight: 400;
  display: block;
  margin-bottom: 4px;
}
.pdp-price .discounted { color: var(--danger); }
.pdp-stock {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
}
.pdp-stock.available::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #30d158; }
.pdp-stock.unavailable::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--danger); }
.pdp-desc { font-size: 14px; line-height: 1.7; color: #444; margin: 20px 0; }

.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
}
.qty-stepper button {
  width: 40px; height: 40px;
  border: none;
  background: #fff;
  font-size: 18px;
  cursor: pointer;
  color: var(--text);
  transition: background .15s;
}
.qty-stepper button:hover { background: var(--tile); }
.qty-stepper input {
  width: 44px;
  border: none;
  text-align: center;
  font-size: 15px;
  font-family: inherit;
  -moz-appearance: textfield;
}
.qty-stepper input::-webkit-outer-spin-button,
.qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.pdp-actions { display: flex; align-items: center; gap: 14px; margin-top: 24px; }

/* ---------- Buttons (Apple pill style, overrides shared .btn on store pages) ---------- */
body.store-body .btn {
  border-radius: 999px;
  border: 1px solid var(--border);
  padding: 12px 26px;
  font-size: 15px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: all .15s ease;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  background: #fff;
  color: var(--text);
}
body.store-body .btn:hover { background: var(--tile); }
body.store-body .btn-primary {
  background: var(--primary);
  color: #fff;
  border: none;
  box-shadow: none;
}
body.store-body .btn-primary:hover {
  background: var(--primary-dark);
  transform: none;
  box-shadow: none;
}
body.store-body .btn-primary:disabled {
  background: #d2d2d7;
  color: #86868b;
  cursor: not-allowed;
}
body.store-body .btn-block { width: 100%; }

/* ---------- Forms (Apple-style inputs) ---------- */
body.store-body .field { display: block; margin-bottom: 18px; }
body.store-body .field span {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 7px;
  color: var(--text);
}
body.store-body .field input,
body.store-body .field select {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-size: 15px;
  font-family: inherit;
  background: #fff;
  color: var(--text);
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
body.store-body .field input:focus,
body.store-body .field select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-light);
}
body.store-body .alert { padding: 12px 16px; border-radius: var(--radius-sm); font-size: 13px; margin-bottom: 18px; }
body.store-body .alert-error { background: #fff1f0; color: #c62b25; border: 1px solid #ffd4d1; }
body.store-body .alert-success { background: #edfaf0; color: #1a7d3a; border: 1px solid #bdedca; }

/* ---------- Cart page ---------- */
.cart-page-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.cart-page-item .cart-thumb {
  width: 56px; height: 56px;
  border-radius: var(--radius-sm);
  background: var(--tile);
  overflow: hidden;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.cart-page-item .cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-page-item .cart-thumb .thumb-fallback { width: 32px; height: 32px; font-size: 12px; }
.cart-page-item .cart-item-main { display: flex; align-items: center; gap: 14px; flex: 1; min-width: 0; }
.cart-page-item .cart-item-name { font-weight: 500; font-size: 14px; }
.cart-page-item .cart-item-price { color: var(--text-muted); font-size: 13px; margin-top: 2px; }
.cart-page-item .qty-control { display: flex; align-items: center; gap: 10px; }
.cart-page-item .qty-control button {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
  font-size: 15px;
  line-height: 1;
}
.cart-page-item .qty-control button:hover { background: var(--tile); }

.cart-summary {
  background: var(--tile);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  margin-top: 8px;
}
.cart-summary-row {
  display: flex; justify-content: space-between;
  font-size: 18px; font-weight: 600;
  padding: 4px 0 18px;
}

/* ---------- Checkout / order summary card ---------- */
.summary-card {
  background: var(--surface);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-lg);
  padding: 22px;
  margin-bottom: 24px;
}
.summary-line { display: flex; justify-content: space-between; font-size: 13px; padding: 7px 0; color: #444; }
.summary-total {
  display: flex; justify-content: space-between;
  font-weight: 600; font-size: 17px;
  border-top: 1px solid rgba(0,0,0,0.08);
  margin-top: 8px; padding-top: 12px;
}

/* ---------- Order confirmation ---------- */
.order-success-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #eafbee;
  color: #30d158;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.status-pill {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 13px;
  font-weight: 500;
}

/* ---------- Empty states ---------- */
.empty-state { text-align: center; padding: 60px 20px; color: var(--text-muted); }
.empty-state svg { width: 40px; height: 40px; margin-bottom: 14px; opacity: .5; }

/* ============================================================
   NEW HOMEPAGE COMPONENTS — top nav w/ logo+search+icons, hero
   banner carousel + sticky cart sidebar, feature strip, menu
   icon grid, best-seller badges. (v2 storefront redesign)
   ============================================================ */

/* ---------- Top nav (full) ---------- */
.store-nav.store-nav-full {
  height: auto;
  padding: 0;
  display: block;
}
.store-nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.store-nav-full .brand {
  font-size: 18px;
  font-weight: 700;
}
.store-nav-full .brand .brand-logo {
  width: 30px; height: 30px; border-radius: 8px;
  background: var(--primary);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
}
.store-nav-full .nav-search {
  flex: 1;
  max-width: 420px;
  min-width: 160px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--tile);
  border-radius: 999px;
  padding: 8px 16px;
}
.store-nav-full .nav-search input {
  flex: 1; border: none; background: transparent; outline: none;
  font-family: inherit; font-size: 13px; color: var(--text);
}
.store-nav-full .nav-search svg { color: var(--text-muted); flex-shrink: 0; }
.store-nav-full .nav-icons { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.store-nav-full .nav-icon-btn {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  color: var(--text);
  text-decoration: none;
}
.store-nav-full .nav-icon-btn .badge {
  position: absolute; top: -8px; right: -9px;
  background: var(--danger); color: #fff;
  font-size: 10px; font-weight: 700;
  min-width: 16px; height: 16px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 3px;
}
.store-nav-full .nav-menu-links { display: flex; gap: 20px; }
.store-nav-full .nav-menu-links a {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 500; text-decoration: none; color: var(--text);
}
.store-nav-full .nav-menu-links a svg { color: var(--text-muted); }
.store-nav-full .nav-menu-links a:hover { color: var(--primary); }
.store-nav-full .nav-menu-links a:hover svg { color: var(--primary); }
@media (max-width: 680px) {
  .store-nav-full .nav-menu-links { display: none; }
}

/* ---------- Layout: main content + sticky sidebar ---------- */
.store-home-layout {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 24px 64px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 22px;
  align-items: start;
}
@media (max-width: 980px) {
  .store-home-layout { grid-template-columns: 1fr; }
  .store-sidebar { order: 3; }
}
.store-main-col { min-width: 0; }
.store-sidebar { position: sticky; top: 70px; display: flex; flex-direction: column; gap: 16px; }

/* ---------- Hero banner carousel ---------- */
.hero-carousel {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--tile);
  aspect-ratio: 16/7;
}
@media (max-width: 680px) { .hero-carousel { aspect-ratio: 4/3; } }
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transition: opacity .5s ease;
  display: block;
}
.hero-slide.active { opacity: 1; visibility: visible; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.62) 0%, rgba(0,0,0,0.38) 32%, rgba(0,0,0,0.06) 62%, rgba(0,0,0,0) 100%);
  pointer-events: none;
}
.hero-slide .hero-text {
  position: absolute; left: 0; top: 0; bottom: 0;
  display: flex; flex-direction: column; justify-content: center;
  padding: 5% 6%;
  max-width: 60%;
  color: #fff;
}
.hero-slide .hero-text .eyebrow-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600;
  background: rgba(255,255,255,0.16);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  padding: 4px 12px;
  width: fit-content;
  margin-bottom: 12px;
}
.hero-slide .hero-text h2 {
  font-size: clamp(20px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.hero-slide .hero-text p { font-size: 14px; margin: 0 0 16px; opacity: .92; max-width: 380px; }
.hero-slide .hero-text .btn-primary { width: fit-content; text-shadow: none; }
.hero-dots {
  position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px; z-index: 5;
}
.hero-dots button {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: none; cursor: pointer; padding: 0;
  transition: all .2s;
}
.hero-dots button.active { background: #fff; width: 18px; border-radius: 4px; }
.hero-nav-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,0.85);
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--text); z-index: 5;
}
.hero-nav-arrow.prev { left: 14px; }
.hero-nav-arrow.next { right: 14px; }
.hero-nav-arrow:hover { background: #fff; }

/* ---------- Feature strip ---------- */
.feature-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
  margin: 22px 0;
}
.feature-strip-item {
  display: flex; align-items: center; gap: 10px;
  background: var(--surface);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}
.feature-strip-item .feature-icon {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--primary-light); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.feature-strip-item strong { display: block; font-size: 13px; font-weight: 600; }
.feature-strip-item span { display: block; font-size: 11px; color: var(--text-muted); }

/* ---------- Menu toko icon grid ---------- */
.menu-icon-row {
  display: flex;
  align-items: center;
  gap: 32px;
  margin: 22px 0 30px;
}
.menu-icon-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  flex: 0 0 auto;
}
.menu-icon-item {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  text-decoration: none; color: var(--text);
  text-align: center;
  width: 72px;
}
.menu-icon-item .menu-icon-circle {
  width: 54px; height: 54px; border-radius: 16px;
  background: var(--tile);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  transition: transform .15s ease, background .15s ease;
}
.menu-icon-item:hover .menu-icon-circle { background: var(--primary-light); transform: translateY(-2px); }
.menu-icon-item span { font-size: 11.5px; font-weight: 500; line-height: 1.25; }
body.store-body a.menu-icon-tagline {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 16px 22px;
  box-shadow: 0 10px 24px rgba(0, 113, 227, 0.28);
  transition: transform .2s ease, box-shadow .2s ease;
}
.menu-icon-tagline:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0, 113, 227, 0.36);
}
.menu-icon-tagline-icon {
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,0.18);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.menu-icon-tagline-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.menu-icon-tagline-text strong {
  font-size: 15px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.3;
  color: #fff;
}
.menu-icon-tagline-text span {
  font-size: 12.5px; font-weight: 400; opacity: .9; line-height: 1.35;
  color: #fff;
}
.menu-icon-tagline-7 .menu-icon-tagline-text strong { font-size: 13.5px; }
.menu-icon-tagline-7 .menu-icon-tagline-text span { font-size: 11.5px; }
.menu-icon-tagline-8 { padding: 14px 18px; gap: 10px; }
.menu-icon-tagline-8 .menu-icon-tagline-icon { width: 36px; height: 36px; }
.menu-icon-tagline-8 .menu-icon-tagline-text strong { font-size: 12.5px; }
.menu-icon-tagline-8 .menu-icon-tagline-text span { display: none; }
@media (max-width: 860px) {
  .menu-icon-tagline { display: none; }
}

/* ---------- Best seller badge on product cards ---------- */
.store-product-card { position: relative; }
.bestseller-badge {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  background: #ff9500; color: #fff;
  font-size: 10.5px; font-weight: 700;
  padding: 4px 10px; border-radius: 999px;
  display: flex; align-items: center; gap: 4px;
  text-transform: uppercase; letter-spacing: .02em;
}
.section-heading-row {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px;
}
.section-heading-row h2 { margin: 0; }
.section-heading-row a { font-size: 13px; font-weight: 500; color: var(--primary); text-decoration: none; }

/* ---------- Sidebar: mini cart box ---------- */
.sidebar-box {
  background: var(--surface);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-lg);
  padding: 18px;
}
.sidebar-box h3 {
  font-size: 14px; font-weight: 600; margin: 0 0 14px;
  display: flex; align-items: center; gap: 8px;
}
.sidebar-box h3 .badge {
  background: var(--danger); color: #fff;
  font-size: 10px; font-weight: 700; border-radius: 999px;
  min-width: 17px; height: 17px; padding: 0 4px;
  display: flex; align-items: center; justify-content: center;
}
.mini-cart-item { display: flex; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid rgba(0,0,0,0.05); }
.mini-cart-item:last-child { border-bottom: none; }
.mini-cart-item .thumb { width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0; }
.mini-cart-item .thumb-fallback { width: 44px; height: 44px; font-size: 13px; }
.mini-cart-item .mc-name { font-size: 12.5px; font-weight: 500; line-height: 1.3; margin-bottom: 2px; }
.mini-cart-item .mc-meta { font-size: 11.5px; color: var(--text-muted); }
.mini-cart-total { display: flex; justify-content: space-between; font-weight: 700; font-size: 15px; margin: 14px 0; padding-top: 12px; border-top: 1px solid rgba(0,0,0,0.08); }
.sidebar-promo-box {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, #0071e3, #0058b0);
  color: #fff;
  padding: 22px;
}
.sidebar-promo-box .brand-logo-mini {
  width: 26px; height: 26px; border-radius: 7px;
  background: rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 10px;
}
.sidebar-promo-box h4 { font-size: 17px; font-weight: 700; margin: 0 0 6px; letter-spacing: -0.01em; }
.sidebar-promo-box p { font-size: 12.5px; opacity: .8; margin: 0 0 14px; line-height: 1.5; }
.sidebar-promo-box a {
  display: inline-block; background: #00a52c; color: #1d1d1f;
  font-size: 12.5px; font-weight: 600; padding: 8px 16px; border-radius: 999px;
  text-decoration: none;
}
