
/* Native WooCommerce price HTML: no duplicate amounts, calculations or new labels. */
body.ylory-studio.single-product #page :is(.summary > .price, .elementor-widget-woocommerce-product-price .price) {
  --ylory-price-size: clamp(1.75rem, 2.5vw, 2.55rem);
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: baseline !important;
  gap: .28em .32em !important;
  box-sizing: border-box !important;
  width: fit-content !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 18px 0 24px !important;
  padding: clamp(14px, 2vw, 20px) clamp(16px, 2.3vw, 24px) !important;
  border: 1px solid var(--ylory-peach-line, #d7bca5) !important;
  border-radius: 20px !important;
  background: linear-gradient(125deg, #fffaf5 0%, var(--ylory-peach-soft, #fff2e7) 100%) !important;
  box-shadow: 0 7px 22px #39251906, inset 0 3px 0 var(--ylory-peach, #efa167) !important;
  color: #26313a !important;
  font-size: var(--ylory-price-size) !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  letter-spacing: -.035em !important;
  font-variant-numeric: lining-nums tabular-nums;
}

body.ylory-studio.single-product #page :is(.summary > .price, .elementor-widget-woocommerce-product-price .price).ylory-price-range {
  --ylory-price-size: clamp(1.5rem, 2.15vw, 2.15rem);
}

body.ylory-studio.single-product #page :is(.summary > .price, .elementor-widget-woocommerce-product-price .price) :is(.woocommerce-Price-amount, ins) {
  color: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
  background: transparent !important;
  text-decoration: none !important;
}

body.ylory-studio.single-product #page :is(.summary > .price, .elementor-widget-woocommerce-product-price .price) .woocommerce-Price-amount {
  display: inline-block;
  white-space: nowrap;
}

body.ylory-studio.single-product #page :is(.summary > .price, .elementor-widget-woocommerce-product-price .price) .woocommerce-Price-currencySymbol {
  margin-inline-end: .09em;
  color: var(--ylory-peach-text, #87421d);
  font-size: .64em;
  font-weight: 700;
  letter-spacing: 0;
}

body.ylory-studio.single-product #page :is(.summary > .price, .elementor-widget-woocommerce-product-price .price) del {
  flex: 0 0 100%;
  margin: 0 !important;
  color: #b13932 !important;
  font-size: .61em !important;
  font-weight: 700 !important;
  line-height: 1.45 !important;
  letter-spacing: -.01em;
  text-decoration-line: line-through !important;
  text-decoration-thickness: 2px;
  text-decoration-color: currentColor;
  opacity: 1 !important;
}

body.ylory-studio.single-product #page :is(.summary > .price, .elementor-widget-woocommerce-product-price .price) del .woocommerce-Price-currencySymbol {
  color: inherit !important;
  font-size: .85em;
}

body.ylory-studio.single-product #page :is(.summary > .price, .elementor-widget-woocommerce-product-price .price) :is(small, .woocommerce-price-suffix) {
  font-size: .37em;
  font-weight: 500;
  letter-spacing: 0;
  color: #756b63;
}

/* Keep the original sale label and placement, replace only its presentation. */
body.ylory-studio #page :is(.onsale, .prod-badge.sale-badge, .wc-block-components-product-sale-badge) {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  max-width: calc(100% - 24px);
  padding: 7px 12px !important;
  border: 1px solid #f8d2b4 !important;
  border-radius: 999px !important;
  background: #fff0e2 !important;
  color: #75401e !important;
  box-shadow: 0 3px 12px #3e25121a !important;
  font-size: .69rem !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  letter-spacing: .035em !important;
  text-align: center;
}

/* Smaller native cards retain their current dimensions and price values. */
body.ylory-studio #page :is(ul.products li.product .price, .prod-price, .ylory-discovery-price) {
  font-variant-numeric: lining-nums tabular-nums;
}
body.ylory-studio #page :is(ul.products li.product .price, .prod-price, .ylory-discovery-price) del {
  color: #b13932 !important;
  font-weight: 700 !important;
  opacity: 1 !important;
  text-decoration-line: line-through !important;
  text-decoration-thickness: 2px;
  text-decoration-color: currentColor;
}
body.ylory-studio.single-product #page :is(.summary > .price, .elementor-widget-woocommerce-product-price .price) del .woocommerce-Price-amount,
body.ylory-studio #page :is(ul.products li.product .price, .prod-price, .ylory-discovery-price) del .woocommerce-Price-amount {
  color: inherit !important;
  /* An inline-block amount does not inherit the parent del's painted strike. */
  text-decoration-line: line-through !important;
  text-decoration-thickness: 2px !important;
  text-decoration-color: currentColor !important;
}
/* Hidden presentation metadata must never become an extra price or accessible label. */
body.ylory-studio #page .ylory-sale-meta,
body.ylory-studio #page .onsale[hidden] {
  display: none !important;
}
body.ylory-studio #page :is(ul.products li.product .price, .prod-price, .ylory-discovery-price) ins {
  background: transparent !important;
  text-decoration: none !important;
}

@media (max-width: 479px) {
  body.ylory-studio.single-product #page :is(.summary > .price, .elementor-widget-woocommerce-product-price .price) {
    --ylory-price-size: clamp(1.75rem, 7vw, 2.05rem);
    gap: .24em .24em !important;
    margin-block: 14px 20px !important;
    padding: 14px 16px !important;
    border-radius: 16px !important;
  }
  body.ylory-studio.single-product #page :is(.summary > .price, .elementor-widget-woocommerce-product-price .price).ylory-price-range {
    --ylory-price-size: clamp(1.35rem, 5.6vw, 1.65rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.ylory-studio.single-product :is(.summary > .price, .elementor-widget-woocommerce-product-price .price, .ylory-mobile-sticky-bar .sticky-product-price) {
    animation: none !important;
    transition: none !important;
  }
}


/* Editable discount comet: exact prices remain native WooCommerce. */
.single-product .summary > .price.ylory-price-has-comet,
.single-product .elementor-widget-woocommerce-product-price .price.ylory-price-has-comet{position:relative!important;padding-right:100px!important;overflow:visible!important}
.ylory-discount-comet{position:absolute!important;right:-9px;top:-22px;z-index:3;display:grid!important;place-items:center;width:90px;height:82px;padding:0 2px 3px 5px;box-sizing:border-box;background:linear-gradient(135deg,#f74048,#b61328);color:#fff!important;font-size:20px!important;font-weight:900!important;line-height:1!important;letter-spacing:-.04em;text-shadow:0 1px 2px #74071c77;filter:drop-shadow(0 5px 5px #9f142633);clip-path:polygon(0 2%,36% 14%,48% 0,59% 14%,80% 5%,81% 26%,100% 34%,86% 50%,97% 70%,77% 73%,71% 96%,51% 86%,34% 100%,29% 79%,8% 77%,18% 58%,0 46%,23% 38%);transform:rotate(8deg);pointer-events:none}
@media(max-width:480px){.single-product .summary > .price.ylory-price-has-comet,.single-product .elementor-widget-woocommerce-product-price .price.ylory-price-has-comet{padding-right:82px!important}.ylory-discount-comet{width:76px;height:72px;font-size:17px!important;right:-5px;top:-18px}}


/* Arbitrary-depth native category navigation. */
.ylory-v-cat-tree .ylory-v-category-branch{margin:0 0 5px;border:0;padding:0;min-width:0}
.ylory-v-category-branch>summary{position:relative;display:flex;align-items:center;list-style:none;cursor:pointer;min-width:0}
.ylory-v-category-branch>summary::-webkit-details-marker{display:none}
.ylory-v-category-branch>summary::after{content:'›';flex:0 0 25px;text-align:center;font-size:22px;color:#9a5528;transition:transform .18s}
.ylory-v-category-branch[open]>summary::after{transform:rotate(90deg)}
.ylory-v-category-branch>summary>.ylory-v-cat-item{flex:1;min-width:0;margin:0;overflow-wrap:anywhere}
.ylory-v-nested-children{margin:5px 0 9px 9px;padding-left:8px;border-left:1px solid #ead5c3;min-width:0}
.ylory-v-nested-children .ylory-v-cat-item{white-space:normal;line-height:1.35}
.ylory-v-category-branch>summary:focus-visible{outline:2px solid #ed9e63;outline-offset:3px;border-radius:8px}


/* Mobile category browser: one level at a time, native archive actions. */
.ylory-mobile-categories{display:none}
@media(max-width:991px){
 body.ylory-studio #page #ylory-cat-filter-system{display:flex!important;flex-direction:column!important;gap:0!important}
 body.ylory-studio #page #ylory-cat-filter-system>.ylory-shop-main-content{width:100%!important;min-width:0!important;margin-top:22px!important}
 body.ylory-studio #page #ylory-mobile-filter-toggle{display:flex!important;align-items:center;justify-content:space-between;min-height:56px;width:100%;margin:0!important;padding:14px 18px!important;border:1px solid #e6c8b0!important;border-radius:16px!important;background:#fff8f0!important;color:#432d20!important;box-shadow:0 5px 18px #512a1008!important;font-size:16px!important;font-weight:750!important}
 body.ylory-studio #page #ylory-mobile-filter-toggle.is-active{border-radius:16px 16px 0 0!important;border-bottom-color:transparent!important;box-shadow:none!important}
 body.ylory-studio #page .ylory-v-sidebar-card.ylory-mobile-browser-ready{display:none!important;position:static!important;width:100%!important;min-width:0!important;max-width:100%!important;max-height:none!important;margin:0!important;padding:18px!important;border:1px solid #e6c8b0!important;border-top:0!important;border-radius:0 0 16px 16px!important;background:#fffaf5!important;box-shadow:0 14px 28px #512a100a!important;overflow:visible!important}
 body.ylory-studio #page .ylory-v-sidebar-card.ylory-mobile-browser-ready.is-mobile-open{display:block!important}
 body.ylory-studio #page .ylory-mobile-browser-ready>.ylory-v-sidebar-header,
 body.ylory-studio #page .ylory-mobile-browser-ready>.ylory-v-cat-tree{display:none!important}
 body.ylory-studio #page .ylory-mobile-categories{display:block!important;min-width:0;text-align:left}
 body.ylory-studio #page .ylory-mcat-heading{display:flex;flex-direction:column;align-items:flex-start;gap:12px}
 body.ylory-studio #page .ylory-mcat-heading h3{margin:0!important;padding:0!important;border:0!important;color:#34261e!important;font-size:20px!important;line-height:1.3!important;letter-spacing:-.025em!important;text-transform:none!important;overflow-wrap:anywhere}
 body.ylory-studio #page .ylory-mcat-heading h3:before,body.ylory-studio #page .ylory-mcat-heading h3:after{display:none!important}
 body.ylory-studio #page .ylory-mcat-back{min-height:40px!important;width:auto!important;margin:0!important;padding:8px 13px!important;border:1px solid #ead5c4!important;border-radius:10px!important;background:#fff!important;box-shadow:none!important;color:#775039!important;font-family:inherit!important;font-size:14px!important;font-weight:600!important;line-height:1.3!important}
 body.ylory-studio #page .ylory-mcat-context{margin:7px 0 16px!important;color:#7c6b5e!important;font-size:13px!important;line-height:1.5!important}
 body.ylory-studio #page .ylory-mcat-all{display:flex!important;align-items:center;min-height:46px;margin:0 0 14px!important;padding:11px 14px!important;border:1px solid #e4b78e!important;border-radius:12px!important;background:#f9dfc8!important;color:#56341e!important;font-size:14px!important;font-weight:700!important;line-height:1.4!important;text-decoration:none!important}
 body.ylory-studio #page .ylory-mcat-list{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:8px!important}
 body.ylory-studio #page .ylory-mcat-row{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;width:100%!important;min-width:0!important;min-height:54px!important;height:auto!important;margin:0!important;padding:12px 14px!important;border:1px solid #eaded3!important;border-radius:12px!important;background:#fff!important;box-shadow:none!important;color:#3e3026!important;font-family:inherit!important;font-size:15px!important;font-weight:650!important;line-height:1.4!important;letter-spacing:0!important;text-transform:none!important;text-align:left!important;text-decoration:none!important;white-space:normal!important;box-sizing:border-box!important;cursor:pointer}
 body.ylory-studio #page .ylory-mcat-row>span:first-child{min-width:0;overflow-wrap:anywhere}
 body.ylory-studio #page .ylory-mcat-row.is-selected{background:#fff0e0!important;border-color:#dc9c66!important;color:#75421f!important}
 body.ylory-studio #page .ylory-mcat-marker{display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;border-radius:9px;background:#fff1e4;color:#9c5d2e;font-size:20px;font-weight:500}
 body.ylory-studio #page .ylory-mcat-row.is-selected .ylory-mcat-marker{background:#a76335;color:#fff;font-size:15px}
 body.ylory-studio #page .ylory-mobile-categories :is(button,a):focus-visible{outline:2px solid #a76335!important;outline-offset:3px!important}
}


/* Complete mobile taxonomy: native disclosure at every category depth. */
@media(max-width:1024px){
 body.ylory-studio #page .ylory-mobile-drawer .m-acc-body{max-height:none!important;overflow:visible!important}
 body.ylory-studio #page .ylory-mobile-drawer .m-sub-list,
 body.ylory-studio #page .ylory-mobile-drawer .ylory-mnav-children>ul{display:block!important;list-style:none!important;margin:0!important;padding:0!important}
 body.ylory-studio #page .ylory-mobile-drawer .ylory-mnav-node{display:block!important;margin:0 0 7px!important;padding:0!important;border:0!important;min-width:0}
 body.ylory-studio #page .ylory-mobile-drawer .ylory-mnav-branch{border:1px solid #e6d6c9;border-radius:12px;background:#fffaf5;padding:0;overflow:hidden}
 body.ylory-studio #page .ylory-mobile-drawer .ylory-mnav-branch>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none;cursor:pointer;min-height:48px;padding:11px 13px;color:#493222;font-size:14px;font-weight:700;line-height:1.4}
 body.ylory-studio #page .ylory-mobile-drawer .ylory-mnav-branch>summary::-webkit-details-marker{display:none}
 body.ylory-studio #page .ylory-mobile-drawer .ylory-mnav-branch>summary::after{content:'+';flex:0 0 22px;text-align:center;color:#a26335;font-size:21px}
 body.ylory-studio #page .ylory-mobile-drawer .ylory-mnav-branch[open]>summary::after{content:'−'}
 body.ylory-studio #page .ylory-mobile-drawer .ylory-mnav-children{padding:0 10px 10px;border-top:1px solid #eddfd3}
 body.ylory-studio #page .ylory-mobile-drawer :is(.ylory-mnav-link,.ylory-mnav-all){display:flex!important;align-items:center;justify-content:space-between;gap:10px;min-height:46px;width:100%;box-sizing:border-box;padding:10px 12px!important;border-radius:9px;color:#503a2b!important;font-size:14px!important;font-weight:550!important;line-height:1.4!important;text-decoration:none!important;white-space:normal!important;overflow-wrap:anywhere;background:#fff!important}
 body.ylory-studio #page .ylory-mobile-drawer .ylory-mnav-all{margin:8px 0;background:#fbe4cf!important;font-weight:700!important;font-size:12px!important}
 body.ylory-studio #page .ylory-mobile-drawer .ylory-mnav-link>span:last-child{color:#ab6b3e}
 body.ylory-studio #page .ylory-mobile-drawer :is(.ylory-mnav-link,.ylory-mnav-all,summary):focus-visible{outline:2px solid #ab6b3e;outline-offset:-2px}
}

