/* GiftSprout gift guides: matches the landing page's brutalist style. */
:root {
  color-scheme: light;
  --bg: #f2f0ff;
  --ink: #14121f;
  --yellow: #ffd400;
  --pink: #ff5da2;
  --blue: #2f6bff;
  --green: #00c07f;
  --orange: #ff7a1a;
  --shadow-lg: 8px 8px 0 var(--ink);
  --shadow-md: 6px 6px 0 var(--ink);
  --shadow-sm: 4px 4px 0 var(--ink);
  --shadow-xs: 3px 3px 0 var(--ink);
  --gutter: clamp(16px, 4vw, 52px);
  font-family: "Archivo", ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; }

body { margin: 0; background: var(--bg); color: var(--ink); overflow-x: hidden; }

h1, h2, h3 { font-family: "Archivo Black", "Archivo", sans-serif; margin: 0; text-transform: uppercase; }

p { margin: 0; }

a { color: inherit; }

a:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

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

/* Buttons */
.btn {
  align-items: center;
  border: 3px solid var(--ink);
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  font-family: "Archivo Black", sans-serif;
  font-size: 0.9rem;
  gap: 8px;
  justify-content: center;
  letter-spacing: 0.08em;
  min-height: 52px;
  padding: 0 24px;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 0.1s, box-shadow 0.1s;
  white-space: nowrap;
}
.btn:hover { box-shadow: var(--shadow-md); transform: translate(-2px, -2px); }
.btn:active { box-shadow: 1px 1px 0 var(--ink); transform: translate(3px, 3px); }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-white { background: #fff; color: var(--ink); }
.btn-sm { min-height: 42px; font-size: 0.78rem; padding: 0 16px; }
.btn small { font-family: "Archivo", sans-serif; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.04em; opacity: 0.7; text-transform: none; }

/* Top bar */
.topbar { background: var(--blue); border-bottom: 4px solid var(--ink); }
.topbar .wrap { align-items: center; display: flex; gap: 16px; justify-content: space-between; padding-bottom: 14px; padding-top: 14px; }
.brand { align-items: center; color: #fff; display: inline-flex; font-family: "Archivo Black", sans-serif; font-size: 1.1rem; gap: 12px; text-decoration: none; text-transform: uppercase; }
.brand img { border: 3px solid var(--ink); box-shadow: var(--shadow-xs); height: 40px; width: 40px; }
.topnav { align-items: center; display: flex; gap: 22px; }
.topnav a:not(.btn) { color: #fff; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.1em; text-decoration: none; text-transform: uppercase; }
.topnav a:not(.btn):hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 5px; }

/* Hero */
.guide-hero { border-bottom: 4px solid var(--ink); color: #fff; overflow: hidden; position: relative; }
.guide-hero::after {
  background: var(--yellow);
  border: 4px solid var(--ink);
  bottom: -80px;
  content: "";
  height: 170px;
  position: absolute;
  right: -60px;
  transform: rotate(-8deg);
  width: 340px;
}
.hero-blue { background: var(--blue); }
.hero-pink { background: var(--pink); }
.hero-green { background: var(--green); }
.hero-green::after { background: var(--pink); }
.hero-pink::after { background: var(--blue); }
.guide-hero .wrap { padding-bottom: clamp(40px, 6vw, 80px); padding-top: clamp(28px, 4vw, 52px); position: relative; z-index: 1; }
.crumbs { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.1em; margin-bottom: 18px; text-transform: uppercase; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 4px; }
.crumbs span { margin: 0 6px; opacity: 0.7; }
.guide-hero h1 {
  font-size: clamp(2.3rem, 6.5vw, 4.8rem);
  line-height: 0.95;
  max-width: 14em;
  -webkit-text-stroke: 2px var(--ink);
  text-shadow: 5px 5px 0 var(--ink);
}
.lede { font-size: clamp(1.05rem, 1.6vw, 1.22rem); font-weight: 700; line-height: 1.5; margin-top: 22px; max-width: 40em; }
.meta { font-size: 0.88rem; font-weight: 700; margin-top: 18px; max-width: 46em; opacity: 0.9; }
.disclosure {
  background: var(--ink);
  color: #fff;
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  margin-top: 14px;
  padding: 6px 12px;
}

/* Sections */
.block { padding: clamp(44px, 6vw, 80px) 0; }
.block + .block { padding-top: 0; }
.sec-title { font-size: clamp(1.6rem, 3.6vw, 2.6rem); line-height: 1; margin-bottom: clamp(26px, 3vw, 38px); }

/* Product picks */
.picks { display: grid; gap: 30px 26px; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; }
.pick {
  background: #fff;
  border: 4px solid var(--ink);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 52px 20px 20px;
  position: relative;
}
.pick-num {
  background: var(--c, var(--yellow));
  border: 3px solid var(--ink);
  box-shadow: var(--shadow-xs);
  font-family: "Archivo Black", sans-serif;
  font-size: 1.2rem;
  left: 16px;
  padding: 3px 11px;
  position: absolute;
  top: -18px;
  transform: rotate(-3deg);
}
.pick:nth-child(4n+2) .pick-num { --c: var(--pink); color: #fff; }
.pick:nth-child(4n+3) .pick-num { --c: var(--blue); color: #fff; }
.pick:nth-child(4n+4) .pick-num { --c: var(--green); color: #fff; }
.pick-tag {
  align-self: flex-start;
  background: #f2f0ff;
  border: 2px solid var(--ink);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 4px 9px;
  position: absolute;
  right: 16px;
  text-transform: uppercase;
  top: 14px;
}
.pick h3 { font-size: 1.15rem; line-height: 1.1; }
.pick p { font-size: 0.97rem; font-weight: 600; line-height: 1.5; }
.pick-link { align-self: flex-start; margin-top: auto; }
/* Optional product picture: a photo, or a big emoji on a tinted tile */
.pick-media { aspect-ratio: 4 / 3; background: #fff; border: 3px solid var(--ink); display: grid; overflow: hidden; place-items: center; }
.pick-media img { display: block; height: 100%; object-fit: contain; width: 100%; }
.pick-emoji { aspect-ratio: 16 / 9; background: #fff6c2; font-size: clamp(3.2rem, 6vw, 4.4rem); line-height: 1; }
.pick:nth-child(4n+2) .pick-emoji { background: #ffe1ee; }
.pick:nth-child(4n+3) .pick-emoji { background: #e1e9ff; }
.pick:nth-child(4n+4) .pick-emoji { background: #d9f7ea; }

/* Tips */
.tips { background: var(--yellow); border: 4px solid var(--ink); box-shadow: var(--shadow-lg); padding: clamp(22px, 4vw, 40px); }
.tips h2 { font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1; margin-bottom: 18px; }
.tips ul { display: grid; gap: 12px; margin: 0; padding-left: 1.2em; }
.tips li { font-size: 1.02rem; font-weight: 600; line-height: 1.5; }

/* CTA */
.cta { background: var(--pink); border-bottom: 4px solid var(--ink); border-top: 4px solid var(--ink); }
.cta .wrap { align-items: center; display: grid; gap: 26px; grid-template-columns: minmax(0, 1fr) auto; padding-bottom: clamp(40px, 6vw, 72px); padding-top: clamp(40px, 6vw, 72px); }
.cta h2 { color: #fff; font-size: clamp(2rem, 5vw, 3.6rem); line-height: 0.95; -webkit-text-stroke: 2px var(--ink); text-shadow: 5px 5px 0 var(--ink); }
.cta p { color: #fff; font-size: 1.08rem; font-weight: 700; line-height: 1.5; margin-top: 16px; max-width: 36em; }
.cta + .block { padding-top: clamp(44px, 6vw, 80px); }

/* Guide cards */
.guide-cards { display: grid; gap: 26px; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; }
.guide-card a {
  background: #fff;
  border: 4px solid var(--ink);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  padding: 22px;
  text-decoration: none;
  transition: transform 0.12s, box-shadow 0.12s;
}
.guide-card a:hover { box-shadow: 10px 10px 0 var(--ink); transform: translate(-2px, -2px); }
.card-emoji {
  align-items: center;
  background: var(--c, var(--yellow));
  border: 3px solid var(--ink);
  display: flex;
  font-size: 1.7rem;
  height: 58px;
  justify-content: center;
  transform: rotate(-4deg);
  width: 58px;
}
.card-pink { --c: var(--pink); }
.card-green { --c: var(--green); }
.card-blue { --c: var(--blue); }
.guide-card h3 { font-size: 1.3rem; line-height: 1.05; }
.guide-card p { font-size: 0.95rem; font-weight: 600; line-height: 1.5; }
.card-go { font-family: "Archivo Black", sans-serif; font-size: 0.82rem; letter-spacing: 0.06em; margin-top: auto; text-transform: uppercase; }

/* Footer */
footer { background: var(--ink); color: #fff; }
footer .wrap { align-items: center; display: flex; flex-wrap: wrap; font-size: 0.8rem; font-weight: 700; gap: 12px 18px; justify-content: space-between; padding-bottom: 22px; padding-top: 22px; }
footer a { color: var(--yellow); font-weight: 800; }
footer .affiliate-note { flex-basis: 100%; font-weight: 500; opacity: 0.7; }

/* Responsive */
@media (max-width: 1020px) {
  .picks, .guide-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .picks, .guide-cards { grid-template-columns: 1fr; }
  .cta .wrap { grid-template-columns: 1fr; }
  .brand span { display: none; }
  .guide-hero::after { height: 110px; width: 200px; bottom: -60px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
