/*
Theme Name: Digivora Scripts
Theme URI: https://digivora.socialbost.com
Author: Digivora
Description: Modern WooCommerce store theme for selling SMM panel scripts, IPTV scripts and Shopify themes with instant digital delivery.
Version: 1.0.1
Requires at least: 6.0
Requires PHP: 7.4
WC requires at least: 7.0
License: GNU General Public License v2 or later
Text Domain: digivora
*/

:root {
	--bg: #f5f6fb;
	--surface: #ffffff;
	--surface-2: #eef0f8;
	--ink: #0e1124;
	--ink-2: #4a4f6a;
	--muted: #80859f;
	--line: #e3e6f0;
	--brand: #5b3df5;
	--brand-2: #00b8f0;
	--brand-ink: #ffffff;
	--sale: #16a34a;
	--price: #e8590c;
	--dark: #0b0d1a;
	--dark-2: #141833;
	--radius: 14px;
	--radius-sm: 10px;
	--shadow: 0 1px 2px rgba(14, 17, 36, .04), 0 8px 24px rgba(14, 17, 36, .06);
	--shadow-lg: 0 20px 50px rgba(14, 17, 36, .14);
	--font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--font-head: "Sora", var(--font);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; z-index: 9999; top: 8px; left: 8px;
	background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
}
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

.dv-container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .dv-container { padding: 0 24px; } }

.dv-ico { flex-shrink: 0; }

/* ---------- Buttons ---------- */
.dv-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 14px 24px; border-radius: 12px; border: 0; cursor: pointer;
	font-weight: 700; font-size: 15px; line-height: 1; transition: transform .15s, box-shadow .15s, background .15s;
}
.dv-btn--primary { background: linear-gradient(135deg, var(--brand), #7c5cff); color: #fff; box-shadow: 0 8px 24px rgba(91, 61, 245, .35); }
.dv-btn--primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 30px rgba(91, 61, 245, .45); }
.dv-btn--ghost { background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .18); }
.dv-btn--ghost:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.dv-btn--light { background: #fff; color: var(--ink); }
.dv-btn--light:hover { color: var(--brand); transform: translateY(-2px); }

/* ---------- Announcement ---------- */
.dv-announce {
	background: linear-gradient(90deg, #ff8a00, #ff5e3a);
	color: #fff; text-align: center; font-weight: 700; font-size: 14px; padding: 9px 0;
}
.dv-announce a { color: #fff; text-decoration: underline; }

/* ---------- Header ---------- */
.dv-header { background: var(--surface); position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.admin-bar .dv-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .dv-header { top: 0; } }
.dv-header.is-scrolled { box-shadow: 0 6px 24px rgba(14, 17, 36, .08); }
.dv-header__row { display: flex; align-items: center; gap: 20px; padding-top: 14px; padding-bottom: 14px; }

.dv-brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-family: var(--font-head); font-weight: 800; font-size: 21px; letter-spacing: -.03em; }
.dv-brand:hover { color: var(--ink); }
.dv-brand__mark {
	width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: #fff;
	background: linear-gradient(135deg, var(--brand), var(--brand-2));
}
.dv-brand img, .custom-logo { max-height: 46px; width: auto; }

.dv-search { flex: 1; max-width: 560px; display: flex; align-items: center; background: var(--surface-2); border: 1px solid transparent; border-radius: 12px; padding: 0 6px 0 14px; transition: border-color .15s, background .15s; }
.dv-search:focus-within { background: #fff; border-color: var(--brand); }
.dv-search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 12px 8px; outline: none; color: var(--ink); }
.dv-search button { border: 0; background: var(--brand); color: #fff; width: 38px; height: 38px; border-radius: 9px; display: grid; place-items: center; cursor: pointer; }

.dv-header__actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.dv-action { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 10px; color: var(--ink); font-weight: 600; font-size: 14px; position: relative; }
.dv-action:hover { background: var(--surface-2); color: var(--ink); }
.dv-cart-count {
	min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--brand); color: #fff;
	font-size: 11px; font-weight: 800; display: inline-grid; place-items: center;
}
.dv-burger { display: none; border: 0; background: var(--surface-2); color: var(--ink); width: 42px; height: 42px; border-radius: 10px; cursor: pointer; place-items: center; }

.dv-nav { background: var(--dark); }
.dv-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.dv-nav li { position: relative; }
.dv-nav a { display: block; color: #d6d9ee; font-weight: 600; font-size: 15px; padding: 14px 14px; }
.dv-nav a:hover, .dv-nav .current-menu-item > a, .dv-nav .current-menu-ancestor > a { color: #fff; }
.dv-nav .current-menu-item > a { box-shadow: inset 0 -3px 0 var(--brand-2); }
.dv-nav .sub-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 220px; background: var(--dark-2); border-radius: 0 0 12px 12px; padding: 8px; flex-direction: column; z-index: 50; }
.dv-nav li:hover > .sub-menu, .dv-nav li:focus-within > .sub-menu { display: flex; }
.dv-nav .sub-menu a { padding: 10px 12px; border-radius: 8px; }
.dv-nav .sub-menu a:hover { background: rgba(255, 255, 255, .06); }

@media (max-width: 900px) {
	.dv-header__row { flex-wrap: wrap; gap: 12px; }
	.dv-search { order: 3; flex-basis: 100%; max-width: none; }
	.dv-action__label { display: none; }
	.dv-burger { display: grid; }
	.dv-nav { display: none; }
	.dv-nav.is-open { display: block; }
	.dv-nav ul { flex-direction: column; padding: 8px 0; }
	.dv-nav a { padding: 12px 4px; }
	.dv-nav .sub-menu { position: static; display: flex; background: transparent; padding: 0 0 0 16px; }
}

/* ---------- Hero ---------- */
.dv-hero {
	position: relative; overflow: hidden; color: #fff; background: var(--dark);
	padding: 72px 0 88px;
}
.dv-hero::before, .dv-hero::after { content: ""; position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; pointer-events: none; }
.dv-hero::before { width: 520px; height: 520px; background: var(--brand); top: -200px; left: -120px; }
.dv-hero::after { width: 460px; height: 460px; background: var(--brand-2); bottom: -260px; right: -80px; opacity: .35; }
.dv-hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.dv-hero__badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 99px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); font-size: 13px; font-weight: 600; color: #cfd3ff; margin-bottom: 22px; }
.dv-hero__badge i { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, .25); }
.dv-hero h1 { font-size: clamp(34px, 5vw, 58px); font-weight: 800; margin-bottom: 20px; }
.dv-grad { background: linear-gradient(90deg, #a996ff, var(--brand-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dv-hero__text { font-size: 18px; color: #b7bbd6; max-width: 560px; margin-bottom: 32px; }
.dv-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.dv-hero__stats { display: flex; flex-wrap: wrap; gap: 36px; }
.dv-hero__stats strong { display: block; font-family: var(--font-head); font-size: 28px; font-weight: 800; }
.dv-hero__stats span { color: #9196b5; font-size: 14px; }

.dv-mock { position: relative; }
.dv-mock__win { background: rgba(20, 24, 51, .85); border: 1px solid rgba(255, 255, 255, .1); border-radius: 18px; padding: 18px; box-shadow: 0 40px 80px rgba(0, 0, 0, .45); backdrop-filter: blur(10px); }
.dv-mock__bar { display: flex; gap: 6px; margin-bottom: 18px; }
.dv-mock__bar span { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.dv-mock__bar span:nth-child(2) { background: #febc2e; }
.dv-mock__bar span:nth-child(3) { background: #28c840; }
.dv-mock__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.dv-mock__kpi { background: rgba(255, 255, 255, .05); border-radius: 12px; padding: 12px; }
.dv-mock__kpi small { color: #8e93b3; font-size: 11px; display: block; }
.dv-mock__kpi b { font-family: var(--font-head); font-size: 19px; }
.dv-mock__kpi em { font-style: normal; color: #4ade80; font-size: 11px; font-weight: 700; }
.dv-mock__chart { display: flex; align-items: flex-end; gap: 8px; height: 130px; background: rgba(255, 255, 255, .04); border-radius: 12px; padding: 14px; }
.dv-mock__chart span { flex: 1; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--brand-2), var(--brand)); animation: dv-grow 1.2s ease-out both; transform-origin: bottom; }
.dv-mock__rows { margin-top: 14px; display: grid; gap: 8px; }
.dv-mock__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: rgba(255, 255, 255, .04); border-radius: 10px; padding: 10px 12px; font-size: 13px; color: #c9cce4; }
.dv-mock__row b { color: #4ade80; font-weight: 700; }
.dv-chip { position: absolute; display: flex; align-items: center; gap: 8px; background: #fff; color: var(--ink); padding: 10px 14px; border-radius: 12px; font-weight: 700; font-size: 13px; box-shadow: var(--shadow-lg); animation: dv-float 5s ease-in-out infinite; }
.dv-chip .dv-ico { color: var(--brand); }
.dv-chip--a { top: -18px; right: -14px; }
.dv-chip--b { top: 42%; left: -36px; animation-delay: -2s; }
.dv-chip--c { bottom: -18px; right: 30px; animation-delay: -3.5s; }
@keyframes dv-float { 50% { transform: translateY(-10px); } }
@keyframes dv-grow { from { transform: scaleY(0); } }
@media (prefers-reduced-motion: reduce) { .dv-chip, .dv-mock__chart span { animation: none; } }

@media (max-width: 960px) {
	.dv-hero { padding: 48px 0 64px; }
	.dv-hero__grid { grid-template-columns: 1fr; gap: 48px; }
	.dv-chip--b { left: -6px; }
	.dv-chip--a { right: -4px; }
}

/* ---------- Trust strip ---------- */
.dv-trust { background: var(--surface); border-bottom: 1px solid var(--line); }
.dv-trust__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 22px; padding-bottom: 22px; }
.dv-trust__item { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 14px; }
.dv-trust__item small { display: block; font-weight: 500; color: var(--muted); font-size: 13px; }
.dv-trust__item .dv-ico { color: var(--brand); width: 42px; height: 42px; padding: 10px; border-radius: 12px; background: #efeaff; }
@media (max-width: 900px) { .dv-trust__row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .dv-trust__row { grid-template-columns: 1fr; } }

/* ---------- Sections ---------- */
.dv-section { padding: 72px 0; }
.dv-section--alt { background: var(--surface); }
.dv-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 32px; flex-wrap: wrap; }
.dv-section__head h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 800; margin: 0 0 6px; }
.dv-section__head p { color: var(--ink-2); margin: 0; max-width: 640px; }
.dv-section__head--center { flex-direction: column; align-items: center; text-align: center; }
.dv-eyebrow { display: inline-block; color: var(--brand); font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px; }
.dv-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.dv-empty { padding: 28px; border: 2px dashed var(--line); border-radius: var(--radius); color: var(--muted); text-align: center; }

/* ---------- Category cards ---------- */
.dv-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.dv-cat { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: 18px; color: #fff; min-height: 220px; transition: transform .2s, box-shadow .2s; }
.dv-cat:hover { color: #fff; transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.dv-cat--smm { background: linear-gradient(140deg, #5b3df5, #8b5cf6); }
.dv-cat--iptv { background: linear-gradient(140deg, #0f172a, #1e3a8a); }
.dv-cat--shop { background: linear-gradient(140deg, #059669, #10b981); }
.dv-cat__icon { width: 52px; height: 52px; border-radius: 14px; background: rgba(255, 255, 255, .16); display: grid; place-items: center; }
.dv-cat h3 { font-size: 22px; margin: 6px 0 0; }
.dv-cat p { color: rgba(255, 255, 255, .8); font-size: 15px; margin: 0; }
.dv-cat__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 14px; }
.dv-cat__foot span:first-child { background: rgba(255, 255, 255, .16); padding: 4px 10px; border-radius: 99px; }
.dv-cat::after { content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%; border: 30px solid rgba(255, 255, 255, .07); right: -60px; top: -60px; }
@media (max-width: 900px) { .dv-cats { grid-template-columns: 1fr; } .dv-cat { min-height: 0; } }

/* ---------- Features / steps ---------- */
.dv-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.dv-feature { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.dv-feature .dv-ico { color: var(--brand); width: 48px; height: 48px; padding: 12px; border-radius: 14px; background: #efeaff; margin-bottom: 16px; }
.dv-feature h3 { font-size: 18px; margin-bottom: 6px; }
.dv-feature p { color: var(--ink-2); font-size: 15px; margin: 0; }
.dv-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.dv-step { position: relative; background: var(--surface); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.dv-step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: var(--font-head); font-weight: 800; font-size: 44px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--brand); display: block; margin-bottom: 14px; }
.dv-step h3 { font-size: 18px; }
.dv-step p { color: var(--ink-2); margin: 0; font-size: 15px; }
@media (max-width: 900px) { .dv-features, .dv-steps { grid-template-columns: 1fr; } }
@media (min-width: 600px) and (max-width: 900px) { .dv-features { grid-template-columns: repeat(2, 1fr); } }

/* ---------- FAQ ---------- */
.dv-faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.dv-faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 22px; }
.dv-faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 700; display: flex; justify-content: space-between; gap: 16px; }
.dv-faq summary::-webkit-details-marker { display: none; }
.dv-faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--brand); transition: transform .2s; }
.dv-faq details[open] summary::after { transform: rotate(45deg); }
.dv-faq details p { color: var(--ink-2); padding-bottom: 20px; margin: 0; }

/* ---------- CTA ---------- */
.dv-cta { border-radius: 24px; padding: 56px 40px; text-align: center; color: #fff; position: relative; overflow: hidden; background: linear-gradient(120deg, var(--brand), #2a64f6 60%, var(--brand-2)); }
.dv-cta h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; }
.dv-cta p { color: rgba(255, 255, 255, .85); max-width: 560px; margin: 0 auto 28px; }
.dv-cta__btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
@media (max-width: 600px) { .dv-cta { padding: 40px 20px; } }

/* ---------- WooCommerce: product grid ---------- */
.woocommerce ul.products, .woocommerce-page ul.products {
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; 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 {
	width: auto !important; margin: 0 !important; float: none !important; padding: 12px 12px 16px;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
	display: flex; flex-direction: column; position: relative; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.woocommerce ul.products li.product:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link { display: flex; flex-direction: column; color: var(--ink); flex: 1; }
.woocommerce ul.products li.product a img {
	width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: var(--radius-sm); margin: 0 0 14px; background: var(--surface-2);
}
.dv-card-cat { display: block; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; padding: 0 4px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-family: var(--font-head); font-size: 16px; font-weight: 700; line-height: 1.35; padding: 0 4px; margin: 0 0 10px; color: var(--ink);
}
.woocommerce ul.products li.product .star-rating { margin: 0 4px 8px; font-size: 13px; color: #f5a524; }
.woocommerce ul.products li.product .price {
	display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; padding: 0 4px; margin: auto 0 14px;
	color: var(--ink); font-weight: 800; font-size: 19px;
}
.woocommerce ul.products li.product .price del { order: 2; color: var(--muted); font-size: 14px; font-weight: 500; opacity: 1; }
.woocommerce ul.products li.product .price ins { text-decoration: none; color: var(--price); }
.woocommerce ul.products li.product .button {
	display: flex; align-items: center; justify-content: center; width: 100%; margin: 0; padding: 13px 16px;
	background: var(--ink); color: #fff; border-radius: 10px; font-weight: 700; font-size: 14px; transition: background .15s;
}
.woocommerce ul.products li.product .button:hover { background: var(--brand); color: #fff; }
.woocommerce ul.products li.product .button.loading { opacity: .7; }
.woocommerce ul.products li.product .added_to_cart { display: block; text-align: center; font-weight: 700; font-size: 14px; padding-top: 10px; }
.woocommerce span.onsale, .woocommerce ul.products li.product .onsale {
	top: 22px; left: 22px; right: auto; margin: 0; min-width: 0; min-height: 0; line-height: 1;
	padding: 7px 10px; border-radius: 8px; background: var(--sale); color: #fff; font-size: 13px; font-weight: 800; z-index: 2;
}
/* Keep cards light even if a plugin or custom CSS tries to restyle them. */
.woocommerce ul.products li.product { background: var(--surface) !important; color: var(--ink) !important; }
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link,
.woocommerce ul.products li.product .woocommerce-loop-product__title { color: var(--ink) !important; }
.woocommerce ul.products li.product .dv-card-cat { color: var(--muted) !important; }
.woocommerce ul.products li.product .price { color: var(--ink) !important; }
.woocommerce ul.products li.product .price del { color: var(--muted) !important; }
.woocommerce ul.products li.product .price ins { color: var(--price) !important; }

/* Branded cover used until a product image is uploaded. */
.dv-cover {
	position: relative; overflow: hidden; aspect-ratio: 16 / 10; margin: 0 0 14px; padding: 18px;
	border-radius: var(--radius-sm); color: #fff; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px;
}
.dv-cover--smm { background: linear-gradient(140deg, #5b3df5, #8b5cf6); }
.dv-cover--iptv { background: linear-gradient(140deg, #0f172a, #1e3a8a); }
.dv-cover--shop { background: linear-gradient(140deg, #059669, #10b981); }
.dv-cover::after { content: ""; position: absolute; width: 160px; height: 160px; border-radius: 50%; border: 26px solid rgba(255, 255, 255, .08); right: -50px; top: -50px; }
.dv-cover__icon { position: absolute; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 14px; background: rgba(255, 255, 255, .16); display: grid; place-items: center; z-index: 1; }
.dv-cover__cat { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .75); }
.dv-cover__title { font-family: var(--font-head); font-size: 20px; font-weight: 800; line-height: 1.2; letter-spacing: -.02em; }
.dv-cover--lg { aspect-ratio: 4 / 3; margin: 0; padding: 40px; border-radius: var(--radius); }
.dv-cover--lg .dv-cover__icon { top: 32px; right: 32px; width: 76px; height: 76px; border-radius: 20px; }
.dv-cover--lg .dv-cover__cat { font-size: 13px; }
.dv-cover--lg .dv-cover__title { font-size: clamp(26px, 3.4vw, 42px); }
.dv-cover--lg::after { width: 320px; height: 320px; border-width: 50px; right: -100px; top: -100px; }

@media (max-width: 1100px) { .woocommerce ul.products, .woocommerce-page ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 800px) { .woocommerce ul.products, .woocommerce-page ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }
@media (max-width: 480px) { .woocommerce ul.products, .woocommerce-page ul.products { grid-template-columns: minmax(0, 1fr); } }

/* ---------- WooCommerce: general ---------- */
.dv-shop { padding-top: 32px; padding-bottom: 72px; }
.dv-crumbs, .woocommerce .woocommerce-breadcrumb { font-size: 14px; color: var(--muted); margin: 0 0 20px; }
.woocommerce .woocommerce-breadcrumb a { color: var(--ink-2); }
.woocommerce-products-header__title, .dv-shop .page-title { font-size: clamp(28px, 3.5vw, 40px); font-weight: 800; }
.woocommerce .woocommerce-result-count { color: var(--muted); font-size: 14px; }
.woocommerce .woocommerce-ordering select { padding: 10px 14px; border-radius: 10px; border: 1px solid var(--line); background: #fff; }
.woocommerce nav.woocommerce-pagination ul { border: 0; display: inline-flex; gap: 6px; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { border-radius: 10px; padding: 10px 14px; background: #fff; border: 1px solid var(--line); }
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--brand); color: #fff; border-color: var(--brand); }

.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt {
	background: var(--brand); color: #fff; border-radius: 10px; padding: 14px 22px; font-weight: 700; transition: background .15s;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover { background: var(--ink); color: #fff; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { border-radius: var(--radius-sm); border-top-color: var(--brand); background: var(--surface); box-shadow: var(--shadow); }
.woocommerce-message::before, .woocommerce-info::before { color: var(--brand); }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select,
.woocommerce-page form .form-row input.input-text { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; background: #fff; }

/* single product */
.woocommerce div.product { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: start; }
.woocommerce div.product div.images, .woocommerce div.product div.summary { width: 100% !important; float: none !important; margin: 0; }
.woocommerce div.product div.images { position: relative; }
.woocommerce div.product div.images img { border-radius: var(--radius); border: 1px solid var(--line); }
.woocommerce div.product .woocommerce-tabs, .woocommerce div.product .related, .woocommerce div.product .upsells { grid-column: 1 / -1; }
.woocommerce div.product .product_title { font-size: clamp(26px, 3vw, 36px); font-weight: 800; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--ink); font-size: 30px; font-weight: 800; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.woocommerce div.product p.price ins { text-decoration: none; color: var(--price); }
.woocommerce div.product p.price del { order: 2; font-size: 18px; color: var(--muted); font-weight: 500; }
.woocommerce div.product form.cart { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0; }
.woocommerce div.product form.cart .quantity .qty { height: 52px; width: 76px; border: 1px solid var(--line); border-radius: 10px; }
.woocommerce div.product form.cart .button { flex: 1; min-width: 200px; height: 52px; font-size: 16px; background: linear-gradient(135deg, var(--brand), #7c5cff); }
.woocommerce div.product .product_meta { font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; margin-top: 16px; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; margin: 0 0 20px; display: flex; gap: 6px; flex-wrap: wrap; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before, .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 { border: 1px solid var(--line); background: #fff; border-radius: 10px; margin: 0; padding: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: var(--ink); border-color: var(--ink); }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 10px 18px; font-weight: 700; color: var(--ink-2); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: #fff; }
.woocommerce div.product .woocommerce-tabs .panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.woocommerce div.product .related > h2, .woocommerce div.product .upsells > h2 { font-size: 26px; font-weight: 800; margin: 24px 0 20px; }
@media (max-width: 900px) { .woocommerce div.product { grid-template-columns: 1fr; gap: 28px; } }

.dv-buybox { display: grid; gap: 10px; background: var(--surface-2); border-radius: var(--radius); padding: 18px; margin: 8px 0 16px; }
.dv-buybox div { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; }
.dv-buybox .dv-ico { color: var(--sale); }
.dv-buybox__wa { margin-top: 4px; }

/* cart / checkout / account pages */
.dv-page { padding-top: 40px; padding-bottom: 80px; }
.dv-page__head h1 { font-size: clamp(28px, 3.5vw, 42px); font-weight: 800; }
.dv-content { background: var(--surface); border-radius: 18px; padding: clamp(20px, 4vw, 40px); box-shadow: var(--shadow); }
.dv-content > *:last-child { margin-bottom: 0; }
.woocommerce table.shop_table { border-radius: var(--radius-sm); border-color: var(--line); }
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.woocommerce-account .woocommerce-MyAccount-navigation li a { display: block; padding: 11px 14px; border-radius: 10px; color: var(--ink-2); font-weight: 600; }
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a, .woocommerce-account .woocommerce-MyAccount-navigation li a:hover { background: var(--surface-2); color: var(--brand); }

/* ---------- Blog ---------- */
.dv-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.dv-post { background: var(--surface); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; }
.dv-post img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.dv-post__body { padding: 20px; }
.dv-post__body h2 { font-size: 19px; }
.dv-post__body h2 a { color: var(--ink); }
.dv-post__meta { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.dv-post__body p { color: var(--ink-2); font-size: 15px; }
.dv-pagination { margin-top: 40px; display: flex; justify-content: center; }
.dv-pagination .nav-links { display: flex; gap: 6px; flex-wrap: wrap; }
.dv-pagination .page-numbers { padding: 10px 15px; background: #fff; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); }
.dv-pagination .page-numbers.current { background: var(--brand); color: #fff; border-color: var(--brand); }
.dv-article { max-width: 820px; margin: 0 auto; }
.dv-article .dv-content img { border-radius: var(--radius-sm); }
@media (max-width: 900px) { .dv-posts { grid-template-columns: 1fr; } }
@media (min-width: 600px) and (max-width: 900px) { .dv-posts { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Footer ---------- */
.dv-footer { background: var(--dark); color: #a6aac6; padding-top: 64px; font-size: 15px; }
.dv-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.dv-footer .dv-brand { color: #fff; margin-bottom: 16px; }
.dv-footer h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.dv-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.dv-footer a { color: #a6aac6; }
.dv-footer a:hover { color: #fff; }
.dv-footer__contact a { display: inline-flex; align-items: center; gap: 8px; }
.dv-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 22px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 14px; }
.dv-pay { display: flex; flex-wrap: wrap; gap: 8px; }
.dv-pay span { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); color: #d6d9ee; padding: 5px 10px; border-radius: 8px; font-size: 12px; font-weight: 700; }
@media (max-width: 900px) { .dv-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .dv-footer__grid { grid-template-columns: 1fr; } }

.dv-float {
	position: fixed; right: 18px; bottom: 18px; z-index: 90; display: flex; align-items: center; gap: 10px;
	background: #22c55e; color: #fff; padding: 13px 18px; border-radius: 99px; font-weight: 800; box-shadow: 0 12px 30px rgba(34, 197, 94, .4);
}
.dv-float:hover { color: #fff; transform: translateY(-2px); }
@media (max-width: 520px) { .dv-float span { display: none; } .dv-float { padding: 14px; } }

/* ---------- 404 ---------- */
.dv-404 { text-align: center; padding: 100px 0; }
.dv-404 b { display: block; font-family: var(--font-head); font-size: 120px; line-height: 1; font-weight: 800; }

/* WP core alignment helpers */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption-text { font-size: 14px; color: var(--muted); }
