/* ==========================================================================
   UnboxThis — Shared Design System  v2
   Bold & energetic · light + dark · dense · mobile swipe carousels
   All selectors prefixed .unbox- to avoid clashing with the Avanam theme.
   ========================================================================== */

/* ---- Light theme (default) ------------------------------------------- */
:root {
  --unbox-purple:      #7C4DFF;
  --unbox-purple-dark: #6A3DEB;
  --unbox-purple-soft: #F1ECFF;
  --unbox-blue:        #2979FF;
  --unbox-blue-soft:   #E6F0FF;
  --unbox-orange:      #FF6D2E;
  --unbox-orange-dark: #F2591A;
  --unbox-orange-soft: #FFF1EB;

  --unbox-bg:        #F9F9FB;
  --unbox-surface:   #FFFFFF;
  --unbox-card:      rgba(255,255,255,.78);
  --unbox-text:      #1A1A2E;
  --unbox-muted:     #6B7280;
  --unbox-border:    rgba(26,26,46,.09);
  --unbox-glass-blur: blur(14px);

  --unbox-font-head: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --unbox-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --unbox-radius-sm: 10px;
  --unbox-radius:    14px;
  --unbox-radius-lg: 22px;
  --unbox-radius-pill: 999px;

  --unbox-shadow-sm: 0 1px 3px rgba(26,26,46,.06), 0 1px 2px rgba(26,26,46,.04);
  --unbox-shadow-md: 0 6px 22px rgba(124,77,255,.10), 0 2px 6px rgba(26,26,46,.05);
  --unbox-shadow-lg: 0 18px 44px rgba(124,77,255,.18), 0 4px 12px rgba(26,26,46,.06);

  --unbox-ease: cubic-bezier(.22,.61,.36,1);
  --unbox-py: 0px;

  --unbox-container: 1400px;
}

/* ---- Dark theme -------------------------------------------------------
   Activates on: OS dark preference, OR a "dark" class/attr the theme adds
   (bridged by unboxthis.js -> .unbox-dark on the page wrapper).            */
body.unbox-dark,
.unbox-page.unbox-dark,
html[data-theme="dark"] .unbox-page,
body.dark-mode .unbox-page,
body.wp-dark-mode-active .unbox-page,
.is-dark .unbox-page {
  --unbox-purple-soft: rgba(124,77,255,.16);
  --unbox-blue-soft:   rgba(41,121,255,.16);
  --unbox-orange-soft: rgba(255,109,46,.16);

  --unbox-bg:      #0D0D18;
  --unbox-surface: #181826;
  --unbox-card:    rgba(31,31,48,.66);
  --unbox-text:    #F4F4FA;
  --unbox-muted:   #A2A5B4;
  --unbox-border:  rgba(255,255,255,.10);

  --unbox-shadow-sm: 0 1px 3px rgba(0,0,0,.4);
  --unbox-shadow-md: 0 6px 22px rgba(0,0,0,.45);
  --unbox-shadow-lg: 0 18px 44px rgba(0,0,0,.55);
}

/* (Logo dark-mode chip removed — the logo is now handled in the theme settings.) */

/* Breadcrumbs (WooCommerce product/shop pages): quieter, smaller, muted —
   so they read as a nav aid, not a headline. Separator (/ -> ›) is a theme
   Customizer setting; this just calms the size/colour. */
.woocommerce-breadcrumb,
.base-breadcrumbs,
.kadence-breadcrumbs,
.entry-breadcrumbs,
nav.breadcrumb {
  font-family: var(--unbox-font-body) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
  letter-spacing: .01em !important;
  color: var(--unbox-muted) !important;
}
.woocommerce-breadcrumb a,
.base-breadcrumbs a,
.kadence-breadcrumbs a,
.entry-breadcrumbs a,
nav.breadcrumb a { color: var(--unbox-muted) !important; text-decoration: none; }
.woocommerce-breadcrumb a:hover,
.base-breadcrumbs a:hover,
.kadence-breadcrumbs a:hover,
.entry-breadcrumbs a:hover,
nav.breadcrumb a:hover { color: var(--unbox-purple) !important; }

/* ==========================================================================
   Base scope
   ========================================================================== */
.unbox-page { font-family: var(--unbox-font-body); color: var(--unbox-text); background: var(--unbox-bg); }
.unbox-page *, .unbox-page *::before, .unbox-page *::after { box-sizing: border-box; }
.unbox-page img { max-width: 100%; height: auto; display: block; }
.unbox-page a { color: inherit; text-decoration: none; }
.unbox-page > .unbox-wrap { position: relative; z-index: 1; }

/* ==========================================================================
   Decorative background (subtle, mostly static — light parallax only)
   ========================================================================== */
/* translateZ(0) promotes the layer so scrolling doesn't repaint it each frame. */
.unbox-bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; transform: translateZ(0); }
.unbox-bg__goo {
  position: absolute; inset: -15%;
  transform: translate3d(0, calc(var(--unbox-py) * .04), 0);
}
/* Soft translucent liquid-colour blobs. Where they overlap, the colours blend
   THROUGH each other (alpha) — like two liquids gently mixing. No hard contrast
   filter (that made harsh colour bands + mobile jank). Just soft blur. */
.unbox-blob { position: absolute; border-radius: 50%; filter: blur(55px); opacity: .42; will-change: transform; }
.unbox-dark .unbox-blob { opacity: .5; }
.unbox-blob--1 { width: 56vw; max-width: 520px; height: 56vw; max-height: 520px; left:  4%; bottom: -22%; background: radial-gradient(circle, var(--unbox-purple) 0%, transparent 66%); animation: unboxLavaA 46s ease-in-out infinite; }
.unbox-blob--2 { width: 48vw; max-width: 440px; height: 48vw; max-height: 440px; left: 26%; bottom: -18%; background: radial-gradient(circle, var(--unbox-blue) 0%,   transparent 66%); animation: unboxLavaB 54s ease-in-out infinite; }
.unbox-blob--3 { width: 54vw; max-width: 500px; height: 54vw; max-height: 500px; left: 46%; bottom: -24%; background: radial-gradient(circle, var(--unbox-purple) 0%, transparent 66%); animation: unboxLavaC 50s ease-in-out infinite; }
.unbox-blob--4 { width: 44vw; max-width: 400px; height: 44vw; max-height: 400px; left: 30%; bottom: -16%; background: radial-gradient(circle, var(--unbox-orange) 0%, transparent 66%); animation: unboxLavaD 60s ease-in-out infinite; }
.unbox-blob--5 { width: 50vw; max-width: 460px; height: 50vw; max-height: 460px; left: 60%; bottom: -20%; background: radial-gradient(circle, var(--unbox-blue) 0%,   transparent 66%); animation: unboxLavaE 64s ease-in-out infinite; }

/* Slow, gentle rise + sway so the colours drift across and mix. */
@keyframes unboxLavaA { 0%,100% { transform: translate(0,0) scale(1); }   50% { transform: translate(8vw,-50vh)  scale(1.1); } }
@keyframes unboxLavaB { 0%,100% { transform: translate(0,0) scale(1); }   50% { transform: translate(-7vw,-62vh) scale(.9); } }
@keyframes unboxLavaC { 0%,100% { transform: translate(0,0) scale(1); }   50% { transform: translate(6vw,-44vh)  scale(1.08); } }
@keyframes unboxLavaD { 0%,100% { transform: translate(0,0) scale(1); }   50% { transform: translate(-9vw,-70vh) scale(.92); } }
@keyframes unboxLavaE { 0%,100% { transform: translate(0,0) scale(1); }   50% { transform: translate(-5vw,-56vh) scale(1.06); } }

/* Mobile: a touch lighter + fewer blobs to stay smooth while scrolling. */
@media (max-width: 768px) {
  .unbox-blob { filter: blur(45px); opacity: .32; }
  .unbox-blob--4, .unbox-blob--5 { display: none; }
}

/* ==========================================================================
   Layout primitives  (tighter spacing, wider container, denser)
   ========================================================================== */
.unbox-container { width: 100%; max-width: var(--unbox-container); margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }
.unbox-section { padding-block: clamp(34px, 4.5vw, 60px); }
.unbox-section--tight { padding-block: clamp(20px, 3vw, 34px); }

.unbox-eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--unbox-font-head); font-weight: 700;
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--unbox-purple); background: var(--unbox-purple-soft);
  padding: 6px 13px; border-radius: var(--unbox-radius-pill); margin-bottom: 14px;
}
.unbox-section-head { text-align: center; max-width: 640px; margin: 0 auto clamp(22px, 3vw, 36px); }
.unbox-section-head h2 { font-family: var(--unbox-font-head); font-weight: 800; font-size: clamp(24px, 3.2vw, 38px); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 10px; }
.unbox-section-head p { color: var(--unbox-muted); font-size: clamp(14px, 1.5vw, 16px); line-height: 1.55; margin: 0; }

.unbox-row-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.unbox-row-head h2 { font-family: var(--unbox-font-head); font-weight: 800; font-size: clamp(20px, 2.6vw, 30px); letter-spacing: -.02em; margin: 0; }
.unbox-row-head a { font-family: var(--unbox-font-head); font-weight: 700; font-size: 13px; color: var(--unbox-purple); display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.unbox-row-head a:hover { gap: 9px; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.unbox-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--unbox-font-head); font-weight: 700; font-size: 15px;
  padding: 13px 24px; border-radius: var(--unbox-radius-pill);
  border: 1.5px solid transparent; cursor: pointer; line-height: 1; white-space: nowrap;
  transition: transform .18s var(--unbox-ease), box-shadow .18s var(--unbox-ease), background-color .18s var(--unbox-ease);
}
.unbox-btn:focus-visible { outline: 3px solid var(--unbox-blue); outline-offset: 2px; }
.unbox-btn:hover { transform: translateY(-2px); }
.unbox-btn--cta { background: var(--unbox-orange); color: #fff; box-shadow: 0 6px 18px rgba(255,109,46,.34); }
.unbox-btn--cta:hover { background: var(--unbox-orange-dark); box-shadow: 0 10px 24px rgba(255,109,46,.42); }
.unbox-btn--primary { background: var(--unbox-purple); color: #fff; box-shadow: 0 6px 18px rgba(124,77,255,.32); }
.unbox-btn--primary:hover { background: var(--unbox-purple-dark); }
.unbox-btn--ghost { background: var(--unbox-surface); color: var(--unbox-text); border-color: var(--unbox-border); box-shadow: var(--unbox-shadow-sm); }
.unbox-btn--ghost:hover { border-color: var(--unbox-purple); color: var(--unbox-purple); }

/* ==========================================================================
   Hero  (bold gradient, denser)
   ========================================================================== */
.unbox-hero { text-align: center; padding-block: clamp(44px, 6vw, 84px) clamp(28px, 4vw, 52px); }
.unbox-hero h1 {
  font-family: var(--unbox-font-head); font-weight: 800;
  font-size: clamp(32px, 6vw, 64px); line-height: 1.04; letter-spacing: -.03em;
  margin: 0 0 16px; max-width: 15ch; margin-inline: auto;
}
.unbox-hero h1 .unbox-grad {
  background: linear-gradient(100deg, var(--unbox-purple) 0%, var(--unbox-blue) 50%, var(--unbox-orange) 100%);
  background-size: 200% auto; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: unboxGrad 6s var(--unbox-ease) infinite alternate;
}
@keyframes unboxGrad { to { background-position: 100% center; } }
.unbox-hero p { font-size: clamp(15px, 1.9vw, 19px); color: var(--unbox-muted); line-height: 1.5; max-width: 50ch; margin: 0 auto 26px; }
.unbox-hero__cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   Product rail / grid
   Mobile  = horizontal swipe carousel (scroll-snap, ~2.3 cards peek)
   Desktop = dense auto-fill grid that fills ultrawide automatically
   ========================================================================== */
.unbox-rail {
  display: grid; gap: 14px;
  grid-auto-flow: column; grid-auto-columns: 44%;
  overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 4px 4px 12px; margin-inline: -4px;
  scroll-padding-inline: 4px;
}
.unbox-rail > * { scroll-snap-align: start; }
.unbox-rail::-webkit-scrollbar { display: none; }
.unbox-rail { scrollbar-width: none; }
@media (min-width: 560px) { .unbox-rail { grid-auto-columns: 30%; } }
@media (min-width: 768px) {
  .unbox-rail {
    grid-auto-flow: row; overflow: visible; margin-inline: 0; padding: 0;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 18px;
  }
}

/* Wrapping product grid for landing pages (Deals, New Arrivals) — all products
   visible across multiple rows on every screen (2-up mobile, auto-fill desktop). */
.unbox-pgrid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
@media (max-width: 600px) { .unbox-pgrid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

/* ---- Card ---- */
.unbox-card {
  background: var(--unbox-card); backdrop-filter: var(--unbox-glass-blur); -webkit-backdrop-filter: var(--unbox-glass-blur);
  border: 1px solid var(--unbox-border); border-radius: var(--unbox-radius);
  box-shadow: var(--unbox-shadow-sm); overflow: hidden; display: flex; flex-direction: column;
  transition: transform .22s var(--unbox-ease), box-shadow .22s var(--unbox-ease);
}
.unbox-card:hover { transform: translateY(-5px); box-shadow: var(--unbox-shadow-lg); }
.unbox-card__media { position: relative; aspect-ratio: 1/1; overflow: hidden; background: linear-gradient(135deg, var(--unbox-purple-soft), var(--unbox-blue-soft)); }
.unbox-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--unbox-ease); }
.unbox-card:hover .unbox-card__media img { transform: scale(1.06); }
.unbox-card__badge { position: absolute; top: 10px; left: 10px; z-index: 2; font-family: var(--unbox-font-head); font-weight: 800; font-size: 10px; letter-spacing: .04em; text-transform: uppercase; padding: 4px 9px; border-radius: var(--unbox-radius-pill); }
.unbox-card__badge--sale { background: var(--unbox-orange); color: #fff; }
.unbox-card__badge--out  { background: var(--unbox-muted); color: #fff; }
.unbox-card__body { padding: 13px 14px 14px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.unbox-card__title { font-family: var(--unbox-font-head); font-weight: 600; font-size: 14px; line-height: 1.3; color: var(--unbox-text);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.unbox-card:hover .unbox-card__title { color: var(--unbox-purple); }
.unbox-card__price { margin-top: auto; padding-top: 4px; display: flex; align-items: baseline; gap: 7px; }
.unbox-card__price .price { font-family: var(--unbox-font-head); font-weight: 800; font-size: 16px; color: var(--unbox-text); }
.unbox-card__price del { color: var(--unbox-muted); font-size: 12px; font-weight: 500; opacity: .8; }
.unbox-card__price ins { text-decoration: none; color: var(--unbox-orange); font-weight: 800; }

/* ---- Native WooCommerce add-to-cart button: strip theme icon clutter ---- */
.unbox-card .button,
.unbox-card .added_to_cart {
  position: relative; display: block; width: 100%; text-align: center; margin-top: 11px;
  font-family: var(--unbox-font-head); font-weight: 700; font-size: 13px; line-height: 1.2;
  padding: 10px 12px; border-radius: var(--unbox-radius-sm);
  background: var(--unbox-purple); color: #fff !important; border: none; cursor: pointer;
  transition: background-color .18s var(--unbox-ease);
}
.unbox-card .button:hover { background: var(--unbox-purple-dark); }
/* Kill the theme's injected cart / arrow / spinner / check glyphs inside our cards */
.unbox-card .button::before,
.unbox-card .button::after { content: none !important; display: none !important; background: none !important; margin: 0 !important; }
.unbox-card .button i,
.unbox-card .button svg,
.unbox-card .button .icon { display: none !important; }
.unbox-card .button.loading { opacity: .75; pointer-events: none; }
.unbox-card .button.added { background: #1FA463; }
.unbox-card .added_to_cart { background: var(--unbox-orange); margin-top: 7px; font-size: 12px; padding: 8px; }

/* ==========================================================================
   Category rail — vivid gradient tiles with icons (no more flat boxes)
   ========================================================================== */
.unbox-cat-rail {
  display: grid; gap: 12px;
  grid-auto-flow: column; grid-auto-columns: 46%;
  overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  padding: 4px 4px 12px; margin-inline: -4px; scrollbar-width: none;
}
.unbox-cat-rail::-webkit-scrollbar { display: none; }
.unbox-cat-rail > * { scroll-snap-align: start; }
@media (min-width: 560px) { .unbox-cat-rail { grid-auto-columns: 30%; } }
@media (min-width: 768px) {
  .unbox-cat-rail { grid-auto-flow: row; overflow: visible; margin-inline: 0; padding: 0;
    grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .unbox-cat { min-height: 116px; }
}

.unbox-cat {
  position: relative; display: flex; flex-direction: column; justify-content: space-between;
  min-height: 130px; padding: 16px; border-radius: var(--unbox-radius);
  color: #fff; overflow: hidden; isolation: isolate;
  box-shadow: var(--unbox-shadow-sm);
  transition: transform .2s var(--unbox-ease), box-shadow .2s var(--unbox-ease);
}
.unbox-cat::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--cat-grad, linear-gradient(135deg, var(--unbox-purple), var(--unbox-blue))); }
.unbox-cat::after { content: ""; position: absolute; right: -30%; top: -30%; width: 80%; height: 80%; z-index: -1;
  background: radial-gradient(circle, rgba(255,255,255,.25), transparent 70%); }
.unbox-cat:hover { transform: translateY(-4px); box-shadow: var(--unbox-shadow-md); }
.unbox-cat__icon { width: 38px; height: 38px; border-radius: 11px; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.22); color: #fff; backdrop-filter: blur(4px); }
.unbox-cat__icon svg { width: 20px; height: 20px; }
.unbox-cat__name { font-family: var(--unbox-font-head); font-weight: 700; font-size: 15px; line-height: 1.2; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.unbox-cat__name svg { flex-shrink: 0; transition: transform .2s var(--unbox-ease); }
.unbox-cat:hover .unbox-cat__name svg { transform: translateX(4px); }

/* ==========================================================================
   Trust / feature cards (denser, dark-aware)
   ========================================================================== */
.unbox-trust { display: grid; gap: 14px; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .unbox-trust { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 440px) { .unbox-trust { grid-template-columns: 1fr; } }
.unbox-feature { background: var(--unbox-surface); border: 1px solid var(--unbox-border); border-top: 3px solid var(--unbox-purple);
  border-radius: var(--unbox-radius); padding: 20px 18px; box-shadow: var(--unbox-shadow-sm); }
.unbox-feature__icon { width: 40px; height: 40px; border-radius: 11px; margin-bottom: 12px; display: flex; align-items: center; justify-content: center; background: var(--unbox-purple-soft); color: var(--unbox-purple); }
.unbox-feature h3 { font-family: var(--unbox-font-head); font-weight: 700; font-size: 15px; margin: 0 0 5px; color: var(--unbox-text); }
.unbox-feature p { color: var(--unbox-muted); font-size: 13px; line-height: 1.5; margin: 0; }
.unbox-feature p a { color: var(--unbox-purple); font-weight: 600; }

/* Two-column "duo" (e.g. Contact cards) */
.unbox-duo { display: grid; gap: 18px; grid-template-columns: repeat(2, 1fr); }
@media (max-width: 700px) { .unbox-duo { grid-template-columns: 1fr; } }
.unbox-duo .unbox-feature { padding: 26px 24px; }
.unbox-duo .unbox-feature h3 { font-size: 18px; }
.unbox-duo .unbox-feature p { font-size: 14px; margin-top: 4px; }

/* Numbered steps (e.g. Track Order) */
.unbox-steps { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
@media (max-width: 700px) { .unbox-steps { grid-template-columns: 1fr; } }
.unbox-step { background: var(--unbox-surface); border: 1px solid var(--unbox-border); border-radius: var(--unbox-radius); padding: 24px 22px; box-shadow: var(--unbox-shadow-sm); }
.unbox-step__num { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-family: var(--unbox-font-head); font-weight: 800; font-size: 17px; color: #fff; background: linear-gradient(135deg, var(--unbox-purple), var(--unbox-blue)); margin-bottom: 14px; }
.unbox-step h3 { font-family: var(--unbox-font-head); font-weight: 700; font-size: 17px; margin: 0 0 6px; color: var(--unbox-text); }
.unbox-step p { color: var(--unbox-muted); font-size: 14px; line-height: 1.6; margin: 0; }

/* ==========================================================================
   FAQ accordion
   ========================================================================== */
.unbox-faq { max-width: 720px; margin-inline: auto; display: flex; flex-direction: column; gap: 10px; }
.unbox-faq__item { background: var(--unbox-surface); border: 1px solid var(--unbox-border); border-radius: var(--unbox-radius); box-shadow: var(--unbox-shadow-sm); overflow: hidden; }
.unbox-faq__item summary { list-style: none; cursor: pointer; padding: 16px 20px; font-family: var(--unbox-font-head); font-weight: 600; font-size: 15px; color: var(--unbox-text); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.unbox-faq__item summary::-webkit-details-marker { display: none; }
.unbox-faq__item summary::after { content: "+"; font-size: 21px; color: var(--unbox-purple); font-weight: 400; transition: transform .2s var(--unbox-ease); flex-shrink: 0; }
.unbox-faq__item[open] summary::after { transform: rotate(45deg); }
.unbox-faq__item summary:focus-visible { outline: 3px solid var(--unbox-blue); outline-offset: -3px; }
.unbox-faq__answer { padding: 0 20px 18px; color: var(--unbox-muted); font-size: 14px; line-height: 1.6; }

/* ==========================================================================
   Banners / empty states
   ========================================================================== */
.unbox-banner { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: center; text-align: center;
  padding: 18px 24px; border-radius: var(--unbox-radius-lg);
  background: linear-gradient(120deg, var(--unbox-purple-soft), var(--unbox-blue-soft)); border: 1px solid var(--unbox-border); }
.unbox-banner__item { display: inline-flex; align-items: center; gap: 7px; font-family: var(--unbox-font-head); font-weight: 600; font-size: 14px; color: var(--unbox-text); }
.unbox-banner__item svg { color: var(--unbox-purple); flex-shrink: 0; }

.unbox-empty { text-align: center; padding: 44px 22px; border-radius: var(--unbox-radius); background: var(--unbox-purple-soft); color: var(--unbox-muted); font-size: 14px; max-width: 540px; margin-inline: auto; }
.unbox-empty strong { display: block; color: var(--unbox-text); font-family: var(--unbox-font-head); font-size: 16px; margin-bottom: 4px; }

/* ==========================================================================
   Content pages (policies, terms, etc.) — page head + readable prose
   ========================================================================== */
.unbox-pagehead { text-align: center; padding-block: clamp(40px, 6vw, 76px) clamp(6px, 2vw, 18px); }
.unbox-pagehead h1 {
  font-family: var(--unbox-font-head); font-weight: 800; font-size: clamp(30px, 5vw, 52px); letter-spacing: -.02em; line-height: 1.08; margin: 0;
  background: linear-gradient(100deg, var(--unbox-purple) 0%, var(--unbox-blue) 55%, var(--unbox-orange) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.unbox-pagehead p { color: var(--unbox-muted); margin: 12px auto 0; max-width: 52ch; font-size: 16px; line-height: 1.55; }

/* Text sits on a solid readable panel (not floating over the lava background) */
.unbox-prose {
  max-width: 800px; margin-inline: auto;
  background: var(--unbox-surface);
  border: 1px solid var(--unbox-border);
  border-radius: var(--unbox-radius-lg);
  padding: clamp(24px, 4vw, 44px);
  box-shadow: var(--unbox-shadow-sm);
}
.unbox-prose > * + * { margin-top: 1.05em; }
.unbox-prose h2 { font-family: var(--unbox-font-head); font-weight: 800; font-size: clamp(20px, 2.6vw, 28px); letter-spacing: -.01em; margin-top: 1.7em; color: var(--unbox-purple); }
.unbox-prose h3 { font-family: var(--unbox-font-head); font-weight: 700; font-size: 18px; margin-top: 1.3em; }
.unbox-prose p, .unbox-prose li { color: var(--unbox-text); font-size: 16px; line-height: 1.7; }
.unbox-prose ul, .unbox-prose ol { padding-left: 1.3em; }
.unbox-prose li { margin-top: .45em; }
.unbox-prose li::marker { color: var(--unbox-purple); }
.unbox-prose a { color: var(--unbox-purple); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.unbox-prose strong { color: var(--unbox-text); font-weight: 700; }
.unbox-prose em { color: var(--unbox-muted); }

/* Callout boxes you can drop into page content */
.unbox-note { background: var(--unbox-purple-soft); border-left: 4px solid var(--unbox-purple); border-radius: var(--unbox-radius); padding: 16px 20px; }
.unbox-note--orange { background: var(--unbox-orange-soft); border-left-color: var(--unbox-orange); }
.unbox-note > :first-child { margin-top: 0; }
.unbox-note h3 { margin-top: 0; }

/* ==========================================================================
   Floating "Under $20" deal pill
   Bottom-right (above the scroll-top arrow), appears after the hero,
   dismissible, scrolls to the Under-$20 row.
   ========================================================================== */
.unbox-deal-fab {
  position: fixed; right: 20px; bottom: 88px; z-index: 9990;
  display: inline-flex; align-items: center;
  border-radius: var(--unbox-radius-pill);
  background: linear-gradient(135deg, var(--unbox-orange), var(--unbox-orange-dark));
  box-shadow: 0 10px 28px rgba(255,109,46,.45);
  opacity: 0; transform: translateY(16px) scale(.92); pointer-events: none;
  transition: opacity .3s var(--unbox-ease), transform .3s var(--unbox-ease);
}
.unbox-deal-fab.is-visible { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.unbox-deal-fab.is-pulse { animation: unboxPulse 1.6s var(--unbox-ease) 1; }
@keyframes unboxPulse {
  0%, 100% { box-shadow: 0 10px 28px rgba(255,109,46,.45); }
  50%      { box-shadow: 0 10px 28px rgba(255,109,46,.45), 0 0 0 10px rgba(255,109,46,.18); }
}
.unbox-deal-fab__main {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 6px 11px 16px;
  color: #fff; font-family: var(--unbox-font-head); font-weight: 800; font-size: 14px; letter-spacing: .01em;
  cursor: pointer;
}
.unbox-deal-fab__main svg { width: 17px; height: 17px; }
/* Plain × to dismiss — no box, just the icon */
.unbox-deal-fab__close {
  border: none; background: none; cursor: pointer; color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 8px 14px 8px 4px;
}
.unbox-deal-fab__close svg { width: 17px; height: 17px; opacity: .95; transition: opacity .15s var(--unbox-ease); }
.unbox-deal-fab__close:hover svg { opacity: 1; }
.unbox-deal-fab :focus-visible { outline: 3px solid #fff; outline-offset: 2px; border-radius: var(--unbox-radius-pill); }
@media (max-width: 600px) { .unbox-deal-fab { bottom: 76px; right: 14px; } }

/* Offset the deals row anchor so it isn't hidden under a sticky header */
#unbox-deals { scroll-margin-top: 90px; }

/* ==========================================================================
   WooCommerce brand styling (shop · product · cart · checkout · account)
   Standard Woo classes + targeted overrides so native pages match the brand.
   ========================================================================== */

/* Buttons — general (purple) */
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce #respond input#submit, .woocommerce-page a.button,
.woocommerce-page button.button, .woocommerce-page input.button,
.wc-block-components-button {
  background-color: var(--unbox-purple) !important;
  color: #fff !important;
  border: none !important;
  border-radius: var(--unbox-radius-sm) !important;
  font-family: var(--unbox-font-head) !important;
  font-weight: 700 !important;
  transition: background-color .18s ease !important;
}
.woocommerce a.button:hover, .woocommerce button.button:hover,
.woocommerce input.button:hover, .woocommerce #respond input#submit:hover {
  background-color: var(--unbox-purple-dark) !important;
}

/* Primary CTAs — add to cart (single), place order (orange) */
.woocommerce .single_add_to_cart_button, .woocommerce #place_order,
.woocommerce button.button.alt, .woocommerce a.button.alt,
.wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button {
  background-color: var(--unbox-orange) !important;
}
.woocommerce .single_add_to_cart_button:hover, .woocommerce #place_order:hover,
.woocommerce button.button.alt:hover, .woocommerce a.button.alt:hover {
  background-color: var(--unbox-orange-dark) !important;
}

/* Sale badge */
.woocommerce span.onsale {
  background-color: var(--unbox-orange) !important;
  color: #fff !important;
  border-radius: var(--unbox-radius-pill) !important;
  font-family: var(--unbox-font-head); font-weight: 800;
  min-height: auto; min-width: auto; padding: 4px 12px; line-height: 1.5;
}

/* Prices */
.woocommerce .price, .woocommerce-Price-amount { color: var(--unbox-text); font-weight: 700; }
.woocommerce .price del { color: var(--unbox-muted); opacity: .7; font-weight: 400; }
.woocommerce .price ins { color: var(--unbox-orange); text-decoration: none; font-weight: 800; }

/* Shop / archive product cards */
.woocommerce ul.products li.product {
  background: var(--unbox-surface); border: 1px solid var(--unbox-border);
  border-radius: var(--unbox-radius); box-shadow: var(--unbox-shadow-sm);
  padding: 10px 10px 16px !important;
  transition: transform .2s ease, box-shadow .2s ease;
}
.woocommerce ul.products li.product:hover { transform: translateY(-4px); box-shadow: var(--unbox-shadow-md); }
.woocommerce ul.products li.product img { border-radius: var(--unbox-radius-sm); }
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--unbox-font-head); font-weight: 600; font-size: 15px; color: var(--unbox-text);
}

/* Single product */
.woocommerce div.product .product_title { font-family: var(--unbox-font-head); font-weight: 800; color: var(--unbox-text); }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--unbox-text); font-weight: 800; }
.woocommerce div.product p.price ins { color: var(--unbox-orange); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--unbox-purple); }

/* Quantity + form inputs */
.woocommerce .quantity input.qty,
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea,
.woocommerce-page form .form-row input.input-text,
.select2-container--default .select2-selection--single {
  border: 1px solid var(--unbox-border) !important;
  border-radius: var(--unbox-radius-sm) !important;
  padding: 9px 11px !important;
  background: var(--unbox-surface) !important; color: var(--unbox-text) !important;
}
.woocommerce form .form-row input.input-text:focus, .woocommerce form .form-row textarea:focus {
  border-color: var(--unbox-purple) !important; outline: none !important;
  box-shadow: 0 0 0 2px var(--unbox-purple-soft) !important;
}

/* Cart & checkout summary panels */
.woocommerce-cart .cart_totals, .woocommerce-checkout #order_review,
.woocommerce .woocommerce-checkout-review-order {
  background: var(--unbox-surface); border: 1px solid var(--unbox-border);
  border-radius: var(--unbox-radius); padding: 6px 18px 18px;
}

/* Notices */
.woocommerce-info, .woocommerce-error, .woocommerce-noreviews { border-top-color: var(--unbox-purple) !important; border-radius: var(--unbox-radius-sm); }
.woocommerce-message { border-top-color: var(--unbox-orange) !important; border-radius: var(--unbox-radius-sm); }

/* Pagination + account nav */
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { border-radius: var(--unbox-radius-sm); }
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--unbox-purple); color: #fff; border-color: var(--unbox-purple); }
.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a { color: var(--unbox-purple); font-weight: 700; }

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .unbox-page *, .unbox-blob, .unbox-bg__goo { transition: none !important; animation: none !important; }
  .unbox-blob, .unbox-bg__goo { transform: none !important; }
  .unbox-rail, .unbox-cat-rail { scroll-behavior: auto; }
}
