:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-alt: #f4f7fb;
  --text: #0b1d33;
  --muted: #5b6b7c;
  --accent: #1f6fd1;
  --accent-dark: #123f7c;
  --border: #e7ebf0;
  --shadow: 0 24px 48px rgba(15, 35, 60, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

/* Announcement bar */

.announcement-bar {
  background: var(--accent-dark);
  color: #f2f7ff;
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.65rem 1rem;
}

/* Header */

.site-header {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.2rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 700;
}

.brand strong {
  display: block;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.brand small {
  color: var(--muted);
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  position: relative;
  flex-shrink: 0;
}

.brand-mark span {
  position: absolute;
  inset: 9px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
}

.site-nav {
  display: flex;
  gap: 2rem;
  font-weight: 600;
  font-size: 0.92rem;
}

.site-nav a,
.text-link {
  color: var(--text);
}

.site-nav a:hover,
.text-link:hover {
  color: var(--accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.cart-pill {
  padding: 0.7rem 1.3rem;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
}

.cart-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

.cart-button:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.cart-button svg {
  width: 21px;
  height: 21px;
}

.cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--accent-dark);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-count[hidden] {
  display: none;
}

/* Cart drawer */

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 29, 51, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 40;
}

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

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 380px;
  max-width: 92vw;
  background: var(--surface);
  box-shadow: -20px 0 50px rgba(15, 35, 60, 0.15);
  z-index: 50;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

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

.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.4rem;
  border-bottom: 1px solid var(--border);
}

.cart-drawer-header strong {
  font-size: 1.05rem;
}

.cart-close {
  border: 0;
  background: none;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--muted);
  padding: 0.2rem;
}

.cart-close:hover {
  color: var(--text);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.4rem;
}

.cart-empty {
  color: var(--muted);
  font-size: 0.92rem;
  text-align: center;
  margin-top: 2rem;
}

.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
}

.cart-item-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.cart-item-info strong {
  font-size: 0.92rem;
}

.cart-item-info span {
  color: var(--muted);
  font-size: 0.8rem;
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.qty-btn {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--surface-alt);
  cursor: pointer;
  font-size: 0.95rem;
  line-height: 1;
}

.qty-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.cart-drawer-footer {
  padding: 1.2rem 1.4rem 1.5rem;
  border-top: 1px solid var(--border);
}

.cart-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.9rem;
  font-size: 0.95rem;
}

.cart-checkout {
  width: 100%;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.85rem;
  border-radius: 4px;
}

/* Hero */

.hero {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-copy,
.hero-card {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1.08;
  margin: 0 0 1.1rem;
  letter-spacing: -0.01em;
}

.hero-text,
.section-heading p,
.story-card p,
.cta-section p,
.site-footer p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin: 1.6rem 0 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.5rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.94rem;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-dark);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero-stats {
  display: flex;
  gap: 2.2rem;
  flex-wrap: wrap;
  padding-top: 1.6rem;
  border-top: 1px solid var(--border);
}

.hero-stats strong {
  display: block;
  font-size: 1.3rem;
}

.hero-stats span {
  color: var(--muted);
  font-size: 0.85rem;
}

.hero-card {
  background: var(--surface-alt);
  border-radius: 20px;
  overflow: hidden;
}

.hero-card-media {
  min-height: 380px;
  position: relative;
  overflow: hidden;
}

.hero-card-media img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  object-position: center;
}

.hero-card-content {
  padding: 1.6rem 1.6rem 1.9rem;
}

.hero-card-content h2 {
  margin: 0 0 0.6rem;
  font-size: 1.3rem;
}

.hero-card-content ul {
  margin: 0.9rem 0 0;
  padding: 0;
  color: var(--muted);
  line-height: 1.8;
}

.hero-card-content ul li::before {
  content: "— ";
  color: var(--accent);
  font-weight: 700;
}

/* Trust bar */

.trust-bar {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-bar > div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.trust-bar strong {
  font-size: 0.98rem;
}

.trust-bar span {
  color: var(--muted);
  font-size: 0.88rem;
}

/* Sections */

.section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.section-heading {
  margin-bottom: 2.2rem;
  max-width: 640px;
}

.section-heading h2,
.story-card h2,
.cta-section h2 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  letter-spacing: -0.01em;
}

/* Product grid — catalog style */

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.8rem 1.4rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.product-media {
  height: 380px;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  background: var(--surface-alt);
  margin-bottom: 1.1rem;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.35s ease;
}

.product-card:hover .product-media img {
  transform: scale(1.04);
}

.product-badge {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  z-index: 1;
  display: inline-block;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  background: #fff;
  color: var(--accent-dark);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  box-shadow: 0 4px 10px rgba(15, 35, 60, 0.1);
}

.product-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 700;
  text-align: center;
}

.product-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}

.stars {
  position: relative;
  display: inline-block;
  font-size: 0.95rem;
  letter-spacing: 2px;
  line-height: 1;
}

.stars-bg {
  color: #dbe2ea;
}

.stars-fg {
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  white-space: nowrap;
  color: #f5a623;
}

.rating-value {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
}

.product-meta {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 0.6rem;
  text-align: center;
}

.product-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 0.2rem;
  margin-bottom: 0.9rem;
}

.price {
  font-size: 1rem;
  font-weight: 700;
}

.product-card .btn {
  width: 100%;
  padding: 0.85rem 1rem;
  font-size: 0.82rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--accent-dark);
}

.product-card .btn:hover {
  background: #0c2c58;
}

/* Story */

.story-section {
  max-width: 1280px;
  margin: 0 auto 4rem;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

.story-card {
  background: var(--surface-alt);
  border-radius: 20px;
  padding: 2rem;
}

.story-card-alt {
  background: var(--surface);
  border: 1px solid var(--border);
}

.story-card ul {
  margin: 0;
  padding: 0;
  color: var(--muted);
  line-height: 1.9;
}

.story-card ul li::before {
  content: "— ";
  color: var(--accent);
  font-weight: 700;
}

/* CTA */

.cta-section {
  max-width: 1280px;
  margin: 0 auto 4rem;
  padding: 2.4rem 2.2rem;
  background: var(--accent-dark);
  color: #fff;
  border-radius: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cta-section .eyebrow {
  color: #a9c8f5;
}

.cta-section p {
  color: #d3e2f8;
}

.cta-section .btn {
  background: #fff;
  color: var(--accent-dark);
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
}

.site-footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem 1.5rem 2rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2rem;
}

.footer-col strong {
  display: block;
  margin-bottom: 0.9rem;
  font-size: 0.92rem;
}

.footer-col ul {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-col ul a:hover {
  color: var(--accent);
}

.newsletter-form {
  display: flex;
  margin-top: 0.9rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.newsletter-form input {
  flex: 1;
  border: 0;
  padding: 0.7rem 0.8rem;
  font-size: 0.88rem;
  outline: none;
  min-width: 0;
}

.newsletter-form button {
  border: 0;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0 1rem;
  cursor: pointer;
}

.newsletter-form button:hover {
  background: var(--accent-dark);
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.4rem 1.5rem 2.4rem;
  color: var(--muted);
  font-size: 0.82rem;
  border-top: 1px solid var(--border);
}

/* Responsive */

@media (max-width: 1000px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .site-footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .hero,
  .story-section,
  .trust-bar {
    grid-template-columns: 1fr;
  }

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

  .site-nav {
    order: 3;
    width: 100%;
    justify-content: center;
  }

  .cta-section {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 1rem;
  }

  .hero {
    padding: 2rem 1rem 2.5rem;
  }

  .hero-stats {
    gap: 1.4rem;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.4rem 1rem;
  }

  .site-footer-inner {
    grid-template-columns: 1fr;
  }
}
