@font-face {
  font-family: Karla;
  src: url("/assets/fonts/Karla/Karla-VariableFont_wght.ttf") format("truetype");
  font-weight: 300 800;
}

:root {
  --primary-color: #14452f;
  --secondary-color: #f7c948;
  --accent-color: #e95d2a;
  --ink: #172018;
  --muted: #647067;
  --surface: #f7f8f2;
  --line: #dfe7d8;
  --bright-orange: #e95d2a;
  --orange-gradient-start: #f7c948;
  --orange-gradient-end: #e95d2a;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Karla, Arial, sans-serif;
  color: var(--ink);
  background: #fffdf8;
}
a { color: var(--primary-color); text-decoration: none; }
a:hover { color: var(--accent-color); }
.container { max-width: 1180px; }
.btn { border-radius: 6px; font-weight: 750; }
.btn-primary, .btn-orange {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
}
.btn-primary:hover, .btn-orange:hover {
  background: #0d3321;
  border-color: #0d3321;
  color: #fff;
}
.btn-primary:focus,
.btn-primary:active,
.btn-orange:focus,
.btn-orange:active {
  background: #0d3321;
  border-color: #0d3321;
  color: #fff;
}
.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
}
.btn-outline-primary:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.top-bar { display: none; }
.top-bar-content, .social-links, .hero-actions, .delivery-strip, .footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 14px;
}
.top-bar-content { justify-content: space-between; }
.language-selector select {
  width: 70px;
  border: 0;
  background: rgba(255,255,255,.12);
  color: #fff;
}
.social-links img { filter: brightness(0) invert(1); opacity: .88; }
.navbar {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}
.navbar-brand .logo { max-height: 44px; }
.navbar-nav { align-items: center; gap: 8px; }
.nav-link { color: var(--ink); font-weight: 750; }
.shop-link {
  background: #eef6e9;
  border-radius: 6px;
  padding: 9px 13px !important;
}
.cart-icon {
  position: relative;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  min-width: 21px;
  height: 21px;
  border-radius: 50%;
  background: var(--accent-color);
  color: #fff;
  font-size: 12px;
  display: grid;
  place-items: center;
}
.navbar-toggler { border: 0; }
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--ink);
  margin: 6px 0;
}
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1050;
  background: var(--primary-color);
  color: #fff;
  transform: translateX(100%);
  transition: transform .25s ease;
  padding: 22px;
}
.mobile-menu.active { transform: translateX(0); }
.mobile-menu-header { display: flex; justify-content: space-between; align-items: center; }
.mobile-menu-close { background: transparent; border: 0; color: #fff; }
.mobile-nav { list-style: none; margin: 28px 0 0; padding: 0; }
.mobile-nav a { color: #fff; display: block; padding: 14px 0; font-size: 22px; font-weight: 750; }

.solo-hero {
  padding: 72px 0 52px;
  background:
    linear-gradient(115deg, rgba(20,69,47,.94), rgba(20,69,47,.72)),
    url("https://images.unsplash.com/photo-1542838132-92c53300491e?auto=format&fit=crop&w=1600&q=80") center/cover;
  color: #fff;
}
.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--secondary-color);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0;
}
.solo-hero h1, .contact-hero h1 {
  max-width: 780px;
  font-size: clamp(42px, 6vw, 74px);
  line-height: .95;
  font-weight: 800;
  margin-bottom: 20px;
}
.hero-copy {
  color: rgba(255,255,255,.88);
  font-size: 19px;
  line-height: 1.55;
  max-width: 660px;
}
.delivery-strip {
  flex-wrap: wrap;
  margin-top: 28px;
  color: #fff;
}
.delivery-strip span {
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.1);
  padding: 9px 12px;
  border-radius: 6px;
}
.grocery-basket-visual {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 14px;
}
.basket-card {
  min-height: 150px;
  background: rgba(255,255,255,.95);
  color: var(--ink);
  border-radius: 8px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid rgba(255,255,255,.35);
}
.basket-card-large { grid-row: span 2; min-height: 314px; }
.product-icon { font-size: 38px; color: var(--accent-color); margin-bottom: auto; }
.basket-card strong { font-size: 22px; color: var(--primary-color); }
.basket-card small { color: var(--muted); font-size: 15px; }

.category-band, .how-it-works, .contact-section { padding: 56px 0; }
.category-band { background: var(--surface); }
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 24px;
}
.section-heading h2, .section-title, .shop-cta h2, .content-panel h2 {
  color: var(--primary-color);
  font-weight: 800;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.category-tile {
  min-height: 128px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-weight: 800;
}
.category-tile i { color: var(--accent-color); font-size: 28px; }
.step-box, .content-panel, .company-card, .contact-form-wrapper {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  height: 100%;
}
.step-box span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: var(--secondary-color);
  border-radius: 50%;
  color: var(--primary-color);
  font-weight: 800;
  margin-bottom: 18px;
}
.step-box h3 { color: var(--primary-color); font-weight: 800; font-size: 22px; }
.shop-cta {
  padding: 56px 0;
  background: var(--primary-color);
}
.shop-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #fff;
}
.shop-cta h2 { color: #fff; }
.shop-cta p { margin: 0; color: rgba(255,255,255,.82); }

.shop-page h1 {
  color: var(--primary-color);
  font-weight: 800;
  font-size: clamp(34px, 4vw, 52px);
  margin-top: 18px;
}
.shop-intro {
  color: var(--muted);
  max-width: 560px;
  margin: 8px auto 6px;
  font-size: 18px;
}
.shop-page .breadcrumb {
  margin-bottom: 0;
  font-size: 15px;
}
#products-container {
  --bs-gutter-x: 18px;
  --bs-gutter-y: 18px;
}
.product-card {
  border: 1px solid var(--line) !important;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(20,69,47,.06);
  background: #fff;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.product-card:hover {
  border-color: #cbdccb !important;
  box-shadow: 0 12px 28px rgba(20,69,47,.1);
  transform: translateY(-2px);
}
.product-badge-wrap {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
}
.product-badge-wrap .badge {
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 800;
}
.bg-orange-gradient { background: var(--accent-color); }
.product-price {
  color: var(--accent-color) !important;
  font-size: 20px;
  line-height: 1;
}
.main-product-image, .product-image-container {
  background: #f7f8f2;
  border: 1px solid var(--line);
}
.product-image-container {
  height: 170px;
  border-width: 0 0 1px 0;
}
.product-image {
  object-fit: contain;
  height: 100%;
  width: 100%;
  padding: 26px 24px 18px;
  transition: transform .18s ease;
}
.product-card:hover .product-image { transform: scale(1.025); }
.product-card .card-body {
  padding: 16px;
  background: #fff;
}
.product-card .card-title {
  color: var(--primary-color);
  font-size: 19px;
  line-height: 1.18;
  min-height: 46px;
  margin-bottom: 8px !important;
}
.product-actions {
  align-items: center;
}
.product-btn {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 15px;
  line-height: 1.1;
  white-space: nowrap;
}
.quick-add-to-cart {
  min-width: 112px;
}
.quick-add-to-cart:hover,
.quick-add-to-cart:focus,
.quick-add-to-cart:active {
  color: #fff;
}
.quick-add-to-cart:hover i,
.quick-add-to-cart:focus i,
.quick-add-to-cart:active i,
.quick-add-to-cart:hover span,
.quick-add-to-cart:focus span,
.quick-add-to-cart:active span {
  color: #fff;
}
.product-title { color: var(--primary-color); font-weight: 800; }

.contact-hero {
  padding: 68px 0;
  background: var(--primary-color);
  color: #fff;
}
.contact-hero .hero-copy { color: rgba(255,255,255,.82); }
.contact-text h5 { color: var(--primary-color); font-weight: 800; }
.company-card dl { margin: 0; }
.company-card dt { color: var(--muted); font-size: 14px; margin-top: 12px; }
.company-card dd { margin: 0; font-weight: 800; color: var(--primary-color); }

.footer {
  margin-top: 48px;
  background: #0d3321;
  color: rgba(255,255,255,.84);
}
.footer-top { padding: 48px 0 30px; }
.footer h4 { color: #fff; font-weight: 800; margin-bottom: 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 10px; }
.footer a { color: rgba(255,255,255,.86); }
.company-details { color: rgba(255,255,255,.7); font-size: 14px; }
.contact-item { display: flex; gap: 12px; margin-bottom: 12px; }
.newsletter-form .input-group { display: block; }
.newsletter-form input { margin-bottom: 10px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 22px 0;
}
.footer-bottom-links { justify-content: center; flex-wrap: wrap; margin-bottom: 18px; }
.cookie-settings-btn {
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.86);
}
.legal-images {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.legal-images img { max-width: 220px; background: #fff; border-radius: 4px; }

.cart-overlay {
  display: none;
  opacity: 0;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.42);
  z-index: 1055;
  transition: opacity .25s ease;
}
.cart-sidebar {
  position: fixed;
  top: 0;
  right: -400px;
  width: min(400px, 100vw);
  height: 100vh;
  background: #fff;
  z-index: 1060;
  transition: right .25s ease;
  display: flex;
  flex-direction: column;
  box-shadow: -12px 0 28px rgba(0,0,0,.18);
}
.cart-header, .cart-footer {
  padding: 18px;
  border-bottom: 1px solid var(--line);
}
.cart-footer { border-top: 1px solid var(--line); border-bottom: 0; margin-top: auto; }
.close-btn { border: 0; background: transparent; font-size: 30px; float: right; }
.cart-body { padding: 18px; overflow: auto; }
.cart-item { display: grid; grid-template-columns: 72px 1fr 28px; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 72px; height: 72px; object-fit: contain; background: var(--surface); border-radius: 6px; }
.cart-item-title { font-weight: 800; color: var(--primary-color); }
.quantity-input { width: 48px; text-align: center; }
.quantity-btn, .cart-item-remove { border: 1px solid var(--line); background: #fff; border-radius: 4px; }
.cart-total { display: flex; justify-content: space-between; font-weight: 800; color: var(--primary-color); }
.cart-notification {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1100;
  display: grid;
  gap: 10px;
  width: min(360px, calc(100vw - 32px));
}
.notification-item {
  background: #fff;
  border: 1px solid rgba(20,69,47,.12);
  border-left: 4px solid var(--primary-color);
  box-shadow: 0 18px 42px rgba(20, 32, 24, .16);
  padding: 13px 12px 13px 14px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .18s ease, transform .18s ease;
}
.notification-item.notification-showing {
  opacity: 1;
  transform: translateY(0);
}
.notification-item.notification-hiding {
  opacity: 0;
  transform: translateY(8px);
}
.notification-content {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.notification-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: #e8f5e9;
  color: var(--primary-color);
  font-size: 13px;
}
.notification-message {
  color: var(--ink);
  font-weight: 700;
  line-height: 1.25;
  font-size: 15px;
}
.notification-close {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 6px;
  display: grid;
  place-items: center;
  background: #f2f5ef;
  color: var(--muted);
  flex: 0 0 auto;
}
.notification-close:hover {
  background: #e4ecdf;
  color: var(--primary-color);
}

@media (max-width: 991px) {
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .grocery-basket-visual { grid-template-columns: 1fr 1fr; }
  .shop-cta-inner { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 640px) {
  .solo-hero h1, .contact-hero h1 { font-size: 42px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .category-grid, .grocery-basket-visual { grid-template-columns: 1fr; }
  .basket-card-large { min-height: 150px; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .product-image-container { height: 150px; }
  .product-actions { flex-direction: column; }
  .product-btn { width: 100%; }
  .cart-notification { right: 16px; bottom: 16px; }
}
