/* ============================================
   LINKS LAGOON — brand stylesheet
   Palette pulled from the brand logos:
   navy ink, royal blue, lagoon aqua, pool blue,
   fairway green, sandbar.
   ============================================ */

:root {
  --ink: #16294d;          /* deep navy from wordmark */
  --royal: #2456a6;        /* royal blue */
  --lagoon: #4fc3d9;       /* lagoon aqua */
  --lagoon-deep: #2ea4bf;  /* darker aqua */
  --pool: #bfe6ee;         /* pool-water backdrop */
  --pool-light: #e6f6fa;   /* pale pool */
  --fairway: #79c25e;      /* fairway green */
  --sand: #efe7d4;         /* sandbar */
  --white: #ffffff;
  --text: #25344f;
  --muted: #6b7a93;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(22, 41, 77, 0.10);
  --shadow-soft: 0 4px 14px rgba(22, 41, 77, 0.08);
  --font-script: 'Pacifico', cursive;
  --font-head: 'Montserrat', sans-serif;
  --font-body: 'Nunito Sans', 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

button { font-family: inherit; cursor: pointer; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */

.announce {
  background: var(--ink);
  color: #cfe9f5;
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.08em;
  padding: 8px 16px;
  font-family: var(--font-head);
  text-transform: uppercase;
}

header.site {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e4eef3;
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
  max-width: 1180px;
  margin: 0 auto;
}

.logo-link { flex-shrink: 0; }

nav.main-nav { display: flex; gap: 28px; align-items: center; }

nav.main-nav a {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color .2s, color .2s;
}

nav.main-nav a:hover, nav.main-nav a.active {
  border-color: var(--lagoon);
  color: var(--lagoon-deep);
}

.nav-actions { display: flex; align-items: center; gap: 14px; }

.cart-btn {
  position: relative;
  background: none;
  border: none;
  color: var(--ink);
  padding: 6px;
}

.cart-btn:hover { color: var(--lagoon-deep); }

.cart-count {
  position: absolute;
  top: -2px;
  right: -6px;
  background: var(--lagoon);
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  font-family: var(--font-head);
}

.hamburger { display: none; background: none; border: none; color: var(--ink); padding: 6px; }

@media (max-width: 820px) {
  nav.main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
    border-bottom: 1px solid #e4eef3;
    box-shadow: var(--shadow-soft);
  }
  nav.main-nav.open { display: flex; }
  nav.main-nav a { padding: 12px 24px; width: 100%; }
  .hamburger { display: block; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 30px;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: all .2s;
}

.btn-primary { background: var(--ink); color: var(--white); }
.btn-primary:hover { background: var(--royal); transform: translateY(-1px); }

.btn-lagoon { background: var(--lagoon); color: var(--ink); }
.btn-lagoon:hover { background: var(--lagoon-deep); color: var(--white); transform: translateY(-1px); }

.btn-outline { border-color: var(--white); color: var(--white); background: transparent; }
.btn-outline:hover { background: var(--white); color: var(--ink); }

.btn-outline-ink { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline-ink:hover { background: var(--ink); color: var(--white); }

.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }

.btn-block { width: 100%; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 50% at 30% 110%, rgba(255,255,255,.35), transparent 60%),
    radial-gradient(ellipse 70% 45% at 75% 100%, rgba(255,255,255,.28), transparent 60%),
    linear-gradient(180deg, #9ed9e8 0%, #7fcfe2 35%, #5fc3d9 70%, #4ab7d0 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 30% 14% at 20% 78%, rgba(255,255,255,.30), transparent 70%),
    radial-gradient(ellipse 24% 10% at 60% 88%, rgba(255,255,255,.26), transparent 70%),
    radial-gradient(ellipse 28% 12% at 85% 72%, rgba(255,255,255,.22), transparent 70%);
  pointer-events: none;
}

.hero-inner { position: relative; padding: 70px 24px 90px; }

.hero .tagline {
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 14px;
  color: var(--ink);
  opacity: .85;
  margin-top: 26px;
}

.hero h1 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(26px, 4.4vw, 44px);
  color: var(--ink);
  margin-top: 10px;
  line-height: 1.2;
}

.hero p.sub {
  max-width: 560px;
  margin: 16px auto 0;
  color: #1d3b57;
  font-size: 17px;
}

.hero-ctas { display: flex; gap: 16px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }

/* ---------- Feature strip ---------- */

.features {
  background: var(--ink);
  color: var(--white);
  padding: 56px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

@media (max-width: 900px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .features-grid { grid-template-columns: 1fr; } }

.feature { text-align: center; }

.feature .icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: rgba(79, 195, 217, .16);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lagoon);
}

.feature h3 {
  font-family: var(--font-head);
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
  color: var(--white);
}

.feature p { font-size: 14px; color: #b9c8de; }

/* ---------- Sections ---------- */

.section { padding: 80px 0; }
.section.tinted { background: var(--pool-light); }

.section-head { text-align: center; margin-bottom: 44px; }

.kicker {
  font-family: var(--font-script);
  font-size: 26px;
  color: var(--lagoon-deep);
}

.section-head h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(24px, 3.2vw, 34px);
  color: var(--ink);
  margin-top: 4px;
}

.section-head p { color: var(--muted); max-width: 540px; margin: 10px auto 0; }

/* ---------- Product grid ---------- */

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 28px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform .25s, box-shadow .25s;
  display: flex;
  flex-direction: column;
}

.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }

.product-art {
  background: linear-gradient(180deg, #dff2f7 0%, var(--pool) 100%);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8%;
  position: relative;
}

.product-art svg { width: 100%; height: 100%; }

.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
}

.badge.green { background: var(--fairway); color: var(--ink); }

.product-info { padding: 18px 20px 22px; flex: 1; display: flex; flex-direction: column; }

.product-info .cat {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lagoon-deep);
}

.product-info h3 {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin: 4px 0 2px;
}

.product-info .colorway { font-size: 13px; color: var(--muted); }

.product-info .price {
  margin-top: auto;
  padding-top: 12px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 17px;
  color: var(--ink);
}

/* ---------- Category tiles ---------- */

.cat-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 720px) { .cat-tiles { grid-template-columns: 1fr; } }

.cat-tile {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  padding: 32px;
  color: var(--white);
  box-shadow: var(--shadow-soft);
  transition: transform .25s;
}

.cat-tile:hover { transform: translateY(-4px); }

.cat-tile.men {
  background:
    radial-gradient(ellipse 90% 60% at 50% 115%, rgba(255,255,255,.25), transparent 65%),
    linear-gradient(160deg, var(--royal) 0%, var(--ink) 100%);
}

.cat-tile.women {
  background:
    radial-gradient(ellipse 90% 60% at 50% 115%, rgba(255,255,255,.3), transparent 65%),
    linear-gradient(160deg, var(--lagoon) 0%, var(--lagoon-deep) 70%, #1f7e96 100%);
}

.cat-tile .tile-script { font-family: var(--font-script); font-size: 24px; opacity: .9; }

.cat-tile h3 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 2px 0 10px;
}

/* ---------- Story / split section ---------- */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; gap: 32px; } }

.split h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(24px, 3vw, 32px);
  color: var(--ink);
  line-height: 1.25;
}

.split p { color: var(--muted); margin-top: 14px; font-size: 16px; }

.spec-list { list-style: none; margin-top: 22px; }

.spec-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px dashed #d7e7ee;
  font-size: 15px;
}

.spec-list li svg { flex-shrink: 0; margin-top: 3px; color: var(--lagoon-deep); }

.spec-list strong { color: var(--ink); }

.story-art {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* ---------- Shop page ---------- */

.shop-hero {
  background:
    radial-gradient(ellipse 80% 60% at 50% 120%, rgba(255,255,255,.3), transparent 60%),
    linear-gradient(180deg, #8fd4e4, #5fc3d9);
  text-align: center;
  padding: 56px 24px;
}

.shop-hero h1 {
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--ink);
  font-size: clamp(26px, 3.6vw, 38px);
}

.shop-hero .kicker { color: var(--ink); opacity: .85; }

.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 28px 24px 0;
}

.filter-btn {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 9px 20px;
  border-radius: 999px;
  border: 1.5px solid #cfe2ea;
  background: var(--white);
  color: var(--muted);
  transition: all .2s;
}

.filter-btn:hover { border-color: var(--lagoon); color: var(--lagoon-deep); }

.filter-btn.active { background: var(--ink); border-color: var(--ink); color: var(--white); }

/* ---------- Product detail ---------- */

.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; padding: 56px 0 80px; }
@media (max-width: 820px) { .pdp { grid-template-columns: 1fr; gap: 32px; } }

.pdp-art {
  background: linear-gradient(180deg, #dff2f7 0%, var(--pool) 100%);
  border-radius: var(--radius);
  padding: 10%;
  box-shadow: var(--shadow-soft);
  position: sticky;
  top: 110px;
  align-self: start;
}

@media (max-width: 820px) { .pdp-art { position: static; } }

.pdp-info .cat {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lagoon-deep);
}

.pdp-info h1 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(26px, 3vw, 34px);
  color: var(--ink);
  margin: 6px 0 2px;
}

.pdp-info .colorway { color: var(--muted); font-size: 15px; }

.pdp-info .price {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 24px;
  color: var(--ink);
  margin: 16px 0;
}

.pdp-info .desc { color: var(--text); font-size: 16px; }

.opt-label {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 26px 0 10px;
  display: flex;
  justify-content: space-between;
}

.opt-label .hint { color: var(--muted); font-weight: 600; text-transform: none; letter-spacing: 0; }

.size-row { display: flex; gap: 10px; flex-wrap: wrap; }

.size-btn {
  min-width: 52px;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1.5px solid #cfe2ea;
  background: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
  transition: all .15s;
}

.size-btn:hover { border-color: var(--lagoon-deep); }

.size-btn.active { background: var(--ink); border-color: var(--ink); color: var(--white); }

.qty-row { display: flex; align-items: center; gap: 0; border: 1.5px solid #cfe2ea; border-radius: 10px; width: max-content; overflow: hidden; }

.qty-row button {
  width: 42px;
  height: 44px;
  border: none;
  background: var(--white);
  font-size: 20px;
  color: var(--ink);
}

.qty-row button:hover { background: var(--pool-light); }

.qty-row span {
  width: 48px;
  text-align: center;
  font-family: var(--font-head);
  font-weight: 700;
}

.pdp-actions { margin-top: 30px; display: flex; flex-direction: column; gap: 12px; }

.pdp-specs { margin-top: 34px; }

.pdp-specs summary {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
  padding: 14px 0;
  border-top: 1px solid #e0ecf1;
}

.pdp-specs[open] summary { border-bottom: 1px dashed #e0ecf1; }

.pdp-specs .body { padding: 14px 0; color: var(--muted); font-size: 15px; }

.pdp-specs .body ul { padding-left: 20px; }

/* ---------- Cart drawer ---------- */

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(22, 41, 77, .45);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
  z-index: 90;
}

.cart-overlay.open { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 100vw);
  background: var(--white);
  z-index: 100;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.22,.8,.36,1);
  display: flex;
  flex-direction: column;
  box-shadow: -12px 0 40px rgba(22,41,77,.18);
}

.cart-drawer.open { transform: translateX(0); }

.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  border-bottom: 1px solid #e4eef3;
}

.cart-head h2 {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}

.cart-close { background: none; border: none; color: var(--muted); padding: 4px; }
.cart-close:hover { color: var(--ink); }

.cart-items { flex: 1; overflow-y: auto; padding: 10px 22px; }

.cart-empty { text-align: center; color: var(--muted); padding: 60px 20px; }
.cart-empty .script { font-family: var(--font-script); font-size: 24px; color: var(--lagoon-deep); margin-bottom: 8px; }

.cart-item {
  display: grid;
  grid-template-columns: 76px 1fr auto;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid #eef5f8;
  align-items: center;
}

.cart-item .thumb {
  background: linear-gradient(180deg, #dff2f7, var(--pool));
  border-radius: 10px;
  padding: 8px;
}

.cart-item h4 { font-family: var(--font-head); font-size: 13.5px; font-weight: 700; color: var(--ink); }

.cart-item .meta { font-size: 12.5px; color: var(--muted); }

.cart-item .line-qty { display: flex; align-items: center; gap: 8px; margin-top: 6px; }

.cart-item .line-qty button {
  width: 24px; height: 24px;
  border-radius: 6px;
  border: 1px solid #cfe2ea;
  background: var(--white);
  font-size: 14px;
  line-height: 1;
  color: var(--ink);
}

.cart-item .line-price { font-family: var(--font-head); font-weight: 800; font-size: 14px; color: var(--ink); text-align: right; }

.cart-item .remove {
  background: none; border: none;
  color: var(--muted);
  font-size: 12px;
  text-decoration: underline;
  margin-top: 6px;
  display: block;
  text-align: right;
}

.cart-foot { border-top: 1px solid #e4eef3; padding: 18px 22px 24px; }

.cart-subtotal {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 6px;
}

.cart-note { font-size: 12.5px; color: var(--muted); margin-bottom: 14px; }

/* ---------- Toast ---------- */

.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translate(-50%, 80px);
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  padding: 13px 24px;
  border-radius: 999px;
  box-shadow: var(--shadow);
  z-index: 120;
  opacity: 0;
  transition: all .3s;
  pointer-events: none;
}

.toast.show { transform: translate(-50%, 0); opacity: 1; }

/* ---------- Newsletter / footer ---------- */

.newsletter {
  background:
    radial-gradient(ellipse 70% 60% at 50% 130%, rgba(255,255,255,.28), transparent 60%),
    linear-gradient(160deg, var(--lagoon-deep), var(--royal));
  color: var(--white);
  text-align: center;
  padding: 70px 24px;
}

.newsletter h2 { font-family: var(--font-head); font-weight: 800; font-size: 26px; }
.newsletter .kicker { color: #d8f3f9; }
.newsletter p { color: #d9ecf5; max-width: 460px; margin: 10px auto 24px; }

.newsletter form { display: flex; gap: 10px; max-width: 440px; margin: 0 auto; }

.newsletter input {
  flex: 1;
  border: none;
  border-radius: 999px;
  padding: 14px 22px;
  font-family: var(--font-body);
  font-size: 14px;
}

@media (max-width: 520px) { .newsletter form { flex-direction: column; } }

footer.site {
  background: var(--ink);
  color: #9fb1cc;
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
}

@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

footer.site h4 {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 14px;
}

footer.site ul { list-style: none; }
footer.site li { margin-bottom: 9px; font-size: 14px; }
footer.site a:hover { color: var(--lagoon); }

.footer-brand p { font-size: 14px; margin-top: 14px; max-width: 280px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12.5px;
}

/* ---------- Status pages (success / cancel) ---------- */

.status-page {
  min-height: 64vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
  background: linear-gradient(180deg, var(--pool-light), var(--white));
}

.status-card { max-width: 520px; }

.status-card .big-icon {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--lagoon);
  color: var(--ink);
}

.status-card h1 { font-family: var(--font-head); font-weight: 800; color: var(--ink); font-size: 30px; }
.status-card p { color: var(--muted); margin: 14px 0 28px; }

/* ---------- Modal (checkout notice) ---------- */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(22,41,77,.5);
  z-index: 130;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay.open { display: flex; }

.modal {
  background: var(--white);
  border-radius: var(--radius);
  max-width: 480px;
  padding: 34px;
  text-align: center;
  box-shadow: var(--shadow);
}

.modal h3 { font-family: var(--font-head); font-weight: 800; color: var(--ink); margin-bottom: 10px; }
.modal p { color: var(--muted); font-size: 15px; margin-bottom: 22px; }
