* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background: #ffffff;
  color: #1a1a1a;
  line-height: 1.4;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.topbar {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #eef0f2;
  z-index: 100;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.brand-mark {
  background: #1a2e2a;
  color: white;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
}

.brand-text {
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: -0.2px;
  color: #1a1a1a;
}

.desktop-nav {
  display: flex;
  gap: 32px;
}

.desktop-nav a {
  text-decoration: none;
  color: #2c2c2c;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.desktop-nav a:hover {
  color: #2f6b47;
}

.desktop-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

.cart-btn {
  background: #f0f2f3;
  border: none;
  padding: 8px 18px;
  border-radius: 40px;
  font-weight: 500;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s;
  font-family: inherit;
}

.cart-btn:hover {
  background: #e4e7e9;
}

.cart-count {
  background: #1e3b34;
  color: white;
  border-radius: 40px;
  padding: 2px 8px;
  font-size: 0.7rem;
  font-weight: 600;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: #1a1a1a;
  border-radius: 2px;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  background: white;
  padding: 20px 24px 28px;
  border-top: 1px solid #eef0f2;
}

.mobile-nav a {
  padding: 12px 0;
  text-decoration: none;
  color: #1a1a1a;
  font-weight: 500;
  border-bottom: 1px solid #f0f0f0;
}

.mobile-cart {
  margin-top: 16px;
  justify-content: center;
}

.mobile-nav.show {
  display: flex;
}

.menu-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.menu-toggle span {
  transition:
    transform 0.22s ease,
    opacity 0.22s ease;
}

.hero {
  padding: 64px 0 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 1px;
  font-weight: 600;
  color: #5c6e63;
  margin-bottom: 16px;
}

h1 {
  font-size: 3rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -1px;
  margin-bottom: 24px;
  color: #141414;
}

.hero-text {
  color: #4b4b4b;
  margin-bottom: 32px;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.primary-btn {
  background: #1e3b34;
  color: white;
  padding: 10px 24px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: background 0.2s;
  display: inline-block;
  border: none;
  cursor: pointer;
}

.primary-btn:hover {
  background: #12312a;
}

.secondary-btn {
  background: transparent;
  color: #1e3b34;
  padding: 10px 24px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 500;
  border: 1px solid #cddad3;
  transition: all 0.2s;
}

.secondary-btn:hover {
  border-color: #1e3b34;
  background: #f8faf9;
}

.hero-points {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.point strong {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}

.point span {
  font-size: 0.85rem;
  color: #5a5a5a;
}

.hero-showcase {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.showcase-card {
  background: #f6f8f7;
  border-radius: 28px;
  padding: 28px;
}

.large-card {
  background: #eef3f0;
}

.showcase-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #4e6b5f;
}

.showcase-card h2 {
  font-size: 1.5rem;
  margin: 12px 0 8px;
  font-weight: 500;
}

.showcase-card p {
  color: #4f5e57;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.showcase-meta {
  display: flex;
  gap: 20px;
  font-size: 0.8rem;
  color: #2d4a3f;
  font-weight: 500;
}

.showcase-stack {
  display: flex;
  gap: 20px;
}

.small-card {
  flex: 1;
  padding: 20px;
}

.small-card h3 {
  font-size: 1.2rem;
  font-weight: 500;
  margin-top: 8px;
}

.category-strip {
  padding: 16px 0 32px;
  border-bottom: 1px solid #edf0ef;
}

.category-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.category-pill {
  background: #f2f4f3;
  border: none;
  padding: 8px 20px;
  border-radius: 60px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.category-pill.active {
  background: #1e3b34;
  color: white;
}

.products-section {
  padding: 64px 0 80px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 20px;
}

.section-heading h2 {
  font-size: 1.8rem;
  font-weight: 500;
  letter-spacing: -0.3px;
}

.section-note {
  color: #6b6b6b;
  font-size: 0.9rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.product-card {
  background: white;
  border-radius: 24px;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-4px);
}

.product-visual {
  background: #f5f7f6;
  border-radius: 24px;
  height: 300px;
  position: relative;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-image {
  width: 85%;
  height: 85%;
  object-fit: contain;
  display: block;
}

.product-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(30, 59, 52, 0.95);
  color: white;
  font-size: 0.7rem;
  padding: 4px 12px;
  border-radius: 30px;
  font-weight: 500;
  z-index: 2;
}

.product-info {
  padding: 4px 8px 12px;
}

.product-topline {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  margin-bottom: 8px;
}

.product-topline h3 {
  font-size: 1rem;
  font-weight: 600;
}

.product-topline span {
  font-weight: 700;
  color: #1e3b34;
}

.product-info p {
  font-size: 0.85rem;
  color: #6b6b6b;
  margin-bottom: 16px;
  line-height: 1.4;
}

.product-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-tag {
  font-size: 0.7rem;
  background: #f0f2f0;
  padding: 4px 12px;
  border-radius: 30px;
  text-transform: capitalize;
}

.add-btn {
  background: none;
  border: 1px solid #dce3df;
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.add-btn:hover {
  background: #1e3b34;
  border-color: #1e3b34;
  color: white;
}

.value-section {
  background: #fafcfb;
  padding: 80px 0;
  border-top: 1px solid #edf2ef;
}

.value-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}

.value-copy h2 {
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 20px;
  letter-spacing: -0.3px;
}

.value-cards {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.value-card {
  background: white;
  padding: 24px;
  border-radius: 24px;
  border: 1px solid #eef2ef;
}

.value-card h3 {
  font-weight: 600;
  margin-bottom: 8px;
}

.newsletter-section {
  padding: 80px 0;
}

.newsletter-box {
  background: #f2f6f4;
  padding: 56px 48px;
  border-radius: 48px;
  text-align: center;
}

.newsletter-box h2 {
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 12px;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 460px;
  margin: 32px auto 0;
  flex-wrap: wrap;
  justify-content: center;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 20px;
  border-radius: 60px;
  border: 1px solid #dbe6e0;
  font-family: inherit;
  background: white;
  outline: none;
  min-width: 200px;
}

.newsletter-form input:focus {
  border-color: #1e3b34;
}

.footer {
  border-top: 1px solid #edf2ef;
  padding: 48px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-brand {
  margin-bottom: 12px;
}

.footer-copy {
  font-size: 0.8rem;
  color: #6b6b6b;
  max-width: 280px;
}

.footer-links {
  display: flex;
  gap: 32px;
}

.footer-links a {
  text-decoration: none;
  color: #2c2c2c;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #1e3b34;
}

.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) scale(0.9);
  background: #1e3b34;
  color: white;
  padding: 12px 24px;
  border-radius: 60px;
  font-size: 0.85rem;
  opacity: 0;
  transition:
    opacity 0.2s,
    transform 0.2s;
  pointer-events: none;
  z-index: 200;
  white-space: nowrap;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

body.cart-open {
  overflow: hidden;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 450;
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease;
}

.cart-drawer.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.cart-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 20, 18, 0.48);
}

.cart-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(420px, 100%);
  height: 100%;
  background: #ffffff;
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.28s ease;
}

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

.cart-drawer__header,
.cart-drawer__footer {
  padding: 22px 22px;
  border-bottom: 1px solid #edf2ef;
}

.cart-drawer__footer {
  border-bottom: 0;
  border-top: 1px solid #edf2ef;
  margin-top: auto;
}

.cart-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cart-drawer__header h2 {
  font-size: 1.2rem;
  font-weight: 600;
}

.cart-drawer__close {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: #f2f5f3;
  font-size: 1.45rem;
  cursor: pointer;
}

.cart-drawer__body {
  padding: 18px 22px 22px;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  border: 1px solid #edf2ef;
  border-radius: 20px;
  background: #fafcfb;
}

.cart-item h3 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.cart-item p,
.cart-empty,
.cart-drawer__summary span {
  color: #647169;
  font-size: 0.9rem;
}

.cart-remove-btn {
  border: 1px solid #dce4df;
  background: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
}

.cart-drawer__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.cart-drawer__summary strong {
  font-size: 1rem;
}

.cart-drawer__checkout {
  width: 100%;
}

@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

@media (max-width: 800px) {
  .hero-grid,
  .value-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .desktop-nav,
  .desktop-actions {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .topbar-inner {
    height: 64px;
  }
  h1 {
    font-size: 2.3rem;
  }
  .newsletter-box {
    padding: 40px 24px;
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .product-visual {
    height: 240px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  .products-grid {
    gap: 16px;
  }
  .product-visual {
    height: 200px;
  }
  .product-topline h3 {
    font-size: 0.9rem;
  }
  .product-info p {
    font-size: 0.75rem;
  }
  .toast {
    white-space: nowrap;
    font-size: 0.75rem;
    padding: 10px 20px;
  }
}

body.modal-open {
  overflow: hidden;
}

.product-card:focus-visible {
  outline: 2px solid #1e3b34;
  outline-offset: 6px;
}

.product-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease;
  z-index: 500;
}

.product-modal.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.product-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 20, 18, 0.58);
}

.product-modal__dialog {
  position: relative;
  width: min(960px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  background: #ffffff;
  border-radius: 32px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.18);
}

.product-modal__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.product-modal__media {
  background: #f5f7f6;
  padding: 32px;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-modal__image {
  width: 100%;
  max-width: 380px;
  height: auto;
  object-fit: contain;
}

.product-modal__details {
  padding: 40px 36px;
}

.product-modal__eyebrow {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.75rem;
  color: #5c6e63;
  font-weight: 600;
  margin-bottom: 14px;
}

.product-modal__details h3 {
  font-size: 2rem;
  line-height: 1.15;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.6px;
}

.product-modal__price {
  color: #1e3b34;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.product-modal__desc {
  color: #505050;
  line-height: 1.6;
  margin-bottom: 24px;
}

.product-modal__meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.product-modal__meta div {
  background: #f7f9f8;
  border: 1px solid #edf1ee;
  border-radius: 20px;
  padding: 16px;
}

.product-modal__meta span,
.product-modal__sizes > span {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #66766d;
  margin-bottom: 8px;
  font-weight: 600;
}

.product-modal__meta strong {
  font-size: 0.95rem;
  color: #1a1a1a;
}

.product-modal__size-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.product-modal__size-list button {
  min-width: 48px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid #dce4df;
  background: #fff;
  font-family: inherit;
  font-weight: 600;
}

.product-modal__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.product-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: #1a1a1a;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

@media (max-width: 800px) {
  .product-modal {
    padding: 16px;
  }

  .product-modal__content {
    grid-template-columns: 1fr;
  }

  .product-modal__media {
    min-height: 300px;
    padding: 28px 24px 12px;
  }

  .product-modal__details {
    padding: 28px 24px 24px;
  }

  .product-modal__details h3 {
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  .cart-drawer__panel {
    width: 100%;
  }

  .cart-drawer__header,
  .cart-drawer__body,
  .cart-drawer__footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .product-modal__meta {
    grid-template-columns: 1fr;
  }

  .product-modal__actions {
    flex-direction: column;
  }

  .product-modal__actions .primary-btn,
  .product-modal__actions .secondary-btn {
    width: 100%;
    text-align: center;
  }
}
