/* =============================================
   AGWraps — single-product.css  (clean v2)
   WooCommerce Single Product Page
   Fonts: Barlow Condensed (display) · Barlow (body) · Share Tech Mono (mono)
============================================= */


/* ═══════════════════════════════════════════
   BREADCRUMB BAR
═══════════════════════════════════════════ */
.sp-breadcrumb-bar {
  background: var(--black);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 12px 0;
}
.sp-breadcrumb-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
}
.sp-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  flex-wrap: wrap;
}
.sp-breadcrumb a {
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  transition: color 0.2s;
}
.sp-breadcrumb a:hover  { color: var(--yellow); }
.sp-bc-sep     { color: rgba(255,255,255,0.2); font-size: 13px; }
.sp-bc-current { color: rgba(255,255,255,0.65); }


/* ═══════════════════════════════════════════
   PRODUCT SPLIT LAYOUT
═══════════════════════════════════════════ */
.sp-layout {
  background: var(--white);
  padding: 56px 0 0;
}
.sp-layout-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}


/* ═══════════════════════════════════════════
   LEFT — IMAGES
═══════════════════════════════════════════ */
.sp-images {
  position: sticky;
  top: 86px;
}

/* Main image */
.sp-main-img-wrap {
  position: relative;
  background: var(--gray-100);
  overflow: hidden;
  aspect-ratio: 1;
  cursor: zoom-in;
  border: 2px solid var(--gray-200);
  transition: border-color 0.2s;
}
.sp-main-img-wrap:hover { border-color: var(--yellow-border); }
.sp-main-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.sp-main-img-wrap:hover .sp-main-img { transform: scale(1.03); }

/* Sale badge */
.sp-badge {
  position: absolute;
  top: 0; left: 0;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 14px;
  font-weight: 700;
  z-index: 5;
}
.sp-badge--sale { background: var(--yellow); color: var(--black); }

/* Zoom hint */
.sp-zoom-hint {
  position: absolute;
  bottom: 12px; right: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(0,0,0,0.4);
  background: rgba(255,255,255,0.85);
  padding: 6px 10px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}
.sp-zoom-hint svg { width: 13px; height: 13px; fill: currentColor; }
.sp-main-img-wrap:hover .sp-zoom-hint { opacity: 1; }

/* Thumbnails */
.sp-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.sp-thumb {
  width: 72px; height: 72px;
  padding: 0;
  background: var(--gray-100);
  border: 2px solid var(--gray-200);
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s;
  flex-shrink: 0;
}
.sp-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sp-thumb:hover     { border-color: var(--yellow-border); }
.sp-thumb--active   { border-color: var(--yellow); }


/* ═══════════════════════════════════════════
   RIGHT — PRODUCT DETAILS
═══════════════════════════════════════════ */
.sp-details { padding-top: 4px; }

/* Category tag */
.sp-cat-tag {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--yellow-border);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 12px;
  transition: color 0.2s;
}
.sp-cat-tag:hover { color: var(--black); }

/* Title */
.sp-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--black);
  line-height: 1;
  margin-bottom: 16px;
}

/* Rating row */
.sp-rating-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
}
.sp-stars         { color: var(--yellow); font-size: 16px; }
.sp-rating-num    { font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--black); }
.sp-review-link   { color: var(--gray-400); text-decoration: underline; transition: color 0.2s; }
.sp-review-link:hover { color: var(--yellow-border); }
.sp-meta-divider  { color: var(--gray-200); }
.sp-sku           { color: var(--gray-400); }

/* Price block */
.sp-price-block {
  margin-bottom: 20px;
  padding: 20px 24px;
  background: var(--gray-100);
  border-left: 4px solid var(--yellow);
}
.sp-price-block .price {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 900;
  color: var(--black);
  line-height: 1;
}
.sp-price-block .price ins { text-decoration: none; }
.sp-price-block .price del { font-size: 20px; color: var(--gray-400); font-weight: 400; margin-right: 8px; }

/* Short description */
.sp-short-desc {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  color: var(--black);
  line-height: 1.75;
  margin-bottom: 20px;
}
.sp-short-desc p       { margin-bottom: 8px; }
.sp-short-desc p:last-child { margin-bottom: 0; }
.sp-short-desc ul      { padding-left: 18px; }
.sp-short-desc ul li   { margin-bottom: 4px; }

/* Stock status */
.sp-stock {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 24px;
  padding: 10px 14px;
}
.sp-stock svg          { width: 20px; height: 20px; flex-shrink: 0; }
.sp-stock.instock      { background: #edfaf3; color: #1a7a4a; border-left: 3px solid #1a7a4a; }
.sp-stock.instock svg  { fill: #1a7a4a; }
.sp-stock.onbackorder  { background: #fff8e1; color: #856404; border-left: 3px solid #f9a825; }
.sp-stock.onbackorder svg { fill: #f9a825; }
.sp-stock.outofstock   { background: #fdf0ee; color: #c0392b; border-left: 3px solid #c0392b; }
.sp-stock.outofstock svg  { fill: #c0392b; }


/* ═══════════════════════════════════════════
   WOOCOMMERCE CART FORM
   !important used selectively where WC/plugins
   override with inline styles or high specificity
═══════════════════════════════════════════ */
.sp-cart-form { margin-bottom: 24px; }

/* Force all form text to match site fonts — WC injects its own */
.sp-cart-form,
.sp-cart-form label,
.sp-cart-form select,
.sp-cart-form input,
.sp-cart-form textarea,
.sp-cart-form .wc-pao-addon-name,
.sp-cart-form .wc-pao-addon-description,
.sp-cart-form .wc-pao-addon-field {
  font-family: var(--font-body) !important;
  color: var(--black) !important;
}

/* Labels */
.sp-cart-form label,
.sp-cart-form .variations label {
  font-size: 14px !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: var(--black) !important;
  margin-bottom: 6px !important;
}

/* Variations table — remove WC default table borders */
.sp-cart-form table,
.sp-cart-form .variations {
  border: none !important;
  background: transparent !important;
  width: 100%;
  margin-bottom: 16px;
}
.sp-cart-form .variations tr,
.sp-cart-form .variations td,
.sp-cart-form .variations th {
  border: none !important;
  display: block;
  width: 100%;
  padding: 0 0 16px !important;
  vertical-align: top;
}

/* All inputs, selects, textareas */
.sp-cart-form select,
.sp-cart-form input[type="text"],
.sp-cart-form input[type="email"],
.sp-cart-form input[type="tel"],
.sp-cart-form input[type="file"],
.sp-cart-form textarea {
  width: 100% !important;
  min-height: 48px;
  padding: 10px 12px !important;
  border: 1px solid var(--gray-200) !important;
  background: var(--white) !important;
  color: var(--black) !important;
  font-size: 15px !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
  -webkit-appearance: none;
}
.sp-cart-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%23b0ada4' fill-rule='evenodd' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z' clip-rule='evenodd'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 10px center !important;
  background-size: 16px !important;
  padding-right: 36px !important;
}
.sp-cart-form select:focus,
.sp-cart-form input:focus,
.sp-cart-form textarea:focus {
  border-color: var(--yellow-border) !important;
  outline: none !important;
}
.sp-cart-form .reset_variations {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gray-400);
  text-decoration: underline;
  display: inline-block;
  margin-top: 6px;
}

/* Quantity stepper row */
.sp-action-row .woocommerce-variation-add-to-cart {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 6px !important;
  width: 100% !important;
}
.sp-action-row .woocommerce-variation-add-to-cart input[type="hidden"] {
  display: none !important;
}
.sp-action-row .quantity {
  display: flex !important;
  align-items: center !important;
  margin: 0 !important;
  height: 58px !important;
  flex: 0 0 auto !important;
}
.sp-action-row .sp-qty-btn,
.sp-action-row .qty,
.sp-action-row .single_add_to_cart_button {
  height: 58px !important;
  box-sizing: border-box !important;
}
.sp-action-row .sp-qty-btn {
  width: 58px !important;
  padding: 0 !important;
}
.sp-action-row .qty {
  width: 88px !important;
  padding: 0 !important;
  text-align: center !important;
}
.sp-action-row .single_add_to_cart_button {
  flex: 0 0 280px !important;
  width: 280px !important;
  min-width: 280px !important;
  margin: 0 !important;
  padding: 0 24px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
}

/* ── QTY + ADD TO CART — inline row for all product types ── */

/* ── QTY + ADD TO CART ROW ──────────────────
   Works whether WC renders them stacked or inline.
   The cart-btn-row wrapper (injected by JS) makes
   them sit side by side. If JS hasn't run yet,
   margin-bottom on .quantity gives clear separation.
──────────────────────────────────────────── */

/* Form column layout */
.sp-cart-form form.cart {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
}

/* Row wrapper — JS injects this div */
.sp-cart-form .cart-btn-row {
  display: flex !important;
  align-items: stretch !important;
  gap: 12px !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Qty wrapper */
.sp-cart-form .quantity {
  display: flex !important;
  align-items: stretch !important;
  gap: 0 !important;
  margin: 0 0 12px 0 !important; /* fallback spacing if not in .cart-btn-row */
  flex-shrink: 0 !important;
}

/* When inside cart-btn-row, remove the bottom margin */
.sp-cart-form .cart-btn-row .quantity {
  margin-bottom: 0 !important;
}

/* Qty stepper buttons */
.sp-qty-btn {
  width: 48px;
  height: 52px;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 300;
  color: var(--black);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.15s;
  line-height: 1;
}
.sp-qty-btn:hover { background: var(--yellow); border-color: var(--yellow-border); }

/* Qty number input */
.sp-cart-form .qty {
  width: 64px !important;
  height: 52px !important;
  border: 1px solid var(--gray-200) !important;
  border-left: none !important;
  border-right: none !important;
  text-align: center;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--black);
  background: var(--white) !important;
  outline: none;
  min-height: unset !important; /* override global form input min-height */
  -moz-appearance: textfield;
  flex-shrink: 0;
}
.sp-cart-form .qty::-webkit-inner-spin-button,
.sp-cart-form .qty::-webkit-outer-spin-button { -webkit-appearance: none; }
.sp-cart-form .qty:focus { border-color: var(--yellow-border); }

/* Add to Cart button */
.sp-cart-form .single_add_to_cart_button,
.sp-cart-form button[type="submit"] {
  height: 52px !important;
  flex: 1 !important;
  width: auto !important;
  min-width: 160px !important;
  min-height: unset !important; /* override global form input min-height */
  padding: 0 28px !important;
  background: var(--yellow) !important;
  color: var(--black) !important;
  border: 2px solid var(--yellow-border) !important;
  font-family: var(--font-display) !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  transition: all 0.2s !important;
  clip-path: polygon(0 0,calc(100% - 10px) 0,100% 10px,100% 100%,10px 100%,0 calc(100% - 10px)) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  margin: 0 !important;
}
.sp-cart-form .single_add_to_cart_button:hover,
.sp-cart-form button[type="submit"]:hover {
  background: var(--black) !important;
  color: var(--yellow) !important;
  border-color: var(--black) !important;
}
.sp-cart-form .single_add_to_cart_button:disabled,
.sp-cart-form button[type="submit"]:disabled {
  background: var(--gray-200) !important;
  border-color: var(--gray-200) !important;
  color: var(--gray-400) !important;
  cursor: not-allowed !important;
  clip-path: none !important;
}

/* Variation price — shown dynamically by WC JS */
.sp-cart-form .single_variation { display: block !important; margin: 18px 0 !important; }
.sp-cart-form .woocommerce-variation-price { display: block !important; margin: 0 0 18px !important; }
.sp-cart-form .woocommerce-variation-price .price {
  display: block !important;
  font-family: var(--font-display) !important;
  font-size: 30px !important;
  font-weight: 900 !important;
  color: var(--black) !important;
  line-height: 1 !important;
}

/* Live total display */
.sp-cart-live-total {
  margin: 18px 0 12px;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 900;
  color: var(--black);
  letter-spacing: 1px;
  text-transform: uppercase;
}


/* ═══════════════════════════════════════════
   HOW TO ORDER STRIP
   Dark background with yellow accents
═══════════════════════════════════════════ */
.sp-how-to-order {
  background: var(--black);
  border: 2px solid var(--black);
  padding: 20px;
  margin-bottom: 24px;
}
.sp-hto-label {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--yellow);
  margin-bottom: 14px;
}
.sp-hto-options {
  display: flex;
  gap: 3px;
}
.sp-hto-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 10px;
  background: var(--black-soft);
  border: 1px solid rgba(255,255,255,0.14);
  text-decoration: none;
  text-align: center;
  transition: all 0.2s;
}
.sp-hto-item svg        { width: 26px; height: 26px; fill: var(--yellow); flex-shrink: 0; }
.sp-hto-item span       { font-family: var(--font-body); font-size: 14px; font-weight: 600; color: var(--white); line-height: 1.35; }
.sp-hto-item:hover      { background: var(--yellow); border-color: var(--yellow-border); }
.sp-hto-item:hover svg  { fill: var(--black); }
.sp-hto-item:hover span { color: var(--black); }


/* ═══════════════════════════════════════════
   TRUST BADGES
═══════════════════════════════════════════ */
.sp-trust-badges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
  margin-bottom: 24px;
}
.sp-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--black);
}
.sp-trust-item svg { width: 24px; height: 24px; fill: var(--yellow-border); flex-shrink: 0; }


/* ═══════════════════════════════════════════
   TAGS
═══════════════════════════════════════════ */
.sp-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid var(--gray-200);
}
.sp-tags-label {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
}
.sp-tag {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  padding: 7px 12px;
  background: var(--white);
  border: 1px solid var(--yellow-border);
  color: var(--black);
  text-decoration: none;
  transition: all 0.2s;
}
.sp-tag:hover { background: var(--yellow); border-color: var(--yellow-border); color: var(--black); }


/* ═══════════════════════════════════════════
   PRODUCT TABS — WooCommerce native
═══════════════════════════════════════════ */
.sp-tabs-section {
  background: var(--off-white);
  border-top: 1px solid var(--gray-200);
  padding: 0 0 72px;
}
.sp-tabs-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Tab nav */
.sp-tab-nav {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--gray-200);
  margin-bottom: 40px;
  overflow-x: auto;
  scrollbar-width: none;
}
.sp-tab-nav::-webkit-scrollbar { display: none; }
.sp-tab-btn {
  padding: 18px 28px;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray-400);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.sp-tab-btn:hover          { color: var(--black); }
.sp-tab-btn--active        { color: var(--black); border-bottom-color: var(--yellow); }

/* Tab panels */
.sp-tab-panel[hidden] { display: none; }
.sp-tab-content {
  max-width: 860px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  color: var(--gray-600);
  line-height: 1.8;
}
.sp-tab-content p, .sp-tab-content li { color: var(--gray-600); font-size: 16px; }
.sp-tab-content h2, .sp-tab-content h3 {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--black);
  margin-bottom: 16px;
  margin-top: 28px;
}
.sp-tab-content h2 { font-size: 24px; }
.sp-tab-content h3 { font-size: 18px; }
.sp-tab-content p  { margin-bottom: 16px; }
.sp-tab-content ul, .sp-tab-content ol { padding-left: 20px; margin-bottom: 16px; }
.sp-tab-content ul li, .sp-tab-content ol li { margin-bottom: 8px; }

/* Tab content — tables */
.sp-tab-content table { width: 100%; border-collapse: collapse; margin-bottom: 24px; font-size: 14px; }
.sp-tab-content table th,
.sp-tab-content table td { padding: 12px 16px; border: 1px solid var(--gray-200); text-align: left; }
.sp-tab-content table th {
  background: var(--gray-100);
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gray-600); font-weight: 400;
}
.sp-tab-content table tr:nth-child(even) td { background: var(--gray-100); }

/* Reviews inside tab */
.sp-tab-content #reviews                  { margin: 0; }
.sp-tab-content .woocommerce-Reviews-title {
  font-family: var(--font-display); font-size: 24px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 2px; color: var(--black); margin-bottom: 24px;
}
.sp-tab-content .comment-text              { border: 1px solid var(--gray-200); padding: 20px; margin-bottom: 16px; }
.sp-tab-content .comment-form input[type="text"],
.sp-tab-content .comment-form input[type="email"],
.sp-tab-content .comment-form textarea {
  width: 100%; padding: 10px 14px;
  border: 1px solid var(--gray-200);
  font-family: var(--font-body); font-size: 14px; color: var(--black);
  outline: none; margin-bottom: 12px; background: var(--white);
}
.sp-tab-content .comment-form input:focus,
.sp-tab-content .comment-form textarea:focus { border-color: var(--yellow-border); }
.sp-tab-content #submit {
  padding: 13px 28px;
  background: var(--yellow); color: var(--black);
  border: 2px solid var(--yellow-border);
  font-family: var(--font-display); font-size: 14px; font-weight: 800;
  letter-spacing: 2px; text-transform: uppercase;
  cursor: pointer; transition: background 0.2s;
  clip-path: polygon(0 0,calc(100% - 8px) 0,100% 8px,100% 100%,8px 100%,0 calc(100% - 8px));
}
.sp-tab-content #submit:hover { background: #ffd700; }


/* ═══════════════════════════════════════════
   UPSELLS + RELATED PRODUCTS
   Desktop: 6 col | Tablet: 3 col | Mobile: 2 col
═══════════════════════════════════════════ */
.sp-related-section {
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  padding: 72px 0;
}
.sp-related-section--alt { background: var(--off-white); }
.sp-related-inner {
  max-width: 1440px; margin: 0 auto; padding: 0 40px;
}
.sp-related-header { margin-bottom: 36px; }
.sp-related-label {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--yellow-border); display: block; margin-bottom: 8px;
}
.sp-related-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 900; text-transform: uppercase;
  letter-spacing: 2px; color: var(--black); line-height: 1;
}
.sp-related-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 3px;
}


/* ═══════════════════════════════════════════
   ARCHIVE CARD OVERRIDES
   Product cards used in related / upsells grid
═══════════════════════════════════════════ */
.arc-card-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px;
  border-top: none;
}
.arc-card-price {
  width: 100%;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(16px, 1.3vw, 20px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--black);
  padding-top: 4px;
}
.arc-card-icons {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: nowrap;
}
.arc-card-icon {
  width: 38px; height: 38px;
  min-width: 38px; max-width: 38px;
  display: inline-flex;
  align-items: center; justify-content: center;
  background: var(--yellow);
  color: var(--black);
  border: 2px solid var(--yellow-border);
  text-decoration: none;
  transition: all 0.2s ease;
}
.arc-card-icon svg  { width: 18px; height: 18px; fill: currentColor; display: block; }
.arc-card-icon:hover { background: var(--black); color: var(--yellow); border-color: var(--black); }

/* View icon — inherits from arc-card-icon */
.arc-card-view      { color: var(--black); }
.arc-card-view:hover { color: var(--yellow); }
.arc-card-view svg  { display: block; fill: currentColor; }

/* Hide old text CTA */
.arc-card-cta { display: none !important; }


/* ═══════════════════════════════════════════
   YITH WISHLIST INSIDE PRODUCT CARDS
   !important needed to override YITH's own inline styles
═══════════════════════════════════════════ */
.arc-card-wishlist,
.arc-card-wishlist .yith-wcwl-add-to-wishlist,
.arc-card-wishlist .yith-wcwl-add-button,
.arc-card-wishlist .yith-wcwl-wishlistaddedbrowse,
.arc-card-wishlist .yith-wcwl-wishlistexistsbrowse,
.arc-card-wishlist .feedback {
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  max-width: 38px !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
}

/* Hide YITH text labels, keep icon */
.arc-card-wishlist a,
.arc-card-wishlist .feedback,
.arc-card-wishlist .yith-wcwl-wishlistaddedbrowse > a,
.arc-card-wishlist .yith-wcwl-wishlistexistsbrowse > a {
  font-size: 0 !important;
  line-height: 0 !important;
  color: transparent !important;
}
.arc-card-wishlist .yith-wcwl-wishlistaddedbrowse > a,
.arc-card-wishlist .yith-wcwl-wishlistexistsbrowse > a {
  display: none !important;
}

/* Icon size */
.arc-card-wishlist svg,
.arc-card-wishlist i {
  width: 18px !important;
  height: 18px !important;
  font-size: 18px !important;
  display: block !important;
  color: var(--black) !important;
}

/* Default: outline heart */
.arc-card-wishlist svg path {
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2 !important;
}

/* Hover: fill heart */
.arc-card-wishlist:hover svg path { fill: currentColor !important; stroke: currentColor !important; }

/* Saved / added state — black background, yellow heart */
.arc-card-wishlist .yith-wcwl-wishlistaddedbrowse,
.arc-card-wishlist .yith-wcwl-wishlistexistsbrowse {
  background: var(--black) !important;
  border-color: var(--black) !important;
}
.arc-card-wishlist .yith-wcwl-wishlistaddedbrowse svg,
.arc-card-wishlist .yith-wcwl-wishlistexistsbrowse svg,
.arc-card-wishlist .yith-wcwl-wishlistaddedbrowse i,
.arc-card-wishlist .yith-wcwl-wishlistexistsbrowse i {
  color: var(--yellow) !important;
}
.arc-card-wishlist .yith-wcwl-wishlistaddedbrowse svg path,
.arc-card-wishlist .yith-wcwl-wishlistexistsbrowse svg path {
  fill: currentColor !important;
  stroke: currentColor !important;
}


/* ═══════════════════════════════════════════
   TOAST NOTIFICATIONS
═══════════════════════════════════════════ */
/* Simple toast (general) */
.ag-toast {
  position: fixed;
  right: 24px; bottom: 90px;
  z-index: 999999;
  background: var(--black);
  color: var(--yellow);
  padding: 14px 18px;
  font-family: var(--font-display);
  font-size: 14px; font-weight: 900;
  letter-spacing: 1.5px; text-transform: uppercase;
  border: 2px solid var(--yellow);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: all 0.25s ease;
}
.ag-toast.show { opacity: 1; transform: translateY(0); }

/* Add to cart toast (rich) */
.ag-cart-toast {
  position: fixed;
  right: 24px; top: 96px;
  z-index: 999999;
  width: 320px;
  background: var(--black);
  color: var(--white);
  border: 2px solid var(--yellow);
  box-shadow: 0 18px 45px rgba(0,0,0,0.28);
  padding: 18px;
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
  transition: all 0.25s ease;
}
.ag-cart-toast.show { opacity: 1; transform: translateY(0); pointer-events: auto; }

.ag-cart-toast-title {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 900;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--yellow); margin-bottom: 6px;
}
.ag-cart-toast-title::before { content: "✓ "; }

.ag-cart-toast-product {
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(255,255,255,0.72);
  line-height: 1.4; margin-bottom: 14px;
}
.ag-cart-toast-actions { display: flex; gap: 8px; }
.ag-cart-toast-actions a {
  flex: 1; text-align: center;
  padding: 10px 12px;
  background: var(--yellow); color: var(--black);
  border: 2px solid var(--yellow-border);
  font-family: var(--font-display);
  font-size: 13px; font-weight: 900;
  letter-spacing: 1.5px; text-transform: uppercase;
  text-decoration: none;
}
.ag-cart-toast-actions a:last-child {
  background: transparent;
  color: var(--yellow);
  border-color: rgba(245,200,0,0.55);
}


/* ═══════════════════════════════════════════
   RESPONSIVE — TABLET (1100px)
═══════════════════════════════════════════ */
@media(max-width:1100px) {
  .sp-layout-inner       { grid-template-columns: 1fr 1fr; gap: 36px; padding: 0 24px 48px; }
  .sp-breadcrumb-inner   { padding: 0 24px; }
  .sp-tabs-inner         { padding: 0 24px; }
  .sp-related-inner      { padding: 0 24px; }
  .sp-related-grid       { grid-template-columns: repeat(3, 1fr); }
  .sp-images             { position: static; }
}


/* ═══════════════════════════════════════════
   RESPONSIVE — MOBILE (768px)
═══════════════════════════════════════════ */
@media(max-width:768px) {
  .sp-layout             { padding: 28px 0 0; }
  .sp-layout-inner       { grid-template-columns: 1fr; gap: 0; padding: 0 0 48px; }
  .sp-breadcrumb-inner   { padding: 0 20px; }
  .sp-images             { padding: 0 20px; margin-bottom: 28px; position: static; }
  .sp-thumb              { width: 56px; height: 56px; }
  .sp-details            { padding: 0 20px; }
  .sp-title              { font-size: clamp(26px, 6vw, 36px); }
  .sp-price-block .price { font-size: 28px; }
  .sp-trust-badges       { grid-template-columns: 1fr; }
  .sp-hto-options        { gap: 2px; }
  .sp-hto-item           { padding: 10px 6px; }
  .sp-tabs-section       { padding: 0 0 48px; }
  .sp-tabs-inner         { padding: 0 20px; }
  .sp-tab-btn            { padding: 14px 16px; font-size: 13px; }
  .sp-related-section    { padding: 48px 0; }
  .sp-related-inner      { padding: 0 20px; }
  .sp-related-grid       { grid-template-columns: repeat(2, 1fr); }

  /* Cart btn row — mobile stays inline, button shrinks to icon */
  .sp-cart-form .cart-btn-row { gap: 6px; }
  .sp-cart-form .single_add_to_cart_button,
  .sp-cart-form button[type="submit"] {
    flex: 1 !important;
    min-width: 0 !important;
    padding: 0 16px !important;
    font-size: 13px !important;
  }

  /* Archive card adjustments */
  .arc-card-footer  { padding: 14px !important; gap: 10px !important; }
  .arc-card-price   { font-size: clamp(17px, 4vw, 22px) !important; }
  .arc-card-icon    { width: 36px !important; height: 36px !important; min-width: 36px !important; max-width: 36px !important; }
  .arc-card-icon svg { width: 17px !important; height: 17px !important; }

  /* Toasts */
  .ag-toast      { right: 16px; left: 16px; bottom: 100px; text-align: center; }
  .ag-cart-toast { left: 16px; right: 16px; top: auto; bottom: 96px; width: auto; }
}


/* ═══════════════════════════════════════════
   VERY SMALL — 380px
═══════════════════════════════════════════ */
@media(max-width:380px) {
  .sp-hto-options { flex-direction: column; }
}