/* Product List Page Specific Styles */
/* This file contains styles only for product listing pages to avoid conflicts with product detail pages */

/* Product List Container */
.pro-main .right .product-list > ul {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Product List Item - Single Column Layout */
.pro-main .right .product-list > ul > li {
    display: flex;
    width: 100%;
    height: auto;
    position: relative;
    padding: 0;
    margin-bottom: 25px;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s;
    align-items: stretch;
}

.pro-main .right .product-list > ul > li:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* Product Link Container */
.pro-main .right .product-list > ul > li > a {
    display: flex;
    align-items: stretch;
    flex: 1;
    text-decoration: none;
}

/* Product Image Section */
.pro-main .right .product-list > ul > li .pic {
    display: flex;
    flex: 0 0 280px;
    width: 280px;
    min-height: 200px;
    align-items: center;
    overflow: hidden;
    position: relative;
    padding: 20px;
    border-radius: 0;
    border: none;
    border-right: 1px solid #eee;
    justify-content: center;
    background: #fafafa;
}

.pro-main .right .product-list > ul > li .pic a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.pro-main .right .product-list > ul > li .pic img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    transition: all 0.35s;
}

.pro-main .right .product-list > ul > li:hover .pic img {
    transform: scale(1.05);
}

/* Product Text Section */
.pro-main .right .product-list > ul > li .text {
    position: relative;
    display: block;
    flex: 1;
    width: auto;
    height: auto;
    padding: 25px 30px;
}

.pro-main .right .product-list > ul > li > a .text {
    flex: 1;
}

/* Product Tags */
.pro-main .right .product-list > ul > li .text .tag {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.pro-main .right .product-list > ul > li .text .tag span {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 12px;
    height: 24px;
    border-radius: 12px;
    margin-right: 10px;
    margin-bottom: 5px;
    color: #0E50C8;
    font-size: 14px;
    font-family: 'arial';
    background-color: #0E50C833;
}

.pro-main .right .product-list > ul > li .text .tag span em {
    font-weight: bold;
}

/* Product Title */
.pro-main .right .product-list > ul > li .text .title {
    font-size: 22px;
    line-height: 1.4;
    min-height: auto;
    color: #333;
    font-family: 'Poppins-SemiBold';
    display: block;
    overflow: visible;
    margin-bottom: 10px;
}

.pro-main .right .product-list > ul > li:hover .text .title {
    color: #0066CC;
}

/* Product Description */
.pro-main .right .product-list > ul > li .text .desc {
    font-size: 15px;
    font-weight: 400;
    color: #666;
    line-height: 1.6;
    display: block;
    overflow: visible;
}

/* Product Star Rating */
.pro-main .right .product-list > ul > li .text .star {
    margin-top: 15px;
}

.pro-main .right .product-list > ul > li .text .star img {
    display: block;
    width: auto;
    height: 18px;
}

/* CTA Button Box */
.pro-main .right .product-list > ul > li .cta-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 20px 25px;
    border-left: 1px solid #eee;
    background: #fafafa;
    flex: 0 0 auto;
}

/* View Details Button */
.pro-main .right .product-list > ul > li .cta-box .btn-detail {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 140px;
    height: 42px;
    background: #0066cc;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    border-radius: 4px;
    transition: background 0.3s;
    text-decoration: none;
}

.pro-main .right .product-list > ul > li .cta-box .btn-detail a {
    color: #fff;
    text-decoration: none;
}

.pro-main .right .product-list > ul > li .cta-box .btn-detail:hover {
    background: #0052a3;
}

.pro-main .right .product-list > ul > li .cta-box .btn-detail i {
    font-size: 12px;
}

/* Get Quote Button */
.pro-main .right .product-list > ul > li .cta-box .btn-quote {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 140px;
    height: 42px;
    background: #fff;
    color: #0066cc;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid #0066cc;
    border-radius: 4px;
    transition: all 0.3s;
    text-decoration: none;
}

.pro-main .right .product-list > ul > li .cta-box .btn-quote a {
    color: #0066cc;
    text-decoration: none;
}

.pro-main .right .product-list > ul > li .cta-box .btn-quote:hover {
    background: #0066cc;
    color: #fff;
}

.pro-main .right .product-list > ul > li .cta-box .btn-quote:hover a {
    color: #fff;
}

/* Mobile Responsive Styles */
@media only screen and (max-width:767px) {
    /* Stack layout vertically on mobile */
    .pro-main .right .product-list > ul > li {
        flex-direction: column;
    }
    
    .pro-main .right .product-list > ul > li > a {
        flex-direction: column;
    }
    
    /* Full width image on mobile */
    .pro-main .right .product-list > ul > li .pic {
        flex: unset;
        width: 100%;
        height: 200px;
        border-right: none;
        border-bottom: 1px solid #eee;
    }
    
    /* Adjust text padding */
    .pro-main .right .product-list > ul > li .text {
        padding: 20px;
    }
    
    .pro-main .right .product-list > ul > li .text .title {
        font-size: 18px;
    }
    
    .pro-main .right .product-list > ul > li .text .desc {
        font-size: 14px;
    }
    
    /* Horizontal button layout on mobile */
    .pro-main .right .product-list > ul > li .cta-box {
        flex-direction: row;
        padding: 15px 20px;
        border-left: none;
        border-top: 1px solid #eee;
        width: 100%;
    }
    
    .pro-main .right .product-list > ul > li .cta-box .btn-detail,
    .pro-main .right .product-list > ul > li .cta-box .btn-quote {
        flex: 1;
        width: auto;
        height: auto;
        min-height: 38px;
        padding: 8px 12px;
        font-size: 13px;
        white-space: nowrap;
    }
}


/* Extended Description Section */
.category-extended-info {
    margin: 50px 0 40px;
    padding: 40px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.extended-content {
    max-width: 100%;
}

.extended-title {
    font-size: 28px;
    color: #333;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 3px solid #0066cc;
}

.extended-text {
    margin-bottom: 30px;
}

.extended-text p {
    font-size: 15px;
    line-height: 1.8;
    color: #000;
    margin-bottom: 15px;
}

.extended-text p a{ font-weight: 600; }


.extended-text p:last-child {
    margin-bottom: 0;
}

.extended-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.feature-item {
    background: #fff;
    padding: 25px 20px;
    border-radius: 6px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.feature-item .icon-check {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: #0066cc;
    border-radius: 50%;
    margin-bottom: 15px;
    position: relative;
}

.feature-item .icon-check::after {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 24px;
    font-weight: bold;
}

.feature-item h3 {
    font-size: 16px;
    color: #333;
    font-weight: 600;
    margin-bottom: 8px;
}

.feature-item p {
    font-size: 13px;
    color: #000000;
    line-height: 1.5;
    margin: 0;
}

/* Tablet */
@media (max-width: 1024px) {
    .category-extended-info {
        padding: 30px;
        margin: 40px 0 30px;
    }
    
    .extended-title {
        font-size: 24px;
    }
    
    .extended-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .category-extended-info {
        padding: 25px 20px;
        margin: 30px 0 25px;
    }
    
    .extended-title {
        font-size: 20px;
        margin-bottom: 15px;
        padding-bottom: 12px;
    }
    
    .extended-text p {
        font-size: 14px;
        line-height: 1.7;
    }
    
    .extended-features {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 20px;
    }
    
    .feature-item {
        padding: 20px 15px;
    }
    
    .feature-item .icon-check {
        width: 40px;
        height: 40px;
        margin-bottom: 12px;
    }
    
    .feature-item .icon-check::after {
        font-size: 20px;
    }
    
    .feature-item h3 {
        font-size: 15px;
    }
    
    .feature-item p {
        font-size: 12px;
    }
}

/* Mobile: show product list first, sidebar second */
@media only screen and (max-width: 767px) {
  .pro-main {
    display: flex; /* ensure flex context */
    flex-direction: column;
  }

  .pro-main .right {
    order: 1;
  }

  .pro-main .left {
    order: 2;
  }
}


