/* ============================================================
   Lexora — Shop / product archive grid
   Brand-matched product cards (navy + teal-green), images that
   always cover their square container. Loaded only on shop and
   product-category/tag archives.
   ============================================================ */

.woocommerce ul.products{
  --lx-primary:#09243C; --lx-primary-700:#051B2E; --lx-primary-50:#EAF1F7;
  --lx-accent:#1F9C8A; --lx-ink:#0B1F33; --lx-ink-2:#566472; --lx-ink-3:#8A95A1;
  --lx-line:#E2E7EC; --lx-surface:#FFFFFF; --lx-surface-2:#EEF2F6;
  --lx-display:'Inter',system-ui,-apple-system,sans-serif;
  display:grid!important;grid-template-columns:repeat(auto-fill,minmax(248px,1fr));gap:22px;
  margin:0!important;padding:0!important;list-style:none!important;
}
@media(max-width:560px){.woocommerce ul.products{grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:14px}}
/* WooCommerce adds ::before/::after clearfix pseudos (display:table) to ul.products.
   In a CSS grid they become phantom grid items that occupy the first/last cell,
   leaving an empty first cell and shifting every product. Remove them. */
.woocommerce ul.products::before,
.woocommerce ul.products::after{content:none!important;display:none!important}

.woocommerce ul.products li.product{
  width:auto!important;margin:0!important;float:none!important;padding:0!important;
  background:var(--lx-surface);border:1px solid var(--lx-line);border-radius:12px;overflow:hidden;
  display:flex;flex-direction:column;transition:box-shadow .18s,transform .18s,border-color .18s;
}
.woocommerce ul.products li.product::before,
.woocommerce ul.products li.product::after{display:none!important}
.woocommerce ul.products li.product:hover{box-shadow:0 8px 24px rgba(11,31,51,.10);transform:translateY(-3px);border-color:#CDD5DD}
.woocommerce ul.products li.product .woocommerce-product-inner{display:flex;flex-direction:column;height:100%;margin:0}

/* image — always cover a true square.
   The theme forces display:flex + a fixed min-height/max-height on the header,
   which overrides aspect-ratio and stretches the image tall — so override with !important. */
.woocommerce ul.products li.product .woocommerce-product-header{position:relative;display:block!important;
  aspect-ratio:1/1!important;height:auto!important;min-height:0!important;max-height:none!important;
  background:var(--lx-surface-2);border-bottom:1px solid var(--lx-line);overflow:hidden}
.woocommerce ul.products li.product .woocommerce-product-header a,
.woocommerce ul.products li.product .woocommerce-product-details{display:block!important;width:100%!important;
  height:100%!important;min-height:0!important}
.woocommerce ul.products li.product .woocommerce-product-header img{width:100%!important;height:100%!important;
  min-height:0!important;max-width:100%!important;max-height:none!important;object-fit:cover!important;display:block;margin:0;border-radius:0}

/* on-sale badge */
.woocommerce ul.products li.product .onsale{position:absolute;top:12px;left:12px;z-index:2;margin:0;min-height:0;min-width:0;
  background:var(--lx-accent);color:#fff;font-family:var(--lx-display);font-weight:500;font-size:12px;
  line-height:1;padding:6px 10px;border-radius:999px}

/* content */
.woocommerce ul.products li.product .woocommerce-product-content{padding:10px;display:flex;flex-direction:column;gap:9px;flex:1}
.woocommerce ul.products li.product .woocommerce-product--title{margin:0;font-family:var(--lx-display);
  font-size:16px;line-height:1.3;font-weight:500;order:2}
.woocommerce ul.products li.product .woocommerce-product--title a{color:var(--lx-ink)}
.woocommerce ul.products li.product .woocommerce-product--title a:hover{color:var(--lx-primary)}
/* price — clean baseline row: muted "From:" / struck original, then bold navy current */
.woocommerce ul.products li.product .price{order:3;margin:0!important;font-family:var(--lx-display);font-weight:500;
  font-size:16px;color:var(--lx-ink)!important;display:flex;align-items:baseline;flex-wrap:wrap;gap:7px;line-height:1.2}
.woocommerce ul.products li.product .price .from{order:0;color:var(--lx-ink-2)!important;font-weight:500;font-size:12.5px}
.woocommerce ul.products li.product .price del{order:1;margin:0!important;color:var(--lx-ink-3)!important;font-weight:500;font-size:13.5px}
.woocommerce ul.products li.product .price del .amount{color:var(--lx-ink-3)!important}
.woocommerce ul.products li.product .price ins{order:2;text-decoration:none;color:var(--lx-primary)!important;font-weight:500}
.woocommerce ul.products li.product .price ins .amount{color:var(--lx-primary)!important}
.woocommerce ul.products li.product .price .amount{color:var(--lx-ink)!important}
/* Kill the theme's decorative ::before on the price amount (renders as a stray "/" mark). */
.woocommerce ul.products li.product .price .woocommerce-Price-amount::before,
.woocommerce ul.products li.product .price .woocommerce-Price-amount::after{content:none!important;display:none!important;background:none!important}
.woocommerce ul.products li.product .woocommerce-product--rating{order:4}

/* add-to-cart / select-options button */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .add_to_cart_button,
.woocommerce ul.products li.product .product_type_variable,
.woocommerce ul.products li.product .product_type_bundle{order:5;display:inline-flex;align-items:center;justify-content:center;
  gap:7px;margin:auto 0 0!important;background:var(--lx-primary)!important;color:#fff!important;border:0!important;
  font-family:var(--lx-display);font-weight:500;font-size:13.5px;border-radius:9px;padding:11px 14px!important;
  width:100%;text-align:center;transition:background .15s}
.woocommerce ul.products li.product .button:hover{background:var(--lx-primary-700)!important}
.woocommerce ul.products li.product .added_to_cart{order:6;font-family:var(--lx-display);font-weight:500;font-size:12.5px;
  color:var(--lx-primary);text-align:center;text-decoration:underline;text-underline-offset:2px}

/* hide the theme's floating over-image button; use a clean full-width button in the content */
.woocommerce ul.products li.product .woocommerce-product-header .woocommerce-product--buttons{display:none!important}
.woocommerce ul.products li.product .woocommerce-add-to--cart.list-v{display:block!important;order:5;margin-top:auto}
.woocommerce ul.products li.product .woocommerce-add-to--cart.list-v .button{width:100%}

/* ============================================================
   Lexora — Shop STOREFRONT  (hero, category nav, toolbar,
   trust strip, CTA band). Scoped under .lexora-shop; shares the
   navy/teal design system used by the homepage and blog.
   ============================================================ */

/* Hide the theme page-title banner on shop views (our hero replaces it). */
body.lexora-shop-view #pxl-page-title-default,
body.lexora-shop-view #pxl-page-title-elementor{display:none !important}

/* No top gap above the hero (theme adds #pxl-main top padding) — mobile + desktop. */
body.lexora-shop-view #pxl-main{padding-top:0 !important}

.lexora-shop{
  --primary:#09243C; --primary-700:#051B2E; --primary-600:#0B2F4A; --primary-50:#EAF1F7; --primary-100:#D5E3EF;
  --accent:#1F9C8A; --accent-600:#17806F; --accent-50:#E7F4F1;
  --bg:#F5F7FA; --surface:#FFFFFF; --surface-2:#EEF2F6;
  --ink:#0B1F33; --ink-2:#566472; --ink-3:#8A95A1; --line:#E2E7EC; --line-strong:#CDD5DD;
  --display:'Inter',system-ui,-apple-system,sans-serif;
  --body:'Public Sans',system-ui,-apple-system,sans-serif;
  --r:12px; --r-lg:18px; --r-xl:24px; --maxw:1200px;
  font-family:var(--body); color:var(--ink); background:var(--bg);
}
.lexora-shop *{box-sizing:border-box}
.lexora-shop a{text-decoration:none;color:inherit}
.lexora-shop h1,.lexora-shop h2,.lexora-shop h3{font-family:var(--display);font-weight:500;
  line-height:1.15;letter-spacing:-.02em;margin:0;color:var(--ink)}
.lexora-shop .wrap{max-width:var(--maxw);margin:0 auto;padding:0 24px}
.lexora-shop .eyebrow{display:inline-flex;align-items:center;gap:7px;font-family:var(--display);
  font-weight:500;font-size:12.5px;letter-spacing:.14em;text-transform:uppercase;color:var(--accent-600)}
.lexora-shop .eyebrow.on-dark{color:#6FE3D1}
.lexora-shop .eyebrow .lx-ic{width:15px;height:15px}
.lexora-shop .lx-ic{width:17px;height:17px;flex:0 0 auto;vertical-align:middle}

/* Buttons */
.lexora-shop .lx-btn{display:inline-flex;align-items:center;gap:9px;font-family:var(--display);
  font-weight:500;font-size:15.5px;padding:13px 22px;border-radius:999px;border:1px solid transparent;
  transition:transform .15s ease, background .15s ease, box-shadow .15s ease;cursor:pointer}
.lexora-shop .lx-btn .lx-ic{width:18px;height:18px}
.lexora-shop .lx-btn-accent{background:var(--accent);color:#fff;box-shadow:0 8px 20px rgba(31,156,138,.28)}
.lexora-shop .lx-btn-accent:hover{background:var(--accent-600);transform:translateY(-2px)}
.lexora-shop .lx-btn-ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.28)}
.lexora-shop .lx-btn-ghost:hover{border-color:#fff;transform:translateY(-2px)}

/* Hero */
.lexora-shop .lx-shop-hero{position:relative;background:var(--primary);color:#fff;overflow:hidden;padding:84px 0 76px}
.lexora-shop .lx-shop-hero::before{content:"";position:absolute;inset:0;
  background:radial-gradient(900px 380px at 82% -10%, rgba(31,156,138,.20), transparent 60%);pointer-events:none}
.lexora-shop .lx-shop-hero .wrap{position:relative}
.lexora-shop .lx-shop-hero h1{color:#fff;font-size:clamp(34px,5vw,54px);margin:16px 0 0;max-width:18ch;text-wrap:balance}
.lexora-shop .lx-shop-hero .lede{margin:18px 0 0;max-width:62ch;font-size:18.5px;line-height:1.6;color:#C7D4E0}
.lexora-shop .lx-shop-hero-cta{display:flex;gap:14px;margin-top:30px;flex-wrap:wrap}

/* Category nav (sticky pills) */
.lexora-shop .lx-shop-nav{position:sticky;top:0;z-index:20;background:rgba(245,247,250,.92);
  backdrop-filter:blur(8px);border-bottom:1px solid var(--line)}
.lexora-shop .lx-pills{display:flex;gap:10px;padding:16px 0;overflow-x:auto;scrollbar-width:none}
.lexora-shop .lx-pills::-webkit-scrollbar{display:none}
.lexora-shop .lx-pill{flex:0 0 auto;font-family:var(--display);font-weight:500;font-size:14px;
  padding:9px 16px;border-radius:999px;background:var(--surface);border:1px solid var(--line);
  color:var(--ink-2);transition:all .15s ease;white-space:nowrap}
.lexora-shop .lx-pill:hover{border-color:var(--accent);color:var(--primary)}
.lexora-shop .lx-pill.is-active{background:var(--primary);border-color:var(--primary);color:#fff}

/* Body + toolbar */
.lexora-shop .lx-shop-body{padding:40px 0 72px}
.lexora-shop .lx-shop-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;
  margin:0 0 26px;flex-wrap:wrap}
.lexora-shop .lx-shop-toolbar .woocommerce-result-count{margin:0;color:var(--ink-2);font-size:14.5px;
  font-family:var(--display);font-weight:500}
.lexora-shop .lx-shop-toolbar .woocommerce-ordering{margin:0;float:none}
.lexora-shop .lx-shop-toolbar .woocommerce-ordering select,
.lexora-shop .lx-shop-toolbar select.orderby{font-family:var(--display);font-weight:500;font-size:14px;
  color:var(--ink);background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:10px 36px 10px 14px;cursor:pointer}

/* WooCommerce pagination → brand chips */
.lexora-shop .woocommerce-pagination{margin-top:46px;text-align:center}
.lexora-shop .woocommerce-pagination ul{display:inline-flex;gap:8px;border:0 !important;list-style:none;margin:0;padding:0}
.lexora-shop .woocommerce-pagination ul li{border:0 !important;margin:0;overflow:visible}
.lexora-shop .woocommerce-pagination ul li a,
.lexora-shop .woocommerce-pagination ul li span{display:inline-grid;place-items:center;min-width:44px;height:44px;
  padding:0 14px;border-radius:11px;background:var(--surface);border:1px solid var(--line) !important;
  font-family:var(--display);font-weight:500;color:var(--ink-2);font-size:15px}
.lexora-shop .woocommerce-pagination ul li a:hover{border-color:var(--accent) !important;color:var(--primary)}
.lexora-shop .woocommerce-pagination ul li span.current{background:var(--primary) !important;
  border-color:var(--primary) !important;color:#fff !important}

/* Empty state */
.lexora-shop .lx-shop-empty{text-align:center;padding:60px 20px;max-width:520px;margin:0 auto}
.lexora-shop .lx-shop-empty-ic{display:inline-grid;place-items:center;width:74px;height:74px;border-radius:50%;
  background:var(--accent-50);color:var(--accent-600);margin-bottom:18px}
.lexora-shop .lx-shop-empty-ic .lx-ic{width:34px;height:34px}
.lexora-shop .lx-shop-empty h2{font-size:25px}
.lexora-shop .lx-shop-empty p{margin:10px 0 22px;color:var(--ink-2)}

/* Trust strip */
.lexora-shop .lx-shop-trust{border-top:1px solid var(--line);background:var(--surface);padding:56px 0}
.lexora-shop .lx-trust-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:28px}
@media(max-width:860px){.lexora-shop .lx-trust-grid{grid-template-columns:repeat(2,1fr);gap:24px}}
@media(max-width:520px){.lexora-shop .lx-trust-grid{grid-template-columns:1fr}}
.lexora-shop .lx-trust-ic{display:inline-grid;place-items:center;width:50px;height:50px;border-radius:14px;
  background:var(--accent-50);color:var(--accent-600);margin-bottom:15px}
.lexora-shop .lx-trust-ic .lx-ic{width:25px;height:25px}
.lexora-shop .lx-trust-item h3{font-size:17.5px;margin:0 0 7px}
.lexora-shop .lx-trust-item p{margin:0;color:var(--ink-2);font-size:14.5px;line-height:1.62}

/* CTA band */
.lexora-shop .lx-shop-cta{background:var(--bg);padding:0 0 84px}
.lexora-shop .lx-shop-cta-inner{position:relative;overflow:hidden;border-radius:var(--r-xl);
  background:var(--primary);color:#fff;padding:56px 58px;box-shadow:0 18px 48px rgba(11,31,51,.14)}
.lexora-shop .lx-shop-cta-glow{position:absolute;inset:0;
  background:radial-gradient(640px 290px at 88% 120%, rgba(31,156,138,.30), transparent 62%);pointer-events:none}
.lexora-shop .lx-shop-cta-content{position:relative;max-width:700px}
.lexora-shop .lx-shop-cta-content h2{color:#fff;font-size:clamp(24px,3vw,34px);line-height:1.2;margin:12px 0 0;text-wrap:balance}
.lexora-shop .lx-shop-cta-content p{margin:14px 0 0;color:#C7D4E0;font-size:16.5px;line-height:1.62}
.lexora-shop .lx-shop-cta-actions{display:flex;gap:14px;margin-top:28px;flex-wrap:wrap}
@media(max-width:560px){.lexora-shop .lx-shop-cta-inner{padding:38px 26px}}

/* Entrance + reveal */
.lexora-shop .anim{opacity:0;transform:translateY(16px);animation:lxShopIn .7s cubic-bezier(.22,.61,.36,1) forwards}
.lexora-shop .anim.d1{animation-delay:.05s}.lexora-shop .anim.d2{animation-delay:.14s}
.lexora-shop .anim.d3{animation-delay:.23s}.lexora-shop .anim.d4{animation-delay:.32s}
@keyframes lxShopIn{to{opacity:1;transform:none}}
/* Reveal = visible by default; animate in on load (no JS / scroll dependency,
   so the section never ships blank). */
.lexora-shop .reveal{opacity:1;transform:none}
@keyframes lxReveal{from{opacity:0;transform:translateY(22px)} to{opacity:1;transform:none}}
@media(prefers-reduced-motion:no-preference){
  .lexora-shop .reveal{animation:lxReveal .7s cubic-bezier(.22,.61,.36,1) both}
}
@media(prefers-reduced-motion:reduce){
  .lexora-shop .anim,.lexora-shop .reveal{opacity:1 !important;transform:none !important;animation:none !important;transition:none !important}
}
