/* ==========================================
   PAGE-LEVEL EXTRA STYLES
   (Cart, Checkout, Product, Admin, Success)
   ========================================== */

/* Breadcrumb */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: #6b7280; padding: 20px 0; }
.breadcrumb a { color: #008a68; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: #9ca3af; }

/* Page Hero Bar */
.page-hero { background: linear-gradient(135deg, #0f172a, #1e3a5f); color: white; padding: 40px 0; text-align: center; margin-bottom: 0; }
.page-hero h1 { font-size: 2rem; color: white; margin-bottom: 6px; }
.page-hero p { color: #94a3b8; font-size: 0.95rem; }

/* ==========================================
   PRODUCT DETAIL PAGE
   ========================================== */
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 40px 0 60px; align-items: start; }
.product-detail-img { width: 100%; border-radius: 16px; border: 1px solid #e5e7eb; object-fit: contain; height: auto; max-height: 400px; background: #f8fafc; }
.product-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.product-detail-category { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #008a68; background: #e8f5f1; padding: 4px 12px; border-radius: 50px; }
.product-detail-title { font-size: 1.8rem; font-weight: 800; color: #1a1f36; line-height: 1.25; margin-bottom: 16px; }
.product-detail-price-row { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.product-detail-price { font-size: 2rem; font-weight: 800; color: #008a68; }
.product-detail-original { font-size: 1.1rem; color: #9ca3af; text-decoration: line-through; }
.product-detail-discount { background: #ef4444; color: white; padding: 4px 12px; border-radius: 6px; font-weight: 800; font-size: 0.85rem; }
.product-detail-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 24px; }
.pd-add-cart { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px; background: #e8f5f1; border: 2px solid #008a68; color: #008a68; border-radius: 10px; font-weight: 700; font-size: 1rem; cursor: pointer; font-family: inherit; transition: all 0.2s; }
.pd-add-cart:hover { background: #008a68; color: white; }
.pd-buy-now { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px; background: #008a68; color: white; border: none; border-radius: 10px; font-weight: 700; font-size: 1rem; cursor: pointer; font-family: inherit; transition: background 0.2s; }
.pd-buy-now:hover { background: #006b50; }
.watching-badge { display: inline-flex; align-items: center; gap: 6px; background: #fef9c3; color: #854d0e; padding: 8px 16px; border-radius: 8px; font-size: 0.85rem; font-weight: 600; margin-bottom: 24px; }
.product-meta { border-top: 1px solid #e5e7eb; padding-top: 20px; }
.product-meta p { font-size: 0.875rem; color: #6b7280; margin-bottom: 8px; }
.product-meta strong { color: #1a1f36; }
.product-features { list-style: none; margin: 20px 0; display: flex; flex-direction: column; gap: 10px; }
.product-features li { display: flex; align-items: center; gap: 10px; font-size: 0.95rem; color: #374151; }
.product-features li::before { content: '✅'; flex-shrink: 0; }
.product-tabs { display: flex; gap: 0; border-bottom: 2px solid #e5e7eb; margin-bottom: 24px; }
.product-tab { padding: 12px 24px; background: none; border: none; border-bottom: 3px solid transparent; font-family: inherit; font-size: 0.95rem; font-weight: 600; cursor: pointer; color: #6b7280; margin-bottom: -2px; transition: all 0.2s; }
.product-tab.active { color: #008a68; border-bottom-color: #008a68; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.tab-panel p { color: #6b7280; line-height: 1.8; }

/* ==========================================
   CART PAGE
   ========================================== */
.cart-grid { display: grid; grid-template-columns: 1fr 380px; gap: 32px; padding: 40px 0 60px; align-items: start; }
.cart-table { width: 100%; }
.cart-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.cart-head h2 { font-size: 1.15rem; font-weight: 800; color: #0b1f27; margin: 0; }
.cart-clear-btn { background: none; border: none; color: #ef4444; font-weight: 600; font-size: 0.86rem; cursor: pointer; font-family: inherit; padding: 6px 0; white-space: nowrap; flex-shrink: 0; }
.cart-clear-btn:hover { text-decoration: underline; }
/* Flex, not grid: grid children default to min-width:auto, which refuses to
   shrink below their content and pushed the whole row wider than the screen
   (the cart was horizontally scrolling on mobile). */
.cart-item { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; background: white; border: 1px solid #e8ecf1; border-radius: 14px; padding: 14px; margin-bottom: 12px; }
.cart-item > * { min-width: 0; }
.cart-item-controls { display: flex; align-items: center; gap: 22px; flex: 0 0 auto; margin-left: auto; }
.cart-item-img { width: 84px; height: 84px; object-fit: cover; border-radius: 10px; background: #f1f5f9; }
.cart-item-info { flex: 1 1 200px; min-width: 0; }
.cart-item-title { font-weight: 700; color: #0b1f27; font-size: 0.92rem; line-height: 1.35; margin-bottom: 4px; overflow-wrap: anywhere; }
.cart-item-opts { font-size: 0.76rem; color: #5b6b7a; margin-bottom: 3px; overflow-wrap: anywhere; }
.cart-item-cat { font-size: 0.72rem; color: #008a68; font-weight: 600; }
.cart-item-link { font-size: 0.74rem; color: #6b7280; margin-top: 3px; display: inline-block; }
.cart-item-link:hover { color: #008a68; }
.cart-item-right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.summary-saved { margin: 10px 0 0; font-size: 0.82rem; font-weight: 600; color: #00875f; text-align: center; }
.qty-control { display: flex; align-items: center; gap: 8px; }
.qty-btn { width: 30px; height: 30px; border: 1px solid #e5e7eb; background: white; border-radius: 6px; font-size: 1.1rem; cursor: pointer; display: flex; align-items: center; justify-content: center; font-weight: 700; transition: all 0.2s; }
.qty-btn:hover { background: #008a68; color: white; border-color: #008a68; }
.qty-display { font-weight: 700; min-width: 24px; text-align: center; }
.cart-item-price { font-weight: 800; color: #008a68; font-size: 1.05rem; text-align: right; white-space: nowrap; }
.cart-remove { background: none; border: none; color: #ef4444; cursor: pointer; font-size: 1.2rem; padding: 4px; }
.cart-summary { background: white; border: 1px solid #e8ecf1; border-radius: 18px; padding: 26px; position: sticky; top: 100px; box-shadow: 0 6px 24px rgba(11,31,39,0.05); }
.cart-summary h3 { font-size: 1.1rem; font-weight: 800; color: #0b1f27; margin-bottom: 18px; padding-bottom: 15px; border-bottom: 1px solid #eef1f4; }

/* ── Sticky mobile checkout bar (total + primary action) ── */
.sticky-checkout {
  display: none;
  position: fixed;
  left: 0; right: 0;
  bottom: calc(62px + env(safe-area-inset-bottom, 0px));
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid #e8ecf1;
  box-shadow: 0 -4px 20px rgba(11,31,39,0.09);
  padding: 10px 14px;
  z-index: 890;
  align-items: center;
  gap: 12px;
}
.sticky-checkout-total { flex-shrink: 0; line-height: 1.2; }
.sticky-checkout-total small { display: block; font-size: 0.66rem; color: #7a8896; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.sticky-checkout-total strong { font-size: 1.15rem; font-weight: 800; color: #0b1f27; }
.sticky-checkout-btn {
  flex: 1;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 18px;
  background: linear-gradient(100deg, #10b981, #008a68);
  color: #fff; border: none; border-radius: 50px;
  font-family: inherit; font-size: 0.98rem; font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0,138,104,0.34);
}
.sticky-checkout-btn:active { transform: translateY(1px); }
.summary-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; font-size: 0.95rem; color: #6b7280; }
.summary-row.total { font-size: 1.1rem; font-weight: 800; color: #1a1f36; border-top: 1px solid #e5e7eb; padding-top: 14px; margin-top: 8px; }
.checkout-btn { width: 100%; padding: 15px; background: linear-gradient(90deg, #008a68, #10b981, #008a68); background-size: 200% auto; color: white; border: none; border-radius: 10px; font-weight: 700; font-size: 1.05rem; cursor: pointer; font-family: inherit; transition: all 0.3s ease; margin-top: 20px; box-shadow: 0 4px 15px rgba(0,138,104,0.3); }
.checkout-btn:hover { background-position: right center; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,138,104,0.4); }
.empty-cart { text-align: center; padding: 80px 24px; }
.empty-cart-icon { font-size: 4rem; margin-bottom: 16px; }
.empty-cart h2 { margin-bottom: 8px; }
.empty-cart p { color: #6b7280; margin-bottom: 28px; }

/* ==========================================
   CHECKOUT PAGE
   ========================================== */
.checkout-grid { display: grid; grid-template-columns: 1fr 400px; gap: 32px; padding: 40px 0 60px; align-items: start; }
.checkout-form-card { background: white; border: 1px solid #e5e7eb; border-radius: 16px; padding: 32px; }
.checkout-section-title { font-size: 1.1rem; font-weight: 700; color: #1a1f36; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid #f1f5f9; display: flex; align-items: center; gap: 10px; }
.checkout-section-title .step-badge { background: #008a68; color: white; width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.85rem; font-weight: 800; flex-shrink: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 0; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-label { font-size: 0.85rem; font-weight: 600; color: #374151; }
.form-input { padding: 11px 14px; border: 1.5px solid #e5e7eb; border-radius: 8px; font-family: inherit; font-size: 0.95rem; color: #1a1f36; outline: none; transition: border-color 0.2s; }
.form-input:focus { border-color: #008a68; box-shadow: 0 0 0 3px rgba(0,138,104,0.1); }
.form-input.error { border-color: #ef4444; }

/* Payment section */
.payment-box { background: #f8fafc; border: 2px solid #e5e7eb; border-radius: 12px; padding: 24px; margin-top: 16px; text-align: center; }
.upi-qr { width: 200px; height: 200px; margin: 0 auto 16px; border-radius: 12px; background: white; padding: 8px; border: 2px solid #008a68; }
.upi-id-box { background: #1e293b; color: #00e5ff; padding: 10px 20px; border-radius: 8px; font-family: monospace; font-size: 1rem; font-weight: 700; display: inline-block; margin-bottom: 16px; cursor: pointer; }
.upi-apps { display: flex; justify-content: center; gap: 12px; margin: 16px 0; flex-wrap: wrap; }
.upi-app-btn { padding: 8px 16px; border: 1px solid #e5e7eb; border-radius: 8px; background: white; font-size: 0.8rem; font-weight: 600; cursor: pointer; transition: all 0.2s; display: flex; align-items: center; gap: 6px; }
.upi-app-btn:hover { border-color: #008a68; background: #e8f5f1; }
.utr-section { margin-top: 20px; text-align: left; }
.utr-label { font-size: 0.9rem; font-weight: 700; color: #1a1f36; margin-bottom: 8px; display: block; }
.utr-input-row { display: flex; gap: 10px; }
.utr-input { flex: 1; padding: 11px 14px; border: 2px solid #e5e7eb; border-radius: 8px; font-family: inherit; font-size: 0.95rem; outline: none; }
.utr-input:focus { border-color: #008a68; }
.place-order-btn { width: 100%; padding: 16px; background: linear-gradient(90deg, #008a68, #10b981, #008a68); background-size: 200% auto; color: white; border: none; border-radius: 10px; font-weight: 800; font-size: 1.1rem; cursor: pointer; font-family: inherit; transition: all 0.3s ease; margin-top: 24px; display: flex; align-items: center; justify-content: center; gap: 10px; box-shadow: 0 4px 15px rgba(0,138,104,0.3); }
.place-order-btn:hover:not(:disabled) { background-position: right center; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,138,104,0.4); }
.place-order-btn:disabled { background: #9ca3af; cursor: not-allowed; }
.order-summary-card { background: white; border: 1px solid #e5e7eb; border-radius: 16px; padding: 24px; position: sticky; top: 120px; }
.order-summary-card h3 { font-size: 1.1rem; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid #e5e7eb; }
.order-item-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; gap: 12px; }
.order-item-name { font-size: 0.85rem; color: #374151; font-weight: 600; }
.order-item-price { font-size: 0.9rem; font-weight: 700; color: #1a1f36; white-space: nowrap; }
.security-badges { display: flex; justify-content: center; gap: 16px; margin-top: 20px; flex-wrap: wrap; }
.security-badge { display: flex; align-items: center; gap: 6px; font-size: 0.75rem; color: #6b7280; font-weight: 600; }

/* ==========================================
   ORDER SUCCESS PAGE
   ========================================== */
.success-container { max-width: 620px; margin: 60px auto; padding: 0 24px 80px; text-align: center; }
.success-icon { width: 90px; height: 90px; background: #d1fae5; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 28px; font-size: 2.5rem; }
.success-title { font-size: 2rem; font-weight: 800; color: #1a1f36; margin-bottom: 12px; }
.success-subtitle { font-size: 1rem; color: #6b7280; margin-bottom: 36px; line-height: 1.7; }
.order-details-box { background: white; border: 1px solid #e5e7eb; border-radius: 16px; padding: 28px; text-align: left; margin-bottom: 32px; }
.order-detail-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #f1f5f9; font-size: 0.9rem; }
.order-detail-row:last-child { border-bottom: none; }
.order-detail-label { color: #6b7280; }
.order-detail-value { font-weight: 700; color: #1a1f36; }
.success-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.success-btn-primary { padding: 13px 32px; background: #008a68; color: white; border-radius: 8px; font-weight: 700; font-size: 0.95rem; transition: background 0.2s; }
.success-btn-primary:hover { background: #006b50; color: white; }
.success-btn-secondary { padding: 13px 32px; border: 2px solid #008a68; color: #008a68; border-radius: 8px; font-weight: 700; font-size: 0.95rem; transition: all 0.2s; }
.success-btn-secondary:hover { background: #008a68; color: white; }

/* ==========================================
   ADMIN PAGE
   ========================================== */
.admin-login { max-width: 420px; margin: 80px auto; padding: 0 24px; }
.admin-login-card { background: white; border: 1px solid #e5e7eb; border-radius: 20px; padding: 40px; text-align: center; box-shadow: 0 8px 40px rgba(0,0,0,0.08); }
.admin-login-icon { font-size: 2.5rem; margin-bottom: 16px; }
.admin-login-card h2 { margin-bottom: 8px; }
.admin-login-card p { color: #6b7280; font-size: 0.9rem; margin-bottom: 28px; }
.admin-dashboard { display: none; }
.admin-nav { background: #1e293b; color: white; padding: 0; }
.admin-nav-inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; }
.admin-nav-brand { font-weight: 800; font-size: 1.1rem; padding: 16px 0; display: flex; align-items: center; gap: 10px; }
.admin-nav-links { display: flex; }
.admin-nav-link { padding: 16px 18px; color: #94a3b8; font-size: 0.9rem; font-weight: 600; cursor: pointer; transition: color 0.2s; border-bottom: 3px solid transparent; }
.admin-nav-link:hover, .admin-nav-link.active { color: white; border-bottom-color: #008a68; }
.admin-content { max-width: 1280px; margin: 0 auto; padding: 32px 24px; }
.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 36px; }
.stat-card { background: white; border: 1px solid #e5e7eb; border-radius: 14px; padding: 24px; }
.stat-value { font-size: 2rem; font-weight: 800; color: #1a1f36; }
.stat-label { font-size: 0.85rem; color: #6b7280; margin-top: 4px; }
.stat-change { font-size: 0.8rem; font-weight: 700; margin-top: 8px; }
.stat-change.up { color: #10b981; }
.admin-panel { background: white; border: 1px solid #e5e7eb; border-radius: 14px; overflow: hidden; margin-bottom: 28px; }
.admin-panel-header { padding: 20px 24px; border-bottom: 1px solid #e5e7eb; display: flex; align-items: center; justify-content: space-between; }
.admin-panel-header h3 { font-size: 1rem; font-weight: 700; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th { padding: 12px 20px; text-align: left; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: #6b7280; background: #f8fafc; }
.admin-table td { padding: 16px 20px; border-top: 1px solid #f1f5f9; font-size: 0.9rem; vertical-align: middle; }
.admin-table tr:hover td { background: #f8fafc; }
.status-badge { padding: 4px 12px; border-radius: 50px; font-size: 0.75rem; font-weight: 700; }
.status-pending { background: #fef3c7; color: #92400e; }
.status-verified { background: #d1fae5; color: #065f46; }
.status-cancelled { background: #fee2e2; color: #991b1b; }
.admin-btn { padding: 6px 14px; border-radius: 6px; font-size: 0.8rem; font-weight: 700; cursor: pointer; border: none; font-family: inherit; }
.admin-btn-green { background: #d1fae5; color: #065f46; }
.admin-btn-red { background: #fee2e2; color: #991b1b; }
.add-product-form { padding: 24px; }
.add-product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 900px) {
  .product-detail-grid, .cart-grid, .checkout-grid { grid-template-columns: 1fr; }
  .admin-stats { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .add-product-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .admin-stats { grid-template-columns: 1fr; }

  /* Mobile cart row: switch from grid to wrapping flex so the image and
     details share the first line and the controls drop to a second line
     without any fragile offsets. */
  .cart-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 14px;
  }
  .cart-item-img { flex: 0 0 68px; width: 68px; height: 68px; }
  .cart-item-info { flex: 1 1 140px; }
  .cart-item-title { font-size: 0.88rem; }
  /* Controls take a full row of their own, qty left / price+remove right */
  .cart-item-controls {
    flex: 1 1 100%;
    margin-left: 0;
    justify-content: space-between;
    border-top: 1px solid #f1f4f6;
    padding-top: 10px;
  }
  .cart-item-right { flex-direction: row; align-items: center; gap: 14px; }
  .cart-summary { padding: 20px; border-radius: 14px; position: static; }
  /* The sticky bar carries the action, so hide the inline button */
  .cart-summary .checkout-btn { display: none; }
  .sticky-checkout { display: flex; }
  /* Keep content clear of the sticky bar + tab bar */
  body.has-sticky-checkout { padding-bottom: calc(138px + env(safe-area-inset-bottom, 0px)); }
  .checkout-form-card { padding: 18px 16px; border-radius: 14px; }
  .checkout-section-title { font-size: 1rem; }
}

/* ========================================== 
   ORDER SUCCESS PAGE 
   ========================================== */

    body {
      font-family: 'Outfit', sans-serif;
      background: #f8fafc;
      margin: 0;
      padding: 0;
    }
    .success-wrapper {
      max-width: 540px;
      margin: 40px auto;
      padding: 0 16px 60px;
    }
    .success-card {
      background: #fff;
      border-radius: 24px;
      box-shadow: 0 10px 40px rgba(0,0,0,0.06);
      overflow: hidden;
      margin-bottom: 24px;
    }
    .success-card-header {
      background: linear-gradient(135deg, #059669, #047857);
      padding: 40px 24px 30px;
      text-align: center;
      color: white;
      position: relative;
    }
    .success-card-header.pending {
      background: linear-gradient(135deg, #f59e0b, #d97706);
    }
    .success-card-header.failed {
      background: linear-gradient(135deg, #ef4444, #b91c1c);
    }
    
    .icon-container {
      width: 80px;
      height: 80px;
      background: rgba(255,255,255,0.2);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 16px;
      font-size: 40px;
      animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
      transform: scale(0);
    }

    @keyframes popIn {
      100% { transform: scale(1); }
    }
    
    .success-card-header h1 { font-size: 1.8rem; font-weight: 800; margin: 0 0 10px; letter-spacing: -0.5px; }
    .success-card-header p { font-size: 0.95rem; opacity: 0.95; margin: 0; line-height: 1.5; font-weight: 400; }
    
    .success-card-body { padding: 28px 24px; }
    
    .detail-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 14px 0;
      border-bottom: 1px dashed #e2e8f0;
      font-size: 0.95rem;
      gap: 12px;
    }
    .detail-row:last-child { border-bottom: none; padding-bottom: 0; }
    .detail-label { color: #64748b; font-weight: 500; white-space: nowrap; }
    .detail-value { font-weight: 700; color: #1e293b; text-align: right; word-break: break-word; }
    
    .status-badge {
      display: inline-flex;
      align-items: center;
      padding: 6px 14px;
      border-radius: 20px;
      font-size: 0.85rem;
      font-weight: 700;
      gap: 6px;
    }
    .status-verified { background: #dcfce7; color: #166534; }
    .status-pending  { background: #fef3c7; color: #92400e; }
    .status-failed   { background: #fee2e2; color: #991b1b; }
    
    .next-steps-box {
      background: #f8fafc;
      border: 1px solid #e2e8f0;
      border-radius: 16px;
      padding: 20px;
      margin-bottom: 24px;
    }
    .next-steps-box h4 {
      margin: 0 0 12px;
      color: #0f172a;
      font-size: 1.05rem;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .next-steps-list {
      margin: 0;
      padding-left: 20px;
      color: #475569;
      font-size: 0.9rem;
      line-height: 1.6;
    }
    .next-steps-list li { margin-bottom: 6px; }
    
    .trust-strip {
      display: flex;
      justify-content: center;
      gap: 16px;
      padding: 16px 0;
      border-top: 1px solid #f1f5f9;
      margin-top: 20px;
    }
    .trust-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      font-size: 0.75rem;
      color: #64748b;
      font-weight: 600;
      gap: 4px;
    }
    
    .action-row {
      display: grid;
      grid-template-columns: 1fr;
      gap: 12px;
      margin-top: 8px;
    }
    @media(min-width: 480px) {
      .action-row.double { grid-template-columns: 1fr 1fr; }
    }
    
    .btn {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 14px;
      border-radius: 12px;
      font-weight: 700;
      font-size: 1rem;
      text-decoration: none;
      transition: all 0.2s;
      cursor: pointer;
      border: none;
      outline: none;
      font-family: inherit;
    }
    .btn-primary { background: #1f2937; color: white; }
    .btn-primary:hover { background: #111827; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,0.1); }

/* ========================================== 
   PRODUCT GALLERY 
   ========================================== */

    .product-gallery { display: flex; flex-direction: column; gap: 12px; }
    .gallery-main {
      position: relative;
      background: #f8fafc;
      border-radius: 16px;
      overflow: hidden;
      border: 1px solid #e2e8f0;
      cursor: zoom-in;
    }
    .gallery-main-img {
      width: 100%;
      display: block;
      transition: transform 0.3s ease;
    }
    .gallery-main:hover .gallery-main-img { transform: scale(1.02); }
    .gallery-expand-btn {
      position: absolute;
      top: 12px;
      right: 12px;
      background: rgba(255,255,255,0.9);
      backdrop-filter: blur(8px);
      border: 1px solid #e2e8f0;
      border-radius: 10px;
      padding: 8px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.2s;
      z-index: 2;
    }
    .gallery-expand-btn:hover { background: #fff; box-shadow: 0 4px 12px rgba(0,0,0,0.1); transform: scale(1.1); }
    .gallery-discount-badge {
      position: absolute;
      top: 12px;
      left: 12px;
      background: linear-gradient(135deg, #ef4444, #dc2626);
      color: white;
      font-size: 0.8rem;
      font-weight: 700;
      padding: 6px 14px;
      border-radius: 8px;
      z-index: 2;
      box-shadow: 0 2px 8px rgba(239,68,68,0.3);
    }
    .gallery-thumbs {
      display: flex;
      gap: 8px;
      overflow-x: auto;
      padding: 4px 2px 8px;
      scrollbar-width: none;
    }
    .gallery-thumbs::-webkit-scrollbar { display: none; }
    .gallery-thumb {
      width: 72px;
      height: 72px;
      object-fit: cover;
      border-radius: 10px;
      cursor: pointer;
      border: 2.5px solid #e2e8f0;
      flex-shrink: 0;
      transition: all 0.2s ease;
      opacity: 0.7;
    }
    .gallery-thumb:hover { opacity: 1; border-color: #94a3b8; transform: translateY(-2px); }
    .gallery-thumb.active { border-color: #3b82f6; opacity: 1; box-shadow: 0 2px 8px rgba(59,130,246,0.25); }
    
    /* Lightbox */
    .gallery-lightbox {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0,0,0,0.92);
      backdrop-filter: blur(8px);
      z-index: 99999;
      align-items: center;
      justify-content: center;
      animation: lbFadeIn 0.25s ease;
    }
    .gallery-lightbox.active { display: flex; }
    @keyframes lbFadeIn { from { opacity: 0; } to { opacity: 1; } }
    .lightbox-img {
      max-width: 90vw;
      max-height: 85vh;
      object-fit: contain;
      border-radius: 12px;
      animation: lbZoomIn 0.3s ease;
    }
    @keyframes lbZoomIn { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
    .lightbox-close {
      position: absolute;
      top: 20px;
      right: 24px;
      background: rgba(255,255,255,0.15);
      border: none;
      color: white;
      font-size: 1.5rem;
      width: 44px;
      height: 44px;
      border-radius: 50%;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.2s;
      z-index: 2;
    }
    .lightbox-close:hover { background: rgba(255,255,255,0.3); transform: scale(1.1); }
    .lightbox-nav {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: rgba(255,255,255,0.15);
      border: none;
      color: white;
      font-size: 2.5rem;
      width: 52px;
      height: 52px;
      border-radius: 50%;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.2s;
      line-height: 1;
    }
    .lightbox-nav:hover { background: rgba(255,255,255,0.3); }
    .lightbox-prev { left: 20px; }
    .lightbox-next { right: 20px; }
    .lightbox-counter {
      position: absolute;
      bottom: 24px;
      left: 50%;
      transform: translateX(-50%);
      color: rgba(255,255,255,0.7);
      font-size: 0.9rem;
      font-weight: 600;
    }
    @media (max-width: 768px) {
      .lightbox-nav { width: 40px; height: 40px; font-size: 2rem; }
      .lightbox-prev { left: 8px; }
      .lightbox-next { right: 8px; }
    }

/* ==========================================
   CHECKOUT — STEP PROGRESS + CARDS
   (Brand_Theme: teal/green accents, no lime)
   ========================================== */
.co-steps {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #0b1f27;
  border-radius: 16px;
  padding: 16px 18px;
  margin-bottom: 16px;
}
.co-step { display: flex; flex-direction: column; align-items: center; gap: 6px; flex-shrink: 0; }
.co-step-dot {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #8fa1af;
  font-size: 0.86rem; font-weight: 800;
}
.co-step-label { font-size: 0.74rem; font-weight: 600; color: #8fa1af; }
.co-step.active .co-step-dot { background: #10b981; color: #ffffff; }
.co-step.active .co-step-label { color: #fff; }
.co-step-line { flex: 1; height: 1px; background: rgba(255, 255, 255, 0.16); }

/* Card with a dark title strip, matching the rest of the refreshed UI */
.co-card { padding: 0 !important; overflow: hidden; border-radius: 16px; }
.co-card-head {
  background: #0b1f27;
  color: #10b981;
  padding: 12px 18px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.co-card-head::before { content: '● '; color: #10b981; }
.co-card-body { padding: 18px; }
.co-hint { font-weight: 500; font-size: 0.72rem; color: #8b98a5; text-transform: none; letter-spacing: 0; }
.co-note {
  margin: 4px 0 0;
  font-size: 0.8rem;
  line-height: 1.6;
  color: #5b6b7a;
  background: #f4f7f9;
  border-radius: 10px;
  padding: 11px 13px;
}

@media (max-width: 768px) {
  .co-steps { padding: 13px 14px; border-radius: 14px; }
  .co-step-dot { width: 28px; height: 28px; font-size: 0.8rem; }
  .co-step-label { font-size: 0.68rem; }
  .co-card-body { padding: 15px; }
  .co-card-head { padding: 11px 15px; font-size: 0.71rem; }
}

/* ── Checkout order summary items (with artwork) ── */
.co-item {
  display: flex;
  align-items: center;
  gap: 11px;
  background: #f6f8fa;
  border-radius: 12px;
  padding: 9px 12px 9px 9px;
  margin-bottom: 8px;
}
.co-item img {
  width: 42px; height: 42px;
  border-radius: 9px;
  object-fit: cover;
  background: #e9eef2;
  flex-shrink: 0;
}
.co-item-name {
  flex: 1;
  min-width: 0;
  font-size: 0.84rem;
  font-weight: 700;
  color: #0b1f27;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.co-item-qty { font-weight: 500; color: #8b98a5; font-size: 0.78rem; margin-left: 3px; }
.co-item-price { font-size: 0.88rem; font-weight: 800; color: #0b1f27; white-space: nowrap; }

/* Highlighted total block */
.co-total-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #eef7f1;
  border: 1px solid #d6ebdf;
  border-radius: 12px;
  padding: 15px 16px;
  margin-top: 12px;
}
.co-total-box span {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #14313d;
}
.co-total-box strong { font-size: 1.3rem; font-weight: 800; color: #00714f; }

/* Field error state */
.form-input.error { border-color: #ef4444 !important; background: #fef2f2; }

/* Primary pay button as a pill */
.place-order-btn {
  border-radius: 50px !important;
  min-height: 54px;
  font-weight: 800 !important;
}

@media (max-width: 768px) {
  .co-item img { width: 38px; height: 38px; }
  .co-item-name { font-size: 0.8rem; }
  .co-total-box { padding: 13px 14px; }
  .co-total-box strong { font-size: 1.18rem; }
}

/* ==========================================
   PAYMENT METHOD (UPI / QR)
   ========================================== */
.pay-method {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 2px solid #0b1f27;
  border-radius: 12px;
  padding: 14px 16px;
  cursor: pointer;
  background: #fff;
  position: relative;
}
.pay-method-main { flex: 1; min-width: 0; }
.pay-method-title {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0b1f27;
}
.pay-server { font-weight: 600; color: #5b6b7a; font-size: 0.86rem; }
.pay-method-sub {
  display: block;
  margin-top: 4px;
  font-size: 0.8rem;
  color: #6b7a87;
}
/* Native radio hidden but still focusable/checkable for accessibility */
.pay-method input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 22px; height: 22px;
  right: 16px; top: 50%;
  transform: translateY(-50%);
  margin: 0;
  cursor: pointer;
}
.pay-radio {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 2px solid #cdd6de;
  flex-shrink: 0;
  position: relative;
  transition: border-color 0.2s;
}
.pay-method input:checked ~ .pay-radio { border-color: #00875f; }
.pay-method input:checked ~ .pay-radio::after {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: #00875f;
}
.pay-method input:focus-visible ~ .pay-radio { box-shadow: 0 0 0 4px rgba(0,138,104,0.18); }

/* ── Supported UPI apps ─────────────────────
   Real brand logos are loaded as <img> from the
   Simple Icons CDN. Nothing here recreates a
   logo with CSS shapes or letters. */
.pay-apps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 12px;
}
.pay-app {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #fff;
  border: 1px solid #e5eaee;
  border-radius: 50px;
  padding: 7px 14px 7px 9px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #24333f;
  box-shadow: 0 1px 4px rgba(11,31,39,0.05);
  white-space: nowrap;
}
/* Official brand mark, rendered at its own colours */
.pay-app-logo {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  object-fit: contain;
  display: block;
}
/* Wordmark-only chips (BHIM / UPI) keep the same shape, no fake icon */
.pay-app-word { padding: 7px 14px; }

.pay-any-note {
  margin: 0 0 16px;
  font-size: 0.82rem;
  line-height: 1.6;
  color: #5b6b7a;
  background: #f4f7f9;
  border-radius: 10px;
  padding: 11px 13px;
}
.pay-any-note strong { color: #0b1f27; }

@media (max-width: 768px) {
  .pay-method { padding: 13px 14px; }
  .pay-method-title { font-size: 0.9rem; }
  .pay-app { font-size: 0.74rem; padding: 6px 12px 6px 8px; }
  .pay-app-word { padding: 6px 12px; }
  .pay-app-logo { width: 15px; height: 15px; }
}

/* QR modal enter animation (shared with checkout payment modal) */
@keyframes slideUp {
  from { transform: translateY(24px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

/* ==========================================
   PRODUCT DETAIL — VARIANT PILLS + QTY STEPPER
   (Brand_Theme adapted)
   ========================================== */
.variant-group { margin-bottom: 18px; }
.variant-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: #5b6b7a;
  margin-bottom: 9px;
}
.variant-pills {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.variant-pill {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 16px;
  background: #fff;
  border: 1.5px solid #e4e9ee;
  border-radius: 14px;
  font-family: inherit;
  font-size: 0.94rem;
  font-weight: 700;
  color: #0b1f27;
  cursor: pointer;
  transition: all 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
.variant-pill:hover { border-color: #b9c6d0; }
.variant-pill.selected {
  background: #008a68;
  border-color: #008a68;
  color: #fff;
  box-shadow: 0 6px 16px rgba(0, 138, 104, 0.22);
}
.pill-check {
  position: absolute;
  top: -7px;
  right: -7px;
  width: 22px;
  height: 22px;
  padding: 4px;
  background: #10b981;
  color: #fff;
  border: 2px solid #fff;
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.variant-pill.selected .pill-check { opacity: 1; transform: scale(1); }

/* ── Quantity stepper ─────────────────────── */
.qty-row { margin-bottom: 18px; }
.qty-stepper {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #f4f6f8;
  border-radius: 50px;
  padding: 5px;
}
.qty-stepper button {
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: #fff;
  color: #0b1f27;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(11, 31, 39, 0.12);
  transition: background 0.2s;
}
.qty-stepper button:hover { background: #e9eef2; }
.qty-stepper span {
  min-width: 34px;
  text-align: center;
  font-weight: 800;
  font-size: 1rem;
}

/* ── WhatsApp delivery banner (Brand_Theme accent) ── */
.pd-wa-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 18px 0 22px;
  padding: 15px 20px;
  background: #0b1f27;
  color: #10b981;
  border-radius: 14px;
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease;
}
.pd-wa-banner:hover { transform: translateY(-2px); color: #10b981; }
.pd-wa-bolt { color: #f97316; }

/* ── Assurance chips ──────────────────────── */
.pd-assurance {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #eef1f4;
}
.pd-assure-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f4f7f9;
  color: #40515e;
  padding: 8px 14px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
}
.pd-assure-item svg { color: #008a68; flex-shrink: 0; }

/* ── Description / Reviews sections ──────── */
.pd-section {
  max-width: 780px;
  margin: 0 0 44px;
  padding-top: 30px;
  border-top: 1px solid #eef1f4;
}
.pd-section-title {
  font-size: 1.32rem;
  font-weight: 800;
  color: #1e293b;
  letter-spacing: -0.015em;
  margin-bottom: 16px;
}
.pd-desc { color: #4a5a67; line-height: 1.85; font-size: 1rem; }
.pd-desc p { margin-bottom: 14px; }
.pd-desc strong { color: #1e293b; font-weight: 700; }
.pd-feature-list {
  margin: 20px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid #eef1f4;
  list-style: none;
}
.pd-feature-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 11px;
  line-height: 1.7;
  font-size: 0.97rem;
  color: #4a5a67;
}
.pd-feature-list li::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #008a68;
}

/* ── "You may also like" carousel ─────────── */
.pd-related { margin: 0 0 56px; padding-top: 30px; border-top: 1px solid #eef1f4; }
.pd-related-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.pd-related-nav { display: flex; gap: 8px; flex-shrink: 0; }
.pd-arrow {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1.5px solid #e4e9ee;
  border-radius: 50%;
  color: #1e293b;
  cursor: pointer;
  transition: all 0.2s ease;
}
.pd-arrow:hover:not(:disabled) { border-color: #008a68; transform: translateY(-1px); }
.pd-arrow:disabled { opacity: 0.32; cursor: default; }
.pd-related-rail {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 2px 8px;
}
.pd-related-rail::-webkit-scrollbar { display: none; }
.rel-card {
  flex: 0 0 200px;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid #e8ecf1;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.rel-card:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(0, 0, 0, 0.1); }
.rel-media { position: relative; display: block; background: #f1f5f9; aspect-ratio: 1 / 1; }
.rel-media img { width: 100%; height: 100%; object-fit: cover; }
.rel-instant {
  position: absolute; top: 8px; right: 8px;
  background: linear-gradient(135deg, #008a68, #10b981); color: #fff;
  font-size: 0.6rem; font-weight: 800; letter-spacing: 0.04em;
  padding: 4px 8px; border-radius: 50px;
}
.rel-off {
  position: absolute; top: 8px; left: 8px;
  background: #ef4444; color: #fff;
  font-size: 0.65rem; font-weight: 800;
  padding: 4px 8px; border-radius: 50px;
}
.rel-body { padding: 12px; display: flex; flex-direction: column; flex: 1; }
.rel-title {
  font-size: 0.86rem; font-weight: 700; color: #1e293b;
  line-height: 1.35; text-decoration: none; margin-bottom: 8px;
  display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.rel-price { display: flex; align-items: baseline; gap: 7px; margin-bottom: 11px; margin-top: auto; }
.rel-now { font-size: 1.02rem; font-weight: 800; color: #1e293b; }
.rel-was { font-size: 0.78rem; color: #a9b4be; text-decoration: line-through; }
.rel-actions { display: flex; align-items: center; gap: 8px; }
.rel-buy {
  flex: 1;
  padding: 9px 10px;
  background: #008a68;
  color: #fff;
  border: none;
  border-radius: 50px;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}
.rel-buy:hover { background: #006b50; }
.rel-cart {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  background: #fff; color: #1e293b;
  border: 1.5px solid #e4e9ee; border-radius: 50%;
  cursor: pointer; flex-shrink: 0;
  transition: all 0.2s;
}
.rel-cart:hover { border-color: #008a68; color: #006b50; }

@media (max-width: 768px) {
  .pd-section { padding-top: 22px; margin-bottom: 32px; }
  .pd-section-title { font-size: 1.15rem; margin-bottom: 12px; }
  .pd-desc { font-size: 0.95rem; line-height: 1.8; }
  .pd-feature-list li { font-size: 0.92rem; }
  .pd-related { margin-bottom: 34px; padding-top: 24px; }
  .pd-arrow { width: 36px; height: 36px; }
  .rel-card { flex-basis: 158px; border-radius: 14px; }
  .rel-body { padding: 10px; }
  .rel-title { font-size: 0.8rem; }
  .rel-now { font-size: 0.95rem; }
  .rel-buy { font-size: 0.78rem; padding: 8px; }
  .variant-pill { min-height: 48px; font-size: 0.9rem; }
  .pd-wa-banner { font-size: 0.86rem; padding: 14px 16px; }
  .product-detail-actions { grid-template-columns: 1fr; gap: 10px; }
}

/* ==========================================
   POLICY PAGE — TABS + CONTENT
   ========================================== */
.policy-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: -22px auto 0;
  max-width: 860px;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}
.policy-tab {
  background: #fff;
  border: 1px solid #e5eaee;
  color: #40515e;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(11, 31, 39, 0.07);
  transition: all 0.2s ease;
}
.policy-tab:hover { border-color: #10b981; color: #00875f; }
.policy-tab.active {
  background: #008a68;
  border-color: #008a68;
  color: #fff;
}
.policy-container {
  max-width: 820px;
  margin: 28px auto 20px;
  padding: 40px 44px;
  background: white;
  border: 1px solid #eef1f4;
  border-radius: 20px;
  box-shadow: 0 6px 28px rgba(11, 31, 39, 0.06);
}
.policy-content h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: #0b1f27;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid #eef1f4;
  letter-spacing: -0.015em;
}
.policy-content h3 {
  font-size: 1.12rem;
  font-weight: 700;
  color: #14313d;
  margin-top: 30px;
  margin-bottom: 10px;
}
.policy-content p {
  color: #4a5a67;
  line-height: 1.8;
  margin-bottom: 15px;
  font-size: 1rem;
}
.policy-content ul {
  margin: 0 0 18px;
  padding-left: 0;
  list-style: none;
}
.policy-content li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 11px;
  color: #4a5a67;
  line-height: 1.75;
  font-size: 0.98rem;
}
.policy-content li::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
}
.policy-content strong { color: #0b1f27; }
.policy-content a { color: #00875f; font-weight: 600; }
.policy-help {
  max-width: 820px;
  margin: 0 auto 46px;
  padding: 18px 22px;
  background: #f4f7f9;
  border: 1px solid #e8edf1;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.policy-help p { margin: 0; font-size: 0.9rem; color: #4a5a67; font-weight: 500; }
.policy-help a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: #fff;
  padding: 11px 20px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 768px) {
  .policy-container { margin: 22px 16px 18px; padding: 26px 20px; }
}

/* ==========================================
   ACCESSIBILITY — VISIBLE FOCUS INDICATORS
   for redesigned interactive inner-page elements
   (Requirements 21.3, 21.4)
   ========================================== */
.cart-clear-btn:focus-visible,
.qty-btn:focus-visible,
.cart-remove:focus-visible,
.checkout-btn:focus-visible,
.place-order-btn:focus-visible,
.sticky-checkout-btn:focus-visible,
.upi-app-btn:focus-visible,
.upi-id-box:focus-visible,
.product-tab:focus-visible,
.pd-add-cart:focus-visible,
.pd-buy-now:focus-visible,
.success-btn-primary:focus-visible,
.success-btn-secondary:focus-visible,
.track-btn:focus-visible,
.policy-tab:focus-visible,
.variant-pill:focus-visible,
.qty-stepper button:focus-visible,
.gallery-thumb:focus-visible,
.gallery-expand-btn:focus-visible,
.lightbox-close:focus-visible,
.lightbox-nav:focus-visible,
.pd-arrow:focus-visible,
.rel-buy:focus-visible,
.rel-cart:focus-visible {
  outline: 3px solid #008a68;
  outline-offset: 2px;
}
.pay-method:focus-within {
  outline: 3px solid #008a68;
  outline-offset: 2px;
}
