/*
Theme Name: Blueprint Supply Co.
Theme URI: https://heartlandsportco.store
Description: Custom child theme for Blueprint Supply Co..
Author: Blueprint Supply Co.
Template: botiga
Version: 2.0.0
Text Domain: blueprintsupply
*/

:root{
  --tt-navy:#0f2c4a;
  --tt-navy-dark:#08192c;
  --tt-teal:#2f9fd6;
  --tt-coral:#2f9fd6;
  --tt-coral-dark:#2589bb;
  --tt-sand:#eef4f9;
  --tt-sand-deep:#dde8f2;
  --tt-gold:#5cc3f2;
  --tt-ink:#122536;
  --tt-muted:#63788c;
  --tt-line:#d5e2ed;
  --tt-shadow:0 10px 30px rgba(21,27,34,.10);
  --tt-radius:18px;
}

html, body{ overflow-x:clip; }
body{ background:#fff; }

/* the logo already carries the brand line — hide the plain-text tagline */
.site-description{ display:none !important; }

/* ============================================================ layout utils */
/* Botiga caps .entry-content > * at the content width — the !importants break that cage. */
.tt-full,
.entry-content > .tt-full{
  max-width:none !important;
  width:auto !important;
  margin-left:calc(50% - 50vw) !important;
  margin-right:calc(50% - 50vw) !important;
  overflow:visible !important;
}
.tt-wrap{ max-width:1200px; margin:0 auto; padding:0 24px; }

.tt-section{ padding:76px 0; }
.tt-section--sand{ background:var(--tt-sand); }
.tt-section--tight{ padding:52px 0; }

.tt-head{ text-align:center; margin-bottom:40px; }
.tt-head h2{
  font-size:clamp(26px,3vw,36px); font-weight:800; color:var(--tt-navy);
  margin:0 0 10px; letter-spacing:-.02em;
}
.tt-head p{ color:var(--tt-muted); margin:0; font-size:16.5px; }
.tt-head .tt-rule{ width:56px; height:4px; background:var(--tt-coral); border-radius:99px; margin:16px auto 0; }

/* ------------------------------------------------------------- buttons */
.tt-btn{
  display:inline-block; background:var(--tt-coral); color:#ffffff !important;
  padding:15px 34px; border-radius:99px; font-weight:700; font-size:15px;
  text-decoration:none !important; letter-spacing:.01em; border:0;
  transition:background .16s ease, transform .16s ease, box-shadow .16s ease;
  box-shadow:0 8px 20px rgba(47,159,214,.32);
}
.tt-btn:hover{ background:var(--tt-coral-dark); transform:translateY(-2px); box-shadow:0 12px 26px rgba(47,159,214,.38); }
.tt-btn--ghost{ background:transparent; color:#fff !important; border:2px solid rgba(255,255,255,.65); box-shadow:none; margin-left:12px; }
.tt-btn--ghost:hover{ background:rgba(255,255,255,.12); border-color:#fff; transform:none; box-shadow:none; }
.tt-btn--line{
  background:#fff; color:var(--tt-navy) !important; border:2px solid var(--tt-navy);
  box-shadow:none; padding:13px 32px;
}
.tt-btn--line:hover{ background:var(--tt-navy); color:#fff !important; transform:none; box-shadow:none; }
.tt-more{ text-align:center; margin-top:38px; }

/* ============================================================ announcement */
.tt-announce{
  background:var(--tt-navy-dark); color:#fff; text-align:center;
  font-size:13.5px; letter-spacing:.03em; padding:10px 16px; position:relative; z-index:99;
}
.tt-announce strong{ color:var(--tt-gold); font-weight:800; }

/* ============================================================ hero */
.tt-hero{
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(47,159,214,.45), transparent 60%),
    radial-gradient(900px 480px at -10% 110%, rgba(47,159,214,.22), transparent 55%),
    linear-gradient(115deg, #08192c 0%, var(--tt-navy-dark) 50%, #2f9fd6 100%);
  color:#fff;
}
.tt-hero__inner{
  max-width:1200px; margin:0 auto; padding:84px 24px 90px;
  display:grid; grid-template-columns:1.05fr .95fr; gap:56px; align-items:center;
}
.tt-hero__kicker{
  display:inline-flex; align-items:center; gap:8px;
  background:rgba(255,255,255,.10); border:1px solid rgba(255,255,255,.24);
  padding:8px 16px; border-radius:99px; font-size:12px; font-weight:700;
  letter-spacing:.16em; text-transform:uppercase; margin-bottom:22px; color:#e7edf3;
}
.tt-hero__kicker::before{ content:""; width:8px; height:8px; border-radius:50%; background:var(--tt-gold); }
.tt-hero h1{
  font-size:clamp(32px,4.4vw,54px); line-height:1.07; font-weight:800;
  margin:0 0 18px; color:#fff; letter-spacing:-.02em;
}
.tt-hero h1 em{ font-style:normal; color:var(--tt-gold); }
.tt-hero p{ font-size:17.5px; line-height:1.65; color:#d7dfe7; margin:0 0 30px; max-width:50ch; }
.tt-hero__meta{ display:flex; gap:26px; margin-top:34px; }
.tt-hero__stat{ font-size:13px; color:#9fb0c0; }
.tt-hero__stat strong{ display:block; font-size:21px; color:#fff; font-weight:800; }

.tt-hero__art{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.tt-hero__card{
  margin:0; background:#fff; border-radius:16px; padding:14px;
  aspect-ratio:1/1; display:flex; align-items:center; justify-content:center;
  box-shadow:0 18px 44px rgba(4,18,30,.35);
  transition:transform .2s ease;
}
.tt-hero__card:nth-child(2){ transform:translateY(20px); }
.tt-hero__card:nth-child(3){ transform:translateY(-8px); }
.tt-hero__card:nth-child(4){ transform:translateY(12px); }
.tt-hero__card img{ max-width:100%; max-height:100%; object-fit:contain; }

/* ============================================================ USP strip */
.tt-usp{ background:#fff; border-bottom:1px solid var(--tt-line); }
.tt-usp__grid{
  max-width:1200px; margin:0 auto; padding:26px 24px;
  display:grid; grid-template-columns:repeat(4,1fr); gap:22px;
}
.tt-usp__item{ display:flex; align-items:center; gap:14px; justify-content:center; }
.tt-usp__ico{
  width:44px; height:44px; flex:0 0 44px; border-radius:12px;
  background:var(--tt-sand); color:var(--tt-teal);
  display:flex; align-items:center; justify-content:center;
}
.tt-usp__ico svg{ width:22px; height:22px; }
.tt-usp__t{ font-weight:800; font-size:14.5px; color:var(--tt-navy); line-height:1.25; }
.tt-usp__s{ font-size:12.5px; color:var(--tt-muted); line-height:1.3; }

/* ============================================================ collection tiles */
.tt-tiles{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
.tt-tile{
  display:flex; flex-direction:column; text-decoration:none !important;
  background:#fff; border:1px solid var(--tt-line); border-radius:var(--tt-radius);
  overflow:hidden; box-shadow:0 4px 14px rgba(21,27,34,.06);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.tt-tile:hover{ transform:translateY(-5px); box-shadow:var(--tt-shadow); border-color:#cfd5db; }
.tt-tile__imgwrap{
  aspect-ratio:1/1; display:flex; align-items:center; justify-content:center;
  background:linear-gradient(180deg,#fbfcfd 0%, var(--tt-sand-deep) 100%);
  padding:26px; overflow:hidden;
}
.tt-tile__imgwrap img{
  max-width:100%; max-height:100%; object-fit:contain;
  transition:transform .35s ease;
  filter:drop-shadow(0 14px 18px rgba(21,27,34,.14));
}
.tt-tile:hover .tt-tile__imgwrap img{ transform:scale(1.05) rotate(-1deg); }
.tt-tile__body{ padding:18px 22px 22px; border-top:1px solid var(--tt-line); }
.tt-tile__name{ display:block; font-size:19px; font-weight:800; color:var(--tt-navy); letter-spacing:-.01em; }
.tt-tile__meta{ display:block; font-size:13.5px; color:var(--tt-muted); margin:6px 0 12px; line-height:1.5; }
.tt-tile__cta{ display:inline-block; font-size:13.5px; font-weight:800; color:var(--tt-coral); }
.tt-tile__cta::after{ content:" \2192"; transition:margin .15s ease; }
.tt-tile:hover .tt-tile__cta::after{ margin-left:4px; }

/* ============================================================ product loops */
.tt-products ul.products{ margin-bottom:0 !important; }
ul.products li.product{
  background:#fff; border:1px solid var(--tt-line); border-radius:var(--tt-radius);
  overflow:hidden; text-align:center; padding-bottom:20px !important;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
ul.products li.product:hover{ transform:translateY(-5px); box-shadow:var(--tt-shadow); border-color:#cfd5db; }
ul.products li.product img{ margin-bottom:14px !important; width:100%; }
ul.products li.product .woocommerce-loop-product__title{
  font-size:14.5px !important; line-height:1.45; font-weight:600; color:var(--tt-ink);
  padding:0 16px; margin-bottom:6px;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical;
  overflow:hidden; min-height:2.9em;
}
ul.products li.product .price{
  display:block; padding:0 16px; color:var(--tt-navy); font-weight:800; font-size:17px;
}
ul.products li.product .button{
  margin:12px 16px 0; border-radius:99px !important;
  background:var(--tt-navy) !important; color:#fff !important;
  font-size:13px !important; font-weight:700 !important; letter-spacing:.02em;
  padding:10px 22px !important; border:0 !important;
  transition:background .15s ease;
}
ul.products li.product .button:hover{ background:var(--tt-coral) !important; color:#ffffff !important; }
ul.products li.product .onsale{
  background:var(--tt-coral); border-radius:99px; font-weight:700;
}

/* ============================================================ promo band */
.tt-promo{
  background:
    radial-gradient(800px 300px at 15% 120%, rgba(47,159,214,.28), transparent 60%),
    linear-gradient(115deg, var(--tt-navy-dark) 0%, #2f9fd6 100%);
  color:#fff; text-align:center; padding:64px 24px;
}
.tt-promo h2{ color:#fff; font-size:clamp(24px,2.8vw,32px); margin:0 0 10px; font-weight:800; letter-spacing:-.01em; }
.tt-promo p{ color:#dbe6ee; margin:0 0 26px; font-size:16.5px; }
.tt-promo code{
  background:rgba(255,255,255,.16); border:1px dashed rgba(255,255,255,.45);
  color:var(--tt-gold); font-weight:800; padding:3px 12px; border-radius:8px; font-size:1em;
}

/* ============================================================ FAQ */
.tt-faq{ max-width:880px; margin:0 auto; }
.tt-faq details{
  background:#fff; border:1px solid var(--tt-line); border-radius:14px;
  margin-bottom:14px; overflow:hidden; box-shadow:0 2px 8px rgba(21,27,34,.04);
  transition:box-shadow .15s ease;
}
.tt-faq details:hover{ box-shadow:0 6px 16px rgba(21,27,34,.08); }
.tt-faq summary{
  cursor:pointer; padding:19px 24px; font-weight:700; color:var(--tt-navy);
  font-size:15.5px; list-style:none;
  display:flex; justify-content:space-between; align-items:center; gap:16px;
}
.tt-faq summary::-webkit-details-marker{ display:none; }
.tt-faq summary::after{
  content:"+"; font-size:24px; color:var(--tt-coral); font-weight:400; line-height:1;
  flex:0 0 auto; transition:transform .18s ease;
}
.tt-faq details[open] summary::after{ transform:rotate(45deg); }
.tt-faq details[open] summary{ border-bottom:1px solid var(--tt-line); }
.tt-faq .tt-faq__a{ padding:17px 24px 21px; color:var(--tt-muted); font-size:15px; line-height:1.7; }
.tt-faq .tt-faq__a a{ color:var(--tt-teal); font-weight:600; }
.tt-faq .tt-faq__a p:last-child{ margin-bottom:0; }

/* ============================================================ single product */
.tt-pdp-trust{
  border:1px solid var(--tt-line); border-radius:14px; padding:16px 18px; margin:20px 0;
  background:var(--tt-sand);
}
.tt-pdp-trust__t{
  font-size:11.5px; text-transform:uppercase; letter-spacing:.14em; color:var(--tt-muted);
  text-align:center; margin:0 0 10px; font-weight:800;
}
/* real payment-brand badges (shared by PDP trust box + footer) */
.tt-payicons{ display:flex; justify-content:center; gap:9px; flex-wrap:wrap; }
.tt-payicon{
  display:inline-flex; width:52px; height:34px; border-radius:6px; overflow:hidden;
  border:1px solid rgba(21,27,34,.14); background:#fff;
  box-shadow:0 1px 3px rgba(21,27,34,.10);
}
.tt-payicon svg{ width:100%; height:100%; display:block; }

/* hide SKU / category meta on the product page (also removed via hook) */
.single-product .product_meta{ display:none !important; }
.tt-pdp-points{ list-style:none; margin:20px 0; padding:0; }
.tt-pdp-points li{
  padding:8px 0 8px 30px; position:relative; color:var(--tt-ink); font-size:14.5px;
  border-bottom:1px dashed var(--tt-line);
}
.tt-pdp-points li:last-child{ border-bottom:0; }
.tt-pdp-points li::before{
  content:"\2713"; position:absolute; left:2px; top:8px; color:var(--tt-teal); font-weight:800;
}
.tt-stock-note{ color:var(--tt-teal); font-weight:700; }
.tt-ship-table{ width:100%; border-collapse:collapse; margin:16px 0; font-size:14.5px; }
.tt-ship-table th,.tt-ship-table td{ border:1px solid var(--tt-line); padding:12px 14px; text-align:left; }
.tt-ship-table th{ background:var(--tt-sand); font-weight:800; color:var(--tt-navy); }
.tt-ship-table tr:nth-child(even) td{ background:#f8f9fb; }

/* ============================================================ footer */
.tt-footer{ background:var(--tt-navy-dark); color:#c2cbd5; padding:60px 0 0; }
.tt-footer a{ color:#c2cbd5; text-decoration:none; transition:color .12s ease; }
.tt-footer a:hover{ color:#fff; text-decoration:underline; }
.tt-footer__grid{
  max-width:1200px; margin:0 auto; padding:0 24px 44px;
  display:grid; grid-template-columns:1.6fr 1fr 1fr 1.2fr; gap:40px;
}
.tt-footer h4{
  color:#fff; font-size:13.5px; font-weight:800; margin:0 0 18px;
  text-transform:uppercase; letter-spacing:.12em;
}
.tt-footer ul{ list-style:none; margin:0; padding:0; }
.tt-footer li{ margin-bottom:10px; font-size:14.5px; }
.tt-footer__brand{ font-size:22px; font-weight:800; color:#fff; margin:0 0 14px; letter-spacing:-.01em; }
.tt-footer__about{ font-size:14.5px; line-height:1.75; margin:0 0 20px; }
.tt-footer__contact li{ display:flex; gap:10px; align-items:baseline; }
.tt-footer__contact .tt-lbl{
  flex:0 0 72px; font-size:10.5px; font-weight:800; letter-spacing:.1em;
  text-transform:uppercase; color:#7d8a99;
}
.tt-footer__bar{
  border-top:1px solid rgba(255,255,255,.10);
  padding:20px 24px 26px; text-align:center; font-size:13.5px; color:#8b98a6;
}
.tt-footer__bar .tt-payicons{ margin-bottom:14px; }
.tt-footer__bar .tt-payicon{ border-color:rgba(255,255,255,.25); box-shadow:none; }

/* ============================================================ responsive */
@media (max-width:1024px){
  .tt-hero__inner{ grid-template-columns:1fr; gap:44px; padding:64px 24px 70px; }
  .tt-hero__art{ max-width:560px; margin:0 auto; }
  .tt-tiles{ grid-template-columns:repeat(2,1fr); }
  .tt-footer__grid{ grid-template-columns:1fr 1fr; gap:32px; }
  .tt-usp__grid{ grid-template-columns:repeat(2,1fr); gap:16px; }
  .tt-usp__item{ justify-content:flex-start; }
}
@media (max-width:640px){
  .tt-section{ padding:52px 0; }
  .tt-hero__inner{ padding:50px 20px 56px; }
  .tt-hero__art{ gap:12px; }
  .tt-hero__card{ padding:10px; border-radius:12px; }
  .tt-hero__card:nth-child(n){ transform:none; }
  .tt-tiles{ grid-template-columns:1fr; }
  .tt-footer__grid{ grid-template-columns:1fr; }
  .tt-usp__grid{ grid-template-columns:1fr; }
  .tt-btn--ghost{ margin-left:0; margin-top:12px; }
  .tt-hero__meta{ gap:18px; flex-wrap:wrap; }
}

/* ============================================================ shop & collection pages */
/* branded header band */
.woocommerce-products-header{ display:none !important; }
.lw-archhead{
  background:
    radial-gradient(900px 320px at 88% -30%, rgba(47,159,214,.40), transparent 60%),
    radial-gradient(700px 300px at -5% 130%, rgba(47,159,214,.18), transparent 55%),
    linear-gradient(115deg, #08192c 0%, var(--tt-navy-dark) 55%, #2f9fd6 100%);
  color:#fff; margin-bottom:36px !important;
}
.lw-archhead__in{ max-width:1200px; margin:0 auto; padding:40px 24px 46px; text-align:center; }
.lw-archhead__crumb{ font-size:13px; color:#9fb0c0; margin-bottom:14px; letter-spacing:.02em; }
.lw-archhead__crumb a{ color:#c9d6e0; text-decoration:none; }
.lw-archhead__crumb a:hover{ color:#fff; text-decoration:underline; }
.lw-archhead__crumb span{ margin:0 7px; color:#5b6c7c; }
.lw-archhead h1{
  color:#fff; font-size:clamp(28px,3.4vw,42px); font-weight:800;
  letter-spacing:-.02em; margin:0 0 10px;
}
.lw-archhead p{ color:#d7dfe7; font-size:16px; line-height:1.6; max-width:62ch; margin:0 auto 18px; }
.lw-archhead__count{
  display:inline-block; background:var(--tt-coral); color:#171c22;
  font-size:12.5px; font-weight:800; letter-spacing:.08em; text-transform:uppercase;
  padding:7px 16px; border-radius:99px;
}

/* wider, airier product grid on archives */
.post-type-archive-product .container.content-wrapper,
.tax-product_cat .container.content-wrapper,
.tax-product_tag .container.content-wrapper{ max-width:1440px; }
.post-type-archive-product ul.products,
.tax-product_cat ul.products{ gap:26px 22px; }

/* toolbar: result count + sorting on one tidy row */
.woocommerce-result-count{
  color:var(--tt-muted) !important; font-size:14px !important; margin:6px 0 22px !important;
}
.woocommerce-ordering{ margin:0 0 22px !important; }
.woocommerce-ordering select{
  appearance:none; -webkit-appearance:none;
  border:1px solid var(--tt-line) !important; border-radius:99px !important;
  padding:10px 40px 10px 18px !important; font-size:13.5px !important; font-weight:600;
  color:var(--tt-ink) !important; background:#fff url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%2368727e' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 16px center !important;
  cursor:pointer; transition:border-color .15s ease, box-shadow .15s ease;
}
.woocommerce-ordering select:hover,
.woocommerce-ordering select:focus{ border-color:var(--tt-coral) !important; box-shadow:0 0 0 3px rgba(47,159,214,.18); outline:none; }

/* pagination pills */
.woocommerce-pagination{ margin-top:30px !important; }
.woocommerce-pagination ul{ border:0 !important; display:flex; gap:8px; justify-content:center; }
.woocommerce-pagination ul li{ border:0 !important; }
.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span{
  display:flex; align-items:center; justify-content:center;
  min-width:42px; height:42px; padding:0 14px !important;
  border:1px solid var(--tt-line) !important; border-radius:99px !important;
  font-weight:700 !important; font-size:14px !important; color:var(--tt-ink) !important;
  background:#fff !important; transition:all .15s ease; line-height:1 !important;
}
.woocommerce-pagination ul li a:hover{ border-color:var(--tt-coral) !important; color:var(--tt-coral-dark) !important; transform:translateY(-2px); }
.woocommerce-pagination ul li span.current{ background:var(--tt-navy) !important; border-color:var(--tt-navy) !important; color:#fff !important; }

/* ============================================================ header polish */
/* Crisp white-on-dark rendering (fixes colour fringing on bold text over carbon/navy). */
body{ -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale; text-rendering:optimizeLegibility; }

/* Botiga always prints the site name next to the logo image — we ship a wordmark logo, so drop the duplicate text. */
.site-branding .site-title,
.site-branding .site-description{ display:none !important; }
.site-branding{ display:flex !important; align-items:center; }
.site-branding .custom-logo-link img{ display:block; }

/* Header uses a 3-equal-column grid (menu | logo | icons) sized to 1/3 each,
   which starves the menu column and wraps items while the logo/icon columns sit mostly empty.
   Give the logo only the width it needs and let menu/icons share the rest. */
.bhfb-main_header_row .bhfb-row.bhfb-cols-3{
  grid-template-columns: minmax(0,1fr) auto minmax(0,1fr) !important;
  align-items:center;
  column-gap:24px;
}
.bhfb-main_header_row .bhfb-column-1{ justify-content:flex-start !important; }
.bhfb-main_header_row .bhfb-column-3{ justify-content:flex-end !important; }

/* tidy up the primary menu row itself */
.bhfb-component-menu ul.menu{ flex-wrap:nowrap !important; white-space:nowrap; }
.bhfb-component-menu > ul.menu > li{ margin-right:6px; }
.bhfb-component-menu a{ font-weight:600 !important; letter-spacing:.01em; }

/* header bottom border reads a little bare — give it a touch of depth */
.bhfb-main_header_row{ box-shadow:0 1px 0 rgba(21,27,34,.06); }

/* ═══════════════════════════════════════════════════════════════
   BLUEPRINT SUPPLY CO. — "Spec Sheet" homepage
   Technical drawing feel: grid hero, spec bar, numbered index,
   drawing-frame product feature, dark data band, numbered FAQ.
   ═══════════════════════════════════════════════════════════════ */

.bp-grid-bg{
  background-image:
    linear-gradient(rgba(47,159,214,.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47,159,214,.10) 1px, transparent 1px);
  background-size:34px 34px;
}

/* ---------------------------------------------------- hero */
.bp-hero{ position:relative; background:var(--tt-navy-dark); color:#fff; overflow:hidden; }
.bp-hero::before{ content:""; position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size:40px 40px; }
.bp-hero__inner{ position:relative; z-index:2; max-width:1240px; margin:0 auto;
  padding:78px 24px 86px; display:grid; grid-template-columns:1.15fr .85fr; gap:56px; align-items:center; }
.bp-tag{ display:inline-flex; align-items:center; gap:9px; border:1px solid rgba(255,255,255,.28);
  padding:6px 14px; font-size:11px; font-weight:800; letter-spacing:.2em; text-transform:uppercase;
  color:var(--tt-gold); margin-bottom:22px; }
.bp-tag b{ color:#fff; font-weight:800; }
.bp-hero h1{ color:#fff; font-size:clamp(34px,4.8vw,58px); line-height:1.06; font-weight:800;
  letter-spacing:-.03em; margin:0 0 18px; }
.bp-hero h1 em{ font-style:normal; color:var(--tt-teal); }
.bp-hero p{ color:#c3d5e4; font-size:17px; line-height:1.68; max-width:50ch; margin:0 0 30px; }
.bp-hero__actions{ display:flex; gap:14px; flex-wrap:wrap; }
/* drawing-frame product plate */
.bp-plate{ position:relative; border:1px solid rgba(255,255,255,.24); padding:22px; }
.bp-plate::before,.bp-plate::after{ content:""; position:absolute; width:14px; height:14px;
  border:2px solid var(--tt-teal); }
.bp-plate::before{ top:-1px; left:-1px; border-right:0; border-bottom:0; }
.bp-plate::after{ bottom:-1px; right:-1px; border-left:0; border-top:0; }
.bp-plate__img{ background:#fff; aspect-ratio:1/1; display:flex; align-items:center;
  justify-content:center; padding:20px; }
.bp-plate__img img{ max-width:100%; max-height:100%; object-fit:contain; }
.bp-plate__cap{ display:flex; justify-content:space-between; gap:12px; margin-top:14px;
  font-size:11px; letter-spacing:.14em; text-transform:uppercase; color:#9fb6c9; font-weight:700; }

/* ---------------------------------------------------- spec bar */
.bp-spec{ background:var(--tt-teal); color:#fff; }
.bp-spec__grid{ max-width:1240px; margin:0 auto; padding:0 24px;
  display:grid; grid-template-columns:repeat(4,1fr); }
.bp-spec__item{ padding:22px 18px; border-right:1px solid rgba(255,255,255,.22); }
.bp-spec__item:last-child{ border-right:0; }
.bp-spec__k{ display:block; font-size:10.5px; font-weight:800; letter-spacing:.18em;
  text-transform:uppercase; opacity:.85; margin-bottom:6px; }
.bp-spec__v{ display:block; font-size:17px; font-weight:800; letter-spacing:-.01em; }

/* ---------------------------------------------------- numbered index */
.bp-index{ background:#fff; }
.bp-index__wrap{ max-width:1240px; margin:0 auto; padding:82px 24px; }
.bp-index__grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.bp-cat{ position:relative; display:block; border:1px solid var(--tt-line); padding:24px;
  text-decoration:none !important; background:#fff;
  transition:border-color .16s ease, transform .16s ease, box-shadow .16s ease; }
.bp-cat:hover{ border-color:var(--tt-teal); transform:translateY(-4px);
  box-shadow:0 14px 32px rgba(15,44,74,.12); }
.bp-cat__no{ font-size:11px; font-weight:800; letter-spacing:.2em; color:var(--tt-teal);
  display:block; margin-bottom:14px; }
.bp-cat__img{ height:132px; display:flex; align-items:center; justify-content:center;
  margin-bottom:16px; }
.bp-cat__img img{ max-height:100%; max-width:100%; object-fit:contain; }
.bp-cat__name{ display:block; font-size:19px; font-weight:800; color:var(--tt-navy); letter-spacing:-.01em; }
.bp-cat__desc{ display:block; font-size:13.5px; color:var(--tt-muted); line-height:1.55; margin:7px 0 12px;
  min-height:3em; }
.bp-cat__foot{ display:flex; align-items:center; justify-content:space-between;
  border-top:1px dashed var(--tt-line); padding-top:12px; }
.bp-cat__count{ font-size:12px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; color:var(--tt-muted); }
.bp-cat__go{ font-size:13.5px; font-weight:800; color:var(--tt-teal); }

/* ---------------------------------------------------- data band */
.bp-data{ background:var(--tt-navy); color:#fff; }
.bp-data__wrap{ max-width:1240px; margin:0 auto; padding:64px 24px;
  display:grid; grid-template-columns:1fr 1fr; gap:52px; align-items:center; }
.bp-data h2{ color:#fff; font-size:clamp(25px,3vw,34px); font-weight:800; margin:0 0 14px; letter-spacing:-.02em; }
.bp-data p{ color:#bed2e1; font-size:16px; line-height:1.7; margin:0; }
.bp-data__rows{ display:grid; gap:0; }
.bp-data__row{ display:flex; justify-content:space-between; gap:18px; padding:14px 0;
  border-bottom:1px solid rgba(255,255,255,.14); font-size:14.5px; }
.bp-data__row:first-child{ border-top:1px solid rgba(255,255,255,.14); }
.bp-data__row span:first-child{ color:#9fb6c9; letter-spacing:.06em; text-transform:uppercase; font-size:11.5px; font-weight:700; }
.bp-data__row span:last-child{ color:#fff; font-weight:700; }

/* ---------------------------------------------------- numbered FAQ */
.bp-faq{ background:var(--tt-sand); }
.bp-faq__wrap{ max-width:1000px; margin:0 auto; padding:82px 24px; }
.bp-faq__list{ counter-reset:bpq; }
.bp-faq__list details{ background:#fff; border:1px solid var(--tt-line); border-radius:0;
  margin-bottom:10px; }
.bp-faq__list summary{ padding:18px 20px 18px 62px; position:relative; font-weight:800;
  color:var(--tt-navy); font-size:15px; }
.bp-faq__list summary::before{ counter-increment:bpq; content:"0" counter(bpq);
  position:absolute; left:20px; top:18px; color:var(--tt-teal); font-size:13px; letter-spacing:.1em; }
.bp-faq__list .tt-faq__a{ padding:0 20px 18px 62px; font-size:14.5px; }

@media (max-width:1024px){
  .bp-hero__inner{ grid-template-columns:1fr; gap:40px; padding:62px 24px 70px; }
  .bp-plate{ max-width:460px; }
  .bp-spec__grid{ grid-template-columns:repeat(2,1fr); }
  .bp-spec__item:nth-child(2){ border-right:0; }
  .bp-index__grid{ grid-template-columns:repeat(2,1fr); }
  .bp-data__wrap{ grid-template-columns:1fr; gap:30px; padding:52px 24px; }
}
@media (max-width:640px){
  .bp-index__grid{ grid-template-columns:1fr; }
  .bp-spec__grid{ grid-template-columns:1fr; }
  .bp-spec__item{ border-right:0; border-bottom:1px solid rgba(255,255,255,.22); }
  .bp-cat__desc{ min-height:0; }
  .bp-faq__list summary{ padding-left:56px; }
  .bp-faq__list .tt-faq__a{ padding-left:56px; }
}

/* ==== TT PDP BLOCK START ==== */

/* ═══════════════════════════════════════════════════════════════
   PRODUCT PAGE — shared base
   Botiga reorders .summary children itself, so we take the column
   back: flex + explicit `order` on every child. Each store's block
   below overrides the ratios, the order and the tab treatment.
   ═══════════════════════════════════════════════════════════════ */

.tt-pdp .summary.entry-summary{ display:flex; flex-direction:column; }

/* default sequence — every store re-declares the ones it wants moved */
.tt-pdp .summary > .product_title            { order:1; }
.tt-pdp .summary > .price                    { order:2; }
.tt-pdp .summary > .tt-avail                 { order:3; }
.tt-pdp .summary > .woocommerce-product-details__short-description{ order:4; }
.tt-pdp .summary > .tt-pp                    { order:5; }
.tt-pdp .summary > form.cart                 { order:6; }
.tt-pdp .summary > .tt-pdp-trust             { order:7; }
.tt-pdp .summary > .elements-order-end       { order:98; }

/* legacy blocks and Botiga furniture we do not want on the new page */
.tt-pdp .summary > .product_meta,
.tt-pdp .summary > .botiga-wc-brands-brand-wrapper,
.tt-pdp .summary > hr.divider,
.tt-pdp .summary > .tt-pdp-points,
.tt-pdp .summary > .tt-stock-note{ display:none !important; }

/* ------------------------------------------------------------ typography */
.tt-pdp .summary .product_title{ font-size:clamp(24px,2.6vw,34px); line-height:1.18;
  font-weight:800; letter-spacing:-.02em; color:var(--tt-navy); margin:0 0 12px; }
.tt-pdp .summary .price{ margin:0 0 14px; }
.tt-pdp .summary .price .amount{ font-size:26px; font-weight:800; color:var(--tt-ink); }
.tt-pdp .summary .woocommerce-product-details__short-description{ color:var(--tt-muted);
  font-size:15px; line-height:1.72; margin:0 0 20px; }
.tt-pdp .summary form.cart{ margin:0 0 18px; }

/* ------------------------------------------------------- availability line */
.tt-avail{ display:flex; align-items:center; gap:9px; margin:0 0 16px; font-size:14px;
  color:var(--tt-muted); }
.tt-avail b{ color:var(--tt-ink); }
.tt-avail__dot{ width:9px; height:9px; border-radius:50%; background:#2fa84f; flex:0 0 auto;
  box-shadow:0 0 0 3px rgba(47,168,79,.18); }

/* --------------------------------------------------------- assurance rail */
.tt-assure{ list-style:none; display:flex; flex-wrap:wrap; gap:8px 18px; margin:14px 0 0; padding:0; }
.tt-assure li{ position:relative; padding-left:18px; font-size:13px; color:var(--tt-muted); }
.tt-assure li::before{ content:"\2713"; position:absolute; left:0; top:0;
  color:var(--tt-coral-dark); font-weight:800; }

/* ---------------------------------------------------- selling-point blocks */
.tt-pp{ margin:0 0 22px; }
.tt-pp__h{ font-size:12px; font-weight:800; letter-spacing:.18em; text-transform:uppercase;
  color:var(--tt-muted); margin:0 0 12px; }
.tt-pp b{ color:var(--tt-ink); }
.tt-pp span{ color:var(--tt-muted); }

/* ------------------------------------------------------------- tab basics */
.tt-pdp .woocommerce-tabs{ margin-top:16px; }
.tt-pdp .tt-panel-h{ font-size:17px; font-weight:800; color:var(--tt-navy); margin:0 0 12px; }
.tt-pdp .tt-ship-table{ width:100%; border-collapse:collapse; font-size:14px; }
.tt-pdp .tt-ship-table th,.tt-pdp .tt-ship-table td{ border:1px solid var(--tt-line);
  padding:9px 12px; text-align:left; }
.tt-pdp .tt-ship-table th{ background:var(--tt-sand); font-weight:800; }

/* stacked treatment: show every panel, drop the tab strip and the duplicate h2 */
.tt-pdp--stacked .wc-tabs,
.tt-pdp .tt-stacked-tabs .wc-tabs{ display:none !important; }

/* The shipping table has a wide min-content, and a grid/flex track sized `1fr`
   is really minmax(auto,1fr) — so the panel grows past the viewport and the
   right-hand column gets clipped. Allow the tracks to shrink, and let the
   table scroll inside itself on narrow screens. */
.tt-pdp .woocommerce-tabs,
.tt-pdp .woocommerce-Tabs-panel{ min-width:0; }
@media (max-width:900px){
  .tt-pdp .woocommerce-Tabs-panel table{ display:block; overflow-x:auto;
    max-width:100%; -webkit-overflow-scrolling:touch; }
}

/* ------------------------------------------------- variation picker: base
   WooCommerce renders the picker as a real <table>. Blocking it out lets each
   store lay the rows out however it likes (stacked, label-left, 2-up grid).
   The native select arrow is dropped and redrawn as a clip-path triangle on
   td.value so its colour comes from a token each store can override.        */
.tt-pdp .variations,
.tt-pdp .variations tbody,
.tt-pdp .variations tr,
.tt-pdp .variations th.label,
.tt-pdp .variations td.value{ display:block; width:auto !important; vertical-align:top; }
/* Botiga pads td.value from the second row down; that has to be forced away.
   `tr` is deliberately NOT forced — several layouts draw a rule line and set
   their own row padding, and an !important reset here would silently kill it. */
.tt-pdp .variations,
.tt-pdp .variations th.label,
.tt-pdp .variations td.value{ border:0 !important; padding:0 !important; }
.tt-pdp .variations tbody,
.tt-pdp .variations tr{ border:0; padding:0; }
.tt-pdp .variations{ margin:0 0 16px; }
.tt-pdp .variations tr{ margin:0 0 14px; }
.tt-pdp .variations tr:last-child{ margin-bottom:0; }
.tt-pdp .variations th.label{ padding:0 0 7px !important; text-align:left; }
.tt-pdp .variations th.label label{ margin:0; font-size:13px; font-weight:800;
  color:var(--tt-ink); }
.tt-pdp .variations td.value{ position:relative; }
.tt-pdp .variations td.value::after{ content:""; position:absolute; right:16px; top:50%;
  width:11px; height:7px; margin-top:-3px; pointer-events:none;
  background:var(--tt-muted); clip-path:polygon(0 0,100% 0,50% 100%); }
.tt-pdp .variations select{ -webkit-appearance:none; appearance:none; width:100%;
  font-family:inherit; font-size:14.5px; font-weight:600; color:var(--tt-ink);
  background:#fff; padding:12px 40px 12px 14px; margin:0;
  border:1px solid var(--tt-line); border-radius:8px; line-height:1.3;
  transition:border-color .16s ease, box-shadow .16s ease, background .16s ease; }
.tt-pdp .variations select:focus{ outline:none; border-color:var(--tt-coral); }
.tt-pdp .variations select:disabled{ opacity:.5; }
.tt-pdp .reset_variations{ display:inline-block; font-size:12.5px; font-weight:700;
  color:var(--tt-muted); margin:0 0 12px; }

/* the buy row: quantity stepper + button */
.tt-pdp .botiga-single-addtocart-wrapper{ display:flex !important; gap:12px;
  align-items:stretch; flex-wrap:wrap; }
.tt-pdp .botiga-single-addtocart-wrapper .quantity{ display:flex; align-items:center;
  flex:0 0 auto; }
.tt-pdp .quantity .botiga-quantity-minus,
.tt-pdp .quantity .botiga-quantity-plus{ display:flex; align-items:center; justify-content:center;
  width:38px; align-self:stretch; text-decoration:none; font-weight:800; }
.tt-pdp .quantity input.qty{ width:46px; text-align:center; border:0; background:transparent;
  font-weight:800; -moz-appearance:textfield; }
.tt-pdp .quantity input.qty::-webkit-outer-spin-button,
.tt-pdp .quantity input.qty::-webkit-inner-spin-button{ -webkit-appearance:none; margin:0; }
.tt-pdp .single_add_to_cart_button{ flex:1 1 190px; border:0; cursor:pointer; }
.tt-pdp .woocommerce-variation-price{ margin:0 0 14px; }

/* --------------------------------------------------------------- gallery */
.tt-pdp .woocommerce-product-gallery__image img{ border-radius:inherit; }

/* ------------------------------------------------------------ responsive */
@media (max-width:900px){
  .tt-pdp .product-gallery-summary{ flex-direction:column !important; }
  .tt-pdp .woocommerce-product-gallery,
  .tt-pdp .summary.entry-summary{ flex:0 0 100% !important; width:100% !important;
    max-width:100% !important; position:static !important; }
  .tt-pdp .summary.entry-summary{ margin-top:26px; }
}

/* ── BLUEPRINT SUPPLY — "Drawing Sheet" ─────────────────────────
   Narrow gallery (42%) against a wide technical summary. The whole
   right column sits inside a ruled plate; the spec list carries
   monospace S-01 refs. Panels stacked inside a bordered sheet.     */

.tt-pdp--drawing .product-gallery-summary{ gap:40px; align-items:flex-start; }
.tt-pdp--drawing .woocommerce-product-gallery{ flex:0 0 42% !important; max-width:42%; }
.tt-pdp--drawing .summary.entry-summary{ flex:0 0 calc(58% - 40px) !important;
  border:1px solid var(--tt-line); border-top:4px solid var(--tt-coral);
  border-radius:4px; padding:26px 28px; background:#fff; }

.tt-pdp--drawing .summary > .product_title{ order:1; }
.tt-pdp--drawing .summary > .price{ order:2; }
.tt-pdp--drawing .summary > .tt-avail{ order:3; }
.tt-pdp--drawing .summary > .woocommerce-product-details__short-description{ order:4; }
.tt-pdp--drawing .summary > form.cart{ order:5; }
.tt-pdp--drawing .summary > .tt-pdp-trust{ order:6; }
.tt-pdp--drawing .summary > .tt-pp{ order:7; margin:22px 0 0; padding-top:20px;
  border-top:1px dashed var(--tt-line); }

.tt-pp--dwg dl{ margin:0; }
.tt-pp--dwg .tt-pp__row{ display:grid; grid-template-columns:56px 110px 1fr; gap:12px;
  align-items:baseline; padding:9px 0; border-bottom:1px dotted var(--tt-line); }
.tt-pp--dwg .tt-pp__ref{ font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  font-size:11.5px; font-weight:700; color:var(--tt-coral-dark); letter-spacing:.04em; }
.tt-pp--dwg dt{ font-size:13px; font-weight:800; color:var(--tt-ink); }
.tt-pp--dwg dd{ margin:0; font-size:13px; line-height:1.6; color:var(--tt-muted); }

.tt-pdp--drawing .wc-tabs{ display:none !important; }
.tt-pdp--drawing .woocommerce-tabs{ border:1px solid var(--tt-line); border-radius:4px;
  background:#fff; padding:28px 30px; }
.tt-pdp--drawing .woocommerce-Tabs-panel{ display:block !important; margin:0 0 26px;
  padding-bottom:24px; border-bottom:1px dashed var(--tt-line); }
.tt-pdp--drawing .woocommerce-Tabs-panel:last-of-type{ border-bottom:0; margin-bottom:0; padding-bottom:0; }
.tt-pdp--drawing .woocommerce-Tabs-panel > h2{ display:none; }

@media (max-width:900px){
  .tt-pdp--drawing .woocommerce-product-gallery,
  .tt-pdp--drawing .summary.entry-summary{ max-width:100%; }
  .tt-pdp--drawing .summary.entry-summary{ padding:22px 20px; }
  .tt-pp--dwg .tt-pp__row{ grid-template-columns:48px 1fr; }
  .tt-pp--dwg dd{ grid-column:2; }
}

/* ---- variation picker ---- */
.tt-pdp--drawing .variations tbody{ counter-reset:vrow; }
.tt-pdp--drawing .variations tr{ display:grid; grid-template-columns:104px 1fr; gap:14px;
  align-items:center; margin:0 0 10px; }
.tt-pdp--drawing .variations th.label{ padding:0; }
.tt-pdp--drawing .variations th.label label{ font-size:12px; }
.tt-pdp--drawing .variations th.label label::before{ counter-increment:vrow;
  content:"V-0" counter(vrow) "  "; font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  font-size:10.5px; color:var(--tt-coral-dark); letter-spacing:.04em; }
.tt-pdp--drawing .variations select{ border-radius:2px; padding:10px 38px 10px 12px;
  font-weight:500; }
.tt-pdp--drawing .quantity{ border:1px solid var(--tt-line); border-radius:2px; }
.tt-pdp--drawing .single_add_to_cart_button{ border-radius:2px; font-weight:800;
  letter-spacing:.06em; padding:14px 24px; }
/* ---- end variation picker ---- */
/* ==== TT PDP BLOCK END ==== */
