/*
 * Dedicated shop areas (inc/shop-nav.php): side menu + two-column layout on the area's store page and category pages.
 * Uses the --og-* tokens from og-tokens.css (see DESIGN.md).
 */

/* Two columns: menu | content. A layout without a menu falls back to one column. */
.ogn-shoplayout {
	display: grid !important;
	grid-template-columns: 260px minmax(0, 1fr);
	gap: var(--og-space-6);
	align-items: start;
	width: 100%;
}
.ogn-shoplayout:not(:has(.ogn-snav)) { grid-template-columns: minmax(0, 1fr); }
.ogn-shoplayout > .elementor-widget-shortcode:not(:has(.ogn-snav)) { display: none; }
.ogn-shoplayout > .ogn-shopmain { min-width: 0; width: 100%; }

/* The menu */
/* The widget holding the menu is the grid item, so it is the part that sticks. */
.ogn-shoplayout > .elementor-widget-shortcode:has(.ogn-snav), .ogn-shoplayout > .ogn-shopnav { position: sticky; top: calc(var(--og-header-h, 96px) + var(--og-space-4)); align-self: start; }
.ogn-snav__box {
	border: 1px solid var(--og-border);
	border-radius: var(--og-radius-lg);
	background: var(--og-surface-navy);
	padding: var(--og-space-3);
}
.ogn-snav__sum { display: none; }
.ogn-snav__home {
	display: block;
	padding: var(--og-space-3) var(--og-space-3) var(--og-space-4);
	margin-bottom: var(--og-space-2);
	border-bottom: 1px solid var(--og-border);
	font-family: var(--og-font-display);
	font-size: 15px;
	letter-spacing: .04em;
	color: var(--og-text) !important;
	text-decoration: none !important;
}
.ogn-snav__home:hover, .ogn-snav__home.is-active { color: var(--og-link) !important; }
.ogn-snav ul { list-style: none; margin: 0; padding: 0; }
.ogn-snav__a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--og-space-2);
	min-height: 40px;
	padding: var(--og-space-2) var(--og-space-3);
	border-radius: var(--og-radius-sm);
	font-size: var(--og-fs-sm);
	line-height: var(--og-lh-snug);
	color: var(--og-text-2) !important;
	text-decoration: none !important;
	transition: background var(--og-dur-fast) var(--og-ease), color var(--og-dur-fast) var(--og-ease);
}
.ogn-snav__a b { font-weight: 400; font-size: var(--og-fs-xs); color: var(--og-muted); }
.ogn-snav__a:hover { background: rgba(255, 255, 255, .05); color: var(--og-text) !important; }
.ogn-snav__a.is-active { background: var(--og-primary-soft); color: var(--og-link) !important; }
.ogn-snav__a.is-active b { color: var(--og-link); }
.ogn-snav__a:focus-visible, .ogn-snav__home:focus-visible, .ogn-snav__sum:focus-visible { outline: none; box-shadow: var(--og-focus); }
.ogn-snav__list > li > .ogn-snav__a { font-weight: 500; color: var(--og-text) !important; }
.ogn-snav__list > li > .ogn-snav__a.is-active { color: var(--og-link) !important; }
.ogn-snav__kids {
	display: none;
	margin: 2px 0 var(--og-space-2) var(--og-space-3) !important;
	padding-left: var(--og-space-2) !important;
	border-left: 1px solid var(--og-border);
}
.ogn-snav .has-kids.is-open > .ogn-snav__kids,
.ogn-snav .has-kids:hover > .ogn-snav__kids,
.ogn-snav .has-kids:focus-within > .ogn-snav__kids { display: block; }

/* Product grid gets less room next to the menu */
.ogn-shoplayout .ogs-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
body.ogn-area .woocommerce ul.products:has(> li.ogs-li) { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
@media (max-width: 1200px) {
	.ogn-shoplayout .ogs-cards,
	body.ogn-area .woocommerce ul.products:has(> li.ogs-li) { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

/* In a shop area the side menu replaces the store bar's WordPress category panel and the Companion section chips
   (og-ai-companion-account shop.php); the Companion section search stays. */
.ogn-area .ogn-sb-browse, .ogn-area .ogn-sb-panel, .ogn-area .ogcs-sections, .ogn-area .ogcs-only { display: none !important; }

/* Phones and small tablets: menu on top, folded into a "Shop menu" button */
@media (max-width: 900px) {
	.ogn-shoplayout { grid-template-columns: minmax(0, 1fr); gap: var(--og-space-5); }
	.ogn-shoplayout > .elementor-widget-shortcode:has(.ogn-snav) { position: static; }
	.ogn-snav__sum {
		display: flex;
		align-items: center;
		justify-content: space-between;
		min-height: var(--og-control-h);
		padding: 0 var(--og-space-3);
		font-family: var(--og-font-display);
		font-size: var(--og-fs-sm);
		color: var(--og-text);
		cursor: pointer;
		list-style: none;
	}
	.ogn-snav__sum::-webkit-details-marker { display: none; }
	.ogn-snav__sum::after { content: "▾"; color: var(--og-link); transition: transform var(--og-dur-fast) var(--og-ease); }
	.ogn-snav__box[open] > .ogn-snav__sum::after { transform: rotate(180deg); }
	.ogn-snav__box[open] > .ogn-snav__sum { margin-bottom: var(--og-space-2); }
	.ogn-snav__kids { display: block; }
}
@media (max-width: 560px) {
	/* Store page hero tiles: keep both columns inside the hero on phones. */
	.ogs .ogs-hside { width: 100%; }
	.ogs .ogs-htiles { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
	.ogs .ogs-ht { padding: 16px 14px; min-height: 96px; }
	.ogs .ogs-ht .t { font-size: 13px; overflow-wrap: anywhere; }
	.ogn-shoplayout .ogs-cards,
	body.ogn-area .woocommerce ul.products:has(> li.ogs-li) { grid-template-columns: 1fr !important; }
}

/* OG Ai plan panel (inc/shop-nav.php). On category pages shop-archive.css places it in the hero; these rules also
   style it on the OG Ai store page, where it sits above the hero tiles. */
.ogn-ai-plan { display: flex; flex-direction: column; gap: var(--og-space-2); padding: var(--og-space-4) 18px; border: 1px solid var(--og-border-strong); border-radius: var(--og-radius-lg); background: rgba(5, 7, 11, .45); }
.ogs-hside .ogn-ai-plan { margin-bottom: 14px; }
.ogn-ai-plan .ogm-k { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--og-link); font-weight: 600; }
.ogn-ai-plan .ogm-plan { font-family: var(--og-font-display); font-size: 1.15rem; color: var(--og-text); font-weight: 700; }
.ogn-ai-plan .ogm-plan.warn { color: var(--og-warning); }
.ogn-ai-plan p { margin: 0; font-size: .85rem; line-height: 1.45; color: var(--og-text-2); }
.ogn-ai-plan .ogm-cr { display: flex; justify-content: space-between; gap: var(--og-space-2); align-items: baseline; font-size: .78rem; color: var(--og-muted); }
.ogn-ai-plan .ogm-cr strong { color: var(--og-success-text); font-size: .85rem; font-weight: 700; white-space: nowrap; }
.ogn-ai-plan .ogm-bar { height: 7px; border-radius: 99px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.ogn-ai-plan .ogm-bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--og-success), var(--og-success-text)); }
.ogn-ai-plan small { font-size: .74rem; color: var(--og-muted); }
.ogn-ai-plan small b { color: var(--og-text); font-weight: 600; }
.ogn-ai-plan .ogm-btns { display: flex; flex-wrap: wrap; gap: var(--og-space-2); margin-top: var(--og-space-1); }
.ogn-ai-plan .ogm-btn { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: var(--og-radius-pill); background: var(--og-primary); color: var(--og-on-primary) !important; font-size: .8rem; font-weight: 700; text-decoration: none !important; }
.ogn-ai-plan .ogm-btn.ghost { background: transparent; border: 1px solid var(--og-primary); color: var(--og-link) !important; }

/* Departments (25 Nov 2026): all four departments listed, the current one open with its categories. */
.ogn-snav__dept + .ogn-snav__dept { margin-top: var(--og-space-1); }
.ogn-snav__dept-a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: var(--og-space-2) var(--og-space-3);
	border-radius: var(--og-radius-sm, 8px);
	font-family: var(--og-font-display);
	font-size: 13.5px;
	letter-spacing: .04em;
	color: var(--og-text-2) !important;
	text-decoration: none !important;
}
.ogn-snav__dept-a::after { content: "›"; color: var(--og-muted); transition: transform var(--og-dur-fast, .15s) ease; }
.ogn-snav__dept.is-open > .ogn-snav__dept-a::after { transform: rotate(90deg); }
.ogn-snav__dept-a:hover { background: rgba(255, 255, 255, .05); color: var(--og-text) !important; }
.ogn-snav__dept.is-current > .ogn-snav__dept-a, .ogn-snav__dept-a.is-active { color: var(--og-link) !important; }
.ogn-snav__dept-a:focus-visible { outline: none; box-shadow: var(--og-focus); }
.ogn-snav__dept > .ogn-snav__list { margin: var(--og-space-1) 0 var(--og-space-2) var(--og-space-2); padding-left: var(--og-space-2); border-left: 1px solid var(--og-border); }
/* Store home: the department menu beside the Elementor page. */
.ogn-shoplayout--home { box-sizing: border-box; max-width: 1400px; margin: 0 auto; padding: var(--og-space-6) var(--og-space-4) 0; }
@media (max-width: 900px) {
	.ogn-shoplayout > .ogn-shopnav { position: static; }
	.ogn-shoplayout--home { padding-top: var(--og-space-4); }
}

/* ---- One store shell (27 Nov 2026): the search bar and the side menu on every store page ---- */

/* The search bar (inc/shop-archive.php). Its own colours, so it looks the same on pages without the listing styles. */
.ogn-sb { --sa-surface: #11151c; --sa-text: #f5f7fb; --sa-muted: #9da5b3; --sa-accent: #328eff; --sa-border: rgba(255, 255, 255, .12); }
/* store bar */
.ogn-sb{position:relative;margin:14px 0 18px;z-index:20}
.ogn-sb-row{display:flex;align-items:center;gap:12px;padding:10px 12px;background:var(--sa-surface);border:1px solid var(--sa-border);border-radius:18px}
.ogn-sb-browse{display:inline-flex;align-items:center;gap:9px;min-height:44px;padding:0 18px;border-radius:999px;border:1px solid var(--sa-border);
  background:rgba(255,255,255,.05);color:var(--sa-text);font-weight:600;cursor:pointer;white-space:nowrap}
.ogn-sb-browse:hover,.ogn-sb-browse[aria-expanded=true]{border-color:var(--sa-accent);color:#fff}
.ogn-sb-search{display:flex;flex:1;gap:8px;min-width:0}
.ogn-sb-search input[type=search]{flex:1;min-width:0;min-height:44px;padding:0 16px;background:rgba(255,255,255,.07);color:var(--sa-text);
  border:1px solid var(--sa-border);border-radius:999px;font-size:16px}
.ogn-sb-search input[type=search]:focus{outline:0;border-color:var(--sa-accent);box-shadow:0 0 0 3px rgba(50,142,255,.28)}
.ogn-sb-search button{min-height:44px;padding:0 20px;border:0;border-radius:999px;color:#fff;font-weight:600;cursor:pointer;
  background:linear-gradient(135deg,#1f6fe0,#1558b8);box-shadow:0 10px 22px -10px rgba(50,142,255,.6)}
.ogn-sb-cart{display:inline-flex;align-items:center;gap:10px;min-height:44px;padding:0 16px;border-radius:999px;border:1px solid var(--sa-border);color:var(--sa-text);text-decoration:none;white-space:nowrap}
.ogn-sb-cart b{display:inline-grid;place-items:center;min-width:24px;height:24px;border-radius:999px;background:var(--sa-accent);color:#05070b;font-size:.78rem}
.ogn-sb-panel{position:absolute;left:0;right:0;top:calc(100% + 10px);display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:14px;padding:18px;
  background:rgba(8,11,17,.94);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border:1px solid var(--sa-border);border-radius:22px;box-shadow:0 30px 60px -30px #000}
.ogn-sb-panel[hidden]{display:none}
.ogn-sb-tile{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:16px 18px!important;border-radius:18px!important;color:var(--sa-text);text-decoration:none}
.ogn-sb-tile strong{font-size:.95rem;font-weight:600}
.ogn-sb-tile span{color:var(--sa-muted);font-size:.8rem}
.ogn-sb-tile.is-active{outline:2px solid var(--og-accent);outline-offset:2px}

/* hero */
.ogn-hero{position:relative;text-align:center;padding:34px 22px 30px;margin:0 0 26px}
.ogn-hero__icon{display:inline-grid;place-items:center;width:58px;height:58px;border-radius:18px;margin-bottom:12px;color:var(--og-accent);
  background:color-mix(in srgb,var(--og-accent) 16%,transparent);border:1px solid color-mix(in srgb,var(--og-accent) 40%,transparent)}
.ogn-hero__eyebrow{margin:0 0 6px;font-size:.78rem;letter-spacing:.22em;text-transform:uppercase;color:var(--og-accent);font-weight:700}
.ogn-hero__title{margin:0 0 10px;font-family:Orbitron,Roboto,sans-serif;font-size:clamp(1.7rem,4vw,2.6rem);line-height:1.15;color:var(--sa-text)}
.ogn-hero__desc{margin:0 auto 16px;max-width:680px;color:var(--sa-muted);line-height:1.55}
.ogn-hero__pills{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:0;padding:0;list-style:none}
.ogn-hero__pills li{padding:7px 14px;border-radius:999px;border:1px solid var(--sa-border);background:rgba(255,255,255,.05);font-size:.82rem;color:var(--sa-text)}
.ogn-hero:hover{transform:none}

/* toolbar row: results left, sort right */
body.ogn-sa .woocommerce-result-count{margin:0 0 14px}
body.ogn-sa .woocommerce-ordering select{min-height:42px;border-radius:12px;background:var(--sa-surface);color:var(--sa-text);border:1px solid var(--sa-border);padding:0 12px}

/* cards */
body.ogn-store ul.products{grid-template-columns:repeat(auto-fill,minmax(230px,1fr))!important;gap:26px!important}
body.ogn-store ul.products li.product{position:relative;display:flex;flex-direction:column;padding:18px!important}
body.ogn-store ul.products li.product a.woocommerce-LoopProduct-link{display:flex;flex-direction:column;flex:1}
body.ogn-store ul.products li.product img{aspect-ratio:4/3;object-fit:contain;width:100%;height:auto}
.ogn-sa-badges{position:absolute;top:26px;left:26px;display:flex;gap:6px;z-index:2}
.ogn-sa-badge{padding:3px 10px;border-radius:999px;font-size:.7rem;font-weight:700;letter-spacing:.03em;text-transform:uppercase;background:#0b1a33;color:var(--sa-link);border:1px solid rgba(125,184,255,.4)}
.ogn-sa-badge--og{background:linear-gradient(135deg,#1f6fe0,#1558b8);color:#fff;border-color:transparent}
.ogn-sa-badge--free{background:rgba(74,222,128,.14);color:var(--sa-ok);border-color:rgba(74,222,128,.4)}
.ogn-sa-cat{display:block;color:var(--og-accent);font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;font-weight:600;margin:2px 0 6px}
.ogn-sa-desc{color:var(--sa-muted);font-size:.84rem;line-height:1.45;margin:0 0 10px}
@media (max-width:760px){
  .ogn-sb-row{flex-wrap:wrap}
  .ogn-sb-search{order:3;flex:1 0 100%}
  .ogn-sb-browse{flex:1}
  .ogn-sb-cart__sub{display:none}
  .ogn-sb-panel{grid-template-columns:1fr 1fr;padding:12px;gap:10px}
}
.ogn-sb-search input[type=search]::placeholder { color: var(--sa-muted); opacity: 1; }
.ogn-sb-cart:hover { border-color: var(--sa-accent); }

/* The side menu replaces the bar's Browse panel wherever the menu is shown. */
.ogn-shell .ogn-sb-browse, .ogn-shell .ogn-sb-panel, .ogn-shell .ogn-sb .ogcs-only, .ogn-shell .ogcs-sections { display: none !important; }

/* Pages wrapped by ogn_snav_wrap(): bar on top, then menu | page. */
.ogn-shellwrap, .ogn-shellbar { box-sizing: border-box; max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.ogn-shellwrap .ogn-shellbar { padding: 0; }
.ogn-shoplayout--page { padding-bottom: var(--og-space-6); }
.ogn-shoplayout--page > .ogn-shopmain > .elementor { width: 100%; }
/* A page built for the full width keeps its own sections inside the content column. */
.ogn-shoplayout--page > .ogn-shopmain .e-con { --content-width: 100%; }
/* Only the page's own top-level sections lose their side padding (the shell supplies the gutter); boxes nested
   inside them (heroes, bands, cards) keep theirs. */
.ogn-shoplayout--page > .ogn-shopmain > .elementor > .e-con.e-parent { padding-left: 0; padding-right: 0; }

/* Product pages: menu | product. */
.single-product .ogn-shoplayout--product { box-sizing: border-box; max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.single-product .ogn-shoplayout--product > .ogn-shopmain { padding: 0; }
.single-product .ogn-shoplayout--product > .ogn-shopmain > .e-con { padding-left: 0; padding-right: 0; }

/* Store expert button above the menu */
.ogn-snav__expert {
	display: flex;
	align-items: center;
	gap: var(--og-space-3);
	margin-bottom: var(--og-space-3);
	padding: var(--og-space-3);
	border: 1px solid var(--og-border-strong);
	border-radius: var(--og-radius-lg);
	background: var(--og-surface-navy);
}
.ogn-snav__expert img { flex: 0 0 40px; width: 40px; height: 40px; }
.ogn-snav__expert strong { display: block; margin-bottom: 6px; font-family: var(--og-font-display); font-size: 13px; letter-spacing: .04em; color: var(--og-text); }
.ogn-snav__ask {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 0 14px;
	border: 0;
	border-radius: var(--og-radius-pill);
	background: var(--og-primary);
	color: var(--og-on-primary);
	font-size: .8rem;
	font-weight: 700;
	cursor: pointer;
}
.ogn-snav__ask:hover { filter: brightness(1.1); }
.ogn-snav__ask:focus-visible { outline: none; box-shadow: var(--og-focus); }

/* Three levels: department > category > sub-category > sub-sub-category keeps the same indent rule. */
.ogn-snav__kids .ogn-snav__a { min-height: 34px; }

@media (max-width: 900px) {
	.ogn-shellwrap, .ogn-shellbar, .single-product .ogn-shoplayout--product { padding-left: 16px; padding-right: 16px; }
	.ogn-shellwrap .ogn-shellbar { padding: 0; }
}

/* ---- Full-width store (owner, 27 Nov 2026): every store page fills the screen, with one gutter at each edge ---- */
body.ogn-shell { --ogn-gutter: 40px; }
@media (max-width: 900px) { body.ogn-shell { --ogn-gutter: 16px; } }
body.ogn-shell .ogn-shellwrap,
body.ogn-shell > .ogn-shellbar, body.ogn-shell .elementor > .ogn-shellbar, body.ogn-shell .ogn-shellbar:not(.ogn-shellwrap .ogn-shellbar),
body.ogn-shell .ogn-shoplayout--home,
body.ogn-shell.single-product .ogn-shoplayout--product { max-width: none; padding-left: var(--ogn-gutter); padding-right: var(--ogn-gutter); }
body.ogn-shell .ogn-shellwrap .ogn-shellbar { max-width: none; padding-left: 0; padding-right: 0; }
body.ogn-shell.woocommerce-cart .ogn-shellbar { max-width: none; padding-left: 0; padding-right: 0; }
body.ogn-shell.ogn-store .site-main,
body.ogn-shell .ogs.e-con,
body.ogn-shell .ogn-mem.e-con,
body.ogn-shell .ogh,
body.ogn-shell .ogu,
body.ogn-shell.single-product .ogs-wrap { max-width: none; }
/* Elementor boxed sections of the product and listing templates, and the department store pages. */
body.ogn-shell [data-elementor-type="product"] > .e-con-boxed,
body.ogn-shell [data-elementor-type="product-archive"] > .e-con-boxed,
body.ogn-shell [data-elementor-type="search-results"] > .e-con-boxed { --content-width: 100%; --padding-left: var(--ogn-gutter); --padding-right: var(--ogn-gutter); }
body.ogn-shell [data-elementor-type="wp-page"] > .ogs.e-con { --padding-left: var(--ogn-gutter); --padding-right: var(--ogn-gutter); padding-left: var(--ogn-gutter); padding-right: var(--ogn-gutter); }
body.ogn-shell .ogn-shoplayout--page [data-elementor-type="wp-page"] > .e-con { --padding-left: 0px; --padding-right: 0px; padding-left: 0; padding-right: 0; }
/* More room, more cards per row. */
@media (min-width: 1500px) {
	.ogn-shoplayout .ogs-cards,
	body.ogn-shell .woocommerce ul.products:has(> li.ogs-li) { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
}
@media (min-width: 1900px) {
	.ogn-shoplayout .ogs-cards,
	body.ogn-shell .woocommerce ul.products:has(> li.ogs-li) { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; }
}
/* Phones: search and basket share one row (the Browse button is not shown in the store shell). */
@media (max-width: 760px) {
	.ogn-shell .ogn-sb-row { flex-wrap: nowrap; gap: 8px; padding: 8px; }
	.ogn-shell .ogn-sb-search { order: 0; flex: 1 1 auto; }
	.ogn-shell .ogn-sb-search button { padding: 0 14px; }
	.ogn-shell .ogn-sb-cart { padding: 0 10px; }
}
/* Product hero spans the top of the page, above the side menu. */
body.ogn-shell.single-product [data-elementor-type="product"] > .e-con .ogh { max-width: none; width: 100%; margin-bottom: var(--og-space-5); }
body.ogn-shell.single-product [data-elementor-type="product"] > .e-con:has(> .e-con-inner > .elementor-widget-shortcode:only-child:empty) { display: none; }
body.ogn-shell.single-product [data-elementor-type="product"] > .e-con:has(.ogh-hero) { --padding-top: 0px; --padding-bottom: 0px; padding-top: 0; padding-bottom: 0; }
/* Compact: the hero lines up with the search bar and sits close to the breadcrumb and the product (owner, 27 Nov). */
body.ogn-shell.single-product [data-elementor-type="product"] > .e-con .ogh { margin: 0 0 20px; padding: 0; }
body.ogn-shell.single-product [data-elementor-type="product"] > .e-con .ogh-hero { margin: 0; padding: 22px 28px !important; min-height: 0; border-radius: 20px; }
body.ogn-shell.single-product [data-elementor-type="product"] > .e-con .ogh-hero--pic { padding-right: 150px !important; }
body.ogn-shell.single-product [data-elementor-type="product"] > .e-con .ogh-hero h1 { margin-bottom: 8px; font-size: clamp(22px, 2.6vw, 32px); max-width: none; }
body.ogn-shell.single-product [data-elementor-type="product"] > .e-con .ogh-hero p { max-width: 90ch; font-size: 15px; }
body.ogn-shell.single-product [data-elementor-type="product"] > .e-con .ogh-hero__pic { right: 24px; width: 104px; height: 104px; border-radius: 18px; }
body.ogn-shell.single-product .ogn-bc { margin-bottom: 10px; }
@media (max-width: 640px) {
	body.ogn-shell.single-product [data-elementor-type="product"] > .e-con .ogh-hero--pic { padding: 16px 16px 16px 92px !important; }
	body.ogn-shell.single-product [data-elementor-type="product"] > .e-con .ogh-hero__pic { left: 14px; right: auto; top: 16px; width: 64px; height: 64px; border-radius: 14px; }
}

/* Phones and small tablets (30 Nov 2026): the shop menu sits behind a hamburger to the right of Store expert
   and drops down as a panel over the page. The burger is the menu's own <summary>, so it works without JS. */
.ogn-snav__panel { display: block; }
@media (max-width: 900px) {
	.ogn-snav { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: stretch; gap: var(--og-space-2); }
	.ogn-snav__expert { grid-column: 1; margin-bottom: 0; }
	.ogn-snav__box { grid-column: 2; display: flex; padding: 0; border: 0; background: none; }
	.ogn-snav .ogn-snav__sum {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 60px;
		min-height: 60px;
		height: 100%;
		margin: 0 !important;
		padding: 0;
		border: 1px solid var(--og-border-strong);
		border-radius: var(--og-radius-lg);
		background: var(--og-surface-navy);
		transition: border-color var(--og-dur-fast, .15s) ease, background-color var(--og-dur-fast, .15s) ease;
	}
	.ogn-snav .ogn-snav__sum::after { content: none; }
	.ogn-snav .ogn-snav__sum:hover, .ogn-snav__box[open] > .ogn-snav__sum { border-color: var(--og-link); background: var(--og-primary-soft); }
	.ogn-snav__sum-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	.ogn-snav__burger { position: relative; display: block; width: 22px; height: 16px; }
	.ogn-snav__burger i { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: var(--og-link); transition: transform var(--og-dur-fast, .15s) ease, opacity var(--og-dur-fast, .15s) ease, top var(--og-dur-fast, .15s) ease; }
	.ogn-snav__burger i:nth-child(1) { top: 0; }
	.ogn-snav__burger i:nth-child(2) { top: 7px; }
	.ogn-snav__burger i:nth-child(3) { top: 14px; }
	.ogn-snav__box[open] .ogn-snav__burger i:nth-child(1) { top: 7px; transform: rotate(45deg); }
	.ogn-snav__box[open] .ogn-snav__burger i:nth-child(2) { opacity: 0; }
	.ogn-snav__box[open] .ogn-snav__burger i:nth-child(3) { top: 7px; transform: rotate(-45deg); }
	.ogn-snav__panel {
		position: absolute;
		left: 0;
		right: 0;
		top: calc(100% + var(--og-space-2));
		z-index: 60;
		max-height: min(70vh, 560px);
		overflow-y: auto;
		padding: var(--og-space-3);
		border: 1px solid var(--og-border-strong);
		border-radius: var(--og-radius-lg);
		background: var(--og-surface-navy, #0b1220);
		box-shadow: 0 18px 48px rgba(0, 0, 0, .6);
	}
}

/* Store top card above the search bar (inc/shop-nav.php ogn_snav_take_top, 30 Nov 2026): squashed hero, map on
   the right where the page has one. */
.ogph.ogn-storetop{padding-bottom:0;margin-top:12px;margin-bottom:14px}
.ogn-storetop .ogah-top{margin:0;padding:4px 8px 4px 36px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.ogn-storetop .ogah-top .ogph-hero{padding:20px 0;text-align:left}
.ogn-storetop .ogah-top .ogph-hero::before{display:none}
.ogn-storetop .ogph-hero h1{margin:8px 0 8px;font-size:clamp(26px,3vw,40px)}
.ogn-storetop .ogph-lead{margin:0;max-width:520px;font-size:15px;line-height:1.5}
.ogn-storetop .ogph-stats{margin:12px 0 0;gap:6px 18px}
.ogn-storetop .ogph-jump{margin-top:14px}
.ogn-storetop .ogph-map{max-height:340px}
.ogn-storetop .ogph-svg{max-height:340px}
.ogn-storetop .ogah-top--solo{grid-template-columns:1fr;padding:4px 36px}
.ogn-storetop .ogah-top--solo .ogph-hero{text-align:center}
.ogn-storetop .ogah-top--solo .ogph-lead{margin:0 auto;max-width:720px}
.ogn-storetop .ogah-top--solo .ogph-stats,.ogn-storetop .ogah-top--solo .ogph-jump{justify-content:center}
@media (max-width:1024px){
	.ogn-storetop .ogah-top{grid-template-columns:1fr;padding:4px 24px}
	.ogn-storetop .ogah-top .ogph-hero{text-align:center}
	.ogn-storetop .ogph-lead{margin:0 auto}
	.ogn-storetop .ogph-stats,.ogn-storetop .ogph-jump{justify-content:center}
}
@media (max-width:767px){
	.ogph.ogn-storetop{margin-top:8px}
	.ogn-storetop .ogah-top{padding:0 16px}
	.ogn-storetop .ogah-top .ogph-hero{padding:18px 0}
}
/* Card base for the store top card on every store page (the same look as .ogah-top in og-ai-hubs.css, which not
   every store page loads). */
.ogn-storetop .ogah-top{position:relative;display:grid;align-items:center;gap:8px;border:1px solid var(--og-border,rgba(255,255,255,.12));border-radius:var(--og-radius-xl,24px);background:radial-gradient(ellipse at 72% 50%,#0d1426 0%,#080b12 55%,#05070b 100%);box-shadow:0 0 0 1px rgba(50,142,255,.06),0 40px 80px -40px rgba(50,142,255,.35);overflow:hidden}
.ogn-storetop .ogah-top .ogph-map{margin:0;border:0;border-radius:0;background:none;box-shadow:none}
.ogn-storetop .ogah-top .ogph-map::after{display:none}
.ogn-storetop .ogah-top .ogph-stats,.ogn-storetop .ogah-top .ogph-jump{justify-content:flex-start}
.ogn-storetop .ogah-top .ogph-svg .nm{font-size:17px}
.ogn-storetop .ogah-top .ogph-svg .vr{font-size:14px}
.ogn-storetop .ogah-top .ogph-svg .hb text{font-size:13px}
.ogn-storetop .ogah-top .ogph-svg .cn{font-size:16px}
@media (max-width:1024px){.ogn-storetop .ogah-top .ogph-stats,.ogn-storetop .ogah-top .ogph-jump{justify-content:center}}
@media (max-width:767px){.ogn-storetop .ogah-top .ogph-map{display:none}}
.ogn-storetop .ogah-top.ogah-top--solo .ogph-stats,.ogn-storetop .ogah-top.ogah-top--solo .ogph-jump{justify-content:center}

/* Store pages: the Jellybean core card, compact (owner, 30 Nov 2026): small Jellybean left, text middle, the
   member panel right. */
.ogn-shopmain .ogph-core{margin-top:28px}
.ogn-shopmain .ogph-core .ogph-core-in{grid-template-columns:92px minmax(0,1fr) minmax(230px,300px);grid-template-areas:"art tx chat";align-items:center;gap:12px 24px;padding:22px 24px;text-align:left}
.ogn-shopmain .ogph-core .ogph-core-in.ogah-solo{grid-template-columns:92px minmax(0,1fr);grid-template-areas:"art tx"}
.ogn-shopmain .ogph-core .ogph-core-art{width:92px;height:92px;margin:0;align-self:start}
.ogn-shopmain .ogph-core .ogph-core-art img{width:52px;height:52px}
.ogn-shopmain .ogph-core .ogph-core-art .r2{inset:9px}
.ogn-shopmain .ogph-core .ogph-core-art .r3{inset:18px}
.ogn-shopmain .ogph-core .ogph-core-tx h2{margin:4px 0 4px;font-size:clamp(20px,2.1vw,26px);line-height:1.2}
.ogn-shopmain .ogph-core .ogph-core-tx .ds{margin:4px 0 12px;max-width:none;font-size:14px;line-height:1.5}
.ogn-shopmain .ogph-core .ac,.ogn-shopmain .ogph-core .ogph-mods>div{justify-content:flex-start}
.ogn-shopmain .ogph-core .ac .ogph-btn--big{min-height:42px;padding:0 20px;font-size:15px}
.ogn-shopmain .ogph-core .ogph-mods{margin-top:12px;padding-top:10px}
.ogn-shopmain .ogph-core .ogph-mods .ogph-k{display:none}
.ogn-shopmain .ogph-core .ogah-panel{align-self:stretch}
@media (max-width:1100px){
	.ogn-shopmain .ogph-core .ogph-core-in{grid-template-columns:72px minmax(0,1fr);grid-template-areas:"art tx" "chat chat"}
	.ogn-shopmain .ogph-core .ogph-core-art{width:72px;height:72px}
	.ogn-shopmain .ogph-core .ogph-core-art img{width:42px;height:42px}
	.ogn-shopmain .ogph-core .ogph-core-art .r2{inset:7px}
	.ogn-shopmain .ogph-core .ogph-core-art .r3{inset:14px}
}
@media (max-width:560px){
	.ogn-shopmain .ogph-core .ogph-core-in,.ogn-shopmain .ogph-core .ogph-core-in.ogah-solo{grid-template-columns:1fr;grid-template-areas:"tx" "chat";padding:18px}
	.ogn-shopmain .ogph-core .ogph-core-art{display:none}
}
.ogn-ai-credits .ogm-plan{font-size:34px;line-height:1.1;font-variant-numeric:tabular-nums}

/* One search bar per page (owner, 30 Nov 2026): the store search bar is there, so the Companion shop
   section search and its bar go. */
body:has(.ogn-sb) .ogcs-search,body:has(.ogn-sb) .ogcs-bar{display:none!important}

/* Category pages: the search bar sits in the main column above the result count (owner, 30 Nov 2026); no extra gap. */
.ogn-shopmain > .elementor-element.ogn-sb{margin:0!important;padding:0!important;min-height:0!important}
.ogn-shopmain > .elementor-element.ogn-sb .ogn-sb{margin:0!important}
.ogn-shopmain > .elementor-element.ogn-sb + .elementor-element{margin-top:-6px!important}
.e-con.ogn-hero{margin-bottom:0!important}
.e-con.ogn-hero + .e-con.ogn-shoplayout{padding-top:0!important;margin-top:0!important}
/* Hub store pages: the search bar at the top of the main column, level with the menu (owner, 30 Nov 2026). */
.ogn-shopmain > .ogn-shellbar{margin:0 0 4px!important;padding:0!important}
.ogn-shopmain > .ogn-shellbar .ogn-sb{margin:0!important}
.ogph.ogn-storetop{margin-bottom:20px}
.ogn-shellwrap > .ogn-shoplayout{padding-top:0!important;margin-top:0!important}
