/*
Theme Name: Salient Child Theme
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar
Author URI:  https://themeforest.net/user/themenectar
Template: salient
Version: 1.0
*/
@font-face {
    font-family: 'Vogue Sans';
    src: url('https://skilademo.placeholder.tn/wp-content/themes/salient-child/additional-font/vogue-sans-regular.woff2') format('woff2'),
         url('https://skilademo.placeholder.tn/wp-content/themes/salient-child/additional-font/vogue-sans-regular.woff') format('woff'),
         url('https://skilademo.placeholder.tn/wp-content/themes/salient-child/additional-font/vogue-sans-regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

h2 {
    font-family: 'Vogue Sans', sans-serif !important;
}

/* Blog title section removed from HTML - no CSS hiding needed */



/* Custom Product Page Layout Styles */

.product-basic-info {
    margin-bottom: 20px;
}

.product-custom-info {
    margin: 20px 0;
}

.product-purchase-info {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.product-short-description h3,
.product-additional-info h3,
.product-full-description h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 10px 0;
    color: #333;
}

.product-short-description p {
    margin: 0 0 15px 0;
    line-height: 1.6;
}

.additional-info-content {
    margin-top: 10px;
}

.attribute-item {
    margin-bottom: 8px;
    line-height: 1.5;
}

.attribute-item strong {
    font-weight: 600;
    color: #555;
}

.product-full-description {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.description-content {
    margin-top: 15px;
    line-height: 1.6;
}

/* Remove default tab styling */
.woocommerce-tabs,
.wc-tabs-wrapper,
.woocommerce-Tabs-panel,
.woocommerce-Tabs-panel--description,
.woocommerce-Tabs-panel--additional_information {
    display: none !important;
}

/* Hide any remaining tab elements */
.tabs,
.wc-tabs,
[role="tablist"] {
    display: none !important;
}

/* Hide original related products section */
.related.products,
section.related.products,
.woocommerce .related.products {
    display: none !important;
}

/* Custom Related Products Layout */
.custom-related-products {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #eee;
}

.related-products-title {
    text-align: center;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 40px;
    color: #333;
}

/* Featured Product Section */
.featured-related-product {
    margin-bottom: 50px;
    padding: 30px 0;
    background-color: #f8f9fa;
    border-radius: 8px;
}

/* Custom column widths for featured product */
.featured-related-product .row {
    display: flex;
    align-items: center;
    margin: 0;
}

.featured-related-product .col-md-4:first-child {
    flex: 0 0 33.333%;
    max-width: 33.333%;
    padding: 0 15px;
}

.featured-related-product .col-md-4:nth-child(2) {
    flex: 0 0 25%;
    max-width: 25%;
    padding: 0 15px;
}

.featured-related-product .col-md-4:last-child {
    flex: 1;
    max-width: none;
    padding: 0 15px;
}

.featured-product-description h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.featured-product-description p {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

.featured-product-image {
    text-align: center;
    padding: 20px 0;
}

.featured-product-image img {
    max-width: 100%;
    height: auto;
    box-shadow: 0 4px 50px 13px rgb(0 0 0 / 7%);
}

.featured-product-card {
    padding: 20px;
}

.featured-product-card .products {
    margin: 0;
    padding: 0;
    list-style: none;
}

.featured-product-card .products li {
    width: 100%;
    float: none;
    margin: 0;
    padding: 0;
}

/* Remaining Products Section */
.remaining-related-products {
    margin-top: 30px;
}

.autres-inspirations-title {
    text-align: center;
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 30px;
    color: #333;
}

.remaining-related-products .products {
    margin: 0;
    padding: 0;
    list-style: none;
}

.remaining-related-products .products li {
    width: 33.333%;
    float: left;
    padding: 0 15px;
    margin-bottom: 30px;
    box-sizing: border-box;
}

/* Clear floats */
.remaining-related-products .products:after {
    content: "";
    display: table;
    clear: both;
}

/* Responsive Design */
@media (max-width: 768px) {
    .featured-related-product .row {
        flex-direction: column;
    }
    
    .featured-related-product .col-md-4:first-child,
    .featured-related-product .col-md-4:nth-child(2),
    .featured-related-product .col-md-4:last-child {
        flex: none;
        max-width: 100%;
        width: 100%;
        padding: 0;
        margin-bottom: 20px;
    }
    
    .featured-product-description h3 {
        font-size: 20px;
    }
    
    .related-products-title {
        font-size: 24px;
    }
    
    .remaining-related-products .products li {
        width: 100%;
        float: none;
        margin-bottom: 20px;
    }
}

@media (max-width: 992px) and (min-width: 769px) {
    .featured-related-product .col-md-4:first-child {
        flex: 0 0 40%;
        max-width: 40%;
        padding: 0 10px;
    }
    
    .featured-related-product .col-md-4:nth-child(2) {
        flex: 0 0 30%;
        max-width: 30%;
        padding: 0 10px;
    }
    
    .featured-related-product .col-md-4:last-child {
        flex: 1;
        max-width: none;
        padding: 0 10px;
    }
    
    .remaining-related-products .products li {
        width: 50%;
    }
}


