/* Products sample: PrintNest-style photo tiles; hover widens a tile and slides up its label, click opens the full photo */
.sv__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 48px; margin-bottom: clamp(28px, 4vw, 48px); }
.sv__eyebrow { display: block; margin-bottom: 12px; font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--red); }
.sv h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.08; letter-spacing: -.025em; }
.sv h2 em { font-style: normal; color: var(--red); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.sv__side { max-width: 340px; display: grid; justify-items: start; gap: 16px; }
.sv__side p { margin: 0; color: var(--ink-soft); line-height: 1.65; }
.sv__row { list-style: none; margin: 0; padding: 0 0 56px; display: flex; gap: clamp(12px, 1.6vw, 22px); height: clamp(320px, 34vw, 440px); }
.sv__card { flex: 1 1 0; min-width: 0; position: relative; transition: flex-grow .7s cubic-bezier(.65, 0, .25, 1); }
.sv__card.is-on { flex-grow: 2.1; }
.sv__btn { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; border-radius: 22px; overflow: visible; cursor: zoom-in; background: #1c1214; font: inherit; }
.sv__btn > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 22px; transition: transform .9s var(--ease), filter .5s; }
.sv__card:not(.is-on) .sv__btn > img { filter: saturate(.85) brightness(.92); }
.sv__card--render .sv__btn { background: radial-gradient(120% 90% at 50% 30%, #fff 0, #fdeef0 60%, #f7d3da 100%); }
.sv__card--render .sv__btn > img { object-fit: contain; padding: 12% 10%; box-sizing: border-box; filter: drop-shadow(0 20px 22px rgb(40 0 10 / .25)); }
.sv__btn { clip-path: inset(0 0 -60px 0 round 22px); }
.sv__go { position: absolute; right: 16px; top: 16px; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff; box-shadow: 0 10px 24px -8px rgb(200 16 46 / .7); transition: transform .5s var(--ease), background .3s; }
.sv__go svg { width: 22px; height: 22px; }
.sv__btn:hover .sv__go { transform: rotate(45deg); background: linear-gradient(135deg, var(--red-hot), #ff7a59); }
.sv__label { position: absolute; left: 4%; right: 4%; bottom: -44px; padding: 20px 18px; border-radius: 18px; display: grid; gap: 6px; text-align: center; color: #fff; background: linear-gradient(110deg, rgb(200 16 46 / .92), rgb(255 106 90 / .9)); backdrop-filter: blur(6px); box-shadow: 0 20px 40px -18px rgb(143 11 33 / .7); opacity: 0; transform: translateY(24px); transition: opacity .45s, transform .6s var(--ease); pointer-events: none; }
.sv__card.is-on .sv__label { opacity: 1; transform: none; transition-delay: .2s; }
.sv__label small { font-size: .72rem; font-weight: 600; letter-spacing: .16em; opacity: .9; }
.sv__label b { font-size: clamp(1.25rem, 2vw, 1.7rem); letter-spacing: -.01em; }

.lb { width: min(1200px, 94vw); max-height: 92vh; padding: 0; border: 0; border-radius: 22px; background: #fff; overflow: hidden; box-shadow: 0 40px 100px -20px rgb(0 0 0 / .6); }
.lb::backdrop { background: rgb(20 6 10 / .72); backdrop-filter: blur(4px); }
.lb[open] { animation: lbIn .45s var(--ease); }
@keyframes lbIn { from { opacity: 0; transform: scale(.94); } }
.lb figure { margin: 0; }
.lb img { display: block; width: 100%; max-height: calc(92vh - 60px); object-fit: contain; background: #f6f1f2; }
.lb figcaption { padding: 16px 22px; font-weight: 700; }
.lb__x { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: 0 6px 18px rgb(0 0 0 / .25); }
.lb__x svg { width: 20px; height: 20px; }

@media (max-width: 760px) {
  .sv__row { flex-direction: column; height: auto; padding-bottom: 0; gap: 70px; }
  .sv__card, .sv__card.is-on { flex: none; height: 300px; }
  .sv__card .sv__label { opacity: 1; transform: none; }
}
.sv__row + .sv__row { margin-top: clamp(14px, 2vw, 26px); }
.sv__label { gap: 0; }
.lb figcaption { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
@media (max-width: 760px) { .sv__row + .sv__row { margin-top: 70px; } }
.lb img { max-height: calc(92vh - 80px); }

/* Compact: five per row, smaller frames */
.sv__row { height: clamp(200px, 17vw, 250px); padding-bottom: 0; gap: clamp(10px, 1.2vw, 16px); }
.sv__row + .sv__row { margin-top: clamp(12px, 1.4vw, 18px); }
.sv__card.is-on { flex-grow: 1.9; }
.sv__btn, .sv__btn > img { border-radius: 16px; }
.sv__btn { clip-path: inset(0 round 16px); }
.sv__card--render .sv__btn > img { padding: 10% 8%; }
.sv__go { right: 10px; top: 10px; width: 36px; height: 36px; }
.sv__go svg { width: 16px; height: 16px; }
.sv__label { left: 8px; right: 8px; bottom: 8px; padding: 10px 12px; border-radius: 12px; transform: translateY(10px); }
.sv__label b { font-size: clamp(.9rem, 1.1vw, 1.05rem); }
@media (max-width: 960px) {
  .sv__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); height: auto; }
  .sv__card, .sv__card.is-on { height: 200px; }
  .sv__card .sv__label { opacity: 1; transform: none; }
}
@media (max-width: 760px) {
  .sv__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); flex-direction: row; gap: 10px; }
  .sv__row + .sv__row { margin-top: 10px; }
  .sv__card, .sv__card.is-on { height: 170px; }
  .sv__label { padding: 7px 8px; } .sv__label b { font-size: .82rem; }
}
@media (max-width: 960px) {
  .sv__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .sv__grid .sv__row { display: contents; }
  .sv__row + .sv__row { margin-top: 0; }
}
@media (max-width: 760px) { .sv__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
.sv .filters.sv__filters { display: flex; flex-wrap: wrap; width: fit-content; max-width: 100%; margin: 0 0 clamp(18px, 2.4vw, 28px); }
.sv__card.sv-in { animation: svIn .5s var(--ease-out) both; }
@keyframes svIn { from { opacity: 0; transform: translateY(14px) scale(.97); } }
main > .sv:last-child { margin-bottom: calc(clamp(60px, 11vw, 190px) + 10px); }

/* Three-up gallery: equal tiles in an even 3-column grid, name caption under each frame */
.sv__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) clamp(18px, 2.4vw, 36px); max-width: 1180px; margin: 0 auto; }
.sv__grid .sv__row { display: contents; }
.sv__row + .sv__row { margin-top: 0; }
.sv__card, .sv__card.is-on { height: auto; flex: none; }
.sv__btn { height: auto; display: grid; gap: 16px; background: none !important; clip-path: none; border-radius: 0; text-align: left; color: var(--ink); }
.sv__frame { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 22px; overflow: hidden; background: radial-gradient(120% 95% at 50% 28%, #fff 0, #fdf1f3 58%, #f8dde3 100%); box-shadow: 0 1px 0 rgb(255 255 255 / .9) inset, 0 0 0 1px rgb(120 20 40 / .07), 0 18px 40px -26px rgb(90 10 30 / .45); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.sv__card:not(.sv__card--render) .sv__frame { background: #1c1214; }
.sv__btn > img, .sv__frame > img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 0; object-fit: cover; filter: none !important; transition: transform .8s var(--ease); }
.sv__card--render .sv__frame > img { object-fit: contain; padding: 9% 11%; box-sizing: border-box; filter: drop-shadow(0 18px 20px rgb(40 0 10 / .22)) !important; }
.sv__btn:hover .sv__frame, .sv__btn:focus-visible .sv__frame { transform: translateY(-6px); box-shadow: 0 1px 0 rgb(255 255 255 / .9) inset, 0 0 0 1px rgb(200 16 46 / .16), 0 30px 50px -28px rgb(140 10 35 / .55); }
.sv__btn:hover .sv__frame > img { transform: scale(1.05); }
.sv__btn:focus-visible { outline: none; }
.sv__btn:focus-visible .sv__frame { outline: 2px solid var(--red); outline-offset: 4px; }
.sv__label { position: static; inset: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 4px; border-radius: 0; background: none; box-shadow: none; backdrop-filter: none; color: var(--ink); text-align: left; opacity: 1 !important; transform: none !important; pointer-events: auto; }
.sv__label b { font-size: clamp(1rem, 1.25vw, 1.15rem); font-weight: 700; letter-spacing: -.01em; }
.sv__label b::after { content: ""; display: block; width: 26px; height: 2px; margin-top: 8px; border-radius: 2px; background: var(--red); transition: width .45s var(--ease); }
.sv__btn:hover .sv__label b::after { width: 52px; }
.sv__go { position: static; flex: none; width: 40px; height: 40px; background: #fff; color: var(--red); box-shadow: 0 0 0 1px rgb(200 16 46 / .22); }
.sv__go svg { width: 17px; height: 17px; }
.sv__btn:hover .sv__go { transform: rotate(45deg); background: var(--red); color: #fff; box-shadow: 0 10px 22px -10px rgb(200 16 46 / .8); }
@media (max-width: 960px) {
  .sv__grid { gap: 26px 16px; }
  .sv__card, .sv__card.is-on { height: auto; }
}
@media (max-width: 760px) {
  .sv__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 10px; }
  .sv__card, .sv__card.is-on { height: auto; }
  .sv__btn { gap: 8px; }
  .sv__frame { border-radius: 14px; aspect-ratio: 1; }
  .sv__card--render .sv__frame > img { padding: 10%; }
  .sv__label { padding: 0 2px; }
  .sv__label b { font-size: .78rem; line-height: 1.25; }
  .sv__label b::after { width: 16px; margin-top: 5px; }
  .sv__go { display: none; }
}
/* Products hero: two real photos as tilted cards */
.pg-hero__art--photos .pg-hero__item { width: 64%; height: auto; aspect-ratio: 4 / 3; }
.pg-hero__art--photos .pg-hero__item--0 { left: 0; right: auto; top: 2%; bottom: auto; rotate: -4deg; z-index: 1; }
.pg-hero__art--photos .pg-hero__item--1 { right: 0; left: auto; bottom: 2%; top: auto; width: 58%; rotate: 5deg; z-index: 2; }
.pg-hero__art--photos .pg-hero__item::before { display: none; }
.pg-hero__art--photos .pg-hero__item img { object-fit: cover; border-radius: 22px; border: 6px solid #fff; box-sizing: border-box; box-shadow: 0 24px 44px -24px rgb(90 10 30 / .5); }
@media (max-width: 900px) { .pg-hero__art--photos { height: 210px; } }
/* Phones: the three long category names sit in one swipeable row */
@media (max-width: 700px) {
  .sv .filters.sv__filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; border-radius: 999px; width: auto; }
  .sv .filters.sv__filters::-webkit-scrollbar { display: none; }
  .sv .filters.sv__filters .filter { flex: none; white-space: nowrap; }
}
/* Products hero: one transparent product collage */
.pg-hero__art--collage .pg-hero__item { left: 0; right: 0; top: 0; bottom: 4%; width: 100%; height: auto; }
.pg-hero__art--collage .pg-hero__item img { object-fit: contain; object-position: 50% 100%; }
@media (max-width: 900px) { .pg-hero__art--collage { height: 210px; max-width: 460px; } }
@media (min-width: 901px) { .pg-hero__art--collage { height: clamp(280px, 31vw, 460px); } .pg-hero__art--collage .pg-hero__item { left: -8%; width: 116%; } }
