/* Single Product Template Styles */

/* Main container */

.product-short-description{
    margin-top:50px;
}

.supremefoam-single-product-wrapper {
    width: 100%;
    margin: 0 auto;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

.product-short-description td{
    border-color: #0000001a;
}

/* Add table border styles */
.product-short-description table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #0000001a;
    margin-bottom: 20px;
}

.product-short-description table th,
.product-short-description table td {
    border: 1px solid #0000001a;
    padding: 8px 12px;
}

.supremefoam-product-content{
    max-width: 1200px;
    margin:0 auto;
}

/* Product header with blue background */
.supremefoam-product-header {
    background-color: #1a4da2;
    color: #fff;
    padding: 80px 0px;
    text-align: center;
    margin-bottom: 80px;
    width: 100%;
}

.product-title {
    font-size: 36px;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    color: #ffffff;
}

/* Breadcrumb */
.product-breadcrumb {
    margin-bottom: 20px;
    padding: 0 20px;
    
}

.product-breadcrumb .woocommerce-breadcrumb {
    font-size: 14px;
    
}

.product-breadcrumb .woocommerce-breadcrumb a {
    color: #1a4da2;
    text-decoration: none;
}

/* Product details container - grid layout */
.product-details-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    padding: 0 20px;
}

/* Product gallery */
.product-gallery {
    width: 100%;
}

/* WooCommerce product gallery styles */
.product-gallery .woocommerce-product-gallery {
    width: 100% !important;
    margin-bottom: 30px;
}

.product-gallery .woocommerce-product-gallery__wrapper {
    margin: 0;
}

.product-gallery .woocommerce-product-gallery__image {
    border: 1px solid #eee;
    border-radius: 5px;
    overflow: hidden;
}

.product-gallery .flex-control-thumbs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 15px;
    padding: 0;
}

.product-gallery .flex-control-thumbs li {
    width: 80px !important;
    height: 80px;
    border: 1px solid #eee;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    margin: 0;
    list-style: none;
}

.product-gallery .flex-control-thumbs li img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.product-gallery .flex-control-thumbs li img.flex-active,
.product-gallery .flex-control-thumbs li img:hover {
    opacity: 1;
    border-color: #1a4da2;
}

/* Product info section */
.product-info {
    width: 100%;
}

/* Product icons grid */
.product-icons-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.product-icon {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.product-icon img {
    width: 100%;
    height: 40px;
    object-fit: contain;
    margin-bottom: 10px;
}

.icon-name {
    font-size: 12px;
    line-height: 1.2;
}

/* Features/Spec section */
.product-features-spec {
    margin-bottom: 30px;
}

.product-info h3{
    font-size: 15px !important;
    font-weight: normal !important;
    margin-bottom: 30px;
    margin-top: 30px;;
    padding: 15px 20px 15px 20px;
    color: #ffffff;
    background-color: #4d4c51;
    display: inline-block;

}

.product-specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.spec-item {
    padding:0px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.spec-icon {
    width: 100%;
    object-fit: contain;
    margin-bottom: 0;
}

/* These classes are not being used anymore but keeping them in the CSS in case they're needed later */
.spec-label {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.spec-value {
    display: block;
    font-size: 16px;
    font-weight: 600;
}

.shortcode-desc {
    margin-top: 20px;
}

/* Colors section */
.product-colors {
    margin-bottom: 30px;
}

.product-colors h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.color-grid {
    display: grid;
    grid-template-columns: repeat(5, 2fr);
    gap: 15px;
}

.color-swatch {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.color-sample {
    width: 80px;
    height: 80px;
    border-radius: 100px;
    margin-bottom: 10px;
    border: 1px solid #eee;
}

.woocommerce-page img.color-icon {
    max-width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 100px;
    margin-bottom: 10px;
    border: 1px solid #eee;
}

.color-name {
    font-size: 14px;
}

/* Inquiry form */
.product-inquiry {
}

.product-inquiry h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.inquiry-form .form-field {
    margin-bottom: 15px;
}

.inquiry-form input,
.inquiry-form textarea {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
}

.inquiry-form textarea {
    resize: vertical;
    min-height: 100px;
}

.inquiry-form .submit-button {
    background-color: #444;
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    width: 100%;
    transition: background-color 0.3s;
}

.inquiry-form .submit-button:hover {
    background-color: #333;
}

/* Related products section */
.related-products-section {
    margin-top: 60px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.related-products-section h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}

.related-products-section ul.products {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.related-products-section ul.products li {
    text-align: center;
}

.related-products-section ul.products li img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 10px;
}

.related-products-section ul.products li h2 {
    font-size: 16px;
    margin-bottom: 5px;
}

/* Responsive Styles */
@media (max-width: 991px) {

    .product-title{
        font-size:20px;
    }

    .product-specs-grid{
        grid-template-columns: repeat(4, 1fr);
    }

    .product-details-container {
        grid-template-columns: 1fr;
    }
    
    .product-icons-grid {
        grid-template-columns: repeat(6, 1fr);
    }
    
    .related-products-section ul.products {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {

}

@media (max-width: 480px) {
    .product-icons-grid,
    .color-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .product-specs-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .related-products-section ul.products {
        grid-template-columns: repeat(4, 1fr);
    }
}

.product-short-description {
    margin-bottom: 30px;
    line-height: 1.6;
    color: #333;
}

.product-short-description h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.product-short-description p {
    margin-bottom: 15px;
}

.product-short-description p:last-child {
    margin-bottom: 0;
} 