/* ===== WooCommerce + WordPress integration for the KARNEY theme =====
   Re-uses the demo foundation (styles.css tokens, .btn, .field, .checkbox, .product-card ...).
   Owns: catalog form bits, pagination, notices, cart/checkout blocks skin, my-account content, login grid, CF7, generic pages. */

/* ---------- generic pages ---------- */
.page-body{padding:0 0 clamp(64px,8vw,104px)}
.entry-content{max-width:76ch;color:var(--ink-2);line-height:1.7}
.entry-content>*+*{margin-top:1em}
.entry-content h2,.entry-content h3{color:var(--ink);margin-top:1.6em}
.entry-content a:not(.btn):not(.button){color:var(--blue);text-decoration:underline;text-underline-offset:3px}
body[data-page="cart"] .entry-content,body[data-page="checkout"] .entry-content{max-width:none;color:inherit;line-height:inherit}
body[data-page="cart"] .page-intro h1,body[data-page="checkout"] .page-intro h1{max-width:none}

/* ---------- footer legal row ---------- */
.footer-legal{display:flex;flex-wrap:wrap;gap:6px 18px}
.footer-legal a{color:inherit;opacity:.8}
.footer-legal a:hover{opacity:1;text-decoration:underline}

/* ---------- header: cart is a link now ---------- */
a.cart-btn{text-decoration:none}

/* ---------- catalog ---------- */
.catalog-sidebar .cat-link{color:inherit;text-decoration:none}
.catalog-sidebar .checkbox>.cat-radio{flex:0 0 20px;display:block;width:20px;height:20px;margin:1px 0 0;flex:none;border:1.5px solid var(--rule-strong);border-radius:50%;background:#fff;transition:border-color var(--t-fast)}
.cat-link:hover .cat-radio{border-color:var(--blue)}
.catalog-sidebar .cat-link.is-on>.cat-radio{border:6px solid var(--blue)}
.cat-link.is-on>span:last-child{font-weight:600;color:var(--ink)}
.cat-link.is-on em{background:var(--tint-blue);color:var(--blue-dark)}
.price-range{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:8px;padding:6px 0}
.price-range .field input{min-height:44px;padding:0 12px}
.filters .filters-apply{margin-top:10px}
.filters a[data-clear-filters]{display:flex;align-items:center;justify-content:center;text-decoration:none}
@media (min-width:980px){.js .filters .filters-apply{display:none}.js .price-range+.filters-apply{display:flex}}
.filter-group:has(.price-range)~.filters-apply{display:flex}
.chip a{width:26px;height:26px;display:grid;place-items:center;font:400 1.05rem/1 var(--sans);border-radius:50%;color:var(--blue-dark);text-decoration:none}
.chip a:hover{background:#fff}
.catalog-toolbar .sort-wrap{margin:0}
.karney-pagination{margin-top:32px}
.karney-pagination ul{display:flex;flex-wrap:wrap;gap:8px;list-style:none;padding:0;margin:0}
.karney-pagination a,.karney-pagination span{display:grid;place-items:center;min-width:44px;height:44px;padding:0 12px;border-radius:var(--r-ctl);background:var(--ground);color:var(--ink-2);font-weight:600;text-decoration:none}
.karney-pagination a:hover{color:var(--blue)}
.karney-pagination .current{background:var(--blue);color:#fff}

/* product card: Woo ajax button states */
.product-card-footer .btn.loading{opacity:.6;pointer-events:none}
.product-card-footer .added_to_cart{display:none}
.product-card .product-brand span:empty{display:none}

/* ---------- single product ---------- */
.qty input[type="number"]{width:3.5ch;min-width:44px;border:0;text-align:center;font:600 var(--fs-ui) var(--sans);font-variant-numeric:tabular-nums;-moz-appearance:textfield;background:transparent;color:var(--ink)}
.qty input::-webkit-outer-spin-button,.qty input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.buy-row .btn{flex:1}
.buy-row-wc .variations{width:100%;margin-bottom:12px}
.buy-row-wc .variations select{width:100%;min-height:46px;border:1px solid var(--rule-strong);border-radius:var(--r-ctl);padding:0 12px}
.buy-row-wc .single_add_to_cart_button{min-height:54px;padding:0 24px;border-radius:var(--r-ctl);background:var(--blue);color:#fff;font-weight:600}
.product-description>*+*{margin-top:.8em}
.lightbox[hidden]{display:none}

/* ---------- notices ---------- */
.woocommerce-notices-wrapper:empty{display:none}
.woocommerce-message,.woocommerce-info,.woocommerce-error{list-style:none;margin:0 0 20px;padding:14px 18px;border-radius:var(--r-ctl);background:var(--ok-bg);color:var(--ink);font-size:var(--fs-ui);display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px}
.woocommerce-info{background:var(--tint-blue)}
.woocommerce-error{background:var(--err-bg);flex-direction:column;align-items:flex-start}
.woocommerce-message .button,.woocommerce-info .button{order:2;color:var(--blue);font-weight:600}

/* ---------- generic Woo buttons / forms (account, lost password, etc.) ---------- */
.woocommerce .button,.woocommerce button.button,.woocommerce a.button,.woocommerce input.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:0 20px;border:0;border-radius:var(--r-ctl);background:var(--blue);color:#fff;font:600 var(--fs-ui)/1 var(--sans);text-decoration:none;cursor:pointer;transition:background-color var(--t-fast)}
.woocommerce .button:hover{background:var(--blue-dark);color:#fff}
.woocommerce form .form-row{display:flex;flex-direction:column;gap:6px;margin:0 0 14px}
.woocommerce form .form-row label{font:500 var(--fs-small)/1.3 var(--sans);color:var(--ink-2)}
.woocommerce form .form-row .input-text,.woocommerce form .form-row select,.woocommerce form .form-row textarea{width:100%;min-height:50px;border:1px solid var(--rule-strong);border-radius:var(--r-ctl);padding:0 16px;background:#fff;font:400 1rem/1.4 var(--sans);color:var(--ink)}
.woocommerce form .form-row textarea{padding:12px 16px;min-height:110px}
.woocommerce form .form-row .input-text:focus{outline:none;border-color:var(--blue);box-shadow:0 0 0 4px rgba(30,79,224,.14)}
.woocommerce form .form-row .required{color:var(--magenta);text-decoration:none}
@media (max-width:599px){
  .woocommerce form .form-row{gap:5px;margin-bottom:12px}
  .woocommerce form .form-row label{font-size:.8125rem}
  .woocommerce form .form-row .input-text,.woocommerce form .form-row select{min-height:44px;padding:0 14px}
}
.woocommerce fieldset{border:1px solid var(--rule);border-radius:var(--r);padding:18px 20px;margin:20px 0}
.woocommerce fieldset legend{padding:0 8px;font-weight:600;color:var(--ink)}
.woocommerce-password-strength{font-size:var(--fs-small);margin-top:6px}

/* ---------- my account ---------- */
.account-main table.shop_table,.account-main table.woocommerce-table{width:100%;border-collapse:separate;border-spacing:0;background:#fff;border:1px solid var(--rule);border-radius:var(--r);overflow:hidden;font-size:var(--fs-ui)}
.account-main table th,.account-main table td{padding:12px 16px;text-align:left;border-bottom:1px solid var(--rule-sheet);vertical-align:middle}
.account-main table thead th{background:var(--ground);font-weight:600;color:var(--ink-2)}
.account-main table tr:last-child td{border-bottom:0}
.account-main table .button{min-height:36px;padding:0 14px;font-size:var(--fs-small)}
.account-main .woocommerce-Addresses{display:grid;gap:16px;margin-top:16px}
@media (min-width:720px){.account-main .woocommerce-Addresses{grid-template-columns:1fr 1fr}}
.account-main .woocommerce-Address{padding:20px;border:1px solid var(--rule);border-radius:var(--r);background:#fff}
.account-main .woocommerce-Address-title{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:10px}
.account-main .woocommerce-Address-title h2{font-size:1.25rem}
.account-main .woocommerce-Address-title a{color:var(--blue);font-weight:600}
.account-main address{font-style:normal;color:var(--ink-2);line-height:1.6}
.account-main>p{color:var(--ink-2);line-height:1.7;margin-bottom:12px}
.account-main>p a{color:var(--blue)}
.account-main mark{background:var(--tint-blue);color:var(--ink);border-radius:6px;padding:0 6px}
.account-main .woocommerce-order-details,.account-main .woocommerce-customer-details{margin-top:24px}
.account-main h2{margin-bottom:12px}
@media (max-width:719px){
  .account-main table.shop_table_responsive thead{display:none}
  .account-main table.shop_table_responsive tr{display:block;border-bottom:1px solid var(--rule)}
  .account-main table.shop_table_responsive td{display:flex;justify-content:space-between;gap:12px;border:0;padding:8px 16px}
  .account-main table.shop_table_responsive td::before{content:attr(data-title);font-weight:600;color:var(--ink-3)}
}

/* login / register */
.login-grid{display:grid;gap:20px;width:100%;justify-items:center}
@media (min-width:900px){.login-grid.has-register{grid-template-columns:repeat(2,minmax(0,460px));justify-content:center;align-items:start}}
.login-card form{display:grid;gap:14px}
.login-card .muted{font-size:var(--fs-small)}

/* ---------- cart & checkout blocks skin ---------- */
.wp-block-woocommerce-cart,.wp-block-woocommerce-checkout{font-family:var(--sans);color:var(--ink)}
.wp-block-woocommerce-cart.alignwide,.wp-block-woocommerce-checkout.alignwide{max-width:none;margin:0}
body[data-page="cart"] .page-body,body[data-page="checkout"] .page-body{padding-bottom:clamp(48px,6vw,88px)}
.wc-block-components-sidebar-layout .wc-block-components-main,.wc-block-components-sidebar-layout .wc-block-components-sidebar{box-sizing:border-box}
.wc-block-components-sidebar .wc-block-components-totals-wrapper,.wc-block-cart__sidebar .wp-block-woocommerce-cart-order-summary-block,.wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-block{background:#fff}
.wc-block-cart__sidebar{padding:clamp(16px,2vw,24px)!important;border:1px solid var(--rule);border-radius:var(--r-lg);background:#fff;box-shadow:var(--shadow-sm)}
.wc-block-cart-items{border:1px solid var(--rule)!important;border-radius:var(--r);overflow:hidden;background:#fff}
.wc-block-cart-items th{background:var(--ground);padding:12px 16px!important;font:600 var(--fs-small)/1.3 var(--sans)!important;color:var(--ink-2);text-transform:none!important}
.wc-block-cart-items td{padding:16px!important}
.wc-block-cart-item__image img{border-radius:12px;background:var(--ground)}
.wc-block-components-product-name{color:var(--ink)!important;font-weight:600!important;text-decoration:none!important}
.wc-block-components-button:not(.is-link),.wc-block-cart__submit-button,.wc-block-components-checkout-place-order-button{min-height:54px;border-radius:var(--r-ctl)!important;background:var(--blue)!important;color:#fff!important;font:600 1rem/1 var(--sans)!important;border:0!important;box-shadow:none!important}
.wc-block-components-button:not(.is-link):hover{background:var(--blue-dark)!important}
.wc-block-components-quantity-selector{border-radius:var(--r-ctl)!important;border-color:var(--rule-strong)!important}
.wc-block-components-text-input input,.wc-block-components-combobox .wc-block-components-combobox-control input,.wc-block-components-textarea,.wc-blocks-components-select .wc-blocks-components-select__select{border-radius:var(--r-ctl)!important;border-color:var(--rule-strong)!important;font-family:var(--sans)!important}
.wc-block-components-text-input.is-active input,.wc-block-components-text-input input:focus{border-color:var(--blue)!important;box-shadow:0 0 0 3px rgba(30,79,224,.14)!important}
.wc-block-components-checkout-step__title{font:700 1.25rem/1.2 var(--sans)!important;letter-spacing:-.01em}
.wc-block-components-radio-control__option,.wc-block-components-radio-control-accordion-option{border-radius:var(--r-ctl)!important}
.wc-block-components-radio-control__input:checked{border-color:var(--blue)!important}
.wc-block-components-radio-control__input:checked::before{background:var(--blue)!important}
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value,.wc-block-components-totals-footer-item .wc-block-components-totals-item__label{font-weight:700!important;font-size:1.25rem!important}
.wc-block-components-notice-banner{border-radius:var(--r-ctl)!important}
.wp-block-woocommerce-empty-cart-block .wc-block-cart__empty-cart__title{font:700 clamp(1.5rem,2.4vw,2rem)/1.2 var(--sans)}
.wp-block-woocommerce-empty-cart-block .wp-block-separator{display:none}
.wp-block-woocommerce-empty-cart-block .wp-block-heading:not(.wc-block-cart__empty-cart__title){font-size:1.5rem;margin:32px 0 16px}
.wc-block-grid__products{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:16px;margin:0!important}
.wc-block-grid__product{max-width:none!important;flex:none!important;padding:16px;border:1px solid var(--rule);border-radius:var(--r);background:#fff;list-style:none;text-align:left!important}
.wc-block-grid__product-image img{border-radius:12px}
.wc-block-grid__product .wp-block-button__link{border-radius:var(--r-ctl);background:var(--blue);color:#fff}

/* ---------- CF7 feedback form on the home page ---------- */
.karney-cf7 .wpcf7-form-control-wrap{display:block}
.karney-cf7 .wpcf7-not-valid-tip{font-size:var(--fs-small);color:var(--magenta);margin-top:4px}
.karney-cf7 .wpcf7-response-output{grid-column:1/-1;margin:0!important;padding:12px 16px!important;border-radius:var(--r-ctl);border:0!important;background:var(--ground);font-size:var(--fs-small)}
.karney-cf7.sent .wpcf7-response-output{background:var(--ok-bg)}
.karney-cf7 .wpcf7-spinner{display:none}
.karney-cf7>div:first-child,.karney-cf7 .hidden-fields-container{display:none}
.karney-cf7 .btn.wpcf7-submit{border:0;cursor:pointer}
@media (max-width:599px){.karney-cf7 .karney-cap{margin:0}.karney-cf7 .btn.wpcf7-submit{min-height:46px}}

/* honeypot plugin field must stay hidden */
.wpa_hidden_field,.wpa-hidden{display:none!important}

.wc-block-components-button,.wc-block-cart__submit-button,.wc-block-components-button__text{text-decoration:none!important}
.wc-block-checkout__sidebar .wc-block-components-order-summary-item__total-price{white-space:nowrap}
/* the demo's global .price (1.5rem bold) must not leak into Woo blocks */
.wp-block-woocommerce-cart .price,.wp-block-woocommerce-checkout .price,.wc-block-components-product-price.price{font:inherit;letter-spacing:normal;white-space:normal}
.wc-block-components-product-price del{color:var(--ink-3);font-weight:400}
.wc-block-components-product-price ins{text-decoration:none;color:var(--magenta);font-weight:600}

/* ---------- KARNEY FAQ block ---------- */
.karney-faq .faq-list{display:flex;flex-direction:column;gap:10px;max-width:880px}
.faq-item{border:1px solid var(--rule);border-radius:var(--r);background:#fff;box-shadow:var(--shadow-sm)}
.faq-item summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 20px;font:600 1.0625rem/1.35 var(--sans);color:var(--ink)}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::after{content:"+";flex:none;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--ground);color:var(--blue);font-weight:700}
.faq-item[open] summary::after{content:"−"}
.faq-a{padding:0 20px 18px;color:var(--ink-2);line-height:1.7}
.entry-content .karney-faq{padding:0}
.entry-content .karney-faq .container,.entry-content .feedback .container{padding:0}
/* footer socials */
.footer-socials{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px;padding:0;list-style:none}
.footer-socials a{display:inline-flex;align-items:center;min-height:34px;padding:0 14px;border-radius:var(--r-pill);background:rgba(255,255,255,.1);color:#fff;font-size:.875rem}
.footer-socials a:hover{background:rgba(255,255,255,.2)}
/* placeholder marker in pages */
.entry-content .karney-placeholder{padding:14px 18px;border-radius:var(--r-ctl);background:var(--note);color:var(--ink);border:1px dashed var(--ready)}

.single-product .reset_variations{display:inline-block;margin-left:12px;font-size:.875rem;color:var(--ink-3);text-decoration:underline}
.single-product table.variations{border:0;margin:0 0 8px}.single-product table.variations th,.single-product table.variations td{border:0;padding:4px 8px 4px 0;vertical-align:middle;background:none}

.filters .cat-link.cat-sub{padding-left:18px;font-size:.875rem}.filters .cat-link.cat-depth-2{padding-left:34px}.filters .cat-link.cat-sub .cat-radio{width:14px;height:14px}

/* select2 / selectWoo (область, країна) — як звичайні поля */
.karney-hidden-row{display:none!important}
.woocommerce form .form-row .select2-container{width:100%!important}
.select2-container--default .select2-selection--single{height:50px;border:1px solid var(--rule-strong);border-radius:var(--r-ctl);background:#fff}
.select2-container--default .select2-selection--single .select2-selection__rendered{line-height:48px;padding:0 40px 0 16px;font:400 1rem/48px var(--sans);color:var(--ink)}
.select2-container--default .select2-selection--single .select2-selection__placeholder{color:var(--ink-3,#8a90a2)}
.select2-container--default .select2-selection--single .select2-selection__arrow{height:48px;right:12px}
@media (max-width:599px){
  .select2-container--default .select2-selection--single{height:44px}
  .select2-container--default .select2-selection--single .select2-selection__rendered{line-height:42px;padding:0 36px 0 14px;font-size:16px}
  .select2-container--default .select2-selection--single .select2-selection__arrow{height:42px}
}
.select2-container--default.select2-container--open .select2-selection--single,.select2-container--default.select2-container--focus .select2-selection--single{border-color:var(--blue);box-shadow:0 0 0 4px rgba(30,79,224,.14);outline:none}
.select2-dropdown{border:1px solid var(--rule-strong);border-radius:var(--r-ctl);overflow:hidden;box-shadow:var(--shadow);font-family:var(--sans)}
.select2-container--default .select2-search--dropdown .select2-search__field{min-height:40px;border:1px solid var(--rule-strong);border-radius:10px;padding:0 12px}
.select2-container--default .select2-results__option{padding:9px 14px}
.select2-container--default .select2-results__option--highlighted[aria-selected],.select2-container--default .select2-results__option--highlighted[data-selected]{background:var(--blue);color:#fff}
/* Оформлення: згода з умовами — акуратний чекбокс у рядок */
.woocommerce-terms-and-conditions-wrapper{margin:14px 0 16px}
.woocommerce-terms-and-conditions-wrapper .woocommerce-privacy-policy-text p{font-size:12.5px;color:#64748b;margin:0 0 12px;line-height:1.5}
.woocommerce-terms-and-conditions-wrapper .form-row{margin:0;padding:0}
.woocommerce-terms-and-conditions-wrapper label.checkbox{display:flex !important;align-items:center;justify-content:flex-start !important;gap:10px;width:100%;padding:12px 14px;border:1px solid var(--rule,#e2e8f0);border-radius:12px;background:#fff;cursor:pointer;font-size:14px;line-height:1.4;color:#0f172a;transition:border-color .15s}
.woocommerce-terms-and-conditions-wrapper label.checkbox:hover{border-color:#1E4FE0}
.woocommerce-terms-and-conditions-wrapper .woocommerce-terms-and-conditions-checkbox-text{flex:0 1 auto;display:inline}
.woocommerce-terms-and-conditions-wrapper .woocommerce-terms-and-conditions-checkbox-text a{display:inline;margin:0;font-weight:600}
.woocommerce-terms-and-conditions-wrapper abbr.required{margin-left:2px;text-decoration:none;color:#dc2626}
.woocommerce-terms-and-conditions-wrapper input#terms{flex:0 0 auto;width:20px;height:20px;margin:0;accent-color:#1E4FE0;cursor:pointer}
/* посадкові сторінки: сітка товарів на всю ширину контейнера, текст — читабельною колонкою */
.entry-content:has(.karney-landing-grid){max-width:none}
.entry-content:has(.karney-landing-grid)>:not(.karney-landing-grid){max-width:76ch}
.karney-landing-grid{margin:28px 0 40px}
@media (min-width:1100px){.karney-landing-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
.karney-landing-grid .product-card a:not(.btn){color:inherit;text-decoration:none}
/* ---------- посадкові SEO-сторінки ---------- */
.lp-hero{background:linear-gradient(180deg,var(--tint-blue),var(--ground) 85%);padding:clamp(18px,2.5vw,28px) 0 clamp(32px,4vw,52px);border-bottom:1px solid var(--rule)}
.lp-hero .breadcrumb{margin-bottom:clamp(14px,2vw,22px)}
.lp-hero-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:clamp(24px,4vw,56px);align-items:center}
.lp-hero h1{max-width:18ch;font-size:clamp(2rem,1.4rem + 2.2vw,3.1rem)}
.lp-lead{font-size:var(--fs-lead,1.15rem);line-height:1.6;color:var(--ink-2);max-width:62ch;margin:16px 0 24px}
.lp-actions{display:flex;flex-wrap:wrap;gap:12px}
.lp-actions .btn-secondary svg{color:var(--blue)}
.lp-perks{list-style:none;margin:0;padding:clamp(18px,2vw,24px);background:#fff;border:1px solid var(--rule);border-radius:var(--r);display:grid;gap:16px;box-shadow:0 10px 30px -22px rgba(15,26,51,.35)}
.lp-perks li{display:flex;gap:12px;align-items:flex-start}
.lp-perks svg{flex:none;width:30px;height:30px;padding:6px;border-radius:50%;background:var(--ok-bg);color:var(--ok)}
.lp-perks span{display:flex;flex-direction:column;font-size:var(--fs-small,.9rem);color:var(--ink-3);line-height:1.45}
.lp-perks b{color:var(--ink);font-size:var(--fs-ui,1rem)}
.lp-body{padding:clamp(28px,4vw,48px) 0 clamp(64px,8vw,104px);display:grid;gap:clamp(36px,5vw,64px)}
.lp-body h2{font-size:clamp(1.35rem,1.1rem + .9vw,1.9rem);line-height:1.2}
.lp-products .section-head{margin-bottom:20px}
.lp-products .product-grid{margin:0}
@media (min-width:1100px){.lp-products .product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
.lp-products .product-card a:not(.btn){color:inherit;text-decoration:none}
.lp-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:20px}
.lp-cards.is-single{grid-template-columns:minmax(0,860px)}
.lp-card{background:#fff;border:1px solid var(--rule);border-radius:var(--r);padding:clamp(20px,2.4vw,28px)}
.lp-card h2{font-size:1.25rem;margin:0 0 10px}
.lp-card-body{color:var(--ink-2);line-height:1.65}
.lp-card-body>*{margin:0 0 10px}.lp-card-body>:last-child{margin-bottom:0}
.lp-card-body a{color:var(--blue);text-decoration:underline;text-underline-offset:3px}
.lp-card-body ul{list-style:none;padding:0;display:grid;gap:8px}
.lp-card-body li{position:relative;padding-left:26px}
.lp-card-body li::before{content:'';position:absolute;left:2px;top:.45em;width:12px;height:7px;border-left:2px solid var(--ok);border-bottom:2px solid var(--ok);transform:rotate(-45deg)}
.lp-related{background:var(--ground);border-radius:var(--r-lg);padding:clamp(20px,3vw,32px)}
.lp-related h2{margin:0 0 16px}
.lp-related ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:12px}
.lp-related a{display:flex;align-items:center;justify-content:space-between;gap:10px;height:100%;padding:14px 18px;background:#fff;border:1px solid var(--rule);border-radius:var(--r-ctl);color:var(--ink);font-weight:600;text-decoration:none;transition:border-color .15s,color .15s}
.lp-related a::after{content:'→';color:var(--blue)}
.lp-related a:hover{border-color:var(--blue);color:var(--blue)}
@media (max-width:899px){.lp-hero-grid{grid-template-columns:1fr}.lp-hero h1{max-width:none}}
@media (max-width:560px){.lp-actions .btn{flex:1 1 100%}}
.lp-body:has(+ .feedback){padding-bottom:0}
.footer-socials a{justify-content:center;width:40px;height:40px;min-height:0;padding:0;border-radius:50%;transition:background .15s,transform .15s}
.footer-socials a:hover{transform:translateY(-2px)}
.info-menu-extra{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin-top:8px;padding:4px 6px 0}
.info-menu-mail{display:inline-flex;align-items:center;gap:8px;font:600 .875rem/1 var(--sans);color:var(--ink-2)}
.info-menu-mail svg{color:var(--blue)}
.info-menu-mail:hover{color:var(--blue)}
.info-menu-soc{display:flex;gap:6px;margin:0;padding:0;list-style:none}
.info-menu-soc a{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--tint-blue);color:var(--blue);transition:background .15s,color .15s}
.info-menu-soc a:hover{background:var(--blue);color:#fff}
.info-menu-soc svg{width:18px;height:18px}
.cat-bottom{display:grid;gap:24px;margin-top:clamp(32px,5vw,56px);margin-bottom:clamp(32px,5vw,56px)}
.cat-seo-text h2{margin:0 0 10px;font-size:clamp(1.2rem,2vw,1.45rem)}
.cat-seo-text h2:not(:first-child){margin-top:24px}
.cat-seo-text p,.cat-seo-text li{max-width:75ch;line-height:1.6}
.karney-brands small{margin-left:auto;color:var(--muted,#667);font-weight:500}
.cat-seo-text ul{list-style:disc;padding-left:1.3em;margin:8px 0}.cat-bottom .lp-related h2{font-size:clamp(1.2rem,2vw,1.45rem)}
/* mobile sheet: sticky "Застосувати" appears after the first change */
@media (max-width:979px){
  .filters .filters-apply{display:none}
  .filters.is-dirty .filters-apply{display:flex;position:sticky;bottom:12px;z-index:3;margin-top:16px;box-shadow:0 8px 24px rgba(15,23,42,.18)}
}
/* mobile catalog card: title (2 lines), stock, price, button — no brand / spec pills */
@media (max-width:599px){
  .product-card .product-brand,.product-card .spec-band{display:none}
  .product-card h3{font:400 .8125rem/1.3 var(--sans);min-height:2.6em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
}
