/* Rooflo Shop */

.shop-page #main {
  padding-top: 0;
}

/* —— Dedicated storefront shell (HomeRun-style) —— */
.shop-storefront {
  --shop-ink: #1a1f16;
  --shop-green: #2f6b3a;
  --shop-yellow: #f5c518;
  --shop-bg: #f7f8f5;
  background: #fff;
  color: var(--shop-ink);
  font-family: "DM Sans", system-ui, sans-serif;
}

.shop-storefront .site-header,
.shop-storefront .site-footer {
  display: none;
}

.shop-promo-top {
  background: var(--shop-yellow, #f5c518);
  color: #1a1f16;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  letter-spacing: 0.01em;
}

.shop-store-header {
  background: #fff;
  border-bottom: 0;
  position: sticky;
  top: 0;
  z-index: 50;
}

.shop-store-header__row {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  gap: 0.75rem 1rem;
  align-items: center;
  padding-top: 0.65rem;
  padding-bottom: 0.45rem;
}

@media (max-width: 900px) {
  .shop-store-header__row {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand actions"
      "delivery delivery"
      "search search";
  }
  .shop-store-brand { grid-area: brand; }
  .shop-store-delivery { grid-area: delivery; justify-self: start; }
  .shop-store-search { grid-area: search; }
  .shop-store-actions { grid-area: actions; }
}

.shop-store-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.shop-store-brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.shop-store-brand__text strong {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.shop-store-brand__text span {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--shop-green);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.shop-store-delivery {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 0.45rem;
  border: 0;
  background: transparent;
  border-radius: 0;
  padding: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
  text-align: left;
  position: relative;
}

.shop-store-delivery:hover {
  border-color: transparent;
  background: transparent;
}

.shop-store-delivery__eta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--shop-green);
  color: #fff;
  border-radius: 6px;
  padding: 0.45rem 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.05;
  white-space: nowrap;
}

.shop-store-delivery__eta strong {
  font-size: 0.85rem;
  font-weight: 800;
  margin-right: 0.15rem;
}

.shop-store-delivery__meta {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  min-width: 0;
}

.shop-store-delivery__label {
  display: block;
  font-size: 0.72rem;
  color: rgba(26, 31, 22, 0.7);
  font-weight: 600;
  white-space: nowrap;
}

.shop-store-delivery__pin {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  line-height: 1.15;
}

.shop-store-delivery__pin strong {
  font-size: 0.85rem;
  font-weight: 700;
}

.shop-store-delivery__caret {
  opacity: 0.55;
  font-size: 0.7rem;
  position: static;
  transform: none;
}

.shop-store-search {
  position: relative;
  width: 100%;
  max-width: 36rem;
  justify-self: center;
}

.shop-store-search__icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(26, 31, 22, 0.45);
  display: flex;
}

.shop-store-search input {
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 999px;
  background: #f4f5f2;
  padding: 0.7rem 1rem 0.7rem 2.4rem;
  font: inherit;
  font-size: 0.95rem;
}

.shop-store-search input:focus {
  outline: 2px solid rgba(47, 107, 58, 0.35);
  outline-offset: 1px;
  background: #fff;
}

.shop-store-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.shop-store-actions__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: inherit;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
}

.shop-store-actions__link:hover {
  color: var(--shop-green);
}

.shop-store-actions__cart {
  position: relative;
  display: inline-flex;
  color: inherit;
  text-decoration: none;
  padding: 0.2rem;
}

.shop-store-actions__badge {
  position: absolute;
  top: -0.25rem;
  right: -0.35rem;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.28rem;
  border-radius: 999px;
  background: var(--shop-green);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  line-height: 1;
}

.shop-store-footer {
  background: #f5c518;
  color: #1a1f16;
  margin-top: 2.5rem;
  padding-top: 2.25rem;
}

.shop-store-footer__top {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1.35fr;
  gap: 1.75rem 2rem;
  padding-bottom: 2rem;
  align-items: start;
}

@media (max-width: 960px) {
  .shop-store-footer__top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .shop-store-footer__top {
    grid-template-columns: 1fr;
  }
}

.shop-store-footer__apps {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
}

.shop-store-appbtn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: #111;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  padding: 0.45rem 0.85rem 0.45rem 0.65rem;
  min-width: 10.5rem;
  transition: opacity 0.15s ease;
}

.shop-store-appbtn:hover {
  opacity: 0.9;
  color: #fff;
}

.shop-store-appbtn__icon {
  display: flex;
  flex-shrink: 0;
}

.shop-store-appbtn__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.shop-store-appbtn__text small {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.9;
}

.shop-store-appbtn__text strong {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.shop-store-footer__heading {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
  font-weight: 800;
}

.shop-store-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.shop-store-footer__list a {
  color: inherit;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.shop-store-footer__list a::before {
  content: "›";
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1;
}

.shop-store-footer__list a:hover {
  text-decoration: underline;
}

.shop-store-footer__contact {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
}

.shop-store-footer__contact a {
  color: inherit;
  font-weight: 600;
  text-decoration: none;
}

.shop-store-footer__contact a:hover {
  text-decoration: underline;
}

.shop-store-footer__address {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  max-width: 18rem;
}

.shop-store-footer__newsletter {
  text-align: center;
  padding: 0.5rem 1rem 1.75rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.shop-store-footer__newsletter-title {
  margin: 1.35rem auto 1rem;
  max-width: 36rem;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.35;
}

.shop-store-footer__newsletter-form {
  position: relative;
  max-width: 28rem;
  margin: 0 auto;
}

.shop-store-footer__newsletter-form input[type="email"] {
  width: 100%;
  border: 1.5px solid #1a1f16;
  border-radius: 999px;
  background: transparent;
  padding: 0.85rem 3rem 0.85rem 1.25rem;
  font: inherit;
  font-size: 0.95rem;
  color: inherit;
}

.shop-store-footer__newsletter-form input[type="email"]::placeholder {
  color: rgba(26, 31, 22, 0.55);
}

.shop-store-footer__newsletter-form input[type="email"]:focus {
  outline: 2px solid rgba(26, 31, 22, 0.35);
  outline-offset: 2px;
}

.shop-store-footer__newsletter-form button {
  position: absolute;
  right: 0.35rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2.4rem;
  height: 2.4rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #1a1f16;
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
}

.shop-store-footer__newsletter-form button:hover {
  background: rgba(0, 0, 0, 0.06);
}

.shop-store-footer__bar {
  background: transparent;
  padding: 0 0 1.25rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.shop-store-footer__legal {
  margin: 0.9rem 0 0;
  text-align: center;
  font-size: 0.78rem;
  line-height: 1.5;
  font-weight: 500;
  color: rgba(26, 31, 22, 0.85);
}

.shop-store-footer__legal a {
  color: inherit;
  text-decoration: none;
}

.shop-store-footer__legal a:hover {
  text-decoration: underline;
}

.shop-store-footer__legal span {
  margin: 0 0.2rem;
}

.shop-info-body p {
  margin: 0 0 1rem;
  line-height: 1.55;
  color: rgba(26, 31, 22, 0.85);
}

.shop-storefront .shop-store-header + .shop-subnav,
.shop-storefront .shop-store-header ~ .shop-subnav {
  top: auto;
}

.shop-subnav {
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 60;
  overflow: visible;
}

.shop-subnav__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.15rem 0.35rem;
  padding: 0;
  overflow: visible;
}

.shop-subnav__item {
  position: relative;
  flex: 0 0 auto;
}

.shop-subnav__item.has-dropdown:hover > .shop-subnav__link,
.shop-subnav__item.has-dropdown:focus-within > .shop-subnav__link {
  color: var(--shop-green, #2f6b3a);
  box-shadow: inset 0 -2px 0 #1a1f16;
}

.shop-subnav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.75rem 0.15rem;
  color: #333;
  text-decoration: none;
  font-size: 0.8125rem; /* ~13px */
  font-weight: 500;
  white-space: nowrap;
  border-radius: 0;
  letter-spacing: 0;
}

/* Flush with header logo / trust-strip left edge */
.shop-subnav__inner > .shop-subnav__link:first-child {
  padding-left: 0;
}

/* Flush with trust-strip / cart right edge */
.shop-subnav__inner > .shop-subnav__item:last-child .shop-subnav__link {
  padding-right: 0;
}

.shop-subnav__link:hover,
.shop-subnav__item:hover > .shop-subnav__link {
  background: transparent;
  color: var(--shop-green, #2f6b3a);
}

.shop-subnav__caret {
  font-size: 0.65rem;
  opacity: 0.65;
  margin-left: 0.1rem;
}

.shop-subnav__dropdown {
  display: none;
  position: absolute;
  top: calc(100% - 1px);
  left: 0;
  min-width: 14rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
  padding: 0.4rem 0;
  z-index: 80;
}

.shop-subnav__item:last-child .shop-subnav__dropdown {
  left: auto;
  right: 0;
}

.shop-subnav__item:hover > .shop-subnav__dropdown,
.shop-subnav__item:focus-within > .shop-subnav__dropdown {
  display: grid;
}

.shop-subnav__dropdown a {
  display: block;
  padding: 0.55rem 0.9rem;
  color: inherit;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
}

.shop-subnav__dropdown a:hover {
  background: rgba(47, 107, 58, 0.08);
  color: var(--shop-green, #2f6b3a);
}

.shop-subnav__link--tools {
  color: inherit;
}

/* Keep storefront header above page content, but below open dropdowns */
.shop-storefront .shop-store-header {
  z-index: 55;
  overflow: visible;
}

.shop-storefront .shop-subnav {
  position: relative;
  z-index: 70;
  top: auto;
  overflow: visible;
}

.shop-page #main {
  overflow: visible;
}

.shop-promo-banner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
  background: linear-gradient(90deg, #e8f5e9, #fff8e1);
  border: 1px solid rgba(47, 107, 58, 0.25);
  border-radius: 10px;
  padding: 0.9rem 1.1rem;
  margin: 0 0 1.15rem;
}

.shop-promo-banner strong {
  color: #b71c1c;
  letter-spacing: 0.02em;
}

.shop-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.65rem;
  margin: 0 0 1.15rem;
  padding: 0.65rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.shop-filters__label {
  font-weight: 700;
  font-size: 0.88rem;
}

.shop-filters .input--sm {
  width: auto;
  min-width: 7rem;
  padding: 0.4rem 0.55rem;
}

.shop-filters__count {
  margin-left: auto;
  font-weight: 700;
  font-size: 0.9rem;
}

.shop-tool-card {
  display: grid;
  gap: 1.25rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 1.35rem 1.4rem;
}

@media (min-width: 800px) {
  .shop-tool-card {
    grid-template-columns: 1.4fr 1fr;
    align-items: center;
  }
}

.shop-tool-card__list {
  margin: 0;
  padding-left: 1.1rem;
  color: rgba(26, 31, 22, 0.7);
}

.shop-page {
  --shop-ink: #1a1f16;
  --shop-green: #2f6b3a;
  --shop-yellow: #f5c518;
  --shop-bg: #f7f8f5;
}

.shop {
  color: var(--shop-ink);
  background: var(--shop-bg);
  padding-bottom: 5.5rem;
}

.shop--cart,
.shop--checkout {
  padding-bottom: 3rem;
  background: #fff;
}

.shop-trust {
  background: #f3faf3;
  border-bottom: 1px solid rgba(47, 107, 58, 0.12);
}

.shop-trust .container {
  padding-top: 0;
  padding-bottom: 0;
}

.shop-value .container {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.shop-trust__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  align-items: stretch;
  justify-items: stretch;
}

.shop-value__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.25rem;
  width: 100%;
  margin: 0;
  padding: 0;
  align-items: start;
  justify-items: stretch;
}

@media (min-width: 900px) {
  .shop-trust__row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

.shop-trust__item,
.shop-value__item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 0.88rem;
  min-width: 0;
  text-align: left;
}

.shop-trust__item {
  flex-direction: row;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  padding: 0.75rem 0.5rem 0.75rem 0.5rem;
  color: #2f6b3a;
  border-right: 1px solid rgba(47, 107, 58, 0.18);
}

.shop-trust__item:last-child {
  border-right: 0;
  padding-right: 0;
}

.shop-trust__item:first-child {
  padding-left: 0;
}

.shop-trust__item > div {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.shop-trust__icon {
  flex: 0 0 auto;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 0;
  background: transparent;
  color: #2f6b3a;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1rem;
  padding: 0;
}

.shop-trust__icon svg {
  display: block;
}

.shop-trust__item strong {
  color: #2f6b3a;
  font-size: 1.125rem; /* 18px */
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.shop-trust__item span {
  color: #3d7a48;
  font-size: 0.75rem; /* 12px */
  font-weight: 500;
  line-height: 1.25;
}

.shop-value__item strong {
  color: var(--shop-green);
  font-size: 0.95rem;
}

.shop-value__item span {
  color: rgba(26, 31, 22, 0.65);
}

@media (max-width: 899px) {
  .shop-trust__item:nth-child(2n) {
    border-right: 0;
    padding-right: 0;
  }

  .shop-trust__item:nth-child(2n + 1) {
    padding-left: 0;
    padding-right: 0.65rem;
  }

  .shop-trust__item:nth-child(n + 3) {
    border-top: 1px solid rgba(47, 107, 58, 0.18);
  }

  .shop-trust__item strong {
    font-size: 0.95rem;
  }
}

.shop-hero-promo {
  background: linear-gradient(120deg, #1e3d24 0%, #2f6b3a 45%, #4a8f57 100%);
  color: #fff;
  padding: 1.75rem 0;
}

.shop-hero-promo--ply {
  background: linear-gradient(105deg, #f3ebe0 0%, #efe2d0 45%, #e8d7c0 100%);
  color: var(--shop-ink);
}

.shop-hero-promo--ply .shop-hero-promo__eyebrow {
  color: var(--shop-green);
}

.shop-hero-promo--ply .shop-hero-promo__lede {
  opacity: 0.85;
}

.shop-hero-promo__badge {
  position: absolute;
  left: 0.85rem;
  bottom: 0.85rem;
  background: var(--shop-green);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.55rem 0.65rem;
  border-radius: 999px;
  max-width: 6.5rem;
  text-align: center;
  line-height: 1.2;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.shop-hero-promo__inner {
  display: grid;
  gap: 1.25rem;
  align-items: center;
}

@media (min-width: 800px) {
  .shop-hero-promo__inner {
    grid-template-columns: 1.1fr 1fr;
  }
}

.shop-hero-promo__eyebrow {
  margin: 0 0 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 700;
  opacity: 0.85;
}

.shop-hero-promo__title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display, Georgia, serif);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  line-height: 1.15;
}

.shop-hero-promo__lede {
  margin: 0 0 1rem;
  opacity: 0.92;
}

.shop-hero-promo__media {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  min-height: 12rem;
}

.shop-hero-promo__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 12rem;
}

.shop-section {
  padding: 1.75rem 0 0.5rem;
}

.shop-section__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1rem;
}

.shop-section__title {
  margin: 0 0 1rem;
  font-family: var(--font-display, Georgia, serif);
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
}

.shop-section__link {
  font-weight: 600;
  color: var(--shop-green);
}

.shop-cat-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem 0.65rem;
}

@media (min-width: 640px) {
  .shop-cat-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .shop-cat-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

.shop-cat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  color: inherit;
  text-align: center;
}

.shop-cat--tile {
  position: relative;
  background: #eef5fb;
  border-radius: 14px;
  padding: 0.85rem 0.55rem 0.7rem;
  gap: 0.55rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.shop-cat--tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(20, 40, 60, 0.08);
}

.shop-cat__bulk {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--shop-yellow);
  color: #1a1f16;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 0.22rem 0.45rem;
  border-radius: 14px 0 8px 0;
  letter-spacing: 0.01em;
  z-index: 1;
}

.shop-cat__img {
  width: 4.75rem;
  height: 4.75rem;
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}

.shop-cat--tile .shop-cat__img {
  width: 5.25rem;
  height: 5.25rem;
  border-radius: 12px;
  background: transparent;
  border: 0;
}

.shop-cat__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shop-cat__name {
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.25;
}

.shop-product-row,
.shop-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(11.5rem, 1fr));
  gap: 1rem;
}

@media (min-width: 900px) {
  .shop-product-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.shop-card {
  position: relative;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.shop-card__ribbon {
  background: #0f766e;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  text-align: center;
  padding: 0.28rem 0.4rem;
}

.shop-card__badge {
  position: absolute;
  top: 1.85rem;
  left: 0.55rem;
  z-index: 1;
  background: var(--shop-yellow);
  color: #1a1f16;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
}

.shop-card__badge--inline {
  position: static;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.shop-card__media {
  display: block;
  aspect-ratio: 1.15 / 1;
  background: #f0f2ec;
}

.shop-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shop-card__body {
  padding: 0.65rem 0.75rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  flex: 1;
}

.shop-card__perks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.shop-card__perks span {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--shop-green);
  background: rgba(47, 107, 58, 0.08);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
}

.shop-card__title {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.3;
  font-weight: 600;
}

.shop-card__title a {
  color: inherit;
  text-decoration: none;
}

.shop-card__price {
  margin: 0.1rem 0;
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.shop-card__price strong {
  font-size: 1.05rem;
}

.shop-card__price s {
  color: rgba(26, 31, 22, 0.45);
  font-size: 0.85rem;
}

.shop-card__offer {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  color: #8a6a00;
  background: #fff4c2;
  border: 1px solid #f0d56a;
  border-radius: 4px;
  padding: 0.3rem 0.4rem;
}

.shop-card__add {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.shop-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}

.shop-stepper__btn {
  width: 2rem;
  height: 2rem;
  border: 0;
  background: #f5f5f5;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  color: inherit;
}

.shop-stepper__input {
  width: 2.25rem;
  border: 0;
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
  appearance: textfield;
  -moz-appearance: textfield;
}

.shop-stepper__input::-webkit-outer-spin-button,
.shop-stepper__input::-webkit-inner-spin-button {
  appearance: none;
  margin: 0;
}

.shop-btn-add {
  background: var(--shop-yellow) !important;
  color: #1a1f16 !important;
  border: 0 !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em;
  min-width: 3.6rem;
  padding: 0.45rem 0.75rem !important;
}

.shop-btn-checkout {
  width: 100%;
  background: var(--shop-yellow) !important;
  color: #1a1f16 !important;
  border: 0 !important;
  font-weight: 800 !important;
  font-size: 1.05rem !important;
  padding: 0.85rem 1rem !important;
  border-radius: 8px !important;
}

.shop-cart-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  /* Above cookie banner (180); below header menus (220+) and modals (200). */
  z-index: 185;
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.08);
  padding: 0.7rem 0 calc(0.7rem + env(safe-area-inset-bottom, 0px));
}

.shop-cart-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.shop-cart-bar__meta {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  font-size: 0.95rem;
  color: var(--shop-ink, #1a1f16);
}

.shop-cart-bar__meta strong {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(26, 31, 22, 0.7);
}

.shop-cart-bar__meta span {
  font-size: 1.15rem;
  font-weight: 800;
  color: #111;
}

.shop-cart-bar__cta {
  background: #2f6b3a !important;
  background-color: #2f6b3a !important;
  color: #fff !important;
  border: 0 !important;
  font-weight: 800 !important;
  border-radius: 999px !important;
  padding: 0.75rem 1.5rem !important;
  font-size: 1rem !important;
  flex-shrink: 0;
  text-decoration: none !important;
}

/* Sit above cookie consent strip when that banner is open */
body.cookie-banner-visible .shop-cart-bar {
  bottom: max(5.5rem, calc(env(safe-area-inset-bottom, 0px) + 4.5rem));
}

.shop-page.has-network-dock .shop-cart-bar {
  bottom: 3.75rem;
}

.shop-page.has-network-dock.cookie-banner-visible .shop-cart-bar {
  bottom: calc(3.75rem + max(5.5rem, calc(env(safe-area-inset-bottom, 0px) + 4.5rem)));
}

body.shop-page:has(.shop-cart-bar) {
  padding-bottom: 5.25rem;
}

body.shop-page.cookie-banner-visible:has(.shop-cart-bar) {
  padding-bottom: calc(5.25rem + max(5.5rem, calc(env(safe-area-inset-bottom, 0px) + 4.5rem)));
}

.shop-value {
  margin-top: 2rem;
  background: #fff;
  border-top: 1px solid var(--border, #e5e7eb);
}

.shop-breadcrumb {
  padding: 1rem 0 0;
  font-size: 0.9rem;
  color: rgba(26, 31, 22, 0.65);
}

.shop-breadcrumb a {
  color: var(--shop-green);
}

.shop-detail {
  display: grid;
  gap: 1.5rem;
  padding: 1.25rem 0 2rem;
}

@media (min-width: 800px) {
  .shop-detail {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.shop-detail__media {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.shop-detail__media img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.shop-detail__price {
  font-size: 1.35rem;
}

.shop-detail__price s {
  margin-left: 0.5rem;
  color: rgba(26, 31, 22, 0.45);
  font-size: 1rem;
}

.shop-detail__form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: end;
  margin: 1rem 0;
}

.shop-detail__form .input {
  width: 5rem;
}

.shop-cart-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1rem;
}

.shop-cart-head .shop-section__title {
  margin: 0;
}

.shop-cart-layout {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 900px) {
  .shop-cart-layout {
    grid-template-columns: minmax(0, 1.5fr) minmax(16rem, 0.85fr);
  }
}

.shop-cart-delivery-note {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  background: #e8f4ff;
  border: 1px solid #c5dff5;
  border-radius: 8px;
  padding: 0.75rem 0.9rem;
  margin-bottom: 1rem;
}

.shop-cart-delivery-note p {
  margin: 0;
  font-size: 0.92rem;
}

.shop-cart-delivery-note__icon {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 4px;
  background: linear-gradient(135deg, #2f6b3a, #5aa86a);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.shop-cart-table-wrap {
  overflow-x: auto;
  background: #fff;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.shop-cart-table {
  width: 100%;
  border-collapse: collapse;
}

.shop-cart-table th,
.shop-cart-table td {
  padding: 0.95rem 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  text-align: left;
  vertical-align: middle;
}

.shop-cart-table th {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(26, 31, 22, 0.55);
}

.shop-cart-product {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.shop-cart-product__img {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 8px;
  overflow: hidden;
  background: #f3f4f0;
  flex-shrink: 0;
}

.shop-cart-product__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.shop-cart-product a {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}

.shop-cart-qty {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.shop-cart-qty__val {
  min-width: 1.5rem;
  text-align: center;
  font-weight: 700;
}

.shop-cart-trash {
  border: 0;
  background: transparent;
  color: rgba(26, 31, 22, 0.55);
  font-size: 0.8rem;
  text-decoration: underline;
  cursor: pointer;
  margin-left: 0.35rem;
}

.shop-cart-aside {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  padding: 1.1rem 1.15rem 1.25rem;
  display: grid;
  gap: 0.75rem;
  position: sticky;
  top: 5.5rem;
}

.shop-cart-aside__subtotal,
.shop-cart-aside__total {
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  font-size: 1.05rem;
}

.shop-unload {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
  border: 1px solid rgba(47, 107, 58, 0.35);
  background: rgba(47, 107, 58, 0.06);
  border-radius: 8px;
  padding: 0.75rem 0.85rem;
}

.shop-unload p {
  margin: 0.2rem 0 0;
}

.shop-unload.is-added {
  border-color: var(--shop-green);
}

.shop-reviews {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.shop-reviews__summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
}

.shop-reviews__stars {
  margin: 0.2rem 0 0;
  color: #e6a700;
  font-size: 0.95rem;
}

.shop-reviews__grid {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 800px) {
  .shop-reviews__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.shop-review-card {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  padding: 0.9rem 1rem;
  background: #fafaf8;
}

.shop-review-card__name {
  margin: 0;
  font-weight: 700;
}

.shop-review-card p {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
}

.shop-checkout__grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 860px) {
  .shop-checkout__grid {
    grid-template-columns: 1.3fr 1fr;
    align-items: start;
  }
}

.shop-checkout__form,
.shop-checkout__summary {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  padding: 1.15rem 1.25rem;
}

.shop-checkout__address {
  padding-bottom: 0.75rem;
  margin-bottom: 0.25rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.shop-checkout__lines {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}

.shop-checkout__lines li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 0.92rem;
}

.shop-checkout__total {
  margin: 0;
  font-size: 1.1rem;
}

.shop-address-modal__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(16, 20, 14, 0.45);
  z-index: 60;
}

.shop-address-modal {
  border: 0;
  padding: 0;
  margin: auto;
  max-width: min(36rem, calc(100vw - 1.5rem));
  width: 100%;
  border-radius: 14px;
  background: transparent;
  z-index: 70;
}

.shop-address-modal::backdrop {
  background: rgba(16, 20, 14, 0.45);
}

.shop-address-modal__panel {
  background: #fff;
  border-radius: 14px;
  padding: 1.15rem 1.2rem 1.25rem;
  display: grid;
  gap: 0.75rem;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.2);
}

.shop-address-modal__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
}

.shop-address-modal__title {
  margin: 0;
  font-size: 1.15rem;
  font-family: var(--font-display, Georgia, serif);
}

.shop-address-modal__close {
  border: 0;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: rgba(26, 31, 22, 0.55);
}

.shop-address-modal__search-label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.shop-address-modal__suggest {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  max-height: 10rem;
  overflow: auto;
  background: #fff;
}

.shop-address-modal__suggest button {
  width: 100%;
  text-align: left;
  border: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  background: #fff;
  padding: 0.65rem 0.75rem;
  cursor: pointer;
  font: inherit;
}

.shop-address-modal__suggest li:last-child button {
  border-bottom: 0;
}

.shop-address-modal__map {
  height: 16rem;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #e8eee6;
  z-index: 1;
}

.shop-address-modal__hint {
  margin: 0;
}

.shop-address-modal__selected {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
}

.shop-address-modal__manual {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  padding: 0.55rem 0.75rem;
}

.shop-address-modal__manual summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
}

.shop-address-modal__manual-fields {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.65rem;
}

.shop-address-modal__confirm {
  width: 100%;
  background: #d9d9d9 !important;
  color: #555 !important;
  border: 0 !important;
  font-weight: 700 !important;
  padding: 0.85rem 1rem !important;
  border-radius: 8px !important;
}

.shop-address-modal__confirm:not(:disabled) {
  background: var(--shop-yellow) !important;
  color: #1a1f16 !important;
}

body.shop-modal-open {
  overflow: hidden;
}

.site-nav__link--shop .site-nav__label {
  white-space: nowrap;
}

.site-nav__badge {
  margin-left: 0.2rem;
  font-size: 0.78em;
  font-weight: 700;
  color: var(--secondary, #f2c94c);
}
