/* Portal — Lucas Rocha Lins */

.portal-body {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  background: #faf8f5;
  color: #1c1418;
  min-height: 100vh;
  overflow-x: hidden;
}

.portal-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.portal-topbar {
  background: #fff;
  border-bottom: 1px solid rgba(28, 20, 24, 0.08);
  box-shadow: 0 2px 12px rgba(28, 20, 24, 0.04);
  padding: 0 24px;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.portal-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.portal-brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.portal-brand span {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.portal-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.portal-nav a,
.portal-nav button {
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(28, 20, 24, 0.58);
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 12px;
  transition: color 0.25s;
}

.portal-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(28, 20, 24, 0.1);
  border-radius: 8px;
  background: #faf8f5;
  flex-shrink: 0;
}

.portal-nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #1c1418;
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.portal-nav-open .portal-nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.portal-nav-open .portal-nav-toggle span:nth-child(2) {
  opacity: 0;
}

.portal-nav-open .portal-nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.portal-nav-menu {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.portal-nav a:hover,
.portal-nav button:hover {
  color: #9a7340;
}

.portal-main {
  flex: 1;
  padding: 32px 24px 48px;
}

.portal-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.portal-auth-wrap {
  flex: 1;
  min-height: calc(100vh - 72px);
  min-height: calc(100dvh - 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
  width: 100%;
  box-sizing: border-box;
}

.portal-auth-wrap .portal-card {
  max-width: min(440px, 100%);
  margin: 0 auto;
}

.portal-auth-wrap .portal-card.portal-card-wide {
  max-width: min(680px, 100%);
}

.portal-card {
  background: #fff;
  border: 1px solid rgba(28, 20, 24, 0.08);
  border-radius: 4px;
  box-shadow: 0 8px 32px rgba(28, 20, 24, 0.07);
  padding: 36px 32px;
  width: 100%;
  max-width: 440px;
}

.portal-card-wide {
  max-width: min(680px, 100%);
}

.portal-card h1,
.portal-page-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin-bottom: 8px;
}

.portal-subtitle {
  color: rgba(28, 20, 24, 0.58);
  margin-bottom: 28px;
  font-size: 0.95rem;
}

.portal-form .form-group {
  margin-bottom: 18px;
}

.portal-form label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(28, 20, 24, 0.58);
  margin-bottom: 8px;
}

.portal-form input,
.portal-form select,
.portal-form textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border: 1px solid rgba(28, 20, 24, 0.12);
  background: #faf8f5;
  color: #1c1418;
  font-family: inherit;
  font-size: 0.95rem;
  border-radius: 2px;
  transition: border-color 0.25s;
}

.portal-form input:focus,
.portal-form select:focus,
.portal-form textarea:focus {
  outline: none;
  border-color: rgba(154, 115, 64, 0.45);
  background: #fff;
}

/* Checkbox em linha — não herda width:100% / uppercase do .portal-form label */
.portal-checkbox-row,
.portal-form label.portal-checkbox-row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  text-transform: none;
  letter-spacing: normal;
  font-size: 0.92rem;
  color: #1c1418;
  cursor: pointer;
  max-width: 640px;
  line-height: 1.45;
}

.portal-form label.portal-checkbox-row input[type="checkbox"],
.portal-checkbox-row input[type="checkbox"] {
  width: 18px;
  min-width: 18px;
  max-width: 18px;
  height: 18px;
  margin: 3px 0 0;
  padding: 0;
  flex-shrink: 0;
  accent-color: #9a7340;
  background: transparent;
  border: none;
}

.portal-checkbox-row span,
.portal-form label.portal-checkbox-row span {
  text-transform: none;
  letter-spacing: normal;
  font-size: 0.92rem;
  color: #1c1418;
  line-height: 1.45;
}

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

.portal-cpf-block {
  padding: 14px 16px;
  background: rgba(154, 115, 64, 0.06);
  border: 1px solid rgba(154, 115, 64, 0.18);
  border-radius: 8px;
}

.portal-field-hint {
  margin: 8px 0 0;
  font-size: 0.82rem;
  color: rgba(28, 20, 24, 0.55);
  line-height: 1.45;
}

.portal-register-form .form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.portal-register-form .form-row .form-group,
.portal-register-form .portal-cpf-block {
  margin-bottom: 0;
  min-width: 0;
}

.portal-register-form > .form-group:not(.portal-cpf-block) {
  margin-bottom: 18px;
}

.portal-register-form .portal-cpf-block {
  margin-bottom: 18px;
}

.portal-register-form .form-row-cep {
  grid-template-columns: minmax(0, 1.35fr) minmax(88px, 0.65fr);
}

.portal-register-form .form-row-city {
  grid-template-columns: minmax(0, 1fr) minmax(72px, 96px);
}

.portal-register-form .form-group-uf input {
  text-align: center;
  text-transform: uppercase;
}

.portal-form-section-title {
  margin: 8px 0 16px;
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(28, 20, 24, 0.58);
}

.portal-form-section-title span {
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.82rem;
  display: block;
  margin-top: 4px;
  line-height: 1.4;
}

.portal-btn-full {
  width: 100%;
  margin-top: 8px;
}

@media (max-width: 767.98px) {
  .portal-form .form-row,
  .portal-register-form .form-row,
  .portal-register-form .form-row-cep,
  .portal-register-form .form-row-city {
    grid-template-columns: 1fr;
  }

  .portal-register-form .form-group-uf input {
    text-align: left;
  }
}

@media (max-width: 575.98px) {
  .portal-form .form-row { grid-template-columns: 1fr; }
}

.portal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border: none;
  background: #9a7340;
  color: #fff;
  font-family: inherit;
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  width: 100%;
  transition: background 0.25s;
}

.portal-btn:hover { background: #7d5c33; }

.portal-btn-ghost {
  background: transparent;
  border: 1px solid rgba(154, 115, 64, 0.35);
  color: #9a7340;
}

.portal-btn-ghost:hover {
  background: rgba(154, 115, 64, 0.08);
}

.portal-btn-sm {
  width: auto;
  padding: 10px 16px;
  font-size: 0.68rem;
}

.portal-btn-danger {
  background: #8b1e32;
}

.portal-btn-danger:hover {
  background: #6e1828;
}

.cancel-order-block {
  border: 1px solid rgba(180, 40, 60, 0.2);
  background: rgba(180, 40, 60, 0.04);
  border-radius: 4px;
  padding: 18px 20px;
}

.cancel-order-block.cancelled {
  background: rgba(180, 40, 60, 0.06);
}

.cancel-order-block h3 {
  color: #8b1e32;
  margin-bottom: 10px;
}

.cancel-order-hint {
  font-size: 0.88rem;
  color: rgba(28, 20, 24, 0.58);
  margin-bottom: 14px;
}

.cancel-reason-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.cancel-reason-option {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  cursor: pointer;
}

.cancel-reason-option input[type="radio"] {
  accent-color: #8b1e32;
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.cancel-reason-other {
  width: 100%;
  max-width: 420px;
  padding: 10px 12px;
  border: 1px solid rgba(28, 20, 24, 0.12);
  background: #fff;
  font-family: inherit;
  font-size: 0.88rem;
  margin-bottom: 14px;
}

.cancel-reason-display {
  font-size: 0.9rem;
  margin: 0;
}

.portal-alert {
  padding: 12px 14px;
  border-radius: 2px;
  font-size: 0.88rem;
  margin-bottom: 18px;
}

.portal-alert-error {
  background: rgba(180, 40, 60, 0.08);
  border: 1px solid rgba(180, 40, 60, 0.2);
  color: #8b1e32;
}

.portal-alert-success {
  background: rgba(40, 120, 70, 0.08);
  border: 1px solid rgba(40, 120, 70, 0.2);
  color: #1e6640;
}

.portal-alert-wine {
  background: rgba(92, 26, 46, 0.08);
  border: 1px solid rgba(92, 26, 46, 0.22);
  color: #3d1524;
}

.portal-link {
  color: #9a7340;
  text-decoration: none;
  font-size: 0.88rem;
}

.portal-link:hover { text-decoration: underline; }

.portal-label-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
}

.portal-forgot-link {
  font-size: 0.82rem;
  white-space: nowrap;
}

.portal-footer-note {
  text-align: center;
  margin-top: 20px;
  font-size: 0.88rem;
  color: rgba(28, 20, 24, 0.58);
}

.portal-grid-stats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.portal-stat-card {
  background: #fff;
  border: 1px solid rgba(28, 20, 24, 0.08);
  border-radius: 8px;
  padding: 16px 18px;
  min-width: 0;
}

.portal-stat-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(28, 20, 24, 0.58);
  margin-bottom: 6px;
  line-height: 1.35;
}

.portal-stat-value {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.85rem;
  font-weight: 600;
  color: #9a7340;
  line-height: 1.1;
  margin-bottom: 4px;
}

.portal-stat-hint {
  display: block;
  font-size: 0.78rem;
  color: rgba(28, 20, 24, 0.52);
  line-height: 1.45;
}

.stat-card {
  background: #fff;
  border: 1px solid rgba(28, 20, 24, 0.08);
  padding: 20px;
  border-radius: 4px;
}

.stat-card .label {
  font-size: 0.68rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(28, 20, 24, 0.58);
  margin-bottom: 8px;
}

.stat-card .value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  color: #9a7340;
}

.portal-section {
  background: #fff;
  border: 1px solid rgba(28, 20, 24, 0.08);
  border-radius: 4px;
  margin-bottom: 24px;
  overflow: hidden;
}

.portal-section-header {
  padding: 18px 22px;
  border-bottom: 1px solid rgba(28, 20, 24, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.portal-section-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 400;
  margin: 0;
}

.portal-section-body {
  padding: 22px;
  overflow: visible;
}

.portal-section-body-narrow {
  max-width: 520px;
}

.portal-select {
  width: 100%;
  max-width: 320px;
  padding: 8px 12px;
  border: 1px solid rgba(28, 20, 24, 0.12);
  background: #faf8f5;
  font-family: inherit;
  font-size: 0.88rem;
}

.portal-toolbar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.portal-toolbar input,
.portal-toolbar select {
  padding: 8px 12px;
  border: 1px solid rgba(28, 20, 24, 0.12);
  background: #faf8f5;
  font-family: inherit;
  font-size: 0.88rem;
  min-width: 160px;
}

.portal-table-wrap {
  overflow-x: auto;
}

.portal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.portal-table th,
.portal-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid rgba(28, 20, 24, 0.06);
  vertical-align: top;
}

.portal-table th {
  font-size: 0.68rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(28, 20, 24, 0.58);
  font-weight: 500;
  background: #faf8f5;
}

.portal-table tr:hover td {
  background: rgba(154, 115, 64, 0.03);
}

.portal-table .actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.seller-sale-status-cell {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-width: 160px;
}

.seller-sale-status-cell .seller-pix-btn {
  white-space: nowrap;
}

.portal-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.68rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
}

.badge-neutral { background: rgba(28, 20, 24, 0.08); color: #1c1418; }
.badge-gold { background: rgba(154, 115, 64, 0.15); color: #7d5c33; }
.badge-wine { background: rgba(107, 40, 64, 0.12); color: #6b2840; }
.badge-info { background: rgba(40, 90, 140, 0.12); color: #2a5080; }
.badge-success { background: rgba(40, 120, 70, 0.12); color: #1e6640; }
.badge-danger { background: rgba(180, 40, 60, 0.12); color: #8b1e32; }

.portal-empty {
  padding: 48px 24px;
  text-align: center;
  color: rgba(28, 20, 24, 0.58);
}

.order-timeline {
  list-style: none;
  padding: 0;
  margin: 0;
}

.timeline-step {
  display: flex;
  gap: 16px;
  padding-bottom: 24px;
  position: relative;
}

.timeline-step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 18px;
  bottom: 0;
  width: 2px;
  background: rgba(28, 20, 24, 0.08);
}

.timeline-step.done:not(:last-child)::before {
  background: rgba(154, 115, 64, 0.35);
}

.timeline-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(28, 20, 24, 0.15);
  background: #fff;
  flex-shrink: 0;
  margin-top: 2px;
  position: relative;
  z-index: 1;
}

.timeline-step.done .timeline-dot {
  border-color: #9a7340;
  background: #9a7340;
}

.timeline-step.active .timeline-dot {
  box-shadow: 0 0 0 4px rgba(154, 115, 64, 0.2);
}

.timeline-body strong {
  display: block;
  font-weight: 500;
  margin-bottom: 4px;
}

.timeline-body small {
  color: rgba(28, 20, 24, 0.58);
  font-size: 0.82rem;
}

.timeline-body p {
  margin: 6px 0 0;
  font-size: 0.88rem;
  color: rgba(28, 20, 24, 0.72);
}

.portal-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  padding: 22px;
}

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

.detail-block h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: #9a7340;
}

.detail-block p,
.detail-block li {
  font-size: 0.92rem;
  margin-bottom: 6px;
}

.detail-block ul {
  list-style: none;
  padding: 0;
}

.portal-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid rgba(28, 20, 24, 0.08);
  padding: 0 22px;
}

.portal-tab {
  padding: 14px 18px;
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(28, 20, 24, 0.58);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.portal-tab.active {
  color: #9a7340;
  border-bottom-color: #9a7340;
}

.portal-tab-panel { display: none; padding: 22px; }
.portal-tab-panel.active { display: block; }

.portal-user-chip {
  font-size: 0.82rem;
  color: rgba(28, 20, 24, 0.72);
  padding: 6px 12px;
  background: #faf8f5;
  border-radius: 999px;
}

.portal-nav a.portal-nav-active,
.portal-nav button.portal-nav-active,
.portal-sidebar-nav a.portal-nav-active {
  color: #9a7340;
  font-weight: 500;
}

/* Admin — sidebar lateral */
.portal-body-admin {
  overflow-x: hidden;
}

.portal-shell-admin {
  flex-direction: row;
  min-height: 100vh;
}

.portal-sidebar {
  width: 248px;
  flex-shrink: 0;
  background: #fff;
  border-right: 1px solid rgba(28, 20, 24, 0.08);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 200;
  box-shadow: 2px 0 16px rgba(28, 20, 24, 0.04);
}

.portal-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 18px;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid rgba(28, 20, 24, 0.08);
  flex-shrink: 0;
}

.portal-sidebar-brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.portal-sidebar-brand span {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.portal-sidebar-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

.portal-sidebar-user {
  padding: 14px 16px 10px;
  flex-shrink: 0;
}

.portal-sidebar-user .portal-user-chip {
  display: block;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  border-radius: 8px;
  white-space: normal;
  word-break: break-word;
}

.portal-sidebar-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 4px 8px 12px 10px;
  scrollbar-gutter: stable;
  -webkit-overflow-scrolling: touch;
}

.portal-sidebar-scroll::-webkit-scrollbar {
  width: 6px;
}

.portal-sidebar-scroll::-webkit-scrollbar-thumb {
  background: rgba(28, 20, 24, 0.14);
  border-radius: 999px;
}

.portal-sidebar-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.portal-sidebar-group {
  margin-bottom: 8px;
}

.portal-sidebar-group-label {
  margin: 10px 8px 6px;
  font-size: 0.62rem;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: rgba(28, 20, 24, 0.42);
  font-weight: 500;
}

.portal-sidebar-nav a,
.portal-sidebar-footer a,
.portal-sidebar-footer button {
  display: block;
  width: 100%;
  box-sizing: border-box;
  text-align: left;
  padding: 10px 12px;
  margin-bottom: 2px;
  border-radius: 6px;
  font-size: 0.82rem;
  letter-spacing: 0.3px;
  text-transform: none;
  text-decoration: none;
  color: rgba(28, 20, 24, 0.72);
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s, color 0.2s;
}

.portal-sidebar-nav a:hover,
.portal-sidebar-footer a:hover,
.portal-sidebar-footer button:hover {
  background: rgba(154, 115, 64, 0.08);
  color: #9a7340;
}

.portal-sidebar-nav a.portal-nav-active {
  background: rgba(154, 115, 64, 0.12);
  color: #9a7340;
  font-weight: 500;
}

.portal-sidebar-footer {
  flex-shrink: 0;
  padding: 10px 10px 14px;
  border-top: 1px solid rgba(28, 20, 24, 0.08);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.portal-sidebar-footer button {
  color: rgba(28, 20, 24, 0.58);
  font-size: 0.78rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.portal-admin-wrap {
  flex: 1;
  margin-left: 248px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.portal-admin-bar {
  display: none;
  align-items: center;
  padding: 10px 16px;
  background: #fff;
  border-bottom: 1px solid rgba(28, 20, 24, 0.08);
  position: sticky;
  top: 0;
  z-index: 50;
  flex-shrink: 0;
}

.portal-sidebar-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(28, 20, 24, 0.1);
  border-radius: 8px;
  background: #faf8f5;
  cursor: pointer;
  flex-shrink: 0;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  z-index: 201;
}

.portal-sidebar-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #1c1418;
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.portal-sidebar-open .portal-sidebar-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.portal-sidebar-open .portal-sidebar-toggle span:nth-child(2) {
  opacity: 0;
}

.portal-sidebar-open .portal-sidebar-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.portal-sidebar-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(28, 20, 24, 0.45);
  z-index: 199;
}

.portal-main-admin {
  flex: 1;
  padding: 28px 32px 48px;
}

.portal-body-admin .portal-container {
  max-width: 1320px;
}

@media (max-width: 991.98px) {
  .portal-sidebar {
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    pointer-events: none;
  }

  .portal-shell-admin.portal-sidebar-open .portal-sidebar {
    transform: translateX(0);
    pointer-events: auto;
  }

  .portal-shell-admin.portal-sidebar-open .portal-admin-bar {
    z-index: 201;
  }

  .portal-admin-wrap {
    margin-left: 0;
  }

  .portal-admin-bar {
    display: flex;
  }

  .portal-sidebar-backdrop:not([hidden]) {
    display: block;
  }

  .portal-main-admin {
    padding: 20px 16px 40px;
  }
}

@media (max-width: 575.98px) {
  .portal-main-admin {
    padding: 16px 12px 32px;
  }
}

.portal-card-note {
  background: #faf8f5;
  border: 1px solid rgba(28, 20, 24, 0.08);
  padding: 16px 18px;
  margin-bottom: 18px;
  font-size: 0.88rem;
  line-height: 1.6;
}

.portal-card-note code {
  background: #fff;
  padding: 2px 6px;
  font-size: 0.82rem;
}

.portal-card-note ul {
  margin: 8px 0 8px 18px;
}

/* PIX — área do cliente */
.pix-client-box {
  margin-top: 20px;
  padding: 18px;
  background: #faf8f5;
  border: 1px solid rgba(154, 115, 64, 0.25);
  border-radius: 6px;
}

.pix-client-box h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  margin: 0 0 12px;
  color: #9a7340;
}

.pix-client-amount {
  font-size: 1.35rem;
  font-weight: 500;
  margin-bottom: 12px;
}

.pix-qr-wrap {
  display: flex;
  justify-content: center;
  margin: 14px 0;
  min-height: 120px;
}

.pix-qr-wrap canvas,
.pix-qr-wrap img {
  border-radius: 6px;
  background: #fff;
  padding: 8px;
}

.pix-copy-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.pix-copy-row input {
  flex: 1;
  min-width: 180px;
  padding: 10px 12px;
  border: 1px solid rgba(28, 20, 24, 0.12);
  background: #fff;
  font-size: 0.8rem;
  font-family: ui-monospace, monospace;
}

.pix-status-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  margin-top: 12px;
  color: rgba(28, 20, 24, 0.72);
}

.pix-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c9a227;
  animation: pix-pulse 1.4s ease-in-out infinite;
}

.pix-status-dot.paid {
  background: #1e6640;
  animation: none;
}

@media (max-width: 575.98px) {
  .pix-copy-row {
    flex-direction: column;
  }

  .pix-copy-row input {
    min-width: 0;
    width: 100%;
  }

  .pix-copy-row .portal-btn {
    width: 100%;
  }
}

/* ——— Responsivo (login, cadastro, portal) ——— */
@media (max-width: 767.98px) {
  .portal-topbar {
    padding: 10px 16px;
    min-height: 56px;
    flex-wrap: nowrap;
    gap: 12px;
  }

  .portal-brand {
    min-width: 0;
    flex: 1 1 auto;
  }

  .portal-brand img {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
  }

  .portal-brand span {
    font-size: 0.78rem;
    letter-spacing: 1px;
    line-height: 1.2;
  }

  .portal-nav {
    flex-shrink: 0;
    position: static;
    gap: 0;
  }

  .portal-nav-toggle {
    display: flex;
  }

  .portal-nav-menu {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: #fff;
    border-bottom: 1px solid rgba(28, 20, 24, 0.08);
    box-shadow: 0 12px 32px rgba(28, 20, 24, 0.1);
    padding: 10px 12px 14px;
    max-height: calc(100dvh - 56px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 101;
  }

  .portal-nav-open .portal-nav-menu {
    display: flex;
  }

  .portal-nav-menu .portal-user-chip {
    display: block;
    margin: 0 4px 8px;
    text-align: center;
    white-space: normal;
    word-break: break-word;
  }

  .portal-nav-menu a,
  .portal-nav-menu button {
    display: flex;
    align-items: center;
    width: 100%;
    text-align: left;
    padding: 12px 14px;
    min-height: 44px;
    font-size: 0.72rem;
    border-radius: 6px;
    box-sizing: border-box;
  }

  .portal-nav-menu a.portal-nav-active {
    background: rgba(154, 115, 64, 0.1);
    color: #9a7340;
  }

  .portal-nav-body-lock {
    overflow: hidden;
  }

  .portal-main {
    padding: 20px 16px 32px;
    width: 100%;
    box-sizing: border-box;
  }

  .portal-page-title {
    font-size: 1.55rem;
    line-height: 1.2;
    word-break: break-word;
  }

  .portal-grid-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 24px;
  }

  .stat-card {
    padding: 16px;
    min-width: 0;
  }

  .stat-card .value {
    font-size: 1.65rem;
    word-break: break-word;
  }

  .portal-section-header {
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
  }

  .portal-toolbar {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .portal-toolbar input,
  .portal-toolbar select {
    width: 100%;
    min-width: 0;
    font-size: 16px;
    box-sizing: border-box;
  }

  .portal-tab-panel {
    padding: 16px 12px;
  }

  .portal-table th,
  .portal-table td {
    padding: 12px 14px;
    font-size: 0.85rem;
  }

  .stock-wine-grid {
    grid-template-columns: 1fr;
  }

  .stock-wine-fields {
    grid-template-columns: 1fr;
  }

  .portal-auth-wrap {
    align-items: flex-start;
    min-height: auto;
    padding: 20px 16px max(32px, env(safe-area-inset-bottom));
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
  }

  .portal-auth-wrap .portal-card,
  .portal-card {
    padding: 28px 22px;
    border-radius: 10px;
    box-shadow: 0 4px 24px rgba(28, 20, 24, 0.08);
    max-width: 100%;
  }

  .portal-auth-wrap .portal-card.portal-card-wide {
    max-width: 100%;
  }

  .portal-form input,
  .portal-form select,
  .portal-form textarea {
    font-size: 16px;
    padding: 13px 14px;
  }

  .portal-register-form .form-row {
    gap: 14px;
    margin-bottom: 14px;
  }

  .portal-cpf-block {
    padding: 12px 14px;
  }

  .portal-card h1,
  .portal-page-title {
    font-size: 1.75rem;
  }

  .portal-subtitle {
    margin-bottom: 22px;
    font-size: 0.92rem;
    line-height: 1.55;
  }

  .portal-form input,
  .portal-form select,
  .portal-form textarea {
    font-size: 16px;
    min-height: 48px;
    padding: 12px 14px;
  }

  .portal-btn {
    min-height: 48px;
    padding: 14px 20px;
  }

  .portal-footer-note {
    font-size: 0.9rem;
    line-height: 1.5;
    padding: 0 4px;
  }

  .portal-tabs {
    padding: 0 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .portal-tab {
    padding: 12px 14px;
    white-space: nowrap;
  }
}

@media (max-width: 480px) {
  .portal-topbar {
    padding: 10px 12px;
  }

  .portal-brand span {
    font-size: 0.72rem;
    letter-spacing: 0.5px;
  }

  .portal-main {
    padding: 16px 12px 28px;
  }

  .portal-grid-stats {
    grid-template-columns: 1fr;
  }

  .portal-page-title {
    font-size: 1.4rem;
  }

  .portal-auth-wrap {
    padding: 16px 12px max(28px, env(safe-area-inset-bottom));
  }

  .portal-auth-wrap .portal-card,
  .portal-card {
    padding: 24px 18px;
  }
}

@media (max-width: 380px) {
  .portal-brand span {
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .portal-auth-wrap .portal-card {
    max-width: min(480px, calc(100% - 32px));
  }
}

.hidden { display: none !important; }

/* WhatsApp admin */
.portal-btn-whatsapp {
  background: #25d366;
  border-color: #25d366;
  color: #fff;
}

.portal-btn-whatsapp:hover {
  background: #1ebe57;
  border-color: #1ebe57;
  color: #fff;
}

.whatsapp-dropdown {
  position: relative;
  display: inline-block;
}

.whatsapp-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 30;
  min-width: 260px;
  background: #fff;
  border: 1px solid rgba(28, 20, 24, 0.1);
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(28, 20, 24, 0.12);
  padding: 8px;
}

.whatsapp-menu-item {
  display: block;
  width: 100%;
  text-align: left;
  border: none;
  background: transparent;
  padding: 10px 12px;
  border-radius: 8px;
  font: inherit;
  font-size: 0.88rem;
  cursor: pointer;
  color: #1c1418;
}

.whatsapp-menu-item:hover {
  background: rgba(154, 115, 64, 0.1);
  color: #9a7340;
}

.whatsapp-hint {
  font-size: 0.85rem;
  color: rgba(28, 20, 24, 0.58);
  margin: 0;
}

.wa-template-card {
  border: 1px solid rgba(28, 20, 24, 0.08);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
  background: #fff;
}

.wa-icon {
  margin-right: 4px;
}

.stat-sub {
  display: block;
  margin-top: 6px;
  font-size: 0.72rem;
  color: rgba(28, 20, 24, 0.5);
  letter-spacing: 0.04em;
}

.visits-note {
  font-size: 0.85rem;
  margin: 0 0 20px;
  padding: 0 4px;
}

.visits-summary-grid {
  margin-bottom: 8px;
}

.visits-tables-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.visits-report-wrap .detail-block {
  margin-bottom: 0;
}

.portal-table-compact th,
.portal-table-compact td {
  padding: 10px 12px;
  font-size: 0.88rem;
}

.stat-card-link {
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.stat-card-link:hover {
  border-color: rgba(154, 115, 64, 0.35);
  box-shadow: 0 8px 24px rgba(28, 20, 24, 0.08);
}

.visits-page-stats {
  margin-bottom: 24px;
}

.visits-geo-stats {
  margin-top: 4px;
}

.visits-geo-stats .stat-card .value {
  font-size: 1.65rem;
}

.inventory-tab-panels .portal-tab-panel.portal-section {
  margin-bottom: 0;
}

.inventory-tab-panels .portal-tab-panel.portal-section > .portal-section {
  margin-top: 16px;
}

.portal-alert-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
}

.portal-alert-inline .portal-btn {
  margin: 0;
  flex-shrink: 0;
}

.stock-wine-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 20px;
  align-items: start;
}

.stock-wine-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #fff;
  border: 1px solid rgba(28, 20, 24, 0.08);
  border-radius: 14px;
  padding: 18px;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.stock-wine-visual {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  padding: 12px;
  background: #faf8f5;
  border-radius: 10px;
}

.stock-wine-visual img {
  max-height: 140px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.stock-wine-body {
  flex: 1;
  min-width: 0;
  width: 100%;
}

.stock-wine-type {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9a7340;
}

.stock-wine-body h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  margin: 4px 0 8px;
}

.stock-wine-meta,
.stock-wine-link {
  font-size: 0.85rem;
  color: rgba(28, 20, 24, 0.62);
  margin: 0 0 8px;
}

.stock-wine-link a {
  color: #9a7340;
}

.stock-visible-toggle {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
  font-size: 0.88rem;
  margin: 10px 0 14px;
  cursor: pointer;
  line-height: 1.45;
}

.stock-wine-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}

.stock-wine-fields label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(28, 20, 24, 0.58);
}

.stock-wine-fields input {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-width: 0;
  font-size: 1rem;
  text-transform: none;
  letter-spacing: normal;
  padding: 8px 10px;
  border: 1px solid rgba(28, 20, 24, 0.12);
  border-radius: 8px;
  background: #fff;
}

.stock-wine-status {
  margin-top: 4px;
}

/* —— Cálculos de lucro (admin) —— */
.profit-calc-table-wrap {
  margin: 0 -4px;
}

.profit-calc-table th,
.profit-calc-table td {
  white-space: nowrap;
  font-size: 0.82rem;
  padding: 10px 12px;
}

.profit-calc-table th:first-child,
.profit-calc-table td:first-child {
  min-width: 140px;
}

.calc-input {
  width: 100%;
  min-width: 72px;
  max-width: 110px;
  padding: 7px 8px;
  border: 1px solid rgba(28, 20, 24, 0.12);
  background: #faf8f5;
  font-family: inherit;
  font-size: 0.88rem;
  border-radius: 4px;
}

.calc-input-name {
  min-width: 120px;
  max-width: 180px;
}

.calc-input-qty {
  max-width: 72px;
}

.calc-input:focus {
  outline: none;
  border-color: #9a7340;
  box-shadow: 0 0 0 2px rgba(154, 115, 64, 0.15);
}

.calc-result {
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}

.calc-result.profit-positive {
  color: #2d6a3e;
}

.calc-result.profit-negative {
  color: #8b2942;
}

.calc-actions {
  width: 40px;
  text-align: center;
}

.calc-remove-btn {
  min-width: 32px;
  padding: 4px 8px !important;
  font-size: 1.1rem;
  line-height: 1;
}

.profit-calc-legend {
  margin: 16px 0 0;
  font-size: 0.8rem;
  color: rgba(28, 20, 24, 0.58);
}

@media (max-width: 1100px) {
  .profit-calc-table th,
  .profit-calc-table td {
    font-size: 0.78rem;
    padding: 8px 10px;
  }

  .calc-input {
    min-width: 64px;
    max-width: 90px;
  }
}

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

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

.calc-chart-card {
  background: #faf8f5;
  border: 1px solid rgba(28, 20, 24, 0.08);
  border-radius: 6px;
  padding: 16px;
}

.calc-chart-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 400;
  margin: 0 0 12px;
  color: #1c1418;
}

.calc-chart-wrap {
  position: relative;
  height: 220px;
}

.calc-chart-wrap-tall {
  height: 280px;
}

.calc-proj-toolbar {
  margin-bottom: 8px;
}

.calc-proj-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.78rem;
  letter-spacing: 0.5px;
  color: rgba(28, 20, 24, 0.58);
}

.calc-proj-field select {
  padding: 8px 12px;
  border: 1px solid rgba(28, 20, 24, 0.12);
  background: #faf8f5;
  font-family: inherit;
  font-size: 0.88rem;
  min-width: 200px;
}

.calc-proj-rates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.calc-proj-rate-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.82rem;
}

.calc-proj-rate-item small {
  color: rgba(28, 20, 24, 0.45);
}

@media (max-width: 768px) {
  .calc-charts-grid,
  .calc-charts-grid-2 {
    grid-template-columns: 1fr;
  }

  .calc-chart-wrap,
  .calc-chart-wrap-tall {
    height: 240px;
  }
}

/* ——— Admin Financeiro ——— */
.finance-tabs {
  margin-bottom: 0;
  background: #fff;
  border-radius: 8px 8px 0 0;
}

.finance-tab-panel {
  display: none;
  margin-top: 0;
  border-radius: 0 0 8px 8px;
}

.finance-tab-panel.active {
  display: block;
}

.finance-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.finance-form-grid label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.82rem;
  color: rgba(28, 20, 24, 0.72);
}

.finance-progress-bar {
  height: 8px;
  background: rgba(28, 20, 24, 0.08);
  border-radius: 999px;
  overflow: hidden;
  margin: 10px 0 6px;
}

.finance-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #9a7340, #c4a265);
  border-radius: 999px;
  transition: width 0.4s ease;
}

.finance-goal-values {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 4px;
}

.finance-goal-values-label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(28, 20, 24, 0.5);
  margin-bottom: 2px;
}

.finance-goal-values-amount {
  font-size: 1.35rem;
  font-weight: 500;
  color: #1c1418;
}

.finance-goal-values-sep {
  color: rgba(28, 20, 24, 0.25);
  font-size: 1.2rem;
  padding-bottom: 2px;
}

/* ——— Admin Fluxo ——— */
.portal-fluxo-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.portal-fluxo-tab {
  padding: 10px 20px;
  border: 1px solid rgba(28, 20, 24, 0.12);
  background: #fff;
  border-radius: 8px;
  font-size: 0.9rem;
  cursor: pointer;
  font-family: inherit;
}

.portal-fluxo-tab-active {
  background: #2a2018;
  color: #f3efe8;
  border-color: #2a2018;
}

.portal-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.portal-form-grid label,
.logistics-form-grid label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.82rem;
  color: rgba(28, 20, 24, 0.72);
}

.portal-form-grid input,
.portal-form-grid select,
.portal-form-grid textarea,
.logistics-form-grid input,
.logistics-form-grid select,
.logistics-form-grid textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(28, 20, 24, 0.12);
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.9rem;
  background: #fff;
  box-sizing: border-box;
  color: #1c1418;
}

.portal-form-grid input:focus,
.portal-form-grid select:focus,
.portal-form-grid textarea:focus,
.logistics-form-grid input:focus,
.logistics-form-grid select:focus,
.logistics-form-grid textarea:focus {
  outline: none;
  border-color: #9a7340;
  box-shadow: 0 0 0 2px rgba(154, 115, 64, 0.15);
}

.portal-form-grid textarea,
.logistics-form-grid textarea {
  resize: vertical;
  min-height: 72px;
}

.logistics-tab-panels .portal-tab-panel {
  border: 1px solid rgba(28, 20, 24, 0.06);
  border-top: none;
  border-radius: 0 0 8px 8px;
  background: #fff;
}

.logistics-form-section {
  margin-bottom: 20px;
  padding: 20px 22px;
  background: rgba(243, 239, 232, 0.35);
  border-radius: 8px;
  border: 1px solid rgba(28, 20, 24, 0.06);
}

.logistics-form-section:last-of-type {
  margin-bottom: 0;
}

.logistics-form-section h3 {
  margin: 0 0 14px;
  font-size: 0.78rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(28, 20, 24, 0.55);
  font-weight: 500;
  font-family: inherit;
}

.logistics-form-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px 16px;
}

.logistics-form-grid .span-2 {
  grid-column: span 2;
}

.logistics-form-grid .span-3,
.logistics-form-grid .span-full {
  grid-column: 1 / -1;
}

.logistics-form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(28, 20, 24, 0.08);
}

.logistics-manual-form {
  max-width: 960px;
}

#regionsForm label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.82rem;
  color: rgba(28, 20, 24, 0.72);
  margin-bottom: 14px;
}

#regionsForm textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(28, 20, 24, 0.12);
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.88rem;
  resize: vertical;
  box-sizing: border-box;
}

@media (max-width: 900px) {
  .logistics-form-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .logistics-form-grid {
    grid-template-columns: 1fr;
  }

  .logistics-form-grid .span-2 {
    grid-column: span 1;
  }
}

.seller-sale-form {
  max-width: 920px;
}

.seller-sale-form .seller-item-row {
  display: grid;
  grid-template-columns: minmax(140px, 2fr) minmax(110px, 1fr) 88px minmax(108px, 1fr) 40px;
  gap: 12px;
  align-items: end;
  margin-bottom: 10px;
}

.seller-sale-form .seller-item-row .sale-remove-item {
  width: 40px;
  height: 40px;
  min-width: 40px;
  padding: 0;
  line-height: 1;
  align-self: end;
  justify-self: end;
}

.seller-sale-form .seller-sale-totals {
  margin: 14px 0 4px;
  font-weight: 500;
  color: #1c1418;
}

.seller-sale-form .seller-sale-commission {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(28, 20, 24, 0.62);
}

@media (max-width: 760px) {
  .seller-sale-form .seller-item-row {
    grid-template-columns: 1fr 1fr;
  }

  .seller-sale-form .seller-item-row .sale-remove-item {
    grid-column: 2;
    justify-self: end;
  }
}

.crm-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  margin-top: 4px;
}

.crm-tag-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  cursor: pointer;
}

.crm-contact-log {
  list-style: none;
  padding: 0;
  margin: 0;
}

.crm-contact-log li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(28, 20, 24, 0.06);
  font-size: 0.88rem;
  line-height: 1.45;
}

.fluxo-batches-table input {
  width: 100%;
  min-width: 72px;
  padding: 6px 8px;
  border: 1px solid rgba(28, 20, 24, 0.12);
  border-radius: 6px;
  font-size: 0.88rem;
}

.fluxo-bundle-card.portal-section {
  background: rgba(243, 239, 232, 0.35);
}

.fluxo-bundles-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fluxo-bundle-card {
  background: #faf8f5;
  border: 1px solid rgba(28, 20, 24, 0.08);
  border-radius: 8px;
  padding: 20px 22px;
}

.fluxo-bundle-form .form-group {
  margin-bottom: 0;
}

.fluxo-bundle-row-top {
  grid-template-columns: 1fr 160px;
  margin-bottom: 14px;
}

.fluxo-bundle-form > .form-group {
  margin-bottom: 14px;
}

.fluxo-bundle-row-bottom {
  display: grid;
  grid-template-columns: 100px 100px 1fr auto;
  gap: 14px;
  align-items: end;
  margin-top: 4px;
}

.fluxo-bundle-field-qty input {
  text-align: center;
}

.fluxo-bundle-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: rgba(28, 20, 24, 0.78);
  padding-bottom: 12px;
  cursor: pointer;
  user-select: none;
}

.fluxo-bundle-check input {
  width: auto;
  margin: 0;
  accent-color: #9a7340;
}

.fluxo-bundle-check span {
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.88rem;
}

.fluxo-bundle-remove {
  margin-bottom: 4px;
  white-space: nowrap;
}

.fluxo-image-preview {
  margin-top: 10px;
  padding: 12px;
  background: #fff;
  border: 1px solid rgba(28, 20, 24, 0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  max-width: 200px;
}

.fluxo-image-preview img {
  max-width: 100%;
  max-height: 160px;
  object-fit: contain;
}

.fluxo-image-preview-empty {
  font-size: 0.82rem;
  color: rgba(28, 20, 24, 0.45);
}

.fluxo-edition-form {
  max-width: 720px;
}

@media (max-width: 640px) {
  .fluxo-bundle-row-top,
  .fluxo-bundle-row-bottom {
    grid-template-columns: 1fr;
  }

  .fluxo-bundle-check {
    padding-bottom: 0;
  }

  .fluxo-bundle-remove {
    width: 100%;
    margin-bottom: 0;
  }
}

/* ——— Admin Clube ——— */
.portal-section-note {
  margin: 4px 0 0;
  font-size: 0.88rem;
  color: rgba(28, 20, 24, 0.58);
  font-weight: 400;
}

.club-admin-plans {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.club-admin-plan {
  background: #faf8f5;
  border: 1px solid rgba(28, 20, 24, 0.08);
  border-radius: 8px;
  padding: 22px 24px;
}

.club-admin-plan-head {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(28, 20, 24, 0.06);
}

.club-admin-plan-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 400;
  margin: 0 0 4px;
}

.club-admin-plan-id {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(28, 20, 24, 0.55);
}

.club-admin-plan-id code {
  font-size: 0.8rem;
  background: rgba(28, 20, 24, 0.05);
  padding: 2px 6px;
  border-radius: 4px;
}

.club-admin-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: rgba(28, 20, 24, 0.78);
  cursor: pointer;
  user-select: none;
}

.club-admin-check input {
  width: auto;
  margin: 0;
  accent-color: #9a7340;
}

.club-admin-plan-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px 18px;
}

.club-admin-plan-form .form-group {
  margin-bottom: 0;
  min-width: 0;
}

.club-admin-plan-form .form-group-wide {
  grid-column: 1 / -1;
}

.club-admin-plan-form input[readonly] {
  background: rgba(28, 20, 24, 0.04);
  color: rgba(28, 20, 24, 0.65);
}

.club-admin-combos-title {
  margin: 20px 0 12px;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.club-admin-combos-table input {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 8px 10px;
  border: 1px solid rgba(28, 20, 24, 0.12);
  border-radius: 6px;
  background: #fff;
  font-family: inherit;
  font-size: 0.88rem;
  color: #1c1418;
  transition: border-color 0.2s;
}

.club-admin-combos-table input:focus {
  outline: none;
  border-color: rgba(154, 115, 64, 0.45);
}

.club-admin-combos-table .club-field-qty {
  width: 80px;
}

.club-admin-combos-table .club-field-qty input {
  text-align: center;
}

.club-admin-plan-foot {
  margin: 14px 0 0;
  font-size: 0.85rem;
  color: rgba(28, 20, 24, 0.58);
  line-height: 1.5;
}

.club-admin-plan-foot strong {
  color: #9a7340;
  font-weight: 500;
}

.club-admin-value-cell {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.club-admin-value-cell small {
  display: block;
  color: rgba(28, 20, 24, 0.55);
  font-size: 0.78rem;
  margin-top: 2px;
}

@media (max-width: 768px) {
  .club-admin-plan {
    padding: 18px 16px;
  }

  .club-admin-combos-table .club-field-name,
  .club-admin-combos-table .club-field-desc {
    min-width: 140px;
  }
}

.club-report-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.club-report-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.club-report-list {
  margin: 0;
  padding-left: 18px;
  font-size: 0.9rem;
  color: rgba(28, 20, 24, 0.78);
}

.club-report-list li + li {
  margin-top: 6px;
}

.club-dashboard-home {
  margin-bottom: 28px;
  padding: 20px 22px 24px;
  background: linear-gradient(165deg, rgba(107, 28, 42, 0.04) 0%, rgba(154, 115, 64, 0.06) 100%);
  border: 1px solid rgba(107, 28, 42, 0.1);
  border-radius: 12px;
}

.club-dashboard-header {
  align-items: flex-start;
  gap: 16px;
}

.club-dashboard-stats {
  margin-bottom: 8px;
}

.portal-grid-stats-secondary {
  margin-bottom: 24px;
  opacity: 0.95;
}

.portal-grid-stats-secondary .stat-card {
  background: rgba(255, 255, 255, 0.72);
}

.stat-card-primary {
  background: linear-gradient(145deg, rgba(107, 28, 42, 0.92), rgba(139, 42, 58, 0.88));
  color: #fff;
  border: none;
}

.stat-card-primary .label,
.stat-card-primary .stat-sub,
.stat-card-primary small {
  color: rgba(255, 255, 255, 0.82);
}

.stat-card-primary .value {
  color: #fff;
}

.stat-card-warn {
  border-color: rgba(180, 90, 40, 0.35);
  background: rgba(180, 90, 40, 0.06);
}

.club-dash-hero .value {
  font-size: 2.4rem;
}

.club-dash-leader {
  font-size: 1.15rem !important;
  line-height: 1.25;
  font-weight: 500;
}

.club-dash-muted {
  opacity: 0.55;
  font-size: 0.95em;
}

.club-action-form .club-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.club-action-form select,
.club-action-form input[type="date"],
.club-action-form input[type="text"] {
  min-width: 140px;
  flex: 1;
}

.club-pending-change {
  margin-top: 10px;
  padding: 8px 12px;
  background: rgba(154, 115, 64, 0.08);
  border-radius: 6px;
  font-size: 0.88rem;
}

.club-sub-actions {
  margin-top: 20px;
}

.cliente-clube-overview {
  margin-bottom: 24px;
}

.cliente-clube-price {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--wine, #6b1c2a);
}

.cliente-clube-price small {
  font-size: 0.82rem;
  font-weight: 400;
  color: rgba(28, 20, 24, 0.58);
}

.cliente-clube-novelty-rate {
  font-size: 1.1rem;
  margin: 0 0 8px;
}

.cliente-clube-perks {
  margin: 12px 0 0;
  padding-left: 18px;
  font-size: 0.88rem;
  color: rgba(28, 20, 24, 0.72);
}

.cliente-clube-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(28, 20, 24, 0.08);
}

.cliente-clube-pix-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.profile-photo-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  padding: 18px 20px;
  margin-bottom: 24px;
  background: rgba(243, 239, 232, 0.45);
  border-radius: 12px;
}

.profile-photo-visual {
  flex: 0 0 auto;
}

.profile-photo-preview {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(196, 162, 101, 0.45);
  display: block;
}

.profile-photo-preview-sm {
  width: 72px;
  height: 72px;
}

.profile-photo-table {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.client-photo-cell {
  width: 56px;
}

.profile-photo-block-register {
  margin-top: 8px;
}

.profile-photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(196, 162, 101, 0.15);
  color: #8a6b3a;
  font-size: 1.75rem;
  font-weight: 500;
}

.profile-photo-controls {
  flex: 1 1 220px;
  min-width: 0;
}

.profile-photo-label {
  margin: 0 0 4px;
  font-size: 0.95rem;
}

.profile-photo-hint {
  margin: 0 0 12px;
  font-size: 0.82rem;
}

.profile-photo-upload-btn {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  margin: 0;
}

.profile-photo-status {
  margin: 8px 0 0;
  font-size: 0.82rem;
}

.club-bottle-preview {
  margin-top: 10px;
  min-height: 130px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 10px;
  background: rgba(28, 20, 24, 0.04);
  border-radius: 8px;
  border: 1px solid rgba(28, 20, 24, 0.08);
}

.club-bottle-preview img {
  max-height: 120px;
  width: auto;
}

/* ——— Timeout por inatividade ——— */
.portal-idle-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.portal-idle-modal[hidden] {
  display: none !important;
}

.portal-idle-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28, 20, 24, 0.55);
  backdrop-filter: blur(2px);
}

.portal-idle-modal__panel {
  position: relative;
  width: min(100%, 420px);
  padding: 28px 26px 24px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(28, 20, 24, 0.1);
  box-shadow: 0 20px 50px rgba(28, 20, 24, 0.22);
  text-align: center;
}

.portal-idle-modal__title {
  margin: 0 0 12px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 400;
  color: #1c1418;
}

.portal-idle-modal__text {
  margin: 0 0 10px;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(28, 20, 24, 0.78);
}

.portal-idle-modal__countdown {
  display: inline-block;
  min-width: 1.5ch;
  font-size: 1.15rem;
  color: #8b2942;
  font-variant-numeric: tabular-nums;
}

.portal-idle-modal__hint {
  margin: 0 0 20px;
  font-size: 0.82rem;
  color: rgba(28, 20, 24, 0.55);
  line-height: 1.45;
}

.portal-idle-modal__panel .portal-btn {
  width: 100%;
  max-width: 280px;
}

.referral-share-block {
  margin: 20px 0;
  padding: 20px;
  background: rgba(243, 239, 232, 0.55);
  border: 1px solid rgba(154, 115, 64, 0.18);
  border-radius: 10px;
}

.referral-share-header {
  margin-bottom: 16px;
}

.referral-share-title {
  margin: 0 0 6px;
  font-size: 0.95rem;
}

.referral-share-lead {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.5;
}

.referral-share-code-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.referral-share-code-label {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(28, 20, 24, 0.55);
}

.referral-share-code {
  font-size: 1rem;
  letter-spacing: 0.12em;
  color: #7d5c33;
}

.referral-share-link-label {
  display: block;
  margin: 0 0 6px;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(28, 20, 24, 0.55);
}

.referral-share-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: stretch;
}

.referral-share-link-input {
  flex: 1 1 180px;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid rgba(154, 115, 64, 0.25);
  border-radius: 6px;
  background: #fff;
  font-size: 0.78rem;
  color: rgba(28, 20, 24, 0.85);
}

.referral-share-link-row .portal-btn {
  flex: 0 0 auto;
  white-space: nowrap;
}

.referral-share-status {
  min-height: 1.2em;
  margin: 8px 0 0;
  font-size: 0.78rem;
  color: #2f6b3a;
}

.referral-share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.referral-share-qr-wrap {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(154, 115, 64, 0.14);
  text-align: center;
}

.referral-share-qr-label {
  margin: 0 0 10px;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(28, 20, 24, 0.55);
}

.referral-share-qr {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  background: #fff;
  border: 1px solid rgba(154, 115, 64, 0.18);
  border-radius: 8px;
}

.referral-share-qr img,
.referral-share-qr canvas {
  display: block;
  max-width: 100%;
  height: auto;
}

.referral-share-qr-hint {
  margin: 10px 0 0;
  font-size: 0.78rem;
  line-height: 1.45;
}

@media (max-width: 520px) {
  .referral-share-link-row .portal-btn,
  .referral-share-actions .portal-btn {
    width: 100%;
  }
}

.portal-tab-locked {
  opacity: 0.45;
  cursor: not-allowed;
}

.referral-share-actions .portal-btn-whatsapp {
  background: #25d366;
  border-color: #25d366;
}

.referral-share-actions .portal-btn-whatsapp:hover {
  background: #1ebe57;
  border-color: #1ebe57;
}

/* Portal cliente — funcionalidades estendidas */
.portal-lang-select-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  margin-right: 8px;
}

.portal-lang-select-wrap select {
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid rgba(28, 20, 24, 0.15);
  background: #fff;
  font-family: inherit;
}

.portal-profile-extended {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(28, 20, 24, 0.08);
}

.portal-subsection-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  margin: 0 0 16px;
}

.portal-check-group {
  border: none;
  padding: 0;
  margin: 0 0 8px;
}

.portal-check-group legend {
  font-weight: 500;
  margin-bottom: 10px;
}

.portal-check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 0.92rem;
  cursor: pointer;
}

.cliente-order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(28, 20, 24, 0.08);
}

.portal-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.portal-modal.hidden {
  display: none;
}

.portal-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 8, 10, 0.55);
}

.portal-modal-card {
  position: relative;
  z-index: 1;
  background: #faf8f6;
  border-radius: 12px;
  padding: 24px;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.portal-modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 16px;
}

/* Tutorial — portal do vendedor */
.seller-tour-card {
  max-width: 460px;
}

.seller-tour-step-label {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(28, 20, 24, 0.55);
}

.seller-tour-body {
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(28, 20, 24, 0.82);
}

.seller-tour-body p {
  margin: 0 0 10px;
}

.seller-tour-body p:last-child {
  margin-bottom: 0;
}

.seller-tour-body strong {
  font-weight: 500;
  color: #1c1418;
}

.seller-tour-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin: 18px 0 14px;
}

.seller-tour-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(28, 20, 24, 0.18);
  border: none;
  padding: 0;
  cursor: pointer;
}

.seller-tour-dot.active {
  background: #6b1f2a;
  transform: scale(1.15);
}

.seller-tour-dont-show {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: rgba(28, 20, 24, 0.7);
  cursor: pointer;
  user-select: none;
}

.seller-tour-dont-show input {
  width: 16px;
  height: 16px;
  accent-color: #6b1f2a;
}

.seller-tour-actions {
  flex-wrap: wrap;
  align-items: center;
}

.seller-tour-actions #sellerTourSkipBtn {
  margin-right: auto;
}

@media (max-width: 520px) {
  .seller-tour-actions {
    justify-content: stretch;
  }

  .seller-tour-actions #sellerTourSkipBtn {
    margin-right: 0;
    width: 100%;
    order: 3;
  }

  .portal-nav #sellerTourBtn {
    font-size: 0.78rem;
    padding-left: 10px;
    padding-right: 10px;
  }
}

.nps-score-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.nps-score-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid rgba(28, 20, 24, 0.15);
  background: #fff;
  cursor: pointer;
  font-size: 0.85rem;
}

.nps-score-btn.active,
.nps-score-btn:hover {
  background: var(--wine, #8b2942);
  color: #fff;
  border-color: var(--wine, #8b2942);
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.achievement-card {
  padding: 14px;
  border-radius: 10px;
  background: rgba(28, 20, 24, 0.04);
  text-align: center;
  opacity: 0.55;
}

.achievement-card.earned {
  opacity: 1;
  background: rgba(196, 162, 101, 0.12);
  border: 1px solid rgba(196, 162, 101, 0.35);
}

.achievement-icon {
  font-size: 1.6rem;
  display: block;
  margin-bottom: 6px;
}

.achievement-card small {
  display: block;
  margin-top: 4px;
  font-size: 0.78rem;
  opacity: 0.75;
}

.collection-wine-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}

.collection-wine-card {
  padding: 14px;
  border-radius: 10px;
  background: rgba(28, 20, 24, 0.04);
}

.cliente-clube-next-delivery {
  margin-bottom: 20px;
  padding: 18px 20px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(139, 41, 66, 0.12), rgba(196, 162, 101, 0.15));
  border: 1px solid rgba(139, 41, 66, 0.2);
}

.cliente-clube-next-label {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.7;
  margin-bottom: 4px;
}

.cliente-clube-next-delivery strong {
  font-size: 1.35rem;
  font-family: 'Cormorant Garamond', Georgia, serif;
}

.cliente-coupon-list {
  margin: 0;
  padding-left: 18px;
}

.cliente-waitlist {
  margin: 0;
  padding-left: 18px;
}

@media (max-width: 640px) {
  .portal-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .portal-tab {
    white-space: nowrap;
    flex-shrink: 0;
  }
}

.extras-hub-grid { margin-bottom: 20px; }

.extras-loyalty-card {
  background: linear-gradient(135deg, rgba(139, 41, 66, 0.08), rgba(196, 162, 101, 0.12));
  border-radius: 12px;
  padding: 18px 20px;
}

.extras-points { font-size: 1.1rem; margin: 8px 0; }

.extras-accordion { display: flex; flex-direction: column; gap: 12px; }

.extras-section {
  border: 1px solid rgba(28, 20, 24, 0.08);
  border-radius: 10px;
  padding: 0 16px 12px;
  background: rgba(255, 255, 255, 0.5);
}

.extras-section summary {
  cursor: pointer;
  font-weight: 500;
  padding: 14px 0;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.15rem;
}

.extras-section-body { padding-bottom: 8px; }

.extras-subgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}

.extras-card {
  padding: 14px;
  border-radius: 8px;
  background: rgba(28, 20, 24, 0.03);
}

.extras-card h4 { margin: 0 0 8px; font-size: 0.95rem; }

.extras-card input,
.extras-card select,
.extras-card textarea {
  width: 100%;
  box-sizing: border-box;
}

