@font-face {
  font-family: "Source Sans 3";
  src: url("/fonts/source-sans-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("/fonts/source-sans-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #222;
  --muted: #6b6b6b;
  --line: #e7e7e7;
  --paper: #f6f6f6;
  --blue: #2266e3;
  --blue-d: #1b54bd;
  --footer: #1b2430;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.5;
}
img { max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { overflow-wrap: break-word; }
h1, h2, h3 { font-weight: 600; letter-spacing: 0; line-height: 1.2; }
.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--blue);
  color: #fff;
  padding: 8px 12px;
  z-index: 50;
}
.skip:focus { top: 12px; }
.wrap { width: min(1240px, calc(100% - 32px)); margin: 0 auto; }

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.topbar { background: #f5f6f8; font-size: 13px; color: #444; }
.topbar-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 36px;
}
.topbar p { margin: 0; }
.topbar a { text-decoration: none; }
.top-links { display: flex; gap: 16px; }
.bar {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 72px;
}
.logo {
  text-decoration: none;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.logo span { color: var(--blue); }
.search {
  flex: 1;
  display: flex;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
  max-width: 640px;
}
.search input {
  flex: 1;
  border: 0;
  min-height: 42px;
  padding: 0 14px;
  font: inherit;
  outline: none;
}
.search button {
  border: 0;
  background: var(--blue);
  color: #fff;
  min-width: 48px;
  cursor: pointer;
}
.bag {
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
}
.mnav { display: none; }

.stage {
  display: grid;
  grid-template-columns: 230px 1.4fr 0.86fr;
  grid-template-rows: 214px 214px;
  gap: 12px;
  padding: 16px 0 8px;
}
.cats {
  grid-column: 1;
  grid-row: 1 / span 2;
  border: 1px solid var(--line);
  background: #fff;
  display: flex;
  flex-direction: column;
}
.side {
  grid-column: 3;
  grid-row: 1 / span 2;
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  min-height: 0;
}
.cats h2 {
  margin: 0;
  padding: 12px 14px;
  font-size: 15px;
  background: var(--blue);
  color: #fff;
}
.cats a {
  display: flex;
  align-items: center;
  text-decoration: none;
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
@media (min-width: 1001px) {
  .cats a { flex: 1 1 0; padding-top: 0; padding-bottom: 0; }
}
.cats a:hover { color: var(--blue); }
.banner {
  position: relative;
  display: block;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  min-height: 180px;
  background: #163;
}
.banner.big { grid-column: 2; grid-row: 1 / span 2; }
.banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.banner-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  height: 100%;
  padding: 22px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.62));
}
.banner h1, .banner h2 { margin: 0; color: #fff; }
.banner h1 { font-size: clamp(32px, 3vw, 44px); }
.banner h2 { font-size: 26px; }
.banner p { margin: 6px 0 12px; color: #fff; max-width: 28ch; }

.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.services article { display: flex; gap: 12px; align-items: center; }
.services svg { flex: none; color: var(--blue); }
.services h2 { margin: 0; font-size: 14px; }
.services p { margin: 2px 0 0; color: var(--muted); font-size: 13px; }

.block { padding: 36px 0 8px; }
.block h2 { margin: 0 0 16px; font-size: 26px; }
.pcats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.pcat { text-decoration: none; text-align: center; }
.pcat img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--paper);
  display: block;
}
.pcat span { display: block; margin-top: 8px; font-weight: 600; font-size: 14px; }

.sellers {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.sellers > *, .pcats > *, .offers > *, .wides > *, .posts > * { min-width: 0; }
.card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;
}
.card .pic {
  display: block;
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--paper);
}
.card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card h3 { margin: 10px 0 0; font-size: 15px; font-weight: 600; }
.card .weight { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.card .today { margin: 4px 0 0; color: var(--blue); font-weight: 600; font-size: 14px; }

.offers, .posts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.offer, .post { text-decoration: none; color: inherit; display: block; }
.offer { position: relative; min-height: 220px; color: #fff; overflow: hidden; }
.offer img, .wide img, .post img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.offer img { position: absolute; inset: 0; }
.offer > span, .wide > span {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  height: 100%;
  min-height: 220px;
  padding: 18px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.6));
}
.offer strong, .wide strong { font-size: 22px; }
.offer em, .wide em { font-style: normal; margin: 4px 0 10px; }
.wides { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.wide { position: relative; display: block; min-height: 220px; overflow: hidden; color: #fff; text-decoration: none; }
.wide img { position: absolute; inset: 0; }
.post img { height: 190px; object-fit: cover; background: var(--paper); }
.post h3 { margin: 10px 0 4px; font-size: 18px; }
.post p { margin: 0; color: var(--muted); font-size: 14px; }

.faqs { max-width: 860px; }
.faqs details { border-bottom: 1px solid var(--line); }
.faqs summary { cursor: pointer; padding: 14px 0; font-weight: 600; }
.faqs p { margin: 0 0 14px; color: var(--muted); }

.ask {
  margin-top: 36px;
  background: var(--blue);
  color: #fff;
}
.ask-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 0;
}
.ask h2 { margin: 0; font-size: 26px; color: #fff; }
.ask p { margin: 4px 0 0; color: rgba(255, 255, 255, 0.88); }
.ask .btn { background: #fff; color: var(--blue); border-color: #fff; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  background: var(--blue);
  color: #fff;
  border: 1px solid var(--blue);
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}
.btn.secondary { background: #fff; color: var(--blue); }
.btn.block { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; }

.page-head { padding: 28px 0 8px; }
.page-head h1 { margin: 0; font-size: clamp(32px, 4vw, 40px); }
.page-head p, .lede { margin: 8px 0 0; color: var(--muted); max-width: 56ch; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; padding: 18px 0 8px; }
.filters a {
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 8px 12px;
  font-size: 14px;
}
.filters a[aria-current="page"] { border-color: var(--blue); background: var(--blue); color: #fff; }
.collection { padding-bottom: 64px; }
.collection .sellers, .more .sellers { grid-template-columns: repeat(5, 1fr); }

.crumbs { padding: 14px 0 0; font-size: 13px; color: var(--muted); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.crumbs a { color: var(--ink); }
.crumbs li + li::before { content: "/"; margin-right: 8px; }

.pdp {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: start;
  padding: 16px 0 40px;
}
.gallery { display: grid; gap: 10px; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--paper); display: block; border: 1px solid var(--line); }
.buy { position: sticky; top: 120px; }
.buy h1 { margin: 0; font-size: clamp(30px, 3vw, 38px); }
.price { margin: 14px 0 0; font-size: 18px; font-weight: 600; color: var(--blue); }
.note { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.specs { list-style: none; margin: 18px 0; padding: 0; }
.specs li {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}
.specs span { color: var(--muted); }
.buy-actions { display: grid; gap: 8px; }
.prose { max-width: 68ch; padding-bottom: 20px; }
.prose h2, .more h2 { font-size: 22px; margin: 24px 0 8px; }
.prose p { margin: 0 0 12px; color: var(--muted); }
.more { padding: 8px 0 64px; }

.cart {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 32px;
  padding: 8px 0 72px;
}
.cart h1 { margin: 8px 0 12px; font-size: 36px; }
.line {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.line img { width: 88px; height: 88px; object-fit: cover; }
.line h2 { margin: 0; font-size: 16px; }
.line p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.summary { border: 1px solid var(--line); padding: 18px; position: sticky; top: 120px; }
.summary h2 { margin: 0 0 8px; font-size: 20px; }

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  padding: 28px 0 64px;
}
.page-copy h1 { margin: 0 0 10px; font-size: 36px; }
.stack { display: grid; gap: 10px; }
.side-photo, .stack img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; background: var(--paper); }
.facts { list-style: none; margin: 20px 0 0; padding: 0; }
.facts li { padding: 12px 0; border-top: 1px solid var(--line); }
.facts strong { display: block; }
.phone { font-size: clamp(28px, 4vw, 36px); font-weight: 600; text-decoration: none; color: var(--blue); }

.footer { background: var(--footer); color: #d5dbe3; margin-top: 0; padding: 36px 0 20px; }
.foot { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 28px; }
.foot h2 { margin: 0 0 10px; color: #fff; font-size: 15px; }
.foot a { display: block; text-decoration: none; padding: 3px 0; font-size: 14px; color: #d5dbe3; }
.foot a:hover { color: #fff; }
.foot p { margin: 0 0 8px; font-size: 14px; }
.fine { margin: 18px 0 0; font-size: 12.5px; color: #9aa6b4; max-width: 80ch; }
.dock { display: none; }

@media (max-width: 1000px) {
  .stage { grid-template-columns: 1fr; grid-template-rows: auto; }
  .cats, .side, .banner.big { grid-column: auto; grid-row: auto; }
  .banner.big { min-height: 280px; }
  .sellers, .pcats { grid-template-columns: repeat(3, 1fr); }
  .collection .sellers, .more .sellers { grid-template-columns: repeat(2, 1fr); }
  .services { grid-template-columns: 1fr 1fr; }
  .search { max-width: none; }
}
@media (max-width: 720px) {
  .topbar-in { flex-wrap: wrap; row-gap: 0; }
  .topbar p, .top-links { flex: 1 1 100%; }
  .tel { font-weight: 600; }
  .top-links a:not(.tel) { display: none; }
  .bar { flex-wrap: wrap; min-height: 0; padding: 10px 0; }
  .search { order: 3; flex-basis: 100%; }
  .mnav {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 0 0 10px;
  }
  .mnav a { text-decoration: none; white-space: nowrap; font-size: 14px; }
  .offers, .posts, .wides, .pdp, .cart, .split, .foot, .ask-in, .services {
    grid-template-columns: 1fr;
  }
  .sellers, .pcats, .collection .sellers, .more .sellers { grid-template-columns: 1fr 1fr; }
  .buy, .summary { position: static; }
  .line { grid-template-columns: 72px 1fr; }
  .line .btn { grid-column: 1 / -1; }
  .dock {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: #fff;
    border-top: 1px solid var(--line);
  }
  body { padding-bottom: 72px; }
}
