.storefront-page .navbar,
.storefront-page .contact-navbar,
.storefront-page .top-bar {
  background: #fff;
  border-bottom: 1px solid #dcebdc;
  box-shadow: 0 2px 10px rgba(27, 94, 32, 0.08);
}

.storefront-page .top-bar {
  padding: 10px clamp(16px, 3vw, 36px);
  gap: 16px;
}

.storefront-page .top-bar-content {
  max-width: none;
  gap: 18px;
}

:is(.products-page, .events-page) .top-bar {
  background: #173f20;
  border-bottom-color: #285d34;
}

:is(.products-page, .events-page) .store-heading-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

:is(.products-page, .events-page) .store-heading-actions .welcome-text {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 82px;
  height: 82px;
  margin: 0;
  padding: 8px !important;
  border-radius: 50%;
  background: #fff;
  color: #008200;
  border: 2px solid #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  font-family: 'Playfair Display', serif;
  font-size: 0.8rem !important;
  text-align: center;
}

:is(.products-page, .events-page) .header-call-button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #fff;
  color: #173f20;
  font-weight: 600;
  font-size: 0.75rem;
  white-space: nowrap;
  text-decoration: none;
}

:is(.products-page, .events-page) .header-call-button svg {
  width: 14px;
  height: 14px;
  flex: none;
}

:is(.products-page, .events-page) .header-call-button:hover {
  background: #e7f3e5;
  color: #173f20;
}

:is(.products-page, .events-page) .header-call-button:focus-visible {
  outline: 3px solid #e65803;
  outline-offset: 2px;
}

.storefront-page #why-olivefruity,
.storefront-page #about-us {
  scroll-margin-top: 150px;
}

.storefront-page .top-bar .logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
}

.storefront-page .nav-links,
.storefront-page .contact-navbar-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.storefront-page .navbar-link,
.storefront-page .contact-navbar-links a,
.storefront-page .nav-links a.title {
  padding: 10px 12px;
  border: 0;
  border-radius: 8px;
  color: #234a28;
  font-family: 'Poppins', 'Segoe UI', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: normal;
  text-decoration: none;
  text-transform: none;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.storefront-page .navbar-link:hover,
.storefront-page .contact-navbar-links a:hover,
.storefront-page .nav-links a.title:hover {
  background: #edf7ed;
  color: #1b5e20;
}

:is(.products-page, .events-page) .top-bar .nav-links a.title {
  color: #fff;
}

:is(.products-page, .events-page) .top-bar .nav-links a.title:hover {
  background: #e7f3e5;
  color: #173f20;
}

.storefront-page .navbar-link:focus-visible,
.storefront-page .contact-navbar-links a:focus-visible,
.storefront-page .nav-links a.title:focus-visible,
.products-page .product-card button:focus-visible,
.products-page .product-card input:focus-visible,
.products-page .sidebar button:focus-visible {
  outline: 3px solid #e65803;
  outline-offset: 2px;
}

.products-page .sidebar {
  background: linear-gradient(160deg, #fffaf0 0%, #f0f8ed 60%, #fff 100%);
  border: 1px solid #cfe5ca;
  box-shadow: 0 12px 30px rgba(27, 94, 32, 0.13);
}

.products-page .sidebar .toggle-btn {
  background: #173f20;
  color: #fff;
  box-shadow: 0 4px 12px rgba(27, 94, 32, 0.2);
}

.products-page .sidebar .toggle-btn:hover {
  background: #0e3018;
}

.products-page .mobile-site-nav {
  display: none;
}

.products-page .menu-intro {
  padding: 5px 3px 16px;
  border-bottom: 1px solid #d5e7d0;
  margin-bottom: 16px;
}

.products-page .menu-eyebrow {
  color: #a44708;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.products-page .menu-intro h2 {
  color: #1b4c23;
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  line-height: 1.2;
  margin: 6px 0;
}

.products-page .menu-intro p {
  color: #516750;
  font-size: 0.8rem;
  line-height: 1.45;
  margin: 0;
}

.products-page .sidebar.collapsed .menu-intro {
  display: none;
}

.products-page .sidebar.collapsed #tabsContainer {
  display: none;
}

.products-page #tabsContainer .tab-btn {
  width: 100%;
  min-height: 44px;
  margin: 0;
  border: 1px solid #c7dfc4;
  border-radius: 10px;
  background: #fff;
  color: #24562a;
  text-align: left;
}

.products-page #tabsContainer .tab-btn.active {
  background: #245c2e;
  border-color: #245c2e;
  color: #fff;
  box-shadow: 0 5px 12px rgba(36, 92, 46, 0.18);
}

.products-page #tabsContainer .tab-btn:hover,
.products-page #categoryButtonsContainer button:hover {
  background: #e7f3e5;
  border-color: #8ab88a;
  color: #1b4c23;
  transform: none;
}

.products-page #tabsContainer .tab-btn.active:hover {
  background: #173f20;
  color: #fff;
}

.products-page #categoryButtonsContainer {
  margin-left: 0;
  padding: 2px 0 0 10px;
  border-left: 2px solid #e3a34b;
}

.products-page #categoryButtonsContainer button {
  width: 100%;
  min-height: 40px;
  margin: 0;
  padding: 9px 12px;
  justify-content: flex-start;
  border: 1px solid #e1ecdc;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.8);
  color: #315a32;
  font-size: 0.8rem;
  text-align: left;
}

.products-page #bestSellersSection {
  background: #f4faf3;
  border-color: #d8e9d8;
}

.products-page #allProductsSection {
  background: linear-gradient(145deg, #e4f4e3, #f7fcf4 58%, #fff9ec);
  border-color: #d3e8d4;
}

.products-page .freshness-highlights {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 18px;
  text-align: left;
}

.products-page .freshness-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid #e7e5df;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(41, 37, 36, 0.06);
}

.products-page .freshness-icon,
.products-page .visit-icon {
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #e7f5e9;
  color: #177544;
}

.products-page .freshness-item strong,
.products-page .freshness-item span:not(.freshness-icon) {
  display: block;
}

.products-page .freshness-item strong {
  color: #292524;
  font-size: 0.95rem;
}

.products-page .freshness-item span:not(.freshness-icon) {
  color: #57534e;
  font-size: 0.75rem;
}

.products-page #footer-p {
  background: #245c2e;
  color: #fff;
  border-radius: 12px;
  margin: 0 0 18px;
}

.products-page .visit-section {
  margin: 40px 0 24px;
  text-align: left;
}

.products-page .visit-eyebrow {
  color: #177544;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.products-page .visit-section h2 {
  margin: 4px 0 20px;
  color: #292524;
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2rem);
}

.products-page .visit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.products-page .visit-card {
  padding: 20px;
  border: 1px solid #e7e5df;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(41, 37, 36, 0.06);
}

.products-page .visit-card h3 {
  margin: 12px 0 4px;
  color: #292524;
  font-size: 1rem;
}

.products-page .visit-card p {
  margin: 4px 0 0;
  color: #57534e;
  line-height: 1.6;
}

.products-page .visit-card a {
  color: #176239;
}

.products-page .visit-contact {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 16px;
}

.products-page .visit-contact h3 {
  margin-top: 0;
}

.products-page #bestSellerList.product-grid,
.products-page #productList.product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.products-page #bestSellerList .product-card,
.products-page #productList .product-card {
  min-width: 0;
  height: 100%;
  padding: 0 16px 16px;
  align-items: stretch;
  text-align: left;
  background: #fff;
  border: 1px solid #e7e5df;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(41, 37, 36, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.products-page #bestSellerList .product-card {
  border-color: #bbdfc4;
  box-shadow: 0 0 0 1px #e2f2e5, 0 2px 8px rgba(41, 37, 36, 0.07);
}

.products-page #bestSellerList .product-card::before,
.products-page #productList .product-card::before {
  content: "OLIVEFRUITY  \2022  FRESH PICKS";
  display: flex;
  align-items: flex-end;
  min-height: 76px;
  margin: 0 -16px 14px;
  padding: 12px 16px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.28) 1px, transparent 1.5px) 0 0 / 14px 14px,
    linear-gradient(135deg, #38a765, #117b69);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.09em;
}

.products-page #bestSellerList .product-card::before {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.28) 1px, transparent 1.5px) 0 0 / 14px 14px,
    linear-gradient(135deg, #f5ad3c, #e87524);
}

.products-page #bestSellerList .product-card:hover,
.products-page #productList .product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(41, 37, 36, 0.12);
}

.products-page #bestSellerList .product-card img,
.products-page #productList .product-card img {
  width: 100%;
  height: 200px;
  margin: 0 0 10px;
  border: 0;
  border-radius: 10px;
  filter: none;
  object-fit: cover;
}

.products-page #bestSellerList .product-card:hover img,
.products-page #productList .product-card:hover img {
  filter: none;
  transform: none;
}

.products-page .product-card h3 {
  order: 1;
  color: #292524;
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  line-height: 1.3;
  text-align: left;
}

.products-page .product-card p:first-of-type {
  order: 3;
  align-self: stretch;
  margin: auto 0 0;
  padding: 14px 0 2px;
  border-top: 1px solid #f0eeea;
  background: transparent;
  color: #292524;
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  text-align: left;
}

.products-page .product-card .product-description {
  order: 2;
  min-height: 0;
  margin: 0 0 16px;
  padding: 0;
  background: transparent;
  color: #303b32;
  font-weight: 400;
  text-align: left;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.products-page .product-card .best-seller-badge {
  background: #fff;
  color: #176239;
}

.products-page .product-card .best-seller-badge[style] {
  color: #fff;
}

.products-page .product-card .best-seller-badge + .best-seller-badge {
  top: 12px;
}

@media (max-width: 380px) {
  .products-page .product-card .best-seller-badge {
    padding: 6px 7px;
    font-size: 0.7rem;
  }
}

.products-page .product-card .add-to-cart-container {
  order: 4;
  position: static;
  width: 100%;
  margin-top: 0;
  padding: 8px 0 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  background: transparent;
  transform: none;
}

.products-page .product-card .quantity-input {
  flex: 0 0 55px;
  width: 55px;
  min-width: 0;
  height: 42px;
  padding: 6px;
  border: 1px solid #b5d8b8;
  border-radius: 999px;
  background: #f4faf4;
  text-align: center;
}

.products-page .product-card .add-to-cart-container .btn {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  min-height: 42px;
  padding: 8px;
  border: 1px solid #246a2b;
  border-radius: 999px;
  background: #177544;
  color: #fff;
  font-size: 0.8rem;
  box-shadow: 0 4px 10px rgba(46, 125, 50, 0.18);
}

.products-page .product-card .add-to-cart-container .btn:hover {
  background: #1b5e20;
  border-color: #1b5e20;
  color: #fff;
}

.products-page #checkoutContainer .checkout-logo {
  width: 64px;
  height: 40px;
  padding: 3px;
  border-radius: 8px;
  background: #fff;
  object-fit: contain;
}

.products-page .checkout-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 30px 16px;
}

.products-page .checkout-heading-logo {
  width: 75px;
  height: 54px;
  object-fit: contain;
}

.events-page .events-menu-toggle,
.events-page .events-mobile-nav {
  display: none;
}

.products-page .checkout-heading h2 {
  margin: 0;
  color: #2e7d32;
}

@media (max-width: 768px) {
  :is(.products-page, .events-page) .top-bar {
    gap: 4px;
    padding: 8px 14px;
  }

  :is(.products-page, .events-page) .top-bar-content {
    gap: 4px;
    padding: 0;
  }

  :is(.products-page, .events-page) .top-bar-content > .nav-links {
    display: none;
  }

  .products-page .mobile-site-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #d5e7d0;
  }

  .products-page .mobile-site-nav h2 {
    margin: 0 0 6px;
    color: #1b4c23;
    font-size: 0.85rem;
  }

  .products-page .mobile-site-nav a {
    padding: 9px 12px;
    border-radius: 8px;
    color: #234a28;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
  }

  .products-page .mobile-site-nav a:hover {
    background: #e7f3e5;
  }

  .products-page .mobile-site-nav a:focus-visible {
    outline: 3px solid #e65803;
    outline-offset: 2px;
  }

  :is(.products-page, .events-page) .store-heading-actions {
    order: -1;
    width: 100%;
    height: 58px;
  }

  :is(.products-page, .events-page) .store-heading-actions .welcome-text {
    display: none;
  }

  :is(.products-page, .events-page) .header-call-button {
    position: absolute;
    top: 12px;
    right: 14px;
  }

    .events-page .events-menu-toggle {
      display: block;
      position: fixed;
      z-index: 1100;
      top: 10px;
      left: 10px;
      padding: 8px 12px;
      border: 0;
      border-radius: 10px;
      background: #173f20;
      color: #fff;
      font-weight: 600;
      cursor: pointer;
      box-shadow: 0 4px 12px rgba(27, 94, 32, 0.2);
    }

    .events-page .events-mobile-nav:not([hidden]) {
      display: flex;
      flex-direction: column;
      gap: 4px;
      position: fixed;
      z-index: 1000;
      top: 0;
      left: 0;
      width: 250px;
      height: 100dvh;
      max-height: 100vh;
      overflow-y: auto;
      padding: 65px 16px 20px;
      border: 1px solid #cfe5ca;
      background: linear-gradient(160deg, #fffaf0 0%, #f0f8ed 60%, #fff 100%);
      box-shadow: 0 12px 30px rgba(27, 94, 32, 0.13);
    }

    .events-page .events-mobile-nav h2 {
      margin: 0 0 6px;
      color: #1b4c23;
      font-size: 0.85rem;
    }

    .events-page .events-mobile-nav a {
      padding: 9px 12px;
      border-radius: 8px;
      color: #234a28;
      font-size: 0.85rem;
      font-weight: 600;
      text-decoration: none;
    }

    .events-page .events-mobile-nav a:hover {
      background: #e7f3e5;
    }

    .events-page .events-menu-toggle:focus-visible,
    .events-page .events-mobile-nav a:focus-visible {
      outline: 3px solid #e65803;
      outline-offset: 2px;
    }
  .products-page .content-area {
    margin-top: 0;
    padding-top: 12px;
  }

  .storefront-page .navbar-menu.open {
    max-height: 450px;
    overflow-y: auto;
  }

  .storefront-page .navbar-menu .navbar-link {
    width: 100%;
    padding: 0.8rem 1.5rem;
    border-radius: 0;
  }

  .storefront-page .top-bar-content {
    gap: 8px;
  }

  .storefront-page .nav-links,
  .storefront-page .contact-navbar-links {
    justify-content: center;
    gap: 2px;
  }

  .storefront-page .nav-links a.title,
  .storefront-page .contact-navbar-links a {
    padding: 7px 8px;
    font-size: 0.8rem;
  }

  .products-page .sidebar {
    padding: 65px 16px 20px;
    overflow-y: auto;
  }
}

@media (max-width: 1000px) {
  .products-page #bestSellerList.product-grid,
  .products-page #productList.product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .products-page .freshness-highlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .products-page #bestSellerList.product-grid,
  .products-page #productList.product-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .products-page .freshness-item {
    padding: 10px;
    gap: 8px;
  }

  .products-page .visit-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .products-page #bestSellerList .product-card,
  .products-page #productList .product-card {
    transition: none;
  }

  .products-page #bestSellerList .product-card:hover,
  .products-page #productList .product-card:hover {
    transform: none;
  }
}
