/* Shop Price Wrapper Styles */
.enbarezept-shop-price-wrapper {
    margin: 0 0 10px 0;
}

.enbarezept-shop-total-price {
    background: linear-gradient(135deg, #299d8f, #22a39f) !important;
    color: white !important;
    padding: 8px 12px !important;
    border-radius: 8px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 4px rgba(41, 157, 143, 0.3) !important;
    margin: 0 0 4px 0 !important;
    display: block !important;
}

.enbarezept-shop-total-price .woocommerce-Price-amount,
.enbarezept-shop-total-price .amount,
.enbarezept-shop-total-price span.woocommerce-Price-amount,
.enbarezept-shop-total-price span.amount,
.enbarezept-shop-total-price bdi {
    color: white !important;
    font-size: 16px !important;
    font-weight: 700 !important;
}

.enbarezept-shop-total-price .woocommerce-Price-currencySymbol,
.enbarezept-shop-total-price span.woocommerce-Price-currencySymbol {
    color: white !important;
}

.enbarezept-shop-per-gram-price {
    color: #666 !important;
    font-size: 12px !important;
    margin: 0 !important;
    font-weight: 500 !important;
}

.enbarezept-shop-per-gram-price .woocommerce-Price-amount,
.enbarezept-shop-per-gram-price .amount,
.enbarezept-shop-per-gram-price span.woocommerce-Price-amount,
.enbarezept-shop-per-gram-price span.amount,
.enbarezept-shop-per-gram-price bdi {
    color: #666 !important;
    font-size: 12px !important;
    font-weight: 500 !important;
}

.enbarezept-shop-per-gram-price .woocommerce-Price-currencySymbol,
.enbarezept-shop-per-gram-price span.woocommerce-Price-currencySymbol {
    color: #666 !important;
}

/* Product Page Price Wrapper - Higher specificity */
.enbarezept-price-display-wrapper {
    margin: 20px 0 !important;
}

.enbarezept-price-display-wrapper h2[style] {
    background: linear-gradient(135deg, #299d8f, #22a39f) !important;
    color: white !important;
    padding: 12px 16px !important;
    border-radius: 8px !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 4px rgba(41, 157, 143, 0.3) !important;
    margin: 0 0 8px 0 !important;
}

.enbarezept-price-display-wrapper h2[style] span.woocommerce-Price-amount,
.enbarezept-price-display-wrapper h2[style] span.amount,
.enbarezept-price-display-wrapper h2[style] .woocommerce-Price-amount span,
.enbarezept-price-display-wrapper h2[style] .amount span,
.enbarezept-price-display-wrapper h2[style] bdi,
.enbarezept-price-display-wrapper h2[style] .woocommerce-Price-amount bdi,
.enbarezept-price-display-wrapper h2[style] .amount bdi {
    color: white !important;
    font-size: 18px !important;
    font-weight: 700 !important;
}

.enbarezept-price-display-wrapper h2[style] span.woocommerce-Price-currencySymbol,
.enbarezept-price-display-wrapper h2[style] .woocommerce-Price-currencySymbol {
    color: white !important;
}

.enbarezept-price-display-wrapper h5[style] {
    color: #666 !important;
    font-size: 14px !important;
    margin: 0 !important;
    font-weight: 500 !important;
}

.enbarezept-price-display-wrapper h5[style] span.woocommerce-Price-amount,
.enbarezept-price-display-wrapper h5[style] span.amount,
.enbarezept-price-display-wrapper h5[style] .woocommerce-Price-amount span,
.enbarezept-price-display-wrapper h5[style] .amount span,
.enbarezept-price-display-wrapper h5[style] bdi,
.enbarezept-price-display-wrapper h5[style] .woocommerce-Price-amount bdi,
.enbarezept-price-display-wrapper h5[style] .amount bdi {
    color: #666 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
}

.enbarezept-price-display-wrapper h5[style] span.woocommerce-Price-currencySymbol,
.enbarezept-price-display-wrapper h5[style] .woocommerce-Price-currencySymbol {
    color: #666 !important;
}

/* Legacy support */
.enbarezept-product-price-wrapper {
    margin: 20px 0 !important;
}

.enbarezept-product-price-wrapper h2 {
    background: linear-gradient(135deg, #299d8f, #22a39f) !important;
    color: white !important;
    padding: 12px 16px !important;
    border-radius: 8px !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 4px rgba(41, 157, 143, 0.3) !important;
    margin: 0 0 8px 0 !important;
}

.enbarezept-product-price-wrapper h2 .woocommerce-Price-amount,
.enbarezept-product-price-wrapper h2 .amount {
    color: white !important;
    font-size: 18px !important;
    font-weight: 700 !important;
}

.enbarezept-product-price-wrapper h2 .woocommerce-Price-currencySymbol {
    color: white !important;
}

.enbarezept-product-price-wrapper h5 {
    color: #666 !important;
    font-size: 14px !important;
    margin: 0 !important;
    font-weight: 500 !important;
}

.enbarezept-product-price-wrapper h5 .woocommerce-Price-amount,
.enbarezept-product-price-wrapper h5 .amount {
    color: #666 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
}

/* Discount styling */
.enbarezept-discount-badge {
    color: #28a745 !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    margin: 2px 0 !important;
}

.enbarezept-product-discount-badge {
    color: #28a745;
    font-size: 12px;
    font-weight: 600;
    margin: 4px 0;
}

/* Strikethrough original price */
.enbarezept-original-price {
    text-decoration: line-through;
    opacity: 0.7;
    font-size: 14px;
}

.enbarezept-product-original-price {
    text-decoration: line-through;
    opacity: 0.7;
    font-size: 16px;
}

/* Modal Custom Price Styling - No WooCommerce interference */
.enbarezept-modal .price-amount {
    background: linear-gradient(135deg, #299d8f, #22a39f) !important;
    color: white !important;
    padding: 12px 16px !important;
    border-radius: 8px !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 4px rgba(41, 157, 143, 0.3) !important;
    margin: 0 0 8px 0 !important;
    display: block !important;
    text-align: center !important;
}

.enbarezept-modal .per-gram-amount {
    color: #666 !important;
    font-size: 14px !important;
    margin: 0 !important;
    font-weight: 500 !important;
    text-align: center !important;
    display: block !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .enbarezept-shop-total-price {
        font-size: 14px;
        padding: 6px 10px;
    }
    
    .enbarezept-shop-per-gram-price {
        font-size: 11px;
    }
    
    .enbarezept-product-price-wrapper h2 {
        font-size: 16px;
        padding: 10px 14px;
    }
    
    .enbarezept-product-price-wrapper h5 {
        font-size: 13px;
    }
    
    .enbarezept-modal .price-amount {
        font-size: 16px !important;
        padding: 10px 14px !important;
    }
    
    .enbarezept-modal .per-gram-amount {
        font-size: 13px !important;
    }
}
