/* Cards Hobby Store — Main stylesheet */

:root {
	--chs-red: #e63946;
	--chs-red-dark: #c1121f;
	--chs-yellow: #ffd60a;
	--chs-dark: #1a1a2e;
	--chs-navy: #030d1f;
	--chs-gray-100: #f5f6f8;
	--chs-gray-200: #e8eaed;
	--chs-gray-500: #6b7280;
	--chs-white: #ffffff;
	--chs-radius: 12px;
	--chs-radius-sm: 8px;
	--chs-shadow: 0 4px 20px rgba(3, 13, 31, 0.08);
	--chs-container: 1280px;
	--chs-font: 'Inter', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

body {
	margin: 0;
	font-family: var(--chs-font);
	color: var(--chs-navy);
	background: var(--chs-gray-100);
	line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.chs-container {
	width: min(100% - 2rem, var(--chs-container));
	margin-inline: auto;
}

/* Top bar */
.chs-topbar {
	background: var(--chs-red);
	color: var(--chs-white);
	font-size: 0.8125rem;
	font-weight: 600;
}

.chs-topbar__inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.5rem 0;
	gap: 1rem;
}

.chs-topbar p { margin: 0; }
.chs-topbar__shipping { opacity: 0.9; white-space: nowrap; }

/* Header */
.chs-header {
	background: var(--chs-white);
	box-shadow: var(--chs-shadow);
	position: sticky;
	top: 0;
	z-index: 100;
}

.chs-header__main {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 1.5rem;
	padding: 1rem 0;
}

.chs-header__brand {
	display: flex;
	align-items: center;
	min-width: 0;
}

.chs-header__brand .custom-logo-link {
	display: flex;
	align-items: center;
	line-height: 0;
}

.chs-header__brand .custom-logo {
	display: block;
	max-height: 56px;
	width: auto;
	max-width: 200px;
	height: auto;
	object-fit: contain;
}

.chs-logo {
	display: flex;
	align-items: center;
	gap: 0.625rem;
	font-weight: 800;
	font-size: 1.125rem;
	color: var(--chs-navy);
}

.chs-logo__icon {
	font-size: 1.75rem;
	background: linear-gradient(135deg, var(--chs-red), var(--chs-yellow));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.chs-logo__tld { color: var(--chs-red); }

.chs-search-form {
	display: flex;
	align-items: center;
	background: var(--chs-gray-100);
	border-radius: 999px;
	padding: 0.25rem 0.25rem 0.25rem 1rem;
	border: 2px solid transparent;
	transition: border-color 0.2s;
}

.chs-search-form:focus-within {
	border-color: var(--chs-red);
	background: var(--chs-white);
}

.chs-search-form__input {
	flex: 1;
	border: 0;
	background: transparent;
	font-size: 0.9375rem;
	padding: 0.625rem 0;
	outline: none;
	min-width: 0;
}

.chs-search-form__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 50%;
	background: var(--chs-red);
	color: var(--chs-white);
	cursor: pointer;
}

.chs-header__actions {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.chs-header__langs {
	display: flex;
	align-items: center;
	position: relative;
	margin-left: 0.15rem;
	flex-shrink: 0;
}

.chs-lang-toggle {
	display: none;
	align-items: center;
	gap: 0.3rem;
	padding: 0.35rem 0.45rem;
	border: 1px solid rgba(15, 23, 42, 0.12);
	border-radius: 999px;
	background: var(--chs-white);
	color: var(--chs-navy);
	cursor: pointer;
}

.chs-lang-toggle:hover {
	background: var(--chs-gray-100);
}

.chs-lang-toggle__flag {
	display: inline-flex;
	width: 22px;
	height: 16px;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.chs-lang-toggle__flag img {
	width: 22px !important;
	height: 16px !important;
	max-width: none !important;
	border-radius: 2px;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
	display: block;
	object-fit: cover;
}

.chs-lang-toggle__chevron {
	width: 0;
	height: 0;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 5px solid currentColor;
	transition: transform 0.2s;
	flex-shrink: 0;
}

.chs-header__langs.is-open .chs-lang-toggle__chevron {
	transform: rotate(180deg);
}

.chs-lang-panel {
	display: flex;
	align-items: center;
}

.chs-lang-panel .gtranslate_wrapper {
	display: flex !important;
	flex-direction: row;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: nowrap;
	gap: 0.4rem;
	line-height: 0;
}

.chs-lang-panel .gtranslate_wrapper a.glink {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 22px;
	height: 16px;
	line-height: 0;
	text-decoration: none;
}

.chs-lang-panel .gtranslate_wrapper a.glink img {
	width: 22px !important;
	height: 16px !important;
	max-width: none !important;
	border-radius: 2px;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
	display: block !important;
	object-fit: cover;
	margin: 0 !important;
	padding: 0 !important;
	opacity: 1 !important;
	vertical-align: middle;
}

.chs-header__action {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	color: var(--chs-navy);
	transition: background 0.2s;
	position: relative;
}

.chs-header__action:hover { background: var(--chs-gray-100); }

.chs-header__cart-count {
	position: absolute;
	top: 2px;
	right: 2px;
	min-width: 18px;
	height: 18px;
	padding: 0 4px;
	border-radius: 999px;
	background: var(--chs-red);
	color: var(--chs-white);
	font-size: 0.6875rem;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
}

.chs-header__cart.chs-cart--pulse {
	animation: chs-cart-bounce 0.65s ease;
}

.chs-header__cart-count.chs-cart-count--pulse {
	animation: chs-cart-count-pop 0.65s ease;
}

@keyframes chs-cart-bounce {
	0% { transform: scale(1); }
	25% { transform: scale(1.18); }
	50% { transform: scale(0.94); }
	75% { transform: scale(1.08); }
	100% { transform: scale(1); }
}

@keyframes chs-cart-count-pop {
	0% { transform: scale(1); }
	30% { transform: scale(1.35); }
	100% { transform: scale(1); }
}

/* Hide WooCommerce default "Visualizza carrello" link under the button */
.woocommerce a.added_to_cart,
.chs-product-card a.added_to_cart,
li.product a.added_to_cart {
	display: none !important;
}

.woocommerce ul.products li.product .button.chs-adding,
.chs-product-card .button.chs-adding,
.single_add_to_cart_button.chs-adding {
	opacity: 0.72;
	pointer-events: none;
	transform: scale(0.985);
	transition: transform 0.18s ease, opacity 0.18s ease;
}

.woocommerce ul.products li.product .button.chs-added,
.chs-product-card .button.chs-added,
.single_add_to_cart_button.chs-added {
	background: #0f5132 !important;
	box-shadow: 0 0 0 2px rgba(15, 81, 50, 0.18);
	animation: chs-btn-added 0.4s ease;
}

.woocommerce ul.products li.product .button.chs-added::before,
.chs-product-card .button.chs-added::before,
.single_add_to_cart_button.chs-added::before {
	content: '✓';
	display: inline-block;
	margin-right: 0.4rem;
	font-weight: 700;
}

@keyframes chs-btn-added {
	0% { transform: scale(1); }
	45% { transform: scale(1.03); }
	100% { transform: scale(1); }
}

/* Toast notification */
.chs-cart-toast {
	position: fixed;
	left: 50%;
	bottom: 1.5rem;
	z-index: 9999;
	width: min(calc(100% - 1.5rem), 420px);
	transform: translateX(-50%) translateY(1.25rem);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.28s ease, transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.chs-cart-toast.is-visible {
	opacity: 1;
	transform: translateX(-50%) translateY(0);
	pointer-events: auto;
}

.chs-cart-toast__inner {
	display: grid;
	grid-template-columns: auto 1fr auto auto;
	align-items: center;
	gap: 0.75rem;
	padding: 0.85rem 0.9rem;
	background: var(--chs-navy);
	color: var(--chs-white);
	border-radius: var(--chs-radius);
	box-shadow: 0 16px 40px rgba(3, 13, 31, 0.28);
}

.chs-cart-toast__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	color: #7ddea5;
	flex-shrink: 0;
}

.chs-cart-toast__copy {
	min-width: 0;
}

.chs-cart-toast__title {
	margin: 0;
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.25;
}

.chs-cart-toast__product {
	margin: 0.15rem 0 0;
	font-size: 0.75rem;
	opacity: 0.72;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.chs-cart-toast__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.45rem 0.75rem;
	border-radius: var(--chs-radius-sm);
	background: var(--chs-red);
	color: var(--chs-white) !important;
	font-size: 0.75rem;
	font-weight: 700;
	white-space: nowrap;
	transition: background 0.15s ease;
}

.chs-cart-toast__cta:hover {
	background: var(--chs-red-dark);
}

.chs-cart-toast__close {
	appearance: none;
	border: 0;
	background: transparent;
	color: rgba(255, 255, 255, 0.7);
	font-size: 1.25rem;
	line-height: 1;
	cursor: pointer;
	padding: 0.15rem;
}

.chs-cart-toast__close:hover {
	color: #fff;
}

.chs-cart-toast__progress {
	height: 3px;
	margin-top: -3px;
	border-radius: 0 0 var(--chs-radius) var(--chs-radius);
	background: var(--chs-red);
	transform-origin: left center;
	transform: scaleX(0);
}

.chs-cart-toast.is-visible .chs-cart-toast__progress {
	animation: chs-toast-progress 4.2s linear forwards;
}

@keyframes chs-toast-progress {
	from { transform: scaleX(1); }
	to { transform: scaleX(0); }
}

@media (prefers-reduced-motion: reduce) {
	.chs-header__cart.chs-cart--pulse,
	.chs-header__cart-count.chs-cart-count--pulse,
	.woocommerce ul.products li.product .button.chs-added,
	.chs-product-card .button.chs-added,
	.single_add_to_cart_button.chs-added,
	.chs-cart-toast,
	.chs-cart-toast.is-visible .chs-cart-toast__progress {
		animation: none !important;
		transition: none !important;
	}

	.chs-cart-toast {
		transform: translateX(-50%);
	}
}

/* Navigation */
.chs-nav {
	background: var(--chs-dark);
}

.chs-nav__toggle {
	display: none;
	background: none;
	border: 0;
	padding: 0.5rem;
	cursor: pointer;
}

.chs-nav__toggle span {
	display: block;
	width: 22px;
	height: 2px;
	background: var(--chs-white);
	margin: 5px 0;
}

.chs-nav__list {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 0.25rem;
}

.chs-nav__list a {
	display: flex;
	align-items: center;
	gap: 0.375rem;
	padding: 0.875rem 1rem;
	color: var(--chs-white);
	font-size: 0.875rem;
	font-weight: 600;
	border-radius: var(--chs-radius-sm);
	transition: background 0.2s;
}

.chs-nav__list a:hover { background: rgba(255,255,255,0.1); }
.chs-nav__icon { font-size: 1rem; }

/* Hero */
.chs-hero {
	padding: 1.5rem 0;
}

.chs-hero__grid {
	display: grid;
	grid-template-columns: 1fr 280px;
	gap: 1rem;
}

.chs-hero__slider {
	position: relative;
	border-radius: var(--chs-radius);
	overflow: hidden;
	min-height: 380px;
}

.chs-hero-slide {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: flex-end;
	padding: 2.5rem;
	opacity: 0;
	transition: opacity 0.5s;
	pointer-events: none;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.chs-hero-slide::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(10, 10, 26, 0.82) 0%, rgba(10, 10, 26, 0.45) 55%, rgba(10, 10, 26, 0.25) 100%);
	z-index: 0;
}

.chs-hero-slide--welcome::before {
	background: linear-gradient(135deg, rgba(26, 5, 5, 0.85) 0%, rgba(139, 0, 0, 0.45) 60%, rgba(26, 5, 5, 0.3) 100%);
}

.chs-hero-slide--pokemon::before {
	background: linear-gradient(135deg, rgba(26, 5, 5, 0.82) 0%, rgba(139, 0, 0, 0.5) 55%, rgba(26, 5, 5, 0.25) 100%);
}

.chs-hero-slide--accessori::before {
	background: linear-gradient(135deg, rgba(10, 22, 40, 0.85) 0%, rgba(30, 58, 95, 0.5) 55%, rgba(10, 22, 40, 0.25) 100%);
}

.chs-hero-slide.is-active {
	opacity: 1;
	pointer-events: auto;
}

.chs-hero-slide--magic {
	background-color: #1a1a4e;
}

.chs-hero-slide--onepiece {
	background-color: #1e3a8a;
}

.chs-hero-slide__content {
	max-width: 480px;
	color: var(--chs-white);
	position: relative;
	z-index: 1;
}

.chs-hero-slide__content h2 {
	margin: 0 0 0.5rem;
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 800;
}

.chs-hero-slide__content p {
	margin: 0 0 1.25rem;
	opacity: 0.9;
}

.chs-hero__dots {
	position: absolute;
	bottom: 1rem;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 0.5rem;
}

.chs-hero__dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	border: 0;
	background: rgba(255,255,255,0.4);
	cursor: pointer;
	padding: 0;
}

.chs-hero__dot.is-active { background: var(--chs-white); }

.chs-hero__side {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.chs-side-banner {
	flex: 1;
	border-radius: var(--chs-radius);
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	color: var(--chs-white);
	min-height: 180px;
	transition: transform 0.2s;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	position: relative;
	overflow: hidden;
}

.chs-side-banner::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
}

.chs-side-banner > * {
	position: relative;
	z-index: 1;
}

.chs-side-banner:hover { transform: translateY(-2px); }

.chs-side-banner--pokemon::before {
	background: linear-gradient(160deg, rgba(220, 38, 38, 0.88) 0%, rgba(153, 27, 27, 0.72) 100%);
}

.chs-side-banner--accessori::before,
.chs-side-banner--onepiece::before {
	background: linear-gradient(160deg, rgba(30, 64, 175, 0.88) 0%, rgba(30, 58, 138, 0.72) 100%);
}

.chs-side-banner__label {
	font-weight: 800;
	font-size: 1.125rem;
}

.chs-side-banner__cta {
	font-size: 0.875rem;
	opacity: 0.9;
	margin-top: 0.25rem;
}

/* Buttons */
.chs-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.75rem 1.5rem;
	border-radius: 999px;
	font-weight: 700;
	font-size: 0.875rem;
	border: 0;
	cursor: pointer;
	transition: transform 0.2s, background 0.2s;
}

.chs-btn--primary {
	background: var(--chs-yellow);
	color: var(--chs-navy);
}

.chs-btn--primary:hover { transform: scale(1.02); background: #ffed4e; }

/* Sections */
.chs-section {
	padding: 2.5rem 0;
}

.chs-section__header {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	margin-bottom: 1.5rem;
	gap: 1rem;
}

.chs-section__header h2 {
	margin: 0;
	font-size: 1.5rem;
	font-weight: 800;
}

.chs-section__header p {
	margin: 0.25rem 0 0;
	color: var(--chs-gray-500);
}

.chs-link {
	font-weight: 600;
	color: var(--chs-red);
	white-space: nowrap;
}

.chs-link:hover { text-decoration: underline; }

/* Product grid */
.chs-products,
.woocommerce ul.products {
	display: grid !important;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.25rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.chs-product-card,
.woocommerce ul.products li.product {
	background: var(--chs-white);
	border-radius: var(--chs-radius);
	overflow: hidden;
	box-shadow: var(--chs-shadow);
	transition: transform 0.2s;
	margin: 0 !important;
	width: 100% !important;
}

.chs-product-card:hover,
.woocommerce ul.products li.product:hover {
	transform: translateY(-4px);
}

.chs-product-badges {
	position: absolute;
	top: 0.75rem;
	left: 0.75rem;
	display: flex;
	flex-direction: column;
	gap: 0.375rem;
	z-index: 2;
}

.chs-badge {
	padding: 0.25rem 0.625rem;
	border-radius: 999px;
	font-size: 0.6875rem;
	font-weight: 700;
	text-transform: uppercase;
}

.chs-badge--sale { background: var(--chs-red); color: var(--chs-white); }
.chs-badge--preorder { background: var(--chs-yellow); color: var(--chs-navy); }

.woocommerce ul.products li.product .woocommerce-loop-product__link,
.chs-product-card .woocommerce-loop-product__link {
	display: block;
	position: relative;
	padding: 1rem;
}

.woocommerce ul.products li.product img,
.chs-product-card img {
	margin: 0 auto 0.75rem;
	border-radius: var(--chs-radius-sm);
	aspect-ratio: 1;
	object-fit: contain;
	background: var(--chs-gray-100);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.chs-product-card .woocommerce-loop-product__title {
	font-size: 0.875rem !important;
	font-weight: 600;
	padding: 0 1rem;
	margin: 0 0 0.5rem;
	color: var(--chs-navy);
}

.woocommerce ul.products li.product .price,
.chs-product-card .price {
	padding: 0 1rem;
	font-weight: 700;
	color: var(--chs-red);
}

.woocommerce ul.products li.product .button,
.chs-product-card .button {
	display: block;
	margin: 0.75rem 1rem 1rem;
	text-align: center;
	background: var(--chs-dark) !important;
	color: var(--chs-white) !important;
	border-radius: 999px !important;
	padding: 0.625rem 1rem !important;
	font-weight: 600 !important;
	font-size: 0.8125rem !important;
}

.woocommerce ul.products li.product .button:hover {
	background: var(--chs-red) !important;
}

/* FAQ */
.chs-faq {
	padding: 3rem 0 4rem;
}

.chs-faq h2 {
	text-align: center;
	margin-bottom: 2rem;
	font-size: 1.75rem;
}

.chs-faq__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1rem;
}

.chs-faq details {
	background: var(--chs-white);
	border-radius: var(--chs-radius);
	padding: 1rem 1.25rem;
	box-shadow: var(--chs-shadow);
}

.chs-faq summary {
	font-weight: 700;
	cursor: pointer;
}

.chs-faq p {
	margin: 0.75rem 0 0;
	color: var(--chs-gray-500);
	font-size: 0.9375rem;
}

/* Footer */
.chs-footer {
	background: var(--chs-navy);
	color: var(--chs-white);
	padding: 3rem 0 1.5rem;
	margin-top: 2rem;
}

.chs-footer__grid {
	display: grid;
	grid-template-columns: 1.2fr 1fr 1fr;
	gap: 2rem;
	margin-bottom: 2rem;
}

.chs-footer__brand p {
	opacity: 0.7;
	font-size: 0.9375rem;
	margin-top: 0.75rem;
}

.chs-footer__legal-entity {
	opacity: 0.75;
	font-size: 0.8125rem !important;
	line-height: 1.55;
}

.chs-footer__social {
	display: flex !important;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	list-style: none !important;
	margin: 1.15rem 0 0;
	padding: 0;
}

.chs-footer__social > li {
	list-style: none !important;
	margin: 0;
	padding: 0;
}

.chs-footer__social-link {
	display: inline-flex !important;
	align-items: center;
	gap: 0.45rem;
	padding: 0.2rem 0.65rem 0.2rem 0.2rem;
	border-radius: 999px;
	background: #e63946;
	color: #fff !important;
	font-size: 0.8rem;
	font-weight: 700;
	text-decoration: none !important;
	line-height: 1;
	box-shadow: 0 2px 8px rgba(230, 57, 70, 0.35);
}

.chs-footer__social-link:hover {
	background: #c1121f;
	color: #fff !important;
}

.chs-footer__social-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.18);
	flex-shrink: 0;
}

.chs-footer__social-icon svg {
	display: block;
	width: 1.05rem;
	height: 1.05rem;
}

.chs-footer__social-label {
	color: #fff !important;
	white-space: nowrap;
	padding-right: 0.15rem;
}

.chs-logo--footer { color: var(--chs-white); }

.chs-footer__features {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.chs-feature {
	background: rgba(255,255,255,0.06);
	border-radius: var(--chs-radius-sm);
	padding: 0.875rem 1rem;
}

.chs-feature strong {
	display: block;
	font-size: 0.75rem;
	text-transform: uppercase;
	opacity: 0.6;
}

.chs-feature span {
	font-weight: 700;
	font-size: 1rem;
}

.chs-feature small {
	display: block;
	opacity: 0.6;
	font-size: 0.8125rem;
}

.chs-footer-widget__title {
	margin: 0 0 0.75rem;
	font-size: 0.9375rem;
}

.chs-footer-widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.chs-footer-widget li { margin-bottom: 0.375rem; }

.chs-footer-widget a {
	opacity: 0.75;
	font-size: 0.875rem;
}

.chs-footer-widget a:hover { opacity: 1; }

.chs-footer__bottom {
	border-top: 1px solid rgba(255,255,255,0.1);
	padding-top: 1.5rem;
	text-align: center;
	opacity: 0.6;
	font-size: 0.8125rem;
}

/* Shop / content */
.chs-shop { padding: 2rem 0 3rem; }
.chs-shop__title { margin: 0 0 1.5rem; font-size: 2rem; }
.chs-content { padding: 2rem 0 3rem; }
.chs-article__content { line-height: 1.7; }
.chs-article__content h2,
.chs-article__content h3 { margin: 1.5rem 0 0.75rem; }
.chs-article__content ul,
.chs-article__content ol { margin: 0.75rem 0 1rem 1.25rem; }
.chs-article__content li + li { margin-top: 0.35rem; }
.chs-article__content p + p { margin-top: 0.75rem; }
.chs-empty { text-align: center; color: var(--chs-gray-500); padding: 2rem; }

/* WooCommerce single product */
.woocommerce div.product {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
	padding: 2rem 0;
}

.woocommerce div.product .product_title {
	font-size: 1.75rem;
	font-weight: 800;
}

.woocommerce div.product p.price {
	font-size: 1.5rem;
	color: var(--chs-red);
	font-weight: 700;
}

.woocommerce div.product form.cart .button {
	background: var(--chs-red) !important;
	border-radius: 999px !important;
	padding: 0.875rem 2rem !important;
	font-weight: 700 !important;
}

/* Responsive */
@media (max-width: 1024px) {
	.chs-hero__grid { grid-template-columns: 1fr; }
	.chs-hero__side { flex-direction: row; }
	.chs-products, .woocommerce ul.products { grid-template-columns: repeat(3, 1fr); }
	.chs-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
	/* Topbar più sottile: solo messaggio spedizione */
	.chs-topbar {
		font-size: 0.7rem;
	}
	.chs-topbar__inner {
		flex-direction: row;
		justify-content: center;
		padding: 0.28rem 0;
		gap: 0.5rem;
	}
	.chs-topbar__inner > p:first-child {
		display: none;
	}

	/* Sticky header: UNA sola riga compatta */
	.chs-header__main {
		grid-template-columns: auto minmax(0, 1fr) auto;
		gap: 0.45rem;
		padding: 0.4rem 0;
	}
	.chs-header__search {
		grid-column: auto;
		order: 0;
		min-width: 0;
	}
	.chs-header__brand .custom-logo {
		max-height: 34px;
		max-width: 110px;
	}
	.chs-logo {
		font-size: 0.85rem;
		gap: 0.3rem;
	}
	.chs-logo__icon {
		font-size: 1.2rem;
	}
	.chs-search-form {
		padding: 0.1rem 0.1rem 0.1rem 0.65rem;
	}
	.chs-search-form__input {
		padding: 0.4rem 0;
		font-size: 0.8125rem;
	}
	.chs-search-form__btn {
		width: 2rem;
		height: 2rem;
	}
	.chs-search-form__btn svg {
		width: 16px;
		height: 16px;
	}
	.chs-header__actions {
		gap: 0.2rem;
	}
	.chs-header__action {
		width: 2.1rem;
		height: 2.1rem;
	}
	.chs-header__action svg {
		width: 17px;
		height: 17px;
	}
	.chs-header__cart-count {
		width: 1rem;
		height: 1rem;
		font-size: 0.6rem;
		top: -2px;
		right: -2px;
	}
	/* Wishlist nascosta su mobile per liberare spazio */
	.chs-header__action--wishlist {
		display: none;
	}

	.chs-lang-toggle {
		display: inline-flex;
		padding: 0.25rem 0.35rem;
	}
	.chs-lang-panel {
		display: none;
		position: absolute;
		top: calc(100% + 8px);
		right: 0;
		left: auto;
		z-index: 50;
		min-width: max-content;
		padding: 0.55rem 0.65rem;
		border-radius: 12px;
		background: var(--chs-white);
		box-shadow: 0 10px 28px rgba(15, 23, 42, 0.18);
	}
	.chs-header__langs.is-open .chs-lang-panel {
		display: block;
	}
	.chs-lang-panel .gtranslate_wrapper {
		gap: 0.45rem;
		justify-content: flex-end;
	}
	.chs-lang-panel .gtranslate_wrapper a.glink {
		width: 24px;
		height: 18px;
	}
	.chs-lang-panel .gtranslate_wrapper a.glink img {
		width: 24px !important;
		height: 18px !important;
	}

	/* Nav sticky sottile: solo hamburger finché chiuso */
	.chs-nav .chs-container {
		display: flex;
		align-items: center;
		gap: 0.5rem;
		min-height: 2.25rem;
		padding-top: 0.15rem;
		padding-bottom: 0.15rem;
	}
	.chs-nav__toggle {
		display: block;
		padding: 0.35rem;
		margin-left: auto;
	}
	.chs-nav__toggle span {
		margin: 4px 0;
	}
	.chs-nav__list {
		display: none;
		flex-direction: column;
		width: 100%;
		padding-bottom: 0.5rem;
	}
	.chs-nav__list.is-open {
		display: flex;
	}
	.chs-nav__list a {
		padding: 0.65rem 0.75rem;
	}

	.chs-products, .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); }
	.chs-faq__grid { grid-template-columns: 1fr; }
	.chs-footer__grid { grid-template-columns: 1fr; }
	.woocommerce div.product { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
	.chs-products, .woocommerce ul.products { grid-template-columns: 1fr; }
	.chs-hero__side { flex-direction: column; }
	/* Su schermi stretti nascondi anche account: restano cerca, carrello, lingue, menu */
	.chs-header__action--account {
		display: none;
	}
	.chs-header__brand .custom-logo {
		max-height: 30px;
		max-width: 96px;
	}
}

.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}
