/* G.A.G Group Ltd — webshop styling.
   Weathered-authentic trade aesthetic: Georgia serif, navy + brass, real photography. */

:root {
  --navy: #0f1f3a;
  --navy-dark: #0a1527;
  --navy-mid: #1e3a5c;
  --brass: #b89968;
  --brass-dark: #96794f;
  --brass-pale: #e5d9c0;
  --text: #1b2130;
  --muted: #5a6271;
  --bg: #ffffff;
  --bg-soft: #f7f6f1;
  --bg-muted: #ecebe4;
  --border: #d7d5cc;
  --success: #27633a;
  --warn: #a05a1e;
  --max-w: 1200px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--navy); text-decoration: underline; text-decoration-color: #c7cdd7; text-underline-offset: 2px; }
a:hover { color: var(--brass-dark); text-decoration-color: var(--brass); }

h1, h2, h3, h4 { font-family: Georgia, "Times New Roman", serif; color: var(--navy); line-height: 1.2; margin: 0 0 0.6em; letter-spacing: -0.015em; font-weight: 700; }
h1 { font-size: 2.5rem; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ---------- top bar ---------- */
.topbar {
  background: var(--navy-dark);
  color: #e8e9e5;
  font-size: 0.85rem;
  padding: 8px 0;
  letter-spacing: 0.01em;
}
.topbar .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.topbar a { color: #e8e9e5; text-decoration: none; }
.topbar a:hover { color: var(--brass); }
.topbar strong { color: #fff; font-weight: 600; }

/* ---------- header / nav ---------- */
.site-header { background: var(--bg); border-bottom: 1px solid var(--border); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 20px; padding-bottom: 20px; gap: 24px; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--navy); min-width: 0; }
.brand img.brand-logo { height: 48px; width: auto; max-width: 100%; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: Georgia, serif; font-size: 1.1rem; font-weight: 700; letter-spacing: -0.01em; color: var(--navy); }
.brand-sub { font-size: 0.72rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.16em; margin-top: 3px; }

.site-nav { display: flex; gap: 2px; flex-wrap: wrap; }
.site-nav a {
  text-decoration: none; color: var(--text);
  padding: 10px 14px; font-size: 0.95rem;
}
.site-nav a:hover { background: var(--bg-soft); color: var(--navy); }
.site-nav a.active { color: var(--navy); border-bottom: 2px solid var(--brass); }

/* ---------- hero (text-only) ---------- */
.hero { background: var(--bg-soft); border-bottom: 1px solid var(--border); padding: 70px 0 56px; }
.hero h1 { max-width: 760px; margin-top: 0; }
.hero p.lead { font-size: 1.15rem; color: #3b4252; max-width: 680px; margin-bottom: 1.6em; line-height: 1.55; }
.hero .meta { color: var(--muted); font-size: 0.9rem; }
.hero .cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

/* ---------- hero (image) ---------- */
.hero-image {
  position: relative; min-height: 480px; overflow: hidden;
  background-color: var(--navy-dark); color: #fff;
  border-bottom: 1px solid var(--border);
}
.hero-image .hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.55; z-index: 0;
}
.hero-image::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,21,39,0.75) 0%, rgba(10,21,39,0.4) 60%, rgba(10,21,39,0.65) 100%);
  z-index: 1;
}
.hero-image .wrap { position: relative; z-index: 2; padding-top: 90px; padding-bottom: 72px; }
.hero-image h1 { color: #fff; max-width: 780px; font-size: 2.75rem; }
.hero-image p.lead { color: #e8e9e5; max-width: 680px; font-size: 1.15rem; line-height: 1.55; }
.hero-image .meta { color: #a4a8b5; font-size: 0.9rem; margin-top: 24px; }
.hero-image .cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; padding: 12px 22px;
  background: var(--brass); color: var(--navy-dark); text-decoration: none;
  font-weight: 700; font-size: 0.95rem; border: 0; cursor: pointer;
  border-radius: 2px; letter-spacing: 0.02em;
  transition: background 0.15s ease, color 0.15s ease;
}
.btn:hover { background: var(--brass-dark); color: #fff; }
.btn.ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.8); }
.btn.ghost:hover { background: #fff; color: var(--navy); }
.btn.ghost.dark { color: var(--navy); border-color: var(--navy); }
.btn.ghost.dark:hover { background: var(--navy); color: #fff; }
.btn.small { padding: 8px 14px; font-size: 0.85rem; }

/* ---------- trust strip ---------- */
.trust-strip {
  background: #fff; border-bottom: 1px solid var(--border);
  padding: 18px 0; font-size: 0.86rem;
}
.trust-strip .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  color: var(--muted);
  align-items: center;
}
.trust-strip .trust-item { text-align: center; line-height: 1.4; }
.trust-strip .trust-item strong { color: var(--navy); font-weight: 700; display: block; }
@media (max-width: 900px) {
  .trust-strip .wrap { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 480px) {
  .trust-strip .wrap { grid-template-columns: 1fr; gap: 12px; }
}

/* ---------- sections ---------- */
section { padding: 64px 0; }
section.tight { padding: 40px 0; }
section.alt { background: var(--bg-soft); }
.section-head { max-width: 780px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .eyebrow { color: var(--brass-dark); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.2em; font-weight: 700; margin-bottom: 10px; font-family: inherit; }

/* ---------- grid ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.grid.tight { gap: 14px; }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid.four { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.grid.products { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }

/* ---------- image-feature (image + text side by side) ---------- */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.feature-row.flip { direction: rtl; }
.feature-row.flip > * { direction: ltr; }
.feature-row img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--border);
  display: block;
}
.feature-row .text h2 { margin-top: 0; }
@media (max-width: 820px) {
  .feature-row { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- cards ---------- */
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 24px;
}
.card.pad-lg { padding: 32px; }
.card h3 { margin-top: 0; }

/* ---------- product cards ---------- */
.product-card {
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex; flex-direction: column;
  overflow: hidden;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.product-card:hover { box-shadow: 0 4px 20px rgba(15,31,58,0.08); transform: translateY(-2px); }
.product-card .thumb {
  position: relative;
  width: 100%;
  padding-bottom: 100%;
  background: var(--bg-muted);
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.product-card .thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-card .body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.product-card .sku { font-size: 0.7rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.12em; font-weight: 600; }
.product-card .name { font-family: Georgia, serif; font-weight: 700; font-size: 1.05rem; color: var(--navy); margin: 6px 0 8px; line-height: 1.3; }
.product-card .desc { font-size: 0.87rem; color: var(--muted); margin-bottom: 14px; flex: 1; line-height: 1.5; }
.product-card .price-row {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 12px; border-top: 1px solid var(--border);
}
.product-card .price { font-family: Georgia, serif; font-weight: 700; color: var(--text); font-size: 1.15rem; }
.product-card .stock { font-size: 0.78rem; color: var(--success); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.product-card .stock.low { color: var(--warn); }

/* ---------- category heading row ---------- */
.cat-head { display: flex; justify-content: space-between; align-items: baseline; margin: 40px 0 20px; padding-bottom: 10px; border-bottom: 2px solid var(--brass); }
.cat-head h3 { font-size: 1.3rem; margin: 0; }
.cat-head .cat-meta { font-size: 0.85rem; color: var(--muted); }

/* ---------- feature list (text icons) ---------- */
.feature { display: flex; gap: 14px; align-items: flex-start; }
.feature .icon {
  flex: 0 0 36px; height: 36px; background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-family: Georgia, serif;
}
.feature h4 { margin: 0 0 4px; color: var(--navy); font-size: 1rem; font-family: inherit; font-weight: 700; }
.feature p { margin: 0; font-size: 0.9rem; color: var(--muted); }

/* ---------- table ---------- */
.simple-table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.simple-table th, .simple-table td {
  text-align: left; padding: 11px 14px;
  border-bottom: 1px solid var(--border); font-size: 0.95rem;
}
.simple-table th { background: var(--bg-soft); color: var(--navy); font-weight: 700; font-family: Georgia, serif; }

/* ---------- notice box ---------- */
.notice {
  background: #fff7e8; border-left: 3px solid var(--brass);
  padding: 16px 20px; font-size: 0.92rem; margin: 20px 0;
}
.notice strong { color: var(--navy); }

/* ---------- quote / testimonial ---------- */
.quote {
  font-family: Georgia, serif; font-style: italic; color: var(--navy);
  font-size: 1.15rem; line-height: 1.5;
  border-left: 3px solid var(--brass); padding: 6px 0 6px 24px;
  margin: 16px 0;
}
.quote-attr { font-family: -apple-system, BlinkMacSystemFont, sans-serif; font-style: normal; color: var(--muted); font-size: 0.88rem; margin-top: 8px; display: block; }

/* ---------- forms ---------- */
form.contact-form { display: grid; gap: 14px; max-width: 580px; }
form.contact-form label { display: block; font-size: 0.88rem; font-weight: 600; color: var(--navy); margin-bottom: 4px; }
form.contact-form input, form.contact-form textarea, form.contact-form select {
  width: 100%; padding: 11px 14px; font-size: 0.95rem;
  border: 1px solid var(--border); border-radius: 2px; font-family: inherit;
  background: #fff;
}
form.contact-form textarea { min-height: 140px; resize: vertical; }
form.contact-form input:focus, form.contact-form textarea:focus { outline: 2px solid var(--brass); outline-offset: -1px; border-color: var(--navy); }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-dark); color: #d9dae0; padding: 56px 0 32px; margin-top: 72px; font-size: 0.92rem; }
.site-footer h4 { color: #fff; font-family: inherit; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.16em; font-weight: 700; margin-bottom: 14px; }
.site-footer .grid { gap: 36px; }
.site-footer a { color: #d9dae0; text-decoration: none; }
.site-footer a:hover { color: var(--brass); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 7px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand img { height: 40px; width: auto; max-width: 240px; filter: invert(1) brightness(1.1); display: block; }
.footer-bottom {
  border-top: 1px solid #2b4567; margin-top: 40px; padding-top: 22px;
  font-size: 0.82rem; color: #a4a8b5; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}

.muted { color: var(--muted); }
.center { text-align: center; }
.small { font-size: 0.88rem; }
.tiny { font-size: 0.78rem; }
.mono { font-family: ui-monospace, "SF Mono", Consolas, monospace; font-size: 0.9em; }

/* ---------- product cards as links ---------- */
a.product-card {
  text-decoration: none;
  color: inherit;
}
a.product-card:hover { color: inherit; }
a.product-card:hover .name { color: var(--brass-dark); }
a.product-card .thumb img { transition: transform 0.3s ease; }
a.product-card:hover .thumb img { transform: scale(1.03); }

/* ---------- breadcrumb ---------- */
.breadcrumb {
  font-size: 0.86rem;
  color: var(--muted);
  padding: 20px 0 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.breadcrumb a:hover {
  color: var(--navy);
  border-bottom-color: var(--brass);
}
.breadcrumb span { color: var(--muted); }
.breadcrumb .current { color: var(--navy); font-weight: 600; }

/* ---------- product detail page ---------- */
.product-page { padding: 24px 0 64px; }
.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  margin-top: 16px;
}
.product-media {
  background: var(--bg-muted);
  border: 1px solid var(--border);
  overflow: hidden;
}
.product-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.product-info h1 {
  font-size: 2rem;
  margin: 10px 0 16px;
  line-height: 1.2;
}
.product-info .sku-row {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 6px;
}
.product-info .sku {
  font-size: 0.72rem; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.14em; font-weight: 700;
}
.product-info .stock {
  font-size: 0.78rem; color: var(--success); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.product-info .price-tag {
  font-family: Georgia, serif;
  font-weight: 700;
  color: var(--text);
  font-size: 2rem;
  margin: 4px 0 20px;
}
.product-info .lead {
  font-size: 1.1rem;
  color: #3b4252;
  line-height: 1.5;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.product-info p {
  font-size: 0.98rem;
  line-height: 1.65;
  color: #2a2f3b;
}
.order-cta {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-left: 4px solid var(--brass);
  padding: 20px 22px;
  margin: 28px 0;
}
.order-cta h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  color: var(--navy);
}
.order-cta p {
  margin: 0;
  font-size: 0.95rem;
}
.spec-table h3 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin: 32px 0 12px;
  font-family: inherit;
}
.spec-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.spec-table th, .spec-table td {
  text-align: left;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.spec-table th {
  width: 45%;
  font-weight: 600;
  color: var(--muted);
  padding-right: 16px;
}
.spec-table td {
  color: var(--text);
}
.back-link {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.back-link a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}
.back-link a:hover { color: var(--navy); }

/* ---------- payments page ---------- */
.wrap.narrow { max-width: 820px; }
.numbered-steps {
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: step-counter;
}
.numbered-steps li {
  position: relative;
  padding: 20px 0 20px 56px;
  border-bottom: 1px solid var(--border);
  counter-increment: step-counter;
}
.numbered-steps li:last-child { border-bottom: none; }
.numbered-steps li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 20px;
  width: 36px;
  height: 36px;
  background: var(--navy);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Georgia, serif;
  font-weight: 700;
  font-size: 1rem;
}
.numbered-steps li strong { color: var(--navy); font-size: 1.02rem; }
.method-list {
  display: grid;
  gap: 18px;
  margin-top: 20px;
}
.method {
  background: var(--bg);
  border: 1px solid var(--border);
  border-left: 3px solid var(--brass);
  padding: 20px 22px;
}
.method h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.method p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 10px;
}
.method p:last-child { margin-bottom: 0; }
.method-note {
  font-size: 0.88rem !important;
  color: var(--muted);
  padding-left: 12px;
  border-left: 2px solid var(--border);
}
.method-tag {
  background: var(--brass);
  color: #fff;
  font-size: 0.65rem;
  padding: 3px 8px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  border-radius: 2px;
}
.method-tag.muted {
  background: var(--bg-muted);
  color: var(--muted);
}

/* ---------- responsive for product + payments pages ---------- */
@media (max-width: 820px) {
  .product-detail { grid-template-columns: 1fr; gap: 24px; }
  .product-info h1 { font-size: 1.5rem; }
  .product-info .price-tag { font-size: 1.6rem; }
  .numbered-steps li { padding-left: 46px; }
  .numbered-steps li::before { width: 30px; height: 30px; font-size: 0.9rem; top: 18px; }
}

/* ---------- responsive ---------- */
@media (max-width: 820px) {
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.45rem; }
  .hero { padding: 42px 0 32px; }
  .hero-image { min-height: 360px; }
  .hero-image .wrap { padding-top: 60px; padding-bottom: 50px; }
  .hero-image h1 { font-size: 2rem; }
  section { padding: 42px 0; }
  .site-header .wrap { padding-top: 14px; padding-bottom: 14px; }
  .site-nav { gap: 0; }
  .site-nav a { padding: 7px 10px; font-size: 0.88rem; }
  .trust-strip .wrap { justify-content: flex-start; gap: 18px; }
  .brand img.brand-logo { height: 40px; }
  .brand-text { display: none; }
}
