/* Design refinement: ambient motion, accessible cards and contained galleries */
.hero-new .hero-photo::before,.hero-new .hero-photo::after{content:"";position:absolute;pointer-events:none;border-radius:50%;will-change:transform}
.hero-new .hero-photo::before{width:min(28vw,410px);aspect-ratio:1;top:-15%;right:4%;background:radial-gradient(circle at 30% 35%,rgba(255,255,255,.68),rgba(102,201,240,.18) 38%,transparent 72%);filter:blur(27px);animation:ambientBreathe 16s ease-in-out infinite alternate}
.hero-new .hero-photo::after{width:min(39vw,550px);aspect-ratio:1;right:-8%;bottom:-49%;border:1px solid rgba(90,181,237,.25);box-shadow:0 0 0 45px rgba(141,213,251,.045),0 0 0 90px rgba(141,213,251,.04);animation:ambientOrbit 22s ease-in-out infinite alternate}
.home-universes,.section-shop,.pack-section{position:relative;isolation:isolate;overflow:hidden}
.home-universes::before,.section-shop::before,.pack-section::before{content:"";position:absolute;z-index:-1;pointer-events:none;width:420px;height:420px;border-radius:50%;background:radial-gradient(circle,rgba(111,205,246,.12),rgba(111,205,246,.025) 48%,transparent 72%);filter:blur(22px);will-change:transform;animation:ambientOrbit 24s ease-in-out infinite alternate}
.home-universes::before{top:18px;left:-165px}.section-shop::before{right:-145px;top:28%;animation-delay:-9s}.pack-section::before{bottom:-80px;left:10%;animation-delay:-14s}
.universe-card::after{content:"";position:absolute;top:-65%;left:-100%;width:75%;height:230%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.22),transparent);pointer-events:none;transform:rotate(20deg) translateX(0);transition:transform .85s ease}
.universe-card:hover::after{transform:rotate(20deg) translateX(290%)}

.shop-layout .products-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.shop-layout{grid-template-columns:232px minmax(0,1fr);gap:31px}.shop-main{min-width:0}
.filters{border:1px solid #dfedf8;box-shadow:0 16px 34px rgba(25,80,130,.055)}.filter-option{transition:color .2s}.filter-option:hover{color:#2462b1}
.product-card{isolation:isolate;cursor:pointer;transition:transform .27s,box-shadow .27s,border-color .27s}
.product-card-cover{position:absolute;inset:0;z-index:5;border-radius:inherit}
.product-card-cover:focus-visible{outline:3px solid #52bfe8;outline-offset:-4px}
.product-card .product-photo{flex-shrink:0;height:234px;padding:20px;border-radius:20px 20px 0 0;background:radial-gradient(circle at 52% 38%,#fff,#eff8fe 90%)}
.product-photo img{border-radius:13px;object-position:center;width:100%;height:100%;object-fit:contain}
.product-card .product-content{padding:19px 21px 0;display:flex;flex-direction:column;flex:1;min-height:230px;position:relative}
.product-card .product-title{min-height:0;margin:0 0 15px;font-size:13.5px;line-height:1.55;color:#284866;letter-spacing:-.012em;font-weight:800;text-wrap:pretty}
.product-card .product-prices{margin-top:auto}
.product-card .product-footer{padding:12px 0 15px}
.product-card .add-btn{position:relative;z-index:6;transition:transform .2s,background-color .2s,color .2s}
.product-card .add-btn:hover{transform:scale(1.07)}
.product-card .card-discover{margin:0 -21px;padding:13px 21px;min-height:47px;display:flex;align-items:center;justify-content:space-between;border-top:1px solid #e8f0f7;color:#326b9c;background:linear-gradient(90deg,#f9fcff,#f3faff);font-weight:800;font-size:11px;letter-spacing:.005em;transition:background .23s,color .23s}
.product-card .card-discover svg{transition:transform .23s}
.product-card:hover .card-discover,.product-card:focus-within .card-discover{background:linear-gradient(90deg,#e6f5ff,#edf9ff);color:#1f5d9c}
.product-card:hover .card-discover svg{transform:translateX(5px)}
.product-card:hover .product-title{color:#195eaa}
.product-card .product-photo-cta{display:none}
.product-card:hover .product-photo img{transform:scale(1.035) translateY(-2px)}

.detail-grid{grid-template-columns:minmax(0,1.04fr) minmax(0,.96fr);gap:clamp(33px,4.1vw,65px)}
.detail-grid>div:first-child{min-width:0}
.detail-large{height:465px;min-width:0;min-height:0;overflow:hidden;display:flex;justify-content:center;align-items:center;position:relative;padding:26px;border:1px solid #d9eaf7;border-radius:29px;box-shadow:0 16px 45px rgba(28,91,145,.05);background:radial-gradient(circle at 50% 45%,#fff 0%,#f7fbff 58%,#eaf6ff 100%)}
.detail-large::before{content:"";width:340px;aspect-ratio:1;position:absolute;right:-120px;bottom:-185px;border-radius:50%;border:1px solid rgba(90,176,228,.16);box-shadow:0 0 0 45px rgba(129,210,247,.038);pointer-events:none}
.detail-large img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;min-width:0;min-height:0;object-fit:contain;object-position:center;border-radius:19px;position:relative;z-index:1}
.thumbs{position:relative;z-index:1;display:flex;flex-wrap:nowrap;gap:11px;padding:4px 3px 12px;margin-top:16px;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#a8d3eb transparent}
.thumb{display:flex;align-items:center;justify-content:center;flex:0 0 78px;width:78px;height:74px;padding:7px;overflow:hidden;border:1px solid #dfeaf4;border-radius:16px;background:#f8fcff;box-shadow:0 4px 11px rgba(23,78,119,.04);transition:border-color .18s,box-shadow .18s,transform .18s}
.thumb:hover{border-color:#8bc6e8;transform:translateY(-2px)}.thumb.active{border:2px solid #2b8ac9;box-shadow:0 0 0 3px rgba(112,199,240,.15)}
.thumb img{display:block;width:100%;height:100%;max-height:100%;object-fit:contain;border-radius:9px}
.detail-info{min-width:0}.detail-info h1{text-wrap:balance}

@keyframes ambientBreathe{from{transform:translate3d(-20px,-8px,0) scale(.9);opacity:.5}to{transform:translate3d(25px,24px,0) scale(1.13);opacity:.85}}
@keyframes ambientOrbit{from{transform:translate3d(-22px,-12px,0) rotate(-4deg)}to{transform:translate3d(36px,25px,0) rotate(6deg)}}
@media(max-width:1000px){.shop-layout{grid-template-columns:205px minmax(0,1fr);gap:18px}.shop-layout .products-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.shop-layout .product-card .product-photo{height:185px;padding:11px}.shop-layout .product-card .product-content{padding-left:13px;padding-right:13px}.shop-layout .product-card .card-discover{margin:0 -13px;padding:12px 13px}}
@media(max-width:900px){.shop-layout{grid-template-columns:minmax(0,1fr);gap:24px}.shop-layout .products-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.shop-layout .product-card .product-photo{height:195px}.detail-large{height:345px;padding:18px;border-radius:24px}.thumb{width:70px;flex-basis:70px;height:67px;border-radius:13px}.home-universes::before,.section-shop::before,.pack-section::before{width:260px;height:260px}}
@media(max-width:440px){.product-card .product-content{min-height:215px;padding-left:13px;padding-right:13px}.product-card .product-title{font-size:12px}.product-card .card-discover{margin:0 -13px;padding:12px 13px;font-size:10px}.product-card .product-photo{height:172px;padding:10px}.detail-large{height:min(83vw,350px);padding:15px}.thumb{width:64px;flex-basis:64px;height:60px}}
@media(prefers-reduced-motion:reduce){.hero-new .hero-photo::before,.hero-new .hero-photo::after,.home-universes::before,.section-shop::before,.pack-section::before{animation:none!important;will-change:auto}.product-card,.product-card *,.universe-card::after{transition:none!important}}
