/*
 * WATCHFUL — Shop CSS
 * =============================================================================
 * Styles for storefront shop, cart, checkout, and order-complete pages.
 * Loaded by layout/shop-head.php alongside style.css.
 *
 * style.css must be loaded BEFORE this file — it provides all CSS custom
 * properties (--c-*, --s-*, --r-*, --t-*) and base button/nav/footer styles.
 *
 * COMPONENTS DEFINED HERE:
 *   1.  Cart badge (nav)
 *   2.  Breadcrumb
 *   3.  Shop page hero (compact)
 *   4.  Category filter pills
 *   5.  Product grid
 *   6.  Product card
 *   7.  Empty state
 *   8.  Product detail layout
 *   9.  Image gallery
 *   10. Quantity stepper
 *   11. Specs / features table
 *   12. Related products strip
 *   13. Cart page
 *   14. Cart table
 *   15. Cart summary sidebar
 *   16. Checkout layout
 *   17. Delivery method selector
 *   18. Order summary (checkout sidebar)
 *   19. EFT notice
 *   20. Order confirmation page
 *   21. EFT banking details card
 *   22. Stock / category badges
 * =============================================================================
 */

/* =============================================================================
   1. CART BADGE (NAV)
   ============================================================================= */

.cart-nav-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--c-muted);
  border-radius: var(--r-sm);
  transition: color var(--t-fast), background var(--t-fast);
}

.cart-nav-btn:hover {
  color: var(--c-white);
  background: rgba(255,255,255,0.06);
}

.cart-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 18px;
  height: 18px;
  padding-inline: 4px;
  background: var(--c-gold);
  color: #080D14;
  font-size: 0.625rem;
  font-weight: 800;
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: transform var(--t-fast), opacity var(--t-fast);
}

.cart-badge--hidden {
  opacity: 0;
  transform: scale(0.5);
}

/* =============================================================================
   2. BREADCRUMB
   ============================================================================= */

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s-2);
  font-size: 0.8125rem;
  color: var(--c-muted);
  margin-bottom: var(--s-6);
}

.breadcrumb a {
  color: var(--c-muted);
  transition: color var(--t-fast);
}

.breadcrumb a:hover { color: var(--c-gold); }

.breadcrumb svg { opacity: 0.4; flex-shrink: 0; }

.breadcrumb span { color: var(--c-text); }

/* =============================================================================
   3. SHOP PAGE HERO (COMPACT)
   ============================================================================= */

.shop-hero {
  padding: calc(var(--nav-h) + var(--s-16)) var(--s-5) var(--s-8);
  text-align: center;
  background: linear-gradient(180deg, rgba(26,86,219,0.05) 0%, transparent 100%);
  border-bottom: 1px solid var(--c-border);
}

.shop-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--c-heading);
  margin-bottom: var(--s-3);
}

.shop-hero p {
  font-size: 1rem;
  color: var(--c-muted);
  max-width: 520px;
  margin-inline: auto;
}

/* =============================================================================
   4. CATEGORY FILTER PILLS
   ============================================================================= */

.filter-bar {
  padding-block: var(--s-6);
  border-bottom: 1px solid var(--c-border);
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  justify-content: center;
}

.filter-pill {
  padding: var(--s-2) var(--s-4);
  border: 1px solid var(--c-border);
  border-radius: var(--r-full);
  background: transparent;
  color: var(--c-muted);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color var(--t-fast), color var(--t-fast), background var(--t-fast);
  white-space: nowrap;
}

.filter-pill:hover {
  border-color: rgba(245,158,11,0.4);
  color: var(--c-gold);
}

.filter-pill.is-active {
  background: rgba(245,158,11,0.1);
  border-color: var(--c-gold);
  color: var(--c-gold);
}

/* =============================================================================
   5. PRODUCT GRID
   ============================================================================= */

.shop-section {
  padding-block: var(--s-10);
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-4);
}

@media (min-width: 640px) {
  .product-grid { gap: var(--s-5); }
}

@media (min-width: 768px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1280px) {
  .product-grid { grid-template-columns: repeat(4, 1fr); }
}

/* =============================================================================
   6. PRODUCT CARD
   ============================================================================= */

.product-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color var(--t-base), transform var(--t-base), box-shadow var(--t-base);
}

.product-card:hover {
  border-color: var(--c-border-gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

/* Image area */
.product-card__img {
  aspect-ratio: 4 / 3;
  background: var(--c-surface-2);
  overflow: hidden;
  position: relative;
}

.product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}

.product-card:hover .product-card__img img {
  transform: scale(1.04);
}

/* Placeholder when no image */
.product-card__img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.1);
}

/* Body */
.product-card__body {
  padding: var(--s-4);
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: var(--s-2);
}

.product-card__category {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-gold);
}

.product-card__name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--c-heading);
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.product-card__desc {
  font-size: 0.8125rem;
  color: var(--c-muted);
  line-height: 1.5;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Price */
.product-card__price {
  display: flex;
  align-items: baseline;
  gap: var(--s-2);
  flex-wrap: wrap;
  margin-top: var(--s-1);
}

.price-current {
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--c-heading);
  letter-spacing: -0.02em;
}

.price-was {
  font-size: 0.8125rem;
  color: var(--c-muted);
  text-decoration: line-through;
}

.price-save {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--c-gold);
  background: rgba(245,158,11,0.12);
  padding: 2px 6px;
  border-radius: var(--r-full);
}

/* Actions */
.product-card__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-2);
  margin-top: var(--s-3);
}

.product-card__actions .btn {
  padding: 0.5rem var(--s-3);
  font-size: 0.8125rem;
  min-height: 40px;
  justify-content: center;
}

/* =============================================================================
   7. EMPTY STATE
   ============================================================================= */

.empty-state {
  text-align: center;
  padding: var(--s-20) var(--s-6);
  color: var(--c-muted);
}

.empty-state svg {
  color: rgba(255,255,255,0.08);
  margin-bottom: var(--s-5);
}

.empty-state h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--c-heading);
  margin-bottom: var(--s-3);
}

.empty-state p {
  font-size: 0.9375rem;
  max-width: 360px;
  margin-inline: auto;
  margin-bottom: var(--s-6);
}

/* =============================================================================
   8. PRODUCT DETAIL LAYOUT
   ============================================================================= */

.product-detail-section {
  padding: calc(var(--nav-h) + var(--s-10)) 0 var(--s-10);
}

.product-detail-layout {
  display: grid;
  gap: var(--s-8);
}

.product-detail-layout > * {
  min-width: 0;
}

@media (min-width: 1024px) {
  .product-detail-layout {
    grid-template-columns: 1fr 420px;
    gap: var(--s-12);
    align-items: start;
  }
}

/* =============================================================================
   9. IMAGE GALLERY
   ============================================================================= */

.gallery {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

.gallery__main {
  aspect-ratio: 4 / 3;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: opacity var(--t-base);
}

.gallery__main-placeholder {
  color: rgba(255,255,255,0.08);
}

.gallery__thumbs {
  display: flex;
  gap: var(--s-2);
  overflow-x: auto;
  padding-bottom: var(--s-1);
  scrollbar-width: none;
}

.gallery__thumbs::-webkit-scrollbar { display: none; }

.gallery__thumb {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  background: var(--c-surface);
  border: 2px solid var(--c-border);
  border-radius: var(--r-md);
  overflow: hidden;
  cursor: pointer;
  transition: border-color var(--t-fast);
}

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

.gallery__thumb.is-active,
.gallery__thumb:hover {
  border-color: var(--c-gold);
}

/* =============================================================================
   10. QUANTITY STEPPER
   ============================================================================= */

.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  overflow: hidden;
  height: 48px;
}

.qty-stepper__btn {
  width: 48px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-surface);
  color: var(--c-muted);
  font-size: 1.25rem;
  font-weight: 300;
  transition: background var(--t-fast), color var(--t-fast);
  border: none;
  cursor: pointer;
}

.qty-stepper__btn:hover:not(:disabled) {
  background: var(--c-surface-2);
  color: var(--c-white);
}

.qty-stepper__btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.qty-stepper__input {
  width: 52px;
  height: 100%;
  background: var(--c-bg);
  color: var(--c-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  text-align: center;
  border: none;
  border-inline: 1px solid var(--c-border);
  -moz-appearance: textfield;
}

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

/* =============================================================================
   11. SPECS / FEATURES TABLE
   ============================================================================= */

.specs-section {
  margin-top: var(--s-10);
}

.specs-section h2 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--c-heading);
  margin-bottom: var(--s-4);
  padding-bottom: var(--s-3);
  border-bottom: 1px solid var(--c-border);
}

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

.spec-table tr {
  border-bottom: 1px solid var(--c-border);
}

.spec-table tr:last-child { border-bottom: none; }

.spec-table td {
  padding: var(--s-3) var(--s-4);
  font-size: 0.9375rem;
}

.spec-table td:first-child {
  color: var(--c-muted);
  font-weight: 500;
  width: 40%;
}

.spec-table td:last-child {
  color: var(--c-heading);
}

.spec-table tr:nth-child(odd) td {
  background: rgba(255,255,255,0.02);
}

/* =============================================================================
   12. RELATED PRODUCTS
   ============================================================================= */

.related-section {
  padding-block: var(--s-12);
  border-top: 1px solid var(--c-border);
  margin-top: var(--s-12);
}

.related-section h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--c-heading);
  margin-bottom: var(--s-6);
}

/* =============================================================================
   13. CART PAGE
   ============================================================================= */

.cart-section {
  padding: calc(var(--nav-h) + var(--s-10)) 0 var(--s-10);
}

.cart-layout {
  display: grid;
  gap: var(--s-8);
}

@media (min-width: 1024px) {
  .cart-layout {
    grid-template-columns: 1fr 340px;
    align-items: start;
    gap: var(--s-10);
  }
}

/* =============================================================================
   14. CART TABLE
   ============================================================================= */

.cart-table {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  overflow: hidden;
}

.cart-table-header {
  display: none;
  padding: var(--s-4) var(--s-5);
  border-bottom: 1px solid var(--c-border);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-muted);
  grid-template-columns: minmax(0, 1fr) 148px 120px 48px;
  gap: var(--s-4);
}

@media (min-width: 640px) {
  .cart-table-header { display: grid; }
}

.cart-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: var(--s-4);
  padding: var(--s-4) var(--s-5);
  border-bottom: 1px solid var(--c-border);
  align-items: center;
}

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

@media (min-width: 640px) {
  .cart-item {
    grid-template-columns: 80px minmax(0, 1fr) 148px 120px 48px;
  }
}

.cart-item__img {
  width: 72px;
  height: 72px;
  background: var(--c-surface-2);
  border-radius: var(--r-md);
  overflow: hidden;
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .cart-item__img { width: 80px; height: 80px; }
}

.cart-item__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item__img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.1);
}

.cart-item__info {
  min-width: 0;
}

.cart-item__name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--c-heading);
  margin-bottom: var(--s-1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item__sku {
  font-size: 0.75rem;
  color: var(--c-muted);
  margin-bottom: var(--s-2);
}

/* Mobile: show price + qty inline under name on small screens */
.cart-item__mobile-meta {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  flex-wrap: wrap;
  margin-top: var(--s-2);
}

@media (min-width: 640px) {
  .cart-item__mobile-meta { display: none; }
}

.cart-item__unit-price { display: none; }
.cart-item__qty-col { display: none; }
.cart-item__line-total { display: none; }

@media (min-width: 640px) {
  .cart-item__unit-price {
    display: flex;
    align-items: center;
    font-size: 0.9375rem;
    color: var(--c-muted);
  }
  .cart-item__qty-col {
    display: flex;
    align-items: center;
    min-width: 0;
  }
  .cart-item__line-total {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--c-heading);
    white-space: nowrap;
  }
}

.cart-item__qty-col .qty-stepper {
  width: 100%;
  max-width: 148px;
}

.cart-item__remove {
  background: none;
  border: none;
  color: var(--c-muted);
  cursor: pointer;
  padding: var(--s-2);
  border-radius: var(--r-sm);
  transition: color var(--t-fast), background var(--t-fast);
  line-height: 0;
  justify-self: end;
}

.cart-item__remove:hover {
  color: #ef4444;
  background: rgba(239,68,68,0.1);
}

/* =============================================================================
   15. CART SUMMARY SIDEBAR
   ============================================================================= */

.cart-summary {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: var(--s-6);
  position: sticky;
  top: calc(var(--nav-h) + var(--s-4));
}

.cart-summary h2 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-heading);
  margin-bottom: var(--s-5);
  padding-bottom: var(--s-4);
  border-bottom: 1px solid var(--c-border);
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: var(--s-3);
  font-size: 0.9375rem;
  color: var(--c-muted);
  border-bottom: 1px solid var(--c-border);
}

.cart-summary-row:last-of-type { border-bottom: none; }

.cart-summary-row span:last-child {
  color: var(--c-heading);
  font-weight: 600;
}

.cart-summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: var(--s-4);
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--c-heading);
  border-top: 2px solid var(--c-border-gold);
  margin-top: var(--s-3);
}

.cart-summary-total span:last-child {
  color: var(--c-gold);
  font-size: 1.25rem;
}

.cart-summary-actions {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  margin-top: var(--s-5);
}

/* =============================================================================
   16. CHECKOUT LAYOUT
   ============================================================================= */

.checkout-section {
  padding: calc(var(--nav-h) + var(--s-10)) 0 var(--s-10);
}

.checkout-layout {
  display: grid;
  gap: var(--s-8);
}

@media (min-width: 1024px) {
  .checkout-layout {
    grid-template-columns: 1fr 380px;
    gap: var(--s-10);
    align-items: start;
  }
}

/* =============================================================================
   17. DELIVERY METHOD SELECTOR
   ============================================================================= */

.delivery-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-3);
}

.delivery-option {
  position: relative;
}

.delivery-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.delivery-option__label {
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
  padding: var(--s-4);
  background: var(--c-bg);
  border: 2px solid var(--c-border);
  border-radius: var(--r-lg);
  cursor: pointer;
  transition: border-color var(--t-fast), background var(--t-fast);
}

.delivery-option input[type="radio"]:checked + .delivery-option__label {
  border-color: var(--c-gold);
  background: rgba(245,158,11,0.06);
}

.delivery-option__label:hover {
  border-color: rgba(245,158,11,0.4);
}

.delivery-option__title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--c-heading);
}

.delivery-option__price {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--c-gold);
}

.delivery-option__desc {
  font-size: 0.8125rem;
  color: var(--c-muted);
}

/* =============================================================================
   18. ORDER SUMMARY (CHECKOUT SIDEBAR)
   ============================================================================= */

.order-summary {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: var(--s-6);
  position: sticky;
  top: calc(var(--nav-h) + var(--s-4));
}

.order-summary h2 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-heading);
  margin-bottom: var(--s-5);
  padding-bottom: var(--s-4);
  border-bottom: 1px solid var(--c-border);
}

.order-summary-items {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  margin-bottom: var(--s-5);
  padding-bottom: var(--s-5);
  border-bottom: 1px solid var(--c-border);
}

.order-summary-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--s-3);
  font-size: 0.875rem;
}

.order-summary-item__name {
  color: var(--c-text);
  flex: 1;
  min-width: 0;
}

.order-summary-item__qty {
  color: var(--c-muted);
}

.order-summary-item__total {
  color: var(--c-heading);
  font-weight: 600;
  white-space: nowrap;
}

/* =============================================================================
   19. EFT NOTICE (CHECKOUT PAGE)
   ============================================================================= */

.eft-notice {
  background: rgba(245,158,11,0.06);
  border: 1px solid rgba(245,158,11,0.25);
  border-radius: var(--r-lg);
  padding: var(--s-5);
  display: flex;
  gap: var(--s-4);
  align-items: flex-start;
}

.eft-notice svg {
  color: var(--c-gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.eft-notice p {
  font-size: 0.9375rem;
  color: var(--c-muted);
  line-height: 1.6;
}

.eft-notice strong {
  color: var(--c-text);
}

/* =============================================================================
   20. ORDER CONFIRMATION PAGE
   ============================================================================= */

.order-confirm {
  padding-block: var(--s-16);
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
}

.order-confirm__icon {
  width: 72px;
  height: 72px;
  background: rgba(34,197,94,0.1);
  border: 2px solid rgba(34,197,94,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  margin-bottom: var(--s-6);
  color: #22c55e;
}

.order-confirm__ref {
  display: inline-block;
  font-family: monospace;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--c-gold);
  background: rgba(245,158,11,0.08);
  border: 1px solid rgba(245,158,11,0.2);
  border-radius: var(--r-md);
  padding: var(--s-2) var(--s-5);
  margin-block: var(--s-4);
  letter-spacing: 0.05em;
}

.order-confirm h1 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  color: var(--c-heading);
  letter-spacing: -0.02em;
  margin-bottom: var(--s-3);
}

.order-confirm__sub {
  font-size: 1rem;
  color: var(--c-muted);
  max-width: 440px;
  margin-inline: auto;
  margin-bottom: var(--s-8);
}

/* =============================================================================
   21. EFT BANKING DETAILS CARD
   ============================================================================= */

.eft-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border-gold);
  border-radius: var(--r-xl);
  padding: var(--s-6);
  text-align: left;
  margin-bottom: var(--s-8);
}

.eft-card h2 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-heading);
  margin-bottom: var(--s-5);
  padding-bottom: var(--s-4);
  border-bottom: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  gap: var(--s-3);
}

.eft-card h2 svg { color: var(--c-gold); }

.eft-detail {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: var(--s-3);
  border-bottom: 1px solid var(--c-border);
  gap: var(--s-4);
}

.eft-detail:last-child { border-bottom: none; }

.eft-detail__label {
  font-size: 0.8125rem;
  color: var(--c-muted);
  font-weight: 500;
}

.eft-detail__value {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--c-heading);
  display: flex;
  align-items: center;
  gap: var(--s-2);
}

.eft-detail__value.is-ref {
  color: var(--c-gold);
  font-family: monospace;
  font-size: 1rem;
}

.copy-btn {
  background: none;
  border: 1px solid var(--c-border);
  color: var(--c-muted);
  border-radius: var(--r-sm);
  padding: 4px 8px;
  font-size: 0.6875rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color var(--t-fast), color var(--t-fast);
  white-space: nowrap;
}

.copy-btn:hover {
  border-color: var(--c-gold);
  color: var(--c-gold);
}

.copy-btn.copied {
  border-color: #22c55e;
  color: #22c55e;
}

.order-confirm__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-3);
}

@media (min-width: 480px) {
  .order-confirm__actions {
    flex-direction: row;
    justify-content: center;
  }
}

/* =============================================================================
   22. STOCK / CATEGORY BADGES
   ============================================================================= */

.stock-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s-1);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--r-full);
}

.stock-badge--in {
  background: rgba(34,197,94,0.1);
  color: #22c55e;
  border: 1px solid rgba(34,197,94,0.2);
}

.stock-badge--out {
  background: rgba(239,68,68,0.1);
  color: #ef4444;
  border: 1px solid rgba(239,68,68,0.2);
}

.stock-badge--low {
  background: rgba(245,158,11,0.1);
  color: var(--c-gold);
  border: 1px solid rgba(245,158,11,0.2);
}

.stock-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

/* Product info panel (right column on product detail) */
.product-info {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}

.product-info__category {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-gold);
}

.product-info h1 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--c-heading);
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.product-info__price-row {
  display: flex;
  align-items: baseline;
  gap: var(--s-3);
  flex-wrap: wrap;
}

.product-info__price {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--c-heading);
  letter-spacing: -0.04em;
}

.product-info__was {
  font-size: 1rem;
  color: var(--c-muted);
  text-decoration: line-through;
}

.product-info__short-desc {
  font-size: 0.9375rem;
  color: var(--c-muted);
  line-height: 1.7;
  padding-bottom: var(--s-4);
  border-bottom: 1px solid var(--c-border);
}

.product-info__add-row {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  flex-wrap: wrap;
}

.product-info__add-row .btn {
  flex: 1;
  min-width: 160px;
  justify-content: center;
}

.product-description {
  margin-top: var(--s-10);
  padding-top: var(--s-8);
  border-top: 1px solid var(--c-border);
}

.product-description h2 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--c-heading);
  margin-bottom: var(--s-5);
  padding-bottom: var(--s-3);
  border-bottom: 1px solid var(--c-border);
}

.product-description p { margin-bottom: var(--s-4); color: var(--c-text); line-height: 1.7; }
.product-description ul { padding-left: var(--s-5); margin-bottom: var(--s-4); color: var(--c-text); line-height: 1.7; }
.product-description li { margin-bottom: var(--s-2); }
.product-description h3 { font-size: 1rem; font-weight: 700; color: var(--c-heading); margin-bottom: var(--s-3); margin-top: var(--s-6); }

/* =============================================================================
   23. ORDER-COMPLETE ADDITIONAL ELEMENTS
   ============================================================================= */

/* Paragraph message inside .order-confirm */
.order-confirm__msg {
  font-size: 0.9375rem;
  color: var(--c-muted);
  max-width: 480px;
  margin-inline: auto;
  margin-bottom: var(--s-6);
  line-height: 1.7;
}

/* Wrapper for the "Your order reference" label + code block */
.order-confirm__ref-wrap {
  margin-bottom: var(--s-10);
}

/* Container for .eft-detail rows inside .eft-card */
.eft-details {
  display: flex;
  flex-direction: column;
}

/* Highlighted row (payment reference) */
.eft-detail--highlight {
  background: rgba(245,158,11,0.05);
  border-radius: var(--r-sm);
  padding-inline: var(--s-3);
  margin-inline: calc(var(--s-3) * -1);
}

.eft-detail--highlight .eft-detail__label {
  color: var(--c-gold);
}

.eft-detail--highlight .eft-detail__value {
  color: var(--c-gold);
  font-family: monospace;
  font-size: 1rem;
  letter-spacing: 0.04em;
}

/* Action buttons below the EFT card */
.order-confirm-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--s-3);
  margin-bottom: var(--s-10);
}

@media (min-width: 480px) {
  .order-confirm-actions {
    flex-direction: row;
    align-items: center;
  }
}

/* "What happens next" ordered list */
.order-steps {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: var(--s-6);
  margin-bottom: var(--s-10);
}

.order-steps h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-heading);
  margin-bottom: var(--s-5);
  padding-bottom: var(--s-3);
  border-bottom: 1px solid var(--c-border);
}

.order-steps__list {
  padding-left: var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}

.order-steps__list li {
  font-size: 0.9375rem;
  color: var(--c-muted);
  line-height: 1.6;
}

.order-steps__list li strong {
  color: var(--c-text);
}
