/*--------------------------------------------------------------
Jumstore – WooCommerce styles
Shop toolbar (view toggles, chips), archive, single product,
sticky add-to-cart, trust badges, cart, checkout, account.
--------------------------------------------------------------*/

/* Shop toolbar
--------------------------------------------------------------*/
.jum-shop__head {
	margin-bottom: 20px;
}

.jum-shop__toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: nowrap;
	margin-bottom: 16px;
	padding: 6px 0;
	border-bottom: 1px solid var(--jum-border-soft);
}

.jum-shop__toolbar-left,
.jum-shop__toolbar-right {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: nowrap;
	min-width: 0;
}

.woocommerce-result-count {
	margin: 0;
	font-size: 13px;
	color: var(--jum-muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.woocommerce-ordering {
	margin: 0;
}

.woocommerce-ordering select,
.jum-shop__perpage select {
	width: auto;
	font-size: 13px;
	font-weight: 600;
	padding: 6px 28px 6px 10px;
	height: 36px;
}

.jum-shop__views {
	display: inline-flex;
	gap: 4px;
	background: var(--jum-soft);
	border: 1px solid var(--jum-border-soft);
	border-radius: var(--jum-radius-sm);
	padding: 3px;
}

.jum-shop__view {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 32px;
	border-radius: 6px;
	color: var(--jum-muted);
}

.jum-shop__view .jum-icon {
	width: 17px;
	height: 17px;
}

.jum-shop__view.is-active,
.jum-shop__view:hover {
	background: #fff;
	color: var(--jum-primary);
	box-shadow: var(--jum-shadow);
}

.jum-shop__filter-toggle {
	display: none;
	align-items: center;
	gap: 8px;
	height: 38px;
	padding: 0 14px;
	font-size: 13.5px;
	font-weight: 700;
	background: var(--jum-primary);
	color: #fff;
	border-radius: var(--jum-radius-sm);
}

/* Active filter chips */
.jum-filter-chips {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	margin-bottom: 16px;
}

.jum-filter-chips__chip {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 12.5px;
	font-weight: 600;
	background: var(--jum-primary-soft);
	color: var(--jum-primary-dark);
	border: 1px solid #FFD9BB;
	border-radius: var(--jum-radius-pill);
	padding: 5px 12px;
}

.jum-filter-chips__chip .jum-icon {
	width: 13px;
	height: 13px;
}

.jum-filter-chips__clear {
	font-size: 12.5px;
	font-weight: 700;
	color: var(--jum-muted);
	text-decoration: underline;
}

/* Shop layout with sidebar drawer */
.jum-shop__layout {
	display: grid;
	grid-template-columns: 250px minmax(0, 1fr);
	gap: 24px;
	align-items: start;
}

.jum-shop__layout--full {
	grid-template-columns: minmax(0, 1fr);
}

.jum-shop__sidebar .widget {
	background: var(--jum-card);
	border: 1px solid var(--jum-border-soft);
	border-radius: var(--jum-radius-md);
	padding: 18px;
	margin-bottom: 16px;
}

.jum-shop__sidebar .widget-title {
	font-size: 15px;
	margin-bottom: 12px;
}

.jum-shop__sidebar ul {
	list-style: none;
}

.jum-shop__sidebar li {
	padding: 6px 0;
	font-size: 14px;
}

/* Product loop grid (default ul.products)
--------------------------------------------------------------*/
ul.products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
	list-style: none;
	margin: 0 0 30px;
	padding: 0;
}

/* WooCommerce adds clearfix ::before/::after to ul.products. In a CSS grid
   those pseudo-elements become real grid items — an empty cell at the start
   and an orphan at the end. Remove them. */
.jum-theme ul.products::before,
.jum-theme ul.products::after {
	content: none;
	display: none;
}

ul.products.jum-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
ul.products.jum-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
ul.products.jum-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

ul.products.jum-list-view {
	grid-template-columns: 1fr;
}

/* Beat WooCommerce's default float grid (`.woocommerce ul.products li.product`)
   which otherwise collapses the cards. The .jum-theme prefix + !important win
   the specificity/late-load battle even if WC's stylesheets are present. */
.jum-theme ul.products li.product,
.jum-theme ul.products li.jum-card-li,
.jum-theme .jum-card-li {
	margin: 0 !important;
	width: auto !important;
	max-width: none !important;
	min-width: 0;
	float: none !important;
	clear: none !important;
	list-style: none;
}

ul.products .jum-card {
	height: 100%;
}

.onsale {
	display: none;
}

/* Single product
--------------------------------------------------------------*/
/* ======================================================================
   Premium PDP (.jum-pdp) — fully custom single-product landing layout
   ====================================================================== */
.jum-pdp {
	--jum-pdp-gap: 52px;
}

.jum-pdp__hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 0.94fr);
	gap: var(--jum-pdp-gap);
	align-items: start;
	margin-bottom: 40px;
}

/* Gallery: vertical thumbs + square stage --------------------------------*/
.jum-pdp__gallery {
	display: grid;
	grid-template-columns: 84px minmax(0, 1fr);
	gap: 14px;
	position: sticky;
	top: 96px;
}

.jum-pdp__thumbs {
	display: flex;
	flex-direction: column;
	gap: 12px;
	max-height: 560px;
	overflow: auto;
}

.jum-pdp__thumb {
	flex: 0 0 auto;
	width: 84px;
	height: 84px;
	padding: 0;
	border: 2px solid transparent;
	border-radius: 12px;
	background: var(--jum-soft, #f4f4f5);
	cursor: pointer;
	overflow: hidden;
	transition: border-color 0.15s ease;
}

.jum-pdp__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.jum-pdp__thumb.is-active,
.jum-pdp__thumb:hover {
	border-color: var(--jum-primary, #ff6a00);
}

.jum-pdp__stage {
	position: relative;
	aspect-ratio: 1 / 1;
	border-radius: 18px;
	background: var(--jum-soft, #f4f4f5);
	overflow: hidden;
}

.jum-pdp__stage img,
.jum-pdp__main {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

/* Zoom button + hover magnify */
.jum-pdp__gallery[data-lightbox="1"] .jum-pdp__stage {
	cursor: zoom-in;
}

.jum-pdp__zoom {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 40px;
	height: 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.9);
	color: var(--jum-text, #111827);
	cursor: zoom-in;
	box-shadow: 0 4px 14px -6px rgba(17, 24, 39, 0.5);
	transition: background 0.15s ease, transform 0.05s ease;
}

.jum-pdp__zoom:hover {
	background: #fff;
}

.jum-pdp__stage--hzoom {
	cursor: zoom-in;
}

.jum-pdp__stage--hzoom .jum-pdp__main {
	transition: transform 0.12s ease-out;
	will-change: transform;
}

/* Horizontal (single-row) thumbnail layout */
.jum-pdp__gallery--horizontal {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.jum-pdp__gallery--horizontal .jum-pdp__stage {
	order: 1;
}

.jum-pdp__gallery--horizontal .jum-pdp__thumbs {
	order: 2;
	flex-direction: row;
	max-height: none;
	overflow-x: auto;
	padding-bottom: 2px;
}

/* Lightbox overlay */
.jum-lightbox {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(15, 18, 24, 0.92);
	padding: 24px;
}

.jum-lightbox__inner {
	position: relative;
	max-width: 92vw;
	max-height: 92vh;
	display: flex;
	align-items: center;
	justify-content: center;
}

.jum-lightbox__img {
	max-width: 92vw;
	max-height: 88vh;
	object-fit: contain;
	border-radius: 8px;
	box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.6);
}

.jum-lightbox__close,
.jum-lightbox__nav {
	position: absolute;
	border: 0;
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	transition: background 0.15s ease;
	line-height: 1;
}

.jum-lightbox__close:hover,
.jum-lightbox__nav:hover {
	background: rgba(255, 255, 255, 0.28);
}

.jum-lightbox__close {
	top: -6px;
	right: -6px;
	width: 42px;
	height: 42px;
	font-size: 26px;
}

.jum-lightbox__nav {
	top: 50%;
	transform: translateY(-50%);
	width: 48px;
	height: 48px;
	font-size: 30px;
}

.jum-lightbox__prev {
	left: -64px;
}

.jum-lightbox__next {
	right: -64px;
}

.jum-lightbox__count {
	position: absolute;
	bottom: -34px;
	left: 50%;
	transform: translateX(-50%);
	color: rgba(255, 255, 255, 0.8);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.04em;
}

@media (max-width: 700px) {
	.jum-lightbox__prev {
		left: 4px;
	}
	.jum-lightbox__next {
		right: 4px;
	}
	.jum-lightbox__nav {
		background: rgba(0, 0, 0, 0.4);
	}
}

/* Summary --------------------------------------------------------------- */
.jum-pdp__summary {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.jum-pdp__stock {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	align-self: flex-start;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	padding: 5px 12px;
	border-radius: 999px;
}

.jum-pdp__stock-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: currentColor;
}

.jum-pdp__stock--in {
	color: #1a7f37;
	background: #e7f6ec;
}

.jum-pdp__stock--out {
	color: #b32d2e;
	background: #fce9e9;
}

.jum-pdp__title {
	margin: 0;
	font-size: 38px;
	line-height: 1.12;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--jum-text, #111827);
}

.jum-pdp__subtitle {
	margin: 0;
	font-size: 16px;
	line-height: 1.6;
	color: var(--jum-muted, #6b7280);
}

.jum-pdp__subtitle p {
	margin: 0;
}

.jum-pdp__rating {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
	color: var(--jum-muted, #6b7280);
	font-size: 14px;
}

.jum-pdp__rating:hover .jum-pdp__rating-count {
	color: var(--jum-primary, #ff6a00);
}

.jum-pdp__price {
	font-size: 30px;
	font-weight: 800;
	color: var(--jum-text, #111827);
}

.jum-pdp__price .price {
	font-size: inherit;
	color: inherit;
}

.jum-pdp__price del {
	font-size: 20px;
	font-weight: 500;
	color: var(--jum-muted, #9ca3af);
	margin-left: 8px;
}

.jum-pdp__price ins {
	text-decoration: none;
}

/* Feature chips --------------------------------------------------------- */
.jum-pdp__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 10px;
	margin: 2px 0;
	padding: 0;
	list-style: none;
}

.jum-pdp__chip {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 13px;
	font-weight: 600;
	color: var(--jum-text, #374151);
	background: var(--jum-soft, #f4f4f5);
	border-radius: 10px;
	padding: 8px 12px;
}

.jum-pdp__chip svg {
	width: 15px;
	height: 15px;
	color: var(--jum-primary, #ff6a00);
	flex: 0 0 auto;
}

/* Buy row --------------------------------------------------------------- */
.jum-pdp__buy {
	display: flex;
	align-items: stretch;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 4px;
}

.jum-pdp__buy form.cart {
	display: flex;
	align-items: stretch;
	gap: 12px;
	margin: 0;
	flex: 1 1 320px;
}

.jum-pdp__buy .quantity {
	display: inline-flex;
	align-items: center;
	border: 1.5px solid var(--jum-border, #e5e7eb);
	border-radius: 12px;
	overflow: hidden;
}

.jum-pdp__buy .quantity .jum-qtybtn {
	width: 42px;
	height: 100%;
	min-height: 54px;
	border: 0;
	background: transparent;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	color: var(--jum-text, #111827);
}

.jum-pdp__buy .quantity .jum-qtybtn:hover {
	background: var(--jum-soft, #f4f4f5);
}

.jum-pdp__buy .quantity input.qty {
	width: 46px;
	height: 54px;
	border: 0;
	text-align: center;
	font-size: 16px;
	font-weight: 700;
	background: transparent;
	-moz-appearance: textfield;
}

.jum-pdp__buy .quantity input.qty::-webkit-outer-spin-button,
.jum-pdp__buy .quantity input.qty::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.jum-pdp__buy .single_add_to_cart_button {
	flex: 1 1 auto;
	min-height: 54px;
	padding: 0 34px;
	border: 0;
	border-radius: 12px;
	background: var(--jum-text, #111827);
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 0.15s ease, transform 0.05s ease;
}

.jum-pdp__buy .single_add_to_cart_button:hover {
	background: var(--jum-primary, #ff6a00);
}

.jum-pdp__buy .single_add_to_cart_button:active {
	transform: scale(0.99);
}

.jum-pdp__wish {
	flex: 0 0 auto;
	width: 54px;
	min-height: 54px;
	border: 1.5px solid var(--jum-border, #e5e7eb);
	border-radius: 12px;
	background: #fff;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--jum-text, #374151);
	transition: color 0.15s ease, border-color 0.15s ease;
}

.jum-pdp__wish svg {
	width: 22px;
	height: 22px;
}

.jum-pdp__wish:hover,
.jum-pdp__wish.is-active {
	color: var(--jum-primary, #ff6a00);
	border-color: var(--jum-primary, #ff6a00);
}

/* Trust row ------------------------------------------------------------- */
.jum-pdp__trust {
	display: flex;
	flex-wrap: wrap;
	gap: 14px 26px;
	margin: 8px 0 0;
	padding: 18px 0 0;
	list-style: none;
	border-top: 1px solid var(--jum-border, #eef0f2);
}

.jum-pdp__trust li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 600;
	color: var(--jum-muted, #6b7280);
}

.jum-pdp__trust svg {
	width: 18px;
	height: 18px;
	color: var(--jum-primary, #ff6a00);
}

.jum-pdp__meta {
	margin: 4px 0 0;
	font-size: 12.5px;
	color: var(--jum-muted, #9ca3af);
}

.jum-pdp__meta a {
	color: inherit;
}

/* Sections -------------------------------------------------------------- */
.jum-pdp__sections {
	display: flex;
	flex-direction: column;
	gap: 34px;
	margin-bottom: 44px;
}

.jum-pdp__section {
	background: #fff;
	border: 1px solid var(--jum-border, #eef0f2);
	border-radius: 16px;
	padding: 26px 30px;
}

.jum-pdp__h {
	margin: 0 0 18px;
	font-size: 20px;
	font-weight: 800;
	letter-spacing: -0.01em;
	color: var(--jum-text, #111827);
}

.jum-pdp__desc-body {
	font-size: 15.5px;
	line-height: 1.75;
	color: var(--jum-text, #374151);
}

.jum-pdp__desc-body img {
	max-width: 100%;
	height: auto;
	border-radius: 12px;
}

.jum-pdp__desc-body > *:first-child {
	margin-top: 0;
}

/* Spec table (from product attributes) ---------------------------------- */
.jum-pdp__specs table.woocommerce-product-attributes {
	width: 100%;
	border-collapse: collapse;
	margin: 0;
}

.jum-pdp__specs table.woocommerce-product-attributes tr {
	border-bottom: 1px solid var(--jum-border, #f0f0f2);
}

.jum-pdp__specs table.woocommerce-product-attributes tr:last-child {
	border-bottom: 0;
}

.jum-pdp__specs table.woocommerce-product-attributes th,
.jum-pdp__specs table.woocommerce-product-attributes td {
	text-align: left;
	padding: 12px 10px;
	font-size: 14.5px;
	vertical-align: top;
}

.jum-pdp__specs table.woocommerce-product-attributes th {
	width: 34%;
	font-weight: 700;
	color: var(--jum-text, #111827);
}

.jum-pdp__specs table.woocommerce-product-attributes td {
	color: var(--jum-muted, #4b5563);
}

.jum-pdp__specs table.woocommerce-product-attributes td p {
	margin: 0;
}

/* Related --------------------------------------------------------------- */
.jum-pdp + .related.products,
.jum-pdp .related.products {
	margin-top: 8px;
}

@media (max-width: 900px) {
	.jum-pdp__hero {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.jum-pdp__gallery {
		position: static;
		top: auto;
	}

	.jum-pdp__title {
		font-size: 28px;
	}

	.jum-pdp__section {
		padding: 20px 18px;
	}
}

@media (max-width: 560px) {
	.jum-pdp__gallery {
		grid-template-columns: 1fr;
	}

	.jum-pdp__thumbs {
		flex-direction: row;
		max-height: none;
		order: 2;
	}

	.jum-pdp__buy form.cart {
		flex: 1 1 100%;
	}
}

.woocommerce div.product div.images,
.woocommerce div.product div.summary {
	margin-bottom: 34px;
}

.woocommerce div.product div.images img {
	border-radius: var(--jum-radius-md);
	background: var(--jum-soft);
}

.woocommerce div.product .product_title {
	font-size: 29px;
	font-weight: 800;
	letter-spacing: -0.5px;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
	color: var(--jum-text);
	font-size: 26px;
	font-weight: 800;
}

.woocommerce div.product p.price del,
.woocommerce div.product span.price del {
	font-size: 18px;
	font-weight: 500;
	color: var(--jum-muted);
	opacity: 1;
}

.woocommerce div.product p.price ins,
.woocommerce div.product span.price ins {
	text-decoration: none;
	font-weight: 800;
	color: var(--jum-red);
}

.woocommerce .star-rating span::before,
.woocommerce .star-rating::before {
	color: var(--jum-amber);
}

.woocommerce div.product .woocommerce-product-details__short-description {
	color: var(--jum-muted);
	font-size: 15px;
}

.woocommerce .quantity .qty {
	width: 84px;
	height: 46px;
	text-align: center;
	border-radius: var(--jum-radius-sm);
}

.woocommerce div.product form.cart {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	margin: 22px 0;
}

.woocommerce div.product form.cart .button {
	height: 46px;
}

/* Buttons */
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #place_order {
	background: var(--jum-primary);
	color: #fff;
	font-weight: 700;
	font-size: 14px;
	border-radius: var(--jum-radius-sm);
	padding: 13px 24px;
	line-height: 1.2;
	transition: background-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #place_order:hover {
	background: var(--jum-primary-dark);
	color: #fff;
	transform: translateY(-1px);
	box-shadow: 0 10px 22px rgba(255, 106, 0, 0.35);
}

.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
	background: var(--jum-primary);
	color: #fff;
}

.woocommerce button.button:disabled,
.woocommerce button.button:disabled[disabled] {
	background: var(--jum-muted);
	color: #fff;
}

/* Trust badges + delivery info under summary */
.jum-product-trust {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
	background: var(--jum-soft);
	border: 1px solid var(--jum-border-soft);
	border-radius: var(--jum-radius-sm);
	padding: 14px;
	margin: 18px 0;
}

.jum-product-trust__item {
	display: flex;
	align-items: center;
	gap: 9px;
	font-size: 12.5px;
	font-weight: 600;
	color: var(--jum-muted);
}

.jum-product-trust__item .jum-icon {
	width: 18px;
	height: 18px;
	color: var(--jum-primary);
	flex: 0 0 auto;
}

/* Meta */
.woocommerce div.product .product_meta {
	font-size: 13.5px;
	color: var(--jum-muted);
	border-top: 1px solid var(--jum-border-soft);
	padding-top: 16px;
}

.woocommerce div.product .product_meta a {
	color: var(--jum-primary);
}

/* Tabs */
.woocommerce div.product .woocommerce-tabs ul.tabs {
	padding: 0;
	margin: 0 0 22px;
	border-bottom: 1px solid var(--jum-border);
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after {
	display: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
	background: none;
	border: 0;
	border-radius: 0;
	margin: 0;
	padding: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
	padding: 12px 18px;
	font-weight: 600;
	color: var(--jum-muted);
	border-bottom: 2px solid transparent;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
	color: var(--jum-primary);
	border-bottom-color: var(--jum-primary);
}

/* Related / upsells */
.woocommerce .related > h2,
.woocommerce .upsells > h2 {
	font-size: 22px;
	font-weight: 800;
	margin-bottom: 18px;
}

/* Sticky add-to-cart bar (mobile + desktop on scroll) */
.jum-sticky-atc {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 96;
	background: #fff;
	border-top: 1px solid var(--jum-border-soft);
	box-shadow: 0 -6px 24px rgba(15, 23, 42, 0.1);
	padding: 10px 0 calc(10px + env(safe-area-inset-bottom));
	transform: translateY(110%);
	transition: transform 0.25s ease;
}

.jum-sticky-atc.is-visible {
	transform: translateY(0);
}

.jum-sticky-atc__inner {
	display: flex;
	align-items: center;
	gap: 14px;
}

.jum-sticky-atc__thumb {
	width: 46px;
	height: 46px;
	border-radius: var(--jum-radius-sm);
	background: var(--jum-soft);
	object-fit: contain;
	flex: 0 0 auto;
}

.jum-sticky-atc__info {
	min-width: 0;
	flex: 1;
}

.jum-sticky-atc__title {
	display: block;
	font-size: 14px;
	font-weight: 700;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.jum-sticky-atc__price {
	font-size: 13.5px;
	font-weight: 800;
	color: var(--jum-primary);
}

/* Cart
--------------------------------------------------------------*/
.woocommerce table.shop_table {
	border: 1px solid var(--jum-border-soft);
	border-radius: var(--jum-radius-md);
	border-collapse: separate;
	border-spacing: 0;
	overflow: hidden;
	background: #fff;
}

.woocommerce table.shop_table th {
	background: var(--jum-soft);
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.6px;
	color: var(--jum-muted);
	padding: 13px 16px;
}

.woocommerce table.shop_table td {
	padding: 14px 16px;
	border-top: 1px solid var(--jum-border-soft);
}

.woocommerce table.cart img {
	width: 64px;
	border-radius: var(--jum-radius-sm);
	background: var(--jum-soft);
}

.woocommerce table.cart td.product-name a {
	font-weight: 600;
}

.woocommerce a.remove {
	color: var(--jum-red) !important;
	font-size: 22px;
	width: 26px;
	height: 26px;
	line-height: 24px;
}

.woocommerce a.remove:hover {
	background: var(--jum-red);
	color: #fff !important;
}

.woocommerce #coupon_code {
	width: 150px;
	height: 46px;
}

.woocommerce .cart_totals {
	background: var(--jum-card);
	border: 1px solid var(--jum-border-soft);
	border-radius: var(--jum-radius-md);
	padding: 22px;
}

.woocommerce .cart_totals h2 {
	font-size: 19px;
	margin-top: 0;
}

.woocommerce .cart_totals table.shop_table {
	border: 0;
	background: transparent;
}

.woocommerce .cart_totals .checkout-button {
	width: 100%;
	text-align: center;
	font-size: 15px;
	padding: 15px 24px;
}

/* Free shipping progress (Jumstore Core sales booster) */
.jum-shipping-progress {
	background: var(--jum-card);
	border: 1px solid var(--jum-border-soft);
	border-radius: var(--jum-radius-sm);
	padding: 14px 18px;
	margin-bottom: 18px;
	font-size: 13.5px;
}

.jum-shipping-progress .jum-progress {
	margin-top: 8px;
}

.jum-shipping-progress strong {
	color: var(--jum-primary);
}

/* Checkout
--------------------------------------------------------------*/
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
	padding: 11px 14px;
	border: 1px solid var(--jum-border);
	border-radius: var(--jum-radius-sm);
}

.woocommerce form .form-row label {
	font-size: 13.5px;
	font-weight: 600;
}

.woocommerce form h3,
.woocommerce-checkout h3 {
	font-size: 19px;
	font-weight: 800;
}

.woocommerce-checkout #order_review {
	background: var(--jum-card);
	border: 1px solid var(--jum-border-soft);
	border-radius: var(--jum-radius-md);
	padding: 22px;
}

.woocommerce-checkout #payment {
	background: transparent;
	border-radius: var(--jum-radius-sm);
}

.woocommerce-checkout #payment div.payment_box {
	background: var(--jum-soft);
	border: 1px solid var(--jum-border-soft);
	border-radius: var(--jum-radius-sm);
	font-size: 13.5px;
}

.woocommerce-checkout #payment div.payment_box::before {
	display: none;
}

/* Account
--------------------------------------------------------------*/
.woocommerce-account .woocommerce-MyAccount-navigation ul {
	list-style: none;
	background: var(--jum-card);
	border: 1px solid var(--jum-border-soft);
	border-radius: var(--jum-radius-md);
	overflow: hidden;
}

.woocommerce-account .woocommerce-MyAccount-navigation li {
	border-bottom: 1px solid var(--jum-border-soft);
}

.woocommerce-account .woocommerce-MyAccount-navigation li:last-child {
	border-bottom: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation li a {
	display: block;
	padding: 13px 18px;
	font-weight: 600;
	font-size: 14px;
}

.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover {
	background: var(--jum-soft);
	color: var(--jum-primary);
	box-shadow: inset 3px 0 0 var(--jum-primary);
}

/* Notices
--------------------------------------------------------------*/
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	border-top: 0;
	border-left: 4px solid var(--jum-green);
	background: #F0FDF4;
	border-radius: var(--jum-radius-sm);
	color: var(--jum-text);
	padding: 14px 20px 14px 48px;
}

.woocommerce-message::before { color: var(--jum-green); }

.woocommerce-info {
	border-left-color: var(--jum-primary);
	background: var(--jum-primary-soft);
}

.woocommerce-info::before { color: var(--jum-primary); }

.woocommerce-error {
	border-left-color: var(--jum-red);
	background: #FEF2F2;
}

.woocommerce-error::before { color: var(--jum-red); }

/* Responsive
--------------------------------------------------------------*/
@media (max-width: 1024px) {
	ul.products,
	ul.products.jum-cols-5 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.jum-shop__layout {
		grid-template-columns: 1fr;
	}

	/* Sidebar becomes a drawer */
	.jum-shop__sidebar {
		position: fixed;
		top: 0;
		bottom: 0;
		left: 0;
		z-index: 120;
		width: min(320px, 86vw);
		background: var(--jum-body);
		padding: 20px;
		overflow-y: auto;
		transform: translateX(-104%);
		transition: transform 0.26s ease;
		box-shadow: var(--jum-shadow-lg);
	}

	.jum-shop__sidebar.is-open {
		transform: translateX(0);
	}

	.jum-shop__filter-toggle {
		display: inline-flex;
	}
}

@media (max-width: 768px) {
	ul.products,
	ul.products.jum-cols-3,
	ul.products.jum-cols-5 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}

	.woocommerce div.product .product_title {
		font-size: 23px;
	}

	.jum-shop__toolbar,
	.jum-shop__toolbar-left,
	.jum-shop__toolbar-right {
		flex-wrap: wrap;
	}

	.jum-product-trust {
		grid-template-columns: 1fr;
	}

	.jum-sticky-atc {
		bottom: 58px;
	}
}

@media (max-width: 420px) {
	ul.products,
	ul.products.jum-cols-3,
	ul.products.jum-cols-5 {
		grid-template-columns: 1fr;
	}
}

/* Rich shop filters (sidebar)
--------------------------------------------------------------*/
.jum-filter__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.jum-filter__opt {
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 6px 0;
	font-size: 13.5px;
	color: var(--jum-text);
	text-decoration: none;
	transition: color 0.15s ease;
}

.jum-filter__opt:hover {
	color: var(--jum-primary);
}

.jum-filter__box {
	flex: 0 0 auto;
	width: 17px;
	height: 17px;
	border: 1.5px solid var(--jum-border);
	border-radius: 5px;
	position: relative;
	transition: border-color 0.15s ease, background 0.15s ease;
}

.jum-filter__opt.is-active .jum-filter__box {
	background: var(--jum-primary);
	border-color: var(--jum-primary);
}

.jum-filter__opt.is-active .jum-filter__box::after {
	content: "";
	position: absolute;
	left: 5px;
	top: 2px;
	width: 4px;
	height: 8px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.jum-filter__name {
	flex: 1 1 auto;
}

.jum-filter__opt.is-active .jum-filter__name {
	font-weight: 700;
}

.jum-filter__count {
	flex: 0 0 auto;
	font-size: 12px;
	color: var(--jum-muted);
	background: var(--jum-soft);
	border-radius: 999px;
	padding: 1px 8px;
}

.jum-filter__stars {
	display: inline-flex;
	align-items: center;
}

.jum-filter__price-form {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-top: 12px;
}

.jum-filter__price-form input {
	width: 100%;
	min-width: 0;
	padding: 7px 8px;
	border: 1px solid var(--jum-border);
	border-radius: 8px;
	font-size: 13px;
}

.jum-filter__price-form span {
	color: var(--jum-muted);
}

.jum-btn--sm {
	padding: 7px 12px;
	font-size: 12.5px;
}

/* Shop category banner
--------------------------------------------------------------*/
.jum-shop-banner {
	display: flex;
	align-items: center;
	gap: 24px;
	flex-wrap: wrap;
	background:
		radial-gradient(420px 200px at 12% 30%, rgba(255, 106, 0, 0.16), transparent 70%),
		linear-gradient(120deg, var(--jum-dark), var(--jum-dark-2));
	color: #fff;
	border-radius: var(--jum-radius-lg);
	padding: 22px 26px;
	margin-bottom: 22px;
}

.jum-shop-banner__intro {
	flex: 0 0 auto;
}

.jum-shop-banner__eyebrow {
	display: block;
	color: var(--jum-primary);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1.2px;
	text-transform: uppercase;
	margin-bottom: 4px;
}

.jum-shop-banner__title {
	font-size: 22px;
	font-weight: 800;
	color: #fff;
	margin: 0;
}

.jum-shop-banner__cats {
	display: flex;
	gap: 14px;
	flex: 1 1 auto;
	overflow-x: auto;
	padding-bottom: 4px;
	scrollbar-width: thin;
}

.jum-shop-banner__cat {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	flex: 0 0 auto;
	width: 78px;
	text-decoration: none;
	color: #fff;
}

.jum-shop-banner__cat-img {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.12);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.2s ease;
}

.jum-shop-banner__cat:hover .jum-shop-banner__cat-img {
	transform: translateY(-3px);
}

.jum-shop-banner__cat-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.jum-shop-banner__cat-name {
	font-size: 12px;
	font-weight: 600;
	text-align: center;
	line-height: 1.3;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

@media (max-width: 640px) {
	.jum-shop-banner {
		padding: 18px;
	}
	.jum-shop-banner__title {
		font-size: 19px;
	}
}

/* Product condition badges --------------------------------------------- */
.jum-card__condition {
	align-self: flex-start; /* don't stretch full width in the flex-column card body */
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin: 2px 0 6px;
	padding: 3px 10px;
	font-size: 10.5px;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var(--jc, #374151);
	background: rgba(17, 24, 39, 0.05);
	border-radius: 999px;
	white-space: nowrap;
}

.jum-card__condition::before {
	content: "";
	flex: 0 0 auto;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: currentColor;
}

.jum-condition-badge {
	display: inline-block;
	margin: 0 0 12px;
	padding: 3px 12px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: #fff;
	background: var(--jc, #374151);
	border-radius: 999px;
	vertical-align: middle;
}
