*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #f5f5f5;
  --surface: #ffffff;
  --surface-alt: #fafafa;
  --text: #1a1a1a;
  --text-secondary: #555;
  --text-muted: #717171;
  --accent: #00bcd4;
  --accent-hover: #0097a7;
  --accent-light: #e0f7fa;
  --border: #eee;
  --border-strong: #ddd;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow: 0 2px 12px rgba(0,0,0,0.07);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.1);
  --whatsapp: #25D366;
  --success: #2e7d32;
  --danger: #c62828;
  --header-h: 56px;
  --topbar-h: 36px;
}

html {
  font-size: 16px;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

.hidden { display: none !important; }

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

a { color: inherit; }

/* ── Top Bar (Announcement) ── */
.top-bar {
  background: #222;
  color: rgba(255,255,255,0.9);
  font-size: 0.78rem;
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.top-bar .container {
  overflow: hidden;
  position: relative;
}
.top-bar-text {
  display: inline-block;
  white-space: nowrap;
  letter-spacing: 0.03em;
  font-weight: 500;
  animation: marquee 20s linear infinite;
  padding-left: 100%;
}
.top-bar:hover .top-bar-text {
  animation-play-state: paused;
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* ── Header ── */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s, color 0.3s;
}
.site-header.scrolled {
  background: #1a1a1a;
  border-bottom-color: #333;
  box-shadow: 0 2px 16px rgba(0,0,0,0.3);
}
.site-header.scrolled .brand-name { color: #fff; }
.site-header.scrolled .header-search input {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  color: #fff;
}
.site-header.scrolled .header-search input::placeholder { color: rgba(255,255,255,0.5); }
.site-header.scrolled .search-left-icon svg { stroke: rgba(255,255,255,0.5); }
/* header nav scrolled state handled by .site-header.scrolled .header-nav-link */
.header-inner {
  display: flex;
  align-items: center;
  height: 60px;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
}
.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
}
.brand-name {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.3px;
  white-space: nowrap;
}
.header-search-wrap {
  flex: 1;
  max-width: 420px;
  margin: 0 auto;
  position: relative;
}
.header-search {
  position: relative;
}
.header-search input {
  width: 100%;
  height: 38px;
  padding: 0 14px 0 38px;
  border: 1.5px solid var(--border-strong);
  border-radius: 20px;
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  font-size: 0.82rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.header-search input::placeholder { color: var(--text-muted); }
.header-search input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,188,212,0.1);
}
.header-search .search-left-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
  display: flex;
  align-items: center;
}
.header-search button {
  display: none;
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.header-nav-link {
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}
.header-nav-link:hover {
  color: var(--accent);
  background: var(--accent-light);
}
.header-nav-wa {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #25D366;
  color: #fff !important;
  border-radius: 8px;
  padding: 7px 14px;
}
.header-nav-wa:hover {
  background: #1da851;
  color: #fff !important;
}
.site-header.scrolled .header-nav-link { color: rgba(255,255,255,0.85); }
.site-header.scrolled .header-nav-link:hover { color: #fff; }

.header-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
  border: none;
  background: none;
  cursor: pointer;
}
.header-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: background 0.2s;
}
.site-header:not(.scrolled) .header-hamburger span { background: var(--text); }
.site-header.scrolled .header-hamburger span { background: #fff; }

.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 300;
}
.mobile-nav-overlay.open { display: block; }

.mobile-nav {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100%;
  background: var(--surface);
  z-index: 310;
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 20px rgba(0,0,0,0.15);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-nav.open { right: 0; }

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-bottom: 1px solid var(--border);
}
.mobile-nav-header .brand { gap: 8px; }
.mobile-nav-header .brand-logo { height: 28px; }
.mobile-nav-header .brand-name { font-size: 0.85rem; }

.mobile-nav-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.mobile-nav-close:hover { background: var(--bg); color: var(--text); }

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  padding: 12px 0;
}
.mobile-nav-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  transition: background 0.15s;
}
.mobile-nav-links a:hover {
  background: var(--bg);
  color: var(--accent);
}
.mobile-nav-links a svg { flex-shrink: 0; }

.mobile-nav-categories {
  padding: 8px 0 12px;
  border-top: 1px solid var(--border);
}
.mobile-nav-cat-title {
  padding: 8px 20px 4px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
}
.mobile-nav-cat-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: background 0.15s;
}
.mobile-nav-cat-link:hover {
  background: var(--bg);
  color: var(--accent);
}
.mobile-nav-cat-link em {
  font-style: normal;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--bg);
  padding: 2px 8px;
  border-radius: 10px;
}

/* ── Search Mega Panel ── */
.search-mega-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 199;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.search-mega-overlay.open { display: block; }

.search-mega {
  display: none;
  position: fixed;
  left: 0; right: 0;
  z-index: 200;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 40px rgba(0,0,0,0.18);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  max-height: 80vh;
  animation: megaSlideDown 0.2s ease;
}
.search-mega.open { display: flex; flex-direction: column; }
.search-mega-header {
  display: none;
}
.mega-search-bar {
  display: none;
}
@media (max-width: 767px) {
  .search-mega-header {
    display: flex; align-items: center;
    padding: 12px 12px 8px;
    background: var(--surface);
    position: sticky; top: 0; z-index: 5;
  }
  .mega-search-bar {
    display: flex; align-items: center; gap: 8px;
    flex: 1;
    position: relative;
    background: var(--bg);
    border-radius: 50px;
    padding: 0 40px 0 12px;
    height: 44px;
    border: none;
  }
  .mega-search-bar svg {
    flex-shrink: 0; color: var(--text-muted);
  }
  .mega-search-bar input {
    border: none; background: none; outline: none;
    flex: 1; font-size: 0.9rem; color: var(--text);
    height: 100%;
  }
  .mega-search-bar input::placeholder { color: var(--text-muted); }
  .mega-close-btn {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
  }
}
.mega-close-btn {
  background: none; border: none; cursor: pointer;
  width: 32px; height: 32px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: var(--text-muted);
  transition: background 0.15s, color 0.15s;
}
.mega-close-btn:hover { background: rgba(0,0,0,0.06); color: var(--text); }
@keyframes megaSlideDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }

.search-mega-inner {
  display: flex;
  flex: 1;
  overflow: hidden;
  min-height: 0;
}

.search-mega-products {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
}
.search-mega-loading { display: flex; justify-content: center; align-items: center; padding: 40px 0; }
.search-mega-empty { padding: 40px 24px; text-align: center; color: var(--text-muted); font-size: 0.9rem; }

.mega-product-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
.mega-product-grid .product-card { font-size: 0.85em; }
.mega-product-grid .card-image { aspect-ratio: 1; padding: 4px; }
.mega-product-grid .card-title { font-size: 0.68rem; -webkit-line-clamp: 1; min-height: auto; }
.mega-product-grid .card-barcode { display: none; }
.mega-product-grid .card-body { padding: 6px 8px 8px; gap: 2px; }
.mega-product-grid .card-price { font-size: 0.78rem; }
.mega-product-grid .card-price-currency { font-size: 0.6rem; }
.mega-product-grid .card-stock-tag { font-size: 0.5rem; padding: 2px 5px; }
.mega-product-grid .card-oos-label { display: none; }
.mega-product-grid .card-hover-overlay { display: none; }
.mega-product-grid .card-oos-overlay { opacity: 1; }
.mega-product-grid .card-avatar { font-size: 1.2rem; }

.search-mega-sidebar {
  width: 260px; flex-shrink: 0;
  border-left: 1px solid var(--border);
  overflow-y: auto;
  padding: 16px 14px;
  background: var(--bg);
}
.mega-sidebar-title {
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.5px; color: var(--text-muted);
  margin: 0 0 10px 0;
}
.mega-cat-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 8px;
  text-decoration: none; color: var(--text);
  font-size: 0.75rem; font-weight: 500;
  border-radius: 5px;
  transition: background 0.12s;
}
.mega-cat-link:hover { background: var(--surface); }
.mega-cat-link em {
  font-style: normal; font-size: 0.65rem;
  color: var(--text-muted); font-weight: 600;
  background: var(--surface); padding: 2px 5px; border-radius: 4px;
}

.search-mega-footer {
  border-top: 1px solid var(--border);
  padding: 10px 20px;
  text-align: center;
  background: var(--bg);
}
.search-mega-footer a {
  font-size: 0.82rem; font-weight: 600;
  color: var(--accent); text-decoration: none;
  transition: color 0.15s;
}
.search-mega-footer a:hover { color: var(--text); }

@media (max-width: 1199px) {
  .mega-product-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 767px) {
  .search-mega {
    top: 0 !important; bottom: 0; left: 0; right: 0;
    max-height: 100vh; max-height: 100dvh;
    border-bottom: none; border-radius: 0;
  }
  .search-mega-inner { flex-direction: column; }
  .search-mega-sidebar { display: none; }
  .mega-product-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .search-mega-products { padding: 10px; flex: 1; }
  .mega-product-grid .card-title { font-size: 0.7rem; }
  .mega-product-grid .card-price { font-size: 0.78rem; }
  .mega-product-grid .card-body { padding: 6px 8px 8px; }
}

/* ── Hero Slider ── */
.hero-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 0;
  padding-bottom: 29.17%; /* 560/1920 = 0.2917 */
}
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 1s ease;
  pointer-events: none;
}
.hero-slide picture {
  position: absolute;
  inset: 0;
}
.hero-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.3) 0%,
    rgba(0,0,0,0.5) 50%,
    rgba(0,0,0,0.7) 100%
  );
}
.hero-slide-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}
.hero-slide-content h1 {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.3px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.7), 0 0 40px rgba(0,0,0,0.3);
  line-height: 1.25;
  max-width: 600px;
}
.hero-slide-content p {
  color: #fff;
  font-size: 0.88rem;
  max-width: 500px;
  line-height: 1.6;
  text-shadow: 0 1px 10px rgba(0,0,0,0.6);
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}
.hero-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 4px;
  flex-wrap: wrap;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(6px);
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.2);
}
.hero-badge svg { opacity: 0.9; }
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 12px 28px;
  background: var(--accent);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 4px 14px rgba(0,188,212,0.35);
}
.hero-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}
.hero-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.6);
  background: transparent;
  cursor: pointer;
  padding: 0;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-clip: content-box;
  border: none;
  position: relative;
  transition: background 0.3s;
}
.hero-dot::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.6);
  background: transparent;
  transition: background 0.3s, border-color 0.3s;
}
.hero-dot.active::after {
  background: #fff;
  border-color: #fff;
}

/* ── Featured Products ── */
.featured-section {
  padding: 0 0 16px;
  margin-top: 8px;
  margin-bottom: 8px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.featured-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}
.featured-title svg {
  color: #f5a623;
}
.featured-track-wrap {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 1%, #000 99%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 1%, #000 99%, transparent);
}
.featured-track {
  display: flex;
  gap: 12px;
}
.featured-track--scroll {
  width: max-content;
  animation: featuredScroll 30s linear infinite;
}
.featured-track--scroll:hover {
  animation-play-state: paused;
}
@keyframes featuredScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.featured-card {
  flex-shrink: 0;
  width: 175px;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
}
.featured-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.featured-card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  background: var(--surface-alt);
  overflow: hidden;
}
.featured-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.featured-card-avatar {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--bg);
}
.featured-oos-tag {
  position: absolute;
  top: 6px;
  left: 6px;
  background: rgba(198, 40, 40, 0.88);
  color: #fff;
  font-size: 0.58rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.featured-card--oos .featured-card-img {
  opacity: 0.65;
}
.featured-card-body {
  padding: 8px 10px 10px;
}
.featured-card-body h3 {
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 3px;
}
.featured-card-price {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
}
.featured-currency {
  font-size: 0.68rem;
  margin-right: 1px;
}
.featured-card--oos .featured-card-price {
  color: var(--text-muted);
  text-decoration: line-through;
}

@media (max-width: 768px) {
  .featured-card { width: 155px; }
  .featured-track { gap: 10px; }
  .featured-title { font-size: 0.85rem; }
}
@media (max-width: 480px) {
  .featured-card { width: 140px; }
  .featured-track { gap: 8px; }
  .featured-card-body { padding: 7px 8px 8px; }
  .featured-card-body h3 { font-size: 0.7rem; }
  .featured-card-price { font-size: 0.74rem; }
}

/* ── Search (mobile) ── */
.search-section {
  margin-top: -24px;
  position: relative;
  z-index: 10;
  margin-bottom: 8px;
}
.search-box {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}
.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}
.search-box input {
  width: 100%;
  padding: 14px 42px 14px 48px;
  border: none;
  border-radius: 50px;
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: box-shadow 0.2s;
  box-shadow: var(--shadow);
}
.search-box input::placeholder { color: var(--text-muted); }
.search-box input:focus {
  box-shadow: 0 0 0 3px rgba(0,188,212,0.12), var(--shadow);
}
.search-clear-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.15s, color 0.15s;
}
.search-clear-btn:hover { background: var(--bg); color: var(--text); }

/* ── Search Loading ── */
.search-box.is-loading input,
.header-search.is-loading input {
  background-image: linear-gradient(90deg, var(--bg) 0%, var(--accent-light) 50%, var(--bg) 100%);
  background-size: 200% 100%;
  animation: searchPulse 1.2s ease-in-out infinite;
}
@keyframes searchPulse {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── Shop Layout ── */
.shop-layout {
  display: flex;
  gap: 0;
  padding-top: 8px;
  min-height: 600px;
}
.shop-main {
  flex: 1;
  min-width: 0;
  padding: 0 0 48px 24px;
}

/* ── Category Sidebar (Desktop) ── */
.cat-sidebar {
  display: none;
}
.sidebar-inner {
  position: sticky;
  top: 80px;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
}
.sidebar-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-muted);
  margin-bottom: 12px;
  padding: 0 12px;
}
.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sidebar-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 500;
  transition: all 0.15s;
}
.sidebar-link:hover {
  background: var(--bg);
  color: var(--text);
}
.sidebar-link.active {
  background: var(--accent-light);
  color: var(--accent-hover);
  font-weight: 600;
}
.sidebar-link span {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sidebar-link em {
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--bg);
  padding: 1px 7px;
  border-radius: 10px;
  flex-shrink: 0;
}
.sidebar-link.active em {
  background: rgba(0,188,212,0.15);
  color: var(--accent-hover);
}
.sidebar-link svg {
  flex-shrink: 0;
  opacity: 0.5;
}
.sidebar-link.active svg { opacity: 1; color: var(--accent); }
.sidebar-link.disabled {
  opacity: 0.4;
  pointer-events: none;
}

/* ── Sidebar Divider ── */
.sidebar-divider {
  height: 1px;
  background: var(--border);
  margin: 16px 12px;
}

/* ── Sidebar Price Filter ── */
.sidebar-price-form {
  padding: 0 12px;
}
.price-inputs {
  display: flex;
  align-items: center;
  gap: 6px;
}
.price-inputs input {
  flex: 1;
  min-width: 0;
  height: 36px;
  padding: 0 10px;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  font-size: 0.78rem;
  outline: none;
  transition: border-color 0.2s;
}
.price-inputs input::placeholder { color: var(--text-muted); }
.price-inputs input:focus { border-color: var(--accent); }
.price-dash {
  color: var(--text-muted);
  font-size: 0.75rem;
  flex-shrink: 0;
}
.price-filter-btn {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 8px 0;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}
.price-filter-btn:hover { background: var(--accent-hover); }
.price-clear-btn {
  display: block;
  text-align: center;
  margin-top: 6px;
  font-size: 0.72rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}
.price-clear-btn:hover { color: var(--danger); }

/* ── Category Bar (Mobile) ── */
.cat-bar-mobile {
  margin-bottom: 4px;
  position: relative;
}
.cat-bar-scroll-btn {
  position: absolute;
  right: 0;
  top: 10px;
  bottom: 4px;
  width: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to right, transparent, var(--bg) 35%);
  border: none;
  cursor: pointer;
  z-index: 3;
  color: var(--text-muted);
  padding: 0;
  transition: opacity 0.3s;
}
.cat-bar-scroll-btn svg {
  background: var(--surface);
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0,0,0,0.12);
  padding: 4px;
}
.cat-bar-mobile.scrolled-end .cat-bar-scroll-btn { opacity: 0; pointer-events: none; }
.category-bar {
  display: flex;
  gap: 10px;
  padding: 12px 32px 8px 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.category-bar::-webkit-scrollbar { display: none; }
@keyframes catBarHint {
  0% { transform: translateX(0); }
  30% { transform: translateX(40px); }
  60% { transform: translateX(0); }
}
.category-bar.hint { animation: catBarHint 0.8s ease-out; }
.cat-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  padding: 7px 14px;
  border-radius: 50px;
  background: var(--surface);
  border: 1.5px solid var(--border-strong);
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.18s;
  flex-shrink: 0;
}
.cat-chip-more {
  border: 1.5px solid var(--accent);
  color: var(--accent);
  font-weight: 700;
  background: var(--accent-light);
  position: sticky;
  left: 0;
  z-index: 2;
}
.cat-chip-more svg { flex-shrink: 0; }

/* Category sidebar (mobile) */
.cat-sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 300;
}
.cat-sidebar-overlay.open { display: block; }
.cat-sidebar-mobile {
  position: fixed;
  top: 0;
  right: -300px;
  width: 280px;
  height: 100%;
  background: var(--surface);
  z-index: 310;
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 20px rgba(0,0,0,0.15);
}
.cat-sidebar-mobile.open { right: 0; }
.cat-sidebar-mobile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}
.cat-sidebar-mobile-header h2 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}
.cat-sidebar-mobile-close {
  background: none; border: none; cursor: pointer;
  color: var(--text-muted);
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
}
.cat-sidebar-mobile-close:hover { background: var(--bg); color: var(--text); }
.cat-sidebar-mobile-nav {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 8px 0;
}
.cat-sidebar-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: background 0.15s;
}
.cat-sidebar-link:hover { background: var(--bg); color: var(--accent); }
.cat-sidebar-link.active { color: var(--accent); font-weight: 700; background: var(--accent-light); }
.cat-sidebar-link em {
  font-style: normal;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--bg);
  padding: 2px 8px;
  border-radius: 10px;
}
.cat-sidebar-link.active em { background: rgba(0,188,212,0.15); color: var(--accent); }
.cat-chip:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.cat-chip.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.cat-chip.active .cat-chip-count {
  background: rgba(255,255,255,0.25);
  color: #fff;
}
.cat-chip-count {
  font-size: 0.65rem;
  background: var(--bg);
  color: var(--text-muted);
  padding: 1px 6px;
  border-radius: 10px;
  font-weight: 700;
}
.cat-chip svg { flex-shrink: 0; }

/* ── Mobile Filter Row ── */
.mobile-filter-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0 4px;
}
.mobile-filter-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: var(--surface);
  border: 1.5px solid var(--border-strong);
  border-radius: 50px;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}
.mobile-filter-toggle:active {
  border-color: var(--accent);
  color: var(--accent);
}
.mobile-filter-active {
  font-size: 0.72rem;
  color: var(--accent);
  font-weight: 600;
}
.mobile-price-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  margin-bottom: 4px;
}
.mobile-price-form .price-inputs {
  display: flex;
  align-items: center;
  gap: 8px;
}
.mobile-price-form .price-inputs input {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--bg);
  font-family: inherit;
  font-size: 0.85rem;
  color: var(--text);
  outline: none;
}
.mobile-price-form .price-inputs input:focus { border-color: var(--accent); }
.mobile-price-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}
.mobile-price-actions .price-filter-btn {
  flex: 1;
  padding: 10px 0;
  font-size: 0.85rem;
  margin-top: 0;
}
.mobile-price-actions .price-clear-btn {
  font-size: 0.78rem;
  margin-top: 0;
  white-space: nowrap;
}
@media (min-width: 960px) {
  .mobile-filter-row { display: none; }
  .mobile-price-form { display: none !important; }
}

/* ── Card Category Tag ── */
.card-category-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(0,0,0,0.65);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  z-index: 2;
  backdrop-filter: blur(4px);
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

/* ── Detail Category Link ── */
.detail-category-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  transition: opacity 0.15s;
}
.detail-category-link:hover { opacity: 0.7; }

/* ── Related Products ── */
.related-section {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.related-section .section-title {
  margin-bottom: 20px;
}
.product-grid-4 {
  grid-template-columns: repeat(2, 1fr) !important;
}
@media (min-width: 640px) {
  .product-grid-4 { grid-template-columns: repeat(4, 1fr) !important; }
}

/* ── Empty Back Link ── */
.empty-back {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  transition: opacity 0.15s;
}
.empty-back:hover { opacity: 0.7; }

/* ── Section ── */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  padding-top: 28px;
}
.section-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  overflow: hidden;
}
.section-header-left .section-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-shrink: 1;
  min-width: 0;
}

/* Sort Dropdown */
.sort-dropdown {
  position: relative;
  flex-shrink: 0;
}
.sort-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: 1.5px solid var(--border-strong);
  border-radius: 50px;
  background: var(--surface);
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  white-space: nowrap;
}
.sort-toggle:hover,
.sort-toggle.open {
  border-color: var(--accent);
  color: var(--accent);
}
.sort-chevron {
  transition: transform 0.2s;
}
.sort-toggle.open .sort-chevron {
  transform: rotate(180deg);
}
.sort-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 200px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  z-index: 50;
  padding: 6px 0;
  animation: sortFadeIn 0.15s ease;
}
.sort-menu.open { display: block; }
@keyframes sortFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
.sort-option {
  display: block;
  width: 100%;
  padding: 10px 16px;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: background 0.12s, color 0.12s;
}
.sort-option:hover {
  background: var(--bg);
  color: var(--accent);
}
.sort-option.active {
  color: var(--accent);
  font-weight: 700;
  background: var(--accent-light);
}
.section-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  position: relative;
  padding-left: 14px;
}
.section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  bottom: 2px;
  width: 4px;
  border-radius: 2px;
  background: var(--accent);
}
.product-count {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
  background: var(--surface);
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid var(--border);
}

/* ── Product Grid ── */
main.container {
  flex: 1;
  padding-bottom: 48px;
}
main.shop-main {
  padding-bottom: 48px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

/* ── Product Card (redesigned) ── */
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.22s, box-shadow 0.22s, opacity 0.15s;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.product-card.is-navigating {
  opacity: 0.5;
  pointer-events: none;
  transform: scale(0.97);
}

/* ── Page Transition Loading Bar ── */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s;
}
.page-loader.active { opacity: 1; }
.page-loader::after {
  content: '';
  display: block;
  width: 30%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent-hover));
  border-radius: 0 2px 2px 0;
  animation: pageLoaderSlide 1.2s ease-in-out infinite;
}
@keyframes pageLoaderSlide {
  0% { transform: translateX(-100%); }
  50% { transform: translateX(250%); }
  100% { transform: translateX(-100%); }
}
.card-image {
  aspect-ratio: 1;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  padding: 8px;
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.35s;
}
.product-card:hover .card-image img {
  transform: scale(1.06);
}
.card-avatar {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 2px;
  opacity: 0.3;
}
/* Out-of-stock card */
.product-card--oos {
  transition: opacity 0.25s, transform 0.22s, box-shadow 0.22s;
}
.card-oos-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}
.card-oos-overlay span {
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: rgba(211,47,47,0.85);
  padding: 8px 20px;
  border-radius: 4px;
  box-shadow: 0 2px 12px rgba(211,47,47,0.5);
}
.card-price--oos {
  text-decoration: line-through;
  opacity: 0.55;
  font-size: 0.8rem;
}
.card-oos-label {
  display: none;
}
.card-hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,188,212,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s;
  z-index: 4;
}
.product-card:hover .card-hover-overlay { opacity: 1; }
.product-card--oos .card-hover-overlay { display: none; }
.card-hover-btn {
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 10px rgba(0,188,212,0.4);
}
.card-body {
  padding: 10px 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  border-top: 1px solid var(--border);
}
.card-title {
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.1em;
}
.card-barcode {
  font-size: 0.7rem;
  font-family: "SF Mono", "Fira Code", "Courier New", monospace;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}
.card-footer {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 6px;
  margin-top: auto;
  padding-top: 6px;
}
.card-price {
  font-size: 1rem;
  font-weight: 800;
  color: var(--accent-hover);
  white-space: nowrap;
}
.card-price-currency {
  font-size: 0.82em;
  font-weight: 700;
  color: var(--text-muted);
  margin-right: 1px;
  vertical-align: baseline;
}
.card-stock-tag {
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--success);
  background: #e8f5e9;
  padding: 3px 8px;
  border-radius: 4px;
}

/* ── Empty State ── */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 64px 20px;
  color: var(--text-muted);
  text-align: center;
}
.empty-state svg { opacity: 0.25; }
.empty-state p { font-size: 0.95rem; }

/* ── Scroll Loader ── */
.scroll-loader {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 32px 0 16px;
}
#scroll-sentinel {
  height: 1px;
}

/* ── Footer ── */
.site-footer {
  background: #1a1a1a;
  color: rgba(255,255,255,0.65);
  padding: 40px 0 24px;
  margin-top: auto;
  overflow: hidden;
  position: relative;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-bottom: 28px;
  position: relative;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.footer-brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}
.footer-brand span {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
}
.footer-desc {
  font-size: 0.82rem;
  line-height: 1.7;
  max-width: 340px;
}
.footer-col h4 {
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 0.82rem;
  padding: 4px 0;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--accent); }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: rgba(255,255,255,0.55);
  font-size: 0.82rem;
  padding: 4px 0;
  line-height: 1.4;
}
.footer-contact-item svg {
  flex-shrink: 0;
  margin-top: 2px;
}
.footer-contact-item a {
  display: inline;
  padding: 0;
}
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: background 0.2s, color 0.2s;
}
.footer-social a:hover {
  background: rgba(255,255,255,0.15);
}
.footer-social-wa:hover { background: rgba(37,211,102,0.2) !important; }
.footer-social-ig:hover { background: rgba(225,48,108,0.2) !important; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.footer-bottom p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  justify-content: center;
}
.footer-legal a {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-legal a:hover { color: var(--accent); }

/* ── Footer Watermark ── */
.footer-watermark {
  display: none;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  line-height: 0.82;
  user-select: none;
  pointer-events: none;
}
.footer-wm-line {
  font-size: clamp(4rem, 8vw, 8rem);
  font-weight: 900;
  text-transform: uppercase;
  color: rgba(255,255,255,0.04);
  letter-spacing: -0.02em;
  display: block;
}

/* ── Product Detail Page ── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  padding-top: 20px;
  flex-wrap: wrap;
}
.breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.15s;
}
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb svg {
  flex-shrink: 0;
  opacity: 0.35;
}

.detail-page {
  padding-bottom: 64px;
}
.detail-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
.detail-image-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.detail-image-wrap > img,
.detail-image-wrap > #detail-main-img {
  width: 100%;
  max-height: 500px;
  object-fit: contain;
  padding: 20px;
  background: #fff;
  transition: filter 0.4s ease;
}
#detail-main-img.detail-img-loading {
  filter: blur(8px);
}
.detail-thumbs {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  overflow-x: auto;
  width: 100%;
  border-top: 1px solid var(--border);
  background: var(--surface-alt);
}
.detail-thumb {
  flex-shrink: 0;
  width: 68px;
  height: 68px;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid transparent;
  padding: 4px;
  cursor: pointer;
  background: #fff;
  transition: border-color 0.2s;
}
.detail-thumb.active {
  border-color: var(--accent);
}
.detail-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.detail-avatar {
  font-size: 4rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.2;
  letter-spacing: 6px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.detail-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.detail-name {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.3;
  color: var(--text);
}
.detail-barcode {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-family: "SF Mono", "Fira Code", "Courier New", monospace;
  background: var(--surface-alt);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 6px;
  width: fit-content;
  border: 1px solid var(--border);
}

.detail-meta {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.detail-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-secondary);
}
.detail-meta-row svg {
  flex-shrink: 0;
  opacity: 0.5;
}
.detail-meta-row strong {
  color: var(--text);
  font-weight: 600;
}
.detail-price-block {
  background: var(--accent-light);
  border: 1px solid rgba(0,188,212,0.2);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.detail-price-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.detail-price {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-hover);
  letter-spacing: -1px;
}
.detail-currency {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
}
.detail-stock {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  width: fit-content;
}
.detail-stock.in-stock {
  background: #e8f5e9;
  color: #2e7d32;
}
.detail-stock.out-of-stock {
  background: #ffebee;
  color: #c62828;
}
.stock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.detail-description {
  margin-top: 8px;
  padding: 16px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.detail-desc-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.detail-desc-text {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--text-secondary);
}
.detail-divider {
  height: 1px;
  background: var(--border);
  margin: 4px 0;
}

/* ── Detail OOS State ── */
.detail-page--oos .detail-image-wrap {
  opacity: 0.45;
  filter: grayscale(0.3);
  transition: opacity 0.3s, filter 0.3s;
}
.detail-page--oos .detail-image-wrap:hover {
  opacity: 0.75;
  filter: grayscale(0);
}
.detail-oos-banner {
  background: linear-gradient(135deg, #fff5f5 0%, #fff0f0 100%);
  border: 1px solid #fecaca;
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.detail-oos-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fee2e2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #dc2626;
}
.detail-oos-title {
  font-size: 1rem;
  font-weight: 700;
  color: #991b1b;
}
.detail-oos-text {
  font-size: 0.85rem;
  color: #b91c1c;
  max-width: 300px;
  line-height: 1.5;
}
.btn-whatsapp--oos {
  margin-top: 6px;
  animation: oosButtonPulse 2s ease-in-out infinite;
}
@keyframes oosButtonPulse {
  0%, 100% { box-shadow: 0 4px 14px rgba(37,211,102,0.3); }
  50% { box-shadow: 0 4px 24px rgba(37,211,102,0.55); }
}
.detail-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.detail-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-secondary);
  background: var(--surface-alt);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.detail-feature svg {
  flex-shrink: 0;
  color: var(--accent);
}

.detail-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}
.btn-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  background: var(--whatsapp);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: filter 0.2s, transform 0.15s;
  box-shadow: 0 4px 14px rgba(37,211,102,0.3);
}
.btn-whatsapp:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}
.btn-whatsapp svg { flex-shrink: 0; }

.btn-instagram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: filter 0.2s, transform 0.15s;
  box-shadow: 0 4px 14px rgba(225,48,108,0.3);
}
.btn-instagram:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}
.btn-instagram svg { flex-shrink: 0; }

.detail-oos-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
  width: 100%;
}

.detail-price-block--oos {
  opacity: 0.6;
  position: relative;
}
.detail-price-block--oos::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  height: 2px;
  background: var(--text-muted);
}
.detail-oos-price-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: -4px;
  display: block;
}

.btn-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--surface);
  color: var(--text);
  border: 2px solid var(--border-strong);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.btn-phone:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.detail-skeleton {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 64px 0;
  align-items: center;
  color: var(--text-muted);
}

/* ── Floating Social Buttons ── */
.floating-socials {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}
.floating-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.floating-wa {
  background: var(--whatsapp);
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
}
.floating-wa:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37,211,102,0.5);
}
.floating-ig {
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  box-shadow: 0 4px 16px rgba(225,48,108,0.4);
}
.floating-ig:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(225,48,108,0.5);
}

/* ── Legal Pages ── */
.legal-page {
  padding-top: 32px;
  padding-bottom: 64px;
}
.legal-page h1 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--text);
}
.legal-page h2 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: 28px;
  margin-bottom: 12px;
  color: var(--text);
}
.legal-page p,
.legal-page li {
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 10px;
}
.legal-page ul {
  padding-left: 24px;
}

/* ── Responsive ── */
@media (max-width: 480px) {
  .hero-slider { height: 280px; padding-bottom: 0; }
  .hero-slide-content { padding: 28px 16px; }
  .hero-slide-content h1 { font-size: 1.35rem; }
  .hero-slide-content p { font-size: 0.85rem; }
  .hero-badges { gap: 6px; }
  .hero-badge { font-size: 0.65rem; padding: 4px 10px; }
  .hero-cta { padding: 10px 22px; font-size: 0.82rem; }
  .shop-main { padding-left: 0; }
}
@media (max-width: 380px) {
  .product-grid { gap: 8px; }
  .card-body { padding: 8px 10px 10px; }
  .card-title { font-size: 0.75rem; }
  .card-price { font-size: 0.88rem; }
  .card-price-currency { font-size: 0.62rem; }
  .card-stock-tag { font-size: 0.5rem; padding: 2px 6px; }
  .hero-slider { height: 260px; }
  .hero-slide-content h1 { font-size: 1.2rem; }
  .hero-badges { display: none; }
}

@media (min-width: 640px) {
  .container { padding: 0 24px; }
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .hero-slide-content h1 { font-size: 2rem; }
  .hero-slide-content p { font-size: 1rem; }
  .footer-grid { grid-template-columns: 2fr 1fr 1.2fr auto; }
  .footer-watermark { display: flex; }
  .card-title { font-size: 0.82rem; }
}

@media (min-width: 768px) {
  .search-section { display: none; }
  .header-search-wrap { display: block; }
  .hero-slide-content h1 { font-size: 2.2rem; }
}

.grid-loading {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 200px;
}
.grid-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: gridSpin 0.7s linear infinite;
}
@keyframes gridSpin { to { transform: rotate(360deg); } }

@media (max-width: 767px) {
  .header-search-wrap { display: none; }
  .header-inner { justify-content: space-between; }
  .brand-name { font-size: 0.95rem; }
  .header-nav { display: none; }
  .header-hamburger { display: flex; margin-left: auto; }
  .shop-main { padding-left: 0; }
  .detail-features { grid-template-columns: 1fr; gap: 8px; }
  .detail-oos-banner { padding: 20px 16px; }
  .detail-oos-title { font-size: 0.9rem; }
  .detail-oos-text { font-size: 0.8rem; }
  .mobile-filter-row { display: none !important; }
  .mobile-price-form { display: none !important; }
  .section-header { flex-wrap: nowrap; gap: 8px; padding-top: 20px; }
  .section-header-left { min-width: 0; flex: 1; }
  .sort-toggle { padding: 6px 10px; font-size: 0.72rem; }
  .sort-menu { right: 0; left: auto; }
}

@media (min-width: 960px) {
  .cat-sidebar {
    display: flex;
    flex-direction: column;
    width: 220px;
    flex-shrink: 0;
    align-self: stretch;
    padding: 16px 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-right: none;
    border-radius: var(--radius) 0 0 var(--radius);
  }
  .cat-bar-mobile { display: none; }
  .cat-sidebar-overlay, .cat-sidebar-mobile { display: none !important; }
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .detail-layout {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
  }
  .hero-slide-content h1 { font-size: 2.6rem; max-width: 700px; }
  .hero-slide-content p { font-size: 1.1rem; }
  .hero-slide-content { padding: 48px 24px; gap: 14px; }
  .detail-name { font-size: 1.7rem; }
  .detail-price { font-size: 2.6rem; }
}

@media (min-width: 1200px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .hero-slide-content h1 { font-size: 2.8rem; }
}

@media (min-width: 1400px) {
  .cat-sidebar { width: 240px; }
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }
}

/* ── Contact Page ── */
.contact-page {
  padding: 40px 0 60px;
}
.contact-hero {
  text-align: center;
  margin-bottom: 40px;
}
.contact-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 10px;
}
.contact-subtitle {
  font-size: 0.92rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
}
.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
}
.contact-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}
.contact-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}
.contact-card-wa { background: rgba(37,211,102,0.12); color: #25D366; }
.contact-card-ig { background: rgba(228,64,95,0.12); color: #E4405F; }
.contact-card h3 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.contact-card p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.contact-card a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}
.contact-card a:hover {
  text-decoration: underline;
}
.contact-directions-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 8px 16px;
  background: var(--accent);
  color: #fff !important;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: background 0.2s, transform 0.15s;
}
.contact-directions-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  text-decoration: none !important;
}
.contact-directions-btn svg {
  flex-shrink: 0;
}
.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.contact-map iframe {
  width: 100%;
  height: 400px;
  border: none;
  display: block;
}
@media (max-width: 767px) {
  .contact-page { padding: 24px 0 40px; }
  .contact-title { font-size: 1.4rem; }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .contact-map iframe { height: 280px; }
}
@media (max-width: 479px) {
  .contact-cards { grid-template-columns: 1fr; }
}

/* ── Categories Page ── */
.categories-page {
  padding: 48px 0 72px;
}
.categories-hero {
  text-align: center;
  margin-bottom: 44px;
}
.categories-eyebrow {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-light);
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.categories-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}
.categories-subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 420px;
  margin: 0 auto;
  line-height: 1.5;
}
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}
.category-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.category-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}
.category-card-img {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--surface-alt);
}
.category-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  transition: transform 0.35s ease;
}
.category-card:hover .category-card-img img {
  transform: scale(1.06);
}
.category-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--bg) 100%);
  color: var(--text-muted);
}
.category-card-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  padding: 16px 18px;
}
.category-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.category-card-badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  border-radius: 8px;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 1rem;
  font-weight: 800;
}
.category-card-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}
.category-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.category-card-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}
.category-card-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--text-muted);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.category-card:hover .category-card-arrow {
  background: var(--accent);
  color: #fff;
  transform: translateX(2px);
}
.categories-empty {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-muted);
  font-size: 0.92rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
@media (max-width: 767px) {
  .categories-page { padding: 20px 0 40px; }
  .categories-hero { margin-bottom: 24px; }
  .categories-title { font-size: 1.3rem; }
  .categories-subtitle { font-size: 0.82rem; }
  .categories-eyebrow { font-size: 0.58rem; padding: 4px 10px; margin-bottom: 10px; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .category-card-img { aspect-ratio: 1 / 1; }
  .category-card-body { padding: 10px 12px; }
  .category-card-top { margin-bottom: 8px; gap: 6px; align-items: center; }
  .category-card-name { font-size: 0.8rem; }
  .category-card-badge { min-width: 24px; height: 24px; font-size: 0.7rem; border-radius: 6px; }
  .category-card-bottom { padding-top: 8px; }
  .category-card-meta { font-size: 0.7rem; }
  .category-card-arrow { width: 26px; height: 26px; }
}
@media (max-width: 400px) {
  .categories-grid { grid-template-columns: 1fr; }
}

/* ── Stock Alert Button (Detail Page) ── */
.btn-stock-alert {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  justify-content: center;
  padding: 12px 24px;
  margin-top: 12px;
  background: var(--text);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.btn-stock-alert:hover {
  background: #333;
  transform: translateY(-1px);
}
.btn-stock-alert:active {
  transform: translateY(0);
}
.btn-stock-alert svg {
  flex-shrink: 0;
}

/* ── Stock Alert Button (Card) ── */
.btn-stock-alert-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  padding: 6px 10px;
  margin-top: 8px;
  background: var(--text);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  line-height: 1;
}
.btn-stock-alert-card:hover {
  background: #333;
  transform: translateY(-1px);
}
.btn-stock-alert-card:active {
  transform: translateY(0);
}
.btn-stock-alert-card svg {
  flex-shrink: 0;
}

/* ── Stock Alert Modal ── */
.sa-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  transition: background 0.25s;
}
.sa-overlay.active {
  background: rgba(0, 0, 0, 0.5);
}
.sa-modal {
  position: relative;
  background: var(--surface);
  border-radius: 16px;
  padding: 32px 28px 28px;
  max-width: 400px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  text-align: center;
  transform: translateY(20px) scale(0.96);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.sa-overlay.active .sa-modal {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.sa-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: var(--text-secondary);
  transition: background 0.15s, color 0.15s;
}
.sa-close:hover {
  background: var(--border-strong);
  color: var(--text);
}
.sa-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-light);
  border-radius: 50%;
  color: var(--accent);
}
.sa-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.sa-product-name {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 18px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sa-tabs {
  display: flex;
  gap: 4px;
  background: var(--bg);
  border-radius: var(--radius);
  padding: 3px;
  margin-bottom: 14px;
}
.sa-tab {
  flex: 1;
  padding: 8px 12px;
  border: none;
  border-radius: calc(var(--radius) - 2px);
  background: transparent;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: inherit;
  color: var(--text-secondary);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.sa-tab.active {
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}
.sa-tab:hover:not(.active) {
  color: var(--text);
}
.sa-input-wrap {
  margin-bottom: 12px;
}
.sa-input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-family: inherit;
  color: var(--text);
  background: var(--surface);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.sa-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 188, 212, 0.12);
}
.sa-input::placeholder {
  color: var(--text-muted);
}
.sa-submit {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: var(--radius);
  background: var(--accent);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.sa-submit:hover:not(:disabled) {
  background: var(--accent-hover);
  transform: translateY(-1px);
}
.sa-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}
.sa-submit-loading {
  display: inline-flex;
  align-items: center;
}
.sa-message {
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.4;
}
.sa-message--success {
  background: #e8f5e9;
  color: var(--success);
}
.sa-message--error {
  background: #ffebee;
  color: var(--danger);
}

@media (max-width: 480px) {
  .sa-overlay { padding: 12px; }
  .sa-modal { padding: 24px 20px 20px; border-radius: 14px; }
  .sa-title { font-size: 0.95rem; }
  .btn-stock-alert { font-size: 0.84rem; padding: 11px 20px; }
}
