:root {
  --orange: #D97A1A; --orange-dark: #B7620F;
  --black: #111111; --white: #FFFFFF;
  --grey-surface: #F5F5F5; --grey-border: #E4E4E4;
  --radius: 14px; --shadow: 0 6px 20px rgba(17,17,17,.08);
  --maxw: 1140px;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
html, body { overflow-x: hidden; }
body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--black); background: var(--white); line-height: 1.5;
}
h1, h2, h3, .brand { font-family: Poppins, Inter, system-ui, sans-serif; font-weight: 800; line-height: 1.15; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--white);
  border-bottom: 1px solid var(--grey-border); }
.site-header .container { display: flex; align-items: center; gap: 16px; height: 66px; }
.site-header .logo { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.site-header .logo img { height: 40px; width: auto; }
.site-header .brand { font-size: 20px; }
.nav { display: flex; gap: 6px; margin-left: auto; flex-wrap: wrap; }
.nav a { padding: 8px 12px; border-radius: 999px; font-weight: 600; font-size: 15px; color: #444; }
.nav a.active, .nav a:hover { background: var(--grey-surface); color: var(--black); }
.header-wa { margin-left: 8px; }

/* Mobile nav toggle (hidden on desktop) */
.nav-toggle { display: none; margin-left: 8px; width: 44px; height: 44px; border: 0;
  background: none; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--black); border-radius: 2px;
  margin: 4px 0; transition: transform .2s, opacity .2s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mobile-nav { display: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 18px; border-radius: 999px; font-weight: 700; border: 0; cursor: pointer;
  background: var(--black); color: var(--white); font-size: 15px; }
.btn:hover { opacity: .92; }
.btn-orange { background: var(--orange); }
.btn-orange:hover { background: var(--orange-dark); }
.btn-wa { background: #25D366; color: #063d1e; width: 100%; }
.btn-wa:hover { background: #1fb457; }
.btn[disabled] { background: var(--grey-border); color: #888; cursor: not-allowed; }

/* Hero */
.hero { background: linear-gradient(180deg, #fff 0%, var(--grey-surface) 100%); padding: 56px 0 44px; }
.hero h1 { font-size: clamp(30px, 6vw, 52px); margin: 0 0 12px; }
.hero p { font-size: 18px; color: #444; max-width: 560px; margin: 0 0 24px; }
.hero .accent { color: var(--orange); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero-copy { min-width: 0; }

/* Hero trust panel (doubles as the site's trust block) */
.trust-panel { background: #fff; border: 1px solid var(--grey-border); border-radius: var(--radius);
  box-shadow: var(--shadow); }
.trust-panel ul { list-style: none; margin: 0; padding: 0; }
.trust-panel li + li { border-top: 1px solid var(--grey-border); }
.trust-row { display: flex; gap: 12px; align-items: flex-start; padding: 15px 18px; color: var(--black); }
a.trust-row:hover { background: var(--grey-surface); }
.trust-row .ic { font-size: 22px; line-height: 1.25; flex: 0 0 auto; }
.trust-row .tx { font-size: 14px; color: #555; line-height: 1.45; }
.trust-row .tx strong { color: var(--black); font-weight: 700; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 40px 0; }
.step { background: var(--grey-surface); border-radius: var(--radius); padding: 22px; }
.step .num { display: inline-flex; width: 34px; height: 34px; border-radius: 50%;
  background: var(--orange); color: #fff; align-items: center; justify-content: center; font-weight: 800; margin-bottom: 10px; }

/* Category cards */
.cat-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding: 12px 0 48px; }
.cat-card { background: var(--white); border: 1px solid var(--grey-border); border-radius: var(--radius);
  min-width: 0; padding: 24px; text-align: center; font-weight: 700; box-shadow: var(--shadow); transition: transform .12s; }
.cat-card:hover { transform: translateY(-3px); border-color: var(--orange); }
.cat-card .emoji { font-size: 34px; display: block; margin-bottom: 10px; }
.cat-card .cat-from { display: block; margin-top: 7px; font-size: 14px; font-weight: 700; color: var(--orange-dark); }

/* Section titles */
.section-title { font-size: 24px; margin: 32px 0 16px; }

/* Tabs (accessories) */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0 4px; }
.tab { padding: 9px 14px; border-radius: 999px; border: 1px solid var(--grey-border);
  background: #fff; font-weight: 600; cursor: pointer; }
.tab.active { background: var(--black); color: #fff; border-color: var(--black); }

/* Filters */
.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 14px 0 22px; }
.filters input, .filters select { padding: 10px 12px; border: 1px solid var(--grey-border);
  border-radius: 10px; font: inherit; }
.filters input[type="search"] { min-width: 0; flex: 1 1 200px; }
.chip { padding: 8px 13px; border-radius: 999px; border: 1px solid var(--grey-border);
  background: #fff; font-weight: 600; cursor: pointer; font-size: 14px; }
.chip.active { background: var(--orange); color: #fff; border-color: var(--orange); }

/* Grid + cards */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; padding-bottom: 48px; }
.card { border: 1px solid var(--grey-border); border-radius: var(--radius); overflow: hidden;
  min-width: 0; background: #fff; display: flex; flex-direction: column; box-shadow: var(--shadow);
  cursor: pointer; }
.card .thumb { aspect-ratio: 1/1; background: var(--grey-surface); display: flex; align-items: center; justify-content: center; position: relative; }
.card .thumb img { width: 100%; height: 100%; object-fit: contain; padding: 14px; cursor: pointer; }
.card .body { padding: 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card h3 { font-size: 16px; margin: 0; }
.card .meta { color: #666; font-size: 13px; }
.card .price { font-size: 20px; font-weight: 800; color: var(--black); }
.badge { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.badge--new { background: #E6F6EC; color: #137a3f; }
.badge--uk { background: #E8F0FE; color: #1a56c4; }
.badge--ng { background: #FCEEE2; color: var(--orange-dark); }
.card.sold { opacity: .6; }
.card.sold .thumb::after {
  content: "SOLD";
  position: absolute; top: 10px; left: 10px;
  background: #111; color: #fff;
  font-size: 12px; font-weight: 800; letter-spacing: .5px;
  padding: 4px 10px; border-radius: 999px; z-index: 2;
}

/* Modal */
.modal { position: fixed; inset: 0; background: rgba(17,17,17,.55); display: none;
  align-items: center; justify-content: center; z-index: 50; padding: 18px; }
.modal.open { display: flex; }
.modal .box { position: relative; background: #fff; border-radius: 18px; max-width: 460px; width: 100%; overflow: hidden; }
.modal .box .content { padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.modal .close { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center; font-size: 24px; line-height: 1;
  border: 0; border-radius: 50%; background: rgba(17,17,17,.55); color: #fff; cursor: pointer; z-index: 2; }
.modal .close:hover { background: rgba(17,17,17,.8); }
body.modal-open { overflow: hidden; }

/* Modal gallery */
.gallery { position: relative; }
.gallery .thumb { aspect-ratio: 4/3; background: var(--grey-surface); }
.gallery .thumb img { width: 100%; height: 100%; object-fit: contain; padding: 20px; }
.gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 38px;
  border: 0; border-radius: 50%; background: rgba(255,255,255,.9); box-shadow: var(--shadow);
  font-size: 22px; line-height: 1; cursor: pointer; color: var(--black); }
.gallery-nav:hover { background: #fff; }
.gallery-nav.prev { left: 10px; }
.gallery-nav.next { right: 10px; }
.gallery-dots { display: flex; gap: 7px; justify-content: center; padding: 10px 0 2px; }
.gallery-dots .dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%;
  background: var(--grey-border); cursor: pointer; }
.gallery-dots .dot.active { background: var(--orange); }

/* Modal specs + trust */
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; margin: 2px 0; }
.specs > div { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--grey-border); padding-bottom: 6px; }
.specs dt { color: #777; font-size: 13px; margin: 0; }
.specs dd { margin: 0; font-weight: 600; font-size: 13px; text-align: right; }
.modal-notes { margin: 2px 0; color: #555; font-size: 14px; }
.modal-trust { list-style: none; margin: 4px 0 2px; padding: 12px 14px; display: grid; gap: 8px;
  background: var(--grey-surface); border-radius: 10px; }
.modal-trust li { display: flex; gap: 9px; align-items: center; font-size: 13.5px; color: #333; }

/* Result count */
.result-count { color: #666; font-size: 14px; margin: 0 0 14px; }

/* Floating WhatsApp button */
.wa-fab { position: fixed; right: 18px; bottom: 18px; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.25); transition: transform .12s; }
.wa-fab:hover { transform: scale(1.06); background: #1fb457; }

/* States */
.state { text-align: center; padding: 60px 20px; color: #666; }

/* Footer */
.site-footer { background: var(--black); color: #ddd; padding: 40px 0; margin-top: 20px; }
.site-footer a { color: var(--orange); }
.site-footer .cols { display: grid; grid-template-columns: 2fr 1fr 1.6fr; gap: 24px; }
.site-footer p { line-height: 1.7; }
.site-footer h4 { color: #fff; margin: 0 0 10px; }
.site-footer .fine { border-top: 1px solid #333; margin-top: 24px; padding-top: 16px; font-size: 13px; color: #999; }

/* Responsive */
@media (max-width: 900px) {
  .cat-cards, .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr; gap: 26px; }
  .site-footer .cols { grid-template-columns: 1fr; }
  .nav, .header-wa { display: none; }   /* desktop nav + header WA hide */
  .nav-toggle { display: block; margin-left: auto; }
  .site-header { position: sticky; }
  .mobile-nav { display: flex; flex-direction: column; gap: 2px;
    border-top: 1px solid var(--grey-border); background: var(--white); padding: 8px 20px 14px; }
  .mobile-nav[hidden] { display: none; }
  .mobile-nav a { padding: 12px 8px; border-radius: 10px; font-weight: 600; color: #333; }
  .mobile-nav a.active, .mobile-nav a:hover { background: var(--grey-surface); color: var(--black); }
  .mobile-nav .mobile-wa { margin-top: 6px; background: #25D366; color: #063d1e; text-align: center;
    border-radius: 999px; font-weight: 700; }
}
@media (max-width: 520px) {
  .cat-cards, .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .card .price { font-size: 18px; }
}
@media (max-width: 360px) {
  .specs { grid-template-columns: 1fr; }   /* stop spec label/value cramping on narrow phones */
}
