/**
 * Physictomy theme modes and header system.
 * Loaded after Elementor, account and site-polish styles.
 */

:root,
:root[data-physictomy-theme="dark"] {
	--pt-page: #03070c;
	--pt-page-alt: #09111a;
	--pt-header: rgba(9, 17, 26, 0.96);
	--pt-surface: #142331;
	--pt-surface-raised: #192c3c;
	--pt-surface-soft: rgba(40, 83, 110, 0.2);
	--pt-text: #f7f2e9;
	--pt-text-strong: #ffffff;
	--pt-muted: #aebdca;
	--pt-border: rgba(101, 158, 184, 0.26);
	--pt-border-strong: rgba(101, 158, 184, 0.42);
	--pt-accent: #f4ac64;
	--pt-accent-hover: #f9d790;
	--pt-accent-deep: #da844a;
	--pt-on-accent: #03070c;
	--pt-link: #82bdd4;
	--pt-shadow: 0 20px 55px rgba(0, 0, 0, 0.38);
	--pt-header-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

:root[data-physictomy-theme="light"] {
	--pt-page: #f3f7f8;
	--pt-page-alt: #eaf1f4;
	--pt-header: rgba(255, 255, 255, 0.98);
	--pt-surface: #ffffff;
	--pt-surface-raised: #f8fbfc;
	--pt-surface-soft: rgba(101, 158, 184, 0.13);
	--pt-text: #253b49;
	--pt-text-strong: #09111a;
	--pt-muted: #526b7a;
	--pt-border: rgba(40, 83, 110, 0.18);
	--pt-border-strong: rgba(40, 83, 110, 0.3);
	--pt-accent: #f4ac64;
	--pt-accent-hover: #da844a;
	--pt-accent-deep: #794c2e;
	--pt-on-accent: #09111a;
	--pt-link: #28536e;
	--pt-shadow: 0 14px 38px rgba(20, 35, 49, 0.08);
	--pt-header-shadow: 0 6px 24px rgba(20, 35, 49, 0.07);
	--physictomy-bg: var(--pt-page);
	--physictomy-bg-deep: var(--pt-page-alt);
	--physictomy-surface: var(--pt-surface);
	--physictomy-ink: var(--pt-text);
	--physictomy-muted: var(--pt-muted);
	--physictomy-border: var(--pt-border);
	--dark_primary_color: var(--pt-page) !important;
	--dark_secondary_color: var(--pt-surface) !important;
}

html[data-physictomy-theme] body {
	color: var(--pt-text) !important;
	background: var(--pt-page) !important;
}

html[data-physictomy-theme] body :where(h1, h2, h3, h4, h5, h6) {
	color: var(--pt-text-strong) !important;
}

html[data-physictomy-theme] body a:not(.button):not(.elementor-button) {
	color: var(--pt-link);
}

html[data-physictomy-theme] :where(.wrap, .site-content, .main-page-content, .page-content, .content-area) {
	background-color: var(--pt-page) !important;
}

html[data-physictomy-theme] .main-page-content {
	background-image: linear-gradient(180deg, var(--pt-page) 0%, var(--pt-page-alt) 100%) !important;
}

/* Header shell */
html[data-physictomy-theme] .site-header.studi_el_head {
	position: sticky;
	top: 0;
	z-index: 1000;
	min-height: 76px !important;
	border-bottom: 1px solid var(--pt-border) !important;
	background: var(--pt-header) !important;
	background-image: none !important;
	box-shadow: var(--pt-header-shadow) !important;
	backdrop-filter: blur(16px);
}

body.admin-bar .site-header.studi_el_head {
	top: 32px;
}

html[data-physictomy-theme] .site-header.studi_el_head :where(
	.elementor,
	.elementor-element,
	.elementor-element-populated
) {
	background-color: transparent !important;
	background-image: none !important;
}

html[data-physictomy-theme] .site-header .elementor-element-5342e83 > .e-con-inner {
	min-height: 76px;
	padding: 8px 16px;
	gap: 18px;
}

html[data-physictomy-theme] .site-header .elementor-element-e43cbb3 {
	gap: clamp(18px, 3vw, 44px);
}

/* Logo becomes a compact brand lockup instead of a floating white square. */
html[data-physictomy-theme] .site-header .elementor-element-e84fe31 a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--pt-text-strong) !important;
	white-space: nowrap;
}

html[data-physictomy-theme] .site-header :where(.elementor-element-e84fe31, .elementor-element-a5452f8) img {
	display: block;
	width: 48px !important;
	height: 48px !important;
	padding: 3px;
	border: 1px solid var(--pt-border);
	border-radius: 13px;
	background: #fff;
	object-fit: cover;
	box-shadow: 0 7px 20px rgba(9, 17, 26, 0.14);
}

/* Primary navigation */
html[data-physictomy-theme] .site-header.studi_el_head .e-n-menu-title {
	min-height: 42px;
	padding: 9px 12px !important;
	border: 1px solid transparent !important;
	border-radius: 11px !important;
	background: transparent !important;
}

html[data-physictomy-theme] .site-header.studi_el_head :where(
	.e-n-menu-title-text,
	.e-n-menu-dropdown-icon,
	.e-n-menu-title-container
) {
	color: var(--pt-text) !important;
}

html[data-physictomy-theme] .site-header.studi_el_head .e-n-menu-title:is(:hover, :focus-within),
html[data-physictomy-theme] .site-header.studi_el_head .e-n-menu-title[aria-expanded="true"] {
	border-color: var(--pt-border) !important;
	background: var(--pt-surface-soft) !important;
}

html[data-physictomy-theme] .site-header.studi_el_head .e-n-menu-title:is(:hover, :focus-within) :where(.e-n-menu-title-text, .e-n-menu-dropdown-icon),
html[data-physictomy-theme] .site-header.studi_el_head .e-n-menu-title[aria-expanded="true"] :where(.e-n-menu-title-text, .e-n-menu-dropdown-icon) {
	color: var(--pt-accent-hover) !important;
}

/* Mega menu */
html[data-physictomy-theme] .site-header .e-n-menu-content,
html[data-physictomy-theme] .site-header .e-n-menu-content > .e-con,
html[data-physictomy-theme] .site-header .elementor-element-3dff3e0 {
	border: 1px solid var(--pt-border) !important;
	border-radius: 20px !important;
	background: var(--pt-surface) !important;
	box-shadow: var(--pt-shadow) !important;
}

html[data-physictomy-theme] .site-header .elementor-element-3dff3e0 {
	width: min(760px, calc(100vw - 32px)) !important;
	max-width: min(760px, calc(100vw - 32px)) !important;
	padding: 12px !important;
	overflow: hidden;
}

html[data-physictomy-theme] .site-header .elementor-element-55b9555 .e-n-tabs {
	display: grid !important;
	grid-template-columns: minmax(190px, 0.72fr) minmax(330px, 1.4fr);
	gap: 12px;
	align-items: stretch;
	min-height: 310px;
}

html[data-physictomy-theme] .site-header .elementor-element-55b9555 .e-n-tabs-heading {
	display: flex !important;
	flex-direction: column;
	gap: 8px;
	padding: 10px;
	border: 1px solid var(--pt-border);
	border-radius: 14px;
	background: var(--pt-page-alt) !important;
}

html[data-physictomy-theme] .site-header.studi_el_head .e-n-tab-title {
	width: 100%;
	min-height: 54px;
	justify-content: space-between;
	padding: 10px 12px !important;
	border: 1px solid transparent !important;
	border-radius: 11px !important;
	background: transparent !important;
	color: var(--pt-text) !important;
}

html[data-physictomy-theme] .site-header.studi_el_head .e-n-tab-title :where(.e-n-tab-title-text, .e-n-tab-icon) {
	color: inherit !important;
}

html[data-physictomy-theme] .site-header.studi_el_head .e-n-tab-title:is(:hover, :focus-visible) {
	border-color: var(--pt-border) !important;
	background: var(--pt-surface-soft) !important;
	color: var(--pt-text-strong) !important;
	transform: none;
}

html[data-physictomy-theme] .site-header.studi_el_head .e-n-tab-title[aria-selected="true"] {
	border-color: var(--pt-accent) !important;
	background: var(--pt-accent) !important;
	color: var(--pt-on-accent) !important;
	box-shadow: 0 8px 20px rgba(218, 132, 74, 0.2);
}

html[data-physictomy-theme] .site-header .elementor-element-55b9555 .e-n-tabs-content {
	min-width: 0;
	padding: 12px 14px 68px;
	border: 1px solid var(--pt-border);
	border-radius: 14px;
	background: var(--pt-surface-raised) !important;
}

html[data-physictomy-theme] .site-header .elementor-element-55b9555 .e-n-tabs-content > .e-con {
	min-height: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

html[data-physictomy-theme] .site-header .e-n-menu-content .elementor-icon-list-items {
	display: grid;
	gap: 8px;
}

html[data-physictomy-theme] .site-header .e-n-menu-content .elementor-icon-list-item a {
	display: flex;
	align-items: center;
	min-height: 52px;
	padding: 11px 13px !important;
	border: 1px solid var(--pt-border);
	border-radius: 11px;
	background: var(--pt-surface) !important;
	color: var(--pt-text) !important;
	box-shadow: 0 5px 16px rgba(9, 17, 26, 0.06);
}

html[data-physictomy-theme] .site-header .e-n-menu-content .elementor-icon-list-item a:is(:hover, :focus-visible) {
	border-color: var(--pt-accent) !important;
	background: var(--pt-surface-soft) !important;
	color: var(--pt-text-strong) !important;
	transform: translateX(-2px);
}

html[data-physictomy-theme] .site-header .e-n-menu-content .elementor-icon-list-text {
	color: inherit !important;
	font-weight: 700;
}

html[data-physictomy-theme] .site-header .elementor-element-603b813 {
	position: absolute;
	right: 14px;
	bottom: 14px;
	left: 14px;
}

html[data-physictomy-theme] .site-header .elementor-element-603b813 .elementor-button {
	width: 100%;
	min-height: 46px;
	border-radius: 11px !important;
	background: var(--pt-accent) !important;
	color: var(--pt-on-accent) !important;
}

/* Header action group and theme switch */
html[data-physictomy-theme] .site-header .elementor-element-92b6617 {
	display: flex;
	flex-direction: row !important;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
}

html[data-physictomy-theme] .site-header :where(
	.mini-cart-opener,
	#sc_notif_trigger,
	.physictomy-theme-toggle
) {
	display: inline-grid !important;
	width: 42px !important;
	height: 42px !important;
	min-width: 42px;
	place-items: center;
	margin: 0 !important;
	padding: 0 !important;
	border: 1px solid var(--pt-border) !important;
	border-radius: 11px !important;
	background: var(--pt-surface) !important;
	color: var(--pt-text) !important;
	box-shadow: none !important;
}

html[data-physictomy-theme] .site-header :where(.mini-cart-opener, #sc_notif_trigger, .physictomy-theme-toggle):is(:hover, :focus-visible) {
	border-color: var(--pt-accent) !important;
	background: var(--pt-surface-soft) !important;
	color: var(--pt-accent-hover) !important;
	transform: translateY(-1px);
}

.physictomy-theme-toggle {
	cursor: pointer;
	transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.physictomy-theme-toggle svg {
	display: block;
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

:root[data-physictomy-theme="dark"] .physictomy-theme-toggle__icon--sun,
:root[data-physictomy-theme="light"] .physictomy-theme-toggle__icon--moon {
	display: inline-flex;
}

:root[data-physictomy-theme="dark"] .physictomy-theme-toggle__icon--moon,
:root[data-physictomy-theme="light"] .physictomy-theme-toggle__icon--sun {
	display: none;
}

html[data-physictomy-theme] .site-header .login-button,
html[data-physictomy-theme] .site-header a.login-button {
	min-height: 42px;
	padding: 7px 13px !important;
	border: 1px solid var(--pt-accent) !important;
	border-radius: 11px !important;
	background: var(--pt-accent) !important;
	color: var(--pt-on-accent) !important;
	box-shadow: none !important;
}

html[data-physictomy-theme] .site-header .login-button :where(span, i, svg) {
	color: inherit !important;
}

html[data-physictomy-theme] body.woocommerce-account .dashboard_actions .physictomy-theme-toggle {
	display: inline-grid;
	width: 42px;
	height: 42px;
	min-width: 42px;
	place-items: center;
	padding: 0;
	border: 1px solid var(--pt-border) !important;
	border-radius: 11px !important;
	background: var(--pt-surface) !important;
	color: var(--pt-text) !important;
	box-shadow: none !important;
}

html[data-physictomy-theme] body.woocommerce-account .dashboard_actions .physictomy-theme-toggle:is(:hover, :focus-visible) {
	border-color: var(--pt-accent) !important;
	background: var(--pt-surface-soft) !important;
	color: var(--pt-accent-deep) !important;
}

html[data-physictomy-theme] body.logged-in.woocommerce-account .tab {
	border-color: var(--pt-border) !important;
	background: var(--pt-surface) !important;
}

html[data-physictomy-theme] body.logged-in.woocommerce-account .tab :where(button, .tablinks) {
	border: 1px solid transparent !important;
	background: var(--pt-surface-soft) !important;
	color: var(--pt-text) !important;
}

html[data-physictomy-theme] body.logged-in.woocommerce-account .tab :where(button, .tablinks):is(:hover, :focus-visible) {
	border-color: var(--pt-border) !important;
	color: var(--pt-text-strong) !important;
}

html[data-physictomy-theme] body.logged-in.woocommerce-account .tab :where(button.active, .tablinks.active) {
	border-color: var(--pt-accent) !important;
	background: var(--pt-accent) !important;
	color: var(--pt-on-accent) !important;
}

/* Elementor's generated mega-menu CSS is intentionally very specific. */
html[data-physictomy-theme] .elementor-5248 .elementor-element.elementor-element-8babdbe .e-n-menu-content {
	top: calc(100% + 18px) !important;
	width: min(680px, calc(100vw - 32px)) !important;
	height: 390px !important;
	padding: 12px !important;
	border: 1px solid var(--pt-border) !important;
	border-radius: 18px !important;
	background: var(--pt-page-alt) !important;
	box-shadow: var(--pt-shadow) !important;
}

html[data-physictomy-theme] .elementor-5248 .elementor-element.elementor-element-8babdbe .e-n-tabs {
	grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr) !important;
	gap: 12px !important;
}

html[data-physictomy-theme] .elementor-5248 .elementor-element.elementor-element-8babdbe :where(.e-n-tabs-heading, .e-n-tabs-content) {
	padding: 12px !important;
	border: 1px solid var(--pt-border) !important;
	border-radius: 13px !important;
	background: var(--pt-surface) !important;
	box-shadow: none !important;
}

html[data-physictomy-theme] .elementor-5248 .elementor-element.elementor-element-8babdbe .e-n-tab-title {
	height: 52px !important;
	min-height: 52px !important;
	margin-bottom: 7px !important;
	padding: 0 12px !important;
	border: 1px solid transparent !important;
	background: transparent !important;
	color: var(--pt-text) !important;
}

html[data-physictomy-theme] .elementor-5248 .elementor-element.elementor-element-8babdbe .e-n-tab-title:is(:hover, :focus-visible) {
	border-color: var(--pt-border) !important;
	background: var(--pt-surface-soft) !important;
	color: var(--pt-text-strong) !important;
	transform: none;
}

html[data-physictomy-theme] .elementor-5248 .elementor-element.elementor-element-8babdbe .e-n-tab-title[aria-selected="true"] {
	border-color: var(--pt-accent) !important;
	background: var(--pt-accent) !important;
	color: var(--pt-on-accent) !important;
	box-shadow: 0 7px 18px rgba(218, 132, 74, 0.2) !important;
}

html[data-physictomy-theme] .elementor-5248 .elementor-element.elementor-element-8babdbe .e-n-tab-title[aria-selected="true"]::after {
	display: none !important;
}

html[data-physictomy-theme] .elementor-5248 .elementor-element.elementor-element-8babdbe .e-n-tab-icon,
html[data-physictomy-theme] .elementor-5248 .elementor-element.elementor-element-8babdbe .e-n-tab-title[aria-selected="true"] .e-n-tab-icon {
	flex-basis: 30px !important;
	width: 30px !important;
	height: 30px !important;
	border-color: var(--pt-border) !important;
	background: var(--pt-surface-raised) !important;
	color: inherit !important;
}

html[data-physictomy-theme] .elementor-5248 .elementor-element.elementor-element-8babdbe [role="tabpanel"] > .e-con {
	height: 100% !important;
	min-height: 0 !important;
	padding: 6px !important;
	background: transparent !important;
}

html[data-physictomy-theme] .elementor-5248 .elementor-element.elementor-element-8babdbe .elementor-icon-list-item a {
	min-height: 50px !important;
	padding: 0 12px !important;
	border: 1px solid var(--pt-border) !important;
	background: var(--pt-surface-raised) !important;
	color: var(--pt-text) !important;
}

html[data-physictomy-theme] .elementor-5248 .elementor-element.elementor-element-8babdbe .elementor-icon-list-item a:is(:hover, :focus-visible) {
	border-color: var(--pt-accent) !important;
	background: var(--pt-surface-soft) !important;
	color: var(--pt-text-strong) !important;
}

html[data-physictomy-theme] .elementor-5248 .elementor-element.elementor-element-8babdbe .e-n-menu-content > .e-con > .elementor-widget-button {
	right: 24px !important;
	bottom: 24px !important;
	width: calc(54% - 36px) !important;
}

html[data-physictomy-theme] .elementor-5248 .elementor-element.elementor-element-8babdbe .elementor-button {
	border: 1px solid var(--pt-accent) !important;
	background: var(--pt-accent) !important;
	color: var(--pt-on-accent) !important;
	box-shadow: 0 7px 18px rgba(218, 132, 74, 0.2) !important;
}

html[data-physictomy-theme] .elementor-5248 .elementor-element.elementor-element-8babdbe .elementor-button:is(:hover, :focus-visible) {
	background: var(--pt-accent-hover) !important;
	color: var(--pt-on-accent) !important;
}

/* Light mode: global site surfaces and previously hard-coded dashboard colors. */
html[data-physictomy-theme="light"] body.home :where(
	.elementor-element-6213bf8,
	.elementor-element-0a7ba7b,
	.elementor-element-7ff06d8,
	.elementor-element-5e1a0d5,
	.elementor-element-5bf32c0,
	.elementor-element-6944e98,
	.elementor-element-30ae003,
	.elementor-element-342952d,
	.elementor-element-cc3c37d,
	.elementor-element-071906b
) {
	background-color: var(--pt-page) !important;
	background-image: none !important;
}

html[data-physictomy-theme="light"] body.home .cdb_s_heading :where(h1, h2, h3, h4, h5, h6, .cdb_s_heading_title),
html[data-physictomy-theme="light"] body.home :where(.entry-title, .course-title, .widget-title) {
	color: var(--pt-text-strong) !important;
}

html[data-physictomy-theme="light"] body.home :where(.cdb_s_heading p, .course-excerpt, .course-meta) {
	color: var(--pt-muted) !important;
}

html[data-physictomy-theme="light"] body.logged-in.woocommerce-account,
html[data-physictomy-theme="light"] body.logged-in.woocommerce-account :where(
	.wrap,
	.main-page-content,
	.site-content,
	.site-content-inner,
	.woocommerce,
	.woocommerce-MyAccount-content
) {
	background-color: var(--pt-page) !important;
	color: var(--pt-text) !important;
}

html[data-physictomy-theme="light"] body.logged-in.woocommerce-account .row.my_acount_topbar {
	border-color: var(--pt-border) !important;
	background: var(--pt-header) !important;
	box-shadow: var(--pt-header-shadow) !important;
}

html[data-physictomy-theme="light"] body.logged-in.woocommerce-account :where(
	.woocommerce-MyAccount-navigation ul,
	.sc_dashboard_box,
	.grid-stack-item-content.sc_dashboard_box,
	.tabcontent,
	.studi_empty_content,
	.woocommerce-info,
	.sc_live_management_hero,
	.sc_live_management_toolbar,
	.sc_live_management_empty,
	.sc-homework-table-wrap,
	.sc-homework-card
) {
	border-color: var(--pt-border) !important;
	background: var(--pt-surface) !important;
	color: var(--pt-text) !important;
	box-shadow: var(--pt-shadow) !important;
}

html[data-physictomy-theme="light"] body.logged-in.woocommerce-account .grid-stack-item-content.sc_dashboard_box,
html[data-physictomy-theme="light"] body.logged-in.woocommerce-account .sc_dashboard_box {
	border-color: var(--pt-border) !important;
	background: var(--pt-surface) !important;
	color: var(--pt-text) !important;
	box-shadow: 0 12px 30px rgba(9, 17, 26, 0.1) !important;
}

html[data-physictomy-theme="light"] body.logged-in.woocommerce-account .sc_dashboard_box:hover {
	border-color: rgba(218, 132, 74, 0.52) !important;
}

html[data-physictomy-theme="light"] body.logged-in.woocommerce-account .sc_dashboard_box .tabcontent,
html[data-physictomy-theme="light"] body.logged-in.woocommerce-account .sc_dashboard_box :where(.woocommerce-info, .studi_empty_content) {
	background: var(--pt-surface-raised) !important;
	color: var(--pt-muted) !important;
}

html[data-physictomy-theme="light"] body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
	color: var(--pt-text) !important;
}

html[data-physictomy-theme="light"] body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation ul li a:is(:hover, :focus-visible) {
	border-color: var(--pt-border) !important;
	background: var(--pt-surface-soft) !important;
	color: var(--pt-text-strong) !important;
}

html[data-physictomy-theme="light"] body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
	border-color: var(--pt-accent) !important;
	background: var(--pt-accent) !important;
	color: var(--pt-on-accent) !important;
}

html[data-physictomy-theme="light"] body.logged-in.woocommerce-account .woocommerce-MyAccount-content :where(h1, h2, h3, h4, h5, h6, strong, label),
html[data-physictomy-theme="light"] body.logged-in.woocommerce-account .sc_dashboard_box :where(.wc-amount, .wc-information, a, span) {
	color: var(--pt-text-strong) !important;
}

html[data-physictomy-theme="light"] body.logged-in.woocommerce-account .sc_dashboard_box .wc-information {
	color: var(--pt-muted) !important;
}

html[data-physictomy-theme="light"] body.logged-in.woocommerce-account .woocommerce-MyAccount-content :where(p, small, time, .description),
html[data-physictomy-theme="light"] body.logged-in.woocommerce-account :where(.userTitle, .sc_dashboard_breadcrumb) {
	color: var(--pt-muted) !important;
}

html[data-physictomy-theme="light"] body.logged-in.woocommerce-account .woocommerce-MyAccount-content :where(input:not([type="checkbox"]):not([type="radio"]), select, textarea),
html[data-physictomy-theme="light"] body.logged-in.woocommerce-account .woocommerce-MyAccount-content .select2-selection--single {
	border-color: var(--pt-border) !important;
	background: var(--pt-surface) !important;
	color: var(--pt-text) !important;
}

@media (max-width: 1024px) {
	body.admin-bar .site-header.studi_el_head {
		top: 32px;
	}

	html[data-physictomy-theme] .site-header .elementor-element-5e2d9be > .e-con-inner {
		min-height: 68px;
		padding: 8px 14px;
	}

	html[data-physictomy-theme] .site-header .elementor-element-5e2d9be > .e-con-inner > .physictomy-theme-toggle {
		order: 3;
	}

	html[data-physictomy-theme] .site-header .elementor-element-a5452f8 img {
		width: 44px !important;
		height: 44px !important;
	}
}

@media (max-width: 782px) {
	body.admin-bar .site-header.studi_el_head {
		top: 46px;
	}
}

@media (max-width: 767px) {
	html[data-physictomy-theme] .site-header.studi_el_head {
		min-height: 66px !important;
	}

	html[data-physictomy-theme] .site-header .e-n-menu-content,
	html[data-physictomy-theme] .site-header .elementor-element-3dff3e0 {
		width: min(94vw, 520px) !important;
		max-width: min(94vw, 520px) !important;
	}

	html[data-physictomy-theme] .site-header .elementor-element-55b9555 .e-n-tabs {
		display: flex !important;
		flex-direction: column;
		min-height: 0;
	}

	html[data-physictomy-theme] .site-header .elementor-element-55b9555 .e-n-tabs-heading {
		flex-direction: row;
		overflow-x: auto;
	}

	html[data-physictomy-theme] .site-header.studi_el_head .e-n-tab-title {
		min-width: max-content;
		min-height: 44px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.physictomy-theme-toggle,
	html[data-physictomy-theme] .site-header * {
		transition: none !important;
	}
}

/* --------------------------------------------------------------------------
 * Header + account reliability pass
 * -------------------------------------------------------------------------- */
html[data-physictomy-theme] .site-header .elementor-element-5342e83 > .e-con-inner {
	display: flex !important;
	flex-wrap: nowrap !important;
	justify-content: space-between !important;
}

html[data-physictomy-theme] .site-header .elementor-element-e43cbb3 {
	width: auto !important;
	min-width: 0;
	flex: 1 1 auto !important;
	flex-wrap: nowrap !important;
}

html[data-physictomy-theme] .site-header .elementor-element-92b6617 {
	width: auto !important;
	min-width: max-content;
	flex: 0 0 auto !important;
	flex-wrap: nowrap !important;
}

html[data-physictomy-theme] .site-header .elementor-element-92b6617 > .elementor-element {
	width: auto !important;
	max-width: none !important;
	flex: 0 0 auto !important;
	margin: 0 !important;
}

html[data-physictomy-theme] .site-header .elementor-element-92b6617 :where(.header-button-link, .icon-wrapper) {
	margin: 0 !important;
}

html[data-physictomy-theme] .site-header .elementor-element-cbd2bf6 .login-button {
	max-width: 172px;
	overflow: hidden;
}

html[data-physictomy-theme] .site-header .elementor-element-cbd2bf6 .login-button span {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

html[data-physictomy-theme] .elementor-5248 .elementor-element.elementor-element-8babdbe .e-n-tabs-heading > .elementor-element-603b813 {
	position: static !important;
	inset: auto !important;
	width: 100% !important;
	max-width: none !important;
	margin: auto 0 0 !important;
	padding-top: 8px;
}

html[data-physictomy-theme] .elementor-5248 .elementor-element.elementor-element-8babdbe .e-n-tabs-heading > .elementor-element-603b813 .elementor-button-wrapper,
html[data-physictomy-theme] .elementor-5248 .elementor-element.elementor-element-8babdbe .e-n-tabs-heading > .elementor-element-603b813 .elementor-button {
	width: 100% !important;
}

html[data-physictomy-theme] body.logged-in.woocommerce-account:not(.woocommerce-dashboard) .woocommerce-MyAccount-content {
	border-color: var(--pt-border) !important;
	background: var(--pt-surface) !important;
	color: var(--pt-text) !important;
	box-shadow: var(--pt-shadow) !important;
}

html[data-physictomy-theme] body.logged-in.woocommerce-account .woocommerce-MyAccount-content :where(
	.woocommerce-info,
	.woocommerce-message,
	.woocommerce-error,
	.woocommerce-Address,
	.woocommerce-order-details,
	.woocommerce-customer-details,
	form.woocommerce-EditAccountForm,
	form.woocommerce-address-fields,
	.shop_table
) {
	border-color: var(--pt-border) !important;
	background: var(--pt-surface-raised) !important;
	color: var(--pt-text) !important;
	box-shadow: none !important;
}

html[data-physictomy-theme] body.logged-in.woocommerce-account .woocommerce-MyAccount-content > .woocommerce-info {
	display: flex;
	min-height: 120px;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 14px 18px;
	margin: 0 !important;
	padding: 26px !important;
	border-radius: 15px !important;
	text-align: center;
}

html[data-physictomy-theme] body.logged-in.woocommerce-account .woocommerce-MyAccount-content > .woocommerce-info::before {
	position: static !important;
	margin: 0 !important;
	color: var(--pt-accent) !important;
}

html[data-physictomy-theme] body.logged-in.woocommerce-account .woocommerce-MyAccount-content :where(table, .shop_table) {
	border-color: var(--pt-border) !important;
	background: var(--pt-surface) !important;
}

html[data-physictomy-theme] body.logged-in.woocommerce-account .woocommerce-MyAccount-content :where(th, td) {
	border-color: var(--pt-border) !important;
	color: var(--pt-text) !important;
}

html[data-physictomy-theme] body.logged-in.woocommerce-account .woocommerce-MyAccount-content th {
	background: var(--pt-page-alt) !important;
	color: var(--pt-accent-hover) !important;
}

@media (max-width: 1180px) and (min-width: 1025px) {
	html[data-physictomy-theme] .site-header .elementor-element-5342e83 > .e-con-inner {
		gap: 10px;
		padding-inline: 12px;
	}

	html[data-physictomy-theme] .site-header .elementor-element-e43cbb3 {
		gap: 12px !important;
	}

	html[data-physictomy-theme] .site-header.studi_el_head .e-n-menu-title {
		padding-inline: 8px !important;
	}

	html[data-physictomy-theme] .site-header .elementor-element-cbd2bf6 .login-button {
		max-width: 138px;
		padding-inline: 9px !important;
	}
}

/* Light mode uses the same navy / blue / gold family on quiet, warm-white surfaces. */
html[data-physictomy-theme="light"] body {
	--physictomy-bg: var(--pt-page);
	--physictomy-bg-deep: var(--pt-page-alt);
	--physictomy-surface: var(--pt-surface);
	--physictomy-ink: var(--pt-text);
	--physictomy-muted: var(--pt-muted);
	--physictomy-border: var(--pt-border);
	--dark_primary_color: var(--pt-page) !important;
	--dark_secondary_color: var(--pt-surface) !important;
}

html[data-physictomy-theme="light"] body.logged-in.woocommerce-account {
	--account-bg: var(--pt-page);
	--account-panel: var(--pt-surface);
	--account-card: var(--pt-surface);
	--account-card-2: var(--pt-surface-raised);
	--account-line: var(--pt-border);
	--account-line-strong: rgba(218, 132, 74, 0.35);
	--account-text: var(--pt-text);
	--account-muted: var(--pt-muted);
	--account-subtle: #6c8390;
	--account-gold: var(--pt-accent);
	--account-gold-light: #f9d790;
}

html[data-physictomy-theme="light"] body.logged-in.woocommerce-account .main-page-content {
	background: linear-gradient(180deg, #edf3f5 0, var(--pt-page) 260px) !important;
}

html[data-physictomy-theme="light"] body.logged-in.woocommerce-account .row.my_acount_topbar,
html[data-physictomy-theme="light"] body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation ul {
	border-color: var(--pt-border) !important;
	background: var(--pt-surface) !important;
	box-shadow: var(--pt-header-shadow) !important;
}

html[data-physictomy-theme="light"] body.logged-in.woocommerce-account .physictomy-account-dashboard,
html[data-physictomy-theme="light"] body.logged-in.woocommerce-account :where(.sc_dashboard_box, .grid-stack-item-content.sc_dashboard_box, .sc-homework-card, .sc_live_management_empty) {
	border-color: var(--pt-border) !important;
	background: var(--pt-surface) !important;
	color: var(--pt-text) !important;
	box-shadow: var(--pt-shadow) !important;
}

html[data-physictomy-theme="light"] body.logged-in.woocommerce-account :where(.sc_dashboard_box, .grid-stack-item-content.sc_dashboard_box, .sc-homework-card):hover {
	border-color: var(--pt-border-strong) !important;
	box-shadow: var(--pt-shadow) !important;
}

html[data-physictomy-theme="light"] body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation ul li a::before {
	color: #28536e !important;
}

html[data-physictomy-theme="light"] body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a::before {
	color: var(--pt-on-accent) !important;
}

html[data-physictomy-theme="light"] body.logged-in.woocommerce-account .woocommerce-MyAccount-content :where(.studi_empty_content, .woocommerce-info, .woocommerce-message, .woocommerce-Address, .shop_table) {
	border-color: var(--pt-border) !important;
	background: var(--pt-surface-raised) !important;
	color: var(--pt-text) !important;
}

html[data-physictomy-theme="light"] body.logged-in.woocommerce-account .woocommerce-MyAccount-content th {
	background: var(--pt-page-alt) !important;
	color: #28536e !important;
}

html[data-physictomy-theme="light"] body.logged-in.woocommerce-account .woocommerce-MyAccount-content :where(input:not([type="checkbox"]):not([type="radio"]), select, textarea),
html[data-physictomy-theme="light"] body :where(input[type="text"], input[type="email"], input[type="tel"], input[type="search"], input[type="password"], select, textarea) {
	border-color: var(--pt-border) !important;
	background: var(--pt-surface) !important;
	color: var(--pt-text) !important;
}

html[data-physictomy-theme="light"] body :where(input, textarea)::placeholder {
	color: var(--pt-muted) !important;
}

html[data-physictomy-theme="light"] body .course-item .course-item-inner,
html[data-physictomy-theme="light"] body.home .elementor-element-6def7a4 > .e-con {
	border-color: var(--pt-border) !important;
	background: var(--pt-surface) !important;
	box-shadow: var(--pt-shadow) !important;
}

html[data-physictomy-theme="light"] body .course-item:hover .course-item-inner,
html[data-physictomy-theme="light"] body.home .elementor-element-6def7a4 > .e-con:hover {
	border-color: rgba(218, 132, 74, 0.5) !important;
	box-shadow: 0 18px 38px rgba(40, 83, 110, 0.12) !important;
}

html[data-physictomy-theme="light"] #footer.el_footer,
html[data-physictomy-theme="light"] #footer.el_footer .elementor-element-cc3c37d,
html[data-physictomy-theme="light"] #footer.el_footer .elementor-element-cc3c37d :where(.e-con, .elementor-element, .elementor-element-populated),
html[data-physictomy-theme="light"] #footer.el_footer .elementor-element-4879119 {
	border-color: var(--pt-border) !important;
	background-color: var(--pt-page-alt) !important;
	background-image: none !important;
}

html[data-physictomy-theme="light"] #footer .elementor-element-6ace338 > .e-con {
	border-color: var(--pt-border) !important;
	background: var(--pt-surface) !important;
	box-shadow: var(--pt-shadow) !important;
}

html[data-physictomy-theme="light"] #footer :where(.elementor-heading-title, h1, h2, h3, h4) {
	color: var(--pt-text-strong) !important;
}

html[data-physictomy-theme="light"] #footer .elementor-social-icon {
	border-color: var(--pt-border) !important;
	background: var(--pt-surface-soft) !important;
	color: var(--pt-link) !important;
}

html[data-physictomy-theme="light"] #footer :where(p, li, .elementor-icon-list-text, .elementor-widget-text-editor, .elementor-widget-text-editor *) {
	color: var(--pt-muted) !important;
}

html[data-physictomy-theme="light"] #footer a,
html[data-physictomy-theme="light"] #footer.el_footer .elementor-element-cc3c37d a {
	color: var(--pt-link) !important;
}

html[data-physictomy-theme="light"] #footer a:hover,
html[data-physictomy-theme="light"] #footer a:hover .elementor-icon-list-text {
	color: var(--pt-accent-deep) !important;
}

html[data-physictomy-theme="light"] .site-header.studi_el_head .e-n-menu-title:is(:hover, :focus-within) :where(.e-n-menu-title-text, .e-n-menu-dropdown-icon),
html[data-physictomy-theme="light"] .site-header.studi_el_head .e-n-menu-title[aria-expanded="true"] :where(.e-n-menu-title-text, .e-n-menu-dropdown-icon) {
	color: var(--pt-accent-deep) !important;
}

/* Final shared header treatment: brand, action icons and the courses panel. */
@media (min-width: 1025px) {
	html[data-physictomy-theme] .site-header .elementor-element-e84fe31 {
		width: auto !important;
		max-width: none !important;
		flex: 0 0 auto;
	}

	html[data-physictomy-theme] .site-header .elementor-element-e84fe31 a {
		min-height: 48px;
		gap: 9px;
		padding: 3px 4px;
		border-radius: 11px;
		text-decoration: none !important;
	}

	html[data-physictomy-theme] .site-header .elementor-element-e84fe31 a::after {
		content: "فیزیکتومی";
		color: var(--pt-text-strong);
		font-size: 15px;
		font-weight: 800;
		white-space: nowrap;
	}

	html[data-physictomy-theme] .site-header .elementor-element-e84fe31 img {
		width: 42px !important;
		height: 42px !important;
		padding: 3px !important;
		border-color: var(--pt-border) !important;
		border-radius: 10px !important;
		background: var(--pt-surface) !important;
		object-fit: contain !important;
		box-shadow: none !important;
	}

	html[data-physictomy-theme] .site-header .elementor-element-e84fe31 a:is(:hover, :focus-visible) {
		background: var(--pt-surface-soft) !important;
	}
}

html[data-physictomy-theme] .site-header .elementor-element-92b6617 {
	gap: 8px !important;
}

html[data-physictomy-theme] .site-header .elementor-element-92b6617 :where(.studi_notif_main_holder, .top-bar-cart) {
	display: flex;
	flex: 0 0 42px;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	margin: 0 !important;
}

html[data-physictomy-theme] .site-header #sc_notif_trigger {
	position: relative;
	border-color: var(--pt-border) !important;
	background: var(--pt-surface) !important;
	color: var(--pt-text) !important;
}

html[data-physictomy-theme] .site-header #sc_notif_trigger .icon-wrapper {
	width: 40px;
	height: 40px;
	margin: 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	opacity: 1 !important;
}

html[data-physictomy-theme] .site-header #sc_notif_trigger .icon-wrapper {
	display: grid !important;
	place-items: center;
}

html[data-physictomy-theme] .site-header #sc_notif_trigger .icon-wrapper-bg {
	background: transparent !important;
	opacity: 0 !important;
	pointer-events: none;
}

html[data-physictomy-theme] .site-header #sc_notif_trigger :where(i, .text-danger) {
	color: currentColor !important;
	opacity: 1 !important;
}

html[data-physictomy-theme] .site-header #sc_notif_trigger svg {
	color: currentColor !important;
	stroke: currentColor !important;
	opacity: 1 !important;
}

html[data-physictomy-theme] .site-header #sc_notif_trigger:is(:hover, :focus-visible) {
	border-color: var(--pt-accent) !important;
	background: var(--pt-surface-soft) !important;
	color: var(--pt-accent-deep) !important;
	transform: none !important;
}

html[data-physictomy-theme="dark"] .site-header #sc_notif_trigger:is(:hover, :focus-visible) {
	color: var(--pt-accent-hover) !important;
}

html[data-physictomy-theme] .site-header :where(.mini-cart-opener, .physictomy-theme-toggle):is(:hover, :focus-visible) {
	color: var(--pt-accent-deep) !important;
	transform: none !important;
}

html[data-physictomy-theme="dark"] .site-header :where(.mini-cart-opener, .physictomy-theme-toggle):is(:hover, :focus-visible) {
	color: var(--pt-accent-hover) !important;
}

html[data-physictomy-theme] .elementor-5248 .elementor-element.elementor-element-8babdbe .e-n-menu-content {
	width: min(680px, calc(100vw - 32px)) !important;
	height: auto !important;
	max-height: min(72vh, 520px) !important;
	overflow-y: auto !important;
}

html[data-physictomy-theme] .elementor-5248 .elementor-element.elementor-element-8babdbe :where(
	.e-n-menu-content > .e-con,
	.elementor-widget-n-tabs,
	.elementor-widget-n-tabs > .elementor-widget-container,
	.e-n-tabs,
	.e-n-tabs-heading,
	.e-n-tabs-content
) {
	height: auto !important;
	min-height: 0 !important;
}

html[data-physictomy-theme] .elementor-5248 .elementor-element.elementor-element-8babdbe .e-n-tabs {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) !important;
	align-items: stretch !important;
}

html[data-physictomy-theme] .elementor-5248 .elementor-element.elementor-element-8babdbe .e-n-tabs-heading {
	gap: 6px !important;
	overflow: visible !important;
}

html[data-physictomy-theme] .elementor-5248 .elementor-element.elementor-element-8babdbe .e-n-tabs-content {
	overflow-y: auto !important;
}

html[data-physictomy-theme] .elementor-5248 .elementor-element.elementor-element-8babdbe .e-n-tab-title[aria-selected="true"] .e-n-tab-icon {
	border-color: var(--pt-border) !important;
	background: var(--pt-surface) !important;
	color: var(--pt-on-accent) !important;
}

html[data-physictomy-theme] .elementor-5248 .elementor-element.elementor-element-8babdbe .e-n-tabs-heading > .elementor-element-603b813 {
	flex: 0 0 auto;
	margin: auto 0 0 !important;
	padding-top: 12px;
}

html[data-physictomy-theme] .elementor-5248 .elementor-element.elementor-element-8babdbe .elementor-icon-list-item a:is(:hover, :focus-visible) {
	transform: none !important;
}

/* Keep hover quiet and legible; orange is reserved for the selected item. */
html[data-physictomy-theme] .site-header.studi_el_head .elementor-element-8babdbe .e-n-tab-title:not([aria-selected="true"]):is(:hover, :focus-visible),
html[data-physictomy-theme] .site-header.studi_el_head .elementor-element-8babdbe .elementor-icon-list-item a:is(:hover, :focus-visible) {
	border-color: var(--pt-border-strong) !important;
	background: var(--pt-surface-soft) !important;
	color: var(--pt-text-strong) !important;
	box-shadow: none !important;
	transform: none !important;
}

html[data-physictomy-theme] .site-header.studi_el_head .elementor-element-8babdbe .e-n-tab-title[aria-selected="true"]:is(:hover, :focus-visible) {
	border-color: var(--pt-accent) !important;
	background: var(--pt-accent) !important;
	color: var(--pt-on-accent) !important;
}

html[data-physictomy-theme] .site-header.studi_el_head .elementor-element-8babdbe .e-n-tab-title[aria-selected="true"] :where(.e-n-tab-title-text, .e-n-tab-icon, .e-n-tab-icon svg),
html[data-physictomy-theme] .site-header.studi_el_head .elementor-element-8babdbe .e-n-tab-title[aria-selected="true"]:is(:hover, :focus-visible) :where(.e-n-tab-title-text, .e-n-tab-icon, .e-n-tab-icon svg) {
	color: var(--pt-on-accent) !important;
	fill: currentColor !important;
}

html[data-physictomy-theme] .site-header.studi_el_head .elementor-element-8babdbe .e-n-tab-title:not([aria-selected="true"]):is(:hover, :focus-visible) :where(.e-n-tab-title-text, .e-n-tab-icon, .e-n-tab-icon svg),
html[data-physictomy-theme] .site-header.studi_el_head .elementor-element-8babdbe .elementor-icon-list-item a:is(:hover, :focus-visible) :where(.elementor-icon-list-text, .elementor-icon-list-icon, svg) {
	color: var(--pt-text-strong) !important;
	fill: currentColor !important;
}

html[data-physictomy-theme] .site-header.studi_el_head .elementor-element-8babdbe .e-n-tab-title:focus-visible,
html[data-physictomy-theme] .site-header.studi_el_head .elementor-element-8babdbe .elementor-icon-list-item a:focus-visible {
	outline: 2px solid var(--pt-accent-deep) !important;
	outline-offset: 2px;
}

/* Public course catalog: keep sorting controls readable in dark mode. */
html[data-physictomy-theme="dark"] .courses-holder .studiare-orderby-link {
	border: 1px solid var(--pt-border-strong) !important;
	background: var(--pt-surface-raised) !important;
	color: var(--pt-text) !important;
}

html[data-physictomy-theme="dark"] .courses-holder .studiare-orderby-link:is(:hover, :focus-visible) {
	border-color: var(--pt-accent) !important;
	background: var(--pt-surface-soft) !important;
	color: var(--pt-text-strong) !important;
}

html[data-physictomy-theme="dark"] .courses-holder .studiare-orderby-link.active {
	border-color: var(--pt-accent) !important;
	background: rgba(244, 172, 100, 0.16) !important;
	color: var(--pt-accent-hover) !important;
}

/* The live Elementor header has a different post/widget ID from the local copy.
   Style the courses mega menu by structure so both installations share the layout. */
@media (min-width: 1025px) {
	html[data-physictomy-theme] .site-header.studi_el_head .elementor-widget-n-menu .e-n-menu-content {
		top: calc(100% + 18px) !important;
		width: min(680px, calc(100vw - 32px)) !important;
		height: auto !important;
		max-height: min(72vh, 520px) !important;
		padding: 12px !important;
		border: 1px solid var(--pt-border) !important;
		border-radius: 18px !important;
		background: var(--pt-page-alt) !important;
		box-shadow: var(--pt-shadow) !important;
		overflow-y: auto !important;
	}

	html[data-physictomy-theme] .site-header.studi_el_head .elementor-widget-n-menu .e-n-menu-content > .e-con {
		width: 100% !important;
		padding: 0 !important;
		border: 0 !important;
		background: transparent !important;
		box-shadow: none !important;
	}

	html[data-physictomy-theme] .site-header.studi_el_head .elementor-widget-n-menu .e-n-tabs {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) !important;
		gap: 12px !important;
		align-items: stretch !important;
		height: auto !important;
		min-height: 0 !important;
	}

	html[data-physictomy-theme] .site-header.studi_el_head .elementor-widget-n-menu :where(.e-n-tabs-heading, .e-n-tabs-content) {
		height: auto !important;
		min-height: 0 !important;
		padding: 12px !important;
		border: 1px solid var(--pt-border) !important;
		border-radius: 13px !important;
		background: var(--pt-surface) !important;
		box-shadow: none !important;
	}

	html[data-physictomy-theme] .site-header.studi_el_head .elementor-widget-n-menu .e-n-tabs-heading {
		display: flex !important;
		flex-direction: column !important;
		gap: 6px !important;
		overflow: visible !important;
	}

	html[data-physictomy-theme] .site-header.studi_el_head .elementor-widget-n-menu .e-n-tabs-content {
		min-width: 0 !important;
		overflow-y: auto !important;
	}

	html[data-physictomy-theme] .site-header.studi_el_head .elementor-widget-n-menu .e-n-tabs-heading > .elementor-widget-button {
		position: static !important;
		inset: auto !important;
		width: 100% !important;
		max-width: none !important;
		margin: auto 0 0 !important;
		padding: 8px 0 0 !important;
	}

	html[data-physictomy-theme] .site-header.studi_el_head .elementor-widget-n-menu .e-n-tabs-heading > .elementor-widget-button :where(.elementor-button-wrapper, .elementor-button) {
		width: 100% !important;
	}

	html[data-physictomy-theme] .site-header.studi_el_head .elementor-widget-n-menu .e-n-tab-title {
		height: 52px !important;
		min-height: 52px !important;
		margin-bottom: 7px !important;
		padding: 0 12px !important;
		border: 1px solid transparent !important;
		background: transparent !important;
		color: var(--pt-text) !important;
	}

	html[data-physictomy-theme] .site-header.studi_el_head .elementor-widget-n-menu .e-n-tab-title[aria-selected="true"] {
		border-color: var(--pt-accent) !important;
		background: var(--pt-accent) !important;
		color: var(--pt-on-accent) !important;
	}

	html[data-physictomy-theme] .site-header.studi_el_head .elementor-widget-n-menu .e-n-tab-title[aria-selected="true"]::after {
		display: none !important;
	}

	html[data-physictomy-theme] .site-header.studi_el_head .elementor-widget-n-menu .elementor-icon-list-item a {
		min-height: 50px !important;
		padding: 0 12px !important;
		border: 1px solid var(--pt-border) !important;
		background: var(--pt-surface-raised) !important;
		color: var(--pt-text) !important;
	}
}

/* The fixed side-menu trigger belongs to the same dark surface palette. */
html[data-physictomy-theme="dark"] .sc_studi_hamburger {
	border: 1px solid var(--pt-border-strong) !important;
	background: var(--pt-surface-raised) !important;
	box-shadow: 0 5px 22px rgba(0, 0, 0, 0.34) !important;
}

html[data-physictomy-theme="dark"] .sc_studi_hamburger::after {
	box-shadow: 0 0 0 1px var(--pt-border) inset !important;
}

html[data-physictomy-theme="dark"] .sc_studi_hamburger__line-in::before,
html[data-physictomy-theme="dark"] .sc_studi_hamburger__line-in::after {
	background-color: var(--pt-text-strong) !important;
}

html[data-physictomy-theme="dark"] .site-header .mobile-nav-toggle .the-icon,
html[data-physictomy-theme="dark"] .site-header .mobile-nav-toggle .the-icon::before,
html[data-physictomy-theme="dark"] .site-header .mobile-nav-toggle .the-icon::after {
	background-color: var(--pt-text-strong) !important;
}
