/* Product card additions */

.pcard {
  position: relative;
}

.pcard__link {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.pcard__img-wrap .pcard__img--alt {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .5s var(--ease), transform .6s var(--ease);
}

@media (hover: hover) {
  .pcard:hover .has-alt .pcard__img--alt { opacity: 1; transform: scale(1.05); }
}

.pcard__badges {
  position: absolute;
  top: 60px;
  left: 16px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.pcard__badge {
  font-size: 13px;
  padding: 6px 12px;
  font-weight: 600;
}

.pcard__wish {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 3;
  width: 48px;
  height: 48px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 0;
  color: var(--ink);
  cursor: pointer;
}

.pcard__wish svg {
  width: 20px;
  height: 20px;
  transition: transform .25s var(--ease);
}

.pcard__wish.is-on {
  color: var(--accent);
}

.pcard__wish.is-on svg {
  fill: currentColor;
}

@media (hover: hover) {
  .pcard__wish:hover svg { transform: scale(1.15); }
}

.pcard__prices {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.price-old {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 13px;
  color: var(--muted);
}

/* Header wish button */

.nav__btn-wish {
  position: relative;
  width: 48px;
  height: 48px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .85);
  color: var(--ink);
  cursor: pointer;
}

.nav__btn-wish svg {
  width: 20px;
  height: 20px;
}

.nav__btn-wish .cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 18px;
  height: 18px;
  font-size: .7rem;
}

.cart-badge.is-hidden {
  display: none;
}

/* Product page */

.product-info__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-info__top .pcard__wish {
  position: static;
}

.product-info__price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.product-info__price-row .price-old {
  font-size: 18px;
}

.product-info__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sizes-hint--link {
  background: none;
  border: 0;
  padding: 0 4px;
  min-height: 48px;
  cursor: pointer;
}

.size-chip.is-out {
  color: var(--muted);
  text-decoration: line-through;
  background: var(--surface);
  cursor: not-allowed;
  opacity: .6;
}

.trust-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.trust-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-ui);
  font-size: 13px;
  color: var(--muted);
}

.trust-list svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--ink);
}

.cart-footer .trust-list {
  margin: 0 0 16px;
}

.thermo {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.thermo__label {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
}

.thermo__bar {
  position: relative;
  height: 8px;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}

.thermo__fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  border-radius: 999px;
  background: var(--ink);
}

.thermo__mark {
  position: absolute;
  top: 50%;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--accent);
}

.thermo__scale {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-ui);
  font-size: 13px;
  color: var(--muted);
}

/* Frost picker */
.frost { padding-block: var(--section-pad); }
.frost__box { padding: clamp(20px, 3vw, 36px); border-radius: 28px; background: var(--surface); }
.frost__box .section-header-row { margin-bottom: 6px; }
.frost__sub { margin: 0 0 22px; font-family: var(--font-ui); font-size: 15px; color: var(--muted); }
.frost__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.frost-card {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 88px;
  padding: 0 14px 0 20px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 8px 24px rgba(0, 0, 0, .06);
  color: var(--ink);
  text-decoration: none;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), scale .15s var(--ease);
}
.frost-card:active { scale: .98; }
.frost-thermo { width: 14px; height: 48px; flex-shrink: 0; color: var(--accent); }
.frost-thermo .t-out { fill: none; stroke: var(--ink); stroke-width: 1.5; }
.frost-card__text { display: flex; flex-direction: column; gap: 4px; flex: 1 1 auto; min-width: 0; }
.frost-card__temp { font-family: var(--font-display); font-size: 34px; line-height: 1; }
.frost-card__label { font-family: var(--font-ui); font-weight: 600; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.frost-card__go { width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; background: #111; color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.frost-card__go svg { width: 18px; height: 18px; }
@media (hover: hover) {
  .frost-card:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(0, 0, 0, .05), 0 14px 32px rgba(0, 0, 0, .09); }
}
@media (max-width: 900px) {
  .frost__grid { grid-template-columns: 1fr; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) { .frost-card { transition: none; } .frost-card:active { scale: 1; } }

/* Reviews */

.reviews {
  padding-block: var(--section-pad);
}

.reviews[hidden] {
  display: none;
}

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.review {
  margin: 0;
  padding: 24px 28px;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.review blockquote {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
}

.review figcaption {
  font-family: var(--font-ui);
  font-size: 13px;
  color: var(--muted);
}

.review figcaption strong {
  color: var(--ink);
}

/* Help pill */

.help-fab {
  position: fixed;
  left: max(16px, env(safe-area-inset-left));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 70;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: opacity .3s var(--ease);
}

.help-fab.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.help-fab--lifted {
  bottom: calc(88px + env(safe-area-inset-bottom));
}

@media (min-width: 769px) { .help-fab--lifted { bottom: max(16px, env(safe-area-inset-bottom)); } }

.help-fab__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 20px 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, .08);
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .15);
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 15px;
  color: #111;
  cursor: pointer;
}

.help-fab__dot {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22C55E;
  flex-shrink: 0;
}

.help-fab__dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #22C55E;
  animation: helpPulse 2s ease-out infinite;
}

@keyframes helpPulse {
  0% { transform: scale(1); opacity: .5; }
  100% { transform: scale(2.8); opacity: 0; }
}

.help-fab__menu {
  display: flex;
  flex-direction: column;
  padding: 6px;
  border-radius: 24px;
  border: 1px solid rgba(0, 0, 0, .08);
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .15);
}

.help-fab__menu[hidden] {
  display: none;
}

.help-fab__item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 20px 0 14px;
  border-radius: 999px;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 15px;
  color: #111;
  text-decoration: none;
}

.help-fab__item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

@media (hover: hover) {
  .help-fab__item:hover { background: rgba(0, 0, 0, .06); }
}

@media (prefers-reduced-motion: reduce) {
  .help-fab__dot::after { animation: none; }
}

/* Wishlist drawer */

.wish-panel {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
}

.wish-list {
  list-style: none;
  margin: 0;
  padding: 8px 24px 24px;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wish-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.wish-item__img {
  width: 72px;
  height: 96px;
  flex-shrink: 0;
  border-radius: 16px;
  background-size: cover;
  background-position: center;
}

.wish-item__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--ink);
  text-decoration: none;
  min-width: 0;
}

.wish-item__name {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 15px;
}

.wish-item__price {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 14px;
}

.wish-item__remove {
  position: static;
  flex-shrink: 0;
}

.wish-empty {
  font-family: var(--font-ui);
  font-size: 15px;
  color: var(--muted);
  padding: 24px 0;
}

/* Size modal */

.size-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 1001;
  width: min(880px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  padding: 40px 40px 32px;
  border-radius: 32px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .2);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -46%);
  transition: opacity .3s var(--ease), transform .4s var(--ease);
}

.size-modal.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%);
}

.size-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
}

.size-modal__title {
  margin: 0 0 6px;
  font-size: clamp(24px, 4vw, 34px);
}

.size-modal__sub {
  margin: 0 0 20px;
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: 15px;
  color: var(--muted);
}

.size-tabs {
  display: inline-flex;
  margin-bottom: 24px;
}

.size-pane[hidden] {
  display: none;
}

.size-calc {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 32px;
  align-items: start;
}

.size-figure {
  width: 160px;
  height: auto;
  color: var(--ink);
}

.size-calc__right {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.size-calc__fields {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.size-calc__fields label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--font-ui);
  font-size: 14px;
  color: var(--muted);
}

.size-calc__fields b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 11px;
}

.size-calc__fields .form-input {
  min-height: 56px;
  font-size: 18px;
}

.size-result {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-height: 120px;
}

.size-result__num {
  font-family: var(--font-display);
  font-size: 96px;
  line-height: 1;
  color: var(--ink);
  animation: sizePop .4s var(--ease);
}

@keyframes sizePop { from { transform: translateY(12px) scale(.9); opacity: 0; } to { transform: none; opacity: 1; } }

.size-result__label {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 14px;
  color: var(--muted);
}

.size-result__note {
  margin: 0;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
}

.size-tip {
  margin: 24px 0 0;
  font-family: var(--font-ui);
  font-size: 14px;
  color: var(--muted);
}

.size-table-wrap {
  max-height: 360px;
  overflow-y: auto;
  border-radius: 16px;
  border: 1px solid var(--line);
}

.size-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-ui);
  font-size: 15px;
  text-align: center;
}

.size-table th, .size-table td {
  padding: 12px 8px;
}

.size-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #fff;
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
  box-shadow: 0 1px 0 var(--line);
}

.size-table tbody tr:nth-child(even) {
  background: var(--surface);
}

.size-table tbody tr.is-out {
  color: var(--muted);
  opacity: .55;
}

.size-table tbody tr.is-hit {
  background: #111;
  color: #fff;
  opacity: 1;
}

@media (max-width: 700px) {
  .size-modal {
    top: 16px;
    left: 0;
    width: 100vw;
    max-height: none;
    height: calc(100dvh - 16px);
    padding: 32px 20px 24px;
    border-radius: 28px 28px 0 0;
    transform: translateY(100%);
  }
  .size-modal.is-active { transform: none; }
  .size-calc { grid-template-columns: 1fr; gap: 20px; }
  .size-figure { width: 96px; }
  .size-result__num { font-size: 80px; }
}

/* Temperature segment */

/* Fly to cart */

.fly-thumb {
  position: fixed;
  z-index: 1100;
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .pcard__img--alt, 
}

/* Delivery page */

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.info-card {
  background: var(--surface);
  border-radius: 24px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  height: 100%;
}

.info-card p {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
}

.info-card__title {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 26px;
}

.faq {
  max-width: 760px;
  margin-bottom: 0;
}

.faq .section-title {
  margin-bottom: 20px;
}



@media (max-width: 800px) { .info-grid { grid-template-columns: 1fr; } }

/* Accordion (native details) */

.acc__item {
  border-bottom: 1px solid var(--line);
}

.acc__item:first-child {
  border-top: 1px solid var(--line);
}

.acc__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  list-style: none;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  cursor: pointer;
}

.acc__btn::-webkit-details-marker {
  display: none;
}

.acc__btn::after {
  content: "+";
  flex-shrink: 0;
  font-weight: 400;
  font-size: 24px;
  line-height: 1;
}

.acc__item[open] > .acc__btn::after {
  content: "\00d7";
}

.faq-a {
  padding: 0 0 16px;
  font-family: var(--font-ui);
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

.faq-a p {
  margin: 0 0 8px;
}

.faq-a a {
  color: var(--ink);
}

.acc__item[open] > .faq-a {
  animation: faqIn .25s var(--ease);
}

@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) { .acc__item[open] > .faq-a { animation: none; } }

/* How to order */

.how {
  padding-block: var(--section-pad);
}

.how__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.how-step {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
  border-radius: 24px;
  background: var(--surface);
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.4;
}

.how-step svg {
  width: 36px;
  height: 36px;
  color: var(--ink);
}

@media (max-width: 800px) { .how__grid { grid-template-columns: 1fr; gap: 12px; } .how-step { flex-direction: row; align-items: center; padding: 20px 24px; } }

/* Footer extras */

.footer__social {
  display: flex;
  gap: 10px;
  margin-left: 0;
}

.footer__social-link {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .75);
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 50%;
  transition: background-color .25s var(--ease), color .25s var(--ease);
}

.footer__social-link svg {
  width: 22px;
  height: 22px;
}

@media (hover: hover) { .footer__social-link:hover { color: #fff; } }

.footer__seller {
  margin: 0 0 8px;
  font-family: var(--font-ui);
  font-size: 13px;
  color: rgba(255, 255, 255, .62);
}

@media (max-width: 900px) { .footer__social { margin-left: 0; justify-content: center; } }

/* Delivery info in cart form, trust link */

.delivery-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: -4px 0 8px;
  font-family: var(--font-ui);
  font-size: 13px;
  color: var(--muted);
}

.delivery-info p {
  margin: 0;
}

.delivery-info__link, .trust-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 13px;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.trust-link {
  margin-top: 4px;
}

/* About product */

.about {
  margin-top: 8px;
}

.about__title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 24px;
}

/* Gallery video + model */

.gallery__main {
  position: relative;
}

.gallery__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
  background: #EFEFED;
}

.gallery__main.has-video .gallery__video {
  display: block;
}

.gallery__play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, .92);
  color: #111;
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .2);
}

.gallery__play[hidden] {
  display: none;
}

.gallery__main:not(.has-video) .gallery__play {
  display: none;
}

.gallery__thumb--video {
  position: relative;
}

.gallery__thumb--video span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .5);
}

.gallery__model {
  margin: 12px 0 0;
  font-family: var(--font-ui);
  font-size: 14px;
  color: var(--muted);
}

/* Cards: no blur on repeated glass */

.pcard .glass--chip, .pcard .glass--panel {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: rgba(255, 255, 255, .85);
}

.size-modal, .help-fab__menu, .help-fab__btn {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

@media (hover: none) {
  .map:not(.is-active) iframe { pointer-events: none; }
}

/* Footer redesign */

.footer {
  overflow: hidden;
  padding: 72px 0 0;
}

.footer__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 48px;
  margin-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.footer__cta-title {
  margin: 0;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.1;
  color: #fff;
  text-align: left;
}

.footer__cta-title .t-serif {
  display: block;
}

.footer__cta-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: transform .25s var(--ease), background-color .25s var(--ease);
}

.footer__btn--white {
  background: #fff;
  color: #111;
}

.footer__btn--glass {
  background: rgba(255, 255, 255, .1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .25);
}

@media (hover: hover) {
  .footer__btn--white:hover { transform: translateY(-2px); }
  .footer__btn--glass:hover { background: rgba(255, 255, 255, .18); }
}

.footer .footer__grid {
  grid-template-columns: 1.1fr 1.2fr 1.2fr;
  gap: 40px;
  text-align: left;
  align-items: start;
  border-bottom: 0;
  padding-bottom: 32px;
}

.footer .footer__col-brand {
  align-items: flex-start;
}

.footer__navs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.footer__head {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .62);
}

.footer__shop {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 24px;
  border-radius: 24px;
  font-style: normal;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
}

.footer__shop .footer__link {
  color: #fff;
}

.footer__shop .footer__btn {
  margin-top: 8px;
}

@media (hover: hover) { .footer__social-link:hover { background: rgba(255, 255, 255, .12); color: #fff; } }

.footer__facts {
  margin: 0;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-family: var(--font-ui);
  font-size: 13px;
  color: rgba(255, 255, 255, .62);
}

.footer .footer__bottom {
  padding-top: 0;
  text-align: left;
  padding-bottom: 8px;
}

.footer__bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer__top {
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .25);
  background: transparent;
  color: #fff;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

@media (hover: hover) { .footer__top:hover { background: rgba(255, 255, 255, .12); } }

.footer__wordmark {
  display: block;
  margin-top: 24px;
  height: .62em;
  overflow: hidden;
  white-space: nowrap;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(48px, 13vw, 180px);
  line-height: 1;
  color: rgba(255, 255, 255, .05);
  user-select: none;
  pointer-events: none;
  clear: both;
  margin: 16px 0 20px;
}

@media (max-width: 900px) {
  .footer .footer__grid { grid-template-columns: 1fr; gap: 28px; text-align: left; }
  .footer .footer__col-brand { align-items: flex-start; }
  .footer__cta-btns, .footer__shop .footer__btn { width: 100%; }
  .footer__cta-btns .footer__btn { flex: 1 1 100%; }
  .footer__social { justify-content: flex-start; }
}

.footer__cta-title .t-serif, .footer__cta-title strong {
  display: block;
  margin: 0;
  padding: 0;
  text-indent: 0;
  text-align: left;
}

/* Delivery page v2 */

.page-sub {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 16px;
  color: var(--muted);
}

.info-card__icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  margin-bottom: 8px;
}

.info-card__icon svg {
  width: 24px;
  height: 24px;
  color: var(--ink);
}


.info-card a {
  color: var(--ink);
}

.pickup {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 24px;
  padding: 32px;
  margin-bottom: clamp(40px, 5vw, 64px);
  border-radius: 24px;
  background: rgba(17, 17, 17, .94);
  color: #fff;
}

.pickup__title {
  margin: 0 0 8px;
  font-size: 30px;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 400;
}

.pickup__addr {
  font-style: normal;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.2;
}

.pickup__note {
  margin: 6px 0 0;
  font-family: var(--font-ui);
  font-size: 14px;
  color: rgba(255, 255, 255, .62);
}

.pickup__btns, .faq-aside__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) 1fr;
  gap: 40px;
  align-items: start;
  padding-bottom: var(--section-pad);
}

.faq-aside {
  position: sticky;
  top: 120px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  border-radius: 24px;
  background: rgba(17, 17, 17, .94);
  color: #fff;
}

.faq-aside[hidden] {
  display: none;
}

.faq-aside__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 26px;
}

.faq-aside p {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 14px;
  color: rgba(255, 255, 255, .62);
}

@media (max-width: 900px) { .faq-layout { grid-template-columns: 1fr; } .faq-aside { position: static; } .pickup__btns .footer__btn { flex: 1 1 100%; } }

.catalog-empty__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.catalog-empty__actions [hidden] {
  display: none;
}

/* Filter bar alignment */

.filter-bar {
  align-items: center;
  gap: 12px;
  padding: 12px;
  flex-wrap: wrap;
  justify-content: space-between;
  overflow: visible;
  border-radius: 32px;
}

.filter-bar .seg-control {
  flex-shrink: 0;
  height: 48px;
  align-items: center;
  padding: 4px;
}

.seg-btn {
  color: rgba(17, 17, 17, .7);
  min-height: 40px;
  height: 40px;
  font-size: 14px;
  font-weight: 600;
  padding: 0 17px;
}

.seg-btn.is-active {
  color: #fff;
  background: linear-gradient(rgba(34, 34, 34, .94), rgba(8, 8, 8, .9));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 6px 16px rgba(0, 0, 0, .18);
}

.filter-select {
  flex-shrink: 0;
  height: 48px;
  font-size: 14px;
  font-weight: 600;
  min-height: 48px;
}

/* Filter bar v3 */

.filter-bar__groups, .filter-bar__selects {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.filter-bar__selects {
  margin-left: auto;
}

.seg-control.is-ready .seg-btn.is-active {
  background: transparent;
  box-shadow: none;
}

.seg-thumb {
  background: linear-gradient(rgba(34, 34, 34, .94), rgba(8, 8, 8, .9));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 6px 16px rgba(0, 0, 0, .18);
}

@media (max-width: 1199px) {
  .filter-bar__groups, .filter-bar__selects { flex: 1 1 100%; justify-content: space-between; margin-left: 0; }
}

@media (max-width: 700px) {
  .filter-bar { flex-wrap: nowrap; overflow-x: auto; border-radius: 999px; justify-content: flex-start; }
  .filter-bar__groups, .filter-bar__selects { display: contents; }
}

/* Delivery v3 */

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  font-family: var(--font-ui);
  font-size: 14px;
  color: var(--ink);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 4px;
  width: 6px;
  height: 11px;
  border: solid var(--ink);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.info-card__call {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  text-decoration: none;
}

.info-card__call[hidden] {
  display: none;
}

@media (hover: hover) { .info-card__call:hover { text-decoration: underline; } }

.steps {
  margin-bottom: clamp(40px, 5vw, 64px);
}

.steps__title {
  margin: 0 0 24px;
  font-size: clamp(24px, 3vw, 32px);
}

.steps__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.steps__item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.steps__num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 16px;
}

.steps__text {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.4;
  max-width: 260px;
}

.steps__item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 20px;
  left: 52px;
  right: -12px;
  height: 1px;
  background: rgba(0, 0, 0, .15);
}

@media (max-width: 700px) {
  .steps__list { grid-template-columns: 1fr; gap: 20px; }
  .steps__item { flex-direction: row; align-items: center; }
  .steps__item:not(:last-child)::after { top: 48px; bottom: -20px; left: 19.5px; right: auto; width: 1px; height: auto; }
}

.pickup__icon {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .25);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3);
}

.pickup__icon svg {
  width: 28px;
  height: 28px;
}

.pickup__text {
  flex: 1 1 280px;
}

.faq__count {
  margin: -12px 0 20px;
  font-family: var(--font-ui);
  font-size: 14px;
  color: var(--muted);
}

body.page-delivery .help-fab {
  display: none;
}

.seg-control {
  isolation: isolate;
}

@media (max-width: 700px) { .filter-bar > .seg-control, .filter-bar > .filter-select { position: relative; z-index: 1; } }

/* ===== Visual polish ===== */
::selection { background: var(--accent); color: #fff; }
html { scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, .28) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(0, 0, 0, .25); border-radius: 999px; border: 2px solid transparent; background-clip: content-box; }
.footer :focus-visible, .pickup :focus-visible, .faq-aside :focus-visible { outline-color: #fff; }

.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 101; background: var(--accent); transform: scaleX(0); transform-origin: left; pointer-events: none; }

.is-offscreen, .is-offscreen * { animation-play-state: paused !important; }
.hero__price-card, .hero__loc-card { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(255, 255, 255, .82); }

/* Product cards */
.pcard__img-wrap { box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 6px 16px rgba(0, 0, 0, .05), 0 18px 40px rgba(0, 0, 0, .05); }
.pcard__link, .pcard__wish { transition: transform .35s var(--ease); }
.pcard__photo { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity .5s var(--ease); }
.pcard__photo.is-loaded { opacity: 1; }
.pcard__img { position: relative; }
@media (hover: hover) {
  .pcard:hover .pcard__link, .pcard:hover .pcard__wish { transform: translateY(-4px); }
  .pcard:hover .pcard__img-wrap { box-shadow: 0 2px 4px rgba(0, 0, 0, .05), 0 12px 28px rgba(0, 0, 0, .08), 0 28px 56px rgba(0, 0, 0, .08); }
}

/* Underline that grows from the left */
.footer__link, .contacts-link-item, .faq-a a, .info-card a, .trust-link, .delivery-info__link { position: relative; text-decoration: none; }
.footer__link::before, .contacts-link-item::before, .faq-a a::before, .info-card a::before, .trust-link::before, .delivery-info__link::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
@media (hover: hover) {
  .footer__link:hover::before, .contacts-link-item:hover::before, .faq-a a:hover::before, .info-card a:hover::before, .trust-link:hover::before, .delivery-info__link:hover::before { transform: scaleX(1); }
}
.trust-link::before, .delivery-info__link::before, .faq-a a::before { transform: scaleX(1); opacity: .35; }
.footer__shop .footer__link::before { bottom: 12px; }

/* Section dividers */
.collections, .frost, .how, .reviews, .contacts-section { position: relative; }
.collections::before, .frost::before, .how::before, .reviews::before, .contacts-section::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  width: min(calc(100% - 32px), 1184px);
  height: 1px;
  transform: translateX(-50%);
  background: var(--line);
}
.collections::after, .frost::after, .how::after, .reviews::after, .contacts-section::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 50%;
  width: 7px;
  height: 7px;
  background: var(--accent);
  transform: translateX(-50%) rotate(45deg);
  box-shadow: 0 0 0 8px var(--bg);
}

/* Buttons press */
.btn, .footer__btn, .size-chip, .seg-btn, .footer__top { transition: scale .15s var(--ease), background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease); }
.btn:active, .footer__btn:active, .size-chip:active, .footer__top:active { scale: .98; }
@media (prefers-reduced-motion: reduce) { .pcard__link, .pcard__wish, .pcard__photo, .scroll-progress { transition: none !important; } .btn:active, .footer__btn:active { scale: 1; } }

/* Close button: centered cross */
.drawer__close-btn { position: relative; font-size: 0; line-height: 0; padding: 0; }
.drawer__close-btn::before, .drawer__close-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 2px;
  margin: -1px 0 0 -9px;
  border-radius: 2px;
  background: var(--ink);
}
.drawer__close-btn::before { transform: rotate(45deg); }
.drawer__close-btn::after { transform: rotate(-45deg); }
.drawer__close-btn.size-modal__close { position: absolute; top: 16px; right: 16px; }

/* Scroll progress: compositor-driven where supported (smooth on phones) */
.scroll-progress { will-change: transform; }
@keyframes scrollProgress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@supports (animation-timeline: scroll()) {
  .scroll-progress.is-native { animation: scrollProgress linear both; animation-timeline: scroll(root block); }
}

/* Touch: no tap delay, no grey flash */
a, button, summary, select, label, [role="button"] { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
@media (hover: none) {
  .pcard:active .pcard__link { transform: scale(.985); }
  .bento-card:active, .frost-card:active { scale: .985; }
}

/* Photos are requested only when CONFIG.HAS_PHOTOS is true */
.has-photos .hero__ken-burns { background: url("../img/hero.jpg") center/cover no-repeat, linear-gradient(160deg, #EFEFED, #C9C9C4); }
.has-photos .bento-card--1 .bento-card__bg { background-image: url("../img/cat-puhovyk.jpg"); }
.has-photos .bento-card--2 .bento-card__bg { background-image: url("../img/cat-palto.jpg"); }
.has-photos .bento-card--3 .bento-card__bg { background-image: url("../img/cat-kurtka.jpg"); }

/* Digits in Prata look like letters: use Montserrat */
.num { font-family: var(--font-ui); font-weight: 500; letter-spacing: 0; }
.frost-card__temp .num { font-size: .86em; font-weight: 600; }
.pickup__addr .num, .product-info__name .num { font-weight: 600; font-size: .9em; }

/* Card placeholders without photos */
.pcard__img-wrap, .pcard__img { background: var(--surface); }
.pcard__img::before { content: "\0404"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: clamp(72px, 12vw, 120px); line-height: 1; color: rgba(0, 0, 0, .06); pointer-events: none; }
.pcard__img--alt::before { display: none; }
.pcard__tag { display: block; max-width: calc(100% - 80px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pcard__material { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcard__sizes { margin-top: 0; font-size: 13px; }
.pcard__bottom { margin-top: 2px; }
@media (max-width: 768px) {
  .catalog-grid .pcard__name { min-height: calc(2 * 1.3em); }
}

/* Header: more solid once scrolled */
.header--scrolled .nav { background: rgba(255, 255, 255, .9); }

/* Hide the glass cursor highlight on big white panels (it looked like a ghost blob) */
.drawer::before, .size-modal::before { display: none; }

/* Footer links: real 44px tap area */
.footer__link { padding-block: 10px; min-height: 44px; }
.footer__col-nav { gap: 0; }
.footer__link::before { bottom: 9px; }
.footer__shop .footer__link::before { bottom: 9px; }

/* Hero note */
.hero__price-note { display: inline-flex; align-self: flex-start; margin-top: 8px; padding: 5px 10px; border-radius: 999px; background: rgba(0, 0, 0, .05); font-family: var(--font-ui); font-weight: 600; font-size: 12px; color: var(--ink); }

/* Sticky buy bar: cart button */
.sticky-cart { position: relative; width: 48px; height: 48px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; padding: 0; }
.sticky-cart svg { width: 22px; height: 22px; }
.sticky-cart__badge { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--accent); color: #fff; font-family: var(--font-ui); font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.sticky-cart__badge.is-hidden { display: none; }
.product-sticky-bar { gap: 12px; }

/* Added to cart sheet */
.added-overlay { position: fixed; inset: 0; z-index: 1100; background: rgba(17, 17, 17, .4); opacity: 0; pointer-events: none; transition: opacity .3s var(--ease); }
.added-overlay.is-active { opacity: 1; pointer-events: auto; }
.added-sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1101; padding: 8px 20px calc(20px + env(safe-area-inset-bottom)); background: #fff; border-radius: 28px 28px 0 0; box-shadow: 0 -10px 40px rgba(0, 0, 0, .12); transform: translateY(100%); visibility: hidden; transition: transform .35s var(--ease), visibility 0s .35s; }
.added-sheet.is-open { transform: none; visibility: visible; transition: transform .35s var(--ease); }
.added-sheet__handle { width: 44px; height: 5px; margin: 4px auto 16px; border-radius: 3px; background: rgba(0, 0, 0, .18); }
.added-sheet__item { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.added-sheet__thumb { width: 72px; height: 90px; flex-shrink: 0; border-radius: 16px; background-size: cover; background-position: center; background-color: var(--surface); }
.added-sheet__text { min-width: 0; }
.added-sheet__ok { margin: 0 0 4px; font-family: var(--font-ui); font-weight: 700; font-size: 13px; color: var(--accent); }
.added-sheet__name { margin: 0; font-family: var(--font-ui); font-weight: 700; font-size: 17px; line-height: 1.25; }
.added-sheet__size { margin: 4px 0 0; font-family: var(--font-ui); font-size: 14px; color: var(--muted); }
.added-sheet__btns { display: flex; flex-direction: column; gap: 10px; }
.added-sheet__btns .btn { width: 100%; min-height: 52px; }
@media (min-width: 769px) { .added-sheet, .added-overlay { display: none; } }
@media (prefers-reduced-motion: reduce) { .added-sheet, .added-overlay { transition: none; } }

/* Cart: hint, upsell, form total */
.cart-footer__hint { margin: 0 0 12px; font-family: var(--font-ui); font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.cart-upsell { padding: 6px 24px 14px; }
.cart-upsell[hidden] { display: none; }
.cart-upsell__title { margin: 0 0 8px; font-family: var(--font-ui); font-weight: 700; font-size: 14px; }
.cart-upsell__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cart-upsell__card { display: grid; grid-template-columns: 52px 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; min-width: 0; text-decoration: none; color: var(--ink); }
.cart-upsell__img { grid-row: 1 / 3; width: 52px; height: 66px; border-radius: 12px; background-color: var(--surface); background-size: cover; background-position: center; }
.cart-upsell__name { align-self: end; font-family: var(--font-ui); font-weight: 600; font-size: 12.5px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cart-upsell__price { align-self: start; margin-top: 2px; font-family: var(--font-ui); font-weight: 700; font-size: 12.5px; }
.form-total { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; font-family: var(--font-ui); font-size: 15px; }
.form-total strong { font-weight: 800; font-size: 20px; }
.form-submit-note { margin: 12px 0 0; font-family: var(--font-ui); font-size: 12.5px; line-height: 1.4; color: var(--muted); text-align: center; }
.order-summary-details summary { display: flex; align-items: center; justify-content: space-between; list-style: none; cursor: pointer; }
.order-summary-details summary::-webkit-details-marker { display: none; }
.order-summary-details summary::after { content: "+"; font-weight: 400; font-size: 24px; line-height: 1; }
.order-summary-details[open] summary::after { content: "\00d7"; }

/* Drawers fully opaque: page content must not ghost through */
.drawer, .cart-footer, .size-modal { background: #fff; }
.delivery-info__link { align-self: flex-start; }
