:root {
  --charcoal: #ffffff;
  --slate: #f0f7ff;
  --accent: #1e4fff;
  --white: #1a1a1a;
  --silver: #666666;
  --primary-blue: #1e4fff;
  --primary-red: #d32f2f;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--charcoal);
  color: var(--white);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #ffffff;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #ddd;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  height: 125px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.nav-links a {
  opacity: 0.85;
}

.nav-links a:hover {
  opacity: 1;
  color: #d32f2f;
}

.btn {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: 1px solid #d32f2f;
  background: #d32f2f;
  color: var(--white);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.1s;
}

.btn-outline {
  background: transparent;
  color: var(--white);
}

.btn:hover {
  background: #b71c1c;
  transform: translateY(-1px);
}

.btn-outline:hover {
  background: var(--accent);
  color: var(--white);
}

main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem 6rem;
}

section {
  padding: 2rem 0;
  border-bottom: none;
}

section#categories {
  padding-top: 0;
}

h1, h2, h3, h4 {
  font-family: "Segoe UI", system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

h1 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
  font-weight: 800;
  line-height: 1.2;
  color: #1a1a1a;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
}

h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

p {
  font-size: 0.95rem;
  color: #333333;
}

.muted {
  color: #888888;
  font-size: 0.9rem;
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: flex-start;
  padding: 1rem 2rem;
  margin-bottom: 2rem;
}

.hero-tag {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #d32f2f;
  margin-bottom: 0.75rem;
}

.hero-sub {
  font-size: 0.9rem;
  max-width: 100%;
  margin-bottom: 2rem;
  color: #444444;
  line-height: 1.7;
  font-weight: 400;
  white-space: nowrap;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.hero-note {
  font-size: 0.85rem;
  color: #777777;
}

.hero-image {
  background: transparent;
  border-radius: 0;
  padding: 0;
  border: none;
  display: block;
  min-height: auto;
  box-shadow: none;
  margin-bottom: 2rem;
  width: 100%;
}

.hero-image-title {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.hero-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.hero-product-card {
  background: #ffffff;
  border-radius: 0.9rem;
  padding: 0.75rem;
  border: 1px solid #ddd;
  font-size: 0.8rem;
}

.hero-product-card span {
  display: block;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.section-header {
  margin-bottom: 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}

.section-header p {
  max-width: 100%;
  font-size: 0.85rem;
  color: #666666;
  line-height: 1.6;
  white-space: nowrap;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
}

.card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.75rem;
  border: 1px solid #e8e8e8;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.card:hover {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
  color: #1a1a1a;
  font-weight: 700;
}

.card p {
  font-size: 0.9rem;
}

.product-image {
  width: 100%;
  height: 250px;
  object-fit: contain;
  border-radius: 0.75rem;
  margin-bottom: 1.25rem;
  border: none;
  background: #f9f9f9;
}

.hero-image .product-image {
  height: 400px;
  object-fit: cover;
  border-radius: 0;
  margin-bottom: 0;
  background: transparent;
}

.scrolling-banner {
  width: 100%;
  height: 400px;
  overflow: hidden;
  position: relative;
  margin-bottom: 2rem;
}

.scrolling-banner-container {
  display: block;
  height: 100%;
  position: relative;
}

.scrolling-banner-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  animation: flipBanner 12s ease-in-out infinite;
}

.scrolling-banner-item:nth-child(2) {
  animation-delay: 4s;
}

.scrolling-banner-item:nth-child(3) {
  animation-delay: 8s;
}

.scrolling-banner-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes flipBanner {
  0% {
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  33% {
    opacity: 1;
  }
  43% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

.price {
  margin-top: 1rem;
  font-size: 1rem;
  color: #d32f2f;
  font-weight: 600;
}

.badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  border: 1px solid #d32f2f;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #d32f2f;
  margin-bottom: 0.6rem;
  background: #ffebee;
}

.story {
  max-width: 40rem;
}

.story p {
  font-size: 1rem;
  line-height: 1.8;
  color: #555555;
}

.quote {
  font-style: italic;
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
  color: #333333;
  line-height: 1.7;
}

.stars {
  color: #f5c451;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.reviewer {
  font-size: 0.9rem;
  color: #888888;
  font-weight: 600;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: flex-start;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin-top: 0.75rem;
}

.table th,
.table td {
  border: 1px solid #ddd;
  padding: 0.5rem 0.75rem;
  text-align: left;
}

.table th {
  background: #f0f7ff;
  font-weight: 600;
  color: #1e4fff;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.pill {
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1px solid #ddd;
  font-size: 0.8rem;
  color: #1e4fff;
  background: #f0f7ff;
}

.list {
  margin-top: 0.5rem;
  padding-left: 1.1rem;
  font-size: 0.9rem;
}

.list li {
  margin-bottom: 0.25rem;
}

footer {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
  font-size: 0.85rem;
  color: #888888;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid #e0e0e0;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.newsletter {
  max-width: 260px;
}

.newsletter input {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  border: 1px solid #ddd;
  background: #ffffff;
  color: var(--white);
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

@media (max-width: 900px) {
  .hero,
  .two-col {
    grid-template-columns: minmax(0, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .grid-3,
  .grid-4 {
    grid-template-columns: minmax(0, 1fr);
  }

  h1 {
    font-size: 2rem;
  }
}
