/* Liscano Editorial Lab 0.10.25 — nine targeted storefront improvements. */
:root { --lco-pr9-addi-blue: #316bfa; }

/* 1 — Both existing predictive-search dialogs, no duplicate search input. */
@media (min-width: 900px) {
  body.lco-editorial #lco-search-panel .lco-search-dialog,
  body.lco-editorial #lco-hybrid-search-panel .lco-hybrid-search-dialog {
    width: min(1120px, calc(100vw - 64px)) !important;
    max-width: 1120px !important;
    max-height: min(88dvh, 960px) !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
  }
  body.lco-editorial :is(#lco-search-panel,#lco-hybrid-search-panel) .lco-search-head,
  body.lco-editorial :is(#lco-search-panel,#lco-hybrid-search-panel) .lco-search-form,
  body.lco-editorial :is(#lco-search-panel,#lco-hybrid-search-panel) .lco-search-footer { flex-shrink: 0; }
  body.lco-editorial :is(#lco-search-panel,#lco-hybrid-search-panel) .lco-search-content {
    min-height: 0 !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
  }
  body.lco-editorial #lco-search-panel .lco-predictive-layout {
    grid-template-columns: minmax(230px,30%) minmax(0,70%) !important;
  }
}
@media (max-width: 899px) {
  body.lco-editorial :is(#lco-search-panel,#lco-hybrid-search-panel) .lco-search-dialog {
    max-width: 100% !important;
    min-height: 0;
    max-height: 100dvh !important;
    overflow-y: auto;
  }
}

/* 2 — Confirmation follows payment > data > confirmation (no second payment). */
body.lco-editorial.woocommerce-order-received .lco-pr9-order-success {
  max-width: 1180px;
  margin: 36px auto 24px;
  padding: clamp(24px, 4vw, 48px);
  border-radius: var(--lsc-radius-panel, 24px);
  background: #f5f6f4;
  color: #19191b;
  text-align: left;
}
.lco-pr9-success-label { display:block;color:#bc1734;font-size:11px;letter-spacing:.12em;font-weight:800; }
.lco-pr9-order-success h1 { font-size:clamp(30px,4.8vw,64px);line-height:1.06;letter-spacing:-.045em;margin:14px 0; }
.lco-pr9-order-success p { max-width:650px;font-size:15px;line-height:1.6;color:#555; }
.lco-pr9-order-status { display:inline-block;margin-top:10px;padding:9px 14px;border-radius:999px;background:#fff3dc;color:#76510a;font-weight:750;font-size:12px; }
body.woocommerce-order-received .woocommerce-order { max-width:1180px;margin:0 auto 60px; }
body.woocommerce-order-received .woocommerce-order-overview {
  display:grid!important;grid-template-columns:repeat(auto-fit,minmax(165px,1fr));
  gap:12px;margin:0 0 40px!important;padding:0!important;list-style:none!important;
}
body.woocommerce-order-received .woocommerce-order-overview li {
  display:flex!important; flex-direction:column;gap:8px;min-width:0;
  margin:0!important;float:none!important;padding:18px!important;
  border:1px solid #e8e8e8!important;border-radius:16px;background:#fff;
  overflow-wrap:anywhere;font-size:12px!important;
}
body.woocommerce-order-received :is(.woocommerce-order-details,.woocommerce-customer-details) {
  border:1px solid #ececec;border-radius:18px;padding:20px;margin:24px 0;background:#fff;
}
body.woocommerce-order-received :is(.woocommerce-order-details,.woocommerce-customer-details) h2 {
  font-size:clamp(24px,3vw,34px);margin:0 0 18px;
}
body.woocommerce-order-received .woocommerce-table--order-details { width:100%; }
body.woocommerce-order-received .woocommerce-table--order-details td,
body.woocommerce-order-received .woocommerce-table--order-details th { padding:14px 9px; }

/* 3 — The closing editorial block is one actual centered column. */
body.lco-editorial .lco-home-end {
  width:min(100% - 36px, 1280px)!important; max-width:1280px;
  margin-inline:auto!important;padding:clamp(42px,6vw,94px) 0!important;
  text-align:center!important;
  display:flex!important;flex-direction:column;align-items:center;gap:0;
}
body.lco-editorial .lco-home-end .lco-micro {margin:0 auto 20px!important;text-align:center!important;}
body.lco-editorial .lco-home-end h2 {
  max-width:1200px;width:100%;margin:0 auto 20px!important;
  text-align:center!important;text-wrap:balance;
  line-height:1.05!important;overflow-wrap:normal;
}
body.lco-editorial .lco-home-end__description {
  width:100%;max-width:520px;margin:0 auto 26px!important;
  text-align:center!important;text-wrap:pretty;
}
body.lco-editorial .lco-home-end .lco-circle-arrow {
  display:inline-flex!important;align-items:center;justify-content:center;
  position:static!important;margin:0 auto!important;
}

/* 6 — Native FAQ page shares the editorial theme tokens. */
.lco-pr9-faq-page { max-width:1120px;margin-inline:auto;padding:clamp(28px,5vw,70px) 0 90px; }
.lco-pr9-faq-hero { text-align:center;max-width:860px;margin:0 auto 30px; }
.lco-pr9-eyebrow {color:#ba1833;font-weight:800;font-size:11px;letter-spacing:.13em;}
.lco-pr9-faq-hero h1 {font-size:clamp(40px,5vw,72px);letter-spacing:-.05em;line-height:1.05;margin:12px 0;}
.lco-pr9-faq-hero > p:not(.lco-pr9-eyebrow) {color:#666;line-height:1.5;}
#lco-pr9-faq-search {
  display:block;width:100%;margin:28px 0 0;min-height:56px;padding:15px 20px;
  border:1px solid #e5e5e5;background:#f7f7f6;border-radius:14px;font-size:15px;
}
.lco-pr9-faq-status {min-height:20px;margin:8px 0;color:#666;font-size:12px;}
.lco-pr9-faq-nav {display:flex;gap:8px;flex-wrap:wrap;justify-content:center;margin-bottom:44px;}
.lco-pr9-faq-nav a {padding:11px 15px;border:1px solid #e5e5e5;border-radius:999px;color:#222;text-decoration:none;font-size:13px;font-weight:700;}
.lco-pr9-faq-nav a:hover,.lco-pr9-faq-nav a:focus-visible {border-color:#bd1736;color:#bd1736;}
.lco-pr9-faq-group {margin:0 0 44px;scroll-margin-top:130px;}
.lco-pr9-faq-group[hidden],.lco-pr9-faq-item[hidden] {display:none!important;}
.lco-pr9-faq-group h2 {font-size:clamp(25px,3vw,36px);letter-spacing:-.035em;margin:0 0 17px;}
.lco-pr9-faq-item {border-bottom:1px solid #e7e7e7;background:#fff;}
.lco-pr9-faq-item:first-child {border-top:1px solid #e7e7e7;}
.lco-pr9-faq-item summary {display:flex;align-items:center;justify-content:space-between;gap:16px;list-style:none;cursor:pointer;padding:19px 6px;font-weight:720;font-size:15px;}
.lco-pr9-faq-item summary::-webkit-details-marker {display:none;}
.lco-pr9-faq-item summary span {width:10px;height:10px;flex:none;border:solid #b91637;border-width:0 2px 2px 0;transform:rotate(45deg);}
.lco-pr9-faq-item[open] summary span {transform:rotate(225deg);}
.lco-pr9-faq-item > p {margin:0;padding:0 36px 24px 6px;color:#5b5b5b;line-height:1.75;font-size:14px;max-width:850px;}
.lco-pr9-faq-help {padding:30px;background:#18181a;color:#fff;border-radius:24px;}
.lco-pr9-faq-help h2 {font-size:clamp(25px,3vw,34px);margin:0 0 8px;}
.lco-pr9-faq-help p {color:#ddd;max-width:680px;}
.lco-pr9-faq-help-link {display:inline-flex;margin-top:12px;color:#fff!important;font-weight:750;text-decoration:underline;}
/* 7 — The existing sticky Addi strip, blue brand surface; keep live thresholds. */
body.lco-editorial.woocommerce-cart .lco-cart-addi-sticky {
  background:var(--lco-pr9-addi-blue)!important;
  border-bottom-color:var(--lco-pr9-addi-blue)!important;
  color:#fff!important;box-shadow:0 8px 25px #24458b30!important;
}
body.lco-editorial.woocommerce-cart .lco-cart-addi-sticky__inner {
  background:transparent!important;border-color:#ffffff55!important;color:#fff!important;
}
body.lco-editorial.woocommerce-cart .lco-cart-addi-sticky__copy > strong,
body.lco-editorial.woocommerce-cart .lco-cart-addi-sticky__message,
body.lco-editorial.woocommerce-cart .lco-cart-addi-sticky__fallback {color:#fff!important;}
body.lco-editorial.woocommerce-cart .lco-cart-addi-sticky__logo {
  background:#fff!important;border:0!important;border-radius:10px!important;
}
body.lco-editorial.woocommerce-cart .lco-cart-addi-sticky :is(a,button) {color:#fff;}
/* 8 — Step 3 summary: clickable and visible on desktop as well as mobile. */
body.lco-wizard-active .lco-wizard-summary__toggle {
  cursor:pointer!important;pointer-events:auto!important;min-height:44px;
}
body.lco-wizard-active .lco-wizard-summary__detail[hidden] {display:none!important;}
body.lco-wizard-active .lco-wizard-summary.is-open .lco-wizard-summary__detail:not([hidden]) {
  display:block!important;max-height:none!important;height:auto!important;opacity:1!important;visibility:visible!important;
}
body.lco-wizard-active .lco-wizard-summary .woocommerce-checkout-review-order-table {display:table!important;width:100%!important;}
body.lco-wizard-active .lco-wizard-grid[data-step="3"] .lco-wizard-summary {
  z-index:1;overflow:visible!important;
}
/* 9 — Progressive full-width related grid, not a 40-item carousel. */
body.lco-editorial.single-product .lco-pr9-related-grid ul.products {
  display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:clamp(12px,1.8vw,25px)!important;overflow:visible!important;transform:none!important;
  margin:25px 0 0!important;
}
body.lco-editorial.single-product .lco-pr9-related-grid ul.products li.product {
  position:relative!important;display:block!important;float:none!important;clear:none!important;
  flex:none!important;width:auto!important;max-width:100%!important;margin:0!important;
  scroll-snap-align:none!important;
}
.lco-pr9-load-more {
  display:block;margin:34px auto 0;padding:13px 26px;
  color:#18181a;background:#fff;border:1px solid #b7b7b7;border-radius:999px;
  cursor:pointer;font-weight:750;font-size:14px;min-height:46px;
}
.lco-pr9-load-more:hover,.lco-pr9-load-more:focus-visible {background:#191919;color:#fff;}
.lco-pr9-load-more[hidden] {display:none!important;}
@media(max-width:780px) {
  body.lco-editorial.single-product .lco-pr9-related-grid ul.products {grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  body.lco-editorial .lco-home-end h2 {font-size:clamp(39px,8.6vw,70px)!important;}
  .lco-pr9-faq-page {width:calc(100% - 32px);padding-block:35px 55px;}
  .lco-pr9-faq-hero h1 {font-size:clamp(36px,9vw,54px);}
  body.woocommerce-order-received .woocommerce-order-overview {grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(prefers-reduced-motion:reduce) { .lco-pr9-faq-item summary span {transition:none!important;} }
