:root {
  --bg: #f4f8f7; --card: #ffffff; --ink: #11312d; --muted: #5d7470; --line: #dbe7e4;
  --brand: #0f766e; --brand-2: #14b8a6; --brand-soft: #e3f4f1; --price: #ea580c; --price-soft: #fff1e6;
  --rx: #b42318; --rx-soft: #fde8e7; --ok: #15803d; --no: #9a3412; --radius: 14px;
  --shadow: 0 1px 2px rgba(17,49,45,.06), 0 4px 16px rgba(17,49,45,.06);
}
* { box-sizing: border-box; }
html, body { margin: 0; overflow-x: hidden; }
body { background: var(--bg); color: var(--ink); font: 15px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, sans-serif; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.loading { padding: 80px 0; text-align: center; color: var(--muted); }

/* header */
.top { background: linear-gradient(120deg, #0b5d57, var(--brand) 55%, #12968b); color: #fff; position: sticky; top: 0; z-index: 10; box-shadow: 0 2px 10px rgba(0,0,0,.12); }
.top-in { display: flex; align-items: center; gap: 18px; height: 64px; }
.logo { color: #fff; font-size: 22px; font-weight: 700; letter-spacing: .2px; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.logo b { color: #fde68a; font-weight: 800; }
.logo:hover { text-decoration: none; }
.paw { width: 26px; height: 26px; display: inline-block; background: radial-gradient(circle at 50% 66%, #fff 0 34%, transparent 35%), radial-gradient(circle at 18% 36%, #fff 0 13%, transparent 14%), radial-gradient(circle at 40% 16%, #fff 0 13%, transparent 14%), radial-gradient(circle at 62% 16%, #fff 0 13%, transparent 14%), radial-gradient(circle at 84% 36%, #fff 0 13%, transparent 14%); }
.search { flex: 1; display: flex; max-width: 620px; }
.search input { flex: 1; border: 0; border-radius: 10px 0 0 10px; padding: 11px 14px; font-size: 15px; min-width: 0; }
.search button { border: 0; background: #fbbf24; color: #3b2a00; font-weight: 700; padding: 0 18px; border-radius: 0 10px 10px 0; cursor: pointer; }
.nav { display: flex; gap: 16px; }
.nav a { color: #e6fffb; font-weight: 600; }

/* hero */
.hero { margin: 26px 0 8px; padding: 34px 30px; border-radius: 20px; background: linear-gradient(135deg, #ffffff 0%, var(--brand-soft) 100%); box-shadow: var(--shadow); display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: center; }
.hero h1 { margin: 0 0 8px; font-size: 30px; line-height: 1.2; }
.hero p { margin: 0 0 18px; color: var(--muted); }
.hero .search input { border: 1px solid var(--line); border-right: 0; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.stat { background: #fff; border-radius: var(--radius); padding: 14px 16px; border: 1px solid var(--line); }
.stat b { display: block; font-size: 24px; color: var(--brand); }
.stat span { color: var(--muted); font-size: 13px; }

h2 { font-size: 20px; margin: 30px 0 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; color: var(--ink); font-weight: 500; cursor: pointer; }
.chip:hover { border-color: var(--brand-2); text-decoration: none; }
.chip.on { background: var(--brand); border-color: var(--brand); color: #fff; }

.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.tile { background: #fff; border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); color: var(--ink); display: flex; justify-content: space-between; align-items: center; border: 1px solid transparent; }
.tile:hover { border-color: var(--brand-2); text-decoration: none; }
.tile b { font-weight: 600; }
.tile small { color: var(--muted); }
.tile .ico { font-size: 22px; }

/* product grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.pc { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 12px; display: flex; flex-direction: column; color: var(--ink); border: 1px solid transparent; }
.pc:hover { border-color: var(--brand-2); text-decoration: none; }
.pc .img { height: 150px; display: flex; align-items: center; justify-content: center; background: #fbfdfc; border-radius: 10px; margin-bottom: 10px; overflow: hidden; }
.pc .img img { max-width: 100%; max-height: 150px; object-fit: contain; }
.noimg { color: #b7c9c5; font-size: 40px; }
.pc .nm { font-weight: 600; font-size: 14px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: 57px; }
.pc .br { color: var(--muted); font-size: 12px; margin: 4px 0 8px; }
.pc .pr { margin-top: auto; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.from { color: var(--muted); font-size: 12px; }
.price { color: var(--price); font-weight: 800; font-size: 18px; white-space: nowrap; }
.nst { font-size: 12px; color: var(--brand); background: var(--brand-soft); border-radius: 999px; padding: 2px 8px; white-space: nowrap; }
.badges { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 4px; }
.bd { font-size: 11px; font-weight: 700; border-radius: 6px; padding: 1px 7px; }
.bd.rx { color: var(--rx); background: var(--rx-soft); }
.bd.vet { color: var(--brand); background: var(--brand-soft); }

/* catalog layout */
.cat { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 20px; margin-top: 22px; }
.side { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; align-self: start; position: sticky; top: 80px; }
.side h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); margin: 14px 0 8px; }
.side h3:first-child { margin-top: 0; }
.side label { display: flex; gap: 8px; align-items: center; padding: 3px 0; cursor: pointer; font-size: 14px; }
.side label small { margin-left: auto; color: var(--muted); }
.bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.bar h1 { font-size: 22px; margin: 0; }
.bar select { border: 1px solid var(--line); border-radius: 8px; padding: 7px 10px; background: #fff; font: inherit; }
.more { display: block; margin: 20px auto; border: 1px solid var(--brand); background: #fff; color: var(--brand); font-weight: 700; padding: 10px 26px; border-radius: 10px; cursor: pointer; }
.empty { background: #fff; border-radius: var(--radius); padding: 40px; text-align: center; color: var(--muted); }

/* product page */
.crumbs { margin: 18px 0 10px; font-size: 13px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.ph { background: #fff; border-radius: 20px; box-shadow: var(--shadow); padding: 22px; display: grid; grid-template-columns: 280px 1fr; gap: 26px; }
.ph .img { height: 280px; display: flex; align-items: center; justify-content: center; background: #fbfdfc; border-radius: 14px; }
.ph .img img { max-width: 100%; max-height: 270px; object-fit: contain; }
.ph h1 { font-size: 24px; margin: 4px 0 6px; line-height: 1.25; }
.ph .brand { color: var(--muted); margin-bottom: 14px; }
.best { display: flex; gap: 14px; flex-wrap: wrap; align-items: stretch; }
.best .box { background: var(--price-soft); border-radius: 12px; padding: 12px 16px; }
.best .box.alt { background: var(--brand-soft); }
.best .box small { display: block; color: var(--muted); font-size: 12px; }
.best .box b { font-size: 24px; color: var(--price); }
.best .box.alt b { color: var(--brand); font-size: 20px; }
.rxnote { margin-top: 14px; background: var(--rx-soft); color: var(--rx); border-radius: 10px; padding: 10px 14px; font-size: 14px; }
.tbl { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.tbl th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .4px; color: var(--muted); background: #f7fbfa; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.tbl td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tr.bestrow td { background: #fffaf5; }
.tbl .st { font-weight: 700; }
.tbl .ti { color: var(--muted); font-size: 13px; }
.tbl .pp { color: var(--price); font-weight: 800; font-size: 17px; white-space: nowrap; }
.tbl .old { color: var(--muted); text-decoration: line-through; font-size: 13px; margin-left: 6px; }
.tbl .u { color: var(--muted); font-size: 13px; white-space: nowrap; }
.in { color: var(--ok); font-weight: 600; font-size: 13px; }
.out { color: var(--no); font-size: 13px; }
.go { display: inline-block; background: var(--brand); color: #fff; font-weight: 700; padding: 7px 14px; border-radius: 9px; white-space: nowrap; }
.go:hover { background: #0b5d57; text-decoration: none; }
.cheap { font-size: 11px; font-weight: 700; color: #fff; background: var(--price); border-radius: 5px; padding: 1px 6px; margin-left: 6px; }
.note { color: var(--muted); font-size: 13px; margin: 8px 2px; }
.sib { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.sib a { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; color: var(--ink); display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
.sib a:hover { border-color: var(--brand-2); text-decoration: none; }

.stores { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.store { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; }
.store b { font-size: 16px; }
.store small { display: block; color: var(--muted); }

.foot { margin-top: 50px; padding: 26px 0 40px; background: #e8f1ef; color: var(--muted); font-size: 13px; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding: 24px 18px; }
  .cat { grid-template-columns: minmax(0, 1fr); }
  .search button { padding: 0 12px; }
  .fbox:not([open]) > :not(summary) { display: none; }
  .side { position: static; }
  .ph { grid-template-columns: 1fr; }
  .nav { display: none; }
  .top-in { gap: 10px; }
  .logo { font-size: 18px; }
  .tbl .ti, .tbl .u { display: none; }
}
@media (max-width: 520px) {
  .top .search button { display: none; }
  .top .search input { border-radius: 10px; }
  .logo { font-size: 17px; }
  .cheap { display: inline-block; margin: 2px 0 0; }
  .go { padding: 7px 10px; font-size: 13px; }
  .tbl .pp { font-size: 15px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pc .img { height: 110px; }
  .pc .img img { max-height: 110px; }
  .price { font-size: 16px; }
  .tbl td, .tbl th { padding: 9px 8px; }
}

.fbox > summary { cursor: pointer; font-weight: 700; color: var(--brand); list-style: none; margin-bottom: 6px; }
.fbox > summary::-webkit-details-marker { display: none; }
.fbox > summary::before { content: '☰  '; }
@media (min-width: 861px) { .fbox > summary { display: none; } }
.hero > div, .ph > div { min-width: 0; }

/* флаги и углы «дешевле в MD/RO» */
.fl { border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.12); vertical-align: -2px; display: inline-block; }
.flagwrap { margin-right: 6px; line-height: 0; }
.tbl .st { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.box.cc { position: relative; }
.box.cc small { display: flex; align-items: center; gap: 5px; }
.box.cc.win { outline: 2px solid var(--ok); background: #eafaf0; }
.box.cc.win b { color: var(--ok); }
.wtag { position: absolute; top: -9px; right: 8px; background: var(--ok); color: #fff; font-size: 10px; font-weight: 700; border-radius: 5px; padding: 1px 6px; }
.bd.ccb { display: inline-flex; align-items: center; gap: 4px; color: var(--brand); background: var(--brand-soft); }
.side label .fl { vertical-align: -2px; }

.mdtag { font-weight: 800; color: var(--brand); letter-spacing: .3px; }

/* метка переплаты */
.over { display: inline-block; margin-left: 8px; font-size: 12px; font-weight: 700; color: var(--no); background: #fdeee7; border-radius: 6px; padding: 1px 7px; vertical-align: 1px; }
.tbl tr.bestrow .over { display: none; }
.box.alt .sub { display: block; color: var(--muted); font-size: 12px; font-weight: 400; margin-top: 1px; }

/* фасет брендов */
#brandq { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 7px 10px; font: inherit; margin-bottom: 8px; }
.brandlist { max-height: 260px; overflow-y: auto; display: flex; flex-direction: column; gap: 1px; margin: -2px 0 2px; }
.brb { display: flex; justify-content: space-between; gap: 8px; padding: 4px 8px; border-radius: 7px; color: var(--ink); font-size: 14px; }
.brb:hover { background: var(--brand-soft); text-decoration: none; }
.brb.on { background: var(--brand); color: #fff; }
.brb small { color: var(--muted); }
.brb.on small { color: #e6fffb; }
.brclear { display: inline-block; background: var(--brand); color: #fff; border-radius: 8px; padding: 5px 12px; font-weight: 600; margin-bottom: 6px; }
.brclear:hover { background: #0b5d57; text-decoration: none; }

/* вес/объём пачки и цена за кг */
.pc .img { position: relative; }
.packtag { position: absolute; left: 6px; bottom: 6px; background: rgba(17,49,45,.82); color: #fff; font-size: 12px; font-weight: 700; border-radius: 7px; padding: 2px 8px; }
.pc .unit { color: var(--muted); font-size: 11px; margin-top: 1px; }

/* переключатель фасовок */
.packsw { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 2px 0 8px; }
.pswl { color: var(--muted); font-size: 14px; margin-right: 2px; }
.psw { display: inline-flex; flex-direction: column; align-items: center; min-width: 74px; border: 1.5px solid var(--line); border-radius: 10px; padding: 7px 12px; color: var(--ink); font-weight: 700; background: #fff; line-height: 1.2; }
.psw small { font-weight: 500; color: var(--muted); font-size: 12px; margin-top: 2px; }
a.psw:hover { border-color: var(--brand-2); text-decoration: none; }
.psw.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.psw.on small { color: #d8fff8; }

.psw .pbuc { color: var(--brand); font-weight: 600; }
.psw.on .pbuc { color: #d8fff8; }

/* ── 12.11.2026: навигация по видам, дерево категорий, подразделы ── */
.spnav { background: #fff; border-bottom: 1px solid var(--line); }
.spnav .wrap { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding-top: 6px; padding-bottom: 6px; }
.spnav .wrap::-webkit-scrollbar { display: none; }
.spnav a { white-space: nowrap; color: var(--ink); font-weight: 600; padding: 7px 12px; border-radius: 999px; font-size: 14px; }
.spnav a:hover { background: var(--brand-soft); text-decoration: none; }
.spnav a.ph { margin-left: auto; color: var(--brand); background: var(--brand-soft); }
.sptiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.sptile { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px 16px; }
.sphead { display: flex; align-items: baseline; gap: 8px; color: var(--ink); margin-bottom: 8px; }
.sphead:hover { text-decoration: none; color: var(--brand); }
.sphead .ico { font-size: 22px; }
.sphead b { font-size: 17px; }
.sphead small { color: var(--muted); margin-left: auto; font-variant-numeric: tabular-nums; }
.splinks { display: flex; flex-wrap: wrap; gap: 6px; }
.splinks a { font-size: 13px; background: var(--bg); border-radius: 999px; padding: 3px 10px; color: var(--ink); }
.splinks a:hover { background: var(--brand-soft); text-decoration: none; }
.splinks small, .subchips small { color: var(--muted); font-variant-numeric: tabular-nums; }
.tree { display: flex; flex-direction: column; gap: 1px; }
.tree .tr { display: flex; justify-content: space-between; gap: 8px; padding: 5px 8px; border-radius: 8px; color: var(--ink); font-size: 14px; }
.tree .tr:hover { background: var(--brand-soft); text-decoration: none; }
.tree .tr.on { background: var(--brand); color: #fff; font-weight: 600; }
.tree .tr.on small { color: #d5f3ee; }
.tree .tr small { color: var(--muted); font-variant-numeric: tabular-nums; }
.tree .lv2 { margin-left: 14px; font-size: 13px; border-left: 2px solid var(--line); border-radius: 0 8px 8px 0; }
.subchips { margin: 4px 0 14px; }
.subchips .chip { padding: 4px 12px; font-size: 13px; }
.subchips .chip.on small { color: #d5f3ee; }
.bd.eco { color: #9a3412; background: var(--price-soft); }
section > .crumbs { margin-top: 14px; }
@media (max-width: 860px) { .spnav a.ph { margin-left: 0; } }
.spnav a { flex: 0 0 auto; }
.spnav a.ph { max-width: max-content; }

.pc .attrs { display: flex; flex-wrap: wrap; gap: 4px; margin: -2px 0 8px; }
.pc .attrs span, .pattrs span { background: #eef5f3; color: #1d5148; border-radius: 6px; padding: 1px 7px; font-size: 11px; font-weight: 600; white-space: nowrap; }
.pattrs { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.pattrs span { font-size: 13px; padding: 3px 10px; }

.carousel { display: flex; gap: 14px; overflow-x: auto; padding: 4px 2px 14px; scroll-snap-type: x proximity; }
.carousel .pc { flex: 0 0 210px; scroll-snap-align: start; }
.pc { transition: transform .12s, box-shadow .12s; } .pc:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(15,60,55,.16); }
.zoom { display: none; position: fixed; inset: 0; background: rgba(10,30,28,.86); z-index: 50; align-items: center; justify-content: center; cursor: zoom-out; } .zoom:target { display: flex; } .zoom img { max-width: 92vw; max-height: 92vh; background: #fff; border-radius: 14px; padding: 12px; }
.ph .img a { cursor: zoom-in; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.sw { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 10px 0 0; } .swl { color: var(--muted); font-size: 13px; min-width: 64px; }
.sw .chip small { opacity: .7; margin-left: 4px; }
.go.big { display: inline-block; padding: 11px 18px; font-size: 15px; }
.descr { background: #fff; border-radius: 16px; box-shadow: var(--shadow); padding: 14px 20px; line-height: 1.6; } .descr p { margin: 6px 0; }
.descr h3 { font-size: 15px; margin: 16px 0 4px; } .descr ul { margin: 6px 0; padding-left: 20px; } .descr li { margin: 5px 0; }
.descr .feed { overflow-x: auto; } .descr table { border-collapse: collapse; font-size: 13px; margin: 6px 0; } .descr th, .descr td { border: 1px solid var(--line); padding: 5px 9px; text-align: left; }
.descr .src { color: var(--muted); font-size: 12px; margin-top: 14px; }
.spsw { display: flex; gap: 4px; background: rgba(255,255,255,.16); border-radius: 999px; padding: 4px; margin-left: auto; }
.spsw a { color: #fff; font-weight: 700; padding: 6px 16px; border-radius: 999px; white-space: nowrap; } .spsw a:hover { text-decoration: none; background: rgba(255,255,255,.18); }
.spsw a.on { background: #fff; color: var(--brand); }
body.sp-pisici { --bg: #fdf9f4; --ink: #3b2a1e; --muted: #7c6a5c; --line: #eadfd3; --brand: #b4632b; --brand-2: #e08a45; --brand-soft: #fbeee2;
  background: #fdf9f4 url(img/cat-bg.webp) top center / 1100px auto repeat; }
body.sp-caini { background: #f4f8f7 url(img/dog-bg.svg) top center / 640px auto repeat; }
body.sp-pisici .top { background: linear-gradient(120deg, #8a4a1f, #b4632b 55%, #d98a4e); }
body.sp-pisici .pc .attrs span, body.sp-pisici .pattrs span { background: #fbeee2; color: #7a4318; }
body.sp-pisici .nst { background: #fbeee2; color: #8a4a1f; }
.pick { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 24px 0 60px; }
.pickc { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 46px 20px; border-radius: 22px; color: #fff; box-shadow: var(--shadow); transition: transform .12s; }
.pickc:hover { transform: translateY(-4px); text-decoration: none; } .pickc span { font-size: 64px; line-height: 1; } .pickc .pico svg { width: 124px; height: 124px; display: block; filter: drop-shadow(0 6px 10px rgba(0,0,0,.22)); } .pickc { padding: 34px 20px 38px; } .pickc b { font-size: 26px; } .pickc small { opacity: .85; }
.pick-pisici { background: linear-gradient(135deg, #8a4a1f, #d98a4e); } .pick-caini { background: linear-gradient(135deg, #0b5d57, #12968b); }
@media (max-width: 640px) { .pick { grid-template-columns: 1fr; } .spsw a { padding: 5px 10px; font-size: 13px; } }
.crs { position: relative; } .crs .carousel { scrollbar-width: none; } .crs .carousel::-webkit-scrollbar { display: none; }
.cbtn { position: absolute; top: 42%; transform: translateY(-50%); z-index: 3; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--brand); font-size: 26px; line-height: 1; cursor: pointer; box-shadow: var(--shadow); display: flex; align-items: center; justify-content: center; padding: 0 0 3px; }
.cbtn:hover { background: var(--brand); color: #fff; } .cbtn.prev { left: -14px; } .cbtn.next { right: -14px; }
.crs.noscroll .cbtn, .crs.atstart .cbtn.prev, .crs.atend .cbtn.next { display: none; }
@media (max-width: 700px) { .cbtn { display: none; } }
.pc, .ph { border: 2px solid var(--bc, transparent); }
.filters { margin: 4px 0 16px; } .frow { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 8px 0; }
.frow .swl { min-width: 72px; color: var(--muted); font-size: 13px; } .fchip { font: inherit; font-size: 14px; } .fchip small { opacity: .65; margin-left: 3px; }
.fempty { color: var(--muted); padding: 10px 0; }
.brandnav { margin: 26px 0 8px; line-height: 2; font-size: 14px; } .brandnav a { margin-right: 12px; white-space: nowrap; }

.blay { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 20px; align-items: start; }
.blay .filters { position: sticky; top: 80px; margin: 0; background: #fff; border-radius: 16px; box-shadow: var(--shadow); padding: 12px 14px; max-height: calc(100vh - 100px); overflow-y: auto; }
.blay .frow { margin: 0 0 12px; } .blay .frow .swl { flex: 0 0 100%; font-weight: 700; color: var(--ink); }
.blay .fchip { padding: 4px 11px; font-size: 13px; }
.blay:not(:has(.filters)) { display: block; }
.tgl { position: absolute; opacity: 0; pointer-events: none; } .fbtn, .dmore { display: none; }
.tbl .stk { display: none; }
@media (max-width: 860px) {
  .blay { display: block; }
  .blay .filters { position: static; max-height: none; overflow: visible; background: none; box-shadow: none; padding: 0; margin: 0 0 12px; }
  .fbtn { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 9px 18px; font-weight: 700; color: var(--brand); cursor: pointer; }
  .fbtn::before { content: "\2630"; } .tgl:checked + .fbtn { background: var(--brand); color: #fff; border-color: var(--brand); }
  .fbody { display: none; background: #fff; border-radius: 14px; box-shadow: var(--shadow); padding: 10px 12px 2px; margin-top: 8px; } .tgl:checked ~ .fbody { display: block; }
  .blay .frow { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -12px 10px; padding: 0 12px; } .blay .frow::-webkit-scrollbar { display: none; }
  .blay .frow .swl { flex: 0 0 auto; min-width: 0; } .blay .fchip { flex: 0 0 auto; padding: 8px 13px; font-size: 14px; white-space: nowrap; }
}
@media (max-width: 640px) {
  .top-in { height: 52px; } .wrap { padding: 0 12px; }
  h1 { font-size: 21px; line-height: 1.25; margin: 10px 0 12px; } h2 { font-size: 18px; margin: 22px 0 10px; }
  .crumbs { margin: 12px 0 6px; }
  .ph { padding: 14px; gap: 12px; border-radius: 16px; } .ph .img { height: 210px; } .ph .img img { max-height: 200px; } .ph h1 { font-size: 19px; margin: 0 0 6px; }
  .ph .brand { font-size: 13px; margin-bottom: 8px; } .ph p { margin: 8px 0; }
  .go.big { display: block; text-align: center; padding: 13px 12px; }
  .sw { gap: 6px; } .sw .swl { flex: 0 0 100%; min-width: 0; } .sw .chip { padding: 8px 13px; }
  .tbl thead, .tbl .stc { display: none; } .tbl td { padding: 10px 8px; } .tbl td:first-child { padding-left: 12px; } .tbl td:last-child { padding-right: 10px; }
  .tbl td.pr { white-space: nowrap; text-align: right; } .tbl .stk { display: block; font-size: 11px; color: var(--muted); font-weight: 400; }
  .tbl .ot { font-size: 12px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .tbl tr.off td { opacity: .6; } .tbl .go { padding: 9px 11px; }
  .carousel { gap: 10px; } .carousel .pc { flex: 0 0 44vw; max-width: 190px; }
  .pc { padding: 9px; } .pc .nm { font-size: 13px; min-height: 53px; } .pc .pr { flex-wrap: wrap; gap: 2px 6px; } .nst { font-size: 11px; }
  .descr { padding: 10px 14px; font-size: 14.5px; } .descr ul { padding-left: 18px; }
  .dm:not(:checked) + .descr { max-height: 340px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
  .dm:not(:checked) ~ .dmore { display: block; text-align: center; margin: 8px 0 0; padding: 11px; background: #fff; border: 1px solid var(--line); border-radius: 12px; font-weight: 700; color: var(--brand); cursor: pointer; }
  .brandnav { line-height: 2.4; } .foot { margin-top: 30px; }
  body.sp-pisici { background-size: 700px auto; } body.sp-caini { background-size: 420px auto; }
}

.lng { color: #fff; font-weight: 700; font-size: 13px; margin-left: 10px; padding: 6px 11px; border: 1px solid rgba(255,255,255,.55); border-radius: 999px; }
.lng:hover { text-decoration: none; background: rgba(255,255,255,.18); }
.bestl { margin: 6px 0 10px; } .price .kg { font-size: 14px; font-weight: 400; color: var(--muted); }
.tbl .stc small { display: block; color: var(--muted); font-size: 11px; }
.catnav { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 18px; } .catnav .chip small { opacity: .65; margin-left: 4px; }
.hlist { min-width: 0; } .hlist .bsec:first-child h2 { margin-top: 0; }
.srch { position: relative; flex: 1 1 220px; max-width: 420px; min-width: 0; }
.srch input { width: 100%; box-sizing: border-box; border: 0; border-radius: 999px; padding: 9px 16px; font: inherit; font-size: 15px; background: rgba(255,255,255,.95); color: #1f2d2b; outline: none; }
.srch input:focus { box-shadow: 0 0 0 3px rgba(255,255,255,.45); }
.sres { position: absolute; left: 0; right: 0; top: calc(100% + 6px); background: #fff; color: #1f2d2b; border-radius: 14px; box-shadow: 0 12px 34px rgba(0,0,0,.22); overflow: hidden; z-index: 30; max-height: 72vh; overflow-y: auto; }
.sres a { display: grid; grid-template-columns: 44px 1fr auto; gap: 10px; align-items: center; padding: 8px 12px; color: inherit; border-top: 1px solid #eef2f1; }
.sres a:first-child { border-top: 0; } .sres a:hover { background: #f3f8f7; text-decoration: none; }
.sres img, .sres i { width: 44px; height: 44px; object-fit: contain; } .sres span { font-size: 14px; line-height: 1.3; } .sres b { font-size: 13px; white-space: nowrap; }
.sres p { margin: 0; padding: 14px; color: #6b7c79; }
.tbl .dl { font-size: 12px; color: var(--muted); margin-top: 2px; }
.rep { margin: 8px 0 0; text-align: right; } .repb { font: inherit; font-size: 13px; background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; padding: 4px 0; }
.repb:disabled { text-decoration: none; cursor: default; color: var(--brand); }
.about { background: #fff; border-radius: 16px; box-shadow: var(--shadow); padding: 8px 22px 18px; line-height: 1.6; max-width: 860px; } .about h2 { font-size: 18px; margin: 20px 0 6px; }
.about table { border-collapse: collapse; width: 100%; font-size: 14px; } .about th, .about td { border-top: 1px solid var(--line); padding: 7px 8px; text-align: left; vertical-align: top; }
.foot a { color: inherit; text-decoration: underline; }
.fcols { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 26px 28px; } .fc { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.fc > b { color: var(--ink); font-size: 14px; margin-bottom: 3px; } .foot .fc a { text-decoration: none; font-size: 14px; } .foot .fc a:hover { text-decoration: underline; color: var(--ink); }
.foot .fc a.flogo { font-size: 22px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; } .flogo b { color: var(--brand); } .fbrand p { margin: 0; line-height: 1.5; max-width: 300px; }
.socs { display: flex; gap: 8px; margin-top: 6px; } .soc { width: 36px; height: 36px; border-radius: 50%; background: var(--brand); display: inline-flex; align-items: center; justify-content: center; }
.soc svg { width: 20px; height: 20px; fill: #fff; } .soc.stub { background: var(--muted); opacity: .45; cursor: default; } a.soc:hover { filter: brightness(1.1); }
.fbot { display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between; margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); }
.about ul { padding-left: 20px; margin: 6px 0; } .about .stubnote { color: var(--muted); font-style: italic; } .about .socs { margin: 8px 0 4px; }
@media (max-width: 860px) { .fcols { grid-template-columns: 1fr 1fr; } .fbrand { grid-column: 1 / -1; } }
@media (max-width: 760px) { .top-in { height: auto !important; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; row-gap: 8px; } .srch { order: 5; flex: 1 0 100%; max-width: none; } .sres b { display: none; } .sres a { grid-template-columns: 40px 1fr; } }
.intro { color: var(--muted); margin: -4px 0 16px; max-width: 760px; }
@media (max-width: 640px) { .lng { margin-left: 6px; padding: 5px 9px; } }
@media (max-width: 860px) {
  .catnav { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 4px -12px 14px; padding: 0 12px 2px; } .catnav::-webkit-scrollbar { display: none; }
  .catnav .chip { flex: 0 0 auto; white-space: nowrap; padding: 8px 13px; font-size: 14px; }
  .blay .fbody { padding: 10px 0 2px; overflow: hidden; }
  .blay .frow { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; margin: 0 0 10px; padding: 0; overflow: visible; }
  .blay .frow .swl { padding: 0 12px; font-size: 12px; text-transform: uppercase; letter-spacing: .4px; color: var(--muted); font-weight: 700; }
  .blay .frow .frc { display: flex; gap: 6px; min-width: 0; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; scrollbar-width: none; padding: 0 12px 2px; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
  .blay .frow .frc::-webkit-scrollbar { display: none; }
  .blay .frow .frc::after { content: ""; flex: 0 0 28px; }
  .blay .filters, .blay .fbody { min-width: 0; max-width: 100%; }
}
.frc { display: contents; }
.sortsel { -webkit-appearance: none; appearance: none; font: inherit; font-size: 14px; font-weight: 700; color: var(--brand); border: 1px solid var(--line); border-radius: 999px; padding: 9px 34px 9px 18px; width: 100%; margin: 0 0 12px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 14'%3E%3Cpath d='M6 1 2.5 5h7zM6 13l3.5-4h-7z' fill='%23888'/%3E%3C/svg%3E") right 13px center / 10px no-repeat; }
.sortsel:hover, .sortsel:focus { border-color: var(--brand); outline: none; }
.pc .img { position: relative; } .hot { position: absolute; top: 6px; right: 6px; background: #e11d48; color: #fff; font-size: 12px; font-weight: 800; border-radius: 999px; padding: 2px 8px; }
.hotl { color: #e11d48; }
.kop { font-size: .64em; vertical-align: baseline; position: relative; top: -.48em; font-weight: inherit; line-height: 0; }
.tbl .kop { font-size: .76em; top: -.3em; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; }
.tab { font-weight: 700; font-size: 15px; padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--brand); cursor: pointer; }
.tgl:checked + .tab { background: var(--brand); border-color: var(--brand); color: #fff; }
.tp { flex: 0 0 100%; min-width: 0; display: none; margin-top: 6px; } #tb1:checked ~ .tp1, #tb2:checked ~ .tp2 { display: block; }
.feedsel { display: flex; align-items: center; gap: 10px; margin: 8px 0; font-weight: 600; }
.feedsel select { font: inherit; font-weight: 700; color: var(--brand); background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; }
@media (max-width: 640px) { .logo .paw { display: none; } .tab { flex: 1; text-align: center; padding: 10px 8px; } }
.top-in .lng, .top-in .thb { margin-left: -9px; }
@media (max-width: 860px) { .top-in .lng, .top-in .thb { margin-left: -3px; } }
/* собачий раздел — горчичный */
body.sp-caini { --bg: #fbf8ee; --ink: #33290f; --muted: #7a6c4a; --line: #e9e0c6; --brand: #a67c00; --brand-2: #d4a514; --brand-soft: #f8efcf; background-color: #fbf8ee; background-image: url(img/dog-bg-m.svg); }
body.sp-caini .top { background: linear-gradient(120deg, #7a5b00, #a67c00 55%, #d4a514); }
body.sp-caini .pc .attrs span, body.sp-caini .pattrs span, body.sp-caini .nst { background: #f8efcf; color: #6b5200; }
.pick-caini { background: linear-gradient(135deg, #7a5b00, #d4a514) !important; }
.logo > span:last-child { display: inline-block; }
.thb { flex: 0 0 36px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.55); background: none; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; margin-left: 6px; }
.thb:hover { background: rgba(255,255,255,.18); } .thb svg { width: 18px; height: 18px; fill: #fff; } .thb .su { display: none; }

.seo { margin: 34px 0 0; } .seo h1 { font-size: 17px; margin: 0 0 6px; color: var(--muted); font-weight: 700; } .seo .intro { margin: 0; font-size: 13.5px; }
.fbtn { font: inherit; } .fbtn[data-n]::after { content: attr(data-n); margin-left: 4px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--brand); color: #fff; font-size: 12px; line-height: 20px; text-align: center; }
.fdr { position: fixed; inset: 0; z-index: 60; visibility: hidden; } .fdr.open { visibility: visible; }
.fdr-bg { position: absolute; inset: 0; background: rgba(10,30,28,.5); opacity: 0; transition: opacity .2s; } .fdr.open .fdr-bg { opacity: 1; }
.fdr-p { position: absolute; top: 0; right: 0; bottom: 0; width: min(86vw, 360px); background: #fff; color: var(--ink); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .22s ease-out; box-shadow: -8px 0 30px rgba(0,0,0,.2); }
.fdr.open .fdr-p { transform: none; }
.fdr-h { display: flex; align-items: center; gap: 4px; padding: 10px 8px; border-bottom: 1px solid var(--line); } .fdr-h b { flex: 1; font-size: 17px; text-align: center; }
.fdr-back, .fdr-x { width: 42px; height: 42px; border: 0; background: none; font-size: 28px; line-height: 1; color: var(--muted); cursor: pointer; }
.fdr-c { flex: 1; overflow-y: auto; overflow-x: hidden; } .fdr-c.in-r { animation: fdr-r .2s ease-out; } .fdr-c.in-l { animation: fdr-l .2s ease-out; }
@keyframes fdr-r { from { transform: translateX(40%); opacity: 0; } } @keyframes fdr-l { from { transform: translateX(-40%); opacity: 0; } }
.fdr-i { display: flex; align-items: center; width: 100%; padding: 16px 18px; border: 0; border-bottom: 1px solid var(--line); background: none; font: inherit; font-size: 16px; font-weight: 600; color: inherit; text-align: left; cursor: pointer; }
.fdr-i span { flex: 1; min-width: 0; } .fdr-i small { display: block; font-weight: 400; font-size: 13px; color: var(--brand); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .fdr-i em { font-style: normal; font-size: 22px; color: var(--muted); }
.fdr-o { display: flex; align-items: center; gap: 12px; padding: 13px 18px; border-bottom: 1px solid var(--line); font-size: 16px; cursor: pointer; }
.fdr-o input { width: 22px; height: 22px; accent-color: var(--brand); flex: 0 0 auto; margin: 0; }
.fdr-f { display: flex; gap: 10px; padding: 12px; border-top: 1px solid var(--line); } .fdr-f button { font: inherit; font-weight: 700; border-radius: 999px; padding: 12px 16px; cursor: pointer; }
.fdr-clr { background: #fff; border: 1px solid var(--line); color: var(--muted); } .fdr-ok { flex: 1; background: var(--brand); border: 1px solid var(--brand); color: #fff; }
@media (max-width: 860px) { .blay .fbody { display: none !important; } .tgl:checked + .fbtn, .fbtn { background: #fff; color: var(--brand); } }
.fav { position: absolute; top: 6px; right: 6px; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.94); display: flex; align-items: center; justify-content: center; box-shadow: 0 1px 5px rgba(0,0,0,.16); cursor: pointer; z-index: 2; }
.fav svg { width: 18px; height: 18px; fill: none; stroke: #8fa09c; stroke-width: 2; } .fav.on svg { fill: #e11d48; stroke: #e11d48; } .fav:hover svg { stroke: #e11d48; }
.hot { right: auto; left: 6px; }
.fav.big { position: static; display: inline-flex; vertical-align: middle; margin-left: 6px; border: 1px solid var(--line); box-shadow: none; }
.top-in { position: relative; }
.favb { position: relative; flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.95); cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; }
.favb svg { width: 21px; height: 21px; fill: none; stroke: #e11d48; stroke-width: 2; } .favb.on svg { fill: #e11d48; }
.favb i { position: absolute; top: -4px; right: -5px; min-width: 18px; height: 18px; border-radius: 9px; background: #1f2d2b; color: #fff; font: 700 11px/18px system-ui, sans-serif; text-align: center; padding: 0 4px; box-sizing: border-box; } .favb i:empty { display: none; }
.favp { position: absolute; right: 0; top: calc(100% + 6px); width: min(440px, 100%); background: #fff; color: #1f2d2b; border-radius: 14px; box-shadow: 0 12px 34px rgba(0,0,0,.22); z-index: 30; max-height: 72vh; overflow-y: auto; }
.favp .fr { display: flex; align-items: center; border-top: 1px solid #eef2f1; } .favp .fr:first-child { border-top: 0; }
.favp .fr a { flex: 1; min-width: 0; display: grid; grid-template-columns: 44px 1fr auto; gap: 10px; align-items: center; padding: 8px 4px 8px 12px; color: inherit; } .favp .fr a:hover { text-decoration: none; background: #f3f8f7; }
.favp img, .favp a i { width: 44px; height: 44px; object-fit: contain; } .favp span { font-size: 14px; line-height: 1.3; } .favp b { font-size: 13px; white-space: nowrap; }
.frx { border: 0; background: none; font-size: 24px; line-height: 1; color: #9aa7a4; padding: 8px 14px; cursor: pointer; } .frx:hover { color: #e11d48; } .favp p { margin: 0; padding: 14px; color: #6b7c79; }
@media (max-width: 760px) { .srch { flex: 1 0 calc(100% - 52px) !important; } .favb { order: 6; } .favp { top: calc(100% - 2px); } .favp .fr a { grid-template-columns: 40px 1fr; } .favp b { grid-column: 2; } }
.vbtn { display: none; }
@media (max-width: 860px) {
  .vbtn { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; margin-left: auto; padding: 0; background: #fff; border: 1px solid var(--line); border-radius: 50%; cursor: pointer; }
  .vbtn svg { fill: var(--brand); } .vbtn .v2, .vbtn.on .v1 { display: none; } .vbtn.on .v2 { display: block; }
  .grid.one { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .one .pc { padding: 14px; } .one .pc .img { height: 72vw; max-height: 340px; } .one .pc .img img { max-height: 100%; }
  .one .pc .nm { font-size: 16px; min-height: 0; margin-bottom: 8px; -webkit-line-clamp: 3; } .one .pc .attrs span { font-size: 12.5px; } .one .pc .price { font-size: 21px; }
  .one .packtag { font-size: 14px; } .one .hot { font-size: 14px; padding: 3px 10px; }
  .hlist.one .carousel .pc { flex: 0 0 84vw; max-width: none; }
}
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sp-pisici main > .blay:first-of-type, .sp-caini main > .vh + .blay { margin-top: 18px; }
.fchip.fall { font-weight: 700; } .fchip.fall:not(.on) { border-style: dashed; }
@media (max-width: 860px) {
  .blay .filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; } .blay .fbody, .blay .fempty { flex: 0 0 100%; margin-top: 0; }
  .sortsel { width: auto; margin: 0; padding: 9px 36px 9px 18px; }
}
@media (max-width: 640px) {
  body { font-size: 14px; } h1 { font-size: 19px; } h2 { font-size: 16.5px; } .ph h1 { font-size: 18px; }
  .chip, .blay .fchip, .catnav .chip, .sw .chip { font-size: 13px; padding: 6px 11px; }
  .pc .nm { font-size: 12.5px; min-height: 51px; } .pc .attrs span, .pattrs span { font-size: 11px; } .price { font-size: 16px; } .ph .price { font-size: 20px; }
  .tbl td { font-size: 13.5px; } .descr { font-size: 14px; } .intro { font-size: 13.5px; } .brandnav { font-size: 13px; }
  .srch input { font-size: 16px; padding: 8px 14px; }
}

/* тёмная тема: по умолчанию как в системе; кнопка в шапке ставит data-theme на <html> и запоминает выбор */
:root[data-theme="dark"] { --bg: #121716; --card: #1c2322; --ink: #e6eeec; --muted: #9db0ac; --line: #2c3836; --brand: #14a093; --brand-2: #2dd4bf; --brand-soft: #1d3330; --price: #ff8a4c; --price-soft: #3a2415; --shadow: 0 1px 2px rgba(0,0,0,.5), 0 4px 16px rgba(0,0,0,.35); color-scheme: dark; }
:root[data-theme="dark"] body.sp-pisici { --bg: #171310; --card: #221c17; --ink: #f1e7de; --muted: #b3a294; --line: #3a2f26; --brand: #c97a40; --brand-2: #e08a45; --brand-soft: #3a2a1d; background: #171310; }
:root[data-theme="dark"] body.sp-caini { --bg: #15140e; --card: #201e14; --ink: #f0ead6; --muted: #b0a686; --line: #38341f; --brand: #c9a227; --brand-2: #e0b93a; --brand-soft: #36300f; background: #15140e; }
:root[data-theme="dark"] body.sp-pisici .top { background: linear-gradient(120deg, #4a2810, #7a431d 55%, #9a5a2c); }
:root[data-theme="dark"] body.sp-caini .top { background: linear-gradient(120deg, #3f3000, #6b5100 55%, #8a6a08); }
:root[data-theme="dark"] .top { background: linear-gradient(120deg, #073b37, #0b5d57 55%, #0d7068); }
:root[data-theme="dark"] .chip, :root[data-theme="dark"] .ph, :root[data-theme="dark"] .tbl, :root[data-theme="dark"] .descr, :root[data-theme="dark"] .blay .filters, :root[data-theme="dark"] .fbtn, :root[data-theme="dark"] .fbody, :root[data-theme="dark"] .dm:not(:checked) ~ .dmore, :root[data-theme="dark"] .sres, :root[data-theme="dark"] .about, :root[data-theme="dark"] .fdr-p, :root[data-theme="dark"] .fdr-clr, :root[data-theme="dark"] .favp, :root[data-theme="dark"] .vbtn, :root[data-theme="dark"] .cbtn, :root[data-theme="dark"] .more, :root[data-theme="dark"] .empty, :root[data-theme="dark"] .tgl:checked + .fbtn { background: var(--card); color: var(--ink); }
:root[data-theme="dark"] .chip.on { background: var(--brand); color: #fff; } :root[data-theme="dark"] .fbtn, :root[data-theme="dark"] .cbtn { color: var(--brand); }
:root[data-theme="dark"] .sortsel { background-color: var(--card); }
:root[data-theme="dark"] .sres a, :root[data-theme="dark"] .favp .fr { border-top-color: var(--line); } :root[data-theme="dark"] .sres a:hover, :root[data-theme="dark"] .favp .fr a:hover { background: rgba(255,255,255,.06); } :root[data-theme="dark"] .sres p, :root[data-theme="dark"] .favp p { color: var(--muted); }
:root[data-theme="dark"] .tbl th { background: rgba(255,255,255,.04); } :root[data-theme="dark"] .tbl tr.bestrow td { background: transparent; }
:root[data-theme="dark"] .pc .img, :root[data-theme="dark"] .ph .img { background: #fff; }
:root[data-theme="dark"] .pc .attrs span, :root[data-theme="dark"] .pattrs span, :root[data-theme="dark"] body.sp-pisici .pc .attrs span, :root[data-theme="dark"] body.sp-pisici .pattrs span, :root[data-theme="dark"] body.sp-caini .pc .attrs span, :root[data-theme="dark"] body.sp-caini .pattrs span,
:root[data-theme="dark"] .nst, :root[data-theme="dark"] body.sp-pisici .nst, :root[data-theme="dark"] body.sp-caini .nst { background: var(--brand-soft); color: var(--ink); }
:root[data-theme="dark"] .foot { background: rgba(0,0,0,.35); } :root[data-theme="dark"] .descr th, :root[data-theme="dark"] .descr td { border-color: var(--line); }
:root[data-theme="dark"] .thb .mo { display: none; } :root[data-theme="dark"] .thb .su { display: block; }
@media (prefers-color-scheme: dark) {
:root:not([data-theme="light"]) { --bg: #121716; --card: #1c2322; --ink: #e6eeec; --muted: #9db0ac; --line: #2c3836; --brand: #14a093; --brand-2: #2dd4bf; --brand-soft: #1d3330; --price: #ff8a4c; --price-soft: #3a2415; --shadow: 0 1px 2px rgba(0,0,0,.5), 0 4px 16px rgba(0,0,0,.35); color-scheme: dark; }
:root:not([data-theme="light"]) body.sp-pisici { --bg: #171310; --card: #221c17; --ink: #f1e7de; --muted: #b3a294; --line: #3a2f26; --brand: #c97a40; --brand-2: #e08a45; --brand-soft: #3a2a1d; background: #171310; }
:root:not([data-theme="light"]) body.sp-caini { --bg: #15140e; --card: #201e14; --ink: #f0ead6; --muted: #b0a686; --line: #38341f; --brand: #c9a227; --brand-2: #e0b93a; --brand-soft: #36300f; background: #15140e; }
:root:not([data-theme="light"]) body.sp-pisici .top { background: linear-gradient(120deg, #4a2810, #7a431d 55%, #9a5a2c); }
:root:not([data-theme="light"]) body.sp-caini .top { background: linear-gradient(120deg, #3f3000, #6b5100 55%, #8a6a08); }
:root:not([data-theme="light"]) .top { background: linear-gradient(120deg, #073b37, #0b5d57 55%, #0d7068); }
:root:not([data-theme="light"]) .chip, :root:not([data-theme="light"]) .ph, :root:not([data-theme="light"]) .tbl, :root:not([data-theme="light"]) .descr, :root:not([data-theme="light"]) .blay .filters, :root:not([data-theme="light"]) .fbtn, :root:not([data-theme="light"]) .fbody, :root:not([data-theme="light"]) .dm:not(:checked) ~ .dmore, :root:not([data-theme="light"]) .sres, :root:not([data-theme="light"]) .about, :root:not([data-theme="light"]) .fdr-p, :root:not([data-theme="light"]) .fdr-clr, :root:not([data-theme="light"]) .favp, :root:not([data-theme="light"]) .vbtn, :root:not([data-theme="light"]) .cbtn, :root:not([data-theme="light"]) .more, :root:not([data-theme="light"]) .empty, :root:not([data-theme="light"]) .tgl:checked + .fbtn { background: var(--card); color: var(--ink); }
:root:not([data-theme="light"]) .chip.on { background: var(--brand); color: #fff; } :root:not([data-theme="light"]) .fbtn, :root:not([data-theme="light"]) .cbtn { color: var(--brand); }
:root:not([data-theme="light"]) .sortsel { background-color: var(--card); }
:root:not([data-theme="light"]) .sres a, :root:not([data-theme="light"]) .favp .fr { border-top-color: var(--line); } :root:not([data-theme="light"]) .sres a:hover, :root:not([data-theme="light"]) .favp .fr a:hover { background: rgba(255,255,255,.06); } :root:not([data-theme="light"]) .sres p, :root:not([data-theme="light"]) .favp p { color: var(--muted); }
:root:not([data-theme="light"]) .tbl th { background: rgba(255,255,255,.04); } :root:not([data-theme="light"]) .tbl tr.bestrow td { background: transparent; }
:root:not([data-theme="light"]) .pc .img, :root:not([data-theme="light"]) .ph .img { background: #fff; }
:root:not([data-theme="light"]) .pc .attrs span, :root:not([data-theme="light"]) .pattrs span, :root:not([data-theme="light"]) body.sp-pisici .pc .attrs span, :root:not([data-theme="light"]) body.sp-pisici .pattrs span, :root:not([data-theme="light"]) body.sp-caini .pc .attrs span, :root:not([data-theme="light"]) body.sp-caini .pattrs span,
:root:not([data-theme="light"]) .nst, :root:not([data-theme="light"]) body.sp-pisici .nst, :root:not([data-theme="light"]) body.sp-caini .nst { background: var(--brand-soft); color: var(--ink); }
:root:not([data-theme="light"]) .foot { background: rgba(0,0,0,.35); } :root:not([data-theme="light"]) .descr th, :root:not([data-theme="light"]) .descr td { border-color: var(--line); }
:root:not([data-theme="light"]) .thb .mo { display: none; } :root:not([data-theme="light"]) .thb .su { display: block; }
}
