
/* Podarkiss V7.55 — gift sets catalog */
.sets-shell,.family-shell{padding-bottom:96px}.sets-hero{display:grid;grid-template-columns:1.02fr .98fr;gap:18px;align-items:stretch;margin:8px 0 28px}.sets-hero-copy,.sets-hero-media{border-radius:28px;background:var(--paper);box-shadow:var(--shadow);overflow:hidden}.sets-hero-copy{padding:clamp(26px,5vw,54px);display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.sets-hero-copy h1{font-size:clamp(38px,5.8vw,68px);line-height:.98;letter-spacing:-.055em;margin:10px 0 16px;max-width:760px}.sets-hero-copy p{font-size:17px;line-height:1.55;color:var(--muted);max-width:640px}.sets-hero-chips{display:flex;gap:7px;flex-wrap:wrap;margin:8px 0 22px}.sets-hero-chips span,.personal-chips span{padding:8px 10px;border-radius:999px;background:#eee5d9;color:#654c31;font-size:12px;font-weight:760}.sets-hero-media{position:relative;text-decoration:none;min-height:520px}.sets-hero-media img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}.sets-hero-media::after{content:"";position:absolute;inset:48% 0 0;background:linear-gradient(transparent,rgba(17,15,14,.84))}.sets-hero-media>span{position:absolute;z-index:2;left:20px;right:20px;bottom:20px;color:#fff;display:grid;gap:5px}.sets-hero-media small{opacity:.74}.sets-hero-media b{font-size:24px;line-height:1.1}.sets-hero-media strong{font-size:20px}.hit-grid,.sets-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.set-card{background:var(--paper);border:1px solid rgba(255,255,255,.75);box-shadow:var(--shadow);border-radius:22px;overflow:hidden;text-decoration:none;display:flex;flex-direction:column;min-width:0}.set-photo{position:relative;aspect-ratio:4/5;background:#ddd;overflow:hidden}.set-photo img{width:100%;height:100%;object-fit:cover}.set-badge{position:absolute;left:10px;top:10px;padding:7px 10px;border-radius:999px;background:rgba(24,23,21,.9);color:#fff;font-size:11px;font-weight:850}.set-copy{padding:14px 14px 16px;display:flex;flex-direction:column;flex:1}.set-copy h3{font-size:17px;line-height:1.18;letter-spacing:-.025em;margin:0 0 8px}.set-copy p{font-size:12px;line-height:1.38;color:var(--muted);margin:0 0 12px}.set-copy strong{font-size:20px;margin-top:auto}.set-copy>span{font-size:12px;font-weight:800;margin-top:9px}.sets-all{margin-top:48px}.set-filters{display:flex;gap:7px;overflow-x:auto;padding:2px 0 12px;scrollbar-width:none}.set-filters::-webkit-scrollbar{display:none}.set-filter{white-space:nowrap;border:1px solid var(--line);background:#fff;border-radius:999px;padding:10px 13px;font-weight:760;color:#5f5953;cursor:pointer}.set-filter.is-active{background:var(--dark);color:#fff;border-color:var(--dark)}.sets-empty{padding:30px;border:1px dashed var(--line);border-radius:18px;color:var(--muted);text-align:center}.sets-guide{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:34px}.sets-guide>div{background:var(--paper);border:1px solid var(--line);border-radius:20px;padding:18px}.sets-guide b{display:block;margin-bottom:7px}.sets-guide span{font-size:13px;line-height:1.45;color:var(--muted)}
.family-top{display:grid;grid-template-columns:minmax(0,1fr) 390px;gap:24px;align-items:start}.family-gallery{min-width:0}.family-main{position:relative;border-radius:26px;overflow:hidden;background:#ddd;box-shadow:var(--shadow)}.family-main img{width:100%;aspect-ratio:4/5;object-fit:cover}.family-main>span{position:absolute;right:12px;bottom:12px;padding:8px 11px;border-radius:999px;background:rgba(17,15,14,.78);color:#fff;font-size:12px;font-weight:800}.family-thumbs{display:flex;gap:8px;overflow-x:auto;padding:10px 1px 2px;scrollbar-width:none}.family-thumbs::-webkit-scrollbar{display:none}.family-thumb{width:72px;height:88px;flex:0 0 72px;border:2px solid transparent;border-radius:13px;padding:0;overflow:hidden;background:#ddd;opacity:.55;cursor:pointer}.family-thumb.is-active{border-color:#171614;opacity:1}.family-thumb img{width:100%;height:100%;object-fit:cover}.family-summary{position:sticky;top:82px}.family-summary h1{font-size:clamp(34px,4.7vw,52px);line-height:1;letter-spacing:-.05em;margin:10px 0 14px}.family-lead{color:var(--muted);line-height:1.55}.family-price{font-size:34px;font-weight:900;margin:18px 0 4px}.family-rule{font-size:12px!important;line-height:1.45!important;color:#817a73!important}.family-contact{width:100%;min-height:52px;margin-top:15px}.family-variants{margin-top:36px}.variant-rail{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.variant-tile{border:1px solid var(--line);background:#fff;border-radius:18px;padding:8px;display:grid;grid-template-columns:72px 1fr;gap:10px;align-items:center;text-align:left;cursor:pointer;min-width:0}.variant-tile.is-active{border:2px solid #171614;padding:7px}.variant-tile img{width:72px;height:86px;border-radius:12px;object-fit:cover}.variant-tile span{min-width:0}.variant-tile b{display:block;font-size:13px;line-height:1.22}.variant-tile strong{display:block;font-size:15px;margin-top:5px}.family-details{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:28px}.family-components,.family-personal,.family-change{background:var(--paper);border:1px solid var(--line);border-radius:24px;padding:22px}.family-components h2,.family-personal h2,.family-change h2{font-size:25px;letter-spacing:-.035em;margin:5px 0 14px}.component-row{display:flex;justify-content:space-between;gap:16px;padding:11px 0;border-bottom:1px solid var(--line);font-size:14px}.component-row span{color:#5f5953}.component-total{display:flex;justify-content:space-between;align-items:center;padding-top:16px}.component-total strong{font-size:27px}.family-personal p,.family-change p{color:var(--muted);line-height:1.55}.personal-chips{display:flex;gap:7px;flex-wrap:wrap;margin-top:16px}.family-change{margin-top:12px;display:flex;align-items:center;justify-content:space-between;gap:20px}.family-change>div{max-width:760px}.family-change .btn{flex:none}.set-family-page .sticky-cta .contact-trigger{gap:6px}
@media(hover:hover) and (pointer:fine){.set-card{transition:transform .2s ease,box-shadow .2s ease}.set-card:hover{transform:translateY(-3px);box-shadow:0 18px 48px rgba(28,23,18,.13)}}
@media(max-width:900px){.sets-hero{grid-template-columns:1fr}.sets-hero-media{min-height:540px}.hit-grid,.sets-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sets-guide{grid-template-columns:1fr}.family-top{grid-template-columns:1fr}.family-summary{position:static}.variant-rail{grid-template-columns:repeat(2,minmax(0,1fr))}.family-details{grid-template-columns:1fr}.family-change{align-items:flex-start;flex-direction:column}.family-change .btn{width:100%}}
@media(max-width:560px){.sets-hero{gap:10px}.sets-hero-copy,.sets-hero-media{border-radius:21px}.sets-hero-copy{padding:24px 18px}.sets-hero-copy h1{font-size:39px}.sets-hero-media{min-height:440px}.sets-hero-media b{font-size:20px}.hit-grid,.sets-grid{gap:9px}.set-card{border-radius:18px}.set-copy{padding:10px 10px 13px}.set-copy h3{font-size:14px}.set-copy p{font-size:11px}.set-copy strong{font-size:18px}.set-copy>span{font-size:11px}.section-head{margin-top:32px}.variant-rail{display:flex;overflow-x:auto;scrollbar-width:none}.variant-rail::-webkit-scrollbar{display:none}.variant-tile{flex:0 0 82%;grid-template-columns:68px 1fr}.variant-tile img{width:68px;height:82px}.family-main{border-radius:20px}.family-summary h1{font-size:35px}.family-price{font-size:31px}.family-components,.family-personal,.family-change{padding:17px;border-radius:20px}.family-change h2,.family-components h2,.family-personal h2{font-size:22px}}


/* Podarkiss V7.58 — isolated mobile-safe refinements. Scoped to set pages only. */
.sets-page .set-filter,
.set-family-page .variant-tile,
.set-family-page .family-thumb{
  -webkit-appearance:none;appearance:none;font:inherit;color:#171614;
}
.set-family-page .variant-tile{
  position:relative;color:#171614!important;text-decoration:none!important;
  -webkit-tap-highlight-color:transparent;background:#fff;
  border:1px solid #d9d2c8;box-shadow:0 6px 18px rgba(31,26,21,.035);
  transition:border-color .16s ease,background-color .16s ease,transform .16s ease;
}
.set-family-page .variant-tile:visited,
.set-family-page .variant-tile:hover,
.set-family-page .variant-tile:active,
.set-family-page .variant-tile b,
.set-family-page .variant-tile strong{color:#171614!important;text-decoration:none!important}
.set-family-page .variant-tile.is-active{
  border:2px solid #171614;background:#f3ede4;box-shadow:0 8px 22px rgba(31,26,21,.07);
}
.set-family-page .variant-tile.is-active::after{
  content:"Выбрано";position:absolute;right:10px;top:10px;z-index:2;
  padding:5px 7px;border-radius:999px;background:#171614;color:#fff;
  font-size:9px;line-height:1;font-weight:850;letter-spacing:.04em;text-transform:uppercase;
}
.set-family-page .variant-tile span{padding-right:4px}
.set-family-page .variant-tile b{font-weight:820}
.set-family-page .variant-tile strong{font-weight:900}
.set-family-page .family-price,
.set-family-page [data-family-total],
.set-family-page [data-family-sticky-price]{color:#171614!important}
.set-family-page .family-contact,.set-family-page .family-change .btn{color:#fff!important}
.set-family-page .family-components{overflow:hidden}
.set-family-page .family-main img{display:block;background:#ded8d0}
.sets-page .set-card,.sets-page .set-card:visited,.sets-page .set-card:hover{color:#171614!important}
.sets-page .set-card strong,.sets-page .set-card h3{color:#171614!important}
@media(max-width:560px){
  .set-family-page .variant-rail{gap:10px;scroll-snap-type:x proximity;padding:2px 1px 8px}
  .set-family-page .variant-tile{flex:0 0 86%;scroll-snap-align:start;min-height:104px;border-radius:20px;padding:9px;grid-template-columns:74px 1fr;gap:12px}
  .set-family-page .variant-tile.is-active{padding:8px}
  .set-family-page .variant-tile img{width:74px;height:88px;border-radius:14px}
  .set-family-page .variant-tile b{font-size:14px;line-height:1.2}
  .set-family-page .variant-tile strong{font-size:18px;margin-top:7px}
  .set-family-page .variant-tile.is-active::after{right:8px;top:8px}
  .set-family-page .family-variants{margin-top:32px}
  .set-family-page .family-details{margin-top:22px}
  .set-family-page .family-components,.set-family-page .family-personal,.set-family-page .family-change{background:#fffdf9}
}
@media(hover:hover) and (pointer:fine){
 .set-family-page .variant-tile:hover{border-color:#968a7e;transform:translateY(-1px)}
 .set-family-page .variant-tile.is-active:hover{border-color:#171614}
}
@media(max-width:560px){.set-family-page .variant-tile.is-active span{padding-right:72px}}

/* Podarkiss V7.60 — clean mobile variant cards. New filename intentionally busts Safari cache. */
.set-family-page .variant-tile,
.set-family-page .variant-tile:visited,
.set-family-page .variant-tile:hover,
.set-family-page .variant-tile:active,
.set-family-page .variant-tile b,
.set-family-page .variant-tile strong{
  color:#171614!important;
  text-decoration:none!important;
}
.set-family-page .variant-tile.is-active{
  border:2px solid #171614!important;
  background:#fffdf9!important;
  box-shadow:0 7px 22px rgba(31,26,21,.06)!important;
}
/* Remove the V7.58 "Выбрано" badge: on iOS it could render as a clipped black patch. */
.set-family-page .variant-tile.is-active::after{
  content:none!important;
  display:none!important;
}
.set-family-page .variant-tile span,
.set-family-page .variant-tile.is-active span{padding-right:0!important}

@media(max-width:560px){
  .set-family-page .variant-rail{
    display:flex!important;
    width:100%;
    gap:10px;
    overflow-x:auto;
    overflow-y:hidden;
    padding:2px 0 8px!important;
    scroll-snap-type:x mandatory;
    scroll-padding-inline:0;
    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
    overscroll-behavior-x:contain;
  }
  .set-family-page .variant-rail::-webkit-scrollbar{display:none}
  .set-family-page .variant-tile{
    flex:0 0 100%!important;
    width:100%!important;
    min-width:100%!important;
    max-width:100%!important;
    min-height:108px;
    margin:0!important;
    padding:9px!important;
    grid-template-columns:76px minmax(0,1fr)!important;
    gap:12px!important;
    border-radius:20px!important;
    scroll-snap-align:start;
    scroll-snap-stop:always;
  }
  .set-family-page .variant-tile.is-active{padding:8px!important}
  .set-family-page .variant-tile img{
    width:76px!important;
    height:90px!important;
    border-radius:14px!important;
  }
  .set-family-page .variant-tile b{font-size:14px!important;line-height:1.2!important}
  .set-family-page .variant-tile strong{font-size:18px!important;margin-top:7px!important}
}
