@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  --cyan: #00a3d7;
  --cyan-dark: #0087b4;
  --ink: #161616;
  --muted: #5e6570;
  --line: #e7e7e7;
  --soft: #f4f6f7;
  --orange: #ff9d1c;
  --red: #cf1619;
  --sans: "Manrope", "Segoe UI", sans-serif;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --header: 118px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.45;
}
img { max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.wrap { width: min(1200px, calc(100% - 40px)); margin: 0 auto; }

.announcement {
  background: var(--cyan);
  color: #fff;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 8px 44px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.announcement button {
  position: absolute;
  border: 0;
  background: transparent;
  color: #fff;
  width: 32px;
  height: 32px;
  font-size: 20px;
}
.announcement .prev-msg { left: 8px; }
.announcement .next-msg { right: 8px; }
.announcement-bar { position: relative; }

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header-main {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 72px;
  gap: 12px;
}
.logo { display: flex; justify-content: center; }
.logo img { height: 28px; width: auto; }
.tools { display: flex; justify-content: flex-end; align-items: center; gap: 2px; }
.icon-btn {
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  position: relative;
  text-decoration: none;
}
.icon-btn:hover, .icon-btn[aria-expanded="true"] { background: var(--soft); }
.icon-btn svg { width: 22px; height: 22px; }
.bag-count {
  position: absolute;
  top: 4px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 99px;
  background: var(--cyan);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  display: grid;
  place-items: center;
}
.menu-btn { display: none; justify-self: start; }

.nav {
  display: flex;
  justify-content: center;
  gap: 4px;
  padding: 0 0 10px;
  flex-wrap: wrap;
}
.nav-item { position: static; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 10px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
  color: #2a2a2a;
  background: transparent;
  border: 0;
}
.nav-link:hover, .nav-item:hover > .nav-link, .nav-link[aria-current="page"] { color: #000; }
.nav-link.sale { color: var(--red); }
.mega {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.06);
  padding: 22px 0 28px;
  z-index: 30;
}
.nav-item:hover .mega, .nav-item:focus-within .mega { display: block; }
.mega-inner { display: grid; grid-template-columns: 200px 1fr; gap: 28px; align-items: start; }
.mega img { width: 200px; height: 250px; object-fit: contain; background: var(--soft); }
.mega-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 24px; }
.mega-links a { text-decoration: none; padding: 8px 0; font-weight: 700; font-size: 14.5px; }
.mega-links a:hover { color: var(--cyan-dark); }

.search-panel { display: none; border-top: 1px solid var(--line); background: #fff; }
body.search-open .search-panel { display: block; }
.search-panel form { display: flex; }
.search-panel input {
  width: 100%;
  border: 0;
  outline: none;
  padding: 16px 0;
  font-size: 18px;
  background: transparent;
}
.search-panel button[type="submit"] {
  border: 0;
  background: var(--ink);
  color: #fff;
  padding: 0 18px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 12px;
}
.suggest a {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 8px 0;
  text-decoration: none;
  border-top: 1px solid var(--line);
}
.suggest img { width: 48px; height: 48px; object-fit: contain; background: var(--soft); }
.suggest strong { font-weight: 650; font-size: 14px; }

.drawer, .overlay { display: none; }

.slider { position: relative; background: #f5fbfc; }
.slide { display: none; }
.slide.is-active { display: block; }
.hero-link { display: flex; justify-content: center; }
.hero-link img { width: min(760px, 100%); height: auto; display: block; }
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  font-size: 26px;
  line-height: 1;
  z-index: 2;
}
.slider-btn.prev { left: 14px; }
.slider-btn.next { right: 14px; }
.dots { display: flex; justify-content: center; gap: 7px; padding: 12px 0 0; }
.dots button { width: 8px; height: 8px; border: 0; border-radius: 50%; background: #ccc; padding: 0; }
.dots button.is-on { background: #111; width: 22px; border-radius: 99px; }

.slide-dark.is-active {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: 520px;
  background: #101010;
  color: #fff;
  align-items: center;
}
.dark-copy { padding: 48px 8% 48px 10%; }
.eyebrow { letter-spacing: 0.16em; text-transform: uppercase; font-size: 12px; font-weight: 800; margin-bottom: 12px; }
.flag {
  width: 18px;
  height: 12px;
  display: inline-block;
  margin-right: 8px;
  vertical-align: -1px;
  background: linear-gradient(90deg, #00903b 0 33%, #fff 33% 66%, #cf1619 66% 100%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35);
}
.slide-dark h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(76px, 9vw, 128px);
  line-height: 0.82;
  color: var(--orange);
  letter-spacing: -0.02em;
}
.slide-dark p { margin: 14px 0 22px; max-width: 360px; color: #ececec; }
.dark-products { display: flex; align-items: flex-end; justify-content: center; gap: 8px; padding: 28px 28px 28px 0; min-height: 420px; }
.dark-products a { display: flex; align-items: flex-end; height: 100%; }
.dark-products img { height: min(390px, 58vh); width: auto; object-fit: contain; filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.35)); }

.block { padding: 46px 0; }
.section-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; }
.home-title { font-size: 22px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.section-actions { display: flex; align-items: center; gap: 8px; }
.section-actions a { color: var(--cyan-dark); font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; }
.section-actions button, .icon-round {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 20px;
  line-height: 1;
}

.spots { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; text-align: center; }
.spots a { text-decoration: none; font-size: 13px; font-weight: 750; }
.spot-photo { aspect-ratio: 1; border-radius: 50%; background: var(--soft); overflow: hidden; margin-bottom: 10px; }
.spot-photo img { width: 100%; height: 100%; object-fit: contain; }

.treat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 14px; }
.treat { text-decoration: none; color: inherit; }
.treat-photo { background: var(--soft); aspect-ratio: 1; }
.treat-photo img { width: 100%; height: 100%; object-fit: contain; }
.treat-copy { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding-top: 10px; }
.treat-copy strong { font-size: 16px; }
.treat-copy em { font-style: normal; color: var(--cyan-dark); font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }

.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 4); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.rail .card { scroll-snap-align: start; }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 16px; }
.card-media { position: relative; display: block; background: var(--soft); aspect-ratio: 1; }
.card-media img { width: 100%; height: 100%; object-fit: contain; }
.card-media .alt { position: absolute; inset: 0; opacity: 0; transition: opacity 0.25s ease; background: var(--soft); }
.card:hover .alt { opacity: 1; }
.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--cyan);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 5px 7px;
}
.card-body { padding-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.card-title {
  text-decoration: none;
  font-weight: 650;
  font-size: 14px;
  line-height: 1.35;
  min-height: 2.7em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-price { font-weight: 800; }
.compare { color: #8d8d8d; text-decoration: line-through; font-weight: 500; margin-right: 6px; }
.install { color: var(--muted); font-size: 12.5px; }
.btn-ghost, .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 2px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-size: 12px;
}
.btn-ghost { width: 100%; margin-top: 6px; border: 1px solid #1b1b1b; background: #fff; min-height: 42px; padding: 10px; }
.btn-ghost:hover { background: #111; color: #fff; }
.btn-ghost:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-primary { border: 0; background: var(--cyan); color: #fff; min-height: 48px; padding: 14px 22px; }
.btn-primary:hover { background: var(--cyan-dark); }
.is-broken img { opacity: 0; }

.ativos { display: flex; flex-wrap: wrap; gap: 10px; }
.ativos a { text-decoration: none; border: 1px solid #d9d9d9; border-radius: 999px; padding: 10px 16px; font-weight: 700; font-size: 14px; }
.ativos a:hover { border-color: #111; }

.newsletter { background: var(--cyan); color: #fff; }
.news-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 34px 0; }
.newsletter h2 { font-size: 28px; letter-spacing: -0.03em; }
.newsletter p { opacity: 0.95; margin-top: 4px; }
.newsletter form { display: flex; gap: 8px; }
.newsletter input { border: 0; min-width: min(280px, 70vw); padding: 14px 16px; }
.newsletter .btn-primary { background: #111; width: auto; }
.newsletter .btn-primary:hover { background: #000; }

.footer { border-top: 1px solid var(--line); padding: 42px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 28px; }
.footer .logo img { height: 24px; margin-bottom: 12px; }
.footer h3 { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 10px; }
.footer a { display: block; text-decoration: none; color: #444; padding: 4px 0; font-size: 14px; }
.footer a:hover { color: #000; }
.footer-brand p { color: var(--muted); max-width: 280px; font-size: 14px; }
.seals { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 16px; }
.seals img { height: 36px; width: auto; }
.footer-base { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); color: #777; font-size: 12px; }

.page { padding: 28px 0 64px; }
.crumbs { color: var(--muted); font-size: 13px; margin-bottom: 8px; }
.crumbs a { color: inherit; }
.page-title { font-size: clamp(32px, 4vw, 46px); letter-spacing: -0.04em; font-weight: 800; }
.lead { color: var(--muted); margin-top: 6px; }

.collection { display: grid; grid-template-columns: 210px 1fr; gap: 34px; margin-top: 22px; }
.filters { display: flex; flex-direction: column; gap: 2px; position: sticky; top: 130px; }
.filters button {
  text-align: left;
  border: 0;
  background: transparent;
  padding: 8px 0;
  font-weight: 650;
  color: #333;
}
.filters button.is-on { color: var(--cyan-dark); }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.toolbar select { border: 1px solid var(--line); background: #fff; padding: 8px 10px; }
.count { color: var(--muted); font-size: 14px; }
.empty { padding: 40px 0; color: var(--muted); }

.pdp { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: start; }
.gallery { display: grid; grid-template-columns: 76px 1fr; gap: 12px; }
.gallery-main { background: var(--soft); aspect-ratio: 1; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.thumbs { display: flex; flex-direction: column; gap: 8px; }
.thumbs button { border: 1px solid transparent; padding: 0; background: var(--soft); }
.thumbs button.is-on { border-color: #111; }
.thumbs img { width: 100%; aspect-ratio: 1; object-fit: contain; display: block; }
.buybox { position: sticky; top: 128px; }
.buybox h1 { font-size: clamp(26px, 3vw, 34px); letter-spacing: -0.03em; line-height: 1.15; font-weight: 800; }
.buy-price { margin: 14px 0 4px; font-size: 28px; font-weight: 800; }
.buy-price .compare { font-size: 18px; }
.off-pill { display: inline-block; margin-left: 8px; background: var(--cyan); color: #fff; font-size: 12px; padding: 4px 7px; vertical-align: 4px; letter-spacing: 0.04em; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.tags a { text-decoration: none; background: var(--soft); padding: 5px 8px; font-size: 12px; font-weight: 700; }
.option-label { font-size: 13px; font-weight: 800; margin: 16px 0 8px; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatches button { border: 1px solid #ccc; background: #fff; padding: 9px 12px; }
.swatches button.is-on { border-color: #111; font-weight: 800; }
.buy-row { display: grid; grid-template-columns: 120px 1fr; gap: 10px; margin-top: 18px; }
.qty { display: grid; grid-template-columns: 36px 1fr 36px; border: 1px solid #ccc; }
.qty button { border: 0; background: #fff; font-size: 20px; }
.qty input { width: 100%; border: 0; text-align: center; outline: none; }
.perks { list-style: none; padding: 0; margin: 18px 0 0; }
.perks li { padding: 6px 0 6px 22px; position: relative; font-size: 14px; }
.perks li::before { content: ""; position: absolute; left: 0; top: 11px; width: 12px; height: 12px; border-radius: 50%; background: var(--cyan); }
.prose { max-width: 760px; padding-top: 12px; }
.prose h2, .prose h3 { margin: 1.2em 0 0.4em; font-size: 1.15rem; }
.prose p, .prose li { margin: 0.4em 0; }
.prose img { height: auto; }
.related { margin-top: 28px; }

.cart-layout { display: grid; grid-template-columns: 1.45fr 0.8fr; gap: 28px; margin-top: 18px; align-items: start; }
.cart-row { display: grid; grid-template-columns: 92px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-row img { width: 92px; height: 92px; object-fit: contain; background: var(--soft); }
.cart-row h2 { font-size: 15px; font-weight: 700; }
.cart-row h2 a { text-decoration: none; }
.muted { color: var(--muted); font-size: 13px; margin-top: 4px; }
.remove { border: 0; background: transparent; color: #888; padding: 0; margin-top: 8px; font-size: 13px; text-decoration: underline; }
.line-price { font-weight: 800; }
.summary { background: var(--soft); padding: 20px; position: sticky; top: 128px; }
.summary h2 { font-size: 18px; margin-bottom: 12px; }
.summary-row, .summary-total { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; }
.summary-total { border-top: 1px solid #ddd; margin-top: 6px; font-weight: 800; font-size: 18px; }
.progress { height: 6px; background: #e4e4e4; margin: 8px 0 14px; }
.progress span { display: block; height: 100%; background: var(--cyan); }
.coupon { display: flex; gap: 8px; margin: 12px 0; }
.coupon input, .field input {
  width: 100%;
  border: 1px solid #ccc;
  background: #fff;
  padding: 12px;
}
.coupon button { border: 1px solid #111; background: #fff; padding: 0 12px; font-weight: 800; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 10px; font-size: 13px; font-weight: 700; }
.note { color: var(--muted); font-size: 12.5px; margin-top: 10px; }
.checkout-error { color: var(--red); font-size: 13px; margin: 8px 0 0; }
.confirm { background: #f1fbf4; border: 1px solid #b7e4c4; padding: 16px; margin-bottom: 16px; }
.thanks-note { background: var(--soft); padding: 14px 16px; margin-top: 14px; }
.thanks-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.thanks h2 { margin: 36px 0 14px; font-size: 22px; }

.help h2 { margin: 28px 0 8px; font-size: 22px; }
.help p { max-width: 680px; color: #333; }

.toast {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #111;
  color: #fff;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s ease;
  z-index: 80;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.account-panel {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: min(320px, 86vw);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  padding: 16px;
  z-index: 50;
}
body.account-open .account-panel { display: block; }
.tools { position: relative; }

@media (max-width: 980px) {
  .menu-btn { display: inline-grid; }
  .nav { display: none; }
  .grid, .rail { grid-auto-columns: calc((100% - 16px) / 2); }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .collection, .pdp, .cart-layout, .slide-dark.is-active, .footer-grid { grid-template-columns: 1fr; }
  .filters { position: static; flex-direction: row; overflow: auto; gap: 8px; padding-bottom: 8px; }
  .filters button { border: 1px solid var(--line); padding: 8px 12px; white-space: nowrap; }
  .filters button.is-on { border-color: var(--cyan); color: var(--cyan-dark); }
  .buybox, .summary { position: static; }
  .gallery { grid-template-columns: 1fr; }
  .thumbs { flex-direction: row; order: 2; }
  .thumbs button { width: 68px; }
  .dark-products { padding: 0 16px 28px; }
  .dark-products img { height: 180px; }
  .spots { grid-template-columns: repeat(3, 1fr); }
  .treat-grid { grid-template-columns: 1fr 1fr; }
  .mega { position: static; box-shadow: none; padding: 0 0 8px 12px; }
  .nav-item:hover .mega { display: none; }
  body.nav-open .overlay { display: block; position: fixed; inset: 0; background: rgba(0, 0, 0, 0.4); z-index: 60; }
  body.nav-open .drawer {
    display: block;
    position: fixed;
    z-index: 70;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(420px, 88vw);
    background: #fff;
    overflow: auto;
    padding: 18px 18px 40px;
  }
  .drawer .nav-link { display: flex; width: 100%; padding: 12px 0; font-size: 16px; }
  .drawer .mega { display: block; padding: 0 0 12px 8px; }
  .drawer .mega-inner { grid-template-columns: 1fr; }
  .drawer .mega img { display: none; }
  .drawer .mega-links { grid-template-columns: 1fr; }
  .drawer .mega-links a { font-weight: 600; color: #444; }
}

@media (max-width: 720px) {
  .wrap { width: calc(100% - 28px); }
  .grid { grid-template-columns: 1fr 1fr; gap: 18px 10px; }
  .rail { grid-auto-columns: 72%; }
  .news-inner, .footer-base, .toolbar { flex-direction: column; align-items: stretch; }
  .newsletter form { flex-direction: column; }
  .header-main { height: 62px; }
  .logo img { height: 22px; }
  .slider-btn { display: none; }
  .card-title { font-size: 13px; }
  .buy-row { grid-template-columns: 1fr; }
}
