/* Liscano Commerce OS 0.7 — native theme layer, no companion plugin.
   Offer copy and dismissal remain owned by WooCommerce. No gradients. */

/* 01 — A quieter, editorial campaign strip. */
body.lco-editorial p.woocommerce-store-notice.demo_store.lco-store-rail {
  position:relative!important;top:auto!important;bottom:auto!important;left:auto!important;
  right:auto!important;transform:none!important;margin:0!important;padding:0!important;
  min-height:58px!important;width:100%!important;background:#1c1e21!important;
  color:#fff!important;border:0!important;border-radius:0!important;
  box-shadow:none!important;font-family:var(--lco-font)!important;z-index:5!important;
  line-height:1.35!important;text-align:left!important;display:block;
}
body.lco-editorial p.woocommerce-store-notice.demo_store.lco-store-rail[style*="display: none"] {display:none!important}
body.lco-editorial .lco-topline[hidden]{display:none!important}
.lco-offer-inner{
  width:min(calc(100% - 80px),1376px);margin:0 auto;min-height:58px;
  display:grid;grid-template-columns:200px minmax(0,1fr) auto;gap:22px;
  align-items:center;position:relative;
}
.lco-offer-identity{display:inline-flex;align-items:center;gap:11px;white-space:nowrap;
  font-size:10px;font-weight:800;letter-spacing:.12em;color:#f8f8f6}
.lco-offer-brand b{color:#ef6277}
.lco-offer-pulse{width:8px;height:8px;flex:none;border-radius:50%;background:#e34960;box-shadow:0 0 0 4px #be1a3433}
.lco-offer-viewport{min-width:0;display:flex;align-items:center;justify-content:center;overflow:hidden}
body.lco-editorial .lco-offer-message{font-size:12px;font-weight:700;line-height:1.4;
  letter-spacing:.025em;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
body.lco-editorial .lco-offer-message a{color:#fff;text-decoration:underline}
.lco-offer-controls{display:inline-flex;align-items:center;gap:6px;padding-right:44px}
.lco-offer-number{font-size:10px;white-space:nowrap;letter-spacing:.12em;color:#acadae;font-weight:700;padding-right:8px}
body.lco-editorial .lco-offer-step{display:grid;place-items:center;width:29px;height:29px;min-width:29px;
  padding:0!important;border-radius:50%!important;border:1px solid #45474b!important;
  color:#fff!important;background:#2b2e32!important;font-size:22px!important;line-height:1!important}
body.lco-editorial .lco-offer-step:hover{background:var(--lco-red)!important;border-color:var(--lco-red)!important}
body.lco-editorial p.lco-store-rail .woocommerce-store-notice__dismiss-link.lco-offer-dismiss{
  position:absolute!important;right:0!important;top:50%!important;transform:translateY(-50%)!important;
  display:grid!important;place-items:center!important;width:28px!important;height:28px!important;min-width:28px!important;
  border:1px solid #45474b!important;border-radius:50%!important;color:#ddd!important;
  background:transparent!important;padding:0!important;margin:0!important;font-size:18px!important;
  text-decoration:none!important;line-height:1!important;box-shadow:none!important;
}
.lco-offer-progress{display:block;position:absolute;bottom:0;left:0;width:0;height:2px;background:var(--lco-red)}
.lco-offer-progress-active{animation:lco-offer-time 5.6s linear forwards}
.lco-offer-animate{animation:lco-offer-in .32s ease-out both}
@keyframes lco-offer-in{from{opacity:.25;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@keyframes lco-offer-time{from{width:0}to{width:100%}}

/* 02 — Native WooCommerce breadcrumbs inside the product container. */
body.lco-editorial.single-product .lco-product-page{padding-top:17px}
body.lco-editorial.single-product .lco-pdp-topbar{display:flex;align-items:center;
  justify-content:space-between;gap:20px;margin:0 0 22px;min-width:0}
body.lco-editorial.single-product .lco-pdp-breadcrumb-wrap{flex:1;min-width:0}
body.lco-editorial.single-product .lco-pdp-breadcrumb{
  display:flex;gap:7px;align-items:center;overflow-x:auto;white-space:nowrap;scrollbar-width:none;
  margin:0;padding:2px 0;color:#878783;font-size:11px;line-height:1.4;
}
.lco-pdp-breadcrumb::-webkit-scrollbar{display:none}
body.lco-editorial .lco-pdp-breadcrumb .lco-crumb-item{display:inline-flex;align-items:center;gap:0;min-width:0;flex:none}
body.lco-editorial .lco-pdp-breadcrumb .lco-crumb-item a{
  display:inline-flex;align-items:center;min-height:33px;padding:7px 12px;
  border:1px solid #eae9e6;border-radius:99px;background:#f6f6f4;
  font-size:11px;font-weight:700;color:#6d6e6c;
}
body.lco-editorial .lco-pdp-breadcrumb .lco-crumb-item a:hover{background:#f9eef0;color:var(--lco-red)}
body.lco-editorial .lco-pdp-breadcrumb .lco-crumb-item:last-of-type{font-weight:800;color:#2a2928;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:min(37vw,440px)}
body.lco-editorial .lco-pdp-breadcrumb .lco-crumb-separator{font-size:11px;color:#bbb;flex:none}
body.lco-editorial .lco-pdp-topbar .lco-back-link{display:flex;align-items:center;gap:9px;
  font-size:11px;font-weight:800;white-space:nowrap;flex:none;color:#6d6d6a!important}
body.lco-editorial .lco-pdp-topbar .lco-back-link .lco-icon{transform:rotate(180deg)}

/* 03 — A clear buying hierarchy; never replace WooCommerce add-to-cart forms. */
body.lco-editorial.single-product .lco-pdp-summary form.cart{margin-bottom:22px}
body.lco-editorial.single-product .lco-pdp-summary form.cart:not(.variations_form):not(.grouped_form):has(> .quantity):has(> .single_add_to_cart_button){
  display:grid;grid-template-columns:132px minmax(0,1fr);gap:12px;align-items:center;
}
body.lco-editorial.single-product .lco-pdp-summary form.cart:not(.variations_form):not(.grouped_form) > .quantity{grid-column:1}
body.lco-editorial.single-product .lco-pdp-summary form.cart:not(.variations_form):not(.grouped_form) > .single_add_to_cart_button{grid-column:2}
body.lco-editorial.single-product .lco-pdp-summary form.cart.variations_form .woocommerce-variation-add-to-cart{
  display:grid;grid-template-columns:132px minmax(0,1fr);gap:12px;align-items:center;
  width:100%;margin-top:10px;
}
body.lco-editorial.single-product .lco-pdp-summary form.cart .quantity{
  width:132px!important;max-width:100%!important;min-width:0;height:55px!important;
  margin:0!important;border:1px solid #e6e6e2!important;background:#f7f7f5;
  border-radius:15px!important;display:inline-flex;align-items:center;justify-content:space-between;
}
body.lco-editorial.single-product .lco-pdp-summary form.cart .quantity .qty{
  background:transparent!important;border:0!important;box-shadow:none!important;
  height:53px!important;line-height:53px!important;width:50px!important;min-width:28px!important;
  text-align:center!important;font-weight:800!important;font-size:15px!important;padding:0!important;
}
body.lco-editorial.single-product .lco-pdp-summary form.cart .quantity .lco-qty-change{
  height:53px!important;width:39px!important;min-width:32px!important;border:0!important;
  background:transparent!important;color:#1c1d1e!important;font-size:20px!important;
}
body.lco-editorial.single-product .lco-pdp-summary form.cart .single_add_to_cart_button{
  width:100%!important;min-width:0!important;min-height:55px!important;max-width:100%;
  margin:0!important;padding:14px 16px!important;border-radius:15px!important;
  font-size:13px!important;font-weight:800!important;letter-spacing:0!important;
  box-shadow:none!important;
}
body.lco-editorial.single-product .lco-pdp-summary form.cart .single_add_to_cart_button:disabled{opacity:.54;cursor:not-allowed}
body.lco-editorial.single-product .lco-pdp-summary .stock{
  display:inline-flex;align-items:center;gap:8px;width:fit-content;border:1px solid #e0e8d8;
  border-radius:99px;background:#f3f7ef;color:#496b46;font-size:12px;font-weight:750;
  margin:10px 0 14px;padding:7px 12px;line-height:1.3;
}
body.lco-editorial.single-product .lco-pdp-summary .stock::before{content:"";display:block;width:7px;height:7px;background:#639361;border-radius:50%}
body.lco-editorial.single-product .lco-pdp-summary .stock.out-of-stock{background:#fdf0f0;color:#a62138;border-color:#f1dede}
body.lco-editorial.single-product .lco-pdp-summary .stock.out-of-stock::before{background:#a62138}
body.lco-editorial.single-product .lco-pdp-summary .product_meta{
  display:flex;flex-wrap:wrap;gap:4px 17px;margin:22px 0 0!important;
  padding-top:18px;border-top:1px solid var(--lco-line);font-size:11px;
  color:#81827c;line-height:1.6;
}
body.lco-editorial.single-product .lco-pdp-summary .product_meta > span{margin:0;max-width:100%}
body.lco-editorial.single-product .lco-pdp-summary .product_meta a{color:#53534f}
body.lco-editorial.single-product .lco-pdp-summary .product_meta a:hover{color:var(--lco-red)}

/* 04/05 — No ghost tabs; no whitespace canyon; truly full-width related cards. */
body.lco-editorial.single-product .lco-pdp-after{margin-top:34px}
body.lco-editorial.single-product .lco-pdp-after:empty{display:none}
body.lco-editorial.single-product .lco-pdp-after > .woocommerce-tabs{
  width:100%!important;max-width:none!important;margin:0!important;padding:0!important;
  min-height:0!important;float:none!important;clear:both;
}
body.lco-editorial.single-product .lco-pdp-after > .woocommerce-tabs .tabs{margin:0 0 20px!important}
body.lco-editorial.single-product .lco-pdp-after > .woocommerce-tabs .panel{margin:0 0 20px!important;padding:0!important;min-height:0}
body.lco-editorial.single-product .lco-pdp-after > .woocommerce-tabs .panel h2{margin:0 0 16px}
body.lco-editorial.single-product .lco-pdp-after > :is(.related.products,.up-sells.products,.upsells.products){
  display:block!important;clear:both!important;float:none!important;grid-column:1/-1;
  width:100%!important;max-width:none!important;margin:0!important;padding:0!important;
  min-height:0!important;
}
body.lco-editorial.single-product .lco-pdp-after > :is(.related.products,.up-sells.products,.upsells.products) + :is(.related.products,.up-sells.products,.upsells.products){margin-top:38px!important}
body.lco-editorial.single-product .lco-pdp-after > .woocommerce-tabs + :is(.related.products,.up-sells.products,.upsells.products){margin-top:38px!important}
body.lco-editorial.single-product .lco-pdp-after > :is(.related.products,.up-sells.products,.upsells.products) > h2{
  margin:0 0 22px!important;padding:0!important;width:100%!important;
  text-align:left!important;font-size:clamp(34px,3.7vw,48px)!important;
}
body.lco-editorial.single-product .lco-pdp-after > :is(.related.products,.up-sells.products,.upsells.products) ul.products{
  display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,238px),1fr))!important;
  gap:24px 17px!important;max-width:none!important;width:100%!important;
  margin:0!important;padding:0!important;float:none!important;clear:both!important;
  list-style:none!important;
}
body.lco-editorial.single-product .lco-pdp-after > :is(.related.products,.up-sells.products,.upsells.products) ul.products > li.product{
  float:none!important;width:auto!important;max-width:none!important;min-width:0!important;
  margin:0!important;padding:0!important;clear:none!important;
}
body.lco-editorial.single-product .lco-pdp-after > :is(.related.products,.up-sells.products,.upsells.products) ul.products .lco-card-media{border-radius:20px}

@media(max-width:1024px){
  .lco-offer-inner{width:calc(100% - 42px);grid-template-columns:146px minmax(0,1fr) auto;gap:12px}
  .lco-offer-identity{font-size:9px}
  .lco-offer-number{display:none}
}
@media(max-width:767px){
  body.lco-editorial p.woocommerce-store-notice.demo_store.lco-store-rail{min-height:51px!important}
  .lco-offer-inner{width:calc(100% - 28px);min-height:51px;grid-template-columns:minmax(0,1fr) auto;gap:7px}
  .lco-offer-identity{display:none}
  .lco-offer-viewport{justify-content:flex-start}
  body.lco-editorial .lco-offer-message{font-size:11px;line-height:1.3;white-space:normal;
    display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2}
  .lco-offer-controls{padding-right:33px;gap:4px}
  body.lco-editorial .lco-offer-step{width:24px;height:24px;min-width:24px;font-size:18px!important}
  body.lco-editorial p.lco-store-rail .woocommerce-store-notice__dismiss-link.lco-offer-dismiss{width:23px!important;height:23px!important;font-size:15px!important}
  body.lco-editorial.single-product .lco-product-page{padding-top:12px}
  body.lco-editorial.single-product .lco-pdp-topbar{gap:8px;margin-bottom:12px;align-items:center}
  body.lco-editorial.single-product .lco-pdp-breadcrumb{font-size:10px;gap:5px}
  body.lco-editorial .lco-pdp-breadcrumb .lco-crumb-item a{font-size:10px;min-height:30px;padding:6px 10px}
  body.lco-editorial .lco-pdp-breadcrumb .lco-crumb-item:last-of-type{max-width:44vw}
  body.lco-editorial .lco-pdp-topbar .lco-back-link{font-size:0;gap:0;width:32px;height:32px;
    justify-content:center;border:1px solid #ebebe9;border-radius:50%}
  body.lco-editorial .lco-pdp-topbar .lco-back-link svg{width:16px;height:16px}
  body.lco-editorial.single-product .lco-pdp-summary form.cart.variations_form .woocommerce-variation-add-to-cart,
  body.lco-editorial.single-product .lco-pdp-summary form.cart:not(.variations_form):not(.grouped_form):has(> .quantity):has(> .single_add_to_cart_button){
    grid-template-columns:108px minmax(0,1fr);gap:9px;
  }
  body.lco-editorial.single-product .lco-pdp-summary form.cart .quantity{width:108px!important;height:51px!important;border-radius:13px!important}
  body.lco-editorial.single-product .lco-pdp-summary form.cart .quantity .qty{height:49px!important;line-height:49px!important;width:36px!important;font-size:14px!important}
  body.lco-editorial.single-product .lco-pdp-summary form.cart .quantity .lco-qty-change{width:32px!important;min-width:29px!important;height:49px!important}
  body.lco-editorial.single-product .lco-pdp-summary form.cart .single_add_to_cart_button{min-height:51px!important;border-radius:13px!important;padding:10px 12px!important;font-size:12px!important}
  body.lco-editorial.single-product .lco-pdp-summary .product_meta{margin-top:15px!important;padding-top:15px;gap:5px 11px}
  body.lco-editorial.single-product .lco-pdp-after{margin-top:25px}
  body.lco-editorial.single-product .lco-pdp-after > .woocommerce-tabs + :is(.related.products,.up-sells.products,.upsells.products){margin-top:25px!important}
  body.lco-editorial.single-product .lco-pdp-after > :is(.related.products,.up-sells.products,.upsells.products) > h2{font-size:32px!important;margin-bottom:17px!important}
  body.lco-editorial.single-product .lco-pdp-after > :is(.related.products,.up-sells.products,.upsells.products) ul.products{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:20px 11px!important;
  }
  body.lco-editorial.single-product .lco-pdp-after > :is(.related.products,.up-sells.products,.upsells.products) ul.products .lco-card-media{border-radius:14px}
}
@media(max-width:350px){
  body.lco-editorial.single-product .lco-pdp-summary form.cart.variations_form .woocommerce-variation-add-to-cart,
  body.lco-editorial.single-product .lco-pdp-summary form.cart:not(.variations_form):not(.grouped_form):has(> .quantity):has(> .single_add_to_cart_button){grid-template-columns:98px minmax(0,1fr);gap:7px}
  body.lco-editorial.single-product .lco-pdp-summary form.cart .quantity{width:98px!important}
  body.lco-editorial.single-product .lco-pdp-summary form.cart .single_add_to_cart_button{font-size:11px!important;padding:8px!important}
}
@media(prefers-reduced-motion:reduce){
  .lco-offer-animate,.lco-offer-progress-active{animation:none!important}
}
