/* Optima catalog (card #1812, msg 12094). Mobile-first; text on yellow is always dark #111. */
.op-lead{color:#4a4f55;font-size:14px;line-height:1.5;margin:0 0 14px}
.op-h2{font-size:18px;margin:8px 0 10px}
.op-subs--big .kat-sub{padding:12px}
.op-subs--big .kat-sub__img{width:64px;height:84px}
.op-subs--big .kat-sub__img img{max-width:64px;max-height:84px}
.op-subs--big .kat-sub__t{font-size:15px}
/* phones: big section tiles stack image over title so long words fit */
@media (max-width:640px){
  .op-subs--big .kat-sub{flex-direction:column;align-items:flex-start;gap:6px}
  .op-subs--big .kat-sub__img{width:100%;height:84px;justify-content:flex-start}
  .op-subs--big .kat-sub__t{font-size:14px;overflow-wrap:anywhere}
}
.op-muted{color:var(--muted);font-size:13px;line-height:1.45}
.btn--y,.op-add,.op-show{color:#111}
.btn.op-add.is-done,.btn--y.op-add.is-done{background:var(--green)!important;border-color:var(--green);color:#fff;transition:none}

/* list toolbar + filters */
.op-bar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 12px}
.op-bar__open{display:inline-flex;align-items:center;gap:6px;height:38px;cursor:pointer;font-family:inherit}
.op-bar__open .ic{width:16px;height:16px}
.op-f__n{display:inline-block;min-width:18px;padding:0 5px;border-radius:9px;background:var(--y);color:#111;font-size:11px;line-height:18px;text-align:center}
.op-f__n:empty{display:none}
.op-sort{display:inline-flex;align-items:center;gap:6px;margin-left:auto;font-size:13px}
.op-sort span{color:var(--muted)}
.op-sort select{height:38px;border:1px solid #cfd3d7;border-radius:var(--r-btn);padding:0 8px;font:500 13px Montserrat,Arial,sans-serif;background:#fff;color:var(--dark);max-width:190px}
.op-filter{display:none;flex-basis:100%;flex-direction:column;gap:8px;border:1px solid var(--line);border-radius:var(--r);background:#fff;padding:12px}
.op-bar.is-open .op-filter{display:flex}
.op-f{position:relative}
.op-f__t{display:flex;align-items:center;gap:6px;font-weight:700;font-size:13px;padding:6px 0;cursor:pointer;list-style:none}
.op-f__t::-webkit-details-marker{display:none}
details.op-dd>summary::after{content:"";width:7px;height:7px;border:solid var(--dark);border-width:0 2px 2px 0;transform:rotate(45deg);margin:-3px 0 0 auto}
details.op-dd[open]>summary::after{transform:rotate(-135deg);margin-top:3px}
.op-f__price{display:flex;gap:8px}
.op-f__price input,.op-wh input,.op-amt input{height:38px;width:100%;min-width:0;border:1px solid #cfd3d7;border-radius:var(--r-btn);padding:0 10px;font:500 14px Montserrat,Arial,sans-serif;color:var(--dark);background:#fff}
.op-dd__p{padding:4px 0 8px;display:flex;flex-direction:column;gap:4px;max-height:340px;overflow:auto}
.op-dd__h{font-size:12px;color:var(--muted);margin:6px 0 2px}
.op-dd__grid{display:grid;grid-template-columns:1fr 1fr;gap:4px 10px}
.op-dd--size .op-dd__p{flex-direction:row;flex-wrap:wrap}
.op-chk{display:flex;align-items:center;gap:8px;font-size:13px;cursor:pointer;padding:3px 0}
.op-chk input{width:16px;height:16px;accent-color:#111;flex:none}
.op-chk--sw img{width:22px;height:22px;border-radius:50%;object-fit:cover;border:1px solid var(--line);flex:none}
.op-chk--btn input{position:absolute;opacity:0;pointer-events:none}
.op-chk--btn span{display:inline-block;border:1px solid #cfd3d7;border-radius:var(--r-btn);padding:6px 9px;background:#fff}
.op-chk--btn input:checked+span{background:var(--y);border-color:var(--y-d);color:#111}
.op-f--btns{display:flex;gap:8px;padding-top:4px}
.op-f--btns .btn{flex:1;justify-content:center;height:40px;border:0;cursor:pointer;font-family:inherit}
.op-f--btns .btn--line{border:1px solid #cfd3d7}
@media (min-width:992px){
  .op-bar__open{display:none}
  .op-filter{display:flex;flex-direction:row;flex-wrap:wrap;align-items:flex-start;gap:10px;order:-1;padding:10px 12px}
  .op-f{flex:0 0 auto}
  .op-f--price{width:210px}
  details.op-dd>summary{border:1px solid #cfd3d7;border-radius:var(--r-btn);padding:0 12px;height:38px;background:#fff;min-width:130px}
  details.op-dd[open]>.op-dd__p{position:absolute;z-index:30;top:42px;left:0;min-width:240px;background:#fff;border:1px solid var(--line);border-radius:var(--r);box-shadow:0 8px 24px rgba(0,0,0,.12);padding:10px 12px}
  .op-dd--dec[open]>.op-dd__p{min-width:420px}
  .op-dd--size[open]>.op-dd__p{min-width:300px}
  .op-f--price .op-f__t{padding:0 0 4px;font-size:12px;color:var(--muted);font-weight:600}
  .op-f--price{margin-top:-20px}
  .op-f--btns{margin-left:auto;padding-top:0}
  .op-f--btns .btn{flex:none;padding:0 18px;height:38px}
  .op-sort{order:2}
}

/* cards */
.op-grid>[hidden]{display:none!important}
.op-card .card__desc{color:var(--muted)}
.op-grid .op-card .op-card__size{line-height:1.35;font-size:12px;margin:2px 0 0;color:#4a4f55}
.op-card .price{white-space:nowrap}
.op-more-wrap{text-align:center;margin:0 0 18px}
.op-showmore{min-width:220px;justify-content:center;height:42px;cursor:pointer;font-family:inherit}
.op-empty{padding:20px 0;font-size:15px}
.op-note{font-size:13px;color:#4a4f55}
@media (max-width:991px){.kat-grid.op-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:640px){
  .kat-grid.op-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .op-grid .card{padding:8px}
  .op-grid .card__img{height:190px}
  .op-grid .card__img img{max-height:190px}
  .op-grid .price{font-size:14px}
  .op-sort span{display:none}
  .op-sort select{max-width:170px}
}

/* accessory cards */
.op-buy{display:flex;align-items:center;flex-wrap:wrap;gap:6px}
.op-buy .op-add{height:34px;padding:0 12px;border:0;cursor:pointer;font-family:inherit;white-space:nowrap}
.op-amt{display:flex;flex-direction:column;gap:2px;font-size:11px;color:var(--muted);flex-basis:100%}
.op-amt input{height:32px;max-width:120px}
.op-accgrid .card__img{height:170px}
.op-accgrid .card__img img{max-height:170px}
.op-accgrid .card h3{font-size:12.5px}
.op-acc .qty{height:34px}

/* model page */
.op-pview{grid-template-columns:1fr;gap:16px}
.op-gal{display:flex;flex-direction:column;align-items:center;gap:6px;background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:12px}
.op-gal__main{display:flex;justify-content:center;width:100%}
.op-img{max-height:420px;max-width:100%;width:auto;height:auto;object-fit:contain}
.op-gal__note{font-size:12px;color:var(--muted);margin:0}
.op-h1{font-size:22px;line-height:1.25;margin:0 0 4px}
.op-info .pinfo__code{font-size:11px;color:var(--muted);word-break:break-all}
.op-opt{margin:12px 0}
.op-opt__t{font-size:13px;margin:0 0 6px;color:#4a4f55}
.op-opt__t b{color:var(--dark)}
.op-sws__h{font-size:11px;color:var(--muted);margin:6px 0 4px}
.op-sws{display:flex;flex-wrap:wrap;gap:6px}
.op-sw{width:38px;height:38px;border-radius:50%;padding:2px;border:2px solid transparent;background:#fff;cursor:pointer;box-shadow:0 0 0 1px var(--line)}
.op-sw img{width:100%;height:100%;border-radius:50%;object-fit:cover;display:block}
.op-sw.is-on{border-color:#111}
.op-chips{display:flex;flex-wrap:wrap;gap:6px}
.op-chip,.op-stab{border:1px solid #cfd3d7;border-radius:var(--r-btn);background:#fff;padding:7px 10px;font:600 13px Montserrat,Arial,sans-serif;color:var(--dark);cursor:pointer}
.op-chip.is-on,.op-stab.is-on{background:var(--y);border-color:var(--y-d);color:#111}
.op-stabs{display:flex;gap:6px;margin:0 0 8px}
.op-nst{background:#F6F8F8;border-radius:var(--r);padding:10px 12px;margin-top:6px}
.op-nst__t{font-weight:700;margin:0 0 4px}
.op-nst__r{font-size:12px;color:#4a4f55;margin:0 0 8px}
.op-wh{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 0 6px}
.op-wh label{display:flex;flex-direction:column;gap:3px;font-size:12px;color:var(--muted)}
.op-m2{font-size:13px;margin:4px 0}
.op-fills{display:flex;flex-wrap:wrap;gap:6px}
.op-fill{display:flex;align-items:center;gap:6px;border:1px solid #cfd3d7;border-radius:var(--r-btn);background:#fff;padding:4px 9px 4px 4px;font:600 12.5px Montserrat,Arial,sans-serif;color:var(--dark);cursor:pointer}
.op-fill img{width:28px;height:28px;border-radius:5px;object-fit:cover}
.op-fill.is-on{background:var(--y);border-color:var(--y-d);color:#111}
.op-fill[hidden]{display:none}
.op-prices{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:14px 0 6px}
.op-pr{display:flex;flex-direction:column;align-items:flex-start;gap:2px;text-align:left;border:1px solid #cfd3d7;border-radius:var(--r);background:#fff;padding:9px 12px;cursor:pointer;font-family:inherit;color:var(--dark)}
.op-pr span{font-size:12px;color:#4a4f55}
.op-pr b{font-size:20px;white-space:nowrap}
.op-pr.is-on{border:2px solid #111;padding:8px 11px}
.op-pr--one{grid-column:1 / -1;cursor:default}
.is-warn{color:var(--red)}
.op-setnote{font-size:12px;color:#4a4f55;margin:0 0 10px;line-height:1.45}
.op-buy--main .qty{height:44px}
.op-buy--main .op-add{height:44px;padding:0 26px;font-size:15px;flex:1}
.op-buymsg{font-size:12px;color:var(--green);margin:6px 0 0;min-height:1em}
/* tabs */
.op-tabs{margin:18px 0}
.op-tabbar{display:flex;gap:4px;overflow-x:auto;border-bottom:2px solid var(--line);scrollbar-width:none}
.op-tab{flex:none;border:0;background:none;padding:10px 12px;font:700 13px Montserrat,Arial,sans-serif;color:var(--muted);cursor:pointer;border-bottom:3px solid transparent;margin-bottom:-2px}
.op-tab.is-on{color:var(--dark);border-bottom-color:var(--y)}
.op-panel{display:none;padding:14px 0}
.op-panel.is-on{display:block}
.op-panel__h{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.op-accg{margin:0 0 8px}
.op-accs__h{display:flex;align-items:center;gap:8px;font-weight:700;font-size:14px;padding:10px 12px;border:1px solid var(--line);border-radius:var(--r);background:#fff;cursor:pointer;list-style:none}
.op-accs__h::-webkit-details-marker{display:none}
.op-accs__h small{color:var(--muted);font-weight:500}
.op-accs__h::after{content:"";width:7px;height:7px;border:solid var(--dark);border-width:0 2px 2px 0;transform:rotate(45deg);margin:-3px 0 0 auto}
.op-accg[open]>.op-accs__h{border-radius:var(--r) var(--r) 0 0;border-bottom:0}
.op-accg[open]>.op-accs__h::after{transform:rotate(-135deg);margin-top:3px}
.op-accg .op-accrows{border-radius:0 0 var(--r) var(--r)}
.op-accrows{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:var(--r);background:#fff}
.op-accrow{display:grid;grid-template-columns:52px 1fr;gap:8px 10px;align-items:center;padding:8px 10px}
.op-accrow+.op-accrow{border-top:1px solid var(--line)}
.op-accrow__img{width:52px;height:52px;display:grid;place-items:center}
.op-accrow__img img{max-width:52px;max-height:52px;object-fit:contain}
.op-accrow__t h3{font-size:12.5px;margin:0 0 2px;line-height:1.3}
.op-accrow__t .price{font-size:14px;margin:0}
.op-accrow .op-buy{grid-column:1 / -1}
.op-pics{display:flex;flex-wrap:wrap;gap:10px;margin-top:10px}
.op-pics img{max-height:260px;max-width:100%;border-radius:6px}
.op-pics--int img{max-height:320px}
.op-decor{display:flex;gap:14px;align-items:flex-start}
.op-decor__img{width:120px;height:120px;border-radius:var(--r);object-fit:cover;flex:none}
.op-decor__n{font-weight:700;margin:0 0 6px}
.op-glass{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:10px}
.op-glass figure{margin:0;text-align:center;font-size:12px}
.op-glass img{width:100%;height:110px;object-fit:cover;border-radius:6px}
@media (min-width:768px){
  .op-pview{grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:28px}
  .op-img{max-height:560px}
  .op-gal{position:sticky;top:12px}
  .op-accrow{grid-template-columns:52px 1fr auto}
  .op-accrow .op-buy{grid-column:auto;flex-wrap:nowrap}
  .op-accrow .op-amt{flex-basis:auto}
}
@media (max-width:400px){.op-pr b{font-size:17px}.op-sw{width:34px;height:34px}}
