/*
 * Shopify Integration Styles
 * Additive stylesheet — does not modify style.min.css
 * Covers: cart icon, cart drawer, loading skeletons, product detail page,
 *         hover animations, product search, error states.
 */

/* ─── CSS Variables ────────────────────────────────────────────────────────── */
:root {
  --shopify-gold: #d4af37;
  --shopify-gold-dark: #b8941f;
  --shopify-black: #000000;
  --shopify-white: #ffffff;
  --shopify-red: #cc3636;
  --shopify-gray: #666666;
  --shopify-light-gray: #eeeeee;
  --shopify-border: #e5e5e5;
  --cart-width: 400px;
  --drawer-z: 9000;
  --overlay-z: 8999;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
#main {
  flex: 1;
}

/* ─── Cart Icon Button ─────────────────────────────────────────────────────── */
.cart-icon-btn {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--shopify-white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  flex-shrink: 0;
}
.cart-icon-btn:hover {
  color: var(--shopify-gold);
}
.cart-icon-btn svg {
  display: block;
}
.merch_icon:hover {
  color: var(--shopify-gold);
}
.merch_icon.active {
  color: var(--shopify-gold);
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--shopify-red);
  color: var(--shopify-white);
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  pointer-events: none;
  line-height: 1;
}
.cart-count.hidden {
  display: none;
}

/* ─── Cart Overlay ─────────────────────────────────────────────────────────── */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: var(--overlay-z);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.cart-overlay.open {
  opacity: 1;
  pointer-events: all;
}

/* ─── Cart Drawer ──────────────────────────────────────────────────────────── */
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: var(--cart-width);
  max-width: 100vw;
  height: 100%;
  background: var(--shopify-white);
  z-index: var(--drawer-z);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.18);
}
.cart-drawer.open {
  transform: translateX(0);
}

/* Prevent body scroll when cart is open */
body.cart-open {
  overflow: hidden;
}

/* Cart Header */
.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--shopify-border);
  flex-shrink: 0;
}
.cart-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--shopify-black);
  font-family: 'Cinzel', serif;
  letter-spacing: 0.04em;
}
.cart-close-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--shopify-gray);
  padding: 4px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}
.cart-close-btn:hover {
  color: var(--shopify-black);
}

/* Cart Items Container */
.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
  scrollbar-width: thin;
  scrollbar-color: var(--shopify-light-gray) transparent;
}
.cart-items::-webkit-scrollbar {
  width: 4px;
}
.cart-items::-webkit-scrollbar-thumb {
  background: var(--shopify-light-gray);
  border-radius: 4px;
}

/* Single Cart Item */
.cart-item {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--shopify-border);
  position: relative;
}
.cart-item:last-child {
  border-bottom: none;
}
.cart-item-image {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  background: var(--shopify-light-gray);
}
.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cart-item-details {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cart-item-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--shopify-black);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 20px;
}
.cart-item-variant {
  font-size: 12px;
  color: var(--shopify-gray);
}
.cart-item-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--shopify-black);
}
.cart-item-oos-msg {
  color: var(--shopify-red);
  font-size: 12px;
  margin-top: 2px;
}
.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}
.qty-decrease,
.qty-increase {
  width: 26px;
  height: 26px;
  border: 1px solid var(--shopify-border);
  background: var(--shopify-white);
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--shopify-black);
  transition: background 0.15s, border-color 0.15s;
  line-height: 1;
}
.qty-decrease:hover,
.qty-increase:hover {
  background: var(--shopify-light-gray);
  border-color: #ccc;
}
.qty-decrease:disabled,
.qty-increase:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background: var(--shopify-white);
  border-color: var(--shopify-border);
}
.qty-value {
  font-size: 14px;
  font-weight: 600;
  min-width: 20px;
  text-align: center;
  color: var(--shopify-black);
}
.cart-item-remove {
  position: absolute;
  top: 14px;
  right: 0;
  background: none;
  border: none;
  cursor: pointer;
  color: #aaa;
  padding: 4px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}
.cart-item-remove:hover {
  color: var(--shopify-red);
}

/* Empty Cart */
.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 12px;
  color: var(--shopify-gray);
  text-align: center;
  padding: 40px 0;
}
.cart-empty svg {
  opacity: 0.3;
}
.cart-empty p {
  font-size: 16px;
}
.cart-shop-link {
  margin-top: 8px;
  padding: 10px 24px;
  font-size: 14px;
  text-decoration: none;
  display: inline-block;
}

/* Cart Footer */
.cart-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--shopify-border);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cart-subtotal {
  font-size: 16px;
  font-weight: 600;
  color: var(--shopify-black);
  display: flex;
  justify-content: space-between;
}
.cart-subtotal span {
  color: var(--shopify-gold-dark);
}
.cart-checkout-btn {
  width: 100%;
  padding: 14px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  border-radius: 4px;
  letter-spacing: 0.05em;
}
.cart-checkout-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.cart-checkout-btn:disabled:hover {
  background: #d4af37;
}
.cart-continue-link {
  display: block;
  padding: 12px 24px 12px;
  font-size: 13px;
  color: var(--shopify-gold);
  text-decoration: none;
  font-weight: 500;
}
.cart-continue-link:hover {
  text-decoration: underline;
}
.cart-clear-btn {
  width: 100%;
  padding: 10px;
  font-size: 14px;
  background: none;
  border: 1px solid var(--shopify-border);
  border-radius: 4px;
  cursor: pointer;
  color: var(--shopify-gray);
  transition: background 0.2s, color 0.2s;
}
.cart-clear-btn:not(:disabled):hover {
  background: #f5f5f5;
  color: var(--shopify-black);
}
.cart-clear-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.cart-clear-btn:disabled:hover {
  background: none;
  color: var(--shopify-gray);
}

/* Mobile cart width */
@media (max-width: 480px) {
  .cart-drawer {
    width: 100vw;
  }
}

/* ─── Loading Skeletons ────────────────────────────────────────────────────── */
@keyframes shimmer {
  0%   { background-position: -600px 0; }
  100% { background-position: 600px 0; }
}

.skeleton-pulse {
  background: linear-gradient(90deg, #e8e8e8 25%, #f4f4f4 50%, #e8e8e8 75%);
  background-size: 600px 100%;
  animation: shimmer 1.4s infinite linear;
  border-radius: 4px;
}

.skeleton-card {
  pointer-events: none;
}

.skeleton-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 4px;
}

.skeleton-line {
  border-radius: 4px;
  display: block;
}

/* Product detail skeletons */
.skeleton-main-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
}
.skeleton-thumb {
  width: 72px;
  height: 72px;
  border-radius: 6px;
  flex-shrink: 0;
}

/* ─── Product Card Enhancements ────────────────────────────────────────────── */

/* Hover lift */
.product {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.product:hover {
  transform: translateY(-4px);
  /* box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12); */
}

/* Product image link */
.product-img-link {
  display: block;
  overflow: hidden;
}
.product-img-link img {
  transition: transform 0.3s ease;
}
.product-img-link:hover img {
  transform: scale(1.05);
}

/* Product action buttons */
.product-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.product-actions .add-to-cart-btn {
  flex: 1;
  min-width: 0;
  font-size: 12px;
  padding: 8px 10px;
  white-space: nowrap;
  cursor: pointer;
  border: none;
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: background 0.15s, opacity 0.15s;
}
.product-actions .add-to-cart-btn:hover {
  background: black;
  color: white;
}
.product-actions .add-to-cart-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.product-actions .add-to-cart-btn:disabled:hover {
  background: #d4af37;
  color: black;
}
.product-actions .product-buy-now {
  flex-shrink: 0;
  background: none;
  border: 2px solid #e4b314;
  color: #b88e03;
  padding: 8px 30px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
  text-align: center;
}
.product-actions .product-buy-now:hover {
  background: black;
  color: white;
  border-color: black;
}
.product-actions .product-buy-now:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.product-actions .product-buy-now:disabled:hover {
  border: 2px solid #e4b314;
  color: #b88e03;
  background: none;
}

/* Product badges */
.tag-new {
  top: 8px;
  left: 8px;
  /* background: var(--shopify-gold);
  color: var(--shopify-black);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 3px;
  letter-spacing: 0.04em; */
}
.tag-sale {
  top: 8px;
  left: 8px;
  background: var(--shopify-red);
  padding: 2px 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 40px;
  height: 24px;
  color: var(--white);
  font-weight: 500;
  font-size: 12px;
  min-width: 44px;
}
@media (max-width: 767px) {
  .tag-sale {
    font-size: 8px;
    padding: 2px 4px;
    min-width: 24px;
    border-radius: 4px;
    height: auto;
  }
}
/* When both New + Sale badges are present, offset Sale below New */
.tag-new + .tag-sale { top: 34px; }
/* USA Product badge */
.tag-usa {
  top: 8px;
  right: 8px;
  position: absolute;
  background-image: url("../images/usa-flag.webp");
  background-size: cover;
  background-repeat: no-repeat;
  text-indent: -999px;
  overflow: hidden;
}
.badge-usa-inline {
  display: inline-block;
  background-image: url("../images/usa-flag.webp");
  background-size: cover;
  background-repeat: no-repeat;
  text-indent: -999px;
  overflow: hidden;
  color: #ffffff;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  margin-left: 4px;
  vertical-align: middle;
  position: relative;
  top: -2px;
}

/* Product detail page badge row — overrides absolute positioning */
.product-detail-badges {
  display: flex;
  gap: 6px;
}
.product-detail-badges .tag-new,
.product-detail-badges .tag-sale,
.product-detail-badges .tag-unavailable,
.product-detail-badges .tag-usa {
  position: static;
}

/* Inline badge for cart drawer & checkout */
.badge-new-inline {
  background: var(--cyan-47);
  padding: 2px 10px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 40px;
  height: 20px;
  color: var(--white);
  font-weight: 500;
  font-size: 10px;
  min-width: 44px;
  margin-left: 4px;
  position: relative;
  top: -2px;
}
.tag-unavailable {
  top: 8px;
  right: 8px;
  background: rgba(0,0,0,0.6);
  color: var(--shopify-white);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 3px;
}

/* ─── Product Search Box ───────────────────────────────────────────────────── */
.product-search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--shopify-border);
  border-radius: 0px;
  padding: 8px 14px;
  background: #ffffff;
  height: 40px;
  /* max-width: 360px; */
}
.product-search-box svg {
  color: var(--shopify-gray);
  flex-shrink: 0;
}
.product-search-box input {
  border: none;
  background: none;
  outline: none;
  font-size: 14px;
  color: var(--shopify-black);
  width: 100%;
}
.product-search-box input::placeholder {
  color: #aaa;
}

/* ─── Error States ─────────────────────────────────────────────────────────── */
.shopify-error,
.product-error {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 60px 24px;
  text-align: center;
  color: var(--shopify-gray);
  width: 100%;
}
.shopify-error svg,
.product-error svg {
  opacity: 0.4;
}
.shopify-error p,
.product-error p {
  font-size: 16px;
  max-width: 400px;
}
.shopify-error a,
.product-error a {
  color: var(--shopify-gold);
  text-decoration: underline;
}

/* Sort dropdown open state */
#sortDropdown.open {
  display: block !important;
  max-height: none;
}

/* Filter accordion open state */
.product-list-wrapper .product-area .filter-area .filters .filter-group .accordion-content.open {
  max-height: 600px;
}

/* ─── Category Header (title/description/image from a Shopify Collection) ── */
.category-header {
  padding: 20px 0;
  border-bottom: 1px solid var(--shopify-border);
}
.category-header-img {
  width: 88px;
  height: 88px;
  border-radius: 12px;
  flex-shrink: 0;
}
.category-header-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--shopify-black);
  margin: 0 0 4px;
  font-family: 'Cinzel', serif;
}
.category-header-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--shopify-gray);
}
.category-header-desc p { margin: 0 0 6px; }
@media (max-width: 480px) {
  .category-header-img { width: 64px; height: 64px; }
}

/* Sidebar category checkboxes */
.sidebar-cat-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 4px 0;
}
.sidebar-cat-count {
  margin-left: auto;
  font-size: 12px;
  color: var(--shopify-gray);
}

/* ─── Product Detail Page ──────────────────────────────────────────────────── */
.product-page-wrapper {
  padding: 40px 0 80px;
  min-height: 60vh;
}
#productDetailMain {
  max-width: 1244px;
  margin: 0 auto;
}
.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 900px) {
  .product-detail-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* Breadcrumb */
.product-detail-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--shopify-gray);
}
.product-detail-breadcrumb a {
  color: var(--shopify-gold);
  text-decoration: none;
  font-weight: 500;
}
.product-detail-breadcrumb a:hover {
  text-decoration: underline;
}

/* Product Gallery */
.product-gallery {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
@media (max-width: 900px) {
  .product-gallery {
    position: static;
  }
}

.main-image-wrapper {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: var(--shopify-light-gray);
  aspect-ratio: 1 / 1;
}
.main-product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.main-image-wrapper:hover .main-product-img {
  transform: scale(1.03);
}

/* Gallery nav arrows */
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.45);
  color: var(--shopify-white);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 2;
  line-height: 1;
  padding-bottom: 2px;
}
.gallery-nav:hover {
  background: rgba(0,0,0,0.7);
}
.gallery-prev { left: 10px; }
.gallery-next { right: 10px; }

/* Thumbnail strip */
.thumbnail-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.thumbnail-strip::-webkit-scrollbar { display: none; }
.thumb-btn {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  border: 2px solid transparent;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  background: var(--shopify-light-gray);
  padding: 0;
  transition: border-color 0.2s;
}
.thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.thumb-btn.active,
.thumb-btn:hover {
  border-color: var(--shopify-gold);
}

/* Product Info Panel */
.product-info-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.product-detail-title {
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 700;
  color: var(--shopify-black);
  line-height: 1.25;
  margin: 0;
}
.product-detail-price {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.detail-new-price {
  font-size: 26px;
  font-weight: 700;
  color: var(--shopify-red);
}
.detail-old-price {
  font-size: 18px;
  color: #999;
  text-decoration: line-through;
}
.detail-discount-badge {
  background: var(--shopify-red);
  color: var(--shopify-white);
  font-size: 12px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.04em;
}

/* Availability */
.product-availability {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}
.product-availability.in-stock {
  color: #2a7a2a;
}
.product-availability.out-of-stock {
  color: var(--shopify-red);
}
.avail-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2a7a2a;
  flex-shrink: 0;
}
.avail-dot.out {
  background: var(--shopify-red);
}

/* Variant Selectors */
.variant-selectors {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.variant-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.variant-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--shopify-black);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.variant-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.variant-option-btn {
  padding: 7px 16px;
  border: 1.5px solid var(--shopify-border);
  border-radius: 4px;
  background: var(--shopify-white);
  color: var(--shopify-black);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.variant-option-btn:hover {
  border-color: var(--shopify-gold);
}
.variant-option-btn.active {
  border-color: var(--shopify-gold);
  background: var(--shopify-gold);
  color: var(--shopify-black);
  font-weight: 700;
}

/* Quantity Selector */
.product-detail-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.qty-selector {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1.5px solid var(--shopify-border);
  border-radius: 6px;
  overflow: hidden;
  width: fit-content;
}
.qty-detail-btn {
  width: 40px;
  height: 44px;
  background: #f5f5f5;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: var(--shopify-black);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  line-height: 1;
}
.qty-detail-btn:hover {
  background: var(--shopify-light-gray);
}
.qty-detail-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background: #f5f5f5;
}
#qtyValue {
  min-width: 44px;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--shopify-black);
  padding: 0 8px;
  border-left: 1.5px solid var(--shopify-border);
  border-right: 1.5px solid var(--shopify-border);
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.detail-add-cart-btn {
  flex: 1;
  min-width: 0;
  padding: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  border-radius: 6px;
  letter-spacing: 0.05em;
  transition: opacity 0.15s;
}
.detail-add-cart-btn:hover {
  background: black;
  color: white;
}
.detail-add-cart-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.detail-add-cart-btn:disabled:hover {
  background: #d4af37;
  color: black;
}
.detail-buy-now-btn {
  flex: 1;
  min-width: 0;
  padding: 10px;
  font-size: 15px;
  font-weight: 700;
  border: 2px solid var(--shopify-gold);
  background: transparent;
  color: var(--shopify-gold);
  border-radius: 6px;
  cursor: pointer;
  letter-spacing: 0.05em;
  transition: background 0.15s, color 0.15s;
  text-align: center;
}
.detail-buy-now-btn:hover {
  background: black;
  color: white;
  border-color: black;
}
.detail-buy-now-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}
.detail-buy-now-btn:disabled:hover {
  border: 2px solid #e4b314;
  color: #b88e03;
  background: none;
}

/* Product Description */
.product-detail-description {
  border-top: 1px solid var(--shopify-border);
  padding-top: 20px;
}
.product-detail-description h3 {
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
  color: var(--shopify-black);
}
.description-body {
  font-size: 15px;
  line-height: 1.7;
  color: #444;
}
.description-body p { margin-bottom: 10px; }
.description-body ul { padding-left: 20px; margin-bottom: 10px; }
.description-body li { margin-bottom: 6px; }

/* Return Policy callout */
.product-detail-policy {
  margin-top: 20px;
  padding: 18px 20px;
  border: 1px solid #eee1c6;
  border-radius: 10px;
  background: #fdf8ee;
}
.policy-heading {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
}
.policy-heading svg {
  flex-shrink: 0;
  color: #b88e03;
}
.policy-heading h3 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--shopify-black);
  margin: 0;
}
.policy-body {
  font-size: 13.5px;
  line-height: 1.7;
  color: #5a5142;
}
.policy-body p { margin: 0 0 10px; }
.policy-body p:last-child { margin-bottom: 0; }
.policy-body .policy-note {
  font-weight: 600;
  color: #6b5a1e;
}

/* ─── Mobile Responsive ────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .product-actions {
    flex-direction: column;
    justify-content: flex-end;
  }
  .product-actions .add-to-cart-btn,
  .product-actions .product-buy-now {
    width: 100%;
  }
  .product-actions .add-to-cart-btn {
    flex: none;
  }
  /* .product-search-box {
    max-width: calc(100% - 100px);
    margin-left: auto;
    height: 40px;
  } */
  .product-detail-actions {
    flex-direction: column;
    gap: 10px;
  }
  .detail-add-cart-btn,
  .detail-buy-now-btn {
    width: 100%;
    flex: none;
  }
}

/* ─── Cart Mobile Nav Button ───────────────────────────────────────────────── */
.cart-mobile-nav-btn {
  color: var(--shopify-white);
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}
.cart-mobile-nav-btn .cart-count {
  position: static;
  display: inline-flex;
}
.cart-mobile-nav-btn .cart-count.hidden {
  display: none;
}

/* ─── Checkout Page ────────────────────────────────────────────────────────── */
.checkout-page-wrapper {
  padding: 40px 0 80px;
  min-height: 70vh;
  background: #f9f9f9;
}
.checkout-page {
  max-width: 1440px;
  margin: 0 auto;
}

/* Page header */
.nav-account-link {
  color: var(--white);
}
.checkout-page-header {
  margin-bottom: 32px;
}
.checkout-page-title {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  color: var(--shopify-black);
  margin: 0 0 8px;
  font-family: 'Cinzel', serif;
}
.checkout-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--shopify-gray);
}
.checkout-breadcrumb a {
  color: var(--shopify-gold);
  text-decoration: none;
  font-weight: 500;
}
.checkout-breadcrumb a:hover {
  text-decoration: underline;
}

/* Two-column layout */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
@media (max-width: 1024px) {
  .checkout-layout {
    grid-template-columns: 1fr;
  }
}

/* ── Left Panel: Items ── */
.checkout-items-panel {
  background: var(--shopify-white);
  border-radius: 10px;
  padding: 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  height: 100%;
}

.checkout-section-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--shopify-black);
  margin: 0 0 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Cinzel', serif;
}
.checkout-item-count {
  font-size: 14px;
  font-weight: 500;
  color: var(--shopify-gray);
  font-family: inherit;
}

/* Item row */
.checkout-item-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--shopify-border);
  position: relative;
}
.checkout-item-row:last-of-type {
  border-bottom: none;
}
.checkout-item-img {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  background: var(--shopify-light-gray);
}
.checkout-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.checkout-item-details {
  flex: 1;
  min-width: 0;
}
.checkout-item-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--shopify-black);
  margin-bottom: 4px;
  /* white-space: nowrap; */
  overflow: hidden;
  text-overflow: ellipsis;
}
.checkout-item-variant {
  font-size: 12px;
  color: var(--shopify-gray);
  margin-bottom: 4px;
}
.checkout-item-unit-price {
  font-size: 14px;
  color: var(--shopify-gray);
}
.checkout-item-qty-col {
  flex-shrink: 0;
}

/* Qty controls */
.checkout-qty-controls {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--shopify-border);
  border-radius: 6px;
  overflow: hidden;
}
.co-qty-btn {
  width: 32px;
  height: 32px;
  background: #f5f5f5;
  border: none;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--shopify-black);
  transition: background 0.15s;
  line-height: 1;
}
.co-qty-btn:hover {
  background: var(--shopify-light-gray);
}
.co-qty-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background: #f5f5f5;
}
.co-qty-value {
  min-width: 36px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  padding: 0 4px;
  color: var(--shopify-black);
  border-left: 1.5px solid var(--shopify-border);
  border-right: 1.5px solid var(--shopify-border);
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.checkout-qty-static {
  font-size: 14px;
  color: var(--shopify-gray);
  white-space: nowrap;
}

/* Line total */
.checkout-item-total {
  font-size: 15px;
  font-weight: 700;
  color: var(--shopify-black);
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 80px;
  text-align: right;
}

/* Remove button */
.checkout-item-remove {
  background: none;
  border: none;
  cursor: pointer;
  color: #bbb;
  padding: 4px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  transition: color 0.15s;
  flex-shrink: 0;
}
.checkout-item-remove:hover {
  color: var(--shopify-red);
}

/* Continue shopping */
.checkout-continue-link {
  display: inline-block;
  margin-top: 20px;
  font-size: 14px;
  color: var(--shopify-gold);
  text-decoration: none;
  font-weight: 500;
}
.checkout-continue-link:hover {
  text-decoration: underline;
}

/* ── Right Panel: Totals ── */
.checkout-totals-panel {
  background: var(--shopify-white);
  border-radius: 10px;
  padding: 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
@media (max-width: 900px) {
  .checkout-totals-panel {
    position: static;
  }
}

.checkout-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  color: var(--shopify-black);
}
.checkout-subtotal-row {
  font-size: 18px;
  font-weight: 700;
}
.checkout-subtotal-row span:last-child {
  color: var(--shopify-red);
}

/* Tax / shipping notes */
.checkout-tax-note {
  font-size: 12px;
  color: var(--shopify-gray);
  line-height: 1.5;
  margin: 0;
}
.product-tax-note {
  font-size: 12px;
  color: var(--shopify-gray);
  margin: 4px 0 0;
}
.product-list-tax-note {
  font-size: 12px;
  color: var(--shopify-gray);
  margin: 0 0 4px;
}

.checkout-divider {
  height: 1px;
  background: var(--shopify-border);
  margin: 0;
}

/* Razorpay customer / delivery form */
.rzp-customer-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1.5px solid var(--shopify-border);
  padding-top: 16px;
  margin-bottom: 4px;
}
.rzp-form-heading {
  font-size: 18px;
  font-weight: 600;
  color: var(--shopify-black);
  letter-spacing: 0.05em;
  margin: 0;
}
.rzp-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.rzp-field label {
  font-size: 12px;
  font-weight: 500;
  color: var(--shopify-black);
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}
.rzp-field input {
  border: 1.5px solid var(--shopify-border);
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 14px;
  outline: none;
  color: var(--shopify-black);
  background: #fafafa;
  transition: border-color 0.15s;
}
.rzp-field input::placeholder {
  color: #bbb;
}
.rzp-field input:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background: #f5f5f5;
}
.rzp-field input:focus {
  border-color: var(--shopify-black);
  background: #fff;
}
.rzp-field-row {
  display: flex;
  gap: 12px;
}
.rzp-field-row .rzp-field {
  flex: 1;
  min-width: 0;
}

/* Field validation states */
.rzp-field.error input,
.rzp-field.error select { border-color: #cc3636 !important; background: #fff8f8; }
.rzp-field.valid input,
.rzp-field.valid select { border-color: #22a55b !important; }
.rzp-field-error {
  font-size: 11px;
  color: #cc3636;
  display: block;
  margin-top: 2px;
}
.rzp-field-error:empty { display: none; }

/* Select element styling */
.rzp-field select {
  border: 1.5px solid var(--shopify-border);
  border-radius: 6px;
  padding: 10px 14px;
  padding-right: 36px;
  font-size: 14px;
  outline: none;
  color: var(--shopify-black);
  background: #fafafa url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 12px center;
  background-size: 12px;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: border-color 0.15s;
}
.rzp-field select:focus {
  border-color: var(--shopify-black);
  background-color: #fff;
}

/* Error */
.checkout-error-msg {
  background: #fff0f0;
  border: 1px solid #ffcdd2;
  color: var(--shopify-red);
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.5;
}

.cart-error-msg {
  background: #fff0f0;
  border: 1px solid #ffcdd2;
  color: var(--shopify-red);
  padding: 10px 14px;
  margin: 0 20px 12px;
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.5;
}

/* T&C checkbox row */
.rzp-terms-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.rzp-terms-row input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  min-width: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  border: 1.5px solid var(--shopify-border);
  border-radius: 4px;
  background: #fafafa;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.rzp-terms-row input[type="checkbox"]:hover {
  border-color: var(--shopify-gold);
}
.rzp-terms-row input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--shopify-gold);
  outline-offset: 2px;
}
.rzp-terms-row input[type="checkbox"]:checked {
  background-color: var(--shopify-gold);
  border-color: var(--shopify-gold);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8' fill='none'%3E%3Cpath d='M1 4l3 3 5-6' stroke='%23000000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}
.rzp-terms-row input[type="checkbox"]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.rzp-terms-row label {
  font-size: 14px;
  color: var(--shopify-gray);
  line-height: 1.5;
  cursor: pointer;
  user-select: none;
}
.rzp-terms-row label a {
  color: var(--shopify-gold);
  text-decoration: underline;
  font-weight: 500;
}
.rzp-terms-row label a:hover {
  color: var(--shopify-gold-dark);
}

/* Pay button */
.checkout-pay-btn {
  width: 100%;
  padding: 16px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  border-radius: 8px;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: opacity 0.15s;
}
.checkout-pay-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

/* Secure note */
.checkout-secure-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  color: var(--shopify-gray);
}

/* Payment icons */
.checkout-payment-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}
.payment-icon-badge {
  background: var(--shopify-light-gray);
  color: var(--shopify-gray);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.04em;
}

/* Empty checkout state */
.checkout-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 60px 24px;
  text-align: center;
  color: var(--shopify-gray);
}
.checkout-empty svg {
  opacity: 0.3;
}
.checkout-empty p {
  font-size: 18px;
}
.checkout-shop-link {
  padding: 12px 28px;
  font-size: 14px;
  text-decoration: none;
  display: inline-block;
  margin-top: 4px;
}

/* Mobile item row adjustments */
@media (max-width: 600px) {
  .checkout-item-row {
    flex-wrap: wrap;
    gap: 12px;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    position: relative;
  }
  .checkout-item-remove {
    position: absolute;
    right: 0px;
  }
  .checkout-item-img {
    width: 64px;
    height: 64px;
  }
  /* .checkout-item-total {
    min-width: auto;
    margin-left: auto;
  } */
  .checkout-items-panel,
  .checkout-totals-panel {
    padding: 20px;
  }
  .rzp-field-row {
    flex-direction: column;
  }
}

/* ─── Color Swatch Filter ──────────────────────────────────────────────────── */
#sidebarColorList {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0;
}
#sidebarColorList.open {
  padding: 4px 0;
  max-height: 240px;
  overflow-y: auto;
}

/* One-line row: [●] Color Name (count) */
.color-filter-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px 6px;
  border-radius: 6px;
  text-align: left;
  transition: background 0.15s;
}
.color-filter-btn:hover { background: #f5f5f5; }
.color-filter-btn.active { background: #fdf6e3; }
.color-filter-btn .color-dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
  transition: box-shadow 0.15s;
}
.color-filter-btn[data-color="White"] .color-dot,
.color-filter-btn[data-color="white"] .color-dot { border-color: #ccc; }
.color-filter-btn.active .color-dot {
  box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--shopify-gold);
}
.color-filter-btn .color-label {
  flex: 1;
  font-size: 16px;
  color: #222222;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: capitalize;
}
.color-filter-btn.active .color-label { color: #000; font-weight: 600; }
.color-filter-btn .filter-count {
  font-size: 16px;
  color: #222222;
  flex-shrink: 0;
}

/* ─── Size Filter ──────────────────────────────────────────────────────────── */
#sidebarSizeList {
  display: flex;
  flex-direction: column;
  padding: 0;
}
#sidebarSizeList.open {
  max-height: 240px;
  overflow-y: auto;
}

/* ─── Product Detail — Color Swatches ─────────────────────────────────────── */
.variant-color-swatch {
  width: 36px;
  height: 36px;
  padding: 3px;
  border: 2px solid transparent;
  border-radius: 50%;
  background: none;
  cursor: pointer;
  transition: border-color 0.15s, transform 0.15s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.variant-color-swatch:hover { border-color: var(--shopify-gold); transform: scale(1.1); }
.variant-color-swatch.active { border-color: var(--shopify-gold); }
.variant-swatch-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 0, 0, 0.15);
  display: block;
}

/* ─── Checkout — Option Tags ──────────────────────────────────────────────── */
.checkout-item-options {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 3px;
  font-size: 12px;
  color: #555;
}
.checkout-option-tag strong { color: #222; }

/* ─── Product Card — Inline Option Selector ──────────────────────────────── */
.card-options { padding: 6px 0 2px; display: flex; flex-direction: column; gap: 6px; }
.card-option-row { display: flex; flex-wrap: wrap; gap: 5px; }

.card-color-dot {
  width: 30px; height: 30px; padding: 2px;
  border: 2px solid transparent; border-radius: 50%;
  background: none; cursor: pointer; transition: border-color 0.15s;
  display: inline-flex; align-items: center; justify-content: center;
}
.card-color-dot span {
  width: 22px; height: 22px; border-radius: 50%;
  box-shadow: 0px 0px 2px #999;
}
.card-color-dot:hover { border-color: var(--shopify-gold); }
.card-color-dot.active { border-color: var(--shopify-gold); }

.card-size-pill {
  min-width: 28px; height: 26px; padding: 0 6px;
  border: 1.5px solid #ddd; border-radius: 3px;
  background: #fff; color: #555; font-size: 11px; font-weight: 500;
  cursor: pointer; transition: border-color 0.15s, background 0.15s, color 0.15s;
  text-align: center;
}
.card-size-pill:hover { border-color: var(--shopify-gold); }
.card-size-pill.active {
  border-color: var(--shopify-gold);
  background: var(--shopify-gold); color: #000; font-weight: 700;
}

.card-options-error { font-size: 11px; color: #cc3636; margin-top: 2px; }
.card-options-error.hidden { display: none; }

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25%       { transform: translateX(-4px); }
  75%       { transform: translateX(4px); }
}
.card-options.shake { animation: shake 0.4s ease; }

/* ─── Checkout Full-Page Loading Overlay ──────────────────────────────────── */
.checkout-page-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.checkout-page-overlay.active {
  opacity: 1;
  pointer-events: all;
  cursor: wait;
}
.checkout-overlay-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.checkout-overlay-spinner {
  animation: co-spin 0.8s linear infinite;
  flex-shrink: 0;
}
.checkout-overlay-text {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.04em;
  margin: 0;
}

/* ─── Email Verification Modal (checkout) ─────────────────────────────────── */
@keyframes email-verify-modal-enter {
  from { opacity: 0; transform: scale(.94); }
  to   { opacity: 1; transform: scale(1); }
}
.email-verify-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 10001; /* above .checkout-page-overlay */
  align-items: center;
  justify-content: center;
  padding: 16px;
  /* display is toggled between 'none' and 'flex' by checkout.js */
}
.email-verify-modal-panel {
  background: #0d0d0d;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 16px;
  padding: 40px 32px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  animation: email-verify-modal-enter .22s ease both;
}
.email-verify-title {
  font-family: 'Cinzel', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 10px;
}
.email-verify-subtitle {
  color: rgba(255, 255, 255, .5);
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 28px;
}
.email-verify-subtitle strong { color: var(--shopify-gold); font-weight: 600; }
.email-verify-otp-input {
  width: 100%;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  color: #fff;
  outline: none;
  box-sizing: border-box;
  font-size: 28px;
  letter-spacing: 14px;
  text-align: center;
  font-family: monospace;
  padding: 14px 10px;
  transition: border-color .2s;
}
.email-verify-otp-input:focus { border-color: var(--shopify-gold); }
.email-verify-error {
  display: none;
  margin-top: 14px;
  padding: 10px 14px;
  background: rgba(248, 113, 113, .07);
  border: 1px solid rgba(248, 113, 113, .22);
  border-radius: 6px;
  color: #f87171;
  font-size: 13px;
  line-height: 1.5;
  text-align: left;
}
.email-verify-submit-btn {
  width: 100%;
  background: var(--shopify-gold);
  color: #000;
  border: none;
  border-radius: 8px;
  font-family: 'PP Neue Montreal', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 14px;
  cursor: pointer;
  margin-top: 20px;
  transition: opacity .2s;
}
.email-verify-submit-btn:disabled { opacity: .45; cursor: not-allowed; }
.email-verify-resend-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}
.email-verify-resend-btn {
  background: none;
  border: none;
  color: var(--shopify-gold);
  font-size: 13px;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
  font-family: 'PP Neue Montreal', sans-serif;
}
.email-verify-resend-btn:disabled { color: rgba(255, 255, 255, .3); cursor: default; text-decoration: none; }
.email-verify-resend-timer { font-size: 13px; color: rgba(255, 255, 255, .3); }
.email-verify-cancel-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, .4);
  font-size: 13px;
  cursor: pointer;
  margin-top: 20px;
  display: block;
  width: 100%;
  text-align: center;
  text-decoration: underline;
  font-family: 'PP Neue Montreal', sans-serif;
}
.email-verify-cancel-btn:hover { color: rgba(255, 255, 255, .7); }
@media (max-width: 480px) {
  .email-verify-modal-panel { padding: 32px 20px; }
}

/* ─── Policy Pages (Terms & Privacy) ──────────────────────────────────────── */
.policy-page-wrapper {
  max-width: 1440px;
  margin: 0 auto;
  padding: 48px 24px 80px;
  min-height: 60vh;
}
.policy-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  color: var(--shopify-white);
  margin: 0 0 28px;
}
.policy-body {
  font-size: 15px;
  line-height: 1.85;
  color: var(--black);
}
.policy-body h1,
.policy-body h2,
.policy-body h3 {
  font-weight: 700;
  color: var(--white);
  margin: 28px 0 10px;
}
.policy-body h1 { font-size: 22px; }
.policy-body h2 { font-size: 18px; }
.policy-body h3 { font-size: 15px; }
.policy-body p  { margin-bottom: 14px; }
.policy-body ul,
.policy-body ol { padding-left: 24px; margin-bottom: 14px; }
.policy-body li { margin-bottom: 6px; }
.policy-body a  { color: var(--shopify-gold); text-decoration: underline; }
.policy-body a:hover { color: var(--shopify-gold-dark); }
.policy-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 80px 0;
  color: var(--shopify-gray);
}
.policy-loading svg {
  animation: co-spin 0.8s linear infinite;
}
.policy-error {
  padding: 80px 0;
  text-align: center;
  color: var(--shopify-red);
  font-size: 15px;
}

/* ── Fulfillment status badge (success page) ─────────────────────────────── */
.fulfillment-badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.fulfillment-badge.status-delivered {
  background: rgba(74, 222, 128, 0.15);
  color: #4ade80;
  border: 1px solid rgba(74, 222, 128, 0.3);
}
.fulfillment-badge.status-fulfilled {
  background: rgba(212, 175, 55, 0.15);
  color: #d4af37;
  border: 1px solid rgba(212, 175, 55, 0.3);
}
.fulfillment-badge.status-partial {
  background: rgba(251, 191, 36, 0.12);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.3);
}


/*animations*/
@keyframes co-spin { to { transform: rotate(360deg); } }
