/* studio: vyzkoušejte si kombinace + z čeho se skládá (navazuje na d.css) */
.studio__grid { display: grid; gap: 30px; margin-top: 40px; }
.studio__phone { display: grid; justify-items: center; gap: 18px; align-content: start; }
.studio__phone .phone { --pw: min(66vw, 280px); }
.load { position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; background: linear-gradient(160deg, #f6ece2, #ecdccf); transition: opacity .6s var(--ease); }
.load img { width: 60px; animation: pulse 1.6s ease-in-out infinite; }
.load.is-off { opacity: 0; pointer-events: none; }
@keyframes pulse { 0%, 100% { transform: scale(.92); opacity: .6; } 50% { transform: scale(1.05); opacity: 1; } }
.studio__act { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.studio__act .btn { min-height: 48px; padding: 0 24px; font-size: 17px; }
.studio__hint { font-size: 16px; color: var(--soft); text-align: center; }
.grp { min-width: 0; }
.studio__ctrl { display: grid; gap: 30px; align-content: start; min-width: 0; }
.info { padding: 24px 24px 22px; border-radius: var(--r); background: var(--paper); box-shadow: var(--shadow), 0 0 0 1px var(--line); }
.info h3 { font: 400 clamp(40px, 10vw, 52px)/1 var(--script); color: var(--ink); }
.info p { margin-top: 10px; font-size: 18px; line-height: 1.45; color: var(--soft); }
.info p b { color: var(--ink); font-weight: 500; }
.info__pal { padding-top: 10px; border-top: 1px solid var(--line); }
.grp__bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.grp__bar h4 { margin: 0; font-weight: 500; font-size: 22px; }
.grp__bar small { margin-left: 8px; font-size: 16px; color: var(--soft); font-weight: 400; }
.grp .arrows { display: none; gap: 8px; }
.grp .arrow { width: 42px; height: 42px; }
.strip { display: flex; gap: 12px; overflow-x: auto; padding: 8px 6px 14px; margin: 0 -6px; scroll-snap-type: x proximity; scrollbar-width: none; }
.strip::-webkit-scrollbar { display: none; }
.pick { flex: 0 0 auto; width: 74px; padding: 0; border: 0; background: transparent; font: inherit; color: inherit; cursor: pointer; text-align: center; scroll-snap-align: start; }
.pick__img { display: block; aspect-ratio: 390 / 844; border-radius: 12px; overflow: hidden; background: var(--blush); box-shadow: 0 0 0 1px var(--line); transition: transform .45s var(--ease), box-shadow .3s; }
.pick__img img { width: 100%; height: 100%; object-fit: cover; }
.pick:hover .pick__img { transform: translateY(-4px); }
.pick.is-on .pick__img { box-shadow: 0 0 0 2.5px var(--rose-deep), 0 14px 22px -12px rgba(120, 78, 58, .55); transform: translateY(-4px); }
.pick__n { display: block; margin-top: 8px; font-size: 14px; line-height: 1.15; color: var(--soft); }
.pick.is-on .pick__n { color: var(--ink); font-weight: 500; }
.sws { display: flex; flex-wrap: wrap; gap: 10px 16px; }
.sw { display: grid; justify-items: center; gap: 6px; width: 66px; padding: 0; border: 0; background: transparent; font: inherit; color: var(--soft); font-size: 14px; cursor: pointer; }
.sw i { width: 46px; height: 46px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 3px var(--paper), 0 0 0 4px rgba(74, 63, 51, .25); transition: transform .35s var(--ease), box-shadow .3s; }
.sw:hover i { transform: scale(1.08); }
.sw.is-on i { box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--c); }
.sw.is-on { color: var(--ink); font-weight: 500; }

.bento { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 44px; }
.cell { position: relative; padding: 24px 22px 22px; border-radius: var(--r); background: var(--paper); box-shadow: 0 0 0 1px var(--line); overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
.cell .txt b { display: block; font: 400 64px/.9 var(--script); color: var(--rose-deep); }
.cell h3 { font-weight: 500; font-size: 22px; line-height: 1.15; margin-top: 4px; }
.cell p { margin-top: 8px; font-size: 17px; line-height: 1.4; color: var(--soft); }
.c-open, .c-themes, .c-more { grid-column: 1 / -1; }
.c-open { background: var(--blush); }
.c-open .stack { display: flex; margin-bottom: 26px; padding-left: 16px; }
.c-open .stack img { width: 21%; aspect-ratio: 390 / 844; object-fit: cover; border-radius: 10px; margin-left: -16px; box-shadow: 0 14px 20px -10px rgba(90, 50, 40, .5), 0 0 0 2px var(--blush); }
.c-open .stack img:nth-child(odd) { transform: translateY(14px); }
.c-themes .strip3 { display: flex; gap: 10px; margin-bottom: 20px; }
.c-themes .strip3 img { flex: 1; min-width: 0; aspect-ratio: 390 / 844; object-fit: cover; border-radius: 12px; box-shadow: 0 0 0 1px var(--line); }
.c-pal .dots { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.c-pal .dots i { width: 30px; height: 30px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 2px var(--paper), 0 0 0 3px rgba(74, 63, 51, .22); }
.c-n { background: linear-gradient(160deg, var(--paper), #f7ebe3); }
.c-more { background: var(--blush); justify-content: flex-start; }
.c-more ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; font-size: 17px; color: var(--soft); }
.c-more li { padding-left: 20px; position: relative; line-height: 1.35; }
.c-more li::before { content: ''; position: absolute; left: 2px; top: .55em; width: 7px; height: 7px; border: 1px solid var(--gold); transform: rotate(45deg); }

@media (min-width: 900px) {
  .studio__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; margin-top: 56px; align-items: start; }
  .studio__phone { position: sticky; top: 96px; }
  .studio__phone .phone { --pw: min(330px, calc((100dvh - 230px) / 2.25)); }
  .studio__ctrl { gap: 34px; }
  .grp .arrows { display: flex; }
  .pick { width: 84px; }
  .strip { gap: 14px; }

  .bento { grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 60px; }
  .c-open { grid-column: 1 / 3; grid-row: 1 / 3; padding: 32px; }
  .c-themes { grid-column: 3 / 5; grid-row: 1; }
  .c-more { grid-column: auto; }
  .c-open .stack { margin-bottom: 34px; }
  .c-open .stack img { width: 19%; }
  .cell { padding: 28px 26px 26px; }
  .cell .txt b { font-size: 76px; }
  .cell h3 { font-size: 24px; }
}
