/*
 * Shop/archive customization layer.
 *
 * Use this file for shop loops, archive product cards, layered filters, brand
 * filter grids, archive toolbar polish, and other WooCommerce archive-only UI.
 */

.archive.woocommerce-page .shop-container {
    align-items: flex-start;
}

.archive.woocommerce-page .products .product-small.box {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 100%;
}

.archive.woocommerce-page .products .product-small .box-image {
    padding: 16px 16px 8px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(244, 249, 255, 0.98) 100%);
}

.archive.woocommerce-page .products .product-small .box-image img {
    aspect-ratio: 1 / 1;
    object-fit: contain;
}

.archive.woocommerce-page .products .product-small .box-text {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 8px;
}

.archive.woocommerce-page .products .product-small .box-text-inner {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
}

.archive.woocommerce-page .products .product-title a {
    min-height: 46px;
    margin-top: 6px;
}

.archive.woocommerce-page .products .price-box {
    min-height: 58px;
    margin-top: auto;
}

.archive.woocommerce-page .products .price-box .price {
    margin-bottom: 4px;
}

.archive.woocommerce-page .products .show-on-hover.right {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.1);
    backdrop-filter: blur(8px);
}

.archive.woocommerce-page .products .show-on-hover.right img {
    max-width: 72px;
    max-height: 18px;
}

.archive.woocommerce-page .products .image-tools.top.right {
    top: auto;
    right: 14px;
    bottom: 14px;
    opacity: 1;
}

.archive.woocommerce-page .products .image-tools .cart-icon {
    width: 40px;
    height: 40px;
    background-size: 18px;
}

.archive.woocommerce-page h1.title-page,
.archive.woocommerce-page .page-title-inner,
.archive.woocommerce-page .woocommerce-result-count,
.archive.woocommerce-page .woocommerce-ordering {
    position: relative;
    z-index: 1;
}

.archive.woocommerce-page h1.title-page {
    padding: 14px 18px;
    border-radius: 16px;
    box-shadow: var(--cardShadow);
}

.archive.woocommerce-page .woocommerce-ordering select {
    min-height: 44px;
    border-radius: 14px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background-position: right 14px center;
    box-shadow: var(--cardShadow);
}

@media (max-width: 991px) {
}

@media (max-width: 767px) {
    .archive.woocommerce-page .products .product-small .box-image {
        padding: 12px 12px 4px;
    }

    .archive.woocommerce-page .products .product-title a {
        min-height: 42px;
    }

    .archive.woocommerce-page .products .price-box .price {
        font-size: 20px;
    }
}
