/* WELPETT v1.0.3 — verified WooCommerce BLOCK layout (staging only)
   Observed browser nodes: .wc-block-product-template > .wc-block-product,
   .wc-block-components-product-image, .wp-block-post-title,
   .woocommerce-product-gallery, .welpett-fit-panel, .welpett-inquiry.
   Do not target the absent classic .woocommerce ul.products or .summary. */
:root{--wel103-orange:#F47A20;--wel103-petrol:#183B42;--wel103-cream:#FFF8F0;--wel103-border:#EADAC9}
/* Product archive: WooCommerce block template observed in Chrome. */
body.tax-product_cat .wc-block-product-template,
body.post-type-archive-product .wc-block-product-template,
body.woocommerce-page.archive .wc-block-product-template{
 display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
 gap:24px!important;align-items:stretch!important;justify-content:stretch!important;
 max-width:1160px!important;width:min(100% - 32px,1160px)!important;
 margin:26px auto 52px!important;padding:0!important;list-style:none!important;
}
body.tax-product_cat .wc-block-product-template>.wc-block-product,
body.post-type-archive-product .wc-block-product-template>.wc-block-product,
body.woocommerce-page.archive .wc-block-product-template>.wc-block-product{
 display:flex!important;flex-direction:column!important;min-width:0!important;width:auto!important;
 flex:none!important;max-width:none!important;margin:0!important;padding:0 0 16px!important;
 border:1px solid var(--wel103-border)!important;border-radius:18px!important;
 overflow:hidden!important;background:#FFFEFC!important;
 box-shadow:0 8px 24px rgba(24,59,66,.075)!important;box-sizing:border-box!important;
 transition:transform .18s ease,box-shadow .18s ease!important;
}
@media(hover:hover){body.tax-product_cat .wc-block-product-template>.wc-block-product:hover,
body.post-type-archive-product .wc-block-product-template>.wc-block-product:hover{
 transform:translateY(-3px)!important;box-shadow:0 14px 30px rgba(24,59,66,.14)!important}}
/* Keep 1:1 product photography within a compact, equal-height frame. */
.wc-block-product-template>.wc-block-product .wc-block-components-product-image,
.wc-block-product-template>.wc-block-product .wp-block-woocommerce-product-image{
 display:block!important;width:100%!important;max-width:100%!important;
 aspect-ratio:5/4!important;max-height:264px!important;overflow:hidden!important;
 background:var(--wel103-cream)!important;margin:0!important;padding:0!important;
 border-radius:0!important;box-sizing:border-box!important;
}
.wc-block-product-template>.wc-block-product .wc-block-components-product-image a,
.wc-block-product-template>.wc-block-product .wp-block-woocommerce-product-image a{
 display:flex!important;width:100%!important;height:100%!important;align-items:center!important;justify-content:center!important;
}
.wc-block-product-template>.wc-block-product .wc-block-components-product-image img,
.wc-block-product-template>.wc-block-product .wp-block-woocommerce-product-image img{
 display:block!important;max-height:100%!important;width:100%!important;height:100%!important;
 object-fit:contain!important;object-position:center!important;padding:8px!important;
 background:var(--wel103-cream)!important;box-sizing:border-box!important;
}
.wc-block-product-template>.wc-block-product .wp-block-post-title,
.wc-block-product-template>.wc-block-product h2.wp-block-post-title{
 font-size:1.06rem!important;line-height:1.37!important;font-weight:750!important;
 color:var(--wel103-petrol)!important;text-align:left!important;
 margin:15px 18px 4px!important;padding:0!important;min-height:2.75em!important;
}
.wc-block-product-template>.wc-block-product .wp-block-post-title a{
 color:var(--wel103-petrol)!important;text-decoration:none!important;
}
.wc-block-product-template>.wc-block-product .wp-block-woocommerce-product-price,
.wc-block-product-template>.wc-block-product .wc-block-components-product-price,
.wc-block-product-template>.wc-block-product .wp-block-woocommerce-product-price .price{
 color:#B9560A!important;font-size:1.06rem!important;font-weight:800!important;
 text-align:left!important;margin:4px 18px 10px!important;padding:0!important;
}
/* Browser evidence shows the 'Ürünü İncele' anchor is a direct child of .wc-block-product. */
.wc-block-product-template>.wc-block-product>a.welpett-view-product,
.wc-block-product-template>.wc-block-product>a.button,
.wc-block-product-template>.wc-block-product>.wp-block-button a,
.wc-block-product-template>.wc-block-product>.wp-block-woocommerce-product-button a{
 display:flex!important;align-items:center!important;justify-content:center!important;
 margin:auto 18px 0!important;padding:11px 16px!important;min-height:46px!important;
 width:calc(100% - 36px)!important;box-sizing:border-box!important;
 border:0!important;border-radius:12px!important;background:var(--wel103-orange)!important;
 color:white!important;font-size:.96rem!important;font-weight:750!important;
 text-decoration:none!important;text-align:center!important;box-shadow:none!important;
}
.wc-block-product-template>.wc-block-product>a.welpett-view-product:hover,
.wc-block-product-template>.wc-block-product>a.button:hover,
.wc-block-product-template>.wc-block-product>a.welpett-view-product:focus-visible{
 background:var(--wel103-petrol)!important;color:#fff!important;
}
/* Product view: apply to observed blocks instead of nonexistent .summary.
   Let WooCommerce block-column flow manage gallery/description placement. */
body.single-product .woocommerce.product,
body.single-product .wp-block-woocommerce-product-details{
 max-width:1180px!important;margin-left:auto!important;margin-right:auto!important;
}
body.single-product .woocommerce-product-gallery{
 position:static!important;top:auto!important;float:none!important;
 max-width:100%!important;min-width:0!important;margin-bottom:20px!important;
}
body.single-product .woocommerce-product-gallery img{
 display:block!important;max-width:100%!important;height:auto!important;object-fit:contain!important;
 background:var(--wel103-cream)!important;border-radius:16px!important;
}
body.single-product .welpett-fit-panel,body.single-product .welpett-inquiry{
 box-sizing:border-box!important;width:100%!important;max-width:100%!important;
 margin:14px 0 18px!important;padding:20px!important;
 border:1px solid var(--wel103-border)!important;border-radius:16px!important;
 background:var(--wel103-cream)!important;box-shadow:none!important;
}
body.single-product .welpett-fit-panel h2,body.single-product .welpett-inquiry h2{
 font-size:1.22rem!important;font-weight:800!important;line-height:1.3!important;
 margin:0 0 12px!important;color:var(--wel103-petrol)!important;
}
body.single-product .welpett-fit-cards{
 display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
 align-items:stretch!important;gap:10px!important;
}
body.single-product button.welpett-fit-choice{
 display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:flex-start!important;
 width:100%!important;min-width:0!important;min-height:0!important;box-sizing:border-box!important;
 padding:14px!important;gap:5px!important;border-radius:12px!important;
 border:1px solid #E4CDB7!important;background:#fff!important;cursor:pointer!important;
}
body.single-product button.welpett-fit-choice strong{font-size:1.13rem!important;color:var(--wel103-petrol)!important}
body.single-product button.welpett-fit-choice small{font-size:.81rem!important;line-height:1.4!important}
body.single-product button.welpett-fit-choice span{font-size:1rem!important;color:#C35C0C!important;font-weight:800!important}
body.single-product button.welpett-fit-choice[aria-pressed=true]{border-color:var(--wel103-orange)!important;outline:2px solid var(--wel103-orange)!important;background:#FFF4E8!important}
body.single-product .welpett-order-color-wrap{display:block!important;margin:16px 0!important}
body.single-product .welpett-order-color-wrap select{width:100%!important;min-height:46px!important}
body.single-product .welpett-inquiry textarea{width:100%!important;min-height:90px!important;box-sizing:border-box!important}
body.single-product .welpett-inquiry button{min-height:46px!important;border-radius:10px!important}
body.single-product .woocommerce-tabs{clear:both!important;width:100%!important}
/* Responsive blocks; never force classic floats or widths on block columns. */
@media(max-width:920px){
 body.tax-product_cat .wc-block-product-template,body.post-type-archive-product .wc-block-product-template,
 body.woocommerce-page.archive .wc-block-product-template{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important}
}
@media(max-width:560px){
 body.tax-product_cat .wc-block-product-template,body.post-type-archive-product .wc-block-product-template,
 body.woocommerce-page.archive .wc-block-product-template{grid-template-columns:1fr!important;width:min(100% - 28px,420px)!important;gap:18px!important}
 .wc-block-product-template>.wc-block-product .wc-block-components-product-image,
 .wc-block-product-template>.wc-block-product .wp-block-woocommerce-product-image{max-height:255px!important}
 .wc-block-product-template>.wc-block-product .wp-block-post-title{font-size:1.04rem!important}
 body.single-product .welpett-fit-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
 body.single-product button.welpett-fit-choice{padding:11px!important}
 body.single-product button.welpett-fit-choice small{font-size:.75rem!important;overflow-wrap:anywhere!important}
 body.single-product .welpett-fit-panel,body.single-product .welpett-inquiry{padding:15px!important}
}
@media(max-width:360px){body.single-product .welpett-fit-cards{grid-template-columns:1fr!important}}
@media(prefers-reduced-motion:reduce){.wc-block-product-template>.wc-block-product{transition:none!important}}

/* v1.0.4: request form is relocated OUTSIDE the two-column product selection area.
   Never fake this by absolute positioning, negative margins or a second form. */
body.single-product #welpett-product-inquiry.welpett-inquiry.welpett-v104-fullwidth {
  display:block!important; float:none!important; clear:both!important;
  width:100%!important; max-width:1180px!important;
  margin:22px auto 30px!important;
  padding:clamp(18px,2.4vw,30px)!important;
  box-sizing:border-box!important;
  background:#fffdf9!important;
  border:1px solid #eadac9!important;
  border-radius:18px!important;
}
body.single-product .welpett-v104-fullwidth #welpett-inquiry-message{
  width:100%!important;min-height:95px!important;box-sizing:border-box!important;
}
body.single-product .welpett-v104-fullwidth #welpett-inquiry-submit{
  min-height:48px!important;border-radius:11px!important;
  background:#f47a20!important;color:white!important;padding:12px 22px!important;
}
body.single-product .welpett-v104-fullwidth #welpett-inquiry-submit:hover{
  background:#183b42!important;
}
@media (max-width:600px){
 body.single-product #welpett-product-inquiry.welpett-inquiry.welpett-v104-fullwidth{
  padding:16px!important;margin:18px auto 24px!important;
 }
 body.single-product .welpett-v104-fullwidth #welpett-inquiry-submit{width:100%!important;}
}

/* WELPETT v1.0.5: show the product code immediately beneath the title. */
body.single-product .welpett-v105-sku {
  display:block!important;
  font-size:.78rem!important;
  font-weight:500!important;
  line-height:1.4!important;
  color:#687c7c!important;
  margin:4px 0 14px!important;
  letter-spacing:.01em!important;
}
body.single-product .welpett-v105-sku-value {font-weight:600!important;color:#466268!important}
body.single-product .welpett-v105-meta-hidden {display:none!important}
