/* =============================================================
   ProPluginsLab — Enhancements (v1.1.0)
   Tier cards · shop filters · review histogram · license keys ·
   product info blocks · trust badges · consent banner · a11y.
   Loads after theme.css + patch.css.
   ============================================================= */

/* ---- wider overall layout ---- */
:root { --max: 1320px; }

/* =============================================
   PRODUCT CARD — use the real product image
   ============================================= */
.product-tile .pt-banner.pt-banner-img {
  height: auto;
  aspect-ratio: 16 / 10;
  padding: 0;
  background: var(--bg-2);
}
.product-tile .pt-banner.pt-banner-img::before { display: none; }
.product-tile .pt-banner-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.product-tile:hover .pt-banner-photo { transform: scale(1.04); }
.product-tile .pt-price .from,
.pc-price .from {
  font-size: 11px;
  color: var(--ink-mute);
  font-weight: 600;
  margin-right: 2px;
}
.pc-price .now, .pc-price .was { font-family: var(--font-body); font-variant-numeric: tabular-nums; }

/* Hero floating mockup is now a real link */
.hero-visual a.product-mockup { text-decoration: none; color: inherit; display: block; }

/* =============================================
   CROSS-SELL OFFER BOX
   ============================================= */
.ppl-offer-box {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  margin: 0 0 24px; padding: 22px 26px;
  background: linear-gradient(135deg, var(--red-soft), #fef1e6);
  border: 1px solid rgba(229,57,53,.22); border-radius: var(--r-lg);
}
.ppl-offer-box .ppl-offer-text { flex: 1; min-width: 240px; }
.ppl-offer-box h3 { margin: 0 0 6px; font-family: var(--font-display); font-weight: 500; font-size: 22px; color: var(--ink); }
.ppl-offer-box p { margin: 0; font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.ppl-offer-box .btn { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }

/* =============================================
   EXTERNAL PRODUCTS (free plugins) — hide commerce UI
   ============================================= */
.product-type-external .one-time-banner,
.product-type-external .ppl-includes,
.product-type-external .ppl-safe-checkout,
.product-type-external .quantity,
.product-type-external #wc-stripe-payment-request-wrapper,
.product-type-external .wc-stripe-payment-request-button-separator,
.product-type-external .gpay-button-container,
.product-type-external .wc-block-components-payment-request,
.product-type-external .stripe-payment-request-wrapper,
/* Any PayPal / express-checkout button, whatever the plugin names it */
.product-type-external [class*="paypal" i],
.product-type-external [id*="paypal" i],
.product-type-external [class*="ppcp" i],
.product-type-external [id*="ppcp" i],
.product-type-external [class*="ppc-button" i],
.product-type-external [id*="ppc-button" i],
.product-type-external [class*="express" i],
.product-type-external [class*="payment-request" i],
.product-type-external [class*="smart-button" i],
.product-type-external [class*="apple-pay" i],
.product-type-external [class*="gpay" i],
.product-type-external [class*="google-pay" i] {
  display: none !important;
}
/* The single external "Download free" button — make it the clear primary CTA */
.product-type-external .product-sidebar .single_add_to_cart_button,
.product-type-external .single_add_to_cart_button.button.product_type_external {
  width: 100% !important;
  text-align: center;
}

/* =============================================
   PREMIUM NAV (upgrade the "classic" menu)
   ============================================= */
.site-header .nav-menu > li > a {
  padding: 9px 16px;
  border-radius: 10px;
  font-size: 14.5px;
  transition: background .18s, color .18s;
}
.site-header .nav-menu > li > a:hover { background: var(--bg-2); color: var(--ink); }
.site-header .nav-menu > li.current-menu-item > a,
.site-header .nav-menu > li.current-menu-parent > a { color: var(--red); }
.site-header .nav li a,
.site-header .nav-menu li a { position: relative; font-weight: 600; }

/* caret on items with children — clean chevron AFTER the label */
.site-header .nav-menu > li.menu-item-has-children > a { display: inline-flex; align-items: center; gap: 6px; }
.site-header .nav-menu > li.menu-item-has-children > a::after {
  content: "";
  width: 6px; height: 6px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  opacity: .4;
  transition: transform .2s, opacity .2s;
}
.site-header .nav-menu > li.menu-item-has-children:hover > a::after { opacity: .8; transform: translateY(0) rotate(45deg); }

/* polished dropdown */
.site-header .nav-menu .sub-menu {
  display: block;
  opacity: 0; visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  margin-top: 8px;
  box-shadow: var(--shadow-xl);
  border-radius: 14px;
  padding: 10px;
}
.site-header .nav-menu .sub-menu::before { /* hover bridge */
  content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 12px;
}
.site-header .nav-menu li:hover > .sub-menu,
.site-header .nav-menu li:focus-within > .sub-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.site-header .nav-menu .sub-menu a { font-weight: 500; color: var(--ink-2); }
.site-header .nav-menu .sub-menu a:hover { color: var(--red); }

/* ---- shared buttons / focus ---- */
.btn-secondary {
  background: var(--ink);
  color: #fff;
  border: 1px solid var(--ink);
}
.btn-secondary:hover { background: var(--ink-2); }
.btn-block { width: 100%; display: block; text-align: center; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible,
.srow:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 2px;
  border-radius: var(--r-xs);
}

/* =============================================
   LICENSE-TIER CARDS (variation selector)
   ============================================= */
.sites-select {
  display: grid;
  gap: 10px;
  margin: 4px 0 20px;
}
.srow {
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  background: var(--surface);
  cursor: pointer;
  transition: border-color .18s, background .18s, box-shadow .18s;
  display: grid;
  gap: 6px;
}
.srow:hover { border-color: var(--line-strong); background: var(--bg-2); }
.srow.selected {
  border-color: var(--red);
  background: var(--red-soft);
  box-shadow: 0 0 0 3px rgba(229,57,53,.12);
}
.srow-main { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.srow-name { font-weight: 700; color: var(--ink); font-size: 15px; }
.srow-sites { font-family: var(--font-mono); font-size: 12px; color: var(--ink-mute); }
.srow-price { font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: 20px; }
.srow-price del { color: var(--ink-faint); font-size: 14px; margin-right: 8px; font-weight: 400; }
.srow-price ins { text-decoration: none; background: none; }
.srow-foot { font-size: 11.5px; color: var(--ink-mute); }

/* View demo / bundle / trust badges */
.ppl-view-demo {
  display: inline-flex; align-items: center; gap: 6px;
  width: 100%; justify-content: center; margin-top: 10px;
}
.ppl-view-demo svg { stroke-width: 2; }

.ppl-bundle-upsell {
  margin-top: 18px; padding: 18px;
  border: 1px dashed var(--line-strong);
  border-radius: 12px; background: var(--surface-2);
}
.ppl-bundle-upsell .bu-ti { font-weight: 700; color: var(--ink); font-size: 14px; line-height: 1.3; }
.ppl-bundle-upsell .bu-sub { font-size: 13px; color: var(--ink-mute); margin: 6px 0 12px; }

.ppl-safe-checkout { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.ppl-safe-checkout .sc-head {
  display: flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 600; color: var(--ink); margin-bottom: 10px;
}
.ppl-safe-checkout .sc-head svg { color: var(--success); }
.ppl-safe-checkout .sc-icons { display: flex; flex-wrap: wrap; gap: 8px; }
.ppl-safe-checkout .sc-icons img { height: 30px; width: auto; border-radius: 4px; }
.ppl-safe-checkout .sc-note { font-size: 11.5px; color: var(--ink-mute); margin-top: 8px; }

/* =============================================
   SIDEBAR INFO BLOCKS
   ============================================= */
.ppl-block-ti {
  font-size: 11px; color: var(--ink-mute);
  letter-spacing: .12em; text-transform: uppercase;
  font-family: var(--font-mono); font-weight: 600; margin: 0 0 10px;
}
.ppl-facts, .ppl-support, .ppl-extinfo, .ppl-quality, .ppl-works-with {
  margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line);
}
.ppl-facts dl, .ppl-extinfo dl { margin: 0; }
.fact-row {
  display: flex; justify-content: space-between; gap: 12px;
  font-size: 13px; padding: 5px 0;
}
.fact-row dt { color: var(--ink-mute); margin: 0; }
.fact-row dd { margin: 0; font-weight: 600; color: var(--ink); text-align: right; }

.ppl-link-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ppl-link-list a {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13.5px; color: var(--ink-2); text-decoration: none; padding: 4px 0;
}
.ppl-link-list a:hover { color: var(--red); }
.ppl-link-list svg { color: var(--ink-faint); }
.ppl-link-list a:hover svg { color: var(--red); }

.ppl-quality ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ppl-quality li { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--ink-2); }
.ppl-quality li svg { color: var(--success); flex-shrink: 0; margin-top: 2px; }
.ppl-quality a { color: var(--red); text-decoration: none; }
.ppl-quality a:hover { text-decoration: underline; }

.ww-list { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ww-list li {
  font-size: 12.5px; background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 999px; padding: 4px 12px; color: var(--ink-2);
}
.ww-list a { color: inherit; text-decoration: none; }
.ww-list a:hover { color: var(--red); }
.ww-flags { display: flex; flex-direction: column; gap: 6px; }
.ww-flag { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--ink-2); }
.ww-flag svg { color: var(--success); }

/* =============================================
   PRODUCT TABS + FOOTMETA + SHARE + INSTALL
   ============================================= */
.ppl-product-tabs { margin: 56px 0 8px; }
.ppl-product-tabs .wc-tabs {
  list-style: none; margin: 0 0 24px; padding: 0;
  display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid var(--line);
}
.ppl-product-tabs .wc-tabs li { margin: 0; }
.ppl-product-tabs .wc-tabs li a {
  display: inline-block; padding: 12px 18px; text-decoration: none;
  color: var(--ink-mute); font-weight: 600; font-size: 14px;
  border-bottom: 2px solid transparent;
}
.ppl-product-tabs .wc-tabs li.active a,
.ppl-product-tabs .wc-tabs li a:hover { color: var(--ink); border-bottom-color: var(--red); }
.ppl-product-tabs .woocommerce-Tabs-panel { color: var(--ink-2); line-height: 1.7; }
.ppl-install-guide { color: var(--ink-2); line-height: 1.7; }

.ppl-product-footmeta {
  margin: 36px 0; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  display: grid; gap: 10px;
}
.pfm-row { display: flex; gap: 12px; font-size: 13.5px; flex-wrap: wrap; }
.pfm-row .k { color: var(--ink-mute); min-width: 90px; font-weight: 600; }
.pfm-row .v, .pfm-row .v a { color: var(--ink-2); text-decoration: none; }
.pfm-row .v a:hover { color: var(--red); }
.ppl-share { display: flex; gap: 10px; }
.ppl-share a {
  font-size: 12.5px; padding: 4px 12px; border-radius: 999px;
  background: var(--bg-2); border: 1px solid var(--line); color: var(--ink-2);
}
.ppl-share a:hover { background: var(--red-soft); border-color: var(--red); color: var(--red); }

/* =============================================
   REVIEW HISTOGRAM
   ============================================= */
.ppl-review-summary {
  display: grid; grid-template-columns: 180px 1fr; gap: 32px; align-items: center;
  padding: 24px; margin-bottom: 32px; background: var(--surface-2);
  border: 1px solid var(--line); border-radius: var(--r-lg);
}
.rs-avg { text-align: center; }
.rs-num { font-family: var(--font-display); font-weight: 600; font-size: 54px; line-height: 1; color: var(--ink); }
.rs-stars { color: #f59e0b; margin: 6px 0; }
.rs-count { font-size: 12.5px; color: var(--ink-mute); }
.rs-bars { display: grid; gap: 8px; }
.rs-bar-row { display: grid; grid-template-columns: 64px 1fr 44px; gap: 10px; align-items: center; }
.rs-bar-label { font-size: 12px; color: var(--ink-mute); white-space: nowrap; }
.rs-bar { display: block; height: 9px; background: var(--bg-2); border-radius: 999px; overflow: hidden; }
.rs-bar-fill { display: block; height: 100%; background: #f59e0b; border-radius: 999px; }
.rs-bar-pct { font-size: 12px; color: var(--ink-2); font-family: var(--font-mono); text-align: right; }

/* Verified-purchase badge + WooCommerce's own verified label */
.ppl-verified,
.woocommerce-review__verified {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--success);
  background: rgba(22,163,74,.1);
  border-radius: 999px;
  padding: 2px 10px;
  margin-left: 8px;
  font-style: normal;
  vertical-align: middle;
}
.ppl-verified svg { color: var(--success); }

/* =============================================
   SHOP FILTERS (real form)
   ============================================= */
.ppl-filters { display: block; }
.ppl-filters .filter-group {
  border: 0; border-bottom: 1px solid var(--line);
  margin: 0; padding: 18px 0;
}
.ppl-filters .filter-group:first-of-type { padding-top: 0; }
.ppl-filters legend {
  font-size: 11px; color: var(--ink); font-family: var(--font-mono);
  letter-spacing: .12em; text-transform: uppercase; font-weight: 600;
  padding: 0; margin-bottom: 12px;
}
.ppl-filters label {
  display: flex; align-items: center; gap: 10px; padding: 6px 0;
  font-size: 14px; color: var(--ink-2); cursor: pointer;
}
.ppl-filters label:hover { color: var(--ink); }
.ppl-filters .fl-name { flex: 1; }
.ppl-filters .count { color: var(--ink-mute); font-size: 12px; font-family: var(--font-mono); }
.ppl-filters input[type="checkbox"],
.ppl-filters input[type="radio"] { accent-color: var(--red); width: 16px; height: 16px; flex-shrink: 0; }

.price-range { display: flex; gap: 12px; }
.pr-field { flex: 1; display: block !important; }
.pr-lbl { display: block; font-size: 12px; color: var(--ink-mute); margin-bottom: 4px; }
.price-range input[type="number"] {
  width: 100%; padding: 9px 10px; border: 1px solid var(--line-strong);
  border-radius: 8px; font-family: var(--font-mono); font-size: 14px; color: var(--ink);
}
.filter-actions { padding-top: 18px; display: grid; gap: 10px; text-align: center; }
.ppl-clear-filters { font-size: 13px; color: var(--ink-mute); text-decoration: none; }
.ppl-clear-filters:hover { color: var(--red); }

/* nested sub-category rows */
.ppl-filters label.fl-child {
  margin-left: 22px;
  font-size: 13px;
  color: var(--ink-mute);
}
.ppl-filters label.fl-child .fl-name { font-weight: 400; }

/* active chips */
.ppl-active-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.ppl-active-chips[hidden] { display: none; }
.ppl-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--red-soft); border: 1px solid var(--red);
  color: var(--red); border-radius: 999px; padding: 4px 6px 4px 12px; font-size: 12.5px; font-weight: 500;
}
.ppl-chip .chip-x {
  border: 0; background: rgba(229,57,53,.15); color: var(--red);
  width: 18px; height: 18px; border-radius: 50%; cursor: pointer;
  font-size: 14px; line-height: 1; display: grid; place-items: center;
}
.ppl-chip .chip-x:hover { background: var(--red); color: #fff; }

/* grid loading + pagination + empty */
.ppl-product-grid.is-loading { opacity: .55; transition: opacity .2s; pointer-events: none; }
.ppl-pagination { margin-top: 32px; }
.ppl-pagination ul.page-numbers,
.woocommerce-pagination ul.page-numbers {
  list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; justify-content: center;
}
.ppl-pagination .page-numbers {
  display: inline-grid; place-items: center; min-width: 38px; height: 38px; padding: 0 10px;
  border: 1px solid var(--line-strong); border-radius: 8px; text-decoration: none;
  color: var(--ink-2); font-size: 14px; font-weight: 500;
}
.ppl-pagination a.page-numbers:hover { border-color: var(--red); color: var(--red); }
.ppl-pagination .page-numbers.current { background: var(--red); border-color: var(--red); color: #fff; }
.ppl-no-results { padding: 48px 24px; text-align: center; color: var(--ink-mute); }

/* =============================================
   LICENSE KEYS (My Account)
   ============================================= */
.license-list { display: grid; gap: 14px; }
.lic-item {
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--surface); box-shadow: var(--shadow-sm); padding: 18px 20px;
}
.lic-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.lic-product { font-weight: 700; color: var(--ink); }
.lic-product a { color: inherit; text-decoration: none; }
.lic-product a:hover { color: var(--red); }
.lic-status { font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: .04em; }
.lic-status--active { background: rgba(22,163,74,.12); color: var(--success); }
.lic-status--inactive { background: var(--bg-2); color: var(--ink-mute); }
.lic-status--expired { background: var(--red-soft); color: var(--red-dark); }
.lic-keyline { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.lic-keyline .key {
  flex: 1; min-width: 180px; font-family: var(--font-mono); font-size: 14px;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 8px;
  padding: 9px 12px; color: var(--ink); letter-spacing: .04em; word-break: break-all;
}
.lic-keyline .reveal, .lic-keyline .copy-btn {
  border: 1px solid var(--line-strong); background: var(--surface);
  border-radius: 8px; padding: 8px 12px; font-size: 12.5px; font-weight: 600;
  color: var(--ink-2); cursor: pointer; transition: all .18s;
}
.lic-keyline .reveal:hover, .lic-keyline .copy-btn:hover { border-color: var(--red); color: var(--red); }
.lic-keyline .copy-btn.is-copied { background: var(--success); border-color: var(--success); color: #fff; }
.lic-meta { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 12px; font-size: 12.5px; color: var(--ink-mute); }

/* =============================================
   COOKIE CONSENT
   ============================================= */
.ppl-consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 9999;
  max-width: 720px; margin: 0 auto; background: var(--surface);
  border: 1px solid var(--line-strong); border-radius: var(--r-lg);
  box-shadow: var(--shadow-xl); padding: 18px 20px;
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
}
.ppl-consent[hidden] { display: none; }
.ppl-consent-text { margin: 0; flex: 1; min-width: 240px; font-size: 13.5px; color: var(--ink-2); line-height: 1.5; }
.ppl-consent-text a { color: var(--red); }
.ppl-consent-actions { display: flex; gap: 10px; }

/* =============================================
   PRODUCT GALLERY — compact featured + scroll strip
   (overrides the large 4-col grid in patch.css)
   ============================================= */
.ppl-gallery-wrap { margin-bottom: 32px; }
.ppl-featured-image { margin-bottom: 12px; }
.ppl-featured-image img.ppl-product-img,
.ppl-featured-image img {
  width: 100%;
  max-height: 480px;
  object-fit: contain;
  background: var(--bg-2);
}
.ppl-gallery-thumbs {
  display: flex !important;
  grid-template-columns: none !important;
  gap: 8px;
  margin-top: 12px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
}
.ppl-gallery-thumbs .ppl-thumb-link {
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  aspect-ratio: auto;
  border-radius: 8px;
}
.ppl-gallery-thumbs .ppl-thumb-link.is-active {
  border-color: var(--red);
  box-shadow: 0 0 0 2px rgba(229,57,53,.15);
}
@media (max-width: 640px) {
  .ppl-gallery-thumbs { grid-template-columns: none !important; }
  .ppl-gallery-thumbs .ppl-thumb-link { width: 64px; height: 64px; }
}

.ppl-featured-link { cursor: zoom-in; display: block; }

/* Lightbox */
.ppl-lightbox {
  position: fixed; inset: 0; z-index: 100000;
  display: flex; align-items: center; justify-content: center;
  gap: 8px; padding: 4vh 2vw;
  background: rgba(20,17,15,.92);
  opacity: 0; transition: opacity .2s;
}
.ppl-lightbox.is-open { opacity: 1; }
.ppl-lightbox[hidden] { display: none; }
.ppl-lightbox .lb-stage { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 92vw; }
.ppl-lightbox img { max-width: 90vw; max-height: 84vh; object-fit: contain; border-radius: 8px; background: #fff; box-shadow: var(--shadow-xl); }
.ppl-lightbox .lb-count { color: rgba(255,255,255,.8); font-family: var(--font-mono); font-size: 13px; }
.ppl-lightbox button {
  flex: 0 0 auto; background: rgba(255,255,255,.12); color: #fff; border: 0;
  width: 48px; height: 48px; border-radius: 50%; font-size: 28px; line-height: 1;
  cursor: pointer; display: grid; place-items: center; transition: background .15s;
}
.ppl-lightbox button:hover { background: rgba(255,255,255,.25); }
.ppl-lightbox .lb-close { position: absolute; top: 18px; right: 22px; width: 44px; height: 44px; font-size: 30px; }

/* =============================================
   VARIATION SELECTOR — show only the tier cards
   Hide the native WooCommerce dropdown / WPC radios
   (kept accessible & functional, just visually hidden)
   ============================================= */
.product-sidebar:has(.sites-select) .variations,
.product-sidebar:has(.sites-select) .reset_variations,
.product-sidebar:has(.sites-select) .wpcpro-variation-wrapper,
.product-sidebar:has(.sites-select) .wpc-variation-items-wrapper {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap;
}

/* =============================================
   PRICE TYPOGRAPHY — clean sans tabular figures
   ============================================= */
.product-sidebar .price,
.product-sidebar p.price {
  font-family: var(--font-body) !important;
  font-weight: 800 !important;
  font-size: 40px !important;
  letter-spacing: -.02em !important;
  font-variant-numeric: tabular-nums;
  font-variation-settings: normal !important;
}
.product-sidebar .price del { font-weight: 500 !important; }
.srow-price, .srow-price ins, .srow-price del { font-family: var(--font-body); font-variant-numeric: tabular-nums; }
.srow-price ins { font-weight: 800; }
.mc-subtotal strong, .pt-price .now, .pt-price .was { font-family: var(--font-body); font-variant-numeric: tabular-nums; }

/* reCAPTCHA (third-party login/register plugins) */
.woocommerce-form .g-recaptcha,
.woocommerce-form-row .g-recaptcha { margin: 0 0 16px; }

/* =============================================
   CUSTOM LOGO (Customizer "Site Logo")
   ============================================= */
.logo--custom { display: inline-flex; align-items: center; max-height: 60px; }
.site-header .logo--custom img,
.site-header img.ppl-custom-logo,
.logo--custom .ppl-custom-logo,
.site-header img.custom-logo {
  display: block;
  height: auto !important;
  max-height: 56px !important;
  width: auto !important;
  max-width: 300px !important;
  object-fit: contain;
}

/* =============================================
   CART PAGE COMPONENTS
   ============================================= */
.cart-header { margin: 8px 0 28px; }
.cart-header h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(34px,4.5vw,52px); letter-spacing: -.03em; margin: 8px 0 6px; color: var(--ink); }
.cart-header h1 em { font-style: italic; color: var(--red); }
.cart-header p { color: var(--ink-mute); margin: 0; font-size: 15px; }

.cart-items { display: grid; gap: 12px; }
.cart-item { grid-template-columns: 56px 1fr auto auto auto !important; }
.ci-icon { width: 56px; height: 56px; border-radius: 12px; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 22px; overflow: hidden; flex-shrink: 0; }
.ci-icon--img { background: var(--bg-2); }
.ci-icon--img .ci-photo, .ci-icon--img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ci-info { min-width: 0; }
.ci-info .title { font-weight: 700; color: var(--ink); font-size: 15px; line-height: 1.3; }
.ci-info .title a { color: inherit; text-decoration: none; }
.ci-info .title a:hover { color: var(--red); }
.ci-info .meta { font-size: 12.5px; color: var(--ink-mute); margin-top: 3px; display: flex; gap: 10px; flex-wrap: wrap; }
.qty-stepper .qty { width: 56px; text-align: center; padding: 8px; border: 1px solid var(--line-strong); border-radius: 8px; font-family: var(--font-mono); }
.ci-price .amt { font-family: var(--font-body); font-weight: 700; font-variant-numeric: tabular-nums; color: var(--ink); white-space: nowrap; }
.ci-remove { color: var(--ink-faint); display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; }
.ci-remove:hover { color: var(--red); background: var(--red-soft); }
.addon-row { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--ink-mute); }
.addon-row .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--red); flex-shrink: 0; }

.order-sidebar {
  position: sticky; top: 88px; align-self: start;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow-md); overflow: hidden;
}
.order-sidebar .sidebar-title, .order-summary .os-title { padding: 18px 22px; border-bottom: 1px solid var(--line); background: var(--surface-2); font-weight: 700; color: var(--ink); }
.order-sidebar .summary-body, .order-summary .os-body { padding: 22px; }
.summary-line { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; color: var(--ink-2); padding: 7px 0; }
.summary-line.discount { color: var(--success); }
.summary-line .val { font-variant-numeric: tabular-nums; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0 4px; margin-top: 8px; border-top: 1px solid var(--line); }
.summary-total .lbl { font-weight: 700; color: var(--ink); }
.summary-total .val { font-family: var(--font-display); font-weight: 600; font-size: 26px; color: var(--ink); font-variant-numeric: tabular-nums; }
.total-note { font-size: 12px; color: var(--ink-mute); margin-bottom: 16px; }
.discount-row { display: flex; gap: 8px; margin: 4px 0 18px; }
.discount-row .input-text { flex: 1; min-width: 0; padding: 11px 12px; border: 1px solid var(--line-strong); border-radius: 10px; font-size: 14px; }
.discount-row .button { background: var(--ink); color: #fff; border: 0; border-radius: 10px; padding: 0 18px; font-weight: 600; font-size: 13px; cursor: pointer; }
.discount-row .button:hover { background: var(--ink-2); }
.checkout-btn { width: 100%; justify-content: center; margin-top: 4px; display: inline-flex; align-items: center; gap: 8px; }
.trust-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 18px 22px; border-top: 1px solid var(--line); }
.trust-mini .tm { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--ink-mute); }
.trust-mini .tm svg { color: var(--ink-faint); flex-shrink: 0; }

/* =============================================
   CHECKOUT PAGE COMPONENTS
   ============================================= */
.ck-header { margin: 8px 0 22px; }
.ck-header h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(32px,4vw,48px); letter-spacing: -.03em; margin: 8px 0 6px; color: var(--ink); }
.ck-header h1 em { font-style: italic; color: var(--red); }
.ck-header p { color: var(--ink-mute); margin: 0; font-size: 15px; }

.ck-steps { display: flex; align-items: center; gap: 10px; margin: 0 0 32px; flex-wrap: wrap; }
.ck-step { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--ink-mute); }
.ck-step .n { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-2); color: var(--ink-mute); font-size: 12px; border: 1px solid var(--line); }
.ck-step.done .n { background: var(--success); color: #fff; border-color: var(--success); }
.ck-step.active { color: var(--ink); }
.ck-step.active .n { background: var(--red); color: #fff; border-color: var(--red); }
.ck-step + .ck-step::before { content: ""; width: 26px; height: 1px; background: var(--line-strong); display: inline-block; }

.form-section { margin-bottom: 32px; }
.fs-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 12px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.fs-title h3 { margin: 0; font-size: 18px; font-weight: 700; color: var(--ink); }
.fs-title .num { font-family: var(--font-mono); font-size: 12px; color: var(--ink-faint); }

.order-summary {
  position: sticky; top: 88px; align-self: start;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow-md); overflow: hidden;
}
.order-summary .os-foot { padding: 14px 22px; border-top: 1px solid var(--line); font-size: 11.5px; color: var(--ink-mute); display: flex; flex-wrap: wrap; gap: 8px 14px; }
.order-summary .os-trust { display: inline-flex; align-items: center; gap: 5px; }
.order-summary .os-trust svg { color: var(--success); }

/* checkout order-summary items */
.os-items { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 12px; max-height: 320px; overflow-y: auto; }
.os-item { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; }
.os-thumb { position: relative; width: 40px; height: 40px; }
.os-thumb img { width: 40px; height: 40px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); display: block; }
.os-thumb .os-qty { position: absolute; top: -7px; right: -7px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--ink); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.os-name { font-size: 13px; color: var(--ink); line-height: 1.3; min-width: 0; }
.os-price { font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.os-line { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--ink-2); padding: 5px 0; }
.os-line.os-discount { color: var(--success); }
.os-line span:last-child { font-variant-numeric: tabular-nums; }
.os-total { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0 2px; margin-top: 8px; border-top: 1px solid var(--line); }
.os-total span:first-child { font-weight: 700; color: var(--ink); }
.os-total span:last-child { font-family: var(--font-display); font-weight: 600; font-size: 24px; color: var(--ink); font-variant-numeric: tabular-nums; }
.os-save { display: inline-block; margin: 6px 0 16px; padding: 4px 12px; border-radius: 999px; background: rgba(22,163,74,.12); color: var(--success); font-size: 12.5px; font-weight: 700; }

/* =============================================
   CHECKOUT: order review table + payment methods
   ============================================= */
#order_review table.shop_table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
#order_review table.shop_table th,
#order_review table.shop_table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); font-size: 14px; }
#order_review table.shop_table thead th { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-mute); font-weight: 600; }
#order_review table.shop_table td.product-total,
#order_review table.shop_table th.product-total { text-align: right; font-variant-numeric: tabular-nums; }
#order_review table.shop_table tfoot th { font-weight: 600; color: var(--ink-2); }
#order_review table.shop_table tfoot .order-total th,
#order_review table.shop_table tfoot .order-total td { font-size: 16px; color: var(--ink); }
#order_review .cart-discount td,
#order_review tfoot .fee td { color: var(--success); }

/* Payment methods — left aligned, clean rows (fixes centred/clumsy radios) */
#payment ul.wc_payment_methods { list-style: none; margin: 0 0 20px; padding: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
#payment ul.wc_payment_methods li.wc_payment_method { padding: 14px 18px; border-bottom: 1px solid var(--line); }
#payment ul.wc_payment_methods li.wc_payment_method:last-child { border-bottom: 0; }
#payment ul.wc_payment_methods li.wc_payment_method > label {
  display: flex !important; align-items: center; gap: 10px; margin: 0;
  font-weight: 600; color: var(--ink); cursor: pointer; text-align: left;
}
#payment ul.wc_payment_methods li.wc_payment_method > input[type="radio"] { width: 18px; height: 18px; accent-color: var(--red); margin: 0; flex-shrink: 0; }
#payment ul.wc_payment_methods li.wc_payment_method img { margin: 0 0 0 auto; max-height: 24px; width: auto; display: inline-block; float: none; }
#payment div.payment_box { background: var(--surface-2); border-radius: 10px; margin: 12px 0 0; padding: 14px; font-size: 13px; color: var(--ink-2); }
#payment div.payment_box::before { display: none; }
#payment .form-row.place-order { padding: 0; margin-top: 8px; }
#payment #place_order, #payment button[type="submit"], .ck-layout #place_order { width: 100%; }

/* The left order-items table is redundant — the right summary shows it.
   Keep #payment (methods + place order) visible. */
.woocommerce-checkout #order_review > table.woocommerce-checkout-review-order-table,
.woocommerce-checkout #order_review > table.shop_table { display: none; }

/* Terms + privacy: force left alignment (was centred) */
#payment, #order_review,
.woocommerce-terms-and-conditions-wrapper,
.woocommerce-privacy-policy-text,
.woocommerce-terms-and-conditions { text-align: left !important; }
.woocommerce-terms-and-conditions-wrapper { margin: 4px 0 18px; font-size: 13px; color: var(--ink-mute); }
.woocommerce-privacy-policy-text { margin-bottom: 14px; }
.woocommerce-terms-and-conditions { border: 1px solid var(--line); border-radius: 10px; padding: 14px; background: var(--surface-2); margin-bottom: 14px; }

/* The "I have read and agree…" row: checkbox left, label beside it */
p.form-row.validate-required > label.woocommerce-form__label-for-checkbox,
.woocommerce-terms-and-conditions-wrapper label.checkbox {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  margin: 0 !important;
  text-align: left !important;
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.5;
}
p.form-row.validate-required > label.woocommerce-form__label-for-checkbox > input.input-checkbox,
.woocommerce-terms-and-conditions-wrapper input.woocommerce-form__input-checkbox {
  margin: 2px 0 0 0 !important;
  width: 18px; height: 18px;
  flex: 0 0 auto;
  accent-color: var(--red);
  float: none !important;
}
p.form-row.validate-required { display: block; }
.woocommerce-terms-and-conditions-checkbox-text { flex: 1; }

/* =============================================
   LICENSE MANAGER FOR WOOCOMMERCE — account UI
   (markup: h4.product-name + table.shop_table.my_account_orders
    + span.lmfwc-myaccount-license-key + td.license-key-actions)
   ============================================= */
.woocommerce-MyAccount-content > h2 { font-family: var(--font-display); font-weight: 500; font-size: 26px; letter-spacing: -.02em; color: var(--ink); margin: 0 0 20px; }
.woocommerce-MyAccount-content h4.product-name {
  font-family: var(--font-body); font-weight: 700; font-size: 15px; color: var(--ink);
  margin: 22px 0 0; padding: 0;
}
.woocommerce-MyAccount-content h4.product-name a { color: inherit; text-decoration: none; }
.woocommerce-MyAccount-content h4.product-name a:hover { color: var(--red); }

.woocommerce-MyAccount-content table.shop_table.my_account_orders,
.woocommerce-MyAccount-content table.my_account_orders {
  width: 100%; border-collapse: collapse; margin: 10px 0 8px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden;
}
.woocommerce-MyAccount-content .my_account_orders thead th {
  text-align: left; font-size: 10.5px; text-transform: uppercase; letter-spacing: .07em;
  color: var(--ink-mute); font-weight: 600; padding: 10px 16px; border-bottom: 1px solid var(--line); background: var(--surface-2);
}
.woocommerce-MyAccount-content .my_account_orders tbody td {
  padding: 13px 16px; border-bottom: 1px solid var(--line); font-size: 14px; vertical-align: middle; color: var(--ink-2);
}
.woocommerce-MyAccount-content .my_account_orders tbody tr:last-child td { border-bottom: 0; }
.woocommerce-MyAccount-content .my_account_orders .activation span { font-variant-numeric: tabular-nums; }
.lmfwc-myaccount-license-key {
  font-family: var(--font-mono); font-size: 13px; letter-spacing: .03em;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 6px; padding: 5px 9px; color: var(--ink); display: inline-block; word-break: break-all;
}
.woocommerce-MyAccount-content td.license-key-actions { text-align: right; white-space: nowrap; }
.woocommerce-MyAccount-content td.license-key-actions .button {
  display: inline-block; margin: 2px 0 2px 6px; padding: 7px 14px;
  border-radius: 8px; font-size: 12.5px; font-weight: 600; text-decoration: none;
}
/* primary "View", secondary "Order" */
.woocommerce-MyAccount-content td.license-key-actions .button { background: var(--red); color: #fff; border: 0; }
.woocommerce-MyAccount-content td.license-key-actions .button + .button { background: var(--surface); color: var(--ink-2); border: 1px solid var(--line-strong); }
.woocommerce-MyAccount-content td.license-key-actions .button:hover { background: var(--red-dark); color: #fff; }
.woocommerce-MyAccount-content td.license-key-actions .button + .button:hover { border-color: var(--red); color: var(--red); background: var(--surface); }

@media (max-width: 600px) {
  .woocommerce-MyAccount-content .my_account_orders,
  .woocommerce-MyAccount-content .my_account_orders thead,
  .woocommerce-MyAccount-content .my_account_orders tbody,
  .woocommerce-MyAccount-content .my_account_orders tr,
  .woocommerce-MyAccount-content .my_account_orders td { display: block; width: 100%; }
  .woocommerce-MyAccount-content .my_account_orders thead { display: none; }
  .woocommerce-MyAccount-content td.license-key-actions { text-align: left; }
}

/* =============================================
   ACCOUNT FORMS — edit address / account details
   ============================================= */
.woocommerce-MyAccount-content form { max-width: 640px; }
.woocommerce-address-fields .woocommerce-input-wrapper,
.woocommerce-MyAccount-content .woocommerce-input-wrapper { width: 100%; display: block; }
.woocommerce-MyAccount-content .form-row-first { width: 48%; float: left; margin-right: 4%; }
.woocommerce-MyAccount-content .form-row-last { width: 48%; float: right; }
.woocommerce-MyAccount-content .form-row-wide { width: 100%; clear: both; }
.woocommerce-MyAccount-content form::after { content: ""; display: table; clear: both; }
.woocommerce-MyAccount-content .woocommerce-Address-title { display: flex; align-items: baseline; gap: 12px; }
.woocommerce-MyAccount-content address { font-style: normal; line-height: 1.7; color: var(--ink-2); }

/* =============================================
   COUPON / DISCOUNT FIELDS (cart + checkout)
   ============================================= */
/* Checkout's collapsible "Have a coupon?" toggle */
.woocommerce-form-coupon-toggle .woocommerce-info {
  background: var(--surface);
  border: 1px dashed var(--line-strong);
  border-left: 4px solid var(--red);
  border-radius: 12px;
  color: var(--ink-2);
  font-size: 14px;
  padding: 14px 18px;
  margin: 0 0 20px;
  box-shadow: none;
}
.woocommerce-form-coupon-toggle .woocommerce-info a,
.checkout_coupon .button { color: var(--red); }
.checkout_coupon.woocommerce-form-coupon {
  border: 1px solid var(--line); border-radius: 12px;
  padding: 18px; margin: 0 0 22px; background: var(--surface-2);
}
.checkout_coupon .form-row { margin-bottom: 12px; }
.checkout_coupon input[type="text"] {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line-strong);
  border-radius: 10px; font-size: 14px;
}
/* Cart summary discount input + Apply */
.ppl-coupon, .cart-coupon, .ppl-summary .coupon { display: flex; gap: 8px; }
.ppl-coupon input[type="text"], .coupon input.input-text {
  flex: 1; min-width: 0; padding: 11px 13px;
  border: 1px solid var(--line-strong); border-radius: 10px; font-size: 14px;
}

/* =============================================
   LOGIN / REGISTER (two-column auth)
   ============================================= */
#customer_login.u-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
  max-width: 940px;
  margin: 0 auto;
}
#customer_login .u-column1,
#customer_login .u-column2 {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  padding: 32px;
}
#customer_login h2,
.woocommerce-account .woocommerce > h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 26px;
  letter-spacing: -.02em;
  margin: 0 0 20px;
  color: var(--ink);
}
/* Standalone login (registration disabled) */
.woocommerce-account .woocommerce > form.woocommerce-form-login {
  max-width: 460px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  padding: 32px;
}

/* Form fields */
.woocommerce-form .form-row,
.woocommerce-form p { margin: 0 0 16px; }
.woocommerce-form .form-row > label,
.woocommerce-form label.woocommerce-form__label:not(.woocommerce-form__label-for-checkbox) {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 6px;
}
.woocommerce-form input[type="text"],
.woocommerce-form input[type="email"],
.woocommerce-form input[type="password"],
.woocommerce-form input[type="tel"] {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  font-size: 14px;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--surface);
}
.woocommerce-form label.woocommerce-form__label-for-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-2);
  margin: 14px 0;
}
.woocommerce-form .button,
.woocommerce-form button[type="submit"],
.woocommerce-Button {
  display: inline-block;
  width: 100%;
  background: var(--red);
  color: #fff;
  border: 0;
  border-radius: 10px;
  padding: 13px 22px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
}
.woocommerce-form .button:hover,
.woocommerce-form button[type="submit"]:hover { background: var(--red-dark); }
.woocommerce-LostPassword { margin-top: 14px; font-size: 13px; }
.woocommerce-LostPassword a { color: var(--ink-mute); text-decoration: none; }
.woocommerce-LostPassword a:hover { color: var(--red); }
.woocommerce-privacy-policy-text { font-size: 12.5px; color: var(--ink-mute); margin-top: 12px; }

/* Show-password eye toggle (WooCommerce adds span.show-password-input) */
.password-input { position: relative; display: block; }
.password-input input { padding-right: 44px; }
.show-password-input {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  cursor: pointer;
  opacity: .55;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236e6862' stroke-width='2'%3E%3Cpath d='M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / 19px 19px no-repeat;
}
.show-password-input:hover { opacity: .9; }
.show-password-input.display-password {
  opacity: 1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e53935' stroke-width='2'%3E%3Cpath d='M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-10-8-10-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 10 8 10 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24'/%3E%3Cline x1='1' y1='1' x2='23' y2='23'/%3E%3C/svg%3E");
}

@media (max-width: 768px) {
  #customer_login.u-columns { grid-template-columns: 1fr; gap: 18px; }
}

/* =============================================
   MINI CART (hover dropdown)
   ============================================= */
.ppl-cart-wrap { position: relative; }
.ppl-minicart-panel {
  position: absolute; top: calc(100% + 10px); right: 0; z-index: 1000;
  width: 340px; max-width: 92vw;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow-xl); padding: 18px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.ppl-cart-wrap:hover .ppl-minicart-panel,
.ppl-cart-wrap:focus-within .ppl-minicart-panel,
.ppl-cart-wrap.is-open .ppl-minicart-panel {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.ppl-minicart-panel::before { /* hover bridge so it doesn't close in the gap */
  content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px;
}
.mc-empty { text-align: center; color: var(--ink-mute); font-size: 14px; margin: 8px 0 16px; }
.mc-items { list-style: none; margin: 0 0 14px; padding: 0; max-height: 320px; overflow-y: auto; display: grid; gap: 12px; }
.mc-item { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; }
.mc-thumb img { width: 44px; height: 44px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); display: block; }
.mc-info { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.mc-name { font-size: 13.5px; font-weight: 600; color: var(--ink); text-decoration: none; line-height: 1.3; }
.mc-name:hover { color: var(--red); }
.mc-qp { font-size: 12px; color: var(--ink-mute); }
.mc-remove { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-faint); text-decoration: none; font-size: 18px; line-height: 1; }
.mc-remove:hover { background: var(--red-soft); color: var(--red); }
.mc-item.is-removing { opacity: .4; pointer-events: none; transition: opacity .15s; }
.mc-line { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-2); padding: 3px 0; }
.mc-line.mc-discount { color: var(--success); }
.mc-line span:last-child { font-variant-numeric: tabular-nums; }
.mc-subtotal { display: flex; justify-content: space-between; align-items: baseline; margin-top: 6px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-mute); }
.mc-subtotal strong { font-family: var(--font-display); font-size: 20px; color: var(--ink); }
.mc-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mc-actions .btn { width: 100%; text-align: center; justify-content: center; }

@media (max-width: 600px) {
  .ppl-minicart-panel { position: fixed; top: auto; bottom: 0; left: 0; right: 0; width: 100%; max-width: none; border-radius: var(--r-lg) var(--r-lg) 0 0; }
}

/* =============================================
   PROMO POPUP
   ============================================= */
.ppl-promo { position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center; padding: 20px; }
.ppl-promo[hidden] { display: none; }
.ppl-promo-backdrop { position: absolute; inset: 0; background: rgba(26,22,20,.5); opacity: 0; transition: opacity .25s; }
.ppl-promo.is-open .ppl-promo-backdrop { opacity: 1; }
.ppl-promo-card {
  position: relative; z-index: 1; width: 100%; max-width: 420px; text-align: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl);
  box-shadow: var(--shadow-xl); padding: 36px 32px;
  transform: translateY(16px) scale(.98); opacity: 0; transition: transform .25s, opacity .25s;
}
.ppl-promo.is-open .ppl-promo-card { transform: translateY(0) scale(1); opacity: 1; }
.ppl-promo-x { position: absolute; top: 12px; right: 14px; border: 0; background: none; font-size: 26px; line-height: 1; color: var(--ink-faint); cursor: pointer; }
.ppl-promo-x:hover { color: var(--ink); }
.ppl-promo-card h3 { font-family: var(--font-display); font-weight: 500; font-size: 26px; color: var(--ink); margin: 0 0 10px; letter-spacing: -.02em; }
.ppl-promo-text { font-size: 14.5px; color: var(--ink-mute); line-height: 1.55; margin: 0 0 20px; }
.ppl-promo-code { display: flex; align-items: stretch; gap: 8px; margin: 0 0 20px; }
.ppl-promo-code code {
  flex: 1; font-family: var(--font-mono); font-size: 16px; font-weight: 600; letter-spacing: .08em;
  color: var(--ink); background: var(--bg-2); border: 1px dashed var(--line-strong);
  border-radius: 10px; padding: 12px; display: grid; place-items: center;
}
.ppl-promo-copy { border: 1px solid var(--line-strong); background: var(--surface); border-radius: 10px; padding: 0 16px; font-size: 13px; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.ppl-promo-copy:hover { border-color: var(--red); color: var(--red); }

/* =============================================
   BUNDLES (ported from previous theme)
   ============================================= */
.ppl-bundle-box {
  margin: 32px 0;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.ppl-bundle-box > h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: -.02em;
  margin: 0 0 6px;
  color: var(--ink);
}
.ppl-bundle-box > p { color: var(--ink-mute); margin: 0 0 20px; font-size: 14px; }
.ppl-bundle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ppl-bundle-grid .ppl-card {
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 22px 20px;
  text-align: center;
  background: var(--surface-2);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color .18s, box-shadow .18s;
}
.ppl-bundle-grid .ppl-card:hover { border-color: var(--red); box-shadow: 0 0 0 3px rgba(229,57,53,.1); }
.ppl-bundle-grid .ppl-card h3 { font-size: 16px; font-weight: 700; color: var(--ink); margin: 0; }
.ppl-bundle-grid .ppl-card > p { font-size: 13px; color: var(--ink-mute); margin: 0 0 8px; }
.ppl-bundle-grid .ppl-card .old {
  text-decoration: line-through; color: var(--ink-faint);
  font-family: var(--font-body); font-variant-numeric: tabular-nums; font-size: 14px;
}
.ppl-bundle-grid .ppl-card .new {
  font-family: var(--font-body); font-weight: 800; font-variant-numeric: tabular-nums;
  font-size: 26px; color: var(--ink); margin-bottom: 12px;
}
.ppl-bundle-grid .ppl-card .button,
.ppl-product-upsell .button,
.ppl-progress-wrapper .button {
  display: inline-block; background: var(--red); color: #fff;
  border-radius: 10px; padding: 11px 18px; font-size: 13.5px; font-weight: 600;
  text-decoration: none; text-align: center; transition: background .18s; border: 0; cursor: pointer;
}
.ppl-bundle-grid .ppl-card .button:hover,
.ppl-product-upsell .button:hover,
.ppl-progress-wrapper .button:hover { background: var(--red-dark); }

/* Per-product upsell notice */
.ppl-product-upsell {
  margin: 16px 0;
  padding: 16px 18px;
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
  background: linear-gradient(135deg, var(--red-soft), #fef1e6);
}
.ppl-product-upsell h3 { font-size: 14.5px; font-weight: 700; color: var(--ink); margin: 0 0 6px; }
.ppl-product-upsell p { font-size: 13px; color: var(--ink-2); margin: 0 0 12px; line-height: 1.5; }

/* Cart bundle progress — legacy classes (kept for safety) */
.ppl-bundle-savings { font-size: 13px; color: var(--ink-mute); margin: 8px 0; }
.ppl-bundle-savings .ppl-save { color: var(--success); font-weight: 700; }

/* Cart bundle promo — rich conversion card */
.ppl-bundle-promo {
  margin: 0 0 28px;
  padding: 22px 24px;
  border-radius: var(--r-lg);
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(229,57,53,.10), transparent 55%),
    var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.ppl-bundle-promo.is-unlocked {
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(22,163,74,.12), transparent 55%),
    var(--surface);
  border-color: rgba(22,163,74,.3);
}
.ppl-bundle-promo .bp-head { display: flex; align-items: center; gap: 14px; }
.ppl-bundle-promo .bp-icon {
  width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px;
  display: grid; place-items: center; background: var(--red-soft); color: var(--red);
}
.is-unlocked .bp-icon { background: rgba(22,163,74,.12); color: var(--success); }
.ppl-bundle-promo .bp-head-text { flex: 1; min-width: 0; }
.ppl-bundle-promo .bp-title { font-family: var(--font-display); font-weight: 500; font-size: 19px; letter-spacing: -.01em; color: var(--ink); line-height: 1.2; }
.ppl-bundle-promo .bp-sub { font-size: 13px; color: var(--ink-mute); margin-top: 2px; }
.ppl-bundle-promo .bp-badge {
  flex-shrink: 0; align-self: flex-start;
  background: var(--red); color: #fff; font-size: 12px; font-weight: 700;
  padding: 5px 12px; border-radius: 999px; box-shadow: var(--shadow-red);
}
.is-unlocked .bp-badge { background: var(--success); box-shadow: none; }

.ppl-bundle-promo .bp-progress { margin: 18px 0 0; }
.ppl-bundle-promo .bp-bar { height: 8px; border-radius: 999px; background: var(--bg-2); overflow: hidden; }
.ppl-bundle-promo .bp-bar > span {
  display: block; height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, #ee4640, #c92020);
  transition: width .5s ease;
}
.is-unlocked .bp-bar > span { background: var(--success); }
.ppl-bundle-promo .bp-progress-label { font-size: 12.5px; color: var(--ink-mute); margin-top: 8px; }
.is-unlocked .bp-progress-label { color: var(--success); font-weight: 600; }

.ppl-bundle-promo .bp-pricing { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 16px 0 4px; }
.ppl-bundle-promo .bp-old { text-decoration: line-through; color: var(--ink-faint); font-size: 15px; font-variant-numeric: tabular-nums; }
.ppl-bundle-promo .bp-new { font-family: var(--font-body); font-weight: 800; font-size: 26px; color: var(--ink); font-variant-numeric: tabular-nums; }
.ppl-bundle-promo .bp-save { font-size: 12.5px; font-weight: 700; color: var(--success); background: rgba(22,163,74,.1); padding: 3px 10px; border-radius: 999px; }

.ppl-bundle-promo .bp-cta {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 16px;
  padding: 13px 24px; font-size: 14.5px; font-weight: 600;
}
.ppl-bundle-promo .bp-note {
  display: flex; align-items: center; gap: 7px;
  margin-top: 14px; font-size: 12px; color: var(--ink-mute);
}
.ppl-bundle-promo .bp-note svg { color: var(--success); flex-shrink: 0; }

@media (max-width: 560px) {
  .ppl-bundle-promo .bp-head { flex-wrap: wrap; }
  .ppl-bundle-promo .bp-cta { width: 100%; justify-content: center; }
}

@media (max-width: 720px) {
  .ppl-bundle-grid { grid-template-columns: 1fr; }
}

/* =============================================
   THANK-YOU / ORDER RECEIVED
   ============================================= */
.ty-hero { text-align: center; max-width: 680px; margin: 16px auto 40px; }
.ty-hero .success-orb {
  width: 72px; height: 72px; margin: 0 auto 22px;
  border-radius: 50%; display: grid; place-items: center;
  background: rgba(22,163,74,.12); color: var(--success);
}
.ty-hero .eyebrow { color: var(--red); }
.ty-hero h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(34px,4.5vw,52px); letter-spacing: -.03em; margin: 8px 0 14px; color: var(--ink); }
.ty-hero h1 em { font-style: italic; color: var(--red); }
.ty-hero p { font-size: 16px; color: var(--ink-mute); line-height: 1.6; margin: 0 auto; max-width: 600px; }
.ty-hero .order-badge {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 20px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 16px; font-size: 13px; color: var(--ink-2); box-shadow: var(--shadow-sm);
}
.ty-hero .order-badge svg { color: var(--success); }
.ty-hero .order-badge .mono { font-family: var(--font-mono); font-weight: 600; color: var(--ink); }

.ty-layout { max-width: 820px; margin: 0 auto; display: grid; gap: 28px; }

/* Order details card + WooCommerce order tables */
.order-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow-sm); padding: 28px 30px;
}
.order-card .woocommerce-order-details__title,
.order-card .woocommerce-column__title,
.order-card h2, .order-card h3 {
  font-family: var(--font-body); font-weight: 700; font-size: 17px; color: var(--ink);
  margin: 0 0 16px; letter-spacing: 0;
}
.order-card .woocommerce-customer-details { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.order-card table.woocommerce-table,
.order-card table.order_details,
.order-card table.shop_table {
  width: 100%; border-collapse: collapse; margin: 0 0 8px;
}
.order-card table th, .order-card table td {
  text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ink-2);
}
.order-card table thead th { font-size: 11px; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-mute); }
.order-card table td.product-total,
.order-card table th.product-total,
.order-card table .woocommerce-table__product-total { text-align: right; font-variant-numeric: tabular-nums; }
.order-card table tfoot th { font-weight: 600; color: var(--ink-2); }
.order-card table tfoot tr:last-child th,
.order-card table tfoot tr:last-child td { font-size: 16px; color: var(--ink); }
.order-card .woocommerce-customer-details address {
  font-style: normal; line-height: 1.7; color: var(--ink-2); font-size: 14px;
  border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; background: var(--surface-2);
}
/* invoice plugin buttons inside the card */
.order-card .button, .order-card a.button {
  display: inline-block; margin: 8px 8px 0 0; padding: 10px 18px;
  background: var(--ink); color: #fff; border: 0; border-radius: 10px; font-size: 13px; font-weight: 600; text-decoration: none;
}
.order-card .button:hover { background: var(--ink-2); }

/* What's next steps */
.next-steps { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); padding: 28px 30px; }
.next-steps > h3 { font-family: var(--font-display); font-weight: 500; font-size: 24px; letter-spacing: -.02em; color: var(--ink); margin: 0 0 4px; }
.next-steps > p { color: var(--ink-mute); margin: 0 0 22px; font-size: 14.5px; }
.ns-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ns-item { position: relative; padding: 18px 18px 18px 56px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); }
.ns-item .ns-num {
  position: absolute; left: 16px; top: 18px;
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--red); color: #fff; font-size: 13px; font-weight: 700;
}
.ns-item h4 { margin: 0 0 6px; font-size: 14.5px; font-weight: 700; color: var(--ink); }
.ns-item p { margin: 0 0 10px; font-size: 13px; color: var(--ink-mute); line-height: 1.55; }
.ns-item a { font-size: 13px; font-weight: 600; color: var(--red); text-decoration: none; }
.ns-item a:hover { text-decoration: underline; }

/* Account CTA */
.cta-block {
  text-align: center; padding: 36px 30px;
  background: linear-gradient(135deg, var(--red-soft), #fef1e6);
  border: 1px solid rgba(229,57,53,.2); border-radius: var(--r-lg);
}
.cta-block h3 { font-family: var(--font-display); font-weight: 500; font-size: 26px; letter-spacing: -.02em; color: var(--ink); margin: 0 0 8px; }
.cta-block h3 em { font-style: italic; color: var(--red); }
.cta-block p { color: var(--ink-2); font-size: 14.5px; margin: 0 0 18px; }
.cta-block .btn { display: inline-flex; align-items: center; gap: 8px; }

@media (max-width: 640px) {
  .ns-grid { grid-template-columns: 1fr; }
  .order-card, .next-steps { padding: 22px 18px; }
}

/* =============================================
   CONTACT PAGE
   ============================================= */
.ppl-contact { padding: 12px 0 72px; }
.ppl-contact-head { max-width: 680px; margin: 8px 0 40px; }
.ppl-contact-head h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(36px,5vw,56px); letter-spacing: -.03em; margin: 8px 0 12px; color: var(--ink); }
.ppl-contact-head h1 em { font-style: italic; color: var(--red); }
.ppl-contact-head p { font-size: 16px; color: var(--ink-mute); line-height: 1.6; margin: 0; }

.ppl-contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: start; }
.ppl-contact-form-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); padding: 32px; }
.ppl-contact-form-wrap h2,
.ppl-offices h2 { font-family: var(--font-display); font-weight: 500; font-size: 24px; letter-spacing: -.02em; color: var(--ink); margin: 0 0 20px; }

/* Built-in form */
.ppl-contact-form .cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ppl-contact-form .cf-field { display: block; margin-bottom: 16px; }
.ppl-contact-form .cf-field > span { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.ppl-contact-form input,
.ppl-contact-form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line-strong);
  border-radius: 10px; font-size: 14px; font-family: var(--font-body); color: var(--ink); background: var(--surface);
}
.ppl-contact-form textarea { resize: vertical; }
.ppl-contact-form .cf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ppl-contact-form .cf-actions { display: flex; align-items: center; gap: 16px; margin-top: 4px; }
.ppl-contact-status { font-size: 13.5px; }
.ppl-contact-status.is-ok { color: var(--success); }
.ppl-contact-status.is-error { color: var(--red); }
.ppl-contact-status.is-sending { color: var(--ink-mute); }

/* Office cards */
.ppl-offices { display: grid; gap: 16px; }
.ppl-office { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); padding: 22px; }
.po-country { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-mute); }
.po-flag { font-size: 18px; }
.po-company { font-weight: 700; color: var(--ink); margin: 8px 0 6px; font-size: 14.5px; }
.po-address { font-style: normal; color: var(--ink-2); font-size: 13.5px; line-height: 1.6; display: grid; }
.po-contact { display: grid; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.po-contact a { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-2); text-decoration: none; }
.po-contact a:hover { color: var(--red); }
.po-contact svg { color: var(--red); flex-shrink: 0; }
.ppl-office-note { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--ink-mute); background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.ppl-office-note a { color: var(--red); text-decoration: none; }
.ppl-office-note svg { color: var(--ink-faint); }

/* Contact Form 7 — match theme */
.wpcf7 .wpcf7-form p { margin: 0 0 16px; }
.wpcf7 label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.wpcf7-form input.wpcf7-text,
.wpcf7-form input.wpcf7-email,
.wpcf7-form input.wpcf7-tel,
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form select,
.wpcf7-form textarea.wpcf7-textarea,
.wpcf7-form textarea {
  width: 100%; margin-top: 6px; padding: 12px 14px; border: 1px solid var(--line-strong);
  border-radius: 10px; font-size: 14px; font-family: var(--font-body); color: var(--ink); background: var(--surface);
}
.wpcf7-form textarea { resize: vertical; }
.wpcf7-form input.wpcf7-submit,
.wpcf7-form button.wpcf7-submit {
  background: var(--red); color: #fff; border: 0; border-radius: 10px;
  padding: 13px 26px; font-size: 14px; font-weight: 600; cursor: pointer; width: auto;
}
.wpcf7-form input.wpcf7-submit:hover { background: var(--red-dark); }
.wpcf7 .wpcf7-response-output { border-radius: 10px; font-size: 13.5px; margin: 14px 0 0; padding: 12px 16px; }
.wpcf7 form.invalid .wpcf7-response-output { border-color: var(--red); color: var(--red-dark); }
.wpcf7 form.sent .wpcf7-response-output { border-color: var(--success); color: var(--success); }
.wpcf7-not-valid-tip { color: var(--red); font-size: 12px; }
.wpcf7-spinner { margin: 0 0 0 10px; }

@media (max-width: 900px) {
  .ppl-contact-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 520px) {
  .ppl-contact-form .cf-row { grid-template-columns: 1fr; }
}

/* =============================================
   RESPONSIVE + REDUCED MOTION
   ============================================= */
@media (max-width: 640px) {
  .ppl-review-summary { grid-template-columns: 1fr; gap: 20px; text-align: center; }
  .rs-bar-row { grid-template-columns: 56px 1fr 40px; }
  .ppl-consent { flex-direction: column; align-items: stretch; }
}

/* =============================================
   HOMEPAGE — BIS showcase (was missing styles)
   ============================================= */
.bis-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.bis-showcase h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(30px, 3.4vw, 44px);
  letter-spacing: -.03em;
  line-height: 1.08;
  margin: 14px 0 16px;
  color: var(--ink);
  font-variation-settings: "opsz" 144, "wght" 500;
}
.bis-showcase h2 em { font-style: italic; color: var(--red); }
.bis-showcase .lede { font-size: 17px; color: var(--ink-mute); line-height: 1.6; margin: 0 0 24px; }

.bis-stats { display: flex; gap: 36px; margin: 0 0 24px; flex-wrap: wrap; }
.bis-stat .n {
  font-family: var(--font-display); font-weight: 600; font-size: 34px;
  color: var(--ink); line-height: 1; letter-spacing: -.02em;
}
.bis-stat .l { font-size: 12.5px; color: var(--ink-mute); margin-top: 4px; }

.addon-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.addon-chips .chip {
  font-size: 12.5px; padding: 5px 12px; border-radius: 999px;
  background: var(--bg-2); border: 1px solid var(--line); color: var(--ink-2);
}

/* Email-card mockup */
.bis-preview { position: relative; }
.email-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden;
}
.email-header {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--surface-2);
}
.email-header .dots { display: flex; gap: 6px; }
.email-header .dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); display: block; }
.email-header .title { font-family: var(--font-mono); font-size: 11px; color: var(--ink-mute); }
.email-body { padding: 20px; }
.email-from { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.email-avatar {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 15px;
  background: linear-gradient(135deg, #ee4640, #c92020);
}
.email-subject { font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.email-message { font-size: 14px; color: var(--ink-2); line-height: 1.6; margin-bottom: 18px; }
.email-product {
  display: flex; align-items: center; gap: 14px;
  padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); margin-bottom: 18px;
}
.email-product-img {
  width: 52px; height: 52px; border-radius: 10px; flex-shrink: 0;
  display: grid; place-items: center; color: #fff; font-weight: 700;
  background: linear-gradient(135deg, #1e2976, #0f1545);
}
.email-product-info .n { font-size: 14px; font-weight: 600; color: var(--ink); }
.email-product-info .v { font-size: 12.5px; color: var(--ink-mute); margin: 2px 0; }
.email-product-info .s { font-size: 12px; color: var(--success); font-weight: 600; }
.email-cta {
  display: inline-block; background: var(--red); color: #fff; font-weight: 600; font-size: 14px;
  padding: 11px 22px; border-radius: 10px;
}
.email-floating {
  position: absolute; right: -14px; bottom: -18px;
  display: flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; box-shadow: var(--shadow-xl); padding: 12px 16px;
}
.email-floating .success-icon {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; background: var(--success); color: #fff;
}
.email-floating .t { font-size: 13px; font-weight: 700; color: var(--ink); }
.email-floating .s { font-size: 11.5px; color: var(--ink-mute); }

/* =============================================
   HOMEPAGE — Testimonials (was missing styles)
   ============================================= */
.testimonials {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.testimonial {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow-sm); padding: 28px 24px;
  display: flex; flex-direction: column; gap: 16px;
}
.testimonial .stars { color: #f59e0b; letter-spacing: 2px; font-size: 15px; }
.testimonial q {
  font-size: 15px; line-height: 1.6; color: var(--ink-2); quotes: none; display: block;
}
.testimonial q::before, .testimonial q::after { content: none; }
.testimonial .who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testimonial .avatar {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 16px;
}
.testimonial .who .name { font-size: 14px; font-weight: 700; color: var(--ink); }
.testimonial .who .role { font-size: 12.5px; color: var(--ink-mute); }

@media (max-width: 980px) {
  .bis-showcase { grid-template-columns: 1fr; gap: 48px; }
  .testimonials { grid-template-columns: 1fr; }
  .email-floating { right: 12px; }
}

/* =============================================
   WOOCOMMERCE NOTICES (theme dequeues WC styles)
   ============================================= */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-noreviews,
ul.woocommerce-error {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 14px;
  margin: 0 0 24px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-2);
  box-shadow: var(--shadow-sm);
}
.woocommerce-message { border-left: 4px solid var(--success); background: rgba(22,163,74,.07); }
.woocommerce-info { border-left: 4px solid var(--info); background: rgba(37,99,235,.06); }
.woocommerce-error { border-left: 4px solid var(--red); background: var(--red-soft); color: var(--ink); }
.woocommerce-error li { list-style: none; }
.woocommerce-message .button,
.woocommerce-info .button {
  margin-left: auto;
  background: var(--ink);
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.woocommerce-message .button:hover,
.woocommerce-info .button:hover { background: var(--ink-2); }

/* "View cart" link that appears next to Buy now after AJAX add */
a.added_to_cart {
  display: inline-block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
  text-decoration: none;
}
a.added_to_cart:hover { text-decoration: underline; }

/* =============================================
   MY ACCOUNT — layout + nav + sections
   (templates shipped referencing these classes
    with no CSS; defined here)
   ============================================= */
/* Account renders inside page.php, whose .entry-content is capped at 780px.
   Release that cap so the account layout uses the full width, and hide the
   duplicate page <h1> (our acc-header already provides the heading). */
.woocommerce-account .entry-content,
.woocommerce-account .entry-content.prose {
  max-width: none !important;
  margin: 0 !important;
}
.woocommerce-account article.page { padding: 0 0 40px !important; }
.woocommerce-account .entry-header { display: none; }
.woocommerce-account .entry-content > .wrap { padding-left: 0; padding-right: 0; }

/* Cart & checkout (block-based) also render inside the 780px page column.
   Widen them to the site's standard content width. */
.woocommerce-cart .entry-content,
.woocommerce-cart .entry-content.prose,
.woocommerce-checkout .entry-content,
.woocommerce-checkout .entry-content.prose {
  max-width: var(--max) !important;
  margin: 0 auto !important;
}
.woocommerce-cart article.page,
.woocommerce-checkout article.page { padding: 24px 0 60px !important; }

.acc-header { margin: 8px 0 28px; }
.welcome-chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; color: var(--ink-mute);
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 999px; padding: 5px 14px; margin-bottom: 12px;
}
.welcome-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); }
.acc-header h1 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(32px, 4vw, 48px); letter-spacing: -.03em; line-height: 1.05; margin: 0; color: var(--ink);
  font-variation-settings: "opsz" 144, "wght" 500;
}
.acc-header h1 em { font-style: italic; color: var(--red); }

.acc-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: start;
  padding-bottom: 80px;
}

/* Navigation */
.acc-nav {
  position: sticky; top: 88px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow-sm); padding: 18px;
}
.acc-profile { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; margin-bottom: 12px; border-bottom: 1px solid var(--line); }
.acc-avatar {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 18px;
  background: linear-gradient(135deg, #ee4640, #c92020);
}
.acc-profile .nm { font-size: 14px; font-weight: 700; color: var(--ink); line-height: 1.2; }
.acc-profile .em { font-size: 12px; color: var(--ink-mute); word-break: break-all; }
.acc-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.acc-nav ul li a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 10px;
  color: var(--ink-2); text-decoration: none; font-size: 14px; font-weight: 500;
  transition: background .15s, color .15s;
}
.acc-nav ul li a svg { width: 17px; height: 17px; flex-shrink: 0; color: var(--ink-faint); }
.acc-nav ul li a:hover { background: var(--bg-2); color: var(--ink); }
.acc-nav ul li.is-active a,
.acc-nav ul li.woocommerce-MyAccount-navigation-link--active a {
  background: var(--red-soft); color: var(--red);
}
.acc-nav ul li.is-active a svg,
.acc-nav ul li.woocommerce-MyAccount-navigation-link--active a svg { color: var(--red); }

/* Content area */
.woocommerce-MyAccount-content { min-width: 0; }
.acc-section {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
  margin-bottom: 24px; overflow: hidden;
}
.acc-section-head { padding: 18px 24px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.acc-section-head h2 { margin: 0; font-size: 18px; font-weight: 700; color: var(--ink); font-family: var(--font-body); }
.acc-section > .download-list,
.acc-section > .license-list { padding: 20px 24px; }

/* Dashboard stats */
.acc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 24px; }
.stat-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); padding: 20px; }
.stat-card .hd { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; color: var(--ink-mute); text-transform: uppercase; letter-spacing: .04em; }
.stat-card .hd svg { color: var(--ink-faint); }
.stat-card .n { font-family: var(--font-display); font-weight: 600; font-size: 32px; color: var(--ink); line-height: 1.1; margin: 10px 0 2px; }
.stat-card .s { font-size: 12.5px; color: var(--ink-mute); }

/* Upgrade prompt */
.upgrade-prompt {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background: linear-gradient(135deg, var(--red-soft), #fef1e6);
  border: 1px solid rgba(229,57,53,.2); border-radius: var(--r-lg); padding: 24px;
}
.upgrade-prompt h3 { margin: 0 0 6px; font-family: var(--font-display); font-weight: 500; font-size: 24px; color: var(--ink); }
.upgrade-prompt h3 em { font-style: italic; color: var(--red); }
.upgrade-prompt p { margin: 0; font-size: 14px; color: var(--ink-2); max-width: 460px; }

/* Orders table */
.account-orders-table { width: 100%; border-collapse: collapse; }
.account-orders-table th, .account-orders-table td { padding: 14px 24px; text-align: left; font-size: 14px; border-bottom: 1px solid var(--line); }
.account-orders-table th { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-mute); font-weight: 600; }
.account-orders-table tbody tr:last-child td { border-bottom: 0; }
.account-orders-table .status {
  display: inline-block; font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 999px;
  text-transform: capitalize; background: var(--bg-2); color: var(--ink-2);
}
.account-orders-table .status.completed { background: rgba(22,163,74,.12); color: var(--success); }
.account-orders-table .status.processing { background: rgba(37,99,235,.1); color: var(--info); }
.account-orders-table .status.pending,
.account-orders-table .status.on-hold { background: rgba(245,158,11,.12); color: var(--warning); }
.account-orders-table .row-action.button {
  display: inline-block; margin: 2px 4px 2px 0; padding: 6px 12px;
  border: 1px solid var(--line-strong); border-radius: 8px; font-size: 12.5px; font-weight: 600;
  color: var(--ink-2); text-decoration: none;
}
.account-orders-table .row-action.button:hover { border-color: var(--red); color: var(--red); }

/* Downloads list */
.download-list { display: grid; gap: 12px; }
.dl-item { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.dl-ic { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--bg-2); color: var(--ink-mute); flex-shrink: 0; }
.dl-info { flex: 1; min-width: 0; }
.dl-info .t { font-size: 14px; font-weight: 600; color: var(--ink); }
.dl-info .s { font-size: 12.5px; color: var(--ink-mute); margin-top: 2px; }
.dl-btn {
  display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0;
  background: var(--red); color: #fff; border-radius: 10px; padding: 9px 16px;
  font-size: 13px; font-weight: 600; text-decoration: none;
}
.dl-btn:hover { background: var(--red-dark); }

/* Account forms (edit-account, addresses, login) */
.woocommerce-MyAccount-content form .woocommerce-form-row,
.woocommerce-MyAccount-content form p,
.woocommerce-EditAccountForm p { margin-bottom: 14px; }
.woocommerce-MyAccount-content label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.woocommerce-MyAccount-content input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.woocommerce-MyAccount-content select,
.woocommerce-MyAccount-content textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line-strong);
  border-radius: 10px; font-size: 14px; font-family: var(--font-body); color: var(--ink); background: var(--surface);
}
.woocommerce-MyAccount-content .button,
.woocommerce-MyAccount-content button[type="submit"] {
  display: inline-block; background: var(--red); color: #fff; border: 0;
  border-radius: 10px; padding: 12px 22px; font-size: 14px; font-weight: 600; cursor: pointer; text-decoration: none;
}
.woocommerce-MyAccount-content .button:hover,
.woocommerce-MyAccount-content button[type="submit"]:hover { background: var(--red-dark); }

@media (max-width: 960px) {
  .acc-layout { grid-template-columns: 1fr; gap: 24px; }
  .acc-nav { position: static; }
  .acc-stats { grid-template-columns: 1fr; }
  .account-orders-table thead { display: none; }
  .account-orders-table tr { display: block; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; padding: 6px 0; }
  .account-orders-table td { display: flex; justify-content: space-between; gap: 16px; border: 0; padding: 8px 18px; }
  .account-orders-table td::before { content: attr(data-title); font-weight: 600; color: var(--ink-mute); font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}
