/* Стеклянный ассортимент и карточка цветка. */
#catalog {
  background: linear-gradient(180deg, #f8e5ed 0, #e2c9d4 180px, #d7bbc9 48%, #dcc3cf 100%);
}
#catalog::before {
  background: radial-gradient(ellipse at 8% 16%, #f6eee5ad, transparent 32%), radial-gradient(ellipse at 100% 42%, #b790ac50, transparent 34%), radial-gradient(ellipse at 18% 80%, #f4dbe38c, transparent 26%);
  filter: blur(18px);
}
#catalog::after {
  content: ''; display: block; position: absolute; top: 200px; left: -160px; width: 350px; height: 580px;
  background: url('../img/catalog/aster.webp') center/contain no-repeat; opacity: .14; filter: blur(22px); pointer-events: none;
}
#catAster { opacity: .24; width: min(64vw,560px); right: -20%; top: -55px; }
#catAster img { width: 100%; height: auto; display: block; }
#catalog .head { padding-right: 0; }
#catalog .head h2 { color: #654253; font-weight: 400; }
#catalog .head p { color: #957987; }
#catalog .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
#catalog .card.glass {
  position: relative; min-width: 0; padding: 8px; border-radius: 21px;
  border: 1px solid #ffffffb3;
  background: linear-gradient(125deg, #fffafc61, #fff9fc26 50%, #fff7f94f);
  backdrop-filter: blur(22px) saturate(1.12); -webkit-backdrop-filter: blur(22px) saturate(1.12);
  box-shadow: inset 1px 1px 1px #ffffffdb, inset -1px -1px 1px #ffffff7a, 0 9px 22px #70485a0e;
}
#catalog .card::before { content: ''; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(ellipse at 3% 0, #fff9, transparent 38%); opacity: .45; pointer-events: none; }
#catalog .card .open { padding: 0; width: 100%; position: relative; }
#catalog .card .ph { background: linear-gradient(150deg,#fffc,#fff1 72%); border-radius: 14px; box-shadow: inset 0 1px 0 #ffffff73; }
#catalog .card .ph img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 6px 5px #70465418); }
#catalog .card h3 { font-size: clamp(12px,3.4vw,16px); font-weight: 400; line-height: 1.22; margin: 10px 0 12px; min-height: 2.44em; color: #60354b; overflow-wrap: anywhere; }
.card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 2px; margin-top: auto; position: relative; }
.card-price { color: #6b3b50; font-size: clamp(11px,3.05vw,16px); font-weight: 500; white-space: nowrap; letter-spacing: -.025em; }
.card-price small { display: block; font-size: 8px; font-weight: 400; color: #8e7380; letter-spacing: 0; margin-top: 2px; }
.card-plus { width: 29px; height: 32px; flex: 0 0 29px; padding: 0; border-radius: 50%; color: #fff; font-size: 23px; font-weight: 300; border: 1px solid #ffffff6e; background: linear-gradient(135deg,#d9b1d1a1,#b786bea3); box-shadow: inset 0 1px 2px #fff7,0 3px 8px #895d8012; }
.card-plus:hover { background: #bd91bcb3; }
#nav.glass { border: 1px solid #ffffffc7; background: linear-gradient(135deg,#fff9fc78,#f8edf43d); backdrop-filter: blur(26px) saturate(1.18); -webkit-backdrop-filter: blur(26px) saturate(1.18); box-shadow: inset 1px 1px 2px #fffe,inset -1px -1px 2px #fff7,0 8px 24px #6e3f5721; }
#nav button[aria-current=true] { color: #8b5593; background: linear-gradient(135deg,#e7c4e26b,#d4aed150); box-shadow: inset 0 1px 0 #fff5; }
#pv { isolation: isolate; background: #dac2cd; }
.pv-scene { position: fixed; z-index: -1; inset: 0; overflow: hidden; pointer-events: none; background: radial-gradient(ellipse at 10% 10%,#eee1d4,transparent 60%),linear-gradient(140deg,#c2acb6,#ddbdc8 55%,#e9d5d9); }
.pv-scene img { position: absolute; width: 150%; height: 110%; left: -25%; top: -6%; object-fit: cover; opacity: .25; filter: blur(35px); }
#pv .back { border-radius: 17px; background: linear-gradient(140deg,#fff9,#fff2); border: 1px solid #fffc; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: inset 1px 1px 1px #fff,0 6px 20px #71526312; color: #fff; }
#pv .hero2 { position: relative; z-index: 0; height: min(43svh,420px); min-height: 235px; max-width: 700px; margin: 0 auto; padding: 24px 22px 0; }
#pv .hero2 img { max-width: 100%; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 16px 16px #6e44561f); }
#pv .hero2 figcaption { color: #715867; font-size: 10px; }
#pv .info.glass {
  position: relative; z-index: 1; width: calc(100% - 28px); max-width: 680px; margin: -25px auto 24px;
  min-height: auto; border-radius: 32px; padding: 24px 24px calc(26px + env(safe-area-inset-bottom,0px));
  background: linear-gradient(120deg,#fffafc6b,#fff5f83b 60%,#fff9fc61);
  border: 1px solid #ffffffad; backdrop-filter: blur(28px) saturate(1.12); -webkit-backdrop-filter: blur(28px) saturate(1.12);
  box-shadow: inset 1px 1px 1px #fffffff2,inset -1px -1px 1px #ffffff9c,0 20px 45px #76536512;
  animation: none;
}
#pv .info h2 { color: #55434b; font-size: clamp(35px,9vw,46px); line-height: 1; font-weight: 400; letter-spacing: -.02em; margin-bottom: 16px; }
#pv .product-description { font-size: 13px; color: #76666e; line-height: 1.5; }
#pv .care { font-size: 11px; line-height: 1.6; color: #87747e; margin: 14px 0 20px; }
#pv .product-unit-price { display: flex; align-items: baseline; gap: 8px; margin: 20px 0; padding-top: 18px; border-top: 1px solid #86687824; color: #75445d; font-size: 25px; font-weight: 400; }
.product-unit-price small { font-size: 12px; color: #957787; font-weight: 400; }
#pv .info h4 { font-size: 14px; font-weight: 500; color: #6a525e; }
.variant-options { display: flex; flex-wrap: wrap; gap: 8px; }
.variant-options button { padding: 9px 14px; min-height: 45px; border: 1px solid #ffffffc4; border-radius: 15px; background: linear-gradient(140deg,#fff7,#fff2); box-shadow: inset 0 1px 1px #fff9; font-size: 12px; color: #785566; }
.variant-options button small { display: block; font-size: 10px; opacity: .72; margin-top: 3px; }
.variant-options button[aria-pressed=true] { border-color: #fff; background: linear-gradient(140deg,#ebc3d5aa,#d4b4d273); box-shadow: inset 0 0 0 1px #fff9,0 4px 12px #87587614; }
#pv .sw { gap: 10px; padding: 3px; }
#pv .sw button { width: 38px; height: 38px; border: 2px solid #ffffffba; box-shadow: inset 0 1px 3px #ffffffb0,0 3px 8px #67485b1c; }
#pv .sw button[aria-pressed=true] { outline: 2px solid #fff; outline-offset: 3px; }
.card-quantity { display: flex; align-items: center; justify-content: space-between; background: linear-gradient(120deg,#fff7,#fff3); border: 1px solid #ffffffb8; border-radius: 22px; overflow: hidden; box-shadow: inset 0 1px 1px #fffc; }
.card-quantity button { width: 42px; min-height: 42px; flex-shrink: 0; font-size: 20px; color: #79556b; }
.card-quantity button:disabled { opacity: .3; cursor: default; }
.card-quantity output { font-size: 14px; font-variant-numeric: tabular-nums; color: #6d4c60; }
.product-quantity-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 24px 0; padding: 18px 0; border-block: 1px solid #86687824; }
.product-quantity-row h4 { margin: 0; }
.product-quantity-row .card-quantity { width: 140px; flex-shrink: 0; }
#pv .svc { background: linear-gradient(130deg,#fff7,#fff3); border: 1px solid #ffffffac; box-shadow: inset 0 1px 1px #fffa; min-height: 50px; font-size: 12px; padding: 6px 7px 6px 14px; color: #705764; }
#pv .svc > span:last-child { display: flex; gap: 8px; align-items: center; color: #998290; white-space: nowrap; }
#pv .svc b { width: 34px; height: 34px; border: 1px solid #ffffffab; background: linear-gradient(140deg,#fffc,#fff5); box-shadow: inset 0 1px 2px #fff,0 3px 9px #87546e10; color: #785368; border-radius: 50%; font-size: 22px; font-weight: 300; }
#pv .svc[aria-pressed=true] { background: linear-gradient(120deg,#edc7d9a3,#fff5); border-color: #fff; }
#pv .packs { gap: 7px; padding: 10px 7px; border: 1px solid #fff9; border-radius: 21px; background: #fff2; }
#pv .packs button { border-radius: 14px; padding: 3px; font-size: 9px; background: #ffffff24; font-weight: 400; }
#pv .packs i { height: 74px; }
#pv .packs button[aria-pressed=true] { border-color: #fff; background: #ecc2df59; box-shadow: 0 5px 14px #b280ae26; }
#pv .packs button[aria-pressed=true]:after { background: #fff; color: #ad79a1; border-radius: 50%; width: 20px; height: 20px; display: grid; place-items: center; top: 55px; right: 4px; }
#pv .slide {
  --slide-progress: 0; position: relative; height: 64px; width: 100%; overflow: hidden; border-radius: 30px; margin: 26px 0 0;
  background: linear-gradient(110deg,#ddb5d270,#c783bcab 52%,#ead3e790); border: 1px solid #ffffffe0;
  box-shadow: inset 1px 2px 4px #fff9,inset -1px -1px 3px #fff8,0 10px 25px #9c608826;
  touch-action: pan-y; user-select: none;
}
#pv .slide::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg,#b877a833,#b276ae73); transform: scaleX(var(--slide-progress)); transform-origin: left; pointer-events: none; }
#pv .slide .slide-label { position: absolute; inset: 0 66px 0 61px; padding: 0; display: grid; place-items: center; font-size: 12px; font-weight: 400; color: #fff; white-space: nowrap; transition: opacity .2s; }
#pv .slide .slide-price { position: absolute; inset: 0 12px 0 auto; display: flex; align-items: center; padding: 0; font-size: 12px; font-weight: 400; color: #fff; white-space: nowrap; transition: opacity .2s; }
#pv .slide .slide-thumb { position: absolute; z-index: 2; left: 5px; top: 5px; width: 52px; height: 52px; display: grid; place-items: center; padding: 0; border-radius: 24px; border: 1px solid #fff; background: linear-gradient(140deg,#ffffff8c,#ffffff33); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: inset 1px 1px 2px #fff,0 4px 16px #94608021; color: #fff; touch-action: none; transition: transform .3s ease; }
#pv .slide-thumb svg { width: 27px; height: 27px; }
#pv .slide.is-dragging .slide-thumb { transition: none; }
#pv .slide.is-dragging .slide-label, #pv .slide.is-dragging .slide-price { opacity: calc(1 - var(--slide-progress)); }
#pv .slide.is-complete .slide-label { inset-inline: 12px 68px; }
#pv .slide.is-complete .slide-price { opacity: 0; }
.slide-hint { text-align: center; font-size: 9px; color: #917685; padding-top: 5px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.delivery-total { display: flex; justify-content: space-between; padding-top: 18px; color: var(--mute); font-size: 14px; }
.item > div { min-width: 0; }
.item .qty { flex-wrap: wrap; }
.item .qty .rm { padding: 0 10px; }
@media (min-width: 700px) {
  #catalog .wrap { max-width: 1000px; }
  #catalog .grid { gap: 20px; }
  #catalog .card.glass { padding: 15px; border-radius: 30px; }
  #catalog .card .ph { border-radius: 22px; }
  #catalog .card h3 { font-size: 20px; margin: 16px 0; }
  .card-price { font-size: 20px; }
  .card-price small { font-size: 11px; }
  .card-plus { width: 45px; height: 45px; flex-basis: 45px; font-size: 28px; }
  #pv .info.glass { padding: 32px 38px; }
  #pv .slide .slide-label, #pv .slide .slide-price { font-size: 17px; }
  #pv .slide .slide-label { right: 90px; }
}
@media (max-width: 359px) {
  #catalog { padding-inline: 10px; }
  #catalog .grid { gap: 7px; }
  #catalog .card.glass { padding: 6px; border-radius: 17px; }
  #catalog .card h3 { font-size: 11px; }
  .card-price { font-size: 10px; }
  .card-plus { width: 25px; height: 28px; flex-basis: 25px; font-size: 21px; }
  #pv .info.glass { width: calc(100% - 20px); padding: 22px 16px; }
  #pv .slide .slide-label { font-size: 10px; right: 59px; }
  #pv .slide .slide-price { font-size: 10px; right: 9px; }
  .product-quantity-row .card-quantity { width: 128px; }
}

/* Неброский вход для команды салона и получение заказа. */
.management-footer{text-align:center;padding:24px 16px 12px;background:transparent}
.management-footer a{color:#8b6c7b;font-size:11px;font-weight:400;text-decoration:none;opacity:.66;display:inline-flex;align-items:center;min-height:44px}
.management-footer a:hover,.management-footer a:focus-visible{opacity:1;text-decoration:underline}
#orderForm select{width:100%;padding:14px;border:1px solid #fff9;border-radius:14px;background:#fff6;font:inherit;color:inherit}
#slotHint{font-size:12px;color:#806b79;line-height:1.5}
#result[role=alert]{color:#8f3458;margin-top:14px;line-height:1.5}
#catalog .sold-out .ph{opacity:.45}#catalog .sold-out button{cursor:default}.stock-label{display:block;font-size:10px;color:#886372;margin-top:8px}
.order-received{text-align:center;display:grid;gap:16px;padding:24px 0}.order-received>span{font-size:32px;color:#8d618a}.order-received h3{font-family:Georgia,serif;font-size:27px;font-weight:400}.order-received p{font-size:14px;color:#806b79;line-height:1.6}.order-received .btn{margin-top:8px}
