/*
Theme Name: Prismcards Child
Description: Child theme voor prismcards-storefront, met een Elementor-paginatemplate.
Template: prismcards-storefront
Version: 1.0.7
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: prismcards-child
License: GPL-2.0-or-later
*/

html { scroll-behavior: smooth; }

.pc-elementor-page { width: 100%; min-width: 0; }

/* Compacte, responsieve Prismcards-opmaak. */
.pc-links a[href*="privacybeleid"]{display:none}
.pc-header .custom-logo{max-height:82px;width:auto;object-fit:contain}
.elementor h1.elementor-heading-title{font-size:clamp(30px,4vw,48px)!important;line-height:1.12!important;white-space:normal!important}
.elementor h2.elementor-heading-title{font-size:clamp(24px,2.5vw,32px)!important;line-height:1.2!important}
.elementor h3.elementor-heading-title{font-size:22px!important;line-height:1.3!important}
.elementor .elementor-widget-text-editor{font-size:16px;line-height:1.65}
.elementor>.e-con{width:100%;max-width:100%;box-sizing:border-box}
.elementor .elementor-element-efd00001{padding:64px max(24px,calc((100vw - 1180px)/2))!important;min-height:0!important}
.pc-product-slide__copy h2{font-size:clamp(24px,2.5vw,32px)!important;line-height:1.2}
.pc-product-slide__image img{object-fit:contain!important;object-position:center!important}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:18px!important;line-height:1.35!important;min-height:3em!important}
.woocommerce div.product .product_title{font-size:clamp(26px,3vw,38px)!important;line-height:1.2!important}
.woocommerce div.product .related>h2{font-size:26px!important}
.woocommerce div.product .related ul.products{width:100%!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}
.woocommerce ul.products li.product a img{height:280px!important;object-fit:contain!important;object-position:center!important}
@media(max-width:900px){.woocommerce div.product .related ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:560px){.elementor .elementor-element-efd00001{padding:40px 20px!important}.pc-header .custom-logo{max-height:48px}.woocommerce div.product .related ul.products{grid-template-columns:1fr!important}.woocommerce ul.products li.product a img{height:260px!important}}


/* Related is a section, not a product list: keep its heading above the full grid. */
.woocommerce div.product section.related.products,.woocommerce div.product section.up-sells.products{display:block!important;min-width:0;box-sizing:border-box}
.pc-mobile-menu{display:none}
@media(max-width:900px){.pc-nav{position:relative}.pc-mobile-menu{display:block;margin-left:auto;color:#e6dff4}.pc-mobile-menu summary{cursor:pointer;padding:.6rem .8rem;border:1px solid #392248;border-radius:999px;font-size:.85rem;font-weight:700}.pc-mobile-menu nav{position:absolute;z-index:50;left:0;right:0;top:100%;display:flex;flex-direction:column;gap:1rem;padding:1.25rem;background:#100a18;border:1px solid #392248;border-radius:0 0 16px 16px}.pc-mobile-menu a{color:#e6dff4;text-decoration:none}}

/* Important declarations in the parent Tailwind layers need a matching early layer. */
@layer theme {
/* Keep each slide within the viewport and its photo within its own column. */
.pc-product-slide{flex:0 0 100%!important;width:100%!important;min-width:0!important;box-sizing:border-box!important;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)!important;gap:clamp(24px,4vw,64px)!important}
.pc-product-slide__image{width:100%!important;min-width:0!important;min-height:0!important;height:400px!important;aspect-ratio:auto!important;display:flex!important;align-items:center!important;justify-content:center!important}
.pc-product-slide__image img{width:100%!important;height:100%!important;min-height:0!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center!important}
.pc-product-slide__copy{min-width:0!important;overflow-wrap:anywhere}
@media(max-width:1100px){
.pc-product-slide{grid-template-columns:minmax(0,1fr)!important;gap:24px!important;padding:32px!important}
.pc-product-slide__image{height:340px!important}
.pc-product-slide__copy{width:100%!important;padding:0!important}
.pc-slider__arrow{top:202px!important;transform:translateY(-50%)!important}
.pc-slider__arrow--prev{left:12px!important}
.pc-slider__arrow--next{right:12px!important}
}
@media(max-width:560px){
.pc-product-slide{padding:20px!important;gap:20px!important}
.pc-product-slide__image{height:280px!important}
.pc-slider__arrow{top:160px!important}
}
.woocommerce div.product section.related.products,.woocommerce div.product section.up-sells.products{display:block!important}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:18px!important;line-height:1.35!important}
.woocommerce div.product .product_title{font-size:clamp(26px,3vw,38px)!important;line-height:1.2!important}
.woocommerce ul.products li.product a img{height:280px!important;object-fit:contain!important}
@media(max-width:560px){.woocommerce ul.products li.product a img{height:260px!important}}
}
