/* Scope every component to the plugin; keep the site's outer shell intact. */
#main .fest-pc{--pc-red:#c8102e;--pc-line:#e7e8eb;--pc-muted:#858992;background:#fff;color:#242629;font:14px/1.55 Arial,Helvetica,sans-serif;padding:24px;min-width:0;box-sizing:border-box;width:100%;max-width:100%}
#main .fest-pc *,#main .fest-pc *::before,#main .fest-pc *::after{box-sizing:border-box}
#main .fest-pc [hidden]{display:none!important}
#main .fest-pc button{font:inherit;cursor:pointer;color:inherit;text-transform:none;letter-spacing:normal;box-shadow:none;background-image:none;margin:0;float:none;height:auto;min-width:0;line-height:1.4}
#main .fest-pc a{color:inherit;text-decoration:none}
#main .fest-pc .fest-pc-title{font-size:27px;line-height:1.2;margin:0 0 24px;font-weight:800;color:#242629;text-transform:none;clear:none}
#main .fest-pc .breadcrumbs{margin-bottom:20px}
#main .fest-pc .fest-pc-product{display:grid;grid-template-columns:minmax(0,1.03fr) minmax(0,1fr) minmax(0,.75fr);gap:20px;align-items:start;overflow-wrap:anywhere}
#main .fest-pc .fest-pc-product>*{min-width:0}
#main .fest-pc .fest-pc-photo{background:#f8f9fb;border:1px solid var(--pc-line);border-radius:13px;aspect-ratio:1;display:grid;place-items:center;position:relative;overflow:hidden}
#main .fest-pc .fest-pc-photo>img{width:88%;height:88%;object-fit:contain;mix-blend-mode:multiply;max-height:100%;margin:0;float:none}
#main .fest-pc .fest-pc-photo>p{text-align:center;padding:40px 15px;color:var(--pc-muted);font-size:12px;margin:0}
#main .fest-pc .fest-pc-badge{position:absolute;left:12px;top:12px;background:#fff;padding:6px 9px;font-size:11px;border-radius:5px;color:#626873;z-index:1;max-width:calc(100% - 24px)}
#main .fest-pc .fest-pc-zoom{position:absolute;bottom:12px;right:13px;background:#fff;border:1px solid #e1e1e1;border-radius:50%;width:36px;height:36px;font-size:24px;padding:0}
#main .fest-pc .fest-pc-thumbs{display:flex;gap:10px;margin-top:12px;flex-wrap:wrap}
#main .fest-pc .fest-pc-thumb{border:1px solid #ddd;border-radius:7px;width:58px;height:58px;background:#fff;display:grid;place-items:center;overflow:hidden;padding:4px}
#main .fest-pc .fest-pc-thumb[aria-pressed=true]{border:2px solid var(--pc-red)}
#main .fest-pc .fest-pc-thumb img{width:100%;height:100%;object-fit:contain;margin:0}
#main .fest-pc .fest-pc-variant{width:100%;display:flex;gap:12px;align-items:center;text-align:left;background:#fff;border:1px solid #ddd;border-radius:9px;padding:12px;margin-bottom:9px;min-height:73px}
#main .fest-pc .fest-pc-variant[aria-pressed=true]{border:2px solid var(--pc-red);background:#fffafa;padding:11px}
#main .fest-pc .fest-pc-variant img,#main .fest-pc .fest-pc-variant-icon{width:45px;height:45px;object-fit:contain;flex-shrink:0;margin:0}
#main .fest-pc .fest-pc-variant-icon{background:#f3f4f5;border-radius:5px;display:grid;place-items:center;font-size:23px}
#main .fest-pc .fest-pc-variant b{display:block;font-size:12px;overflow-wrap:anywhere}
#main .fest-pc .fest-pc-variant small{display:block;color:#777;font-size:11px}
#main .fest-pc .fest-pc-details{border-collapse:collapse;width:100%;margin:18px 0 0;font-size:12px;table-layout:fixed;border:0}
#main .fest-pc .fest-pc-details td,#main .fest-pc .fest-pc-details th{padding:12px 14px;border:0;border-bottom:1px solid #e9eaec;text-align:left;vertical-align:top;background:transparent;overflow-wrap:anywhere;font-weight:400}
#main .fest-pc .fest-pc-details th{color:#737984;width:45%}
#main .fest-pc .fest-pc-redlink{color:var(--pc-red);font-size:12px;text-decoration:underline}
#main .fest-pc .fest-pc-buy{background:#fff;border:1px solid var(--pc-line);border-radius:12px;padding:20px;box-shadow:0 8px 30px #1e293b0b;width:auto;float:none}
#main .fest-pc .fest-pc-buy h2{margin:0;font-size:23px;line-height:1.3;color:#242629;text-transform:none}
#main .fest-pc .fest-pc-buy p{color:#777c85;font-size:12px;margin:3px 0 18px}
#main .fest-pc .fest-pc-market{width:100%;border:0;border-radius:7px;display:flex;justify-content:space-between;align-items:center;padding:12px;margin:8px 0;text-align:left;gap:8px}
#main .fest-pc .fest-pc-market b,#main .fest-pc .fest-pc-market small{display:block}
#main .fest-pc .fest-pc-market small{font-size:10px;opacity:.8}
#main .fest-pc .fest-pc-ozon{background:#ecf1ff;color:#174bdb}
#main .fest-pc .fest-pc-wildberries{background:#f6eafa;color:#922aa6}
#main .fest-pc .fest-pc-tabsbox{margin-top:35px;background:#fff;border:1px solid var(--pc-line);border-radius:12px;padding:0 24px 24px;min-width:0}
#main .fest-pc .fest-pc-tablist{display:flex;gap:24px;border-bottom:1px solid var(--pc-line);overflow-x:auto}
#main .fest-pc .fest-pc-tablist button{white-space:nowrap;background:transparent;border:0;border-bottom:2px solid transparent;padding:17px 0;color:#737984;border-radius:0}
#main .fest-pc .fest-pc-tablist button[aria-selected=true]{border-bottom-color:var(--pc-red);color:var(--pc-red);font-weight:700}
#main .fest-pc .fest-pc-panel{padding:23px 0 0;min-height:175px;overflow-wrap:anywhere;scroll-margin-top:170px}
#main .fest-pc .fest-pc-panel h3{font-size:22px;margin:0 0 12px;line-height:1.3;color:#242629;text-transform:none}
#main .fest-pc .fest-pc-panel p{color:#666d75;margin:0 0 14px}
#main .fest-pc .fest-pc-panel table{border-collapse:collapse;width:100%!important;font-size:12px;margin:0;height:auto!important}
#main .fest-pc .fest-pc-panel td,#main .fest-pc .fest-pc-panel th{border:1px solid #e4e5e8;padding:10px;text-align:left;font-weight:400}
#main .fest-pc .fest-pc-panel th{background:#f6f7f8}
#main .fest-pc .fest-pc-table-scroll{overflow-x:auto}
#main .fest-pc .fest-pc-status{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#main .fest-pc :focus-visible{outline:2px solid var(--pc-red);outline-offset:3px}
@media(max-width:1100px){#main .fest-pc .fest-pc-product{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}#main .fest-pc .fest-pc-buy{grid-column:2}}
@media(max-width:760px){#main .fest-pc{padding:18px 14px}#main .fest-pc .fest-pc-product{display:block}#main .fest-pc .fest-pc-info,#main .fest-pc .fest-pc-buy{margin-top:20px}#main .fest-pc .fest-pc-photo{max-height:420px}#main .fest-pc .fest-pc-title{font-size:23px}#main .fest-pc .fest-pc-tabsbox{padding:0 14px 20px}#main .fest-pc .fest-pc-tablist{gap:15px}#main .fest-pc .fest-pc-tablist button{font-size:12px}}

#main .fest-pc .fest-pc-tablist{max-width:100%;overscroll-behavior-x:contain}
#main .fest-pc .fest-pc-tablist button{flex-shrink:0}
#main .fest-pc .fest-pc-panel img{max-width:100%;height:auto}
#main .fest-pc .fest-pc-documents{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,180px));gap:18px;list-style:none;padding:0;margin:0}
#main .fest-pc .fest-pc-documents li{margin:0;padding:0;min-width:0}
#main .fest-pc .fest-pc-documents a{display:flex;flex-direction:column;gap:8px;color:var(--pc-red);text-decoration:underline;overflow-wrap:anywhere}
#main .fest-pc .fest-pc-documents img{width:100%;height:160px;object-fit:contain;border:1px solid var(--pc-line);border-radius:6px;margin:0;background:#f8f9fb}
#main .fest-pc .fest-pc-lightbox{position:fixed;inset:0;width:94vw;max-width:1400px;height:94vh;max-height:94vh;padding:14px;border:0;border-radius:12px;background:white;z-index:10000;margin:auto;overflow:hidden;box-shadow:0 0 0 100vmax #000c}
#main .fest-pc .fest-pc-lightbox::backdrop{background:#000c}
#main .fest-pc .fest-pc-lightbox[open]{display:flex;flex-direction:column;gap:8px}
#main .fest-pc .fest-pc-lightbox-tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap;flex-shrink:0}
#main .fest-pc .fest-pc-lightbox-tools button,#main .fest-pc .fest-pc-lightbox-tools a{position:static;border:1px solid #ddd;background:#f3f4f5;border-radius:6px;padding:6px 10px;font-size:14px;width:auto}
#main .fest-pc .fest-pc-lightbox-tools [data-pc=close]{margin-left:auto;font-size:22px;line-height:1;padding:7px 10px}
#main .fest-pc .fest-pc-lightbox [data-pc=caption]{margin:0;overflow-wrap:anywhere;flex-shrink:0}
#main .fest-pc .fest-pc-lightbox-scroll{overflow:auto;min-height:0;flex:1;overscroll-behavior:contain;text-align:center}
#main .fest-pc .fest-pc-lightbox img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;margin:0;float:none}
#main .fest-pc .fest-pc-natural img{max-width:none;max-height:none;cursor:zoom-out}

/* Panels are reading regions; retain visible keyboard focus on interactive controls. */
#main .fest-pc .fest-pc-panel:focus{outline:none}
#main .fest-pc .fest-pc-lightbox{width:fit-content;height:fit-content;max-width:94vw;max-height:94vh;padding:24px}
#main .fest-pc .fest-pc-lightbox-scroll{flex:0 1 auto;max-height:calc(94vh - 150px)}
#main .fest-pc .fest-pc-lightbox img{max-height:calc(94vh - 150px);max-width:calc(94vw - 48px)}
#main .fest-pc .fest-pc-natural img{max-width:none;max-height:none}
@media(max-width:760px){#main .fest-pc .fest-pc-lightbox{padding:12px}#main .fest-pc .fest-pc-lightbox img{max-width:calc(94vw - 24px)}#main .fest-pc .fest-pc-natural img{max-width:none}}

#main .fest-pc .fest-pc-buy .fest-pc-order-phone{margin:12px 0 0;line-height:1.6}
#main .fest-pc .fest-pc-order-phone a{color:var(--pc-red);font-weight:700;white-space:nowrap;text-decoration:underline}

.fest-pc .fest-pc-panel iframe{display:block;width:100%;max-width:100%;height:auto;aspect-ratio:16/9;border:0;margin:16px 0}

/* Offer information stays in the shared tablist; the empty dot is decorative. */
#main .fest-pc .fest-pc-tablist [data-variant-tab]::after{content:"";display:inline-block;width:5px;height:5px;margin-left:8px;vertical-align:middle;border-radius:50%;background:#b77b83}
#main .fest-pc .fest-pc-tablist .fest-pc-tab-updated::after{animation:fest-pc-tab-indicator .4s ease-out}
@keyframes fest-pc-tab-indicator{from{background:#c8102e;box-shadow:0 0 0 3px #c8102e20}to{background:#b77b83;box-shadow:0 0 0 0 transparent}}
@media(prefers-reduced-motion:reduce){#main .fest-pc .fest-pc-tablist .fest-pc-tab-updated::after{animation:none}}

/* Media-library videos keep their own intrinsic ratio, including portrait clips. */
#main .fest-pc .fest-pc-panel .wp-video{width:100%!important;max-width:100%;margin:16px 0}
#main .fest-pc .fest-pc-panel video{display:block;width:100%;max-width:100%;height:auto;aspect-ratio:auto}
