:root {
  font-family: "Inter", sans-serif;
  color: #292c25;
  background: #fbfaf7;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --ink: #292c25;
  --muted: #85877e;
  --green: #426246;
  --green-dark: #304c34;
  --cream: #f1efe8;
  --orange: #ed815e;
  --line: #e9e7df;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { max-width: 100vw; overflow-x: hidden; }
body { margin: 0; min-width: 0; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  width: min(1200px, calc(100% - 64px));
  min-height: 88px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 42px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font: 800 25px "Manrope", sans-serif;
  letter-spacing: -1.4px;
  color: var(--green-dark);
}
.brand-logo {
  display: block;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #090b09;
  object-fit: cover;
  object-position: center;
}
.search-form {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 500px;
  height: 46px;
  flex: 1;
  border: 1px solid #e8e6df;
  border-radius: 9px;
  background: #fff;
  padding: 4px 5px 4px 14px;
}
.search-icon { color: #92948c; font-size: 25px; transform: rotate(-20deg); }
.search-form input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; font-size: 13px; }
.search-form input::placeholder { color: #a1a298; }
.search-form button, .primary-button {
  border: 0;
  border-radius: 7px;
  background: var(--green);
  color: white;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.search-form button { height: 36px; padding: 0 16px; font-size: 12px; }
.search-form button:hover, .primary-button:hover { background: var(--green-dark); }
.header-actions { display: flex; align-items: center; gap: 22px; white-space: nowrap; }
.profile-menu-container, .profile-menu-panel { display: contents; }
.profile-menu-toggle { display: none; }
.seller-link, .cart-button, .favorites-link { border: 0; background: none; cursor: pointer; font-size: 12px; font-weight: 700; }
.seller-link { color: var(--green-dark); }
.messages-link {
  position: relative;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid #a6ff0052;
  border-radius: 8px;
  background: #a6ff0012;
  color: #b8ff48;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}
.messages-link:hover { background: #a6ff0026; }
.messages-link[hidden] { display: none; }
.messages-unread-badge {
  display: inline-flex;
  min-width: 20px;
  height: 20px;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  border-radius: 999px;
  background: #e5484d;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
}
.messages-unread-badge[hidden] { display: none; }
.chat-badge {
  position: absolute;
  top: 0;
  right: 4px;
  display: inline-flex;
  min-width: 19px;
  height: 19px;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  border: 2px solid #111511;
  border-radius: 999px;
  background: #e5484d;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
  transform: translate(0, -40%);
}
.chat-badge.hidden, .chat-badge[hidden] { display: none; }
.account-messages-action { display: inline-flex; align-items: center; justify-content: space-between; gap: 12px; }
.seller-link[hidden], .seller-promo[hidden] { display: none; }
.seller-link > span:first-child { font-size: 18px; vertical-align: -2px; }
.favorites-link { display: inline-flex; align-items: center; gap: 5px; padding: 8px 0; color: #a6ff00; }
.favorites-link[aria-pressed="true"] { color: #d8ff9a; }
.favorites-link > span:first-child { font-size: 16px; }
.inventory-link {
  padding: 8px 10px;
  border: 1px solid #a6ff0052;
  border-radius: 8px;
  background: #a6ff0012;
  color: #b8ff48;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}
.inventory-link:hover { border-color: #a6ff00; background: #a6ff0020; }
.inventory-link[hidden] { display: none; }
.cart-button { display: flex; align-items: center; gap: 7px; }
.cart-button > span:first-child { font-size: 20px; }
.cart-count {
  display: inline-grid;
  place-items: center;
  min-width: 19px;
  height: 19px;
  border-radius: 50%;
  background: #ed815e;
  color: white;
  font-size: 10px;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1200px, calc(100% - 64px));
  min-height: 353px;
  margin: 10px auto 0;
  padding: 45px 9.1%;
  overflow: hidden;
  border-radius: 15px;
  background: #f1efe8;
}
.hero-copy { position: relative; z-index: 1; }
.eyebrow, .section-kicker {
  color: var(--green);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.15px;
}
.eyebrow { display: inline-flex; align-items: center; gap: 7px; }
.eyebrow span { color: var(--orange); font-size: 14px; }
h1, h2, p { margin-top: 0; }
.hero h1 {
  margin: 14px 0 10px;
  font: 800 clamp(32px, 4vw, 47px)/1.11 "Manrope", sans-serif;
  letter-spacing: -2.3px;
}
.hero-copy > p { margin-bottom: 21px; color: #73766d; font-size: 13px; }
.hero-cta { display: inline-flex; align-items: center; gap: 18px; color: var(--green-dark); font-size: 12px; font-weight: 700; }
.hero-cta span { font-size: 17px; }
.hero-art { position: absolute; top: 0; right: 9%; width: 38%; height: 100%; }
.sun-shape {
  position: absolute;
  width: 230px;
  height: 230px;
  top: 59px;
  right: 23px;
  border-radius: 50%;
  background: #e3b386;
}
.art-card {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 17px 32px #64412a26;
}
.art-card-back {
  top: 76px;
  right: 38px;
  width: 127px;
  height: 173px;
  transform: rotate(13deg);
  border: 9px solid #fbfaf7;
  background: #718366;
  color: #eec6a4;
  font-size: 76px;
}
.art-card-front {
  top: 94px;
  right: 135px;
  width: 133px;
  height: 165px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 17px 13px;
  transform: rotate(-9deg);
  background: #df805d;
  color: #fff4df;
  font: 800 19px/1.1 "Manrope", sans-serif;
  letter-spacing: -1px;
}
.art-flower { align-self: flex-end; font-size: 31px; }
.art-spark { position: absolute; color: #fff8eb; font-size: 30px; }
.spark-one { top: 52px; right: 1px; }
.spark-two { bottom: 46px; right: 73px; font-size: 22px; }
.hero-note { position: absolute; right: 31px; bottom: 20px; color: #77796f; font-size: 10px; }
.hero-note span { color: #df805d; font-size: 15px; vertical-align: -1px; }

.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(870px, calc(100% - 64px));
  margin: 23px auto 55px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.benefits > div { display: flex; align-items: center; justify-content: center; gap: 11px; }
.benefit-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #edf0e9; color: var(--green); font-size: 17px; }
.benefits strong, .benefits small { display: block; }
.benefits strong { font-size: 11px; }
.benefits small { margin-top: 3px; color: var(--muted); font-size: 9px; }

.marketplace { display: grid; grid-template-columns: 205px minmax(0, 1fr); gap: 56px; width: min(1080px, calc(100% - 64px)); margin: 0 auto 80px; }
.filters { padding-top: 5px; }
.filters h2, .products-heading h2, .modal h2 { margin: 8px 0 21px; font: 800 22px "Manrope", sans-serif; letter-spacing: -.8px; }
.category-list { display: flex; flex-direction: column; gap: 4px; }
.category-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 9px 10px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #71736a;
  text-align: left;
  font-size: 12px;
  cursor: pointer;
}
.category-button:hover, .category-button.active { background: #eff1eb; color: var(--green-dark); font-weight: 700; }
.category-button span:last-child { color: #a2a399; font-size: 10px; }
.filter-divider { height: 1px; margin: 22px 0 17px; background: var(--line); }
.sort-label { display: block; margin-bottom: 8px; font-size: 11px; font-weight: 700; }
.filters select, .modal select, .modal input {
  width: 100%;
  height: 41px;
  border: 1px solid #e6e4dd;
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  padding: 0 10px;
  font-size: 11px;
}
.seller-promo { margin-top: 34px; padding: 17px; border-radius: 10px; background: #f1efe8; }
.promo-icon { display: block; margin-bottom: 12px; color: var(--orange); font-size: 22px; }
.seller-promo strong { font: 700 13px "Manrope", sans-serif; }
.seller-promo p { margin: 7px 0 13px; color: #77796f; font-size: 10px; line-height: 1.6; }
.seller-promo button { padding: 0; border: 0; background: transparent; color: var(--green-dark); font-size: 10px; font-weight: 700; cursor: pointer; }
.seller-promo button span { margin-left: 5px; font-size: 14px; }
.products-heading { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 19px; }
.products-heading h2 { margin-bottom: 4px; font-size: 23px; }
.heading-spark { color: var(--orange); font-size: 17px; }
.result-count { margin: 0; color: var(--muted); font-size: 10px; }
.admin-mode-status { margin: 6px 0 0; color: #b8ff48; font-size: 10px; font-weight: 700; }
.admin-reports-panel { margin: 18px 0 24px; padding: 18px; border: 1px solid #a6ff0038; border-radius: 12px; background: #111711; }
.admin-reports-panel[hidden] { display: none; }
.admin-reports-heading, .admin-report-card-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.admin-reports-heading h3 { margin: 4px 0 0; font: 700 17px "Manrope", sans-serif; }
.admin-reports-refresh, .admin-report-actions button { min-height: 34px; padding: 7px 10px; border: 1px solid #394536; border-radius: 7px; background: #1b231a; color: #e8eee5; font: 700 10px "DM Sans", sans-serif; cursor: pointer; }
.admin-reports-refresh:hover, .admin-report-actions button:hover { border-color: #a6ff00; }
.admin-reports-status { min-height: 14px; margin: 12px 0; color: #a8b19f; font-size: 11px; }
.admin-reports-list { display: grid; gap: 10px; }
.admin-report-card { padding: 13px; border: 1px solid #303a2e; border-radius: 9px; background: #0c100c; }
.admin-report-card-heading strong, .admin-report-card-heading span { display: block; }
.admin-report-card-heading strong { font-size: 12px; }
.admin-report-card-heading div > span { margin-top: 4px; color: #aeb8a7; font-size: 10px; }
.admin-report-status { padding: 5px 8px; border-radius: 20px; background: #333b2f; color: #d7e4ca; font-size: 9px; font-weight: 700; white-space: nowrap; }
.admin-report-status.is-resolved { background: #17491b; color: #c6ffb1; }
.admin-report-status.is-dismissed { background: #3e3030; color: #ffd2cb; }
.admin-report-card > p { margin: 11px 0; color: #d0d7cb; font-size: 11px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.admin-report-card > small { color: #8d9787; font-size: 9px; overflow-wrap: anywhere; }
.admin-report-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.admin-report-actions button[data-report-delete-product], .admin-report-actions button[data-report-ban-user="true"] { border-color: #713933; background: #3b1b19; color: #ffd4ce; }
.admin-reports-empty { margin: 0; color: #a8b19f; font-size: 11px; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 18px; }
.product-card { min-width: 0; }
.product-image {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1.04;
  overflow: hidden;
  border-radius: 9px;
  background: var(--product-bg, #eeeae1);
}
.product-image::before { position: absolute; width: 70%; height: 70%; border: 1px solid #ffffff4d; border-radius: 50%; content: ""; }
.product-emoji { position: relative; filter: drop-shadow(0 12px 9px #30251b26); font-size: clamp(48px, 6vw, 79px); transition: transform .25s; }
.product-card:hover .product-emoji { transform: translateY(-5px) rotate(-3deg); }
.product-photo { position: relative; width: 100%; height: 100%; object-fit: cover; }
.product-tag { position: absolute; top: 10px; left: 10px; padding: 5px 8px; border-radius: 20px; background: #fffdf5dc; color: #5f6859; font-size: 8px; font-weight: 700; }
.discount-badge { position: absolute; top: 39px; left: 10px; padding: 5px 8px; border-radius: 20px; background: #a6ff00; color: #10150b; font-size: 8px; font-weight: 800; }
.favorite-button {
  position: absolute;
  top: 9px;
  right: 9px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: #fffdf5dc;
  color: #73766d;
  font-size: 16px;
  cursor: pointer;
}
.favorite-button.active { color: #df805d; }
.admin-delete-button {
  position: absolute;
  z-index: 2;
  top: 45px;
  right: 9px;
  padding: 6px 9px;
  border: 1px solid #ffb8ad80;
  border-radius: 6px;
  background: #651d1de8;
  color: #fff3f1;
  font-size: 9px;
  font-weight: 700;
  cursor: pointer;
}
.admin-delete-button:hover,
.admin-delete-button:focus-visible {
  background: #9c2828;
  outline: 2px solid #ffd1ca;
  outline-offset: 2px;
}
.product-info { padding: 11px 2px 0; }
.product-meta { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.product-category { color: #96978e; font-size: 9px; }
.condition-badge { padding: 3px 6px; border: 1px solid #a6ff0035; border-radius: 20px; color: #b8d98b; font-size: 8px; line-height: 1.2; white-space: nowrap; }
.product-name { display: block; overflow: hidden; margin: 4px 0; font: 700 13px "Manrope", sans-serif; text-overflow: ellipsis; white-space: nowrap; }
.product-store { color: #8b8d83; font-size: 9px; }
.product-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 9px; }
.product-prices { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.product-price-original { color: #929b91; font-size: 10px; }
.product-price { font: 800 14px "Manrope", sans-serif; }
.add-cart {
  width: 28px;
  height: 28px;
  border: 1px solid #e0e4dc;
  border-radius: 7px;
  background: #fff;
  color: var(--green);
  font-size: 19px;
  line-height: 1;
  cursor: pointer;
}
.add-cart:hover { background: var(--green); color: white; }
.add-cart:disabled { cursor: not-allowed; opacity: .55; }
.cart-button[hidden] { display: none; }
.guest-buy-button {
  width: 100%;
  min-height: 37px;
  margin: 8px 0 2px;
  border-radius: 10px;
  font-size: 10px;
}
.product-report-trigger {
  display: block;
  min-height: 30px;
  margin: 7px auto 0;
  padding: 4px 8px;
  border: 0;
  background: transparent;
  color: #b66b60;
  font: 600 10px "DM Sans", sans-serif;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.product-report-trigger:hover { color: #8f3027; }
.guest-buy-button:disabled {
  cursor: not-allowed;
  opacity: .6;
}
.empty-state { grid-column: 1 / -1; padding: 40px 15px; color: var(--muted); text-align: center; font-size: 13px; }

.site-footer { display: flex; align-items: center; justify-content: space-between; width: min(1080px, calc(100% - 64px)); min-height: 84px; margin: auto; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.footer-brand { font-size: 19px; }
.footer-brand .brand-logo { width: 34px; height: 34px; }
.site-footer p { margin: 0; }
.site-footer > span span { color: var(--orange); }
.footer-meta { display: grid; gap: 9px; justify-items: end; }
.legal-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 14px; }
.legal-links a { color: #aab2a8; font-size: 10px; }
.legal-links a:hover { color: #c6ff79; }
.legal-consent {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  gap: 9px;
  margin: 16px 0 4px;
  padding: 12px;
  border: 1px solid #a6ff0030;
  border-radius: 9px;
  background: #a6ff0008;
}
.legal-consent[hidden] { display: none; }
.legal-consent input[type="checkbox"] {
  width: 17px;
  height: 17px;
  margin: 2px 0 0;
  accent-color: #a6ff00;
}
.legal-consent .checkout-button { grid-column: 1 / -1; }
.legal-consent label {
  margin: 0;
  color: #c2c9c0;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.65;
}
.legal-consent a {
  color: #c6ff79;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-consent a:hover { color: #e0ffad; }
.seller-consent { margin-top: 19px; }
.google-consent { margin: 14px 0 0; }
.turnstile-widget { min-height: 65px; margin: 14px 0 8px; }
.turnstile-widget[hidden] { display: none; }
.policy-dialog { width: min(740px, calc(100% - 30px)); }
.policy-dialog .modal-content {
  max-height: min(88vh, 820px);
  overflow-y: auto;
  scrollbar-color: #526148 #121712;
}
.policy-dialog .modal-intro { margin: 8px 0 17px; }
.policy-tabs {
  position: sticky;
  z-index: 2;
  top: -1px;
  display: flex;
  gap: 7px;
  margin: 0 -4px 16px;
  padding: 7px 4px;
  border-bottom: 1px solid #252b24;
  background: #101410ed;
  backdrop-filter: blur(12px);
}
.policy-tabs button {
  min-height: 35px;
  padding: 0 11px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #aab2a8;
  font: 600 10px "DM Sans", sans-serif;
  cursor: pointer;
}
.policy-tabs button[aria-selected="true"] {
  border-color: #a6ff003b;
  background: #a6ff0013;
  color: #c6ff79;
}
.policy-tabs button:focus-visible, .legal-links a:focus-visible,
.legal-consent a:focus-visible {
  outline: 2px solid #a6ff00;
  outline-offset: 3px;
}
.policy-panel h3 {
  margin: 18px 0 7px;
  color: #eef4e9;
  font: 700 13px "Manrope", sans-serif;
}
.policy-panel h3:first-child { margin-top: 3px; }
.policy-panel p, .policy-panel li {
  color: #bac3b8;
  font-size: 11px;
  line-height: 1.75;
}
.policy-panel p { margin-bottom: 11px; }
.policy-panel ul {
  display: grid;
  gap: 7px;
  margin: 0 0 14px;
  padding-left: 20px;
}
.policy-setup-notice {
  padding: 11px 12px;
  border: 1px solid #a6ff0040;
  border-radius: 8px;
  background: #a6ff000c;
  color: #d6f4b0 !important;
}
.policy-disclaimer {
  margin: 16px 0 0;
  padding-top: 12px;
  border-top: 1px solid #252b24;
  color: #929b91;
  font-size: 9px;
  line-height: 1.6;
}

.modal { width: min(440px, calc(100% - 30px)); max-height: min(90vh, 760px); padding: 0; border: 0; border-radius: 14px; background: #fbfaf7; color: var(--ink); box-shadow: 0 25px 80px #1c241b38; }
.modal::backdrop { background: #1e261fb0; backdrop-filter: blur(3px); }
.modal-content { position: relative; max-height: min(90vh, 760px); overflow-y: auto; padding: 31px; }
.modal-close { position: absolute; top: 17px; right: 18px; width: 30px; height: 30px; border: 0; border-radius: 50%; background: #eeece5; color: #606259; font-size: 21px; cursor: pointer; }
.modal h2 { max-width: 340px; margin: 9px 0 8px; font-size: 24px; }
.modal-intro { margin-bottom: 21px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.modal label { display: block; margin: 13px 0 6px; font-size: 10px; font-weight: 700; }
.modal input, .modal select { height: 42px; font-size: 12px; }
.primary-button { min-height: 43px; padding: 0 17px; font-size: 11px; }
.modal-submit { width: 100%; margin-top: 20px; }
.modal-submit span, .checkout-button span { margin-left: 8px; font-size: 15px; }
.form-message { min-height: 14px; margin: 10px 0 0; color: var(--green); font-size: 10px; }
.form-message.success { color: #39d353; font-weight: 700; }
.cart-modal { width: min(480px, calc(100% - 30px)); }
.cart-items { max-height: 360px; overflow: auto; }
.cart-empty { padding: 23px 0; color: var(--muted); font-size: 12px; }
.cart-row { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 11px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cart-row-art { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 8px; background: var(--product-bg); font-size: 25px; }
.cart-row-name { display: block; margin-bottom: 4px; font: 700 11px "Manrope", sans-serif; }
.cart-row-price { color: var(--muted); font-size: 10px; }
.cart-quantity { display: flex; align-items: center; gap: 8px; }
.cart-quantity button { display: grid; place-items: center; width: 22px; height: 22px; border: 1px solid var(--line); border-radius: 5px; background: #fff; cursor: pointer; }
.cart-quantity span { min-width: 11px; text-align: center; font-size: 10px; }
.cart-total { display: flex; justify-content: space-between; margin: 19px 0; font-size: 12px; }
.cart-total strong { font: 800 16px "Manrope", sans-serif; }
.checkout-actions { display: grid; gap: 9px; }
.checkout-button { width: 100%; }
.checkout-button:disabled { cursor: not-allowed; opacity: .5; }
.checkout-actions + .form-message:empty, #detail-buy-message:empty { display: none; }
.transparent-checkout { margin: 18px 0; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: #10140f; color: #f4f7f3; }
.payment-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.payment-tab { min-height: 40px; border: 1px solid #394034; border-radius: 8px; background: #171d16; color: #dfe5da; font-size: 11px; font-weight: 700; cursor: pointer; }
.payment-tab[aria-selected="true"] { border-color: #a6ff00; background: #a6ff0017; color: #c6ff6a; }
.payment-summary { display: flex; justify-content: space-between; margin-bottom: 12px; color: #dfe5da; font-size: 11px; }
.payment-summary strong { color: #c6ff6a; font-size: 14px; }
.transparent-checkout label { color: #e6e9e2; }
.transparent-checkout input, .transparent-checkout select, .mp-card-field {
  box-sizing: border-box;
  width: 100%;
  min-height: 42px;
  padding: 0 11px;
  border: 1px solid #394034;
  border-radius: 7px;
  background: #0c100c;
  color: #f4f7f3;
  font-size: 12px;
}
.transparent-checkout input:focus, .transparent-checkout select:focus, .mp-card-field:focus-within { border-color: #a6ff00; outline: 2px solid #a6ff001c; }
.mp-card-field { display: flex; align-items: center; padding: 0; overflow: hidden; }
.mp-card-field iframe { width: 100%; height: 40px; border: 0; }
.card-expiration-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pix-payment-result { display: grid; justify-items: center; gap: 12px; margin-top: 18px; text-align: center; }
.pix-payment-result p { margin: 0; color: #dfe5da; font-size: 11px; line-height: 1.6; }
.pix-payment-result .pix-expiration-countdown { color: #c6ff6a; font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.pix-expiration-countdown:empty { display: none; }
.pix-qr-stage {
  display: grid;
  place-items: center;
  width: min(300px, 100%);
  aspect-ratio: 1;
  padding: 18px;
  border: 1px solid #dfe4dc;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 26px #00000018;
}
.pix-qr-stage #pix-qr-image {
  display: block;
  width: 100%;
  max-width: 260px;
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #fff;
  image-rendering: pixelated;
}
.pix-payment-result textarea { box-sizing: border-box; width: 100%; min-height: 78px; padding: 9px; border: 1px solid #394034; border-radius: 7px; background: #0c100c; color: #f4f7f3; font-size: 10px; resize: vertical; }
#transparent-payment-message:empty { display: none; }
.checkout-reload-button { width: 100%; margin-top: 8px; border: 0; background: transparent; color: #c6ff6a; font-size: 11px; text-decoration: underline; cursor: pointer; }
.checkout-cancel-button {
  width: 100%;
  min-height: 44px;
  margin-top: 10px;
  border: 1px solid #394034;
  border-radius: 9px;
  background: #171d16;
  color: #dfe5da;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}
.checkout-cancel-button:hover { border-color: #a6ff00; color: #c6ff6a; }
.checkout-cancel-button:disabled { cursor: progress; opacity: .65; }
.product-tag.sold-out-tag { background: #303830; color: #f2f5ef; }
.detail-stock { margin: -7px 0 15px; color: #b8ff48; font-size: 10px; font-weight: 700; }
.detail-buy:disabled { cursor: not-allowed; opacity: .55; }

.verification-notice {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  width: min(1120px, calc(100% - 64px));
  margin: 16px auto;
  padding: 16px 19px;
  border: 1px solid #a6ff0052;
  border-radius: 10px;
  background: #111711;
  color: #f4f7f3;
}
.verification-notice[hidden] { display: none; }
.verification-notice strong { font-size: 12px; }
.verification-notice p { margin: 5px 0 0; color: #aab2a8; font-size: 10px; }
.verification-actions { display: flex; gap: 8px; }
.verification-actions button {
  padding: 8px 11px;
  border: 1px solid #a6ff0052;
  border-radius: 7px;
  background: #a6ff0012;
  color: #c6ff79;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}
.verification-actions button:hover { border-color: #a6ff00; }
.verification-notice .verification-message { flex-basis: 100%; margin: -5px 0 0; color: #c6ff79; }
.inventory-dialog {
  width: min(680px, calc(100% - 30px));
  color-scheme: dark;
  border: 1px solid #2b332a;
  background: #101410;
  color: #f4f7f3;
}
.inventory-dialog .modal-content { max-height: min(90vh, 760px); overflow-y: auto; }
.inventory-dialog .modal-close { background: #202720; color: #f4f7f3; }
.inventory-dialog h2 { color: #f4f7f3; }
.inventory-dialog .modal-intro { color: #929b91; }
.inventory-status { min-height: 14px; margin: 8px 0; color: #b8ff48; font-size: 10px; }
.inventory-items { display: grid; gap: 10px; }
.inventory-empty { margin: 0; padding: 24px 12px; border: 1px dashed #384432; border-radius: 9px; color: #929b91; text-align: center; font-size: 11px; }
.inventory-row { padding: 14px; border: 1px solid #2a3129; border-radius: 9px; background: #141914; }
.inventory-product-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 11px; }
.inventory-product-heading strong { overflow: hidden; font: 700 12px "Manrope", sans-serif; text-overflow: ellipsis; white-space: nowrap; }
.inventory-state { color: #b8ff48; font-size: 9px; font-weight: 700; }
.inventory-state.paused, .inventory-state.sold-out { color: #f2a38e; }
.inventory-edit-form { display: grid; grid-template-columns: minmax(110px, 1fr) minmax(100px, 1fr) auto; align-items: end; gap: 9px; }
.inventory-edit-form { grid-template-columns: repeat(4, minmax(90px, 1fr)) auto; }
.inventory-edit-form label { margin: 0; color: #aab2a8; font-size: 9px; font-weight: 700; }
.inventory-edit-form input { display: block; width: 100%; height: 37px; margin-top: 5px; padding: 0 9px; border: 1px solid #30382e; border-radius: 6px; background: #0d110d; color: #f4f7f3; }
.inventory-edit-form select { display: block; width: 100%; height: 37px; margin-top: 5px; padding: 0 7px; border: 1px solid #30382e; border-radius: 6px; background: #0d110d; color: #f4f7f3; font-size: 10px; }
.inventory-save { min-height: 37px; padding: 0 14px; }
.inventory-actions { display: flex; gap: 8px; margin-top: 10px; }
.inventory-actions button { min-height: 32px; padding: 0 10px; border: 1px solid #384432; border-radius: 6px; background: transparent; color: #c5ff71; font-size: 9px; font-weight: 700; cursor: pointer; }
.inventory-actions button:hover { border-color: #a6ff00; background: #a6ff0012; }
.inventory-actions .inventory-delete { border-color: #623c35; color: #f2a38e; }
.inventory-actions .inventory-delete:hover { border-color: #f2785e; background: #f2785e12; }
:root[data-theme="light"] .inventory-dialog { border-color: #2b332a; background: #101410; color: #f4f7f3; }
:root[data-theme="light"] .inventory-dialog h2 { color: #f4f7f3; }
:root[data-theme="light"] .inventory-dialog .modal-close { background: #202720; color: #f4f7f3; }
:root[data-theme="light"] .inventory-edit-form input { border-color: #30382e; background: #0d110d; color: #f4f7f3; }
:root[data-theme="light"] .inventory-edit-form select { border-color: #30382e; background: #0d110d; color: #f4f7f3; }
:root[data-theme="light"] .verification-notice { border-color: #a6d45d; background: #f0f8e6; color: #20251e; }
:root[data-theme="light"] .verification-notice p { color: #596353; }
:root[data-theme="light"] .verification-actions button { color: #385a00; }

@media (max-width: 900px) {
  .site-header { gap: 20px; }
  .header-actions { gap: 13px; }
  .seller-link { font-size: 0; }
  .seller-link > span:first-child { font-size: 22px; }
  #seller-action-label { display: none; }
  .marketplace { grid-template-columns: 170px minmax(0, 1fr); gap: 28px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .site-header { width: calc(100% - 32px); min-height: 72px; flex-wrap: wrap; gap: 10px; padding: 12px 0; }
  .brand { font-size: 22px; }
  .brand-logo { width: 36px; height: 36px; }
  .header-actions { margin-left: auto; }
  .cart-label { display: none; }
  #favorites-label { display: none; }
  .search-form { order: 3; flex-basis: 100%; max-width: none; height: 42px; }
  .hero { width: calc(100% - 32px); min-height: 405px; align-items: flex-start; margin-top: 5px; padding: 35px 25px; }
  .hero h1 { font-size: 35px; }
  .hero-copy > p { max-width: 235px; font-size: 11px; line-height: 1.6; }
  .hero-art { top: 143px; right: 3%; width: 70%; height: 245px; opacity: .94; }
  .sun-shape { top: 25px; right: 9%; width: 190px; height: 190px; }
  .art-card-back { top: 39px; right: 11%; width: 100px; height: 140px; font-size: 60px; }
  .art-card-front { top: 53px; right: 43%; width: 109px; height: 136px; font-size: 17px; }
  .hero-note { right: 15px; bottom: 14px; font-size: 9px; }
  .benefits { width: calc(100% - 38px); grid-template-columns: 1fr; gap: 14px; margin: 19px auto 38px; padding: 0 0 21px; }
  .benefits > div { justify-content: flex-start; }
  .benefit-icon { width: 30px; height: 30px; }
  .marketplace { display: block; width: calc(100% - 36px); margin-bottom: 55px; }
  .filters { margin-bottom: 27px; }
  .filters h2 { margin-bottom: 10px; font-size: 19px; }
  .category-list { flex-direction: row; overflow-x: auto; padding-bottom: 4px; }
  .category-button { width: auto; flex-shrink: 0; gap: 6px; padding: 8px 10px; }
  .filter-divider, .sort-label, .filters select, .seller-promo { display: none; }
  .products-heading h2 { font-size: 21px; }
  .product-grid { gap: 20px 12px; }
  .product-image { border-radius: 8px; }
  .product-tag { top: 7px; left: 7px; padding: 4px 6px; font-size: 7px; }
  .favorite-button { top: 6px; right: 6px; width: 25px; height: 25px; }
  .product-name { font-size: 11px; }
  .product-price { font-size: 12px; }
  .site-footer { width: calc(100% - 36px); flex-wrap: wrap; gap: 8px; padding: 17px 0; }
  .site-footer p { order: 3; width: 100%; }
  .modal-content { padding: 26px 22px; }
}

/* adeiblack dark and neon identity */
:root {
  color-scheme: dark;
  color: #f4f7f3;
  background: #090b09;
  --ink: #f4f7f3;
  --muted: #929b91;
  --green: #a6ff00;
  --green-dark: #a6ff00;
  --cream: #111511;
  --orange: #a6ff00;
  --line: #252b24;
}

body { background: #090b09; color: #f4f7f3; }
.site-header {
  width: min(1240px, calc(100% - 64px));
  min-height: 84px;
  border-bottom: 1px solid #ffffff0d;
}
.brand { color: #f4f7f3; gap: 10px; letter-spacing: -1.1px; }
.brand-logo { box-shadow: 0 0 0 1px #a6ff0040, 0 0 22px #a6ff0033; }
.search-form { border-color: #282e27; background: #111511; }
.search-form:focus-within { border-color: #a6ff00; box-shadow: 0 0 0 3px #a6ff0014; }
.search-form input { color: #f4f7f3; }
.search-form input::placeholder { color: #747e73; }
.search-form button, .primary-button { background: #a6ff00; color: #10150b; }
.search-form button:hover, .primary-button:hover { background: #c0ff4d; }
.seller-link, .hero-cta, .seller-promo button { color: #a6ff00; }
.cart-button { color: #f4f7f3; }
.cart-count { background: #a6ff00; color: #10150b; }
.hero {
  width: min(1240px, calc(100% - 64px));
  min-height: 370px;
  border: 1px solid #a6ff0021;
  border-radius: 16px;
  background:
    radial-gradient(ellipse at 78% 50%, #a6ff0014 0, transparent 36%),
    linear-gradient(115deg, #141914 0%, #0e120e 72%);
}
.eyebrow, .section-kicker { color: #a6ff00; }
.eyebrow span, .eyebrow span, .heading-spark, .hero-note span { color: #a6ff00; }
.hero h1 { color: #f6f8f5; }
.hero-copy > p, .hero-note { color: #9ba49a; }
.sun-shape {
  width: 220px;
  height: 220px;
  border: 1px solid #a6ff0066;
  background: radial-gradient(circle at 45% 40%, #bcff3b 0, #a6ff00 52%, #5b9700 100%);
  box-shadow: 0 0 75px #a6ff0036;
}
.art-card { box-shadow: 0 18px 42px #0009; }
.art-card-back { border-color: #181e18; background: #222b20; color: #a6ff00; }
.art-card-front { background: #f4f7f3; color: #111511; }
.art-spark { color: #a6ff00; }
.hero-note { color: #aeb6ad; }
.benefits { width: min(920px, calc(100% - 64px)); border-color: #252b24; }
.benefit-icon { background: #a6ff0014; color: #a6ff00; }
.benefits strong { color: #f4f7f3; }
.benefits small { color: #929b91; }
.marketplace { width: min(1120px, calc(100% - 64px)); }
.filters h2, .products-heading h2, .modal h2 { color: #f4f7f3; }
.category-button { color: #aab2a8; }
.category-button:hover, .category-button.active { background: #a6ff0014; color: #b8ff48; }
.category-button span:last-child { color: #758071; }
.filter-divider { background: #252b24; }
.filters select, .modal select, .modal input {
  border-color: #2a3129;
  background: #111511;
  color: #f4f7f3;
}
.filters select:focus, .modal select:focus, .modal input:focus { border-color: #a6ff00; outline: 2px solid #a6ff001c; }
.seller-promo { border: 1px solid #a6ff0026; background: #111711; }
.promo-icon { color: #a6ff00; }
.seller-promo p { color: #929b91; }
.product-image {
  border: 1px solid #ffffff0c;
  background:
    radial-gradient(circle at 50% 48%, #a6ff0016 0, transparent 54%),
    linear-gradient(145deg, #171d17, #101310) !important;
}
.product-image::before { border-color: #a6ff0026; }
.product-tag { background: #a6ff00; color: #10150b; }
.favorite-button { background: #090b09cc; color: #eaf0e8; }
.favorite-button.active { color: #a6ff00; }
.product-category, .product-store { color: #929b91; }
.product-name { color: #f4f7f3; }
.product-price { color: #d8ff9a; }
.add-cart { border-color: #a6ff0052; background: #a6ff0012; color: #b8ff48; }
.add-cart:hover { background: #a6ff00; color: #10150b; }
.empty-state { color: #929b91; }
.site-footer { border-color: #252b24; color: #929b91; }
.modal { border: 1px solid #2b332a; background: #101410; color: #f4f7f3; }
.modal::backdrop { background: #000c; }
.modal-close { background: #202720; color: #f4f7f3; }
.modal-intro, .cart-row-price, .cart-empty { color: #929b91; }
.form-message { color: #b8ff48; }
.cart-row { border-color: #252b24; }
.cart-row-art { background: #1b221a; }
.cart-quantity button { border-color: #30382e; background: #171c17; color: #f4f7f3; }
.cart-total { color: #e4e9e2; }
.cart-total strong { color: #c5ff71; }
.checkout-button:disabled { cursor: not-allowed; opacity: .45; }

@media (max-width: 620px) {
  .site-header, .hero { width: calc(100% - 32px); }
  .hero { background:
    radial-gradient(ellipse at 75% 75%, #a6ff0012 0, transparent 40%),
    linear-gradient(115deg, #141914 0%, #0e120e 72%); }
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border: 1px solid #313a2f;
  border-radius: 8px;
  background: #111511;
  color: #dce4da;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.theme-toggle span:first-child { color: #a6ff00; font-size: 16px; }
.theme-toggle:hover { border-color: #a6ff00; }
.price-filter { margin-top: 18px; }
.price-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.price-inputs input, .modal textarea {
  width: 100%;
  min-width: 0;
  height: 40px;
  padding: 0 9px;
  border: 1px solid #2a3129;
  border-radius: 7px;
  background: #111511;
  color: #f4f7f3;
  font: inherit;
  font-size: 11px;
}
.price-message { min-height: 14px; margin: 6px 0 0; color: #b8ff48; font-size: 9px; }
.product-details-trigger {
  position: absolute;
  z-index: 1;
  bottom: 10px;
  left: 50%;
  padding: 7px 12px;
  transform: translate(-50%, 5px);
  border: 1px solid #a6ff0080;
  border-radius: 20px;
  background: #090b09df;
  color: #c6ff79;
  font-size: 9px;
  font-weight: 700;
  opacity: 0;
  cursor: pointer;
  transition: opacity .2s, transform .2s;
}
.product-card:hover .product-details-trigger, .product-details-trigger:focus-visible {
  transform: translate(-50%, 0);
  opacity: 1;
}
.product-name-button {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.product-name-button:hover { color: #b8ff48; }
.product-dialog { width: min(500px, calc(100% - 30px)); }
.detail-art {
  position: relative;
  display: grid;
  place-items: center;
  height: clamp(240px, 45vh, 440px);
  margin: -31px -31px 22px;
  padding: 14px;
  box-sizing: border-box;
  border-bottom: 1px solid #a6ff0025;
  background:
    radial-gradient(circle, #a6ff0021 0, transparent 55%),
    #171d17;
}
.detail-art span { font-size: 100px; filter: drop-shadow(0 12px 18px #0008); }
.detail-art img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  padding: 12px;
  box-sizing: border-box;
  object-fit: contain;
  object-position: center;
}
.detail-store { margin: 0 0 14px; color: #929b91; font-size: 11px; }
.detail-description { min-height: 35px; margin: 14px 0 20px; color: #c2c9c0; font-size: 12px; line-height: 1.65; }
.detail-costs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0; }
.detail-costs div { display: flex; flex-direction: column; gap: 6px; padding: 12px; border: 1px solid #2a3129; border-radius: 8px; background: #141914; }
.detail-costs span { color: #929b91; font-size: 10px; }
.detail-costs strong { color: #d8ff9a; font: 800 14px "Manrope", sans-serif; }
.detail-buy { width: 100%; }
.checkout-hint { margin: 6px 0 15px; color: #929b91; font-size: 9px; }
.database-status { margin: 0 auto; padding: 0 16px 12px; color: #768174; text-align: center; font-size: 9px; }
.product-success-notice {
  position: fixed;
  z-index: 20;
  right: 20px;
  bottom: 20px;
  max-width: min(360px, calc(100% - 40px));
  margin: 0;
  padding: 14px 18px;
  border: 1px solid #39d353;
  border-radius: 10px;
  background: #102114;
  box-shadow: 0 12px 35px #0008;
  color: #57e66d;
  font-size: 13px;
  font-weight: 700;
}
.product-success-notice[hidden] { display: none; }
:root[data-theme="light"] {
  color-scheme: light;
  color: #1f2937;
  background: #f4f6f8;
  --ink: #1f2937;
  --muted: #667085;
  --green: #4c7800;
  --green-dark: #385a00;
  --cream: #eef2f6;
  --line: #e2e8f0;
}
:root[data-theme="light"] body { background: #f4f6f8; color: #1f2937; }
:root[data-theme="light"] .site-header { border-color: #e2e8f0; }
:root[data-theme="light"] .brand { color: #1f2937; }
:root[data-theme="light"] .brand-logo { box-shadow: 0 0 0 1px #8acb0040; }
:root[data-theme="light"] .search-form { border-color: #d8e0e9; background: #fff; box-shadow: 0 2px 8px #1f29370a; }
:root[data-theme="light"] .search-form input { color: #1f2937; }
:root[data-theme="light"] .search-form input::placeholder { color: #7c8679; }
:root[data-theme="light"] .search-form button, :root[data-theme="light"] .primary-button { background: #a6ff00; color: #10150b; }
:root[data-theme="light"] .seller-link, :root[data-theme="light"] .hero-cta, :root[data-theme="light"] .seller-promo button { color: #385a00; }
:root[data-theme="light"] .favorites-link { color: #385a00; }
:root[data-theme="light"] .favorites-link[aria-pressed="true"] { color: #20251e; }
:root[data-theme="light"] .inventory-link { border-color: #a6d45d; background: #f0f8e6; color: #385a00; }
:root[data-theme="light"] .cart-button { color: #20251e; }
:root[data-theme="light"] .hero {
  border-color: #dce4d6;
  background:
    radial-gradient(ellipse at 78% 50%, #a6ff0024 0, transparent 36%),
    linear-gradient(115deg, #fff 0%, #eef5e8 72%);
}
:root[data-theme="light"] .hero h1, :root[data-theme="light"] .filters h2, :root[data-theme="light"] .products-heading h2 { color: #1f2937; }
:root[data-theme="light"] .hero-copy > p, :root[data-theme="light"] .hero-note { color: #667085; }
:root[data-theme="light"] .art-card-back { border-color: #f5f7f2; background: #dfe9d6; color: #527725; }
:root[data-theme="light"] .art-card-front { background: #20251e; color: #f4f7f3; }
:root[data-theme="light"] .benefits strong { color: #20251e; }
:root[data-theme="light"] .benefits small, :root[data-theme="light"] .result-count { color: #737c70; }
:root[data-theme="light"] .category-button { color: #596353; }
:root[data-theme="light"] .category-button:hover, :root[data-theme="light"] .category-button.active { background: #e6efd9; color: #385a00; }
:root[data-theme="light"] .filters select, :root[data-theme="light"] .modal select, :root[data-theme="light"] .modal input,
:root[data-theme="light"] .price-inputs input, :root[data-theme="light"] .modal textarea {
  border-color: #d6dfd0;
  background: #fff;
  color: #20251e;
}
:root[data-theme="light"] .seller-promo { border-color: #dbe8cc; background: #edf3e8; }
:root[data-theme="light"] .product-image {
  border-color: #e0e7dc;
  background:
    radial-gradient(circle at 50% 48%, #a6ff0030 0, transparent 54%),
    linear-gradient(145deg, #eef3e9, #e4ebdf) !important;
}
:root[data-theme="light"] .favorite-button { background: #fffdf5e8; color: #41483e; }
:root[data-theme="light"] .admin-delete-button {
  border-color: #b42318;
  background: #fff3f0;
  color: #8f1d14;
}
:root[data-theme="light"] .admin-delete-button:hover,
:root[data-theme="light"] .admin-delete-button:focus-visible {
  background: #ffe2dc;
}
:root[data-theme="light"] .admin-mode-status { color: #385a00; }
:root[data-theme="light"] .admin-reports-panel { border-color: #d7e4c9; background: #f0f5eb; }
:root[data-theme="light"] .admin-reports-heading h3,
:root[data-theme="light"] .admin-report-card-heading strong { color: #20251e; }
:root[data-theme="light"] .admin-reports-status,
:root[data-theme="light"] .admin-report-card-heading div > span,
:root[data-theme="light"] .admin-report-card > small,
:root[data-theme="light"] .admin-reports-empty { color: #596353; }
:root[data-theme="light"] .admin-report-card { border-color: #d6dfd0; background: #fff; }
:root[data-theme="light"] .admin-report-card > p { color: #344033; }
:root[data-theme="light"] .admin-reports-refresh,
:root[data-theme="light"] .admin-report-actions button,
:root[data-theme="light"] .product-report-actions > button:first-child { border-color: #cbd6c2; background: #f8faf6; color: #344033; }
:root[data-theme="light"] .detail-actions .detail-report-button { border-color: #efc6bf; background: #fff3f0; color: #912018; }
:root[data-theme="light"] .product-report-trigger { color: #912018; }
:root[data-theme="light"] .product-report-form { border-color: #efc6bf; background: #fff8f6; }
:root[data-theme="light"] .product-report-form label { color: #344033; }
:root[data-theme="light"] .product-report-form select,
:root[data-theme="light"] .product-report-form textarea { border-color: #d6dfd0; background: #fff; color: #20251e; }
:root[data-theme="light"] .product-name { color: #1f2937; }
:root[data-theme="light"] .product-name-button:hover { color: #4b7000; }
:root[data-theme="light"] .product-price { color: #385a00; }
:root[data-theme="light"] .add-cart { border-color: #c7d7b8; background: #fff; color: #385a00; }
:root[data-theme="light"] .add-cart:hover { background: #a6ff00; color: #10150b; }
:root[data-theme="light"] .site-footer { border-color: #e2e8f0; color: #667085; }
:root[data-theme="light"] .modal { border-color: #e2e8f0; background: #fff; color: #1f2937; box-shadow: 0 20px 56px #1f29371f; }
:root[data-theme="light"] .modal-close { background: #edf1e9; color: #41483e; }
:root[data-theme="light"] .modal h2 { color: #1f2937; }
:root[data-theme="light"] .modal-intro, :root[data-theme="light"] .cart-row-price, :root[data-theme="light"] .cart-empty,
:root[data-theme="light"] .detail-store, :root[data-theme="light"] .checkout-hint { color: #737c70; }
:root[data-theme="light"] .cart-row { border-color: #e1e6dc; }
:root[data-theme="light"] .cart-row-art { background: #edf2e8; }
:root[data-theme="light"] .cart-quantity button { border-color: #d6dfd0; background: #fff; color: #20251e; }
:root[data-theme="light"] .cart-total { color: #1f2937; }
:root[data-theme="light"] .cart-total strong { color: #385a00; }
:root[data-theme="light"] .detail-art { border-color: #dce7d1; background: radial-gradient(circle, #a6ff0030 0, transparent 55%), #eef4e9; }
:root[data-theme="light"] .detail-description { color: #4e584b; }
:root[data-theme="light"] .detail-costs div { border-color: #dce4d6; background: #f7f9f5; }
:root[data-theme="light"] .detail-costs strong { color: #385a00; }
:root[data-theme="light"] .theme-toggle { border-color: #d8e0e9; background: #fff; color: #344054; }
:root[data-theme="light"] .theme-toggle span:first-child { color: #4c7800; }
:root[data-theme="light"] .database-status { color: #737c70; }
:root[data-theme="light"] .legal-links a { color: #596353; }
:root[data-theme="light"] .legal-links a:hover,
:root[data-theme="light"] .legal-consent a { color: #385a00; }
:root[data-theme="light"] .legal-consent { border-color: #d6e8bf; background: #f4f8ee; }
:root[data-theme="light"] .legal-consent label { color: #4e584b; }
:root[data-theme="light"] .policy-tabs { border-color: #e1e6dc; background: #ffffffed; }
:root[data-theme="light"] .policy-tabs button { color: #596353; }
:root[data-theme="light"] .policy-tabs button[aria-selected="true"] { border-color: #a6d45d; background: #f0f8e6; color: #385a00; }
:root[data-theme="light"] .policy-panel h3 { color: #20251e; }
:root[data-theme="light"] .policy-panel p, :root[data-theme="light"] .policy-panel li { color: #4e584b; }
:root[data-theme="light"] .policy-setup-notice { border-color: #d6e8bf; background: #f4f8ee; color: #385a00 !important; }
:root[data-theme="light"] .policy-disclaimer { border-color: #dfe5da; color: #737c70; }

.auth-button {
  max-width: 150px;
  overflow: hidden;
  padding: 8px 11px;
  border: 1px solid #384432;
  border-radius: 8px;
  background: #a6ff00;
  color: #10150b;
  font-size: 11px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
}
.auth-button:hover { background: #c0ff4d; }
.logout-button { border-color: #313a2f; background: transparent; color: #dce4da; }
.logout-button:hover { border-color: #a6ff00; background: #a6ff0012; }
.google-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 43px;
  margin-top: 12px;
  border: 1px solid #384432;
  border-radius: 7px;
  background: transparent;
  color: #f4f7f3;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}
.google-button:hover { border-color: #a6ff00; background: #a6ff000b; }
.google-button span { font: 800 16px Arial, sans-serif; color: #a6ff00; }
.auth-switch {
  display: block;
  margin: 15px auto 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #c6ff79;
  font-size: 10px;
  cursor: pointer;
}
.reset-password { margin-top: 11px; color: #a2ada0; }
.form-message.error { color: #ff9082; }
.auth-dialog[open] .modal-content { padding-top: 34px; }
.auth-dialog #auth-form[hidden], .auth-dialog [hidden] { display: none; }
.auth-dialog .modal-submit { margin-top: 19px; }
:root[data-theme="light"] .auth-button { border-color: #a6ff00; background: #a6ff00; color: #10150b; }
:root[data-theme="light"] .logout-button { border-color: #d5dfcf; background: #fff; color: #354032; }
:root[data-theme="light"] .logout-button:hover { background: #eef5e8; }
:root[data-theme="light"] .google-button { border-color: #d5dfcf; color: #20251e; }
:root[data-theme="light"] .google-button:hover { border-color: #4c7800; background: #a6ff0014; }
:root[data-theme="light"] .google-button span { color: #4c7800; }
:root[data-theme="light"] .auth-switch { color: #385a00; }
:root[data-theme="light"] .reset-password { color: #737c70; }
:root[data-theme="light"] .form-message.error { color: #b42318; }
:root[data-theme="light"] .form-message.success { color: #237a2b; }

@media (max-width: 620px) {
  .header-actions { gap: 7px; }
  .auth-button { max-width: 94px; padding: 7px 8px; font-size: 10px; }
  .favorites-link { padding: 7px 4px; }
  .auth-dialog .modal-content { padding: 29px 22px; }
  .footer-meta { width: 100%; justify-items: flex-start; }
  .legal-links { justify-content: flex-start; }
  .policy-tabs { overflow-x: auto; }
  .policy-tabs button { flex: 0 0 auto; }
  .policy-panel p, .policy-panel li { font-size: 10px; }
}

.product-card { cursor: pointer; }
.product-image { isolation: isolate; }
.product-photo {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-tag, .favorite-button, .product-details-trigger { z-index: 1; }
.product-name-button { cursor: pointer; }
.upload-hint { margin: 7px 0 3px; color: #929b91; font-size: 9px; line-height: 1.5; }
.upload-status { min-height: 13px; margin: 5px 0; color: #c6ff79; font-size: 10px; }
.upload-status.error { color: #ff9082; }
.upload-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  justify-items: center;
  min-height: 90px;
  max-height: 190px;
  margin: 8px 0 13px;
  overflow: hidden;
  border: 1px solid #30382e;
  border-radius: 8px;
  background: #141914;
}
.upload-preview[hidden] { display: none; }
.upload-preview img { display: block; width: 100%; max-width: 100%; height: 110px; object-fit: contain; }
.product-dialog {
  color-scheme: dark;
  border-color: #2b332a;
  background: #101410;
  color: #f4f7f3;
}
.product-dialog .modal-close { z-index: 1; background: #202720; color: #f4f7f3; }
.detail-art { overflow: hidden; }
.detail-art img { object-fit: contain; }
.detail-art { touch-action: pan-y; }
.detail-main-image { cursor: grab; user-select: none; -webkit-user-drag: none; }
.detail-main-image:active { cursor: grabbing; }
.detail-art > .detail-main-image { padding-bottom: 84px; }
.detail-image-thumbnails { position: absolute; z-index: 2; right: 12px; bottom: 12px; left: 12px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.detail-art .detail-image-hint { flex: 0 0 auto; margin-right: 5px; color: #c2c9c0; font-size: 9px; filter: none; }
.detail-image-thumbnail { width: 54px; height: 54px; padding: 3px; overflow: hidden; border: 1px solid #ffffff70; border-radius: 8px; background: #101410d9; cursor: pointer; }
.detail-image-thumbnail.active { border-color: #a6ff00; box-shadow: 0 0 0 1px #a6ff00; }
.detail-image-thumbnail img { position: static; width: 100%; height: 100%; padding: 0; object-fit: cover; }
.detail-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.detail-category-pill {
  display: inline-block;
  margin-top: 8px;
  padding: 5px 9px;
  border: 1px solid #a6ff004c;
  border-radius: 20px;
  background: #a6ff0014;
  color: #c6ff79;
  font-size: 9px;
  font-weight: 700;
}
.detail-product-tag {
  display: inline-block;
  margin-top: 8px;
  padding: 5px 9px;
  border: 1px solid #374232;
  border-radius: 20px;
  color: #d0d8ca;
  font-size: 9px;
  font-weight: 700;
}
.detail-condition-tag { display: inline-block; margin-top: 8px; padding: 5px 9px; border: 1px solid #a6ff004c; border-radius: 20px; color: #c6ff79; font-size: 9px; font-weight: 700; }
.detail-price-group { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; }
.detail-price-group > span { flex-basis: 100%; }
.detail-price-group del { color: #929b91; font-size: 12px; }
.detail-actions { display: grid; grid-template-columns: auto 1fr; gap: 10px; margin-top: 18px; }
.detail-actions .detail-buy { margin: 0; }
.detail-actions .chat-open-button { grid-column: 1 / -1; }
.detail-actions .detail-report-button { grid-column: 1 / -1; min-height: 38px; border: 1px solid #6c3e36; border-radius: 8px; background: #3b211e; color: #ffd5ce; font: 700 10px "DM Sans", sans-serif; cursor: pointer; }
.detail-actions .detail-report-button:hover { border-color: #b65b4b; background: #512822; }
.product-report-form { margin-top: 14px; padding: 14px; border: 1px solid #6c3e36; border-radius: 9px; background: #17110f; }
.product-report-form[hidden] { display: none; }
.product-report-form h3 { margin: 0 0 12px; font: 700 14px "Manrope", sans-serif; }
.product-report-form label { display: block; margin: 10px 0 5px; color: #d5dccf; font-size: 10px; font-weight: 700; }
.product-report-form select, .product-report-form textarea { width: 100%; padding: 10px; border: 1px solid #3b4738; border-radius: 7px; background: #0c100c; color: #edf2e8; font: 11px "DM Sans", sans-serif; }
.product-report-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 10px; }
.product-report-actions > button:first-child { padding: 8px 12px; border: 1px solid #394536; border-radius: 7px; background: #1b231a; color: #e8eee5; font: 700 10px "DM Sans", sans-serif; }
.product-report-actions .primary-button { min-height: 36px; margin: 0; padding: 8px 12px; font-size: 10px; }
.chat-open-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid #a6ff0052;
  border-radius: 8px;
  background: #a6ff0012;
  color: #b8ff48;
  font: 700 11px "DM Sans", sans-serif;
  cursor: pointer;
  transition: background .2s, border-color .2s, transform .2s;
}
.chat-open-button:hover { border-color: #a6ff00; background: #a6ff0026; }
.chat-open-button:active { transform: scale(.99); }
.chat-open-button:disabled { cursor: not-allowed; opacity: .5; }
.checkout-chat-button { width: 100%; }
.checkout-actions .checkout-chat-button { margin-top: 2px; }
.shipping-options { display: grid; gap: 9px; margin: 14px 0; }
.shipping-options[hidden] { display: none; }
.shipping-choice { display: grid; gap: 8px; min-width: 0; margin: 0; padding: 11px; border: 1px solid #ffffff18; border-radius: 10px; }
.shipping-choice legend { padding: 0 5px; color: #dce5d8; font-size: 11px; font-weight: 800; }
.shipping-choice label { display: grid; grid-template-columns: 16px minmax(0, 1fr); align-items: start; gap: 7px; color: #d5ddd2; font-size: 11px; }
.shipping-choice input { grid-row: span 2; margin: 2px 0 0; accent-color: #a6ff00; }
.shipping-choice small { grid-column: 2; color: #929b91; font-size: 9px; }
.buyer-orders-dialog { width: min(620px, calc(100% - 24px)); }
.buyer-order-list { display: grid; gap: 12px; max-height: 60vh; overflow-y: auto; }
.buyer-order-toast {
  position: fixed;
  z-index: 10000;
  top: max(16px, env(safe-area-inset-top));
  right: max(16px, env(safe-area-inset-right));
  width: min(390px, calc(100vw - 32px));
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #52733e;
  border-radius: 10px;
  background: #172214;
  color: #ddf5c5;
  box-shadow: 0 10px 28px #00000040;
  font-size: 13px;
  font-weight: 700;
  animation: buyer-toast-in .24s ease-out both;
}
.buyer-order-toast[hidden] { display: none; }
.buyer-address-summary, .buyer-address-form { margin: 14px 0 18px; padding: 14px; border: 1px solid #ffffff18; border-radius: 12px; background: #ffffff05; }
.buyer-address-summary[hidden], .buyer-address-form[hidden] { display: none; }
.buyer-address-summary-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.buyer-address-summary h3, .buyer-address-form h3 { margin: 0 0 10px; font-size: 13px; }
.buyer-address-summary h3 { margin: 0; }
.buyer-address-summary p { margin: 10px 0 0; color: #c4cec0; font-size: 11px; line-height: 1.65; }
.buyer-address-edit, .buyer-address-cancel { min-height: 31px; padding: 0 10px; border: 1px solid #ffffff24; border-radius: 7px; background: transparent; color: #cfeaa9; font-size: 10px; font-weight: 700; cursor: pointer; transition: background .18s ease, border-color .18s ease, color .18s ease; }
.buyer-address-edit:hover, .buyer-address-cancel:hover { border-color: #a6ff0066; background: #a6ff0012; color: #e4f8d1; }
.buyer-address-form h3 { margin: 0 0 10px; font-size: 13px; }
.buyer-address-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.buyer-address-grid label { display: grid; gap: 4px; color: #a7b0a4; font-size: 10px; font-weight: 700; }
.buyer-address-grid input { width: 100%; min-width: 0; min-height: 36px; padding: 7px 9px; border: 1px solid #30392f; border-radius: 7px; background: #0c100c; color: #f4f7f3; font-size: 11px; }
.buyer-address-reference { grid-column: 1 / -1; }
.buyer-address-feedback { min-height: 15px; margin: 7px 0; color: #c6ff79; font-size: 10px; }
.buyer-address-form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.buyer-address-form-actions .primary-button { min-height: 36px; padding: 0 14px; }
.order-timeline { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin: 15px 0; padding: 0; list-style: none; }
.order-timeline li { position: relative; display: grid; justify-items: center; gap: 6px; min-width: 0; color: #7f897b; text-align: center; }
.order-timeline li:not(:last-child)::after { position: absolute; z-index: 0; top: 12px; left: 58%; width: 84%; height: 2px; background: #384034; content: ""; }
.order-timeline li.is-complete:not(:last-child)::after { background: #a6ff00; }
.order-timeline li > span { z-index: 1; display: grid; width: 25px; height: 25px; place-items: center; border: 1px solid #46513e; border-radius: 50%; background: #111511; font-size: 10px; font-weight: 800; }
.order-timeline li.is-complete > span { border-color: #a6ff00; background: #a6ff00; color: #10150b; }
.order-timeline li.is-current > span { box-shadow: 0 0 0 4px #a6ff0026; animation: timeline-pulse 1.8s ease-in-out infinite; }
.order-timeline li small { max-width: 80px; font-size: 8px; line-height: 1.25; }
.order-timeline-cancelled { color: #ff8989 !important; font-weight: 700; }
@keyframes timeline-pulse { 50% { box-shadow: 0 0 0 7px #a6ff000d; } }
.buyer-order-card { padding: 13px; border: 1px solid #ffffff18; border-radius: 12px; background: #ffffff06; }
.buyer-order-card h3 { margin: 0; color: #e8eee5; font: 700 13px Manrope, sans-serif; }
.buyer-order-card p { margin: 6px 0; color: #a7b0a4; font-size: 11px; }
.buyer-order-items { margin: 8px 0; padding-left: 18px; color: #d5ddd2; font-size: 11px; }
.buyer-order-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.buyer-order-actions button, .buyer-order-actions a { display: inline-flex; min-height: 36px; align-items: center; justify-content: center; padding: 0 12px; border: 1px solid #6f922e; border-radius: 8px; background: #a6ff00; color: #17200d; font-size: 11px; font-weight: 800; text-decoration: none; cursor: pointer; transition: background .18s ease, transform .18s ease; }
.buyer-order-actions button:hover, .buyer-order-actions a:hover { background: #b7ff36; transform: translateY(-1px); }
.buyer-order-actions button:focus-visible, .buyer-order-actions a:focus-visible, .buyer-address-edit:focus-visible, .buyer-address-cancel:focus-visible { outline: 2px solid #a6ff00; outline-offset: 2px; }
@keyframes buyer-toast-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
:root[data-theme="light"] .shipping-choice legend,
:root[data-theme="light"] .shipping-choice label,
:root[data-theme="light"] .buyer-order-card h3,
:root[data-theme="light"] .buyer-order-items { color: #273021; }
:root[data-theme="light"] .buyer-order-card p,
:root[data-theme="light"] .shipping-choice small { color: #667060; }
:root[data-theme="light"] .buyer-address-summary,
:root[data-theme="light"] .buyer-address-form { border-color: #e1e6dc; background: #f7f9f4; }
:root[data-theme="light"] .buyer-address-summary p { color: #56614f; }
:root[data-theme="light"] .buyer-address-edit,
:root[data-theme="light"] .buyer-address-cancel { border-color: #d7dfd0; background: #fff; color: #3d4937; }
:root[data-theme="light"] .buyer-address-edit:hover,
:root[data-theme="light"] .buyer-address-cancel:hover { border-color: #83b43c; background: #f2f8e9; color: #304c20; }
:root[data-theme="light"] .buyer-address-grid label { color: #56614f; }
:root[data-theme="light"] .buyer-address-grid input { border-color: #d7dfd0; background: #fff; color: #20251e; }
:root[data-theme="light"] .order-timeline li { color: #707b6a; }
:root[data-theme="light"] .order-timeline li:not(:last-child)::after { background: #d7dfd0; }
:root[data-theme="light"] .order-timeline li.is-complete:not(:last-child)::after { background: #76a833; }
:root[data-theme="light"] .order-timeline li > span { border-color: #bac5b0; background: #fff; }
:root[data-theme="light"] .buyer-order-actions button,
:root[data-theme="light"] .buyer-order-actions a { border-color: #6f922e; background: #6f9e2e; color: #fff; }
:root[data-theme="light"] .buyer-order-actions button:hover,
:root[data-theme="light"] .buyer-order-actions a:hover { background: #5f8c24; }
:root[data-theme="light"] .buyer-order-toast { border-color: #cfe7b8; background: #f0f8e9; color: #304c34; box-shadow: 0 8px 24px #17251522; }
:root[data-theme="light"] .buyer-address-feedback { color: #477016; }
.chat-dialog {
  width: min(900px, calc(100% - 28px));
  height: min(650px, calc(100% - 32px));
  max-height: min(650px, calc(100% - 32px));
  padding: 0;
  overflow: hidden;
  border: 1px solid #30392f;
  border-radius: 16px;
  background: #0e120e;
  color: #f4f7f3;
  box-shadow: 0 25px 90px #000b;
}
.chat-quick-replies { display: flex; flex: 1 0 100%; flex-wrap: wrap; gap: 6px; margin-bottom: 4px; }
.chat-quick-replies[hidden] { display: none; }
.chat-quick-replies button { min-height: 28px; padding: 4px 8px; border: 1px solid #a6ff0040; border-radius: 999px; background: #a6ff000d; color: #c6ff79; font-size: 9px; font-weight: 700; cursor: pointer; }
.chat-composer .chat-quick-replies button { min-width: 0; }
.chat-quick-replies button:hover { background: #a6ff0026; }
:root[data-theme="light"] .chat-open-button { border-color: #7da949; background: #f0f7e7; color: #304c20; }
:root[data-theme="light"] .chat-open-button:hover { border-color: #6f9e2e; background: #e5f2d5; }
:root[data-theme="light"] .chat-quick-replies button { border-color: #7da949; background: #f0f7e7; color: #304c20; }
:root[data-theme="light"] .chat-quick-replies button:hover { background: #e5f2d5; }
.chat-dialog::backdrop { background: #000c; backdrop-filter: blur(4px); }
.chat-shell { display: grid; width: 100%; height: 100%; grid-template-columns: minmax(220px, 30%) 1fr; }
.chat-inbox { display: flex; min-height: 0; flex-direction: column; border-right: 1px solid #252b24; background: #111611; }
.chat-inbox-heading { display: flex; align-items: center; justify-content: space-between; padding: 21px 17px 15px; }
.chat-inbox-heading h2, .chat-thread-heading h2 { margin: 5px 0 0; color: #f4f7f3; font: 800 17px "Manrope", sans-serif; }
.chat-inbox-heading .modal-close { position: static; flex: 0 0 auto; background: #202720; color: #f4f7f3; }
.chat-conversation-list { flex: 1; min-height: 0; overflow-y: auto; padding: 0 9px 12px; }
.chat-conversation-item { display: grid; width: 100%; gap: 5px; padding: 12px 10px; border: 1px solid transparent; border-radius: 9px; background: transparent; color: #f4f7f3; text-align: left; cursor: pointer; }
.chat-conversation-item:hover, .chat-conversation-item[aria-current="true"] { border-color: #a6ff0030; background: #a6ff0010; }
.chat-conversation-item strong { font-size: 11px; }
.chat-conversation-item span, .chat-list-empty { color: #929b91; font-size: 10px; }
.chat-list-empty { padding: 10px; line-height: 1.6; }
.chat-thread { display: grid; min-width: 0; min-height: 0; grid-template-rows: auto minmax(0, 1fr) auto auto; }
.chat-thread-heading { display: grid; min-height: 67px; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 15px 20px; border-bottom: 1px solid #252b24; }
.chat-thread-title { min-width: 0; }
.chat-back-button, .chat-thread-close { display: none; }
.chat-thread-heading h2 { margin: 0; }
.chat-thread-heading p { margin: 4px 0 0; color: #929b91; font-size: 10px; }
.chat-product-context { display: flex; min-width: 0; grid-column: 1 / -1; align-items: center; gap: 10px; padding: 8px; border-radius: 10px; background: #151b15; }
.chat-product-context[hidden] { display: none; }
.chat-product-thumb { display: grid; flex: 0 0 auto; width: 42px; height: 42px; overflow: hidden; place-items: center; border-radius: 8px; background: #202720; color: #b8ff48; }
.chat-product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.chat-product-copy { display: grid; min-width: 0; gap: 3px; }
.chat-product-copy strong { overflow: hidden; color: #edf2eb; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.chat-product-copy small { color: #b8ff48; font-size: 10px; font-weight: 700; }
.chat-messages { display: flex; flex: 1; min-height: 0; flex-direction: column; gap: 10px; overflow-y: auto; padding: 18px; }
.chat-empty { align-self: center; max-width: 300px; margin: auto; color: #929b91; font-size: 11px; line-height: 1.6; text-align: center; }
.chat-bubble { align-self: flex-start; max-width: min(78%, 480px); padding: 10px 12px 7px; border: 1px solid #293128; border-radius: 12px 12px 12px 4px; background: #171d17; overflow-wrap: anywhere; }
.chat-bubble-own { align-self: flex-end; border-color: #a6ff0030; border-radius: 12px 12px 4px 12px; background: #a6ff0018; }
.chat-bubble p { margin: 0; color: #edf2eb; font-size: 12px; line-height: 1.55; white-space: pre-wrap; }
.chat-bubble time { display: block; margin-top: 5px; color: #929b91; font-size: 9px; text-align: right; }
.chat-bubble { position: relative; }
.chat-bubble-deleted { opacity: .78; }
.chat-bubble-deleted p { color: #9ca3af; font-style: italic; }
.chat-message-actions { position: absolute; top: 5px; right: 6px; }
.chat-message-menu-button {
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #9ca3af;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
.chat-message-menu-button:hover,
.chat-message-menu-button:focus-visible { background: #ffffff12; color: #f4f7f3; outline: 0; }
.chat-message-menu {
  position: absolute;
  z-index: 3;
  top: 27px;
  right: 0;
  display: grid;
  min-width: 154px;
  gap: 2px;
  padding: 5px;
  border: 1px solid #303a30;
  border-radius: 8px;
  background: #111711;
  box-shadow: 0 10px 24px #0008;
}
.chat-message-menu[hidden] { display: none; }
.chat-message-menu button {
  padding: 8px 9px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #d1d8ce;
  font-size: 10px;
  text-align: left;
  cursor: pointer;
}
.chat-message-menu button:hover,
.chat-message-menu button:focus-visible { background: #a6ff0014; color: #c6ff79; outline: 0; }
.chat-composer { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 9px; padding: 12px 16px; border-top: 1px solid #252b24; background: #0c100c; }
.chat-composer textarea { width: 100%; min-width: 0; min-height: 42px; max-height: 110px; resize: vertical; padding: 10px 11px; border: 1px solid #30392f; border-radius: 9px; background: #090c09; color: #f4f7f3; font: 12px/1.45 "DM Sans", sans-serif; }
.chat-composer textarea:focus { border-color: #a6ff00; outline: 2px solid #a6ff001c; }
.chat-composer textarea:disabled { opacity: .5; }
.chat-composer button { min-width: 78px; }
.chat-composer button:disabled { cursor: not-allowed; opacity: .5; }
.chat-status { min-height: 13px; margin: 0; padding: 0 16px 8px; color: #b8ff48; font-size: 10px; }
@media (max-width: 767px) {
  .chat-dialog {
    position: fixed;
    inset: 10px;
    width: calc(100vw - 20px);
    height: calc(100dvh - 20px);
    max-height: calc(100dvh - 20px);
    margin: 0;
  }
  .chat-shell { display: grid; min-height: 0; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); }
  .chat-inbox { border: 0; }
  .chat-thread { display: none; min-height: 0; }
  .chat-dialog.chat-thread-active .chat-inbox { display: none; }
  .chat-dialog.chat-thread-active .chat-thread { display: grid !important; min-height: 0; }
  .chat-inbox-heading { padding: 12px 14px 9px; }
  .chat-inbox-heading h2 { font-size: 14px; }
  .chat-conversation-list { overflow-x: hidden; overflow-y: auto; padding: 0 10px 9px; }
  .chat-conversation-item { width: 100%; min-height: 58px; padding: 12px; }
  .chat-thread-heading { min-height: 56px; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px; padding: 10px 12px; }
  .chat-back-button { display: inline-flex; min-height: 38px; align-items: center; padding: 0 9px; border: 0; border-radius: 8px; background: #202720; color: #b8ff48; font-size: 11px; font-weight: 700; }
  .chat-thread-close { display: inline-flex; position: static; width: 36px; height: 36px; align-items: center; justify-content: center; background: #202720; color: #f4f7f3; }
  .chat-product-context { grid-column: 1 / -1; }
  .chat-thread-heading h2 { font-size: 14px; }
  .chat-messages { display: flex !important; min-height: 0; flex: 1 1 auto; padding: 12px; visibility: visible; }
  .chat-composer { gap: 6px; padding: 9px; }
  .chat-quick-replies { grid-column: 1 / -1; margin: 0; }
  .chat-composer > #chat-send-button { min-width: 66px; padding-inline: 9px; }
}
.detail-favorite {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 110px;
  padding: 0 12px;
  border: 1px solid #384432;
  border-radius: 7px;
  background: transparent;
  color: #f4f7f3;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}
.detail-favorite:hover, .detail-favorite.active { border-color: #a6ff00; color: #b8ff48; }
.detail-favorite:not(.active) { color: #f4f7f3; }
.detail-share {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid #384432;
  border-radius: 7px;
  background: #151b15;
  color: #dce5d8;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}
.detail-share:hover, .detail-share:focus-visible { border-color: #a6ff00; color: #c6ff79; outline: 0; }
.detail-share-feedback:empty { display: none; }
:root[data-theme="light"] .product-dialog .detail-share { border-color: #384432; background: #151b15; color: #f4f7f3; }
:root[data-theme="light"] .upload-hint { color: #737c70; }
:root[data-theme="light"] .upload-preview { border-color: #d6dfd0; background: #f2f5ef; }
:root[data-theme="light"] .product-dialog {
  border-color: #2b332a;
  background: #101410;
  color: #f4f7f3;
}
:root[data-theme="light"] .product-dialog .modal-close { background: #202720; color: #f4f7f3; }
:root[data-theme="light"] .product-dialog h2 { color: #f4f7f3; }
:root[data-theme="light"] .product-dialog .detail-store { color: #929b91; }
:root[data-theme="light"] .product-dialog .detail-description { color: #c2c9c0; }
:root[data-theme="light"] .product-dialog .detail-costs div { border-color: #2a3129; background: #141914; }
:root[data-theme="light"] .product-dialog .detail-costs span { color: #929b91; }
:root[data-theme="light"] .product-dialog .detail-costs strong { color: #d8ff9a; }
:root[data-theme="light"] .product-dialog .detail-favorite { border-color: #384432; color: #f4f7f3; }
:root[data-theme="light"] .product-dialog .detail-favorite:hover,
:root[data-theme="light"] .product-dialog .detail-favorite.active { border-color: #a6ff00; color: #b8ff48; }

@media (max-width: 620px) {
  .detail-actions { grid-template-columns: 1fr; }
  .detail-favorite { min-height: 42px; }
  .product-card { cursor: pointer; }
}

@media (max-width: 900px) {
  .theme-toggle { padding: 7px 8px; }
  #theme-label { display: none; }
}

@media (max-width: 700px) {
  .inventory-edit-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .inventory-save { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .price-filter { display: block; margin-top: 9px; }
  .price-filter .sort-label { display: block; margin-bottom: 6px; }
  .filters .sort-label[for="sort-select"], .filters select { display: block; }
  .filters .sort-label[for="sort-select"] { margin-top: 10px; }
  .price-inputs input { height: 36px; }
  .detail-art { height: clamp(220px, 42vh, 360px); margin: -26px -22px 20px; }
  .detail-art span { font-size: 78px; }
  .product-details-trigger { bottom: 7px; padding: 6px 9px; opacity: 1; transform: translate(-50%, 0); }
}

  /* Refined storefront layout */
  .site-header {
    width: min(1320px, calc(100% - 64px));
    gap: clamp(16px, 2vw, 30px);
  }
  .search-form {
    max-width: 600px;
    border-radius: 14px;
    padding-left: 16px;
  }
  .search-form button {
    min-width: 82px;
    border-radius: 10px;
  }
  .header-actions {
    gap: 12px;
  }
  .header-action-group {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .header-commerce-actions {
    padding-left: 13px;
    border-left: 1px solid #ffffff18;
  }
  .theme-toggle {
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border-color: transparent;
    background: transparent;
  }
  .theme-toggle span:first-child {
    font-size: 20px;
  }
  .theme-toggle:focus-visible, .favorites-link:focus-visible, .seller-link:focus-visible,
  .cart-button:focus-visible, .auth-button:focus-visible, .hero-cta:focus-visible {
    outline: 2px solid #a6ff00;
    outline-offset: 3px;
  }
  .hero {
    min-height: 390px;
    box-shadow: 0 24px 80px #0005, 0 0 55px #a6ff0008;
  }
  .hero-copy {
    max-width: 510px;
  }
  .hero h1 {
    margin-top: 18px;
    font-size: clamp(38px, 4.4vw, 56px);
    letter-spacing: -2.8px;
  }
  .hero-copy > p {
    max-width: 430px;
    margin-bottom: 25px;
    color: #b3bbb1;
    font-size: 15px;
    line-height: 1.65;
  }
  .hero-cta {
    min-height: 46px;
    padding: 0 18px;
    border: 1px solid #b9ff35;
    border-radius: 11px;
    background: #a6ff00;
    box-shadow: 0 8px 25px #a6ff002b;
    color: #10150b;
    transition: transform .2s, box-shadow .2s, background .2s;
  }
  .hero-cta:hover {
    transform: translateY(-2px);
    background: #c0ff4d;
    box-shadow: 0 12px 30px #a6ff0040;
  }
  .hero-cta span {
    font-size: 19px;
  }
  .hero-art {
    filter: drop-shadow(0 18px 38px #0008);
  }
  .sun-shape {
    box-shadow: 0 0 80px #a6ff0045, 0 0 150px #a6ff0012;
  }
  .art-card-front {
    box-shadow: 0 20px 48px #000b, 0 0 28px #a6ff001c;
  }
  .art-card-back {
    box-shadow: 0 22px 48px #000b, 0 0 25px #a6ff0018;
  }
  .spark-one, .spark-two {
    filter: drop-shadow(0 0 12px #a6ff00b3);
  }
  .benefits {
    margin-bottom: 64px;
  }
  .marketplace {
    width: min(1240px, calc(100% - 64px));
    grid-template-columns: 210px minmax(0, 1fr);
    gap: clamp(28px, 4vw, 58px);
  }
  .category-button {
    min-height: 42px;
    border-radius: 10px;
  }
  .category-button.active {
    box-shadow: inset 3px 0 #a6ff00;
  }
  .category-count {
    min-width: 23px;
    padding: 3px 7px;
    border: 1px solid #a6ff002b;
    border-radius: 20px;
    background: #a6ff000d;
    color: #c6ff79 !important;
    text-align: center;
  }
  .products-heading {
    margin-bottom: 23px;
  }
  .products-heading h2 {
    margin-top: 9px;
    font-size: clamp(24px, 2.5vw, 30px);
  }
  .result-count {
    color: #aab2a8;
    font-size: 12px;
  }
  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px 16px;
  }
  .product-card {
    padding: 8px;
    overflow: hidden;
    border: 1px solid #ffffff0c;
    border-radius: 16px;
    background: linear-gradient(150deg, #121712, #0d100d);
    transition: transform .22s, border-color .22s, box-shadow .22s;
  }
  .product-card:hover, .product-card:focus-within {
    transform: translateY(-4px);
    border-color: #a6ff004d;
    box-shadow: 0 16px 35px #0006, 0 0 25px #a6ff000a;
  }
  .product-image {
    aspect-ratio: 1 / .94;
    border: 1px solid #ffffff0b;
    border-radius: 11px;
    background:
      radial-gradient(circle at 50% 45%, #a6ff0019, transparent 59%),
      linear-gradient(145deg, #1a201a, #111511) !important;
  }
  .product-image::before {
    width: 78%;
    height: 78%;
    border-color: #a6ff001c;
  }
  .product-photo {
    padding: 12px;
    object-fit: contain;
    filter: drop-shadow(0 10px 15px #0006);
  }
  .product-tag {
    top: 9px;
    left: 9px;
    padding: 6px 9px;
    border: 1px solid #b5ff3e;
    border-radius: 20px;
    box-shadow: 0 3px 12px #0005;
    font-size: 9px;
  }
  .favorite-button {
    top: 8px;
    right: 8px;
    width: 34px;
    height: 34px;
    border: 1px solid #ffffff20;
    background: #080b08d9;
    font-size: 19px;
    transition: color .2s, transform .2s, border-color .2s;
  }
  .favorite-button:hover {
    transform: scale(1.08);
    border-color: #a6ff0080;
  }
  .favorite-button.active {
    color: #a6ff00;
  }
  .product-info {
    padding: 12px 4px 5px;
  }
  .product-category {
    color: #a9b3a6;
    font-size: 10px;
  }
  .product-name {
    margin: 6px 0 5px;
    font-size: 14px;
    line-height: 1.4;
  }
  .product-store {
    display: block;
    overflow: hidden;
    color: #a4ada1;
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .product-rating {
    display: flex;
    align-items: center;
    gap: 7px;
    min-height: 21px;
    margin-top: 8px;
  }
  .rating-stars {
    display: inline-flex;
    gap: 1px;
    color: #53604c;
    font-size: 12px;
    letter-spacing: 0;
  }
  .rating-star.is-filled {
    color: #b8ff48;
  }
  .rating-star.is-half {
    background: linear-gradient(90deg, #b8ff48 50%, #53604c 50%);
    background-clip: text;
    color: transparent;
  }
  .rating-caption {
    color: #aab2a8;
    font-size: 10px;
  }
  .product-bottom {
    min-height: 39px;
    margin-top: 8px;
  }
  .guest-buy-button {
    min-height: 34px;
    margin-top: 6px;
    font-size: 9px;
  }
  .product-price {
    color: #c6ff79;
    font-size: 17px;
  }
  .add-cart {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    font-size: 21px;
    transition: transform .2s, background .2s, color .2s;
  }
  .add-cart:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 6px 17px #a6ff0025;
  }
  :root[data-theme="light"] .header-commerce-actions {
    border-color: #20251e20;
  }
  :root[data-theme="light"] .hero-copy > p {
    color: #566050;
  }
  :root[data-theme="light"] .hero-cta {
    border-color: #a6ff00;
    background: #a6ff00;
    box-shadow: 0 8px 25px #83b9002b;
    color: #10150b;
  }
  :root[data-theme="light"] .result-count,
  :root[data-theme="light"] .product-category,
  :root[data-theme="light"] .product-store,
  :root[data-theme="light"] .rating-caption {
    color: #586453;
  }
  :root[data-theme="light"] .product-card {
    border-color: #e2e8f0;
    background: #fff;
    box-shadow: 0 5px 20px #1f29370a;
  }
  :root[data-theme="light"] .product-card:hover,
  :root[data-theme="light"] .product-card:focus-within {
    border-color: #a6d45d;
    box-shadow: 0 14px 30px #1f293714;
  }
  :root[data-theme="light"] .product-image {
    background:
      radial-gradient(circle at 50% 45%, #a6ff0030, transparent 59%),
      linear-gradient(145deg, #eef3e9, #e4ebdf) !important;
  }
  :root[data-theme="light"] .product-image::before {
    border-color: #52772530;
  }
  :root[data-theme="light"] .favorite-button {
    border-color: #20251e20;
    background: #ffffffed;
    color: #384032;
  }
  :root[data-theme="light"] .rating-stars {
    color: #aab59f;
  }
  :root[data-theme="light"] .rating-star.is-filled {
    color: #658f00;
  }
  :root[data-theme="light"] .rating-star.is-half {
    background: linear-gradient(90deg, #658f00 50%, #aab59f 50%);
    background-clip: text;
  }
  :root[data-theme="light"] .product-price {
    color: #385a00;
  }
  @media (max-width: 1100px) {
    .site-header {
      gap: 16px;
    }
    .header-actions, .header-action-group {
      gap: 8px;
    }
    .product-grid {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
  }

  /* Responsive commerce shell and accessible contrast */
  .site-header {
    position: relative;
    z-index: 30;
    gap: clamp(14px, 3vw, 36px);
  }
  .header-actions {
    gap: 12px;
  }
  .header-cart-button {
    order: 1;
    min-height: 38px;
    padding: 0 4px;
  }
  .profile-menu-container {
    position: relative;
    display: block;
    order: 2;
  }
  .profile-menu-panel {
    position: absolute;
    z-index: 40;
    top: calc(100% + 12px);
    right: 0;
    display: grid;
    gap: 13px;
    width: min(280px, calc(100vw - 32px));
    padding: 14px;
    border: 1px solid #2a3428;
    border-radius: 14px;
    background: #111711;
    box-shadow: 0 18px 45px #0008;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity .18s ease, transform .18s ease;
  }
  .profile-menu-container.is-open .profile-menu-panel {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .profile-menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 40px;
    padding: 4px 10px 4px 5px;
    border: 1px solid #2a3428;
    border-radius: 999px;
    background: #111711;
    color: #f4f7f3;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
  }
  .profile-avatar {
    display: grid;
    width: 29px;
    height: 29px;
    place-items: center;
    border-radius: 50%;
    background: #a6ff00;
    color: #10150b;
    font-weight: 800;
  }
  .profile-menu-chevron { color: #a6ff00; font-size: 15px; line-height: 1; }
  .profile-menu-toggle:hover,
  .profile-menu-toggle:focus-visible { border-color: #a6ff00; }
  .profile-menu-panel .header-action-group {
    display: grid;
    gap: 5px;
    padding-top: 5px;
    border-top: 1px solid #252b24;
  }
  .profile-menu-panel .theme-toggle,
  .profile-menu-panel .favorites-link,
  .profile-menu-panel .auth-button,
  .profile-menu-panel .seller-link,
  .profile-menu-panel .inventory-link {
    display: flex;
    width: 100%;
    min-height: 38px;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 8px;
    text-align: left;
  }
  .profile-menu-panel .theme-toggle { justify-content: flex-start; }
  .profile-menu-panel .favorites-link,
  .profile-menu-panel .seller-link,
  .profile-menu-panel .auth-button {
    color: #d1d8ce;
  }
  .profile-menu-panel .favorites-link:hover,
  .profile-menu-panel .seller-link:hover,
  .profile-menu-panel .auth-button:hover,
  .profile-menu-panel .inventory-link:hover {
    background: #a6ff0014;
    color: #c6ff79;
  }
  .profile-menu-panel .inventory-link { border: 0; }
  .profile-menu-panel .logout-button { color: #ffb3a5; }
  .profile-menu-panel .header-commerce-actions { padding-top: 10px; }
  .section-kicker,
  .category-button span:last-child,
  .product-category,
  .product-store,
  .result-count,
  .benefits small,
  .seller-promo p {
    color: #9ca3af;
  }
  .product-card {
    border-radius: 14px;
    background: #111827;
  }
  .product-card:hover,
  .product-card:focus-within { border-color: #374151; }

  :root[data-theme="light"] .profile-menu-panel {
    border-color: #d5ded0;
    background: #ffffff;
    box-shadow: 0 18px 45px #27351c24;
  }
  :root[data-theme="light"] .profile-menu-toggle {
    border-color: #d5ded0;
    background: #ffffff;
    color: #1f2937;
  }
  :root[data-theme="light"] .profile-menu-panel .header-action-group { border-color: #e5e7eb; }
  :root[data-theme="light"] .profile-menu-panel .favorites-link,
  :root[data-theme="light"] .profile-menu-panel .seller-link,
  :root[data-theme="light"] .profile-menu-panel .auth-button { color: #374151; }
  :root[data-theme="light"] .profile-menu-panel .favorites-link:hover,
  :root[data-theme="light"] .profile-menu-panel .seller-link:hover,
  :root[data-theme="light"] .profile-menu-panel .auth-button:hover {
    background: #f0f7e8;
    color: #385a00;
  }
  :root[data-theme="light"] .section-kicker,
  :root[data-theme="light"] .category-button,
  :root[data-theme="light"] .category-button span:last-child,
  :root[data-theme="light"] .product-category,
  :root[data-theme="light"] .product-store,
  :root[data-theme="light"] .result-count,
  :root[data-theme="light"] .benefits small,
  :root[data-theme="light"] .seller-promo p {
    color: #4b5563;
  }
  :root[data-theme="light"] .product-card {
    border-color: #e2e8dc;
    background: #ffffff;
  }

  @media (max-width: 900px) {
    .site-header { width: calc(100% - 40px); }
    .search-form { max-width: none; }
  }
  @media (max-width: 620px) {
    .site-header {
      width: calc(100% - 24px);
      min-height: 68px;
      padding: 10px 0;
    }
    .header-actions { gap: 6px; }
    .profile-menu-label,
    .profile-menu-chevron { display: none; }
    .profile-menu-toggle { padding-right: 5px; }
    .profile-menu-panel {
      position: fixed;
      top: 0;
      right: 0;
      width: min(310px, 88vw);
      height: 100dvh;
      padding: max(22px, env(safe-area-inset-top)) 18px 24px;
      border-width: 0 0 0 1px;
      border-radius: 0;
      overflow-y: auto;
      transform: translateX(100%);
    }
    .profile-menu-container.is-open .profile-menu-panel { transform: translateX(0); }
    .profile-menu-panel::before {
      display: block;
      margin-bottom: 4px;
      color: #a6ff00;
      content: "Menu da conta";
      font: 800 18px "Manrope", sans-serif;
    }
    :root[data-theme="light"] .profile-menu-panel::before { color: #385a00; }
    .header-cart-button .cart-label { display: none; }
    .header-cart-button { min-width: 36px; }
    .search-form { order: 3; flex-basis: 100%; }
    .category-list { scrollbar-width: thin; }
  }
  @media (max-width: 900px) {
    .site-header {
      width: calc(100% - 40px);
    }
    .header-commerce-actions {
      padding-left: 8px;
    }
    .marketplace {
      width: calc(100% - 48px);
    }
    .product-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
  @media (max-width: 620px) {
    .site-header {
      width: calc(100% - 32px);
      gap: 10px;
    }
    .header-actions, .header-action-group {
      gap: 5px;
    }
    .header-commerce-actions {
      padding-left: 5px;
    }
    .theme-toggle {
      width: 32px;
      height: 32px;
    }
    .header-action-group .favorites-link {
      gap: 0;
    }
    .header-action-group .auth-button {
      padding: 7px 8px;
      font-size: 10px;
    }
    .header-commerce-actions .seller-link {
      width: 25px;
      text-align: center;
    }
    .header-commerce-actions .cart-button {
      gap: 3px;
    }
    .hero {
      min-height: 405px;
      padding: 32px 23px;
    }
    .hero h1 {
      font-size: 36px;
    }
    .hero-copy > p {
      max-width: 245px;
      font-size: 12px;
    }
    .hero-cta {
      min-height: 42px;
      padding: 0 14px;
      font-size: 11px;
    }
    .hero-art {
      top: 153px;
    }
    .marketplace {
      width: calc(100% - 36px);
    }
    .product-grid {
      gap: 14px 10px;
    }
    .product-card {
      padding: 6px;
      border-radius: 13px;
    }
    .product-image {
      aspect-ratio: 1 / 1;
      border-radius: 9px;
    }
    .product-info {
      padding: 9px 2px 3px;
    }
    .product-name {
      font-size: 12px;
    }
    .product-store {
      font-size: 9px;
    }
    .product-rating {
      gap: 5px;
      margin-top: 5px;
    }
    .rating-stars {
      font-size: 10px;
    }
    .rating-caption {
      font-size: 9px;
    }
    .product-price {
      font-size: 14px;
    }
    .add-cart {
      width: 31px;
      height: 31px;
    }
  }
  @media (max-width: 370px) {
    .brand {
      gap: 6px;
      font-size: 18px;
    }
    .brand-logo {
      width: 30px;
      height: 30px;
    }
    .header-actions, .header-action-group {
      gap: 3px;
    }
    .header-commerce-actions {
      padding-left: 4px;
    }
    .header-action-group .auth-button {
      padding: 6px;
      font-size: 9px;
    }
  }

  .seller-byline {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    margin-top: 8px;
  }
  .seller-avatar {
    display: inline-grid;
    flex: 0 0 auto;
    place-items: center;
    width: 28px;
    height: 28px;
    border: 1px solid #a6ff003d;
    border-radius: 50%;
    background: linear-gradient(145deg, #293522, #141a13);
    color: #d1ff8a;
    font: 700 9px "Manrope", sans-serif;
  }
  .seller-identity {
    display: grid;
    flex: 1 1 auto;
    min-width: 0;
    gap: 2px;
  }
  .seller-caption {
    color: #aab2a8;
    font-size: 9px;
  }
  .seller-identity strong {
    overflow: hidden;
    color: #e7ece5;
    font-size: 10px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .seller-badge {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    max-width: 105px;
    padding: 4px 6px;
    border: 1px solid #a6ff0028;
    border-radius: 20px;
    background: #a6ff000b;
    color: #c6ff79;
    font-size: 8px;
    line-height: 1.2;
    text-align: center;
  }
  .detail-store {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 15px 0;
  }
  .detail-store .seller-avatar {
    width: 40px;
    height: 40px;
    font-size: 12px;
  }
  .detail-store .seller-identity {
    gap: 3px;
  }
  .detail-store .seller-caption {
    color: #aab2a8;
    font-size: 10px;
  }
  .detail-store .seller-identity strong {
    color: #f4f7f3;
    font: 700 12px "Manrope", sans-serif;
  }
  .detail-store .seller-badge {
    margin-left: auto;
    font-size: 9px;
  }
  .trust-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 13px;
    border: 1px solid #a6ff0022;
    border-radius: 10px;
    background: linear-gradient(110deg, #a6ff000c, #111711);
  }
  .trust-icon {
    display: inline-grid;
    flex: 0 0 auto;
    place-items: center;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #a6ff0018;
    color: #c6ff79;
    font-size: 13px;
  }
  .trust-note p {
    margin: 0;
    color: #c2c9c0;
    font-size: 10px;
    line-height: 1.55;
  }
  .trust-note strong {
    color: #f4f7f3;
  }
  .checkout-trust {
    margin-top: 13px;
  }
  .detail-trust {
    margin-top: 14px;
  }
  :root[data-theme="light"] .seller-avatar {
    border-color: #90be454d;
    background: linear-gradient(145deg, #edf5e4, #dfead5);
    color: #385a00;
  }
  :root[data-theme="light"] .seller-caption {
    color: #64705e;
  }
  :root[data-theme="light"] .seller-identity strong,
  :root[data-theme="light"] .detail-store .seller-identity strong,
  :root[data-theme="light"] .trust-note strong {
    color: #20251e;
  }
  :root[data-theme="light"] .seller-badge {
    border-color: #8dbb4050;
    background: #e6f1d8;
    color: #385a00;
  }
  :root[data-theme="light"] .trust-note {
    border-color: #d6e8bf;
    background: linear-gradient(110deg, #f0f8e6, #f8faf5);
  }
  :root[data-theme="light"] .trust-icon {
    background: #dfefca;
    color: #385a00;
  }
  :root[data-theme="light"] .trust-note p {
    color: #4e584b;
  }
  @media (max-width: 620px) {
    .seller-byline {
      flex-wrap: wrap;
      gap: 5px;
    }
    .seller-avatar {
      width: 25px;
      height: 25px;
    }
    .seller-badge {
      max-width: 94px;
      padding: 3px 5px;
      font-size: 7px;
    }
    .detail-store {
      gap: 8px;
    }
    .benefits small {
      font-size: 10px;
    }
  }

/* Premium finish */
html {
  scroll-padding-top: 96px;
}
.site-header.site-header-glass {
  position: sticky;
  z-index: 20;
  top: 0;
  width: 100%;
  min-height: 84px;
  margin: 0 auto;
  padding-inline: max(32px, calc((100vw - 1320px) / 2));
  border-bottom: 1px solid #ffffff12;
  background: #121412d9;
  box-shadow: 0 10px 32px #0003;
  -webkit-backdrop-filter: blur(12px) saturate(135%);
  backdrop-filter: blur(12px) saturate(135%);
  transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
}
button, a, .product-card {
  transition: all .3s ease;
}
.product-card {
  box-shadow:
    inset 0 1px #ffffff0a,
    inset 0 -14px 26px #0002,
    0 8px 20px #0003;
}
.product-card:hover, .product-card:focus-within {
  transform: translateY(-5px);
  border-color: #a6ff0070;
  box-shadow:
    inset 0 1px #ffffff10,
    inset 0 -14px 26px #0002,
    0 17px 36px #0007,
    0 0 15px #a6ff0026;
}
.search-form button, .primary-button {
  box-shadow: 0 0 15px #a6ff0030, inset 0 1px #ffffff26;
}
.search-form button:hover, .primary-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 20px #a6ff0050, 0 7px 18px #0003, inset 0 1px #ffffff40;
}
.search-form button:active, .primary-button:active,
.auth-button:active, .seller-link:active, .cart-button:active,
.favorites-link:active, .theme-toggle:active, .add-cart:active {
  transform: scale(.96);
}
.favorite-button {
  transition: color .3s ease, background .3s ease, border-color .3s ease, transform .3s ease, box-shadow .3s ease;
}
.favorite-button:hover {
  transform: scale(1.08);
  border-color: #a6ff0090;
  box-shadow: 0 0 13px #a6ff0025;
}
.favorite-button:active {
  transform: scale(.88);
}
.favorite-button.active, .detail-favorite.active {
  animation: favorite-pulse .42s ease-out;
}
.add-cart:not(:disabled):hover {
  transform: translateY(-2px);
  border-color: #a6ff00;
  box-shadow: 0 0 15px #a6ff0038;
}
.add-cart:not(:disabled):active {
  transform: scale(.9);
}
.product-details-trigger:hover {
  background: #a6ff00;
  color: #10150b;
  box-shadow: 0 0 16px #a6ff0040;
}
.seller-avatar {
  box-shadow: inset 0 1px #ffffff12, 0 0 0 2px #a6ff000c;
  transition: transform .3s ease, box-shadow .3s ease;
}
.product-card:hover .seller-avatar {
  transform: scale(1.06);
  box-shadow: inset 0 1px #ffffff1a, 0 0 12px #a6ff0028;
}
:root[data-theme="light"] .site-header.site-header-glass {
  border-bottom-color: #20251e14;
  background: #f5f7f2e8;
  box-shadow: 0 10px 32px #27351c12;
}
:root[data-theme="light"] .search-form button,
:root[data-theme="light"] .primary-button {
  box-shadow: 0 0 15px #83b9002e, inset 0 1px #ffffff50;
}
:root[data-theme="light"] .search-form button:hover,
:root[data-theme="light"] .primary-button:hover {
  box-shadow: 0 0 20px #83b90048, 0 7px 18px #27351c14, inset 0 1px #ffffff70;
}
:root[data-theme="light"] .product-card {
  box-shadow:
    inset 0 1px #ffffff,
    inset 0 -12px 22px #27351c06,
    0 8px 20px #27351c0d;
}
:root[data-theme="light"] .product-card:hover,
:root[data-theme="light"] .product-card:focus-within {
  box-shadow:
    inset 0 1px #ffffff,
    inset 0 -12px 22px #27351c06,
    0 17px 36px #27351c18,
    0 0 15px #83b90020;
}
@keyframes favorite-pulse {
  0% { transform: scale(.88); }
  58% { transform: scale(1.18); }
  100% { transform: scale(1); }
}
@media (max-width: 900px) {
  .site-header.site-header-glass {
    width: 100%;
    padding-inline: 20px;
  }
}
@media (max-width: 620px) {
  html {
    scroll-padding-top: 126px;
  }
  .site-header.site-header-glass {
    width: 100%;
    min-height: 72px;
    padding: 12px 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* Readability refinements for product cards and category filters */
.category-button:not(.active) {
  color: #b4bdb1;
}
.category-button:not(.active):hover {
  color: #c6ff79;
}
.product-card {
  padding-bottom: 12px;
}
.product-category,
.product-store,
.rating-caption,
.seller-caption,
.seller-badge {
  font-size: 12px;
}
.seller-identity .product-store {
  color: #d4d4d8;
  font-size: 12px;
}
.product-category,
.product-store,
.rating-caption,
.seller-caption {
  color: #b7c0b5;
}
.seller-badge {
  max-width: 120px;
  line-height: 1.3;
}
.guest-buy-button {
  margin-bottom: 0;
  font-size: 11px;
}
:root[data-theme="light"] .category-button:not(.active) {
  color: #596353;
}
:root[data-theme="light"] .category-button:not(.active):hover {
  color: #385a00;
}
:root[data-theme="light"] .product-category,
:root[data-theme="light"] .product-store,
:root[data-theme="light"] .rating-caption,
:root[data-theme="light"] .seller-caption {
  color: #586453;
}

.hero.hero-futuristic {
  min-height: 390px;
  border: 1px solid #a6ff0040;
  background:
    radial-gradient(ellipse at 79% 48%, #a6ff001c 0, transparent 35%),
    radial-gradient(ellipse at 18% 100%, #1c3c22 0, transparent 42%),
    linear-gradient(115deg, #101710 0%, #090d0b 72%);
  box-shadow: inset 0 1px #ffffff0b, 0 24px 70px #0005, 0 0 44px #a6ff000b;
}
.hero-futuristic .hero-copy {
  z-index: 2;
  max-width: 54%;
}
.hero-futuristic h1 {
  max-width: 650px;
  color: #f4f7f3;
  font-size: clamp(34px, 3.6vw, 46px);
  letter-spacing: -2.6px;
  text-wrap: balance;
}
.hero-futuristic .hero-copy > p {
  max-width: 410px;
  color: #a8b3a7;
  line-height: 1.65;
}
.hero-futuristic .hero-cta {
  min-height: 46px;
  padding: 0 17px;
  border: 1px solid #c4ff64;
  border-radius: 9px;
  background: #a6ff00;
  box-shadow: 0 0 23px #a6ff0038;
  color: #10150b;
}
.hero-futuristic .hero-cta:hover {
  transform: translateY(-2px);
  background: #c0ff4d;
  box-shadow: 0 10px 30px #a6ff0040;
}
.future-visual {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 3%;
  width: 40%;
  height: 100%;
}
.future-orbit {
  position: absolute;
  top: 50%;
  left: 53%;
  display: block;
  border: 1px solid #a6ff0040;
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-24deg);
}
.future-orbit::before,
.future-orbit::after {
  position: absolute;
  width: 8px;
  height: 8px;
  border: 2px solid #101710;
  border-radius: 50%;
  background: #c6ff79;
  box-shadow: 0 0 15px #a6ff00;
  content: "";
}
.future-orbit::before { top: 12%; left: 13%; }
.future-orbit::after { right: 7%; bottom: 24%; width: 5px; height: 5px; }
.future-orbit-outer {
  width: min(33vw, 330px);
  aspect-ratio: 1;
  box-shadow: 0 0 70px #a6ff0012, inset 0 0 60px #a6ff0008;
}
.future-orbit-inner {
  width: min(24vw, 240px);
  aspect-ratio: 1;
  border-color: #a6ff006b;
  transform: translate(-50%, -50%) rotate(55deg) scaleY(.72);
}
.future-core {
  position: absolute;
  top: 50%;
  left: 53%;
  display: grid;
  width: 120px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid #d9ff9b;
  border-radius: 36px;
  background: linear-gradient(145deg, #baff38, #4c7800);
  box-shadow: 0 0 38px #a6ff0075, inset 0 1px #efffd0a6;
  color: #10150b;
  transform: translate(-50%, -50%) rotate(-8deg);
}
.future-core span {
  font: 800 66px/1 Manrope, sans-serif;
  letter-spacing: -7px;
  transform: translateX(-3px);
}
.future-core i {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e9ffc4;
  box-shadow: 0 0 12px #fff;
}
.future-core i { position: absolute; top: 14px; right: 14px; }
@media (max-width: 620px) {
  .hero-futuristic .hero-copy {
    max-width: 100%;
  }
  .hero-futuristic h1 {
    max-width: 100%;
    font-size: clamp(32px, 9vw, 42px);
    letter-spacing: -1.9px;
  }
  .hero-futuristic .hero-copy > p { max-width: 290px; }
  .future-visual {
    top: auto;
    right: -3%;
    bottom: 0;
    width: 82%;
    height: 160px;
    opacity: .78;
  }
  .future-orbit-outer { width: 150px; }
  .future-orbit-inner { width: 112px; }
  .future-core { width: 68px; border-radius: 22px; }
  .future-core span { font-size: 40px; }
}

:root {
  --radius-card: 16px;
  --radius-control: 8px;
  --radius-pill: 999px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

body,
button,
a {
  touch-action: manipulation;
}

button,
a {
  transition:
    color .18s ease,
    background-color .18s ease,
    border-color .18s ease,
    box-shadow .18s ease,
    opacity .18s ease,
    transform .18s ease;
}

.site-header.site-header-glass {
  min-height: 96px;
  padding-block: 14px;
  gap: clamp(16px, 2.4vw, 32px);
}

.header-actions {
  gap: 16px;
}

.theme-toggle,
.favorites-link,
.seller-link,
.cart-button,
.auth-button,
.inventory-link {
  min-height: 44px;
}

.cart-button,
.seller-link,
.favorites-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-inline: 8px;
}

.hero.hero-futuristic {
  min-height: 350px;
  padding: 48px clamp(28px, 7vw, 88px);
  border: 0;
  border-radius: var(--radius-card);
  background:
    radial-gradient(ellipse at 79% 48%, #a6ff0012 0, transparent 35%),
    linear-gradient(115deg, #141914 0%, #0e120e 72%);
  box-shadow: none;
}

.hero-futuristic .hero-copy {
  max-width: 60%;
}

.hero-futuristic h1 {
  margin-top: 0;
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1.12;
}

.hero-futuristic .hero-copy > p {
  max-width: 430px;
  margin-bottom: 25px;
  font-size: 15px;
}

.hero-futuristic .hero-cta {
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: var(--radius-control);
  box-shadow: none;
}

.hero-futuristic .hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: none;
}

.future-visual {
  width: 35%;
}

.future-core {
  border-radius: 28px;
}

.benefits {
  border: 0;
}

.seller-promo,
.product-card,
.transparent-checkout {
  border: 0;
  border-radius: var(--radius-card);
  background: #121612;
}

.seller-promo {
  padding: 20px;
}

.product-grid {
  align-items: start;
}

.product-card {
  padding: 12px;
  content-visibility: auto;
  contain-intrinsic-size: auto 450px;
  box-shadow: none;
  transition: transform .18s ease, opacity .18s ease;
}

.product-card:hover,
.product-card:focus-within {
  transform: translateY(-2px);
  border: 0;
  box-shadow: none;
}

.product-card:hover,
.product-card:focus-within,
.hero-futuristic .hero-cta:hover {
  will-change: transform;
}

.product-image {
  aspect-ratio: 1;
  border: 0;
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% 48%, #a6ff0016 0, transparent 54%),
    linear-gradient(145deg, #181d18, #101310) !important;
}

.product-image::before {
  display: none;
}

.product-photo { aspect-ratio: 1; }

.product-name {
  color: #f4f7f3;
  font-size: 14px;
  font-weight: 700;
}

.product-price {
  color: #d8ff9a;
  font-size: 16px;
}

.product-tag,
.discount-badge,
.condition-badge {
  border: 0;
  border-radius: var(--radius-pill);
}

.category-list {
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.category-list::-webkit-scrollbar {
  display: none;
}

.category-button {
  min-height: 44px;
  border-radius: var(--radius-pill);
}

.primary-button,
.search-form button,
.add-cart,
.payment-tab {
  border-radius: var(--radius-control);
}

.modal,
.product-dialog {
  border-radius: var(--radius-card);
}

:root[data-theme="light"] .product-card,
:root[data-theme="light"] .seller-promo,
:root[data-theme="light"] .transparent-checkout {
  background: #f0f3ed;
}

:root[data-theme="light"] .product-card {
  box-shadow: none;
}

:root[data-theme="light"] .product-card:hover,
:root[data-theme="light"] .product-card:focus-within {
  border: 0;
  box-shadow: none;
}

:root[data-theme="light"] .product-image {
  background:
    radial-gradient(circle at 50% 48%, #a6ff0030 0, transparent 54%),
    linear-gradient(145deg, #e8eee4, #dfe8da) !important;
}

:root[data-theme="light"] .product-name {
  color: #20251e;
}

:root[data-theme="light"] .product-name-button:hover {
  color: #4b7000;
}

:root[data-theme="light"] .product-price {
  color: #385a00;
}

@media (max-width: 620px) {
  html {
    scroll-padding-top: 138px;
  }

  .site-header.site-header-glass {
    min-height: 0;
    padding: 16px 18px;
    row-gap: 12px;
  }

  .header-actions,
  .header-action-group {
    min-height: 44px;
    gap: 10px;
  }

  .search-form {
    min-height: 46px;
    border-radius: 12px;
  }

  .category-list {
    gap: 8px;
    overflow-x: auto;
    padding: 2px 0 8px;
    scroll-snap-type: x proximity;
  }

  .category-button {
    min-height: 44px;
    padding: 0 14px;
    scroll-snap-align: start;
    background: #121612;
  }

  .hero.hero-futuristic {
    min-height: 330px;
    padding: 34px 24px;
    background: linear-gradient(135deg, #151a15, #0e120e 82%);
  }

  .hero-futuristic .hero-copy {
    max-width: 100%;
  }

  .hero-futuristic h1 {
    max-width: 340px;
    font-size: clamp(32px, 9vw, 40px);
    letter-spacing: -1.7px;
  }

  .hero-futuristic .hero-copy > p {
    max-width: 290px;
    font-size: 14px;
  }

  .hero-futuristic .hero-cta {
    min-height: 48px;
    padding-inline: 18px;
  }

  .future-visual {
    right: -5%;
    bottom: -34px;
    top: auto;
    width: 45%;
    height: 150px;
    opacity: .16;
    pointer-events: none;
  }

  .future-core {
    display: none;
  }

  .product-grid {
    gap: 14px 10px;
  }

  .product-card {
    padding: 8px;
    border-radius: 12px;
    contain-intrinsic-size: auto 330px;
  }

  .product-image {
    border-radius: 10px;
  }

  .product-name {
    font-size: 13px;
  }

  .product-price {
    font-size: 15px;
  }

  .add-cart {
    width: 40px;
    height: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

.checkout-button[aria-busy="true"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.checkout-button[aria-busy="true"]::before {
  width: 15px;
  height: 15px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: checkout-spinner .7s linear infinite;
  content: "";
}

.order-confirmation-dialog {
  width: min(460px, calc(100% - 30px));
  background: #101410;
  color: #f4f7f3;
}

.order-confirmation-content {
  text-align: center;
}

.order-confirmation-content .section-kicker {
  display: block;
  margin-top: 17px;
}

.order-confirmation-content h2 {
  margin: 8px auto;
  color: #f4f7f3;
}

.order-success-mark {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin: 4px auto 10px;
  border: 1px solid #a6ff0052;
  border-radius: 50%;
  background: #a6ff0012;
  box-shadow: 0 0 36px #a6ff0026;
  animation: order-success-pop .45s cubic-bezier(.2, .8, .2, 1) both;
}

.order-success-mark svg {
  width: 48px;
  height: 48px;
  fill: none;
  stroke: #a6ff00;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
}

.order-success-mark path {
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: order-success-check .55s .2s ease-out forwards;
}

.order-success-number {
  margin: 8px 0 18px;
  color: #aab2a8;
  font-size: 11px;
}

.order-success-number strong {
  display: block;
  margin-top: 5px;
  color: #e4e9e2;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.order-success-note {
  margin: 0 0 16px;
  padding: 11px;
  border-radius: 9px;
  background: #f0ad3918;
  color: #f4ce82;
  font-size: 11px;
  line-height: 1.5;
  text-align: left;
}

.order-success-summary {
  padding: 15px;
  border-radius: 12px;
  background: #181e18;
  text-align: left;
}

.order-success-summary h3 {
  margin: 0 0 10px;
  color: #dfe5da;
  font-size: 12px;
}

.order-success-summary ul {
  display: grid;
  gap: 9px;
  max-height: 180px;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  list-style: none;
}

.order-success-summary li,
.order-success-total {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  color: #aab2a8;
  font-size: 11px;
}

.order-success-summary li > span {
  display: grid;
  gap: 3px;
}

.order-success-summary li strong,
.order-success-total strong {
  color: #f4f7f3;
}

.order-success-total {
  margin-top: 13px;
  padding-top: 12px;
  border-top: 1px solid #ffffff14;
}

.order-success-total strong {
  color: #b8ff48;
  font-size: 15px;
}

.order-success-shop {
  margin-top: 16px;
}

:root[data-theme="light"] .order-confirmation-dialog {
  background: #f8faf6;
  color: #20251e;
}

:root[data-theme="light"] .order-confirmation-content h2,
:root[data-theme="light"] .order-success-number strong,
:root[data-theme="light"] .order-success-summary li strong,
:root[data-theme="light"] .order-success-total strong {
  color: #20251e;
}

:root[data-theme="light"] .order-success-summary {
  background: #edf2e8;
}

:root[data-theme="light"] .order-success-summary h3 {
  color: #34402f;
}

:root[data-theme="light"] .order-success-number,
:root[data-theme="light"] .order-success-summary li,
:root[data-theme="light"] .order-success-total {
  color: #5b6557;
}

:root[data-theme="light"] .order-success-total {
  border-color: #20251e1a;
}

:root[data-theme="light"] .order-success-total strong {
  color: #385a00;
}

@keyframes checkout-spinner {
  to { transform: rotate(360deg); }
}

@keyframes order-success-pop {
  from { opacity: 0; transform: scale(.72); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes order-success-check {
  to { stroke-dashoffset: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .checkout-button[aria-busy="true"]::before,
  .order-success-mark,
  .order-success-mark path {
    animation-duration: .01ms;
    animation-iteration-count: 1;
  }
}

.checkout-confirm-dialog {
  width: min(390px, calc(100% - 32px));
  padding: 0;
  border: 1px solid #354132;
  border-radius: 16px;
  background: #101410;
  color: #f4f7f3;
  box-shadow: 0 24px 80px #000b, 0 0 32px #a6ff0014;
}

.checkout-confirm-dialog::backdrop {
  background: #000c;
  backdrop-filter: blur(4px);
  animation: checkout-confirm-fade .18s ease-out both;
}

.checkout-confirm-content {
  padding: 27px;
}

.checkout-confirm-content h2 {
  margin: 10px 0 8px;
  color: #f4f7f3;
  font: 800 21px/1.2 "Manrope", sans-serif;
  letter-spacing: -.5px;
}

.checkout-confirm-content p {
  margin: 0;
  color: #929b91;
  font-size: 12px;
  line-height: 1.6;
}

.checkout-confirm-actions {
  display: grid;
  gap: 9px;
  margin-top: 23px;
}

.checkout-confirm-actions button {
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: background .18s, border-color .18s, transform .18s;
}

.checkout-confirm-actions button:active {
  transform: scale(.98);
}

.checkout-confirm-cancel {
  border-color: #3a4139 !important;
  background: #1b201b;
  color: #d7ddd5;
}

.checkout-confirm-cancel:hover {
  border-color: #71806d !important;
  background: #242b23;
}

.checkout-confirm-continue {
  background: #a6ff00;
  color: #10150b;
}

.checkout-confirm-continue:hover {
  background: #c0ff4d;
}

.checkout-confirm-dialog[open] .checkout-confirm-content {
  animation: checkout-confirm-enter .22s ease-out both;
}

@keyframes checkout-confirm-enter {
  from { opacity: 0; transform: translateY(8px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes checkout-confirm-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .checkout-confirm-dialog[open] .checkout-confirm-content,
  .checkout-confirm-dialog::backdrop {
    animation-duration: .01ms;
  }
}

@media (max-width: 900px) {
  .site-header.site-header-glass {
    display: flex;
    width: 100%;
    min-width: 0;
    flex-wrap: wrap;
    gap: 12px 18px;
    padding: 12px clamp(16px, 3vw, 24px);
  }
  .site-header.site-header-glass .brand { flex: 0 0 auto; }
  .site-header.site-header-glass .header-actions {
    min-width: 0;
    margin-left: auto;
    gap: 9px;
  }
  .site-header.site-header-glass .header-action-group { min-width: 0; gap: 7px; }
  .site-header.site-header-glass .search-form {
    order: 3;
    width: 100%;
    max-width: none;
    min-width: 0;
    flex: 1 0 100%;
  }
  .marketplace {
    width: calc(100% - 40px);
    min-width: 0;
    grid-template-columns: minmax(150px, 200px) minmax(0, 1fr);
    gap: clamp(16px, 2.5vw, 24px);
  }
  .filters, .product-grid, .products-content { min-width: 0; }
}
@media (max-width: 620px) {
  .site-header.site-header-glass { gap: 10px; padding: 12px 16px; }
  .site-header.site-header-glass .header-actions { gap: 5px; }
  .site-header.site-header-glass .header-action-group { gap: 5px; }
  .marketplace { display: block; width: calc(100% - 32px); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.auth-button#open-auth {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
#open-auth-label { overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 370px) {
  .auth-button#open-auth { max-width: 92px; gap: 4px; padding-inline: 6px; }
  #buyer-header-unread-badge { min-width: 17px; height: 17px; padding-inline: 3px; font-size: 9px; }
}
@media (max-width: 768px) {
  .site-header.site-header-glass {
    display: grid;
    width: 100%;
    min-width: 0;
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-areas:
      "brand messages profile"
      "search search search";
    align-items: center;
    gap: 8px;
    padding: 10px clamp(12px, 3vw, 20px);
  }
  .site-header.site-header-glass .brand {
    grid-area: brand;
    min-width: 0;
    flex: initial;
  }
  .site-header.site-header-glass .header-actions {
    display: contents;
  }
  .site-header.site-header-glass #open-messages {
    grid-area: messages;
    justify-self: end;
    min-height: 40px;
    padding-inline: 12px;
    white-space: nowrap;
  }
  .site-header.site-header-glass .profile-menu-container {
    position: relative;
    z-index: 20;
    display: block;
    grid-area: profile;
    justify-self: end;
  }
  .site-header.site-header-glass .profile-menu-toggle {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border: 1px solid #ffffff24;
    border-radius: 10px;
    background: #151b15;
    color: #c6ff79;
    font-size: 19px;
    cursor: pointer;
  }
  .site-header.site-header-glass .profile-menu-toggle[aria-expanded="true"] {
    border-color: #a6ff0080;
    background: #a6ff0018;
  }
  .site-header.site-header-glass .profile-menu-panel {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    display: none;
    width: min(300px, calc(100vw - 24px));
    max-height: min(70vh, 480px);
    overflow-y: auto;
    padding: 12px;
    border: 1px solid #30392f;
    border-radius: 14px;
    background: #111511;
    box-shadow: 0 18px 48px #0009;
    color: #f4f7f3;
  }
  .site-header.site-header-glass .profile-menu-container.is-open .profile-menu-panel {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .site-header.site-header-glass .profile-menu-panel .theme-toggle {
    width: 40px;
    min-height: 40px;
    flex: 0 0 40px;
  }
  .site-header.site-header-glass .profile-menu-panel .header-action-group {
    display: flex;
    min-width: 0;
    flex-wrap: wrap;
    gap: 8px;
  }
  .site-header.site-header-glass .profile-menu-panel .header-commerce-actions {
    padding: 0;
    border: 0;
  }
  .site-header.site-header-glass .profile-menu-panel .seller-link,
  .site-header.site-header-glass .profile-menu-panel .auth-button,
  .site-header.site-header-glass .profile-menu-panel .inventory-link,
  .site-header.site-header-glass .profile-menu-panel .cart-button {
    max-width: 100%;
    min-height: 40px;
    padding-inline: 10px;
    white-space: nowrap;
  }
  .site-header.site-header-glass .profile-menu-panel #open-auth-label {
    max-width: 170px;
  }
  .site-header.site-header-glass .search-form {
    grid-area: search;
    width: 100%;
    min-width: 0;
    max-width: none;
    flex: initial;
    margin: 0;
  }
  :root[data-theme="light"] .site-header.site-header-glass .profile-menu-toggle {
    border-color: #dce3d7;
    background: #fff;
    color: #385a00;
  }
  :root[data-theme="light"] .site-header.site-header-glass .profile-menu-panel {
    border-color: #dce3d7;
    background: #fff;
    color: #20251e;
    box-shadow: 0 18px 48px #1d281a30;
  }
}

/* Responsive type scale for tablet and desktop */
@media (min-width: 769px) {
  .hero.hero-futuristic h1 {
    font-size: clamp(40px, 4.2vw, 64px);
    line-height: 1.08;
  }
  .hero.hero-futuristic .hero-copy > p {
    font-size: clamp(15px, 1.2vw, 19px);
    line-height: 1.6;
  }
  .hero.hero-futuristic .hero-cta {
    min-height: 50px;
    padding: 0 24px;
    border-radius: 10px;
    font-size: 16px;
  }
  .hero.hero-futuristic .hero-cta span { font-size: 25px; }
  .benefit-icon {
    width: 52px;
    height: 52px;
    font-size: 25px;
  }
  .benefits strong { font-size: 16px; }
  .benefits small { font-size: 14px; line-height: 1.4; }
  .section-kicker {
    font-size: 12px;
    letter-spacing: 1.4px;
  }
  .filters h2 { font-size: 28px; }
  .category-button {
    min-height: 42px;
    gap: 10px;
    padding: 9px 12px;
    font-size: 16px;
    font-weight: 500;
  }
  .category-button span:last-child { font-size: 14px; }
  .sort-label { font-size: 14px; }
  .product-name { font-size: 16px; }
  .product-category,
  .product-store,
  .rating-caption { font-size: 13px; }
  .product-price { font-size: 19px; }
  .add-cart {
    width: 44px;
    height: 44px;
    font-size: 27px;
  }
  .messages-link,
  .cart-button,
  .profile-menu-toggle {
    font-size: 16px;
  }
  .messages-link { min-height: 44px; padding: 0 17px; }
  .header-cart-button { min-height: 44px; gap: 9px; }
  .header-cart-button > span:first-child { font-size: 27px; }
  .profile-menu-toggle { min-height: 44px; }
  .profile-avatar { width: 34px; height: 34px; }
  .profile-menu-chevron { font-size: 18px; }
  .search-form { height: 52px; }
  .search-form button {
    height: 42px;
    padding: 0 22px;
    font-size: 16px;
  }
  .search-form input { font-size: 15px; }
}
@media (min-width: 1200px) {
  .products-heading h2 { font-size: clamp(32px, 2.4vw, 42px); }
  .product-name { font-size: 18px; }
  .product-category,
  .product-store,
  .rating-caption { font-size: 14px; }
  .product-price { font-size: 21px; }
  .add-cart { width: 48px; height: 48px; font-size: 29px; }
  .profile-menu-panel .profile-menu-item { min-height: 44px; font-size: 15px; }
  .profile-menu-panel .profile-menu-item > span:first-child {
    width: 22px;
    font-size: 20px;
  }
}

/* Wide desktop canvas */
@media (min-width: 1200px) {
  .site-header.site-header-glass {
    padding-inline: max(32px, calc((100vw - 1440px) / 2));
  }
  .hero.hero-futuristic {
    width: 100%;
    max-width: none;
    min-height: 430px;
    margin-top: 0;
    padding-inline: max(64px, calc((100vw - 1440px) / 2 + 64px));
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }
  .hero.hero-futuristic .hero-copy {
    width: min(1440px, 100%);
    margin: 0 auto;
  }
  .hero.hero-futuristic h1 {
    max-width: 760px;
    font-size: clamp(44px, 4vw, 64px);
  }
  .hero.hero-futuristic .hero-copy > p {
    max-width: 560px;
    font-size: 15px;
    line-height: 1.65;
  }
  .benefits {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 28px max(64px, calc((100vw - 1440px) / 2 + 64px));
    border-bottom: 1px solid var(--line);
  }
  .benefits > div {
    justify-content: center;
    min-height: 48px;
  }
  .benefits strong { font-size: 13px; }
  .benefits small { font-size: 11px; }
  .marketplace {
    width: min(1440px, calc(100% - 96px));
    max-width: 1440px;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 64px;
    margin-top: 64px;
  }
  .products-heading h2 {
    font-size: clamp(28px, 2.2vw, 36px);
  }
  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 26px 20px;
  }
}
@media (min-width: 1600px) {
  .product-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

.site-footer {
  width: 100%;
  max-width: none;
  padding: 20px max(32px, calc((100vw - 1440px) / 2));
}
@media (min-width: 1200px) {
  .site-footer {
    min-height: 100px;
    padding-inline: max(64px, calc((100vw - 1440px) / 2 + 64px));
  }
}

/* Compact account menu */
.site-header.site-header-glass .profile-menu-panel {
  gap: 10px;
  width: min(270px, calc(100vw - 32px));
  padding: 12px;
}
.profile-menu-utility {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px 9px;
  border-bottom: 1px solid #252b24;
  color: #9ca3af;
  font-size: 10px;
  font-weight: 700;
}
.profile-menu-utility .theme-toggle {
  width: 34px;
  min-height: 30px;
  justify-content: center;
  padding: 4px;
}
.profile-menu-utility .theme-toggle .sr-only { position: absolute; }
.profile-menu-list {
  display: grid;
  gap: 3px;
}
.profile-menu-item {
  display: flex;
  width: 100%;
  min-height: 38px;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #d1d8ce;
  font-size: 11px;
  font-weight: 700;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.profile-menu-item > span:first-child { width: 16px; color: #a6ff00; text-align: center; }
.profile-menu-item:hover,
.profile-menu-item:focus-visible {
  background: #a6ff0014;
  color: #c6ff79;
  outline: 0;
}
.profile-menu-item[hidden] { display: none; }
.profile-menu-item .messages-unread-badge { margin-left: auto; }
.profile-menu-item.logout-button {
  margin-top: 5px;
  border-top: 1px solid #252b24;
  border-radius: 0 0 8px 8px;
  color: #ffb3a5;
}
.profile-menu-item.logout-button > span:first-child { color: #ff8e7c; }
:root[data-theme="light"] .profile-menu-utility { border-color: #e5e7eb; color: #4b5563; }
:root[data-theme="light"] .profile-menu-item { color: #374151; }
:root[data-theme="light"] .profile-menu-item:hover,
:root[data-theme="light"] .profile-menu-item:focus-visible {
  background: #f0f7e8;
  color: #385a00;
}
:root[data-theme="light"] .profile-menu-item.logout-button {
  border-color: #e5e7eb;
  color: #b42318;
}
:root[data-theme="light"] .hero-futuristic .hero-copy > p,
:root[data-theme="light"] .benefits small,
:root[data-theme="light"] .category-button,
:root[data-theme="light"] .category-button span:last-child,
:root[data-theme="light"] .seller-promo p {
  color: #4b5563;
}
:root[data-theme="dark"] .hero-futuristic .hero-copy > p,
:root[data-theme="dark"] .benefits small,
:root[data-theme="dark"] .category-button,
:root[data-theme="dark"] .category-button span:last-child,
:root[data-theme="dark"] .seller-promo p {
  color: #9ca3af;
}
@media (max-width: 768px) {
  .site-header.site-header-glass .profile-menu-panel {
    width: min(240px, 40vw);
  }
}

/* Mobile drawer alignment */
@media (max-width: 768px) {
  .site-header.site-header-glass .profile-menu-panel {
    z-index: 40;
    width: min(240px, 40vw);
    padding: max(14px, env(safe-area-inset-top)) 12px 14px;
  }
  .site-header.site-header-glass .profile-menu-utility {
    min-height: 32px;
    align-items: center;
    padding: 0 2px 7px;
    font-size: 9px;
  }
  .site-header.site-header-glass .profile-menu-utility .theme-toggle {
    display: inline-grid;
    width: 36px;
    height: 36px;
    min-height: 36px;
    margin: 0;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
  }
  .site-header.site-header-glass .profile-menu-utility .theme-toggle:hover,
  .site-header.site-header-glass .profile-menu-utility .theme-toggle:focus-visible {
    background: #a6ff0014;
    outline: 0;
  }
  .site-header.site-header-glass .profile-menu-list {
    gap: 2px;
  }
  .site-header.site-header-glass .profile-menu-item {
    min-height: 34px;
    gap: 7px;
    padding: 6px 7px;
    font-size: 11px;
    line-height: 1.2;
    white-space: nowrap;
  }
  .site-header.site-header-glass .profile-menu-item > span:first-child {
    width: 16px;
    flex: 0 0 16px;
    font-size: 14px;
  }
  .site-header.site-header-glass #favorites-label {
    display: inline;
  }
  .site-header.site-header-glass #open-auth-label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .site-header.site-header-glass .profile-menu-item.logout-button {
    margin-top: 5px;
    padding-top: 8px;
  }
}

/* Final header layout overrides */
.site-header.site-header-glass .profile-menu-container {
  position: relative;
  display: block;
}
.site-header.site-header-glass .profile-menu-panel {
  display: grid;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease;
}
.site-header.site-header-glass .profile-menu-container.is-open .profile-menu-panel {
  display: grid;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.site-header.site-header-glass .profile-menu-toggle {
  width: auto;
  height: 40px;
  padding: 4px 10px 4px 5px;
  border-radius: 999px;
  font-size: 11px;
}
@media (max-width: 768px) {
  .site-header.site-header-glass {
    grid-template-columns: minmax(0, 1fr) auto auto auto;
    grid-template-areas:
      "brand messages cart profile"
      "search search search search";
  }
  .site-header.site-header-glass .header-cart-button {
    grid-area: cart;
    justify-self: end;
  }
  .site-header.site-header-glass .profile-menu-toggle {
    width: 40px;
    padding: 0;
    border-radius: 10px;
  }
  .site-header.site-header-glass .profile-menu-toggle .profile-menu-label,
  .site-header.site-header-glass .profile-menu-toggle .profile-menu-chevron {
    display: none;
  }
  .site-header.site-header-glass .profile-menu-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: min(240px, 40vw);
    height: 100dvh;
    max-height: none;
    padding: max(14px, env(safe-area-inset-top)) 12px 14px;
    border-width: 0 0 0 1px;
    border-radius: 0;
    overflow-y: auto;
    transform: translateX(100%);
  }
  .site-header.site-header-glass .profile-menu-container.is-open .profile-menu-panel {
    display: grid;
    transform: translateX(0);
  }
  .site-header.site-header-glass .profile-menu-panel::before {
    display: block;
    margin-bottom: 4px;
    color: #a6ff00;
    content: "Menu da conta";
    font: 800 18px "Manrope", sans-serif;
  }
}

/* Stable mobile drawer overlay */
.profile-menu-backdrop { display: none; }
@media (max-width: 768px) {
  body.profile-drawer-open { overflow: hidden; }
  .site-header.site-header-glass .profile-menu-backdrop {
    position: fixed;
    z-index: 35;
    inset: 0;
    display: block;
    width: 100vw;
    height: 100dvh;
    padding: 0;
    border: 0;
    background: #00000099;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease;
  }
  .site-header.site-header-glass .profile-menu-container.is-open .profile-menu-backdrop {
    opacity: 1;
    pointer-events: auto;
  }
  .site-header.site-header-glass .profile-menu-panel {
    position: fixed;
    z-index: 40;
    inset: 0 0 0 auto;
    width: min(280px, 75vw);
    height: 100dvh;
    max-height: none;
    padding: max(14px, env(safe-area-inset-top)) 12px 14px;
    overflow-y: auto;
    transform: translateX(100%);
  }
  .site-header.site-header-glass .profile-menu-container.is-open .profile-menu-panel {
    transform: translateX(0);
  }
  .site-header.site-header-glass .profile-menu-list { gap: 2px; }
  .site-header.site-header-glass .profile-menu-item {
    min-height: 36px;
    gap: 8px;
    padding: 6px 8px;
    font-size: 11px;
    white-space: nowrap;
  }
  .site-header.site-header-glass .profile-menu-item > span:first-child {
    width: 16px;
    flex: 0 0 16px;
    font-size: 14px;
  }
  .site-header.site-header-glass #favorites-label { display: inline; }
}

/* Mobile drawer contract: the overlay and panel never participate in layout flow. */
.site-header.site-header-glass .profile-menu-toggle {
  display: inline-flex;
}
.profile-menu-container {
  position: fixed;
  z-index: 50;
  top: 84px;
  right: max(32px, calc((100vw - 1440px) / 2));
  display: block;
  pointer-events: none;
}
.profile-menu-container .profile-menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  width: min(270px, calc(100vw - 32px));
  padding: 12px;
  border: 1px solid #2a3428;
  border-radius: 14px;
  background: #111711;
  box-shadow: 0 18px 45px #0008;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease;
}
.profile-menu-container.is-open .profile-menu-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.profile-menu-container .profile-menu-backdrop {
  display: none;
}
.profile-menu-container .profile-menu-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.profile-menu-container .profile-menu-item {
  display: flex;
  width: 100%;
  min-height: 38px;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #d1d8ce;
  font-size: 11px;
  font-weight: 700;
  text-align: left;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
.profile-menu-container .profile-menu-item > span:first-child {
  width: 16px;
  flex: 0 0 16px;
  color: #a6ff00;
  text-align: center;
}
.profile-menu-container .profile-menu-item:hover,
.profile-menu-container .profile-menu-item:focus-visible {
  background: #a6ff0014;
  color: #c6ff79;
  outline: 0;
}
@media (max-width: 768px) {
  .profile-menu-container {
    position: fixed;
    z-index: 50;
    inset: 0;
    pointer-events: none;
  }
  .profile-menu-container .profile-menu-backdrop {
    position: fixed;
    z-index: 40;
    inset: 0;
    display: block;
    width: 100vw;
    height: 100dvh;
    border: 0;
    background: rgb(0 0 0 / 60%);
    backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease;
  }
  .profile-menu-container.is-open .profile-menu-backdrop {
    opacity: 1;
    pointer-events: auto;
  }
  .profile-menu-container .profile-menu-panel {
    position: fixed;
    z-index: 50;
    inset: 0 0 0 auto;
    width: 75vw;
    max-width: 280px;
    height: 100dvh;
    max-height: none;
    padding: max(16px, env(safe-area-inset-top)) 16px 16px;
    overflow-y: auto;
    border: 0;
    border-left: 1px solid #2a3428;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transform: translateX(100%);
    transition: transform .2s ease;
    pointer-events: auto;
  }
  .profile-menu-container.is-open .profile-menu-panel {
    transform: translateX(0);
  }
  .profile-menu-container .profile-menu-list { gap: 3px; }
  .profile-menu-container .profile-menu-item {
    min-height: 36px;
    font-size: 11px;
  }
}
.profile-menu-container .profile-menu-panel {
  pointer-events: auto;
}
@media (max-width: 768px) {
  .site-header.site-header-glass .profile-menu-container {
    position: fixed;
    z-index: 50;
    inset: 0;
    pointer-events: none;
  }
  .site-header.site-header-glass .profile-menu-backdrop {
    position: fixed !important;
    inset: 0 !important;
    z-index: 40 !important;
    width: 100vw !important;
    height: 100dvh !important;
    margin: 0 !important;
    border: 0 !important;
    background: rgb(0 0 0 / 60%) !important;
    backdrop-filter: blur(4px);
  }
  .site-header.site-header-glass .profile-menu-panel {
    position: fixed !important;
    inset: 0 0 0 auto !important;
    z-index: 50 !important;
    width: 60vw !important;
    max-width: 240px !important;
    height: 100dvh !important;
    max-height: none !important;
    margin: 0 !important;
    padding: max(16px, env(safe-area-inset-top)) 16px 16px !important;
    overflow-y: auto !important;
    border-radius: 0 !important;
    display: flex !important;
    flex-direction: column;
    gap: 12px;
    transform: translateX(100%) !important;
    transition: transform .2s ease;
    pointer-events: auto;
  }
  .site-header.site-header-glass .profile-menu-container.is-open .profile-menu-panel {
    transform: translateX(0) !important;
  }
  .site-header.site-header-glass .profile-menu-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .site-header.site-header-glass .profile-menu-item {
    min-height: 38px;
    gap: 8px;
    padding: 7px 8px;
    white-space: nowrap;
  }
  .site-header.site-header-glass #favorites-label {
    display: inline !important;
  }
}

@media (min-width: 769px) and (max-width: 1199px) {
  .site-header.site-header-glass { width: calc(100% - 40px); gap: clamp(16px, 2.5vw, 32px); }
  .hero.hero-futuristic { width: calc(100% - 40px); min-height: clamp(360px, 42vw, 480px); padding-inline: clamp(36px, 7vw, 90px); }
  .hero-futuristic h1 { font-size: clamp(42px, 5vw, 60px); }
  .hero-futuristic .hero-copy > p { font-size: clamp(16px, 1.6vw, 19px); }
  .benefits { width: calc(100% - 64px); }
  .benefits strong { font-size: 14px; }
  .benefits small { font-size: 12px; }
  .marketplace { width: calc(100% - 40px); grid-template-columns: minmax(190px, 230px) minmax(0, 1fr); gap: clamp(24px, 4vw, 44px); }
  .product-grid { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 20px; }
  .products-heading h2 { font-size: clamp(26px, 3vw, 34px); }
  .site-footer { width: 100%; font-size: 12px; }
}
@media (min-width: 1200px) {
  .site-header.site-header-glass { width: min(1600px, calc(100% - 96px)); min-height: clamp(88px, 6vw, 108px); gap: clamp(36px, 4vw, 64px); }
  .site-header.site-header-glass .brand { font-size: clamp(25px, 1.8vw, 32px); }
  .site-header.site-header-glass .search-form { max-width: 720px; height: clamp(48px, 3.5vw, 60px); }
  .site-header.site-header-glass .search-form input,
  .site-header.site-header-glass .messages-link,
  .site-header.site-header-glass .profile-menu-item { font-size: clamp(14px, 1vw, 17px); }
  .site-header.site-header-glass .search-form button { height: 44px; padding-inline: 22px; font-size: 15px; }
  .hero.hero-futuristic { width: 100%; max-width: none; min-height: clamp(480px, 36vw, 620px); margin-top: 0; padding-inline: max(64px, calc((100vw - 1600px) / 2 + 96px)); }
  .hero.hero-futuristic .hero-copy { width: min(1440px, 100%); }
  .hero-futuristic h1 { max-width: 880px; font-size: clamp(64px, 5.2vw, 86px); }
  .hero-futuristic .hero-copy > p { max-width: 660px; font-size: clamp(19px, 1.35vw, 23px); }
  .hero-futuristic .hero-cta { min-height: 58px; padding-inline: 28px; font-size: 16px; }
  .benefits { width: 100%; max-width: none; margin-block: 0 72px; padding: 28px max(64px, calc((100vw - 1600px) / 2 + 96px)); }
  .benefits > div { gap: 16px; }
  .benefit-icon { width: 52px; height: 52px; font-size: 25px; }
  .benefits strong { font-size: 16px; }
  .benefits small { font-size: 14px; }
  .marketplace { width: min(1600px, calc(100% - 96px)); max-width: 1600px; grid-template-columns: minmax(240px, 290px) minmax(0, 1fr); gap: clamp(42px, 5vw, 80px); margin-top: 64px; margin-bottom: 110px; }
  .filters h2 { font-size: clamp(27px, 2vw, 34px); }
  .category-button, .sort-label { font-size: 15px; }
  .filters select { height: 48px; font-size: 14px; }
  .products-heading { margin-bottom: 26px; }
  .products-heading h2 { font-size: clamp(32px, 2.5vw, 42px); }
  .result-count { font-size: 14px; }
  .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2vw, 32px); }
  .product-card { padding: clamp(14px, 1.2vw, 20px); }
  .product-info { padding-top: 16px; }
  .product-card .product-name { font-size: clamp(18px, 1.2vw, 22px); }
  .product-card .product-price { font-size: clamp(19px, 1.3vw, 24px); }
  .site-footer { width: 100%; max-width: none; min-height: 100px; padding-inline: max(64px, calc((100vw - 1600px) / 2 + 96px)); font-size: 13px; }
}
@media (min-width: 1600px) {
  .product-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
