/* ==========================================================================
   Custom Shop - CSS Base (estrutura comum a todos os estilos)
   ========================================================================== */

/* Reset & Defaults */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { font-size: var(--cs-base-font-size, 16px); scroll-behavior: smooth; }

body {
	font-family: var(--cs-body-font, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif);
	color: var(--cs-text, #333);
	background: var(--cs-bg, #fff);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--cs-heading-font, var(--cs-body-font, system-ui, sans-serif));
	color: var(--cs-heading, #111);
	line-height: 1.2;
	font-weight: 700;
}

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

a { color: var(--cs-primary); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--cs-secondary); }

button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }

ul, ol { list-style: none; }

input, textarea, select {
	font: inherit;
	color: inherit;
	border: 1px solid #ddd;
	background: #fff;
	padding: 10px 14px;
	border-radius: 4px;
	width: 100%;
	transition: border-color .2s ease, box-shadow .2s ease;
}
input:focus, textarea:focus, select:focus {
	outline: 0;
	border-color: var(--cs-primary);
	box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.screen-reader-text {
	position: absolute !important;
	clip: rect(1px,1px,1px,1px);
	width: 1px; height: 1px; overflow: hidden;
}
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 9999; background: #000; color: #fff; padding: .5rem 1rem; }

/* Layout */
.container {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 20px;
}

/* Topbar */
.topbar {
	background: var(--cs-topbar-bg);
	color: var(--cs-topbar-text);
	font-size: 13px;
	padding: 8px 0;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.topbar a { color: inherit; display: inline-flex; align-items: center; gap: 6px; }
.topbar-right { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.topbar svg { width: 14px; height: 14px; }

/* Header */
.site-header {
	background: var(--cs-header-bg);
	border-bottom: 1px solid rgba(0,0,0,.06);
	position: relative;
	z-index: 100;
}
.sticky-header-enabled .site-header { position: sticky; top: 0; }
.header-inner {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 24px;
	padding: 18px 0;
}
.header-layout-centered .header-inner { grid-template-columns: auto 1fr auto auto; }
.header-layout-centered .site-branding { text-align: center; grid-column: 2; justify-self: center; }
.header-layout-standard .site-branding { grid-column: 1; }
.site-title { font-size: 24px; margin: 0; }
.site-title a { color: var(--cs-heading); }
.site-description { font-size: 13px; opacity: .7; margin: 0; }
.custom-logo { max-height: 60px; width: auto; }
.custom-logo-link { display: inline-block; }

/* Navigation */
.main-navigation .primary-menu {
	display: flex;
	gap: 24px;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
}
.primary-menu a {
	color: var(--cs-heading);
	font-weight: 500;
	font-size: 15px;
	padding: 8px 0;
	position: relative;
	transition: color .2s;
}
.primary-menu a:hover { color: var(--cs-primary); }
.primary-menu .current-menu-item > a { color: var(--cs-primary); }
.primary-menu .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	background: #fff;
	box-shadow: 0 10px 40px rgba(0,0,0,.1);
	padding: 8px 0;
	border-radius: 4px;
}
.primary-menu li { position: relative; }
.primary-menu li:hover > .sub-menu { display: block; }
.primary-menu .sub-menu a { display: block; padding: 8px 18px; }

/* Header Actions */
.header-actions {
	display: flex;
	align-items: center;
	gap: 14px;
}
.header-actions a, .header-actions button {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px; height: 40px;
	border-radius: 50%;
	transition: background-color .2s, color .2s;
	color: var(--cs-heading);
}
.header-actions a:hover, .header-actions button:hover {
	background: rgba(0,0,0,.05);
	color: var(--cs-primary);
}
.cart-icon { position: relative; }
.cart-count {
	position: absolute;
	top: -2px;
	right: -2px;
	background: var(--cs-secondary);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	border-radius: 50%;
	min-width: 18px;
	height: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 4px;
}

.mobile-menu-toggle { display: none; }

/* Header Search */
.header-search-wrap {
	max-height: 0;
	overflow: hidden;
	transition: max-height .3s ease;
}
.header-search-wrap.active { max-height: 100px; padding: 12px 0 16px; }
.header-search-wrap .search-form { position: relative; max-width: 600px; margin: 0 auto; }
.header-search-wrap .search-field { padding-right: 50px; }
.header-search-wrap .search-submit {
	position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
	width: 36px; height: 36px;
}

/* Mobile menu */
.mobile-menu-overlay {
	position: fixed;
	top: 0; left: -100%;
	width: 320px; max-width: 85%;
	height: 100vh;
	background: #fff;
	z-index: 9998;
	transition: left .3s ease;
	overflow-y: auto;
	box-shadow: 4px 0 30px rgba(0,0,0,.15);
}
.mobile-menu-overlay.active { left: 0; }
.mobile-menu-inner { padding: 60px 24px 24px; }
.mobile-menu-close {
	position: absolute; top: 16px; right: 16px;
	width: 40px; height: 40px;
	display: flex; align-items: center; justify-content: center;
}
.mobile-menu { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu a { padding: 12px 0; display: block; border-bottom: 1px solid #eee; color: var(--cs-heading); }

/* Hero Banner */
.hero-banner {
	position: relative;
	overflow: hidden;
	background: #f5f5f5;
}
.hero-slides { position: relative; }
.hero-slide {
	display: none;
	background-size: cover;
	background-position: center;
	background-color: #2a2a2a;
	min-height: 520px;
	position: relative;
	align-items: center;
}
.hero-slide.active { display: flex; }
.hero-overlay {
	position: absolute; inset: 0;
	background: linear-gradient(135deg, rgba(0,0,0,.4), rgba(0,0,0,.25));
}
.hero-content {
	position: relative;
	z-index: 2;
	color: #fff;
	padding: 60px 20px;
	max-width: 700px;
}
.hero-title { color: #fff; font-size: clamp(32px, 5vw, 56px); margin-bottom: 16px; font-weight: 800; line-height: 1.1; }
.hero-subtitle { font-size: clamp(16px, 2vw, 20px); margin-bottom: 28px; opacity: .95; }
.hero-button { display: inline-block; padding: 14px 36px; font-size: 16px; font-weight: 600; }
.hero-controls { position: absolute; top: 50%; transform: translateY(-50%); width: 100%; display: flex; justify-content: space-between; padding: 0 20px; pointer-events: none; }
.hero-prev, .hero-next {
	width: 48px; height: 48px;
	background: rgba(255,255,255,.9);
	color: #000;
	border-radius: 50%;
	font-size: 24px;
	pointer-events: auto;
	display: flex; align-items: center; justify-content: center;
	transition: background .2s;
}
.hero-prev:hover, .hero-next:hover { background: #fff; }
.hero-dots {
	position: absolute;
	bottom: 24px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 8px;
}
.hero-dot {
	width: 10px; height: 10px;
	border-radius: 50%;
	background: rgba(255,255,255,.5);
	transition: background .2s, transform .2s;
}
.hero-dot.active { background: #fff; transform: scale(1.3); }

/* Promo Banners */
.promo-banners { padding: 50px 0; }
.promo-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}
.promo-card {
	position: relative;
	overflow: hidden;
	min-height: 220px;
	background-size: cover;
	background-position: center;
	background-color: #ddd;
	display: flex;
	align-items: flex-end;
	padding: 24px;
	color: #fff;
	border-radius: 4px;
	transition: transform .3s ease, box-shadow .3s ease;
}
.promo-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,.15); color: #fff; }
.promo-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.7), transparent 60%); }
.promo-title { position: relative; color: #fff; font-size: 22px; font-weight: 700; z-index: 2; }

/* Buttons */
.button, button.button, .wp-block-button__link,
.woocommerce a.button, .woocommerce button.button,
.woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce .button {
	display: inline-block;
	background: var(--cs-button-bg);
	color: var(--cs-button-text);
	padding: 12px 28px;
	border-radius: 4px;
	font-weight: 600;
	font-size: 15px;
	text-align: center;
	transition: opacity .2s, transform .15s, background .2s;
	border: 0;
	cursor: pointer;
	line-height: 1.4;
	text-decoration: none;
}
.button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover {
	opacity: .9;
	color: var(--cs-button-text);
}
.button:active { transform: translateY(1px); }

/* Section Title */
.section-title {
	font-size: clamp(24px, 3vw, 36px);
	margin-bottom: 32px;
	text-align: center;
	position: relative;
}

/* Product Sections */
.products-section { padding: 50px 0; }
.product-categories-section { padding: 50px 0; background: #fafafa; }

/* WooCommerce Loop */
.woocommerce ul.products,
.woocommerce-page ul.products {
	display: grid !important;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	margin: 0;
	padding: 0;
}
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
	list-style: none;
	width: 100% !important;
	margin: 0 !important;
	float: none !important;
	clear: none !important;
	padding: 0 !important;
}
.product-card-inner {
	position: relative;
	background: #fff;
	border: 1px solid #eee;
	border-radius: 4px;
	overflow: hidden;
	transition: transform .25s, box-shadow .25s;
	height: 100%;
	display: flex;
	flex-direction: column;
}
.product-card-inner:hover {
	transform: translateY(-4px);
	box-shadow: 0 20px 40px rgba(0,0,0,.08);
}
.product-card-link {
	display: block;
	color: var(--cs-heading);
}
.product-card-link img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	transition: transform .3s;
}
.product-card-inner:hover .product-card-link img { transform: scale(1.05); }
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2,
.woocommerce ul.products li.product h3 {
	font-size: 15px;
	font-weight: 600;
	padding: 12px 16px 4px;
	margin: 0;
	line-height: 1.4;
}
.woocommerce ul.products li.product .price {
	padding: 0 16px 16px;
	color: var(--cs-price);
	font-size: 17px;
	font-weight: 700;
}
.woocommerce ul.products li.product .price del { color: #999; font-weight: 400; font-size: 14px; margin-right: 6px; }
.woocommerce ul.products li.product .button {
	margin: 0 16px 16px;
	display: block;
}
.woocommerce ul.products li.product .star-rating { display: none; }

/* Sale badge */
.woocommerce span.onsale, .onsale {
	position: absolute;
	top: 12px; left: 12px;
	background: var(--cs-secondary);
	color: #fff;
	padding: 4px 10px;
	font-size: 12px;
	font-weight: 700;
	border-radius: 2px;
	z-index: 2;
	min-height: auto;
	min-width: auto;
	line-height: 1.4;
}
.new-badge {
	position: absolute;
	top: 12px; right: 12px;
	background: var(--cs-accent);
	color: #000;
	padding: 4px 10px;
	font-size: 12px;
	font-weight: 700;
	border-radius: 2px;
	z-index: 2;
}
.wishlist-button {
	position: absolute;
	top: 12px; right: 12px;
	width: 36px; height: 36px;
	background: #fff;
	border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	z-index: 3;
	color: #666;
	transition: color .2s;
}
.wishlist-button:hover, .wishlist-button.active { color: var(--cs-secondary); }
.quick-view-button {
	position: absolute;
	bottom: 12px;
	left: 50%;
	transform: translateX(-50%) translateY(20px);
	background: rgba(0,0,0,.85);
	color: #fff;
	padding: 8px 18px;
	font-size: 12px;
	font-weight: 600;
	border-radius: 4px;
	opacity: 0;
	transition: opacity .25s, transform .25s;
	white-space: nowrap;
}
.product-card-inner:hover .quick-view-button {
	opacity: 1;
	transform: translateX(-50%) translateY(0);
}

/* Product Categories */
.woocommerce ul.products li.product-category a img {
	margin-bottom: 0;
}
.woocommerce ul.products li.product-category h2 {
	font-size: 16px;
	text-align: center;
}

/* Single Product */
.woocommerce div.product {
	padding: 40px 0;
}
.woocommerce div.product .product_title {
	font-size: 32px;
	margin-bottom: 16px;
}
.woocommerce div.product p.price,
.woocommerce div.product span.price {
	color: var(--cs-price);
	font-size: 28px;
	font-weight: 700;
}
.woocommerce div.product .woocommerce-product-rating { margin-bottom: 20px; }
.woocommerce div.product form.cart {
	margin-top: 24px;
	display: flex;
	gap: 12px;
	align-items: stretch;
	flex-wrap: wrap;
}
.woocommerce div.product form.cart .quantity {
	margin: 0;
}
.woocommerce .quantity .qty {
	width: 70px;
	text-align: center;
	height: 46px;
}
.woocommerce div.product form.cart .button {
	height: 46px;
}
.woocommerce-tabs { margin-top: 60px; }
.woocommerce div.product .woocommerce-tabs ul.tabs {
	padding: 0;
	border-bottom: 2px solid #eee;
	margin: 0 0 30px;
}
.woocommerce div.product .woocommerce-tabs ul.tabs::before { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li {
	background: transparent;
	border: 0;
	border-radius: 0;
	margin: 0;
	padding: 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
	padding: 14px 24px;
	color: var(--cs-heading);
	font-weight: 600;
	border-bottom: 2px solid transparent;
	margin-bottom: -2px;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
	color: var(--cs-primary);
	border-bottom-color: var(--cs-primary);
}

/* Cart */
.woocommerce-cart .shop_table {
	border: 1px solid #eee;
	border-collapse: collapse;
	width: 100%;
}
.woocommerce-cart .shop_table th,
.woocommerce-cart .shop_table td {
	padding: 14px;
	border-bottom: 1px solid #eee;
}
.woocommerce-cart-form .product-thumbnail img { width: 80px; }

/* Checkout */
.woocommerce form .form-row { margin: 0 0 16px; padding: 0; }
.woocommerce form .form-row label { display: block; margin-bottom: 6px; font-weight: 500; }

/* Forms */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea {
	padding: 12px 14px;
	line-height: 1.4;
}

/* Shop Layout */
.shop-container { padding: 40px 20px; display: grid; gap: 30px; }
.shop-container.shop-layout-sidebar-right { grid-template-columns: 1fr 280px; }
.shop-container.shop-layout-sidebar-left { grid-template-columns: 280px 1fr; }
.shop-container.shop-layout-sidebar-left .shop-main { order: 2; }
.shop-container.shop-layout-no-sidebar { grid-template-columns: 1fr; }
.shop-sidebar { font-size: 14px; }
.shop-sidebar .widget { margin-bottom: 30px; }
.shop-sidebar .widget-title { font-size: 16px; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid #eee; }

/* Breadcrumbs */
.breadcrumbs { padding: 12px 0; background: #f7f7f7; font-size: 13px; }
.breadcrumbs a { color: #666; }
.breadcrumbs span { color: var(--cs-heading); }

/* Newsletter */
.newsletter-section {
	background: var(--cs-primary);
	color: #fff;
	padding: 40px 0;
}
.newsletter-wrap {
	display: grid;
	grid-template-columns: 1fr 2fr;
	align-items: center;
	gap: 30px;
}
.newsletter-title { color: #fff; font-size: 22px; margin: 0; }
.newsletter-form {
	display: flex;
	gap: 12px;
}
.newsletter-input {
	flex: 1;
	background: rgba(255,255,255,.95);
	color: #333;
	border: 0;
}
.newsletter-button { background: #000; color: #fff; white-space: nowrap; }

/* Footer */
.site-footer {
	background: var(--cs-footer-bg);
	color: var(--cs-footer-text);
	padding: 60px 0 0;
}
.site-footer h1, .site-footer h2, .site-footer h3, .site-footer h4 { color: var(--cs-footer-text); }
.site-footer a { color: var(--cs-footer-text); opacity: .8; }
.site-footer a:hover { opacity: 1; color: var(--cs-footer-text); }
.footer-widgets {
	display: grid;
	gap: 40px;
	padding-bottom: 40px;
}
.footer-cols-1 { grid-template-columns: 1fr; }
.footer-cols-2 { grid-template-columns: repeat(2, 1fr); }
.footer-cols-3 { grid-template-columns: repeat(3, 1fr); }
.footer-cols-4 { grid-template-columns: repeat(4, 1fr); }
.footer-col .widget-title { font-size: 16px; margin-bottom: 18px; font-weight: 600; }
.footer-col ul li, .footer-menu li { margin-bottom: 8px; }
.footer-contact p { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; line-height: 1.5; }
.footer-contact svg { flex-shrink: 0; opacity: .8; }
.footer-hours { margin-top: 14px; opacity: .85; font-size: 14px; }
.footer-logo .custom-logo { max-height: 50px; margin-bottom: 16px; }
.footer-site-title { font-size: 22px; margin-bottom: 16px; }

.footer-social {
	padding: 20px 0;
	border-top: 1px solid rgba(255,255,255,.1);
	text-align: center;
}
.social-links {
	display: inline-flex;
	gap: 12px;
}
.social-link {
	width: 38px; height: 38px;
	border-radius: 50%;
	background: rgba(255,255,255,.1);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background .2s, transform .2s;
}
.social-link:hover { background: var(--cs-primary); transform: translateY(-2px); }
.social-links-topbar { display: inline-flex; }
.social-links-topbar .social-link { width: 28px; height: 28px; background: transparent; }
.social-links-topbar svg { width: 14px; height: 14px; }

.footer-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px 0;
	border-top: 1px solid rgba(255,255,255,.1);
	font-size: 14px;
	flex-wrap: wrap;
	gap: 16px;
}
.footer-copyright p { margin: 0; }
.payment-icons { display: flex; gap: 8px; flex-wrap: wrap; }

.footer-map { margin-top: 30px; }
.footer-map iframe { border-radius: 4px; display: block; }

/* WhatsApp float */
.whatsapp-float {
	position: fixed;
	bottom: 24px; right: 24px;
	width: 56px; height: 56px;
	background: #25D366;
	color: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 9999;
	box-shadow: 0 6px 20px rgba(37, 211, 102, .4);
	transition: transform .2s;
}
.whatsapp-float:hover { transform: scale(1.08); color: #fff; }

/* Main container */
.main-container { padding: 40px 20px; }

/* Posts */
.posts-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 30px;
}
.post-card { background: #fff; border-radius: 4px; overflow: hidden; border: 1px solid #eee; }
.post-card img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.post-content-wrap { padding: 20px; }
.post-card .entry-title { font-size: 18px; margin-bottom: 10px; }
.post-card .entry-meta { font-size: 13px; color: #888; margin-bottom: 12px; }
.post-card .entry-summary { margin-bottom: 14px; font-size: 14px; }

/* Single post / page */
.single-article .entry-header, .page-article .entry-header { margin-bottom: 24px; text-align: center; }
.single-article .entry-title, .page-article .entry-title { font-size: clamp(28px, 4vw, 42px); }
.single-featured-image, .page-featured-image { margin-bottom: 30px; }
.entry-content > * { margin-bottom: 1.2em; }
.entry-content h2, .entry-content h3 { margin-top: 1.8em; }
.entry-content img { border-radius: 4px; }

/* Pagination */
.woocommerce nav.woocommerce-pagination ul,
.pagination, .posts-navigation, .post-navigation {
	margin: 40px 0;
	display: flex;
	justify-content: center;
	gap: 6px;
}
.woocommerce nav.woocommerce-pagination ul li {
	border: 0;
	margin: 0;
}
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
	border-radius: 4px;
	padding: 10px 14px;
}
.woocommerce nav.woocommerce-pagination ul li span.current {
	background: var(--cs-primary);
	color: #fff;
}

/* 404 */
.error-404 .page-title { font-size: 120px; font-weight: 900; color: var(--cs-primary); margin-bottom: 0; line-height: 1; }
.error-404 .page-content { max-width: 500px; margin: 20px auto; text-align: center; }

/* Responsive */
@media (max-width: 992px) {
	.main-navigation { display: none; }
	.mobile-menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; }
	.header-layout-centered .header-inner { grid-template-columns: auto 1fr auto; }
	.header-layout-centered .site-branding { grid-column: 2; }
	.woocommerce ul.products, .woocommerce-page ul.products { grid-template-columns: repeat(3, 1fr) !important; }
	.shop-container.shop-layout-sidebar-right, .shop-container.shop-layout-sidebar-left { grid-template-columns: 1fr; }
	.footer-cols-3, .footer-cols-4 { grid-template-columns: repeat(2, 1fr); }
	.newsletter-wrap { grid-template-columns: 1fr; text-align: center; }
}

@media (max-width: 640px) {
	.topbar { font-size: 12px; }
	.topbar .container { justify-content: center; }
	.topbar-right { gap: 12px; }
	.topbar-email, .topbar-phone span { display: none; }
	.woocommerce ul.products, .woocommerce-page ul.products { grid-template-columns: repeat(2, 1fr) !important; gap: 14px; }
	.promo-grid { grid-template-columns: 1fr; }
	.footer-cols-2, .footer-cols-3, .footer-cols-4 { grid-template-columns: 1fr; }
	.footer-bottom { flex-direction: column; text-align: center; }
	.hero-slide { min-height: 380px; }
	.newsletter-form { flex-direction: column; }
	.header-actions { gap: 4px; }
	.site-title { font-size: 18px; }
}

/* ============================
   Quick View Modal
   ============================ */
.quick-view-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
    padding: 20px;
}
.quick-view-modal.is-open {
    opacity: 1;
    visibility: visible;
}
.quick-view-modal-content {
    background: #fff;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: var(--cs-radius-md, 8px);
    position: relative;
    padding: 30px;
}
.quick-view-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    color: var(--cs-text);
    padding: 0;
    width: 36px;
    height: 36px;
}
.quick-view-product {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.quick-view-image img {
    width: 100%;
    height: auto;
    border-radius: var(--cs-radius-sm, 4px);
}
.quick-view-title {
    margin-top: 0;
    margin-bottom: 12px;
}
.quick-view-price {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--cs-price);
    margin-bottom: 20px;
}
.quick-view-description {
    margin-bottom: 24px;
    color: var(--cs-text);
}
.quick-view-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.quick-view-modal-body .loading {
    text-align: center;
    padding: 40px;
    color: var(--cs-text);
}
@media (max-width: 640px) {
    .quick-view-product { grid-template-columns: 1fr; }
    .quick-view-modal-content { padding: 20px; }
}

/* ============================
   Scroll to top
   ============================ */
.scroll-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: var(--cs-primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all .3s ease;
    z-index: 990;
}
.scroll-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.scroll-to-top:hover {
    background: var(--cs-secondary);
    transform: translateY(-2px);
}

/* ============================
   Sticky header behavior
   ============================ */
.sticky-header-enabled .site-header.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 990;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
    background: var(--cs-header-bg);
    transition: transform .3s ease;
}
.sticky-header-enabled .site-header.is-sticky.is-hidden {
    transform: translateY(-100%);
}

/* ============================
   Wishlist active state
   ============================ */
.wishlist-button.is-active {
    color: #e74c3c;
}
.wishlist-button.is-active svg {
    fill: currentColor;
}

/* ============================
   Checkout grid
   ============================ */
.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
}
.checkout-sidebar {
    background: rgba(0, 0, 0, .02);
    padding: 24px;
    border-radius: var(--cs-radius-md, 8px);
    align-self: start;
    position: sticky;
    top: 100px;
}
@media (max-width: 992px) {
    .checkout-grid {
        grid-template-columns: 1fr;
    }
    .checkout-sidebar {
        position: static;
    }
}

/* ============================
   Single product grid
   ============================ */
.single-product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin: 40px 0;
}
@media (max-width: 768px) {
    .single-product-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ============================
   Mobile menu submenu
   ============================ */
.mobile-menu-overlay .menu-item-has-children > .sub-menu {
    display: none;
}
.mobile-menu-overlay .menu-item-has-children.submenu-open > .sub-menu {
    display: block;
    padding-left: 20px;
}

/* ============================
   Header search expandable
   ============================ */
.header-search-form {
    position: absolute;
    top: 100%;
    right: 0;
    width: 320px;
    max-width: 90vw;
    background: var(--cs-header-bg);
    padding: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .1);
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: all .25s ease;
    z-index: 100;
}
.header-search-form.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}
