.bar-col {
  position: relative;
}

.chart-tooltip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  margin-bottom: 10px;
  transform: translateX(-50%) translateY(8px);
  background: #1e1e1e;
  color: white;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.4;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  z-index: 20;
}

.bar-col:hover .chart-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.app-dialog-icon {
  display: none !important;
}

.cart-qty-control {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #f6f2ed;
  border-radius: 999px;
  padding: 3px 6px;
  height: 34px;
}

.cart-qty-control button {
  width: 20px;
  height: 20px;
  border: none;
  border-radius: 50%;
  background: white;
  color: var(--sage-dark);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-qty-control span {
  min-width: 14px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
}
:root {
  --cream: #faf7f2;
  --sage: #7a9e7e;
  --sage-dark: #4e7153;
  --sage-light: #ddebdd;
  --blush: #e8c4b8;
  --rose: #c9896e;
  --earth: #8b6f5e;
  --charcoal: #2c2c2c;
  --mid: #6b6b6b;
  --light: #e6e1db;
  --white: #fff;
  --danger: #c0392b;
  --warning: #e67e22;
  --success: #27ae60;
  --blue: #5d7fa3;
  --gold: #c9a84c;
  --shadow: rgba(44, 44, 44, 0.08);
  --shadow-lg: rgba(44, 44, 44, 0.18);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "DM Sans", sans-serif;
  background: var(--cream);
  color: var(--charcoal);
  min-height: 100vh;
  overflow-x: hidden;
}
button,
input,
select,
textarea {
  font-family: "DM Sans", sans-serif;
}
h1,
h2,
h3,
.serif {
  font-family: "Cormorant Garamond", serif;
}

.screen {
  display: none;
  min-height: 100vh;
}
.screen.active {
  display: block;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 7px;
  border: 0;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: 0.2s;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-primary {
  background: var(--sage-dark);
  color: white;
}
.btn-outline {
  background: white;
  color: var(--sage-dark);
  border: 1.5px solid var(--sage-dark);
}
.btn-ghost {
  background: transparent;
  color: var(--mid);
  border: 1px solid var(--light);
}
.btn-danger {
  background: var(--danger);
  color: white;
}
.btn-success {
  background: var(--success);
  color: white;
}
.btn-warning {
  background: var(--warning);
  color: white;
}
.btn-sm {
  padding: 8px 13px;
  font-size: 12px;
}
.btn-full {
  width: 100%;
}

/* Forms */
.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  margin-bottom: 7px;
  font-size: 11px;
  font-weight: 700;
  color: var(--mid);
  letter-spacing: 0.8px;
  text-transform: uppercase;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #e1dbd4;
  border-radius: 7px;
  font-size: 14px;
  outline: none;
  background: white;
}
.form-group input.field-invalid,
.form-group select.field-invalid,
.form-group textarea.field-invalid {
  border-color: #f81201 !important;
  background: #fff8f7;
}
.image-preview-box.field-invalid {
  border-color: var(--danger) !important;
  background: #fff8f7;
}
.field-error-msg {
  display: block;
  margin-top: 6px;
  color: #fc1100 !important;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* Store */
.store-nav {
  height: 72px;
  background: white;
  border-bottom: 1px solid #ede9e3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 38px;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 8px var(--shadow);
}
.logo {
  font-family: "Cormorant Garamond", serif;
  font-size: 27px;
  font-weight: 400;
  letter-spacing: 1.6px;
  cursor: pointer;
}
.logo span {
  color: var(--rose);
  font-style: italic;
}
.store-links {
  display: flex;
  gap: 20px;
  align-items: center;
}

.store-main-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex: 1;
}

.store-main-menu button {
  border: 0;
  background: transparent;
  color: var(--mid);
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  padding: 8px 0;
  position: relative;
  transition: 0.2s ease;
}

.store-main-menu button::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 0;
  height: 1px;
  background: var(--store-primary, #4e7153);
  transition: 0.2s ease;
}

.store-main-menu button:hover {
  color: var(--store-primary, #4e7153);
}

.store-main-menu button:hover::after {
  width: 100%;
}

.nav-link {
  border: 0;
  background: transparent;
  color: var(--mid);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-size: 12px;
  font-weight: 600;
}
.cart-btn {
  border: 0;
  background: white;
  position: relative;
  cursor: pointer;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s ease;
}

.cart-btn:hover {
  background: #f5f1ec;
}

.cart-btn svg {
  width: 22px;
  height: 22px;
  color: var(--sage-dark);
}
.cart-badge {
  position: absolute;
  top: -8px;
  right: -10px;
  background: var(--rose);
  color: white;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.hero {
  min-height: 390px;
  background: linear-gradient(135deg, #f5eee6, #ead9ce);
  display: flex;
  align-items: center;
  padding: 70px 42px;
  position: relative;
  overflow: hidden;
}
.hero h1 {
  font-size: 58px;
  max-width: 720px;
  font-weight: 300;
  line-height: 1.05;
  margin-bottom: 18px;
}
.hero p {
  max-width: 560px;
  color: var(--mid);
  line-height: 1.7;
  font-size: 16px;
  margin-bottom: 28px;
}
.hero .flower {
  position: absolute;
  right: 70px;
  bottom: 20px;
  font-size: 160px;
  opacity: 0.12;
}
.category-bar {
  background: white;
  padding: 20px 38px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  border-bottom: 1px solid #ede9e3;
}
.chip {
  padding: 8px 17px;
  border-radius: 999px;
  border: 1.5px solid #ddd6ce;
  background: white;
  cursor: pointer;
  color: var(--mid);
  font-size: 13px;
}
.chip.active {
  background: var(--sage-dark);
  color: white;
  border-color: var(--sage-dark);
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  padding-top: 18px;
}
.product-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 14px var(--shadow);
}
.product-img {
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 72px;
  background: #f1eae2;
}
.product-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  min-height: 190px;
}
.product-body h3 {
  font-size: 17px;
  line-height: 1.25;
  margin-bottom: 8px;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 43px;
}
.product-cat {
  color: var(--mid);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.8px;
  margin-bottom: 10px;
}
.product-price {
  color: var(--sage-dark);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.25;
  word-break: break-word;
  overflow-wrap: anywhere;
  max-width: 100%;
}
.product-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
}

/* Cart */
.drawer-bg {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  display: none;
  z-index: 80;
}
.drawer-bg.open {
  display: block;
}
.cart-drawer {
  position: fixed;
  right: -420px;
  top: 0;
  width: 420px;
  max-width: 100%;
  height: 100vh;
  background: white;
  z-index: 90;
  transition: 0.25s;
  box-shadow: -5px 0 30px var(--shadow-lg);
  display: flex;
  flex-direction: column;
}
.cart-drawer.open {
  right: 0;
}
.cart-head {
  padding: 24px;
  border-bottom: 1px solid #ede9e3;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cart-items {
  flex: 1;
  overflow: auto;
  padding: 20px 24px;
}
.cart-item {
  display: flex;
  gap: 12px;
  border-bottom: 1px solid #eee;
  padding: 14px 0;
}
.cart-item-img {
  font-size: 36px;
  width: 58px;
  height: 58px;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}
.cart-footer {
  padding: 24px;
  border-top: 1px solid #ede9e3;
}
.total-line {
  display: flex;
  justify-content: space-between;
  font-size: 20px;
  margin-bottom: 18px;
}

/* Login */
.login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f5eee6, #ede4d8);
  padding: 20px;
}
.login-box {
  background: white;
  width: 430px;
  max-width: 100%;
  padding: 28px 32px;
  border-radius: 14px;
  box-shadow: 0 8px 40px var(--shadow-lg);
}

.cart-remove-btn {
  width: 34px;
  height: 34px;
  border: none;
  background: transparent;
  color: #999;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.2s ease;
}

.cart-remove-btn:hover {
  background: #f5f5f5;
  color: #d64545;
}

/* Admin */
#screen-admin.active {
  position: fixed;
  inset: 0;
  display: block;
  overflow: hidden;
}

.admin-layout {
  position: absolute;
  inset: 0;
  display: flex;
  background: #f6f2ed;
  overflow: hidden;
}

.admin-sidebar {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 64px;
  background: linear-gradient(180deg, #fdfaf6 0%, #f5efe8 100%);
  border-right: 1px solid #e8ddd2;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: width 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 2px 0 12px rgba(139, 111, 94, 0.07);
  z-index: 10;
}

.admin-sidebar:hover,
.admin-sidebar.pinned {
  width: 220px;
}

.admin-main {
  position: absolute;
  top: 0;
  left: 64px;
  right: 0;
  bottom: 0;
  overflow-y: auto;
  overflow-x: hidden;
  background: #f6f2ed;
  min-width: 0;
}

.admin-brand {
  padding: 18px 0;
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 5px;
  justify-content: center;
  flex-shrink: 0;
  border-bottom: 1px solid #ede5dc;
  overflow: hidden;
}

.admin-brand-icon {
  font-size: 22px;
  width: 64px;
  text-align: center;
  flex-shrink: 0;
}

.admin-brand-text {
  overflow: hidden;
  white-space: nowrap;
  opacity: 0;
  width: 0;
  transition:
    opacity 0.15s 0.05s,
    width 0.22s;
}

.admin-sidebar:hover .admin-brand-text,
.admin-sidebar.pinned .admin-brand-text {
  opacity: 1;
  width: 150px;
}

.admin-brand-text strong,
.admin-brand .logo {
  font-family: "Cormorant Garamond", serif;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 1px;
  color: #5c4033;
}

.admin-brand .logo em {
  color: var(--rose);
  font-style: italic;
}

.admin-brand-text small,
.admin-brand .sub {
  display: block;
  font-size: 8px;
  color: #b09080;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 2px;
}

.admin-nav {
  flex: 1;
  padding: 8px 0;
  overflow-y: auto;
  overflow-x: hidden;
}

.admin-nav::-webkit-scrollbar {
  display: none;
}

.admin-nav button,
.admin-nav-item {
  display: flex;
  align-items: center;
  padding: 0;
  height: 46px;
  cursor: pointer;
  transition: all 0.15s;
  color: #8b7368;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  position: relative;
  gap: 0;
  border-radius: 0;
  font-size: 13px;
}

.admin-nav button:hover,
.admin-nav-item:hover {
  background: rgba(122, 158, 126, 0.08);
  color: #4e7153;
}

.admin-nav button.active,
.admin-nav-item.active {
  background: rgba(122, 158, 126, 0.12);
  color: #4e7153;
  border-left: 3px solid var(--sage);
}

.admin-nav-item.bloqueado-pagamento,
.admin-nav button.bloqueado-pagamento {
  opacity: 0.35;
  pointer-events: none;
}

.admin-nav-item.bloqueado-pagamento:hover,
.admin-nav button.bloqueado-pagamento:hover {
  cursor: not-allowed !important;
}

.admin-nav-item:not(.bloqueado-pagamento),
.admin-nav button:not(.bloqueado-pagamento) {
  pointer-events: auto;
  cursor: pointer !important;
}

body.sistema-bloqueado-pagamento .admin-nav-item[data-tooltip="Sair"],
body.sistema-bloqueado-pagamento .admin-nav-item[data-tooltip="Sair"] *,
body.sistema-bloqueado-pagamento .admin-nav-item[onclick="sairAdmin()"],
body.sistema-bloqueado-pagamento .admin-nav-item[onclick="sairAdmin()"] * {
  cursor: pointer !important;
}

.nav-ico {
  display: none;
}

.admin-nav-item[data-tooltip="Sair"] {
  cursor: pointer !important;
  pointer-events: auto !important;
  opacity: 1 !important;
}

.admin-nav-item[data-tooltip="Sair"]:hover {
  cursor: pointer !important;
}

.nav-svg {
  width: 64px;
  height: 46px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a08878;
  transition: color 0.15s;
}

.nav-svg svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.admin-nav button:hover .nav-svg,
.admin-nav button.active .nav-svg,
.admin-nav-item:hover .nav-svg,
.admin-nav-item.active .nav-svg {
  color: var(--sage-dark);
}

.nav-label {
  display: none;
}

.admin-nav-label {
  font-size: 13px;
  font-weight: 400;
  opacity: 0;
  width: 0;
  overflow: hidden;
  transition:
    opacity 0.15s 0.05s,
    width 0.22s;
}

.admin-sidebar:hover .admin-nav-label,
.admin-sidebar.pinned .admin-nav-label {
  opacity: 1;
  width: 150px;
}

.admin-nav button::after,
.admin-nav-item::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 70px;
  top: 50%;
  transform: translateY(-50%);
  background: #3d3530;
  color: #fff;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 4px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.1s;
  z-index: 999;
}

.admin-sidebar:not(:hover):not(.pinned) .admin-nav button:hover::after,
.admin-sidebar:not(:hover):not(.pinned) .admin-nav-item:hover::after {
  opacity: 1;
}

.admin-topbar {
  background: white;
  padding: 14px 24px;
  min-height: 72px;
  border-bottom: 1px solid #ede9e3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  position: sticky;
  top: 0;
  z-index: 5;
}

.admin-topbar h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: 24px;
  font-weight: 400;
  color: #3d3530;
}

.admin-content {
  padding: 24px;
}

.admin-section {
  display: none;
}
.admin-section.active {
  display: block;
  width: 100%;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.kpi-card {
  background: white;
  border-radius: 10px;
  padding: 16px 18px;
  box-shadow: 0 2px 12px var(--shadow);
  position: relative;
  overflow: hidden;
  min-height: 98px;
}
.kpi-card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: transparent;
}
.kpi-card.rose:before {
  background: var(--rose);
}
.kpi-card.gold:before {
  background: var(--gold);
}
.kpi-card.blue:before {
  background: var(--blue);
}
.kpi-card.danger:before {
  background: var(--danger);
}

.kpi-card.primary-store:before {
  background: var(--dashboard-primary-color, var(--sage)) !important;
}
.kpi-card.success-store:before {
  background: #2e7d32 !important;
}

.kpi-label {
  font-size: 10px;
  color: var(--mid);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  margin-bottom: 10px;
  white-space: nowrap;
}
.kpi-val {
  font-family: Arial, sans-serif !important;
  font-size: 15px;
  line-height: 1.15;
  color: var(--charcoal);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}
.card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 14px var(--shadow);
  overflow: hidden;
}
.card-pad {
  padding: 24px;
}
.table-wrap {
  overflow-x: auto;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}
.data-table th {
  text-align: left;
  background: #faf9f7;
  color: var(--mid);
  font-size: 11px;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  padding: 14px 16px;
  border-bottom: 2px solid #ede9e3;
}
.data-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #f0ede9;
  font-size: 14px;
  vertical-align: middle;
}

#admin-pedidos .data-table td:first-child {
  max-width: 170px;
  white-space: normal;
  word-break: break-word;
}

#admin-pedidos .status-pill {
  max-width: 150px;
  white-space: normal;
  text-align: center;
  line-height: 1.1;
  justify-content: center;
}
.status-pill {
  display: inline-flex;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.st-aguardando {
  background: #fef3cd;
  color: #856404;
  width: 108px;
  min-width: 115px;
  max-width: 115px;
  padding: 4px 6px;
  line-height: 1.05;
  text-align: center;
  justify-content: center;
  white-space: normal;
}
.st-confirmado {
  background: #d1ecf1;
  color: #0c5460;
}
.st-preparando {
  background: #fff0da;
  color: #9b5100;
}
.st-pronto {
  background: #e3f2e6;
  color: #1b6b35;
}
.st-em_rota {
  background: #e2d9f3;
  color: #5d3c99;
}
.st-entregue {
  background: #d4edda;
  color: #155724;
}
.st-arquivado {
  background: #eaeaea;
  color: #777;
}
.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.toolbar h2 {
  font-size: 34px;
}
.admin-filter {
  padding: 10px 12px;
  border: 1.5px solid #ddd5ce;
  border-radius: 8px;
  background: white;
}
.prod-admin-grid,
.promo-grid,
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}
.prod-card,
.promo-card,
.cat-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 14px var(--shadow);
}
.prod-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
}

.prod-img {
  height: 145px;
  background: #f1eae2;
  font-size: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.prod-body,
.promo-body,
.cat-body {
  padding: 18px;
}
.prod-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.prod-title-admin {
  font-size: 17px;
  line-height: 1.25;
  margin: 0 0 8px;
  min-height: 24px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 45px;
}
.prod-category-admin {
  color: var(--mid);
  font-size: 11px;
  text-transform: uppercase;
  margin: 0 0 8px;
  letter-spacing: 0.3px;
}
.prod-price-admin {
  color: var(--sage-dark);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 0px;
}

.prod-footer-admin {
  margin-top: 8px;
  padding-top: 0;
}
.prod-stock-admin {
  color: var(--dark);
  font-size: 12px;
  margin-bottom: 8px;
}
.prod-status-admin {
  align-content: center;
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
  padding: 0px 11px;
  background: #b8ecab;
  color: darkgreen;
  white-space: nowrap;
}
.prod-status-admin.inativo {
  color: var(--danger);
  background: #ecc0ab;
}
.stock-bar {
  height: 7px;
  background: #eee;
  border-radius: 8px;
  overflow: hidden;
  margin: 9px 0;
}
.stock-fill {
  height: 100%;
  background: var(--sage);
}
.stock-low {
  background: var(--warning);
}
.stock-out {
  background: var(--danger);
}
.card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 13px;
}
.prod-footer-admin .card-actions {
  margin-top: 0;
}
.alert-list {
  display: grid;
  gap: 12px;
}
.alert {
  background: white;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 2px 12px var(--shadow);
  border-left: 4px solid var(--sage);
}
.alert.warn {
  border-left-color: var(--warning);
}
.alert.danger {
  border-left-color: var(--danger);
}
.chart-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 18px;
  margin-top: 24px;
}
.bar-chart {
  display: flex;
  align-items: flex-end;
  height: 160px;
  gap: 10px;
  margin-top: 18px;
}
.bar-col {
  flex: 1;
  text-align: center;
  font-size: 11px;
  color: var(--mid);
}
.bar {
  background: var(--sage);
  border-radius: 6px 6px 0 0;
  margin-bottom: 8px;
}
.hidden {
  display: none !important;
}

.freight-actions {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.admin-img-preview,
.store-img-preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.image-preview-box {
  width: 100%;
  height: 160px;
  border: 1.5px dashed #d8d0c8;
  border-radius: 10px;
  background: #faf7f2;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--mid);
  font-size: 13px;
  margin-top: 8px;
}

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

.cat-img-thumb,
.promo-img-thumb {
  width: 100%;
  height: 130px;
  object-fit: cover;
  display: block;
  background: #f1eae2;
}

/* Modals */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(44, 44, 44, 0.48);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.open {
  display: flex;
}
.modal {
  background: white;
  width: 640px;
  max-width: 100%;
  max-height: 92vh;
  overflow: auto;
  border-radius: 14px;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.25);
}
.modal-header {
  padding: 24px 28px 0;
  display: flex;
  justify-content: space-between;
  align-items: start;
}
.modal-title {
  font-size: 30px;
}
.modal-close {
  border: 0;
  background: transparent;
  font-size: 30px;
  cursor: pointer;
  color: var(--mid);
}
.modal-body {
  padding: 22px 28px 28px;
}

.cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.checkout-choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 22px;
}

.checkout-choice {
  border: 1.5px solid #e1dbd4;
  border-radius: 12px;
  background: #fff;
  padding: 18px;
  cursor: pointer;
  transition: 0.2s;
}

.checkout-choice.active {
  border-color: var(--sage-dark);
  background: #f0f5f1;
  box-shadow: 0 4px 18px rgba(78, 113, 83, 0.12);
}

.checkout-choice strong {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
}

.checkout-choice span {
  color: var(--mid);
  font-size: 13px;
  line-height: 1.45;
}

.checkout-box-title {
  font-size: 28px;
  margin: 26px 0 16px;
}

.checkout-summary-card {
  background: #faf9f7;
  border: 1px solid #ede9e3;
  border-radius: 12px;
  padding: 18px;
}

.checkout-summary-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #ede9e3;
}

.checkout-summary-item:last-child {
  border-bottom: none;
}

.checkout-summary-img {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-size: 28px;
  flex-shrink: 0;
}

.checkout-summary-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.checkout-two-columns {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 22px;
  align-items: start;
}

.checkout-side {
  position: sticky;
  top: 88px;
}

.freight-table input {
  width: 95px;
  padding: 10px 12px;
  border: 1.5px solid #ddd5ce;
  border-radius: 8px;
  background: white;
}

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

.freight-preview {
  background: #faf9f7;
  border: 1px solid #ede9e3;
  border-radius: 12px;
  padding: 18px;
  margin-top: 20px;
}

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

.detail-info-card {
  background: #faf9f7;
  border: 1px solid #ede9e3;
  border-radius: 12px;
  padding: 16px;
}

.detail-info-card.full {
  grid-column: 1/-1;
}

.detail-info-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--mid);
  font-weight: 700;
  margin-bottom: 6px;
}

.detail-info-value {
  font-size: 15px;
  color: var(--charcoal);
  line-height: 1.55;
}

.detail-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px;
  border: 1px solid #ece7df;
  border-radius: 18px;
  background: #fff;
}

.detail-item-img {
  width: 120px;
  min-width: 120px;
  height: 120px;
  border-radius: 18px;
  overflow: hidden;
  background: #f7f4ef;
  display: flex;
  align-items: center;
  justify-content: center;
}

.detail-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-subtitle {
  color: var(--mid);
  font-size: 14px;
  margin-top: 4px;
}

.modal-footer {
  padding: 0 28px 28px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

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

.frete-result-box {
  background: #f0f5f1;
  border: 1px solid #ddebdd;
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--sage-dark);
  font-size: 14px;
  margin-top: -4px;
  margin-bottom: 16px;
}

.frete-result-box.warn {
  background: #fff8ec;
  border-color: #f4d4a4;
  color: #9b5100;
}

.frete-result-box.error {
  background: #fff0ef;
  border-color: #f0b8b0;
  color: #a93226;
}

.freight-actions {
  width: 100%;
  display: flex !important;
  justify-content: flex-start !important;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.freight-actions .btn {
  margin: 0 !important;
}
.card {
  text-align: left;
}

.table-wrap {
  text-align: left;
}

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

.store-address-grid .full {
  grid-column: 1/-1;
}

.pickup-address-box {
  background: #faf9f7;
  border: 1px solid #ede9e3;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 18px;
}

.pickup-address-box strong {
  display: block;
  margin-bottom: 6px;
  color: var(--sage-dark);
}

.pickup-address-box span {
  display: block;
  color: var(--mid);
  line-height: 1.55;
  font-size: 14px;
}

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

  .store-address-grid .full {
    grid-column: auto;
  }
}

@media (max-width: 900px) {
  .checkout-two-columns {
    grid-template-columns: 1fr;
  }
  .checkout-choice-grid {
    grid-template-columns: 1fr;
  }
  .checkout-side {
    position: static;
  }
}

@media (max-width: 900px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 20px;
  }
  .chart-row {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .admin-sidebar {
    width: 64px;
  }
  .admin-content {
    padding: 20px;
  }
  .admin-topbar {
    padding: 0 18px;
  }
}
@media (max-width: 560px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
  .store-nav {
    height: auto;
    min-height: 72px;
    padding: 10px 16px 0;
    gap: 12px;
    flex-wrap: wrap;
  }

  .store-main-menu {
    order: 3;
    width: 100%;
    flex: 0 0 100%;
    overflow-x: auto;
    justify-content: flex-start;
    gap: 20px;
    padding: 0 0 10px;
  }

  .store-main-menu button {
    white-space: nowrap;
    font-size: 13px;
  }

  .store-links {
    gap: 10px;
  }
  .hero {
    padding: 42px 20px;
  }
  .hero h1 {
    font-size: 40px;
  }
  .kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Dialogs personalizados */
.app-dialog-overlay {
  position: fixed;
  inset: 0;
  background: rgba(44, 44, 44, 0.45);
  z-index: 2500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(2px);
}
.app-dialog-overlay.open {
  display: flex;
}
.app-dialog {
  width: 440px;
  max-width: 100%;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 24px 80px rgba(44, 44, 44, 0.28);
  overflow: hidden;
  animation: appDialogIn 0.18s ease-out;
}
@keyframes appDialogIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.app-dialog-body {
  padding: 30px 30px 22px;
  text-align: center;
}
.app-dialog-icon {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  background: #f0f5f1;
  color: var(--sage-dark);
}
.app-dialog-icon.danger {
  background: #fff0ef;
  color: var(--danger);
}
.app-dialog-icon.warn {
  background: #fff8ec;
  color: #9b5100;
}
.app-dialog-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 30px;
  color: #2c2c2c;
  margin-bottom: 8px;
}
.app-dialog-message {
  color: var(--mid);
  line-height: 1.55;
  font-size: 15px;
}
.app-dialog-footer {
  padding: 0 24px 24px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.app-dialog-footer .btn {
  min-width: 120px;
}

/* Ajuste final da tela de fretes: ações fora do scroll da tabela e alinhadas à esquerda */
.freight-card {
  padding: 18px;
}

.freight-card .table-wrap {
  margin: 0;
  padding: 0;
  width: 100%;
}

.freight-card .freight-actions {
  width: 100%;
  display: flex !important;
  justify-content: flex-start !important;
  align-items: center !important;
  gap: 12px !important;
  margin: 0 0 18px 0 !important;
  padding: 0 !important;
  text-align: left !important;
}

.freight-card .freight-actions .btn {
  margin: 0 !important;
  flex: 0 0 auto;
}

/* FioreHub ajuste: fonte padrão Arial */
*,
body,
button,
input,
select,
textarea,
h1,
h2,
h3,
.logo,
.serif {
  font-family: Arial, sans-serif !important;
}

/* FioreHub ajuste: calendário moderno */
input[type="date"] {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  padding-right: 14px !important;
  color: var(--charcoal);
}

input[type="date"]::-webkit-calendar-picker-indicator:hover {
  opacity: 0.85;
}

/* FioreHub ajuste: modal de alerta mais elegante */
.app-dialog {
  border: 1px solid rgba(78, 113, 83, 0.12);
}

.app-dialog-title {
  font-size: 26px !important;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.app-dialog-message {
  font-size: 15px;
  color: #5f5f5f;
}

.app-dialog-footer .btn-primary {
  border-radius: 10px;
  padding: 11px 22px;
}

/* FioreHub ajuste: campos de senha com olhinho */
.password-field {
  position: relative;
}
.password-field input {
  padding-right: 48px !important;
}
.toggle-password {
  position: absolute !important;
  right: 14px;
  top: 8px !important;
  transform: none !important;
  background: none;
  border: none;
  cursor: pointer;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  z-index: 5;
}

.toggle-password:hover {
  background: #f4f1ec;
  color: var(--sage-dark);
}
.password-toggle:hover {
  background: #f4f1ec;
  color: var(--sage-dark);
}
.reset-link-box {
  width: 100%;
  min-height: 86px;
  border: 1px solid #e6dfd5;
  border-radius: 12px;
  background: #faf9f7;
  padding: 12px;
  font-size: 13px;
  line-height: 1.45;
  color: #333;
  resize: vertical;
  word-break: break-all;
  font-family: Consolas, monospace;
}
.reset-link-hint {
  margin-top: 10px;
  color: var(--mid);
  font-size: 13px;
  line-height: 1.45;
}

/* FioreHub ajuste: estoque, PIX e WhatsApp */
.stock-config-card {
  background: #fff;
  border: 1px solid #ede9e3;
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 18px;
  box-shadow: 0 2px 14px var(--shadow);
}

.stock-config-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.stock-config-row .form-group {
  margin-bottom: 0;
  max-width: 280px;
}

.stock-empty-box {
  padding: 28px;
  text-align: center;
  color: var(--mid);
}

.pix-box {
  background: #faf9f7;
  border: 1px solid #ede9e3;
  border-radius: 14px;
  padding: 18px;
  margin: 18px 0 22px;
}

.pix-key-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.pix-key-value {
  flex: 1;
  min-width: 220px;
  background: #fff;
  border: 1.5px dashed #d8d0c8;
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--charcoal);
  font-weight: 700;
  word-break: break-all;
}

.pix-copy-status {
  margin-top: 10px;
  color: var(--sage-dark);
  font-size: 13px;
  font-weight: 700;
  display: none;
}

.pix-copy-status.show {
  display: block;
}

body.cart-open #whatsappFloat,
body.cart-open .whatsapp-float {
  display: none !important;
}

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 60px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
  z-index: 999;
  text-decoration: none;
  transition: 0.2s ease;
  overflow: hidden;
}

.whatsapp-float:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 14px 34px rgba(37, 211, 102, 0.42);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: currentColor;

  display: block;
}

@media (max-width: 700px) {
  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
  }
}

/* FioreHub ajuste definitivo: ícone de calendário visível */
.date-field-wrap {
  position: relative;
  width: 100%;
}

.date-field-wrap input[type="date"] {
  padding-right: 46px !important;
}

.date-field-wrap::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: 22px 22px;
  background-position: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%234E7153' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='4.5' width='17' height='16' rx='3'/%3E%3Cpath d='M8 2.8v4'/%3E%3Cpath d='M16 2.8v4'/%3E%3Cpath d='M3.5 9h17'/%3E%3Cpath d='M8 13h.01'/%3E%3Cpath d='M12 13h.01'/%3E%3Cpath d='M16 13h.01'/%3E%3Cpath d='M8 17h.01'/%3E%3Cpath d='M12 17h.01'/%3E%3C/svg%3E");
}

.date-field-wrap input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0;
  cursor: pointer;
  position: absolute;
  right: 10px;
  width: 30px;
  height: 30px;
}

/* Institucional FioreHub — visual SaaS premium */
.fh-site-nav {
  height: 78px;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid #e6e1d8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 28px rgba(31, 36, 34, 0.06);
}

.fh-site-nav .logo span,
.logo span {
  color: #b56d57;
}

.fh-site-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.fh-site-links .btn-sm {
  white-space: nowrap;
}

.fh-site-links .nav-link {
  color: #3b4741;
  font-weight: 700;
}

.fh-site-links .btn-primary,
.fh-final-cta .btn-primary,
.fh-subscription-card .btn-primary {
  background: #2f5d50;
  color: #fff;
  border: 1px solid #2f5d50;
  box-shadow: 0 10px 26px rgba(47, 93, 80, 0.18);
}

.fh-site-links .btn-primary:hover,
.fh-final-cta .btn-primary:hover,
.fh-subscription-card .btn-primary:hover {
  background: #24483e;
  border-color: #24483e;
}

.fh-hero {
  min-height: 620px;
  padding: 96px 56px 86px;
  background:
    radial-gradient(circle at 12% 12%, rgba(47, 93, 80, 0.1), transparent 28%),
    radial-gradient(
      circle at 88% 18%,
      rgba(181, 109, 87, 0.1),
      transparent 24%
    ),
    linear-gradient(135deg, #f8f6f1 0%, #ece5db 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.fh-hero::before {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -170px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  border: 1px solid rgba(47, 93, 80, 0.12);
  background: radial-gradient(circle, rgba(47, 93, 80, 0.08), transparent 62%);
}

.fh-hero::after {
  content: "";
  position: absolute;
  right: 80px;
  top: 120px;
  width: 180px;
  height: 180px;
  border-radius: 38px;
  transform: rotate(12deg);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.55),
    rgba(255, 255, 255, 0.18)
  );
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 26px 80px rgba(31, 36, 34, 0.08);
}

.fh-hero-content {
  max-width: 880px;
  position: relative;
  z-index: 2;
}

.fh-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  color: #2f5d50;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  margin-bottom: 22px;
  border: 1px solid #ddd5c9;
}

.fh-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2f5d50;
  box-shadow: 0 0 0 5px rgba(47, 93, 80, 0.1);
}

.fh-hero h1 {
  font-family: Arial, sans-serif !important;
  font-size: 64px;
  line-height: 1.02;
  max-width: 920px;
  margin-bottom: 22px;
  color: #1f2422;
  font-weight: 800;
  letter-spacing: -2.4px;
}

.fh-hero p {
  font-size: 19px;
  color: #5b625e;
  line-height: 1.75;
  max-width: 720px;
  margin-bottom: 28px;
}

.fh-hero-points {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  color: #2f5d50;
  font-size: 14px;
  font-weight: 800;
  margin-top: 26px;
}

.fh-hero-points span {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid #e1d8cc;
}

.fh-section {
  padding: 82px 56px;
  background: #fff;
}

.fh-section.alt {
  background: #f7f4ee;
}

.fh-section-head {
  max-width: 820px;
  margin-bottom: 36px;
}

.fh-section-head.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.fh-section-head span {
  color: #8b6f5e;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1.4px;
}

.fh-section-head h2 {
  font-family: Arial, sans-serif !important;
  font-size: 44px;
  line-height: 1.08;
  margin: 12px 0 12px;
  color: #1f2422;
  font-weight: 800;
  letter-spacing: -1.3px;
}

.fh-section-head p {
  color: #606864;
  line-height: 1.75;
  font-size: 17px;
}

.fh-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.fh-feature-card {
  background: #fbfaf7;
  border: 1px solid #e7e1d8;
  border-radius: 24px;
  padding: 26px;
  transition: 0.2s ease;
  min-height: 245px;
}

.fh-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 46px rgba(31, 36, 34, 0.08);
  border-color: #d7ccc0;
}

.fh-icon {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: #e8efea;
  color: #2f5d50;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.4px;
  margin-bottom: 18px;
}

.fh-feature-card h3 {
  font-family: Arial, sans-serif !important;
  font-size: 20px;
  margin-bottom: 10px;
  color: #1f2422;
  font-weight: 800;
}

.fh-feature-card p {
  color: #626b66;
  line-height: 1.65;
  font-size: 14px;
}

.fh-how {
  padding: 82px 56px;
  background: #f7f4ee;
}

.fh-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.fh-steps div {
  background: #fff;
  border-radius: 24px;
  padding: 28px;
  border: 1px solid #e7e1d8;
  box-shadow: 0 12px 34px rgba(31, 36, 34, 0.04);
}

.fh-steps strong {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #2f5d50;
  color: #fff;
  margin-bottom: 18px;
  font-weight: 900;
}

.fh-steps h3 {
  font-family: Arial, sans-serif !important;
  font-size: 22px;
  margin-bottom: 9px;
  color: #1f2422;
  font-weight: 800;
}

.fh-steps p {
  color: #626b66;
  line-height: 1.65;
}

.fh-subscription-wrap {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 28px;
  align-items: center;
}

.fh-subscription-copy {
  max-width: 720px;
}

.fh-subscription-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.fh-subscription-list div {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #3e4843;
  line-height: 1.55;
  font-size: 15px;
}

.fh-subscription-list div::before {
  content: "✓";
  color: #2f5d50;
  font-weight: 900;
}

.fh-subscription-card {
  background: #fff;
  border: 1px solid #dad1c6;
  border-radius: 28px;
  padding: 30px;
  box-shadow: 0 24px 70px rgba(31, 36, 34, 0.1);
}

.fh-subscription-card .tag {
  display: inline-flex;
  padding: 7px 11px;
  border-radius: 999px;
  background: #e8efea;
  color: #2f5d50;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 900;
  margin-bottom: 16px;
}

.fh-subscription-card h3 {
  font-family: Arial, sans-serif !important;
  font-size: 28px;
  font-weight: 900;
  color: #1f2422;
  margin-bottom: 10px;
}

.fh-subscription-card p {
  color: #626b66;
  line-height: 1.65;
  margin-bottom: 20px;
}

.fh-price-single {
  font-size: 38px;
  font-weight: 900;
  color: #2f5d50;
  margin-bottom: 8px;
}

.fh-price-note {
  color: #7a746d;
  font-size: 13px;
  margin-bottom: 22px;
}

.fh-final-cta {
  margin: 0;
  padding: 82px 56px;
  text-align: center;
  background: linear-gradient(135deg, #213c35, #2f5d50);
  color: white;
  position: relative;
  overflow: hidden;
}

.fh-final-cta::before {
  content: "";
  position: absolute;
  left: -120px;
  top: -120px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.fh-final-cta h2 {
  font-family: Arial, sans-serif !important;
  font-size: 44px;
  margin-bottom: 12px;
  font-weight: 900;
  letter-spacing: -1px;
  position: relative;
}

.fh-final-cta p {
  opacity: 0.88;
  margin-bottom: 26px;
  font-size: 17px;
  position: relative;
}

.fh-final-cta .btn-primary {
  background: #fff;
  color: #2f5d50;
  border-color: #fff;
  position: relative;
}

.fh-final-cta .btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 1000px) {
  .fh-hero h1 {
    font-size: 48px;
  }

  .fh-feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .fh-subscription-wrap {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .fh-site-nav {
    padding: 0 20px;
  }

  .fh-site-links {
    gap: 8px;
  }

  .fh-hero {
    padding: 62px 24px;
  }

  .fh-hero h1 {
    font-size: 38px;
    letter-spacing: -1.2px;
  }

  .fh-hero p {
    font-size: 16px;
  }

  .fh-section,
  .fh-how,
  .fh-final-cta {
    padding: 56px 24px;
  }

  .fh-section-head h2,
  .fh-final-cta h2 {
    font-size: 32px;
  }

  .fh-feature-grid,
  .fh-steps {
    grid-template-columns: 1fr;
  }
}

/* ─── PLANOS ─── */
.fh-plans-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 860px;
  margin: 0 auto;
}

.fh-plan-card {
  background: #fff;
  border: 2px solid #e7e1d8;
  border-radius: 24px;
  padding: 32px;
  position: relative;
  transition: 0.2s ease;
  cursor: pointer;

  display: flex;
  flex-direction: column;
}

.fh-plan-card:hover {
  border-color: #2f5d50;
  box-shadow: 0 12px 40px rgba(47, 93, 80, 0.12);
  transform: translateY(-3px);
}

.fh-plan-card.destaque {
  border-color: #2f5d50;
  box-shadow: 0 16px 48px rgba(47, 93, 80, 0.14);
}

.fh-plan-card.selecionado {
  border-color: #2f5d50;
  background: #f0f6f1;
  box-shadow: 0 0 0 3px rgba(47, 93, 80, 0.18);
}

.fh-plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #2f5d50;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 999px;
  white-space: nowrap;
}

.fh-plan-tag {
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #8b6f5e;
  margin-bottom: 10px;
}

.fh-plan-price {
  font-size: 38px;
  font-weight: 900;
  color: #2f5d50;
  margin-bottom: 10px;
  line-height: 1;
}

.fh-plan-price span {
  font-size: 16px;
  font-weight: 400;
  color: #7a746d;
}

.fh-plan-desc {
  color: #626b66;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 22px;
}

.fh-plan-features {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}
.fh-plan-note {
  display: block;
  margin: 0 0 22px;
  font-size: 12px;
  line-height: 1.5;
  color: #8a8178;
}

.fh-plan-card .btn-full {
  margin-top: auto;
}

.fh-plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13.5px;
  color: #3e4843;
  line-height: 1.45;
}

.fh-plan-features li::before {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 900;
  margin-top: 1px;
}

.fh-plan-features li.ok::before {
  content: "✓";
  color: #2f5d50;
}
.fh-plan-features li.no {
  color: #b0a89e;
  text-decoration: line-through;
}
.fh-plan-features li.no::before {
  content: "✗";
  color: #ccc;
}

@media (max-width: 680px) {
  .fh-plans-grid {
    grid-template-columns: 1fr;
  }
}

/* Badge plano no cadastro */
.plano-badge-cadastro {
  background: #e8efea;
  border: 1px solid #cfe3d2;
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.plano-badge-cadastro .plano-nome {
  font-size: 16px;
  font-weight: 700;
  color: #1f2422;
}

.plano-badge-cadastro .plano-kicker {
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #2f5d50;
  margin-bottom: 2px;
}

/* Tutorial inicial de configuração da loja */
.setup-tutorial {
  background: linear-gradient(135deg, #ffffff 0%, #f7f4ee 100%);
  border: 1px solid #e6ddd2;
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 10px 34px rgba(31, 36, 34, 0.07);
}

.setup-tutorial-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.setup-tutorial-kicker {
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #2f5d50;
  margin-bottom: 8px;
}

.setup-tutorial h2 {
  font-size: 28px;
  font-weight: 900;
  color: #1f2422;
  margin-bottom: 8px;
}

.setup-tutorial p {
  color: #626b66;
  line-height: 1.6;
  font-size: 14px;
}

.setup-progress {
  min-width: 180px;
  background: #fff;
  border: 1px solid #e7e1d8;
  border-radius: 16px;
  padding: 14px;
}

.setup-progress strong {
  display: block;
  font-size: 22px;
  color: #2f5d50;
  margin-bottom: 8px;
}

.setup-progress-bar {
  height: 8px;
  background: #e9e2d9;
  border-radius: 999px;
  overflow: hidden;
}

.setup-progress-fill {
  height: 100%;
  background: #2f5d50;
  border-radius: 999px;
  transition: 0.2s;
}

.setup-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}

.setup-step {
  background: #fff;
  border: 1px solid #e7e1d8;
  border-radius: 16px;
  padding: 16px;
}

.setup-step.done {
  background: #f0f6f1;
  border-color: #cfe3d2;
}

.setup-step-number {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #e8efea;
  color: #2f5d50;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  margin-bottom: 12px;
}

.setup-step.done .setup-step-number {
  background: #2f5d50;
  color: #202020;
}

.setup-step h3 {
  font-size: 16px;
  font-weight: 900;
  margin-bottom: 6px;
  color: #1f2422;
}

.setup-step p {
  font-size: 13px;
  margin-bottom: 14px;
}

.setup-step .btn {
  width: 100%;
}

.setup-modal-intro {
  max-width: 720px;
}

.setup-modal-alert {
  background: #fff8ec;
  border: 1px solid #f1d6a8;
  color: #8a5a12;
  border-radius: 14px;
  padding: 14px 16px;
  margin: 16px 0 20px;
  font-size: 14px;
  line-height: 1.55;
}

.setup-modal-steps {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.setup-modal-step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 13px;
  border: 1px solid #e7e1d8;
  border-radius: 14px;
  background: #faf9f7;
}

.setup-modal-step.done {
  background: #f0f6f1;
  border-color: #cfe3d2;
}

.setup-modal-check {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: #e8efea;
  color: #2f5d50;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  flex-shrink: 0;
}

.setup-modal-step.done .setup-modal-check {
  background: #2f5d50;
  color: #fff;
}

.setup-modal-step strong {
  display: block;
  font-size: 14px;
  color: #1f2422;
  margin-bottom: 3px;
}

.setup-modal-step span {
  font-size: 13px;
  color: #626b66;
  line-height: 1.45;
}

/* Zoom da imagem no detalhe do pedido */
.pedido-detalhe-img {
  cursor: zoom-in;
}

.image-zoom-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.image-zoom-overlay.open {
  display: flex;
}

.image-zoom-card {
  position: relative;
  max-width: min(92vw, 820px);
  max-height: 88vh;
  background: #fff;
  border-radius: 22px;
  padding: 18px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

.image-zoom-card img {
  display: block;
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 16px;
}

.image-zoom-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 0;
  background: #fff;
  color: #222;
  font-size: 24px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

/* Conta - identidade visual */
.account-media-preview {
  width: 100%;
  min-height: 120px;
  border: 1px dashed #d8cfc4;
  border-radius: 16px;
  background: #faf7f2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mid);
  overflow: hidden;
  padding: 10px;
}

.account-media-preview.logo-preview {
  width: 112px;
  height: 112px;
  min-height: 112px;
  border-radius: 24px;
}

.account-media-preview.banner-preview {
  width: 100%;
  height: 140px;
  border-radius: 18px;
  overflow: hidden;
}

.account-media-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-brand-logo-img {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  object-fit: cover;
  display: block;
}

.store-banner-preview {
  width: 100%;
  height: 220px;
  border-radius: 24px;
  overflow: hidden;
  background: #f1eae2;
  margin-bottom: 24px;
}

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

.admin-brand {
  align-items: center;
}

.admin-brand-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  overflow: hidden;
  background: #f5efe8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.admin-brand-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: white;
  padding: 4px;
}

.admin-brand-text .logo {
  font-size: 24px;
  line-height: 1;
}

.store-social-links {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 16px;
}

.store-social-links a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
}

.store-banner-content {
  position: relative;
  z-index: 2;
  padding: 42px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: transparent;
  color: white;
}

.store-banner-content h1 {
  font-size: 48px;
  margin-bottom: 10px;
  color: white;
}

.store-banner-content p {
  max-width: 620px;
  line-height: 1.7;
  margin-bottom: 18px;
}

.store-banner-overlay {
  display: none;
}

/* Identidade pública da loja */
#storeHeroPublico {
  position: relative;
  background: linear-gradient(135deg, #ebf3ea, #e2e7dc);
  background-size: cover;
  background-position: center;
}

#storeHeroOverlay {
  display: none !important;
}

#storeHeroContent {
  position: relative;
  z-index: 2;
}

#storeHeroPublico.has-banner #storeHeroOverlay {
  display: none !important;
}

#storeHeroPublico.has-banner h1,
#storeHeroPublico.has-banner p,
#storeHeroPublico.has-banner #storeEmailHero {
  color: white !important;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
}

#storeHeroPublico.has-banner .flower {
  display: none;
}

.store-social-links {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.store-social-links a {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
}

.admin-brand-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 16px;
  overflow: hidden;
  background: #f5efe8;
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-brand-icon img,
.admin-brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  background: white;
  padding: 5px;
  display: block;
}

.admin-brand-text .logo {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 140px;
}

.store-footer-publico {
  background: white;
  border-top: 1px solid #ede9e3;
  padding: 28px 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.store-footer-publico strong {
  font-size: 20px;
  color: var(--charcoal);
}

.store-footer-publico p {
  margin-top: 6px;
  color: var(--mid);
}

/* Conta - seletor visual de cor principal */
.color-picker-card {
  border: 1px solid #e7ded5;
  background: #fff;
  border-radius: 18px;
  padding: 16px;
}

.color-picker-current {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.color-preview-dot {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  border: 1px solid #ddd;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
}

.color-picker-current strong {
  display: block;
  font-size: 15px;
}

.color-picker-current span {
  display: block;
  color: var(--mid);
  font-size: 13px;
  margin-top: 3px;
}

.color-palette {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.color-swatch {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 2px solid white;
  box-shadow:
    0 0 0 1px #ddd,
    0 5px 14px rgba(0, 0, 0, 0.12);
  cursor: pointer;
}

.color-input-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.color-input-row input[type="color"] {
  width: 52px;
  height: 42px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.color-input-row input[type="text"] {
  flex: 1;
  max-width: 120px;
  min-width: 120px;
  text-align: center;
  font-weight: 700;
}

input[readonly] {
  background: #f3f0eb !important;
  color: #7b746d;
  border: 1px solid #ddd3c7;
  cursor: not-allowed;
  opacity: 1;
}

input[readonly]:focus {
  outline: none;
  box-shadow: none;
}

/* Setup tutorial - layout protegido */
.setup-dashboard-card {
  background: #fff;
  border: 1px solid #e8ddd2;
  border-radius: 22px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 8px 28px rgba(44, 44, 44, 0.06);
}

.setup-dashboard-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.setup-dashboard-header h2 {
  font-family: "DM Sans", sans-serif;
  font-size: 26px;
  margin: 8px 0 8px;
  line-height: 1.15;
}

.setup-dashboard-header p {
  color: var(--mid);
  line-height: 1.5;
}

.setup-progress-box {
  min-width: 150px;
  background: #faf7f2;
  border: 1px solid #e8ddd2;
  border-radius: 16px;
  padding: 14px;
}

.setup-progress-box strong {
  font-size: 22px;
  color: var(--sage-dark);
}

.setup-progress-bar {
  height: 8px;
  background: #e8ddd2;
  border-radius: 999px;
  margin-top: 10px;
  overflow: hidden;
}

.setup-progress-fill {
  height: 100%;
  background: var(--sage-dark);
  border-radius: 999px;
}

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

.setup-dashboard-step {
  border: 1px solid #e8ddd2;
  border-radius: 18px;
  padding: 16px;
  background: #fff;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.setup-dashboard-step.done {
  background: #f1faf3;
  border-color: #cde8d2;
}

.setup-dashboard-step.locked {
  background: #fbf8f5;
}

.setup-dashboard-check {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #eef5f0;
  color: var(--sage-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  margin-bottom: 12px;
}

.setup-dashboard-step.done .setup-dashboard-check {
  background: var(--sage-dark);
  color: white;
}

.setup-dashboard-step h3 {
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  margin-bottom: 8px;
}

.setup-dashboard-step p {
  font-size: 13px;
  line-height: 1.45;
  color: var(--mid);
  margin-bottom: 14px;
}

.setup-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  max-width: 100%;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.setup-pill.success {
  background: #dff4e5;
  color: #236b39;
}

.setup-pill.locked {
  background: #f4eee8;
  color: #8b6f5e;
}

.setup-modal-step {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid #e8ddd2;
  border-radius: 16px;
  margin-bottom: 10px;
  background: #fff;
}

.setup-modal-step.done {
  background: #f1faf3;
  border-color: #cde8d2;
}

.setup-modal-check {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #eef5f0;
  color: var(--sage-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  flex-shrink: 0;
}

.setup-modal-step.done .setup-modal-check {
  background: var(--sage-dark);
  color: white;
}

.setup-modal-step span {
  color: var(--mid);
  font-size: 13px;
  display: block;
  margin-top: 4px;
}

@media (max-width: 1100px) {
  .setup-dashboard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .setup-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .setup-dashboard-header {
    flex-direction: column;
  }
}

.store-footer-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  flex: 1;
  min-width: 280px;
}

.store-footer-legal {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--mid);
  font-size: 13px;
}

.store-footer-copyright {
  color: var(--mid);
  font-size: 13px;
}

.store-policy-dropdown {
  position: relative;
  width: max-content;
}

.store-policy-dropdown-btn {
  border: 0;
  background: transparent;
  color: var(--store-primary, #4e7153);
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  font-size: 13px;
  font-family: inherit;
}

.store-policy-dropdown-btn:hover {
  opacity: 0.8;
}

.store-policy-dropdown-menu {
  display: none;
  position: absolute;
  bottom: 26px;
  left: 0;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 14px;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.14);
  padding: 8px;
  min-width: 220px;
  z-index: 50;
}

.store-policy-dropdown-menu.open {
  display: block;
}

.store-policy-dropdown-menu button {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  color: var(--charcoal);
  font-size: 13px;
  font-family: inherit;
}

.store-policy-dropdown-menu button:hover {
  background: #f7f4ef;
  color: var(--store-primary, #4e7153);
}

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

.store-social-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--store-primary, #4e7153);
  color: #fff !important;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  transition: 0.2s ease;
}

.store-social-actions a:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

@media (max-width: 720px) {
  .store-footer-publico {
    align-items: flex-start;
  }

  .store-footer-bottom {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }

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

/* Footer público em duas barras: identidade da loja + legal/redes */
.store-footer-publico {
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  gap: 0 !important;
  background: #fff;
  border-top: 1px solid #ede9e3;
}

.store-footer-publico {
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  gap: 0 !important;
  background: #fff;
  border-top: 1px solid #ede9e3;
}

.store-footer-main {
  padding: 24px 38px 20px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.store-footer-info strong {
  display: block;
  font-size: 20px;
  color: var(--charcoal);
  margin-bottom: 4px;
}

.store-footer-info p {
  margin: 4px 0 0;
  color: var(--mid);
}

.store-footer-legalbar {
  border-top: 1px solid #ede9e3;
  padding: 18px 38px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  min-height: 58px;
}

.store-footer-copyright {
  justify-self: start;
  color: var(--mid);
  font-size: 13px;
}

.store-policy-dropdown {
  justify-self: center;
  position: relative;
  width: max-content;
}

.store-policy-dropdown-btn {
  border: 0;
  background: transparent;
  color: var(--store-primary, #4e7153) !important;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  font-size: 13px;
  font-family: inherit;
}

.store-policy-dropdown-menu {
  display: none;
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid #eee;
  border-radius: 14px;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.14);
  padding: 8px;
  min-width: 230px;
  z-index: 50;
}

.store-policy-dropdown-menu.open {
  display: block;
}

.store-policy-dropdown-menu button {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  color: var(--charcoal);
  font-size: 13px;
  font-family: inherit;
}

.store-policy-dropdown-menu button:hover {
  background: #f7f4ef;
  color: var(--store-primary, #4e7153);
}

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

.store-social-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--store-primary, #4e7153) !important;
  color: #fff !important;
  text-decoration: none;
  padding: 9px 17px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  transition: 0.2s ease;
}

.store-social-actions a:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

@media (max-width: 720px) {
  .store-footer-main,
  .store-footer-legalbar {
    padding-left: 20px;
    padding-right: 20px;
  }

  .store-footer-legalbar {
    grid-template-columns: 1fr;
    justify-items: flex-start;
  }

  .store-policy-dropdown,
  .store-social-actions,
  .store-footer-copyright {
    justify-self: start;
  }

  .store-policy-dropdown-menu {
    left: 0;
    transform: none;
  }
}

.store-category-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.store-category-chip-img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

#storeCategoryBar {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 6px 42px 14px;
  scrollbar-width: none;
}

#storeCategoryBar::-webkit-scrollbar {
  display: none;
}

.store-cat-card {
  position: relative;
  min-width: 390px;
  width: 390px;
  height: 250px;
  border: none;
  border-radius: 24px;
  overflow: hidden;
  cursor: pointer;
  background: #eee;
  flex-shrink: 0;
}

.store-cat-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.store-cat-card-overlay {
  display: none;
}

.store-cat-card-title {
  position: absolute;
  left: 14px;
  bottom: 14px;

  color: #fff;
  font-size: 18px;
  font-weight: 700;
  z-index: 2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.42);
}

.store-cat-card.active {
  outline: 3px solid var(--store-primary, #4e7153);
}

/* Páginas públicas da loja: coleções, catálogo e pop-ups */
.store-page-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 46px 22px 80px;
}
.store-page-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 44px;
  margin-bottom: 8px;
  color: var(--charcoal);
}
.store-page-subtitle {
  color: var(--mid);
  margin-bottom: 26px;
  line-height: 1.6;
}

.store-category-products-block {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.store-category-products-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 34px;
  margin: 0 0 6px;
  color: var(--charcoal);
}
.store-category-products-subtitle {
  color: var(--mid);
  margin: 0 0 22px;
  line-height: 1.6;
}
.store-collection-card.active {
  outline: 3px solid var(--primary);
  outline-offset: 4px;
}
.store-collections-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 28px;
  row-gap: 28px;
  overflow: visible;
  padding: 20px 0;
  align-items: stretch;
}
.store-collection-card {
  position: relative;
  min-height: 250px;
  width: 100%;
  border: 0;
  border-radius: 24px;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  background: #eee;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.1);
}

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

  .store-collection-card {
    min-height: 250px;
  }
}

@media (max-width: 560px) {
  .store-collections-grid {
    grid-template-columns: 1fr;
  }
}
.store-collection-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.store-collection-card::after {
  content: none !important;
}
.store-collection-card h3,
.store-collection-card .store-collection-title,
.store-collection-card .collection-title {
  display: inline-block;
  width: fit-content;
  max-width: calc(100% - 28px);
  background: rgba(255, 255, 255, 0.82);
  color: #202020 !important;
  padding: 8px 14px;
  border-radius: 14px;
  font-weight: 800;
  line-height: 1.15;
  text-shadow: none !important;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.store-collection-card-title {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;

  display: inline-flex;
  align-items: center;

  max-width: calc(100% - 36px);

  background: rgba(255, 255, 255, 0.82);
  color: #202020;

  padding: 10px 16px;

  border-radius: 16px;

  font-weight: 800;
  font-size: 22px;
  line-height: 1.15;

  text-shadow: none;

  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}
.store-map-frame {
  width: 100%;
  height: 260px;
  border: 0;
  border-radius: 18px;
  margin-top: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.store-popup-info-list {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}
.store-popup-info-list div {
  color: var(--mid);
  line-height: 1.55;
}
@media (max-width: 700px) {
  .store-page-title {
    font-size: 34px;
  }
  .store-page-shell {
    padding: 30px 16px 70px;
  }
}

.store-section-header {
  max-width: 1200px;
  margin: 38px auto 18px;
  padding: 0 34px;
}

.store-section-header h2 {
  font-size: 32px;
  margin: 0 0 6px;
  color: var(--charcoal);
}

.store-section-header p {
  margin: 0;
  color: var(--mid);
  font-size: 15px;
}

.store-products-title {
  margin-top: 42px;
}

/* ================================
   AJUSTE VISUAL HOME DA LOJA PÚBLICA
   Mantém categorias e produtos na mesma base, sem faixas quebradas
================================ */
#screen-home {
  background: #faf7f2;
}

#screen-home .store-nav {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
}

#storeHeroPublico.hero {
  min-height: 300px;
  padding: 58px 42px;
  border-bottom: 1px solid #eee7df;
}

#storeHeroPublico.has-banner {
  background-position: center;
}

#storeHeroPublico.has-banner #storeHeroOverlay {
  display: none !important;
  background: transparent;
}

#storeHeroPublico h1 {
  font-size: 48px;
}

#storeHeroPublico p {
  margin-bottom: 22px;
}

.store-section-header {
  max-width: 1180px;
  margin: 34px auto 16px;
  padding: 0 22px;
}

.store-section-header h2 {
  font-family: "DM Sans", sans-serif;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin: 0 0 6px;
  color: var(--charcoal);
}

.store-section-header p {
  margin: 0;
  color: var(--mid);
  font-size: 15px;
}

#storeCategoryBar.category-bar {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 22px 28px;
  background: transparent;
  border-bottom: 0;
  display: flex;
  gap: 18px;
  flex-wrap: nowrap;
  overflow-x: auto;
}

#storeCategoryBar .store-cat-card {
  min-width: 370px;
  width: 370px;
  height: 220px;
  border-radius: 22px;
  box-shadow: 0 12px 32px rgba(44, 44, 44, 0.1);
}

#storeCategoryBar .store-cat-card-title {
  left: 18px;
  bottom: 18px;
  font-size: 20px;
  text-transform: none;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.store-products-title {
  margin-top: 8px;
  padding-top: 28px;
  border-top: 1px solid #ede7df;
}

#productGrid.product-grid {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 22px 28px;
  gap: 28px;
}

#productGrid .product-card {
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(44, 44, 44, 0.08);
  border: 1px solid #efe8e0;
}

#productGrid .product-img {
  height: 220px;
}

.store-home-products-actions {
  display: flex;
  justify-content: center;
  padding: 0 22px 24px;
  margin-bottom: 0;
}

@media (max-width: 900px) {
  #storeHeroPublico.hero {
    min-height: 250px;
    padding: 44px 24px;
  }

  #storeHeroPublico h1 {
    font-size: 38px;
  }

  #storeCategoryBar .store-cat-card {
    min-width: 290px;
    width: 290px;
    height: 175px;
  }

  .store-cat-card {
    min-width: 310px;
    width: 310px;
    height: 205px;
  }
}

.store-category-carousel {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.store-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
  cursor: pointer;
  font-size: 0;
  line-height: 0;
  padding: 0;
  display: none;
  align-items: center;
  justify-content: center;
}

.store-carousel-arrow::before {
  display: block;
  font-size: 28px;
  line-height: 1;
  font-weight: 700;
  color: #1f2933;
}

.store-carousel-arrow.left {
  left: 8px;
}

.store-carousel-arrow.left::before {
  content: "‹";
}

.store-carousel-arrow.right {
  right: 8px;
}

.store-carousel-arrow.right::before {
  content: "›";
}

/* Coleções / vitrines da loja */
.store-dynamic-collections {
  width: min(1180px, calc(100% - 32px));
  margin: 34px auto 0;
  display: flex;
  flex-direction: column;
  gap: 34px;
}
.store-showcase-section {
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(47, 93, 80, 0.09);
  border-radius: 30px;
  padding: 24px;
  box-shadow: 0 18px 45px rgba(47, 93, 80, 0.08);
}
.store-showcase-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 18px;
}
.store-showcase-header h2 {
  font-size: 28px;
  margin: 0;
  color: var(--dark);
}
.store-showcase-header p {
  margin: 6px 0 0;
  color: var(--mid);
  font-size: 14px;
  line-height: 1.5;
}
.store-showcase-header .btn {
  white-space: nowrap;
}
.store-showcase-banner {
  min-height: 180px;
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 20px;
  position: relative;
  background: linear-gradient(
    135deg,
    rgba(47, 93, 80, 0.92),
    rgba(233, 172, 165, 0.84)
  );
  display: flex;
  align-items: flex-end !important;
  justify-content: flex-start;
  padding: 26px;
  padding-bottom: 34px !important;
  color: #fff;
}
.store-showcase-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.store-showcase-banner::after {
  display: none;
}
.store-showcase-banner-content {
  margin-left: 6px;
  margin-bottom: 4px;
  position: relative;
  z-index: 2;
  max-width: 720px;
  text-shadow: none !important;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.store-showcase-banner-content strong {
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 1.1 !important;
  letter-spacing: -0.3px;
  color: #1f2937 !important;
}

.store-showcase-banner-content span {
  display: inline-block;
  width: fit-content;
  max-width: min(620px, 100%);

  font-size: 10px !important;
  font-weight: 400 !important;
  line-height: 1.6;

  opacity: 1;
  color: #4b5563 !important;

  background: rgba(255, 255, 255, 0.72);

  padding: 8px 14px;

  border-radius: 14px;

  text-shadow: none !important;

  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.store-showcase-products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 10px;
}
.store-home-products-actions {
  text-align: center;
  margin: 22px 0 0;
}
.admin-help-text {
  color: var(--mid);
  font-size: 13px;
  line-height: 1.5;
  margin: 4px 0 14px;
}
.collection-product-tools {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
}
.collection-product-tools input {
  margin: 0;
}
.collection-product-summary {
  min-width: 132px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 11px 12px;
  font-size: 13px;
  font-weight: 800;
  color: var(--primary);
  background: #fff;
}
.collection-selected-products {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
}
.collection-selected-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  border: 1px solid rgba(47, 93, 80, 0.18);
  background: rgba(47, 93, 80, 0.08);
  color: var(--dark);
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 800;
}
.collection-selected-chip button {
  border: 0;
  background: #fff;
  color: var(--primary);
  width: 20px;
  height: 20px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 900;
  line-height: 1;
}
.collection-product-picker {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
  max-height: 340px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 12px;
  background: #fff;
}
.collection-product-option {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 10px;
  align-items: center;
  font-size: 13px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  cursor: pointer;
  background: #fff;
  transition: 0.18s ease;
}
.collection-product-option:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.07);
}
.collection-product-option.selected {
  border-color: var(--primary);
  background: rgba(207, 132, 104, 0.1);
  box-shadow: 0 8px 20px rgba(207, 132, 104, 0.12);
}
.collection-product-option input {
  display: none;
}

.collection-product-option {
  position: relative;
  width: 100%;
  text-align: left;
  font-family: inherit;
}
.collection-product-check {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--primary);
  border: 1px solid rgba(47, 93, 80, 0.18);
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.collection-product-option.selected .collection-product-check {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.collection-product-thumb {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  object-fit: cover;
  background: var(--soft);
}
.collection-product-info strong {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--dark);
  line-height: 1.25;
}
.collection-product-info small {
  display: block;
  color: var(--mid);
  font-size: 11px;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.collection-product-empty {
  color: var(--mid);
  font-size: 13px;
  padding: 10px;
}
@media (max-width: 720px) {
  .collection-product-tools {
    grid-template-columns: 1fr;
  }
  .collection-product-summary {
    text-align: left;
  }
  .collection-product-picker {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  .store-showcase-section {
    padding: 18px;
    border-radius: 22px;
  }
  .store-showcase-header {
    align-items: flex-start;
    flex-direction: column;
  }
  .store-showcase-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

/* Ajuste final: títulos de banners/coleções em cápsula clara, sem overlay escuro */
.store-showcase-banner,
.store-collection-card {
  isolation: isolate;
}
.store-showcase-banner::after,
.store-collection-card::after {
  content: none !important;
  display: none !important;
}
.store-showcase-banner-content,
.store-showcase-banner-content * {
  text-shadow: none !important;
}
.store-showcase-banner-content strong {
  color: #202020 !important;
  background: rgba(255, 255, 255, 0.84) !important;
  border-radius: 16px !important;
  padding: 10px 16px !important;
}
.store-showcase-banner-content span {
  color: #202020 !important;
  background: rgba(255, 255, 255, 0.74) !important;
  border-radius: 14px !important;
  padding: 8px 14px !important;
}
.store-collection-card-title {
  background: rgba(255, 255, 255, 0.84) !important;
  color: #202020 !important;
  text-shadow: none !important;
  padding: 10px 16px !important;
  border-radius: 16px !important;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

/* =========================================================
   AJUSTE FINAL - CÁPSULAS DINÂMICAS PELA COR DA LOJA
   Aplica em categorias da home, categorias da página e banners/coleções
   ========================================================= */
.store-cat-card::after,
.store-collection-card::after,
.store-showcase-banner::after {
  content: none !important;
  display: none !important;
}

.store-cat-card-title,
#storeCategoryBar .store-cat-card-title,
.store-collection-card-title,
.store-showcase-banner-content strong,
.store-showcase-banner-content span {
  display: inline-flex !important;
  align-items: center !important;
  width: fit-content !important;
  max-width: calc(100% - 32px) !important;

  background: color-mix(
    in srgb,
    var(--store-primary, #4e7153) 22%,
    white 78%
  ) !important;
  color: #1f2933 !important;
  border: 1px solid
    color-mix(in srgb, var(--store-primary, #4e7153) 22%, white 78%) !important;

  padding: 9px 15px !important;
  border-radius: 16px !important;

  font-weight: 800 !important;
  line-height: 1.15 !important;
  text-shadow: none !important;

  backdrop-filter: blur(7px) !important;
  -webkit-backdrop-filter: blur(7px) !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.1) !important;
}

.store-cat-card-title,
#storeCategoryBar .store-cat-card-title,
.store-collection-card-title {
  position: absolute !important;
  left: 18px !important;
  bottom: 18px !important;
  z-index: 3 !important;
  font-size: 20px !important;
  text-transform: none !important;
}

.store-showcase-banner-content {
  text-shadow: none !important;
}

.store-showcase-banner-content strong {
  font-size: 30px !important;
  margin-top: 6px !important;
}

.store-showcase-banner-content span {
  font-size: 15px !important;
  font-weight: 600 !important;
  opacity: 1 !important;
  max-width: min(640px, 100%) !important;
}

.store-cat-card.active .store-cat-card-title,
.store-collection-card.active .store-collection-card-title {
  background: var(--store-primary, #4e7153) !important;
  border-color: var(--store-primary, #4e7153) !important;
  color: #fff !important;
}

@supports not (background: color-mix(in srgb, red 20%, white 80%)) {
  .store-cat-card-title,
  #storeCategoryBar .store-cat-card-title,
  .store-collection-card-title,
  .store-showcase-banner-content strong,
  .store-showcase-banner-content span {
    background: rgba(255, 255, 255, 0.86) !important;
  }
}

/* Ajuste Conta - Identidade visual mais organizada */
.identity-visual-grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.identity-visual-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.identity-logo-group,
.identity-color-group,
.identity-banner-group {
  min-width: 0;
  margin: 0;
}

.identity-logo-box,
.identity-banner-box,
.identity-color-box {
  border: 1px solid #e7ddd2;
  background: #fff;
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 8px 24px rgba(31, 36, 34, 0.04);
}

.identity-logo-box input,
.identity-banner-box input {
  width: 100%;
}

.identity-logo-box .account-media-preview.logo-preview {
  width: 104px;
  height: 104px;
  min-height: 104px;
  border-radius: 20px;
  margin-top: 12px !important;
}

.identity-banner-box .account-media-preview.banner-preview {
  width: 100%;
  height: 160px;
  min-height: 160px;
  border-radius: 18px;
  margin-top: 12px !important;
  padding: 8px;
}

.identity-logo-box small,
.identity-banner-box small {
  font-size: 12px;
  line-height: 1.35;
}

.compact-color-picker {
  padding: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
}

.compact-color-picker .color-picker-current {
  gap: 10px;
  margin-bottom: 12px;
}

.compact-color-picker .color-preview-dot {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  flex: 0 0 auto;
}

.compact-color-picker .color-picker-current strong {
  font-size: 14px;
  line-height: 1.2;
}

.compact-color-picker .color-picker-current span {
  font-size: 12px;
}

.compact-color-picker .color-palette {
  gap: 8px;
  margin-bottom: 12px;
}

.compact-color-picker .color-swatch {
  width: 30px;
  height: 30px;
}

.compact-color-picker .color-input-row {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 10px;
  align-items: center;
}

.compact-color-picker .color-input-row input[type="text"] {
  min-width: 0;
}

@media (max-width: 900px) {
  .identity-visual-grid {
    grid-template-columns: 1fr;
  }
}

/* Evita piscar institucional/tema padrão enquanto decide se é loja, admin ou institucional */
body.app-inicializando .screen,
body.loja-publica-carregando .screen {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Boot loader seguro: aparece somente enquanto o sistema decide se abre institucional, loja pública ou admin. */
#appBootOverlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  color: var(--sage-dark);
  font-family: "DM Sans", sans-serif;
}

body.app-inicializando #appBootOverlay,
body.loja-publica-carregando #appBootOverlay {
  display: flex;
}

.boot-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 22px 26px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 50px rgba(78, 113, 83, 0.14);
  border: 1px solid rgba(78, 113, 83, 0.1);
}

.boot-brand {
  font-family: "Cormorant Garamond", serif;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.boot-brand span {
  color: var(--rose);
}

.boot-brand img {
  max-height: 64px;
  max-width: 210px;
  object-fit: contain;
  border-radius: 12px;
  display: block;
}

.boot-text {
  font-size: 13px;
  opacity: 0.9;
  color: var(--primary, var(--sage-dark));
  font-weight: 600;
}

.boot-dot {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 3px solid rgba(78, 113, 83, 0.18);
  border-top-color: var(--sage-dark);
  animation: bootSpin 0.8s linear infinite;
}

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

.toggle-password {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  width: 28px;
  height: 28px;
  border-radius: 999px;
}

.toggle-password:hover {
  color: #4e7153;
  background: rgba(78, 113, 83, 0.08);
}

.toggle-password svg {
  pointer-events: none;
}

/* Footer institucional FioreHub */
.fh-institutional-footer {
  padding: 42px 24px;
  background: #2f3f34;
  color: #fff;
  text-align: center;
}

.fh-institutional-footer .logo {
  justify-content: center;
  color: #fff;
  margin-bottom: 10px;
}

.fh-institutional-footer .logo span {
  color: #dce8d8;
}

.fh-institutional-footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.fh-institutional-footer-links {
  margin-top: 22px;
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.fh-institutional-footer-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.08);
}

.fh-institutional-footer-links a:hover {
  background: rgba(255, 255, 255, 0.15);
}

.fh-institutional-footer-copy {
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
}

/* Ícones sociais FioreHub */
.fh-social-icons,
.store-social-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.fh-social-icon,
.store-social-icon {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.1);
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease;
}

.fh-social-icon:hover,
.store-social-icon:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.42);
}

.fh-social-icon {
  width: 52px;
  height: 52px;
}

.fh-social-icon svg {
  width: 26px;
  height: 26px;
}

.kpi-card.green {
  border-top: 4px solid #34a853;
}

.kpi-card.purple {
  border-top: 4px solid #b59af2;
}

.footer-email {
  text-align: center;
  color: #fff;
  font-weight: 600;
  margin-top: 12px;
}

.pagination-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 15px;
  padding-bottom: 15px;
}

.pagination-info {
  font-size: 14px;
  font-weight: 600;
  color: var(--mid);
}

.checkout-item-name {
  font-size: 13px;
  line-height: 1.2;
  display: block;
}

.page-header-with-filter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.fiorehub-logo-header {
  height: 64px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  display: block;
  opacity: 1;
}

.fiorehub-logo-footer {
  height: 120px;
  width: auto;
  max-width: 520px;
  object-fit: contain;
  display: block;
  margin: 0 auto 12px;
  opacity: 1;
}

.fiorehub-login-brand {
  width: 240px;
  height: 82px;
  margin: 12px auto 10px auto;

  background-image: url("/assets/logo/fiorehub-logo-white.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

@media (max-width: 768px) {
  .fiorehub-logo-footer {
    height: 55px;
    max-width: 180px;
    margin: 0 auto 8px;
  }
}

.boot-brand-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.boot-brand-icon {
  width: 42px;
  height: 42px;
  object-fit: contain;
}
.admin-brand-icon-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
}

.boot-brand-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.boot-brand-icon {
  width: 34px;
  height: 34px;
  object-fit: contain;
  display: block;
}

.store-watermark-logo {
  width: 180px;
  opacity: 0.08;
  object-fit: contain;
}

.dashboard-filtros {
  background: #faf9f5;
  border: 1px solid #e8e0d5;
  border-radius: 18px;
  padding: 12px 16px 18px;
  margin: 0 0 22px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.dashboard-filtros-topo span {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: var(
    --store-primary,
    var(--corPrimaria, var(--primary-color, #4e7153))
  ) !important;
  margin-bottom: 6px;
}

.dashboard-filtros-linha {
  margin-top: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.dashboard-filtros-topo {
  margin-bottom: 14px;
}

.kpi-grid {
  margin-top: 8px;
}

.dashboard-filtros select,
.dashboard-filtros input {
  height: 44px;
  border: 1px solid #ddd2c5;
  border-radius: 14px;
  padding: 0 14px;
  font-size: 14px;
  background: #fff;
  color: #2c2c2c;
  outline: none;
}

.date-dashboard-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.date-dashboard-wrapper input {
  padding-right: 42px !important;
}

.date-dashboard-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.date-dashboard-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--store-primary, #4e7153);
  stroke-width: 2;
  fill: none;
}

.dashboard-filtros select:focus,
.dashboard-filtros input:focus {
  border-color: var(--cor-primaria-loja, #4e7153);
  box-shadow: 0 0 0 3px rgba(78, 113, 83, 0.12);
}

#dashboardPeriodoPersonalizado {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

#dashboardPeriodoPersonalizado button {
  height: 44px;
  border-radius: 14px;
}

.date-dashboard-wrapper {
  position: relative;
}

.date-dashboard-wrapper input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0 !important;
  cursor: pointer;
}
/* Campo date com erro */
.field-invalid[type="date"] {
  padding-right: 44px !important;
  height: 44px;
}
/* Ajuste final calendário checkout */
.checkout-form input[type="date"]::-webkit-calendar-picker-indicator,
#screen-checkout input[type="date"]::-webkit-calendar-picker-indicator {
  margin-top: -6px !important;
}

/* Toast sucesso FioreHub */
#toastContainer {
  position: fixed;

  top: calc(env(safe-area-inset-top, 0px) + 14px);

  right: 24px;

  z-index: 999999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

.success-toast {
  min-width: 320px;
  max-width: 420px;
  background: #fff;
  border-left: 5px solid #22a06b;
  color: #1f2a24;
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14);
  display: flex;
  align-items: flex-start;
  gap: 14px;
  opacity: 0;
  transform: translateY(-10px);
  transition: 0.25s ease;
  pointer-events: auto;
}

.success-toast.show {
  opacity: 1;
  transform: translateY(0);
}

.success-toast-icon {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #22a06b;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
}

.success-toast-content {
  flex: 1;
}

.success-toast-title {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 4px;
}

.success-toast-message {
  font-size: 14px;
  line-height: 1.45;
}

.success-toast-close {
  border: none;
  background: none;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  color: #425047;
  padding: 0;
}

.success-toast-close:hover {
  color: #1f2a24;
}

@media (max-width: 600px) {
  #toastContainer {
    top: calc(env(safe-area-inset-top, 0px) + 12px);
    right: 16px;
    left: 16px;
  }

  .success-toast {
    min-width: 0;
    max-width: none;
    width: 100%;
  }
}

/* =========================================================
   FioreHub - Cadastro: forma de pagamento + bloqueio comercial
   ========================================================= */
.cadastro-payment-box {
  background: rgba(78, 113, 83, 0.045);
  border: 1px solid rgba(78, 113, 83, 0.16);
  border-radius: 16px;
  padding: 18px;
  font-family: Arial, sans-serif;
}

.cadastro-payment-box > label {
  display: block;
  margin-bottom: 14px;
  color: #173f2a;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.cadastro-payment-options {
  display: flex;
  flex-direction: column;
}

.cadastro-payment-row {
  display: grid !important;
  grid-template-columns: 22px 1fr !important;
  gap: 14px !important;
  align-items: center !important;
  padding: 13px 0;
  cursor: pointer;
}

.cadastro-payment-row:not(:last-child) {
  border-bottom: 1px solid rgba(78, 113, 83, 0.12);
}

.cadastro-payment-row input[type="radio"] {
  display: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

.payment-radio {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  min-height: 16px !important;
  border: 1.5px solid rgba(78, 113, 83, 0.65);
  border-radius: 50%;
  background: #fff;
  position: relative;
  box-sizing: border-box;
  display: block;
}

.cadastro-payment-row input[type="radio"]:checked + .payment-radio::after {
  content: "";
  width: 7px;
  height: 7px;
  background: #4e7153;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.payment-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.payment-text strong {
  color: #173f2a;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.payment-text small {
  margin-top: 4px;
  color: #6f756d;
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

body.sistema-bloqueado-pagamento #screen-admin .admin-main {
  filter: blur(3px);
  opacity: 0.45;
  pointer-events: none;
  user-select: none;
}

/* Pagamento pendente: apenas Conta e Sair ficam realmente clicáveis. */
body.sistema-bloqueado-pagamento
  #screen-admin
  .admin-sidebar
  .admin-nav-item.bloqueado-pagamento {
  opacity: 0.42 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
}

body.sistema-bloqueado-pagamento
  #screen-admin
  .admin-sidebar
  .admin-nav-item.bloqueado-pagamento
  * {
  cursor: not-allowed !important;
  pointer-events: none !important;
}

body.sistema-bloqueado-pagamento
  #screen-admin
  .admin-sidebar
  .admin-nav-item:not(.bloqueado-pagamento),
body.sistema-bloqueado-pagamento
  #screen-admin
  .admin-sidebar
  .admin-nav-item:not(.bloqueado-pagamento)
  * {
  opacity: 1 !important;
  cursor: pointer !important;
  pointer-events: auto !important;
}

body.sistema-bloqueado-pagamento
  #screen-admin
  .admin-sidebar
  .admin-nav-item[data-tooltip="Sair"],
body.sistema-bloqueado-pagamento
  #screen-admin
  .admin-sidebar
  .admin-nav-item[data-tooltip="Sair"]
  *,
body.sistema-bloqueado-pagamento
  #screen-admin
  .admin-sidebar
  .admin-nav-item[onclick="sairAdmin()"],
body.sistema-bloqueado-pagamento
  #screen-admin
  .admin-sidebar
  .admin-nav-item[onclick="sairAdmin()"]
  * {
  opacity: 1 !important;
  cursor: pointer !important;
  pointer-events: auto !important;
}

body.sistema-bloqueado-pagamento .modal-overlay,
body.sistema-bloqueado-pagamento .modal,
body.sistema-bloqueado-pagamento .app-dialog-overlay,
body.sistema-bloqueado-pagamento .app-dialog,
body.sistema-bloqueado-pagamento #toastContainer,
body.sistema-bloqueado-pagamento .success-toast {
  filter: none !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

body.sistema-bloqueado-pagamento .app-dialog-overlay,
body.sistema-bloqueado-pagamento .modal-overlay {
  z-index: 999999 !important;
}

.bloqueado-pagamento {
  opacity: 0.42 !important;
  cursor: not-allowed !important;
}

.bloqueado-pagamento * {
  cursor: not-allowed !important;
}

.modal-bloqueio-pagamento-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.38);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-bloqueio-pagamento-card {
  width: min(440px, calc(100% - 32px));
  background: #fff;
  border-radius: 16px;
  padding: 30px 34px 26px;
  text-align: center;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.modal-bloqueio-pagamento-card h2 {
  margin: 0 0 14px;
  font-size: 26px;
  color: #2f2f2f;
}

.modal-bloqueio-pagamento-card p {
  margin: 0;
  color: #5f5f5f;
  font-size: 15px;
  line-height: 1.6;
}

.modal-bloqueio-pagamento-card button {
  margin-top: 24px;
  min-width: 120px;
  height: 40px;
  border-radius: 10px;
  border: none;
  background: #4e7153;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

/* =========================================================
   ADMIN INSTITUCIONAL - layout no mesmo estilo do admin da loja
   ========================================================= */

#screen-admin-institucional.active {
  position: fixed;
  inset: 0;
  display: block;
  overflow: hidden;
}

.institucional-layout {
  position: absolute;
  inset: 0;
  display: flex;
  background: #f6f2ed;
  overflow: hidden;
}

.institucional-main {
  position: absolute;
  top: 0;
  left: 64px;
  right: 0;
  bottom: 0;
  overflow-y: auto;
  overflow-x: hidden;
  background: #f6f2ed;
  padding: 36px;
  min-width: 0;
}

.institucional-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}

.institucional-kicker {
  display: inline-block;
  margin-bottom: 8px;
  color: #7b7b7b;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.institucional-header h1 {
  font-size: 38px;
  color: #202020;
  margin-bottom: 10px;
  font-weight: 800;
  letter-spacing: -0.7px;
}

.institucional-header p {
  color: #6b6b6b;
  max-width: 760px;
  line-height: 1.6;
}

.institucional-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}

.institucional-kpi-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 18px 22px;

  min-height: 72px;

  border-top: 4px solid #4e7153;

  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);

  display: flex;
  flex-direction: column;
  justify-content: center;
}

.institucional-kpi-card.success {
  border-color: #4caf50;
}
.institucional-kpi-card.warning {
  border-color: #ff9800;
}
.institucional-kpi-card.danger {
  border-color: #e53935;
}

.institucional-kpi-card span {
  display: block;
  color: #7a7a7a;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 500;
}

.institucional-kpi-card strong {
  font-size: 24px;
  color: #2b2b2b;
  line-height: 1;
}

.institucional-card {
  background: #fff;
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  border: 1px solid #efe8e0;
  margin-bottom: 28px;
}

.institucional-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 24px;
}

.institucional-card-header h2 {
  font-size: 26px;
  color: #202020;
  margin-bottom: 6px;
  font-weight: 800;
}

.institucional-card-header p {
  color: #7a7a7a;
}

#institucionalLojasLista {
  overflow: auto;
}

#institucionalLojasLista table {
  width: 100%;
  border-collapse: collapse;
  min-width: 1000px;
}

#institucionalLojasLista th {
  text-align: left;
  padding: 16px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #7a7a7a;
  border-bottom: 1px solid #ececec;
  background: #faf9f7;
}

#institucionalLojasLista td {
  padding: 18px 16px;
  border-bottom: 1px solid #f1f1f1;
  color: #202020;
  vertical-align: top;
}

#institucionalLojasLista tr:hover {
  background: #faf8f5;
}

#institucionalLojasLista td small {
  color: #888;
}

@media (max-width: 1100px) {
  .institucional-kpis {
    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(170px, 190px));

    gap: 14px;

    margin-bottom: 24px;
  }
}

@media (max-width: 720px) {
  .institucional-main {
    padding: 22px;
  }

  .institucional-header h1 {
    font-size: 30px;
  }

  .institucional-kpis {
    grid-template-columns: 1fr;
  }

  .institucional-card-header {
    flex-direction: column;
  }
}

.inst-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 250px;
}

.inst-action-select {
  height: 36px;
  border: 1px solid #d8cfc4;
  border-radius: 10px;
  background: #fff;
  color: #2c2c2c;
  padding: 0 10px;
  font-size: 13px;
}

.inst-filter-card {
  background: #fff;
  border: 1px solid #e8ded2;
  border-radius: 22px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 22px 0 24px;
  box-shadow: 0 10px 28px rgba(44, 44, 44, 0.04);
}

.inst-filter-card span {
  display: block;
  color: #8b7368;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.inst-filter-card strong {
  color: #2c2c2c;
  font-size: 16px;
}

.inst-filtros {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.inst-filtros input,
.inst-filtros select {
  height: 42px;
  border: 1px solid #ddd3c7;
  border-radius: 14px;
  background: #faf9f7;
  padding: 0 14px;
  font-size: 13px;
  outline: none;
}

.inst-filtros input {
  min-width: 280px;
}

.inst-filtros input:focus,
.inst-filtros select:focus {
  border-color: #4e7153;
  box-shadow: 0 0 0 3px rgba(78, 113, 83, 0.12);
}

.institucional-kpi-card.neutral {
  border-color: #7b7b7b;
}

.institucional-kpi-card.plan {
  border-color: #8b6f5e;
}

.institucional-kpi-card.plan-pro {
  border-color: #2f5d50;
}

@media (max-width: 900px) {
  .inst-filter-card {
    flex-direction: column;
    align-items: stretch;
  }

  .inst-filtros input,
  .inst-filtros select {
    width: 100%;
  }
}

/* Ajuste definitivo KPIs institucionais compactos */
#screen-admin-institucional .institucional-kpis {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  margin-bottom: 22px !important;
}

#screen-admin-institucional .institucional-kpi-card {
  width: 150px !important;
  min-width: 150px !important;
  max-width: 150px !important;
  min-height: 70px !important;
  padding: 10px 14px !important;
  border-radius: 16px !important;
}
#screen-admin-institucional .institucional-kpi-card span {
  font-size: 12px !important;
  margin-bottom: 8px !important;
}

#screen-admin-institucional .institucional-kpi-card strong {
  font-size: 24px !important;
}

.institucional-table-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.institucional-table-info p {
  margin: 0;
}

#instResultadoFiltros {
  font-size: 13px;
  color: #7b6e65;
  font-weight: 600;
  background: #f6f3ef;
  border: 1px solid #e7ddd2;
  padding: 8px 12px;
  border-radius: 999px;
}

.inst-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 0 0;
}

#instPaginacaoInfo {
  color: #7b6e65;
  font-size: 13px;
  font-weight: 700;
}

.whatsapp-consumo-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 22px;
}

.whatsapp-consumo-table thead th {
  text-align: left;
  font-size: 13px;
  color: #7b6e65;
  font-weight: 700;
  padding: 14px 16px;
  border-bottom: 1px solid #ece7e1;
}

.whatsapp-consumo-table tbody td {
  padding: 18px 16px;
  border-bottom: 1px solid #f3eee8;
  font-size: 15px;
  vertical-align: middle;
}

.whatsapp-consumo-loja {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.whatsapp-consumo-loja strong {
  font-size: 15px;
  color: #2b2b2b;
}

.whatsapp-consumo-plano {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.whatsapp-consumo-plano.basico {
  background: #f3eee8;
  color: #7b6e65;
}

.whatsapp-consumo-plano.profissional {
  background: #eee8ff;
  color: #6941c6;
}

.whatsapp-consumo-barra {
  width: 120px;
  height: 10px;
  background: #efeae4;
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.whatsapp-consumo-barra-fill {
  height: 100%;
  border-radius: 999px;
}

.whatsapp-consumo-barra-fill.success {
  background: #4caf50;
}

.whatsapp-consumo-barra-fill.warning {
  background: #ff9800;
}

.whatsapp-consumo-barra-fill.danger {
  background: #e53935;
}

.whatsapp-consumo-percentual {
  display: flex;
  align-items: center;
  gap: 10px;
}

.whatsapp-consumo-excedente {
  font-weight: 700;
  color: #e53935;
}

.pedido-tipo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.pedido-tipo-badge.entrega,
.pedido-tipo-badge.retirada {
  background: color-mix(in srgb, var(--primary) 12%, white) !important;
  color: var(--primary) !important;
  border: 1px solid color-mix(in srgb, var(--primary) 22%, white) !important;
}

#admin-pedidos .pedidos-filtros-section {
  background: #faf9f5 !important;
  border: 1px solid #e8e0d5 !important;
  border-radius: 18px !important;
  padding: 12px 16px 18px !important;
  margin: 0 0 22px !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04) !important;
}

#admin-pedidos .pedidos-filtros-title {
  display: block !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  color: var(
    --store-primary,
    var(--corPrimaria, var(--primary-color, #4e7153))
  ) !important;
  margin-bottom: 14px !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

#admin-pedidos .pedidos-filtros-grid {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
}

#admin-pedidos .pedidos-filtros-grid .form-group {
  margin: 0 !important;
  width: 220px !important;
}

#admin-pedidos .pedidos-filtros-grid label {
  display: block !important;
  margin-bottom: 7px !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: #7b6f63 !important;
}

#admin-pedidos .pedidos-filtros-grid select {
  width: 100% !important;
  height: 44px !important;
  border: 1px solid #ddd2c5 !important;
  border-radius: 14px !important;
  padding: 0 14px !important;
  font-size: 14px !important;
  background: #fff !important;
  color: #2c2c2c !important;
  outline: none !important;
}

#admin-pedidos .pedidos-resultado-filtros {
  display: inline-flex;
  align-items: center;
  width: max-content;
  margin-top: 14px;
  background: #f6f3ef;
  border: 1px solid #e7ddd2;
  color: #7b6e65;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

#admin-entregas .entregas-filtros-section {
  background: #faf9f5 !important;
  border: 1px solid #e8e0d5 !important;
  border-radius: 18px !important;
  padding: 12px 16px 18px !important;
  margin: 0 0 22px !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04) !important;
}

#admin-entregas .entregas-filtros-title {
  display: block !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  color: var(
    --store-primary,
    var(--corPrimaria, var(--primary-color, #4e7153))
  ) !important;
  margin-bottom: 14px !important;
}

#admin-entregas .entregas-filtros-grid {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
}

#admin-entregas .entregas-filtros-grid .form-group {
  margin: 0 !important;
  width: 220px !important;
}

#admin-entregas .entregas-filtros-grid label {
  display: block !important;
  margin-bottom: 7px !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: #7b6f63 !important;
}

#admin-entregas .entregas-filtros-grid select {
  width: 100% !important;
  height: 44px !important;
  border: 1px solid #ddd2c5 !important;
  border-radius: 14px !important;
  padding: 0 14px !important;
  font-size: 14px !important;
  background: #fff !important;
}

#admin-entregas .entregas-resultado-filtros {
  display: inline-flex;
  align-items: center;
  width: max-content;
  margin-top: 14px;
  background: #f6f3ef;
  border: 1px solid #e7ddd2;
  color: #7b6e65;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.dashboard-proximas-entregas {
  margin: 22px 0 24px;
}

.dashboard-proximas-entregas h2 {
  font-size: 22px;
  margin-bottom: 16px;
}

.dashboard-entrega-item:last-child {
  border-bottom: none;
}

.dashboard-entrega-item strong {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
}

.dashboard-entrega-item span {
  display: block;
  color: var(--mid);
  font-size: 13px;
  margin-bottom: 4px;
}

.dashboard-entrega-item small {
  display: block;
  color: #7b6f63;
  font-size: 12px;
  font-weight: 700;
}

.dashboard-proximas-entregas {
  margin: 22px 0 24px;
}

.dashboard-proximas-entregas h2 {
  font-size: 22px;
  margin-bottom: 16px;
}

.dashboard-entregas-table {
  min-width: 850px;
}

.produto-detalhe-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 72px);
}

.produto-detalhe-imagem {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1eae2;
  overflow: hidden;
  padding: 24px;
}

.produto-detalhe-imagem img {
  width: 100%;
  height: 100%;
  max-height: 700px;
  object-fit: cover;
  border-radius: 22px;
}

.produto-detalhe-info {
  padding: 54px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.produto-detalhe-categoria {
  color: var(--rose);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.produto-detalhe-titulo {
  font-size: 48px;
  margin-bottom: 18px;
}

.produto-detalhe-desc {
  line-height: 1.8;
  color: var(--mid);
  margin-bottom: 24px;
}

.produto-detalhe-preco {
  font-size: 34px;
  color: var(--sage-dark);
  font-family: "Cormorant Garamond";
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .produto-detalhe-layout {
    grid-template-columns: 1fr;
  }

  .produto-detalhe-imagem {
    min-height: 320px;
    padding: 16px;
  }

  .produto-detalhe-info {
    padding: 24px;
  }

  .produto-detalhe-titulo {
    font-size: 34px;
  }
}

.data-loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(4px);
  z-index: 999999;

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  visibility: hidden;

  transition: 0.25s;
}

.data-loading-overlay.active {
  opacity: 1;
  visibility: visible;
}

.data-loading-box {
  background: #fff;
  border-radius: 20px;
  padding: 26px 34px;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;

  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
}

.data-loading-spinner {
  width: 42px;
  height: 42px;

  border-radius: 50%;
  border: 4px solid #e5e5e5;
  border-top-color: var(--primary);

  animation: fioreLoading 0.8s linear infinite;
}

.data-loading-text {
  font-size: 14px;
  color: var(--primary);
  font-weight: 600;
}

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

.boot-store-logo {
  max-width: 150px;
  max-height: 72px;
  object-fit: contain;
  border-radius: 14px;
  display: block;
}

.inst-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.inst-status-ativo {
  background: #eaf4ec;
  color: #2f6b3d;
}

.inst-status-pendente_pagamento {
  background: #fff8ec;
  color: #9b5100;
}

.inst-status-upgrade_pendente {
  background: #fff3d8;
  color: #9b5100;
  border: 1px solid #f1d08a;
}

.inst-status-pagamento_atrasado,
.inst-status-bloqueado {
  background: #fdeaea;
  color: #a33939;
}

.inst-status-indefinido {
  background: #f1f1f1;
  color: #666;
}

/* =========================================================
   Loading simplificado FioreHub
   ========================================================= */

#appBootOverlay .boot-brand {
  display: none !important;
}

#appBootOverlay .boot-brand-wrap {
  display: none !important;
}

#appBootOverlay .boot-brand img,
#appBootOverlay .boot-brand-icon {
  display: none !important;
}

#appBootOverlay .boot-card {
  padding-top: 24px;
}

#appBootOverlay .boot-text {
  margin-top: 8px;
}

@media (max-width: 700px) {
  .fh-site-nav {
    padding: 0 12px !important;
    gap: 8px;
  }

  .fh-site-nav .logo {
    font-size: 18px !important;
    flex-shrink: 1;
  }

  .fh-site-links {
    gap: 6px !important;
    flex-shrink: 0;
  }

  .fh-site-links .nav-link {
    font-size: 10px !important;
  }

  .fh-site-links .btn-sm {
    padding: 8px 10px !important;
    font-size: 10px !important;
    white-space: nowrap;
  }
}

.color-native-hidden {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
}

.color-free-icon {
  width: 38px;
  height: 10px;
  border-radius: 999px;

  background: linear-gradient(
    90deg,
    #ff0000,
    #ff9900,
    #ffff00,
    #00cc44,
    #0099ff,
    #6633ff,
    #cc00cc,
    #ff0000
  );
}

.color-free-button:hover {
  background: transparent;
  border-color: transparent;
}

.color-picker-inline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 7px 10px;
  border: 1px solid #ded6cc;
  border-radius: 14px;
  background: #fff;
}

.color-picker-inline .color-free-button {
  width: 54px;
  height: 24px;
  min-width: 54px;
  max-width: 54px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  box-shadow: none;
  justify-content: center;
  display: flex;
  align-items: center;

  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.color-picker-inline .color-free-icon {
  width: 38px;
  height: 10px;
  border-radius: 999px;
}

.color-picker-inline #contaCorPrimariaTexto {
  width: 90px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: center;
  font-weight: 800;
  font-size: 14px;
  outline: none;
}

.color-native-hidden {
  position: absolute !important;
  width: 0 !important;
  height: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  overflow: hidden !important;
  border: 0 !important;
  padding: 0 !important;
}

.color-picker-inline .color-free-button .color-free-icon,
.color-input-row .color-free-button .color-free-icon,
.color-free-icon {
  display: block !important;
  width: 42px !important;
  height: 10px !important;
  border-radius: 999px !important;
  background: linear-gradient(
    90deg,
    #ff0000 0%,
    #ff9900 16%,
    #ffff00 32%,
    #00cc44 48%,
    #0099ff 64%,
    #6633ff 80%,
    #cc00cc 92%,
    #ff0000 100%
  ) !important;
}

.color-free-button {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
  cursor: pointer;
}

.importacao-dropzone {
  border: 1.5px dashed #d8cec2;
  border-radius: 18px;
  padding: 34px 22px;
  text-align: center;
  background: #fffaf6;
  cursor: pointer;
  transition: 0.2s ease;
}

.importacao-dropzone:hover {
  border-color: var(--sage);
  background: #faf9f7;
}

.importacao-dropzone-icon {
  font-size: 34px;
  margin-bottom: 10px;
}

.importacao-dropzone strong {
  display: block;
  font-size: 17px;
  color: var(--dark);
  margin-bottom: 6px;
}

.importacao-dropzone span {
  color: var(--mid);
  font-size: 14px;
}

.importacao-modelo-box {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #f7f3ee;
  color: var(--mid);
  font-size: 14px;
}

.importacao-modelo-box strong {
  display: block;
  color: var(--dark);
  margin-bottom: 6px;
}

.importacao-resumo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(160px, 1fr));
  gap: 14px;
}

.importacao-resumo-grid div {
  padding: 16px;
  border-radius: 16px;
  background: #faf9f7;
  border: 1px solid #eee6dc;
}

.importacao-resumo-grid span {
  display: block;
  color: var(--mid);
  font-size: 13px;
  margin-bottom: 6px;
}

.importacao-resumo-grid strong {
  font-size: 28px;
  color: var(--dark);
}

.importacao-erros {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #fff7e6;
  color: #7a4f00;
  font-size: 14px;
}

.importacao-erros p {
  margin: 8px 0 0;
}

.conta-link-publico-box {
  margin: 18px 0 26px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid #e8dfd5;
  background: #faf9f7;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.conta-link-publico-label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 8px;
}

.conta-link-publico-url {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  word-break: break-all;
}

.conta-link-publico-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .store-showcase-banner {
    min-height: 300px !important;
    padding: 0 !important;
    align-items: flex-end !important;
    background-position: center top !important;
  }

  .store-showcase-banner img {
    height: 100% !important;
    object-fit: cover !important;
    object-position: center top !important;
  }

  .store-showcase-banner::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0) 55%,
      rgba(255, 255, 255, 0.96) 72%,
      rgba(255, 255, 255, 1) 100%
    ) !important;
    z-index: 1 !important;
  }

  .store-showcase-banner-content {
    position: absolute !important;
    z-index: 2 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 0 !important;
  }

  .store-showcase-banner-content strong {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 0 !important;
    padding: 6px 12px !important;
    font-size: 22px !important;
    line-height: 1.05 !important;
  }

  .store-showcase-banner-content span {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 0 !important;
    padding: 8px 12px !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    display: block !important;
    -webkit-line-clamp: unset !important;
    overflow: visible !important;
  }
}

@media (max-width: 768px) {
  .store-showcase-section {
    background: #fff !important;
    border: 1px solid #eee3da !important;
    border-radius: 26px !important;
    padding: 18px !important;
    margin-bottom: 28px !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06) !important;
  }

  .store-showcase-header {
    margin: 12px 0 16px !important;
    padding-bottom: 14px !important;
    border-bottom: 1px solid #eee3da !important;
  }

  .store-showcase-header::before {
    content: "Produtos desta coleção";
    display: block;
    font-size: 13px;
    font-weight: 800;
    color: #2c2c2c;
    margin-bottom: 10px;
  }

  .store-showcase-products {
    padding-top: 4px !important;
  }
}

.store-showcase-footer {
  display: flex;
  justify-content: center !important;
  margin-top: 8px;
  padding-top: 6px;
  border-top: 1px solid #eee3da;
}

@media (min-width: 769px) {
  .store-showcase-section {
    padding: 30px !important;
    border-radius: 32px !important;
    background: #fff !important;
  }

  .store-showcase-banner {
    min-height: 260px !important;
    margin-bottom: 28px !important;
    border-radius: 26px !important;
  }

  .store-showcase-products {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
    gap: 24px !important;
    justify-items: start !important;
  }

  .store-showcase-products .product-card {
    width: 100% !important;
    max-width: 310px !important;
  }

  .store-showcase-footer {
    display: flex;
    justify-content: center !important;
    align-items: center !important;

    margin-top: 12px !important;

    padding-top: 12px !important;
    padding-bottom: 10px !important;

    position: relative !important;
  }

  .store-showcase-footer::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 1px !important;
    background: linear-gradient(
      to right,
      transparent 0%,
      rgba(201, 137, 110, 0.18) 12%,
      rgba(201, 137, 110, 0.35) 50%,
      rgba(201, 137, 110, 0.18) 88%,
      transparent 100%
    ) !important;
  }

  .store-showcase-footer .btn {
    min-width: 190px !important;
    height: 48px !important;
    border-radius: 16px !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    background: #fff !important;
    border: 1px solid rgba(201, 137, 110, 0.45) !important;
    box-shadow: 0 8px 20px rgba(201, 137, 110, 0.08) !important;
    margin-top: 14px !important;
  }
}

@media (min-width: 769px) {
  .store-showcase-section {
    background: #fff !important;
    border: 1px solid #eee3da !important;
    border-radius: 32px !important;
    padding: 28px !important;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.06) !important;
  }

  .store-showcase-banner {
    min-height: 390px !important;
    padding: 34px !important;
    align-items: flex-end !important;
    justify-content: flex-start !important;
    margin-bottom: 24px !important;
  }

  .store-showcase-banner img {
    object-position: center !important;
  }

  .store-showcase-banner-content {
    width: 360px !important;
    max-width: 360px !important;
    gap: 0 !important;
    align-items: stretch !important;
  }

  .store-showcase-banner-content strong {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 25px !important;
    line-height: 1.05 !important;
    padding: 24px 30px 8px !important;
    border-radius: 22px 22px 0 0 !important;
  }

  .store-showcase-banner-content span {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
    padding: 8px 30px 24px !important;
    border-radius: 0 0 22px 22px !important;
  }

  .store-showcase-products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 20px !important;
  }

  .store-showcase-products .product-card {
    max-width: none !important;
    width: 100% !important;
    border-radius: 18px !important;
  }

  .store-showcase-footer {
    margin-top: 8px !important;
    padding-top: 6px !important;
    justify-content: center !important;
    padding-bottom: 10px !important;
  }
}

/* Ajuste final - texto da capa da coleção mais leve */
.store-showcase-banner-content strong {
  font-weight: 600 !important;
  letter-spacing: -0.3px !important;
}

.store-showcase-banner-content span {
  font-weight: 400 !important;
  color: #374151 !important;
}

@media (max-width: 768px) {
  .store-showcase-banner-content strong {
    font-size: 20px !important;
    font-weight: 600 !important;
  }

  .store-showcase-banner-content span {
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.45 !important;
  }
}

@media (min-width: 769px) {
  .store-showcase-banner-content strong {
    font-size: 25px !important;
    font-weight: 600 !important;
  }

  .store-showcase-banner-content span {
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.55 !important;
  }
}

@media (max-width: 768px) {
  .store-showcase-footer {
    padding-top: 10px !important;
    padding-bottom: 10 !important;
  }

  .store-showcase-footer .btn {
    margin-top: 10px !important;
  }
}

.horario-duplo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.horario-duplo span {
  font-size: 13px;
  color: var(--mid);
  font-weight: 600;
}

#storeFooterHorario {
  margin-top: 8px;
  color: var(--mid);
  font-size: 14px;
  line-height: 1.45;
}

#storeFooterHorario strong {
  display: block;
  color: var(--charcoal);
  font-size: 14px;
  margin-bottom: 4px;
}

.store-footer-main {
  padding: 28px 38px 24px !important;
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  align-items: center !important;
  gap: 40px !important;
}

.store-footer-info {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  min-height: 92px !important;
}

.store-footer-horario {
  justify-self: end !important;
  min-width: 260px !important;
}

#storeFooterSlogan:empty {
  display: none !important;
}

@media (max-width: 768px) {
  .store-footer-main {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    padding: 24px 20px !important;
  }

  .store-footer-horario {
    justify-self: start !important;
  }
}

.checkout-endereco-grid {
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 16px;
  width: 100%;
}

.checkout-numero-group {
  max-width: 180px;
}

@media (max-width: 768px) {
  .checkout-endereco-grid {
    grid-template-columns: 1fr;
  }

  .checkout-numero-group {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  #productGrid.product-grid {
    padding-bottom: 18px !important;
  }

  .store-home-products-actions {
    padding: 0 18px 18px !important;
    margin: 0 !important;
  }

  .store-footer-main {
    padding-top: 20px !important;
  }
}

html {
  background: #f7f3ec !important;
}

body {
  background: #f7f3ec !important;
  min-height: 100vh;
}

@supports (padding-top: env(safe-area-inset-top)) {
  body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: env(safe-area-inset-top);
    background: #f7f3ec !important;
    z-index: 999998;
    pointer-events: none;
  }
}

html,
body {
  background: #f7f3ec !important;
}

@media (max-width: 768px) {
  #admin-conta .conta-save-footer {
    display: block !important;
    width: 100% !important;
    margin: 24px 0 0 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
  }

  #admin-conta .conta-save-footer .btn,
  #admin-conta #btnSalvarContaFooter {
    display: flex !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 46px !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 10px !important;
    box-shadow: none !important;
    outline: 0 !important;
  }

  #admin-conta {
    overflow-x: hidden;
  }

  #admin-conta .admin-section,
  #admin-conta .card,
  #admin-conta .conta-save-footer {
    max-width: 100% !important;
  }
}

.pagination-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  margin: 22px 0 0;
  padding: 14px 16px;
  background: #fff;
  border-top: 1px solid rgba(120, 90, 70, 0.12);
  border-radius: 0 0 18px 18px;
}

.pagination-container span {
  font-size: 14px;
  font-weight: 700;
  color: #7b5f4d;
}

.pagination-container .btn {
  min-width: 78px;
  height: 34px;
  padding: 0 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
}

.pagination-container button:disabled,
.pagination-actions button:disabled {
  opacity: 0.45 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
}

#produtosPagination {
  margin-top: 28px !important;
}

.store-load-more-wrap {
  display: flex;
  justify-content: center;
  margin: 28px 0 10px;
}

.store-load-more-btn {
  min-width: 210px;
  height: 48px;
  border-radius: 8px;
  font-weight: 700;
}

@media (max-width: 768px) {
  .store-load-more-wrap {
    margin: 22px 0 6px;
    padding: 0 16px;
  }

  .store-load-more-btn {
    width: 100%;
    max-width: 320px;
    height: 44px;
    font-size: 14px;
  }
}

#storeHeroPublico.has-banner .flower,
#storeHeroPublico.has-banner .store-watermark-logo,
#storeHeroPublico[style*="background-image"] .flower,
#storeHeroPublico[style*="background-image"] .store-watermark-logo,
#storeHeroPublico[style*="url("] .flower,
#storeHeroPublico[style*="url("] .store-watermark-logo {
  display: none !important;
}

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

.setup-upgrade-actions .btn {
  height: 34px;
  white-space: nowrap;
}

.pix-qrcode-box {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid #eadfce;
  border-radius: 16px;
  background: #fffaf3;
  text-align: center;
}

.pix-qrcode-title {
  margin: 0 0 12px;
  font-weight: 700;
  color: var(--dark);
}

#pixQrCodeImagem {
  width: 220px;
  max-width: 100%;
  border-radius: 12px;
  background: #fff;
  padding: 8px;
}

#pixCopiaColaTexto {
  width: 100%;
  min-height: 92px;
  margin-top: 12px;
  padding: 10px;
  border: 1px solid #ddd1c2;
  border-radius: 12px;
  resize: none;
  font-size: 12px;
  color: #444;
}

.pix-qrcode-box .btn {
  margin-top: 16px;
}

.btn-voltar-admin-loja {
  height: 38px;
  padding: 0 16px;
  border: none;
  border-radius: 12px;
  background: var(--store-primary, var(--sage-dark)) !important;
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  white-space: nowrap;
}

.btn-voltar-admin-loja:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

@media (max-width: 768px) {
  .btn-voltar-admin-loja {
    height: 34px;
    padding: 0 12px;
    font-size: 12px;
    border-radius: 10px;
  }
}
.btn-voltar-admin-loja:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

@media (max-width: 768px) {
  .btn-voltar-admin-loja {
    height: 34px;
    padding: 0 12px;
    font-size: 12px;
    border-radius: 10px;
  }
}
.admin-filter-input {
  width: 100%;
  max-width: 280px;
  height: 44px;
  padding: 0 14px;
  border: 1px solid #ddd2c5;
  border-radius: 14px;
  font-size: 14px;
  outline: none;
  background: #fff;
}

.admin-filter-input:focus {
  border-color: var(--store-primary, #8a8f5a);
  box-shadow: 0 0 0 3px rgba(138, 143, 90, 0.12);
}

@media (max-width: 768px) {
  .admin-filter-input {
    max-width: 100%;
  }
}
.admin-list-filtros-section {
  background: #faf9f5;
  border: 1px solid #e8e0d5;
  border-radius: 18px;
  padding: 14px 16px 18px;
  margin: 0 0 22px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.admin-list-filtros-title {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: var(
    --store-primary,
    var(--corPrimaria, var(--primary-color, #4e7153))
  );
  margin-bottom: 14px;
}

.admin-list-filtros-grid {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.admin-list-filtros-grid .form-group {
  margin: 0;
  width: 280px;
}

.admin-list-filtros-grid label {
  display: block;
  margin-bottom: 7px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7b6f63;
}

@media (max-width: 768px) {
  .admin-list-filtros-grid .form-group {
    width: 100%;
  }
}
.admin-list-content-section {
  background: #fff;
  border: 1px solid #e8e0d5;
  border-radius: 18px;
  padding: 18px;
  margin: 0 0 22px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}
.importacao-dropzone.drag-over {
  background: #fff8f4;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(201, 137, 110, 0.12);
  transform: translateY(-1px);
}
.collection-bulk-toggle {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: #faf9f7;
  border: 1px solid #ede9e3;
  border-radius: 14px;
  padding: 14px;
  margin: 0 0 16px;
  cursor: pointer;
}

.collection-bulk-toggle input {
  margin-top: 3px;
}

.collection-bulk-toggle strong {
  display: block;
  font-size: 14px;
  color: var(--charcoal);
  margin-bottom: 4px;
}

.collection-bulk-toggle small {
  display: block;
  color: var(--mid);
  font-size: 12px;
  line-height: 1.45;
}
.colecao-meta-admin {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.colecao-meta-admin small {
  color: var(--mid);
  font-size: 13px;
}
.entregas-filtros-grid .admin-filter-input,
.pedidos-filtros-grid .admin-filter-input {
  height: 44px;
  margin-top: 24px;
  align-self: start;
  max-width: 280px;
}
#produtosResultadoFiltros,
#categoriasResultadoFiltros,
#colecoesResultadoFiltros {
  display: inline-flex;
  align-items: center;
  width: max-content;
  margin: 14px 0 0;
  color: #7b6e65;
  font-size: 13px;
  font-weight: 700;
  background: #f6f3ef;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid #e7ded5;
}

.produto-opcoes-bloco {
  margin-top: 24px;
  padding: 18px;
  border: 1px solid #e9ded2;
  border-radius: 16px;
  background: #fcfaf8;
  margin-bottom: 22px;
}

.produto-opcoes-topo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.produto-opcoes-topo h4 {
  margin: 0;
  font-size: 18px;
  color: #3d312c;
}

.produto-opcao-item {
  padding: 16px;
  border: 1px solid #efe5da;
  border-radius: 14px;
  background: #fff;
  margin-bottom: 14px;
  overflow: hidden;
}

.produto-opcao-grid {
  display: grid;
  grid-template-columns: 1fr 160px;
  gap: 14px;
  margin-bottom: 14px;
}
.produto-opcao-campo:has(.variacao-imagem),
.produto-opcao-campo:has(.adicional-imagem) {
  grid-column: 1 / -1;
}

.produto-opcao-status {
  max-width: 220px;
}

.produto-opcao-campo {
  display: flex;
  flex-direction: column;
}

.produto-opcao-campo label {
  font-size: 12px;
  font-weight: 700;
  color: #7b6e65;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.produto-opcao-item input,
.produto-opcao-item select {
  height: 42px;
  border: 1px solid #ddd2c7;
  border-radius: 10px;
  padding: 0 12px;
  font-size: 14px;
  background: #fff;
  width: 100%;
  align-content: center;
}

@media (max-width: 768px) {
  .produto-opcao-grid {
    grid-template-columns: 1fr;
  }
}
.produto-opcoes-publicas {
  margin: 22px 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.produto-opcao-publica-bloco {
  padding: 18px;
  border: 1px solid #e8ddd2;
  border-radius: 18px;
  background: #fcfaf8;
}

.produto-opcao-publica-bloco strong {
  display: block;
  margin-bottom: 12px;
  font-size: 15px;
  color: #2f2723;
}

.produto-opcao-publica-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid #e9ded2;
  border-radius: 14px;
  background: #fff;
  margin-bottom: 10px;
  cursor: pointer;
}

.produto-opcao-publica-item span {
  flex: 1;
}

.produto-opcao-publica-item b {
  white-space: nowrap;
}
.cart-item-modern {
  align-items: flex-start;
  gap: 12px;
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-info strong {
  display: block;
  font-size: 14px;
  line-height: 1.2;
  margin-bottom: 6px;
}

.cart-item-extra {
  font-size: 12px;
  color: #7b6e65;
  line-height: 1.35;
  margin-top: 2px;
}

.cart-item-qtd-text {
  color: var(--mid);
  font-size: 12px;
  margin-top: 6px;
}

.cart-item-price {
  color: var(--sage-dark);
  font-weight: 800;
  margin-top: 8px;
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.checkout-item-extra {
  font-size: 12px;
  color: #7b6e65;
  line-height: 1.35;
  margin-top: 3px;
}
.pedido-item-opcoes {
  margin-top: 5px;
  font-size: 12px;
  color: #7b6e65;
  line-height: 1.4;
}
.produto-variacoes-publicas-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.produto-variacao-card {
  border: 1px solid #e8ddd2;
  border-radius: 14px;
  padding: 14px 12px;
  background: #fff;
  cursor: pointer;
  text-align: center;
  transition: 0.2s ease;
}

.produto-variacao-card input {
  display: none;
}

.produto-variacao-card span {
  display: block;
  font-weight: 800;
  color: #2f2723;
  font-size: 14px;
  margin-bottom: 6px;
}

.produto-variacao-card b {
  display: block;
  color: #7b6e65;
  font-size: 13px;
}

.produto-variacao-card.selecionada {
  border-color: var(--sage-dark);
  box-shadow: 0 0 0 2px rgba(78, 113, 83, 0.12);
  background: #fafdf9;
}

.produto-adicionais-publicos-lista {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.produto-adicional-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #e8ddd2;
  border-radius: 14px;
  padding: 13px 14px;
  background: #fff;
  cursor: pointer;
}

.produto-adicional-card span {
  flex: 1;
  font-weight: 700;
}

.produto-adicional-card b {
  white-space: nowrap;
  color: #7b6e65;
}

.produto-adicional-card {
  display: flex;
  align-items: center;
  gap: 10px;
}

.produto-adicional-thumb {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid #e7ddd2;
  cursor: pointer;
  flex-shrink: 0;
}

.produto-adicional-thumb:hover {
  transform: scale(1.04);
}

@media (max-width: 768px) {
  .produto-variacoes-publicas-grid {
    grid-template-columns: 1fr;
  }
}
.produto-adicional-card.selecionada {
  border-color: var(--sage-dark);
  background: #fafdf9;
  box-shadow: 0 0 0 2px rgba(78, 113, 83, 0.1);
}
.produto-adicional-card small {
  color: var(--mid);
  font-weight: 700;
  white-space: nowrap;
}
.produto-opcao-preview {
  width: 80px;
  height: 60px;
  border: 1px dashed #d8c9bc;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #7b6e65;
  overflow: hidden;
  background: #fff;
  margin-top: 8px;
}

.produto-opcao-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.produto-opcao-imagem-status {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-top: 12px;
  margin-bottom: 22px;
}

.produto-opcao-preview {
  flex-shrink: 0;
}

.produto-opcao-status {
  flex: 1;
  max-width: 240px;
}

.cart-item-extra-com-img {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.cart-adicional-thumb {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid #e7ddd2;
  cursor: pointer;
  flex-shrink: 0;
}
.pedido-item-adicional-com-img {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--mid);
  margin-top: 6px;
}

.pedido-adicional-thumb {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid #e7ddd2;
  cursor: pointer;
  flex-shrink: 0;
}
.checkout-adicional-com-img {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.checkout-adicional-thumb {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid #e7ddd2;
  cursor: pointer;
  flex-shrink: 0;
}

.importacao-modelo-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

@media (max-width: 768px) {
  .importacao-modelo-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .importacao-modelo-actions .btn {
    width: 100%;
  }
}
.importacoes-historico-card {
  margin-top: 22px;
}

.importacao-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 74px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.importacao-status-badge.sucesso {
  background: #e8efea;
  color: #3f6f4a;
}

.importacao-status-badge.erro {
  background: #fcebe8;
  color: #b94a3a;
}
.checkout-char-counter {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--mid);
  text-align: right;
  font-weight: 700;
}

.checkout-char-counter.limite {
  color: #b42318;
}
#inst-section-whatsapp {
  display: none;
}

.inst-section.active {
  display: block;
}
#institucionalKpisMeta {
  display: none;
}

.institucional-hidden {
  display: none !important;
}
/* Controle das abas do admin institucional */
#screen-admin-institucional.modo-whatsapp #institucionalKpisLojas,
#screen-admin-institucional.modo-whatsapp #institucionalFiltrosLojas,
#screen-admin-institucional.modo-whatsapp #inst-section-lojas {
  display: none !important;
}

#screen-admin-institucional.modo-whatsapp #institucionalKpisMeta {
  display: flex !important;
}

#screen-admin-institucional.modo-whatsapp #inst-section-whatsapp {
  display: block !important;
}

#screen-admin-institucional:not(.modo-whatsapp) #institucionalKpisMeta,
#screen-admin-institucional:not(.modo-whatsapp) #inst-section-whatsapp {
  display: none !important;
}

#screen-admin-institucional:not(.modo-whatsapp) #institucionalKpisLojas {
  display: flex !important;
}

#screen-admin-institucional:not(.modo-whatsapp) #institucionalFiltrosLojas,
#screen-admin-institucional:not(.modo-whatsapp) #inst-section-lojas {
  display: block !important;
}
.fh-plan-note {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.5;
  color: #8a8178;
}
.fh-legal-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  margin-bottom: 22px;
  font-size: 13px;
  line-height: 1.5;
  color: #6b6b6b;
}

.fh-legal-check input {
  margin-top: 3px;
  accent-color: #556b2f;
}

.fh-legal-check a {
  color: #556b2f;
  text-decoration: none;
  font-weight: 600;
}

.fh-legal-check a:hover {
  text-decoration: underline;
}
.footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-top: 22px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-legal-links a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: opacity 0.2s ease;
}

.footer-legal-links a:hover {
  opacity: 0.75;
}
.inst-backup-btn {
  border: none;
  background: #4e7153;
  color: #fff;
  border-radius: 14px;
  padding: 14px 20px;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(78, 113, 83, 0.22);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: 0.2s ease;
  margin-top: 22px;
}

.inst-backup-btn:hover {
  transform: translateY(-1px);
  background: #3f6046;
}

.inst-backup-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}
.inst-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.inst-notification-wrap {
  position: relative;
}

.inst-notification-btn {
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  font-size: 22px;
  position: relative;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  margin-top: 15px;
}

.inst-notification-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: #d63f3f;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.inst-notification-dropdown {
  display: none;
  position: absolute;
  left: 0;
  top: 58px;
  width: min(420px, calc(100vw - 150px));
  max-height: 500px;
  overflow-y: auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  z-index: 9999;
}

.inst-notification-dropdown.open {
  display: block;
}

.inst-notification-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid #eee;
}

.inst-notification-head button {
  border: none;
  background: none;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.inst-notification-list {
  padding: 10px;
}

.inst-notification-item {
  padding: 12px;
  border-radius: 12px;
  margin-bottom: 10px;
  background: #f8f8f8;
  cursor: pointer;
}

.inst-notification-item.nao-lida {
  border-left: 4px solid #4e7153;
}

.inst-notification-item h4 {
  margin: 0 0 6px 0;
  font-size: 14px;
}

.inst-notification-item p {
  margin: 0;
  font-size: 13px;
  color: #666;
}

.inst-notification-date {
  margin-top: 6px;
  font-size: 11px;
  color: #999;
}
