/* ============================================================
   Shop Page — Product Grid, Categories, Cart Drawer & Checkout
   Arctic Wolves — Aurora V2 Design Tokens
   ============================================================ */

/* ── Search Form ────────────────────────────────────────── */
.s-search-form {
  padding: 12px 16px 0;
}
.s-search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}
.s-search-wrapper i.fa-search {
  position: absolute;
  left: 14px;
  color: var(--text-tertiary);
  font-size: 14px;
  pointer-events: none;
}
.s-search-input {
  width: 100%;
  padding: 12px 40px 12px 40px;
  background: var(--bg-surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  color: var(--text-primary);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}
.s-search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-subtle);
}
.s-search-input::placeholder {
  color: var(--text-tertiary);
}
.s-search-clear {
  position: absolute;
  right: 12px;
  color: var(--text-tertiary);
  font-size: 16px;
  text-decoration: none;
  padding: 4px;
}

/* ── Category Navigation ────────────────────────────────── */
.shop-categories {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.shop-categories::-webkit-scrollbar {
  display: none;
}
.shop-cat-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  background: var(--bg-surface-2);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  transition: all 0.2s;
  flex-shrink: 0;
}
.shop-cat-btn i {
  font-size: 12px;
}
.shop-cat-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}
.shop-cat-btn:active {
  transform: scale(0.96);
}

/* ── Sort Bar ───────────────────────────────────────────── */
.s-sort-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 16px 4px;
}
.s-sort-btn {
  padding: 6px 10px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-tertiary);
  text-decoration: none;
  transition: all 0.2s;
}
.s-sort-btn.active {
  background: var(--primary-subtle);
  color: var(--primary-light);
}
.s-sort-btn:active {
  transform: scale(0.95);
}

/* ── Product Grid ───────────────────────────────────────── */
.shop-product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 12px 16px 100px;
}

/* ── Product Card ───────────────────────────────────────── */
.shop-product-card {
  position: relative;
  background: var(--bg-surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.shop-product-card:active {
  transform: scale(0.97);
}
.shop-product-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
}
.s-badge-new {
  background: var(--primary);
  color: white;
}
.s-badge-sale {
  background: var(--error);
  color: white;
}
.s-badge-popular {
  background: var(--warning);
  color: #1a1a2e;
}
.shop-product-image {
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  background: var(--glass-light);
}
.shop-product-info {
  padding: 10px;
}
.shop-product-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.shop-product-rating {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-bottom: 6px;
  font-size: 11px;
  color: var(--text-tertiary);
}
.shop-product-rating i {
  font-size: 10px;
}
.shop-product-rating span {
  margin-left: 2px;
}
.shop-product-price {
  font-size: 15px;
  font-weight: 800;
  color: var(--primary-light);
}
.shop-product-original-price {
  font-size: 12px;
  color: var(--text-tertiary);
  text-decoration: line-through;
}
.shop-add-btn {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--primary);
  color: white;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(107, 70, 193, 0.3);
  transition: all 0.2s;
  z-index: 2;
}
.shop-add-btn:active {
  transform: scale(0.88);
}

/* ── Product Detail ─────────────────────────────────────── */
.s-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  margin: 12px 16px 0;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.s-back-btn:active {
  transform: scale(0.96);
  background: var(--tonal-hover);
}
.s-product-detail {
  margin: 12px 16px 100px;
}
.s-product-img-lg {
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  background: var(--glass-light);
  border-radius: var(--radius-lg);
  margin-bottom: 12px;
}
.s-product-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}
.s-size-grid {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.s-size-btn {
  min-width: 44px;
  height: 40px;
  padding: 0 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface-2);
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.s-size-btn.selected {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}
.s-size-btn:active {
  transform: scale(0.95);
}
.s-btn-primary {
  width: 100%;
  padding: 14px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius-lg);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
  box-shadow: var(--shadow-primary);
}
.s-btn-primary:active {
  transform: scale(0.98);
}
.s-btn-disabled {
  width: 100%;
  padding: 14px;
  background: var(--bg-surface-3);
  color: var(--text-tertiary);
  border: none;
  border-radius: var(--radius-lg);
  font-size: 15px;
  font-weight: 700;
  cursor: not-allowed;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.pwa-section-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

/* ── Cart Drawer ────────────────────────────────────────── */
.scd-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  z-index: 999;
  pointer-events: none;
  transition: background 0.3s ease;
}
.scd-overlay.open {
  background: rgba(0, 0, 0, 0.55);
  pointer-events: auto;
}

.scd-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 88%;
  max-width: 400px;
  height: 100vh;
  height: 100dvh;
  background: var(--bg-surface-1);
  z-index: 1000;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.4);
}
.scd-drawer.open {
  transform: translateX(0);
}

/* ── Drawer Header ──────────────────────────────────────── */
.scd-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid var(--border-subtle);
  flex-shrink: 0;
}
.scd-header h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}
.scd-header-count {
  color: var(--primary-light);
}
.scd-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: transparent;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s;
}
.scd-close:hover {
  background: var(--tonal-hover);
  color: var(--text-primary);
}
.scd-close:active {
  transform: scale(0.92);
}

/* ── Free Shipping Bar ──────────────────────────────────── */
.scd-shipping-bar {
  padding: 12px 16px;
  background: var(--glass-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.scd-shipping-track {
  height: 4px;
  background: var(--bg-surface-3);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 6px;
}
.scd-shipping-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--success));
  border-radius: 2px;
  transition: width 0.4s ease;
}
.scd-shipping-text {
  font-size: 11px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}
.scd-shipping-text i {
  font-size: 12px;
}

/* ── Cart Items ─────────────────────────────────────────── */
.scd-items {
  flex: 1;
  overflow-y: auto;
  padding: 0 16px;
  -webkit-overflow-scrolling: touch;
}

.scd-item {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-subtle);
  animation: scdSlideIn 0.25s ease;
}
@keyframes scdSlideIn {
  from { opacity: 0; transform: translateX(16px); }
  to { opacity: 1; transform: translateX(0); }
}

.scd-item-img {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--glass-light);
  display: flex;
  align-items: center;
  justify-content: center;
}
.scd-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.scd-item-emoji {
  font-size: 28px;
  line-height: 1;
}

.scd-item-info {
  flex: 1;
  min-width: 0;
}
.scd-item-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 2px;
}
.scd-item-variant {
  font-size: 11px;
  color: var(--text-tertiary);
  margin-bottom: 4px;
}
.scd-item-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-light);
}

.scd-item-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  flex-shrink: 0;
}

/* ── Quantity Controls ──────────────────────────────────── */
.scd-qty {
  display: flex;
  align-items: center;
  gap: 2px;
}
.scd-qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: transparent;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  cursor: pointer;
  transition: all 0.15s;
}
.scd-qty-btn:active {
  transform: scale(0.88);
  background: var(--primary-subtle);
  border-color: var(--primary);
}
.scd-qty-val {
  min-width: 28px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
}

.scd-remove {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: none;
  background: var(--error-subtle);
  color: var(--error);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  cursor: pointer;
  transition: all 0.15s;
}
.scd-remove:active {
  transform: scale(0.88);
}

/* ── Empty State ────────────────────────────────────────── */
.scd-empty {
  flex: 1;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 40px 20px;
  text-align: center;
}
.scd-empty i {
  font-size: 48px;
  color: var(--text-tertiary);
  opacity: 0.5;
}
.scd-empty p {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
}
.scd-empty-btn {
  margin-top: 8px;
  padding: 10px 24px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.scd-empty-btn:active {
  transform: scale(0.96);
}

/* ── Drawer Footer ──────────────────────────────────────── */
.scd-footer {
  padding: 16px;
  border-top: 1px solid var(--border-subtle);
  flex-shrink: 0;
}

.scd-summary {
  margin-bottom: 12px;
}
.scd-summary-row {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  font-size: 13px;
  color: var(--text-secondary);
}
.scd-total {
  border-top: 1px solid var(--border-subtle);
  margin-top: 8px;
  padding-top: 8px;
  font-weight: 700;
  font-size: 15px;
  color: var(--text-primary);
}

.scd-checkout-btn {
  width: 100%;
  padding: 14px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius-lg);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: var(--shadow-primary);
  margin-bottom: 8px;
}
.scd-checkout-btn:active {
  transform: scale(0.98);
  opacity: 0.9;
}

.scd-continue-btn {
  width: 100%;
  padding: 12px;
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.scd-continue-btn:active {
  transform: scale(0.98);
  background: var(--tonal-hover);
}

/* ── Floating Cart Button (FAB) ─────────────────────────── */
.scd-fab {
  position: fixed;
  bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  right: 16px;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--primary);
  color: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(107, 70, 193, 0.4);
  z-index: 150;
  transition: all 0.2s;
}
.scd-fab:active {
  transform: scale(0.92);
}
.scd-fab .shop-cart-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 20px;
  height: 20px;
  border-radius: 10px;
  background: var(--error);
  color: white;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  box-shadow: 0 2px 6px rgba(248, 113, 113, 0.4);
}

/* ── Checkout Modal ─────────────────────────────────────── */
.ocs-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  z-index: 1100;
  pointer-events: none;
  transition: background 0.3s ease;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.ocs-overlay.open {
  background: rgba(0, 0, 0, 0.6);
  pointer-events: auto;
}

.ocs-modal {
  width: 100%;
  max-width: 480px;
  max-height: 92vh;
  max-height: 92dvh;
  background: var(--bg-surface-1);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.ocs-overlay.open .ocs-modal {
  transform: translateY(0);
}

/* ── Stepper ────────────────────────────────────────────── */
.ocs-stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
  flex-shrink: 0;
}

.ocs-step {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-tertiary);
  transition: all 0.25s;
  white-space: nowrap;
}
.ocs-step-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  transition: all 0.25s;
  flex-shrink: 0;
}
.ocs-step.active {
  color: var(--primary-light);
}
.ocs-step.active .ocs-step-num {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}
.ocs-step.completed {
  color: var(--success);
}
.ocs-step.completed .ocs-step-num {
  background: var(--success);
  border-color: var(--success);
  color: white;
}

.ocs-step-divider {
  width: 20px;
  height: 1px;
  background: var(--border-subtle);
  flex-shrink: 0;
}

/* ── Step Panels ────────────────────────────────────────── */
.ocs-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.ocs-panel {
  display: none;
  padding: 20px;
  animation: ocsFadeIn 0.2s ease;
}
.ocs-panel.active {
  display: block;
}
@keyframes ocsFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.ocs-panel-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.ocs-panel-subtitle {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

/* ── Form Fields ────────────────────────────────────────── */
.ocs-field {
  margin-bottom: 14px;
}
.ocs-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.ocs-field input,
.ocs-field select {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 14px;
  font-family: inherit;
  min-height: 44px;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}
.ocs-field input:focus,
.ocs-field select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-subtle);
}
.ocs-field input::placeholder {
  color: var(--text-tertiary);
}

.ocs-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* ── Express Checkout ───────────────────────────────────── */
.ocs-express {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}
.ocs-express-btn {
  flex: 1;
  padding: 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface-2);
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
  min-height: 44px;
}
.ocs-express-btn:active {
  transform: scale(0.97);
  background: var(--bg-surface-3);
}
.ocs-express-btn.apple-pay {
  background: #000;
  border-color: #333;
  color: #fff;
}
.ocs-express-btn.google-pay {
  background: #fff;
  border-color: #ddd;
  color: #333;
}

.ocs-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
  color: var(--text-tertiary);
  font-size: 12px;
}
.ocs-divider::before,
.ocs-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-subtle);
}

/* ── Confirm Summary ────────────────────────────────────── */
.ocs-confirm-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.ocs-confirm-item-info {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.ocs-confirm-item-name {
  font-size: 13px;
  color: var(--text-primary);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ocs-confirm-item-qty {
  font-size: 12px;
  color: var(--text-tertiary);
  flex-shrink: 0;
}
.ocs-confirm-item-price {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  flex-shrink: 0;
}

.ocs-confirm-totals {
  margin-top: 16px;
}
.ocs-confirm-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 13px;
  color: var(--text-secondary);
}
.ocs-confirm-total {
  border-top: 1px solid var(--border-subtle);
  margin-top: 8px;
  padding-top: 10px;
  font-weight: 700;
  font-size: 15px;
  color: var(--text-primary);
}

/* ── Footer Nav ─────────────────────────────────────────── */
.ocs-footer {
  display: flex;
  gap: 10px;
  padding: 16px 20px;
  border-top: 1px solid var(--border-subtle);
  flex-shrink: 0;
  padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
}

.ocs-back-btn {
  padding: 12px 20px;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.ocs-back-btn:active {
  transform: scale(0.97);
  background: var(--tonal-hover);
}

.ocs-next-btn {
  flex: 1;
  padding: 12px 20px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
  box-shadow: var(--shadow-primary);
}
.ocs-next-btn:active {
  transform: scale(0.97);
}

/* ── Toast ──────────────────────────────────────────────── */
.scd-toast {
  position: fixed;
  bottom: calc(140px + env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--bg-surface-3);
  color: var(--success);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-lg);
  z-index: 2000;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  border: 1px solid var(--success-subtle);
}
.scd-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ── Shipping Same as Billing ───────────────────────────── */
.ocs-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--glass-light);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  cursor: pointer;
  margin-bottom: 14px;
}
.ocs-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  cursor: pointer;
}
.ocs-checkbox span {
  font-size: 13px;
  color: var(--text-primary);
  font-weight: 500;
}

/* ── Payment Card Visual ────────────────────────────────── */
.ocs-card-preview {
  background: linear-gradient(135deg, var(--bg-surface-3), var(--bg-surface-4));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 20px;
}
.ocs-card-number {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 2px;
  margin-bottom: 16px;
  font-family: var(--font-mono);
}
.ocs-card-details {
  display: flex;
  justify-content: space-between;
}
.ocs-card-detail-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-tertiary);
  margin-bottom: 4px;
}
.ocs-card-detail-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

/* ── Shop Hero Banner ───────────────────────────────────── */
.shop-hero {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 16px;
  padding: 20px;
  margin: 0 16px 16px;
  color: white;
}
.shop-hero-tag {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.9;
}
.shop-hero h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 8px 0 4px;
}
.shop-hero p {
  font-size: 14px;
  opacity: 0.8;
}

/* ── Sort Bar (Refined) ──────────────────────────────────── */
.shop-sort-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  margin-bottom: 12px;
}
.shop-sort-options {
  display: flex;
  gap: 8px;
  overflow-x: auto;
}
.shop-sort-btn {
  padding: 6px 12px;
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  background: transparent;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}
.shop-sort-btn.active {
  background: var(--primary-subtle);
  border-color: var(--primary);
  color: var(--primary);
}

/* ── Product Card Hover/Press Effects ────────────────────── */
.shop-product-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.shop-product-card:active {
  transform: scale(0.98);
}
.shop-product-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* ── Category Chips Enhanced ─────────────────────────────── */
.shop-cat-btn {
  transition: all 0.2s ease;
}
.shop-cat-btn:active {
  transform: scale(0.95);
}

/* ── Add to Cart Button Animation ────────────────────────── */
.shop-product-add-btn:active {
  transform: scale(0.9);
  transition: transform 0.1s ease;
}

/* ── Floating Cart Button Pulse ──────────────────────────── */
@keyframes cart-pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}
.shop-cart-fab.pulse {
  animation: cart-pulse 0.3s ease;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (min-width: 480px) {
  .scd-drawer {
    border-left: 1px solid var(--border-subtle);
  }
  .ocs-modal {
    border-radius: var(--radius-xl);
    margin-bottom: 20px;
    max-height: 88vh;
  }
}

/* ── Desktop Cart Drawer (shop.php) ─────────────────────── */
.scd-fab-desktop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 5px 20px rgba(107, 70, 193, 0.4);
  z-index: 150;
  transition: all 0.2s;
}
.scd-fab-desktop:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 28px rgba(107, 70, 193, 0.5);
}
.scd-fab-desktop .shop-cart-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 22px;
  height: 22px;
  border-radius: 11px;
  background: var(--error);
  color: white;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}
