/**
 * Frontend styles for WooCommerce eBook Enhanced
 */

/* Pricing tiers display on product page */
.wee-pricing-info {
    margin: 20px 0;
    padding: 15px;
    background: #f8f9fa;
    border-left: 4px solid #0073aa;
    border-radius: 4px;
}

.wee-pricing-info h4 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.1em;
    color: #333;
}

.wee-pricing-info p {
    margin: 5px 0;
    line-height: 1.6;
}

.wee-pricing-info p strong {
    color: #0073aa;
}

/* Product subtitle on shop page */
.wee-product-subtitle {
    margin: 5px 0 10px;
    font-size: 0.9em;
    color: #666;
    font-style: italic;
    line-height: 1.4;
}

/* Product subtitle on single product page */
.wee-product-subtitle-single {
    margin: 10px 0 15px;
    font-size: 1.1em;
    color: #555;
    font-weight: 400;
    line-height: 1.5;
}

/* Responsive styles */
@media (max-width: 768px) {
    .wee-pricing-info {
        padding: 12px;
        font-size: 0.95em;
    }

    .wee-product-subtitle {
        font-size: 0.85em;
    }

    .wee-product-subtitle-single {
        font-size: 1em;
    }
}

/* Elementor template fallback */
.wee-elementor-fallback {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.wee-elementor-fallback .product-info {
    margin-top: 20px;
}

.wee-elementor-fallback .price {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #0073aa;
}

.woocommerce-mini-cart__buttons.buttons .button.wc-forward,
.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button{
    border-radius: 10px !important;
}

.wc-block-components-button.wp-element-button.wc-block-cart__submit-button.contained {
    min-height: 3em;
    align-items: center;
    display: inline-flex;
    height: auto;
    justify-content: center;
    position: relative;
    text-align: center;
    transition: box-shadow .1s linear;
    color: #ffffff !important;
    background-color: #2d5bf6 !important;
    border-radius: 65px;
}

.wc-block-components-button.wp-element-button.wc-block-cart__submit-button.contained:hover {
    background-color: #1338b6 !important;
}

.shfb-header {
    border-bottom: 1px solid #ddd;
}

table.wc-block-cart-items .wc-block-cart-item__wrap {
    text-align: left;
}

.wp-block-woocommerce-checkout h3.wc-block-components-product-name {
    margin: 0 !important;
}

.wp-block-woocommerce-checkout .wc-block-components-product-metadata__description {
    display: none !important;
}

.woocommerce ul.products li.product h2 {
    margin-top: 20px !important;
}

.woocommerce ul.products li.product .price del {
    display: inline-block !important;
}

.woocommerce div.product p.price del,
.woocommerce div.product span.price del {
    display: inline-block !important;
}

.wc-block-components-order-summary .wc-block-components-order-summary-item__individual-prices {
    padding: 0 !important;
}


.shfb-footer {
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

ul#menu-footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    gap: 10px 30px;
    flex-wrap: wrap;
}

ul#menu-footer-menu a:not(:hover) {
    color: #000 !important;
}

ul#menu-footer-menu a:hover {
    color: var(--sydney-global-color-1) !important;
}

.shfb-below_footer_row .shfb-builder-item.shfb-component-copyright {
    width: 100%;
    text-align: center;
}

.shfb-main_footer_row {
    min-height: inherit !important;
}

/**** ALL ROUNDED - START ****/

.wc-block-components-radio-control--highlight-checked::after,
.wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted,
.wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option--checked-option-highlighted {
    border-radius: 10px !important;
}

.at-block-button__wrapper,
.button:not(.c1-btn-add-to-cart),
.tnp.tnp-subscription form .tnp-field.tnp-field-button input[type="submit"],
.tnp-profile input[type="submit"],
.wc-block-components-button,
.wp-element-button,
.product-hover-image,
.woocommerce ul.products li.product .attachment-woocommerce_thumbnail,
.woocommerce-product-gallery__image img {
    border-radius: 10px !important;
}

body .botiga-single-addtocart-wrapper .botiga-quantity-minus,
body .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button--minus,
body .botiga-single-addtocart-wrapper .botiga-quantity-plus,
body .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button--plus,
body .botiga-single-addtocart-wrapper input.qty,
body .wc-block-components-quantity-selector__input {
    border-radius: 8px !important;
}

/**** ALL ROUNDED - END ****/
/**** RESET STYLE FIELDS - START ****/

body div.site form input:not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]):not(.qty):not(.dgwt-wcas-search-input),
body div.site form select,
body div.site form textarea,
    /*body form button:not(.show-password-input),*/
body .woocommerce .select2-container .select2-selection--single,
body .woocommerce-page .select2-container .select2-selection--single {
    font-family: inherit;
    font-size: 16px;
    line-height: 1.4;
    color: #333;
    background-color: #fff;
    border-width: 1px !important;
    border-style: solid !important;
    border-color: #212121;
    border-radius: 10px !important;
    padding: 10px 14px;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}

body form.wc-block-checkout__form input:not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]),
body form.wc-block-components-totals-coupon__form input:not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]) {
    padding: 8px 14px 0 !important;
}

/* Focus */
body div.site form input:not(.dgwt-wcas-search-input):focus,
body div.site form select:focus,
body div.site form textarea:focus,
body .woocommerce .select2-container .select2-selection--single:focus,
body .woocommerce-page .select2-container .select2-selection--single:focus {
    border-color: #212121;
    /*box-shadow: inherit !important;*/
    outline: none !important;
}

body div.site form input:not([type="button"]):not([type="submit"]):not(.qty):not(.dgwt-wcas-search-input),
body div.site form select,
body div.site form textarea {
    border-radius: 10px !important;
    font-size: 16px !important;
}

body .wc-block-components-form .wc-block-components-text-input label,
body .wc-block-components-text-input label {
    left: 15px;
}

/**** RESET STYLE FIELDS - END ****/

/**** My account - START ****/

.woocommerce-MyAccount-content button {
    width: auto;
}

/**** My account - END ****/

.woocommerce-info button,
.woocommerce-info .button,
.woocommerce-message button,
.woocommerce-message .button,
.woocommerce-error button,
.woocommerce-error .button {
    padding: 7px 10px;
}



body .wc-block-components-checkbox .wc-block-components-checkbox__mark {
    margin-left: 0.288em;
    margin-top: .1625em;
}

body .wc-block-components-radio-control__description-group .wc-block-components-radio-control__description,
body .wc-block-components-radio-control__description-group .wc-block-components-radio-control__label,
body .wc-block-components-radio-control__label-group .wc-block-components-radio-control__description,
body .wc-block-components-radio-control__label-group .wc-block-components-radio-control__label {
    font-weight: 700;
}

body .wc-block-components-radio-control__label-group .wc-block-components-radio-control__label  {
    display: flex;
    align-items: center;
    gap: 2px 10px;
}

@media (max-width: 767px) {
    body .wc-block-components-radio-control__label-group .wc-block-components-radio-control__label  {
        flex-wrap: wrap;
    }
}

body .wc-block-components-radio-control__label-group .wc-block-components-radio-control__label img {
    max-width: 100%;
    width: auto;
    height: 14px;
    object-fit: contain;
    object-position: center left;
}

.wc-block-checkout__shipping-option .wc-block-components-radio-control__option:not(.wc-block-components-radio-control__option-checked) .custom-shipping-meta,
.wc-block-checkout__shipping-option .wc-block-components-radio-control__option:not(.wc-block-components-radio-control__option-checked) .wc-block-components-radio-control__description-group {
    display: none !important;
}

.wc-block-components-form .wc-block-components-checkout-step {
    margin-bottom: 0 !important;
}

.woocommerce .woocommerce-error:focus-visible,
.woocommerce .woocommerce-info:focus-visible,
.woocommerce .woocommerce-message:focus-visible {
    outline: none !important;
}

.woocommerce .woocommerce-error,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-message {
    outline: none !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    border: 0 !important;
    border-radius: 15px !important;
}

.woocommerce .woocommerce-error li,
.woocommerce .woocommerce-info li,
.woocommerce .woocommerce-message li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.shfb-component-woo_icons .site-header-cart .count-number,
.shfb-component-woo_icons .header-wishlist-icon .count-number {
    background-color: var(--sydney-global-color-1) !important;
    border-color: transparent !important;
    top: -10px !important;
    right: -18px !important;
}