/* OG Nexus store layer. Tokens match product-page.css. Glow card base is in og-glow.css. */
body.ogn-store{--sa-surface:#11151c;--sa-text:#f5f7fb;--sa-muted:#9da5b3;--sa-link:#7db8ff;--sa-accent:#328eff;--sa-border:rgba(255,255,255,.12);--sa-ok:#4ade80}

/* 20px gutter on listing pages */
body.ogn-sa #primary.content-area{padding-left:20px!important;padding-right:20px!important;box-sizing:border-box}
body.ogn-sa .site-main{padding-left:0!important;padding-right:0!important}
body.ogn-store .site-main{max-width:1280px;margin-inline:auto}
body.ogn-store:not(.ogn-sa) #primary.content-area{padding-left:20px;padding-right:20px;box-sizing:border-box}

/* store bar: see og-shop.css (loaded on every store page) */

body.ogn-store ul.products li.product .price{margin-top:auto}

@media (max-width:760px){
  .ogn-hero{padding:26px 16px 22px}
  body.ogn-store ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}
  body.ogn-store ul.products li.product{padding:12px!important}
}
@media (max-width:420px){body.ogn-store ul.products{grid-template-columns:1fr!important}}

/* tile text: beat theme link colour */
body.ogn-store .ogn-sb-panel a.ogn-sb-tile,body.ogn-store .ogn-sb-panel a.ogn-sb-tile strong{color:var(--sa-text)!important}
body.ogn-store .ogn-sb-panel a.ogn-sb-tile span{color:var(--sa-muted)!important}

/* breadcrumb + quantity on product pages */
.ogn-bc{margin:0 0 14px;color:var(--sa-muted,#9da5b3);font-size:.85rem}
.ogn-bc a{color:var(--sa-link,#7db8ff)}
body.ogn-store .quantity input.qty{background:#1b2230!important;color:#f5f7fb!important;border:1px solid rgba(245,247,251,.2)!important;border-radius:12px!important;min-height:44px}

/* uniform card rhythm: every card lines up regardless of title/description length */
body.ogn-store ul.products li.product .woocommerce-loop-product__title{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;line-height:1.3;min-height:2.6em;margin:10px 0 4px!important;padding:0!important}
body.ogn-store ul.products li.product .ogn-sa-cat{min-height:1.2em;margin:2px 0 6px}
body.ogn-store ul.products li.product .ogn-sa-desc{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;line-height:1.45;min-height:calc(3 * 1.45em);margin:0 0 10px}
body.ogn-store ul.products li.product .price{margin-top:auto!important;min-height:1.6em;display:block;text-align:center}
body.ogn-store ul.products li.product a.button,body.ogn-store ul.products li.product .ogn-wl,body.ogn-store ul.products li.product [class*="wishlist"] a{width:100%;box-sizing:border-box}
body.ogn-store ul.products li.product{height:100%}

/* product page buy card: even vertical rhythm (Elementor template) */
.ogn-pp-buy .elementor-add-to-cart > * + *{margin-top:18px!important}
.ogn-pp-buy .elementor-add-to-cart .wcpay-express-checkout-wrapper{margin:20px 0 0!important}
.ogn-pp-buy .elementor-add-to-cart .wl-add{margin-top:18px!important}
.ogn-pp-buy .elementor-add-to-cart .ppcp-messages{margin-top:18px!important;line-height:1.45}
.ogn-pp-buy .elementor-add-to-cart .ppc-button-wrapper{margin-top:16px!important;display:flex;flex-direction:column;gap:12px}
.ogn-pp-buy .elementor-add-to-cart .ppc-button-wrapper > *{margin:0!important}
.ogn-pp-buy .ogn-pp-trust{margin-top:26px!important;padding-top:18px;border-top:1px solid rgba(245,247,251,.12)}
.ogn-pp-buy .ogn-pp-trust li + li{margin-top:12px}
.ogn-pp-buy{padding-bottom:26px}

/* product meta (SKU / categories / tags / brand) under the card */
body.ogn-store .elementor-widget-woocommerce-product-meta{margin-top:22px}
body.ogn-store .product_meta{display:flex;flex-direction:column;gap:8px;font-size:.88rem;line-height:1.5;color:var(--sa-muted,#9da5b3)}
body.ogn-store .product_meta .detail-label{color:var(--sa-muted,#9da5b3);font-weight:600;margin-right:6px}
body.ogn-store .product_meta .detail-container,body.ogn-store .product_meta > span{display:block;color:#f5f7fb}
body.ogn-store .product_meta a{color:#7db8ff}

/* ===== Store hero v3 (2026-11-19): compact, left-aligned like the product hero, with a member panel on the right ===== */
.ogn-hero{
  position:relative;overflow:hidden;text-align:left;color:#fff;
  display:grid!important;grid-template-columns:minmax(0,1fr) 290px;column-gap:28px;align-items:center;
  padding:26px 30px!important;margin:0 0 22px!important;border-radius:20px!important;min-height:0!important;
  border:1px solid rgba(125,184,255,.28)!important;
  background:radial-gradient(760px 260px at 92% -25%,rgba(74,168,255,.26),transparent 62%),radial-gradient(520px 240px at 0 120%,rgba(120,90,255,.16),transparent 62%),#0d1426!important;
  box-shadow:none!important;
}
.ogn-hero>*{position:relative;z-index:1;grid-column:1;margin:0!important;width:auto!important;max-width:none!important}
.ogn-hero>.elementor-widget:first-child{display:flex;align-items:center;gap:12px;margin:0 0 8px!important}
.ogn-hero__icon{display:inline-grid!important;place-items:center;flex:none;width:34px!important;height:34px!important;border-radius:11px!important;margin:0!important;
  background:linear-gradient(135deg,#328eff,#7b5cff)!important;border:0!important;box-shadow:none!important}
.ogn-hero__icon svg{display:none!important}
.ogn-hero__icon::before{content:"";width:18px;height:18px;background:#fff;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2 3 7l9 5 9-5-9-5Z'/%3E%3Cpath d='m3 12 9 5 9-5'/%3E%3Cpath d='m3 17 9 5 9-5'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2 3 7l9 5 9-5-9-5Z'/%3E%3Cpath d='m3 12 9 5 9-5'/%3E%3Cpath d='m3 17 9 5 9-5'/%3E%3C/svg%3E") center/contain no-repeat}
.ogn-hero__eyebrow{display:block;margin:0!important;padding:0;background:none;border:0;color:#7db8ff!important;font-size:.72rem!important;letter-spacing:.16em!important;font-weight:600;text-transform:uppercase}
.ogn-hero__title,.ogn-hero__title .elementor-heading-title,.ogn-hero h1{margin:0 0 8px!important;font-family:Orbitron,Roboto,sans-serif;font-weight:700;
  font-size:clamp(1.55rem,3vw,2.1rem)!important;line-height:1.15!important;letter-spacing:.01em;color:#f5f7fb!important;background:none;-webkit-text-fill-color:currentColor;text-align:left}
.ogn-hero__desc,.ogn-hero__desc p,.ogn-hero__desc .elementor-heading-title{margin:0 0 14px!important;max-width:62ch;color:#c3cad6!important;font-size:.98rem!important;line-height:1.55!important;text-align:left}
.ogn-hero__desc p:empty{display:none}
.ogn-hero__pills{gap:8px!important;justify-content:flex-start!important;margin:0!important;padding:0!important}
.ogn-hero__pills li{display:inline-flex;align-items:center;gap:6px;padding:5px 12px!important;border-radius:999px!important;font-size:.78rem!important;font-weight:600;
  background:rgba(255,255,255,.05)!important;border:1px solid rgba(255,255,255,.14)!important;color:#dbe6fb!important;-webkit-backdrop-filter:none;backdrop-filter:none}
.ogn-hero__pills li::before{content:"✓";display:grid;place-items:center;width:15px;height:15px;border-radius:50%;background:rgba(74,222,128,.2);color:#6ff0a4;font-size:.6rem}
/* member panel */
.ogn-hero>.ogn-hero__member{grid-column:2;grid-row:1 / span 6;align-self:center;display:flex;flex-direction:column;gap:8px;padding:16px 18px;border-radius:16px;
  background:rgba(255,255,255,.04);border:1px solid rgba(125,184,255,.22);color:#dbe6fb}
.ogn-hero__member .ogm-k{font-size:.68rem;letter-spacing:.14em;text-transform:uppercase;color:#7db8ff;font-weight:600}
.ogn-hero__member .ogm-plan{font-family:Orbitron,Roboto,sans-serif;font-size:1.15rem;color:#f5f7fb;font-weight:700}
.ogn-hero__member .ogm-plan.warn{color:#ffc94a}
.ogn-hero__member p{margin:0;font-size:.85rem;line-height:1.45;color:#c3cad6}
.ogn-hero__member .ogm-cr{display:flex;justify-content:space-between;gap:8px;align-items:baseline;font-size:.78rem;color:#9da5b3}
.ogn-hero__member .ogm-cr strong{color:#5fe3a8;font-size:.85rem;font-weight:700;white-space:nowrap}
.ogn-hero__member .ogm-bar{height:7px;border-radius:99px;background:rgba(255,255,255,.12);overflow:hidden}
.ogn-hero__member .ogm-bar i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#19c37d,#5fe3a8)}
.ogn-hero__member small{font-size:.74rem;color:#9da5b3}.ogn-hero__member small b{color:#f5f7fb;font-weight:600}
.ogn-hero__member .ogm-btns{display:flex;gap:8px;flex-wrap:wrap;margin-top:2px}
.ogn-hero__member .ogm-btn{display:inline-block;padding:7px 14px;border-radius:10px;background:#4aa8ff;color:#06101f!important;font-weight:700;font-size:.78rem;text-decoration:none!important;border:1px solid #4aa8ff}
.ogn-hero__member .ogm-btn.ghost{background:transparent;color:#9fd0ff!important;border-color:rgba(125,184,255,.5)}
@media (max-width:820px){
  .ogn-hero{grid-template-columns:1fr;padding:20px 18px!important;border-radius:16px!important}
  .ogn-hero>.ogn-hero__member{grid-column:1;grid-row:auto;margin-top:14px}
}
/* Easy Eye light mode inverts the page with a filter on <html>; invert the hero back so the banner keeps its navy look */
html.oge-dark .ogn-hero{filter:invert(1) hue-rotate(180deg) contrast(1.09)}
.ogn-hero .elementor-widget,.ogn-hero .elementor-widget-container,.ogn-hero__title,.ogn-hero__title .elementor-heading-title{text-align:left!important}

/* Centre every row of product cards, so a short last row sits in the middle (Claire, 19 Nov 2026). */
body.ogn-store ul.products{display:flex!important;flex-wrap:wrap;justify-content:center;gap:26px!important}
body.ogn-store ul.products::before,body.ogn-store ul.products::after{display:none!important;content:none!important}
body.ogn-store ul.products li.product{flex:0 0 232px;width:232px!important;max-width:232px;margin:0!important;float:none!important}
@media (max-width:760px){
  body.ogn-store ul.products{gap:14px!important}
  body.ogn-store ul.products li.product{flex:0 0 calc(50% - 7px);width:calc(50% - 7px)!important;max-width:calc(50% - 7px)}
}
@media (max-width:420px){body.ogn-store ul.products li.product{flex:0 0 100%;width:100%!important;max-width:100%}}
