/* BodyFrank brand layer for Blocksy + WooCommerce: self-hosted fonts, fire accents, homepage sections. */
@font-face { font-family: 'Oswald'; font-weight: 700; font-display: swap; src: url('fonts/oswald-700.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 400; font-display: swap; src: url('fonts/inter-400.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 600; font-display: swap; src: url('fonts/inter-600.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 700; font-display: swap; src: url('fonts/inter-700.woff2') format('woff2'); }

:root {
  --bf-ink: #15171c;
  --bf-muted: #4a4f59;
  --bf-line: #e6e7ea;
  --bf-orange-text: #e8530b;
  --bf-fire: linear-gradient(135deg, #ffb100 0%, #ff5a00 55%, #e0161b 100%);
  --bf-heading: 'Oswald', 'Arial Narrow', sans-serif;
  --theme-font-family: 'Inter', system-ui, sans-serif;
}

body { font-family: 'Inter', system-ui, sans-serif; }
::selection { background: #ff5a00; color: #fff; }

h1, h2, h3, h4,
.page-title,
.woocommerce-loop-product__title,
.product_title {
  font-family: var(--bf-heading) !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.005em;
}
h1, h2, .page-title { font-style: italic; }

/* Buttons */
.button,
button[type='submit'],
.wp-element-button,
.ct-button,
.single_add_to_cart_button,
.checkout-button,
.wc-block-components-button {
  background-image: var(--bf-fire) !important;
  background-color: #ff5a00 !important;
  border: 0 !important;
  border-radius: 6px !important;
  color: #fff !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: filter 0.2s ease, box-shadow 0.2s ease;
}
.button:hover,
button[type='submit']:hover,
.wp-element-button:hover,
.single_add_to_cart_button:hover {
  filter: brightness(1.08);
  box-shadow: 0 8px 24px rgb(255 90 0 / 0.3);
}

/* Sale badge + prices */
.onsale, .ct-woo-badge-onsale { background: #e0161b !important; color: #fff !important; border-radius: 4px !important; text-transform: uppercase; font-weight: 700; }
.price ins, .price > .amount { color: var(--bf-ink); font-weight: 700; }

/* Product cards */
ul.products li.product { transition: transform 0.25s ease; }
ul.products li.product:hover { transform: translateY(-3px); }
ul.products li.product .ct-media-container,
ul.products li.product figure { border-radius: 10px; overflow: hidden; background: #f6f6f7; }

/* ---------- homepage sections ---------- */
.bf-wrap { width: 100%; max-width: 1290px !important; margin-inline: auto !important; padding-inline: 20px; box-sizing: border-box; }
.home .entry-content > * { margin-block: 0; max-width: none !important; width: 100% !important; margin-inline: 0 !important; }
.home .entry-content > .bf-wrap { max-width: 1290px !important; margin-inline: auto !important; }

/* Header: compact logo row + menu row */
#header [data-row*='middle'] { --height: 76px; }
#header [data-row*='bottom'] { --height: 52px; border-top: 1px solid #ececee; }
#header [data-id='menu'] > ul > li > a { font-weight: 700; letter-spacing: 0.04em; }
#header [data-id='menu'] > ul > li > a:hover { color: #ff5a00; }
.home .hero-section { display: none; }
.home { --theme-content-vertical-spacing: 0px; }
.home .site-main > [class*='ct-container'] { padding-block: 0 !important; }

.bf-kicker {
  margin: 0 0 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bf-orange-text);
}
.bf-kicker--boxed {
  display: inline-block;
  margin-bottom: 18px;
  padding: 6px 14px;
  border: 1px solid rgb(255 90 0 / 0.35);
  border-radius: 4px;
  background: rgb(255 90 0 / 0.06);
}
.bf-kicker--dark { color: var(--bf-ink); }
.bf-title {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 3rem) !important;
  line-height: 1 !important;
  font-style: italic;
  color: var(--bf-ink);
}
.bf-title--light { color: #fff; }
.bf-fire-text {
  background: linear-gradient(180deg, #ffb100 0%, #ff5a00 55%, #e0161b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.08em;
}
.bf-btn {
  display: inline-flex;
  align-items: center;
  min-height: 50px;
  padding: 0 26px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none !important;
  transition: filter 0.2s, box-shadow 0.2s, background 0.2s;
}
.bf-btn--fire { background: var(--bf-fire); color: #fff !important; }
.bf-btn--fire:hover { filter: brightness(1.08); box-shadow: 0 8px 24px rgb(255 90 0 / 0.3); }
.bf-btn--outline { border: 1.5px solid var(--bf-ink); color: var(--bf-ink) !important; }
.bf-btn--outline:hover { background: var(--bf-ink); color: #fff !important; }
.bf-btn--dark { background: var(--bf-ink); color: #fff !important; flex: none; }

/* Hero */
.bf-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(460px, 70vh, 700px);
  background:
    radial-gradient(ellipse 70% 60% at 85% 20%, rgb(255 138 0 / 0.2), transparent 60%),
    radial-gradient(ellipse 50% 50% at 10% 100%, rgb(224 22 27 / 0.07), transparent 60%),
    linear-gradient(180deg, #fbfbfc 0%, #f2f2f4 100%);
}
.bf-hero .bf-wrap { padding-block: 72px; }
.bf-hero__stripes {
  position: absolute;
  right: 6%;
  top: 0;
  bottom: 0;
  display: flex;
  gap: 28px;
  transform: skewX(-12deg);
  z-index: -1;
}
.bf-hero__stripes span { width: 34px; background: linear-gradient(180deg, #ffb100, #ff5a00 55%, #e0161b); opacity: 0.85; }
.bf-hero__stripes span:nth-child(2) { width: 14px; opacity: 0.55; }
.bf-hero__stripes span:nth-child(3) { width: 6px; opacity: 0.35; }
.bf-hero__heading {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(2.6rem, 7vw, 5.6rem) !important;
  line-height: 0.95 !important;
  color: var(--bf-ink);
}
.bf-hero__heading .bf-fire-text { display: block; }
.bf-hero__text { max-width: 52ch; margin: 22px 0 0; font-size: clamp(1rem, 1.4vw, 1.15rem); line-height: 1.6; color: var(--bf-muted); }
.bf-hero__buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.bf-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 36px 0 0; padding: 0; list-style: none; }
.bf-chips a {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid #dcdde1;
  border-radius: 999px;
  background: #fff;
  color: var(--bf-ink);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}
.bf-chips a:hover { border-color: #ff5a00; background: rgb(255 90 0 / 0.08); }

/* USP bar */
.bf-usp { background: #fafafb; border-block: 1px solid #ececee; }
.bf-usp__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0 auto !important;
  padding-block: 22px;
  list-style: none;
}
.bf-usp__list li { display: flex; align-items: center; gap: 14px; color: var(--bf-ink); margin: 0; }
.bf-usp__list strong { display: block; font-size: 0.9rem; letter-spacing: 0.03em; text-transform: uppercase; }
.bf-usp__list small { display: block; margin-top: 2px; font-size: 0.8rem; color: #6b717b; }
.bf-usp__icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: linear-gradient(160deg, #ffb100, #ff5a00 55%, #e0161b); }
.bf-usp__icon svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Sections */
.bf-section { padding-block: 72px; }
.bf-section--tight { padding-block: 24px 56px; }

/* Category tiles */
.bf-cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 32px; }
.bf-cat {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  aspect-ratio: 4 / 3;
  padding: 20px;
  border: 1px solid var(--bf-line);
  border-radius: 10px;
  background:
    radial-gradient(ellipse 80% 70% at 100% 0%, rgb(255 138 0 / 0.16), transparent 60%),
    linear-gradient(160deg, #ffffff, #f4f4f6);
  color: var(--bf-ink) !important;
  text-decoration: none !important;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.bf-cat::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #ffb100, #ff5a00, #e0161b);
  transform: scaleX(0.18);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.bf-cat:hover { transform: translateY(-3px); border-color: #ff5a00; box-shadow: 0 12px 32px rgb(255 90 0 / 0.14); }
.bf-cat:hover::after { transform: scaleX(1); }
.bf-cat__num {
  position: absolute;
  top: 10px;
  right: 16px;
  font-family: var(--bf-heading);
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 700;
  font-style: italic;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgb(21 23 28 / 0.12);
}
.bf-cat__label { font-family: var(--bf-heading); font-size: clamp(1.15rem, 2vw, 1.55rem); font-weight: 700; font-style: italic; line-height: 1.05; text-transform: uppercase; }
.bf-cat__cta { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bf-orange-text); }

/* Marquee */
.bf-marquee { overflow: hidden; padding-block: 28px; }
.bf-marquee__band {
  display: flex;
  width: 110%;
  margin-left: -5%;
  overflow: hidden;
  transform: rotate(-1.5deg);
  background: linear-gradient(90deg, #ffb100, #ff5a00 50%, #e0161b);
  box-shadow: 0 10px 30px rgb(255 90 0 / 0.2);
}
.bf-marquee__track { display: flex; align-items: center; flex: none; gap: 22px; padding: 12px 11px; animation: bf-marquee 38s linear infinite; }
.bf-marquee__track span { font-family: var(--bf-heading); font-size: clamp(1.1rem, 2.2vw, 1.6rem); font-weight: 700; font-style: italic; text-transform: uppercase; white-space: nowrap; color: #fff; }
.bf-marquee__track i { font-style: normal; font-weight: 700; color: rgb(255 255 255 / 0.6); }
@keyframes bf-marquee { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .bf-marquee__track { animation: none; } }

/* Product rows */
.bf-products-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding-top: 56px; margin-bottom: 24px; }
.bf-link { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--bf-orange-text) !important; text-decoration: none !important; }
.home .woocommerce.bf-products { max-width: 1290px !important; margin-inline: auto !important; padding-inline: 20px; box-sizing: border-box; }
.home .woocommerce-info { max-width: 1290px; margin-inline: auto; }

/* Promo */
.bf-promo {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(28px, 5vw, 56px);
  border-radius: 14px;
  background: linear-gradient(120deg, #ff8a00 0%, #ff5a00 45%, #d9141a 100%);
}
.bf-promo__text { margin: 10px 0 0; max-width: 48ch; color: rgb(255 255 255 / 0.92); }
.bf-promo__stripes { position: absolute; right: 18%; top: -20%; bottom: -20%; display: flex; gap: 18px; transform: skewX(-12deg); z-index: -1; }
.bf-promo__stripes span { width: 60px; background: rgb(255 255 255 / 0.1); }
.bf-promo__stripes span + span { width: 20px; }

/* About */
.bf-about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(24px, 5vw, 72px); padding-top: 56px; border-top: 1px solid #ececee; }
.bf-about .bf-fire-text { display: block; }
.bf-about__text { color: var(--bf-muted); line-height: 1.75; }
.bf-about__text p:first-child { margin-top: 0; }

@media (max-width: 989px) {
  .bf-usp__list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; }
  .bf-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 749px) {
  .bf-promo { flex-direction: column; align-items: flex-start; }
  .bf-about { grid-template-columns: 1fr; }
  .bf-hero__stripes { right: -40px; opacity: 0.45; }
  .bf-hero .bf-wrap { padding-block: 56px; }
}
@media (max-width: 479px) {
  .bf-usp__list small { display: none; }
  .bf-usp__icon { width: 36px; height: 36px; }
  .bf-usp__list strong { font-size: 0.78rem; }
  .bf-cats { gap: 10px; }
  .bf-cat { padding: 14px; aspect-ratio: 1 / 1; }
  .bf-section { padding-block: 48px; }
}

/* ---------- footer ---------- */
.bf-footer { background: #f6f6f7; border-top: 1px solid #ececee; padding-top: 56px; color: var(--bf-muted); }
.bf-footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 32px; }
.bf-footer__logo { width: auto; height: 44px; margin-bottom: 14px; }
.bf-footer__brand p { margin: 0 0 10px; max-width: 34ch; font-size: 0.9rem; line-height: 1.6; }
.bf-footer__mail a { color: var(--bf-ink); font-weight: 600; }
.bf-footer__title { margin: 0 0 14px; font-size: 1rem !important; font-style: normal !important; letter-spacing: 0.06em; color: var(--bf-ink); }
.bf-footer__links { margin: 0; padding: 0; list-style: none; }
.bf-footer__links li { margin: 0 0 9px; }
.bf-footer__links a { color: var(--bf-muted); font-size: 0.9rem; text-decoration: none; }
.bf-footer__links a:hover { color: #ff5a00; }
.bf-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 40px; padding-block: 22px; border-top: 1px solid #e3e4e8; }
.bf-footer__pay { display: flex; align-items: center; gap: 10px; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--bf-ink); }
.bf-pay { padding: 4px 10px; border: 1px solid #dcdde1; border-radius: 4px; background: #fff; font-weight: 700; color: var(--bf-ink); text-transform: none; letter-spacing: 0; }
.bf-footer__note { flex: 1 1 420px; margin: 0; font-size: 0.78rem; line-height: 1.6; text-align: right; }
.bf-footer__note a { color: inherit; text-decoration: underline; }
@media (max-width: 989px) {
  .bf-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bf-footer__brand { grid-column: 1 / -1; }
  .bf-footer__note { text-align: left; }
}

/* ---------- legal pages ---------- */
.bf-todo { background: #fff1b8; color: #8a4b00; padding: 0 4px; border-radius: 3px; font-weight: 600; }
.page:not(.home) .entry-content > h2 { font-size: 1.35rem !important; font-style: normal; margin-top: 2em; }

/* ---------- info pages: shipping + returns ---------- */
.bf-lead { font-size: 1.15rem; color: var(--bf-ink); }
.bf-small { font-size: 0.85rem; color: #6b717b; }
.bf-info-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 8px 0 24px; }
.bf-info-card { padding: 18px; border: 1px solid var(--bf-line); border-radius: 10px; background: linear-gradient(160deg, #fff, #f6f6f7); border-top: 3px solid #ff5a00; }
.bf-info-card__label { display: block; margin-bottom: 4px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bf-orange-text); }
.bf-info-card strong { color: var(--bf-ink); font-size: 1.05rem; }
.bf-table-wrap { overflow-x: auto; }
.bf-table { width: 100%; border-collapse: collapse; border: 1px solid var(--bf-line); border-radius: 10px; overflow: hidden; }
.bf-table th { background: var(--bf-ink); color: #fff; text-align: left; font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; }
.bf-table th, .bf-table td { padding: 12px 16px; border-bottom: 1px solid var(--bf-line); }
.bf-table tbody tr:nth-child(even) { background: #fafafb; }
.bf-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-block: 28px !important; padding: 0 !important; list-style: none; counter-reset: none; }
.bf-steps li { position: relative; margin: 0 !important; padding: 22px 18px 18px; border: 1px solid var(--bf-line); border-radius: 12px; background: #fff; }
.bf-steps li::after { content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 3px; background: var(--bf-fire); border-radius: 0 0 12px 12px; }
.bf-steps__num { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 12px; border-radius: 50%; background: var(--bf-fire); color: #fff; font-family: var(--bf-heading); font-size: 1.2rem; font-weight: 700; }
.bf-steps h3, .bf-rule h3, .bf-return-box h3 { margin: 0 0 6px; font-size: 1.05rem !important; font-style: normal; }
.bf-steps p { margin: 0; font-size: 0.92rem; }
.bf-rule-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 24px; }
.bf-rule { padding: 20px; border-radius: 12px; border: 1px solid; }
.bf-rule ul { margin: 0; padding-left: 1.1em; }
.bf-rule li { margin-bottom: 6px; }
.bf-rule--ok { border-color: #bfe3c9; background: #f3fbf5; }
.bf-rule--ok h3 { color: #17713a; }
.bf-rule--no { border-color: #f5c2c2; background: #fdf4f4; }
.bf-rule--no h3 { color: #b4161b; }
.bf-return-box { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; padding: 24px; border-radius: 12px; background: #fff3ea; border: 1px solid #ffd6b8; }
.bf-return-box p { margin: 0; }
@media (max-width: 989px) { .bf-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 749px) {
  .bf-info-grid, .bf-rule-grid, .bf-steps { grid-template-columns: 1fr; }
  .bf-return-box { flex-direction: column; align-items: flex-start; }
}

/* ---------- cart + checkout ---------- */
.woocommerce-cart .page-title, .woocommerce-checkout .page-title { margin-bottom: 8px; }
form.checkout h3, .woocommerce-checkout h3, .cart_totals h2 {
  font-size: 1.1rem !important; font-style: normal !important; letter-spacing: 0.04em; color: var(--bf-ink);
}
form.checkout #customer_details,
form.checkout #order_review,
.woocommerce-cart .cart_totals {
  padding: 24px; border: 1px solid var(--bf-line); border-radius: 14px; background: #fff; box-shadow: 0 6px 24px rgb(21 23 28 / 0.05);
}
form.checkout #order_review { position: relative; overflow: hidden; }
form.checkout #order_review::before, .woocommerce-cart .cart_totals::before {
  content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 4px; background: var(--bf-fire);
}
.woocommerce-cart .cart_totals { position: relative; overflow: hidden; }
form.checkout input.input-text, form.checkout select, form.checkout textarea,
.select2-container .select2-selection, .woocommerce-cart input.input-text {
  border-radius: 8px !important; border-color: #dcdde1 !important; min-height: 46px;
}
form.checkout input.input-text:focus, form.checkout textarea:focus, .woocommerce-cart input.input-text:focus {
  border-color: #ff5a00 !important; box-shadow: 0 0 0 3px rgb(255 90 0 / 0.15) !important; outline: none;
}
form.checkout label { font-weight: 600; font-size: 0.85rem; color: var(--bf-ink); }
#payment, .woocommerce-checkout #payment { background: #fafafb !important; border: 1px solid var(--bf-line); border-radius: 10px; }
#payment ul.payment_methods li { border-radius: 8px; }
#payment ul.payment_methods li input[type='radio']:checked + label { color: var(--bf-ink); font-weight: 700; }
.wc-gzd-checkbox-placeholder, .woocommerce-gzd-legal-checkbox-text { font-size: 0.85rem; line-height: 1.55; }
#place_order, .checkout-button {
  width: 100%; min-height: 56px; font-size: 1rem !important; letter-spacing: 0.08em; border-radius: 10px !important;
}
.bf-trust { display: grid; gap: 6px; margin: 14px 0 0 !important; padding: 0 !important; list-style: none; font-size: 0.8rem; color: #5b616b; }
.bf-trust li { position: relative; margin: 0 !important; padding-left: 22px; }
.bf-trust li::before {
  content: ''; position: absolute; left: 0; top: 0.2em; width: 14px; height: 14px; border-radius: 50%;
  background: var(--bf-fire); -webkit-mask: radial-gradient(circle, #000 60%, transparent 62%); mask: radial-gradient(circle, #000 60%, transparent 62%);
}
.bf-trust li::after { content: '✓'; position: absolute; left: 3px; top: 0; font-size: 0.65rem; font-weight: 700; color: #fff; line-height: 1.6; }
.woocommerce-checkout-review-order-table th, .woocommerce-checkout-review-order-table td, .cart_totals th, .cart_totals td { padding-block: 12px !important; }
.woocommerce-checkout-review-order-table .order-total th, .woocommerce-checkout-review-order-table .order-total td,
.cart_totals .order-total th, .cart_totals .order-total td { font-size: 1.1rem; color: var(--bf-ink); }
.woocommerce-message, .woocommerce-info, .woocommerce-error { border-radius: 10px; }
.woocommerce-info { border-left: 4px solid #ff5a00; }
.woocommerce-cart table.shop_table { border-radius: 14px; overflow: hidden; }
