/* ==========================================================================
   JoinWebs — WooCommerce Shop Page
   Theme: joinwebs | joinwebs.com
   ========================================================================== */

:root {
	--jw-navy: #0a1230;
	--jw-navy-2: #111c45;
	--jw-blue: #2563eb;
	--jw-blue-dark: #1d4ed8;
	--jw-cyan: #4cd6f0;
	--jw-bg: #f4f6fa;
	--jw-surface: #ffffff;
	--jw-border: #e5e9f2;
	--jw-text: #0f172a;
	--jw-muted: #64748b;
	--jw-star: #f8b400;
	--jw-green: #16a34a;
	--jw-red: #ef4444;
	--jw-amber: #f59e0b;
	--jw-lavender: #e4e4fb;
	--jw-radius: 12px;
	--jw-radius-sm: 8px;
	--jw-shadow: 0 1px 2px rgba(15, 23, 42, .05);
	--jw-shadow-lg: 0 12px 32px rgba(15, 23, 42, .12);
	--jw-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.jw-shop {
	font-family: var(--jw-font);
	background: var(--jw-bg);
	color: var(--jw-text);
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

.jw-shop *,
.jw-shop *::before,
.jw-shop *::after { box-sizing: border-box; }

.jw-container {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 20px;
}

.jw-view-toggle .jw-icon,
.jw-card-actions .jw-icon{
	width: 18px;
	height: 18px;
	flex: 0 0 auto;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.jw-shop .jw-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 22px;
	border-radius: var(--jw-radius-sm);
	border: 1px solid transparent;
	font: 600 14px/1 var(--jw-font);
	text-decoration: none;
	cursor: pointer;
	transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.jw-shop .jw-btn:focus-visible { outline: 2px solid var(--jw-blue); outline-offset: 2px; }

.jw-btn-primary { background: var(--jw-blue); color: #fff; }
.jw-btn-primary:hover { background: var(--jw-blue-dark); color: #fff; }

.jw-btn-dark { background: var(--jw-navy); color: #fff; }
.jw-btn-dark:hover { background: var(--jw-navy-2); color: #fff; }

.jw-btn-outline { background: var(--jw-surface); color: var(--jw-text); border-color: var(--jw-border); }
.jw-btn-outline:hover { border-color: var(--jw-blue); color: var(--jw-blue); }

.jw-btn-whatsapp { background: #eafcf1; color: #16a34a; }
.jw-btn-whatsapp:hover { background: #d3f8e2; color: #15803d; }

.jw-btn-sm { padding: 9px 14px; font-size: 13px; }
.jw-btn-lg { padding: 15px 30px; font-size: 15px; }
.jw-btn-block { width: 100%; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.jw-hero {
	background:
		radial-gradient(900px 420px at 85% -10%, rgba(76, 214, 240, .16), transparent 60%),
		radial-gradient(700px 380px at -5% 110%, rgba(37, 99, 235, .25), transparent 60%),
		var(--jw-navy);
	color: #fff;
	padding: 34px 0 56px;
	border-radius: 0 0 24px 24px;
}

.jw-breadcrumb { font-size: 13px; color: #94a3b8; margin-bottom: 26px; }
.jw-breadcrumb a { color: #94a3b8; text-decoration: none; }
.jw-breadcrumb a:hover { color: #fff; }
.jw-breadcrumb-sep { margin: 0 8px; }
.jw-breadcrumb [aria-current] { color: #e2e8f0; }

.jw-hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
	gap: 40px;
	align-items: center;
}

.jw-hero-title {
	font-size: clamp(28px, 4vw, 44px);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -.02em;
	margin: 0 0 16px;
	color: #fff;
}
.jw-hero-accent { color: var(--jw-cyan); }

.jw-hero-sub {
	font-size: 16px;
	color: #cbd5e1;
	max-width: 520px;
	margin: 0 0 26px;
}

/* Hero search */
.jw-hero-search {
	display: flex;
	background: #fff;
	border-radius: var(--jw-radius);
	padding: 6px;
	gap: 6px;
	max-width: 640px;
	box-shadow: var(--jw-shadow-lg);
}

.jw-hero-search-field {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: 1 1 auto;
	padding: 0 12px;
	color: var(--jw-muted);
}
.jw-hero-search-field input {
	border: 0;
	outline: 0;
	width: 100%;
	font: 400 14px/1.4 var(--jw-font);
	color: var(--jw-text);
	background: transparent;
	padding: 12px 0;
}

.jw-hero-search-cat { border-left: 1px solid var(--jw-border); display: flex; align-items: center; }
.jw-hero-search-cat select,
.jw-select {
	border: 0;
	outline: 0;
	background: transparent;
	font: 500 14px/1.4 var(--jw-font);
	color: var(--jw-text);
	padding: 12px 14px;
	cursor: pointer;
	max-width: 180px;
}

/* Hero stats */
.jw-hero-stats {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 18px 36px;
	margin: 34px 0 0;
	padding: 0;
}
.jw-hero-stats li { display: flex; align-items: center; gap: 12px; }
.jw-stat-icon {
	width: 44px; height: 44px;
	display: grid; place-items: center;
	border-radius: 10px;
	background: rgba(255, 255, 255, .08);
	color: var(--jw-cyan);
}
.jw-stat-icon svg { width: 22px; height: 22px; }
.jw-stat-text { display: flex; flex-direction: column; }
.jw-stat-text strong { font-size: 15px; }
.jw-stat-text small { font-size: 12px; color: #94a3b8; }

/*.jw-hero-art img {
	width: 100%;
	height: auto;
	border-radius: var(--jw-radius);
	transform: perspective(900px) rotateY(-8deg) rotateX(3deg);
	box-shadow: var(--jw-shadow-lg);
}*/
/* Hero marquee — latest products, two scrolling columns */
.jw-hero-art {
	position: relative;
	height: 440px;
	overflow: hidden;
	border-radius: var(--jw-radius);
	/* fade the cards out at top & bottom edges */
	-webkit-mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
	mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
}

.jw-hero-marquee {
	position: absolute;
	inset: -40px -10px;
	display: flex;
	gap: 16px;
	transform: rotate(-4deg);
}

.jw-marquee-col {
	flex: 1 1 0;
	overflow: hidden;
}

.jw-marquee-track {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

/* The track contains the card list twice; sliding by 50% loops seamlessly */
.jw-marquee-up .jw-marquee-track {
	animation: jw-marquee-up 22s linear infinite;
}
.jw-marquee-down .jw-marquee-track {
	animation: jw-marquee-down 26s linear infinite;
}

.jw-hero-marquee:hover .jw-marquee-track {
	animation-play-state: paused;
}

@keyframes jw-marquee-up {
	from { transform: translateY(0); }
	to   { transform: translateY(-50%); }
}
@keyframes jw-marquee-down {
	from { transform: translateY(-50%); }
	to   { transform: translateY(0); }
}

.jw-marquee-card {
	display: block;
	background: var(--jw-surface);
	border-radius: var(--jw-radius);
	overflow: hidden;
	box-shadow: 0 18px 40px rgba(2, 6, 23, .45);
	text-decoration: none;
	color: var(--jw-text);
	flex: 0 0 auto;
}

.jw-deck-thumb {
	position: relative;
	display: block;
	aspect-ratio: 16 / 10;
	background: var(--jw-navy-2);
}
.jw-deck-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.jw-deck-info {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 10px 12px;
}
.jw-deck-title {
	font-size: 12px;
	font-weight: 700;
	line-height: 1.3;
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.jw-deck-price {
	font-size: 13px;
	font-weight: 800;
	white-space: nowrap;
}
.jw-deck-price del { color: #9aa5b5; font-weight: 600; font-size: 11px; margin-right: 4px; }
.jw-deck-price ins { text-decoration: none; color: var(--jw-blue); }

@media (prefers-reduced-motion: reduce) {
	.jw-marquee-track { animation: none !important; }
}
/* --------------------------------------------------------------------------
   Category strip
   -------------------------------------------------------------------------- */
.jw-cat-strip { padding: 26px 0 6px; }

.jw-cat-cards {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
	gap: 12px;
	margin: 0;
	padding: 0;
}

.jw-cat-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding: 18px 10px;
	background: var(--jw-surface);
	border: 1px solid var(--jw-border);
	border-radius: var(--jw-radius);
	text-decoration: none;
	color: var(--jw-text);
	text-align: center;
	box-shadow: var(--jw-shadow);
	transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.jw-cat-card:hover,
.jw-cat-card.is-active {
	border-color: var(--jw-blue);
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(37, 99, 235, .12);
}
.jw-cat-icon {
	width: 42px; height: 42px;
	display: grid; place-items: center;
	border-radius: 10px;
	background: #eef2ff;
	color: var(--jw-blue);
	overflow: hidden;
}
.jw-cat-icon svg { width: 22px; height: 22px; }
.jw-cat-icon img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.jw-cat-name { font-size: 13px; font-weight: 600; }

/* --------------------------------------------------------------------------
   Shop layout
   -------------------------------------------------------------------------- */
.jw-shop-body { padding: 26px 0 40px; }

.jw-shop-layout {
	display: grid;
	grid-template-columns: 264px minmax(0, 1fr);
	gap: 24px;
	align-items: start;
}

/* Sidebar */
.jw-sidebar-inner {
	background: var(--jw-surface);
	border: 1px solid var(--jw-border);
	border-radius: var(--jw-radius);
	padding: 20px;
	box-shadow: var(--jw-shadow);
	position: relative;
}

.jw-filters-close {
	display: none;
	position: absolute;
	top: 10px; right: 12px;
	border: 0;
	background: transparent;
	font-size: 26px;
	line-height: 1;
	color: var(--jw-muted);
	cursor: pointer;
}

.jw-filter-group { padding: 18px 0; border-bottom: 1px solid var(--jw-border); }
.jw-filter-group:first-child { padding-top: 0; }

.jw-filter-title { margin: 0 0 12px; font-size: 14px; font-weight: 700; }
.jw-collapse-toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	border: 0;
	background: transparent;
	padding: 0;
	font: 700 14px/1.3 var(--jw-font);
	color: var(--jw-text);
	cursor: pointer;
}
.jw-collapse-toggle::after {
	content: "";
	width: 8px; height: 8px;
	border-right: 2px solid var(--jw-muted);
	border-bottom: 2px solid var(--jw-muted);
	transform: rotate(45deg);
	transition: transform .18s ease;
}
.jw-collapse-toggle[aria-expanded="false"]::after { transform: rotate(-45deg); }
.jw-filter-group.is-closed .jw-collapse-panel { display: none; }

/* Sidebar search */
.jw-filter-search { display: flex; border: 1px solid var(--jw-border); border-radius: var(--jw-radius-sm); overflow: hidden; }
.jw-filter-search input { flex: 1; border: 0; outline: 0; padding: 10px 12px; font: 400 13px/1.4 var(--jw-font); min-width: 0; }
.jw-filter-search button { border: 0; background: transparent; padding: 0 12px; color: var(--jw-muted); cursor: pointer; }
.jw-filter-search button:hover { color: var(--jw-blue); }

/* Category list */
.jw-filter-cats { list-style: none; margin: 0; padding: 0; }
.jw-filter-cats li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 6px 0;
	font-size: 13px;
}
.jw-filter-cats a { color: var(--jw-muted); text-decoration: none; }
.jw-filter-cats a:hover,
.jw-filter-cats li.is-active a { color: var(--jw-blue); font-weight: 600; }
.jw-count { font-size: 12px; color: #94a3b8; }

/* Price slider */
.jw-price-slider { position: relative; height: 24px; margin: 8px 2px 4px; }
.jw-price-track {
	position: absolute;
	top: 50%; left: 0; right: 0;
	height: 4px;
	transform: translateY(-50%);
	background: var(--jw-border);
	border-radius: 999px;
}
.jw-price-fill { position: absolute; top: 0; bottom: 0; background: var(--jw-blue); border-radius: 999px; }
.jw-range {
	position: absolute;
	inset: 0;
	width: 100%;
	appearance: none;
	-webkit-appearance: none;
	background: transparent;
	pointer-events: none;
	margin: 0;
}
.jw-range::-webkit-slider-thumb {
	-webkit-appearance: none;
	width: 16px; height: 16px;
	border-radius: 50%;
	background: #fff;
	border: 3px solid var(--jw-blue);
	cursor: pointer;
	pointer-events: auto;
	margin-top: 0;
}
.jw-range::-moz-range-thumb {
	width: 12px; height: 12px;
	border-radius: 50%;
	background: #fff;
	border: 3px solid var(--jw-blue);
	cursor: pointer;
	pointer-events: auto;
}
.jw-price-labels { display: flex; justify-content: space-between; font-size: 12px; color: var(--jw-muted); margin-bottom: 10px; }
.jw-filter-apply { float: right; }
.jw-collapse-panel::after { content: ""; display: table; clear: both; }

/* Checkboxes */
.jw-check {
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 5px 0;
	font-size: 13px;
	color: var(--jw-muted);
	cursor: pointer;
}
.jw-check input {
	width: 15px; height: 15px;
	accent-color: var(--jw-blue);
	cursor: pointer;
}
.jw-check .jw-count { margin-left: auto; }

/* Stars */
.jw-stars { display: inline-flex; gap: 2px; }
.jw-star { width: 14px; height: 14px; fill: #d8dee9; }
.jw-star.is-on { fill: var(--jw-star); }

.jw-clear-filters {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: 100%;
	margin-top: 12px;
	padding: 10px;
	border: 1px solid var(--jw-border);
	border-radius: var(--jw-radius-sm);
	font-size: 13px;
	font-weight: 600;
	color: var(--jw-muted);
	text-decoration: none;
	transition: color .18s ease, border-color .18s ease;
}
.jw-clear-filters:hover { color: var(--jw-red); border-color: var(--jw-red); }

/* --------------------------------------------------------------------------
   Toolbar
   -------------------------------------------------------------------------- */
.jw-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	flex-wrap: wrap;
	background: var(--jw-surface);
	border: 1px solid var(--jw-border);
	border-radius: var(--jw-radius);
	padding: 12px 16px;
	margin-bottom: 20px;
	box-shadow: var(--jw-shadow);
}
.jw-toolbar-count .woocommerce-result-count { margin: 0; font-size: 13px; color: var(--jw-muted); }

.jw-toolbar-actions { display: flex; align-items: center; gap: 12px; }

.jw-view-toggle { display: inline-flex; border: 1px solid var(--jw-border); border-radius: var(--jw-radius-sm); overflow: hidden; }
.jw-view-btn {
	border: 0;
	background: var(--jw-surface);
	padding: 8px 10px;
	color: var(--jw-muted);
	cursor: pointer;
	display: grid;
	place-items: center;
}
.jw-view-btn.is-active { background: var(--jw-navy); color: #fff; }

.jw-orderby .woocommerce-ordering { margin: 0; }
.jw-orderby select.orderby {
	border: 1px solid var(--jw-border);
	border-radius: var(--jw-radius-sm);
	padding: 9px 12px;
	font: 500 13px/1.3 var(--jw-font);
	color: var(--jw-text);
	background: var(--jw-surface);
	cursor: pointer;
}

.jw-filters-open { display: inline-flex; }

/* --------------------------------------------------------------------------
   Product grid & cards
   -------------------------------------------------------------------------- */
.jw-shop ul.products.jw-products,
.jw-shop ul.products {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	margin: 0;
	padding: 0;
}
.jw-shop ul.products::before,
.jw-shop ul.products::after { display: none; }

.jw-shop ul.products li.product.jw-card {
	width: auto;
	float: none;
	margin: 0;
	background: var(--jw-surface);
	border: 1px solid var(--jw-border);
	border-radius: var(--jw-radius);
	overflow: hidden;
	box-shadow: var(--jw-shadow);
	display: flex;
	flex-direction: column;
	transition: transform .18s ease, box-shadow .18s ease;
}
.jw-shop ul.products li.product.jw-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--jw-shadow-lg);
}

.jw-card-media { position: relative; }
.jw-card-thumb { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--jw-navy-2); }
.jw-card-thumb img {
	width: 100%; height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .3s ease;
}
.jw-card:hover .jw-card-thumb img { transform: scale(1.04); }

.jw-card-badges {
	position: absolute;
	top: 10px; left: 10px;
	display: flex;
	gap: 6px;
}
.jw-badge {
	font: 700 10px/1 var(--jw-font);
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #fff;
	padding: 6px 8px;
	border-radius: 6px;
}
.jw-badge-new { background: var(--jw-green); }
.jw-badge-sale { background: var(--jw-red); }
.jw-badge-best { background: var(--jw-amber); }

.jw-wishlist {
	position: absolute;
	top: 10px; right: 10px;
	width: 32px; height: 32px;
	display: grid; place-items: center;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .92);
	color: var(--jw-red);
	cursor: pointer;
	transition: transform .15s ease;
}
.jw-wishlist svg { width: 16px; height: 16px; }
.jw-wishlist:hover { transform: scale(1.1); }
.jw-wishlist.is-active { background: var(--jw-red); color: #fff; }
.jw-wishlist.is-active svg path { fill: currentColor; }

.jw-card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }

.jw-card-title { margin: 0 0 2px; font-size: 14px; font-weight: 700; line-height: 1.35; }
.jw-card-title a { color: var(--jw-text); text-decoration: none; }
.jw-card-title a:hover { color: var(--jw-blue); }

.jw-card-author { margin: 0 0 8px; font-size: 12px; color: var(--jw-muted); }

.jw-card-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; flex-wrap: wrap; }
.jw-card-rating { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; }
.jw-rating-value { font-weight: 700; }
.jw-rating-count { color: var(--jw-muted); }
.jw-card-sales { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--jw-muted); }
.jw-card-sales .jw-icon { width: 14px; height: 14px; }

.jw-card-sub { font-size: 12px; color: var(--jw-muted); margin-bottom: 8px; display: flex; gap: 6px; align-items: center; }

.jw-card-compat { display: flex; gap: 5px; margin-bottom: 10px; }
.jw-compat-pill {
	font: 700 9px/1 var(--jw-font);
	color: #fff;
	background: var(--pill, var(--jw-blue));
	padding: 5px 6px;
	border-radius: 5px;
	text-transform: uppercase;
	letter-spacing: .04em;
}

.jw-card-price { margin-top: auto; padding-top: 4px; font-size: 18px; font-weight: 800; }
.jw-card-price .price { color: var(--jw-text); display: flex; align-items: baseline; gap: 8px; flex-direction: row-reverse; justify-content: flex-end; }
.jw-card-price ins { text-decoration: none; color: var(--jw-red); }
.jw-card-price del { color: #9aa5b5; font-size: 14px; font-weight: 600; }

.jw-card-actions { display: flex; gap: 8px; margin-top: 12px; }
.jw-card-actions .jw-btn-outline { flex: 1; }
.jw-btn-cart { padding: 9px 12px; }
.jw-btn-cart.added { background: var(--jw-green); }
.jw-shop a.added_to_cart { display: none; }

/* List view */
.jw-shop ul.products.jw-view-list { grid-template-columns: 1fr; }
.jw-shop ul.products.jw-view-list li.product.jw-card { flex-direction: row; }
.jw-view-list .jw-card-media { flex: 0 0 280px; }
.jw-view-list .jw-card-thumb { height: 100%; aspect-ratio: auto; min-height: 200px; }
.jw-view-list .jw-card-body { padding: 20px 24px; }

/* --------------------------------------------------------------------------
   Banner
   -------------------------------------------------------------------------- */
.jw-banner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	background: var(--jw-lavender);
	border-radius: var(--jw-radius);
	padding: 30px 34px;
	margin-top: 26px;
	color: #3730a3;
}
.jw-banner-text h2 { margin: 0 0 8px; font-size: 20px; font-weight: 800; color: var(--jw-text); }
.jw-banner-text p { margin: 0 0 16px; font-size: 14px; color: var(--jw-muted); max-width: 520px; }
.jw-banner-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.jw-banner-art svg { width: 130px; height: 130px; }

/* --------------------------------------------------------------------------
   Pagination
   -------------------------------------------------------------------------- */
.jw-pagination { margin-top: 28px; }
.jw-pagination .woocommerce-pagination { text-align: center; }
.jw-pagination .page-numbers {
	list-style: none;
	display: inline-flex;
	gap: 6px;
	margin: 0;
	padding: 0;
	border: 0;
}
.jw-pagination .page-numbers li { border: 0; }
.jw-pagination .page-numbers a,
.jw-pagination .page-numbers span {
	display: grid;
	place-items: center;
	min-width: 38px;
	height: 38px;
	padding: 0 6px;
	border: 1px solid var(--jw-border);
	border-radius: var(--jw-radius-sm);
	background: var(--jw-surface);
	font: 600 13px/1 var(--jw-font);
	color: var(--jw-text);
	text-decoration: none;
	transition: border-color .15s ease, color .15s ease;
}
.jw-pagination .page-numbers a:hover { border-color: var(--jw-blue); color: var(--jw-blue); }
.jw-pagination .page-numbers span.current { background: var(--jw-blue); border-color: var(--jw-blue); color: #fff; }

/* --------------------------------------------------------------------------
   No products
   -------------------------------------------------------------------------- */
.jw-no-products {
	background: var(--jw-surface);
	border: 1px dashed var(--jw-border);
	border-radius: var(--jw-radius);
	text-align: center;
	padding: 70px 24px;
}
.jw-no-products h2 { margin: 0 0 8px; font-size: 20px; }
.jw-no-products p { margin: 0 0 20px; color: var(--jw-muted); font-size: 14px; }

/* --------------------------------------------------------------------------
   Newsletter
   -------------------------------------------------------------------------- */
.jw-newsletter { padding: 10px 0 26px; }
.jw-newsletter-inner {
	background:
		radial-gradient(600px 300px at 100% 0, rgba(76, 214, 240, .14), transparent 60%),
		var(--jw-navy);
	color: #fff;
	border-radius: var(--jw-radius);
	padding: 30px 34px;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 26px;
	align-items: center;
}
.jw-newsletter-text { display: flex; gap: 16px; align-items: flex-start; }
.jw-newsletter-icon {
	width: 52px; height: 52px;
	flex: 0 0 auto;
	display: grid; place-items: center;
	background: rgba(255, 255, 255, .08);
	border-radius: 12px;
	color: var(--jw-cyan);
}
.jw-newsletter-icon svg { width: 26px; height: 26px; }
.jw-newsletter-text h2 { margin: 0 0 6px; font-size: 19px; font-weight: 800; color: #fff; }
.jw-newsletter-text p { margin: 0; font-size: 13px; color: #cbd5e1; }

.jw-newsletter-form { display: flex; flex-wrap: wrap; gap: 10px; }
.jw-newsletter-form input[type="email"] {
	flex: 1 1 240px;
	border: 0;
	border-radius: var(--jw-radius-sm);
	padding: 13px 16px;
	font: 400 14px/1.4 var(--jw-font);
	outline: 0;
}
.jw-newsletter-note {
	flex: 1 1 100%;
	display: flex;
	align-items: center;
	gap: 7px;
	margin: 2px 0 0;
	font-size: 12px;
	color: #94a3b8;
}
.jw-newsletter-note .jw-icon { width: 14px; height: 14px; }

/* --------------------------------------------------------------------------
   CTA
   -------------------------------------------------------------------------- */
.jw-cta { padding: 0 0 30px; }
.jw-cta-inner {
	background: var(--jw-surface);
	border: 1px solid var(--jw-border);
	border-radius: var(--jw-radius);
	padding: 34px;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: 30px;
	align-items: center;
	box-shadow: var(--jw-shadow);
}
.jw-cta-art { color: var(--jw-blue); }
.jw-cta-art svg { width: 150px; height: 110px; }
.jw-cta-text h2 { margin: 0 0 6px; font-size: 20px; font-weight: 800; }
.jw-cta-text > p { margin: 0 0 14px; font-size: 14px; color: var(--jw-muted); max-width: 460px; }

.jw-cta-points {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, max-content));
	gap: 8px 30px;
	margin: 0;
	padding: 0;
}
.jw-cta-points li {
	position: relative;
	padding-left: 24px;
	font-size: 13px;
	font-weight: 600;
}
.jw-cta-points li::before {
	content: "";
	position: absolute;
	left: 0; top: 1px;
	width: 16px; height: 16px;
	border-radius: 50%;
	background: var(--jw-blue);
	-webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none"><circle cx="12" cy="12" r="11" fill="black"/><path d="m7.5 12.5 3 3 6-6.5" stroke="white" stroke-width="2.4" fill="none" stroke-linecap="round"/></svg>') center / contain no-repeat;
	mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none"><circle cx="12" cy="12" r="11" fill="black"/><path d="m7.5 12.5 3 3 6-6.5" stroke="white" stroke-width="2.4" fill="none" stroke-linecap="round"/></svg>') center / contain no-repeat;
}

.jw-cta-actions { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.jw-cta-or { font-size: 12px; color: var(--jw-muted); }

/* --------------------------------------------------------------------------
   Trust strip
   -------------------------------------------------------------------------- */
.jw-trust {
	border-top: 1px solid var(--jw-border);
	background: var(--jw-surface);
	padding: 24px 0;
}

.jw-trust-list {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 18px 28px;
	margin: 0;
	padding: 0;
}

.jw-trust-list li {
	display: flex;
	align-items: center;
	gap: 12px;
}

.jw-trust-icon {
	width: 42px;
	height: 42px;
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: #eef2ff;
	color: var(--jw-blue);
}
.jw-trust-icon svg { width: 21px; height: 21px; }

.jw-trust-text {
	font-size: 13px;
	line-height: 1.35;
	color: var(--jw-muted);
	max-width: 120px;
}
.jw-trust-text strong {
	color: var(--jw-text);
	font-weight: 700;
}

@media (max-width: 900px) {
	.jw-trust-list { justify-content: center; }
}

@media (max-width: 600px) {
	.jw-trust-list {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px;
	}
	.jw-trust-text { max-width: none; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
	.jw-shop ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.jw-cta-inner { grid-template-columns: minmax(0, 1fr); text-align: center; justify-items: center; }
}

@media (max-width: 900px) {
	.jw-hero-grid { grid-template-columns: 1fr; }
	.jw-hero-art { display: none; }
	.jw-newsletter-inner { grid-template-columns: 1fr; }

	.jw-shop-layout { grid-template-columns: 1fr; }

	/* Sidebar becomes an off-canvas drawer */
	.jw-sidebar {
		position: fixed;
		inset: 0;
		z-index: 9999;
		background: rgba(10, 18, 48, .5);
		display: none;
	}
	.jw-sidebar.is-open { display: block; }
	.jw-sidebar-inner {
		position: absolute;
		top: 0; left: 0; bottom: 0;
		width: min(320px, 88vw);
		border-radius: 0;
		overflow-y: auto;
		animation: jw-slide-in .22s ease;
	}
	.jw-filters-close { display: block; }
}

@keyframes jw-slide-in {
	from { transform: translateX(-100%); }
	to { transform: translateX(0); }
}

@media (max-width: 720px) {
	.jw-shop ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.jw-hero-search { flex-wrap: wrap; }
	.jw-hero-search-field { flex: 1 1 100%; }
	.jw-hero-search-cat { border-left: 0; flex: 1; }
	.jw-hero-search .jw-btn { flex: 1; }
	.jw-banner { flex-direction: column; text-align: center; }
	.jw-banner-actions { justify-content: center; }
	.jw-view-list .jw-card-media { flex-basis: 40%; }
}

@media (max-width: 480px) {
	.jw-shop ul.products { grid-template-columns: 1fr; }
	.jw-toolbar { flex-direction: column; align-items: stretch; }
	.jw-toolbar-actions { justify-content: space-between; }
	.jw-shop ul.products.jw-view-list li.product.jw-card { flex-direction: column; }
	.jw-view-list .jw-card-thumb { aspect-ratio: 4 / 3; }
}

@media (prefers-reduced-motion: reduce) {
	.jw-shop *,
	.jw-shop *::before,
	.jw-shop *::after { transition: none !important; animation: none !important; }
}

/* ==========================================================================
   Responsive fixes — prevent horizontal overflow / clipped right side
   ========================================================================== */

/* 1. Kill sideways scroll at the page level */
.jw-shop {
	overflow-x: hidden;
	width: 100%;
}

/* 2. THE main fix: allow grid/flex children to shrink below their content width */
.jw-shop-layout > *,
.jw-main,
.jw-shop ul.products,
.jw-shop ul.products li.product,
.jw-card-body,
.jw-toolbar,
.jw-toolbar-count,
.jw-toolbar-actions,
.jw-newsletter-inner > *,
.jw-cta-inner > * {
	min-width: 0;
	max-width: 100%;
}

/* 3. Neutralize WooCommerce's default float/width on product items */
.jw-shop ul.products li.product.jw-card {
	width: 100% !important;
	float: none !important;
	margin: 0 !important;
	clear: none !important;
}

/* 4. Media can never exceed its container */
.jw-shop img,
.jw-shop svg {
	max-width: 100%;
	height: auto;
}
.jw-card-thumb img,
.jw-deck-thumb img {
	height: 100%; /* keep object-fit cover working */
}

/* 5. Toolbar on small screens: stack cleanly, nothing clipped */
@media (max-width: 640px) {
	.jw-toolbar {
		flex-direction: column;
		align-items: stretch;
		gap: 10px;
	}
	.jw-toolbar-count { text-align: center; }
	.jw-toolbar-actions {
		display: grid;
		grid-template-columns: auto minmax(0, 1fr) auto;
		gap: 8px;
		width: 100%;
	}
	.jw-orderby,
	.jw-orderby .woocommerce-ordering,
	.jw-orderby select.orderby {
		width: 100%;
		min-width: 0;
	}
}

/* 6. Card actions: keep both buttons inside the card */
.jw-card-actions {
	flex-wrap: nowrap;
}
.jw-card-actions .jw-btn-outline {
	flex: 1 1 auto;
	min-width: 0;
}
.jw-btn-cart {
	flex: 0 0 auto;
}

/* 7. Wishlist heart: keep inside the rounded corner on narrow cards */
@media (max-width: 480px) {
	.jw-wishlist { top: 8px; right: 8px; }
	.jw-card-badges { top: 8px; left: 8px; }
	.jw-container { padding: 0 14px; }
	.jw-shop ul.products { gap: 14px; }
}

/* 8. Banner buttons: wrap instead of pushing wide */
.jw-banner-actions .jw-btn {
	flex: 1 1 auto;
	min-width: 140px;
}

/* 9. Room for your fixed bottom nav so the last section isn't hidden behind it */
@media (max-width: 900px) {
	.jw-shop { padding-bottom: 72px; }
}