/* ========== Category → product-type flow (Ice Atelier) ========== */
.vento-type-flow{
  --vtf-surface: var(--cream, #F3F6F8);
  --vtf-ink: var(--text, #0A1220);
  --vtf-midnight: var(--midnight, #06101F);
  --vtf-muted: var(--muted, #546074);
  --vtf-cyan: var(--cyan, #00A8C1);
  --vtf-card: var(--surface, #fff);
  margin: 0 0 clamp(20px, 3vw, 28px);
  padding: clamp(16px, 2.5vw, 22px) 0 4px;
  border-block-end: 1px solid rgba(8, 20, 38, .08);
}

.vento-type-flow__head{
  margin-bottom: 14px;
}

.vento-type-flow__eyebrow{
  margin: 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--vtf-muted);
}

.vento-type-flow__context{
  margin: 4px 0 0;
  font-size: clamp(15px, 2.2vw, 18px);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--vtf-ink);
}
.vento-type-flow__hint{
  margin: 6px 0 0;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--vtf-muted);
  max-width: 36em;
}

.vento-type-flow__list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
@media (max-width:720px){
  .vento-type-flow__list{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.vento-type-card{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  min-height: 112px;
  padding: 14px 14px 12px;
  border-radius: var(--radius-md, 18px);
  background:
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.78)),
    var(--vtf-card);
  color: var(--vtf-ink);
  text-decoration: none;
  box-shadow: var(--elevate-1, inset 0 1px 0 rgba(255,255,255,.7), 0 8px 22px rgba(6,16,31,.06));
  border: 1px solid rgba(8, 20, 38, .08);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease, color .2s ease;
  touch-action: manipulation;
}

.vento-type-card__icon{
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--vtf-midnight);
}

.vento-type-card__icon svg{
  width: 32px;
  height: 32px;
  display: block;
}

.vento-type-card__label{
  font-size: clamp(15px, 2.4vw, 18px);
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.2;
}

.vento-type-card__hint{
  font-size: 11px;
  font-weight: 700;
  color: var(--vtf-muted);
}

.vento-type-card:hover{
  border-color: rgba(0, 168, 193, .35);
  box-shadow: var(--elevate-2, inset 0 1px 0 rgba(255,255,255,.8), 0 12px 28px rgba(6,16,31,.1));
  transform: translateY(-1px);
}

.vento-type-card:focus-visible{
  outline: 2px solid var(--vtf-cyan);
  outline-offset: 3px;
}

.vento-type-card.is-active{
  background:
    linear-gradient(165deg, rgba(0,168,193,.1), rgba(255,255,255,.9) 42%),
    var(--vtf-card);
  border-color: rgba(0, 168, 193, .55);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.85),
    0 0 0 1px rgba(0,168,193,.18),
    0 14px 30px rgba(6,16,31,.1);
}

.vento-type-card.is-active .vento-type-card__icon,
.vento-type-card.is-active .vento-type-card__label{
  color: var(--vtf-midnight);
}

.vento-type-card.is-active .vento-type-card__hint{
  color: var(--vtf-cyan);
}

.vento-type-card.is-active::after{
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  border-radius: 999px;
  background: var(--vtf-cyan);
  margin-top: 2px;
}

/* Empty state */
.vento-type-empty{
  margin: clamp(28px, 5vw, 48px) 0;
  padding: clamp(32px, 5vw, 56px) 18px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255,255,255,.7), rgba(243,246,248,.4));
  border-radius: var(--radius-md, 18px);
  border: 1px dashed rgba(8, 20, 38, .12);
}

.vento-type-empty__title{
  margin: 0 0 8px;
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 900;
  letter-spacing: -.02em;
  color: var(--vtf-ink, #0A1220);
}

.vento-type-empty__copy{
  margin: 0 auto;
  max-width: 28em;
  color: var(--vtf-muted, #546074);
  font-size: 14px;
  line-height: 1.7;
}

.vento-type-empty__reset{
  margin-top: 20px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-inline: 18px;
}

/* Studio CTA */
.vento-studio-cta{
  margin: clamp(24px, 4vw, 40px) 0 8px;
}

.vento-studio-cta__inner{
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(16px, 3vw, 28px);
  align-items: center;
  padding: clamp(18px, 3vw, 28px);
  border-radius: calc(var(--radius-md, 18px) + 4px);
  background:
    radial-gradient(ellipse 80% 120% at 100% 0%, rgba(0,168,193,.12), transparent 55%),
    linear-gradient(135deg, #0A1220 0%, #06101F 55%, #0B1A2E 100%);
  color: #F3F6F8;
  box-shadow: 0 16px 40px rgba(6, 16, 31, .16);
}

.vento-studio-cta__eyebrow{
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  color: rgba(243, 246, 248, .62);
}

.vento-studio-cta__title{
  margin: 0;
  font-size: clamp(18px, 2.6vw, 26px);
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.25;
  color: #F3F6F8;
}

.vento-studio-cta__desc{
  margin: 8px 0 0;
  max-width: 36em;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(243, 246, 248, .72);
}

.vento-studio-cta__btn{
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  white-space: nowrap;
}

/* Mobile archive stability */
@media (max-width: 980px){
  .vento-woo .shop-archive-head{
    overflow: visible;
    min-width: 0;
  }
  .vento-woo .shop-archive-row{
    display: grid;
    gap: 10px;
  }
  .vento-woo .shop-archive-tools{
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    min-width: 0;
  }
  .vento-woo .shop-archive-tools .woocommerce-ordering{
    flex: 1 1 140px;
    min-width: 0;
  }
  .vento-woo .shop-archive-tools select{
    max-width: 100%;
    width: 100%;
  }
  .vento-woo ul.products{
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
  }
  .vento-woo ul.products::before,
  .vento-woo ul.products::after{display:none !important}
}

@media (max-width: 699px){
  .vento-type-flow{
    margin-bottom: 14px;
    padding-bottom: 12px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: visible;
  }
  .vento-type-flow__list{
    display: flex;
    grid-template-columns: none;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding-bottom: 4px;
    margin-inline: 0;
    padding-inline: 0;
    scrollbar-width: none;
    box-sizing: border-box;
  }
  .vento-type-flow__list::-webkit-scrollbar{display:none}

  .vento-type-card{
    flex: 0 0 auto;
    width: min(38vw, 132px);
    min-width: 112px;
    max-width: 148px;
    min-height: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 12px;
    scroll-snap-align: start;
    box-sizing: border-box;
  }

  .vento-type-card__icon{
    width: 32px;
    height: 32px;
  }
  .vento-type-card__icon svg{width: 28px;height: 28px}

  .vento-type-card__label{
    font-size: 14px;
  }

  .vento-type-card__hint{
    font-size: 10px;
  }

  .vento-type-card.is-active::after{
    display: none;
  }

  .vento-studio-cta__inner{
    grid-template-columns: 1fr;
  }

  .vento-studio-cta__action{
    width: 100%;
  }

  .vento-studio-cta__btn{
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce){
  .vento-type-card{
    transition: none;
  }
  .vento-type-card:hover{
    transform: none;
  }
}
