:root {
  --forest-deep: #153720;
  --forest: #245333;
  --accent: #d8ec9c;
  --honey: #406b2e;
  --paper: #f7f8ef;
  --line: #dce6d5;
}
.brand .logo-mark.has-shop-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(116px, 13vw, 178px);
  height: 52px;
  padding: 3px 6px;
  background: #fff;
}
.brand .logo-mark.has-shop-logo img { min-width: 0; min-height: 0; }
.footer .brand .logo-mark.has-shop-logo { padding: 5px 8px; }
.announcement b, .hero-kicker { color: #e1f3ac; }
.hero { background: linear-gradient(115deg, #102d1a, #245333 63%, #375f31); }
.button-accent:hover { background: #ecf6cd; }
.trust-item:hover { border-color: #8fad83; }
.showcase-art { background: #fafbf4; }
.showcase-art img, .card-art img { object-fit: contain; }
.showcase-card img { padding: 8px; }
.natural-no-photo {
  display: grid;
  place-items: center;
  height: 100%;
  width: 100%;
  min-height: 48px;
  background: #eaf1df;
  color: #477348;
}
.natural-no-photo .icon { width: 30px; height: 30px; }
.wholesale-section {
  margin-top: 38px;
  border: 1px solid #dce6d0;
  border-radius: 22px;
  padding: clamp(20px, 3.7vw, 43px);
  background: #eef4e6;
}
.wholesale-intro h2 { margin: 6px 0 12px; font: 700 clamp(25px, 4vw, 44px)/1.05 var(--display); }
.wholesale-intro p, .wholesale-foot { max-width: 710px; color: #425b48; line-height: 1.6; }
.wholesale-foot { margin: 15px 0 0; font-size: 13px; }
.wholesale-rules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 20px; }
.wholesale-rules > div {
  padding: 15px 18px;
  border: 1px solid #dce6d0;
  border-radius: 12px;
  background: #fffefa;
}
.wholesale-rules strong, .buyer-account strong { display: block; color: #193d23; }
.wholesale-rules small, .buyer-account small { display: block; margin-top: 3px; color: #4d6652; }
#buyerSignOut { margin-top: 14px; }
.guide-section { padding-top: 58px; }
.guide-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.guide-card {
  display: grid;
  grid-template-columns: minmax(105px, 32%) 1fr;
  align-items: center;
  gap: clamp(14px, 2vw, 25px);
  padding: clamp(15px, 2.2vw, 25px);
  background: #fffefa;
  border: 1px solid #dce6d5;
  border-radius: 17px;
}
.guide-card img {
  display: block;
  width: 100%;
  aspect-ratio: .76;
  object-fit: contain;
  border-radius: 8px;
  background: #edf2e8;
}
.guide-card h3 { margin: 5px 0 8px; font: 700 clamp(20px, 2.6vw, 27px)/1.08 var(--display); }
.guide-card p { color: #4b6352; line-height: 1.5; font-size: 14px; }
.more-products { margin: 25px auto 0; display: flex; }
.more-products[hidden], #buyerSignOut[hidden] { display: none; }
.scale-table { width: 100%; margin-top: 8px; border-collapse: collapse; font-size: 13px; }
.scale-table th, .scale-table td { text-align: left; padding: 6px 5px; border-bottom: 1px solid #dce6d5; }
.scale-table th:last-child, .scale-table td:last-child { text-align: right; }
.cart-wholesale { padding: 12px; margin: 0 0 12px; border-radius: 10px; background: #e6f1d9; color: #284728; font-weight: 800; }
.buyer-account { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 0; border-bottom: 1px solid #dce6d5; }
#adminWholesalePanel .rider-access { margin-top: 20px; }
.install-app-mark img { width: 100%; height: 100%; border-radius: inherit; }

html { scroll-padding-top: 148px; }
.site-header .header-inner { justify-content: space-between; }
.menu-toggle {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  color: var(--forest-deep);
}
.menu-toggle .icon { width: 22px; height: 22px; }
.store-desktop-nav { margin-inline: auto; }
.store-desktop-nav a { display: inline-flex; align-items: center; gap: 5px; }
.store-desktop-nav .icon { width: 16px; height: 16px; }
.store-desktop-nav [aria-current] { color: var(--forest); text-decoration: underline; text-underline-offset: 6px; }
.store-search {
  position: relative;
  display: grid;
  grid-template-columns: minmax(105px, 195px) minmax(0, 1fr) auto;
  min-height: 45px;
  margin: 0 auto 9px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.store-search select { width: 100%; min-width: 0; padding-inline: 10px; border: 0; border-right: 1px solid var(--line); border-radius: 9px 0 0 9px; background: #f5f8ef; color: var(--forest-deep); }
.store-search label { min-width: 0; display: flex; align-items: center; gap: 9px; padding-inline: 12px; }
.store-search label .icon { flex: 0 0 18px; width: 18px; height: 18px; color: #526753; }
.store-search input { min-width: 0; flex: 1; width: 100%; padding: 10px 0; border: 0; color: var(--ink); background: transparent; font-size: 16px; }
.store-search button { padding: 0 clamp(12px, 3vw, 26px); border: 0; border-radius: 0 9px 9px 0; background: var(--forest); color: white; font-weight: 750; }
.store-search input:focus { outline: none; box-shadow: none; }
.store-search :is(select, button):focus-visible { outline: 2px solid #729c77; outline-offset: -3px; }
.search-suggestions {
  position: absolute;
  z-index: 2;
  inset: calc(100% + 6px) 0 auto 195px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 28px #223e2830;
}
.search-suggestions-list { max-height: min(360px, 48dvh); overflow-y: auto; overscroll-behavior: contain; }
.search-suggestions-list:empty { display: none; }
.search-suggestions [role="option"] {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 7px 12px;
  cursor: pointer;
  color: var(--forest-deep);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.3;
}
.search-suggestions [role="option"] + [role="option"] { border-top: 1px solid var(--line); }
.search-suggestions [role="option"]:hover,
.search-suggestions [aria-selected="true"] { background: #eff6eb; }
.search-suggestion-photo {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--forest);
}
.search-suggestion-photo img { width: 100%; height: 100%; object-fit: contain; }
.search-suggestions p { margin: 0; padding: 14px; color: var(--muted); }
.search-suggestions-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.store-menu {
  position: fixed;
  inset: 0 auto 0 0;
  margin: 0;
  width: min(86vw, 350px);
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  border-radius: 0 20px 20px 0;
  background: #fffefa;
}
.store-menu-head { display: flex; align-items: center; justify-content: space-between; padding: 17px; border-bottom: 1px solid var(--line); }
.store-menu nav { display: grid; gap: 4px; padding: 12px 15px 20px; }
.store-menu nav a, .store-menu nav button {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 8px 11px;
  border: 0;
  border-radius: 9px;
  color: var(--forest-deep);
  background: transparent;
  font-weight: 740;
  text-align: left;
}
.store-menu nav :is(a,button):hover, .store-menu [aria-current] { background: #e9f1df; }
.store-menu nav .icon { width: 20px; height: 20px; }
.store-bottom-nav { display: none; }
.hero .hero-ctas { flex-wrap: wrap; }
.hero-wa { display: none; }
.hero-visual { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(9px, 2vw, 24px); align-items: center; padding: clamp(15px, 3vw, 43px); }
.showcase-card.main, .showcase-card.side { position: relative; inset: auto; width: 100%; height: auto; transform: none; }
.showcase-card:has(.showcase-art:empty) { visibility: hidden; }
.card-art, .showcase-art { display: block; position: relative; height: auto; aspect-ratio: 1; background: #fff; overflow: hidden; }
.card-art { padding: 0; }
.card-art img, .showcase-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: clamp(7px, 1vw, 13px);
  object-fit: contain;
  transform: none;
}
.product-card:hover .card-art img { transform: none; }
.cart-thumb img { object-fit: contain; }
#productDialog .detail-art { background: #fff; }
#productDialog .detail-photo-button { position: absolute; inset: 0; display: block; padding: 0; background: transparent; }
#productDialog .detail-art img { width: 100%; height: 100%; padding: clamp(7px, 1.5vw, 16px); object-fit: contain; }
.promo-visual img { object-fit: contain; }
.catalog-list-notice { display: inline-block; padding: 8px 13px; margin: 0 0 12px; border-radius: 8px; color: #234528; background: #e8f2db; font-weight: 760; font-size: 13px; }
.catalog-list-notice[hidden], .active-list-badge[hidden] { display: none; }
.active-list-badge { width: fit-content; border-radius: 20px; background: #eaf2d7; color: #264a27; padding: 4px 8px; font-size: 10px; font-weight: 830; white-space: normal; }
.scale-note { margin: 8px 0 2px; font-size: 12px; line-height: 1.45; color: #415942; }
.wholesale-section {
  color: #f7fff1;
  background: radial-gradient(ellipse at 91% 0%, #699d37a1, transparent 56%), linear-gradient(118deg, #163b26, #2d6130);
}
.wholesale-intro .eyebrow, .distributor-box .eyebrow { color: #deefa8; }
.wholesale-intro p, .wholesale-foot, .distributor-box p { color: #edf7e7; }
.wholesale-rules > div { background: #f7fbe9; border: 0; }
.distributor-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 17px;
  padding: clamp(12px, 3vw, 22px);
  border: 1px solid #d2e7b453;
  border-radius: 13px;
  background: #102e2263;
}
.distributor-box h3 { margin: 4px 0; font: 770 clamp(21px, 3vw, 28px)/1.14 var(--display); }
.distributor-box p { margin: 0; max-width: 57ch; line-height: 1.55; font-size: 13px; }
.distributor-actions { flex: none; }
.distributor-actions .button { display: grid; gap: 3px; text-align: left; }
.distributor-actions .button small { font-size: 11px; font-weight: 650; }
.promo-landing, #homeOffers { display: none; }
.promotion-page main > :not(#promoLanding, #promociones, #homeOffers), .promotion-page .app-install-section { display: none; }
.promotion-page .promo-landing, .promotion-page #homeOffers { display: block; }
.promotion-page #promociones { padding-top: 24px; }
.promotion-page #homeOffers { padding: 27px 0 48px; }
.promo-landing { padding-top: 18px; }
.promo-brand-banner { display: block; width: 100%; height: auto; border-radius: 17px; }
.promo-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding: clamp(17px, 4vw, 39px);
  margin-top: 14px;
  color: #f8fff1;
  background: linear-gradient(120deg, #183b25, #315d30);
  border-radius: 16px;
}
.promo-intro .eyebrow { color: #e2f0b5; }
.promo-intro h1 { margin: 5px 0 7px; font: 760 clamp(25px, 4.8vw, 49px)/1.1 var(--display); }
.promo-intro p { margin: 0; color: #e1eadf; line-height: 1.55; max-width: 58ch; }
.promo-intro .button { flex-shrink: 0; }
.products-grid.promotion-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(12px, 2vw, 23px); }
.promotion-grid .card-art { aspect-ratio: .85; }
.promotion-grid .product-description { -webkit-line-clamp: 3; }
.promotion-grid .card-content { padding: clamp(12px, 2vw, 22px); }
.tier-editor {
  min-width: 0;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8fbf5;
}
.tier-editor legend { padding-inline: 6px; font-weight: 850; }
.tier-editor p, .pricing-settings p, .pricing-settings small { margin: 5px 0 12px; color: #485f4b; font-size: 13px; line-height: 1.5; }
.tier-row { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)) auto; align-items: end; gap: 8px; padding-block: 9px; border-bottom: 1px solid var(--line); }
.tier-row label, .pricing-min-fields label { display: grid; gap: 5px; min-width: 0; font-size: 12px; font-weight: 800; }
.tier-row :is(input,select), .pricing-min-fields input { width: 100%; min-width: 0; height: 38px; padding: 6px 7px; border: 1px solid var(--line); border-radius: 7px; background: #fff; color: var(--ink); }
.tier-editor > button { margin-top: 12px; }
.pricing-settings { margin-top: 18px; }
.pricing-settings h3 { margin-top: 0; }
.pricing-min-fields { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.pricing-checkbox { display: flex; align-items: flex-start; gap: 8px; margin-block: 15px 5px; font-weight: 750; }
.pricing-settings small { display: block; }
.buyer-account { flex-wrap: wrap; }

@media (max-width: 960px) {
  .tier-row { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 1060px) {
  .site-header .header-inner { display: grid; grid-template-columns: 1fr auto 1fr; }
  .site-header .header-cart { justify-self: end; margin-left: 0; }
  .store-desktop-nav { display: none; }
  .store-bottom-nav {
    display: grid;
    grid-template-columns: repeat(5,minmax(0,1fr));
    position: fixed;
    inset: auto 0 0;
    z-index: 31;
    padding: 4px 3px calc(4px + env(safe-area-inset-bottom));
    color: #fff;
    background: var(--forest-deep);
    box-shadow: 0 -3px 14px #183f282b;
  }
  .store-bottom-nav a { display: grid; justify-items: center; align-content: center; min-height: 48px; gap: 2px; padding: 3px 1px; border-radius: 9px; font-size: clamp(9px, 1.5vw, 12px); font-weight: 770; }
  .store-bottom-nav .icon { width: 20px; height: 20px; }
  .store-bottom-nav [aria-current] { color: #f0ffd3; background: #365e33; }
  .mobile-cart { bottom: calc(56px + env(safe-area-inset-bottom)); }
  body .footer-bottom { padding-bottom: calc(74px + env(safe-area-inset-bottom)); }
  body:has(.mobile-cart:not([hidden])) .footer-bottom { padding-bottom: calc(146px + env(safe-area-inset-bottom)); }
}
@media (max-width: 760px) {
  .header-inner .brand .logo-mark.has-shop-logo { height: 43px; }
  .guide-grid { grid-template-columns: 1fr; }
  .products-grid.promotion-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 640px) {
  html { scroll-padding-top: 142px; }
  .site-header .header-inner { height: 54px; }
  .store-search { grid-template-columns: minmax(83px, 30%) minmax(0, 1fr) auto; }
  .store-search select, .store-search button { font-size: 12px; }
  .store-search label { gap: 5px; padding-inline: 7px; }
  .store-search label .icon { display: none; }
  .search-suggestions { left: 0; }
  .hero-visual { height: auto; padding: 11px 18px 17px; }
  .hero-visual .showcase-art { aspect-ratio: 1.28; }
  .promo-intro { align-items: start; flex-direction: column; }
  .distributor-box { align-items: start; flex-direction: column; }
}
@media (max-width: 480px) {
  .wholesale-rules { gap: 5px; }
  .wholesale-rules > div { padding: 9px 6px; font-size: 12px; }
  .wholesale-rules small { font-size: 10px; }
}
