/* ==========================================================================
   Lezzivo — Premium WooCommerce Theme
   ========================================================================== */

:root {
	--color-primary: #a1272b;
	--color-primary-dark: #7a1d20;
	--color-accent: #e85d04;
	--color-gold: #c4a035;
	--color-bg: #faf8f5;
	--color-surface: #ffffff;
	--color-text: #1a1a1a;
	--color-muted: #6b6b6b;
	--color-border: #e8e4de;
	--color-sale: #d62828;
	--font-sans: "DM Sans", system-ui, sans-serif;
	--font-display: "Playfair Display", Georgia, serif;
	--radius: 12px;
	--radius-sm: 8px;
	--shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
	--shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.1);
	--container: 1280px;
	--header-height: 72px;
	--transition: 0.2s ease;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--font-sans);
	font-size: 16px;
	line-height: 1.6;
	color: var(--color-text);
	background: var(--color-bg);
	-webkit-font-smoothing: antialiased;
}

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

a { color: var(--color-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-accent); }

.container {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 20px;
}

.container--narrow { max-width: 800px; }

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 24px;
	font-family: var(--font-sans);
	font-size: 14px;
	font-weight: 600;
	border: none;
	border-radius: var(--radius-sm);
	cursor: pointer;
	transition: all var(--transition);
	text-decoration: none;
}

.btn--primary {
	background: var(--color-primary);
	color: #fff;
}
.btn--primary:hover {
	background: var(--color-primary-dark);
	color: #fff;
	transform: translateY(-1px);
}

.btn--white {
	background: #fff;
	color: var(--color-primary);
}
.btn--white:hover { background: #f0f0f0; color: var(--color-primary-dark); }

.btn--ghost {
	background: transparent;
	color: var(--color-primary);
	border: 1px solid var(--color-border);
}
.btn--ghost:hover { border-color: var(--color-primary); }

.btn--sm { padding: 8px 16px; font-size: 13px; }
.btn--lg { padding: 16px 36px; font-size: 16px; }
.btn--block { width: 100%; }

/* Announcement bar */
.announcement-bar {
	background: var(--color-primary-dark);
	color: #fff;
	overflow: hidden;
	font-size: 13px;
	font-weight: 500;
}

.announcement-bar__track {
	display: flex;
	gap: 48px;
	padding: 10px 0;
	animation: marquee 30s linear infinite;
	white-space: nowrap;
}

.announcement-bar__item::before { content: "•"; margin-right: 48px; opacity: 0.5; }

@keyframes marquee {
	0% { transform: translateX(0); }
	100% { transform: translateX(-50%); }
}

/* Header */
.site-header {
	background: var(--color-surface);
	position: sticky;
	top: 0;
	z-index: 100;
	box-shadow: 0 1px 0 var(--color-border);
}

.header-top {
	background: #f5f3ef;
	border-bottom: 1px solid var(--color-border);
	font-size: 13px;
}

.header-top__inner {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 8px 20px;
	flex-wrap: wrap;
}

.pincode-form {
	display: flex;
	align-items: center;
	gap: 8px;
	flex: 1;
	min-width: 200px;
}

.pincode-form input {
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
	padding: 6px 12px;
	font-size: 13px;
	width: 160px;
	background: #fff;
}

.pincode-result {
	margin: 0;
	font-size: 12px;
	color: var(--color-primary);
	flex: 1;
}

.header-top__links {
	display: flex;
	gap: 20px;
	margin-left: auto;
}

.header-link { color: var(--color-muted); font-weight: 500; }
.header-link:hover { color: var(--color-primary); }

.header-main__inner {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 24px;
	padding: 16px 20px;
	min-height: var(--header-height);
}

.site-branding .custom-logo { max-height: 48px; width: auto; }

.site-title {
	font-family: var(--font-display);
	font-size: 28px;
	font-weight: 700;
	color: var(--color-primary);
}

.header-search-wrap {
	position: relative;
	max-width: 480px;
	width: 100%;
	margin: 0 auto;
}

.header-search {
	display: flex;
	background: var(--color-bg);
	border: 1px solid var(--color-border);
	border-radius: 999px;
	overflow: hidden;
	width: 100%;
}

.header-search input {
	flex: 1;
	border: none;
	background: transparent;
	padding: 12px 20px;
	font-size: 14px;
	outline: none;
}

.header-search button {
	border: none;
	background: transparent;
	padding: 0 16px;
	cursor: pointer;
	font-size: 16px;
}

.header-actions {
	display: flex;
	gap: 8px;
}

.header-action {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	padding: 8px 12px;
	background: none;
	border: none;
	margin: 0;
	cursor: pointer;
	color: var(--color-text);
	font-size: 11px;
	font-weight: 500;
	font-family: inherit;
	line-height: 1.4;
	text-align: center;
	appearance: none;
	-webkit-appearance: none;
	position: relative;
	text-decoration: none;
}

.header-action__icon { font-size: 20px; }

.lezzivo-cart-count {
	position: absolute;
	top: 2px;
	right: 4px;
	background: var(--color-accent);
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	min-width: 18px;
	height: 18px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Navigation */
.main-navigation {
	border-top: 1px solid var(--color-border);
	background: var(--color-surface);
}

.nav-menu {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 4px;
}

.nav-menu > li {
	position: relative;
}

.nav-menu > li > a {
	display: block;
	padding: 14px 20px;
	font-size: 14px;
	font-weight: 600;
	color: var(--color-text);
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a {
	color: var(--color-primary);
	border-bottom: 2px solid var(--color-primary);
}

.menu-toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: none;
	padding: 8px;
	cursor: pointer;
}

.menu-toggle span {
	display: block;
	width: 22px;
	height: 2px;
	background: var(--color-text);
	transition: var(--transition);
}

/* Homepage banner slider */
.banner-slider {
	position: relative;
	overflow: hidden;
}

.banner-slider__track {
	position: relative;
	height: 420px;
}

.banner-slide {
	position: absolute;
	inset: 0;
	display: block;
	background-size: cover;
	background-position: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.6s ease;
}

.banner-slide.is-active {
	opacity: 1;
	visibility: visible;
}

.banner-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.banner-slider__dots {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 20px;
	z-index: 2;
	display: flex;
	justify-content: center;
	gap: 8px;
}

.banner-slider__dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	border: 2px solid #fff;
	background: transparent;
	padding: 0;
	cursor: pointer;
	opacity: 0.7;
	transition: all var(--transition);
}

.banner-slider__dot.is-active {
	background: #fff;
	opacity: 1;
}

/* Trust badges */
.trust-badges {
	background: var(--color-surface);
	padding: 32px 0;
	border-bottom: 1px solid var(--color-border);
}

.trust-badges__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

.trust-badge {
	display: flex;
	align-items: center;
	gap: 14px;
}

.trust-badge__icon {
	font-size: 28px;
	width: 52px;
	height: 52px;
	background: var(--color-bg);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.trust-badge__title {
	display: block;
	font-size: 14px;
	font-weight: 700;
	color: var(--color-text);
}

.trust-badge__desc {
	font-size: 12px;
	color: var(--color-muted);
}

.section-title {
	font-family: var(--font-display);
	font-size: clamp(1.6rem, 3vw, 2rem);
	font-weight: 700;
	margin: 0 0 8px;
	color: var(--color-text);
}

.section-title--center { text-align: center; margin-bottom: 40px; }

.section-subtitle {
	color: var(--color-muted);
	margin: 0;
	font-size: 15px;
}

.section-header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	margin-bottom: 32px;
	gap: 16px;
}

.section-link {
	font-weight: 600;
	font-size: 14px;
	color: var(--color-primary);
	white-space: nowrap;
}

/* Product grid */
.product-section {
	padding: 64px 0;
}

.product-section--bestsellers { background: var(--color-surface); }
.product-section--trending { background: var(--color-bg); }

.product-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

.product-grid ul.products {
	display: contents;
	list-style: none;
	margin: 0;
	padding: 0;
}

/* Product card */
.product-card {
	background: var(--color-surface);
	border-radius: var(--radius);
	border: 1px solid var(--color-border);
	overflow: hidden;
	transition: all var(--transition);
	display: flex;
	flex-direction: column;
}

.product-card:hover {
	box-shadow: var(--shadow-lg);
	border-color: transparent;
	transform: translateY(-4px);
}

.product-card__media {
	position: relative;
	aspect-ratio: 1;
	overflow: hidden;
	background: var(--color-bg);
}

.product-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.product-card:hover .product-card__img { transform: scale(1.05); }

.product-card__placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #e8e4de, #f5f3ef);
}

.sale-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	background: var(--color-sale);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	padding: 4px 10px;
	border-radius: 4px;
	z-index: 1;
}

.product-card__body {
	padding: 16px;
	display: flex;
	flex-direction: column;
	flex: 1;
	gap: 8px;
}

.product-card__cat {
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--color-muted);
}

.product-card__title {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	margin: 0;
	flex: 1;
}

.product-card__title a { color: var(--color-text); }
.product-card__title a:hover { color: var(--color-primary); }

.product-rating {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
}

.product-rating .star { color: #ddd; }
.product-rating .star.filled { color: var(--color-gold); }
.product-rating .count { color: var(--color-muted); }

.product-card__price {
	font-size: 16px;
	font-weight: 700;
	color: var(--color-primary);
}

.product-card__price del {
	color: var(--color-muted);
	font-weight: 400;
	font-size: 13px;
	margin-right: 6px;
}

.product-card__atc {
	margin-top: auto;
	width: 100%;
	text-align: center;
	background: var(--color-primary) !important;
	color: #fff !important;
	border-radius: var(--radius-sm) !important;
	padding: 10px !important;
	font-size: 13px !important;
	font-weight: 600 !important;
}

.product-card__atc:hover { background: var(--color-primary-dark) !important; }

/* CTA banners */
.cta-banner {
	padding: 48px 0;
}

.cta-banner--gold {
	background: linear-gradient(135deg, #c4a035, #e8c547);
	color: #1a1a1a;
}

.cta-banner--green {
	background: linear-gradient(135deg, var(--color-primary), #c94d43);
	color: #fff;
}

.cta-banner__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.cta-banner h2 {
	font-family: var(--font-display);
	font-size: clamp(1.4rem, 3vw, 2rem);
	margin: 0 0 8px;
}

.cta-banner p { margin: 0; opacity: 0.9; }

/* Reviews */
.reviews-section {
	padding: 64px 0;
	background: var(--color-surface);
}

.reviews-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
}

.review-card {
	background: var(--color-bg);
	border-radius: var(--radius);
	padding: 32px;
	margin: 0;
	border: 1px solid var(--color-border);
}

.review-card__stars {
	color: var(--color-gold);
	font-size: 18px;
	margin-bottom: 16px;
}

.review-card p {
	font-size: 15px;
	line-height: 1.7;
	margin: 0 0 16px;
	font-style: italic;
}

.review-card cite {
	font-style: normal;
	font-weight: 600;
	font-size: 14px;
	color: var(--color-primary);
}

/* Cart drawer */
.cart-drawer {
	position: fixed;
	inset: 0;
	z-index: 200;
	pointer-events: none;
}

.cart-drawer.is-open { pointer-events: auto; }

.cart-drawer__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
	opacity: 0;
	transition: opacity var(--transition);
}

.cart-drawer.is-open .cart-drawer__overlay { opacity: 1; }

.cart-drawer__panel {
	position: absolute;
	top: 0;
	right: 0;
	width: 100%;
	max-width: 420px;
	height: 100%;
	background: var(--color-surface);
	display: flex;
	flex-direction: column;
	transform: translateX(100%);
	transition: transform 0.3s ease;
	box-shadow: var(--shadow-lg);
}

.cart-drawer.is-open .cart-drawer__panel { transform: translateX(0); }

.cart-drawer__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px 24px;
	border-bottom: 1px solid var(--color-border);
}

.cart-drawer__header h2 {
	font-size: 18px;
	margin: 0;
	display: flex;
	align-items: center;
	gap: 8px;
}

.cart-drawer__close {
	background: none;
	border: none;
	font-size: 20px;
	cursor: pointer;
	padding: 4px;
	color: var(--color-muted);
}

.cart-drawer__body {
	flex: 1;
	overflow-y: auto;
	padding: 20px 24px;
}

.cart-drawer__footer {
	padding: 20px 24px;
	border-top: 1px solid var(--color-border);
}

.cart-drawer__subtotal {
	display: flex;
	justify-content: space-between;
	margin-bottom: 8px;
	font-size: 16px;
}

.cart-drawer__note {
	font-size: 12px;
	color: var(--color-muted);
	margin: 0 0 16px;
}

/* WooCommerce shop
   Same defensive pattern as the single-product section above: fall back to
   `body.woocommerce.archive` (WordPress/WooCommerce core body classes
   present on any shop/category/tag archive) in case something upstream
   bypasses our woocommerce/archive-product.php override. */

/* Our category-hero banner (hooked in via inc/woocommerce-setup.php so it
   renders even when the top-level archive template is bypassed) already
   shows the title — hide whichever default title markup the active
   top-level template prints so it doesn't show twice. */
body.woocommerce.archive .page-title,
body.woocommerce.archive .woocommerce-products-header__title {
	display: none;
}

/* Category hero banner (template-parts/category-hero.php) */
.shop-hero {
	position: relative;
	padding: 56px 0;
	background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
	background-size: cover;
	background-position: center;
	color: #fff;
}

.shop-hero.has-image::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.35);
}

.shop-hero__inner { position: relative; z-index: 1; }

.shop-hero__title {
	font-family: var(--font-display);
	font-size: 2.25rem;
	margin: 0 0 8px;
	color: #fff;
}

.shop-hero__description {
	max-width: 640px;
	opacity: 0.9;
	font-size: 15px;
}

.shop-hero__description p { margin: 0; }

/* Sidebar + main content layout. Defaults to full-width (no empty 260px
   gap) until the Shop Sidebar widget area actually has widgets in it. */
.shop-layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 40px;
	align-items: start;
	padding: 40px 0 64px;
}

.shop-layout:has(.shop-sidebar) {
	grid-template-columns: 260px 1fr;
}

.shop-sidebar .widget {
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	padding: 20px;
	margin-bottom: 20px;
}

.shop-sidebar .widget-title {
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	margin: 0 0 16px;
}

.shop-sidebar ul { list-style: none; margin: 0; padding: 0; }
.shop-sidebar ul li { margin-bottom: 10px; font-size: 14px; }
.shop-sidebar ul li a { color: var(--color-text); }
.shop-sidebar ul li a:hover { color: var(--color-primary); }

/* WooCommerce's own Price Filter widget */
.shop-sidebar .price_slider_amount { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.shop-sidebar .price_slider_amount .button {
	background: var(--color-primary);
	color: #fff;
	border: none;
	border-radius: var(--radius-sm);
	padding: 8px 16px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
}
.shop-sidebar .ui-slider { position: relative; height: 4px; background: var(--color-border); border-radius: 2px; margin: 16px 6px; }
.shop-sidebar .ui-slider-range { position: absolute; height: 4px; background: var(--color-primary); border-radius: 2px; }
.shop-sidebar .ui-slider-handle {
	position: absolute;
	top: 50%;
	width: 16px;
	height: 16px;
	margin-left: -8px;
	transform: translateY(-50%);
	background: var(--color-primary);
	border: 2px solid #fff;
	border-radius: 50%;
	box-shadow: var(--shadow);
	cursor: pointer;
}

/* WooCommerce's Filter by Attribute / Product Categories widgets */
.shop-sidebar .widget_layered_nav ul li,
.shop-sidebar .widget_product_categories ul li { display: flex; align-items: center; justify-content: space-between; }
.shop-sidebar .widget_layered_nav_filters ul { display: flex; flex-wrap: wrap; gap: 8px; }
.shop-sidebar .widget_layered_nav_filters ul li a {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	background: var(--color-bg);
	border-radius: 999px;
	padding: 4px 10px;
	font-size: 12px;
}

.lezzivo-shop-archive .shop-header,
body.woocommerce.archive .shop-header { margin-bottom: 24px; }

.lezzivo-shop-archive .shop-title,
body.woocommerce.archive .shop-title {
	font-family: var(--font-display);
	font-size: 2rem;
	margin: 0;
}

.shop-toolbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 24px;
	font-size: 14px;
	color: var(--color-muted);
}

.lezzivo-shop-archive ul.products,
body.woocommerce.archive ul.products {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	list-style: none;
	margin: 0;
	padding: 0;
}

/* WooCommerce's own stylesheet gives li.product a float-layout width
   (e.g. ~22%) for its default column grid. That width isn't nullified just
   because the parent became a CSS grid, so cards render far narrower than
   their grid track with a big empty gap after each one — same class of bug
   as the .u-column1/.u-column2 and .woocommerce-Address issues fixed
   earlier. Force it to fill its grid cell instead. */
.lezzivo-shop-archive ul.products li.product,
body.woocommerce.archive ul.products li.product {
	width: 100%;
	max-width: none;
	float: none;
	margin: 0;
}

body.woocommerce.archive #primary:not(:has(> .container)) {
	max-width: var(--container);
	margin: 0 auto;
	padding: 40px 20px 64px;
	box-sizing: border-box;
}

.lezzivo-wc-main { padding: 40px 0 64px; }

/* Single product
   Keyed off `body.single-product` (a WordPress core body class present on
   every single product page no matter which template ends up rendering it)
   rather than only our own .lezzivo-single-product wrapper class, so the
   layout still applies even if something upstream (a hosting/caching layer,
   a plugin) ends up bypassing our woocommerce/single-product.php override. */
.lezzivo-single-product { padding: 40px 0 64px; }

body.single-product #primary:not(:has(> .container)) {
	max-width: var(--container);
	margin: 0 auto;
	padding: 40px 20px 64px;
	box-sizing: border-box;
}

.lezzivo-single-product .woocommerce div.product,
body.single-product div.product {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
}

.lezzivo-single-product .woocommerce div.product .woocommerce-product-gallery,
body.single-product .woocommerce-product-gallery {
	display: flex;
	flex-direction: row-reverse;
	align-items: flex-start;
	gap: 16px;
	/* WooCommerce's own woocommerce-layout.css gives div.images (this
	   element) a float-layout width:48%/float:left meant for its default
	   side-by-side (not grid-based) product layout — neutralize it or the
	   gallery renders at roughly half its real available width. */
	width: 100%;
	float: none;
}

/* WooCommerce's flexslider JS wraps .woocommerce-product-gallery__wrapper
   in a .flex-viewport div at runtime — that becomes the real flex item, not
   the wrapper itself, and needs overflow:hidden or the slide track's
   width:1600% (however many slides × 100%, set inline by flexslider)
   inflates its intrinsic size and squeezes the thumbnail column instead of
   being clipped to the visible frame. */
.flex-viewport {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	border-radius: var(--radius);
	background: var(--color-bg);
}

.woocommerce-product-gallery__wrapper {
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--color-bg);
}

.woocommerce-product-gallery__wrapper img { width: 100%; height: auto; display: block; }

.woocommerce-product-gallery__image { position: relative; }
.woocommerce-product-gallery__image:not(:first-child) { display: none; }

.woocommerce-product-gallery__trigger {
	position: absolute;
	top: 16px;
	right: 16px;
	z-index: 2;
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.9);
	border-radius: 50%;
	box-shadow: var(--shadow);
}

.flex-control-thumbs {
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: 84px;
	flex-shrink: 0;
	list-style: none;
	margin: 0;
	padding: 0;
	max-height: 520px;
	overflow-y: auto;
}

.flex-control-thumbs li { margin: 0; }

.flex-control-thumbs img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: var(--radius-sm);
	border: 2px solid transparent;
	cursor: pointer;
	opacity: 0.7;
	transition: all var(--transition);
}

.flex-control-thumbs img:hover { opacity: 1; }
.flex-control-thumbs img.flex-active { border-color: var(--color-primary); opacity: 1; }

.lezzivo-single-product .product_title,
body.single-product .product_title {
	font-family: var(--font-display);
	font-size: 2rem;
	margin-bottom: 12px;
}

.lezzivo-single-product .price,
body.single-product p.price {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--color-primary);
	margin-bottom: 20px;
}

.lezzivo-single-product .single_add_to_cart_button,
body.single-product .single_add_to_cart_button {
	background: var(--color-primary) !important;
	border-radius: var(--radius-sm) !important;
	padding: 14px 32px !important;
	font-weight: 600 !important;
}

/* Footer */
.site-footer {
	background: var(--color-primary-dark);
	color: rgba(255, 255, 255, 0.85);
}

.footer-main { padding: 56px 0; }

.footer-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr;
	gap: 40px;
}

.footer-logo {
	font-family: var(--font-display);
	font-size: 24px;
	font-weight: 700;
	color: #fff;
}

.footer-tagline {
	font-size: 14px;
	opacity: 0.8;
	margin: 16px 0;
}

.footer-social {
	display: flex;
	gap: 16px;
}

.footer-social a {
	color: rgba(255, 255, 255, 0.7);
	font-size: 13px;
	font-weight: 600;
}

.footer-col h4 {
	color: #fff;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin: 0 0 16px;
}

.footer-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-menu li { margin-bottom: 10px; }

.footer-menu a {
	color: rgba(255, 255, 255, 0.7);
	font-size: 14px;
}

.footer-menu a:hover { color: #fff; }

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding: 20px 0;
}

.footer-bottom__inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 13px;
}

.payment-icons {
	display: flex;
	gap: 12px;
	opacity: 0.6;
	font-size: 12px;
}

/* Page content */
.page-main { padding: 48px 0 64px; }
.entry-title {
	font-family: var(--font-display);
	font-size: 2rem;
	margin-bottom: 24px;
}

.entry-content { line-height: 1.8; }

.entry-content h2 { font-family: var(--font-display); font-size: 1.4rem; margin: 32px 0 12px; }
.entry-content h3 { font-size: 1.1rem; margin: 24px 0 10px; }
.entry-content ul,
.entry-content ol { padding-left: 22px; }
.entry-content li { margin-bottom: 6px; }
.entry-content .legal-updated { color: var(--color-muted); font-size: 13px; margin-bottom: 24px; }

/* Generic page-template forms (contact, track order, etc.) */
.page-main form .form-row { margin-bottom: 16px; }

.page-main form .form-row label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 6px;
}

.page-main form .form-row input,
.page-main form .form-row textarea,
.page-main form .form-row select {
	width: 100%;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
	padding: 12px 16px;
	font-size: 14px;
	font-family: var(--font-sans);
	background: var(--color-bg);
}

.page-main form .form-row input:focus,
.page-main form .form-row textarea:focus,
.page-main form .form-row select:focus {
	outline: none;
	border-color: var(--color-primary);
	background: var(--color-surface);
}

.form-note { margin-top: 12px; font-size: 13px; color: var(--color-muted); }

/* Contact page */
.contact-grid {
	display: grid;
	grid-template-columns: 1fr 1.4fr;
	gap: 32px;
	margin: 32px 0 56px;
	align-items: start;
}

.contact-info {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.contact-card {
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	padding: 24px;
}

.contact-card h3 { margin: 0 0 10px; font-size: 15px; }
.contact-card p { margin: 0 0 6px; font-size: 14px; color: var(--color-muted); }

.contact-card--whatsapp { background: #25d366; border-color: transparent; }
.contact-card--whatsapp h3,
.contact-card--whatsapp p { color: #fff; }
.contact-card--whatsapp .btn { background: #fff !important; color: #128c4a !important; }

.contact-form {
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	padding: 32px;
}

.contact-form__honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* FAQ accordion */
.contact-faq { max-width: 800px; margin: 0 auto; }

.faq-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 24px;
}

.faq-item {
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
	background: var(--color-surface);
	overflow: hidden;
}

.faq-item__question {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 20px;
	background: none;
	border: none;
	font-size: 15px;
	font-weight: 600;
	text-align: left;
	cursor: pointer;
	color: var(--color-text);
}

.faq-item__icon {
	flex-shrink: 0;
	font-size: 18px;
	color: var(--color-primary);
	transition: transform var(--transition);
}

.faq-item.is-open .faq-item__icon { transform: rotate(45deg); }

.faq-item__answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease;
}

.faq-item.is-open .faq-item__answer { max-height: 300px; }

.faq-item__answer p {
	margin: 0;
	padding: 0 20px 18px;
	color: var(--color-muted);
	font-size: 14px;
	line-height: 1.7;
}

.faq-item__answer a { font-weight: 600; }

/* ==========================================================================
   WooCommerce account, auth & order forms
   (re-skins WooCommerce's own default markup/classes — no template overrides)
   ========================================================================== */

body.woocommerce-account .container--narrow,
body.woocommerce-checkout .container--narrow,
body.woocommerce-cart .container--narrow {
	max-width: 1100px;
}

/* Notices */
.woocommerce-error,
.woocommerce-message,
.woocommerce-info {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	list-style: none;
	margin: 0 0 24px;
	padding: 16px 20px;
	border-radius: var(--radius-sm);
	background: var(--color-surface);
	border-left: 4px solid var(--color-primary);
	box-shadow: var(--shadow);
	font-size: 14px;
}

.woocommerce-error { border-left-color: var(--color-sale); }
.woocommerce-info { border-left-color: var(--color-gold); }

.woocommerce-error li,
.woocommerce-message li,
.woocommerce-info li { list-style: none; }

.woocommerce-message .button,
.woocommerce-error .button,
.woocommerce-info .button { margin-left: auto; }

/* Generic WooCommerce buttons (checkout, cart, account, orders…) */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: var(--color-primary) !important;
	color: #fff !important;
	border: none !important;
	border-radius: var(--radius-sm) !important;
	padding: 12px 24px !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	font-family: var(--font-sans) !important;
	cursor: pointer;
	transition: background var(--transition);
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover { background: var(--color-primary-dark) !important; }

.woocommerce a.button.woocommerce-Button--previous,
.woocommerce button.button.alt.disabled { opacity: 0.6; }

/* Form rows/inputs (login, register, checkout, addresses, edit account) */
.woocommerce form .form-row { margin-bottom: 16px; }

.woocommerce form .form-row label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 6px;
	color: var(--color-text);
}

.woocommerce form .form-row .required { color: var(--color-sale); text-decoration: none; }

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce-account .woocommerce input[type="text"],
.woocommerce-account .woocommerce input[type="email"],
.woocommerce-account .woocommerce input[type="password"] {
	width: 100%;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
	padding: 12px 16px;
	font-size: 14px;
	font-family: var(--font-sans);
	background: var(--color-bg);
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
	outline: none;
	border-color: var(--color-primary);
	background: var(--color-surface);
}

.woocommerce form .form-row .select2-container,
.woocommerce form .form-row .selection { width: 100% !important; }

/* Login / Register — single toggling card (see woocommerce/myaccount/form-login.php) */
.lezzivo-auth {
	max-width: 440px;
	margin: 0 auto;
}

.lezzivo-auth__card {
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 40px 32px;
}

.lezzivo-auth__brand {
	text-align: center;
	margin-bottom: 20px;
}

.lezzivo-auth__brand .custom-logo { max-height: 56px; width: auto; margin: 0 auto; }

.lezzivo-auth__brand-text {
	font-family: var(--font-display);
	font-size: 24px;
	font-weight: 700;
	color: var(--color-primary);
}

.lezzivo-auth__title {
	font-family: var(--font-display);
	font-size: 1.5rem;
	text-align: center;
	margin: 0 0 6px;
}

.lezzivo-auth__subtitle {
	text-align: center;
	color: var(--color-muted);
	font-size: 14px;
	margin: 0 0 28px;
}

.lezzivo-auth__panel[hidden] { display: none; }

.lezzivo-auth__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}

.lezzivo-auth__row .woocommerce-form-login__submit { flex-shrink: 0; }

.lezzivo-auth__switch {
	text-align: center;
	margin-top: 20px;
	font-size: 14px;
	color: var(--color-muted);
}

.lezzivo-auth__switch[hidden] { display: none; }

.lezzivo-auth__switch-btn {
	background: none;
	border: none;
	padding: 0;
	color: var(--color-primary);
	font-weight: 700;
	font-size: 14px;
	cursor: pointer;
	text-decoration: underline;
}

.woocommerce-form-login .clear,
.woocommerce-form-register .clear { display: none; }

.woocommerce-form-login__rememberme {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 500;
	margin-bottom: 16px;
}

.woocommerce-LostPassword {
	margin-top: 16px;
	font-size: 13px;
}

.woocommerce-privacy-policy-text {
	font-size: 12px;
	color: var(--color-muted);
	margin: 16px 0;
}

.woocommerce-ResetPassword {
	max-width: 480px;
	margin: 0 auto;
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	padding: 32px;
	box-shadow: var(--shadow);
}

/* My Account layout — only when the account nav (i.e. the user is logged in)
   is actually present; the login/register page also carries the
   woocommerce-account body class and must not get squeezed into this grid. */
body.woocommerce-account.logged-in .woocommerce {
	display: grid;
	grid-template-columns: 240px 1fr;
	grid-auto-flow: column;
	gap: 40px;
	align-items: start;
}

/* Same auto-placement issue as the login/register grid: pin both siblings
   to row 1 explicitly instead of trusting auto-placement. */
body.woocommerce-account.logged-in .woocommerce > .woocommerce-MyAccount-navigation {
	grid-column: 1;
	grid-row: 1;
	width: 100%;
	float: none;
}

body.woocommerce-account.logged-in .woocommerce > .woocommerce-MyAccount-content {
	grid-column: 2;
	grid-row: 1;
	width: 100%;
	float: none;
}

.woocommerce-MyAccount-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	overflow: hidden;
}

.woocommerce-MyAccount-navigation-link { border-bottom: 1px solid var(--color-border); }
.woocommerce-MyAccount-navigation-link:last-child { border-bottom: none; }

.woocommerce-MyAccount-navigation-link a {
	display: block;
	padding: 14px 18px;
	font-size: 14px;
	font-weight: 500;
	color: var(--color-text);
	border-left: 3px solid transparent;
}

.woocommerce-MyAccount-navigation-link a:hover { background: var(--color-bg); color: var(--color-primary); }

.woocommerce-MyAccount-navigation-link.is-active a {
	color: var(--color-primary);
	font-weight: 700;
	border-left-color: var(--color-primary);
	background: var(--color-bg);
}

.woocommerce-MyAccount-navigation-link--dashboard a::before { content: "📊 "; }
.woocommerce-MyAccount-navigation-link--orders a::before { content: "📦 "; }
.woocommerce-MyAccount-navigation-link--downloads a::before { content: "⬇️ "; }
.woocommerce-MyAccount-navigation-link--edit-address a::before { content: "📍 "; }
.woocommerce-MyAccount-navigation-link--edit-account a::before { content: "⚙️ "; }
.woocommerce-MyAccount-navigation-link--customer-logout a::before { content: "🚪 "; }
.woocommerce-MyAccount-navigation-link--wishlist a::before { content: "❤️ "; }

.woocommerce-MyAccount-content { min-width: 0; }

/* Account dashboard cards */
.account-dashboard-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 8px;
}

.account-dashboard-header h2 {
	font-family: var(--font-display);
	font-size: 1.6rem;
	margin: 0;
}

.account-dashboard-welcome { color: var(--color-muted); margin: 0 0 24px; }

.account-cards {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.account-card {
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	padding: 24px;
}

.account-card__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 16px;
}

.account-card__header h3 {
	margin: 0;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--color-muted);
}

.account-card__link { font-size: 13px; font-weight: 600; }
.account-card__empty { color: var(--color-muted); font-size: 14px; margin: 0; }
.account-card__address { font-style: normal; line-height: 1.7; color: var(--color-muted); font-size: 14px; }

.personal-details-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	gap: 16px;
	margin-bottom: 16px;
}

.personal-details-label {
	display: block;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--color-muted);
	margin-bottom: 4px;
}

.personal-details-form {
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid var(--color-border);
}

.form-row-group {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-bottom: 16px;
}

.form-row-group .form-row { margin-bottom: 0; }

.personal-details-form__actions { display: flex; gap: 10px; }

.wishlist-grid { margin-top: 8px; }

.woocommerce-MyAccount-content > p:first-child { margin-top: 0; }

.woocommerce-MyAccount-content mark { background: none; color: inherit; font-weight: 700; }

/* Orders / downloads tables */
.woocommerce-orders-table,
.woocommerce-table--order-details,
.shop_table {
	width: 100%;
	border-collapse: collapse;
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	overflow: hidden;
}

.woocommerce-orders-table th,
.woocommerce-orders-table td,
.woocommerce-table--order-details th,
.woocommerce-table--order-details td,
.shop_table th,
.shop_table td {
	padding: 14px 16px;
	text-align: left;
	font-size: 13px;
	border-bottom: 1px solid var(--color-border);
}

.woocommerce-orders-table thead th,
.shop_table thead th {
	background: var(--color-bg);
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--color-muted);
}

.woocommerce-orders-table tbody tr:last-child td,
.shop_table tbody tr:last-child td { border-bottom: none; }

mark.order-status {
	display: inline-block;
	background: var(--color-bg);
	color: var(--color-text);
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	padding: 4px 10px;
	border-radius: 999px;
}

mark.order-status.status-completed { background: rgba(45, 80, 22, 0.12); color: var(--color-primary); }
mark.order-status.status-processing { background: rgba(196, 160, 53, 0.15); color: #8a6d1d; }
mark.order-status.status-pending,
mark.order-status.status-on-hold { background: rgba(196, 160, 53, 0.15); color: #8a6d1d; }
mark.order-status.status-cancelled,
mark.order-status.status-failed { background: rgba(214, 40, 40, 0.1); color: var(--color-sale); }
mark.order-status.status-refunded { background: var(--color-border); color: var(--color-muted); }

/* Addresses */
.woocommerce-Addresses.u-columns,
.woocommerce-Addresses.col2-set {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-auto-flow: column;
	gap: 24px;
}

.woocommerce-Addresses.u-columns::before,
.woocommerce-Addresses.u-columns::after {
	content: none;
	display: none;
}

.woocommerce-Addresses > .woocommerce-Address {
	width: 100%;
	float: none;
}

.woocommerce-Addresses > .woocommerce-Address:nth-of-type(1) { grid-column: 1; grid-row: 1; }
.woocommerce-Addresses > .woocommerce-Address:nth-of-type(2) { grid-column: 2; grid-row: 1; }

.woocommerce-Address {
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	padding: 24px;
}

.woocommerce-Address-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 12px;
}

.woocommerce-Address-title h3 { margin: 0; font-size: 15px; }
.woocommerce-Address-title .edit { font-size: 13px; font-weight: 600; }
.woocommerce-Address address { font-size: 14px; line-height: 1.7; font-style: normal; color: var(--color-muted); }

/* View order */
.woocommerce-order-details,
.woocommerce-customer-details { margin-top: 32px; }

.woocommerce-order-details__title,
.woocommerce-column__title { font-family: var(--font-display); font-size: 1.1rem; }

.woocommerce-columns--addresses {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
}

/* Breadcrumbs */
.breadcrumbs { padding: 16px 0; }

.breadcrumbs__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 6px;
	font-size: 13px;
	color: var(--color-muted);
}

.breadcrumbs__list li:not(:last-child)::after {
	content: "/";
	margin-left: 6px;
	color: var(--color-border);
}

.breadcrumbs__list a { color: var(--color-muted); }
.breadcrumbs__list a:hover { color: var(--color-primary); }
.breadcrumbs__list li[aria-current="page"] { color: var(--color-text); font-weight: 500; }

/* Search autocomplete */
.search-autocomplete {
	display: none;
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	right: 0;
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	box-shadow: var(--shadow-lg);
	z-index: 60;
	overflow: hidden;
}

.search-autocomplete.is-open { display: block; }

.search-autocomplete__trending {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding: 16px;
}

.search-autocomplete__label {
	width: 100%;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--color-muted);
	margin-bottom: 4px;
}

.search-autocomplete__chip {
	background: var(--color-bg);
	border: 1px solid var(--color-border);
	border-radius: 999px;
	padding: 6px 14px;
	font-size: 13px;
	color: var(--color-text);
}

.search-autocomplete__chip:hover { color: var(--color-primary); border-color: var(--color-primary); }

.search-autocomplete__results { max-height: 420px; overflow-y: auto; }

.search-autocomplete__item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 16px;
	border-top: 1px solid var(--color-border);
	color: var(--color-text);
}

.search-autocomplete__item:first-child { border-top: none; }
.search-autocomplete__item:hover { background: var(--color-bg); }

.search-autocomplete__item img {
	width: 40px;
	height: 40px;
	border-radius: var(--radius-sm);
	object-fit: cover;
	flex-shrink: 0;
	background: var(--color-bg);
}

.search-autocomplete__item-name { font-size: 13px; font-weight: 500; flex: 1; }
.search-autocomplete__item-price { font-size: 13px; font-weight: 700; color: var(--color-primary); }

.search-autocomplete__empty,
.search-autocomplete__loading {
	padding: 16px;
	font-size: 13px;
	color: var(--color-muted);
	text-align: center;
}

/* Mega menu */
.menu-item-has-mega.is-open .mega-menu,
.menu-item-has-mega:hover .mega-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.mega-menu {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
	background: var(--color-surface);
	border-top: 1px solid var(--color-border);
	box-shadow: var(--shadow-lg);
	z-index: 50;
}

.mega-menu__inner {
	display: flex;
	gap: 40px;
	padding: 32px 20px;
}

.mega-menu__columns {
	display: flex;
	flex: 1;
	gap: 40px;
}

.mega-menu__col { flex: 1; }

.mega-menu__col-title {
	display: block;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: var(--color-primary);
	margin-bottom: 12px;
}

.mega-menu__col ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.mega-menu__col ul a {
	color: var(--color-text);
	font-size: 14px;
	text-transform: none;
	letter-spacing: normal;
}

.mega-menu__col ul a:hover { color: var(--color-accent); }

.mega-menu__featured {
	display: flex;
	flex-direction: column;
	gap: 12px;
	width: 220px;
	flex-shrink: 0;
}

.mega-menu__card {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px;
	background: var(--color-bg);
	border-radius: var(--radius-sm);
	font-size: 13px;
	font-weight: 600;
	color: var(--color-text);
}

.mega-menu__card:hover { background: var(--color-primary); color: #fff; }
.mega-menu__card-emoji { font-size: 20px; }

/* Trending searches */
.trending-searches {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
}

.trending-searches__label { font-size: 12px; color: var(--color-muted); font-weight: 600; }

.trending-searches__chip {
	background: var(--color-bg);
	border: 1px solid var(--color-border);
	border-radius: 999px;
	padding: 5px 12px;
	font-size: 12px;
	color: var(--color-text);
}

.trending-searches__chip:hover { color: var(--color-primary); border-color: var(--color-primary); }

/* Product card compare button */
.product-card__compare {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 2;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid var(--color-border);
	border-radius: 50%;
	font-size: 16px;
	line-height: 1;
	cursor: pointer;
	color: var(--color-text);
	transition: all var(--transition);
}

.product-card__compare:hover { border-color: var(--color-primary); color: var(--color-primary); }

.product-card__compare.is-active {
	background: var(--color-primary);
	border-color: var(--color-primary);
	color: #fff;
}

/* Product action buttons (single product page) */
.product-summary-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 12px 0;
}

.product-action-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: 999px;
	padding: 8px 16px;
	font-size: 13px;
	font-weight: 600;
	color: var(--color-text);
	cursor: pointer;
	transition: all var(--transition);
}

.product-action-btn:hover { border-color: var(--color-primary); color: var(--color-primary); }

.product-action-btn.is-active {
	background: var(--color-primary);
	border-color: var(--color-primary);
	color: #fff;
}

.product-offer-note {
	color: var(--color-accent);
	font-weight: 600;
	font-size: 14px;
}

.pincode-form--inline { max-width: 360px; }

/* Product Details table (inc/template-tags.php: lezzivo_product_details_table) */
.product-details-table { margin: 24px 0; }

.product-details-table__title {
	font-family: var(--font-display);
	font-size: 1rem;
	margin: 0 0 12px;
}

.product-details-table table {
	width: 100%;
	border-collapse: collapse;
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
	overflow: hidden;
	font-size: 13px;
}

.product-details-table th,
.product-details-table td {
	padding: 10px 16px;
	text-align: left;
	border-bottom: 1px solid var(--color-border);
}

.product-details-table tr:last-child th,
.product-details-table tr:last-child td { border-bottom: none; }

.product-details-table th {
	width: 140px;
	font-weight: 600;
	color: var(--color-muted);
	background: var(--color-bg);
}

/* "Other Options" upsell row (inc/template-tags.php: lezzivo_render_upsells) */
.other-options { margin: 20px 0; }

.other-options__title {
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: var(--color-muted);
	margin: 0 0 12px;
}

.other-options__row {
	display: flex;
	gap: 12px;
	overflow-x: auto;
	padding-bottom: 4px;
}

.other-options__item {
	flex-shrink: 0;
	width: 110px;
	text-align: center;
	color: var(--color-text);
}

.other-options__img,
.other-options__placeholder {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: var(--radius-sm);
	border: 1px solid var(--color-border);
	background: var(--color-bg);
	margin-bottom: 8px;
}

.other-options__name {
	display: block;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.3;
	margin-bottom: 4px;
}

.other-options__price {
	display: block;
	font-size: 12px;
	font-weight: 700;
	color: var(--color-primary);
}

/* Product story blocks (inc/block-patterns.php) — inserted into a
   product's Description in wp-admin via the block inserter. */
.lezzivo-story-block {
	align-items: center;
	gap: 40px;
	margin: 48px 0;
}

.lezzivo-story-block--reverse { flex-direction: row-reverse; }

.lezzivo-story-block__media,
.lezzivo-story-block__text {
	flex: 1 1 320px;
	min-width: 280px;
	margin: 0;
}

.lezzivo-story-block__media img {
	border-radius: var(--radius);
	width: 100%;
	height: auto;
	display: block;
}

.lezzivo-story-block__text h3 {
	font-family: var(--font-display);
	font-size: 1.5rem;
	margin: 0 0 12px;
}

.lezzivo-story-grid {
	gap: 32px;
	margin: 48px 0;
}

.lezzivo-story-grid__item { text-align: center; }

.lezzivo-story-grid__item img {
	border-radius: var(--radius);
	width: 100%;
	height: auto;
	margin-bottom: 16px;
}

.lezzivo-story-grid__item h4 {
	font-family: var(--font-display);
	font-size: 1.1rem;
	margin: 0 0 8px;
}

.lezzivo-story-grid__item p { color: var(--color-muted); font-size: 14px; }

/* WooCommerce product tabs + reviews */
.woocommerce-tabs ul.tabs {
	display: flex;
	gap: 4px;
	list-style: none;
	margin: 0 0 24px;
	padding: 0;
	border-bottom: 1px solid var(--color-border);
}

.woocommerce-tabs ul.tabs li {
	margin: 0;
	list-style: none;
}

.woocommerce-tabs ul.tabs li a {
	display: block;
	padding: 12px 20px;
	font-size: 14px;
	font-weight: 600;
	color: var(--color-muted);
	border-bottom: 2px solid transparent;
}

.woocommerce-tabs ul.tabs li.active a,
.woocommerce-tabs ul.tabs li a:hover {
	color: var(--color-primary);
	border-bottom-color: var(--color-primary);
}

.woocommerce-tabs .panel { line-height: 1.8; }

.woocommerce-Tabs-panel--additional_information table {
	width: 100%;
	border-collapse: collapse;
}

.woocommerce-Tabs-panel--additional_information th,
.woocommerce-Tabs-panel--additional_information td {
	padding: 10px 16px;
	border-bottom: 1px solid var(--color-border);
	text-align: left;
	font-size: 14px;
}

.woocommerce-Reviews #comments { margin-top: 0; }

.woocommerce-Reviews .commentlist {
	list-style: none;
	margin: 0 0 32px;
	padding: 0;
}

.woocommerce-Reviews .comment {
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	padding: 20px;
	margin-bottom: 16px;
}

.woocommerce-Reviews .star-rating { color: var(--color-gold); margin-bottom: 8px; }
.woocommerce-Reviews .comment-text p.meta { font-size: 12px; color: var(--color-muted); margin-bottom: 8px; }

#review_form_wrapper .comment-form-rating select,
#review_form_wrapper textarea,
#review_form_wrapper input[type="text"],
#review_form_wrapper input[type="email"] {
	width: 100%;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
	padding: 12px 16px;
	font-family: var(--font-sans);
	font-size: 14px;
	margin-top: 6px;
}

#review_form_wrapper .form-submit input[type="submit"] {
	background: var(--color-primary);
	color: #fff;
	border: none;
	border-radius: var(--radius-sm);
	padding: 12px 24px;
	font-weight: 600;
	cursor: pointer;
}

/* Sticky add-to-cart bar (mobile) */
.sticky-atc {
	display: none;
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 70;
	background: var(--color-surface);
	border-top: 1px solid var(--color-border);
	box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}

.sticky-atc.is-visible { display: block; }

.sticky-atc__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 12px 20px;
}

.sticky-atc__price { font-size: 16px; font-weight: 700; color: var(--color-primary); }

/* WhatsApp float button */
.whatsapp-float {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 80;
	width: 56px;
	height: 56px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #25d366;
	color: #fff;
	border-radius: 50%;
	box-shadow: var(--shadow-lg);
	transition: transform var(--transition);
}

.whatsapp-float:hover { transform: scale(1.08); color: #fff; }

/* Compare bar */
.compare-bar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 75;
	background: var(--color-primary-dark);
	color: #fff;
	transform: translateY(100%);
	transition: transform var(--transition);
}

.compare-bar.is-visible { transform: translateY(0); }

.compare-bar__inner {
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 14px 20px;
}

.compare-bar__info { display: flex; flex-direction: column; gap: 2px; font-size: 13px; }
.compare-bar__count { opacity: 0.7; font-size: 12px; }

.compare-bar__items {
	display: flex;
	gap: 10px;
	flex: 1;
	overflow-x: auto;
}

.compare-bar__item {
	display: flex;
	align-items: center;
	gap: 8px;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 999px;
	padding: 6px 8px 6px 14px;
	font-size: 12px;
	white-space: nowrap;
}

.compare-bar__item-remove {
	background: none;
	border: none;
	color: #fff;
	opacity: 0.7;
	cursor: pointer;
	font-size: 14px;
	line-height: 1;
	padding: 4px;
}

.compare-bar__item-remove:hover { opacity: 1; }
.compare-bar__actions { display: flex; gap: 10px; flex-shrink: 0; }

/* Compare page */
.compare-page__toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 24px;
}

.compare-toggle { display: flex; align-items: center; gap: 8px; font-size: 14px; }

.compare-empty {
	padding: 48px 20px;
	text-align: center;
	color: var(--color-muted);
	background: var(--color-surface);
	border: 1px dashed var(--color-border);
	border-radius: var(--radius);
}

.compare-table {
	width: 100%;
	border-collapse: collapse;
	background: var(--color-surface);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow);
}

.compare-table th,
.compare-table td {
	padding: 16px;
	border-bottom: 1px solid var(--color-border);
	text-align: left;
	vertical-align: top;
	font-size: 14px;
}

.compare-table th:first-child,
.compare-table td:first-child {
	width: 160px;
	font-weight: 600;
	color: var(--color-muted);
	background: var(--color-bg);
}

.compare-table__product img {
	width: 100%;
	max-width: 140px;
	border-radius: var(--radius-sm);
	margin-bottom: 12px;
}

.compare-table__product-name {
	font-weight: 700;
	display: block;
	margin-bottom: 8px;
}

.compare-table tr.is-diff td:not(:first-child) {
	background: rgba(232, 93, 4, 0.06);
}

.compare-add-slot { margin-top: 24px; text-align: center; }

/* Responsive */
@media (max-width: 1024px) {
	.product-grid,
	.lezzivo-shop-archive ul.products,
	body.woocommerce.archive ul.products { grid-template-columns: repeat(3, 1fr); }
	.trust-badges__grid { grid-template-columns: repeat(2, 1fr); }
	.footer-grid { grid-template-columns: repeat(2, 1fr); }
	.mega-menu__inner { flex-direction: column; gap: 24px; }
	.mega-menu__featured { flex-direction: row; width: auto; }

	.shop-layout { gap: 24px; }
	.shop-layout:has(.shop-sidebar) { grid-template-columns: 220px 1fr; }
}

@media (max-width: 768px) {
	.menu-toggle { display: flex; }

	.main-navigation {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		box-shadow: var(--shadow);
	}

	.main-navigation.is-open { display: block; }

	.nav-menu { flex-direction: column; }

	.header-main__inner {
		grid-template-columns: auto 1fr auto;
	}

	.header-search-wrap { display: none; }

	.product-grid,
	.lezzivo-shop-archive ul.products,
	body.woocommerce.archive ul.products { grid-template-columns: repeat(2, 1fr); }

	body.woocommerce.archive #primary:not(:has(> .container)) { padding: 24px 16px 48px; }

	.shop-layout { grid-template-columns: 1fr; padding: 24px 0 48px; }
	.shop-hero { padding: 36px 0; }
	.shop-hero__title { font-size: 1.6rem; }

	.banner-slider__track { height: 220px; }

	.cta-banner__inner { flex-direction: column; text-align: center; }

	.reviews-grid { grid-template-columns: 1fr; }

	.lezzivo-single-product .woocommerce div.product,
	body.single-product div.product {
		grid-template-columns: 1fr;
	}

	.lezzivo-single-product .woocommerce div.product .woocommerce-product-gallery,
	body.single-product .woocommerce-product-gallery {
		flex-direction: column;
	}

	body.single-product #primary:not(:has(> .container)) { padding: 24px 16px 48px; }

	.flex-control-thumbs {
		flex-direction: row;
		width: 100%;
		max-height: none;
		overflow-x: auto;
	}

	.lezzivo-story-block--reverse { flex-direction: row; }
	.lezzivo-story-grid { grid-template-columns: 1fr !important; }
	.woocommerce-tabs ul.tabs { flex-wrap: wrap; }

	.flex-control-thumbs img { width: 64px; height: 64px; flex-shrink: 0; }

	.header-top__links { display: none; }

	.mega-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		transition: none;
		box-shadow: none;
		border-top: none;
		display: none;
	}

	.menu-item-has-mega.is-open .mega-menu { display: block; }
	.mega-menu__inner { padding: 16px 20px; }

	.compare-bar__inner { flex-wrap: wrap; }
	.compare-bar__items { width: 100%; order: 3; }

	.whatsapp-float { right: 16px; bottom: 16px; width: 48px; height: 48px; }

	.sticky-atc.is-visible { display: block; }

	/* WooCommerce account / auth forms */
	.woocommerce-Addresses.u-columns,
	.woocommerce-Addresses.col2-set,
	.woocommerce-columns--addresses {
		grid-template-columns: 1fr;
	}

	.woocommerce-Addresses > .woocommerce-Address:nth-of-type(1),
	.woocommerce-Addresses > .woocommerce-Address:nth-of-type(2) {
		grid-column: 1;
		grid-row: auto;
	}

	.lezzivo-auth__card { padding: 28px 20px; }

	body.woocommerce-account.logged-in .woocommerce { grid-template-columns: 1fr; }

	body.woocommerce-account.logged-in .woocommerce > .woocommerce-MyAccount-navigation,
	body.woocommerce-account.logged-in .woocommerce > .woocommerce-MyAccount-content {
		grid-column: 1;
		grid-row: auto;
	}

	.woocommerce-MyAccount-navigation ul { display: flex; flex-wrap: wrap; }
	.woocommerce-MyAccount-navigation-link { border-bottom: none; border-right: 1px solid var(--color-border); }
	.woocommerce-MyAccount-navigation-link a { padding: 10px 14px; border-left: none; }
	.woocommerce-MyAccount-navigation-link.is-active a { background: var(--color-bg); border-left: none; }

	.shop_table_responsive thead,
	.woocommerce-orders-table thead { display: none; }

	.shop_table_responsive tr,
	.woocommerce-orders-table tr {
		display: block;
		margin-bottom: 16px;
		border: 1px solid var(--color-border);
		border-radius: var(--radius-sm);
		padding: 4px 0;
	}

	.shop_table_responsive td,
	.woocommerce-orders-table td {
		display: flex;
		justify-content: space-between;
		align-items: center;
		gap: 12px;
		border-bottom: 1px dashed var(--color-border);
	}

	.shop_table_responsive tr td:last-child,
	.woocommerce-orders-table tr td:last-child { border-bottom: none; }

	.shop_table_responsive td::before,
	.woocommerce-orders-table td::before {
		content: attr(data-title);
		font-weight: 600;
		color: var(--color-muted);
		font-size: 12px;
	}

	.form-row-group { grid-template-columns: 1fr; }
	.personal-details-grid { grid-template-columns: repeat(2, 1fr); }

	.contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
	.product-grid,
	.lezzivo-shop-archive ul.products,
	body.woocommerce.archive ul.products { grid-template-columns: 1fr; }

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

	.footer-grid { grid-template-columns: 1fr; }

	.compare-table th:first-child,
	.compare-table td:first-child { width: 100px; font-size: 12px; }
}
