/* F-Body Custom Designs storefront. Loaded last; wins over legacy theme CSS. */
:root {
  --fb-ink: #0e1116;
  --fb-ink-2: #1a1f27;
  --fb-paper: #ffffff;
  --fb-gray: #f4f5f7;
  --fb-line: #e4e7eb;
  --fb-soft: #6b7280;
  --fb-accent: #d6001c;
  --fb-accent-dark: #a80016;
  --fb-radius: 12px;
  --fb-shadow: 0 1px 2px rgba(14,17,22,.06), 0 10px 30px rgba(14,17,22,.08);
  --fb-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --fb-display: "Barlow Condensed", "Inter", sans-serif;
}

body.fb-body {
  margin: 0;
  font-family: var(--fb-font) !important;
  color: var(--fb-ink);
  background: var(--fb-paper);
  -webkit-font-smoothing: antialiased;
}
body.fb-body a { color: var(--fb-ink); text-decoration: none; }
body.fb-body h1, body.fb-body h2, body.fb-body h3 {
  font-family: var(--fb-display);
  text-transform: uppercase;
  letter-spacing: .02em;
  color: var(--fb-ink);
}

.fb-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ---------- header ---------- */
.fb-topbar { background: var(--fb-ink); color: #cbd2dc; font-size: 13px; }
.fb-topbar-inner { max-width: 1200px; margin: 0 auto; padding: 7px 20px; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.fb-topbar a { color: #cbd2dc; }
.fb-topbar a:hover { color: #fff; }
.fb-topbar .fb-top-left, .fb-topbar .fb-top-right { display: flex; gap: 16px; align-items: center; }
.fb-lang a.active { color: #fff; font-weight: 700; }

.fb-header { background: var(--fb-ink-2); position: sticky; top: 0; z-index: 60; box-shadow: 0 2px 14px rgba(0,0,0,.35); }
.fb-header-inner { max-width: 1200px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; gap: 22px; }
.fb-logo img { height: 52px; width: auto; display: block; }
.fb-search { flex: 1; display: flex; max-width: 520px; }
.fb-search input {
  flex: 1; min-width: 0; border: 1px solid #313845; background: #11151c; color: #fff;
  border-radius: 8px 0 0 8px; padding: 10px 14px; font-size: 14px; font-family: var(--fb-font);
}
.fb-search input::placeholder { color: #7d8694; }
.fb-search input:focus { outline: none; border-color: var(--fb-accent); }
.fb-search button {
  border: 0; background: var(--fb-accent); color: #fff; padding: 0 18px;
  border-radius: 0 8px 8px 0; cursor: pointer; font-size: 15px;
}
.fb-search button:hover { background: var(--fb-accent-dark); }
.fb-cart { margin-left: auto; display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 600; font-size: 14px; }
.fb-cart .fb-cart-count {
  background: var(--fb-accent); color: #fff; border-radius: 999px; min-width: 22px; height: 22px;
  display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; padding: 0 6px;
}
.fb-cart:hover { color: #fff; }

.fb-nav { background: var(--fb-ink-2); border-top: 1px solid #29303b; }
.fb-nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; gap: 4px; }
.fb-nav a, .fb-nav button {
  font-family: var(--fb-display); text-transform: uppercase; letter-spacing: .04em;
  color: #d6dbe3; background: none; border: 0; cursor: pointer;
  font-size: 16px; font-weight: 600; padding: 12px 14px; display: inline-block;
}
.fb-nav a:hover, .fb-nav button:hover, .fb-nav a.active { color: #fff; box-shadow: inset 0 -3px 0 var(--fb-accent); }
.fb-dd { position: relative; }
.fb-dd-menu {
  display: none; position: absolute; left: 0; top: 100%; background: #fff; min-width: 240px;
  border-radius: 0 0 10px 10px; box-shadow: var(--fb-shadow); padding: 8px 0; z-index: 70;
}
.fb-dd.open .fb-dd-menu { display: block; }
.fb-dd-menu a {
  display: block; color: var(--fb-ink); font-family: var(--fb-font); text-transform: none;
  letter-spacing: 0; font-size: 14px; font-weight: 500; padding: 9px 16px; box-shadow: none;
}
.fb-dd-menu a:hover { background: var(--fb-gray); color: var(--fb-ink); box-shadow: none; }
.fb-burger { display: none; margin-left: auto; background: none; border: 0; cursor: pointer; padding: 8px; }
.fb-burger span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; }

@media (max-width: 880px) {
  .fb-header-inner { flex-wrap: wrap; gap: 12px; }
  .fb-logo img { height: 42px; }
  .fb-burger { display: block; }
  .fb-cart { margin-left: 0; }
  .fb-search { order: 3; max-width: none; flex-basis: 100%; }
  .fb-nav-inner { display: none; flex-direction: column; align-items: stretch; padding: 8px 12px; }
  .fb-nav-inner.open { display: flex; }
  .fb-nav a, .fb-nav button { padding: 11px 8px; text-align: left; width: 100%; }
  .fb-dd-menu { position: static; box-shadow: none; border-radius: 0; background: #11151c; }
  .fb-dd-menu a { color: #d6dbe3; }
  .fb-dd-menu a:hover { background: #1a1f27; color: #fff; }
}

/* ---------- hero ---------- */
.fb-hero { position: relative; min-height: 440px; display: flex; align-items: center; overflow: hidden; background: var(--fb-ink); }
.fb-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .45; }
.fb-hero-content { position: relative; max-width: 1200px; margin: 0 auto; padding: 64px 20px; color: #fff; }
.fb-hero-kicker { color: var(--fb-accent); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: 13px; margin: 0 0 10px; }
.fb-hero h1 { color: #fff; font-size: clamp(34px, 6vw, 60px); line-height: 1.02; margin: 0 0 14px; max-width: 720px; }
.fb-hero-sub { color: #c9d0da; font-size: 17px; line-height: 1.55; max-width: 560px; margin: 0 0 26px; }
.fb-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- buttons ---------- */
.fb-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--fb-font); font-weight: 700; font-size: 14px;
  border-radius: 9px; padding: 12px 22px; border: 0; cursor: pointer; transition: background .15s, color .15s;
}
.fb-btn-primary { background: var(--fb-accent); color: #fff !important; }
.fb-btn-primary:hover { background: var(--fb-accent-dark); }
.fb-btn-ghost { background: transparent; color: #fff !important; border: 1px solid rgba(255,255,255,.45); }
.fb-btn-ghost:hover { border-color: #fff; }
.fb-btn-whatsapp { background: #1ebe5d; color: #fff !important; }
.fb-btn-whatsapp:hover { background: #169c4b; }
.fb-btn-lg { padding: 15px 30px; font-size: 16px; flex: 1; }
.fb-link { color: var(--fb-accent) !important; font-weight: 600; font-size: 14px; }

/* ---------- sections ---------- */
.fb-section { max-width: 1200px; margin: 0 auto; padding: 44px 20px 8px; }
.fb-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.fb-section-head h2 { font-size: 30px; margin: 0; }
.fb-section-head h2::after { content: ""; display: block; width: 56px; height: 4px; background: var(--fb-accent); margin-top: 8px; border-radius: 2px; }

/* ---------- category grid ---------- */
.fb-cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.fb-cat { position: relative; border-radius: var(--fb-radius); overflow: hidden; aspect-ratio: 1 / 1; display: block; background: var(--fb-ink); }
.fb-cat img { width: 100%; height: 100%; object-fit: cover; opacity: .8; transition: transform .25s, opacity .25s; display: block; }
.fb-cat:hover img { transform: scale(1.05); opacity: .65; }
.fb-cat-name {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 14px 14px; color: #fff;
  font-family: var(--fb-display); text-transform: uppercase; font-weight: 700; font-size: 18px; letter-spacing: .03em;
  background: linear-gradient(transparent, rgba(0,0,0,.78));
}

/* ---------- product cards ---------- */
.fb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.fb-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--fb-line);
  border-radius: var(--fb-radius); overflow: hidden; transition: box-shadow .2s, transform .2s;
}
.fb-card:hover { box-shadow: var(--fb-shadow); transform: translateY(-2px); }
.fb-card-img { position: relative; aspect-ratio: 4 / 3; background: var(--fb-gray); }
.fb-card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.fb-card-img .fb-card-img-alt { opacity: 0; transition: opacity .25s; }
.fb-card:hover .fb-card-img-alt { opacity: 1; }
.fb-card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.fb-card-title { font-family: var(--fb-font); text-transform: none; font-size: 14.5px; font-weight: 600; line-height: 1.35; margin: 0; color: var(--fb-ink); }
.fb-card-price { font-size: 17px; font-weight: 800; color: var(--fb-ink); margin: 0; }
.fb-card-cta { margin-top: auto; color: var(--fb-accent); font-weight: 700; font-size: 13px; }

.fb-empty { text-align: center; color: var(--fb-soft); padding: 60px 20px; }
.fb-empty .fb-btn { margin-top: 16px; }

/* ---------- trust strip ---------- */
.fb-trust { background: var(--fb-gray); margin-top: 48px; }
.fb-trust-inner { max-width: 1200px; margin: 0 auto; padding: 34px 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
.fb-trust-item { display: flex; gap: 14px; align-items: flex-start; }
.fb-trust-item i { color: var(--fb-accent); font-size: 22px; margin-top: 3px; }
.fb-trust-item strong { display: block; font-size: 15px; margin-bottom: 3px; }
.fb-trust-item span { color: var(--fb-soft); font-size: 13.5px; line-height: 1.5; }

/* ---------- product page ---------- */
.fb-product { max-width: 1200px; margin: 0 auto; padding: 34px 20px 10px; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; }
@media (max-width: 880px) { .fb-product { grid-template-columns: 1fr; gap: 24px; } }
.fb-gallery-main { border: 1px solid var(--fb-line); border-radius: var(--fb-radius); overflow: hidden; background: var(--fb-gray); aspect-ratio: 4 / 3; }
.fb-gallery-main img { width: 100%; height: 100%; object-fit: contain; display: block; }
.fb-gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.fb-thumb { width: 72px; height: 72px; border: 2px solid var(--fb-line); border-radius: 8px; overflow: hidden; padding: 0; background: var(--fb-gray); cursor: pointer; }
.fb-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fb-thumb.active { border-color: var(--fb-accent); }
.fb-product-info h1 { font-size: 32px; margin: 0 0 8px; line-height: 1.05; }
.fb-product-price { font-size: 30px; font-weight: 800; margin: 4px 0 10px; }
.fb-made-to-order { color: var(--fb-soft); font-size: 14px; margin: 0 0 18px; }
.fb-made-to-order i { color: var(--fb-accent); margin-right: 6px; }
.fb-specs { margin: 0 0 22px; border-top: 1px solid var(--fb-line); }
.fb-specs > div { display: flex; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--fb-line); font-size: 14px; }
.fb-specs dt { font-weight: 700; min-width: 110px; margin: 0; }
.fb-specs dd { margin: 0; color: var(--fb-soft); }
.fb-buy { display: flex; gap: 12px; align-items: stretch; margin-bottom: 12px; flex-wrap: wrap; }
.fb-qty { display: flex; border: 1px solid var(--fb-line); border-radius: 9px; overflow: hidden; }
.fb-qty-btn { width: 44px; border: 0; background: var(--fb-gray); font-size: 18px; cursor: pointer; }
.fb-qty input { width: 56px; border: 0; text-align: center; font-size: 16px; font-weight: 700; font-family: var(--fb-font); -moz-appearance: textfield; }
.fb-qty input::-webkit-outer-spin-button, .fb-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.fb-qty input:focus { outline: none; }
.fb-product-cat { font-size: 14px; color: var(--fb-soft); margin-top: 16px; }
.fb-product-cat a { color: var(--fb-accent); font-weight: 600; }
.fb-desc { max-width: 1200px; margin: 26px auto 0; padding: 0 20px; }
.fb-desc h2 { font-size: 24px; }
.fb-desc p { color: #3c4350; line-height: 1.7; font-size: 15px; max-width: 820px; }

/* ---------- cart ---------- */
.fb-steps { display: flex; gap: 10px; justify-content: center; padding: 26px 20px 0; font-family: var(--fb-display); text-transform: uppercase; font-weight: 600; color: var(--fb-soft); flex-wrap: wrap; }
.fb-steps .current { color: var(--fb-ink); box-shadow: inset 0 -3px 0 var(--fb-accent); }
.fb-steps span.sep { color: var(--fb-line); }
.fb-cart-page { max-width: 1200px; margin: 0 auto; padding: 26px 20px 50px; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 34px; align-items: start; }
@media (max-width: 880px) { .fb-cart-page { grid-template-columns: 1fr; } }
.fb-cart-item { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--fb-line); align-items: center; }
.fb-cart-item img { width: 86px; height: 86px; object-fit: cover; border-radius: 10px; border: 1px solid var(--fb-line); }
.fb-cart-item-info { flex: 1; min-width: 0; }
.fb-cart-item-info a { font-weight: 600; font-size: 15px; }
.fb-cart-item-info a:hover { color: var(--fb-accent); }
.fb-cart-item-meta { color: var(--fb-soft); font-size: 13.5px; margin-top: 4px; }
.fb-cart-item-total { font-weight: 800; font-size: 16px; white-space: nowrap; }
.fb-cart-remove { color: var(--fb-soft); font-size: 13px; margin-top: 6px; display: inline-block; }
.fb-cart-remove:hover { color: var(--fb-accent); }
.fb-summary { background: var(--fb-gray); border-radius: var(--fb-radius); padding: 24px; position: sticky; top: 96px; }
.fb-summary h2 { font-size: 22px; margin: 0 0 14px; }
.fb-summary-row { display: flex; justify-content: space-between; padding: 9px 0; font-size: 15px; border-bottom: 1px solid var(--fb-line); }
.fb-summary-row.total { font-weight: 800; font-size: 18px; border-bottom: 0; }
.fb-summary .fb-btn { width: 100%; margin-top: 16px; }
.fb-pay-icons { margin-top: 14px; color: var(--fb-soft); font-size: 26px; display: flex; gap: 10px; }

/* ---------- footer ---------- */
.fb-footer { background: var(--fb-ink); color: #aeb6c2; margin-top: 60px; }
.fb-footer-inner { max-width: 1200px; margin: 0 auto; padding: 44px 20px 30px; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 30px; }
.fb-footer img { height: 44px; width: auto; margin-bottom: 14px; }
.fb-footer h4 { color: #fff; font-family: var(--fb-display); text-transform: uppercase; font-size: 17px; margin: 0 0 12px; }
.fb-footer a { color: #aeb6c2; display: block; padding: 4px 0; font-size: 14px; }
.fb-footer a:hover { color: #fff; }
.fb-footer p { font-size: 14px; line-height: 1.6; margin: 0 0 8px; }
.fb-footer i { color: var(--fb-accent); width: 18px; }
.fb-footer-bottom { border-top: 1px solid #232a34; text-align: center; font-size: 13px; color: #7d8694; padding: 16px 20px; }

/* ---------- polish round 1: contrast hardening over legacy CSS ---------- */
body.fb-body .fb-hero h1 { color: #fff; }
body.fb-body .fb-hero-sub { color: #d3d9e2; }
body.fb-body .fb-hero-kicker { color: #ff4d5e; }
.fb-hero { min-height: 520px; }
.fb-hero-bg { opacity: .65; }
.fb-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(90deg, rgba(10,12,16,.94) 0%, rgba(10,12,16,.72) 45%, rgba(10,12,16,.18) 100%);
}
.fb-hero-content { z-index: 1; }
body.fb-body .fb-topbar a, body.fb-body .fb-topbar span { color: #cbd2dc; font-size: 13px; }
body.fb-body .fb-topbar a:hover { color: #fff; }
body.fb-body .fb-lang a.active { color: #fff; font-weight: 700; }
body.fb-body .fb-nav a, body.fb-body .fb-nav button { color: #e3e7ed; }
body.fb-body .fb-nav a:hover, body.fb-body .fb-nav button:hover, body.fb-body .fb-nav a.active { color: #fff; }
body.fb-body .fb-cart, body.fb-body .fb-cart span { color: #fff; }
.fb-logo img { height: 58px; }
@media (max-width: 880px) {
  .fb-hero { min-height: 420px; }
  .fb-hero::before { background: rgba(10,12,16,.82); }
}

/* ---------- polish round 2: nav normalization (immune to legacy CSS) ---------- */
body.fb-body .fb-nav-inner { display: flex; align-items: stretch; gap: 0; }
body.fb-body .fb-nav-inner > a,
body.fb-body .fb-nav-inner .fb-dd > button {
  all: unset;
  box-sizing: border-box;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 54px;
  padding: 0 18px;
  font-family: var(--fb-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #e3e7ed;
  border-top: 3px solid transparent;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
}
body.fb-body .fb-nav-inner > a:hover,
body.fb-body .fb-nav-inner .fb-dd > button:hover { color: #fff; border-bottom-color: rgba(214,0,28,.45); }
body.fb-body .fb-nav-inner > a.active { color: #fff; border-bottom-color: var(--fb-accent); }
body.fb-body .fb-nav .fb-dd { display: flex; align-items: stretch; position: relative; }
body.fb-body .fb-dd-menu a {
  all: unset;
  box-sizing: border-box;
  cursor: pointer;
  display: block;
  width: 100%;
  padding: 10px 16px;
  font-family: var(--fb-font);
  font-size: 14px;
  font-weight: 500;
  color: var(--fb-ink);
}
body.fb-body .fb-dd-menu a:hover { background: var(--fb-gray); color: var(--fb-ink); }
@media (max-width: 880px) {
  body.fb-body .fb-nav-inner { flex-direction: column; align-items: stretch; }
  body.fb-body .fb-nav-inner > a,
  body.fb-body .fb-nav-inner .fb-dd > button {
    height: auto;
    width: 100%;
    padding: 13px 10px;
    border-top: 0;
    border-bottom: 1px solid #29303b;
  }
  body.fb-body .fb-nav-inner > a.active { border-bottom-color: var(--fb-accent); }
  body.fb-body .fb-nav .fb-dd { flex-direction: column; }
  body.fb-body .fb-dd-menu a { color: #d6dbe3; }
  body.fb-body .fb-dd-menu a:hover { background: #1a1f27; color: #fff; }
}

/* ---------- polish round 3: mobile menu collapsed by default ---------- */
@media (max-width: 880px) {
  body.fb-body .fb-nav-inner { display: none; }
  body.fb-body .fb-nav-inner.open { display: flex; }
  .fb-hero-content { padding: 44px 20px; }
  .fb-hero h1 { font-size: clamp(30px, 9vw, 44px); }
}

/* ---------- polish round 4: compact grids, 2-up on mobile like the old site ---------- */
.fb-cat-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
@media (max-width: 880px) {
  .fb-cat-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .fb-cat-name { font-size: 15px; padding: 26px 10px 10px; }
  .fb-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .fb-card-body { padding: 10px 12px 12px; gap: 4px; }
  .fb-card-title { font-size: 13px; }
  .fb-card-price { font-size: 15px; }
  .fb-card-cta { font-size: 12px; }
  .fb-section { padding: 32px 14px 6px; }
  .fb-section-head h2 { font-size: 24px; }
}
