/*
Theme Name: FootOutlet
Theme URI: https://footoutlet.fr
Author: FootOutlet
Description: Conversion-first WooCommerce theme for FootOutlet.fr.
Version: 1.0.0
Requires at least: 6.6
Tested up to: 7.0
Requires PHP: 8.3
Text Domain: footoutlet
*/

:root {
  --fo-ink: #071019;
  --fo-ink-2: #101923;
  --fo-panel: #ffffff;
  --fo-soft: #f4f6f8;
  --fo-line: #dfe4ea;
  --fo-muted: #637083;
  --fo-yellow: #ffb81c;
  --fo-yellow-2: #ffcc46;
  --fo-orange: #ff5a1f;
  --fo-red: #e92819;
  --fo-green: #087a3b;
  --fo-star: #ffb703;
  --fo-blue: #0057a8;
  --fo-shadow: 0 10px 30px rgba(7, 16, 25, 0.08);
  --fo-radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--fo-ink);
  background: var(--fo-soft);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.45;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, select { font: inherit; }

.fo-shell {
  width: min(100% - 32px, 1520px);
  margin-inline: auto;
}

.fo-topbar,
.fo-mainbar,
.fo-menubar {
  color: #fff;
  background: var(--fo-ink);
}
.fo-topbar {
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 13px;
}
.fo-topbar__inner,
.fo-mainbar__inner,
.fo-menubar__inner {
  display: flex;
  align-items: center;
  gap: 20px;
}
.fo-topbar__inner {
  min-height: 34px;
  justify-content: center;
  flex-wrap: wrap;
  color: rgba(255,255,255,0.88);
}
.fo-topbar strong { color: var(--fo-yellow); }

.fo-mainbar {
  background: linear-gradient(180deg, #080d13 0%, #0f1720 100%);
}
.fo-mainbar__inner {
  min-height: 72px;
}
.fo-logo {
  display: flex;
  flex-direction: column;
  min-width: 170px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 0.9;
  font-size: 28px;
}
.fo-logo span { color: var(--fo-yellow); }
.fo-logo small {
  margin-left: 88px;
  color: #39a7ff;
  font-size: 12px;
  font-style: italic;
  letter-spacing: 0;
}
.fo-location {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 130px;
  color: rgba(255,255,255,0.92);
  font-size: 13px;
}
.fo-search {
  display: grid;
  grid-template-columns: 178px minmax(200px, 1fr) 118px;
  flex: 1;
  min-width: 280px;
  overflow: hidden;
  border-radius: 5px;
  background: #fff;
}
.fo-search select,
.fo-search input {
  min-width: 0;
  height: 46px;
  border: 0;
  background: #fff;
  color: var(--fo-ink);
  padding: 0 14px;
}
.fo-search select {
  border-right: 1px solid var(--fo-line);
  font-size: 13px;
}
.fo-search button {
  border: 0;
  background: var(--fo-yellow);
  color: #141414;
  font-weight: 800;
  cursor: pointer;
}
.fo-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 330px;
  justify-content: flex-end;
}
.fo-action {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}
.fo-cart-count {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--fo-yellow);
  color: #111;
  font-weight: 900;
}

.fo-menubar {
  background: #111b26;
  box-shadow: 0 4px 16px rgba(0,0,0,0.14);
}
.fo-menubar__inner {
  min-height: 46px;
  justify-content: space-between;
}
.fo-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}
.fo-nav::-webkit-scrollbar { display: none; }
.fo-nav a,
.fo-menu-trigger {
  color: rgba(255,255,255,0.94);
  font-size: 14px;
  font-weight: 700;
}
.fo-menu-trigger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-right: 18px;
  border-right: 1px solid rgba(255,255,255,0.16);
}
.fo-menu-trigger span {
  width: 20px;
  height: 14px;
  position: relative;
}
.fo-menu-trigger span::before,
.fo-menu-trigger span::after,
.fo-menu-trigger i {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: #fff;
}
.fo-menu-trigger span::before { top: 0; }
.fo-menu-trigger i { top: 6px; }
.fo-menu-trigger span::after { bottom: 0; }
.fo-menubar__promise {
  display: flex;
  gap: 26px;
  color: rgba(255,255,255,0.9);
  font-size: 13px;
  font-weight: 700;
}

.fo-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 22px;
  padding-block: 22px 36px;
}
.fo-sidebar {
  align-self: start;
  position: sticky;
  top: 14px;
  padding: 0 4px;
}
.fo-filter {
  padding: 14px 0;
  border-bottom: 1px solid var(--fo-line);
}
.fo-filter h3,
.fo-main-title {
  margin: 0 0 12px;
}
.fo-filter h3 {
  font-size: 14px;
}
.fo-filter ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.fo-filter li,
.fo-check {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 26px;
  color: #1b2633;
  font-size: 13px;
}
.fo-filter em {
  color: var(--fo-muted);
  font-style: normal;
}
.fo-filter .is-sale { color: var(--fo-red); font-weight: 800; }
.fo-price-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto;
  gap: 8px;
  align-items: center;
}
.fo-price-row input {
  width: 100%;
  height: 36px;
  border: 1px solid var(--fo-line);
  border-radius: 5px;
  padding: 0 10px;
}
.fo-price-row button {
  height: 36px;
  border: 1px solid var(--fo-line);
  border-radius: 5px;
  background: #fff;
  font-weight: 800;
}
.fo-sizes,
.fo-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.fo-size {
  min-width: 34px;
  height: 30px;
  border: 1px solid var(--fo-line);
  border-radius: 5px;
  background: #fff;
  font-size: 12px;
  display: inline-grid;
  place-items: center;
}
.fo-swatch {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.18);
}

.fo-main {
  min-width: 0;
}
.fo-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) 1fr;
  min-height: 315px;
  overflow: hidden;
  border-radius: var(--fo-radius);
  background: #070c13;
  box-shadow: var(--fo-shadow);
}
.fo-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5,9,14,0.92) 0%, rgba(5,9,14,0.72) 35%, rgba(5,9,14,0.08) 67%, rgba(5,9,14,0.12) 100%);
}
.fo-hero__copy {
  position: relative;
  z-index: 1;
  padding: clamp(28px, 4vw, 54px);
  color: #fff;
}
.fo-eyebrow {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 28px;
  font-weight: 900;
}
.fo-hero h1 {
  max-width: 680px;
  margin: 0 0 14px;
  font-size: clamp(42px, 5.4vw, 82px);
  line-height: 0.92;
  letter-spacing: 0;
}
.fo-hero h1 strong { color: var(--fo-yellow); }
.fo-hero p {
  max-width: 520px;
  margin: 0 0 24px;
  font-size: clamp(17px, 1.55vw, 22px);
}
.fo-hero__media {
  min-height: 100%;
  background: url("assets/images/outlet-hero.png") center right / cover no-repeat;
}
.fo-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-weight: 900;
  background: var(--fo-yellow);
  color: #151515;
}
.fo-button--ghost {
  margin-left: 10px;
  border-color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.08);
  color: #fff;
}

.fo-section {
  margin-top: 24px;
}
.fo-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}
.fo-section__head h2 {
  margin: 0;
  font-size: 22px;
  letter-spacing: 0;
}
.fo-link {
  color: var(--fo-blue);
  font-size: 13px;
  font-weight: 800;
}
.fo-cats {
  display: grid;
  grid-template-columns: repeat(9, minmax(100px, 1fr));
  gap: 12px;
}
.fo-cat {
  position: relative;
  min-height: 106px;
  padding: 12px;
  border: 1px solid var(--fo-line);
  border-radius: var(--fo-radius);
  background: var(--fo-panel);
  box-shadow: 0 4px 14px rgba(7, 16, 25, 0.04);
  display: grid;
  place-items: end center;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
}
.fo-cat::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 20px;
  right: 20px;
  height: 48px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 65%, rgba(7,16,25,0.16), rgba(7,16,25,0) 58%);
}
.fo-cat__shoe {
  position: absolute;
  top: 18px;
  width: 66px;
  height: 34px;
  border-radius: 56% 44% 45% 40%;
  transform: skewX(-18deg) rotate(-8deg);
  background: linear-gradient(135deg, #fff 0 42%, #eceff3 43% 100%);
  border-bottom: 7px solid #d6dbe1;
  box-shadow: 10px 8px 18px rgba(0,0,0,0.09);
}
.fo-cat:nth-child(2) .fo-cat__shoe { background: linear-gradient(135deg, #111 0 45%, #fff 46% 60%, #171717 61%); }
.fo-cat:nth-child(3) .fo-cat__shoe { background: linear-gradient(135deg, #121212 0 45%, #d71920 46% 75%, #fff 76%); }
.fo-cat:nth-child(4) .fo-cat__shoe { background: linear-gradient(135deg, #111 0 50%, #fff 51% 62%, #222 63%); }
.fo-cat:nth-child(5) .fo-cat__shoe { background: linear-gradient(135deg, #a7adb5 0 40%, #6a717b 41% 72%, #d6dbe1 73%); }
.fo-cat:nth-child(6) .fo-cat__shoe { background: linear-gradient(135deg, #0b1410 0 45%, #1c7c45 46% 65%, #111 66%); }
.fo-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 8px;
  border-radius: 4px;
  background: var(--fo-orange);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.fo-tabs {
  display: flex;
  gap: 26px;
  font-size: 13px;
  color: var(--fo-muted);
}
.fo-tabs a:first-child {
  color: var(--fo-ink);
  font-weight: 900;
  padding-bottom: 8px;
  border-bottom: 3px solid var(--fo-yellow);
}
.fo-sort {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.fo-sort select {
  height: 34px;
  border: 1px solid var(--fo-line);
  border-radius: 5px;
  background: #fff;
}
.fo-products,
.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.fo-product,
.woocommerce ul.products li.product {
  position: relative;
  width: auto !important;
  margin: 0 !important;
  padding: 14px !important;
  border: 1px solid var(--fo-line);
  border-radius: var(--fo-radius);
  background: #fff;
  box-shadow: 0 4px 16px rgba(7, 16, 25, 0.04);
  transition: transform .15s ease, box-shadow .15s ease;
}
.fo-product:hover,
.woocommerce ul.products li.product:hover {
  transform: translateY(-2px);
  box-shadow: var(--fo-shadow);
}
.fo-discount {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  padding: 5px 8px;
  border-radius: 4px;
  background: var(--fo-orange);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}
.fo-fav {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--fo-line);
  border-radius: 999px;
  background: #fff;
  display: grid;
  place-items: center;
  font-size: 18px;
}
.fo-product__image {
  height: 150px;
  margin: 12px 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 6px;
  background: linear-gradient(180deg, #fff, #f6f7f9);
}
.fo-product__shoe {
  width: 78%;
  height: 66px;
  border-radius: 56% 44% 45% 40%;
  transform: skewX(-18deg) rotate(-8deg);
  border-bottom: 12px solid #d2d8df;
  background: linear-gradient(135deg, #121212 0 46%, #fff 47% 60%, #141414 61%);
  box-shadow: 18px 22px 32px rgba(7,16,25,0.14);
}
.fo-product:nth-child(2) .fo-product__shoe { background: linear-gradient(135deg, #111 0 54%, #31343a 55% 100%); }
.fo-product:nth-child(3) .fo-product__shoe { background: linear-gradient(135deg, #aab1ba 0 45%, #646d79 46% 72%, #e9ecf1 73%); }
.fo-product:nth-child(4) .fo-product__shoe { background: linear-gradient(135deg, #111 0 50%, #fff 51% 60%, #111 61%); }
.fo-product:nth-child(5) .fo-product__shoe { background: linear-gradient(135deg, #f7f3ed 0 45%, #b9916b 46% 66%, #fff 67%); }
.fo-product:nth-child(6) .fo-product__shoe { background: linear-gradient(135deg, #fff 0 45%, #c7191d 46% 56%, #e7eaef 57%); }
.fo-brand {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 900;
}
.fo-model {
  margin: 0 0 6px;
  min-height: 38px;
  color: #1e2a37;
  font-size: 14px;
}
.fo-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 7px;
}
.fo-price strong {
  font-size: 20px;
}
.fo-price del {
  color: var(--fo-muted);
  font-size: 13px;
}
.fo-stars {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--fo-star);
  font-size: 13px;
}
.fo-stars span {
  color: var(--fo-muted);
  font-size: 12px;
}
.fo-stock {
  margin: 7px 0;
  color: var(--fo-green);
  font-size: 13px;
  font-weight: 800;
}
.fo-product__sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.fo-product__sizes span {
  min-width: 30px;
  height: 26px;
  padding: 0 5px;
  border: 1px solid var(--fo-line);
  border-radius: 5px;
  display: inline-grid;
  place-items: center;
  font-size: 12px;
}

.fo-reassurance {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--fo-line);
  border-radius: var(--fo-radius);
  background: #fff;
}
.fo-reassurance__item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  padding: 18px 22px;
  border-right: 1px solid var(--fo-line);
}
.fo-reassurance__item:last-child { border-right: 0; }
.fo-reassurance__icon {
  width: 42px;
  height: 42px;
  border: 2px solid var(--fo-ink);
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-weight: 900;
}
.fo-reassurance h3 {
  margin: 0;
  font-size: 14px;
  text-transform: uppercase;
}
.fo-reassurance p {
  margin: 2px 0 0;
  color: #2f3a47;
  font-size: 12px;
}

.fo-promo-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 18px;
}
.fo-promo {
  min-height: 150px;
  padding: 22px;
  border: 1px solid var(--fo-line);
  border-radius: var(--fo-radius);
  background: #fff;
  display: grid;
  grid-template-columns: 1fr 170px;
  overflow: hidden;
}
.fo-promo--dark {
  color: #fff;
  background: #091019;
}
.fo-promo h2,
.fo-promo h3 {
  margin: 0 0 6px;
}
.fo-promo p {
  margin: 0 0 14px;
  max-width: 310px;
}
.fo-promo__art {
  min-height: 100%;
  border-radius: 6px;
  background: url("assets/images/outlet-hero.png") center right / cover no-repeat;
}

.fo-trust {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 20px;
  padding: 22px;
  border: 1px solid var(--fo-line);
  border-radius: var(--fo-radius);
  background: #fff;
}
.fo-trust__score strong {
  display: block;
  font-size: 42px;
  line-height: 1;
}
.fo-trust__bars {
  display: grid;
  gap: 8px;
}
.fo-trust__bar {
  display: grid;
  grid-template-columns: 62px 1fr 44px;
  gap: 10px;
  align-items: center;
  font-size: 12px;
}
.fo-trust__meter {
  height: 8px;
  border-radius: 999px;
  background: #e7ebef;
  overflow: hidden;
}
.fo-trust__meter span {
  display: block;
  height: 100%;
  background: #00b67a;
}
.fo-note {
  color: var(--fo-muted);
  font-size: 12px;
}

.fo-seo {
  padding: 26px;
  border: 1px solid var(--fo-line);
  border-radius: var(--fo-radius);
  background: #fff;
}
.fo-seo h2 { margin-top: 0; }
.fo-seo p { color: #324152; }

.fo-footer {
  margin-top: 34px;
  color: #dce3eb;
  background: #0b121a;
}
.fo-footer__top {
  display: grid;
  grid-template-columns: 1.2fr repeat(4, 1fr);
  gap: 28px;
  padding: 38px 0;
}
.fo-footer h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 15px;
}
.fo-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.fo-footer a,
.fo-footer p {
  margin: 0;
  color: #b7c1cd;
  font-size: 13px;
}
.fo-footer__bottom {
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: #9caaba;
  font-size: 12px;
}

.woocommerce .woocommerce-breadcrumb,
.woocommerce-result-count {
  color: var(--fo-muted);
  font-size: 13px;
}
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.single_add_to_cart_button,
.checkout-button {
  border-radius: 5px !important;
  background: var(--fo-yellow) !important;
  color: #111 !important;
  font-weight: 900 !important;
}
.woocommerce div.product {
  padding: 22px;
  border: 1px solid var(--fo-line);
  border-radius: var(--fo-radius);
  background: #fff;
}
.woocommerce div.product div.summary {
  padding: 18px;
  border: 1px solid var(--fo-line);
  border-radius: var(--fo-radius);
  background: #fff;
  box-shadow: var(--fo-shadow);
}
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: var(--fo-orange);
  font-size: 30px;
  font-weight: 900;
}
.woocommerce-cart .cart-collaterals .cart_totals,
.woocommerce-checkout-review-order {
  position: sticky;
  top: 16px;
  border: 1px solid var(--fo-line);
  border-radius: var(--fo-radius);
  background: #fff;
  padding: 18px;
}

@media (max-width: 1180px) {
  .fo-mainbar__inner { flex-wrap: wrap; padding-block: 12px; }
  .fo-logo { min-width: 150px; }
  .fo-actions { min-width: 0; flex: 1; }
  .fo-menubar__promise { display: none; }
  .fo-layout { grid-template-columns: 1fr; }
  .fo-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
  .fo-filter { padding: 12px; border: 1px solid var(--fo-line); border-radius: var(--fo-radius); background: #fff; }
  .fo-cats { grid-template-columns: repeat(4, 1fr); }
  .fo-products, .products { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 760px) {
  .fo-shell { width: min(100% - 20px, 1520px); }
  .fo-topbar__inner { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; }
  .fo-mainbar__inner { gap: 12px; }
  .fo-location, .fo-actions .fo-action:not(.fo-cart-link) { display: none; }
  .fo-search {
    order: 3;
    flex-basis: 100%;
    grid-template-columns: 1fr 96px;
  }
  .fo-search select { display: none; }
  .fo-nav { gap: 18px; }
  .fo-layout { padding-top: 12px; }
  .fo-sidebar {
    display: flex;
    overflow-x: auto;
    padding-bottom: 3px;
  }
  .fo-filter {
    min-width: 210px;
  }
  .fo-hero {
    grid-template-columns: 1fr;
    min-height: 500px;
  }
  .fo-hero::after {
    background: linear-gradient(180deg, rgba(5,9,14,0.92) 0%, rgba(5,9,14,0.72) 48%, rgba(5,9,14,0.18) 100%);
  }
  .fo-hero__copy { padding: 28px 20px; }
  .fo-hero__media {
    min-height: 250px;
    background-position: center right;
  }
  .fo-button { width: 100%; }
  .fo-button--ghost { margin: 10px 0 0; }
  .fo-cats { grid-template-columns: repeat(2, 1fr); }
  .fo-section__head { align-items: flex-start; flex-direction: column; }
  .fo-products, .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fo-product__image { height: 110px; }
  .fo-reassurance { grid-template-columns: 1fr; }
  .fo-reassurance__item { border-right: 0; border-bottom: 1px solid var(--fo-line); }
  .fo-promo-grid { grid-template-columns: 1fr; }
  .fo-promo { grid-template-columns: 1fr; }
  .fo-promo__art { min-height: 120px; }
  .fo-trust { grid-template-columns: 1fr; }
  .fo-footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 460px) {
  .fo-logo { font-size: 24px; min-width: 132px; }
  .fo-search { grid-template-columns: 1fr 88px; }
  .fo-products, .products { grid-template-columns: 1fr; }
  .fo-footer__top { grid-template-columns: 1fr; }
}
