/*
Theme Name: Velora Shop
Theme URI: https://example.com/velora-shop
Author: Velora
Description: A modern, premium, app-like WooCommerce theme with a sticky mobile Add to Cart bar, bottom navigation, Customizer options and Elementor-friendly homepage.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: velora
Tags: e-commerce, custom-colors, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, wide-blocks
*/

/* =========================================================
   1. Tokens & reset
   ========================================================= */
:root {
	--vl-primary: #111827;
	--vl-accent: #ff5a1f;
	--vl-bg: #f6f7f9;
	--vl-surface: #fff;
	--vl-text: #1f2937;
	--vl-muted: #6b7280;
	--vl-line: #e5e7eb;
	--vl-radius: 16px;
	--vl-radius-sm: 10px;
	--vl-shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 8px 24px rgba(16, 24, 40, .06);
	--vl-shadow-lg: 0 12px 40px rgba(16, 24, 40, .16);
	--vl-font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--vl-header-h: 68px;
	--vl-tab-h: 62px;
	--vl-safe-b: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.vl-lock, html.vl-lock body { overflow: hidden; }
body {
	margin: 0;
	background: var(--vl-bg);
	color: var(--vl-text);
	font-family: var(--vl-font);
	font-size: 15px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-webkit-tap-highlight-color: transparent;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--vl-accent); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.25; color: var(--vl-primary); font-weight: 800; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
button { cursor: pointer; }
.screen-reader-text, .skip-link:not(:focus) { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 100000; background: #fff; padding: 10px 14px; border-radius: 8px; }

.vl-container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.vl-ico { display: block; flex: none; }

/* =========================================================
   2. Buttons & form fields
   ========================================================= */
.vl-btn,
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce #respond input#submit, .woocommerce a.button.alt, .woocommerce button.button.alt {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 13px 24px; border: 0; border-radius: 999px;
	background: var(--vl-primary); color: #fff;
	font-weight: 700; font-size: 15px; line-height: 1.2; text-align: center;
	transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.vl-btn:hover,
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
.woocommerce #respond input#submit:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover {
	background: #000; color: #fff; box-shadow: 0 8px 20px rgba(0, 0, 0, .18);
}
.vl-btn:active, .woocommerce a.button:active, .woocommerce button.button:active { transform: scale(.97); }
.vl-btn--accent, .woocommerce a.button.alt, .woocommerce button.button.alt,
.woocommerce #payment #place_order, .woocommerce button.single_add_to_cart_button {
	background: var(--vl-accent) !important; color: #fff !important;
}
.vl-btn--accent:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover,
.woocommerce button.single_add_to_cart_button:hover {
	background: var(--vl-accent) !important; filter: brightness(.93);
	box-shadow: 0 10px 24px color-mix(in srgb, var(--vl-accent) 40%, transparent);
}
.vl-btn--ghost { background: transparent; color: var(--vl-primary); border: 1.5px solid var(--vl-line); }
.vl-btn--ghost:hover { background: var(--vl-bg); color: var(--vl-primary); box-shadow: none; }
.vl-btn--glass { background: rgba(255, 255, 255, .14); color: #fff; border: 1px solid rgba(255, 255, 255, .28); backdrop-filter: blur(6px); }
.vl-btn--glass:hover { background: rgba(255, 255, 255, .24); color: #fff; }
.vl-btn[disabled], .woocommerce button.button:disabled, .woocommerce button.button.disabled { opacity: .5; cursor: not-allowed; }
.woocommerce button.button.loading, .vl-btn.loading { opacity: .7; pointer-events: none; }

input[type=text], input[type=email], input[type=tel], input[type=number], input[type=password],
input[type=search], input[type=url], select, textarea, .select2-container--default .select2-selection--single {
	width: 100%; padding: 12px 14px; background: #fff; color: var(--vl-text);
	border: 1.5px solid var(--vl-line); border-radius: var(--vl-radius-sm);
	transition: border-color .2s, box-shadow .2s;
}
.select2-container--default .select2-selection--single { height: auto; display: flex; align-items: center; min-height: 46px; }
.select2-container--default .select2-selection--single .select2-selection__rendered { padding-left: 0; line-height: 1.4; color: var(--vl-text); }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 100%; }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--vl-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--vl-accent) 16%, transparent); }
label { font-weight: 600; font-size: 14px; }
.woocommerce form .form-row { margin: 0 0 14px; padding: 0; }
.woocommerce form .form-row label { display: block; margin-bottom: 6px; }

/* =========================================================
   3. Header
   ========================================================= */
.vl-announce { background: var(--vl-primary); color: #fff; text-align: center; font-size: 13px; font-weight: 600; padding: 8px 0; }
.vl-header { position: sticky; top: 0; z-index: 90; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.vl-header.is-scrolled { border-color: var(--vl-line); box-shadow: 0 6px 24px rgba(16, 24, 40, .06); }
.vl-header__row { display: flex; align-items: center; gap: 16px; height: var(--vl-header-h); }
.vl-brand { flex: none; display: flex; align-items: center; }
.vl-brand img { display: block; max-height: 42px; width: auto; }
.vl-brand__text { font-size: 22px; font-weight: 800; letter-spacing: -.02em; color: var(--vl-primary); }
.vl-brand__text:hover { color: var(--vl-primary); }
.vl-nav { flex: 1; display: none; }
.vl-menu, .vl-drawer-menu { list-style: none; display: flex; gap: 4px; margin: 0; }
.vl-menu > li { position: relative; }
.vl-menu a { display: block; padding: 10px 14px; border-radius: 999px; font-weight: 600; font-size: 14.5px; color: var(--vl-text); }
.vl-menu a:hover, .vl-menu .current-menu-item > a { background: var(--vl-bg); color: var(--vl-primary); }
.vl-menu .sub-menu { list-style: none; position: absolute; top: 100%; left: 0; min-width: 210px; background: #fff; border: 1px solid var(--vl-line); border-radius: 14px; box-shadow: var(--vl-shadow-lg); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s ease; }
.vl-menu li:hover > .sub-menu, .vl-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.vl-menu .sub-menu a { border-radius: 8px; }
.vl-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.vl-iconbtn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--vl-primary); transition: background .2s; }
.vl-iconbtn:hover { background: var(--vl-bg); color: var(--vl-primary); }
.vl-badge { position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--vl-accent); color: #fff; font-size: 11px; font-weight: 800; line-height: 18px; text-align: center; box-shadow: 0 0 0 2px #fff; }
.vl-badge[data-count="0"] { display: none; }
.vl-hide-mobile { display: none; }

/* Drawer & search sheet */
.vl-drawer, .vl-search { position: fixed; inset: 0; z-index: 200; visibility: hidden; pointer-events: none; }
.vl-drawer.is-open, .vl-search.is-open { visibility: visible; pointer-events: auto; }
.vl-drawer__overlay, .vl-search__overlay { position: absolute; inset: 0; background: rgba(17, 24, 39, .5); opacity: 0; transition: opacity .25s; backdrop-filter: blur(2px); }
.is-open .vl-drawer__overlay, .is-open .vl-search__overlay { opacity: 1; }
.vl-drawer__panel { position: absolute; top: 0; bottom: 0; left: 0; width: min(86vw, 360px); display: flex; flex-direction: column; background: #fff; transform: translateX(-102%); transition: transform .3s cubic-bezier(.2, .8, .2, 1); border-radius: 0 22px 22px 0; }
.vl-drawer.is-open .vl-drawer__panel { transform: none; }
.vl-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 14px 14px 20px; border-bottom: 1px solid var(--vl-line); }
.vl-drawer__body { flex: 1; overflow-y: auto; padding: 18px 16px; }
.vl-drawer-menu { flex-direction: column; gap: 2px; margin-top: 16px; list-style: none; }
.vl-drawer-menu a { display: block; padding: 14px 12px; font-size: 16px; font-weight: 700; border-radius: 12px; }
.vl-drawer-menu a:hover { background: var(--vl-bg); }
.vl-drawer-menu .sub-menu { list-style: none; padding-left: 14px; }
.vl-drawer-menu .sub-menu a { font-weight: 600; font-size: 15px; color: var(--vl-muted); }
.vl-drawer__foot { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px 16px calc(14px + var(--vl-safe-b)); border-top: 1px solid var(--vl-line); }
.vl-drawer__foot .vl-btn { padding: 12px 10px; font-size: 14px; }

.vl-search__panel { position: absolute; left: 0; right: 0; top: 0; background: #fff; padding: 18px 20px 24px; border-radius: 0 0 24px 24px; transform: translateY(-102%); transition: transform .3s cubic-bezier(.2, .8, .2, 1); max-width: 720px; margin: 0 auto; box-shadow: var(--vl-shadow-lg); }
.vl-search.is-open .vl-search__panel { transform: none; }
.vl-search__label { margin: 18px 0 8px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--vl-muted); }
.vl-searchform { position: relative; display: flex; align-items: center; gap: 8px; background: var(--vl-bg); border-radius: 999px; padding: 4px 4px 4px 16px; border: 1.5px solid transparent; transition: border-color .2s, background .2s; }
.vl-searchform:focus-within { background: #fff; border-color: var(--vl-accent); }
.vl-searchform .vl-ico { color: var(--vl-muted); }
.vl-searchform input[type=search] { flex: 1; border: 0; background: transparent; padding: 11px 4px; box-shadow: none !important; min-width: 0; }
.vl-searchform button { border: 0; background: var(--vl-primary); color: #fff; font-weight: 700; padding: 11px 20px; border-radius: 999px; }

/* Chips */
.vl-chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 12px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.vl-chips::-webkit-scrollbar { display: none; }
.vl-chips--wrap { flex-wrap: wrap; overflow: visible; }
.vl-chip { flex: none; padding: 9px 18px; background: #fff; border: 1.5px solid var(--vl-line); border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--vl-text); white-space: nowrap; transition: .18s; }
.vl-chip:hover { border-color: var(--vl-primary); color: var(--vl-primary); }
.vl-chip.is-active { background: var(--vl-primary); border-color: var(--vl-primary); color: #fff; }

/* =========================================================
   4. Homepage
   ========================================================= */
.vl-main { min-height: 50vh; }
.vl-main--full { padding: 0; }
.vl-home { padding-bottom: 24px; }
.vl-notice-box { margin: 20px 0; padding: 16px 18px; background: #fff7ed; border: 1px solid #fed7aa; border-radius: var(--vl-radius-sm); }

.vl-hero { padding: 18px 0 8px; }
.vl-hero__card {
	position: relative; overflow: hidden; display: grid; gap: 28px; align-items: center;
	padding: 36px 24px; border-radius: 28px; color: #fff;
	background:
		radial-gradient(circle at 85% 15%, color-mix(in srgb, var(--vl-accent) 55%, transparent), transparent 46%),
		radial-gradient(circle at 5% 100%, color-mix(in srgb, var(--vl-accent) 25%, transparent), transparent 40%),
		var(--vl-primary);
}
.vl-eyebrow { display: inline-block; padding: 6px 14px; margin-bottom: 16px; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .22); font-size: 12.5px; font-weight: 700; letter-spacing: .02em; }
.vl-hero h1 { color: #fff; font-size: clamp(30px, 6vw, 54px); line-height: 1.08; letter-spacing: -.03em; margin-bottom: 14px; max-width: 14ch; }
.vl-hero p { color: rgba(255, 255, 255, .82); font-size: 16px; max-width: 46ch; margin-bottom: 24px; }
.vl-hero__cta { display: flex; flex-wrap: wrap; gap: 10px; }
.vl-hero__art { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-items: end; }
.vl-hero__pic { overflow: hidden; border-radius: 20px; background: rgba(255, 255, 255, .1); aspect-ratio: 3 / 4; box-shadow: 0 18px 40px rgba(0, 0, 0, .28); }
.vl-hero__pic:nth-child(2) { transform: translateY(-14px); }
.vl-hero__pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vl-hero__art--img { display: block; }
.vl-hero__art--img img { width: 100%; border-radius: 22px; display: block; }

.vl-section { padding: 28px 0 8px; }
.vl-section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.vl-section__title { margin: 0; font-size: clamp(20px, 3.4vw, 28px); }
.vl-section__link { font-weight: 700; font-size: 14px; color: var(--vl-accent); white-space: nowrap; }

.vl-cats { display: flex; gap: 14px; overflow-x: auto; padding: 4px 2px 12px; scroll-snap-type: x proximity; scrollbar-width: none; }
.vl-cats::-webkit-scrollbar { display: none; }
.vl-cat { flex: none; width: 92px; text-align: center; scroll-snap-align: start; }
.vl-cat__img { display: flex; align-items: center; justify-content: center; width: 92px; height: 92px; margin-bottom: 8px; overflow: hidden; border-radius: 50%; background: #fff; border: 2px solid #fff; box-shadow: var(--vl-shadow); font-size: 28px; font-weight: 800; color: var(--vl-accent); transition: transform .2s; }
.vl-cat:hover .vl-cat__img { transform: translateY(-3px) scale(1.03); }
.vl-cat__img img { width: 100%; height: 100%; object-fit: cover; }
.vl-cat__name { display: block; font-size: 13px; font-weight: 700; line-height: 1.3; color: var(--vl-text); }

.vl-benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.vl-benefit { display: flex; gap: 12px; align-items: center; padding: 16px; background: #fff; border-radius: var(--vl-radius); box-shadow: var(--vl-shadow); color: var(--vl-accent); }
.vl-benefit strong { display: block; font-size: 14px; color: var(--vl-primary); line-height: 1.3; }
.vl-benefit span { display: block; font-size: 12.5px; color: var(--vl-muted); line-height: 1.35; }

/* Product rail on mobile (horizontal scroll) */
@media (max-width: 767px) {
	.vl-rail .woocommerce ul.products { display: flex !important; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 2px 14px; margin: 0 -20px !important; padding-left: 20px; padding-right: 20px; scrollbar-width: none; }
	.vl-rail .woocommerce ul.products::-webkit-scrollbar { display: none; }
	.vl-rail .woocommerce ul.products li.product { flex: none; width: 168px !important; scroll-snap-align: start; margin: 0 !important; }
}

/* =========================================================
   5. Product grid + card (loop)
   ========================================================= */
.woocommerce ul.products, .woocommerce-page ul.products { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0 0 24px; padding: 0; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
	position: relative; display: flex; flex-direction: column; float: none !important; width: auto !important; margin: 0 !important; padding: 0;
	background: #fff; border-radius: var(--vl-radius); overflow: hidden; box-shadow: var(--vl-shadow);
	transition: transform .25s ease, box-shadow .25s ease;
}
.woocommerce ul.products li.product:hover { transform: translateY(-4px); box-shadow: var(--vl-shadow-lg); }
.vl-card__media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #f1f2f4; }
.vl-card__link { display: block; width: 100%; height: 100%; }
.vl-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; margin: 0 !important; transition: opacity .35s ease, transform .5s ease; }
.vl-card__img2 { opacity: 0; }
.woocommerce ul.products li.product:hover .vl-card__img2 { opacity: 1; }
.woocommerce ul.products li.product:hover .vl-card__img1 { transform: scale(1.04); }
.vl-badge-sale { position: absolute; top: 10px; left: 10px; z-index: 2; padding: 4px 10px; border-radius: 999px; background: var(--vl-accent); color: #fff; font-size: 11.5px; font-weight: 800; line-height: 1.5; }
.vl-badge-out { background: #111827; }
.vl-card__body { display: flex; flex-direction: column; flex: 1; padding: 12px 14px 14px; }
.vl-card__cat { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--vl-muted); margin-bottom: 3px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { margin: 0 0 6px; padding: 0; font-size: 14.5px; font-weight: 700; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.woocommerce ul.products li.product .star-rating { margin: 0 0 6px; font-size: 12px; }
.woocommerce .star-rating span::before, .woocommerce .star-rating::before { color: #f59e0b; }
.woocommerce ul.products li.product .price { display: block; margin: auto 0 10px; font-size: 16px; font-weight: 800; color: var(--vl-primary); }
.woocommerce ul.products li.product .price del { font-size: 13px; font-weight: 500; color: var(--vl-muted); opacity: 1; margin-right: 4px; }
.woocommerce ul.products li.product .price ins { text-decoration: none; color: var(--vl-accent); }
.woocommerce ul.products li.product .button { width: 100%; padding: 10px 12px; font-size: 13.5px; margin: 0; }
.woocommerce ul.products li.product a.added_to_cart { display: block; text-align: center; font-weight: 700; font-size: 13px; padding-top: 8px; color: var(--vl-accent); }
.woocommerce span.onsale { display: none; }

/* Shop page chrome */
.vl-woo { padding-top: 22px; padding-bottom: 36px; }
.woocommerce-products-header__title, .woocommerce .page-title, .vl-page-title { font-size: clamp(24px, 4vw, 36px); margin-bottom: 14px; }
.woocommerce-breadcrumb { margin: 0 0 14px; font-size: 13px; color: var(--vl-muted); }
.woocommerce-breadcrumb a { color: var(--vl-muted); }
.woocommerce-breadcrumb a:hover { color: var(--vl-accent); }
.vl-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.vl-toolbar .woocommerce-result-count { margin: 0; font-size: 13px; color: var(--vl-muted); }
.vl-toolbar .woocommerce-ordering { margin: 0; }
.vl-toolbar .woocommerce-ordering select { padding: 9px 36px 9px 14px; border-radius: 999px; font-weight: 600; font-size: 13.5px; width: auto; max-width: 190px; }
.woocommerce nav.woocommerce-pagination, .navigation.pagination { margin: 28px 0 8px; text-align: center; }
.woocommerce nav.woocommerce-pagination ul { display: inline-flex; gap: 6px; border: 0; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; float: none; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span, .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 12px; margin: 0 2px; border-radius: 12px; background: #fff; color: var(--vl-text); font-weight: 700; box-shadow: var(--vl-shadow); }
.woocommerce nav.woocommerce-pagination ul li span.current, .page-numbers.current { background: var(--vl-primary); color: #fff; }
.woocommerce-info, .woocommerce-message, .woocommerce-error, .woocommerce-noreviews { margin: 0 0 18px; padding: 14px 18px; list-style: none; background: #fff; border: 0; border-left: 4px solid var(--vl-primary); border-radius: var(--vl-radius-sm); box-shadow: var(--vl-shadow); }
.woocommerce-message { border-left-color: #16a34a; }
.woocommerce-error { border-left-color: #dc2626; }
.woocommerce-info::before, .woocommerce-message::before, .woocommerce-error::before { display: none; }
.woocommerce-message .button, .woocommerce-info .button { float: right; padding: 8px 18px; font-size: 13px; margin-left: 12px; }

/* =========================================================
   6. Single product
   ========================================================= */
.single-product div.product { position: relative; display: block; }
.single-product div.product .woocommerce-product-gallery { position: relative; margin: 0 -20px 18px; width: auto !important; float: none !important; background: #fff; }
.single-product div.product div.images img { width: 100%; display: block; }
.single-product .flex-control-thumbs { display: flex; gap: 8px; overflow-x: auto; margin: 10px 20px 0; padding: 0 0 8px; list-style: none; scrollbar-width: none; }
.single-product .flex-control-thumbs li { flex: none; width: 64px !important; float: none !important; margin: 0 !important; }
.single-product .flex-control-thumbs img { border-radius: 10px; opacity: .6; border: 2px solid transparent; cursor: pointer; transition: .2s; }
.single-product .flex-control-thumbs img.flex-active, .single-product .flex-control-thumbs img:hover { opacity: 1; border-color: var(--vl-accent); }
.woocommerce-product-gallery__trigger { position: absolute; top: 14px; right: 14px; z-index: 5; width: 42px; height: 42px; border-radius: 50%; background: #fff; box-shadow: var(--vl-shadow); text-indent: -999px; overflow: hidden; }
.woocommerce-product-gallery__trigger::before { left: 12px; top: 12px; }
.vl-back { position: absolute; top: 14px; left: 14px; z-index: 6; display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--vl-primary); box-shadow: var(--vl-shadow); }
.single-product div.product .summary { float: none !important; width: auto !important; padding: 0; }
.single-product .product_title { font-size: clamp(22px, 4.5vw, 34px); margin-bottom: 8px; }
.single-product .woocommerce-product-rating { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.single-product .woocommerce-review-link { font-size: 13px; color: var(--vl-muted); }
.single-product .summary .price { display: block; margin: 0 0 14px; font-size: 26px; font-weight: 800; color: var(--vl-primary); }
.single-product .summary .price del { font-size: 17px; font-weight: 500; color: var(--vl-muted); margin-right: 6px; opacity: 1; }
.single-product .summary .price ins { text-decoration: none; color: var(--vl-accent); }
.single-product .woocommerce-product-details__short-description { color: var(--vl-muted); margin-bottom: 18px; }
.single-product form.cart { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 0 18px; }
.single-product form.cart .quantity { margin: 0; }
.single-product form.cart .single_add_to_cart_button { flex: 1; min-width: 160px; padding: 15px 24px; font-size: 16px; }
.single-product form.variations_form { display: block; }
.single-product table.variations { width: 100%; border: 0; margin-bottom: 14px; border-collapse: collapse; }
.single-product table.variations tr { display: block; margin-bottom: 12px; }
.single-product table.variations th, .single-product table.variations td { display: block; padding: 0; text-align: left; }
.single-product table.variations label { display: block; margin-bottom: 6px; }
.single-product .reset_variations { display: inline-block; margin-top: 6px; font-size: 13px; color: var(--vl-muted); }
.single-product .woocommerce-variation { width: 100%; margin-bottom: 12px; }
.single-product .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; gap: 12px; width: 100%; }
.single-product .product_meta { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--vl-line); font-size: 13px; color: var(--vl-muted); }
.single-product .product_meta > span { display: block; margin-bottom: 4px; }
.single-product .product_meta a { color: var(--vl-text); font-weight: 600; }
.vl-trust { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 16px 0 0; padding: 14px 8px; background: #fff; border-radius: var(--vl-radius); box-shadow: var(--vl-shadow); }
.vl-trust li { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-size: 11.5px; font-weight: 700; color: var(--vl-muted); }
.vl-trust .vl-ico { color: var(--vl-accent); }

/* Quantity stepper */
.vl-qty { display: inline-flex; align-items: center; background: var(--vl-bg); border-radius: 999px; padding: 4px; }
.vl-qty input.qty { width: 44px; padding: 8px 0; border: 0; background: transparent; text-align: center; font-weight: 800; -moz-appearance: textfield; box-shadow: none !important; }
.vl-qty input.qty::-webkit-outer-spin-button, .vl-qty input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.vl-qty__btn { width: 38px; height: 38px; border: 0; border-radius: 50%; background: #fff; color: var(--vl-primary); font-size: 20px; line-height: 1; font-weight: 700; box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.vl-qty__btn:active { transform: scale(.92); }

/* Tabs */
.woocommerce div.product .woocommerce-tabs { margin-top: 28px; padding: 6px 18px 18px; background: #fff; border-radius: var(--vl-radius); box-shadow: var(--vl-shadow); clear: both; }
.woocommerce div.product .woocommerce-tabs ul.tabs { display: flex; gap: 6px; overflow-x: auto; margin: 0 0 16px; padding: 10px 0 0; list-style: none; border-bottom: 1px solid var(--vl-line); scrollbar-width: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before, .woocommerce div.product .woocommerce-tabs ul.tabs::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { flex: none; margin: 0; padding: 0; background: transparent; border: 0; border-radius: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 10px 14px; font-weight: 700; color: var(--vl-muted); border-bottom: 3px solid transparent; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--vl-primary); border-bottom-color: var(--vl-accent); }
.woocommerce div.product .woocommerce-tabs .panel { margin: 0; }
.woocommerce div.product .woocommerce-tabs .panel > h2:first-child { font-size: 18px; }
.woocommerce table.shop_attributes { border: 0; width: 100%; }
.woocommerce table.shop_attributes th, .woocommerce table.shop_attributes td { padding: 10px 6px; border: 0; border-bottom: 1px solid var(--vl-line); background: transparent; font-style: normal; }
.woocommerce #reviews #comments ol.commentlist { padding: 0; }
.woocommerce #reviews #comments ol.commentlist li { list-style: none; padding: 14px 0; border-bottom: 1px solid var(--vl-line); }
.woocommerce #reviews #comments ol.commentlist li img.avatar { position: static; float: left; width: 44px; margin-right: 12px; border-radius: 50%; padding: 0; border: 0; }
.woocommerce #reviews #comments ol.commentlist li .comment-text { margin: 0 0 0 56px; padding: 0; border: 0; }

.related.products, .upsells.products, .cross-sells { margin-top: 36px; }
.related.products > h2, .upsells.products > h2, .cross-sells > h2 { font-size: clamp(20px, 3.4vw, 26px); margin-bottom: 14px; }

/* Sticky Add to cart (mobile only) */
.vl-sticky { display: none; }
@media (max-width: 767px) {
	.single-product { padding-bottom: calc(86px + var(--vl-safe-b)); }
	.single-product form.cart .single_add_to_cart_button { display: none; }
	.single-product form.cart:not(.variations_form) .quantity { margin: 0; }
	.single-product form.cart .woocommerce-variation-add-to-cart .single_add_to_cart_button { display: none; }
	.vl-sticky {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 120;
		display: flex; align-items: center; gap: 12px;
		padding: 10px 14px calc(10px + var(--vl-safe-b));
		background: rgba(255, 255, 255, .96); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
		border-top: 1px solid var(--vl-line); border-radius: 20px 20px 0 0; box-shadow: 0 -10px 30px rgba(16, 24, 40, .1);
		animation: vl-up .35s ease both;
	}
	.vl-sticky__thumb { flex: none; width: 48px; height: 48px; border-radius: 12px; overflow: hidden; background: var(--vl-bg); }
	.vl-sticky__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
	.vl-sticky__info { flex: 1; min-width: 0; line-height: 1.25; }
	.vl-sticky__title { font-size: 12.5px; font-weight: 600; color: var(--vl-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.vl-sticky__price { font-size: 17px; font-weight: 800; color: var(--vl-primary); }
	.vl-sticky__price del { font-size: 12px; font-weight: 500; color: var(--vl-muted); margin-right: 4px; opacity: 1; }
	.vl-sticky__price ins { text-decoration: none; color: var(--vl-accent); }
	.vl-sticky .vl-btn { flex: none; padding: 14px 22px; font-size: 15px; }
	.vl-flash { animation: vl-flash 1.2s ease; border-radius: 12px; }
}
@keyframes vl-up { from { transform: translateY(100%); } to { transform: none; } }
@keyframes vl-flash { 0%, 100% { box-shadow: 0 0 0 0 transparent; } 30% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--vl-accent) 30%, transparent); } }

/* =========================================================
   7. Cart / checkout / account
   ========================================================= */
.vl-page { padding-top: 22px; padding-bottom: 40px; }
.vl-page--narrow { max-width: 820px; }
.vl-content > *:last-child { margin-bottom: 0; }
.vl-content img { border-radius: 12px; }
.woocommerce table.shop_table { border: 0; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: var(--vl-radius); box-shadow: var(--vl-shadow); overflow: hidden; width: 100%; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: 14px 16px; border: 0; border-bottom: 1px solid var(--vl-line); text-align: left; }
.woocommerce table.shop_table tr:last-child td, .woocommerce table.shop_table tr:last-child th { border-bottom: 0; }
.woocommerce-cart-form .product-thumbnail img { width: 70px; border-radius: 10px; }
.woocommerce a.remove { color: #dc2626 !important; font-size: 22px; }
.woocommerce a.remove:hover { background: #dc2626 !important; color: #fff !important; }
.woocommerce .cart-collaterals { margin-top: 24px; }
.woocommerce .cart-collaterals .cart_totals, .woocommerce-page .cart-collaterals .cart_totals { float: none; width: 100%; }
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button { display: block; padding: 16px; font-size: 16px; background: var(--vl-accent); }
.woocommerce .coupon { display: flex; gap: 8px; }
.woocommerce .coupon input.input-text { flex: 1; width: auto !important; }
.woocommerce-checkout #customer_details, .woocommerce-checkout #order_review { background: #fff; padding: 18px; border-radius: var(--vl-radius); box-shadow: var(--vl-shadow); margin-bottom: 18px; }
.woocommerce-checkout #order_review_heading { margin-top: 8px; }
.woocommerce-checkout #payment { background: transparent; border-radius: 0; }
.woocommerce-checkout #payment ul.payment_methods { border: 0; padding: 0; }
.woocommerce-checkout #payment div.payment_box { background: var(--vl-bg); border-radius: 12px; color: var(--vl-text); }
.woocommerce-checkout #payment div.payment_box::before { display: none; }
.woocommerce-checkout #payment #place_order { width: 100%; padding: 16px; font-size: 16px; float: none; }
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; display: flex; gap: 8px; overflow-x: auto; margin: 0 0 20px; padding: 2px 0 8px; scrollbar-width: none; }
.woocommerce-account .woocommerce-MyAccount-navigation li a { display: block; padding: 10px 18px; background: #fff; border-radius: 999px; font-weight: 700; font-size: 14px; white-space: nowrap; box-shadow: var(--vl-shadow); }
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { background: var(--vl-primary); color: #fff; }
.woocommerce-account .woocommerce-MyAccount-content, .woocommerce form.login, .woocommerce form.register { background: #fff; padding: 20px; border: 0; border-radius: var(--vl-radius); box-shadow: var(--vl-shadow); }

@media (max-width: 767px) {
	.woocommerce table.shop_table_responsive tr td { display: flex; justify-content: space-between; gap: 12px; text-align: right !important; }
	.woocommerce table.shop_table_responsive tr td::before { content: attr(data-title); font-weight: 700; text-align: left; color: var(--vl-muted); }
	.woocommerce table.shop_table_responsive tr td.product-remove::before, .woocommerce table.shop_table_responsive tr td.actions::before { display: none; }
	.woocommerce table.shop_table_responsive thead { display: none; }
	.woocommerce-cart-form .product-thumbnail { justify-content: center !important; }
	.woocommerce .coupon { flex-wrap: wrap; }
	.woocommerce-cart table.cart td.actions .button { width: 100%; margin-top: 8px; }
}

/* =========================================================
   8. Blog, 404, footer
   ========================================================= */
.vl-posts { display: grid; grid-template-columns: 1fr; gap: 16px; }
.vl-post { background: #fff; border-radius: var(--vl-radius); box-shadow: var(--vl-shadow); overflow: hidden; }
.vl-post__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.vl-post__body { padding: 16px 18px 20px; }
.vl-post__body h2 { font-size: 19px; }
.vl-post__date { font-size: 12.5px; font-weight: 700; color: var(--vl-muted); }
.vl-article__img { margin: 16px 0; }
.vl-article__img img { border-radius: var(--vl-radius); width: 100%; }
.vl-404 { text-align: center; padding-top: 60px; }
.vl-404__code { font-size: clamp(80px, 22vw, 160px); font-weight: 800; line-height: 1; letter-spacing: -.05em; color: var(--vl-accent); }

.vl-footer { margin-top: 40px; padding: 44px 0 0; background: var(--vl-primary); color: rgba(255, 255, 255, .72); }
.vl-footer__grid { display: grid; grid-template-columns: 1fr; gap: 28px; padding-bottom: 32px; }
.vl-footer__brand { font-size: 24px; font-weight: 800; color: #fff; margin-bottom: 8px; letter-spacing: -.02em; }
.vl-footer h3 { color: #fff; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.vl-flinks { list-style: none; display: grid; gap: 10px; margin: 0; }
.vl-flinks a:hover, .vl-social a:hover { color: #fff; }
.vl-social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.vl-social a { padding: 7px 14px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; font-size: 13px; font-weight: 600; }
.vl-footer__bottom { padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; }

/* Toast */
.vl-toast { position: fixed; left: 50%; bottom: calc(var(--vl-safe-b) + 24px); z-index: 300; display: flex; align-items: center; gap: 16px; padding: 13px 18px; border-radius: 999px; background: var(--vl-primary); color: #fff; font-weight: 600; font-size: 14px; box-shadow: var(--vl-shadow-lg); transform: translate(-50%, 160%); transition: transform .35s cubic-bezier(.2, .8, .2, 1); white-space: nowrap; }
.vl-toast.is-show { transform: translate(-50%, 0); }
.vl-toast a { color: var(--vl-accent); font-weight: 800; }

/* =========================================================
   9. Mobile app bottom navigation
   ========================================================= */
.vl-tabbar { display: none; }
@media (max-width: 767px) {
	body.has-tabbar { padding-bottom: calc(var(--vl-tab-h) + var(--vl-safe-b)); }
	.vl-tabbar {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 110;
		display: grid; grid-template-columns: repeat(5, 1fr);
		height: calc(var(--vl-tab-h) + var(--vl-safe-b)); padding-bottom: var(--vl-safe-b);
		background: rgba(255, 255, 255, .96); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
		border-top: 1px solid var(--vl-line); box-shadow: 0 -8px 28px rgba(16, 24, 40, .07);
	}
	.vl-tab { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 0; border: 0; background: transparent; color: var(--vl-muted); font-size: 10.5px; font-weight: 700; transition: color .2s; }
	.vl-tab span:not(.vl-badge):not(.vl-tab__ico) { line-height: 1; }
	.vl-tab:hover { color: var(--vl-muted); }
	.vl-tab.is-active { color: var(--vl-accent); }
	.vl-tab.is-active::before { content: ""; position: absolute; top: 0; width: 28px; height: 3px; border-radius: 0 0 4px 4px; background: var(--vl-accent); }
	.vl-tab__ico { position: relative; display: block; }
	.vl-tab .vl-badge { top: -6px; right: -10px; }
	.vl-toast { bottom: calc(var(--vl-tab-h) + var(--vl-safe-b) + 16px); }
	.single-product .vl-toast { bottom: calc(86px + var(--vl-safe-b)); }
	.vl-footer { margin-bottom: 0; }
}

/* =========================================================
   10. Larger screens
   ========================================================= */
@media (min-width: 768px) {
	.vl-container { padding: 0 28px; }
	.vl-burger { display: none; }
	.vl-nav { display: block; margin-left: 12px; }
	.vl-hide-mobile { display: inline-flex; }
	.vl-hero__card { grid-template-columns: 1.1fr 1fr; padding: 56px 52px; }
	.vl-benefits { grid-template-columns: repeat(4, 1fr); }
	.vl-cats { gap: 22px; }
	.vl-cat, .vl-cat__img { width: 112px; }
	.vl-cat__img { height: 112px; }
	.woocommerce ul.products, .woocommerce-page ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
	.vl-posts { grid-template-columns: repeat(2, 1fr); }
	.vl-footer__grid { grid-template-columns: 1.6fr 1fr 1fr; }

	/* Single product: two columns */
	.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 44px; align-items: start; }
	.single-product div.product .woocommerce-product-gallery { margin: 0; border-radius: 24px; overflow: hidden; box-shadow: var(--vl-shadow); position: sticky; top: calc(var(--vl-header-h) + 16px); }
	.single-product .flex-control-thumbs { margin: 12px; }
	.single-product div.product .summary { padding-top: 6px; }
	.single-product div.product .woocommerce-tabs, .single-product div.product .related, .single-product div.product .upsells { grid-column: 1 / -1; }
	.vl-back { display: none; }
	.woocommerce-checkout form.checkout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: start; }
	.woocommerce-checkout #order_review_heading { display: none; }
	.woocommerce-account .woocommerce { display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: start; }
	.woocommerce-account .woocommerce-MyAccount-navigation ul { flex-direction: column; overflow: visible; }
	.woocommerce-account .woocommerce-MyAccount-navigation li a { border-radius: 12px; }
	.woocommerce-cart .woocommerce { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; align-items: start; }
	.woocommerce-cart .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
	.woocommerce-cart .cart-collaterals { margin-top: 0; }
}

@media (min-width: 1024px) {
	.woocommerce ul.products, .woocommerce-page ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.vl-posts { grid-template-columns: repeat(3, 1fr); }
	.vl-footer__grid { grid-template-columns: 2fr 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
	* { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Elementor: let its sections use the full width */
.elementor-page .vl-main--full { max-width: none; }
.elementor-page .vl-woo { max-width: none; }
