.gallery-stage{position:relative}.photo-expand{position:absolute;left:16px;bottom:16px;z-index:3;display:flex;align-items:center;gap:8px;padding:10px 14px;background:#fff;border:1px solid #ddd;font-size:13px;box-shadow:0 3px 18px #00000008}.photo-expand .icon{width:18px;height:18px}.photo-dialog{width:min(1100px,calc(100vw - 40px));max-width:none;max-height:calc(100dvh - 36px);padding:16px 22px;background:#fff}.photo-dialog-bar{display:flex;justify-content:space-between;align-items:center;gap:20px;font-size:16px}.photo-dialog-stage{position:relative;display:flex;align-items:center;justify-content:center;min-height:220px}.photo-dialog-stage img{width:100%;height:min(74dvh,820px);object-fit:contain;touch-action:pan-y pinch-zoom}.photo-dialog-stage .icon-button{position:absolute;z-index:1;background:#fff;border:1px solid #ddd}.photo-prev{left:0;transform:rotate(180deg)}.photo-next{right:0}#photo-position{text-align:center;font-size:13px;margin:8px 0;color:#666}.model-size-guide{overflow:auto;max-height:55dvh}.model-size-guide table{font-size:14px;white-space:nowrap;border-collapse:collapse;width:100%}.model-size-guide th,.model-size-guide td{padding:12px;border:1px solid #ddd}.model-size-guide .eyebrow{font-size:13px;line-height:1.6}.journey-steps{display:flex;gap:12px;list-style:none;padding:0;margin:24px 0}.journey-steps li{flex:1;border-top:2px solid #ddd;padding-top:12px;font-size:14px}.journey-steps li:first-child{border-color:var(--accent)}.journey-steps small{display:block;color:#777;margin-top:6px}
@media(max-width:800px){.photo-dialog{width:calc(100vw - 16px);padding:12px;max-height:calc(100dvh - 16px)}.photo-dialog-bar{font-size:14px}.photo-dialog-stage img{height:70dvh}.photo-expand{left:12px;bottom:12px;font-size:12px;padding:8px 10px}.journey-steps{gap:8px}.journey-steps li{font-size:12px}.journey-steps small{font-size:11px}}

.loyalty-card{padding:28px;border:1px solid #ddd;margin:30px 0;max-width:760px}.loyalty-card h2{font-size:32px;margin:12px 0}.loyalty-card p{font-size:15px;line-height:1.7}.loyalty-card form{display:flex;align-items:end;gap:15px;margin-top:20px}.loyalty-card input{display:block;padding:12px;border:1px solid #ccc;max-width:140px;margin-top:8px}.loyalty-history{margin-top:24px}.loyalty-history>div{display:flex;justify-content:space-between;gap:20px;border-top:1px solid #eee;padding:14px 0;font-size:14px}.loyalty-history small{display:block;color:#777;margin-top:5px}@media(max-width:800px){.loyalty-card{padding:20px}.loyalty-card form{flex-wrap:wrap}}

.order-journey{margin:25px 0 36px;padding:28px;border:1px solid #ddd;background:#fff}.order-journey h2{font-size:28px;margin:15px 0}.order-journey .journey-steps li{border-color:#ddd}.order-journey .journey-steps .is-done{border-color:var(--accent)}.shipment-card{display:flex;align-items:center;flex-wrap:wrap;gap:16px;padding:20px;background:#f6f6f6}.shipment-card strong{overflow-wrap:anywhere}.shipment-card .button{font-size:14px;margin-left:auto}.order-help{display:flex;flex-wrap:wrap;gap:14px;font-size:15px;margin:25px 0 0}.order-help:empty{display:none}.social-challenge{overflow-wrap:anywhere}.social-challenge code{white-space:normal}@media(max-width:800px){.order-journey{padding:20px}.shipment-card{padding:16px}.shipment-card .button{width:100%;justify-content:center}.order-journey .journey-steps{flex-direction:column;gap:18px}.order-journey .journey-steps li{font-size:15px;padding-top:10px}.order-journey .journey-steps small{font-size:13px}}

.woocommerce .account-welcome h2{font-size:32px;margin:14px 0}.account-welcome>p{color:#666;font-size:17px;line-height:1.7}.account-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:28px 0}.account-shortcuts>a{padding:24px;border:1px solid #ddd;display:flex;flex-direction:column;gap:12px;text-decoration:none;transition:border-color .2s,background .2s}.account-shortcuts>a:hover{border-color:var(--accent);background:#fafafa}.account-shortcuts .icon{width:25px;height:25px}.account-shortcuts strong{font-size:18px}.account-shortcuts small{font-size:14px;color:#666;line-height:1.6}.woocommerce-account mark{background:transparent;font-weight:600;color:inherit}.woocommerce-account .woocommerce-MyAccount-content h2{font-size:28px}.woocommerce .shipment-card a.button{background:transparent;color:#171717;border:1px solid #171717;text-align:center;justify-content:center}.woocommerce .shipment-card a.button:hover{background:#171717;color:#fff}.woocommerce-account .loyalty-card{max-width:none}.woocommerce-account .woocommerce-MyAccount-navigation a{font-size:16px;padding:15px 18px;display:block}.woocommerce-account .woocommerce-MyAccount-navigation li.is-active{border-left:3px solid var(--accent)}@media(max-width:800px){.account-shortcuts{grid-template-columns:1fr;gap:10px}.account-shortcuts>a{display:grid;grid-template-columns:28px 1fr;gap:6px 14px;padding:18px}.account-shortcuts>a>span{grid-row:1/3}.account-shortcuts strong{font-size:17px}.account-shortcuts small{font-size:14px}.woocommerce-account .woocommerce-MyAccount-navigation a{font-size:14px;padding:12px}.woocommerce-account .woocommerce-MyAccount-navigation li.is-active{border-left:0;border-bottom:2px solid var(--accent)}}

.help-section{background:#fff!important;color:#171717!important;margin:0!important;padding:0 0 48px!important}.help-section>.container{display:block!important;padding-top:0;padding-bottom:0}.help-section .selection-help{display:grid;grid-template-columns:52px minmax(0,730px) auto;align-items:center;justify-content:start;gap:28px;padding:38px 0;border-top:1px solid #ddd}.help-section .selection-help-icon{width:52px;height:52px;display:grid;place-items:center;border:1px solid #dedede;color:var(--accent)}.selection-help-icon .icon{width:27px;height:27px}.help-section .eyebrow{color:#777}.help-section h2{color:#171717;font-size:clamp(24px,2.1vw,32px);line-height:1.2;margin:12px 0 14px;max-width:650px}.help-section p{color:#666;font-size:16px;line-height:1.65;margin:0;max-width:650px}.help-section .button{margin-left:24px;color:#171717;border-color:#171717;background:transparent;white-space:nowrap;justify-content:center}.help-section .button:hover{color:#fff;background:#171717}@media(max-width:1050px){.help-section .selection-help{grid-template-columns:44px minmax(0,1fr);gap:18px}.help-section .selection-help-icon{width:44px;height:44px;align-self:start}.help-section .button{grid-column:2;justify-self:start;margin:0}}@media(max-width:600px){.help-section{padding-bottom:26px!important}.help-section .selection-help{display:block;padding:28px 0 16px}.selection-help-icon{display:none!important}.help-section h2{font-size:25px}.help-section p{font-size:16px}.help-section .button{margin:22px 0 0;width:100%;white-space:normal}}

.home .welcome-banner{margin-top:0}.home .help-section{padding-bottom:24px!important}@media(max-width:600px){.home .help-section{padding-bottom:12px!important}}

/* Header search keeps its existing width, and centres where the contact group fits. */
@media(min-width:1360px){.header-main{position:relative}.header-main .site-search{position:absolute;left:50%;transform:translateX(-50%);width:520px;max-width:520px;margin:0}.header-main .header-contact{margin-left:auto}}
@media(min-width:801px){.site-search input{font-size:14px}.site-search input::placeholder{font-size:14px}}
.inventory--low:not(.inventory--detail) .inventory-label{color:#bc4040}.inventory--limited:not(.inventory--detail) .inventory-label{color:#906018}
.detail-tabs a{margin:0;border:1px solid #dedede;border-top:3px solid #dedede;border-radius:0;position:relative}.detail-tabs a+a{border-left:0}.detail-tabs a:first-child{border-color:#dedede}.detail-tabs a:hover{border-color:#dedede;background:#f0f0f0}.detail-tabs a[aria-selected=true],.detail-tabs a:first-child[aria-selected=true]{background:#fff;border-color:#dedede;border-top-color:#171717}.detail-tabs a:focus-visible{outline:2px solid var(--accent);outline-offset:-5px}
/* Фото товара (владелец 10.10.2026): сцена одной высоты у всех товаров и расцветок, не на пол-экрана, страница не прыгает при смене цвета. */
.product-gallery .gallery-stage{height:clamp(420px,calc(100svh - 250px),640px)}
.product-gallery .gallery-stage>img{width:100%;height:100%;max-height:none;object-fit:contain;padding:1.5%;box-sizing:border-box}
@media(max-width:800px){.product-gallery .gallery-stage{height:min(100vw,520px)}.product-gallery .gallery-stage>img{height:100%}}
/* Миниатюры: выбранная обведена графитом с полоской снизу (как оранжевая у выбранного цвета), при наведении серым. */
.gallery-thumbs button{position:relative;cursor:pointer;transition:border-color .15s,box-shadow .15s}
.gallery-thumbs button:hover{border-color:#9b9b9b}
.gallery-thumbs button.active{border-color:#171717;box-shadow:inset 0 0 0 1px #171717}
.gallery-thumbs button.active::after{content:"";position:absolute;left:0;right:0;bottom:0;height:4px;background:#171717;pointer-events:none}
/* Telegram в шапке: на компьютере как остальные иконки, на телефоне кружок как у звонка. */
.header-tools .header-tg .icon{width:21px}
.header-tools .header-tg:hover{color:#229ed9}
@media(max-width:800px){.header-tools .header-tg{width:38px;height:38px;padding:0;margin:0;border:1.5px solid #171717;border-radius:50%;background:#fff;color:#171717;display:inline-flex;align-items:center;justify-content:center}.header-tools .header-tg .icon{width:18px;height:18px}}
/* Цвета товара: при наведении такая же обводка, как у миниатюр слева (1px #9b9b9b), у выбранного остаётся своя. */
.photo-colors .variant-options label:hover input:not(:checked):not(:disabled)+span{border-color:#9b9b9b}
.photo-colors .variant-options span{transition:border-color .15s,box-shadow .15s}
/* Цвет без своего фото (владелец 10.10.2026): подсказка под расцветками. */
.photo-colors .color-note{margin:8px 0 0;font-size:13px;line-height:1.45;color:#7a7a7a}
