/* Gadget Story - Product Price [gs_price] */
body.single-product .gspp-price {
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: inherit;
    direction: rtl;
}

body.single-product .gspp-price__value {
    width: 100%;
    min-height: 36px;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
    direction: rtl;
    text-align: left;
    color: #C96D38;
    font-family: inherit;
    line-height: 1.2;
}

body.single-product .gspp-price__value:empty {
    display: none;
    min-height: 0;
}

body.single-product .gspp-price__value > .price,
body.single-product .gspp-price__value .price {
    display: inline-flex !important;
    align-items: baseline !important;
    justify-content: flex-end !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    color: #C96D38 !important;
    font-family: inherit !important;
    line-height: 1.2 !important;
}

body.single-product .gspp-price__value .woocommerce-Price-amount,
body.single-product .gspp-price__value > .woocommerce-Price-amount {
    color: #C96D38 !important;
    font-family: inherit !important;
    font-size: 25px !important;
    font-weight: 850 !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
}

body.single-product .gspp-price__value .woocommerce-Price-currencySymbol {
    color: #C96D38 !important;
    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 700 !important;
}

body.single-product .gspp-price__value ins {
    display: inline-flex !important;
    align-items: baseline !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    color: #C96D38 !important;
    text-decoration: none !important;
    font-weight: 850 !important;
}

body.single-product .gspp-price__value del {
    display: inline-flex !important;
    align-items: baseline !important;
    margin: 0 0 0 4px !important;
    padding: 0 !important;
    color: #B89B89 !important;
    opacity: .72 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
}

body.single-product .gspp-price__value del .woocommerce-Price-amount,
body.single-product .gspp-price__value del .woocommerce-Price-currencySymbol {
    color: #B89B89 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
}

/* Only when [gs_price] is actually on the page, JS adds this class.
   Then the old standalone Product Price outputs are hidden everywhere. */
body.single-product.gspp-has-shortcode .elementor-widget-woocommerce-product-price,
body.single-product.gspp-has-shortcode .summary > p.price,
body.single-product.gspp-has-shortcode .product > p.price,
body.single-product.gspp-has-shortcode .woocommerce-variation-price {
    display: none !important;
}

/* Never hide the new shortcode itself. */
body.single-product.gspp-has-shortcode .gspp-price,
body.single-product.gspp-has-shortcode .gspp-price .price {
    display: flex !important;
}

.gspp-price--editor {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 8px 10px;
    border: 1px dashed #E8D8CD;
    border-radius: 10px;
    color: #C96D38;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
}

@media (max-width: 767px) {
    body.single-product .gspp-price__value .woocommerce-Price-amount,
    body.single-product .gspp-price__value > .woocommerce-Price-amount {
        font-size: 23px !important;
    }

    body.single-product .gspp-price__value .woocommerce-Price-currencySymbol {
        font-size: 13px !important;
    }
}
