:root {
  --ease-out:cubic-bezier(.23,1,.32,1);
  --ease-drawer:cubic-bezier(.32,.72,0,1);
}
button,.button,.round,.catalog-buy {
  transition:transform 160ms var(--ease-out),background-color 180ms ease,color 180ms ease,opacity 180ms ease;
}
button:active:not(:disabled),.button:active { transform:scale(.97) }
.catalog-tile { overflow:hidden }
.catalog-tile img,.co-products img,.gallery-stage img {
  transition:transform 250ms var(--ease-out),opacity 200ms var(--ease-out);
}
.co-products article { transition:border-color 200ms ease,box-shadow 200ms ease }
.co-products article.co-selected { border-color:var(--navy); box-shadow:0 0 0 1px var(--navy) }
.co-products h3 { min-height:44px }
.co-products strong { display:block; margin-top:10px }
.co-product-photo { position:relative; overflow:hidden; border-radius:6px }
.co-products .co-product-photo button { position:absolute; width:30px; height:34px; padding:0; margin:0; border-radius:50%; background:#ffffffe8; color:var(--navy); top:calc(50% - 17px); left:4px; font-size:25px; opacity:.8 }
.co-products .co-product-photo button:last-child { left:auto; right:4px }
.co-products .co-product-action>button { background:var(--navy); border-radius:30px }
.co-product-step { display:flex; align-items:center; justify-content:space-between; background:var(--navy); color:white; border-radius:30px; margin-top:6px }
.co-product-step button { background:transparent; width:36%; margin:0; padding:8px 0; font-size:19px }
.co-product-step output { min-width:22px; text-align:center }
.co-box-title h2 { letter-spacing:0; font-size:25px }
.co-builder-grid #co-box { min-height:600px; display:flex; flex-direction:column; margin-top:0 }
.co-tiers button { font-size:15px }
.co-builder-grid #co-box>p { text-align:center; font-size:14px; font-weight:650; min-height:44px }
.co-milestones { position:relative; display:flex; justify-content:space-between; margin:10px 0 16px; padding:0 8px }
.co-milestones button { width:33.33%; padding:0; display:grid; justify-items:center; gap:10px; background:transparent; color:var(--navy); font-size:13px }
.co-milestones button i { z-index:1; width:12px; height:12px; border-radius:50%; background:#c2e7c9; transition:background-color 200ms ease }
.co-milestones .reached i { background:#12a42a }
.co-milestones small { color:#78858b; font-size:11px }
.co-track { position:absolute; left:calc(16.66% + 5px); right:calc(16.66% + 5px); top:32px; background:#c2e7c9; height:4px }
.co-track span { display:block; height:100%; background:#12a42a; transform-origin:left; transition:transform 250ms var(--ease-out) }
.co-pack-lines { flex:1; max-height:330px; overflow:auto; margin-bottom:14px }
.co-pack-lines>div { display:flex; gap:9px; align-items:center; padding:12px 0; border:0 }
.co-pack-lines img { width:61px; height:69px; object-fit:contain; background:#f3f3f3; border:1px solid #d6d6d6; border-radius:9px }
.co-pack-lines span:nth-child(2) { flex:1; min-width:0 }
.co-pack-lines small { display:block; margin:4px 0; font-size:12px }
.co-pack-lines strong { display:block }
.co-pack-lines .co-trash { color:#d73b50; font-size:21px }
.co-pack-total { border-top:1px solid #ddd; padding-top:18px; flex-wrap:wrap }
.co-pack-total>b { font-size:22px }
.co-empty-slots { flex-direction:column; opacity:.4 }
.co-empty-slots span { display:block; width:100%; height:55px; border-radius:6px; background:linear-gradient(90deg,#d7dce0 0 18%,transparent 18% 22%,#e6e9eb 22% 80%,transparent 80%) }
dialog {
  opacity:0;
  transform:translateX(100%);
  transition:transform 350ms var(--ease-drawer),opacity 250ms var(--ease-out),display 350ms allow-discrete,overlay 350ms allow-discrete;
}
dialog[open] { opacity:1; transform:translateX(0) }
dialog::backdrop { opacity:0; transition:opacity 300ms var(--ease-out),display 350ms allow-discrete,overlay 350ms allow-discrete }
dialog[open]::backdrop { opacity:1 }
#campaign,#media-pop { transform:translateY(12px) scale(.97) }
#campaign[open],#media-pop[open] { transform:translateY(0) scale(1) }
.shop-dropdown[open]>div,.market[open]>.language-menu { animation:menu-enter 200ms var(--ease-out); transform-origin:top left }
.bar nav.open { animation:menu-enter 200ms var(--ease-out) }
.gallery-stage { touch-action:pan-y }
@starting-style {
  dialog[open] { opacity:0; transform:translateX(100%) }
  dialog[open]::backdrop { opacity:0 }
  #campaign[open],#media-pop[open] { opacity:0; transform:translateY(12px) scale(.97) }
}
@keyframes menu-enter { from { opacity:0; transform:translateY(-6px) } }
@media(hover:hover) and (pointer:fine) {
  .catalog-tile:hover img,.co-products article:hover img { transform:scale(1.04) }
  .gallery-stage:hover img { transform:scale(1.025) }
}
@media(max-width:650px) {
  .co-builder-grid #co-box { min-height:430px; padding:16px }
  .co-products h3 { min-height:35px }
  .co-pack-lines { max-height:210px }
}
@media(prefers-reduced-motion:reduce) {
  dialog,dialog[open],#campaign,#media-pop,#campaign[open],#media-pop[open] { transform:none }
  dialog,dialog::backdrop { transition-duration:80ms }
  .shop-dropdown[open]>div,.market[open]>.language-menu,.bar nav.open { animation:none }
  .catalog-tile img,.co-products img,.gallery-stage img,button,.button { transition:opacity 80ms ease,background-color 80ms ease }
  .catalog-tile:hover img,.co-products article:hover img,.gallery-stage:hover img,button:active:not(:disabled),.button:active { transform:none }
  .co-track span { transition:none }
}
