/**
 * Newsletter Subscription (newsletter/manage) — KitUp account panel.
 * Loads last via kitup-account-sidebar-styles.phtml.
 */
html body.newsletter-manage-index,
html body.account.newsletter-manage-index {
    background: #fdfbf7 !important;
}

html body.newsletter-manage-index .kitup-newsletter-form,
html body.newsletter-manage-index .kitup-newsletter-section {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

html body.newsletter-manage-index .kitup-newsletter-panel,
html body.newsletter-manage-index .kitup-account-details-card.kitup-newsletter-panel {
    background: #f9fafb !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 10px !important;
    padding: 28px 32px 32px !important;
    margin: 0 !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    clear: both !important;
}

html body.newsletter-manage-index .kitup-newsletter-panel__title,
html body.newsletter-manage-index .kitup-newsletter-panel__title.kitup-account-panel-title {
    display: block !important;
    width: 100% !important;
    margin: 0 0 20px 0 !important;
    padding: 0 0 12px 0 !important;
    border: 0 !important;
    border-bottom: 1px solid #e5e7eb !important;
    font-family: var(--kitup-font-family, "Lexend", sans-serif) !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    color: #000000 !important;
}

html body.newsletter-manage-index .kitup-newsletter-fieldset {
    border: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    min-width: 0 !important;
    width: 100% !important;
    float: none !important;
}

html body.newsletter-manage-index .kitup-newsletter-fieldset > .legend {
    display: none !important;
}

/* Checkbox + label in one row inside panel (not floating in sidebar gap) */
html body.newsletter-manage-index .kitup-newsletter-choice,
html body.newsletter-manage-index .kitup-newsletter-panel .field.choice {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
    gap: 12px !important;
    margin: 0 0 24px 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    clear: both !important;
    position: static !important;
    min-height: 0 !important;
}

html body.newsletter-manage-index .kitup-newsletter-choice::before,
html body.newsletter-manage-index .kitup-newsletter-choice::after,
html body.newsletter-manage-index .kitup-newsletter-panel .field.choice::before,
html body.newsletter-manage-index .kitup-newsletter-panel .field.choice::after {
    display: none !important;
    content: none !important;
}

html body.newsletter-manage-index .kitup-newsletter-choice > .label,
html body.newsletter-manage-index .kitup-newsletter-panel .field.choice > .label {
    display: inline-flex !important;
    align-items: center !important;
    order: 2 !important;
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    float: none !important;
    position: static !important;
    font-family: var(--kitup-font-family, "Lexend", sans-serif) !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    color: #000000 !important;
    background: transparent !important;
}

html body.newsletter-manage-index .kitup-newsletter-choice > .label span {
    font-size: 16px !important;
    font-weight: 500 !important;
    color: #000000 !important;
}

html body.newsletter-manage-index .kitup-newsletter-choice input[type="checkbox"],
html body.newsletter-manage-index .kitup-newsletter-panel .field.choice input[type="checkbox"] {
    order: 1 !important;
    flex: 0 0 auto !important;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    margin: 0 !important;
    float: none !important;
    position: static !important;
    accent-color: #111827 !important;
    cursor: pointer !important;
}

/* Save — Figma mint button */
html body.newsletter-manage-index .kitup-newsletter-actions {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: flex-start !important;
    align-items: center !important;
    float: none !important;
    clear: both !important;
    width: 100% !important;
}

html body.newsletter-manage-index .kitup-newsletter-actions::before,
html body.newsletter-manage-index .kitup-newsletter-actions::after {
    display: none !important;
    content: none !important;
}

html body.newsletter-manage-index .kitup-newsletter-actions .secondary {
    display: none !important;
}

html body.newsletter-manage-index .kitup-newsletter-actions .primary {
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}

html body.newsletter-manage-index .kitup-newsletter-actions button.action.primary.kitup-newsletter-save,
html body.newsletter-manage-index .kitup-newsletter-actions .action.save.primary {
    min-height: 44px !important;
    height: 44px !important;
    padding: 0 32px !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #00ffc2 !important;
    background-color: #00ffc2 !important;
    background-image: none !important;
    border: 1px solid #00ffc2 !important;
    border-color: #00ffc2 !important;
    border-radius: 6px !important;
    color: #000000 !important;
    box-shadow: none !important;
    text-transform: none !important;
    font-family: var(--kitup-font-family, "Lexend", sans-serif) !important;
    font-size: 16px !important;
    font-weight: var(--kitup-weight-action, 100) !important;
    cursor: pointer !important;
    filter: none !important;
}

html body.newsletter-manage-index .kitup-newsletter-actions button.action.primary.kitup-newsletter-save span,
html body.newsletter-manage-index .kitup-newsletter-actions .action.save.primary span {
    color: #000000 !important;
    -webkit-text-fill-color: #000000 !important;
    font-weight: var(--kitup-weight-action, 100) !important;
}

html body.newsletter-manage-index .kitup-newsletter-actions button.action.primary.kitup-newsletter-save:hover,
html body.newsletter-manage-index .kitup-newsletter-actions .action.save.primary:hover {
    background: #00e6b8 !important;
    background-color: #00e6b8 !important;
    border-color: #00e6b8 !important;
    color: #000000 !important;
}

html body.newsletter-manage-index .kitup-newsletter-actions button.action.primary.kitup-newsletter-save:hover span {
    color: #000000 !important;
    -webkit-text-fill-color: #000000 !important;
}

/* Beat legacy .account float rules on newsletter block children */
html body.newsletter-manage-index .column.main .form-newsletter-manage,
html body.newsletter-manage-index .column.main .form-newsletter-manage * {
    box-sizing: border-box !important;
}

html body.newsletter-manage-index .column.main .form-newsletter-manage .fieldset,
html body.newsletter-manage-index .column.main .block-newsletter,
html body.newsletter-manage-index .column.main .box-newsletter {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    clear: both !important;
}
