/* v0.5.2 - WooCommerce archive and product visual refinement */
.tz-shop-products ul.products li.product,.tz-woo-single ul.products li.product{display:flex!important;flex-direction:column!important;min-width:0;min-height:345px;overflow:hidden;transition:box-shadow .25s,transform .25s}
.tz-shop-products ul.products li.product:hover,.tz-woo-single ul.products li.product:hover{box-shadow:0 15px 35px #3b183817;transform:translateY(-3px)}
.tz-shop-products ul.products li.product a.woocommerce-LoopProduct-link,.tz-woo-single ul.products li.product a.woocommerce-LoopProduct-link{display:flex;flex:1;flex-direction:column;text-decoration:none}
.tz-shop-products ul.products li.product img,.tz-woo-single ul.products li.product img{width:100%;height:auto;aspect-ratio:1;object-fit:contain;margin-bottom:12px!important}
.tz-shop-products ul.products li.product .woocommerce-loop-product__title,.tz-woo-single ul.products li.product .woocommerce-loop-product__title{min-height:3.7em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.85!important}
.tz-shop-products ul.products li.product .price,.tz-woo-single ul.products li.product .price{margin-top:auto!important;min-height:28px}
.tz-shop-products ul.products li.product .button,.tz-woo-single ul.products li.product .button{margin-top:12px!important;min-height:38px;display:flex!important;align-items:center;justify-content:center;flex-shrink:0;background:#3b1838!important;color:#f1d078!important;border-radius:10px!important;text-align:center}
.tz-shop-products ul.products li.product .added_to_cart,.tz-woo-single ul.products li.product .added_to_cart{font-size:12px;text-align:center}
@media(min-width:1100px){.tz-shop-layout{grid-template-columns:220px minmax(0,1fr)}.tz-shop-products ul.products{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px}}
@media(min-width:1600px){.tz-shop-products ul.products{grid-template-columns:repeat(5,minmax(0,1fr))!important}}
@media(max-width:699px){.tz-shop-products ul.products li.product,.tz-woo-single ul.products li.product{min-height:295px}}
/* Product hero: elevated gallery and purchase area */
.tz-woo-single div.product{border:0;background:transparent;box-shadow:none;padding:0;overflow:visible;display:flow-root}
.tz-woo-single div.product>.woocommerce-product-gallery,.tz-woo-single div.product>.summary{background:#fff;border:1px solid #f0e2e9;border-radius:22px;box-shadow:0 14px 35px #3b18380a;padding:clamp(16px,2.2vw,30px);box-sizing:border-box}
.tz-woo-single div.product>.woocommerce-product-gallery{position:relative}
.tz-woo-single div.product>.summary{display:flex;flex-direction:column;gap:10px}
.tz-woo-single div.product>.summary .product_title{margin:0;padding-bottom:15px;border-bottom:1px solid #f3e8ed;font-weight:850}
.tz-woo-single div.product>.summary .price{background:linear-gradient(110deg,#fdf1f6,#fff);border:1px solid #f2e4ea;border-radius:14px;padding:12px 16px;margin:0!important}
.tz-woo-single div.product>.summary form.cart{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:6px 0 12px}
.tz-woo-single div.product>.summary form.variations_form{display:block}
.tz-woo-single .woocommerce-product-gallery .flex-control-thumbs{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:14px!important;padding:0!important}
.tz-woo-single .woocommerce-product-gallery .flex-control-thumbs li{float:none!important;width:auto!important;list-style:none}
.tz-woo-single .woocommerce-product-gallery .flex-control-thumbs img{width:100%;aspect-ratio:1;object-fit:contain;opacity:.72;border:1px solid #eadce3;border-radius:12px;padding:4px;box-sizing:border-box}
.tz-woo-single .woocommerce-product-gallery .flex-control-thumbs img.flex-active{opacity:1;border-color:#9b3f6e;box-shadow:0 0 0 2px #9b3f6e1f}
.tz-single-perks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:8px 0 14px}
.tz-single-perks span{border:1px solid #f0e4ea;background:#fcf7f9;border-radius:12px;padding:11px;font-size:12px;color:#6b214f;text-align:center}
.tz-single-perks svg{width:18px;height:18px;vertical-align:middle;margin-left:5px;stroke:#b28a2c}
.tz-woo-single .woocommerce-tabs{margin-top:35px;background:#fff;border:1px solid #f0e4ea;border-radius:20px;padding:22px!important;overflow:hidden}
.tz-woo-single .woocommerce-tabs .panel{position:relative}
.tz-woo-single .woocommerce-tabs #tab-description.tz-description-collapsed{max-height:195px;overflow:hidden}
.tz-woo-single .woocommerce-tabs #tab-description.tz-description-collapsed:after{content:"";position:absolute;bottom:0;left:0;right:0;height:95px;background:linear-gradient(0deg,#fff,transparent);pointer-events:none}
.tz-description-toggle{border:1px solid #6b214f;background:#fff;color:#6b214f;padding:10px 22px;border-radius:11px;font:inherit;font-weight:700;cursor:pointer;display:block;margin:10px auto 25px}
.tz-description-toggle:hover{background:#f8f1f3}
.tz-woo-single .related,.tz-woo-single .upsells{clear:both;padding:25px 0}
@media(min-width:768px){.tz-woo-single div.product>.woocommerce-product-gallery{width:49%!important;margin-left:0!important}.tz-woo-single div.product>.summary{width:48%!important;margin-right:0!important}}
@media(max-width:767px){.tz-woo-single div.product>.woocommerce-product-gallery,.tz-woo-single div.product>.summary{float:none!important;width:100%!important}.tz-woo-single .woocommerce-tabs{padding:14px!important}}
@media(prefers-reduced-motion:reduce){.tz-shop-products ul.products li.product,.tz-woo-single ul.products li.product{transition:none}}
