* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #050505;
  --panel: #0d0d0e;
  --panel2: #151516;
  --line: #27272a;
  --text: #f7f7f7;
  --muted: #a5a5a8;
  --green: #007a3d;
  --green2: #004d27;
  --yellow: #f7c70f;
  --red: #db1f2a;
  --white: #fff;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
}

body.theme-classic {
  --bg: #f5f6f3;
  --panel: #fff;
  --panel2: #eef2ef;
  --line: #d8ded8;
  --text: #101511;
  --muted: #667066;
  --green: #007a3d;
  --green2: #00592d;
  --yellow: #d2a900;
}

body.theme-minimal {
  --bg: #fbfbfa;
  --panel: #fff;
  --panel2: #f6f1e7;
  --line: #e3ded3;
  --text: #17130d;
  --muted: #746c60;
  --green: #101511;
  --green2: #007a3d;
  --yellow: #b6932f;
}

html { scroll-behavior: smooth; }

.store-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 5, 5, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
  transition: box-shadow .22s ease, background .22s ease;
}

body.theme-classic .store-header,
body.theme-minimal .store-header {
  background: rgba(255, 255, 255, .96);
}

body.theme-classic .search,
body.theme-minimal .search,
body.theme-classic .admin-link,
body.theme-minimal .admin-link,
body.theme-classic .btn-light,
body.theme-minimal .btn-light {
  background: #fff;
  color: var(--text);
  border-color: var(--line);
}

.header-main {
  min-height: 98px;
  display: grid;
  grid-template-columns: minmax(240px, 340px) 1fr minmax(190px, 280px);
  align-items: center;
  gap: 22px;
  padding: 8px 30px;
  transition: min-height .24s ease, padding .24s ease;
}

.search {
  display: flex;
  align-items: center;
  height: 46px;
  max-width: 340px;
  border: 1px solid #3a3a3d;
  border-radius: 999px;
  background: #101011;
  overflow: hidden;
  transition: height .24s ease, max-width .24s ease;
}

.search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  padding: 0 16px;
  font-weight: 800;
}

.search button {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--yellow);
  font-size: 22px;
  cursor: pointer;
}

.logo-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-center img {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  object-fit: cover;
  background: transparent;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .42));
  transition: width .24s ease, height .24s ease;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.admin-link,
.btn-light {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid #38383b;
  border-radius: 999px;
  padding: 0 14px;
  background: #111;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.admin-link:hover,
.btn-light:hover { border-color: var(--green); color: var(--yellow); }

.icon-only {
  width: 44px;
  min-width: 44px;
  padding: 0;
}

.icon-only svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.cart-button {
  position: relative;
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  background: linear-gradient(135deg, var(--green), var(--green2));
  color: #fff;
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0, 122, 61, .22);
}

.cart-button.icon-only {
  display: inline-grid;
  width: 48px;
  min-width: 48px;
  place-items: center;
  padding: 0;
}

.cart-button svg {
  width: 23px;
  height: 23px;
  fill: currentColor;
}

.cart-button span {
  position: absolute;
  top: -7px;
  right: -7px;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  background: var(--yellow);
  color: #000;
  font-size: 11px;
  font-weight: 950;
}

.menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 25px;
  min-height: 48px;
  padding: 0 26px 12px;
}

.menu a {
  color: #f1f1f1;
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.menu a:hover { color: var(--yellow); }

body.header-compact .store-header {
  box-shadow: 0 10px 28px rgba(0,0,0,.2);
}

body.header-compact .header-main {
  min-height: 64px;
  padding: 4px 30px;
}

body.header-compact .logo-center img {
  width: 56px;
  height: 56px;
}

body.header-compact .search {
  height: 38px;
  max-width: 300px;
}

body.header-compact .cart-button,
body.header-compact .admin-link,
body.header-compact .btn-light {
  min-height: 36px;
}

.hero {
  position: relative;
  height: 650px;
  overflow: hidden;
  background: #111;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .8s ease;
}

.slide.active { opacity: 1; }

.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--slide-image);
  background-size: cover;
  background-position: center;
  filter: blur(22px);
  transform: scale(1.08);
  opacity: .42;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 1;
  transform: scale(1);
}

.slide.active img {
  animation: heroZoomOut 5s ease-out forwards;
}

.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.82), rgba(0,0,0,.38), rgba(0,0,0,.48)),
    radial-gradient(circle at 80% 85%, rgba(0,122,61,.26), transparent 34%);
  z-index: 2;
}

@keyframes heroZoomOut {
  from { transform: scale(1.14); }
  to { transform: scale(1); }
}

.slide-content {
  position: absolute;
  z-index: 3;
  left: 7%;
  bottom: 16%;
  max-width: 590px;
}

.slide-content .mini {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 14px;
  background: var(--yellow);
  color: #050505;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.slide-content h1 {
  margin: 16px 0 14px;
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1;
  text-transform: uppercase;
}

.slide-content p {
  max-width: 520px;
  margin-bottom: 24px;
  color: #dedede;
  font-size: 18px;
  line-height: 1.5;
}

.hero-notice {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 7;
  display: none;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.18);
  background: rgba(0, 0, 0, .72);
  color: #fff;
  white-space: nowrap;
}

.hero-notice.active {
  display: block;
}

.hero-notice .notice-track {
  display: flex;
  width: max-content;
  min-width: 200%;
  animation: noticeMarquee 26s linear infinite;
}

.hero-notice .notice-track > div {
  display: flex;
  flex: 0 0 auto;
  gap: 46px;
  padding: 12px 0;
  padding-right: 46px;
}

.hero-notice span {
  color: var(--yellow);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .04em;
  text-transform: uppercase;
}

@keyframes noticeMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.btn-primary,
.finalize {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0;
  padding: 0 18px;
  background: var(--green);
  color: #fff;
  font-weight: 950;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}

.finalize:disabled {
  cursor: wait;
  opacity: .55;
  filter: grayscale(.3);
}

.order-processing-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(8px);
}

.order-processing-modal.active {
  display: flex;
}

.order-processing-box {
  width: min(360px, 92vw);
  min-height: 240px;
  display: grid;
  place-items: center;
  text-align: center;
  gap: 12px;
  padding: 34px 28px;
  border-radius: 22px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 24px 70px rgba(0,0,0,.16);
  color: var(--text);
}

.order-processing-box h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.15;
}

.order-processing-box p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.order-spinner,
.order-check,
.order-x,
.order-warning {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.order-spinner {
  border: 6px solid rgba(0,0,0,.08);
  border-top-color: var(--green);
  animation: orderSpin .8s linear infinite;
}

.order-check {
  background: #11a85b;
  color: #fff;
}

.order-check::before {
  content: "V";
  font-size: 34px;
  font-weight: 950;
}

.order-x {
  background: #d43f3a;
  color: #fff;
}

.order-x::before {
  content: "!";
  font-size: 34px;
  font-weight: 950;
}

.order-warning {
  background: #d7a51e;
  color: #111;
}

.order-warning::before {
  content: "!";
  font-size: 34px;
  font-weight: 950;
}

@keyframes orderSpin {
  to { transform: rotate(360deg); }
}

.btn-primary:hover,
.finalize:hover { background: var(--green2); }

.hero-arrow {
  display: none;
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 42px;
  height: 54px;
  transform: translateY(-50%);
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: 34px;
  cursor: pointer;
}

.hero-arrow.left { left: 0; }
.hero-arrow.right { right: 0; }

.dots {
  display: none;
  position: absolute;
  bottom: 22px;
  left: 50%;
  z-index: 6;
  gap: 8px;
  transform: translateX(-50%);
}

.dots span {
  width: 10px;
  height: 10px;
  border: 1px solid #fff;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
  cursor: pointer;
}

.dots span.active { background: var(--yellow); border-color: var(--yellow); }

.category-strip {
  padding: 24px 0 32px;
  border-bottom: 1px solid var(--line);
  background: var(--panel);
  overflow: hidden;
}

.category-head {
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 18px;
  max-width: 1380px;
  margin: 0 auto 18px;
  text-align: center;
}

.category-head span {
  color: var(--yellow);
  font-size: 18px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

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

.category-head strong {
  display: none;
}

.category-circles {
  position: relative;
  display: flex;
  gap: 18px;
  max-width: 1380px;
  margin: 0 auto;
  overflow-x: auto;
  padding: 8px 34px 12px;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-padding-inline: 34px;
}

.category-circles::-webkit-scrollbar { display: none; }

.category-circle {
  display: grid;
  min-width: 118px;
  gap: 9px;
  justify-items: center;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  padding: 8px 4px 10px;
}

.category-circle span {
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  aspect-ratio: 1 / 1;
  border: 3px solid var(--line);
  border-radius: 50%;
  padding: 4px;
  background: var(--panel2);
  overflow: hidden;
  clip-path: circle(50%);
  transform-origin: center;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease;
}

.category-circle img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  clip-path: circle(50%);
  object-fit: cover;
}

.category-circle strong {
  max-width: 118px;
  font-size: 11px;
  line-height: 1.25;
  text-transform: uppercase;
  transition: color .22s ease, transform .22s ease;
}

.category-circle.active span,
.category-circle:hover span {
  border-color: var(--green);
  box-shadow: 0 8px 22px rgba(0, 122, 61, .18);
}

.category-circle:hover span {
  transform: scale(1.16);
  border-color: var(--yellow);
  background: #fff;
  box-shadow: 0 16px 32px rgba(23, 19, 13, .18);
}

.category-circle:hover strong {
  color: var(--green);
  transform: translateY(3px);
}

.category-circle.active:hover span {
  transform: scale(1.12);
}

.benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #090909;
}

body.theme-classic .benefits,
body.theme-minimal .benefits,
body.theme-classic .benefit-card.highlight,
body.theme-minimal .benefit-card.highlight {
  background: var(--panel);
}

.benefit-card {
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 106px;
  padding: 18px 22px;
  border-right: 1px solid var(--line);
}

.benefit-card:last-child { border-right: 0; }
.benefit-card.highlight { background: linear-gradient(135deg, rgba(0,122,61,.18), #090909); }

.benefit-icon {
  display: grid;
  width: 50px;
  height: 50px;
  min-width: 50px;
  place-items: center;
  border-radius: 50%;
  background: #181818;
  color: var(--yellow);
  font-weight: 950;
}

.benefit-card strong {
  display: block;
  margin-bottom: 5px;
  font-size: 14px;
  text-transform: uppercase;
}

.benefit-card p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.catalog {
  padding: 36px 28px 100px;
}

.breadcrumb {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 12px;
}

.title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 38px;
}

.title-row h2 {
  font-size: 26px;
  font-weight: 950;
  text-transform: uppercase;
}

.title-row select {
  width: 180px;
  height: 38px;
  border: 1px solid #444;
  background: #0f0f10;
  color: #fff;
  padding: 0 10px;
  font-weight: 900;
}

.store-layout {
  display: grid;
  grid-template-columns: 245px 1fr;
  gap: 34px;
  align-items: start;
}

.filters {
  position: sticky;
  top: 176px;
  height: fit-content;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, #101011, #0a0a0b);
  padding: 18px;
  box-shadow: 0 14px 32px rgba(0,0,0,.18);
}

body.theme-classic .filters,
body.theme-minimal .filters,
body.theme-classic .checkout-card,
body.theme-minimal .checkout-card {
  background: #fff;
  border-color: var(--line);
}

body.theme-classic .filters label,
body.theme-minimal .filters label,
body.theme-classic input,
body.theme-minimal input,
body.theme-classic select,
body.theme-minimal select,
body.theme-classic textarea,
body.theme-minimal textarea {
  background: #fff;
  color: var(--text);
  border-color: var(--line);
}

body.theme-minimal label {
  color: var(--text);
}

body.theme-minimal .title-row select,
body.theme-minimal .option {
  background: #fff;
  color: var(--text);
  border-color: var(--line);
}

body.theme-minimal .option.active {
  background: #f7f3e8;
  color: var(--text);
  border-color: var(--yellow);
}

.filters h3 {
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 18px;
  line-height: 1;
  text-transform: uppercase;
}

.filters h4 {
  margin-bottom: 12px;
  color: var(--yellow);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.filters label {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  min-height: 36px;
  margin-bottom: 8px;
  border: 1px solid #222225;
  border-radius: 10px;
  padding: 0 11px;
  background: #0b0b0c;
  color: #ddd;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, color .18s ease;
}

.filters label:hover {
  border-color: rgba(247,199,15,.42);
  background: #111113;
  color: #fff;
}

.filters input {
  width: 16px;
  height: 16px;
  accent-color: var(--green);
  margin: 0;
}

.filter-line {
  height: 1px;
  margin: 20px 0;
  background: var(--line);
}

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

.product-card {
  position: relative;
  overflow: hidden;
  background: #0c0c0d;
  border: 1px solid #1d1d20;
}

body.theme-classic .product-card,
body.theme-minimal .product-card {
  background: #fff;
  border-color: var(--line);
}

.product-image {
  position: relative;
  height: 330px;
  overflow: hidden;
  background: #161616;
  cursor: zoom-in;
}

.product-image img,
.product-image video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}

.product-card:hover .product-image img,
.product-card:hover .product-image video { transform: scale(1.035); }

.promo-seal {
  position: absolute;
  top: 9px;
  left: 9px;
  z-index: 3;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 13px;
  font-weight: 950;
  box-shadow: 0 8px 18px rgba(219,31,42,.32);
}

.sold-seal {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 4;
  background: #000;
  color: #fff;
  padding: 8px 13px;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.product-overlay {
  position: absolute;
  right: 0;
  bottom: 42%;
  max-width: 230px;
  padding: 10px 14px;
  background: rgba(0,0,0,.65);
  color: #fff;
  font-size: 12px;
  text-transform: uppercase;
  opacity: 0;
  transform: translateX(15px);
  transition: .25s;
}

.product-card:hover .product-overlay {
  opacity: 1;
  transform: translateX(0);
}

.product-info {
  padding: 11px 10px 10px;
}

.product-info h3 {
  min-height: 32px;
  margin-bottom: 6px;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 950;
  text-transform: uppercase;
}

.price {
  margin-bottom: 9px;
  color: var(--yellow);
  font-size: 14px;
  font-weight: 950;
}

.old-price {
  margin-right: 5px;
  color: #777;
  font-size: 12px;
  font-weight: 400;
  text-decoration: line-through;
}

.product-actions {
  display: flex;
  gap: 6px;
}

.buy-btn,
.plus-btn {
  border: 0;
  padding: 9px 10px;
  background: #fff;
  color: #000;
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
  cursor: pointer;
}

.buy-btn { flex: 1; background: var(--green); color: #fff; }
.buy-btn:hover { background: var(--green2); }
.plus-btn { width: 38px; }

.product-card.soldout .product-image img,
.product-card.soldout .product-image video { filter: grayscale(1); opacity: .55; }
.product-card.soldout .buy-btn { background: #555; cursor: not-allowed; }

.side-cart {
  position: fixed;
  top: 0;
  right: -460px;
  z-index: 250;
  display: flex;
  width: 440px;
  max-width: 94vw;
  height: 100vh;
  flex-direction: column;
  background: #0b0b0c;
  border-left: 1px solid var(--line);
  box-shadow: -10px 0 40px rgba(0,0,0,.38);
  transition: .3s;
}

.side-cart.active { right: 0; }

body.theme-minimal .side-cart {
  background: #fff;
  color: var(--text);
  border-left-color: var(--line);
  box-shadow: -12px 0 36px rgba(23, 19, 13, .14);
}

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

.cart-head h3 { font-size: 18px; text-transform: uppercase; }
.cart-head button { width: 30px; height: 30px; border: 0; background: #222; color: #fff; cursor: pointer; }

body.theme-minimal .cart-head button,
body.theme-minimal .cart-item button {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
}

.cart-list {
  flex: 1;
  overflow: auto;
  padding: 15px;
}

.cart-item,
.summary-item {
  display: grid;
  grid-template-columns: 64px 1fr 30px;
  gap: 10px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}

.cart-item img,
.summary-item img {
  width: 64px;
  height: 78px;
  object-fit: cover;
}

.cart-item strong,
.summary-item strong {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
}

.cart-item span,
.summary-item span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.cart-item button {
  width: 28px;
  height: 28px;
  border: 0;
  background: #222;
  color: #fff;
  cursor: pointer;
}

.cart-foot {
  padding: 18px;
  border-top: 1px solid var(--line);
}

.cart-total,
.total-row {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  font-size: 14px;
}

.cart-total {
  margin: 0 0 12px;
  font-size: 17px;
  font-weight: 950;
}

.cart-foot button {
  width: 100%;
  height: 44px;
  border: 0;
  background: var(--green);
  color: #fff;
  font-weight: 950;
  text-transform: uppercase;
  cursor: pointer;
}

.whatsapp {
  position: fixed;
  right: 25px;
  bottom: 70px;
  z-index: 85;
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 5px 18px rgba(37,211,102,.45);
  transition: transform .2s ease, box-shadow .2s ease;
}

.whatsapp:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 9px 24px rgba(37,211,102,.54);
}

.whatsapp svg {
  width: 33px;
  height: 33px;
  fill: currentColor;
}

.floating-instagram {
  position: fixed;
  right: 95px;
  bottom: 70px;
  z-index: 85;
  display: none;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 2px solid rgba(255,255,255,.9);
  border-radius: 50%;
  background: radial-gradient(circle at 30% 105%, #fdf497 0 17%, #fd5949 42%, #d6249f 62%, #285aeb 100%);
  color: #fff;
  box-shadow: 0 5px 18px rgba(214,36,159,.35);
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.floating-instagram.visible {
  display: grid;
}

.floating-instagram:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 9px 24px rgba(214,36,159,.46);
}

.floating-instagram svg {
  width: 31px;
  height: 31px;
  fill: currentColor;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0,0,0,.72);
}

.modal.active { display: flex; }

body.theme-minimal .modal {
  background: rgba(23, 19, 13, .28);
  backdrop-filter: blur(6px);
}

.modal-box {
  width: min(420px, 100%);
  border: 1px solid var(--line);
  background: #101011;
  padding: 25px;
  box-shadow: 0 12px 45px rgba(0,0,0,.45);
}

body.theme-minimal .modal-box {
  background: #fff;
  color: var(--text);
  box-shadow: 0 18px 45px rgba(23, 19, 13, .16);
}

.modal-box h2 {
  margin-bottom: 12px;
  font-size: 20px;
  text-transform: uppercase;
}

label {
  display: block;
  margin: 10px 0 6px;
  color: #fff;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

input, select, textarea {
  width: 100%;
  min-height: 43px;
  border: 1px solid #444;
  background: #0c0c0d;
  color: #fff;
  padding: 0 10px;
  font-weight: 800;
  outline: none;
}

body.theme-minimal input,
body.theme-minimal select,
body.theme-minimal textarea {
  background: #fff;
  color: var(--text);
  border-color: var(--line);
}

textarea {
  min-height: 82px;
  padding: 10px;
  resize: vertical;
}

.modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.modal-actions button { flex: 1; }

.product-detail-box {
  position: relative;
  width: min(1080px, 100%);
  max-height: 90vh;
  overflow: auto;
  border: 0;
  background: #fff;
  color: #111;
  padding: 0;
}

.product-page-wrap {
  max-width: 1320px;
  margin: 0 auto;
  padding: 34px 28px 90px;
}

.info-page {
  max-width: 1060px;
  margin: 0 auto;
  padding: 48px 28px 110px;
}

.info-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.info-breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

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

.info-card {
  border: 1px solid var(--line);
  background: #fff;
  padding: clamp(26px, 5vw, 58px);
  box-shadow: 0 18px 45px rgba(23, 19, 13, .08);
}

.info-card > span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  margin-bottom: 16px;
  border: 1px solid var(--yellow);
  border-radius: 999px;
  padding: 0 12px;
  color: var(--text);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.info-card h1 {
  max-width: 760px;
  margin-bottom: 22px;
  color: var(--text);
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1;
  text-transform: uppercase;
}

.info-content {
  max-width: 760px;
  color: #312b22;
  font-size: 17px;
  line-height: 1.78;
}

.info-content p + p {
  margin-top: 18px;
}

.product-page-detail {
  border: 1px solid var(--line);
  box-shadow: 0 18px 45px rgba(0,0,0,.18);
}

.detail-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #111;
  color: #fff;
  font-weight: 950;
  cursor: pointer;
}

body.theme-minimal .detail-close {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, .72fr);
  overflow: hidden;
  background: #fff;
}

.detail-gallery-shell {
  position: relative;
  min-width: 0;
  padding: 18px;
  background: #f6f1e7;
}

.detail-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 18px;
  background: #f6f1e7;
}

.detail-gallery img,
.detail-gallery video {
  width: 100%;
  aspect-ratio: 3 / 4;
  display: block;
  object-fit: cover;
  background: #eee8dc;
}

.detail-main-media {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #eee8dc;
}

.detail-main-media img,
.detail-main-media video {
  width: 100%;
  height: min(72vh, 760px);
  min-height: 520px;
  display: block;
  object-fit: cover;
}

.detail-arrow {
  position: absolute;
  top: calc(50% - 44px);
  z-index: 4;
  display: grid;
  width: 42px;
  height: 54px;
  place-items: center;
  transform: translateY(-50%);
  border: 1px solid rgba(255,255,255,.70);
  background: rgba(255,255,255,.84);
  color: #111;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}

.detail-arrow:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.04);
}

.detail-arrow-left { left: 28px; }
.detail-arrow-right { right: 28px; }

.detail-thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 12px 2px 0;
  scrollbar-width: none;
}

.detail-thumbs::-webkit-scrollbar { display: none; }

.detail-thumbs button {
  position: relative;
  flex: 0 0 78px;
  width: 78px;
  height: 94px;
  overflow: hidden;
  border: 2px solid transparent;
  background: #fff;
  padding: 0;
  cursor: pointer;
  opacity: .72;
  transition: border-color .18s ease, opacity .18s ease, transform .18s ease;
}

.detail-thumbs button.active,
.detail-thumbs button:hover {
  border-color: var(--yellow);
  opacity: 1;
  transform: translateY(-2px);
}

.detail-thumbs img,
.detail-thumbs video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.detail-thumbs span {
  position: absolute;
  right: 4px;
  bottom: 4px;
  background: rgba(0,0,0,.72);
  color: #fff;
  padding: 3px 5px;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.detail-info {
  display: flex;
  flex-direction: column;
  padding: 48px 38px 36px;
}

.detail-info > span {
  color: var(--green);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.detail-info h2 {
  margin: 10px 0 16px;
  font-size: 30px;
  line-height: 1.08;
  text-transform: uppercase;
}

.detail-price {
  margin-bottom: 18px;
  color: var(--green);
  font-size: 24px;
  font-weight: 950;
}

.detail-price span {
  margin-right: 10px;
  color: #888;
  font-size: 15px;
  text-decoration: line-through;
}

.detail-info p {
  color: #444;
  line-height: 1.65;
}

.detail-size-block {
  margin-top: 24px;
}

.detail-size-block > strong {
  display: block;
  margin-bottom: 10px;
  color: var(--text);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.detail-sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

.detail-sizes button,
.detail-sizes b {
  display: grid;
  min-width: 48px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: var(--text);
  font-size: 12px;
  font-weight: 950;
  cursor: pointer;
}

.detail-sizes button.active {
  border-color: var(--yellow);
  background: #111;
  color: #fff;
  box-shadow: 0 10px 20px rgba(23, 19, 13, .12);
}

.detail-colors {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.detail-colors button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: var(--text);
  padding: 0 12px;
  font-size: 12px;
  font-weight: 950;
  cursor: pointer;
}

.detail-colors button i {
  width: 18px;
  height: 18px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: currentColor;
}

.detail-colors button.active {
  border-color: var(--yellow);
  background: #111;
  color: #fff;
}

.detail-buy {
  width: 100%;
  margin-top: 26px;
  min-height: 52px;
}

.checkout-wrap {
  max-width: 1260px;
  margin: 0 auto;
  padding: 35px 28px 100px;
}

.checkout-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.checkout-title h1 {
  font-size: 28px;
  font-weight: 950;
  text-transform: uppercase;
}

.checkout-title a { color: var(--yellow); font-weight: 950; text-decoration: none; }

.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 30px;
  align-items: start;
}

.checkout-card {
  margin-bottom: 18px;
  border: 1px solid var(--line);
  background: #0d0d0e;
  padding: 22px;
  box-shadow: 0 8px 25px rgba(0,0,0,.18);
}

.checkout-card h2 {
  margin-bottom: 18px;
  font-size: 18px;
  text-transform: uppercase;
}

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

.form-grid .full { grid-column: 1 / -1; }

.option-grid {
  display: grid;
  gap: 10px;
}

.payment-options { grid-template-columns: repeat(3, 1fr); }
.delivery-options { grid-template-columns: repeat(2, 1fr); }

.option {
  border: 2px solid #333;
  background: #090909;
  color: #fff;
  padding: 15px;
  font-size: 12px;
  font-weight: 950;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
}

.option.active {
  border-color: var(--green);
  background: rgba(0,122,61,.16);
  color: var(--yellow);
}

.address-box,
.qr-demo,
.receipt,
.backend-log {
  display: none;
  margin-top: 14px;
}

.address-box.active,
.qr-demo.active,
.receipt.active,
.backend-log.active { display: block; }

.qr-demo,
.receipt {
  border-left: 4px solid var(--yellow);
  background: #151515;
  padding: 14px;
  color: #ddd;
  line-height: 1.45;
}

.pix-qr-area {
  display: grid;
  min-height: 24px;
  place-items: center;
  margin: 14px 0;
}

.pix-qr-img {
  width: min(240px, 100%);
  aspect-ratio: 1;
  border: 10px solid #fff;
  background: #fff;
  object-fit: contain;
}

#pixCopyCode {
  width: 100%;
  min-height: 86px;
  resize: vertical;
  border: 1px solid #333;
  background: #080808;
  color: #fff;
  padding: 12px;
  font-size: 12px;
  line-height: 1.45;
}

.backend-log {
  overflow: auto;
  border-radius: 4px;
  background: #000;
  color: #62ff9c;
  padding: 16px;
  font-size: 12px;
  line-height: 1.5;
  white-space: pre-wrap;
}

.total-row.final {
  margin-top: 16px;
  border-top: 2px solid #fff;
  padding-top: 14px;
  font-size: 20px;
  font-weight: 950;
}

.finalize {
  width: 100%;
  margin-top: 16px;
}

.wide {
  width: 100%;
  margin-top: 10px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
  color: #111;
  font-size: 13px;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(180px, 320px) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: 44px 28px 32px;
}

.footer-follow {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-start;
}

.footer-social {
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid #d8d1c4;
  border-radius: 50%;
  background: #fff;
  color: #111;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.footer-social:hover {
  background: #111;
  color: #fff;
  transform: translateY(-2px);
}

.footer-social svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(160px, max-content));
  gap: 12px 34px;
  justify-content: end;
  align-items: start;
}

.footer-links h3 {
  grid-column: 1 / -1;
  margin: 0 0 2px;
  color: #111;
  font-size: 15px;
  font-weight: 950;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.footer-links a {
  color: #3a342b;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.35;
  text-decoration: none;
  transition: color .18s ease, transform .18s ease;
}

.footer-links a:hover {
  color: var(--green);
  transform: translateX(2px);
}

.footer-payments {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid #e5e5e5;
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 28px;
}

.footer-payments > strong {
  min-width: 138px;
  color: #111;
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.payment-icons {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  flex-wrap: wrap;
}

.payment-logo {
  display: block;
  width: auto;
  height: 22px;
  object-fit: contain;
}

.payment-logo-wide {
  height: 34px;
}

.payment-icons-store {
  width: 100%;
  gap: 18px;
}

.payment-logo-cards {
  height: 64px;
  max-width: min(680px, 72vw);
  margin-right: auto;
}

.payment-logo-secure {
  height: 72px;
  max-width: min(260px, 28vw);
  margin-left: auto;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: #e5e5e5;
  color: #111;
  padding: 12px max(28px, calc((100vw - 1180px) / 2 + 28px));
  font-size: 10px;
  font-weight: 800;
}

.footer-bottom p { margin: 0; }
.footer-bottom strong { font-weight: 950; }

body.theme-minimal .slide::after {
  background:
    linear-gradient(90deg, rgba(255,255,255,.88), rgba(255,255,255,.45), rgba(255,255,255,.70)),
    radial-gradient(circle at 80% 85%, rgba(182,147,47,.18), transparent 34%);
}

body.theme-minimal .slide-content h1,
body.theme-minimal .slide-content p {
  color: var(--text);
}

body.theme-minimal .hero-notice {
  border-top-color: rgba(182,147,47,.34);
  background: rgba(255, 255, 255, .88);
  color: var(--text);
  backdrop-filter: blur(8px);
}

body.theme-minimal .benefit-icon,
body.theme-minimal .product-image,
body.theme-minimal .detail-media {
  background: #f6f1e7;
}

body.theme-minimal .filters label:hover {
  background: #f7f3e8;
  color: var(--text);
}

body.theme-minimal .sold-seal,
body.theme-minimal .product-overlay {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.92);
  color: var(--text);
  box-shadow: 0 10px 26px rgba(23, 19, 13, .12);
}

body.theme-minimal .checkout-card,
body.theme-minimal .qr-demo,
body.theme-minimal .receipt {
  background: #fff;
  color: var(--text);
  box-shadow: 0 12px 30px rgba(23, 19, 13, .10);
}

body.theme-minimal .qr-demo,
body.theme-minimal .receipt {
  border: 1px solid var(--line);
  border-left: 4px solid var(--yellow);
}

body.theme-minimal #pixCopyCode,
body.theme-minimal .backend-log {
  border: 1px solid var(--line);
  background: #fbfbfa;
  color: var(--text);
}

body.theme-minimal .total-row.final {
  border-top-color: var(--line);
}

body.theme-minimal .footer-social:hover {
  background: #f7f3e8;
  color: var(--text);
}

body.theme-minimal .cart-button,
body.theme-minimal .buy-btn,
body.theme-minimal .btn-primary,
body.theme-minimal .finalize,
body.theme-minimal .cart-foot button {
  border: 1px solid var(--yellow);
  background: #fff;
  color: var(--text);
  box-shadow: 0 10px 24px rgba(182, 147, 47, .14);
}

body.theme-minimal .cart-button:hover,
body.theme-minimal .buy-btn:hover,
body.theme-minimal .btn-primary:hover,
body.theme-minimal .finalize:hover,
body.theme-minimal .cart-foot button:hover {
  background: #f7f3e8;
  color: var(--text);
}

@media (max-width: 1200px) {
  .products-grid { grid-template-columns: repeat(4, minmax(150px, 1fr)); }
  .product-image { height: 300px; }
}

@media (max-width: 900px) {
  .topbar { font-size: 10px; min-height: 28px; }
  .store-header { position: sticky; top: 0; z-index: 120; }
  .header-main { grid-template-columns: 1fr; padding: 12px 14px; gap: 11px; }
  .logo-center img { width: 76px; height: 76px; }
  .search {
    order: 1;
    width: min(100%, 420px);
    height: 42px;
    justify-self: center;
  }
  .header-actions {
    order: 3;
    justify-self: center;
    gap: 10px;
  }
  .btn-light,
  .cart-button {
    min-height: 42px;
    padding: 0 14px;
    font-size: 12px;
  }
  .menu { gap: 16px; }
  .hero { height: 480px; }
  .category-strip {
    padding-top: 20px;
  }
  .category-head {
    padding-inline: 18px;
    margin-bottom: 12px;
  }
  .category-head span {
    font-size: 16px;
  }
  .category-circles {
    max-width: none;
    margin: 0;
    gap: 14px;
    padding: 8px 22px 14px;
    scroll-padding-inline: 22px;
  }
  .category-circle:first-child {
    margin-left: 2px;
  }
  .category-circle:last-child {
    margin-right: 18px;
  }
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .store-layout { grid-template-columns: 1fr; }
  .catalog {
    padding: 28px 16px 76px;
  }
  .breadcrumb {
    display: none;
  }
  .title-row {
    gap: 12px;
    margin-bottom: 16px;
  }
  .title-row h2 {
    font-size: 20px;
    line-height: 1.05;
  }
  .title-row select {
    width: 150px;
    height: 40px;
    border-radius: 999px;
    font-size: 11px;
  }
  .filters {
    position: sticky;
    top: 102px;
    z-index: 35;
    display: grid;
    gap: 10px;
    border-radius: 16px;
    padding: 12px;
    box-shadow: 0 12px 28px rgba(0,0,0,.12);
  }
  .filters h3 {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 13px;
  }
  .filters h3::after {
    content: " escolha tamanho e opcoes";
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
    text-transform: none;
  }
  .filters h4 {
    margin: 0 0 8px;
    font-size: 10px;
  }
  .filters > div {
    min-width: 0;
  }
  #sizeFilters,
  .filters > div:nth-of-type(3) {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  #sizeFilters::-webkit-scrollbar,
  .filters > div:nth-of-type(3)::-webkit-scrollbar {
    display: none;
  }
  .filters label {
    flex: 0 0 auto;
    min-height: 34px;
    margin: 0;
    border-radius: 999px;
    padding: 0 12px;
    font-size: 12px;
    white-space: nowrap;
  }
  .filters input {
    width: 14px;
    height: 14px;
  }
  .filter-line {
    display: none;
  }
  .products-grid { grid-template-columns: repeat(3, minmax(150px, 1fr)); }
  .product-image { height: 285px; }
  .checkout-grid { grid-template-columns: 1fr; }
  .form-grid, .payment-options, .delivery-options { grid-template-columns: 1fr; }
  .product-detail { grid-template-columns: 1fr; }
  .detail-main-media img,
  .detail-main-media video {
    height: auto;
    min-height: 0;
    aspect-ratio: 3 / 4;
  }
  .footer-main {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 36px 22px 26px;
  }
  .footer-follow { justify-content: center; }
  .footer-links {
    grid-template-columns: repeat(2, minmax(140px, max-content));
    justify-content: center;
    text-align: center;
  }
  .footer-payments {
    align-items: center;
    flex-direction: column;
    text-align: center;
  }
  .payment-icons {
    justify-content: center;
  }
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .benefits { grid-template-columns: 1fr; }
  .header-main {
    padding: 10px 12px;
  }
  .logo-center img {
    width: 68px;
    height: 68px;
  }
  .search {
    height: 40px;
    border-radius: 999px;
  }
  .search input {
    font-size: 13px;
  }
  .header-actions {
    width: 100%;
    justify-content: center;
  }
  .btn-light,
  .cart-button {
    min-height: 39px;
    border-radius: 999px;
    padding: 0 13px;
  }
  .catalog {
    padding-inline: 12px;
  }
  .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .product-card {
    border-radius: 12px;
  }
  .product-image { height: clamp(210px, 61vw, 255px); }
  .product-info {
    padding: 9px 8px 10px;
  }
  .product-info h3 {
    min-height: 34px;
    font-size: 11px;
  }
  .price {
    font-size: 13px;
  }
  .buy-btn,
  .plus-btn {
    min-height: 34px;
    border-radius: 999px;
  }
  .plus-btn {
    width: 34px;
  }
  .promo-seal {
    width: 34px;
    height: 34px;
    font-size: 11px;
  }
  .hero { height: 420px; }
  .slide-content { left: 18px; right: 18px; bottom: 58px; }
  .slide-content h1 {
    font-size: clamp(30px, 9vw, 46px);
  }
  .category-circle { min-width: 96px; }
  .category-circle span {
    width: 82px;
    height: 82px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    clip-path: circle(50%);
  }
  .category-circle img {
    border-radius: 50%;
    clip-path: circle(50%);
  }
  .title-row { align-items: flex-start; flex-direction: column; }
  .title-row select { width: 100%; }
  .filters {
    top: 96px;
    margin-inline: -2px;
    border-radius: 14px;
  }
  .filters h3::after {
    display: block;
    margin-top: 2px;
  }
  .side-cart {
    width: 100vw;
    max-width: 100vw;
  }
  .whatsapp,
  .floating-instagram {
    width: 52px;
    height: 52px;
    bottom: 22px;
  }
  .whatsapp {
    right: 16px;
  }
  .floating-instagram {
    right: 78px;
  }
  .whatsapp svg,
  .floating-instagram svg {
    width: 29px;
    height: 29px;
  }
  .footer-links {
    grid-template-columns: 1fr;
    gap: 11px;
  }
  .footer-links a { font-size: 12px; }
  .footer-payments { padding: 18px; }
  .payment-logo { height: 18px; }
  .payment-logo-wide { height: 30px; }
  .payment-icons-store {
    gap: 14px;
  }
  .payment-icons-store .payment-logo-cards {
    height: 44px;
    max-width: 100%;
  }
  .payment-icons-store .payment-logo-secure {
    height: 52px;
    max-width: 100%;
  }
}

/* ==== Ajustes profissionais: temas, pagamento, confirmação, produto/zoom ==== */
body {
  font-family: "Segoe UI", Inter, Arial, Helvetica, sans-serif;
  letter-spacing: -.01em;
}
body.theme-dark {
  --bg: #06070a;
  --panel: #111318;
  --panel2: #1b1e25;
  --line: #2b3038;
  --text: #f7f7f2;
  --muted: #adb4bd;
  --green: #a98d45;
  --green2: #7e692f;
  --yellow: #f6d77a;
}
body.theme-classic {
  --bg: #f3f5f8;
  --panel: rgba(255,255,255,.94);
  --panel2: #e9edf2;
  --line: #d8dfe8;
  --text: #141821;
  --muted: #66717f;
  --green: #33495f;
  --green2: #1f2f3f;
  --yellow: #b58a36;
}
body.theme-minimal {
  --bg: #fbf8f1;
  --panel: #ffffff;
  --panel2: #f1eadc;
  --line: #e1d6c4;
  --text: #191510;
  --muted: #776d5f;
  --green: #17130d;
  --green2: #3c3328;
  --yellow: #c59a37;
}
body.theme-classic .store-header,
body.theme-minimal .store-header {
  background: rgba(255,255,255,.82);
  box-shadow: 0 18px 40px rgba(20,26,34,.08);
}
body.theme-dark .store-header {
  background: rgba(8,9,12,.88);
  box-shadow: 0 18px 44px rgba(0,0,0,.34);
}
.product-card {
  border-radius: 16px;
  box-shadow: 0 14px 32px rgba(19, 17, 13, .08);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 48px rgba(19, 17, 13, .14);
  border-color: rgba(197,154,55,.42);
}
.product-card:active,
.buy-btn:active,
.plus-btn:active,
.btn-primary:active,
.finalize:active {
  transform: scale(.98);
}
.product-image { border-radius: 16px 16px 0 0; }
.payment-options {
  grid-template-columns: repeat(3, minmax(160px, 1fr));
}
.payment-option,
.delivery-options .option {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, #fff, #f8f6ef);
  color: var(--text);
  padding: 14px 16px;
  text-align: left;
  box-shadow: 0 10px 24px rgba(24, 20, 14, .06);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.payment-option:hover,
.delivery-options .option:hover {
  transform: translateY(-2px);
  border-color: var(--yellow);
  box-shadow: 0 16px 34px rgba(24, 20, 14, .11);
}
.payment-option.active,
.delivery-options .option.active {
  border-color: var(--yellow);
  background: linear-gradient(180deg, #fffaf0, #f4ead5);
  color: var(--text);
  box-shadow: 0 18px 38px rgba(197,154,55,.16);
}
.option-radio {
  width: 18px;
  height: 18px;
  min-width: 18px;
  border: 2px solid #b8afa0;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 4px #fff;
}
.payment-option.active .option-radio,
.delivery-options .option.active::before {
  border-color: var(--yellow);
  background: var(--green);
}
.pay-icon {
  display: grid;
  width: 34px;
  height: 34px;
  min-width: 34px;
  place-items: center;
  border-radius: 12px;
  background: var(--panel2);
  color: var(--green);
  font-size: 18px;
  font-weight: 950;
}
.delivery-options .option::before {
  content: "";
  width: 18px;
  height: 18px;
  min-width: 18px;
  border: 2px solid #b8afa0;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 4px #fff;
}
.order-check-gif {
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(17,168,91,.10);
}
.order-check-gif img {
  width: 92px;
  height: 92px;
  display: block;
  object-fit: contain;
}
.product-page-detail {
  border-radius: 26px;
  overflow: hidden;
  background: rgba(255,255,255,.96);
  box-shadow: 0 30px 80px rgba(21, 17, 10, .13);
}
.product-page-detail .detail-gallery-shell {
  display: grid;
  grid-template-columns: 98px minmax(0, 1fr);
  gap: 16px;
  padding: 22px;
  background: linear-gradient(135deg, #f7f0e4, #fffaf1);
}
.product-page-detail .detail-main-media {
  grid-column: 2;
  grid-row: 1;
  border-radius: 22px;
  background: #eee8dc;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.6), 0 18px 40px rgba(25, 18, 12, .10);
}
.product-page-detail .detail-thumbs {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-x: hidden;
  overflow-y: auto;
  max-height: min(72vh, 760px);
  padding: 2px 3px;
}
.product-page-detail .detail-thumbs button {
  flex: 0 0 112px;
  width: 82px;
  height: 112px;
  border-radius: 14px;
  border: 2px solid transparent;
}
.product-page-detail .detail-thumbs button.active,
.product-page-detail .detail-thumbs button:hover {
  transform: translateX(4px);
  border-color: var(--yellow);
}
.product-page-detail .detail-arrow-left { left: 134px; }
.product-page-detail .detail-arrow-right { right: 36px; }
.zoomable-photo {
  width: 100%;
  height: 100%;
  overflow: hidden;
  cursor: zoom-in;
}
.zoomable-photo img {
  transition: transform .18s ease;
  will-change: transform, transform-origin;
}
.detail-main-media img,
.detail-main-media video {
  border-radius: 22px;
}
.detail-info {
  background: linear-gradient(180deg, #fff, #fbf8ef);
}
.detail-size-block button:active,
.detail-colors button:active {
  transform: scale(.96);
}
@media (max-width: 860px) {
  .payment-options { grid-template-columns: 1fr; }
  .payment-option, .delivery-options .option { min-height: 58px; }
  .product-page-detail .detail-gallery-shell {
    grid-template-columns: 1fr;
  }
  .product-page-detail .detail-main-media { grid-column: 1; grid-row: 1; }
  .product-page-detail .detail-thumbs {
    grid-column: 1;
    grid-row: 2;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    max-height: none;
  }
  .product-page-detail .detail-thumbs button { flex: 0 0 78px; width: 78px; height: 96px; }
  .product-page-detail .detail-arrow-left { left: 28px; }
  .product-page-detail .detail-arrow-right { right: 28px; }
}
.zoomable-photo { min-height: 520px; }
@media (max-width: 860px) { .zoomable-photo { min-height: 0; } }

/* Checkout premium responsivo */
.checkout-body {
  background:
    radial-gradient(circle at 14% 10%, rgba(182,147,47,.10), transparent 32%),
    linear-gradient(180deg, var(--bg), var(--panel2));
}
.checkout-header-main {
  grid-template-columns: 90px 1fr 90px;
  min-height: 84px;
}
.checkout-premium-wrap {
  width: min(1220px, calc(100% - 34px));
  margin: 0 auto;
  padding: 34px 0 90px;
}
.checkout-hero-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 16px;
  padding: clamp(20px, 3.2vw, 34px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(0,0,0,.76), rgba(0,122,61,.52)),
    url('/static/assets/login-model.jpg') center 28% / cover;
  color: #fff;
  box-shadow: 0 24px 70px rgba(0,0,0,.14);
  overflow: hidden;
}
.checkout-kicker {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--yellow);
  color: #070707;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.checkout-hero-card h1 {
  margin: 12px 0 8px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.02;
  text-transform: uppercase;
}
.checkout-hero-card p {
  max-width: 640px;
  margin: 0;
  color: rgba(255,255,255,.86);
  font-size: 15px;
  line-height: 1.55;
}
.checkout-back-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-size: 12px;
  font-weight: 950;
  text-decoration: none;
  white-space: nowrap;
}
.checkout-progress {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.checkout-progress span {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}
.checkout-progress b {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--panel2);
  color: var(--text);
}
.checkout-progress .active {
  color: var(--green);
  border-color: rgba(0,122,61,.28);
  box-shadow: 0 10px 24px rgba(0,122,61,.06);
}
.checkout-progress .active b { background: var(--green); color:#fff; }
.checkout-premium-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 390px);
  gap: 18px;
  align-items: start;
}
.checkout-form-column { display: grid; gap: 16px; }
.checkout-summary-column {
  position: sticky;
  top: 104px;
}
.checkout-section-card,
.premium-summary-card {
  border-radius: 24px;
  padding: clamp(18px, 2vw, 24px);
  background: rgba(255,255,255,.92);
  box-shadow: 0 18px 46px rgba(23,19,13,.08);
}
body.theme-dark .checkout-section-card,
body.theme-dark .premium-summary-card {
  background: rgba(13,13,14,.96);
}
.checkout-card-title,
.summary-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}
.checkout-card-title > span {
  display: grid;
  width: 42px;
  height: 42px;
  min-width: 42px;
  place-items: center;
  border-radius: 14px;
  background: var(--green);
  color: #fff;
  font-size: 13px;
  font-weight: 950;
}
.checkout-card-title h2,
.summary-head h2 {
  margin: 0;
  font-size: 21px;
  line-height: 1.15;
  text-transform: uppercase;
}
.checkout-card-title p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.checkout-form-grid input,
.checkout-form-grid textarea {
  min-height: 48px;
  border-radius: 14px;
}
.premium-payment-options,
.premium-delivery-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
}
.premium-payment-options .payment-option,
.premium-delivery-options .delivery-option {
  position: relative;
  display: grid;
  grid-template-columns: 22px auto 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 10px;
  row-gap: 2px;
  min-height: 86px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  color: var(--text);
  text-align: left;
  box-shadow: 0 10px 22px rgba(0,0,0,.04);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.premium-delivery-options .delivery-option { grid-template-columns: 22px auto 1fr; min-height: 72px; }
.premium-payment-options .payment-option:hover,
.premium-delivery-options .delivery-option:hover {
  transform: translateY(-2px);
  border-color: rgba(0,122,61,.35);
  box-shadow: 0 16px 34px rgba(0,122,61,.08);
}
.payment-option.active,
.delivery-option.active {
  border-color: var(--green) !important;
  background: linear-gradient(180deg, var(--panel), var(--green-soft)) !important;
}
.option-radio {
  grid-row: 1 / span 2;
  display: block;
  width: 18px;
  height: 18px;
  border: 2px solid var(--line);
  border-radius: 50%;
  background: var(--panel);
}
.payment-option.active .option-radio,
.delivery-option.active .option-radio {
  border: 5px solid var(--green);
}
.pay-icon,
.delivery-option > span {
  grid-row: 1 / span 2;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 14px;
  background: var(--panel2);
  font-size: 20px;
}
.pix-symbol { color: var(--green); }
.payment-option strong,
.delivery-option strong {
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}
.payment-option small {
  grid-column: 3;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.25;
}
.pix-premium-box {
  margin-top: 14px;
  border-radius: 18px;
}
.premium-address-box {
  margin-top: 14px;
  padding: 16px;
  border: 1px dashed var(--line);
  border-radius: 18px;
  background: var(--panel-soft);
}
.summary-head span {
  display:block;
  color: var(--green);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.summary-head a {
  color: var(--green);
  font-size: 12px;
  font-weight: 950;
  text-decoration: none;
  white-space: nowrap;
}
.summary-totals {
  margin: 16px 0;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.premium-finalize {
  width: 100%;
  min-height: 52px;
  border-radius: 16px;
  box-shadow: 0 16px 32px rgba(0,122,61,.20);
}
.checkout-security-note {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  margin-top: 12px;
  padding: 12px;
  border-radius: 14px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
}
.checkout-payment-footer .payment-icons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}
.checkout-payment-footer .payment-logo-cards {
  width: min(520px, 92vw);
  height: auto;
  max-height: 58px;
  object-fit: contain;
}
.checkout-payment-footer .payment-logo-secure {
  width: 120px;
  height: auto;
  object-fit: contain;
}
@media (max-width: 980px) {
  .checkout-premium-grid { grid-template-columns: 1fr; }
  .checkout-summary-column { position: static; }
  .checkout-hero-card { align-items: flex-start; flex-direction: column; }
  .premium-payment-options { grid-template-columns: 1fr; }
  .premium-delivery-options { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .checkout-premium-wrap { width: min(100% - 22px, 1220px); padding-top: 18px; }
  .checkout-header-main { grid-template-columns: 52px 1fr 52px; min-height: 68px; padding-inline: 12px; }
  .checkout-header-main .logo-center img { width: 58px; height: 58px; }
  .checkout-progress { grid-template-columns: 1fr; }
  .checkout-progress span { min-height: 40px; }
  .checkout-card-title { gap: 10px; }
  .checkout-card-title > span { width: 34px; height: 34px; min-width: 34px; border-radius: 11px; }
  .checkout-card-title h2, .summary-head h2 { font-size: 18px; }
  .checkout-section-card, .premium-summary-card { border-radius: 18px; padding: 16px; }
  .premium-delivery-options { grid-template-columns: 1fr; }
  .premium-payment-options .payment-option { min-height: 76px; }
}

/* Correções checkout passo a passo v3 */
.checkout-step-panel {
  display: none;
  animation: checkoutFadeIn .22s ease;
}
.checkout-step-panel.checkout-step-active {
  display: block;
}
.checkout-step-panel.checkout-step-complete {
  display: block;
  opacity: .72;
}
.checkout-step-panel.checkout-step-complete:not(.checkout-step-active) {
  display: none;
}
.checkout-result-hidden {
  display: none !important;
}
@keyframes checkoutFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.checkout-step-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.checkout-step-actions .btn-primary,
.checkout-step-actions .btn-light,
.checkout-next-btn {
  min-width: 190px;
  min-height: 48px;
  border-radius: 14px;
}
.checkout-step-actions .btn-primary:disabled,
.summary-hint-btn:disabled,
.premium-finalize:not(.visible) {
  opacity: .55;
  cursor: not-allowed;
  filter: grayscale(.18);
}
.checkout-final-actions {
  justify-content: space-between;
}
#finalizeOrderBtn {
  display: none;
}
#finalizeOrderBtn.visible {
  display: inline-flex;
}
.summary-hint-btn {
  width: 100%;
  border-radius: 16px;
  background: var(--panel2);
  color: var(--muted);
  box-shadow: none;
}
.checkout-progress .complete b::after {
  content: "✓";
  font-size: 14px;
}
.checkout-progress .complete b {
  font-size: 0;
}
.premium-summary-card,
.summary-card {
  min-width: 0;
  overflow: hidden;
}
.premium-order-summary {
  min-width: 0;
  overflow: hidden;
}
.summary-item {
  grid-template-columns: 64px minmax(0, 1fr) minmax(78px, max-content);
  width: 100%;
  min-width: 0;
}
.summary-item > div {
  min-width: 0;
  overflow: hidden;
}
.summary-item strong,
.summary-item span {
  overflow-wrap: anywhere;
  word-break: break-word;
}
.summary-item b {
  justify-self: end;
  min-width: 78px;
  max-width: 110px;
  overflow-wrap: normal;
  word-break: normal;
  white-space: nowrap;
  text-align: right;
  font-size: 12px;
}
.summary-totals .total-row {
  gap: 12px;
  align-items: center;
}
.summary-totals .total-row strong {
  max-width: 55%;
  white-space: nowrap;
  text-align: right;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pix-premium-box:not(.active),
.address-box:not(.active) {
  display: none;
}
@media (max-width: 430px) {
  .summary-item {
    grid-template-columns: 54px minmax(0,1fr);
  }
  .summary-item img {
    width: 54px;
    height: 68px;
  }
  .summary-item b {
    grid-column: 2;
    justify-self: start;
    max-width: 100%;
    margin-top: 4px;
    text-align: left;
  }
  .checkout-step-actions,
  .checkout-final-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .checkout-step-actions .btn-primary,
  .checkout-step-actions .btn-light,
  .checkout-next-btn {
    width: 100%;
    min-width: 0;
  }
}

/* Checkout compacto estilo marketplace v4 */
.checkout-premium-wrap {
  width: min(1120px, calc(100% - 28px));
  padding-top: 20px;
}
.checkout-hero-card {
  padding: 18px 22px;
  border-radius: 18px;
  margin-bottom: 12px;
}
.checkout-hero-card h1 {
  font-size: clamp(24px, 3vw, 34px);
  margin: 8px 0 5px;
}
.checkout-hero-card p {
  font-size: 13px;
  line-height: 1.35;
}
.checkout-kicker {
  min-height: 22px;
  padding: 0 10px;
  font-size: 9px;
}
.checkout-progress {
  gap: 8px;
  margin-bottom: 12px;
}
.checkout-progress span {
  min-height: 38px;
  padding: 0 11px;
  font-size: 10.5px;
}
.checkout-progress b {
  width: 24px;
  height: 24px;
  font-size: 11px;
}
.checkout-premium-grid {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 350px);
  gap: 14px;
}
.checkout-form-column {
  gap: 12px;
}
.checkout-section-card,
.premium-summary-card {
  border-radius: 18px;
  padding: 15px 16px;
  box-shadow: 0 12px 30px rgba(23,19,13,.07);
}
.checkout-card-title,
.summary-head {
  gap: 10px;
  margin-bottom: 11px;
}
.checkout-card-title > span {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 10px;
  font-size: 11px;
}
.checkout-card-title h2,
.summary-head h2 {
  font-size: 17px;
  line-height: 1.1;
  letter-spacing: -.01em;
}
.checkout-card-title p {
  font-size: 11.5px;
  line-height: 1.32;
  margin-top: 3px;
}
.checkout-form-grid input,
.checkout-form-grid textarea {
  min-height: 42px;
  border-radius: 10px;
  font-size: 13px;
}
.checkout-form-grid label {
  margin: 8px 0 5px;
  font-size: 10px;
}
.premium-payment-options,
.premium-delivery-options {
  gap: 9px;
}
.premium-payment-options .payment-option,
.premium-delivery-options .delivery-option {
  min-height: 64px;
  padding: 10px;
  border-radius: 13px;
  grid-template-columns: 18px 30px minmax(0,1fr);
}
.premium-delivery-options .delivery-option {
  min-height: 58px;
}
.option-radio {
  width: 15px;
  height: 15px;
}
.payment-option.active .option-radio,
.delivery-option.active .option-radio {
  border-width: 4px;
}
.pay-icon,
.delivery-option > span {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  font-size: 16px;
}
.payment-option strong,
.delivery-option strong {
  font-size: 11.5px;
}
.payment-option small {
  font-size: 10px;
  line-height: 1.15;
}
.checkout-step-actions {
  margin-top: 13px;
}
.checkout-step-actions .btn-primary,
.checkout-step-actions .btn-light,
.checkout-next-btn,
.premium-finalize {
  min-height: 42px;
  border-radius: 11px;
  font-size: 11px;
}
.premium-finalize {
  min-height: 44px;
  box-shadow: 0 10px 24px rgba(0,122,61,.14);
}
.premium-address-box {
  margin-top: 10px;
  padding: 11px;
  border-radius: 13px;
}
.pix-premium-box {
  margin-top: 10px;
  border-radius: 13px;
  font-size: 12px;
}
.summary-head span,
.summary-head a {
  font-size: 10px;
}
.summary-totals {
  margin: 12px 0;
  padding: 9px 0;
}
.summary-totals .total-row {
  margin-top: 7px;
  font-size: 12.5px;
}
.summary-totals .total-row.final {
  font-size: 15px;
}
.summary-item {
  grid-template-columns: 52px minmax(0, 1fr) minmax(70px, max-content);
  gap: 8px;
  padding: 9px 0;
}
.summary-item img {
  width: 52px;
  height: 64px;
  border-radius: 8px;
  object-fit: cover;
}
.summary-item strong {
  font-size: 11px;
  line-height: 1.2;
}
.summary-item span {
  font-size: 10.5px;
  margin-top: 2px;
}
.summary-item b {
  min-width: 70px;
  max-width: 92px;
  font-size: 11px;
}
.checkout-security-note {
  padding: 9px;
  border-radius: 11px;
  font-size: 11px;
}
@media (max-width: 680px) {
  .checkout-hero-card { display:none; }
  .checkout-section-card, .premium-summary-card { padding: 13px; }
  .checkout-card-title h2, .summary-head h2 { font-size: 16px; }
}

/* Atendimento do pedido pelo site */
.customer-order-chat-widget { position: fixed; right: 24px; bottom: 140px; z-index: 1300; font-family: inherit; }
.customer-chat-float {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  padding: 0 16px 0 10px;
  background: linear-gradient(135deg, #101511, #007a3d);
  color: #fff;
  font-weight: 950;
  cursor: pointer;
  box-shadow: 0 16px 38px rgba(0, 122, 61, .28);
}
.customer-chat-float span { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: rgba(255,255,255,.15); }
.customer-order-chat-panel {
  position: absolute;
  right: 0;
  bottom: 62px;
  width: min(360px, calc(100vw - 28px));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
  color: var(--text);
  box-shadow: 0 26px 70px rgba(0,0,0,.22);
}
.customer-chat-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px; border-bottom: 1px solid var(--line); background: var(--panel2); }
.customer-chat-head small { display: block; color: var(--muted); font-size: 10px; font-weight: 950; text-transform: uppercase; }
.customer-chat-head strong { display: block; margin-top: 3px; font-size: 12px; word-break: break-word; }
.customer-chat-head button { width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); color: var(--text); font-size: 20px; cursor: pointer; }
.customer-chat-messages { display: flex; flex-direction: column; gap: 8px; height: 260px; overflow: auto; padding: 12px; background: var(--bg); }
.customer-chat-messages > p { margin: auto; color: var(--muted); text-align: center; font-size: 13px; line-height: 1.35; }
.customer-chat-bubble { max-width: 86%; border: 1px solid var(--line); border-radius: 16px; padding: 9px 11px; background: var(--panel); }
.customer-chat-bubble.customer { align-self: flex-end; background: #e8f6ee; color: #101511; }
.customer-chat-bubble.admin { align-self: flex-start; }
.customer-chat-bubble strong { display: block; margin-bottom: 4px; font-size: 11px; }
.customer-chat-bubble span { display: block; font-size: 13px; line-height: 1.35; white-space: pre-wrap; word-break: break-word; }
.customer-chat-bubble small { display: block; margin-top: 5px; color: var(--muted); font-size: 10px; }
.customer-chat-compose { display: grid; grid-template-columns: minmax(0, 1fr) 76px; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: var(--panel); }
.customer-chat-compose textarea { min-height: 48px; resize: vertical; border-radius: 12px; }
.customer-chat-compose button { border: 0; border-radius: 12px; background: var(--green); color: #fff; font-weight: 950; cursor: pointer; }
@media (max-width: 560px){
  .customer-order-chat-widget { right: 14px; bottom: 128px; }
  .customer-chat-float b { display: none; }
  .customer-chat-float { min-width: 54px; padding: 0 10px; }
  .customer-order-chat-panel { right: -4px; bottom: 60px; }
}
