.brand-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: flex-start;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--p4);
  border-radius: var(--radius-lg);
  background: var(--p4);
  box-shadow: var(--shadow-card);
}

.brand-tile {
  min-height: 300px;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 28px 24px 24px;
  background: #ffffff;
}

.brand-tile strong {
  color: var(--g1);
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-style: italic;
  font-weight: 700;
}

.brand-tile span {
  color: var(--mid);
}

.steps {
  counter-reset: step;
}

.step {
  position: relative;
  padding-left: 72px;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 22px;
  top: 24px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--br4);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
}

.spec-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.spec-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--brd);
  color: var(--mid);
}

.spec-list strong {
  color: var(--tx);
  text-align: right;
}

.mobile-menu-button {
  display: none;
}

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

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

.form-grid label,
.b2b-form label {
  display: grid;
  gap: 8px;
  align-content: start;
  min-width: 0;
  color: var(--tx);
  font-weight: 700;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.45;
}

.checkbox-row input {
  width: auto;
  min-height: 0;
  margin-top: 4px;
  accent-color: var(--g2);
}

.field-error {
  border: 2px solid #c0392b !important;
  background-color: #fff5f5 !important;
}

.validation-msg {
  display: block;
  color: #c0392b;
  font-size: 0.78rem;
  margin-top: 3px;
  margin-bottom: 4px;
}

.status-message {
  margin-top: 12px;
  font-weight: 700;
}

.status-message.error {
  color: var(--color-error);
}

.status-message.success {
  color: var(--color-success);
}

.wizard-progress {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 22px;
}

.wizard-progress button {
  min-height: 76px;
  display: grid;
  gap: 6px;
  justify-items: center;
  border: 1px solid var(--brd);
  border-radius: var(--radius-md);
  background: #ffffff;
  color: var(--mid);
  cursor: pointer;
  font: inherit;
}

.wizard-progress strong {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--p1);
  color: var(--g1);
  font-family: var(--font-mono);
  font-size: 11px;
}

.wizard-progress button.active {
  border-color: var(--g2);
  color: var(--g1);
  box-shadow: inset 0 0 0 2px rgba(44, 90, 48, 0.12);
}

.wizard-progress button.active strong,
.wizard-progress button.done strong {
  background: var(--g1);
  color: var(--p1);
}

.subscription-layout {
  display: grid;
  gap: 18px;
}

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

.choice-card {
  min-height: 120px;
  padding: 20px;
  border: 1px solid var(--brd);
  border-radius: var(--radius-md);
  background: #ffffff;
  color: var(--tx);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.choice-card:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.choice-card.active {
  border-color: var(--g2);
  box-shadow: inset 0 0 0 2px rgba(44, 90, 48, 0.14);
}

.choice-card strong,
.choice-card span {
  display: block;
}

.choice-card strong {
  color: var(--g1);
  font-family: var(--font-display);
  font-size: 1.42rem;
  font-weight: 600;
}

.choice-card span {
  margin-top: 8px;
  color: var(--mid);
}

.oauth-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 14px;
}

.oauth-button {
  min-height: 42px;
  padding-inline: 14px;
}

.form-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 8px 0 16px;
  color: var(--mid);
  font-weight: 700;
  font-size: 0.92rem;
}

.form-divider::before,
.form-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--brd);
}

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

.subscription-products {
  display: grid;
  gap: 12px;
  max-height: 620px;
  overflow: auto;
  padding-right: 6px;
}

.subscription-products.compact {
  max-height: 52vh;
}

.subscription-product {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--brd);
  border-radius: var(--radius-md);
  background: #ffffff;
}

.subscription-product img {
  width: 78px;
  height: 70px;
  border-radius: var(--radius-sm);
  object-fit: contain;
  background: var(--p2);
}

.subscription-product h3 {
  margin: 4px 0;
  font-family: var(--font-body);
  font-size: 1.04rem;
  font-weight: 700;
}

.sticky-summary {
  position: sticky;
  bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
  padding: 14px;
  border: 1px solid var(--p4);
  border-radius: var(--radius-md);
  background: rgba(250, 248, 242, 0.96);
  box-shadow: var(--shadow-md);
}

.summary-split,
.subscription-account-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: start;
}

.mandate-box {
  max-width: 620px;
  padding: 24px;
  border: 1px solid var(--p4);
  border-radius: var(--radius-md);
  background: var(--p2);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(30, 61, 34, 0.62);
}

.modal-panel {
  width: min(920px, 100%);
  max-height: 88vh;
  overflow: auto;
  padding: 22px;
  border: 1px solid var(--p4);
  border-radius: var(--radius-md);
  background: var(--p3);
}

.auth-layout {
  display: grid;
  place-items: start center;
}

.auth-panel {
  width: min(640px, 100%);
}

.password-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.password-field button {
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--brd);
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: var(--g1);
  font-weight: 700;
}

.auth-links,
.section-actions,
.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 16px;
}

.auth-links {
  justify-content: space-between;
}

.account-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.account-tabs button,
.filter-pills button {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--brd);
  border-radius: var(--radius-pill);
  background: #ffffff;
  color: var(--g1);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.account-tabs button.active,
.filter-pills button.active {
  background: var(--g1);
  color: var(--p1);
}

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

.account-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--brd);
  border-radius: var(--radius-md);
  background: #ffffff;
}

.account-card input[readonly] {
  width: min(520px, 100%);
  margin-top: 8px;
}

.account-form {
  margin-top: 18px;
}

.loyalty-balance {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin: 14px 0;
  padding: 18px;
  border-radius: var(--radius-md);
  background: var(--p1);
}

.loyalty-balance strong {
  color: var(--g1);
  font-size: 1.5rem;
}

.b2b-hero h1 {
  max-width: 880px;
}

.segment-card {
  min-height: 220px;
}

.segment-card span {
  display: block;
  margin-bottom: 16px;
  font-size: 2rem;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--brd);
  border-radius: var(--radius-md);
  background: #ffffff;
}

.price-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.price-table.compact {
  min-width: 520px;
}

.price-table th,
.price-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--brd);
  text-align: left;
}

.price-table th {
  background: var(--p1);
  color: var(--g1);
  font-weight: 700;
}

.price-table tr:last-child td {
  border-bottom: 0;
}

.b2b-form label span {
  color: inherit;
  font-weight: 700;
}

.b2b-form .field-label {
  display: flex;
  align-items: flex-end;
  min-height: 2.4em;
  line-height: 1.2;
}

.dark .b2b-form label,
.dark .b2b-form label span {
  color: var(--p1);
}

.dark .b2b-form {
  background: rgba(234, 224, 196, 0.08);
}

.b2b-form input,
.b2b-form select,
.b2b-form textarea {
  margin-top: 0;
  min-width: 0;
  background: #ffffff;
  color: var(--tx);
  font-weight: 400;
}

.b2b-form select option {
  background: #ffffff;
  color: var(--tx);
}

.b2b-table-note {
  margin-top: 12px;
  line-height: 1.55;
}

.contact-cta-section {
  background: var(--p2);
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-whatsapp {
  background: var(--g2);
  color: var(--p1);
}

.btn-whatsapp:hover {
  background: var(--g1);
}

.btn-telegram {
  background: var(--br2);
  color: #ffffff;
}

.btn-telegram:hover {
  background: var(--br3);
}

.telegram-follow {
  margin-top: 18px;
  font-weight: 700;
  color: var(--g1);
}

.telegram-follow a {
  color: var(--br2);
}

.account-btn.logged-in {
  color: var(--br2);
  border-color: rgba(201, 132, 90, 0.55);
}

.legal-container {
  max-width: 900px;
}

.legal-page h1 {
  margin: 12px 0 8px;
  font-size: clamp(2.5rem, 6vw, 4.8rem);
}

.legal-block {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--brd);
  scroll-margin-top: 96px;
}

.legal-block:target {
  border-radius: var(--radius-md);
  box-shadow: 0 0 0 4px rgba(201, 132, 90, 0.18);
}

.legal-block h2 {
  margin: 0 0 12px;
  font-family: var(--font-body);
  font-size: 1.18rem;
  font-style: normal;
  color: var(--g1);
}

.legal-block p,
.legal-block li {
  line-height: 1.7;
}

.legal-block ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9999;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--g2);
  color: var(--p1);
  box-shadow: var(--shadow-lg);
  transition: transform 0.2s, box-shadow 0.2s;
}

.whatsapp-float:hover {
  transform: scale(1.06);
  box-shadow: 0 8px 28px rgba(44, 90, 48, 0.28);
}

.whatsapp-float svg {
  width: 31px;
  height: 31px;
}

.cookie-banner p {
  max-width: 62ch;
  margin: 0;
  color: var(--tx);
  font-weight: 600;
  line-height: 1.45;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.cookie-actions a {
  color: var(--g1);
  font-weight: 700;
}

.blog-hero h1,
.blog-post h1 {
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 5rem);
}

.blog-grid {
  align-items: stretch;
}

.blog-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.blog-card h2 {
  margin: 0;
  font-size: 1.65rem;
}

.blog-card p {
  flex: 1;
}

.dark .filter-pills button {
  border-color: rgba(234, 224, 196, 0.26);
  background: rgba(234, 224, 196, 0.08);
  color: var(--p1);
}

.dark .filter-pills button.active {
  background: var(--br4);
  color: #ffffff;
}

.container.narrow {
  width: min(820px, calc(100% - 32px));
}

.article-body {
  margin-top: 28px;
  color: var(--tx);
  font-size: 1.08rem;
  line-height: 1.8;
}

.article-body h1,
.article-body h2,
.article-body h3 {
  margin-top: 1.6em;
  margin-bottom: 0.45em;
}

.article-body h2,
.article-body h3 {
  font-style: normal;
}

.article-body p {
  margin: 0 0 1.1em;
}
