.comments-item-rating {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comments-item-rating li {
    margin-bottom: 20px;
}

.cell-title {
    display: inline-block;
    width: 70%;
    color: #333;
    margin-bottom: 10px;
    font-weight: 500;
}

.cell-value {
    display: inline-block;
    width: 50%;
    text-align: left;
    color: #333;
    font-weight: 500;
}

.rating-general {
    width: 100%;
    height: 6px;
    background-color: #ddd;
    border-radius: 4px;
    margin-top: 6px;
    overflow: hidden;
}

.rating-value {
    height: 100%;
    background-color: #7c3aed; /* رنگ بنفش */
    border-radius: 4px;
}

/*///////////////////////////////////////*/
.star {
    position: relative;
}

.star::before {
    content: '\2605'; /* Unicode برای ستاره پر */
    font-size: 2rem;
    color: #ccc; /* رنگ پیش‌فرض خاکی */
    text-align: center;
    line-height: 2rem;
}

.star-inner {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: transparent;
    z-index: 0;
}

.star.bg-yellow-400::before {
    color: #fbbf24; /* رنگ طلایی برای ستاره‌های انتخاب‌شده */
}

.star:hover::before {
    color: #fbbf24; /* رنگ طلایی در هنگام hover */
}

.text-yellow-400 {
    color: #FFD700;
}

/*///////////////////////////////////*/
/* =========================
   MOBILE CART BAR (2026 MODERN UI)
========================= */

.mobile-cart-container {
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 50;

    padding: 12px 14px;

    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    border-top: 1px solid rgba(226, 232, 240, 0.7);

    box-shadow: 0 -12px 30px rgba(15, 23, 42, 0.08);

    transition: transform .25s ease, opacity .25s ease;
}

/* hide on desktop */
@media (min-width: 1024px) {
    .mobile-cart-container {
        display: none;
    }
}

/* =========================
   INNER LAYOUT
========================= */

.mobile-cart-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

/* =========================
   INFO SECTION
========================= */

.mobile-cart-info {
    display: flex;
    flex-direction: column;
    font-size: 13px;
    color: #0f172a;
    gap: 2px;
}

/* stock warning (modern subtle alert) */
.stock-warning {
    color: #ef4444;
    font-weight: 700;
    font-size: 12px;
}

/* =========================
   PRICE SECTION (MODERN STACK)
========================= */

.price-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
}

/* old price */
.old-price {
    text-decoration: line-through;
    color: #f87171;
    font-size: 12px;
    opacity: 0.8;
}

/* wrapper */
.old-price-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* discount badge (pill modern 2026) */
.discount-badge {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;

    font-size: 11px;
    font-weight: 800;

    padding: 3px 8px;

    border-radius: 999px;

    box-shadow: 0 8px 18px rgba(239, 68, 68, 0.25);
}

/* current price (emphasis system) */
.discounted-price,
.rell-price-product {
    color: #16a34a;
    font-weight: 800;
    font-size: 15px;
    letter-spacing: -0.2px;
}

/* =========================
   STOCK INFO
========================= */

.stock-info {
    display: block;
    color: #dc2626;
    font-size: 12px;
    margin-bottom: 4px;
}

/* =========================
   ADD TO CART BUTTON (2026 CTA)
========================= */

.add-to-cart-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    background: linear-gradient(135deg, #3b82f6, #2563eb);

    color: #fff;

    padding: 11px 14px;

    border-radius: 14px;

    font-size: 13px;
    font-weight: 800;

    cursor: pointer;

    transition: all .2s ease;

    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.25);
}

.add-to-cart-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.3);
}

.add-to-cart-btn:active {
    transform: scale(.98);
}

/* =========================
   SCROLL AREA
========================= */

.space-y-4 {
    overflow-y: auto;
    max-height: 500px;
}

/* =========================
   UTILITIES
========================= */

.green-to {
    color: #16a34a;
}

/* soft modern shadow system */
.box-shadow {
    box-shadow: 0 -10px 24px rgba(0, 0, 0, 0.06),
    0 8px 20px rgba(0, 0, 0, 0.06);
}

/*//////////////////////////////////////////////////*/
.star-rating {
    font-family: Arial, sans-serif;
    letter-spacing: 0; /* حذف فاصله اضافی */
    user-select: none;
    position: relative;
    display: inline-block;
    color: #ddd;
    font-size: 1.5rem;
    line-height: 1;
}

.stars-inner {
    position: absolute;
    top: 0;
    left: 0;
    white-space: nowrap;
    overflow: hidden;
    color: #facc15;
    pointer-events: none;
    transition: width 0.3s ease;
}

.heart-active {
    color: red;
    stroke: red;
    fill: red;
}

#size-result-container {
    display: none; /* پیش‌فرض مخفی */
    margin: 0 auto; /* مرکز افقی */
    padding: 1rem 1rem;
    max-width: 380px;
    background: linear-gradient(135deg, #ecfdf5, #d1fae5); /* پس‌زمینه */
    border-radius: 1rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transform: scale(0.95);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;

    /* وسط چین کردن محتوا */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* وقتی نمایش داده می‌شود */
#size-result-container.show {
    transform: scale(1);
    opacity: 1;
}


/* Header / Title */
.size-result-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #1e40af; /* آبی تیره */
    margin-bottom: 0.5rem;
}


/* دکمه کوچک بستن در صورت نیاز */
.size-result-close {
    margin-top: 0.5rem;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 0.5rem;
    padding: 0.4rem 0.8rem;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
}

.size-result-close:hover {
    background: #1e40af;
}


/* Wrapper برای حالت غیر عضو */
.size-overlay-wrapper {
    position: relative;
}

/* تار شدن فرم پشت */
.size-overlay-wrapper form {
    filter: blur(2px);
    pointer-events: none; /* غیرقابل کلیک */
}

/* لایه محتوا روی فرم */
.overlay-content {
    position: absolute;
    inset: 0; /* top:0; right:0; bottom:0; left:0; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10;
    text-align: center;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(4px);
    border-radius: 0.5rem;
}


/* Wrapper بخش غیر عضو */
.non-member-prompt {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(5px);
    border-radius: 1rem;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    max-width: 320px;
    margin: 0 auto;
}

/* متن پیام */
.non-member-prompt p {
    font-size: 1.3rem; /* کمی بزرگ‌تر */
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

/* دکمه ورود */
.non-member-prompt a {
    display: inline-block;
    background-color: #2563eb;
    color: #fff;
    font-weight: 350;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: background 0.3s, transform 0.2s;
}

.non-member-prompt a:hover {
    background-color: #1e40af;
    transform: translateY(-2px);
}

/*///////////////////////////////////// نقشه راه محصول /////////////////////////////*/


/* =========================
   SPECIAL OFFER BADGE (MODERN 2025)
========================= */

.spx-offer-bar {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
}

.spx-offer-badge {

    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 8px 14px;

    border-radius: 999px;

    background: #fef2f2;

    color: #dc2626;

    font-size: 12.5px;
    font-weight: 700;

    border: 1px solid #fee2e2;

    letter-spacing: 0;

    box-shadow: none;

    position: relative;
}

/* dot (modern minimal pulse) */
.spx-offer-dot {

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #ef4444;

    box-shadow: none;
}

/* =========================
   MOBILE ACTIONS (MODERN)
========================= */

.spx-mobile-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;

    margin-top: 18px;
    margin-bottom: 18px;

    direction: rtl; /* مهم برای فارسی */
}

/* =========================
   SIZE BUTTON (RIGHT SIDE)
========================= */

.spx-size-finder-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    height: 42px;

    padding: 0 14px;
    gap: 8px;

    border-radius: 12px;

    background: #0f172a;
    color: #fff;

    font-size: 12.5px;
    font-weight: 700;

    border: 1px solid rgba(255, 255, 255, 0.06);

    cursor: pointer;

    transition: all .18s ease;

    white-space: nowrap;
}

.spx-size-finder-btn:hover {
    background: #111827;
}

.spx-size-finder-btn:active {
    transform: scale(.97);
}

/* =========================
   ICON GROUP (LEFT SIDE)
========================= */

.spx-mobile-actions-icons {
    display: flex;
    align-items: center;
    gap: 8px;

    flex-shrink: 0;
}

/* =========================
   ICON BUTTONS (MODERN SQUARE)
========================= */

.spx-action-icon {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    border: 1px solid #e2e8f0;

    background: #ffffff;
    color: #0f172a;

    cursor: pointer;

    transition: all .18s ease;
}

.spx-action-icon:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.spx-action-icon:active {
    transform: scale(.97);
}

/* =========================
   FAVORITE ACTIVE STATE
========================= */

.favorite-toggle.active {
    color: #ef4444;
    border-color: #fecaca;
    background: #fff5f5;
}

/* =========================
   MOBILE OPTIMIZATION
========================= */

@media (max-width: 480px) {

    .spx-size-finder-btn {
        height: 40px;
        font-size: 12px;
        padding: 0 12px;
    }

    .spx-action-icon {
        width: 40px;
        height: 40px;
    }
}

/* =========================
   HIDE ON DESKTOP
========================= */

@media (min-width: 1024px) {
    .spx-mobile-actions {
        display: none !important;
    }
}

/*///////////////////////////// نام محصول  /////////////////////////////*/

/* =========================
   PRODUCT HEADER (MODERN CLEAN)
========================= */

.spx-product-head {
    display: flex;
    flex-direction: column;
}

/* TITLE (keep original size feel, just refined) */
.spx-product-title {
    margin-bottom: 10px;

    font-size: 18px;
    font-weight: 700;

    color: #0f172a;

    letter-spacing: -0.1px;
    line-height: 1.4;
}

/* SUBTITLE */
.spx-product-subtitle {
    display: flex;
    align-items: center;

    margin-bottom: 10px;
}

.spx-product-desc {
    font-size: 13px;
    font-weight: 400;

    color: #64748b;
    line-height: 1.7;

    max-width: 100%;
}

/* META ROW */
.spx-product-meta {
    display: flex;
    align-items: center;

    gap: 10px;

    padding-top: 6px;
}

/* COMMENTS (modern pill, subtle like Shopify Horizon) */
.spx-product-comments {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    font-size: 12.5px;
    font-weight: 600;

    color: #334155;

    padding: 6px 10px;

    border-radius: 999px;

    background: #f8fafc;

    border: 1px solid rgba(226, 232, 240, 0.8);

    cursor: pointer;
    margin-bottom: 10px;
    transition: all .2s ease;
}

.spx-product-comments:hover {
    background: #f1f5f9;
    border-color: #e2e8f0;
}

/* number highlight (very subtle modern accent) */
.spx-product-comments span:first-child {
    font-weight: 700;
    color: #0f172a;
}

/*/////////////////////////////////////// ایکون ها و سایزبندی //////////////////////////*/

/* =========================
   DESKTOP SIZE FINDER (MODERN CTA)
========================= */

.desktop-size-finder-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    height: 44px;
    padding: 0 18px;

    border-radius: 999px;

    background: linear-gradient(180deg, #1d4ed8, #1e40af);
    color: #ffffff;

    font-size: 14px;
    font-weight: 700;

    border: 1px solid rgba(255, 255, 255, 0.08);

    cursor: pointer;

    width: fit-content;
    min-width: 180px;

    box-shadow: 0 10px 22px rgba(29, 78, 216, .25),
    0 2px 6px rgba(0, 0, 0, .08);

    transition: all .2s ease;

    white-space: nowrap;
}

/* HOVER (modern lift effect) */
.desktop-size-finder-btn:hover {
    transform: translateY(-2px);
    background: linear-gradient(180deg, #1e40af, #1d4ed8);
    box-shadow: 0 14px 30px rgba(29, 78, 216, .28),
    0 4px 10px rgba(0, 0, 0, .12);
}

/* ACTIVE */
.desktop-size-finder-btn:active {
    transform: translateY(0);
    box-shadow: 0 8px 18px rgba(29, 78, 216, .22);
}

/* FOCUS (accessibility) */
.desktop-size-finder-btn:focus-visible {
    outline: 2px solid rgba(59, 130, 246, .5);
    outline-offset: 3px;
}

/* MOBILE HIDE */
@media (max-width: 1023px) {
    .desktop-size-finder-btn {
        display: none;
    }
}

/*/////////////////////////////////// رنگ و سایز   /////////////////////////*/

/* =========================
   PRODUCT VARIANTS (MODERN SYSTEM)
========================= */

.spx-product-variant-box {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* =========================
   SECTION TITLE
========================= */

.spx-variant-title {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
}

/* =========================
   SIZE GRID (MODERN PILLS)
========================= */

.spx-size-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
}

/* wrapper */
.spx-size-item {
    position: relative;
}

/* hide input */
.spx-size-input {
    display: none;
}

/* pill */
.spx-size-pill {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;

    border-radius: 14px;

    border: 1px solid #e2e8f0;
    background: #ffffff;

    font-size: 14px;
    font-weight: 700;

    color: #0f172a;

    cursor: pointer;

    transition: all .18s ease;

    box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
}

/* hover */
.spx-size-pill:hover {
    transform: translateY(-1px);
    border-color: #cbd5e1;
}

/* selected */
.spx-size-input:checked + .spx-size-pill {
    background: linear-gradient(180deg, #1d4ed8, #1e40af);
    color: #fff;
    border-color: transparent;

    box-shadow: 0 10px 20px rgba(29, 78, 216, .25);
}

/* =========================
   COLOR GRID (MODERN DOTS)
========================= */

.spx-color-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
    padding: 0;
}

/* item */
.spx-color-item {
    position: relative;
}

/* label */
.spx-color-label {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* input */
.spx-color-input {
    display: none;
}

/* color dot */
.spx-color-dot {
    width: 30px;
    height: 30px;

    border-radius: 999px;

    border: 2px solid #fff;

    box-shadow: 0 2px 8px rgba(0, 0, 0, .08),
    inset 0 0 0 1px rgba(0, 0, 0, .08);

    cursor: pointer;

    transition: all .18s ease;
}

/* hover */
.spx-color-dot:hover {
    transform: scale(1.05);
}

/* check icon */
.spx-color-check {
    position: absolute;
    font-size: 16px;

    opacity: 0;
    transform: scale(.6);

    transition: all .15s ease;
}

/* selected */
.spx-color-input:checked ~ .spx-color-dot {
    outline: 2px solid #1d4ed8;
    outline-offset: 2px;
}

.spx-color-input:checked ~ .spx-color-check {
    opacity: 1;
    transform: scale(1);
}

/* =========================
   MOBILE
========================= */

@media (max-width: 480px) {

    .spx-size-pill {
        width: 40px;
        height: 40px;
        font-size: 13px;
    }

    .spx-color-dot {
        width: 26px;
        height: 26px;
    }
}


/*////////////////////// ویژگی ها ////////////////////////////////////////*/

/* =========================
   PRODUCT FEATURES (MODERN GRID)
========================= */

.spx-product-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* TITLE */

.spx-features-title {
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.2px;
}

/* GRID */

.spx-features-grid {
    display: grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap: 10px;
}

@media (min-width: 768px) {
    .spx-features-grid {
        grid-template-columns:repeat(3, minmax(0, 1fr));
    }
}

/* CARD */

.spx-feature-card {
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 10px 12px;

    border-radius: 14px;

    background: linear-gradient(180deg, #ffffff, #f8fafc);

    border: 1px solid #e2e8f0;

    box-shadow: 0 1px 2px rgba(0, 0, 0, .04);

    transition: all .18s ease;
}

.spx-feature-card:hover {
    transform: translateY(-2px);
    border-color: #cbd5e1;
    box-shadow: 0 10px 20px rgba(15, 23, 42, .08);
}

/* DOT (modern bullet) */

.spx-feature-dot {
    width: 8px;
    height: 8px;

    border-radius: 999px;

    background: #1d4ed8;

    box-shadow: 0 0 0 4px rgba(29, 78, 216, .12);
}

/* TEXT */

.spx-feature-text {
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* MOBILE TWEAK */

@media (max-width: 480px) {

    .spx-feature-card {
        padding: 9px 10px;
    }

    .spx-feature-text {
        font-size: 12.5px;
    }
}

/*/////////////////////////////////////  کالای مرتبط ///////////////////////*/

/* =================================
   PRODUCT SECTIONS
================================= */


.spx-products {
    margin-top: 64px;
    padding: 24px 18px;
    border-radius: 11px;
    background: linear-gradient(
            145deg,
            rgba(255, 255, 255, .7),
            rgba(248, 249, 252, .45)
    );
    border: 1px solid rgba(255, 255, 255, .8);
    box-shadow: 0 18px 45px rgba(15, 23, 42, .05),
    inset 0 1px 0 rgba(255, 255, 255, .8);
}

/* فاصله بین سکشن ها */
.spx-products + .spx-products {
    margin-top: 8px;

}

/* =================================
   HEADER
================================= */

.spx-products-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}


.spx-products-header h2 {
    display: flex;
    align-items: center;
    font-size: 20px;
    font-weight: 900;
    color: #111827;
    white-space: nowrap;
    letter-spacing: -.3px;
}


.spx-products-header div {

    flex: 1;

    height: 1px;


    background: linear-gradient(
            90deg,
            rgba(15, 23, 42, .15),
            transparent
    );


}


/* =================================
   SECTION IDENTITY
================================= */


/* کالاهای مرتبط */

.spx-products:first-of-type h2::before {


    content: "";


    width: 8px;

    height: 8px;


    margin-left: 9px;


    border-radius: 50%;


    background: #007aff;


}


/* محبوب ترین */

.spx-popular-products h2::before {


    content: "";


    width: 8px;

    height: 8px;


    margin-left: 9px;


    border-radius: 50%;


    background: #ff9500;


}


/* =================================
   PRODUCT CARD
================================= */


/* =================================
   PRODUCT CARD - IOS MINIMAL STYLE
================================= */


.spx-product-card {
    display: block;
    overflow: hidden;
    border-radius: 22px;
    background: rgba(255, 255, 255, .45);
    border: 1px solid rgba(15, 23, 42, .08);
    box-shadow: none;
    transition: background .3s ease,
    border-color .3s ease,
    transform .3s cubic-bezier(.22, 1, .36, 1);
}

.spx-product-card:hover {
    background: rgba(255, 255, 255, .75);
    border-color: rgba(15, 23, 42, .14);
}

.spx-product-card:active {
    transform: scale(.97);
}


/* =================================
   IMAGE
================================= */
.spx-product-media {
    position: relative;
    padding: 6px;
}

.spx-product-media img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 18px;
}

/* =================================
   DISCOUNT BADGE
================================= */
.spx-product-discount {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 5px 12px;
    border-radius: 18px;
    background: rgba(255, 59, 48, .9);
    color: white;
    font-size: 12px;
    font-weight: 800;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: none;
}

/* =================================
   CONTENT
================================= */


.spx-product-content {


    padding: 8px 14px 16px;


}


.spx-product-content h3 {


    height: 50px;


    display: -webkit-box;


    -webkit-line-clamp: 2;


    -webkit-box-orient: vertical;


    overflow: hidden;


    font-size: 14px;


    line-height: 1.8;


    font-weight: 700;


    color: #111827;


}


/* =================================
   PRICE
================================= */


.spx-product-price {


    margin-top: 10px;


    display: flex;


    flex-direction: column;


    align-items: flex-end;


}


.spx-product-price del {


    color: #9ca3af;


    font-size: 12px;


}


.spx-product-price strong {


    color: #111827;


    font-size: 16px;


    font-weight: 900;


}


.spx-product-price small {


    font-size: 11px;


    font-weight: 500;


}


/* =================================
   SWIPER
================================= */
.spx-products-slider {
    padding: 6px 2px 12px;
}

.spx-products-slider .swiper-slide {
    width: 235px;
}

/* =================================
   MOBILE
================================= */


@media (max-width: 640px) {


    .spx-products {

        margin-top: 20px;
        padding: 18px 12px;
        border-radius: 10px;
    }

    .spx-products-header {
        margin-bottom: 20px;
    }

    .spx-products-header h2 {
        font-size: 17px;
    }

    .spx-products-slider .swiper-slide {
        width: 205px;
    }


    .spx-product-card {
        border-radius: 22px;
    }

    .spx-product-media img {
        border-radius: 18px;
    }
}

/* فقط پنجره راهنمای سایز */
#size-modal {
    --sg-surface: #fff;
    --sg-ink: #202522;
    --sg-muted: #657068;
    --sg-line: #e5e9e5;
    --sg-soft: #f3f5f2;
    --sg-accent: #294b3d;

    position: fixed;
    inset: 0;
    z-index: 50;

    width: 100%;
    height: 100%;
    height: 100dvh;
    max-height: none;

    padding: 24px;
    overflow: hidden;
    overscroll-behavior: none;

    background: rgb(16 24 20 / 32%);
    color: var(--sg-ink);
    direction: rtl;
}

#size-modal.hidden {
    display: none !important;
}

#size-modal:not(.hidden) {
    display: flex;
    align-items: center;
    justify-content: center;
}

#size-modal,
#size-modal * {
    box-sizing: border-box;
}

#size-modal .size-guide-dialog {
    display: flex;
    flex-direction: column;

    width: 100%;
    max-width: 760px;
    max-height: 100%;
    min-height: 0;

    overflow: hidden;
    background: var(--sg-surface);
    border: 1px solid rgb(255 255 255 / 50%);
    border-radius: 26px;

    box-shadow: 0 28px 90px rgb(0 0 0 / 22%),
    0 4px 16px rgb(0 0 0 / 6%);
}

#size-modal .size-guide-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 0 0 auto;
    gap: 16px;

    padding: 16px 20px;
    border-bottom: 1px solid var(--sg-line);
}

#size-modal .size-guide-header > div {
    min-width: 0;
}

#size-modal .size-guide-header h3 {
    margin: 0;
    color: var(--sg-ink);
    font: inherit;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.7;
}

#size-modal .size-guide-header p {
    margin: 3px 0 0;
    color: var(--sg-muted);
    font-size: 12px;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

#size-modal .size-guide-close {
    display: grid;
    place-items: center;
    flex: 0 0 44px;

    width: 44px;
    height: 44px;
    padding: 0;

    background: var(--sg-soft);
    color: var(--sg-ink);
    border: 0;
    border-radius: 50%;
    cursor: pointer;

    transition: background-color 160ms ease;
}

#size-modal .size-guide-body {
    flex: 1 1 auto;
    min-height: 0;

    padding: 16px;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

#size-modal .size-guide-figure {
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--sg-line);
    border-radius: 14px;
    background: #fff;
}

#size-modal .size-guide-figure img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

#size-modal .size-guide-tools {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 4px 16px;

    margin-top: 10px;
    color: var(--sg-muted);
    font-size: 12px;
    line-height: 1.9;
}

#size-modal .size-guide-tools a {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    min-height: 44px;
    color: var(--sg-accent);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
}

#size-modal .size-guide-note {
    margin: 8px 0 0;
    padding: 12px 14px;

    background: var(--sg-soft);
    color: var(--sg-muted);
    border-radius: 12px;

    font-size: 12px;
    line-height: 2;
}

#size-modal .size-guide-empty {
    padding: 48px 16px;
    color: var(--sg-muted);
    text-align: center;
    font-size: 14px;
    line-height: 2;
}

#size-modal :focus-visible {
    outline: 3px solid var(--sg-accent);
    outline-offset: 3px;
}

#size-modal .size-guide-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@supports (backdrop-filter: blur(10px)) {
    #size-modal {
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
}

.dark #size-modal {
    --sg-surface: #222925;
    --sg-ink: #f0f3ef;
    --sg-muted: #b3bdb5;
    --sg-line: #3b453e;
    --sg-soft: #2d3730;
    --sg-accent: #b5d8bf;
}

@media (hover: hover) {
    #size-modal .size-guide-close:hover {
        background: var(--sg-line);
    }
}

@media (max-width: 640px) {
    #size-modal {
        padding: max(12px, env(safe-area-inset-top)) 10px max(12px, env(safe-area-inset-bottom));
    }

    #size-modal .size-guide-dialog {
        border-radius: 22px;
    }

    #size-modal .size-guide-header {
        padding: 12px 14px;
        gap: 12px;
    }

    #size-modal .size-guide-body {
        padding: 10px;
    }

    #size-modal .size-guide-figure {
        border-radius: 10px;
    }

    #size-modal .size-guide-tools {
        padding-inline: 4px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #size-modal * {
        transition: none !important;
    }
}

/*///////////////////////////////////////////*/
/* =========================
   رنگ‌ها و تنظیمات مشترک
========================= */

#starmooda-complete-look,
#scl-outfit-dialog,
#scl-open-look {
    --sv-ink: #243b2e;
    --sv-muted: #62705f;
    --sv-line: #dfe5da;
    --sv-surface: #f0f3ed;
    --sv-card: #ffffff;
    --sv-paper: #f8faf6;
    --sv-accent: #36573d;
    --sv-accent-ink: #ffffff;
    --sv-selected: #e8f0e2;
    --sv-scroll: #abbba0;
    --sv-focus: #95743b;
}

#starmooda-complete-look {
    --sv-gallery-height: clamp(370px, 62dvh, 690px);
    --sv-rail-width: 110px;
    --sv-column-gap: 24px;

    color: var(--sv-ink);
    font-family: inherit;
    direction: rtl;
    min-width: 0;
}

#starmooda-complete-look *,
#starmooda-complete-look *::before,
#starmooda-complete-look *::after,
#scl-outfit-dialog,
#scl-outfit-dialog .scl-dialog-header,
#scl-outfit-dialog .scl-dialog-close,
#scl-open-look,
#scl-open-look * {
    box-sizing: border-box;
}

#starmooda-complete-look [hidden],
#scl-outfit-dialog:not([open]) {
    display: none !important;
}

/* =========================
   چیدمان گالری
========================= */

#starmooda-complete-look .sv-layout {
    display: grid;
    grid-template-columns: var(--sv-rail-width) minmax(0, 1fr);
    column-gap: var(--sv-column-gap);
    row-gap: 0;
    align-items: start;
}

#starmooda-complete-look.sv-single .sv-layout,
#starmooda-complete-look:not(.scl-enhanced) .sv-layout {
    grid-template-columns: minmax(0, 1fr);
}

#starmooda-complete-look .sv-stage,
#starmooda-complete-look .scl-panel {
    min-width: 0;
}

#starmooda-complete-look.scl-enhanced .sv-stage,
#starmooda-complete-look.scl-enhanced .scl-panel:not([hidden]) {
    display: contents;
}

#starmooda-complete-look:not(.scl-enhanced) .scl-panel + .scl-panel {
    margin-top: 32px;
}

/* =========================
   ستون تصاویر استایل
========================= */

#starmooda-complete-look .sv-rail {
    grid-column: 1;
    grid-row: 1;

    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;

    position: relative;
    top: auto;

    height: var(--sv-gallery-height);
    max-height: var(--sv-gallery-height);
    min-height: 0;

    padding: 4px;
    overflow-x: hidden;
    overflow-y: auto;

    overscroll-behavior-y: contain;
    scrollbar-width: thin;
    scrollbar-color: var(--sv-scroll) transparent;
    scroll-padding-block: 4px;
}

#starmooda-complete-look .sv-thumb {
    position: relative;
    display: block;
    flex: 0 0 auto;

    width: 100%;
    min-height: 44px;
    aspect-ratio: 4 / 5;
    padding: 4px;

    border: 1px solid var(--sv-line);
    border-radius: 12px;
    background: var(--sv-card);

    color: var(--sv-ink);
    font: inherit;
    cursor: pointer;
    overflow: hidden;

    transition:
        border-color 180ms ease,
        background-color 180ms ease,
        box-shadow 180ms ease;
}

#starmooda-complete-look .sv-thumb img {
    display: block;
    width: 100%;
    height: 100%;

    object-fit: contain;
    object-position: center;
    background: var(--sv-surface);
    border-radius: 8px;
}

#starmooda-complete-look .sv-thumb[aria-pressed="true"] {
    border-color: var(--sv-accent);
    background: var(--sv-selected);
    box-shadow: inset 0 0 0 1px var(--sv-accent);
}

#starmooda-complete-look .sv-thumb-check {
    position: absolute;
    top: 8px;
    right: 8px;
    bottom: auto;

    display: none;
    align-items: center;
    justify-content: center;

    width: 22px;
    height: 22px;

    border: 2px solid var(--sv-card);
    border-radius: 50%;
    background: var(--sv-accent);
    color: var(--sv-accent-ink);

    font: 13px/1 Arial, sans-serif;
    box-shadow: 0 2px 6px #15251a18;
    pointer-events: none;
}

#starmooda-complete-look .sv-thumb[aria-pressed="true"] .sv-thumb-check {
    display: flex;
}

#starmooda-complete-look .sv-thumb-fallback {
    display: grid;
    place-items: center;
    height: 100%;
    font-size: 15px;
    color: var(--sv-muted);
}

/* =========================
   تصویر اصلی
========================= */

#starmooda-complete-look .sv-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-width: 0;
    height: var(--sv-gallery-height);
    margin: 0;

    border: 1px solid var(--sv-line);
    border-radius: 16px;
    background: var(--sv-surface);
    overflow: hidden;
}

#starmooda-complete-look.scl-enhanced .sv-hero {
    grid-column: 2;
    grid-row: 1;
}

#starmooda-complete-look.scl-enhanced.sv-single .sv-hero {
    grid-column: 1 / -1;
}

#starmooda-complete-look .sv-hero > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

#starmooda-complete-look .sv-counter {
    position: absolute;
    bottom: 14px;
    left: 14px;

    padding: 8px 12px;
    border: 1px solid var(--sv-line);
    border-radius: 999px;

    background: var(--sv-card);
    color: var(--sv-ink);

    font: 500 12px/1.4 Arial, sans-serif;
    font-variant-numeric: tabular-nums;
    letter-spacing: 1px;

    box-shadow: 0 2px 8px #15251a0a;
    pointer-events: none;
}

/* =========================
   عنوان و تعداد آیتم‌ها
========================= */

#starmooda-complete-look .sv-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    min-width: 0;
    margin: 22px 0 14px;
}

#starmooda-complete-look.scl-enhanced .sv-meta {
    grid-column: 1 / -1;
    grid-row: 2;
}

#starmooda-complete-look .sv-meta h3 {
    margin: 0;
    color: var(--sv-ink);
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

#starmooda-complete-look .sv-meta > span {
    flex-shrink: 0;
    padding: 5px 10px;

    border-radius: 999px;
    background: var(--sv-surface);
    color: var(--sv-muted);

    font-size: 12px;
    line-height: 1.7;
    white-space: nowrap;
}

/* =========================
   محصولات تمام‌عرض
========================= */

#starmooda-complete-look .sv-products {
    display: flex;
    align-items: stretch;
    gap: 14px;

    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 4px 4px 14px;

    overflow-x: auto;
    overflow-y: hidden;

    scroll-snap-type: x proximity;
    scroll-padding-inline: 4px;
    overscroll-behavior-inline: contain;

    scrollbar-width: thin;
    scrollbar-color: var(--sv-scroll) transparent;
}

#starmooda-complete-look.scl-enhanced .sv-products {
    grid-column: 1 / -1;
    grid-row: 3;
}

#starmooda-complete-look .sv-product {
    display: flex;
    flex-direction: column;
    flex: 0 0 173px;

    min-width: 0;
    padding: 6px 6px 12px;

    border: 1px solid var(--sv-line);
    border-radius: 13px;
    background: var(--sv-card);
    color: var(--sv-ink);

    text-decoration: none;
    scroll-snap-align: start;

    transition:
        border-color 180ms ease,
        box-shadow 180ms ease;
}

#starmooda-complete-look .sv-product-image {
    position: relative;
    display: grid;
    place-items: center;

    height: 190px;
    border-radius: 9px;
    background: #fff;
    overflow: hidden;
}

#starmooda-complete-look .sv-product-image img {
    display: block;
    width: 100%;
    height: 100%;
    padding: 4px;

    object-fit: contain;
    object-position: center;

    transition: transform 220ms ease;
}

#starmooda-complete-look .sv-current {
    position: absolute;
    top: 7px;
    right: 7px;

    max-width: calc(100% - 14px);
    padding: 4px 7px;

    border: 1px solid var(--sv-line);
    border-radius: 6px;
    background: var(--sv-selected);
    color: var(--sv-ink);

    font-size: 11px;
    font-weight: 500;
    line-height: 1.7;
}

#starmooda-complete-look .sv-product-arrow {
    position: absolute;
    bottom: 7px;
    left: 7px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;

    min-width: 30px;
    min-height: 30px;
    padding: 4px 7px;

    border: 1px solid var(--sv-line);
    border-radius: 8px;
    background: var(--sv-card);
    color: var(--sv-accent);

    font-size: 16px;
    line-height: 1;
}

#starmooda-complete-look .sv-product-arrow::before {
    content: "مشاهده";
    font-family: inherit;
    font-size: 11px;
    line-height: 1.5;
}

#starmooda-complete-look .sv-product h4 {
    min-height: 3.6em;
    margin: 10px 4px 7px;

    color: var(--sv-ink);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

#starmooda-complete-look .sv-product strong {
    margin-top: auto;
    padding-inline: 4px;

    color: var(--sv-ink);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.8;
    font-variant-numeric: tabular-nums;
}

#starmooda-complete-look .sv-product small {
    color: var(--sv-muted);
    font-size: 11px;
    font-weight: 400;
}

/* =========================
   حالت خالی و دسترس‌پذیری
========================= */

#starmooda-complete-look .sv-no-image,
#starmooda-complete-look .sv-empty-note {
    padding: 12px;
    color: var(--sv-muted);
    font-size: 12px;
    line-height: 1.9;
    text-align: center;
}

#starmooda-complete-look .sv-empty {
    text-align: center;
}

#starmooda-complete-look .sv-empty img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 50dvh;
    max-height: 470px;

    object-fit: contain;
    border-radius: 16px;
    background: var(--sv-surface);
}

#starmooda-complete-look .sv-empty p,
#starmooda-complete-look .sv-demo-label {
    margin: 18px 0 0;
    color: var(--sv-muted);
    font-size: 12px;
    line-height: 1.9;
    text-align: center;
}

#starmooda-complete-look .sv-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

#starmooda-complete-look .sv-thumb:focus-visible,
#starmooda-complete-look .sv-product:focus-visible,
#starmooda-complete-look .sv-products:focus-visible,
#scl-open-look:focus-visible,
#scl-outfit-dialog .scl-dialog-close:focus-visible {
    outline: 3px solid var(--sv-focus);
    outline-offset: 2px;
}

/* =========================
   دکمه بازکردن استایل‌ها
========================= */

#scl-open-look {
    display: flex;
    align-items: center;
    gap: 12px;

    width: 100%;
    min-height: 64px;
    margin: 0 0 14px;
    padding: 12px 14px;

    border: 1px solid var(--sv-line);
    border-radius: 14px;
    background: var(--sv-selected);
    color: var(--sv-ink);

    font-family: inherit;
    text-align: right;
    cursor: pointer;

    transition:
        border-color 180ms ease,
        box-shadow 180ms ease;
}

#scl-open-look .scl-launch-icon {
    display: grid;
    place-items: center;
    flex: 0 0 38px;

    width: 38px;
    height: 38px;

    border: 1px solid var(--sv-line);
    border-radius: 11px;
    background: var(--sv-card);
    color: var(--sv-accent);
}

#scl-open-look .scl-launch-copy {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

#scl-open-look strong {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.7;
}

#scl-open-look small {
    color: var(--sv-muted);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.8;
}

#scl-open-look .scl-launch-arrow {
    display: grid;
    place-items: center;
    flex-shrink: 0;

    width: 30px;
    height: 30px;
    margin-inline-start: auto;

    border-radius: 50%;
    background: var(--sv-card);
    color: var(--sv-accent);
}

/* =========================
   پنجره استایل‌ها
========================= */

#scl-outfit-dialog {
    position: fixed;
    inset: 0;

    width: min(1160px, calc(100% - 40px));
    max-width: none;
    height: auto;
    max-height: calc(100dvh - 32px);

    margin: auto;
    padding: 0;

    border: 1px solid var(--sv-line);
    border-radius: 24px;
    background: var(--sv-paper);
    color: var(--sv-ink);

    font-family: inherit;
    direction: rtl;

    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;

    scrollbar-width: thin;
    scrollbar-color: var(--sv-scroll) transparent;

    box-shadow: 0 24px 80px #0d201c30;
}

#scl-outfit-dialog::backdrop {
    background: #101d18a8;
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
}

#scl-outfit-dialog .scl-dialog-header {
    position: sticky;
    top: 0;
    z-index: 4;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;

    padding: 16px 26px;
    border-bottom: 1px solid var(--sv-line);
    background: var(--sv-paper);
}

#scl-outfit-dialog .sv-dialog-title {
    margin: 0;
    color: var(--sv-ink);
    font-family: inherit;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.8;
}

#scl-outfit-dialog .scl-dialog-brand {
    color: var(--sv-muted);
    font: 11px/1.5 Arial, sans-serif;
    letter-spacing: 2px;
}

#scl-outfit-dialog .scl-dialog-close {
    display: grid;
    place-items: center;
    flex-shrink: 0;

    width: 44px;
    height: 44px;
    padding: 0;

    border: 1px solid var(--sv-line);
    border-radius: 50%;
    background: var(--sv-card);
    color: var(--sv-ink);
    cursor: pointer;

    transition:
        background-color 180ms ease,
        border-color 180ms ease;
}

#scl-outfit-dialog #starmooda-complete-look {
    margin: 0;
    padding: 24px 28px 26px;
    border: 0;
    border-radius: 0;
    background: transparent;
}

#scl-outfit-dialog .scl-dialog-footer {
    display: flex;
    align-items: center;
    gap: 8px;

    padding: 15px 28px 20px;
    border-top: 1px solid var(--sv-line);

    color: var(--sv-muted);
    font-size: 12px;
    line-height: 1.9;
}

#scl-outfit-dialog .scl-footer-dot {
    flex-shrink: 0;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--sv-accent);
}

/* =========================
   اسکرول‌بارها
========================= */

#starmooda-complete-look .sv-rail::-webkit-scrollbar {
    width: 5px;
}

#starmooda-complete-look .sv-products::-webkit-scrollbar {
    height: 5px;
}

#starmooda-complete-look .sv-rail::-webkit-scrollbar-thumb,
#starmooda-complete-look .sv-products::-webkit-scrollbar-thumb {
    background: var(--sv-scroll);
    border-radius: 999px;
}

#starmooda-complete-look .sv-rail::-webkit-scrollbar-track,
#starmooda-complete-look .sv-products::-webkit-scrollbar-track {
    background: transparent;
}

/* =========================
   سازگاری با ترکیب‌های استاتیک
========================= */

#starmooda-complete-look .sv-composition {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #f3f2ed;
}

#starmooda-complete-look .sv-composition-white {
    background: #f1f3f1;
}

#starmooda-complete-look .sv-composition-layered {
    background: #eeeae1;
}

#starmooda-complete-look .sv-composition .sv-piece {
    position: absolute;
    display: block;
    object-fit: contain;
    mix-blend-mode: multiply;
    border-radius: 0;
}

#starmooda-complete-look .sv-composition .sv-piece-0 {
    width: 64%;
    height: 84%;
    right: 1%;
    top: 2%;
    transform: rotate(-7deg);
}

#starmooda-complete-look .sv-composition .sv-piece-1 {
    width: 42%;
    height: 86%;
    left: 0;
    bottom: 1%;
    transform: rotate(8deg);
}

#starmooda-complete-look .sv-composition-layered .sv-piece-0 {
    width: 57%;
    height: 76%;
    right: -3%;
    top: 0;
    z-index: 2;
}

#starmooda-complete-look .sv-composition-layered .sv-piece-1 {
    width: 44%;
    height: 57%;
    right: 32%;
    top: 4%;
    transform: rotate(4deg);
    z-index: 1;
}

#starmooda-complete-look .sv-composition-layered .sv-piece-2 {
    width: 38%;
    height: 90%;
    left: 0;
    bottom: 0;
    transform: rotate(9deg);
}

#starmooda-complete-look .sv-thumb .sv-composition {
    border-radius: 8px;
}

/* =========================
   حالت تاریک
========================= */

.dark #starmooda-complete-look,
.dark #scl-outfit-dialog,
.dark #scl-open-look,
[data-theme="dark"] #starmooda-complete-look,
[data-theme="dark"] #scl-outfit-dialog,
[data-theme="dark"] #scl-open-look {
    --sv-ink: #e7eee2;
    --sv-muted: #b4c0ad;
    --sv-line: #3b4b37;
    --sv-surface: #263329;
    --sv-card: #202d24;
    --sv-paper: #19251e;
    --sv-accent: #a5c492;
    --sv-accent-ink: #182819;
    --sv-selected: #30442e;
    --sv-scroll: #63795a;
    --sv-focus: #cfb57b;
}

/* =========================
   بازخورد تعامل
========================= */

@media (hover: hover) {
    #starmooda-complete-look .sv-thumb:hover {
        border-color: var(--sv-accent);
    }

    #starmooda-complete-look .sv-product:hover {
        border-color: var(--sv-accent);
        box-shadow: 0 4px 14px #1d352012;
    }

    #starmooda-complete-look .sv-product:hover img {
        transform: scale(1.025);
    }

    #scl-open-look:hover {
        border-color: var(--sv-accent);
        box-shadow: 0 4px 16px #2947350c;
    }

    #scl-outfit-dialog .scl-dialog-close:hover {
        background: var(--sv-selected);
        border-color: var(--sv-accent);
    }
}

/* =========================
   موبایل
========================= */

@media (max-width: 700px) {
    #starmooda-complete-look {
        --sv-gallery-height: clamp(315px, 54dvh, 510px);
        --sv-rail-width: 72px;
        --sv-column-gap: 10px;
    }

    #starmooda-complete-look .sv-rail {
        gap: 10px;
        padding: 3px;
    }

    #starmooda-complete-look .sv-thumb {
        padding: 3px;
        border-radius: 10px;
    }

    #starmooda-complete-look .sv-thumb img {
        border-radius: 6px;
    }

    #starmooda-complete-look .sv-thumb-check {
        top: 6px;
        right: 6px;
        width: 19px;
        height: 19px;
        font-size: 11px;
    }

    #starmooda-complete-look .sv-hero {
        border-radius: 12px;
    }

    #starmooda-complete-look .sv-counter {
        bottom: 10px;
        left: 10px;
        padding: 7px 10px;
        font-size: 11px;
    }

    #starmooda-complete-look .sv-meta {
        margin: 17px 0 12px;
        gap: 10px;
    }

    #starmooda-complete-look .sv-meta h3 {
        font-size: 14px;
    }

    #starmooda-complete-look .sv-meta > span {
        padding: 4px 8px;
        font-size: 11px;
    }

    #starmooda-complete-look .sv-products {
        gap: 11px;
    }

    #starmooda-complete-look .sv-product {
        flex-basis: 137px;
        padding: 5px 5px 10px;
        border-radius: 11px;
    }

    #starmooda-complete-look .sv-product-image {
        height: 157px;
    }

    #starmooda-complete-look .sv-product h4 {
        font-size: 12px;
        margin-inline: 3px;
    }

    #starmooda-complete-look .sv-product strong {
        padding-inline: 3px;
        font-size: 14px;
    }

    #starmooda-complete-look .sv-product-arrow {
        bottom: 5px;
        left: 5px;
    }

    #starmooda-complete-look .sv-current {
        top: 5px;
        right: 5px;
        padding: 3px 5px;
    }

    #scl-open-look {
        min-height: 62px;
        padding: 10px 12px;
        margin-bottom: 12px;
        gap: 10px;
    }

    #scl-open-look small {
        font-size: 11px;
    }

    #scl-outfit-dialog {
        inset: auto 0 0;
        width: 100%;
        max-height: 96dvh;
        margin: 0 auto;
        border-bottom: 0;
        border-radius: 22px 22px 0 0;
    }

    #scl-outfit-dialog .scl-dialog-header {
        padding: 13px 16px;
    }

    #scl-outfit-dialog .sv-dialog-title {
        font-size: 16px;
    }

    #scl-outfit-dialog #starmooda-complete-look {
        padding: 16px 12px max(20px, env(safe-area-inset-bottom));
    }

    #scl-outfit-dialog .scl-dialog-footer {
        padding: 14px 16px max(20px, env(safe-area-inset-bottom));
        font-size: 11px;
    }

    #starmooda-complete-look .sv-composition .sv-piece-0 {
        width: 89%;
        height: 60%;
        right: 0;
        top: 0;
    }

    #starmooda-complete-look .sv-composition .sv-piece-1 {
        width: 71%;
        height: 64%;
        left: -4%;
        bottom: -1%;
        top: auto;
    }

    #starmooda-complete-look .sv-composition-layered .sv-piece-0 {
        width: 84%;
        height: 62%;
        right: -6%;
        top: 0;
    }

    #starmooda-complete-look .sv-composition-layered .sv-piece-1 {
        width: 56%;
        height: 45%;
        right: 40%;
        top: 6%;
    }

    #starmooda-complete-look .sv-composition-layered .sv-piece-2 {
        width: 69%;
        height: 66%;
        left: -4%;
        bottom: -1%;
    }
}

/* =========================
   کاهش حرکت
========================= */

@media (prefers-reduced-motion: reduce) {
    #starmooda-complete-look .sv-thumb,
    #starmooda-complete-look .sv-product,
    #starmooda-complete-look .sv-product-image img,
    #scl-open-look,
    #scl-outfit-dialog .scl-dialog-close {
        transition: none;
    }

    #starmooda-complete-look .sv-product:hover img {
        transform: none;
    }
}

#scl-open-look {
    margin-top: -10px;
    margin-bottom: 12px;

    background: linear-gradient(120deg, #152238, #233754);
    border-color: #2b405e;
    color: #ffffff;

    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.16);
}

#scl-open-look strong {
    color: #ffffff;
}

#scl-open-look small {
    color: #dbe4f0;
}

#scl-open-look .scl-launch-icon,
#scl-open-look .scl-launch-arrow {
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.20);
    color: #ffffff;
}

#scl-open-look:focus-visible {
    outline: 3px solid #7798c4;
    outline-offset: 3px;
}

@media (hover: hover) {
    #scl-open-look:hover {
        background: linear-gradient(120deg, #101c30, #1c2e49);
        border-color: #405879;
        box-shadow: 0 6px 16px rgba(15, 23, 42, 0.22);
    }
}