/* Base Styles - Mobile First */
.woo-archive-lead {
    padding: 10px;
    margin: 0;
    text-align: center;
    max-width: 1240px;
    margin: 0 auto;
}

.products {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 10px;
    margin: 0;
    list-style: none;
}

.products li {
    display: flex;
    flex-direction: column;
    background: #fff;
    
    
    
    text-align: center;
    width: 100%;
}

/* Product Image Wrapper */
.products li .product-image {
    position: relative;
    width: 100%;
    padding-bottom: 100%; /* Kare alan oluştur */
    margin-bottom: 10px;
    
    overflow: hidden;
}

.products li .product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.products li .product-image:hover img {
    transform: scale(1.05);
}

/* Product Title */
.products li h3.woocommerce-loop-product__title {
    font-size: 14px;
    margin: 0 0 8px;
    color: #333;
    line-height: 1.4;
}

/* Product Price */
.price {
    font-size: 16px;
    font-weight: 600;
    margin: 8px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

/* Stock Status Indicators */
.in-stock::before {
    content: '';
    display: inline-block;
    width: 26px;
    height: 26px;
    margin-right: 5px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232ecc71' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle;
}

.out-of-stock::before {
    content: '';
    display: inline-block;
    width: 26px;
    height: 26px;
    margin-right: 5px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e74c3c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle;
}

/* Star Rating */
.star-rating {
    margin: 8px 0;
    font-size: 12px;
}

.star-rating span {
    color: #e74c3c;
}

/* Add to Cart Button */
.products li .button {
    width: 100%;
    padding: 10px;
    text-align: center;
    background: #333;
    color: #fff;
    border: none;
    
    text-transform: uppercase;
    font-weight: 600;
    margin-top: auto;
    transition: background-color 0.3s ease;
    font-size: 14px;
}

.products li .button:hover {
    background: #e74c3c;
}

/* Product Link */
.products li a {
    text-decoration: none;
    color: inherit;
}

/* Tablet Styles */
@media screen and (min-width: 768px) {
    .products {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        padding: 15px;
        max-width: 1200px;
        margin: 0 auto;
    }

    

    .products li h3.woocommerce-loop-product__title {
        font-size: 15px;
    }

    .price {
        font-size: 17px;
    }

    .products li .button {
        padding: 11px;
        font-size: 15px;
    }

    .star-rating {
        font-size: 13px;
    }
}

/* Desktop Styles */
@media screen and (min-width: 1024px) {
    .products {
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
        padding: 20px 0;
    }

    

    .products li h3.woocommerce-loop-product__title {
        font-size: 16px;
    }

    .price {
        font-size: 18px;
    }

    .products li .button {
        padding: 12px;
        font-size: 16px;
    }

    .star-rating {
        font-size: 14px;
    }
}

.storefront-sorting {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
}

.arhvive-nav .storefront-sorting {
    max-width: 1200px;
    margin: 20px auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
}
.arhvive-nav .storefront-sorting ul {
    display: flex;
    flex-direction: row;
    list-style: none;
    gap: 20px;
    margin: 0;
    font-size: 1.12345em;
}



.arhvive-page-main-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
} 

.arhvive-page-filter-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 220px;
    padding: 10px;
    margin-left: -230px;
}

/* Product Category Content Styles */
.product-category-content {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.category-heading h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

.category-introduction,
.category-second-description,
.category-third-description {
    margin-bottom: 40px;
    line-height: 1.6;
    color: #444;
}

.category-introduction p,
.category-second-description p,
.category-third-description p {
    margin-bottom: 1.5em;
}

.category-benefits {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 40px;
}

.category-benefits h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 20px;
    
}

.benefits-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: white;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.benefit-icon {
    width: 24px;
    height: 24px;
    color: #e74c3c;
    flex-shrink: 0;
}





/* Responsive Styles */
@media screen and (max-width: 768px) {
    .category-heading h2 {
        font-size: 2rem;
    }

    .benefits-list {
        grid-template-columns: 1fr;
    }

    .faq-question {
        font-size: 1rem;
        padding: 15px;
    }
    .storefront-sorting,
    .arhvive-nav .storefront-sorting {
        max-width: calc(100% - 20px);
    }
}


div#related-content > .products {
    display: flex;
    flex-direction: column;
}
