/* ============================================
   FBT OUTLET — Design System
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Saira+Condensed:wght@500;600;700;800;900&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* Core palette */
  --black: #08080A;
  --black-2: #0F0F12;
  --surface: #141418;
  --surface-2: #1C1C22;
  --line: #26262E;
  --line-bright: #34343E;

  /* Red — the brand fuel */
  --red: #E01020;
  --red-hot: #FF1E2D;
  --red-deep: #8B0812;
  --red-glow: rgba(224, 16, 32, 0.35);

  /* Text */
  --white: #FFFFFF;
  --grey-1: #C9C9D2;
  --grey-2: #8B8B96;
  --grey-3: #56565F;

  /* Type */
  --display: 'Saira Condensed', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in: cubic-bezier(0.5, 0, 0.75, 0);

  --shell: 1280px;
  --nav-h: 76px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

::selection { background: var(--red); color: #fff; }

/* Speed-streak diagonal cut used throughout */
.skew-clip { clip-path: polygon(0 0, 100% 0, 94% 100%, 0 100%); }

/* ---------- Shell ---------- */
.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 28px; }

/* ---------- Typography ---------- */
.eyebrow {
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 34px; height: 2px;
  background: var(--red);
  transform: skewX(-20deg);
}

h1, h2, h3, h4 { font-family: var(--display); font-weight: 800; line-height: 0.95; letter-spacing: -0.01em; }

.h-hero {
  font-size: clamp(56px, 9vw, 132px);
  font-weight: 900;
  text-transform: uppercase;
  font-style: italic;
  letter-spacing: -0.02em;
}
.h-section { font-size: clamp(38px, 5.5vw, 76px); text-transform: uppercase; font-style: italic; }
.h-card { font-size: 22px; font-style: italic; text-transform: uppercase; }

.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--grey-1); max-width: 60ch; }

.text-red { color: var(--red); }
.text-grey { color: var(--grey-2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--display); font-weight: 700; font-size: 16px;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 16px 34px;
  position: relative;
  transition: transform 0.35s var(--ease), background 0.3s, color 0.3s;
  clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%);
}
.btn svg { width: 18px; height: 18px; transition: transform 0.35s var(--ease); }
.btn:hover svg { transform: translateX(5px); }

.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-hot); transform: translateY(-2px); box-shadow: 0 12px 40px var(--red-glow); }

.btn-ghost { background: transparent; color: #fff; border: 1.5px solid var(--line-bright); }
.btn-ghost:hover { border-color: var(--red); color: var(--red); }

.btn-block { width: 100%; justify-content: center; }

/* ---------- Navbar ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(8, 8, 10, 0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.nav.scrolled { border-bottom-color: var(--line); background: rgba(8, 8, 10, 0.92); }
.nav .shell { display: flex; align-items: center; justify-content: space-between; }

.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { height: 40px; width: auto; }

.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  font-family: var(--display); font-weight: 600; font-size: 15px;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--grey-1);
  position: relative; padding: 6px 0;
  transition: color 0.25s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; background: var(--red);
  transition: width 0.3s var(--ease);
  transform: skewX(-20deg);
}
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 18px; }
.icon-btn {
  color: var(--grey-1); position: relative;
  display: grid; place-items: center; width: 42px; height: 42px;
  transition: color 0.25s;
}
.icon-btn:hover { color: var(--red); }
.icon-btn svg { width: 22px; height: 22px; }
.cart-count {
  position: absolute; top: 4px; right: 2px;
  background: var(--red); color: #fff;
  font-family: var(--display); font-weight: 700; font-size: 11px;
  min-width: 18px; height: 18px; padding: 0 4px;
  display: grid; place-items: center; border-radius: 9px;
}

.burger { display: none; flex-direction: column; gap: 5px; width: 42px; height: 42px; justify-content: center; align-items: center; }
.burger span { width: 24px; height: 2px; background: #fff; transition: 0.3s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 99;
  background: var(--black-2);
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  padding: 40px 28px; display: flex; flex-direction: column; gap: 6px;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  font-family: var(--display); font-weight: 700; font-size: 30px;
  text-transform: uppercase; font-style: italic; padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.mobile-menu a:hover { color: var(--red); }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.section-head { margin-bottom: 60px; max-width: 760px; }
.section-head .eyebrow { margin-bottom: 22px; }

/* ---------- Footer ---------- */
.footer { background: var(--black-2); border-top: 1px solid var(--line); padding: 80px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 60px; }
.footer-brand img { height: 46px; margin-bottom: 22px; }
.footer-brand p { color: var(--grey-2); max-width: 34ch; font-size: 15px; }
.footer h4 { font-size: 16px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 22px; color: var(--white); font-style: normal; }
.footer-links { display: flex; flex-direction: column; gap: 13px; }
.footer-links a { color: var(--grey-2); font-size: 15px; transition: color 0.25s, padding 0.25s; }
.footer-links a:hover { color: var(--red); padding-left: 6px; }
.footer-socials { display: flex; gap: 12px; margin-top: 24px; }
.footer-socials a {
  width: 42px; height: 42px; display: grid; place-items: center;
  border: 1px solid var(--line-bright); color: var(--grey-1);
  transition: 0.25s;
}
.footer-socials a:hover { background: var(--red); border-color: var(--red); color: #fff; transform: translateY(-3px); }
.footer-socials svg { width: 19px; height: 19px; }
.footer-bottom {
  border-top: 1px solid var(--line); padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  color: var(--grey-3); font-size: 14px; flex-wrap: wrap; gap: 12px;
}
.footer-bottom a { color: var(--grey-3); }
.footer-bottom a:hover { color: var(--red); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Utility ---------- */
.grid { display: grid; }
.flex { display: flex; }
.tag {
  display: inline-block; font-family: var(--display); font-weight: 700;
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 5px 12px; background: var(--red); color: #fff;
  clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%);
}
.tag.grey { background: var(--surface-2); color: var(--grey-1); }
.tag.cond-new { background: #123d1f; color: #4ade80; }
.tag.cond-used { background: #3a2c0a; color: #fbbf24; }
.tag.sold { background: #2a2a30; color: #cfcfd6; }
.product-card.is-soldout .product-media img { opacity: .5; filter: grayscale(.5); }
.no-results { grid-column: 1 / -1; text-align: center; padding: 60px 20px; color: var(--grey-1); font-size: 16px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 860px) {
  .nav-links, .nav .btn { display: none; }
  .burger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .shell { padding: 0 18px; }
  .btn { padding: 14px 26px; font-size: 15px; }
}

/* ============================================
   Search overlay
   ============================================ */
.nav-search{position:relative;display:flex;align-items:center;gap:2px;background:var(--surface-2);
  border:1px solid var(--line-bright);border-radius:12px;padding:3px 3px 3px 14px;transition:.18s var(--ease)}
.nav-search:focus-within{border-color:var(--red);box-shadow:0 0 0 3px var(--red-glow);background:var(--surface)}
.nav-search-input{width:170px;max-width:42vw;background:none;border:none;outline:none;color:#fff;
  font-family:var(--body);font-size:14px;padding:8px 0}
.nav-search-input::placeholder{color:var(--grey-2);opacity:1}
.nav-search-input::-webkit-search-cancel-button{-webkit-appearance:none}
.nav-search .nav-search-btn{border:none;background:none;width:34px;height:34px;border-radius:9px;
  display:grid;place-items:center;color:var(--grey-1);flex:0 0 auto;transition:.15s}
.nav-search .nav-search-btn:hover{color:#fff;background:var(--surface-2)}
.nav-search .nav-search-btn svg{width:19px;height:19px}
.nav-search-results{position:absolute;top:calc(100% + 8px);right:0;width:360px;max-width:80vw;
  background:var(--surface);border:1px solid var(--line);border-radius:14px;overflow:hidden;
  max-height:62vh;overflow-y:auto;box-shadow:0 24px 60px -20px #000;display:none;z-index:130}
.nav-search-results.show{display:block}
.search-result{display:flex;align-items:center;gap:14px;padding:12px 16px;border-bottom:1px solid var(--line);
  color:#fff;text-decoration:none;transition:background .12s}
.search-result:last-child{border-bottom:none}
.search-result:hover{background:var(--surface-2)}
.sr-img{width:46px;height:46px;flex:0 0 auto;border-radius:10px;border:1px solid var(--line-bright);
  background-size:cover;background-position:center}
.sr-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.sr-name{font-weight:600;font-size:14.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sr-meta{font-size:12.5px;color:var(--grey-2)}
.sr-price{font-family:var(--display);font-weight:700;font-size:16px;white-space:nowrap}
.search-empty{padding:22px 18px;text-align:center;color:var(--grey-2);font-size:14px}
@media (max-width:1080px){.nav-search-input{width:120px}}
@media (max-width:560px){.nav-search{padding-left:10px}.nav-search-input{width:110px}.nav-search-results{width:290px}}

/* Search bar on very small phones — keep the nav from overflowing */
.nav-search{min-width:0}
@media (max-width:480px){
  .nav-actions{gap:8px}
  .nav-search{padding-left:8px}
  .nav-search-input{width:84px}
  .nav-search-results{width:88vw;right:-46px}
}

/* ============================================
   Category navigation (dropdowns + mobile accordion)
   ============================================ */
/* Desktop dropdown */
.cat-nav { position: relative; display: inline-flex; }
.cat-nav-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: none; cursor: pointer;
  color: var(--grey-1); font-family: var(--body); font-size: 15px; font-weight: 500;
  padding: 0; transition: color .15s;
}
.cat-nav-btn:hover, .cat-nav.open .cat-nav-btn { color: #fff; }
.cn-caret { width: 15px; height: 15px; transition: transform .2s var(--ease); }
.cat-nav.open .cn-caret { transform: rotate(180deg); }
.cat-nav-menu {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(-6px);
  min-width: 230px; background: var(--surface); border: 1px solid var(--line-bright);
  border-radius: 14px; padding: 8px; display: none; flex-direction: column; gap: 2px;
  box-shadow: 0 24px 60px -20px #000; z-index: 60;
}
.cat-nav.open .cat-nav-menu { display: flex; transform: translateX(-50%) translateY(0); }
.cat-nav-menu a { padding: 10px 14px; border-radius: 9px; font-size: 14px; color: var(--grey-1); white-space: nowrap; transition: .12s; }
.cat-nav-menu a:hover { background: var(--surface-2); color: #fff; }
.cat-nav-menu .cn-all { color: var(--red); font-weight: 600; border-bottom: 1px solid var(--line); border-radius: 9px 9px 0 0; margin-bottom: 4px; }
.cat-nav-menu .cn-all:hover { color: #fff; background: var(--red-deep); }

/* Mobile accordion (inside .mobile-menu) */
.m-cat { width: 100%; }
.m-cat-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  background: none; border: none; cursor: pointer; color: inherit;
  font: inherit; padding: 0; /* inherit the look of .mobile-menu a */
}
.m-cat-caret { font-size: 1.4em; line-height: 1; color: var(--red); width: 24px; text-align: center; }
.m-cat-list { display: none; flex-direction: column; }
.m-cat.open .m-cat-list { display: flex; }
.m-cat-list a { font-size: 0.82em !important; opacity: .85; padding-left: 18px !important; }
.m-cat-list a.cn-all, .m-cat-list a:first-child { color: var(--red); opacity: 1; }
