/* ========================================
   Kedai Sunnah — Shopee-style Storefront
   ======================================== */
:root {
  --primary: #ee4d2d;
  --primary-dark: #d73211;
  --primary-light: #ff7337;
  --orange: #f69113;
  --bg: #f5f5f5;
  --white: #fff;
  --text: #222;
  --text-muted: #757575;
  --text-light: #bbb;
  --border: #e8e8e8;
  --shadow: 0 1px 1px rgba(0,0,0,.05);
  --radius: 2px;
  --header-h: 119px;
  --max: 1200px;
  --font: 'Roboto', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input { font-family: inherit; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  min-height: 42px;
  border: none;
  border-radius: 8px;
  background: var(--primary);
  color: #fff !important;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background .15s ease, box-shadow .15s ease, transform .15s ease;
}

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 4px 12px color-mix(in srgb, var(--primary) 35%, transparent);
}

.btn-primary:active {
  transform: translateY(1px);
}

.btn-primary:disabled {
  opacity: .55;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 15px;
}

/* ========== TOP BAR ========== */
.topbar {
  background: var(--primary);
  color: rgba(255,255,255,.87);
  font-size: 13px;
  height: 34px;
  display: flex;
  align-items: center;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
}
.topbar-address {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: min(520px, 42vw);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.topbar-address svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  flex-shrink: 0;
  opacity: .9;
}
.topbar a:hover { color: #fff; opacity: .9; }
.topbar .divider { opacity: .4; }
.topbar-social { display: flex; gap: 8px; align-items: center; }
.topbar-social svg { width: 16px; height: 16px; fill: currentColor; }
.auth-links { display: flex; gap: 6px; align-items: center; }
.auth-links a { font-weight: 500; }
.logout-form { display: inline; margin: 0; padding: 0; }
.topbar-logout-btn {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    color: inherit;
    cursor: pointer;
    font-weight: 500;
}
.topbar-logout-btn:hover { color: var(--primary); }

/* ========== HEADER ========== */
.header {
  background: linear-gradient(to bottom, var(--primary), var(--primary-dark));
  padding: 16px 0 10px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 2px rgba(0,0,0,.1);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  color: #fff;
}
.logo-icon {
  width: 48px;
  height: 48px;
  background: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 800;
  color: var(--primary);
  box-shadow: 0 2px 6px rgba(0,0,0,.12);
}
.logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}
.logo-text {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -.3px;
  line-height: 1.1;
}
.logo-text span { display: block; font-size: 11px; font-weight: 400; opacity: .85; letter-spacing: 0; }

.search-wrap { flex: 1; max-width: 840px; }
.search-form {
  display: flex;
  background: #fff;
  border-radius: 2px;
  overflow: hidden;
  height: 40px;
  padding: 3px;
}
.search-form input {
  flex: 1;
  border: none;
  outline: none;
  padding: 0 12px;
  font-size: 14px;
  color: var(--text);
}
.search-form input::placeholder { color: #bbb; }
.search-btn {
  background: var(--primary);
  color: #fff;
  width: 60px;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
}
.search-btn:hover { background: var(--primary-dark); }
.search-btn svg { width: 18px; height: 18px; fill: #fff; }

.search-tags {
  display: flex;
  gap: 12px;
  margin-top: 6px;
  flex-wrap: wrap;
  overflow: hidden;
  max-height: 20px;
}
.search-tags a {
  color: rgba(255,255,255,.9);
  font-size: 12px;
  white-space: nowrap;
}
.search-tags a:hover { color: #fff; }

.header-cart {
  position: relative;
  color: #fff;
  padding: 8px 12px;
  flex-shrink: 0;
}
.header-cart svg { width: 28px; height: 28px; fill: currentColor; }
.cart-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background: #fff;
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 1px solid var(--primary);
}

/* ========== HERO / BANNER ========== */
.hero-section {
  background: var(--bg);
  padding: 20px 0 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 8px;
  height: 280px;
}
.banner-main {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #ddd;
}
.banner-slides {
  display: flex;
  height: 100%;
  transition: transform .4s ease;
}
.banner-slide {
  min-width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  position: relative;
  text-decoration: none;
  color: inherit;
}
.banner-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.45), transparent 50%);
}
.banner-slide-content {
  position: relative;
  z-index: 1;
  color: #fff;
}
.banner-slide-content h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 4px;
  text-shadow: 0 1px 3px rgba(0,0,0,.3);
}
.banner-slide-content p { font-size: 14px; opacity: .95; }

.banner-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 50px;
  background: rgba(0,0,0,.25);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .2s;
  z-index: 2;
}
.banner-main:hover .banner-nav { opacity: 1; }
.banner-nav.prev { left: 0; border-radius: 0 4px 4px 0; }
.banner-nav.next { right: 0; border-radius: 4px 0 0 4px; }
.banner-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}
.banner-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  cursor: pointer;
  transition: background .2s;
}
.banner-dots span.active { background: var(--primary); }

.banner-side {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.banner-side-item {
  flex: 1;
  border-radius: var(--radius);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 12px;
}
.banner-side-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.4), transparent);
}
.banner-side-item span {
  position: relative;
  z-index: 1;
  color: #fff;
  font-weight: 600;
  font-size: 13px;
}

/* ========== SERVICE ICONS ========== */
.services {
  background: #fff;
  margin-top: 12px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px 8px 12px;
}
.services-row {
  display: flex;
  justify-content: flex-start;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 8px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  padding: 0 8px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.services-row::-webkit-scrollbar { display: none; }
.service-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 90px;
  padding: 4px 8px;
  text-align: center;
  flex-shrink: 0;
  scroll-snap-align: start;
  transition: transform .15s;
}
.service-item:hover { transform: translateY(-2px); }
.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  background: linear-gradient(135deg, #fff5f2, #ffe8e0);
  border: 1px solid #ffd4c8;
}
.service-item span {
  font-size: 12px;
  color: var(--text);
  line-height: 1.3;
  max-width: 80px;
}

/* ========== SECTION COMMON ========== */
.section {
  background: #fff;
  margin-top: 12px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}
.section-title {
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: .3px;
}
.section-title.flash { color: var(--primary); font-weight: 700; }
.section-more {
  color: var(--primary);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.section-more:hover { opacity: .85; }

/* ========== CATEGORIES ========== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  grid-template-rows: repeat(2, auto);
}
.category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 8px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
  transition: background .15s;
  min-height: 120px;
}
.category-item:nth-child(10n) { border-right: none; }
.category-item:nth-child(n+11) { border-bottom: none; }
.category-item:hover { background: #fafafa; }
.category-item:hover span { color: var(--primary); }
.category-img {
  width: 70px;
  height: 70px;
  border-radius: 8px;
  object-fit: cover;
  margin-bottom: 8px;
  background: #f0f0f0;
}
.category-emoji {
  width: 70px;
  height: 70px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin-bottom: 8px;
  background: linear-gradient(145deg, #fafafa, #f0f0f0);
}
.category-item span {
  font-size: 13px;
  color: var(--text);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ========== FLASH SALE ========== */
.flash-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}
.countdown {
  display: flex;
  align-items: center;
  gap: 4px;
}
.countdown-box {
  background: #000;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  min-width: 28px;
  height: 24px;
  padding: 0 4px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-variant-numeric: tabular-nums;
}
.countdown-sep {
  color: #000;
  font-weight: 700;
  font-size: 14px;
}

.product-scroll {
  display: flex;
  overflow-x: auto;
  gap: 0;
  padding: 8px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.product-scroll::-webkit-scrollbar {
  display: none;
}

.flash-card {
  min-width: 180px;
  max-width: 180px;
  padding: 8px;
  flex-shrink: 0;
  transition: box-shadow .2s;
  border-radius: 2px;
}
.flash-card:hover { box-shadow: 0 0 8px rgba(0,0,0,.1); }
.flash-card-img {
  position: relative;
  aspect-ratio: 1;
  background: #f5f5f5;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 8px;
}
.flash-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.badge {
  position: absolute;
  top: 0;
  left: 0;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 5px;
  color: #fff;
  z-index: 1;
}
.badge-mall { background: #d0011b; border-radius: 0 0 2px 0; }
.badge-discount {
  top: 0;
  left: auto;
  right: 0;
  background: #ffe97a;
  color: var(--primary);
  font-weight: 700;
  border-radius: 0 0 0 2px;
  writing-mode: horizontal-tb;
  padding: 4px 4px 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.1;
  font-size: 11px;
}
.badge-discount small { font-size: 9px; color: var(--primary); font-weight: 500; }
.badge-cashback {
  font-size: 9px;
  line-height: 1.15;
  padding: 4px 5px 3px;
  white-space: normal;
  max-width: 56px;
  text-align: center;
}
.badge-top {
  background: var(--primary);
  clip-path: polygon(0 0, 100% 0, 100% 80%, 50% 100%, 0 80%);
  padding: 3px 6px 8px;
  font-size: 10px;
  font-weight: 700;
}

.flash-price {
  color: var(--primary);
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  margin-bottom: 6px;
}
.stock-bar {
  position: relative;
  height: 14px;
  background: #ffbda6;
  border-radius: 7px;
  overflow: hidden;
}
.stock-bar-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: 7px;
}
.stock-bar-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 0 2px rgba(0,0,0,.3);
  z-index: 1;
}
.stock-bar.low .stock-bar-fill { background: linear-gradient(90deg, var(--primary), var(--primary-light)); }

/* ========== MALL ========== */
.mall-brands {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
}
.mall-brand {
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px;
  text-align: center;
  transition: background .15s;
}
.mall-brand:nth-child(6n) { border-right: none; }
.mall-brand:hover { background: #fafafa; }
.mall-brand-logo {
  width: 80px;
  height: 80px;
  margin: 0 auto 8px;
  border-radius: 50%;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  border: 1px solid var(--border);
  overflow: hidden;
}
.mall-brand-name {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 2px;
}
.mall-brand-promo {
  font-size: 12px;
  color: var(--primary);
}

/* ========== RECOMMENDATIONS ========== */
.reco-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  scrollbar-width: none;
}
.reco-tabs::-webkit-scrollbar { display: none; }
.reco-tab {
  padding: 14px 24px;
  font-size: 14px;
  color: var(--text-muted);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color .15s;
  flex-shrink: 0;
}
.reco-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  font-weight: 500;
}
.reco-tab:hover { color: var(--primary); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  padding: 8px;
}
.product-card {
  background: #fff;
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid transparent;
  transition: border-color .15s, box-shadow .15s, transform .15s;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  border-color: var(--primary);
  box-shadow: 0 0 8px rgba(0,0,0,.08);
  transform: translateY(-1px);
}
.product-card-img {
  position: relative;
  aspect-ratio: 1;
  background: #f5f5f5;
  overflow: hidden;
}
.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.product-card:hover .product-card-img img { transform: scale(1.04); }
.product-card-body {
  padding: 8px 10px 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 4px;
}
.product-name {
  font-size: 12px;
  color: var(--text);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 34px;
}
.product-price {
  color: var(--primary);
  font-size: 16px;
  font-weight: 500;
  margin-top: auto;
}
.product-price small { font-size: 12px; }
.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--text-muted);
}
.product-rating {
  display: flex;
  align-items: center;
  gap: 2px;
  color: #ffce3d;
  font-size: 11px;
}
.product-rating span { color: var(--text-muted); margin-left: 2px; }

.load-more-wrap {
  padding: 16px;
  text-align: center;
  border-top: 1px solid var(--border);
}
.btn-load-more {
  display: inline-block;
  padding: 10px 48px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-muted);
  font-size: 14px;
  border-radius: 2px;
  transition: background .15s, color .15s;
}
.btn-load-more:hover {
  background: var(--bg);
  color: var(--primary);
  border-color: var(--primary);
}

/* ========== FOOTER ========== */
.footer {
  background: #fff;
  margin-top: 40px;
  border-top: 4px solid var(--primary);
  padding: 40px 0 0;
  color: var(--text-muted);
  font-size: 13px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  padding-bottom: 32px;
}
.footer-col h4 {
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 14px;
  letter-spacing: .3px;
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col a:hover { color: var(--primary); }
.payment-logos, .shipping-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.pay-logo {
  width: 52px;
  height: 28px;
  background: #f5f5f5;
  border: 1px solid var(--border);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 600;
  color: var(--text);
  overflow: hidden;
  padding: 2px;
}

.pay-logo-img {
  width: 64px;
  height: 32px;
  background: #fff;
}

.pay-logo-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.social-links .social-link-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.social-links .social-icon {
  width: 14px;
  height: 14px;
  fill: currentColor;
  flex: 0 0 auto;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.social-links a {
  display: flex;
  align-items: center;
  gap: 8px;
}
.social-links a:hover { color: var(--primary); }
.app-downloads {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}
.app-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 11px;
  transition: border-color .15s;
}
.app-btn:hover { border-color: var(--primary); color: var(--primary); }
.app-btn strong { display: block; font-size: 12px; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  text-align: center;
  font-size: 12px;
}

/* ========== SEO TEXT ========== */
.seo-section {
  background: #fff;
  margin-top: 12px;
  padding: 24px 20px;
  border-radius: var(--radius);
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.7;
}
.seo-section h3 {
  color: var(--text);
  font-size: 14px;
  margin-bottom: 8px;
}
.seo-section p { margin-bottom: 10px; }

/* ========== BOTTOM NAV (MOBILE) ========== */
.bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid var(--border);
  z-index: 100;
  padding: 6px 0 env(safe-area-inset-bottom);
}
.bottom-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 10px;
  color: var(--text-muted);
  padding: 4px;
}
.bottom-nav-item.active { color: var(--primary); }
.bottom-nav-item svg { width: 22px; height: 22px; }
.bottom-nav-item-cart { position: relative; }
.bottom-nav-badge {
  position: absolute;
  top: 0;
  right: calc(50% - 22px);
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
}

.shop-categories-page {
  padding: 20px 0 80px;
}
.shop-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 12px;
}
.shop-category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 10px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  text-align: center;
  transition: border-color .15s, box-shadow .15s;
}
.shop-category-card:hover {
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
}
.shop-category-icon {
  font-size: 32px;
  line-height: 1;
}
.shop-category-name {
  font-size: 12px;
  color: var(--text);
  line-height: 1.3;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(4, 1fr); }
  .categories-grid { grid-template-columns: repeat(5, 1fr); }
  .category-item:nth-child(10n) { border-right: 1px solid var(--border); }
  .category-item:nth-child(5n) { border-right: none; }
  .category-item:nth-child(n+11) { border-bottom: 1px solid var(--border); }
  .category-item:nth-child(n+16) { border-bottom: none; }
  .mall-brands { grid-template-columns: repeat(4, 1fr); }
  .mall-brand:nth-child(6n) { border-right: 1px solid var(--border); }
  .mall-brand:nth-child(4n) { border-right: none; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-grid { grid-template-columns: 1fr; height: auto; }
  .banner-main { height: 220px; }
  .banner-side { flex-direction: row; height: 100px; }
}

@media (max-width: 768px) {
  .topbar { display: none; }

  .header {
    padding: 10px 0;
    position: sticky;
  }
  .header .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  .header-inner { gap: 10px; }
  .logo { flex-shrink: 0; }
  .search-wrap { min-width: 0; flex: 1; }
  .search-form input {
    min-width: 0;
    font-size: 13px;
    padding: 0 10px;
  }
  .logo-text { display: none; }
  .logo-icon { width: 36px; height: 36px; font-size: 18px; border-radius: 8px; }
  .logo-img { width: 36px; height: 36px; }
  .search-form { height: 36px; border-radius: 18px; padding: 2px; }
  .search-btn { width: 50px; border-radius: 16px; }
  .search-tags { display: none; }
  .header-cart { padding: 4px; flex-shrink: 0; color: #fff; }
  .header-cart svg { width: 24px; height: 24px; }
  .header-user { display: none; }

  .hero-section { padding: 0; }
  .container { padding: 0 0; }
  .hero-section .container,
  .services .container,
  .section .container { padding: 0; }

  .services,
  .section { margin-top: 8px; border-radius: 0; }

  .banner-main { height: 160px; border-radius: 0; }
  .banner-side { display: none; }
  .banner-slide-content h2 { font-size: 18px; }
  .banner-nav { display: none; }

  .services { padding: 12px 4px 8px; }
  .service-item { min-width: 72px; }
  .service-icon { width: 42px; height: 42px; font-size: 20px; }
  .service-item span { font-size: 11px; max-width: 68px; }

  .categories-grid { grid-template-columns: repeat(4, 1fr); }
  .category-item {
    min-height: 100px;
    padding: 10px 4px;
    border-right: 1px solid var(--border);
  }
  .category-item:nth-child(5n) { border-right: 1px solid var(--border); }
  .category-item:nth-child(4n) { border-right: none; }
  .category-emoji, .category-img { width: 52px; height: 52px; font-size: 24px; }
  .category-item span { font-size: 11px; }

  .section-header { padding: 12px; }
  .section-title { font-size: 14px; }
  .flash-card { min-width: 130px; max-width: 130px; }
  .flash-price { font-size: 14px; }

  .mall-brands { grid-template-columns: repeat(3, 1fr); }
  .mall-brand:nth-child(4n) { border-right: 1px solid var(--border); }
  .mall-brand:nth-child(3n) { border-right: none; }
  .mall-brand-logo { width: 60px; height: 60px; font-size: 22px; }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
    padding: 4px;
  }
  .product-price { font-size: 14px; }
  .product-name { font-size: 12px; min-height: 32px; }

  .footer { padding: 24px 15px 56px; margin-top: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px; padding-bottom: 16px; }
  .footer .container { padding: 0; }
  .footer-bottom { display: none; }

  .seo-section { margin: 8px 0 0; border-radius: 0; padding: 16px; }

  .bottom-nav { display: flex; }
  body { padding-bottom: 56px; }

  .countdown-box { min-width: 22px; height: 20px; font-size: 11px; }
}

@media (max-width: 480px) {
  .banner-main { height: 140px; }
  .flash-card { min-width: 110px; max-width: 110px; padding: 4px; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* Utility placeholders for product images */
.img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  background: linear-gradient(145deg, #f8f8f8, #eee);
  overflow: hidden;
}

.img-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.shop-product-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 16px 48px;
}

.shop-product-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #888;
  margin-bottom: 16px;
}

.shop-product-breadcrumb a {
  color: #666;
  text-decoration: none;
}

.shop-product-breadcrumb a:hover {
  color: var(--primary);
}

.shop-product-wrap {
  display: grid;
  grid-template-columns: minmax(280px, 440px) 1fr;
  gap: 32px;
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .04);
}

.shop-product-gallery-col {
  min-width: 0;
}

.shop-product-media-wrap {
  position: relative;
}

.shop-product-wishlist-slot {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 5;
}

.shop-product-wishlist-fab-form {
  margin: 0;
}

.shop-product-wishlist-fab {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  color: #666;
  padding: 0;
  transition: transform .15s ease, color .15s ease, background .15s ease;
}

.shop-product-wishlist-fab:hover {
  transform: scale(1.05);
  color: var(--primary);
}

.shop-product-wishlist-fab.is-saved {
  color: var(--primary);
}

.shop-product-wishlist-fab .shop-wishlist-icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linejoin: round;
}

.shop-product-wishlist-fab.is-saved .shop-wishlist-icon {
  fill: currentColor;
  stroke: currentColor;
}

.shop-product-gallery-main {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #fafafa;
  border: 1px solid #f0f0f0;
}

.shop-product-gallery-track {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  touch-action: pan-y pinch-zoom;
  outline: none;
}

.shop-product-gallery-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease;
}

.shop-product-gallery-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.shop-product-gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #fff;
}

.shop-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
  color: #333;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.shop-gallery-nav:hover {
  color: var(--primary);
}

.shop-gallery-nav.prev { left: 10px; }
.shop-gallery-nav.next { right: 10px; }

.shop-gallery-counter {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 2;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .55);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
}

.shop-gallery-dots {
  position: absolute;
  left: 50%;
  bottom: 12px;
  z-index: 2;
  display: flex;
  gap: 6px;
  transform: translateX(-50%);
}

.shop-gallery-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .45);
  transition: transform .2s ease, background .2s ease;
}

.shop-gallery-dot.is-active {
  background: #fff;
  transform: scale(1.25);
}

.shop-product-media,
.shop-product-media-fallback {
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #f0f0f0;
}

.shop-product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shop-product-emoji {
  font-size: 96px;
}

.shop-product-info {
  min-width: 0;
}

.shop-product-info h1 {
  margin: 0 0 14px;
  font-size: clamp(20px, 2.5vw, 26px);
  line-height: 1.35;
  color: #222;
}

.shop-product-supplier-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: -6px 0 12px;
}

.shop-supplier-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f6ffed;
  color: #389e0d;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  border: 1px solid rgba(56, 158, 13, .15);
}

.shop-product-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 12px;
}

.shop-product-base {
  color: #999;
  font-size: 15px;
}

.shop-product-price {
  font-size: clamp(24px, 3vw, 32px);
  color: var(--primary);
  font-weight: 700;
}

.shop-product-discount {
  background: rgba(238, 77, 45, .1);
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
}

.shop-product-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.shop-product-meta-chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: #f5f5f5;
  color: #666;
  font-size: 12px;
}

.shop-product-meta-chip.is-cashback {
  background: rgba(238, 77, 45, .08);
  color: var(--primary);
  font-weight: 500;
}

.shop-product-desc {
  margin-bottom: 20px;
  padding: 16px;
  border-radius: 8px;
  background: #fafafa;
  border: 1px solid #f0f0f0;
}

.shop-product-desc h2 {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

.shop-product-desc p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: #555;
  white-space: pre-line;
}

.shop-product-tabs {
  margin-top: 16px;
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .04);
  overflow: hidden;
}

.shop-product-tabs-nav {
  display: flex;
  gap: 0;
  border-bottom: 1px solid #f0f0f0;
  background: #fafafa;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.shop-product-tabs-nav::-webkit-scrollbar {
  display: none;
}

.shop-product-tab {
  flex: 0 0 auto;
  min-width: 160px;
  border: none;
  background: transparent;
  padding: 14px 24px;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  color: #666;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color .15s ease, background .15s ease, border-color .15s ease;
}

.shop-product-tab:hover {
  color: var(--primary);
  background: var(--primary-soft-2, rgba(238, 77, 45, .06));
}

.shop-product-tab.is-active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  background: #fff;
}

.shop-product-tabs-panels {
  padding: 24px;
}

.shop-product-tab-panel {
  display: none;
}

.shop-product-tab-panel.is-active {
  display: block;
}

.shop-product-desc-body {
  font-size: 14px;
  line-height: 1.75;
  color: #444;
}

.shop-product-desc-body p {
  margin: 0 0 12px;
}

.shop-product-desc-body p:last-child {
  margin-bottom: 0;
}

.shop-product-desc-body ul,
.shop-product-desc-body ol {
  margin: 0 0 12px;
  padding-left: 1.25em;
}

.shop-product-desc-body li + li {
  margin-top: 4px;
}

.shop-product-tab-empty {
  margin: 0;
  padding: 20px 0 8px;
  text-align: center;
  font-size: 14px;
  color: #999;
}

.shop-product-reviews-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  padding-bottom: 20px;
  margin-bottom: 4px;
  border-bottom: 1px solid #f5f5f5;
}

.shop-product-reviews-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 72px;
}

.shop-product-reviews-score strong {
  font-size: 32px;
  line-height: 1;
  color: var(--primary);
}

.shop-product-reviews-score span {
  margin-top: 4px;
  font-size: 12px;
  color: #888;
}

.shop-product-reviews-stars {
  position: relative;
  display: inline-block;
  font-size: 22px;
  line-height: 1;
  letter-spacing: 2px;
}

.shop-product-stars-bg,
.shop-product-stars-fill {
  display: block;
  white-space: nowrap;
}

.shop-product-stars-bg {
  color: #e8e8e8;
}

.shop-product-stars-fill {
  position: absolute;
  inset: 0 auto 0 0;
  overflow: hidden;
  color: #ffc120;
  pointer-events: none;
}

.shop-product-reviews-meta {
  margin: 0;
  font-size: 13px;
  color: #888;
}

.shop-product-buy {
  display: inline-block;
  margin-bottom: 0;
  min-width: 160px;
  text-align: center;
}

.shop-product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: stretch;
  margin-bottom: 12px;
}

.shop-product-flash {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 13px;
  transition: opacity .35s ease, transform .35s ease, max-height .35s ease, margin .35s ease, padding .35s ease;
}
  font-weight: 600;
  line-height: 1.45;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.shop-product-flash::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  border-radius: 10px 0 0 10px;
  background: currentColor;
}

.shop-product-flash::after {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  order: -1;
  margin-left: 2px;
}

.shop-product-flash.success {
  color: #237804;
  background: linear-gradient(135deg, #f6ffed 0%, #fff 60%);
  border-color: #b7eb8f;
}

.shop-product-flash.success::after {
  content: "✓";
  color: #389e0d;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 0 0 1px #b7eb8f;
}

.shop-product-flash.error {
  color: #c41e12;
  background: linear-gradient(135deg, #fff1f0 0%, #fff8f6 55%, #fff 100%);
  border-color: rgba(238, 77, 45, 0.45);
  box-shadow: 0 6px 18px rgba(238, 77, 45, 0.14);
}

.shop-product-flash.error::after {
  content: "!";
  color: #fff;
  background: var(--primary);
  box-shadow: 0 2px 8px rgba(238, 77, 45, 0.35);
}

.shop-checkout-success .shop-product-flash.error {
  animation: shop-flash-attention 0.55s ease;
}

@keyframes shop-flash-attention {
  0% {
    opacity: 0;
    transform: translateY(-6px);
  }
  60% {
    transform: translateY(2px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.shop-cart-toast {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 14px;
  padding: 14px 40px 14px 14px;
  border-radius: 12px;
  border: 1px solid transparent;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
  opacity: 0;
  transform: translateY(8px) scale(.98);
  transition: opacity .28s ease, transform .28s ease;
  position: relative;
  overflow: hidden;
}

.shop-cart-toast::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  border-radius: 12px 0 0 12px;
  background: currentColor;
}

.shop-cart-toast.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.shop-cart-toast.is-success {
  color: #237804;
  background: linear-gradient(135deg, #f6ffed 0%, #fff 55%);
  border-color: #b7eb8f;
}

.shop-cart-toast.is-error {
  color: #cf1322;
  background: linear-gradient(135deg, #fff1f0 0%, #fff 55%);
  border-color: #ffa39e;
}

.shop-cart-toast-icon {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .85);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .04);
}

.shop-cart-toast.is-success .shop-cart-toast-icon {
  color: #389e0d;
  background: #f6ffed;
  box-shadow: inset 0 0 0 1px #b7eb8f;
}

.shop-cart-toast.is-error .shop-cart-toast-icon {
  color: #cf1322;
  background: #fff1f0;
  box-shadow: inset 0 0 0 1px #ffa39e;
}

.shop-cart-toast-glyph {
  width: 22px;
  height: 22px;
  display: none;
  flex-shrink: 0;
}

.shop-cart-toast.is-success .shop-cart-toast-glyph--success,
.shop-cart-toast.is-error .shop-cart-toast-glyph--error {
  display: block;
}

.shop-cart-toast-body {
  flex: 1;
  min-width: 0;
}

.shop-cart-toast-title {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #222;
  margin-bottom: 2px;
}

.shop-cart-toast-message {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #555;
}

.shop-cart-toast-action {
  display: inline-flex;
  align-items: center;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}

.shop-cart-toast-action:hover {
  text-decoration: underline;
}

.shop-cart-toast-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #999;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.shop-cart-toast-close:hover {
  background: rgba(0, 0, 0, .05);
  color: #666;
}

.shop-product-note {
  font-size: 12px;
  color: #888;
  margin: 0;
  line-height: 1.5;
}

.shop-product-checkout-form {
  margin-bottom: 10px;
}

.shop-product-field {
  margin-bottom: 14px;
}

.shop-product-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #444;
}

.shop-field-hint {
  font-weight: 400;
  color: #999;
  font-size: 12px;
}

.shop-product-select {
  width: 100%;
  max-width: 210px;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  font: inherit;
  font-size: 14px;
  line-height: 1.25;
  color: #333;
  background: #fff;
  box-sizing: border-box;
}

.shop-product-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(238, 77, 45, .12);
}

.shop-qty-stepper {
  display: inline-flex;
  align-items: stretch;
  height: 42px;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-sizing: border-box;
  flex: 0 0 auto;
}

.shop-qty-row {
  display: flex;
  align-items: stretch;
  gap: 10px;
  max-width: 420px;
}

.shop-product-add-cart {
  flex: 1;
  min-width: 0;
  height: 42px;
  min-height: 42px;
  padding: 0 18px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  box-sizing: border-box;
  border: none;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  cursor: pointer;
  transition: background .15s ease, box-shadow .15s ease;
}

.shop-product-add-cart:hover {
  background: var(--primary-dark);
  box-shadow: 0 4px 12px rgba(238, 77, 45, .25);
}

.shop-qty-btn {
  width: 42px;
  min-width: 42px;
  border: none;
  background: #fafafa;
  color: #555;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.shop-qty-btn:hover {
  background: #f0f0f0;
  color: var(--primary);
}

.shop-qty-input {
  width: 64px;
  height: 100%;
  border: none;
  border-left: 1px solid #e8e8e8;
  border-right: 1px solid #e8e8e8;
  text-align: center;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: #222;
  padding: 0;
  box-sizing: border-box;
  -moz-appearance: textfield;
}

.shop-qty-input::-webkit-outer-spin-button,
.shop-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.shop-product-buy.is-disabled {
  opacity: .55;
  pointer-events: none;
  cursor: not-allowed;
}

.shop-product-out-of-stock {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 4px 0 14px;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid #ffd8bf;
  background: linear-gradient(135deg, #fff7e6 0%, #fff 60%);
  box-shadow: 0 6px 18px rgba(250, 84, 28, .08);
  position: relative;
  overflow: hidden;
}

.shop-product-out-of-stock::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #fa541c;
  border-radius: 12px 0 0 12px;
}

.shop-product-out-of-stock-icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d4380d;
  background: #fff;
  box-shadow: inset 0 0 0 1px #ffbb96;
}

.shop-product-out-of-stock-icon svg {
  width: 24px;
  height: 24px;
  display: block;
}

.shop-product-out-of-stock-body {
  flex: 1;
  min-width: 0;
}

.shop-product-out-of-stock-title {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #ad2102;
  margin-bottom: 4px;
}

.shop-product-out-of-stock-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: #8c4a2f;
}

.shop-product-out-of-stock-action {
  display: inline-flex;
  align-items: center;
  margin-top: 10px;
  padding: 7px 14px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #ffbb96;
  font-size: 13px;
  font-weight: 600;
  color: #d4380d;
  text-decoration: none;
}

.shop-product-out-of-stock-action:hover {
  background: #fff2e8;
  border-color: #ff9c6e;
}

.shop-cart-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 16px 48px;
}

.shop-cart-title {
  margin: 0 0 20px;
  font-size: clamp(22px, 3vw, 28px);
  color: #222;
}

.shop-cart-empty {
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  padding: 48px 24px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .04);
}

.shop-cart-empty p {
  margin: 0 0 20px;
  color: #666;
  font-size: 15px;
}

.shop-cart-empty-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 24px;
  text-decoration: none;
}

.shop-cart-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 20px;
  align-items: start;
}

.shop-cart-card {
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .04);
  overflow: hidden;
}

.shop-cart-head,
.shop-cart-row {
  display: grid;
  grid-template-columns: minmax(0, 2fr) 120px 150px 120px 40px;
  gap: 16px;
  align-items: center;
  padding: 16px 20px;
}

.shop-cart-head {
  background: #fafafa;
  border-bottom: 1px solid #f0f0f0;
  font-size: 13px;
  font-weight: 600;
  color: #666;
}

.shop-cart-row + .shop-cart-row {
  border-top: 1px solid #f5f5f5;
}

.shop-cart-product {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  min-width: 0;
}

.shop-cart-thumb {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  border-radius: 8px;
  overflow: hidden;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shop-cart-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shop-cart-thumb-fallback {
  font-size: 28px;
}

.shop-cart-product-info {
  min-width: 0;
}

.shop-cart-product-name {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #222;
  text-decoration: none;
  line-height: 1.45;
}

.shop-cart-product-name:hover {
  color: var(--primary);
}

.shop-cart-origin {
  margin: 6px 0 0;
  font-size: 12px;
  color: #389e0d;
}

.shop-cart-unit,
.shop-cart-line-total {
  font-size: 14px;
  color: #222;
  font-weight: 500;
}

.shop-cart-line-total {
  color: var(--primary);
  font-weight: 600;
}

.shop-cart-qty-form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.shop-cart-qty-status {
  display: block;
  min-height: 18px;
  margin-top: 6px;
  font-size: 11px;
  line-height: 1.4;
  color: #999;
}

.shop-cart-qty-status.is-saving {
  color: #888;
}

.shop-cart-qty-status.is-saved {
  color: #389e0d;
}

.shop-cart-qty-status.is-error {
  color: #d93025;
}

.shop-qty-stepper.is-saving {
  opacity: .7;
  pointer-events: none;
}

.shop-cart-remove-form {
  margin: 0;
}

.shop-cart-remove {
  width: 32px;
  height: 32px;
  border: 1px solid #eee;
  border-radius: 8px;
  background: #fff;
  color: #999;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.shop-cart-remove:hover {
  color: #d93025;
  border-color: #ffd6d6;
  background: #fff5f5;
}

.shop-cart-checkout-btn {
  width: 100%;
  min-height: 46px;
  margin-top: 16px;
  font-size: 15px;
  border-radius: 8px;
}

.shop-cart-continue {
  display: block;
  margin-top: 12px;
  text-align: center;
  font-size: 13px;
  color: var(--primary);
  text-decoration: none;
}

.shop-cart-continue:hover {
  color: var(--primary-dark);
}

.shop-checkout-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 16px 48px;
}

.shop-checkout-title {
  margin: 0 0 20px;
  font-size: clamp(22px, 3vw, 28px);
  color: #222;
}

.shop-checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 20px;
  align-items: start;
}

.shop-checkout-main {
  min-width: 0;
}

.shop-checkout-card {
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .04);
  margin-bottom: 16px;
}

.shop-checkout-card h2 {
  margin: 0 0 14px;
  font-size: 16px;
  color: #222;
}

.shop-checkout-address {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.65;
  color: #555;
}

.shop-checkout-link {
  font-size: 13px;
  color: var(--primary);
  text-decoration: none;
}

.shop-checkout-link:hover {
  text-decoration: underline;
}

.shop-checkout-warning {
  margin: 0 0 10px;
  color: #d93025;
  font-size: 14px;
}

.shop-checkout-radio {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  font-size: 14px;
  color: #444;
  cursor: pointer;
}

.shop-checkout-radio + .shop-checkout-radio {
  border-top: 1px solid #f5f5f5;
}

.shop-checkout-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  font: inherit;
  font-size: 14px;
  resize: vertical;
}

.shop-checkout-summary {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.shop-checkout-summary .shop-checkout-card {
  margin-bottom: 0;
}

.shop-checkout-continue {
  width: 100%;
  min-height: 46px;
  font-size: 15px;
  border-radius: 8px;
}

.shop-checkout-submit {
  width: 100%;
  min-height: 46px;
  font-size: 15px;
  border-radius: 8px;
}

.shop-checkout-submit:disabled {
  opacity: .55;
  cursor: not-allowed;
}

.shop-checkout-continue:disabled {
  opacity: .55;
  cursor: not-allowed;
}

.shop-checkout-submit-error {
  margin: 10px 0 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff1f0;
  color: #cf1322;
  border: 1px solid #ffa39e;
  font-size: 13px;
  line-height: 1.45;
}

.shop-checkout-submit-error[hidden] {
  display: none !important;
}

.shop-checkout-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid #f5f5f5;
}

.shop-checkout-item strong {
  font-size: 14px;
  color: #222;
}

.shop-checkout-item-meta {
  margin: 4px 0 0;
  font-size: 13px;
  color: #888;
}

.shop-checkout-origin {
  margin: 6px 0 0;
  font-size: 12px;
  color: #389e0d;
}

.shop-checkout-origin small {
  color: #999;
}

.shop-checkout-totals {
  margin: 0;
}

.shop-checkout-totals div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  font-size: 14px;
}

.shop-checkout-totals dt {
  margin: 0;
  color: #666;
}

.shop-checkout-totals dd {
  margin: 0;
  font-weight: 600;
  color: #222;
}

.shop-checkout-totals .is-muted {
  color: #999;
  font-weight: 500;
}

.shop-checkout-totals .is-total {
  border-top: 1px solid #f0f0f0;
  margin-top: 4px;
  padding-top: 12px;
}

.shop-checkout-totals .is-total dd {
  color: var(--primary);
  font-size: 18px;
}

.shop-checkout-note {
  margin: 12px 0 0;
  font-size: 12px;
  color: #888;
  line-height: 1.5;
}

.shop-checkout-shipping {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid #f0f0f0;
}

.shop-checkout-shipping-title {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 600;
  color: #222;
}

.shop-checkout-shipping-hint,
.shop-checkout-shipping-loading {
  margin: 0 0 12px;
  font-size: 12px;
  color: #888;
}

.shop-checkout-shipping-error {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff7e6;
  color: #ad6800;
  font-size: 13px;
}

.shop-checkout-courier-list {
  display: grid;
  gap: 10px;
}

@media (min-width: 769px) {
  .shop-checkout-courier-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.shop-checkout-courier-option {
  position: relative;
  display: grid;
  grid-template-columns: auto auto 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 10px 12px;
  padding: 12px 14px;
  border: 1px solid #ececec;
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

@media (min-width: 769px) {
  .shop-checkout-courier-option {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto auto;
    align-items: start;
    gap: 8px 10px;
    min-height: 115px;
  }
}

.shop-checkout-courier-option:hover {
  border-color: #ffb899;
}

.shop-checkout-courier-option:has(input:checked) {
  border-color: var(--primary);
  background: #fff8f6;
  box-shadow: 0 0 0 1px rgba(238, 77, 45, 0.15);
}

.shop-checkout-courier-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.shop-checkout-courier-mark {
  grid-row: 1 / 3;
  align-self: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #d9d9d9;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #fff;
  color: #fff;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.shop-checkout-courier-mark svg {
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.shop-checkout-courier-option:has(input:checked) .shop-checkout-courier-mark {
  border-color: var(--primary);
  background: var(--primary);
  box-shadow: 0 2px 8px rgba(238, 77, 45, 0.35);
  transform: scale(1.05);
}

.shop-checkout-courier-option:has(input:checked) .shop-checkout-courier-mark svg {
  opacity: 1;
  transform: scale(1);
}

@media (min-width: 769px) {
  .shop-checkout-courier-mark {
    grid-row: 1 / span 3;
    align-self: start;
    margin-top: 2px;
  }

  .shop-checkout-courier-logo {
    grid-column: 2;
    grid-row: 1;
  }

  .shop-checkout-courier-body {
    grid-column: 2;
    grid-row: 2;
  }

  .shop-checkout-courier-price {
    grid-column: 2;
    grid-row: 3;
    justify-self: start;
  }
}

.shop-checkout-courier-logo {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 8px;
  background: #fafafa;
}

.shop-checkout-courier-body {
  grid-column: 3;
  grid-row: 1;
  align-self: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.shop-checkout-courier-price {
  grid-column: 2 / 4;
  grid-row: 2;
  justify-self: start;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}

.shop-checkout-courier-logo--fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary);
}

.shop-checkout-courier-name {
  font-size: 14px;
  color: #222;
}

.shop-checkout-courier-service,
.shop-checkout-courier-eta {
  font-size: 12px;
  color: #888;
}

.shop-checkout-bank-list {
  display: grid;
  gap: 10px;
}

@media (min-width: 769px) {
  .shop-checkout-bank-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.shop-checkout-bank-option {
  position: relative;
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid #ececec;
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.shop-checkout-bank-option:hover {
  border-color: #ffb899;
}

.shop-checkout-bank-option:has(input:checked) {
  border-color: var(--primary);
  background: #fff8f6;
  box-shadow: 0 0 0 1px rgba(238, 77, 45, 0.15);
}

.shop-checkout-bank-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.shop-checkout-bank-mark {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #d9d9d9;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #fff;
  color: #fff;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.shop-checkout-bank-mark svg {
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.shop-checkout-bank-option:has(input:checked) .shop-checkout-bank-mark {
  border-color: var(--primary);
  background: var(--primary);
  box-shadow: 0 2px 8px rgba(238, 77, 45, 0.35);
  transform: scale(1.05);
}

.shop-checkout-bank-option:has(input:checked) .shop-checkout-bank-mark svg {
  opacity: 1;
  transform: scale(1);
}

.shop-checkout-bank-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 8px;
  background: #fafafa;
  flex-shrink: 0;
}

.shop-checkout-bank-logo--fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary);
  font-size: 18px;
}

.shop-checkout-bank-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.shop-checkout-bank-name {
  font-size: 15px;
  color: #222;
}

.shop-checkout-bank-number {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.02em;
}

.shop-checkout-bank-holder,
.shop-checkout-bank-notes {
  font-size: 12px;
  color: #888;
}

.shop-checkout-bank-transfer {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 8px;
  background: #fff8f6;
  border: 1px solid #ffd4c8;
  font-size: 13px;
  line-height: 1.6;
}

.shop-checkout-form .shop-checkout-card + .shop-checkout-card {
  margin-top: 16px;
}

.shop-checkout-payment-tabs {
  padding-top: 0;
  overflow: hidden;
}

.shop-checkout-pay-tabs-wrap {
  position: relative;
  margin: 0 -20px 16px;
}

.shop-checkout-pay-tabs-wrap::before,
.shop-checkout-pay-tabs-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 1px;
  width: 24px;
  z-index: 1;
  pointer-events: none;
}

.shop-checkout-pay-tabs-wrap::before {
  left: 0;
  background: linear-gradient(90deg, #fff 15%, rgba(255, 255, 255, 0));
}

.shop-checkout-pay-tabs-wrap::after {
  right: 0;
  background: linear-gradient(270deg, #fff 15%, rgba(255, 255, 255, 0));
}

.shop-checkout-pay-panel {
  display: block;
}

.shop-checkout-pay-panel[hidden] {
  display: none !important;
}

.shop-checkout-pay-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  border-bottom: 1px solid #ececec;
  margin: 0;
  padding: 0 20px;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  touch-action: pan-x;
  scroll-snap-type: x proximity;
}

.shop-checkout-pay-tabs::-webkit-scrollbar {
  display: none;
}

.shop-checkout-pay-tab {
  flex: 0 0 auto;
  scroll-snap-align: start;
  border: none;
  background: transparent;
  color: #666;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 14px 14px 12px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.shop-checkout-pay-tab:hover {
  color: var(--primary);
}

.shop-checkout-pay-tab.is-active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.shop-checkout-pay-panel-note {
  margin: 0 0 12px;
}

#checkoutPickupList:not(:empty) + #checkoutCourierList:not(:empty) {
  margin-top: 10px;
}

.shop-checkout-pickup-logo {
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shop-checkout-pickup-note {
  margin: 0;
  padding: 12px 14px;
  border-radius: 8px;
  background: #fff8f6;
  border: 1px solid #ffd4c8;
  font-size: 13px;
  line-height: 1.55;
  color: #666;
}

.shop-checkout-channel-group + .shop-checkout-channel-group {
  margin-top: 14px;
}

.shop-checkout-channel-category {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.payment-transfer-card {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid #ececec;
  border-radius: 12px;
  background: #fafafa;
}

.payment-transfer-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid #ececec;
}

.payment-transfer-head h3 {
  margin: 0;
  font-size: 15px;
  color: #222;
}

.payment-deadline {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(238, 77, 45, 0.18);
  background: linear-gradient(135deg, #fff8f6 0%, #fff 55%, #fffaf8 100%);
}

.payment-deadline-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.payment-deadline-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(238, 77, 45, 0.1);
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.payment-deadline-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  animation: payment-deadline-pulse 1.4s ease-in-out infinite;
}

.payment-deadline-until {
  font-size: 12px;
  color: #888;
}

.payment-deadline-caption {
  margin: 0 0 10px;
  font-size: 12px;
  color: #666;
}

.payment-countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.payment-countdown-segment {
  min-width: 58px;
  padding: 8px 6px 6px;
  border-radius: 8px;
  border: 1px solid #ececec;
  background: #fff;
  text-align: center;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.payment-countdown-value {
  display: block;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
  transition: transform 0.2s ease, color 0.2s ease;
}

.payment-countdown-value.is-tick {
  transform: scale(1.06);
}

.payment-countdown-label {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #999;
}

.payment-countdown-sep {
  font-size: 20px;
  font-weight: 700;
  color: #ccc;
  line-height: 1;
  margin-top: -8px;
}

.payment-deadline-progress {
  margin-top: 12px;
  height: 4px;
  border-radius: 999px;
  background: #f0f0f0;
  overflow: hidden;
}

.payment-deadline-progress-fill {
  display: block;
  height: 100%;
  width: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff7337 0%, var(--primary) 100%);
  transition: width 1s linear;
}

.payment-deadline.is-urgent {
  border-color: rgba(238, 77, 45, 0.45);
  background: linear-gradient(135deg, #fff3ef 0%, #fff 60%, #fff5f2 100%);
}

.payment-deadline.is-urgent .payment-countdown-value {
  color: #d73211;
}

.payment-deadline.is-urgent .payment-deadline-progress-fill {
  background: linear-gradient(90deg, #ff4d2d 0%, #d73211 100%);
}

.payment-deadline.is-expired {
  border-color: #e0e0e0;
  background: #f5f5f5;
}

.payment-deadline.is-expired .payment-deadline-badge {
  background: #ececec;
  color: #888;
}

.payment-deadline.is-expired .payment-deadline-badge::before {
  background: #aaa;
  animation: none;
}

.payment-deadline.is-expired .payment-countdown,
.payment-deadline.is-expired .payment-deadline-caption,
.payment-deadline.is-expired .payment-deadline-progress {
  display: none;
}

.payment-deadline-expired-msg {
  display: none;
  margin: 4px 0 0;
  font-size: 13px;
  font-weight: 600;
  color: #888;
  text-align: center;
}

.payment-deadline.is-expired .payment-deadline-expired-msg {
  display: block;
}

@keyframes payment-deadline-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}

@media (max-width: 480px) {
  .payment-countdown-segment {
    min-width: 48px;
    padding: 7px 4px 5px;
  }

  .payment-countdown-value {
    font-size: 18px;
  }
}

.payment-transfer-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #ececec;
  flex-shrink: 0;
}

.payment-transfer-logo--fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary);
  font-size: 18px;
}

.payment-transfer-rows {
  margin: 0;
  display: grid;
  gap: 10px;
}

.payment-transfer-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 8px 12px;
  align-items: center;
}

.payment-transfer-row dt {
  margin: 0;
  font-size: 12px;
  color: #888;
  font-weight: 600;
}

.payment-transfer-row dd {
  margin: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.payment-transfer-value {
  font-size: 14px;
  color: #222;
  word-break: break-all;
}

.payment-transfer-amount {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
}

.payment-transfer-row--total dt,
.payment-transfer-row--total .payment-transfer-value {
  font-size: 14px;
}

.payment-copy-btn {
  border: 1px solid #ffd4c8;
  background: #fff;
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}

.payment-copy-btn:hover {
  background: #fff5f2;
  border-color: var(--primary);
}

.payment-copy-btn.is-copied {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.payment-transfer-note {
  margin: 12px 0 0;
  font-size: 12px;
  color: #888;
  line-height: 1.55;
}

.payment-proof-form-card {
  margin-top: 14px;
  padding: 16px;
  border: 1px dashed #ffd4c8;
  border-radius: 12px;
  background: #fff;
}

.payment-proof-form-card h3 {
  margin: 0 0 6px;
  font-size: 15px;
  color: #222;
}

.payment-proof-upload {
  display: block;
  margin: 12px 0;
  cursor: pointer;
}

.payment-proof-upload input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.payment-proof-upload-ui {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  border: 1px dashed #ddd;
  border-radius: 10px;
  background: #fafafa;
  transition: border-color .15s, background .15s;
}

.payment-proof-upload:hover .payment-proof-upload-ui {
  border-color: #ffb899;
  background: #fff8f6;
}

.payment-proof-upload-icon {
  font-size: 20px;
}

.payment-proof-upload-text {
  font-size: 13px;
  color: #666;
}

.payment-proof-file-name {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--primary);
  font-weight: 600;
}

.payment-proof-submit {
  width: 100%;
  min-height: 44px;
}

.payment-proof-sent {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 10px;
  background: #f0faf4;
  border: 1px solid #b7eb8f;
  font-size: 13px;
  line-height: 1.55;
}

.payment-proof-sent strong {
  display: block;
  margin-bottom: 4px;
  color: #237804;
}

.payment-proof-link {
  display: inline-block;
  margin-top: 8px;
  font-weight: 600;
  color: var(--primary);
}

.shop-checkout-success-card {
  text-align: left;
  max-width: 560px;
  margin: 0 auto;
}

.payment-confirm-card {
  margin-top: 20px;
  text-align: left;
  padding: 20px;
}

.payment-confirm-head {
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid #ececec;
}

.payment-confirm-head h2 {
  margin: 0 0 6px;
  font-size: 18px;
  color: #222;
}

.payment-confirm-lead {
  margin: 0;
  font-size: 13px;
  color: #888;
  line-height: 1.55;
}

.payment-confirm-summary {
  margin-bottom: 16px;
  padding: 14px 16px;
  border-radius: 10px;
  background: #f8fbff;
  border: 1px solid #d6e4ff;
}

.payment-confirm-summary h3 {
  margin: 0 0 10px;
  font-size: 14px;
  color: #222;
}

.payment-confirm-items {
  margin: 0 0 10px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.payment-confirm-items li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: #555;
}

.payment-confirm-items li strong {
  color: #222;
  white-space: nowrap;
}

.payment-confirm-total {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid #d6e4ff;
  font-size: 14px;
  color: #222;
}

.payment-confirm-total strong {
  font-size: 16px;
  color: var(--primary);
}

.payment-confirm-card .payment-transfer-card {
  margin-top: 0;
}

.payment-proof-form-wrap {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #ececec;
}

.payment-proof-form-wrap h3 {
  margin: 0 0 10px;
  font-size: 15px;
  color: #222;
}

.payment-proof-fields {
  display: grid;
  gap: 12px;
  margin: 16px 0;
}

.payment-proof-preview {
  position: relative;
  margin-top: 12px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #ececec;
  background: #fafafa;
}

.payment-proof-preview img {
  display: block;
  width: 100%;
  max-height: 280px;
  object-fit: contain;
  background: #f5f5f5;
}

.payment-proof-preview-remove {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, .55);
  color: #fff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.payment-proof-preview-remove:hover {
  background: rgba(0, 0, 0, .75);
}

.payment-proof-sent-meta {
  margin: 10px 0 0;
  display: grid;
  gap: 6px;
}

.payment-proof-sent-meta div {
  display: flex;
  gap: 8px;
  font-size: 13px;
}

.payment-proof-sent-meta dt {
  margin: 0;
  min-width: 90px;
  color: #666;
  font-weight: 600;
}

.payment-proof-sent-meta dd {
  margin: 0;
  color: #222;
}

.duitku-payment-card {
  margin-top: 20px;
}

.duitku-qris-wrap {
  margin-top: 16px;
  text-align: center;
}

.duitku-qris-image {
  display: inline-block;
  margin-top: 10px;
  padding: 10px;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 10px;
}

.duitku-pay-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.duitku-pay-actions .btn-primary,
.duitku-pay-actions .btn-secondary {
  flex: 1 1 140px;
  min-width: 0;
  text-align: center;
  text-decoration: none;
}

.btn-secondary {
  display: inline-block;
  padding: 10px 16px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fff;
  color: #333;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}

.btn-secondary:hover {
  border-color: #ee4d2d;
  color: #ee4d2d;
}

.payment-guide-accordion {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #ececec;
}

.payment-guide-title {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 600;
  color: #222;
}

.payment-guide-item {
  border: 1px solid #ececec;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.payment-guide-item + .payment-guide-item {
  margin-top: 8px;
}

.payment-guide-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.payment-guide-summary::-webkit-details-marker {
  display: none;
}

.payment-guide-summary::after {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-right: 2px solid #888;
  border-bottom: 2px solid #888;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.payment-guide-item[open] .payment-guide-summary::after {
  transform: rotate(-135deg);
  margin-top: 4px;
}

.payment-guide-steps {
  margin: 0;
  padding: 0 14px 14px 32px;
  font-size: 13px;
  line-height: 1.55;
  color: #555;
}

.payment-guide-steps li + li {
  margin-top: 8px;
}

.payment-guide-steps strong {
  color: #ee4d2d;
  font-weight: 600;
}

.payment-proof-upload-hint {
  display: block;
  font-size: 11px;
  color: #999;
  margin-top: 2px;
}

.shop-checkout-success-back {
  display: inline-block;
  margin-top: 16px;
}

@media (max-width: 768px) {
  .payment-transfer-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

.shop-checkout-errors {
  margin: 0 0 16px;
  padding: 12px 16px;
  border-radius: 8px;
  background: #fff1f0;
  color: #d93025;
  font-size: 13px;
  transition: opacity .35s ease, transform .35s ease, max-height .35s ease, margin .35s ease, padding .35s ease;
}

.alert.is-dismissing,
.shop-product-flash.is-dismissing,
.shop-checkout-errors.is-dismissing {
  opacity: 0;
  transform: translateY(-6px);
  max-height: 0;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  overflow: hidden;
  pointer-events: none;
  border-width: 0;
}

.shop-checkout-fields {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
}

.shop-checkout-field {
  display: block;
}

.shop-checkout-field span {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #444;
}

.shop-checkout-field input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  font: inherit;
  font-size: 14px;
}

.shop-checkout-field input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(238, 77, 45, .12);
}

.shop-checkout-form .wilayah-address {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.shop-checkout-form .wilayah-address .form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
}

.shop-checkout-form .wilayah-address .form-group span {
  font-size: 13px;
  font-weight: 600;
  color: #444;
}

.shop-checkout-form .wilayah-address input,
.shop-checkout-form .wilayah-address select,
.shop-checkout-form .wilayah-address textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  font: inherit;
  font-size: 14px;
}

.shop-checkout-form .wilayah-address textarea {
  resize: vertical;
  min-height: 88px;
  line-height: 1.5;
}

.wilayah-search-wrap {
  position: relative;
}

.wilayah-search-field {
  position: relative;
}

.wilayah-location-search {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  font: inherit;
  font-size: 14px;
  background: #fff;
}

.wilayah-location-search:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(238, 77, 45, .12);
}

.wilayah-search-hint {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: #999;
}

.wilayah-search-results {
  position: absolute;
  z-index: 30;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  max-height: 280px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .12);
}

.wilayah-search-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-bottom: 1px solid #f5f5f5;
  background: #fff;
  text-align: left;
  cursor: pointer;
  font: inherit;
}

.wilayah-search-item:last-child {
  border-bottom: 0;
}

.wilayah-search-item:hover,
.wilayah-search-item.is-active {
  background: #fff7f5;
}

.wilayah-search-badge {
  flex: 0 0 auto;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;
}

.wilayah-search-text {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  line-height: 1.45;
  color: #333;
}

.wilayah-search-empty,
.wilayah-search-loading {
  padding: 12px 14px;
  font-size: 13px;
  color: #888;
}

.wilayah-address-fields.is-hidden,
.shop-checkout-form .wilayah-address-fields {
  display: none !important;
}

.shop-checkout-form .wilayah-address-fields .select2-container {
  display: none !important;
}

.shop-checkout-success {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.shop-checkout-success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #f6ffed;
  color: #389e0d;
  font-size: 32px;
  line-height: 64px;
  font-weight: 700;
}

.shop-checkout-success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 16px;
}

@media (max-width: 768px) {
  .shop-product-wrap {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 16px;
  }

  .shop-product-actions {
    flex-direction: column;
  }

  .shop-product-buy {
    width: 100%;
    min-width: 0;
  }

  .shop-gallery-nav {
    width: 32px;
    height: 32px;
    font-size: 20px;
  }

  .shop-product-tabs-panels {
    padding: 16px;
  }

  .shop-product-tab {
    min-width: 140px;
    padding: 12px 16px;
    font-size: 13px;
  }

  .shop-checkout-grid {
    grid-template-columns: 1fr;
  }

  .shop-cart-grid {
    grid-template-columns: 1fr;
  }

  .shop-cart-head {
    display: none;
  }

  .shop-cart-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .shop-cart-unit::before {
    content: 'Harga: ';
    color: #888;
    font-weight: 400;
  }

  .shop-cart-line-total::before {
    content: 'Total: ';
    color: #888;
    font-weight: 400;
  }

  .shop-cart-remove-form {
    justify-self: end;
  }

  .shop-checkout-form .wilayah-address {
    grid-template-columns: 1fr;
  }

  .shop-checkout-courier-list {
    grid-template-columns: 1fr;
  }

  .shop-checkout-pay-tab {
    padding: 12px 12px 10px;
    font-size: 12px;
  }
}

.shop-search-page {
  padding: 20px 0 48px;
}

.shop-search-head {
  margin-bottom: 16px;
}

.shop-search-head h1 {
  margin: 0 0 6px;
  font-size: clamp(20px, 4vw, 26px);
}

.shop-search-count {
  margin: 0;
  color: #888;
  font-size: 13px;
}

.shop-search-grid {
  margin-bottom: 20px;
}

.shop-search-empty {
  text-align: center;
  padding: 48px 16px;
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
}

.shop-search-empty p {
  margin: 0 0 16px;
  color: #666;
}

.shop-search-pagination {
  display: flex;
  justify-content: center;
  padding: 8px 0 16px;
}

/* ========== FLASH SALE PAGE ========== */
.flash-sale-page {
  padding-top: 16px;
}

.flash-sale-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.flash-sale-head-main {
  flex: 1 1 240px;
  min-width: 0;
}

.flash-sale-breadcrumb {
  margin-bottom: 10px;
}

.flash-sale-title {
  margin: 0;
  font-size: clamp(22px, 4vw, 28px);
  color: var(--primary);
}

.flash-sale-head .flash-header-left {
  flex-wrap: wrap;
}

.flash-sale-search {
  display: flex;
  gap: 8px;
  flex: 0 1 320px;
  width: 100%;
  max-width: 360px;
}

.flash-sale-search input[type="search"] {
  flex: 1;
  min-width: 0;
  height: 38px;
  padding: 0 12px;
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  font-size: 14px;
}

.flash-sale-grid {
  margin-bottom: 20px;
}

.flash-sale-card .stock-bar {
  margin-top: 8px;
}

.flash-sale-base-price {
  font-size: 12px;
  color: #999;
  text-decoration: line-through;
  margin-top: 2px;
}

.flash-sale-empty-note {
  margin: -8px 0 16px;
  color: #888;
  font-size: 13px;
}

@media (max-width: 640px) {
  .flash-sale-head {
    align-items: stretch;
  }

  .flash-sale-search {
    max-width: none;
  }
}

.shop-search-pagination .pagination {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.shop-search-pagination .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid #eee;
  border-radius: 6px;
  color: #444;
  text-decoration: none;
  font-size: 13px;
}

.shop-search-pagination .page-item.active .page-link {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

@media (max-width: 768px) {
  .shop-search-page .container,
  .shop-categories-page .container {
    padding-left: 12px;
    padding-right: 12px;
  }
}

/* Static CMS pages (Tentang Kami, dll.) */
.static-page {
  padding: 24px 0 48px;
  background: #fafafa;
}

.static-page-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 13px;
  color: #888;
}

.static-page-breadcrumb a {
  color: #666;
}

.static-page-breadcrumb a:hover {
  color: var(--primary);
}

.static-page-hero {
  margin-bottom: 24px;
  padding: 28px 24px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary-soft-2, rgba(238, 77, 45, .08)) 0%, #fff 100%);
  border: 1px solid #f0f0f0;
}

.static-page-hero h1 {
  margin: 0 0 8px;
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 700;
  color: #222;
}

.static-page-subtitle {
  margin: 0;
  max-width: 720px;
  font-size: 15px;
  line-height: 1.65;
  color: #666;
}

.static-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 20px;
  align-items: start;
}

.static-page-content {
  padding: 28px 24px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #f0f0f0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .04);
}

.static-page-empty {
  margin: 0;
  color: #888;
  font-size: 14px;
}

.cms-content {
  font-size: 15px;
  line-height: 1.75;
  color: #444;
}

.cms-content h2,
.cms-content h3,
.cms-content h4 {
  margin: 1.6em 0 .6em;
  color: #222;
  line-height: 1.35;
}

.cms-content h2:first-child,
.cms-content h3:first-child,
.cms-content h4:first-child {
  margin-top: 0;
}

.cms-content h2 { font-size: 20px; }
.cms-content h3 { font-size: 17px; }
.cms-content h4 { font-size: 15px; }

.cms-content p {
  margin: 0 0 1em;
}

.cms-content ul,
.cms-content ol {
  margin: 0 0 1em;
}

.cms-content ul {
  list-style: none;
  padding-left: 0;
}

.cms-content ol {
  padding-left: 1.4em;
}

.cms-content ul li {
  display: flex;
  align-items: flex-start;
  gap: .45em;
  padding-left: 0;
  margin-bottom: .5em;
}

.cms-content ul li::before {
  content: '✓';
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: calc((1.75em - 1.15em) / 2 + .12em);
  width: 1.15em;
  height: 1.15em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(238, 77, 45, .12);
  color: var(--primary);
  font-size: .72em;
  font-weight: 700;
  line-height: 1;
}

.cms-content ol li {
  margin-bottom: .35em;
}

.cms-content ul ul,
.cms-content ol ul {
  margin: .45em 0 0;
}

.cms-content ul ul li::before {
  background: rgba(238, 77, 45, .08);
  font-size: .65em;
  margin-top: calc((1.75em - 1em) / 2);
}

.cms-content a {
  color: var(--primary);
  text-decoration: underline;
}

.cms-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.cms-content blockquote {
  margin: 1em 0;
  padding: 12px 16px;
  border-left: 4px solid var(--primary);
  background: #fafafa;
  color: #555;
}

.static-page-aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.static-page-card {
  padding: 20px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #f0f0f0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .04);
}

.static-page-card h2 {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 600;
  color: #222;
}

.static-page-card p {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.6;
  color: #666;
}

.static-page-card-accent {
  background: linear-gradient(180deg, #fff 0%, var(--primary-soft-2, rgba(238, 77, 45, .06)) 100%);
  border-color: rgba(238, 77, 45, .15);
}

.static-page-contact {
  list-style: none;
  margin: 0;
  padding: 0;
}

.static-page-contact li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 0;
  border-bottom: 1px solid #f5f5f5;
  font-size: 13px;
}

.static-page-contact li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.static-page-contact span {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #999;
}

.static-page-contact a,
.static-page-contact strong {
  color: #333;
  font-weight: 500;
  word-break: break-word;
}

.static-page-contact a:hover {
  color: var(--primary);
}

.static-page-cta {
  display: inline-flex;
  width: 100%;
  justify-content: center;
}

.static-page-cta-secondary {
  display: inline-flex;
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}

.static-page-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.static-page-links li {
  margin-bottom: 8px;
}

.static-page-links a {
  color: #444;
  font-size: 14px;
}

.static-page-links a:hover {
  color: var(--primary);
}

.static-page-card-note {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.5;
  color: #666;
}

.static-page-banks li strong {
  display: block;
  font-size: 14px;
  color: #222;
  letter-spacing: .03em;
}

.static-page-banks li small {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: #888;
}

.static-page-paychannels {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.static-page-paychannel {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid #eee;
  border-radius: 6px;
  background: #fafafa;
  font-size: 12px;
  color: #444;
}

.static-page-paychannel img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.static-pages-admin-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.static-pages-admin-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid #eee;
  border-radius: 10px;
  background: #fafafa;
}

.static-pages-admin-main h3 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 600;
  color: #222;
}

.static-pages-admin-main p {
  margin: 0 0 8px;
  font-size: 13px;
  color: #666;
  line-height: 1.5;
}

.static-pages-admin-url {
  display: inline-block;
  font-size: 12px;
  color: #888;
  background: #fff;
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid #eee;
}

.static-pages-admin-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

@media (max-width: 900px) {
  .static-page-layout {
    grid-template-columns: 1fr;
  }

  .static-page-aside {
    order: 2;
  }
}

@media (max-width: 768px) {
  .static-page {
    padding: 16px 0 32px;
  }

  .static-page .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .static-page-hero,
  .static-page-content,
  .static-page-card {
    padding-left: 16px;
    padding-right: 16px;
  }
}
