/**
Theme Name: ROCK Thema
Author: ROCK Design B.V.
Author URI: https://www.rockdesign.nl
Description: ROCK Design Rijssen is specialist online | e-commerce creaties.
Version: 1.0.0
Text Domain: rock-thema
Template: astra
*/

/* Totaalprijs blok */
.custom-total-price-wrapper {
    display: none;
    padding: 15px;
    border-left: 4px solid #f58220;
    background: #f5f5f5;
}

.custom-total-price-wrapper[style*="display: flex"] {
    display: inline-block !important;
    width: auto !important;
    max-width: max-content;
}

.custom-total-label {
    display: inline;
    font-size: 16px;
    font-weight: 700;
}

.custom-total-label::after {
    content: ": ";
}

.custom-total-price {
    display: inline;
}

.custom-total-price > .woocommerce-Price-amount {
    display: inline;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
}

.custom-total-price .rock-b2b-advice-price {
    display: block;
    width: max-content;
    max-width: 100%;
    margin-top: 4px;
    font-size: 14px;
    line-height: 1.3;
    opacity: 0.75;
    white-space: nowrap;
}

.custom-total-price .rock-b2b-advice-price .woocommerce-Price-amount {
    font-size: inherit;
    font-weight: inherit;
}

/* B2B prijsweergave */
.price .rock-b2b-price {
    display: inline !important;
    font-weight: 700;
}

.price .rock-b2b-price::after {
    content: " excl. BTW";
    margin-left: 8px;
    font-size: 11px;
    font-weight: 400;
    color: #999;
}

.price .rock-b2b-advice-price {
    display: block !important;
    margin-top: 2px;
    font-size: 11px;
    line-height: 1.2;
    opacity: 0.75;
    white-space: nowrap;
}

.price .rock-b2b-advice-price::after {
    content: " excl. BTW";
}

.price .rock-b2b-advice-price .woocommerce-Price-amount {
    font-size: inherit;
    font-weight: inherit;
}

/* Elementor productkaarten */
.elementor-widget-woocommerce-product-price:has(.rock-b2b-price) + .elementor-widget-text-editor {
    display: none !important;
}

.elementor-widget-woocommerce-product-price:not(:has(.rock-b2b-price)) .price {
    margin-bottom: 0;
}

.woocommerce form .password-input {
    position: relative;
    display: block;
    width: 100%;
}

.woocommerce form .password-input input {
    padding-right: 45px !important;
}

.woocommerce form .show-password-input {
    position: absolute !important;
    right: 12px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 28px !important;
    height: 28px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    cursor: pointer;
}

.woocommerce form .show-password-input::after {
    content: "👁" !important;
    display: block;
    color: #333 !important;
    font-size: 16px !important;
    line-height: 28px !important;
    text-align: center;
    opacity: 1 !important;
}

.custom-total-price,
.custom-total-tax,
.custom-total-price .rock-b2b-advice-price {
    white-space: nowrap;
}