/* GreenLeaf Slim — Main Stylesheet */
/* Colors: primary #2d8c4e, light #e8f5e9, dark #1a3c28, text #333, white #fff */

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

:root {
  --primary: #2d8c4e;
  --primary-dark: #236e3e;
  --primary-light: #e8f5e9;
  --dark: #1a3c28;
  --text: #333333;
  --text-muted: #666666;
  --white: #ffffff;
  --border: #d4e8d8;
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  --radius: 12px;
  --font: "Nunito", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-size: 16px;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

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

a {
  color: var(--primary);
  text-decoration: none;
}
a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

address {
  font-style: normal;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover {
  text-decoration: none;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
}
.btn-dark {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}
.btn-dark:hover {
  background: #0f2418;
  border-color: #0f2418;
  color: var(--white);
}
.btn-lg {
  padding: 16px 36px;
  font-size: 17px;
}
.btn-sm {
  padding: 8px 16px;
  font-size: 14px;
}
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s;
}
.site-header.scrolled {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 22px;
  font-weight: 800;
  color: var(--dark);
  text-decoration: none;
}
.logo:hover {
  color: var(--primary);
  text-decoration: none;
}
.logo-leaf {
  font-size: 26px;
}
.logo-text strong {
  color: var(--primary);
}

.main-nav {
  display: flex;
  gap: 8px;
}
.main-nav a {
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 600;
  color: var(--text);
  transition:
    background 0.2s,
    color 0.2s;
  text-decoration: none;
}
.main-nav a:hover,
.main-nav a.active {
  background: var(--primary-light);
  color: var(--primary);
  text-decoration: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cart-icon {
  position: relative;
  display: flex;
  align-items: center;
  color: var(--text);
  transition: color 0.2s;
  text-decoration: none;
}
.cart-icon:hover {
  color: var(--primary);
  text-decoration: none;
}
.cart-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--primary);
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: 0.2s;
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
  color: var(--white);
  padding: 80px 0;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.hero h1 {
  font-size: 46px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 32px;
}
.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-img {
  border-radius: var(--radius);
  height: 380px;
  overflow: hidden;
}
.hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

/* ===== SECTIONS ===== */
.section {
  padding: 72px 0;
}
.section-light {
  background: var(--primary-light);
}
.section-title {
  text-align: center;
  margin-bottom: 48px;
}
.section-title h2 {
  font-size: 36px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
}
.section-title p {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

/* ===== CATEGORIES ===== */
.cats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.cat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  text-decoration: none;
  color: var(--text);
  display: block;
}
.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  text-decoration: none;
  color: var(--primary);
}
.cat-img {
  width: 100%;
  height: 140px;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 16px;
}
.cat-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.cat-card:hover .cat-img img {
  transform: scale(1.05);
}
.cat-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
}

/* ===== PRODUCT GRID ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.product-img {
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-light) 0%, #c8e6c9 100%);
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  padding: 16px;
  gap: 12px;
}
.product-img-placeholder span {
  font-size: 48px;
}

.product-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-cat {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  margin-bottom: 8px;
}
.product-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
  line-height: 1.3;
}
.product-short {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
  flex: 1;
}
.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}
.product-price {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
}

/* ===== PRODUCT DETAIL ===== */
.product-detail {
  padding: 56px 0;
}
.product-detail-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.product-detail-img {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--primary-light);
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-detail-img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}
.product-detail-info h1 {
  font-size: 32px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
}
.product-detail-price {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 20px;
}
.product-detail-desc {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.7;
}

/* ===== CART ===== */
.cart-table {
  width: 100%;
  border-collapse: collapse;
}
.cart-table th,
.cart-table td {
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.cart-table th {
  font-weight: 700;
  color: var(--text-muted);
  font-size: 13px;
  text-transform: uppercase;
}
.cart-img-cell {
  width: 80px;
}
.cart-img-cell img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  border-top: 2px solid var(--border);
  margin-top: 16px;
}
.cart-total-label {
  font-size: 20px;
  font-weight: 700;
}
.cart-total-price {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
}

.qty-control {
  display: flex;
  align-items: center;
  gap: 8px;
}
.qty-control input {
  width: 56px;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px;
  font-family: var(--font);
  font-size: 15px;
}
.qty-btn {
  width: 32px;
  height: 32px;
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 6px;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.qty-btn:hover {
  background: var(--primary-light);
}

.remove-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #c0392b;
  font-size: 20px;
  padding: 4px;
  transition: opacity 0.15s;
}
.remove-btn:hover {
  opacity: 0.7;
}

/* ===== CHECKOUT ===== */
.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 40px;
  align-items: start;
}
.form-group {
  margin-bottom: 20px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 14px;
  color: var(--text);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  font-family: var(--font);
  font-size: 15px;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.15s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}
.form-group input::placeholder {
  color: #aaa;
}
.required {
  color: #c0392b;
}

.order-summary {
  background: var(--primary-light);
  border-radius: var(--radius);
  padding: 28px;
  position: sticky;
  top: 90px;
}
.order-summary h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 20px;
}
.order-item {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.order-total {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
}

/* ===== SUCCESS PAGE ===== */
.success-page {
  text-align: center;
  padding: 80px 0;
}
.success-icon {
  font-size: 80px;
  margin-bottom: 24px;
}
.success-page h1 {
  font-size: 36px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 16px;
}
.success-page p {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto 32px;
}

/* ===== ABOUT / INFO PAGES ===== */
.info-hero {
  background: var(--primary-light);
  padding: 56px 0;
  text-align: center;
}
.info-hero h1 {
  font-size: 40px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
}
.info-hero p {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.info-content {
  padding: 56px 0;
}
.info-content h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--dark);
  margin: 36px 0 16px;
}
.info-content h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  margin: 24px 0 12px;
}
.info-content p {
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.75;
}
.info-content ul,
.info-content ol {
  margin: 0 0 16px 24px;
  color: var(--text-muted);
  line-height: 2;
}
.info-content strong {
  color: var(--text);
}
.info-content a {
  color: var(--primary);
}
.info-content a:hover {
  color: var(--primary-dark);
}

.prose-narrow {
  max-width: 780px;
  margin: 0 auto;
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  padding: 56px 0;
}
.contact-info h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 24px;
}
.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}
.contact-icon {
  font-size: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-item strong {
  display: block;
  font-weight: 700;
  margin-bottom: 4px;
}
.contact-item a {
  color: var(--primary);
}
.contact-form {
  background: var(--primary-light);
  border-radius: var(--radius);
  padding: 36px;
}
.contact-form h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 24px;
}

/* ===== REVIEWS ===== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.review-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.review-stars {
  color: #f39c12;
  font-size: 20px;
  margin-bottom: 12px;
}
.review-text {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.7;
  font-style: italic;
}
.review-author strong {
  font-weight: 700;
  color: var(--dark);
}
.review-author span {
  font-size: 13px;
  color: var(--text-muted);
}

/* ===== USP FEATURES ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.feature-card {
  text-align: center;
  padding: 28px 20px;
}
.feature-icon {
  font-size: 44px;
  margin-bottom: 16px;
}
.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
}

/* ===== SHOP FILTERS ===== */
.shop-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 36px;
  padding: 48px 0;
}
.shop-sidebar {
  position: sticky;
  top: 90px;
}
.filter-box {
  background: var(--primary-light);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
}
.filter-box h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
}
.filter-list {
  list-style: none;
}
.filter-list li {
  margin-bottom: 8px;
}
.filter-list a {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  transition:
    background 0.15s,
    color 0.15s;
  text-decoration: none;
}
.filter-list a:hover,
.filter-list a.active {
  background: var(--primary);
  color: var(--white);
  text-decoration: none;
}
.filter-list a .count {
  float: right;
  opacity: 0.6;
}

.shop-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}
.shop-header h1 {
  font-size: 28px;
  font-weight: 800;
  color: var(--dark);
}
.shop-count {
  color: var(--text-muted);
  font-size: 14px;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  padding: 16px 0;
  font-size: 14px;
  color: var(--text-muted);
}
.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
}
.breadcrumb a:hover {
  color: var(--primary);
}
.breadcrumb span {
  margin: 0 8px;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 56px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-desc {
  font-size: 14px;
  line-height: 1.7;
}
.footer-col h4 {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-col ul {
  list-style: none;
}
.footer-col ul li {
  margin-bottom: 8px;
}
.footer-col ul a,
.footer-col address a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.15s;
}
.footer-col ul a:hover,
.footer-col address a:hover {
  color: var(--white);
  text-decoration: none;
}
.footer-col address p {
  font-size: 14px;
  margin-bottom: 6px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  opacity: 0.6;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom a {
  color: inherit;
  text-decoration: none;
}
.footer-bottom a:hover {
  color: var(--white);
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--white);
  border-top: 2px solid var(--primary);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.12);
  padding: 24px 0;
  display: flex;
  justify-content: center;
}
.cookie-banner-inner {
  max-width: 1200px;
  width: 100%;
  padding: 0 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}
.cookie-text h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 8px;
}
.cookie-text p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 12px;
  max-width: 620px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cookie-cat {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  cursor: pointer;
}
.cookie-cat input {
  cursor: pointer;
}
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex-shrink: 0;
}

/* Both accept/reject buttons same size and style */
.cookie-actions .btn {
  min-width: 140px;
}
.cookie-actions .btn-primary,
.cookie-actions .btn-outline {
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 700;
}

/* ===== FLASH MESSAGE ===== */
.flash-msg {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: var(--primary);
  color: var(--white);
  padding: 14px 24px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.3s,
    transform 0.3s;
  z-index: 1000;
}
.flash-msg.show {
  opacity: 1;
  transform: translateY(0);
}

/* ===== NOTICES ===== */
.notice {
  padding: 16px 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 15px;
}
.notice-success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}
.notice-error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}
.notice-info {
  background: var(--primary-light);
  color: var(--dark);
  border: 1px solid var(--border);
}

/* ===== PAGE HEADER ===== */
.page-header {
  background: var(--primary-light);
  padding: 40px 0;
  margin-bottom: 0;
}
.page-header h1 {
  font-size: 36px;
  font-weight: 800;
  color: var(--dark);
}

/* ===== EMPTY STATE ===== */
.empty-state {
  text-align: center;
  padding: 80px 20px;
}
.empty-state .empty-icon {
  font-size: 64px;
  margin-bottom: 20px;
}
.empty-state h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
}
.empty-state p {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 28px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .cats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .shop-layout {
    grid-template-columns: 200px 1fr;
  }
}

@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-img {
    display: none;
  }
  .hero h1 {
    font-size: 32px;
  }
  .product-detail-inner {
    grid-template-columns: 1fr;
  }
  .checkout-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .shop-layout {
    grid-template-columns: 1fr;
  }
  .shop-sidebar {
    position: static;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .main-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 16px;
  }
  .main-nav.open {
    display: flex;
  }
  .burger {
    display: flex;
  }
  .cart-table {
    font-size: 14px;
  }
  .cookie-banner-inner {
    flex-direction: column;
  }
  .cookie-actions {
    width: 100%;
  }
  .cookie-actions .btn {
    flex: 1;
  }
  .cats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 48px 0;
  }
  .section {
    padding: 48px 0;
  }
  .cats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .products-grid {
    grid-template-columns: 1fr;
  }
}
