/* The hero stays in its existing wide frame. Only the content below it is capped. */
.pc-native.home{
    --pc-home-content:1280px;
    --pc-featured-cols:4;
}
.pc-native.home .pc-home>:not(.pc-hero),
.pc-native.home.pc-storefront .site-main>.storefront-product-section{
    box-sizing:border-box;
    width:100%;max-width:var(--pc-home-content);
    margin-inline:auto;
}
.pc-native.home .pc-home .pc-featured .pc-featured-list{
    display:grid;grid-template-columns:repeat(var(--pc-featured-cols),minmax(0,1fr));
    grid-auto-flow:row;grid-auto-columns:auto;gap:clamp(12px,1.25vw,19px);
    align-items:stretch;overflow:visible;scroll-snap-type:none;padding:0;
}
.pc-native.home .pc-home .pc-featured .pc-home-card>.pc-home-photo{
    grid-template:minmax(0,1fr)/minmax(0,1fr);
    height:clamp(156px,15vw,200px);padding:8px;
}
.pc-native.home .pc-home .pc-featured .pc-home-card>.pc-home-photo img{
    width:100%;height:100%;max-height:100%;min-width:0;
    aspect-ratio:auto;object-fit:contain;
}
.pc-native.home .pc-home .pc-featured .pc-home-card>div{padding:8px 10px 9px}
.pc-native.home .pc-home .pc-featured .pc-home-card h3{margin-bottom:5px}
.pc-native.home .pc-home .pc-featured .pc-home-card .pc-home-price{margin-bottom:5px}
.pc-native.home .pc-home .pc-featured .pc-card-link{
    align-self:flex-start;display:inline-flex;align-items:center;
    min-height:33px;padding:3px 9px;
    border:1px solid currentColor;border-radius:var(--pc-control-radius,4px);
    font-size:13px;line-height:1.2;font-weight:700;text-decoration:none;
}
.pc-native.home .pc-home .pc-featured .pc-card-link:hover{
    background:var(--ink);color:#fff;
}
.pc-native.home.pc-storefront .site-main>.storefront-product-section .products li img,
.pc-native.single-product .related.products li.product img{
    width:100%;height:clamp(120px,15vw,190px);max-width:100%;
    aspect-ratio:auto;object-fit:contain;
}

/* Constrain WooCommerce's actual product container and leave its theme layout intact. */
.pc-native.single-product{
    --pc-product-content:1200px;
}
.pc-native.single-product div[id^="product-"]:has(.summary.entry-summary){
    width:100%;max-width:min(var(--pc-product-content),calc(100vw - 24px));
    margin-inline:auto;box-sizing:border-box;
}
.pc-native.single-product :is(.woocommerce-tabs,.related.products){
    max-width:var(--pc-product-content);margin-inline:auto;box-sizing:border-box;
}
.pc-native.single-product .woocommerce-product-gallery__image img:not(.zoomImg),
.pc-native.single-product .product-gallery .woocommerce-product-gallery__image img:not(.zoomImg){
    max-width:100%;object-fit:contain;
}
@media(min-width:820px){
    .pc-native.single-product.pc-storefront .product>.woocommerce-product-gallery,
    .pc-native.single-product.pc-orchid-store .product>.woocommerce-product-gallery{
        width:48%;margin-inline-end:0;
    }
    .pc-native.single-product.pc-storefront .product>.summary,
    .pc-native.single-product.pc-orchid-store .product>.summary{
        width:48%;margin-inline-start:0;box-sizing:border-box;
    }
    .pc-native.single-product.pc-orchid-store .product>.summary{padding-inline:0}
    .pc-native.single-product.pc-hestia .product>.summary{padding-inline-start:clamp(18px,3vw,36px)}
}
@media(max-width:800px){
    .pc-native.home{--pc-featured-cols:2}
    .pc-native.home .pc-home .pc-featured .pc-featured-list{gap:10px}
    .pc-native.home .pc-home .pc-featured .pc-home-card>.pc-home-photo{
        height:clamp(116px,34vw,165px);padding:6px;
    }
    .pc-native.home .pc-home .pc-featured .pc-home-card>div{padding:7px}
    .pc-native.home .pc-home .pc-featured .pc-card-link{min-height:40px}
    .pc-native.home.pc-storefront .site-main>.storefront-product-section .products li img,
    .pc-native.single-product .related.products li.product img{height:clamp(105px,31vw,145px)}
}

.pc-native.single-product .pc-product-summary-more{margin:10px 0 0}
.pc-native.single-product.pc-zakra .zak-page-header{background:none}
@media(max-width:800px){
    .pc-native.single-product.pc-woostify div[id^="product-"]:has(.summary.entry-summary){max-width:100%}
}
.pc-native.single-product .product form.cart .pc-purchase-actions .single_add_to_cart_button:not(.pc-buy-now){
    border:1px solid var(--ink)!important;
}
.pc-native.single-product.pc-zakra .product .summary>form.cart{order:3}
.pc-native.single-product.pc-zakra .product .summary>.commerce-note{order:4}
.pc-native.single-product.pc-zakra .product .summary>:is(.woocommerce-product-details__short-description,.pc-product-summary-more){order:5}
.pc-native.single-product.pc-orchid-store footer .footer-top>.row{margin-inline:0}
