* { box-sizing: border-box; }
body { margin: 0; font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: #0F172A; background: #F6F8FB; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }





.hero { background: #0A2E6E; color: #fff; padding: 60px 0; text-align: center; }
.hero h1 { font-size: 40px; margin: 0 0 10px; }
.hero .sub { font-size: 18px; opacity: 0.85; margin: 0 0 24px; }
.hero .cta { display: inline-block; background: #1E6BFF; color: #0A2E6E; padding: 12px 28px; border-radius: 6px; font-weight: 700; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.card { background: #fff; border-radius: 8px; overflow: hidden; transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.08); }
.card .img { aspect-ratio: 1; background: #E8EDF5 center/cover; }
.card .info { padding: 14px; }
.card .title { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.card .brand { font-size: 12px; color: #5A6B85; margin-bottom: 8px; text-transform: uppercase; }
.card .price .was { text-decoration: line-through; color: #5A6B85; font-size: 13px; margin-right: 6px; }
.card .price .now { font-size: 18px; color: #E02424; font-weight: 700; }
main { padding: 30px 0 60px; }
main h2 { font-size: 22px; margin: 30px 0 16px; }
.site-footer { background: #fff; border-top: 1px solid #F6F8FB; padding: 24px 0; text-align: center; font-size: 13px; color: #5A6B85; }
.site-footer .small { font-size: 12px; }
.cta { display: inline-block; background: #1E6BFF; color: #0A2E6E; padding: 10px 20px; border-radius: 6px; font-weight: 700; cursor: pointer; border: 0; }
.btn { display: inline-block; background: #1E6BFF; color: #0A2E6E; padding: 10px 20px; border-radius: 6px; font-weight: 700; border: 0; cursor: pointer; }
.btn:hover, .cta:hover { background: #1E6BFF; }
input, select, textarea { padding: 10px; border: 1px solid #E3E8EF; border-radius: 6px; font-size: 15px; width: 100%; }
table { width: 100%; border-collapse: collapse; }
table th, table td { padding: 10px; border-bottom: 1px solid #E3E8EF; text-align: left; }

.site-header { background: #0F1B2D; border-bottom: 4px solid #1E6BFF; }
.site-header .logo-row { display: flex; justify-content: center; align-items: center; padding: 18px 20px; }
.site-header .logo { display: block; }
.site-header .logo img { height: 110px; width: auto; display: block; }
.site-header .nav-row { background: #0F1B2D; border-top: 1px solid #22304A; }
.site-header .nav-row .container { display: flex; gap: 22px; font-size: 15px; align-items: center; padding: 14px 20px; }
.site-header .nav-row a { color: #E8EDF5; }
.site-header .nav-row a:hover { color: #1E6BFF; }
.site-header .nav-row .spacer { flex: 1; }
@media (max-width: 720px) {
  .site-header .logo img { height: 70px; }
  .site-header .nav-row .container { flex-wrap: wrap; gap: 12px 18px; font-size: 14px; }
  .site-header .nav-row .spacer { display: none; }
}

/* ==== FINAL header (appended  overrides anything above via cascade) ==== */
.site-header {
  background: #0F1B2D !important;
  border-bottom: 5px solid #1E6BFF !important;
  padding: 0 !important;
}
.site-header .logo-row {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  padding: 24px 20px !important;
}
.site-header .logo-row a.logo { display: block !important; }
.site-header .logo-row a.logo img {
  height: 120px !important;
  width: auto !important;
  display: block !important;
}
.site-header nav.nav-row {
  background: #0F1B2D !important;
  border-top: 1px solid #22304A !important;
  padding: 0 !important;
}
.site-header nav.nav-row .container {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 4px !important;
  padding: 0 20px !important;
  min-height: 60px !important;
  flex-wrap: wrap !important;
}
.site-header nav.nav-row a {
  color: #E8EDF5 !important;
  text-decoration: none !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  padding: 20px 18px !important;
  border-bottom: 3px solid transparent !important;
  transition: color .15s, border-color .15s !important;
  display: inline-block !important;
}
.site-header nav.nav-row a:hover {
  color: #1E6BFF !important;
  border-bottom-color: #1E6BFF !important;
}
.site-header nav.nav-row .spacer { flex: 1 1 auto; }

/* Cart pill */
.site-header nav.nav-row a[href="/cart"] {
  background: #1E6BFF !important;
  color: #0F1B2D !important;
  border-radius: 999px !important;
  padding: 9px 20px !important;
  margin: 0 8px !important;
  font-weight: 800 !important;
  border-bottom: none !important;
  transition: background .15s !important;
}
.site-header nav.nav-row a[href="/cart"]:hover {
  background: #1E6BFF !important;
  color: #0F1B2D !important;
}

/* Login / Register - muted */
.site-header nav.nav-row a[href="/login"],
.site-header nav.nav-row a[href="/register"] {
  color: #9AA9BF !important;
  text-transform: none !important;
  letter-spacing: 0.02em !important;
  font-weight: 600 !important;
}
.site-header nav.nav-row a[href="/login"]:hover,
.site-header nav.nav-row a[href="/register"]:hover {
  color: #1E6BFF !important;
  border-bottom-color: transparent !important;
}

/* Mobile */
@media (max-width: 720px) {
  .site-header .logo-row { padding: 14px 12px !important; }
  .site-header .logo-row a.logo img { height: 110px !important; }
  .site-header nav.nav-row .container {
    gap: 0 !important;
    padding: 0 !important;
    justify-content: flex-start !important;
    overflow-x: auto !important;
    flex-wrap: nowrap !important;
  }
  .site-header nav.nav-row a {
    padding: 16px 12px !important;
    font-size: 12px !important;
    white-space: nowrap !important;
  }
  .site-header nav.nav-row a[href="/cart"] {
    padding: 8px 14px !important;
    margin: 0 6px !important;
    font-size: 12px !important;
  }
}

/* ==== Topbar ribbon ==== */
.site-header .topbar {
  background: #1E6BFF !important;
  border-bottom: 1px solid #1E6BFF !important;
  padding: 8px 0 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #0F1B2D !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
}
.site-header .topbar .container {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  padding: 0 20px !important;
  max-width: 1400px !important;
  margin: 0 auto !important;
}
.site-header .topbar .tb-c { color: #0F1B2D !important; }
.site-header .topbar .tb-l,
.site-header .topbar .tb-r { white-space: nowrap !important; }

/* ==== Logo row  3 columns with trust info on the sides ==== */
.site-header .logo-row {
  display: grid !important;
  grid-template-columns: 1fr auto 1fr !important;
  align-items: center !important;
  gap: 20px !important;
  padding: 18px 20px !important;
  max-width: 1400px !important;
  margin: 0 auto !important;
  justify-content: normal !important;
}

.site-header .logo-row .trust-left {
  justify-self: start !important;
  color: #E8EDF5 !important;
}
.site-header .logo-row .trust-right {
  justify-self: end !important;
  text-align: right !important;
}

.site-header .trust-meta strong {
  display: block !important;
  color: #1E6BFF !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: 0.1em !important;
  margin-bottom: 3px !important;
}
.site-header .trust-meta span {
  display: block !important;
  color: #9AA9BF !important;
  font-size: 11px !important;
  letter-spacing: 0.05em !important;
}

.site-header .trust-phone {
  color: #1E6BFF !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em !important;
  margin-bottom: 3px !important;
}
.site-header .trust-meta-sm {
  color: #9AA9BF !important;
  font-size: 11px !important;
  letter-spacing: 0.05em !important;
}

@media (max-width: 960px) {
  .site-header .logo-row {
    grid-template-columns: 1fr !important;
    justify-items: center !important;
    padding: 14px 16px !important;
  }
  .site-header .trust-left,
  .site-header .trust-right { display: none !important; }
}

@media (max-width: 720px) {
  .site-header .topbar { font-size: 10px !important; padding: 6px 0 !important; }
  .site-header .topbar .container { justify-content: center !important; }
  .site-header .topbar .tb-c { display: none !important; }
  .site-header .topbar .tb-r { display: none !important; }
}

/* ==== Product page  responsive, handles long content ==== */
.product-page { padding-top: 30px; padding-bottom: 60px; }
.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 780px) {
  .product-grid { grid-template-columns: 1fr; gap: 24px; }
}
.product-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.product-image .placeholder {
  aspect-ratio: 1;
  background: #E8EDF5;
  border-radius: 8px;
}
.product-brand {
  font-size: 13px;
  color: #5A6B85;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.product-info h1 {
  margin: 0 0 14px;
  font-size: 28px;
  line-height: 1.25;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.product-price { margin-bottom: 18px; display: flex; flex-wrap: wrap; gap: 12px; align-items: baseline; }
.product-price .rrp { text-decoration: line-through; color: #5A6B85; font-size: 16px; }
.product-price .sale { font-size: 30px; color: #E02424; font-weight: 800; }
.product-price .save { background: #1E6BFF; color: #0A2E6E; padding: 3px 9px; border-radius: 4px; font-size: 12px; font-weight: 800; }

.short-desc {
  color: #33405A;
  font-size: 16px;
  line-height: 1.6;
  margin: 14px 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.stock-line { margin: 14px 0; color: #0E9F6E; }
.add-form { margin: 22px 0; }
.btn-big { width: 100%; font-size: 18px; padding: 16px; }

.bullets { font-size: 13px; color: #4A5A73; margin: 12px 0 0; }

.product-section {
  margin-top: 48px;
  border-top: 1px solid #E3E8EF;
  padding-top: 24px;
}
.product-section h2 {
  font-size: 20px;
  margin: 0 0 16px;
  color: #0F1B2D;
}

.product-long {
  background: #F6F8FB;
  border: 1px solid #E3E8EF;
  border-radius: 8px;
  padding: 20px 24px;
  font-size: 15px;
  line-height: 1.7;
  color: #0F172A;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
  max-width: 100%;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  table-layout: fixed;
}
.spec-table th,
.spec-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #F6F8FB;
  vertical-align: top;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
  white-space: normal;
  line-height: 1.5;
}
.spec-table th {
  width: 35%;
  font-weight: 600;
  color: #33405A;
  background: #F6F8FB;
  text-align: left;
  font-size: 14px;
}
.spec-table td {
  font-size: 14px;
  color: #0F172A;
  white-space: pre-wrap;
}
.spec-table tr:last-child th,
.spec-table tr:last-child td { border-bottom: 0; }

@media (max-width: 600px) {
  .spec-table th { width: 40%; padding: 10px 12px; font-size: 13px; }
  .spec-table td { padding: 10px 12px; font-size: 13px; }
  .product-info h1 { font-size: 22px; }
  .product-price .sale { font-size: 26px; }
}

/* ==== Product tabs ==== */
.product-tabs {
  margin-top: 44px;
  border: 1px solid #E3E8EF;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}
.tab-nav {
  display: flex;
  border-bottom: 1px solid #E3E8EF;
  background: #F6F8FB;
  overflow-x: auto;
  scrollbar-width: none;
}
.tab-nav::-webkit-scrollbar { display: none; }
.tab-btn {
  flex: 0 0 auto;
  padding: 16px 26px;
  background: transparent;
  border: 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #4A5A73;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  transition: color .15s, border-color .15s, background .15s;
  font-family: inherit;
  white-space: nowrap;
}
.tab-btn:hover { color: #0F1B2D; background: #fff; }
.tab-btn.active {
  color: #0F1B2D;
  background: #fff;
  border-bottom-color: #1E6BFF;
}
.tab-content {
  display: none;
  padding: 26px 28px;
}
.tab-content.active { display: block; }

.tab-content h3 {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #0F1B2D;
  margin: 20px 0 8px;
}
.tab-content h3:first-child { margin-top: 0; }
.tab-content p, .tab-content .muted {
  color: #33405A;
  line-height: 1.7;
  margin: 0 0 12px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.tab-content .muted { color: #5A6B85; }

/* override earlier .product-long defaults to fit tabs */
.product-tabs .product-long {
  background: transparent;
  border: 0;
  padding: 0;
  border-radius: 0;
}

@media (max-width: 600px) {
  .tab-bar, .tab-nav { justify-content: normal; }
  .tab-btn { padding: 13px 16px; font-size: 12px; }
  .tab-content { padding: 20px 18px; }
}

/* logo lockup: keep wide mark inside the header grid */
.site-header .logo-row a.logo img { max-width: 100% !important; object-fit: contain !important; }
@media (max-width: 760px) {
  .site-header .logo-row a.logo img { height: 64px !important; }
}


/* ==== 2026 rebrand: type + surfaces ==== */
:root{
  --accent:#1E6BFF; --accent-h:#4A8BFF; --accent-ink:#0A2E6E;
  --nav:#0F1B2D; --nav-b:#22304A; --on-dark:#E8EDF5; --on-dark-m:#9AA9BF;
  --surface:#FFFFFF; --surface-2:#F6F8FB; --border:#E3E8EF;
  --text:#0F172A; --muted:#5A6B85;
  --success:#0E9F6E; --sale:#E02424;
  --r:10px; --r-sm:6px;
}
body{
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif !important;
  background:var(--surface) !important;
  color:var(--text) !important;
  -webkit-font-smoothing:antialiased;
}
.site-header .nav-row{ background:var(--nav) !important; border-top:1px solid var(--nav-b) !important; }
.site-header .nav-row a{ color:var(--on-dark) !important; }
.site-header .nav-row a:hover{ color:var(--accent-h) !important; }
.site-header .trust-left,.site-header .trust-right{ color:var(--on-dark) !important; }
.site-header .trust-meta-sm{ color:var(--on-dark-m) !important; }
a{ color:var(--accent-ink); }
a:hover{ color:var(--accent); }
.cta,button,.btn{
  border-radius:var(--r-sm) !important;
  font-weight:600 !important;
}

/* button + link pressed states (replaces old gold hover shades) */
.cta, button, .btn { transition: background .15s, box-shadow .15s, transform .06s; }
.cta:hover, button:hover, .btn:hover { filter: brightness(1.08); }
.cta:active, button:active, .btn:active { transform: translateY(1px); }
.price, .product-price { color: var(--accent); font-weight: 700; }


/* ==== trust strip / footer legal / reviews ==== */
.trust-strip{display:flex;flex-wrap:wrap;gap:10px 22px;justify-content:center;
  background:#F6F8FB;border:1px solid #E3E8EF;border-radius:10px;
  padding:12px 16px;margin:16px 0;font-size:14px;color:#33405A}
.trust-strip span{white-space:nowrap}
.footer-legal{margin-top:22px;padding-top:16px;border-top:1px solid #22304A;
  font-size:13px;line-height:1.7;color:#9AA9BF}
.footer-legal a{color:#E8EDF5;text-decoration:none}
.footer-legal a:hover{color:#4A8BFF}
.reviews{margin:22px 0;border-top:1px solid #E3E8EF;padding-top:16px}
.rev-head{font-weight:700;font-size:15px;margin-bottom:12px}
.rev{margin-bottom:14px}
.rev strong{font-size:14px}
.rev .muted{color:#5A6B85;font-size:12px;margin-left:6px}
.rev p{margin:4px 0 0;font-size:14px;color:#33405A}
.stock-low{color:#E02424;font-weight:700;font-size:14px;margin:6px 0}
.notice{background:#F6F8FB;border:1px solid #E3E8EF;border-left:4px solid #0E9F6E;
  padding:12px 14px;border-radius:6px;margin:14px 0}
.notice-err{border-left-color:#E02424}
.contact-form input,.contact-form textarea{width:100%;max-width:520px;
  padding:10px 12px;border:1px solid #E3E8EF;border-radius:6px;font:inherit}
.contact-form label{font-weight:600;font-size:14px}


/* ==== search ==== */
.nav-search{display:flex;gap:6px;margin-left:auto;align-items:center}
.nav-search input{background:#182742;border:1px solid #22304A;color:#E8EDF5;
  border-radius:6px;padding:7px 11px;font:inherit;font-size:14px;min-width:190px}
.nav-search input::placeholder{color:#9AA9BF}
.nav-search input:focus{outline:2px solid #1E6BFF;outline-offset:1px;border-color:#1E6BFF}
.nav-search button{background:#1E6BFF;color:#fff;border:0;border-radius:6px;
  padding:7px 14px;font:inherit;font-size:14px;font-weight:600;cursor:pointer}
.nav-search button:hover{background:#4A8BFF}

.search-form{display:flex;gap:8px;margin:18px 0 26px;max-width:640px}
.search-form input{flex:1;padding:11px 14px;border:1px solid #E3E8EF;
  border-radius:8px;font:inherit;font-size:15px}
.search-form button{padding:11px 22px;background:#1E6BFF;color:#fff;border:0;
  border-radius:8px;font:inherit;font-weight:700;cursor:pointer}

.s-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:20px;margin:18px 0}
.s-card{border:1px solid #E3E8EF;border-radius:10px;overflow:hidden;background:#fff;display:flex;flex-direction:column}
.s-card a{text-decoration:none;color:inherit;display:flex;flex-direction:column;height:100%}
.s-card img{width:100%;aspect-ratio:1/1;object-fit:contain;background:#F6F8FB;padding:12px}
.s-card .s-body{padding:12px 14px 16px;display:flex;flex-direction:column;gap:6px;flex:1}
.s-card .s-title{font-size:14px;font-weight:600;line-height:1.4;color:#0F172A}
.s-card .s-brand{font-size:12px;color:#5A6B85;text-transform:uppercase;letter-spacing:.04em}
.s-card .s-price{margin-top:auto;font-size:17px;font-weight:800;color:#1E6BFF}
.s-empty{background:#F6F8FB;border:1px solid #E3E8EF;border-radius:10px;padding:28px;text-align:center}
.s-count{color:#5A6B85;font-size:14px;margin:0 0 4px}

@media(max-width:760px){
  .nav-search{width:100%;margin-left:0;margin-top:10px}
  .nav-search input{min-width:0;flex:1}
  .s-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}
}


/* logo sizing  final */
.site-header .logo-row a.logo img { height: 64px !important; max-width: 100% !important; object-fit: contain !important; }
@media (max-width: 760px) {
  .site-header .logo-row a.logo img { height: 44px !important; }
}

/* ==== search card prices  force separation ==== */
.s-card .s-price {
  margin-top: auto !important;
  font-size: 17px !important;
  font-weight: 800 !important;
  color: #1E6BFF !important;
  line-height: 1.3 !important;
  display: flex !important;
  align-items: baseline !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
}
.s-card .s-price .s-rrp {
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #5A6B85 !important;
  text-decoration: line-through !important;
  text-decoration-thickness: 1.5px !important;
  margin: 0 !important;
}

/* ==== sort / filter bar ==== */
.filters {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 14px 18px;
  padding: 16px 18px;
  margin: 0 0 22px;
  background: #F6F8FB;
  border: 1px solid #E3E8EF;
  border-radius: 10px;
}
.filters .field { display: flex; flex-direction: column; gap: 5px; }
.filters .field > span {
  font-size: 11px; font-weight: 700; color: #5A6B85;
  text-transform: uppercase; letter-spacing: .05em;
}
.filters select, .filters input[type="number"] {
  font: inherit; font-size: 14px; padding: 8px 10px;
  border: 1px solid #D5DCE5; border-radius: 6px;
  background: #fff; color: #0F172A; outline: none;
}
.filters select {
  min-width: 160px; padding-right: 30px; cursor: pointer;
  -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 12 8'%3E%3Cpath fill='%235A6B85' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 11px center;
}
.filters input[type="number"] { width: 88px; }
.filters input[type="number"]::-webkit-outer-spin-button,
.filters input[type="number"]::-webkit-inner-spin-button { margin-left: 2px; }
.filters select:focus, .filters input:focus {
  outline: 2px solid #1E6BFF; outline-offset: 1px; border-color: #1E6BFF;
}
.filters .price-inputs { display: flex; align-items: center; gap: 6px; }
.filters .price-inputs .dash { color: #9AA9BF; }
.filters .apply {
  font: inherit; font-size: 14px; font-weight: 700; padding: 9px 22px;
  background: #1E6BFF; color: #fff; border: 0; border-radius: 6px; cursor: pointer;
}
.filters .apply:hover { background: #4A8BFF; }
.filters .clear {
  font-size: 13px; color: #5A6B85; align-self: center;
  text-decoration: underline; margin-left: 2px;
}
.filters .clear:hover { color: #1E6BFF; }

/* card save badge */
.s-card .s-save {
  font-size: 11px; font-weight: 700; color: #0E9F6E;
  margin-top: 2px; letter-spacing: .02em;
}

@media (max-width: 680px) {
  .filters { padding: 12px 14px; gap: 12px 14px; }
  .filters .field { flex: 1 1 100%; }
  .filters select, .filters input[type="number"] { width: 100%; min-width: 0; }
  .filters .price-inputs { width: 100%; }
  .filters .price-inputs input { flex: 1; }
  .filters .apply { width: 100%; }
}

/* ==== condition ribbon ==== */
.s-card, .p-card, .product-card, .cond-wrap { position: relative; }
.cond-tag {
  position: absolute; top: 10px; left: 10px; z-index: 3;
  padding: 4px 9px; font-size: 10px; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase;
  border-radius: 3px; line-height: 1.4;
  pointer-events: none; box-shadow: 0 1px 3px rgba(0,0,0,.18);
}
.cond-tag.cond-new       { background: #0E9F6E; color: #fff; }
.cond-tag.cond-exdisplay { background: #F2A81E; color: #0F172A; }

.cond-pill {
  display: inline-block; padding: 3px 9px;
  font-size: 11px; font-weight: 800; letter-spacing: .05em;
  text-transform: uppercase; border-radius: 3px; vertical-align: middle;
}
.cond-pill.cond-new       { background: #0E9F6E; color: #fff; }
.cond-pill.cond-exdisplay { background: #F2A81E; color: #0F172A; }

/* condition ribbon  extend to category cards + product hero */
.grid .card { position: relative; }
.product-image { position: relative; }

/* ==== legal / long-form pages ==== */
.legal { max-width: 780px; margin: 0 auto; padding: 36px 20px 80px; }
.legal h1 { font-size: clamp(26px, 4vw, 36px); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 6px; }
.legal-meta { color: #5A6B85; font-size: 13px; margin: 0 0 28px; }
.legal h2 { font-size: 19px; line-height: 1.3; margin: 32px 0 10px; padding-top: 18px; border-top: 1px solid #E3E8EF; }
.legal h3 { font-size: 15px; margin: 20px 0 6px; }
.legal p { line-height: 1.7; color: #33405A; margin: 0 0 14px; }
.legal ul, .legal ol { padding-left: 22px; margin: 0 0 16px; color: #33405A; }
.legal li { line-height: 1.7; margin-bottom: 7px; }
.legal a { color: #1E6BFF; }
.legal a:hover { color: #0A2E6E; }
.legal strong { color: #0F172A; }
.legal .callout { background: #F6F8FB; border-left: 4px solid #1E6BFF; padding: 14px 16px; border-radius: 6px; margin: 20px 0; font-size: 14px; line-height: 1.6; }
.legal .callout-amber { background: #FFF8E8; border-left-color: #F2A81E; }
.legal .muted { color: #5A6B85; font-weight: 400; }
.legal-table { width: 100%; border-collapse: collapse; margin: 14px 0 20px; font-size: 14px; }
.legal-table th, .legal-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid #E3E8EF; vertical-align: top; }
.legal-table th { background: #F6F8FB; font-weight: 700; color: #0F172A; white-space: nowrap; }
.legal-table tr:last-child th, .legal-table tr:last-child td { border-bottom: 0; }
.legal .contact-form input, .legal .contact-form textarea { width: 100%; max-width: 520px; }
@media (max-width: 640px) {
  .legal-table th { white-space: normal; }
  .legal-table th, .legal-table td { display: block; border-bottom: 0; padding: 6px 0; }
  .legal-table tr { display: block; border-bottom: 1px solid #E3E8EF; padding: 10px 0; }
}

/* nav: force links visible and evenly spaced */
.site-header nav.nav-row .container {
  justify-content: flex-start !important;
  align-items: center !important;
  gap: 20px !important;
  flex-wrap: wrap !important;
  row-gap: 8px !important;
  padding: 10px 20px !important;
  min-height: 0 !important;
  overflow: visible !important;
}
.site-header .nav-row .spacer { display: none !important; }
.site-header nav.nav-row .container a {
  display: inline-block !important;
  color: #E8EDF5 !important;
  font-weight: 500 !important;
  white-space: nowrap !important;
  padding: 4px 0 !important;
}
.site-header nav.nav-row .container a:hover { color: #4A8BFF !important; }
.site-header nav.nav-row .nav-search { margin-left: auto !important; flex: 0 0 auto !important; }

@media (max-width: 760px) {
  .site-header nav.nav-row .container { gap: 14px !important; }
  .site-header nav.nav-row .nav-search { margin-left: 0 !important; width: 100% !important; }
}

/* ==== nav restructure: 3 groups, no crowding ==== */
.site-header nav.nav-row .container {
  display: flex !important;
  align-items: center !important;
  gap: 28px !important;
  padding: 0 20px !important;
  min-height: 56px !important;
  flex-wrap: wrap !important;
  justify-content: flex-start !important;
}
.nav-group { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.nav-group a { white-space: nowrap; padding: 4px 0; }

.nav-primary a { font-weight: 600; }

.nav-secondary { margin-left: auto; gap: 16px; }
.nav-secondary a { font-size: 13px !important; color: #B8C4D6 !important; font-weight: 500 !important; }
.nav-secondary a:hover { color: #E8EDF5 !important; }

.nav-utility { gap: 14px; }
.nav-utility a { font-weight: 600; }
.nav-utility a.cart-link {
  background: #1E6BFF !important;
  padding: 7px 14px !important;
  border-radius: 6px;
  color: #fff !important;
}
.nav-utility a.cart-link:hover { background: #4A8BFF !important; }

.site-header nav.nav-row .container .spacer { display: none !important; }

@media (max-width: 820px) {
  .site-header nav.nav-row .container { gap: 12px !important; padding: 12px 16px !important; }
  .nav-group { width: 100%; gap: 14px; }
  .nav-secondary { margin-left: 0; }
}

/* ==== homepage search ==== */
.home-search {
  display: flex;
  gap: 8px;
  max-width: 560px;
  margin: 22px auto 0;
}
.home-search input {
  flex: 1;
  padding: 12px 14px;
  border: 1px solid #D5DCE5;
  border-radius: 8px;
  font: inherit;
  font-size: 15px;
  background: #fff;
}
.home-search input:focus { outline: 2px solid #1E6BFF; outline-offset: 1px; border-color: #1E6BFF; }
.home-search button {
  padding: 12px 22px;
  background: #1E6BFF;
  color: #fff;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.home-search button:hover { background: #4A8BFF; }

@media (max-width: 520px) {
  .home-search { flex-direction: column; }
  .home-search button { width: 100%; }
}

/* category filter bar: wider search field */
.filters .field-search { flex: 1 1 240px; min-width: 220px; }
.filters .field-search input {
  width: 100%; min-width: 0; font: inherit; font-size: 14px;
  padding: 8px 10px; border: 1px solid #D5DCE5; border-radius: 6px;
  background: #fff; color: #0F172A; outline: none;
}
.filters .field-search input:focus { outline: 2px solid #1E6BFF; outline-offset: 1px; border-color: #1E6BFF; }
.cat-sub { color: #5A6B85; font-size: 14px; margin: 0 0 18px; }

@media (max-width: 680px) {
  .filters .field-search { flex: 1 1 100%; min-width: 0; }
}

/* ==== cart link with icon + badge ==== */
.site-header nav.nav-row .container .nav-utility a.cart-link {
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  background: transparent !important;
  border: 1px solid rgba(232, 237, 245, .26) !important;
  color: #E8EDF5 !important;
  padding: 6px 12px 6px 11px !important;
  border-radius: 999px !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  text-decoration: none;
  transition: border-color .15s, background .15s;
}
.site-header nav.nav-row .container .nav-utility a.cart-link:hover {
  background: rgba(30, 107, 255, .16) !important;
  border-color: #4A8BFF !important;
}
.cart-icon { flex: 0 0 auto; opacity: .9; }
.cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 999px;
  background: #1E6BFF;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  transition: background .15s, opacity .15s;
}
a.cart-link:hover .cart-badge { background: #4A8BFF; }
.cart-badge.is-empty { background: rgba(232, 237, 245, .16); color: #B8C4D6; }

@media (max-width: 820px) {
  .cart-text { display: none; }
  a.cart-link { padding: 6px 10px 6px 9px !important; }
}

/* ==== cookie bar ==== */
.cookie-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 9500;
  background: #0F1B2D;
  border-top: 2px solid #1E6BFF;
  transform: translateY(100%);
  transition: transform .28s ease;
  display: none;
}
.cookie-bar.is-open { display: block; transform: translateY(0); }

.cookie-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.cookie-text {
  flex: 1 1 320px;
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: #B8C4D6;
}
.cookie-text a { color: #4A8BFF; text-decoration: underline; text-underline-offset: 2px; }
.cookie-text a:hover { color: #fff; }

.cookie-actions { flex: 0 0 auto; }
.cookie-ok {
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 22px;
  background: #1E6BFF;
  color: #fff;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  transition: background .15s;
}
.cookie-ok:hover { background: #4A8BFF; }
.cookie-ok:active { transform: translateY(1px); }

@media (max-width: 600px) {
  .cookie-inner { padding: 12px 16px 14px; gap: 12px; }
  .cookie-text { font-size: 12.5px; }
  .cookie-actions { width: 100%; }
  .cookie-ok { width: 100%; }
}

/* ==== checkout identify ==== */
.identify-wrap { max-width: 1000px; margin: 0 auto; padding: 40px 20px 80px; }
.identify-wrap h1 { font-size: clamp(24px, 3.5vw, 32px); letter-spacing: -0.02em; margin: 0 0 6px; }
.identify-total { color: #5A6B85; margin: 0 0 28px; }
.identify-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.identify-card { border: 1px solid #E3E8EF; border-radius: 12px; padding: 24px 22px; background: #fff; display: flex; flex-direction: column; }
.identify-card h2 { font-size: 18px; margin: 0 0 8px; }
.identify-card p { color: #5A6B85; font-size: 14px; line-height: 1.6; flex: 1; margin: 0 0 18px; }
.identify-card .cta { width: 100%; text-align: center; }
.identify-guest { border-color: #C7D2E0; background: #F8FAFD; }
.cta-ghost { background: transparent !important; border: 1px solid #1E6BFF !important; color: #1E6BFF !important; display: block; line-height: 2.4; text-decoration: none; }
.cta-ghost:hover { background: #EEF4FF !important; }
.identify-back { margin-top: 26px; font-size: 14px; }

/* ==== checkout form ==== */
.checkout-wrap { max-width: 1060px; margin: 0 auto; padding: 36px 20px 80px; }
.checkout-wrap h1 { font-size: clamp(24px, 3.5vw, 32px); margin: 0 0 8px; }
.checkout-note { background: #F6F8FB; border-left: 3px solid #1E6BFF; padding: 10px 14px; border-radius: 5px; font-size: 14px; color: #33405A; margin: 0 0 22px; }
.checkout-grid { display: grid; grid-template-columns: 1fr 340px; gap: 36px; align-items: start; }
.checkout-form h2 { font-size: 15px; text-transform: uppercase; letter-spacing: .05em; color: #5A6B85; margin: 22px 0 12px; }
.checkout-form h2:first-of-type { margin-top: 0; }
.checkout-form label { font-size: 14px; font-weight: 600; color: #33405A; }
.checkout-form input, .checkout-form select { width: 100%; margin-top: 5px; padding: 10px 12px; border: 1px solid #D5DCE5; border-radius: 6px; font: inherit; font-size: 15px; background: #fff; }
.checkout-form input:focus, .checkout-form select:focus { outline: 2px solid #1E6BFF; outline-offset: 1px; border-color: #1E6BFF; }
.checkout-form p { margin: 0 0 14px; }
.checkout-pay { font-size: 14px; line-height: 1.6; color: #5A6B85; background: #F6F8FB; padding: 12px 14px; border-radius: 6px; border-left: 3px solid #F2A81E; }
.checkout-form .cta { margin-top: 8px; width: 100%; max-width: 280px; }
.checkout-back { margin-top: 14px; font-size: 14px; }

.checkout-summary { border: 1px solid #E3E8EF; border-radius: 12px; padding: 20px; background: #F9FBFD; position: sticky; top: 20px; }
.checkout-summary h2 { font-size: 15px; text-transform: uppercase; letter-spacing: .05em; color: #5A6B85; margin: 0 0 14px; }
.summary-items { list-style: none; padding: 0; margin: 0 0 16px; }
.summary-items li { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; padding: 9px 0; border-bottom: 1px solid #E8EDF5; font-size: 13.5px; }
.summary-items li:last-child { border-bottom: 0; }
.si-title { grid-column: 1 / -1; color: #0F172A; font-weight: 600; line-height: 1.35; }
.si-qty { color: #5A6B85; }
.si-price { text-align: right; color: #0F172A; }
.summary-totals { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; margin: 0; padding-top: 14px; border-top: 1px solid #E3E8EF; font-size: 14px; }
.summary-totals dt { color: #5A6B85; margin: 0; }
.summary-totals dd { margin: 0; text-align: right; }
.summary-totals .grand { font-size: 17px; font-weight: 800; color: #1E6BFF; }

@media (max-width: 820px) {
  .checkout-grid { grid-template-columns: 1fr; gap: 26px; }
  .checkout-summary { position: static; }
}

/* checkout validation */
.checkout-error {
  background: #FDECEC;
  border: 1px solid #F5C2C2;
  border-left: 4px solid #E02424;
  color: #7F1D1D;
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.55;
  margin: 0 0 22px;
}
