/* =========================================================
   WooCommerce overrides — FridayParts Pro
   Palette: deep space gray chrome, signal-white surfaces,
   industrial orange reserved for the primary action.
========================================================= */

/* Wrapper */
.fp-shop{padding:var(--fp-sp-8) var(--fp-sp-5) var(--fp-sp-12);}
.fp-woo--archive .fp-shop{padding-top:var(--fp-sp-6);}

/* ---- Archive layout: filter rail + results ------------------------------ */
.fp-shop__layout{display:grid;grid-template-columns:250px minmax(0,1fr);gap:clamp(20px,2.4vw,44px);align-items:start;}
.fp-shop__inner{min-width:0;}

.fp-filters{position:sticky;top:96px;display:flex;flex-direction:column;gap:var(--fp-sp-5);}
.fp-filters__clear{
  display:inline-block;font-size:var(--fp-fs-sm);font-weight:600;color:var(--fp-accent-cta);
  text-decoration:underline;text-underline-offset:2px;
}
.fp-filters__group{border-bottom:1px solid var(--fp-line);padding-bottom:var(--fp-sp-4);}
.fp-filters__group:last-of-type{border-bottom:0;}
.fp-filters__group h3{
  font-size:var(--fp-fs-md);margin:0 0 var(--fp-sp-3);
  letter-spacing:var(--fp-tracking-wide);text-transform:uppercase;
}
.fp-filters__list li a{
  display:flex;align-items:center;gap:var(--fp-sp-2);padding:5px 0;
  font-size:var(--fp-fs-sm);color:var(--fp-ink-600);line-height:1.4;
}
.fp-filters__list li a:hover{color:var(--fp-accent-cta);}
.fp-filters__list li a.is-checked{color:var(--fp-heading);font-weight:600;}
/* Real checkbox affordance without a real input — the row is a link so the
   filter survives with JS off and the URL stays shareable. */
.fp-filters__box{
  width:16px;height:16px;flex:0 0 16px;border:1px solid var(--fp-line-strong);
  border-radius:2px;background:var(--fp-white);display:flex;align-items:center;justify-content:center;
}
.fp-filters__list a.is-checked .fp-filters__box{background:var(--fp-accent-cta);border-color:var(--fp-accent-cta);}
.fp-filters__box .fp-i{--fp-icon:11px;--fp-icon-stroke:3;color:#fff;}
.fp-filters__label{flex:1 1 auto;min-width:0;}
.fp-filters__count{color:var(--fp-muted);font-size:var(--fp-fs-xs);font-variant-numeric:tabular-nums;}
.fp-filters__more{
  background:none;border:0;padding:6px 0 0;font-size:var(--fp-fs-sm);font-weight:600;
  color:var(--fp-accent-cta);text-decoration:underline;text-underline-offset:2px;
}
.fp-filters__help{background:var(--fp-panel);border-radius:var(--fp-radius-md);padding:var(--fp-sp-4);}
.fp-filters__help h4{font-size:var(--fp-fs-md);margin-bottom:var(--fp-sp-2);}
.fp-filters__help p{font-size:var(--fp-fs-sm);color:var(--fp-ink-500);margin-bottom:var(--fp-sp-3);line-height:1.55;}

@media(max-width:992px){
  .fp-shop__layout{grid-template-columns:minmax(0,1fr);}
  .fp-filters{
    position:static;flex-direction:row;flex-wrap:wrap;gap:var(--fp-sp-4);
    background:var(--fp-panel);border-radius:var(--fp-radius-md);padding:var(--fp-sp-4);
  }
  .fp-filters__group{flex:1 1 220px;border-bottom:0;padding-bottom:0;}
  .fp-filters__help{flex:1 1 100%;background:var(--fp-white);}
  /* Long attribute lists would turn the collapsed rail into a wall of rows. */
  .fp-filters__list{max-height:190px;overflow-y:auto;}
}

/* Result count + ordering bar */
.woocommerce-notices-wrapper:empty{display:none;}
.fp-shop .woocommerce-result-count{color:var(--fp-muted);font-size:var(--fp-fs-sm);margin:0 0 var(--fp-sp-5);float:left;}
.fp-shop .woocommerce-ordering{float:right;margin-bottom:var(--fp-sp-5);}
.fp-shop .woocommerce-ordering select{
  border:1px solid var(--fp-ink-100);border-radius:var(--fp-radius);padding:9px 14px;
  font-size:var(--fp-fs-sm);font-family:var(--fp-font-body);background:var(--fp-white);color:var(--fp-text);
}
.fp-shop .woocommerce-ordering select:focus{outline:0;border-color:var(--fp-accent);}
.fp-shop::after,.fp-shop .fp-shop__inner::after{content:"";display:table;clear:both;}

/* Product grid — four across, because the archive now spends 250px of the
   container on the filter rail. */
ul.products{
  display:grid !important;grid-template-columns:repeat(4,1fr);gap:var(--fp-sp-4);
  margin:0 !important;padding:0 !important;list-style:none;clear:both;
}
ul.products::before,ul.products::after{display:none !important;}
ul.products li.product{width:auto !important;margin:0 !important;float:none !important;padding:0 !important;}
.fp-prod-cell{display:flex;}
.fp-prod-cell .fp-prod-card{width:100%;}

@media(max-width:1200px){ul.products{grid-template-columns:repeat(3,1fr);}}
@media(max-width:768px){ul.products{grid-template-columns:repeat(2,1fr);}}
@media(max-width:420px){ul.products{grid-template-columns:1fr;}}

/* Subcategory tiles on category/shop archives */
ul.products li.product-category{list-style:none;text-align:center;}
ul.products li.product-category a{
  display:flex;flex-direction:column;align-items:center;background:var(--fp-white);
  border:1px solid var(--fp-ink-100);border-radius:var(--fp-radius-md);padding:var(--fp-sp-4);
  transition:border-color .18s var(--fp-ease),box-shadow .18s var(--fp-ease),transform .18s var(--fp-ease);height:100%;
}
ul.products li.product-category a:hover{border-color:var(--fp-accent);box-shadow:var(--fp-shadow);transform:translateY(-3px);}
ul.products li.product-category img{width:100%;aspect-ratio:1/1;object-fit:contain;margin:0 0 var(--fp-sp-3);mix-blend-mode:multiply;}
ul.products li.product-category h2.woocommerce-loop-category__title{
  font-family:var(--fp-font-head);font-size:var(--fp-fs-md);color:var(--fp-heading);margin:0;letter-spacing:.02em;
}
ul.products li.product-category h2.woocommerce-loop-category__title .count{
  display:block;font-size:var(--fp-fs-xs);color:var(--fp-muted);font-weight:400;
  background:transparent;padding:2px 0 0;font-family:var(--fp-font-body);
}
.fp-subcats-head{font-size:var(--fp-fs-lg);margin:0 0 var(--fp-sp-4);color:var(--fp-heading);}

/* =========================================================
   Single product — composed PDP (see woocommerce/content-single-product.php)
   Two-column hero (media | summary), a sticky anchor rail, then a
   content/sidebar split for the detail sections.
========================================================= */
.fp-pdp{display:block;}
.fp-pdp__top{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:clamp(24px,3vw,56px);align-items:start;
}

/* --- Media ------------------------------------------------------------- */
.fp-pdp__media{position:relative;}
/* Top-LEFT on purpose: Woo parks its own zoom/lightbox trigger in the gallery's
   top-right corner, and the two controls overlapped there. */
.fp-pdp__share{
  position:absolute;top:14px;left:14px;z-index:5;
  display:inline-flex;align-items:center;gap:6px;
  background:var(--fp-white);border:1px solid var(--fp-line);border-radius:var(--fp-radius-pill);
  padding:7px 14px;font-size:var(--fp-fs-xs);font-weight:600;color:var(--fp-ink-600);
  box-shadow:var(--fp-shadow-sm);transition:color .15s var(--fp-ease),border-color .15s var(--fp-ease);
}
.fp-pdp__share:hover{color:var(--fp-accent-cta);border-color:var(--fp-accent);}
.fp-pdp__share .fp-i{--fp-icon:15px;}

/* --- Summary column ----------------------------------------------------- */
.fp-pdp__summary{padding:0;}
.fp-pdp .product_title{font-size:var(--fp-fs-2xl);line-height:1.22;margin:0 0 var(--fp-sp-3);}
.fp-pdp__ratingrow{display:flex;align-items:center;gap:var(--fp-sp-3);font-size:var(--fp-fs-sm);margin-bottom:var(--fp-sp-3);}
.fp-pdp__ratingrow .fp-stars{color:var(--fp-star-on-light);font-size:var(--fp-fs-md);letter-spacing:1px;}
.fp-pdp__ratingnum{font-weight:700;color:var(--fp-heading);}
.fp-pdp__ratingrow a{color:var(--fp-accent-cta);text-decoration:underline;text-underline-offset:2px;}

.fp-pdp__flag{
  display:inline-block;background:var(--fp-ink-900);color:#fff;
  font-family:var(--fp-font-head);font-size:var(--fp-fs-xs);font-weight:700;
  letter-spacing:var(--fp-tracking-caps);text-transform:uppercase;
  padding:4px 10px;border-radius:var(--fp-radius-xs);margin-bottom:var(--fp-sp-3);
}
.fp-pdp__flag--sale{background:var(--fp-danger);}

/* Price row: the discount chip, the live price and the struck-through
   original all sit on one baseline — the number is what the buyer scans for. */
.fp-pdp__pricebox{
  display:flex;align-items:baseline;flex-wrap:wrap;gap:var(--fp-sp-3);
  padding-bottom:var(--fp-sp-4);border-bottom:1px solid var(--fp-line);
}
.fp-pdp__save{
  font-family:var(--fp-font-head);font-size:var(--fp-fs-xl);font-weight:700;
  color:var(--fp-accent-600);
}
/* Woo ships `body.woocommerce div.product p.price` — matching its specificity
   is what keeps the PDP price from snapping back to the 32px default. */
body.woocommerce div.product .fp-pdp__pricebox .price{margin:0;font-size:clamp(28px,2.4vw,38px);}
.fp-pdp__pricebox .fp-noprice{color:var(--fp-ink-500);font-size:var(--fp-fs-xl);}

/* Perk / logistics strip between price and CTA.
   These rows are data placeholders until the pricing + logistics API lands, so
   each one is independently toggleable and must survive being the only one
   rendered — no sibling-dependent spacing. */
.fp-pdp__member{
  display:flex;align-items:center;gap:8px;margin-top:var(--fp-sp-3);
  font-size:var(--fp-fs-sm);color:var(--fp-ink-700);
}
.fp-pdp__member .fp-i{color:var(--fp-accent-cta);}
.fp-pdp__member b{font-family:var(--fp-font-head);font-size:var(--fp-fs-lg);color:var(--fp-heading);}
.fp-pdp__member b .woocommerce-Price-amount{font-weight:700;}

.fp-pdp__perk{
  display:flex;gap:9px;align-items:flex-start;margin-top:var(--fp-sp-3);
  background:var(--fp-accent-50);border:1px solid var(--fp-accent-50);
  border-radius:var(--fp-radius);padding:9px 12px;
}
.fp-pdp__perk .fp-i{color:var(--fp-accent-cta);flex:0 0 auto;margin-top:2px;}
.fp-pdp__perk p{margin:0;font-size:var(--fp-fs-sm);color:var(--fp-ink-700);line-height:1.55;}
.fp-pdp__perk b{color:var(--fp-accent-cta);}
.fp-pdp__perk a{color:var(--fp-accent-cta);text-decoration:underline;text-underline-offset:2px;}

.fp-pdp__paypal{
  display:flex;gap:9px;align-items:center;margin-top:var(--fp-sp-3);
  border:1px solid var(--fp-line);border-radius:var(--fp-radius);padding:9px 12px;
}
.fp-pdp__paypal .fp-i{--fp-icon:22px;color:#003087;flex:0 0 auto;}
.fp-pdp__paypal p{margin:0;font-size:var(--fp-fs-sm);color:var(--fp-ink-600);}
.fp-pdp__paypal .woocommerce-Price-amount{font-weight:700;color:var(--fp-heading);}

.fp-pdp__ship{margin-top:var(--fp-sp-4);display:flex;flex-direction:column;gap:7px;}
.fp-pdp__ship p{margin:0;font-size:var(--fp-fs-sm);color:var(--fp-ink-600);display:flex;align-items:center;gap:8px;flex-wrap:wrap;}
.fp-pdp__ship .fp-i{color:var(--fp-ink-400);flex:0 0 auto;}
.fp-pdp__ship b{color:var(--fp-heading);}
.fp-pdp__ship-cost b .woocommerce-Price-amount{font-size:var(--fp-fs-md);}
.fp-pdp__ship a{color:var(--fp-accent-cta);text-decoration:underline;text-underline-offset:2px;}

.fp-pdp__tradebar{
  background:var(--fp-accent-50);border-left:3px solid var(--fp-accent);
  padding:10px 14px;margin:var(--fp-sp-4) 0;font-size:var(--fp-fs-sm);color:var(--fp-ink-600);
}
.fp-pdp__excerpt{color:var(--fp-ink-500);font-size:var(--fp-fs-base);line-height:1.7;}
.fp-pdp__excerpt p:last-child{margin-bottom:0;}

.fp-pdp__facts{margin:var(--fp-sp-4) 0;display:flex;flex-direction:column;gap:9px;}
.fp-pdp__facts li{display:flex;align-items:center;gap:var(--fp-sp-2);font-size:var(--fp-fs-sm);color:var(--fp-ink-600);}
.fp-pdp__facts .fp-i{color:var(--fp-ink-400);}
.fp-pdp__facts b{color:var(--fp-heading);font-variant-numeric:tabular-nums;}
.fp-pdp__instock{color:var(--fp-success);font-weight:700;}
.fp-pdp__outstock{color:var(--fp-accent-700);font-weight:700;}

.fp-pdp__buy{display:flex;gap:var(--fp-sp-3);align-items:stretch;margin-top:var(--fp-sp-5);flex-wrap:wrap;}
.fp-pdp__buy .fp-pdp__cta{flex:1 1 240px;}
.fp-qty{display:inline-flex;align-items:stretch;border:1px solid var(--fp-line-strong);border-radius:var(--fp-radius);overflow:hidden;background:var(--fp-white);}
.fp-qty button{
  width:44px;border:0;background:var(--fp-panel);color:var(--fp-ink-700);
  font-size:20px;line-height:1;transition:background-color .15s var(--fp-ease),color .15s var(--fp-ease);
}
.fp-qty button:hover{background:var(--fp-accent-cta);color:#fff;}
.fp-qty input{
  width:60px;border:0;outline:0;text-align:center;font-family:var(--fp-font-head);
  font-size:var(--fp-fs-lg);font-weight:700;color:var(--fp-heading);background:transparent;
  -moz-appearance:textfield;
}
.fp-qty input::-webkit-outer-spin-button,.fp-qty input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0;}
.fp-pdp__buy-alt{display:flex;gap:var(--fp-sp-3);margin-top:var(--fp-sp-3);flex-wrap:wrap;}
.fp-pdp__buy-alt .fp-btn{flex:1 1 180px;}
.fp-pdp__note{font-size:var(--fp-fs-sm);color:var(--fp-muted);margin:var(--fp-sp-3) 0 0;}

/* Buy Now / Add to Cart stack. Both submit the same form, so they are laid out
   as a column — a side-by-side pair reads as "pick one", which is wrong when
   the second button is the safer, more common action. */
.fp-pdp__cartform{margin:0;}
.fp-pdp__cartform .fp-pdp__buy{margin-bottom:var(--fp-sp-3);}
.fp-pdp__cartform .fp-btn-block + .fp-btn-block{margin-top:var(--fp-sp-3);}
body.woocommerce div.product form.cart.fp-pdp__cartform{margin-bottom:0;}
body.woocommerce div.product form.cart.fp-pdp__cartform .quantity{float:none;margin:0;}

/* Wish list toggle — a text affordance, not a third button competing with the
   two real CTAs above it. */
.fp-wishbtn{
  display:inline-flex;align-items:center;gap:8px;background:none;border:0;padding:4px 0;
  font-size:var(--fp-fs-sm);font-weight:600;color:var(--fp-ink-600);cursor:pointer;
  transition:color .15s var(--fp-ease);
}
.fp-wishbtn:hover{color:var(--fp-accent-cta);}
.fp-wishbtn__plus{font-size:var(--fp-fs-lg);line-height:1;color:var(--fp-ink-400);}
.fp-wishbtn__label{text-decoration:underline;text-underline-offset:3px;}
.fp-wishbtn[aria-pressed="true"]{color:var(--fp-accent-cta);}
.fp-wishbtn[aria-pressed="true"] .fp-wishbtn__plus{color:var(--fp-accent-cta);transform:rotate(45deg);}
.fp-pdp__buy-alt .fp-wishbtn{flex:0 0 auto;}

/* Product Q&A */
.fp-qa{display:flex;flex-direction:column;gap:var(--fp-sp-5);}
.fp-qa__item{border-bottom:1px solid var(--fp-line);padding-bottom:var(--fp-sp-5);}
.fp-qa__item:last-child{border-bottom:0;padding-bottom:0;}
.fp-qa__q,.fp-qa__a{display:flex;gap:12px;align-items:flex-start;margin:0;}
.fp-qa__q{font-weight:700;color:var(--fp-heading);font-size:var(--fp-fs-md);}
.fp-qa__a{margin-top:10px;color:var(--fp-ink-600);line-height:1.7;}
.fp-qa__a p:last-child{margin-bottom:0;}
.fp-qa__q > span,.fp-qa__a > span{
  flex:0 0 26px;width:26px;height:26px;border-radius:50%;display:grid;place-items:center;
  font-family:var(--fp-font-head);font-size:13px;font-weight:700;
}
.fp-qa__q > span{background:var(--fp-accent-cta);color:#fff;}
.fp-qa__a > span{background:var(--fp-panel);color:var(--fp-ink-600);}
.fp-qa__meta{margin:8px 0 0 38px;font-size:var(--fp-fs-sm);color:var(--fp-muted);}
.fp-qa__cta{margin-top:var(--fp-sp-5);}

/* Review form — Woo leaves the comment form's inputs at browser default, which
   next to the styled inquiry form in the sidebar reads as a broken widget. */
#review_form .comment-form input[type="text"],
#review_form .comment-form input[type="email"],
#review_form .comment-form textarea{
  width:100%;max-width:520px;border:1px solid var(--fp-line-strong);border-radius:var(--fp-radius);
  padding:11px 13px;background:var(--fp-white);color:var(--fp-text);font:inherit;
}
#review_form .comment-form textarea{max-width:100%;}
#review_form .comment-form label{display:block;margin-bottom:6px;color:var(--fp-heading);font-weight:600;}
#review_form .comment-form-cookies-consent{display:flex;align-items:center;gap:8px;}
#review_form .comment-form-cookies-consent label{margin:0;font-weight:400;color:var(--fp-ink-600);}
#review_form .comment-form p{margin-bottom:var(--fp-sp-4);}
#review_form .stars a{color:var(--fp-star-on-light);}

/* Card add-to-cart sits above the quote button in the loop */
.fp-loop-cart{margin-top:auto;}
.fp-loop-cart + .fp-loop-cta{margin-top:8px;}
.fp-loop-cart .added_to_cart{display:none;}

.fp-pdp__trust{
  margin-top:var(--fp-sp-6);background:var(--fp-panel);border-radius:var(--fp-radius-md);
  padding:var(--fp-sp-5);display:flex;flex-direction:column;gap:var(--fp-sp-4);
}
.fp-pdp__trust li{display:flex;gap:var(--fp-sp-3);align-items:flex-start;}
.fp-pdp__trust .fp-i{--fp-icon:22px;color:var(--fp-accent-cta);margin-top:2px;flex:0 0 auto;}
.fp-pdp__trust b{display:block;font-family:var(--fp-font-head);font-size:var(--fp-fs-md);color:var(--fp-heading);letter-spacing:.02em;}
.fp-pdp__trust span{display:block;font-size:var(--fp-fs-sm);color:var(--fp-ink-500);line-height:1.55;}

/* --- Anchor rail -------------------------------------------------------- */
.fp-pdp__anchors{
  position:sticky;top:0;z-index:40;margin-top:var(--fp-sp-12);
  display:flex;gap:var(--fp-sp-2);overflow-x:auto;
  background:var(--fp-white);border-bottom:1px solid var(--fp-line);
}
/* Five tabs no longer fit a phone, so the strip scrolls. `flex:0 0 auto` keeps
   the labels at full width instead of letting flex squeeze them into columns. */
.fp-pdp__anchors{scrollbar-width:none;-ms-overflow-style:none;}
.fp-pdp__anchors::-webkit-scrollbar{display:none;}
.fp-pdp__anchors a{flex:0 0 auto;}
.fp-pdp__anchors a{
  padding:14px 18px;white-space:nowrap;font-family:var(--fp-font-head);font-weight:600;
  font-size:var(--fp-fs-md);letter-spacing:var(--fp-tracking-wide);text-transform:uppercase;
  color:var(--fp-ink-500);border-bottom:3px solid transparent;margin-bottom:-1px;
}
.fp-pdp__anchors a:hover{color:var(--fp-heading);}
.fp-pdp__anchors a.is-active{color:var(--fp-accent-cta);border-bottom-color:var(--fp-accent);}

/* --- Detail body -------------------------------------------------------- */
.fp-pdp__body{
  display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);
  gap:clamp(24px,3vw,48px);align-items:start;margin-top:var(--fp-sp-8);
}
.fp-pdp__section{scroll-margin-top:120px;padding-bottom:var(--fp-sp-8);}
.fp-pdp__section + .fp-pdp__section{border-top:1px solid var(--fp-line);padding-top:var(--fp-sp-8);}
.fp-pdp__section > h2{font-size:var(--fp-fs-2xl);margin-bottom:var(--fp-sp-4);}
.fp-pdp__prose{color:var(--fp-ink-600);line-height:1.75;}
.fp-pdp__lede{font-size:var(--fp-fs-lg);color:var(--fp-ink-700);}
.fp-pdp__fitnote{font-size:var(--fp-fs-sm);color:var(--fp-muted);margin-top:var(--fp-sp-3);}

.fp-spec{width:100%;border-collapse:collapse;border:1px solid var(--fp-line);}
.fp-spec th,.fp-spec td{padding:11px 16px;text-align:left;font-size:var(--fp-fs-sm);border-bottom:1px solid var(--fp-line);vertical-align:top;}
.fp-spec tr:last-child th,.fp-spec tr:last-child td{border-bottom:0;}
.fp-spec th{
  width:38%;background:var(--fp-panel);font-family:var(--fp-font-head);font-weight:600;
  color:var(--fp-heading);letter-spacing:.02em;
}
.fp-spec td{color:var(--fp-ink-600);}

/* --- Sidebar ------------------------------------------------------------ */
.fp-pdp__aside{display:flex;flex-direction:column;gap:var(--fp-sp-5);position:sticky;top:96px;}
.fp-pdp__help{
  background:var(--fp-white);border:1px solid var(--fp-line);border-top:3px solid var(--fp-accent);
  border-radius:var(--fp-radius-md);padding:var(--fp-sp-5);scroll-margin-top:120px;
}
.fp-pdp__help h3{font-size:var(--fp-fs-xl);margin-bottom:var(--fp-sp-2);}
.fp-pdp__help > p{font-size:var(--fp-fs-sm);color:var(--fp-ink-500);margin-bottom:var(--fp-sp-4);}
/* The plugin renders its own card; inside the sidebar that would double the
   frame, so flatten it and drop to a single column. */
.fp-pdp__help .zc-inquiry-block{background:transparent;border:0;padding:0;}
.fp-pdp__help .zc-inquiry-form__grid{grid-template-columns:1fr;}
.fp-pdp__help .zc-btn{width:100%;}

.fp-pdp__policy{background:var(--fp-panel);border-radius:var(--fp-radius-md);padding:var(--fp-sp-5);}
.fp-pdp__policy h4{font-size:var(--fp-fs-md);margin-bottom:var(--fp-sp-2);letter-spacing:var(--fp-tracking-wide);}
.fp-pdp__policy p{font-size:var(--fp-fs-sm);color:var(--fp-ink-500);margin:0;line-height:1.6;}

/* --- Sticky action bar --------------------------------------------------- */
.fp-pdp-sticky{
  position:fixed;left:0;right:0;bottom:0;z-index:100;
  background:var(--fp-white);border-top:1px solid var(--fp-line);box-shadow:0 -6px 24px rgba(31,36,41,.10);
  transform:translateY(105%);transition:transform .25s var(--fp-ease);
}
.fp-pdp-sticky.is-visible{transform:translateY(0);}
.fp-pdp-sticky__inner{
  max-width:var(--fp-container);margin:0 auto;padding:10px var(--fp-gutter);
  display:flex;align-items:center;gap:var(--fp-sp-4);
}
.fp-pdp-sticky__prod{display:flex;align-items:center;gap:var(--fp-sp-3);min-width:0;flex:1 1 auto;}
.fp-pdp-sticky__prod img{width:48px;height:48px;object-fit:contain;flex:0 0 48px;mix-blend-mode:multiply;}
.fp-pdp-sticky__prod span{
  font-size:var(--fp-fs-sm);color:var(--fp-heading);font-weight:600;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
.fp-pdp-sticky__price{
  font-family:var(--fp-font-head);font-size:var(--fp-fs-xl);font-weight:700;
  color:var(--fp-accent-700);white-space:nowrap;
}
.fp-pdp-sticky__price del{display:none;}

@media(max-width:1024px){
  .fp-pdp__body{grid-template-columns:minmax(0,1fr);}
  .fp-pdp__aside{position:static;}
}
@media(max-width:900px){
  .fp-pdp__top{grid-template-columns:minmax(0,1fr);}
}
@media(max-width:600px){
  .fp-pdp-sticky__prod span,.fp-pdp-sticky__prod img{display:none;}
  .fp-pdp-sticky__inner .fp-btn{flex:1;}
}

/* =========================================================
   Single product — Woo defaults
========================================================= */
.fp-woo--single{max-width:var(--fp-container);margin:0 auto;padding:var(--fp-sp-8) var(--fp-gutter) var(--fp-sp-12);}
/* `div.product` used to BE the two-column grid. The composed PDP owns its own
   layout now (`.fp-pdp__top` / `.fp-pdp__body`), so the root must go back to a
   plain block or the sticky bar and anchor rail become grid items. */
.single-product div.product{display:block;}
.single-product div.product .woocommerce-product-gallery{margin:0;}
/* Woo ships the gallery at inline `opacity:0` and lets its JS fade it in. If that
   script never runs (throttled tab, static export without the gallery bundle) the
   main product image silently stays invisible — pin it visible instead. */
.single-product div.product .woocommerce-product-gallery{opacity:1!important;}
.single-product div.product .woocommerce-product-gallery__wrapper{
  border:1px solid var(--fp-ink-100);border-radius:var(--fp-radius-md);overflow:hidden;background:var(--fp-white);
}
.single-product div.product .entry-summary{margin:0;}
.single-product .product_title{font-size:var(--fp-fs-3xl);line-height:1.2;margin-bottom:var(--fp-sp-3);color:var(--fp-heading);}
.single-product .woocommerce-product-details__short-description{color:var(--fp-ink-500);font-size:var(--fp-fs-base);margin:var(--fp-sp-4) 0;line-height:1.7;}
/* Woo core ships `.woocommerce div.product p.price` (0,2,2) — these
   overrides are deliberately one step more specific so they win
   regardless of stylesheet order. */
body.woocommerce div.product p.price,
body.woocommerce div.product span.price{
  color:var(--fp-heading);font-family:var(--fp-font-head);font-weight:700;font-size:32px;
  margin:var(--fp-sp-2) 0 var(--fp-sp-4);font-variant-numeric:tabular-nums;letter-spacing:.01em;
}
body.woocommerce div.product p.price del,
body.woocommerce div.product span.price del{color:var(--fp-ink-400);font-weight:400;font-size:var(--fp-fs-lg);opacity:1;}
body.woocommerce div.product p.price ins,
body.woocommerce div.product span.price ins{text-decoration:none;color:var(--fp-accent-700);background:transparent;font-weight:700;}

/* Woo sizes the gallery/summary with `width:48%`, which resolves against the
   grid AREA once div.product is a grid — halving both columns. Reset to full. */
body.woocommerce div.product div.images,
body.woocommerce div.product .woocommerce-product-gallery{
  width:100%;float:none;margin:0;
}
body.woocommerce div.product div.summary,
body.woocommerce div.product .entry-summary{
  width:100%;float:none;margin:0;
}
body.woocommerce div.product .woocommerce-product-gallery__image a{display:block;}
/* Keep the gallery from towering over the summary column */
body.woocommerce div.product .woocommerce-product-gallery__image img{
  max-height:520px;width:auto;margin:0 auto;object-fit:contain;
}
.single-product .product_meta{
  font-size:var(--fp-fs-sm);color:var(--fp-muted);margin-top:var(--fp-sp-5);
  border-top:1px solid var(--fp-ink-100);padding-top:var(--fp-sp-4);
}
.single-product .product_meta > span{display:block;margin-bottom:6px;}
.single-product .stock{font-weight:600;}
.single-product .stock.in-stock{color:var(--fp-success);}
.single-product .stock.out-of-stock{color:var(--fp-danger);}

/* Single CTA */
.fp-single-cta{display:flex;gap:var(--fp-sp-3);flex-wrap:wrap;margin:var(--fp-sp-2) 0 var(--fp-sp-1);}
.fp-single-cta__note{font-size:var(--fp-fs-sm);color:var(--fp-muted);margin-top:var(--fp-sp-2);}

/* Tabs — flat underline style; Woo draws boxed tabs with pseudo-element
   corners at (0,3,2), so strip those explicitly. */
.woocommerce-tabs{grid-column:1 / -1;margin-top:var(--fp-sp-10);}
body.woocommerce div.product .woocommerce-tabs ul.tabs{
  border-bottom:1px solid var(--fp-ink-100);padding:0;margin:0 0 var(--fp-sp-5);
  display:flex;gap:2px;list-style:none;
}
body.woocommerce div.product .woocommerce-tabs ul.tabs::before{display:none;}
body.woocommerce div.product .woocommerce-tabs ul.tabs li{
  margin:0;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none;
}
body.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
body.woocommerce div.product .woocommerce-tabs ul.tabs li::after{display:none;}
body.woocommerce div.product .woocommerce-tabs ul.tabs li a{
  display:block;padding:12px 20px;font-family:var(--fp-font-head);font-weight:600;
  font-size:var(--fp-fs-md);letter-spacing:.02em;color:var(--fp-muted);text-shadow:none;
  border-bottom:2px solid transparent;margin-bottom:-1px;
  transition:color .15s var(--fp-ease),border-color .15s var(--fp-ease);
}
body.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover{color:var(--fp-heading);}
body.woocommerce div.product .woocommerce-tabs ul.tabs li.active{background:transparent;}
body.woocommerce div.product .woocommerce-tabs ul.tabs li.active a{
  color:var(--fp-accent-700);border-bottom-color:var(--fp-accent);background:transparent;font-weight:700;
}
.woocommerce-tabs .panel{padding:var(--fp-sp-2) 2px var(--fp-sp-5);}
.woocommerce-Tabs-panel h2{font-size:var(--fp-fs-xl);}

/* Related products */
.related.products,.up-sells.products{grid-column:1 / -1;margin-top:var(--fp-sp-12);}
.related.products > h2,.up-sells > h2{font-size:var(--fp-fs-2xl);margin-bottom:var(--fp-sp-5);text-align:left;}


/* =========================================================
   Inquiry form (ZC plugin) — themed to match
========================================================= */
/* Plain wrapper — the plugin already renders its own white card, so a
   background here would produce a double frame. */
.fp-single-inquiry{grid-column:1 / -1;margin-top:var(--fp-sp-10);}
.fp-single-inquiry .zc-inquiry-block{
  background:var(--fp-white);border:1px solid var(--fp-ink-100);
  border-radius:var(--fp-radius-md);padding:var(--fp-sp-8);
}
.zc-inquiry-block__intro h2{font-size:var(--fp-fs-2xl);color:var(--fp-heading);margin-bottom:var(--fp-sp-2);}
.zc-inquiry-block__intro p{color:var(--fp-muted);font-size:var(--fp-fs-sm);margin-bottom:var(--fp-sp-5);}
.zc-inquiry-form__grid{display:grid;grid-template-columns:1fr 1fr;gap:var(--fp-sp-4);}
.zc-inquiry-field{display:flex;flex-direction:column;}
.zc-inquiry-field:has(textarea){grid-column:1 / -1;}
.zc-inquiry-field label{font-size:var(--fp-fs-sm);font-weight:600;color:var(--fp-heading);margin-bottom:6px;}
.zc-required{color:var(--fp-danger);}
.zc-inquiry-field input,.zc-inquiry-field textarea{
  border:1px solid var(--fp-ink-100);border-radius:var(--fp-radius);padding:11px 14px;
  font-size:var(--fp-fs-sm);font-family:var(--fp-font-body);outline:0;background:var(--fp-white);width:100%;
}
.zc-inquiry-field input:focus,.zc-inquiry-field textarea:focus{
  border-color:var(--fp-accent);box-shadow:0 0 0 3px rgba(242,106,33,.15);
}
.zc-inquiry-form .zc-btn,.zc-btn-primary{
  display:inline-flex;align-items:center;justify-content:center;gap:var(--fp-sp-2);
  font-family:var(--fp-font-head);font-weight:700;font-size:var(--fp-fs-md);letter-spacing:.02em;
  padding:12px 28px;border-radius:var(--fp-radius);border:2px solid var(--fp-accent-cta);
  background:var(--fp-accent-cta);color:#fff;cursor:pointer;
  transition:background-color .16s var(--fp-ease),border-color .16s var(--fp-ease);margin-top:var(--fp-sp-4);
}
.zc-inquiry-form .zc-btn:hover,.zc-btn-primary:hover{background:var(--fp-accent-cta-hover);border-color:var(--fp-accent-cta-hover);}
.zc-inquiry-notice{padding:12px 16px;border-radius:var(--fp-radius);margin-bottom:var(--fp-sp-4);font-size:var(--fp-fs-sm);}
.zc-inquiry-notice.is-error{background:#FDECEC;color:#A8231F;border:1px solid #F3C4C4;}
.zc-file-input{
  display:flex;align-items:center;gap:var(--fp-sp-3);border:1px dashed var(--fp-ink-200);
  border-radius:var(--fp-radius);padding:9px 12px;background:var(--fp-white);
}
.zc-file-input__button{
  background:var(--fp-ink-700);color:#fff;padding:6px 14px;border-radius:var(--fp-radius);
  font-size:var(--fp-fs-sm);font-weight:600;
}
.zc-file-input__name{font-size:var(--fp-fs-sm);color:var(--fp-muted);}

@media(max-width:600px){.zc-inquiry-form__grid{grid-template-columns:1fr;}}

/* =========================================================
   Inquiry MODAL (ZC plugin)
========================================================= */
.zc-modal{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;padding:var(--fp-sp-5);}
.zc-modal[hidden]{display:none;}
.zc-modal__backdrop{position:absolute;inset:0;background:rgba(16,19,22,.62);}
.zc-modal__dialog{
  position:relative;background:var(--fp-white);border-radius:var(--fp-radius-lg);max-width:560px;
  width:100%;padding:var(--fp-sp-8);box-shadow:var(--fp-shadow-lg);max-height:90vh;overflow-y:auto;
}
.zc-modal__close{
  position:absolute;top:12px;right:16px;background:transparent;border:0;font-size:28px;
  line-height:1;color:var(--fp-muted);cursor:pointer;
}
.zc-modal__close:hover{color:var(--fp-heading);}
.zc-modal .zc-inquiry-block__intro h2{font-size:var(--fp-fs-xl);}
body.zc-modal-open{overflow:hidden;}

/* Success toast */
.zc-inquiry-toast{position:fixed;left:50%;bottom:var(--fp-sp-8);transform:translate(-50%,20px);z-index:1100;opacity:0;transition:opacity .26s var(--fp-ease),transform .26s var(--fp-ease);}
.zc-inquiry-toast.is-visible{opacity:1;transform:translate(-50%,0);}
.zc-inquiry-toast__inner{
  display:flex;align-items:center;gap:var(--fp-sp-3);background:var(--fp-ink-900);color:#fff;
  padding:12px 20px;border-radius:var(--fp-radius);box-shadow:var(--fp-shadow-lg);font-size:var(--fp-fs-sm);
}
.zc-inquiry-toast__icon svg{width:20px;height:20px;fill:var(--fp-success);}

/* =========================================================
   Cart / Checkout / Account
========================================================= */
.woocommerce-cart .fp-woo,.woocommerce-checkout .fp-woo,.woocommerce-account .fp-woo{
  max-width:var(--fp-container);margin:0 auto;padding:var(--fp-sp-8) var(--fp-sp-5) var(--fp-sp-16);
}
.woocommerce table.shop_table{border-radius:var(--fp-radius-md);border-color:var(--fp-ink-100);background:var(--fp-white);}
.woocommerce table.shop_table th{font-family:var(--fp-font-head);letter-spacing:.03em;color:var(--fp-heading);}

/* Secondary actions = deep space gray */
.woocommerce .button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{
  background:var(--fp-ink-700);color:#fff;border-radius:var(--fp-radius);
  font-family:var(--fp-font-head);font-weight:700;font-size:var(--fp-fs-md);letter-spacing:.02em;
  padding:11px 24px;border:0;transition:background-color .16s var(--fp-ease);
}
.woocommerce .button:hover,.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover{
  background:var(--fp-ink-900);color:#fff;
}
/* Primary conversion action = industrial orange */
.woocommerce .button.alt,.woocommerce button.button.alt,.woocommerce input.button.alt{background:var(--fp-accent-cta);}
.woocommerce .button.alt:hover,.woocommerce button.button.alt:hover,.woocommerce input.button.alt:hover{background:var(--fp-accent-cta-hover);}

.woocommerce-message,.woocommerce-info,.woocommerce-error{border-radius:var(--fp-radius);background:var(--fp-white);}
.woocommerce-message{border-top-color:var(--fp-success);}
.woocommerce-info{border-top-color:var(--fp-accent);}
.woocommerce-error{border-top-color:var(--fp-danger);}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.select2-container .select2-selection{
  border-radius:var(--fp-radius) !important;border-color:var(--fp-ink-100) !important;
  font-family:var(--fp-font-body) !important;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus{border-color:var(--fp-accent) !important;}

/* Account sidebar — gray chrome per palette */
.woocommerce-MyAccount-navigation ul{border:1px solid var(--fp-ink-100);border-radius:var(--fp-radius-md);overflow:hidden;background:var(--fp-white);}
.woocommerce-MyAccount-navigation li a{padding:12px 18px;display:block;border-bottom:1px solid var(--fp-ink-100);font-weight:500;}
.woocommerce-MyAccount-navigation li.is-active a{background:var(--fp-ink-700);color:#fff;}

/* Sale badge */
.woocommerce span.onsale{
  background:var(--fp-accent-cta);border-radius:var(--fp-radius-xs);font-family:var(--fp-font-head);
  font-weight:700;font-size:var(--fp-fs-2xs);letter-spacing:var(--fp-tracking-caps);text-transform:uppercase;
  min-height:auto;min-width:auto;padding:4px 9px;line-height:1.5;top:10px;left:10px;right:auto;
}

/* =========================================================
   Light shell — WooCommerce screens on the white base
   -----------------------------------------------------------------
   Woo templates already assume a light page, so this section is now mostly
   about framing: on white, panels separate by hairline rather than by fill,
   and the grey panel tint is reserved for chrome (filter rails, account nav).
========================================================= */
.woocommerce-page .fp-woo,
.woocommerce-page .fp-shop{background:var(--fp-base);}

/* Archive chrome */
.fp-shop .woocommerce-result-count{color:var(--fp-muted-dark);}
.fp-shop .woocommerce-ordering select{
  background:var(--fp-white);border-color:var(--fp-line-strong);color:var(--fp-text);
}
.fp-subcats-head{color:var(--fp-heading);text-transform:uppercase;letter-spacing:var(--fp-tracking-wide);}

ul.products li.product-category a{border-color:var(--fp-line);}
ul.products li.product-category a:hover{border-color:var(--fp-accent);}

/* Single product: gallery + summary each sit in their own hairlined panel. */
.single-product div.product .woocommerce-product-gallery__wrapper{border-color:var(--fp-line);}
.single-product div.product .entry-summary{
  background:var(--fp-surface);color:var(--fp-text);
  border-radius:var(--fp-radius-md);
  align-self:start;
}
.single-product .product_title{color:var(--fp-heading);}
/* Match the card grid: the price is an accent, not body copy. */
body.woocommerce div.product p.price,
body.woocommerce div.product span.price{color:var(--fp-accent-700);}
.single-product div.product .entry-summary a{color:var(--fp-text);}
.single-product div.product .entry-summary a:hover{color:var(--fp-accent-cta-hover);}
.single-product .product_meta{border-top-color:var(--fp-line);}

.woocommerce-tabs{
  background:var(--fp-surface);color:var(--fp-text);
  border:1px solid var(--fp-line);border-radius:var(--fp-radius-md);padding:clamp(20px,2.2vw,36px);
}
.woocommerce-Tabs-panel h2,
body.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover{color:var(--fp-heading);}
body.woocommerce div.product .woocommerce-tabs ul.tabs li a{text-transform:uppercase;letter-spacing:var(--fp-tracking-wide);}

.related.products > h2,.up-sells > h2{
  color:var(--fp-heading);text-transform:uppercase;letter-spacing:var(--fp-tracking-wide);
}

/* Inquiry block + modal stay white: they are the conversion form. */
.fp-single-inquiry .zc-inquiry-block{border-color:var(--fp-line);color:var(--fp-text);}

/* Cart / checkout / account */
.woocommerce-cart .fp-woo,.woocommerce-checkout .fp-woo,.woocommerce-account .fp-woo{
  padding-left:var(--fp-gutter);padding-right:var(--fp-gutter);
}
.woocommerce-cart .fp-woo h1,.woocommerce-checkout .fp-woo h1,.woocommerce-account .fp-woo h1,
.woocommerce-cart .fp-woo h2,.woocommerce-checkout .fp-woo h2,.woocommerce-account .fp-woo h2,
.woocommerce-cart .fp-woo h3,.woocommerce-checkout .fp-woo h3,.woocommerce-account .fp-woo h3{color:var(--fp-heading);}
.woocommerce table.shop_table{border-color:var(--fp-line);color:var(--fp-text);}
.woocommerce-MyAccount-navigation ul{background:var(--fp-panel);border-color:var(--fp-line);}
.woocommerce-MyAccount-navigation li a{border-bottom-color:var(--fp-line);color:var(--fp-ink-600);}
.woocommerce-MyAccount-navigation li.is-active a{background:var(--fp-accent-cta);color:#fff;}
.woocommerce-MyAccount-content{background:var(--fp-surface);color:var(--fp-text);border:1px solid var(--fp-line);border-radius:var(--fp-radius-md);padding:clamp(20px,2.2vw,32px);}

.woocommerce-message,.woocommerce-info,.woocommerce-error{color:var(--fp-text);}

.woocommerce .button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{
  text-transform:uppercase;letter-spacing:var(--fp-tracking-wide);
}

/* --- Classic cart / checkout ------------------------------------------- *
 * Cart and Checkout run the shortcodes, not the blocks: the block versions
 * ship their own React shell and ignore this theme's tokens, so on a classic
 * theme they render as a second, unrelated design. With the shortcodes the
 * only work left is out-shouting Woo's stock purple buttons and boxing the
 * totals so the page reads like the rest of the storefront.
 * ---------------------------------------------------------------------- */
.woocommerce .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit{
  background:var(--fp-accent-cta);color:#fff;border-radius:var(--fp-radius);
  font-family:var(--fp-font-head);font-weight:700;padding:13px 28px;
}
.woocommerce .button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover{background:var(--fp-accent-cta-hover);color:#fff;}
.woocommerce .button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt{background:var(--fp-accent-cta);color:#fff;}
.woocommerce .button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover{background:var(--fp-accent-cta-hover);color:#fff;}
.woocommerce .button:disabled,.woocommerce .button.disabled{background:var(--fp-ink-400);color:#fff;}

.woocommerce table.shop_table{
  border-radius:var(--fp-radius-md);border-collapse:separate;overflow:hidden;background:var(--fp-white);
}
.woocommerce table.shop_table th{
  background:var(--fp-panel);color:var(--fp-heading);
  font-family:var(--fp-font-head);text-transform:uppercase;letter-spacing:var(--fp-tracking-wide);
}
.woocommerce table.shop_table td{border-top-color:var(--fp-line);}
.woocommerce table.shop_table .product-thumbnail img{width:64px;height:auto;mix-blend-mode:multiply;}
.woocommerce a.remove{color:var(--fp-accent-700)!important;}
.woocommerce a.remove:hover{background:var(--fp-accent-cta);color:#fff!important;}

.woocommerce .cart-collaterals .cart_totals,
.woocommerce-checkout #order_review,
.woocommerce-checkout .woocommerce-checkout-payment{
  background:var(--fp-panel);border:1px solid var(--fp-line);border-radius:var(--fp-radius-md);
  padding:clamp(18px,2vw,26px);
}
.woocommerce-checkout #payment{background:transparent;}
.woocommerce-checkout #payment div.payment_box{background:var(--fp-white);color:var(--fp-ink-600);}
.woocommerce-checkout #payment div.payment_box::before{border-bottom-color:var(--fp-white);}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce form .form-row .select2-container .select2-selection{
  border:1px solid var(--fp-line-strong);border-radius:var(--fp-radius);
  padding:11px 13px;background:var(--fp-white);color:var(--fp-text);
}
.woocommerce form .form-row label{color:var(--fp-heading);font-weight:600;}

.woocommerce-message,.woocommerce-info{
  background:var(--fp-panel);border-top-color:var(--fp-accent);
}
.woocommerce-message::before,.woocommerce-info::before{color:var(--fp-accent-cta);}
.woocommerce-error{background:var(--fp-panel);border-top-color:var(--fp-danger);}
.woocommerce-error::before{color:var(--fp-danger);}
