/* gainxtra static site */
:root {
  --text: #121212;
  --text-soft: rgba(18, 18, 18, .75);
  --heading: #212721;
  --muted-bg: #f3f4f8;
  --line: #e4e5ea;
  --black: #121212;
  --white: #fff;
  --radius: 14px;
  --page: 1400px;
  --font: "Figtree", "Sofia Pro", "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: .6px;
  color: var(--text-soft);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { color: var(--heading); margin: 0; line-height: 1.25; letter-spacing: .6px; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
.page { max-width: var(--page); margin: 0 auto; padding: 0 30px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 30px; border-radius: 100px;
  font-size: 14px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
  border: 2px solid var(--black); color: var(--black); background: transparent;
  transition: background .2s, color .2s;
}
.btn:hover { background: var(--black); color: var(--white); }
.btn--solid { background: var(--heading); border-color: var(--heading); color: var(--white); letter-spacing: 1px; }
.btn--solid:hover { background: #000; }
.btn--block { width: 100%; }
.btn--amazon { background: #ffd814; border-color: #ffd814; color: #0f1111; letter-spacing: 1px; }
.btn--amazon:hover { background: #f7ca00; border-color: #f7ca00; color: #0f1111; }
.btn svg { width: 18px; height: 18px; }

/* ---------- Announcement + header ---------- */
/* Measured from the live site at 1903px: bar 39px, header 53px, logo 120x38, nav 24px/600 with 45px gaps, icons 30px in 44px boxes */
.announcement { background: #000; color: var(--white); text-align: center; font-size: 13px; font-weight: 500; line-height: 16.9px; letter-spacing: 1px; padding: 11px 16px; min-height: 39px; text-transform: uppercase; }
.header { position: sticky; top: 0; z-index: 50; background: var(--white); }
.header__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 53px; max-width: none; padding: 0 30px; }
.header__logo { display: inline-flex; padding: 7.5px; margin-left: -7.5px; justify-self: start; }
.header__logo img { width: 120px; height: auto; }
.header__nav { display: flex; gap: 45px; }
.header__nav a { font-size: 24px; font-weight: 600; line-height: 43.2px; letter-spacing: .6px; color: #000; padding: 0 0 6px; border-bottom: 3px solid transparent; }
.header__nav a { transition: color .2s ease; }
.header__nav a:hover { color: #808080; }
.header__icons { display: flex; justify-content: flex-end; align-items: center; margin-right: -10px; }
.icon-btn { background: none; border: 0; padding: 0; color: #262626; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; }
.icon-btn svg { width: 30px; height: 30px; }
.drawer .icon-btn svg, .search .icon-btn svg { width: 24px; height: 24px; }
.header__burger { display: none; }

.drawer { position: fixed; inset: 0; z-index: 100; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.4); opacity: 0; transition: opacity .25s; }
.drawer.is-open .drawer__overlay { opacity: 1; }
.drawer__panel { position: absolute; top: 0; left: 0; bottom: 0; width: min(340px, 85vw); background: var(--white); padding: 20px 24px; transform: translateX(-100%); transition: transform .25s; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__panel nav a { display: block; font-size: 20px; font-weight: 700; color: var(--black); padding: 14px 0; border-bottom: 1px solid var(--line); }

.search { position: fixed; inset: 0; z-index: 110; background: rgba(0,0,0,.4); display: none; }
.search.is-open { display: block; }
.search__box { background: var(--white); padding: 24px 0 30px; }
.search__row { display: flex; gap: 12px; align-items: center; }
.search__row input { flex: 1; height: 50px; border: 1px solid var(--black); border-radius: 100px; padding: 0 22px; font: inherit; font-size: 16px; }
.search__results { margin-top: 16px; display: grid; gap: 6px; }
.search__results a { display: flex; align-items: center; gap: 14px; padding: 8px; border-radius: 10px; color: var(--black); }
.search__results a:hover { background: var(--muted-bg); }
.search__results img { width: 52px; height: 52px; object-fit: cover; border-radius: 8px; }

/* ---------- Slideshow ---------- */
.slideshow { position: relative; overflow: hidden; }
.slideshow__track { display: flex; transition: transform .5s ease; }
.slideshow__slide { flex: 0 0 100%; }
.slideshow__slide img { width: 100%; }
/* Controls row measured from the live site: 46px tall, full-width hairlines, 44px arrow buttons, 10px dots in 30px hit areas */
.slideshow__controls { display: flex; justify-content: center; align-items: center; height: 46px; border-top: 1px solid rgba(18,18,18,.08); border-bottom: 1px solid rgba(18,18,18,.08); }
.slideshow__arrow { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; background: none; border: 0; padding: 0; color: rgba(18,18,18,.75); border-radius: 25px; }
.slideshow__arrow:hover { color: #121212; }
.slideshow__arrow svg { width: 8px; height: 13px; }
.slideshow__dots { display: flex; margin: 0 12px; }
.slideshow__dot { width: 30px; height: 30px; padding: 10px; background: none; border: 0; display: inline-flex; }
.slideshow__dot::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 1px solid rgba(18,18,18,.5); box-sizing: border-box; }
.slideshow__dot.is-active::before { background: #121212; border-color: #121212; }
.only-desktop { display: block; }
.only-mobile { display: none; }

/* ---------- Section basics ---------- */
.section { padding: 50px 0; }
.section-title { text-align: center; font-size: 28px; font-weight: 800; margin-bottom: 28px; }
.kicker { font-size: 14px; font-weight: 700; letter-spacing: 2.2px; text-transform: uppercase; color: #25282a; margin-bottom: 14px; }

/* Category cards */
.cats { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.cat { width: 300px; background: var(--muted-bg); border-radius: var(--radius); padding: 16px 16px 0; transition: transform .2s; }
.cat:hover { transform: translateY(-3px); }
.cat__label { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 800; color: var(--black); text-transform: uppercase; margin-bottom: 10px; }
.cat img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.center { text-align: center; }
.mt-30 { margin-top: 30px; }

/* Two column rows */
.rows { display: grid; gap: 30px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; background: var(--muted-bg); border-radius: var(--radius); padding: 40px; }
.row--plain { background: transparent; padding: 0; }
.row--reverse .row__media { order: -1; }
.row__media img { width: 100%; border-radius: var(--radius); }
.row h2, .row h3 { font-size: 34px; font-weight: 800; margin-bottom: 18px; color: #131313; }
.row p { font-size: 15px; }
.checks { display: grid; gap: 16px; margin: 22px 0 30px; }
.checks li { display: flex; align-items: flex-start; gap: 12px; font-weight: 700; color: var(--black); font-size: 15px; line-height: 24px; }
.checks svg { width: 18px; height: 18px; flex: none; margin-top: 3px; }

/* Blog teaser (home) */
.blog-teaser { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; }
.blog-teaser__big { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 560px; color: var(--white); }
.blog-teaser__big img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.blog-teaser__big::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.05) 45%); }
.blog-teaser__big-content { position: relative; z-index: 1; padding: 30px; }
.blog-teaser__big h3 { color: var(--white); font-size: 36px; font-weight: 800; max-width: 420px; margin: 18px 0; }
.read-more { font-size: 13px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; display: inline-flex; gap: 6px; align-items: center; }
.blog-teaser__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.tag-pill { display: inline-block; background: var(--white); color: var(--black); font-size: 11px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; padding: 6px 14px; border-radius: 100px; }
.mini-card__img { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1 / .92; }
.mini-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.mini-card:hover img { transform: scale(1.04); }
.mini-card .tag-pill { position: absolute; top: 12px; left: 12px; z-index: 1; }
.mini-card h4 { font-size: 15px; font-weight: 500; margin-top: 10px; color: var(--black); }

/* ---------- Footer ---------- */
.footer { background: var(--black); color: var(--white); padding: 50px 0 26px; margin-top: 40px; }
.footer__top { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer__logo img { height: 42px; width: auto; }
.newsletter { display: flex; border-bottom: 1px solid rgba(255,255,255,.6); width: min(360px, 100%); }
.newsletter input { flex: 1; background: none; border: 0; color: var(--white); font: inherit; font-size: 14px; padding: 10px 0; outline: none; }
.newsletter input::placeholder { color: rgba(255,255,255,.85); }
.newsletter button { background: none; border: 0; color: var(--white); padding: 0 6px; }
.footer__mid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding: 40px 0; }
.footer__tagline { font-size: 22px; font-weight: 800; max-width: 400px; line-height: 1.4; color: var(--white); }
.footer__cols { display: flex; gap: 70px; }
.footer__cols h4 { color: rgba(255,255,255,.55); font-size: 20px; font-weight: 700; margin-bottom: 14px; }
.footer__cols a { display: block; font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.footer__cols a:hover, .footer__legal a:hover { text-decoration: underline; }
.social { display: flex; gap: 20px; padding: 10px 0 30px; }
.social svg { width: 18px; height: 18px; fill: var(--white); }
.footer__bottom { display: flex; justify-content: space-between; font-size: 12px; flex-wrap: wrap; gap: 10px; }
.footer__legal { display: flex; gap: 20px; }
.footer__legal a { text-decoration: underline; }

/* ---------- Product page ---------- */
.product { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; padding: 30px 0 50px; align-items: start; }
.gallery { display: grid; grid-template-columns: 70px 1fr; gap: 16px; position: sticky; top: 90px; }
.gallery__thumbs { display: flex; flex-direction: column; gap: 10px; max-height: 560px; overflow-y: auto; scrollbar-width: none; }
.gallery__thumb { border: 2px solid transparent; border-radius: 10px; overflow: hidden; padding: 0; background: var(--muted-bg); aspect-ratio: 1; }
.gallery__thumb.is-active { border-color: var(--black); }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__main { background: var(--muted-bg); border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; }
.gallery__main img { width: 100%; height: 100%; object-fit: contain; }
.product__info h1 { font-size: 24px; font-weight: 700; }
.product__top { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; }
.product__price { font-size: 16px; font-weight: 700; color: var(--heading); white-space: nowrap; }
.product__rating { display: flex; align-items: center; gap: 8px; font-size: 13px; margin: 10px 0 18px; }
.stars { color: #121212; letter-spacing: 2px; font-size: 15px; }
.product__bullets { background: var(--muted-bg); border-radius: 10px; padding: 18px 20px; margin: 20px 0; display: grid; gap: 10px; }
.product__bullets li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 22px; color: var(--black); font-weight: 600; }
.product__bullets svg { width: 18px; height: 18px; flex: none; margin-top: 2px; } /* centred on the first line of text */
.product__note { font-size: 12px; text-align: center; margin-top: 10px; }
.product__subtitle { font-size: 14px; font-weight: 600; color: var(--heading); margin: 8px 0 16px; }
.product__usage { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 18px; }
.product__usage h2 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.product__usage p { font-size: 14px; }

.four-blocks { text-align: center; padding: 50px 0; }
.four-blocks h2 { font-size: 24px; font-weight: 700; }
.four-blocks > .page > p { margin-top: 8px; }
.four-blocks__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 36px; }
.four-blocks__grid img { width: 64px; height: 64px; margin: 0 auto 14px; }
.four-blocks__grid h3 { font-size: 18px; font-weight: 400; color: var(--text); }

.switcher { background: var(--muted-bg); padding: 30px 0 60px; }
.switcher__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.switcher__media { position: relative; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; }
.switcher__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s; }
.switcher__media img.is-active { opacity: 1; }
.switcher__eyebrow { font-size: 16px; font-weight: 600; text-transform: uppercase; color: #2e2e2e; margin-bottom: 30px; }
.switcher__item { border-top: 1px solid #d6d7dc; padding: 20px 0; cursor: pointer; }
.switcher__item h3 { font-size: 28px; font-weight: 800; color: #b9bbc2; transition: color .25s; margin-bottom: 6px; }
.switcher__item p { font-size: 15px; margin: 0; }
.switcher__item.is-active h3 { color: var(--black); }

/* Reviews */
.reviews { border-top: 1px solid var(--line); }

/* ---------- Collection ---------- */
.collection-head { padding: 40px 0 10px; }
.collection-head h1 { font-size: 34px; font-weight: 800; }
.collection-count { font-size: 14px; margin: 8px 0 24px; }
.grid-products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.pcard__img { background: var(--muted-bg); border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; }
.pcard__img img { width: 100%; height: 100%; object-fit: contain; transition: transform .4s; }
.pcard:hover .pcard__img img { transform: scale(1.04); }
.pcard h3 { font-size: 16px; font-weight: 600; margin: 12px 0 4px; }
.pcard h3:hover { text-decoration: underline; }
.pcard__price { font-size: 13px; font-weight: 600; color: var(--heading); }
.pcard .btn { margin-top: 12px; min-height: 40px; font-size: 12px; padding: 0 18px; }

/* ---------- Page banner + rich text ---------- */
.banner { position: relative; }
.banner img { width: 100%; }
.banner--overlay .banner__content { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; color: var(--white); background: rgba(0,0,0,.25); padding: 20px; }
.banner--overlay h2 { color: var(--white); font-size: 44px; font-weight: 800; }
.banner--overlay p { font-size: 18px; margin: 10px 0 22px; }
.banner--overlay .btn { border-color: var(--white); color: var(--white); }
.banner--overlay .btn:hover { background: var(--white); color: var(--black); }
.rich-text { max-width: 900px; margin: 0 auto; text-align: center; padding: 50px 30px; }
.rich-text h2 { font-size: 28px; font-weight: 800; margin-bottom: 16px; }

/* ---------- Contact ---------- */
.contact { max-width: 760px; margin: 0 auto; padding: 40px 30px 60px; }
.contact h1 { font-size: 40px; font-weight: 800; margin-bottom: 30px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--black); }
.field input, .field textarea { border: 1px solid #b8b8b8; border-radius: 8px; padding: 12px 14px; font: inherit; font-size: 15px; }
.field textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: 13px; margin-top: 14px; }

/* ---------- Blog list ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 30px; padding: 40px 0 20px; max-width: 1080px; margin: 0 auto; }
.blog-card__img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 1 / 1.05; }
.blog-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.blog-card:hover img { transform: scale(1.04); }
.blog-card h3 { font-size: 16px; font-weight: 700; margin: 14px 0 12px; }
.blog-card__tag { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #555; }

/* ---------- Article ---------- */
.article { display: grid; grid-template-columns: 260px 1fr 260px; gap: 30px; padding: 40px 0 50px; align-items: start; }
.toc, .cta-box { position: sticky; top: 90px; border-radius: 12px; padding: 22px; }
.toc { background: #1f2320; color: var(--white); }
.toc h3 { color: var(--white); font-size: 22px; font-weight: 800; margin-bottom: 16px; }
.toc li { border-top: 1px solid rgba(255,255,255,.18); }
.toc a { display: block; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 12px 0; color: rgba(255,255,255,.7); }
.toc a:hover, .toc a.is-active { color: var(--white); }
.cta-box { background: var(--muted-bg); }
.cta-box h3 { font-size: 20px; font-weight: 800; margin-bottom: 14px; }
.cta-box li { font-size: 13px; padding-left: 14px; position: relative; margin-bottom: 6px; }
.cta-box li::before { content: "•"; position: absolute; left: 0; }
.cta-box a { display: inline-block; margin-top: 10px; font-weight: 700; color: var(--black); text-decoration: underline; }
.article__tag { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--black); }
.article__main h1 { font-size: 30px; font-weight: 800; margin: 6px 0 14px; }
.article__meta { display: flex; align-items: center; gap: 10px; font-size: 13px; margin-bottom: 20px; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--muted-bg); }
.article__desc { background: var(--muted-bg); border-radius: 10px; padding: 26px; font-weight: 800; color: var(--black); font-size: 17px; margin-bottom: 34px; }
.article__main h2 { font-size: 20px; font-weight: 800; margin-bottom: 16px; }
.article__hero { border-radius: var(--radius); margin-bottom: 30px; width: 100%; max-width: 700px; }
.article__body { font-size: 15px; }
.article__body h3 { font-size: 24px; font-weight: 800; margin: 34px 0 14px; scroll-margin-top: 90px; }
.article__body ul { list-style: disc; padding-left: 22px; margin-bottom: 1em; }
.article__body ol { padding-left: 22px; margin-bottom: 1em; }
.article__body li { margin-bottom: 6px; }
.article__body strong { color: var(--black); }
.article__body a { text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .article { grid-template-columns: 1fr; }
  .toc, .cta-box { position: static; }
  .article__side-right { order: 3; }
  .grid-products { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 989px) {
  .header__nav { display: none; }
  .header__burger { display: inline-flex; }
  .header__inner { grid-template-columns: 1fr auto 1fr; padding: 0 16px; height: 60px; }
  .header__burger { justify-self: start; margin-left: -10px; }
  .header__logo { justify-self: center; margin-left: 0; }
  .header__logo img { width: 104px; }
  .header__icons .icon-account { display: none; }
  .product { grid-template-columns: 1fr; }
  .gallery { position: static; }
  .row, .switcher__inner { grid-template-columns: 1fr; gap: 26px; }
  .row--reverse .row__media { order: 0; }
  .row { padding: 24px; }
  .row h2, .row h3 { font-size: 28px; }
  .blog-teaser { grid-template-columns: 1fr; }
  .blog-teaser__big { min-height: 420px; }
  .four-blocks__grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 749px) {
  .page { padding: 0 16px; }
  .only-desktop { display: none; }
  .only-mobile { display: block; }
  .section { padding: 36px 0; }
  .section-title { font-size: 22px; }
  .cats { gap: 12px; }
  .cat { width: calc(50% - 6px); padding: 10px 10px 0; }
  .cat__label { font-size: 11px; }
  .gallery { grid-template-columns: 1fr; }
  .gallery__thumbs { flex-direction: row; order: 2; overflow-x: auto; max-height: none; }
  .gallery__thumb { flex: 0 0 64px; }
  .grid-products { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-teaser__big h3 { font-size: 28px; }
  .footer__cols { gap: 36px; flex-wrap: wrap; }
  .footer__tagline { font-size: 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .banner--overlay h2 { font-size: 28px; }
  .switcher__item h3 { font-size: 22px; }
}
