/* AUTO-LAPTI tyre seasonality and studs: all product cards. Exact stored attributes only; no picture edits. */
.product-page__image-main:has(> .al-tire-pilot-flags--photo){position:relative}
.al-tire-pilot-flags{display:flex;align-items:center;flex-wrap:wrap;gap:7px}
.al-tire-pilot-flags--photo{position:absolute;top:14px;right:14px;left:auto;z-index:12;pointer-events:none;max-width:calc(100% - 28px);flex-wrap:nowrap}
.al-tire-pilot-flag{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap;border:1px solid transparent;border-radius:9px;font-weight:650;line-height:1.2;box-shadow:0 2px 7px rgba(17,45,57,.07)}
.al-tire-pilot-flag svg{display:block;flex:none;width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linejoin:round;stroke-linecap:round}
.al-tire-pilot-flag--winter{color:#1776c7;background:#edf6ff;border-color:#daecfb}
.al-tire-pilot-flag--summer{color:#b97804;background:#fff8e4;border-color:#f4e6bc}
.al-tire-pilot-flag--allseason{color:#216ca0;background:#f0f6fb;border-color:#dae8f1}
.al-tire-pilot-flag .al-tire-pilot-sun{stroke:#cf940f}
.al-tire-pilot-flag .al-tire-pilot-snow{stroke:#208ed5}
.al-tire-pilot-flag--studded{color:#fff;background:#414a51;border-color:#414a51}
.al-tire-pilot-flag__sha{display:inline-flex;align-items:center;justify-content:center;min-width:18px;font-size:18px;font-weight:800;line-height:1}
.al-tire-pilot-flags--photo .al-tire-pilot-flag{width:35px;height:35px;padding:0}
.al-tire-pilot-flags--summary{margin:8px 0 12px}
.al-tire-pilot-flags--summary .al-tire-pilot-flag{min-height:33px;padding:7px 11px;font-size:12px;box-shadow:none}
.al-tire-pilot-flags--summary .al-tire-pilot-flag__sha{font-size:15px;min-width:16px}
.al-tire-pilot-flags--summary .al-tire-pilot-flag svg{width:17px;height:17px}
@media(max-width:767px){
.al-tire-pilot-flags--photo{top:10px;right:10px;left:auto;gap:5px}
.al-tire-pilot-flags--photo .al-tire-pilot-flag{width:31px;height:31px;border-radius:8px}
.al-tire-pilot-flags--photo .al-tire-pilot-flag svg{width:17px;height:17px}
.al-tire-pilot-flags--summary{margin:6px 0 10px;gap:6px}
.al-tire-pilot-flags--summary .al-tire-pilot-flag{min-height:30px;padding:6px 9px;font-size:11px}
}

/* Hover and keyboard-accessible compact explanations for icon-only badges. */
.al-tire-pilot-flags--photo .al-tire-pilot-flag{position:relative;pointer-events:auto;cursor:help;outline-offset:3px}
.al-tire-pilot-flags--photo .al-tire-pilot-flag:focus-visible{outline:2px solid #1776c7}
.al-tire-pilot-flags--photo .al-tire-pilot-flag--studded{border:0;box-shadow:none;background:transparent;color:#23282d}
.al-tire-pilot-flags--photo .al-tire-pilot-flag--studded svg.al-tire-pilot-traffic-sign{
 width:35px;height:35px;fill:none;stroke:none;overflow:visible;
 filter:drop-shadow(0 2px 2px rgba(25,30,35,.13))
}
.al-tire-pilot-flag::after{
 position:absolute;left:0;top:calc(100% + 8px);z-index:30;
 content:attr(data-al-tip);display:block;width:max-content;max-width:190px;
 padding:6px 10px;box-sizing:border-box;border-radius:7px;
 background:#273940;color:#fff;box-shadow:0 4px 12px rgba(13,33,42,.18);
 font-size:12px;font-weight:600;line-height:1.35;white-space:nowrap;
 opacity:0;visibility:hidden;pointer-events:none;transform:translateY(-3px);
 transition:opacity .12s ease,transform .12s ease
}
.al-tire-pilot-flag::before{
 position:absolute;left:12px;top:calc(100% + 2px);z-index:31;
 content:"";border-left:6px solid transparent;border-right:6px solid transparent;
 border-bottom:6px solid #273940;opacity:0;visibility:hidden;pointer-events:none
}
.al-tire-pilot-flag:hover::after,.al-tire-pilot-flag:hover::before,
.al-tire-pilot-flag:focus::after,.al-tire-pilot-flag:focus::before{
 opacity:1;visibility:visible;transform:translateY(0)
}
@media(max-width:767px){
 .al-tire-pilot-flags--photo .al-tire-pilot-flag--studded svg.al-tire-pilot-traffic-sign{width:31px;height:31px}
}
@media(prefers-reduced-motion:reduce){.al-tire-pilot-flag::after{transition:none}}


/* Word-only grey chip, specifically for explicit winter "Шипы: Нет". */
.al-tire-pilot-flags--photo .al-tire-pilot-flag--unstudded{
  width:auto;min-width:76px;height:35px;padding:0 10px;
  border-radius:9px;background:#edf1f3;color:#52616b;
  border:1px solid #dbe2e6;box-shadow:0 2px 7px rgba(17,45,57,.07)
}
.al-tire-no-studs-text{
  display:block;font-size:11px;font-weight:720;
  line-height:1;letter-spacing:0;white-space:nowrap
}
/* Tooltips expand inward from the fixed right-side icon group. */
.al-tire-pilot-flag::after{left:auto;right:0}
.al-tire-pilot-flag::before{left:auto;right:12px}
@media(max-width:767px){
  .al-tire-pilot-flags--photo .al-tire-pilot-flag--unstudded{
    width:auto;min-width:68px;height:31px;padding:0 8px;border-radius:8px
  }
  .al-tire-no-studs-text{font-size:10px}
}
