/* ==========================================================================
   GUSHAKIKI FS22 - SHOPPING CART & MULTI-PRODUCT CHECKOUT STYLES
   Modern Glassmorphism & High-Aesthetic Theme
   ========================================================================== */

:root {
  --cart-primary: #38bdf8;
  --cart-primary-glow: rgba(56, 189, 248, 0.35);
  --cart-accent: #f43f5e;
  --cart-accent-glow: rgba(244, 63, 94, 0.4);
  --cart-success: #10b981;
  --cart-bg-panel: rgba(18, 18, 23, 0.94);
  --cart-bg-card: rgba(30, 30, 38, 0.75);
  --cart-border: rgba(255, 255, 255, 0.1);
  --cart-border-hover: rgba(56, 189, 248, 0.4);
  --cart-text: #f8fafc;
  --cart-text-muted: #94a3b8;
}

/* ---------------------------------------------------------
   1. FLOATING CART BUTTON (BOTTOM-RIGHT)
   --------------------------------------------------------- */
.fs-cart-float {
  position: fixed;
  bottom: 75px; /* Safely above Netlify bottom-right watermark */
  right: 24px;
  z-index: 998;
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, rgba(24, 24, 32, 0.95), rgba(15, 23, 42, 0.95));
  border: 1px solid var(--cart-border);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6), 0 0 20px rgba(56, 189, 248, 0.2);
  backdrop-filter: blur(16px);
  padding: 10px 18px 10px 14px;
  border-radius: 999px;
  cursor: pointer;
  color: var(--cart-text);
  font-family: 'Inter', sans-serif;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
}

/* On pages with sticky buy bar (SG_23, SG_24), float directly above the Beli Sekarang bar */
.fs-has-sticky .fs-cart-float {
  bottom: 95px;
  right: 24px;
}

.fs-cart-float:hover {
  transform: translateY(-4px) scale(1.03);
  border-color: var(--cart-primary);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7), 0 0 30px var(--cart-primary-glow);
}

.fs-cart-float:active {
  transform: translateY(-1px) scale(0.98);
}

.fs-cart-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: rgba(56, 189, 248, 0.12);
  border-radius: 50%;
  color: var(--cart-primary);
  border: 1px solid rgba(56, 189, 248, 0.25);
  transition: all 0.3s ease;
}

.fs-cart-float:hover .fs-cart-icon-wrap {
  background: var(--cart-primary);
  color: #09090b;
}

.fs-cart-badge {
  position: absolute;
  top: -4px;
  right: -6px;
  background: linear-gradient(135deg, #f43f5e, #e11d48);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px var(--cart-accent-glow);
  border: 2px solid #09090b;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.fs-cart-badge.bump {
  animation: cartBadgeBump 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes cartBadgeBump {
  0% { transform: scale(1); }
  50% { transform: scale(1.4); }
  100% { transform: scale(1); }
}

.fs-cart-float-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.fs-cart-float-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--cart-text-muted);
}

.fs-cart-float-total {
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
}

/* ---------------------------------------------------------
   2. CART DRAWER (SLIDE-OVER PANEL)
   --------------------------------------------------------- */
.fs-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.fs-drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

.fs-cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 440px;
  background: var(--cart-bg-panel);
  border-left: 1px solid var(--cart-border);
  box-shadow: -15px 0 40px rgba(0, 0, 0, 0.7);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: 'Inter', sans-serif;
  overflow: hidden;
}

.fs-cart-drawer.open {
  transform: translateX(0);
}

/* Drawer Header */
.fs-drawer-header {
  padding: 22px 24px;
  border-bottom: 1px solid var(--cart-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.02);
}

.fs-drawer-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.fs-drawer-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
}

.fs-drawer-count {
  background: rgba(56, 189, 248, 0.15);
  color: var(--cart-primary);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.fs-drawer-close {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--cart-border);
  color: var(--cart-text-muted);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  line-height: 1;
  transition: all 0.25s ease;
}

.fs-drawer-close:hover {
  background: rgba(244, 63, 94, 0.2);
  color: #f43f5e;
  border-color: rgba(244, 63, 94, 0.4);
  transform: rotate(90deg);
}

/* Drawer Body & Items */
.fs-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fs-drawer-body::-webkit-scrollbar {
  width: 6px;
}

.fs-drawer-body::-webkit-scrollbar-track {
  background: transparent;
}

.fs-drawer-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 999px;
}

/* Empty State */
.fs-cart-empty {
  margin: auto 0;
  text-align: center;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.fs-empty-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--cart-text-muted);
}

.fs-empty-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.fs-empty-desc {
  font-size: 0.88rem;
  color: var(--cart-text-muted);
  line-height: 1.5;
  margin-bottom: 24px;
  max-width: 260px;
}

.fs-btn-browse {
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid var(--cart-primary);
  color: var(--cart-primary);
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
}

.fs-btn-browse:hover {
  background: var(--cart-primary);
  color: #09090b;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px var(--cart-primary-glow);
}

/* Item Row */
.fs-cart-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--cart-bg-card);
  border: 1px solid var(--cart-border);
  border-radius: 14px;
  padding: 12px;
  transition: all 0.25s ease;
}

.fs-cart-item:hover {
  border-color: var(--cart-border-hover);
  background: rgba(35, 35, 48, 0.9);
  transform: translateX(-2px);
}

.fs-item-thumb {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  object-fit: cover;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.fs-item-info {
  flex: 1;
  min-width: 0;
}

.fs-item-title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 3px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fs-item-subtitle {
  font-size: 0.76rem;
  color: var(--cart-text-muted);
  margin: 0 0 6px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fs-item-price-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.fs-item-price {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--cart-primary);
}

.fs-item-old-price {
  font-size: 0.78rem;
  color: var(--cart-text-muted);
  text-decoration: line-through;
}

.fs-item-del {
  background: transparent;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fs-item-del:hover {
  color: #f43f5e;
  background: rgba(244, 63, 94, 0.12);
  transform: scale(1.1);
}

/* Drawer Footer */
.fs-drawer-footer {
  padding: 20px 24px 24px;
  border-top: 1px solid var(--cart-border);
  background: rgba(15, 15, 20, 0.98);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.fs-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--cart-text-muted);
}

.fs-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 10px;
  border-top: 1px dashed rgba(255, 255, 255, 0.12);
}

.fs-total-label {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
}

.fs-total-val {
  font-family: 'Outfit', sans-serif;
  font-size: 1.45rem;
  font-weight: 900;
  color: #ffffff;
  background: linear-gradient(135deg, #ffffff, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.fs-savings-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.fs-btn-checkout {
  width: 100%;
  padding: 14px 20px;
  background: linear-gradient(135deg, #38bdf8, #0284c7);
  color: #04121d;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px var(--cart-primary-glow);
}

.fs-btn-checkout:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px var(--cart-primary-glow);
  filter: brightness(1.08);
}

.fs-btn-checkout:active {
  transform: translateY(0);
}

.fs-btn-clear-cart {
  background: transparent;
  border: none;
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  padding: 4px;
  transition: color 0.2s;
}

.fs-btn-clear-cart:hover {
  color: #f43f5e;
  text-decoration: underline;
}

/* ---------------------------------------------------------
   3. MULTI-PRODUCT CHECKOUT MODAL
   --------------------------------------------------------- */
.fs-checkout-modal {
  position: fixed;
  inset: 0;
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.fs-checkout-modal.open {
  opacity: 1;
  visibility: visible;
}

.fs-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
}

.fs-modal-content {
  position: relative;
  background: #121217;
  border: 1px solid var(--cart-border);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(56, 189, 248, 0.15);
  border-radius: 20px;
  width: 100%;
  max-width: 520px;
  max-height: 92vh;
  overflow-y: auto;
  padding: 24px 22px;
  z-index: 1;
  transform: scale(0.95) translateY(10px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: 'Inter', sans-serif;
}

.fs-checkout-modal.open .fs-modal-content {
  transform: scale(1) translateY(0);
}

.fs-modal-content::-webkit-scrollbar {
  width: 5px;
}
.fs-modal-content::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
}

.fs-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--cart-border);
  color: var(--cart-text-muted);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  line-height: 1;
  transition: all 0.2s ease;
}

.fs-modal-close:hover {
  background: rgba(244, 63, 94, 0.2);
  color: #f43f5e;
  border-color: rgba(244, 63, 94, 0.4);
}

/* Modal Head */
.fs-modal-head {
  text-align: center;
  margin-bottom: 16px;
}

.fs-modal-kicker {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--cart-primary);
  margin-bottom: 4px;
}

.fs-modal-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.45rem;
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 4px 0;
}

.fs-modal-subtitle {
  font-size: 0.82rem;
  color: var(--cart-text-muted);
}

/* Items Review in Checkout */
.fs-order-items-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--cart-border);
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 16px;
}

.fs-order-items-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--cart-text-muted);
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.fs-order-items-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 180px;
  overflow-y: auto;
  padding-right: 4px;
}

.fs-order-items-list::-webkit-scrollbar {
  width: 4px;
}
.fs-order-items-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
}

.fs-order-item-compact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.fs-order-item-compact:last-child {
  border-bottom: none;
}

.fs-order-item-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.fs-order-item-img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.fs-order-item-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: #f1f5f9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fs-order-item-price {
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  color: #ffffff;
  flex-shrink: 0;
}

.fs-order-grand-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed rgba(255, 255, 255, 0.15);
}

.fs-grand-total-label {
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
}

.fs-grand-total-amount {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 900;
  color: #38bdf8;
}

/* Payment Method Tabs */
.fs-pay-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  padding: 6px;
  border-radius: 14px;
  margin-bottom: 20px;
  border: 1px solid var(--cart-border);
}

.fs-pay-tab {
  background: transparent;
  border: none;
  color: var(--cart-text-muted);
  padding: 10px 8px;
  border-radius: 10px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
}

.fs-pay-tab:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.fs-pay-tab.active {
  background: var(--cart-primary);
  color: #04121d;
  box-shadow: 0 4px 12px rgba(56, 189, 248, 0.35);
}

/* Pay Panels */
.fs-pay-panel {
  display: none;
  animation: fsFadeIn 0.3s ease;
}

.fs-pay-panel.active {
  display: block;
}

@keyframes fsFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* QRIS Area */
.fs-qris-wrap {
  background: #ffffff;
  padding: 12px;
  border-radius: 14px;
  max-width: 190px;
  margin: 0 auto 14px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.fs-qris-wrap img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

/* Bank / DANA Account Card */
.fs-account-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--cart-border);
  border-radius: 14px;
  padding: 14px 18px;
  text-align: center;
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.fs-account-tag {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--cart-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.fs-account-num {
  font-family: 'Outfit', monospace;
  font-size: 1.35rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 1.5px;
}

.fs-account-name {
  font-size: 0.78rem;
  color: var(--cart-text-muted);
}

.fs-btn-copy {
  margin-top: 4px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: var(--cart-primary);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.fs-btn-copy:hover {
  background: var(--cart-primary);
  color: #04121d;
  box-shadow: 0 4px 12px var(--cart-primary-glow);
}

.fs-pay-amount-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.2);
  padding: 12px 18px;
  border-radius: 12px;
  margin-bottom: 14px;
}

.fs-pay-amount-label {
  font-size: 0.85rem;
  color: var(--cart-text-muted);
}

.fs-pay-amount-val {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: #38bdf8;
}

.fs-pay-instructions {
  font-size: 0.82rem;
  color: var(--cart-text-muted);
  text-align: center;
  line-height: 1.5;
  margin-bottom: 20px;
}

.fs-btn-whatsapp {
  width: 100%;
  padding: 15px 20px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #ffffff;
  border: none;
  border-radius: 14px;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.35);
  transition: all 0.3s ease;
}

.fs-btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(34, 197, 94, 0.45);
  filter: brightness(1.08);
}

.fs-modal-footer-note {
  margin-top: 16px;
  font-size: 0.78rem;
  color: #64748b;
  text-align: center;
  line-height: 1.45;
}

/* ---------------------------------------------------------
   4. TOAST NOTIFICATION
   --------------------------------------------------------- */
.fs-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(30px);
  background: #1e1e26;
  border: 1px solid var(--cart-border);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
  color: #ffffff;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.fs-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.fs-toast-icon {
  color: #10b981;
}

/* ---------------------------------------------------------
   5. CATALOG CARD ENHANCEMENTS (INDEX.HTML)
   --------------------------------------------------------- */
.card-actions-bar {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--cart-border);
}

.btn-card-cart {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: var(--cart-primary);
  padding: 10px 14px;
  border-radius: 12px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-card-cart:hover {
  background: var(--cart-primary);
  color: #04121d;
  box-shadow: 0 4px 15px var(--cart-primary-glow);
  transform: translateY(-2px);
}

.btn-card-cart.in-cart {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.4);
  color: #10b981;
}

.btn-card-detail {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--cart-border);
  color: #e2e8f0;
  border-radius: 12px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-card-detail:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
  transform: translateY(-2px);
}

/* ---------------------------------------------------------
   6. RESPONSIVE DESIGN
   --------------------------------------------------------- */
@media (max-width: 640px) {
  .fs-cart-float {
    bottom: calc(72px + env(safe-area-inset-bottom, 0px));
    right: 16px;
    padding: 7px 14px 7px 8px;
    gap: 8px;
  }
  .fs-has-sticky .fs-cart-float {
    bottom: calc(84px + var(--fs-sticky-height, 76px) + env(safe-area-inset-bottom, 0px));
    right: 16px;
  }
  .fs-cart-icon-wrap {
    width: 36px;
    height: 36px;
  }
  .fs-cart-float-text {
    display: flex;
  }
  .fs-cart-float-label {
    display: none;
  }
  .fs-cart-float-total {
    font-size: 0.85rem;
  }
  .fs-cart-drawer {
    max-width: 100%;
  }
  .fs-drawer-header {
    padding: 18px 20px;
  }
  .fs-drawer-body {
    padding: 16px 18px;
  }
  .fs-drawer-footer {
    padding: 16px 20px 20px;
  }
  .fs-modal-content {
    padding: 20px 16px;
    border-radius: 18px;
  }
  .fs-pay-tabs {
    gap: 4px;
    padding: 4px;
  }
  .fs-pay-tab {
    font-size: 0.82rem;
    padding: 8px 4px;
  }
  .fs-qris-wrap {
    max-width: 170px;
    padding: 10px;
  }
  .fs-account-num {
    font-size: 1.2rem;
  }
}

/* Shared hosting badge clearance at every viewport width, including previews. */
.sticky-buy {
  bottom: calc(72px + env(safe-area-inset-bottom, 0px));
}
.sticky-buy:not(.visible):not(.show) {
  transform: translateY(calc(100% + 72px + env(safe-area-inset-bottom, 0px)));
}
.fs-has-sticky .footer {
  padding-bottom: calc(180px + var(--fs-sticky-height, 76px) + env(safe-area-inset-bottom, 0px));
}
.fs-has-sticky .fs-cart-float {
  bottom: calc(84px + var(--fs-sticky-height, 76px) + env(safe-area-inset-bottom, 0px));
}

/* Full resolution QRIS, shared by all product checkouts. */
.fs-qris-wrap{display:block;max-width:280px;width:100%;border:0;cursor:zoom-in}.fs-qris-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:10px;margin:0 0 18px}.fs-qris-actions button,.fs-qris-actions a,.fs-qris-download{font:600 13px Inter,sans-serif;border:1px solid #38bdf850;background:#0ea5e915;color:#7dd3fc;padding:10px 14px;border-radius:8px;text-decoration:none;cursor:pointer}.fs-qris-dialog{margin:auto;width:min(94vw,760px);max-height:94dvh;padding:18px;border:1px solid #475569;border-radius:16px;background:#151a23;color:#fff;overflow:auto;box-sizing:border-box}.fs-qris-dialog::backdrop{background:#000c}.fs-qris-dialog img{display:block;width:100%;height:auto;background:#fff;margin:12px 0}.fs-qris-dialog form{text-align:right}.fs-qris-close{background:#303a49;border:0;color:#fff;padding:10px 16px;border-radius:8px;cursor:pointer}.fs-qris-download{display:block;text-align:center}.fs-qris-zoom:focus-visible,.fs-qris-actions a:focus-visible{outline:3px solid #38bdf8;outline-offset:4px}
