.aam-product-carousel{position:relative;isolation:isolate;grid-column:2;grid-row:1;display:flex!important;flex-direction:column;align-self:center;justify-content:center;gap:14px;width:100%;height:100%;min-width:0;min-height:0;margin:0;direction:ltr}
.aam-product-carousel::before{position:absolute;z-index:-1;inset:12% 4%;border-radius:50%;background:radial-gradient(ellipse,rgba(232,118,0,.18),transparent 68%);content:"";filter:blur(28px);pointer-events:none}
.aam-product-carousel__viewport{position:relative;box-sizing:border-box;flex:none;width:100%;aspect-ratio:4/3;overflow:hidden;border:1px solid rgba(255,255,255,.78);border-radius:24px;background:linear-gradient(145deg,#fffefa,#e9e5dc);box-shadow:0 28px 64px rgba(0,0,0,.3),0 8px 22px rgba(232,118,0,.12);touch-action:pan-y;cursor:grab;outline:none}
.aam-product-carousel__viewport::before{position:absolute;z-index:2;inset:0 0 auto;display:flex;align-items:center;height:34px;padding-inline:16px;border-bottom:1px solid #e9e5dc;background:rgba(255,254,250,.96);color:#4b4b4b;content:"پیش‌نمایش محصول نویسا";direction:rtl;font-size:12px;font-weight:700;letter-spacing:0;backdrop-filter:blur(8px)}
.aam-product-carousel__viewport::after{position:absolute;z-index:3;top:13px;left:14px;width:8px;height:8px;border-radius:50%;background:#e87600;box-shadow:12px 0 0 #d8d3ca,24px 0 0 #d8d3ca;content:"";pointer-events:none}
.aam-product-carousel__viewport:active{cursor:grabbing}
.aam-product-carousel__viewport:focus-visible{outline:3px solid #e87600;outline-offset:3px}
.aam-product-carousel__track{position:absolute;inset:34px 0 10px;display:flex;width:auto;height:auto;overflow:visible;transition:transform .46s cubic-bezier(.34,1.2,.64,1);will-change:transform}
.aam-product-carousel__slide{box-sizing:border-box;display:grid;flex:0 0 calc(100% - 20px);width:calc(100% - 20px);height:100%;margin:0 10px;place-items:center;overflow:hidden;border:1px solid rgba(255,255,255,.9);border-radius:16px;background:#fff;box-shadow:0 8px 22px rgba(18,20,24,.12)}
.aam-product-carousel__slide img{display:block;width:100%;height:100%;object-fit:contain;user-select:none;-webkit-user-drag:none}
.aam-product-carousel__dots{display:flex;align-self:center;min-height:28px;justify-content:center;align-items:center;gap:8px;padding:0 12px;border:1px solid rgba(255,255,255,.16);border-radius:99px;background:rgba(255,255,255,.08);backdrop-filter:blur(8px)}
.aam-product-carousel__dot{width:7px;height:7px;padding:0;border:0;border-radius:99px;background:rgba(255,255,255,.46);cursor:pointer;transition:width .25s ease,background-color .25s ease,box-shadow .25s ease}
.aam-product-carousel__dot.is-active{width:22px;background:#e87600}
.aam-product-carousel__dot:hover{background:#ffab4a}
.aam-product-carousel__dot:focus-visible{outline:2px solid #fff;outline-offset:3px}
.aam-product-carousel--empty{grid-column:2;grid-row:1;align-self:center;display:grid!important;place-items:center;min-height:320px;border:1px dashed rgba(232,118,0,.42);border-radius:18px;background:rgba(245,244,241,.06);color:#f4f2ee;text-align:center}
.aam-product-carousel__empty{display:grid;gap:10px;justify-items:center;padding:24px}
.aam-product-carousel__empty>span{display:grid;place-items:center;width:52px;height:52px;border:1px solid rgba(232,118,0,.55);border-radius:16px;color:#e87600;font-size:25px}
.aam-product-carousel__empty small{max-width:260px;color:rgba(244,242,238,.72);line-height:1.8}
@media(max-width:760px){.aam-product-carousel,.aam-product-carousel--empty{grid-column:1;grid-row:auto;width:100%;min-height:0}.aam-product-carousel__viewport{width:100%;border-radius:20px}.aam-product-carousel__track{inset:34px 0 8px;border-radius:13px}.aam-product-carousel__slide{flex-basis:calc(100% - 16px);width:calc(100% - 16px);margin:0 8px;border-radius:13px}.aam-product-carousel--empty{min-height:280px}}
@media(prefers-reduced-motion:reduce){.aam-product-carousel__track,.aam-product-carousel__dot{transition:none}}
