* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #0f172a;
  --accent: #2563eb;
  --accent-soft: #dbeafe;
  --success: #16a34a;
  --bg: #f8fafc;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --border: #e2e8f0;
  --danger: #ef4444;
}

body {
  font-family: "Plus Jakarta Sans", Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
}

.app-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border);
}

.menu-toggle,
.cart-btn {
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 14px;
  background: #f1f5f9;
  font-size: 20px;
  cursor: pointer;
}

.cart-btn {
  position: relative;
  background: var(--primary);
  color: white;
}

.cart-btn span {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 99px;
  background: var(--danger);
  color: white;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand {
  flex: 1;
}

.brand h1 {
  font-size: 18px;
  line-height: 1.1;
}

.brand p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 3px;
}

.header-menu {
  position: absolute;
  top: 66px;
  left: 12px;
  right: 12px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(15,23,42,.18);
  padding: 10px;
  display: none;
  flex-direction: column;
}

.header-menu.show {
  display: flex;
}

.header-menu button {
  border: none;
  background: none;
  padding: 14px;
  text-align: left;
  font-size: 15px;
  border-radius: 14px;
  cursor: pointer;
}

.header-menu button:hover {
  background: #f1f5f9;
}

.page {
  width: 100%;
  max-width: 1180px;
  margin: auto;
  padding: 14px;
}

.hero-banner {
  min-height: 150px;
  border-radius: 24px;
  padding: 22px;
  color: white;
  background:
    radial-gradient(circle at top right, rgba(59,130,246,.9), transparent 40%),
    linear-gradient(135deg, #0f172a, #2563eb);
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  overflow: hidden;
}

.hero-banner span {
  display: inline-block;
  font-size: 12px;
  background: rgba(255,255,255,.18);
  padding: 6px 10px;
  border-radius: 99px;
  margin-bottom: 10px;
}

.hero-banner h2 {
  font-size: 24px;
  line-height: 1.15;
  max-width: 330px;
}

.hero-banner p {
  font-size: 13px;
  opacity: .9;
  margin-top: 8px;
}

.search-box {
  margin-bottom: 18px;
}

.search-box input {
  width: 100%;
  border: 1px solid var(--border);
  background: white;
  padding: 15px;
  border-radius: 18px;
  font-size: 14px;
  outline: none;
}

.search-box input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.section-head h3 {
  font-size: 17px;
}

.section-head small {
  color: var(--muted);
  font-size: 12px;
}

.quick-category,
.home-section,
.product-section,
.faq-section {
  margin-bottom: 22px;
}

.category-list {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.category-list::-webkit-scrollbar,
.horizontal-products::-webkit-scrollbar {
  display: none;
}

.category-btn {
  min-width: 86px;
  border: 1px solid var(--border);
  background: white;
  padding: 12px 14px;
  border-radius: 18px;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
}


.horizontal-products {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.horizontal-products .product-card {
  min-width: 165px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.product-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 8px 20px rgba(15,23,42,.05);
}

.product-image {
  height: 112px;
  background: linear-gradient(135deg, #e0f2fe, #f8fafc);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-body {
  padding: 11px;
}

.product-name {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  min-height: 36px;
}

.product-category {
  display: inline-block;
  margin-top: 7px;
  font-size: 11px;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 4px 8px;
  border-radius: 99px;
}

.product-desc {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
  margin-top: 7px;
  min-height: 30px;
}

.product-price {
  margin-top: 9px;
  font-size: 15px;
  font-weight: 800;
  color: var(--primary);
}

.add-cart-btn {
  width: 100%;
  margin-top: 10px;
  border: none;
  border-radius: 13px;
  background: var(--accent);
  color: white;
  padding: 10px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.add-cart-btn:hover {
  opacity: .9;
}

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,.45);
  display: none;
  z-index: 999;
}

.cart-overlay.show {
  display: block;
}

.cart-panel {
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  max-width: 430px;
  height: 100%;
  background: #f8fafc;
  overflow-y: auto;
}

.cart-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: white;
  padding: 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-header h2 {
  font-size: 20px;
}

.cart-header button {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 12px;
  background: #f1f5f9;
  cursor: pointer;
}

.cart-items {
  padding: 14px;
}

.cart-item {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  align-items: flex-start;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 18px;
  margin-bottom: 10px;
}

.cart-thumb {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  overflow: hidden;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
}

.cart-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cart-info {
  flex: 1;
  min-width: 0;
}

.cart-info h4 {
  font-size: 13px;
  line-height: 1.35;
}

.cart-info p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

.cart-item strong {
  font-size: 13px;
  white-space: nowrap;
}

.qty-control {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.qty-control button {
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 9px;
  background: #f1f5f9;
  cursor: pointer;
}

.qty-control span {
  min-width: 18px;
  text-align: center;
  font-weight: 700;
}

.remove-btn {
  background: #fee2e2 !important;
}

.checkout-form {
  margin: 0 14px 14px;
  padding: 14px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
}
.checkout-form::before {
  content: "Data Pembelian";
  display: block;
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 12px;
}

.checkout-form::before {
  content: none;
  display: none;
}

.checkout-form h3 {
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 800;
}

.checkout-form input,
.checkout-form textarea,
.checkout-form select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 13px;
  font-size: 13px;
  outline: none;
  margin-bottom: 10px;
  background: #f8fafc;
}

.checkout-form input:focus,
.checkout-form textarea:focus,
.checkout-form select:focus {
  border-color: var(--accent);
  background: white;
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.checkout-form textarea {
  min-height: 74px;
  resize: none;
}

.voucher-box {
  margin: 0 14px 14px;
  padding: 14px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
}

.voucher-box label {
  display: block;
  margin-bottom: 9px;
  font-size: 13px;
  font-weight: 800;
  color: var(--text);
}

.voucher-control {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.voucher-control input {
  min-width: 0;
  flex: 1;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0 12px;
  background: #f8fafc;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  outline: none;
}

.voucher-control input:focus {
  border-color: var(--accent);
  background: white;
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.voucher-control button {
  flex: 0 0 auto;
  min-width: 78px;
  height: 44px;
  border: none;
  border-radius: 14px;
  background: var(--primary);
  color: white;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.voucher-info {
  display: none;
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.voucher-info.show {
  display: block;
}

.voucher-info.success {
  background: #dcfce7;
  color: #166534;
}

.voucher-info.error {
  background: #fee2e2;
  color: #991b1b;
}

.cart-footer {
  position: sticky;
  bottom: 0;
  background: white;
  padding: 14px;
  border-top: 1px solid var(--border);
  box-shadow: 0 -10px 24px rgba(15,23,42,.08);
}

.total-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

.total-row span {
  color: var(--muted);
}

.total-row strong {
  font-size: 18px;
}

.checkout-btn {
  width: 100%;
  border: none;
  border-radius: 16px;
  background: var(--success);
  color: white;
  padding: 14px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

.info-page {
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 18px;
  line-height: 1.7;
}

.policy-page {
  display: grid;
  gap: 16px;
}

.policy-intro {
  border-bottom: 1px solid var(--border);
  padding-bottom: 14px;
}

.policy-intro h3 {
  font-size: 22px;
  line-height: 1.25;
}

.policy-intro p {
  color: var(--muted);
  font-size: 14px;
  margin-top: 6px;
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.policy-block {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #f8fafc;
  padding: 14px;
}

.policy-block h4,
.policy-help h4 {
  color: var(--text);
  font-size: 15px;
  line-height: 1.35;
}

.policy-block ul {
  margin-top: 10px;
  padding-left: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.policy-block li + li {
  margin-top: 6px;
}

.policy-help {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--accent-soft);
  border-radius: 16px;
  background: var(--accent-soft);
  padding: 14px;
}

.policy-help p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  margin-top: 4px;
}

.policy-help button {
  border: 0;
  border-radius: 12px;
  background: var(--primary);
  color: white;
  padding: 12px 14px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .policy-grid,
  .policy-help {
    grid-template-columns: 1fr;
  }

  .policy-help button {
    width: 100%;
  }
}

.full-width {
  grid-column: 1 / -1;
}

@media (min-width: 768px) {
  .page {
    padding: 22px;
  }

  .hero-banner {
    min-height: 210px;
  }

  .hero-banner h2 {
    font-size: 34px;
  }

  .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .horizontal-products .product-card {
    min-width: 210px;
  }

  .product-image {
    height: 145px;
  }
}
.cart-item {
  background: white;
}

.info-page {
  background: white;
}

.checkout-form select {
  font-weight: 700;
}

.checkout-form textarea {
  min-height: 78px;
}

.total-row {
  align-items: center;
}

.checkout-btn {
  box-shadow: 0 8px 18px rgba(22,163,74,.25);
}

.blog-intro,
.blog-empty,
.blog-detail,
.blog-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
}

.blog-card {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 0;
  margin-bottom: 12px;
}

.blog-card img,
.blog-detail-head img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-card-body,
.blog-detail-body,
.blog-intro {
  padding: 14px;
}

.blog-card h3,
.blog-detail h3 {
  font-size: 16px;
  line-height: 1.35;
  margin: 6px 0 8px;
}

.blog-card p,
.blog-detail-body p,
.blog-intro p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}

.blog-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 99px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
}

.blog-card-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  margin-top: 12px;
}

.blog-card-meta small {
  font-size: 11px;
  color: var(--muted);
}

.blog-card-meta button,
.blog-back-btn {
  border: none;
  border-radius: 12px;
  background: var(--primary);
  color: white;
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 800;
}

.blog-detail-head {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 14px;
  margin-top: 14px;
}

.blog-detail-body {
  padding-top: 0;
}

.blog-detail-body p + p {
  margin-top: 12px;
}

@media (max-width: 360px) {
  .voucher-control {
    flex-direction: column;
  }

  .voucher-control button {
    width: 100%;
  }

  .blog-card {
    grid-template-columns: 1fr;
  }

  .blog-card img {
    height: 180px;
  }

  .blog-detail-head {
    grid-template-columns: 1fr;
  }

  .blog-detail-head img {
    height: 180px;
    border-radius: 14px;
  }
}

/* PRODUCT CARD V3 - COMPACT PREMIUM */

.product-card {
  border-radius: 18px;
  box-shadow: 0 6px 16px rgba(15,23,42,.06);
}

.product-image {
  height: 92px;
}

.product-body {
  padding: 10px;
}

.product-name {
  font-size: 12.5px;
  min-height: 34px;
}

.product-category {
  margin-top: 6px;
  font-size: 10.5px;
  padding: 3px 7px;
}

.product-desc {
  font-size: 10.5px;
  min-height: 26px;
  margin-top: 6px;
}

.product-price {
  font-size: 14px;
  margin-top: 7px;
}

.add-cart-btn {
  padding: 9px;
  border-radius: 12px;
  font-size: 12px;
}

.horizontal-products .product-card {
  min-width: 150px;
}

@media (min-width: 768px) {
  .product-image {
    height: 120px;
  }

  .horizontal-products .product-card {
    min-width: 190px;
  }
}
.brand {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 46px;
  height: 46px;
  border-radius: 14px;

  background:
    linear-gradient(
      135deg,
      #2563eb,
      #1d4ed8
    );

  display: flex;
  align-items: center;
  justify-content: center;

  color: white;
  font-size: 24px;

  box-shadow:
    0 8px 20px rgba(37,99,235,.25);
}

.brand-logo img,
.footer-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.brand-info h1 {
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
}

.brand-info p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}
.app-header {
  box-shadow:
    0 2px 10px rgba(15,23,42,.04);
}
.cart-btn {
  box-shadow:
    0 8px 18px rgba(15,23,42,.15);
}
.menu-toggle {
  transition: .2s;
}

.menu-toggle:hover {
  background: #e2e8f0;
}

.banner-umroh {
  background:
    radial-gradient(circle at top right, rgba(34,197,94,.85), transparent 42%),
    linear-gradient(135deg, #064e3b, #16a34a);
}

.banner-global {
  background:
    radial-gradient(circle at top right, rgba(168,85,247,.85), transparent 42%),
    linear-gradient(135deg, #312e81, #7c3aed);
}

.banner-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.banner-dots button {
  width: 7px;
  height: 7px;
  border: none;
  border-radius: 99px;
  background: rgba(255,255,255,.45);
}

.banner-dots button.active {
  width: 20px;
  background: white;
}
/* CATEGORY V3 - ICON CARD */

.category-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  overflow: visible;
}

.category-btn {
  min-width: unset;
  height: 74px;
  border-radius: 18px;
  padding: 10px 6px;
  white-space: normal;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.category-btn.active {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(15,23,42,.16);
}

.category-btn .cat-icon {
  font-size: 22px;
}

.category-btn .cat-name {
  line-height: 1.1;
}
.product-modal {
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,.55);
  z-index: 1000;
  display: none;
  padding: 16px;
}

.product-modal.show {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.product-modal-box {
  width: 100%;
  max-width: 430px;
  background: white;
  border-radius: 26px 26px 0 0;
  overflow: hidden;
  position: relative;
  max-height: 92vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 99px;
  background: rgba(255,255,255,.9);
  z-index: 2;
}

.modal-image {
  height: 180px;
  background: #e2e8f0;
}

.modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-content {
  padding: 16px;
}

.modal-content span {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent);
  padding: 5px 10px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 10px;
}

.modal-content h2 {
  font-size: 20px;
  line-height: 1.25;
  margin-bottom: 8px;
}

.modal-content p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.modal-content h4 {
  margin-bottom: 10px;
}

.variant-list {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.variant-btn {
  border: 1px solid var(--border);
  background: #f8fafc;
  border-radius: 16px;
  padding: 12px;
  text-align: left;
  cursor: pointer;
}

.variant-btn.active {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.variant-btn strong {
  display: block;
  font-size: 14px;
}

.variant-btn small {
  display: block;
  color: var(--muted);
  margin-top: 4px;
}

.modal-cart-btn {
  width: 100%;
  border: none;
  border-radius: 16px;
  background: var(--success);
  color: white;
  padding: 14px;
  font-size: 15px;
  font-weight: 800;
}
/* PRODUCT BADGE V3 */

.product-image {
  position: relative;
}

.product-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  background: rgba(15,23,42,.88);
  color: white;
  padding: 5px 8px;
  border-radius: 99px;
  font-size: 10px;
  font-weight: 800;
  backdrop-filter: blur(6px);
}

.product-card:hover {
  transform: translateY(-2px);
}

.product-card {
  transition: .2s;
}
/* ORDER PAGE V2 */

.order-card-v2 {
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 15px;
  box-shadow: 0 6px 16px rgba(15,23,42,.05);
}

.order-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px dashed var(--border);
  padding-bottom: 12px;
  margin-bottom: 12px;
}

.order-top h3 {
  font-size: 14px;
}

.order-top p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}

.order-status {
  height: fit-content;
  background: #fef3c7;
  color: #92400e;
  padding: 6px 9px;
  border-radius: 99px;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.order-body p {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
  line-height: 1.45;
}

.order-body strong {
  color: var(--text);
}

.order-detail-box a,
.order-body a {
  color: var(--accent);
  font-weight: 800;
  text-decoration: none;
}

.order-bottom {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.order-bottom span {
  color: var(--muted);
  font-size: 12px;
}

.order-bottom strong {
  font-size: 17px;
  color: var(--primary);
}

.empty-order {
  text-align: center;
}

.empty-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 10px;
  border-radius: 12px;
  background: #f1f5f9;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  margin-bottom: 10px;
}

.order-search-box {
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
}

.order-search-box h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.order-search-box p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.order-search-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin: 14px 0;
}

.order-search-row input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 14px;
  outline: none;
}

.order-search-row button {
  border: 0;
  background: var(--primary);
  color: white;
  border-radius: 14px;
  padding: 0 16px;
  font-weight: 800;
  cursor: pointer;
}

#customerOrderResult {
  display: grid;
  gap: 12px;
}

/* FAQ STORE */

.faq-section {
  margin-top: 6px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: white;
}

.faq-item summary {
  position: relative;
  min-height: 54px;
  padding: 16px 48px 16px 16px;
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 16px;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 900;
  transform: translateY(-50%);
}

.faq-item[open] summary {
  border-bottom: 1px solid var(--border);
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-item p {
  padding: 14px 16px 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.faq-steps {
  padding: 14px 16px 16px;
}

.faq-steps p {
  padding: 0;
}

.faq-steps p + p {
  margin-top: 10px;
}

.faq-steps strong {
  color: var(--text);
}

@media (max-width: 560px) {
  .order-search-row {
    grid-template-columns: 1fr;
  }

  .order-search-row button {
    min-height: 44px;
  }
}
/* FOOTER STORE */

.store-footer {
  margin-top: 28px;
  padding: 20px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 24px;
}

.footer-brand {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}

.footer-logo {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 8px 18px rgba(37,99,235,.22);
}

.footer-brand h3 {
  font-size: 17px;
}

.footer-brand p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 3px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links button {
  border: 1px solid var(--border);
  background: #f8fafc;
  border-radius: 14px;
  padding: 14px;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.footer-copy {
  margin-top: 16px;
  font-size: 11px;
  color: var(--muted);
  text-align: center;
}
/* FLOATING WHATSAPP */

.floating-wa {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 999;
  display: block;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
}

.floating-wa img {
  display: block;
  width: 90px;
  height: 90px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(37,211,102,.35));
  transition: transform .2s;
}

.floating-wa:hover img {
  transform: scale(1.08);
}

.floating-wa::before {
  display: none !important;
}

/* SHOP FILTER */

.shop-filter {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 18px;
}

.shop-filter select {
  width: 100%;
  border: 1px solid var(--border);
  background: white;
  padding: 13px;
  border-radius: 16px;
  font-size: 13px;
  outline: none;
}

/* COUNTRY ROAMING SECTION */

.country-section {
  display: none;
  margin-bottom: 18px;
}

.country-grid {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.country-grid::-webkit-scrollbar {
  display: none;
}

.country-grid button {
  min-width: 95px;
  height: 40%;

  border: 1px solid var(--border);
  background: white;
  border-radius: 15px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-align: center;
  cursor: pointer;
  padding: 6px;

  box-shadow: 0 4px 12px rgba(15,23,42,.04);
}

.country-grid button span {
  font-size: 34px;
  margin-bottom: 6px;
}

.country-grid button strong {
  font-size: 12px;
  line-height: 1.2;
}

.country-grid button small {
  display: none;
}

.country-grid button:hover {
  transform: translateY(-2px);
}

/* PAYMENT INFO */

.payment-info {
  display: none;
  background: #f8fafc;
  border: 1px dashed var(--border);
  border-radius: 16px;
  padding: 12px;
  margin-bottom: 10px;
  font-size: 12px;
  line-height: 1.5;
}

.payment-info.show {
  display: block;
}

.payment-info strong {
  display: block;
  margin-bottom: 6px;
}

.qris-image {
  width: 100%;
  max-width: 220px;
  display: block;
  margin: 12px auto;
  border-radius: 16px;
  border: 1px solid var(--border);
}

/* PAYMENT PROOF */

.payment-proof {
  display: none;
  margin-bottom: 12px;
}

.payment-proof label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
}

.proof-preview {
  width: 100%;
  margin-top: 10px;
  border-radius: 14px;
  border: 1px solid var(--border);
}

/* ORDER DETAIL */

.order-status {
  background: #fef3c7;
  color: #92400e;
  padding: 6px 10px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.order-detail-btn {
  width: 100%;
  margin-top: 12px;
  border: none;
  background: var(--accent);
  color: white;
  padding: 12px;
  border-radius: 14px;
  font-weight: 700;
  cursor: pointer;
}

.order-detail-page {
  background: white;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 16px;
}

.back-order-btn {
  border: none;
  background: #f1f5f9;
  padding: 10px 12px;
  border-radius: 12px;
  margin-bottom: 14px;
  cursor: pointer;
}

.order-detail-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.order-date {
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
  margin-bottom: 14px;
}

.order-detail-box {
  border-top: 1px dashed var(--border);
  padding-top: 14px;
  margin-top: 14px;
}

.order-detail-box h4 {
  margin-bottom: 10px;
}

.order-detail-box p {
  font-size: 13px;
  margin-bottom: 6px;
  color: var(--muted);
}

.order-detail-box strong {
  color: var(--text);
}

.order-detail-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 12px;
  margin-bottom: 10px;
}

.order-detail-item p,
.order-detail-item small {
  color: var(--muted);
  font-size: 12px;
}

.order-detail-total {
  margin-top: 16px;
  padding: 14px;
  border-radius: 18px;
  background: #f8fafc;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.order-detail-total span {
  color: var(--muted);
}

.order-detail-total strong {
  font-size: 20px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 12px;
}

.product-card-v2 {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
}

.product-image-wrap {
  position: relative;
}

.product-image {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  display: block;
}

.product-badge {
  position: absolute;
  left: 8px;
  bottom: 8px;

  background: #ff5722;
  color: white;

  padding: 4px 8px;
  border-radius: 8px;

  font-size: 10px;
  font-weight: 700;
}

.product-content {
  padding: 10px;
}

.product-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-price {
  margin-top: 8px;

  color: #ef4444;
  font-size: 18px;
  font-weight: 800;
}
@media (min-width:768px){
  .product-grid{
    grid-template-columns:repeat(4,1fr);
  }
}
/* MARKETPLACE PRODUCT CARD FIX */

.product-grid,
.horizontal-products {
  gap: 10px !important;
}

.product-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.product-card,
.product-card-v2 {
  width: 100% !important;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.product-image,
.product-image-wrap {
  width: 100% !important;
  height: auto !important;
}

.product-image img,
.product-card img,
.product-image-wrap img {
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  height: auto !important;
  object-fit: cover !important;
  display: block !important;
}

.product-body,
.product-content {
  padding: 8px !important;
}

.product-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-desc,
.product-description {
  font-size: 14px;
  line-height: 1.7;
  color: #475569;
  white-space: pre-line;
}

.product-price {
  color: #ef4444 !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  margin-top: 8px !important;
}

@media (min-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}
/* FORCE PRODUCT IMAGE SQUARE */

.product-card .product-image {
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  height: auto !important;
  overflow: hidden !important;
  background: #f1f5f9 !important;
}

.product-card .product-image img {
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  display: block !important;
}

/* DETAIL MODAL IMAGE SQUARE */

.modal-image {
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  height: auto !important;
  overflow: hidden !important;
  background: #f1f5f9 !important;
}

.modal-image img {
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  display: block !important;
}
/* VARIANT CHIP - DETAIL PRODUK */

.variant-list {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}

.variant-btn {
  width: auto !important;
  min-width: unset !important;

  display: inline-flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;

  padding: 9px 12px !important;
  border-radius: 14px !important;

  background: #f8fafc !important;
  border: 1px solid var(--border) !important;
}

.variant-btn.active {
  border-color: var(--accent) !important;
  background: var(--accent-soft) !important;
}

.variant-btn strong {
  font-size: 12px !important;
  white-space: nowrap !important;
}

.variant-btn small {
  font-size: 11px !important;
  white-space: nowrap !important;
}
.horizontal-products .product-card {
  width: 150px !important;
  min-width: 150px !important;
  max-width: 150px !important;
}

.horizontal-products .product-image {
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  height: auto !important;
}

.horizontal-products .product-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

@media (min-width: 768px) {
  .horizontal-products .product-card {
    width: 180px !important;
    min-width: 180px !important;
    max-width: 180px !important;
  }
}
.product-checks {
  display: flex;
  gap: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 15px;
  padding: 12px;
}

.product-checks label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
}

.banner-slider {
  width: 100%;
  max-width: 1120px;
  height: auto;
  margin: 16px auto;
  border-radius: 18px;
  overflow: hidden;
}

.banner-track {
  display: flex;
  transition: transform 0.4s ease;
}

.hero-banner {
  min-width: 100%;
  aspect-ratio: 3 / 1;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 18px;
}
.category-btn {
  width: 83px;
  height: 83px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 15px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  gap: 5px;
}

.category-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.cat-name {
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}
#modalDesc {
  font-size: 14px;
  line-height: 1.7;
  color: #475569;
  white-space: normal;
}
#modalDesc {
  font-size: 14px;
  line-height: 1.8;
  color: #475569;
}

/* STORE REDESIGN - CLEAN MARKETPLACE UI */

.store-redesign {
  background: #f6f7f9;
  color: #111827;
}

.store-redesign .app-header {
  min-height: 72px;
  padding: 12px 16px;
  background: rgba(255,255,255,.98);
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 1px 0 rgba(17,24,39,.03);
}

.store-redesign .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.store-redesign .brand-logo,
.store-redesign .footer-logo {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #111827;
  color: transparent;
  font-size: 0;
  font-weight: 800;
}

.store-redesign .brand-logo::before,
.store-redesign .footer-logo::before {
  content: "RS";
  color: white;
  font-size: 13px;
  letter-spacing: 0;
}

.store-redesign .brand-logo.has-image,
.store-redesign .footer-logo.has-image {
  background: #fff;
  color: transparent;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(15,23,42,.08);
}

.store-redesign .brand-logo.has-image::before,
.store-redesign .footer-logo.has-image::before {
  content: none;
}

.store-redesign .brand h1 {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0;
}

.store-redesign .brand p {
  color: #6b7280;
  font-size: 12px;
}

.store-redesign .menu-toggle,
.store-redesign .cart-btn {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  display: inline-grid;
  place-items: center;
  background: #f3f4f6;
  box-shadow: none;
  color: #111827;
  font-size: 0;
}

.store-redesign .menu-toggle {
  gap: 4px;
  align-content: center;
}

.store-redesign .menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 99px;
  background: #111827;
}

.store-redesign .cart-btn {
  background: #111827;
  position: relative;
}

.store-redesign .cart-icon {
  width: 18px;
  height: 14px;
  border: 2px solid white;
  border-top: 0;
  border-radius: 3px;
  position: relative;
}

.store-redesign .cart-icon::before {
  content: "";
  position: absolute;
  left: 3px;
  right: 3px;
  top: -7px;
  height: 9px;
  border: 2px solid white;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
}

.store-redesign .cart-btn #cartCount {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border: 2px solid white;
  border-radius: 999px;
  background: #dc2626;
  color: white;
  font-size: 11px;
  font-weight: 800;
}

.store-redesign .header-menu {
  top: 58px;
  left: 12px;
  right: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(17,24,39,.18);
}

.store-redesign .header-menu button {
  border-radius: 6px;
  color: #111827;
  font-weight: 700;
}

.store-redesign .page {
  max-width: 1160px;
  padding: 12px;
}

.store-redesign .banner-slider {
  margin: 10px auto 12px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(17,24,39,.08);
}

.store-redesign .hero-banner {
  border-radius: 8px;
}

.store-redesign .search-box.enhanced {
  position: sticky;
  top: 64px;
  z-index: 50;
  margin: 0 0 14px;
  padding: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 8px 24px rgba(17,24,39,.08);
  backdrop-filter: blur(8px);
}

.store-redesign .search-box.enhanced label {
  display: block;
  margin-bottom: 8px;
  color: #374151;
  font-size: 12px;
  font-weight: 800;
}

.store-redesign .search-control {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) 34px;
  align-items: center;
  min-height: 46px;
  padding: 0 8px 0 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #f9fafb;
}

.store-redesign .search-icon {
  width: 14px;
  height: 14px;
  border: 2px solid #6b7280;
  border-radius: 50%;
  position: relative;
}

.store-redesign .search-icon::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 2px;
  right: -6px;
  bottom: -3px;
  border-radius: 99px;
  background: #6b7280;
  transform: rotate(45deg);
}

.store-redesign .search-control input {
  width: 100%;
  margin: 0;
  padding: 0 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #111827;
  font-size: 14px;
  font-weight: 700;
  outline: none;
  box-shadow: none;
}

.store-redesign .search-control:focus-within {
  border-color: #2563eb;
  background: white;
  box-shadow: 0 0 0 3px #dbeafe;
}

.store-redesign .search-clear {
  display: none;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 6px;
  background: #e5e7eb;
  color: #374151;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.store-redesign .quick-searches {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin-top: 10px;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.store-redesign .quick-searches::-webkit-scrollbar {
  display: none;
}

.store-redesign .quick-searches button {
  flex: 0 0 auto;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  background: white;
  color: #374151;
  padding: 7px 11px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.store-redesign .active-filter-text {
  margin-top: 10px;
  color: #6b7280;
  font-size: 12px;
  font-weight: 700;
}

.store-redesign .shop-filter.enhanced {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
  margin-bottom: 16px;
}

.store-redesign .shop-filter.enhanced label {
  display: grid;
  gap: 6px;
}

.store-redesign .shop-filter.enhanced span {
  color: #4b5563;
  font-size: 12px;
  font-weight: 800;
}

.store-redesign .shop-filter.enhanced select {
  height: 42px;
  border-radius: 8px;
  border-color: #d1d5db;
  background: white;
  color: #111827;
  font-weight: 700;
}

.store-redesign .filter-reset {
  height: 42px;
  padding: 0 14px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #111827;
  color: white;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.store-redesign .section-head {
  margin: 18px 0 10px;
}

.store-redesign .section-head h3 {
  color: #111827;
  font-size: 16px;
  font-weight: 900;
}

.store-redesign .section-head small {
  color: #6b7280;
  font-weight: 700;
}

.store-redesign .category-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  overflow: visible;
}

.store-redesign .category-btn {
  width: auto;
  min-width: 0;
  height: 82px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: white;
  box-shadow: none;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.store-redesign .category-btn.active {
  border-color: #111827;
  background: #f9fafb;
  box-shadow: 0 8px 20px rgba(17,24,39,.08);
  transform: translateY(-1px);
}

.store-redesign .category-logo {
  width: 34px;
  height: 34px;
}

.store-redesign .cat-name {
  color: #111827;
  font-size: 11px;
  font-weight: 800;
}

.store-redesign .country-grid button {
  min-width: 138px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: white;
  box-shadow: none;
}

.store-redesign .country-grid button span {
  display: none;
}

.store-redesign .product-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

.store-redesign .horizontal-products {
  gap: 10px !important;
}

.store-redesign .store-product-card,
.store-redesign .horizontal-products .store-product-card {
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: white;
  box-shadow: 0 1px 2px rgba(17,24,39,.04);
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.store-redesign .horizontal-products .store-product-card {
  width: 160px !important;
  min-width: 160px !important;
  max-width: 160px !important;
}

.store-redesign .store-product-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 10px 26px rgba(17,24,39,.10);
  transform: translateY(-2px);
}

.store-redesign .store-product-card .product-image {
  position: relative;
  aspect-ratio: 1 / 1 !important;
  background: #f3f4f6 !important;
}

.store-redesign .store-product-card .product-image img {
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
}

.store-redesign .product-badge {
  position: absolute;
  left: 8px;
  top: 8px;
  bottom: auto;
  max-width: calc(100% - 16px);
  border-radius: 6px;
  background: #dc2626;
  color: white;
  padding: 4px 7px;
  font-size: 10px;
  font-weight: 900;
}

.store-redesign .store-product-card .product-body {
  padding: 9px !important;
}

.store-redesign .product-meta {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-bottom: 7px;
}

.store-redesign .product-meta span {
  max-width: 100%;
  border-radius: 6px;
  background: #f3f4f6;
  color: #4b5563;
  padding: 3px 6px;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
}

.store-redesign .product-name {
  min-height: 36px;
  color: #111827;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.store-redesign .product-card-bottom {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 8px;
  margin-top: 9px;
}

.store-redesign .product-card-bottom small {
  display: block;
  color: #6b7280;
  font-size: 10px;
  font-weight: 800;
}

.store-redesign .product-price {
  margin-top: 2px !important;
  color: #dc2626 !important;
  font-size: 14px !important;
  font-weight: 900 !important;
}

.store-redesign .quick-add-btn {
  flex: 0 0 auto;
  min-width: 52px;
  height: 32px;
  border: 0;
  border-radius: 7px;
  background: #16a34a;
  color: white;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.store-redesign .empty-products {
  text-align: center;
}

.store-redesign .empty-products button {
  margin-top: 12px;
  border: 0;
  border-radius: 8px;
  background: #111827;
  color: white;
  padding: 11px 14px;
  font-weight: 800;
}

.store-redesign .store-footer,
.store-redesign .faq-item,
.store-redesign .info-page,
.store-redesign .checkout-form,
.store-redesign .voucher-box,
.store-redesign .cart-item {
  border-radius: 8px;
  border-color: #e5e7eb;
}

.store-redesign .policy-block,
.store-redesign .policy-help {
  border-radius: 8px;
  border-color: #e5e7eb;
}

.store-redesign .policy-block {
  background: #f9fafb;
}

.store-redesign .policy-intro h3,
.store-redesign .policy-block h4,
.store-redesign .policy-help h4 {
  color: #111827;
  font-weight: 900;
}

.store-redesign .policy-intro p,
.store-redesign .policy-block ul,
.store-redesign .policy-help p {
  color: #6b7280;
  font-weight: 600;
}

.store-redesign .policy-help {
  background: #f3f4f6;
}

.store-redesign .policy-help button {
  border-radius: 8px;
  background: #111827;
}

.store-redesign .faq-list {
  gap: 8px;
}

.store-redesign .faq-item {
  box-shadow: none;
}

.store-redesign .faq-item summary {
  min-height: 50px;
  padding: 14px 44px 14px 14px;
  color: #111827;
  font-size: 13px;
}

.store-redesign .faq-item summary::after {
  right: 14px;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: #f3f4f6;
  color: #111827;
}

.store-redesign .faq-item p {
  padding: 12px 14px 14px;
  color: #6b7280;
  font-size: 12px;
  font-weight: 600;
}

.store-redesign .faq-steps {
  padding: 12px 14px 14px;
}

.store-redesign .faq-steps p {
  padding: 0;
}

.store-redesign .faq-steps strong {
  color: #111827;
}

@media (min-width: 768px) {
  .store-redesign .page {
    padding: 18px;
  }

  .store-redesign .search-box.enhanced {
    top: 68px;
    display: grid;
    grid-template-columns: minmax(280px, 1fr) auto;
    gap: 10px 14px;
    align-items: end;
  }

  .store-redesign .search-box.enhanced label,
  .store-redesign .active-filter-text {
    grid-column: 1 / -1;
  }

  .store-redesign .quick-searches {
    margin-top: 0;
  }

  .store-redesign .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }

  .store-redesign .category-list {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }

  .store-redesign .horizontal-products .store-product-card {
    width: 184px !important;
    min-width: 184px !important;
    max-width: 184px !important;
  }
}

@media (max-width: 420px) {
  .store-redesign .shop-filter.enhanced {
    grid-template-columns: 1fr;
  }

  .store-redesign .filter-reset {
    width: 100%;
  }
}

/* HEADER AND BANNER FIX */

.store-redesign .menu-toggle {
  position: relative;
  font-size: 0 !important;
  color: transparent !important;
}

.store-redesign .menu-toggle::before,
.store-redesign .menu-toggle::after {
  content: "";
  display: block;
  width: 19px;
  height: 2px;
  border-radius: 999px;
  background: #111827;
}

.store-redesign .menu-toggle::before {
  position: absolute;
  top: 20px;
  left: 11px;
  box-shadow:
    0 -7px 0 #111827,
    0 7px 0 #111827;
}

.store-redesign .menu-toggle::after {
  display: none;
}

.store-redesign .cart-btn {
  font-size: 0 !important;
  color: transparent !important;
  overflow: visible;
}

.store-redesign .cart-btn #cartCount {
  position: absolute !important;
  top: -7px !important;
  right: -7px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-width: 22px !important;
  width: auto !important;
  height: 22px !important;
  padding: 0 6px !important;
  border: 2px solid white !important;
  border-radius: 999px !important;
  background: #e11d48 !important;
  color: white !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  z-index: 2;
}

.store-redesign .cart-btn.enhanced::before,
.store-redesign .cart-btn.enhanced::after {
  display: none;
}

.store-redesign .cart-emoji {
  position: static !important;
  display: block !important;
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: white !important;
  font-size: 21px !important;
  line-height: 1 !important;
  transform: none !important;
  z-index: 1;
}

.store-redesign .shopping-cart-icon {
  width: 24px;
  height: 22px;
  position: relative;
  display: block;
}

.store-redesign .shopping-cart-icon::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 6px;
  width: 15px;
  height: 9px;
  border: 2px solid white;
  border-top: 0;
  border-radius: 0 0 4px 4px;
  transform: skewX(-10deg);
}

.store-redesign .shopping-cart-icon::after {
  content: "";
  position: absolute;
  left: 1px;
  top: 3px;
  width: 8px;
  height: 2px;
  border-radius: 999px;
  background: white;
  box-shadow:
    5px 15px 0 -1px white,
    16px 15px 0 -1px white;
  transform: rotate(-18deg);
  transform-origin: right center;
}

.store-redesign .banner-slider {
  width: calc(100% - 8px);
  margin: 18px auto 16px;
  padding: 0 !important;
  background: transparent !important;
  border-radius: 8px;
  overflow: hidden;
}

.store-redesign .banner-track {
  align-items: stretch;
}

.store-redesign .hero-banner {
  min-width: 100%;
  aspect-ratio: auto;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 8px;
  background: #f3f4f6 !important;
  overflow: hidden;
}

.store-redesign .hero-banner img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.store-redesign .banner-dots {
  bottom: 10px;
}

@media (min-width: 768px) {
  .store-redesign .banner-slider {
    width: 100%;
  }

  .store-redesign .hero-banner {
    aspect-ratio: 3 / 1;
  }

  .store-redesign .hero-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}
.country-grid button span {
  font-family:
    "Segoe UI Emoji",
    "Apple Color Emoji",
    "Noto Color Emoji",
    sans-serif;

  font-size: 32px;
}
/* SETTINGS PAGE - COMPACT */

.settings-form {
  max-width: 500px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px;
  color: #374151;
}

.form-group input {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
}

/* CLEAN STORE HOME */

.store-redesign {
  background: #f6f8fb;
  color: #111827;
}

.store-redesign .app-header {
  border-bottom: 1px solid #eef2f7;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 8px 24px rgba(15, 23, 42, .05);
}

.store-redesign .page {
  padding-top: 14px;
}

.store-redesign .banner-slider {
  box-shadow: 0 8px 22px rgba(15, 23, 42, .07);
}

.store-redesign .search-box.enhanced {
  position: relative;
  top: auto;
  margin: 0 0 14px;
  border-color: #edf0f5;
  background: #fff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, .06);
}

.store-redesign .search-box.enhanced label,
.store-redesign .quick-searches,
.store-redesign .active-filter-text {
  display: none;
}

.store-redesign .search-control {
  min-height: 54px;
  border-color: #edf0f5;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .02);
}

.store-redesign .search-control input {
  color: #111827;
  font-size: 15px;
  font-weight: 700;
}

.store-redesign .quick-category {
  margin: 0 0 18px;
}

.store-redesign .quick-category .section-head {
  display: none;
}

.store-redesign .category-list {
  display: flex !important;
  grid-template-columns: none !important;
  flex-wrap: nowrap;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 2px 8px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.store-redesign .category-list::-webkit-scrollbar {
  display: none;
}

.store-redesign .category-btn {
  flex: 0 0 92px;
  width: 92px;
  min-width: 92px;
  height: 96px;
  scroll-snap-align: start;
  border: 1px solid #edf0f5;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .05);
}

.store-redesign .category-btn.active {
  border-color: #ec4899;
  background: #fff;
  box-shadow: 0 10px 24px rgba(236, 72, 153, .13);
}

.store-redesign .category-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.store-redesign .cat-name {
  max-width: 78px;
  margin-top: 8px;
  color: #111827;
  font-size: 12px;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.store-redesign .country-section {
  margin: 0 0 18px;
}

.store-redesign .country-section .section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 4px 0 10px;
}

.store-redesign .country-section .section-head h3 {
  font-size: 18px;
  letter-spacing: 0;
}

.store-redesign .see-all-btn {
  border: 0;
  background: transparent;
  color: #6b7280;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.order-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.order-action-row .order-detail-btn,
.order-action-row .back-order-btn {
  width: auto;
  min-width: 180px;
  margin-top: 0;
  text-align: center;
  text-decoration: none;
}

.checkout-hint {
  margin: 8px 0 12px;
  font-size: 13px;
  color: #64748b;
}

.checkout-optional {
  margin-top: 10px;
}

.checkout-optional summary {
  cursor: pointer;
  font-weight: 600;
  color: #334155;
  margin-bottom: 8px;
}

.checkout-optional textarea {
  width: 100%;
  min-height: 84px;
  resize: vertical;
}

.member-page {
  display: grid;
  gap: 16px;
}

.member-auth-page {
  max-width: 760px;
  margin: 0 auto;
}

.member-auth-active .app-header,
.member-auth-active .store-footer,
.member-auth-active #productSection > .section-head {
  display: none !important;
}

.member-auth-active .page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 18px;
}

.member-auth-active #productSection {
  width: 100%;
  margin: 0;
}

.member-auth-active #productGrid {
  display: block;
}

.member-login-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.member-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.member-form-grid label {
  display: grid;
  gap: 6px;
}

.member-form-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.member-login-row input,
.member-form-grid input {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
  font: inherit;
}

.member-login-row button,
.member-actions button,
.member-primary-btn,
.member-secondary-btn,
.member-auth-switch button {
  border: none;
  border-radius: 8px;
  background: var(--accent);
  color: white;
  padding: 12px 14px;
  font-weight: 700;
  cursor: pointer;
}

.member-primary-btn {
  width: 100%;
}

.member-secondary-btn {
  background: #e5e7eb;
  color: #111827;
}

.member-action-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.member-auth-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.member-auth-switch button {
  background: #e5e7eb;
  color: #111827;
}

.member-message {
  color: #b91c1c;
  min-height: 20px;
}

.member-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.member-head span {
  border-radius: 999px;
  background: #dcfce7;
  color: #15803d;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 700;
}

.member-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.member-profile-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.member-profile-grid div,
.member-stats div {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
  background: #f8fafc;
}

.member-profile-grid small,
.member-stats small {
  display: block;
  color: var(--muted);
  margin-bottom: 6px;
}

.member-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.member-actions .secondary {
  background: #e5e7eb;
  color: #111827;
}

.member-order-panel {
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

.member-order-panel h4 {
  margin-bottom: 10px;
}

#memberAccountOrders {
  display: grid;
  gap: 10px;
}

.member-order-item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
  background: #f8fafc;
}

.member-order-item small,
.member-order-item span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.member-order-item button {
  border: 0;
  border-radius: 8px;
  background: var(--primary);
  color: white;
  padding: 10px 12px;
  font-weight: 800;
  cursor: pointer;
}

@media (max-width: 520px) {
  .member-login-row,
  .member-form-grid,
  .member-stats,
  .member-profile-grid,
  .member-order-item {
    grid-template-columns: 1fr;
  }
}

.store-redesign .country-grid {
  gap: 10px;
  padding: 2px 2px 8px;
}

.store-redesign .country-grid button {
  flex: 0 0 auto;
  min-width: 136px;
  height: 48px;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  padding: 0 14px;
  border: 1px solid #edf0f5;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .05);
}

.store-redesign .country-grid button span,
.store-redesign .country-grid button .country-flag {
  display: inline-flex;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  margin: 0;
  border-radius: 7px;
  background: #f8fafc;
  font-size: 19px;
  line-height: 1;
}

.store-redesign .country-grid button strong {
  min-width: 0;
  color: #111827;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.15;
  white-space: nowrap;
}

.store-redesign .country-grid button small {
  display: none;
}

.store-redesign .country-chip-more span {
  background: #ec4899 !important;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 0 !important;
  font-weight: 900;
}

.store-redesign .country-chip-more span::before {
  content: "+";
  font-size: 18px;
  line-height: 1;
}

.store-redesign .cart-btn.enhanced,
.store-redesign .filter-reset,
.store-redesign .quick-add-btn,
.store-redesign .checkout-btn,
.store-redesign .modal-cart-btn {
  background: var(--store-theme, var(--accent)) !important;
}

.store-redesign .search-control:focus-within {
  border-color: var(--store-theme, var(--accent));
  box-shadow: 0 0 0 3px rgba(var(--store-theme-rgb, 236, 72, 153), .16);
}

.store-redesign .category-btn.active {
  border-color: var(--store-theme, var(--accent));
  box-shadow: 0 10px 24px rgba(var(--store-theme-rgb, 236, 72, 153), .13);
}

.store-redesign .country-chip-more span {
  background: var(--store-theme, var(--accent)) !important;
}

.store-redesign .product-price,
.store-redesign .product-price strong {
  color: var(--store-theme, var(--accent)) !important;
}

@media (min-width: 768px) {
  .store-redesign .category-btn {
    flex-basis: 108px;
    width: 108px;
    min-width: 108px;
  }

  .store-redesign .category-list {
    justify-content: flex-start;
  }
}

@media (max-width: 420px) {
  .store-redesign .category-btn {
    flex-basis: 86px;
    width: 86px;
    min-width: 86px;
    height: 92px;
  }

  .store-redesign .country-grid button {
    min-width: 124px;
  }
}

.bank-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.upload-card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px;
  background: #fafafa;
}

.upload-card img {
  margin-top: 12px;
  max-width: 220px;
  border-radius: 8px;
  border: 1px solid #ddd;
}
/* BATASI LEBAR KOLOM PENGATURAN */

#settingsPage .settings-form {
  max-width: 560px !important;
}

#settingsPage .form-group input[type="text"] {
  max-width: 420px !important;
}

#settingsPage #storeName,
#settingsPage #storeTagline,
#settingsPage #adminWhatsapp {
  max-width: 420px !important;
}

#settingsPage .bank-grid {
  max-width: 560px !important;
  grid-template-columns: 150px 170px 200px !important;
}

#settingsPage .upload-card {
  max-width: 420px !important;
}

#settingsPage .upload-card input[type="file"] {
  max-width: 360px !important;
}
