﻿@import url("https://fonts.googleapis.com/css2?family=Inter:wght@500;600;700;800;900&display=swap");

:root {
  --ink: #10160f;
  --ink-2: #2a3328;
  --muted: #687166;
  --paper: #f7f8f3;
  --surface: #ffffff;
  --surface-2: #eef3e9;
  --line: #e1e8d9;
  --brand: #78c51b;
  --brand-2: #0b5a25;
  --dark: #050805;
  --shadow: 0 24px 70px rgba(16, 22, 15, 0.1);
}

body[data-theme="dark"] {
  --ink: #f6f9f1;
  --ink-2: #dfe8da;
  --muted: #aab5a5;
  --paper: #050805;
  --surface: #0d130c;
  --surface-2: #121b10;
  --line: rgba(255, 255, 255, 0.12);
  --brand-2: #8dd52e;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

* { box-sizing: border-box; }

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 90% -10%, rgba(167, 242, 10, 0.14), transparent 26rem),
    var(--paper);
  font-family: Inter, Arial, sans-serif;
  letter-spacing: 0;
}

a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }

.factory-strip {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(12px, 2.4vw, 34px);
  min-height: 38px;
  padding: 0 clamp(18px, 5vw, 78px);
  color: #263025;
  background: #f3f4f1;
  font-size: 0.82rem;
  white-space: nowrap;
  overflow: hidden;
}

.factory-strip-label {
  color: #566052;
}

.factory-brand-scroll {
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  scrollbar-color: #8d9489 transparent;
}

.factory-brand-scroll::-webkit-scrollbar {
  height: 7px;
}

.factory-brand-scroll::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: #8d9489;
}

.factory-brand-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.factory-brand-track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2.4vw, 34px);
  width: max-content;
  min-width: 100%;
}

.factory-brand-track a,
.factory-help {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  font-weight: 900;
}

.factory-brand-link {
  justify-content: center;
  min-width: 74px;
  max-width: 118px;
  padding: 0 4px;
  color: #1d271b;
  font-size: .82rem;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-decoration: none;
}

.factory-brand-link span {
  display: block;
  overflow: hidden;
  max-width: 100%;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.factory-brand-link img {
  display: block;
  width: auto;
  max-width: 94px;
  height: 18px;
  object-fit: contain;
}

.factory-brand-track a.active,
.factory-brand-link.active {
  color: #0b5a25;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 7px;
}

.factory-strip a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.brand-philco {
  color: #0b5a25;
  font-size: 1rem;
}

.brand-britania {
  color: #f2a900;
  font-size: 1rem;
}

.brand-elg {
  color: #38424b;
  font-size: 1rem;
}

.brand-lopas {
  color: #6b6f76;
  font-size: 1rem;
}

.brand-telasul {
  color: #111111;
  font-size: 1rem;
}

.brand-generic {
  color: #3f493d;
  font-size: 0.92rem;
}

.factory-help {
  justify-self: end;
  min-height: 30px !important;
  padding: 0 12px;
  border: 1px solid #d8ddd5;
  border-radius: 999px;
  color: #263025;
  background: #ffffff;
  font-size: 0.74rem;
  white-space: nowrap;
  transition: border-color 160ms ease, background 160ms ease;
}

.factory-help::before {
  content: "?";
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-right: 7px;
  border-radius: 50%;
  color: #ffffff;
  background: #0b5a25;
  font-size: 0.7rem;
  font-weight: 900;
}

.factory-help:hover,
.factory-help.active {
  border-color: #0b5a25;
  background: #eef3e9;
  text-decoration: none !important;
}

body[data-theme="dark"] .factory-strip {
  color: #dfe8da;
  background: #111511;
}

body[data-theme="dark"] .factory-strip-label,
body[data-theme="dark"] .brand-lopas,
body[data-theme="dark"] .brand-telasul,
body[data-theme="dark"] .brand-generic {
  color: #dfe8da;
}

body[data-theme="dark"] .factory-brand-scroll {
  scrollbar-color: rgba(255, 255, 255, 0.34) transparent;
}

body[data-theme="dark"] .factory-brand-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.34);
}

body[data-theme="dark"] .factory-help {
  color: #eef5e9;
  border-color: rgba(255, 255, 255, 0.16);
  background: #171d16;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 82px;
  padding: 0 clamp(18px, 4vw, 58px);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  backdrop-filter: blur(18px);
}

.shop-header {
  display: grid;
  grid-template-columns: 160px minmax(260px, 1fr) auto auto;
  gap: clamp(16px, 3vw, 38px);
  align-items: center;
  min-height: 118px;
  padding: 18px clamp(18px, 5vw, 78px);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.shop-brand {
  justify-content: flex-start;
}

.site-search {
  position: relative;
  width: 100%;
}

.site-search input {
  width: 100%;
  min-height: 54px;
  padding: 0 58px 0 20px;
  border: 0;
  border-radius: 8px;
  color: var(--ink);
  background: var(--surface-2);
  font-size: 1rem;
  outline: none;
}

.site-search input:focus {
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--brand) 55%, transparent);
}

.site-search button {
  position: absolute;
  top: 50%;
  right: 10px;
  width: 38px;
  height: 38px;
  transform: translateY(-50%);
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}

.site-search button::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 9px;
  width: 13px;
  height: 13px;
  border: 2px solid var(--muted);
  border-radius: 999px;
}

.site-search button::after {
  content: "";
  position: absolute;
  top: 24px;
  left: 23px;
  width: 10px;
  height: 2px;
  border-radius: 99px;
  background: var(--muted);
  transform: rotate(45deg);
}

.search-suggestions {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 60;
  max-height: min(520px, calc(100vh - 180px));
  overflow-y: auto;
  padding: 8px;
  border: 1px solid #e5e8df;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(16, 22, 15, 0.18);
}

.search-suggestion-item {
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border-radius: 8px;
  color: #142014;
}

.search-suggestion-item:hover {
  background: #f3f6f0;
}

.search-suggestion-item img,
.suggestion-placeholder {
  width: 54px;
  height: 54px;
  object-fit: contain;
  border-radius: 7px;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px #eef0ea;
}

.search-suggestion-item strong,
.search-suggestion-item small {
  display: block;
}

.search-suggestion-item strong {
  display: -webkit-box;
  overflow: hidden;
  color: #142014;
  font-size: 0.92rem;
  line-height: 1.25;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.search-suggestion-item small {
  margin-top: 4px;
  color: #63705f;
  font-size: 0.78rem;
}

.search-all-results,
.search-empty {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 8px;
  color: #0b5a25;
  font-size: 0.88rem;
  font-weight: 900;
}

.search-all-results:hover {
  background: #eef3e9;
}

.welcome-link,
.client-welcome-link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 190px;
  color: var(--ink);
  font-size: 0.9rem;
}

.welcome-link strong,
.client-welcome-link strong {
  display: block;
  margin-top: 2px;
  font-size: 0.9rem;
}

.user-dot {
  position: relative;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--brand);
}

.user-dot::before,
.user-dot::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: #071006;
}

.user-dot::before {
  top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 999px;
}

.user-dot::after {
  bottom: 7px;
  width: 18px;
  height: 9px;
  border-radius: 999px 999px 4px 4px;
}

.cart-button {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}

.cart-button:hover {
  background: var(--surface-2);
}

.cart-header-count {
  position: absolute;
  top: 1px;
  right: 1px;
  min-width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  padding: 0 4px;
  border-radius: 999px;
  color: #ffffff;
  background: #315f16;
  font-size: 0.68rem;
  line-height: 1;
}

.cart-icon {
  position: relative;
  display: inline-block;
  width: 22px;
  height: 24px;
}

.cart-icon::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 7px;
  width: 18px;
  height: 15px;
  border: 2px solid #315f16;
  border-radius: 4px;
}

.cart-icon::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 10px;
  height: 10px;
  border: 2px solid #315f16;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
}

.campaign-slider {
  position: relative;
  min-height: clamp(360px, 42vw, 560px);
  overflow: hidden;
  background: #ffc400;
}

.campaign-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(360px, 0.86fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding: clamp(34px, 6vw, 76px) clamp(18px, 7vw, 120px);
  opacity: 0;
  animation: campaignFade 15s infinite;
}

.campaign-slide:nth-child(2) { animation-delay: 5s; }
.campaign-slide:nth-child(3) { animation-delay: 10s; }

@keyframes campaignFade {
  0%, 30% { opacity: 1; }
  36%, 100% { opacity: 0; }
}

.slide-one { background: linear-gradient(110deg, #ffc400 0%, #ffc400 48%, #f7f3e8 48%, #f7f3e8 67%, #ffc400 67%); }
.slide-two { background: linear-gradient(110deg, #10160f 0%, #10160f 48%, #eef3e9 48%, #eef3e9 67%, #78c51b 67%); color: #ffffff; }
.slide-three { background: linear-gradient(110deg, #f7f8f3 0%, #f7f8f3 48%, #dce8d6 48%, #dce8d6 67%, #10160f 67%); }

.campaign-slide small {
  display: block;
  margin-bottom: 16px;
  font-weight: 900;
  text-transform: uppercase;
}

.campaign-slide h1 {
  max-width: 780px;
  margin-bottom: 18px;
  color: inherit;
  font-size: clamp(3rem, 7vw, 7.2rem);
  line-height: 0.88;
}

.campaign-slide p {
  max-width: 520px;
  color: inherit;
  font-size: 1.18rem;
  line-height: 1.55;
}

.campaign-slide a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 10px;
  padding: 0 26px;
  border-radius: 999px;
  color: #071006;
  background: #ffffff;
  font-weight: 900;
}

.campaign-products {
  position: relative;
  min-height: 320px;
}

.campaign-products span {
  position: absolute;
  display: block;
  border-radius: 8px;
  background: linear-gradient(145deg, #ffffff, #879081);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.2);
}

.campaign-products span:nth-child(1) { left: 5%; bottom: 28px; width: 135px; height: 195px; }
.campaign-products span:nth-child(2) { left: 34%; bottom: 54px; width: 210px; height: 128px; border: 12px solid #111; }
.campaign-products span:nth-child(3) { right: 8%; bottom: 20px; width: 108px; height: 168px; border-radius: 999px 999px 16px 16px; }

.slider-dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

.slider-dots span {
  width: 46px;
  height: 7px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.8);
}

.slider-dots span:first-child {
  background: #10160f;
}

.hub-intro {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  max-width: 1260px;
  margin: -68px auto 0;
  padding: 0 clamp(18px, 5vw, 78px) clamp(56px, 8vw, 96px);
  position: relative;
  z-index: 2;
}

.hub-intro article {
  min-height: 170px;
  padding: 30px;
  border-radius: 10px;
  background: var(--surface);
  box-shadow: 0 14px 34px rgba(16, 22, 15, 0.12);
}

.hub-intro h2 {
  margin-bottom: 16px;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  line-height: 1.18;
}

.hub-intro p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.deals-section {
  padding: clamp(44px, 6vw, 76px) clamp(18px, 5vw, 78px);
  background: var(--surface-2);
}

.deals-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1260px;
  margin: 0 auto 22px;
}

.deals-head h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
}

.deals-head a {
  color: var(--brand-2);
  font-weight: 900;
}

.deals-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  max-width: 1260px;
  margin: 0 auto;
}

.deal-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 390px;
  padding: 10px 10px 16px;
  overflow: hidden;
  border-radius: 10px;
  background: var(--surface);
  box-shadow: 0 10px 24px rgba(16, 22, 15, 0.08);
}

.deal-card > button {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
}

.deal-card > button::before {
  content: "♡";
  color: var(--ink);
}

.deal-card h3 {
  min-height: 48px;
  margin: 0 8px 8px;
  font-size: 0.96rem;
  line-height: 1.24;
}

.deal-card p,
.deal-card small {
  display: block;
  margin: 0 8px 10px;
  color: var(--muted);
}

.deal-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  width: calc(100% - 16px);
  margin: auto 8px 0;
  border-radius: 8px;
  color: #071006;
  background: #ffc400;
  font-weight: 900;
}

.deal-card-main {
  display: block !important;
  width: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  color: inherit !important;
  background: transparent !important;
}

.deal-product-image {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1 / 0.72;
  margin-bottom: 14px;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: inset 0 0 0 1px #edf1e8;
}

.deal-product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
}

.deal-product-image span {
  color: #687265;
  font-size: 0.82rem;
  font-weight: 800;
}

.dynamic-product-image {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1 / 0.86;
  margin-bottom: 14px;
  overflow: hidden;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px #edf1e8;
}

.dynamic-product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
}

.dynamic-product-image span,
.dynamic-product-image.is-missing::after {
  color: #687265;
  font-size: 0.82rem;
  font-weight: 800;
}

.dynamic-product-image.is-missing::after {
  content: "Imagem em cadastro";
}

.deal-price {
  display: grid;
  gap: 2px;
  margin: auto 8px 12px;
  padding: 10px 10px 8px;
  border: 1px solid #d8ead0;
  border-radius: 10px;
  background: linear-gradient(180deg, #f4faef 0%, #fff 100%);
}

.deal-price strong {
  color: var(--brand-2);
  font-size: 1.58rem;
  line-height: 1.05;
}

.deal-price-table {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 800;
}

.deal-price-table s {
  color: #7b8478;
}

.deal-price-label {
  width: fit-content;
  padding: 2px 8px;
  border-radius: 999px;
  color: #063f16;
  background: #dff4d3;
  font-size: .72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.deal-price span,
.catalog-card-price span {
  color: var(--brand-2);
  font-size: 0.82rem;
}

.deal-price .deal-installment {
  color: var(--brand-2);
  font-weight: 850;
}

.deal-price em {
  color: #075f21;
  font-size: .78rem;
  font-style: normal;
  font-weight: 950;
}

.store-product {
  display: flex;
  flex-direction: column;
}

.store-product-main {
  color: inherit;
  text-decoration: none;
}

.catalog-card-price {
  display: grid;
  gap: 3px;
  margin-top: auto;
  padding-top: 12px;
}

.catalog-card-price strong {
  font-size: 1.28rem;
}

.catalog-login-price {
  display: inline-flex;
  margin-top: auto;
  color: var(--brand-2);
  font-weight: 900;
}

.catalog-detail-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.catalog-loading {
  margin: 0;
  padding: 30px;
  color: var(--muted);
}

.market-footer {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) repeat(2, minmax(180px, 0.5fr));
  gap: clamp(28px, 6vw, 90px);
  padding: clamp(42px, 6vw, 72px) clamp(18px, 5vw, 78px);
  color: #ffffff;
  background: #303330;
}

.footer-info-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  margin: 0 auto -1px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-bottom-color: #303330;
  border-radius: 8px 8px 0 0;
  color: var(--ink);
  background: var(--surface);
  font-weight: 800;
  cursor: pointer;
}

.footer-info-toggle::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.footer-info-toggle.is-open::after {
  transform: rotate(225deg) translate(-2px, -1px);
}

.market-footer img {
  width: 120px;
  max-height: 66px;
  object-fit: contain;
}

.market-footer p {
  max-width: 330px;
  color: #e5e5e5;
  line-height: 1.55;
}

.market-footer nav {
  display: grid;
  align-content: start;
  gap: 14px;
}

.market-footer strong {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.market-footer a {
  color: #ffffff;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 60;
  width: min(420px, 100vw);
  height: 100vh;
  overflow-y: auto;
  background: var(--surface);
  box-shadow: -24px 0 54px rgba(0, 0, 0, 0.24);
  transform: translateX(102%);
  opacity: 0;
  transition: transform 420ms cubic-bezier(.2, .85, .2, 1), opacity 300ms ease;
}

.cart-drawer.is-open {
  transform: translateX(0);
  opacity: 1;
}

.cart-drawer header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  padding: 0 24px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.cart-close {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font-size: 1.6rem;
  cursor: pointer;
}

.cart-empty {
  display: grid;
  place-items: center;
  align-content: center;
  min-height: calc(100vh - 70px);
  padding: 34px;
  text-align: center;
}

.cart-icon.large {
  transform: scale(1.6);
  margin-bottom: 28px;
}

.cart-empty p {
  color: var(--ink);
  font-size: 1.05rem;
}

.cart-empty a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  min-width: 220px;
  border-radius: 8px;
  color: #071006;
  background: #ffc400;
  font-weight: 900;
}

.cart-industry-preview {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.cart-product-list li {
  border-radius: 10px;
  transition: background 260ms ease, box-shadow 260ms ease, transform 260ms ease;
}

.cart-product-list li.cart-added-highlight {
  background: #ecf8e3;
  box-shadow: 0 0 0 2px #78c51b, 0 14px 30px rgba(15, 91, 31, .16);
  transform: translateX(-3px);
}

.cart-note {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.cart-industry-group {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.cart-industry-group > div:first-child {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.cart-industry-group strong {
  color: var(--ink);
}

.cart-industry-group span,
.cart-industry-group small {
  color: var(--muted);
}

.cart-product-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cart-product-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
}

.cart-product-list li:last-child {
  border-bottom: 0;
}

.cart-product-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.cart-product-list .cart-product-copy span {
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.45;
}

.cart-quantity {
  display: grid;
  grid-template-columns: 28px 30px 28px;
  align-items: center;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.cart-quantity button {
  width: 28px;
  height: 30px;
  border: 0;
  color: var(--ink);
  background: var(--surface-2);
  cursor: pointer;
  font-weight: 900;
}

.cart-remove-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  place-items: center;
}

.trash-icon {
  display: block;
  width: 22px;
  height: 22px;
  border: 0;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a83a31' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h16M9 7V4h6v3m3 0-1 13H7L6 7m4 4v5m4-5v5'/%3E%3C/svg%3E");
}

.trash-icon::before,
.trash-icon::after {
  content: none !important;
  display: none !important;
}

.cart-quantity strong {
  text-align: center;
  font-size: 0.86rem;
}

.cart-client-chip {
  display: grid;
  gap: 2px;
  padding: 12px;
  border-radius: 10px;
  color: var(--ink);
  background: color-mix(in srgb, var(--brand) 12%, var(--surface));
}

.cart-client-chip span {
  color: var(--muted);
  font-size: 0.82rem;
}

.cart-condition {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 5px 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
}

.cart-condition span {
  color: var(--muted);
}

.cart-condition strong {
  color: var(--ink-2);
  font-weight: 700;
}

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

.cart-total > div {
  display: grid;
  gap: 2px;
}

.cart-total span,
.cart-total small {
  color: var(--muted);
  font-size: 0.78rem;
}

.cart-total strong {
  color: var(--ink);
  font-size: 1.1rem;
}

.cart-continue,
.cart-checkout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 8px;
  color: #071006;
  background: var(--brand);
  font-weight: 900;
}

.cart-checkout {
  border: 0;
  cursor: pointer;
}

.cart-checkout.disabled {
  pointer-events: none;
  color: color-mix(in srgb, var(--ink) 48%, transparent);
  background: color-mix(in srgb, var(--brand) 32%, var(--surface-2));
  box-shadow: none;
}

.cart-continue {
  min-height: 46px;
  margin-top: 8px;
  border: 1px solid var(--line);
  color: var(--brand-2);
  background: var(--surface);
  font-weight: 600;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 59;
  background: rgba(0, 0, 0, 0.28);
  opacity: 0;
  transition: opacity 220ms ease;
}

.drawer-backdrop.is-open {
  opacity: 1;
}

.cart-rail-toggle {
  position: fixed;
  right: 0;
  top: 52%;
  z-index: 58;
  display: grid;
  place-items: center;
  width: 28px;
  height: 44px;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--brand) 55%, #315f16);
  border-right: 0;
  border-radius: 8px 0 0 8px;
  color: #10200b;
  background: var(--brand);
  box-shadow: 0 6px 18px rgba(16, 32, 11, 0.16);
  cursor: pointer;
}

.cart-rail-toggle i {
  font-size: 1.25rem;
  font-style: normal;
  transition: transform 160ms ease;
}

.cart-rail-toggle[aria-expanded="true"] {
  right: min(420px, 100vw);
}

.cart-rail-toggle {
  transition: right 240ms ease, background 160ms ease;
}

.cart-mini-thumb {
  flex: 0 0 56px;
  width: 56px;
  height: 64px;
  overflow: hidden;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.cart-mini-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.server-cart-quantity {
  display: grid;
  grid-template-columns: 38px 58px;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.server-cart-quantity input {
  width: 58px;
  min-height: 34px;
  border: 0;
  text-align: center;
  background: #fff;
}

.server-cart-quantity .cart-remove-button {
  width: 38px;
  height: 34px;
  border: 0;
  color: #9a3029;
  background: #fff7f5;
  cursor: pointer;
  transition: background 150ms ease, box-shadow 150ms ease;
}

.server-cart-quantity .cart-trash-svg { width:20px; height:20px; fill:none; stroke:#a83a31; stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round; }
.server-cart-quantity .cart-remove-button:hover,
.server-cart-quantity .cart-remove-button:focus-visible { background:#ffe9e4; box-shadow:inset 0 0 0 1px #dfaba3; }

.cart-product-list .cart-mini-thumb {
  display: block;
}

.cart-product-list .cart-product-copy {
  display: grid;
  flex: 1 1 auto;
}

.cart-product-list .server-cart-quantity {
  display: grid;
  flex: 0 0 auto;
}

.cart-rail-toggle[aria-expanded="true"] i {
  transform: rotate(180deg);
}

@media (min-width: 761px) {
  .drawer-backdrop {
    pointer-events: none;
    background: transparent;
  }
}

.banner-carousel {
  position: relative;
  overflow: hidden;
  background: var(--surface-2);
}

.home-banner {
  min-height: clamp(300px, 38vw, 520px);
}

.catalog-banner {
  display: block;
  min-height: auto;
  margin-bottom: 24px;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.banner-slide {
  display: none;
  width: 100%;
}

.banner-slide.active {
  display: block;
}

.banner-slide img,
.banner-slide video {
  display: block;
  width: 100%;
  aspect-ratio: 1440 / 420;
  object-fit: cover;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  transform: translateY(-50%);
  cursor: pointer;
}

.carousel-arrow:hover {
  background: #ffffff;
}

.carousel-arrow::before {
  content: "";
  width: 12px;
  height: 12px;
  border-top: 3px solid #111111;
  border-left: 3px solid #111111;
}

.carousel-arrow.prev {
  left: 22px;
}

.carousel-arrow.prev::before {
  transform: rotate(-45deg);
}

.carousel-arrow.next {
  right: 22px;
}

.carousel-arrow.next::before {
  transform: rotate(135deg);
}

.slider-dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  z-index: 4;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.slider-dots button {
  width: 42px;
  height: 5px;
  border: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.7);
  cursor: pointer;
}

.slider-dots button.active {
  background: #ffc400;
}

.departments-menu {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: center;
}

.departments-all::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-left: 10px;
  border-right: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: rotate(45deg) translateY(-2px);
}

.departments-menu:hover .departments-all::after,
.departments-menu.is-open .departments-all::after {
  transform: rotate(225deg) translate(-2px, -1px);
}

.departments-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 25;
  display: grid;
  grid-template-columns: 210px minmax(460px, 1fr);
  gap: 18px;
  width: min(880px, calc(100vw - 32px));
  padding: 18px;
  visibility: hidden;
  opacity: 0;
  transform: translateY(8px);
  background: #ffffff;
  box-shadow: var(--shadow);
  transition: opacity 140ms ease, transform 140ms ease, visibility 140ms ease;
}

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

.department-tabs,
.department-columns {
  display: grid;
  align-content: start;
  gap: 4px;
}

.department-tabs a,
.department-columns a {
  min-height: 36px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  color: #4f574d;
  font-size: 0.92rem;
  font-weight: 700;
}

.department-tabs a.active {
  color: #0b5a25;
  font-weight: 900;
  background: #eef3e9;
}

.department-tabs a:hover,
.department-tabs a.active,
.department-columns a:hover {
  color: #071006;
  background: #eef3e9;
}

.department-columns {
  grid-template-columns: repeat(2, minmax(170px, 1fr));
  padding: 12px;
  background: #fff9e8;
}

body[data-theme="dark"] .departments-dropdown {
  background: #ffffff;
}

body[data-theme="dark"] .department-tabs {
  background: #ffffff;
}

body[data-theme="dark"] .department-tabs a,
body[data-theme="dark"] .department-columns a {
  color: #4f574d;
}

body[data-theme="dark"] .department-tabs a:hover,
body[data-theme="dark"] .department-columns a:hover {
  color: #071006;
  background: #eef3e9;
}

.brand { display: inline-flex; align-items: center; height: 64px; }
.brand img { display: block; width: 132px; max-height: 62px; object-fit: contain; }

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.91rem;
  font-weight: 800;
}

.desktop-nav > a,
.nav-dropdown > a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 8px;
}

.desktop-nav a:hover,
.desktop-nav .active {
  color: var(--ink);
  background: color-mix(in srgb, var(--surface-2) 84%, transparent);
}

.header-tools { display: flex; align-items: center; gap: 10px; }

.theme-toggle,
.chat-toggle,
.header-action,
.primary-button,
.secondary-button,
.login-card button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  font-weight: 900;
  cursor: pointer;
}

.theme-toggle {
  padding: 0 14px;
  color: var(--ink);
  border: 1px solid var(--line);
  background: var(--surface);
}

.header-action,
.primary-button,
.login-card button {
  padding: 0 22px;
  border: 0;
  color: #071006;
  background: var(--brand);
  box-shadow: 0 14px 30px rgba(107, 173, 8, 0.18);
}

.secondary-button {
  padding: 0 22px;
  color: var(--ink);
  border: 1px solid var(--line);
  background: var(--surface);
}

.nav-dropdown { position: relative; }

.mega-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  width: min(900px, calc(100vw - 36px));
  padding: 18px;
  visibility: hidden;
  opacity: 0;
  transform: translate(-50%, 8px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

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

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

.mega-industries section {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 14px;
  border-radius: 8px;
  background: var(--surface-2);
}

.mega-industries h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 0.86rem;
  text-transform: uppercase;
}

.mega-industries a {
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.mega-industries a:hover {
  color: var(--ink);
  background: var(--surface);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.84fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
  padding: clamp(56px, 7vw, 96px) clamp(18px, 5vw, 78px);
}

.home-hero { min-height: calc(100vh - 82px); }

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand-2);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  max-width: 860px;
  margin-bottom: 24px;
  color: var(--ink);
  font-size: clamp(3rem, 6.2vw, 6rem);
  line-height: 0.97;
  font-weight: 900;
}

.lead {
  max-width: 700px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.55vw, 1.24rem);
  line-height: 1.72;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.premium-device {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(150deg, color-mix(in srgb, var(--surface) 92%, transparent), color-mix(in srgb, var(--surface-2) 92%, transparent)),
    repeating-linear-gradient(90deg, transparent 0 38px, rgba(120, 140, 110, 0.08) 38px 39px);
  box-shadow: var(--shadow);
}

.device-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.device-top span { width: 10px; height: 10px; border-radius: 99px; background: var(--line); }
.device-top strong { margin-left: auto; color: var(--muted); font-size: 0.86rem; }

.device-search {
  margin-bottom: 14px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: var(--surface);
}

.device-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.device-grid article,
.device-row,
.explain-grid article,
.segment-showcase article,
.product-card,
.catalog-sidebar,
.service-grid article,
.support-panel,
.login-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.device-grid article { padding: 16px; }
.device-grid small { display: block; margin-bottom: 8px; color: var(--brand-2); font-weight: 900; text-transform: uppercase; }
.device-grid strong { font-size: 1.08rem; }

.device-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 10px;
  padding: 15px;
}

.device-row span { color: var(--ink); font-weight: 900; }
.device-row b { color: var(--muted); font-size: 0.9rem; }

.home-explain,
.industry-preview,
.page-main {
  padding: clamp(58px, 8vw, 108px) clamp(18px, 5vw, 78px);
}

.section-heading {
  max-width: 980px;
  margin-bottom: 30px;
}

.section-heading h2,
.region-band h2,
.page-hero h1,
.access-page h1,
.support-hero h1 {
  margin-bottom: 0;
  color: var(--ink);
  font-size: clamp(2.1rem, 4.4vw, 4.2rem);
  line-height: 1;
  font-weight: 900;
}

.explain-grid,
.segment-showcase,
.service-grid,
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.explain-grid article,
.segment-showcase article,
.service-grid article {
  padding: 28px;
}

.explain-grid span {
  display: inline-flex;
  margin-bottom: 44px;
  color: var(--brand-2);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.explain-grid p,
.segment-showcase p,
.region-band p,
.page-hero p,
.product-body p,
.access-page p,
.support-hero p,
.service-grid p {
  color: var(--muted);
  line-height: 1.65;
}

.region-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: 32px;
  align-items: center;
  padding: clamp(58px, 8vw, 108px) clamp(18px, 5vw, 78px);
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.region-map-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
}

.region-map-card span {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border: 1px solid color-mix(in srgb, var(--brand) 45%, var(--line));
  border-radius: 8px;
  color: var(--brand-2);
  background: var(--surface);
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  font-weight: 900;
}

.region-map-card p { grid-column: 1 / -1; margin: 4px 0 0; color: var(--muted); }

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

.page-main { min-height: calc(100vh - 82px); }
.page-hero { max-width: 900px; margin-bottom: 34px; }

.catalog-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 24px;
}

.catalog-sidebar {
  position: sticky;
  top: 102px;
  align-self: start;
  display: grid;
  gap: 6px;
  padding: 16px;
  box-shadow: none;
}

.catalog-sidebar strong { margin: 4px 8px 10px; }
.catalog-sidebar a { padding: 10px 12px; border-radius: 8px; color: var(--muted); font-weight: 800; }
.catalog-sidebar a:hover, .catalog-sidebar a.active { color: var(--ink); background: var(--surface-2); }

.segment-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.segment-tabs a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  font-weight: 900;
}

.segment-tabs a.active,
.segment-tabs a:hover {
  color: #071006;
  border-color: transparent;
  background: var(--brand);
}

.catalog-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 10px;
  margin-bottom: 16px;
}

.catalog-tools input,
.catalog-tools select,
.login-card input {
  min-height: 50px;
  width: 100%;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  outline: none;
}

.product-card { overflow: hidden; box-shadow: none; }

.product-art {
  position: relative;
  min-height: 210px;
  background:
    linear-gradient(135deg, var(--surface-2), color-mix(in srgb, var(--surface-2) 70%, var(--brand) 30%));
}

.product-art::before {
  content: "";
  position: absolute;
  inset: 20px;
  border: 1px solid color-mix(in srgb, var(--brand) 35%, transparent);
  border-radius: 8px;
}

.tv-art::after,
.support-art::after,
.hood-art::after,
.utility-art::after,
.organizer-art::after,
.mattress-art::after,
.cabinet-art::after,
.kitchen-art::after,
.sofa-art::after,
.table-art::after,
.shelf-art::after,
.bed-art::after,
.decor-art::after {
  content: "";
  position: relative;
  z-index: 1;
  display: block;
  margin: 58px auto 0;
  background: linear-gradient(145deg, var(--surface), color-mix(in srgb, var(--muted) 50%, var(--surface)));
  box-shadow: 0 16px 36px rgba(16, 22, 15, 0.18);
}

.tv-art::after { width: 58%; height: 104px; border: 10px solid var(--ink); border-radius: 8px; }
.support-art::after { width: 42%; height: 118px; border-radius: 8px 8px 40px 40px; }
.hood-art::after { width: 62%; height: 58px; margin-top: 82px; border-radius: 8px; }
.utility-art::after { width: 54%; height: 118px; border-radius: 999px 999px 12px 12px; }
.organizer-art::after { width: 56%; height: 112px; border-radius: 8px; }
.mattress-art::after { width: 70%; height: 72px; margin-top: 88px; border-radius: 8px; }
.cabinet-art::after { width: 48%; height: 132px; border-radius: 8px; }
.kitchen-art::after { width: 64%; height: 132px; border-radius: 8px; }
.sofa-art::after { width: 68%; height: 92px; margin-top: 82px; border-radius: 8px 8px 18px 18px; }
.table-art::after { width: 64%; height: 78px; margin-top: 86px; border-radius: 50px 50px 8px 8px; }
.shelf-art::after { width: 50%; height: 130px; border-radius: 8px; }
.bed-art::after { width: 72%; height: 82px; margin-top: 84px; border-radius: 8px; }
.decor-art::after { width: 60%; height: 86px; margin-top: 82px; border-radius: 8px; }

.product-body { padding: 22px; }
.product-body span { display: block; margin-bottom: 8px; color: var(--brand-2); font-size: 0.78rem; font-weight: 900; text-transform: uppercase; }
.product-body h3 { margin-bottom: 10px; font-size: 1.28rem; }

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 20px;
}

.product-footer strong { color: var(--brand-2); font-size: 1.35rem; }
.product-footer button { min-height: 38px; padding: 0 14px; border: 0; border-radius: 8px; color: #071006; background: var(--brand); font-weight: 900; }

.support-hero,
.access-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.support-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 24px; box-shadow: none; }
.support-panel span { display: grid; place-items: center; aspect-ratio: 1; border-radius: 8px; color: var(--brand-2); background: var(--surface-2); font-size: 4rem; font-weight: 900; }
.support-panel strong { grid-column: 1 / -1; font-size: 1.2rem; line-height: 1.35; }

.service-grid { margin-top: 28px; }

.login-card { display: grid; gap: 16px; padding: 26px; color: var(--ink); }
.login-card label { display: grid; gap: 8px; color: var(--muted); font-weight: 800; }
.login-card a { justify-self: center; color: var(--brand-2); font-weight: 800; }

.admin-preview-link {
  color: var(--muted) !important;
  font-size: 0.86rem;
}

.info-page {
  display: grid;
  gap: 28px;
  align-content: start;
}

.info-hero {
  max-width: 920px;
}

.info-hero h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.1rem, 4vw, 4rem);
  line-height: 1;
}

.info-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.65;
}

.quick-help-grid,
.admin-dashboard,
.admin-modules {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.quick-help-grid a,
.faq-list details,
.text-panel,
.admin-dashboard article,
.admin-modules article {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.quick-help-grid a {
  display: grid;
  align-content: start;
  min-height: 154px;
  padding: 24px;
}

.quick-help-grid strong,
.admin-modules h2 {
  color: var(--ink);
  font-size: 1.08rem;
}

.quick-help-grid span,
.admin-dashboard p,
.admin-modules p,
.text-panel p,
.faq-list p {
  color: var(--muted);
  line-height: 1.6;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 920px;
}

.faq-list details {
  padding: 18px 22px;
}

.faq-list summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 900;
}

.text-panel {
  max-width: 900px;
  padding: 28px;
}

.text-panel h2 {
  margin-top: 0;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--surface-2);
}

.contact-form small,
.login-card small {
  color: var(--muted);
  line-height: 1.5;
}

.admin-page {
  gap: 28px;
}

.admin-nav .departments-all::before,
.admin-nav .departments-all::after {
  content: none;
}

.admin-login-preview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.admin-login-preview h1 {
  margin: 0;
  font-size: clamp(2.1rem, 4vw, 4rem);
  line-height: 1;
}

.admin-login-preview p {
  color: var(--muted);
  line-height: 1.65;
}

.admin-dashboard article,
.admin-modules article {
  padding: 24px;
}

.admin-dashboard span {
  display: block;
  margin-bottom: 16px;
  color: var(--brand-2);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 900;
}

.admin-dashboard strong {
  color: var(--ink);
}

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

.admin-modules button {
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  color: #071006;
  background: var(--brand);
  font-weight: 900;
}

.admin-body,
.admin-login-body {
  background: #f3f5f0;
}

.admin-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 68px;
  padding: 0 clamp(16px, 3vw, 34px);
  border-bottom: 1px solid #dfe5d9;
  background: #ffffff;
}

.admin-header > a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #182017;
  font-weight: 900;
}

.admin-header img {
  width: 72px;
  max-height: 42px;
  object-fit: contain;
}

.admin-header div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-header div a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 8px;
  color: #30402e;
  font-size: 0.86rem;
  font-weight: 800;
}

.admin-header div a:hover {
  background: #eef3e9;
}

.admin-shell {
  display: grid;
  grid-template-columns: 244px minmax(0, 1fr);
  min-height: calc(100vh - 68px);
}

.admin-sidebar {
  position: sticky;
  top: 68px;
  align-self: start;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: calc(100vh - 68px);
  padding: 18px 14px;
  border-right: 1px solid #dfe5d9;
  background: #ffffff;
}

.admin-sidebar nav {
  display: grid;
  gap: 6px;
}

.admin-sidebar a {
  min-height: 42px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 8px;
  color: #42513f;
  font-weight: 900;
}

.admin-sidebar a:hover,
.admin-sidebar a.active {
  color: #071006;
  background: #78c51b;
}

.admin-nav-badge {
  margin-left: auto;
  padding: 4px 8px;
  border-radius: 999px;
  color: #d7e4d3;
  background: rgba(255,255,255,.09);
  font-size: .72rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.admin-nav-badge.has-alert {
  color: #11320e;
  background: #dff3d7;
}

.admin-sidebar a:hover .admin-nav-badge,
.admin-sidebar a.active .admin-nav-badge {
  color: #143812;
  background: rgba(255,255,255,.55);
}

.admin-sidebar small {
  color: #7a8576;
  line-height: 1.45;
}

.admin-content {
  display: grid;
  align-content: start;
  gap: 22px;
  padding: clamp(20px, 3vw, 36px);
}

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

.admin-page-head span,
.admin-login-card span {
  color: #0b5a25;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-page-head h1,
.admin-login-card h1 {
  margin: 6px 0 8px;
  color: #142014;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1;
}

.admin-page-head p,
.admin-login-card p {
  margin: 0;
  color: #657060;
  line-height: 1.55;
}

.admin-primary-action,
.admin-login-submit {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 0;
  border-radius: 8px;
  color: #071006 !important;
  background: #78c51b;
  font-weight: 900;
}

.admin-panel,
.admin-toolbar {
  border: 1px solid #dfe5d9;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 18px 50px rgba(16, 22, 15, 0.07);
}

.admin-panel {
  padding: 22px;
}

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

.admin-panel-head h2,
.admin-panel h2 {
  margin: 0 0 6px;
  color: #142014;
  font-size: 1.15rem;
}

.admin-panel-head p,
.admin-panel p {
  margin: 0;
  color: #657060;
  line-height: 1.55;
}

.cart-industry-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.cart-industry-logo {
  width: 78px;
  height: 46px;
  flex: 0 0 78px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid #dfe5d9;
  border-radius: 8px;
  color: #0b5a25;
  background: #fff;
  font-weight: 900;
}

.cart-industry-logo img {
  display: block;
  max-width: 64px;
  max-height: 30px;
  object-fit: contain;
}

.cart-industry-heading > div {
  min-width: 0;
}

.admin-panel-head a,
.admin-status-list a {
  color: #0b5a25;
  font-weight: 900;
}

.admin-status-list {
  display: grid;
  gap: 10px;
}

.admin-status-list div {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(140px, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 52px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #f7f8f5;
}

.admin-status-list strong,
.admin-table-row strong {
  color: #142014;
}

.admin-status-list span,
.admin-table-row span {
  color: #52604f;
}

.status-ok,
.status-alert,
.status-neutral {
  justify-self: start;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 900;
}

.status-ok {
  color: #0b5a25;
  background: #e4f8d5;
}

.status-alert {
  color: #815400;
  background: #fff1c7;
}

.status-neutral {
  color: #435066;
  background: #e8edf5;
}

.admin-two-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.75fr);
  gap: 18px;
}

.admin-form {
  display: grid;
  gap: 14px;
}

.admin-form label,
.admin-toolbar {
  color: #52604f;
  font-weight: 800;
}

.admin-form input,
.admin-form select,
.admin-form textarea,
.admin-toolbar input,
.admin-toolbar select {
  width: 100%;
  min-height: 42px;
  margin-top: 7px;
  padding: 0 12px;
  border: 1px solid #dfe5d9;
  border-radius: 8px;
  color: #142014;
  background: #ffffff;
}

.admin-form textarea {
  min-height: 96px;
  padding-top: 12px;
  resize: vertical;
}

.admin-check {
  display: flex !important;
  align-items: center;
  gap: 9px;
}

.admin-check input {
  width: auto;
  min-height: auto;
  margin: 0;
}

.admin-segment-picker {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 12px;
  margin: 0;
  padding: 14px;
  border: 1px solid #dfe5d9;
  border-radius: 8px;
  background: #f7f8f5;
}

.admin-segment-picker legend {
  padding: 0 6px;
  color: #52604f;
  font-weight: 900;
}

.admin-segment-picker label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #263025;
}

.admin-segment-picker input {
  width: auto;
  min-height: auto;
  margin: 0;
}

.admin-wide-picker {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-field-note {
  margin: -6px 0 0;
  color: #657060;
  font-size: 0.84rem;
  line-height: 1.45;
}

.admin-form button,
.admin-table-row button {
  min-height: 38px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  color: #071006;
  background: #78c51b;
  font-weight: 900;
}

.admin-steps {
  display: grid;
  gap: 14px;
  margin: 16px 0 0;
  padding-left: 20px;
}

.admin-steps li::marker {
  color: #0b5a25;
  font-weight: 900;
}

.admin-steps span {
  display: block;
  color: #657060;
  line-height: 1.5;
}

.admin-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 180px 180px;
  gap: 12px;
  padding: 14px;
}

.admin-table {
  display: grid;
  gap: 1px;
  overflow-x: auto;
}

.admin-table-row {
  display: grid;
  grid-template-columns: 130px 160px minmax(190px, 1fr) 100px 110px;
  gap: 12px;
  align-items: center;
  min-width: 760px;
  padding: 12px;
  background: #f7f8f5;
}

.admin-client-row {
  grid-template-columns: minmax(180px, 1.2fr) 160px 130px 120px 100px 100px;
}

.admin-banner-row {
  grid-template-columns: minmax(180px, 1.2fr) 130px 120px 150px 100px 100px;
}

.admin-industry-row {
  grid-template-columns: minmax(170px, 1fr) minmax(180px, 1fr) minmax(160px, 0.8fr) 100px 100px;
}

.admin-carrier-row {
  grid-template-columns: minmax(170px, 1fr) 170px 100px minmax(150px, 0.8fr) 90px 90px;
}

.admin-table-header {
  color: #142014;
  background: #eef3e9;
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-banner-guide div {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.admin-banner-guide p {
  padding: 14px;
  border-radius: 8px;
  background: #f7f8f5;
}

.admin-rule-grid,
.admin-condition-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

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

.admin-rule-grid article,
.admin-condition-grid article {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid #dfe5d9;
  border-radius: 12px;
  background: #f8faf5;
}

.admin-rule-grid strong,
.admin-condition-grid strong {
  color: #142014;
}

.admin-rule-grid span,
.admin-condition-grid span,
.admin-condition-grid small {
  color: #657060;
  line-height: 1.45;
}

.profile-page {
  display: grid;
  gap: 22px;
}

.profile-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.profile-hero h1 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.profile-hero p {
  margin: 0;
  color: var(--muted);
}

.profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.profile-actions a,
.profile-actions button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 0;
  border-radius: 8px;
  color: #071006;
  background: var(--brand);
  cursor: pointer;
  font-weight: 900;
}

.profile-actions button {
  color: var(--ink);
  background: var(--surface-2);
}

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

.profile-grid article {
  display: grid;
  gap: 8px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.profile-grid span {
  color: var(--brand-2);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.profile-grid strong {
  color: var(--ink);
  font-size: 1.12rem;
}

.profile-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.profile-conditions {
  background: var(--surface);
}

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

.profile-documents {
  display: grid;
  gap: 16px;
}

.profile-document-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.profile-document-fields label {
  display: grid;
  align-content: start;
  gap: 7px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink-2);
  background: var(--surface);
  font-size: 0.84rem;
  font-weight: 800;
}

.profile-document-fields label > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.profile-document-fields b {
  padding: 3px 6px;
  border-radius: 999px;
  color: #704c08;
  background: #fff1c7;
  font-size: 0.65rem;
  text-transform: uppercase;
}

.profile-document-fields input,
.profile-document-fields textarea {
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--surface);
  font: inherit;
}

.profile-document-fields small {
  color: var(--muted);
  font-weight: 500;
  line-height: 1.4;
}

.profile-file-row em {
  justify-self: start;
}

.profile-document-note {
  margin: 14px 0 0;
  padding: 12px;
  border-radius: 8px;
  color: var(--muted);
  background: var(--surface-2);
  font-size: 0.82rem;
  line-height: 1.5;
}

.profile-document-list,
.profile-order-list {
  display: grid;
  gap: 1px;
  margin-top: 14px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--line);
}

.profile-document-list div,
.profile-order-list div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: var(--surface);
}

.profile-order-list div {
  grid-template-columns: minmax(0, 1fr) auto auto;
}

.profile-upload {
  display: grid;
  gap: 7px;
  margin-top: 14px;
  color: var(--ink-2);
  font-size: 0.84rem;
  font-weight: 800;
}

.profile-upload input {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.checkout-page {
  display: grid;
  gap: 22px;
  width: 100%;
  max-width: 1260px;
  min-height: 0;
  margin: 0 auto;
  padding: 28px 18px 70px;
}

.order-review-page {
  display: grid;
  gap: 22px;
  width: 100%;
  max-width: 1260px;
  min-height: 0;
  margin: 0 auto;
  padding: 28px 18px 70px;
}

.order-review-list {
  display: grid;
  gap: 16px;
}

.order-review-card {
  display: grid;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.order-review-head,
.order-review-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.order-review-head > div,
.order-review-footer > div {
  display: grid;
  gap: 5px;
}

.order-review-head span,
.order-review-head small,
.order-review-footer small {
  color: var(--muted);
  font-size: 0.8rem;
}

.order-review-head h2 {
  margin: 0;
  color: var(--ink);
  font-size: 1.3rem;
}

.order-review-products {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--line);
}

.order-review-products div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 12px;
  color: var(--ink-2);
  background: var(--surface);
  font-size: 0.88rem;
}

.order-review-footer {
  align-items: flex-end;
}

.order-review-footer strong {
  color: var(--ink);
  font-size: 1.3rem;
}

.order-review-footer a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 8px;
  color: #071006;
  background: var(--brand);
  font-weight: 900;
}

.order-review-footer a.disabled {
  pointer-events: none;
  opacity: 0.45;
}

.checkout-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.checkout-heading h1 {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.2rem);
}

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

.checkout-heading > a {
  color: var(--brand-2);
  font-weight: 900;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: start;
  gap: 18px;
}

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

.checkout-panel,
.checkout-summary {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.checkout-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.checkout-panel-head span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.checkout-panel-head h2,
.checkout-summary h2 {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 1.2rem;
}

.checkout-products {
  display: grid;
}

.checkout-product {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto 110px;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.checkout-product-image {
  width: 64px;
  height: 64px;
  object-fit: contain;
  padding: 6px;
  border-radius: 8px;
  background: #ffffff;
}

.checkout-product > div:nth-child(2) {
  display: grid;
  gap: 5px;
}

.checkout-product span,
.checkout-copy,
.checkout-summary small {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.checkout-product > strong:last-child {
  text-align: right;
}

.checkout-options,
.checkout-fields,
.checkout-carrier,
.checkout-documents {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.checkout-radio {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}

.checkout-radio span {
  display: grid;
  gap: 4px;
}

.checkout-radio small {
  color: var(--muted);
}

.checkout-fields label,
.checkout-carrier label,
.checkout-documents label {
  color: var(--ink-2);
  font-size: 0.84rem;
  font-weight: 800;
}

.checkout-fields input,
.checkout-fields select,
.checkout-carrier input,
.checkout-documents input {
  width: 100%;
  min-height: 42px;
  margin-top: 7px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--surface);
}

.checkout-carrier {
  margin-top: 12px;
}

.checkout-other-carrier {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.checkout-other-carrier[hidden] {
  display: none;
}

.payment-info {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 12px;
  padding: 12px;
  border-radius: 8px;
  background: var(--surface-2);
}

.payment-info[hidden] {
  display: none;
}

.payment-info span {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #ffffff;
  background: var(--brand-2);
  font-weight: 900;
}

.payment-info p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.payment-info div {
  display: grid;
  gap: 4px;
}

.payment-info strong {
  color: var(--ink);
  font-size: 0.86rem;
}

.payment-info a {
  color: var(--brand-2);
  font-size: 0.8rem;
  font-weight: 900;
}

.checkout-summary {
  position: sticky;
  top: 20px;
  display: grid;
  gap: 14px;
}

.checkout-summary > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
}

.checkout-summary-total {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.checkout-summary-total strong {
  color: var(--ink);
  font-size: 1.35rem;
}

.checkout-document-warning {
  margin: 0;
  padding: 12px;
  border-radius: 8px;
  color: #704c08;
  background: #fff1c7;
  font-size: 0.8rem;
  line-height: 1.45;
}

.checkout-summary button {
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  color: #071006;
  background: var(--brand);
  cursor: pointer;
  font-weight: 900;
}

.admin-login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.admin-login-page > a img {
  width: 130px;
  margin: 0 auto 18px;
  display: block;
}

.admin-login-card {
  width: min(440px, calc(100vw - 32px));
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(18px, 5vw, 78px);
  color: #dfe8da;
  background: var(--dark);
}

.site-footer img { width: 104px; max-height: 56px; object-fit: contain; }
.site-footer p { margin: 0; }
.site-footer a { color: var(--brand); font-weight: 900; }

.department-bar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 48px;
  padding: 0 clamp(18px, 5vw, 78px);
  overflow: visible;
  color: #f6f9f1;
  background: #303330;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.department-bar a,
.department-bar button.departments-all {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  color: #e9eee6;
  font-size: 0.92rem;
  font-weight: 800;
  white-space: nowrap;
}

.department-bar button.departments-all {
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
}

.department-bar a:hover,
.department-bar a.active,
.department-bar button.departments-all:hover,
.department-bar .departments-menu.is-open > button.departments-all {
  color: var(--brand);
}

.departments-all::before {
  content: "";
  width: 14px;
  height: 10px;
  margin-right: 8px;
  border-top: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  background: linear-gradient(var(--brand), var(--brand)) center / 100% 2px no-repeat;
}

.catalog-page {
  padding: 24px clamp(18px, 5vw, 78px) clamp(58px, 8vw, 108px);
}

.catalog-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.52fr);
  gap: 28px;
  align-items: center;
  min-height: 230px;
  margin-bottom: 24px;
  padding: clamp(26px, 4vw, 46px);
  color: #071006;
  border-radius: 8px;
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.64), transparent 16rem),
    linear-gradient(135deg, #b8f72d 0%, #f3c400 100%);
  overflow: hidden;
}

body[data-theme="dark"] .catalog-banner {
  color: #071006;
}

.catalog-banner .eyebrow {
  color: #274200;
}

.catalog-banner h1 {
  max-width: 760px;
  margin-bottom: 12px;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
}

.catalog-banner p {
  max-width: 650px;
  margin-bottom: 0;
  color: #263000;
  font-size: 1.05rem;
  line-height: 1.55;
}

.banner-products {
  position: relative;
  min-height: 170px;
}

.banner-products span {
  position: absolute;
  bottom: 10px;
  display: block;
  border-radius: 8px;
  background: linear-gradient(145deg, #fff, #6f766c);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.22);
}

.banner-products span:nth-child(1) { left: 8%; width: 94px; height: 134px; }
.banner-products span:nth-child(2) { left: 38%; width: 138px; height: 92px; border: 10px solid #151515; }
.banner-products span:nth-child(3) { right: 8%; width: 82px; height: 118px; border-radius: 999px 999px 14px 14px; }

.store-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 24px;
}

.filter-panel {
  align-self: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 14px 36px rgba(16, 22, 15, 0.06);
  overflow: hidden;
}

.filter-title {
  padding: 20px;
  font-weight: 900;
  background: var(--surface-2);
}

.filter-panel details {
  padding: 0 20px 16px;
  border-top: 1px solid var(--line);
}

.filter-panel summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  font-weight: 900;
  cursor: pointer;
}

.filter-panel label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0;
  color: var(--ink-2);
  font-size: 0.92rem;
}

.filter-panel input {
  width: 16px;
  height: 16px;
  accent-color: var(--brand);
}

.clear-filters {
  width: calc(100% - 40px);
  min-height: 44px;
  margin: 0 20px 20px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  color: var(--ink);
  background: transparent;
  font-weight: 900;
  cursor: pointer;
}

.catalog-results {
  min-width: 0;
}

.catalog-breadcrumb {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.catalog-breadcrumb span {
  margin: 0 8px;
  color: var(--brand-2);
}

.catalog-headline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
  padding: 18px;
  border-radius: 8px;
  background: var(--surface-2);
}

.catalog-headline h2 {
  margin-bottom: 8px;
  font-size: 1.3rem;
}

.catalog-headline p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.catalog-headline label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  white-space: nowrap;
}

.catalog-headline select {
  min-height: 38px;
  border: 0;
  border-radius: 8px;
  color: var(--ink);
  background: var(--surface);
  font-weight: 900;
}

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

.store-product {
  position: relative;
  display: grid;
  align-content: start;
  min-height: 360px;
  padding: 10px 10px 16px;
  border-radius: 10px;
  background: var(--surface);
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.store-product:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.store-product > button {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 999px;
  background: var(--surface-2);
  cursor: pointer;
}

.store-product > button:not(.storefront-heart)::before {
  content: "♡";
  color: var(--ink);
  font-size: 1rem;
}

.store-art {
  min-height: 174px;
  margin-bottom: 14px;
  background:
    radial-gradient(circle at 50% 36%, color-mix(in srgb, var(--brand) 18%, transparent), transparent 7rem),
    var(--surface);
}

.store-product h3 {
  min-height: 42px;
  margin: 0 8px 8px;
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.25;
}

.store-product p {
  margin: 0 8px 8px;
  color: var(--ink-2);
  font-size: 0.9rem;
  font-weight: 800;
}

.store-product small {
  margin: 0 8px 10px;
  color: var(--muted);
  font-size: 0.8rem;
}

.store-product-price {
  display: block;
  margin: 0 8px 12px;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 900;
}

.store-product-price.locked {
  color: var(--muted);
  font-size: 0.9rem;
}

.product-quantity {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 36px;
  margin: 0 8px 12px;
}

.product-quantity > span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.product-quantity > div {
  display: grid;
  grid-template-columns: 30px 42px 30px;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.product-quantity button {
  width: 30px;
  height: 32px;
  border: 0;
  color: var(--ink);
  background: var(--surface-2);
  cursor: pointer;
  font-weight: 900;
}

.product-quantity input {
  width: 42px;
  height: 32px;
  padding: 0;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: var(--surface);
  text-align: center;
  font-weight: 800;
  appearance: textfield;
}

.product-quantity input::-webkit-inner-spin-button,
.product-quantity input::-webkit-outer-spin-button {
  margin: 0;
  appearance: none;
}

.product-card-image {
  width: 100%;
  height: 170px;
  object-fit: contain;
  display: block;
  margin: 8px 0 18px;
  padding: 18px;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px #f0f1ed;
}

body[data-theme="dark"] .product-card-image {
  background: #ffffff;
  box-shadow: inset 0 0 0 1px #ecefea;
}

.store-product-actions {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 8px;
  margin: auto 8px 0;
}

.store-product-actions a,
.store-product-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 10px;
  border: 0;
  border-radius: 8px;
  color: #071006;
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 900;
}

.store-product-actions a {
  background: #ffc400;
}

.store-product-actions button {
  background: var(--brand);
}

.floating-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display: flex;
  gap: 8px;
}

.floating-actions button {
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  box-shadow: 0 12px 30px rgba(16, 22, 15, 0.14);
  backdrop-filter: blur(12px);
  font-size: 0.86rem;
  font-weight: 900;
}

.chat-toggle {
  position: relative;
  width: 58px;
  height: 58px;
  min-height: 58px !important;
  padding: 0 !important;
  overflow: visible;
  border: 3px solid #fff !important;
  border-radius: 50% !important;
  background: #fff !important;
  box-shadow: 0 12px 28px rgba(10, 38, 20, .25) !important;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.chat-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(10, 38, 20, .3) !important;
}

.chat-toggle img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.chat-online-dot {
  position: absolute;
  right: -1px;
  bottom: 1px;
  width: 14px;
  height: 14px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #35a853;
}

.chat-widget {
  position: fixed;
  right: 18px;
  bottom: 72px;
  z-index: 41;
  width: min(350px, calc(100vw - 36px));
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.chat-widget header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  color: #fff;
  background: #174c2b;
}

.chat-agent {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-agent img {
  width: 42px;
  height: 42px;
  border: 2px solid rgba(255,255,255,.75);
  border-radius: 50%;
  object-fit: cover;
}

.chat-agent span {
  display: grid;
  gap: 2px;
}

.chat-agent small {
  color: rgba(255,255,255,.76);
  font-size: .72rem;
}

.chat-close {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  cursor: pointer;
  font-size: 1.2rem;
}

.chat-body {
  display: grid;
  gap: 10px;
  padding: 16px;
  max-height: 370px;
  overflow-y: auto;
}

.chat-message {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: end;
  gap: 8px;
}

.chat-message img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
}

.chat-body p {
  margin: 0;
  padding: 12px;
  border-radius: 10px 10px 10px 3px;
  color: var(--ink);
  background: var(--surface-2);
  line-height: 1.45;
}

.chat-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--line);
}

.chat-visitor-fields {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.chat-visitor-fields[hidden] {
  display: none;
}

.chat-thread {
  display: grid;
  gap: 9px;
}

.chat-thread-message {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.chat-thread-message.client {
  justify-content: flex-end;
}

.chat-thread-message img {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 50%;
  object-fit: cover;
}

.chat-thread-message p {
  max-width: 82%;
}

.chat-thread-message.client p {
  color: #fff;
  background: #2f7d32;
  border-radius: 10px 10px 3px 10px;
}

.chat-form input {
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--surface);
}

.chat-form button {
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: #2f7d32;
  font-weight: 900;
}

@media (max-width: 1080px) {
  .mega-industries { grid-template-columns: repeat(2, minmax(180px, 1fr)); }
  .segment-showcase { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-store-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .deals-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .desktop-nav { display: none; }
  .hero, .region-band, .catalog-layout, .support-hero, .access-page { grid-template-columns: 1fr; }
  .admin-login-preview,
  .quick-help-grid,
  .admin-dashboard,
  .admin-modules {
    grid-template-columns: 1fr;
  }
  .home-hero { min-height: auto; }
  .explain-grid, .service-grid, .catalog-grid { grid-template-columns: 1fr; }
  .catalog-sidebar { position: static; }
  .catalog-tools { grid-template-columns: 1fr; }
  .store-layout,
  .catalog-banner {
    grid-template-columns: 1fr;
  }
  .department-bar {
    top: 0;
  }
  .product-store-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .admin-shell {
    grid-template-columns: 1fr;
  }
  .admin-sidebar {
    position: static;
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid #dfe5d9;
  }
  .admin-sidebar nav {
    display: flex;
    overflow-x: auto;
  }
  .admin-sidebar a {
    white-space: nowrap;
  }
  .admin-sidebar small {
    display: none;
  }
  .admin-two-columns,
  .admin-toolbar,
  .admin-banner-guide div,
  .admin-wide-picker,
  .admin-rule-grid,
  .admin-condition-grid,
  .profile-grid,
  .profile-account-grid {
    grid-template-columns: 1fr;
  }
  .profile-hero {
    align-items: flex-start;
    flex-direction: column;
    padding: 22px;
  }
  .checkout-layout {
    grid-template-columns: 1fr;
  }
  .checkout-summary {
    position: static;
  }
  .checkout-product {
    grid-template-columns: 54px minmax(0, 1fr) auto;
  }
  .checkout-product > strong:last-child {
    grid-column: 2 / -1;
    text-align: left;
  }
  .checkout-options,
  .checkout-fields,
  .checkout-carrier,
  .checkout-documents,
  .checkout-other-carrier,
  .profile-document-fields {
    grid-template-columns: 1fr;
  }
  .order-review-head,
  .order-review-footer {
    align-items: flex-start;
    flex-direction: column;
  }
  .profile-order-list div {
    grid-template-columns: 1fr;
  }
  .profile-actions {
    justify-content: flex-start;
  }
  .admin-page-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .shop-header {
    grid-template-columns: 120px 1fr auto;
  }
  .welcome-link,
  .client-welcome-link {
    grid-column: 1 / 3;
    order: 4;
  }
  .cart-button {
    grid-column: 3;
    grid-row: 1;
  }
  .campaign-slide {
    grid-template-columns: 1fr;
  }
  .campaign-products {
    min-height: 190px;
  }
  .hub-intro {
    grid-template-columns: 1fr;
    margin-top: 0;
    padding-top: 34px;
  }
  .deals-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .market-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header { height: auto; min-height: 74px; padding: 10px 16px; }
  .factory-strip {
    grid-template-columns: minmax(0, 1fr) auto;
    padding-inline: 14px;
    gap: 10px;
  }
  .factory-strip-label {
    display: none;
  }
  .factory-brand-track {
    justify-content: flex-start;
    gap: 20px;
    min-width: max-content;
  }
  .factory-help {
    width: 34px;
    min-width: 34px;
    padding: 0;
    justify-content: center;
    font-size: 0;
  }
  .factory-help::before {
    margin-right: 0;
  }
  .brand img { width: 104px; max-height: 54px; }
  .header-tools { gap: 6px; }
  .theme-toggle, .header-action { min-height: 38px; padding: 0 12px; }
  h1 { font-size: 3rem; }
  .device-grid, .segment-showcase { grid-template-columns: 1fr; }
  .site-footer { align-items: flex-start; flex-direction: column; }
  .product-store-grid { grid-template-columns: 1fr; }
  .catalog-headline { align-items: flex-start; flex-direction: column; }
  .floating-actions { right: 12px; bottom: 12px; }
  .chat-widget { right: 12px; bottom: 64px; }
  .shop-header {
    grid-template-columns: 92px 1fr 42px;
    gap: 10px;
    padding: 12px 14px;
  }
  .shop-brand img {
    width: 92px;
  }
  .site-search {
    grid-column: 1 / -1;
    grid-row: 2;
  }
  .welcome-link,
  .client-welcome-link {
    grid-column: 1 / 3;
    font-size: 0.82rem;
  }
  .campaign-slide h1 {
    font-size: 2.9rem;
  }
  .campaign-slide {
    padding-inline: 18px;
  }
  .hub-intro,
  .deals-section,
  .market-footer {
    padding-inline: 18px;
  }
  .deals-head {
    align-items: flex-start;
    gap: 12px;
    flex-direction: column;
  }
  .deals-row {
    grid-template-columns: 1fr;
  }
}

[hidden] {
  display: none !important;
}

body {
  background: #eeeeee;
}

body[data-theme="dark"] {
  background: #060906;
}

.catalog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 30px 0 10px;
}

.catalog-pagination a,
.catalog-pagination span {
  min-width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  padding: 0 10px;
  border: 1px solid #dce4d9;
  border-radius: 8px;
  color: #334136;
  background: #fff;
  font-weight: 800;
}

.catalog-pagination a:hover,
.catalog-pagination a.active {
  color: #fff;
  border-color: #357a28;
  background: #357a28;
}

.catalog-pagination a.disabled {
  pointer-events: none;
  opacity: .35;
}

.catalog-pagination span {
  min-width: 28px;
  padding: 0;
  border-color: transparent;
  background: transparent;
}

.catalog-page-summary {
  margin: 0 0 28px;
  color: #687166;
  font-size: .86rem;
  text-align: center;
}

.catalog-filter-options {
  display: grid;
  max-height: calc(var(--filter-visible, 12) * 40px);
  overflow: auto;
  scrollbar-width: thin;
}

.catalog-filter-options a {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.catalog-filter-options a.active {
  background: #edf5e8;
  color: #176326;
  font-weight: 800;
}

.catalog-filter-options a small {
  background: #edf2e9;
  border-radius: 999px;
  color: #52604f;
  font-size: .72rem;
  min-width: 26px;
  padding: 3px 7px;
  text-align: center;
}

.factory-strip,
.shop-header,
.department-bar {
  padding-left: max(18px, calc((100vw - 1260px) / 2));
  padding-right: max(18px, calc((100vw - 1260px) / 2));
}

.catalog-page {
  max-width: 1260px;
  margin: 0 auto;
  padding: 24px 18px 64px;
}

.home-banner,
.hub-intro,
.deals-head,
.deals-row {
  max-width: 1260px;
  margin-left: auto;
  margin-right: auto;
}

.home-banner {
  border-radius: 0;
}

.catalog-banner.banner-carousel,
.banner-carousel {
  display: block;
  min-height: 0;
  padding: 0;
  color: inherit;
  border-radius: 0;
  background: transparent;
}

.catalog-banner.banner-carousel {
  margin-bottom: 24px;
}

.banner-slide img,
.banner-slide video {
  width: 100%;
  aspect-ratio: 1440 / 420;
  max-height: 360px;
  object-fit: cover;
}

.catalog-banner .banner-slide img,
.catalog-banner .banner-slide video {
  border-radius: 10px;
}

.store-layout {
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.filter-panel {
  position: sticky;
  top: 64px;
  max-height: calc(100vh - 84px);
  overflow: auto;
}

.catalog-headline {
  min-height: 76px;
  margin-bottom: 20px;
}

.product-store-grid {
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 18px;
}

.store-product {
  min-height: 410px;
}

.store-art {
  min-height: 158px;
}

.footer-info-toggle {
  position: relative;
  z-index: 2;
  margin-top: 0;
}

.market-footer {
  max-width: none;
}

@media (max-width: 1080px) {
  .product-store-grid {
    grid-template-columns: repeat(3, minmax(150px, 1fr));
  }
}

@media (max-width: 860px) {
  .store-layout {
    grid-template-columns: 1fr;
  }

  .filter-panel {
    position: static;
    max-height: none;
  }

  .product-store-grid {
    grid-template-columns: repeat(2, minmax(140px, 1fr));
  }

  .catalog-page {
    padding-inline: 12px;
  }

  .department-bar {
    overflow-x: auto;
    overflow-y: visible;
  }

  .departments-dropdown {
    width: min(720px, calc(100vw - 24px));
  }
}

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

  .banner-slide img,
  .banner-slide video {
    aspect-ratio: 16 / 9;
  }

  .catalog-banner .banner-slide img,
  .catalog-banner .banner-slide video {
    border-radius: 0;
  }
}

/* Access page and shared storefront brand proportions. */
.shop-header {
  grid-template-columns: 132px minmax(260px, 1fr) auto auto;
  min-height: 124px;
  padding-block: 14px;
}

.shop-brand {
  width: 112px;
  height: 94px;
  justify-self: start;
}

.shop-brand img {
  width: auto;
  height: 90px;
  max-width: 112px;
  max-height: none;
}

.access-page {
  display: block;
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(38px, 5vw, 72px) 0 78px;
}

.access-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  gap: 34px;
  align-items: end;
  margin-bottom: 26px;
}

.access-heading h1 {
  max-width: 760px;
  margin: 6px 0 12px;
  font-size: clamp(2.5rem, 4.8vw, 4.7rem);
}

.access-heading p {
  max-width: 720px;
  margin: 0;
}

.access-security-note {
  display: grid;
  gap: 5px;
  padding: 18px 20px;
  border-left: 3px solid var(--brand-2);
  color: var(--muted);
  background: var(--surface-2);
}

.access-security-note strong {
  color: var(--ink);
}

.access-grid {
  display: grid;
  grid-template-columns: minmax(320px, .82fr) minmax(520px, 1.35fr);
  gap: 20px;
  align-items: start;
}

.access-grid .editor-card {
  min-width: 0;
  padding: clamp(24px, 3vw, 36px);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(23, 52, 29, .08);
}

.access-login-card {
  position: sticky;
  top: 18px;
}

.access-card-heading {
  margin-bottom: 4px;
}

.access-card-heading h2 {
  margin: 5px 0 7px;
  color: var(--ink);
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1;
}

.access-card-heading p {
  margin: 0;
}

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

.access-grid label {
  min-width: 0;
}

.access-grid input {
  width: 100%;
  box-sizing: border-box;
}

.access-grid .system-primary {
  min-height: 48px;
}

.access-recovery-link { display:flex; align-items:center; justify-content:center; gap:7px; margin-top:2px; padding-top:15px; border-top:1px solid #e1e7de; color:var(--muted); font-size:.92rem; }
.access-recovery-link a { color:var(--brand-2); font-weight:900; text-decoration:underline; text-underline-offset:3px; }
.access-recovery-link.is-emphasized { justify-content:flex-start; padding:14px 15px; border:1px solid #e7bd59; border-radius:7px; color:#6b4700; background:#fff7df; }
.access-recovery-page { width:min(620px,calc(100% - 32px)); margin:0 auto; padding:clamp(42px,7vw,86px) 0; }
.access-recovery-card { padding:clamp(25px,5vw,42px); box-shadow:0 18px 44px rgba(23,52,29,.08); }
.access-recovery-card h1 { margin:7px 0 10px; font-size:clamp(2.1rem,5vw,3.6rem); line-height:1; }
.access-recovery-card>p { margin:0 0 24px; color:var(--muted); line-height:1.55; }
.access-recovery-card form { display:grid; gap:16px; }
.access-recovery-card label { display:grid; gap:7px; font-weight:800; }
.access-recovery-card input { width:100%; box-sizing:border-box; min-height:48px; }
.access-recovery-actions { display:flex; align-items:center; gap:14px; flex-wrap:wrap; }
.access-recovery-actions a { color:var(--brand-2); font-weight:800; }

.company-registration-fields[hidden] {
  display: none;
}

.company-registration-fields > .field-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cnpj-lookup-message {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid #d4ddd0;
  border-radius: 7px;
  color: var(--muted);
  background: var(--surface-2);
}

.cnpj-lookup-message[hidden] {
  display: none;
}

.cnpj-lookup-message strong {
  color: var(--ink);
}

.cnpj-lookup-message.found {
  border-color: #9fc991;
  background: #edf7e8;
}

.cnpj-lookup-message.new {
  border-color: #e2cc83;
  background: #fff8df;
}

@media (max-width: 980px) {
  .access-heading,
  .access-grid {
    grid-template-columns: 1fr;
  }

  .access-login-card {
    position: static;
  }
}

@media (max-width: 640px) {
  .shop-brand {
    width: 82px;
    height: 76px;
  }

  .shop-brand img {
    width: auto;
    height: 72px;
    max-width: 82px;
    max-height: none;
  }

  .access-page {
    width: min(calc(100% - 28px), 1280px);
    padding-top: 30px;
  }

  .access-heading {
    gap: 18px;
  }

  .access-security-note {
    display: none;
  }

  .access-grid .field-grid {
    grid-template-columns: 1fr;
  }

  .company-registration-fields > .field-grid {
    grid-template-columns: 1fr;
  }

  .access-grid .field-grid .wide {
    grid-column: auto;
  }
}

/* Customer operations and checkout validation */
.admin-bulk-panel { display: flex; align-items: end; gap: 12px; flex-wrap: wrap; padding: 14px 16px; border: 1px solid #b9d99e; border-radius: 9px; background: #eff7e8; }
.admin-bulk-panel[hidden] { display: none; }
.admin-bulk-panel > strong { margin-right: auto; align-self: center; color: #0b5a25; }
.admin-bulk-panel label { display: grid; gap: 5px; color: #52604f; font-size: .78rem; font-weight: 800; }
.admin-bulk-panel select { min-height: 38px; border: 1px solid #cfd8ca; border-radius: 7px; background: #fff; }
.admin-bulk-panel button { min-height: 38px; padding: 0 14px; border: 0; border-radius: 7px; background: #69bd16; font-weight: 900; cursor: pointer; }
.catalog-structure-board {
  margin: 0 16px 16px;
  padding: 14px;
  border: 1px solid #d7e5cf;
  border-radius: 8px;
  background: linear-gradient(180deg,#fbfdf8 0%,#f2f8ed 100%);
}
.catalog-structure-board-head {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: start;
  gap: 14px;
  margin-bottom: 12px;
}
.catalog-structure-board-head div { display: grid; gap: 3px; }
.catalog-structure-board-head strong { color: #063f1d; font-size: 1.02rem; }
.catalog-structure-board-head span { color: #5d6b58; font-size: .9rem; line-height: 1.35; }
.catalog-structure-board-head em {
  min-width: 118px;
  justify-self: end;
  padding: 8px 11px;
  border: 1px solid #cfe1c2;
  border-radius: 999px;
  color: #0b5a25;
  background: #fff;
  font-style: normal;
  font-size: .82rem;
  font-weight: 800;
  text-align: center;
}
.catalog-organizer-controls {
  display: grid;
  grid-template-columns: minmax(230px,1fr) auto;
  align-items: end;
  gap: 10px;
  margin-bottom: 12px;
  padding: 12px;
  border: 1px solid #e1eadb;
  border-radius: 8px;
  background: #fff;
}
.catalog-organizer-controls label {
  display: grid;
  gap: 6px;
  color: #52604f;
  font-size: .78rem;
  font-weight: 900;
}
.catalog-organizer-controls select {
  min-height: 42px;
  padding: 0 11px;
  border: 1px solid #cfd8ca;
  border-radius: 7px;
  color: #132012;
  background: #fff;
  font-weight: 800;
}
.catalog-organizer-controls button { min-height: 42px; white-space: nowrap; }
.catalog-organizer-controls p {
  grid-column: 1 / -1;
  margin: 0;
  color: #64725f;
  font-size: .86rem;
  line-height: 1.35;
}
.catalog-drop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 8px;
  max-height: 236px;
  overflow: auto;
  padding: 2px 4px 2px 0;
}
.catalog-drop-card {
  min-height: 74px;
  display: grid;
  gap: 5px;
  align-content: center;
  text-align: left;
  border: 1px solid #dbe6d5;
  border-radius: 8px;
  background: #fff;
  color: #132012;
  padding: 11px 12px;
  cursor: pointer;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease, background .16s ease;
}
.catalog-drop-root { border-color: #9bcf6f; background: #f5fbef; }
.catalog-drop-card strong { font-size: .88rem; color: #063f1d; line-height: 1.2; }
.catalog-drop-card small { color: #64725f; line-height: 1.3; font-size: .78rem; }
.catalog-drop-card:hover,
.catalog-drop-card.is-drag-over { border-color: #2f7d26; box-shadow: 0 10px 24px rgb(28 75 22 / .14); transform: translateY(-1px); background: #f7fcf3; }
.data-table tr[draggable="true"] { cursor: grab; }
.data-table tr[draggable="true"]:active { cursor: grabbing; }
.admin-client-select-row { grid-template-columns: 36px minmax(190px, 1fr) 160px minmax(190px, .9fr) 100px 90px; }
.admin-client-select-row input[type="checkbox"] { width: 17px; height: 17px; }
.admin-editable-conditions { display: grid; gap: 12px; margin-top: 16px; }
.admin-editable-conditions article { display: grid; grid-template-columns: minmax(160px, .8fr) repeat(4, minmax(130px, 1fr)); align-items: end; gap: 12px; padding: 16px; border: 1px solid #dfe5d9; border-radius: 9px; background: #fafbf9; }
.admin-editable-conditions article > div { align-self: center; display: grid; gap: 7px; }
.admin-editable-conditions label { display: grid; gap: 5px; color: #52604f; font-size: .78rem; font-weight: 800; }
.admin-editable-conditions input,
.admin-editable-conditions select,
.admin-document-editor input,
.admin-document-editor select { min-width: 0; min-height: 38px; padding: 0 9px; border: 1px solid #cfd8ca; border-radius: 7px; background: #fff; }
.admin-document-editor { display: grid; gap: 1px; margin-top: 16px; border-radius: 9px; overflow: hidden; }
.admin-document-editor article { display: grid; grid-template-columns: minmax(220px, 1fr) 170px auto; align-items: center; gap: 12px; padding: 14px; background: #f7f9f5; }
.admin-document-editor article > div { display: grid; gap: 4px; }
.admin-document-editor article span { color: #657060; font-size: .84rem; }
.admin-file-action { position: relative; min-height: 38px; display: inline-flex; align-items: center; padding: 0 12px; border: 1px solid #cfd8ca; border-radius: 7px; color: #0b5a25; background: #fff; font-weight: 900; cursor: pointer; overflow: hidden; }
.admin-file-action input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.required-mark { display: inline-block; margin-left: 5px; color: #8a5b00; font-size: .68rem; }
.checkout-carrier { margin-top: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2); }
.checkout-carrier-head { display: grid; gap: 3px; margin-bottom: 13px; }
.checkout-carrier-head span { color: var(--muted); font-size: .88rem; }
.checkout-carrier-select { display: grid; gap: 7px; color: var(--ink-2); font-weight: 800; }
.checkout-carrier-select select { width: 100%; min-height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.checkout-other-carrier { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 12px; }
.checkout-other-carrier:not([hidden]) { display: grid; }
.checkout-contact-warning { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 16px; margin-top: 14px; padding: 13px 15px; border: 1px solid #e7c96d; border-radius: 8px; color: #704c08; background: #fff7da; }
.checkout-contact-warning[hidden] { display: none; }
.checkout-contact-warning span { font-size: .88rem; }
.checkout-contact-warning a { grid-column: 2; grid-row: 1 / span 2; align-self: center; color: #0b5a25; font-weight: 900; }
.checkout-summary button:disabled { cursor: not-allowed; opacity: .45; filter: grayscale(.4); }
.admin-order-row { grid-template-columns: 110px minmax(180px, 1fr) minmax(160px, .8fr) 130px 160px 90px; }
.industry-product-toolbar { margin: 16px 0 12px; }
.industry-price-bulk { margin-bottom: 12px; }
.industry-product-row {
  grid-template-columns: 34px minmax(210px, 1.4fr) 90px 110px 110px 110px 90px 70px 80px;
  min-width: 1100px;
}
.industry-product-row input[type="text"] { width: 92px; min-height: 34px; border: 1px solid #d4dcd0; border-radius: 6px; padding: 0 8px; }
.import-preview { margin-top: 20px; padding-top: 20px; border-top: 1px solid #e1e6dd; }
.missing-products-review { display: grid; gap: 9px; margin-top: 14px; padding: 16px; border: 1px solid #ead79b; border-radius: 9px; background: #fffaf0; }
.missing-products-review p { margin: 0; }
.missing-products-review label { display: flex; align-items: center; gap: 8px; color: #52604f; }
.missing-products-review .admin-action { justify-self: start; }
.admin-choice-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; border: 0; padding: 0; }
.admin-choice-cards legend { grid-column: 1 / -1; margin-bottom: 3px; color: #52604f; font-weight: 900; }
.admin-choice-cards label { display: flex; align-items: flex-start; gap: 10px; padding: 15px; border: 1px solid #dce3d8; border-radius: 9px; background: #fafbf9; }
.admin-choice-cards label:has(input:checked) { border-color: #78c51b; background: #f1f8eb; }
.admin-choice-cards input { width: auto; min-height: auto; margin: 3px 0 0; }
.admin-choice-cards span { display: grid; gap: 4px; }
.admin-choice-cards small { color: #657060; font-weight: 500; }
.client-condition-card { grid-template-columns: repeat(4, minmax(140px, 1fr)) !important; }
.client-condition-card > div { grid-column: 1 / -1; }
.client-condition-card select[multiple] { min-height: 76px; padding-block: 5px; }
.checkout-options-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.checkout-redelivery { display: grid; gap: 4px; margin-top: 14px; padding: 15px; border: 1px solid #cfe1c2; border-radius: 9px; background: #f2f8ed; }
.checkout-redelivery[hidden] { display: none; }
.checkout-redelivery span,
.checkout-redelivery small { color: var(--muted); }
.checkout-tax-note { padding: 10px; border-radius: 7px; background: #f2f8ed; }
.stock-warning { display: block; color: #946200 !important; font-size: .76rem !important; font-weight: 800; }
.add-cart-button.budget { background: #e8b53b; }
.installment-preview {
  display: grid; gap: 6px; margin-top: 14px; padding: 15px 16px;
  border: 1px solid #cfe1c2; border-radius: 9px; background: #f2f8ed;
}
.installment-preview div { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.installment-preview span,
.installment-preview small { color: var(--muted); }
.installment-preview strong { color: #0b5a25; font-size: 1.08rem; }
.industry-payment-plans { padding-top: 8px; }
.payment-plan-editor { display: grid; gap: 8px; margin-top: 12px; }
.payment-plan-editor > div {
  display: grid; grid-template-columns: minmax(150px, 1fr) minmax(190px, 1.3fr) 100px 38px;
  align-items: end; gap: 10px; padding: 12px; border: 1px solid #dfe5d9; border-radius: 8px; background: #fafbf9;
}
.payment-plan-editor label { display: grid; gap: 5px; font-size: .78rem; }
.payment-plan-editor input { width: 100%; min-height: 38px; margin: 0; }
.payment-plan-editor button {
  width: 38px; height: 38px; padding: 0; border: 1px solid #d9dfd5;
  border-radius: 7px; color: #5f6b5c; background: #fff; font-size: 1.1rem; cursor: pointer;
}

@media (max-width: 980px) {
  .admin-editable-conditions article { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-editable-conditions article > div { grid-column: 1 / -1; }
  .checkout-options-three { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .admin-editable-conditions article,
  .admin-document-editor article,
  .checkout-other-carrier:not([hidden]) { grid-template-columns: 1fr; }
  .checkout-contact-warning { grid-template-columns: 1fr; }
  .checkout-contact-warning a { grid-column: auto; grid-row: auto; }
  .payment-plan-editor > div { grid-template-columns: 1fr; }
  .installment-preview div { align-items: flex-start; flex-direction: column; }
  .admin-choice-cards,
  .client-condition-card { grid-template-columns: 1fr !important; }
  .catalog-structure-board { margin-inline: 10px; }
  .catalog-structure-board-head,
  .catalog-organizer-controls { grid-template-columns: 1fr; }
  .catalog-structure-board-head em { justify-self: start; }
  .catalog-organizer-controls button { width: 100%; }
}

.home-banner {
  max-width: none;
  width: 100%;
}

.home-banner::after,
.catalog-banner::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  height: clamp(70px, 13vw, 150px);
  background: linear-gradient(180deg, transparent, #eeeeee);
  pointer-events: none;
}

body[data-theme="dark"] .home-banner::after,
body[data-theme="dark"] .catalog-banner::after {
  background: linear-gradient(180deg, transparent, #060906);
}

.home-banner .banner-slide img,
.home-banner .banner-slide video {
  max-height: 520px;
  border-radius: 0;
}

.catalog-banner.banner-carousel {
  width: min(100%, 1260px);
  margin-inline: auto;
}

.catalog-banner .banner-slide img,
.catalog-banner .banner-slide video {
  max-height: 330px;
}

.slider-dots {
  bottom: clamp(54px, 8vw, 92px);
}

.catalog-banner .slider-dots {
  bottom: 18px;
}

.slider-dots button {
  width: 34px;
  height: 6px;
  border-radius: 999px;
}

.campaign-products span,
.hub-intro article,
.deal-card,
.store-product,
.filter-panel,
.catalog-headline,
.product-detail,
.buy-box,
.locked-price {
  border-radius: 12px;
}

.product-page {
  max-width: 1260px;
  margin: 0 auto;
  padding: 28px 18px 70px;
}

.product-breadcrumb {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 0.9rem;
}

.product-breadcrumb a {
  color: #1672ff;
}

.product-detail {
  display: grid;
  grid-template-columns: 70px minmax(320px, 1fr) minmax(340px, 0.95fr) minmax(280px, 330px);
  gap: 22px;
  align-items: start;
  padding: 22px;
  background: var(--surface);
  box-shadow: 0 12px 34px rgba(16, 22, 15, 0.08);
}

.product-thumbs {
  display: grid;
  gap: 10px;
}

.product-thumbs button {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  cursor: pointer;
  overflow: hidden;
}

.product-thumbs button.active {
  border-color: #1672ff;
  box-shadow: 0 0 0 1px #1672ff;
}

.product-thumbs .store-art {
  width: 100%;
  min-height: 58px;
  transform: scale(0.6);
  margin: 0;
}

.product-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 5px;
}

.product-gallery {
  display: grid;
  place-items: center;
  min-height: 520px;
  background: var(--surface);
}

.product-gallery .store-art {
  width: min(100%, 560px);
  min-height: 440px;
}

.product-main-image {
  width: min(100%, 640px);
  max-height: 520px;
  object-fit: contain;
  display: block;
  padding: 28px;
}

.product-info h1 {
  margin-bottom: 10px;
  font-size: clamp(1.6rem, 2.2vw, 2.2rem);
  line-height: 1.16;
}

.product-meta,
.product-rating {
  color: var(--muted);
}

.product-rating {
  margin-bottom: 20px;
}

.product-rating span {
  color: var(--muted);
}

.locked-price {
  display: grid;
  gap: 10px;
  margin: 22px 0;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--surface-2);
}

.locked-price strong {
  font-size: 1.45rem;
}

.locked-price p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.locked-price a,
.buy-primary,
.buy-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 8px;
  font-weight: 900;
}

.locked-price a,
.buy-primary {
  color: #071006;
  background: var(--brand);
}

.product-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 0 0 24px;
}

.product-specs div {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.product-specs dt {
  color: var(--muted);
  font-size: 0.8rem;
}

.product-specs dd {
  margin: 4px 0 0;
  font-weight: 900;
}

.product-info h2 {
  font-size: 1rem;
}

.product-info li {
  margin-bottom: 9px;
  color: var(--ink-2);
  line-height: 1.5;
}

.buy-box {
  position: sticky;
  top: 78px;
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.buy-box strong {
  font-size: 1.2rem;
}

.buy-box p,
.buy-box small {
  color: var(--muted);
  line-height: 1.5;
}

.buy-secondary {
  border: 0;
  color: #1672ff;
  background: #e8f1ff;
}

@media (max-width: 1120px) {
  .product-detail {
    grid-template-columns: 70px minmax(280px, 1fr) minmax(300px, 0.9fr);
  }

  .buy-box {
    grid-column: 2 / -1;
    position: static;
  }
}

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

  .product-thumbs {
    display: flex;
    overflow-x: auto;
  }

  .product-gallery {
    min-height: 320px;
  }

  .product-gallery .store-art {
    min-height: 300px;
  }

  .buy-box {
    grid-column: auto;
  }

  .product-specs {
    grid-template-columns: 1fr;
  }
}

.department-bar .departments-dropdown {
  color: #1f281d;
  background: #ffffff;
  border: 1px solid #e5e8df;
  box-shadow: 0 24px 60px rgba(16, 22, 15, 0.18);
}

.department-bar .department-tabs {
  background: #ffffff;
}

.department-bar .department-columns {
  background: #fff8e4;
}

.department-bar .department-tabs a,
.department-bar .department-columns a {
  color: #465044;
  font-weight: 700;
  opacity: 1;
}

.department-bar .department-tabs a.active {
  color: #0b5a25;
  font-weight: 900;
  background: #eef3e9;
}

.department-bar .department-tabs a:hover,
.department-bar .department-tabs a.active,
.department-bar .department-columns a:hover {
  color: #071006;
  background: #eef3e9;
}

.department-bar .departments-menu.is-open > .departments-all,
.department-bar .departments-menu:hover > .departments-all {
  color: var(--brand);
}

/* Admin operational layout */
.admin-head-actions { display: flex; align-items: center; gap: 10px; }
.admin-info-button {
  width: 38px; height: 38px; display: inline-grid; place-items: center; flex: 0 0 auto;
  border: 1px solid #cfd8ca; border-radius: 50%; color: #0b5a25; background: #fff;
  font: 900 1rem/1 Arial, sans-serif; cursor: pointer;
}
.admin-info-button:hover { background: #eef3e9; }
.admin-panel-flush { padding: 0; overflow: hidden; }
.admin-panel-flush .admin-table-row { padding-inline: 18px; }
.admin-table-row span { min-width: 0; }
.admin-table-row span > strong,
.admin-table-row span > small { display: block; }
.admin-table-row span > small { margin-top: 4px; color: #7a8576; font-size: .78rem; }
.admin-action,
.admin-secondary-action {
  min-height: 36px; display: inline-flex; align-items: center; justify-content: center;
  padding: 0 12px; border: 1px solid #cfd8ca; border-radius: 7px;
  color: #0b5a25; background: #fff; font-weight: 900; cursor: pointer;
}
.admin-action:hover,
.admin-secondary-action:hover { border-color: #78c51b; background: #eef7e5; }
.column-picker {
  position: relative;
}
.column-picker summary {
  list-style: none;
}
.column-picker summary::-webkit-details-marker {
  display: none;
}
.column-picker-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 80;
  display: grid;
  gap: 8px;
  width: min(280px, calc(100vw - 36px));
  max-height: 360px;
  overflow: auto;
  padding: 16px;
  border: 1px solid #d8e1d2;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(17, 36, 21, .16);
}
.column-picker-menu strong {
  padding-bottom: 4px;
  color: #172318;
  font-size: .95rem;
}
.column-picker-menu label {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  min-height: 28px;
  color: #334131;
  font-weight: 800;
}
.column-picker-menu input {
  width: 16px;
  height: 16px;
}
.company-table th[hidden],
.company-table td[hidden] {
  display: none;
}
.inline-status-form {
  margin: 0;
}
.admin-inline-create-quote {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}
.admin-inline-create-quote select {
  min-height: 40px;
  min-width: 210px;
  border: 1px solid #cfd8ca;
  border-radius: 7px;
  background: #fff;
  color: #0a1a0d;
  font-weight: 800;
}
.status-toggle-button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid #cfd8ca;
  border-radius: 999px;
  color: #0b5a25;
  background: #fff;
  font-weight: 900;
  cursor: pointer;
}
.status-toggle-button.is-active {
  border-color: #d9edcf;
  background: #ddf2d2;
}
.status-toggle-button.is-inactive {
  color: #8b1f1f;
  border-color: #f0cccc;
  background: #fff1f1;
}
.admin-warning-line {
  margin: 14px 16px 0;
  padding: 12px 14px;
  border: 1px solid #edd28f;
  border-radius: 8px;
  color: #6f4d00;
  background: #fff8df;
  font-weight: 800;
}
.client-condition-toolbar,
.admin-bulk-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 14px 16px;
  border-top: 1px solid #e2e7de;
}
.client-condition-toolbar select,
.admin-bulk-toolbar select {
  min-height: 38px;
  border: 1px solid #cfd8ca;
  border-radius: 7px;
  background: #fff;
  font-weight: 800;
}
.client-condition-list-flat {
  display: grid;
  gap: 10px;
  padding: 16px;
}
.client-condition-row-selectable {
  display: grid;
  grid-template-columns: 28px minmax(160px, 1fr) repeat(4, minmax(130px, 1fr));
  align-items: end;
  gap: 12px;
  padding: 14px;
  border: 1px solid #dbe7d4;
  border-radius: 9px;
  background: #fbfdfa;
}
.client-condition-row-selectable > strong {
  align-self: center;
  color: #0a1a0d;
}
.client-condition-select {
  align-self: center;
}
.client-condition-row-selectable label:not(.client-condition-select) {
  display: grid;
  gap: 5px;
  color: #52604f;
  font-size: .78rem;
  font-weight: 900;
}
.client-condition-row-selectable input,
.client-condition-row-selectable select {
  min-height: 38px;
  border: 1px solid #cbd9c4;
  border-radius: 7px;
  background: #fff;
  color: #0a1a0d;
  font: inherit;
}
.company-status-bulk-form {
  margin: 0;
}
.company-status-bulk-form .admin-bulk-toolbar {
  justify-content: flex-start;
  background: #f7faf4;
}
.admin-dashboard-compact article { min-height: 132px; }
.admin-dashboard-grid {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr); gap: 18px;
}
.catalog-only-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}
.admin-compact-ranking { display: grid; margin-top: 8px; }
.admin-compact-ranking div {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 5px 16px;
  padding: 13px 0; border-bottom: 1px solid #e5e9e1;
}
.admin-compact-ranking div:last-child { border-bottom: 0; }
.admin-compact-ranking span { color: #657060; font-size: .84rem; }
.admin-compact-ranking b { grid-column: 2; grid-row: 1 / span 2; align-self: center; color: #142014; }
.admin-info-dialog {
  width: min(560px, calc(100vw - 32px)); padding: 28px; border: 0; border-radius: 12px;
  color: #142014; box-shadow: 0 24px 70px rgb(0 0 0 / .22);
}
.admin-info-dialog::backdrop { background: rgb(6 16 8 / .48); }
.admin-info-dialog > button {
  position: absolute; top: 12px; right: 14px; width: 34px; height: 34px;
  border: 0; border-radius: 50%; background: #eef3e9; font-size: 1.3rem; cursor: pointer;
}
.admin-info-dialog h2 { margin: 0 36px 12px 0; }
.admin-info-dialog p { color: #5f6b5c; line-height: 1.6; }
.admin-info-dialog dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 20px 0 0; }
.admin-info-dialog dl div { padding: 14px; border-radius: 8px; background: #f4f6f1; }
.admin-info-dialog dt { font-weight: 900; }
.admin-info-dialog dd { margin: 5px 0 0; color: #657060; }
.admin-back-link { color: #0b5a25; font-size: .88rem; font-weight: 900; }
.admin-edit-tabs {
  display: flex; gap: 4px; overflow-x: auto; padding: 4px;
  border: 1px solid #dfe5d9; border-radius: 9px; background: #fff;
}
.admin-edit-tabs button {
  min-height: 40px; padding: 0 16px; border: 0; border-radius: 6px;
  color: #596555; background: transparent; font-weight: 900; white-space: nowrap; cursor: pointer;
}
.admin-edit-tabs button.active { color: #0b5a25; background: #eaf4e1; }
.admin-tab-panel { display: none; }
.admin-tab-panel.active { display: block; }
.admin-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.admin-form-full { grid-column: 1 / -1; }
.admin-form-card { width: min(920px, 100%); }
.admin-inline-status {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-top: 20px; padding-top: 16px; border-top: 1px solid #e2e7de;
}
.admin-inline-status span { padding: 9px 12px; border-radius: 7px; color: #52604f; background: #f3f6f0; }
.admin-inline-status a { margin-left: auto; color: #0b5a25; font-weight: 900; }
.admin-report-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.admin-report-grid a {
  display: grid; gap: 5px; padding: 16px; border: 1px solid #e0e6dc;
  border-radius: 8px; color: #142014; background: #fafbf9;
}
.admin-report-grid a:hover { border-color: #78c51b; }
.admin-report-grid span { color: #657060; font-size: .88rem; }

@media (max-width: 820px) {
  .admin-dashboard-grid,
  .admin-form-grid,
  .admin-report-grid { grid-template-columns: 1fr; }
  .client-condition-row-selectable { grid-template-columns: 28px 1fr; }
  .client-condition-row-selectable label:not(.client-condition-select) { grid-column: 1 / -1; }
  .admin-inline-create-quote { width: 100%; }
  .admin-inline-create-quote select { flex: 1; min-width: 0; }
  .admin-form-full { grid-column: auto; }
  .admin-head-actions { width: 100%; justify-content: flex-end; }
  .admin-info-dialog dl { grid-template-columns: 1fr; }
}

/* Compact client profile */
.profile-dashboard-page {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
  padding: clamp(38px, 5vw, 64px) 0 72px;
  box-sizing: border-box;
}

.profile-hero-compact {
  align-items: center;
  padding: 24px 28px;
}

.profile-hero-compact h1 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

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

.profile-overview article {
  display: grid;
  gap: 4px;
  min-height: 108px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}

.profile-overview article.has-warning {
  border-color: #ecd89b;
  background: #fffaf0;
}

.profile-overview span {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.profile-overview strong {
  color: var(--ink);
  font-size: 1.18rem;
}

.profile-overview small {
  color: var(--muted);
}

.profile-dashboard-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.profile-dashboard-nav button {
  min-width: 0;
  min-height: 88px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  text-align: left;
  background: var(--surface);
  cursor: pointer;
}

.profile-dashboard-nav button:hover,
.profile-dashboard-nav button.active {
  border-color: var(--brand);
  box-shadow: 0 8px 24px rgb(15 43 20 / .08);
}

.profile-dashboard-nav button > span:nth-child(2) {
  display: grid;
  gap: 4px;
}

.profile-dashboard-nav strong {
  font-size: 1rem;
}

.profile-dashboard-nav small {
  color: var(--muted);
}

.profile-nav-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #0b5a25;
  background: #edf5e8;
  font-size: .8rem;
  font-weight: 900;
}

.profile-detail-panel {
  scroll-margin-top: 90px;
}

.profile-detail-panel[hidden] {
  display: none;
}

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

.profile-panel-heading span {
  color: var(--brand-2);
  font-size: .75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.profile-panel-heading h2 {
  margin: 4px 0 5px;
}

.profile-panel-heading p {
  margin: 0;
}

.profile-alert {
  display: grid;
  gap: 3px;
  margin-bottom: 16px;
  padding: 13px 15px;
  border: 1px solid #ecd89b;
  border-radius: 8px;
  color: #704c08;
  background: #fff8df;
}

.profile-alert span {
  font-size: .88rem;
}

@media (max-width: 820px) {
  .profile-overview,
  .profile-dashboard-nav {
    grid-template-columns: 1fr 1fr;
  }
  .profile-dashboard-nav button {
    grid-template-columns: 38px minmax(0, 1fr);
  }
  .profile-dashboard-nav button > em {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 560px) {
  .profile-dashboard-page {
    width: min(100% - 20px, 1180px);
    margin-inline: auto;
    padding-top: 28px;
  }
  .profile-overview,
  .profile-dashboard-nav {
    grid-template-columns: 1fr;
  }
  .profile-overview article {
    min-height: 88px;
  }
  .profile-panel-heading {
    flex-direction: column;
  }
}

/* Featured offers hardening: images must stay inside their cards. */
.deals-section .deals-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  overflow: visible;
}

.deals-section .deal-card {
  min-width: 0;
  overflow: hidden;
}

.deals-section .deal-product-image {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1 / .72;
  overflow: hidden;
}

.deals-section .deal-product-image img,
.deals-section img.deal-product-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
}

@media (max-width:1080px) {
  .deals-section .deals-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width:980px) {
  .deals-section .deals-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width:640px) {
  .deals-section .deals-row { grid-template-columns: 1fr; }
}

/* Final storefront card containment. Keep product photos boxed even with large source images. */
.deals-section .deal-card {
  display: grid;
  grid-template-rows: auto auto auto auto 1fr;
  min-height: 0;
  height: 100%;
  overflow: hidden;
}

.deals-section .deal-card-main {
  display: grid !important;
  gap: 10px;
  width: 100% !important;
  margin: 0 0 8px !important;
}

.deals-section .deal-product-image {
  width: 100%;
  height: 188px;
  max-height: none;
  aspect-ratio: auto;
  margin: 0;
  overflow: hidden;
  contain: paint;
}

.deals-section .deal-product-image img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  box-sizing: border-box;
  padding: 12px;
  object-fit: contain;
  object-position: center;
}

.deals-section .deal-product-image span {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
}

.deals-section .deal-card h3,
.deals-section .deal-card p,
.deals-section .deal-card small,
.deals-section .deal-price {
  position: relative;
  z-index: 1;
  background: var(--surface);
}

/* Storefront marketplace refinements */
.shop-header {
  position: relative;
  z-index: 120;
  grid-template-columns: 220px minmax(380px, 1fr) auto;
  gap: clamp(14px, 1.8vw, 28px);
  min-height: 78px;
  padding-block: 10px;
  overflow: visible;
}

.shop-brand {
  width: 206px;
  height: 54px;
  justify-self: start;
}

.shop-brand img {
  display: block;
  width: 206px;
  height: 54px;
  max-width: none;
  max-height: none;
  object-fit: contain;
}

.shop-header .site-search {
  z-index: 130;
}

.shop-header .site-search input {
  min-height: 48px;
}

.shop-header .search-suggestions {
  z-index: 140;
}

.shop-header-actions {
  display: grid;
  grid-template-columns: auto auto auto;
  align-items: stretch;
  gap: 8px;
  justify-self: end;
}

.client-welcome-link,
.header-orders-link,
.header-alert-link,
.cart-button.live-header-cart {
  min-height: 48px;
  color: var(--ink);
  text-decoration: none;
}

.client-welcome-link,
.header-orders-link,
.header-alert-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
}

.client-welcome-link:hover,
.header-orders-link:hover,
.header-alert-link:hover,
.cart-button.live-header-cart:hover {
  background: var(--surface-2);
}

.client-welcome-link span:last-child,
.header-orders-link,
.header-alert-link {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  line-height: 1.05;
}

.client-welcome-link strong,
.header-orders-link strong,
.header-alert-link strong {
  display: block;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 900;
}

.client-welcome-link span:not(.user-dot),
.header-orders-link span,
.header-alert-link span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.client-welcome-link em {
  display: block;
  margin-top: 4px;
  color: #0e4f17;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
}

.header-alert-link strong {
  min-width: 26px;
  padding: 4px 8px;
  color: #0e4f17;
  border-radius: 999px;
  background: #dff3d7;
  text-align: center;
}

.cart-button.live-header-cart {
  display: grid;
  grid-template-columns: 34px auto;
  align-items: center;
  column-gap: 6px;
  position: relative;
  padding: 8px;
  border-radius: 8px;
}

.cart-symbol {
  width: 32px;
  height: 32px;
  color: #255f18;
}

.cart-button.live-header-cart > span:not(.cart-icon) {
  color: var(--ink);
  font-weight: 900;
}

.cart-button.live-header-cart .cart-header-count {
  position: absolute;
  top: 1px;
  left: 28px;
  min-width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  padding: 0 6px;
  color: #fff;
  border-radius: 999px;
  background: #0f6a22;
  font-size: 0.72rem;
}

.header-cart-menu {
  position: relative;
}

.header-cart-dropdown {
  display: none !important;
}

.header-cart-menu:hover .header-cart-dropdown,
.header-cart-menu:focus-within .header-cart-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.header-cart-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 80;
  width: min(330px, 88vw);
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  box-shadow: 0 18px 36px rgba(17, 31, 20, .18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}

.header-cart-dropdown > strong {
  color: var(--ink);
  font-size: .95rem;
}

.header-cart-dropdown p {
  margin: 0;
  color: var(--muted);
  font-size: .86rem;
}

.header-cart-dropdown a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 900;
  background: var(--surface-2);
}

.header-cart-dropdown a small {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 800;
  white-space: nowrap;
}

.header-cart-dropdown a:hover {
  background: #e3f2dc;
}

.header-cart-dropdown .header-cart-new {
  justify-content: center;
  border: 1px dashed #94bd88;
  color: #0f641f;
  background: transparent;
}

.header-cart-dropdown .header-cart-review {
  justify-content: center;
  color: #fff;
  background: var(--brand);
}

.campaign-bar {
  justify-content: flex-start;
  overflow-x: auto;
  scrollbar-width: thin;
  z-index: 40;
  width: 100%;
  padding-inline: clamp(16px, 1.8vw, 34px);
}

.campaign-bar::before { content: none; }

.campaign-bar .departments-menu {
  align-self: stretch;
  display: flex;
  align-items: center;
}

.campaign-bar .departments-all {
  min-height: 48px;
  padding: 0 16px 0 0;
  color: var(--brand);
}

.campaign-bar .departments-all::before {
  content: "";
  width: 16px;
  height: 12px;
  margin-right: 8px;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  background: linear-gradient(currentColor,currentColor) center / 100% 2px no-repeat;
}

.campaign-bar .departments-dropdown[data-server-departments] {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1200;
  display: grid;
  grid-template-columns: 340px minmax(260px, 420px);
  grid-template-rows: auto 1fr;
  width: min(760px, calc(100vw - 28px));
  height: 100vh;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  box-shadow: 22px 0 55px rgba(0,0,0,.32);
  transform: translateX(-105%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 180ms ease, opacity 180ms ease, visibility 0s linear 180ms;
}

.campaign-bar .departments-menu.is-open .departments-dropdown[data-server-departments] {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.departments-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1190;
  background: rgba(0, 0, 0, .58);
  opacity: 0;
  transition: opacity 180ms ease;
}

.departments-backdrop.is-open {
  opacity: 1;
}

body.departments-is-open {
  overflow: hidden;
}

.departments-drawer-head {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 0 24px 0 28px;
  color: #fff;
  background: #17321f;
  font-size: 1.08rem;
  font-weight: 900;
}

.departments-close {
  position: static;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 6px;
  color: #fff;
  background: rgba(0,0,0,.16);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.departments-close:hover {
  background: rgba(0,0,0,.28);
}

.campaign-bar .department-tabs,
.campaign-bar .department-columns {
  min-height: 0;
  max-height: calc(100vh - 64px);
  overflow: auto;
  padding: 16px;
}

.campaign-bar .department-tabs {
  display: grid;
  align-content: start;
  gap: 4px;
  border-right: 1px solid var(--line);
  background: #fff;
}

.campaign-bar .department-tabs a,
.campaign-bar .department-columns a {
  min-height: 42px;
  color: var(--ink);
  white-space: normal;
}

.campaign-bar .department-tabs a {
  justify-content: space-between;
  padding: 0 10px;
  border-radius: 6px;
}

.campaign-bar .department-tabs a::after {
  content: "›";
  color: var(--muted);
  font-size: 1.2rem;
}

.campaign-bar .department-tabs a.active,
.campaign-bar .department-tabs a:hover {
  color: var(--ink);
  background: var(--surface-2);
}

.campaign-bar .department-columns {
  background: #fbf5e5;
}

.campaign-bar .department-submenu {
  display: none;
  align-content: start;
  gap: 8px;
}

.campaign-bar .department-submenu.active {
  display: grid;
}

.search-query-suggestion {
  grid-template-columns: 34px 1fr;
}

.search-query-icon {
  position: relative;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--surface-2);
}

.search-query-icon::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 8px;
  width: 10px;
  height: 10px;
  border: 2px solid var(--muted);
  border-radius: 999px;
}

.search-query-icon::after {
  content: "";
  position: absolute;
  top: 20px;
  left: 19px;
  width: 8px;
  height: 2px;
  border-radius: 99px;
  background: var(--muted);
  transform: rotate(45deg);
}

.catalog-page {
  width: 100%;
  max-width: none;
  padding-inline: clamp(14px, 1.6vw, 32px);
}

.store-layout {
  width: 100%;
  grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
  gap: clamp(16px, 1.5vw, 24px);
}

.product-store-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(14px, 1.1vw, 18px);
}

.store-product {
  min-height: 392px;
}

.storefront-grid {
  align-items: start;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.storefront-card {
  min-height: 100%;
}

.storefront-header-card,
.storefront-order-panel,
.home-offer-blocks-panel {
  width: 100%;
  margin-bottom: 18px;
}

.storefront-header-card .navigation-editor {
  display: grid;
  gap: 10px;
}

.storefront-header-card .navigation-editor > div {
  display: grid;
  grid-template-columns: minmax(180px, .35fr) minmax(260px, 1fr) 40px;
  gap: 8px;
  align-items: center;
}

.storefront-section-order {
  display: grid;
  gap: 10px;
}

.storefront-section-order-row {
  display: grid;
  grid-template-columns: 32px 1fr;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  cursor: grab;
}

.storefront-section-order-row span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  color: var(--brand-2);
  background: #e9f4e3;
  font-weight: 950;
}

.storefront-section-order-row.is-dragging,
.home-offer-block-row.is-dragging {
  opacity: .55;
  cursor: grabbing;
}

@media (min-width: 1500px) {
  .product-store-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 1320px) {
  .product-store-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .storefront-header-card .navigation-editor > div {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1080px) {
  .product-store-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .product-store-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .product-store-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1120px) {
  .shop-header {
    grid-template-columns: 118px minmax(260px, 1fr) auto;
  }

  .shop-header-actions {
    gap: 4px;
  }

  .client-welcome-link,
  .header-orders-link,
  .cart-button.live-header-cart {
    padding-inline: 6px;
  }
}

@media (max-width: 720px) {
  .shop-header {
    grid-template-columns: 88px 1fr;
  }

  .shop-header-actions {
    grid-column: 1 / -1;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-self: stretch;
  }

  .client-welcome-link,
  .header-orders-link,
  .cart-button.live-header-cart {
    justify-content: center;
    min-width: 0;
  }

  .client-welcome-link span:last-child,
  .header-orders-link,
  .cart-button.live-header-cart > span:not(.cart-icon) {
    display: flex;
  }

  .store-layout {
    grid-template-columns: 1fr;
  }
}

main.catalog-page.live-catalog-page {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: clamp(14px, 1.4vw, 28px);
}

main.catalog-page.live-catalog-page .store-layout {
  width: 100%;
  max-width: none;
  grid-template-columns: minmax(210px, 250px) minmax(0, 1fr);
}

main.catalog-page.live-catalog-page .product-store-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

@media (max-width: 1380px) {
  main.catalog-page.live-catalog-page .product-store-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1080px) {
  main.catalog-page.live-catalog-page .product-store-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  main.catalog-page.live-catalog-page .store-layout {
    grid-template-columns: 1fr;
  }

  main.catalog-page.live-catalog-page .product-store-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* MVP navigation drawer: simple left-side category menu. */
.campaign-bar .departments-dropdown[data-server-departments] {
  z-index: 1200;
  grid-template-columns: 1fr !important;
  grid-template-rows: auto auto 1fr !important;
  width: min(430px, calc(100vw - 20px)) !important;
  max-width: none !important;
}

.departments-backdrop {
  z-index: 1000;
}

.campaign-bar .department-tabs,
.campaign-bar .department-columns {
  max-height: none;
  overflow: visible;
}

.campaign-bar .department-tabs {
  grid-row: 2;
  border-right: 0;
  border-bottom: 1px solid var(--line);
  padding: 14px 16px 8px;
}

.campaign-bar .department-columns {
  grid-row: 3;
  padding: 10px 16px 22px;
  overflow: auto;
  background: #fff;
  transform: translateX(18px);
  opacity: 0;
  pointer-events: none;
  transition: transform 260ms ease, opacity 220ms ease;
}

.campaign-bar .department-tabs a,
.campaign-bar .department-columns a {
  width: 100%;
  min-height: 44px;
  padding: 0 10px;
  border-radius: 6px;
}

.campaign-bar .department-submenu.active {
  display: grid;
  gap: 2px;
}

.campaign-bar .departments-dropdown[data-server-departments].submenu-view .department-tabs {
  display: none;
}

.campaign-bar .departments-dropdown[data-server-departments].submenu-view .department-columns {
  grid-row: 2 / 4;
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.campaign-bar .departments-dropdown[data-server-departments] .department-columns,
.campaign-bar .departments-dropdown[data-server-departments] .department-submenu {
  grid-template-columns: 1fr !important;
  background: #fff !important;
}

.campaign-bar .departments-dropdown[data-server-departments] .department-submenu.active {
  display: grid;
  gap: 4px;
}

.campaign-bar .departments-dropdown[data-server-departments] .department-submenu a {
  justify-content: flex-start;
}

.department-panel-back {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 38px;
  margin-bottom: 6px;
  border: 0;
  color: var(--brand-2);
  background: transparent;
  font-weight: 900;
  cursor: pointer;
}

.department-panel-back span {
  margin-right: 8px;
  font-size: 1.35rem;
  line-height: 1;
}

.department-panel-title {
  display: block;
  padding: 2px 10px 12px;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 900;
}

.cart-drawer {
  z-index: 1300;
}

.drawer-backdrop {
  z-index: 1290;
}

/* Final storefront drawer sizing. */
.campaign-bar .departments-dropdown[data-server-departments] {
  width: min(430px, 100vw) !important;
  height: auto !important;
  max-height: 100vh !important;
  min-height: 0 !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: auto auto !important;
}

.campaign-bar .departments-dropdown[data-server-departments]:not(.submenu-view) .department-columns {
  display: none !important;
}

.campaign-bar .departments-dropdown[data-server-departments]:not(.submenu-view) .department-tabs {
  max-height: calc(100vh - 64px);
  overflow: auto;
  padding-bottom: 16px;
}

.campaign-bar .departments-dropdown[data-server-departments].submenu-view {
  grid-template-rows: auto minmax(0, 1fr) !important;
  height: 100vh !important;
}

.campaign-bar .departments-dropdown[data-server-departments].submenu-view .department-columns {
  grid-row: 2 !important;
  max-height: calc(100vh - 64px);
  overflow: auto;
}

.cart-rail-toggle {
  z-index: 1280;
}

/* Keep the category drawer above the page overlay. */
.departments-backdrop {
  z-index: 1180 !important;
}

.campaign-bar .departments-menu.is-open .departments-dropdown[data-server-departments],
.campaign-bar .departments-dropdown[data-server-departments] {
  z-index: 1210 !important;
  background: #fff !important;
}

.campaign-bar .departments-dropdown[data-server-departments] .departments-drawer-head,
.campaign-bar .departments-dropdown[data-server-departments] .department-tabs,
.campaign-bar .departments-dropdown[data-server-departments] .department-columns {
  position: relative;
  z-index: 1;
}

.campaign-bar .departments-dropdown[data-server-departments] .department-tabs,
.campaign-bar .departments-dropdown[data-server-departments] .department-columns {
  background: #fff !important;
}

/* Drawer stacking fix: the drawer lives inside the dark campaign bar, so the
   bar itself must rise above the page dimmer while the menu is open. */
body.departments-is-open .department-bar.campaign-bar {
  z-index: 1225 !important;
  overflow: visible !important;
}

body.departments-is-open .campaign-bar .departments-dropdown[data-server-departments] {
  top: 0 !important;
  left: 0 !important;
  width: min(430px, 100vw) !important;
  height: 100vh !important;
  max-height: 100vh !important;
  overflow: hidden !important;
  color: #1f281d !important;
  background: #fff !important;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.departments-is-open .campaign-bar .departments-dropdown[data-server-departments] .departments-drawer-head {
  height: 56px !important;
  min-height: 56px !important;
  padding: 0 16px 0 24px !important;
  color: #fff !important;
  background: #11351f !important;
}

body.departments-is-open .campaign-bar .departments-dropdown[data-server-departments]:not(.submenu-view) .department-tabs {
  display: grid !important;
  max-height: calc(100vh - 56px) !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  background: #fff !important;
}

body.departments-is-open .campaign-bar .departments-dropdown[data-server-departments].submenu-view .department-columns {
  max-height: calc(100vh - 56px) !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  background: #fff !important;
}

.checkout-heading {
  display: flex;
  align-items: center;
  gap: 18px;
}

.checkout-industry-logo {
  width: 120px;
  height: 64px;
  object-fit: contain;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.checkout-logistics-box {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7fbf4;
}

.checkout-logistics-box > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.checkout-logistics-box .total {
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 1.05rem;
}

.checkout-logistics-box small {
  color: var(--muted);
  line-height: 1.35;
}

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

.checkout-carrier-fields[hidden] {
  display: none;
}

.checkout-carrier-fields label {
  display: grid;
  gap: 6px;
  color: var(--ink-2);
  font-size: .84rem;
  font-weight: 800;
}

.checkout-carrier-fields input,
.checkout-carrier-fields select {
  width: 100%;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-weight: 800;
}

.checkout-carrier-fields small {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.35;
}

.checkout-carrier-select-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 38px;
  gap: 8px;
  align-items: center;
}

.carrier-info-button {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #eef8e8;
  color: #07551e;
  font-weight: 950;
  cursor: pointer;
}

.carrier-info-button:hover {
  border-color: #86c56f;
  background: #dff3d7;
}

.carrier-rate-dialog {
  width: min(760px, calc(100vw - 28px));
  max-height: min(86vh, 760px);
  border: 0;
  border-radius: 12px;
  padding: 0;
  background: var(--surface);
  box-shadow: 0 22px 70px rgba(0, 0, 0, .24);
}

.carrier-rate-dialog::backdrop {
  background: rgba(4, 20, 10, .58);
}

.carrier-rate-dialog-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.carrier-rate-dialog-head h3 {
  margin: 2px 0 0;
}

.carrier-rate-dialog-head button {
  align-self: start;
}

.carrier-rate-dialog-body {
  padding: 20px;
  overflow: auto;
}

.carrier-rate-dialog-body img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.carrier-rate-dialog-body pre {
  margin: 14px 0 0;
  white-space: pre-wrap;
  color: var(--ink-2);
  font: inherit;
  line-height: 1.45;
}

.carrier-rate-link {
  display: inline-flex;
  width: auto;
}

/* Home offer blocks configured in Admin > Vitrine. */
.home-offer-section {
  padding-block: clamp(34px, 4.4vw, 58px);
}

.home-offer-section + .home-offer-section {
  padding-top: clamp(22px, 3vw, 42px);
}

.home-offer-section .deals-head,
.home-offer-section .deals-row {
  max-width: 1520px;
  margin-inline: auto;
}

.home-offer-section .deals-head p {
  margin: 6px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.home-offer-vitrine {
  background: #fff;
}

.home-offer-vitrine .deals-row {
  grid-template-columns: minmax(0, 1.25fr) repeat(3, minmax(0, 1fr));
}

.home-offer-vitrine .deal-card:first-child {
  background: linear-gradient(180deg, #f4f9f1 0%, #fff 68%);
  border-color: #cfe4c7;
}

.home-offer-vitrine .deal-card:first-child .deal-product-image {
  height: 246px;
}

.home-offer-compacto .deals-row {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.home-offer-compacto .deal-card {
  min-height: 330px;
  padding: 8px 8px 14px;
}

.home-offer-compacto .deal-product-image {
  height: 150px;
}

.home-offer-faixa {
  background: #253029;
  color: #fff;
}

.home-offer-faixa .deals-head h2,
.home-offer-faixa .deals-head a,
.home-offer-faixa .deals-head p {
  color: #fff;
}

.home-offer-faixa .deal-card {
  border-color: rgba(255,255,255,.22);
  box-shadow: none;
}

.storefront-add-offer-block {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
  padding: 18px 22px 0;
}

.storefront-add-offer-block label {
  display: grid;
  gap: 6px;
  min-width: min(420px, 100%);
  font-weight: 800;
}

.home-offer-block-editor {
  display: grid;
  gap: 12px;
  padding: 18px 22px 22px;
}

.home-offer-block-row {
  display: grid;
  grid-template-columns: minmax(180px, 1.2fr) minmax(180px, 1fr) minmax(180px, 1fr) 160px 110px 104px;
  gap: 10px;
  align-items: end;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
}

.home-offer-block-row strong,
.home-offer-block-row label {
  display: grid;
  gap: 5px;
}

.home-offer-block-row button {
  min-height: 42px;
}

.home-offer-block-row .home-offer-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding-inline: 10px;
  color: #9a3029;
  background: #fff7f5;
  border: 1px solid #efc7bf;
}

.home-offer-block-row .home-offer-remove .trash-icon { width: 18px; height: 18px; }

.admin-settings-subhead {
  margin-top: 6px;
  padding: 14px 0 2px;
  border-top: 1px solid var(--border);
}

.admin-settings-subhead h3 {
  margin: 0 0 4px;
  font-size: 18px;
}

.admin-settings-subhead p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 1180px) {
  .home-offer-vitrine .deals-row,
  .home-offer-compacto .deals-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .home-offer-block-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .home-offer-vitrine .deals-row,
  .home-offer-compacto .deals-row {
    grid-template-columns: 1fr;
  }
  .home-offer-block-row {
    grid-template-columns: 1fr;
  }
}

/* Product cards: keep catalog and showcase photos fully visible. */
.deal-product-image,
.deals-section .deal-product-image,
.dynamic-product-image {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 232px;
  height: auto;
  aspect-ratio: 4 / 3;
  padding: 10px;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: inset 0 0 0 1px #edf1e8;
}

.deal-product-image img,
.deals-section .deal-product-image img,
.deals-section img.deal-product-image,
.dynamic-product-image img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  padding: 0;
  object-fit: contain;
  object-position: center;
}

.deal-product-image span,
.dynamic-product-image span,
.dynamic-product-image.is-missing::after {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  text-align: center;
}

.home-offer-vitrine .deal-card:first-child .deal-product-image,
.home-offer-compacto .deal-product-image {
  min-height: 232px;
  height: auto;
  aspect-ratio: 4 / 3;
}

@media (min-width: 1320px) {
  .deal-product-image,
  .deals-section .deal-product-image,
  .dynamic-product-image {
    min-height: 246px;
  }
}

@media (max-width: 760px) {
  .deal-product-image,
  .deals-section .deal-product-image,
  .dynamic-product-image,
  .home-offer-vitrine .deal-card:first-child .deal-product-image,
  .home-offer-compacto .deal-product-image {
    min-height: 220px;
  }
}

.home-category-showcase {
  max-width: 1520px;
  margin: clamp(22px, 3vw, 40px) auto clamp(36px, 5vw, 70px);
  padding: 0 clamp(18px, 4vw, 42px);
}

.home-category-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.home-category-head h2 {
  margin: 2px 0 0;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: .95;
}

.home-category-head a {
  color: var(--brand-2);
  font-weight: 900;
  white-space: nowrap;
}

.home-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.home-category-card {
  display: grid;
  grid-template-rows: 126px auto auto auto;
  gap: 7px;
  min-width: 0;
  min-height: 240px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 16px 42px rgba(16, 22, 15, .06);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.home-category-card:hover {
  transform: translateY(-2px);
  border-color: #b8d9a8;
  box-shadow: 0 20px 54px rgba(16, 22, 15, .1);
}

.home-category-image {
  display: grid;
  place-items: center;
  min-width: 0;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(180deg, #eef7e8 0%, #ffffff 100%);
  box-shadow: inset 0 0 0 1px #e4ebdd;
}

.home-category-image img {
  display: block;
  width: 100%;
  height: 100%;
  padding: 8px;
  object-fit: contain;
  object-position: center;
}

.home-category-image em {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: #fff;
  background: var(--brand-2);
  font-style: normal;
  font-size: 1.4rem;
  font-weight: 950;
}

.home-category-card strong {
  overflow: hidden;
  color: var(--ink);
  font-size: .98rem;
  line-height: 1.12;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-category-card small {
  display: -webkit-box;
  min-height: 2.4em;
  overflow: hidden;
  color: var(--muted);
  font-size: .76rem;
  font-weight: 800;
  line-height: 1.2;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-category-card span:last-child {
  color: var(--brand-2);
  font-size: .78rem;
  font-weight: 900;
}

.home-industry-showcase {
  margin-top: clamp(12px, 2vw, 28px);
}

.home-industry-card {
  grid-template-rows: 112px auto auto auto;
}

.home-industry-image {
  background: #fff;
}

.home-industry-image img {
  max-width: 82%;
  max-height: 82%;
  padding: 10px;
  object-fit: contain;
}

@media (max-width: 860px) {
  .home-category-grid {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x proximity;
  }
  .home-category-card {
    flex: 0 0 190px;
    scroll-snap-align: start;
  }
}

@media (max-width: 560px) {
  .home-category-head {
    align-items: start;
    flex-direction: column;
  }
  .home-category-card {
    flex-basis: 170px;
    grid-template-rows: 112px auto auto auto;
  }
}

/* Storefront mobile: readable catalog, compact navigation and unobstructed cards. */
@media (max-width: 600px) {
  .factory-strip {
    min-height: 42px;
    padding: 5px 12px;
  }
  .factory-strip-label { display: none; }
  .factory-brand-scroll { min-width: 0; }
  .factory-brand-track { gap: 18px; }
  .factory-brand-link { min-width: 62px; height: 30px; }
  .factory-brand-link img { max-width: 58px; max-height: 24px; }
  .factory-help {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    min-width: 36px;
    padding: 0;
    overflow: hidden;
    border-radius: 50%;
    color: transparent;
  }
  .factory-help::before {
    content: "?";
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: #fff;
    background: var(--brand-2);
    font-size: 18px;
    font-weight: 950;
  }
  .shop-header {
    grid-template-columns: minmax(112px,1fr) auto;
    gap: 10px;
    min-height: 0;
    padding: 10px 14px 12px;
  }
  .shop-brand,
  .shop-brand img {
    width: 142px;
    height: 42px;
  }
  .shop-header .site-search {
    grid-column: 1 / -1;
    grid-row: 2;
    order: 3;
  }
  .shop-header .site-search input {
    min-height: 44px;
    padding-left: 14px;
    font-size: 15px;
  }
  .shop-header-actions {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    width: auto;
    gap: 4px;
    justify-self: end;
  }
  .client-welcome-link,
  .header-orders-link,
  .cart-button.live-header-cart {
    flex: 0 0 auto;
    width: 42px;
    min-width: 42px;
    min-height: 42px;
    padding: 4px;
    justify-content: center;
    border: 1px solid #e0e8dc;
    border-radius: 9px;
    background: #fff;
  }
  .client-welcome-link span:last-child,
  .header-orders-link > span,
  .header-orders-link > strong,
  .cart-button.live-header-cart > span:not(.cart-icon) { display: none; }
  .client-welcome-link .user-dot { width: 27px; height: 27px; margin: 0; }
  .header-orders-link::after {
    content: "▤";
    color: var(--brand-2);
    font-size: 24px;
    font-weight: 900;
  }
  .cart-symbol { width: 28px; height: 28px; }
  .cart-button.live-header-cart .cart-header-count {
    top: -6px;
    left: auto;
    right: -5px;
  }
  .campaign-bar {
    min-height: 46px;
    padding-inline: 12px;
    gap: 16px;
  }
  .campaign-bar .departments-all {
    min-height: 46px;
    padding-right: 4px;
    font-size: 0;
  }
  .campaign-bar .departments-all::after {
    content: "Categorias";
    font-size: 14px;
    font-weight: 900;
  }
  .campaign-bar > a {
    min-height: 46px;
    font-size: 13px;
    white-space: nowrap;
  }
  main.catalog-page.live-catalog-page {
    padding: 14px 10px 48px;
  }
  main.catalog-page.live-catalog-page .store-layout { gap: 14px; }
  .catalog-filter-panel {
    border-radius: 10px;
  }
  .catalog-filter-panel > summary {
    min-height: 50px;
    padding: 0 15px;
    font-size: 16px;
  }
  .catalog-headline {
    min-height: 0;
    margin: 0 2px 14px;
    padding: 16px;
    border-radius: 12px;
    background: #f3f8ef;
  }
  .catalog-headline h1,
  .catalog-headline h2 {
    margin: 3px 0 8px;
    font-size: 2.35rem;
    line-height: .95;
  }
  .catalog-headline form,
  .catalog-headline label { width: 100%; }
  .catalog-headline label {
    justify-content: space-between;
    white-space: normal;
  }
  .catalog-headline select { flex: 1; max-width: 190px; }
  main.catalog-page.live-catalog-page .product-store-grid {
    grid-template-columns: minmax(0,1fr);
    gap: 14px;
  }
  .store-product.live-store-product {
    min-height: 0;
    padding: 12px 12px 14px;
    border: 1px solid #e4eadf;
    border-radius: 12px;
  }
  .store-product.live-store-product:hover { transform: none; }
  .dynamic-product-image,
  .deal-product-image,
  .deals-section .deal-product-image,
  .home-offer-vitrine .deal-card:first-child .deal-product-image,
  .home-offer-compacto .deal-product-image {
    min-height: 205px;
    aspect-ratio: 4 / 3;
    margin-bottom: 12px;
  }
  .store-product h3 {
    min-height: 0;
    margin: 0 4px 8px;
    font-size: 1.02rem;
    line-height: 1.22;
  }
  .store-product p,
  .store-product small,
  .store-product .stock-warning,
  .catalog-old-price,
  .catalog-price,
  .catalog-installment { margin-left: 4px; margin-right: 4px; }
  .catalog-price { font-size: 1.55rem; }
  .catalog-add-form { margin-top: 10px; }
  .catalog-quantity-control { min-height: 42px; }
  .catalog-add-form .system-primary { min-height: 46px; }
  .cart-rail-toggle {
    top: auto;
    right: 10px;
    bottom: 86px;
    width: 42px;
    height: 42px;
    border-right: 1px solid color-mix(in srgb, var(--brand) 55%, #315f16);
    border-radius: 50%;
  }
  .chat-floating-action { right: 12px; bottom: 18px; }
  .chat-toggle { width: 50px; height: 50px; min-height: 50px !important; }
}

.catalog-payment-detail,.catalog-payment-warning,.live-payment-detail,.live-payment-warning { display:block; margin-top:5px; line-height:1.35; }
.catalog-payment-detail,.live-payment-detail { color:#4f5e50; }
.catalog-payment-warning,.live-payment-warning,.checkout-payment-warning,.cart-payment-condition .warning { color:#8a5b00; font-weight:800; }
/* Compact payment summary; all configured terms remain available on demand. */
.cart-payment-condition {
  --cart-payment-space-xs: 4px;
  --cart-payment-space-sm: 8px;
  --cart-payment-space-md: 12px;
  --cart-payment-font: .78rem;
  --cart-payment-line-height: 1.45;
  --cart-payment-border: 1px;
  --cart-payment-focus: 2px;
  --cart-payment-radius: 6px;
  display: grid;
  gap: var(--cart-payment-space-xs);
  min-width: 0;
  padding: 0;
  font-size: var(--cart-payment-font);
  line-height: var(--cart-payment-line-height);
  overflow-wrap: anywhere;
}
.cart-payment-condition > strong { color: var(--ink); font-size: inherit; font-weight: 600; }
.cart-payment-condition > small { color: var(--muted); font-size: inherit; line-height: inherit; }
.cart-payment-options { min-width: 0; }
.cart-payment-options > summary { width: fit-content; padding-block: var(--cart-payment-space-xs); color: var(--brand-2); cursor: pointer; font-weight: 600; }
.cart-payment-options > summary:focus-visible { outline: var(--cart-payment-focus) solid var(--brand-2); outline-offset: var(--cart-payment-space-xs); border-radius: var(--cart-payment-radius); }
.cart-payment-options-body { margin-top: var(--cart-payment-space-xs); padding: var(--cart-payment-space-md); background: var(--paper); border: var(--cart-payment-border) solid var(--line); border-radius: var(--cart-payment-radius); }
.cart-payment-options-body p { margin: 0 0 var(--cart-payment-space-sm); color: var(--ink-2); font-weight: 600; }
.cart-payment-options-body ul { display: grid; gap: var(--cart-payment-space-sm); margin: 0; padding: 0; list-style: none; }
.cart-payment-options-body li { color: var(--muted); line-height: var(--cart-payment-line-height); }
.cart-payment-options-body li + li { padding-top: var(--cart-payment-space-sm); border-top: var(--cart-payment-border) solid var(--line); }

/* Marketplace base layout — aligned to the shared 1376px storefront grid. */
.shop-shell {
  --market-deep:var(--brand-2);
  --market-deep-pressed:color-mix(in srgb,var(--brand-2) 82%,#000);
  --market-soft:color-mix(in srgb,var(--brand) 11%,#fff);
  --market-accent-soft:color-mix(in srgb,var(--brand) 28%,#fff);
  --market-line:#e2e7e0;
  --market-ink:color-mix(in srgb,var(--brand-2) 70%,#0a1118);
  --market-muted:#7d8783;
  --market-container:1376px;
  background:#f8f9f5;
  color:var(--market-ink);
}
.shop-shell .market-container,
.home-marketplace-intro,
.shop-shell .home-banner,
.shop-shell .home-category-showcase,
.shop-shell .deals-section {
  width:min(var(--market-container),calc(100% - 64px));
  margin-inline:auto;
}
.shop-shell .factory-strip { display:block; min-height:38px; padding:0; border-bottom:1px solid var(--market-line); background:#f8f9f5; }
.shop-shell .factory-strip-inner { display:flex; align-items:center; justify-content:space-between; min-height:38px; }
.shop-shell .factory-strip-label { color:#4f5e57; font-size:.875rem; letter-spacing:0; text-transform:none; font-weight:400; }
.shop-shell .factory-help { position:relative; padding-right:18px; color:var(--market-deep); font-size:.84rem; font-weight:500; }
.shop-shell .factory-help::before { content:'?'; display:inline-grid; place-items:center; width:17px; height:17px; margin-right:8px; border:1.5px solid currentColor; border-radius:50%; font-size:.72rem; font-weight:700; }
.shop-shell .factory-help::after { content:'↗'; position:absolute; right:0; top:50%; transform:translateY(-52%); }
.shop-shell .shop-header { display:block; min-height:112px; padding:0; border-bottom:1px solid var(--market-line); background:#fff; }
.shop-shell .shop-header-inner { display:grid; grid-template-columns:minmax(210px,240px) minmax(0,1fr) auto; align-items:center; gap:36px; min-height:112px; }
.shop-shell .shop-brand {
  position:relative;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  width:100%;
  height:104px;
  min-width:0;
  overflow:visible;
}
.shop-shell .shop-brand img {
  position:static;
  display:block;
  width:100%;
  height:100%;
  max-width:240px;
  max-height:104px;
  object-fit:contain;
  object-position:left center;
  transform:none;
}
.shop-shell .site-search { width:100%; max-width:none; min-height:56px; border:1px solid #d9dfda; border-radius:14px; background:#fff; box-shadow:none; }
.shop-shell .site-search input { min-height:54px; padding-left:22px; background:transparent; font-size:1rem; font-weight:400; }
.shop-shell .site-search button { width:56px; height:46px; margin:4px; border-radius:11px; background:var(--market-deep); }
.shop-shell .shop-header-actions { display:flex; grid-template-columns:none; align-items:center; justify-self:end; gap:20px; white-space:nowrap; }
.shop-shell .client-welcome-link,.shop-shell .header-orders-link { display:inline-flex; flex-direction:row; align-items:center; gap:10px; min-height:48px; padding:4px; border:0; border-radius:8px; background:transparent; color:var(--market-ink); }
.shop-shell .client-welcome-link:hover,.shop-shell .header-orders-link:hover { background:#f2f5f0; }
.shop-shell .client-welcome-link > span:last-child,.shop-shell .header-orders-link { font-size:.9rem; line-height:1.2; }
.shop-shell .client-welcome-link strong,.shop-shell .header-orders-link strong { color:inherit; font-size:.9rem; font-weight:500; }
.shop-shell .header-action-icon { flex:0 0 24px; width:24px; height:24px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.shop-shell .header-orders-link::after { display:none; content:none; }
.shop-shell .cart-button.live-header-cart { display:inline-flex; align-items:center; width:auto; min-height:56px; padding:0 20px; gap:12px; border:0; border-radius:14px; color:#fff; background:var(--market-deep); box-shadow:none; }
.shop-shell .cart-button.live-header-cart .cart-symbol { width:28px; height:28px; color:#fff; }
.shop-shell .cart-button.live-header-cart > span:not(.cart-icon) { color:#fff; font-weight:600; }
.shop-shell .cart-button.live-header-cart:hover { background:color-mix(in srgb,var(--market-deep) 88%,#000); }
.shop-shell .cart-button.live-header-cart:active { background:var(--market-deep-pressed); transform:translateY(1px); }
.shop-shell .cart-button.live-header-cart .cart-header-count { position:static; display:inline-flex; align-items:center; justify-content:center; width:30px; min-width:30px; height:30px; flex:0 0 30px; padding:0; border-radius:50%; color:var(--market-deep); background:var(--market-accent-soft); font-size:.82rem; line-height:1; }
.shop-shell .department-bar { display:block; min-height:58px; padding:0; border-bottom:1px solid var(--market-line); background:#fff; box-shadow:none; overflow:visible; }
.shop-shell .department-bar-inner { display:flex; align-items:center; gap:10px; min-height:58px; }
.shop-shell .department-bar-inner > a { padding:14px 22px; color:var(--market-ink); font-size:.9rem; font-weight:500; }
.shop-shell .department-bar-inner > a.seasonal-navigation-link { margin-left:auto; padding:11px 16px; border:1px solid #dbe3d7; border-radius:12px; background:#fbfcfa; }
.shop-shell .nav-popover { position:relative; flex:0 0 auto; }
.shop-shell .nav-popover > summary { display:inline-flex; align-items:center; justify-content:center; min-height:42px; padding:0 14px; border-radius:10px; color:var(--market-ink); font-size:.875rem; font-weight:500; cursor:pointer; list-style:none; white-space:nowrap; }
.shop-shell .nav-popover > summary::-webkit-details-marker { display:none; }
.shop-shell .industry-navigation > summary::after { content:""; width:7px; height:7px; margin-left:12px; border-right:1.5px solid currentColor; border-bottom:1.5px solid currentColor; transform:rotate(45deg) translateY(-2px); }
.shop-shell .nav-popover[open] > summary,.shop-shell .nav-popover > summary:hover { background:var(--market-soft); color:var(--market-deep); }
.shop-shell .nav-popover-panel { position:absolute; top:calc(100% + 8px); left:0; z-index:150; display:grid; min-width:210px; max-height:360px; padding:8px; overflow:auto; border:1px solid var(--market-line); border-radius:12px; background:#fff; box-shadow:0 18px 42px rgba(8,28,19,.14); }
.shop-shell .nav-popover-panel a { min-height:40px; padding:10px 12px; border-radius:8px; color:var(--market-ink); font-size:.875rem; font-weight:500; }
.shop-shell .nav-popover-panel a:hover,.shop-shell .nav-popover-panel a:focus-visible { background:var(--market-soft); color:var(--market-deep); }
.shop-shell .black-friday-navigation-title { display:inline-flex; align-items:center; flex:0 0 auto; min-height:42px; margin-left:4px; padding-left:18px; border-left:1px solid #d6ddd7; color:var(--market-ink); font-size:.875rem; font-weight:500; white-space:nowrap; }
.shop-shell .campaign-navigation-title.offer .nav-tag-icon { border:1.5px solid var(--market-deep); background:transparent; }
.shop-shell .campaign-navigation-title.offer .nav-tag-icon::after { background:var(--market-deep); }
.shop-shell .nav-tag-icon { position:relative; width:18px; height:14px; margin-right:10px; border-radius:2px 4px 4px 2px; background:var(--market-deep); transform:rotate(-45deg); }
.shop-shell .nav-tag-icon::after { content:""; position:absolute; top:4px; right:3px; width:4px; height:4px; border-radius:50%; background:#fff; }
.shop-shell .black-friday-campaigns { display:flex; align-items:center; gap:10px; min-width:0; }
.shop-shell .black-friday-campaign-link { display:inline-flex; align-items:center; justify-content:center; min-width:102px; min-height:42px; padding:0 16px; border:1px solid #dce3dc; border-radius:10px; color:var(--market-ink); background:#fff; font-size:.875rem; font-weight:500; white-space:nowrap; }
.shop-shell .black-friday-campaign-link:hover,.shop-shell .black-friday-campaign-link:focus-visible,.shop-shell .black-friday-campaign-link.active { border-color:var(--market-deep); color:#fff; background:var(--market-deep); }
.shop-shell .campaign-overflow { display:none; }
.shop-shell .campaign-overflow.has-overflow { display:block; }
.shop-shell .campaign-overflow-panel { right:0; left:auto; }
.shop-shell .all-offers-navigation { margin-left:auto; padding:10px 4px!important; border-bottom:1px solid var(--market-deep); color:var(--market-deep)!important; font-size:.875rem!important; font-weight:500!important; white-space:nowrap; }
.shop-shell .secondary-navigation > summary { width:42px; padding:0; letter-spacing:2px; }
.shop-shell .secondary-navigation-panel { right:0; left:auto; min-width:160px; }

.campaign-admin-group { margin:18px 0; padding:18px; border:1px solid var(--line); border-radius:14px; background:#fbfcfa; }
.campaign-admin-group h3 { margin:0 0 12px; }
.campaign-admin-list { display:grid; gap:10px; }
.campaign-admin-row { display:grid; grid-template-columns:24px minmax(220px,1.6fr) auto auto 92px auto auto; gap:12px; align-items:center; padding:12px; border:1px solid #dce5d9; border-radius:12px; background:#fff; }
.campaign-admin-row > div { display:grid; gap:3px; }
.campaign-admin-row small { color:var(--muted); }
.campaign-drag { color:#6d7b70; cursor:grab; font-weight:800; letter-spacing:-3px; }
.campaign-move-actions { display:flex; gap:4px; }
.campaign-move-actions button { min-width:36px; min-height:36px; padding:0; }
.campaign-hidden-reason { grid-column:2/-1; color:#936600!important; }
.campaign-navigation-preview { margin:18px 0; padding:16px; border-radius:12px; background:#eef5eb; }
.campaign-navigation-preview p { margin:6px 0; }
.campaign-navigation-preview [data-preview-dirty] { color:#936600; font-weight:700; }

@media (max-width:1180px) {
  .campaign-admin-row { grid-template-columns:24px minmax(220px,1fr) auto auto; }
  .campaign-admin-row > label,.campaign-admin-row > .campaign-move-actions,.campaign-admin-row > a { grid-column:auto; }
  .shop-shell .department-bar-inner { overflow-x:auto; scrollbar-width:thin; }
  .shop-shell .all-offers-navigation,.shop-shell .secondary-navigation { flex:0 0 auto; }
}
@media (max-width:760px) {
  .campaign-admin-row { grid-template-columns:22px 1fr; align-items:start; }
  .campaign-admin-row > *:not(.campaign-drag) { grid-column:2; }
  .campaign-admin-row .status-pill { justify-self:start; }
}
.shop-shell .department-bar .departments-menu > button.departments-all {
  width:214px;
  min-width:214px;
  min-height:44px;
  padding:0 18px;
  border:0;
  border-radius:13px;
  background:var(--market-soft);
  color:var(--market-deep);
  font-weight:800;
  opacity:1;
  appearance:none;
  -webkit-appearance:none;
}
.shop-shell .department-bar .departments-menu > button.departments-all::before {
  flex:0 0 16px;
  color:var(--market-deep);
  border-color:currentColor;
  background:linear-gradient(currentColor,currentColor) center / 100% 2px no-repeat;
}
.shop-shell .department-bar .departments-menu > button.departments-all::after {
  content:"";
  flex:0 0 8px;
  color:var(--market-deep);
  border-color:currentColor;
  font-size:0;
}
.shop-shell .department-bar .departments-menu > button.departments-all:hover,
.shop-shell .department-bar .departments-menu.is-open > button.departments-all {
  background:color-mix(in srgb,var(--brand) 17%,#fff);
  color:var(--market-deep);
}
.shop-shell main { width:100%; max-width:none; padding-bottom:72px; }
.home-marketplace-intro { margin-top:27px; margin-bottom:14px; }
.home-marketplace-intro .system-eyebrow { color:var(--market-deep); font-size:.75rem; font-weight:600; letter-spacing:1.5px; }
.home-marketplace-intro h1 { margin:9px 0 2px; max-width:none; font-size:3rem; font-weight:700; line-height:1.1; letter-spacing:-1.5px; }
.home-marketplace-intro p { margin:0; color:var(--market-muted); font-size:1.4375rem; font-weight:400; line-height:1.35; }
.shop-shell .home-banner { margin-top:14px; margin-bottom:21px; overflow:visible; border-radius:0; background:transparent; box-shadow:none; }
.shop-shell .home-banner::after { display:none; }
.shop-shell .home-banner-stage { position:relative; overflow:hidden; width:100%; aspect-ratio:4.3 / 1; border-radius:18px; background:#fff; }
.shop-shell .home-banner .banner-slide,.shop-shell .home-banner picture { width:100%; height:100%; }
.shop-shell .home-banner .banner-slide img,.shop-shell .home-banner .banner-slide video { display:block; width:100%; max-width:none; height:100%; max-height:none; aspect-ratio:auto; object-fit:contain; background:#fff; }
.shop-shell .home-banner .carousel-arrow { width:42px; height:42px; border:1px solid rgba(9,40,25,.12); border-radius:50%; background:rgba(255,255,255,.96); box-shadow:0 3px 10px rgba(5,35,20,.09); }
.shop-shell .home-banner .carousel-arrow.prev { left:12px; }
.shop-shell .home-banner .carousel-arrow.next { right:12px; }
.shop-shell .home-banner .slider-dots { position:static; justify-content:center; gap:8px; margin-top:12px; transform:none; }
.shop-shell .home-banner .slider-dots button { width:8px; height:8px; padding:0; border-radius:50%; background:#d9ded8; box-shadow:none; }
.shop-shell .home-banner .slider-dots button.active { width:18px; border-radius:99px; background:var(--market-deep); }
.shop-shell .home-category-head { margin-bottom:14px; }
.shop-shell .home-category-showcase,.shop-shell .deals-section { padding-inline:0; }
.shop-shell .home-category-head h2,.shop-shell .deals-head h2 { margin-top:5px; font-size:2.375rem; font-weight:700; line-height:1.15; letter-spacing:-1px; }
.shop-shell .home-industry-grid { grid-template-columns:repeat(5,minmax(0,1fr)); gap:14px; }
.shop-shell .home-industry-card { position:relative; min-height:174px; padding:8px 14px 13px; border:1px solid var(--market-line); border-radius:10px; background:#fff; box-shadow:0 4px 14px rgba(22,52,34,.025); }
.shop-shell .home-industry-card:hover { transform:translateY(-3px); border-color:color-mix(in srgb,var(--brand) 55%,#cdd8c8); box-shadow:0 16px 34px rgba(22,52,34,.09); }
.shop-shell .home-industry-image { height:104px; border:0; border-radius:8px; background:#fff; }
.shop-shell .home-industry-image img { max-width:78%; max-height:72%; object-fit:contain; }
.shop-shell .home-industry-card > strong { margin-top:8px; color:var(--market-ink); font-size:1rem; font-weight:600; }
.shop-shell .home-industry-card > small { color:var(--market-muted); font-size:.875rem; }
.shop-shell .home-industry-arrow { position:absolute; right:14px; bottom:12px; display:grid!important; place-items:center; width:36px; height:36px; border-radius:50%; color:var(--market-deep)!important; background:var(--market-soft); font-size:1.2rem; }
.deal-payment-detail { display:block; margin-top:4px; color:#536258; font-size:.76rem; line-height:1.35; }
.shop-shell .home-category-image.is-missing::after { content:'Imagem em cadastro'; color:#77827a; font-size:.78rem; font-weight:700; }
.shop-shell :where(a,button,input,select,textarea):focus-visible { outline:3px solid color-mix(in srgb,var(--brand) 64%,#fff); outline-offset:3px; }
.shop-shell :where(.system-primary,.cart-button,.departments-all,.home-category-card,.department-bar a) { transition:background-color 180ms ease,border-color 180ms ease,color 180ms ease,box-shadow 180ms ease,transform 180ms ease; }
.shop-shell :where(button,a)[aria-disabled="true"],.shop-shell :where(button,a):disabled { cursor:not-allowed; opacity:.55; box-shadow:none; }
@media (prefers-reduced-motion:reduce) {
  .shop-shell * { scroll-behavior:auto!important; transition-duration:.01ms!important; animation-duration:.01ms!important; animation-iteration-count:1!important; }
}
@media (max-width:1100px) {
  .shop-shell .shop-header-inner { grid-template-columns:minmax(150px,180px) minmax(220px,1fr) auto; gap:18px; }
  .shop-shell .shop-brand { width:100%; height:86px; }
  .shop-shell .shop-brand img { width:100%; height:100%; max-width:180px; max-height:86px; object-fit:contain; object-position:left center; }
  .shop-shell .shop-header-actions { gap:8px; }
  .shop-shell .client-welcome-link strong,.shop-shell .header-orders-link strong { font-size:.82rem; }
  .shop-shell .home-industry-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); overflow:visible; }
  .shop-shell .department-bar-inner > a { padding-left:12px; padding-right:12px; }
  .shop-shell .black-friday-campaign-link:nth-child(n+3) { display:none; }
  .shop-shell .campaign-overflow { display:block; }
  .shop-shell .all-offers-navigation { margin-left:0; }
}
@media (max-width:820px) {
  .shop-shell .market-container,.home-marketplace-intro,.shop-shell .home-banner,.shop-shell .home-category-showcase,.shop-shell .deals-section { width:calc(100% - 32px); }
  .shop-shell .factory-strip { min-height:34px; }
  .shop-shell .factory-strip-inner { min-height:34px; }
  .shop-shell .factory-strip-label { display:block; max-width:62%; overflow:hidden; text-overflow:ellipsis; }
  .shop-shell .factory-help { font-size:0; }
  .shop-shell .factory-help::before { margin-right:2px; font-size:.72rem; }
  .shop-shell .shop-header-inner { display:flex; flex-wrap:wrap; min-height:auto; padding-block:12px; gap:10px; }
  .shop-shell .shop-brand { flex:0 1 154px; width:154px; height:76px; overflow:visible; }
  .shop-shell .shop-brand img { width:100%; height:100%; max-width:154px; max-height:76px; object-fit:contain; object-position:left center; }
  .shop-shell .site-search { order:3; width:100%; max-width:none; min-height:50px; }
  .shop-shell .shop-header-actions { margin-left:auto; }
  .shop-shell .client-welcome-link { order:0; }
  .shop-shell .client-welcome-link,.shop-shell .header-orders-link { width:44px; min-width:44px; padding:0; }
  .shop-shell .client-welcome-link > span:last-child,.shop-shell .header-orders-link strong { display:none; }
  .shop-shell .cart-button.live-header-cart { min-width:50px; min-height:48px; padding:0 10px; gap:6px; }
  .shop-shell .cart-button.live-header-cart > span { display:none; }
  .shop-shell .cart-button.live-header-cart .cart-header-count { display:inline-flex; width:26px; min-width:26px; height:26px; flex-basis:26px; }
  .shop-shell .department-bar { overflow:visible; }
  .shop-shell .department-bar-inner { display:grid; grid-template-columns:auto 1fr auto; gap:6px 8px; padding-block:7px; }
  .shop-shell .departments-menu { grid-column:1; }
  .shop-shell .industry-navigation { grid-column:2; }
  .shop-shell .secondary-navigation { grid-column:3; }
  .shop-shell .campaign-navigation-title { grid-column:1; margin:0; padding-left:8px; border-left:0; }
  .shop-shell .campaign-navigation-title.offer { grid-row:2; }
  .shop-shell .campaign-navigation-title.black_friday { grid-row:3; }
  .shop-shell .campaign-navigation-links { grid-column:2 / -1; overflow-x:auto; padding:2px 1px 7px; scrollbar-width:none; overscroll-behavior-inline:contain; }
  .shop-shell .campaign-navigation-links.offer { grid-row:2; }
  .shop-shell .campaign-navigation-links.black_friday { grid-row:3; }
  .shop-shell .black-friday-campaigns::-webkit-scrollbar { display:none; }
  .shop-shell .black-friday-campaign-link,.shop-shell .black-friday-campaign-link:nth-child(n+3) { display:inline-flex; min-width:max-content; min-height:44px; }
  .shop-shell .campaign-overflow { display:none; }
  .shop-shell .all-offers-navigation { grid-column:1 / -1; grid-row:4; justify-self:end; margin:0; padding-block:5px!important; }
  .shop-shell .department-bar .departments-menu > button.departments-all { width:160px; min-width:160px; padding-inline:18px; }
  .shop-shell .department-bar .departments-menu > button.departments-all::after { display:none; }
  .shop-shell .department-bar-inner > a { white-space:nowrap; padding:12px 10px; }
  .home-marketplace-intro { margin-top:22px; }
  .home-marketplace-intro h1 { font-size:clamp(1.9rem,8.4vw,2.35rem); letter-spacing:-1px; }
  .home-marketplace-intro p { font-size:1rem; }
  .shop-shell .home-banner { margin-top:14px; margin-bottom:26px; }
  .shop-shell .home-banner-stage { aspect-ratio:16 / 7; border-radius:14px; }
  .shop-shell .home-category-head h2,.shop-shell .deals-head h2 { font-size:1.8rem; }
  .shop-shell .home-industry-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); overflow:visible; }
  .shop-shell .home-industry-card { min-width:0; min-height:158px; }
  .shop-shell .home-category-head { display:block; }
  .shop-shell .home-category-head > a { display:inline-block; margin-top:10px; }
}
/* One shared storefront header, compact after the initial header leaves view. */
.store-header-slot { overflow-anchor: none; }
.shop-shell .compact-menu-toggle { display: none; }
.shop-shell.header-compact .factory-strip { display: none; }
.shop-shell.header-compact .shop-header {
  position: fixed; inset: 0 0 auto; z-index: 1200; min-height: 68px;
  background: #fff; border-bottom: 1px solid var(--market-line);
  box-shadow: 0 4px 16px rgb(0 0 0 / 9%);
}
.shop-shell.header-compact .shop-header-inner {
  display: grid; grid-template-columns: 44px minmax(100px, 164px) minmax(140px, 1fr) auto;
  min-height: 68px; padding-block: 8px; gap: 20px;
}
.shop-shell.header-compact .compact-menu-toggle {
  display: grid; place-items: center; width: 44px; height: 44px; padding: 10px;
  border: 0; border-radius: 8px; color: var(--market-ink); background: transparent; cursor: pointer;
}
.compact-menu-toggle svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; }
.compact-menu-toggle:hover { background: var(--market-soft); }
.compact-menu-toggle:focus-visible { outline: 2px solid var(--market-deep); outline-offset: 2px; }
.shop-shell.header-compact .shop-brand { grid-column: 2; grid-row: 1; width: 100%; height: 52px; overflow: visible; }
.shop-shell.header-compact .shop-brand img { width: 100%; height: 100%; max-width: 164px; max-height: 52px; object-fit: contain; object-position: left center; }
.shop-shell.header-compact .site-search { min-height: 44px; height: 44px; border-radius: 10px; }
.shop-shell.header-compact .site-search input { min-height: 42px; height: 42px; padding-left: 14px; font-size: 14px; }
.shop-shell.header-compact .site-search button { flex-shrink: 0; width: 44px; height: 44px; margin: -1px; border-radius: 10px; }
.shop-shell.header-compact .shop-header-actions { grid-column: 4; grid-row: 1; gap: 14px; }
.shop-shell.header-compact .compact-menu-toggle { grid-column: 1; grid-row: 1; }
.shop-shell.header-compact .site-search { grid-column: 3; grid-row: 1; }
.shop-shell.header-compact .cart-button { min-height: 48px; }
.shop-shell.header-compact .campaign-bar { display: none; }
.shop-shell.header-compact.compact-menu-open .campaign-bar {
  display: block; position: fixed; top: var(--store-header-offset); left: 0; right: 0;
  z-index: 1200; max-height: calc(100dvh - var(--store-header-offset) - 8px);
  overflow-y: auto; overscroll-behavior: contain; box-shadow: 0 10px 18px rgb(0 0 0 / 12%);
}
.shop-shell.header-compact .department-bar-inner { display: flex; align-items: stretch; flex-direction: column; gap: 8px; padding-block: 16px; overflow: visible; }
.shop-shell.header-compact .department-bar-inner > * { flex: none; width: 100%; margin: 0; }
.shop-shell.header-compact .campaign-navigation-links { display: flex; flex-wrap: wrap; }
.shop-shell.header-compact .nav-popover-panel { position: static; width: 100%; max-height: none; box-shadow: none; margin-top: 6px; }
.shop-shell.header-compact .nav-popover summary, .shop-shell.header-compact .department-bar-inner > a { min-height: 44px; padding: 12px; }
.shop-shell.header-compact .catalog-sidebar { top: calc(var(--store-header-offset) + 16px); max-height: calc(100dvh - var(--store-header-offset) - 32px); overflow: auto; }
html { scroll-padding-top: calc(var(--store-header-offset, 0px) + 16px); }
@media (min-width: 761px) and (max-width: 1100px) {
  .shop-shell.header-compact .shop-header-inner { grid-template-columns: 44px 124px minmax(120px, 1fr) auto; gap: 12px; }
  .shop-shell.header-compact .client-welcome-link > span:last-child,
  .shop-shell.header-compact .header-orders-link strong { display: none; }
  .shop-shell.header-compact .client-welcome-link,
  .shop-shell.header-compact .header-orders-link { width: 44px; justify-content: center; }
}
@media (max-width: 760px) {
  .shop-shell.header-compact .shop-header-inner { grid-template-columns: 44px minmax(70px, 1fr) auto; gap: 8px; }
  .shop-shell.header-compact .shop-brand { width: 100%; max-width: 154px; height: 48px; }
  .shop-shell.header-compact .site-search { grid-column: 1 / -1; grid-row: 2; order: initial; }
  .shop-shell.header-compact .shop-header-actions { grid-column: 3; gap: 2px; margin-left: 0; }
  .shop-shell.header-compact .cart-button { min-width: 44px; padding-inline: 10px; }
}
@media (prefers-reduced-motion: no-preference) {
  .shop-shell.header-compact .shop-header { animation: store-header-appear 180ms ease-out; }
  @keyframes store-header-appear { from { opacity: .85; } to { opacity: 1; } }
}

.catalog-filter-mobile-toggle,
.catalog-filter-mobile-actions { display: none; }

@media (max-width: 760px) {

  .catalog-filter-mobile-toggle {
    display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
    padding: 0 14px; border: 1px solid var(--line); border-radius: 10px;
    color: var(--brand-2); background: #fff; font-weight: 800;
  }
  .catalog-filter-mobile-toggle b { display: grid; place-items: center; min-width: 22px; height: 22px; border-radius: 99px; color: #fff; background: var(--brand-2); }
  .catalog-layout.filter-drawer-open .catalog-sidebar { display: grid; }
  .catalog-layout .catalog-sidebar {
    display: none; position: fixed; inset: 0; z-index: 1400; max-height: none;
    overflow: auto; padding: 20px 16px 92px; border-radius: 0;
  }
  .catalog-filter-mobile-actions {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed;
    left: 0; right: 0; bottom: 0; padding: 12px 16px; background: #fff;
    border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(0,0,0,.08);
  }
  .catalog-filter-mobile-actions button,
  .catalog-filter-mobile-actions a { min-height: 46px; display: grid; place-items: center; border-radius: 10px; font-weight: 900; }
  .catalog-filter-mobile-actions button { border: 0; color: #fff; background: var(--brand-2); }
  .catalog-filter-mobile-actions a { border: 1px solid var(--line); color: var(--brand-2); background: #fff; }
  body.filter-drawer-visible { overflow: hidden; }
}

@media (max-width: 480px) {
  .shop-shell .shop-header-inner { gap: 8px; }
  .shop-shell .shop-brand { flex-basis: 128px; width: 128px; height: 68px; }
  .shop-shell .shop-brand img { max-width: 128px; max-height: 68px; }

  .shop-shell .shop-header-actions { gap: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  .shop-header, .campaign-bar { transition: none; }
}

/* Cart item removal: explicit choice for modular compositions, including mobile drawers. */
.cart-removal-dialog{width:min(480px,calc(100vw - 32px));max-height:calc(100dvh - 32px);box-sizing:border-box;padding:24px;border:1px solid #d5e0da;border-radius:18px;color:#193b2b;background:#fff;box-shadow:0 20px 80px #0004;overflow:auto}.cart-removal-dialog::backdrop{background:#10251c88}.cart-removal-dialog form{display:grid;gap:18px;margin:0}.cart-removal-dialog h2{font-size:1.25rem;margin:0}.cart-removal-dialog p{font-size:.95rem;line-height:1.5;margin:0;color:#52665d}.cart-removal-dialog label{display:grid;gap:6px;font-weight:600}.cart-removal-dialog select{width:100%;min-width:0;padding:10px;border:1px solid #cbd8d0;border-radius:8px;background:#fff;color:inherit}.cart-removal-actions{display:grid;gap:10px}.cart-removal-actions button{padding:12px;border:1px solid #cbd8d0;border-radius:9px;background:#fff;color:inherit;font:inherit;font-weight:600;white-space:normal;cursor:pointer}.cart-removal-actions .system-primary{background:#145c36;color:#fff;border-color:#145c36}.cart-removal-actions .cart-removal-danger{color:#ac2823;border-color:#e4b7b3;background:#fff5f4}
