/* ═════════════════════════════════════════════════════════════════════
   MATCHA JI E-COMMERCE STYLES (Cart Drawer, Modals, Checkout, Midtrans)
   ═════════════════════════════════════════════════════════════════════ */

:root {
  --shop-primary: #18331E;
  --shop-accent: #3E7B4C;
  --shop-gold: #C9A86A;
  --shop-bg: #FAF8F5;
  --shop-card: #FFFFFF;
  --shop-text: #141A15;
  --shop-muted: #6B776E;
  --shop-border: rgba(20, 26, 21, 0.1);
  --shop-radius: 16px;
  --shop-radius-lg: 24px;
  --shop-shadow: 0 16px 40px -10px rgba(24, 51, 30, 0.15);
  --shop-shadow-lg: 0 30px 70px -15px rgba(20, 26, 21, 0.28);
}

/* ── FLOATING CART BUTTON ── */
.floating-cart-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 998;
  background: var(--shop-primary);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 16px 36px rgba(24, 51, 30, 0.38);
  border-radius: 9999px;
  padding: 0.85rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: -0.01em;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.floating-cart-btn:hover {
  transform: translateY(-3px) scale(1.03);
  background: var(--shop-accent);
  box-shadow: 0 20px 45px rgba(62, 123, 76, 0.45);
}
.cart-badge-count {
  background: #fff;
  color: var(--shop-primary);
  font-size: 0.78rem;
  font-weight: 800;
  min-width: 1.5rem;
  height: 1.5rem;
  padding: 0 0.4rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.cart-pill-price {
  font-weight: 600;
  opacity: 0.9;
  font-size: 0.85rem;
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  padding-left: 0.65rem;
}

/* ── NAV CART LINK BADGE ── */
.nav-cart-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  position: relative;
  cursor: pointer;
}
.nav-cart-badge {
  background: var(--shop-accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.15rem 0.45rem;
  border-radius: 9999px;
  line-height: 1;
}

/* ── TOAST NOTIFICATION ── */
.shop-toast {
  position: fixed;
  top: 2rem;
  right: 2rem;
  z-index: 10000;
  background: rgba(24, 51, 30, 0.95);
  color: #fff;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1rem 1.4rem;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.88rem;
  font-weight: 600;
  transform: translateY(-20px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.shop-toast.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.shop-toast-icon {
  font-size: 1.2rem;
}

/* ── MODAL OVERLAY (Universal) ── */
.shop-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10, 18, 12, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.shop-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* ── CART DRAWER (Slide-over) ── */
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 440px;
  background: var(--shop-bg);
  box-shadow: -15px 0 50px rgba(0, 0, 0, 0.25);
  z-index: 10000;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}
.cart-drawer.open {
  transform: translateX(0);
}
.cart-drawer-header {
  padding: 1.5rem 1.75rem;
  border-bottom: 1px solid var(--shop-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
}
.cart-drawer-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--shop-text);
  letter-spacing: -0.02em;
  margin: 0;
}
.cart-close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--shop-muted);
  cursor: pointer;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.cart-close-btn:hover {
  background: #eee;
  color: var(--shop-text);
}
.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.cart-empty-state {
  margin: auto;
  text-align: center;
  color: var(--shop-muted);
  padding: 2rem;
}
.cart-empty-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.6;
}
.cart-empty-text {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--shop-text);
  margin-bottom: 0.5rem;
}

/* Cart Item Card */
.cart-item {
  background: #fff;
  border-radius: var(--shop-radius);
  border: 1px solid var(--shop-border);
  padding: 1rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}
.cart-item-img {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  object-fit: contain;
  background: #f4f2ee;
  padding: 4px;
  flex-shrink: 0;
}
.cart-item-details {
  flex: 1;
  min-width: 0;
}
.cart-item-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--shop-text);
  margin: 0 0 0.2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cart-item-variant {
  font-size: 0.76rem;
  color: var(--shop-muted);
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.cart-item-price {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--shop-accent);
}
.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.4rem;
}
.qty-btn {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  border: 1px solid var(--shop-border);
  background: #f9f9f9;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--shop-text);
  transition: all 0.2s;
}
.qty-btn:hover {
  background: var(--shop-primary);
  color: #fff;
}
.qty-num {
  font-size: 0.85rem;
  font-weight: 700;
  min-width: 1.4rem;
  text-align: center;
}
.cart-item-delete {
  background: none;
  border: none;
  color: #c95151;
  cursor: pointer;
  padding: 0.3rem;
  margin-left: auto;
  font-size: 1.1rem;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.cart-item-delete:hover {
  opacity: 1;
}

.cart-drawer-footer {
  padding: 1.5rem 1.75rem;
  border-top: 1px solid var(--shop-border);
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.cart-subtotal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: var(--shop-muted);
}
.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--shop-text);
  border-top: 1px dashed var(--shop-border);
  padding-top: 0.75rem;
}
.cart-checkout-btn {
  background: var(--shop-primary);
  color: #fff;
  border: none;
  border-radius: 9999px;
  padding: 1rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(24, 51, 30, 0.3);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.cart-checkout-btn:hover {
  background: var(--shop-accent);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(62, 123, 76, 0.35);
}

/* ── PRODUCT DETAIL MODAL ── */
.pdetail-modal {
  background: #fff;
  border-radius: var(--shop-radius-lg);
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shop-shadow-lg);
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  padding: 2.25rem;
}
.pdetail-img-box {
  background: #f7f5f0;
  border-radius: var(--shop-radius);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: fit-content;
}
.pdetail-img {
  width: 100%;
  max-height: 260px;
  object-fit: contain;
}
.pdetail-content {
  display: flex;
  flex-direction: column;
}
.pdetail-tag {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--shop-accent);
  margin-bottom: 0.3rem;
}
.pdetail-title {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--shop-text);
  line-height: 1.15;
  margin: 0 0 0.5rem;
}
.pdetail-origin {
  font-size: 0.85rem;
  color: var(--shop-muted);
  font-weight: 600;
  margin-bottom: 1rem;
}
.pdetail-desc {
  font-size: 0.88rem;
  color: #4a544d;
  line-height: 1.55;
  margin-bottom: 1.25rem;
}
.pdetail-variants-title {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--shop-muted);
  letter-spacing: 0.05em;
  margin-bottom: 0.6rem;
}
.pdetail-variant-chips {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.pdetail-variant-chip {
  border: 1.5px solid var(--shop-border);
  border-radius: 12px;
  padding: 0.65rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s;
  background: #FAF8F5;
}
.pdetail-variant-chip.active {
  border-color: var(--shop-accent);
  background: rgba(62, 123, 76, 0.08);
}
.pdetail-variant-chip:hover {
  border-color: var(--shop-accent);
}
.pdetail-variant-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--shop-text);
}
.pdetail-variant-price {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--shop-accent);
}
.pdetail-qty-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: auto;
}
.pdetail-add-btn {
  flex: 1;
  background: var(--shop-primary);
  color: #fff;
  border: none;
  padding: 0.9rem 1.5rem;
  border-radius: 9999px;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s;
  box-shadow: 0 6px 18px rgba(24, 51, 30, 0.25);
}
.pdetail-add-btn:hover {
  background: var(--shop-accent);
  transform: translateY(-2px);
}

/* ── CHECKOUT MODAL ── */
.checkout-modal {
  background: #fff;
  border-radius: var(--shop-radius-lg);
  max-width: 580px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: var(--shop-shadow-lg);
  padding: 2.25rem;
  position: relative;
}
.checkout-header {
  margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--shop-border);
  padding-bottom: 1rem;
}
.checkout-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--shop-text);
  margin: 0 0 0.25rem;
  letter-spacing: -0.02em;
}
.checkout-subtitle {
  font-size: 0.85rem;
  color: var(--shop-muted);
}
.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.form-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--shop-text);
  letter-spacing: 0.02em;
}
.form-label span {
  color: #c95151;
}
.form-input, .form-textarea {
  font-family: inherit;
  font-size: 0.9rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1.5px solid var(--shop-border);
  background: #FAF8F5;
  color: var(--shop-text);
  transition: all 0.2s;
}
.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--shop-accent);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(62, 123, 76, 0.12);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.checkout-items-preview {
  background: #f7f5f0;
  border-radius: 14px;
  padding: 1rem;
  margin: 0.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.checkout-item-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #3b453e;
}
.checkout-pay-badge {
  background: rgba(62, 123, 76, 0.1);
  border: 1px solid rgba(62, 123, 76, 0.25);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.checkout-pay-badge-logo {
  font-weight: 800;
  color: var(--shop-accent);
  font-size: 0.9rem;
}
.checkout-pay-btn {
  background: var(--shop-primary);
  color: #fff;
  border: none;
  border-radius: 9999px;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 10px 25px rgba(24, 51, 30, 0.3);
  transition: all 0.25s;
  margin-top: 0.5rem;
}
.checkout-pay-btn:hover {
  background: var(--shop-accent);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(62, 123, 76, 0.35);
}

/* ── MIDTRANS SNAP POPUP SIMULATOR ── */
.midtrans-sim-modal {
  background: #fff;
  border-radius: 20px;
  max-width: 440px;
  width: 100%;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  position: relative;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.midtrans-sim-header {
  background: #18331E;
  color: #fff;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.midtrans-sim-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.01em;
}
.midtrans-sim-badge {
  background: rgba(255, 255, 255, 0.2);
  font-size: 0.65rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  text-transform: uppercase;
  font-weight: 700;
}
.midtrans-sim-body {
  padding: 1.5rem;
  background: #fafafa;
}
.midtrans-amount-box {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  margin-bottom: 1.25rem;
}
.midtrans-amount-label {
  font-size: 0.75rem;
  color: #888;
  margin-bottom: 0.2rem;
}
.midtrans-amount-val {
  font-size: 1.6rem;
  font-weight: 800;
  color: #111;
}
.midtrans-order-id {
  font-size: 0.75rem;
  color: #666;
  margin-top: 0.2rem;
}
.midtrans-methods {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}
.midtrans-method-item {
  background: #fff;
  border: 1.5px solid #e5e5e5;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.2s;
}
.midtrans-method-item.selected {
  border-color: #18331E;
  background: #f0f7f2;
}
.midtrans-method-name {
  font-weight: 700;
  font-size: 0.88rem;
  color: #111;
}
.midtrans-sim-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.midtrans-success-btn {
  background: #00AA13;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 0.85rem 1rem;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 170, 19, 0.3);
  transition: all 0.2s;
}
.midtrans-success-btn:hover {
  background: #00880f;
  transform: translateY(-1px);
}
.midtrans-cancel-btn {
  background: transparent;
  color: #666;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 0.65rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}
.midtrans-cancel-btn:hover {
  background: #eee;
  color: #111;
}

/* ── SUCCESS RECEIPT MODAL ── */
.success-modal {
  background: #fff;
  border-radius: var(--shop-radius-lg);
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shop-shadow-lg);
  padding: 2.25rem;
  text-align: center;
}
.success-check-icon {
  width: 72px;
  height: 72px;
  background: #e7f6eb;
  color: #00AA13;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin: 0 auto 1.25rem;
  box-shadow: 0 10px 25px rgba(0, 170, 19, 0.2);
}
.success-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--shop-text);
  margin: 0 0 0.4rem;
  letter-spacing: -0.02em;
}
.success-desc {
  font-size: 0.88rem;
  color: var(--shop-muted);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}
.success-order-box {
  background: #f8f6f0;
  border-radius: 16px;
  padding: 1.25rem;
  text-align: left;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.success-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #4a544d;
}
.success-row strong {
  color: var(--shop-text);
}
.success-wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: #25D366;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  padding: 0.95rem 1.5rem;
  border-radius: 9999px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  transition: all 0.25s;
  margin-bottom: 0.75rem;
}
.success-wa-btn:hover {
  background: #1eb956;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
}
.success-close-btn {
  background: transparent;
  border: 1px solid var(--shop-border);
  color: var(--shop-muted);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.7rem 1.5rem;
  border-radius: 9999px;
  cursor: pointer;
  width: 100%;
}
.success-close-btn:hover {
  background: #eee;
  color: var(--shop-text);
}

/* ── RESPONSIVE RULES ── */
@media (max-width: 768px) {
  .pdetail-modal {
    grid-template-columns: 1fr;
    padding: 1.5rem;
    gap: 1.25rem;
  }
  .pdetail-img-box {
    padding: 1rem;
  }
  .checkout-modal {
    padding: 1.5rem;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .floating-cart-btn {
    bottom: 1.25rem;
    right: 1.25rem;
    padding: 0.75rem 1.1rem;
    font-size: 0.82rem;
  }
}


/* ═══════════════════════════════════════════════════════════════════
   RAJAONGKIR SHIPPING COMPONENTS
   ═══════════════════════════════════════════════════════════════════ */

/* City Search Dropdown */
.city-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #e0ddd7;
  border-top: none;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  max-height: 220px;
  overflow-y: auto;
  z-index: 100;
  display: none;
}
.city-dd-item {
  padding: 0.65rem 1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.15s;
  border-bottom: 1px solid #f3f1ec;
}
.city-dd-item:last-child { border-bottom: none; }
.city-dd-item:hover { background: #f9f7f2; }
.city-dd-item.city-dd-loading {
  color: #888;
  font-size: 0.82rem;
  cursor: default;
  justify-content: center;
}
.city-dd-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: #111;
}
.city-dd-province {
  font-size: 0.75rem;
  color: #888;
  white-space: nowrap;
}

/* Shipping Section */
.shipping-section {
  background: #f9f7f3;
  border: 1px solid #e4e0d9;
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1rem;
}

/* Courier Tabs */
.courier-tabs {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 0.85rem;
}
.courier-tab {
  padding: 0.3rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  font-family: inherit;
  background: #fff;
  border: 1.5px solid #ddd8d0;
  border-radius: 20px;
  cursor: pointer;
  color: #666;
  transition: all 0.15s;
  letter-spacing: 0.02em;
}
.courier-tab:hover { border-color: #3E7B4C; color: #3E7B4C; }
.courier-tab.active {
  background: #18331E;
  border-color: #18331E;
  color: #fff;
}

/* Shipping Loading */
.shipping-loading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #888;
  font-size: 0.82rem;
  padding: 0.5rem 0;
}
.spinner {
  width: 14px;
  height: 14px;
  border: 2px solid #d0cfc9;
  border-top-color: #3E7B4C;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Shipping Options (radio list) */
.shipping-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  background: #fff;
  border: 1.5px solid #e4e0d9;
  border-radius: 10px;
  cursor: pointer;
  margin-bottom: 0.4rem;
  transition: border-color 0.15s, background 0.15s;
}
.shipping-option:hover { border-color: #6DBE7C; background: #f6fdf7; }
.shipping-option:has(input:checked) {
  border-color: #3E7B4C;
  background: #f0f9f2;
}
.shipping-option input[type="radio"] {
  accent-color: #3E7B4C;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.shipping-option-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.shipping-option-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: #111;
}
.shipping-option-etd {
  font-size: 0.72rem;
  color: #888;
}
.shipping-option-price {
  font-size: 0.88rem;
  font-weight: 700;
  color: #18331E;
  white-space: nowrap;
}
.shipping-no-service {
  color: #888;
  font-size: 0.82rem;
  text-align: center;
  padding: 0.75rem 0;
}

/* Shipping Summary Bar */
.shipping-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px dashed #d5d1cb;
  font-size: 0.82rem;
  color: #555;
}
.shipping-summary strong {
  color: #18331E;
  font-weight: 700;
}

/* Checkout Grand Total Display */
.checkout-total-display {
  background: #f0f9f2;
  border: 1px solid #b2dfbb;
  border-radius: 8px;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  color: #18331E;
  text-align: center;
}

/* ─── Weight Breakdown Info Bar ─────────────────────────────── */
.weight-info-bar {
  margin-bottom: 0.75rem;
}
.weight-breakdown {
  background: #f0f4f0;
  border: 1px solid #c8dbc8;
  border-radius: 10px;
  padding: 0.65rem 0.85rem;
  font-size: 0.8rem;
}
.weight-breakdown-title {
  font-weight: 700;
  color: #18331E;
  margin-bottom: 0.4rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.weight-breakdown-row {
  display: flex;
  justify-content: space-between;
  color: #555;
  padding: 0.15rem 0;
  gap: 0.5rem;
}
.weight-breakdown-row span:first-child {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.weight-breakdown-total {
  display: flex;
  justify-content: space-between;
  border-top: 1px dashed #a8c5a8;
  margin-top: 0.4rem;
  padding-top: 0.4rem;
  font-weight: 700;
  color: #18331E;
  font-size: 0.82rem;
}
