:root {
	--wooforge-color-primary: #2c2c2c;
	--wooforge-color-accent: #d4a13a;
	--wooforge-max-width: 1200px;
}


* {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	color: var(--wooforge-color-primary);
}

html.wooforge-scroll-locked {
	overflow: hidden;
	margin-right: var(--wf-scrollbar-width, 0px);
}

html.wooforge-scroll-locked .wooforge-header {
	margin-left: calc(-1 * var(--wf-scrollbar-width, 0px));
	margin-right: calc(-1 * var(--wf-scrollbar-width, 0px));
}

/* position:fixed rows ignore parent margin — compensate with padding-right */
html.wooforge-scroll-locked .wooforge-header-row--sticky.is-stuck {
	padding-right: var(--wf-scrollbar-width, 0px);
}

a {
	color: var(--wooforge-color-primary);
	text-decoration: none;
}

img {
	max-width: 100%;
	height: auto;
}

h1, h2, h3, h4, h5, h6 {
	line-height: 1.25;
	margin: 0;
}

p {
	line-height: 1.6;
	margin: 0 0 10px;
}

.wooforge-page-title .page-title {
	font-size: 32px;
	margin: 0;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="url"],
input[type="number"],
textarea,
select {
	font-family: inherit;
	font-size: 14px;
	padding: 10px;
	border: 1px solid #d5d5d5;
	background: #fff;
	color: var(--wooforge-color-primary);
}

textarea {
	width: 100%;
}

/* ── Custom checkboxes & radio buttons ──────────────────────────────── */
input[type="checkbox"],
input[type="radio"] {
	-webkit-appearance: none;
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	border: 2px solid #d5d5d5;
	background: #fff;
	cursor: pointer;
	margin: 0;
	padding: 0;
	vertical-align: middle;
	position: relative;
	transition: border-color .15s, background-color .15s;
}

input[type="checkbox"] {
	border-radius: 4px;
}

input[type="radio"] {
	border-radius: 50%;
}

input[type="checkbox"]:hover:not(:disabled),
input[type="radio"]:hover:not(:disabled) {
	border-color: var(--wooforge-color-primary);
}

input[type="checkbox"]:checked,
input[type="radio"]:checked {
	background-color: var(--wooforge-color-primary);
	border-color: var(--wooforge-color-primary);
}

input[type="checkbox"]:checked::after {
	content: '';
	position: absolute;
	left: 4px;
	top: 1px;
	width: 6px;
	height: 10px;
	border: 2px solid #fff;
	border-top: none;
	border-left: none;
	transform: rotate(45deg);
}

input[type="radio"]:checked::after {
	content: '';
	position: absolute;
	inset: 3px;
	border-radius: 50%;
	background: #fff;
}

input[type="checkbox"]:disabled,
input[type="radio"]:disabled {
	opacity: .4;
	cursor: not-allowed;
}

input[type="checkbox"]:focus-visible,
input[type="radio"]:focus-visible {
	outline: 2px solid var(--wooforge-color-primary);
	outline-offset: 2px;
}

/* No prefers-color-scheme override here on purpose: the theme has no dark
   mode, so inputs must always follow the site's light palette — an OS-level
   dark theme was making checkboxes render dark on the light site. */

button,
.button,
input[type="submit"] {
	font-family: inherit;
	font-size: 14px;
}

.wooforge-breadcrumbs {
	margin-bottom: 8px;
	font-size: 13px;
	color: #777;
}

.wooforge-breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.wooforge-breadcrumbs li:not(:last-child)::after {
	content: "/";
	margin-left: 4px;
}

.wooforge-breadcrumbs a {
	color: #777;
	text-decoration: none;
}

.wooforge-breadcrumbs a:hover {
	text-decoration: underline;
}

#masthead.wooforge-header {
	position: relative;
}

.wooforge-header-row-inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 24px;
	max-width: var(--wooforge-max-width);
	margin: 0 auto;
	padding: 12px 24px;
}

.wooforge-header-row[style*="--wooforge-row-height"] .wooforge-header-row-inner {
	height: var(--wooforge-row-height);
}

.wooforge-header-row--sticky.is-stuck[style*="--wooforge-row-sticky-height"] .wooforge-header-row-inner {
	height: var(--wooforge-row-sticky-height);
}

.wooforge-header-zone {
	display: flex;
	align-items: center;
	gap: 24px;
	flex-wrap: wrap;
}

.wooforge-header-zone--left {
	justify-content: flex-start;
}

.wooforge-header-zone--center {
	justify-content: center;
}

.wooforge-header-zone--right {
	justify-content: flex-end;
}

.wooforge-header-row--top {
	background: #f6f6f6;
	font-size: 13px;
}

.wooforge-header-row--top .wooforge-header-row-inner {
	padding: 6px 24px;
}

.wooforge-header-row--bottom {
	border-top: 1px solid #e5e5e5;
}

.wooforge-header-menu ul {
	display: flex;
	gap: 16px;
	list-style: none;
	margin: 0;
	padding: 0;
}

/* Desktop top nav only - wp_nav_menu() already nests children into a
   <ul class="sub-menu"> inside a <li class="menu-item-has-children"> by
   default, with no special walker needed. The mobile drawer below leaves
   sub-menu as an always-expanded nested list instead (no hover on touch). */
.wooforge-header-menu:not(.wooforge-drawer) li.menu-item-has-children {
	position: relative;
}

.wooforge-header-menu:not(.wooforge-drawer) .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	flex-direction: column;
	gap: 0;
	min-width: 180px;
	padding: 8px 0;
	background: #fff;
	border: 1px solid #e5e5e5;
	/* Above the overlay backdrop (9998): in no-overlap mode the backdrop
	   starts below the header, so the header stays interactive — a dropdown
	   hanging past the header line must not be cut off by the dim layer.
	   Same level as the live-search results / fullscreen search panels. */
	z-index: 9999;
}

.wooforge-header-menu:not(.wooforge-drawer) li.menu-item-has-children:hover > .sub-menu,
.wooforge-header-menu:not(.wooforge-drawer) li.menu-item-has-children:focus-within > .sub-menu {
	display: flex;
}

.wooforge-header-menu:not(.wooforge-drawer) .sub-menu li {
	width: 100%;
}

.wooforge-header-menu:not(.wooforge-drawer) .sub-menu a {
	display: block;
	padding: 8px 16px;
	white-space: nowrap;
}

/* A 3rd-level (and deeper) sub-menu would otherwise stack below its own
   parent item, which already sits inside the level-2 dropdown - open it
   to the side instead so it doesn't overlap. */
.wooforge-header-menu:not(.wooforge-drawer) .sub-menu .sub-menu {
	top: 0;
	left: 100%;
}

.wooforge-header-account a,
.wooforge-header-wishlist a,
.wooforge-header-cart a {
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.wooforge-header-icon-wrap {
	position: relative;
	display: inline-flex;
}

.wooforge-header-account--has-dropdown {
	position: relative;
}

.wooforge-header-account-dropdown {
	display: none;
	position: absolute;
	top: 100%;
	right: 0;
	min-width: 180px;
	margin: 0;
	padding: 8px 0;
	list-style: none;
	background: #fff;
	border: 1px solid #e5e5e5;
	/* Above the overlay backdrop (9998) — see .sub-menu note above. */
	z-index: 9999;
}

.wooforge-header-account--has-dropdown:hover .wooforge-header-account-dropdown,
.wooforge-header-account--has-dropdown:focus-within .wooforge-header-account-dropdown {
	display: block;
}

.wooforge-header-account-dropdown li {
	display: block;
}

.wooforge-header-account-dropdown a {
	display: block;
	padding: 8px 16px;
	white-space: nowrap;
	text-decoration: none;
	color: inherit;
}

.wooforge-header-account-dropdown a:hover {
	background: #f6f6f6;
}

.wooforge-header-total {
	font-size: 13px;
	opacity: 0.8;
}

.wooforge-header-count {
	position: absolute;
	top: -6px;
	right: -8px;
	min-width: 16px;
	height: 16px;
	padding: 0 4px;
	background: var(--wooforge-color-accent);
	color: #fff;
	font-size: 10px;
	line-height: 16px;
	text-align: center;
}

.wooforge-header-device--mobile {
	display: none;
}

/* The desktop/mobile switch breakpoint is injected inline by
   WooForge_Layout::output_width_style() from the Mobile menu break
   setting, since it needs to be admin-configurable. */

.wooforge-header-menu.wooforge-drawer {
	position: fixed;
	top: 0;
	bottom: 0;
	width: 300px;
	max-width: 90vw;
	overflow-y: auto;
	z-index: 9999;
	background: #fff;
	transition: transform 0.3s ease;
	padding: 48px 16px 16px;
}

.wooforge-header-menu.wooforge-drawer ul {
	flex-direction: column;
}

.wooforge-header-menu.wooforge-drawer--left {
	left: 0;
	transform: translateX(-100%);
}

.wooforge-header-menu.wooforge-drawer--right {
	right: 0;
	transform: translateX(100%);
}

.wooforge-header-menu.wooforge-drawer--fullwidth {
	left: 0;
	width: 100%;
	max-width: none;
	transform: translateY(-100%);
}

.wooforge-header-menu.wooforge-drawer.is-open {
	transform: translate(0, 0);
}

.wooforge-drawer-close {
	position: absolute;
	top: 8px;
	right: 8px;
	background: none;
	border: none;
	cursor: pointer;
}

.wooforge-icon-close {
	width: 20px;
	height: 20px;
	display: block;
}

.wooforge-drawer-toggle {
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	gap: 4px;
	width: 28px;
	height: 28px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
}

.wooforge-drawer-toggle span {
	display: block;
	width: 100%;
	height: 2px;
	background: var(--wooforge-color-primary);
}

.wooforge-header-search--icon_inside .search-form,
.wooforge-header-search--icon_inside .woocommerce-product-search {
	position: relative;
}

.wooforge-header-search--icon_inside .search-field {
	width: 100%;
	padding-right: 40px;
	box-sizing: border-box;
}

.wooforge-header-search--icon_inside .search-submit,
.wooforge-header-search--icon_inside .woocommerce-product-search button[type="submit"] {
	position: absolute;
	top: 0;
	right: 0;
	width: 38px;
	height: 100%;
	border: none;
	background: transparent;
	cursor: pointer;
	font-size: 0;
}

.wooforge-header-search--icon_inside .search-submit::before,
.wooforge-header-search--icon_inside .woocommerce-product-search button[type="submit"]::before {
	content: "";
	display: block;
	width: 16px;
	height: 16px;
	margin: 0 auto;
	border: 2px solid var(--wooforge-color-primary);
}

.wooforge-search-fullscreen-toggle {
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
	display: inline-flex;
	align-items: center;
}

.wooforge-search-fullscreen {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	z-index: 9999;
	background: #fff;
	border-top: 1px solid #e5e5e5;
}

/* The shared overlay backdrop dims the whole page, but fullscreen search
   opens directly below the header - keep the header itself undimmed by
   raising it above the backdrop only while this panel is open. #masthead
   is position: relative already (see the unconditional rule above); giving
   it an explicit z-index here is enough on its own to make the *whole*
   subtree - including a stuck sticky row's position: fixed (z-index: 200)
   - paint above the backdrop as one composited layer, since #masthead now
   establishes its own stacking context and nested z-index values inside it
   no longer get compared against the backdrop directly.
   Don't also set position/z-index straight on .wooforge-header-row here:
   a same-or-higher-specificity rule touching `position` would silently
   override .wooforge-header-row--sticky.is-stuck's position: fixed while
   the panel is open, breaking the spacer/placeholder math in js/main.js
   (visible as a layout jump or an empty gap appearing under the row). */
body.wooforge-fullscreen-search-open #masthead.wooforge-header {
	z-index: 9999;
}

.wooforge-search-fullscreen.is-open {
	display: block;
}

.wooforge-search-fullscreen-inner {
	position: relative;
	max-width: var(--wooforge-max-width);
	margin: 0 auto;
	padding: 32px 24px;
}

.wooforge-search-fullscreen-inner .search-form,
.wooforge-search-fullscreen-inner .woocommerce-product-search {
	display: block;
	position: relative;
}

.wooforge-search-fullscreen-inner .search-field {
	width: 100%;
	font-size: 20px;
	padding: 16px 56px 16px 16px;
	box-sizing: border-box;
}

/* The submit button itself stays a plain, invisible hit target (font-size:
   0 hides the "Search" text) - the actual icon is the same one configured
   for the header's search icon (custom upload or the default SVG), drawn
   on top of it via .wooforge-search-fullscreen-icon below instead of a
   hardcoded CSS circle, so it always matches. */
.wooforge-search-fullscreen-inner .search-submit,
.wooforge-search-fullscreen-inner .woocommerce-product-search button[type="submit"] {
	position: absolute;
	top: 0;
	right: 0;
	width: 56px;
	height: 100%;
	border: none;
	background: transparent;
	cursor: pointer;
	font-size: 0;
}

/* Positioned against .wooforge-search-fullscreen-inner (its containing
   block), not the form - right offset matches the inner wrapper's own
   horizontal padding so this lines up with the form's actual right edge,
   and centering via top:50%/translateY (rather than top:0/height:100%,
   which would span the inner's padded box, taller than the form itself)
   keeps it level with the submit button regardless of the inner's
   vertical padding. */
.wooforge-search-fullscreen-icon {
	position: absolute;
	top: 50%;
	right: 24px;
	transform: translateY(-50%);
	width: 56px;
	height: 56px;
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
}

.wooforge-search-fullscreen-close {
	position: absolute;
	top: 8px;
	right: 8px;
	background: none;
	border: none;
	cursor: pointer;
}

/* Live search (js/live-search.js) appends its results panel directly into
   whichever <form> holds the .search-field, anchored with position:
   relative here so the dropdown lines up under the field regardless of
   search style (inline/icon_inside/fullscreen) or where the form lives. */
.search-form,
.woocommerce-product-search {
	position: relative;
}

.wooforge-live-search-results {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	z-index: 9999;
	margin-top: 4px;
	background: #fff;
	max-height: 360px;
	overflow-y: auto;
	text-align: left;
}

.wooforge-live-search-results.is-open {
	display: block;
}

.wooforge-live-search-results-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.wooforge-live-search-result {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 12px;
	text-decoration: none;
	color: inherit;
}

.wooforge-live-search-result:hover {
	background: #f6f6f6;
}

.wooforge-live-search-result img {
	width: 40px;
	height: 40px;
	object-fit: cover;
	flex-shrink: 0;
}

.wooforge-live-search-result-info {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.wooforge-live-search-result-title {
	font-size: 13px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.wooforge-live-search-result-price {
	font-size: 12px;
	color: var(--wooforge-color-accent);
}

.wooforge-live-search-empty {
	margin: 0;
	padding: 12px;
	font-size: 13px;
	color: #777;
}

.wooforge-live-search-view-all {
	display: block;
	padding: 10px 12px;
	font-size: 13px;
	text-align: center;
	border-top: 1px solid #e5e5e5;
	text-decoration: none;
}

.wooforge-overlay-backdrop {
	visibility: hidden;
	opacity: 0;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.4);
	z-index: 9998;
	transition: opacity .3s ease, visibility 0s linear .3s;
}

.wooforge-overlay-backdrop.is-open {
	visibility: visible;
	opacity: 1;
	transition: opacity .3s ease, visibility 0s linear 0s;
}


.wooforge-header-icon {
	width: 24px;
	height: 24px;
	vertical-align: middle;
}

/* Deliberately right: 0 here, not the gutter-compensated width used by the
   backdrop/flyouts/drawers - this row is also static (in normal flow,
   body-constrained width) until JS adds .is-stuck, and widening only the
   stuck state would make it ~15px wider than its own static width,
   visibly re-centering/shifting .wooforge-header-row-inner's content the
   instant .is-stuck toggles (including on page load, for header configs
   where the row has nothing above it - see js/main.js). Right: 0 keeps
   both states at the same (body-constrained) width, at the cost of a
   matching, currently-unreported, thin gap on this one row's far edge. */
.wooforge-header-row--sticky.is-stuck {
	position: fixed;
	left: 0;
	right: 0;
	z-index: 200;
	background: #fff;
}

/* Each stuck row is its own stacking context (position: fixed always creates one).
   On a z-index tie DOM order decides, so --bottom (last) would paint over --main's
   entire layer including its open dropdown. Stepping up per row type prevents that. */
.wooforge-header-row--main.is-stuck {
	z-index: 201;
}

.wooforge-header-row--top.is-stuck {
	z-index: 202;
}

.wooforge-header-logo-link {
	display: inline-block;
}

.wooforge-header-logo-link img {
	max-height: 60px;
	width: auto;
}

.wooforge-header-logo--sticky {
	display: none;
}

.wooforge-header-row--sticky.is-stuck .wooforge-header-logo--sticky {
	display: inline-block;
}

.wooforge-header-row--sticky.is-stuck .wooforge-header-logo--normal {
	display: none;
}

.wooforge-header-row-spacer {
	display: none;
}

.wooforge-footer {
	margin-top: 48px;
	padding: 24px;
	text-align: center;
	border-top: 1px solid #e5e5e5;
}

.wooforge-content {
	max-width: var(--wooforge-max-width);
	margin: 0 auto;
	padding: 0 24px;
	display: flex;
	gap: 32px;
	align-items: flex-start;
}
.wooforge-main {
	width: 100%;
}
.wooforge-main,
.wooforge-shop-wrapper {
	flex: 1;
	min-width: 0;
}

.wooforge-sidebar {
	flex: 0 0 var(--wooforge-sidebar-width, 280px);
}

body.wooforge-sidebar-left .wooforge-sidebar {
	order: -1;
}

/* Archives nest .wooforge-sidebar inside .products-grid instead of as a
   direct flex child of .wooforge-content - see css/woocommerce.css. */
.wooforge-content.shop-page {
	display: block;
}

/* WP's admin bar is position:fixed and isn't accounted for by its own
   html { margin-top } bump, which only shifts elements in normal flow -
   the filters drawer/cart flyout panels are position:fixed with top: 0,
   so without this their top edge sits underneath the admin bar. */
body.admin-bar .wooforge-sidebar-panel {
	top: 32px;
}

@media screen and (max-width: 782px) {
	body.admin-bar .wooforge-sidebar-panel {
		top: 46px;
	}
}

/* "Overlap header sidebar" / "...on mobile" (General -> Sidebar) - the
   actual rules are printed inline by WooForge_Layout::output_width_style(),
   gated to either side of the admin-configurable mobile breakpoint (that
   inline <style> prints after this stylesheet, so it still overrides the
   admin-bar rules above, same as before). */

@media (max-width: 768px) {
	.wooforge-content {
		flex-direction: column;
	}
}

/* ── [wooforge_gallery] grid ──────────────────────────────────────────── */
/* Same responsive column classes and breakpoints as .products in
   woocommerce.css, kept separate so the gallery works on non-shop pages. */

.wooforge-gallery-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--wooforge-gallery-gap, 24px);
}

.wooforge-gallery-grid.is-rslider {
	display: block;
	overflow: hidden;
}

.wooforge-gallery-grid.desktop-columns-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.wooforge-gallery-grid.desktop-columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wooforge-gallery-grid.desktop-columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wooforge-gallery-grid.desktop-columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.wooforge-gallery-grid.desktop-columns-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.wooforge-gallery-grid.desktop-columns-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }

@media (max-width: 900px) {
	.wooforge-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.wooforge-gallery-grid.tablet-columns-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
	.wooforge-gallery-grid.tablet-columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.wooforge-gallery-grid.tablet-columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.wooforge-gallery-grid.tablet-columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.wooforge-gallery-grid.tablet-columns-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
	.wooforge-gallery-grid.tablet-columns-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
	.wooforge-gallery-grid { grid-template-columns: 1fr; }
	.wooforge-gallery-grid.mobile-columns-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
	.wooforge-gallery-grid.mobile-columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.wooforge-gallery-grid.mobile-columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.wooforge-gallery-grid.mobile-columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.wooforge-gallery-grid.mobile-columns-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
	.wooforge-gallery-grid.mobile-columns-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

.wooforge-gallery-item {
	margin: 0;
}

.wooforge-gallery-item img {
	display: block;
	width: 100%;
	height: auto;
}

.wooforge-gallery-slider .swiper-slide {
	height: auto;
}

.wooforge-gallery-slider .wooforge-gallery-item,
.wooforge-gallery-slider .wooforge-gallery-item img {
	height: 100%;
	object-fit: cover;
}

.wooforge-cookie-notice {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 9999;
	display: none;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	padding: 16px 24px;
	background: #2c2c2c;
	color: #fff;
}

.wooforge-cookie-notice.is-visible {
	display: flex;
}

.wooforge-cookie-notice .button {
	background: var(--wooforge-color-accent);
	color: #fff;
	border: none;
	padding: 8px 16px;
	cursor: pointer;
}

.wooforge-cart-flyout {
	position: fixed;
	top: 0;
	bottom: 0;
	width: var(--wooforge-sidebar-width, 320px);
	max-width: 90vw;
	overflow: hidden;
	transition: transform 0.3s ease;
	z-index: 9999;
	background: #fff;
	padding: 24px;
	display: flex;
	flex-direction: column;
}

#wooforge-cart-flyout .widget_shopping_cart_content {
	flex: 1;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	min-height: 0;
}

#wooforge-cart-flyout .wooforge-mini-cart-items {
	flex: 1;
	max-height: none;
	min-height: 0;
	overflow-y: auto;
	margin-bottom: 0;
}

#wooforge-cart-flyout .wooforge-mini-cart-footer {
	flex-shrink: 0;
	padding-top: 16px;
}

.wooforge-cart-flyout--right {
	right: 0;
	transform: translateX(100%);
}

.wooforge-cart-flyout--left {
	left: 0;
	transform: translateX(-100%);
}

.wooforge-cart-flyout.is-open {
	transform: translateX(0);
}

.wooforge-cart-flyout-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 16px;
}

.wooforge-cart-flyout-title {
	margin: 0;
	font-size: 18px;
	font-weight: 600;
}

.wooforge-cart-flyout-close {
	background: none;
	border: none;
	cursor: pointer;
	flex-shrink: 0;
}

/* Wishlist Panel */
.wooforge-wishlist-panel {
	position: fixed;
	top: 0;
	bottom: 0;
	width: 480px;
	max-width: 92vw;
	transition: transform 0.3s ease;
	z-index: 9999;
	background: #fff;
	display: flex;
	flex-direction: column;
}

.wooforge-wishlist-panel--right {
	right: 0;
	transform: translateX(100%);
}

.wooforge-wishlist-panel--left {
	left: 0;
	transform: translateX(-100%);
}

.wooforge-wishlist-panel--fullwidth {
	left: 0;
	right: 0;
	width: 100%;
	max-width: 100%;
	transform: translateX(100%);
}

.wooforge-wishlist-panel.is-open {
	transform: translateX(0);
}

.wooforge-wishlist-panel-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 24px 24px 16px;
	flex-shrink: 0;
}

.wooforge-wishlist-panel-title {
	margin: 0;
	font-size: 18px;
	font-weight: 600;
}

.wooforge-wishlist-panel-close {
	background: none;
	border: none;
	cursor: pointer;
	flex-shrink: 0;
}

.wooforge-wishlist-panel-content {
	padding: 0 24px 24px;
	flex: 1;
	overflow-y: auto;
	min-height: 0;
}

.wooforge-wishlist-panel--fullwidth .wooforge-wishlist-panel-header,
.wooforge-wishlist-panel--fullwidth .wooforge-wishlist-panel-content {
	max-width: var(--wooforge-max-width);
	width: 100%;
	margin-left: auto;
	margin-right: auto;
}

/* Account Panel */
.wooforge-account-panel {
	position: fixed;
	top: 0;
	bottom: 0;
	width: 360px;
	max-width: 92vw;
	background: #fff;
	z-index: 9999;
	display: flex;
	flex-direction: column;
	transition: transform .3s ease;
}

.wooforge-account-panel--right {
	right: 0;
	transform: translateX(100%);
}

.wooforge-account-panel--left {
	left: 0;
	transform: translateX(-100%);
}

.wooforge-account-panel.is-open {
	transform: translateX(0);
}

.wooforge-account-panel-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 24px 24px 16px;
	border-bottom: 1px solid #e5e5e5;
	flex-shrink: 0;
}

.wooforge-account-panel-title {
	margin: 0;
	font-size: 18px;
	font-weight: 600;
}

.wooforge-account-panel-close {
	background: none;
	border: none;
	cursor: pointer;
	flex-shrink: 0;
	padding: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: .6;
	transition: opacity .15s;
}

.wooforge-account-panel-close:hover {
	opacity: 1;
}

.wooforge-account-panel-body {
	flex: 1;
	overflow-y: auto;
	padding: 24px;
	min-height: 0;
}

/* Login form inside the panel */
.wooforge-account-panel-body .woocommerce-form-login {
	border: none;
	padding: 0;
	box-shadow: none;
}

.wooforge-account-panel-body .woocommerce-form-login .form-row {
	padding: 0;
}