/* TermoPitch — sports thermal bottle shop (PT) */
:root {
  --green: #1f6b45;
  --green-dark: #144c30;
  --green-soft: #e8f2ec;
  --crimson: #b42318;
  --ink: #121814;
  --ink-soft: #3d4a42;
  --muted: #6b786f;
  --line: #d5e0d9;
  --paper: #f4f7f5;
  --white: #ffffff;
  --navy: #1a2f45;
  --shadow: 0 18px 50px rgba(18, 24, 20, 0.12);
  --radius: 14px;
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, #d9ebe1 0%, transparent 55%),
    radial-gradient(900px 500px at 100% 0%, #dce7ef 0%, transparent 50%),
    linear-gradient(180deg, #eef3f0 0%, var(--paper) 40%, #e9efeb 100%);
  line-height: 1.55;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--green-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--green);
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(244, 247, 245, 0.88);
  border-bottom: 1px solid rgba(213, 224, 217, 0.8);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.55rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
}

.logo span {
  color: var(--green);
}

.nav {
  display: flex;
  gap: 1.1rem;
  align-items: center;
  flex-wrap: wrap;
}

.nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 600;
}

.nav a:hover {
  color: var(--green-dark);
}

.cart-btn {
  border: none;
  background: var(--ink);
  color: var(--white);
  border-radius: 999px;
  padding: 0.55rem 1rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.cart-btn:hover {
  background: var(--green-dark);
}

.cart-count {
  background: var(--green);
  min-width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  font-size: 0.75rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: none;
  border-radius: 999px;
  padding: 0.85rem 1.35rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(31, 107, 69, 0.28);
}

.btn-primary:hover {
  background: var(--green-dark);
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}

.btn-secondary:hover {
  background: var(--ink);
  color: var(--white);
}

.btn-ghost {
  background: var(--white);
  color: var(--green-dark);
  border: 1px solid var(--line);
}

.btn-sm {
  padding: 0.65rem 1rem;
  font-size: 0.92rem;
}

/* Hero */
.hero {
  padding: 2.5rem 0 3.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}

.hero-lead {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 36ch;
  margin: 0 0 1.5rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.7rem 0.8rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.trust-item i {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green-dark);
  display: inline-grid;
  place-items: center;
  font-style: normal;
  font-weight: 800;
  flex-shrink: 0;
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  width: 100%;
  border-radius: 24px;
  box-shadow: var(--shadow);
  object-fit: cover;
  aspect-ratio: 3/4;
  max-height: 560px;
}

.hero-badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: rgba(18, 24, 20, 0.88);
  color: var(--white);
  padding: 0.7rem 0.95rem;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Sections */
section {
  padding: 3.5rem 0;
}

.section-head {
  margin-bottom: 1.75rem;
  max-width: 42rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
  line-height: 1;
}

.section-head p {
  margin: 0;
  color: var(--ink-soft);
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0.85rem;
}

.gallery-grid figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.gallery-grid figure:hover img {
  transform: scale(1.04);
}

.gallery-grid .g1 { grid-column: span 4; aspect-ratio: 3/4; }
.gallery-grid .g2 { grid-column: span 4; aspect-ratio: 3/4; }
.gallery-grid .g3 { grid-column: span 4; aspect-ratio: 1/1; }
.gallery-grid .g4 { grid-column: span 6; aspect-ratio: 16/9; }
.gallery-grid .g5 { grid-column: span 6; aspect-ratio: 4/3; }
.gallery-grid .g6 { grid-column: span 4; aspect-ratio: 4/3; }
.gallery-grid .g7 { grid-column: span 4; aspect-ratio: 4/3; }
.gallery-grid .g8 { grid-column: span 4; aspect-ratio: 4/3; }

figcaption {
  padding: 0.55rem 0.75rem 0.7rem;
  font-size: 0.8rem;
  color: var(--muted);
}

/* Benefits */
.benefits {
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.55), transparent);
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.benefit {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.benefit .num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--green);
  letter-spacing: 0.04em;
}

.benefit h3 {
  margin: 0.35rem 0 0.4rem;
  font-size: 1.05rem;
}

.benefit p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

/* Products */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 28px rgba(18, 24, 20, 0.05);
}

.product-card img {
  aspect-ratio: 1/1;
  object-fit: cover;
  background: #ecefee;
}

.product-body {
  padding: 1.1rem 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}

.product-body h3 {
  margin: 0;
  font-size: 1.1rem;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.chip {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-dark);
}

.chip.stock {
  background: #e8f6ec;
  color: #1b6b3a;
}

.chip.low {
  background: #fff3e0;
  color: #9a5b00;
}

.price {
  font-family: var(--font-display);
  font-size: 1.85rem;
  letter-spacing: 0.02em;
  margin-top: auto;
}

.price small {
  font-size: 0.95rem;
  color: var(--muted);
  font-family: var(--font-body);
  font-weight: 600;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
  counter-reset: step;
}

.step {
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius);
  padding: 1.1rem;
  position: relative;
  min-height: 150px;
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: #7dcea0;
  display: block;
  margin-bottom: 0.5rem;
}

.step h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.step p {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.78);
}

/* Delivery */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.info-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
}

.info-panel h3 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1.35rem;
}

.info-panel ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--ink-soft);
}

.info-panel li + li {
  margin-top: 0.45rem;
}

.highlight {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-weight: 700;
  font-size: 0.95rem;
}

/* Reviews */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.review {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.review img {
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
}

.review-body {
  padding: 1rem 1.1rem 1.2rem;
}

.stars {
  color: #c9a227;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.review-body p {
  margin: 0 0 0.75rem;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.review-author {
  font-weight: 700;
  font-size: 0.9rem;
}

.review-author span {
  display: block;
  font-weight: 500;
  color: var(--muted);
  font-size: 0.8rem;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 0.65rem;
}

details.faq {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.95rem 1.1rem;
}

details.faq summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

details.faq summary::-webkit-details-marker {
  display: none;
}

details.faq summary::after {
  content: "+";
  color: var(--green);
  font-size: 1.3rem;
  line-height: 1;
}

details.faq[open] summary::after {
  content: "−";
}

details.faq p {
  margin: 0.75rem 0 0;
  color: var(--ink-soft);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.25rem;
}

.contact-card,
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.4rem;
}

.contact-card dl {
  margin: 0;
}

.contact-card dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 700;
  margin-top: 0.85rem;
}

.contact-card dd {
  margin: 0.2rem 0 0;
  font-weight: 600;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.75rem 0.85rem;
  font: inherit;
  background: #fbfcfb;
  color: var(--ink);
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid rgba(31, 107, 69, 0.35);
  border-color: var(--green);
}

.field {
  margin-bottom: 0.85rem;
}

.checkbox {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin: 0.85rem 0;
}

.checkbox input {
  width: auto;
  margin-top: 0.2rem;
}

.form-note {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 0.65rem;
}

.form-success {
  display: none;
  margin-top: 0.85rem;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-weight: 700;
}

.form-success.show {
  display: block;
}

/* Legal */
.legal {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.88);
  padding: 3.5rem 0;
}

.legal h2 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 1rem;
  color: var(--white);
}

.legal-block {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.1rem 0;
}

.legal-block h3 {
  margin: 0 0 0.5rem;
  font-size: 1.02rem;
  color: #9fd4b5;
}

.legal-block p,
.legal-block ul {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.78);
}

.legal-block ul {
  padding-left: 1.1rem;
}

.legal-block li + li {
  margin-top: 0.3rem;
}

.legal a {
  color: #b8e0c8;
}

/* Footer */
.site-footer {
  background: #0d1410;
  color: rgba(255, 255, 255, 0.7);
  padding: 2.2rem 0 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.5rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--white);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem 1rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #9fd4b5;
}

.footer-copy {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
}

/* Cart drawer */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 16, 12, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 80;
}

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

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, 100%);
  height: 100%;
  background: var(--white);
  z-index: 90;
  transform: translateX(105%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.18);
}

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

.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--line);
}

.drawer-head h2 {
  margin: 0;
  font-size: 1.15rem;
}

.icon-btn {
  border: none;
  background: transparent;
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
}

.drawer-body {
  padding: 1rem 1.15rem;
  overflow: auto;
  flex: 1;
}

.cart-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
}

.cart-item img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 10px;
}

.cart-item h4 {
  margin: 0 0 0.2rem;
  font-size: 0.92rem;
}

.cart-item p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.qty {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.35rem;
}

.qty button {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--paper);
  cursor: pointer;
}

.cart-empty {
  color: var(--muted);
  text-align: center;
  padding: 2rem 0.5rem;
}

.drawer-foot {
  padding: 1rem 1.15rem 1.25rem;
  border-top: 1px solid var(--line);
}

.total-row {
  display: flex;
  justify-content: space-between;
  font-weight: 800;
  margin-bottom: 0.85rem;
}

.checkout-fields .field {
  margin-bottom: 0.65rem;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%) translateY(120%);
  background: var(--ink);
  color: var(--white);
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  z-index: 100;
  transition: transform 0.3s ease;
  box-shadow: var(--shadow);
}

.toast.show {
  transform: translateX(-50%) translateY(0);
}

.mobile-nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 10px;
  padding: 0.45rem 0.7rem;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 960px) {
  .hero-grid,
  .split,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .benefit-grid,
  .product-grid,
  .reviews-grid {
    grid-template-columns: 1fr 1fr;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-grid .g1,
  .gallery-grid .g2,
  .gallery-grid .g3,
  .gallery-grid .g4,
  .gallery-grid .g5,
  .gallery-grid .g6,
  .gallery-grid .g7,
  .gallery-grid .g8 {
    grid-column: span 6;
  }
}

@media (max-width: 720px) {
  .nav {
    display: none;
  }

  .nav.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(244, 247, 245, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 0.85rem 1rem 1rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .mobile-nav-toggle {
    display: inline-block;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .benefit-grid,
  .product-grid,
  .reviews-grid,
  .form-row,
  .trust-row,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .gallery-grid .g1,
  .gallery-grid .g2,
  .gallery-grid .g3,
  .gallery-grid .g4,
  .gallery-grid .g5,
  .gallery-grid .g6,
  .gallery-grid .g7,
  .gallery-grid .g8 {
    grid-column: span 12;
  }

  .hero {
    padding-top: 1.5rem;
  }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-grid,
.gallery-grid,
.benefit-grid,
.product-grid {
  animation: riseIn 0.7s ease both;
}
