:root {
  --bg: #fff8f1;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: #ffffff;
  --text: #231815;
  --muted: #725d54;
  --accent: #ef6c4d;
  --accent-dark: #c34a30;
  --line: rgba(35, 24, 21, 0.08);
  --shadow: 0 22px 60px rgba(91, 45, 34, 0.14);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", sans-serif;
  color: var(--text);
  background: #f5f5f7;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 5vw;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  backdrop-filter: blur(14px);
  background: rgba(255, 248, 241, 0.96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(35, 24, 21, 0.08);
  z-index: 100;
}

.brand {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 1;
}

.brand.brand-logo-link {
  font-size: 0 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.brand-logo-img {
  display: block;
  height: 54px !important;
  width: auto !important;
  max-width: 180px !important;
  object-fit: contain !important;
}

@media (max-width: 900px), (hover: none) and (pointer: coarse) {
  .brand-logo-img {
    height: 46px !important;
    max-width: 150px !important;
  }
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

main {
  padding: 104px 5vw 48px;
}

.pwa-install {
  margin: 0 auto 20px;
  display: block;
}

.hero,
.dashboard-head,
.dashboard-grid,
.grid-two,
.auth-shell,
.home-intro,
.home-social-layout,
.home-contact {
  width: min(1200px, 100%);
  margin: 0 auto 24px;
}

.hero {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.hero h1,
.dashboard-head h1 {
  font-size: clamp(2.2rem, 4vw, 4.6rem);
  line-height: 0.96;
  margin: 12px 0;
  max-width: 12ch;
}

.eyebrow {
  display: inline-block;
  color: var(--accent-dark);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.card-glass,
.panel-card,
.auth-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  backdrop-filter: blur(10px);
}

.home-intro {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
}

.home-intro h1 {
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.95;
  margin: 12px 0;
  max-width: 11ch;
}

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

.dashboard-shell {
  width: min(1280px, 100%);
  margin: 0 auto 24px;
  display: grid;
  grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  position: relative;
}

.dashboard-sidebar {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 18px;
  width: 100%;
  max-width: 340px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(17, 20, 24, 0.08);
  border-radius: 10px;
  box-shadow: 0 20px 40px rgba(17, 20, 24, 0.08);
}

.dashboard-sidebar h1 {
  font-size: 1.9rem;
  line-height: 1;
  margin: 0;
}

.dashboard-sidebar-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
}

.dashboard-overlay {
  display: none;
}

.dashboard-close,
.dashboard-menu-toggle {
  appearance: none;
  border: 1px solid rgba(17, 20, 24, 0.1);
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
  width: 44px;
  height: 44px;
  border-radius: 10px;
  padding: 0;
  cursor: pointer;
  position: relative;
}

.dashboard-close {
  display: none;
}

.dashboard-close span,
.dashboard-menu-toggle span {
  position: absolute;
  left: 50%;
  width: 18px;
  height: 2px;
  background: #231815;
  border-radius: 999px;
  transform: translateX(-50%);
}

.dashboard-close span:first-child {
  transform: translateX(-50%) rotate(45deg);
}

.dashboard-close span:last-child {
  transform: translateX(-50%) rotate(-45deg);
}

.dashboard-menu-toggle span:nth-child(1) {
  top: 14px;
}

.dashboard-menu-toggle span:nth-child(2) {
  top: 21px;
}

.dashboard-menu-toggle span:nth-child(3) {
  top: 28px;
}

.dashboard-role-switch {
  display: grid;
  gap: 10px;
}

.dashboard-role-switch label {
  font-size: 0.9rem;
  color: var(--muted);
}

.distribuidora-orders-note {
  margin-bottom: 18px;
  background: #fffaf2;
  border: 1px solid #f6d9b8;
}

.distribuidora-orders-note p {
  margin: 0;
  color: #8b5a2b;
}

.distribuidora-orders-grid {
  display: grid;
  gap: 16px;
}

.distribuidora-orders-table-wrap,
.distribuidora-sales-table-wrap {
  overflow: hidden;
  background: #fff;
}

.distribuidora-orders-table,
.distribuidora-sales-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.distribuidora-orders-table th,
.distribuidora-orders-table td,
.distribuidora-sales-table th,
.distribuidora-sales-table td {
  padding: 14px 12px;
  border-bottom: 1px solid rgba(17, 20, 24, 0.08);
  text-align: left;
  vertical-align: middle;
}

.distribuidora-orders-table th,
.distribuidora-sales-table th {
  color: var(--muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.distribuidora-orders-table td strong,
.distribuidora-orders-table td span {
  display: block;
}

.distribuidora-orders-table td span {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 4px;
}

.distribuidora-sales-table td {
  font-size: 0.95rem;
}

.distribuidora-sales-table td:nth-child(2) {
  font-weight: 700;
}

.distribuidora-sales-table td:nth-child(3),
.distribuidora-sales-table td:nth-child(5),
.distribuidora-sales-table td:nth-child(6) {
  white-space: nowrap;
}

.distribuidora-sales-table td:last-child {
  width: 88px;
}

.distribuidora-sales-filter-card {
  padding: 18px;
}

.distribuidora-sales-filter-form {
  display: flex;
  align-items: end;
  gap: 12px;
  flex-wrap: wrap;
}

.distribuidora-sales-filter-form label {
  display: grid;
  gap: 6px;
  min-width: 220px;
  color: var(--text);
  font-weight: 700;
}

.distribuidora-sales-filter-form label span {
  font-size: 0.92rem;
}

.distribuidora-sales-filter-form select {
  min-height: 44px;
}

.distribuidora-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  justify-content: center;
}

.distribuidora-order-card {
  display: grid;
  gap: 14px;
  background: #fff;
}

.distribuidora-sales-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.distribuidora-sales-card {
  padding: 18px;
}

.distribuidora-order-detail-button {
  justify-self: start;
  min-height: 34px;
  padding: 7px 11px;
  font-size: 0.86rem;
}

.distribuidora-order-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.distribuidora-order-head strong,
.distribuidora-order-item-copy strong {
  display: block;
}

.distribuidora-order-head span,
.distribuidora-order-item-copy span,
.distribuidora-order-release {
  color: var(--muted);
  font-size: 0.95rem;
}

.distribuidora-order-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.88rem;
}

.distribuidora-order-pill.is-pending {
  background: #fff4e8;
  color: #b45309;
}

.distribuidora-order-pill.is-protection {
  background: #eef6ff;
  color: #1d4ed8;
}

.distribuidora-order-pill.is-liberable {
  background: #ecfdf3;
  color: #15803d;
}

.distribuidora-order-pill.is-paid {
  background: #eef2f7;
  color: #111827;
}

.distribuidora-order-pill.is-deposited {
  background: #ecfdf3;
  color: #15803d;
}

.distribuidora-order-pill.is-cancelled {
  background: #fff1f2;
  color: #be123c;
}

.distribuidora-order-meta,
.distribuidora-order-amounts,
.distribuidora-order-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.distribuidora-order-meta div,
.distribuidora-order-amounts div,
.distribuidora-order-summary-grid div {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #faf8f5;
  border: 1px solid rgba(35, 24, 21, 0.06);
}

.distribuidora-order-meta span,
.distribuidora-order-amounts span,
.distribuidora-order-summary-grid span {
  color: var(--muted);
  font-size: 0.88rem;
}

.distribuidora-order-copy {
  margin: 0;
  color: #5b4337;
  font-weight: 700;
}

.distribuidora-order-detail-block,
.distribuidora-order-summary {
  display: grid;
  gap: 16px;
  background: #fff;
}

.distribuidora-order-block-head h3,
.distribuidora-order-summary h3 {
  margin: 0;
}

.distribuidora-order-items {
  display: grid;
  gap: 12px;
}

.distribuidora-order-items-detailed {
  gap: 14px;
}

.distribuidora-order-item-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border-radius: 16px;
  background: #fcfbf9;
  border: 1px solid rgba(35, 24, 21, 0.06);
}

.distribuidora-order-item-row img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 14px;
  background: #fff;
}

.distribuidora-order-item-prices {
  display: grid;
  gap: 4px;
  justify-items: end;
  text-align: right;
  font-weight: 700;
}

.distribuidora-order-item-metrics {
  gap: 6px;
}

.distribuidora-bank-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 18px;
}

.distribuidora-bank-card {
  display: grid;
  gap: 18px;
  background: #fff;
}

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

.distribuidora-bank-form label {
  display: grid;
  gap: 6px;
}

.distribuidora-bank-form label span {
  font-weight: 700;
}

.distribuidora-bank-list {
  display: grid;
  gap: 12px;
}

.distribuidora-bank-row {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 12px;
  padding: 14px;
  border-radius: 14px;
  background: #faf8f5;
  border: 1px solid rgba(35, 24, 21, 0.06);
}

.distribuidora-bank-row strong,
.distribuidora-bank-row span {
  display: block;
}

.distribuidora-bank-row span {
  color: var(--muted);
  margin-top: 4px;
}

.distribuidora-orders-mobile,
.distribuidora-orders-mobile-cards {
  display: none;
}

@media (max-width: 900px), (hover: none) and (pointer: coarse) {
  .distribuidora-orders-table-wrap,
  .distribuidora-sales-table-wrap {
    display: none;
  }

  .distribuidora-orders-mobile,
  .distribuidora-orders-mobile-cards {
    display: grid;
  }

  .distribuidora-sales-cards {
    grid-template-columns: 1fr;
  }

  .distribuidora-sales-filter-form {
    display: grid;
    grid-template-columns: 1fr;
  }

  .distribuidora-sales-filter-form label,
  .distribuidora-sales-filter-form .button {
    width: 100%;
  }

  .distribuidora-order-head {
    grid-template-columns: 1fr;
    display: grid;
  }

  .distribuidora-order-meta,
  .distribuidora-order-amounts,
  .distribuidora-order-summary-grid {
    grid-template-columns: 1fr;
  }

  .distribuidora-order-item-row {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .distribuidora-order-item-row img {
    width: 56px;
    height: 56px;
  }

  .distribuidora-order-item-prices {
    grid-column: 1 / -1;
    justify-items: start;
    text-align: left;
  }

  .distribuidora-order-detail-button {
    width: 100%;
  }

  .distribuidora-sales-card-compact {
    padding: 16px;
  }

  .distribuidora-order-meta-single {
    grid-template-columns: 1fr 1fr;
  }

  .distribuidora-bank-grid {
    grid-template-columns: 1fr;
  }

  .distribuidora-bank-row {
    display: grid;
  }
}

@media (max-width: 1100px) {
  .distribuidora-sales-cards {
    grid-template-columns: 1fr;
  }
}

.dashboard-role-switch select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  font: inherit;
  background: #fbfbfc;
}

.dashboard-menu {
  display: grid;
  gap: 18px;
}

.dashboard-menu-group {
  display: grid;
  gap: 10px;
}

.dashboard-menu-heading {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #8e7b73;
  padding: 0 6px;
}

.dashboard-menu-link {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  border: 1px solid rgba(17, 20, 24, 0.07);
  border-radius: 10px;
  padding: 14px;
  background: #ffffff;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.dashboard-menu-logout {
  margin: 0;
}

.dashboard-menu-logout-button {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 0;
  cursor: pointer;
}

.dashboard-menu-link:hover,
.dashboard-menu-link.is-active {
  transform: translateY(-1px);
  border-color: rgba(17, 20, 24, 0.12);
  background: #f4f5f7;
  box-shadow: inset 0 0 0 1px rgba(17, 20, 24, 0.02);
}

.dashboard-menu-link.is-disabled {
  cursor: default;
  opacity: 0.72;
  background: #f7f7f8;
  border-color: rgba(17, 20, 24, 0.08);
  box-shadow: none;
}

.dashboard-menu-link.is-disabled:hover {
  transform: none;
}

.dashboard-menu-copy {
  display: grid;
  gap: 4px;
}

.dashboard-menu-copy span {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.4;
}

.dashboard-menu-icon {
  width: 18px;
  height: 18px;
  position: relative;
  margin-top: 2px;
  color: #4a3a34;
}

.dashboard-menu-icon::before,
.dashboard-menu-icon::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: currentColor;
}

.icon-overview::before {
  inset: 2px;
  border-radius: 5px;
  background: transparent;
  border: 1.6px solid currentColor;
}

.icon-profile::before {
  width: 8px;
  height: 8px;
  top: 1px;
  left: 5px;
}

.icon-profile::after {
  width: 14px;
  height: 7px;
  bottom: 1px;
  left: 2px;
  border-radius: 999px 999px 6px 6px;
}

.icon-password::before {
  width: 12px;
  height: 9px;
  bottom: 2px;
  left: 3px;
  border-radius: 3px;
  background: transparent;
  border: 1.6px solid currentColor;
}

.icon-password::after {
  width: 8px;
  height: 7px;
  top: 1px;
  left: 5px;
  border-radius: 999px 999px 0 0;
  background: transparent;
  border: 1.6px solid currentColor;
  border-bottom: 0;
}

.icon-notifications::before,
.icon-avisos::before,
.icon-avisos-config::before {
  width: 12px;
  height: 11px;
  top: 1px;
  left: 3px;
  border-radius: 7px 7px 4px 4px;
  background: transparent;
  border: 1.6px solid currentColor;
}

.icon-notifications::after,
.icon-avisos::after,
.icon-avisos-config::after {
  width: 6px;
  height: 2px;
  bottom: 1px;
  left: 6px;
}

.icon-messages::before,
.icon-shop::before,
.icon-community::before,
.icon-purchases::before,
.icon-favorites::before,
.icon-store-favorites::before,
.icon-discounts::before,
.icon-overview::after {
  inset: 2px;
  background: transparent;
  border: 1.6px solid currentColor;
  border-radius: 4px;
}

.icon-messages::after {
  width: 7px;
  height: 7px;
  bottom: 1px;
  left: 4px;
  background: transparent;
  border-left: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(-45deg);
}

.icon-shop::after {
  width: 10px;
  height: 2px;
  top: 8px;
  left: 4px;
}

.icon-community::after {
  width: 8px;
  height: 8px;
  top: 5px;
  left: 5px;
  border-radius: 50%;
  background: transparent;
  border: 1.6px solid currentColor;
}

.icon-purchases::after {
  width: 10px;
  height: 2px;
  bottom: 4px;
  left: 4px;
}

.icon-favorites::before {
  width: 10px;
  height: 10px;
  top: 4px;
  left: 4px;
  transform: rotate(45deg);
  border: 1.6px solid currentColor;
  background: transparent;
}

.icon-favorites::after {
  display: none;
}

.icon-store-favorites::after {
  width: 10px;
  height: 8px;
  top: 5px;
  left: 4px;
  background: transparent;
  border: 1.6px solid currentColor;
  border-top: 0;
  border-radius: 0 0 3px 3px;
}

.icon-discounts::after {
  width: 2px;
  height: 10px;
  top: 4px;
  left: 8px;
  transform: rotate(25deg);
}

.dashboard-content {
  display: grid;
  gap: 24px;
}

.dashboard-mobile-bar {
  display: none;
}

.dashboard-welcome {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) auto;
  gap: 20px;
  align-items: end;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(244, 245, 247, 0.98));
  border-radius: 10px;
}

.dashboard-welcome-copy h1 {
  margin: 10px 0 12px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 0.96;
  max-width: 12ch;
}

.dashboard-welcome-copy p {
  margin: 0;
  color: #5d4c45;
  font-size: 1rem;
  line-height: 1.6;
  max-width: 60ch;
}

.dashboard-welcome-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

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

.dashboard-quick-card {
  display: grid;
  gap: 10px;
  min-height: 180px;
  border-radius: 10px;
  padding: 24px;
  color: #16181c;
  box-shadow: 0 16px 32px rgba(17, 20, 24, 0.06);
  border: 1px solid rgba(17, 20, 24, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dashboard-quick-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(17, 20, 24, 0.1);
}

.dashboard-quick-card strong {
  font-size: 1.45rem;
  line-height: 1.05;
}

.dashboard-quick-card p {
  margin: 0;
  color: #4d3d36;
  line-height: 1.55;
}

.dashboard-quick-kicker {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  border-radius: 10px;
  padding: 7px 10px;
  background: rgba(17, 20, 24, 0.04);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.quick-shop {
  background: linear-gradient(135deg, #ffffff, #f1f3f5);
}

.quick-artists {
  background: linear-gradient(135deg, #ffffff, #f4f5f7);
}

.quick-discounts {
  background: linear-gradient(135deg, #ffffff, #f5f1ee);
}

.quick-messages {
  background: linear-gradient(135deg, #ffffff, #f2f4f7);
}

.dashboard-section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
}

.dashboard-section-head h2 {
  margin: 10px 0 0;
  font-size: 2rem;
  line-height: 1;
}

.dashboard-section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 46ch;
  line-height: 1.6;
}

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

.dashboard-soft-stats .dashboard-stat-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
}

.dashboard-stat-card {
  display: grid;
  gap: 8px;
}

.dashboard-stat-card span {
  color: var(--muted);
  font-size: 0.9rem;
}

.dashboard-stat-card strong {
  font-size: 1.15rem;
}

.dashboard-module-card {
  display: grid;
  gap: 14px;
  padding: 28px;
  border-radius: 10px;
}

.dashboard-password-card {
  padding: 28px;
  border-radius: 10px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfbfc 100%);
  border: 1px solid rgba(17, 20, 24, 0.08);
  box-shadow: 0 18px 40px rgba(17, 20, 24, 0.08);
}

.dashboard-feature-card {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(246, 247, 249, 0.98));
  border-radius: 10px;
}

.dashboard-feature-copy {
  display: grid;
  gap: 10px;
}

.dashboard-feature-copy h3 {
  margin: 0;
  font-size: 1.8rem;
  line-height: 1;
}

.dashboard-feature-copy p {
  margin: 0;
  color: var(--muted);
  max-width: 54ch;
  line-height: 1.6;
}

.dashboard-feedback {
  border-radius: 10px;
  padding: 14px 18px;
  font-weight: 700;
}

.dashboard-feedback-success {
  background: #edf8ef;
  color: #245234;
  border: 1px solid rgba(84, 149, 102, 0.22);
}

.dashboard-feedback-error {
  background: rgba(220, 110, 87, 0.14);
  color: #8b2f1d;
  border: 1px solid rgba(220, 110, 87, 0.2);
}

.dashboard-password-form {
  display: grid;
  gap: 18px;
  max-width: 520px;
}

.dashboard-form-field {
  display: grid;
  gap: 8px;
}

.dashboard-form-field label {
  font-weight: 700;
  color: #16181c;
}

.dashboard-form-field input {
  border-radius: 10px;
  border: 1px solid rgba(17, 20, 24, 0.12);
  background: #ffffff;
}

.dashboard-form-field input:focus {
  outline: none;
  border-color: rgba(17, 20, 24, 0.32);
  box-shadow: 0 0 0 3px rgba(17, 20, 24, 0.06);
}

.dashboard-form-field select,
.dashboard-form-field textarea {
  border-radius: 10px;
  border: 1px solid rgba(17, 20, 24, 0.12);
  background: #ffffff;
}

.dashboard-form-field select:focus,
.dashboard-form-field textarea:focus {
  outline: none;
  border-color: rgba(17, 20, 24, 0.32);
  box-shadow: 0 0 0 3px rgba(17, 20, 24, 0.06);
}

.dashboard-field-error {
  color: #9d3118;
  font-size: 0.9rem;
}

.dashboard-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.dashboard-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 10px;
  padding: 10px 14px;
  background: rgba(17, 20, 24, 0.05);
  color: #16181c;
  font-weight: 700;
}

.dashboard-access-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.dashboard-access-card {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: 10px;
  border: 1px solid rgba(17, 20, 24, 0.08);
  background: #f7f7f8;
}

.dashboard-access-card strong {
  color: #111418;
  font-size: 1rem;
}

.dashboard-access-card span {
  color: #5f6670;
  font-size: 0.95rem;
}

.dashboard-access-card.is-disabled {
  background: #fbfbfc;
}

.dashboard-upcoming-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 7px 10px;
  border-radius: 10px;
  background: #eceef1;
  color: #3f454d;
  font-size: 0.82rem;
  font-weight: 600;
}

.distribuidora-store-shell {
  display: grid;
}

.distribuidora-store-card {
  display: grid;
  gap: 24px;
}

.distribuidora-store-head {
  display: grid;
  gap: 18px;
}

.distribuidora-store-head h1 {
  margin: 0;
  font-size: clamp(1.8rem, 2vw, 2.2rem);
}

.distribuidora-store-head p {
  margin: 10px 0 0;
  color: #5f6670;
  line-height: 1.6;
}

.distribuidora-store-preview {
  display: grid;
  gap: 6px;
  padding: 16px;
  border-radius: 10px;
  border: 1px solid rgba(17, 20, 24, 0.08);
  background: #f7f7f8;
}

.distribuidora-store-preview span {
  color: #5f6670;
  font-size: 0.9rem;
}

.distribuidora-store-preview a {
  color: #111418;
  font-weight: 700;
  word-break: break-all;
}

.distribuidora-store-form {
  display: grid;
  gap: 18px;
}

.distribuidora-slug-field {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(17, 20, 24, 0.12);
  border-radius: 10px;
  background: #ffffff;
  padding: 0 14px;
}

.distribuidora-slug-field span {
  color: #5f6670;
  font-size: 0.92rem;
}

.distribuidora-slug-field input {
  border: none;
  padding-left: 0;
  padding-right: 0;
}

.distribuidora-slug-field input:focus {
  box-shadow: none;
}

.distribuidora-social-grid {
  display: grid;
  gap: 16px;
}

.distribuidora-store-actions {
  display: flex;
  justify-content: flex-start;
}

.distribuidora-image-preview {
  width: 112px;
  height: 112px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(17, 20, 24, 0.08);
  background: #f7f7f8;
  margin-bottom: 10px;
}

.distribuidora-image-preview.is-banner {
  width: 100%;
  max-width: 360px;
  height: 140px;
}

.distribuidora-image-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.image-editor-grid {
  display: grid;
  gap: 18px;
}

.image-dropzone {
  display: grid;
  gap: 12px;
  border-style: dashed;
}

.image-dropzone input[type="file"] {
  width: 100%;
}

.image-dropzone-label {
  display: grid;
  gap: 6px;
  color: #5f6670;
}

.image-dropzone-label strong {
  color: #111418;
}

.image-editor-workspace {
  display: grid;
  gap: 14px;
}

.image-editor-canvas-wrap {
  min-height: 280px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #f7f7f8;
}

.image-editor-canvas-wrap img {
  display: block;
  max-width: 100%;
}

.image-editor-empty {
  display: grid;
  gap: 6px;
  text-align: center;
  color: #5f6670;
}

.image-editor-empty strong {
  color: #111418;
}

.image-editor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-links-list {
  display: grid;
  gap: 14px;
}

.social-link-row {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.social-link-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.social-link-icon {
  width: 22px;
  height: 22px;
  color: #16181c;
  flex: 0 0 22px;
}

.social-link-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.social-link-copy {
  display: grid;
  gap: 4px;
}

.social-link-copy strong {
  color: #111418;
}

.social-link-copy span {
  color: #5f6670;
  font-size: 0.92rem;
}

.distribuidora-price-mode-card,
.distribuidora-price-editor,
.distribuidora-price-mode-note {
  display: grid;
  gap: 18px;
}

.distribuidora-price-mode-head h2,
.distribuidora-price-editor h3 {
  margin: 0;
}

.distribuidora-price-mode-options {
  display: grid;
  gap: 12px;
}

.distribuidora-radio-option {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 16px;
  border-radius: 10px;
  border: 1px solid rgba(17, 20, 24, 0.08);
  background: #f7f7f8;
}

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

.distribuidora-radio-option strong {
  color: #111418;
}

.distribuidora-radio-option small,
.distribuidora-price-editor p,
.distribuidora-price-mode-note p {
  color: #5f6670;
  line-height: 1.6;
  margin: 0;
}

@media (min-width: 768px) {
  .distribuidora-store-head {
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: start;
  }

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

  .image-editor-grid {
    grid-template-columns: 320px minmax(0, 1fr);
    align-items: start;
  }
}

.public-store-shell {
  display: grid;
  gap: 24px;
}

.public-store-hero {
  display: grid;
  gap: 22px;
}

.public-store-banner {
  width: 100%;
  min-height: 180px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(17, 20, 24, 0.08);
}

.public-store-banner img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
  display: block;
}

.public-store-brand {
  display: grid;
  gap: 18px;
}

.public-store-brand img,
.public-store-avatar-fallback {
  width: 92px;
  height: 92px;
  border-radius: 10px;
}

.public-store-brand img {
  object-fit: cover;
  border: 1px solid rgba(17, 20, 24, 0.08);
}

.public-store-avatar-fallback {
  display: grid;
  place-items: center;
  background: #eceef1;
  color: #16181c;
  font-size: 2rem;
  font-weight: 700;
}

.public-store-copy {
  display: grid;
  gap: 10px;
}

.public-store-copy h1,
.public-store-section h2 {
  margin: 0;
}

.public-store-copy p,
.public-store-section p {
  margin: 0;
  color: #5f6670;
  line-height: 1.6;
}

.public-store-handle {
  color: #7a818a;
  font-size: 0.95rem;
}

.public-store-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  color: #7a818a;
  font-size: 0.9rem;
}

.public-store-actions {
  display: grid;
  gap: 16px;
}

.public-store-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.public-store-nav a {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(17, 20, 24, 0.08);
  background: #f7f7f8;
  color: #16181c;
}

.public-store-grid {
  display: grid;
  gap: 18px;
}

.public-store-section {
  display: grid;
  gap: 12px;
}

.public-store-links {
  display: grid;
  gap: 12px;
}

.store-public-shell {
  display: grid;
  gap: 22px;
}

.store-public-hero {
  display: grid;
  gap: 0;
  overflow: hidden;
}

.store-public-banner,
.store-public-banner-fallback {
  min-height: 220px;
}

.store-public-banner img {
  width: 100%;
  min-height: 220px;
  height: 100%;
  object-fit: cover;
  display: block;
}

.store-public-banner-fallback {
  background:
    linear-gradient(135deg, rgba(239, 108, 77, 0.18), rgba(242, 197, 92, 0.12)),
    linear-gradient(180deg, #f2f4f6, #dfe4ea);
}

.store-public-profile {
  display: grid;
  gap: 16px;
  padding: 0 22px 24px;
  margin-top: -46px;
}

.store-public-profile-media img,
.store-public-avatar-fallback {
  width: 92px;
  height: 92px;
  border-radius: 10px;
}

.store-public-profile-media img {
  object-fit: cover;
  border: 4px solid #ffffff;
  background: #ffffff;
  display: block;
}

.store-public-avatar-fallback {
  display: grid;
  place-items: center;
  background: #eceef1;
  color: #16181c;
  font-size: 2rem;
  font-weight: 700;
  border: 4px solid #ffffff;
}

.store-public-profile-copy {
  display: grid;
  gap: 8px;
}

.store-public-profile-copy h1,
.store-public-section-head h2 {
  margin: 0;
}

.store-public-profile-copy p {
  margin: 0;
  color: #5f6670;
  line-height: 1.6;
}

.store-public-handle {
  color: #7a818a;
  font-size: 0.94rem;
}

.store-public-profile-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.store-public-social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.store-public-social-icons a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(17, 20, 24, 0.08);
  background: #f7f7f8;
  display: grid;
  place-items: center;
  color: #16181c;
}

.store-public-social-icons svg {
  width: 18px;
  height: 18px;
}

.store-public-tabs,
.store-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px;
}

.store-public-tabs a,
.store-tabs a {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 10px;
  color: #4c535c;
}

.store-public-tabs a.is-active,
.store-tabs a.is-active {
  background: #f4f5f7;
  color: #111418;
  font-weight: 700;
}

.store-public-section {
  display: grid;
  gap: 18px;
}

.store-public-section-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 14px;
}

.store-featured-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(180px, 220px);
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 4px;
  scroll-snap-type: x proximity;
}

.store-featured-carousel .public-product-card {
  scroll-snap-align: start;
}

.store-post-form {
  display: grid;
  gap: 16px;
}

.store-post-list {
  display: grid;
  gap: 18px;
}

.store-post-media {
  margin-top: 12px;
  border-radius: 10px;
  overflow: hidden;
}

.store-post-media img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.store-post-video {
  margin-top: 12px;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #000;
}

.store-post-video iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.public-store-products-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.public-product-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: 10px;
  border: 1px solid rgba(17, 20, 24, 0.08);
  background: #f7f7f8;
}

.public-product-media {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #eceef1;
}

.public-product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.public-product-copy {
  display: grid;
  gap: 6px;
}

.public-product-copy h3 {
  margin: 0;
  font-size: 1rem;
}

.public-product-model {
  color: #6d747d;
  font-size: 0.9rem;
}

.public-product-price {
  color: #111418;
  font-size: 1.02rem;
}

.public-product-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.button.is-disabled,
.button.button-secondary.is-disabled {
  pointer-events: none;
  opacity: 0.68;
}

.public-store-link-card,
.public-store-empty {
  display: grid;
  gap: 6px;
  padding: 16px;
  border-radius: 10px;
  border: 1px solid rgba(17, 20, 24, 0.08);
  background: #f7f7f8;
}

.public-store-link-card {
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.public-store-link-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(17, 20, 24, 0.08);
  background: #ffffff;
  display: grid;
  place-items: center;
}

.public-store-link-icon svg {
  width: 18px;
  height: 18px;
}

.public-store-link-copy {
  display: grid;
  gap: 4px;
}

html,
body {
  overflow-x: hidden;
}

.store-container {
  max-width: 1200px;
  margin: 0 auto 32px;
  padding: 0 16px;
  background: #fff;
  border-radius: 20px;
  display: grid;
  gap: 18px;
}

.store-content {
  display: grid;
  gap: 20px;
}

.store-public-shell,
.store-product-shell {
  width: 100%;
  margin: 0;
  display: grid;
  gap: 20px;
}

.store-banner {
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 14px 28px rgba(17, 20, 24, 0.08);
}

.store-banner img {
  width: 100%;
  display: block;
}

.store-public-banner,
.store-public-banner-fallback {
  min-height: 180px;
}

.store-public-banner img,
.store-banner img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.store-public-profile {
  margin-top: 0;
  padding-top: 18px;
}

.store-public-profile-copy .eyebrow {
  margin-bottom: 4px;
}

.carousel-wrapper {
  width: 100%;
  overflow: hidden;
  margin: 0;
}

.carousel-track {
  display: flex;
  gap: 14px;
  transition: transform .4s ease;
  will-change: transform;
}

.carousel-card {
  flex: 0 0 240px;
}

.social-post-form textarea {
  min-height: 110px;
  resize: vertical;
}

.store-post-dropzone {
  border: 1px dashed rgba(17, 20, 24, 0.16);
  border-radius: 10px;
  padding: 18px;
  display: grid;
  gap: 6px;
  background: #fafafb;
}

.store-post-dropzone input[type="file"] {
  margin-top: 6px;
}

.store-post-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.store-post-preview img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
}

.store-post-media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.public-store-link-card.compact {
  grid-template-columns: minmax(0, 1fr);
}

.product-square {
  width: 100%;
  min-height: 300px;
  height: 300px;
}

.public-product-media-contained {
  background: #ffffff;
}

.public-product-media-contained img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-tax-copy,
.product-benefit {
  display: inline-flex;
  font-size: 0.85rem;
  color: #616871;
}

.product-benefit {
  color: #1d6e47;
  font-weight: 700;
}

.public-product-actions.two-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.like-button.is-active {
  background: #111418;
  color: #ffffff;
  border-color: #111418;
}

.store-mini-cart {
  position: sticky;
  bottom: 16px;
  z-index: 20;
  display: grid;
  gap: 12px;
}

.store-mini-cart-head,
.store-mini-cart-foot,
.store-mini-cart-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.store-mini-cart-body {
  display: grid;
  gap: 8px;
}

.store-product-card {
  display: grid;
  gap: 18px;
}

.store-product-media {
  background: #ffffff;
  border-radius: 10px;
  min-height: 320px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.store-product-media img {
  width: 100%;
  max-width: 520px;
  height: 320px;
  object-fit: contain;
}

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

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

.muted-copy {
  color: #616871;
}

.store-footer {
  margin-top: 8px;
}

.store-footer-grid {
  display: grid;
  gap: 18px;
}

.store-footer-grid div {
  display: grid;
  gap: 8px;
}

.store-footer-grid h3,
.store-footer-note {
  margin: 0;
}

.store-footer-note {
  margin-top: 18px;
  color: #616871;
}

.site-footer-admin-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer-admin-nav a {
  text-decoration: none;
  font-weight: 700;
}

.site-footer-admin-form {
  display: grid;
  gap: 12px;
}

.site-footer-admin-form label {
  display: grid;
  gap: 6px;
}

.site-footer-admin-form input,
.site-footer-admin-form select,
.site-footer-admin-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d7dbe0;
  border-radius: 10px;
  font: inherit;
  box-sizing: border-box;
}

.site-footer-admin-form textarea {
  resize: vertical;
}

.site-footer-admin-form button {
  justify-self: start;
}

@media (min-width: 768px) {
  .store-public-banner,
  .store-public-banner-fallback {
    min-height: 320px;
  }

  .store-public-banner img,
  .store-banner img {
    height: 320px;
  }

  .carousel-card {
    flex-basis: 260px;
  }

  .store-post-preview {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .store-product-card {
    grid-template-columns: minmax(0, 520px) minmax(0, 1fr);
    align-items: start;
  }

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

  .public-store-products-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.public-store-link-card strong,
.public-store-empty strong {
  color: #111418;
}

.public-store-link-card span,
.public-store-empty span {
  color: #5f6670;
  word-break: break-word;
}

@media (min-width: 768px) {
  .public-store-hero {
    grid-template-columns: minmax(0, 1.3fr) 280px;
    align-items: start;
  }

  .public-store-brand {
    grid-template-columns: 92px minmax(0, 1fr);
    align-items: start;
  }

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

  .public-store-products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .store-public-profile {
    grid-template-columns: 92px minmax(0, 1fr) auto;
    align-items: end;
  }
}

.feed-column {
  display: grid;
  gap: 20px;
}

.feed-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.feed-card-head,
.feed-actions,
.feed-body {
  padding-left: 22px;
  padding-right: 22px;
}

.feed-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  padding-bottom: 16px;
}

.feed-card-head span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 3px;
}

.feed-avatar,
.store-mini-fallback {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #ef6c4d, #f4af57);
  color: #fff;
  font-weight: 800;
}

.feed-avatar-image {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: #f8e2d8;
}

.feed-cover {
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: #f8e2d8;
}

.feed-cover img,
.store-mini-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.feed-body {
  padding-top: 18px;
  padding-bottom: 16px;
}

.feed-body h2 {
  margin: 0 0 10px;
  font-size: 1.28rem;
}

.feed-body p {
  margin: 0;
  color: #4a3933;
  line-height: 1.6;
}

.feed-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0;
  padding-bottom: 20px;
  color: var(--muted);
}

.feed-reactions {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.92rem;
}

.feed-reaction-button {
  appearance: none;
  border: 1px solid rgba(35, 24, 21, 0.08);
  background: rgba(255, 255, 255, 0.82);
  color: #5d4c45;
  border-radius: 999px;
  padding: 9px 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font: inherit;
}

.feed-reaction-icon {
  font-size: 0.95rem;
  line-height: 1;
}

.community-shell {
  width: min(860px, 100%);
  margin: 0 auto 24px;
  display: grid;
  gap: 24px;
}

.community-head h1 {
  margin: 10px 0 12px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 0.96;
  max-width: 12ch;
}

.community-head p {
  margin: 0;
  color: var(--muted);
  max-width: 56ch;
  line-height: 1.6;
}

.community-feed {
  display: grid;
  gap: 20px;
}

.community-post-card {
  background: rgba(255, 255, 255, 0.92);
}

.stores-rail {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 14px;
}

.stores-rail-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2px 2px 6px;
}

.stores-rail-list {
  display: grid;
  gap: 14px;
}

.store-mini-card {
  display: grid;
  grid-template-columns: 66px 1fr;
  gap: 12px;
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 12px;
}

.store-mini-media {
  width: 66px;
  height: 66px;
  border-radius: 18px;
  overflow: hidden;
  background: #f8e2d8;
}

.store-mini-copy {
  display: grid;
  gap: 8px;
}

.store-mini-copy strong {
  font-size: 0.95rem;
}

.store-mini-copy span {
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.45;
}

.store-mini-copy .button {
  justify-self: start;
  padding: 10px 14px;
  font-size: 0.88rem;
}

.actions,
.inline-form,
.form-grid {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.button,
button {
  appearance: none;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  padding: 12px 18px;
  font-weight: 700;
  cursor: pointer;
}

.button-secondary {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--line);
}

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

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

.list-card {
  display: grid;
  gap: 6px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  font: inherit;
  background: rgba(255, 255, 255, 0.86);
}

textarea {
  min-height: 120px;
  margin: 12px 0;
  resize: vertical;
}

.auth-shell {
  display: grid;
  place-items: center;
  min-height: 70vh;
}

.auth-card {
  width: min(460px, 100%);
}

.alert {
  background: #fff0ed;
  border: 1px solid #ffc1b3;
  color: #9d3118;
  border-radius: 14px;
  padding: 12px;
}

.dashboard-shell .panel-card {
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(17, 20, 24, 0.08);
  box-shadow: 0 18px 40px rgba(17, 20, 24, 0.08);
}

.dashboard-shell .button,
.dashboard-shell button {
  border-radius: 10px;
}

.dashboard-shell .button-secondary {
  background: #ffffff;
  color: #16181c;
  border: 1px solid rgba(17, 20, 24, 0.1);
}

.dashboard-shell input,
.dashboard-shell textarea,
.dashboard-shell select {
  border-radius: 10px;
}

.dashboard-section-head-compact {
  align-items: start;
}

.dashboard-section-head-compact h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.dashboard-section-head-compact p {
  max-width: 40ch;
}

.dashboard-password-card .button {
  justify-self: start;
  min-width: 140px;
  background: #16181c;
}

.dashboard-password-card .button:hover,
.dashboard-password-card .button:focus-visible {
  background: #252930;
}

.dashboard-password-card .button:disabled {
  opacity: 0.72;
  cursor: wait;
}

.dashboard-profile-grid {
  display: grid;
  gap: 20px;
}

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

.dashboard-profile-tab {
  background: #f3f4f6;
  color: #16181c;
  border: 1px solid rgba(17, 20, 24, 0.08);
  min-height: 56px;
  font-size: 0.95rem;
}

.dashboard-profile-tab.is-active {
  background: #16181c;
  color: #ffffff;
}

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

.dashboard-profile-card {
  display: grid;
  gap: 18px;
  padding: 28px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfbfc 100%);
}

.dashboard-profile-card[hidden] {
  display: none;
}

.dashboard-profile-card-head h3 {
  margin: 0 0 8px;
  font-size: 1.35rem;
  color: #16181c;
}

.dashboard-profile-card-head p {
  margin: 0;
  color: #5f6773;
  line-height: 1.6;
}

.dashboard-profile-form {
  display: grid;
  gap: 18px;
}

.dashboard-form-grid {
  display: grid;
  gap: 16px;
}

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

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

.dashboard-form-grid-tight {
  gap: 12px;
}

.dashboard-field-note {
  color: #6b7280;
  font-size: 0.9rem;
  line-height: 1.4;
}

.dashboard-field-error {
  min-height: 1.2em;
}

.dashboard-inline-feedback {
  border-radius: 10px;
  padding: 12px 14px;
  font-weight: 700;
}

.dashboard-inline-feedback-success {
  background: #edf8ef;
  color: #245234;
  border: 1px solid rgba(84, 149, 102, 0.22);
}

.dashboard-inline-feedback-error {
  background: #fff3ef;
  color: #8b2f1d;
  border: 1px solid rgba(220, 110, 87, 0.2);
}

.dashboard-switch {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid rgba(17, 20, 24, 0.08);
  border-radius: 10px;
  background: #ffffff;
}

.dashboard-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.dashboard-switch-track {
  width: 48px;
  height: 28px;
  border-radius: 999px;
  background: #d7dbe1;
  position: relative;
  transition: background 0.2s ease;
}

.dashboard-switch-track::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(17, 20, 24, 0.16);
  transition: transform 0.2s ease;
}

.dashboard-switch input:checked + .dashboard-switch-track {
  background: #16181c;
}

.dashboard-switch input:checked + .dashboard-switch-track::after {
  transform: translateX(20px);
}

.dashboard-switch-copy {
  display: grid;
  gap: 4px;
}

.dashboard-switch-copy strong {
  color: #16181c;
}

.dashboard-switch-copy small {
  color: #6b7280;
  font-size: 0.9rem;
}

.dashboard-fiscal-fields {
  display: none;
  gap: 16px;
}

.dashboard-fiscal-fields.is-visible {
  display: grid;
}

.dashboard-profile-card .button {
  justify-self: start;
  min-width: 160px;
  background: #16181c;
}

.dashboard-profile-card .button:hover,
.dashboard-profile-card .button:focus-visible {
  background: #252930;
}

.dashboard-profile-card .button:disabled {
  opacity: 0.72;
  cursor: wait;
}

body.panel-public-body .dashboard-profile-switcher {
  display: none !important;
}

body.panel-public-body .button,
body.panel-public-body button.button,
body.panel-public-body .panel-button,
body.panel-public-body .dashboard-profile-form button,
body.panel-public-body .dashboard-menu-logout-button,
body.panel-public-body .profile-card-action,
body.panel-public-body .form-submit-button {
  background: #2f2f2f;
  color: #ffffff;
  border-color: #2f2f2f;
}

body.panel-public-body .button:hover,
body.panel-public-body button.button:hover,
body.panel-public-body .panel-button:hover,
body.panel-public-body .dashboard-profile-form button:hover,
body.panel-public-body .profile-card-action:hover,
body.panel-public-body .form-submit-button:hover,
body.panel-public-body .button:focus-visible,
body.panel-public-body button.button:focus-visible,
body.panel-public-body .panel-button:focus-visible,
body.panel-public-body .dashboard-profile-form button:focus-visible,
body.panel-public-body .profile-card-action:focus-visible,
body.panel-public-body .form-submit-button:focus-visible {
  background: #1f1f1f;
  color: #ffffff;
  border-color: #1f1f1f;
}

body.panel-public-body button.is-saving,
body.panel-public-body input[type="submit"].is-saving {
  background: #159447 !important;
  border-color: #159447 !important;
  color: #ffffff !important;
  opacity: 1 !important;
  cursor: wait !important;
}

.dashboard-profile-collection {
  display: grid;
  gap: 18px;
}

.dashboard-profile-collection-head h4 {
  margin: 0 0 6px;
  color: #16181c;
}

.dashboard-profile-collection-head p {
  margin: 0;
  color: #5f6773;
}

.dashboard-profile-records {
  display: grid;
  gap: 14px;
}

.dashboard-profile-record {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.dashboard-profile-record-copy {
  display: grid;
  gap: 4px;
  color: #3e4651;
}

.dashboard-profile-record-copy strong {
  color: #111418;
  font-size: 1rem;
}

.dashboard-profile-record-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.dashboard-inline-form {
  display: inline-flex;
}

.dashboard-profile-add-card {
  width: 100%;
  border: 1px dashed rgba(17, 20, 24, 0.2);
  border-radius: 16px;
  background: #fff;
  min-height: 88px;
  padding: 20px;
  text-align: left;
  font-size: 1rem;
  font-weight: 800;
  color: #16181c;
}

.dashboard-profile-editor {
  border: 1px solid rgba(17, 20, 24, 0.08);
  border-radius: 18px;
  padding: 20px;
  background: #fffdfb;
}

.dashboard-profile-editor[hidden] {
  display: none;
}

.dashboard-profile-editor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.dashboard-form-error-box {
  border: 1px solid rgba(220, 110, 87, 0.2);
  background: #fff3ef;
  color: #8b2f1d;
  border-radius: 12px;
  padding: 14px 16px;
}

.dashboard-form-error-box[hidden] {
  display: none;
}

.dashboard-form-error-box strong {
  display: block;
  margin-bottom: 8px;
}

.dashboard-form-error-box ul {
  margin: 0;
  padding-left: 18px;
}

.dashboard-notifications-card {
  padding: 28px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfbfc 100%);
}

.dashboard-notifications-stack {
  display: grid;
  gap: 18px;
}

.dashboard-notifications-form {
  display: grid;
  gap: 16px;
  max-width: 760px;
}

.dashboard-notification-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 18px;
  border: 1px solid rgba(17, 20, 24, 0.08);
  border-radius: 10px;
  background: #ffffff;
}

.dashboard-notification-copy {
  display: grid;
  gap: 6px;
}

.dashboard-notification-copy strong {
  color: #16181c;
}

.dashboard-notification-copy span {
  color: #5f6773;
  line-height: 1.5;
}

.dashboard-notifications-card .button {
  justify-self: start;
  min-width: 180px;
  background: #16181c;
}

.dashboard-notifications-card .button:hover,
.dashboard-notifications-card .button:focus-visible {
  background: #252930;
}

.dashboard-inbox-card {
  display: grid;
  gap: 18px;
  padding: 28px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfbfc 100%);
}

.dashboard-inbox-head {
  display: grid;
  gap: 8px;
}

.dashboard-inbox-head h3 {
  margin: 0;
}

.dashboard-inbox-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.dashboard-inbox-list {
  display: grid;
  gap: 14px;
}

.dashboard-inbox-item {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(17, 20, 24, 0.08);
  border-radius: 10px;
  background: #ffffff;
}

.dashboard-inbox-item.is-unread {
  border-color: rgba(17, 20, 24, 0.14);
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fb 100%);
}

.dashboard-inbox-item.is-read {
  background: #fbfbfc;
}

.dashboard-inbox-item h3 {
  margin: 0;
  font-size: 1.02rem;
}

.dashboard-inbox-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.dashboard-inbox-meta,
.dashboard-inbox-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  align-items: center;
}

.dashboard-inbox-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #eef1f4;
  color: #37414f;
  font-size: 0.82rem;
  font-weight: 700;
}

.dashboard-inbox-pill.is-important {
  background: #fff3ef;
  color: #8b2f1d;
}

.dashboard-inbox-pill.is-muted {
  background: #f4f5f7;
  color: #606a78;
}

.dashboard-inbox-date,
.dashboard-inbox-audience,
.dashboard-inbox-read-at {
  color: var(--muted);
  font-size: 0.9rem;
}

.dashboard-empty-state {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px dashed rgba(17, 20, 24, 0.12);
  border-radius: 10px;
  background: #fbfbfc;
}

.dashboard-empty-state span {
  color: var(--muted);
  line-height: 1.6;
}

.editor-filters {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  margin-bottom: 18px;
}

.editor-filters label {
  display: grid;
  gap: 6px;
}

.editor-filters label span {
  font-size: 0.9rem;
  font-weight: 700;
}

.editor-filters-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: end;
}

.editor-products-list {
  display: grid;
  gap: 14px;
}

.editor-product-card {
  display: grid;
  gap: 16px;
  padding: 16px;
}

.editor-product-card-main {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.editor-product-copy {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.editor-product-title {
  display: block;
  color: #16181c;
  font-size: 1rem;
  line-height: 1.25;
}

.editor-product-meta {
  display: block;
  color: #6f7782;
  font-size: 0.88rem;
}

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

.editor-price-chip {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border: 1px solid rgba(17, 20, 24, 0.08);
  border-radius: 12px;
  background: #faf8f4;
}

.editor-price-chip span {
  color: #6f7782;
  font-size: 0.8rem;
}

.editor-price-chip strong {
  color: #16181c;
  font-size: 0.96rem;
}

.editor-product-card-side {
  display: grid;
  gap: 10px;
}

.editor-product-thumb {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  object-fit: cover;
  display: block;
}

.editor-product-form,
.editor-reset-form {
  display: grid;
  gap: 8px;
}

.editor-price-label {
  color: #16181c;
  font-size: 0.9rem;
  font-weight: 700;
}

.editor-product-form input[type="number"] {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(17, 20, 24, 0.14);
  border-radius: 12px;
  font-size: 1rem;
}

.editor-price-help {
  display: grid;
  gap: 6px;
}

.editor-price-help small {
  color: #616b75;
  line-height: 1.35;
}

.editor-gain-copy {
  font-weight: 700;
  color: #2d6a4f;
}

.editor-gain-copy.is-low {
  color: #b6482d;
}

.editor-status-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

.editor-status-badge.is-custom {
  background: rgba(239, 108, 77, 0.14);
  color: #b6482d;
}

.editor-status-badge.is-base {
  background: rgba(17, 20, 24, 0.08);
  color: #46515b;
}

.editor-card-actions {
  display: grid;
  gap: 8px;
}

.editor-card-button {
  min-height: 38px;
  padding: 8px 12px;
  font-size: 0.88rem;
}

@media (min-width: 769px) {
  .editor-filters {
    grid-template-columns: minmax(0, 1.2fr) minmax(220px, 1fr) minmax(220px, 1fr) auto;
    align-items: end;
  }

  .editor-product-card {
    grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.9fr);
    align-items: start;
  }

  .editor-product-prices {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 768px) {
  .editor-filters-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

.discounts-container {
  display: grid;
  gap: 18px;
  padding: 28px;
}

.discounts-container h1 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: #16181c;
}

.discounts-list {
  display: grid;
  gap: 14px;
}

.discount-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(17, 20, 24, 0.08);
  border-radius: 10px;
  background: #ffffff;
}

.discount-card h3,
.discount-card p {
  margin: 0;
}

.discount-card p {
  color: var(--muted);
  line-height: 1.6;
}

.discount-meta,
.discount-code {
  color: #4b5563;
  font-size: 0.92rem;
}

.discount-code {
  font-weight: 700;
}

.discount-card-empty {
  min-height: 160px;
  place-content: center;
  text-align: center;
  background: #fbfbfc;
}

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

.overview-card {
  display: grid;
  gap: 10px;
  padding: 24px;
}

.overview-kicker {
  color: #8e7b73;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.overview-card h2,
.overview-card p {
  margin: 0;
}

.overview-card h2 {
  font-size: 1.2rem;
  color: #16181c;
}

.overview-card p {
  color: var(--muted);
  line-height: 1.6;
}

.overview-followed-stores {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.overview-followed-stores-head {
  display: grid;
  gap: 8px;
}

.overview-followed-stores-head h2,
.overview-followed-empty {
  margin: 0;
}

.overview-followed-empty {
  color: var(--muted);
  line-height: 1.6;
}

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

.overview-followed-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(17, 20, 24, 0.08);
  border-radius: 14px;
  background: #fff;
}

.overview-followed-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.overview-followed-copy {
  display: grid;
  gap: 4px;
}

.overview-followed-copy span {
  color: var(--muted);
  font-size: 0.92rem;
}

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

.favorite-store-card {
  overflow: hidden;
  border: 1px solid rgba(17, 20, 24, 0.08);
  border-radius: 16px;
  background: #fff;
}

.favorite-store-banner {
  height: 72px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.favorite-store-body {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  padding: 10px;
}

.favorite-store-avatar {
  width: 42px;
  height: 42px;
  border: 2px solid #fff;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
  margin-top: -20px;
  background: #fff;
}

.favorite-store-copy {
  min-width: 0;
}

.favorite-store-copy strong {
  display: block;
  font-size: 14px;
  line-height: 1.1;
}

.favorite-store-copy span {
  font-size: 12px;
}

.favorite-store-actions {
  grid-column: 1 / -1;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.favorite-store-remove-form {
  display: contents;
}

.favorite-store-actions .button,
.favorite-store-remove-form .button {
  font-size: 12px;
  padding: 7px 9px;
  min-height: auto;
}

.favorite-product-list {
  align-items: start;
}

.favorite-product-card {
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(17, 20, 24, 0.08);
  border-radius: 16px;
  background: #fff;
}

.favorite-product-image-link {
  display: block;
  aspect-ratio: 1 / 1;
  background: #f5f5f5;
}

.favorite-product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.favorite-product-body {
  display: grid;
  gap: 8px;
  padding: 10px;
}

.favorite-product-copy {
  display: grid;
  gap: 4px;
}

.favorite-product-copy strong {
  display: block;
  font-size: 14px;
  line-height: 1.2;
}

.favorite-product-copy span,
.favorite-product-copy small {
  color: var(--muted);
  font-size: 12px;
}

.favorite-product-meta {
  color: #111;
  font-size: 13px;
  font-weight: 700;
}

.favorite-product-price-before {
  color: #6b7280;
  text-decoration: line-through;
  margin-right: 6px;
  font-weight: 500;
}

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

.favorite-product-remove-form {
  display: contents;
}

.favorite-product-actions .button {
  font-size: 12px;
  padding: 7px 9px;
  min-height: auto;
}

.overview-meta {
  color: #4b5563;
  font-size: 0.92rem;
}

.helper {
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .hero,
  .grid-two,
  .dashboard-grid,
  .home-social-layout,
  .home-intro,
  .dashboard-shell,
  .dashboard-content-grid {
    grid-template-columns: 1fr;
  }

  .site-header {
    flex-direction: column;
    gap: 12px;
  }

  .home-intro {
    display: grid;
    align-items: start;
  }

  .home-social-layout {
    display: flex;
    flex-direction: column;
  }

  .stores-rail {
    position: static;
  }

  .dashboard-mobile-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 4px;
  }

  .dashboard-mobile-bar-copy {
    display: grid;
    gap: 2px;
  }

  .dashboard-mobile-bar-copy strong {
    font-size: 1rem;
  }

  .dashboard-mobile-bar-copy span {
    color: var(--muted);
    font-size: 0.85rem;
  }

  .dashboard-overlay {
    position: fixed;
    inset: 0;
    background: rgba(35, 24, 21, 0.28);
    z-index: 30;
  }

  .dashboard-overlay.is-open {
    display: block;
  }

  .dashboard-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(70vw, 320px);
    max-width: 320px;
    border-radius: 0 10px 10px 0;
    z-index: 40;
    transform: translateX(-105%);
    transition: transform 0.24s ease;
    overflow-y: auto;
  }

  .dashboard-sidebar.is-open {
    transform: translateX(0);
  }

  .dashboard-shell {
    display: block;
  }

  .dashboard-close {
    display: inline-flex;
  }

  body.dashboard-menu-open {
    overflow: hidden;
  }

  .dashboard-welcome {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .dashboard-welcome-actions {
    justify-content: flex-start;
  }

  .dashboard-quick-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-section-head {
    display: grid;
    align-items: start;
  }

  .dashboard-feature-card {
    display: grid;
    align-items: start;
  }

  .dashboard-form-grid-2,
  .dashboard-form-grid-3 {
    grid-template-columns: 1fr;
  }

  .dashboard-profile-switcher {
    grid-template-columns: 1fr;
  }

  .dashboard-notification-row {
    display: grid;
    align-items: start;
  }

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

  .overview-followed-item {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .overview-followed-avatar {
    width: 48px;
    height: 48px;
  }

  .overview-followed-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .overview-followed-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .favorite-store-banner {
    height: 58px;
  }

  .favorite-store-body {
    grid-template-columns: 36px minmax(0, 1fr);
    padding: 8px;
  }

  .favorite-store-avatar {
    width: 36px;
    height: 36px;
    margin-top: -16px;
  }

  .favorite-store-actions {
    flex-direction: column;
  }

  .favorite-store-actions .button,
  .favorite-store-remove-form .button {
    width: 100%;
    font-size: 11px;
    padding: 6px 8px;
  }

  .favorite-product-body {
    padding: 8px;
  }

  .favorite-product-actions {
    flex-direction: column;
  }

  .favorite-product-actions .button {
    width: 100%;
    font-size: 11px;
    padding: 6px 8px;
  }

  .stores-rail-list {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 80%;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x proximity;
  }

  .store-mini-card {
    scroll-snap-align: start;
  }

  .feed-actions {
    gap: 16px;
    flex-direction: column;
    align-items: flex-start;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: #fff;
}

.site-nav-public {
  display: grid;
  justify-items: end;
  gap: 6px;
}

.public-register-btn {
  background: #ef6c4d;
  color: #fff;
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 600;
}

.public-login-link {
  font-size: 0.92rem;
  color: #4c535c;
}

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

.store-public-page {
  padding-top: 18px;
}

.store-public-page,
.store-public-page * {
  box-sizing: border-box;
}

.store-public-page .store-shell {
  width: min(95vw, 1180px);
  margin: 0 auto;
  padding: 18px 0 40px;
  display: grid;
  gap: 14px;
}

.store-public-page .store-banner {
  width: 100%;
  height: clamp(160px, 28vw, 300px);
  overflow: hidden;
  border-radius: 10px;
  background: #f4f4f4;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
}

.store-public-page .store-banner img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.store-public-page .store-public-banner-fallback {
  width: 100%;
  height: 100%;
}

.store-public-page .store-profile-card {
  margin-top: 14px;
  background: #fff;
  border-radius: 10px;
  padding: 18px;
  display: flex;
  gap: 14px;
  align-items: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
}

.store-public-page .store-profile-avatar {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  object-fit: cover;
  flex: 0 0 auto;
}

.store-public-page .store-public-avatar-fallback.store-profile-avatar {
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  border: 0;
}

.store-public-page .store-public-profile-copy,
.store-public-page .store-public-profile-actions {
  min-width: 0;
}

.store-public-page .store-public-profile-copy {
  display: grid;
  gap: 6px;
}

.store-public-page .store-public-profile-copy h1 {
  margin: 0;
}

.store-public-page .store-tabs {
  margin-top: 14px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  background: transparent;
  box-shadow: none;
}

.store-public-page .store-tabs a {
  white-space: nowrap;
  background: #fff;
  border: 1px solid rgba(17, 20, 24, .08);
}

.store-public-page .store-content {
  display: grid;
  gap: 16px;
}

.public-page {
  background: #f6f7f9;
}

.public-page .panel-card,
.store-public-page .panel-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
}

.store-public-page .store-toolbar {
  display: flex;
  justify-content: flex-end;
}

.store-public-page .store-cart-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #e8e8e8;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
}

.store-public-page .store-cart-link svg {
  width: 18px;
  height: 18px;
}

.store-public-page .store-section-card,
.store-public-page .store-mini-cart,
.store-public-page .store-post-composer,
.store-public-page .public-store-empty {
  width: 100%;
  overflow: hidden;
  background: #fff;
  border-radius: 10px;
  padding: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
}

.store-public-page .store-carousel-section {
  overflow: hidden;
}

.store-public-page .store-carousel-viewport {
  width: 100%;
  overflow: hidden;
}

.store-public-page .store-carousel-track {
  display: flex;
  gap: 12px;
  will-change: transform;
  transition: transform .45s ease;
}

.store-public-page .store-carousel-item {
  flex: 0 0 150px;
  max-width: 150px;
}

.store-public-page .store-carousel-item img {
  width: 150px;
  height: 150px;
  object-fit: contain;
  display: block;
}

.store-public-page .store-products-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.store-public-page .store-product-card {
  min-width: 0;
  background: #fff;
  border-radius: 10px;
  padding: 12px;
  overflow: hidden;
  border: 1px solid rgba(17, 20, 24, .08);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.store-public-page .store-product-card img,
.store-public-page .store-product-image {
  width: 100%;
  max-width: 300px;
  height: 180px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  margin: 0 auto;
  display: block;
}

.store-public-page .store-product-title {
  display: block;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  color: #111;
  min-height: 36px;
  overflow: hidden;
  margin: 0;
}

.store-public-page .store-product-price {
  font-size: 16px;
  font-weight: 700;
  color: #111;
}

.store-public-page .store-tax-label {
  font-size: 12px;
  color: #777;
}

.store-public-page .store-btn {
  border-radius: 10px;
  background: #eeeeee;
  color: #222;
  border: 1px solid #e1e1e1;
  min-height: 42px;
  padding: 10px 12px;
  font-weight: 600;
}

.store-public-page .store-btn.added,
.store-public-page .store-btn.is-active,
.store-public-page .store-btn-cart.added {
  background: #bfe8c8;
  color: #14532d;
  border-color: #a7d8b2;
}

.store-public-page .store-post-composer {
  width: 100%;
  overflow: hidden;
  background: #fff;
  border-radius: 10px;
  padding: 14px;
}

.store-public-page .store-footer {
  width: min(95vw, 1180px);
  margin: 40px auto 0;
  padding: 28px 0;
  background: transparent;
  box-shadow: none;
}

.store-public-page .store-footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

@media (min-width: 768px) {
  .store-public-page .store-carousel-item {
    flex-basis: 180px;
    max-width: 180px;
  }

  .store-public-page .store-carousel-item img {
    width: 180px;
    height: 180px;
  }

  .store-public-page .store-product-card img {
    height: 220px;
  }
}

@media (min-width: 900px) {
  .store-public-page .store-products-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }
}

@media (max-width: 700px) {
  .store-public-page .store-profile-card {
    align-items: flex-start;
  }

  .store-public-page .store-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .panel-sidebar,
  .dashboard-sidebar,
  .panel-menu,
  .dashboard-menu,
  .panel-config-menu,
  .panel-navigation,
  .dashboard-navigation,
  .dashboard-menu-toggle,
  .dashboard-overlay {
    display: none !important;
  }

  .dashboard-profile-switcher {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    padding: 8px 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  .dashboard-profile-tab {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    min-height: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    color: var(--public-orange, #ef6c4d) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    flex: 0 0 auto !important;
  }

  .dashboard-profile-tab.is-active {
    background: transparent !important;
    color: #111 !important;
    text-decoration: underline !important;
  }

  .dashboard-sidebar {
    width: 85vw !important;
    max-width: 85vw !important;
    min-width: 0 !important;
    z-index: 30000 !important;
  }

  .dashboard-sidebar.is-open {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    height: 100vh !important;
    background: #fff !important;
    overflow-y: auto !important;
    box-shadow: 12px 0 32px rgba(0,0,0,.18) !important;
  }

  .dashboard-overlay {
    z-index: 29999 !important;
  }

  .panel-profile-page,
  .panel-profile-page .dashboard-shell,
  .panel-profile-page .dashboard-content {
    min-height: 0 !important;
    height: auto !important;
  }

  .panel-profile-page .dashboard-shell {
    display: block !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    gap: 0 !important;
  }

  .panel-profile-page .dashboard-content {
    margin-top: 10px !important;
    padding-top: 10px !important;
  }

  .panel-profile-page .dashboard-sidebar:not(.is-open) {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }
}

.discount-rewards-panel,
.discount-rewards-list-panel {
  display: grid;
  gap: 18px;
}

.discounts-panel-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.discounts-panel-top h3 {
  margin: 0 0 6px;
  font-size: 24px;
}

.discounts-panel-top p {
  margin: 0;
  color: #5f5f5f;
}

.discount-warning-box {
  background: #fff1e8;
  border: 1px solid #ffc7a8;
  color: #7a2e12;
  padding: 14px 16px;
  border-radius: 14px;
  font-weight: 700;
  margin: 0;
}

.discount-reward-form,
.discount-type-panels,
.discount-condition-panels {
  display: grid;
  gap: 16px;
}

.discount-form-grid {
  display: grid;
  gap: 16px;
}

.discount-form-grid-halves {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.discount-product-selected {
  margin-top: 8px;
  color: #5f5f5f;
  font-size: 14px;
  font-weight: 700;
}

.discount-product-results {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.discount-product-result {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid #ece8df;
  border-radius: 14px;
  background: #fffaf6;
}

.discount-product-result img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 12px;
  background: #fff;
}

.discount-product-result-copy {
  display: grid;
  gap: 4px;
}

.discount-product-result-copy strong,
.discount-product-result-copy span,
.discount-product-result-copy small {
  overflow-wrap: anywhere;
}

.discount-product-empty {
  margin: 0;
  color: #7a7a7a;
}

.field-error {
  display: block;
  margin-top: 6px;
  color: #b42318;
  font-size: 13px;
  font-weight: 700;
}

.discount-reward-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.discount-reward-cards {
  display: grid;
  gap: 16px;
}

.discount-reward-card {
  border: 1px solid #ece8df;
  border-radius: 18px;
  padding: 18px;
  background: #fff;
  display: grid;
  gap: 12px;
}

.discount-reward-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.discount-reward-card-head h4 {
  margin: 0 0 6px;
  font-size: 19px;
}

.discount-reward-badge,
.discount-reward-status {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 800;
}

.discount-reward-badge {
  background: #fff7ed;
  color: #9a3412;
}

.discount-reward-status.is-active {
  background: #dcfce7;
  color: #166534;
}

.discount-reward-status.is-paused {
  background: #f3f4f6;
  color: #374151;
}

.discount-reward-description {
  margin: 0;
  color: #4f4f4f;
}

.discount-reward-meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  color: #3f3f46;
}

.discount-reward-meta li {
  margin: 0;
}

.discount-reward-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.discount-reward-card-actions form {
  margin: 0;
}

.discount-reward-card-actions .danger {
  background: #fff1f2;
  color: #b42318;
}

.cart-store-reward {
  display: grid;
  gap: 10px;
  background: #fff7ed;
  border: 1px solid #fdba74;
  border-radius: 14px;
  padding: 12px;
  margin-top: 12px;
  box-shadow: none;
}

.cart-store-reward--applied {
  background: #f6fef9;
  border: 1px solid #86efac;
  color: #166534;
}

.cart-store-reward--available {
  background: #fff7ed;
  border: 1px solid #fdba74;
  color: #9a3412;
}

.cart-store-reward-title {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 4px 0;
}

.cart-store-reward-text {
  display: none;
}

.cart-store-reward-meta {
  display: block;
  color: #7c2d12;
  font-size: 12px;
  margin: 6px 0 0 0;
  opacity: .9;
}

.cart-store-reward--applied .cart-store-reward-meta {
  color: #166534;
}

.cart-store-reward > .cart-store-reward-title {
  display: none;
}

.cart-store-reward-main {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.cart-store-reward-media {
  flex: 0 0 64px;
}

.cart-store-reward-img,
.cart-store-reward-image {
  width: 54px;
  height: 54px;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #f1c8aa;
  display: block;
}

.cart-store-reward-body {
  min-width: 0;
}

.cart-store-reward-name {
  display: block;
  color: #111;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 2px;
}

.cart-store-reward small {
  display: block;
  color: #555;
  font-size: 12px;
  line-height: 1.35;
}

.cart-store-reward-success {
  color: #166534;
}

.cart-store-reward-progress {
  margin-top: 0;
}

.cart-store-reward-progress-track {
  width: 100%;
  height: 8px;
  background: #fed7aa;
  border-radius: 999px;
  overflow: hidden;
}

.cart-store-reward--applied .cart-store-reward-progress-track {
  background: #dcfce7;
}

.cart-store-reward-progress-bar {
  height: 100%;
  border-radius: inherit;
  background: #f97316;
  display: block;
  transition: width .25s ease;
}

.cart-store-reward--applied .cart-store-reward-progress-bar {
  background: #22c55e;
}

.cart-store-reward-progress-label {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 600;
}

.cart-store-totals {
  display: grid;
  justify-items: end;
  gap: 6px;
}

.cart-store-discount {
  display: grid;
  gap: 2px;
  padding: 8px 10px;
  border: 1px solid #fed7aa;
  border-radius: 12px;
  background: #fff7ed;
  color: #9a3412;
  text-align: right;
  font-size: 12px;
}

.cart-store-discount strong {
  font-size: 12px;
  font-weight: 800;
}

.cart-page .cart-item-side {
  gap: 10px !important;
  text-align: right;
  justify-items: end;
}

.cart-page .cart-item-line-gross {
  justify-self: end;
  text-align: right;
  margin-top: 8px;
}

.cart-page .cart-item-line-gross strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: #111;
  text-align: right;
  line-height: 1.1;
}

.cart-page .cart-line-raw-total .price-main,
.cart-page .cart-line-raw-total .price-cents {
  color: inherit;
}

.cart-page .price-main {
  font-size: calc(1em + 2px);
  font-weight: 800;
}

.cart-page .price-cents {
  font-size: 0.65em;
  font-weight: 700;
  vertical-align: super;
  line-height: 0;
}

.cart-page .cart-item-side .price-main {
  font-size: calc(1em + 2px);
}

.cart-page .cart-item-side .price-cents {
  font-size: 0.65em;
}

.cart-page .cart-item-unit-price .price-main {
  font-size: calc(1em + 2px);
}

.cart-page .cart-item-unit-price .price-cents {
  font-size: 0.65em;
}

.cart-item-unit-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px;
}

.cart-price-before {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  color: #777;
  font-size: calc(1em - 4px);
  line-height: 1;
  white-space: nowrap;
  text-decoration: none !important;
}

.cart-price-before::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1.5px;
  background: currentColor;
  transform: translateY(-50%);
  pointer-events: none;
}

.cart-price-before .price-main {
  font-size: inherit !important;
  line-height: 1;
}

.cart-price-before .price-cents {
  font-size: 60% !important;
  line-height: 1;
  vertical-align: super;
}

.cart-price-current {
  color: #111;
  font-weight: 800;
  white-space: nowrap;
}

.cart-page .cart-item-discount-badge {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  justify-self: end;
  width: fit-content;
  max-width: 100%;
  margin-top: 6px;
  margin-left: auto;
  padding: 5px 9px;
  border-radius: 999px;
  background: #ecfdf5;
  border: 1px solid #bbf7d0;
  color: #15803d;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
  text-align: right;
}

.cart-page .cart-item-discount-badge .price-main,
.cart-page .cart-item-discount-badge .price-cents {
  color: inherit;
}

.cart-page .cart-item-final-subtotal {
  display: grid;
  gap: 2px;
  justify-items: end;
  margin-top: 6px;
  text-align: right;
}

.cart-page .cart-item-final-subtotal-label {
  display: block;
  font-size: 11px;
  color: #777;
  font-weight: 600;
  text-align: right;
}

.cart-page .cart-item-final-subtotal-value {
  display: block;
  font-size: 15px;
  color: #111;
  font-weight: 800;
  text-align: right;
}

.cart-checkout-section + .cart-checkout-section {
  margin-top: 18px;
}

.cart-checkout-step {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 800;
  color: #111827;
}

.cart-checkout-intro {
  margin: 0 0 12px;
}

.cart-login-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 10px 0 0;
}

.cart-checkout-inline-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 10px;
  font-size: 14px;
}

.cart-checkout-inline-check input {
  flex: 0 0 auto;
  margin-top: 3px;
}

.cart-checkout-inline-check span {
  display: block;
  line-height: 1.4;
}

.cart-billing-fields[hidden] {
  display: none !important;
}

.cart-billing-fields {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #ece7df;
}

.cart-checkout-status {
  margin: 0 0 14px;
  border-radius: 14px;
  padding: 12px 14px;
  font-weight: 700;
}

.cart-checkout-status.is-success {
  background: #f0fdf4;
  border: 1px solid #86efac;
  color: #166534;
}

.cart-checkout-status.is-info {
  background: #fff7ed;
  border: 1px solid #fdba74;
  color: #9a3412;
}

.cart-checkout-status.is-error {
  background: #fff1f2;
  border: 1px solid #fda4af;
  color: #be123c;
}

.cart-checkout-option-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.cart-checkout-choice-actions {
  margin-top: 14px;
}

.checkout-method-card {
  border: 1px solid #e5e7eb;
  background: #fff;
  border-radius: 14px;
  padding: 14px;
  display: grid;
  gap: 5px;
  cursor: pointer;
}

.cart-checkout-option-card {
  border-radius: 18px;
  border: 1px solid #e9dccf;
  background: #fffaf6;
  color: #1f2937;
  padding: 18px;
  text-align: left;
  display: grid;
  gap: 8px;
}

.cart-checkout-option-card strong {
  font-size: 1rem;
}

.cart-checkout-option-card span {
  color: #6b7280;
  line-height: 1.45;
  font-size: 0.93rem;
}

.cart-checkout-option-card.is-active {
  border-color: #ef6c4d;
  background: #fff1eb;
  box-shadow: 0 0 0 2px rgba(239, 108, 77, 0.12);
}

.checkout-method-card.is-active {
  border-color: #ef6c4d;
  background: #fff7ed;
}

.cart-inline-auth-card {
  margin-top: 16px;
  border: 1px solid #eadfd5;
  border-radius: 18px;
  background: #fff;
  padding: 20px;
}

.cart-inline-auth-card h3 {
  margin: 0 0 8px;
}

.cart-inline-auth-card p {
  margin: 0 0 14px;
  color: #6b7280;
}

.cart-inline-auth-google {
  margin-bottom: 14px;
}

.cart-inline-google-btn {
  width: 100%;
  justify-content: center;
  min-height: 48px;
}

.cart-inline-auth-separator {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  color: #6b7280;
  font-size: 13px;
  font-weight: 700;
}

.cart-inline-auth-separator::before,
.cart-inline-auth-separator::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: #eadfd5;
}

.cart-inline-auth-separator span {
  white-space: nowrap;
}

.cart-inline-auth-feedback {
  margin-top: 12px;
  border-radius: 12px;
  padding: 10px 12px;
  background: #fff1f2;
  border: 1px solid #fda4af;
  color: #be123c;
  font-weight: 700;
}

.cart-inline-auth-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.store-btn-secondary,
.cart-inline-auth-actions .store-btn-secondary {
  background: #fff !important;
  color: #111827 !important;
  border: 1px solid #d6d3d1 !important;
}

.cart-checkout-grid-compact {
  gap: 14px;
}

.cart-invoice-choice,
.cart-checkout-choice {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 14px !important;
  flex-wrap: wrap !important;
  margin-top: 8px !important;
}

.cart-invoice-choice label,
.cart-checkout-choice label {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  padding: 8px 12px !important;
  margin: 0 !important;
  flex: 0 0 auto !important;
  border: 1px solid #e8e5e0 !important;
  border-radius: 12px !important;
  background: #fff !important;
  cursor: pointer !important;
}

.cart-invoice-choice input[type="radio"],
.cart-checkout-choice input[type="radio"] {
  width: 15px !important;
  height: 15px !important;
  margin: 0 !important;
  flex: 0 0 15px !important;
}

.cart-checkout-choice span {
  display: inline !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}

.cart-saved-address-box {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
  padding: 0;
  border: 0;
  background: transparent;
}

.checkout-address-grid,
.cart-saved-address-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.checkout-address-card,
.cart-saved-address-card,
.cart-saved-fiscal-card {
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid #eee;
  border-radius: 12px;
  background: #fff;
}

.checkout-address-card {
  gap: 8px;
}

.cart-billing-fields,
.cart-saved-fiscal-box,
.cart-fiscal-profile-grid,
.cart-checkout-grid-compact {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

.cart-checkout-grid-compact {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

.cart-checkout-grid-compact label,
.cart-checkout-grid-compact input,
.cart-checkout-grid-compact select {
  min-width: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.cart-checkout-grid select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--public-gray-1);
  border-radius: 10px;
  padding: 10px 12px;
  background: #fff;
  color: var(--public-black);
  font: inherit;
  box-sizing: border-box;
}

.cart-checkout-grid select:focus {
  outline: none;
  border-color: #ef6c4d;
  box-shadow: 0 0 0 2px rgba(239, 108, 77, 0.12);
}

.cart-saved-address-radio-label,
.cart-saved-fiscal-card {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.cart-saved-address-card input[type="radio"],
.cart-saved-fiscal-card input[type="radio"] {
  margin-top: 4px;
  accent-color: #ef6c4d;
  flex: 0 0 auto;
}

.checkout-address-card.is-selected,
.cart-saved-address-card.is-selected {
  border-color: #8fd3a2;
  background: #f1fbf4;
  box-shadow: none;
}

.cart-saved-address-copy {
  min-width: 0;
}

.checkout-address-label {
  font-weight: 800;
  color: #111;
}

.checkout-address-text {
  font-size: 13px;
  line-height: 1.4;
  color: #555;
}

.cart-saved-address-copy span,
.cart-saved-fiscal-card span,
.cart-checkout-empty-note {
  color: #6b7280;
  font-size: 14px;
  line-height: 1.45;
}

.cart-checkout-empty-note {
  margin: 0;
}

.cart-saved-address-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.checkout-address-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.cart-saved-address-actions .store-btn,
.checkout-address-actions button,
.checkout-address-add-card button {
  border: 0;
  border-radius: 10px;
  padding: 9px 10px;
  font-weight: 800;
  cursor: pointer;
  min-height: 38px;
}

.cart-checkout-address-form-head {
  margin: 12px 0 10px;
}

.cart-checkout-address-form-head strong {
  display: block;
  font-size: 15px;
  color: #111827;
}

.cart-saved-address-form-actions {
  margin-top: 12px;
  display: flex;
  justify-content: flex-start;
}

.checkout-address-add-card {
  min-height: 150px;
  place-items: center;
  text-align: center;
  border-style: dashed;
}

.checkout-address-add-card button {
  background: #ef6c4d;
  color: #fff;
}

.checkout-fiscal-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)) !important;
  gap: 12px !important;
  width: 100% !important;
}

.checkout-fiscal-card {
  border: 1px solid #e8e5e0 !important;
  border-radius: 14px !important;
  padding: 14px !important;
  background: #fff !important;
  box-sizing: border-box !important;
  min-width: 0 !important;
}

.checkout-fiscal-card.is-selected {
  border-color: #35b36a !important;
  background: #f0fff6 !important;
}

.checkout-fiscal-card p {
  margin: 8px 0 12px !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
  color: #333 !important;
  overflow-wrap: anywhere !important;
}

.checkout-fiscal-actions {
  display: flex !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
}

.checkout-fiscal-add-card {
  display: grid !important;
  place-items: center !important;
  min-height: 130px !important;
}

.checkout-fiscal-add-card button {
  border: 0 !important;
  background: #ef6c4d !important;
  color: #fff !important;
  border-radius: 10px !important;
  padding: 10px 14px !important;
  font-weight: 800 !important;
  cursor: pointer !important;
}

.cart-summary-totals,
.cart-checkout-policies-check {
  display: grid;
  gap: 12px;
}

.cart-policies-check,
.cart-checkout-policies-check,
.cart-checkout-inline-check {
  display: flex;
  align-items: center !important;
  gap: 6px !important;
  width: 100% !important;
  margin: 0 !important;
}

.cart-policies-check input[type="checkbox"],
.cart-checkout-policies-check input[type="checkbox"],
.cart-checkout-inline-check input[type="checkbox"] {
  margin: 0 !important;
  flex: 0 0 auto !important;
}

.cart-policies-check span,
.cart-checkout-policies-check span,
.cart-checkout-inline-check span {
  display: block !important;
  line-height: 1.35 !important;
  margin: 0 !important;
}

.cart-checkout-policies-check a {
  color: #8c3419;
  font-weight: 800;
  text-decoration: none;
}

.cart-checkout-policies-check {
  align-items: flex-start !important;
}

.cart-checkout-policies-check input[type="checkbox"] {
  margin-top: 3px !important;
}

.checkout-policy-card {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border: 1px solid #e8e5e0;
  border-radius: 14px;
  padding: 14px;
  background: #fff;
  display: grid;
  gap: 10px;
  overflow: hidden;
}

.checkout-policy-card.is-confirmed {
  border-color: #35b36a;
  background: #f0fff6;
}

.checkout-policy-card strong {
  font-weight: 900;
  color: #111;
}

.checkout-policy-card p {
  margin: 0;
  color: #555;
  font-size: 13px;
  line-height: 1.45;
}

.checkout-policy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 100%;
}

.checkout-policy-links a {
  display: inline-flex;
  max-width: 100%;
  padding: 6px 9px;
  border-radius: 999px;
  background: #f7f4f0;
  color: #111;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.checkout-policy-card button {
  width: fit-content;
  max-width: 100%;
}

.checkout-policy-card small {
  color: #16803c;
  font-weight: 800;
}

.cart-checkout-help-copy {
  margin: 0 0 12px;
  color: #6b7280;
}

.cart-checkout-action-group[hidden],
.cart-inline-auth-card[hidden] {
  display: none !important;
}

@media (max-width: 640px) {
  .cart-page .cart-item-side {
    gap: 8px !important;
    text-align: right;
    justify-items: end;
  }

  .cart-page .cart-item-side .price-main,
  .cart-page .cart-line-raw-total .price-main,
  .cart-page .cart-item-final-subtotal-value .price-main,
  .cart-page .cart-item-discount-badge .price-main {
    font-size: 13px;
  }

  .cart-page .cart-item-side .price-cents,
  .cart-page .cart-line-raw-total .price-cents,
  .cart-page .cart-item-final-subtotal-value .price-cents,
  .cart-page .cart-item-discount-badge .price-cents {
    font-size: 0.65em;
  }

  .cart-page .cart-item-line-gross,
  .cart-page .cart-item-discount-badge,
  .cart-page .cart-item-final-subtotal {
    justify-self: end;
    text-align: right;
  }

  .cart-page .cart-item-line-gross strong,
  .cart-page .cart-item-final-subtotal-value,
  .cart-page .cart-item-final-subtotal-label {
    text-align: right;
  }

  .cart-page .cart-item-final-subtotal {
    justify-items: end !important;
  }

  .cart-checkout-option-grid {
    grid-template-columns: 1fr;
  }

  .cart-inline-auth-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .checkout-address-grid,
  .cart-saved-address-list,
  .checkout-fiscal-grid,
  .cart-checkout-grid-compact {
    grid-template-columns: 1fr;
  }

  .checkout-policy-card button {
    width: 100%;
  }

  .checkout-policy-links {
    display: grid;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .discount-form-grid-halves,
  .discount-product-result,
  .discount-reward-card-head,
  .discounts-panel-top,
  .discount-reward-card-actions,
  .discount-reward-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .discount-product-result {
    justify-items: start;
  }

  .cart-store-reward {
    align-items: flex-start;
  }

  .cart-store-reward-main {
    grid-template-columns: 56px minmax(0, 1fr);
    align-items: flex-start;
  }

  .cart-store-reward-media {
    flex-basis: 56px;
  }

  .cart-store-reward-img,
  .cart-store-reward-image {
    width: 56px;
    height: 56px;
  }
}

[hidden],
.cart-checkout-form[hidden],
[data-checkout-form][hidden],
[data-checkout-auth-panel][hidden],
[data-checkout-whatsapp-form][hidden],
[data-checkout-action-group][hidden],
[data-billing-fields][hidden],
[data-checkout-status][hidden] {
  display: none !important;
}

.checkout-whatsapp-card {
  max-width: 760px;
  margin: 0 auto;
}

.checkout-whatsapp-head {
  text-align: center;
}

.checkout-whatsapp-instructions {
  margin: 10px 0 16px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff7f3;
  color: #8c3419;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
}

.checkout-whatsapp-instructions a {
  color: #8c3419;
  font-weight: 900;
  text-decoration: none;
}

.checkout-whatsapp-folio {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 14px 22px;
  border-radius: 16px;
  background: #111;
  color: #fff;
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 900;
  letter-spacing: 4px;
  margin: 12px auto 18px;
}

.checkout-whatsapp-desktop {
  display: grid;
}

.checkout-whatsapp-mobile {
  display: none;
}

.checkout-whatsapp-qr-wrap {
  display: grid;
  justify-items: center;
  gap: 12px;
  text-align: center;
}

.checkout-whatsapp-qr-wrap img {
  width: 220px;
  height: 220px;
  object-fit: contain;
  margin: 0 auto;
}

.checkout-whatsapp-mobile-button {
  width: 100%;
  min-height: 54px;
  border-radius: 16px;
  background: #25D366;
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
}

.checkout-whatsapp-error-card,
.checkout-whatsapp-back-row {
  margin-top: 16px;
}

@media (min-width: 800px) {
  .checkout-whatsapp-page {
    width: min(92%, 980px) !important;
    margin: 0 auto !important;
  }

  .checkout-whatsapp-shell.checkout-layout {
    width: 100% !important;
    margin: 0 auto !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    justify-items: center !important;
    gap: 0 !important;
  }

  .checkout-whatsapp-center,
  .checkout-whatsapp-layout,
  .checkout-success-layout {
    width: 100% !important;
    display: grid !important;
    justify-items: center !important;
  }

  .checkout-whatsapp-card {
    width: min(100%, 460px) !important;
    max-width: 460px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    justify-self: center !important;
  }

  .checkout-whatsapp-card .checkout-action-card,
  .checkout-whatsapp-back-row,
  .checkout-whatsapp-head,
  .checkout-whatsapp-instructions {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
}

@media (max-width: 799px), (hover: none) and (pointer: coarse) {
  .checkout-whatsapp-card {
    width: 100% !important;
    max-width: 100% !important;
  }

  .checkout-whatsapp-desktop {
    display: none !important;
  }

  .checkout-whatsapp-mobile {
    display: grid !important;
    gap: 14px;
    justify-items: center;
    text-align: center;
  }
}

/* FIX FINAL CARRITO MÓVIL — precios no deben achicarse al terminar carga */
@media (max-width: 768px) {
  .cart-page .price-main,
  .cart-page .cart-item-unit-price .price-main,
  .cart-page .cart-line-raw-total .price-main,
  .cart-page .cart-item-final-subtotal-value .price-main,
  .cart-page .cart-item-discount-badge .price-main,
  .cart-page .cart-store-subtotal .price-main,
  .cart-page .cart-summary-row strong .price-main,
  .cart-page [data-cart-subtotal] .price-main,
  .cart-page [data-cart-shipping] .price-main,
  .cart-page [data-cart-total] .price-main,
  .cart-page [data-reward-min] .price-main,
  .cart-page [data-reward-current] .price-main,
  .cart-page [data-reward-missing] .price-main {
    font-size: 17px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
  }

  .cart-page .price-cents,
  .cart-page .cart-item-unit-price .price-cents,
  .cart-page .cart-line-raw-total .price-cents,
  .cart-page .cart-item-final-subtotal-value .price-cents,
  .cart-page .cart-item-discount-badge .price-cents,
  .cart-page .cart-store-subtotal .price-cents,
  .cart-page .cart-summary-row strong .price-cents,
  .cart-page [data-cart-subtotal] .price-cents,
  .cart-page [data-cart-shipping] .price-cents,
  .cart-page [data-cart-total] .price-cents,
  .cart-page [data-reward-min] .price-cents,
  .cart-page [data-reward-current] .price-cents,
  .cart-page [data-reward-missing] .price-cents {
    font-size: 11px !important;
    font-weight: 700 !important;
    vertical-align: super !important;
    line-height: 0 !important;
  }

  .cart-page .cart-item-unit-price,
  .cart-page .cart-line-raw-total,
  .cart-page .cart-item-final-subtotal-value,
  .cart-page .cart-summary-row strong {
    font-size: 17px !important;
    font-weight: 800 !important;
  }

  .cart-page .cart-item-unit-label,
  .cart-page .cart-item-final-subtotal-label {
    font-size: 12px !important;
  }
}

@media (min-width: 769px) {
  .cart-page .price-main {
    font-size: calc(1em + 2px);
  }

  .cart-page .price-cents {
    font-size: 0.65em;
    vertical-align: super;
  }
}

@media (min-width: 800px) {
  .public-site-header,
  .site-header.public-site-header,
  body.public-page-shell .site-header.public-site-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 99999 !important;
    background: #fff !important;
  }

  body.public-page-shell {
    overflow-x: hidden !important;
  }

  main,
  .public-page,
  .store-public-page,
  .panel-page {
    scroll-margin-top: 100px !important;
  }
}

.dashboard-required-mark {
  color: #c62828;
  font-weight: 800;
}

.dashboard-optional-tag {
  color: #6b7280;
  font-size: 0.9em;
  font-weight: 500;
}
