/*
Theme Name: Falcon Marketplace
Theme URI: http://localhost/marketplace-wp/
Author: Codex
Description: A clean marketplace theme for a local WordPress/XAMPP build with editable listings, search, categories, seller CTA sections, and an ecommerce-style homepage.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 8.0
Text Domain: falcon-marketplace
*/

:root {
  --ink: #15120c;
  --muted: #756b5a;
  --line: #eadfca;
  --paper: #ffffff;
  --soft: #fbf8f0;
  --blue: #111111;
  --yellow: #d9a928;
  --green: #8a6720;
  --red: #b68424;
  --teal: #c8952d;
  --coral: #d9a928;
  --night: #15120c;
  --button-blue: #2454d6;
  --button-yellow: #e5b43f;
  --shadow: 0 18px 55px rgba(21, 18, 12, 0.14);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--soft);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.wrap {
  width: calc(100% - 48px);
  max-width: none;
  margin: 0 auto;
}

.top-strip {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.top-strip__inner,
.site-header__inner,
.category-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.top-strip__inner {
  min-height: 36px;
}

.top-links,
.utility-links,
.category-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.top-strip a {
  color: #4a4032;
}

.top-strip a:hover,
.site-nav a:hover,
.category-links a:hover,
.category-menu__link:hover {
  color: var(--blue);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.site-header__inner {
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  font-weight: 800;
  font-size: clamp(22px, 4vw, 32px);
  letter-spacing: 0;
}

.brand__mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 8px 20px rgba(20, 21, 31, 0.08);
}

.brand__mark--image {
  background: #fff url("assets/images/g-store-logo-small.jpg") center / cover no-repeat;
}

.brand__text {
  display: grid;
  gap: 0;
}

.brand__name {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  white-space: nowrap;
}

.brand__accent {
  color: var(--yellow);
}

.brand__tagline {
  color: #8a6720;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.header-search {
  flex: 1 1 520px;
  min-width: 220px;
}

.search-form {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) auto;
  align-items: stretch;
  border: 2px solid #111111;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

.search-form input[type="search"] {
  width: 100%;
  min-height: 44px;
  border: 0;
  padding: 0 14px;
  color: var(--ink);
  font-size: 15px;
  outline: 0;
}

.search-form button,
.button,
.button-secondary {
  min-height: 44px;
  border: 0;
  border-radius: var(--radius);
  padding: 0 18px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.search-form button {
  border-radius: 0;
  color: #111318;
  background: var(--yellow);
}

.search-form button:hover,
.button:hover,
.button-secondary:hover {
  transform: translateY(-1px);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111318;
  background: var(--yellow);
  box-shadow: 0 12px 28px rgba(229, 180, 63, 0.24);
}

.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
}

.search-form button,
.hero-search button,
.button,
.button-secondary,
.mini-button--primary,
.coupon-code,
.button-dark,
.button-light,
.woocommerce-content ul.products li.product .button,
.woocommerce-content .single_add_to_cart_button,
.woocommerce-content .checkout-button,
.woocommerce-content button.button,
.woocommerce-content a.button,
.market-carousel__controls button,
.chat-widget summary {
  color: #fff;
  background: var(--button-blue);
  border-color: var(--button-blue);
  box-shadow: 0 12px 28px rgba(36, 84, 214, 0.24);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.search-form button:hover,
.hero-search button:hover,
.button:hover,
.button-secondary:hover,
.mini-button--primary:hover,
.coupon-code:hover,
.button-dark:hover,
.button-light:hover,
.woocommerce-content ul.products li.product .button:hover,
.woocommerce-content .single_add_to_cart_button:hover,
.woocommerce-content .checkout-button:hover,
.woocommerce-content button.button:hover,
.woocommerce-content a.button:hover,
.market-carousel__controls button:hover,
.chat-widget summary:hover {
  color: #15120c;
  background: var(--button-yellow);
  border-color: var(--button-yellow);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 16px 34px rgba(229, 180, 63, 0.34);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 650;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.header-icons {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.header-icons--top {
  gap: 8px;
  margin-left: 2px;
}

.icon-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: #111111;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.icon-link:hover {
  transform: translateY(-1px);
  border-color: rgba(217, 169, 40, 0.7);
  background: #fff8e2;
}

.icon-link svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.top-strip .icon-link {
  width: 32px;
  height: 32px;
  border-color: rgba(36, 84, 214, 0.28);
  border-radius: 8px;
  color: var(--button-blue);
  background: #fff;
  box-shadow: 0 8px 18px rgba(36, 84, 214, 0.08);
}

.top-strip .icon-link:hover {
  color: #15120c;
  border-color: var(--button-yellow);
  background: var(--button-yellow);
  box-shadow: 0 12px 24px rgba(229, 180, 63, 0.28);
}

.top-strip .icon-link svg {
  width: 19px;
  height: 19px;
  stroke-width: 2.3;
}

.icon-count {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #15120c;
  background: var(--yellow);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.category-bar {
  position: relative;
  z-index: 19;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.category-bar__inner {
  min-height: 46px;
  overflow: visible;
}

.category-links,
.category-mega-nav {
  position: relative;
  width: 100%;
}

.category-links,
.category-menu {
  flex-wrap: nowrap;
  white-space: nowrap;
  font-size: 14px;
  color: #5f5344;
}

.category-menu {
  display: flex;
  align-items: stretch;
  gap: 2px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.category-menu__item {
  position: static;
  flex: 0 0 auto;
}

.category-menu__link {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  color: #5f5344;
  font-size: 14px;
  font-weight: 750;
  letter-spacing: 0;
}

.category-menu__link span {
  color: #8a8175;
  font-size: 13px;
  transition: transform 160ms ease;
}

.category-menu__item:hover .category-menu__link span,
.category-menu__item:focus-within .category-menu__link span {
  transform: rotate(180deg);
}

.category-dropdown {
  position: absolute;
  top: calc(100% - 1px);
  left: 0;
  z-index: 40;
  width: min(720px, calc(100vw - 48px));
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 0 0 var(--radius) var(--radius);
  color: var(--ink);
  background: #fff;
  box-shadow: 0 24px 60px rgba(21, 18, 12, 0.16);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.category-menu__item:nth-last-child(-n + 4) .category-dropdown {
  right: auto;
  left: 0;
}

.category-menu__item:hover .category-dropdown,
.category-menu__item:focus-within .category-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.category-dropdown h3 {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.2;
}

.category-dropdown ul {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.category-dropdown a {
  color: #5f5344;
  font-size: 14px;
  font-weight: 650;
}

.category-dropdown a:hover {
  color: var(--button-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.main {
  flex: 1 0 auto;
}

.hero {
  position: relative;
  min-height: 440px;
  isolation: isolate;
  background: #111827;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("assets/images/marketplace-hero.png") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 17, 31, 0.82) 0%, rgba(10, 17, 31, 0.58) 44%, rgba(10, 17, 31, 0.1) 100%),
    linear-gradient(0deg, rgba(10, 17, 31, 0.48), rgba(10, 17, 31, 0));
}

.hero__inner {
  min-height: 440px;
  display: grid;
  align-items: center;
  padding: 54px 0;
}

.hero__content {
  width: min(640px, 100%);
  color: #fff;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: #091321;
  background: var(--yellow);
  font-size: 13px;
  font-weight: 800;
}

.hero h1,
.page-title h1 {
  margin: 16px 0 12px;
  font-size: clamp(38px, 7vw, 72px);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero p {
  width: min(540px, 100%);
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(16px, 2.2vw, 20px);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.section {
  padding: 42px 0;
}

.section--white {
  background: #fff;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.section-head h2,
.content h1,
.content h2,
.content h3 {
  margin: 0;
  color: var(--ink);
  letter-spacing: 0;
}

.section-head p {
  max-width: 620px;
  margin: 6px 0 0;
  color: var(--muted);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.category-tile {
  min-height: 120px;
  display: grid;
  align-content: space-between;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 24px rgba(23, 32, 51, 0.06);
}

.category-tile:hover {
  border-color: rgba(217, 169, 40, 0.58);
}

.category-tile__icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: #15120c;
  background: var(--teal);
  font-weight: 900;
}

.category-tile:nth-child(2n) .category-tile__icon {
  color: #fff;
  background: var(--blue);
}

.category-tile:nth-child(3n) .category-tile__icon {
  color: #15120c;
  background: var(--yellow);
}

.category-tile:nth-child(4n) .category-tile__icon {
  color: #fff;
  background: var(--green);
}

.category-tile strong {
  display: block;
  margin-top: 12px;
  font-size: 15px;
}

.category-tile > span:not(.category-tile__icon) {
  color: var(--muted);
  font-size: 13px;
}

.listing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.listing-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 28px rgba(23, 32, 51, 0.08);
}

.listing-card:hover {
  border-color: rgba(217, 169, 40, 0.58);
}

.listing-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #e9eef7;
  overflow: hidden;
}

.listing-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.listing-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 18px;
  color: #fff;
  text-align: center;
  font-weight: 850;
  background:
    linear-gradient(135deg, rgba(21, 18, 12, 0.96), rgba(217, 169, 40, 0.86)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.18) 0 8px, transparent 8px 16px);
}

.listing-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  max-width: calc(100% - 20px);
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  color: #111827;
  background: var(--yellow);
  font-size: 12px;
  font-weight: 850;
}

.listing-body {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.listing-title {
  min-height: 48px;
  margin: 0;
  font-size: 16px;
  line-height: 1.35;
}

.listing-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
}

.price {
  color: var(--ink);
  font-size: 20px;
  font-weight: 900;
}

.listing-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.mini-button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font-weight: 800;
  font-size: 13px;
}

.mini-button--primary {
  color: #15120c;
  border-color: var(--yellow);
  background: var(--yellow);
}

.deal-band {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(21, 18, 12, 0.98), rgba(21, 18, 12, 0.9)),
    linear-gradient(135deg, var(--blue), var(--green));
}

.deal-band__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 170px;
}

.deal-band h2 {
  margin: 0 0 8px;
  font-size: clamp(26px, 4vw, 42px);
  letter-spacing: 0;
}

.deal-band p {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.trust-item {
  min-height: 112px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.trust-item strong {
  display: block;
  margin-bottom: 6px;
  font-size: 24px;
  line-height: 1;
}

.trust-item span {
  color: var(--muted);
  font-size: 14px;
}

.content-area {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  padding: 42px 0;
}

.content {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.content > *:first-child {
  margin-top: 0;
}

.content > *:last-child {
  margin-bottom: 0;
}

.woocommerce-content {
  overflow: hidden;
}

.woocommerce-content .woocommerce-breadcrumb {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 13px;
}

.woocommerce-content .woocommerce-products-header__title {
  margin: 0 0 18px;
  font-size: clamp(32px, 5vw, 52px);
}

.woocommerce-content .woocommerce-result-count,
.woocommerce-content .woocommerce-ordering {
  margin: 0 0 18px;
}

.woocommerce-content .woocommerce-ordering select {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 10px;
  background: #fff;
  color: var(--ink);
}

.shop-tools {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.6fr);
  align-items: center;
  gap: 16px;
  margin: 0 0 20px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 30px rgba(20, 21, 31, 0.06);
}

.shop-tools strong,
.shop-tools span {
  display: block;
}

.shop-tools strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.2;
}

.shop-tools span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}

.shop-tools nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.shop-tools a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(36, 84, 214, 0.22);
  border-radius: 999px;
  padding: 0 13px;
  color: var(--button-blue);
  background: #f7f9ff;
  font-size: 13px;
  font-weight: 850;
  transition: transform 160ms ease, color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.shop-tools a:hover,
.shop-tools a.is-active {
  color: #15120c;
  background: var(--yellow);
  border-color: var(--yellow);
  transform: translateY(-1px);
}

.woocommerce-content ul.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.woocommerce-content ul.products::before,
.woocommerce-content ul.products::after {
  display: none;
}

.woocommerce-content ul.products li.product {
  position: relative;
  float: none;
  width: auto;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 28px rgba(23, 32, 51, 0.08);
}

.woocommerce-content ul.products li.product a {
  color: var(--ink);
}

.woocommerce-content ul.products li.product img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  margin: 0;
  background: #eef3fa;
}

.woocommerce-content .woocommerce-loop-product__title,
.woocommerce-content ul.products li.product .price,
.woocommerce-content ul.products li.product .button {
  margin-left: 14px;
  margin-right: 14px;
}

.woocommerce-content .woocommerce-loop-product__title {
  min-height: 46px;
  padding: 14px 0 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.35;
}

.woocommerce-content ul.products li.product .price {
  display: block;
  color: var(--ink);
  font-size: 20px;
  font-weight: 900;
}

.woocommerce-content ul.products li.product .price del {
  display: inline-block;
  margin-left: 6px;
}

.woocommerce-content ul.products li.product .button,
.woocommerce-content .single_add_to_cart_button,
.woocommerce-content .checkout-button,
.woocommerce-content button.button,
.woocommerce-content a.button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  color: #15120c;
  background: var(--yellow);
  font-weight: 800;
}

.woocommerce-content ul.products li.product .button {
  margin-bottom: 14px;
}

.woo-card-meta {
  display: grid;
  gap: 3px;
  min-height: 56px;
  margin: 8px 14px 12px;
  color: var(--muted);
  font-size: 12px;
}

.product-assurance {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}

.product-assurance div {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.product-assurance span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.product-assurance strong {
  display: block;
  margin-top: 3px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.25;
}

.page-title {
  padding: 36px 0 22px;
}

.single-listing {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 28px;
  align-items: start;
}

.single-listing__image {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

.single-listing__image img,
.single-listing__fallback {
  width: 100%;
  aspect-ratio: 1 / 0.76;
  object-fit: cover;
}

.single-listing__fallback {
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  text-align: center;
  background: linear-gradient(135deg, var(--blue), var(--yellow));
}

.purchase-panel {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.purchase-panel h1 {
  margin: 0;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.05;
}

.detail-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.detail-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.detail-list span {
  color: var(--muted);
}

.site-footer {
  margin-top: auto;
  background: #f5f5f5;
  color: #626262;
  border-top: 1px solid #dedede;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 72px);
  padding: 48px 0 26px;
}

.site-footer h2,
.site-footer h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 850;
  letter-spacing: 0;
}

.site-footer p,
.site-footer ul {
  margin: 0;
}

.site-footer ul {
  display: grid;
  gap: 9px;
  padding: 0;
  list-style: none;
}

.site-footer a {
  color: #626262;
  transition: color 160ms ease, transform 160ms ease;
}

.site-footer a:hover {
  color: var(--button-blue);
}

.footer-column {
  min-width: 0;
}

.site-region {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.site-region-selector {
  width: min(100%, 292px);
  min-height: 50px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  border: 1px solid #9e9e9e;
  border-radius: var(--radius);
  padding: 0 14px;
  color: #656565;
  background: #fff;
  font-size: 18px;
  font-weight: 750;
}

.site-region-selector:hover {
  color: var(--ink);
  border-color: var(--button-blue);
  transform: translateY(-1px);
}

.region-flag {
  width: 38px;
  height: 25px;
  border: 1px solid #c7c7c7;
  border-radius: 3px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(21, 18, 12, 0.08);
}

.copyright {
  padding: 18px 0 28px;
  color: #555;
  font-size: 13px;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.footer-legal nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.footer-legal a {
  color: var(--button-blue);
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.empty-state {
  padding: 28px;
  border: 1px dashed #b9c4d6;
  border-radius: var(--radius);
  background: #fff;
  color: var(--muted);
}

.hero--marketplace {
  min-height: 520px;
}

.hero--marketplace::after {
  background:
    linear-gradient(90deg, rgba(10, 12, 18, 0.86) 0%, rgba(10, 12, 18, 0.68) 42%, rgba(10, 12, 18, 0.08) 100%),
    linear-gradient(0deg, rgba(10, 12, 18, 0.42), rgba(10, 12, 18, 0));
}

.hero--marketplace .hero__inner {
  grid-template-columns: minmax(0, 1fr) minmax(250px, 360px);
  gap: 28px;
  min-height: 520px;
}

.hero-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  width: min(620px, 100%);
  margin-bottom: 18px;
  border: 2px solid rgba(255, 255, 255, 0.82);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.22);
}

.hero-search input {
  min-height: 50px;
  border: 0;
  padding: 0 16px;
  font: inherit;
  outline: 0;
}

.hero-search button {
  min-height: 50px;
  border: 0;
  padding: 0 22px;
  color: #15120c;
  background: var(--yellow);
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.hero-panel {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.hero-panel div {
  padding: 14px;
  border-radius: var(--radius);
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

.hero-panel span {
  display: block;
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
}

.hero-panel strong {
  display: block;
  margin-top: 4px;
  font-size: 19px;
}

.trust-strip {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.trust-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.trust-strip__grid a {
  min-height: 82px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 14px 18px;
  border-left: 1px solid var(--line);
}

.trust-strip__grid a:last-child {
  border-right: 1px solid var(--line);
}

.trust-strip__grid strong {
  font-size: 15px;
}

.trust-strip__grid span {
  color: var(--muted);
  font-size: 13px;
}

.coupon-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 28px 32px;
  border-radius: var(--radius);
  color: #3a2700;
  background: linear-gradient(135deg, #f2c94c, #efb42e);
}

.coupon-band h2 {
  margin: 0 0 4px;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: 0;
}

.coupon-band p {
  margin: 0;
  font-size: 17px;
}

.coupon-code {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: var(--radius);
  color: #fff;
  background: #4a3210;
  font-weight: 900;
  white-space: nowrap;
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.quick-actions a,
.seller-program a {
  min-height: 126px;
  display: grid;
  align-content: space-between;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 24px rgba(20, 21, 31, 0.06);
}

.quick-actions a:hover,
.seller-program a:hover {
  border-color: rgba(217, 169, 40, 0.58);
}

.quick-actions span,
.seller-program span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: #fff;
  background: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.quick-actions a:nth-child(2n) span,
.seller-program a:nth-child(2n) span {
  color: #15120c;
  background: var(--yellow);
}

.quick-actions a:nth-child(3n) span,
.seller-program a:nth-child(3n) span {
  color: #fff;
  background: var(--green);
}

.quick-actions strong,
.seller-program strong {
  display: block;
  color: var(--ink);
  line-height: 1.2;
}

.quick-actions small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.promo-carousel-section {
  background: #fff;
}

.market-carousel {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 18px 48px rgba(20, 21, 31, 0.1);
}

.market-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(360px, 0.85fr) minmax(420px, 1.15fr);
  align-items: center;
  gap: 34px;
  min-height: 380px;
  padding: 58px 78px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(32px) scale(0.99);
  transition: opacity 520ms ease, transform 620ms ease;
}

.market-slide.is-active {
  z-index: 2;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0) scale(1);
}

.market-slide__copy {
  position: relative;
  z-index: 3;
  display: grid;
  justify-items: start;
  gap: 16px;
  max-width: 640px;
}

.market-slide h2 {
  margin: 0;
  font-size: clamp(44px, 5vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

.market-slide p {
  max-width: 720px;
  margin: 0;
  font-size: clamp(17px, 1.5vw, 24px);
  font-weight: 650;
}

.market-slide small {
  margin-top: 52px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 15px;
  text-decoration: underline;
}

.button-dark,
.button-light {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 24px;
  font-weight: 900;
}

.button-dark {
  color: #f8d35a;
  background: #563a10;
}

.button-light {
  color: var(--ink);
  background: #fff;
}

.market-slide--collectibles {
  color: #50370b;
  background: #efc33d;
}

.collectible-wall {
  position: absolute;
  inset: 0 0 0 auto;
  z-index: 1;
  width: 54%;
  display: grid;
  grid-template-columns: repeat(6, minmax(92px, 1fr));
  gap: 24px;
  padding: 0 0 0 32px;
  transform: translateX(22px);
}

.collectible-wall span {
  min-height: 112px;
  border: 10px solid #fff;
  border-radius: var(--radius);
  background: #f7f8fb center / cover no-repeat;
  box-shadow: 0 14px 28px rgba(80, 55, 11, 0.18);
  animation: floatTile 7s ease-in-out infinite;
}

.collectible-wall span:nth-child(1),
.collectible-wall span:nth-child(8) {
  background-image: url("assets/images/product-assets/camera-kit.png");
}

.collectible-wall span:nth-child(2),
.collectible-wall span:nth-child(9) {
  background-image: url("assets/images/product-assets/smartwatch.png");
}

.collectible-wall span:nth-child(3),
.collectible-wall span:nth-child(10) {
  background-image: url("assets/images/product-assets/tablet.png");
}

.collectible-wall span:nth-child(4),
.collectible-wall span:nth-child(11) {
  background-image: url("assets/images/product-assets/wireless-headphones.png");
}

.collectible-wall span:nth-child(5),
.collectible-wall span:nth-child(12) {
  background-image: url("assets/images/product-assets/cordless-drill.png");
}

.collectible-wall span:nth-child(6),
.collectible-wall span:nth-child(7) {
  background-image: url("assets/images/product-assets/union-jack-flag.png");
}

.collectible-wall span:nth-child(2n) {
  animation-delay: -1.4s;
}

.collectible-wall span:nth-child(3n) {
  animation-delay: -2.8s;
}

.market-slide--fashion {
  color: #fff;
  background: #111827;
}

.market-slide--fashion::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/images/marketplace-hero.png") center / cover no-repeat;
  transform: scale(1.04);
}

.market-slide--fashion::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 18, 31, 0.92), rgba(12, 18, 31, 0.58) 44%, rgba(12, 18, 31, 0.16));
}

.market-slide--motors {
  color: #fff;
  background: var(--night);
}

.motors-frame {
  position: relative;
  z-index: 2;
  min-height: 260px;
  border-radius: var(--radius);
  background: url("assets/images/motors-promo.png") center / cover no-repeat;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.market-carousel__controls {
  position: absolute;
  right: 44px;
  bottom: 32px;
  z-index: 5;
  display: flex;
  gap: 10px;
}

.market-carousel__controls button {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(20, 21, 31, 0.18);
  transition: transform 160ms ease, background 160ms ease;
}

.market-carousel__controls button:hover {
  transform: translateY(-2px);
  background: #fff;
}

.market-carousel__controls button[data-carousel-pause] {
  font-size: 19px;
}

.market-carousel__controls button[data-carousel-pause].is-paused::after {
  content: "";
  width: 0;
  height: 0;
  margin-left: 3px;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 12px solid var(--ink);
}

.market-carousel__controls button[data-carousel-pause].is-paused {
  font-size: 0;
}

.market-carousel__dots {
  position: absolute;
  left: 50%;
  bottom: 36px;
  z-index: 5;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

.market-carousel__dots button {
  width: 12px;
  height: 12px;
  border: 2px solid rgba(255, 255, 255, 0.82);
  border-radius: 50%;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.market-carousel__dots button.is-active {
  background: #fff;
}

@keyframes floatTile {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }
}

.weekly-deals-section {
  padding-top: 18px;
}

.weekly-deals-head h2 {
  margin: 0 0 18px;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.1;
}

.weekly-deals-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(178px, 1fr);
  grid-template-columns: repeat(7, minmax(178px, 1fr));
  gap: 22px;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x proximity;
  contain: layout paint;
  padding: 4px 2px 12px;
}

.weekly-deal-card {
  min-width: 0;
  display: grid;
  gap: 12px;
  color: var(--ink);
  scroll-snap-align: start;
}

.weekly-deal-card__media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  background: #e9e9e9;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.weekly-deal-card:hover .weekly-deal-card__media {
  transform: translateY(-3px);
  background: #eeeeee;
  box-shadow: 0 16px 34px rgba(21, 18, 12, 0.12);
}

.weekly-deal-card__media img {
  width: 82%;
  height: 82%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.weekly-deal-card strong {
  min-height: 54px;
  display: block;
  font-size: 18px;
  line-height: 1.28;
  letter-spacing: 0;
}

.weekly-deal-visual {
  position: relative;
  display: grid;
  place-items: center;
  width: 76%;
  height: 76%;
}

.weekly-deal-visual--live span {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 0 28px;
  color: #103815;
  background: #6ee06f;
  font-size: clamp(22px, 2vw, 32px);
  font-weight: 950;
}

.weekly-deal-visual--live span::before {
  content: "";
  width: 24px;
  height: 24px;
  border: 3px solid currentColor;
  border-radius: 6px;
  box-shadow: inset 0 6px 0 rgba(16, 56, 21, 0.12);
}

.weekly-deal-visual--parcel::before,
.weekly-deal-visual--sell-box::before {
  content: "";
  position: absolute;
  inset: 27% 10% 16%;
  border-radius: 0 0 6px 6px;
  background: linear-gradient(180deg, #caa06b, #a6753d);
  box-shadow: 0 12px 20px rgba(21, 18, 12, 0.16);
}

.weekly-deal-visual--parcel::after,
.weekly-deal-visual--sell-box::after {
  content: "";
  position: absolute;
  inset: 12% 2% auto;
  height: 34%;
  background:
    linear-gradient(135deg, transparent 0 44%, #d8b17c 45% 100%),
    linear-gradient(225deg, transparent 0 44%, #e2bd86 45% 100%);
  clip-path: polygon(0 0, 48% 34%, 100% 0, 86% 100%, 14% 100%);
}

.weekly-deal-visual--parcel span,
.weekly-deal-visual--sell-box span {
  position: relative;
  z-index: 1;
  color: rgba(21, 18, 12, 0.58);
  font-size: 17px;
  font-weight: 900;
}

.weekly-deal-visual--sell-box span::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 130%;
  width: 86px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(90deg, #2a2f3a, #111318);
  transform: translateX(-50%);
  box-shadow:
    -24px -16px 0 #7b2632,
    0 -20px 0 #e8ecef,
    24px -16px 0 #1d2a3d;
}

.featured-deals-section {
  padding-top: 22px;
}

.featured-deals-head {
  margin-bottom: 22px;
}

.featured-deals-head h2 {
  margin: 0;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.06;
}

.featured-deals-head p {
  margin: 4px 0 0;
  color: #6c6c6c;
  font-size: 20px;
  font-weight: 700;
}

.featured-deals-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(300px, 330px);
  gap: 18px;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x proximity;
  contain: layout paint;
  padding: 4px 2px 18px;
}

.featured-deal-card {
  min-width: 0;
  display: grid;
  gap: 12px;
  color: var(--ink);
  scroll-snap-align: start;
}

.featured-deal-card__media-wrap,
.market-product-card__media-wrap {
  position: relative;
}

.featured-deal-card__media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  background: #e8e8e8;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.featured-deal-card:hover .featured-deal-card__media {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(21, 18, 12, 0.13);
}

.featured-deal-card__media img {
  width: 92%;
  height: 92%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.featured-coupon-strip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  color: #17233b;
  background: rgba(177, 214, 235, 0.94);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
}

.featured-deal-card__body {
  display: grid;
  gap: 8px;
}

.featured-deal-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 10px;
}

.featured-deal-title-row h3 {
  min-height: 54px;
  margin: 0;
  font-size: 18px;
  line-height: 1.28;
  letter-spacing: 0;
}

.featured-deal-menu {
  width: 22px;
  height: 32px;
  display: grid;
  place-items: center;
}

.featured-deal-menu::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  color: var(--ink);
  background: currentColor;
  box-shadow: 0 -7px 0 currentColor, 0 7px 0 currentColor;
}

.featured-deal-price {
  color: var(--ink);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.2;
}

.featured-deal-price del {
  margin-left: 8px;
  color: #777;
  font-size: 14px;
  font-weight: 700;
}

.featured-deal-price ins {
  text-decoration: none;
}

.product-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(230px, 285px);
  gap: 16px;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x proximity;
  contain: layout paint;
  padding: 4px 2px 16px;
}

.market-product-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 26px rgba(20, 21, 31, 0.08);
  scroll-snap-align: start;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.market-product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(217, 169, 40, 0.5);
  box-shadow: 0 18px 40px rgba(20, 21, 31, 0.13);
}

.market-product-card__media {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  background: #eef0f4;
  overflow: hidden;
}

.market-product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.deal-pill,
.woocommerce-content span.onsale {
  position: absolute;
  top: 10px;
  left: 10px;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  color: #15120c;
  background: var(--coral);
  font-size: 12px;
  font-weight: 900;
  z-index: 2;
}

.heart-button {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  cursor: pointer;
  font-family: inherit;
  font-size: 24px;
  line-height: 1;
  box-shadow: 0 8px 20px rgba(20, 21, 31, 0.12);
  transition: transform 160ms ease, color 160ms ease, background 160ms ease, box-shadow 160ms ease;
  z-index: 3;
}

.heart-button:hover,
.heart-button.is-saved {
  color: #fff;
  background: var(--button-blue);
  transform: translateY(-1px) scale(1.05);
  box-shadow: 0 14px 28px rgba(36, 84, 214, 0.26);
}

.market-product-card__body {
  display: grid;
  gap: 9px;
  padding: 14px;
}

.market-product-card h3 {
  min-height: 48px;
  margin: 0;
  font-size: 15px;
  line-height: 1.35;
}

.market-price-row strong {
  display: block;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.2;
}

.market-price-row del,
.woocommerce-content del {
  color: #8a94a6;
  font-size: 14px;
}

.market-price-row ins,
.woocommerce-content ins {
  text-decoration: none;
}

.market-meta-row {
  display: grid;
  gap: 3px;
  color: var(--muted);
  font-size: 12px;
}

.category-grid--premium .category-tile {
  min-height: 138px;
}

.promo-showcase {
  min-height: 330px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1.05fr);
  gap: 28px;
  align-items: center;
  padding: 34px;
  border-radius: var(--radius);
  color: #fff;
  background: var(--night);
  overflow: hidden;
}

.promo-showcase__copy {
  display: grid;
  gap: 14px;
}

.promo-showcase__copy h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1;
}

.promo-showcase__copy p {
  max-width: 570px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.promo-showcase__copy small {
  margin-top: 36px;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: underline;
}

.promo-showcase__image {
  min-height: 230px;
  border-radius: var(--radius);
  background: url("assets/images/motors-promo.png") center / cover no-repeat;
}

.split-flow {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 28px;
  align-items: stretch;
}

.section-head--stacked {
  align-items: start;
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.flow-steps a,
.seller-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 28px rgba(20, 21, 31, 0.07);
}

.flow-steps a {
  min-height: 132px;
  display: grid;
  align-content: space-between;
  padding: 16px;
}

.flow-steps strong {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: #fff;
  color: #15120c;
  background: var(--yellow);
}

.flow-steps span {
  color: var(--ink);
  font-weight: 800;
}

.seller-card {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(217, 169, 40, 0.12), rgba(21, 18, 12, 0.06)),
    #fff;
}

.seller-card h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.1;
}

.seller-card p {
  margin: 0;
  color: var(--muted);
}

.seller-program {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.social-section {
  color: #fff;
  background: linear-gradient(135deg, #15120c, #6f5017 62%, #d9a928);
}

.social-section__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
}

.social-section h2 {
  margin: 0 0 6px;
  font-size: clamp(26px, 4vw, 42px);
}

.social-section p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
}

.social-buttons,
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-buttons a,
.footer-social a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  padding: 0 13px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  font-weight: 850;
}

.footer-social {
  margin-top: 16px;
}

.footer-social a {
  min-width: 40px;
  padding: 0 10px;
}

.chat-widget {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  width: min(320px, calc(100vw - 32px));
}

.chat-widget summary {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  margin-left: auto;
  border-radius: 50%;
  color: #fff;
  color: #15120c;
  background: var(--yellow);
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 18px 42px rgba(217, 169, 40, 0.32);
  list-style: none;
}

.chat-widget summary::-webkit-details-marker {
  display: none;
}

.chat-widget__panel {
  display: grid;
  gap: 10px;
  margin-top: 10px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.chat-widget__panel p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.market-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0;
}

.market-info-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.market-info-card h3 {
  margin-bottom: 8px;
}

.market-checklist {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 18px 0;
  list-style: none;
}

.market-checklist li {
  padding: 12px 14px;
  border-left: 4px solid var(--yellow);
  border-radius: var(--radius);
  background: #fff7df;
}

.seller-registration-note {
  margin: 10px 0 14px;
  padding: 12px 14px;
  border: 1px solid rgba(36, 84, 214, 0.18);
  border-left: 4px solid var(--button-blue);
  border-radius: var(--radius);
  color: var(--ink);
  background: #f6f8ff;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.35;
}

.watchlist-view {
  display: grid;
  gap: 20px;
  margin: 24px 0;
}

.watchlist-view__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.watchlist-view__head h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.06;
}

.watchlist-view__head p {
  max-width: 620px;
  margin: 6px 0 0;
  color: var(--muted);
}

.watchlist-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.watchlist-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 28px rgba(20, 21, 31, 0.07);
}

.watchlist-card__media {
  display: block;
  aspect-ratio: 1 / 1;
  background: #eef0f4;
}

.watchlist-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.watchlist-card__body {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.watchlist-card h3 {
  min-height: 46px;
  margin: 0;
  font-size: 16px;
  line-height: 1.32;
}

.watchlist-card strong {
  color: var(--ink);
  font-size: 20px;
}

.checkout-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 22px;
}

.checkout-trust div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(36, 84, 214, 0.07), rgba(217, 169, 40, 0.1)),
    #fff;
}

.checkout-trust strong,
.checkout-trust span {
  display: block;
}

.checkout-trust strong {
  color: var(--ink);
  font-size: 16px;
}

.checkout-trust span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.search-form button,
.hero-search button,
.button,
.button-secondary,
.mini-button--primary,
.coupon-code,
.button-dark,
.button-light,
.woocommerce-content ul.products li.product .button,
.woocommerce-content .single_add_to_cart_button,
.woocommerce-content .checkout-button,
.woocommerce-content button.button,
.woocommerce-content a.button,
.market-carousel__controls button,
.chat-widget summary {
  color: #fff;
  background: var(--button-blue);
  border-color: var(--button-blue);
  box-shadow: 0 12px 28px rgba(36, 84, 214, 0.24);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.search-form button:hover,
.hero-search button:hover,
.button:hover,
.button-secondary:hover,
.mini-button--primary:hover,
.coupon-code:hover,
.button-dark:hover,
.button-light:hover,
.woocommerce-content ul.products li.product .button:hover,
.woocommerce-content .single_add_to_cart_button:hover,
.woocommerce-content .checkout-button:hover,
.woocommerce-content button.button:hover,
.woocommerce-content a.button:hover,
.market-carousel__controls button:hover,
.chat-widget summary:hover {
  color: #15120c;
  background: var(--button-yellow);
  border-color: var(--button-yellow);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 16px 34px rgba(229, 180, 63, 0.34);
  animation: buttonGlow 520ms ease both;
}

@keyframes buttonGlow {
  0% {
    box-shadow: 0 12px 28px rgba(36, 84, 214, 0.24);
  }

  55% {
    box-shadow: 0 20px 44px rgba(229, 180, 63, 0.46);
  }

  100% {
    box-shadow: 0 16px 34px rgba(229, 180, 63, 0.34);
  }
}

@media (max-width: 1180px) {
  .site-footer__inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .site-header__inner {
    flex-wrap: wrap;
    padding: 12px 0;
  }

  .category-bar__inner {
    overflow-x: auto;
    overflow-y: hidden;
  }

  .category-menu {
    min-width: max-content;
  }

  .category-dropdown {
    display: none;
  }

  .header-search {
    order: 3;
    flex-basis: 100%;
  }

  .hero--marketplace .hero__inner,
  .coupon-band,
  .market-slide,
  .promo-showcase,
  .split-flow,
  .social-section__inner {
    grid-template-columns: 1fr;
  }

  .market-carousel {
    min-height: 500px;
  }

  .market-slide {
    align-content: start;
    min-height: 500px;
    padding: 44px;
  }

  .market-slide__copy {
    max-width: min(100%, 560px);
  }

  .market-slide h2 {
    max-width: 12ch;
    font-size: clamp(36px, 8vw, 54px);
    line-height: 1.04;
  }

  .market-slide p {
    max-width: min(100%, 520px);
    font-size: clamp(16px, 3.2vw, 20px);
    line-height: 1.35;
  }

  .market-slide .button-dark,
  .market-slide .button-light {
    min-height: 48px;
    max-width: 100%;
    padding: 0 20px;
    white-space: normal;
    text-align: center;
  }

  .collectible-wall {
    inset: auto 0 0 auto;
    width: 100%;
    height: 46%;
    grid-template-columns: repeat(6, minmax(72px, 1fr));
    gap: 14px;
    padding-left: 44%;
    opacity: 0.78;
  }

  .market-slide--fashion::after {
    background: linear-gradient(90deg, rgba(12, 18, 31, 0.94), rgba(12, 18, 31, 0.48));
  }

  .motors-frame {
    min-height: 210px;
  }

  .trust-strip__grid,
  .quick-actions,
  .category-grid,
  .listing-grid,
  .woocommerce-content ul.products,
  .flow-steps,
  .market-info-grid,
  .watchlist-grid,
  .checkout-trust,
  .seller-program,
  .trust-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .deal-band__inner,
  .single-listing {
    grid-template-columns: 1fr;
  }

  .site-footer__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .weekly-deals-rail {
    grid-template-columns: none;
    grid-auto-columns: minmax(190px, 220px);
    gap: 16px;
  }

  .featured-deals-rail {
    grid-auto-columns: minmax(230px, 260px);
    gap: 16px;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(100% - 22px, 1180px);
  }

  .top-strip__inner,
  .top-links {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding: 8px 0;
  }

  .utility-links {
    align-items: center;
    gap: 10px;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
  }

  .header-icons {
    margin-left: auto;
  }

  .top-strip .icon-link {
    width: 32px;
    height: 32px;
  }

  .top-strip .icon-link svg {
    width: 19px;
    height: 19px;
  }

  .search-form {
    grid-template-columns: 1fr;
  }

  .search-form button {
    min-height: 42px;
  }

  .hero,
  .hero__inner {
    min-height: 500px;
  }

  .hero__inner {
    align-items: end;
  }

  .hero h1 {
    max-width: 11ch;
    font-size: 36px;
    line-height: 1.02;
  }

  .hero p {
    font-size: 16px;
  }

  .hero-search,
  .coupon-band,
  .market-slide,
  .promo-showcase {
    padding: 20px;
  }

  .market-carousel {
    min-height: 470px;
  }

  .market-slide {
    align-content: start;
    gap: 18px;
    min-height: 470px;
  }

  .market-slide h2 {
    max-width: 100%;
    font-size: 30px;
    line-height: 1.08;
    overflow-wrap: anywhere;
  }

  .market-slide p {
    max-width: 100%;
    font-size: 15px;
    line-height: 1.35;
  }

  .collectible-wall {
    height: 44%;
    grid-template-columns: repeat(4, minmax(56px, 1fr));
    gap: 10px;
    padding-left: 22%;
  }

  .collectible-wall span {
    min-height: 76px;
    border-width: 6px;
  }

  .motors-frame {
    min-height: 170px;
  }

  .market-carousel__controls {
    right: 16px;
    bottom: 16px;
  }

  .market-carousel__controls button {
    width: 44px;
    height: 44px;
    font-size: 25px;
  }

  .market-carousel__dots {
    left: 24px;
    bottom: 30px;
    transform: none;
  }

  .hero-search {
    grid-template-columns: 1fr;
  }

  .shop-tools {
    grid-template-columns: 1fr;
  }

  .shop-tools nav {
    justify-content: flex-start;
  }

  .watchlist-view__head {
    align-items: start;
    flex-direction: column;
  }

  .trust-strip__grid,
  .quick-actions,
  .category-grid,
  .listing-grid,
  .woocommerce-content ul.products,
  .flow-steps,
  .market-info-grid,
  .watchlist-grid,
  .checkout-trust,
  .seller-program,
  .product-assurance,
  .trust-row {
    grid-template-columns: 1fr;
  }

  .listing-title {
    min-height: auto;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 34px;
  }

  .weekly-deals-head h2 {
    font-size: 27px;
  }

  .weekly-deals-rail {
    grid-auto-columns: minmax(168px, 190px);
    gap: 14px;
  }

  .weekly-deal-card strong {
    min-height: 48px;
    font-size: 15px;
  }

  .featured-deals-head h2 {
    font-size: 30px;
  }

  .featured-deals-head p {
    font-size: 17px;
  }

  .featured-deals-rail {
    grid-auto-columns: minmax(220px, 240px);
    gap: 14px;
  }

  .featured-deal-title-row h3 {
    min-height: 48px;
    font-size: 16px;
  }

  .featured-deal-price {
    font-size: 20px;
  }

  .footer-legal {
    align-items: flex-start;
    flex-direction: column;
  }
}
