/* Parcha Gorcha — shared stylesheet. Colors/tokens ported 1:1 from the source design (oklch palette). */

:root {
  --bg: oklch(0.98 0.012 95);
  --text: oklch(0.27 0.02 255);

  --navy-900: oklch(0.22 0.03 250);
  --navy-800: oklch(0.25 0.03 250);
  --navy-700: oklch(0.3 0.05 250);
  --navy-600: oklch(0.32 0.03 250);
  --navy-500: oklch(0.35 0.02 250);

  --muted: oklch(0.5 0.02 250);
  --muted-dark: oklch(0.4 0.02 250);
  --muted-light: oklch(0.55 0.02 250);
  --muted-footer: oklch(0.7 0.01 95);
  --muted-footer-2: oklch(0.6 0.01 95);

  --border: oklch(0.9 0.03 95);
  --border-light: oklch(0.9 0.02 95);
  --border-input: oklch(0.9 0.01 95);
  --divider: oklch(0.94 0.01 95);
  --divider-2: oklch(0.92 0.01 95);

  --blue: oklch(0.65 0.15 240);
  --blue-hover: oklch(0.58 0.15 240);
  --blue-mid: oklch(0.5 0.14 240);
  --blue-price: oklch(0.45 0.14 240);
  --blue-dark: oklch(0.4 0.11 240);
  --blue-soft: oklch(0.9 0.09 240);

  --green: oklch(0.55 0.13 145);
  --green-dark: oklch(0.6 0.13 145);
  --green-badge-bg: oklch(0.9 0.1 145);
  --green-badge-text: oklch(0.32 0.09 145);

  --yellow: oklch(0.85 0.15 95);
  --yellow-hover: oklch(0.8 0.16 95);
  --yellow-badge: oklch(0.85 0.18 95);
  --yellow-text: oklch(0.3 0.05 90);
  --orange: oklch(0.6 0.15 95);

  --red: oklch(0.6 0.15 25);

  --section-bg: oklch(0.95 0.02 95);
  --nav-hover-bg: oklch(0.94 0.04 95);

  --heading: oklch(0.28 0.05 250);
  --heading-2: oklch(0.3 0.04 250);
  --card-title: oklch(0.28 0.04 250);
  --body-copy: oklch(0.32 0.02 250);

  --font-heading: 'Poppins', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Nunito', 'Segoe UI', Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  font-family: var(--font-body);
  color: var(--text);
}

::selection { background: oklch(0.85 0.15 95); }

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

a { color: inherit; }

button { font-family: inherit; }

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

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--text);
  background: var(--bg);
}

/* ===== TOP BAR ===== */
.topbar {
  background: var(--blue-dark);
  color: oklch(0.97 0.01 95);
  font-size: 13px;
  padding: 6px 24px;
  text-align: center;
  font-weight: 600;
  letter-spacing: 0.2px;
}

/* ===== HEADER ===== */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  background: oklch(0.99 0.008 95);
  border-bottom: 2px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
  flex-wrap: wrap;
  gap: 12px;
}

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

.brand__mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, oklch(0.65 0.15 240), oklch(0.75 0.16 145) 55%, oklch(0.85 0.15 95));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  color: white;
  font-size: 18px;
  flex-shrink: 0;
}

.brand__name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 20px;
  color: var(--navy-700);
  line-height: 1;
}

.brand__tagline {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.5px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.nav__link {
  background: none;
  border: none;
  padding: 10px 14px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  color: var(--navy-600);
  cursor: pointer;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
}

.nav__link:hover, .nav__link.is-active {
  background: var(--nav-hover-bg);
}

.cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  color: white;
  border: none;
  padding: 11px 18px;
  border-radius: 999px;
  font-weight: 800;
  font-family: var(--font-heading);
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
}

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

.cart-btn__count {
  background: var(--yellow-badge);
  color: var(--yellow-text);
  border-radius: 999px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
}

.cart-btn__count.is-visible { display: flex; }

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--navy-800);
  color: oklch(0.96 0.01 95);
  padding: 18px 28px;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

.cookie-banner.is-visible { display: flex; }

.cookie-banner__text {
  font-size: 14px;
  max-width: 720px;
  line-height: 1.5;
}

.cookie-banner__text a {
  color: var(--yellow);
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

/* ===== BUTTONS ===== */
.btn {
  font-family: var(--font-heading);
  font-weight: 800;
  cursor: pointer;
  border: none;
  border-radius: 12px;
  padding: 15px 28px;
  font-size: 16px;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

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

.btn-outline {
  background: white;
  color: var(--navy-600);
  border: 2px solid var(--border);
  padding: 13px 26px;
}
.btn-outline:hover { border-color: var(--blue); }

.btn-accent {
  background: var(--yellow);
  color: var(--yellow-text);
  border-radius: 8px;
}
.btn-accent:hover { background: var(--yellow-hover); }

.btn-decline {
  background: transparent;
  border: 1.5px solid oklch(0.6 0.02 250);
  color: oklch(0.9 0.01 95);
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 700;
  font-family: var(--font-body);
}

.btn-accept {
  background: var(--yellow);
  border: none;
  color: var(--yellow-text);
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 800;
  font-family: var(--font-body);
}
.btn-accept:hover { background: var(--yellow-hover); }

.link-btn {
  background: none;
  border: none;
  color: var(--blue-mid);
  font-weight: 700;
  cursor: pointer;
  font-size: 14px;
  padding: 0;
  text-decoration: none;
}

.back-link {
  background: none;
  border: none;
  color: var(--blue-mid);
  font-weight: 700;
  cursor: pointer;
  font-size: 14px;
  padding: 0;
  margin-bottom: 20px;
  display: inline-block;
  text-decoration: none;
}

/* ===== MAIN / SECTIONS ===== */
main { flex: 1; animation: pgFadeIn 0.35s ease; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.container-narrow { max-width: 960px; margin: 0 auto; padding: 0 32px; }
.container-article { max-width: 820px; margin: 0 auto; padding: 0 32px; }
.container-product { max-width: 1100px; margin: 0 auto; padding: 0 32px; }
.container-cart { max-width: 1000px; margin: 0 auto; padding: 0 32px; }

.section { padding: 56px 0; }
.section-tinted { background: var(--section-bg); }
.section-tinted .container { padding-top: 48px; padding-bottom: 48px; }

.page-title {
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 800;
  margin: 0 0 8px;
  color: var(--heading);
}

.page-subtitle {
  font-size: 16px;
  color: var(--muted);
  margin: 0 0 32px;
}

.section-heading {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 800;
  margin: 0;
  color: var(--heading-2);
}

.section-heading-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 26px;
  flex-wrap: wrap;
  gap: 10px;
}

/* ===== HERO ===== */
.hero {
  padding: 64px 32px 48px;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero__tag {
  display: inline-block;
  background: var(--green-badge-bg);
  color: var(--green-badge-text);
  font-weight: 800;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
  font-family: var(--font-heading);
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 52px;
  font-weight: 800;
  line-height: 1.08;
  margin: 0 0 20px;
  color: var(--heading);
}

.hero p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted-dark);
  margin: 0 0 28px;
  max-width: 520px;
}

.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero__stats { display: flex; gap: 32px; margin-top: 40px; flex-wrap: wrap; }
.hero__stat-value { font-family: var(--font-heading); font-weight: 800; font-size: 26px; }
.hero__stat-label { font-size: 13px; color: var(--muted); }

.hero__media {
  border-radius: 24px;
  overflow: hidden;
  height: 420px;
  box-shadow: 0 20px 50px -20px oklch(0.5 0.1 240 / 0.4);
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }

/* ===== FEATURES ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background: white;
  padding: 26px;
  border-radius: 16px;
  text-align: center;
}

.feature-card__icon { font-size: 32px; margin-bottom: 10px; }
.feature-card__title { font-family: var(--font-heading); font-weight: 700; font-size: 16px; margin-bottom: 8px; }
.feature-card__text { font-size: 14px; color: var(--muted); line-height: 1.5; }

/* ===== CARDS: articles & products ===== */
.articles-grid, .products-grid {
  display: grid;
  gap: 24px;
}
.articles-grid { grid-template-columns: repeat(3, 1fr); }
.products-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
.products-grid--shop { grid-template-columns: repeat(var(--shop-cols, 3), 1fr); gap: 22px; }

.article-card, .product-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.article-card__media, .product-card__media {
  height: 170px;
  overflow: hidden;
  background: var(--blue-soft);
}
.article-card__media img, .product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-card__body { padding: 18px; }
.article-card__cat {
  font-size: 11px;
  font-weight: 800;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.article-card__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.3;
  margin-bottom: 8px;
  color: var(--card-title);
}
.article-card__excerpt { font-size: 14px; color: var(--muted); line-height: 1.5; }

.product-card__body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.product-card__cat {
  font-size: 11px;
  font-weight: 800;
  color: var(--blue-mid);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.product-card__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14.5px;
  color: var(--card-title);
  line-height: 1.3;
  text-decoration: none;
}
.product-card__price {
  font-weight: 800;
  font-size: 16px;
  color: var(--blue-price);
  margin-top: auto;
}
.product-card__cta {
  background: var(--yellow);
  border: none;
  padding: 9px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  color: var(--yellow-text);
  width: 100%;
}
.product-card__cta:hover { background: var(--yellow-hover); }

/* ===== FILTER PILLS ===== */
.filter-row { display: flex; gap: 10px; margin-bottom: 32px; flex-wrap: wrap; }
.filter-pill {
  padding: 10px 18px;
  border-radius: 999px;
  border: none;
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
  font-family: var(--font-body);
  background: white;
  color: var(--muted-dark);
}
.filter-pill.is-active.filter-pill--blog { background: var(--green); color: white; }
.filter-pill.is-active.filter-pill--shop { background: var(--blue); color: white; }

/* ===== NEWSLETTER ===== */
.newsletter {
  background: var(--blue-dark);
  padding: 56px 32px;
}
.newsletter__inner { max-width: 900px; margin: 0 auto; text-align: center; }
.newsletter h2 { font-family: var(--font-heading); font-size: 26px; font-weight: 800; color: white; margin: 0 0 12px; }
.newsletter p { color: oklch(0.9 0.02 240); font-size: 15px; margin: 0 0 24px; }
.newsletter__form { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.newsletter__form input {
  padding: 14px 18px;
  border-radius: 10px;
  border: none;
  font-size: 15px;
  width: 280px;
  font-family: var(--font-body);
}
.newsletter__success { margin-top: 14px; color: var(--yellow); font-weight: 700; }

/* ===== ARTICLE DETAIL ===== */
.article-detail { padding: 48px 32px 80px; }
.article-detail__cat {
  font-size: 12px;
  font-weight: 800;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}
.article-detail h1 {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 20px;
  color: oklch(0.27 0.05 250);
}
.article-detail__media {
  height: 340px;
  border-radius: 16px;
  margin-bottom: 28px;
  overflow: hidden;
  background: var(--blue-soft);
}
.article-detail__media img { width: 100%; height: 100%; object-fit: cover; }
.article-detail p.body-text {
  font-size: 17px;
  line-height: 1.75;
  color: var(--body-copy);
  margin: 0 0 20px;
}
.article-detail__tags {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.tag-pill {
  background: var(--nav-hover-bg);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: oklch(0.4 0.03 95);
}

/* ===== PRODUCT DETAIL ===== */
.product-detail { padding: 48px 32px 80px; }
.product-detail__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.product-detail__media { height: 420px; border-radius: 20px; overflow: hidden; background: var(--blue-soft); }
.product-detail__media img { width: 100%; height: 100%; object-fit: cover; }
.product-detail__cat {
  font-size: 12px;
  font-weight: 800;
  color: var(--blue-mid);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}
.product-detail h1 {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 800;
  margin: 0 0 14px;
  color: oklch(0.27 0.05 250);
}
.product-detail__price {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  color: var(--blue-price);
  margin-bottom: 20px;
}
.product-detail__desc { font-size: 16px; line-height: 1.7; color: var(--muted-light); margin: 0 0 22px; }
.product-detail__details { margin-bottom: 26px; }
.product-detail__detail-item {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-bottom: 8px;
  font-size: 14.5px;
  color: var(--muted-dark);
}
.product-detail__detail-item span { color: var(--green-dark); }
.product-detail__note { margin-top: 18px; font-size: 13px; color: var(--muted); }

/* ===== CART ===== */
.cart-page { padding: 48px 32px 80px; }
.cart-page h1 { font-family: var(--font-heading); font-size: 34px; font-weight: 800; margin: 0 0 28px; color: var(--heading); }

.cart-panel { background: white; border-radius: 16px; padding: 48px; text-align: center; }
.cart-panel--empty { padding: 60px; }
.cart-panel__icon { font-size: 48px; margin-bottom: 14px; }
.cart-panel--empty .cart-panel__icon { font-size: 44px; }
.cart-panel__title { font-family: var(--font-heading); font-weight: 800; font-size: 22px; margin-bottom: 10px; color: var(--card-title); }
.cart-panel--empty .cart-panel__title { font-weight: 700; font-size: 19px; }
.cart-panel__text { font-size: 15px; color: var(--muted); margin-bottom: 24px; }

.cart-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px; align-items: start; }
.cart-items { background: white; border-radius: 16px; overflow: hidden; }
.cart-item {
  display: flex;
  gap: 16px;
  padding: 18px;
  border-bottom: 1px solid var(--divider);
  align-items: center;
  flex-wrap: wrap;
}
.cart-item__media {
  width: 76px;
  height: 76px;
  border-radius: 10px;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--blue-soft);
}
.cart-item__media img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__info { flex: 1; min-width: 140px; }
.cart-item__title { font-family: var(--font-heading); font-weight: 700; font-size: 15px; margin-bottom: 4px; color: var(--card-title); }
.cart-item__unit { font-size: 14px; color: var(--muted); }
.cart-item__qty {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--section-bg);
  border-radius: 8px;
  padding: 6px 10px;
}
.cart-item__qty button { background: none; border: none; font-weight: 800; font-size: 16px; cursor: pointer; width: 20px; }
.cart-item__qty span { font-weight: 700; min-width: 16px; text-align: center; }
.cart-item__subtotal { font-weight: 800; width: 90px; text-align: right; color: var(--muted-dark); }
.cart-item__remove { background: none; border: none; color: var(--red); cursor: pointer; font-size: 18px; }

.cart-summary { background: white; border-radius: 16px; padding: 24px; }
.cart-summary__title { font-family: var(--font-heading); font-weight: 800; font-size: 18px; margin-bottom: 18px; }
.cart-summary__row { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 14.5px; color: var(--muted); }
.cart-summary__total {
  display: flex;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--divider-2);
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 20px;
}
.cart-summary__note { font-size: 12px; color: oklch(0.55 0.02 250); margin-top: 12px; line-height: 1.5; }
.cart-summary__note a { color: var(--blue-mid); }

/* ===== FORMS ===== */
.form-input, .form-textarea {
  width: 100%;
  padding: 13px;
  margin-bottom: 12px;
  border-radius: 8px;
  border: 1.5px solid var(--border-input);
  font-size: 14px;
  font-family: var(--font-body);
  background: white;
  color: var(--text);
}
.form-textarea { resize: vertical; }
.cart-summary .form-input { padding: 12px; }

.form-success { margin-top: 14px; color: var(--green-dark); font-weight: 700; }

/* ===== ABOUT ===== */
.about-media { height: 320px; border-radius: 18px; margin-bottom: 30px; overflow: hidden; background: var(--blue-soft); }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
.about-stat { background: white; padding: 24px; border-radius: 14px; text-align: center; }
.about-stat__value { font-family: var(--font-heading); font-weight: 800; font-size: 24px; }
.about-stat__label { font-size: 13px; color: var(--muted); margin-top: 6px; }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-card {
  background: white;
  border-radius: 16px;
  padding: 28px;
  font-size: 15px;
  line-height: 2;
}
.contact-card__title { font-family: var(--font-heading); font-weight: 800; font-size: 17px; margin-bottom: 14px; }
.contact-card__legal { margin-top: 14px; color: var(--muted); font-size: 13.5px; }

/* ===== LEGAL PAGES ===== */
.legal-content { font-size: 15.5px; line-height: 1.8; color: var(--body-copy); }
.legal-content h3 { font-family: var(--font-heading); color: var(--heading-2); }
.legal-box {
  font-size: 15.5px;
  line-height: 2;
  color: var(--body-copy);
  background: white;
  padding: 28px;
  border-radius: 16px;
}

/* ===== FOOTER ===== */
.site-footer { background: var(--navy-900); color: oklch(0.85 0.01 95); padding: 48px 32px 24px; margin-top: 24px; }
.site-footer__grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
}
.site-footer__brand { font-family: var(--font-heading); font-weight: 800; font-size: 19px; color: white; margin-bottom: 10px; }
.site-footer__desc { font-size: 13.5px; line-height: 1.7; color: var(--muted-footer); }
.site-footer__heading { font-weight: 800; color: white; margin-bottom: 12px; font-size: 14px; }
.site-footer__links { display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; }
.site-footer__links a { color: var(--muted-footer); text-decoration: none; }
.site-footer__links a:hover { color: white; }
.site-footer__contact { font-size: 13.5px; line-height: 1.8; color: var(--muted-footer); }
.site-footer__bottom {
  max-width: 1280px;
  margin: 32px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--navy-600);
  font-size: 12.5px;
  color: var(--muted-footer-2);
  text-align: center;
}

/* ===== 404 ===== */
.notfound { padding: 100px 32px; text-align: center; }
.notfound__code { font-family: var(--font-heading); font-size: 96px; font-weight: 800; color: var(--blue); margin: 0; }
.notfound__title { font-family: var(--font-heading); font-size: 24px; font-weight: 800; color: var(--heading); margin: 10px 0 18px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding: 40px 24px 32px; }
  .hero__media { height: 300px; }
  .hero h1 { font-size: 38px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid--shop { grid-template-columns: repeat(2, 1fr) !important; }
  .product-detail__grid { grid-template-columns: 1fr; }
  .cart-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .site-header { padding: 14px 16px; }
  .nav { gap: 0; }
  .nav__link { padding: 8px 10px; font-size: 14px; }
  .container, .container-narrow, .container-article, .container-product, .container-cart { padding: 0 18px; }
  .hero { padding: 32px 18px 24px; }
  .hero h1 { font-size: 30px; }
  .features-grid, .articles-grid, .products-grid, .products-grid--shop { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .cart-item { flex-wrap: wrap; }
  .cart-item__subtotal { text-align: left; width: auto; }
}
