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

:root {
  --green:       #2b8a1c;
  --green-dark:  #1e6314;
  --green-light: #e8f5e4;
  --yellow:      #f5c800;
  --yellow-dark: #d4aa00;
  --charcoal:    #1a1e1a;
  --gray-90:     #2c2c2c;
  --gray-70:     #555;
  --gray-40:     #999;
  --gray-20:     #ccc;
  --gray-15:     #e8e8e8;
  --gray-05:     #f6f6f4;
  --white:       #fafaf8;
  --font: 'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'IBM Plex Mono', monospace;
}

body { font-family: var(--font); background: var(--white); color: var(--charcoal); font-size: 14px; line-height: 1.5; }
a { color: inherit; text-decoration: none; }

.inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; width: 100%; }

/* ─── TOP BAR ─── */
.topbar { background: var(--charcoal); color: #aaa; font-size: 12px; height: 32px; }
.topbar .inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 16px; }
.topbar-left { display: flex; gap: 20px; align-items: center; }
.topbar-right { display: flex; gap: 20px; align-items: center; }
.topbar a { color: #bbb; }
.topbar a:hover { color: var(--yellow); }
.lang-switch { display: flex; gap: 4px; }
.lang-btn { padding: 2px 7px; border-radius: 2px; font-size: 11px; font-weight: 600; cursor: pointer; border: 1px solid #444; background: transparent; color: #aaa; letter-spacing: 0.5px; text-decoration: none; display: inline-flex; align-items: center; line-height: 1; transition: color .12s, border-color .12s; }
.lang-btn:hover { color: var(--yellow); border-color: #666; }
.lang-btn.active { background: var(--yellow); color: var(--charcoal); border-color: var(--yellow); }
.topbar-badge { background: var(--green); color: #fff; font-size: 11px; font-weight: 600; padding: 2px 10px; border-radius: 2px; letter-spacing: 0.3px; }

/* ─── HEADER ─── */
.header { background: #fff; border-bottom: 2px solid var(--green); height: 64px; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.header .inner { display: flex; align-items: center; gap: 24px; height: 100%; }
.logo img { height: 44px; display: block; }
.search-wrap { flex: 1; max-width: 560px; display: flex; }
.search-input { flex: 1; padding: 8px 14px; border: 2px solid var(--gray-15); border-right: none; font-family: var(--font); font-size: 14px; outline: none; border-radius: 3px 0 0 3px; background: var(--gray-05); transition: border-color .15s; }
.search-input:focus { border-color: var(--green); background: #fff; }
.search-input::placeholder { color: var(--gray-40); }
.search-btn { background: var(--green); color: #fff; border: none; padding: 0 18px; font-size: 14px; font-weight: 600; cursor: pointer; border-radius: 0 3px 3px 0; transition: background .15s; display: flex; align-items: center; gap: 6px; }
.search-btn:hover { background: var(--green-dark); }
.header-actions { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.header-phone { font-weight: 700; font-size: 16px; color: var(--green-dark); letter-spacing: -0.3px; }
.header-phone span { font-size: 11px; color: var(--gray-40); font-weight: 400; display: block; }
.header-icon-btn { display: flex; flex-direction: column; align-items: center; gap: 3px; cursor: pointer; color: var(--gray-70); font-size: 11px; background: none; border: none; padding: 4px 8px; border-radius: 3px; transition: color .15s, background .15s; }
.header-icon-btn:hover { color: var(--green); background: var(--green-light); }
.header-icon-btn svg { width: 22px; height: 22px; }
.cart-wrap { position: relative; }
.cart-count { position: absolute; top: -4px; right: -4px; background: var(--yellow); color: var(--charcoal); font-size: 10px; font-weight: 700; width: 16px; height: 16px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }

/* ─── NAV ─── */
.mainnav { background: var(--green); overflow-x: auto; scrollbar-width: none; }
.mainnav::-webkit-scrollbar { display: none; }
.mainnav .inner { display: flex; align-items: center; padding: 0 24px; }
.mainnav a { color: rgba(255,255,255,.92); font-size: 13px; font-weight: 600; padding: 0 16px; height: 40px; display: flex; align-items: center; white-space: nowrap; border-right: 1px solid rgba(255,255,255,.12); letter-spacing: 0.2px; transition: background .15s, color .15s; }
.mainnav a:first-child { border-left: 1px solid rgba(255,255,255,.12); }
.mainnav a:hover { background: rgba(255,255,255,.15); color: #fff; }
.mainnav a.active { background: var(--yellow); color: var(--charcoal); }
.mainnav-flag { display: flex; align-items: center; gap: 6px; }

/* ─── ANNOUNCEMENT ─── */
.announcement { background: var(--green); color: #fff; font-size: 12px; font-weight: 500; }
.announcement .inner { display: flex; align-items: center; justify-content: center; gap: 12px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.announcement a { color: var(--yellow); font-weight: 700; text-decoration: underline; }

/* ─── HERO ─── */
.hero { background: var(--charcoal); position: relative; overflow: hidden; min-height: 340px; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; opacity: 0.55; }
.hero .inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; padding-top: 52px; padding-bottom: 0; }
.hero-bg { position: absolute; inset: 0; background: linear-gradient(105deg, rgba(10,18,10,0.88) 0%, rgba(18,36,16,0.68) 55%, rgba(10,18,10,0.5) 100%); }
.hero-pattern { position: absolute; inset: 0; background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.015) 0, rgba(255,255,255,.015) 1px, transparent 0, transparent 50%); background-size: 14px 14px; pointer-events: none; }
.hero-content { max-width: 600px; }
.hero-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 2px; color: var(--yellow); text-transform: uppercase; margin-bottom: 12px; }
.hero-title { font-size: 36px; font-weight: 700; color: #fff; line-height: 1.15; margin-bottom: 12px; text-wrap: pretty; }
.hero-title em { color: var(--yellow); font-style: normal; }
.hero-sub { color: rgba(255,255,255,.6); font-size: 15px; margin-bottom: 28px; max-width: 460px; text-wrap: pretty; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary { background: var(--yellow); color: var(--charcoal); font-weight: 700; font-size: 14px; padding: 11px 24px; border-radius: 3px; border: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: background .15s, transform .1s; text-decoration: none; }
.btn-primary:hover { background: var(--yellow-dark); transform: translateY(-1px); }
.btn-outline { background: transparent; color: rgba(255,255,255,.85); font-weight: 600; font-size: 14px; padding: 11px 24px; border-radius: 3px; border: 1.5px solid rgba(255,255,255,.3); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: border-color .15s, color .15s; text-decoration: none; }
.btn-outline:hover { border-color: rgba(255,255,255,.7); color: #fff; }
.hero-stats { position: relative; z-index: 2; display: flex; gap: 0; margin-top: 40px; width: 100%; border-top: 1px solid rgba(255,255,255,.1); }
.hero-stat { flex: 1; padding: 16px 0; background: rgba(0,0,0,.35); border-right: 1px solid rgba(255,255,255,.08); text-align: center; backdrop-filter: blur(4px); }
.hero-stat:last-child { border-right: none; }
.hero-stat-val { font-size: 22px; font-weight: 700; color: var(--yellow); }
.hero-stat-label { font-size: 11px; color: rgba(255,255,255,.5); margin-top: 2px; }

/* ─── QUICK SEARCH ─── */
.quick-search-bar { background: #fff; border-bottom: 1px solid var(--gray-15); }
.quick-search-bar .inner { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; }
.quick-search-label { font-size: 12px; font-weight: 700; color: var(--gray-70); text-transform: uppercase; letter-spacing: 0.8px; white-space: nowrap; }
.quick-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: 5px 14px; border-radius: 2px; background: var(--gray-05); border: 1px solid var(--gray-15); font-size: 12px; font-weight: 600; color: var(--gray-70); cursor: pointer; transition: all .12s; white-space: nowrap; }
.chip:hover { background: var(--green-light); border-color: var(--green); color: var(--green-dark); }
.quick-part-search { margin-left: auto; display: flex; }
.quick-part-input { padding: 6px 12px; border: 1.5px solid var(--gray-15); border-right: none; font-family: var(--mono); font-size: 13px; width: 200px; outline: none; border-radius: 2px 0 0 2px; background: var(--gray-05); text-transform: uppercase; }
.quick-part-input::placeholder { text-transform: none; color: var(--gray-40); font-family: var(--font); }
.quick-part-input:focus { border-color: var(--green); background: #fff; }
.quick-part-btn { background: var(--charcoal); color: #fff; border: none; padding: 6px 14px; font-size: 12px; font-weight: 600; cursor: pointer; border-radius: 0 2px 2px 0; white-space: nowrap; transition: background .15s; }
.quick-part-btn:hover { background: var(--green-dark); }

/* ─── PAGE LAYOUT ─── */
.page-body { max-width: 1280px; margin: 0 auto; padding: 32px 24px; }
.section-hdr { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--green); }
.section-hdr h2 { font-size: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.section-hdr a { font-size: 12px; color: var(--green); font-weight: 600; }
.section-hdr a:hover { text-decoration: underline; }

/* ─── CATEGORY GRID ─── */
.category-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; margin-bottom: 40px; }
.cat-card { background: #fff; border: 1.5px solid var(--gray-15); border-radius: 3px; padding: 20px 16px 16px; text-align: center; cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .12s; text-decoration: none; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.cat-card:hover { border-color: var(--green); box-shadow: 0 4px 16px rgba(43,138,28,.1); transform: translateY(-2px); }
.cat-icon { width: 52px; height: 52px; background: var(--green-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; }
.cat-name { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.3px; color: var(--charcoal); }
.cat-count { font-size: 11px; color: var(--gray-40); }

/* ─── TWO-COL ─── */
.two-col { display: grid; grid-template-columns: 1fr 320px; gap: 24px; margin-bottom: 40px; }

/* ─── PRODUCT ROWS ─── */
.product-list-dense { display: flex; flex-direction: column; gap: 8px; }
.product-row { display: grid; grid-template-columns: 72px 1fr auto auto; gap: 12px; align-items: center; background: #fff; border: 1.5px solid var(--gray-15); border-radius: 3px; padding: 10px 14px; cursor: pointer; transition: border-color .12s, box-shadow .12s; text-decoration: none; }
.product-row:hover { border-color: var(--green); box-shadow: 0 2px 10px rgba(43,138,28,.08); }
.product-thumb { width: 72px; height: 52px; background: var(--gray-05); border: 1px solid var(--gray-15); border-radius: 2px; display: flex; align-items: center; justify-content: center; font-size: 9px; color: var(--gray-40); text-align: center; font-family: var(--mono); overflow: hidden; }
.product-name { font-size: 13px; font-weight: 600; color: var(--charcoal); margin-bottom: 2px; }
.product-meta { display: flex; gap: 10px; flex-wrap: wrap; }
.product-pn { font-family: var(--mono); font-size: 11px; color: var(--gray-40); }
.product-brand { font-size: 11px; color: var(--green); font-weight: 600; }
.product-compat { font-size: 11px; color: var(--gray-40); }
.product-stock { font-size: 11px; font-weight: 600; }
.stock-in { color: var(--green); }
.stock-low { color: #e07b00; }
.product-price-col { text-align: right; min-width: 90px; }
.product-price { font-size: 15px; font-weight: 700; color: var(--charcoal); white-space: nowrap; }
.product-price-vat { font-size: 10px; color: var(--gray-40); }
.product-add-btn { background: var(--green); color: #fff; border: none; padding: 7px 14px; border-radius: 2px; font-size: 12px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: background .12s; display: flex; align-items: center; gap: 6px; }
.product-add-btn:hover { background: var(--green-dark); }

/* ─── SIDEBAR BLOCKS ─── */
.sidebar-blocks { display: flex; flex-direction: column; gap: 14px; }
.promo-block { background: var(--charcoal); color: #fff; border-radius: 3px; padding: 20px; position: relative; overflow: hidden; }
.promo-block::before { content: ''; position: absolute; top: 0; right: 0; width: 100px; height: 100px; background: var(--yellow); opacity: .06; border-radius: 50%; transform: translate(30%, -30%); }
.promo-block h3 { font-size: 14px; font-weight: 700; margin-bottom: 6px; color: var(--yellow); }
.promo-block p { font-size: 12px; color: rgba(255,255,255,.65); margin-bottom: 14px; line-height: 1.5; text-wrap: pretty; }
.promo-btn { display: inline-flex; align-items: center; gap: 6px; background: var(--yellow); color: var(--charcoal); font-size: 12px; font-weight: 700; padding: 7px 14px; border-radius: 2px; cursor: pointer; border: none; transition: background .12s; text-decoration: none; }
.promo-btn:hover { background: var(--yellow-dark); }
.info-block { background: var(--green-light); border: 1.5px solid rgba(43,138,28,.2); border-radius: 3px; padding: 16px; }
.info-block h3 { font-size: 13px; font-weight: 700; color: var(--green-dark); margin-bottom: 10px; }
.info-list { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.info-list li { font-size: 12px; color: var(--gray-70); display: flex; align-items: flex-start; gap: 8px; }
.info-list li::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; }
.contact-block { background: #fff; border: 1.5px solid var(--gray-15); border-radius: 3px; padding: 16px; }
.contact-block h3 { font-size: 13px; font-weight: 700; color: var(--charcoal); margin-bottom: 10px; }
.contact-row { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.contact-row svg { width: 16px; height: 16px; color: var(--green); flex-shrink: 0; }
.contact-row a { font-size: 13px; font-weight: 600; color: var(--green-dark); }
.contact-row span { font-size: 12px; color: var(--gray-40); }
.hours-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: var(--gray-70); background: var(--gray-05); padding: 5px 10px; border-radius: 2px; margin-top: 4px; }
.hours-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }

/* ─── BRANDS ─── */
.brands-row { display: flex; gap: 0; flex-wrap: wrap; border: 1.5px solid var(--gray-15); border-radius: 3px; overflow: hidden; margin-bottom: 40px; }
.brand-item { flex: 1; min-width: 100px; padding: 14px 20px; border-right: 1px solid var(--gray-15); text-align: center; font-size: 13px; font-weight: 700; color: var(--gray-40); letter-spacing: 0.5px; cursor: pointer; transition: color .12s, background .12s; }
.brand-item:last-child { border-right: none; }
.brand-item:hover { background: var(--green-light); color: var(--green-dark); }

/* ─── B2B STRIP ─── */
.b2b-strip { background: var(--yellow); }
.b2b-strip .inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
.b2b-strip-text { font-size: 13px; font-weight: 600; color: var(--charcoal); }
.b2b-strip-text strong { font-weight: 800; }
.b2b-cta { background: var(--charcoal); color: #fff; padding: 8px 20px; border-radius: 2px; font-size: 13px; font-weight: 700; cursor: pointer; border: none; transition: background .12s; text-decoration: none; white-space: nowrap; }
.b2b-cta:hover { background: var(--green-dark); }

/* ─── FOOTER ─── */
.footer { background: var(--charcoal); color: rgba(255,255,255,.6); margin-top: 48px; padding: 40px 24px 20px; }
.footer-grid { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.footer-brand img { height: 36px; filter: brightness(0) invert(1) opacity(.7); margin-bottom: 12px; }
.footer-brand p { font-size: 12px; line-height: 1.6; max-width: 260px; text-wrap: pretty; }
.footer-col h4 { font-size: 12px; font-weight: 700; color: rgba(255,255,255,.85); text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 12px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.footer-links a { font-size: 12px; color: rgba(255,255,255,.5); transition: color .12s; }
.footer-links a:hover { color: var(--yellow); }
.footer-bottom { max-width: 1280px; margin: 0 auto; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; align-items: center; font-size: 11px; }
