/* The catalog quick view follows the same hierarchy as Dlirio's full ficha.
   Scoped to WoodMart's product popup; the variation form remains WooCommerce's. */
body.dlirio-editorial.woocommerce.archive .dh-qv-pending{
  position:fixed;inset:0;z-index:100000;display:grid;place-items:center;
  padding:16px;background:rgba(20,19,18,.72);
}
body.dlirio-editorial.woocommerce.archive .dh-qv-pending-panel{
  box-sizing:border-box;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:30px;width:min(920px,100%);max-height:calc(100dvh - 32px);
  padding:30px;overflow:auto;background:#fff;
}
body.dlirio-editorial.woocommerce.archive .dh-qv-pending-photo{
  align-self:start;aspect-ratio:1/1;overflow:hidden;background:#f5f3f1;
}
body.dlirio-editorial.woocommerce.archive .dh-qv-pending-photo img{
  display:block;width:100%;height:100%;object-fit:cover;
}
body.dlirio-editorial.woocommerce.archive .dh-qv-pending-content{min-width:0;color:#292824}
body.dlirio-editorial.woocommerce.archive .dh-qv-pending-content h2{
  margin:0 0 12px;color:#292824;
  font:400 clamp(27px,2.3vw,36px)/1.08 Georgia,'Times New Roman',serif;
  letter-spacing:-.04em;
}
body.dlirio-editorial.woocommerce.archive .dh-qv-pending-content>.price{
  display:flex;flex-wrap:wrap;gap:8px;margin:0 0 26px;
  color:#c02936;font:600 20px/1.2 Arial,Helvetica,sans-serif;
}
body.dlirio-editorial.woocommerce.archive .dh-qv-pending-content>.price ins{
  order:-1;color:#c02936;background:none;text-decoration:none;
}
body.dlirio-editorial.woocommerce.archive .dh-qv-pending-content>.price del{
  color:#88837f;font:400 12px/1.3 Arial,Helvetica,sans-serif;
}
body.dlirio-editorial.woocommerce.archive .dh-qv-pending-notice{
  margin:0 0 22px;color:#68625e;font:400 12px/1.5 Arial,Helvetica,sans-serif;
}
body.dlirio-editorial.woocommerce.archive .dh-qv-pending-placeholders{
  display:flex;flex-direction:column;align-items:flex-start;gap:14px;
  animation:dh-qv-pulse 1.2s ease-in-out infinite alternate;
}
body.dlirio-editorial.woocommerce.archive .dh-qv-pending-label{
  display:block;width:70px;height:8px;background:#ebe7e4;
}
body.dlirio-editorial.woocommerce.archive .dh-qv-pending-colors,
body.dlirio-editorial.woocommerce.archive .dh-qv-pending-sizes{display:flex;gap:7px;margin-bottom:14px}
body.dlirio-editorial.woocommerce.archive .dh-qv-pending-colors i{
  display:block;width:30px;height:30px;border-radius:50%;background:#e8e3df;
}
body.dlirio-editorial.woocommerce.archive .dh-qv-pending-sizes i{
  display:block;width:50px;height:44px;border:1px solid #ebe7e4;background:#faf9f8;
}
body.dlirio-editorial.woocommerce.archive .dh-qv-pending-button{
  display:block;width:100%;height:44px;background:#ebe7e4;
}
@keyframes dh-qv-pulse{from{opacity:.55}to{opacity:1}}
@media(max-width:767px){
  body.dlirio-editorial.woocommerce.archive .dh-qv-pending-panel{
    grid-template-columns:1fr;gap:18px;padding:18px;width:min(460px,100%);
  }
  body.dlirio-editorial.woocommerce.archive .dh-qv-pending-photo{aspect-ratio:16/10}
  body.dlirio-editorial.woocommerce.archive .dh-qv-pending-content h2{font-size:27px}
}
@media(prefers-reduced-motion:reduce){
  body.dlirio-editorial.woocommerce.archive .dh-qv-pending-placeholders{animation:none}
}
body.dlirio-editorial.woocommerce.archive .wd-popup-quick-view-wrap .summary-inner{
  display:flex;flex-direction:column;align-items:stretch;
  color:#292824;font:400 14px/1.5 Arial,Helvetica,sans-serif;
  scrollbar-width:thin;scrollbar-color:#d3ceca transparent;
  overscroll-behavior:contain;
}
/* WoodMart fades the last 40px of a scrollable summary. That fade covers the
   purchase button whenever a product has a long title or many variations. */
body.dlirio-editorial.woocommerce.archive .wd-popup-quick-view-wrap .summary.entry-summary{
  -webkit-mask-image:none!important;mask-image:none!important;
}
body.dlirio-editorial.woocommerce.archive .wd-popup-quick-view-wrap .summary-inner::-webkit-scrollbar{
  width:4px;height:4px;
}
body.dlirio-editorial.woocommerce.archive .wd-popup-quick-view-wrap .summary-inner::-webkit-scrollbar-track{
  background:transparent;
}
body.dlirio-editorial.woocommerce.archive .wd-popup-quick-view-wrap .summary-inner::-webkit-scrollbar-thumb{
  border-radius:4px;background:#d3ceca;
}
body.dlirio-editorial.woocommerce.archive .wd-popup-quick-view-wrap .summary-inner>.product_title{order:0}
body.dlirio-editorial.woocommerce.archive .wd-popup-quick-view-wrap .summary-inner>p.price{order:1}
body.dlirio-editorial.woocommerce.archive .wd-popup-quick-view-wrap .summary-inner>form.cart{order:2}
body.dlirio-editorial.woocommerce.archive .wd-popup-quick-view-wrap .summary-inner>:is(.woocommerce-product-details__short-description,.dh-quickview-description){order:3}
body.dlirio-editorial.woocommerce.archive .wd-popup-quick-view-wrap .summary-inner>.product_meta{order:4}

body.dlirio-editorial.woocommerce.archive .wd-popup-quick-view-wrap .summary-inner>.product_title{
  margin:0 0 12px;color:#292824;
  font:400 clamp(27px,2.3vw,36px)/1.08 Georgia,'Times New Roman',serif;
  letter-spacing:-.04em;text-transform:none;
}
body.dlirio-editorial.woocommerce.archive .wd-popup-quick-view-wrap .summary-inner>p.price{
  display:flex;align-items:baseline;flex-wrap:wrap;gap:8px;
  margin:0 0 22px;color:#c02936;font:600 20px/1.2 Arial,Helvetica,sans-serif;
}
body.dlirio-editorial.woocommerce.archive .wd-popup-quick-view-wrap .summary-inner>p.price ins{
  order:-1;color:#c02936;background:none;text-decoration:none;font:inherit;
}
body.dlirio-editorial.woocommerce.archive .wd-popup-quick-view-wrap .summary-inner>p.price del{
  color:#88837f;font:400 12px/1.3 Arial,Helvetica,sans-serif;
}
body.dlirio-editorial.woocommerce.archive .wd-popup-quick-view-wrap .summary-inner>p.price :is(ins,del) *{color:inherit;font:inherit}

body.dlirio-editorial.woocommerce.archive .wd-popup-quick-view-wrap form.variations_form{margin:0;width:100%}
body.dlirio-editorial.woocommerce.archive .wd-popup-quick-view-wrap form.variations_form .variations,
body.dlirio-editorial.woocommerce.archive .wd-popup-quick-view-wrap form.variations_form .variations tbody,
body.dlirio-editorial.woocommerce.archive .wd-popup-quick-view-wrap form.variations_form .variations tr,
body.dlirio-editorial.woocommerce.archive .wd-popup-quick-view-wrap form.variations_form .variations :is(th,td){display:block;width:100%}
body.dlirio-editorial.woocommerce.archive .wd-popup-quick-view-wrap form.variations_form .variations{margin:0;border:0}
body.dlirio-editorial.woocommerce.archive .wd-popup-quick-view-wrap form.variations_form .variations tr{margin:0 0 16px}
body.dlirio-editorial.woocommerce.archive .wd-popup-quick-view-wrap form.variations_form .variations :is(th,td){padding:0;border:0;text-align:left}
body.dlirio-editorial.woocommerce.archive .wd-popup-quick-view-wrap form.variations_form .variations th{margin-bottom:8px}
body.dlirio-editorial.woocommerce.archive .wd-popup-quick-view-wrap form.variations_form .variations th label{
  color:#292824;font:400 10px/1.4 Arial,Helvetica,sans-serif;
  letter-spacing:.12em;text-transform:uppercase;
}
body.dlirio-editorial.woocommerce.archive .wd-popup-quick-view-wrap .woo-selected-variation-item-name{
  margin-left:8px;color:#65615d;font:500 11px/1.4 Arial,Helvetica,sans-serif;
}
body.dlirio-editorial.woocommerce.archive .wd-popup-quick-view-wrap .variable-items-wrapper{
  display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0;padding:0;
}
body.dlirio-editorial.woocommerce.archive .wd-popup-quick-view-wrap .variable-item{
  box-sizing:border-box;display:grid;place-items:center;flex:none;
  margin:0!important;transform:none!important;cursor:pointer;
}
body.dlirio-editorial.woocommerce.archive .wd-popup-quick-view-wrap .color-variable-item{
  width:44px!important;height:44px!important;padding:0!important;
  border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;
}
body.dlirio-editorial.woocommerce.archive .wd-popup-quick-view-wrap .color-variable-item :is(.variable-item-contents,.variable-item-span-color){
  display:block;width:25px;height:25px;border-radius:50%;
}
body.dlirio-editorial.woocommerce.archive .wd-popup-quick-view-wrap .color-variable-item .variable-item-span-color{
  border:1px solid #c8c6c3;box-shadow:0 0 0 2px #fff;
}
body.dlirio-editorial.woocommerce.archive .wd-popup-quick-view-wrap .color-variable-item:is(.selected,[aria-checked="true"]) .variable-item-span-color{
  box-shadow:0 0 0 2px #fff,0 0 0 3.5px #292824;
}
body.dlirio-editorial.woocommerce.archive .wd-popup-quick-view-wrap .color-variable-item::after{display:none!important}
body.dlirio-editorial.woocommerce.archive .wd-popup-quick-view-wrap .button-variable-item{
  min-width:50px!important;width:50px!important;height:44px!important;
  padding:0 5px!important;border:1px solid #ccc7c4!important;border-radius:0!important;
  background:#fff!important;box-shadow:none!important;color:#292824!important;
  font:400 11px/1 Arial,Helvetica,sans-serif!important;
}
body.dlirio-editorial.woocommerce.archive .wd-popup-quick-view-wrap .button-variable-item:is(.selected,[aria-checked="true"]){
  border:2px solid #292824!important;background:#f8f7f6!important;font-weight:700!important;
}
body.dlirio-editorial.woocommerce.archive .wd-popup-quick-view-wrap .variable-item.disabled{opacity:.35;cursor:not-allowed}
/* WVS puts 100px tooltips above swatches. The first one is cut by the
   scrollable panel; the native title and selected-color label remain. */
body.dlirio-editorial.woocommerce.archive .wd-popup-quick-view-wrap .variable-item::before{display:none!important}
body.dlirio-editorial.woocommerce.archive .wd-popup-quick-view-wrap .wd-reset-var{margin-top:6px;text-align:right}
body.dlirio-editorial.woocommerce.archive .wd-popup-quick-view-wrap .reset_variations{font-size:11px}
body.dlirio-editorial.woocommerce.archive .wd-popup-quick-view-wrap .woocommerce-variation-add-to-cart{
  display:flex;flex-direction:column;align-items:stretch;gap:12px;
}
body.dlirio-editorial.woocommerce.archive .wd-popup-quick-view-wrap .quantity{
  box-sizing:border-box;display:grid!important;grid-template-columns:43px 44px 43px;
  align-self:flex-start;flex:none;width:132px!important;min-width:132px;height:44px;
  margin:0!important;padding:0!important;overflow:hidden;
  border:1px solid #dedbd8;border-radius:0;
}
body.dlirio-editorial.woocommerce.archive .wd-popup-quick-view-wrap .quantity :is(.minus,.plus,input.qty){
  box-sizing:border-box;width:100%!important;min-width:0!important;max-width:none!important;
  height:42px!important;margin:0!important;padding:0!important;
  border:0!important;border-radius:0!important;box-shadow:none!important;
  text-align:center;
}
body.dlirio-editorial.woocommerce.archive .wd-popup-quick-view-wrap .quantity input.qty{
  border-right:1px solid #dedbd8!important;border-left:1px solid #dedbd8!important;
  background:#fff;font-size:14px;appearance:textfield;
}
body.dlirio-editorial.woocommerce.archive .wd-popup-quick-view-wrap .quantity input.qty::-webkit-inner-spin-button,
body.dlirio-editorial.woocommerce.archive .wd-popup-quick-view-wrap .quantity input.qty::-webkit-outer-spin-button{
  margin:0;appearance:none;
}
body.dlirio-editorial.woocommerce.archive .wd-popup-quick-view-wrap .quantity :is(.minus,.plus){
  display:grid;place-items:center;background:#fff;font-size:18px;line-height:1;cursor:pointer;
}
body.dlirio-editorial.woocommerce.archive .wd-popup-quick-view-wrap .quantity :is(.minus,.plus):hover{
  background:#f6f3f1;
}
body.dlirio-editorial.woocommerce.archive .wd-popup-quick-view-wrap .single_add_to_cart_button{
  box-sizing:border-box;flex-shrink:0;width:100%;min-height:44px;
  margin:0!important;padding:11px 13px!important;
  background:#292824!important;border:0!important;border-radius:0!important;
  box-shadow:none!important;color:#fff!important;
  font:700 10px/1.4 Arial,Helvetica,sans-serif!important;letter-spacing:.08em;text-transform:uppercase;
}
body.dlirio-editorial.woocommerce.archive .wd-popup-quick-view-wrap .single_add_to_cart_button:hover{background:#000!important}
body.dlirio-editorial.woocommerce.archive .wd-popup-quick-view-wrap :is(.variable-item,.single_add_to_cart_button,.reset_variations,.dh-quickview-description>summary):focus-visible{
  outline:2px solid #a62833!important;outline-offset:3px;
}

body.dlirio-editorial.woocommerce.archive .wd-popup-quick-view-wrap .dh-quickview-description{
  margin:21px 0 0;border-top:1px solid #e5e0dc;border-bottom:1px solid #e5e0dc;
}
body.dlirio-editorial.woocommerce.archive .wd-popup-quick-view-wrap .dh-quickview-description>summary{
  display:block;position:relative;min-height:45px;padding:12px 28px 12px 0;
  color:#292824;font:500 11px/1.6 Arial,Helvetica,sans-serif;
  list-style:none;cursor:pointer;
}
body.dlirio-editorial.woocommerce.archive .wd-popup-quick-view-wrap .dh-quickview-description>summary::-webkit-details-marker{display:none}
body.dlirio-editorial.woocommerce.archive .wd-popup-quick-view-wrap .dh-quickview-description>summary::after{
  content:'';position:absolute;right:5px;top:18px;width:7px;height:7px;
  border-right:1px solid currentColor;border-bottom:1px solid currentColor;transform:rotate(45deg);
}
body.dlirio-editorial.woocommerce.archive .wd-popup-quick-view-wrap .dh-quickview-description[open]>summary::after{top:21px;transform:rotate(225deg)}
body.dlirio-editorial.woocommerce.archive .wd-popup-quick-view-wrap .dh-quickview-description .woocommerce-product-details__short-description{
  padding:0 4px 16px 0;color:#65615d;font:400 11px/1.65 Arial,Helvetica,sans-serif;
}
body.dlirio-editorial.woocommerce.archive .wd-popup-quick-view-wrap .dh-quickview-description :is(p,ul){margin:0 0 9px}
body.dlirio-editorial.woocommerce.archive .wd-popup-quick-view-wrap .dh-quickview-description li{margin-bottom:4px}
body.dlirio-editorial.woocommerce.archive .wd-popup-quick-view-wrap .product_meta{
  margin-top:14px;padding-top:0;border-top:0;
  color:#77716d;font-size:10px;
}
@media(max-width:767px){
  body.dlirio-editorial.woocommerce.archive .wd-popup-quick-view-wrap .summary-inner>.product_title{font-size:30px}
  body.dlirio-editorial.woocommerce.archive .wd-popup-quick-view-wrap .summary-inner>p.price{margin-bottom:16px}
}
