/*
Theme Name: VPlus
Description: Лёгкая тема интернет-магазина vinyl-plus.ru (WooCommerce, без конструкторов страниц).
Version: 0.1.0
Requires PHP: 8.0
Text Domain: vplus
*/

:root {
	--ink: #15191B;
	--ink-2: #3B4347;
	--muted: #5B6468;
	--line: #E3E6E4;
	--line-2: #D5DAD7;
	--soft: #F3F5F2;
	--accent: #1E7A46;
	--accent-ink: #145C33;
	--accent-soft: #E6F2EA;
	--accent-bright: #2FA35F;
	--warn: #8A4B0F;
	--order: #C0701F; /* «под заказ» — приглушённый оранжевый */
	--radius: 14px;
	--wrap: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: Onest, system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); background: #fff; font-size: 16px; line-height: 1.5; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--accent); }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
.vp-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.vp-mono { font-family: "IBM Plex Mono", ui-monospace, monospace; }

/* Кнопки */
.vp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding: 0 26px; border-radius: 10px; font-weight: 600; font-size: 16px; border: 0; cursor: pointer; background: var(--accent); color: #fff; white-space: nowrap; }
.vp-btn:hover { background: var(--accent-ink); color: #fff; }
.vp-btn--ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--ink); }
.vp-btn--ghost:hover { background: var(--soft); color: var(--ink); }
.vp-btn--dark { background: var(--ink); }
.vp-btn--dark:hover { background: #000; }
.vp-btn--light { background: #fff; color: var(--ink); }
.vp-btn--light:hover { background: var(--soft); color: var(--ink); }
.vp-btn--outline-light { background: transparent; border: 1.5px solid #fff; color: #fff; }
.vp-btn--outline-light:hover { background: rgba(255,255,255,.1); color: #fff; }
.vp-btn--sm { height: 44px; padding: 0 16px; font-size: 14px; }

/* Верхняя полоса */
.vp-topbar { background: var(--ink); color: #C9CFD2; font-size: 13px; }
.vp-topbar .vp-wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between; padding-top: 8px; padding-bottom: 8px; }
.vp-topbar__group { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; }
.vp-topbar a { color: #C9CFD2; }
.vp-topbar a:hover { color: #fff; }
.vp-feedback { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 14px; border-radius: 999px; background: var(--accent-bright); color: #fff !important; font-weight: 600; border: 0; cursor: pointer; font-size: 13px; }
.vp-feedback:hover { background: var(--accent); }

/* Шапка */
.vp-header { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 50; }
.vp-header__main { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; padding-top: 16px; padding-bottom: 16px; }
.vp-logo { display: flex; flex-direction: column; line-height: 1; }
.vp-logo__word { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; }
.vp-logo__word span { color: var(--accent); }
.vp-logo__sub { font-size: 11px; color: var(--muted); margin-top: 4px; }
.vp-catalog-btn { height: 48px; padding: 0 20px; font-size: 15px; }
.vp-search { flex: 1 1 320px; min-width: 0; display: flex; align-items: center; gap: 8px; height: 48px; border: 1.5px solid var(--line-2); border-radius: 10px; padding: 0 6px 0 16px; }
.vp-search:focus-within { border-color: var(--accent); }
.vp-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 15px; }
.vp-search input::placeholder { color: #7A8287; }
.vp-search button { width: 38px; height: 38px; border: 0; border-radius: 8px; background: var(--soft); display: grid; place-items: center; cursor: pointer; }
.vp-phone { display: flex; flex-direction: column; line-height: 1.25; }
.vp-phone a:first-child { font-weight: 600; font-size: 17px; }
.vp-phone button { background: none; border: 0; padding: 0; color: var(--accent); font-size: 13px; cursor: pointer; text-align: left; }
.vp-icons { display: flex; gap: 8px; }
.vp-icon-btn { position: relative; width: 48px; height: 48px; border-radius: 10px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); }
.vp-icon-btn:hover { border-color: var(--accent); }
.vp-cart-count { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 600; display: grid; place-items: center; }
.vp-nav { overflow-x: auto; scrollbar-width: none; }
.vp-nav::-webkit-scrollbar { display: none; }
.vp-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; white-space: nowrap; font-size: 14px; font-weight: 500; }
.vp-nav a { display: block; padding: 10px 12px 12px; border-bottom: 2px solid transparent; }
.vp-nav .is-current a { border-bottom-color: var(--accent); color: var(--accent-ink); }

/* Хлебные крошки */
.vp-crumbs, .woocommerce-breadcrumb { font-size: 14px; color: var(--muted); margin: 24px 0 0; }
.vp-crumbs a, .woocommerce-breadcrumb a { color: var(--muted); }
.vp-crumbs a:hover, .woocommerce-breadcrumb a:hover { color: var(--accent); }

/* Главная: первый экран */
.vp-hero { background: var(--soft); }
.vp-hero .vp-wrap { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.vp-hero__text { flex: 1 1 460px; min-width: 0; }
.vp-pill { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 500; color: var(--ink-2); }
.vp-pill::before { content: ""; width: 8px; height: 8px; border-radius: 4px; background: var(--accent); }
.vp-hero h1 { margin-top: 20px; font-size: clamp(34px, 5vw, 60px); line-height: 1.04; letter-spacing: -0.03em; }
.vp-hero p { margin: 20px 0 0; font-size: 18px; color: var(--ink-2); max-width: 520px; }
.vp-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.vp-hero__grid { flex: 1 1 480px; min-width: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.vp-swatch { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); padding: 8px; box-shadow: 0 1px 2px rgba(21,25,27,.06), 0 8px 24px rgba(21,25,27,.06); }
.vp-swatch img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 9px; background: #D6D6D6; }
.vp-swatch span { padding: 10px 4px 4px; font-size: 12px; line-height: 1.3; }
.vp-swatch b { display: block; font-weight: 600; margin-top: 2px; }

/* Преимущества */
.vp-perks { border-bottom: 1px solid var(--line); }
.vp-perks .vp-wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; padding-top: 28px; padding-bottom: 28px; }
.vp-perk { display: flex; gap: 14px; align-items: flex-start; }
.vp-perk svg { flex: none; color: var(--accent); }
.vp-perk b { display: block; font-weight: 600; }
.vp-perk span { font-size: 14px; color: var(--muted); }

/* Секции */
.vp-section { padding-top: 72px; }
.vp-section__head { display: flex; flex-wrap: wrap; gap: 12px; align-items: baseline; justify-content: space-between; margin-bottom: 28px; }
.vp-section__head h2 { font-size: clamp(26px, 3vw, 34px); }
.vp-section__head a { color: var(--accent); font-weight: 600; }

.vp-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; }
.vp-cat { display: flex; gap: 16px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.vp-cat:hover { border-color: var(--accent); color: var(--ink); }
.vp-cat__img { flex: none; width: 76px; height: 76px; border-radius: 10px; object-fit: cover; background: #D6D6D6; }
.vp-cat__img--tool { background: linear-gradient(135deg, #d9a72a, #f2cd5c); }
.vp-cat__img--chem { background: linear-gradient(135deg, #1c4f7a, #3f86c0 60%, #93c3e6); }
.vp-cat__img--spray { background: linear-gradient(135deg, #2a6f62, #64b5a2); }
.vp-cat b { display: block; font-weight: 600; line-height: 1.25; }
.vp-cat span { display: block; font-size: 13px; color: var(--muted); margin-top: 4px; line-height: 1.35; }

.vp-brands { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.vp-brand { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; height: 88px; border: 1px solid var(--line); border-radius: 12px; text-align: center; padding: 8px; }
.vp-brand:hover { border-color: var(--accent); }
.vp-brand b { font-size: 17px; letter-spacing: -0.01em; }
.vp-brand span { font-size: 12px; color: var(--muted); }

.vp-band { background: var(--ink); color: #fff; border-radius: 20px; padding: 48px; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; }
.vp-band h2 { font-size: clamp(26px, 3vw, 34px); }
.vp-band p { margin: 14px 0 0; font-size: 17px; color: #C9CFD2; max-width: 560px; }
.vp-band__text { flex: 1 1 420px; min-width: 0; }
.vp-band__cta { display: flex; flex-wrap: wrap; gap: 12px; }

.vp-faq-wrap { display: flex; flex-wrap: wrap; gap: 48px; padding-bottom: 72px; }
.vp-faq { flex: 999 1 560px; min-width: 0; }
.vp-faq__list { border-top: 1px solid var(--line); margin-top: 24px; }
.vp-faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.vp-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; font-weight: 600; font-size: 18px; }
.vp-faq summary::-webkit-details-marker { display: none; }
.vp-faq summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; }
.vp-faq details[open] summary::after { content: "−"; }
.vp-faq details p { margin: 12px 0 0; color: var(--ink-2); line-height: 1.6; max-width: 680px; }
.vp-callback { flex: 1 1 340px; min-width: 0; align-self: flex-start; background: var(--soft); border-radius: 20px; padding: 32px; }
.vp-callback h3 { font-size: 24px; }
.vp-callback > p { color: var(--ink-2); margin: 10px 0 16px; }

/* Форма CF7 */
.wpcf7 h3 { display: none; }
.wpcf7 label { display: block; font-size: 14px; font-weight: 500; margin-top: 12px; }
.wpcf7 input[type=text], .wpcf7 input[type=tel], .wpcf7 input[type=email], .wpcf7 textarea { width: 100%; height: 48px; border: 1.5px solid var(--line-2); border-radius: 10px; padding: 0 14px; font-size: 16px; background: #fff; margin-top: 6px; }
.wpcf7 textarea { height: 120px; padding: 12px 14px; }
.wpcf7 input:focus, .wpcf7 textarea:focus { outline: 0; border-color: var(--accent); }
.wpcf7 input[type=submit] { width: 100%; height: 52px; border: 0; border-radius: 10px; background: var(--accent); color: #fff; font-weight: 600; font-size: 16px; cursor: pointer; margin-top: 16px; }
.wpcf7 input[type=submit]:hover { background: var(--accent-ink); }
.wpcf7 form > p { margin: 0; }
.wpcf7 .wpcf7-response-output { margin: 12px 0 0 !important; border-radius: 8px; font-size: 14px; }
.vp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Модальное окно обратной связи */
.vp-dialog { border: 0; border-radius: 20px; padding: 32px; width: min(440px, calc(100vw - 32px)); box-shadow: 0 24px 64px rgba(0,0,0,.25); }
.vp-dialog::backdrop { background: rgba(21,25,27,.55); }
.vp-dialog__close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border: 0; background: none; font-size: 26px; cursor: pointer; color: var(--muted); }
.vp-dialog h3 { font-size: 24px; padding-right: 32px; }
.vp-dialog__alt { display: flex; gap: 8px; margin-top: 16px; }
.vp-dialog__alt a { flex: 1; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; font-weight: 600; font-size: 14px; }

/* Подвал */
.vp-footer { background: var(--ink); color: #C9CFD2; font-size: 14px; }
.vp-footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; padding-top: 56px; padding-bottom: 32px; }
.vp-footer h4 { color: #fff; font-size: 15px; margin: 0 0 12px; }
.vp-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.vp-footer a { color: #C9CFD2; }
.vp-footer a:hover { color: #fff; }
.vp-footer .vp-logo__word { color: #fff; }
.vp-footer .vp-logo__word span { color: #5FC48A; }
.vp-footer__phone { color: #fff !important; font-size: 18px; font-weight: 600; }
.vp-footer__social { display: flex; gap: 8px; margin-top: 4px; flex-wrap: wrap; }
.vp-footer__social a { border: 1px solid #3B4347; border-radius: 8px; padding: 8px 12px; color: #fff; }
.vp-footer__bottom { border-top: 1px solid #2A3034; padding-top: 20px; padding-bottom: 32px; font-size: 13px; color: #8E979B; }

/* Каталог */
.vp-archive-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; margin-top: 16px; }
.vp-archive-head h1 { font-size: clamp(28px, 4vw, 44px); letter-spacing: -0.03em; }
.vp-archive-head span { color: var(--muted); }
.vp-archive-desc { color: var(--ink-2); max-width: 760px; margin-top: 10px; }
.vp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.vp-chip { height: 40px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; font-weight: 500; background: #fff; }
.vp-chip:hover { border-color: var(--accent); }
.vp-chip.is-current { background: var(--ink); color: #fff; border-color: var(--ink); }
.vp-chip small { color: var(--muted); margin-left: 6px; font-size: 12px; }
.vp-chip.is-current small { color: #C9CFD2; }

.vp-shop { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; margin-top: 32px; padding-bottom: 72px; }
.vp-filters { flex: 1 1 260px; min-width: 0; border: 1px solid var(--line); border-radius: 16px; padding: 4px 20px 20px; }
.vp-filters > summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-weight: 700; font-size: 18px; cursor: pointer; }
.vp-filters > summary::-webkit-details-marker { display: none; }
.vp-filters > summary a { font-size: 14px; font-weight: 400; color: var(--accent); }
.vp-fgroup { border-top: 1px solid var(--line); padding: 16px 0; }
.vp-fgroup__title { font-weight: 600; margin-bottom: 12px; }
.vp-fgroup__list { display: flex; flex-direction: column; gap: 10px; font-size: 15px; max-height: 260px; overflow-y: auto; }
.vp-fgroup label { display: flex; gap: 10px; align-items: center; cursor: pointer; }
.vp-fgroup label small { margin-left: auto; color: var(--muted); font-size: 13px; }
.vp-fgroup input[type=checkbox] { width: 18px; height: 18px; margin: 0; accent-color: var(--accent); flex: none; }
.vp-price { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.vp-price input { min-width: 0; height: 44px; border: 1.5px solid var(--line-2); border-radius: 8px; padding: 0 12px; font-size: 15px; }
.vp-filters__apply { width: 100%; margin-top: 8px; }

.vp-results { flex: 999 1 560px; min-width: 0; }
.vp-toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.vp-toolbar .woocommerce-result-count { margin: 0; font-size: 14px; color: var(--muted); }
.vp-toolbar .woocommerce-ordering { margin: 0; }
.vp-toolbar select { height: 40px; border: 1.5px solid var(--line-2); border-radius: 8px; padding: 0 10px; background: #fff; }
.vp-active { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.vp-active a { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 999px; background: var(--soft); font-size: 14px; }
.vp-active a::after { content: "×"; color: var(--muted); }

ul.products { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
ul.products::before, ul.products::after { display: none !important; }
.vp-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; background: #fff; margin: 0 !important; width: auto !important; float: none !important; }
.vp-card:hover { border-color: var(--line-2); box-shadow: 0 8px 24px rgba(21,25,27,.06); }
.vp-card__img { display: block; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--soft); }
.vp-card__img img { width: 100%; height: 100%; object-fit: cover; }
.vp-card__body { padding: 12px 4px 4px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.vp-card__meta { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--muted); }
.vp-card__title { font-weight: 600; font-size: 15px; line-height: 1.3; }
.vp-card__spec { font-size: 13px; color: var(--muted); }
.vp-stock { font-size: 13px; font-weight: 600; color: var(--accent-ink); }
.vp-stock--out { color: var(--warn); }
.vp-stock--order, .vp-rm__name small.vp-stock--order { color: var(--order); }
.vp-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 10px; }
.vp-card__price { font-size: 19px; font-weight: 700; }
.vp-card__price del { font-size: 13px; color: var(--muted); font-weight: 400; display: block; }
.vp-card__price ins { text-decoration: none; }
.vp-card__price small { display: block; font-size: 13px; font-weight: 500; color: var(--muted); white-space: nowrap; }
.vp-card .button { height: 44px; padding: 0 14px; border: 0; border-radius: 10px; background: var(--accent); color: #fff; font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; white-space: nowrap; }
.vp-card .button:hover { background: var(--accent-ink); color: #fff; }
.vp-card .button.loading { opacity: .6; }
.vp-card .added_to_cart { font-size: 13px; color: var(--accent); }
.vp-card .button.added { display: none; }

.woocommerce-pagination { margin-top: 40px; }
.woocommerce-pagination ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; border: 0 !important; }
.woocommerce-pagination li { border: 0 !important; }
.woocommerce-pagination a, .woocommerce-pagination span { min-width: 44px; height: 44px; padding: 0 12px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line-2); }
.woocommerce-pagination .current { background: var(--ink); color: #fff; border-color: var(--ink); }
.woocommerce-info, .woocommerce-message, .woocommerce-error { list-style: none; margin: 20px 0; padding: 16px 20px; border-radius: 12px; background: var(--soft); border: 0; }
.woocommerce-error { background: #FBEAEA; }

.vp-seo { margin-top: 56px; padding: 32px; background: var(--soft); border-radius: 16px; color: var(--ink-2); line-height: 1.6; }

/* Карточка товара */
.vp-product { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; margin-top: 24px; }
.vp-product__gallery { flex: 1 1 480px; min-width: 0; }
.vp-product__gallery .woocommerce-product-gallery { width: 100% !important; float: none !important; margin: 0 !important; position: relative; }
.vp-product__gallery .woocommerce-product-gallery__image img, .vp-product__gallery .woocommerce-product-gallery__wrapper img { border-radius: 18px; width: 100%; }
.vp-product__gallery .flex-control-thumbs { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.vp-product__gallery .flex-control-thumbs img { border-radius: 10px; cursor: pointer; opacity: .7; }
.vp-product__gallery .flex-control-thumbs img.flex-active { opacity: 1; outline: 2px solid var(--ink); }
.vp-product__gallery .woocommerce-product-gallery__trigger { position: absolute; top: 12px; right: 12px; z-index: 5; width: 40px; height: 40px; border-radius: 10px; background: #fff; display: grid; place-items: center; font-size: 0; }
.vp-product__gallery .woocommerce-product-gallery__trigger::after { content: "⤢"; font-size: 18px; color: var(--ink); }
.vp-product__info { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.vp-product__meta { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 14px; color: var(--muted); }
.vp-product__meta a { color: var(--accent); font-weight: 600; }
.vp-product h1 { font-size: clamp(26px, 3.4vw, 40px); line-height: 1.1; letter-spacing: -0.03em; margin-top: 8px; }
.vp-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.vp-spec { background: var(--soft); border-radius: 12px; padding: 14px 16px; }
.vp-spec span { display: block; font-size: 13px; color: var(--muted); }
.vp-spec b { display: block; font-size: 17px; margin-top: 2px; }
.vp-buy { border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.vp-buy__row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; }
.vp-buy .price { font-size: 36px; font-weight: 700; letter-spacing: -0.02em; margin: 0; color: var(--ink); }
.vp-buy .price del { font-size: 18px; color: var(--muted); font-weight: 400; }
.vp-buy .price ins { text-decoration: none; }
.vp-buy p.stock { display: none; }
.vp-product__short { color: var(--ink-2); line-height: 1.6; }
.vp-product__short p { margin: 0 0 4px; }
.vp-buy form.cart { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.vp-eta { font-size: 14px; color: var(--muted); margin-top: -6px; }
.vp-eta b { color: var(--ink); }
.vp-buy .quantity { display: flex; }
.vp-buy .quantity input { width: 88px; height: 52px; border: 1.5px solid var(--line-2); border-radius: 10px; text-align: center; font-size: 17px; font-weight: 600; }
.vp-buy .single_add_to_cart_button { flex: 1 1 200px; height: 52px; border: 0; border-radius: 10px; background: var(--accent); color: #fff; font-weight: 600; font-size: 16px; cursor: pointer; }
.vp-buy .single_add_to_cart_button:hover { background: var(--accent-ink); }
.vp-buy form.vp-rm { flex-direction: column; gap: 10px; }
.vp-rm__row { display: grid; grid-template-columns: 1fr auto 88px; align-items: center; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.vp-rm__name { font-weight: 600; }
.vp-rm__name small { display: block; font-weight: 400; font-size: 13px; color: var(--muted); margin-top: 2px; }
.vp-rm__price { font-weight: 600; white-space: nowrap; }
.vp-rm__row input { width: 88px; height: 48px; border: 1.5px solid var(--line-2); border-radius: 10px; text-align: center; font-size: 17px; font-weight: 600; }
.vp-rm__row input:disabled { background: var(--soft); color: var(--muted); }
.vp-rm__name small.is-error { color: #B42318; }
.vp-rm__total { font-size: 15px; color: var(--ink-2); }
.vp-rm__total b { font-size: 28px; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; margin-left: 6px; }
.vp-rm .single_add_to_cart_button { flex: none; width: 100%; }
.vp-buy table.variations { width: 100%; border-collapse: collapse; }
.vp-buy table.variations td, .vp-buy table.variations th { padding: 4px 0; text-align: left; }
.vp-buy table.variations select { width: 100%; height: 44px; border: 1.5px solid var(--line-2); border-radius: 8px; padding: 0 10px; }
.vp-buy__wa { width: 100%; }
.vp-buy__info { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--ink-2); padding-top: 12px; border-top: 1px solid var(--line); }
.vp-product-details { display: flex; flex-wrap: wrap; gap: 48px; margin-top: 64px; }
.vp-product-details__desc { flex: 999 1 520px; min-width: 0; color: var(--ink-2); line-height: 1.7; }
.vp-product-details__desc h2, .vp-product-details__attrs h2 { font-size: 28px; color: var(--ink); margin-bottom: 16px; }
.vp-product-details__hint { font-size: 14px; color: var(--muted); }
.vp-product-details__attrs { flex: 1 1 380px; min-width: 0; }
.woocommerce-product-attributes { width: 100%; border-collapse: collapse; font-size: 15px; }
.woocommerce-product-attributes th, .woocommerce-product-attributes td { padding: 12px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.woocommerce-product-attributes th { color: var(--muted); font-weight: 400; width: 50%; padding-right: 16px; }
.woocommerce-product-attributes td p { margin: 0; }
.vp-calc { margin-top: 56px; background: var(--soft); border-radius: 20px; padding: 32px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.vp-calc h2 { font-size: 24px; }
.vp-calc p { margin: 8px 0 0; color: var(--ink-2); }
.related.products, .upsells.products { margin-top: 64px; padding-bottom: 72px; }
.related.products > h2, .upsells.products > h2 { font-size: 28px; }

/* Обычные страницы, корзина, оформление */
.vp-page { padding-bottom: 72px; }
.vp-page__title { font-size: clamp(28px, 4vw, 44px); margin: 16px 0 24px; letter-spacing: -0.03em; }
.vp-page__content { line-height: 1.65; }
.vp-page__content > *:first-child { margin-top: 0; }
.woocommerce table.shop_table { border-radius: 12px; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit { border-radius: 10px; padding: 14px 22px; font-weight: 600; }
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt, .woocommerce #place_order { background: var(--accent) !important; color: #fff !important; }
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover { background: var(--accent-ink) !important; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select { border: 1.5px solid var(--line-2); border-radius: 8px; padding: 10px 12px; }

/* Блоки контентных страниц */
.vp-page__content h2 { font-size: clamp(24px, 3vw, 30px); margin: 48px 0 16px; }
.vp-page__content h3 { font-size: 20px; margin: 0 0 8px; }
.vp-page__content p { margin: 0 0 12px; }
.vp-page__content a { color: var(--accent); }
.vp-lead { font-size: 19px; line-height: 1.55; color: var(--ink-2); max-width: 820px; }
.vp-lead b, .vp-lead strong { color: var(--ink); }
.vp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin: 16px 0; }
.vp-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) { .vp-grid--two { grid-template-columns: minmax(0, 1fr); } }
.vp-box { background: var(--soft); border-radius: var(--radius); padding: 24px; }
.vp-box p:last-child { margin-bottom: 0; }
.vp-box ul { margin: 8px 0 0; padding-left: 18px; }
.vp-box--line { background: #fff; border: 1px solid var(--line); }
.vp-note { border-left: 0; background: var(--accent-soft); color: var(--accent-ink); border-radius: 12px; padding: 14px 18px; font-weight: 500; }
.vp-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; padding: 0; list-style: none; }
.vp-tags li { height: 36px; display: inline-flex; align-items: center; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14px; }
.vp-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin: 16px 0; }
.vp-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }
.vp-gallery--tall img { aspect-ratio: 3 / 4; }
.vp-docs { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 12px; }
.vp-doc { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; }
.vp-doc b { display: block; font-size: 18px; }
.vp-doc span { color: var(--muted); font-size: 14px; }
.vp-page__content .vp-doc a.vp-btn { color: #fff; }
.vp-reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; margin: 16px 0; }
.vp-review { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.vp-review blockquote { margin: 0; font-size: 17px; line-height: 1.55; }
.vp-review footer { font-size: 14px; color: var(--muted); }
.vp-review ul { list-style: none; margin: 0; padding: 12px 0 0; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-2); display: grid; gap: 4px; }
.vp-case { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; padding: 32px 0; border-top: 1px solid var(--line); }
.vp-case:first-of-type { border-top: 0; }
.vp-case img { flex: 1 1 360px; min-width: 0; width: 100%; max-width: 560px; border-radius: 16px; }
.vp-case__text { flex: 1 1 360px; min-width: 0; }
.vp-case__text h2 { margin-top: 0; }
.vp-case__mat { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.vp-news { display: grid; gap: 0; }
.vp-news article { padding: 32px 0; border-top: 1px solid var(--line); }
.vp-news article:first-child { border-top: 0; padding-top: 0; }
.vp-news time { display: block; color: var(--muted); font-size: 14px; margin-bottom: 6px; }
.vp-news h2 { margin: 0 0 12px !important; font-size: 24px !important; }
.vp-news img { border-radius: 12px; }
.vp-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.vp-post-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.vp-post-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.vp-post-card div { padding: 20px 24px 24px; }
.vp-post-card time { color: var(--muted); font-size: 14px; }
.vp-post-card h2 { font-size: 22px !important; margin: 6px 0 10px !important; }
.vp-post-card h2 a { color: var(--ink) !important; }
.vp-contacts { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.vp-contacts__info { flex: 1 1 360px; min-width: 0; display: grid; gap: 16px; }
.vp-contacts__info .vp-big { font-size: 26px; font-weight: 700; color: var(--ink) !important; }
.vp-contacts__map { flex: 1 1 480px; min-width: 0; }
.vp-contacts__map iframe { width: 100%; height: 420px; border: 0; border-radius: 16px; display: block; }
.vp-contacts__form { margin-top: 48px; max-width: 720px; }
.vp-social { display: flex; flex-wrap: wrap; gap: 8px; }
.vp-page__content .vp-social a { height: 44px; display: inline-flex; align-items: center; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 10px; color: var(--ink); font-weight: 600; }
.vp-regions { columns: 3 220px; column-gap: 32px; margin: 16px 0; }
.vp-regions div { break-inside: avoid; margin-bottom: 16px; }
.vp-regions b { display: block; }
.vp-regions span { color: var(--ink-2); font-size: 14px; }
.vp-prose { max-width: 820px; }
.vp-prose h2 { font-size: 26px; }
.vp-prose h3 { font-size: 19px; margin: 32px 0 10px; }
.vp-ask { margin-top: 56px; background: var(--ink); color: #fff; border-radius: 20px; padding: 40px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.vp-ask h2 { font-size: 28px; margin: 0 !important; }
.vp-ask p { color: #C9CFD2; margin: 8px 0 0; }
.vp-ask p a { color: inherit; }
.vp-ask p a:hover { color: #fff; }
.vp-ask__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.vp-single__meta { color: var(--muted); font-size: 14px; margin: -12px 0 24px; }
.vp-single__thumb { border-radius: 18px; margin-bottom: 32px; width: 100%; max-height: 520px; object-fit: cover; }

@media (max-width: 760px) {
	.vp-ask { padding: 28px 22px; }
	.vp-contacts__map iframe { height: 300px; }
	.vp-wrap { padding: 0 16px; }
	.vp-topbar .vp-wrap { justify-content: flex-end; }
	.vp-topbar__group a { display: none; }
	.vp-header { position: static; }
	.vp-header__main { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "logo . icons" "cat search search"; gap: 12px; padding-top: 12px; padding-bottom: 12px; }
	.vp-logo { grid-area: logo; }
	.vp-icons { grid-area: icons; }
	.vp-catalog-btn { grid-area: cat; padding: 0 14px; }
	.vp-search { grid-area: search; }
	.vp-phone { display: none; }
	.vp-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: -16px; padding-right: 16px; }
	.vp-chips::-webkit-scrollbar { display: none; }
	.vp-chip { flex: none; white-space: nowrap; }
	.vp-hero h1 { font-size: 32px; }
	.vp-hero .vp-wrap { padding-top: 40px; padding-bottom: 40px; gap: 32px; }
	.vp-band { padding: 32px 24px; }
	.vp-section { padding-top: 56px; }
	ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.vp-card__foot { flex-direction: column; align-items: stretch; }
	.vp-card .button { justify-content: center; }
	.vp-topbar__group--info { display: none; }
}

/* Раздел партнёров (inc/partners.php) */
.vp-partner-login { max-width: 420px; }
.vp-partner-login input[type=text], .vp-partner-login input[type=password] { width: 100%; height: 48px; border: 1.5px solid var(--line-2); border-radius: 10px; padding: 0 14px; background: #fff; }
.vp-partner-login__error { padding: 10px 14px; border-radius: 10px; background: #FBEDEA; color: #9B2C1F; }
.vp-partner-login input[type=submit] { height: 48px; padding: 0 26px; border: 0; border-radius: 10px; background: var(--accent); color: #fff; font-weight: 600; cursor: pointer; }
.vp-partner-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.vp-partner-tabs a { height: 40px; display: inline-flex; align-items: center; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 10px; color: var(--ink) !important; font-weight: 600; }
.vp-partner-tabs a.is-current { background: var(--ink); border-color: var(--ink); color: #fff !important; }
.vp-partner-tabs__logout { margin-left: auto; font-weight: 400 !important; border: 0 !important; color: var(--muted) !important; }
.vp-partner__bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; padding: 12px 0; background: #fff; }
.vp-partner__bar input[type=search] { flex: 1 1 240px; height: 44px; border: 1.5px solid var(--line-2); border-radius: 10px; padding: 0 14px; }
.vp-partner__at { color: var(--muted); font-size: 14px; }
.vp-partner__scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.vp-partner__table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.35; }
.vp-partner__table th { background: var(--soft); text-align: left; font-weight: 600; padding: 10px 12px; white-space: nowrap; vertical-align: bottom; }
.vp-partner__table th small { font-weight: 400; color: var(--muted); }
.vp-partner__table td { padding: 8px 12px; border-top: 1px solid var(--line); vertical-align: middle; }
.vp-partner__table tr:hover td { background: #FAFBFA; }
.vp-partner__num { text-align: center; white-space: nowrap; }
.vp-partner__muted { color: var(--muted); }
.vp-partner__cart { white-space: nowrap; }
.vp-partner__cart label { display: inline-flex; align-items: center; gap: 4px; margin-right: 10px; color: var(--muted); }
.vp-partner__cart input { width: 64px; height: 36px; border: 1.5px solid var(--line-2); border-radius: 8px; padding: 0 8px; color: var(--ink); }
