﻿:root {
  color-scheme: light;
  --bg: #f2f4f1;
  --panel: #ffffff;
  --ink: #16201b;
  --muted: #66716b;
  --line: #dce3de;
  --accent: #0b8f62;
  --accent-dark: #076845;
  --soft: #eef7f2;
  --warn: #b86f1b;
  font-family: Arial, Helvetica, sans-serif;
}

/* Public catalog conversion pass: compact hero, clean client-only surface, location UX. */
body.public-mode .admin-only,
body.public-mode .crm-only {
  display: none !important;
}

body.public-mode {
  background: #06110c !important;
  color: #f8fff4;
  overflow-x: hidden;
}

body.public-mode .app-shell,
body.public-mode .inventory-panel {
  max-width: none !important;
  width: 100% !important;
  background: transparent !important;
}

body.public-mode .topbar {
  position: sticky !important;
  top: 0 !important;
  z-index: 1250 !important;
  min-height: 72px !important;
  padding: 12px clamp(18px, 4vw, 54px) !important;
  border-bottom: 1px solid rgba(150, 255, 45, 0.16) !important;
  background: rgba(3, 13, 8, 0.93) !important;
  backdrop-filter: blur(18px);
}

body.public-mode .brand-lockup {
  gap: 12px !important;
}

body.public-mode .brand-logo {
  width: 46px !important;
  height: 46px !important;
  border-radius: 14px !important;
}

body.public-mode .brand-lockup .eyebrow {
  display: none !important;
}

body.public-mode #page-title {
  color: #ffffff !important;
  font-size: clamp(18px, 2.2vw, 24px) !important;
  line-height: 1.05 !important;
  letter-spacing: 0 !important;
}

body.public-mode .topbar-actions {
  gap: 10px !important;
}

body.public-mode #inventory-status {
  display: none !important;
}

body.public-mode #cart-toggle.cart-toggle {
  min-height: 48px !important;
  padding: 0 18px !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #83dd31, #b7ff36) !important;
  color: #07110b !important;
  box-shadow: 0 12px 28px rgba(122, 255, 31, 0.24) !important;
}

body.public-mode .public-location-selector {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(6, 20, 12, 0.96);
  border-bottom: 1px solid rgba(150, 255, 45, 0.12);
  overflow-x: auto;
  scrollbar-width: none;
}

body.public-mode .public-location-selector::-webkit-scrollbar {
  display: none;
}

body.public-mode .location-label {
  flex: 0 0 auto;
  color: #9cff50;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.public-mode .public-location-selector button {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(156, 255, 80, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #f8fff4;
  font-weight: 850;
  cursor: pointer;
}

body.public-mode .public-location-selector button.is-active {
  background: #9cff32;
  color: #07110b;
  border-color: #9cff32;
}

body.public-mode .public-intro {
  position: relative !important;
  display: grid !important;
  grid-template-columns: minmax(320px, 560px) minmax(360px, 1fr) !important;
  align-items: center !important;
  gap: clamp(24px, 4vw, 72px) !important;
  min-height: 0 !important;
  padding: clamp(44px, 5.5vw, 82px) clamp(46px, 7vw, 136px) 32px !important;
  overflow: hidden !important;
  background:
    radial-gradient(circle at 20% 20%, rgba(145, 255, 38, 0.12), transparent 34%),
    linear-gradient(135deg, #06110c 0%, #07180f 48%, #0e2116 100%) !important;
}

body.public-mode .public-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(1, 8, 4, 0.9), rgba(1, 8, 4, 0.48), rgba(1, 8, 4, 0.18));
  pointer-events: none;
  z-index: 0;
}

body.public-mode .hero-copy {
  position: relative !important;
  z-index: 2 !important;
  max-width: 640px !important;
}

body.public-mode .hero-logo {
  width: 58px !important;
  height: 58px !important;
  margin-bottom: 14px !important;
}

body.public-mode .hero-copy h2 {
  max-width: 12ch !important;
  margin: 0 0 12px !important;
  color: #ffffff !important;
  font-size: clamp(42px, 5.2vw, 72px) !important;
  line-height: 0.98 !important;
  letter-spacing: 0 !important;
}

body.public-mode .hero-copy p {
  max-width: 560px !important;
  margin: 0 0 20px !important;
  color: rgba(255, 255, 255, 0.82) !important;
  font-size: clamp(16px, 1.5vw, 21px) !important;
  line-height: 1.35 !important;
}

body.public-mode .hero-carousel {
  position: relative !important;
  inset: auto !important;
  z-index: 1 !important;
  order: 2;
  width: 100% !important;
  height: clamp(280px, 34vw, 510px) !important;
  min-height: 0 !important;
  border: 1px solid rgba(156, 255, 80, 0.18) !important;
  border-radius: 34px !important;
  overflow: hidden !important;
  background: #f8fbf4 !important;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.35) !important;
}

body.public-mode .hero-carousel .hero-slide {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
}

body.public-mode .hero-carousel .hero-slide img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}

body.public-mode .hero-carousel .hero-slide:not(.hero-campaign-slide) img {
  object-fit: contain !important;
  padding: 18px !important;
  background: #f8fbf4 !important;
}

body.public-mode .hero-search {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 10px !important;
  max-width: 620px !important;
  margin: 0 0 14px !important;
}

body.public-mode .hero-search input,
body.public-mode .hero-search button {
  min-height: 54px !important;
  border-radius: 16px !important;
  font-size: 16px !important;
}

body.public-mode .hero-search input {
  width: 100% !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  background: #f7f8f4 !important;
  color: #07110b !important;
}

body.public-mode .hero-search button,
body.public-mode .hero-action {
  background: #8dde31 !important;
  color: #07110b !important;
  border: 1px solid rgba(156, 255, 80, 0.2) !important;
  font-weight: 900 !important;
}

body.public-mode .hero-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
}

body.public-mode .hero-action,
body.public-mode .hero-offer-action {
  min-height: 48px !important;
  padding: 0 18px !important;
  border-radius: 14px !important;
}

body.public-mode .hero-offer-action {
  background: #e51f25 !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
}

body.public-mode .public-benefits {
  order: 20;
}

body.public-mode .need-shop-band .section-heading h2 {
  color: #ffffff !important;
}

body.public-mode .category-tile {
  min-height: 96px !important;
  border-radius: 20px !important;
}

body.public-mode .floating-actions[hidden],
body.public-mode.cart-open .floating-actions,
body.public-mode.detail-open .floating-actions {
  display: none !important;
}

body.public-mode .floating-actions {
  position: fixed !important;
  left: 50% !important;
  right: auto !important;
  bottom: max(12px, env(safe-area-inset-bottom)) !important;
  z-index: 1150 !important;
  transform: translateX(-50%) !important;
  display: flex !important;
  width: min(calc(100vw - 28px), 520px) !important;
  gap: 8px !important;
  padding: 8px !important;
  border: 1px solid rgba(156, 255, 80, 0.24) !important;
  border-radius: 24px !important;
  background: rgba(4, 16, 9, 0.92) !important;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.36) !important;
  backdrop-filter: blur(18px);
}

body.public-mode .floating-actions button {
  flex: 1 1 0;
  min-width: 0;
  min-height: 44px !important;
  border-radius: 16px !important;
  border: 1px solid rgba(156, 255, 80, 0.22) !important;
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
  font-weight: 900 !important;
}

body.public-mode .floating-actions #float-whatsapp {
  background: #9cff32 !important;
  color: #07110b !important;
}

body.public-mode .floating-actions #float-cart-count {
  display: inline-grid;
  min-width: 24px;
  height: 24px;
  margin-left: 4px;
  place-items: center;
  border-radius: 999px;
  background: #07110b;
  color: #9cff32;
}

body.public-mode .product-badges .last {
  background: #fff4d6 !important;
  color: #6e3c00 !important;
  border-color: #f5a400 !important;
}

body.public-mode :focus-visible {
  outline: 3px solid rgba(156, 255, 50, 0.78) !important;
  outline-offset: 3px !important;
}

@media (max-width: 760px) {
  body.public-mode {
    padding-bottom: 80px !important;
  }

  body.public-mode .topbar {
    min-height: 64px !important;
    padding: 8px 14px !important;
  }

  body.public-mode .brand-logo {
    width: 42px !important;
    height: 42px !important;
    border-radius: 13px !important;
  }

  body.public-mode #page-title {
    max-width: 120px !important;
    font-size: 17px !important;
  }

  body.public-mode #cart-toggle.cart-toggle {
    min-height: 44px !important;
    padding: 0 14px !important;
    font-size: 14px !important;
  }

  body.public-mode .public-location-selector {
    justify-content: flex-start;
    padding: 8px 14px;
  }

  body.public-mode .public-location-selector button {
    min-height: 38px;
    padding: 0 13px;
    font-size: 13px;
  }

  body.public-mode .public-intro {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    padding: 12px 18px 16px !important;
  }

  body.public-mode .public-intro::before {
    background: linear-gradient(180deg, rgba(1, 8, 4, 0.58), rgba(1, 8, 4, 0.72)) !important;
  }

  body.public-mode .hero-carousel {
    order: 0 !important;
    height: clamp(142px, 39vw, 188px) !important;
    border-radius: 22px !important;
  }

  body.public-mode .hero-carousel .hero-slide:not(.hero-campaign-slide) img {
    padding: 12px !important;
  }

  body.public-mode .hero-copy {
    width: 100% !important;
    display: grid !important;
    gap: 9px !important;
  }

  body.public-mode .hero-logo {
    display: none !important;
  }

  body.public-mode .hero-copy h2 {
    max-width: 12ch !important;
    margin: 0 !important;
    font-size: clamp(28px, 8.2vw, 32px) !important;
    line-height: 1.02 !important;
  }

  body.public-mode .hero-copy p {
    max-width: 34ch !important;
    margin: 0 !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
  }

  body.public-mode .hero-search {
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 8px !important;
    margin: 2px 0 0 !important;
  }

  body.public-mode .hero-search input,
  body.public-mode .hero-search button {
    min-height: 52px !important;
    border-radius: 15px !important;
    font-size: 15px !important;
  }

  body.public-mode .hero-search button {
    padding: 0 14px !important;
  }

  body.public-mode .hero-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
  }

  body.public-mode .hero-action,
  body.public-mode .hero-offer-action {
    min-height: 48px !important;
    padding: 0 12px !important;
    font-size: 14px !important;
  }

  body.public-mode .public-benefits {
    display: none !important;
  }

  body.public-mode .need-shop-band {
    display: grid !important;
    grid-template-columns: 124px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 16px 0 16px 18px !important;
  }

  body.public-mode .need-shop-band .section-heading {
    margin: 0 !important;
  }

  body.public-mode .need-shop-band .section-heading h2 {
    font-size: 27px !important;
    line-height: 1.05 !important;
  }

  body.public-mode .need-shop-grid {
    display: flex !important;
    overflow-x: auto !important;
    gap: 12px !important;
    padding-right: 18px !important;
    scroll-snap-type: x proximity !important;
    scrollbar-width: none;
  }

  body.public-mode .need-shop-grid::-webkit-scrollbar {
    display: none;
  }

  body.public-mode .category-tile {
    flex: 0 0 148px !important;
    width: 148px !important;
    min-height: 92px !important;
    height: 92px !important;
    scroll-snap-align: start;
  }
}

/* Catalog continuation: clear retail CTA without an intimidating pending count. */
.public-mode .load-more-wrap {
  display: grid;
  place-items: center;
  padding: 24px 18px 96px !important;
}

.public-mode #load-more-products {
  width: min(100%, 430px);
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid rgba(83, 148, 16, 0.36);
  border-radius: 14px;
  padding: 9px 10px 9px 20px;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.public-mode #load-more-products:hover {
  transform: translateY(-2px);
  filter: saturate(1.05);
  box-shadow: 0 18px 40px rgba(71, 130, 15, 0.24) !important;
}

.public-mode #load-more-products:active {
  transform: translateY(0);
}

.public-mode #load-more-products:focus-visible {
  outline: 3px solid rgba(7, 18, 13, 0.42);
  outline-offset: 3px;
}

.public-mode #load-more-products .load-more-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
  text-align: left;
}

.public-mode #load-more-products .load-more-copy strong {
  font-size: 16px;
  line-height: 1.1;
  font-weight: 950;
}

.public-mode #load-more-products .load-more-copy small {
  color: rgba(7, 18, 13, 0.72);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 750;
}

.public-mode #load-more-products .load-more-arrow {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #07120d;
  color: #b7ff34;
  font-size: 23px;
  line-height: 1;
  font-weight: 900;
}

@media (max-width: 760px) {
  .public-mode .load-more-wrap {
    padding: 18px 14px 90px !important;
  }

  .public-mode #load-more-products {
    min-height: 62px;
    gap: 12px;
    padding-left: 16px;
  }

  .public-mode #load-more-products .load-more-copy strong {
    font-size: 15px;
  }
}

/* Public ecommerce polish */
.public-mode {
  background: #f6f8f5;
}

.public-mode .app-shell {
  width: min(1500px, calc(100vw - 28px));
}

.public-mode .inventory-panel {
  border-color: #e3e9e4;
  box-shadow: 0 18px 45px rgba(18, 34, 28, 0.08);
}

.public-mode .topbar {
  background: rgba(255, 255, 255, 0.96);
}

.public-mode .public-intro {
  min-height: 380px;
  align-items: stretch;
  padding: 0;
  background:
    linear-gradient(90deg, rgba(16, 26, 21, 0.90) 0%, rgba(16, 26, 21, 0.72) 42%, rgba(16, 26, 21, 0.08) 78%),
    url("/dwilly-local.jpg") center / cover;
  color: white;
}

.public-mode .hero-copy {
  width: min(630px, 100%);
  padding: 36px 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.public-mode .hero-logo {
  width: 96px;
  height: 96px;
  object-fit: contain;
  padding: 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
}

.public-mode .hero-copy .eyebrow {
  margin-top: 22px;
  color: #9ee06b;
}

.public-mode .hero-copy h2 {
  max-width: 570px;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 0.96;
}

.public-mode .hero-copy p {
  margin: 14px 0 0;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.5;
}

.public-mode .hero-action {
  width: fit-content;
  margin-top: 24px;
  min-height: 44px;
  border-radius: 8px;
  padding: 12px 18px;
  background: #8ccc3c;
  color: #102014;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-weight: 800;
}

.public-mode .public-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
  background: white;
}

.public-mode .public-benefits article {
  padding: 18px 24px;
  border-right: 1px solid var(--line);
}

.public-mode .public-benefits article:last-child {
  border-right: 0;
}

.public-mode .public-benefits strong,
.public-mode .public-benefits span {
  display: block;
}

.public-mode .public-benefits strong {
  font-size: 15px;
}

.public-mode .public-benefits span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
}

.public-mode .recommended-band {
  padding: 26px 24px 18px;
  background: #101a15;
  color: white;
}

.public-mode .section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.public-mode .section-heading .eyebrow {
  color: #9ee06b;
}

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

.public-mode .section-heading a {
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  padding: 9px 13px;
  color: white;
  text-decoration: none;
  font-weight: 800;
}

.public-mode .recommended-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(210px, 260px);
  gap: 14px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding-bottom: 8px;
}

.public-mode .recommended-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.public-mode .recommended-card button {
  width: 100%;
  aspect-ratio: 1 / 1;
  min-height: 0;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: white;
  cursor: zoom-in;
}

.public-mode .recommended-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.public-mode .recommended-card div {
  padding: 12px;
}

.public-mode .recommended-card span,
.public-mode .recommended-card small {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.public-mode .recommended-card strong {
  display: block;
  min-height: 42px;
  margin: 5px 0 8px;
  color: white;
  font-size: 14px;
  line-height: 1.25;
  overflow: hidden;
}

.public-mode .toolbar {
  grid-template-columns: minmax(260px, 1fr) 220px 200px;
  background: white;
  position: sticky;
  top: 0;
  z-index: 10;
}

.public-mode .catalog-summary {
  color: #526157;
  font-weight: 700;
}

.public-mode .catalog-grid {
  grid-template-columns: repeat(auto-fill, minmax(245px, 1fr));
  gap: 20px;
  background: #f6f8f6;
}

.public-mode .product-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  border: 1px solid #e4eae5;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(18, 34, 28, 0.07);
}

.public-mode .photo-slot {
  width: 100%;
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: white;
  padding: 0;
  gap: 0;
}

.public-mode .photo-slot img,
.public-mode .image-preview-button {
  border-radius: 0;
}

.public-mode .photo-thumbs {
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.public-mode .photo-thumb {
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
}

.public-mode .photo-thumb:last-child {
  border-right: 0;
}

.public-mode .product-info {
  padding: 14px;
}

.public-mode .product-heading {
  align-items: flex-start;
}

.public-mode .product-heading strong {
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--accent-dark);
  font-size: 11px;
}

.public-mode .product-heading span {
  color: #168653;
  font-size: 12px;
  font-weight: 800;
}

.public-mode .product-card h3 {
  min-height: 40px;
  font-size: 16px;
}

.public-mode .retail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.public-mode .retail-meta span {
  max-width: 100%;
  border-radius: 999px;
  padding: 5px 8px;
  background: #f1f5f2;
  color: #526157;
  font-size: 12px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.public-mode .price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-top: 10px;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
}

.public-mode .price-row strong {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
}

.public-mode .price-row small {
  color: rgba(255, 255, 255, 0.58);
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}

.public-mode .price-row div {
  display: flex;
  align-items: baseline;
  gap: 6px;
  min-width: 0;
}

.public-mode .price-row > small {
  display: none;
}

.public-mode .cash-discount-badge {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2px 10px;
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(133, 213, 48, 0.5);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(133, 213, 48, 0.96), rgba(191, 238, 77, 0.92));
  color: #07130d;
  box-shadow: 0 10px 24px rgba(133, 213, 48, 0.18);
}

.public-mode .cash-discount-badge span {
  grid-row: span 2;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.15;
  text-transform: uppercase;
}

.public-mode .cash-discount-badge strong {
  font-size: 22px;
  font-weight: 950;
  letter-spacing: 0;
  text-align: right;
}

.public-mode .cash-discount-badge small {
  font-size: 10px;
  font-weight: 900;
  text-align: right;
  text-transform: uppercase;
  opacity: 0.78;
}

.public-mode .order-panel {
  border-color: #d4dfd8;
  box-shadow: 0 14px 38px rgba(18, 34, 28, 0.14);
}

@media (max-width: 760px) {
  .public-mode .public-intro {
    min-height: 520px;
    background:
      linear-gradient(180deg, rgba(16, 26, 21, 0.92) 0%, rgba(16, 26, 21, 0.72) 52%, rgba(16, 26, 21, 0.28) 100%),
      url("/dwilly-local.jpg") center / cover;
  }

  .public-mode .hero-copy {
    padding: 28px 22px;
  }

  .public-mode .public-benefits,
  .public-mode .toolbar {
    grid-template-columns: 1fr;
  }

  .public-mode .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .public-mode .public-benefits article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

.promo-entry-modal[aria-hidden="true"],
.promo-entry-modal[hidden],
body.public-mode .promo-entry-modal[aria-hidden="true"],
body.public-mode .promo-entry-modal[hidden] {
  display: none !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

.promo-entry-modal {
  position: fixed;
  inset: 0;
  z-index: 1800;
  display: grid;
  place-items: center;
  padding: clamp(14px, 4vw, 32px);
}

.promo-entry-modal[aria-hidden="false"] {
  display: grid !important;
  pointer-events: auto;
  visibility: visible;
}

.promo-entry-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 18%, rgba(157, 255, 43, 0.12), transparent 34%),
    rgba(1, 7, 4, 0.48);
  backdrop-filter: blur(4px);
}

.promo-entry-dialog {
  position: relative;
  width: min(760px, 96vw);
  max-height: min(90vh, 920px);
  overflow: visible;
  display: grid;
  border-radius: 30px;
  border: 1px solid rgba(157, 255, 43, 0.58);
  background: #020604;
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.62),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 0 42px rgba(157, 255, 43, 0.2);
  transform-origin: center;
  animation: promoEntryIn 320ms ease-out both;
}

.promo-entry-image {
  width: 100%;
  aspect-ratio: 1122 / 1402;
  min-height: 0;
  max-height: calc(min(90vh, 920px) - 82px);
  object-fit: contain;
  display: block;
  border-radius: 28px 28px 0 0;
  background: #020604;
}

.promo-entry-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 8;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(2, 6, 4, 0.88);
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
}

.promo-entry-close:hover,
.promo-entry-close:focus-visible {
  background: rgba(157, 255, 43, 0.92);
  color: #06120c;
  outline: 3px solid rgba(255, 255, 255, 0.42);
  outline-offset: 2px;
}

.promo-entry-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 14px;
  border-radius: 0 0 28px 28px;
  background:
    linear-gradient(180deg, rgba(2, 6, 4, 0.72), rgba(2, 6, 4, 0.96)),
    #020604;
}

.promo-entry-actions button {
  min-height: 50px;
  border-radius: 999px;
  font-weight: 950;
  letter-spacing: 0.01em;
  cursor: pointer;
}

.promo-entry-primary {
  border: 0;
  background: linear-gradient(135deg, #b6ff35, #74d916);
  color: #051009;
  box-shadow: 0 14px 32px rgba(117, 217, 22, 0.24);
}

.promo-entry-secondary {
  border: 1px solid rgba(157, 255, 43, 0.48);
  background: rgba(255, 255, 255, 0.06);
  color: #f7fff2;
}

.promo-entry-actions button:focus-visible {
  outline: 3px solid rgba(157, 255, 43, 0.58);
  outline-offset: 2px;
}

body.promo-entry-open {
  overflow: hidden;
}

@keyframes promoEntryIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 760px) {
  .promo-entry-modal {
    align-items: center;
    padding: 18px;
  }

  .promo-entry-dialog {
    width: min(82vw, 350px);
    max-height: none;
    border-radius: 20px;
    box-shadow:
      0 18px 52px rgba(0, 0, 0, 0.46),
      0 0 0 1px rgba(255, 255, 255, 0.08) inset,
      0 0 24px rgba(157, 255, 43, 0.16);
  }

  .promo-entry-image {
    max-height: min(58dvh, 460px);
    border-radius: 20px 20px 0 0;
  }

  .promo-entry-close {
    top: 8px;
    right: 8px;
    width: 44px;
    height: 44px;
    font-size: 20px;
    background: rgba(2, 6, 4, 0.92);
  }

  .promo-entry-actions {
    grid-template-columns: 1fr 1fr;
    padding: 9px;
    gap: 8px;
    border-radius: 0 0 20px 20px;
  }

  .promo-entry-actions button {
    min-height: 40px;
    padding: 0 8px;
    font-size: 0.8rem;
    line-height: 1.05;
  }
}

@media (max-width: 380px) {
  .promo-entry-dialog {
    width: min(82vw, 320px);
    max-height: none;
  }

  .promo-entry-image {
    max-height: min(54dvh, 400px);
  }

  .promo-entry-actions {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .promo-entry-dialog {
    animation: none;
  }
}

/* Stable public recommendations layout */
.public-mode .app-shell {
  grid-template-columns: minmax(0, 1fr);
  width: min(1680px, calc(100vw - 24px));
}

.public-mode section.recommended-band.public-only {
  display: block !important;
  padding: 30px 32px 34px;
  background: #101a15;
  color: white;
}

.public-mode .recommended-band .section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 18px;
}

.public-mode .recommended-band .section-heading h2 {
  max-width: none;
  margin: 4px 0 0;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.05;
}

.public-mode .recommended-band .section-heading a {
  flex: 0 0 auto;
}

.public-mode .featured-brands {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
  margin: 0 0 22px;
}

.public-mode .featured-brands button {
  width: 100%;
  min-width: 0;
  min-height: 68px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 12px 14px;
  display: block;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  text-align: left;
  overflow: hidden;
}

.public-mode .featured-brands button:hover {
  border-color: #9ee06b;
  background: rgba(158, 224, 107, 0.14);
}

.public-mode .featured-brands button:disabled {
  opacity: 0.62;
  cursor: default;
}

.public-mode .featured-brands strong {
  display: block;
  max-width: 100%;
  color: white;
  font-size: 16px;
  line-height: 1.1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-mode .featured-brands span {
  display: block;
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  line-height: 1.25;
}

.public-mode .recommended-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  overflow: visible;
  padding: 0;
}

.public-mode .recommended-card {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.public-mode .recommended-card.featured-pick {
  grid-column: span 2;
  grid-row: span 2;
}

.public-mode .recommended-card button,
.public-mode .recommended-card.featured-pick button {
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 0;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: white;
}

.public-mode .recommended-card.featured-pick button {
  aspect-ratio: 16 / 10;
}

.public-mode .recommended-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.public-mode .recommended-card div {
  padding: 13px;
}

.public-mode .recommended-card.featured-pick div {
  padding: 16px;
}

.public-mode .recommended-card span,
.public-mode .recommended-card small {
  display: block;
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
  line-height: 1.3;
}

.public-mode .recommended-card span {
  color: #9ee06b;
  font-weight: 800;
}

.public-mode .recommended-card strong {
  display: block;
  min-height: 0;
  margin: 6px 0 8px;
  color: white;
  font-size: 15px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.public-mode .recommended-card.featured-pick strong {
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.08;
}

.public-mode .recommended-card a {
  width: fit-content;
  min-height: 34px;
  margin-top: 12px;
  border-radius: 8px;
  padding: 8px 11px;
  display: inline-flex;
  align-items: center;
  background: #8ccc3c;
  color: #102014;
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
}

.public-mode .catalog-grid {
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  padding: 26px 32px 34px;
}

@media (max-width: 1050px) {
  .public-mode .recommended-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .public-mode .app-shell {
    width: min(100vw - 10px, 760px);
  }

  .public-mode section.recommended-band.public-only {
    padding: 24px 14px 26px;
  }

  .public-mode .recommended-band .section-heading {
    display: block;
  }

  .public-mode .recommended-band .section-heading a {
    margin-top: 14px;
  }

  .public-mode .featured-brands {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .public-mode .recommended-grid {
    grid-template-columns: 1fr;
  }

  .public-mode .recommended-card.featured-pick {
    grid-column: auto;
    grid-row: auto;
  }

  .public-mode .recommended-card.featured-pick button {
    aspect-ratio: 4 / 3;
  }

  .public-mode .catalog-grid {
    grid-template-columns: 1fr;
    padding: 18px 12px 28px;
  }
}

/* Impact public recommendations */
.public-mode .app-shell {
  grid-template-columns: minmax(0, 1fr);
  width: min(1720px, calc(100vw - 24px));
}

.public-mode .recommended-band {
  display: block;
  padding: 32px 32px 34px;
  background:
    linear-gradient(135deg, rgba(9, 16, 13, 0.96), rgba(21, 34, 28, 0.94) 48%, rgba(8, 82, 62, 0.88)),
    url("/dwilly-local.jpg") center / cover;
  color: white;
}

.public-mode .section-heading {
  align-items: center;
}

.public-mode .section-heading h2 {
  max-width: 720px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1;
}

.featured-brands {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
  margin: 20px 0 22px;
}

.featured-brands button {
  min-height: 76px;
  justify-content: flex-start;
  align-items: flex-start;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 13px 14px;
  background: rgba(255, 255, 255, 0.09);
  color: white;
  text-align: left;
}

.featured-brands button:hover {
  border-color: rgba(158, 224, 107, 0.72);
  background: rgba(158, 224, 107, 0.14);
}

.featured-brands button:disabled {
  cursor: default;
  opacity: 0.72;
  background: rgba(255, 255, 255, 0.055);
}

.featured-brands button:disabled:hover {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.055);
}

.featured-brands strong,
.featured-brands span {
  display: block;
}

.featured-brands strong {
  font-size: 16px;
  letter-spacing: 0;
}

.featured-brands span {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  line-height: 1.25;
}

.public-mode .recommended-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 14px;
  overflow: visible;
  padding-bottom: 0;
}

.public-mode .recommended-card {
  min-height: 100%;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.10);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.22);
}

.public-mode .recommended-card.featured-pick {
  grid-column: span 2;
  grid-row: span 2;
}

.public-mode .recommended-card button {
  aspect-ratio: 4 / 3;
}

.public-mode .recommended-card.featured-pick button {
  aspect-ratio: 16 / 11;
}

.public-mode .recommended-card img {
  object-fit: cover;
  transition: transform 220ms ease;
}

.public-mode .recommended-card:hover img {
  transform: scale(1.035);
}

.public-mode .recommended-card div {
  padding: 14px;
}

.public-mode .recommended-card.featured-pick div {
  padding: 18px;
}

.public-mode .recommended-card span {
  color: #9ee06b;
  font-weight: 800;
  text-transform: uppercase;
}

.public-mode .recommended-card strong {
  min-height: 0;
  font-size: 15px;
}

.public-mode .recommended-card.featured-pick strong {
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.05;
}

.public-mode .recommended-card a {
  width: fit-content;
  min-height: 34px;
  margin-top: 12px;
  border-radius: 8px;
  padding: 8px 11px;
  display: inline-flex;
  align-items: center;
  background: #8ccc3c;
  color: #102014;
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
}

.public-mode .catalog-grid {
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  padding: 26px 32px 34px;
}

@media (max-width: 1180px) {
  .public-mode .recommended-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .public-mode .app-shell {
    width: min(100vw - 12px, 760px);
  }

  .public-mode .recommended-band {
    padding: 24px 14px 26px;
  }

  .public-mode .section-heading {
    align-items: flex-start;
  }

  .featured-brands {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .featured-brands button {
    min-height: 70px;
    padding: 11px;
  }

  .public-mode .recommended-grid {
    grid-template-columns: 1fr;
  }

  .public-mode .recommended-card.featured-pick {
    grid-column: auto;
    grid-row: auto;
  }

  .public-mode .recommended-card button,
  .public-mode .recommended-card.featured-pick button {
    aspect-ratio: 1 / 1;
  }

  .public-mode .catalog-grid {
    grid-template-columns: 1fr;
    padding: 18px 12px 28px;
  }
}

.public-mode .photo-slot {
  min-height: 0;
  aspect-ratio: auto;
  padding: 0;
  gap: 0;
}

.public-mode .photo-thumbs {
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.public-mode .photo-thumb {
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
}

.public-mode .photo-thumb:last-child {
  border-right: 0;
}

@media (max-width: 760px) {
  .admin-mode .product-card {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .admin-mode .photo-slot {
    width: 100%;
    min-height: 0;
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    align-items: start;
    gap: 10px;
  }

  .admin-mode .photo-slot > .image-preview-button {
    grid-column: 1;
    grid-row: 1;
    width: 112px;
    height: 112px;
    aspect-ratio: auto;
  }

  .admin-mode .photo-slot > .photo-thumbs {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 3px;
  }

  .admin-mode .photo-slot > .photo-thumbs .photo-thumb {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
  }

  .admin-mode .admin-gallery-manager,
  .admin-mode .photo-actions {
    grid-column: 1 / -1;
  }

  .admin-mode .admin-gallery-manager {
    grid-template-columns: 1fr;
  }

  .admin-mode .admin-gallery-item {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .admin-mode .admin-gallery-preview {
    width: 58px;
    height: 58px;
  }
}

.public-mode .photo-slot {
  min-height: 0;
  aspect-ratio: auto;
  padding: 0;
  gap: 0;
}

.public-mode .photo-thumbs {
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.public-mode .photo-thumb {
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
}

.public-mode .photo-thumb:last-child {
  border-right: 0;
}

@media (max-width: 760px) {
  .admin-mode .product-card {
    grid-template-columns: 1fr;
  }

  .admin-mode .photo-slot {
    width: 100%;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
}

.app-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 20px;
  width: min(1440px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 24px 0;
}

.inventory-panel,
.side-panel,
.chat-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 38px rgba(18, 34, 28, 0.08);
}

.inventory-panel {
  min-height: calc(100vh - 48px);
  overflow: hidden;
}

.topbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-logo {
  width: 68px;
  height: 68px;
  object-fit: contain;
  flex: 0 0 auto;
}

.topbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.mode-link {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 12px;
  color: var(--ink);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  background: white;
}

.mode-link:hover {
  border-color: #9ac9b3;
  color: var(--accent-dark);
}

.public-intro {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  background: #f8fbf9;
}

.public-intro p {
  margin: 6px 0 0;
  color: var(--muted);
  max-width: 740px;
}

.intro-logo {
  width: 92px;
  height: 92px;
  object-fit: contain;
}

.public-only {
  display: none;
}

.public-mode .public-only {
  display: flex;
}

.public-mode .cart-backdrop {
  display: none;
}

.public-mode .admin-only {
  display: none;
}

.public-mode .app-shell {
  grid-template-columns: minmax(0, 1fr) 380px;
}

.public-mode .side-panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 30;
  width: min(420px, 100vw);
  height: 100vh;
  padding: 14px;
  background: #f8fbf9;
  border-left: 1px solid var(--line);
  transform: translateX(100%);
  transition: transform 180ms ease;
  overflow: auto;
}

.public-mode.cart-open .side-panel {
  transform: translateX(0);
}

.public-mode.cart-open .cart-backdrop {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 20;
  background: rgba(16, 24, 20, 0.38);
}

.public-mode.desktop-catalog .app-shell {
  align-items: start;
  grid-template-columns: minmax(0, 1fr);
}

.public-mode.desktop-catalog .side-panel {
  position: fixed !important;
  top: 14px !important;
  right: 14px !important;
  z-index: 45;
  width: min(560px, calc(100vw - 28px)) !important;
  height: calc(100vh - 28px) !important;
  padding: 0 !important;
  border-left: 0 !important;
  background: transparent !important;
  transform: translateX(calc(100% + 24px)) !important;
  transition: transform 240ms cubic-bezier(.2, .8, .2, 1) !important;
  overflow: visible !important;
}

.public-mode.desktop-catalog.cart-open .side-panel {
  transform: translateX(0) !important;
}

.public-mode.desktop-catalog .order-panel {
  min-height: 0 !important;
  max-height: calc(100vh - 28px);
  overflow: auto;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
}

.public-mode.desktop-catalog .cart-items {
  max-height: min(52vh, 520px);
  padding-right: 6px;
}

.public-mode.desktop-catalog .cart-backdrop {
  display: none !important;
}

.eyebrow {
  margin: 0 0 4px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1,
h2,
h3 {
  margin: 0;
}

h1 {
  font-size: 28px;
}

h2 {
  font-size: 19px;
}

h3 {
  font-size: 15px;
  line-height: 1.3;
}

.status {
  flex: 0 0 auto;
  border: 1px solid #a8d9c4;
  color: var(--accent-dark);
  border-radius: 999px;
  padding: 7px 12px;
  font-weight: 700;
  font-size: 13px;
}

.public-mode .status {
  display: none;
}

.cart-toggle {
  position: relative;
  min-height: 40px;
  background: #128c7e;
}

.cart-toggle span {
  min-width: 22px;
  height: 22px;
  border-radius: 999px;
  margin-left: 8px;
  display: inline-grid;
  place-items: center;
  background: white;
  color: #128c7e;
  font-size: 12px;
}

.upload-band {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

.pdf-band {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  background: white;
}

.pdf-band p {
  margin: 6px 0 0;
  color: var(--muted);
}

.pdf-actions {
  min-width: min(460px, 100%);
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto;
  gap: 10px;
}

.whatsapp-kit {
  padding: 20px 24px 24px;
  border-bottom: 1px solid var(--line);
  background: #101a15;
  color: white;
}

.kit-heading {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.kit-heading h2 {
  margin: 4px 0 0;
  font-size: 26px;
}

.kit-heading p {
  max-width: 720px;
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.45;
}

.kit-heading .eyebrow {
  color: #9ee06b;
}

.kit-link {
  min-height: 42px;
  border-radius: 8px;
  padding: 11px 14px;
  background: #8ccc3c;
  color: #102014;
  text-decoration: none;
  font-weight: 800;
  white-space: nowrap;
}

.kit-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 14px;
}

.kit-card {
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.kit-card span,
.kit-card p {
  color: rgba(255, 255, 255, 0.68);
}

.kit-card span {
  display: block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.kit-card strong {
  display: block;
  margin-top: 6px;
  font-size: 18px;
}

.kit-card p {
  margin: 9px 0 0;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.kit-actions,
.quick-replies {
  display: grid;
  gap: 9px;
  margin-top: 14px;
}

.kit-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pdf-actions-inline {
  grid-template-columns: minmax(0, 1fr) auto;
}

.kit-actions button,
.quick-replies button {
  min-width: 0;
  min-height: 40px;
  padding: 0 12px;
  background: #128c7e;
}

.kit-actions button:hover,
.quick-replies button:hover {
  background: #075e54;
}

.kit-actions select {
  min-height: 40px;
}

.quick-replies {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.upload-band p {
  margin: 6px 0 0;
  color: var(--muted);
}

.inventory-upload-actions {
  display: flex;
  align-items: end;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.inventory-upload-actions label:not(.file-button) {
  display: grid;
  gap: 6px;
}

.inventory-upload-actions span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.inventory-upload-actions select {
  min-width: 190px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: white;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
}

.file-button,
button {
  min-height: 44px;
  border-radius: 8px;
  border: 0;
  background: var(--accent);
  color: white;
  font: inherit;
  font-weight: 700;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  white-space: nowrap;
}

.file-button:hover,
button:hover {
  background: var(--accent-dark);
}

.file-button input {
  display: none;
}

.store-availability {
  display: grid;
  gap: 7px;
  margin-top: 4px;
  padding: 9px;
  border: 1px solid rgba(142, 204, 60, 0.22);
  border-radius: 10px;
  background: rgba(142, 204, 60, 0.07);
}

.store-availability.empty {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
}

.store-size-row {
  display: grid;
  gap: 4px;
}

.store-size-row strong {
  color: #8fe248;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.store-size-row span {
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  line-height: 1.25;
}

.admin-mode .store-availability {
  background: #f4faf5;
  border-color: #d8eadc;
}

.admin-mode .store-size-row strong {
  color: var(--accent-dark);
}

.admin-mode .store-size-row span {
  color: var(--ink);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}

.stats-grid article {
  padding: 18px 24px;
  border-right: 1px solid var(--line);
}

.stats-grid article:last-child {
  border-right: 0;
}

.stats-grid span,
dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.stats-grid strong {
  display: block;
  margin-top: 7px;
  font-size: 26px;
}

.toolbar {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(190px, 0.7fr) 220px 180px;
  gap: 12px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
}

.reference-search {
  border-color: rgba(0, 121, 88, 0.24);
  background: #f3fbf7;
  font-weight: 800;
}

.admin-scan-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: stretch;
}

.barcode-scan-open {
  min-height: 44px;
  border: 0;
  border-radius: 10px;
  padding: 0 14px;
  background: linear-gradient(135deg, var(--green), #9cff22);
  color: #06120d;
  font-weight: 950;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(0, 153, 111, 0.18);
}

.barcode-scan-open:hover {
  transform: translateY(-1px);
}

.reference-search:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(0, 153, 111, 0.14);
  outline: none;
}

.photo-work-filter {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid rgba(0, 121, 88, 0.24);
  border-radius: 12px;
  background: #f7fff9;
  color: #143c2c;
  font-weight: 900;
  cursor: pointer;
}

.photo-work-filter input {
  width: auto;
  min-height: auto;
  accent-color: var(--green);
}

.photo-work-filter span {
  display: grid;
  gap: 1px;
  line-height: 1.1;
  white-space: nowrap;
}

.photo-work-filter small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.photo-work-filter:has(input:checked) {
  border-color: var(--green);
  background: #ebfff3;
  box-shadow: 0 0 0 3px rgba(0, 153, 111, 0.12);
}

.catalog-summary {
  grid-column: 1 / -1;
  margin: -2px 0 0;
  color: var(--muted);
  font-size: 13px;
}

input,
select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: white;
  color: var(--ink);
  font: inherit;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
  padding: 20px 24px 28px;
}

.load-more-wrap {
  padding: 0 24px 30px;
  text-align: center;
}

#load-more-products {
  min-height: 42px;
  border-radius: 8px;
  padding: 0 18px;
  background: #24352d;
  color: white;
  font-weight: 800;
}

#load-more-products[hidden] {
  display: none;
}

.product-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: white;
}

.photo-slot {
  width: 112px;
  min-height: 112px;
  border: 1px dashed #b9c7bf;
  border-radius: 8px;
  background: #f7f9f8;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  text-align: center;
  font-size: 12px;
  line-height: 1.2;
  padding: 8px;
}

.photo-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.image-preview-button {
  width: 100%;
  aspect-ratio: 1 / 1;
  min-height: 0;
  border: 0;
  border-radius: 6px;
  padding: 0;
  background: transparent;
  color: inherit;
  cursor: zoom-in;
}

.image-preview-button:hover {
  background: transparent;
}

.photo-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  width: 100%;
}

.photo-thumb {
  aspect-ratio: 1 / 1;
  min-height: 0;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 0;
  overflow: hidden;
  background: white;
  cursor: zoom-in;
}

.photo-thumb:hover {
  border-color: var(--accent);
  background: white;
}

.photo-actions {
  display: grid;
  gap: 5px;
  width: 100%;
}

.admin-gallery-manager {
  display: grid;
  gap: 7px;
  width: 100%;
  padding-top: 6px;
}

.admin-gallery-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 7px;
  align-items: center;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f9f8;
}

.admin-gallery-preview {
  width: 48px;
  height: 48px;
  min-height: 48px;
  border: 1px solid #d7e0dc;
  border-radius: 7px;
  padding: 0;
  overflow: hidden;
  background: #fff;
}

.admin-gallery-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.admin-gallery-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
}

.photo-upload {
  min-height: 26px;
  border-radius: 6px;
  background: var(--accent);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.photo-upload.secondary {
  background: #24352d;
}

.photo-upload.secondary:hover {
  background: #111c17;
}

.photo-upload.mini,
.photo-delete.mini {
  min-height: 30px;
  border-radius: 7px;
  padding: 0 7px;
  font-size: 11px;
  font-weight: 800;
}

.photo-delete.mini {
  border: 0;
  background: #ffe3e3;
  color: #a61b1b;
  cursor: pointer;
}

.photo-delete.mini:hover {
  background: #ffcccc;
}

.photo-upload:hover {
  background: var(--accent-dark);
}

.orders-admin {
  display: grid;
  gap: 14px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
  background: #f7faf8;
}

.orders-admin-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.orders-admin-heading.mini {
  padding-top: 8px;
  border-top: 1px solid #dfe9e4;
}

.orders-admin-heading h2 {
  margin: 2px 0 5px;
}

.orders-admin-heading p {
  margin: 0;
  color: var(--muted);
}

.orders-admin-heading button,
.admin-order-actions button {
  min-height: 36px;
  border-radius: 8px;
  padding: 0 12px;
  background: #183227;
  color: #fff;
  font-weight: 800;
}

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

.admin-crm-shortcut {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(24, 50, 39, 0.16);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(140, 204, 60, 0.14), rgba(255, 255, 255, 0.96)),
    #fff;
  box-shadow: 0 16px 38px rgba(18, 34, 28, 0.08);
}

.admin-crm-shortcut h2 {
  margin: 2px 0 5px;
  color: #183227;
}

.admin-crm-shortcut p {
  margin: 0;
  color: #52645b;
}

.admin-crm-shortcut > div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.admin-crm-shortcut a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 16px;
  background: #183227;
  color: #fff;
  font-weight: 900;
  text-decoration: none;
}

.admin-crm-shortcut a:first-child {
  background: linear-gradient(135deg, #8ccc3c, #b7ff34);
  color: #102014;
}

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

.crm-summary article {
  padding: 12px;
  border: 1px solid #d8e4de;
  border-radius: 10px;
  background: #fff;
}

.crm-summary span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.crm-summary strong {
  display: block;
  margin-top: 5px;
  color: var(--accent-dark);
  font-size: 24px;
}

.order-status-filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 8px;
  border: 1px solid #d8e4de;
  border-radius: 14px;
  background: #f7faf8;
}

.order-status-filters button {
  flex: 0 0 auto;
  min-height: 42px;
  border: 1px solid #d8e4de;
  border-radius: 999px;
  padding: 0 15px;
  background: #fff;
  color: #183227;
  font-weight: 900;
}

.order-status-filters button.active {
  border-color: #183227;
  background: #183227;
  color: #fff;
}

.admin-orders-list {
  display: grid;
  gap: 12px;
}

.admin-order-card,
.customer-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid #d8e4de;
  border-radius: 10px;
  background: #fff;
}

.admin-order-card header,
.customer-card header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.admin-order-card h3,
.customer-card h3 {
  margin: 6px 0 3px;
}

.admin-order-card p,
.customer-card p {
  margin: 0;
  color: var(--muted);
}

.admin-order-card header > strong,
.customer-card header > strong {
  color: var(--accent-dark);
  font-size: 22px;
}

.order-status {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 999px;
  padding: 0 9px;
  background: #ffe7b8;
  color: #8a4c00;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.order-status.atendido {
  background: #dff7db;
  color: #216b1f;
}

.order-status.cerrado {
  background: #dfe9ff;
  color: #244b9a;
}

.order-status.cancelado {
  background: #ffe2e2;
  color: #9a1f1f;
}

.order-status.nuevo {
  background: #fff0ca;
  color: #875800;
}

.order-status.pendiente_pago {
  background: #e9e2ff;
  color: #5133a0;
}

.order-status.pago_confirmado {
  background: #dff7db;
  color: #216b1f;
}

.order-status.despachado {
  background: #dff4ff;
  color: #11607a;
}

.order-status.finalizado {
  background: #dfe9ff;
  color: #244b9a;
}

.order-status.cliente {
  background: #dff7db;
  color: #216b1f;
}

.order-status.carrito_pendiente {
  background: #fff0ca;
  color: #875800;
}

.admin-order-meta,
.admin-order-items,
.customer-metrics,
.customer-last-cart {
  display: grid;
  gap: 6px;
}

.admin-order-meta {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  color: #40544a;
  font-weight: 700;
}

.admin-order-note {
  padding: 10px;
  border-radius: 8px;
  background: #eef6f1;
}

.order-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
}

.order-flow span {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 4px 7px;
  background: #eef5f1;
  color: #52645b;
  font-size: 11px;
  font-weight: 900;
  text-align: center;
}

.order-flow span.active {
  background: #183227;
  color: #fff;
}

.order-proof-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px dashed #bfd2c8;
  border-radius: 10px;
  background: #f7faf8;
}

.order-proof-box strong,
.order-proof-box span,
.order-proof-box a {
  display: block;
}

.order-proof-box a {
  color: var(--accent-dark);
  font-weight: 900;
}

.proof-upload {
  min-height: 44px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  background: linear-gradient(135deg, #183227, #285543);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
  text-align: center;
}

.proof-upload input {
  display: none;
}

.customers-admin {
  display: grid;
  gap: 12px;
}

.admin-customers-list {
  display: grid;
  gap: 12px;
}

.customer-metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  color: #40544a;
  font-weight: 700;
}

.customer-last-cart {
  padding: 10px;
  border-radius: 9px;
  background: #f2f8f4;
  color: #24352d;
}

.field-help {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
  line-height: 1.25;
}

.customer-grid input.invalid {
  border-color: #ff5858 !important;
  box-shadow: 0 0 0 3px rgba(255, 88, 88, 0.18);
}

.customer-grid input.invalid + .field-help,
.customer-phone .field-help {
  color: rgba(255, 255, 255, 0.74);
}

.admin-order-items div {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 6px 10px;
  padding: 8px 0;
  border-top: 1px solid #eef2f0;
}

.admin-order-items span {
  font-weight: 900;
  color: var(--accent-dark);
}

.admin-order-items small {
  grid-column: 2;
  color: var(--muted);
}

.admin-order-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  gap: 8px;
}

.admin-order-replies {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid #e7efea;
}

.admin-order-actions button {
  background: #eef5f1;
  color: #183227;
  white-space: normal;
  text-align: center;
  line-height: 1.15;
}

.admin-order-actions button:hover {
  background: #dcebe3;
}

.admin-order-replies button {
  min-height: 50px;
  border-radius: 9px;
  padding: 8px 12px;
  background: linear-gradient(135deg, #21c663, #129b7f);
  color: #fff;
  font-weight: 900;
  line-height: 1.15;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: center;
}

.admin-order-replies button:nth-child(2) {
  background: linear-gradient(135deg, #1f7eea, #2454b8);
}

.admin-order-replies button:nth-child(3) {
  background: linear-gradient(135deg, #ffd166, #f9a825);
  color: #07120d;
}

.admin-order-replies button:nth-child(4) {
  background: linear-gradient(135deg, #7fd331, #4d9c16);
  color: #07120d;
}

.admin-order-replies button:nth-child(5) {
  background: linear-gradient(135deg, #f05a42, #c52d2d);
}

.photo-upload input {
  display: none;
}

.barcode-scanner-modal {
  position: fixed;
  inset: 0;
  z-index: 2200;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(3, 13, 9, 0.74);
  backdrop-filter: blur(10px);
}

.barcode-scanner-modal[hidden],
.barcode-scanner-modal[aria-hidden="true"] {
  display: none !important;
}

.barcode-scanner-dialog {
  width: min(520px, 100%);
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(158, 255, 44, 0.26);
  border-radius: 18px;
  background: #07140f;
  color: #fff;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
}

.barcode-scanner-dialog header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.barcode-scanner-dialog header p {
  margin: 0 0 2px;
  color: #9cff22;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.barcode-scanner-dialog h2 {
  margin: 0;
  font-size: 24px;
}

#barcode-scanner-close {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  cursor: pointer;
}

.barcode-video-wrap {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  border-radius: 14px;
  background: #000;
}

.barcode-video-wrap video {
  width: 100%;
  height: 100%;
  min-height: 300px;
  display: block;
  object-fit: cover;
}

.barcode-scan-frame {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(82%, 390px);
  height: 96px;
  transform: translate(-50%, -50%);
  border: 3px solid #9cff22;
  border-radius: 14px;
  box-shadow: 0 0 0 999px rgba(0, 0, 0, 0.28), 0 0 24px rgba(156, 255, 34, 0.42);
  pointer-events: none;
}

.barcode-camera-controls {
  position: absolute;
  right: 10px;
  bottom: 10px;
  left: 10px;
  z-index: 2;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  background: rgba(3, 13, 9, 0.82);
}

.barcode-camera-controls button {
  min-width: 38px;
  height: 34px;
  border: 1px solid rgba(156, 255, 34, 0.46);
  border-radius: 8px;
  padding: 0 10px;
  background: #10231a;
  color: #fff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.barcode-camera-controls button:disabled {
  cursor: default;
  opacity: 0.38;
}

.barcode-camera-controls button[aria-pressed="true"] {
  background: #9cff22;
  color: #06120d;
}

.barcode-camera-controls output {
  min-width: 34px;
  color: #cfff9b;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.barcode-scanner-status {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.4;
}

.barcode-capture-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.barcode-photo-capture,
#barcode-live-start {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(156, 255, 34, 0.54);
  border-radius: 10px;
  padding: 0 14px;
  color: #cfff9b;
  font-weight: 900;
  cursor: pointer;
}

#barcode-live-start {
  background: transparent;
}

#barcode-live-start[hidden] {
  display: none;
}

.barcode-photo-capture input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.barcode-photo-capture:focus-within {
  outline: 3px solid rgba(156, 255, 34, 0.3);
  outline-offset: 2px;
}

.barcode-manual-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.barcode-manual-form input {
  border-color: rgba(255, 255, 255, 0.16);
  background: #fff;
}

.barcode-manual-form button {
  min-height: 44px;
  border: 0;
  border-radius: 10px;
  padding: 0 14px;
  background: #9cff22;
  color: #06120d;
  font-weight: 950;
  cursor: pointer;
}

body.barcode-scanner-open {
  overflow: hidden;
}

.product-info {
  min-width: 0;
}

.product-heading {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: baseline;
  margin-bottom: 7px;
}

.product-heading strong {
  color: var(--accent-dark);
  font-size: 13px;
  overflow-wrap: anywhere;
}

.product-heading span {
  color: var(--muted);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.admin-year-badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 24px;
  margin: 0 0 8px;
  padding: 4px 9px;
  border: 1px solid rgba(0, 118, 80, 0.16);
  border-radius: 999px;
  background: #eef8f2;
  color: #0d6f4d;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

.product-card dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
  margin: 12px 0 0;
}

.order-controls {
  display: grid;
  grid-template-columns: minmax(90px, 1fr) 74px auto;
  gap: 8px;
  margin-top: 12px;
}

.order-controls input,
.order-controls select {
  min-height: 38px;
}

.order-controls button {
  min-height: 38px;
  padding: 0 12px;
}

dd {
  margin: 3px 0 0;
  font-size: 14px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.empty-state {
  grid-column: 1 / -1;
  margin: 0;
  padding: 34px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: 8px;
}

.side-panel {
  align-self: start;
  padding: 16px;
  display: grid;
  gap: 16px;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.chat-panel {
  display: grid;
  grid-template-rows: auto minmax(260px, 1fr) auto;
  overflow: hidden;
}

.order-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 14px 38px rgba(18, 34, 28, 0.08);
}

.public-mode .order-panel {
  min-height: calc(100vh - 28px);
}

.order-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.order-logo {
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.cart-items {
  display: grid;
  gap: 14px;
  max-height: calc(100vh - 290px);
  overflow: auto;
  scrollbar-width: auto;
}

.empty-cart {
  margin: 0;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 18px;
  text-align: center;
}

.cart-line {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) 38px;
  gap: 14px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
}

.cart-line img,
.cart-thumb {
  width: 96px;
  height: 96px;
  border-radius: 12px;
  object-fit: cover;
  background: var(--soft);
  display: grid;
  place-items: center;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 700;
}

.cart-line strong,
.cart-line span,
.cart-line small {
  display: block;
  overflow-wrap: anywhere;
}

.cart-line strong {
  font-size: 16px;
  line-height: 1.2;
}

.cart-line span,
.cart-line small {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.25;
}

.cart-line .cart-discount-line {
  color: #72c924;
  font-weight: 900;
}

.cart-line button {
  width: 36px;
  min-height: 36px;
  padding: 0;
  border-radius: 10px;
  background: #eef0ef;
  color: var(--ink);
}

.customer-reserve {
  display: grid;
  gap: 7px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(16, 32, 24, 0.04);
}

.customer-reserve > strong {
  color: var(--ink);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.customer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 1.25fr;
  gap: 7px;
}

.customer-grid label {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.customer-grid span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.customer-grid input {
  width: 100%;
  min-height: 31px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 8px;
  background: white;
  color: var(--ink);
  font: inherit;
}

.customer-grid input:focus {
  outline: 2px solid rgba(140, 204, 60, 0.34);
  border-color: rgba(140, 204, 60, 0.62);
}

.customer-phone {
  grid-column: auto;
}

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

.cart-total span {
  color: var(--muted);
  font-weight: 700;
}

.cart-total strong {
  display: grid;
  gap: 4px;
  justify-items: end;
  font-size: 24px;
}

.cart-total-normal {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-decoration: line-through;
}

.cart-total-discount {
  color: #72c924;
  font-size: 20px;
  font-weight: 950;
  text-align: right;
}

.whatsapp-button,
.web-whatsapp-button {
  min-height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, #22c45e, #128c7e);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 15px;
  font-weight: 950;
  box-shadow: 0 14px 30px rgba(18, 140, 126, 0.28);
}

.whatsapp-button:hover {
  background: linear-gradient(135deg, #29d86b, #0d756a);
}

.web-whatsapp-button {
  min-height: 42px;
  background: rgba(32, 51, 43, 0.92);
  box-shadow: none;
  font-size: 13px;
}

.web-whatsapp-button:hover {
  background: #14231d;
}

.whatsapp-button.disabled,
.web-whatsapp-button.disabled {
  pointer-events: none;
  opacity: 0.55;
}

.order-note {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.cart-notice {
  position: fixed;
  left: 50%;
  top: 18px;
  z-index: 120;
  transform: translateX(-50%) translateY(-10px) scale(0.96);
  max-width: min(520px, calc(100vw - 28px));
  display: grid;
  gap: 3px;
  padding: 14px 18px;
  border: 1px solid rgba(142, 204, 60, 0.46);
  border-radius: 16px;
  background: linear-gradient(135deg, #8cdf23, #22c76b);
  color: #06120d;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.42);
  font-weight: 900;
  overflow-wrap: anywhere;
  opacity: 0;
  animation: cartNoticeIn 260ms ease forwards;
}

.cart-notice span {
  max-width: 100%;
  color: rgba(6, 18, 13, 0.82);
  font-size: 12px;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-notice.leaving {
  animation: cartNoticeOut 260ms ease forwards;
}

[data-add-code].just-added {
  background: linear-gradient(135deg, #22c76b, #8cdf23) !important;
  color: #06120d !important;
  transform: scale(0.98);
  box-shadow: 0 0 0 4px rgba(142, 204, 60, 0.26), 0 14px 34px rgba(34, 199, 107, 0.28) !important;
}

@keyframes cartNoticeIn {
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
  }
}

@keyframes cartNoticeOut {
  to {
    opacity: 0;
    transform: translateX(-50%) translateY(-10px) scale(0.96);
  }
}

.image-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 110;
  padding: 24px;
  background: rgba(9, 14, 11, 0.82);
  align-items: center;
  justify-content: center;
}

.image-modal-open .image-modal {
  display: flex;
}

.image-modal img {
  max-width: min(92vw, 980px);
  max-height: 88vh;
  object-fit: contain;
  border-radius: 8px;
  background: white;
}

.image-modal-close {
  position: fixed;
  top: 16px;
  right: 16px;
  width: 42px;
  min-height: 42px;
  padding: 0;
  border-radius: 999px;
  background: white;
  color: var(--ink);
}

.image-modal-close:hover {
  background: #eef7f2;
  color: var(--accent-dark);
}

.chat-panel header {
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.messages {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  overflow-y: auto;
  background: #fafcfb;
}

.message {
  max-width: 92%;
  padding: 11px 12px;
  border-radius: 8px;
  line-height: 1.4;
  white-space: pre-wrap;
}

.message.client {
  align-self: flex-end;
  background: #eef0ef;
  border: 1px solid var(--line);
}

.message.bot {
  align-self: flex-start;
  background: var(--soft);
  border: 1px solid #cdebdc;
}

.composer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 12px;
  border-top: 1px solid var(--line);
}

button:disabled,
input:disabled {
  opacity: 0.65;
  cursor: wait;
}

.helper-section {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.helper-section dl {
  margin: 14px 0 0;
}

.helper-section dl div {
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

@media (max-width: 980px) {
  .app-shell {
    grid-template-columns: 1fr;
    width: min(100vw - 20px, 760px);
    padding: 10px 0;
  }

  .inventory-panel {
    min-height: auto;
  }

  .toolbar {
    grid-template-columns: 1fr;
  }

  .public-mode .app-shell {
    grid-template-columns: 1fr;
  }

  .public-mode .side-panel {
    position: fixed;
  }

  .cart-items {
    max-height: none;
  }

  .kit-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .topbar,
  .upload-band,
  .pdf-band,
  .public-intro {
    align-items: flex-start;
    flex-direction: column;
  }

  .pdf-actions {
    grid-template-columns: 1fr;
  }

  .topbar-actions {
    justify-content: flex-start;
  }

  .kit-heading {
    flex-direction: column;
  }

  .kit-actions,
  .pdf-actions-inline,
  .quick-replies {
    grid-template-columns: 1fr;
  }

  .brand-logo {
    width: 58px;
    height: 58px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .product-card {
    grid-template-columns: 78px minmax(0, 1fr);
  }

  .photo-slot {
    width: 78px;
  }

  .order-controls {
    grid-template-columns: 1fr 70px;
  }

  .order-controls button {
    grid-column: 1 / -1;
  }

  h1 {
    font-size: 24px;
  }
}

/* Final public ecommerce overrides */
.public-mode {
  background: #f6f8f5;
}

.public-mode .app-shell {
  width: min(1500px, calc(100vw - 28px));
}

.public-mode .inventory-panel {
  border-color: #e3e9e4;
  box-shadow: 0 18px 45px rgba(18, 34, 28, 0.08);
}

.public-mode .topbar {
  background: rgba(255, 255, 255, 0.96);
}

.public-mode .public-intro {
  min-height: 380px;
  align-items: stretch;
  padding: 0;
  background:
    linear-gradient(90deg, rgba(16, 26, 21, 0.90) 0%, rgba(16, 26, 21, 0.72) 42%, rgba(16, 26, 21, 0.08) 78%),
    url("/dwilly-local.jpg") center / cover;
  color: white;
}

.public-mode .hero-copy {
  width: min(630px, 100%);
  padding: 36px 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.public-mode .hero-logo {
  width: 96px;
  height: 96px;
  object-fit: contain;
  padding: 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
}

.public-mode .hero-copy .eyebrow {
  margin-top: 22px;
  color: #9ee06b;
}

.public-mode .hero-copy h2 {
  max-width: 570px;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 0.96;
}

.public-mode .hero-copy p {
  margin: 14px 0 0;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.5;
}

.public-mode .hero-action {
  width: fit-content;
  margin-top: 24px;
  min-height: 44px;
  border-radius: 8px;
  padding: 12px 18px;
  background: #8ccc3c;
  color: #102014;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-weight: 800;
}

.public-mode .public-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
  background: white;
}

.public-mode .public-benefits article {
  padding: 18px 24px;
  border-right: 1px solid var(--line);
}

.public-mode .public-benefits article:last-child {
  border-right: 0;
}

.public-mode .public-benefits strong,
.public-mode .public-benefits span {
  display: block;
}

.public-mode .public-benefits strong {
  font-size: 15px;
}

.public-mode .public-benefits span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
}

.public-mode .toolbar {
  grid-template-columns: minmax(260px, 1fr) 220px 200px;
  background: white;
  position: sticky;
  top: 0;
  z-index: 10;
}

.public-mode .catalog-grid {
  grid-template-columns: repeat(auto-fill, minmax(245px, 1fr));
  gap: 20px;
  background: #f6f8f6;
}

.public-mode .product-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  border: 1px solid #e4eae5;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(18, 34, 28, 0.07);
}

.public-mode .photo-slot {
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 0;
  border-radius: 0;
  background: white;
}

.public-mode .photo-slot img,
.public-mode .image-preview-button {
  border-radius: 0;
}

.public-mode .product-info {
  padding: 14px;
}

.public-mode .product-heading {
  align-items: flex-start;
}

.public-mode .product-heading strong {
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--accent-dark);
  font-size: 11px;
}

.public-mode .product-card h3 {
  min-height: 40px;
  font-size: 16px;
}

.public-mode .product-card dl {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.public-mode .order-panel {
  border-color: #d4dfd8;
  box-shadow: 0 14px 38px rgba(18, 34, 28, 0.14);
}

@media (max-width: 760px) {
  .public-mode .public-intro {
    min-height: 520px;
    background:
      linear-gradient(180deg, rgba(16, 26, 21, 0.92) 0%, rgba(16, 26, 21, 0.72) 52%, rgba(16, 26, 21, 0.28) 100%),
      url("/dwilly-local.jpg") center / cover;
  }

  .public-mode .hero-copy {
    padding: 28px 22px;
  }

  .public-mode .public-benefits,
  .public-mode .toolbar {
    grid-template-columns: 1fr;
  }

  .public-mode .public-benefits article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

/* Last-mile recommended section fix */
.public-mode section.recommended-band.public-only {
  display: block !important;
  padding: 30px 32px 34px !important;
  background: #101a15 !important;
  color: white;
}

.public-mode .recommended-band .section-heading {
  display: flex !important;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 18px !important;
}

.public-mode .recommended-band .section-heading h2 {
  margin: 4px 0 0;
  font-size: clamp(28px, 3vw, 42px) !important;
  line-height: 1.05;
}

.public-mode .featured-brands {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)) !important;
  gap: 10px;
  margin: 0 0 22px !important;
}

.public-mode .featured-brands button {
  width: 100%;
  min-width: 0;
  min-height: 68px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 12px 14px;
  display: block;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  text-align: left;
  overflow: hidden;
}

.public-mode .featured-brands strong {
  display: block;
  color: white;
  font-size: 16px;
  line-height: 1.1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-mode .featured-brands span {
  display: block;
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  line-height: 1.25;
}

.public-mode .recommended-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 16px !important;
  overflow: visible !important;
  padding: 0 !important;
}

.public-mode .recommended-card {
  min-width: 0 !important;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.public-mode .recommended-card.featured-pick {
  grid-column: span 2;
  grid-row: span 2;
}

.public-mode .recommended-card button,
.public-mode .recommended-card.featured-pick button {
  width: 100%;
  aspect-ratio: 4 / 3 !important;
  min-height: 0;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: white;
}

.public-mode .recommended-card.featured-pick button {
  aspect-ratio: 16 / 10 !important;
}

.public-mode .recommended-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.public-mode .recommended-card div {
  padding: 13px !important;
}

.public-mode .recommended-card span,
.public-mode .recommended-card small {
  display: block;
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
  line-height: 1.3;
}

.public-mode .recommended-card span {
  color: #9ee06b;
  font-weight: 800;
}

.public-mode .recommended-card strong {
  display: block;
  min-height: 0 !important;
  margin: 6px 0 8px;
  color: white;
  font-size: 15px !important;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.public-mode .recommended-card.featured-pick strong {
  font-size: clamp(22px, 2.2vw, 30px) !important;
  line-height: 1.08;
}

.public-mode .recommended-card a {
  width: fit-content;
  min-height: 34px;
  margin-top: 12px;
  border-radius: 8px;
  padding: 8px 11px;
  display: inline-flex;
  align-items: center;
  background: #8ccc3c;
  color: #102014;
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
}

@media (max-width: 1050px) {
  .public-mode .recommended-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  .public-mode section.recommended-band.public-only {
    padding: 24px 14px 26px !important;
  }

  .public-mode .recommended-band .section-heading {
    display: block !important;
  }

  .public-mode .featured-brands {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .public-mode .recommended-grid {
    grid-template-columns: 1fr !important;
  }

  .public-mode .recommended-card.featured-pick {
    grid-column: auto;
    grid-row: auto;
  }

  .public-mode .recommended-card.featured-pick button {
    aspect-ratio: 4 / 3 !important;
  }
}

/* Public full-width polish */
body.public-mode {
  background: #f6f8f5;
  overflow-x: hidden;
}

.public-mode .app-shell {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
}

.public-mode .inventory-panel {
  width: 100%;
  min-height: 100vh;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.public-mode .topbar,
.public-mode .toolbar,
.public-mode .catalog-grid,
.public-mode .load-more-wrap,
.public-mode .public-benefits,
.public-mode section.recommended-band.public-only {
  width: 100%;
  box-sizing: border-box;
}

.hero-search {
  width: min(620px, 100%);
  margin-top: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.hero-search input {
  min-height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.30);
  background: rgba(255, 255, 255, 0.94);
  color: #102014;
  font-weight: 700;
}

.hero-search button {
  min-height: 52px;
  background: #8ccc3c;
  color: #102014;
  font-weight: 900;
}

.public-mode .hero-action {
  margin-top: 14px;
  background: rgba(255, 255, 255, 0.14);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.26);
}

.public-mode .order-note {
  padding: 12px;
  border-radius: 8px;
  background: #eef7f2;
  color: #33423a;
  font-size: 13px;
}

.continue-shopping {
  min-height: 42px;
  border: 1px solid var(--line);
  background: #f6f8f5;
  color: var(--ink);
}

.continue-shopping:hover {
  background: #eef7f2;
  color: var(--accent-dark);
}

@media (min-width: 1180px) {
  .public-mode .hero-copy {
    width: min(760px, 58vw);
    padding-left: clamp(34px, 5vw, 76px);
  }

  .public-mode .public-intro {
    min-height: 560px;
    background-position: center;
  }
}

@media (max-width: 640px) {
  .hero-search {
    grid-template-columns: 1fr;
  }

  .hero-search input,
  .hero-search button {
    min-height: 48px;
  }
}

/* Dark retail theme */
body.public-mode {
  background: #070d0a !important;
  color: white;
}

.public-mode .inventory-panel,
.public-mode .topbar,
.public-mode .toolbar,
.public-mode .catalog-grid,
.public-mode .load-more-wrap {
  background: #070d0a !important;
}

.public-mode .topbar {
  border-bottom-color: rgba(255, 255, 255, 0.10);
}

.public-mode .brand-lockup .eyebrow,
.public-mode #page-title {
  color: white;
}

.public-mode .mode-link {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.public-mode .cart-toggle {
  background: #8ccc3c;
  color: #102014;
}

.public-mode .public-benefits {
  background: #0d1611 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.public-mode .public-benefits article {
  border-right-color: rgba(255, 255, 255, 0.10);
}

.public-mode .public-benefits strong {
  color: white;
}

.public-mode .public-benefits span,
.public-mode .catalog-summary {
  color: rgba(255, 255, 255, 0.70);
}

.public-mode .toolbar {
  border-bottom-color: rgba(255, 255, 255, 0.10);
}

.public-mode .toolbar input,
.public-mode .toolbar select,
.public-mode .recommended-card select,
.public-mode .recommended-card input {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.94);
  color: #102014;
}

.public-mode .catalog-grid {
  gap: 22px;
}

.public-mode .product-card {
  border-color: rgba(255, 255, 255, 0.12);
  background: #101a15;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
}

.public-mode .product-info,
.public-mode .product-card h3 {
  color: white;
}

.public-mode .product-heading strong {
  background: rgba(140, 204, 60, 0.16);
  color: #9ee06b;
}

.public-mode .product-heading span,
.public-mode .retail-meta span,
.public-mode .price-row small {
  color: rgba(255, 255, 255, 0.68);
}

.public-mode .price-row {
  border-top-color: rgba(255, 255, 255, 0.10);
}

.public-mode .price-row strong {
  color: white;
}

.public-mode .order-controls button,
.public-mode .recommended-card .order-controls button {
  background: #8ccc3c;
  color: #102014;
  font-weight: 900;
}

.public-mode .recommended-card .order-controls {
  grid-template-columns: minmax(0, 1fr) 64px;
  margin-top: 12px;
}

.public-mode .recommended-card .order-controls button {
  grid-column: 1 / -1;
}

.public-mode .recommended-card .order-controls select,
.public-mode .recommended-card .order-controls input {
  min-height: 38px;
}

.public-mode .recommended-card a {
  display: none;
}

.public-mode #load-more-products {
  background: #8ccc3c;
  color: #102014;
}

.public-mode .empty-state {
  border-color: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.70);
}

.public-mode .side-panel {
  background: #08100c;
}

.public-mode .order-panel {
  border-color: rgba(255, 255, 255, 0.12);
  background: #101a15;
  color: white;
}

.public-mode .cart-line,
.public-mode .empty-cart,
.public-mode .cart-total {
  border-color: rgba(255, 255, 255, 0.12);
}

.public-mode .cart-line span,
.public-mode .cart-line small,
.public-mode .cart-total span {
  color: rgba(255, 255, 255, 0.68);
}

.public-mode .customer-reserve {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: none;
}

.public-mode .customer-reserve > strong {
  color: white;
}

.public-mode .customer-grid span {
  color: rgba(255, 255, 255, 0.62);
}

.public-mode .customer-grid input {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.92);
  color: #07130d;
}

.public-mode .continue-shopping {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.public-mode .order-note {
  background: rgba(140, 204, 60, 0.12);
  color: rgba(255, 255, 255, 0.82);
}

/* Product controls and logo polish */
.public-mode .photo-slot,
.public-mode .recommended-card button {
  position: relative;
}

.product-logo-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(6, 16, 11, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(10px);
  pointer-events: none;
}

.product-logo-badge img {
  width: 30px !important;
  height: 30px !important;
  object-fit: contain !important;
  border-radius: 0 !important;
}

.public-mode .recommended-card button.image-preview-button,
.public-mode .recommended-card > button {
  display: block;
}

.public-mode .recommended-card .order-controls,
.public-mode .order-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 70px auto;
  gap: 8px;
  align-items: center;
}

.public-mode .recommended-card .order-controls {
  grid-template-columns: minmax(0, 1fr) 62px auto !important;
}

.public-mode .order-controls select,
.public-mode .order-controls input,
.public-mode .recommended-card .order-controls select,
.public-mode .recommended-card .order-controls input {
  min-height: 38px !important;
  height: 38px;
  border-color: rgba(255, 255, 255, 0.16);
  background: #f4f7f4;
  color: #102014;
  font-size: 14px;
}

.public-mode .order-controls button,
.public-mode .recommended-card .order-controls button {
  grid-column: auto !important;
  min-height: 38px !important;
  height: 38px !important;
  padding: 0 14px !important;
  align-self: stretch;
  background: #8ccc3c;
  color: #102014;
  font-size: 14px;
  line-height: 1;
}

.public-mode .recommended-card.featured-pick .order-controls {
  grid-template-columns: minmax(0, 1fr) 64px auto !important;
}

@media (max-width: 760px) {
  .public-mode .recommended-card .order-controls,
  .public-mode .recommended-card.featured-pick .order-controls,
  .public-mode .order-controls {
    grid-template-columns: minmax(0, 1fr) 62px !important;
  }

  .public-mode .order-controls button,
  .public-mode .recommended-card .order-controls button {
    grid-column: 1 / -1 !important;
  }
}

/* Final readable purchase controls */
.public-mode .order-controls,
.public-mode .recommended-card .order-controls,
.public-mode .recommended-card.featured-pick .order-controls {
  display: grid !important;
  grid-template-columns: minmax(150px, 1fr) 64px !important;
  gap: 8px !important;
  align-items: center;
}

.public-mode .order-controls select,
.public-mode .order-controls input,
.public-mode .recommended-card .order-controls select,
.public-mode .recommended-card .order-controls input {
  width: 100%;
  min-width: 0;
  min-height: 40px !important;
  height: 40px !important;
  border: 1px solid #d8e0dc !important;
  border-radius: 8px;
  background: #ffffff !important;
  color: #102014 !important;
  font-size: 14px;
  font-weight: 700;
}

.public-mode .order-controls select,
.public-mode .recommended-card .order-controls select {
  padding-right: 28px;
}

.public-mode .order-controls input,
.public-mode .recommended-card .order-controls input {
  text-align: center;
  padding: 0 8px;
}

.public-mode .order-controls button,
.public-mode .recommended-card .order-controls button {
  grid-column: 1 / -1 !important;
  width: 100%;
  min-height: 40px !important;
  height: 40px !important;
  padding: 0 14px !important;
  border-radius: 8px;
  background: #8ccc3c !important;
  color: #102014 !important;
  font-size: 15px;
  font-weight: 900;
}

.public-mode .price-row {
  align-items: end;
}

.public-mode .price-row small {
  text-align: right;
}

/* Readable product meta chips */
.public-mode .retail-meta span {
  border: 1px solid rgba(158, 224, 107, 0.32) !important;
  background: rgba(140, 204, 60, 0.14) !important;
  color: #f3ffe9 !important;
  font-weight: 800;
  text-shadow: none;
}

/* Mobile first-screen compression */
@media (max-width: 640px) {
  .public-mode .topbar {
    min-height: 56px;
    padding: 8px 12px !important;
  }

  .public-mode .brand-logo {
    width: 42px;
    height: 42px;
  }

  .public-mode #page-title {
    font-size: 19px;
  }

  .public-mode .cart-toggle {
    min-height: 34px;
    padding: 0 10px;
    font-size: 14px;
  }

  .public-mode .public-intro {
    min-height: 430px !important;
  }

  .public-mode .hero-copy {
    width: 100%;
    padding: 22px 18px 24px !important;
  }

  .public-mode .hero-logo {
    width: 74px !important;
    height: 74px !important;
    padding: 6px;
  }

  .public-mode .hero-copy .eyebrow {
    margin-top: 14px;
    font-size: 13px;
  }

  .public-mode .hero-copy h2 {
    max-width: 340px;
    font-size: 34px !important;
    line-height: 0.98;
  }

  .public-mode .hero-copy p {
    max-width: 330px;
    margin-top: 10px;
    font-size: 15px;
    line-height: 1.35;
  }

  .hero-search {
    margin-top: 14px;
    gap: 8px;
  }

  .hero-search input,
  .hero-search button {
    min-height: 42px !important;
    height: 42px;
    font-size: 14px;
  }

  .public-mode .hero-action {
    min-height: 38px;
    margin-top: 8px;
    padding: 8px 12px;
    font-size: 14px;
  }

  .public-mode .public-benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .public-mode .public-benefits article {
    min-width: 0;
    padding: 10px 8px !important;
    border-right: 1px solid rgba(255, 255, 255, 0.10) !important;
    border-bottom: 0 !important;
  }

  .public-mode .public-benefits strong {
    font-size: 12px !important;
    line-height: 1.15;
  }

  .public-mode .public-benefits span {
    margin-top: 4px;
    font-size: 10px !important;
    line-height: 1.15;
  }

  .public-mode section.recommended-band.public-only {
    padding: 16px 12px 18px !important;
  }

  .public-mode .recommended-band .section-heading {
    display: grid !important;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 10px;
    margin-bottom: 10px !important;
  }

  .public-mode .recommended-band .section-heading .eyebrow {
    font-size: 12px;
  }

  .public-mode .recommended-band .section-heading h2 {
    font-size: 24px !important;
    line-height: 1;
  }

  .public-mode .recommended-band .section-heading a {
    min-height: 32px;
    padding: 7px 10px;
    font-size: 12px;
  }

  .public-mode .featured-brands {
    display: flex !important;
    gap: 8px;
    margin-bottom: 12px !important;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .public-mode .featured-brands button {
    flex: 0 0 126px;
    min-height: 52px;
    padding: 8px 10px;
  }

  .public-mode .featured-brands strong {
    font-size: 13px;
  }

  .public-mode .featured-brands span {
    margin-top: 4px;
    font-size: 10px;
  }

  .public-mode .recommended-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .public-mode .toolbar {
    padding: 12px !important;
    gap: 8px;
  }

  .public-mode .catalog-grid {
    padding-top: 12px !important;
  }
}

/* Floating mobile actions */
.floating-actions {
  display: none;
}

@media (max-width: 760px) {
  .public-mode .floating-actions.public-only {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 45;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    background: rgba(7, 13, 10, 0.92);
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(10px);
  }

  .public-mode .floating-actions button {
    min-height: 44px;
    border-radius: 10px;
    padding: 0 12px;
    font-size: 14px;
    font-weight: 900;
  }

  .public-mode #float-search {
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.10);
    color: white;
  }

  .public-mode #float-whatsapp {
    background: #8ccc3c;
    color: #102014;
  }

  .public-mode #float-cart-count {
    min-width: 22px;
    height: 22px;
    margin-left: 6px;
    border-radius: 999px;
    display: inline-grid;
    place-items: center;
    background: #ffffff;
    color: #102014;
    font-size: 12px;
  }

  .public-mode .load-more-wrap {
    padding-bottom: 84px;
  }

  .public-mode.cart-open .floating-actions {
    display: none !important;
  }
}

/* Public catalog carousel and expanded featured brands */
.public-mode .public-intro {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #07100c !important;
}

.public-mode .public-intro::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(4, 11, 8, 0.94) 0%, rgba(4, 11, 8, 0.76) 42%, rgba(4, 11, 8, 0.20) 78%),
    linear-gradient(0deg, rgba(4, 11, 8, 0.28), rgba(4, 11, 8, 0.28));
}

.hero-carousel {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-carousel span {
  position: absolute;
  inset: 0;
  background-image: var(--hero-image);
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: scale(1.03);
  animation: dwillyHeroSlide 35s infinite;
}

.hero-carousel span:nth-child(2) {
  animation-delay: 5s;
}

.hero-carousel span:nth-child(3) {
  animation-delay: 10s;
  background-position: center 42%;
}

.hero-carousel span:nth-child(4) {
  animation-delay: 15s;
  background-position: center 46%;
}

.hero-carousel span:nth-child(5) {
  animation-delay: 20s;
  background-position: center 44%;
}

.hero-carousel span:nth-child(6) {
  animation-delay: 25s;
  background-position: center 48%;
}

.hero-carousel span:nth-child(7) {
  animation-delay: 30s;
  background-position: center 50%;
}

@keyframes dwillyHeroSlide {
  0%, 12% {
    opacity: 0;
  }
  16%, 28% {
    opacity: 1;
    transform: scale(1);
  }
  34%, 100% {
    opacity: 0;
  }
}

.public-mode .featured-brands {
  display: flex !important;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 2px 10px;
  scrollbar-color: rgba(140, 204, 60, 0.75) rgba(255, 255, 255, 0.08);
}

.public-mode .featured-brands button {
  flex: 0 0 190px;
  min-height: 70px;
  text-align: left;
  cursor: pointer;
}

.public-mode .featured-brands button:disabled {
  opacity: 1;
}

@media (min-width: 1000px) {
  .public-mode .public-intro {
    min-height: 520px !important;
  }

  .public-mode .hero-copy {
    min-height: 520px;
    padding-left: 46px !important;
  }

  .public-mode .featured-brands {
    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    overflow-x: visible;
    gap: 12px;
  }

  .public-mode .featured-brands button {
    width: 100%;
    min-width: 0;
  }
}

/* Product cards redesign: light retail ecommerce cards */
.public-mode .catalog-layout,
.public-mode .catalog-results,
.public-mode .load-more-wrap {
  background: #f6f5f0 !important;
}

.public-mode .catalog-layout {
  align-items: start !important;
}

.public-mode .catalog-layout .catalog-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 18px !important;
  align-items: stretch !important;
  background: #f6f5f0 !important;
  padding: 0 !important;
}

.public-mode .product-card {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
  height: 100% !important;
  border: 1px solid #e2e1dc !important;
  border-radius: 16px !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: #ffffff !important;
  color: #0e2a1b !important;
  box-shadow: 0 10px 26px rgba(14, 42, 27, 0.08) !important;
}

.public-mode .product-card::after {
  display: none !important;
}

.public-mode .product-card .photo-slot {
  position: relative !important;
  width: 100% !important;
  min-height: 0 !important;
  aspect-ratio: 4 / 3 !important;
  display: grid !important;
  grid-template-rows: minmax(0, 1fr) auto !important;
  gap: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: linear-gradient(180deg, #ffffff, #f7f8f5) !important;
  overflow: hidden !important;
}

.public-mode .product-card .image-preview-button {
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: auto !important;
  border-radius: 0 !important;
  display: grid !important;
  place-items: center !important;
  padding: 10px !important;
  background: transparent !important;
}

.public-mode .product-card .photo-slot img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  border-radius: 0 !important;
}

.public-mode .product-card .product-logo-badge {
  top: 12px !important;
  right: 12px !important;
  left: auto !important;
  width: 34px !important;
  height: 34px !important;
  border-radius: 11px !important;
  background: rgba(255, 255, 255, 0.92) !important;
  box-shadow: 0 8px 18px rgba(14, 42, 27, 0.16) !important;
}

.public-mode .product-card .photo-thumbs {
  width: 100% !important;
  min-height: 42px !important;
  display: flex !important;
  gap: 6px !important;
  overflow-x: auto !important;
  padding: 6px 10px 9px !important;
  background: rgba(246, 245, 240, 0.92) !important;
}

.public-mode .product-card .photo-thumb {
  flex: 0 0 36px !important;
  width: 36px !important;
  height: 30px !important;
  min-height: 30px !important;
  border-radius: 8px !important;
  border: 1px solid #ddddd8 !important;
  background: #fff !important;
}

.public-mode .product-card .photo-thumb.active {
  border-color: #98f026 !important;
  box-shadow: 0 0 0 1px rgba(152, 240, 38, 0.55) !important;
}

.public-mode .product-card .product-info {
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  padding: 14px !important;
  background: #fff !important;
  color: #0e2a1b !important;
}

.public-mode .product-card .product-heading {
  display: grid !important;
  gap: 4px !important;
}

.public-mode .product-card .product-heading strong {
  color: #0e6f48 !important;
  font-size: 11px !important;
  line-height: 1.1 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
}

.public-mode .product-card .product-heading span {
  color: #8b918b !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  text-transform: none !important;
}

.public-mode .product-card h3 {
  min-height: 42px !important;
  margin: 0 !important;
  color: #0e2a1b !important;
  font-size: 17px !important;
  line-height: 1.22 !important;
  letter-spacing: 0 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden !important;
}

.public-mode .product-price-panel {
  display: grid !important;
  gap: 8px !important;
  padding: 12px !important;
  border: 1px solid #e4e7df !important;
  border-radius: 14px !important;
  background: #fbfbf8 !important;
}

.public-mode .normal-price-block,
.public-mode .cash-price-block {
  display: grid !important;
  gap: 2px !important;
}

.public-mode .normal-price-block span,
.public-mode .cash-price-block span,
.public-mode .product-price-panel small {
  color: #6f776f !important;
  font-size: 9px !important;
  font-weight: 950 !important;
  letter-spacing: .05em !important;
  line-height: 1.15 !important;
  text-transform: uppercase !important;
}

.public-mode .normal-price-block strong {
  color: #0e2a1b !important;
  font-size: 18px !important;
  line-height: 1 !important;
}

.public-mode .cash-price-block strong {
  color: #138a4f !important;
  font-size: 25px !important;
  line-height: 1 !important;
}

.public-mode .product-price-panel small {
  color: #138a4f !important;
}

.public-mode .stock-selector {
  display: grid !important;
  gap: 9px !important;
  padding: 12px !important;
  border: 1px solid #e4e7df !important;
  border-radius: 14px !important;
  background: #ffffff !important;
}

.public-mode .stock-selector.empty {
  color: #6f776f !important;
  font-size: 12px !important;
}

.public-mode .stock-selector-heading {
  display: grid !important;
  gap: 2px !important;
}

.public-mode .stock-selector-heading strong,
.public-mode .stock-store-row > strong {
  color: #0e2a1b !important;
  font-size: 10px !important;
  font-weight: 950 !important;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
}

.public-mode .stock-selector-heading span {
  color: #818982 !important;
  font-size: 11px !important;
}

.public-mode .stock-store-row {
  display: grid !important;
  gap: 7px !important;
}

.public-mode .stock-chip-list {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
}

.public-mode .stock-choice {
  min-height: 40px !important;
  min-width: 58px !important;
  padding: 6px 9px !important;
  border: 1px solid #d7ddd4 !important;
  border-radius: 12px !important;
  background: #f8f8f5 !important;
  color: #0e2a1b !important;
  display: grid !important;
  gap: 1px !important;
  place-items: center !important;
  font-weight: 950 !important;
}

.public-mode .stock-choice span {
  font-size: 13px !important;
  line-height: 1 !important;
}

.public-mode .stock-choice small {
  color: #6f776f !important;
  font-size: 9px !important;
  line-height: 1 !important;
}

.public-mode .stock-choice.last-unit {
  border-color: #e7b64b !important;
  background: #fff8e6 !important;
}

.public-mode .stock-choice.active {
  border-color: #98f026 !important;
  background: #efffe1 !important;
  box-shadow: 0 0 0 2px rgba(152, 240, 38, 0.34) !important;
}

.public-mode .product-buy-controls,
.public-mode .product-card .order-controls {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 10px !important;
  margin-top: auto !important;
}

.public-mode .product-card .order-controls button[data-add-code],
.public-mode .offer-card .order-controls button[data-add-code],
.public-mode .recommended-card .order-controls button[data-add-code],
.public-mode .product-detail-buybox .order-controls button[data-add-code] {
  width: 100% !important;
  min-height: 48px !important;
  border-radius: 14px !important;
  background: linear-gradient(135deg, #98f026, #7fd91d) !important;
  color: #0e2a1b !important;
  font-weight: 950 !important;
}

.public-mode .product-card .order-controls button[data-add-code]:disabled,
.public-mode .offer-card .order-controls button[data-add-code]:disabled,
.public-mode .recommended-card .order-controls button[data-add-code]:disabled,
.public-mode .product-detail-buybox .order-controls button[data-add-code]:disabled {
  background: #e6e8e0 !important;
  color: #777f78 !important;
  cursor: not-allowed !important;
}

.public-mode .product-secondary-actions {
  display: flex !important;
  justify-content: center !important;
  gap: 16px !important;
  padding-top: 2px !important;
}

.public-mode .product-secondary-actions .detail-button,
.public-mode .product-secondary-actions .share-product-button {
  width: auto !important;
  min-height: 28px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #0e6f48 !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 1280px) {
  .public-mode .catalog-layout .catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 980px) {
  .public-mode .catalog-layout .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 760px) {
  .public-mode .catalog-layout,
  .public-mode .catalog-results,
  .public-mode .load-more-wrap {
    background: #f6f5f0 !important;
  }

  .public-mode .catalog-layout .catalog-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .public-mode .product-card .product-info {
    padding: 13px !important;
  }

  .public-mode .product-card h3 {
    font-size: 16px !important;
  }

  .public-mode .product-price-panel {
    gap: 7px !important;
  }

  .public-mode .cash-price-block strong {
    font-size: 23px !important;
  }
}

@media (max-width: 760px) {
  .public-mode .public-intro {
    min-height: 390px !important;
  }

  .public-mode .public-intro::after {
    background:
      linear-gradient(90deg, rgba(4, 11, 8, 0.92) 0%, rgba(4, 11, 8, 0.70) 58%, rgba(4, 11, 8, 0.28) 100%),
      linear-gradient(0deg, rgba(4, 11, 8, 0.30), rgba(4, 11, 8, 0.30));
  }

  .public-mode .featured-brands button {
    flex-basis: 132px;
    min-height: 54px;
  }

}

/* Premium catalog filtering experience */
.public-mode .toolbar {
  grid-template-columns: minmax(280px, 1.4fr) minmax(150px, 0.7fr) minmax(130px, 0.55fr) minmax(150px, 0.7fr);
  align-items: center;
}

.public-mode .toolbar .catalog-summary {
  grid-column: 1 / -1;
}

.catalog-layout {
  display: block;
}

.public-mode .catalog-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  align-items: start;
  gap: 18px;
  background: #07100c;
  padding: 18px;
}

.public-mode .filter-rail {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 14px;
}

.public-mode .filter-card,
.public-mode .filter-group,
.public-mode .clear-filters {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: white;
}

.public-mode .filter-card {
  padding: 16px;
}

.public-mode .filter-card span {
  color: #8ccc3c;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.public-mode .filter-card strong {
  display: block;
  margin-top: 6px;
  font-size: 21px;
  line-height: 1.05;
}

.public-mode .filter-card p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.70);
  font-size: 13px;
  line-height: 1.4;
}

.public-mode .filter-group {
  padding: 14px;
}

.public-mode .filter-group strong {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  text-transform: uppercase;
}

.public-mode .filter-group strong small {
  float: right;
  color: rgba(255, 255, 255, 0.54);
  font-size: 11px;
  text-transform: none;
}

.public-mode .filter-group div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.public-mode .filter-group .scroll-chip-row {
  flex-wrap: nowrap;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding-bottom: 4px;
  scrollbar-color: rgba(140, 204, 60, 0.75) rgba(255, 255, 255, 0.08);
}

.public-mode .filter-group button {
  flex: 0 0 auto;
  min-height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 0 10px;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.public-mode .filter-group button span,
.public-mode .filter-group button small {
  display: inline-block;
  vertical-align: middle;
}

.public-mode .filter-group button small {
  min-width: 19px;
  height: 19px;
  margin-left: 6px;
  border-radius: 999px;
  background: rgba(140, 204, 60, 0.22);
  color: #d8ffb4;
  line-height: 19px;
  text-align: center;
  font-size: 10px;
}

.public-mode .filter-group button:hover {
  border-color: rgba(140, 204, 60, 0.7);
  background: rgba(140, 204, 60, 0.16);
}

.public-mode .clear-filters {
  min-height: 42px;
  font-weight: 900;
  cursor: pointer;
}

.public-mode .catalog-results {
  min-width: 0;
}

.public-mode .catalog-layout .catalog-grid {
  padding: 0 !important;
  background: transparent !important;
}

@media (max-width: 980px) {
  .public-mode .catalog-layout {
    display: block;
    padding: 12px;
  }

  .public-mode .filter-rail {
    position: static;
    display: grid;
    gap: 10px;
    margin-bottom: 14px;
  }

  .public-mode .filter-card {
    padding: 12px;
  }

  .public-mode .filter-card strong {
    font-size: 17px;
  }

  .public-mode .filter-card p {
    display: none;
  }

  .public-mode .filter-group {
    padding: 11px;
  }

  .public-mode .filter-group button {
    min-height: 34px;
    padding: 0 11px;
  }

  .public-mode .toolbar {
    grid-template-columns: 1fr !important;
  }
}

/* Mobile horizontal filter fix */
.public-mode .filter-group,
.public-mode .filter-group .scroll-chip-row {
  min-width: 0;
  max-width: 100%;
}

.public-mode .filter-group .scroll-chip-row {
  width: 100%;
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: scroll !important;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  scroll-snap-type: x proximity;
}

.public-mode .filter-group .scroll-chip-row button {
  flex: 0 0 auto !important;
  white-space: nowrap;
  scroll-snap-align: start;
}

@media (max-width: 760px) {
  .public-mode .catalog-layout,
  .public-mode .filter-rail,
  .public-mode .filter-group {
    min-width: 0;
    width: 100%;
    overflow: hidden;
  }

  .public-mode .filter-group .scroll-chip-row {
    margin-left: -2px;
    padding-left: 2px;
    padding-right: 18px;
  }
}

/* Final cash discount emphasis */
.public-mode .cash-discount-badge {
  background: linear-gradient(135deg, #8ccc3c, #c7f25a) !important;
  color: #07130d !important;
}

.public-mode .cash-discount-badge span,
.public-mode .cash-discount-badge strong,
.public-mode .cash-discount-badge small {
  color: #07130d !important;
}

.public-mode .cart-line .cart-discount-line,
.public-mode .cart-total-discount {
  color: #9ee06b !important;
}

.public-mode .cart-total-normal {
  color: rgba(255, 255, 255, 0.62) !important;
}

@media (max-width: 760px) {
  .public-mode .cash-discount-badge {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .public-mode .cash-discount-badge strong,
  .public-mode .cash-discount-badge small {
    text-align: left;
  }
}

/* Final offers and hero promo experience */
.public-mode .hero-discount-callout {
  width: min(520px, 100%);
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(140, 204, 60, 0.98), rgba(207, 246, 88, 0.94));
  color: #07130d;
  box-shadow: 0 18px 45px rgba(140, 204, 60, 0.24);
}

.public-mode .hero-discount-callout span,
.public-mode .hero-discount-callout strong,
.public-mode .hero-discount-callout small {
  display: block;
  color: #07130d !important;
}

.public-mode .hero-discount-callout span {
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.public-mode .hero-discount-callout strong {
  margin-top: 2px;
  max-width: 470px;
  font-size: clamp(28px, 4.2vw, 48px);
  line-height: 0.98;
  font-weight: 950;
}

.public-mode .hero-discount-callout small {
  margin-top: 7px;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.public-mode .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.public-mode .hero-actions .hero-action,
.public-mode .hero-offer-action {
  margin-top: 0 !important;
  min-height: 44px;
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 900;
}

.public-mode .hero-offer-action {
  background: #d71920;
  color: white;
}

.public-mode .offers-band {
  display: block;
  padding: 30px 32px 34px;
  background: #0b120f;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.public-mode .offers-band .section-heading {
  margin-bottom: 18px;
}

.public-mode .offers-band .section-heading h2 {
  color: white;
}

.public-mode .offers-band .section-heading button {
  background: #d71920;
  color: white;
}

.public-mode .offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
}

.public-mode .offer-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: #17241d;
}

.public-mode .offer-card > button {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  min-height: 0;
  padding: 0;
  border-radius: 0;
  background: white;
  overflow: hidden;
}

.public-mode .offer-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.public-mode .offer-card > div {
  padding: 14px;
}

.public-mode .offer-card > div > span {
  color: #9ee06b;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.public-mode .offer-card > div > strong {
  display: block;
  min-height: 42px;
  margin-top: 6px;
  color: white;
  font-size: 16px;
  line-height: 1.25;
}

.public-mode .offer-ribbon {
  position: absolute;
  z-index: 2;
  top: 10px;
  left: 12px;
  border-radius: 999px;
  padding: 8px 14px;
  background: #d71920;
  color: white;
  font-size: 13px;
  font-weight: 950;
  box-shadow: 0 10px 24px rgba(215, 25, 32, 0.32);
}

.public-mode .offer-card .product-logo-badge {
  left: auto;
  right: 12px;
  top: 10px;
  z-index: 3;
}

.public-mode .cash-discount-badge.offer-badge {
  border-color: rgba(255, 255, 255, 0.18) !important;
  background: linear-gradient(135deg, #d71920, #ff4b3e) !important;
  color: white !important;
}

.public-mode .cash-discount-badge.offer-badge span,
.public-mode .cash-discount-badge.offer-badge strong,
.public-mode .cash-discount-badge.offer-badge small {
  color: white !important;
}

@media (max-width: 760px) {
  .public-mode .hero-discount-callout {
    padding: 14px 15px;
  }

  .public-mode .hero-discount-callout strong {
    max-width: 100%;
    font-size: clamp(25px, 8vw, 34px);
    line-height: 1.02;
  }

  .public-mode .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .public-mode .hero-actions .hero-action,
  .public-mode .hero-offer-action {
    width: 100%;
  }

  .public-mode .offers-band {
    padding: 22px 14px 26px;
  }

  .public-mode .offers-grid {
    grid-template-columns: 1fr;
  }

  .public-mode .offer-ribbon {
    left: 12px;
    max-width: calc(100% - 80px);
    white-space: nowrap;
  }

  .public-mode .offer-card .product-logo-badge {
    right: 12px;
    width: 44px;
  }
}

/* Final compact product card pricing */
.public-mode .catalog-grid {
  gap: 16px !important;
}

.public-mode .product-card {
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22) !important;
}

.public-mode .product-card .photo-slot {
  aspect-ratio: 1.08 / 1 !important;
}

.public-mode .product-info {
  display: grid;
  gap: 8px;
  padding: 12px !important;
}

.public-mode .product-card h3 {
  min-height: 0 !important;
  margin: 0;
  font-size: 15px !important;
  line-height: 1.22;
}

.public-mode .retail-meta {
  margin-top: 0 !important;
  gap: 5px !important;
}

.public-mode .retail-meta span {
  padding: 4px 7px !important;
  font-size: 11px !important;
}

.public-mode .price-row {
  margin-top: 2px !important;
  padding: 6px 9px !important;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
}

.public-mode .price-row strong {
  font-size: 14px !important;
}

.public-mode .price-row small {
  font-size: 11px !important;
}

.public-mode .cash-discount-badge {
  margin-top: 0 !important;
  padding: 9px 10px !important;
  grid-template-columns: 1fr auto !important;
}

.public-mode .cash-discount-badge span {
  font-size: 11px !important;
}

.public-mode .cash-discount-badge strong {
  font-size: 20px !important;
}

.public-mode .cash-discount-badge small {
  font-size: 9px !important;
}

.public-mode .product-card .order-controls {
  margin-top: 0 !important;
  grid-template-columns: minmax(0, 1fr) 54px auto !important;
  gap: 7px !important;
}

.public-mode .product-card .order-controls select,
.public-mode .product-card .order-controls input,
.public-mode .product-card .order-controls button {
  min-height: 36px !important;
  height: 36px !important;
  font-size: 13px !important;
}

.public-mode .product-card .order-controls button {
  padding: 0 11px !important;
}

@media (max-width: 760px) {
  .public-mode .catalog-grid {
    gap: 14px !important;
  }

  .public-mode .product-card .photo-slot {
    aspect-ratio: 1.12 / 1 !important;
  }

  .public-mode .product-info {
    padding: 11px !important;
  }

  .public-mode .price-row {
    display: grid !important;
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .public-mode .cash-discount-badge {
    grid-template-columns: 1fr auto !important;
    align-items: center;
  }

  .public-mode .cash-discount-badge strong,
  .public-mode .cash-discount-badge small {
    text-align: right !important;
  }

  .public-mode .product-card .order-controls {
    grid-template-columns: minmax(0, 1fr) 54px !important;
  }

  .public-mode .product-card .order-controls button {
    grid-column: 1 / -1 !important;
  }
}

/* Mobile smart filters after featured section */
.public-mode .mobile-smart-filters.public-only {
  display: none !important;
}

@media (max-width: 760px) {
  .public-mode .recommended-grid .recommended-card:nth-child(n+6) {
    display: none !important;
  }

  .public-mode .mobile-smart-filters.public-only {
    display: grid !important;
    gap: 12px;
    padding: 18px 14px 20px;
    background: #0b120f;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  }

  .public-mode .mobile-smart-filters .filter-card {
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
  }

  .public-mode .mobile-smart-filters .filter-card span {
    color: #9ee06b;
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
  }

  .public-mode .mobile-smart-filters .filter-card strong {
    display: block;
    margin-top: 4px;
    color: white;
    font-size: 22px;
    line-height: 1;
  }

  .public-mode .mobile-smart-group {
    min-width: 0;
  }

  .public-mode .mobile-smart-group > strong {
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
  }

  .public-mode .mobile-smart-chips {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }

  .public-mode .mobile-smart-chips button {
    flex: 0 0 auto;
    min-height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    padding: 8px 13px;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    display: grid;
    gap: 2px;
    justify-items: start;
    font-weight: 950;
  }

  .public-mode .mobile-smart-chips button small {
    color: rgba(255, 255, 255, 0.58);
    font-size: 10px;
    font-weight: 800;
  }

  .public-mode .mobile-smart-chips button.active {
    border-color: #9ee06b;
    background: #8ccc3c;
    color: #102014;
  }

  .public-mode .mobile-smart-chips button.active small {
    color: rgba(16, 32, 20, 0.72);
  }

  .public-mode .mobile-smart-chips.size-chips button {
    min-width: 52px;
    justify-items: center;
  }

  .public-mode .catalog-layout .filter-rail {
    display: none !important;
  }
}

/* Mobile filter bottom sheet */
.mobile-filter-backdrop,
.mobile-filter-sheet {
  display: none;
}

@media (max-width: 760px) {
  .public-mode .mobile-filter-backdrop {
    position: fixed;
    inset: 0;
    z-index: 58;
    display: block;
    opacity: 0;
    pointer-events: none;
    background: rgba(0, 0, 0, 0.54);
    transition: opacity 180ms ease;
  }

  .public-mode .mobile-filter-sheet {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 60;
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr) auto auto auto;
    max-height: min(82vh, 690px);
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    background: #0b120f;
    color: white;
    box-shadow: 0 -22px 60px rgba(0, 0, 0, 0.48);
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateY(calc(100% + 18px));
    transition: transform 220ms ease;
  }

  .public-mode.mobile-filters-open .mobile-filter-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .public-mode.mobile-filters-open .mobile-filter-sheet {
    transform: translateY(0);
  }

  .public-mode.mobile-filters-open .floating-actions {
    opacity: 0;
    pointer-events: none;
  }

  .mobile-filter-sheet header,
  .mobile-filter-sheet footer {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: center;
  }

  .mobile-filter-sheet header span {
    display: block;
    color: #9ee06b;
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
  }

  .mobile-filter-sheet header strong {
    display: block;
    margin-top: 2px;
    font-size: 22px;
    line-height: 1;
  }

  .mobile-filter-sheet header button {
    width: 42px;
    min-height: 42px;
    padding: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.10);
    color: white;
    font-size: 20px;
  }

  .mobile-filter-search {
    margin-top: 12px;
  }

  .mobile-filter-search input {
    width: 100%;
    min-height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 10px;
    padding: 0 13px;
    background: rgba(255, 255, 255, 0.94);
    color: #102014;
    font: inherit;
    font-weight: 800;
  }

  .mobile-filter-section {
    min-height: 0;
    margin-top: 13px;
  }

  .mobile-filter-title {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    margin-bottom: 8px;
  }

  .mobile-filter-title span {
    color: rgba(255, 255, 255, 0.76);
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
  }

  .mobile-filter-title button,
  .mobile-filter-sheet footer button {
    min-height: 42px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 950;
  }

  #mobile-filter-offers {
    background: #d71920;
    color: white;
  }

  #mobile-filter-offers.active {
    outline: 2px solid #ffefe8;
    box-shadow: 0 0 0 4px rgba(215, 25, 32, 0.24);
  }

  .mobile-filter-chips {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 5px;
    -webkit-overflow-scrolling: touch;
  }

  .mobile-filter-chips button {
    flex: 0 0 auto;
    min-height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    padding: 8px 13px;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    display: grid;
    gap: 2px;
    justify-items: start;
    font-weight: 950;
  }

  .mobile-filter-chips button small {
    color: rgba(255, 255, 255, 0.58);
    font-size: 10px;
    font-weight: 800;
  }

  .mobile-filter-chips button.active {
    border-color: #9ee06b;
    background: #8ccc3c;
    color: #102014;
  }

  .mobile-filter-chips button.active small {
    color: rgba(16, 32, 20, 0.72);
  }

  .mobile-filter-chips.size-chips button {
    min-width: 52px;
    justify-items: center;
  }

  .mobile-filter-sheet footer {
    margin-top: 14px;
    grid-template-columns: 0.8fr 1.2fr;
  }

  #mobile-filter-clear {
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.08);
    color: white;
  }

  #mobile-filter-apply {
    background: #8ccc3c;
    color: #102014;
  }
}

/* Desktop retail polish: compact hero, curated sections and real filter rail */
.dwilly-splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  align-items: center;
  justify-items: center;
  place-items: center;
  background:
    radial-gradient(circle at 50% 38%, rgba(140, 204, 60, 0.28), transparent 28%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.08), transparent 42%),
    linear-gradient(145deg, #020806 0%, #07130d 54%, #0d1d13 100%);
  pointer-events: none;
  overflow: hidden;
  animation: dwillyMobileSplashExit 1.38s cubic-bezier(.2, .8, .2, 1) forwards;
}

.public-mode .dwilly-splash.public-only {
  display: grid !important;
}

.dwilly-splash::before,
.dwilly-splash::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 999px;
  pointer-events: none;
}

.dwilly-splash::before {
  width: clamp(168px, 16vw, 220px);
  height: clamp(168px, 16vw, 220px);
  border: 1px solid rgba(140, 204, 60, 0.34);
  box-shadow:
    0 0 0 14px rgba(140, 204, 60, 0.06),
    0 24px 80px rgba(0, 0, 0, 0.42);
  animation: dwillyMobileRing 1.18s ease forwards;
}

.dwilly-splash::after {
  display: none;
}

.dwilly-splash img {
  position: relative;
  z-index: 2;
  place-self: center;
  margin: auto;
  width: clamp(116px, 12vw, 154px);
  height: clamp(116px, 12vw, 154px);
  object-fit: contain;
  border-radius: 24px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 20px 62px rgba(0, 0, 0, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  animation: dwillyMobileLogoReveal 1.16s cubic-bezier(.2, .85, .2, 1) forwards;
}

@keyframes dwillyLogoPop {
  0% {
    opacity: 0;
    transform: translateY(12px) scale(0.82);
  }
  45%, 78% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-8px) scale(1.04);
  }
}

@keyframes dwillySplashExit {
  0%, 72% {
    opacity: 1;
    visibility: visible;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

@media (min-width: 981px) {
  .public-mode .public-intro {
    min-height: 360px !important;
  }

  .public-mode .hero-copy {
    min-height: 360px !important;
    width: min(760px, 62vw) !important;
    padding: 18px 38px !important;
    justify-content: center;
  }

  .public-mode .hero-logo {
    width: 54px !important;
    height: 54px !important;
    padding: 6px !important;
  }

  .public-mode .hero-copy .eyebrow {
    margin-top: 12px !important;
  }

  .public-mode .hero-copy h2 {
    max-width: 520px !important;
    margin: 4px 0 0 !important;
    font-size: clamp(30px, 3.5vw, 42px) !important;
    line-height: 1 !important;
  }

  .public-mode .hero-copy p {
    margin-top: 7px !important;
    max-width: 610px !important;
    font-size: 14px !important;
    line-height: 1.3 !important;
  }

  .public-mode .hero-discount-callout {
    width: min(500px, 100%) !important;
    margin-top: 9px !important;
    padding: 10px 13px !important;
  }

  .public-mode .hero-discount-callout strong {
    max-width: 500px !important;
    font-size: clamp(21px, 2.1vw, 27px) !important;
    line-height: 1.03 !important;
  }

  .public-mode .hero-discount-callout span {
    font-size: 11px !important;
  }

  .public-mode .hero-discount-callout small {
    margin-top: 5px !important;
    font-size: 11px !important;
  }

  .public-mode .hero-search {
    width: min(640px, 100%) !important;
    margin-top: 10px !important;
    grid-template-columns: minmax(0, 1fr) 130px !important;
  }

  .public-mode .hero-search input,
  .public-mode .hero-search button {
    min-height: 40px !important;
  }

  .public-mode .hero-actions {
    margin-top: 9px !important;
  }

  .public-mode .hero-actions .hero-action,
  .public-mode .hero-offer-action {
    min-height: 40px !important;
    padding: 9px 16px !important;
  }

  .public-mode .public-benefits {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    background: #0b120f !important;
    border-top: 1px solid rgba(255, 255, 255, 0.10) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10) !important;
  }

  .public-mode .public-benefits article {
    padding: 13px 22px !important;
    border-color: rgba(255, 255, 255, 0.10) !important;
  }

  .public-mode .public-benefits strong {
    color: white !important;
    font-size: 14px !important;
  }

  .public-mode .public-benefits span {
    color: rgba(255, 255, 255, 0.62) !important;
    font-size: 12px !important;
  }

  .public-mode section.recommended-band.public-only,
  .public-mode .offers-band {
    padding: 20px 30px 24px !important;
  }

  .public-mode .recommended-band .section-heading,
  .public-mode .offers-band .section-heading {
    margin-bottom: 12px !important;
  }

  .public-mode .recommended-band .section-heading h2,
  .public-mode .offers-band .section-heading h2 {
    font-size: clamp(24px, 2.4vw, 34px) !important;
  }

  .public-mode .featured-brands {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    overflow: visible !important;
    margin-bottom: 16px !important;
  }

  .public-mode .recommended-grid,
  .public-mode .offers-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }

  .public-mode .recommended-card.featured-pick {
    grid-column: auto !important;
    grid-row: auto !important;
  }

  .public-mode .recommended-card button,
  .public-mode .recommended-card.featured-pick button,
  .public-mode .offer-card > button {
    aspect-ratio: 1.35 / 1 !important;
  }

  .public-mode .recommended-card div,
  .public-mode .offer-card > div {
    padding: 10px !important;
  }

  .public-mode .recommended-card.featured-pick strong {
    font-size: 15px !important;
    line-height: 1.2 !important;
  }

  .public-mode .recommended-card strong,
  .public-mode .offer-card > div > strong {
    min-height: 0 !important;
    font-size: 14px !important;
    line-height: 1.18 !important;
  }

  .public-mode .recommended-card .cash-discount-badge,
  .public-mode .offer-card .cash-discount-badge {
    padding: 7px 9px !important;
  }

  .public-mode .recommended-card .order-controls,
  .public-mode .offer-card .order-controls {
    grid-template-columns: minmax(0, 1fr) 48px auto !important;
    gap: 6px !important;
  }

  .public-mode .recommended-card .order-controls select,
  .public-mode .recommended-card .order-controls input,
  .public-mode .recommended-card .order-controls button,
  .public-mode .offer-card .order-controls select,
  .public-mode .offer-card .order-controls input,
  .public-mode .offer-card .order-controls button {
    min-height: 34px !important;
    height: 34px !important;
    font-size: 12px !important;
  }

  .public-mode .catalog-layout {
    grid-template-columns: 286px minmax(0, 1fr) !important;
    gap: 18px !important;
    padding: 18px 22px 32px !important;
  }

  .public-mode .filter-rail {
    position: sticky !important;
    top: 86px !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    align-self: start !important;
    min-width: 0 !important;
    max-height: calc(100vh - 102px);
    overflow: hidden auto;
    padding-right: 2px;
  }

  .public-mode .filter-card {
    padding: 13px !important;
  }

  .public-mode .filter-card strong {
    font-size: 18px !important;
  }

  .public-mode .filter-card p {
    font-size: 12px !important;
  }

  .public-mode .filter-group {
    padding: 12px !important;
  }

  .public-mode #brand-quick-filters .scroll-chip-row {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 7px !important;
    max-height: 318px;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding: 1px 3px 1px 1px !important;
  }

  .public-mode #brand-quick-filters .scroll-chip-row button {
    width: 100%;
    min-height: 38px !important;
    justify-content: space-between;
    border-radius: 8px !important;
    padding: 0 10px !important;
    display: flex !important;
    align-items: center;
    text-align: left;
  }

  .public-mode #brand-quick-filters .scroll-chip-row button span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .public-mode #size-quick-filters .scroll-chip-row {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 7px !important;
    max-height: 210px;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding: 1px 3px 1px 1px !important;
  }

  .public-mode #size-quick-filters .scroll-chip-row button {
    min-width: 0 !important;
    min-height: 36px !important;
    justify-content: center;
    border-radius: 8px !important;
    padding: 0 8px !important;
  }

  .public-mode .clear-filters {
    min-height: 40px !important;
    background: #8ccc3c !important;
    color: #102014 !important;
  }
}

.public-mode .public-footer {
  padding: 34px 32px 92px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto minmax(240px, 0.8fr);
  gap: 22px;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(140, 204, 60, 0.12), transparent 42%),
    #07100c;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: white;
}

.public-mode .public-footer > div {
  min-width: 0;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  column-gap: 14px;
  align-items: center;
}

.public-mode .public-footer img {
  grid-row: span 2;
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 10px;
  padding: 6px;
  background: white;
}

.public-mode .public-footer strong,
.public-mode .public-footer span,
.public-mode .public-footer p {
  min-width: 0;
  display: block;
}

.public-mode .public-footer strong {
  font-size: 20px;
  line-height: 1.05;
}

.public-mode .public-footer span,
.public-mode .public-footer p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  line-height: 1.35;
}

.public-mode .public-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.public-mode .public-footer a {
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 10px 15px;
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  text-decoration: none;
  font-size: 13px;
  font-weight: 950;
}

.public-mode .public-footer a:hover {
  border-color: rgba(140, 204, 60, 0.75);
  background: rgba(140, 204, 60, 0.18);
}

.public-mode .public-footer p {
  text-align: right;
}

@media (max-width: 760px) {
  .dwilly-splash {
    overflow: hidden;
    background:
      radial-gradient(circle at 50% 38%, rgba(140, 204, 60, 0.28), transparent 28%),
      radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.08), transparent 42%),
      linear-gradient(145deg, #020806 0%, #07130d 54%, #0d1d13 100%);
    animation: dwillyMobileSplashExit 1.38s cubic-bezier(.2, .8, .2, 1) forwards;
  }

  .dwilly-splash::before,
  .dwilly-splash::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 999px;
    pointer-events: none;
  }

  .dwilly-splash::before {
    width: 168px;
    height: 168px;
    border: 1px solid rgba(140, 204, 60, 0.34);
    box-shadow:
      0 0 0 14px rgba(140, 204, 60, 0.06),
      0 24px 80px rgba(0, 0, 0, 0.42);
    animation: dwillyMobileRing 1.18s ease forwards;
  }

  .dwilly-splash::after {
    display: none;
    width: 260px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.34), transparent);
    transform: translateX(-72px) translateY(86px);
    animation: dwillyMobileShine 1.1s ease forwards;
  }

  .dwilly-splash img {
    width: 116px;
    height: 116px;
    object-fit: contain;
    border-radius: 24px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow:
      0 20px 62px rgba(0, 0, 0, 0.48),
      inset 0 1px 0 rgba(255, 255, 255, 0.12);
    animation: dwillyMobileLogoReveal 1.16s cubic-bezier(.2, .85, .2, 1) forwards;
  }

  .public-mode .public-footer {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 26px 16px 92px;
    text-align: left;
  }

  .public-mode .public-footer nav {
    justify-content: flex-start;
  }

  .public-mode .public-footer p {
    text-align: left;
  }
}

@keyframes dwillyMobileLogoReveal {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.82);
    filter: blur(8px);
  }
  38%, 76% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-10px) scale(0.98);
    filter: blur(2px);
  }
}

@keyframes dwillyMobileRing {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.72);
  }
  58% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.16);
  }
}

@keyframes dwillyMobileShine {
  0%, 34% {
    opacity: 0;
    transform: translate(-50%, -50%) translateX(-86px) translateY(86px);
  }
  72% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) translateX(86px) translateY(86px);
  }
}

@keyframes dwillyMobileSplashExit {
  0%, 78% {
    opacity: 1;
    visibility: visible;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

@media (hover: hover) and (pointer: fine) {
  .public-mode .mobile-filter-backdrop,
  .public-mode .mobile-filter-sheet,
  .public-mode .floating-actions {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .public-mode.mobile-filters-open {
    overflow: auto !important;
  }
}

.public-mode.desktop-catalog .mobile-filter-backdrop,
.public-mode.desktop-catalog .mobile-filter-sheet,
.public-mode.desktop-catalog .floating-actions {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(calc(100% + 200px)) !important;
}

.public-mode.desktop-catalog.mobile-filters-open {
  overflow: auto !important;
}

/* Mobile retail app experience */
@media (max-width: 760px) {
  html {
    scroll-padding-top: 74px;
  }

  .public-mode {
    background: #06100b;
  }

  .public-mode .app-shell {
    width: 100% !important;
    padding: 0 !important;
  }

  .public-mode .inventory-panel {
    border-radius: 0 !important;
    border-left: 0;
    border-right: 0;
  }

  .public-mode .topbar {
    position: sticky;
    top: 0;
    z-index: 42;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    min-height: 54px !important;
    padding: 7px 12px !important;
    background: rgba(6, 16, 11, 0.96) !important;
    backdrop-filter: blur(14px);
  }

  .public-mode .topbar-actions {
    width: auto !important;
    margin-left: auto;
    justify-content: flex-end !important;
  }

  .public-mode .brand-lockup {
    gap: 8px;
    min-width: 0;
  }

  .public-mode .brand-logo {
    width: 38px !important;
    height: 38px !important;
    border-radius: 8px;
  }

  .public-mode .brand-lockup .eyebrow {
    display: none;
  }

  .public-mode #page-title {
    max-width: 150px;
    font-size: 17px !important;
    line-height: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .public-mode .cart-toggle {
    min-height: 34px !important;
    border-radius: 999px !important;
    padding: 0 10px !important;
    font-size: 13px !important;
  }

  .public-mode .public-intro {
    min-height: 370px !important;
  }

  .public-mode .public-intro::after {
    background:
      linear-gradient(90deg, rgba(4, 11, 8, 0.96) 0%, rgba(4, 11, 8, 0.78) 62%, rgba(4, 11, 8, 0.42) 100%),
      linear-gradient(0deg, rgba(4, 11, 8, 0.24), rgba(4, 11, 8, 0.24)) !important;
  }

  .public-mode .hero-copy {
    width: 100% !important;
    min-height: 370px !important;
    padding: 14px 14px 16px !important;
  }

  .public-mode .hero-logo {
    width: 46px !important;
    height: 46px !important;
    padding: 5px !important;
  }

  .public-mode .hero-copy .eyebrow {
    margin-top: 10px !important;
    font-size: 11px !important;
  }

  .public-mode .hero-copy h2 {
    max-width: 310px !important;
    margin-top: 4px !important;
    font-size: clamp(25px, 7.4vw, 30px) !important;
    line-height: 1 !important;
  }

  .public-mode .hero-copy p {
    max-width: 315px !important;
    margin-top: 7px !important;
    font-size: 12px !important;
    line-height: 1.25 !important;
  }

  .public-mode .hero-discount-callout {
    width: min(100%, 340px) !important;
    margin-top: 9px !important;
    padding: 9px 11px !important;
    border-radius: 10px !important;
  }

  .public-mode .hero-discount-callout span {
    font-size: 10px !important;
  }

  .public-mode .hero-discount-callout strong {
    font-size: clamp(17px, 5.2vw, 21px) !important;
    line-height: 1.02 !important;
  }

  .public-mode .hero-discount-callout small {
    margin-top: 4px !important;
    font-size: 10px !important;
  }

  .hero-search {
    width: 100% !important;
    margin-top: 10px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 86px !important;
    gap: 7px !important;
  }

  .hero-search input,
  .hero-search button {
    min-height: 40px !important;
    height: 40px !important;
    border-radius: 10px !important;
    font-size: 13px !important;
  }

  .public-mode .hero-actions {
    margin-top: 8px !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }

  .public-mode .hero-actions .hero-action,
  .public-mode .hero-offer-action {
    width: 100% !important;
    min-height: 36px !important;
    border-radius: 10px !important;
    padding: 8px 11px !important;
    font-size: 13px !important;
    justify-content: center !important;
  }

  .public-mode .public-benefits {
    display: flex !important;
    gap: 8px;
    overflow-x: auto;
    padding: 10px 12px !important;
    background: #07100c !important;
  }

  .public-mode .public-benefits article {
    flex: 0 0 150px;
    min-height: 62px;
    border: 1px solid rgba(255, 255, 255, 0.10) !important;
    border-radius: 12px;
    padding: 10px !important;
    background: rgba(255, 255, 255, 0.055);
  }

  .public-mode .public-benefits strong {
    font-size: 12px !important;
  }

  .public-mode .public-benefits span {
    font-size: 10px !important;
  }

  .public-mode section.recommended-band.public-only,
  .public-mode .offers-band {
    padding: 18px 12px 20px !important;
  }

  .public-mode .recommended-band .section-heading,
  .public-mode .offers-band .section-heading {
    display: grid !important;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: end;
    margin-bottom: 10px !important;
  }

  .public-mode .recommended-band .section-heading h2,
  .public-mode .offers-band .section-heading h2 {
    font-size: 24px !important;
    line-height: 1 !important;
  }

  .public-mode .recommended-band .section-heading a,
  .public-mode .offers-band .section-heading button {
    min-height: 34px;
    border-radius: 999px;
    padding: 7px 10px;
    font-size: 12px;
  }

  .public-mode .featured-brands {
    display: flex !important;
    gap: 8px;
    overflow-x: auto;
    margin-bottom: 12px !important;
    padding-bottom: 4px;
  }

  .public-mode .featured-brands button {
    flex: 0 0 132px !important;
    min-height: 54px !important;
    border-radius: 12px !important;
    padding: 9px 10px !important;
  }

  .public-mode .featured-brands strong {
    font-size: 13px !important;
  }

  .public-mode .featured-brands span {
    margin-top: 4px !important;
    font-size: 10px !important;
  }

  .public-mode .recommended-grid,
  .public-mode .offers-grid {
    display: flex !important;
    gap: 12px !important;
    overflow-x: auto !important;
    padding: 1px 2px 8px !important;
    scroll-snap-type: x proximity;
  }

  .public-mode .recommended-card,
  .public-mode .offer-card {
    flex: 0 0 78vw;
    max-width: 330px;
    scroll-snap-align: start;
    border-radius: 14px !important;
  }

  .public-mode .recommended-card button,
  .public-mode .offer-card > button {
    aspect-ratio: 1.35 / 1 !important;
  }

  .public-mode .mobile-smart-filters.public-only {
    padding: 14px 12px !important;
    gap: 10px !important;
  }

  .public-mode .mobile-smart-filters .filter-card {
    display: none;
  }

  .public-mode .mobile-smart-group > strong {
    margin-bottom: 7px !important;
    font-size: 11px !important;
  }

  .public-mode .mobile-smart-chips button {
    min-height: 38px !important;
    border-radius: 999px !important;
    padding: 7px 11px !important;
    font-size: 12px !important;
  }

  html,
  body.public-mode,
  .public-mode .app-shell {
    overflow-x: hidden !important;
  }

  .public-mode .public-benefits,
  .public-mode .featured-brands,
  .public-mode .recommended-grid,
  .public-mode .offers-grid,
  .public-mode .mobile-smart-chips {
    scrollbar-width: none;
  }

  .public-mode .public-benefits::-webkit-scrollbar,
  .public-mode .featured-brands::-webkit-scrollbar,
  .public-mode .recommended-grid::-webkit-scrollbar,
  .public-mode .offers-grid::-webkit-scrollbar,
  .public-mode .mobile-smart-chips::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }

  .public-mode .toolbar {
    position: sticky !important;
    top: 54px !important;
    z-index: 38 !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 6px !important;
    padding: 10px 12px !important;
    background: rgba(6, 16, 11, 0.96) !important;
    backdrop-filter: blur(14px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  }

  .public-mode .toolbar select {
    display: none !important;
  }

  .public-mode .toolbar input {
    min-height: 42px !important;
    border-radius: 999px !important;
    padding: 0 15px !important;
    font-size: 14px !important;
  }

  .public-mode .catalog-summary {
    margin: 0 !important;
    color: rgba(255, 255, 255, 0.62) !important;
    font-size: 11px !important;
  }

  .public-mode .catalog-layout {
    display: block !important;
    padding: 12px 10px 90px !important;
    background: #06100b !important;
  }

  .public-mode .catalog-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    padding: 0 !important;
  }

  .public-mode .product-card {
    display: flex !important;
    flex-direction: column !important;
    min-width: 0;
    border-radius: 14px !important;
    overflow: hidden;
    background: #112017 !important;
  }

  .public-mode .product-card .photo-slot {
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
  }

  .public-mode .product-logo-badge {
    top: 7px;
    left: 7px;
    width: 30px;
    height: 30px;
    border-radius: 6px;
  }

  .public-mode .product-logo-badge img {
    width: 24px !important;
    height: 24px !important;
  }

  .public-mode .product-info {
    padding: 9px !important;
    gap: 6px !important;
  }

  .public-mode .product-heading {
    gap: 6px !important;
  }

  .public-mode .product-heading strong {
    max-width: 100%;
    padding: 3px 7px !important;
    font-size: 9px !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .public-mode .product-heading span {
    display: none !important;
  }

  .public-mode .product-card h3 {
    min-height: 36px !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 12px !important;
    line-height: 1.2 !important;
  }

  .public-mode .retail-meta {
    display: flex !important;
    gap: 5px !important;
    overflow: hidden;
  }

  .public-mode .retail-meta span {
    max-width: 100%;
    padding: 3px 6px !important;
    font-size: 9px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .public-mode .retail-meta span + span {
    display: none !important;
  }

  .public-mode .store-availability {
    gap: 5px !important;
    margin-top: 1px !important;
    padding: 6px !important;
    border-radius: 9px !important;
  }

  .public-mode .store-size-row {
    gap: 2px !important;
  }

  .public-mode .store-size-row strong {
    font-size: 8px !important;
  }

  .public-mode .store-size-row span {
    display: block;
    font-size: 9px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .public-mode .price-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between;
    gap: 8px;
    margin-top: 7px !important;
    padding: 5px 7px !important;
    border-radius: 999px !important;
  }

  .public-mode .price-row div {
    display: flex !important;
    align-items: baseline !important;
    gap: 4px !important;
  }

  .public-mode .price-row div small {
    display: inline !important;
    font-size: 8px !important;
    white-space: nowrap;
  }

  .public-mode .price-row > small {
    display: none !important;
  }

  .public-mode .price-row strong {
    font-size: 12px !important;
    white-space: nowrap;
  }

  .public-mode .cash-discount-badge {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 2px !important;
    padding: 6px 8px !important;
    border-radius: 10px !important;
  }

  .public-mode .cash-discount-badge span {
    font-size: 9px !important;
  }

  .public-mode .cash-discount-badge strong {
    font-size: 15px !important;
    text-align: left !important;
  }

  .public-mode .cash-discount-badge small {
    display: none !important;
  }

  .public-mode .product-card .order-controls,
  .public-mode .order-controls {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 42px !important;
    gap: 6px !important;
  }

  .public-mode .product-card .order-controls select,
  .public-mode .product-card .order-controls input,
  .public-mode .product-card .order-controls button {
    min-height: 34px !important;
    height: 34px !important;
    border-radius: 9px !important;
    font-size: 12px !important;
  }

  .public-mode .product-card .order-controls select {
    padding: 0 22px 0 8px !important;
  }

  .public-mode .product-card .order-controls input {
    padding: 0 4px !important;
  }

  .public-mode .product-card .order-controls button {
    grid-column: 1 / -1 !important;
    font-size: 13px !important;
  }

  .public-mode .floating-actions.public-only {
    left: 10px !important;
    right: 10px !important;
    bottom: calc(10px + env(safe-area-inset-bottom)) !important;
    border-radius: 18px !important;
    padding: 7px !important;
    background: rgba(7, 16, 12, 0.92) !important;
    backdrop-filter: blur(16px);
    max-width: 220px !important;
    right: auto !important;
  }

  .public-mode .floating-actions button {
    min-height: 48px !important;
    border-radius: 14px !important;
    font-size: 15px !important;
  }

  .public-mode .side-panel {
    inset: auto 0 0 0 !important;
    width: 100% !important;
    max-height: 88vh !important;
    border-radius: 22px 22px 0 0 !important;
    overflow-y: auto;
  }

  .public-mode .order-panel {
    gap: 12px !important;
    padding: 14px !important;
  }

  .public-mode .cart-items {
    gap: 14px !important;
    max-height: 46vh !important;
    padding-right: 4px !important;
  }

  .public-mode .customer-reserve {
    gap: 6px !important;
    padding: 8px !important;
    border-radius: 10px !important;
  }

  .public-mode .customer-reserve > strong {
    font-size: 10px !important;
  }

  .public-mode .customer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 6px !important;
  }

  .public-mode .customer-phone {
    grid-column: 1 / -1 !important;
  }

  .public-mode .customer-grid span {
    display: none !important;
  }

  .public-mode .customer-grid input {
    min-height: 34px !important;
    border-radius: 9px !important;
    font-size: 13px !important;
  }

  .public-mode .cart-line {
    grid-template-columns: 92px minmax(0, 1fr) 36px !important;
    gap: 12px !important;
    align-items: start !important;
    padding: 12px !important;
    border-radius: 14px !important;
  }

  .public-mode .cart-line img,
  .public-mode .cart-thumb {
    width: 92px !important;
    height: 92px !important;
    border-radius: 12px !important;
  }

  .public-mode .cart-line strong {
    font-size: 16px !important;
    line-height: 1.22 !important;
  }

  .public-mode .cart-line span,
  .public-mode .cart-line small {
    margin-top: 5px !important;
    font-size: 13.5px !important;
    line-height: 1.25 !important;
  }

  .public-mode .cart-line button {
    width: 34px !important;
    min-height: 34px !important;
    border-radius: 10px !important;
  }
}

/* Stronger product separation for retail scanning */
.public-mode .catalog-grid {
  align-items: start;
}

.public-mode .product-card {
  position: relative;
  isolation: isolate;
  border: 1.5px solid rgba(142, 204, 60, 0.24) !important;
  outline: 1px solid rgba(255, 255, 255, 0.055);
  background:
    linear-gradient(180deg, rgba(27, 44, 34, 0.98), rgba(11, 28, 18, 0.98)) !important;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.55),
    0 18px 34px rgba(0, 0, 0, 0.34) !important;
}

.public-mode .product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.public-mode .product-card:hover {
  border-color: rgba(142, 204, 60, 0.56) !important;
  transform: translateY(-2px);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
  box-shadow:
    0 0 0 1px rgba(142, 204, 60, 0.28),
    0 22px 42px rgba(0, 0, 0, 0.42) !important;
}

.public-mode .product-card .photo-slot {
  border-bottom: 1px solid rgba(142, 204, 60, 0.18) !important;
}

@media (max-width: 760px) {
  .public-mode .catalog-grid {
    gap: 13px !important;
  }

  .public-mode .product-card {
    border: 2px solid rgba(142, 204, 60, 0.30) !important;
    outline: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
      0 0 0 1px rgba(0, 0, 0, 0.74),
      0 12px 24px rgba(0, 0, 0, 0.40) !important;
  }

  .public-mode .product-card:hover {
    transform: none;
  }
}

/* Dwilly ecommerce readiness layer */
.public-mode .trust-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.12);
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.public-mode .trust-band article {
  padding: 22px 28px;
  background: #07140f;
}

.public-mode .trust-band span,
.public-mode .policy-section h2 {
  color: #9ee06b;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.public-mode .trust-band strong {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.08;
}

.public-mode .trust-band p,
.public-mode .policy-section p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.45;
}

.public-mode .policy-section {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 0 32px 110px;
  background: #06120d;
}

.public-mode .policy-section article {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.035);
}

.public-mode .policy-section h2 {
  margin: 0;
}

.public-mode .toolbar {
  grid-template-columns: minmax(260px, 1fr) minmax(150px, 190px) minmax(130px, 170px) minmax(160px, 190px) minmax(150px, 180px) !important;
}

.public-mode .share-product-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 38px;
  margin-top: 8px;
  border: 1px solid rgba(142, 204, 60, 0.34);
  border-radius: 10px;
  background: rgba(142, 204, 60, 0.10);
  color: #dbf7c8;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.public-mode .share-product-button:hover {
  background: rgba(142, 204, 60, 0.20);
}

.product-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 95;
  padding: 22px;
  background: rgba(1, 7, 4, 0.76);
  backdrop-filter: blur(14px);
  align-items: center;
  justify-content: center;
}

.product-modal-open .product-modal[aria-hidden="false"] {
  display: flex;
}

.product-modal[aria-hidden="true"],
.product-modal-card:empty {
  display: none !important;
}

.product-modal-card {
  position: relative;
  width: min(980px, calc(100vw - 28px));
  max-height: min(88vh, 820px);
  overflow: auto;
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(320px, 0.9fr);
  gap: 0;
  border: 1px solid rgba(142, 204, 60, 0.34);
  border-radius: 22px;
  background: #07120d;
  color: #f5fff2;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.62);
}

.product-modal-card.detail-changed {
  animation: detailChanged 0.58s ease;
}

@keyframes detailChanged {
  0% {
    box-shadow: 0 0 0 0 rgba(142, 226, 72, 0.72), 0 28px 80px rgba(0, 0, 0, 0.62);
    transform: translateY(8px);
  }
  55% {
    box-shadow: 0 0 0 5px rgba(142, 226, 72, 0.25), 0 28px 80px rgba(0, 0, 0, 0.62);
    transform: translateY(0);
  }
  100% {
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.62);
    transform: translateY(0);
  }
}

.product-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 4;
  width: 38px;
  height: 38px;
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(5, 17, 10, 0.82);
  color: #fff;
  font-weight: 900;
}

.product-detail-photo {
  position: relative;
  background: #fff;
  min-height: 100%;
}

.product-detail-photo > button {
  width: 100%;
  min-height: 430px;
  height: 100%;
  border: 0;
  background: #fff;
}

.product-detail-photo img {
  width: 100%;
  height: 100%;
  max-height: 620px;
  object-fit: contain;
}

.product-detail-empty-photo {
  display: grid;
  min-height: 430px;
  place-items: center;
  background: #eef3ef;
  color: #526158;
  font-weight: 900;
}

.product-detail-thumbs {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  gap: 8px;
  padding: 8px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  overflow-x: auto;
}

.product-detail-info {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 28px;
}

.product-detail-info h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.08;
}

.product-detail-meta span {
  max-width: 100%;
}

.product-detail-note {
  margin: 0;
  padding: 12px;
  border-radius: 12px;
  background: rgba(142, 204, 60, 0.12);
  color: #d6e3d7;
  font-size: 13px;
}

.public-mode .product-card,
.public-mode .recommended-card,
.public-mode .offer-card {
  cursor: pointer;
}

.public-mode .product-card button,
.public-mode .product-card a,
.public-mode .product-card input,
.public-mode .product-card select,
.public-mode .recommended-card button,
.public-mode .recommended-card a,
.public-mode .recommended-card input,
.public-mode .recommended-card select,
.public-mode .offer-card button,
.public-mode .offer-card a,
.public-mode .offer-card input,
.public-mode .offer-card select {
  cursor: pointer;
}

.public-mode .customer-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.public-mode .customer-phone {
  grid-column: auto !important;
}

.public-mode .mobile-filter-chips button[data-mobile-category] {
  background: linear-gradient(135deg, #103d2a, #0c8760);
}

@media (max-width: 980px) {
  .public-mode .trust-band,
  .public-mode .policy-section {
    grid-template-columns: 1fr;
  }

  .public-mode .policy-section {
    padding: 0 14px 96px;
  }

  .public-mode .trust-band article {
    padding: 17px 18px;
  }
}

@media (max-width: 760px) {
  .public-mode .trust-band {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding: 12px;
    scroll-snap-type: x mandatory;
  }

  .public-mode .trust-band article {
    flex: 0 0 82vw;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 14px;
    scroll-snap-align: start;
  }

  .public-mode .trust-band::-webkit-scrollbar {
    display: none;
  }

  .public-mode .toolbar {
    grid-template-columns: 1fr !important;
  }

  .public-mode .toolbar #category-filter {
    display: none !important;
  }

  .public-mode .share-product-button {
    min-height: 34px;
    font-size: 12px;
  }

  .product-modal {
    align-items: end;
    padding: 0;
  }

  .product-modal-card {
    width: 100%;
    max-height: 92vh;
    grid-template-columns: 1fr;
    border-radius: 22px 22px 0 0;
    border-left: 0;
    border-right: 0;
  }

  .product-detail-photo > button,
  .product-detail-empty-photo {
    min-height: 260px;
    height: 36vh;
  }

  .product-detail-photo img {
    max-height: 36vh;
  }

  .product-detail-info {
    padding: 18px 16px 118px;
    gap: 10px;
  }

  .product-detail-info h2 {
    font-size: 24px;
  }

  .product-detail-thumbs {
    position: static !important;
    left: auto;
    right: auto;
    bottom: auto;
    gap: 7px;
    padding: 7px;
    border-radius: 0;
    background: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
  }

  .product-detail-thumbs .photo-thumb,
  .public-mode .photo-thumbs .photo-thumb {
    min-width: 54px;
    min-height: 54px;
    scroll-snap-align: start;
    cursor: pointer;
    touch-action: manipulation;
  }

  .public-mode .policy-section {
    gap: 10px;
  }

  .public-mode .policy-section article {
    border-radius: 14px;
  }
}

.photo-thumb {
  cursor: pointer;
}

.photo-thumb.active {
  border-color: var(--accent) !important;
  box-shadow: inset 0 0 0 2px var(--accent);
}

.public-mode .photo-thumb {
  opacity: 0.72;
}

.public-mode .photo-thumb:hover,
.public-mode .photo-thumb.active {
  opacity: 1;
}

.public-mode .photo-thumb.active {
  box-shadow: inset 0 -3px 0 #8fe248;
}

/* Retail UX upgrade: compact hero, app tabs, active filters and premium cards */
.public-mode .public-intro {
  min-height: clamp(420px, 54vh, 610px) !important;
}

.public-mode .hero-copy {
  padding-top: clamp(42px, 6vh, 74px) !important;
  padding-bottom: clamp(34px, 5vh, 58px) !important;
}

.public-mode .hero-logo {
  width: clamp(72px, 8vw, 112px) !important;
  height: clamp(72px, 8vw, 112px) !important;
}

.public-mode .hero-copy h2 {
  max-width: 760px;
  font-size: clamp(42px, 6vw, 82px) !important;
  line-height: 0.94 !important;
}

.public-mode .hero-discount-callout {
  max-width: 680px;
}

.mobile-shop-tabs {
  display: none;
}

.need-shop-band {
  padding: 24px 32px 10px;
  background: #07100c;
}

.compact-heading {
  margin-bottom: 12px !important;
}

.need-shop-grid {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.need-shop-grid button {
  flex: 0 0 auto;
  min-height: 48px;
  border: 1px solid rgba(142, 204, 60, 0.30);
  border-radius: 999px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  font-weight: 900;
}

.need-shop-grid button:hover {
  background: rgba(142, 204, 60, 0.18);
}

.active-filter-chips {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.active-filter-chips:empty {
  display: none;
}

.active-filter-chips button {
  min-height: 34px;
  border: 1px solid rgba(142, 204, 60, 0.42);
  border-radius: 999px;
  padding: 7px 11px;
  background: rgba(142, 204, 60, 0.13);
  color: #eaffdf;
  font-weight: 900;
}

.active-filter-chips span {
  margin-left: 4px;
  color: #8cdf23;
}

.active-filter-chips .view-share-chip {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.active-filter-chips .view-share-chip.whatsapp {
  border-color: rgba(142, 204, 60, 0.72);
  background: linear-gradient(135deg, #8adb2f, #b7ff2e);
  color: #07150e;
  box-shadow: 0 10px 22px rgba(142, 204, 60, 0.18);
}

.product-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.product-badges span {
  width: fit-content;
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 8px;
  background: rgba(142, 204, 60, 0.14);
  color: #cfffab;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.product-badges .sale,
.product-badges .last {
  background: linear-gradient(135deg, #f0262f, #ff4949);
  color: #fff;
}

.product-badges .store {
  background: rgba(18, 140, 126, 0.20);
  color: #b7fff4;
}

.public-mode .detail-button {
  width: 100%;
  min-height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: #eaffdf;
  font-weight: 900;
}

.product-detail-buybox {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(142, 204, 60, 0.22);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
}

.product-detail-buybox > strong {
  color: #fff;
  font-size: 14px;
}

@media (max-width: 760px) {
  .public-mode .public-intro {
    min-height: 430px !important;
  }

  .public-mode .hero-copy {
    padding: 76px 18px 26px !important;
  }

  .public-mode .hero-copy h2 {
    font-size: clamp(34px, 11vw, 48px) !important;
  }

  .public-mode .hero-discount-callout {
    padding: 10px 12px !important;
  }

  .mobile-shop-tabs.public-only {
    position: sticky;
    top: 0;
    z-index: 35;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    padding: 8px 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(5, 14, 9, 0.96);
    backdrop-filter: blur(14px);
  }

  .mobile-shop-tabs button {
    min-width: 0;
    min-height: 42px;
    border: 1px solid rgba(142, 204, 60, 0.24);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    color: #f4fff0;
    font-size: 12px;
    font-weight: 900;
  }

  .mobile-shop-tabs span {
    display: inline-flex;
    min-width: 20px;
    height: 20px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    margin-left: 3px;
    background: #8cdf23;
    color: #06120d;
  }

  .public-mode .floating-actions.public-only {
    display: none !important;
  }

  .need-shop-band {
    padding: 18px 12px 6px;
  }

  .need-shop-grid button {
    min-height: 42px;
    padding: 9px 13px;
    font-size: 13px;
  }

  .active-filter-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
  }

  .active-filter-chips button {
    flex: 0 0 auto;
    font-size: 12px;
  }

  .public-mode .detail-button {
    min-height: 34px;
    font-size: 12px;
  }

  .product-detail-buybox {
    position: static !important;
    bottom: auto !important;
    z-index: auto !important;
    background: rgba(255, 255, 255, 0.055);
    backdrop-filter: none;
  }
}

/* Commercial readiness additions */
.catalog-insights {
  margin: 16px 24px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.catalog-insights h2 {
  margin: 3px 0 4px;
}

.catalog-insights p {
  margin: 0;
  color: var(--muted);
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.insight-grid article {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7faf8;
}

.insight-grid span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.insight-grid strong {
  display: block;
  margin-top: 6px;
  font-size: 20px;
  overflow-wrap: anywhere;
}

.offer-shortcuts {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 0 0 14px;
}

.offer-shortcuts button {
  flex: 0 0 auto;
  min-height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 9px 16px;
  background: linear-gradient(135deg, #f0262f, #ff4949);
  color: #fff;
  box-shadow: 0 14px 34px rgba(240, 38, 47, 0.22);
}

.offer-shortcuts strong,
.offer-shortcuts span {
  display: block;
  line-height: 1.05;
}

.offer-shortcuts span {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
}

.public-mode .footer-service {
  display: grid;
  gap: 4px;
  min-width: 0;
  text-align: right;
}

.public-mode .footer-service strong {
  color: #fff;
}

.public-mode .footer-service span {
  margin: 0;
}

.product-related {
  display: grid;
  gap: 10px;
  padding-top: 4px;
}

.product-related > div:first-child span {
  display: block;
  color: #8cdf23;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.product-related > div:first-child strong {
  color: #fff;
  font-size: 18px;
}

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

.product-related-grid button {
  min-width: 0;
  border: 1px solid rgba(142, 204, 60, 0.22);
  border-radius: 12px;
  padding: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  text-align: left;
}

.product-related-grid img {
  width: 100%;
  aspect-ratio: 1.25 / 1;
  object-fit: contain;
  background: #fff;
}

.product-related-grid span,
.product-related-grid strong,
.product-related-grid small {
  display: block;
  padding: 0 10px;
}

.product-related-grid span {
  padding-top: 9px;
  color: #8cdf23;
  font-size: 11px;
  font-weight: 900;
}

.product-related-grid strong {
  min-height: 34px;
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.2;
}

.product-related-grid small {
  padding-bottom: 10px;
  color: rgba(255, 255, 255, 0.70);
}

@media (max-width: 760px) {
  .insight-grid {
    grid-template-columns: 1fr;
  }

  .public-mode .footer-service {
    text-align: left;
  }
}

/* Product detail related items: readable mini-list */
.product-related {
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid rgba(142, 204, 60, 0.18);
}

.product-related-grid {
  grid-template-columns: 1fr !important;
  gap: 8px !important;
}

.product-related-grid button {
  display: grid !important;
  grid-template-columns: 88px minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  column-gap: 11px;
  align-items: center;
  min-height: 94px;
  padding: 7px !important;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, 0.055) !important;
}

.product-related-grid img {
  grid-row: 1 / 4;
  width: 88px !important;
  height: 80px !important;
  aspect-ratio: auto !important;
  border-radius: 10px;
  object-fit: contain !important;
  background: #fff !important;
}

.product-related-grid span,
.product-related-grid strong,
.product-related-grid small {
  grid-column: 2;
  min-width: 0;
  padding: 0 !important;
}

.product-related-grid span {
  padding-top: 0 !important;
  font-size: 10px !important;
}

.product-related-grid strong {
  min-height: 0 !important;
  margin: 2px 0 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 13px !important;
  line-height: 1.18 !important;
}

.product-related-grid small {
  padding-bottom: 0 !important;
  font-size: 12px;
}

@media (max-width: 760px) {
  .product-related-grid button {
    grid-template-columns: 76px minmax(0, 1fr);
    min-height: 86px;
  }

  .product-related-grid img {
    width: 76px !important;
    height: 72px !important;
  }
}

/* Admin mobile photo editor: keep edit controls out of product text */
@media (min-width: 761px) {
  .admin-mode .catalog-grid {
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)) !important;
  }

  .admin-mode .product-card {
    grid-template-columns: 132px minmax(0, 1fr) !important;
    align-items: start !important;
  }

  .admin-mode .photo-slot {
    width: 132px !important;
    justify-content: flex-start !important;
  }

  .admin-mode .admin-gallery-item {
    grid-template-columns: 1fr !important;
    gap: 6px !important;
    padding: 7px !important;
  }

  .admin-mode .admin-gallery-preview {
    width: 100% !important;
    height: 58px !important;
    min-height: 58px !important;
  }

  .admin-mode .admin-gallery-actions {
    grid-template-columns: 1fr 1fr !important;
    gap: 5px !important;
  }

  .admin-mode .photo-upload.mini,
  .admin-mode .photo-delete.mini {
    width: 100% !important;
    min-width: 0 !important;
    padding: 0 5px !important;
    font-size: 10px !important;
  }
}

@media (max-width: 760px) {
  .admin-scan-search {
    grid-template-columns: 1fr;
  }

  .barcode-scan-open {
    width: 100%;
  }

  .barcode-scanner-modal {
    padding: 12px;
    align-items: end;
  }

  .barcode-scanner-dialog {
    border-radius: 18px 18px 0 0;
  }

  .barcode-video-wrap,
  .barcode-video-wrap video {
    min-height: 260px;
  }

  .barcode-manual-form {
    grid-template-columns: 1fr;
  }

  .barcode-capture-actions {
    grid-template-columns: 1fr;
  }

  .admin-mode .catalog-grid {
    grid-template-columns: 1fr !important;
  }

  .admin-mode .product-card {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .admin-mode .photo-slot {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 112px minmax(0, 1fr) !important;
    gap: 10px !important;
    align-items: start !important;
  }

  .admin-mode .photo-slot > .image-preview-button {
    width: 112px !important;
    height: 112px !important;
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  .admin-mode .photo-slot > .photo-thumbs {
    grid-column: 2 !important;
    grid-row: 1 !important;
    display: flex !important;
    gap: 6px !important;
    overflow-x: auto !important;
    min-width: 0 !important;
  }

  .admin-mode .photo-slot > .photo-thumbs .photo-thumb {
    flex: 0 0 38px !important;
    width: 38px !important;
    height: 38px !important;
  }

  .admin-mode .admin-gallery-manager,
  .admin-mode .photo-actions {
    grid-column: 1 / -1 !important;
    width: 100% !important;
  }

  .admin-mode .admin-gallery-item {
    grid-template-columns: 58px minmax(0, 1fr) !important;
  }

  .orders-admin {
    padding: 18px 14px;
  }

  .orders-admin-heading,
  .admin-order-card header {
    display: grid;
  }

  .admin-order-meta {
    grid-template-columns: 1fr;
  }

  .crm-summary,
  .customer-metrics {
    grid-template-columns: 1fr;
  }

  .order-flow {
    grid-template-columns: 1fr;
  }

  .order-proof-box {
    grid-template-columns: 1fr;
  }

  .proof-upload {
    width: 100%;
  }

  .crm-actions {
    justify-content: stretch;
  }

  .crm-actions button {
    width: 100%;
  }

  .admin-order-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-order-replies {
    grid-template-columns: 1fr;
  }
}

/* Commercial hero refresh: compact, searchable, retail-first */
.public-mode .public-intro {
  min-height: clamp(500px, 62vh, 680px) !important;
  display: grid !important;
  align-items: center !important;
  padding: 0 !important;
  border-bottom: 1px solid rgba(158, 224, 107, 0.22);
  background: #06120d !important;
}

.public-mode .public-intro::after {
  background:
    radial-gradient(circle at 72% 42%, rgba(158, 224, 107, 0.22), transparent 26%),
    linear-gradient(90deg, rgba(3, 10, 7, 0.96) 0%, rgba(3, 10, 7, 0.82) 45%, rgba(3, 10, 7, 0.36) 78%, rgba(3, 10, 7, 0.18) 100%),
    linear-gradient(0deg, rgba(3, 10, 7, 0.26), rgba(3, 10, 7, 0.26)) !important;
}

.public-mode .hero-carousel span {
  background-position: center right;
  filter: saturate(1.08) contrast(1.04);
}

.public-mode .hero-copy {
  width: min(720px, 100%) !important;
  min-height: 0 !important;
  padding: clamp(26px, 4vw, 58px) clamp(18px, 4vw, 64px) !important;
}

.public-mode .hero-logo {
  width: clamp(64px, 6vw, 92px) !important;
  height: clamp(64px, 6vw, 92px) !important;
  padding: 8px !important;
  border-radius: 16px !important;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.34);
}

.public-mode .hero-copy .eyebrow {
  margin-top: 20px !important;
  color: #9fff4c !important;
  font-size: 13px !important;
}

.public-mode .hero-copy h2 {
  max-width: 680px !important;
  margin-top: 8px !important;
  font-size: clamp(44px, 6.2vw, 88px) !important;
  line-height: 0.92 !important;
  letter-spacing: 0 !important;
  text-wrap: balance;
}

.public-mode .hero-copy > p {
  max-width: 580px !important;
  margin-top: 16px !important;
  color: rgba(255, 255, 255, 0.86) !important;
  font-size: clamp(16px, 1.6vw, 21px) !important;
  line-height: 1.35 !important;
}

.hero-proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.hero-proof-row span {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 7px 11px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.90);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.public-mode .hero-discount-callout {
  width: min(560px, 100%) !important;
  margin-top: 18px !important;
  padding: 16px 18px !important;
  border: 0 !important;
  border-radius: 16px !important;
  background:
    linear-gradient(135deg, #a8ff24 0%, #8bd737 48%, #ddff52 100%) !important;
  box-shadow: 0 24px 65px rgba(140, 204, 60, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.45) !important;
}

.public-mode .hero-discount-callout strong {
  max-width: 520px !important;
  font-size: clamp(25px, 3.2vw, 44px) !important;
  line-height: 0.98 !important;
}

.public-mode .hero-quick-actions {
  width: min(620px, 100%);
  display: flex;
  gap: 8px;
  margin-top: 14px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.public-mode .hero-quick-actions button {
  flex: 0 0 auto;
  min-height: 38px;
  border: 1px solid rgba(158, 224, 107, 0.32);
  border-radius: 999px;
  padding: 9px 13px;
  background: rgba(9, 117, 84, 0.70);
  color: white;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.public-mode .hero-quick-actions button:hover {
  background: #8bd737;
  color: #07130d;
}

.public-mode .hero-search {
  width: min(620px, 100%) !important;
  margin-top: 14px !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 132px !important;
  gap: 10px !important;
}

.public-mode .hero-search input,
.public-mode .hero-search button {
  min-height: 54px !important;
  border-radius: 14px !important;
}

.public-mode .hero-search input {
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  background: rgba(255, 255, 255, 0.96) !important;
  color: #0d1b14 !important;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.22);
}

.public-mode .hero-search button,
.public-mode .hero-actions .hero-action {
  background: #8bd737 !important;
  color: #07130d !important;
}

.public-mode .hero-actions {
  margin-top: 12px !important;
}

.public-mode .hero-actions .hero-action,
.public-mode .hero-offer-action {
  min-height: 42px !important;
  border-radius: 12px !important;
}

.public-mode .public-benefits {
  background: #07100c !important;
}

@media (min-width: 1180px) {
  .public-mode .public-intro {
    grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1fr);
  }

  .public-mode .hero-copy {
    grid-column: 1;
  }
}

@media (max-width: 760px) {
  .public-mode .public-intro {
    min-height: auto !important;
    align-items: end !important;
    padding-top: 62px !important;
  }

  .public-mode .public-intro::after {
    background:
      linear-gradient(180deg, rgba(3, 10, 7, 0.50) 0%, rgba(3, 10, 7, 0.72) 34%, rgba(3, 10, 7, 0.96) 100%),
      linear-gradient(90deg, rgba(3, 10, 7, 0.72), rgba(3, 10, 7, 0.30)) !important;
  }

  .public-mode .hero-carousel {
    height: 100%;
  }

  .public-mode .hero-carousel span {
    background-position: center top;
  }

  .public-mode .hero-copy {
    padding: 14px 14px 16px !important;
  }

  .public-mode .hero-logo {
    width: 54px !important;
    height: 54px !important;
    border-radius: 13px !important;
  }

  .public-mode .hero-copy .eyebrow {
    margin-top: 11px !important;
    font-size: 10px !important;
  }

  .public-mode .hero-copy h2 {
    max-width: 350px !important;
    font-size: clamp(31px, 9vw, 42px) !important;
    line-height: 0.95 !important;
  }

  .public-mode .hero-copy > p {
    max-width: 345px !important;
    margin-top: 8px !important;
    font-size: 13px !important;
    line-height: 1.25 !important;
  }

  .hero-proof-row {
    margin-top: 10px;
    gap: 6px;
  }

  .hero-proof-row span {
    min-height: 26px;
    padding: 5px 8px;
    font-size: 9px;
  }

  .public-mode .hero-discount-callout {
    margin-top: 10px !important;
    padding: 10px 12px !important;
    border-radius: 13px !important;
  }

  .public-mode .hero-discount-callout strong {
    font-size: clamp(18px, 5.4vw, 24px) !important;
    line-height: 1.03 !important;
  }

  .public-mode .hero-quick-actions {
    margin-top: 9px;
    gap: 7px;
  }

  .public-mode .hero-quick-actions button {
    min-height: 32px;
    padding: 7px 10px;
    font-size: 10px;
  }

  .public-mode .hero-search {
    margin-top: 9px !important;
    grid-template-columns: minmax(0, 1fr) 86px !important;
    gap: 7px !important;
  }

  .public-mode .hero-search input,
  .public-mode .hero-search button {
    min-height: 42px !important;
    height: 42px !important;
    border-radius: 11px !important;
    font-size: 13px !important;
  }

  .public-mode .hero-actions {
    margin-top: 8px !important;
    grid-template-columns: 1fr 1fr !important;
  }

  .public-mode .hero-actions .hero-action,
  .public-mode .hero-offer-action {
    min-height: 36px !important;
    padding: 8px 10px !important;
    font-size: 12px !important;
  }
}

/* Hero correction: cleaner product carousel and tighter mobile intro */
.public-mode .public-intro {
  min-height: clamp(440px, 54vh, 590px) !important;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1fr) !important;
}

.public-mode .public-intro::after {
  background:
    linear-gradient(90deg, rgba(3, 10, 7, 0.98) 0%, rgba(3, 10, 7, 0.92) 34%, rgba(3, 10, 7, 0.62) 56%, rgba(3, 10, 7, 0.10) 100%),
    radial-gradient(circle at 78% 52%, rgba(158, 224, 107, 0.16), transparent 32%) !important;
}

.public-mode .hero-carousel {
  left: 42%;
  width: 58%;
}

.public-mode .hero-carousel span {
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center right !important;
  opacity: 0;
  filter: saturate(1.04) contrast(1.04);
}

.public-mode .hero-copy {
  width: min(640px, 100%) !important;
  justify-self: center !important;
  padding: 34px 28px 34px !important;
}

.public-mode .hero-logo {
  width: 70px !important;
  height: 70px !important;
}

.public-mode .hero-copy .eyebrow {
  margin-top: 14px !important;
}

.public-mode .hero-copy h2 {
  max-width: 610px !important;
  font-size: clamp(42px, 5.1vw, 72px) !important;
}

.public-mode .hero-copy > p {
  max-width: 530px !important;
  font-size: clamp(15px, 1.35vw, 18px) !important;
}

.hero-proof-row {
  margin-top: 13px !important;
}

.hero-proof-row span {
  border-color: rgba(158, 224, 107, 0.46) !important;
  background: rgba(13, 117, 78, 0.48) !important;
  color: #d9ffd1 !important;
}

.public-mode .hero-discount-callout {
  width: min(500px, 100%) !important;
  margin-top: 13px !important;
  padding: 13px 16px !important;
}

.public-mode .hero-discount-callout strong {
  font-size: clamp(23px, 2.55vw, 35px) !important;
}

.public-mode .hero-search {
  width: min(540px, 100%) !important;
  margin-top: 12px !important;
}

.public-mode .hero-actions {
  margin-top: 10px !important;
}

@media (max-width: 900px) {
  .public-mode .public-intro {
    grid-template-columns: 1fr !important;
  }

  .public-mode .hero-carousel {
    left: 34%;
    width: 70%;
  }
}

@media (max-width: 760px) {
  .public-mode .public-intro {
    min-height: 430px !important;
    padding-top: 34px !important;
    align-items: center !important;
  }

  .public-mode .public-intro::after {
    background:
      linear-gradient(90deg, rgba(3, 10, 7, 0.98) 0%, rgba(3, 10, 7, 0.94) 58%, rgba(3, 10, 7, 0.42) 100%),
      linear-gradient(0deg, rgba(3, 10, 7, 0.34), rgba(3, 10, 7, 0.34)) !important;
  }

  .public-mode .hero-carousel {
    left: 38%;
    width: 68%;
    top: 22px;
    bottom: 40px;
  }

  .public-mode .hero-carousel span {
    background-position: center right !important;
    background-size: contain !important;
  }

  .public-mode .hero-copy {
    width: min(100%, 380px) !important;
    justify-self: start !important;
    padding: 14px 14px 16px !important;
  }

  .public-mode .hero-logo {
    width: 48px !important;
    height: 48px !important;
    padding: 6px !important;
  }

  .public-mode .hero-copy .eyebrow {
    margin-top: 9px !important;
  }

  .public-mode .hero-copy h2 {
    max-width: 300px !important;
    font-size: clamp(28px, 8.2vw, 35px) !important;
    line-height: 0.96 !important;
  }

  .public-mode .hero-copy > p {
    max-width: 278px !important;
    margin-top: 7px !important;
    font-size: 12px !important;
  }

  .hero-proof-row {
    margin-top: 8px !important;
  }

  .hero-proof-row span {
    min-height: 24px !important;
    padding: 5px 8px !important;
    font-size: 9px !important;
  }

  .public-mode .hero-discount-callout {
    width: min(284px, 100%) !important;
    margin-top: 8px !important;
    padding: 9px 10px !important;
  }

  .public-mode .hero-discount-callout span,
  .public-mode .hero-discount-callout small {
    font-size: 9px !important;
  }

  .public-mode .hero-discount-callout strong {
    font-size: clamp(17px, 5vw, 20px) !important;
  }

  .public-mode .hero-search {
    width: min(330px, 100%) !important;
    margin-top: 8px !important;
  }

  .public-mode .hero-actions {
    width: min(330px, 100%) !important;
  }
}

/* Mobile hero premium simplification */
@media (max-width: 760px) {
  .public-mode .public-intro {
    min-height: 305px !important;
    padding-top: 12px !important;
    align-items: end !important;
    border-bottom-color: rgba(158, 224, 107, 0.16) !important;
  }

  .public-mode .public-intro::after {
    background:
      linear-gradient(90deg, rgba(3, 10, 7, 0.98) 0%, rgba(3, 10, 7, 0.92) 48%, rgba(3, 10, 7, 0.30) 100%),
      linear-gradient(180deg, rgba(3, 10, 7, 0.10) 0%, rgba(3, 10, 7, 0.16) 44%, rgba(3, 10, 7, 0.92) 100%) !important;
  }

  .public-mode .hero-carousel {
    left: 46% !important;
    right: -8% !important;
    width: auto !important;
    top: 42px !important;
    bottom: 76px !important;
    opacity: 0.92;
  }

  .public-mode .hero-carousel span {
    background-position: center right !important;
    background-size: contain !important;
    filter: saturate(1.1) contrast(1.06) !important;
  }

  .public-mode .hero-copy {
    width: min(100%, 360px) !important;
    padding: 14px 14px 13px !important;
  }

  .public-mode .hero-logo {
    width: 38px !important;
    height: 38px !important;
    border-radius: 11px !important;
    padding: 5px !important;
  }

  .public-mode .hero-copy h2 {
    max-width: 250px !important;
    margin-top: 8px !important;
    font-size: clamp(25px, 7.2vw, 30px) !important;
    line-height: 0.98 !important;
  }

  .public-mode .hero-copy > p {
    display: none !important;
  }

  .public-mode .hero-discount-callout {
    width: min(240px, 100%) !important;
    margin-top: 7px !important;
    padding: 8px 9px !important;
    border-radius: 12px !important;
  }

  .public-mode .hero-discount-callout span {
    font-size: 8px !important;
  }

  .public-mode .hero-discount-callout strong {
    margin-top: 1px !important;
    font-size: clamp(15px, 4.4vw, 18px) !important;
    line-height: 1.02 !important;
  }

  .public-mode .hero-discount-callout small {
    display: none !important;
  }

  .public-mode .hero-search {
    width: min(315px, 100%) !important;
    margin-top: 8px !important;
    grid-template-columns: minmax(0, 1fr) 72px !important;
  }

  .public-mode .hero-search input,
  .public-mode .hero-search button {
    min-height: 38px !important;
    height: 38px !important;
    border-radius: 10px !important;
    font-size: 12px !important;
  }

  .public-mode .hero-search input {
    padding: 0 11px !important;
  }

  .public-mode .hero-actions {
    display: none !important;
  }

  .public-mode .public-benefits {
    display: none !important;
  }

  .mobile-shop-tabs.public-only {
    margin-top: 0 !important;
    padding: 8px 10px !important;
    gap: 7px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .mobile-shop-tabs button {
    min-height: 44px !important;
    border-radius: 12px !important;
    font-size: 12px !important;
  }

  .mobile-shop-tabs .mobile-cart-tab,
  #float-whatsapp {
    background: linear-gradient(135deg, #8bd737, #b7ff34) !important;
    border-color: rgba(158, 224, 107, 0.72) !important;
    color: #07130d !important;
    box-shadow: 0 12px 34px rgba(139, 215, 55, 0.24);
  }

  .mobile-shop-tabs .mobile-cart-tab span,
  #float-whatsapp span {
    background: #07130d !important;
    color: #9fff4c !important;
  }

  .need-shop-band {
    padding: 15px 12px 14px !important;
  }

  .need-shop-band .section-heading {
    margin-bottom: 10px !important;
  }

  .need-shop-band .section-heading h2 {
    max-width: 260px;
    font-size: 25px !important;
    line-height: 1.02 !important;
  }

  .need-shop-grid {
    display: flex !important;
    gap: 8px !important;
    overflow-x: auto !important;
    padding-bottom: 3px !important;
  }

  .need-shop-grid button {
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 126px !important;
    min-height: 42px !important;
    border-radius: 999px !important;
    padding: 10px 14px !important;
    font-size: 12px !important;
  }
}

/* Keep mobile shopping tabs out of desktop layouts */
@media (min-width: 761px) {
  .public-mode .mobile-shop-tabs.public-only,
  .public-mode.desktop-catalog .mobile-shop-tabs.public-only {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
    padding: 0 !important;
    border: 0 !important;
  }
}

/* D'Willy premium color system: logo green + deep retail background */
.public-mode {
  background:
    radial-gradient(circle at 78% 4%, rgba(139, 215, 55, 0.12), transparent 28%),
    linear-gradient(180deg, #07120d 0%, #050c09 46%, #07110d 100%) !important;
  color: #f4f8f1;
}

.public-mode .inventory-panel,
.public-mode .catalog-results,
.public-mode .toolbar,
.public-mode .need-shop-band,
.public-mode .trust-band,
.public-mode .offers-band,
.public-mode .mobile-smart-filters,
.public-mode .policy-section,
.public-mode .public-footer {
  background: #07120d !important;
}

.public-mode .topbar {
  background: rgba(5, 12, 9, 0.92) !important;
  border-bottom: 1px solid rgba(139, 215, 55, 0.16) !important;
  backdrop-filter: blur(16px);
}

.public-mode .product-card,
.public-mode .recommended-card,
.public-mode .offers-grid .product-card,
.public-mode .filter-card,
.public-mode .trust-band article,
.public-mode .public-footer,
.public-mode .policy-section article {
  border: 1px solid rgba(139, 215, 55, 0.20) !important;
  background:
    linear-gradient(180deg, rgba(20, 35, 27, 0.98), rgba(10, 24, 17, 0.98)) !important;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.26) !important;
}

.public-mode .product-card:hover,
.public-mode .recommended-card:hover {
  border-color: rgba(139, 215, 55, 0.42) !important;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(139, 215, 55, 0.08) !important;
}

.public-mode .photo-slot,
.public-mode .image-preview-button,
.public-mode .recommended-card button {
  background: #f5f7f2 !important;
}

.public-mode .photo-slot img,
.public-mode .image-preview-button img,
.public-mode .recommended-card img {
  background: #f5f7f2 !important;
  object-fit: contain !important;
}

.public-mode .photo-thumbs {
  background: #eef2eb !important;
  border-top-color: rgba(7, 18, 13, 0.10) !important;
}

.public-mode .photo-thumb {
  background: #fff !important;
  border-color: rgba(7, 18, 13, 0.12) !important;
}

.public-mode .photo-thumb.active {
  border-color: #8bd737 !important;
  box-shadow: inset 0 -3px 0 #8bd737, 0 0 0 1px rgba(139, 215, 55, 0.32) !important;
}

.public-mode .product-heading span,
.public-mode .recommended-card span,
.public-mode .eyebrow,
.public-mode .section-heading .eyebrow,
.public-mode .filter-card span,
.public-mode .trust-band span {
  color: #9fff4c !important;
}

.public-mode .product-card h3,
.public-mode .product-heading strong,
.public-mode .recommended-card strong,
.public-mode .section-heading h2,
.public-mode .trust-band strong,
.public-mode .policy-section h2 {
  color: #f7fbf3 !important;
}

.public-mode .retail-meta span,
.public-mode .product-card small,
.public-mode .catalog-summary,
.public-mode .trust-band p,
.public-mode .public-footer span,
.public-mode .policy-section p {
  color: rgba(244, 248, 241, 0.72) !important;
}

.public-mode .toolbar input,
.public-mode .toolbar select,
.public-mode .mobile-filter-search input,
.public-mode .customer-reserve input {
  border-color: rgba(139, 215, 55, 0.18) !important;
  background: rgba(255, 255, 255, 0.94) !important;
  color: #07120d !important;
}

.public-mode .filter-rail,
.public-mode .mobile-filter-sheet,
.public-mode .order-panel {
  border-color: rgba(139, 215, 55, 0.20) !important;
  background: rgba(8, 20, 14, 0.98) !important;
}

.public-mode button,
.public-mode .hero-action,
.public-mode .whatsapp-button,
.public-mode .cart-toggle,
.public-mode .add-to-cart {
  border-color: rgba(139, 215, 55, 0.42);
}

.public-mode .add-to-cart,
.public-mode .hero-search button,
.public-mode .whatsapp-button,
.public-mode .cart-toggle,
.public-mode #load-more-products {
  background: linear-gradient(135deg, #8bd737, #b7ff34) !important;
  color: #07120d !important;
  box-shadow: 0 16px 38px rgba(139, 215, 55, 0.20);
}

.public-mode .hero-offer-action,
.public-mode .offer-badge,
.public-mode .product-badges .sale,
.public-mode .product-badges .last {
  background: linear-gradient(135deg, #e51b23, #ff3e45) !important;
  color: #fff !important;
}

.public-mode .cash-discount-badge {
  background: linear-gradient(135deg, #a7f83a, #d9ff54) !important;
  color: #07120d !important;
}

.public-mode .cash-discount-badge span,
.public-mode .cash-discount-badge strong,
.public-mode .cash-discount-badge small {
  color: #07120d !important;
}

.public-mode .normal-price-pill,
.public-mode .price-row {
  border-color: rgba(244, 248, 241, 0.12) !important;
  background: rgba(255, 255, 255, 0.045) !important;
}

@media (max-width: 760px) {
  .admin-mode .admin-crm-shortcut {
    grid-template-columns: 1fr;
    padding: 14px;
    gap: 12px;
  }

  .admin-mode .admin-crm-shortcut > div:last-child {
    justify-content: stretch;
  }

  .admin-mode .admin-crm-shortcut a {
    flex: 1 1 150px;
  }

  .admin-mode .order-status-filters {
    margin-inline: -2px;
    padding: 7px;
  }

  .admin-mode .order-status-filters button {
    min-height: 40px;
    padding: 0 12px;
    font-size: 13px;
  }

  .admin-mode .order-proof-box {
    grid-template-columns: 1fr;
  }

  .admin-mode .proof-upload {
    width: 100%;
  }

  .public-mode .product-card {
    border-color: rgba(139, 215, 55, 0.28) !important;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34) !important;
  }

  .public-mode .catalog-grid {
    background: #050c09 !important;
  }

  .public-mode .mobile-shop-tabs.public-only {
    background: rgba(5, 12, 9, 0.96) !important;
    border-color: rgba(139, 215, 55, 0.18) !important;
  }
}

/* Premium product watermark: subtle logo, not a heavy sticker */
.public-mode .product-logo-badge {
  top: 10px !important;
  left: 10px !important;
  width: 34px !important;
  height: 34px !important;
  border-radius: 11px !important;
  background: rgba(7, 18, 13, 0.62) !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16) !important;
  backdrop-filter: blur(7px) saturate(1.15) !important;
  opacity: 0.92;
}

.public-mode .product-logo-badge img {
  width: 24px !important;
  height: 24px !important;
  border-radius: 7px !important;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.18));
}

@media (max-width: 760px) {
  .public-mode .product-logo-badge {
    top: 8px !important;
    left: 8px !important;
    width: 26px !important;
    height: 26px !important;
    border-radius: 8px !important;
    background: rgba(7, 18, 13, 0.52) !important;
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.14) !important;
  }

  .public-mode .product-logo-badge img {
    width: 18px !important;
    height: 18px !important;
    border-radius: 5px !important;
  }
}

/* Compact mobile storefront: header, hero, search and first commercial blocks */
.public-mode .topbar {
  position: sticky !important;
  top: 0 !important;
  z-index: 95 !important;
}

.public-mode .cart-toggle {
  position: relative !important;
  z-index: 96 !important;
}

.public-mode .mobile-shop-tabs[hidden],
.public-mode .floating-actions[hidden] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.public-mode.cart-open .mobile-shop-tabs.public-only,
.public-mode.cart-open .floating-actions.public-only {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

@media (max-width: 760px) {
  .public-mode.cart-open .toolbar,
  .public-mode.cart-open .catalog-layout,
  .public-mode.cart-open .mobile-smart-filters,
  .public-mode.cart-open .need-shop-band,
  .public-mode.cart-open .recommended-band,
  .public-mode.cart-open .offers-band,
  .public-mode.cart-open .trust-band,
  .public-mode.cart-open .public-footer {
    visibility: hidden !important;
    pointer-events: none !important;
  }
}

@media (min-width: 761px) {
  .public-mode.cart-open .toolbar,
  .public-mode.cart-open .catalog-layout,
  .public-mode.cart-open .mobile-smart-filters,
  .public-mode.cart-open .need-shop-band,
  .public-mode.cart-open .recommended-band,
  .public-mode.cart-open .offers-band,
  .public-mode.cart-open .trust-band,
  .public-mode.cart-open .public-footer {
    visibility: visible !important;
    pointer-events: auto !important;
  }
}

.public-mode.cart-open .side-panel,
.public-mode.cart-open .order-panel {
  visibility: visible !important;
  pointer-events: auto !important;
  z-index: 210 !important;
}

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

.public-mode a:focus-visible,
.public-mode button:focus-visible,
.public-mode input:focus-visible,
.public-mode select:focus-visible {
  outline: 3px solid rgba(159, 255, 76, 0.92) !important;
  outline-offset: 3px !important;
}

.public-mode .cart-toggle {
  gap: 7px;
  white-space: nowrap;
}

.public-mode .cart-toggle .cart-icon {
  width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  border: 2px solid currentColor;
  border-radius: 5px;
  font-size: 0;
  position: relative;
}

.public-mode .cart-toggle .cart-icon::before {
  content: "";
  width: 8px;
  height: 5px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
  position: absolute;
  top: -6px;
}

.public-mode .hero-carousel span {
  background-size: cover !important;
  background-position: center right !important;
}

.public-mode .hero-search button .search-icon {
  width: 15px;
  height: 15px;
  display: inline-block;
  border: 2px solid currentColor;
  border-radius: 999px;
  position: relative;
  transform: translateY(-1px);
}

.public-mode .hero-search button .search-icon::after {
  content: "";
  width: 7px;
  height: 2px;
  display: block;
  background: currentColor;
  border-radius: 999px;
  position: absolute;
  right: -6px;
  bottom: -4px;
  transform: rotate(45deg);
}

.public-mode .category-icon {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(159, 255, 76, 0.16);
  border: 1px solid rgba(159, 255, 76, 0.28);
  color: #b7ff34;
  font-size: 13px;
  font-weight: 950;
}

.public-mode .featured-brands {
  margin-top: 18px;
}

@media (min-width: 761px) {
  .public-mode .public-intro {
    min-height: clamp(430px, 54vh, 620px) !important;
  }

  .public-mode .hero-search {
    width: min(610px, 100%) !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 150px !important;
    gap: 10px !important;
  }

  .public-mode .hero-search input,
  .public-mode .hero-search button {
    min-height: 58px !important;
  }

  .public-mode .need-shop-grid {
    display: flex !important;
    gap: 10px !important;
    overflow-x: auto !important;
    padding-bottom: 6px !important;
  }

  .public-mode .need-shop-grid button {
    min-height: 54px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 9px !important;
    border-radius: 16px !important;
    padding: 12px 16px !important;
  }
}

@media (max-width: 760px) {
  .public-mode .topbar {
    min-height: 66px !important;
    height: auto !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 80 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 8px 10px !important;
  }

  .public-mode .brand-lockup {
    min-width: 0 !important;
    gap: 8px !important;
  }

  .public-mode .brand-logo {
    width: 38px !important;
    height: 38px !important;
    border-radius: 10px !important;
    padding: 4px !important;
    background: rgba(255, 255, 255, 0.96) !important;
  }

  .public-mode .brand-lockup .eyebrow {
    display: none !important;
  }

  .public-mode .brand-lockup h1 {
    max-width: 138px !important;
    color: #f7fbf3 !important;
    font-size: 13px !important;
    line-height: 1.05 !important;
    letter-spacing: 0 !important;
    white-space: normal !important;
  }

  .public-mode .topbar-actions {
    margin-left: auto !important;
    gap: 6px !important;
  }

  .public-mode #inventory-status {
    display: none !important;
  }

  .public-mode .cart-toggle {
    min-height: 44px !important;
    padding: 0 10px !important;
    border-radius: 999px !important;
    font-size: 12px !important;
    font-weight: 950 !important;
  }

  .public-mode .cart-toggle .cart-icon {
    width: 16px;
    height: 16px;
  }

  .public-mode .cart-toggle span:last-child,
  .public-mode .mobile-cart-tab span,
  #float-whatsapp span {
    min-width: 24px !important;
    height: 24px !important;
    display: inline-grid !important;
    place-items: center !important;
    border-radius: 999px !important;
    background: rgba(7, 18, 13, 0.92) !important;
    color: #9fff4c !important;
    font-size: 12px !important;
  }

  .public-mode .public-intro {
    min-height: 0 !important;
    height: auto !important;
    display: block !important;
    padding: 18px 14px 16px !important;
    border-radius: 0 !important;
    overflow: hidden !important;
  }

  .public-mode .public-intro::after {
    background:
      linear-gradient(90deg, rgba(3, 10, 7, 0.96) 0%, rgba(3, 10, 7, 0.78) 55%, rgba(3, 10, 7, 0.45) 100%),
      linear-gradient(0deg, rgba(3, 10, 7, 0.26), rgba(3, 10, 7, 0.26)) !important;
  }

  .public-mode .hero-carousel span {
    background-size: cover !important;
    background-position: 64% center !important;
    opacity: 0.62 !important;
  }

  .public-mode .hero-copy {
    width: 100% !important;
    min-height: 0 !important;
    padding: 0 !important;
    position: relative !important;
    z-index: 2 !important;
  }

  .public-mode .hero-logo {
    width: 44px !important;
    height: 44px !important;
    padding: 4px !important;
    border-radius: 12px !important;
    margin-bottom: 10px !important;
  }

  .public-mode .hero-copy h2 {
    max-width: 330px !important;
    margin: 0 !important;
    font-size: clamp(27px, 8.4vw, 32px) !important;
    line-height: 1.02 !important;
    letter-spacing: 0 !important;
  }

  .public-mode .hero-copy > p {
    max-width: 330px !important;
    margin: 8px 0 0 !important;
    font-size: 13px !important;
    line-height: 1.28 !important;
  }

  .public-mode .hero-discount-callout {
    width: min(100%, 400px) !important;
    margin-top: 12px !important;
    padding: 12px 13px !important;
    border-radius: 15px !important;
  }

  .public-mode .hero-discount-callout span {
    font-size: 10px !important;
  }

  .public-mode .hero-discount-callout strong {
    font-size: clamp(19px, 6.3vw, 24px) !important;
    line-height: 1.02 !important;
  }

  .public-mode .hero-discount-callout small {
    margin-top: 4px !important;
    font-size: 10px !important;
  }

  .public-mode .hero-search {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 112px !important;
    gap: 8px !important;
    margin-top: 12px !important;
  }

  .public-mode .hero-search input,
  .public-mode .hero-search button {
    min-height: 52px !important;
    border-radius: 14px !important;
    font-size: 15px !important;
  }

  .public-mode .hero-search input {
    min-width: 0 !important;
    padding: 0 13px !important;
  }

  .public-mode .hero-search button {
    padding: 0 10px !important;
    gap: 4px !important;
  }

  .public-mode .hero-actions {
    display: flex !important;
    gap: 8px !important;
    margin-top: 10px !important;
  }

  .public-mode .hero-actions .hero-action {
    min-height: 48px !important;
    flex: 1 1 auto !important;
    justify-content: center !important;
    border-radius: 14px !important;
  }

  .public-mode .hero-offer-action {
    display: none !important;
  }

  .public-mode .public-benefits {
    display: none !important;
  }

  .mobile-shop-tabs.public-only {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(105px, 1fr)) !important;
    gap: 8px !important;
    position: sticky !important;
    top: 66px !important;
    z-index: 70 !important;
    overflow-x: auto !important;
    padding: 8px 12px !important;
  }

  .public-mode.cart-open .mobile-shop-tabs.public-only {
    display: none !important;
    pointer-events: none !important;
  }

  .mobile-shop-tabs button {
    min-height: 46px !important;
    border-radius: 13px !important;
    font-size: 13px !important;
    justify-content: center !important;
  }

  .public-mode .need-shop-band {
    padding: 16px 0 10px !important;
    border-top: 1px solid rgba(139, 215, 55, 0.12) !important;
  }

  .public-mode .need-shop-band .section-heading {
    padding: 0 14px !important;
    margin-bottom: 10px !important;
  }

  .public-mode .need-shop-band .section-heading h2 {
    font-size: 22px !important;
  }

  .need-shop-grid {
    display: flex !important;
    gap: 10px !important;
    overflow-x: auto !important;
    scroll-snap-type: x proximity !important;
    padding: 0 14px 8px !important;
  }

  .need-shop-grid button {
    flex: 0 0 40% !important;
    min-width: 132px !important;
    min-height: 54px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    justify-content: flex-start !important;
    border-radius: 16px !important;
    padding: 11px 12px !important;
    font-size: 13px !important;
    scroll-snap-align: start !important;
  }

  .public-mode .recommended-band {
    padding-top: 18px !important;
  }

  .public-mode .recommended-band .section-heading {
    gap: 10px !important;
    padding: 0 14px !important;
  }

  .public-mode .recommended-band .section-heading h2,
  .public-mode .offers-band .section-heading h2 {
    font-size: 28px !important;
    line-height: 1 !important;
  }

  .public-mode .recommended-band .section-heading a {
    min-height: 42px !important;
    padding: 0 13px !important;
    border-radius: 999px !important;
    white-space: nowrap !important;
  }

  .public-mode .recommended-grid,
  .public-mode .offers-grid {
    margin-top: 12px !important;
  }

  .public-mode .featured-brands {
    margin-top: 14px !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .public-mode .trust-band {
    margin-top: 8px !important;
  }
}

@media (max-width: 340px) {
  .public-mode .brand-lockup h1 {
    max-width: 108px !important;
    font-size: 12px !important;
  }

  .public-mode .cart-toggle {
    padding: 0 8px !important;
    font-size: 11px !important;
  }

  .public-mode .hero-search {
    grid-template-columns: 1fr !important;
  }

  .public-mode .hero-search button {
    width: 100% !important;
  }

  .need-shop-grid button {
    flex-basis: 48% !important;
  }
}

/* Fixed Mi pedido button: always visible while browsing */
.public-mode #cart-toggle.cart-toggle {
  position: fixed !important;
  top: calc(14px + env(safe-area-inset-top)) !important;
  right: 18px !important;
  z-index: 220 !important;
  min-height: 48px !important;
  border-radius: 999px !important;
  padding: 0 16px !important;
  border: 1px solid rgba(159, 255, 76, 0.60) !important;
  background: linear-gradient(135deg, #8bd737, #c8ff3c) !important;
  color: #07120d !important;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(159, 255, 76, 0.20) !important;
  backdrop-filter: blur(12px) !important;
}

.public-mode .topbar {
  padding-right: 190px !important;
}

.public-mode .offers-band .section-heading h2 span {
  display: inline-block;
  margin-right: 6px;
  filter: drop-shadow(0 6px 12px rgba(255, 90, 0, 0.34));
}

@media (max-width: 760px) {
  .public-mode #cart-toggle.cart-toggle {
    top: calc(10px + env(safe-area-inset-top)) !important;
    right: 12px !important;
    min-height: 44px !important;
    padding: 0 11px !important;
    font-size: 12px !important;
  }

  .public-mode .topbar {
    padding-right: 148px !important;
  }
}

/* Checkout cart: selected items first, reservation compact */
.public-mode .cart-items-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-top: -2px;
  padding: 10px 12px;
  border: 1px solid rgba(139, 215, 55, 0.22);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(139, 215, 55, 0.12), rgba(255, 255, 255, 0.035));
}

.public-mode .cart-items-heading span,
.public-mode .cart-items-heading small {
  color: rgba(244, 248, 241, 0.70);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.public-mode .cart-items-heading strong {
  display: block;
  margin-top: 2px;
  color: #9fff4c;
  font-size: 16px;
  font-weight: 950;
}

.public-mode .cart-line {
  border-color: rgba(139, 215, 55, 0.24) !important;
  background: rgba(255, 255, 255, 0.045) !important;
}

.public-mode .cart-items {
  flex: 0 0 auto !important;
  min-height: 112px !important;
}

.public-mode.desktop-catalog .cart-items {
  min-height: 128px !important;
  max-height: min(34vh, 320px) !important;
  overflow: auto !important;
}

.public-mode .cart-line > div {
  min-width: 0;
}

.public-mode .cart-line span:nth-of-type(1),
.public-mode .cart-line span:nth-of-type(2) {
  display: inline-flex;
  width: auto;
  margin-right: 6px;
  border-radius: 999px;
  padding: 4px 8px;
  background: rgba(139, 215, 55, 0.12);
  color: rgba(244, 248, 241, 0.88) !important;
  font-weight: 850;
}

.public-mode .customer-reserve {
  order: 3;
}

.public-mode .cart-total {
  order: 4;
}

.public-mode #whatsapp-order {
  order: 5;
}

.public-mode #whatsapp-web-order {
  order: 6;
}

.public-mode #continue-shopping {
  order: 7;
}

.public-mode .order-note {
  order: 8;
}

@media (max-width: 760px) {
  .public-mode .side-panel {
    max-height: calc(100dvh - 88px) !important;
  }

  .public-mode .order-panel {
    gap: 10px !important;
    padding: 12px !important;
  }

  .public-mode .order-header {
    padding-bottom: 8px !important;
  }

  .public-mode .order-logo {
    width: 50px !important;
    height: 50px !important;
  }

  .public-mode .cart-items-heading {
    padding: 8px 10px !important;
    border-radius: 12px !important;
  }

  .public-mode .cart-items {
    max-height: 32vh !important;
    min-height: 118px !important;
    gap: 9px !important;
    padding: 2px 4px 2px 0 !important;
    overscroll-behavior: contain;
  }

  .public-mode .cart-line {
    grid-template-columns: 74px minmax(0, 1fr) 34px !important;
    gap: 10px !important;
    padding: 9px !important;
    border-radius: 13px !important;
  }

  .public-mode .cart-line img,
  .public-mode .cart-thumb {
    width: 74px !important;
    height: 74px !important;
    object-fit: contain !important;
    background: #f5f7f2 !important;
  }

  .public-mode .cart-line strong {
    font-size: 14px !important;
    line-height: 1.16 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .public-mode .cart-line span,
  .public-mode .cart-line small {
    margin-top: 4px !important;
    font-size: 12px !important;
    line-height: 1.16 !important;
  }

  .public-mode .cart-line .cart-discount-line {
    font-size: 12px !important;
  }

  .public-mode .customer-reserve {
    padding: 8px 9px !important;
    border-radius: 12px !important;
  }

  .public-mode .customer-reserve > strong {
    font-size: 9px !important;
    letter-spacing: 0.04em;
  }

  .public-mode .customer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 6px !important;
  }

  .public-mode .customer-grid input {
    min-height: 32px !important;
    border-radius: 9px !important;
    font-size: 12px !important;
    padding: 0 10px !important;
  }

  .public-mode .customer-phone {
    grid-column: 1 / -1 !important;
  }

  .public-mode .field-help {
    font-size: 10px !important;
    line-height: 1.1 !important;
  }

  .public-mode .cart-total {
    padding: 9px 0 !important;
  }

  .public-mode .cart-total > span {
    font-size: 16px !important;
    line-height: 1.1 !important;
  }

  .public-mode .cart-total strong {
    font-size: 18px !important;
  }

  .public-mode .cart-total-discount {
    font-size: 20px !important;
  }
}

/* Premium footer: retail contact close */
.public-mode .public-footer {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 18px !important;
  width: min(1180px, calc(100% - 32px)) !important;
  margin: 34px auto 0 !important;
  padding: 24px !important;
  border-radius: 24px !important;
  background:
    radial-gradient(circle at 18% 12%, rgba(159, 255, 76, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(14, 31, 22, 0.98), rgba(5, 12, 9, 0.98)) !important;
  border: 1px solid rgba(139, 215, 55, 0.24) !important;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34) !important;
}

.public-mode .footer-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.public-mode .footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.public-mode .footer-brand img {
  width: 72px !important;
  height: 72px !important;
  flex: 0 0 auto;
  border-radius: 18px !important;
  padding: 8px !important;
  background: rgba(255, 255, 255, 0.96) !important;
  object-fit: contain !important;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
}

.public-mode .footer-brand span,
.public-mode .footer-contact-grid span {
  color: #9fff4c !important;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.public-mode .footer-brand strong {
  display: block;
  margin-top: 3px;
  color: #f7fbf3 !important;
  font-size: clamp(25px, 3vw, 42px);
  line-height: 1.02;
}

.public-mode .footer-brand p,
.public-mode .footer-contact-grid p {
  max-width: 580px;
  margin: 7px 0 0;
  color: rgba(244, 248, 241, 0.72) !important;
  line-height: 1.45;
}

.public-mode .footer-whatsapp {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 22px;
  background: linear-gradient(135deg, #8bd737, #c8ff3c);
  color: #07120d !important;
  font-weight: 950;
  text-decoration: none;
  box-shadow: 0 16px 38px rgba(139, 215, 55, 0.20);
  white-space: nowrap;
}

.public-mode .footer-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr minmax(240px, 0.85fr);
  gap: 12px;
}

.public-mode .footer-contact-grid article,
.public-mode .footer-contact-grid nav,
.public-mode .public-footer .policy-section article {
  min-width: 0;
  border: 1px solid rgba(139, 215, 55, 0.18) !important;
  border-radius: 18px !important;
  background: rgba(255, 255, 255, 0.045) !important;
}

.public-mode .footer-contact-grid article {
  padding: 18px !important;
}

.public-mode .footer-contact-grid strong {
  display: block;
  margin-top: 7px;
  color: #f7fbf3 !important;
  font-size: 22px;
  line-height: 1.08;
}

.public-mode .footer-contact-grid nav {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 8px !important;
  padding: 14px !important;
}

.public-mode .footer-contact-grid nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  background: rgba(255, 255, 255, 0.07) !important;
  color: #f7fbf3 !important;
  font-weight: 900;
  text-decoration: none;
}

.public-mode .footer-contact-grid nav a:hover {
  border-color: rgba(159, 255, 76, 0.45) !important;
  background: rgba(159, 255, 76, 0.12) !important;
}

.public-mode .public-footer .policy-section {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 10px !important;
  padding: 0 !important;
  background: transparent !important;
}

.public-mode .public-footer .policy-section article {
  padding: 16px !important;
}

.public-mode .public-footer .policy-section h2 {
  color: #9fff4c !important;
  font-size: 11px !important;
}

.public-mode .public-footer .policy-section p {
  font-size: 14px !important;
  line-height: 1.42 !important;
}

@media (max-width: 760px) {
  .public-mode .public-footer {
    width: calc(100% - 22px) !important;
    margin-top: 24px !important;
    padding: 14px !important;
    border-radius: 20px !important;
    gap: 14px !important;
  }

  .public-mode .footer-hero {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    padding-bottom: 14px !important;
  }

  .public-mode .footer-brand {
    align-items: flex-start;
    gap: 12px;
  }

  .public-mode .footer-brand img {
    width: 58px !important;
    height: 58px !important;
    border-radius: 15px !important;
  }

  .public-mode .footer-brand strong {
    font-size: 24px !important;
  }

  .public-mode .footer-brand p {
    font-size: 14px !important;
  }

  .public-mode .footer-whatsapp {
    width: 100%;
    min-height: 48px;
  }

  .public-mode .footer-contact-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .public-mode .footer-contact-grid article {
    padding: 14px !important;
  }

  .public-mode .footer-contact-grid strong {
    font-size: 18px !important;
  }

  .public-mode .footer-contact-grid nav {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    padding: 8px !important;
  }

  .public-mode .footer-contact-grid nav a {
    min-height: 42px;
    padding: 0 8px;
    font-size: 13px;
  }

  .public-mode .public-footer .policy-section {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  .public-mode .public-footer .policy-section article {
    padding: 13px !important;
  }
}

/* Checkout customer data: invoice ID and island selector */
.customer-grid select {
  width: 100%;
  min-height: 31px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 8px;
  background: white;
  color: var(--ink);
  font: inherit;
}

.customer-grid input:focus,
.customer-grid select:focus {
  outline: 2px solid rgba(140, 204, 60, 0.34);
  border-color: rgba(140, 204, 60, 0.62);
}

.customer-note-field {
  grid-column: span 2;
}

.public-mode .customer-grid input,
.public-mode .customer-grid select,
.public-mode .customer-reserve input,
.public-mode .customer-reserve select {
  border-color: rgba(139, 215, 55, 0.18) !important;
  background: rgba(255, 255, 255, 0.94) !important;
  color: #07120d !important;
}

.public-mode .customer-grid select {
  appearance: auto;
}

@media (max-width: 760px) {
  .public-mode .customer-grid select {
    min-height: 32px !important;
    border-radius: 9px !important;
    font-size: 12px !important;
    padding: 0 10px !important;
  }

  .public-mode .customer-phone,
  .public-mode .customer-note-field {
    grid-column: 1 / -1 !important;
  }
}

/* Retail storefront polish: discount, categories and brand marks */
.public-mode .hero-discount-callout small {
  display: inline-flex;
  width: fit-content;
  margin-top: 8px;
  border-radius: 999px;
  padding: 5px 9px;
  background: rgba(7, 18, 13, 0.14);
  color: #07120d !important;
  font-weight: 950;
  letter-spacing: 0;
}

.public-mode .need-shop-grid {
  align-items: stretch;
}

.public-mode .need-shop-grid .category-tile {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 136px !important;
  align-items: end !important;
  justify-content: flex-start !important;
  border-radius: 20px !important;
  padding: 14px !important;
  background: #15241b !important;
  border-color: rgba(159, 255, 76, 0.26) !important;
  color: #f7fbf3 !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 16px 38px rgba(0, 0, 0, 0.22);
}

.public-mode .need-shop-grid .category-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--category-image, linear-gradient(135deg, #203226, #07120d)) center / cover no-repeat;
  transform: scale(1.02);
  opacity: 0.78;
}

.public-mode .need-shop-grid .category-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(7, 18, 13, 0.05), rgba(7, 18, 13, 0.78));
}

.public-mode .category-tile .category-visual {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(159, 255, 76, 0.18);
  border: 1px solid rgba(159, 255, 76, 0.28);
  backdrop-filter: blur(8px);
}

.public-mode .category-tile strong {
  position: relative;
  display: block;
  max-width: 96%;
  color: #fff !important;
  font-size: 22px;
  line-height: 1;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55);
}

.public-mode .category-women { --category-image: url("/product-images/moleca-5287203.jpg"); }
.public-mode .category-men { --category-image: url("/product-images/new-balance-m2002rpk.jpg"); }
.public-mode .category-kids { --category-image: url("/product-images/adidas-gy9217.jpg"); }
.public-mode .category-school { --category-image: url("/product-images/new-balance-bb480l3w.jpg"); }
.public-mode .category-sport { --category-image: url("/product-images/new-balance-mr530sg.jpg"); }
.public-mode .category-bags { --category-image: url("/product-images/new-balance-bb480l3w.jpg"); }
.public-mode .category-accessories { --category-image: url("/product-images/thumbs/198739962642.webp"); }
.public-mode .category-offers { --category-image: linear-gradient(135deg, #e51b23, #ff4545 48%, #7d0b12); }

.public-mode .category-offers .category-visual::before {
  content: "%";
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: #fff;
  font-weight: 950;
}

.public-mode .featured-brands {
  display: flex !important;
  gap: 12px !important;
  overflow-x: auto !important;
  padding: 2px 0 8px !important;
  scroll-snap-type: x proximity;
}

.public-mode .featured-brands .featured-brand-card {
  flex: 0 0 min(245px, 72vw);
  min-height: 84px !important;
  display: grid !important;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  align-items: center !important;
  padding: 14px !important;
  border-radius: 18px !important;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035)) !important;
  scroll-snap-align: start;
}

.public-mode .brand-mark,
.public-mode .brand-mini,
.public-mode .recommended-brand-lockup b {
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: #f7fbf3;
  color: #07120d;
  border: 1px solid rgba(159, 255, 76, 0.34);
  font-weight: 950;
  letter-spacing: 0;
}

.public-mode .brand-mark {
  width: 48px;
  height: 48px;
  font-size: 15px;
}

.public-mode .brand-mini {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  font-size: 10px;
}

.public-mode .brand-copy {
  display: grid !important;
  min-width: 0;
  gap: 4px;
}

.public-mode .featured-brands .brand-copy strong {
  max-width: none !important;
  color: #fff !important;
  font-size: 18px !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.public-mode .featured-brands .brand-copy small {
  color: rgba(247, 251, 243, 0.72) !important;
  font-size: 12px;
  line-height: 1.2;
}

.public-mode .brand-nike .brand-mark,
.public-mode .brand-nike.brand-mini,
.public-mode .recommended-brand-lockup .brand-nike {
  background: #f7fbf3;
  color: #07120d;
}

.public-mode .brand-adidas .brand-mark,
.public-mode .brand-adidas.brand-mini,
.public-mode .recommended-brand-lockup .brand-adidas {
  background: #111;
  color: #fff;
}

.public-mode .brand-skechers .brand-mark,
.public-mode .brand-skechers.brand-mini,
.public-mode .recommended-brand-lockup .brand-skechers {
  background: #123fff;
  color: #fff;
}

.public-mode .brand-puma .brand-mark,
.public-mode .brand-puma.brand-mini,
.public-mode .recommended-brand-lockup .brand-puma {
  background: #f1efe5;
  color: #111;
}

.public-mode .brand-new-balance .brand-mark,
.public-mode .brand-new-balance.brand-mini,
.public-mode .recommended-brand-lockup .brand-new-balance {
  background: #c8102e;
  color: #fff;
}

.public-mode .brand-beira .brand-mark,
.public-mode .brand-beira.brand-mini,
.public-mode .recommended-brand-lockup .brand-beira {
  background: #d9a171;
  color: #07120d;
}

.public-mode .brand-reef .brand-mark,
.public-mode .brand-reef.brand-mini,
.public-mode .recommended-brand-lockup .brand-reef {
  background: #1f6f8b;
  color: #fff;
}

.public-mode .recommended-brand-lockup {
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  color: #9fff4c !important;
}

.public-mode .recommended-brand-lockup b {
  width: 28px;
  height: 28px;
  font-size: 9px;
  font-style: normal;
}

.public-mode .recommended-brand-lockup em {
  font-style: normal;
  font-weight: 950;
  text-transform: uppercase;
  color: #9fff4c;
}

.public-mode .mobile-smart-chips button {
  gap: 8px !important;
}

@media (max-width: 760px) {
  .public-mode .hero-discount-callout small {
    margin-top: 7px !important;
    padding: 4px 8px !important;
    font-size: 10px !important;
  }

  .public-mode .need-shop-grid .category-tile {
    flex: 0 0 42% !important;
    min-width: 142px !important;
    min-height: 116px !important;
    padding: 12px !important;
    border-radius: 18px !important;
  }

  .public-mode .category-tile strong {
    font-size: 18px !important;
  }

  .public-mode .category-tile .category-visual {
    width: 32px;
    height: 32px;
  }

  .public-mode .featured-brands .featured-brand-card {
    flex-basis: 46vw;
    min-height: 76px !important;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 9px;
    padding: 11px !important;
    border-radius: 16px !important;
  }

  .public-mode .brand-mark {
    width: 38px;
    height: 38px;
    font-size: 12px;
  }

  .public-mode .featured-brands .brand-copy strong {
    font-size: 15px !important;
  }

  .public-mode .featured-brands .brand-copy small {
    font-size: 10px !important;
  }
}

/* Absolute final card override: fix horizontal stock chips and one light color system */
.public-mode .catalog-results,
.public-mode .catalog-layout,
.public-mode .load-more-wrap,
.public-mode .recommended-band,
.public-mode .offers-band {
  background: #f6f5f0 !important;
}

.public-mode .recommended-band .section-heading h2,
.public-mode .offers-band .section-heading h2 {
  color: #101713 !important;
}

.public-mode .recommended-band .section-heading .eyebrow,
.public-mode .offers-band .section-heading .eyebrow {
  color: #226f26 !important;
}

.public-mode .recommended-band .section-heading a,
.public-mode .offers-band .section-heading a {
  border-color: #d8ded4 !important;
  color: #101713 !important;
  background: #fff !important;
}

.public-mode .featured-brands .featured-brand-card {
  border-color: #d8ded4 !important;
  background: #fff !important;
  color: #101713 !important;
}

.public-mode .featured-brands .brand-copy strong,
.public-mode .featured-brands .brand-copy small {
  color: #101713 !important;
}

@media (min-width: 981px) {
  .public-mode .catalog-layout .catalog-grid {
    grid-template-columns: repeat(2, minmax(500px, 1fr)) !important;
    gap: 22px !important;
  }
}

.public-mode .catalog-layout .catalog-grid .product-card,
.public-mode .recommended-card,
.public-mode .offer-card {
  border: 1px solid #dedfd8 !important;
  border-radius: 18px !important;
  background: #fff !important;
  color: #101713 !important;
  box-shadow: 0 12px 30px rgba(18, 32, 23, .10) !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .product-info,
.public-mode .recommended-card > div,
.public-mode .offer-card > div {
  background: #fff !important;
  color: #101713 !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .photo-slot {
  aspect-ratio: 2.45 / 1 !important;
  padding: 10px 10px 0 !important;
  background: #fff !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .image-preview-button,
.public-mode .recommended-card > button,
.public-mode .offer-card > button {
  background: linear-gradient(180deg, #fbfbfa, #f3f4f0) !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .photo-slot img,
.public-mode .catalog-layout .catalog-grid .product-card .image-preview-button img,
.public-mode .recommended-card > button img,
.public-mode .offer-card > button img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .product-info {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(250px, .86fr) !important;
  gap: 18px 22px !important;
  padding: 20px 22px 18px !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .product-heading strong,
.public-mode .catalog-layout .catalog-grid .product-card h3,
.public-mode .recommended-card strong,
.public-mode .offer-card strong {
  color: #101713 !important;
}

.public-mode .catalog-layout .catalog-grid .product-card h3 {
  min-height: 0 !important;
  font-size: clamp(22px, 1.7vw, 30px) !important;
  line-height: 1.05 !important;
  font-weight: 700 !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .product-price-panel {
  display: grid !important;
  grid-template-columns: minmax(100px, .75fr) minmax(150px, 1fr) !important;
  gap: 8px 24px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .product-price-panel small {
  grid-column: 1 / -1 !important;
  justify-self: end !important;
  min-width: min(100%, 290px) !important;
  padding: 6px 18px !important;
  border-radius: 999px !important;
  background: #edf8dc !important;
  color: #17481e !important;
  text-align: center !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .normal-price-block strong {
  color: #111713 !important;
  font-size: clamp(24px, 2vw, 34px) !important;
  font-weight: 400 !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .cash-price-block strong {
  color: #226f26 !important;
  font-size: clamp(32px, 2.5vw, 44px) !important;
  font-weight: 800 !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .product-buy-controls,
.public-mode .recommended-card .product-buy-controls,
.public-mode .offer-card .product-buy-controls {
  grid-column: 1 / -1 !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 12px !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .stock-selector,
.public-mode .recommended-card .stock-selector,
.public-mode .offer-card .stock-selector {
  display: grid !important;
  gap: 12px !important;
  padding: 14px 0 8px !important;
  border: 0 !important;
  background: transparent !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .stock-store-row,
.public-mode .recommended-card .stock-store-row,
.public-mode .offer-card .stock-store-row {
  display: grid !important;
  grid-template-columns: 152px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 12px !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .stock-store-row > strong,
.public-mode .recommended-card .stock-store-row > strong,
.public-mode .offer-card .stock-store-row > strong {
  min-height: 40px !important;
  display: flex !important;
  align-items: center !important;
  border-right: 1px solid #e5e6e0 !important;
  color: #102618 !important;
  font-size: 12px !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .stock-chip-list,
.public-mode .recommended-card .stock-chip-list,
.public-mode .offer-card .stock-chip-list {
  display: flex !important;
  flex-flow: row nowrap !important;
  gap: 8px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  padding: 2px 2px 6px !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .stock-choice,
.public-mode .recommended-card .stock-choice,
.public-mode .offer-card .stock-choice {
  flex: 0 0 auto !important;
  min-width: 104px !important;
  width: auto !important;
  min-height: 42px !important;
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  padding: 0 12px !important;
  border: 1px solid #dfe1da !important;
  border-radius: 8px !important;
  background: #fff !important;
  color: #101713 !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .stock-choice span,
.public-mode .catalog-layout .catalog-grid .product-card .stock-choice small,
.public-mode .recommended-card .stock-choice span,
.public-mode .recommended-card .stock-choice small,
.public-mode .offer-card .stock-choice span,
.public-mode .offer-card .stock-choice small {
  color: #101713 !important;
  font-size: 13px !important;
  line-height: 1 !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .stock-choice.last-unit,
.public-mode .recommended-card .stock-choice.last-unit,
.public-mode .offer-card .stock-choice.last-unit {
  border-color: #f0ae20 !important;
  background: #fff9e8 !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .stock-choice.active,
.public-mode .recommended-card .stock-choice.active,
.public-mode .offer-card .stock-choice.active {
  border-color: #8bd737 !important;
  background: #fff !important;
  box-shadow: 0 0 0 2px rgba(139, 215, 55, .34) !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .order-controls button[data-add-code],
.public-mode .recommended-card .order-controls button[data-add-code],
.public-mode .offer-card .order-controls button[data-add-code] {
  width: 100% !important;
  min-height: 54px !important;
  border-radius: 10px !important;
  background: linear-gradient(135deg, #9bff25, #88df25) !important;
  color: #101713 !important;
  font-size: 17px !important;
  font-weight: 900 !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .order-controls button[data-add-code]:disabled,
.public-mode .recommended-card .order-controls button[data-add-code]:disabled,
.public-mode .offer-card .order-controls button[data-add-code]:disabled {
  background: #dce2d7 !important;
  color: #69736c !important;
}

.public-mode .offer-card .cash-discount-badge,
.public-mode .offer-badge {
  background: linear-gradient(135deg, #e51b23, #ff3e45) !important;
  color: #fff !important;
}

.public-mode .recommended-card > button,
.public-mode .offer-card > button {
  aspect-ratio: 1.22 / 1 !important;
  min-height: 0 !important;
  max-height: 260px !important;
}

.public-mode .recommended-card > div,
.public-mode .offer-card > div {
  gap: 7px !important;
  padding: 10px !important;
}

.public-mode .recommended-card strong,
.public-mode .offer-card strong {
  font-size: 14px !important;
  line-height: 1.15 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

@media (max-width: 900px) {
  .public-mode .recommended-grid,
  .public-mode .offers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
}

@media (max-width: 760px) {
  .public-mode .catalog-layout .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 9px !important;
    padding-inline: 8px !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .photo-slot {
    aspect-ratio: 1.08 / 1 !important;
    padding: 5px !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .photo-thumbs {
    min-height: 34px !important;
    padding: 4px !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .photo-thumb {
    width: 28px !important;
    height: 28px !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .product-info {
    grid-template-columns: 1fr !important;
    gap: 7px !important;
    padding: 8px !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .product-heading strong {
    padding: 3px 7px !important;
    font-size: 8px !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card h3 {
    font-size: 11px !important;
    line-height: 1.12 !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .product-code-line {
    display: none !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .product-price-panel {
    gap: 3px !important;
    padding: 6px !important;
    border-radius: 8px !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .normal-price-block span,
  .public-mode .catalog-layout .catalog-grid .product-card .cash-price-block span {
    font-size: 6.5px !important;
    letter-spacing: .02em !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .normal-price-block strong {
    font-size: 10px !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .cash-price-block strong {
    font-size: 13px !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .product-price-panel small {
    padding: 3px 5px !important;
    font-size: 6.5px !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .stock-selector {
    gap: 5px !important;
    padding: 6px !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .stock-selector-heading strong,
  .public-mode .catalog-layout .catalog-grid .product-card .stock-selector-heading span {
    font-size: 6.5px !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .stock-store-row,
  .public-mode .recommended-card .stock-store-row,
  .public-mode .offer-card .stock-store-row {
    grid-template-columns: 1fr !important;
    gap: 3px !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .stock-store-row > strong,
  .public-mode .recommended-card .stock-store-row > strong,
  .public-mode .offer-card .stock-store-row > strong {
    min-height: 0 !important;
    padding-top: 0 !important;
    border-right: 0 !important;
    font-size: 7px !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .stock-choice {
    min-width: 42px !important;
    min-height: 23px !important;
    padding: 0 5px !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .stock-choice span,
  .public-mode .catalog-layout .catalog-grid .product-card .stock-choice small {
    font-size: 8px !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .order-controls button[data-add-code] {
    min-height: 32px !important;
    font-size: 10px !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .product-secondary-actions > * {
    min-height: 28px !important;
    font-size: 8px !important;
  }

  .public-mode .recommended-card > button,
  .public-mode .offer-card > button {
    aspect-ratio: 1.08 / 1 !important;
    max-height: 170px !important;
  }

  .public-mode .recommended-card > div,
  .public-mode .offer-card > div {
    gap: 6px !important;
    padding: 8px !important;
  }

  .public-mode .recommended-card strong,
  .public-mode .offer-card strong {
    font-size: 11px !important;
  }
}

/* FINAL OVERRIDE 20260717-19: last word for compact product cards */
.public-mode .catalog-layout .catalog-grid {
  gap: 16px !important;
  align-items: start !important;
}

@media (min-width: 1640px) {
  .public-mode .catalog-layout .catalog-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 1100px) and (max-width: 1639px) {
  .public-mode .catalog-layout .catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 761px) and (max-width: 1099px) {
  .public-mode .catalog-layout .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

.public-mode .catalog-layout .catalog-grid .product-card {
  border-radius: 14px !important;
  background: #fff !important;
  color: #101713 !important;
  overflow: hidden !important;
  box-shadow: 0 8px 22px rgba(15, 28, 20, .08) !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .photo-slot {
  aspect-ratio: 1.28 / 1 !important;
  min-height: 0 !important;
  padding: 8px !important;
  background: #f8f8f5 !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .image-preview-button {
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  border-radius: 10px !important;
  background: linear-gradient(90deg, #f7f8f3 0 10%, #fff 24% 76%, #f3f5ef 100%) !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .photo-slot img,
.public-mode .catalog-layout .catalog-grid .product-card .image-preview-button img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .product-info {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 9px !important;
  padding: 12px !important;
  background: #fff !important;
  color: #101713 !important;
}

.public-mode .catalog-layout .catalog-grid .product-card h3 {
  min-height: 0 !important;
  color: #101713 !important;
  font-size: clamp(15px, 1vw, 18px) !important;
  line-height: 1.14 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .product-heading strong {
  width: fit-content !important;
  padding: 3px 9px !important;
  border-radius: 999px !important;
  background: #edf8dc !important;
  color: #17481e !important;
  font-size: 10px !important;
  line-height: 1.1 !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .product-code-line {
  color: #7a827b !important;
  font-size: 10px !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .product-price-panel {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 4px !important;
  padding: 8px !important;
  border: 1px solid #e3eadc !important;
  border-radius: 10px !important;
  background: #f8faf4 !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .product-price-panel.offer-price-panel {
  border-color: rgba(232, 29, 37, .24) !important;
  background: linear-gradient(135deg, #fff, #fff4f4) !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .normal-price-block,
.public-mode .catalog-layout .catalog-grid .product-card .cash-price-block {
  display: flex !important;
  align-items: baseline !important;
  justify-content: space-between !important;
  gap: 8px !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .normal-price-block span,
.public-mode .catalog-layout .catalog-grid .product-card .cash-price-block span {
  color: #546057 !important;
  font-size: 8px !important;
  letter-spacing: .04em !important;
  line-height: 1.15 !important;
  text-transform: uppercase !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .normal-price-block strong {
  color: #151a17 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .cash-price-block strong {
  color: #226f26 !important;
  font-size: 19px !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .offer-price-panel .cash-price-block strong {
  color: #e51b23 !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .product-price-panel small {
  width: 100% !important;
  min-width: 0 !important;
  justify-self: stretch !important;
  padding: 4px 7px !important;
  border-radius: 999px !important;
  background: #edf8dc !important;
  color: #17481e !important;
  font-size: 8px !important;
  line-height: 1 !important;
  text-align: center !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .offer-price-panel small {
  background: #ffe7e8 !important;
  color: #b20f16 !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .product-buy-controls,
.public-mode .catalog-layout .catalog-grid .product-card .order-controls {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 8px !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .stock-selector {
  display: grid !important;
  gap: 8px !important;
  padding: 9px !important;
  border: 1px solid #e5eadf !important;
  border-radius: 10px !important;
  background: #fbfcf8 !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .stock-store-row {
  display: grid !important;
  grid-template-columns: 82px minmax(0, 1fr) !important;
  gap: 8px !important;
  align-items: start !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .stock-store-row > strong {
  min-height: 28px !important;
  padding-top: 8px !important;
  border-right: 1px solid #e5e6e0 !important;
  color: #152117 !important;
  font-size: 9px !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .stock-chip-list {
  display: flex !important;
  flex-flow: row nowrap !important;
  gap: 5px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  padding: 1px 2px 4px !important;
  scrollbar-width: thin !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .stock-choice {
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 58px !important;
  min-height: 28px !important;
  padding: 0 8px !important;
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 3px !important;
  border: 1px solid #d9ded5 !important;
  border-radius: 7px !important;
  background: #fff !important;
  color: #101713 !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .stock-choice span,
.public-mode .catalog-layout .catalog-grid .product-card .stock-choice small {
  color: #101713 !important;
  font-size: 10px !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .stock-choice.last-unit {
  border-color: #f4a611 !important;
  background: #fff8e7 !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .stock-choice.active {
  border-color: #8bd737 !important;
  background: #f6ffe9 !important;
  box-shadow: inset 0 0 0 1px #8bd737 !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .order-controls button[data-add-code] {
  min-height: 40px !important;
  border-radius: 9px !important;
  font-size: 13px !important;
  font-weight: 900 !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .product-secondary-actions {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 8px !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .product-secondary-actions > * {
  min-height: 34px !important;
  font-size: 11px !important;
}

.public-mode .recommended-grid,
.public-mode .offers-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 14px !important;
}

.public-mode .recommended-card,
.public-mode .offer-card {
  min-height: 0 !important;
  border-radius: 14px !important;
  background: #fff !important;
  color: #101713 !important;
}

.public-mode .recommended-card > button,
.public-mode .offer-card > button {
  aspect-ratio: 1.22 / 1 !important;
  min-height: 0 !important;
  max-height: 260px !important;
  background: #fff !important;
}

.public-mode .recommended-card > button img,
.public-mode .offer-card > button img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

.public-mode .recommended-card > div,
.public-mode .offer-card > div {
  display: grid !important;
  gap: 7px !important;
  padding: 10px !important;
  background: #fff !important;
  color: #101713 !important;
}

.public-mode .recommended-card strong,
.public-mode .offer-card strong {
  color: #101713 !important;
  font-size: 14px !important;
  line-height: 1.15 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.public-mode .trust-band,
.public-mode .footer-info-card,
.public-mode .public-footer,
.public-mode .mobile-smart-filters,
.public-mode .need-shop-band,
.public-mode .recommended-section,
.public-mode .offers-section {
  color: #fff !important;
}

.public-mode .trust-band *,
.public-mode .footer-info-card *,
.public-mode .public-footer *,
.public-mode .mobile-smart-filters *,
.public-mode .need-shop-band *,
.public-mode .recommended-section .section-heading *,
.public-mode .offers-section .section-heading * {
  color: inherit !important;
}

@media (max-width: 900px) {
  .public-mode .recommended-grid,
  .public-mode .offers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
}

@media (max-width: 760px) {
  .public-mode .catalog-layout .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 9px !important;
    padding-inline: 8px !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .photo-slot {
    aspect-ratio: 1.08 / 1 !important;
    padding: 5px !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .photo-thumbs {
    min-height: 34px !important;
    padding: 4px !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .photo-thumb {
    width: 28px !important;
    height: 28px !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .product-info {
    gap: 7px !important;
    padding: 8px !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .product-heading strong {
    padding: 3px 7px !important;
    font-size: 8px !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card h3 {
    font-size: 11px !important;
    line-height: 1.12 !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .product-code-line {
    display: none !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .product-price-panel {
    gap: 3px !important;
    padding: 6px !important;
    border-radius: 8px !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .normal-price-block span,
  .public-mode .catalog-layout .catalog-grid .product-card .cash-price-block span {
    font-size: 6.5px !important;
    letter-spacing: .02em !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .normal-price-block strong {
    font-size: 10px !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .cash-price-block strong {
    font-size: 13px !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .product-price-panel small {
    padding: 3px 5px !important;
    font-size: 6.5px !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .stock-selector {
    gap: 5px !important;
    padding: 6px !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .stock-selector-heading strong,
  .public-mode .catalog-layout .catalog-grid .product-card .stock-selector-heading span {
    font-size: 6.5px !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .stock-store-row {
    grid-template-columns: 1fr !important;
    gap: 3px !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .stock-store-row > strong {
    min-height: 0 !important;
    padding-top: 0 !important;
    border-right: 0 !important;
    font-size: 7px !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .stock-choice {
    min-width: 42px !important;
    min-height: 23px !important;
    padding: 0 5px !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .stock-choice span,
  .public-mode .catalog-layout .catalog-grid .product-card .stock-choice small {
    font-size: 8px !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .order-controls button[data-add-code] {
    min-height: 32px !important;
    font-size: 10px !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .product-secondary-actions > * {
    min-height: 28px !important;
    font-size: 8px !important;
  }

  .public-mode .recommended-card > button,
  .public-mode .offer-card > button {
    aspect-ratio: 1.08 / 1 !important;
    max-height: 170px !important;
  }

  .public-mode .recommended-card > div,
  .public-mode .offer-card > div {
    gap: 6px !important;
    padding: 8px !important;
  }

  .public-mode .recommended-card strong,
  .public-mode .offer-card strong {
    font-size: 11px !important;
  }
}

/* FINAL OVERRIDE 20260717-18: compact retail cards and correct visual density */
.public-mode .catalog-results,
.public-mode .catalog-layout,
.public-mode .load-more-wrap {
  background: #f5f4ef !important;
}

.public-mode .catalog-layout .catalog-grid {
  gap: 16px !important;
  align-items: start !important;
}

@media (min-width: 1640px) {
  .public-mode .catalog-layout .catalog-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 1100px) and (max-width: 1639px) {
  .public-mode .catalog-layout .catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 761px) and (max-width: 1099px) {
  .public-mode .catalog-layout .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

.public-mode .catalog-layout .catalog-grid .product-card,
.public-mode .recommended-card,
.public-mode .offer-card {
  overflow: hidden !important;
  border: 1px solid rgba(19, 38, 26, .14) !important;
  border-radius: 14px !important;
  background: #fff !important;
  color: #101713 !important;
  box-shadow: 0 8px 22px rgba(15, 28, 20, .08) !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .photo-slot {
  aspect-ratio: 1.28 / 1 !important;
  min-height: 0 !important;
  padding: 8px !important;
  background: #f8f8f5 !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .image-preview-button {
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  border-radius: 10px !important;
  background: linear-gradient(90deg, #f7f8f3 0 10%, #fff 24% 76%, #f3f5ef 100%) !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .photo-slot img,
.public-mode .catalog-layout .catalog-grid .product-card .image-preview-button img,
.public-mode .recommended-card > button img,
.public-mode .offer-card > button img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .product-info {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 9px !important;
  padding: 12px !important;
  background: #fff !important;
  color: #101713 !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .product-heading {
  display: grid !important;
  gap: 5px !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .product-heading strong {
  width: fit-content !important;
  max-width: 100% !important;
  padding: 3px 9px !important;
  border-radius: 999px !important;
  background: #edf8dc !important;
  color: #17481e !important;
  font-size: 10px !important;
  line-height: 1.1 !important;
}

.public-mode .catalog-layout .catalog-grid .product-card h3 {
  min-height: 0 !important;
  margin: 0 !important;
  color: #101713 !important;
  font-size: clamp(15px, 1vw, 18px) !important;
  line-height: 1.14 !important;
  font-weight: 800 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .product-code-line {
  color: #7a827b !important;
  font-size: 10px !important;
  line-height: 1.2 !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .product-price-panel {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 4px !important;
  padding: 8px !important;
  border: 1px solid #e3eadc !important;
  border-radius: 10px !important;
  background: #f8faf4 !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .product-price-panel.offer-price-panel {
  border-color: rgba(232, 29, 37, .24) !important;
  background: linear-gradient(135deg, #fff, #fff4f4) !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .normal-price-block,
.public-mode .catalog-layout .catalog-grid .product-card .cash-price-block {
  display: flex !important;
  align-items: baseline !important;
  justify-content: space-between !important;
  gap: 8px !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .normal-price-block span,
.public-mode .catalog-layout .catalog-grid .product-card .cash-price-block span {
  color: #546057 !important;
  font-size: 8px !important;
  letter-spacing: .04em !important;
  line-height: 1.15 !important;
  text-transform: uppercase !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .normal-price-block strong {
  color: #151a17 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .cash-price-block strong {
  color: #226f26 !important;
  font-size: 19px !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .offer-price-panel .cash-price-block strong {
  color: #e51b23 !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .product-price-panel small {
  width: 100% !important;
  min-width: 0 !important;
  justify-self: stretch !important;
  padding: 4px 7px !important;
  border-radius: 999px !important;
  background: #edf8dc !important;
  color: #17481e !important;
  font-size: 8px !important;
  line-height: 1 !important;
  text-align: center !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .offer-price-panel small {
  background: #ffe7e8 !important;
  color: #b20f16 !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .product-buy-controls,
.public-mode .catalog-layout .catalog-grid .product-card .order-controls {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 8px !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .stock-selector {
  display: grid !important;
  gap: 8px !important;
  padding: 9px !important;
  border: 1px solid #e5eadf !important;
  border-radius: 10px !important;
  background: #fbfcf8 !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .stock-selector-heading {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  margin: 0 !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .stock-selector-heading strong,
.public-mode .catalog-layout .catalog-grid .product-card .stock-selector-heading span {
  color: #152117 !important;
  font-size: 9px !important;
  line-height: 1.1 !important;
  letter-spacing: .04em !important;
  text-transform: uppercase !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .stock-store-row {
  display: grid !important;
  grid-template-columns: 82px minmax(0, 1fr) !important;
  gap: 8px !important;
  align-items: start !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .stock-store-row > strong {
  min-height: 28px !important;
  padding-top: 8px !important;
  border-right: 1px solid #e5e6e0 !important;
  color: #152117 !important;
  font-size: 9px !important;
  line-height: 1.15 !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .stock-chip-list {
  display: flex !important;
  flex-flow: row nowrap !important;
  gap: 5px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  padding: 1px 2px 4px !important;
  scrollbar-width: thin !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .stock-choice {
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 58px !important;
  min-height: 28px !important;
  padding: 0 8px !important;
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 3px !important;
  border: 1px solid #d9ded5 !important;
  border-radius: 7px !important;
  background: #fff !important;
  color: #101713 !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .stock-choice span,
.public-mode .catalog-layout .catalog-grid .product-card .stock-choice small {
  color: #101713 !important;
  font-size: 10px !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .stock-choice.last-unit {
  border-color: #f4a611 !important;
  background: #fff8e7 !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .stock-choice.active {
  border-color: #8bd737 !important;
  background: #f6ffe9 !important;
  box-shadow: inset 0 0 0 1px #8bd737 !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .order-controls button[data-add-code] {
  min-height: 40px !important;
  border-radius: 9px !important;
  font-size: 13px !important;
  font-weight: 900 !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .product-secondary-actions {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 8px !important;
  padding-top: 0 !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .product-secondary-actions > * {
  min-height: 34px !important;
  font-size: 11px !important;
}

.public-mode .recommended-grid,
.public-mode .offers-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 14px !important;
}

.public-mode .recommended-card,
.public-mode .offer-card {
  min-height: 0 !important;
}

.public-mode .recommended-card > button,
.public-mode .offer-card > button {
  aspect-ratio: 1.22 / 1 !important;
  min-height: 0 !important;
  max-height: 260px !important;
  border-radius: 12px 12px 0 0 !important;
  background: #fff !important;
}

.public-mode .recommended-card > div,
.public-mode .offer-card > div {
  display: grid !important;
  gap: 7px !important;
  padding: 10px !important;
  background: #fff !important;
  color: #101713 !important;
}

.public-mode .recommended-card strong,
.public-mode .offer-card strong {
  min-height: 0 !important;
  color: #101713 !important;
  font-size: 14px !important;
  line-height: 1.15 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.public-mode .recommended-card small,
.public-mode .offer-card small,
.public-mode .recommended-card span,
.public-mode .offer-card span {
  color: #526057 !important;
}

.public-mode .recommended-card .cash-discount-badge,
.public-mode .offer-card .cash-discount-badge {
  min-height: 44px !important;
  padding: 7px 9px !important;
  border-radius: 9px !important;
}

.public-mode .offer-card .cash-discount-badge,
.public-mode .offer-card .offer-badge {
  background: linear-gradient(135deg, #e51b23, #ff363c) !important;
  color: #fff !important;
}

.public-mode .offer-card .cash-discount-badge *,
.public-mode .offer-card .offer-badge * {
  color: #fff !important;
}

.public-mode .trust-band,
.public-mode .footer-info-card,
.public-mode .public-footer,
.public-mode .mobile-smart-filters,
.public-mode .need-shop-band {
  color: #fff !important;
}

.public-mode .trust-band *,
.public-mode .footer-info-card *,
.public-mode .public-footer *,
.public-mode .mobile-smart-filters *,
.public-mode .need-shop-band * {
  color: inherit !important;
}

.public-mode .section-heading,
.public-mode .section-heading h2,
.public-mode .section-heading strong,
.public-mode .section-heading span {
  color: #fff !important;
}

.public-mode .recommended-section,
.public-mode .offers-section {
  background: #07120d !important;
}

.public-mode .recommended-section .section-heading h2,
.public-mode .offers-section .section-heading h2 {
  color: #fff !important;
}

@media (max-width: 900px) {
  .public-mode .recommended-grid,
  .public-mode .offers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
}

@media (max-width: 760px) {
  .public-mode .catalog-layout .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 9px !important;
    padding-inline: 8px !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card {
    border-radius: 12px !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .photo-slot {
    aspect-ratio: 1.08 / 1 !important;
    padding: 5px !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .photo-thumbs {
    min-height: 34px !important;
    padding: 4px !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .photo-thumb {
    width: 28px !important;
    height: 28px !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .product-info {
    gap: 7px !important;
    padding: 8px !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .product-heading strong {
    padding: 3px 7px !important;
    font-size: 8px !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card h3 {
    font-size: 11px !important;
    line-height: 1.12 !important;
    -webkit-line-clamp: 2 !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .product-code-line {
    display: none !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .product-price-panel {
    gap: 3px !important;
    padding: 6px !important;
    border-radius: 8px !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .normal-price-block span,
  .public-mode .catalog-layout .catalog-grid .product-card .cash-price-block span {
    font-size: 6.5px !important;
    letter-spacing: .02em !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .normal-price-block strong {
    font-size: 10px !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .cash-price-block strong {
    font-size: 13px !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .product-price-panel small {
    padding: 3px 5px !important;
    font-size: 6.5px !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .stock-selector {
    gap: 5px !important;
    padding: 6px !important;
    border-radius: 8px !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .stock-selector-heading strong,
  .public-mode .catalog-layout .catalog-grid .product-card .stock-selector-heading span {
    font-size: 6.5px !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .stock-store-row {
    grid-template-columns: 1fr !important;
    gap: 3px !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .stock-store-row > strong {
    min-height: 0 !important;
    padding-top: 0 !important;
    border-right: 0 !important;
    font-size: 7px !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .stock-chip-list {
    gap: 4px !important;
    padding-bottom: 3px !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .stock-choice {
    min-width: 42px !important;
    min-height: 23px !important;
    padding: 0 5px !important;
    border-radius: 6px !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .stock-choice span,
  .public-mode .catalog-layout .catalog-grid .product-card .stock-choice small {
    font-size: 8px !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .order-controls button[data-add-code] {
    min-height: 32px !important;
    font-size: 10px !important;
    border-radius: 8px !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .product-secondary-actions {
    gap: 5px !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .product-secondary-actions > * {
    min-height: 28px !important;
    font-size: 8px !important;
  }

  .public-mode .recommended-card > button,
  .public-mode .offer-card > button {
    aspect-ratio: 1.08 / 1 !important;
    max-height: 170px !important;
  }

  .public-mode .recommended-card > div,
  .public-mode .offer-card > div {
    gap: 6px !important;
    padding: 8px !important;
  }

  .public-mode .recommended-card strong,
  .public-mode .offer-card strong {
    font-size: 11px !important;
  }

  .public-mode .recommended-card small,
  .public-mode .offer-card small {
    font-size: 8px !important;
  }
}

/* FINAL OVERRIDE 20260717-17: compact chips, full images, two mobile cards */
.public-mode .catalog-layout .catalog-grid .product-card .photo-slot {
  aspect-ratio: 4 / 3 !important;
  min-height: 0 !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .image-preview-button,
.public-mode .recommended-card > button,
.public-mode .offer-card > button {
  display: grid !important;
  place-items: center !important;
  overflow: hidden !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .photo-slot img,
.public-mode .catalog-layout .catalog-grid .product-card .image-preview-button img,
.public-mode .recommended-card img,
.public-mode .offer-card img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .stock-selector-heading,
.public-mode .recommended-card .stock-selector-heading,
.public-mode .offer-card .stock-selector-heading {
  margin-bottom: 2px !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .stock-selector-heading strong,
.public-mode .recommended-card .stock-selector-heading strong,
.public-mode .offer-card .stock-selector-heading strong {
  font-size: 13px !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .stock-selector-heading span,
.public-mode .recommended-card .stock-selector-heading span,
.public-mode .offer-card .stock-selector-heading span {
  font-size: 10px !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .stock-store-row,
.public-mode .recommended-card .stock-store-row,
.public-mode .offer-card .stock-store-row {
  display: grid !important;
  grid-template-columns: 1fr !important;
  align-items: start !important;
  gap: 6px !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .stock-store-row > strong,
.public-mode .recommended-card .stock-store-row > strong,
.public-mode .offer-card .stock-store-row > strong {
  min-height: 0 !important;
  border-right: 0 !important;
  color: #102618 !important;
  font-size: 11px !important;
  line-height: 1.1 !important;
  letter-spacing: .04em !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .stock-chip-list,
.public-mode .recommended-card .stock-chip-list,
.public-mode .offer-card .stock-chip-list {
  display: flex !important;
  flex-flow: row nowrap !important;
  gap: 5px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  padding: 1px 1px 7px !important;
  scrollbar-width: thin;
}

.public-mode .catalog-layout .catalog-grid .product-card .stock-choice,
.public-mode .recommended-card .stock-choice,
.public-mode .offer-card .stock-choice {
  flex: 0 0 auto !important;
  min-width: 58px !important;
  min-height: 28px !important;
  height: 28px !important;
  padding: 0 8px !important;
  border-radius: 7px !important;
  gap: 3px !important;
  font-weight: 850 !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .stock-choice span,
.public-mode .catalog-layout .catalog-grid .product-card .stock-choice small,
.public-mode .recommended-card .stock-choice span,
.public-mode .recommended-card .stock-choice small,
.public-mode .offer-card .stock-choice span,
.public-mode .offer-card .stock-choice small {
  font-size: 11px !important;
  line-height: 1 !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .stock-choice small,
.public-mode .recommended-card .stock-choice small,
.public-mode .offer-card .stock-choice small {
  color: #5e665f !important;
}

@media (max-width: 760px) {
  .public-mode .catalog-layout .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card {
    border-radius: 13px !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .photo-slot {
    aspect-ratio: 1 / 1 !important;
    padding: 6px 6px 0 !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .photo-thumbs {
    min-height: 28px !important;
    padding: 4px 6px !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .photo-thumb {
    flex-basis: 26px !important;
    width: 26px !important;
    height: 22px !important;
    min-height: 22px !important;
    border-radius: 6px !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .product-info {
    padding: 9px !important;
    gap: 8px !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .product-heading strong {
    font-size: 9px !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card h3 {
    font-size: 13px !important;
    line-height: 1.12 !important;
    -webkit-line-clamp: 2;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .product-code-line {
    font-size: 10px !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .product-price-panel {
    grid-template-columns: 1fr !important;
    gap: 5px !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .normal-price-block strong {
    font-size: 15px !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .cash-price-block strong {
    font-size: 20px !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .product-price-panel small {
    justify-self: stretch !important;
    min-width: 0 !important;
    padding: 5px 8px !important;
    font-size: 9px !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .stock-selector {
    gap: 8px !important;
    padding-top: 8px !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .stock-selector-heading {
    display: grid !important;
    gap: 2px !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .stock-selector-heading strong {
    font-size: 11px !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .stock-selector-heading span {
    font-size: 9px !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .stock-store-row > strong {
    font-size: 9px !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .stock-choice {
    min-width: 48px !important;
    height: 26px !important;
    min-height: 26px !important;
    padding: 0 6px !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .stock-choice span,
  .public-mode .catalog-layout .catalog-grid .product-card .stock-choice small {
    font-size: 9px !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .order-controls button[data-add-code] {
    min-height: 38px !important;
    font-size: 12px !important;
    border-radius: 8px !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .product-secondary-actions > * {
    font-size: 11px !important;
    min-height: 28px !important;
  }
}

/* Final visual fix: one clean light retail language for catalog, featured and offers */
.public-mode .catalog-results,
.public-mode .catalog-layout,
.public-mode .load-more-wrap {
  background: #f6f5f0 !important;
}

@media (min-width: 981px) {
  .public-mode .catalog-layout {
    grid-template-columns: minmax(248px, 278px) minmax(0, 1fr) !important;
    gap: 20px !important;
  }

  .public-mode .catalog-layout .catalog-grid {
    grid-template-columns: repeat(2, minmax(500px, 1fr)) !important;
    gap: 22px !important;
  }
}

.public-mode .catalog-layout .catalog-grid .product-card,
.public-mode .recommended-card,
.public-mode .offer-card {
  overflow: hidden !important;
  border: 1px solid #dedfd8 !important;
  border-radius: 18px !important;
  background: #ffffff !important;
  color: #101713 !important;
  box-shadow: 0 12px 30px rgba(18, 32, 23, 0.10) !important;
}

.public-mode .recommended-card > button,
.public-mode .offer-card > button,
.public-mode .catalog-layout .catalog-grid .product-card .photo-slot {
  background: #ffffff !important;
}

.public-mode .recommended-card img,
.public-mode .offer-card img,
.public-mode .catalog-layout .catalog-grid .product-card .photo-slot img {
  object-fit: contain !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .photo-slot {
  aspect-ratio: 2.45 / 1 !important;
  padding: 10px 10px 0 !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .image-preview-button {
  border-radius: 10px !important;
  background: linear-gradient(180deg, #fbfbfa, #f3f4f0) !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .photo-thumbs {
  background: rgba(246, 245, 240, 0.96) !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .product-info,
.public-mode .recommended-card > div,
.public-mode .offer-card > div {
  background: #ffffff !important;
  color: #101713 !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .product-info {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(250px, .86fr) !important;
  gap: 18px 22px !important;
  padding: 20px 22px 18px !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .product-heading strong,
.public-mode .recommended-card span,
.public-mode .offer-card span {
  color: #0d2518 !important;
}

.public-mode .catalog-layout .catalog-grid .product-card h3,
.public-mode .recommended-card strong,
.public-mode .offer-card strong {
  min-height: 0 !important;
  color: #101713 !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-weight: 700 !important;
  text-transform: none !important;
}

.public-mode .catalog-layout .catalog-grid .product-card h3 {
  margin-top: 8px !important;
  font-size: clamp(22px, 1.7vw, 30px) !important;
  line-height: 1.05 !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .product-code-line {
  margin-top: 8px !important;
  color: #7a7d78 !important;
  font-size: 14px !important;
  font-weight: 500 !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .product-price-panel {
  align-self: start !important;
  display: grid !important;
  grid-template-columns: minmax(100px, .75fr) minmax(150px, 1fr) !important;
  gap: 8px 24px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .product-price-panel small {
  grid-column: 1 / -1 !important;
  justify-self: end !important;
  min-width: min(100%, 290px) !important;
  padding: 6px 18px !important;
  border-radius: 999px !important;
  background: #edf8dc !important;
  color: #17481e !important;
  text-align: center !important;
  font-size: 12px !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .normal-price-block span,
.public-mode .catalog-layout .catalog-grid .product-card .cash-price-block span {
  color: #242b25 !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  letter-spacing: .02em !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .normal-price-block strong {
  color: #111713 !important;
  font-size: clamp(24px, 2vw, 34px) !important;
  font-weight: 400 !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .cash-price-block strong {
  color: #226f26 !important;
  font-size: clamp(32px, 2.5vw, 44px) !important;
  font-weight: 800 !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .product-buy-controls,
.public-mode .recommended-card .product-buy-controls,
.public-mode .offer-card .product-buy-controls {
  grid-column: 1 / -1 !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 12px !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .stock-selector,
.public-mode .recommended-card .stock-selector,
.public-mode .offer-card .stock-selector {
  display: grid !important;
  gap: 12px !important;
  padding: 14px 0 8px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .stock-selector-heading,
.public-mode .recommended-card .stock-selector-heading,
.public-mode .offer-card .stock-selector-heading {
  display: flex !important;
  justify-content: space-between !important;
  align-items: end !important;
  gap: 12px !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .stock-selector-heading strong,
.public-mode .recommended-card .stock-selector-heading strong,
.public-mode .offer-card .stock-selector-heading strong {
  color: #111713 !important;
  font-size: 15px !important;
  letter-spacing: .01em !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .stock-store-row,
.public-mode .recommended-card .stock-store-row,
.public-mode .offer-card .stock-store-row {
  display: grid !important;
  grid-template-columns: 152px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 12px !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .stock-store-row > strong,
.public-mode .recommended-card .stock-store-row > strong,
.public-mode .offer-card .stock-store-row > strong {
  min-height: 40px !important;
  display: flex !important;
  align-items: center !important;
  border-right: 1px solid #e5e6e0 !important;
  color: #102618 !important;
  font-size: 12px !important;
  letter-spacing: .03em !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .stock-chip-list,
.public-mode .recommended-card .stock-chip-list,
.public-mode .offer-card .stock-chip-list {
  display: flex !important;
  flex-flow: row nowrap !important;
  gap: 8px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  padding: 2px 2px 6px !important;
  scroll-snap-type: x proximity;
}

.public-mode .catalog-layout .catalog-grid .product-card .stock-choice,
.public-mode .recommended-card .stock-choice,
.public-mode .offer-card .stock-choice {
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 104px !important;
  min-height: 42px !important;
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  padding: 0 12px !important;
  border: 1px solid #dfe1da !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  color: #101713 !important;
  scroll-snap-align: start;
}

.public-mode .catalog-layout .catalog-grid .product-card .stock-choice span,
.public-mode .catalog-layout .catalog-grid .product-card .stock-choice small,
.public-mode .recommended-card .stock-choice span,
.public-mode .recommended-card .stock-choice small,
.public-mode .offer-card .stock-choice span,
.public-mode .offer-card .stock-choice small {
  color: #101713 !important;
  font-size: 13px !important;
  line-height: 1 !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .stock-choice.last-unit,
.public-mode .recommended-card .stock-choice.last-unit,
.public-mode .offer-card .stock-choice.last-unit {
  border-color: #f0ae20 !important;
  background: #fff9e8 !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .stock-choice.active,
.public-mode .recommended-card .stock-choice.active,
.public-mode .offer-card .stock-choice.active {
  border-color: #8bd737 !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 2px rgba(139, 215, 55, .34) !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .order-controls button[data-add-code],
.public-mode .recommended-card .order-controls button[data-add-code],
.public-mode .offer-card .order-controls button[data-add-code] {
  width: 100% !important;
  min-height: 54px !important;
  border-radius: 10px !important;
  background: linear-gradient(135deg, #9bff25, #88df25) !important;
  color: #101713 !important;
  font-size: 17px !important;
  font-weight: 900 !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .order-controls button[data-add-code]:disabled,
.public-mode .recommended-card .order-controls button[data-add-code]:disabled,
.public-mode .offer-card .order-controls button[data-add-code]:disabled {
  background: #dce2d7 !important;
  color: #69736c !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .product-secondary-actions {
  grid-column: 1 / -1 !important;
  margin-top: 2px !important;
  padding-top: 14px !important;
  border-top: 1px solid #e8e8e3 !important;
  justify-content: stretch !important;
  gap: 0 !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .product-secondary-actions > * {
  flex: 1 1 50% !important;
  min-height: 34px !important;
  color: #111713 !important;
  font-size: 15px !important;
  text-align: center !important;
  text-decoration: none !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .product-secondary-actions > * + * {
  border-left: 1px solid #e8e8e3 !important;
}

.public-mode .recommended-card .cash-discount-badge,
.public-mode .offer-card .cash-discount-badge {
  border-radius: 10px !important;
}

.public-mode .offer-card .cash-discount-badge,
.public-mode .offer-badge {
  background: linear-gradient(135deg, #e51b23, #ff3e45) !important;
  color: #ffffff !important;
}

@media (max-width: 1280px) and (min-width: 981px) {
  .public-mode .catalog-layout .catalog-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 760px) {
  .public-mode .catalog-layout .catalog-grid .product-card .photo-slot {
    aspect-ratio: 1.28 / 1 !important;
    padding: 8px 8px 0 !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .product-info {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    padding: 14px !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card h3 {
    font-size: 18px !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .product-price-panel {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px 12px !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .normal-price-block strong {
    font-size: 20px !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .cash-price-block strong {
    font-size: 26px !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .stock-store-row,
  .public-mode .recommended-card .stock-store-row,
  .public-mode .offer-card .stock-store-row {
    grid-template-columns: 1fr !important;
    gap: 6px !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .stock-store-row > strong,
  .public-mode .recommended-card .stock-store-row > strong,
  .public-mode .offer-card .stock-store-row > strong {
    min-height: 22px !important;
    border-right: 0 !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .stock-choice,
  .public-mode .recommended-card .stock-choice,
  .public-mode .offer-card .stock-choice {
    min-width: 92px !important;
    min-height: 40px !important;
  }
}

/* Reference card direction: wide, calm, premium retail cards */
@media (min-width: 981px) {
  .public-mode .catalog-layout {
    grid-template-columns: minmax(250px, 280px) minmax(0, 1fr) !important;
    gap: 20px !important;
    background: #f6f5f0 !important;
  }

  .public-mode .catalog-layout .catalog-grid {
    grid-template-columns: repeat(2, minmax(520px, 1fr)) !important;
    gap: 22px !important;
  }
}

.public-mode .catalog-layout .catalog-grid .product-card {
  border-radius: 18px !important;
  border-color: #dedfd8 !important;
  box-shadow: 0 12px 30px rgba(18, 32, 23, 0.10) !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .photo-slot {
  aspect-ratio: 2.45 / 1 !important;
  padding: 10px 10px 0 !important;
  background: #ffffff !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .image-preview-button {
  border-radius: 10px !important;
  background: linear-gradient(180deg, #fbfbfa, #f3f4f0) !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .product-info {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 0.86fr) !important;
  gap: 18px 22px !important;
  padding: 20px 22px 18px !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .product-heading {
  align-content: start !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .product-heading strong {
  color: #0d2518 !important;
  font-size: 13px !important;
  letter-spacing: .04em !important;
}

.public-mode .catalog-layout .catalog-grid .product-card h3 {
  min-height: 0 !important;
  margin-top: 8px !important;
  color: #101713 !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: clamp(22px, 1.7vw, 30px) !important;
  font-weight: 700 !important;
  line-height: 1.05 !important;
  text-transform: none !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .product-code-line {
  margin-top: 8px !important;
  color: #7a7d78 !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .product-price-panel {
  align-self: start !important;
  display: grid !important;
  grid-template-columns: minmax(100px, .75fr) minmax(150px, 1fr) !important;
  gap: 8px 24px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .product-price-panel small {
  grid-column: 1 / -1 !important;
  justify-self: end !important;
  min-width: min(100%, 290px) !important;
  padding: 6px 18px !important;
  border-radius: 999px !important;
  background: #edf8dc !important;
  color: #17481e !important;
  text-align: center !important;
  font-size: 12px !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .normal-price-block span,
.public-mode .catalog-layout .catalog-grid .product-card .cash-price-block span {
  color: #242b25 !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  letter-spacing: .02em !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .normal-price-block strong {
  color: #111713 !important;
  font-size: clamp(24px, 2vw, 34px) !important;
  font-weight: 400 !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .cash-price-block strong {
  color: #226f26 !important;
  font-size: clamp(32px, 2.5vw, 44px) !important;
  font-weight: 800 !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .product-buy-controls {
  grid-column: 1 / -1 !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .stock-selector {
  gap: 14px !important;
  padding: 14px 2px 8px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .stock-selector-heading {
  grid-template-columns: 1fr auto !important;
  align-items: end !important;
  padding: 0 4px !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .stock-selector-heading strong {
  color: #111713 !important;
  font-size: 17px !important;
  letter-spacing: .01em !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .stock-selector-heading span {
  color: #737a75 !important;
  font-size: 12px !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .stock-store-row {
  grid-template-columns: 180px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 14px !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .stock-store-row > strong {
  min-height: 42px !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  border-right: 1px solid #e5e6e0 !important;
  color: #102618 !important;
  font-size: 14px !important;
  letter-spacing: .02em !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .stock-chip-list {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(108px, 1fr)) !important;
  gap: 9px !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .stock-choice {
  min-width: 0 !important;
  min-height: 42px !important;
  grid-template-columns: auto auto !important;
  gap: 5px !important;
  border-color: #dfe1da !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  box-shadow: inset 0 0 0 1px rgba(16, 23, 19, 0.02) !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .stock-choice span,
.public-mode .catalog-layout .catalog-grid .product-card .stock-choice small {
  font-size: 14px !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .stock-choice.last-unit::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #f5a400;
}

.public-mode .catalog-layout .catalog-grid .product-card .stock-choice.active {
  border-color: #8bd737 !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 1px #8bd737 !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .order-controls button[data-add-code] {
  min-height: 58px !important;
  border-radius: 9px !important;
  font-size: 20px !important;
  letter-spacing: 0 !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .order-controls button[data-add-code]::before {
  content: "🛍";
  margin-right: 10px;
}

.public-mode .catalog-layout .catalog-grid .product-card .product-secondary-actions {
  grid-column: 1 / -1 !important;
  margin-top: 2px !important;
  padding-top: 14px !important;
  border-top: 1px solid #e8e8e3 !important;
  justify-content: stretch !important;
  gap: 0 !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .product-secondary-actions > * {
  flex: 1 1 50% !important;
  min-height: 34px !important;
  color: #111713 !important;
  font-size: 15px !important;
  text-align: center !important;
  text-decoration: none !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .product-secondary-actions > * + * {
  border-left: 1px solid #e8e8e3 !important;
}

@media (max-width: 1280px) and (min-width: 981px) {
  .public-mode .catalog-layout .catalog-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 760px) {
  .public-mode .catalog-layout .catalog-grid .product-card .photo-slot {
    aspect-ratio: 1.28 / 1 !important;
    padding: 8px 8px 0 !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .product-info {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    padding: 14px !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card h3 {
    font-size: 18px !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .product-price-panel {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px 12px !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .normal-price-block strong {
    font-size: 20px !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .cash-price-block strong {
    font-size: 26px !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .stock-store-row {
    grid-template-columns: 1fr !important;
    gap: 7px !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .stock-store-row > strong {
    min-height: 24px !important;
    border-right: 0 !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .stock-chip-list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .order-controls button[data-add-code] {
    min-height: 50px !important;
    font-size: 15px !important;
  }
}

/* Final retail product-card system: clean light cards over Dwilly dark commerce pages */
.public-mode .catalog-layout,
.public-mode .catalog-results,
.public-mode .load-more-wrap {
  background: #f6f5f0 !important;
}

.public-mode .catalog-layout .catalog-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 18px !important;
  align-items: stretch !important;
  background: #f6f5f0 !important;
  padding: 0 !important;
}

.public-mode .catalog-layout .catalog-grid .product-card {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
  height: 100% !important;
  overflow: hidden !important;
  border: 1px solid #e1e3dc !important;
  border-radius: 16px !important;
  background: #ffffff !important;
  color: #0d2518 !important;
  box-shadow: 0 14px 34px rgba(13, 37, 24, 0.10) !important;
}

.public-mode .catalog-layout .catalog-grid .product-card:hover {
  border-color: rgba(19, 138, 79, 0.32) !important;
  box-shadow: 0 20px 48px rgba(13, 37, 24, 0.14) !important;
}

.public-mode .catalog-layout .catalog-grid .product-card::after {
  display: none !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .photo-slot {
  width: 100% !important;
  aspect-ratio: 4 / 3 !important;
  min-height: 0 !important;
  display: grid !important;
  grid-template-rows: minmax(0, 1fr) auto !important;
  gap: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: linear-gradient(180deg, #ffffff, #f7f8f5) !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .image-preview-button {
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: auto !important;
  display: grid !important;
  place-items: center !important;
  padding: 10px !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .photo-slot img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .photo-thumbs {
  width: 100% !important;
  min-height: 42px !important;
  display: flex !important;
  gap: 6px !important;
  overflow-x: auto !important;
  padding: 6px 10px 9px !important;
  border-top: 1px solid #e7e8e2 !important;
  background: rgba(246, 245, 240, 0.95) !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .photo-thumb {
  flex: 0 0 36px !important;
  width: 36px !important;
  height: 30px !important;
  min-height: 30px !important;
  border-radius: 8px !important;
  border: 1px solid #d9dbd4 !important;
  background: #ffffff !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .photo-thumb.active {
  border-color: #8bd737 !important;
  box-shadow: 0 0 0 1px rgba(139, 215, 55, 0.54) !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .product-logo-badge {
  top: 12px !important;
  right: 12px !important;
  left: auto !important;
  width: 34px !important;
  height: 34px !important;
  border-radius: 11px !important;
  border: 1px solid rgba(13, 37, 24, 0.10) !important;
  background: rgba(255, 255, 255, 0.94) !important;
  box-shadow: 0 8px 18px rgba(13, 37, 24, 0.16) !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .product-logo-badge img {
  width: 25px !important;
  height: 25px !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .product-info {
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  padding: 14px !important;
  background: #ffffff !important;
  color: #0d2518 !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .product-heading {
  display: grid !important;
  gap: 4px !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .product-heading strong {
  color: #0f764c !important;
  font-size: 11px !important;
  line-height: 1.1 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .product-heading span {
  color: #7d867f !important;
  font-size: 11px !important;
  font-weight: 850 !important;
  line-height: 1.15 !important;
}

.public-mode .catalog-layout .catalog-grid .product-card h3 {
  min-height: 42px !important;
  margin: 0 !important;
  color: #0d2518 !important;
  font-size: 17px !important;
  line-height: 1.22 !important;
  letter-spacing: 0 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .product-price-panel {
  display: grid !important;
  gap: 8px !important;
  padding: 12px !important;
  border: 1px solid #e2e6dd !important;
  border-radius: 14px !important;
  background: #fbfbf8 !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .normal-price-block,
.public-mode .catalog-layout .catalog-grid .product-card .cash-price-block {
  display: grid !important;
  gap: 3px !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .normal-price-block span,
.public-mode .catalog-layout .catalog-grid .product-card .cash-price-block span,
.public-mode .catalog-layout .catalog-grid .product-card .product-price-panel small {
  color: #657069 !important;
  font-size: 9px !important;
  font-weight: 950 !important;
  letter-spacing: .05em !important;
  line-height: 1.15 !important;
  text-transform: uppercase !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .normal-price-block strong {
  color: #0d2518 !important;
  font-size: 18px !important;
  line-height: 1 !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .cash-price-block strong {
  color: #0f8b50 !important;
  font-size: 25px !important;
  line-height: 1 !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .product-price-panel small {
  color: #0f8b50 !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .stock-selector {
  display: grid !important;
  gap: 9px !important;
  padding: 12px !important;
  border: 1px solid #e2e6dd !important;
  border-radius: 14px !important;
  background: #ffffff !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .stock-selector.empty {
  color: #657069 !important;
  font-size: 12px !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .stock-selector-heading {
  display: grid !important;
  gap: 2px !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .stock-selector-heading strong,
.public-mode .catalog-layout .catalog-grid .product-card .stock-store-row > strong {
  color: #0d2518 !important;
  font-size: 10px !important;
  font-weight: 950 !important;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .stock-selector-heading span {
  color: #7d867f !important;
  font-size: 11px !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .stock-store-row {
  display: grid !important;
  gap: 7px !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .stock-chip-list {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .stock-choice {
  min-width: 58px !important;
  min-height: 40px !important;
  display: grid !important;
  place-items: center !important;
  gap: 1px !important;
  padding: 6px 9px !important;
  border: 1px solid #d7ddd4 !important;
  border-radius: 12px !important;
  background: #f8f8f5 !important;
  color: #0d2518 !important;
  font-weight: 950 !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .stock-choice span {
  color: #0d2518 !important;
  font-size: 13px !important;
  line-height: 1 !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .stock-choice small {
  color: #657069 !important;
  font-size: 9px !important;
  line-height: 1 !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .stock-choice.last-unit {
  border-color: #e1ad35 !important;
  background: #fff7e3 !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .stock-choice.active {
  border-color: #8bd737 !important;
  background: #efffdf !important;
  box-shadow: 0 0 0 2px rgba(139, 215, 55, 0.34) !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .product-buy-controls,
.public-mode .catalog-layout .catalog-grid .product-card .order-controls {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 10px !important;
  margin-top: auto !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .order-controls button[data-add-code] {
  width: 100% !important;
  min-height: 48px !important;
  height: auto !important;
  padding: 0 14px !important;
  border: 0 !important;
  border-radius: 14px !important;
  background: linear-gradient(135deg, #98f026, #7fd91d) !important;
  color: #0d2518 !important;
  font-size: 14px !important;
  font-weight: 950 !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .order-controls button[data-add-code]:disabled {
  background: #e6e8e0 !important;
  color: #707a73 !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .product-secondary-actions {
  display: flex !important;
  justify-content: center !important;
  gap: 16px !important;
  padding-top: 2px !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .product-secondary-actions .detail-button,
.public-mode .catalog-layout .catalog-grid .product-card .product-secondary-actions .share-product-button {
  width: auto !important;
  min-height: 30px !important;
  height: auto !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #0f764c !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  text-decoration: underline;
  text-underline-offset: 3px;
  box-shadow: none !important;
}

.public-mode .cart-qty-controls {
  width: fit-content;
  display: inline-grid;
  grid-template-columns: 34px minmax(30px, auto) 34px;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  padding: 4px;
  border: 1px solid rgba(139, 215, 55, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.public-mode .cart-qty-controls button {
  width: 34px !important;
  height: 30px !important;
  min-height: 30px !important;
  padding: 0 !important;
  border-radius: 999px !important;
  background: rgba(139, 215, 55, 0.18) !important;
  color: #f7fbf3 !important;
  font-size: 18px !important;
  font-weight: 950 !important;
  line-height: 1 !important;
}

.public-mode .cart-qty-controls strong {
  min-width: 28px;
  color: #9fff4c !important;
  font-size: 14px !important;
  text-align: center;
}

@media (max-width: 1280px) {
  .public-mode .catalog-layout .catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 980px) {
  .public-mode .catalog-layout .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 760px) {
  .public-mode .catalog-layout,
  .public-mode .catalog-results,
  .public-mode .load-more-wrap {
    background: #f6f5f0 !important;
  }

  .public-mode .catalog-layout .catalog-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .product-info {
    padding: 13px !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card h3 {
    font-size: 16px !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .cash-price-block strong {
    font-size: 23px !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .stock-choice {
    min-width: 56px !important;
  }
}

/* Real brand logos: cleaner retail chips */
.public-mode .brand-logo-mark {
  background: #fff !important;
  color: #07120d !important;
  overflow: hidden;
}

.public-mode .brand-logo-mark img {
  display: block;
  width: 78%;
  height: 78%;
  object-fit: contain;
}

.public-mode .brand-product-mark {
  overflow: hidden;
  background: #f5f7f2 !important;
  color: #07120d !important;
}

.public-mode .brand-product-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.public-mode .brand-logo-mark.brand-skechers img {
  width: 90%;
  height: 66%;
}

.public-mode .featured-brands .featured-brand-card {
  border-radius: 16px !important;
  clip-path: none !important;
}

.public-mode .featured-brands .featured-brand-card::before,
.public-mode .featured-brands .featured-brand-card::after {
  display: none !important;
}

.public-mode .mobile-smart-chips .brand-mini {
  margin-right: 2px;
}

.public-mode .recommended-brand-icon {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  font-size: 9px;
  font-style: normal;
}

.public-mode .recommended-brand-icon.brand-logo-mark img {
  width: 80%;
  height: 80%;
}

.public-mode .recommended-brand-icon.brand-logo-mark.brand-skechers img {
  width: 92%;
  height: 62%;
}

.public-mode .recommended-brand-lockup {
  max-width: 100%;
}

.public-mode .recommended-brand-lockup em {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .public-mode .featured-brands {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .public-mode .featured-brands .featured-brand-card {
    flex-basis: 52vw !important;
    min-width: 172px !important;
  }

  .public-mode .brand-logo-mark img {
    width: 76%;
    height: 76%;
  }
}

/* Final mobile fix: keep payment condition visible in the hero */
.public-mode .hero-discount-callout small {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  color: #07120d !important;
}

@media (max-width: 380px) {
  .public-mode .hero-discount-callout small {
    display: inline-flex !important;
    font-size: 8px !important;
    line-height: 1.05 !important;
  }
}

/* Premium mobile brand strip */
@media (max-width: 760px) {
  .public-mode .mobile-smart-group > strong {
    margin-bottom: 10px !important;
    letter-spacing: .08em;
  }

  .public-mode .mobile-smart-chips {
    gap: 10px !important;
    padding: 2px 14px 8px 0 !important;
    scroll-snap-type: x proximity;
  }

  .public-mode .mobile-smart-chips button.brand-story {
    position: relative;
    flex: 0 0 130px !important;
    width: 130px !important;
    min-height: 76px !important;
    padding: 10px 9px !important;
    border-radius: 18px !important;
    border: 1px solid rgba(158, 255, 76, 0.22) !important;
    background:
      linear-gradient(145deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.045)),
      rgba(16, 30, 24, 0.96) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 14px 28px rgba(0, 0, 0, 0.20);
    color: #f5fff1 !important;
    display: grid !important;
    grid-template-columns: 34px minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: center;
    justify-items: start !important;
    column-gap: 8px !important;
    row-gap: 2px !important;
    text-align: left;
    overflow: hidden;
    scroll-snap-align: start;
  }

  .public-mode .mobile-smart-chips button.brand-story::after {
    content: "";
    position: absolute;
    right: -22px;
    top: -22px;
    width: 76px;
    height: 76px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(158, 255, 76, 0.16), transparent 68%);
    pointer-events: none;
  }

  .public-mode .mobile-smart-chips button.brand-story .brand-mini {
    grid-row: 1 / 3;
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    border-radius: 11px !important;
    background: #f9fff5 !important;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
  }

  .public-mode .mobile-smart-chips button.brand-story .brand-mini img {
    width: 78% !important;
    height: 78% !important;
    object-fit: contain;
  }

  .public-mode .mobile-smart-chips button.brand-story span:not(.brand-mini) {
    max-width: 100%;
    color: #ffffff !important;
    font-size: 11px !important;
    line-height: 1.08 !important;
    font-weight: 950 !important;
    min-height: 24px;
    white-space: normal;
    overflow: hidden;
    text-overflow: clip;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow-wrap: anywhere;
  }

  .public-mode .mobile-smart-chips button.brand-story small {
    color: #9eff4c !important;
    font-size: 8px !important;
    font-weight: 950 !important;
    letter-spacing: .03em;
    text-transform: uppercase;
  }

  .public-mode .mobile-smart-chips button.brand-story.long-brand-name span:not(.brand-mini) {
    font-size: 9.5px !important;
    line-height: 1.05 !important;
  }

  .public-mode .mobile-smart-chips button.brand-story.active {
    border-color: rgba(158, 255, 76, 0.95) !important;
    background:
      linear-gradient(135deg, rgba(158, 255, 76, 0.22), rgba(255, 255, 255, 0.08)),
      #14241a !important;
    color: white !important;
    box-shadow: 0 0 0 1px rgba(158, 255, 76, 0.36), 0 18px 32px rgba(0, 0, 0, 0.28);
  }
}

/* Premium desktop brand filters */
@media (min-width: 981px) {
  .public-mode #brand-quick-filters {
    padding: 14px !important;
    border-radius: 16px !important;
    background:
      linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035)),
      rgba(12, 24, 18, 0.96) !important;
  }

  .public-mode #brand-quick-filters > strong {
    margin-bottom: 12px !important;
    color: rgba(255, 255, 255, 0.78) !important;
    font-size: 12px !important;
    letter-spacing: .08em;
  }

  .public-mode #brand-quick-filters .brand-quick-row {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 9px !important;
    max-height: 360px;
    overflow-y: auto;
    overflow-x: hidden !important;
    padding: 0 3px 2px 0 !important;
    scrollbar-width: thin;
    scrollbar-color: rgba(158, 255, 76, 0.55) rgba(255, 255, 255, 0.08);
  }

  .public-mode #brand-quick-filters .brand-quick-card {
    width: 100% !important;
    min-height: 58px !important;
    padding: 9px 10px !important;
    border-radius: 14px !important;
    border: 1px solid rgba(158, 255, 76, 0.18) !important;
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035)),
      rgba(18, 34, 26, 0.90) !important;
    color: white !important;
    display: grid !important;
    grid-template-columns: 36px minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 10px;
    text-align: left !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  }

  .public-mode #brand-quick-filters .brand-quick-card .brand-mini {
    grid-row: 1 / 3;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    margin: 0 !important;
    border-radius: 12px !important;
    background: #f8fff4 !important;
  }

  .public-mode #brand-quick-filters .brand-quick-card span:not(.brand-mini) {
    min-width: 0;
    color: #ffffff !important;
    font-size: 12px !important;
    line-height: 1.08 !important;
    font-weight: 950 !important;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow-wrap: anywhere;
  }

  .public-mode #brand-quick-filters .brand-quick-card small {
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #9eff4c !important;
    font-size: 9px !important;
    line-height: 1.1 !important;
    font-weight: 950 !important;
    letter-spacing: .03em;
    text-align: left !important;
    text-transform: uppercase;
  }

  .public-mode #brand-quick-filters .brand-quick-card:hover,
  .public-mode #brand-quick-filters .brand-quick-card.active {
    border-color: rgba(158, 255, 76, 0.86) !important;
    background:
      linear-gradient(135deg, rgba(158, 255, 76, 0.18), rgba(255, 255, 255, 0.06)),
      rgba(20, 39, 28, 0.98) !important;
    box-shadow: 0 0 0 1px rgba(158, 255, 76, 0.25), 0 14px 24px rgba(0, 0, 0, 0.18);
  }
}

/* Desktop polish: fuller hero and six key brand cards */
@media (min-width: 1000px) {
  .public-mode .public-intro {
    grid-template-columns: minmax(520px, 0.78fr) minmax(520px, 1.22fr) !important;
  }

  .public-mode .hero-copy {
    justify-self: start !important;
    width: min(620px, 100%) !important;
    padding-left: clamp(48px, 7vw, 96px) !important;
    padding-right: 28px !important;
  }

  .public-mode .hero-carousel {
    left: 38% !important;
    width: 62% !important;
  }

  .public-mode .hero-carousel span {
    background-size: cover !important;
    background-position: center right !important;
  }

  .public-mode .public-intro::after {
    background:
      linear-gradient(90deg, rgba(3, 10, 7, 0.98) 0%, rgba(3, 10, 7, 0.90) 31%, rgba(3, 10, 7, 0.58) 49%, rgba(3, 10, 7, 0.14) 100%),
      radial-gradient(circle at 76% 52%, rgba(158, 224, 107, 0.14), transparent 34%) !important;
  }

  .public-mode .featured-brands {
    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    gap: 12px !important;
    overflow: visible !important;
    padding-right: 0 !important;
  }

  .public-mode .featured-brands .featured-brand-card {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 74px !important;
    grid-template-columns: 42px minmax(0, 1fr) !important;
    padding: 12px !important;
  }

  .public-mode .featured-brands .brand-mark {
    width: 42px !important;
    height: 42px !important;
  }

  .public-mode .featured-brands .brand-copy strong {
    font-size: 15px !important;
  }

  .public-mode .featured-brands .brand-copy small {
    font-size: 10px !important;
  }
}

/* FINAL OVERRIDE 20260717-16: horizontal stock chips and unified light cards */
.public-mode .catalog-results,
.public-mode .catalog-layout,
.public-mode .load-more-wrap {
  background: #f6f5f0 !important;
}

@media (min-width: 1640px) {
  .public-mode .catalog-layout .catalog-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }
}

@media (min-width: 1100px) and (max-width: 1639px) {
  .public-mode .catalog-layout .catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }
}

@media (min-width: 761px) and (max-width: 1099px) {
  .public-mode .catalog-layout .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }
}

.public-mode .recommended-grid,
.public-mode .offers-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 14px !important;
}

.public-mode .catalog-layout .catalog-grid .product-card,
.public-mode .recommended-card,
.public-mode .offer-card {
  border: 1px solid #dedfd8 !important;
  border-radius: 18px !important;
  background: #fff !important;
  color: #101713 !important;
  box-shadow: 0 12px 30px rgba(18, 32, 23, .10) !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .product-info,
.public-mode .recommended-card > div,
.public-mode .offer-card > div {
  background: #fff !important;
  color: #101713 !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .photo-slot {
  aspect-ratio: 1.28 / 1 !important;
  min-height: 0 !important;
  padding: 8px !important;
  background: #fff !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .image-preview-button,
.public-mode .recommended-card > button,
.public-mode .offer-card > button {
  background: linear-gradient(180deg, #fbfbfa, #f3f4f0) !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .product-info {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 9px !important;
  padding: 12px !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .product-heading strong,
.public-mode .catalog-layout .catalog-grid .product-card h3,
.public-mode .recommended-card strong,
.public-mode .offer-card strong {
  color: #101713 !important;
}

.public-mode .catalog-layout .catalog-grid .product-card h3 {
  min-height: 0 !important;
  font-size: clamp(15px, 1vw, 18px) !important;
  line-height: 1.14 !important;
  font-weight: 700 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .product-price-panel {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 4px !important;
  padding: 8px !important;
  border: 1px solid #e3eadc !important;
  border-radius: 10px !important;
  background: #f8faf4 !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .product-price-panel small {
  grid-column: 1 / -1 !important;
  justify-self: end !important;
  min-width: min(100%, 290px) !important;
  padding: 6px 18px !important;
  border-radius: 999px !important;
  background: #edf8dc !important;
  color: #17481e !important;
  text-align: center !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .normal-price-block strong {
  color: #111713 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .cash-price-block strong {
  color: #226f26 !important;
  font-size: 19px !important;
  font-weight: 800 !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .product-buy-controls,
.public-mode .recommended-card .product-buy-controls,
.public-mode .offer-card .product-buy-controls {
  grid-column: 1 / -1 !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 12px !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .stock-selector,
.public-mode .recommended-card .stock-selector,
.public-mode .offer-card .stock-selector {
  display: grid !important;
  gap: 8px !important;
  padding: 9px !important;
  border: 1px solid #e5eadf !important;
  border-radius: 10px !important;
  background: #fbfcf8 !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .stock-store-row,
.public-mode .recommended-card .stock-store-row,
.public-mode .offer-card .stock-store-row {
  display: grid !important;
  grid-template-columns: 82px minmax(0, 1fr) !important;
  align-items: start !important;
  gap: 8px !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .stock-store-row > strong,
.public-mode .recommended-card .stock-store-row > strong,
.public-mode .offer-card .stock-store-row > strong {
  min-height: 28px !important;
  display: flex !important;
  align-items: center !important;
  border-right: 1px solid #e5e6e0 !important;
  color: #102618 !important;
  font-size: 9px !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .stock-chip-list,
.public-mode .recommended-card .stock-chip-list,
.public-mode .offer-card .stock-chip-list {
  display: flex !important;
  flex-flow: row nowrap !important;
  gap: 5px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  padding: 1px 2px 4px !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .stock-choice,
.public-mode .recommended-card .stock-choice,
.public-mode .offer-card .stock-choice {
  flex: 0 0 auto !important;
  min-width: 58px !important;
  width: auto !important;
  min-height: 28px !important;
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 3px !important;
  padding: 0 8px !important;
  border: 1px solid #dfe1da !important;
  border-radius: 8px !important;
  background: #fff !important;
  color: #101713 !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .stock-choice span,
  .public-mode .catalog-layout .catalog-grid .product-card .stock-choice small,
.public-mode .recommended-card .stock-choice span,
.public-mode .recommended-card .stock-choice small,
.public-mode .offer-card .stock-choice span,
.public-mode .offer-card .stock-choice small {
  color: #101713 !important;
  font-size: 10px !important;
  line-height: 1 !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .stock-choice.last-unit,
.public-mode .recommended-card .stock-choice.last-unit,
.public-mode .offer-card .stock-choice.last-unit {
  border-color: #f0ae20 !important;
  background: #fff9e8 !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .stock-choice.active,
.public-mode .recommended-card .stock-choice.active,
.public-mode .offer-card .stock-choice.active {
  border-color: #8bd737 !important;
  background: #fff !important;
  box-shadow: 0 0 0 2px rgba(139, 215, 55, .34) !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .order-controls button[data-add-code],
.public-mode .recommended-card .order-controls button[data-add-code],
.public-mode .offer-card .order-controls button[data-add-code] {
  width: 100% !important;
  min-height: 40px !important;
  border-radius: 9px !important;
  background: linear-gradient(135deg, #9bff25, #88df25) !important;
  color: #101713 !important;
  font-size: 13px !important;
  font-weight: 900 !important;
}

.public-mode .catalog-layout .catalog-grid .product-card .order-controls button[data-add-code]:disabled,
.public-mode .recommended-card .order-controls button[data-add-code]:disabled,
.public-mode .offer-card .order-controls button[data-add-code]:disabled {
  background: #dce2d7 !important;
  color: #69736c !important;
}

.public-mode .offer-card .cash-discount-badge,
.public-mode .offer-badge {
  background: linear-gradient(135deg, #e51b23, #ff3e45) !important;
  color: #fff !important;
}

@media (max-width: 760px) {
  .public-mode .catalog-layout .catalog-grid .product-card .product-info {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .stock-store-row,
  .public-mode .recommended-card .stock-store-row,
  .public-mode .offer-card .stock-store-row {
    grid-template-columns: 1fr !important;
    gap: 6px !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .stock-store-row > strong,
  .public-mode .recommended-card .stock-store-row > strong,
  .public-mode .offer-card .stock-store-row > strong {
    min-height: 22px !important;
    border-right: 0 !important;
  }
}

/* FINAL OVERRIDE 20260717-20: absolute EOF compact catalog cards */
.public-mode .catalog-layout .catalog-grid { gap: 16px !important; align-items: start !important; }
@media (min-width: 1640px) { .public-mode .catalog-layout .catalog-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; } }
@media (min-width: 1100px) and (max-width: 1639px) { .public-mode .catalog-layout .catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }
@media (min-width: 761px) and (max-width: 1099px) { .public-mode .catalog-layout .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
.public-mode .catalog-layout .catalog-grid .product-card { overflow: hidden !important; border-radius: 14px !important; background: #fff !important; color: #101713 !important; box-shadow: 0 8px 22px rgba(15, 28, 20, .08) !important; }
.public-mode .catalog-layout .catalog-grid .product-card .photo-slot { aspect-ratio: 1.28 / 1 !important; min-height: 0 !important; padding: 8px !important; background: #f8f8f5 !important; }
.public-mode .catalog-layout .catalog-grid .product-card .image-preview-button { width: 100% !important; height: 100% !important; min-height: 0 !important; border-radius: 10px !important; background: linear-gradient(90deg, #f7f8f3 0 10%, #fff 24% 76%, #f3f5ef 100%) !important; }
.public-mode .catalog-layout .catalog-grid .product-card .photo-slot img, .public-mode .catalog-layout .catalog-grid .product-card .image-preview-button img, .public-mode .recommended-card > button img, .public-mode .offer-card > button img { width: 100% !important; height: 100% !important; object-fit: contain !important; object-position: center !important; }
.public-mode .catalog-layout .catalog-grid .product-card .product-info { display: grid !important; grid-template-columns: 1fr !important; gap: 9px !important; padding: 12px !important; background: #fff !important; color: #101713 !important; }
.public-mode .catalog-layout .catalog-grid .product-card .product-heading strong { width: fit-content !important; padding: 3px 9px !important; border-radius: 999px !important; background: #edf8dc !important; color: #17481e !important; font-size: 10px !important; line-height: 1.1 !important; }
.public-mode .catalog-layout .catalog-grid .product-card h3 { min-height: 0 !important; color: #101713 !important; font-size: clamp(15px, 1vw, 18px) !important; line-height: 1.14 !important; display: -webkit-box !important; -webkit-line-clamp: 2 !important; -webkit-box-orient: vertical !important; overflow: hidden !important; }
.public-mode .catalog-layout .catalog-grid .product-card .product-code-line { color: #7a827b !important; font-size: 10px !important; }
.public-mode .catalog-layout .catalog-grid .product-card .product-price-panel { display: grid !important; grid-template-columns: 1fr !important; gap: 4px !important; padding: 8px !important; border: 1px solid #e3eadc !important; border-radius: 10px !important; background: #f8faf4 !important; }
.public-mode .catalog-layout .catalog-grid .product-card .product-price-panel.offer-price-panel { border-color: rgba(232, 29, 37, .24) !important; background: linear-gradient(135deg, #fff, #fff4f4) !important; }
.public-mode .catalog-layout .catalog-grid .product-card .normal-price-block, .public-mode .catalog-layout .catalog-grid .product-card .cash-price-block { display: flex !important; align-items: baseline !important; justify-content: space-between !important; gap: 8px !important; }
.public-mode .catalog-layout .catalog-grid .product-card .normal-price-block span, .public-mode .catalog-layout .catalog-grid .product-card .cash-price-block span { color: #546057 !important; font-size: 8px !important; letter-spacing: .04em !important; line-height: 1.15 !important; text-transform: uppercase !important; }
.public-mode .catalog-layout .catalog-grid .product-card .normal-price-block strong { color: #151a17 !important; font-size: 14px !important; font-weight: 700 !important; white-space: nowrap !important; }
.public-mode .catalog-layout .catalog-grid .product-card .cash-price-block strong { color: #226f26 !important; font-size: 19px !important; font-weight: 900 !important; white-space: nowrap !important; }
.public-mode .catalog-layout .catalog-grid .product-card .offer-price-panel .cash-price-block strong { color: #e51b23 !important; }
.public-mode .catalog-layout .catalog-grid .product-card .product-price-panel small { width: 100% !important; min-width: 0 !important; justify-self: stretch !important; padding: 4px 7px !important; border-radius: 999px !important; background: #edf8dc !important; color: #17481e !important; font-size: 8px !important; line-height: 1 !important; text-align: center !important; }
.public-mode .catalog-layout .catalog-grid .product-card .offer-price-panel small { background: #ffe7e8 !important; color: #b20f16 !important; }
.public-mode .catalog-layout .catalog-grid .product-card .product-buy-controls, .public-mode .catalog-layout .catalog-grid .product-card .order-controls { display: grid !important; grid-template-columns: 1fr !important; gap: 8px !important; }
.public-mode .catalog-layout .catalog-grid .product-card .stock-selector { display: grid !important; gap: 8px !important; padding: 9px !important; border: 1px solid #e5eadf !important; border-radius: 10px !important; background: #fbfcf8 !important; }
.public-mode .catalog-layout .catalog-grid .product-card .stock-store-row { display: grid !important; grid-template-columns: 82px minmax(0, 1fr) !important; gap: 8px !important; align-items: start !important; }
.public-mode .catalog-layout .catalog-grid .product-card .stock-store-row > strong { min-height: 28px !important; padding-top: 8px !important; border-right: 1px solid #e5e6e0 !important; color: #152117 !important; font-size: 9px !important; }
.public-mode .catalog-layout .catalog-grid .product-card .stock-chip-list { display: flex !important; flex-flow: row nowrap !important; gap: 5px !important; overflow-x: auto !important; overflow-y: hidden !important; padding: 1px 2px 4px !important; scrollbar-width: thin !important; }
.public-mode .catalog-layout .catalog-grid .product-card .stock-choice { flex: 0 0 auto !important; width: auto !important; min-width: 58px !important; min-height: 28px !important; padding: 0 8px !important; display: inline-flex !important; flex-direction: row !important; align-items: center !important; justify-content: center !important; gap: 3px !important; border: 1px solid #d9ded5 !important; border-radius: 7px !important; background: #fff !important; color: #101713 !important; }
.public-mode .catalog-layout .catalog-grid .product-card .stock-choice span, .public-mode .catalog-layout .catalog-grid .product-card .stock-choice small { color: #101713 !important; font-size: 10px !important; line-height: 1 !important; white-space: nowrap !important; }
.public-mode .catalog-layout .catalog-grid .product-card .stock-choice.last-unit { border-color: #f4a611 !important; background: #fff8e7 !important; }
.public-mode .catalog-layout .catalog-grid .product-card .stock-choice.active { border-color: #8bd737 !important; background: #f6ffe9 !important; box-shadow: inset 0 0 0 1px #8bd737 !important; }
.public-mode .catalog-layout .catalog-grid .product-card .order-controls button[data-add-code] { min-height: 40px !important; border-radius: 9px !important; font-size: 13px !important; font-weight: 900 !important; }
.public-mode .catalog-layout .catalog-grid .product-card .product-secondary-actions { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 8px !important; }
.public-mode .catalog-layout .catalog-grid .product-card .product-secondary-actions > * { min-height: 34px !important; font-size: 11px !important; }
.public-mode .recommended-grid, .public-mode .offers-grid { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 14px !important; }
.public-mode .recommended-card, .public-mode .offer-card { min-height: 0 !important; border-radius: 14px !important; background: #fff !important; color: #101713 !important; }
.public-mode .recommended-card > button, .public-mode .offer-card > button { aspect-ratio: 1.22 / 1 !important; min-height: 0 !important; max-height: 260px !important; background: #fff !important; }
.public-mode .recommended-card > div, .public-mode .offer-card > div { display: grid !important; gap: 7px !important; padding: 10px !important; background: #fff !important; color: #101713 !important; }
.public-mode .recommended-card strong, .public-mode .offer-card strong { color: #101713 !important; font-size: 14px !important; line-height: 1.15 !important; display: -webkit-box !important; -webkit-line-clamp: 2 !important; -webkit-box-orient: vertical !important; overflow: hidden !important; }
.public-mode .trust-band, .public-mode .footer-info-card, .public-mode .public-footer, .public-mode .mobile-smart-filters, .public-mode .need-shop-band, .public-mode .recommended-section, .public-mode .offers-section { color: #fff !important; }
.public-mode .trust-band *, .public-mode .footer-info-card *, .public-mode .public-footer *, .public-mode .mobile-smart-filters *, .public-mode .need-shop-band *, .public-mode .recommended-section .section-heading *, .public-mode .offers-section .section-heading * { color: inherit !important; }
@media (max-width: 900px) { .public-mode .recommended-grid, .public-mode .offers-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important; } }
@media (max-width: 760px) {
  .public-mode .catalog-layout .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 9px !important; padding-inline: 8px !important; }
  .public-mode .catalog-layout .catalog-grid .product-card .photo-slot { aspect-ratio: 1.08 / 1 !important; padding: 5px !important; }
  .public-mode .catalog-layout .catalog-grid .product-card .photo-thumbs { min-height: 34px !important; padding: 4px !important; }
  .public-mode .catalog-layout .catalog-grid .product-card .photo-thumb { width: 28px !important; height: 28px !important; }
  .public-mode .catalog-layout .catalog-grid .product-card .product-info { gap: 7px !important; padding: 8px !important; }
  .public-mode .catalog-layout .catalog-grid .product-card .product-heading strong { padding: 3px 7px !important; font-size: 8px !important; }
  .public-mode .catalog-layout .catalog-grid .product-card h3 { font-size: 11px !important; line-height: 1.12 !important; }
  .public-mode .catalog-layout .catalog-grid .product-card .product-code-line { display: none !important; }
  .public-mode .catalog-layout .catalog-grid .product-card .product-price-panel { gap: 3px !important; padding: 6px !important; border-radius: 8px !important; }
  .public-mode .catalog-layout .catalog-grid .product-card .normal-price-block span, .public-mode .catalog-layout .catalog-grid .product-card .cash-price-block span { font-size: 6.5px !important; letter-spacing: .02em !important; }
  .public-mode .catalog-layout .catalog-grid .product-card .normal-price-block strong { font-size: 10px !important; }
  .public-mode .catalog-layout .catalog-grid .product-card .cash-price-block strong { font-size: 13px !important; }
  .public-mode .catalog-layout .catalog-grid .product-card .product-price-panel small { padding: 3px 5px !important; font-size: 6.5px !important; }
  .public-mode .catalog-layout .catalog-grid .product-card .stock-selector { gap: 5px !important; padding: 6px !important; }
  .public-mode .catalog-layout .catalog-grid .product-card .stock-selector-heading strong, .public-mode .catalog-layout .catalog-grid .product-card .stock-selector-heading span { font-size: 6.5px !important; }
  .public-mode .catalog-layout .catalog-grid .product-card .stock-store-row { grid-template-columns: 1fr !important; gap: 3px !important; }
  .public-mode .catalog-layout .catalog-grid .product-card .stock-store-row > strong { min-height: 0 !important; padding-top: 0 !important; border-right: 0 !important; font-size: 7px !important; }
  .public-mode .catalog-layout .catalog-grid .product-card .stock-choice { min-width: 42px !important; min-height: 23px !important; padding: 0 5px !important; }
  .public-mode .catalog-layout .catalog-grid .product-card .stock-choice span, .public-mode .catalog-layout .catalog-grid .product-card .stock-choice small { font-size: 8px !important; }
  .public-mode .catalog-layout .catalog-grid .product-card .order-controls button[data-add-code] { min-height: 32px !important; font-size: 10px !important; }
  .public-mode .catalog-layout .catalog-grid .product-card .product-secondary-actions > * { min-height: 28px !important; font-size: 8px !important; }
  .public-mode .recommended-card > button, .public-mode .offer-card > button { aspect-ratio: 1.08 / 1 !important; max-height: 170px !important; }
  .public-mode .recommended-card > div, .public-mode .offer-card > div { gap: 6px !important; padding: 8px !important; }
  .public-mode .recommended-card strong, .public-mode .offer-card strong { font-size: 11px !important; }
}

/* FINAL OVERRIDE 20260717-21: mobile carousels, modal chips and clearer selection */
.public-mode .stock-choice.last-unit,
.public-mode .stock-choice.last-unit::after {
  background-image: none !important;
}

.public-mode .stock-choice::after {
  content: none !important;
  display: none !important;
}

.public-mode .stock-choice.active {
  border-color: #7bd62b !important;
  background: #ecffd9 !important;
  color: #0b1a11 !important;
  box-shadow: 0 0 0 2px rgba(123, 214, 43, .34), inset 0 0 0 1px #7bd62b !important;
}

.public-mode .stock-choice.active span,
.public-mode .stock-choice.active small {
  color: #0b1a11 !important;
  font-weight: 900 !important;
}

.product-modal-card .product-detail-buybox .stock-selector {
  display: grid !important;
  gap: 10px !important;
  padding: 10px !important;
  border: 1px solid #e5eadf !important;
  border-radius: 12px !important;
  background: #fbfcf8 !important;
}

.product-modal-card .product-detail-buybox .stock-store-row {
  display: grid !important;
  grid-template-columns: 112px minmax(0, 1fr) !important;
  gap: 10px !important;
  align-items: start !important;
}

.product-modal-card .product-detail-buybox .stock-store-row > strong {
  min-height: 30px !important;
  padding-top: 8px !important;
  border-right: 1px solid #e5e6e0 !important;
  color: #152117 !important;
  font-size: 11px !important;
}

.product-modal-card .product-detail-buybox .stock-chip-list {
  display: flex !important;
  flex-flow: row nowrap !important;
  gap: 6px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  padding: 2px 2px 5px !important;
  scrollbar-width: thin !important;
}

.product-modal-card .product-detail-buybox .stock-choice {
  flex: 0 0 auto !important;
  min-width: 64px !important;
  min-height: 31px !important;
  padding: 0 9px !important;
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  border: 1px solid #d9ded5 !important;
  border-radius: 8px !important;
  background: #fff !important;
  color: #101713 !important;
}

.product-modal-card .product-detail-buybox .stock-choice span,
.product-modal-card .product-detail-buybox .stock-choice small {
  color: #101713 !important;
  font-size: 11px !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

.product-modal-card .product-detail-buybox .stock-choice.active {
  border-color: #7bd62b !important;
  background: #ecffd9 !important;
  box-shadow: 0 0 0 2px rgba(123, 214, 43, .34), inset 0 0 0 1px #7bd62b !important;
}

@media (max-width: 760px) {
  .public-mode .recommended-grid,
  .public-mode .offers-grid {
    display: flex !important;
    flex-flow: row nowrap !important;
    gap: 12px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    padding: 0 16px 14px !important;
    margin-inline: -16px !important;
  }

  .public-mode .recommended-section .section-heading,
  .public-mode .recommended-section .section-heading h2,
  .public-mode .recommended-section .section-heading strong,
  .public-mode .offers-section .section-heading,
  .public-mode .offers-section .section-heading h2,
  .public-mode .offers-section .section-heading strong {
    color: #ffffff !important;
    text-shadow: 0 1px 14px rgba(0, 0, 0, .38) !important;
  }

  .public-mode .recommended-grid .recommended-card,
  .public-mode .offers-grid .offer-card {
    flex: 0 0 min(86vw, 360px) !important;
    width: min(86vw, 360px) !important;
    scroll-snap-align: start !important;
  }

  .public-mode .recommended-card > button,
  .public-mode .offer-card > button {
    aspect-ratio: 1.35 / 1 !important;
    max-height: 230px !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .photo-slot {
    min-height: 142px !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .image-preview-button {
    min-height: 132px !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .stock-chip-list,
  .product-modal-card .product-detail-buybox .stock-chip-list {
    padding-right: 18px !important;
    background:
      linear-gradient(90deg, rgba(251,252,248,0), rgba(251,252,248,0) calc(100% - 22px), rgba(251,252,248,.96)) !important;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .stock-chip-list::after,
  .product-modal-card .product-detail-buybox .stock-chip-list::after {
    content: "›" !important;
    position: sticky !important;
    right: 0 !important;
    min-width: 16px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #7bd62b !important;
    font-size: 16px !important;
    font-weight: 900 !important;
    background: rgba(251,252,248,.95) !important;
  }

  .product-modal-card .product-detail-buybox .stock-store-row {
    grid-template-columns: 1fr !important;
    gap: 4px !important;
  }

  .product-modal-card .product-detail-buybox .stock-store-row > strong {
    min-height: 0 !important;
    padding-top: 0 !important;
    border-right: 0 !important;
    font-size: 9px !important;
  }

  .product-modal-card .product-detail-buybox .stock-choice {
    min-width: 48px !important;
    min-height: 26px !important;
    padding: 0 6px !important;
  }

  .product-modal-card .product-detail-buybox .stock-choice span,
  .product-modal-card .product-detail-buybox .stock-choice small {
    font-size: 9px !important;
  }
}

/* FINAL OVERRIDE 20260717-22: cleaner featured cards, no overlay arrows, compact detail chips */
.public-mode .recommended-section .section-heading,
.public-mode .recommended-section .section-heading *,
.public-mode .offers-section .section-heading,
.public-mode .offers-section .section-heading * {
  color: #fff !important;
  opacity: 1 !important;
  text-shadow: 0 1px 14px rgba(0, 0, 0, .42) !important;
}

.public-mode .recommended-card .product-buy-controls,
.public-mode .offer-card .product-buy-controls,
.public-mode .recommended-card .stock-selector,
.public-mode .offer-card .stock-selector {
  display: none !important;
}

.public-mode .recommended-card,
.public-mode .offer-card {
  cursor: pointer !important;
}

.public-mode .recommended-card > button,
.public-mode .offer-card > button {
  aspect-ratio: 1.45 / 1 !important;
  max-height: 250px !important;
}

.public-mode .recommended-card .cash-discount-badge,
.public-mode .offer-card .cash-discount-badge {
  min-height: 54px !important;
  padding: 10px 12px !important;
}

.public-mode .recommended-card .cash-discount-badge small,
.public-mode .offer-card .cash-discount-badge small {
  display: none !important;
}

.public-mode .stock-chip-list::after,
.public-mode .catalog-layout .catalog-grid .product-card .stock-chip-list::after,
.product-modal-card .product-detail-buybox .stock-chip-list::after {
  content: none !important;
  display: none !important;
}

.public-mode .stock-chip-list,
.product-modal-card .product-detail-buybox .stock-chip-list {
  padding-right: 4px !important;
  background: transparent !important;
  scrollbar-width: thin !important;
  scrollbar-color: #7bd62b rgba(15, 24, 18, .12) !important;
}

.public-mode .stock-chip-list::-webkit-scrollbar,
.product-modal-card .product-detail-buybox .stock-chip-list::-webkit-scrollbar {
  height: 4px !important;
}

.public-mode .stock-chip-list::-webkit-scrollbar-thumb,
.product-modal-card .product-detail-buybox .stock-chip-list::-webkit-scrollbar-thumb {
  border-radius: 999px !important;
  background: #7bd62b !important;
}

.product-modal-card .product-detail-buybox .stock-selector {
  gap: 8px !important;
  padding: 9px !important;
  border-radius: 10px !important;
}

.product-modal-card .product-detail-buybox .stock-store-row {
  grid-template-columns: 82px minmax(0, 1fr) !important;
  gap: 8px !important;
}

.product-modal-card .product-detail-buybox .stock-store-row > strong {
  min-height: 28px !important;
  padding-top: 8px !important;
  font-size: 9px !important;
}

.product-modal-card .product-detail-buybox .stock-choice {
  min-width: 58px !important;
  min-height: 28px !important;
  padding: 0 8px !important;
  gap: 3px !important;
  border-radius: 7px !important;
}

.product-modal-card .product-detail-buybox .stock-choice span,
.product-modal-card .product-detail-buybox .stock-choice small {
  font-size: 10px !important;
}

.public-mode .customer-note-field {
  display: none !important;
}

@media (max-width: 760px) {
  .public-mode .recommended-grid .recommended-card,
  .public-mode .offers-grid .offer-card {
    flex-basis: min(88vw, 380px) !important;
    width: min(88vw, 380px) !important;
  }

  .public-mode .recommended-card > button,
  .public-mode .offer-card > button {
    aspect-ratio: 1.34 / 1 !important;
    max-height: 250px !important;
  }

  .product-modal-card .product-detail-buybox .stock-store-row {
    grid-template-columns: 1fr !important;
    gap: 3px !important;
  }

  .product-modal-card .product-detail-buybox .stock-store-row > strong {
    min-height: 0 !important;
    padding-top: 0 !important;
    border-right: 0 !important;
    font-size: 7px !important;
  }

  .product-modal-card .product-detail-buybox .stock-choice {
    min-width: 42px !important;
    min-height: 23px !important;
    padding: 0 5px !important;
  }

  .product-modal-card .product-detail-buybox .stock-choice span,
  .product-modal-card .product-detail-buybox .stock-choice small {
    font-size: 8px !important;
  }
}

/* FINAL OVERRIDE 20260717-23: featured heading readable on dark bands */
body.public-mode .recommended-band .section-heading,
body.public-mode .recommended-band .section-heading *,
body.public-mode .recommended-section .section-heading,
body.public-mode .recommended-section .section-heading * {
  color: #fff !important;
  opacity: 1 !important;
  text-shadow: 0 1px 14px rgba(0, 0, 0, .46) !important;
}

body.public-mode .recommended-band .section-heading .eyebrow,
body.public-mode .recommended-section .section-heading .eyebrow {
  color: #9cff35 !important;
}

body.public-mode .recommended-band .section-heading a,
body.public-mode .recommended-section .section-heading a {
  color: #fff !important;
  border-color: rgba(255, 255, 255, .38) !important;
}

/* FINAL OVERRIDE 20260717-24: featured CTA, larger product photos, compact detail sizes */
body.public-mode .recommended-band .section-heading a,
body.public-mode .recommended-section .section-heading a {
  min-height: 44px !important;
  padding: 0 22px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #07130d !important;
  text-align: center !important;
  text-shadow: none !important;
  background: #ffffff !important;
  border-color: rgba(7, 19, 13, .12) !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .18) !important;
}

body.public-mode .recommended-band .section-heading a:hover,
body.public-mode .recommended-section .section-heading a:hover {
  color: #07130d !important;
  background: #f7fff0 !important;
}

body.public-mode .catalog-layout .catalog-grid .product-card.has-gallery .photo-slot,
body.public-mode .catalog-layout .catalog-grid .product-card:has(.photo-thumbs) .photo-slot {
  aspect-ratio: 1.08 / 1 !important;
}

body.public-mode .catalog-layout .catalog-grid .product-card.has-gallery .image-preview-button,
body.public-mode .catalog-layout .catalog-grid .product-card:has(.photo-thumbs) .image-preview-button {
  min-height: 168px !important;
  padding: 12px !important;
}

.product-modal-card .product-detail-buybox .stock-selector {
  gap: 7px !important;
  padding: 8px !important;
}

.product-modal-card .product-detail-buybox .stock-store-row {
  grid-template-columns: 78px minmax(0, 1fr) !important;
  gap: 7px !important;
}

.product-modal-card .product-detail-buybox .stock-store-row > strong {
  min-height: 24px !important;
  padding-top: 6px !important;
  font-size: 8px !important;
}

.product-modal-card .product-detail-buybox .stock-choice {
  min-width: 46px !important;
  min-height: 24px !important;
  padding: 0 6px !important;
  gap: 2px !important;
  border-radius: 7px !important;
}

.product-modal-card .product-detail-buybox .stock-choice span,
.product-modal-card .product-detail-buybox .stock-choice small {
  font-size: 8px !important;
  line-height: 1 !important;
}

@media (max-width: 760px) {
  body.public-mode .recommended-band .section-heading {
    align-items: center !important;
    gap: 12px !important;
  }

  body.public-mode .recommended-band .section-heading a,
  body.public-mode .recommended-section .section-heading a {
    min-width: 116px !important;
    min-height: 48px !important;
    padding: 0 18px !important;
    border-radius: 999px !important;
    font-size: 13px !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card.has-gallery .photo-slot,
  body.public-mode .catalog-layout .catalog-grid .product-card:has(.photo-thumbs) .photo-slot {
    aspect-ratio: .92 / 1 !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card.has-gallery .image-preview-button,
  body.public-mode .catalog-layout .catalog-grid .product-card:has(.photo-thumbs) .image-preview-button {
    min-height: 136px !important;
    padding: 8px !important;
  }

  .product-modal-card .product-detail-buybox .stock-store-row {
    grid-template-columns: 1fr !important;
    gap: 3px !important;
  }

  .product-modal-card .product-detail-buybox .stock-store-row > strong {
    min-height: 0 !important;
    padding-top: 0 !important;
    font-size: 7px !important;
  }

  .product-modal-card .product-detail-buybox .stock-choice {
    min-width: 38px !important;
    min-height: 22px !important;
    padding: 0 5px !important;
  }

  .product-modal-card .product-detail-buybox .stock-choice span,
  .product-modal-card .product-detail-buybox .stock-choice small {
    font-size: 7px !important;
  }
}

/* FINAL OVERRIDE 20260717-25: tiny stock chips inside product detail modal */
#product-modal-card.product-modal-card .product-detail-buybox .stock-selector {
  padding: 8px !important;
  gap: 8px !important;
}

#product-modal-card.product-modal-card .product-detail-buybox .stock-store-row {
  grid-template-columns: 72px minmax(0, 1fr) !important;
  gap: 6px !important;
  align-items: center !important;
}

#product-modal-card.product-modal-card .product-detail-buybox .stock-store-row > strong {
  min-height: 0 !important;
  padding: 0 !important;
  border-right: 1px solid #e2e5dc !important;
  font-size: 8px !important;
  line-height: 1.1 !important;
}

#product-modal-card.product-modal-card .product-detail-buybox .stock-chip-list {
  display: flex !important;
  flex-flow: row nowrap !important;
  align-items: center !important;
  gap: 5px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  padding: 2px 4px 5px !important;
}

#product-modal-card.product-modal-card .product-detail-buybox button.stock-choice {
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: none !important;
  min-width: 42px !important;
  min-height: 22px !important;
  height: 22px !important;
  padding: 0 6px !important;
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 2px !important;
  border-radius: 7px !important;
  border: 1px solid #d9ded5 !important;
  background: #fff !important;
  color: #101713 !important;
  box-shadow: none !important;
}

#product-modal-card.product-modal-card .product-detail-buybox button.stock-choice span,
#product-modal-card.product-modal-card .product-detail-buybox button.stock-choice small {
  display: inline !important;
  width: auto !important;
  color: #101713 !important;
  font-size: 7.5px !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

#product-modal-card.product-modal-card .product-detail-buybox button.stock-choice.active {
  border-color: #7bd62b !important;
  background: #ecffd9 !important;
  box-shadow: inset 0 0 0 1px #7bd62b !important;
}

@media (max-width: 760px) {
  #product-modal-card.product-modal-card .product-detail-buybox .stock-selector {
    padding: 7px !important;
  }

  #product-modal-card.product-modal-card .product-detail-buybox .stock-store-row {
    grid-template-columns: 1fr !important;
    gap: 4px !important;
  }

  #product-modal-card.product-modal-card .product-detail-buybox .stock-store-row > strong {
    border-right: 0 !important;
    font-size: 7px !important;
  }

  #product-modal-card.product-modal-card .product-detail-buybox button.stock-choice {
    min-width: 36px !important;
    min-height: 20px !important;
    height: 20px !important;
    padding: 0 5px !important;
    border-radius: 6px !important;
  }

  #product-modal-card.product-modal-card .product-detail-buybox button.stock-choice span,
  #product-modal-card.product-modal-card .product-detail-buybox button.stock-choice small {
    font-size: 6.5px !important;
  }
}

/* FINAL OVERRIDE 20260717-26: remove blank detail photo gap and show full featured photos */
#product-modal-card.product-modal-card {
  align-items: start !important;
}

#product-modal-card.product-modal-card .product-detail-photo {
  min-height: 0 !important;
  height: auto !important;
  align-self: start !important;
  display: grid !important;
  align-content: start !important;
  background: #ffffff !important;
}

#product-modal-card.product-modal-card .product-detail-photo > button {
  min-height: 0 !important;
  height: auto !important;
  aspect-ratio: 1.12 / 1 !important;
  display: grid !important;
  place-items: center !important;
  padding: 12px !important;
  background: #ffffff !important;
}

#product-modal-card.product-modal-card .product-detail-photo img {
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center top !important;
}

body.public-mode .recommended-card > button,
body.public-mode .offer-card > button {
  display: grid !important;
  place-items: center !important;
  padding: 10px !important;
  background: linear-gradient(90deg, #f7f8f3 0 10%, #fff 24% 76%, #f3f5ef 100%) !important;
}

body.public-mode .recommended-card > button img,
body.public-mode .offer-card > button img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
}

@media (min-width: 761px) {
  body.public-mode .recommended-card > button,
  body.public-mode .offer-card > button {
    aspect-ratio: 1.42 / 1 !important;
    max-height: 260px !important;
  }
}

@media (max-width: 760px) {
  #product-modal-card.product-modal-card .product-detail-photo > button {
    aspect-ratio: 1.06 / 1 !important;
    padding: 8px !important;
  }

  body.public-mode .recommended-card > button,
  body.public-mode .offer-card > button {
    aspect-ratio: 1.18 / 1 !important;
    max-height: 230px !important;
  }
}

/* FINAL OVERRIDE 20260717-27: premium product detail sheet */
#product-modal.product-modal {
  padding: 18px !important;
  align-items: center !important;
  justify-content: center !important;
}

#product-modal-card.product-modal-card {
  width: min(1180px, calc(100vw - 34px)) !important;
  max-height: min(88vh, 820px) !important;
  display: grid !important;
  grid-template-columns: minmax(420px, 1.08fr) minmax(360px, .92fr) !important;
  gap: 0 !important;
  overflow: auto !important;
  border-radius: 24px !important;
  background: #07120d !important;
}

#product-modal-card.product-modal-card .product-detail-photo {
  position: sticky !important;
  top: 0 !important;
  min-height: 0 !important;
  height: min(88vh, 820px) !important;
  padding: 16px !important;
  display: grid !important;
  grid-template-rows: minmax(0, 1fr) auto !important;
  align-content: start !important;
  background: linear-gradient(135deg, #fbfbf7, #eef1ea) !important;
}

#product-modal-card.product-modal-card .product-detail-photo > button {
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  display: grid !important;
  place-items: center !important;
  padding: 8px !important;
  overflow: hidden !important;
  border-radius: 18px !important;
  background: #fff !important;
}

#product-modal-card.product-modal-card .product-detail-photo img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
}

#product-modal-card.product-modal-card .product-detail-thumbs {
  position: static !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  margin-top: 10px !important;
  padding: 7px !important;
  display: flex !important;
  gap: 7px !important;
  overflow-x: auto !important;
  border-radius: 16px !important;
  background: rgba(255, 255, 255, .9) !important;
}

#product-modal-card.product-modal-card .product-detail-thumbs .photo-thumb {
  flex: 0 0 58px !important;
  width: 58px !important;
  height: 48px !important;
  min-width: 58px !important;
  min-height: 48px !important;
  border-radius: 12px !important;
  background: #fff !important;
}

#product-modal-card.product-modal-card .product-detail-info {
  padding: 26px !important;
  gap: 12px !important;
  align-content: start !important;
}

#product-modal-card.product-modal-card .product-detail-info h2 {
  font-size: clamp(26px, 2.7vw, 42px) !important;
  line-height: 1.02 !important;
  letter-spacing: 0 !important;
}

#product-modal-card.product-modal-card .product-detail-buybox {
  padding: 14px !important;
  border-radius: 18px !important;
  border: 1px solid rgba(142, 204, 60, .28) !important;
  background: rgba(255, 255, 255, .055) !important;
}

#product-modal-card.product-modal-card .product-detail-buybox > strong {
  display: block !important;
  margin-bottom: 10px !important;
  color: #fff !important;
  font-size: 16px !important;
}

#product-modal-card.product-modal-card .product-detail-buybox .stock-selector {
  border-radius: 14px !important;
}

#product-modal-card.product-modal-card .product-related {
  margin-top: 2px !important;
}

#product-modal-card.product-modal-card .product-related-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 8px !important;
}

#product-modal-card.product-modal-card .product-related-grid button {
  grid-template-columns: 64px minmax(0, 1fr) !important;
  min-height: 76px !important;
  padding: 6px !important;
}

#product-modal-card.product-modal-card .product-related-grid img {
  width: 64px !important;
  height: 60px !important;
}

#product-modal-card.product-modal-card .product-related-grid strong {
  font-size: 11px !important;
}

@media (max-width: 760px) {
  #product-modal.product-modal {
    padding: 0 !important;
    align-items: end !important;
  }

  #product-modal-card.product-modal-card {
    width: 100% !important;
    max-height: 92vh !important;
    grid-template-columns: 1fr !important;
    border-radius: 22px 22px 0 0 !important;
  }

  #product-modal-card.product-modal-card .product-detail-photo {
    position: relative !important;
    top: auto !important;
    height: auto !important;
    padding: 10px 10px 0 !important;
    grid-template-rows: auto auto !important;
  }

  #product-modal-card.product-modal-card .product-detail-photo > button {
    height: clamp(250px, 43vh, 350px) !important;
    max-height: 350px !important;
    padding: 6px !important;
    border-radius: 18px 18px 8px 8px !important;
  }

  #product-modal-card.product-modal-card .product-detail-thumbs {
    margin-top: 0 !important;
    border-radius: 0 0 16px 16px !important;
  }

  #product-modal-card.product-modal-card .product-detail-thumbs .photo-thumb {
    flex-basis: 48px !important;
    width: 48px !important;
    height: 40px !important;
    min-width: 48px !important;
    min-height: 40px !important;
  }

  #product-modal-card.product-modal-card .product-detail-info {
    padding: 16px 14px 104px !important;
    gap: 10px !important;
  }

  #product-modal-card.product-modal-card .product-detail-info h2 {
    font-size: clamp(25px, 7.6vw, 34px) !important;
    line-height: 1.05 !important;
  }

  #product-modal-card.product-modal-card .product-detail-buybox {
    padding: 12px !important;
    border-radius: 16px !important;
  }

  #product-modal-card.product-modal-card .product-related-grid {
    display: flex !important;
    flex-flow: row nowrap !important;
    gap: 10px !important;
    overflow-x: auto !important;
    padding-bottom: 4px !important;
  }

  #product-modal-card.product-modal-card .product-related-grid button {
    flex: 0 0 78% !important;
    width: 78% !important;
    grid-template-columns: 72px minmax(0, 1fr) !important;
  }

  #product-modal-card.product-modal-card .product-related-grid img {
    width: 72px !important;
    height: 68px !important;
  }
}

/* FINAL OVERRIDE 20260717-28: image-safe detail and catalog photos */
body.public-mode .catalog-layout .catalog-grid .product-card .photo-slot {
  min-height: clamp(190px, 16vw, 260px) !important;
  aspect-ratio: 1.22 / 1 !important;
  display: grid !important;
  grid-template-rows: minmax(0, 1fr) auto !important;
  overflow: hidden !important;
  background: linear-gradient(90deg, #f7f8f3 0 8%, #fff 22% 78%, #f3f5ef 100%) !important;
}

body.public-mode .catalog-layout .catalog-grid .product-card .image-preview-button {
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  padding: 10px !important;
  display: grid !important;
  place-items: center !important;
  overflow: hidden !important;
}

body.public-mode .catalog-layout .catalog-grid .product-card .photo-slot img,
body.public-mode .catalog-layout .catalog-grid .product-card .image-preview-button img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
}

body.public-mode .catalog-layout .catalog-grid .product-card .photo-thumbs {
  flex: 0 0 auto !important;
}

@media (min-width: 761px) {
  body.public-mode .catalog-layout .catalog-grid .product-card.has-gallery .photo-slot,
  body.public-mode .catalog-layout .catalog-grid .product-card:has(.photo-thumbs) .photo-slot {
    min-height: clamp(220px, 18vw, 300px) !important;
    aspect-ratio: 1.12 / 1 !important;
  }
}

@media (max-width: 760px) {
  #product-modal-card.product-modal-card .product-detail-photo {
    padding: 8px 8px 0 !important;
  }

  #product-modal-card.product-modal-card .product-detail-photo > button {
    height: clamp(320px, 58vh, 470px) !important;
    max-height: 470px !important;
    padding: 5px !important;
    border-radius: 18px 18px 6px 6px !important;
  }

  #product-modal-card.product-modal-card .product-detail-photo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
  }

  #product-modal-card.product-modal-card .product-detail-thumbs {
    min-height: 42px !important;
    padding: 5px 7px !important;
  }

  #product-modal-card.product-modal-card .product-detail-thumbs .photo-thumb {
    flex-basis: 42px !important;
    width: 42px !important;
    height: 34px !important;
    min-width: 42px !important;
    min-height: 34px !important;
    border-radius: 9px !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .photo-slot {
    min-height: clamp(145px, 42vw, 210px) !important;
    aspect-ratio: 1 / 1 !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .image-preview-button {
    padding: 7px !important;
  }
}

/* FINAL OVERRIDE 20260717-29: balanced detail chips and no-crop desktop catalog images */
#product-modal-card.product-modal-card .product-detail-buybox button.stock-choice {
  min-width: 50px !important;
  min-height: 27px !important;
  height: 27px !important;
  padding: 0 8px !important;
  border-radius: 8px !important;
}

#product-modal-card.product-modal-card .product-detail-buybox button.stock-choice span,
#product-modal-card.product-modal-card .product-detail-buybox button.stock-choice small {
  font-size: 9px !important;
  line-height: 1 !important;
}

@media (min-width: 761px) {
  body.public-mode .catalog-layout .catalog-grid .product-card .photo-slot {
    min-height: clamp(250px, 20vw, 340px) !important;
    aspect-ratio: 1.04 / 1 !important;
    padding: 10px !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card.has-gallery .photo-slot,
  body.public-mode .catalog-layout .catalog-grid .product-card:has(.photo-thumbs) .photo-slot {
    min-height: clamp(280px, 22vw, 370px) !important;
    aspect-ratio: .98 / 1 !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .image-preview-button {
    min-height: 0 !important;
    height: 100% !important;
    padding: 12px !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .image-preview-button img,
  body.public-mode .catalog-layout .catalog-grid .product-card .photo-slot img {
    object-fit: contain !important;
    object-position: center center !important;
  }
}

@media (max-width: 760px) {
  #product-modal-card.product-modal-card .product-detail-buybox button.stock-choice {
    min-width: 44px !important;
    min-height: 24px !important;
    height: 24px !important;
    padding: 0 7px !important;
  }

  #product-modal-card.product-modal-card .product-detail-buybox button.stock-choice span,
  #product-modal-card.product-modal-card .product-detail-buybox button.stock-choice small {
    font-size: 8px !important;
  }
}

/* FINAL OVERRIDE 20260717-30: visible size-chip scrollbars */
body.public-mode .catalog-layout .catalog-grid .product-card .stock-chip-list,
#product-modal-card.product-modal-card .product-detail-buybox .stock-chip-list {
  overflow-x: auto !important;
  overflow-y: hidden !important;
  padding-bottom: 8px !important;
  scrollbar-width: thin !important;
  scrollbar-color: #8ce62f rgba(9, 24, 14, .16) !important;
}

body.public-mode .catalog-layout .catalog-grid .product-card .stock-chip-list::-webkit-scrollbar,
#product-modal-card.product-modal-card .product-detail-buybox .stock-chip-list::-webkit-scrollbar {
  display: block !important;
  height: 7px !important;
}

body.public-mode .catalog-layout .catalog-grid .product-card .stock-chip-list::-webkit-scrollbar-track,
#product-modal-card.product-modal-card .product-detail-buybox .stock-chip-list::-webkit-scrollbar-track {
  border-radius: 999px !important;
  background: rgba(9, 24, 14, .13) !important;
}

body.public-mode .catalog-layout .catalog-grid .product-card .stock-chip-list::-webkit-scrollbar-thumb,
#product-modal-card.product-modal-card .product-detail-buybox .stock-chip-list::-webkit-scrollbar-thumb {
  min-width: 32px !important;
  border-radius: 999px !important;
  background: linear-gradient(90deg, #9cff35, #62bd22) !important;
}

body.public-mode .catalog-layout .catalog-grid .product-card .stock-chip-list:hover::-webkit-scrollbar-thumb,
#product-modal-card.product-modal-card .product-detail-buybox .stock-chip-list:hover::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #b9ff62, #7bd62b) !important;
}

/* FINAL OVERRIDE 20260717-31: mobile-visible size scroll cue */
@media (max-width: 760px) {
  body.public-mode .catalog-layout .catalog-grid .product-card .stock-chip-list,
  #product-modal-card.product-modal-card .product-detail-buybox .stock-chip-list {
    position: relative !important;
    padding-bottom: 12px !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: auto !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .stock-chip-list::-webkit-scrollbar,
  #product-modal-card.product-modal-card .product-detail-buybox .stock-chip-list::-webkit-scrollbar {
    height: 9px !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .stock-chip-list::before,
  #product-modal-card.product-modal-card .product-detail-buybox .stock-chip-list::before {
    content: "" !important;
    position: absolute !important;
    left: 50% !important;
    right: auto !important;
    bottom: 2px !important;
    order: initial !important;
    flex: none !important;
    width: 74px !important;
    min-width: 74px !important;
    height: 5px !important;
    align-self: auto !important;
    margin: 0 !important;
    transform: translateX(-50%) !important;
    border-radius: 999px !important;
    background: linear-gradient(90deg, #9cff35, #62bd22) !important;
    box-shadow: 0 0 0 1px rgba(8, 20, 11, .12) !important;
    pointer-events: none !important;
  }
}

/* FINAL OVERRIDE 20260717-32: keep mobile scroll cue out of chip row */
@media (max-width: 760px) {
  body.public-mode .catalog-layout .catalog-grid .product-card .stock-chip-list,
  #product-modal-card.product-modal-card .product-detail-buybox .stock-chip-list {
    position: relative !important;
    padding-bottom: 13px !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .stock-chip-list::after,
  #product-modal-card.product-modal-card .product-detail-buybox .stock-chip-list::after {
    content: none !important;
    display: none !important;
  }
}

/* FINAL OVERRIDE 20260717-33: compact mobile hero with visible carousel */
@media (max-width: 760px) {
  body.public-mode .public-intro {
    min-height: 0 !important;
    height: auto !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    overflow: hidden !important;
    background:
      linear-gradient(180deg, rgba(4, 14, 8, .88) 0%, rgba(4, 14, 8, .72) 54%, rgba(4, 14, 8, .96) 100%) !important;
  }

  body.public-mode .public-intro::after {
    background:
      linear-gradient(90deg, rgba(3, 12, 7, .94) 0 48%, rgba(3, 12, 7, .42) 72%, rgba(3, 12, 7, .12) 100%) !important;
  }

  body.public-mode .hero-carousel {
    position: absolute !important;
    inset: 86px 0 auto auto !important;
    width: min(58vw, 260px) !important;
    height: 250px !important;
    opacity: .92 !important;
    border-radius: 26px 0 0 26px !important;
    overflow: hidden !important;
    filter: saturate(.98) contrast(.98) !important;
    mask-image: linear-gradient(90deg, transparent 0%, #000 20%, #000 100%) !important;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 20%, #000 100%) !important;
  }

  body.public-mode .hero-carousel span {
    background-size: contain !important;
    background-position: center right !important;
    background-repeat: no-repeat !important;
  }

  body.public-mode .hero-copy {
    position: relative !important;
    z-index: 2 !important;
    max-width: none !important;
    padding: 22px 18px 20px !important;
    min-height: 430px !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    align-content: start !important;
    gap: 11px !important;
  }

  body.public-mode .hero-logo {
    width: 58px !important;
    height: 58px !important;
    margin: 0 0 4px !important;
    border-radius: 14px !important;
  }

  body.public-mode .hero-copy h2 {
    max-width: 72% !important;
    margin: 0 !important;
    font-size: clamp(34px, 10vw, 44px) !important;
    line-height: .98 !important;
    letter-spacing: 0 !important;
  }

  body.public-mode .hero-copy > p {
    max-width: 68% !important;
    margin: 0 !important;
    color: rgba(255, 255, 255, .82) !important;
    font-size: 13px !important;
    line-height: 1.25 !important;
  }

  body.public-mode .hero-discount-callout {
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 2px !important;
    padding: 13px 14px !important;
    border-radius: 20px !important;
    box-shadow: 0 16px 34px rgba(117, 240, 37, .18) !important;
  }

  body.public-mode .hero-discount-callout span {
    font-size: 10px !important;
    line-height: 1 !important;
  }

  body.public-mode .hero-discount-callout strong {
    max-width: 92% !important;
    display: block !important;
    font-size: clamp(24px, 7.1vw, 31px) !important;
    line-height: 1.02 !important;
    letter-spacing: 0 !important;
  }

  body.public-mode .hero-discount-callout small {
    width: fit-content !important;
    margin-top: 8px !important;
    padding: 5px 9px !important;
    border-radius: 999px !important;
    background: rgba(8, 24, 12, .14) !important;
    font-size: 9px !important;
    line-height: 1 !important;
  }

  body.public-mode .hero-search {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 112px !important;
    gap: 10px !important;
    margin: 4px 0 0 !important;
  }

  body.public-mode .hero-search input,
  body.public-mode .hero-search button {
    min-height: 52px !important;
    height: 52px !important;
    border-radius: 17px !important;
    font-size: 16px !important;
  }

  body.public-mode .hero-search input {
    padding: 0 15px !important;
  }

  body.public-mode .hero-search button {
    padding: 0 12px !important;
    justify-content: center !important;
    gap: 5px !important;
  }

  body.public-mode .hero-actions {
    width: 100% !important;
    margin-top: 2px !important;
    display: grid !important;
    grid-template-columns: 1fr 132px !important;
    gap: 10px !important;
  }

  body.public-mode .hero-actions .hero-action,
  body.public-mode .hero-actions .hero-offer-action {
    min-height: 48px !important;
    border-radius: 17px !important;
    font-size: 14px !important;
  }
}

@media (max-width: 380px) {
  body.public-mode .hero-copy {
    padding-inline: 14px !important;
    min-height: 410px !important;
  }

  body.public-mode .hero-copy h2 {
    max-width: 76% !important;
    font-size: 32px !important;
  }

  body.public-mode .hero-copy > p {
    max-width: 72% !important;
    font-size: 12px !important;
  }

  body.public-mode .hero-discount-callout strong {
    font-size: 23px !important;
  }

  body.public-mode .hero-search {
    grid-template-columns: minmax(0, 1fr) 96px !important;
  }

  body.public-mode .hero-actions {
    grid-template-columns: 1fr 116px !important;
  }
}

/* FINAL OVERRIDE 20260717-34: mobile hero as product showcase, not text overlay */
@media (max-width: 760px) {
  body.public-mode .public-intro {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 12px 14px 15px !important;
    overflow: hidden !important;
    background:
      radial-gradient(circle at 95% 10%, rgba(154, 255, 45, .14), transparent 34%),
      linear-gradient(180deg, #06110b 0%, #07130c 100%) !important;
  }

  body.public-mode .public-intro::after {
    content: none !important;
    display: none !important;
  }

  body.public-mode .hero-carousel {
    position: relative !important;
    inset: auto !important;
    order: 0 !important;
    width: 100% !important;
    height: clamp(168px, 46vw, 226px) !important;
    margin: 0 !important;
    border: 1px solid rgba(156, 255, 53, .18) !important;
    border-radius: 24px !important;
    opacity: 1 !important;
    overflow: hidden !important;
    background: linear-gradient(135deg, #ffffff 0%, #f5f7f2 62%, #eaf2e5 100%) !important;
    box-shadow: 0 18px 38px rgba(0, 0, 0, .28) !important;
    filter: none !important;
    mask-image: none !important;
    -webkit-mask-image: none !important;
  }

  body.public-mode .hero-carousel::before {
    content: "Novedades D'WILLY" !important;
    position: absolute !important;
    left: 13px !important;
    top: 13px !important;
    z-index: 3 !important;
    padding: 6px 10px !important;
    border-radius: 999px !important;
    background: rgba(6, 17, 11, .82) !important;
    color: #9cff35 !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    letter-spacing: .04em !important;
    text-transform: uppercase !important;
  }

  body.public-mode .hero-carousel::after {
    content: "" !important;
    position: absolute !important;
    inset: auto 0 0 !important;
    height: 42% !important;
    z-index: 2 !important;
    pointer-events: none !important;
    background: linear-gradient(180deg, transparent 0%, rgba(6, 17, 11, .12) 100%) !important;
  }

  body.public-mode .hero-carousel span {
    inset: 10px 14px !important;
    background-size: contain !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
  }

  body.public-mode .hero-copy {
    position: relative !important;
    z-index: 2 !important;
    order: 1 !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    align-content: start !important;
    gap: 10px !important;
    max-width: none !important;
    min-height: 0 !important;
    padding: 0 !important;
  }

  body.public-mode .hero-logo {
    display: none !important;
  }

  body.public-mode .hero-copy h2 {
    max-width: 100% !important;
    margin: 0 !important;
    color: #f8fff7 !important;
    font-size: clamp(28px, 8vw, 36px) !important;
    line-height: 1.02 !important;
    letter-spacing: 0 !important;
  }

  body.public-mode .hero-copy > p {
    max-width: 100% !important;
    margin: -2px 0 0 !important;
    color: rgba(255, 255, 255, .76) !important;
    font-size: 13px !important;
    line-height: 1.28 !important;
  }

  body.public-mode .hero-discount-callout {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 12px 13px !important;
    display: grid !important;
    gap: 5px !important;
    border-radius: 18px !important;
    box-shadow: 0 12px 28px rgba(130, 246, 36, .16) !important;
  }

  body.public-mode .hero-discount-callout span {
    font-size: 9px !important;
    line-height: 1 !important;
  }

  body.public-mode .hero-discount-callout strong {
    max-width: 100% !important;
    font-size: clamp(20px, 5.9vw, 27px) !important;
    line-height: 1.03 !important;
    letter-spacing: 0 !important;
  }

  body.public-mode .hero-discount-callout small {
    width: fit-content !important;
    margin-top: 0 !important;
    padding: 5px 9px !important;
    border-radius: 999px !important;
    background: rgba(6, 17, 11, .16) !important;
    font-size: 9px !important;
    line-height: 1 !important;
  }

  body.public-mode .hero-search {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 104px !important;
    gap: 8px !important;
    margin: 0 !important;
  }

  body.public-mode .hero-search input,
  body.public-mode .hero-search button {
    min-height: 49px !important;
    height: 49px !important;
    border-radius: 16px !important;
    font-size: 14px !important;
  }

  body.public-mode .hero-search input {
    min-width: 0 !important;
    padding: 0 14px !important;
  }

  body.public-mode .hero-search button {
    padding: 0 10px !important;
    justify-content: center !important;
    gap: 5px !important;
    white-space: nowrap !important;
  }

  body.public-mode .hero-actions {
    width: 100% !important;
    margin: 0 !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 9px !important;
  }

  body.public-mode .hero-actions .hero-action,
  body.public-mode .hero-actions .hero-offer-action {
    min-height: 47px !important;
    border-radius: 16px !important;
    font-size: 13px !important;
    padding: 0 10px !important;
  }
}

@media (max-width: 360px) {
  body.public-mode .public-intro {
    padding-inline: 12px !important;
  }

  body.public-mode .hero-carousel {
    height: 160px !important;
    border-radius: 20px !important;
  }

  body.public-mode .hero-copy h2 {
    font-size: 27px !important;
  }

  body.public-mode .hero-copy > p {
    font-size: 12px !important;
  }

  body.public-mode .hero-discount-callout strong {
    font-size: 20px !important;
  }

  body.public-mode .hero-search {
    grid-template-columns: 1fr !important;
  }
}

/* FINAL OVERRIDE 20260717-35: real clickable rotating hero products */
.public-mode .public-intro {
  isolation: isolate !important;
}

.public-mode .public-intro::after {
  z-index: 1 !important;
  pointer-events: none !important;
}

.public-mode .hero-copy {
  position: relative !important;
  z-index: 2 !important;
}

.public-mode .hero-carousel {
  z-index: 0 !important;
  pointer-events: auto !important;
}

.public-mode .hero-carousel .hero-slide {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
  padding: 0 !important;
  border-radius: inherit !important;
  background: transparent !important;
  opacity: 0 !important;
  transform: scale(1.018) !important;
  transition: opacity .7s ease, transform 1.4s ease !important;
  overflow: hidden !important;
  cursor: pointer !important;
  pointer-events: none !important;
}

.public-mode .hero-carousel .hero-slide.is-active {
  opacity: 1 !important;
  transform: scale(1) !important;
  pointer-events: auto !important;
}

.public-mode .hero-carousel .hero-slide img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}

.public-mode .hero-carousel .hero-slide-caption {
  position: absolute !important;
  left: 22px !important;
  right: 22px !important;
  bottom: 20px !important;
  z-index: 3 !important;
  display: grid !important;
  gap: 3px !important;
  max-width: 360px !important;
  padding: 11px 13px !important;
  border: 1px solid rgba(156, 255, 53, .22) !important;
  border-radius: 16px !important;
  background: rgba(5, 16, 9, .78) !important;
  color: #fff !important;
  text-align: left !important;
  box-shadow: 0 14px 28px rgba(0, 0, 0, .24) !important;
  backdrop-filter: blur(8px) !important;
}

.public-mode .hero-carousel .hero-slide-caption small {
  color: #9cff35 !important;
  font-size: 10px !important;
  font-weight: 900 !important;
  letter-spacing: .04em !important;
  text-transform: uppercase !important;
}

.public-mode .hero-carousel .hero-slide-caption strong {
  color: #fff !important;
  font-size: 18px !important;
  line-height: 1.05 !important;
  letter-spacing: 0 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

@media (max-width: 760px) {
  body.public-mode .hero-carousel .hero-slide {
    inset: 10px 14px !important;
    width: calc(100% - 28px) !important;
    height: calc(100% - 20px) !important;
    border-radius: 20px !important;
  }

  body.public-mode .hero-carousel .hero-slide img {
    object-fit: contain !important;
    object-position: center !important;
  }

  body.public-mode .hero-carousel .hero-slide-caption {
    left: 12px !important;
    right: 12px !important;
    bottom: 10px !important;
    max-width: none !important;
    padding: 8px 10px !important;
    border-radius: 13px !important;
    background: rgba(5, 16, 9, .68) !important;
  }

  body.public-mode .hero-carousel .hero-slide-caption small {
    font-size: 8px !important;
  }

  body.public-mode .hero-carousel .hero-slide-caption strong {
    font-size: 12px !important;
    -webkit-line-clamp: 1 !important;
  }
}

@media (max-width: 360px) {
  body.public-mode .hero-carousel .hero-slide-caption {
    display: none !important;
  }
}

/* FINAL OVERRIDE 20260717-36: clean hero carousel badge, no dark product overlay */
.public-mode .hero-carousel::before,
.public-mode .hero-carousel::after {
  content: none !important;
  display: none !important;
}

.public-mode .hero-carousel {
  background:
    radial-gradient(circle at 50% 54%, rgba(255, 255, 255, .98), rgba(247, 250, 245, .94) 58%, rgba(234, 243, 226, .88) 100%) !important;
}

.public-mode .hero-carousel .hero-slide {
  background: transparent !important;
}

.public-mode .hero-carousel .hero-slide img {
  filter: none !important;
  opacity: 1 !important;
}

.public-mode .hero-carousel .hero-slide-caption {
  left: 20px !important;
  right: auto !important;
  top: 18px !important;
  bottom: auto !important;
  width: auto !important;
  max-width: min(280px, calc(100% - 40px)) !important;
  min-width: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 8px 11px !important;
  border: 1px solid rgba(20, 72, 31, .16) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, .9) !important;
  color: #0b2614 !important;
  box-shadow: 0 10px 24px rgba(7, 20, 11, .14) !important;
  backdrop-filter: blur(7px) !important;
}

.public-mode .hero-carousel .hero-slide-caption small {
  max-width: 150px !important;
  color: #10391d !important;
  font-size: 11px !important;
  font-weight: 950 !important;
  letter-spacing: .02em !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.public-mode .hero-carousel .hero-slide-caption strong {
  color: #62bd22 !important;
  font-size: 10px !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  letter-spacing: .03em !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
  display: inline !important;
  overflow: visible !important;
}

@media (max-width: 760px) {
  body.public-mode .hero-carousel {
    background:
      radial-gradient(circle at 50% 56%, #ffffff 0%, #f7faf4 58%, #eef5e8 100%) !important;
  }

  body.public-mode .hero-carousel .hero-slide {
    inset: 8px 10px !important;
    width: calc(100% - 20px) !important;
    height: calc(100% - 16px) !important;
  }

  body.public-mode .hero-carousel .hero-slide-caption {
    left: 12px !important;
    top: 12px !important;
    right: auto !important;
    bottom: auto !important;
    max-width: calc(100% - 24px) !important;
    padding: 7px 10px !important;
    background: rgba(255, 255, 255, .92) !important;
  }

  body.public-mode .hero-carousel .hero-slide-caption small {
    max-width: 112px !important;
    font-size: 10px !important;
  }

  body.public-mode .hero-carousel .hero-slide-caption strong {
    font-size: 9px !important;
  }
}

@media (max-width: 360px) {
  body.public-mode .hero-carousel .hero-slide-caption {
    display: inline-flex !important;
  }

  body.public-mode .hero-carousel .hero-slide-caption strong {
    display: none !important;
  }
}

/* FINAL OVERRIDE 20260717-37: campaign slides mixed into hero carousel */
.public-mode .hero-carousel .hero-slide.hero-campaign-slide img {
  object-fit: cover !important;
  object-position: center !important;
}

.public-mode .hero-carousel .hero-slide.hero-campaign-slide .hero-slide-caption {
  background: rgba(6, 17, 11, .82) !important;
  border-color: rgba(156, 255, 53, .24) !important;
  color: #fff !important;
}

.public-mode .hero-carousel .hero-slide.hero-campaign-slide .hero-slide-caption small {
  color: #9cff35 !important;
}

.public-mode .hero-carousel .hero-slide.hero-campaign-slide .hero-slide-caption strong {
  color: #fff !important;
}

@media (max-width: 760px) {
  body.public-mode .hero-carousel .hero-slide.hero-campaign-slide {
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: inherit !important;
  }

  body.public-mode .hero-carousel .hero-slide.hero-campaign-slide img {
    object-fit: cover !important;
  }

  body.public-mode .hero-carousel .hero-slide.hero-campaign-slide .hero-slide-caption {
    left: 14px !important;
    top: auto !important;
    bottom: 14px !important;
    max-width: calc(100% - 28px) !important;
  }
}

/* FINAL OVERRIDE 20260717-39: no overlapping hero slides during change */
.public-mode .hero-carousel .hero-slide {
  display: none !important;
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
  pointer-events: none !important;
}

.public-mode .hero-carousel .hero-slide.is-active {
  display: block !important;
  opacity: 1 !important;
  transform: none !important;
  pointer-events: auto !important;
}

@media (max-width: 760px) {
  body.public-mode .hero-carousel .hero-slide.is-active {
    display: block !important;
  }
}

/* FINAL OVERRIDE 20260718-01: subtle mobile stock scrollbars, no overlay cue */
@media (max-width: 760px) {
  body.public-mode .stock-chip-list,
  body.public-mode .catalog-layout .catalog-grid .product-card .stock-chip-list,
  body.public-mode .recommended-card .stock-chip-list,
  body.public-mode .offer-card .stock-chip-list,
  #product-modal-card.product-modal-card .product-detail-buybox .stock-chip-list {
    position: static !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding-bottom: 7px !important;
    margin-bottom: 0 !important;
    scrollbar-width: thin !important;
    scrollbar-color: rgba(117, 214, 43, .72) rgba(14, 25, 18, .14) !important;
    -webkit-overflow-scrolling: touch !important;
  }

  body.public-mode .stock-chip-list::before,
  body.public-mode .stock-chip-list::after,
  body.public-mode .catalog-layout .catalog-grid .product-card .stock-chip-list::before,
  body.public-mode .catalog-layout .catalog-grid .product-card .stock-chip-list::after,
  body.public-mode .recommended-card .stock-chip-list::before,
  body.public-mode .recommended-card .stock-chip-list::after,
  body.public-mode .offer-card .stock-chip-list::before,
  body.public-mode .offer-card .stock-chip-list::after,
  #product-modal-card.product-modal-card .product-detail-buybox .stock-chip-list::before,
  #product-modal-card.product-modal-card .product-detail-buybox .stock-chip-list::after {
    content: none !important;
    display: none !important;
  }

  body.public-mode .stock-chip-list::-webkit-scrollbar,
  body.public-mode .catalog-layout .catalog-grid .product-card .stock-chip-list::-webkit-scrollbar,
  body.public-mode .recommended-card .stock-chip-list::-webkit-scrollbar,
  body.public-mode .offer-card .stock-chip-list::-webkit-scrollbar,
  #product-modal-card.product-modal-card .product-detail-buybox .stock-chip-list::-webkit-scrollbar {
    display: block !important;
    height: 4px !important;
  }

  body.public-mode .stock-chip-list::-webkit-scrollbar-track,
  body.public-mode .catalog-layout .catalog-grid .product-card .stock-chip-list::-webkit-scrollbar-track,
  body.public-mode .recommended-card .stock-chip-list::-webkit-scrollbar-track,
  body.public-mode .offer-card .stock-chip-list::-webkit-scrollbar-track,
  #product-modal-card.product-modal-card .product-detail-buybox .stock-chip-list::-webkit-scrollbar-track {
    border-radius: 999px !important;
    background: rgba(14, 25, 18, .12) !important;
  }

  body.public-mode .stock-chip-list::-webkit-scrollbar-thumb,
  body.public-mode .catalog-layout .catalog-grid .product-card .stock-chip-list::-webkit-scrollbar-thumb,
  body.public-mode .recommended-card .stock-chip-list::-webkit-scrollbar-thumb,
  body.public-mode .offer-card .stock-chip-list::-webkit-scrollbar-thumb,
  #product-modal-card.product-modal-card .product-detail-buybox .stock-chip-list::-webkit-scrollbar-thumb {
    min-width: 28px !important;
    border-radius: 999px !important;
    background: rgba(117, 214, 43, .76) !important;
  }
}

/* FINAL OVERRIDE 20260718-02: fixed mobile size-scroll cue outside the chips */
@media (max-width: 760px) {
  body.public-mode .catalog-layout .catalog-grid .product-card .stock-store-row,
  body.public-mode .recommended-card .stock-store-row,
  body.public-mode .offer-card .stock-store-row,
  #product-modal-card.product-modal-card .product-detail-buybox .stock-store-row {
    position: relative !important;
    overflow: visible !important;
    padding-bottom: 12px !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .stock-chip-list,
  body.public-mode .recommended-card .stock-chip-list,
  body.public-mode .offer-card .stock-chip-list,
  #product-modal-card.product-modal-card .product-detail-buybox .stock-chip-list {
    padding-bottom: 3px !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .stock-store-row::after,
  body.public-mode .recommended-card .stock-store-row::after,
  body.public-mode .offer-card .stock-store-row::after,
  #product-modal-card.product-modal-card .product-detail-buybox .stock-store-row::after {
    content: "" !important;
    position: absolute !important;
    left: clamp(82px, 36%, 118px) !important;
    bottom: 2px !important;
    width: min(96px, 34vw) !important;
    height: 4px !important;
    border-radius: 999px !important;
    background:
      linear-gradient(90deg, rgba(126, 217, 48, .72) 0 38%, rgba(12, 24, 17, .18) 38% 100%) !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16) !important;
    opacity: .42 !important;
    pointer-events: none !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .stock-store-row:has(.stock-choice:nth-child(4))::after,
  body.public-mode .recommended-card .stock-store-row:has(.stock-choice:nth-child(4))::after,
  body.public-mode .offer-card .stock-store-row:has(.stock-choice:nth-child(4))::after,
  #product-modal-card.product-modal-card .product-detail-buybox .stock-store-row:has(.stock-choice:nth-child(4))::after {
    opacity: .9 !important;
  }
}

/* FINAL OVERRIDE 20260718-03: mobile stock cue as arrows, no visual scrollbar line */
@media (max-width: 760px) {
  body.public-mode .catalog-layout .catalog-grid .product-card .stock-store-row,
  body.public-mode .recommended-card .stock-store-row,
  body.public-mode .offer-card .stock-store-row,
  #product-modal-card.product-modal-card .product-detail-buybox .stock-store-row {
    position: relative !important;
    padding-bottom: 2px !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .stock-chip-list,
  body.public-mode .recommended-card .stock-chip-list,
  body.public-mode .offer-card .stock-chip-list,
  #product-modal-card.product-modal-card .product-detail-buybox .stock-chip-list {
    padding-bottom: 0 !important;
    scrollbar-width: none !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .stock-chip-list::-webkit-scrollbar,
  body.public-mode .recommended-card .stock-chip-list::-webkit-scrollbar,
  body.public-mode .offer-card .stock-chip-list::-webkit-scrollbar,
  #product-modal-card.product-modal-card .product-detail-buybox .stock-chip-list::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .stock-store-row::before,
  body.public-mode .recommended-card .stock-store-row::before,
  body.public-mode .offer-card .stock-store-row::before,
  #product-modal-card.product-modal-card .product-detail-buybox .stock-store-row::before,
  body.public-mode .catalog-layout .catalog-grid .product-card .stock-store-row::after,
  body.public-mode .recommended-card .stock-store-row::after,
  body.public-mode .offer-card .stock-store-row::after,
  #product-modal-card.product-modal-card .product-detail-buybox .stock-store-row::after {
    position: absolute !important;
    z-index: 3 !important;
    top: 50% !important;
    bottom: auto !important;
    width: 18px !important;
    height: 24px !important;
    border-radius: 999px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(255, 255, 255, .92) !important;
    color: #207a35 !important;
    border: 1px solid rgba(32, 122, 53, .14) !important;
    box-shadow: 0 4px 10px rgba(7, 17, 11, .08) !important;
    font-size: 17px !important;
    font-weight: 950 !important;
    line-height: 1 !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(-50%) !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .stock-store-row::before,
  body.public-mode .recommended-card .stock-store-row::before,
  body.public-mode .offer-card .stock-store-row::before,
  #product-modal-card.product-modal-card .product-detail-buybox .stock-store-row::before {
    content: "\2039" !important;
    left: clamp(72px, 32%, 104px) !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .stock-store-row::after,
  body.public-mode .recommended-card .stock-store-row::after,
  body.public-mode .offer-card .stock-store-row::after,
  #product-modal-card.product-modal-card .product-detail-buybox .stock-store-row::after {
    content: "\203A" !important;
    right: 3px !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .stock-store-row:has(.stock-choice:nth-child(4))::before,
  body.public-mode .recommended-card .stock-store-row:has(.stock-choice:nth-child(4))::before,
  body.public-mode .offer-card .stock-store-row:has(.stock-choice:nth-child(4))::before,
  #product-modal-card.product-modal-card .product-detail-buybox .stock-store-row:has(.stock-choice:nth-child(4))::before,
  body.public-mode .catalog-layout .catalog-grid .product-card .stock-store-row:has(.stock-choice:nth-child(4))::after,
  body.public-mode .recommended-card .stock-store-row:has(.stock-choice:nth-child(4))::after,
  body.public-mode .offer-card .stock-store-row:has(.stock-choice:nth-child(4))::after,
  #product-modal-card.product-modal-card .product-detail-buybox .stock-store-row:has(.stock-choice:nth-child(4))::after {
    opacity: .82 !important;
  }
}

/* FINAL OVERRIDE 20260718-04: one clean chevron hint, no bars or center overlap */
@media (max-width: 760px) {
  body.public-mode .catalog-layout .catalog-grid .product-card .stock-store-row,
  body.public-mode .recommended-card .stock-store-row,
  body.public-mode .offer-card .stock-store-row,
  #product-modal-card.product-modal-card .product-detail-buybox .stock-store-row {
    position: relative !important;
    padding-bottom: 0 !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .stock-chip-list,
  body.public-mode .recommended-card .stock-chip-list,
  body.public-mode .offer-card .stock-chip-list,
  #product-modal-card.product-modal-card .product-detail-buybox .stock-chip-list {
    position: relative !important;
    padding-right: 18px !important;
    padding-bottom: 0 !important;
    scrollbar-width: none !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .stock-chip-list::-webkit-scrollbar,
  body.public-mode .recommended-card .stock-chip-list::-webkit-scrollbar,
  body.public-mode .offer-card .stock-chip-list::-webkit-scrollbar,
  #product-modal-card.product-modal-card .product-detail-buybox .stock-chip-list::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .stock-store-row::before,
  body.public-mode .recommended-card .stock-store-row::before,
  body.public-mode .offer-card .stock-store-row::before,
  #product-modal-card.product-modal-card .product-detail-buybox .stock-store-row::before {
    content: none !important;
    display: none !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .stock-store-row::after,
  body.public-mode .recommended-card .stock-store-row::after,
  body.public-mode .offer-card .stock-store-row::after,
  #product-modal-card.product-modal-card .product-detail-buybox .stock-store-row::after {
    content: "\203A" !important;
    position: absolute !important;
    z-index: 4 !important;
    top: auto !important;
    right: 4px !important;
    bottom: 7px !important;
    left: auto !important;
    width: 14px !important;
    height: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.94) 45%, rgba(255,255,255,.98)) !important;
    box-shadow: none !important;
    color: #16833c !important;
    font-size: 20px !important;
    font-weight: 950 !important;
    line-height: 1 !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transform: none !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .stock-store-row:has(.stock-choice:nth-child(4))::after,
  body.public-mode .recommended-card .stock-store-row:has(.stock-choice:nth-child(4))::after,
  body.public-mode .offer-card .stock-store-row:has(.stock-choice:nth-child(4))::after,
  #product-modal-card.product-modal-card .product-detail-buybox .stock-store-row:has(.stock-choice:nth-child(4))::after {
    opacity: .8 !important;
  }
}

/* FINAL OVERRIDE 20260718-05: swipeable product galleries on mobile */
@media (max-width: 760px) {
  body.public-mode .product-card:has(.photo-thumbs) [data-card-main-image],
  body.public-mode .recommended-card:has(.photo-thumbs) [data-card-main-image],
  body.public-mode .offer-card:has(.photo-thumbs) [data-card-main-image],
  #product-modal-card.product-modal-card:has(.photo-thumbs) [data-card-main-image] {
    touch-action: pan-y !important;
    user-select: none !important;
  }

  body.public-mode .product-card:has(.photo-thumbs) [data-card-main-image] img,
  body.public-mode .recommended-card:has(.photo-thumbs) [data-card-main-image] img,
  body.public-mode .offer-card:has(.photo-thumbs) [data-card-main-image] img,
  #product-modal-card.product-modal-card:has(.photo-thumbs) [data-card-main-image] img {
    user-select: none !important;
    -webkit-user-drag: none !important;
  }
}

/* FINAL OVERRIDE 20260718-06: easier return from product detail on mobile */
#product-modal-card.product-modal-card .product-detail-back {
  position: absolute !important;
  z-index: 11 !important;
  top: 16px !important;
  left: 16px !important;
  min-height: 38px !important;
  padding: 0 14px !important;
  border: 1px solid rgba(255, 255, 255, .42) !important;
  border-radius: 999px !important;
  background: rgba(7, 18, 13, .82) !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 950 !important;
  letter-spacing: .01em !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .16) !important;
  backdrop-filter: blur(10px) !important;
}

#product-modal-card.product-modal-card .product-detail-back::before {
  content: "\2039" !important;
  margin-right: 6px !important;
  color: #9cff35 !important;
  font-size: 20px !important;
  line-height: 0 !important;
  vertical-align: -1px !important;
}

@media (min-width: 761px) {
  #product-modal-card.product-modal-card .product-detail-back {
    display: none !important;
  }
}

@media (max-width: 760px) {
  #product-modal.product-modal::before {
    content: "Desliza a la derecha para volver" !important;
    position: fixed !important;
    z-index: 10 !important;
    top: max(10px, env(safe-area-inset-top)) !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    padding: 6px 12px !important;
    border-radius: 999px !important;
    background: rgba(7, 18, 13, .74) !important;
    color: rgba(255, 255, 255, .82) !important;
    font-size: 10px !important;
    font-weight: 850 !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  body.product-modal-open #product-modal.product-modal::before {
    animation: detailSwipeHint 2.6s ease 1 both !important;
  }
}

@keyframes detailSwipeHint {
  0%, 100% { opacity: 0; transform: translate(-58%, 0); }
  14%, 72% { opacity: 1; transform: translate(-50%, 0); }
}

/* FINAL OVERRIDE 20260718-08: swipe right to close cart on mobile */
@media (max-width: 760px) {
  body.public-mode.cart-open .order-panel::before {
    content: "Desliza a la derecha para seguir comprando" !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 12 !important;
    display: block !important;
    width: fit-content !important;
    max-width: calc(100% - 32px) !important;
    margin: 0 auto 8px !important;
    padding: 6px 12px !important;
    border-radius: 999px !important;
    background: rgba(7, 18, 13, .78) !important;
    color: rgba(255, 255, 255, .84) !important;
    font-size: 10px !important;
    font-weight: 850 !important;
    line-height: 1.15 !important;
    text-align: center !important;
    pointer-events: none !important;
    animation: cartSwipeHint 2.6s ease 1 both !important;
  }
}

@keyframes cartSwipeHint {
  0%, 100% { opacity: 0; transform: translateX(-8px); }
  14%, 72% { opacity: 1; transform: translateX(0); }
}

/* FINAL OVERRIDE 20260718-10: native-feeling cart close transition */
body.public-mode .side-panel {
  will-change: transform !important;
}

body.public-mode.cart-open.cart-closing .side-panel {
  transform: translateX(calc(100% + 18px)) !important;
  transition: transform 280ms cubic-bezier(.34, .02, .2, 1) !important;
}

body.public-mode.cart-open.cart-closing .cart-backdrop {
  display: block !important;
  opacity: 0 !important;
  transition: opacity 240ms ease !important;
  pointer-events: none !important;
}

body.public-mode.cart-open .cart-backdrop {
  opacity: 1;
  transition: opacity 220ms ease;
}

@media (max-width: 760px) {
  body.public-mode.cart-open .side-panel {
    transition: transform 300ms cubic-bezier(.22, 1, .36, 1) !important;
  }

  body.public-mode.cart-open.cart-closing .side-panel {
    transform: translateX(104%) !important;
    transition: transform 280ms cubic-bezier(.36, 0, .66, -0.02) !important;
  }
}

/* FINAL OVERRIDE 20260718-11: native-feeling product detail close transition */
body.public-mode #product-modal.product-modal {
  transition: opacity 220ms ease !important;
}

body.public-mode #product-modal-card.product-modal-card {
  will-change: transform, opacity !important;
}

body.public-mode.product-modal-open.product-modal-closing #product-modal.product-modal {
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity 240ms ease !important;
}

body.public-mode.product-modal-open.product-modal-closing #product-modal-card.product-modal-card {
  opacity: .92 !important;
  transform: translateX(calc(100% + 22px)) scale(.985) !important;
  transition: transform 280ms cubic-bezier(.34, .02, .2, 1), opacity 220ms ease !important;
}

@media (max-width: 760px) {
  body.public-mode.product-modal-open #product-modal-card.product-modal-card {
    transition: transform 300ms cubic-bezier(.22, 1, .36, 1), opacity 220ms ease !important;
  }

body.public-mode.product-modal-open.product-modal-closing #product-modal-card.product-modal-card {
    opacity: .96 !important;
    transform: translateX(104%) !important;
    transition: transform 280ms cubic-bezier(.36, 0, .66, -0.02), opacity 220ms ease !important;
  }
}

/* FINAL OVERRIDE 20260718-13: mobile hero offers CTA and category swipe hint */
@media (max-width: 760px) {
  body.public-mode .hero-actions {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(132px, .72fr) !important;
    align-items: stretch !important;
    gap: 10px !important;
  }

  body.public-mode .hero-actions .hero-offer-action {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 0 !important;
    min-height: 47px !important;
    border: 1px solid rgba(255, 255, 255, .18) !important;
    border-radius: 16px !important;
    background: linear-gradient(135deg, #ff222a 0%, #e11721 48%, #a80f18 100%) !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 950 !important;
    letter-spacing: 0 !important;
    text-align: center !important;
    box-shadow: 0 14px 34px rgba(225, 23, 33, .28), inset 0 1px 0 rgba(255, 255, 255, .22) !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    white-space: nowrap !important;
  }

  body.public-mode .hero-actions .hero-offer-action::before {
    content: "\1F525";
    margin-right: 5px;
    font-size: 14px;
    line-height: 1;
  }

  body.public-mode .need-shop-band {
    position: relative !important;
    overflow: hidden !important;
  }

  body.public-mode .need-shop-band::after {
    content: "";
    position: absolute;
    z-index: 7;
    right: 0;
    top: 0;
    bottom: 0;
    width: 64px;
    background: linear-gradient(90deg, rgba(4, 18, 12, 0), rgba(4, 18, 12, .92) 72%);
    pointer-events: none;
  }

  body.public-mode .need-shop-band::before {
    content: "›";
    position: absolute;
    z-index: 8;
    right: 14px;
    top: 50%;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 999px;
    background: linear-gradient(135deg, #9cff35 0%, #71d827 100%);
    color: #06120d;
    font-size: 28px;
    font-weight: 950;
    line-height: 1;
    box-shadow: 0 12px 30px rgba(156, 255, 53, .24);
    pointer-events: none;
    animation: categoryArrowHint 2.8s ease-in-out infinite;
  }

  body.public-mode .need-shop-grid {
    scroll-padding-right: 72px !important;
  }
}

@keyframes categoryArrowHint {
  0%, 100% { transform: translate(0, -50%); }
  45% { transform: translate(-8px, -50%); }
}

@media (max-width: 380px) {
  body.public-mode .hero-actions {
    grid-template-columns: minmax(0, 1fr) 122px !important;
  }

  body.public-mode .hero-actions .hero-offer-action {
    font-size: 12px !important;
  }
}

/* FINAL OVERRIDE 20260718-14: mobile swipe cues for featured brands and offer shortcuts */
@media (max-width: 760px) {
  body.public-mode .featured-brands,
  body.public-mode .offer-shortcuts {
    position: relative !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    scroll-padding-right: 66px !important;
  }

  body.public-mode .recommended-band,
  body.public-mode .offers-band {
    position: relative !important;
    overflow: hidden !important;
  }

  body.public-mode .recommended-band::after,
  body.public-mode .offers-band::after {
    content: "";
    position: absolute;
    z-index: 7;
    right: 0;
    width: 66px;
    height: 86px;
    background: linear-gradient(90deg, rgba(4, 18, 12, 0), rgba(4, 18, 12, .94) 74%);
    pointer-events: none;
  }

  body.public-mode .recommended-band::before,
  body.public-mode .offers-band::before {
    content: "›";
    position: absolute;
    z-index: 8;
    right: 14px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 999px;
    background: linear-gradient(135deg, #9cff35 0%, #71d827 100%);
    color: #06120d;
    font-size: 28px;
    font-weight: 950;
    line-height: 1;
    box-shadow: 0 12px 30px rgba(156, 255, 53, .24);
    pointer-events: none;
    animation: categoryArrowHint 2.8s ease-in-out infinite;
  }

  body.public-mode .recommended-band::before {
    top: 142px;
  }

  body.public-mode .recommended-band::after {
    top: 116px;
  }

  body.public-mode .offers-band::before {
    top: 124px;
    border-color: rgba(225, 23, 33, .2);
    background: linear-gradient(135deg, #ffffff 0%, #fff4f4 100%);
    color: #e11721;
    box-shadow: 0 12px 28px rgba(225, 23, 33, .16);
  }

  body.public-mode .offers-band::after {
    top: 98px;
    width: 54px;
    background: linear-gradient(90deg, rgba(255, 246, 246, 0), rgba(255, 246, 246, .88) 70%, rgba(255, 246, 246, .98) 100%);
  }
}

/* FINAL OVERRIDE 20260718-16: cleaner mobile carousel arrows and rotating catalog entry */
@media (max-width: 760px) {
  body.public-mode .recommended-band::after,
  body.public-mode .offers-band::after {
    width: 0 !important;
    height: 0 !important;
    background: transparent !important;
  }

  body.public-mode .recommended-band::before,
  body.public-mode .offers-band::before,
  body.public-mode .mobile-smart-group::before {
    width: 34px !important;
    height: 34px !important;
    right: 12px !important;
    border-radius: 999px !important;
    box-shadow: 0 8px 18px rgba(6, 18, 12, .18), 0 0 0 1px rgba(255, 255, 255, .22) !important;
  }

  body.public-mode .offers-band::before {
    background: linear-gradient(135deg, #fff 0%, #fff6f6 100%) !important;
    color: #e11721 !important;
  }

  body.public-mode .mobile-smart-group {
    position: relative !important;
    overflow: hidden !important;
  }

  body.public-mode .mobile-smart-group::after {
    content: "";
    position: absolute;
    z-index: 6;
    right: 0;
    top: 24px;
    bottom: 4px;
    width: 34px;
    background: linear-gradient(90deg, rgba(4, 18, 12, 0), rgba(4, 18, 12, .82));
    pointer-events: none;
  }

  body.public-mode .mobile-smart-group::before {
    content: "›";
    position: absolute;
    z-index: 7;
    top: 54%;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .2);
    background: linear-gradient(135deg, #9cff35 0%, #71d827 100%);
    color: #06120d;
    font-size: 28px;
    font-weight: 950;
    line-height: 1;
    pointer-events: none;
    animation: categoryArrowHint 2.8s ease-in-out infinite;
  }

  body.public-mode .mobile-smart-chips {
    scroll-padding-right: 54px !important;
  }
}

body.public-mode .catalog-layout .catalog-grid .product-card .product-price-panel.normal-only-price-panel,
body.public-mode .product-price-panel.normal-only-price-panel {
  grid-template-columns: 1fr !important;
  background: #f8faf4 !important;
  border-color: rgba(11, 31, 20, .12) !important;
}

body.public-mode .cash-discount-badge.normal-price-badge {
  background: #f8faf4 !important;
  border: 1px solid rgba(11, 31, 20, .12) !important;
  box-shadow: none !important;
  color: #102016 !important;
}

body.public-mode .cash-discount-badge.normal-price-badge span,
body.public-mode .cash-discount-badge.normal-price-badge strong,
body.public-mode .cash-discount-badge.normal-price-badge small {
  color: #102016 !important;
}

/* FINAL OVERRIDE 20260721-01: featured/promos image fit and offer savings */
body.public-mode .recommended-grid,
body.public-mode .offers-grid {
  align-items: stretch !important;
}

body.public-mode .recommended-card,
body.public-mode .offer-card {
  overflow: hidden !important;
}

body.public-mode .recommended-card > button,
body.public-mode .offer-card > button {
  width: 100% !important;
  height: clamp(230px, 18vw, 310px) !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  overflow: hidden !important;
  background: linear-gradient(90deg, #f8faf6 0 12%, #fff 28% 72%, #f3f6ef 100%) !important;
}

body.public-mode .recommended-card > button img,
body.public-mode .offer-card > button img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
}

body.public-mode .recommended-card > div,
body.public-mode .offer-card > div {
  min-height: 0 !important;
}

body.public-mode .offer-card .offer-price-summary {
  display: grid !important;
  grid-template-columns: 1fr auto !important;
  gap: 6px 10px !important;
  min-height: 72px !important;
  padding: 10px 12px !important;
  border-radius: 10px !important;
}

body.public-mode .offer-card .offer-price-summary span {
  color: #fff !important;
  font-size: 11px !important;
  line-height: 1.1 !important;
}

body.public-mode .offer-card .offer-price-summary strong {
  color: #fff !important;
  font-size: 17px !important;
  line-height: 1 !important;
  text-align: right !important;
}

body.public-mode .offer-card .offer-price-summary small {
  grid-column: 1 / -1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  margin-top: 0 !important;
  padding: 5px 8px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, .18) !important;
  color: #fff !important;
  font-size: 10px !important;
  line-height: 1 !important;
}

body.public-mode .offer-card .offer-price-summary small em,
body.public-mode .offer-card .offer-price-summary small b {
  color: #fff !important;
  font-style: normal !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
}

body.public-mode .offer-card .offer-price-summary small em {
  text-decoration: line-through !important;
  opacity: .9 !important;
}

@media (max-width: 900px) {
  body.public-mode .recommended-card > button,
  body.public-mode .offer-card > button {
    height: clamp(150px, 38vw, 220px) !important;
  }
}

@media (max-width: 430px) {
  body.public-mode .recommended-card > button,
  body.public-mode .offer-card > button {
    height: clamp(138px, 40vw, 188px) !important;
    padding: 6px !important;
  }

  body.public-mode .offer-card .offer-price-summary {
    min-height: 62px !important;
    padding: 8px !important;
  }

  body.public-mode .offer-card .offer-price-summary span,
  body.public-mode .offer-card .offer-price-summary small {
    font-size: 8px !important;
  }

  body.public-mode .offer-card .offer-price-summary strong {
    font-size: 13px !important;
  }
}

/* FINAL OVERRIDE 20260721-02: keep featured and promo product photos complete on mobile */
body.public-mode .recommended-card > button > img[data-original-src],
body.public-mode .offer-card > button > img[data-original-src] {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
}

body.public-mode .recommended-card .product-logo-badge img,
body.public-mode .offer-card .product-logo-badge img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

@media (max-width: 760px) {
  body.public-mode .recommended-grid,
  body.public-mode .offers-grid {
    grid-auto-columns: minmax(280px, 82vw) !important;
  }

  body.public-mode .recommended-card > button,
  body.public-mode .offer-card > button {
    height: clamp(220px, 58vw, 310px) !important;
    min-height: 220px !important;
    padding: 10px !important;
  }
}

@media (max-width: 430px) {
  body.public-mode .recommended-card > button,
  body.public-mode .offer-card > button {
    height: clamp(205px, 62vw, 285px) !important;
    min-height: 205px !important;
    padding: 8px !important;
  }
}

/* FINAL OVERRIDE 20260721-03: compact featured/promos with full image visibility */
body.public-mode .recommended-card,
body.public-mode .offer-card {
  display: grid !important;
  grid-template-rows: auto 1fr !important;
}

body.public-mode .recommended-card > button,
body.public-mode .offer-card > button {
  position: relative !important;
  display: grid !important;
  place-items: center !important;
  overflow: hidden !important;
  isolation: isolate !important;
}

body.public-mode .recommended-card > button > img[data-original-src],
body.public-mode .offer-card > button > img[data-original-src] {
  position: relative !important;
  z-index: 1 !important;
  display: block !important;
  width: calc(100% - 18px) !important;
  height: calc(100% - 18px) !important;
  object-fit: contain !important;
  object-position: center center !important;
}

body.public-mode .recommended-card .product-logo-badge,
body.public-mode .offer-card .product-logo-badge,
body.public-mode .offer-card .offer-ribbon {
  z-index: 3 !important;
}

@media (min-width: 901px) {
  body.public-mode .recommended-grid,
  body.public-mode .offers-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }

  body.public-mode .recommended-card > button,
  body.public-mode .offer-card > button {
    height: clamp(210px, 15vw, 280px) !important;
    min-height: 210px !important;
    padding: 12px !important;
  }

  body.public-mode .offer-card .offer-price-summary {
    min-height: 86px !important;
    padding: 13px 16px !important;
    border-radius: 13px !important;
  }

  body.public-mode .offer-card .offer-price-summary span {
    font-size: 13px !important;
  }

  body.public-mode .offer-card .offer-price-summary strong {
    font-size: 26px !important;
    font-weight: 1000 !important;
    letter-spacing: 0 !important;
  }

  body.public-mode .offer-card .offer-price-summary small {
    font-size: 11px !important;
    padding: 7px 10px !important;
  }
}

@media (max-width: 760px) {
  body.public-mode .recommended-card,
  body.public-mode .offer-card {
    border-radius: 14px !important;
  }

  body.public-mode .recommended-card > button,
  body.public-mode .offer-card > button {
    height: clamp(175px, 48vw, 235px) !important;
    min-height: 175px !important;
    padding: 8px !important;
  }

  body.public-mode .recommended-card > button > img[data-original-src],
  body.public-mode .offer-card > button > img[data-original-src] {
    width: calc(100% - 10px) !important;
    height: calc(100% - 10px) !important;
  }

  body.public-mode .recommended-card > div,
  body.public-mode .offer-card > div {
    padding: 8px !important;
    gap: 5px !important;
  }

  body.public-mode .recommended-card strong,
  body.public-mode .offer-card strong {
    font-size: 12px !important;
    line-height: 1.12 !important;
  }

  body.public-mode .offer-card .offer-price-summary {
    min-height: 66px !important;
    padding: 8px 9px !important;
  }

  body.public-mode .offer-card .offer-price-summary strong {
    font-size: 18px !important;
  }
}

@media (max-width: 430px) {
  body.public-mode .recommended-card > button,
  body.public-mode .offer-card > button {
    height: clamp(158px, 47vw, 205px) !important;
    min-height: 158px !important;
  }

  body.public-mode .offer-card .offer-price-summary strong {
    font-size: 16px !important;
  }
}

/* FINAL OVERRIDE 20260728-01: mobile merchandising cards show product first */
@media (max-width: 760px) {
  body.public-mode .recommended-grid,
  body.public-mode .offers-grid {
    display: grid !important;
    grid-auto-flow: column !important;
    grid-auto-columns: minmax(292px, 82vw) !important;
    grid-template-columns: none !important;
    gap: 12px !important;
    align-items: stretch !important;
    padding-bottom: 14px !important;
  }

  body.public-mode .recommended-card,
  body.public-mode .offer-card {
    min-width: 0 !important;
    border-radius: 16px !important;
    grid-template-rows: auto auto !important;
    box-shadow: 0 14px 34px rgba(0, 0, 0, .14) !important;
  }

  body.public-mode .recommended-card > button,
  body.public-mode .offer-card > button {
    height: clamp(236px, 60vw, 302px) !important;
    min-height: 236px !important;
    max-height: 302px !important;
    padding: 10px !important;
    background: linear-gradient(90deg, #f8faf6 0 10%, #fff 30% 70%, #f2f5ee 100%) !important;
  }

  body.public-mode .recommended-card > button > img[data-original-src],
  body.public-mode .offer-card > button > img[data-original-src] {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
  }

  body.public-mode .recommended-card > div,
  body.public-mode .offer-card > div {
    padding: 9px 10px 10px !important;
    gap: 5px !important;
  }

  body.public-mode .recommended-card .recommended-brand-lockup,
  body.public-mode .offer-card > div > span {
    min-height: 24px !important;
    font-size: 10px !important;
    line-height: 1 !important;
  }

  body.public-mode .recommended-card strong,
  body.public-mode .offer-card > div > strong {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    min-height: 26px !important;
    font-size: 13px !important;
    line-height: 1.08 !important;
  }

  body.public-mode .recommended-card small {
    font-size: 10px !important;
    line-height: 1.1 !important;
  }

  body.public-mode .recommended-card .cash-discount-badge,
  body.public-mode .offer-card .offer-price-summary {
    min-height: 58px !important;
    padding: 8px 9px !important;
    border-radius: 11px !important;
  }

  body.public-mode .recommended-card .cash-discount-badge span,
  body.public-mode .offer-card .offer-price-summary span {
    font-size: 9px !important;
    line-height: 1.05 !important;
  }

  body.public-mode .recommended-card .cash-discount-badge strong {
    font-size: 22px !important;
    line-height: 1 !important;
  }

  body.public-mode .offer-card .offer-price-summary strong {
    font-size: 20px !important;
    line-height: 1 !important;
  }

  body.public-mode .offer-card .offer-price-summary small {
    font-size: 9px !important;
    padding: 5px 7px !important;
  }
}

@media (max-width: 430px) {
  body.public-mode .recommended-grid,
  body.public-mode .offers-grid {
    grid-auto-columns: minmax(286px, 80vw) !important;
  }

  body.public-mode .recommended-card > button,
  body.public-mode .offer-card > button {
    height: clamp(220px, 58vw, 276px) !important;
    min-height: 220px !important;
  }
}

/* FINAL OVERRIDE 20260728-02: compact two-column catalog cards on phones */
@media (max-width: 760px) {
  body.public-mode .catalog-layout .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card {
    min-width: 0 !important;
    border-radius: 14px !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .photo-slot {
    aspect-ratio: 1 / 1 !important;
    min-height: 150px !important;
    padding: 7px !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card.has-gallery .photo-slot,
  body.public-mode .catalog-layout .catalog-grid .product-card:has(.photo-thumbs) .photo-slot {
    aspect-ratio: .95 / 1 !important;
    min-height: 172px !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .image-preview-button,
  body.public-mode .catalog-layout .catalog-grid .product-card .image-preview-button img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .product-info {
    padding: 8px !important;
    gap: 7px !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .product-heading {
    gap: 4px !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .product-heading strong {
    max-width: 100% !important;
    font-size: 8px !important;
    line-height: 1 !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card h3 {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    min-height: 24px !important;
    font-size: 11px !important;
    line-height: 1.12 !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .product-code-line {
    display: none !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .product-price-panel {
    grid-template-columns: 1fr auto !important;
    gap: 5px 7px !important;
    padding: 7px !important;
    border-radius: 9px !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .product-price-panel span {
    font-size: 7px !important;
    line-height: 1.05 !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .product-price-panel strong {
    font-size: 13px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .product-price-panel small {
    grid-column: 1 / -1 !important;
    font-size: 7px !important;
    line-height: 1.05 !important;
    padding: 4px 6px !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .stock-selector {
    padding: 8px !important;
    gap: 7px !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .stock-selector h4 {
    font-size: 10px !important;
    line-height: 1.05 !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .stock-choice {
    min-width: 74px !important;
    min-height: 34px !important;
    padding: 7px 9px !important;
    font-size: 10px !important;
    line-height: 1 !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .stock-store-row {
    grid-template-columns: 1fr !important;
    gap: 6px !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .stock-store-row > strong {
    font-size: 9px !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .product-secondary-actions {
    gap: 0 !important;
    padding-top: 7px !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .product-secondary-actions a,
  body.public-mode .catalog-layout .catalog-grid .product-card .product-secondary-actions button {
    min-height: 36px !important;
    font-size: 11px !important;
  }
}

@media (max-width: 360px) {
  body.public-mode .catalog-layout .catalog-grid {
    gap: 9px !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .photo-slot {
    min-height: 136px !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card.has-gallery .photo-slot,
  body.public-mode .catalog-layout .catalog-grid .product-card:has(.photo-thumbs) .photo-slot {
    min-height: 158px !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .product-price-panel strong {
    font-size: 12px !important;
  }
}

/* FINAL OVERRIDE 20260728-03: true horizontal merchandising rails */
body.public-mode .recommended-grid,
body.public-mode .offers-grid {
  display: flex !important;
  flex-flow: row nowrap !important;
  grid-template-columns: none !important;
  grid-auto-flow: unset !important;
  grid-auto-columns: unset !important;
  gap: 18px !important;
  align-items: stretch !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scroll-snap-type: x proximity !important;
  scroll-padding-inline: 18px !important;
  padding: 0 18px 18px !important;
  margin-inline: -18px !important;
  scrollbar-width: thin !important;
}

body.public-mode .recommended-grid::-webkit-scrollbar,
body.public-mode .offers-grid::-webkit-scrollbar {
  height: 8px !important;
}

body.public-mode .recommended-grid::-webkit-scrollbar-thumb,
body.public-mode .offers-grid::-webkit-scrollbar-thumb {
  background: rgba(123, 214, 43, .55) !important;
  border-radius: 999px !important;
}

body.public-mode .recommended-card,
body.public-mode .offer-card {
  flex: 0 0 clamp(310px, 23vw, 390px) !important;
  width: clamp(310px, 23vw, 390px) !important;
  max-width: none !important;
  min-width: 0 !important;
  scroll-snap-align: start !important;
  transform: translateZ(0) !important;
  contain: layout paint !important;
}

body.public-mode .recommended-card + .recommended-card,
body.public-mode .offer-card + .offer-card {
  margin-left: 0 !important;
}

body.public-mode .recommended-card .cash-discount-badge.normal-price-badge {
  background: linear-gradient(135deg, #b7ff38 0%, #91e12e 100%) !important;
  border-color: rgba(65, 142, 24, .28) !important;
  box-shadow: 0 14px 30px rgba(123, 214, 43, .18) !important;
}

body.public-mode .recommended-card .cash-discount-badge.normal-price-badge span,
body.public-mode .recommended-card .cash-discount-badge.normal-price-badge strong {
  color: #07110b !important;
}

body.public-mode .recommended-card .cash-discount-badge.normal-price-badge strong {
  font-size: 24px !important;
}

@media (min-width: 901px) {
  body.public-mode .recommended-card,
  body.public-mode .offer-card {
    flex-basis: clamp(300px, 21.5vw, 370px) !important;
    width: clamp(300px, 21.5vw, 370px) !important;
  }

  body.public-mode .recommended-card > button,
  body.public-mode .offer-card > button {
    height: clamp(205px, 14vw, 260px) !important;
    min-height: 205px !important;
  }
}

@media (max-width: 760px) {
  body.public-mode .recommended-grid,
  body.public-mode .offers-grid {
    gap: 14px !important;
    padding-inline: 16px !important;
    margin-inline: -16px !important;
    scroll-padding-inline: 16px !important;
  }

  body.public-mode .recommended-card,
  body.public-mode .offer-card {
    flex: 0 0 min(76vw, 330px) !important;
    width: min(76vw, 330px) !important;
    max-width: min(76vw, 330px) !important;
  }

  body.public-mode .recommended-card > button,
  body.public-mode .offer-card > button {
    height: clamp(196px, 50vw, 254px) !important;
    min-height: 196px !important;
    max-height: 254px !important;
  }

  body.public-mode .recommended-card > div,
  body.public-mode .offer-card > div {
    min-height: 0 !important;
  }
}

@media (max-width: 430px) {
  body.public-mode .recommended-card,
  body.public-mode .offer-card {
    flex-basis: min(74vw, 310px) !important;
    width: min(74vw, 310px) !important;
    max-width: min(74vw, 310px) !important;
  }

  body.public-mode .recommended-card > button,
  body.public-mode .offer-card > button {
    height: clamp(184px, 48vw, 232px) !important;
    min-height: 184px !important;
  }
}

/* FINAL OVERRIDE 20260728-04: mobile catalog cards without clipped labels */
@media (max-width: 760px) {
  body.public-mode .catalog-layout .catalog-grid .product-card {
    overflow: hidden !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .product-price-panel {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 6px !important;
    padding: 8px !important;
    overflow: hidden !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .normal-price-block,
  body.public-mode .catalog-layout .catalog-grid .product-card .cash-price-block {
    display: grid !important;
    grid-template-columns: minmax(0, 68px) minmax(0, 1fr) !important;
    gap: 4px !important;
    align-items: center !important;
    min-width: 0 !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .normal-price-block span,
  body.public-mode .catalog-layout .catalog-grid .product-card .cash-price-block span {
    font-size: 0 !important;
    line-height: 1 !important;
    white-space: normal !important;
    overflow: visible !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .normal-price-block span::after {
    content: "Normal";
    font-size: 9px !important;
    font-weight: 900 !important;
    color: inherit !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .cash-price-block span::after {
    content: "Efectivo/transf.";
    font-size: 8px !important;
    font-weight: 900 !important;
    color: inherit !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .normal-price-block strong,
  body.public-mode .catalog-layout .catalog-grid .product-card .cash-price-block strong {
    display: block !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: visible !important;
    text-align: right !important;
    font-size: 15px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .product-price-panel small {
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: normal !important;
    font-size: 8px !important;
    line-height: 1.15 !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .normal-only-price-panel .normal-price-block span::after {
    content: "Precio normal";
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .normal-only-price-panel .normal-price-block strong {
    font-size: 18px !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .stock-selector {
    overflow: hidden !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .stock-store-row {
    position: relative !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 6px !important;
    overflow: hidden !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .stock-store-row::before,
  body.public-mode .catalog-layout .catalog-grid .product-card .stock-store-row::after {
    content: none !important;
    display: none !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .stock-chip-list {
    display: flex !important;
    gap: 7px !important;
    max-width: 100% !important;
    width: 100% !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 0 2px 6px !important;
    background: transparent !important;
    scrollbar-width: none !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .stock-chip-list::before,
  body.public-mode .catalog-layout .catalog-grid .product-card .stock-chip-list::after {
    content: none !important;
    display: none !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .stock-chip-list::-webkit-scrollbar {
    display: none !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .stock-choice {
    flex: 0 0 auto !important;
    min-width: 62px !important;
    min-height: 32px !important;
    padding: 6px 7px !important;
    border-radius: 8px !important;
    white-space: nowrap !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .stock-choice span,
  body.public-mode .catalog-layout .catalog-grid .product-card .stock-choice small {
    font-size: 10px !important;
    line-height: 1 !important;
  }
}

@media (max-width: 380px) {
  body.public-mode .catalog-layout .catalog-grid .product-card .normal-price-block strong,
  body.public-mode .catalog-layout .catalog-grid .product-card .cash-price-block strong {
    font-size: 14px !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .cash-price-block span::after {
    content: "Efect./transf.";
    font-size: 7px !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .stock-choice {
    min-width: 64px !important;
  }
}

/* FINAL OVERRIDE 20260812-01: mobile catalog cards never clip price, stock or actions */
@media (max-width: 760px) {
  body.public-mode .catalog-layout .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    overflow: visible !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
    contain: paint !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .photo-slot {
    min-height: 142px !important;
    aspect-ratio: 1 / 1 !important;
    padding: 8px !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card:has(.photo-thumbs) .photo-slot,
  body.public-mode .catalog-layout .catalog-grid .product-card.has-gallery .photo-slot {
    min-height: 166px !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .product-info {
    min-width: 0 !important;
    padding: 9px !important;
    gap: 8px !important;
    overflow: hidden !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .product-heading,
  body.public-mode .catalog-layout .catalog-grid .product-card .product-heading * {
    max-width: 100% !important;
    min-width: 0 !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .product-heading strong {
    display: inline-block !important;
    width: fit-content !important;
    max-width: 100% !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    font-size: 9px !important;
    line-height: 1.05 !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card h3 {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    min-height: 30px !important;
    max-height: 34px !important;
    overflow: hidden !important;
    overflow-wrap: anywhere !important;
    font-size: 12px !important;
    line-height: 1.16 !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .product-price-panel {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 5px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 8px !important;
    overflow: hidden !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .normal-price-block,
  body.public-mode .catalog-layout .catalog-grid .product-card .cash-price-block {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 6px !important;
    width: 100% !important;
    min-width: 0 !important;
    align-items: center !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .normal-price-block span,
  body.public-mode .catalog-layout .catalog-grid .product-card .cash-price-block span {
    min-width: 0 !important;
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
    white-space: normal !important;
    letter-spacing: 0 !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .normal-price-block strong,
  body.public-mode .catalog-layout .catalog-grid .product-card .cash-price-block strong {
    min-width: max-content !important;
    max-width: none !important;
    overflow: visible !important;
    text-align: right !important;
    white-space: nowrap !important;
    font-size: clamp(14px, 4vw, 17px) !important;
    line-height: 1 !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .normal-only-price-panel .normal-price-block {
    grid-template-columns: minmax(0, 1fr) auto !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .normal-only-price-panel .normal-price-block strong {
    font-size: clamp(16px, 4.8vw, 20px) !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .product-price-panel small {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    font-size: 8px !important;
    line-height: 1.1 !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .stock-selector {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    padding: 8px !important;
    overflow: hidden !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .stock-selector-heading {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 8px !important;
    align-items: start !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .stock-selector-heading strong {
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
    font-size: 10px !important;
    line-height: 1.05 !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .stock-selector-heading span {
    white-space: nowrap !important;
    font-size: 9px !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .stock-store-row {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .stock-chip-list {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x proximity !important;
    padding: 0 20px 3px 0 !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .stock-choice {
    flex: 0 0 auto !important;
    min-width: 70px !important;
    max-width: 92px !important;
    min-height: 35px !important;
    padding: 6px 8px !important;
    scroll-snap-align: start !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .product-secondary-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    width: 100% !important;
    min-width: 0 !important;
    gap: 6px !important;
    overflow: hidden !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .product-secondary-actions a,
  body.public-mode .catalog-layout .catalog-grid .product-card .product-secondary-actions button {
    width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    font-size: 11px !important;
    padding-inline: 4px !important;
  }
}

@media (max-width: 390px) {
  body.public-mode .catalog-layout .catalog-grid {
    gap: 8px !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .product-info {
    padding: 8px !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .product-price-panel {
    padding: 7px !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .normal-price-block,
  body.public-mode .catalog-layout .catalog-grid .product-card .cash-price-block {
    grid-template-columns: 1fr !important;
    gap: 3px !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .normal-price-block strong,
  body.public-mode .catalog-layout .catalog-grid .product-card .cash-price-block strong {
    text-align: left !important;
  }
}

/* FINAL OVERRIDE 20260812-02: readable mobile price and stock cards */
@media (max-width: 760px) {
  body.public-mode .catalog-layout .catalog-grid .product-card .product-price-panel {
    display: grid !important;
    gap: 4px !important;
    padding: 8px 9px !important;
    overflow: hidden !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .normal-price-block,
  body.public-mode .catalog-layout .catalog-grid .product-card .cash-price-block {
    display: grid !important;
    grid-template-columns: minmax(0, 76px) minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 6px !important;
    min-width: 0 !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .normal-price-block span,
  body.public-mode .catalog-layout .catalog-grid .product-card .cash-price-block span {
    font-size: 0 !important;
    line-height: 1 !important;
    min-width: 0 !important;
    white-space: normal !important;
    overflow: visible !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .normal-price-block span::after {
    content: "Normal";
    display: block;
    color: rgba(17, 31, 23, 0.62);
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 0.03em;
    line-height: 1.05;
    text-transform: uppercase;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .cash-price-block span::after {
    content: "Efect./transf.";
    display: block;
    color: rgba(17, 31, 23, 0.62);
    font-size: 7.5px;
    font-weight: 900;
    letter-spacing: 0.01em;
    line-height: 1.05;
    text-transform: uppercase;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .normal-price-block strong,
  body.public-mode .catalog-layout .catalog-grid .product-card .cash-price-block strong {
    justify-self: end !important;
    max-width: 100% !important;
    color: #0f2118 !important;
    font-size: clamp(14px, 4.5vw, 18px) !important;
    line-height: 1 !important;
    text-align: right !important;
    white-space: nowrap !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .cash-price-block strong {
    color: #17753a !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .product-price-panel small {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 2px !important;
    padding: 4px 6px !important;
    overflow: visible !important;
    color: #1d6f32 !important;
    font-size: 7.4px !important;
    font-weight: 900 !important;
    letter-spacing: 0.015em !important;
    line-height: 1.1 !important;
    text-align: center !important;
    text-overflow: clip !important;
    text-transform: uppercase !important;
    white-space: normal !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .stock-selector-heading {
    display: grid !important;
    grid-template-columns: minmax(0, 68px) minmax(0, 1fr) !important;
    align-items: start !important;
    gap: 5px !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .stock-selector-heading strong,
  body.public-mode .catalog-layout .catalog-grid .product-card .stock-selector-heading span {
    min-width: 0 !important;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .stock-selector-heading strong {
    font-size: 0 !important;
    line-height: 1 !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .stock-selector-heading strong::after {
    content: "Stock";
    display: block;
    color: #102017;
    font-size: 10px;
    font-weight: 950;
    letter-spacing: 0.04em;
    line-height: 1.05;
    text-transform: uppercase;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .stock-selector-heading span {
    color: rgba(17, 31, 23, 0.58) !important;
    font-size: 8px !important;
    font-weight: 850 !important;
    letter-spacing: 0.02em !important;
    line-height: 1.05 !important;
    text-align: right !important;
    text-transform: uppercase !important;
  }
}

/* FINAL OVERRIDE 20260812-03: promo cards prioritize full product photo */
body.public-mode .offers-grid .offer-card {
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  background: #fff !important;
  border: 1px solid rgba(11, 31, 20, 0.1) !important;
}

body.public-mode .offers-grid .offer-card > button {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 0 !important;
  height: clamp(250px, 18vw, 330px) !important;
  padding: 18px !important;
  overflow: hidden !important;
  background: linear-gradient(90deg, #f8faf6 0 10%, #fff 30% 70%, #f4f7f0 100%) !important;
  border: 0 !important;
  border-radius: 0 !important;
}

body.public-mode .offers-grid .offer-card > button img[data-original-src] {
  position: relative !important;
  inset: auto !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  transform: none !important;
}

body.public-mode .offers-grid .offer-card > div {
  display: grid !important;
  grid-template-rows: auto auto auto !important;
  gap: 8px !important;
  padding: 12px !important;
  background: #fff !important;
  color: #101713 !important;
}

body.public-mode .offers-grid .offer-card > div > span {
  color: #0f6b3e !important;
  font-size: 11px !important;
  font-weight: 950 !important;
  letter-spacing: 0.03em !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
}

body.public-mode .offers-grid .offer-card > div > strong {
  min-height: 0 !important;
  color: #101713 !important;
  font-size: 15px !important;
  font-weight: 950 !important;
  letter-spacing: 0 !important;
  line-height: 1.15 !important;
  -webkit-line-clamp: 2 !important;
}

body.public-mode .offers-grid .offer-card .offer-price-summary {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 7px 10px !important;
  min-height: 0 !important;
  padding: 10px 12px !important;
  overflow: hidden !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, #e01922, #ff3840) !important;
  color: #fff !important;
}

body.public-mode .offers-grid .offer-card .offer-price-summary strong {
  color: #fff !important;
  font-size: clamp(22px, 2.1vw, 32px) !important;
  font-weight: 1000 !important;
  line-height: 1 !important;
  text-align: right !important;
  white-space: nowrap !important;
}

body.public-mode .offers-grid .offer-card .offer-price-summary small {
  grid-column: 1 / -1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 5px 8px !important;
  overflow: hidden !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, .18) !important;
  color: #fff !important;
  font-size: 10px !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

@media (max-width: 760px) {
  body.public-mode .offers-grid {
    grid-auto-columns: minmax(300px, 86vw) !important;
  }

  body.public-mode .offers-grid .offer-card {
    border-radius: 16px !important;
  }

  body.public-mode .offers-grid .offer-card > button {
    height: clamp(258px, 70vw, 340px) !important;
    padding: 18px 14px 12px !important;
  }

  body.public-mode .offers-grid .offer-card > button img[data-original-src] {
    width: calc(100% - 4px) !important;
    height: calc(100% - 4px) !important;
    object-fit: contain !important;
  }

  body.public-mode .offers-grid .offer-card > div {
    gap: 7px !important;
    padding: 10px 10px 12px !important;
  }

  body.public-mode .offers-grid .offer-card > div > strong {
    font-size: 13px !important;
    line-height: 1.12 !important;
  }

  body.public-mode .offers-grid .offer-card .offer-price-summary {
    padding: 9px 10px !important;
  }

  body.public-mode .offers-grid .offer-card .offer-price-summary span {
    font-size: 9px !important;
    line-height: 1.05 !important;
  }

  body.public-mode .offers-grid .offer-card .offer-price-summary strong {
    font-size: 24px !important;
  }

  body.public-mode .offers-grid .offer-card .offer-price-summary small {
    font-size: 8px !important;
    padding: 5px 7px !important;
  }
}

@media (max-width: 390px) {
  body.public-mode .offers-grid {
    grid-auto-columns: minmax(292px, 88vw) !important;
  }

  body.public-mode .offers-grid .offer-card > button {
    height: clamp(246px, 74vw, 318px) !important;
    padding: 16px 12px 10px !important;
  }
}

/* FINAL OVERRIDE 20260812-04: featured cards prioritize full product photo */
body.public-mode .recommended-grid .recommended-card {
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  background: #fff !important;
  border: 1px solid rgba(11, 31, 20, 0.1) !important;
}

body.public-mode .recommended-grid .recommended-card > button {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 0 !important;
  height: clamp(250px, 18vw, 330px) !important;
  padding: 18px !important;
  overflow: hidden !important;
  background: linear-gradient(90deg, #f8faf6 0 10%, #fff 30% 70%, #f4f7f0 100%) !important;
  border: 0 !important;
  border-radius: 0 !important;
}

body.public-mode .recommended-grid .recommended-card > button img[data-original-src] {
  position: relative !important;
  inset: auto !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  transform: none !important;
}

body.public-mode .recommended-grid .recommended-card > div {
  display: grid !important;
  grid-template-rows: auto auto auto auto !important;
  gap: 8px !important;
  padding: 12px !important;
  background: #fff !important;
  color: #101713 !important;
}

body.public-mode .recommended-grid .recommended-card .recommended-brand-lockup {
  min-height: 0 !important;
  color: #7ce23a !important;
}

body.public-mode .recommended-grid .recommended-card > div > strong {
  min-height: 0 !important;
  color: #101713 !important;
  font-size: 15px !important;
  font-weight: 950 !important;
  letter-spacing: 0 !important;
  line-height: 1.15 !important;
  -webkit-line-clamp: 2 !important;
}

body.public-mode .recommended-grid .recommended-card > div > small {
  color: rgba(16, 23, 19, .72) !important;
  font-size: 11px !important;
  line-height: 1.1 !important;
}

body.public-mode .recommended-grid .recommended-card .cash-discount-badge,
body.public-mode .recommended-grid .recommended-card .normal-price-badge {
  min-height: 0 !important;
  padding: 10px 12px !important;
  overflow: hidden !important;
  border-radius: 12px !important;
}

body.public-mode .recommended-grid .recommended-card .cash-discount-badge strong {
  font-size: clamp(22px, 2.1vw, 32px) !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

/* Cuotas sin intereses: beneficio informativo separado del descuento en efectivo */
body.public-mode .installment-plan {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 2px 5px;
  width: 100%;
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid rgba(14, 107, 62, .14);
  border-radius: 8px;
  background: #f1f5f1;
  color: #26362d;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.15;
  letter-spacing: 0;
}

body.public-mode .installment-plan strong {
  color: #0f6b3e !important;
  font-size: 16px !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  white-space: nowrap;
}

body.public-mode .installment-plan b {
  color: #17241c;
  font-size: inherit;
  font-weight: 900;
  letter-spacing: 0;
  white-space: nowrap;
}

body.public-mode .recommended-grid .recommended-card > div,
body.public-mode .offers-grid .offer-card > div {
  grid-template-rows: none !important;
  grid-auto-rows: auto !important;
}

body.public-mode .recommended-grid .recommended-card .installment-plan,
body.public-mode .offers-grid .offer-card .installment-plan {
  margin-top: 1px;
}

body.public-mode .product-detail-info > .installment-plan {
  margin-top: 10px;
}

@media (max-width: 760px) {
  body.public-mode .installment-plan {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: baseline;
    gap: 3px 5px;
    padding: 7px 8px;
    font-size: 9px;
  }

  body.public-mode .installment-plan strong {
    font-size: 14px !important;
    justify-self: start;
  }

  body.public-mode .installment-plan b {
    grid-column: 1 / -1;
  }

  body.public-mode .recommended-grid .recommended-card .installment-plan,
  body.public-mode .offers-grid .offer-card .installment-plan {
    display: flex;
    padding: 7px 9px;
    font-size: 10px;
  }

  body.public-mode .recommended-grid .recommended-card .installment-plan b,
  body.public-mode .offers-grid .offer-card .installment-plan b {
    margin-left: 0;
  }

  body.public-mode .recommended-grid {
    grid-auto-columns: minmax(300px, 86vw) !important;
  }

  body.public-mode .recommended-grid .recommended-card {
    border-radius: 16px !important;
  }

  body.public-mode .recommended-grid .recommended-card > button {
    height: clamp(258px, 70vw, 340px) !important;
    padding: 18px 14px 12px !important;
  }

  body.public-mode .recommended-grid .recommended-card > button img[data-original-src] {
    width: calc(100% - 4px) !important;
    height: calc(100% - 4px) !important;
    object-fit: contain !important;
  }

  body.public-mode .recommended-grid .recommended-card > div {
    gap: 7px !important;
    padding: 10px 10px 12px !important;
  }

  body.public-mode .recommended-grid .recommended-card > div > strong {
    font-size: 13px !important;
    line-height: 1.12 !important;
  }

  body.public-mode .recommended-grid .recommended-card .cash-discount-badge,
  body.public-mode .recommended-grid .recommended-card .normal-price-badge {
    padding: 9px 10px !important;
  }

  body.public-mode .recommended-grid .recommended-card .cash-discount-badge span,
  body.public-mode .recommended-grid .recommended-card .normal-price-badge span {
    font-size: 9px !important;
    line-height: 1.05 !important;
  }

  body.public-mode .recommended-grid .recommended-card .cash-discount-badge strong,
  body.public-mode .recommended-grid .recommended-card .normal-price-badge strong {
    font-size: 24px !important;
  }
}

@media (max-width: 390px) {
  body.public-mode .recommended-grid {
    grid-auto-columns: minmax(292px, 88vw) !important;
  }

  body.public-mode .recommended-grid .recommended-card > button {
    height: clamp(246px, 74vw, 318px) !important;
    padding: 16px 12px 10px !important;
  }
}

/* CRM separado del panel de inventario */
body.admin-mode .whatsapp-kit,
body.admin-mode .admin-crm-shortcut,
body.admin-mode .catalog-insights,
body.admin-mode .orders-admin,
body.admin-mode .chat-panel {
  display: none !important;
}

body.crm-mode {
  background:
    radial-gradient(circle at 20% 0%, rgba(138, 232, 50, .12), transparent 34%),
    linear-gradient(135deg, #eef4ef 0%, #f8fbf7 58%, #e7efe8 100%);
}

body.crm-mode .upload-band,
body.crm-mode .pdf-band,
body.crm-mode .stats-grid,
body.crm-mode .admin-crm-shortcut,
body.crm-mode .catalog-insights,
body.crm-mode .toolbar,
body.crm-mode .catalog-layout,
body.crm-mode .public-intro,
body.crm-mode .public-benefits,
body.crm-mode .need-shop-band,
body.crm-mode .recommended-band,
body.crm-mode .offers-band,
body.crm-mode .trust-band,
body.crm-mode .public-footer,
body.crm-mode .mobile-smart-filters,
body.crm-mode .mobile-shop-tabs,
body.crm-mode .floating-actions,
body.crm-mode .order-panel,
body.crm-mode .mobile-filter-sheet,
body.crm-mode .mobile-filter-backdrop,
body.crm-mode .cart-backdrop {
  display: none !important;
}

body.crm-mode .topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(14px);
}

body.crm-mode .topbar .mode-link[href="/crm"] {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

body.crm-mode .app-shell {
  width: min(1500px, calc(100vw - 28px));
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  align-items: start;
}

body.crm-mode .inventory-panel {
  min-height: calc(100vh - 32px);
}

body.crm-mode .whatsapp-kit,
body.crm-mode .orders-admin {
  display: block;
  margin-top: 18px;
}

body.crm-mode .orders-admin {
  scroll-margin-top: 88px;
}

body.crm-mode .side-panel {
  display: block;
  position: sticky;
  top: 88px;
  align-self: start;
}

body.crm-mode .chat-panel,
body.crm-mode .helper-section {
  display: block;
}

body.crm-mode .orders-admin-heading,
body.crm-mode .kit-heading {
  align-items: flex-start;
}

body.crm-mode .orders-admin h2,
body.crm-mode .whatsapp-kit h2 {
  letter-spacing: 0;
}

body.crm-mode .crm-actions,
body.crm-mode .kit-actions {
  flex-wrap: wrap;
}

@media (max-width: 980px) {
  body.crm-mode .app-shell {
    display: block;
    width: min(100%, calc(100vw - 18px));
  }

  body.crm-mode .side-panel {
    position: static;
    margin-top: 18px;
  }

  body.crm-mode .topbar {
    align-items: center;
    gap: 10px;
  }

  body.crm-mode .topbar-actions {
    overflow-x: auto;
    padding-bottom: 4px;
  }

body.crm-mode .orders-admin-heading,
body.crm-mode .kit-heading {
  display: grid;
  gap: 14px;
  }
}

.web-pass-card {
  margin: 10px 0 12px;
  padding: 12px 14px;
  border: 1px solid rgba(157, 255, 43, 0.35);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(157, 255, 43, 0.16), rgba(6, 18, 13, 0.82));
  color: #f6fff2;
  display: grid;
  gap: 5px;
}

.web-pass-card:empty {
  display: none;
}

.web-pass-card span {
  text-transform: uppercase;
  color: #9dff2b;
  font-weight: 900;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.web-pass-card strong {
  font-size: 1.25rem;
  letter-spacing: 0.08em;
}

/* CRM operativo: cola priorizada, seguimiento y clientes */
.crm-focus {
  display: none;
}

body.crm-mode {
  background: #edf1ee;
}

body.crm-mode .dwilly-splash,
body.admin-mode .dwilly-splash {
  display: none !important;
}

body.crm-mode .inventory-panel {
  display: flex;
  flex-direction: column;
  overflow: visible;
}

body.crm-mode .topbar {
  order: 0;
}

body.crm-mode .orders-admin {
  order: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  padding: 20px;
  background: #f4f6f4;
}

body.crm-mode .orders-admin > *,
.crm-orders-workspace,
.crm-customer-toolbar,
.admin-orders-list,
.admin-customers-list {
  min-width: 0;
  max-width: 100%;
}

body.crm-mode #crm-whatsapp-kit {
  order: 2;
  margin-top: 0;
}

body.crm-mode .chat-panel,
body.crm-mode .helper-section {
  display: none !important;
}

body.crm-mode .side-panel {
  border: 0;
  background: transparent;
  box-shadow: none;
}

body.crm-mode .crm-focus {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid #d1dbd5;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(18, 34, 28, 0.08);
}

.crm-focus header h2 {
  margin: 3px 0 0;
  font-size: 22px;
  letter-spacing: 0;
}

.crm-focus-summary {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 9px;
  align-items: baseline;
  padding: 14px;
  border-left: 4px solid #79bd24;
  background: #f2f7ef;
}

.crm-focus-summary strong {
  grid-row: 1 / 3;
  color: #183227;
  font-size: 34px;
}

.crm-focus-summary span {
  color: #183227;
  font-weight: 900;
}

.crm-focus-summary small {
  color: #617068;
}

.crm-focus-list {
  display: grid;
  gap: 8px;
}

.crm-focus-list > button {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3px 10px;
  width: 100%;
  min-height: 68px;
  padding: 10px 11px;
  border: 1px solid #dbe3de;
  border-radius: 7px;
  background: #fff;
  color: #183227;
  text-align: left;
  cursor: pointer;
}

.crm-focus-list > button:hover {
  border-color: #79bd24;
  background: #f8fbf6;
}

.crm-focus-list button > span {
  justify-self: start;
  padding: 3px 6px;
  border-radius: 4px;
  background: #eef2ef;
  color: #56655d;
  font-size: 12px;
  font-weight: 900;
}

.crm-focus-list button > span.critical {
  background: #ffe1df;
  color: #a12620;
}

.crm-focus-list button > span.high {
  background: #fff0ca;
  color: #875800;
}

.crm-focus-list button > strong,
.crm-focus-list button > small {
  grid-column: 1 / -1;
}

.crm-focus-list button > small {
  color: #6c7872;
}

.crm-section-links {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.crm-section-links a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 0 13px;
  border: 1px solid #cfd9d3;
  border-radius: 7px;
  background: #fff;
  color: #183227;
  font-weight: 850;
  text-decoration: none;
}

.crm-section-links a:first-child {
  border-color: #183227;
  background: #183227;
  color: #fff;
}

.crm-summary {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.crm-summary article {
  min-width: 0;
  min-height: 98px;
  border-radius: 8px;
}

.crm-summary article[data-summary-filter],
.crm-summary article[data-summary-priority],
.crm-summary article[data-summary-customers] {
  cursor: pointer;
}

.crm-summary article[data-summary-filter]:hover,
.crm-summary article[data-summary-priority]:hover,
.crm-summary article[data-summary-customers]:hover {
  border-color: #79bd24;
  box-shadow: 0 0 0 2px rgba(121, 189, 36, 0.12);
}

.crm-summary small {
  display: block;
  margin-top: 3px;
  color: #758079;
  font-size: 12px;
}

.crm-orders-workspace,
.customers-admin {
  scroll-margin-top: 92px;
}

.crm-toolbar,
.crm-customer-toolbar {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid #d5ded8;
  border-radius: 8px;
  background: #fff;
}

.crm-toolbar {
  grid-template-columns: minmax(260px, 1fr) minmax(170px, 220px) auto;
  align-items: end;
}

.crm-customer-toolbar {
  grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr);
  align-items: end;
}

.crm-toolbar label,
.crm-customer-toolbar label,
.order-follow-up-form label,
.order-status-control label {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.crm-toolbar label > span,
.crm-customer-toolbar label > span,
.order-follow-up-form label > span,
.order-status-control label > span {
  color: #526159;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.crm-toolbar input,
.crm-toolbar select,
.crm-customer-toolbar input,
.order-follow-up-form input,
.order-follow-up-form textarea,
.order-status-control select {
  width: 100%;
  min-height: 44px;
  border: 1px solid #cbd6cf;
  border-radius: 6px;
  padding: 9px 11px;
  background: #fff;
  color: #17231d;
  font: inherit;
}

.order-follow-up-form textarea {
  min-height: 88px;
  resize: vertical;
}

.crm-export-button,
.order-follow-up-form button {
  min-height: 44px;
  border: 0;
  border-radius: 6px;
  padding: 0 14px;
  background: #183227;
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.crm-export-button:hover,
.order-follow-up-form button:hover {
  background: #285543;
}

.order-status-filters {
  border-radius: 8px;
  padding: 6px;
  background: #fff;
}

.order-status-filters button {
  min-height: 38px;
  border-radius: 6px;
  padding: 0 10px;
  font-size: 13px;
}

.order-status-filters button span {
  display: inline-flex;
  min-width: 22px;
  min-height: 22px;
  align-items: center;
  justify-content: center;
  margin-left: 4px;
  border-radius: 4px;
  background: #edf2ef;
  color: #40544a;
  font-size: 12px;
}

.order-status-filters button.active span {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.crm-result-count {
  margin: 0;
  color: #647169;
  font-size: 13px;
  font-weight: 800;
}

.admin-order-card {
  gap: 10px;
  padding: 14px 16px;
  border-radius: 8px;
  border-left-width: 5px;
}

.admin-order-card.priority-critical {
  border-left-color: #d53d35;
}

.admin-order-card.priority-high {
  border-left-color: #d89b15;
}

.admin-order-card.priority-medium {
  border-left-color: #7d61c7;
}

.admin-order-card.priority-low {
  border-left-color: #3d93aa;
}

.admin-order-card.priority-normal {
  border-left-color: #b7c2bc;
}

.order-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.order-attention,
.customer-segment-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 4px;
  background: #edf2ef;
  color: #4d5c54;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.order-attention.critical {
  background: #ffe1df;
  color: #a12620;
}

.order-attention.high {
  background: #fff0ca;
  color: #875800;
}

.order-attention.medium {
  background: #ede7ff;
  color: #5133a0;
}

.customer-segment-badge {
  background: #e6f5da;
  color: #356512;
}

.order-card-amount {
  display: grid;
  justify-items: end;
  gap: 2px;
  white-space: nowrap;
}

.order-card-amount span {
  color: #6b7770;
  font-size: 12px;
  font-weight: 800;
}

.order-card-amount strong {
  color: #183227;
  font-size: 24px;
}

.admin-order-meta.compact {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.admin-order-meta.compact span {
  padding: 4px 7px;
  border-radius: 4px;
  background: #f0f4f1;
  font-size: 13px;
}

.order-primary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.order-primary-actions button,
.order-primary-actions a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 6px;
  padding: 0 13px;
  background: #159957;
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.order-primary-actions a {
  border: 1px solid #cbd6cf;
  background: #fff;
  color: #183227;
}

.order-management {
  border-top: 1px solid #e1e8e4;
}

.order-management summary {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 10px;
  align-items: center;
  padding: 12px 2px 2px;
  color: #183227;
  cursor: pointer;
  list-style: none;
}

.order-management summary::-webkit-details-marker {
  display: none;
}

.order-management summary::before {
  content: "+";
  grid-row: 1 / 3;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  background: #edf3ef;
  font-size: 20px;
  font-weight: 900;
}

.order-management[open] summary::before {
  content: "-";
}

.order-management summary span {
  font-weight: 900;
}

.order-management summary small {
  color: #6d7872;
}

.order-management-body {
  display: grid;
  gap: 13px;
  padding-top: 14px;
}

.order-follow-up-form {
  display: grid;
  grid-template-columns: minmax(190px, .55fr) minmax(260px, 1fr) auto;
  gap: 10px;
  align-items: end;
  padding: 12px;
  border: 1px solid #d9e2dc;
  border-radius: 7px;
  background: #f7f9f7;
}

.order-status-control {
  max-width: 320px;
}

.order-history {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border-left: 3px solid #a8b8ae;
  background: #f5f7f5;
  color: #526159;
}

.order-history strong {
  color: #183227;
}

.crm-customer-segments {
  display: flex;
  gap: 6px;
  overflow-x: auto;
}

.crm-customer-segments button {
  flex: 0 0 auto;
  min-height: 42px;
  border: 1px solid #d2dcd6;
  border-radius: 6px;
  padding: 0 10px;
  background: #fff;
  color: #31463b;
  font-weight: 850;
  cursor: pointer;
}

.crm-customer-segments button.active {
  border-color: #183227;
  background: #183227;
  color: #fff;
}

.admin-customers-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.customer-card {
  align-content: start;
  border-radius: 8px;
}

.customer-metrics {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 1180px) {
  .crm-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .crm-toolbar,
  .crm-customer-toolbar,
  .order-follow-up-form {
    grid-template-columns: 1fr 1fr;
  }

  .crm-export-button,
  .order-follow-up-form button {
    width: 100%;
  }
}

@media (max-width: 720px) {
  body.crm-mode .app-shell {
    width: 100%;
    padding: 0;
  }

  body.crm-mode .inventory-panel,
  body.crm-mode .crm-focus {
    border-radius: 0;
  }

  body.crm-mode .orders-admin {
    padding: 14px 10px;
  }

  body.crm-mode .topbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    padding: 14px;
  }

  body.crm-mode .brand-lockup,
  body.crm-mode .topbar-actions {
    width: 100%;
    min-width: 0;
  }

  body.crm-mode .topbar-actions {
    justify-content: flex-start;
  }

  body.crm-mode .brand-lockup h1 {
    font-size: 24px;
    line-height: 1.05;
  }

  .crm-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .crm-toolbar,
  .crm-customer-toolbar,
  .order-follow-up-form,
  .admin-customers-list {
    grid-template-columns: 1fr;
  }

  .admin-order-card header,
  .customer-card header {
    display: flex;
  }

  .admin-order-meta.compact {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-order-meta.compact span {
    overflow-wrap: anywhere;
  }

  .order-primary-actions > * {
    flex: 1 1 150px;
  }

  .order-card-amount strong {
    font-size: 20px;
  }

  .customer-metrics {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 430px) {
  .crm-summary {
    grid-template-columns: 1fr 1fr;
  }

  .crm-summary article {
    min-height: 90px;
    padding: 10px;
  }

  .crm-summary strong {
    font-size: 21px;
  }

  .admin-order-card,
  .customer-card {
    padding: 12px;
  }

  .admin-order-card header,
  .customer-card header {
    gap: 8px;
  }

  .admin-order-card h3,
  .customer-card h3 {
    font-size: 17px;
    overflow-wrap: anywhere;
  }

  .admin-order-meta.compact {
    grid-template-columns: 1fr;
  }
}

.web-pass-card p {
  margin: 0;
  color: rgba(246, 255, 242, 0.78);
  font-size: 0.88rem;
}

.size-guide-button {
  border: 1px solid rgba(157, 255, 43, 0.45);
  background: rgba(157, 255, 43, 0.1);
  color: #f6fff2;
  border-radius: 999px;
  min-height: 44px;
  padding: 0 16px;
  font-weight: 900;
  cursor: pointer;
}

.product-card .size-guide-button,
.recommended-card .size-guide-button,
.offer-card .size-guide-button {
  color: #0a1a11;
  background: #eff8ec;
  border-color: #dbe9d8;
}

.size-guide-button.compact {
  min-height: 38px;
  padding: 0 12px;
  font-size: 0.85rem;
}

.size-guide-modal[aria-hidden="true"] {
  display: none;
}

.size-guide-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(0, 0, 0, 0.68);
  display: grid;
  place-items: center;
  padding: 18px;
}

.size-guide-dialog {
  width: min(960px, 100%);
  max-height: min(92vh, 900px);
  overflow: auto;
  border-radius: 24px;
  background: #f8fbf4;
  color: #07130d;
  border: 1px solid rgba(157, 255, 43, 0.35);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

.size-guide-header {
  position: sticky;
  top: 0;
  z-index: 2;
  background: rgba(248, 251, 244, 0.96);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px;
  border-bottom: 1px solid #dfe8dc;
}

.size-guide-header p {
  margin: 0;
  text-transform: uppercase;
  color: #177443;
  font-weight: 900;
  font-size: 0.78rem;
}

.size-guide-header strong {
  font-size: 1.35rem;
}

.size-guide-header button {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 0;
  background: #10251a;
  color: #fff;
  font-weight: 900;
}

.size-guide-tabs {
  display: flex;
  gap: 8px;
  padding: 14px 18px 0;
}

.size-guide-tabs button {
  flex: 1;
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid #cfe3c8;
  background: #fff;
  color: #0b2115;
  font-weight: 900;
}

.size-guide-tabs button.active {
  background: #9dff2b;
  border-color: #71d900;
}

.size-guide-copy {
  margin: 10px 18px 0;
  color: #516056;
}

.size-guide-image-wrap {
  padding: 14px 18px 20px;
}

.size-guide-image-wrap img {
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  display: block;
  border-radius: 14px;
  background: #fff;
}

body.size-guide-open {
  overflow: hidden;
}

@media (max-width: 760px) {
  .size-guide-modal {
    align-items: end;
    padding: 0;
  }

  .size-guide-dialog {
    width: 100%;
    max-height: 88vh;
    border-radius: 24px 24px 0 0;
  }

  .size-guide-image-wrap img {
    max-height: 68vh;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .product-secondary-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .product-secondary-actions .size-guide-button {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 38px !important;
    padding: 0 10px !important;
    font-size: 12px !important;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  body.public-mode .catalog-layout .catalog-grid .product-card .product-secondary-actions .detail-button,
  body.public-mode .catalog-layout .catalog-grid .product-card .product-secondary-actions .share-product-button {
    min-height: 38px !important;
    font-size: 12px !important;
  }
}

/* FINAL OVERRIDE 20260903-01: show complete product photography in desktop detail */
@media (min-width: 761px) {
  body.public-mode #product-modal-card.product-modal-card {
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr) !important;
    overflow-x: hidden !important;
  }

  body.public-mode #product-modal-card.product-modal-card .product-detail-photo {
    min-width: 0 !important;
    height: min(88vh, 820px) !important;
    overflow: hidden !important;
  }

  body.public-mode #product-modal-card.product-modal-card .product-detail-photo > button {
    align-self: stretch !important;
    justify-self: stretch !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
    overflow: hidden !important;
  }

  body.public-mode #product-modal-card.product-modal-card .product-detail-photo > button > img[data-original-src] {
    position: static !important;
    display: block !important;
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    transform: none !important;
  }
}

@media (min-width: 761px) and (max-width: 980px) {
  body.public-mode #product-modal-card.product-modal-card {
    grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr) !important;
  }

  body.public-mode #product-modal-card.product-modal-card .product-detail-photo > button {
    padding: 14px !important;
  }
}

/* FINAL OVERRIDE 20260909-01: verified availability and reservation form */
.public-mode .availability-badge {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  min-height: 24px;
  align-items: center;
  padding: 4px 9px;
  border: 1px solid #bfe3b2;
  border-radius: 6px;
  background: #eef9e9;
  color: #176326;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}

.public-mode .availability-badge.last {
  border-color: #f0b33b;
  background: #fff6dc;
  color: #8a5200;
}

.public-mode .availability-badge.low {
  border-color: #d8c45b;
  background: #fffbe8;
  color: #675500;
}

.public-mode .stock-choice.low-stock {
  border-color: #d8c45b !important;
  background: #fffbe8 !important;
}

.public-mode .stock-choice em {
  color: #8a5200;
  font-size: 8px;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.public-mode .customer-grid {
  grid-template-columns: 1fr !important;
  gap: 12px !important;
}

.public-mode .customer-grid .customer-name,
.public-mode .customer-grid .customer-phone,
.public-mode .customer-grid .customer-city-field,
.public-mode .customer-grid .customer-id,
.public-mode .customer-grid .customer-fulfillment,
.public-mode .customer-grid .customer-invoice-toggle {
  grid-column: 1 / -1 !important;
}

.public-mode .customer-fulfillment {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.public-mode .customer-fulfillment legend {
  grid-column: 1 / -1;
  margin-bottom: 2px;
  color: #526057;
  font-size: 13px;
  font-weight: 800;
}

.public-mode .customer-fulfillment label {
  position: relative;
  min-width: 0;
}

.public-mode .customer-fulfillment input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.public-mode .customer-fulfillment label > span {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  border: 1px solid #ced8cb;
  border-radius: 8px;
  background: #fff;
  color: #26342b;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.public-mode .customer-fulfillment input:checked + span {
  border-color: #73c72b;
  background: #ecffd9;
  color: #174c1d;
  box-shadow: inset 0 0 0 1px #73c72b;
}

.public-mode .customer-invoice-toggle {
  display: flex !important;
  min-height: 40px;
  flex-direction: row !important;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border: 1px solid #dce3d8;
  border-radius: 8px;
  background: #f8faf6;
}

.public-mode .customer-invoice-toggle input {
  width: 18px !important;
  height: 18px !important;
  margin: 0;
  accent-color: #69bd22;
}

.public-mode .customer-invoice-toggle span {
  color: #26342b;
  font-size: 13px;
  font-weight: 700;
}

.public-mode .customer-id[hidden] {
  display: none !important;
}

.public-mode .order-submit-status:empty {
  display: none;
}

.public-mode .order-submit-status {
  margin: 0 0 10px;
  padding: 9px 10px;
  border-radius: 7px;
  background: #eef4ea;
  color: #27402e;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.public-mode .order-submit-status.success { background: #e7f8df; color: #185a24; }
.public-mode .order-submit-status.warning { background: #fff7dc; color: #765200; }
.public-mode .order-submit-status.error { background: #ffebeb; color: #a3171d; }
.public-mode [aria-busy="true"] { pointer-events: none; opacity: .68; }

@media (max-width: 760px) {
  .public-mode .catalog-layout .catalog-grid .product-card .availability-badge {
    min-height: 20px;
    padding: 3px 6px;
    font-size: 8px;
  }

  .public-mode .catalog-layout .catalog-grid .product-card .stock-choice em {
    display: none;
  }

  .public-mode .customer-fulfillment label > span,
  .public-mode .customer-invoice-toggle span,
  .public-mode .order-submit-status {
    font-size: 12px;
  }
}
