/*
Theme Name: Pigskin Studio
Theme URI: https://pigskinstudio.com
Description: Custom child theme for Pigskin Studio.
Author: Pigskin Studio
Template: botiga
Version: 2.0.0
Text Domain: pigskinstudio
*/

:root{
  --tt-navy:#3b2a1e;
  --tt-navy-dark:#241811;
  --tt-teal:#8a5a2b;
  --tt-coral:#c2571f;
  --tt-coral-dark:#a34615;
  --tt-sand:#f7f2ea;
  --tt-sand-deep:#ece2d4;
  --tt-gold:#e0a44a;
  --tt-ink:#2a2018;
  --tt-muted:#7a6a5c;
  --tt-line:#e5dccd;
  --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(194,87,31,.32);
}
.tt-btn:hover{ background:var(--tt-coral-dark); transform:translateY(-2px); box-shadow:0 12px 26px rgba(194,87,31,.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(138,90,43,.45), transparent 60%),
    radial-gradient(900px 480px at -10% 110%, rgba(194,87,31,.22), transparent 55%),
    linear-gradient(115deg, #241811 0%, var(--tt-navy-dark) 50%, #8a5a2b 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(194,87,31,.28), transparent 60%),
    linear-gradient(115deg, var(--tt-navy-dark) 0%, #8a5a2b 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(138,90,43,.40), transparent 60%),
    radial-gradient(700px 300px at -5% 130%, rgba(194,87,31,.18), transparent 55%),
    linear-gradient(115deg, #241811 0%, var(--tt-navy-dark) 55%, #8a5a2b 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(194,87,31,.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); }
