/* Daylit product counter with the original campaign photograph mounted on glass. */
.collection {
  --shop-ink: #112e45;
  --shop-muted: #435d6d;
  --shop-rule: #bfd5db;
  --shop-focus: #075e72;
  color-scheme: light;
  isolation: isolate;
  position: relative;
  padding-block: clamp(3rem,6vw,6rem);
  background:
    radial-gradient(ellipse at 100% 7%,#c0eefe 0%,#dff4fa 25%,transparent 54%),
    radial-gradient(ellipse at 1% 88%,#c6eee7 0%,transparent 47%),
    radial-gradient(ellipse at 80% 96%,#faefdc 0%,transparent 24%),
    #f7fafc;
  color: var(--shop-ink);
  border-block: 1px solid #d4e7ea;
}
.collection .section-header {
  margin-block-end: clamp(.75rem,1.8vw,1.45rem);
  padding-block-end: clamp(.65rem,1.45vw,1.2rem);
  flex-direction: row;
  align-items: end;
  border-bottom: 1px solid #b3d3da;
}
.collection .section-header h2 {
  color: var(--shop-ink);
  font-size: clamp(2.2rem,4.6vw,4.8rem);
  line-height: max(1.38em, var(--ps-heading-leading) * 1em);
  letter-spacing: 0;
}
html[lang="en"] .collection .section-header h2 {
  font-size: clamp(2.7rem,5.55vw,5.8rem);
  letter-spacing: -.05em;
  line-height: .95;
}
.gallery-en, html[lang="en"] .gallery-ps { display: none; }
html[lang="en"] .gallery-en { display: inline; }
.photo-album-link { color: var(--shop-focus); font-weight: 650; text-underline-offset: .23em; }
.gallery-tools {
  display: flex;
  align-items: center;
  gap: clamp(.55rem, 1.3vw, 1.25rem);
  flex-wrap: wrap;
  justify-content: end;
}
.gallery-switch {
  display: flex;
  gap: 2px;
  border-radius: 2rem;
  padding: 3px;
  background: #eff9fad9;
  border: 1px solid #a8cbd7;
  box-shadow: inset 0 1px 3px #31647314,0 1px #fff;
}
.gallery-switch button {
  background: transparent;
  padding: .18rem clamp(.7rem, 1.3vw, 1.2rem);
  min-height: 2.65rem;
  border: 1px solid transparent;
  border-radius: 2rem;
  color: #233f54;
  font: inherit;
  font-size: .98rem;
  font-weight: 700;
}
.gallery-switch button:hover { background: #d9f2f3; }
.gallery-switch button[aria-pressed="true"] {
  background: #123c52; color: #fff; border-color: #123c52; box-shadow: inset 0 1px #638592;
}
.collection .gallery-count { font-size: .94rem; color: var(--shop-muted); white-space: nowrap; }
.collection :is(a,button):focus-visible { outline: 3px solid var(--shop-focus); outline-offset: 3px; }
.retail-counter, .collection .catalog, .retail-choice-panel, .collection .product-card { min-width: 0; }
.retail-counter { display: block; }
.retail-enhanced .retail-counter {
  display: flex; flex-direction: column;
  gap: clamp(.65rem,1.35vw,1.25rem);
}
.retail-choice-panel {
  padding: .65rem .72rem .72rem;
  color: var(--shop-ink);
  border: 1px solid #c0d9df;
  border-radius: 1.2rem;
  background: linear-gradient(112deg,#ffffffea,#f0fafbe8 64%,#e4f6f3eb);
  box-shadow: inset 0 1px #fff,0 .45rem 1.2rem -.92rem #315e6a66;
}
.retail-choice-heading {
  padding-inline: .2rem; margin-block-end: .38rem;
  font-size: .93rem; font-weight: 750; line-height: 1.55; color: #354f60;
}
.retail-choices {
  display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: .36rem;
}
.can-size {
  display: block;
  margin-block-start: .4rem;
  font-size: .85rem;
  color: #38596c;
}
.retail-choice {
  position: relative; display: grid;
  grid-template-columns: 1.8rem minmax(0,1fr); grid-template-rows: 1fr 1fr;
  align-items: center; column-gap: .46rem; row-gap: .12rem;
  min-width: 0; min-height: 4.3rem; width: 100%;
  padding: .38rem .55rem;
  color: #19384f; text-align: start;
  background: linear-gradient(125deg,#fff,#f5fbfc);
  border: 1px solid #c1d8de; border-radius: .75rem;
  box-shadow: inset 0 1px #fff;
}
.retail-choice img {
  grid-row: span 2; width: 1.62rem; height: 3.25rem; justify-self: center;
  object-fit: contain; transform: rotate(-7deg); filter: drop-shadow(.1rem .16rem .12rem #43667650);
}
.retail-choice-name {
  direction: ltr; align-self: end;
  text-align: start;
  font-family: var(--latin);
  font-weight: 800;
  line-height: 1.12;
  font-size: 1.04rem;
}
html[dir="rtl"] .retail-choice-name { text-align: right; }
.retail-choice-price {
  grid-column: 2; align-self: start; font-size: .84rem; line-height: 1.5; color: #3f5969; white-space: normal;
}
.retail-choice:hover {
  border-color: #89b6c4; background: #f4ffff;
}
.retail-choice[aria-pressed="true"] {
  border-color: #538997;
  background: linear-gradient(125deg,#e4fbfa,#ccebec);
  box-shadow: inset 0 1px #fff,inset 0 -2px #35717d;
}
.retail-choice[aria-pressed="true"]::after {
  content: ""; position: absolute; inset-block-start: .4rem; inset-inline-end: .4rem;
  width: .37rem; height: .37rem; border-radius: 50%;
  background: var(--choice-color); box-shadow: 0 0 0 1px #426879;
}
.collection .retail-choice:focus-visible, .collection .retail-views :is(a,button):focus-visible { outline-color: var(--shop-focus); outline-offset: -3px; }
.collection .catalog {
  display: grid; grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 1.3rem;
}
.retail-enhanced .catalog { display: block; }
.collection .product-card {
  position: relative; isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0,1.25fr) minmax(0,.9fr);
  grid-template-rows: minmax(0,1fr) auto auto;
  grid-template-areas: "art info" "art shop" "views shop";
  padding: clamp(.45rem,.9vw,.82rem);
  overflow: visible;
  border: 1px solid #bad5dc;
  border-radius: clamp(1rem,2.2vw,1.9rem);
  color: var(--shop-ink);
  background:
    radial-gradient(ellipse at 94% 9%,#d8f2f5 0%,transparent 49%),
    radial-gradient(ellipse at 80% 100%,#edfaf4 0%,transparent 45%),
    linear-gradient(135deg,#fff,#f6fbfc 72%);
  box-shadow: inset 0 1px 0 #fff,0 1.5rem 2.8rem -2rem #38687960;
}
.retail-enhanced .product-card:not([hidden]) { min-height: clamp(24rem,36vw,33.5rem); }
.collection .product-card[hidden], .retail-choice[hidden] { display: none !important; }
.collection .product-card:hover,.collection .product-card:focus-within { border-color: #91b9c4; }
.collection .card-art {
  --moving-x: 0deg;
  --moving-y: 0deg;
  grid-area: art;
  display: grid;
  place-items: center;
  position: relative;
  isolation: isolate;
  min-height: 0;
  height: 100%;
  aspect-ratio: auto;
  overflow: hidden;
  overflow: clip;
  border: 0;
  border-radius: 1rem 1rem 0 0;
  background:
    radial-gradient(ellipse at 86% 19%,#fff 0%,transparent 48%),
    linear-gradient(135deg,#c4e6ec 0%,#dff5f3 49%,color-mix(in srgb,var(--card-light) 14%,#dbeaf0) 100%);
}
.gallery-print {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%; height: 100%; min-height: 0;
  min-block-size: 18rem;
  padding: clamp(.8rem,1.95vw,1.85rem);
  overflow: hidden;
}
.gallery-print::before, .gallery-print::after {
  content: ""; position: absolute; pointer-events: none;
}
.gallery-print::before {
  inset: 13% 13% 11%;
  border: 1px solid #ffffffea; border-radius: .45rem;
  transform: rotate(-5deg);
  background: linear-gradient(130deg,#ffffffb5,#d1f0ef93 58%,#ffffffc9);
  box-shadow: .35rem .55rem .75rem #477d8a2e,inset 0 1px #fff;
}
.gallery-print::after {
  inset-block-start: 8%; inset-inline-end: 6%;
  width: clamp(.9rem,2.3vw,1.85rem); aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(140deg,#fff4cb 7%,#e2b859 35%,#aa7b35 60%,#ffe2a0 82%);
  mask: radial-gradient(circle,transparent 43%,#000 47%);
  transform: rotate(-21deg) scaleX(.82);
}
.collection .gallery-print img {
  position: absolute;
  z-index: 1; inset: 4% 3%;
  width: 94%; height: 92%;
  object-fit: contain;
  filter: drop-shadow(.3rem .52rem .52rem #2b536947);
  transform: perspective(1050px) rotateY(var(--moving-y)) rotateX(var(--moving-x));
  transition: transform .27s ease-out;
}
.retail-pack {
  display: none;
  position: absolute;
  inset: 0;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 28% 14%,#ffffffd9,transparent 41%),
    radial-gradient(ellipse at 80% 70%,color-mix(in srgb,var(--card-light) 30%,#b5eee6),transparent 61%),
    linear-gradient(145deg,#c4e7f7,#effcfa 50%,#9cd8d9);
}
.retail-pack::before {
  content: ""; position: absolute; inset: 62% -15% -30%;
  border-radius: 50%; background: linear-gradient(#fff9,#98c9d151);
  border-top: 1px solid #ffffffbd;
  transform: rotate(-7deg);
}
.retail-platform {
  position: absolute; inset: auto 17% 9%; height: 14%;
  border-radius: 50% / 39%;
  background: linear-gradient(90deg,#7bafb9,#f4fcfb 13%,#abcdd3 33%,#7ba6b2 68%,#d4eae8 88%,#85b5be);
  box-shadow: .45rem .7rem 1.05rem #172a2842;
}
.retail-platform::after {
  content: ""; position: absolute; inset: 0 0 25%;
  border: 1px solid #eaf5e7bb; border-radius: 50%;
  background: radial-gradient(ellipse,#b5d7db,#daeced 74%,#fff7df 88%);
}
.collection .retail-pack img {
  position: absolute; inset: auto auto 18% 50%; height: 73%; width: auto; max-width: 49%;
  object-fit: contain;
  transform: translateX(-50%) perspective(900px) rotate(-6deg) rotateY(var(--moving-y)) rotateX(var(--moving-x));
  filter: drop-shadow(.5rem .45rem .45rem #2638304f);
  transition: transform .27s ease-out;
}
.product-card[data-media="can"] .retail-pack { display: block; }
.retail-pack .pack-source {
  position: absolute;
  inset-inline-end: .75rem;
  inset-block-end: .5rem;
  padding: .3rem .65rem;
  border-radius: .45rem;
  background: #f9fffff0;
  color: #174855;
  font-size: .875rem;
  text-underline-offset: .16em;
}
.product-card[data-media="can"] .gallery-print { visibility: hidden; }
.retail-views {
  grid-area: views;
  display: none; justify-content: center; align-items: stretch; flex-wrap: wrap;
  gap: .2rem;
  padding: .4rem;
  background: #e5f1f3;
  border-top: 1px solid #ffffffdb;
  border-radius: 0 0 .9rem .9rem;
}
.retail-enhanced .retail-views { display: flex; }
.retail-views button, .has-js .collection .retail-views .card-button.js-only {
  display: inline-grid !important;
  align-content: center; justify-content: center;
  flex: 1 1 auto;
  min-width: 2.8rem; min-height: 2.75rem;
  padding: .16rem .55rem;
  border-radius: .4rem;
  border: 1px solid transparent;
  background: transparent;
  color: #244759;
  font: inherit; font-size: .96rem; font-weight: 700; line-height: 1.45;
}
.retail-views [aria-pressed="true"], .has-js .collection .retail-views .card-button[aria-expanded="true"] {
  border-color: #8cb0bb !important; background: #fff; color: #103d50; box-shadow: 0 2px 4px #315f6b1b;
}
.retail-views :is(button,a):hover {
  background: #cce8e9;
}
.collection .card-info {
  grid-area: info; display: flex; align-items: center; padding: clamp(1.25rem,3.5vw,3.8rem);
  flex-wrap: nowrap; min-width: 0;
}
.retail-family {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-block-end: .7rem;
  font-size: .84rem; font-weight: 800;
  letter-spacing: .1em;
  color: #28536b;
}
.retail-family::before {
  content: ""; width: 1rem; height: .32rem; border-radius: 1rem;
  background: var(--card-light); box-shadow: 0 0 0 1px #16272040;
}
.collection .card-info h3 {
  color: var(--shop-ink);
  width: fit-content;
  max-width: 100%;
  font-size: clamp(2.45rem,4.55vw,5rem);
  font-weight: 800;
  line-height: .99;
  letter-spacing: -.04em;
  overflow-wrap: anywhere;
  text-wrap: balance;
}
html[dir="rtl"] .collection .card-info h3 { text-align: right; margin-inline-start: auto; }
.collection .card-info p {
  margin-block-start: .9rem; font-size: clamp(1rem,1.4vw,1.27rem);
  line-height: max(1.7em, var(--ps-leading) * 1em);
  color: var(--shop-muted);
}
.collection .card-shop {
  grid-area: shop;
  display: flex !important; flex-direction: column; align-items: stretch !important;
  justify-content: end;
  gap: .75rem !important;
  margin: 0 clamp(1.25rem,3.5vw,3.8rem) clamp(1.2rem,2.8vw,3rem);
  padding: 1rem 0 0;
  border-top: 1px solid var(--shop-rule);
  background: transparent;
}
.collection .card-shop .shop-price { display: flex; align-items: baseline; gap: .15rem .5rem; flex-wrap: wrap; }
.collection .shop-price strong,.collection .shop-price.quote-price strong { color: #13364e; font-size: clamp(1.35rem,2vw,1.85rem); }
.collection .shop-price small { color: var(--shop-muted); font-size: .96rem; }
.has-js .collection .shop-buy {
  display: inline-flex !important; align-items: center; justify-content: space-between; gap: .75rem;
  width: 100%; min-height: 3.22rem; padding: .4rem 1.15rem;
  border-radius: .8rem; border: 1px solid #194956;
  background: linear-gradient(118deg,#123951 5%,#075c66);
  color: white; font-size: 1.1rem; font-weight: 800;
  box-shadow: inset 0 1px #e7d49b7d,0 .24rem .48rem #36657828;
}
.collection .shop-buy:hover {
  color: white; background: #074e5d; border-color: #053b47;
}

.collection .shop-buy::after {
  content: ""; width: .48rem; height: .48rem; flex: 0 0 auto;
  border-top: 2px solid #f7e4ad; border-right: 2px solid #f7e4ad;
  transform: rotate(45deg);
}
html[dir="rtl"] .shop-buy::after { transform: rotate(-135deg); }

@media (max-width:1000px) {
  .retail-choices {
    display: flex; overflow-x: auto; scrollbar-width: thin; scrollbar-color: #86b6c1 #e5f2f5;
    scroll-snap-type: x proximity; padding-block-end: .22rem;
  }
  .retail-choice { flex: 0 0 8rem; scroll-snap-align: start; }
}
@media (max-width:820px) {
  .collection .catalog { grid-template-columns: minmax(0,1fr); }
  .retail-enhanced .product-card:not([hidden]) { min-height: 23rem; }
  .collection .section-header { align-items: start; flex-direction: column; gap: .55rem; }
  .gallery-tools { justify-content: start; }
  .collection .product-card { grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); }
}
@media (max-width:560px) {
  .collection { padding-block: 2.15rem; }
  .collection .section-header { margin-block-end: .65rem; padding-block-end: .55rem; }
  .retail-choice-panel { padding: .38rem .45rem .25rem; }
  .retail-choice-heading { margin-block-end: .2rem; }
  .retail-choice { min-height: 3.55rem; padding: .21rem .44rem; }
  .retail-choice img { height: 2.65rem; }
  .collection .product-card {
    grid-template-columns: minmax(0,1fr);
    grid-template-rows: auto auto auto auto;
    grid-template-areas: "info" "shop" "art" "views";
    padding: .5rem;
  }
  .collection .card-info { padding: .45rem .4rem .12rem; }
  .retail-family { margin-block-end: .13rem; font-size: .77rem; }
  .collection .card-info h3 { font-size: clamp(1.85rem,8.4vw,2.7rem); }
  .collection .card-info p { margin-block-start: .1rem; font-size: .98rem; }
  .collection .card-art { min-height: 0; height: auto; aspect-ratio: 1.13; }
  .gallery-print { min-block-size: 0; }
  .collection .card-shop {
    flex-direction: row; justify-content: space-between; align-items: center !important;
    margin: .35rem .4rem .7rem; padding: 0; border: 0;
  }
  .collection .card-shop .shop-price { display: grid; gap: 0; }
  .collection .card-shop .shop-buy { width: auto; min-width: 6.4rem; min-height: 2.8rem; }
}
@media (max-width:340px) {
  .retail-choice { flex-basis: 7.2rem; }
  .gallery-switch button { padding-inline: .59rem; }
}
@media (prefers-reduced-motion:no-preference) {
  .shop-selection-arrived .card-art {
    animation: shop-photo-arrive .38s cubic-bezier(.2,.7,.25,1) both;
  }
  .shop-selection-arrived .card-info > div {
    animation: shop-details-arrive .31s .07s cubic-bezier(.2,.7,.25,1) both;
  }
  @keyframes shop-photo-arrive { from { opacity: .55; transform: translateY(.22rem) scale(.985); } to { opacity: 1; transform: none; } }
  @keyframes shop-details-arrive { from { opacity: .55; transform: translateY(.27rem); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion:reduce) {
  .collection .gallery-print img,.collection .retail-pack img { transition: none; }
}
/* The same small, on-demand 3D stage moves between the seven framed prints. */
.gallery-inspector {
  position: absolute;
  z-index: 4;
  inset: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  direction: inherit;
  color: var(--shop-ink);
  color-scheme: light;
}
html[dir="rtl"] .collection .gallery-inspector { direction: rtl; }
.gallery-inspector:is([data-state="webgl"], [data-state="canvas"]) {
  background:
    radial-gradient(ellipse at 75% 95%,color-mix(in srgb,var(--card-light) 20%,#a1dcdf),transparent 60%),
    radial-gradient(ellipse at 27% 12%,#fff,transparent 75%),
    #d6eff2;
}
.inspect-viewport {
  position: relative;
  z-index: 0;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
  touch-action: pan-y pinch-zoom;
  outline: none;
}
.gallery-inspector:is([data-state="webgl"], [data-state="canvas"]) .inspect-viewport { cursor: grab; }
.gallery-inspector .inspect-viewport.is-grabbing { cursor: grabbing; }
.collection .inspect-viewport:focus-visible {
  outline: 2px solid var(--shop-focus);
  outline-offset: -4px;
}
.inspect-viewport canvas {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  visibility: hidden;
}
.gallery-inspector[data-state="webgl"] .inspect-gl,
.gallery-inspector[data-state="canvas"] .inspect-soft { visibility: visible; }
.inspect-hint {
  display: block;
  position: absolute;
  inset: auto auto .45rem;
  inset-inline-start: .5rem;
  max-width: calc(100% - 1rem);
  padding: .1rem .5rem;
  border-radius: .3rem;
  color: #153d51;
  background: #ffffffeb;
  font-size: .81rem;
  line-height: 1.5;
  pointer-events: none;
}
.inspect-buttons {
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  padding: .22rem;
  gap: .15rem;
  border-top: 1px solid #b2d1d8;
  background: #e5f2f4;
}
.inspect-buttons button, .inspect-buttons a {
  display: grid;
  place-items: center;
  min-height: 2.7rem;
  padding: .12rem .55rem;
  border: 1px solid transparent;
  border-radius: .25rem;
  background: transparent;
  color: #193a50;
  line-height: 1.5;
  font: inherit;
  font-size: .88rem;
  font-weight: 700;
}
.inspect-buttons a { margin-inline-start: auto; text-decoration: underline; text-underline-offset: .25em; }
.inspect-buttons :is(a, button):hover { background: #cde9e8; }
.inspect-buttons button:disabled { color: #586b75; cursor: default; }
.collection .inspect-buttons :is(a, button):focus-visible { outline: 2px solid var(--shop-focus); outline-offset: -2px; }

.retail-side { display: none; }
.product-card[data-media="side"] .gallery-print { visibility: hidden; }
.product-card[data-media="side"] .retail-side {
  position: absolute; inset: 0; display: grid;
  grid-template-rows: minmax(0,1fr) auto auto; gap: .35rem;
  margin: 0; padding: .6rem;
  background: linear-gradient(125deg,#ecf8f7,#cde6e8);
}
.retail-label-layout {
  display: grid;
  grid-template-columns: minmax(2.5rem,.53fr) minmax(0,1fr);
  grid-template-rows: minmax(0,1fr);
  gap: .55rem;
  min-height: 0;
}
.retail-label-layout .retail-rear-art {
  position: static;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  filter: drop-shadow(.22rem .35rem .35rem #26383045);
}
.retail-label-layout .retail-composition {
  align-self: center;
  max-height: 100%;
  padding: .25rem .4rem;
}
.retail-composition {
  align-self: stretch;
  margin: 0;
  padding: clamp(.65rem, 3.5vw, 2rem);
  overflow: auto;
  font-size: clamp(.9rem, 1.8vw, 1.14rem);
  line-height: 1.68;
  color: #123c4b;
}
.retail-composition [lang="ru"] { font-family: system-ui, sans-serif; }
.retail-side-open, .side-dialog button {
  justify-self: center; border: 1px solid #8aaeb3; border-radius: .55rem;
  padding: .28rem .75rem; background: #f7ffff; color: #153f50; cursor: pointer;
  font: 700 .94rem/1.55 var(--sans);
}
.side-credit { text-align: center; font-size: .8rem; line-height: 1.65; color: #33505e; }
.side-credit a { color: #15485c; text-decoration: underline; text-underline-offset: .12em; }
.side-dialog {
  position: fixed; inset: 0; margin: auto;
  width: min(43rem,calc(100% - 1.2rem));
  height: min(59rem,92vh); height: min(59rem,92dvh);
  max-width: none; max-height: none; overflow: hidden; padding: 0;
  color: #133b4d; border: 1px solid #87aeb6; border-radius: .9rem;
  background: #f3faf9; box-shadow: 0 1rem 5rem #11384158;
}
.side-dialog[open] { display: flex; flex-direction: column; }
.side-dialog::backdrop { background: #102835b8; }
body:has(.side-dialog[open]) { overflow: hidden; }
.side-dialog header, .side-dialog footer {
  display: flex; flex: none; align-items: center; justify-content: space-between;
  gap: .35rem .7rem; padding: .45rem .7rem;
}
.side-dialog h4 { margin: 0; font-size: 1rem; line-height: 1.5; }
.side-dialog button { flex: none; min-height: 44px; }
.side-dialog button[aria-pressed="true"] { color: white; background: #16545f; }
.side-dialog footer { flex-wrap: wrap; }
.side-dialog footer .side-credit { margin: 0; text-align: start; }
.side-dialog-content {
  flex: 1; min-width: 0; min-height: 0;
  overflow: auto; overscroll-behavior: contain; background: #d8e8e9;
}
.side-dialog-content .retail-composition { padding: clamp(1rem, 5vw, 2.75rem); font-size: 1.15rem; }
.side-dialog-content.large-text .retail-composition { font-size: clamp(1.33rem, 5vw, 1.62rem); }
.side-dialog-content:focus-visible { outline: 2px solid var(--shop-focus); outline-offset: -2px; }
