/*
 Theme Name:   SaasKing Child - ViperBlock
 Theme URI:    https://viperblock.com
 Description:  ViperBlock child theme for SaasKing
 Author:       ViperBlock
 Author URI:   https://viperblock.com
 Template:     saasking
 Version:      1.0.0
 Text Domain:  saasking-child
*/

/* Custom styles below this line */

/* ── Feature Comparison Table — header text white ── */
.sk-price-compare-title .sk-sec-title-7,
.sk-price-compare-title .tx-description,
.sk-price-compare-title .sk-subtitle-7 {
    color: #ffffff !important;
}

/* ── Feature Comparison Table — dark red theme ── */
.sk-price-compare-table .pricing-table__table thead {
    background: #620903;
}

.sk-price-compare-table .pricing-table__table thead th {
    color: #ffffff;
    font-weight: 600;
}

.sk-price-compare-table .pricing-table__table thead th:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.sk-price-compare-table .pricing-table__table th,
.sk-price-compare-table .pricing-table__table td {
    color: #ffffff;
}

.sk-price-compare-table .pricing-table__table tbody tr:nth-child(odd) {
    background-color: #2a0a08;
}

.sk-price-compare-table .pricing-table__table tbody tr:nth-child(even) {
    background-color: #3d0f0b;
}

.sk-price-compare-table .pricing-table__table tbody .price {
    color: #ffffff;
}

.sk-price-compare-table .pricing-table__table tbody .features {
    color: #ffffff;
}

.sk-price-compare-table .pricing-table__table tbody td:first-child {
    color: #FE0D3A;
    font-weight: 500;
}

/* ── Pricing Cards — 2 columns centered, hide toggle ── */
.sk-price-3-wrap {
    grid-template-columns: 1fr 1fr !important;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.sk-price-3-bottom {
    display: none;
}

/* ── Legal pages — dark theme text styling ── */
.elementor-widget-text-editor h2 {
    color: #ffffff;
    margin-bottom: 0.5em;
}

.elementor-widget-text-editor h3 {
    color: #FE0D3A;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

.elementor-widget-text-editor h4 {
    color: #ffffff;
    margin-top: 1em;
    margin-bottom: 0.4em;
}

.elementor-widget-text-editor a {
    color: #FE0D3A;
}

.elementor-widget-text-editor a:hover {
    color: #ff4d6a;
}

.elementor-widget-text-editor ul {
    padding-left: 1.5em;
    margin-bottom: 1em;
}

.elementor-widget-text-editor li {
    margin-bottom: 0.3em;
}

/* ── WooCommerce Account page — fix Bootstrap .col-1/.col-2 collision ── */
/* WooCommerce uses .col-1/.col-2 to mean "column 1/2" in address layout, */
/* but Bootstrap interprets them as grid widths (8.33%/16.66%). Override. */
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address.col-1,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address.col-2 {
    width: 48% !important;
    max-width: none !important;
    flex: 0 0 48% !important;
    float: left;
}

.woocommerce-account .woocommerce-Address-title h2 {
    font-size: 24px;
}

/* ── WooCommerce Account nav — theme red instead of purple ── */
.woocommerce-account .woocommerce-MyAccount-navigation ul li {
    border-color: #620903;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li:before {
    background: #920B1E;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active,
.woocommerce-account .woocommerce-MyAccount-navigation ul li:hover {
    background: #920B1E;
}

/* ── WooCommerce Account — notice boxes and buttons dark theme ── */
.woocommerce-account .woocommerce-message,
.woocommerce-account .woocommerce-info,
.woocommerce-account .woocommerce-error,
.woocommerce-account .woocommerce-Message {
    background-color: #2a0a08 !important;
    color: #ffffff !important;
    border-top-color: #620903 !important;
}

.woocommerce-account .woocommerce-message a,
.woocommerce-account .woocommerce-info a,
.woocommerce-account .woocommerce-Message a {
    color: #FE0D3A !important;
}

.woocommerce-account .woocommerce button,
.woocommerce-account .woocommerce .button {
    background-color: #620903 !important;
    color: #ffffff !important;
    border-color: #620903 !important;
}

.woocommerce-account .woocommerce button:hover,
.woocommerce-account .woocommerce .button:hover {
    background-color: #920B1E !important;
}

/* ── WooCommerce — override browser autofill yellow backgrounds ── */
.woocommerce-account input:-webkit-autofill,
.woocommerce-account input:-webkit-autofill:hover,
.woocommerce-account input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px #2a0a08 inset !important;
    -webkit-text-fill-color: #ffffff !important;
    border-color: #620903 !important;
}

/* ── WooCommerce Account page — white text on dark background ── */
.woocommerce-account .woocommerce-MyAccount-content,
.woocommerce-account .woocommerce-MyAccount-navigation ul li a,
.woocommerce-account .woocommerce form,
.woocommerce-account .woocommerce h2,
.woocommerce-account .woocommerce label {
    color: #ffffff;
}

.woocommerce-account .woocommerce-MyAccount-content a {
    color: #FE0D3A;
}

.woocommerce-account .woocommerce-MyAccount-content a:hover {
    color: #ff4d6a;
}

.woocommerce-account input[type="text"],
.woocommerce-account input[type="email"],
.woocommerce-account input[type="password"],
.woocommerce-account input[type="tel"],
.woocommerce-account input[type="number"],
.woocommerce-account select,
.woocommerce-account textarea,
.woocommerce-account .woocommerce-MyAccount-content table {
    background-color: #2a0a08 !important;
    color: #ffffff !important;
    border-color: #620903 !important;
}

.woocommerce-account .woocommerce p,
.woocommerce-account .woocommerce .woocommerce-privacy-policy-text {
    color: #ffffff;
}

.woocommerce-account .woocommerce-password-strength.short,
.woocommerce-account .woocommerce-password-strength.bad {
    background-color: #620903 !important;
    color: #ffffff !important;
}

.woocommerce-account .woocommerce-password-strength.good {
    background-color: #3d5a0f !important;
    color: #ffffff !important;
}

.woocommerce-account .woocommerce-password-strength.strong {
    background-color: #155724 !important;
    color: #ffffff !important;
}

.woocommerce-account .viperblock-license-card {
    background: #2a0a08 !important;
    border-color: #620903 !important;
    color: #ffffff;
}

.woocommerce-account .viperblock-license-key code {
    background: #3d0f0b !important;
    color: #ffffff;
}

.woocommerce-account .viperblock-meta-label {
    color: #999 !important;
}

.woocommerce-account .viperblock-activations-table th,
.woocommerce-account .viperblock-activations-table td {
    border-color: #620903 !important;
    color: #ffffff;
}

/* ── Checkout success/cancel pages — white text on dark background ── */
.viperblock-checkout-result h2 {
    color: #ffffff !important;
}

.viperblock-checkout-result p {
    color: #E0E0E0 !important;
}

.viperblock-checkout-result .button {
    background-color: #620903 !important;
    color: #ffffff !important;
    border-color: #620903 !important;
}

.viperblock-checkout-result .button:hover {
    background-color: #920B1E !important;
}

.viperblock-next-steps {
    background: #2a0a08 !important;
    color: #ffffff !important;
}

/* ── FAQ links — visible link color ── */
.sk-accordion-1-item .item-disc a {
    color: #FE0D3A !important;
    text-decoration: underline;
}

/* ── Pricing cards — 2-column layout (wider cards) ── */
.sk-price-3-wrap {
    grid-template-columns: 1fr 1fr !important;
    max-width: 1050px;
    margin-left: auto;
    margin-right: auto;
}

