/*
 * Nanobit Theme — WooCommerce-Specific Overrides
 * Styles for WooCommerce template overrides in /woocommerce/.
 * Only uses values from tokens.css via var(--token-name).
 */
/* ============================================================
   NANOBIT THEME — WOOCOMMERCE & PRODUCT STYLES
   Product Cards, Badges, Ratings, Swatches, Grid Layouts,
   and Interactive Quick View AJAX Modal.
   100% token adherence from tokens.css.
   ============================================================ */

/* ── 1. PRODUCT CARD ENGINE ────────────────────────────────── */
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: transform var(--dur-base) var(--ease-soft),
              box-shadow var(--dur-base) var(--ease-soft),
              border-color var(--dur-base) var(--ease-soft);
}

.product-card:hover {
  border-color: var(--color-border-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
  .product-card,
  .product-card:hover {
    transform: none;
    transition: none;
  }
}

/* ── Media & Image Area ── */
.product-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--color-base);
  overflow: hidden;
}

.product-card__gallery-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.product-card__img-wrap {
  position: relative;
  width: 100%;
  height: 100%;
}

.product-card__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: var(--space-3);
  display: block;
  transition: transform var(--dur-base) var(--ease-soft),
              opacity var(--dur-base) var(--ease-soft);
}

.product-card__img--placeholder {
  object-fit: scale-down;
  opacity: 0.5;
}

.product-card__img--secondary {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.product-card.has-secondary-image:hover .product-card__img--primary {
  opacity: 0;
}

.product-card.has-secondary-image:hover .product-card__img--secondary {
  opacity: 1;
  transform: scale(1.04);
}

/* ── Badges Container ── */
.product-card__badges {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 4px;
  pointer-events: none;
}

.product-badge {
  box-shadow: var(--shadow-xs);
}

/* ── Card Floating Action Buttons ── */
.product-card__actions {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.product-card__action-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-ink-soft);
  cursor: pointer;
  padding: 0;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity var(--dur-fast) var(--ease-soft),
              transform var(--dur-fast) var(--ease-soft),
              background var(--dur-fast) var(--ease-soft),
              color var(--dur-fast) var(--ease-soft),
              border-color var(--dur-fast) var(--ease-soft);
}

.product-card:hover .product-card__action-btn,
.product-card:focus-within .product-card__action-btn {
  opacity: 1;
  transform: translateX(0);
}

.product-card__action-btn:nth-child(2) {
  transition-delay: 40ms;
}

.product-card__action-btn:hover {
  background: var(--color-surface-alt);
  color: var(--color-ink);
  border-color: var(--color-border-strong);
}

.product-card__action-btn:focus-visible {
  outline: none;
  box-shadow: var(--ring-focus);
  opacity: 1;
  transform: translateX(0);
}

.product-card__action-btn svg {
  width: 17px;
  height: 17px;
}

.btn-wishlist.is-active {
  color: var(--color-danger);
  border-color: var(--color-danger-soft);
  background: var(--color-danger-soft);
}

.btn-wishlist.is-active svg {
  fill: currentColor;
}

/* Touch devices always show action buttons */
@media (pointer: coarse) {
  .product-card__action-btn {
    opacity: 1;
    transform: none;
    width: 40px;
    height: 40px;
  }
}

/* Sold Out Overlay */
.product-card__sold-out-overlay {
  position: absolute;
  inset: 0;
  background: rgba(25, 21, 18, 0.45);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
}

.product-card__sold-out-overlay span {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--color-surface);
  color: var(--color-ink);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

/* ── Card Info Area ── */
.product-card__info {
  display: flex;
  flex-direction: column;
  padding: var(--space-4);
  flex: 1;
}

.product-card__cat {
  font-size: var(--fs-caption);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-ink-muted);
  margin-bottom: 4px;
}

.product-card__cat a {
  color: inherit;
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-soft);
}

.product-card__cat a:hover {
  color: var(--color-brand-text);
}

.product-card__title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 var(--space-2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card__title a {
  color: var(--color-ink);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-soft);
}

.product-card__title a:hover {
  color: var(--color-brand-text);
}

/* ── Ratings ── */
.product-rating {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--color-ink-muted);
  margin-bottom: var(--space-2);
}

.product-rating__stars {
  display: inline-flex;
  align-items: center;
  gap: 1.5px;
  color: var(--color-accent-strong);
}

.product-rating__stars svg,
.product-rating__stars .star-icon {
  width: 13px;
  height: 13px;
}

.star-icon--filled {
  color: var(--color-accent-strong);
  fill: currentColor;
}

.star-icon--empty {
  color: var(--color-border-strong);
}

.product-rating__score {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--color-ink);
}

.product-rating__count {
  color: var(--color-ink-muted);
  font-size: 11px;
}

/* ── Swatches Preview on Card ── */
.product-swatches {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: var(--space-2);
}

.product-swatch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
}

.product-swatch--color {
  width: 14px;
  height: 14px;
  background: var(--swatch-bg, var(--color-border));
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15), 0 0 0 1px var(--color-surface);
}

.product-swatch--pill {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 1px 6px;
  border-radius: var(--radius-xs);
  background: var(--color-surface-alt);
  color: var(--color-ink-soft);
  border: 1px solid var(--color-border);
}

.product-swatch--more {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  color: var(--color-ink-muted);
}

/* ── Price ── */
.product-card__price {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-ink);
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  margin-bottom: var(--space-3);
  line-height: 1.2;
}

.product-card__price del {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 400;
  color: var(--color-ink-muted);
  text-decoration: line-through;
}

.product-card__price ins {
  text-decoration: none;
  color: var(--color-brand-text);
}

/* ── Card Footer Button ── */
.product-card__footer {
  margin-top: auto;
}

.product-card__btn {
  width: 100%;
  height: 40px;
  font-size: 13.5px;
  border-radius: var(--radius-button);
}

.product-card__btn svg {
  width: 16px;
  height: 16px;
}

.product-card__btn.is-disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

/* ── Stock Indicators ── */
.stock-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
}

.stock-status--in {
  color: var(--color-success);
}

.stock-status--in::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-success);
  box-shadow: 0 0 0 3px var(--color-success-soft);
}

.stock-status--low {
  color: var(--color-warning);
}

.stock-status--low::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-warning);
  box-shadow: 0 0 0 3px var(--color-warning-soft);
}

.stock-status--out {
  color: var(--color-danger);
}

.stock-status--out::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-danger);
}

/* ── 2. QUICK VIEW MODAL & DIALOG ──────────────────────────── */
.quick-view-scrim {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(25, 21, 18, 0.6);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-base) var(--ease-soft),
              visibility var(--dur-base);
}

.quick-view-scrim.is-open {
  opacity: 1;
  visibility: visible;
}

body.quick-view-open {
  overflow: hidden;
}

.quick-view-modal-wrap {
  width: 100%;
  max-width: 880px;
  max-height: calc(100dvh - 32px);
  display: flex;
  justify-content: center;
}

.quick-view-container {
  width: 100%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-2xl);
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  position: relative;
  animation: qv-slide-up var(--dur-base) var(--ease-soft);
}

@keyframes qv-slide-up {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.quick-view-dialog {
  position: relative;
  padding: var(--space-6);
}

.quick-view-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  color: var(--color-ink-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: background var(--dur-fast) var(--ease-soft),
              color var(--dur-fast) var(--ease-soft);
}

.quick-view-close:hover {
  background: var(--color-border);
  color: var(--color-ink);
}

.quick-view-close:focus-visible {
  outline: none;
  box-shadow: var(--ring-focus);
}

.quick-view-close svg {
  width: 18px;
  height: 18px;
}

/* ── Quick View Grid Layout ── */
.quick-view-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: var(--space-6);
  align-items: start;
}

/* ── Quick View Gallery ── */
.quick-view-gallery {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.quick-view-main-image-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--color-base);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quick-view-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.quick-view-main-image {
  width: 100%;
  height: 100%;
}

.qv-main-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: var(--space-4);
  display: block;
  transition: opacity var(--dur-fast) var(--ease-soft);
}

.quick-view-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}

.quick-view-thumbs::-webkit-scrollbar {
  display: none;
}

.quick-view-thumb {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  background: var(--color-base);
  border: 1.5px solid var(--color-border);
  padding: 4px;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color var(--dur-fast) var(--ease-soft),
              transform var(--dur-fast) var(--ease-soft);
}

.quick-view-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.quick-view-thumb.is-active,
.quick-view-thumb:hover {
  border-color: var(--color-brand-cta);
}

.quick-view-thumb:focus-visible {
  outline: none;
  box-shadow: var(--ring-focus);
}

/* ── Quick View Summary ── */
.quick-view-summary {
  display: flex;
  flex-direction: column;
}

.quick-view-meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  padding-right: 36px;
}

.qv-category {
  font-size: var(--fs-caption);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-brand-text);
  text-decoration: none;
}

.qv-sku {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--color-ink-muted);
}

.qv-sku__val {
  color: var(--color-ink);
  font-weight: 600;
}

.quick-view-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 var(--space-2);
}

.quick-view-title a {
  color: var(--color-ink);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-soft);
}

.quick-view-title a:hover {
  color: var(--color-brand-text);
}

.quick-view-rating-wrap {
  margin-bottom: var(--space-2);
}

.quick-view-price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-ink);
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: var(--space-2);
}

.quick-view-price del {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 400;
  color: var(--color-ink-muted);
  text-decoration: line-through;
}

.quick-view-price ins {
  text-decoration: none;
  color: var(--color-brand-text);
}

.quick-view-stock {
  margin-bottom: var(--space-4);
}

.quick-view-desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--color-ink-soft);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--color-border);
}

.quick-view-desc p:last-child {
  margin-bottom: 0;
}

/* ── Variations / Attributes inside Modal ── */
.qv-attr-group {
  margin-bottom: var(--space-3);
}

.qv-attr-label-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  font-size: 13px;
}

.qv-attr-label {
  font-weight: 600;
  color: var(--color-ink);
}

.qv-attr-selected-val {
  font-weight: 500;
  color: var(--color-brand-text);
}

.qv-swatch-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.qv-swatch-btn {
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-ink);
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 500;
  padding: 6px 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--dur-fast) var(--ease-soft),
              background var(--dur-fast) var(--ease-soft),
              color var(--dur-fast) var(--ease-soft);
}

.qv-swatch-btn--color {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  padding: 0;
  position: relative;
  background: var(--swatch-color, #ccc);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15);
}

.qv-swatch-btn:hover {
  border-color: var(--color-border-strong);
}

.qv-swatch-btn.is-selected {
  border-color: var(--color-brand-cta);
  background: var(--color-brand-soft);
  color: var(--color-brand-text);
  font-weight: 600;
}

.qv-swatch-btn--color.is-selected {
  box-shadow: 0 0 0 2px var(--color-surface), 0 0 0 4px var(--color-brand-cta);
}

.qv-swatch-btn:focus-visible {
  outline: none;
  box-shadow: var(--ring-focus);
}

/* ── Quantity Stepper & Add to Cart Row ── */
.qv-actions-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: var(--space-4);
}

.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--color-border-strong);
  border-radius: var(--radius-input);
  background: var(--color-surface);
  height: 46px;
  flex-shrink: 0;
  overflow: hidden;
}

.qty-stepper__btn,
.qty-btn {
  width: 36px;
  height: 100%;
  border: none;
  background: transparent;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--dur-fast) var(--ease-soft);
  padding: 0;
}

.qty-stepper__btn:hover,
.qty-btn:hover {
  background: var(--color-surface-alt);
}

.qty-stepper__btn:focus-visible,
.qty-btn:focus-visible {
  outline: none;
  background: var(--color-surface-alt);
}

.qty-stepper__input,
.qty-input {
  width: 44px;
  height: 100%;
  border: none;
  background: transparent;
  font-family: var(--font-mono);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--color-ink);
  text-align: center;
  -moz-appearance: textfield;
  appearance: textfield;
  padding: 0;
  margin: 0;
}

.qty-stepper__input::-webkit-outer-spin-button,
.qty-stepper__input::-webkit-inner-spin-button,
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.qv-add-to-cart-btn {
  flex: 1;
  height: 46px;
}

.qv-add-to-cart-btn.is-loading {
  opacity: 0.7;
  cursor: wait;
}

.qv-add-to-cart-btn.is-success {
  background: var(--color-success);
  border-color: var(--color-success);
}

.qv-wishlist-btn {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-input);
  border: 1.5px solid var(--color-border-strong);
  background: var(--color-surface);
  color: var(--color-ink-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all var(--dur-fast) var(--ease-soft);
}

.qv-wishlist-btn:hover {
  border-color: var(--color-ink);
  color: var(--color-ink);
  background: var(--color-surface-alt);
}

.qv-wishlist-btn svg {
  width: 20px;
  height: 20px;
}

.qv-error-message {
  font-size: 12.5px;
  color: var(--color-danger);
  margin-top: 8px;
  min-height: 16px;
}

/* ── Trust / Perks ── */
.quick-view-perks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: var(--space-4);
  padding: var(--space-4) 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.qv-perk {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--color-ink-soft);
}

.qv-perk svg {
  width: 16px;
  height: 16px;
  color: var(--color-brand-cta);
  flex-shrink: 0;
}

/* ── View Full Details Link ── */
.quick-view-footer {
  margin-top: var(--space-4);
  text-align: right;
}

.quick-view-full-details {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-brand-text);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-soft);
}

.quick-view-full-details:hover {
  color: var(--color-brand-cta-hover);
}

.quick-view-full-details svg {
  width: 14px;
  height: 14px;
}

/* ── Skeleton Loading State ── */
.quick-view-skeleton {
  padding: var(--space-6);
  position: relative;
}

.qv-skeleton-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: var(--space-6);
}

.qv-skeleton-media {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  background: linear-gradient(90deg, var(--color-surface-alt) 25%, var(--color-border) 50%, var(--color-surface-alt) 75%);
  background-size: 200% 100%;
  animation: nb-skeleton 1.5s infinite;
}

.qv-skeleton-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding-top: var(--space-2);
}

.qv-skeleton-line {
  border-radius: var(--radius-sm);
  background: linear-gradient(90deg, var(--color-surface-alt) 25%, var(--color-border) 50%, var(--color-surface-alt) 75%);
  background-size: 200% 100%;
  animation: nb-skeleton 1.5s infinite;
}

.quick-view-error {
  padding: var(--space-8) var(--space-6);
  text-align: center;
  color: var(--color-danger);
  position: relative;
}

/* ── 3. RESPONSIVE BREAKPOINTS ─────────────────────────────── */
@media (max-width: 760px) {
  .quick-view-grid,
  .qv-skeleton-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .quick-view-dialog,
  .quick-view-skeleton {
    padding: var(--space-4);
  }

  .quick-view-perks {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .quick-view-meta-top {
    padding-right: 0;
    margin-top: var(--space-2);
  }

  .quick-view-title {
    font-size: 1.25rem;
  }
}

@media (max-width: 520px) {
  .qv-actions-row {
    flex-wrap: wrap;
  }

  .qv-add-to-cart-btn {
    min-width: 100%;
    order: 2;
  }

  .qty-stepper {
    flex: 1;
    order: 1;
  }

  .qv-wishlist-btn {
    order: 1;
  }
}

/* ============================================================
   ── 4. SHOP ARCHIVE & CATALOG STYLES
   Hero header, category chips scroll, toolbar, sidebar filters,
   grid/list switcher, pagination, and empty state.
   ============================================================ */

.shop-archive-main,
.search-results-main {
  padding: var(--space-6) 0 var(--space-10);
  background: var(--color-base);
  min-height: calc(100dvh - 380px);
}

/* ── Shop Hero Header ── */
.shop-hero,
.search-hero {
  margin-bottom: var(--space-6);
}

.shop-hero__breadcrumbs,
.search-hero__breadcrumbs {
  margin-bottom: var(--space-3);
}

.shop-hero__content,
.search-hero__content {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6) var(--space-7);
  box-shadow: var(--shadow-sm);
}

.shop-hero__header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-2);
  flex-wrap: wrap;
}

.shop-hero__title,
.search-hero__title {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--color-ink);
  margin: 0;
  line-height: 1.2;
}

.search-hero__query-text {
  color: var(--color-brand-text);
}

.shop-hero__count {
  font-family: var(--font-mono);
  font-size: 12px;
}

.shop-hero__desc,
.search-hero__meta {
  color: var(--color-ink-soft);
  font-size: var(--fs-body);
  line-height: 1.6;
  max-width: 750px;
  margin: 0;
}

/* ── Category Filter Chips (Horizontal Scroll Snap) ── */
.shop-category-chips {
  margin-bottom: var(--space-5);
  position: relative;
}

.shop-category-chips__scroll {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 4px 2px 8px;
  scrollbar-width: none;
}

.shop-category-chips__scroll::-webkit-scrollbar {
  display: none;
}

.category-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 15px;
  border-radius: var(--radius-full);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-ink-soft);
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  scroll-snap-align: start;
  flex-shrink: 0;
  transition: all var(--dur-fast) var(--ease-soft);
  box-shadow: var(--shadow-xs);
}

.category-chip:hover {
  background: var(--color-surface-alt);
  border-color: var(--color-border-strong);
  color: var(--color-ink);
  transform: translateY(-1px);
}

.category-chip.is-active {
  background: var(--color-ink);
  border-color: var(--color-ink);
  color: var(--color-on-dark);
  font-weight: 600;
}

.category-chip.is-active .category-chip__count {
  background: rgba(255, 255, 255, 0.2);
  color: var(--color-on-dark);
}

.category-chip__count {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 1px 6px;
  border-radius: var(--radius-full);
  background: var(--color-surface-alt);
  color: var(--color-ink-muted);
}

/* ── Active Filters Bar ── */
.active-filters-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: var(--space-5);
  padding: 10px 14px;
  background: var(--color-brand-soft);
  border: 1px solid rgba(255, 90, 31, 0.18);
  border-radius: var(--radius-md);
}

.active-filters-bar__label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-brand-on-soft);
  margin-right: 4px;
}

.active-filters-bar__label svg {
  width: 14px;
  height: 14px;
}

.active-filters-bar__tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.active-filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--color-surface);
  border: 1px solid rgba(255, 90, 31, 0.25);
  color: var(--color-ink);
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  transition: all var(--dur-fast) var(--ease-soft);
}

.active-filter-tag:hover {
  background: var(--color-danger-soft);
  border-color: var(--color-danger);
  color: var(--color-danger-text);
}

.active-filter-tag svg {
  width: 12px;
  height: 12px;
}

.active-filter-tag--clear {
  background: transparent;
  border: 1px dashed var(--color-brand-cta);
  color: var(--color-brand-cta);
  font-weight: 600;
}

.active-filter-tag--clear:hover {
  background: var(--color-brand-cta);
  color: var(--color-surface);
}

/* ── Shop Toolbar ── */
.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
  padding: var(--space-3) var(--space-4);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  flex-wrap: wrap;
}

.shop-toolbar__left {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.shop-filter-trigger {
  display: none; /* hidden on desktop, shown on mobile <=980px */
}

.shop-filter-trigger svg {
  width: 16px;
  height: 16px;
}

.filter-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  background: var(--color-brand-cta);
  color: var(--color-surface);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  margin-left: 2px;
}

.shop-toolbar__count {
  font-size: 13.5px;
  color: var(--color-ink-muted);
}

.shop-toolbar__count .woocommerce-result-count {
  margin: 0;
  font-size: inherit;
  color: inherit;
}

.shop-toolbar__right {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-left: auto;
}

/* Layout Switcher */
.shop-view-switcher {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2px;
  background: var(--color-surface-alt);
}

.shop-view-btn {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  border: none;
  background: transparent;
  color: var(--color-ink-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: all var(--dur-fast) var(--ease-soft);
}

.shop-view-btn svg {
  width: 16px;
  height: 16px;
}

.shop-view-btn:hover {
  color: var(--color-ink);
}

.shop-view-btn.is-active {
  background: var(--color-surface);
  color: var(--color-brand-cta);
  box-shadow: var(--shadow-xs);
}

.shop-view-btn:focus-visible {
  outline: none;
  box-shadow: var(--ring-focus);
}

/* Sorting Select Dropdown */
.shop-toolbar__ordering .woocommerce-ordering {
  margin: 0;
}

.shop-toolbar__ordering select.orderby {
  height: 38px;
  padding: 0 32px 0 12px;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 500;
  color: var(--color-ink);
  background: var(--color-surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23736c64' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 10px center;
  background-size: 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-button);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color var(--dur-fast) var(--ease-soft);
}

.shop-toolbar__ordering select.orderby:hover,
.shop-toolbar__ordering select.orderby:focus {
  border-color: var(--color-border-strong);
  outline: none;
}

.shop-toolbar__ordering select.orderby:focus-visible {
  box-shadow: var(--ring-focus);
}

/* ── 5. MAIN CATALOG 2-COLUMN LAYOUT ── */
.shop-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: var(--space-7);
  align-items: start;
}

/* ── Filter Sidebar (Desktop) ── */
.shop-sidebar {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  box-shadow: 0 2px 12px rgba(25, 21, 18, 0.03);
  position: sticky;
  top: calc(var(--header-h, 67px) + 20px);
  max-height: calc(100dvh - 100px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--color-border) transparent;
}

.shop-sidebar__header {
  display: none; /* Only on mobile drawer */
}

.shop-filter-widget {
  padding-bottom: var(--space-4);
  margin-bottom: var(--space-4);
  border-bottom: 1px solid var(--color-border);
}

.shop-filter-widget:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.shop-filter-widget__title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--color-ink);
  margin: 0 0 var(--space-3);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Categories List in Sidebar */
.shop-cat-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.shop-cat-list__item {
  margin: 0;
}

.shop-cat-list__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  color: var(--color-ink-soft);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all var(--dur-fast) var(--ease-soft);
}

.shop-cat-list__link:hover {
  background: var(--color-surface-alt);
  color: var(--color-ink);
  transform: translateX(2px);
}

.shop-cat-list__item.is-active .shop-cat-list__link {
  background: var(--color-brand-soft);
  color: var(--color-brand-cta);
  font-weight: 600;
}

.shop-cat-list__count {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 1px 6px;
  border-radius: var(--radius-full);
  background: var(--color-surface-alt);
  color: var(--color-ink-muted);
}

.shop-cat-list__item.is-active .shop-cat-list__count {
  background: var(--color-surface);
  color: var(--color-brand-cta);
}

/* Price Range Inputs */
.shop-price-inputs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.shop-price-field {
  position: relative;
  flex: 1;
}

.shop-price-field__currency {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--color-ink-muted);
  pointer-events: none;
}

.shop-price-field__input {
  width: 100%;
  height: 38px;
  padding: 0 8px 0 24px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface-alt);
  color: var(--color-ink);
  -moz-appearance: textfield;
  transition: border-color var(--dur-fast) var(--ease-soft), background-color var(--dur-fast) var(--ease-soft);
}

.shop-price-field__input::-webkit-outer-spin-button,
.shop-price-field__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.shop-price-field__input:hover {
  border-color: var(--color-border-strong);
  background: var(--color-surface);
}

.shop-price-field__input:focus {
  border-color: var(--color-brand-cta);
  background: var(--color-surface);
  box-shadow: 0 0 0 3px var(--color-brand-soft);
  outline: none;
}

.shop-price-sep {
  color: var(--color-ink-muted);
  font-weight: 500;
  font-size: 12px;
}

.shop-price-apply-btn {
  width: 100%;
  height: 36px;
  font-size: 12.5px;
  font-weight: 600;
  border-radius: var(--radius-button);
}

/* Custom Checkboxes */
.shop-checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.shop-checkbox-label {
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  font-size: 13px;
  color: var(--color-ink-soft);
  user-select: none;
  padding: 4px 6px;
  border-radius: var(--radius-xs);
  transition: background-color var(--dur-fast) var(--ease-soft), color var(--dur-fast) var(--ease-soft);
}

.shop-checkbox-label:hover {
  background: var(--color-surface-alt);
  color: var(--color-ink);
}

.shop-checkbox-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.shop-checkbox-custom {
  width: 17px;
  height: 17px;
  border-radius: 4px;
  border: 1.5px solid var(--color-border-strong);
  background: var(--color-surface);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--dur-fast) var(--ease-soft);
}

.shop-checkbox-label:hover .shop-checkbox-custom {
  border-color: var(--color-brand-cta);
}

.shop-checkbox-input:checked + .shop-checkbox-custom {
  background: var(--color-brand-cta);
  border-color: var(--color-brand-cta);
}

.shop-checkbox-input:checked + .shop-checkbox-custom::after {
  content: '';
  width: 4px;
  height: 8px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(-0.5px, -0.5px);
}

.shop-checkbox-input:focus-visible + .shop-checkbox-custom {
  box-shadow: var(--ring-focus);
}

.shop-checkbox-count {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--color-ink-muted);
  margin-left: auto;
  padding: 1px 6px;
  border-radius: var(--radius-full);
  background: var(--color-surface-alt);
}

.shop-sidebar__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: var(--space-4);
}

.btn-block {
  width: 100%;
}

/* ── 6. PRODUCTS CATALOG GRID LAYOUTS ── */
.shop-products-grid {
  display: grid;
  gap: var(--space-5);
  margin-bottom: var(--space-8);
}

.shop-grid--3col {
  grid-template-columns: repeat(3, 1fr);
}

.shop-grid--4col {
  grid-template-columns: repeat(4, 1fr);
}

/* List View Modifier */
.shop-grid--list {
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

.shop-grid--list .product-card {
  flex-direction: row;
  align-items: stretch;
}

.shop-grid--list .product-card__media {
  width: 220px;
  aspect-ratio: auto;
  flex-shrink: 0;
}

.shop-grid--list .product-card__info {
  padding: var(--space-5);
}

.shop-grid--list .product-card__title {
  font-size: 1.15rem;
  margin-bottom: var(--space-2);
}

.shop-grid--list .product-card__footer {
  margin-top: var(--space-4);
  max-width: 220px;
}

/* ── 7. ACCESSIBLE PAGINATION ── */
.shop-pagination-wrap,
.search-pagination-wrap {
  display: flex;
  justify-content: center;
  margin-top: var(--space-8);
}

.nanobit-pagination__list {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nanobit-pagination__item {
  margin: 0;
}

.nanobit-pagination__item a,
.nanobit-pagination__item .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: var(--radius-button);
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  color: var(--color-ink);
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--dur-fast) var(--ease-soft);
  box-shadow: var(--shadow-xs);
}

.nanobit-pagination__item a:hover {
  background: var(--color-surface-alt);
  border-color: var(--color-border-strong);
}

.nanobit-pagination__item.is-active .page-numbers,
.nanobit-pagination__item .page-numbers.current {
  background: var(--color-brand-cta);
  border-color: var(--color-brand-cta);
  color: var(--color-surface);
}

/* ── 8. CUSTOM EMPTY CATALOG / SEARCH STATE ── */
.no-products-found {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-10) var(--space-6);
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  box-shadow: var(--shadow-sm);
}

.no-products-found__icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-full);
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  color: var(--color-ink-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
}

.no-products-found__icon-wrap svg {
  width: 32px;
  height: 32px;
}

.no-products-found__title {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--color-ink);
  margin: 0 0 var(--space-2);
}

.no-products-found__desc {
  font-size: 14.5px;
  color: var(--color-ink-soft);
  line-height: 1.6;
  max-width: 500px;
  margin: 0 auto var(--space-6);
}

.no-products-found__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: var(--space-6);
}

.no-products-found__suggestions,
.search-suggestions-box {
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-5);
  margin-top: var(--space-4);
}

.no-products-found__suggestions-label,
.search-suggestions-box__label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-ink-muted);
  margin-bottom: var(--space-3);
}

.no-products-found__suggestions-chips,
.search-suggestions-box__tags {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.chip-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  color: var(--color-ink);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all var(--dur-fast) var(--ease-soft);
}

.chip-item:hover {
  border-color: var(--color-brand-cta);
  color: var(--color-brand-text);
  background: var(--color-brand-soft);
}

/* ── 9. SEARCH RESULTS SPECIFIC STYLES ── */
.search-hero__form {
  margin-top: var(--space-4);
}

.search-hero__input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 600px;
}

.search-hero__input-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--color-ink-muted);
  pointer-events: none;
  z-index: 2;
  transition: color var(--dur-fast) var(--ease-soft);
}

.search-hero__input {
  flex: 1;
  height: 48px;
  padding: 0 110px 0 46px;
  border-radius: var(--radius-button);
  border: 1.5px solid var(--color-border-strong);
  background: var(--color-surface);
  font-family: var(--font-ui);
  font-size: 14.5px;
  color: var(--color-ink);
  box-shadow: var(--shadow-xs);
  transition: border-color var(--dur-fast) var(--ease-soft),
              box-shadow var(--dur-fast) var(--ease-soft);
}

.search-hero__input::placeholder {
  color: var(--color-ink-muted);
  opacity: 0.65;
  font-family: var(--font-ui);
  font-size: 14px;
}

.search-hero__input:focus {
  outline: none;
  border-color: var(--color-brand-cta);
  box-shadow: var(--ring-focus);
}

.search-hero__input-wrap:focus-within .search-hero__input-icon {
  color: var(--color-brand-cta);
}

.search-hero__btn {
  position: absolute;
  right: 4px;
  height: 40px;
  padding: 0 16px;
}

/* Search Tabs */
.search-tabs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 4px;
  margin-bottom: var(--space-6);
  box-shadow: var(--shadow-xs);
}

.search-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-md);
  border: none;
  background: transparent;
  color: var(--color-ink-soft);
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-soft);
}

.search-tab-btn svg {
  width: 16px;
  height: 16px;
}

.search-tab-btn:hover {
  color: var(--color-ink);
}

.search-tab-btn.is-active {
  background: var(--color-ink);
  color: var(--color-surface);
}

.search-tab-count {
  font-family: var(--font-mono);
  font-size: 11.5px;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  background: var(--color-surface-alt);
  color: var(--color-ink);
}

.search-tab-btn.is-active .search-tab-count {
  background: rgba(255, 255, 255, 0.2);
  color: var(--color-surface);
}

.search-tab-btn:focus-visible {
  outline: none;
  box-shadow: var(--ring-focus);
}

.search-panel {
  display: none;
}

.search-panel.is-active {
  display: block;
}

/* Articles Search Grid */
.search-articles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
}

.search-article-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  transition: all var(--dur-base) var(--ease-soft);
}

.search-article-card:hover {
  border-color: var(--color-border-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.search-article-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--color-ink-muted);
  margin-bottom: var(--space-3);
}

.search-article-card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 var(--space-2);
}

.search-article-card__title a {
  color: var(--color-ink);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-soft);
}

.search-article-card__title a:hover {
  color: var(--color-brand-text);
}

.search-article-card__excerpt {
  font-size: 14px;
  color: var(--color-ink-soft);
  line-height: 1.6;
  margin: 0 0 var(--space-4);
  flex: 1;
}

.search-article-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-brand-text);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-soft);
  margin-top: auto;
}

.search-article-card__link:hover {
  color: var(--color-brand-cta-hover);
}

.search-article-card__link svg {
  width: 14px;
  height: 14px;
}

.search-empty-tab {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-6);
  text-align: center;
  max-width: 540px;
  margin: var(--space-4) auto;
}

.search-empty-tab__icon {
  width: 48px;
  height: 48px;
  color: var(--color-ink-muted);
  margin-bottom: var(--space-3);
}

.search-empty-tab h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 var(--space-2);
}

.search-empty-tab p {
  color: var(--color-ink-soft);
  font-size: 14px;
  margin: 0 0 var(--space-4);
}

/* ── 10. RESPONSIVE BREAKPOINTS FOR CATALOG & SEARCH ── */
@media (max-width: 1180px) {
  .shop-grid--4col {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 980px) {
  .shop-filter-trigger {
    display: inline-flex;
  }

  .shop-layout {
    grid-template-columns: 1fr;
  }

  /* Off-canvas mobile filter drawer */
  .shop-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 320px;
    max-width: 85vw;
    height: 100dvh;
    max-height: 100dvh;
    z-index: 120;
    border-radius: 0;
    border: none;
    box-shadow: var(--shadow-2xl);
    transform: translateX(-100%);
    transition: transform var(--dur-base) var(--ease-soft);
    display: flex;
    flex-direction: column;
    padding: 0;
  }

  .shop-sidebar.is-open {
    transform: translateX(0);
  }

  .shop-sidebar__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4) var(--space-5);
    border-bottom: 1px solid var(--color-border);
    background: var(--color-surface-alt);
    flex-shrink: 0;
  }

  .shop-sidebar__title-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-ink);
  }

  .shop-sidebar__title-wrap svg {
    width: 18px;
    height: 18px;
    color: var(--color-brand-cta);
  }

  .shop-sidebar__title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0;
  }

  .shop-sidebar__close {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    color: var(--color-ink-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
  }

  .shop-sidebar__close svg {
    width: 18px;
    height: 18px;
  }

  .shop-sidebar__body {
    flex: 1;
    overflow-y: auto;
    padding: var(--space-5);
    overscroll-behavior: contain;
  }

  /* Scrim overlay */
  .shop-filter-scrim {
    position: fixed;
    inset: 0;
    background: rgba(25, 21, 18, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 110;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--dur-base) var(--ease-soft),
                visibility var(--dur-base);
  }

  .shop-filter-scrim.is-open {
    opacity: 1;
    visibility: visible;
  }

  body.shop-filter-open {
    overflow: hidden;
  }

  .shop-grid--3col,
  .shop-grid--4col {
    grid-template-columns: repeat(2, 1fr);
  }

  .search-articles-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .shop-hero__content,
  .search-hero__content {
    padding: var(--space-5);
  }

  .shop-hero__title,
  .search-hero__title {
    font-size: 1.45rem;
  }

  .shop-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-3);
  }

  .shop-toolbar__left,
  .shop-toolbar__right {
    width: 100%;
    justify-content: space-between;
    margin-left: 0;
  }

  .shop-toolbar__ordering select.orderby {
    width: 100%;
  }

  .shop-grid--list .product-card {
    flex-direction: column;
  }

  .shop-grid--list .product-card__media {
    width: 100%;
    aspect-ratio: 1 / 1;
  }

  .shop-grid--list .product-card__footer {
    max-width: 100%;
  }
}

@media (max-width: 520px) {
  .shop-products-grid {
    gap: var(--space-3);
  }

  .shop-grid--3col,
  .shop-grid--4col {
    grid-template-columns: repeat(2, 1fr);
  }

  .no-products-found {
    padding: var(--space-6) var(--space-4);
  }

  .no-products-found__actions {
    flex-direction: column;
    width: 100%;
  }

  .no-products-found__actions .btn {
    width: 100%;
  }
}

/* ============================================================
   SINGLE PRODUCT PAGE STYLES (Slice 07)
   Gallery, Zoom/Lightbox, Badges, Summary, Swatches,
   Quantity Stepper, Buy Now, Delivery Box, Trust Signals,
   Tabs (Overview, Specs, Reviews, Shipping), Related, Up-sells,
   and Sticky Mobile Add-to-Cart CTA.
   ============================================================ */

/* ── 1. Page Container & Breadcrumbs ───────────────────────── */
.single-product-main {
  padding-top: var(--space-4);
  padding-bottom: var(--space-12);
}

.single-product-container {
  display: flex;
  flex-direction: column;
  gap: var(--space-10);
}

.single-product-container .breadcrumb {
  margin-bottom: var(--space-4);
}

/* ── 2. Two-Column Showcase Layout ─────────────────────────── */
.single-product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: start;
}

/* ── 3. Product Gallery (Left Column) ───────────────────────── */
.single-product-gallery-col {
  position: sticky;
  top: calc(var(--header-height, 70px) + var(--space-4));
}

.product-gallery {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  position: relative;
}

.product-gallery__badges {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.product-gallery__main-wrap {
  position: relative;
  width: 100%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.product-gallery__main {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-base);
  overflow: hidden;
  cursor: zoom-in;
}

.product-gallery__lightbox-trigger {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.product-gallery__main-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: var(--space-6);
  transition: transform var(--dur-base) var(--ease-soft), opacity var(--dur-base) var(--ease-soft);
}

.product-gallery__zoom-btn {
  position: absolute;
  bottom: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-soft), transform var(--dur-fast) var(--ease-soft);
  z-index: 5;
}

.product-gallery__zoom-btn:hover {
  background: var(--color-surface-elevated);
  transform: scale(1.05);
}

.product-gallery__zoom-btn svg {
  width: 18px;
  height: 18px;
}

/* Gallery Thumbnails Strip */
.product-gallery__thumbs {
  display: flex;
  gap: var(--space-3);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  padding-bottom: var(--space-2);
}

.product-gallery__thumbs::-webkit-scrollbar {
  height: 4px;
}

.product-gallery__thumbs::-webkit-scrollbar-thumb {
  background: var(--color-border-strong);
  border-radius: var(--radius-full);
}

.product-gallery__thumb {
  flex: 0 0 76px;
  width: 76px;
  height: 76px;
  padding: var(--space-1);
  background: var(--color-surface);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  scroll-snap-align: start;
  transition: border-color var(--dur-fast) var(--ease-soft), transform var(--dur-fast) var(--ease-soft);
}

.product-gallery__thumb:hover {
  border-color: var(--color-border-strong);
}

.product-gallery__thumb.is-active {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px var(--color-primary-soft);
}

.product-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ── 4. Product Summary & Buy Box (Right Column) ────────────── */
.single-product-summary-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
}

.product-summary__meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.product-summary__category {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-soft);
}

.product-summary__category:hover {
  color: var(--color-primary-hover);
  text-decoration: underline;
}

.product-summary__sku {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-ink-muted);
}

.product-summary__sku-val {
  color: var(--color-ink-soft);
  font-weight: 500;
}

.product-summary__title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-ink);
  margin: 0;
}

/* Rating & Stock row */
.product-summary__rating-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.product-summary__rating {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.product-summary__stock {
  margin-left: auto;
}

/* Price Box */
.product-summary__price-box {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  border-top: 1px dashed var(--color-border);
  border-bottom: 1px dashed var(--color-border);
}

.product-summary__price {
  font-family: var(--font-mono);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--color-ink);
}

.product-summary__price del {
  font-size: 1.15rem;
  color: var(--color-ink-muted);
  font-weight: 400;
  margin-right: var(--space-2);
}

.product-summary__price ins {
  text-decoration: none;
  color: var(--color-accent);
}

.product-summary__savings-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  background: var(--color-accent-soft);
  color: var(--color-accent);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: var(--radius-full);
}

.product-summary__short-desc {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-ink-soft);
}

.product-summary__divider {
  height: 1px;
  background: var(--color-border);
  width: 100%;
}

/* ── 5. Swatches & Variation Selector ──────────────────────── */
.product-summary__form-wrap {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.product-attr-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.product-attr-group__label-row {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  font-size: 0.875rem;
}

.product-attr-group__name {
  font-weight: 600;
  color: var(--color-ink);
}

.product-attr-group__selected-val {
  color: var(--color-primary);
  font-weight: 600;
  font-family: var(--font-mono);
}

.product-swatch-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

/* Color swatch button */
.product-swatch-btn--color {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background-color: var(--swatch-bg, #eee);
  border: 2px solid var(--color-surface);
  outline: 1.5px solid var(--color-border);
  cursor: pointer;
  position: relative;
  transition: outline-color var(--dur-fast) var(--ease-soft), transform var(--dur-fast) var(--ease-soft);
  padding: 0;
}

.product-swatch-btn--color:hover {
  transform: scale(1.1);
  outline-color: var(--color-border-strong);
}

.product-swatch-btn--color.is-selected {
  outline: 2.5px solid var(--color-primary);
  box-shadow: 0 0 0 2px var(--color-primary-soft);
  transform: scale(1.08);
}

/* Text / Pill swatch button */
.product-swatch-btn--pill {
  min-height: 36px;
  padding: var(--space-1) var(--space-4);
  background: var(--color-base);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-ink);
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.product-swatch-btn--pill:hover {
  border-color: var(--color-border-strong);
  background: var(--color-surface-elevated);
}

.product-swatch-btn--pill.is-selected {
  background: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
  box-shadow: 0 2px 6px var(--color-primary-soft);
}

.product-swatch-btn.is-disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
  text-decoration: line-through;
}

/* ── 6. Quantity Stepper & Main Actions ─────────────────────── */
.product-purchase-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
  padding-top: var(--space-2);
}

.product-main-qty.qty-stepper {
  flex: 0 0 auto;
}

.product-summary__cart-btn {
  flex: 1 1 180px;
}

.product-summary__buy-now-btn {
  flex: 1 1 140px;
}

/* Secondary Actions (Wishlist & Share) */
.product-secondary-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-top: var(--space-2);
}

.btn-action-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-ink-soft);
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-soft);
}

.btn-action-pill:hover {
  border-color: var(--color-border-strong);
  color: var(--color-ink);
  background: var(--color-base);
}

.btn-action-pill svg {
  width: 16px;
  height: 16px;
}

.btn-action-pill.is-active {
  color: var(--color-accent);
  border-color: var(--color-accent);
  background: var(--color-accent-soft);
}

/* ── 7. Dynamic Estimated Delivery Box ──────────────────────── */
.product-delivery-estimate-card {
  background: var(--color-base);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.delivery-card-header {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.875rem;
}

.delivery-card-header svg {
  width: 18px;
  height: 18px;
}

.delivery-cutoff-notice {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-accent);
  margin: 0;
}

.delivery-timeline-list {
  list-style: none;
  padding: 0;
  margin: var(--space-2) 0 0 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.delivery-timeline-list li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.8125rem;
  color: var(--color-ink-soft);
}

.delivery-dot {
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  flex-shrink: 0;
}

/* ── 8. Trust Signals 4-Col Row ─────────────────────────────── */
.product-trust-signals {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
  padding-top: var(--space-2);
}

.trust-signal-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3);
  background: var(--color-base);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.trust-signal-item__icon {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-full);
  background: var(--color-primary-soft);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-signal-item__icon svg {
  width: 18px;
  height: 18px;
}

.trust-signal-item__content {
  display: flex;
  flex-direction: column;
}

.trust-signal-item__title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-ink);
  line-height: 1.2;
}

.trust-signal-item__desc {
  font-size: 0.75rem;
  color: var(--color-ink-muted);
  line-height: 1.2;
}

/* ── 9. Product Tabs Section ────────────────────────────────── */
.product-tabs-section {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.product-tabs-nav {
  display: flex;
  overflow-x: auto;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-base);
  scrollbar-width: none;
}

.product-tabs-nav::-webkit-scrollbar {
  display: none;
}

.product-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-6);
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-ink-soft);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--dur-fast) var(--ease-soft);
}

.product-tab-btn svg {
  width: 16px;
  height: 16px;
}

.product-tab-btn:hover {
  color: var(--color-ink);
  background: rgba(0, 0, 0, 0.02);
}

.product-tab-btn.is-active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
  background: var(--color-surface);
}

.product-tabs-content {
  padding: var(--space-8);
}

.product-tab-panel {
  display: block;
}

.product-tab-panel[hidden] {
  display: none;
}

/* Specs Table */
.product-specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.product-specs-table tr {
  border-bottom: 1px solid var(--color-border);
}

.product-specs-table tr:nth-child(even) {
  background: var(--color-base);
}

.product-specs-table__label {
  text-align: left;
  padding: var(--space-3) var(--space-4);
  font-weight: 600;
  color: var(--color-ink);
  width: 30%;
  vertical-align: top;
}

.product-specs-table__value {
  padding: var(--space-3) var(--space-4);
  color: var(--color-ink-soft);
}

/* Reviews Breakdown & List */
.product-reviews-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.reviews-summary-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: var(--space-8);
  background: var(--color-base);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  align-items: center;
}

.reviews-summary-card__score-col {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
}

.reviews-score-large {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  color: var(--color-ink);
}

.reviews-stars-wrap .product-rating {
  margin: 0;
}

.reviews-count-text {
  font-size: 0.8125rem;
  color: var(--color-ink-muted);
}

.reviews-summary-card__breakdown-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.review-breakdown-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: 0.8125rem;
}

.review-breakdown-label {
  width: 48px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-weight: 600;
  color: var(--color-ink);
}

.review-breakdown-label svg {
  width: 12px;
  height: 12px;
  color: var(--color-accent);
}

.review-breakdown-bar {
  flex: 1;
  height: 8px;
  background: var(--color-border);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.review-breakdown-fill {
  height: 100%;
  background: var(--color-accent);
  border-radius: var(--radius-full);
}

.review-breakdown-count {
  width: 24px;
  text-align: right;
  color: var(--color-ink-muted);
  font-family: var(--font-mono);
}

/* Reviews List */
.reviews-list-heading {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-ink);
  margin-bottom: var(--space-4);
}

.reviews-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.review-item {
  padding: var(--space-4);
  background: var(--color-base);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.review-item__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-3);
}

.review-item__author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.review-author-avatar {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--color-primary-soft);
  color: var(--color-primary);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.review-author-name {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--color-ink);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.verified-buyer-badge {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 0.6875rem;
  background: #ecfdf5;
  color: #059669;
  padding: 1px 6px;
  border-radius: var(--radius-full);
  font-weight: 600;
}

.verified-buyer-badge svg {
  width: 10px;
  height: 10px;
}

.review-date {
  font-size: 0.75rem;
  color: var(--color-ink-muted);
}

.review-item__rating {
  display: flex;
  gap: 2px;
}

.review-item__rating .star-icon {
  width: 14px;
  height: 14px;
  color: var(--color-accent);
}

.review-item__body {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--color-ink-soft);
}

/* Review Submission Form */
.review-form-wrapper {
  padding: var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-top: var(--space-4);
}

.review-form-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-ink);
  margin-bottom: var(--space-4);
}

.star-rating-selector {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-1);
}

.star-rating-buttons {
  display: flex;
  gap: 4px;
}

.star-select-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  color: var(--color-border-strong);
  transition: transform var(--dur-fast) var(--ease-soft), color var(--dur-fast) var(--ease-soft);
}

.star-select-btn svg {
  width: 24px;
  height: 24px;
}

.star-select-btn.is-active,
.star-select-btn.is-hover {
  color: var(--color-accent);
}

.star-select-btn:hover {
  transform: scale(1.15);
}

.star-rating-text {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-ink-soft);
  font-family: var(--font-mono);
}

.shipping-policy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}

.shipping-policy-card {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-5);
  background: var(--color-base);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.shipping-policy-card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--color-primary-soft);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.shipping-policy-card__icon svg {
  width: 22px;
  height: 22px;
}

.shipping-policy-card__body h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-ink);
  margin-bottom: var(--space-2);
}

.shipping-policy-card__body ul {
  padding-left: var(--space-4);
  margin: 0;
  font-size: 0.875rem;
  color: var(--color-ink-soft);
  line-height: 1.6;
}

/* ── 10. Sticky Mobile & Desktop Add-to-Cart Bar ────────────── */
.product-sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
  padding: var(--space-3) var(--space-4);
  transform: translateY(100%);
  transition: transform var(--dur-base) var(--ease-soft), opacity var(--dur-base) var(--ease-soft);
  opacity: 0;
}

.product-sticky-cta.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.product-sticky-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.product-sticky-cta__product {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  overflow: hidden;
}

.product-sticky-cta__thumb {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--color-base);
}

.product-sticky-cta__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-sticky-cta__info {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.product-sticky-cta__title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 320px;
}

.product-sticky-cta__price {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-accent);
}

.product-sticky-cta__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.product-sticky-cta__qty {
  display: flex;
}

.product-sticky-cta__btn {
  padding: var(--space-2) var(--space-5);
  font-size: 0.875rem;
  white-space: nowrap;
}

/* ── 11. Responsive Breakpoints ─────────────────────────────── */
@media (max-width: 980px) {
  .single-product-layout {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .single-product-gallery-col {
    position: static;
  }

  .shipping-policy-grid {
    grid-template-columns: 1fr;
  }

  .reviews-summary-card {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }
}

@media (max-width: 760px) {
  .single-product-summary-col {
    padding: var(--space-4);
  }

  .product-trust-signals {
    grid-template-columns: 1fr;
  }

  .product-tabs-content {
    padding: var(--space-4);
  }

  .product-sticky-cta {
    padding-bottom: calc(var(--space-3) + env(safe-area-inset-bottom, 0px));
  }

  .product-sticky-cta__product {
    max-width: 50%;
  }

  .product-sticky-cta__qty {
    display: none;
  }
}

@media (max-width: 520px) {
  .product-purchase-row {
    flex-direction: column;
    align-items: stretch;
  }

  .product-purchase-row .qty-stepper {
    width: 100%;
    justify-content: space-between;
  }

  .product-purchase-row .qty-stepper .qty-input {
    flex: 1;
  }

  .product-summary__cart-btn,
  .product-summary__buy-now-btn {
    width: 100%;
  }

  .product-secondary-actions {
    flex-direction: column;
  }

  .btn-action-pill {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================================
   NANOBIT THEME — SLICE 08: MINI-CART DRAWER & FULL CART PAGE
   100% token adherence from tokens.css
   ============================================================ */

/* ── 12. FREE SHIPPING PROGRESS BAR ────────────────────────── */
.free-shipping-bar {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.free-shipping-bar__header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: 13.5px;
  color: var(--color-ink-soft);
  line-height: 1.4;
}

.free-shipping-bar__icon {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  background: var(--color-primary-soft);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.free-shipping-bar.is-qualified .free-shipping-bar__icon {
  background: var(--color-success-soft);
  color: var(--color-success);
}

.free-shipping-bar__icon svg {
  width: 15px;
  height: 15px;
}

.free-shipping-bar__text {
  flex: 1;
}

.free-shipping-bar__text strong {
  color: var(--color-ink);
}

.free-shipping-bar__progress {
  width: 100%;
  height: 6px;
  background: var(--color-surface-alt);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}

.free-shipping-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-brand-cta), var(--color-accent));
  border-radius: var(--radius-full);
  transition: width var(--dur-base) var(--ease-soft);
}

.free-shipping-bar.is-qualified .free-shipping-bar__fill {
  background: var(--color-success);
}

/* ── 13. MINI-CART SLIDE-IN DRAWER ─────────────────────────── */
.mini-cart-scrim {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(25, 21, 18, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-slow) var(--ease-soft), visibility var(--dur-slow);
}

.mini-cart-scrim.is-open {
  opacity: 1;
  visibility: visible;
}

body.mini-cart-open {
  overflow: hidden;
}

.mini-cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 440px;
  background: var(--color-surface);
  border-left: 1px solid var(--color-border);
  box-shadow: var(--shadow-2xl);
  z-index: 105;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform var(--dur-slow) var(--ease-spring), visibility var(--dur-slow);
}

.mini-cart-drawer.is-open {
  transform: translateX(0);
  visibility: visible;
}

/* Drawer Header */
.mini-cart-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-base);
  flex-shrink: 0;
}

.mini-cart-drawer__title {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-ink);
}

.mini-cart-drawer__title-icon {
  width: 20px;
  height: 20px;
  color: var(--color-brand-text);
}

.mini-cart-drawer__count {
  position: static;
  min-width: 20px;
  height: 20px;
  box-shadow: none;
  font-size: 11px;
}

.mini-cart-drawer__close {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-full);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-ink-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: background var(--dur-fast) var(--ease-soft), color var(--dur-fast) var(--ease-soft);
}

.mini-cart-drawer__close:hover {
  background: var(--color-surface-alt);
  color: var(--color-ink);
}

.mini-cart-drawer__close svg {
  width: 16px;
  height: 16px;
}

/* Drawer Body */
.mini-cart-drawer__body {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
}

.mini-cart-shipping-bar-wrap {
  padding: var(--space-3) var(--space-4) 0;
  flex-shrink: 0;
}

/* Drawer Empty State */
.mini-cart-empty {
  padding: var(--space-8) var(--space-6);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: auto;
}

.mini-cart-empty__icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  background: var(--color-surface-alt);
  color: var(--color-ink-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
}

.mini-cart-empty__icon svg {
  width: 32px;
  height: 32px;
}

.mini-cart-empty__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-ink);
  margin-bottom: var(--space-2);
}

.mini-cart-empty__text {
  font-size: 13.5px;
  color: var(--color-ink-soft);
  line-height: 1.5;
  margin-bottom: var(--space-5);
  max-width: 280px;
}

.mini-cart-empty__btn {
  gap: 8px;
  padding: 10px 24px;
}

/* Drawer Items List */
.mini-cart__items {
  list-style: none;
  margin: 0;
  padding: var(--space-3) var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  flex: 1;
}

.mini-cart-item {
  display: flex;
  gap: var(--space-3);
  padding: var(--space-3);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  position: relative;
  transition: opacity var(--dur-fast) var(--ease-soft), transform var(--dur-fast) var(--ease-soft);
}

.mini-cart-item.is-removing {
  opacity: 0;
  transform: translateX(16px);
  pointer-events: none;
}

.mini-cart-item__media {
  width: 68px;
  height: 68px;
  border-radius: var(--radius-sm);
  background: var(--color-base);
  border: 1px solid var(--color-border);
  overflow: hidden;
  flex-shrink: 0;
}

.mini-cart-item__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}

.mini-cart-item__details {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.mini-cart-item__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-2);
  margin-bottom: 4px;
}

.mini-cart-item__title {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.35;
  margin: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.mini-cart-item__title a {
  color: var(--color-ink);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-soft);
}

.mini-cart-item__title a:hover {
  color: var(--color-brand-text);
}

.mini-cart-item__remove {
  background: transparent;
  border: none;
  color: var(--color-ink-muted);
  cursor: pointer;
  padding: 2px;
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--dur-fast) var(--ease-soft), background var(--dur-fast) var(--ease-soft);
  flex-shrink: 0;
}

.mini-cart-item__remove:hover {
  color: var(--color-danger);
  background: var(--color-danger-soft);
}

.mini-cart-item__remove svg {
  width: 15px;
  height: 15px;
}

.mini-cart-item__meta {
  font-size: 11.5px;
  color: var(--color-ink-muted);
  margin-bottom: 6px;
}

.mini-cart-item__meta dl {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
}

.mini-cart-item__meta dt {
  font-weight: 600;
}

.mini-cart-item__meta dd {
  margin: 0;
}

.mini-cart-item__pricing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.mini-cart-item__price {
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--color-accent);
}

.qty-stepper--mini {
  height: 28px;
  border-radius: var(--radius-xs);
  background: var(--color-surface-alt);
}

.qty-stepper--mini .qty-btn {
  width: 24px;
  height: 100%;
}

.qty-stepper--mini .qty-btn svg {
  width: 11px;
  height: 11px;
}

.qty-stepper--mini .qty-input {
  width: 32px;
  font-size: 12px;
}

/* Drawer Footer */
.mini-cart__footer {
  padding: var(--space-4) var(--space-5);
  background: var(--color-base);
  border-top: 1px solid var(--color-border);
  flex-shrink: 0;
}

.mini-cart__subtotal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.mini-cart__subtotal-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-ink);
}

.mini-cart__subtotal-value {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-ink);
}

.mini-cart__tax-note {
  font-size: 12px;
  color: var(--color-ink-muted);
  margin-bottom: var(--space-4);
}

.mini-cart__cta-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: var(--space-4);
}

.mini-cart__btn-checkout {
  gap: 8px;
  height: 44px;
}

.mini-cart__btn-view-cart {
  height: 38px;
  font-size: 13.5px;
}

.mini-cart__trust {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-border);
}

.mini-cart__trust-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--color-ink-muted);
}

.mini-cart__trust-pill svg {
  width: 13px;
  height: 13px;
  color: var(--color-success);
}

/* ── 14. FULL CART PAGE EXPERIENCE ─────────────────────────── */
.nanobit-cart-wrapper,
.cart-page-main {
  padding: var(--space-6) 0 var(--space-10);
  background: var(--color-base);
}

.cart-breadcrumbs-wrap {
  margin-bottom: var(--space-4);
}

.cart-page-header {
  margin-bottom: var(--space-6);
}

.cart-page-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-ink);
  letter-spacing: -0.02em;
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.cart-page-title__count {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-ink-muted);
  font-family: var(--font-mono);
}

.cart-layout-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--space-6);
  align-items: start;
}

.cart-main-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.cart-shipping-bar-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  box-shadow: var(--shadow-xs);
}

.cart-shipping-bar-card .free-shipping-bar {
  border: none;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.cart-form-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}

.cart-items-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.cart-items-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.cart-items-table thead th {
  background: var(--color-surface-alt);
  padding: 14px 18px;
  font-family: var(--font-ui);
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-ink-muted);
  border-bottom: 1px solid var(--color-border);
}

.cart-items-table th.product-thumbnail { width: 96px; }
.cart-items-table th.product-name { min-width: 220px; }
.cart-items-table th.product-price { width: 120px; }
.cart-items-table th.product-quantity { width: 140px; }
.cart-items-table th.product-subtotal { width: 130px; }
.cart-items-table th.product-remove { width: 52px; text-align: center; }

.cart-item-row {
  border-bottom: 1px solid var(--color-border);
  transition: background var(--dur-fast) var(--ease-soft), opacity var(--dur-fast) var(--ease-soft);
}

.cart-item-row:last-child {
  border-bottom: none;
}

.cart-item-row.is-removing {
  opacity: 0;
  background: var(--color-danger-soft);
}

.cart-items-table td {
  padding: 18px;
  vertical-align: middle;
}

.cart-items-table td.product-remove {
  text-align: center;
}

.cart-item-thumb {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  background: var(--color-base);
  border: 1px solid var(--color-border);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cart-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}

.cart-item-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cart-item-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  margin: 0;
}

.cart-item-title a {
  color: var(--color-ink);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-soft);
}

.cart-item-title a:hover {
  color: var(--color-brand-text);
}

.cart-item-meta {
  font-size: 12px;
  color: var(--color-ink-muted);
}

.cart-item-meta dl,
.cart-item-meta .variation {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  align-items: center;
}

.cart-item-meta dt,
.cart-item-meta .variation dt {
  font-weight: 600;
  color: var(--color-ink-soft);
  margin: 0;
}

.cart-item-meta dd,
.cart-item-meta .variation dd {
  margin: 0;
}

.cart-item-meta dd p,
.cart-item-meta .variation dd p {
  margin: 0;
  display: inline;
}

.cart-item-unit-price,
.cart-item-line-subtotal {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-ink);
  white-space: nowrap;
}

.cart-item-line-subtotal {
  color: var(--color-accent-strong);
  font-weight: 700;
}

.cart-item-remove-btn {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-full);
  background: transparent;
  border: 1px solid transparent;
  color: var(--color-ink-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: color var(--dur-fast) var(--ease-soft),
              background var(--dur-fast) var(--ease-soft),
              border-color var(--dur-fast) var(--ease-soft);
}

.cart-item-remove-btn:hover {
  color: var(--color-danger);
  background: var(--color-danger-soft);
  border-color: rgba(220, 38, 38, 0.2);
}

.cart-item-remove-btn svg {
  width: 16px;
  height: 16px;
}

/* Cart Actions Bar */
.cart-actions-bar {
  padding: 16px 20px;
  background: var(--color-base);
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.cart-coupon-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cart-coupon-input-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-coupon-input-inner {
  position: relative;
  display: flex;
  align-items: center;
}

.cart-coupon-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--color-ink-muted);
  pointer-events: none;
  z-index: 2;
}

.cart-coupon-input,
input[type="text"].cart-coupon-input {
  height: 42px !important;
  border-radius: var(--radius-button);
  border: 1.5px solid var(--color-border);
  background: var(--color-surface);
  padding: 0 16px 0 40px !important;
  font-family: var(--font-ui);
  font-size: 13.5px;
  color: var(--color-ink);
  min-width: 250px;
  transition: border-color var(--dur-fast) var(--ease-soft), box-shadow var(--dur-fast) var(--ease-soft);
  box-sizing: border-box;
}

.cart-coupon-input:focus,
input[type="text"].cart-coupon-input:focus {
  outline: none;
  border-color: var(--color-brand-cta);
  box-shadow: var(--ring-focus);
}

.cart-coupon-submit {
  height: 42px !important;
  padding: 0 20px !important;
  font-weight: 600 !important;
}

.cart-coupon-feedback {
  font-size: 12.5px;
  font-weight: 500;
  padding: 4px 8px;
  border-radius: var(--radius-xs);
}

.cart-coupon-feedback.is-success {
  color: var(--color-success);
  background: var(--color-success-soft);
}

.cart-coupon-feedback.is-error {
  color: var(--color-danger);
  background: var(--color-danger-soft);
}

.cart-utility-buttons {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.cart-btn-continue {
  height: 42px !important;
  gap: 8px;
  padding: 0 18px !important;
  font-size: 13.5px;
}

/* Cross-Sells Section */
.cart-cross-sells-section {
  margin-top: var(--space-6);
}

.cart-cross-sells-section h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-ink);
  margin-bottom: var(--space-4);
}

.cart-cross-sells-section ul.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ── 15. STICKY ORDER SUMMARY SIDEBAR ──────────────────────── */
.cart-totals-card {
  position: sticky;
  top: 90px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.cart-totals-card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-ink);
  margin: 0;
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--color-border);
}

.cart-totals-card__rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-totals-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
}

.cart-totals-row__label {
  color: var(--color-ink-soft);
}

.cart-totals-row__value {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--color-ink);
}

.free-shipping-tag {
  font-size: 11.5px;
  font-weight: 700;
  background: var(--color-success-soft);
  color: var(--color-success);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.cart-totals-divider {
  height: 1px;
  background: var(--color-border);
  margin: 4px 0;
}

.cart-totals-row--total {
  font-size: 1.15rem;
  padding-top: 4px;
}

.cart-totals-row--total .cart-totals-row__label {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-ink);
}

.cart-totals-row__value--grand {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent);
}

.cart-totals-card__checkout {
  margin-top: var(--space-2);
}

.cart-totals-card__checkout .checkout-button,
.woocommerce .cart-totals-card__checkout a.checkout-button,
.woocommerce-page .cart-totals-card__checkout a.checkout-button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 50px !important;
  padding: 0 24px !important;
  background: var(--color-brand-cta) !important;
  color: #ffffff !important;
  font-family: var(--font-ui) !important;
  font-size: 15.5px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  border-radius: var(--radius-button) !important;
  border: none !important;
  line-height: 1 !important;
  gap: 10px !important;
  box-shadow: var(--shadow-sm) !important;
  transition: background var(--dur-base) var(--ease-soft), transform var(--dur-fast) var(--ease-soft), box-shadow var(--dur-base) var(--ease-soft) !important;
  box-sizing: border-box !important;
}

.cart-totals-card__checkout .checkout-button:hover,
.woocommerce .cart-totals-card__checkout a.checkout-button:hover,
.woocommerce-page .cart-totals-card__checkout a.checkout-button:hover {
  background: var(--color-brand-cta-hover) !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
  box-shadow: var(--shadow-md) !important;
}

.cart-totals-card__checkout .checkout-button:active,
.woocommerce .cart-totals-card__checkout a.checkout-button:active {
  background: var(--color-brand-cta-press) !important;
  transform: translateY(0) !important;
}

.cart-totals-card__checkout .checkout-button span,
.woocommerce .cart-totals-card__checkout a.checkout-button span {
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 15.5px !important;
  line-height: 1 !important;
}

.cart-totals-card__checkout .checkout-button svg,
.woocommerce .cart-totals-card__checkout a.checkout-button svg {
  width: 18px !important;
  height: 18px !important;
  color: #ffffff !important;
  stroke: #ffffff !important;
  fill: none !important;
  stroke-width: 2 !important;
  flex-shrink: 0 !important;
}

.cart-totals-guarantees {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
}

.guarantee-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--color-ink-soft);
}

.guarantee-item svg {
  width: 15px;
  height: 15px;
  color: var(--color-brand-text);
  flex-shrink: 0;
}

/* ── 16. WOOCOMMERCE GLOBAL NOTICES ────────────────────────── */
.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: var(--space-5);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-xs);
}

.woocommerce-message {
  background: var(--color-success-soft);
  color: var(--color-success);
  border-color: rgba(15, 112, 64, 0.25);
}

.woocommerce-error {
  background: var(--color-danger-soft);
  color: var(--color-danger-text);
  border-color: rgba(209, 57, 43, 0.25);
  list-style: none;
}

.woocommerce-info {
  background: var(--color-info-soft);
  color: var(--color-info);
  border-color: rgba(45, 111, 176, 0.25);
}

.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-error .button {
  margin-left: auto;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-button);
  background: var(--color-surface);
  color: var(--color-ink);
  border: 1px solid var(--color-border);
  text-decoration: none;
  transition: background var(--dur-fast) var(--ease-soft);
}

.woocommerce-message .button:hover,
.woocommerce-info .button:hover,
.woocommerce-error .button:hover {
  background: var(--color-surface-alt);
  color: var(--color-ink);
}

/* ── 18. UNIVERSAL WOOCOMMERCE CART COMPATIBILITY (Classic & Blocks) ── */
.woocommerce-cart .woocommerce,
.woocommerce-cart .entry-content,
.woocommerce-cart .entry-content--wc {
  color: var(--color-ink);
}

/* Classic WooCommerce Cart Table */
.woocommerce table.cart,
.woocommerce-page table.cart,
.woocommerce table.shop_table,
.woocommerce-page table.shop_table {
  border-collapse: collapse;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
}

.woocommerce table.cart th,
.woocommerce table.shop_table th {
  background: var(--color-surface-alt);
  color: var(--color-ink-muted);
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 14px 18px;
  border-bottom: 1px solid var(--color-border);
}

.woocommerce table.cart td,
.woocommerce table.shop_table td {
  padding: 16px 18px;
  vertical-align: middle;
  border-top: 1px solid var(--color-border);
  color: var(--color-ink);
}

.woocommerce table.cart td.actions {
  background: var(--color-base);
  padding: 16px 20px;
}

.woocommerce table.cart td.actions .coupon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.woocommerce table.cart td.actions .coupon .input-text {
  height: 42px !important;
  border-radius: var(--radius-button);
  border: 1.5px solid var(--color-border);
  padding: 0 16px;
  font-family: var(--font-ui);
  font-size: 13.5px;
  color: var(--color-ink);
  background: var(--color-surface);
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  background: var(--color-brand-cta) !important;
  color: #ffffff !important;
  font-family: var(--font-ui) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  height: 42px !important;
  padding: 0 20px !important;
  border-radius: var(--radius-button) !important;
  border: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: background var(--dur-fast) var(--ease-soft), transform var(--dur-fast) var(--ease-soft) !important;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  background: var(--color-brand-cta-hover) !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}

.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
  background: var(--color-brand-cta) !important;
  color: #ffffff !important;
}

.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
  background: var(--color-brand-cta-hover) !important;
  color: #ffffff !important;
}

/* WooCommerce Cart Totals Box (Classic) */
.woocommerce .cart-collaterals .cart_totals,
.woocommerce-page .cart-collaterals .cart_totals {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
}

.woocommerce .cart-collaterals .cart_totals h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-ink);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--color-border);
}

.woocommerce .cart-collaterals .cart_totals .wc-proceed-to-checkout a.checkout-button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 50px !important;
  padding: 0 24px !important;
  background: var(--color-brand-cta) !important;
  color: #ffffff !important;
  font-family: var(--font-ui) !important;
  font-size: 15.5px !important;
  font-weight: 700 !important;
  border-radius: var(--radius-button) !important;
  margin-top: var(--space-4);
  text-decoration: none !important;
  box-shadow: var(--shadow-sm) !important;
}

/* ── 19. WOOCOMMERCE BLOCKS CART SUPPORT ───────────────────── */
.wp-block-woocommerce-cart,
.wc-block-cart {
  color: var(--color-ink);
  font-family: var(--font-ui);
}

.wc-block-cart .wc-block-components-button,
.wc-block-cart .wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button {
  background: var(--color-brand-cta) !important;
  color: #ffffff !important;
  border-radius: var(--radius-button) !important;
  font-family: var(--font-ui) !important;
  font-weight: 700 !important;
  height: 48px !important;
  transition: background var(--dur-fast) var(--ease-soft) !important;
}

.wc-block-cart .wc-block-components-button:hover,
.wc-block-cart .wc-block-cart__submit-button:hover {
  background: var(--color-brand-cta-hover) !important;
  color: #ffffff !important;
}

.wc-block-components-quantity-selector {
  border: 1.5px solid var(--color-border-strong) !important;
  border-radius: var(--radius-button) !important;
  background: var(--color-surface) !important;
}

.wc-block-components-quantity-selector__button {
  color: var(--color-ink) !important;
}

.wc-block-components-quantity-selector__input {
  color: var(--color-ink) !important;
  font-family: var(--font-mono) !important;
  font-weight: 600 !important;
}

/* ── 17. CART EMPTY STATE PAGE ─────────────────────────────── */
.cart-empty-state {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-10) var(--space-6);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: var(--shadow-sm);
  margin: var(--space-4) 0;
}

.cart-empty-state__icon {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-full);
  background: var(--color-surface-alt);
  color: var(--color-ink-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
}

.cart-empty-state__icon svg {
  width: 40px;
  height: 40px;
}

.cart-empty-state__title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-ink);
  margin-bottom: var(--space-2);
}

.cart-empty-state__text {
  font-size: 14.5px;
  color: var(--color-ink-soft);
  max-width: 460px;
  line-height: 1.6;
  margin-bottom: var(--space-6);
}

.cart-empty-state__actions .btn {
  gap: 8px;
}

/* ── 17. TOAST NOTIFICATIONS CONTAINER ─────────────────────── */
.nanobit-toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 120;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.nanobit-toast {
  pointer-events: auto;
  background: var(--color-surface);
  color: var(--color-ink);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-ui);
  font-size: 13.5px;
  font-weight: 500;
  min-width: 280px;
  max-width: 400px;
  animation: toast-slide-in var(--dur-base) var(--ease-spring);
  transition: transform var(--dur-fast) var(--ease-soft), opacity var(--dur-fast) var(--ease-soft);
}

@keyframes toast-slide-in {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.nanobit-toast.is-exiting {
  opacity: 0;
  transform: translateY(10px) scale(0.95);
}

.toast-icon-wrap {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nanobit-toast--success .toast-icon-wrap {
  background: var(--color-success-soft);
  color: var(--color-success);
}

.nanobit-toast--error .toast-icon-wrap {
  background: var(--color-danger-soft);
  color: var(--color-danger);
}

.nanobit-toast--info .toast-icon-wrap {
  background: var(--color-primary-soft);
  color: var(--color-primary);
}

.toast-icon {
  width: 14px;
  height: 14px;
}

.toast-message {
  flex: 1;
  line-height: 1.4;
}

.toast-close {
  background: transparent;
  border: none;
  color: var(--color-ink-muted);
  cursor: pointer;
  padding: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--dur-fast) var(--ease-soft);
}

.toast-close:hover {
  color: var(--color-ink);
}

.toast-close svg {
  width: 14px;
  height: 14px;
}

/* ── 18. MICRO-ANIMATIONS ──────────────────────────────────── */
@keyframes cart-badge-bounce {
  0%   { transform: scale(1); }
  35%  { transform: scale(1.35); }
  65%  { transform: scale(0.85); }
  100% { transform: scale(1); }
}

.badge-bounce {
  animation: cart-badge-bounce 0.5s var(--ease-spring);
}

.qty-stepper.is-busy {
  opacity: 0.6;
  pointer-events: none;
}

/* ── 19. RESPONSIVE CART BREAKPOINTS ───────────────────────── */
@media (max-width: 980px) {
  .cart-layout-grid {
    grid-template-columns: 1fr;
  }

  .cart-totals-card {
    position: static;
  }

  .cart-cross-sells-section ul.products {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .cart-actions-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .cart-coupon-input {
    min-width: 0;
    flex: 1;
  }

  .cart-utility-buttons {
    justify-content: center;
  }

  .nanobit-toast-container {
    left: 16px;
    right: 16px;
    bottom: calc(70px + env(safe-area-inset-bottom, 0px));
  }

  .nanobit-toast {
    min-width: 0;
    max-width: none;
  }
}

@media (max-width: 600px) {
  .cart-items-table thead {
    display: none;
  }

  .cart-item-row {
    display: grid;
    grid-template-columns: 72px 1fr;
    grid-template-areas:
      "thumb name"
      "thumb price"
      "qty subtotal"
      "remove remove";
    gap: 12px;
    padding: var(--space-4);
  }

  .cart-items-table td {
    padding: 0;
    border: none;
  }

  .cart-item-row .product-thumbnail {
    grid-area: thumb;
  }

  .cart-item-row .product-name {
    grid-area: name;
  }

  .cart-item-row .product-price {
    grid-area: price;
  }

  .cart-item-row .product-quantity {
    grid-area: qty;
  }

  .cart-item-row .product-subtotal {
    grid-area: subtotal;
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }

  .cart-item-row .product-remove {
    grid-area: remove;
    display: flex;
    justify-content: flex-end;
    border-top: 1px solid var(--color-border);
    padding-top: 8px;
  }

  .cart-cross-sells-section ul.products {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   NANOBIT THEME — SLICE 09: CHECKOUT & ORDER CONFIRMATION
   Streamlined 2-Column Checkout Layout, bKash & COD Gateways,
   Sticky Order Review, 4-Step Order Progress Timeline & Print Styles.
   100% token adherence from tokens.css.
   ============================================================ */

/* ── 1. CHECKOUT WRAPPER & TRUST BANNER ────────────────────── */
.nanobit-checkout-container {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0 0 var(--space-10);
}

.checkout-breadcrumbs-wrap {
  margin-bottom: var(--space-4);
}

.checkout-trust-banner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 14px 20px;
  margin-bottom: var(--space-6);
  box-shadow: var(--shadow-xs);
}

.checkout-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-label);
  font-weight: 500;
  color: var(--color-ink-muted);
}

.checkout-trust-item svg {
  width: 18px;
  height: 18px;
  color: var(--color-brand-cta);
  flex-shrink: 0;
}

/* Coupon Toggle Box on Checkout */
.woocommerce-form-coupon-toggle {
  margin-bottom: var(--space-5);
}

.woocommerce-form-coupon-toggle .woocommerce-info,
.woocommerce-checkout .woocommerce-info {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 8px 12px !important;
  padding: 16px 20px 16px 54px !important;
  background: var(--color-surface) !important;
  border: 1.5px dashed var(--color-border-strong) !important;
  border-radius: var(--radius-lg) !important;
  color: var(--color-ink) !important;
  font-family: var(--font-ui) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  box-shadow: var(--shadow-xs) !important;
}

.woocommerce-form-coupon-toggle .woocommerce-info::before,
.woocommerce-checkout .woocommerce-info::before {
  content: "" !important;
  position: absolute !important;
  left: 20px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 20px !important;
  height: 20px !important;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c93a0a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.59 13.41l-7.17 7.17a2 2 0 0 1-2.83 0L2 12V2h10l8.59 8.59a2 2 0 0 1 0 2.82z'%3E%3C/path%3E%3Cline x1='7' y1='7' x2='7.01' y2='7'%3E%3C/line%3E%3C/svg%3E") no-repeat center center / contain !important;
  margin: 0 !important;
  flex-shrink: 0 !important;
}

.woocommerce-form-coupon-toggle .woocommerce-info a.showcoupon {
  color: var(--color-brand-cta);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--dur-fast) var(--ease-soft);
}

.woocommerce-form-coupon-toggle .woocommerce-info a.showcoupon:hover {
  color: var(--color-brand-cta-hover);
}

/* Slide-down Coupon Form on Checkout */
form.checkout_coupon,
form.woocommerce-form-coupon {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-bottom: var(--space-6);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

form.checkout_coupon p {
  margin: 0;
  font-size: 13.5px;
  color: var(--color-ink-soft);
}

form.checkout_coupon .form-row-first,
form.checkout_coupon .form-row-last {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  display: inline-flex;
}

form.checkout_coupon .input-text {
  height: 44px !important;
  border-radius: var(--radius-button);
  border: 1.5px solid var(--color-border);
  padding: 0 16px;
  font-size: 14px;
  color: var(--color-ink);
  background: var(--color-surface);
  min-width: 260px;
}

form.checkout_coupon .button {
  height: 44px !important;
  padding: 0 24px !important;
  background: var(--color-brand-cta) !important;
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  border-radius: var(--radius-button) !important;
}

.checkout-notices-wrapper .woocommerce-NoticeGroup,
.checkout-notices-wrapper .woocommerce-error,
.checkout-notices-wrapper .woocommerce-info {
  margin-bottom: var(--space-6);
  border-radius: var(--radius-md);
}

/* Prevent duplicate shipping method radios in right column order review table */
.woocommerce-checkout-review-order-table tr.shipping,
.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals,
#order_review table.shop_table tr.shipping,
#order_review table.shop_table tr.woocommerce-shipping-totals {
  display: none !important;
}

/* ── 2. 2-COLUMN CHECKOUT GRID ─────────────────────────────── */
.checkout-grid-layout {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: var(--space-7);
  align-items: start;
}

.checkout-col--details {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.checkout-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color var(--dur-base) var(--ease-soft);
}

.checkout-card:focus-within {
  border-color: var(--color-border-strong);
}

.checkout-card__header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-base);
}

.checkout-card__header--summary {
  justify-content: space-between;
  background: var(--color-surface);
}

.checkout-card__step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--color-brand-cta);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 700;
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

.checkout-card__title {
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 700;
  color: var(--color-ink);
  margin: 0;
  line-height: 1.25;
}

.checkout-card__subtitle {
  font-size: var(--fs-caption);
  color: var(--color-ink-muted);
  margin: 2px 0 0;
}

.checkout-card__body {
  padding: 22px;
}

.checkout-card__body--shipping {
  padding: 18px 22px;
}

.checkout-items-count {
  font-size: var(--fs-label);
  color: var(--color-ink-muted);
  font-weight: 500;
  margin-left: 4px;
}

.checkout-edit-cart-link {
  font-size: var(--fs-caption);
  font-weight: 600;
  color: var(--color-brand-text);
  text-decoration: none;
  transition: color var(--dur-fast);
}

.checkout-edit-cart-link:hover {
  text-decoration: underline;
}

/* ── 3. FORM FIELDS & LABELS ───────────────────────────────── */
.woocommerce-billing-fields .woocommerce-billing-fields__field-wrapper,
.woocommerce-shipping-fields .woocommerce-shipping-fields__field-wrapper,
.woocommerce-additional-fields .woocommerce-additional-fields__field-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  width: 100%;
}

.woocommerce-billing-fields .form-row,
.woocommerce-shipping-fields .form-row,
.woocommerce-additional-fields .form-row,
.nanobit-input-wrap {
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
}

.woocommerce-billing-fields .form-row.form-row-wide,
.woocommerce-shipping-fields .form-row.form-row-wide,
.woocommerce-additional-fields .form-row.form-row-wide {
  grid-column: 1 / -1;
  width: 100% !important;
}

.woocommerce-billing-fields .form-row.form-row-first,
.woocommerce-shipping-fields .form-row.form-row-first {
  grid-column: 1 / 2;
  width: 100% !important;
}

.woocommerce-billing-fields .form-row.form-row-last,
.woocommerce-shipping-fields .form-row.form-row-last {
  grid-column: 2 / 3;
  width: 100% !important;
}

.woocommerce-billing-fields label,
.woocommerce-shipping-fields label,
.woocommerce-additional-fields label,
.nanobit-input-wrap label {
  display: block;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-ink);
  margin-bottom: 6px;
  line-height: 1.4;
}

.woocommerce-billing-fields label .required,
.woocommerce-billing-fields label abbr.required,
.nanobit-input-wrap label .required,
.nanobit-input-wrap label abbr.required {
  color: var(--color-brand-cta);
  text-decoration: none;
  border: none;
  font-weight: 700;
  margin-left: 2px;
}

.woocommerce-input-wrapper {
  display: block;
  width: 100%;
}

.woocommerce-input-wrapper input.input-text,
.woocommerce-input-wrapper select,
.nanobit-input-wrap input.input-text {
  width: 100%;
  height: 46px;
  padding: 0 16px;
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-input);
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 450;
  color: var(--color-ink);
  outline: none;
  transition: border-color var(--dur-fast) var(--ease-soft),
              box-shadow var(--dur-fast) var(--ease-soft),
              background-color var(--dur-fast) var(--ease-soft);
}

.woocommerce-input-wrapper textarea,
.nanobit-input-wrap textarea {
  width: 100%;
  min-height: 96px;
  padding: 12px 16px;
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-input);
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 450;
  color: var(--color-ink);
  line-height: 1.55;
  outline: none;
  resize: vertical;
  transition: border-color var(--dur-fast) var(--ease-soft),
              box-shadow var(--dur-fast) var(--ease-soft),
              background-color var(--dur-fast) var(--ease-soft);
}

.woocommerce-input-wrapper input.input-text:hover,
.woocommerce-input-wrapper textarea:hover,
.nanobit-input-wrap input.input-text:hover,
.nanobit-input-wrap textarea:hover {
  border-color: var(--color-border-strong);
}

.woocommerce-input-wrapper input.input-text:focus,
.woocommerce-input-wrapper textarea:focus,
.nanobit-input-wrap input.input-text:focus,
.nanobit-input-wrap textarea:focus {
  outline: none;
  border-color: var(--color-brand-cta);
  box-shadow: var(--ring-focus);
  background: #ffffff;
}

.nanobit-custom-checkbox {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  cursor: pointer;
  font-size: var(--fs-label);
  color: var(--color-ink-soft);
  user-select: none;
  margin-top: var(--space-3);
}

.nanobit-custom-checkbox input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: var(--color-brand-cta);
  cursor: pointer;
}

/* ── 4. SHIPPING METHODS ON CHECKOUT ───────────────────────── */
.nanobit-shipping-methods-wrap ul#shipping_method {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nanobit-shipping-methods-wrap ul#shipping_method li {
  position: relative;
  display: flex;
  align-items: center;
  padding: 14px 18px;
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-input);
  cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease-soft), background var(--dur-fast) var(--ease-soft), box-shadow var(--dur-fast) var(--ease-soft);
  user-select: none;
}

.nanobit-shipping-methods-wrap ul#shipping_method li:hover {
  border-color: var(--color-border-strong);
  background: var(--color-surface-alt);
}

.nanobit-shipping-methods-wrap ul#shipping_method li:has(input[type="radio"]:checked) {
  border-color: var(--color-brand-cta);
  background: var(--color-brand-soft);
  box-shadow: 0 0 0 1px var(--color-brand-cta);
}

.nanobit-shipping-methods-wrap ul#shipping_method li input[type="radio"] {
  margin: 0 12px 0 0;
  width: 18px;
  height: 18px;
  accent-color: var(--color-brand-cta);
  cursor: pointer;
  flex-shrink: 0;
}

.nanobit-shipping-methods-wrap ul#shipping_method li label {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  margin: 0;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-ink);
  line-height: 1.4;
}

.nanobit-shipping-methods-wrap ul#shipping_method li label .amount {
  font-family: var(--font-mono);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--color-brand-cta);
}

/* ── 5. STICKY ORDER REVIEW & ITEMS ────────────────────────── */
.checkout-summary-sticky {
  position: sticky;
  top: calc(var(--header-h, 67px) + 20px);
}

.checkout-review-order-wrap {
  padding: 18px 22px;
  border-bottom: 1px solid var(--color-border);
}

.nanobit-review-table {
  width: 100%;
  border-collapse: collapse;
}

.nanobit-review-table thead {
  display: none;
}

.checkout-review-row {
  border-bottom: 1px solid var(--color-border);
}

.checkout-review-row:last-child {
  border-bottom: none;
}

.checkout-review-row td {
  padding: 12px 0;
  vertical-align: middle;
}

.checkout-review-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.checkout-review-item__thumb-wrap {
  position: relative;
  width: 50px;
  height: 50px;
  background: var(--color-base);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: visible;
  flex-shrink: 0;
}

.checkout-review-item__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 2px;
  border-radius: var(--radius-sm);
}

.checkout-review-item__qty-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 20px;
  height: 20px;
  background: var(--color-ink);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.25);
}

.checkout-review-item__details {
  flex: 1;
  min-width: 0;
}

.checkout-review-item__title {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-ink);
  margin: 0 0 2px;
  line-height: 1.35;
}

.checkout-review-item__title a {
  color: inherit;
  text-decoration: none;
  transition: color var(--dur-fast);
}

.checkout-review-item__title a:hover {
  color: var(--color-brand-text);
}

.checkout-review-row .product-total {
  text-align: right;
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--color-ink);
  white-space: nowrap;
}

/* ── Order Review Totals Footer ── */
.nanobit-review-table tfoot tr {
  border-top: 1px solid var(--color-border);
}

.nanobit-review-table tfoot th,
.nanobit-review-table tfoot td {
  padding: 8px 0;
  font-size: var(--fs-label);
}

.nanobit-review-table tfoot th {
  font-weight: 500;
  color: var(--color-ink-muted);
  text-align: left;
}

.nanobit-review-table tfoot td {
  text-align: right;
  color: var(--color-ink);
  font-family: var(--font-mono);
  font-weight: 600;
}

.nanobit-review-table tfoot .coupon-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--color-success);
}

.nanobit-review-table tfoot .coupon-label svg {
  width: 14px;
  height: 14px;
}

.nanobit-review-table tfoot .order-total {
  border-top: 2px solid var(--color-border);
}

.nanobit-review-table tfoot .order-total th {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--color-ink);
  padding-top: 14px;
}

.nanobit-review-table tfoot .order-total td {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--color-brand-cta);
  padding-top: 14px;
}

/* ── 6. PAYMENT METHOD SELECTOR & RADIO CARDS ──────────────── */
.nanobit-payment-section {
  padding: 22px;
}

.nanobit-payment-title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-ink-muted);
  margin: 0 0 var(--space-4);
}

.nanobit-payment-methods-list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-5);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nanobit-payment-method-item {
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-input);
  background: var(--color-surface);
  overflow: hidden;
  transition: all var(--dur-fast) var(--ease-soft);
}

.nanobit-payment-method-item:hover {
  border-color: var(--color-border-strong);
}

.nanobit-payment-method-item.selected,
.nanobit-payment-method-item:has(input[type="radio"]:checked) {
  border-color: var(--color-brand-cta);
  box-shadow: 0 0 0 1px var(--color-brand-cta);
  background: var(--color-surface);
}

.nanobit-payment-method-radio-wrap {
  display: flex;
  align-items: center;
  padding: 14px 16px;
  cursor: pointer;
  gap: 12px;
}

.nanobit-payment-radio {
  width: 18px;
  height: 18px;
  accent-color: var(--color-brand-cta);
  cursor: pointer;
  flex-shrink: 0;
}

.nanobit-payment-method-label {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  margin: 0;
  cursor: pointer;
}

.nanobit-payment-method-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--color-base);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-brand-cta);
  flex-shrink: 0;
}

.nanobit-payment-method-icon svg {
  width: 18px;
  height: 18px;
}

.nanobit-payment-method-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nanobit-payment-method-title {
  font-family: var(--font-ui);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--color-ink);
}

.nanobit-payment-method-subtitle {
  font-size: var(--fs-caption);
  color: var(--color-ink-muted);
}

.nanobit-bkash-mini-tag {
  display: inline-block;
  background: #d946ef;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 5px;
  border-radius: 3px;
  line-height: 1;
  text-transform: uppercase;
}

.nanobit-payment-box {
  padding: 16px;
  background: var(--color-base);
  border-top: 1px solid var(--color-border);
  font-size: 13px;
  color: var(--color-ink);
  line-height: 1.55;
}

/* ── 7. BKASH CUSTOM CONTAINER ─────────────────────────────── */
.nanobit-bkash-container {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.nanobit-bkash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-2);
  padding: 12px 14px;
  background: #fdf2f8;
  border: 1px solid #fbcfe8;
  border-radius: var(--radius-input);
}

.nanobit-bkash-badge {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nanobit-bkash-logo-text {
  color: #d946ef;
  font-weight: 800;
  font-size: 14px;
}

.nanobit-bkash-badge-type {
  font-size: 10px;
  font-weight: 600;
  background: #f43f5e;
  color: #ffffff;
  padding: 1px 6px;
  border-radius: var(--radius-full);
}

.nanobit-bkash-number-row {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.nanobit-bkash-number {
  font-size: 14px;
  color: #86198f;
  font-family: var(--font-mono);
  font-weight: 700;
}

.nanobit-bkash-copy-btn {
  padding: 3px 8px;
  font-size: 11px;
  height: 26px;
  border-radius: var(--radius-xs);
}

.nanobit-bkash-copy-btn svg {
  width: 12px;
  height: 12px;
}

.nanobit-bkash-instructions {
  font-size: var(--fs-caption);
  color: var(--color-ink-muted);
}

.nanobit-bkash-steps {
  margin: 0 0 var(--space-2);
  line-height: 1.5;
}

.nanobit-bkash-amount-due {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: var(--color-surface);
  border: 1px dashed #fbcfe8;
  border-radius: var(--radius-sm);
  font-size: var(--fs-caption);
}

.nanobit-bkash-amount-due strong {
  color: #86198f;
  font-size: 14px;
  font-family: var(--font-mono);
}

.nanobit-bkash-inputs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  margin-top: var(--space-2);
}

/* ── 8. PLACE ORDER BUTTON & TRUST GUARANTEE ───────────────── */
.nanobit-place-order-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  width: 100%;
  min-height: 52px;
  background: var(--color-brand-cta);
  color: #ffffff;
  border: none;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--radius-button);
  box-shadow: var(--shadow-md);
  margin-top: var(--space-4);
  cursor: pointer;
  transition: all var(--dur-base) var(--ease-soft);
}

.nanobit-place-order-btn:hover {
  background: var(--color-brand-cta-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.nanobit-place-order-btn:active {
  background: var(--color-brand-cta-press);
  transform: translateY(0);
}

.nanobit-place-order-lock svg {
  width: 18px;
  height: 18px;
}

.checkout-guarantee-badge {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 22px;
  background: var(--color-base);
  border-top: 1px solid var(--color-border);
}

.checkout-guarantee-badge .guarantee-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-success);
  flex-shrink: 0;
}

.checkout-guarantee-badge .guarantee-icon svg {
  width: 16px;
  height: 16px;
}

.checkout-guarantee-badge .guarantee-text strong {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--color-ink);
}

.checkout-guarantee-badge .guarantee-text p {
  margin: 2px 0 0;
  font-size: 11.5px;
  color: var(--color-ink-muted);
}

/* ── 9. THANK YOU / ORDER CONFIRMATION PAGE ────────────────── */
.nanobit-thankyou-container {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: var(--space-6) var(--space-4) var(--space-16);
}

.thankyou-hero {
  text-align: center;
  margin-bottom: var(--space-8);
}

.thankyou-hero__icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  background: var(--color-success-bg, #ecfdf5);
  border: 2px solid var(--color-success, #10b981);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
  box-shadow: 0 0 0 8px rgba(16, 185, 129, 0.12);
  animation: pulse-badge 2s infinite ease-in-out;
}

@keyframes pulse-badge {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.25); }
  70% { box-shadow: 0 0 0 12px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.thankyou-hero__check-icon svg {
  width: 36px;
  height: 36px;
  color: var(--color-success, #10b981);
  stroke-width: 3;
}

.thankyou-hero__icon-wrap--failed {
  background: #fef2f2;
  border-color: #ef4444;
  box-shadow: 0 0 0 8px rgba(239, 68, 68, 0.12);
  animation: none;
}

.thankyou-hero__icon-wrap--failed svg {
  width: 36px;
  height: 36px;
  color: #ef4444;
}

.thankyou-hero__title {
  font-size: var(--font-size-2xl);
  font-weight: 800;
  color: var(--color-text);
  margin: 0 0 var(--space-2);
}

.thankyou-hero__subtitle {
  font-size: var(--font-size-base);
  color: var(--color-text-muted);
  max-width: 580px;
  margin: 0 auto var(--space-2);
}

.thankyou-hero__email-notice {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
  background: var(--color-surface-subtle);
  border: 1px solid var(--color-border);
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

.thankyou-hero__email-notice svg {
  width: 14px;
  height: 14px;
  color: var(--color-primary);
}

.thankyou-hero__actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  margin-top: var(--space-6);
}

/* ── 10. 4-STEP ORDER PROGRESS TIMELINE ────────────────────── */
.thankyou-timeline-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: var(--space-6);
  margin-bottom: var(--space-6);
  box-shadow: var(--shadow-sm);
}

.thankyou-timeline-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--color-border-subtle);
}

.thankyou-timeline-title {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--font-size-base);
  font-weight: 700;
  color: var(--color-text);
  margin: 0;
}

.thankyou-timeline-title svg {
  width: 18px;
  height: 18px;
  color: var(--color-primary);
}

.thankyou-timeline-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-2);
  position: relative;
}

.timeline-step {
  display: flex;
  flex-direction: column;
  position: relative;
}

.timeline-step__marker {
  display: flex;
  align-items: center;
  position: relative;
  margin-bottom: var(--space-3);
}

.timeline-step__circle {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface-subtle);
  border: 2px solid var(--color-border);
  color: var(--color-text-muted);
  z-index: 2;
  transition: all var(--dur-base);
}

.timeline-step__circle svg {
  width: 16px;
  height: 16px;
}

.timeline-step__line {
  position: absolute;
  top: 50%;
  left: 36px;
  right: -50%;
  height: 2px;
  background: var(--color-border);
  z-index: 1;
}

.timeline-step__content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.timeline-step__title {
  font-size: var(--font-size-xs);
  font-weight: 700;
  color: var(--color-text-muted);
}

.timeline-step__desc {
  font-size: 11px;
  color: var(--color-text-muted);
  line-height: 1.3;
}

/* Timeline Step States */
.timeline-step--completed .timeline-step__circle {
  background: var(--color-success, #10b981);
  border-color: var(--color-success, #10b981);
  color: #ffffff;
}

.timeline-step--completed .timeline-step__line {
  background: var(--color-success, #10b981);
}

.timeline-step--completed .timeline-step__title {
  color: var(--color-text);
}

.timeline-step--current .timeline-step__circle {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2);
}

.timeline-step--current .timeline-step__title {
  color: var(--color-primary);
}

/* ── 11. QUICK METRICS GRID ────────────────────────────────── */
.thankyou-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.metric-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: var(--space-4);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.metric-card__label {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
  font-weight: 500;
}

.metric-card__value {
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--color-text);
}

.metric-card__value--price {
  color: var(--color-primary);
  font-size: var(--font-size-base);
}

.metric-card__subtag {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: #86198f;
  margin-top: 2px;
}

/* ── 12. 2-COLUMN DETAILS GRID ─────────────────────────────── */
.thankyou-details-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-6);
  align-items: start;
}

.thankyou-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--space-6);
}

.thankyou-card:last-child {
  margin-bottom: 0;
}

.thankyou-card__title {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--font-size-base);
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--color-border-subtle);
}

.thankyou-card__title svg {
  width: 18px;
  height: 18px;
  color: var(--color-primary);
}

.thankyou-items-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.thankyou-item-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--color-border-subtle);
}

.thankyou-item-row:last-child {
  border-bottom: none;
}

.thankyou-item__thumb-wrap {
  position: relative;
  width: 48px;
  height: 48px;
  background: var(--color-surface-subtle);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-base);
  flex-shrink: 0;
}

.thankyou-item__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 2px;
}

.thankyou-item__qty-pill {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--color-text-muted);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 4px;
  border-radius: var(--radius-full);
}

.thankyou-item__info {
  flex: 1;
  min-width: 0;
}

.thankyou-item__name {
  font-size: var(--font-size-xs);
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 2px;
}

.thankyou-item__name a {
  color: inherit;
  text-decoration: none;
}

.thankyou-item__name a:hover {
  color: var(--color-primary);
}

.thankyou-item__total {
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--color-text);
  white-space: nowrap;
}

/* Thank You Totals */
.thankyou-totals-table {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
}

.thankyou-total-row {
  display: flex;
  justify-content: space-between;
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

.thankyou-total-row--grand {
  font-size: var(--font-size-base);
  font-weight: 800;
  color: var(--color-primary);
  padding-top: var(--space-2);
  border-top: 1px solid var(--color-border);
}

.thankyou-customer-note {
  margin-top: var(--space-4);
  padding: var(--space-3);
  background: var(--color-surface-subtle);
  border-radius: var(--radius-base);
  font-size: var(--font-size-xs);
}

.thankyou-address-box p {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
  margin: 0 0 var(--space-2);
}

.thankyou-address-box p svg {
  width: 14px;
  height: 14px;
  color: var(--color-primary);
}

.thankyou-address-name strong {
  font-size: var(--font-size-sm);
  color: var(--color-text);
}

.thankyou-address-text {
  font-size: var(--font-size-xs);
  color: var(--color-text);
  line-height: 1.4;
  margin-top: var(--space-2);
}

.thankyou-payment-instruction {
  padding: var(--space-3);
  border-radius: var(--radius-base);
  font-size: var(--font-size-xs);
  margin-top: var(--space-2);
}

.thankyou-payment-instruction--cod {
  background: var(--color-surface-subtle);
  border-left: 3px solid var(--color-primary);
}

.thankyou-payment-instruction--bkash {
  background: #fdf2f8;
  border-left: 3px solid #d946ef;
}

.nanobit-code {
  font-family: monospace;
  font-size: 13px;
  background: #fce7f3;
  color: #86198f;
  padding: 2px 6px;
  border-radius: 3px;
}

/* Guest Track Order Card */
.thankyou-card--track {
  background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-surface-subtle) 100%);
  border: 1px solid var(--color-primary-subtle, var(--color-border));
}

.thankyou-track-title {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 var(--space-2);
}

.thankyou-track-title svg {
  width: 16px;
  height: 16px;
  color: var(--color-primary);
}

.thankyou-track-desc {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
  margin: 0 0 var(--space-4);
  line-height: 1.4;
}

.thankyou-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

/* ── 13. STATUS BADGE COMPONENT ────────────────────────────── */
.nb-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  text-transform: capitalize;
}

.nb-status-dot {
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background: currentColor;
}

.nb-status-badge--pending-confirm,
.nb-status-badge--wc-pending-confirm {
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #bfdbfe;
}

.nb-status-badge--processing,
.nb-status-badge--wc-processing {
  background: #fef3c7;
  color: #d97706;
  border: 1px solid #fde68a;
}

.nb-status-badge--shipped,
.nb-status-badge--wc-shipped {
  background: #f3e8ff;
  color: #9333ea;
  border: 1px solid #e9d5ff;
}

.nb-status-badge--completed,
.nb-status-badge--wc-completed {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}

.nb-status-badge--cancelled,
.nb-status-badge--wc-cancelled,
.nb-status-badge--failed,
.nb-status-badge--wc-failed {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

/* ── 14. RESPONSIVE BREAKPOINTS ────────────────────────────── */
@media (max-width: 980px) {
  .checkout-trust-banner {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
  }

  .checkout-grid-layout,
  .thankyou-details-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .checkout-summary-sticky {
    position: static;
  }

  .thankyou-timeline-track {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .timeline-step__marker {
    margin-bottom: 0;
  }

  .timeline-step__line {
    top: 36px;
    left: 17px;
    right: auto;
    width: 2px;
    height: 100%;
  }

  .timeline-step {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: var(--space-3);
    align-items: start;
  }

  .thankyou-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .checkout-trust-banner {
    grid-template-columns: 1fr;
  }

  .woocommerce-billing-fields .woocommerce-billing-fields__field-wrapper,
  .nanobit-bkash-inputs-grid {
    grid-template-columns: 1fr;
  }

  .form-row.form-row-first,
  .form-row.form-row-last {
    grid-column: 1 / -1;
  }

  .thankyou-metrics-grid {
    grid-template-columns: 1fr;
  }

  .thankyou-hero__actions {
    display: flex;
    flex-direction: column;
  }
}

/* ═════════════════════════════════════════════════════════════════════════════
   16. GUEST ORDER TRACKING SYSTEM (SLICE 10)
   ═════════════════════════════════════════════════════════════════════════════ */
.page-tracking {
  background-color: var(--color-surface-subtle);
  min-height: 80vh;
  padding-bottom: var(--space-12);
}

.tracking-breadcrumbs-bar {
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--color-border);
  background-color: var(--color-surface);
}

.tracking-hero-section {
  padding: var(--space-8) 0 var(--space-6);
}

.tracking-hero-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: var(--space-8) var(--space-8);
  box-shadow: var(--shadow-sm);
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.tracking-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: var(--color-brand-soft, rgba(37, 99, 235, 0.08));
  color: var(--color-brand-cta);
  font-size: var(--font-size-xs);
  font-weight: 600;
  margin-bottom: var(--space-4);
}

.tracking-hero-badge svg {
  width: 15px;
  height: 15px;
}

.tracking-hero-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  color: var(--color-ink);
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-3);
}

.tracking-hero-desc {
  font-family: var(--font-ui);
  font-size: var(--font-size-base);
  color: var(--color-ink-muted);
  max-width: 580px;
  margin: 0 auto var(--space-6);
  line-height: 1.55;
}

.tracking-form-card {
  text-align: left;
  background: var(--color-surface-subtle);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}

.tracking-search-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.tracking-search-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr auto;
  gap: var(--space-4);
  align-items: flex-end;
}

.tracking-input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tracking-label {
  font-family: var(--font-ui);
  font-size: var(--font-size-xs);
  font-weight: 600;
  color: var(--color-ink);
}

.tracking-label .required {
  color: var(--color-danger);
  margin-left: 2px;
}

.tracking-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.tracking-input-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-ink-muted);
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: color var(--dur-fast) var(--ease-soft);
}

.tracking-input-icon svg {
  width: 18px;
  height: 18px;
}

.tracking-input {
  width: 100%;
  height: 48px;
  padding: 0 16px 0 46px;
  font-family: var(--font-ui);
  font-size: 14px;
  color: var(--color-ink);
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  outline: none;
  transition: border-color var(--dur-fast) var(--ease-soft),
              box-shadow var(--dur-fast) var(--ease-soft),
              background-color var(--dur-fast) var(--ease-soft);
}

.tracking-input::placeholder {
  color: var(--color-ink-muted);
  opacity: 0.65;
  font-size: 13.5px;
  font-family: var(--font-ui);
  letter-spacing: normal;
  transition: opacity var(--dur-fast) var(--ease-soft);
}

.tracking-input:hover {
  border-color: var(--color-border-strong);
}

.tracking-input:focus {
  border-color: var(--color-brand-cta);
  box-shadow: var(--ring-focus);
  background: #ffffff;
}

.tracking-input:focus::placeholder {
  opacity: 0.4;
}

.tracking-input-wrapper:focus-within .tracking-input-icon {
  color: var(--color-brand-cta);
}

.tracking-submit-btn {
  height: 48px;
  padding: 0 var(--space-6);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  white-space: nowrap;
}

.tracking-alert {
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  font-size: var(--font-size-sm);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.tracking-alert--error {
  background: var(--color-danger-soft);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: var(--color-danger);
}

.tracking-alert--standalone {
  max-width: 860px;
  margin: var(--space-6) auto 0;
}

/* Dynamic Results Container */
.tracking-results-section {
  padding-bottom: var(--space-8);
}

.tracking-results-container {
  max-width: 1020px;
  margin: 0 auto;
}

.tracking-result-wrapper {
  animation: fade-in-up 0.35s var(--ease-soft);
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tracking-result-header {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: var(--space-6);
  margin-bottom: var(--space-6);
  box-shadow: var(--shadow-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
}

.tracking-result-header__badge-wrap {
  margin-bottom: var(--space-2);
}

.tracking-result-header__title {
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 700;
  color: var(--color-ink);
  margin: 0 0 4px;
}

.tracking-result-header__meta {
  font-size: var(--font-size-xs);
  color: var(--color-ink-muted);
  margin: 0;
}

.tracking-result-header__meta .meta-sep {
  margin: 0 6px;
}

.tracking-timeline-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: var(--space-6);
  margin-bottom: var(--space-6);
  box-shadow: var(--shadow-sm);
}

.tracking-timeline-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--color-border);
}

.tracking-card-title {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--font-size-base);
  font-weight: 700;
  color: var(--color-ink);
  margin: 0;
}

.tracking-card-title svg {
  width: 18px;
  height: 18px;
  color: var(--color-brand-cta);
}

.tracking-timeline-status-text {
  font-size: var(--font-size-xs);
  color: var(--color-ink-muted);
}

.tracking-timeline-status-text strong {
  color: var(--color-ink);
}

/* Guide Card */
.tracking-guide-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
}

.tracking-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.tracking-guide-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-2);
}

.tracking-guide-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: var(--color-brand-soft, rgba(37, 99, 235, 0.08));
  color: var(--color-brand-cta);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-2);
}

.tracking-guide-icon svg {
  width: 20px;
  height: 20px;
}

.tracking-guide-title {
  font-family: var(--font-display);
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--color-ink);
  margin: 0;
}

.tracking-guide-desc {
  font-size: var(--font-size-xs);
  color: var(--color-ink-muted);
  line-height: 1.5;
  margin: 0;
}

.tracking-support-text {
  font-size: var(--font-size-xs);
  color: var(--color-ink-muted);
  line-height: 1.5;
  margin: 0 0 var(--space-4);
}

.tracking-support-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

/* ═════════════════════════════════════════════════════════════════════════════
   17. WISHLIST SYSTEM STYLES (SLICE 10)
   ═════════════════════════════════════════════════════════════════════════════ */
.page-wishlist {
  background-color: var(--color-surface-subtle);
  min-height: 80vh;
  padding-bottom: var(--space-12);
}

.wishlist-breadcrumbs-bar {
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--color-border);
  background-color: var(--color-surface);
}

.wishlist-header-section {
  padding: var(--space-8) 0 var(--space-6);
}

.wishlist-header-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.wishlist-header-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(244, 63, 94, 0.08);
  color: #e11d48;
  font-size: var(--font-size-xs);
  font-weight: 600;
  margin-bottom: var(--space-3);
}

.wishlist-header-badge svg {
  width: 15px;
  height: 15px;
}

.wishlist-header-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  color: var(--color-ink);
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-2);
}

.wishlist-header-desc {
  font-family: var(--font-ui);
  font-size: var(--font-size-base);
  color: var(--color-ink-muted);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.5;
}

.wishlist-main-section {
  padding-bottom: var(--space-8);
}

.nanobit-wishlist-wrap {
  max-width: 1040px;
  margin: 0 auto;
}

/* Wishlist Toolbar */
.wishlist-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: var(--space-4) var(--space-6);
  margin-bottom: var(--space-6);
  box-shadow: var(--shadow-sm);
}

.wishlist-toolbar__count {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-ink);
}

.wishlist-toolbar__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

/* Wishlist Table */
.wishlist-table-wrap {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  margin-bottom: var(--space-6);
}

.wishlist-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.wishlist-table thead {
  background: var(--color-surface-subtle);
  border-bottom: 1px solid var(--color-border);
}

.wishlist-table th {
  padding: var(--space-4) var(--space-4);
  font-size: var(--font-size-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-ink-muted);
}

.wishlist-table td {
  padding: var(--space-5) var(--space-4);
  border-bottom: 1px solid var(--color-border);
  vertical-align: middle;
}

.wishlist-item-row:last-child td {
  border-bottom: none;
}

.wl-col-thumb {
  width: 90px;
  padding-right: var(--space-2) !important;
}

.wishlist-item__thumb-wrap {
  width: 76px;
  height: 76px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  overflow: hidden;
  background: var(--color-surface-subtle);
}

.wishlist-item__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-fast) var(--ease-soft);
}

.wishlist-item-row:hover .wishlist-item__img {
  transform: scale(1.05);
}

.wl-col-info {
  min-width: 200px;
}

.wishlist-item__categories {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--color-ink-muted);
  margin-bottom: 4px;
}

.wishlist-item__cat a {
  color: var(--color-ink-muted);
  text-decoration: none;
}

.wishlist-item__cat a:hover {
  color: var(--color-brand-cta);
}

.wishlist-item__title {
  font-size: var(--font-size-sm);
  font-weight: 600;
  margin: 0 0 4px;
  line-height: 1.35;
}

.wishlist-item__title a {
  color: var(--color-ink);
  text-decoration: none;
  transition: color var(--dur-fast);
}

.wishlist-item__title a:hover {
  color: var(--color-brand-cta);
}

.wishlist-item__sku {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--color-ink-muted);
}

.wl-col-price {
  width: 140px;
  white-space: nowrap;
}

.wishlist-item__price {
  font-family: var(--font-display);
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--color-ink);
}

.wishlist-item__price ins {
  text-decoration: none;
  color: var(--color-brand-cta);
}

.wishlist-item__price del {
  color: var(--color-ink-muted);
  font-size: var(--font-size-xs);
  margin-right: 6px;
}

.wl-col-stock {
  width: 130px;
  white-space: nowrap;
}

.wishlist-stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.stock-dot {
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
}

.stock-dot--in {
  background-color: var(--color-success);
}

.stock-dot--out {
  background-color: var(--color-danger);
}

.wishlist-stock-badge--out {
  background: var(--color-danger-soft);
  color: var(--color-danger);
}

.wl-col-action {
  width: 160px;
}

.wl-col-remove {
  width: 48px;
  text-align: center;
}

.wishlist-remove-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--color-ink-muted);
  width: 34px;
  height: 34px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--dur-fast);
}

.wishlist-remove-btn:hover {
  background: var(--color-danger-soft);
  color: var(--color-danger);
  border-color: rgba(239, 68, 68, 0.2);
}

.wishlist-remove-btn svg {
  width: 15px;
  height: 15px;
}

.wishlist-footer {
  display: flex;
  justify-content: flex-start;
}

/* Empty Wishlist State */
.wishlist-empty-state {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: var(--space-12) var(--space-6);
  text-align: center;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.wishlist-empty-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-full);
  background: rgba(244, 63, 94, 0.08);
  color: #e11d48;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
}

.wishlist-empty-icon-wrap svg {
  width: 32px;
  height: 32px;
}

.wishlist-empty-title {
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  color: var(--color-ink);
  margin: 0 0 var(--space-2);
}

.wishlist-empty-desc {
  font-family: var(--font-ui);
  font-size: var(--font-size-base);
  color: var(--color-ink-muted);
  max-width: 480px;
  margin: 0 auto var(--space-6);
  line-height: 1.5;
}

/* ═════════════════════════════════════════════════════════════════════════════
   18. RESPONSIVE BREAKPOINTS FOR TRACKING & WISHLIST
   ═════════════════════════════════════════════════════════════════════════════ */
@media (max-width: 980px) {
  .tracking-hero-card,
  .wishlist-header-card {
    padding: var(--space-6) var(--space-4);
  }

  .tracking-guide-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
}

@media (max-width: 760px) {
  .tracking-search-grid {
    grid-template-columns: 1fr;
  }

  .tracking-result-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .wishlist-toolbar {
    flex-direction: column;
    gap: var(--space-3);
    align-items: stretch;
    text-align: center;
  }

  .wishlist-toolbar__actions {
    justify-content: center;
  }

  /* Responsive Wishlist Cards for Mobile */
  .wishlist-table thead {
    display: none;
  }

  .wishlist-table,
  .wishlist-table tbody,
  .wishlist-item-row {
    display: block;
    width: 100%;
  }

  .wishlist-item-row {
    position: relative;
    padding: var(--space-4);
    border-bottom: 1px solid var(--color-border);
    display: grid;
    grid-template-columns: 76px 1fr;
    gap: var(--space-3);
  }

  .wishlist-table td {
    display: block;
    padding: 0;
    border: none;
  }

  .wl-col-thumb {
    grid-row: 1 / span 3;
    width: 76px;
  }

  .wl-col-info {
    padding-right: 32px !important;
  }

  .wl-col-price,
  .wl-col-stock {
    width: auto;
    margin-top: 4px;
  }

  .wl-col-action {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: var(--space-3);
  }

  .wl-col-remove {
    position: absolute;
    top: var(--space-3);
    right: var(--space-3);
    width: auto;
  }
}

/* ── 20. CUSTOMER MY ACCOUNT & DASHBOARD STYLES ───────────── */

.woocommerce-account,
.nanobit-account-page,
.account-auth-container {
  --color-primary: var(--color-brand-cta);
  --color-primary-subtle: var(--color-brand-soft);
  --color-primary-light: var(--color-brand-soft);
  --color-text-primary: var(--color-ink);
  --color-text-secondary: var(--color-ink-soft);
  --color-text-muted: var(--color-ink-muted);
  --color-text-tertiary: var(--color-ink-muted);
  --color-border-subtle: var(--color-border);
  --color-base-dark: var(--color-surface-alt);
  --radius-card: var(--radius-lg);
  --text-xs: var(--fs-caption);
  --text-sm: var(--fs-label);
  --text-base: var(--fs-body);
  --text-md: var(--fs-body);
  --text-lg: var(--fs-h4);
  --text-xl: var(--fs-h3);
  --text-2xl: var(--fs-h2);
  --weight-bold: 700;
  --weight-semibold: 600;
  --weight-medium: 500;
  --leading-tight: 1.2;
  --leading-normal: 1.5;
  --leading-relaxed: 1.6;
}

.nanobit-account-page {
  padding: var(--space-4) 0 var(--space-10);
  background-color: transparent;
  min-height: calc(100vh - 350px);
  width: 100%;
}

.nanobit-account-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: var(--space-6);
  align-items: start;
  width: 100%;
}

.nanobit-account-sidebar {
  min-width: 0;
}

.nanobit-account-content {
  min-width: 0;
  width: 100%;
}

@media (max-width: 991px) {
  .nanobit-account-layout {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }
}

/* ── Sidebar Navigation Card ── */
.account-nav-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

@media (min-width: 992px) {
  .nanobit-account-sidebar {
    position: sticky;
    top: calc(var(--header-height, 80px) + var(--space-4));
  }
}

.account-nav-user {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-5) var(--space-4);
  background: linear-gradient(135deg, var(--color-primary-subtle) 0%, var(--color-surface) 100%);
  border-bottom: 1px solid var(--color-border);
}

.account-user-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--weight-bold);
  font-size: var(--text-md);
  flex-shrink: 0;
  overflow: hidden;
  border: 2px solid var(--color-surface);
  box-shadow: var(--shadow-sm);
}

.account-user-avatar img,
.account-user-avatar__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.account-user-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.account-user-greeting {
  font-size: var(--text-xs);
  color: var(--color-text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: var(--weight-medium);
}

.account-user-name {
  font-size: var(--text-sm);
  color: var(--color-text-primary);
  font-weight: var(--weight-semibold);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.account-user-email {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Nav menu list */
.account-nav-list {
  list-style: none;
  margin: 0;
  padding: var(--space-2) 0;
}

.account-nav-item {
  position: relative;
}

.account-nav-item:not(:last-child) {
  border-bottom: 1px solid var(--color-border-subtle);
}

.account-nav-link {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  transition: background-color var(--dur-fast) var(--ease-soft),
              color var(--dur-fast) var(--ease-soft);
}

.account-nav-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-tertiary);
  flex-shrink: 0;
  transition: color var(--dur-fast) var(--ease-soft);
}

.account-nav-icon svg {
  width: 18px;
  height: 18px;
}

.account-nav-text {
  flex-grow: 1;
}

.account-nav-arrow {
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  opacity: 0.6;
  transition: transform var(--dur-fast) var(--ease-soft),
              opacity var(--dur-fast) var(--ease-soft);
}

.account-nav-arrow svg {
  width: 14px;
  height: 14px;
}

.account-nav-link:hover {
  background-color: var(--color-base);
  color: var(--color-primary);
}

.account-nav-link:hover .account-nav-icon {
  color: var(--color-primary);
}

.account-nav-link:hover .account-nav-arrow {
  opacity: 1;
  transform: translateX(2px);
}

.account-nav-item.is-active .account-nav-link {
  background-color: var(--color-primary-subtle);
  color: var(--color-primary);
  font-weight: var(--weight-semibold);
}

.account-nav-item.is-active .account-nav-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background-color: var(--color-primary);
}

.account-nav-item.is-active .account-nav-icon {
  color: var(--color-primary);
}

.account-nav-item--customer-logout .account-nav-link:hover {
  color: var(--color-danger);
  background-color: #fef2f2;
}

.account-nav-item--customer-logout .account-nav-link:hover .account-nav-icon {
  color: var(--color-danger);
}

/* ── Dashboard Welcome Banner ── */
.account-welcome-banner {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-6);
  margin-bottom: var(--space-6);
}

@media (max-width: 768px) {
  .account-welcome-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-5);
    gap: var(--space-4);
  }
}

.account-welcome-tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: var(--color-primary);
  background: var(--color-primary-subtle);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-2);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.account-welcome-title {
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  color: var(--color-text-primary);
  margin: 0 0 var(--space-2) 0;
  line-height: var(--leading-tight);
}

.account-welcome-desc {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin: 0;
  max-width: 600px;
  line-height: var(--leading-normal);
}

.account-welcome-banner__actions {
  display: flex;
  gap: var(--space-3);
  flex-shrink: 0;
}

@media (max-width: 576px) {
  .account-welcome-banner__actions {
    width: 100%;
    flex-direction: column;
  }
  .account-welcome-banner__actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ── 4-Card Statistics Grid ── */
.account-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

@media (max-width: 991px) {
  .account-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .account-stats-grid {
    grid-template-columns: 1fr;
  }
}

.account-stat-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: var(--space-4) var(--space-5);
  display: flex;
  align-items: center;
  gap: var(--space-4);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-fast) var(--ease-soft),
              box-shadow var(--dur-fast) var(--ease-soft),
              border-color var(--dur-fast) var(--ease-soft);
  position: relative;
}

.account-stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-border-strong);
}

.account-stat-card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.account-stat-card__icon svg {
  width: 22px;
  height: 22px;
}

.account-stat-card__icon--primary {
  background: var(--color-primary-subtle);
  color: var(--color-primary);
}

.account-stat-card__icon--warning {
  background: #fef3c7;
  color: #d97706;
}

.account-stat-card__icon--info {
  background: #e0f2fe;
  color: #0284c7;
}

.account-stat-card__icon--accent {
  background: #fdf2f8;
  color: #db2777;
}

.account-stat-card__info {
  flex-grow: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.account-stat-card__label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-weight: var(--weight-medium);
}

.account-stat-card__value {
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  color: var(--color-text-primary);
  line-height: 1.2;
}

.account-stat-card__arrow {
  color: var(--color-text-muted);
  opacity: 0.5;
  transition: transform var(--dur-fast) var(--ease-soft), opacity var(--dur-fast) var(--ease-soft);
}

.account-stat-card__arrow svg {
  width: 16px;
  height: 16px;
}

.account-stat-card:hover .account-stat-card__arrow {
  opacity: 1;
  transform: translateX(3px);
  color: var(--color-primary);
}

/* ── Section Cards (Recent Orders, etc.) ── */
.account-section-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--space-6);
  overflow: hidden;
}

.account-section-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-6);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface);
}

.account-section-card__title-wrap {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.account-section-card__icon {
  color: var(--color-primary);
  display: flex;
}

.account-section-card__icon svg {
  width: 20px;
  height: 20px;
}

.account-section-card__title {
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  color: var(--color-text-primary);
  margin: 0;
}

.account-section-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-primary);
  text-decoration: none;
}

.account-section-card__link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--dur-fast) var(--ease-soft);
}

.account-section-card__link:hover svg {
  transform: translateX(3px);
}

.account-section-card__body {
  padding: var(--space-6);
}

@media (max-width: 576px) {
  .account-section-card__body {
    padding: var(--space-4);
  }
}

/* ── Order List & Order Cards ── */
.account-orders-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.account-order-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: var(--space-5);
  box-shadow: var(--shadow-xs);
  transition: border-color var(--dur-fast) var(--ease-soft),
              box-shadow var(--dur-fast) var(--ease-soft);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.account-order-card:hover {
  border-color: var(--color-border-strong);
  box-shadow: var(--shadow-sm);
}

.account-order-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--color-border-subtle);
}

.account-order-card__id-date {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.account-order-card__number {
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
  color: var(--color-primary);
  text-decoration: none;
}

.account-order-card__number:hover {
  text-decoration: underline;
}

.account-order-card__date {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.account-order-card__items-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.account-order-thumbs {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.account-order-thumb {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  overflow: hidden;
  background: var(--color-base);
  flex-shrink: 0;
}

.account-order-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.account-order-thumb-more {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--color-base-dark);
  color: var(--color-text-secondary);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  display: flex;
  align-items: center;
  justify-content: center;
}

.account-order-card__items-info {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.account-order-card__count {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-weight: var(--weight-medium);
}

.account-order-card__payment-method {
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
}

.account-order-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-border-subtle);
  flex-wrap: wrap;
}

.account-order-card__total {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
}

.account-order-card__total-label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.account-order-card__total-val {
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  color: var(--color-text-primary);
}

.account-order-card__actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}

/* ── Shortcuts Grid ── */
.account-shortcuts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}

@media (max-width: 768px) {
  .account-shortcuts-grid {
    grid-template-columns: 1fr;
  }
}

.account-shortcut-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: var(--space-5);
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}

.account-shortcut-card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--color-primary-subtle);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.account-shortcut-card__icon svg {
  width: 22px;
  height: 22px;
}

.account-shortcut-card__content {
  flex-grow: 1;
}

.account-shortcut-card__title {
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
  color: var(--color-text-primary);
  margin: 0 0 var(--space-1) 0;
}

.account-shortcut-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin: 0 0 var(--space-3) 0;
  line-height: var(--leading-normal);
}

/* ── Empty State ── */
.account-empty-state {
  text-align: center;
  padding: var(--space-10) var(--space-4);
}

.account-empty-state__icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  background: var(--color-base-dark);
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-4);
}

.account-empty-state__icon svg {
  width: 32px;
  height: 32px;
}

.account-empty-state__title {
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  color: var(--color-text-primary);
  margin: 0 0 var(--space-2) 0;
}

.account-empty-state__desc {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  max-width: 420px;
  margin: 0 auto var(--space-6);
  line-height: var(--leading-normal);
}

/* ── Page Headers & Navigation ── */
.account-page-header {
  margin-bottom: var(--space-6);
}

.account-page-title {
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  color: var(--color-text-primary);
  margin: 0 0 var(--space-1) 0;
}

.account-page-desc {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin: 0;
}

/* ── Single Order View Specifics ── */
.account-view-order-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.account-view-order__nav {
  display: flex;
  align-items: center;
}

.account-order-header {
  margin-bottom: 0;
}

.account-order-actions-bar {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}

/* ── Addresses Section & Cards ── */
.account-addresses-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

@media (max-width: 768px) {
  .account-addresses-grid {
    grid-template-columns: 1fr;
  }
}

.account-address-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.account-address-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-base-subtle, #fafafa);
}

.account-address-card__title-wrap {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.account-address-card__icon {
  color: var(--color-primary);
  display: flex;
}

.account-address-card__icon svg {
  width: 20px;
  height: 20px;
}

.account-address-card__title {
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
  color: var(--color-text-primary);
  margin: 0;
}

.account-address-card__body {
  padding: var(--space-5);
  flex-grow: 1;
}

.account-address-card__text {
  font-style: normal;
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
  margin: 0;
}

.account-address-card__footer {
  padding: var(--space-3) var(--space-5);
  border-top: 1px solid var(--color-border);
  background: var(--color-surface);
}

.account-address-card__action-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: var(--color-primary);
  text-decoration: none;
}

.account-address-card__action-link svg {
  width: 14px;
  height: 14px;
  transition: transform var(--dur-fast) var(--ease-soft);
}

.account-address-card__action-link:hover svg {
  transform: translateX(3px);
}

/* ── Form Cards (Edit Address, Edit Account) ── */
.account-form-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
}

@media (max-width: 576px) {
  .account-form-card {
    padding: var(--space-4);
  }
}

.account-form-card__header {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--color-border);
}

.account-form-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--color-primary-subtle);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.account-form-card__icon svg {
  width: 24px;
  height: 24px;
}

.account-form-card__title {
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  color: var(--color-text-primary);
  margin: 0 0 var(--space-1) 0;
}

.account-form-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin: 0;
}

.account-fieldset {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  margin: 0 0 var(--space-6) 0;
}

.account-fieldset__title {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
  color: var(--color-text-primary);
  padding: 0 var(--space-2);
}

.account-fieldset__title svg {
  width: 18px;
  height: 18px;
  color: var(--color-primary);
}

.account-fieldset__desc {
  font-size: var(--text-xs);
  margin: 0 0 var(--space-4) 0;
}

.nanobit-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}

.nanobit-form-grid .form-row-wide {
  grid-column: 1 / -1;
}

@media (max-width: 576px) {
  .nanobit-form-grid {
    grid-template-columns: 1fr;
  }
}

.account-form-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-6);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
}

@media (max-width: 576px) {
  .account-form-actions {
    flex-direction: column;
  }
  .account-form-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ── Auth Forms (Login / Register / Lost Password) ── */
.account-auth-container {
  max-width: 960px;
  margin: 0 auto;
  padding: var(--space-8) var(--space-4);
}

.account-auth-container--single {
  max-width: 480px;
}

.account-auth-header {
  text-align: center;
  margin-bottom: var(--space-8);
}

.account-auth-header__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: var(--color-primary-subtle);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-4);
}

.account-auth-header__icon svg {
  width: 28px;
  height: 28px;
}

.account-auth-header__title {
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  color: var(--color-text-primary);
  margin: 0 0 var(--space-2) 0;
}

.account-auth-header__desc {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  max-width: 480px;
  margin: 0 auto;
  line-height: var(--leading-normal);
}

.account-auth-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
  align-items: start;
}

.account-auth-container--single .account-auth-grid {
  grid-template-columns: 1fr;
}

@media (max-width: 768px) {
  .account-auth-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
}

.account-auth-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
}

@media (max-width: 576px) {
  .account-auth-card {
    padding: var(--space-5);
  }
}

.account-auth-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--color-border);
}

.account-auth-card__title {
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  color: var(--color-text-primary);
  margin: 0;
}

.account-auth-card__badge {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: var(--color-text-secondary);
  background: var(--color-base);
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
}

.account-auth-card__badge--new {
  color: var(--color-primary);
  background: var(--color-primary-subtle);
  border-color: transparent;
}

.account-auth-remember-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: var(--space-3) 0 var(--space-5) 0;
  font-size: var(--text-xs);
}

.account-auth-lost-password {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: var(--weight-medium);
}

.account-auth-lost-password:hover {
  text-decoration: underline;
}

.account-auth-privacy-notice {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: var(--leading-normal);
  margin: var(--space-4) 0;
}

.account-auth-guest-banner {
  margin-top: var(--space-8);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: var(--space-4) var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  box-shadow: var(--shadow-xs);
}

@media (max-width: 576px) {
  .account-auth-guest-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .account-auth-guest-banner .btn {
    width: 100%;
    justify-content: center;
  }
}

.account-auth-guest-banner__content {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.account-auth-guest-banner__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--color-primary-subtle);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.account-auth-guest-banner__icon svg {
  width: 20px;
  height: 20px;
}

.account-auth-guest-banner__content strong {
  font-size: var(--text-sm);
  color: var(--color-text-primary);
  display: block;
}

.account-auth-guest-banner__content p {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin: 0;
}

.account-auth-back-link {
  text-align: center;
  margin-top: var(--space-4);
}

.account-auth-back-link a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  text-decoration: none;
  font-weight: var(--weight-medium);
}

.account-auth-back-link a:hover {
  color: var(--color-primary);
}

.account-auth-back-link svg {
  width: 16px;
  height: 16px;
}

.btn-outline-danger {
  background: transparent;
  color: var(--color-danger);
  border: 1px solid var(--color-danger);
}

.btn-outline-danger:hover {
  background: var(--color-danger);
  color: #ffffff;
}

/* ── 21. PRINT MEDIA STYLES ────────────────────────────────── */
@media print {
  header.site-header,
  footer.site-footer,
  .nanobit-account-sidebar,
  .account-view-order__nav,
  .account-order-actions-bar,
  .checkout-breadcrumbs-wrap,
  .tracking-breadcrumbs-bar,
  .wishlist-breadcrumbs-bar,
  .tracking-hero-section,
  .tracking-guide-card,
  .thankyou-track-content,
  .thankyou-actions,
  .tracking-print-btn,
  .btn,
  button {
    display: none !important;
  }

  body {
    background: #ffffff !important;
    color: #000000 !important;
  }

  .nanobit-account-page,
  .nanobit-account-content,
  .nanobit-thankyou-container,
  .tracking-results-container {
    max-width: 100% !important;
    padding: 0 !important;
  }

  .nanobit-account-layout {
    display: block !important;
  }

  .thankyou-card,
  .tracking-result-header,
  .tracking-timeline-card,
  .thankyou-timeline-card,
  .account-form-card,
  .metric-card {
    border: 1px solid #cccccc !important;
    box-shadow: none !important;
  }
}

