/* Product Title and Reviews */

/* Custom Price Display */
.custom-price-display {
    display: inline-block;
    font-size: 1.2em;
    font-weight: bold;
    color: #333;
}

.custom-price-display.has-discount {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.custom-price-display .original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 0.9em;
    font-weight: normal;
}

.custom-price-display .current-price {
    display: flex;
    align-items: center;
    gap: 10px;
}

.custom-price-display .discount-badge {
    background-color: #ff4444;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: bold;
}

.custom-price-display .woocommerce-Price-amount {
    color: #333;
    font-weight: bold;
}

/* Custom Price Display */
.custom-price-display {
    display: inline-block;
    font-size: 1.2em;
    font-weight: bold;
    color: #333;
}

.custom-price-display.has-discount {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.custom-price-display .original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 0.9em;
    font-weight: normal;
}

.custom-price-display .current-price {
    display: flex;
    align-items: center;
    gap: 10px;
}

.custom-price-display .discount-badge {
    background-color: #ff4444;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: bold;
}

.custom-price-display .woocommerce-Price-amount {
    color: #333;
    font-weight: bold;
}

/* Product Title and Reviews */
.product-title-container {
    margin-bottom: 15px;
}

.price-reviews-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.price-stock-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.reviews-container {
    display: flex;
    align-items: center;
}

/* Reviews Badge */
.jdgm-prev-badge {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Price Styling */
.price.processed {
    font-size: 1.2em;
    font-weight: bold;
    color: #333;
}

/* Stock Status */
.stock-status.bold {
    font-weight: bold;
    color: #28a745;
}

/* Main Category */
.main-category-container {
    display: block !important;
    margin-bottom: 10px;
    font-size: 0.9em;
    color: #666;
}

/* Product Meta Categories */
.product_meta .posted_in {
    display: block;
    font-size: 0;
}

.product_meta .posted_in::before {
    content: "CATEGORIES: ";
    font-size: 14px;
    color: #666;
}

.product_meta .posted_in a {
    font-size: 14px;
    color: #333;
    text-decoration: none;
    margin-left: 5px;
}

.product_meta .posted_in a:hover {
    text-decoration: underline;
}

/* ACF Informations */
.acf-informations {
    margin: 20px 0;
}

.acf-informations p:first-child {
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.acf-informations p:not(:first-child) {
    margin: 5px 0;
    color: #666;
    font-size: 0.9em;
}

/* Product Meta New Test */
.product_meta.new-test .posted_in {
    display: block;
    font-size: 0;
}

.product_meta.new-test .posted_in::before {
    content: "CATEGORIES: ";
    font-size: 14px;
    color: #666;
}

.product_meta.new-test .posted_in a {
    font-size: 14px;
    color: #333;
    text-decoration: none;
    margin-left: 5px;
}

.product_meta.new-test .posted_in a:hover {
    text-decoration: underline;
}