.shops-promocode{--promo-accent:#208875;box-sizing:border-box;display:flex;align-items:center;gap:16px;margin:18px 0;padding:20px;border:1px solid #c8e4dc;border-radius:14px;background:#f4fbf8;color:#223b38;overflow-wrap:anywhere}
.shops-promocode *{box-sizing:border-box}
.shops-promocode .shops-offer-logo{flex:0 0 64px;height:58px;padding:6px;background:#fff;border:1px solid #dfebe6;border-radius:10px;overflow:hidden}
.shops-offer-logo img{display:block;width:100%;height:100%;max-width:100%;margin:0;object-fit:contain}
.shops-promocode-info{flex:1;min-width:0}.shops-promocode-label{display:block;font-size:12px;line-height:1.5;color:#55746c;margin-bottom:6px}
.shops-promocode .shops-promocode-benefit{font-size:18px;line-height:1.45;font-weight:600;margin:0 0 8px;color:#203b34}
.shops-promocode-benefit a{color:inherit;text-decoration:none}.shops-promocode-benefit a:hover{text-decoration:underline}
.shops-promocode .shops-promocode-status{font-size:14px;line-height:1.5;color:#526b64;margin:0}
.shops-promocode-action{flex:0 0 200px;text-align:center}.shops-promocode.is-inactive{background:#f6f6f5;border-color:#deded9}.is-inactive .shops-promocode-status{color:#776452}
.shops-promocode .shops-promocode-open,.shops-promocode .shops-promocode-copy{position:static;display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:46px;padding:11px 14px;border:0;border-radius:10px;background:var(--promo-accent);color:#fff;font:600 15px/1.4 system-ui,sans-serif;cursor:pointer}
.shops-promocode.is-inactive .shops-promocode-open{background:#66675f}.shops-promocode button:hover{filter:brightness(.92)}.shops-promocode button:disabled{cursor:default;opacity:.6}
.shops-promocode button:focus-visible,.shops-promocode a:focus-visible,.shops-promocode input:focus-visible{outline:3px solid #71b8a7;outline-offset:3px}
.shops-promocode dialog.shops-promocode-dialog{position:fixed;inset:0;display:none;width:560px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 40px);margin:auto;padding:30px;border:0;border-radius:18px;background:#fff;color:#203b34;box-shadow:0 24px 100px #102d3240;overflow:auto;font-family:system-ui,sans-serif}
.shops-promocode dialog[open]{display:block}.shops-promocode-dialog::backdrop{background:rgba(16,29,34,.5)}
.shops-promocode .shops-promocode-close{position:absolute;right:12px;top:10px;display:grid;place-items:center;width:36px;height:36px;padding:0;border:0;border-radius:50%;background:#f0f5f3;color:#61716b;cursor:pointer;font:26px/1 system-ui}
.shops-promocode .shops-promocode-dialog-title{font-size:22px;line-height:1.4;font-weight:600;margin:0 22px 20px 0}
.shops-promocode-codebox{display:flex;gap:10px;margin:16px 0 5px}.shops-promocode input.shops-promocode-code{display:block;flex:1;min-width:0;width:auto;height:50px;border:1px solid #d7e4df;border-radius:10px;background:#f7faf9;padding:10px 12px;color:#203b34;font:600 18px/1.5 system-ui,sans-serif}
.shops-promocode .shops-promocode-copy{width:115px;flex:0 0 115px;padding:10px;font-size:14px}.shops-promocode-feedback{font-size:13px;line-height:1.5;min-height:18px;color:#208875;margin:0 0 8px}
.shops-promocode-warning,.shops-promocode-notice{padding:12px;border-radius:10px;background:#fff1db;color:#674a24;font-size:14px;line-height:1.55}.shops-promocode .shops-promocode-warning a{color:inherit;text-decoration:underline;font:inherit}.shops-promocode-copy span{white-space:nowrap;font-size:13px}
.shops-promocode ul.shops-promocode-conditions{padding-left:20px;list-style:disc;font-size:15px;line-height:1.6}.shops-promocode-conditions li{list-style:disc;margin:5px 0}.shops-promocode-conditions li:before{content:none}
.shops-promocode a.shops-promocode-primary-link{display:flex;align-items:center;justify-content:center;min-height:46px;border:1px solid #208875;border-radius:10px;padding:10px 14px;text-decoration:none;color:#208875;font-size:14px;line-height:1.5}
.shops-vk-page .container{box-sizing:border-box;width:100%;max-width:1240px;padding:0 20px}.shops-vk-page .citylist__inner{min-width:0;width:100%}
.shops-vk-page h1{font-size:32px;line-height:1.3;margin:20px 0 12px}.shops-vk-article{width:100%;max-width:850px;min-width:0}
.shops-vk-content{max-width:780px;font-size:18px;line-height:1.65}.shops-vk-content h2{font-size:24px;line-height:1.35;margin:28px 0 14px}.shops-vk-content ul{list-style:disc;padding-left:24px}.shops-vk-content li{list-style:disc;margin:8px 0}.shops-vk-content li:before{content:none}
.shops-vk-image,.shops-offer-figure{margin:24px 0;max-width:780px}.shops-vk-image img,.shops-offer-figure img{display:block;max-width:100%;max-height:480px;width:auto;height:auto;object-fit:contain;border-radius:12px}.shops-vk-image figcaption,.shops-offer-figure figcaption,.shops-vk-date{font-size:13px;line-height:1.5;color:#64736d}
.shops-vk-links{display:flex;gap:10px 20px;flex-wrap:wrap;margin:12px 0 0}.shops-vk-links a[aria-current]{font-weight:700;text-decoration:underline}
.shops-vk-passport,.shops-vk-more,.shops-vk-intro{box-sizing:border-box;width:100%;margin:20px 0;padding:18px 20px;border:1px solid #d6e6e1;border-radius:14px;background:#fff;color:#223b38;overflow-wrap:anywhere}
.shops-vk-intro p,.shops-vk-more p,.shops-vk-more li{font-size:15px;line-height:1.55}.shops-vk-intro p{margin:0 0 8px}.shops-vk-intro p:last-child{margin-bottom:0}.shops-offer-method{color:#61716b}
.shops-vk-passport-title,.shops-vk-section-title{font-size:22px;line-height:1.4;font-weight:600;margin:0 0 14px}.shops-vk-section-title{margin:24px 0 14px}.shops-vk-passport-variant{font-size:16px;margin:16px 0 8px}
.shops-vk-passport-list{margin:0}.shops-vk-passport-row{display:flex;gap:16px;padding:8px 0;border-top:1px solid #edf3f1;font-size:15px;line-height:1.55}.shops-vk-passport-row:first-child{border-top:0}.shops-vk-passport-row dt{flex:0 0 140px;color:#55746c}.shops-vk-passport-row dd{flex:1;margin:0;min-width:0}
.shops-vk-passport-row ul,.shops-vk-more ul{margin:0;padding-left:18px}.shops-vk-passport-empty{color:#71817c}.shops-vk-passport-note{margin:14px 0 0;font-size:13px;line-height:1.55;color:#61716b}
.shops-offer-summary{display:flex;flex-wrap:wrap;gap:10px 24px;width:100%;padding:14px 18px;border-radius:12px;background:#eaf4ef;font-size:15px;line-height:1.5}
.shops-vk-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;width:100%;min-width:0}.shops-vk-grid .shops-vk-teaser{min-width:0;width:auto;max-width:none;margin-left:0;margin-right:0}/* QA 21.10.2026: перебиваем .promo__item{width:360px} из style2.css — карточка вылезала из ячейки сетки */
.shops-vk-teaser{position:relative;overflow:hidden;padding:0 0 16px;border-radius:12px;background:#fff;box-shadow:0 2px 16px rgba(0,0,0,.07);display:flex;flex-direction:column}
.shops-vk-teaser .promo__item--img--inner{width:100%;height:auto;aspect-ratio:3/2;flex:none;background:#f4f5f3;border-radius:12px 12px 0 0}.shops-vk-teaser .promo__item--img{display:block;width:100%;height:100%;object-fit:contain}
.shops-vk-teaser-type{position:absolute;left:8px;bottom:8px;max-width:calc(100% - 16px);padding:4px 8px;border-radius:8px;background:#208875;color:#fff;font:12px/1.4 system-ui,sans-serif}
.shops-vk-teaser-heading{margin:14px 16px 8px;font-size:18px;line-height:1.4}.shops-vk-teaser .promo__item--title{display:block;margin:0;padding:0;font:600 18px/1.4 system-ui,sans-serif}
.shops-vk-teaser .promo__item--text{margin:0 16px 12px;padding:0;font:14px/1.55 system-ui,sans-serif;color:#52605a}
.shops-vk-teaser .shops-promocode{width:100%;margin:0;padding:12px 16px;gap:10px;border:0;border-top:1px solid #edf0ec;border-radius:0;background:transparent;flex-wrap:wrap}
.shops-vk-teaser .shops-offer-logo,.shops-vk-teaser .shops-promocode-label,.shops-vk-teaser .shops-promocode-benefit{display:none}
.shops-vk-teaser .shops-promocode-info{flex-basis:100%}.shops-vk-teaser .shops-promocode-action{flex:1 0 100%}.shops-vk-teaser .shops-promocode-status{font-size:14px}
.shops-vk-teaser-date{margin-top:auto;padding:8px 16px 0;color:#64736d;font:13px/1.5 system-ui,sans-serif}.shops-vk-no-image{display:grid;place-items:center;width:100%;height:100%;color:#64736d;font-size:20px}
.shops-offer-ad{box-sizing:border-box;width:100%;max-width:100%;min-width:0;overflow:hidden;contain:inline-size;margin:24px 0}
.shops-promo-table-wrap{max-width:100%;overflow-x:auto;margin:16px 0}.shops-promo-examples table{width:100%;border-collapse:collapse;font-size:16px;line-height:1.5}.shops-promo-examples th,.shops-promo-examples td{padding:12px;text-align:left;border-bottom:1px solid #dce6e1}.shops-promo-examples th{background:#f1f7f4}.shops-promo-faq h3{font-size:20px;line-height:1.45;margin:24px 0 10px}
.shops-vk-shop-offers{margin-top:6px;font-weight:600;color:#208875}.shops-vk-store .shops-vk-grid{margin-bottom:8px}
@media(max-width:1000px){.shops-vk-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.shops-vk-page .container{padding:0 16px}.shops-vk-page h1{font-size:26px}.shops-vk-grid{grid-template-columns:minmax(0,1fr);gap:16px}.shops-promocode{flex-wrap:wrap;padding:16px;gap:12px}.shops-promocode .shops-offer-logo{flex-basis:48px;height:46px}.shops-promocode-info{flex-basis:calc(100% - 60px)}.shops-promocode-action{flex-basis:100%}.shops-promocode .shops-promocode-benefit{font-size:17px}.shops-promocode dialog.shops-promocode-dialog{padding:26px 18px}.shops-promocode-dialog-title{font-size:20px}.shops-promocode .shops-promocode-copy{flex-basis:104px;width:104px}.shops-vk-passport,.shops-vk-intro,.shops-vk-more{padding:16px}.shops-vk-passport-row{flex-direction:column;gap:2px}.shops-vk-passport-row dt{flex:none}.shops-vk-content{font-size:16px}.shops-vk-content h2{font-size:22px}.shops-offer-summary{gap:8px;flex-direction:column}.shops-vk-links a{font-size:15px}}

/* Offer ads use the available page width; reading text retains its measure. */
.shops-vk-page .shops-vk-article{max-width:none}
.shops-offer-ad--wide{margin:32px 0}
.shops-vk-page .shops-offer-ad .container{max-width:100%;padding:0}
.shops-offer-ad:empty{display:none}
@media(max-width:600px){.shops-offer-ad--wide{margin:24px 0}}

.shops-offer-related{box-sizing:border-box;width:100%;margin:28px 0;padding:24px;border:1px solid #cde1d8;border-radius:18px;background:linear-gradient(135deg,#edf6f1,#fafcf9);color:#223b38}
.shops-offer-related-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:20px}
.shops-offer-related-heading .shops-vk-section-title{margin:0 0 8px;font-size:25px;line-height:1.3}
.shops-offer-related-heading p{max-width:760px;margin:0;color:#55746c;font-size:15px;line-height:1.6}
.shops-offer-related-count{display:grid;place-items:center;flex:0 0 42px;height:42px;border-radius:50%;background:#d8eadf;color:#24583e;font:600 18px/1 system-ui,sans-serif}
.shops-offer-related .shops-vk-teaser{box-sizing:border-box;width:100%;max-width:100%;min-width:0;border:1px solid #e1e9e3;box-shadow:0 4px 16px #204a3010;transition:box-shadow .18s ease}
.shops-offer-related .shops-vk-teaser:hover{box-shadow:0 8px 24px #204a3020}
.shops-offer-related .promo__item--title:hover{color:#208875}
.shops-offer-related-links{margin-top:20px}.shops-offer-related-links a{padding:10px 14px;border:1px solid #b9d7c8;border-radius:9px;background:#fff;color:#236044;font-size:15px;font-weight:600}
@media(max-width:600px){.shops-offer-related{padding:16px;margin:24px 0}.shops-offer-related-heading{gap:12px}.shops-offer-related-heading .shops-vk-section-title{font-size:22px}.shops-offer-related-count{flex-basis:34px;height:34px;font-size:16px}}
.shops-hub-faq,.shops-hub-goods,.shops-hub-links,.shops-hub-about{box-sizing:border-box;width:100%;margin:20px 0;padding:18px 20px;border:1px solid #d6e6e1;border-radius:14px;background:#fff;color:#223b38;overflow-wrap:anywhere}
.shops-hub-faq-item{padding:10px 0;border-top:1px solid #edf3f1}
.shops-hub-faq-item:first-of-type{border-top:0}
.shops-hub-faq-item h3{font-size:17px;line-height:1.4;font-weight:600;margin:0 0 6px}
.shops-hub-faq-item p{margin:0;font-size:15px;line-height:1.6}
.shops-hub-goods-list,.shops-hub-links ul{list-style:none;margin:0;padding:0}
.shops-hub-goods-list li{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 16px;padding:8px 0;border-top:1px solid #edf3f1;font-size:15px;line-height:1.5}
.shops-hub-goods-list li:first-child{border-top:0}
.shops-hub-goods-price{white-space:nowrap}
.shops-hub-goods-price s{color:#7a8b88;margin-left:6px}
.shops-hub-goods-pct{margin-left:6px;color:#0b7a4b;font-weight:600}
.shops-hub-note{margin:10px 0 0;font-size:13px;color:#5f716e}
.shops-hub-links li{padding:6px 0;font-size:15px;line-height:1.5}
.shops-vk-intro p{margin:0 0 10px;font-size:15px;line-height:1.6}
.shops-hub-about p{margin:0 0 10px;font-size:15px;line-height:1.6}
.shops-hub-goods-list li a,.shops-hub-links li a{font-size:15px;line-height:1.45}

/* Бонусная карта магазина /{store}/bonusy/ */
.shops-loyalty-checked{font-size:13px!important;color:#61716b;margin:0 0 6px!important}
.shops-loyalty-section p{font-size:15px;line-height:1.6;margin:0 0 10px}
.shops-loyalty-section p:last-child{margin-bottom:0}
.shops-loyalty-list{margin:0 0 10px;padding-left:20px;font-size:15px;line-height:1.6}
.shops-loyalty-list li{margin:0 0 6px}
.shops-loyalty-table-wrap{width:100%;overflow-x:auto;margin:6px 0 10px;-webkit-overflow-scrolling:touch}
.shops-loyalty-table{width:100%;border-collapse:collapse;font-size:15px;line-height:1.5}
.shops-loyalty-table th,.shops-loyalty-table td{padding:8px 10px;border-top:1px solid #edf3f1;text-align:left;vertical-align:top}
.shops-loyalty-table thead th{border-top:0;color:#55746c;font-weight:600;background:#f6faf9}
.shops-loyalty-table tbody th{font-weight:600}
.shops-loyalty-feed{list-style:none;margin:0;padding:0}
.shops-loyalty-feed li{padding:8px 0;border-top:1px solid #edf3f1;font-size:15px;line-height:1.55}
.shops-loyalty-feed li:first-child{border-top:0}
.shops-loyalty-feed time{display:inline-block;min-width:120px;color:#55746c;font-weight:600}
.shops-loyalty-teaser .shops-vk-intro{margin:10px 0}
@media (max-width:767px){.shops-loyalty-table{font-size:14px}.shops-loyalty-table th,.shops-loyalty-table td{padding:7px 6px}.shops-loyalty-feed time{display:block}}
.shops-loyalty-section ol.shops-loyalty-list li{list-style:decimal outside}
.shops-loyalty-section ul.shops-loyalty-list li{list-style:disc outside}
.shops-loyalty-list li::marker{color:#1f6f5c;font-weight:700}
.shops-pcs-list{width:100%;min-width:0}.shops-pcs-list .shops-promocode{margin:12px 0}
.shops-promocode .shops-pcs-cond{font-size:14px;line-height:1.5;color:#41605a;margin:0 0 6px}

/* QA 18.10.2026: список промокодов/акций — сетка вместо одной длинной колонки (без горизонтальной прокрутки) */
.shops-pcs-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,340px),1fr));gap:12px;align-items:stretch}
.shops-pcs-list>.shops-promocode{margin:0;min-width:0}
/* QA 21.10.2026: в узкой карточке логотип+текст в первой строке, кнопка на всю ширину во второй (раньше текст сжимался до 5px) */
.shops-pcs-list>.shops-pcs-card{display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-rows:1fr auto;align-items:start;gap:12px 14px}
.shops-pcs-list>.shops-pcs-card .shops-promocode-action{grid-column:1/-1;flex:none;width:100%}
@media (max-width:400px){.shops-pcs-list>.shops-pcs-card{padding:14px 12px;gap:10px}.shops-pcs-list>.shops-pcs-card .shops-offer-logo{width:48px}.shops-pcs-list>.shops-pcs-card .shops-offer-logo img{width:100%;height:auto}}
@media (max-width:900px){.shops-vk-links a,.shops-vk-page .breadcrumbs a{display:inline-flex;align-items:center;min-height:40px;padding:0 4px}}
