:root {
  --ink: #17231d;
  --muted: #66746d;
  --line: #dde7df;
  --soft: #f6faf6;
  --cream: #fffdf5;
  --green: #35b44a;
  --green-rgb: 53, 180, 74;
  --green-dark: #10512f;
  --green-hover: #22963c;
  --tomato: #c94935;
  --gold: #d99b28;
  --white: #ffffff;
  --shadow: 0 20px 45px rgba(23, 35, 29, 0.11);
  --orange: #f7941d;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--cream);
  overflow-x: hidden;
  scrollbar-gutter: stable;
}

html.modal-open {
  overflow: hidden;
  overscroll-behavior: contain;
}

body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  font-family: Inter, Arial, sans-serif;
  font-size: 15px;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
  overscroll-behavior: contain;
}

body > main {
  flex: 1 0 auto;
  background: var(--cream);
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

a,
button {
  transition:
    color 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid rgba(var(--green-rgb), 0.35);
  background: var(--green);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 28px rgba(var(--green-rgb), 0.16);
}

.site-header .logo-brand {
  padding: 0;
  background: transparent;
}

.top-notice {
  height: 24px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--orange);
  font-size: 13px;
  font-weight: 800;
}

.marketplace-header {
  position: static;
  min-height: 90px;
  background: var(--green);
}

.header-search {
  position: relative;
  flex: 1;
  max-width: 520px;
  display: flex;
  align-items: center;
  margin: 0 auto;
  border: 1px solid transparent;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  overflow: visible;
}

.header-search .home-search-results {
  top: calc(100% + 10px);
}

.header-search:focus-within {
  border-color: rgba(var(--green-rgb), 0.28);
  box-shadow: 0 0 0 3px rgba(var(--green-rgb), 0.1);
}

.header-search input {
  height: 52px;
  margin: 0;
  border: 0;
  outline: none;
  background: transparent;
  padding: 0 24px;
}

.header-search button {
  width: 92px;
  height: 52px;
  border: 0;
  color: transparent;
  background: transparent;
  cursor: pointer;
  position: relative;
}

.header-search button::after {
  content: "";
  position: absolute;
  top: 16px;
  left: 28px;
  width: 13px;
  height: 13px;
  border: 3px solid #000;
  border-radius: 50%;
}

.header-search button::before {
  content: "";
  position: absolute;
  left: 42px;
  top: 31px;
  width: 11px;
  height: 3px;
  background: #000;
  transform: rotate(45deg);
  border-radius: 999px;
}

.home-search {
  position: relative;
  flex: 1;
  max-width: 430px;
  display: flex;
  align-items: center;
  margin: 0 auto;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
}

.home-search input {
  height: 48px;
  margin: 0;
  border: 0;
  border-radius: 999px 0 0 999px;
  background: transparent;
  padding: 0 18px 0 24px;
  color: var(--ink);
  font-size: 14px;
  outline: none;
}

.home-search button {
  position: relative;
  width: 58px;
  height: 48px;
  border: 0;
  border-radius: 0 999px 999px 0;
  color: transparent;
  background: transparent;
  cursor: pointer;
}

.home-search button::after {
  content: "";
  position: absolute;
  top: 15px;
  left: 18px;
  width: 13px;
  height: 13px;
  border: 3px solid #000;
  border-radius: 50%;
}

.home-search button::before {
  content: "";
  position: absolute;
  top: 29px;
  left: 31px;
  width: 11px;
  height: 3px;
  border-radius: 999px;
  background: #000;
  transform: rotate(45deg);
}

.home-search:focus-within {
  box-shadow: 0 0 0 3px rgba(var(--green-rgb), 0.12);
}

.home-search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 40;
  display: none;
  max-height: 270px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 18px 42px rgba(23, 35, 29, 0.14);
}

.home-search-results.is-open {
  display: block;
}

.home-search-results a,
.home-search-results span {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.home-search-results a:hover {
  background: #f3faf4;
}

.home-search-results small {
  color: var(--muted);
  font-weight: 700;
}

.home-search-results .not-found {
  color: var(--tomato);
}

.store-nav {
  position: relative;
  z-index: 18;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 20px clamp(18px, 7vw, 116px);
  border-bottom: 1px solid var(--line);
  background: var(--white);
  overflow: visible;
}

.home-store-nav {
  position: relative;
  top: auto;
  display: flex;
  justify-content: space-between;
  overflow: visible;
  padding: 20px clamp(18px, 7vw, 116px);
  background: var(--white);
  box-shadow: none;
}

.home-store-nav .category-menu {
  justify-self: auto;
}

.home-store-nav .store-menu {
  justify-self: auto;
  width: auto;
  max-width: none;
  overflow: visible;
  border: 0;
  border-radius: 0;
  padding: 0;
  gap: 28px;
  background: transparent;
  box-shadow: none;
}

.category-menu {
  position: relative;
}

.all-categories {
  min-width: 176px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  font-weight: 700;
}

.all-categories::before {
  content: "|||";
  margin-right: 9px;
  letter-spacing: -2px;
  transform: rotate(90deg);
  display: inline-block;
}

.category-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 238px;
  padding: 12px 0;
  border: 1px solid rgba(221, 231, 223, 0.9);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 24px 60px rgba(23, 35, 29, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.98);
  transform-origin: top left;
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.category-menu:hover .category-dropdown,
.category-menu:focus-within .category-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.dropdown-item {
  position: relative;
}

.dropdown-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  padding: 0 16px;
  color: #1c2d24;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.dropdown-row span {
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border-radius: 8px;
  color: var(--green-dark);
  background: #eff8f1;
  font-size: 11px;
  font-weight: 900;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.dropdown-row b {
  color: #8e9992;
  font-size: 16px;
  line-height: 1;
  transition: transform 180ms ease, color 180ms ease;
}

.dropdown-submenu {
  position: absolute;
  top: -8px;
  left: calc(100% + 8px);
  width: 260px;
  padding: 8px;
  border: 1px solid rgba(221, 231, 223, 0.9);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 44px rgba(23, 35, 29, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-8px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.dropdown-submenu.wide {
  width: min(390px, calc(100vw - 300px));
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px 8px;
}

.dropdown-submenu a {
  display: block;
  border-radius: 7px;
  padding: 8px 10px;
  color: #26372f;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 700;
}

.dropdown-submenu a:hover {
  color: var(--green-dark);
  background: #f4faf4;
  transform: translateX(3px);
}

.dropdown-row:hover {
  color: var(--green-dark);
  background: #f7fbf7;
  transform: translateX(4px);
}

.dropdown-row:hover span {
  color: var(--white);
  background: var(--green);
  transform: scale(1.05);
}

.dropdown-row:hover b {
  color: var(--green);
  transform: translateX(4px);
}

.dropdown-item:hover .dropdown-submenu,
.dropdown-item:focus-within .dropdown-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.store-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 600;
  overflow: visible;
}

.store-menu > a,
.store-dropdown-trigger {
  position: relative;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid transparent;
  padding: 0 14px;
  border-radius: 999px;
  color: #1c2d24;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.store-menu > a.active,
.store-menu > a.menu-highlight,
.store-dropdown-trigger.menu-highlight {
  color: var(--white);
  background: var(--green);
}

.store-menu > a.super-sale-link {
  isolation: isolate;
  color: var(--white);
  border-color: transparent;
  background: linear-gradient(180deg, #ec2145 0%, #d7193a 100%);
  overflow: visible;
  box-shadow: 0 10px 20px rgba(217, 35, 63, 0.16);
}

.sale,
.super-sale-link {
  position: relative !important;
  overflow: visible !important;
}

.store-menu > a.super-sale-link::before {
  content: none;
}

.store-menu > a.super-sale-link::after {
  content: none;
}

.sale-text {
  position: relative;
  z-index: 3;
}

.sale-festive {
  position: absolute;
  top: -18px;
  right: -2px;
  z-index: 999;
  width: 36px;
  height: 30px;
  pointer-events: none;
}

.sale-gift {
  position: absolute;
  top: 5px;
  right: 4px;
  font-size: 20px;
  line-height: 1;
  filter: drop-shadow(0 3px 3px rgba(0, 0, 0, 0.25));
  transform: rotate(12deg);
  animation: saleGiftBounce 2.6s ease-in-out infinite;
}

.sale-confetti {
  position: absolute;
  width: 2px;
  height: 5px;
  border-radius: 2px;
}

.sale-festive .c1 {
  top: 3px;
  left: 3px;
  background: #8e44ad;
  transform: rotate(25deg);
}

.sale-festive .c2 {
  top: 8px;
  left: 10px;
  background: #16a085;
  transform: rotate(-20deg);
}

.sale-festive .c3 {
  top: 2px;
  right: 0;
  background: #e91e63;
  transform: rotate(18deg);
}

.sale-festive .c4 {
  top: 14px;
  right: -1px;
  background: #f39c12;
  transform: rotate(35deg);
}

@keyframes saleGiftBounce {
  0%, 82%, 100% {
    transform: translateY(0) rotate(12deg);
  }

  88% {
    transform: translateY(-5px) rotate(12deg);
  }

  94% {
    transform: translateY(0) rotate(12deg);
  }
}

.gift {
  position: absolute;
  top: -21px;
  right: 26px;
  z-index: 6;
  font-size: 28px;
  line-height: 1;
  filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.18));
  pointer-events: none;
}

.confetti {
  position: absolute;
  z-index: 4;
  width: 5px;
  height: 10px;
  border-radius: 2px;
  pointer-events: none;
}

.c1 {
  top: -18px;
  left: 20px;
  background: #9b59b6;
  transform: rotate(22deg);
}

.c2 {
  top: -12px;
  left: 42px;
  background: #ff7a1a;
  transform: rotate(-28deg);
}

.c3 {
  top: -18px;
  left: 66px;
  background: #16a085;
  transform: rotate(-35deg);
}

.c4 {
  top: -22px;
  right: 54px;
  background: #7d3c98;
  transform: rotate(-22deg);
}

.c5 {
  top: -12px;
  right: 10px;
  background: #27ae60;
  transform: rotate(28deg);
}

.c6 {
  top: -24px;
  right: -5px;
  background: #ff2d55;
  transform: rotate(-18deg);
}

.c7 {
  top: -10px;
  right: -20px;
  background: #f5a142;
  transform: rotate(34deg);
}

.store-menu > a.super-sale-link:hover {
  color: var(--white);
  border-color: transparent;
  background: #c91f39;
  box-shadow: 0 12px 24px rgba(217, 35, 63, 0.24);
  transform: translateY(-2px);
}

.store-menu > a.super-sale-link:hover::before {
  transform: translateX(-50%) translateY(-2px);
}

.store-menu > a:not(.active)::after,
.store-dropdown-trigger:not(.menu-highlight)::after {
  content: none;
}

.store-menu > a:not(.active):not(.super-sale-link):hover,
.store-dropdown:hover .store-dropdown-trigger {
  color: var(--green-dark);
  border-color: rgba(var(--green-rgb), 0.2);
  background: #eef8ef;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(var(--green-rgb), 0.1);
}

.store-menu > a:not(.active):hover::after,
.store-dropdown:hover .store-dropdown-trigger::after {
  opacity: 1;
  transform: translateY(0);
}

.store-dropdown {
  position: relative;
}

.store-dropdown-trigger.menu-highlight:hover {
  color: var(--white);
  border-color: transparent;
  background: var(--green-hover);
}

.store-menu > a.menu-highlight:hover {
  color: var(--white);
  border-color: transparent;
  background: var(--green-hover);
  box-shadow: 0 10px 20px rgba(var(--green-rgb), 0.14);
  transform: translateY(-2px);
}

.store-dropdown:hover .store-dropdown-trigger.menu-highlight,
.store-dropdown:focus-within .store-dropdown-trigger.menu-highlight {
  color: var(--white);
  border-color: transparent;
  background: var(--green-hover);
  box-shadow: 0 10px 20px rgba(var(--green-rgb), 0.14);
}

.store-dropdown-trigger span {
  font-size: 12px;
  line-height: 1;
}

.store-menu .gift {
  position: absolute;
  top: -24px;
  right: 18px;
  z-index: 6;
  font-size: 28px;
  line-height: 1;
  filter: drop-shadow(0 5px 4px rgba(0, 0, 0, 0.18));
  pointer-events: none;
  transform: rotate(14deg);
  animation: giftBounce 2.6s ease-in-out infinite;
}

.store-menu .confetti {
  position: absolute;
  z-index: 4;
  width: 5px;
  height: 10px;
  border-radius: 3px;
  pointer-events: none;
}

.store-menu .confetti-1 {
  top: -18px;
  right: 78px;
  background: #8e44ad;
  transform: rotate(25deg);
}

.store-menu .confetti-2 {
  top: -26px;
  right: 54px;
  background: #16a085;
  transform: rotate(-12deg);
}

.store-menu .confetti-3 {
  top: -12px;
  right: -8px;
  background: #f39c12;
  transform: rotate(40deg);
}

.store-menu .confetti-4 {
  top: -30px;
  right: -20px;
  background: #e91e63;
  transform: rotate(-20deg);
}

.store-menu .confetti-5 {
  top: -9px;
  right: 62px;
  background: #2ecc71;
  transform: rotate(-35deg);
}

@keyframes giftBounce {
  0%, 84%, 100% {
    transform: translateY(0) rotate(14deg);
  }

  88% {
    transform: translateY(-14px) rotate(14deg);
  }

  92% {
    transform: translateY(0) rotate(14deg);
  }

  96% {
    transform: translateY(-7px) rotate(14deg);
  }
}

.store-mega-menu,
.store-simple-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  z-index: 50;
  border: 1px solid rgba(221, 231, 223, 0.9);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 22px 52px rgba(23, 35, 29, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 10px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.store-dropdown:hover .store-mega-menu,
.store-dropdown:focus-within .store-mega-menu,
.store-dropdown:hover .store-simple-menu,
.store-dropdown:focus-within .store-simple-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.store-mega-menu {
  width: min(620px, calc(100vw - 36px));
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 36px;
  padding: 24px 26px;
}

.store-simple-menu {
  width: 190px;
  padding: 10px;
}

.store-mega-menu a,
.store-simple-menu a {
  display: flex;
  align-items: center;
  min-height: 36px;
  border-radius: 7px;
  padding: 0 10px;
  color: #1c2d24;
  font-size: 14px;
  font-weight: 800;
}

.store-mega-menu a:hover,
.store-simple-menu a:hover {
  color: var(--green-dark);
  background: #f1f8f2;
  transform: translateX(3px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.logo-brand img {
  width: 178px;
  height: auto;
  max-height: 58px;
  object-fit: contain;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--white);
  border-radius: 8px;
  background: var(--green);
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  margin-top: 2px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a,
.login-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--white);
  font-weight: 700;
  line-height: 1;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.login-link:hover,
.login-link:focus-visible {
  background: rgba(255, 255, 255, 0.15);
}

.login-link {
  height: 44px;
  box-sizing: border-box;
  padding: 9px 12px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.login-link::before {
  content: "";
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21a8 8 0 0 0-16 0'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}

.auth-menu {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.auth-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 60;
  display: grid;
  min-width: 150px;
  padding: 8px;
  border: 1px solid rgba(221, 231, 223, 0.96);
  border-radius: 10px;
  background: rgba(255, 253, 245, 0.98);
  box-shadow: 0 20px 42px rgba(6, 34, 21, 0.22);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px) scale(0.98);
  transform-origin: top right;
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.auth-menu:hover .auth-dropdown,
.auth-menu:focus-within .auth-dropdown,
.site-nav .auth-menu.is-open > .auth-dropdown {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) scale(1) !important;
}

.auth-dropdown button {
  display: flex;
  align-items: center;
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  padding: 0 12px;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  font-weight: 800;
  text-align: left;
}

.auth-dropdown button:hover {
  color: var(--green-dark);
  background: #eff8f1;
  transform: translateX(3px);
}

.site-nav a::after,
.login-link::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 5px;
  height: 3px;
  border-radius: 999px;
  background: var(--white);
  opacity: 0;
  transform: scaleX(0.35);
  transition: transform 180ms ease, opacity 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.login-link:hover::after,
.login-link:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.login-modal[hidden] {
  display: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.login-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
}

.login-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 34, 21, 0.58);
  backdrop-filter: blur(8px);
}

.login-card {
  position: relative;
  z-index: 1;
  width: min(100%, 430px);
  max-height: min(88vh, 720px);
  overflow: auto;
  border: 1px solid rgba(var(--green-rgb), 0.18);
  border-top: 5px solid var(--green);
  border-radius: 18px;
  padding: 24px;
  background:
    radial-gradient(circle at 92% 8%, rgba(255, 207, 88, 0.16), transparent 28%),
    radial-gradient(circle at 0% 92%, rgba(var(--green-rgb), 0.14), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 253, 245, 0.98));
  box-shadow: 0 28px 80px rgba(6, 34, 21, 0.28);
}

.login-card h2 {
  margin: 8px 0 10px;
  font-size: 28px;
  line-height: 1.1;
}

.login-card p:not(.eyebrow) {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.55;
}

.login-card label {
  display: block;
  margin: 11px 0 7px;
  color: #26372f;
  font-weight: 800;
  font-size: 13px;
}

.login-card input {
  width: 100%;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 14px;
  outline: none;
  background: var(--white);
}

.login-card input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(var(--green-rgb), 0.12);
}

.login-card .btn {
  width: 100%;
  margin-top: 14px;
}

.auth-icon-row {
  display: none;
}

.auth-icon-row img {
  width: 58px;
  height: 58px;
  border: 1px solid rgba(var(--green-rgb), 0.18);
  border-radius: 12px;
  background: #fffdf5;
  box-shadow: 0 12px 24px rgba(23, 35, 29, 0.09);
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0 0 14px;
  border: 1px solid rgba(var(--green-rgb), 0.16);
  border-radius: 999px;
  padding: 5px;
  background: #f2f8f2;
}

.auth-tabs button {
  width: 100%;
  min-height: 38px;
  border: 0;
  border-radius: 999px;
  color: var(--green-dark);
  background: transparent;
  cursor: pointer;
  font-weight: 900;
}

.auth-tabs button.active {
  color: var(--white);
  background: var(--green);
  box-shadow: 0 10px 22px rgba(var(--green-rgb), 0.18);
}

.auth-form {
  display: none;
}

.auth-form.active {
  display: block;
}

.auth-form-logo {
  display: block;
  width: 128px;
  height: auto;
  margin: 4px auto 16px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(23, 35, 29, 0.12));
}

.login-card .auth-field {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  margin: 10px 0;
  border: 1px solid rgba(38, 55, 47, 0.22);
  border-radius: 8px;
  padding: 0 10px;
  color: #26372f;
  background: rgba(255, 253, 245, 0.78);
  font-size: 13px;
  font-weight: 700;
}

.login-card .auth-field:focus-within {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(var(--green-rgb), 0.12);
}

.auth-field svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #24362d;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.login-card .auth-field input {
  height: auto;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.login-card .auth-field input:focus {
  border-color: transparent;
  box-shadow: none;
}

.auth-eye {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  color: #24362d;
  background: transparent;
  cursor: pointer;
}

.auth-eye:hover {
  background: rgba(var(--green-rgb), 0.08);
}

.auth-eye svg {
  width: 17px;
  height: 17px;
}

.auth-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 10px 0 12px;
  font-size: 12px;
}

.auth-options label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  color: #26372f;
  font-size: 12px;
  font-weight: 650;
}

.auth-options input {
  width: 14px;
  height: 14px;
  accent-color: var(--green);
}

.auth-options a,
.auth-options button,
.auth-switch button {
  border: 0;
  padding: 0;
  color: var(--green-dark);
  background: transparent;
  cursor: pointer;
  font-weight: 800;
  text-decoration: none;
}

.auth-options a:hover,
.auth-options button:hover,
.auth-switch button:hover {
  text-decoration: underline;
}

.login-card .auth-switch {
  margin: 14px 0 0;
  color: #3d4f45;
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
}

.login-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--green-dark);
  background: #f4faf4;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.login-message {
  min-height: 20px;
  margin: 14px 0 0;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 800;
}

.cart-link span {
  position: absolute;
  top: 3px;
  left: 29px;
  display: inline-grid;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  place-items: center;
  border: 2px solid var(--green);
  border-radius: 999px;
  color: var(--white);
  background: var(--tomato);
  font-size: 11px;
  line-height: 1;
  font-weight: 900;
}

.site-nav .cart-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto;
  height: 44px;
  min-height: 44px;
  box-sizing: border-box;
  border-radius: 14px;
  color: var(--white) !important;
  font-size: 14px;
  font-weight: 800;
  padding: 10px 14px 10px 12px;
  background: transparent;
  transition:
    background-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.site-nav .cart-link::before {
  content: "";
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 96 96' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M23 23h10l7 35h32l7-23H37'/%3E%3Ccircle cx='45' cy='74' r='6'/%3E%3Ccircle cx='70' cy='74' r='6'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 180ms ease;
}

.site-nav .cart-link::after {
  display: none;
}

.site-nav .cart-link:hover,
.site-nav .cart-link:focus-visible,
.site-nav .cart-link.active {
  background: rgba(214, 244, 221, 0.24);
  box-shadow: inset 0 0 0 1px rgba(235, 255, 241, 0.22);
  transform: translateY(-1px);
}

.site-nav .cart-link:hover::before,
.site-nav .cart-link:focus-visible::before,
.site-nav .cart-link.active::before {
  transform: translateY(-1px);
}

.cart-link span {
  color: var(--white);
  font-size: 11px;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 8px;
  padding: 8px 11px;
}

.hero {
  min-height: 640px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 64px clamp(18px, 6vw, 88px);
  color: var(--white);
}

.banner-slider {
  isolation: isolate;
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  overflow: hidden;
  transform: translateZ(0);
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: translateZ(0) scale(1.03);
  animation: heroFadeLoop 24s infinite linear;
  backface-visibility: hidden;
  will-change: opacity, transform;
}

.hero-slide:nth-child(1) {
  opacity: 1;
  animation-delay: 0s;
}

.hero-slide:nth-child(2) {
  animation-delay: 6s;
}

.hero-slide:nth-child(3) {
  animation-delay: 12s;
}

.hero-slide:nth-child(4) {
  animation-delay: 18s;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: translateZ(0);
  filter: saturate(1.14) contrast(1.08) brightness(0.98);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5, 24, 15, 0.74) 0%, rgba(5, 24, 15, 0.5) 34%, rgba(5, 24, 15, 0.18) 66%, rgba(5, 24, 15, 0.04) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.14) 0%, rgba(0, 0, 0, 0.02) 42%, rgba(0, 0, 0, 0.18) 100%);
}

@keyframes heroFadeLoop {
  0% {
    opacity: 0;
    transform: translateZ(0) scale(1.03);
  }

  5%,
  25% {
    opacity: 1;
  }

  31%,
  100% {
    opacity: 0;
    transform: translateZ(0) scale(1.08);
  }
}

.hero h1,
.page-heading h1,
.flyer-hero h1 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 780px;
  font-size: clamp(36px, 5.8vw, 64px);
}

.hero-copy {
  max-width: 690px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 17px;
  line-height: 1.55;
}

.hero-content {
  max-width: 860px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.34);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.hero-actions,
.shop-bar {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.hero-actions {
  margin-top: 34px;
}

.food-promo-banner {
  position: relative;
  --promo-copy-offset: clamp(24px, 12vw, 180px);
  margin: 32px 0 34px;
  min-height: 420px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(5, 24, 15, 0.66) 0%, rgba(5, 24, 15, 0.38) 38%, rgba(5, 24, 15, 0.08) 100%),
    url("../images/atiyas-store.webp") center 58%/cover;
  isolation: isolate;
}

.food-promo-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.16));
}

.food-promo-copy {
  position: relative;
  z-index: 2;
  width: min(calc(100% - var(--promo-copy-offset) - 24px), 520px);
  margin: 0 0 0 var(--promo-copy-offset);
  padding: 64px 0 104px;
  color: var(--white);
  text-align: left;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.34);
}

.food-promo-copy h2 {
  margin: 0 0 24px;
  color: var(--white);
  font-size: clamp(48px, 7vw, 82px);
  line-height: 0.96;
  letter-spacing: 0;
}

.promo-shop-btn {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 999px;
  padding: 0 28px;
  color: var(--white);
  background: var(--green);
  box-shadow: 0 16px 34px rgba(23, 35, 29, 0.16);
  font-weight: 900;
}

.promo-shop-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 42px rgba(23, 35, 29, 0.22);
}

.promo-dish {
  position: absolute;
  z-index: 1;
  width: clamp(140px, 19vw, 310px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 8px solid rgba(255, 255, 255, 0.82);
  box-shadow: 0 20px 50px rgba(12, 50, 29, 0.25);
}

.promo-dish img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dish-one {
  top: -48px;
  left: -36px;
}

.dish-two {
  left: 18%;
  top: 62px;
  width: clamp(130px, 17vw, 270px);
}

.dish-three {
  right: 17%;
  top: 70px;
  width: clamp(130px, 16vw, 260px);
}

.dish-four {
  right: -34px;
  top: -44px;
}

.dish-five {
  right: -18px;
  bottom: 30px;
  width: clamp(140px, 18vw, 290px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 18px;
  cursor: pointer;
  font-weight: 800;
}

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

.btn.primary:hover {
  background: var(--green-dark);
  box-shadow: 0 10px 20px rgba(var(--green-rgb), 0.18);
  transform: translateY(-1px);
}

.btn.secondary {
  color: var(--ink);
  background: var(--white);
  border-color: var(--line);
}

.btn.secondary:hover {
  border-color: rgba(var(--green-rgb), 0.35);
  box-shadow: 0 10px 22px rgba(23, 35, 29, 0.08);
  transform: translateY(-1px);
}

.btn.danger {
  color: var(--white);
  background: var(--tomato);
}

.btn.full {
  width: 100%;
}

.slide-btn {
  min-width: 158px;
  overflow: hidden;
}

.slide-text-wrap {
  position: relative;
  height: 22px;
  overflow: hidden;
}

.slide-text {
  display: flex;
  flex-direction: column;
  transition: transform 350ms ease;
}

.slide-text span {
  height: 22px;
  line-height: 22px;
  white-space: nowrap;
  text-align: center;
}

.slide-btn:hover .slide-text,
.slide-btn:focus-visible .slide-text {
  transform: translateY(-22px);
}

.section,
.page {
  padding: 40px clamp(18px, 5vw, 72px);
}

.alt-band {
  background: #eef7ef;
}

.alt-band.section {
  padding-top: 32px;
  padding-bottom: 34px;
}

.alt-band .section-heading {
  margin-bottom: 18px;
}

.alt-band .section-heading h2 {
  max-width: 720px;
  font-size: clamp(26px, 3.4vw, 42px);
}

.home-flyer-preview {
  display: grid;
  grid-template-columns: minmax(240px, 0.56fr) minmax(0, 1.9fr);
  gap: 28px;
  align-items: center;
  padding: 46px clamp(18px, 5vw, 72px);
  background: #ffffff;
}

.home-flyer-copy {
  max-width: 520px;
}

.home-flyer-copy h2 {
  margin: 0 0 12px;
  color: #07150f;
  font-size: clamp(27px, 3.5vw, 42px);
  line-height: 1.08;
}

.home-flyer-copy p:not(.eyebrow) {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.home-flyer-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.home-flyer-cards article,
.home-flyer-card {
  position: relative;
  min-height: 575px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  border: 3px solid #e5e5e5;
  border-radius: 10px;
  padding: 10px;
  color: var(--ink);
  background: #ffffff;
  box-shadow: 0 18px 38px rgba(23, 35, 29, 0.12);
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.home-flyer-card::before {
  display: none;
}

.home-flyer-thumb {
  display: block;
  height: 482px;
  overflow: hidden;
  border-radius: 7px;
  background: #ffffff;
}

.home-flyer-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 260ms ease, filter 260ms ease;
}

.home-flyer-info {
  display: block;
  padding: 10px 2px 0;
  text-align: center;
}

.home-flyer-card > * {
  position: relative;
  z-index: 1;
}

.home-flyer-cards article:hover,
.home-flyer-card:hover {
  border-color: #e5e5e5;
  transform: translateY(-8px);
  box-shadow: 0 28px 58px rgba(23, 35, 29, 0.18);
}

.home-flyer-card:hover .home-flyer-thumb img {
  filter: saturate(1.08);
  transform: scale(1.02);
}

.home-flyer-cards strong,
.home-flyer-info > span,
.home-flyer-cards em {
  display: block;
}

.home-flyer-cards strong {
  color: #07150f;
  font-size: 18px;
  line-height: 1.14;
}

.home-flyer-info > span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.home-flyer-cards em {
  width: fit-content;
  margin-top: 12px;
  margin-right: auto;
  margin-left: auto;
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--white);
  background: var(--green);
  font-style: normal;
  font-weight: 900;
  font-size: 12px;
}

.weekly-savings-section {
  position: relative;
}

.home-flyer-preview:has(+ .weekly-savings-section) {
  padding-bottom: 36px;
}

.home-flyer-preview + .weekly-savings-section {
  padding-top: 24px;
}

.weekly-savings-section .section-heading h2 {
  font-size: clamp(24px, 3vw, 36px);
}

.weekly-savings-section .section-heading {
  display: flex;
  width: 100%;
  max-width: none;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.weekly-view-all {
  flex: 0 0 auto;
  margin-left: auto;
  min-height: 42px;
  padding: 0 22px;
}

.weekly-carousel {
  position: relative;
}

.weekly-sale-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(258px, 310px);
  justify-content: start;
  gap: 14px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 2px 4px 8px;
}

.weekly-sale-track::-webkit-scrollbar {
  display: none;
}

.weekly-sale-track .product-card {
  width: min(310px, 100%);
  max-width: 310px;
  min-height: 430px;
  scroll-snap-align: start;
}

.weekly-sale-track .product-image {
  height: 200px;
  object-fit: contain;
}

.weekly-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(var(--green-rgb), 0.22);
  border-radius: 999px;
  color: var(--green-dark);
  background: var(--white);
  box-shadow: 0 14px 28px rgba(23, 35, 29, 0.12);
  cursor: pointer;
  font-size: 22px;
  font-weight: 900;
  transform: translateY(-50%);
}

.weekly-arrow:hover {
  color: var(--white);
  background: var(--green);
  transform: translateY(-50%) scale(1.04);
}

.weekly-arrow-left {
  left: -22px;
}

.weekly-arrow-right {
  right: -22px;
}

.main-categories-section {
  padding: 44px clamp(18px, 6vw, 72px) 22px;
  background:
    radial-gradient(circle at 18% 16%, rgba(var(--green-rgb), 0.08), transparent 26%),
    linear-gradient(180deg, #edf7ee 0%, #fffdf5 100%);
}

.main-categories-heading {
  margin: 0 auto 56px;
  text-align: center;
}

.main-categories-heading h2 {
  margin: 0;
  color: #17231d;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.08;
}

.main-category-grid {
  width: min(100%, 1180px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.main-category-card {
  position: relative;
  min-height: 360px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(var(--green-rgb), 0.12);
  border-radius: 16px;
  padding: 28px;
  background:
    radial-gradient(circle at 72% 46%, rgba(var(--green-rgb), 0.12), transparent 34%),
    linear-gradient(135deg, #f2fff2 0%, #fffdf5 100%);
  box-shadow: 0 22px 48px rgba(23, 35, 29, 0.1);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.main-category-card::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(var(--green-rgb), 0.08);
  border-radius: 12px;
  pointer-events: none;
}

.main-category-card:hover {
  border-color: rgba(var(--green-rgb), 0.26);
  transform: translateY(-7px);
  box-shadow: 0 30px 64px rgba(23, 35, 29, 0.16);
}

.main-category-card h3 {
  position: relative;
  z-index: 2;
  justify-self: start;
  margin: 0;
  color: #17231d;
  font-size: clamp(22px, 2.3vw, 30px);
  line-height: 1.1;
}

.main-category-image {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 210px;
  place-items: center;
  padding: 4px 12px 8px;
}

.main-category-image img {
  width: min(78%, 360px);
  max-height: 230px;
  object-fit: contain;
  filter: drop-shadow(0 20px 24px rgba(23, 35, 29, 0.18));
  transition: transform 260ms ease, filter 260ms ease;
}

.main-category-card:hover .main-category-image img {
  transform: scale(1.06);
  filter: drop-shadow(0 26px 30px rgba(23, 35, 29, 0.22));
}

.main-category-btn {
  position: relative;
  z-index: 2;
  justify-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 156px;
  min-height: 48px;
  border-radius: 999px;
  padding: 0 28px;
  color: var(--white);
  background: var(--green);
  box-shadow: 0 14px 28px rgba(var(--green-rgb), 0.18);
  font-weight: 900;
}

.main-category-btn:hover {
  color: var(--white);
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 0 0 5px rgba(var(--green-rgb), 0.16), 0 18px 34px rgba(var(--green-rgb), 0.26);
}

@media (max-width: 768px) {
  .main-categories-section {
    padding: 38px 0 22px;
  }

  .main-categories-heading {
    width: min(94%, 420px);
    margin-bottom: 28px;
  }

  .main-categories-heading h2 {
    font-size: clamp(30px, 9vw, 38px);
  }

  .main-category-grid {
    width: 100%;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 22px;
  }

  .main-category-card {
    width: min(94vw, 420px);
    min-height: 300px;
    padding: 22px 22px 24px;
  }

  .main-category-card h3 {
    justify-self: center;
    max-width: 100%;
    font-size: clamp(24px, 7.8vw, 30px);
    text-align: center;
    white-space: nowrap;
  }

  .main-category-image {
    min-height: 150px;
    padding: 8px 8px 4px;
  }

  .main-category-image img {
    width: min(70%, 230px);
    max-height: 150px;
  }

  .main-category-btn {
    min-width: min(210px, 76%);
    min-height: 48px;
    justify-self: center;
    padding: 0 24px;
  }
}

.delivery-promo-banner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  align-items: center;
  gap: 34px;
  padding: 54px clamp(18px, 6vw, 92px);
  background:
    radial-gradient(circle at 82% 30%, rgba(255, 255, 255, 0.28), transparent 26%),
    var(--green);
  color: var(--white);
  overflow: hidden;
}

.delivery-promo-copy {
  max-width: 620px;
}

.delivery-promo-copy .eyebrow {
  color: #ffe16b;
}

.delivery-promo-copy h2 {
  margin: 0 0 14px;
  color: var(--white);
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: 0;
}

.delivery-promo-copy p:not(.eyebrow) {
  max-width: 560px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  line-height: 1.65;
}

.delivery-promo-copy .btn.secondary {
  color: var(--green-dark);
  border-color: rgba(255, 255, 255, 0.75);
}

.delivery-promo-visual {
  min-height: 310px;
  display: grid;
  place-items: center;
}

.delivery-store-image {
  position: relative;
  width: min(100%, 680px);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 10px;
  box-shadow: 0 30px 70px rgba(6, 48, 25, 0.25);
  isolation: isolate;
}

.delivery-store-image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(var(--green-rgb), 0.58), rgba(var(--green-rgb), 0.08) 42%, rgba(var(--green-rgb), 0.22)),
    radial-gradient(circle at 15% 50%, rgba(255, 255, 255, 0.16), transparent 30%);
  pointer-events: none;
}

.delivery-store-image::after {
  content: "";
  position: absolute;
  inset: 16px;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  pointer-events: none;
}

.delivery-store-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  filter: saturate(1.04) contrast(0.98);
}

.delivery-store-image span {
  position: absolute;
  left: 22px;
  bottom: 22px;
  z-index: 3;
  border-radius: 999px;
  padding: 12px 18px;
  color: var(--green-dark);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 34px rgba(6, 48, 25, 0.22);
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 900;
}

.delivery-truck {
  position: relative;
  width: min(100%, 620px);
  height: 260px;
}

.truck-box {
  position: absolute;
  right: 70px;
  bottom: 58px;
  width: 340px;
  height: 180px;
  border: 6px solid rgba(255, 255, 255, 0.94);
  border-radius: 12px;
  background: #f9fff9;
  color: var(--green-dark);
  box-shadow: 0 24px 46px rgba(6, 48, 25, 0.22);
}

.truck-box::after {
  content: "";
  position: absolute;
  right: -24px;
  bottom: -8px;
  width: 120px;
  height: 18px;
  border-radius: 999px;
  background: rgba(11, 65, 33, 0.16);
}

.truck-box span {
  position: absolute;
  left: 22px;
  top: 22px;
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: var(--green);
  font-weight: 900;
}

.truck-box strong {
  position: absolute;
  right: 24px;
  top: 34px;
  color: var(--green);
  font-size: 38px;
  line-height: 1.03;
  text-transform: uppercase;
}

.truck-cab {
  position: absolute;
  left: 42px;
  bottom: 58px;
  width: 190px;
  height: 142px;
  border-radius: 38px 18px 12px 12px;
  background: #ffffff;
  box-shadow: 0 24px 46px rgba(6, 48, 25, 0.22);
}

.truck-cab::before {
  content: "";
  position: absolute;
  right: 22px;
  top: 24px;
  width: 74px;
  height: 48px;
  border-radius: 12px;
  background: #ccecdf;
}

.truck-cab::after {
  content: "";
  position: absolute;
  left: 20px;
  bottom: 26px;
  width: 138px;
  height: 28px;
  border-radius: 999px;
  background: #e7f1ea;
}

.wheel {
  position: absolute;
  bottom: 34px;
  width: 54px;
  height: 54px;
  border: 10px solid #17231d;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: inset 0 0 0 6px #d8e5dc;
}

.wheel-one {
  left: 105px;
}

.wheel-two {
  right: 126px;
}

.section-heading,
.page-heading {
  max-width: 850px;
  margin-bottom: 22px;
}

.browse-section {
  padding-top: 18px;
  background:
    linear-gradient(180deg, #fffdf5 0%, #f4faf4 100%);
}

.browse-heading {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.section-heading h2,
.page-heading h1,
.flyer-hero h1 {
  font-size: clamp(28px, 4vw, 46px);
}

.page-heading p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.compact {
  margin-bottom: 22px;
}

.cart-page {
  padding-top: 28px;
}

.cart-heading {
  margin-bottom: 16px;
}

.cart-heading .eyebrow {
  margin-bottom: 6px;
  font-size: 11px;
}

.cart-heading h1 {
  font-size: clamp(28px, 4vw, 42px);
}

.cart-drawer-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 430px);
  gap: 28px;
  padding: 34px clamp(18px, 4vw, 56px);
  background:
    linear-gradient(90deg, rgba(255, 253, 245, 0.96), rgba(255, 253, 245, 0.72)),
    url("https://images.unsplash.com/photo-1604719312566-8912e9227c6a?auto=format&fit=crop&w=1800&q=85") center/cover;
}

.cart-drawer-intro {
  max-width: 620px;
  align-self: center;
  padding: 28px 0;
}

.cart-drawer-intro h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
}

.cart-drawer-intro p:not(.eyebrow) {
  max-width: 520px;
  color: #415349;
  font-size: 15px;
  line-height: 1.55;
}

.cart-drawer {
  align-self: stretch;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  max-height: calc(100vh - 112px);
  border: 1px solid rgba(221, 231, 223, 0.95);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: -24px 28px 70px rgba(23, 35, 29, 0.2);
  overflow: hidden;
}

.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 18px 12px;
  border-bottom: 1px solid var(--line);
}

.cart-drawer-header .eyebrow {
  margin-bottom: 4px;
  font-size: 11px;
}

.cart-drawer-header h2 {
  margin: 0;
  font-size: 22px;
}

.close-cart-link {
  display: inline-grid;
  place-items: center;
  text-decoration: none;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(150px, 194px));
  justify-content: center;
  column-gap: clamp(28px, 3vw, 52px);
  row-gap: 34px;
}

.category-card {
  position: relative;
  --category-card-surface: #ffffff;
  aspect-ratio: 1 / 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px 17px;
  border: 1px solid var(--green);
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(23, 35, 29, 0.035);
  overflow: hidden;
  isolation: isolate;
  text-align: center;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.category-card:hover {
  transform: translateY(-3px);
  border-color: var(--green);
  box-shadow: 0 18px 38px rgba(23, 35, 29, 0.075);
}

.category-card::before {
  content: none;
}

.category-card::after {
  content: none;
}

.category-card img {
  position: static;
  width: 84%;
  height: 94px;
  object-fit: contain;
  object-position: center;
  background: #ffffff;
  mix-blend-mode: normal;
  transform: scale(1.22);
  transition: transform 320ms ease, filter 320ms ease;
}

.category-card strong,
.category-card small,
.category-card b {
  display: block;
}

.category-card strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.2;
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-card small {
  display: none;
}

.category-card b {
  display: none;
}

.category-card:hover img {
  transform: scale(1.26);
  filter: saturate(1.04);
}

.category-card:hover b {
  opacity: 1;
  transform: translateY(0);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--green-rgb), 0.28);
  box-shadow: 0 16px 34px rgba(23, 35, 29, 0.1);
}

.product-card-out {
  background: #fbfbfb;
  border-color: rgba(130, 139, 134, 0.28);
  opacity: 0.86;
}

.product-card-out:hover {
  transform: none;
  border-color: rgba(130, 139, 134, 0.28);
  box-shadow: none;
}

.product-image-wrap {
  position: relative;
  display: block;
  padding: 14px 10px 0;
  background: var(--white);
}

.product-image {
  height: 170px;
  background: #fafafa;
  object-fit: contain;
  width: 100%;
  transition: transform 240ms ease;
}

.product-card:hover .product-image {
  transform: scale(1.04);
}

.product-card-out .product-image {
  filter: grayscale(0.38) opacity(0.62);
}

.product-card-out:hover .product-image {
  transform: none;
}

.product-body {
  padding: 12px 12px 14px;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.product-card h3 {
  margin: 8px 0 7px;
  font-size: 14px;
  line-height: 1.35;
}

.product-card h3 a:hover {
  color: var(--green-dark);
}

.product-card p {
  color: var(--muted);
  line-height: 1.5;
  margin: 0 0 14px;
}

.price-row {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
}

.price-row > div {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0 8px;
}

.price {
  font-weight: 900;
  font-size: 14px;
}

.old-price {
  color: var(--muted);
  text-decoration: line-through;
  font-size: 12px;
  font-weight: 600;
  opacity: 0.72;
  margin-left: 6px;
}

.stock-status {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
}

.stock-status-out {
  color: #df5b6a;
  text-decoration-line: line-through;
  text-decoration-thickness: 1.4px;
  text-decoration-color: currentColor;
  opacity: 0.9;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--white);
  background: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.badge.out {
  background: var(--tomato);
}

.product-card .badge.out {
  display: inline;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--muted);
  background: transparent;
  box-shadow: none;
  text-decoration: line-through;
  font-size: 14px;
  font-weight: 400;
}

.sale-ribbon {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  border-radius: 999px;
  background: var(--orange);
  color: var(--white);
  padding: 4px 9px;
  font-size: 12px;
  font-weight: 900;
}

.add-cart-btn {
  width: 100%;
  min-height: 40px;
  margin-top: 16px;
  border-radius: 999px;
  background: var(--green);
}

.add-cart-btn:hover {
  background: var(--green-dark);
  box-shadow: 0 10px 18px rgba(var(--green-rgb), 0.24);
}

.service-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-strip article {
  padding: 24px clamp(18px, 4vw, 56px);
  background: var(--white);
}

.service-strip strong,
.service-strip span {
  display: block;
}

.service-strip span {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.5;
}

.shop-layout,
.cart-layout,
.checkout-layout,
.contact-layout,
.admin-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.cart-layout {
  grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
  gap: 16px;
}

.shop-page {
  padding: 42px clamp(18px, 7vw, 116px) 62px;
  background: var(--white);
}

body.shop-route > main.shop-page {
  flex: 0 0 auto;
  padding-bottom: 34px;
}

body.shop-route .shop-filter-layout,
body.shop-route .shop-results-panel,
body.shop-route .shop-clean-grid {
  margin-bottom: 0;
}

body.shop-route .shop-clean-grid {
  align-content: start;
}

body.shop-route .shop-filter-panel,
body.shop-route .shop-filter-panel .filter-block,
body.shop-route .shop-results-panel,
body.shop-route #productList {
  max-height: none;
  overflow: visible;
}

.product-card-clickable {
  cursor: pointer;
}

.product-card-clickable .add-cart-btn {
  position: relative;
  z-index: 2;
}

.add-cart-btn[aria-disabled="true"] {
  opacity: 0.58;
  cursor: not-allowed;
}

.shop-clean-shell {
  width: min(100%, 1180px);
  margin: 0 auto;
}

.shop-clean-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.shop-clean-heading h1 {
  margin: 8px 0 0;
  color: #050505;
  font-size: 24px;
  line-height: 1.2;
}

.shop-clean-search {
  display: grid;
  grid-template-columns: minmax(220px, 310px) minmax(170px, 210px);
  gap: 10px;
  align-items: center;
}

.shop-clean-search input,
.shop-clean-search select {
  height: 44px;
  margin: 0;
  border-radius: 10px;
  background: var(--white);
}

.shop-clean-grid {
  gap: 32px 24px;
}

.shop-clean-grid.is-grouped {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
}

.shop-category-group {
  display: grid;
  gap: 16px;
}

.shop-category-group h2 {
  margin: 0;
  color: #07150f;
  font-size: 22px;
  line-height: 1.2;
}

.shop-category-products {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.shop-filter-layout {
  width: min(100%, 1280px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

.mobile-filter-toggle {
  display: none;
}

.shop-filter-panel {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 34px;
  padding-right: 0;
}

.filter-block {
  padding-bottom: 26px;
  border-bottom: 1px solid #e4e4e4;
}

.filter-block:last-child {
  border-bottom: 0;
}

.filter-block h2 {
  margin: 0 0 26px;
  color: #050505;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 800;
}

.filter-search {
  position: relative;
  display: block;
  margin: 0 0 18px;
}

.filter-search span {
  position: absolute;
  left: 12px;
  top: 50%;
  width: 15px;
  height: 15px;
  border: 2px solid #718277;
  border-radius: 50%;
  transform: translateY(-50%);
}

.filter-search span::after {
  content: "";
  position: absolute;
  right: -5px;
  bottom: -4px;
  width: 7px;
  height: 2px;
  border-radius: 999px;
  background: #718277;
  transform: rotate(45deg);
}

.filter-search input {
  width: 100%;
  height: 41px;
  margin: 0;
  border-color: #cfd3d1;
  border-radius: 7px;
  padding: 0 14px 0 34px;
  background: var(--white);
  color: #17231d;
  font-size: 14px;
  font-weight: 500;
}

.shop-filter-panel #categorySelect {
  display: none;
}

.shop-filter-panel .check-filter-list {
  gap: 9px;
  max-height: 180px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 14px;
  scrollbar-color: #b9bfc0 transparent;
  scrollbar-width: thin;
}

.shop-filter-panel .brand-filter-list {
  max-height: 180px;
  overflow-y: auto;
  overflow-x: hidden;
}

.shop-filter-panel .check-filter-list::-webkit-scrollbar {
  width: 7px;
}

.shop-filter-panel .check-filter-list::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 999px;
}

.shop-filter-panel .check-filter-list::-webkit-scrollbar-thumb {
  background: #b9bfc0;
  border-radius: 999px;
}

.shop-filter-panel .filter-category,
.shop-filter-panel .brand-row {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 12px;
  min-height: 29px;
  margin: 0;
  border: 0;
  border-radius: 0;
  padding: 0;
  color: #050505;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
}

.shop-filter-panel .filter-category:hover,
.shop-filter-panel .brand-row:hover {
  background: transparent;
  border-color: transparent;
  transform: none;
}

.shop-filter-panel .filter-category input {
  width: 18px;
  height: 18px;
  margin: 0;
  appearance: none;
  border: 1px solid #111;
  border-radius: 2px;
  background: var(--white);
  cursor: pointer;
}

.shop-filter-panel .filter-category input:checked {
  background: #050505;
  box-shadow: inset 0 0 0 3px #050505;
}

.shop-filter-panel .filter-category span,
.shop-filter-panel .brand-row span {
  overflow: hidden;
  color: #050505;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 500;
}

.shop-filter-panel .filter-category em,
.shop-filter-panel .brand-row em {
  min-width: 34px;
  padding: 0;
  color: #050505;
  background: transparent;
  text-align: right;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
}

.shop-results-panel {
  min-width: 0;
}

.shop-results-panel .shop-clean-heading {
  align-items: flex-start;
  margin-bottom: 28px;
}

.shop-results-panel .shop-clean-search {
  grid-template-columns: minmax(210px, 280px) auto;
}

.shop-results-panel .active-filters {
  display: flex;
  min-height: 34px;
  margin: 0 0 14px;
}

.shop-layout.marketplace {
  grid-template-columns: 262px minmax(0, 1fr);
  gap: 28px;
}

.marketplace .product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px 16px;
}

.checkout-layout,
.contact-layout {
  grid-template-columns: minmax(0, 1fr) 380px;
}

.location-layout {
  grid-template-columns: minmax(0, 1fr);
}

.admin-layout {
  grid-template-columns: 390px minmax(0, 1fr);
}

.filters,
.summary-box,
.form-panel,
.info-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 18px;
  box-shadow: 0 12px 28px rgba(23, 35, 29, 0.06);
}

.info-panel h2,
.form-panel h2 {
  margin-top: 0;
  font-size: 21px;
}

.info-panel p,
.form-panel label {
  font-size: 14px;
}

.cart-layout .summary-box {
  position: sticky;
  top: 94px;
  padding: 18px;
}

.cart-layout .summary-box h2 {
  margin: 0 0 18px;
  font-size: 21px;
}

.cart-layout .summary-box .btn {
  min-height: 42px;
}

.cart-drawer .summary-box {
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  padding: 16px 18px 18px;
}

.cart-drawer .summary-box h2 {
  margin: 0 0 12px;
  font-size: 18px;
}

.cart-drawer .summary-box .btn {
  min-height: 40px;
}

.marketplace-filters {
  border: 0;
  padding: 0;
  box-shadow: none;
}

.marketplace-filters h2 {
  margin: 0 0 24px;
  font-size: 17px;
}

.marketplace-filters input[type="search"] {
  margin-bottom: 16px;
}

.marketplace-filters select {
  display: none;
}

.marketplace-filters hr {
  margin: 26px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.check-filter-list {
  display: grid;
  gap: 10px;
  max-height: 430px;
  overflow: auto;
  padding-right: 8px;
}

.brand-filter-list {
  max-height: 360px;
}

.check-filter-list label {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #000;
  font-size: 14px;
  font-weight: 500;
}

.check-filter-list label.filter-category {
  grid-template-columns: auto 1fr auto;
  padding: 11px 10px;
  border: 1px solid transparent;
  border-radius: 8px;
}

.check-filter-list label.filter-category:hover {
  background: #f7fbf7;
  border-color: var(--line);
  transform: translateX(3px);
}

.filter-category strong,
.filter-category small {
  display: block;
}

.filter-category strong {
  line-height: 1.2;
}

.filter-category small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
}

.filter-category em {
  min-width: 28px;
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--green-dark);
  background: #edf8ef;
  text-align: center;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.brand-row {
  min-height: 40px;
}

.brand-row span strong {
  font-size: 13px;
}

.empty-mini {
  padding: 12px;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: 8px;
  font-size: 13px;
}

.active-filters {
  display: inline-flex;
  gap: 8px;
  margin: 0 10px 10px 0;
  vertical-align: middle;
}

.active-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  border: 1px solid rgba(var(--green-rgb), 0.18);
  border-radius: 999px;
  padding: 0 12px;
  background: #edf8f0;
  color: var(--green-dark);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}

.active-filter-chip span {
  font-size: 15px;
  line-height: 1;
}

.brands-page {
  width: min(100% - 64px, 1220px);
  margin: 0 auto;
  padding: 38px 0 54px;
}

.brands-hero {
  max-width: 720px;
  margin-bottom: 22px;
}

.brands-hero h1 {
  margin: 8px 0 8px;
  color: #07150f;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.06;
  letter-spacing: 0;
}

.brands-hero p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.brands-layout {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.brands-panel,
.brand-results {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(23, 35, 29, 0.06);
}

.brands-panel {
  position: sticky;
  top: 92px;
  padding: 15px;
}

.brands-panel h2 {
  margin: 0 0 11px;
  font-size: 18px;
}

.brands-panel input {
  height: 42px;
  margin: 0 0 12px;
  padding: 0 12px;
  font-size: 14px;
}

.brand-page-list {
  display: grid;
  gap: 7px;
  max-height: 650px;
  overflow: auto;
  padding-right: 5px;
}

.brand-list-row {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 9px 0 10px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  font-size: 13px;
  font-weight: 800;
}

.brand-list-row:hover,
.brand-list-row.active {
  border-color: rgba(var(--green-rgb), 0.2);
  background: #f3faf4;
  transform: translateX(2px);
}

.brand-list-row span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-list-row em {
  min-width: 28px;
  padding: 3px 7px;
  border-radius: 999px;
  color: var(--green-dark);
  background: #e9f7ee;
  text-align: center;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.brand-results {
  min-width: 0;
  padding: 16px;
}

.brand-results-bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.brand-results-bar h2 {
  margin: 2px 0 0;
  color: #050505;
  font-size: 21px;
  line-height: 1.2;
}

.brand-results-bar .btn {
  min-height: 38px;
  padding: 0 15px;
  font-size: 13px;
}

.brand-result-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.brand-result-grid .product-image {
  height: 145px;
}

.brand-result-grid .btn {
  min-height: 42px;
  margin-top: 12px;
  font-size: 13px;
}

.check-filter-list input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--green);
}

.shop-filter-panel .check-filter-list label.filter-category {
  grid-template-columns: 18px minmax(0, 1fr) 42px;
  min-height: 29px;
  border: 0;
  border-radius: 4px;
  padding: 0;
}

.shop-filter-panel .check-filter-list label.filter-category:hover {
  color: var(--green-dark);
  background: #f4faf5;
  border-color: transparent;
  transform: none;
}

.shop-filter-panel .check-filter-list label.filter-category:has(input:checked) {
  color: var(--green-dark);
  background: #f0faf2;
  font-weight: 800;
}

#categoryCheckboxes label.filter-category input[type="checkbox"],
#brandFilterList label.filter-category input[type="checkbox"] {
  position: static;
  display: block;
  width: 10px !important;
  min-width: 10px !important;
  max-width: 10px !important;
  height: 10px !important;
  min-height: 10px !important;
  max-height: 10px !important;
  margin: 0 !important;
  padding: 0 !important;
  justify-self: center;
  align-self: center;
  box-sizing: border-box;
  opacity: 1;
  pointer-events: auto;
  -webkit-appearance: none;
  appearance: none;
  border: 1px solid #111;
  border-radius: 1px;
  background: #fff;
  cursor: pointer;
}

#categoryCheckboxes label.filter-category input[type="checkbox"]:checked,
#brandFilterList label.filter-category input[type="checkbox"]:checked {
  background: #111;
  box-shadow: inset 0 0 0 2px #fff;
}

.shop-filter-panel .check-filter-list label.filter-category:has(input:checked) span,
.shop-filter-panel .check-filter-list label.filter-category:has(input:checked) strong,
.shop-filter-panel .check-filter-list label.filter-category:has(input:checked) em {
  color: var(--green-dark);
  font-weight: 800;
}

.shop-filter-panel .check-filter-list label.filter-category:has(input:checked) {
  box-shadow: none;
}

.shop-filter-panel .brand-row span strong {
  color: #050505;
  font-size: 14px;
  font-weight: 500;
}

.filters {
  position: sticky;
  top: 92px;
}

label {
  display: block;
  margin-bottom: 14px;
  color: #31423a;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  margin-top: 7px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  background: #fbfdfb;
  color: var(--ink);
}

textarea {
  min-height: 110px;
  resize: vertical;
}

.shop-bar {
  display: block;
  margin-bottom: 16px;
  color: var(--muted);
}

.shop-bar strong {
  color: var(--ink);
  font-size: 20px;
}

.shop-bar h1 {
  margin: 28px 0 18px;
  color: #000;
  font-size: 21px;
  line-height: 1.25;
}

#resetShop {
  min-width: 83px;
  min-height: 46px;
  padding: 0 18px;
  color: #0c1711;
  border-color: #d8e2db;
  font-weight: 900;
}

.visually-soft {
  display: none;
}

.category-pills {
  display: flex;
  gap: 9px;
  margin: 0 0 28px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.category-pills button {
  position: relative;
  flex: 0 0 auto;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 16px;
  background: var(--white);
  color: #2d3d34;
  cursor: pointer;
  font-weight: 800;
  font-size: 14px;
}

.category-pills button.active,
.category-pills button:hover {
  color: var(--green-dark);
  border-color: rgba(var(--green-rgb), 0.32);
  background: #f4faf4;
}

.category-pills button:hover {
  box-shadow: 0 8px 18px rgba(23, 35, 29, 0.08);
  transform: translateY(-1px);
}

.category-pills button.active {
  box-shadow: inset 0 -3px 0 var(--green);
}

.cart-list {
  display: grid;
  gap: 8px;
  max-height: calc(100vh - 320px);
  overflow-y: auto;
  padding: 14px 12px;
  align-content: start;
}

.cart-item,
.admin-product {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 10px;
}

.cart-item {
  min-height: 92px;
}

.cart-item img,
.admin-product img {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  object-fit: cover;
  background: #e8efe9;
}

.cart-item h3 {
  margin: 0 0 4px;
  font-size: 14px;
  line-height: 1.2;
}

.cart-item p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

.quantity-controls strong {
  min-width: 18px;
  text-align: center;
  font-size: 13px;
}

.quantity-controls button,
.icon-btn {
  min-width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 900;
}

.cart-line-actions {
  display: grid;
  gap: 8px;
  justify-items: end;
}

.cart-line-actions strong {
  font-size: 13px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.summary-row.total {
  border: 0;
  font-size: 19px;
  font-weight: 900;
}

.checkout-body {
  background: #fbfaf4;
}

.checkout-page {
  width: min(1200px, calc(100% - 36px));
  margin: 0 auto;
  padding: 28px 0 48px;
}

.checkout-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 34px;
}

.checkout-brand .brand-mark {
  width: 42px;
  height: 42px;
}

.checkout-back {
  color: #16231c;
  font-weight: 700;
}

.checkout-back::before {
  content: "<";
  margin-right: 10px;
}

.checkout-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 20px;
  align-items: start;
}

.checkout-main {
  display: grid;
  gap: 18px;
}

.checkout-login-card,
.checkout-card,
.checkout-summary-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.checkout-login-card {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 20px;
}

.checkout-login-card .btn {
  min-width: 205px;
  min-height: 42px;
}

.checkout-login-card a {
  text-decoration: underline;
  font-weight: 800;
}

.checkout-summary .checkout-login-card {
  margin-top: 16px;
}

.checkout-service-selector {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: #fff;
}

.checkout-service-option {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 64px;
  border: 1px solid #dfe7e2;
  border-radius: 8px;
  background: #fff;
  color: #17231d;
  font: inherit;
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.service-option-copy {
  display: grid;
  gap: 2px;
  text-align: left;
}

.service-option-copy > span {
  font-size: 14px;
  font-weight: 800;
}

.service-option-copy small {
  color: #63716b;
  font-size: 11px;
  font-weight: 700;
}

.service-option-icon {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  font-size: 0;
}

.service-option-icon-pickup::before {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 4px;
  height: 17px;
  border: 3px solid currentColor;
  border-radius: 3px;
}

.service-option-icon-pickup::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 2px;
  width: 10px;
  height: 10px;
  border: 3px solid currentColor;
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
}

.service-option-icon-delivery::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 9px;
  width: 20px;
  height: 12px;
  border: 2px solid currentColor;
  border-radius: 2px;
}

.service-option-icon-delivery::after {
  content: "";
  position: absolute;
  left: 6px;
  bottom: 2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 13px 0 0 currentColor;
}

.checkout-service-option.active {
  border-color: var(--green);
  background: rgba(var(--green-rgb), 0.08);
  box-shadow: 0 0 0 3px rgba(var(--green-rgb), 0.09);
  color: var(--green);
}

.checkout-service-option.active .service-option-copy small {
  color: var(--green);
}

.checkout-service-option.disabled {
  cursor: not-allowed;
  opacity: 0.58;
  background: #f3f4f3;
  color: #727c76;
}

.checkout-card {
  padding: 20px;
}

.checkout-card-title {
  margin-bottom: 18px;
}

.checkout-card-title h1,
.checkout-card-title h2 {
  margin: 0 0 6px;
  font-size: 20px;
}

.checkout-card-title p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.checkout-mode {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.checkout-mode label,
.payment-choice {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 14px;
  background: #fbfdfb;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
}

.checkout-mode input,
.payment-choice input {
  width: auto;
  margin: 0;
  accent-color: var(--green);
}

.checkout-hidden-select {
  display: none;
}

.checkout-fields {
  display: grid;
  gap: 12px;
}

.checkout-fields.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.checkout-fields.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.checkout-card label {
  margin-bottom: 14px;
  color: #050d09;
  font-size: 14px;
}

.checkout-address-select {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
  color: #050d09;
  font-size: 14px;
  font-weight: 800;
}

.checkout-address-button {
  display: grid;
  gap: 5px;
  width: 100%;
  min-height: 72px;
  border: 1px solid #dfe7e2;
  border-radius: 8px;
  padding: 14px 16px;
  background: #f8fbf9;
  color: #17231d;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.checkout-address-button:hover,
.checkout-address-button:focus-visible {
  border-color: var(--green);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(var(--green-rgb), 0.12);
}

.checkout-address-button strong {
  font-size: 15px;
}

.checkout-address-button small {
  color: #63716b;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

.checkout-card input,
.checkout-card textarea {
  min-height: 46px;
  background: var(--white);
}

.checkout-card textarea {
  min-height: 72px;
}

.pickup-scheduler {
  display: grid;
  gap: 14px;
  margin: 18px 0 22px;
}

.pickup-scheduler-title {
  color: #050d09;
  font-size: 14px;
  font-weight: 800;
}

.pickup-date-options,
.pickup-time-options {
  display: grid;
  gap: 10px;
}

.pickup-date-options {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.pickup-time-options {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pickup-date-option,
.pickup-time-option {
  min-height: 58px;
  border: 1px solid #dfe7e2;
  border-radius: 8px;
  background: #fff;
  color: #101b15;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}

.pickup-date-option {
  display: grid;
  place-items: center;
  gap: 3px;
  padding: 9px 8px;
}

.pickup-date-option span {
  color: #607168;
  font-size: 12px;
  font-weight: 600;
}

.pickup-time-option {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding: 0 14px;
}

.pickup-time-option span {
  width: 15px;
  height: 15px;
  border: 1px solid #b8c5be;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 3px #fff;
}

.pickup-time-option:disabled {
  border-color: #e3e8e5;
  color: #9aa59f;
  background: #f6f8f7;
  cursor: not-allowed;
  box-shadow: none;
}

.pickup-time-option:disabled span {
  border-color: #cfd8d3;
  background: #edf1ef;
}

.pickup-date-option:hover,
.pickup-time-option:not(:disabled):hover,
.pickup-date-option.active,
.pickup-time-option.active {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(var(--green-rgb), 0.1);
  color: var(--green);
}

.pickup-time-option.active span {
  background: var(--green);
  border-color: var(--green);
}

.checkout-address-modal[hidden] {
  display: none;
}

.checkout-address-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 20px;
}

.checkout-address-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 18, 14, 0.52);
  backdrop-filter: blur(4px);
}

.checkout-address-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
  width: min(100%, 520px);
  border-radius: 12px;
  padding: 22px;
  background: #fff;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.24);
}

.checkout-address-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.checkout-address-dialog h2 {
  margin: 0;
  color: #10151f;
  font-size: 24px;
  letter-spacing: 0;
}

.checkout-address-dialog-head button {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #f2f3f2;
  color: #17231d;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.checkout-address-dialog label {
  display: grid;
  gap: 8px;
  margin: 0;
  color: #25362c;
  font-size: 13px;
  font-weight: 800;
}

.checkout-address-dialog input {
  width: 100%;
  min-height: 48px;
  border: 1px solid #d7d7d7;
  border-radius: 7px;
  padding: 0 12px;
  font: inherit;
}

.address-save-row {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
}

.address-save-row input {
  width: auto;
  min-height: auto;
}

body.modal-open {
  overflow: hidden;
  overscroll-behavior: contain;
}

.admin-body.modal-open .admin-app {
  max-height: 100vh;
  overflow: hidden;
}

.pac-container {
  z-index: 2100;
}

.payment-card {
  padding: 20px 20px 22px;
}

.payment-card .checkout-card-title {
  margin-bottom: 20px;
}

.payment-card .checkout-card-title h2 {
  margin: 0;
  color: #050505;
  font-size: 20px;
  line-height: 1.2;
}

.payment-alert {
  margin-bottom: 20px;
  border-radius: 6px;
  padding: 12px 10px;
  color: #000;
  background: #fde8e8;
  font-size: 13px;
  line-height: 1.2;
}

.payment-card .payment-choice {
  width: min(100%, 374px);
  min-height: 43px;
  margin: 0 0 20px;
  border: 1px solid #111;
  border-radius: 5px;
  padding: 0 12px;
  background: var(--white);
  color: #050505;
  font-size: 14px;
  font-weight: 500;
}

.payment-card .payment-choice input {
  width: 17px;
  height: 17px;
  accent-color: var(--green);
}

.payment-card .payment-choice span {
  padding-top: 1px;
}

.payment-form-box {
  display: grid;
  gap: 10px;
  border-radius: 4px;
  background: #fcfcfc;
  padding: 20px;
}

.stripe-checkout-box {
  border: 1px solid #dfe7e2;
  background: #f8fbf9;
}

.stripe-checkout-box h3 {
  margin: 0;
  color: #13251c;
  font-size: 18px;
  font-weight: 800;
}

.stripe-checkout-box p {
  margin: 0;
  color: #52635b;
  font-size: 14px;
  line-height: 1.5;
}

.payment-logos {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 27px;
  margin-bottom: 8px;
}

.visa-logo {
  color: #0756a5;
  font-size: 22px;
  font-style: italic;
  font-weight: 900;
  letter-spacing: -1px;
}

.mastercard-logo {
  position: relative;
  display: inline-block;
  width: 31px;
  height: 20px;
}

.mastercard-logo i,
.mastercard-logo b {
  position: absolute;
  top: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
}

.mastercard-logo i {
  left: 0;
  background: #eb001b;
}

.mastercard-logo b {
  right: 0;
  background: #f79e1b;
  opacity: 0.9;
}

.payment-form-box input {
  height: 48px;
  margin: 0;
  border: 1px solid #d7d7d7;
  border-radius: 5px;
  padding: 0 12px;
  background: var(--white);
  color: #17231d;
  font-size: 14px;
}

.payment-form-box input::placeholder {
  color: #48565a;
}

.payment-card-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(120px, 0.55fr);
  gap: 10px;
}

.checkout-summary {
  position: sticky;
  top: 24px;
}

.checkout-summary-card {
  padding: 18px;
}

.summary-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.summary-heading h2 {
  margin: 0;
  font-size: 18px;
}

.summary-heading span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.checkout-summary #checkoutSummary h2,
.checkout-summary #checkoutSummary .btn {
  display: none;
}

.checkout-summary .summary-row {
  padding: 9px 0;
  font-size: 13px;
}

.checkout-summary .summary-row.total {
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 16px;
  font-weight: 800;
}

.checkout-summary-card > .btn {
  margin-top: 16px;
}

.checkout-summary-items {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.checkout-summary-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  color: #07150f;
  font-size: 13px;
  line-height: 1.35;
}

.checkout-summary-item span {
  min-width: 0;
}

.checkout-summary-item strong {
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.checkout-summary-subtitle {
  margin: 0 0 8px;
  color: #07150f;
  font-size: 17px;
  font-weight: 800;
}

.checkout-side-card {
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: #fff;
}

.checkout-side-card h3 {
  margin: 0 0 6px;
  color: #07150f;
  font-size: 16px;
}

.checkout-side-card p {
  margin: 0;
  color: #53655c;
  font-size: 13px;
  line-height: 1.55;
}

.checkout-side-card strong {
  display: block;
  color: #12251c;
  font-size: 14px;
  line-height: 1.45;
}

.pickup-status-card > p {
  margin-bottom: 16px;
}

.pickup-status-list {
  display: grid;
  gap: 0;
}

.pickup-status-step {
  position: relative;
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  padding-bottom: 18px;
}

.pickup-status-step:last-child {
  padding-bottom: 0;
}

.pickup-status-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 22px;
  bottom: 0;
  width: 2px;
  background: #d6ded9;
}

.pickup-status-step > span {
  position: relative;
  z-index: 1;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border: 3px solid #b9c2bd;
  border-radius: 50%;
  background: #fff;
}

.pickup-status-step.active > span {
  border-color: var(--green);
  box-shadow: inset 0 0 0 4px #fff;
  background: var(--green);
}

.pickup-status-step strong {
  font-size: 13px;
}

.pickup-status-step small {
  display: block;
  margin-top: 2px;
  color: #53655c;
  font-size: 12px;
  line-height: 1.4;
}

.pickup-detail-card {
  display: grid;
  gap: 6px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 14px;
}

.wide {
  grid-column: 1 / -1;
}

.form-message {
  min-height: 18px;
  margin: 10px 0 0;
  color: #f00000;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  text-align: left;
}

.connect-body {
  background: var(--cream);
}

.connect-page {
  display: grid;
  justify-items: center;
  padding: clamp(42px, 8vw, 72px) 16px;
  background: var(--cream);
}

.connect-card {
  display: grid;
  justify-items: center;
  width: min(100%, 520px);
  gap: 22px;
  padding: 0;
  background: transparent;
  text-align: center;
}

.connect-logo {
  width: min(82%, 260px);
  height: auto;
  object-fit: contain;
}

.connect-intro {
  display: grid;
  gap: 10px;
}

.connect-intro h1 {
  margin: 0;
  color: #07150f;
  font-size: clamp(26px, 7vw, 36px);
  line-height: 1.08;
  letter-spacing: 0;
}

.connect-intro p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.connect-links {
  display: grid;
  width: 100%;
  gap: 12px;
}

.connect-link {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 72px;
  border: 0;
  border-radius: 12px;
  padding: 12px 14px;
  background: #ffffff;
  color: #07150f;
  text-align: left;
  box-shadow: 0 10px 24px rgba(23, 35, 29, 0.06);
}

.connect-link:hover {
  box-shadow: 0 14px 30px rgba(23, 35, 29, 0.1);
  transform: translateY(-2px);
}

.connect-link:active {
  transform: translateY(0) scale(0.99);
}

.connect-link strong,
.connect-link small {
  display: block;
}

.connect-link strong {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
}

.connect-link small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}

.connect-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 999px;
  color: var(--white);
}

.connect-icon svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
}

.connect-link-whatsapp .connect-icon {
  background: #25d366;
}

.connect-link-facebook .connect-icon {
  background: #1877f2;
}

.connect-link-instagram .connect-icon {
  background: linear-gradient(135deg, #f58529, #dd2a7b 48%, #515bd4);
}

.connect-link-instagram .connect-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
}

.connect-link-flyers {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}

.connect-link-flyers > span {
  width: 100%;
  min-width: 0;
}

.connect-review {
  display: grid;
  justify-items: center;
  width: 100%;
  gap: 10px;
  margin-top: 2px;
  border: 0;
  border-radius: 14px;
  padding: 20px 16px;
  background: #f5fbf6;
  box-shadow: 0 10px 24px rgba(23, 35, 29, 0.06);
}

.connect-review-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 999px;
  background: #ffffff;
  color: var(--gold);
}

.connect-review-icon svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
}

.connect-review h2 {
  margin: 0;
  color: #07150f;
  font-size: 20px;
  line-height: 1.2;
}

.connect-review p {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.connect-review-button {
  width: 100%;
  min-height: 48px;
  border-radius: 10px;
  font-size: 14px;
}

.connect-footer {
  display: grid;
  gap: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.connect-footer strong {
  color: #07150f;
  font-size: 13px;
}

@media (max-width: 420px) {
  .connect-card {
    border-radius: 14px;
  }

  .connect-link {
    grid-template-columns: 44px minmax(0, 1fr);
    min-height: 68px;
    padding: 11px 12px;
  }

  .connect-link-flyers {
    grid-template-columns: minmax(0, 1fr);
  }

  .connect-icon {
    width: 44px;
    height: 44px;
  }
}

.flyer-hero {
  padding: 42px clamp(18px, 5vw, 72px);
  background:
    linear-gradient(90deg, rgba(255, 253, 245, 0.96), rgba(255, 253, 245, 0.72)),
    url("https://images.unsplash.com/photo-1604719312566-8912e9227c6a?auto=format&fit=crop&w=1600&q=85") center/cover;
}

.flyer-hero p {
  max-width: 720px;
  color: var(--muted);
  line-height: 1.6;
}

.deals-page {
  background: #ffffff;
}

.sales-page {
  background:
    radial-gradient(circle at 12% 0%, rgba(var(--green-rgb), 0.18), transparent 28%),
    linear-gradient(180deg, var(--green) 0 270px, #f2faf3 270px 100%);
}

.sales-page .page-heading {
  max-width: none;
  min-height: 270px;
  margin: 0;
  padding: 42px clamp(18px, 5vw, 72px) 30px;
  box-sizing: border-box;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(3, 55, 31, 0.9) 0%, rgba(11, 117, 55, 0.68) 48%, rgba(11, 117, 55, 0.22) 100%),
    url("../images/hero-produce-market.jpg") center 58% / cover no-repeat;
}

.sales-page .page-heading p:not(.eyebrow) {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.6;
}

.sales-page .page-heading .eyebrow {
  color: #ffcf58;
}

.sales-page .page-heading h1 {
  max-width: 760px;
  color: var(--white);
}

.sales-page .deals-products {
  padding: 54px clamp(18px, 5vw, 72px) 46px;
}

.sales-page .deal-groups {
  gap: 34px;
}

.sales-page .deal-group {
  border: 1px solid rgba(var(--green-rgb), 0.14);
  border-radius: 10px;
  padding: 20px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(23, 35, 29, 0.08);
}

.sales-page .deal-group-heading {
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}

.sales-page .deal-group-heading h3 {
  color: var(--green-dark);
}

.sales-page .deal-group-heading span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.sales-page .deal-product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 768px) {
  .sales-page {
    background:
      radial-gradient(circle at 12% 0%, rgba(var(--green-rgb), 0.18), transparent 28%),
      linear-gradient(180deg, var(--green) 0 236px, #f2faf3 236px 100%);
  }

  .sales-page .page-heading {
    min-height: 236px;
    padding: 34px 18px 28px;
  }

  .sales-page .page-heading h1 {
    font-size: clamp(32px, 10vw, 40px);
  }

  .sales-page .page-heading p:not(.eyebrow) {
    max-width: 100%;
    font-size: 19px;
    line-height: 1.55;
  }

  .sales-page .deals-products {
    padding: 42px 14px 44px;
  }

  .sales-page .deal-groups {
    gap: 28px;
  }

  .sales-page .deal-group {
    border-radius: 12px;
    padding: 18px 0 20px;
    overflow: hidden;
  }

  .sales-page .deal-group-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    margin: 0 18px 18px;
    padding-bottom: 14px;
  }

  .sales-page .deal-group-heading h3 {
    min-width: 0;
    overflow: hidden;
    font-size: clamp(23px, 6.5vw, 29px);
    line-height: 1.08;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .sales-page .deal-group-heading span {
    font-size: clamp(15px, 4vw, 18px);
    line-height: 1;
    white-space: nowrap;
  }

  .sales-page .deal-product-grid {
    display: flex;
    grid-template-columns: none;
    gap: 18px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 8px 18px 12px;
    scroll-padding: 18px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .sales-page .deal-product-grid::-webkit-scrollbar {
    display: none;
  }

  .sales-page .deal-product-grid .product-card {
    flex: 0 0 min(86vw, 335px);
    width: min(86vw, 335px);
    scroll-snap-align: start;
    border-radius: 12px;
    overflow: hidden;
  }

  .sales-page .deal-product-grid .product-image-wrap {
    padding: 18px 16px 0;
  }

  .sales-page .deal-product-grid .product-image {
    height: 210px;
    object-fit: contain;
  }

  .sales-page .deal-product-grid .product-body {
    gap: 10px;
    padding: 16px 16px 18px;
  }

  .sales-page .deal-product-grid .product-meta {
    font-size: 15px;
    line-height: 1.2;
  }

  .sales-page .deal-product-grid .product-card h3 {
    display: -webkit-box;
    min-height: 72px;
    margin: 0;
    overflow: hidden;
    color: #17231d;
    font-size: 20px;
    line-height: 1.2;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .sales-page .deal-product-grid .price-row {
    min-width: 0;
    flex-wrap: nowrap;
    gap: 8px;
    margin-top: 2px;
    white-space: nowrap;
  }

  .sales-page .deal-product-grid .price {
    flex: 0 0 auto;
    font-size: 21px;
    line-height: 1;
  }

  .sales-page .deal-product-grid .old-price,
  .sales-page .deal-product-grid .badge.out {
    flex: 0 1 auto;
    min-width: 0;
    overflow: hidden;
    font-size: 16px;
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .sales-page .deal-product-grid .add-cart-btn {
    width: 100%;
    min-height: 50px;
    margin-top: 6px;
    border-radius: 999px;
    font-size: 17px;
    line-height: 1;
    white-space: nowrap;
  }
}

.flyer-layout-page {
  padding: 24px clamp(14px, 3vw, 42px) 0;
  background: #ffffff;
}

.flyer-browser {
  display: grid;
  grid-template-columns: 300px 42px 1fr 42px;
  gap: 18px;
  align-items: center;
  margin-bottom: 38px;
}

.flyer-browser-info h1 {
  margin: 0 0 4px;
  color: #050d09;
  font-size: 20px;
  line-height: 1.2;
}

.flyer-browser-info p {
  margin: 0 0 4px;
  color: #8b948f;
  font-size: 14px;
}

.flyer-browser-info strong {
  color: #121b16;
  font-size: 14px;
}

.flyer-strip-arrow {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #aab3ae;
  cursor: pointer;
  font-size: 25px;
  font-weight: 500;
}

.flyer-strip-arrow:hover {
  color: var(--green-dark);
  background: #f0f7f2;
  transform: scale(1.08);
}

.flyer-strip-arrow.dark-arrow {
  color: #050d09;
}

.flyer-thumb-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.flyer-thumb-strip::-webkit-scrollbar {
  display: none;
}

.flyer-thumb {
  position: relative;
  flex: 0 0 88px;
  height: 112px;
  border: 3px solid var(--green);
  border-radius: 2px;
  padding: 8px;
  background: #ffffff url("https://images.unsplash.com/photo-1566385101042-1a0aa0c1268c?auto=format&fit=crop&w=220&q=80") center/cover;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(23, 35, 29, 0.08);
}

.flyer-thumb span {
  position: absolute;
  left: 5px;
  right: 5px;
  bottom: 5px;
  border-radius: 4px;
  padding: 4px;
  color: #ffffff;
  background: rgba(var(--green-rgb), 0.9);
  font-size: 10px;
  font-weight: 900;
  text-align: center;
}

.flyer-thumb:hover,
.flyer-thumb.active {
  transform: translateY(-5px) rotate(-1deg);
  box-shadow: 0 18px 30px rgba(23, 35, 29, 0.16);
}

.meat-thumb {
  background: #ffffff url("https://images.unsplash.com/photo-1603048297172-c92544798d5a?auto=format&fit=crop&w=220&q=80") center/cover;
}

.grocery-thumb {
  background: #ffffff url("https://images.unsplash.com/photo-1586201375761-83865001e31c?auto=format&fit=crop&w=220&q=80") center/cover;
}

.frozen-thumb {
  background: #ffffff url("https://images.unsplash.com/photo-1596797038530-2c107229654b?auto=format&fit=crop&w=220&q=80") center/cover;
}

.bakery-thumb {
  background: #ffffff url("https://images.unsplash.com/photo-1509440159596-0249088772ff?auto=format&fit=crop&w=220&q=80") center/cover;
}

.dairy-thumb {
  background: #ffffff url("https://images.unsplash.com/photo-1488477181946-6428a0291777?auto=format&fit=crop&w=220&q=80") center/cover;
}

.flyer-showcase {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 30px;
}

.market-flyer {
  position: relative;
  min-height: 570px;
  border: 7px solid var(--green);
  padding: 16px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(23, 35, 29, 0.11);
  overflow: hidden;
  isolation: isolate;
  transition: transform 220ms ease, box-shadow 220ms ease, filter 220ms ease;
}

.market-flyer::before {
  display: none;
}

.market-flyer::after {
  content: "View flyer";
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  width: 112px;
  height: 112px;
  place-items: center;
  border-radius: 999px;
  color: var(--green-dark);
  background: #ffffff;
  box-shadow: 0 20px 42px rgba(23, 35, 29, 0.18);
  font-size: 13px;
  font-weight: 900;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.76);
  transition: opacity 200ms ease, transform 200ms ease;
}

.market-flyer:hover {
  z-index: 2;
  filter: saturate(1.08);
  transform: translateY(-10px) scale(1.015);
  box-shadow: 0 30px 70px rgba(23, 35, 29, 0.2);
}

.market-flyer:hover::before {
  display: none;
}

.market-flyer:hover::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.market-flyer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
  border-radius: 8px;
  padding: 12px;
  color: #ffffff;
  background: var(--green);
}

.market-flyer-head span {
  font-size: 13px;
  font-weight: 900;
}

.market-flyer-head strong {
  font-size: 22px;
  text-transform: uppercase;
}

.market-flyer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.market-flyer-grid div {
  min-height: 132px;
  border: 1px solid #dbe8df;
  border-radius: 8px;
  padding: 8px;
  background: #ffffff;
}

.market-flyer-grid img {
  width: 100%;
  height: 68px;
  border-radius: 6px;
  object-fit: cover;
}

.market-flyer-grid b,
.market-flyer-grid em,
.market-flyer p {
  display: block;
}

.market-flyer-grid b {
  margin-top: 7px;
  color: #17231d;
  font-size: 12px;
}

.market-flyer-grid em {
  width: fit-content;
  margin-top: 5px;
  border-radius: 999px;
  padding: 4px 8px;
  color: #ffffff;
  background: #ed1c2f;
  font-size: 14px;
  font-style: normal;
  font-weight: 900;
}

.market-flyer p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.rewards-flyer {
  border-color: var(--green);
  background: #ffffff;
}

.festival-flyer {
  border-color: var(--green);
  background: #ffffff;
}

.flyer-page-body .footer-signup h3:first-child,
.flyer-page-body .social-links {
  display: none;
}

.real-flyer-shell {
  width: min(100%, 1380px);
  margin: 0 auto 28px;
}

.real-flyer-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.real-flyer-heading h1 {
  margin: 6px 0 6px;
  color: #10251a;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.08;
}

.real-flyer-heading p:not(.eyebrow) {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.real-flyer-tabs,
.real-flyer-thumbs {
  display: flex;
  align-items: center;
  gap: 8px;
}

.real-flyer-tabs button {
  min-height: 38px;
  border: 0;
  border-radius: 999px;
  padding: 0 16px;
  cursor: pointer;
  font-weight: 900;
}

.real-flyer-tabs button:hover,
.real-flyer-tabs button.active {
  color: var(--white);
  background: var(--green);
}

.real-flyer-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 140px;
  gap: 20px;
  align-items: start;
}

.real-flyer-thumbs {
  flex-direction: column;
  align-items: stretch;
  max-height: calc(100vh - 210px);
  overflow-y: auto;
  padding: 2px 2px 10px;
  scrollbar-width: thin;
}

.real-flyer-thumbs::-webkit-scrollbar {
  width: 6px;
}

.flyer-page-thumb {
  position: relative;
  flex: 0 0 154px;
  width: 100%;
  height: 154px;
  overflow: hidden;
  border: 2px solid #e5e5e5;
  border-radius: 10px;
  padding: 0;
  background: var(--white);
  box-shadow: 0 12px 24px rgba(23, 35, 29, 0.1);
  cursor: pointer;
}

.flyer-page-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 200ms ease, filter 200ms ease;
}

.flyer-page-thumb span {
  position: absolute;
  left: 7px;
  right: 7px;
  bottom: 7px;
  border-radius: 999px;
  padding: 6px 8px;
  color: var(--white);
  background: rgba(var(--green-rgb), 0.94);
  font-size: 11px;
  font-weight: 900;
  text-align: center;
}

.flyer-page-thumb:hover,
.flyer-page-thumb.active {
  border-color: #e5e5e5;
  transform: translateX(-4px);
  box-shadow: 0 20px 38px rgba(23, 35, 29, 0.18);
}

.flyer-page-thumb:hover img,
.flyer-page-thumb.active img {
  filter: saturate(1.08);
  transform: scale(1.05);
}

.flyer-page-thumb.active::after {
  content: "";
  position: absolute;
  inset: 6px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 7px;
  pointer-events: none;
}

.flyer-viewer {
  position: relative;
  min-width: 0;
  border: 1px solid rgba(var(--green-rgb), 0.14);
  border-radius: 18px;
  padding: clamp(10px, 1.4vw, 16px);
  background: #ffffff;
  box-shadow: 0 22px 60px rgba(23, 35, 29, 0.12);
}

.flyer-pan-stage {
  position: relative;
  display: grid;
  min-height: calc(100vh - 250px);
  overflow: hidden;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
  cursor: grab;
  touch-action: none;
  justify-items: center;
  align-items: center;
}

.flyer-pan-stage.is-dragging {
  cursor: grabbing;
}

.flyer-pan-stage img {
  max-width: 100%;
  max-height: calc(100vh - 282px);
  width: auto;
  height: auto;
  object-fit: contain;
  transform-origin: center;
  transition: transform 120ms ease;
  user-select: none;
  -webkit-user-drag: none;
}

.flyer-page-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: grid;
  width: 48px;
  height: 64px;
  place-items: center;
  border: 1px solid rgba(var(--green-rgb), 0.14);
  border-radius: 999px;
  color: var(--green-dark);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 34px rgba(23, 35, 29, 0.16);
  cursor: pointer;
  font-size: 28px;
  font-weight: 900;
  transform: translateY(-50%);
}

.flyer-page-arrow:hover {
  color: var(--white);
  background: var(--green);
  transform: translateY(-50%) scale(1.04);
}

.flyer-page-arrow.previous {
  left: 22px;
}

.flyer-page-arrow.next {
  right: 22px;
}

.flyer-section {
  padding: 34px clamp(18px, 5vw, 72px) 26px;
  background: #ffffff;
}

.deals-heading {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.deals-heading h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 36px);
}

.flyer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.flyer-card {
  position: relative;
  min-height: 330px;
  border-radius: 8px;
  padding: 18px;
  color: var(--ink);
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(23, 35, 29, 0.14);
  isolation: isolate;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.flyer-card::before {
  display: none;
}

.flyer-card::after {
  display: none;
}

.flyer-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(23, 35, 29, 0.18);
}

.flyer-card.blue {
  background: #ffffff;
}

.flyer-card.weekend {
  background: #ffffff;
}

.flyer-card.green-flyer {
  background: #ffffff;
}

.flyer-card.dark {
  background: #ffffff;
}

.flyer-logo,
.flyer-card p,
.flyer-card h3,
.flyer-card strong,
.flyer-card small,
.flyer-card em {
  display: block;
}

.flyer-logo {
  width: fit-content;
  margin-bottom: 38px;
  border-radius: 999px;
  padding: 7px 11px;
  background: #ffffff;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 900;
}

.flyer-card p {
  margin: 0 0 6px;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.flyer-card h3 {
  margin: 0 0 8px;
  font-size: 31px;
  line-height: 1;
}

.flyer-card strong {
  width: fit-content;
  margin: 18px 0 10px;
  border-radius: 999px;
  padding: 12px 18px;
  background: #ed2929;
  color: var(--white);
  font-size: 30px;
  line-height: 1;
}

.flyer-card small {
  max-width: 230px;
  font-size: 15px;
  font-weight: 900;
}

.flyer-card em {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  border-radius: 8px;
  padding: 10px 12px;
  background: #ffffff;
  color: var(--ink);
  font-style: normal;
  font-weight: 900;
}

.deals-products {
  padding-top: 26px;
}

.deal-groups {
  display: grid;
  gap: 28px;
}

.deal-group {
  padding-bottom: 10px;
}

.deal-group-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.deal-group-heading h3 {
  margin: 0;
  font-size: 22px;
}

.deal-group-heading a {
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 900;
  text-decoration: underline;
}

.deal-product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.map-placeholder {
  display: grid;
  height: 260px;
  margin-top: 20px;
  place-items: center;
  border-radius: 8px;
  color: var(--green-dark);
  background: repeating-linear-gradient(45deg, #e7f1e9, #e7f1e9 12px, #f5faf5 12px, #f5faf5 24px);
  font-weight: 900;
}

.live-map {
  height: 360px;
  margin-top: 34px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #eef7ef;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.live-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.map-directions-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--green-dark);
  font-weight: 900;
  text-decoration: underline;
}

.store-hours {
  display: grid;
  grid-template-columns: auto minmax(180px, 260px);
  gap: 8px 12px;
  margin-top: 12px;
  align-items: start;
  justify-content: start;
}

.store-hours > strong {
  padding-top: 2px;
}

.store-hours dl {
  margin: 0;
}

.store-hours div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
  margin-bottom: 5px;
}

.store-hours dt,
.store-hours dd {
  margin: 0;
}

.store-hours dt {
  color: #31423a;
}

.store-hours dd {
  font-weight: 700;
}

.check-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.check-row label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
}

.check-row input {
  width: auto;
  margin: 0;
}

.admin-products {
  min-width: 0;
}

#adminProductList {
  display: table-row-group;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.admin-body {
  --green: #1d7a46;
  --green-rgb: 29, 122, 70;
  background: #f4f6f8;
}

.admin-app {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 22px;
  padding: 24px;
  color: #17231d;
}

.admin-body.admin-logged-out .admin-app {
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  padding: 24px;
}

.admin-body.admin-logged-out .admin-sidebar,
.admin-body.admin-logged-out .admin-topbar,
.admin-body.admin-logged-out #adminWorkspace {
  display: none !important;
}

.admin-body.admin-logged-out .admin-main {
  width: min(460px, 100%);
}

.admin-body.admin-logged-out .admin-login-panel {
  max-width: none;
}

.admin-body.admin-logged-out .admin-login-card {
  padding: 28px;
}

.admin-login-card::before {
  content: "Atiya's Fresh Farm Admin";
  display: block;
  margin-bottom: 14px;
  color: #d48a13;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.admin-sidebar,
.admin-card,
.admin-topbar {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(23, 35, 29, 0.06);
}

.admin-sidebar {
  height: fit-content;
  position: sticky;
  top: 24px;
  padding: 16px;
}

.admin-brand-card,
.admin-store-link,
.admin-logout {
  display: block;
  width: 100%;
  border-radius: 8px;
  text-decoration: none;
}

.admin-brand-card {
  padding: 16px;
  background: #17231d;
  color: var(--white);
}

.admin-brand-card span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.admin-brand-card strong {
  display: block;
  margin-top: 8px;
  font-size: 20px;
}

.admin-side-nav {
  display: grid;
  gap: 6px;
  margin-top: 18px;
}

.admin-nav-group {
  display: grid;
  gap: 5px;
}

.admin-side-nav button,
.admin-store-link,
.admin-logout {
  min-height: 42px;
  border: 0;
  padding: 0 14px;
  background: transparent;
  color: #52615a;
  font: inherit;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.admin-side-nav .admin-nav-parent {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-nav-chevron {
  font-size: 12px;
  transition: transform 180ms ease;
}

.admin-nav-group.open .admin-nav-chevron {
  transform: rotate(180deg);
}

.admin-nav-submenu {
  display: none;
  gap: 4px;
  padding-left: 14px;
}

.admin-nav-group.open .admin-nav-submenu {
  display: grid;
}

.admin-nav-submenu button {
  min-height: 36px;
  border-radius: 8px;
  padding-left: 22px;
  font-size: 14px;
}

.admin-nav-group.active > .admin-nav-parent {
  border-radius: 8px;
  background: #eef6f0;
  color: #17231d;
}

.admin-side-nav button.active,
.admin-side-nav button:hover {
  border-radius: 8px;
  background: #17231d;
  color: var(--white);
}

.admin-store-link,
.admin-logout {
  display: flex;
  align-items: center;
  margin-top: 14px;
  border: 1px solid var(--line);
}

.admin-logout {
  color: #b42318;
}

.admin-main {
  min-width: 0;
}

.admin-topbar {
  padding: 18px 20px;
  margin-bottom: 18px;
}

.admin-topbar h1 {
  margin: 4px 0;
  font-size: 28px;
  letter-spacing: 0;
}

.admin-topbar p:last-child,
.admin-card-header p,
.admin-record p {
  color: var(--muted);
}

.admin-login-panel {
  max-width: 460px;
}

.admin-card {
  padding: 18px;
}

.admin-login-card h2,
.admin-form h2,
.admin-card-header h2 {
  margin: 0;
  font-size: 22px;
}

.admin-login-card label,
.admin-form label {
  display: grid;
  gap: 7px;
  margin-top: 14px;
  color: #31443a;
  font-size: 14px;
  font-weight: 800;
}

.admin-login-card input,
.admin-form input,
.admin-form textarea,
.admin-form select,
.admin-order-tools select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  font: inherit;
}

.admin-form textarea {
  min-height: 96px;
  resize: vertical;
}

.admin-view {
  display: none;
}

.admin-view.active {
  display: grid;
  gap: 18px;
}

.dashboard-panel {
  display: grid;
  gap: 20px;
}

.dashboard-toolbar {
  display: grid;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e6e9ed;
}

.dashboard-toolbar h2 {
  margin: 0;
  font-size: 22px;
}

.dashboard-toolbar p {
  margin: 6px 0 0;
  color: #667085;
}

.dashboard-controls {
  display: flex;
  align-items: end;
  gap: 14px;
  flex-wrap: wrap;
}

.dashboard-controls label {
  display: grid;
  gap: 6px;
  color: #7a8287;
  font-size: 12px;
  font-weight: 800;
}

.dashboard-controls input,
.dashboard-controls select {
  min-height: 42px;
  border: 1px solid #d8dee4;
  border-radius: 8px;
  padding: 0 12px;
  background: #fff;
  font: inherit;
}

.dashboard-date-row {
  display: flex;
  gap: 8px;
}

.dashboard-branch {
  color: #52615a;
  font-weight: 700;
  padding-bottom: 11px;
}

.dashboard-branch strong {
  color: #e33d6f;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid #e7ebef;
  border-radius: 8px;
  overflow: hidden;
}

.dashboard-stat-card {
  display: grid;
  gap: 4px;
  padding: 20px;
  border-right: 1px solid #e7ebef;
  background: #fff;
}

.dashboard-stat-card:last-child {
  border-right: 0;
}

.dashboard-stat-card span {
  color: #8a9297;
  font-weight: 800;
}

.dashboard-stat-card strong {
  color: #000;
  font-size: 20px;
}

.dashboard-stat-card b {
  color: #00b84a;
  font-size: 14px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(300px, 0.9fr);
  gap: 20px;
}

.dashboard-grid.three {
  grid-template-columns: minmax(220px, 0.8fr) minmax(280px, 1fr) minmax(280px, 1fr);
}

.dashboard-chart-card {
  min-width: 0;
  border: 1px solid #edf0f2;
  border-radius: 8px;
  padding: 16px;
  background: #fff;
}

.dashboard-chart-card h3 {
  margin: 0 0 16px;
  font-size: 14px;
}

.sales-orders-chart {
  min-height: 280px;
  display: flex;
  align-items: end;
  gap: 28px;
  padding: 10px 10px 0;
  border-bottom: 1px solid #d9dde2;
  background: repeating-linear-gradient(to top, transparent, transparent 54px, #eef1f4 55px);
  overflow-x: auto;
}

.sales-orders-day {
  min-width: 90px;
  display: grid;
  gap: 8px;
  justify-items: center;
}

.sales-orders-bars {
  position: relative;
  width: 72px;
  height: 230px;
  display: flex;
  align-items: end;
}

.sales-bar {
  width: 100%;
  border-radius: 4px 4px 0 0;
  background: #df1550;
}

.orders-line {
  position: absolute;
  left: -8px;
  right: -8px;
  height: 3px;
  border-radius: 999px;
  background: #273765;
}

.dashboard-donut {
  width: min(260px, 100%);
  aspect-ratio: 1;
  margin: 8px auto 18px;
  border-radius: 50%;
  position: relative;
}

.dashboard-donut::after {
  content: "";
  position: absolute;
  inset: 24%;
  border-radius: 50%;
  background: #fff;
}

.dashboard-legend {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 16px;
  color: #61686d;
  font-size: 12px;
}

.dashboard-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.dashboard-legend i {
  width: 24px;
  height: 10px;
  display: inline-block;
}

.platform-chart,
.top-areas-list {
  display: grid;
  gap: 14px;
}

.platform-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) 120px;
  gap: 12px;
  align-items: center;
}

.platform-row div,
.top-area-row b {
  height: 10px;
  background: #c3c8d3;
  border-radius: 999px;
  overflow: hidden;
}

.platform-row b,
.top-area-row i {
  display: block;
  height: 100%;
  background: #283866;
}

.dashboard-products-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.dashboard-products-table th,
.dashboard-products-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #edf0f2;
  text-align: left;
}

.dashboard-products-table th {
  background: #f6f6f6;
  color: #111;
}

.orders-hour-chart {
  display: grid;
  gap: 5px;
}

.hour-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-height: 16px;
  font-size: 12px;
}

.hour-row b {
  height: 16px;
  background: #df1550;
}

.top-area-row {
  display: grid;
  gap: 8px;
}

.top-area-row div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #45515b;
}

.admin-grid {
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.categories-admin-grid {
  grid-template-columns: minmax(0, 1fr);
}

.categories-list-card {
  width: 100%;
}

.category-header-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.admin-card-header {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin-bottom: 16px;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.admin-stat-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(23, 35, 29, 0.06);
}

.admin-stat-card span {
  color: var(--muted);
  font-weight: 800;
}

.admin-stat-card strong {
  display: block;
  margin-top: 10px;
  font-size: 34px;
}

.admin-list {
  display: grid;
  gap: 12px;
}

.admin-record {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #fff;
}

.product-record,
.category-record {
  grid-template-columns: 34px 74px minmax(0, 1fr) auto;
}

.admin-record img,
.category-image-picker img {
  width: 74px;
  height: 74px;
  border-radius: 8px;
  object-fit: cover;
  background: #f4f6f8;
}

.admin-thumb-button,
.category-image-picker {
  position: relative;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.admin-thumb-button span,
.category-image-picker span {
  position: absolute;
  inset: auto 6px 6px;
  border-radius: 6px;
  padding: 4px 6px;
  background: rgba(23, 35, 29, 0.82);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  text-align: center;
}

.admin-category-image-editor {
  display: flex;
  justify-content: flex-start;
  margin-top: 14px;
}

.category-image-picker {
  width: 132px;
  height: 112px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #f4f6f8;
}

.category-image-picker img {
  width: 100%;
  height: 100%;
  border-radius: 0;
}

.flyer-image-picker {
  width: 170px;
  height: 220px;
}

.flyers-list-card {
  width: 100%;
}

.flyer-admin-list {
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 18px;
  align-items: stretch;
}

.flyer-admin-list .flyer-record {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto minmax(72px, 1fr) auto;
  gap: 12px;
  align-items: stretch;
  min-height: 430px;
  padding: 14px;
}

.flyer-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.flyer-card-top .badge {
  flex: 0 0 auto;
}

.flyer-drag-handle {
  min-width: 34px;
}

.flyer-thumb-button {
  display: grid;
  width: 100%;
  min-height: 238px;
  place-items: center;
  overflow: hidden;
  border: 1px solid #e0e7e3;
  border-radius: 10px;
  padding: 10px;
  background: #ffffff;
}

.flyer-thumb-button img {
  width: 100%;
  height: 218px;
  max-width: 190px;
  border-radius: 8px;
  object-fit: contain;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(23, 35, 29, 0.08);
}

.flyer-thumb-button span {
  left: 50%;
  right: auto;
  bottom: 16px;
  transform: translateX(-50%);
  white-space: nowrap;
}

.flyer-card-body {
  min-width: 0;
}

.flyer-card-body h3 {
  display: -webkit-box;
  min-height: 42px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-height: 1.25;
}

.flyer-card-body p {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.flyer-card-actions {
  justify-content: stretch;
  margin-top: auto;
}

.flyer-card-actions .btn {
  flex: 1;
}

@media (max-width: 720px) {
  .flyer-admin-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .flyer-admin-list .flyer-record {
    min-height: 0;
  }
}

.product-form-image-picker {
  width: 144px;
  height: 112px;
}

.admin-record h3 {
  margin: 0 0 5px;
  font-size: 17px;
}

.admin-record p {
  margin: 0 0 8px;
  font-size: 14px;
}

.admin-empty {
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 28px;
  color: var(--muted);
  text-align: center;
}

.admin-order-tools {
  display: flex;
  gap: 10px;
  align-items: center;
}

.admin-order-tools select {
  min-width: 180px;
}

.orders-panel {
  padding: 24px;
  overflow: visible;
}

.orders-toolbar,
.orders-title-row,
.orders-actions,
.orders-filter-row,
.orders-count-line {
  display: flex;
  align-items: center;
  gap: 14px;
}

.orders-toolbar {
  justify-content: space-between;
  padding-bottom: 22px;
  border-bottom: 1px solid #edf1ef;
}

.orders-title-row h2 {
  margin: 0 22px 0 0;
  color: #10151f;
  font-size: 22px;
}

.orders-search {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(260px, 42vw);
  min-height: 46px;
  border-radius: 8px;
  padding: 0 14px;
  background: #f5f5f6;
  color: #7a8380;
}

.orders-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
}

.orders-filter-row {
  flex-wrap: wrap;
  margin: 24px 0 14px;
}

.orders-filter-row select {
  min-width: 160px;
  min-height: 40px;
  border: 0;
  border-radius: 999px;
  padding: 0 38px 0 16px;
  background: #f4f4f5;
  color: #17231d;
  font: inherit;
  font-weight: 800;
}

.orders-count-line {
  justify-content: space-between;
  margin-bottom: 22px;
  color: #111;
  font-weight: 800;
}

.fpo-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #34423b;
  font-weight: 800;
}

.fpo-toggle input {
  position: absolute;
  opacity: 0;
}

.fpo-toggle span {
  position: relative;
  width: 38px;
  height: 20px;
  border-radius: 999px;
  background: #d9dde2;
}

.fpo-toggle span::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.fpo-toggle input:checked + span {
  background: #ea3e82;
}

.fpo-toggle input:checked + span::before {
  transform: translateX(18px);
}

.orders-export {
  border-color: #ea3e82 !important;
  background: #ea3e82 !important;
  color: #fff !important;
}

.orders-table-wrap {
  overflow-x: auto;
}

.orders-table {
  width: 100%;
  min-width: 1120px;
  border-collapse: collapse;
  color: #252c29;
}

.orders-table th,
.orders-table td {
  padding: 12px 12px;
  border-bottom: 1px solid #eef2f0;
  text-align: left;
  vertical-align: middle;
  font-size: 14px;
}

.orders-table th {
  color: #303734;
  font-weight: 900;
}

.orders-table tbody tr {
  background: #f0f1f4;
}

.orders-table tbody tr:hover {
  background: #e9ecef;
}

.orders-table td span {
  display: block;
  color: #3d4541;
}

.order-table-link,
.order-link-button {
  border: 0;
  padding: 0;
  background: transparent;
  color: #252c29;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.order-table-link:hover,
.order-link-button:hover {
  text-decoration: underline;
}

.order-status-pill,
.payment-pill,
.branch-pill,
.paid-badge {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  border-radius: 999px;
  padding: 0 14px;
  background: #fff0bd;
  color: #cb8500 !important;
  font-size: 13px;
  font-weight: 800;
  text-transform: capitalize;
}

.order-status-pill.confirmed {
  background: #dff8e8;
  color: #0f7a3e !important;
}

.order-status-pill.inprocess {
  background: #fff0bd;
  color: #cb8500 !important;
}

.order-status-pill.delivered {
  background: #ddf6f1;
  color: #087c6d !important;
}

.order-status-pill.cancelled {
  background: #ffe7e7;
  color: #b42318 !important;
}

.payment-pill,
.branch-pill {
  background: #e1e4ea;
  color: #60706a !important;
}

.source-icon {
  color: #7b8581 !important;
  font-size: 12px;
}

.order-detail-view {
  color: #111822;
}

.order-detail-header,
.order-detail-actions,
.order-customer-strip,
.order-detail-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.order-detail-header {
  justify-content: space-between;
  margin-bottom: 28px;
}

.order-detail-header h2 {
  margin: 0;
  font-size: 34px;
  letter-spacing: 0;
}

.order-detail-header p {
  margin: 4px 0 0;
  color: #34423b;
}

.paid-badge {
  min-height: 32px;
  background: #c9fbd8;
  color: #0a9f3d !important;
  font-size: 13px;
  vertical-align: middle;
}

.order-detail-actions button,
.order-customer-strip button,
.order-detail-card-head button,
.timeline-status-pill {
  min-height: 40px;
  border: 0;
  border-radius: 8px;
  padding: 0 14px;
  background: #f4f4f5;
  color: #10151f;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.order-close-button {
  width: 36px;
  min-height: 36px !important;
  border: 2px solid #e9491d !important;
  border-radius: 50% !important;
  padding: 0 !important;
  color: #e9491d !important;
  font-size: 24px !important;
  line-height: 1;
}

.order-customer-strip,
.order-detail-card {
  border: 1px solid #e1e8e4;
  border-radius: 8px;
  background: #fff;
}

.order-customer-strip {
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 12px;
  padding: 10px 16px;
}

.order-customer-strip span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
}

.order-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(360px, 0.95fr);
  gap: 18px;
  align-items: start;
}

.order-detail-left,
.order-detail-side {
  display: grid;
  gap: 16px;
}

.order-detail-card {
  padding: 16px;
}

.order-detail-card h3 {
  margin: 0 0 16px;
  font-size: 16px;
}

.order-detail-card-head {
  justify-content: space-between;
  margin-bottom: 14px;
}

.order-detail-card-head h3 {
  margin: 0;
}

.order-detail-list {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 14px;
  margin: 0;
}

.order-detail-list dt {
  color: #53615c;
}

.order-detail-list dd {
  margin: 0;
  font-weight: 800;
}

.order-items-wrap {
  overflow-x: auto;
}

.order-items-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.order-items-table th,
.order-items-table td {
  padding: 18px 24px;
  border-top: 1px solid #edf1ef;
  text-align: left;
  vertical-align: top;
}

.order-items-table th {
  color: #343b38;
  font-size: 14px;
}

.order-items-table small {
  display: block;
  margin-top: 6px;
  color: #646f6a;
}

.order-timeline {
  display: grid;
  gap: 0;
}

.timeline-row {
  position: relative;
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr) auto;
  gap: 10px;
  padding: 10px 0 16px;
  color: #5d6964;
}

.timeline-row::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 24px;
  bottom: -8px;
  width: 2px;
  background: #cdd4d1;
}

.timeline-row:last-child::before {
  display: none;
}

.timeline-row span {
  width: 14px;
  height: 14px;
  margin-top: 3px;
  border: 4px solid #8a938f;
  border-radius: 50%;
  background: #fff;
}

.timeline-row.active span {
  border-color: #d91b5c;
}

.timeline-row.current span {
  border-color: #0f7a3e;
}

.timeline-row.cancelled span {
  border-color: #b42318;
}

.timeline-row strong {
  display: block;
  color: #454f4b;
}

.timeline-row p {
  margin: 6px 0 0;
}

.timeline-row b {
  align-self: start;
  border-radius: 7px;
  padding: 7px 12px;
  background: #d7d9dd;
  color: #5d35d2;
  font-size: 12px;
}

.timeline-status-pill {
  align-self: start;
  background: #eef6ff;
  color: #1e73d8;
  font-size: 12px;
}

.timeline-status-pill.confirmed.active {
  background: #dff8e8;
  color: #0f7a3e;
}

.timeline-status-pill.inprocess.active {
  background: #fff0bd;
  color: #cb8500;
}

.timeline-status-pill.delivered.active {
  background: #ddf6f1;
  color: #087c6d;
}

.timeline-status-pill.cancelled.active {
  background: #ffe7e7;
  color: #b42318;
}

.timeline-status-pill.clickable {
  background: #eef6ff;
  color: #1e73d8;
}

.timeline-status-pill.clickable:hover {
  background: #17231d;
  color: #fff;
}

.timeline-status-pill.disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.order-map-box {
  display: grid;
  align-content: center;
  gap: 12px;
  min-height: 220px;
  border-radius: 8px;
  padding: 18px;
  background:
    linear-gradient(90deg, rgba(29, 122, 70, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(29, 122, 70, 0.08) 1px, transparent 1px),
    #f5f8f6;
  background-size: 24px 24px;
  color: #17231d;
}

.order-map-box.has-map {
  padding: 0;
  overflow: hidden;
  background: #f5f8f6;
}

.order-map-box iframe {
  width: 100%;
  min-height: 220px;
  border: 0;
}

.order-map-box div {
  display: grid;
  gap: 8px;
  padding: 14px 16px 16px;
  background: #fff;
}

.order-map-box span {
  color: #53615c;
}

.order-map-box a {
  width: fit-content;
  color: #0f6840;
  font-weight: 900;
}

.print-preview-modal {
  z-index: 150;
}

.print-preview-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(1180px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  overflow: hidden;
}

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

.print-preview-header {
  justify-content: space-between;
  border-bottom: 1px solid #e5ebe7;
  padding-bottom: 14px;
}

.print-preview-header h2 {
  margin: 0;
}

.print-preview-header p {
  margin: 4px 0 0;
  color: #65736d;
}

.print-preview-body {
  display: grid;
  gap: 20px;
  overflow: auto;
  padding: 18px 4px 4px;
  background: #f7f8f7;
}

.order-print-slip {
  width: min(860px, 100%);
  margin: 0 auto;
  padding: 34px 42px;
  background: #fff;
  color: #10151f;
  box-shadow: 0 8px 30px rgba(17, 24, 39, 0.12);
}

.order-print-slip-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.8fr);
  gap: 28px;
  align-items: start;
}

.order-print-brand,
.order-print-billing {
  display: grid;
  gap: 6px;
}

.order-print-brand img {
  width: 110px;
  max-height: 70px;
  object-fit: contain;
  object-position: left center;
}

.order-print-brand strong {
  font-size: 20px;
}

.order-print-brand span,
.order-print-billing span {
  color: #44506c;
  line-height: 1.35;
}

.order-print-brand h3 {
  margin: 6px 0 0;
  color: #e41451;
  font-size: 20px;
  letter-spacing: 0;
}

.order-print-billing strong {
  font-size: 16px;
}

.order-print-meta {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin: 18px 0 14px;
  border-top: 1px solid #e5e9ee;
  border-bottom: 1px solid #e5e9ee;
  padding: 14px 0;
}

.order-print-meta div {
  display: grid;
  gap: 4px;
}

.order-print-meta span {
  color: #44506c;
  font-size: 12px;
  font-weight: 800;
}

.order-print-meta strong {
  font-size: 13px;
}

.order-print-items {
  width: 100%;
  border-collapse: collapse;
}

.order-print-items th,
.order-print-items td {
  border-bottom: 1px solid #e8edf2;
  padding: 8px 8px;
  text-align: left;
  vertical-align: top;
}

.order-print-items th {
  background: #f0f2f5;
  font-size: 14px;
}

.order-print-items td:last-child,
.order-print-items th:last-child {
  text-align: right;
}

.order-print-items small {
  display: block;
  margin-top: 2px;
  color: #111827;
  font-size: 11px;
}

@media (max-width: 1100px) {
  .orders-toolbar,
  .order-detail-header,
  .order-customer-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .order-detail-grid {
    grid-template-columns: 1fr;
  }

  .orders-search {
    width: min(100%, 360px);
  }
}

@media (max-width: 760px) {
  .print-preview-header,
  .print-preview-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .order-print-slip {
    padding: 22px;
  }

  .order-print-slip-header,
  .order-print-meta {
    grid-template-columns: 1fr;
  }
}

@media print {
  .admin-sidebar,
  .admin-topbar,
  .orders-panel,
  .order-detail-actions,
  .admin-store-link,
  .admin-logout {
    display: none !important;
  }

  .admin-app {
    display: block;
    padding: 0;
  }

  .admin-card,
  .order-detail-card,
  .order-customer-strip {
    box-shadow: none !important;
  }

  .order-detail-grid {
    grid-template-columns: 1fr;
  }

  body.printing-order-slips .admin-app,
  body.printing-order-slips .admin-topbar,
  body.printing-order-slips .print-preview-header,
  body.printing-order-slips .admin-modal-backdrop {
    display: none !important;
  }

  body.printing-order-slips .print-preview-modal {
    position: static !important;
    display: block !important;
    padding: 0 !important;
  }

  body.printing-order-slips .print-preview-dialog {
    display: block !important;
    width: 100% !important;
    max-height: none !important;
    padding: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  body.printing-order-slips .print-preview-body {
    display: block !important;
    overflow: visible !important;
    padding: 0 !important;
    background: #fff !important;
  }

  body.printing-order-slips .order-print-slip {
    width: auto !important;
    min-height: 100vh;
    margin: 0 !important;
    padding: 22mm 16mm !important;
    box-shadow: none !important;
    page-break-after: always;
    break-after: page;
  }

  body.printing-order-slips .order-print-slip:last-child {
    page-break-after: auto;
    break-after: auto;
  }
}

.check-row.single {
  display: inline-flex;
  align-items: center;
}

.check-row.single input {
  width: auto;
}

.items-panel {
  overflow: visible;
}

.items-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.items-header h2 {
  margin: 0;
  color: #171c26;
  font-size: 26px;
}

.items-header-actions {
  display: contents;
}

.items-header-actions .items-search {
  grid-column: 2;
  justify-self: start;
}

.items-header-actions .items-dropdown {
  justify-self: start;
}

.items-header-actions .items-add {
  grid-column: 3;
  justify-self: end;
}

.items-filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.items-search,
.items-filters select {
  min-height: 42px;
  border: 1px solid #d9e1df;
  border-radius: 7px;
  background: #fff;
  color: #17231d;
  font: inherit;
  font-weight: 700;
}

.items-search {
  width: min(260px, 28vw);
  min-width: 220px;
  padding: 0 14px;
}

.items-filters {
  padding: 12px;
  border: 1px solid #edf1ef;
  border-radius: 8px;
  background: #fbfcfc;
}

.items-filters select {
  padding: 0 34px 0 12px;
}

.visually-hidden-select {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
}

.items-custom-select {
  position: relative;
  min-width: 180px;
}

.items-custom-select-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 42px;
  border: 1px solid #d9e1df;
  border-radius: 7px;
  padding: 0 34px 0 12px;
  background: #fff;
  color: #17231d;
  font: inherit;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.items-custom-select-button::after {
  content: "";
  position: absolute;
  right: 13px;
  width: 8px;
  height: 8px;
  border-right: 2px solid #52615a;
  border-bottom: 2px solid #52615a;
  transform: translateY(-2px) rotate(45deg);
}

.items-custom-select-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 20;
  display: grid;
  width: max(100%, 220px);
  max-height: 260px;
  overflow-y: auto;
  border: 1px solid #dfe7e3;
  border-radius: 8px;
  padding: 6px;
  background: #fff;
  box-shadow: 0 18px 38px rgba(23, 35, 29, 0.12);
}

.items-custom-select-menu[hidden] {
  display: none;
}

.items-custom-select-menu button {
  min-height: 36px;
  border: 0;
  border-radius: 6px;
  padding: 0 10px;
  background: transparent;
  color: #25332d;
  font: inherit;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.items-custom-select-menu button:hover,
.items-custom-select-menu button.active {
  background: #f3f7f5;
  color: #0f5e35;
}

.items-dropdown {
  position: relative;
}

.items-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 8;
  display: none;
  min-width: 210px;
  border: 1px solid #dfe7e3;
  border-radius: 8px;
  padding: 6px;
  background: #fff;
  box-shadow: 0 18px 38px rgba(23, 35, 29, 0.12);
}

.items-dropdown.open .items-dropdown-menu {
  display: grid;
}

.items-dropdown-menu button {
  min-height: 38px;
  border: 0;
  border-radius: 6px;
  padding: 0 11px;
  color: #25332d;
  background: transparent;
  font: inherit;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.items-dropdown-menu button:hover {
  background: #f3f7f5;
  color: #0f5e35;
}

.items-add {
  border-color: #ea3e82 !important;
  background: #ea3e82 !important;
  color: #fff !important;
}

@media (max-width: 980px) {
  .items-header {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .items-header-actions .items-search,
  .items-header-actions .items-add {
    grid-column: auto;
    justify-self: auto;
  }

  .items-search {
    width: min(100%, 320px);
  }
}

.items-count {
  margin-left: auto;
  color: #5d6b65;
  font-size: 13px;
  font-weight: 900;
}

.items-sort,
.items-filter-icon {
  min-height: 38px;
  border: 1px solid #d9e1df;
  border-radius: 7px;
  background: #fff;
  color: #26372f;
  cursor: pointer;
  font-weight: 900;
}

.items-sort {
  padding: 0 12px;
}

.items-sort.active,
.items-filter-icon.active {
  border-color: #17231d;
  background: #17231d;
  color: #fff;
}

.items-filter-icon {
  position: relative;
  width: 40px;
  padding: 0;
}

.items-filter-icon::before {
  content: "";
  position: absolute;
  inset: 10px 9px;
  background: currentColor;
  clip-path: polygon(0 0, 100% 0, 62% 45%, 62% 100%, 38% 100%, 38% 45%);
}

.items-status {
  min-height: 20px;
  margin: 12px 0;
  color: #0f6a3c;
  font-weight: 800;
}

.items-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #e3e9e6;
  border-radius: 8px;
}

.items-table {
  width: 100%;
  min-width: 1120px;
  border-collapse: collapse;
  table-layout: fixed;
  background: #fff;
}

.items-table th,
.items-table td {
  border-bottom: 1px solid #edf1ef;
  padding: 16px 14px;
  color: #23332c;
  font-size: 13px;
  text-align: left;
  vertical-align: middle;
}

.items-table th {
  background: #f8faf9;
  color: #5a6761;
  font-size: 12px;
  font-weight: 900;
}

.items-table th:nth-child(1),
.items-table td:nth-child(1) {
  width: 72px;
  text-align: center;
}

.items-table th:nth-child(2),
.items-table td:nth-child(2) {
  width: 92px;
}

.items-table th:nth-child(3),
.items-table td:nth-child(3) {
  width: 30%;
}

.items-table th:nth-child(4),
.items-table td:nth-child(4) {
  width: 150px;
}

.items-table th:nth-child(5),
.items-table td:nth-child(5),
.items-table th:nth-child(6),
.items-table td:nth-child(6),
.items-table th:nth-child(7),
.items-table td:nth-child(7) {
  width: 92px;
}

.items-table th:nth-child(8),
.items-table td:nth-child(8) {
  width: 128px;
}

.items-table th:nth-child(9),
.items-table td:nth-child(9) {
  width: 150px;
  text-align: right;
}

.items-table tr:last-child td {
  border-bottom: 0;
}

.drag-handle {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 32px;
  border: 0;
  border-radius: 7px;
  background: #eef3f0;
  color: #52615a;
  font: inherit;
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
  cursor: grab;
}

.drag-handle:disabled {
  opacity: 0.38;
  cursor: not-allowed;
}

.drag-handle:active {
  cursor: grabbing;
}

.product-drag-handle:not(:disabled) {
  background: #e8f5ee;
  color: #1f7a45;
  box-shadow: inset 0 0 0 1px rgba(31, 122, 69, 0.12);
}

.product-drag-handle:not(:disabled):hover {
  background: #d9f0e4;
  color: #166238;
}

.item-select-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.category-drag-handle {
  align-self: center;
}

.is-dragging {
  opacity: 0.48;
}

.items-table td strong {
  display: block;
}

.item-name-cell {
  min-width: 220px;
}

.item-name-cell strong {
  max-width: 100%;
  color: #17231d;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.item-brand-tag {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  margin-bottom: 6px;
  border-radius: 999px;
  padding: 3px 8px;
  background: #f7eef4;
  color: #8a4b77;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.item-weekly-sale-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 0 6px;
  border-radius: 999px;
  padding: 3px 8px;
  background: #fff0bd;
  color: #9f6200;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
}

.item-category-cell,
.item-price-cell,
.item-number-cell,
.item-status-cell {
  white-space: nowrap;
}

.item-image-button {
  position: relative;
  display: block;
  width: 64px;
  height: 64px;
  overflow: hidden;
  border: 1px solid #e0e7e3;
  border-radius: 8px;
  padding: 4px;
  background: #fff;
  cursor: pointer;
}

.item-image-button img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 5px;
}

.item-image-button span {
  position: absolute;
  inset: auto 4px 4px;
  border-radius: 5px;
  padding: 3px 4px;
  background: rgba(23, 35, 29, 0.82);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  opacity: 0;
}

.item-image-button:hover span,
.item-image-button:focus-visible span {
  opacity: 1;
}

.item-status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 900;
}

.item-status.available {
  color: #0f6a3c;
  background: #eaf7ef;
}

.item-status.unavailable {
  color: #a53227;
  background: #fff0ed;
}

.item-actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 7px;
}

.product-image-section {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  border: 1px solid #e3e9e6;
  border-radius: 8px;
  padding: 14px;
  background: #fbfcfc;
}

.weekly-sale-fields {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(150px, 0.7fr);
  gap: 12px;
  align-items: end;
  border: 1px solid #e3e9e6;
  border-radius: 8px;
  padding: 12px;
  background: #fffaf0;
}

.product-image-section h3 {
  margin: 0 0 4px;
  font-size: 16px;
}

.product-image-section p {
  margin: 0;
  color: #60706a;
  font-size: 13px;
}

.product-image-actions,
.gallery-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.gallery-dialog {
  position: relative;
  z-index: 1;
  width: min(1040px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  overflow: auto;
}

.image-options-dialog {
  position: relative;
  z-index: 1;
  width: min(420px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  overflow: auto;
  overscroll-behavior: contain;
}

.image-option-actions {
  display: grid;
  gap: 10px;
}

.image-option-actions .btn {
  justify-content: center;
  min-height: 44px;
  width: 100%;
}

.gallery-toolbar input {
  flex: 1 1 260px;
  min-height: 42px;
  border: 1px solid #d9e1df;
  border-radius: 7px;
  padding: 0 12px;
  font: inherit;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.gallery-image-card {
  display: grid;
  gap: 8px;
  border: 1px solid #e3e9e6;
  border-radius: 8px;
  padding: 10px;
  background: #fff;
  color: #17231d;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.gallery-image-card:hover,
.gallery-image-card:focus-visible {
  border-color: #177344;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(23, 115, 68, 0.12);
}

.gallery-thumb {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 6px;
  overflow: hidden;
  background: #f3f6f4;
  color: #728078;
  font-size: 12px;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumb em {
  position: absolute;
  inset: auto 8px 8px;
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(23, 35, 29, 0.86);
  color: #fff;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  text-align: center;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.gallery-image-card:hover .gallery-thumb em,
.gallery-image-card:focus-visible .gallery-thumb em {
  opacity: 1;
  transform: translateY(0);
}

.gallery-image-card strong {
  font-size: 13px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.gallery-image-card small {
  color: #66736e;
  overflow-wrap: anywhere;
}

.gallery-select-label {
  display: inline-flex;
  justify-content: center;
  border-radius: 999px;
  padding: 7px 10px;
  background: #17231d;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.gallery-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 16px;
}

.gallery-pagination span {
  color: #53615c;
  font-weight: 900;
}

.gallery-pagination button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.gallery-skeleton {
  min-height: 210px;
  border-radius: 8px;
  background: linear-gradient(90deg, #f1f4f2, #e5ebe7, #f1f4f2);
  background-size: 220% 100%;
  animation: gallerySkeleton 1.1s linear infinite;
}

@keyframes gallerySkeleton {
  from {
    background-position: 100% 0;
  }
  to {
    background-position: -100% 0;
  }
}

.admin-modal[hidden] {
  display: none;
}

.admin-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  overscroll-behavior: contain;
}

.category-editor-modal,
.flyer-editor-modal {
  z-index: 90;
}

.image-options-modal {
  z-index: 120;
}

.gallery-modal {
  z-index: 130;
}

.option-set-modal,
.option-items-modal,
.brand-modal {
  z-index: 100;
}

.order-edit-modal {
  z-index: 110;
}

.product-option-fields,
.weekly-sale-fields {
  border: 1px solid #edf0f4;
  border-radius: 12px;
  padding: 14px;
  background: #fbfcfd;
}

.product-option-fields h3,
.product-image-section h3 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.product-option-fields p {
  margin: 0 0 12px;
  color: #667085;
  font-size: 0.9rem;
}

.option-checkbox-list {
  position: relative;
}

.product-option-select {
  position: relative;
}

.product-option-select-button {
  display: flex;
  width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #d8dee4;
  border-radius: 10px;
  padding: 7px 10px;
  color: #17231d;
  background: #ffffff;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.product-option-select-button[aria-expanded="true"] {
  border-color: #17231d;
  box-shadow: 0 0 0 3px rgba(23, 35, 29, 0.08);
}

.product-option-tags {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-wrap: wrap;
  gap: 6px;
}

.product-option-placeholder {
  padding: 6px 2px;
  color: #7a8580;
  font-weight: 700;
}

.product-option-tag {
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 6px 9px;
  color: #17231d;
  background: #eef6f0;
  font-size: 12px;
  font-weight: 900;
}

.product-option-tag span {
  display: inline-grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 999px;
  color: #52615a;
  background: rgba(255, 255, 255, 0.86);
  cursor: pointer;
}

.product-option-chevron {
  flex: 0 0 auto;
  color: #52615a;
  font-size: 18px;
  line-height: 1;
}

.product-option-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 8;
  display: grid;
  max-height: 240px;
  overflow: auto;
  border: 1px solid #d8dee4;
  border-radius: 10px;
  padding: 6px;
  background: #ffffff;
  box-shadow: 0 18px 38px rgba(23, 35, 29, 0.14);
}

.product-option-dropdown[hidden] {
  display: none;
}

.product-option-choice {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  margin: 0;
  border-radius: 8px;
  padding: 10px;
  color: #24362e;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.product-option-choice:hover {
  background: #f5f8f6;
}

.product-option-choice input {
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
}

.product-option-choice span {
  min-width: 0;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.option-sets-card .items-toolbar {
  align-items: center;
}

.setup-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  border: 1px solid #e7ece9;
  border-radius: 10px;
  padding: 6px;
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(23, 35, 29, 0.05);
}

.setup-tabs button {
  min-height: 38px;
  border: 0;
  border-radius: 8px;
  padding: 0 16px;
  color: #52615a;
  background: transparent;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.setup-tabs button:hover,
.setup-tabs button.active {
  color: #ffffff;
  background: #17231d;
}

.setup-panel[hidden] {
  display: none;
}

.brands-card .items-toolbar {
  align-items: center;
}

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

.option-sets-table th,
.option-sets-table td,
.brands-table th,
.brands-table td {
  padding: 16px 14px;
  vertical-align: middle;
}

.option-set-row td:first-child strong {
  display: block;
  margin-bottom: 6px;
}

.link-button {
  border: 0;
  background: none;
  color: #e83e73;
  font-weight: 700;
  cursor: pointer;
  padding: 6px 0 0;
  display: block;
}

.option-set-dialog,
.option-items-dialog,
.brand-dialog {
  position: relative;
  z-index: 1;
  width: min(720px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  overflow: auto;
}

.option-items-dialog {
  width: min(920px, calc(100vw - 32px));
}

.option-item-existing {
  margin-top: 18px;
  border-top: 1px solid #edf0f4;
  padding-top: 16px;
}

.option-items-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.option-items-table th,
.option-items-table td {
  padding: 12px 10px;
  border-bottom: 1px solid #edf0f4;
  text-align: left;
}

.option-items-table img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #edf0f4;
}

.admin-empty.compact {
  padding: 12px;
  font-size: 0.9rem;
}

.product-options-fieldset {
  border: 1px solid #e8ecf1;
  border-radius: 12px;
  padding: 12px;
  margin: 12px 0;
}

.product-options-fieldset legend {
  padding: 0 6px;
  font-weight: 800;
}

.product-option-items {
  display: grid;
  gap: 8px;
}

.product-option-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid #eef1f5;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}

.product-option-row span {
  flex: 1;
}

.product-option-row b {
  color: #667085;
  font-size: 0.86rem;
}

.order-item-options {
  display: grid;
  gap: 2px;
  margin-top: 6px;
}

.admin-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 20, 16, 0.46);
}

.items-form {
  position: relative;
  z-index: 1;
  width: min(100%, 760px);
  max-height: calc(100vh - 48px);
  overflow: auto;
}

.category-editor-dialog,
.flyer-editor-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.order-edit-dialog {
  position: relative;
  z-index: 1;
  width: min(720px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  overflow: auto;
}

.optional-location-fields {
  opacity: 0.86;
}

.delivery-cost-page {
  padding: 54px clamp(18px, 6vw, 88px) 70px;
  background:
    radial-gradient(circle at top left, rgba(var(--green-rgb), 0.12), transparent 34%),
    linear-gradient(180deg, #fffdf5 0%, #f4faf4 100%);
}

.curbside-pickup-page {
  padding: 54px clamp(18px, 6vw, 88px) 70px;
  background:
    radial-gradient(circle at top left, rgba(var(--green-rgb), 0.1), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f6fbf7 100%);
  text-align: left;
}

.curbside-hero {
  max-width: 780px;
  margin: 0 auto 28px;
  text-align: center;
}

.curbside-hero h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.1;
}

.curbside-hero p:not(.eyebrow) {
  margin: 12px auto 0;
  max-width: 620px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.curbside-content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  width: min(100%, 1100px);
  margin: 0 auto;
}

.curbside-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(12, 45, 27, 0.06);
}

.curbside-wide-card {
  grid-column: 1 / -1;
}

.curbside-card h2 {
  margin: 0 0 12px;
  color: #07150f;
  font-size: 20px;
}

.curbside-card p {
  margin: 0;
  color: #53655c;
  font-size: 14px;
  line-height: 1.6;
}

.curbside-card strong {
  color: #12251c;
  font-size: 15px;
  line-height: 1.45;
}

.curbside-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.curbside-steps div {
  display: grid;
  gap: 6px;
  border-radius: 10px;
  padding: 14px;
  background: rgba(var(--green-rgb), 0.08);
}

.curbside-steps span {
  color: #53655c;
  font-size: 13px;
  line-height: 1.45;
}

.curbside-free {
  display: inline-block;
  color: var(--green) !important;
  font-size: 24px !important;
  text-transform: uppercase;
}

.delivery-cost-hero {
  max-width: 760px;
  margin: 0 auto 30px;
  text-align: center;
}

.delivery-cost-hero h1 {
  margin: 10px 0 12px;
  font-size: clamp(28px, 4vw, 43px);
  line-height: 1.05;
  letter-spacing: 0;
}

.delivery-cost-hero p:not(.eyebrow) {
  margin: 0 auto;
  max-width: 620px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.delivery-cost-card {
  width: min(100%, 760px);
  margin: 0 auto;
  border: 1px solid rgba(var(--green-rgb), 0.16);
  border-radius: 18px;
  padding: clamp(18px, 4vw, 34px);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.delivery-cost-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.delivery-cost-heading h2 {
  margin: 0;
  font-size: 26px;
}

.delivery-cost-heading span {
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--green-dark);
  background: #eff8f1;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.delivery-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.delivery-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
}

.delivery-table th,
.delivery-table td {
  padding: 11px 18px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.delivery-table th {
  color: var(--white);
  background: var(--green);
  font-size: 15px;
}

.delivery-table tr:nth-child(even) td {
  background: #f7fbf7;
}

.delivery-table tr:last-child td {
  border-bottom: 0;
}

.delivery-note {
  margin: 18px 0 0;
  border-left: 4px solid var(--green);
  border-radius: 10px;
  padding: 14px 16px;
  color: #294037;
  background: #eff8f1;
  line-height: 1.55;
  font-weight: 700;
}

.site-footer {
  position: relative;
  display: block;
  flex-shrink: 0;
  margin-top: auto;
  padding: 32px clamp(18px, 5vw, 72px) 22px;
  color: var(--white);
  background: #1f2526;
  background-image: none;
  border-top: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.footer-brand-col img {
  width: 170px;
  margin-bottom: 14px;
  border-radius: 9px;
  padding: 10px;
  background: var(--white);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.footer-brand-col p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.55;
  max-width: 280px;
}

.footer-mini-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 14px;
}

.footer-mini-links a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border-bottom: 2px solid rgba(255, 207, 88, 0.44);
  color: #ffcf58;
  font-weight: 900;
}

.social-links {
  display: flex;
  gap: 10px;
  margin-bottom: 28px;
}

.social-links a {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 1px solid #111;
  border-radius: 999px;
  color: #14241b;
  font-weight: 900;
  text-transform: uppercase;
  background: transparent;
  box-shadow: none;
}

.social-links a:hover {
  color: var(--white);
  background: #111;
  border-color: #111;
  transform: translateY(-6px) scale(1.04);
  box-shadow: 0 12px 24px rgba(17, 17, 17, 0.16);
}

.social-icon.facebook {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 22px;
}

.social-icon.instagram {
  font-size: 26px;
  line-height: 1;
}

.social-icon.instagram:hover {
  background: #111;
  border-color: #111;
}

.footer-links-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(180px, 0.9fr) minmax(125px, 0.55fr) minmax(360px, 1.25fr) minmax(260px, 1fr);
  column-gap: clamp(24px, 3vw, 46px);
  row-gap: 18px;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.footer-links-grid h3 {
  margin: 0 0 14px;
  color: #f5c542;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.footer-links-grid a,
.footer-links-grid span,
.footer-links-grid strong {
  display: block;
  margin-bottom: 9px;
  color: rgba(255, 255, 255, 0.9);
}

.footer-links-grid a {
  font-weight: 700;
}

.footer-links-grid a:hover {
  color: #ffcf58;
  transform: translateX(3px);
}

.footer-product-categories {
  margin-left: 0;
}

.footer-product-categories h3 {
  text-align: left;
}

.footer-product-category-columns {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 0 clamp(48px, 5vw, 82px);
  align-items: start;
}

.footer-signup {
  border-left: 0;
  padding-left: 0;
}

.footer-signup form {
  display: grid;
  grid-template-columns: 1fr 48px;
  min-height: 48px;
  margin: 18px 0 14px;
  border: 0;
  border-radius: 999px;
  background: var(--white);
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.2), inset 0 0 0 1px rgba(12, 18, 22, 0.08);
}

.footer-signup input {
  height: 48px;
  margin: 0;
  border: 0;
  background: transparent;
  padding: 0 22px;
  color: #1a2027;
  font-weight: 600;
}

.footer-signup button {
  align-self: center;
  justify-self: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #f5c542;
  color: #111820;
  cursor: pointer;
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
}

.footer-signup form.is-sent {
  box-shadow: 0 0 0 3px rgba(var(--green-rgb), 0.16);
}

.footer-contact-list {
  margin-top: 10px;
  display: grid;
  gap: 10px;
}

.footer-contact-item {
  display: grid !important;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 700;
  line-height: 1.45;
}

.footer-contact-item svg {
  width: 19px;
  height: 19px;
  margin-top: 2px;
  fill: none;
  stroke: #f5c542;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-contact-item:hover {
  color: #ffcf58 !important;
  transform: translateX(3px);
}

.footer-contact-heading strong {
  display: block;
  margin: 0 0 9px;
  color: #f5c542;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.footer-hours {
  margin-top: 2px;
  border-top: 0;
  padding-top: 4px;
}

.footer-hours strong {
  display: block;
  margin: 0 0 8px;
  color: #f5c542;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.footer-social {
  margin-top: 4px;
  padding-top: 4px;
  border-top: 0;
}

.footer-social h3 {
  margin-bottom: 10px;
}

.footer-social-icons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-social-icons a {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 13px;
  background: #ffffff;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.footer-links-grid .footer-social-icons a:hover {
  transform: translateY(-5px) scale(1.07);
  border-color: rgba(255, 207, 88, 0.76);
  background: var(--white);
  box-shadow: 0 16px 30px rgba(255, 207, 88, 0.16), 0 12px 26px rgba(0, 0, 0, 0.2);
}

.footer-social-icons img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.footer-about-line {
  position: static;
  grid-column: 1 / -1;
  max-width: 980px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.55;
}

.footer-about-line strong,
.footer-about-line b {
  color: #7ed957;
}

.footer-helpful-row {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 26px;
  margin-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 14px;
}

.footer-helpful-row h3 {
  margin: 0;
  white-space: nowrap;
}

.footer-helpful-row nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 14px 24px;
}

.footer-helpful-row a {
  margin: 0;
}

.home-concept main {
  background: var(--cream);
}

.home-concept .site-header {
  position: sticky;
}

.split-market-hero {
  width: min(100% - 72px, 1220px);
  margin: 34px auto 24px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: stretch;
}

.split-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 470px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(26px, 5vw, 54px);
  background: var(--white);
  box-shadow: 0 18px 40px rgba(23, 35, 29, 0.08);
}

.split-copy h1,
.editorial-copy h1,
.deal-led-main h1 {
  margin: 8px 0 14px;
  color: #07150f;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.02;
  letter-spacing: 0;
}

.split-copy p:not(.eyebrow),
.editorial-copy p:not(.eyebrow),
.deal-led-main p:not(.eyebrow),
.feature-board-copy p {
  max-width: 650px;
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.split-photo {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  border-radius: 8px;
}

.split-photo img,
.editorial-hero > img,
.deal-card-stack img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-offer {
  position: absolute;
  right: 20px;
  bottom: 20px;
  min-width: 150px;
  border-radius: 8px;
  padding: 14px 16px;
  color: var(--white);
  background: var(--green);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18);
}

.split-offer strong,
.split-offer span {
  display: block;
}

.split-offer span {
  margin-top: 4px;
  font-size: 13px;
  font-weight: 800;
}

.concept-strip {
  width: min(100% - 72px, 1220px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  overflow: hidden;
}

.concept-strip article {
  padding: 18px 20px;
  border-right: 1px solid var(--line);
}

.concept-strip article:last-child {
  border-right: 0;
}

.concept-strip strong,
.concept-strip span,
.feature-board-grid strong,
.feature-board-grid span {
  display: block;
}

.concept-strip span,
.feature-board-grid span,
.compact-category-grid span,
.quick-aisles span,
.deal-card-stack span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.compact-section {
  padding-top: 46px;
}

.compact-category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.compact-category-grid a {
  min-height: 92px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: var(--white);
  font-weight: 900;
}

.compact-category-grid a:hover,
.quick-aisles a:hover,
.feature-board-grid article:hover,
.pill-category-row a:hover {
  border-color: rgba(var(--green-rgb), 0.32);
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(23, 35, 29, 0.08);
}

.editorial-hero {
  position: relative;
  min-height: 560px;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.editorial-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(8, 23, 15, 0.78), rgba(8, 23, 15, 0.22) 55%, rgba(8, 23, 15, 0.42));
}

.editorial-hero > img {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.editorial-copy {
  width: min(100% - 72px, 1220px);
  margin: 0 auto 58px;
  color: var(--white);
}

.editorial-copy h1,
.editorial-copy p:not(.eyebrow) {
  color: var(--white);
}

.editorial-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.88);
}

.quick-aisles {
  width: min(100% - 72px, 1220px);
  margin: -34px auto 22px;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.quick-aisles a {
  min-height: 92px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: var(--white);
  box-shadow: 0 18px 38px rgba(23, 35, 29, 0.1);
}

.quick-aisles strong {
  display: block;
  font-size: 17px;
}

.feature-board {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: center;
}

.feature-board-copy {
  max-width: 500px;
}

.feature-board-copy h2 {
  margin: 8px 0 12px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
}

.feature-board-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.feature-board-grid article {
  min-height: 120px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: var(--white);
}

.deal-led-hero {
  width: min(100% - 72px, 1220px);
  margin: 34px auto 24px;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 18px;
  align-items: stretch;
}

.deal-led-main {
  min-height: 500px;
  border-radius: 8px;
  padding: clamp(28px, 5vw, 58px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(var(--green-rgb), 0.94), rgba(var(--green-rgb), 0.82)),
    url("https://images.unsplash.com/photo-1583258292688-d0213dc5a3a8?auto=format&fit=crop&w=1500&q=90") center/cover;
}

.deal-led-main h1,
.deal-led-main p:not(.eyebrow) {
  color: var(--white);
}

.deal-led-main p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.86);
}

.deal-card-stack {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.deal-card-stack a {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  border-radius: 8px;
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  isolation: isolate;
}

.deal-card-stack a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.72));
}

.deal-card-stack img {
  position: absolute;
  inset: 0;
  z-index: -2;
  transition: transform 260ms ease;
}

.deal-card-stack a:hover img {
  transform: scale(1.06);
}

.deal-card-stack strong {
  font-size: 26px;
  line-height: 1.1;
}

.deal-card-stack span {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
}

.deal-preview-band {
  padding-top: 34px;
  padding-bottom: 20px;
}

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

.pill-category-row a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 18px;
  background: var(--white);
  color: #27372f;
  font-weight: 900;
}

.empty-state {
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 34px;
  color: var(--muted);
  background: var(--white);
  text-align: center;
}

.legal-page {
  background: var(--white);
  padding: 58px clamp(18px, 7vw, 110px) 68px;
}

.legal-copy {
  width: min(100%, 1170px);
  margin: 0 auto;
  color: #14231b;
}

.legal-copy h1 {
  width: fit-content;
  margin: 0 auto 42px;
  color: var(--green-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 4.6vw, 54px);
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  border-bottom: 4px solid rgba(var(--green-rgb), 0.34);
  padding-bottom: 10px;
}

.legal-copy h1 span {
  color: var(--green);
}

.legal-copy h2 {
  margin: 26px 0 14px;
  color: #000;
  font-size: 21px;
  line-height: 1.25;
  text-transform: uppercase;
}

.legal-copy p,
.legal-copy li {
  color: #17231d;
  font-size: 14px;
  line-height: 1.85;
}

.legal-copy p {
  margin: 0 0 14px;
}

.legal-copy ul {
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.legal-copy li {
  position: relative;
  padding-left: 20px;
}

.legal-copy li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.86em;
  width: 4px;
  height: 4px;
  background: var(--green);
}

.legal-copy a {
  color: #0b65ff;
  font-weight: 700;
}

.faq-page {
  background:
    linear-gradient(180deg, #f7fbf7 0%, #ffffff 34%);
  padding: 54px clamp(18px, 7vw, 110px) 72px;
}

.faq-copy {
  width: min(100%, 1040px);
  margin: 0 auto;
}

.faq-copy > .eyebrow {
  text-align: center;
}

.faq-copy h1 {
  margin: 8px 0 14px;
  color: var(--green-dark);
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.08;
  text-align: center;
}

.faq-copy > p:not(.eyebrow) {
  max-width: 760px;
  margin: 0 auto 30px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  text-align: center;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid rgba(var(--green-rgb), 0.15);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 12px 26px rgba(23, 35, 29, 0.05);
  overflow: hidden;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.faq-item h2 {
  margin: 0;
  padding: 18px 20px;
  color: #10251a;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.28;
}

.faq-item p {
  max-height: 0;
  margin: 0;
  padding: 0 20px;
  overflow: hidden;
  color: #33483d;
  font-size: 14px;
  line-height: 1.75;
  opacity: 0;
  transition: max-height 240ms ease, padding 240ms ease, opacity 180ms ease;
}

.faq-item:hover,
.faq-item:focus-within {
  border-color: rgba(var(--green-rgb), 0.42);
  box-shadow: 0 18px 34px rgba(23, 35, 29, 0.09);
  transform: translateY(-2px);
}

.faq-item:hover h2,
.faq-item:focus-within h2 {
  color: var(--green-dark);
}

.faq-item:hover p,
.faq-item:focus-within p {
  max-height: 260px;
  padding: 0 20px 20px;
  opacity: 1;
}

@media (hover: none) {
  .faq-item p {
    max-height: none;
    padding: 0 20px 20px;
    opacity: 1;
  }
}


.product-detail-page {
  width: 100%;
  margin: 0;
  padding: 38px clamp(24px, 6vw, 96px) 72px;
  background: var(--white);
}

.product-breadcrumb,
.product-detail-card {
  width: min(100%, 1360px);
  margin-left: auto;
  margin-right: auto;
}

.product-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 34px;
  color: #17231d;
  font-size: 14px;
  line-height: 1.4;
}

.product-breadcrumb a {
  color: #17231d;
}

.product-breadcrumb a:hover {
  color: var(--green-dark);
}

.product-detail-card {
  display: grid;
  grid-template-columns: minmax(460px, 1fr) minmax(460px, 1.04fr);
  gap: clamp(56px, 7vw, 110px);
  align-items: start;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: var(--white);
  box-shadow: none;
}

.product-detail-image {
  position: relative;
  aspect-ratio: 1 / 1;
  min-height: 0;
  overflow: hidden;
  border-radius: 0;
  background: var(--white);
}

.product-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-detail-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 2px 0 8px;
}

.back-link {
  width: fit-content;
  margin-bottom: 18px;
  color: var(--green);
  font-weight: 900;
}

.product-detail-copy h1 {
  margin: 7px 0 26px;
  font-size: clamp(29px, 2.6vw, 36px);
  line-height: 1.12;
}

.product-detail-copy p:not(.eyebrow) {
  max-width: 630px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.detail-divider {
  width: 100%;
  height: 1px;
  margin: 24px 0;
  background: var(--line);
}

.product-brand {
  margin: 0;
  font-size: 14px;
}

.product-detail-price {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: #07150f;
  font-weight: 900;
}

.product-detail-price .currency {
  font-size: 15px;
}

.product-detail-price .price {
  font-size: 22px;
}

.product-detail-price .stock-status {
  align-self: center;
  font-size: 14px;
  font-weight: 700;
}

.product-detail-price em {
  color: var(--muted);
  font-style: normal;
  font-weight: 900;
}

.product-detail-copy p.product-preparation-notice {
  max-width: 660px;
  margin: -6px 0 24px;
  color: #f00000;
  font-size: 12px;
  line-height: 1.55;
  font-weight: 500;
}

.product-detail-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 22px;
}

.product-detail-meta span {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  color: var(--muted);
}

.product-detail-meta strong {
  display: block;
  margin-bottom: 4px;
  color: #07150f;
}

.product-detail-form {
  display: grid;
  gap: 16px;
}

.product-detail-form .product-options-fieldset {
  margin: 0;
  border: 0;
  padding: 0;
}

.product-detail-form .product-options-fieldset legend {
  display: block;
  width: 100%;
  margin: 0 0 8px;
  padding: 0;
  color: #07150f;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.25;
}

.product-detail-form .product-option-items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.product-detail-form .product-option-row {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-start;
  min-height: 48px;
  margin: 0;
  border-color: var(--line);
  border-radius: 5px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 800;
}

.product-detail-form .product-option-row input {
  display: block;
  width: 13px;
  height: 13px;
  margin: 0;
  flex: 0 0 13px;
  align-self: center;
}

.product-detail-form .product-option-row span {
  display: block;
  flex: 0 1 auto;
  line-height: 1.2;
}

.detail-field {
  display: grid;
  gap: 8px;
  color: #07150f;
  font-size: 14px;
  font-weight: 900;
}

.detail-field textarea,
.detail-field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: #17231d;
  font-size: 14px;
  font-weight: 600;
}

.detail-field textarea {
  min-height: 92px;
  padding: 14px;
  resize: vertical;
}

.detail-field select {
  height: 46px;
  padding: 0 12px;
}

.detail-cart-row {
  display: grid;
  grid-template-columns: 136px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  margin-top: 2px;
}

.detail-quantity {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 38px;
  height: 46px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.detail-quantity button {
  display: grid;
  place-items: center;
  border: 0;
  color: #07150f;
  background: #f4f8f5;
  cursor: pointer;
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
}

.detail-quantity button:hover {
  color: var(--white);
  background: var(--green);
}

.detail-quantity input {
  width: 100%;
  height: 100%;
  margin: 0;
  border: 0;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-radius: 0;
  padding: 0;
  color: #07150f;
  background: var(--white);
  text-align: center;
  font-weight: 800;
  box-shadow: none;
}

.detail-cart-row .add-cart-btn {
  width: 100%;
  min-height: 46px;
}

.detail-add-message {
  min-height: 18px;
  margin: -6px 0 0;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 900;
}

#quickAddMessage.is-error,
#detailAddMessage.is-error,
.detail-add-message.is-error {
  color: #f00000;
}

.share-block {
  display: grid;
  gap: 9px;
  margin-top: 8px;
}

.share-block strong {
  color: #07150f;
  font-size: 14px;
}

.share-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.share-links a {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(var(--green-rgb), 0.14);
  border-radius: 10px;
  background: #f7fbf8;
  box-shadow: none;
}

.share-links a:hover {
  border-color: rgba(var(--green-rgb), 0.28);
  background: #eef8f0;
  transform: translateY(-2px);
}

.share-links img {
  width: 19px;
  height: 19px;
  object-fit: contain;
}

.quick-add-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 22px;
  overflow-x: hidden;
}

.quick-add-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 16, 12, 0.62);
  backdrop-filter: blur(8px);
}

.quick-add-card {
  position: relative;
  z-index: 1;
  width: min(100%, 1080px);
  max-height: calc(100vh - 44px);
  display: grid;
  grid-template-columns: minmax(320px, 1.05fr) minmax(0, 0.95fr);
  overflow: hidden;
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 28px 80px rgba(8, 16, 12, 0.32);
}

.quick-add-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #17231d;
  cursor: pointer;
  font-size: 18px;
  font-weight: 900;
}

.quick-add-image {
  min-height: 520px;
  background: #f5f7f4;
}

.quick-add-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.quick-add-form {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  align-content: stretch;
  min-width: 0;
  min-height: 0;
  height: 100%;
  max-height: calc(100vh - 44px);
  gap: 0;
  padding: 0;
  overflow-y: hidden;
  overflow-x: hidden !important;
}

.quick-add-scroll {
  display: grid;
  align-content: start;
  min-width: 0;
  min-height: 0;
  gap: 14px;
  padding: clamp(22px, 2.6vw, 32px);
  overflow-y: auto;
  overflow-x: hidden;
}

.quick-add-actions {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 14px clamp(22px, 2.6vw, 32px) clamp(18px, 2.2vw, 24px);
  border-top: 1px solid var(--line);
  background: var(--white);
}

.quick-add-form h2 {
  margin: 0;
  color: #07150f;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.08;
}

.quick-add-brand {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.quick-add-description {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.quick-add-price {
  color: #07150f;
  font-size: 21px;
  font-weight: 900;
}

.quick-add-price .old-price {
  margin-left: 8px;
  font-size: 13px;
}

.quick-add-form .product-preparation-notice {
  margin: 0 0 4px;
  color: #f00000;
  font-size: 12px;
  line-height: 1.6;
  font-weight: 500;
}

.quick-add-form .eyebrow,
.quick-add-form .detail-field,
.quick-add-form .product-options-fieldset legend,
.quick-add-form .product-option-row {
  font-size: 13px;
}

.quick-add-form .detail-field textarea,
.quick-add-form .detail-field select {
  font-size: 13px;
}

.quick-add-quantity {
  width: 100%;
}

.quick-add-submit {
  min-height: 52px;
  width: 100%;
  font-size: 14px;
  text-transform: uppercase;
}

.quick-add-actions .detail-add-message {
  grid-column: 1 / -1;
  margin: 0;
}

.product-detail-form .product-option-accordion,
.quick-add-form .product-option-accordion {
  display: grid;
  gap: 0;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
  padding: 0;
}

.product-detail-form .product-option-accordion-toggle,
.quick-add-form .product-option-accordion-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 56px;
  border: 0;
  border-bottom: 1px solid #edf1ef;
  border-radius: 0;
  padding: 10px 0;
  background: transparent;
  color: #07150f;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.product-detail-form .product-option-accordion-toggle span,
.quick-add-form .product-option-accordion-toggle span {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.product-detail-form .product-option-accordion-toggle strong,
.quick-add-form .product-option-accordion-toggle strong {
  color: #07150f;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.15;
}

.product-detail-form .product-option-accordion-toggle small,
.quick-add-form .product-option-accordion-toggle small {
  color: var(--green);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.6;
}

.product-detail-form .product-option-accordion-toggle b,
.quick-add-form .product-option-accordion-toggle b {
  flex: 0 0 auto;
  width: 11px;
  height: 11px;
  border-right: 3px solid #07150f;
  border-bottom: 3px solid #07150f;
  transform: rotate(45deg);
  transition: transform 250ms ease-in-out;
}

.product-detail-form .product-option-accordion.is-open .product-option-accordion-toggle b,
.quick-add-form .product-option-accordion.is-open .product-option-accordion-toggle b {
  transform: rotate(225deg);
}

.product-detail-form .product-option-panel,
.quick-add-form .product-option-panel {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 250ms ease-in-out, opacity 250ms ease-in-out;
}

.product-detail-form .product-option-accordion.is-open .product-option-panel,
.quick-add-form .product-option-accordion.is-open .product-option-panel {
  opacity: 1;
}

.product-detail-form .product-option-items,
.quick-add-form .product-option-items {
  display: grid;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
  gap: 10px;
  padding: 12px 0 16px;
  overflow-x: hidden;
}

.product-detail-form .product-option-row,
.quick-add-form .product-option-row {
  position: relative;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 42px;
  gap: 10px;
  margin: 0;
  padding: 10px 13px;
  border-color: #dfe5e1;
  border-radius: 6px;
  text-align: left;
  font-size: 13px;
  font-weight: 800;
}

.product-detail-form .product-option-row input,
.quick-add-form .product-option-row input {
  position: static;
  width: 14px;
  height: 14px;
  margin: 0;
  flex: 0 0 14px;
  opacity: 1;
  pointer-events: auto;
  accent-color: #07150f;
}

.product-detail-form .product-option-row span,
.quick-add-form .product-option-row span {
  display: block;
  min-width: 0;
  flex: 1 1 auto;
  overflow-wrap: anywhere;
  white-space: normal;
  line-height: 1.25;
}

.product-detail-form .product-option-row:has(input:checked),
.quick-add-form .product-option-row:has(input:checked) {
  border-color: var(--green);
  background: rgba(var(--green-rgb), 0.08);
  color: var(--green);
  box-shadow: 0 0 0 2px rgba(var(--green-rgb), 0.08);
}

.product-detail-form .product-option-row:has(input:checked) span,
.quick-add-form .product-option-row:has(input:checked) span {
  color: var(--green);
}

.product-detail-form .product-options-fieldset.is-error .product-option-accordion-toggle,
.quick-add-form .product-options-fieldset.is-error .product-option-accordion-toggle {
  color: #f00000;
  background: #fff5f5;
}

.product-detail-form .product-options-fieldset.is-error .product-option-accordion-toggle strong,
.product-detail-form .product-options-fieldset.is-error .product-option-accordion-toggle small,
.product-detail-form .product-options-fieldset.is-error .product-option-accordion-toggle b,
.quick-add-form .product-options-fieldset.is-error .product-option-accordion-toggle strong,
.quick-add-form .product-options-fieldset.is-error .product-option-accordion-toggle small,
.quick-add-form .product-options-fieldset.is-error .product-option-accordion-toggle b {
  color: #f00000;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .hero-slides {
    animation: none !important;
  }

  .hero-slide {
    animation: none !important;
    opacity: 0;
    transform: none;
  }

  .hero-slide:first-child {
    opacity: 1;
  }
}

@media (max-width: 1060px) {
  .hero,
  .home-flyer-preview,
  .shop-layout,
  .brands-layout,
  .split-market-hero,
  .feature-board,
  .deal-led-hero,
  .cart-layout,
  .checkout-layout,
  .contact-layout,
  .admin-layout {
    grid-template-columns: 1fr;
  }

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

  .quick-add-card {
    grid-template-columns: 1fr;
  }

  .product-detail-image {
    max-width: 620px;
    width: 100%;
    margin: 0 auto;
  }

  .product-detail-form .product-option-items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-grid,
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-card {
    width: min(100%, 174px);
    justify-self: center;
  }

  .shop-category-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flyer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flyer-browser {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .flyer-browser-info {
    text-align: left;
  }

  .flyer-strip-arrow {
    display: none;
  }

  .flyer-showcase {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .real-flyer-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .market-flyer {
    min-height: auto;
  }

  .deal-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sales-page .deals-products {
    padding-top: 44px;
  }

  .concept-strip,
  .compact-category-grid,
  .quick-aisles,
  .home-flyer-cards,
  .deal-card-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-copy,
  .split-photo,
  .deal-led-main,
  .deal-card-stack a {
    min-height: 390px;
  }

  .browse-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .filters {
    position: static;
  }

  .brands-panel {
    position: static;
  }

  .brand-page-list {
    max-height: 340px;
  }

  .brand-result-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cart-list {
    max-height: 420px;
  }

  .cart-layout .summary-box {
    position: static;
  }

  .cart-drawer-page {
    grid-template-columns: 1fr;
  }

  .cart-drawer {
    max-height: none;
  }

  .cart-drawer .cart-list {
    max-height: 420px;
  }

  .checkout-shell {
    grid-template-columns: 1fr;
  }

  .checkout-summary {
    position: static;
  }

  .checkout-fields.three {
    grid-template-columns: 1fr;
  }

  .pickup-date-options {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .pickup-time-options,
  .curbside-content-grid {
    grid-template-columns: 1fr;
  }

  .curbside-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .store-menu {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .store-mega-menu {
    left: auto;
    right: 0;
    transform: translateY(10px);
  }

  .store-dropdown:hover .store-mega-menu,
  .store-dropdown:focus-within .store-mega-menu {
    transform: translateY(0);
  }

  .shop-filter-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .shop-filter-panel {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .shop-results-panel .shop-clean-heading {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand actions"
      "search search";
    align-items: center;
    gap: 10px 12px;
    padding: 10px 14px 12px;
  }

  .site-header .logo-brand {
    grid-area: brand;
  }

  .site-header .logo-brand img {
    width: 118px;
    max-height: 44px;
  }

  .home-search {
    grid-area: search;
    flex: none;
    width: 100%;
    max-width: none;
  }

  .home-search input,
  .home-search button {
    height: 42px;
  }

  .home-search input {
    padding-left: 16px;
  }

  .home-search button {
    width: 64px;
  }

  .nav-toggle {
    display: none;
  }

  .site-nav {
    grid-area: actions;
    display: flex;
    width: auto;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
  }

  .site-nav > a:not(.cart-link) {
    display: none;
  }

  .login-link,
  .auth-menu {
    width: auto;
  }

  .site-nav .login-link,
  .site-nav .auth-menu > .login-link,
  .site-nav .cart-link {
    min-height: 36px;
    justify-content: center;
    border-color: rgba(255, 255, 255, 0.28);
    padding: 0 8px;
    font-size: 12px;
  }

  .site-nav .cart-link {
    margin-left: auto;
  }

  .home-store-nav,
  body:not(.shop-route) > .store-nav {
    display: none;
  }

  body.shop-route > .store-nav {
    display: none;
  }

  body.shop-route .shop-filter-layout {
    gap: 14px;
  }

  body.shop-route .mobile-filter-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 48px;
    border: 1px solid #d5d8d6;
    border-radius: 8px;
    padding: 0 16px;
    color: #050505;
    background: #ffffff;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    text-align: left;
  }

  body.shop-route .mobile-filter-arrow {
    width: 10px;
    height: 10px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform 180ms ease;
  }

  body.shop-route .shop-filter-layout.filters-open .mobile-filter-arrow {
    transform: translateY(2px) rotate(225deg);
  }

  body.shop-route .shop-filter-panel {
    display: none;
    grid-template-columns: 1fr;
    gap: 22px;
    width: 100%;
    max-width: none;
    padding: 18px 0 0;
    background: #ffffff;
  }

  body.shop-route .shop-filter-layout.filters-open .shop-filter-panel {
    display: grid;
  }

  body.shop-route .shop-filter-panel .filter-block {
    padding: 0 0 22px;
    border-bottom: 1px solid #e4e4e4;
  }

  body.shop-route .shop-filter-panel .filter-block:last-child {
    border-bottom: 0;
  }

  body.shop-route .shop-filter-panel .filter-block h2 {
    margin: 0 0 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e4e4e4;
    color: #050505;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.2;
  }

  body.shop-route .shop-filter-panel .filter-search {
    margin: 0 0 16px;
  }

  body.shop-route .shop-filter-panel .filter-search span {
    left: 18px;
    width: 17px;
    height: 17px;
    border-color: #6f7672;
  }

  body.shop-route .shop-filter-panel .filter-search span::after {
    background: #6f7672;
  }

  body.shop-route .shop-filter-panel .filter-search input {
    height: 48px;
    border: 1px solid #d5d8d6;
    border-radius: 10px;
    padding-left: 48px;
    color: #050505;
    font-size: 16px;
    font-weight: 500;
  }

  body.shop-route .shop-filter-panel .filter-search input::placeholder {
    color: #9a9f9c;
  }

  body.shop-route .shop-filter-panel .check-filter-list,
  body.shop-route .shop-filter-panel .brand-filter-list {
    display: grid;
    gap: 6px;
    max-height: 232px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 2px 4px 2px 0;
    scrollbar-color: #b9bfc0 transparent;
    scrollbar-width: thin;
  }

  body.shop-route .shop-filter-panel .brand-filter-list {
    max-height: 214px;
  }

  body.shop-route .shop-filter-panel .check-filter-list label.filter-category,
  body.shop-route .shop-filter-panel .filter-category,
  body.shop-route .shop-filter-panel .brand-row {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    min-height: 44px;
    gap: 14px;
    border: 0;
    border-radius: 7px;
    padding: 0 14px;
    color: #050505;
    background: transparent;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
  }

  body.shop-route #categoryCheckboxes label.filter-category input[type="checkbox"],
  body.shop-route #brandFilterList label.filter-category input[type="checkbox"] {
    position: absolute;
    width: 1px !important;
    min-width: 1px !important;
    max-width: 1px !important;
    height: 1px !important;
    min-height: 1px !important;
    max-height: 1px !important;
    opacity: 0;
    pointer-events: none;
  }

  body.shop-route .shop-filter-panel .filter-category span,
  body.shop-route .shop-filter-panel .brand-row span {
    min-width: 0;
  }

  body.shop-route .shop-filter-panel .filter-category span,
  body.shop-route .shop-filter-panel .brand-row span strong,
  body.shop-route .shop-filter-panel .filter-category em,
  body.shop-route .shop-filter-panel .brand-row em {
    color: inherit;
    font-size: inherit;
    font-weight: 600;
  }

  body.shop-route .shop-filter-panel .check-filter-list label.filter-category:hover {
    color: #050505;
    background: #f7f7f7;
  }

  body.shop-route .shop-filter-panel .check-filter-list label.filter-category:has(input:checked),
  body.shop-route .shop-filter-panel .check-filter-list label.filter-category:has(input:checked):hover {
    color: #ffffff;
    background: #000000;
  }

  body.shop-route .shop-filter-panel .check-filter-list label.filter-category:has(input:checked) span,
  body.shop-route .shop-filter-panel .check-filter-list label.filter-category:has(input:checked) strong,
  body.shop-route .shop-filter-panel .check-filter-list label.filter-category:has(input:checked) em {
    color: #ffffff;
    font-weight: 700;
  }

  body.shop-route .active-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
  }

  body.shop-route .active-filter-chip {
    flex: 0 0 auto;
    width: auto;
    max-width: 100%;
    white-space: nowrap;
  }

  body.shop-route .active-filter-chip span {
    flex: 0 0 auto;
  }

  .hero {
    min-height: auto;
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(5, 24, 15, 0.78) 0%, rgba(5, 24, 15, 0.48) 72%, rgba(5, 24, 15, 0.18) 100%),
      linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.22));
  }

  .hero h1 {
    font-size: 34px;
  }

  .food-promo-banner {
    --promo-copy-offset: 18px;
    margin: 24px 0 28px;
    min-height: 390px;
  }

  .food-promo-copy {
    width: min(100% - 36px, 460px);
    padding: 58px 0 92px;
  }

  .food-promo-copy h2 {
    font-size: 46px;
  }

  .promo-dish {
    border-width: 5px;
    opacity: 0.84;
  }

  .dish-two,
  .dish-three {
    display: none;
  }

  .weekly-carousel {
    overflow: hidden;
  }

  .weekly-sale-track {
    grid-auto-columns: clamp(280px, 82vw, 360px);
    gap: 16px;
    overflow-x: auto;
    padding: 2px 0 8px;
  }

  .weekly-sale-track .product-card {
    width: 100%;
    max-width: 100%;
    min-height: 390px;
  }

  .weekly-sale-track .add-cart-btn {
    width: 100%;
    white-space: nowrap;
  }

  .weekly-sale-track .product-image {
    height: 185px;
  }

  .weekly-arrow {
    width: 38px;
    height: 38px;
    font-size: 19px;
  }

  .weekly-arrow-left {
    left: 6px;
  }

  .weekly-arrow-right {
    right: 6px;
  }

  .weekly-savings-section .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .weekly-view-all {
    margin-left: 0;
  }

  .delivery-promo-banner {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 36px 18px 42px;
  }

  .delivery-promo-copy h2 {
    font-size: 34px;
  }

  .delivery-promo-visual {
    min-height: 230px;
    overflow: hidden;
  }

  .delivery-store-image {
    width: 100%;
  }

  .delivery-store-image span {
    left: 14px;
    bottom: 14px;
    padding: 10px 14px;
    font-size: 12px;
  }

  .delivery-truck {
    width: 420px;
    height: 220px;
    transform: scale(0.82);
    transform-origin: center;
  }

  .split-market-hero,
  .home-flyer-preview,
  .concept-strip,
  .editorial-copy,
  .quick-aisles,
  .deal-led-hero,

  .split-copy,
  .split-photo,
  .deal-led-main,
  .deal-card-stack a {
    min-height: 330px;
  }

  .split-copy h1,
  .editorial-copy h1,
  .deal-led-main h1 {
    font-size: 34px;
  }

  .concept-strip,
  .compact-category-grid,
  .quick-aisles,
  .feature-board-grid,
  .home-flyer-cards,
  .deal-card-stack {
    grid-template-columns: 1fr;
  }

  .home-flyer-cards article:nth-child(2),
  .home-flyer-cards article:nth-child(2):hover,
  .home-flyer-card:nth-child(2),
  .home-flyer-card:nth-child(2):hover {
    transform: none;
  }

  .concept-strip article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .concept-strip article:last-child {
    border-bottom: 0;
  }

  .editorial-hero {
    min-height: 470px;
  }

  .hero-panel {
    min-height: 310px;
  }

  .cart-drawer-page {
    min-height: auto;
    padding: 18px;
  }

  .cart-drawer-intro {
    padding: 8px 0 0;
  }

  .cart-drawer-intro h1 {
    font-size: 34px;
  }

  .checkout-page {
    width: min(100% - 24px, 1200px);
    padding-top: 18px;
  }

  .brands-page {
    width: min(100% - 24px, 1220px);
    padding: 26px 0 40px;
  }

  .brands-hero h1 {
    font-size: 32px;
  }

  .brand-results {
    padding: 13px;
  }

  .brand-results-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .checkout-top {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 22px;
  }

  .checkout-card,
  .checkout-login-card,
  .checkout-summary-card {
    padding: 16px;
  }

  .checkout-fields.two {
    grid-template-columns: 1fr;
  }

  .pickup-date-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .curbside-pickup-page {
    padding: 34px 16px 46px;
  }

  .curbside-steps {
    grid-template-columns: 1fr;
  }

  .product-grid,
  .category-grid,
  .shop-category-products,
  .flyer-grid,
  .brand-result-grid,
  .market-flyer-grid,
  .deal-product-grid,
  .service-strip,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .category-card {
    width: min(100%, 168px);
  }

  .flyer-layout-page {
    padding: 24px 12px 0;
  }

  .real-flyer-tabs,
  .real-flyer-thumbs {
    flex-wrap: wrap;
  }

  .real-flyer-body {
    grid-template-columns: 1fr;
  }

  .real-flyer-thumbs {
    flex-direction: row;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 8px 2px 14px;
    scrollbar-width: none;
  }

  .real-flyer-thumbs::-webkit-scrollbar {
    display: none;
  }

  .flyer-page-thumb {
    flex: 0 0 104px;
    width: 104px;
    height: 136px;
  }

  .flyer-page-thumb:hover,
  .flyer-page-thumb.active {
    transform: translateY(-4px);
  }

  .flyer-pan-stage {
    min-height: 68vh;
  }

  .flyer-pan-stage img {
    max-height: 68vh;
  }

  .flyer-thumb {
    flex-basis: 74px;
    height: 96px;
  }

  .cart-item,
  .admin-product {
    grid-template-columns: 58px minmax(0, 1fr) auto;
  }

  .admin-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .site-footer {
    padding: 28px 18px 16px;
  }

  .footer-top,
  .footer-links-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-about-line {
    position: static;
    max-width: none;
    margin: 0;
  }

  .footer-product-categories {
    margin-left: 0;
  }

  .footer-product-categories h3 {
    text-align: left;
  }

  .footer-signup {
    border-left: 0;
    padding-left: 0;
  }

  .payment-card-row {
    grid-template-columns: 1fr;
  }

  .footer-intro h2 {
    font-size: 28px;
  }

  .social-links a {
    width: 40px;
    height: 40px;
  }

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

  .product-detail-image {
    min-height: 300px;
  }

  .quick-add-modal {
    padding: 12px;
  }

  .quick-add-card {
    max-height: calc(100vh - 24px);
    border-radius: 14px;
  }

  .quick-add-image {
    min-height: 240px;
    max-height: 34vh;
  }

  .quick-add-form {
    max-height: none;
  }

  .quick-add-actions {
    grid-template-columns: minmax(118px, 0.42fr) minmax(0, 1fr);
    padding: 12px 14px 16px;
  }

  .quick-add-scroll {
    padding: 20px 14px;
  }

  .quick-add-form .product-option-items {
    grid-template-columns: 1fr;
  }

  .quick-add-form .product-option-row span {
    white-space: normal;
  }

  .product-detail-page {
    padding: 24px 14px 42px;
  }

  .product-detail-card {
    padding: 0;
    border-radius: 0;
  }

  .product-detail-copy {
    padding: 4px 0 0;
  }

  .product-detail-form {
    gap: 14px;
  }

  .product-detail-form .product-option-items {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .product-detail-form .product-option-row {
    min-height: 46px;
  }

  .detail-cart-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .detail-quantity {
    width: 150px;
  }

  .store-menu {
    align-items: stretch;
    flex-direction: column;
  }

  .store-menu > a,
  .store-dropdown-trigger {
    justify-content: center;
    width: 100%;
  }

  .store-menu > a.super-sale-link::before {
    content: none;
  }

  .store-menu > a.super-sale-link::after {
    content: none;
  }

  .sale-festive {
    top: -15px;
    right: -1px;
    width: 30px;
    height: 26px;
  }

  .sale-gift {
    top: 5px;
    right: 3px;
    font-size: 17px;
  }

  .sale-confetti {
    width: 2px;
    height: 4px;
  }

  .sale-festive .c1 { top: 3px; left: 3px; }
  .sale-festive .c2 { top: 8px; left: 9px; }
  .sale-festive .c3 { top: 2px; right: 0; }
  .sale-festive .c4 { top: 13px; right: -1px; }

  .gift {
    top: -16px;
    right: 20px;
    font-size: 22px;
  }

  .confetti {
    width: 4px;
    height: 8px;
  }

  .c1 { top: -13px; left: 12px; }
  .c2 { top: -9px; left: 28px; }
  .c3 { top: -14px; left: 46px; }
  .c4 { top: -18px; right: 42px; }
  .c5 { top: -9px; right: 8px; }
  .c6 { top: -17px; right: -2px; }
  .c7 { top: -8px; right: -14px; }

  .store-mega-menu,
  .store-simple-menu {
    position: static;
    width: 100%;
    margin-top: 8px;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .store-mega-menu {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 10px;
  }

  .shop-filter-panel {
    grid-template-columns: 1fr;
  }

  .shop-results-panel .shop-clean-search {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .legal-page {
    padding: 40px 18px 48px;
  }

  .legal-copy h1 {
    margin-bottom: 30px;
    font-size: 36px;
  }

  .legal-copy p,
  .legal-copy li {
    font-size: 14px;
    line-height: 1.75;
  }

  .faq-page {
    padding: 38px 18px 50px;
  }

  .faq-item h2 {
    padding: 16px;
  }

  .faq-item p,
  .faq-item:hover p,
  .faq-item:focus-within p {
    padding-left: 16px;
    padding-right: 16px;
  }
}

.product-bulk-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.product-bulk-actions[hidden] {
  display: none !important;
}

.field-help {
  margin: -8px 0 8px;
  color: #63756b;
  font-size: 12px;
  line-height: 1.45;
}

.item-hidden-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 6px;
  border-radius: 999px;
  padding: 3px 8px;
  background: #fff0c7;
  color: #7a4b00;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
}

.invoice-totals {
  width: min(360px, 100%);
  margin: 18px 0 0 auto;
  border-top: 1px solid #dfe8e2;
  padding-top: 12px;
}

.invoice-totals div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 7px 0;
  color: #4b5b53;
  font-size: 14px;
}

.invoice-totals strong {
  color: #17231d;
  font-weight: 900;
  white-space: nowrap;
}

.invoice-totals-final {
  margin-top: 6px;
  border-top: 1px solid #dfe8e2;
  padding-top: 12px !important;
  color: #17231d !important;
  font-size: 16px !important;
  font-weight: 900;
}

.invoice-print-card .invoice-totals {
  break-inside: avoid;
  page-break-inside: avoid;
}
