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





.hero { background: #003366; 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: #fcb800; color: #003366; 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: #e8eaee center/cover; }
.card .info { padding: 14px; }
.card .title { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.card .brand { font-size: 12px; color: #888; margin-bottom: 8px; text-transform: uppercase; }
.card .price .was { text-decoration: line-through; color: #999; font-size: 13px; margin-right: 6px; }
.card .price .now { font-size: 18px; color: #b12704; 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 #f0f0f0; padding: 24px 0; text-align: center; font-size: 13px; color: #888; }
.site-footer .small { font-size: 12px; }
.cta { display: inline-block; background: #fcb800; color: #003366; padding: 10px 20px; border-radius: 6px; font-weight: 700; cursor: pointer; border: 0; }
.btn { display: inline-block; background: #fcb800; color: #003366; padding: 10px 20px; border-radius: 6px; font-weight: 700; border: 0; cursor: pointer; }
.btn:hover, .cta:hover { background: #e0a600; }
input, select, textarea { padding: 10px; border: 1px solid #ccc; border-radius: 6px; font-size: 15px; width: 100%; }
table { width: 100%; border-collapse: collapse; }
table th, table td { padding: 10px; border-bottom: 1px solid #eee; text-align: left; }

.site-header { background: #1F2A44; border-bottom: 4px solid #F2A81E; }
.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: #172033; border-top: 1px solid #2c3a55; }
.site-header .nav-row .container { display: flex; gap: 22px; font-size: 15px; align-items: center; padding: 14px 20px; }
.site-header .nav-row a { color: #e8eaee; }
.site-header .nav-row a:hover { color: #F2A81E; }
.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: #1F2A44 !important;
  border-bottom: 5px solid #F2A81E !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: #141A2C !important;
  border-top: 1px solid #2c3a55 !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: #e8eaee !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: #F2A81E !important;
  border-bottom-color: #F2A81E !important;
}
.site-header nav.nav-row .spacer { flex: 1 1 auto; }

/* Cart pill */
.site-header nav.nav-row a[href="/cart"] {
  background: #F2A81E !important;
  color: #1F2A44 !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: #d48f10 !important;
  color: #1F2A44 !important;
}

/* Login / Register - muted */
.site-header nav.nav-row a[href="/login"],
.site-header nav.nav-row a[href="/register"] {
  color: #a8b2c4 !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: #F2A81E !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: #F2A81E !important;
  border-bottom: 1px solid #d48f10 !important;
  padding: 8px 0 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #1F2A44 !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: #172033 !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: #e8eaee !important;
}
.site-header .logo-row .trust-right {
  justify-self: end !important;
  text-align: right !important;
}

.site-header .trust-meta strong {
  display: block !important;
  color: #F2A81E !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: #a8b2c4 !important;
  font-size: 11px !important;
  letter-spacing: 0.05em !important;
}

.site-header .trust-phone {
  color: #F2A81E !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em !important;
  margin-bottom: 3px !important;
}
.site-header .trust-meta-sm {
  color: #a8b2c4 !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: #e8eaee;
  border-radius: 8px;
}
.product-brand {
  font-size: 13px;
  color: #888;
  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: #999; font-size: 16px; }
.product-price .sale { font-size: 30px; color: #b12704; font-weight: 800; }
.product-price .save { background: #fcb800; color: #003366; padding: 3px 9px; border-radius: 4px; font-size: 12px; font-weight: 800; }

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

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

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

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

.product-long {
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 20px 24px;
  font-size: 15px;
  line-height: 1.7;
  color: #333;
  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 #f0f0f0;
  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: #555;
  background: #fafafa;
  text-align: left;
  font-size: 14px;
}
.spec-table td {
  font-size: 14px;
  color: #1a1a1a;
  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 #e6e6e6;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}
.tab-nav {
  display: flex;
  border-bottom: 1px solid #e6e6e6;
  background: #f7f7f9;
  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: #666;
  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: #1F2A44; background: #fff; }
.tab-btn.active {
  color: #1F2A44;
  background: #fff;
  border-bottom-color: #F2A81E;
}
.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: #1F2A44;
  margin: 20px 0 8px;
}
.tab-content h3:first-child { margin-top: 0; }
.tab-content p, .tab-content .muted {
  color: #444;
  line-height: 1.7;
  margin: 0 0 12px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.tab-content .muted { color: #888; }

/* 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; }
}
