/* Магазин «Сферы климата» на WooCommerce: витрина, карточки, страница товара, корзина, оформление.
   Стандартные стили WooCommerce отключены в inc/shop.php — здесь всё своё. */

/* ---------- шапка витрины */
.page-hero-shop .wrap { padding-bottom: 56px; }
.shop-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.shop-facts span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); font-size: 14px; font-weight: 600; color: #e3eef2; backdrop-filter: blur(6px); }
.shop-facts svg { width: 18px; height: 18px; color: #6fd3cc; }
.shop-sec { padding-top: 48px; }

/* ---------- фильтр */
.filter .link-btn { color: var(--teal-600); font-weight: 700; font-size: 13px; }
.fcats { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.fcats a { display: flex; align-items: center; gap: 10px; padding: 7px 10px; margin: 0 -10px; border-radius: 8px; font-size: 14px; line-height: 1.3; transition: background .15s, color .15s; }
.fcats a:hover { background: var(--teal-50); color: var(--teal-600); }
.fcats a.is-on { background: var(--teal-50); color: var(--teal-600); font-weight: 700; }
.fcats a i { margin-left: auto; font-style: normal; font-size: 12px; color: var(--muted); background: var(--bg); border-radius: 999px; padding: 1px 8px; }
.fcats ul { margin: 2px 0 6px 10px; padding-left: 10px; border-left: 2px solid var(--teal-50); display: grid; gap: 1px; list-style: none; }
.fcats ul a { font-size: 13px; padding: 5px 10px; }
.fprice { display: flex; align-items: center; gap: 8px; }
.fprice input { width: 100%; min-width: 0; height: 40px; border-radius: 10px; border: 1px solid var(--line); padding: 0 12px; background: #f8fafb; font: inherit; font-size: 14px; outline: none; }
.fprice input:focus { border-color: var(--teal); }
.fprice span { color: var(--muted); }
.filter .btn-block { margin-top: 20px; }
.filter-help { display: flex; gap: 12px; margin-top: 22px; padding: 16px; border-radius: 12px; background: var(--ink); color: #dfe9ee; }
.filter-help > svg { width: 26px; height: 26px; color: #6fd3cc; flex: none; }
.filter-help b { color: #fff; font-size: 14px; }
.filter-help p { font-size: 13px; color: #9fb3bd; margin: 4px 0 12px; }
.filter-help .btn { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .2); }
.filter-help .btn:hover { border-color: #6fd3cc; color: #6fd3cc; }

.filter-box > summary { display: none; }
@media (max-width: 960px) {
  .filter-box > summary { display: flex; align-items: center; gap: 10px; list-style: none; cursor: pointer; font-weight: 800; font-size: 16px; }
  .filter-box > summary::-webkit-details-marker { display: none; }
  .filter-box > summary svg { width: 20px; height: 20px; color: var(--teal-600); }
  .filter-box > summary em { font-style: normal; font-weight: 600; font-size: 13px; color: var(--teal-600); background: var(--teal-50); border-radius: 999px; padding: 3px 10px; max-width: 45%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .filter-box > summary::after { content: ""; margin-left: auto; width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
  .filter-box[open] > summary { margin-bottom: 16px; }
  .filter-box[open] > summary::after { transform: rotate(-135deg); }
  .filter { padding: 16px 18px; }
  .filter-help { display: none; }
}

/* ---------- панель сортировки */
.shop-bar .woocommerce-result-count { margin: 0; color: var(--muted); font-size: 14px; }
.shop-bar .woocommerce-ordering { margin: 0; }
.shop-bar select { height: 42px; border-radius: 10px; border: 1px solid var(--line); padding: 0 36px 0 14px; background: #fff; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }

/* ---------- карточки */
.pcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.pcards-4 { grid-template-columns: repeat(4, 1fr); }
.pcards-compact { grid-template-columns: repeat(5, 1fr); gap: 14px; }
.pcards-compact .pc-body { padding: 14px; gap: 10px; }
.pcards-compact .pc-title { font-size: 14px; }
.pcards-compact .pc-foot { flex-direction: column; align-items: stretch; }
.pcards-compact .pc-foot .btn { width: 100%; }
.shop-sec .wrap { max-width: 1600px; }
.pc-sale { position: absolute; right: 12px; top: 12px; padding: 5px 10px; border-radius: 8px; background: linear-gradient(135deg, #ff6a3d, #ff3d71); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; box-shadow: 0 6px 16px rgba(255, 61, 113, .3); }
.home-shop-h { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 40px 0 18px; }
.home-shop-h:first-child { margin-top: 0; }
.home-shop-h h3 { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 800; }
.sale-tag { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: linear-gradient(135deg, #ff6a3d, #ff3d71); color: #fff; font-size: 16px; }
.systiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 8px; }
.systile { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 44px 14px 14px; border-radius: 16px; background: #fff; border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s, transform .2s; }
.systile:hover { border-color: #b9d9d6; box-shadow: 0 14px 30px rgba(11, 26, 35, .08); transform: translateY(-2px); }
.systile-img { flex: none; width: 76px; height: 64px; border-radius: 12px; background: radial-gradient(120% 90% at 50% 0%, #fff 0%, #eef4f6 75%); display: grid; place-items: center; overflow: hidden; }
.systile-img img { width: 100%; height: 100%; object-fit: contain; padding: 6px; mix-blend-mode: multiply; }
.systile-img svg { width: 30px; height: 30px; color: #b9d0d8; }
.systile-txt { display: grid; gap: 4px; min-width: 0; }
.systile-txt b { font-size: 14px; line-height: 1.3; font-weight: 800; color: var(--text); }
.systile-txt small { font-size: 12px; color: var(--muted); font-weight: 600; }
.systile-go { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--teal-600); transition: transform .2s; }
.systile-go svg { width: 18px; height: 18px; }
.systile:hover .systile-go { transform: translate(4px, -50%); }
.acc-sec { padding-top: 64px; }
.pcard { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s; }
.pcard:hover { transform: translateY(-4px); border-color: #b9d9d6; box-shadow: 0 18px 40px rgba(11, 26, 35, .10); }
.pc-img { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; background: radial-gradient(120% 90% at 50% 0%, #ffffff 0%, #eef4f6 70%); overflow: hidden; }
.pc-img::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, #3a7bff, #28d6be); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.pcard:hover .pc-img::after { transform: scaleX(1); }
.pc-img img { width: 100%; height: 100%; object-fit: contain; padding: 22px; mix-blend-mode: multiply; transition: transform .4s; }
.pcard:hover .pc-img img { transform: scale(1.05); }
.pc-noimg svg { width: 56px; height: 56px; color: #b9d0d8; }
.pc-brand { position: absolute; left: 12px; top: 12px; padding: 5px 10px; border-radius: 8px; background: rgba(11, 26, 35, .82); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.pc-body { display: flex; flex-direction: column; gap: 12px; flex: 1; padding: 16px 18px 18px; }
.pc-title { font-size: 15px; font-weight: 800; line-height: 1.35; color: var(--text); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pc-title:hover { color: var(--teal-600); }
.pc-specs { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; flex: 1; align-content: start; }
.pc-specs li { display: flex; align-items: baseline; gap: 8px; font-size: 13px; }
.pc-specs li span { color: var(--muted); white-space: nowrap; }
.pc-specs li::after { content: ""; order: 1; flex: 1; border-bottom: 1px dotted #cbd7dc; transform: translateY(-3px); }
.pc-specs li b { order: 2; font-weight: 700; white-space: nowrap; }
.pc-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
.pc-price { display: grid; gap: 4px; min-width: 0; }
.pc-price b, .pc-price .amount { font-size: 19px; font-weight: 800; color: var(--text); white-space: nowrap; }
.pc-price del .amount { font-size: 13px; color: var(--muted); font-weight: 500; }
.pc-price ins { text-decoration: none; }
.pc-stock { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: #17865f; }
.pc-stock i { width: 7px; height: 7px; border-radius: 50%; background: #1fb57a; box-shadow: 0 0 0 3px rgba(31, 181, 122, .18); }
.pc-stock.is-out { color: var(--muted); }
.pc-foot .btn { flex: none; gap: 8px; padding: 0 14px; }
.pc-foot .btn svg { width: 18px; height: 18px; }
.pc-foot .btn.loading { opacity: .7; pointer-events: none; }
.pc-foot .btn.loading svg { animation: sk-spin .8s linear infinite; }
.pc-foot .btn.is-added, .pc-foot .btn.added { background: var(--ink); }
.pcard .added_to_cart { display: none; }
@keyframes sk-spin { to { transform: rotate(360deg); } }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* ---------- пагинация */
.woocommerce-pagination { margin-top: 32px; }
.woocommerce-pagination ul { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; list-style: none; margin: 0; padding: 0; }
.woocommerce-pagination a, .woocommerce-pagination span { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-weight: 700; transition: border-color .2s, color .2s; }
.woocommerce-pagination a:hover { border-color: var(--teal); color: var(--teal-600); }
.woocommerce-pagination span.current { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- страница товара */
.pp-top { padding: 32px 0 72px; background: linear-gradient(180deg, #fff 0%, var(--bg) 100%); }
.crumbs-dark { color: var(--muted); }
.crumbs-dark a:hover { color: var(--teal-600); }
.pp { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.pp-gallery { position: sticky; top: 140px; }
.pp-main { position: relative; aspect-ratio: 1 / 1; border-radius: 20px; border: 1px solid var(--line); background: radial-gradient(120% 90% at 50% 0%, #fff 0%, #eef4f6 75%); overflow: hidden; }
.pp-slide { position: absolute; inset: 0; margin: 0; display: grid; place-items: center; opacity: 0; transform: scale(.98); transition: opacity .35s, transform .35s; }
.pp-slide.is-on { opacity: 1; transform: none; }
.pp-slide img { width: 100%; height: 100%; object-fit: contain; padding: 36px; mix-blend-mode: multiply; }
.pp-noimg { gap: 10px; color: var(--muted); align-content: center; }
.pp-noimg svg { width: 72px; height: 72px; color: #b9d0d8; }
.pp-main .pc-brand { left: 18px; top: 18px; font-size: 12px; }
.pp-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding: 2px 2px 4px; }
.pp-thumbs button { flex: none; width: 76px; height: 76px; border-radius: 12px; border: 2px solid transparent; background: #fff; padding: 6px; cursor: pointer; box-shadow: 0 0 0 1px var(--line); transition: border-color .2s; }
.pp-thumbs button.is-on, .pp-thumbs button:hover { border-color: var(--teal); }
.pp-thumbs img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.pp-info .eyebrow { color: var(--teal-600); }
.pp-title { font-size: clamp(26px, 3vw, 38px); font-weight: 800; line-height: 1.15; margin: 14px 0 8px; }
.pp-sku { color: var(--muted); font-size: 14px; }
.pp-buy { margin-top: 24px; padding: 24px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; gap: 16px; }
.pp-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; font-size: clamp(30px, 3.4vw, 40px); font-weight: 800; line-height: 1; }
.pp-price del { font-size: 18px; color: var(--muted); font-weight: 500; }
.pp-price ins { text-decoration: none; }
.pp-price small { font-size: 13px; font-weight: 600; color: var(--muted); }
.pp-stock { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: #eaf8f1; color: #17865f; font-size: 13px; }
.pp-stock i { width: 10px; height: 10px; border-radius: 50%; background: #1fb57a; box-shadow: 0 0 0 4px rgba(31, 181, 122, .2); animation: sk-pulse 2s infinite; flex: none; }
.pp-stock span { display: grid; }
.pp-stock b { font-size: 15px; }
.pp-stock.is-out { background: var(--bg); color: var(--muted); }
@keyframes sk-pulse { 50% { box-shadow: 0 0 0 7px rgba(31, 181, 122, 0); } }
.pp-cart { display: flex; gap: 12px; margin: 0; }
.pp-cart .btn { flex: 1; height: 54px; font-size: 16px; }
.pp-cart .btn svg { width: 20px; height: 20px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.qty button { width: 42px; height: 52px; border: 0; background: none; font-size: 20px; cursor: pointer; color: var(--text); }
.qty button:hover { color: var(--teal-600); background: var(--teal-50); }
.qty input { width: 48px; height: 52px; border: 0; text-align: center; font: inherit; font-weight: 800; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pp-keys { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 20px 0 0; padding: 0; list-style: none; }
.pp-keys li { display: grid; gap: 2px; padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.pp-keys span { font-size: 12px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.pp-keys b { font-size: 17px; font-weight: 800; }
.pp-perks { display: grid; gap: 12px; margin: 20px 0 0; padding: 0; list-style: none; }
.pp-perks li { display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--muted); }
.pp-perks svg { width: 38px; height: 38px; padding: 9px; border-radius: 12px; background: var(--teal-50); color: var(--teal-600); flex: none; }
.pp-perks span { display: grid; }
.pp-perks b { color: var(--text); font-size: 15px; }
.woocommerce-notices-wrapper:not(:empty) { margin-bottom: 18px; }

.pp-details { padding-top: 64px; }
.pp-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.pp-tabs button { height: 46px; padding: 0 22px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font: inherit; font-weight: 700; cursor: pointer; color: var(--text); transition: background .2s, color .2s, border-color .2s; }
.pp-tabs button:hover { border-color: var(--teal); color: var(--teal-600); }
.pp-tabs button.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.pp-pane { display: none; animation: sk-fade .3s; }
.pp-pane.is-on { display: block; }
@keyframes sk-fade { from { opacity: 0; transform: translateY(6px); } }
.pp-pane.prose-page p { font-size: 16px; line-height: 1.7; }
.pp-pane .btn { margin-top: 10px; }
.pp-spec-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.pp-spec-group { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; }
.pp-spec-group h3 { font-size: 15px; font-weight: 800; padding: 14px 18px; background: var(--bg); }
.pp-spec-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.pp-spec-table th, .pp-spec-table td { padding: 10px 18px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.pp-spec-table th { font-weight: 500; color: var(--muted); width: 58%; }
.pp-spec-table td { font-weight: 700; }

/* ---------- корзина и оформление (блоки WooCommerce) */
.woocommerce-cart .prose-page, .woocommerce-checkout .prose-page, .woocommerce-account .prose-page { max-width: none; }
.woocommerce-cart .prose-page p, .woocommerce-checkout .prose-page p, .woocommerce-cart .prose-page li, .woocommerce-checkout .prose-page li { color: inherit; margin-bottom: 0; }
.woocommerce-cart .prose-page ul, .woocommerce-checkout .prose-page ul { list-style: none; padding-left: 0; }
.wc-block-cart, .wc-block-checkout { font-family: var(--font); }
.wc-block-cart .wc-block-cart__main, .wc-block-checkout .wc-block-checkout__main { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px !important; }
.wc-block-components-sidebar { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px !important; box-shadow: var(--shadow); }
.wc-block-components-button:not(.is-link), .wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button {
  background: var(--teal) !important; color: #fff !important; border: 0 !important; border-radius: 12px !important; min-height: 52px; font-weight: 800 !important; font-family: var(--font) !important; transition: background .2s;
}
.wc-block-components-button:not(.is-link):hover { background: var(--teal-600) !important; }
.wc-block-components-product-name { font-weight: 800; color: var(--text) !important; }
.wc-block-cart-item__image img, .wc-block-components-order-summary-item__image img { mix-blend-mode: multiply; background: #eef4f6; border-radius: 10px; }
.wc-block-components-text-input input, .wc-block-components-textarea, .wc-blocks-components-select__select { border-radius: 12px !important; border-color: var(--line) !important; }
.wc-block-components-text-input input:focus, .wc-block-components-textarea:focus { border-color: var(--teal) !important; box-shadow: 0 0 0 1px var(--teal) !important; }
.wc-block-components-radio-control-accordion-option, .wc-block-components-radio-control__option { border-color: var(--line) !important; border-radius: 12px; }
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value { font-size: 22px; font-weight: 800; }
.wc-block-components-title.wc-block-components-title, .wc-block-cart__empty-cart__title { font-weight: 800; }
.wp-block-woocommerce-empty-cart-block .wp-block-separator { display: none; }

/* классические сообщения WooCommerce */
.woocommerce-message, .woocommerce-info, .woocommerce-error { list-style: none; padding: 14px 18px; border-radius: 12px; background: var(--teal-50); border: 1px solid #bfe6e2; color: var(--text); margin: 0 0 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; justify-content: space-between; }
.woocommerce-error { background: #fdecec; border-color: #f5c2c0; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; font-weight: 800; color: var(--teal-600); }

/* ---------- адаптив */
@media (max-width: 1180px) { .pcards-4, .systiles, .pcards-compact { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 1100px) { .pp { gap: 32px; } }
@media (max-width: 960px) {
  .shop { grid-template-columns: 1fr; }
  .filter { position: static; }
  .pcards, .pcards-4, .pcards-compact, .systiles { grid-template-columns: repeat(2, 1fr); }
  .pp { grid-template-columns: 1fr; }
  .pp-gallery { position: static; }
  .pp-main { aspect-ratio: 4 / 3; max-height: 460px; width: 100%; }
  .pp-spec-groups { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .pcards, .pcards-4, .systiles { grid-template-columns: 1fr; gap: 12px; }
  .pcards-compact { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .pcards-compact .pc-specs { display: none; }
  .pcards-compact .pc-img { aspect-ratio: 1; }
  .pc-img { aspect-ratio: 16 / 10; }
  .shop-facts span { font-size: 13px; padding: 7px 12px; }
  .shop-bar { flex-direction: column; align-items: stretch; }
  .shop-bar select { width: 100%; }
  .pp-top { padding-top: 20px; }
  .pp-buy { padding: 18px; }
  .pp-keys { gap: 8px; }
  .pp-keys li { padding: 12px; }
  .pp-keys b { font-size: 15px; }
  .pp-slide img { padding: 20px; }
  .pp-thumbs button { width: 62px; height: 62px; }
  .pp-spec-table th, .pp-spec-table td { padding: 9px 12px; }
}
@media (prefers-reduced-motion: reduce) { .pcard, .pc-img img, .pp-slide, .pp-stock i { transition: none; animation: none; } }

/* ---------- шаги заказа, гарантии, подсказки адреса */
.co-steps { display: flex; gap: 10px; margin: 0 0 24px; padding: 0; list-style: none; counter-reset: s; }
.co-steps li { flex: 1; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-weight: 700; font-size: 14px; color: var(--muted); }
.co-steps b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--bg); color: var(--muted); font-size: 14px; flex: none; }
.co-steps li.is-on { border-color: var(--teal); color: var(--text); box-shadow: 0 0 0 3px var(--teal-50); }
.co-steps li.is-on b { background: linear-gradient(135deg, #3a7bff, #28d6be); color: #fff; }
.co-steps li.is-done b { background: var(--teal-50); color: var(--teal-600); }
.co-perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; }
.co-perks li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--bg); font-size: 14px; font-weight: 600; color: var(--text); }
.co-perks svg { width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: #fff; color: var(--teal-600); flex: none; }
.wc-block-cart-item__product .wc-block-components-product-metadata__description,
.wc-block-components-order-summary-item .wc-block-components-product-metadata__description { display: none; }
.wc-block-cart-items__header { font-size: 12px; letter-spacing: .08em; color: var(--muted); }
.wc-block-cart-item__prices, .wc-block-cart-item__total .wc-block-components-product-price { font-weight: 800; }
.wc-block-cart-item__total .wc-block-components-product-price__value { font-size: 18px; }
.wc-block-cart-item__image img { width: 96px !important; height: 96px; object-fit: contain; padding: 6px; }
.wc-block-cart-item__wrap .wc-block-components-product-name { font-size: 16px; }
.wc-block-components-quantity-selector { border-radius: 10px !important; }
.wc-block-cart .wc-block-cart__totals-title { font-size: 12px !important; letter-spacing: .08em; color: var(--muted); }
.wc-block-components-checkout-step__title { font-weight: 800 !important; }
.wc-block-checkout__main .wc-block-components-checkout-step { padding: 4px 0 8px; }
.addr-sug { position: absolute; z-index: 1000; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 18px 40px rgba(11, 26, 35, .16); padding: 6px; max-height: 320px; overflow: auto; }
.addr-sug[hidden] { display: none; }
.addr-opt { display: block; width: 100%; text-align: left; padding: 10px 12px; border: 0; border-radius: 8px; background: none; font: inherit; font-size: 14px; cursor: pointer; color: var(--text); }
.addr-opt:hover, .addr-opt.is-on { background: var(--teal-50); color: var(--teal-600); }
@media (max-width: 960px) { .co-perks { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  .co-steps { gap: 6px; }
  .co-steps li { flex-direction: column; gap: 6px; padding: 10px 6px; font-size: 12px; text-align: center; }
  .co-perks { grid-template-columns: 1fr; }
}
.woocommerce-cart .prose-page .alignwide, .woocommerce-checkout .prose-page .alignwide, .wp-block-woocommerce-cart, .wp-block-woocommerce-checkout { margin-left: 0 !important; margin-right: 0 !important; max-width: none !important; width: auto !important; }
.wc-block-components-sidebar-layout { margin: 0 !important; gap: 24px; flex-wrap: nowrap; }
.wc-block-components-sidebar-layout .wc-block-components-main { padding-right: 0 !important; }
@media (max-width: 700px) { .wc-block-components-sidebar-layout { flex-wrap: wrap; } }

/* ---------- живой поиск */
form.search { position: relative; }
.qs { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 90; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 50px rgba(8, 22, 30, .22); padding: 6px; max-height: min(70vh, 520px); overflow: auto; min-width: 320px; }
.qs[hidden] { display: none; }
.qs-item { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 10px; color: var(--text); }
.qs-item:hover, .qs-item.is-on { background: var(--teal-50); }
.qs-img { flex: none; width: 56px; height: 48px; border-radius: 8px; background: #e3ecef; display: grid; place-items: center; overflow: hidden; }
.qs-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 3px; }
.qs-txt { flex: 1; min-width: 0; display: grid; gap: 2px; }
.qs-txt b { font-size: 13.5px; font-weight: 700; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.qs-txt small { font-size: 12px; color: var(--muted); }
.qs-txt small.is-in { color: #17865f; }
.qs-price { flex: none; font-weight: 800; font-size: 14px; white-space: nowrap; }
.qs-all { display: block; text-align: center; padding: 10px; margin-top: 4px; border-top: 1px solid var(--line); font-weight: 700; color: var(--teal-600); border-radius: 0 0 10px 10px; }
.qs-all:hover, .qs-all.is-on { background: var(--teal-50); }
.qs-empty { padding: 14px; font-size: 14px; color: var(--muted); }
.qs-empty a { color: var(--teal-600); font-weight: 700; }
.top form.search .qs { min-width: 480px; }
@media (max-width: 960px) { .qs, .top form.search .qs { min-width: 0; } }

/* ---------- заглушка вместо фото */
.pc-img .ph, .pp-noimg .ph { width: 100%; height: 100%; padding: 8px 10px; }
.pp-noimg .ph { padding: 28px; }
.ph .ph-fan { animation: ph-spin 9s linear infinite; }
.ph .ph-air path { stroke-dasharray: 6 8; animation: ph-air 2.4s linear infinite; }
.ph .ph-flame { transform-origin: 160px 150px; animation: ph-flame 1.6s ease-in-out infinite; }
.pcard:hover .ph .ph-fan { animation-duration: 2.5s; }
.pcard:hover .ph .ph-air path { animation-duration: 1s; }
@keyframes ph-spin { to { transform: rotate(360deg); } }
@keyframes ph-air { to { stroke-dashoffset: -28; } }
@keyframes ph-flame { 50% { transform: scale(.92, 1.06); } }
@media (prefers-reduced-motion: reduce) { .ph .ph-fan, .ph .ph-air path, .ph .ph-flame { animation: none; } }
