/* ============================================================
   product-cro.css — CRO Enhancement Layer
   Merry Christmas Decors | Evergreen Luxe Theme
   ============================================================ */

/* ---- CSS Variables (extensions) ---- */
:root {
  --gold:          #C9A227;
  --gold-soft:     #FDF4DC;
  --gold-dark:     #9E7D10;
  --christmas-red: #A31621;
  --xmas-green:    #0C2E25;
  --promo-bg:      linear-gradient(135deg, #0C2E25 0%, #1a4a35 100%);
  --deal-bg:       linear-gradient(135deg, #A31621 0%, #cc1f2d 100%);
  --star-color:    #E8A020;
  --ribbon-h:      44px;
  --transition:    all 0.22s cubic-bezier(.4,0,.2,1);
}

/* ============================================================
   1. PROMOTIONAL ANNOUNCEMENT RIBBON (Replaces original bar)
   ============================================================ */
.promo-ribbon {
  background: var(--promo-bg);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  overflow: hidden;
  position: relative;
  z-index: 70;
  min-height: var(--ribbon-h);
}
.promo-ribbon-track {
  display: flex;
  align-items: center;
  gap: 0;
  animation: ribbon-scroll 30s linear infinite;
  white-space: nowrap;
  padding: 0;
}
.promo-ribbon-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 36px;
  flex-shrink: 0;
  border-right: 1px solid rgba(255,255,255,0.12);
}
.promo-ribbon-item:last-child { border-right: 0; }
.promo-ribbon-item .promo-icon { font-size: 16px; }
.promo-ribbon-item strong { color: var(--gold); }
.promo-ribbon-item .pill {
  background: rgba(201,162,39,0.25);
  border: 1px solid rgba(201,162,39,0.5);
  color: var(--gold);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 2px 10px;
  border-radius: 999px;
}
@keyframes ribbon-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   2. SALE CAMPAIGN BANNER (11.11 & Christmas)
   ============================================================ */
.campaign-banner {
  background: var(--deal-bg);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: 18px 0;
  text-align: center;
}
.campaign-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Ccircle cx='30' cy='30' r='1.5' fill='rgba(255,255,255,0.08)'/%3E%3C/svg%3E");
}
.campaign-banner-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}
.campaign-title {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.campaign-title .highlight {
  color: var(--gold);
}
.campaign-countdown {
  display: flex;
  align-items: center;
  gap: 6px;
}
.countdown-label {
  font-size: 12px;
  opacity: 0.8;
  margin-right: 4px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.countdown-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 44px;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 6px 8px;
}
.countdown-num {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
}
.countdown-unit {
  font-size: 9px;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 2px;
}
.countdown-sep {
  font-size: 1.2rem;
  font-weight: 700;
  opacity: 0.5;
  align-self: flex-start;
  margin-top: 4px;
}
.campaign-coupon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1.5px dashed rgba(255,255,255,0.4);
  border-radius: 10px;
  padding: 8px 18px;
  cursor: pointer;
  transition: var(--transition);
}
.campaign-coupon:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.7);
}
.campaign-coupon .coupon-code {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.06em;
  color: var(--gold);
}
.campaign-coupon .coupon-action {
  font-size: 11px;
  opacity: 0.8;
}

/* ============================================================
   3. PRODUCT PAGE ENHANCED LAYOUT
   ============================================================ */

/* Product top badge row */
.product-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.plabel {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.plabel-sale    { background: var(--christmas-red); color: #fff; }
.plabel-hot     { background: linear-gradient(90deg,#ff6b35,#ff3d00); color: #fff; }
.plabel-xmas    { background: var(--xmas-green); color: var(--gold); border: 1px solid var(--gold); }
.plabel-free    { background: var(--green-soft); color: var(--green); }
.plabel-limited { background: var(--gold-soft); color: var(--gold-dark); }

/* ---- Product Title Enhancement ---- */
.product-info h1 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.18;
  margin-bottom: 10px;
}

/* ---- Coupon Callout Box ---- */
.coupon-callout {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, #FDF4DC 0%, #fff9ec 100%);
  border: 1.5px solid var(--gold);
  border-radius: 14px;
  padding: 14px 18px;
  margin: 14px 0 18px;
  position: relative;
  overflow: hidden;
}
.coupon-callout::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--gold);
  border-radius: 14px 0 0 14px;
}
.coupon-callout-icon {
  font-size: 24px;
  flex-shrink: 0;
}
.coupon-callout-text {
  flex: 1;
}
.coupon-callout-text p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-2);
}
.coupon-callout-text p strong {
  color: var(--gold-dark);
}
.coupon-code-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gold-dark);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  padding: 5px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  user-select: none;
}
.coupon-code-pill:hover {
  background: var(--gold);
  transform: scale(1.02);
}
.coupon-code-pill svg {
  width: 14px; height: 14px; opacity: 0.85;
}

/* ---- Price Block Enhancement ---- */
.price-block {
  background: linear-gradient(135deg, #f9f9f9 0%, var(--bg-alt) 100%);
  border: 1.5px solid var(--line-strong);
  border-radius: 16px;
  padding: 16px 20px;
  margin-bottom: 14px;
  position: relative;
}
.price-block-sale-label {
  position: absolute;
  top: -1px; right: 14px;
  background: var(--christmas-red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 0 0 10px 10px;
}
.price-block .price-wrap {
  margin-bottom: 6px;
}
.price-block .price-now {
  font-size: 2rem;
  color: var(--christmas-red);
}
.price-block .price-was {
  font-size: 1.1rem;
  color: var(--muted);
  text-decoration: line-through;
}
.price-block .save-badge {
  background: var(--christmas-red);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
}
.price-block-note {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.price-block-note svg {
  width: 14px; height: 14px; color: var(--green); flex-shrink: 0;
}

/* ---- Urgency Strip ---- */
.urgency-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff8f8;
  border: 1px solid #f5c5c8;
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 16px;
  font-size: 13.5px;
}
.urgency-strip .urgency-icon {
  font-size: 18px;
  flex-shrink: 0;
}
.urgency-strip strong {
  color: var(--christmas-red);
}
.urgency-strip .urgency-sep {
  color: var(--line-strong);
  margin: 0 4px;
}

/* Low stock progress bar */
.stock-bar-wrap {
  margin-top: 8px;
}
.stock-bar-label {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 5px;
  display: flex;
  justify-content: space-between;
}
.stock-bar-label strong { color: var(--christmas-red); }
.stock-bar {
  height: 6px;
  background: var(--bg-alt);
  border-radius: 999px;
  overflow: hidden;
}
.stock-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--christmas-red), #ff6b6b);
  border-radius: 999px;
  transition: width 1s ease;
}

/* ---- Add to Cart Button Enhancement ---- */
#atc-btn {
  flex: 1;
  background: linear-gradient(135deg, #0C2E25 0%, #1a4a35 100%) !important;
  border-radius: 14px !important;
  font-size: 16px !important;
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
  transition: var(--transition) !important;
  box-shadow: 0 8px 24px -6px rgba(12,46,37,0.45) !important;
  min-height: 54px;
}
#atc-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 0%, rgba(255,255,255,0.08) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}
#atc-btn:hover::after {
  transform: translateX(100%);
}
#atc-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 14px 32px -8px rgba(12,46,37,0.5) !important;
}

#buy-now-btn {
  background: linear-gradient(135deg, var(--christmas-red) 0%, #cc1f2d 100%) !important;
  border-radius: 14px !important;
  font-size: 16px !important;
  min-height: 52px;
  box-shadow: 0 8px 24px -6px rgba(163,22,33,0.4) !important;
}
#buy-now-btn:hover {
  transform: translateY(-2px) !important;
  filter: brightness(1.08) !important;
}

/* ---- Payment Icons Strip ---- */
.payment-icons {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.payment-icons-label {
  font-size: 11.5px;
  color: var(--muted);
  margin-right: 4px;
  flex-shrink: 0;
}
.payment-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  min-width: 36px;
  padding: 0 6px;
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--ink-2);
}
.payment-icon.visa    { color: #1a1f71; font-size: 11px; }
.payment-icon.mc      { color: #eb001b; }
.payment-icon.amex    { color: #2e77bc; }
.payment-icon.paypal  { color: #003087; }
.payment-icon.apple   { color: #000; font-size: 13px; }
.payment-icon.google  { color: #4285f4; }
.payment-icon.shopify { color: #95bf47; font-size: 9px; }

/* ---- Trust Badges Enhanced ---- */
.trust-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}
.trust-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 12.5px;
  font-weight: 500;
  transition: var(--transition);
}
.trust-badge-pill:hover {
  border-color: var(--xmas-green);
  background: var(--green-soft);
}
.trust-badge-pill svg {
  width: 15px; height: 15px;
  color: var(--green);
  flex-shrink: 0;
}
.trust-badge-pill.secure svg { color: #2e77bc; }
.trust-badge-pill.returns svg { color: var(--christmas-red); }
.trust-badge-pill.support svg { color: var(--gold-dark); }

/* ---- Shipping Info Card ---- */
.shipping-card {
  background: linear-gradient(135deg, var(--green-soft) 0%, #f0faf3 100%);
  border: 1.5px solid #c3e6cc;
  border-radius: 14px;
  padding: 16px 18px;
  margin: 14px 0;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.shipping-card-icon {
  width: 40px; height: 40px;
  background: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.shipping-card-icon svg { width: 22px; height: 22px; color: var(--green); }
.shipping-card-body { flex: 1; }
.shipping-card-body strong {
  display: block;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 3px;
}
.shipping-card-body p {
  font-size: 12.5px;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}
.shipping-card-est {
  display: inline-block;
  margin-top: 5px;
  font-size: 12px;
  color: var(--green);
  font-weight: 600;
}

/* ============================================================
   4. REVIEWS SECTION
   ============================================================ */
.reviews-section {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  padding: clamp(48px, 6vw, 80px) 0;
}
.reviews-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.reviews-summary {
  display: flex;
  align-items: center;
  gap: 20px;
}
.reviews-score {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
}
.reviews-score-detail { flex: 1; }
.stars-row {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-bottom: 4px;
}
.star { font-size: 18px; color: var(--star-color); }
.star.half { position: relative; }
.reviews-count { font-size: 14px; color: var(--muted); }
.rating-bars { margin-top: 6px; }
.rating-bar-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 4px;
}
.rating-bar-row span { flex-shrink: 0; min-width: 20px; }
.rating-bar-track {
  flex: 1;
  height: 6px;
  background: var(--line);
  border-radius: 999px;
  overflow: hidden;
}
.rating-bar-fill {
  height: 100%;
  background: var(--star-color);
  border-radius: 999px;
}

/* Review cards */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 10px;
}
.review-card {
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: var(--transition);
}
.review-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}
.review-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.reviewer-info { display: flex; align-items: center; gap: 12px; }
.reviewer-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  flex-shrink: 0;
}
.reviewer-name { font-weight: 600; font-size: 14.5px; display: block; }
.reviewer-loc  { font-size: 12px; color: var(--muted); }
.review-verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--green);
  font-weight: 600;
  background: var(--green-soft);
  padding: 2px 8px;
  border-radius: 999px;
  flex-shrink: 0;
}
.review-verified svg { width: 11px; height: 11px; }
.review-stars { display: flex; gap: 2px; margin-bottom: 10px; }
.review-star { font-size: 14px; color: var(--star-color); }
.review-title { font-weight: 600; font-size: 15px; margin-bottom: 8px; color: var(--ink); }
.review-body  { font-size: 14px; color: var(--muted); line-height: 1.65; }
.review-date  { font-size: 11.5px; color: var(--faint); margin-top: 12px; }

/* ============================================================
   5. UPSELL / BUNDLE SECTION
   ============================================================ */
.upsell-section {
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin: 24px 0 0;
}
.upsell-section-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.upsell-section-title .upsell-emoji { font-size: 18px; }

/* ============================================================
   6. STICKY ATC ENHANCEMENT
   ============================================================ */
.sticky-atc-enhanced {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 50;
  background: var(--card);
  border-top: 1px solid var(--line);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.12);
  transform: translateY(100%);
  transition: transform 0.32s cubic-bezier(.4,0,.2,1);
}
.sticky-atc-enhanced.visible { transform: translateY(0); }
.sticky-atc-enhanced-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
}
.sticky-atc-enhanced-img {
  width: 50px; height: 50px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}
.sticky-atc-enhanced-info {
  flex: 1;
  min-width: 0;
}
.sticky-atc-enhanced-info strong {
  font-size: 13.5px;
  display: block;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sticky-atc-enhanced-price-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sticky-atc-enhanced-price {
  font-weight: 700;
  font-size: 16px;
  color: var(--christmas-red);
}
.sticky-atc-enhanced-compare {
  font-size: 13px;
  color: var(--muted);
  text-decoration: line-through;
}
.sticky-atc-enhanced-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.sticky-atc-enhanced-actions .btn {
  padding: 12px 20px;
  font-size: 14px;
  border-radius: 12px;
  min-height: 46px;
}

/* ============================================================
   7. RECENT PURCHASE NOTIFICATION (toast style)
   ============================================================ */
.purchase-notif {
  position: fixed;
  bottom: 80px;
  left: 20px;
  z-index: 400;
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-md);
  max-width: 320px;
  transform: translateX(-360px);
  transition: transform 0.4s cubic-bezier(.4,0,.2,1);
  pointer-events: none;
}
.purchase-notif.show { transform: translateX(0); }
.purchase-notif-img {
  width: 44px; height: 44px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}
.purchase-notif-body { flex: 1; }
.purchase-notif-body p {
  font-size: 12.5px;
  color: var(--ink-2);
  margin: 0;
  line-height: 1.4;
}
.purchase-notif-body p strong { color: var(--ink); }
.purchase-notif-body .notif-time {
  font-size: 11px;
  color: var(--muted);
  margin-top: 3px;
  display: block;
}
.purchase-notif-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(28,122,68,0.4); }
  50% { box-shadow: 0 0 0 5px rgba(28,122,68,0); }
}

/* ============================================================
   8. COUPON COPIED TOAST
   ============================================================ */
.coupon-toast {
  position: fixed;
  top: 90px;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  background: var(--xmas-green);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  z-index: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}
.coupon-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.coupon-toast svg { width: 18px; height: 18px; color: var(--gold); }

/* ============================================================
   9. CHRISTMAS SEASONAL SECTION
   ============================================================ */
.xmas-promo-block {
  background: var(--promo-bg);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px) clamp(24px, 3vw, 40px);
  position: relative;
  overflow: hidden;
  margin: 24px 0;
}
.xmas-promo-block::before {
  content: '🎄';
  position: absolute;
  font-size: 100px;
  opacity: 0.08;
  right: -10px;
  bottom: -20px;
  line-height: 1;
  pointer-events: none;
}
.xmas-promo-block-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.xmas-promo-copy h3 {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 1.3rem;
  margin-bottom: 8px;
}
.xmas-promo-copy p {
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  max-width: 46ch;
}
.xmas-promo-action .btn {
  background: var(--gold);
  color: var(--xmas-green);
  font-weight: 700;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(201,162,39,0.4);
}
.xmas-promo-action .btn:hover {
  background: #d9b030;
  transform: translateY(-2px);
}

/* ============================================================
   10. BENEFIT BULLETS (Product Feature Highlights)
   ============================================================ */
.benefit-bullets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 18px 0;
}
.benefit-bullet {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13.5px;
}
.benefit-bullet-icon {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--green-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.benefit-bullet-icon svg { width: 12px; height: 12px; color: var(--green); }
.benefit-bullet-text { color: var(--ink-2); line-height: 1.4; }

/* ============================================================
   11. ENHANCED ACCORDION STYLING
   ============================================================ */
.accordion summary {
  position: relative;
}
.accordion summary::after {
  content: '+';
  font-size: 20px;
  color: var(--muted);
  transition: transform 0.2s ease;
  line-height: 1;
  flex-shrink: 0;
}
.accordion[open] summary::after {
  transform: rotate(45deg);
}
.accordion-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.accordion-body th, .accordion-body td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
}
.accordion-body th { font-weight: 600; color: var(--ink); width: 36%; }
.accordion-body td { color: var(--ink-2); }

/* ============================================================
   12. GALLERY ENHANCEMENT
   ============================================================ */
.gallery-main {
  background: linear-gradient(135deg, var(--bg-alt) 0%, #f0ece3 100%) !important;
}
.gallery-main img {
  transition: transform 0.4s ease;
}
.gallery-main:hover img {
  transform: scale(1.015);
}
.gallery-thumbs {
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}
.gallery-thumb {
  width: 76px !important;
  height: 76px !important;
  border-radius: 10px !important;
  transition: var(--transition) !important;
  opacity: 0.75;
}
.gallery-thumb:hover { opacity: 1; transform: translateY(-2px); }
.gallery-thumb.active { opacity: 1; border-color: var(--xmas-green) !important; }

/* ============================================================
   13. MOBILE OPTIMIZATIONS
   ============================================================ */
@media (max-width: 768px) {
  .campaign-banner-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .campaign-title { font-size: 1rem; }
  .coupon-callout { flex-direction: column; align-items: flex-start; gap: 10px; }
  .coupon-code-pill { align-self: flex-start; }
  .benefit-bullets { grid-template-columns: 1fr; }
  .reviews-header { flex-direction: column; align-items: flex-start; }
  .reviews-summary { flex-direction: column; gap: 12px; }
  .reviews-grid { grid-template-columns: 1fr; }
  .xmas-promo-block-inner { flex-direction: column; }
  .trust-badges-row { gap: 8px; }
  .trust-badge-pill { font-size: 11.5px; padding: 6px 12px; }
  .purchase-notif { max-width: calc(100vw - 40px); }
  .sticky-atc-enhanced-info strong {
    font-size: 12px;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .price-block .price-now { font-size: 1.7rem; }
  .payment-icons { gap: 6px; }
}

@media (max-width: 480px) {
  .campaign-countdown { flex-wrap: wrap; justify-content: center; }
  .promo-ribbon-track { animation-duration: 20s; }
  .sticky-atc-enhanced-actions .btn {
    padding: 10px 14px;
    font-size: 13px;
  }
  .upsell-section { padding: 18px; }
  .reviews-score { font-size: 2.8rem; }
  /* NOTE: Grid overrides are intentionally handled by responsive.css
     to allow context-appropriate 2-column layouts on small phones.
     Do not add grid-template-columns here — defer to responsive.css. */
}

/* ============================================================
   14. PRINT / ACCESSIBILITY
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .promo-ribbon-track { animation: none; }
  #atc-btn::after { transition: none; }
  .purchase-notif, .coupon-toast { transition: none; }
}
