/* Product page — Nazjan purple / feminine glow */
/* فونت‌ها از header-asli.css می‌آیند؛ اینجا دوباره تعریف نکن تا font-display:optional فونت را نکشد */

#main.pd-page {
    --pd-ink: #2a0845;
    --pd-muted: rgba(255, 255, 255, .82);
    --pd-line: rgba(255, 255, 255, .22);
    --pd-brand: #9900ff;
    --pd-brand-deep: #54038b;
    --pd-pink: #ff6ec7;
    --pd-gold: #ffcc00;
    --pd-surface: #ffffff;
    --pd-radius: 26px;
    --pd-glow: 0 18px 50px rgba(153, 0, 255, .28);
    --pd-tab-h: calc(64px + env(safe-area-inset-bottom, 0px));
    direction: rtl;
    font-family: bym, yekan, Tahoma, sans-serif;
    color: var(--pd-ink);
    box-sizing: border-box;
    background: transparent !important;
    margin-top: 8px !important;
    padding: 0 12px 28px;
}

#main.pd-page *,
#main.pd-page *::before,
#main.pd-page *::after {
    box-sizing: border-box;
}

#main.pd-page .kajaki,
#main.pd-page .product_future_child_kajaki,
#main.pd-page .product_future_child_kajaki2,
#main.pd-page .konj_ksj_3,
#main.pd-page .kajaki_2_down {
    display: none !important;
}

body:has(#main.pd-page) {
    background:
        radial-gradient(900px 420px at 100% -8%, rgba(255, 110, 199, .28), transparent 55%),
        radial-gradient(720px 380px at 0% 12%, rgba(153, 0, 255, .22), transparent 50%),
        radial-gradient(640px 300px at 80% 70%, rgba(255, 204, 0, .12), transparent 45%),
        linear-gradient(180deg, #fde9ff 0%, #f4d9ff 38%, #fbefff 72%, #fff7fc 100%) !important;
}

/* Stories */
#main.pd-page .videoStrory {
    width: 100% !important;
    height: auto !important;
    min-height: 196px;
    margin: 0 0 14px !important;
    padding: 14px 6px 12px !important;
    border: 1px solid rgba(153, 0, 255, .14) !important;
    border-radius: 24px !important;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .92), rgba(255, 240, 252, .88)) !important;
    box-shadow: 0 12px 30px rgba(153, 0, 255, .1);
    overflow: hidden;
}

#main.pd-page .videoStrory .PArentItemVIdeo {
    display: block;
    flex: 0 0 auto;
    vertical-align: top;
    width: 136px !important;
    white-space: normal;
    text-align: center;
    direction: rtl;
}

#main.pd-page .videoStrory .main-carousel {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: flex-start;
    direction: ltr;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    height: auto;
    min-height: 168px;
    white-space: nowrap;
    scrollbar-width: none;
    cursor: grab;
}
#main.pd-page .videoStrory .main-carousel::-webkit-scrollbar {
    display: none;
}
#main.pd-page .videoStrory .main-carousel.is-dragging {
    cursor: grabbing;
}

#main.pd-page .videoStrory .parentImg {
    width: 120px !important;
    height: 120px !important;
    position: relative;
    border-radius: 50% !important;
    overflow: hidden !important;
    margin: 0 auto;
    border: 3px solid #fff !important;
    box-shadow: 0 0 0 3px #ff9ad5, 0 8px 18px rgba(153, 0, 255, .28);
    background: linear-gradient(135deg, #ffd36a, #ff6ec7, #9900ff, #54038b) !important;
    padding: 3px !important;
    box-sizing: border-box;
}

#main.pd-page .videoStrory .parentImg a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 50%;
}

#main.pd-page .videoStrory .parentImg img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none;
    object-fit: cover !important;
    object-position: center !important;
    -webkit-user-drag: none;
}

#main.pd-page .videoStrory .titleVIdeoStoryY {
    font-size: 11px !important;
    color: #5c1480 !important;
    margin-top: 8px !important;
    font-weight: 700;
}

#main.pd-page .videoStrory .storyViewsCount {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-top: 4px;
    color: #9a6bb3 !important;
    font-size: 10px !important;
    line-height: 1;
    height: auto !important;
    width: auto !important;
}

#main.pd-page .videoStrory .storyViewsCount svg {
    width: 12px !important;
    height: 12px !important;
    flex: 0 0 12px;
    display: block;
}

/* Hero */
#main.pd-page .pd-hero {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

#main.pd-page .pd-gallery-col,
#main.pd-page .pd-info-col {
    min-width: 0;
}

#main.pd-page .pd-gallery-block {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

#main.pd-page .galleryMother {
    position: relative;
    width: 100% !important;
    margin: 0 !important;
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(160deg, #ff8ad4, #9900ff, #ffcc00) border-box;
    border: 2px solid transparent;
    border-radius: var(--pd-radius);
    overflow: hidden;
    box-shadow: var(--pd-glow);
}

#main.pd-page .galleryMother .title_PRoduct {
    display: none !important;
}

#main.pd-page .galleryMother .MothersliderImage {
    width: 100% !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    aspect-ratio: 1 / 1;
    background:
        radial-gradient(circle at 30% 20%, rgba(255, 110, 199, .18), transparent 46%),
        linear-gradient(180deg, #fff4fb, #f3e2ff) !important;
    position: relative;
    z-index: 1;
}

#main.pd-page .galleryMother .sliderImage {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
}

#main.pd-page .zs-gallery {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    touch-action: pan-x pan-y;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    container-type: inline-size;
    position: relative;
    z-index: 1;
}

#main.pd-page .zs-gallery:not(.is-ready) {
    overflow: hidden !important;
}

#main.pd-page .zs-gallery::-webkit-scrollbar {
    display: none;
}

#main.pd-page .zs-gallery > .swiper-wrapper {
    transform: none !important;
    transition: none !important;
    width: 100%;
}

#main.pd-page .zs-gallery .swiper-slide {
    flex: 0 0 100cqw;
    width: 100cqw;
    min-width: 100cqw;
    max-width: 100cqw;
}

#main.pd-page .zs-gallery .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
}

#main.pd-page .sliderImage > .swiper-pagination,
#main.pd-page .MothersliderImage .swiper-pagination {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 12px;
    z-index: 6;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    pointer-events: none;
}

#main.pd-page .galleryMother img {
    width: 100%;
}

#main.pd-page .icontop {
    position: absolute !important;
    width: 52px !important;
    height: auto !important;
    padding: 0 !important;
    top: 12px !important;
    left: 12px !important;
    right: auto !important;
    background: transparent !important;
    box-shadow: none !important;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    z-index: 8;
    pointer-events: auto;
    isolation: isolate;
    direction: ltr; /* جلوگیری از جابه‌جایی افقی دکمه‌های باریک در RTL */
}

/* قلب علاقه‌مندی وقتی فعال است — فقط path خود قلب، نه مربع مخفی fill="none" */
#main.pd-page .icon_favoriiiit.font_weight path:last-of-type {
    fill: #ff4fa3 !important;
}
#main.pd-page .icon_favoriiiit.font_weight path[fill="none"] {
    fill: none !important;
}

#main.pd-page .icontop > div {
    position: relative;
    z-index: 1;
    pointer-events: auto;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    flex: 0 0 auto;
    box-sizing: border-box;
}

#main.pd-page .icontop > .list_mored_alaghe_mobile,
#main.pd-page .icontop > .pd-insta-btn,
#main.pd-page .icontop > .shareee,
#main.pd-page .icontop > .esalat_kala_mother {
    width: 52px !important;
    min-width: 52px !important;
    max-width: 52px !important;
    height: 52px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(255, 232, 250, .94)) !important;
    border: 1px solid rgba(255, 110, 199, .4) !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 18px rgba(153, 0, 255, .18) !important;
    backdrop-filter: blur(10px);
    color: #9900ff !important;
    pointer-events: auto !important;
    cursor: pointer;
}

#main.pd-page .icontop > .esalat_kala_mother {
    height: auto !important;
    min-height: 64px !important;
    padding: 7px 4px 6px !important;
    overflow: visible;
}

#main.pd-page .icontop .favorit,
#main.pd-page .icontop .child_list_mored_alaghe_mobile {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    pointer-events: auto !important;
    cursor: pointer;
}

#main.pd-page .icontop svg {
    width: 24px !important;
    height: 24px !important;
    display: block;
    pointer-events: none;
    flex-shrink: 0;
}

#main.pd-page .esalat_kala_text {
    font-size: 8px !important;
    color: #9900ff !important;
    line-height: 1.25;
    margin-top: 2px;
    font-weight: 800;
    text-align: center;
    pointer-events: none;
    white-space: nowrap;
}

#main.pd-page .icon_esalat_kala {
    height: auto !important;
    font-size: inherit !important;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

#main.pd-page .shareee {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

#main.pd-page .MothersliderImage .swiper-pagination span {
    background: rgba(153, 0, 255, .28);
}

#main.pd-page .MothersliderImage .swiper-pagination span.is-active {
    background: linear-gradient(90deg, #ff6ec7, #9900ff);
}

#main.pd-page .pd-gal-nav {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: linear-gradient(180deg, #fff, #ffe6f8);
    color: #7a1fa2;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(153, 0, 255, .22);
    align-items: center;
    justify-content: center;
    padding: 0;
}

#main.pd-page .pd-gal-nav svg {
    width: 18px;
    height: 18px;
}

#main.pd-page .pd-gal-prev { right: 12px; }
#main.pd-page .pd-gal-next { left: 12px; }

#main.pd-page .pd-gal-nav:hover {
    background: linear-gradient(180deg, #9900ff, #ff6ec7);
    color: #fff;
}

#main.pd-page .pd-thumbs {
    display: none;
    gap: 8px;
    padding: 12px;
    overflow-x: auto;
    scrollbar-width: none;
    background: linear-gradient(180deg, #fff7fc, #f8e8ff);
}

#main.pd-page .pd-thumbs::-webkit-scrollbar { display: none; }

#main.pd-page .pd-thumb {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    cursor: pointer;
    opacity: .7;
}

#main.pd-page .pd-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#main.pd-page .pd-thumb.is-active {
    opacity: 1;
    border-color: #ff6ec7;
    box-shadow: 0 0 0 3px rgba(153, 0, 255, .18);
}

/* Tags — always directly under the gallery image */
#main.pd-page .tagsMothers {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    min-height: 44px;
    margin: 0 !important;
    padding: 4px 0 8px !important;
    overflow: visible !important;
    float: none !important;
}

#main.pd-page .tagsMothers .tagItemmm {
    border-radius: 999px !important;
    box-shadow: 0 8px 16px rgba(153, 0, 255, .2) !important;
    padding: 7px 16px !important;
    font-size: 12px !important;
    font-weight: 800;
}

#main.pd-page .tagsMothers a,
#main.pd-page .tagsMothers div a {
    color: #fff !important;
}

/* Buy card — original purple, glossier */
#main.pd-page .product_future_Mother {
    width: 100% !important;
    margin: 0 !important;
    background: transparent !important;
}

#main.pd-page .product_future_child {
    position: relative;
    width: 100% !important;
    margin: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    max-height: none !important;
    padding: 18px 18px 20px !important;
    border-radius: var(--pd-radius) !important;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(165deg, #4a027c 0%, #54038b 18%, #9900ff 58%, #c748df 86%, #ff6ec7 130%) !important;
    background-image: linear-gradient(165deg, #4a027c 0%, #54038b 18%, #9900ff 58%, #c748df 86%, #ff6ec7 130%) !important;
    border: 1px solid rgba(255, 255, 255, .18);
    box-shadow:
        var(--pd-glow),
        inset 0 1px 0 rgba(255, 255, 255, .28);
}

#main.pd-page .product_future_child::before {
    content: "";
    position: absolute;
    inset: -40% auto auto -20%;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 204, 0, .28), transparent 68%);
    pointer-events: none;
}

#main.pd-page .product_future_child::after {
    content: "";
    position: absolute;
    right: -80px;
    bottom: -90px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 110, 199, .35), transparent 70%);
    pointer-events: none;
}

#main.pd-page .DirectionDastebandi {
    width: 100% !important;
    height: auto !important;
    min-height: 0;
    margin: 0 0 10px !important;
    padding: 0 !important;
    font-size: 12px !important;
    color: rgba(255, 255, 255, .8) !important;
    position: relative;
    z-index: 1;
}

#main.pd-page .DirectionDastebandi a,
#main.pd-page .DirectionDastebandi a span,
#main.pd-page .DirectionDastebandi .pd-crumb-current,
#main.pd-page .DirectionDastebandi .pd-crumb-current span {
    color: #fff !important;
    font-weight: 600;
}

#main.pd-page .DirectionDastebandi a,
#main.pd-page .DirectionDastebandi .pd-crumb-current {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 4px;
}

#main.pd-page .title_PRoduct {
    width: 100%;
    height: auto !important;
    min-height: 98px;
    margin: 0 0 10px;
    text-align: right;
    position: relative;
    z-index: 1;
}

#main.pd-page .title_PRoduct h1 {
    margin: 0;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.55;
    min-height: 98px;
    color: #fff;
    text-shadow: 0 8px 24px rgba(42, 8, 69, .28);
}

#main.pd-page .title_farsi_dovom {
    display: none !important;
}

#main.pd-page .product_future_child .title_english h2 {
    width: 100% !important;
    direction: ltr;
    text-align: left !important;
    padding: 0 !important;
    color: rgba(255, 255, 255, .82) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.6;
}

#main.pd-page .rangBandi {
    width: 100% !important;
    height: auto !important;
    margin: 8px 0 12px !important;
    position: relative;
    z-index: 1;
}

#main.pd-page .rangBandi .swiper-slide,
#main.pd-page .rangBandi .swiper-slide.active_color,
#main.pd-page .rangBandi .swiper-slide.noactive_active_color {
    width: 84px !important;
    height: auto !important;
    margin: 0 4px !important;
    box-shadow: none !important;
    border: none !important;
    background: transparent !important;
    overflow: visible !important;
    border-radius: 14px !important;
}

#main.pd-page .rangBandi div {
    height: auto !important;
}

#main.pd-page .rangBandi a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}

#main.pd-page .rangBandi-thumb {
    display: block;
    position: relative;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    background: #fff;
    border: 2px solid rgba(255, 255, 255, .55);
    box-shadow: 0 8px 16px rgba(42, 8, 69, .18);
}

#main.pd-page .rangBandi .swiper-slide.active_color .rangBandi-thumb {
    border: 3px solid #ffcc00;
    box-shadow: 0 0 0 4px rgba(255, 204, 0, .28);
}

#main.pd-page .rangBandi img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

#main.pd-page .rangBandi .swiper-slide.is-soldout .rangBandi-thumb img {
    filter: grayscale(1);
    opacity: .42;
}

#main.pd-page .rangBandi-soldout {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    background: rgba(20, 6, 36, .58);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    line-height: 1.15;
    text-align: center;
    letter-spacing: -.2px;
}

#main.pd-page .rangBandi .swiper-slide.is-soldout .rangBandi-color {
    color: rgba(255, 255, 255, .55);
    text-decoration: line-through;
}

#main.pd-page .rangBandi-color {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: 6px;
    max-width: 84px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.25;
    color: rgba(255, 255, 255, .94);
    text-align: center;
    direction: ltr;
    unicode-bidi: isolate;
    word-break: break-word;
}

#main.pd-page .turkey-order-notice {
    margin: 8px 0 12px !important;
    background: rgba(255, 255, 255, .16);
    border-color: rgba(255, 255, 255, .28);
    position: relative;
    z-index: 1;
}

#main.pd-page .turkey-order-notice-title {
    color: #ffe259 !important;
}

#main.pd-page .turkey-order-notice-text {
    color: #fff !important;
}

#main.pd-page .Parent_product_future_brands {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 8px 0 14px !important;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .06));
    position: relative;
    z-index: 1;
}

#main.pd-page .product_future_child .brands_product_mother {
    width: 100px !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

#main.pd-page .product_future_child .brands_product_mother .parent_img_brands {
    width: 100px !important;
    height: 100px !important;
    min-width: 100px;
    min-height: 100px;
    overflow: hidden;
    border-radius: 50% !important;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .55), 0 10px 22px rgba(42, 8, 69, .22) !important;
    border: 0;
    background: #fff;
    flex-shrink: 0;
}

#main.pd-page .product_future_child .brands_product_mother img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
}

#main.pd-page .product_future_child .parent_brands_title {
    text-align: center !important;
    color: #fff !important;
    margin: 0 !important;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.4;
}

#main.pd-page .product_future_child .parent_brands_title span:first-child {
    color: rgba(255, 255, 255, .78);
    font-weight: 500;
    margin-left: 4px;
}

#main.pd-page .productFuture_Left {
    flex: 1;
    min-width: 0;
}

#main.pd-page .product_future_child .price_parent {
    width: 100% !important;
    height: auto !important;
    margin: 6px 0 0 !important;
    text-align: left !important;
    font-size: 22px !important;
}

#main.pd-page .product_future_child .price_parent .price {
    width: auto !important;
    height: auto !important;
    float: none !important;
    display: inline-flex !important;
    flex-direction: column;
    align-items: flex-start;
    background: #fff !important;
    border-radius: 999px !important;
    padding: 8px 16px !important;
    line-height: 1.3 !important;
    box-shadow: 0 10px 22px rgba(42, 8, 69, .18);
}

#main.pd-page .parent_indrim_mobile {
    position: static !important;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 10px;
}

#main.pd-page .parent_indrim_mobile .indrim_mobile,
#main.pd-page .parent_indrim_mobile .old_price_mobile {
    position: static !important;
    width: auto !important;
    margin: 0 !important;
    background: transparent !important;
    color: inherit !important;
    font-size: inherit !important;
    border-radius: 0 !important;
    top: auto !important;
}

#main.pd-page .parent_indrim_mobile .old_price_mobile {
    color: #1a1a1a !important;
    font-size: 12px !important;
    text-decoration: line-through;
    order: 3;
}

#main.pd-page .parent_indrim_mobile .old_price_mobile::before {
    display: none !important;
}

#main.pd-page .parent_indrim_mobile .darsadOff {
    position: static !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 3px 8px;
    border-radius: 999px !important;
    background: linear-gradient(90deg, #ff4d6d, #ff2d92) !important;
    color: #fff !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
    font-weight: 800;
}

#main.pd-page .gheymat_mahsol {
    font-weight: 800;
    color: #54038b;
}

#main.pd-page .off_adad_gheymat {
    font-weight: 800;
    color: #e53935 !important;
}

#main.pd-page .price_normal span:last-child {
    font-size: 13px;
    color: #9900ff;
    margin-right: 4px;
}

#main.pd-page .indrim_mobile span:last-child {
    font-size: 13px;
    color: #e53935 !important;
    margin-right: 4px;
}

/* CTA — gold on purple */
#main.pd-page .add_to_basket_mother {
    width: 100% !important;
    margin: 6px 0 14px !important;
    padding: 0 !important;
    border-radius: 20px;
    position: relative;
    z-index: 1;
}

#main.pd-page .pd-buy-row {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}
#main.pd-page .pd-buy-cta-slot {
    flex: 1;
    min-width: 0;
}
#main.pd-page .pd-live-spin {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    border: 2.5px solid rgba(92, 20, 128, .18);
    border-top-color: #5c1480;
    border-radius: 50%;
    animation: pdLiveSpin .7s linear infinite;
}
#main.pd-page .pd-live-spin--sticky {
    border-color: rgba(255, 255, 255, .28);
    border-top-color: #ffe259;
}
#main.pd-page .pd-live-spin.is-hidden {
    display: none;
}
@keyframes pdLiveSpin {
    to { transform: rotate(360deg); }
}

#main.pd-page .afzodan_besabad_mobile {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    height: 56px !important;
    margin: 0 !important;
    padding: 0 18px !important;
    line-height: 1 !important;
    border-radius: 999px !important;
    background: linear-gradient(90deg, #ffe259 0%, #ffcc00 48%, #ff9a3c 100%) !important;
    color: #5c1480 !important;
    font-size: 17px;
    font-weight: 800;
    box-shadow: 0 12px 28px rgba(255, 204, 0, .38);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    user-select: none;
    transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}

#main.pd-page .afzodan_besabad_mobile::after {
    content: "";
    position: absolute;
    top: 0;
    left: -40%;
    width: 35%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent);
    transform: skewX(-18deg);
    animation: pdShine 2.4s ease-in-out infinite;
}

#main.pd-page .afzodan_besabad_mobile.is-busy,
#main.pd-page .pd-sticky-cta.is-busy {
    pointer-events: none;
    cursor: wait;
    opacity: .72;
}

#main.pd-page .afzodan_besabad_mobile.is-busy::after {
    animation-duration: 1.1s;
}

@keyframes pdShine {
    0% { transform: translateX(0) skewX(-18deg); }
    60%, 100% { transform: translateX(420%) skewX(-18deg); }
}

#main.pd-page .alarmMojodi {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100% !important;
    height: 56px !important;
    margin: 0 !important;
    padding: 0 16px !important;
    border: 0;
    border-radius: 999px !important;
    background: linear-gradient(90deg, #ffe259 0%, #ffcc00 48%, #ff9a3c 100%) !important;
    color: #5c1480 !important;
    font-family: inherit;
    font-size: 15px;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 12px 28px rgba(255, 204, 0, .38);
    cursor: pointer;
    user-select: none;
    appearance: none;
    -webkit-appearance: none;
}
#main.pd-page .alarmMojodi svg {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    display: block;
    overflow: visible;
}
#main.pd-page .alarmMojodi span {
    margin: 0 !important;
    line-height: 1.25 !important;
    white-space: nowrap;
}
@media (max-width: 380px) {
    #main.pd-page .alarmMojodi {
        font-size: 13px;
        gap: 6px;
        padding: 0 12px !important;
    }
}

#main.pd-page .ezafeShodsn,
#main.pd-page .errorMojodi {
    display: none;
    position: absolute;
    right: 8px !important;
    left: 8px;
    top: -52px !important;
    padding: 10px 12px;
    border-radius: 14px !important;
    box-shadow: var(--pd-glow);
    font-weight: 700;
    text-align: center;
    color: #fff;
    z-index: 3;
}

#main.pd-page .ezafeShodsn {
    background: #2e7d32;
}

#main.pd-page .errorMojodi {
    background: #c62828;
}

#main.pd-page .pd-badges {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    margin: 4px 0 14px;
    position: relative;
    z-index: 1;
}

#main.pd-page .pd-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 10px 6px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 16px;
    background: rgba(255, 255, 255, .12);
    text-align: center;
    font-size: 11px;
    font-weight: 800;
    color: #fff;
    line-height: 1.4;
}

#main.pd-page .pd-badge svg {
    width: 20px;
    height: 20px;
    color: #ffcc00;
}

#main.pd-page .pd-compare {
    position: relative;
    z-index: 2;
    width: 100%;
    margin: 0;
    padding: 14px 12px 10px;
    border-radius: var(--pd-radius);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(255, 247, 252, .96));
    border: 1px solid rgba(153, 0, 255, .14);
    box-shadow: 0 12px 30px rgba(153, 0, 255, .1);
    color: #2a0845;
    overflow: hidden;
}

#main.pd-page .pd-compare-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 2px 10px;
    color: #54038b;
}

#main.pd-page .pd-compare-head-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

#main.pd-page .pd-compare-head-text strong {
    font-size: 15px;
    font-weight: 800;
    line-height: 1.4;
}

#main.pd-page .pd-compare-hint {
    font-size: 11px;
    font-weight: 600;
    color: #9a6bb8;
}

#main.pd-page .pd-compare-icon {
    display: inline-flex;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: linear-gradient(135deg, #9900ff, #ff6ec7);
    color: #fff;
    font-size: 14px;
    box-shadow: 0 8px 16px rgba(153, 0, 255, .28);
}

#main.pd-page .pd-compare-body {
    position: relative;
}

#main.pd-page .pd-compare.is-collapsed .pd-compare-body {
    max-height: 300px;
    overflow: hidden;
}

#main.pd-page .pd-compare-fade {
    display: none;
}

#main.pd-page .pd-compare.is-collapsed .pd-compare-fade {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 92px;
    z-index: 5;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255, 247, 252, 0), #fff7fc 72%);
}

#main.pd-page .pd-compare-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 -4px;
    padding: 0 4px 6px;
    scrollbar-width: thin;
    scrollbar-color: rgba(153, 0, 255, .35) transparent;
}

#main.pd-page .pd-compare.is-collapsed .pd-compare-scroll {
    max-height: 300px;
    overflow-y: hidden;
}

#main.pd-page .pd-compare-more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    z-index: 6;
    width: 100%;
    margin: -46px 0 0;
    padding: 18px 12px 4px;
    border: 0;
    background: transparent;
    color: #7a1fa2;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

#main.pd-page .pd-compare-more::after {
    content: "";
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    margin-top: -3px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
}

#main.pd-page .pd-compare.is-open .pd-compare-more {
    margin-top: 8px;
    padding: 10px 14px;
    border-radius: 16px;
    background: linear-gradient(90deg, #f6e9ff, #ffeef8);
    color: #54038b;
}

#main.pd-page .pd-compare.is-open .pd-compare-more::after {
    margin-top: 3px;
    transform: rotate(-135deg);
}

#main.pd-page .pd-compare.is-short .pd-compare-more,
#main.pd-page .pd-compare.is-short .pd-compare-fade {
    display: none;
}

#main.pd-page .pd-compare-table {
    width: max-content;
    min-width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 12px;
}

#main.pd-page .pd-compare-table th,
#main.pd-page .pd-compare-table td {
    padding: 9px 8px;
    text-align: center;
    vertical-align: middle;
    border-bottom: 1px solid rgba(153, 0, 255, .1);
    background: #fff;
}

#main.pd-page .pd-compare-table .pd-compare-prod-col {
    min-width: 128px;
    max-width: 168px;
    border-inline-start: 1px solid rgba(153, 0, 255, .16);
}

#main.pd-page .pd-compare-table thead .pd-compare-prod-col {
    border-inline-start: 1px solid rgba(153, 0, 255, .22);
}

#main.pd-page .pd-compare-table thead th {
    border-bottom: 1px solid rgba(153, 0, 255, .18);
}

#main.pd-page .pd-compare-table tbody tr:last-child th,
#main.pd-page .pd-compare-table tbody tr:last-child td {
    border-bottom: 0;
}

#main.pd-page .pd-compare-table .pd-compare-label {
    position: sticky;
    right: 0;
    z-index: 4;
    min-width: 84px;
    max-width: 108px;
    width: 96px;
    text-align: center;
    font-weight: 800;
    color: #5c1480;
    background: #faf4ff;
    box-shadow: -6px 0 10px -8px rgba(84, 3, 139, .25);
    line-height: 1.5;
}

#main.pd-page .pd-compare-table td {
    font-size: 12px;
    line-height: 1.55;
    color: #3b0d5c;
    text-align: center;
}

#main.pd-page .pd-compare-group-row .pd-compare-group-label {
    position: sticky;
    right: 0;
    z-index: 4;
    text-align: center;
    font-size: 12px;
    font-weight: 800;
    color: #fff !important;
    background: linear-gradient(90deg, #9900ff, #c748df) !important;
    box-shadow: -6px 0 10px -8px rgba(84, 3, 139, .35);
}

#main.pd-page .pd-compare-group-row .pd-compare-group-cell {
    padding: 8px 10px;
    background: linear-gradient(90deg, #9900ff, #c748df) !important;
    border-bottom: 1px solid rgba(255, 255, 255, .16);
    border-inline-start: 1px solid rgba(255, 255, 255, .14);
}

#main.pd-page .pd-compare-group-row th,
#main.pd-page .pd-compare-group-row td {
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

#main.pd-page .pd-compare-list {
    margin: 0 auto;
    padding: 0;
    list-style: none;
    text-align: right;
    display: inline-block;
    direction: rtl;
}

#main.pd-page .pd-compare-list li {
    position: relative;
    padding: 1px 12px 1px 0;
    font-size: 11px;
    line-height: 1.5;
    text-align: right;
}

#main.pd-page .pd-compare-list li::before {
    content: "";
    position: absolute;
    right: 0;
    left: auto;
    top: 8px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #d9a8ff;
}

#main.pd-page .pd-compare-empty {
    color: #c4b3d4;
    font-weight: 700;
}

#main.pd-page .pd-compare-table td.is-no {
    color: #b42318;
    font-weight: 800;
}

#main.pd-page .pd-compare-table td.is-yes {
    color: #067647;
    font-weight: 800;
}

#main.pd-page .pd-compare-table th.is-current,
#main.pd-page .pd-compare-table td.is-current {
    background: linear-gradient(180deg, #fff8d6, #fff);
    box-shadow: inset 0 0 0 1.5px rgba(255, 204, 0, .7);
}

#main.pd-page .pd-compare-prod {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 128px;
    max-width: 168px;
}

#main.pd-page .pd-compare-prod a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: inherit;
}

#main.pd-page .pd-compare-prod img {
    width: 110px;
    height: 110px;
    object-fit: contain;
    object-position: center;
    border-radius: 18px;
    background: #f6edff;
    border: 1px solid rgba(153, 0, 255, .14);
    box-shadow: 0 8px 18px rgba(84, 3, 139, .12);
}

#main.pd-page .pd-compare-table th.is-current .pd-compare-prod img {
    border: 2px solid #ffcc00;
    box-shadow: 0 8px 18px rgba(255, 204, 0, .35);
}

#main.pd-page .pd-compare-name {
    font-size: 12px;
    font-weight: 800;
    line-height: 1.45;
    color: #2a0845;
    display: block;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    word-break: break-word;
}

#main.pd-page .pd-compare-prod a:hover .pd-compare-name {
    color: #9900ff;
}

#main.pd-page .pd-compare-now {
    display: inline-block;
    padding: 3px 9px;
    background: #ffcc00;
    color: #5c1480;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
}

#main.pd-page .pd-compare-soldout {
    display: inline-block;
    padding: 3px 9px;
    background: #f3e8e8;
    color: #b42318;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
}

#main.pd-page .pd-compare-table th.is-soldout .pd-compare-prod img,
#main.pd-page .pd-compare-float-table th.is-soldout .pd-compare-prod img {
    opacity: .72;
    filter: grayscale(.35);
}

#main.pd-page .pd-compare-score {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    direction: ltr;
}

#main.pd-page .pd-compare-star {
    display: inline-block;
    width: 12px;
    height: 12px;
    line-height: 12px;
    font-size: 12px;
    color: #e2d0f2;
    flex: 0 0 auto;
}

#main.pd-page .pd-compare-star::before {
    content: "★";
}

#main.pd-page .pd-compare-star.is-on {
    color: #ff9a3c;
}

#main.pd-page .pd-compare-adv {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

#main.pd-page .pd-compare-adv-yesno {
    font-size: 12px;
    font-weight: 800;
    line-height: 1.4;
}

#main.pd-page .pd-compare-float-head {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 120;
    padding: 6px 0 4px;
    background: rgba(255, 255, 255, .97);
    border-bottom: 1px solid rgba(153, 0, 255, .18);
    box-shadow: 0 8px 24px rgba(84, 3, 139, .14);
    backdrop-filter: blur(8px);
    pointer-events: none;
}

#main.pd-page .pd-compare-float-scroll {
    overflow: hidden;
    -webkit-overflow-scrolling: auto;
}

#main.pd-page .pd-compare-float-table {
    margin: 0;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0;
}

#main.pd-page .pd-compare-float-table .pd-compare-prod {
    min-width: 0;
    max-width: none;
    width: 100%;
    gap: 4px;
}

#main.pd-page .pd-compare-float-table .pd-compare-prod img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    object-position: center;
    border-radius: 12px;
}

#main.pd-page .pd-compare-float-table .pd-compare-name {
    font-size: 10px;
    display: block;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    word-break: break-word;
}

#main.pd-page .pd-compare.has-float-head {
    scroll-margin-top: 88px;
}

/* Features / sizes — white on purple */
#main.pd-page .productfutureNew {
    margin-top: 8px !important;
    padding: 0 !important;
    color: #fff !important;
    position: relative;
    z-index: 1;
}

#main.pd-page .productfutureNew:has(.pd-features-head) {
    padding: 12px 12px 14px !important;
    border-radius: var(--pd-radius) !important;
    background: linear-gradient(180deg, #9900ff, #6b0fb8 55%, #4a027c) !important;
    border: 1px solid rgba(255, 255, 255, .16);
    box-shadow: var(--pd-glow);
}

#main.pd-page .productfutureNew:not(:has(.pd-features-head)) {
    display: none;
}

#main.pd-page .rowSarbargTaki.is-tab-hidden,
#main.pd-page .rowMain.is-tab-hidden {
    display: none !important;
}

#main.pd-page .pd-desc-preview {
    margin: 0 0 14px;
    padding: 12px 12px 10px;
    border-radius: var(--pd-radius);
    background: linear-gradient(180deg, #9900ff, #6b0fb8 55%, #4a027c);
    border: 1px solid rgba(255, 255, 255, .16);
    box-shadow: var(--pd-glow);
    color: #fff;
}

#main.pd-page .pd-desc-preview-body {
    max-height: 500px;
    overflow: hidden;
}

#main.pd-page .pd-desc-preview.is-expanded .pd-desc-preview-body {
    max-height: none;
    overflow: visible;
}

#main.pd-page .pd-desc-preview:not(.is-expanded) img {
    display: none;
}

#main.pd-page .contentVideos > div {
    width: 100%;
}

#main.pd-page .pd-features-head {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin: 0 0 8px;
    padding: 4px 2px;
    color: #fff !important;
    font-weight: 800;
}

#main.pd-page .pd-features-toggle-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

#main.pd-page .pd-features-more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    z-index: 2;
    width: 100%;
    margin: -52px 0 0;
    padding: 12px 14px 4px;
    border: 0;
    background: transparent;
    color: #ffe259;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    overflow-anchor: none;
}

#main.pd-page .pd-features-more::after {
    content: "";
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform .2s ease;
}

#main.pd-page .productfutureNew.is-open .pd-features-more {
    margin-top: 8px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, .14);
    border-radius: 16px;
    color: #fff;
}

#main.pd-page .productfutureNew.is-open .pd-features-more::after {
    transform: rotate(-135deg);
}

#main.pd-page .pd-features-body {
    display: block;
    position: relative;
    margin-top: 0;
    max-height: 600px;
    overflow: hidden;
    overflow-anchor: none;
}

#main.pd-page .productfutureNew:not(.is-open):not(.is-short) .pd-features-body::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 90px;
    background: linear-gradient(180deg, rgba(74, 2, 124, 0), #4a027c 85%);
    pointer-events: none;
}

#main.pd-page .productfutureNew.is-open .pd-features-body {
    max-height: none;
    overflow: visible;
}

#main.pd-page .productfutureNew.is-short .pd-features-more {
    display: none;
}

#main.pd-page .productfutureNew.is-short .pd-features-body {
    max-height: none;
    overflow: visible;
}

#main.pd-page .productfutureNew.is-short .pd-features-body::after {
    display: none;
}

#main.pd-page .productfutureNew a {
    color: #ffe259 !important;
}

#main.pd-page .productfutureNew h2,
#main.pd-page .productfutureNew h3,
#main.pd-page .productfutureNew p,
#main.pd-page .productfutureNew li {
    color: #fff;
}

#main.pd-page .product_future_title,
#main.pd-page .product_future_child .product_future_value {
    color: #fff !important;
}

#main.pd-page .product_future_title {
    font-weight: 800;
    margin-bottom: 8px;
    padding-right: 0 !important;
}

#main.pd-page .product_future_child .product_future_value {
    padding-right: 0 !important;
    font-size: 13px !important;
}

#main.pd-page .product_future_value_row {
    padding: 8px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, .22);
}

#main.pd-page .product_future_child .product_future_value_icon {
    color: #ffcc00;
}

#main.pd-page .size_ghad_mankan_mobile,
#main.pd-page .lej_pashne_mobile_mother,
#main.pd-page .size-bandi-mobile-product,
#main.pd-page .rahnama_entekhab_size {
    color: #fff !important;
    position: relative;
    z-index: 1;
}

#main.pd-page .parent_avalabel_size_pro > div {
    width: 44px !important;
    height: 44px !important;
    line-height: 42px !important;
    border: 2px solid rgba(255, 255, 255, .75) !important;
    border-radius: 14px !important;
    color: #fff !important;
    background: transparent;
    font-weight: 800;
}

#main.pd-page .parent_avalabel_size_pro_div_active {
    background: #fff !important;
    color: #54038b !important;
    border-color: #fff !important;
}

#main.pd-page .no_mojoood_size:before {
    border-bottom-color: rgba(255, 255, 255, .8) !important;
}

#main.pd-page .size_khod_ra_entekhab_konid {
    color: #ffe259 !important;
}

/* Shipping box removed from product page */
#main.pd-page .ersal_kala_mother {
    display: none !important;
}

#main.pd-page .title_ersal_kala,
#main.pd-page .ersalFori {
    width: 100% !important;
    margin: 0 0 10px !important;
    padding: 12px 14px !important;
    background: linear-gradient(90deg, #fde9ff, #f6dbff) !important;
    color: #7a1fa2 !important;
    border-radius: 18px !important;
    box-shadow: none;
}

#main.pd-page .title_ersal_kala {
    color: #9900ff !important;
    font-size: 15px !important;
    margin-bottom: 10px !important;
}

#main.pd-page .title_ersal_kala .div_img_peyk {
    width: 48px !important;
    margin: 0 0 0 10px !important;
}

#main.pd-page .title_ersal_kala img {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
}

#main.pd-page .ersalFori span[style] {
    color: inherit !important;
    font-size: 14px !important;
}

#main.pd-page .ersalFori > span:first-child {
    color: #9900ff !important;
    font-weight: 800 !important;
    display: block;
    margin-bottom: 4px;
}

/* Tabs */
#main.pd-page .tozihat_short_Mother {
    width: 100% !important;
    margin: 0 0 14px !important;
    background: transparent !important;
}

#main.pd-page .tozihat_short_Mother .tozihat_short {
    width: 100% !important;
    margin: 0 !important;
    min-height: 0 !important;
    padding: 10px 10px 18px !important;
    border-radius: var(--pd-radius) !important;
    background: linear-gradient(180deg, #9900ff, #6b0fb8 55%, #4a027c) !important;
    border: 1px solid rgba(255, 255, 255, .16);
    box-shadow: var(--pd-glow);
}

#main.pd-page .rowSarbarg {
    width: 100% !important;
    margin: 0 0 8px !important;
    padding: 4px;
    gap: 4px;
    overflow-x: auto;
    flex-wrap: nowrap !important;
    scrollbar-width: none;
    border-bottom: 1px solid rgba(255, 255, 255, .16);
}

#main.pd-page .rowSarbarg::-webkit-scrollbar { display: none; }

#main.pd-page .rowSarbargTaki {
    color: rgba(255, 255, 255, .86) !important;
    height: auto !important;
    min-height: 44px;
    line-height: 1.3 !important;
    padding: 10px 12px !important;
    font-size: 13px !important;
    font-weight: 400; /* 800 باعث لود Bold و CLS روی تب‌ها می‌شد */
    white-space: nowrap;
    border-radius: 999px;
}

#main.pd-page .borderClassRowSarbargTaki {
    background: #fff !important;
    color: #9900ff !important;
    border: 0 !important;
    border-radius: 999px !important;
    box-shadow: 0 8px 16px rgba(42, 8, 69, .18);
}

#main.pd-page .rowMain,
#main.pd-page .RowMainTakiiii {
    width: 100% !important;
    color: #fff;
}

#main.pd-page .tozihaaat,
#main.pd-page .tozihaaat p,
#main.pd-page .tozihaaat li,
#main.pd-page .tozihaaat h2,
#main.pd-page .tozihaaat h3 {
    color: #fff;
}

#main.pd-page .rowMain img:not([class*="TozihatDescription"]),
#main.pd-page .tozihaaat img:not([class*="TozihatDescription"]) {
    width: min(100%, 720px) !important;
    max-width: 100% !important;
    border-radius: 22px !important;
    margin: 12px auto !important;
    box-shadow: 0 12px 28px rgba(42, 8, 69, .22);
}

/* Description image layouts (admin upload classes) — restored */
#main.pd-page .divTozihatDescription0_3,
#main.pd-page .divTozihatDescription0_5,
#main.pd-page .divTozihatDescription0_7,
#main.pd-page .divTozihatDescription {
    width: 100%;
}

#main.pd-page .imgTozihatDescription,
#main.pd-page .imgTozihatDescription0_3,
#main.pd-page .imgTozihatDescription0_5,
#main.pd-page .imgTozihatDescription0_7,
#main.pd-page .imgTozihatDescription2li,
#main.pd-page .imgTozihatDescription3li,
#main.pd-page .imgTozihatDescription4li,
#main.pd-page .imgTozihatDescription5li,
#main.pd-page .imgTozihatDescription6li,
#main.pd-page .divTozihatDescription img,
#main.pd-page .divTozihatDescription0_3 img,
#main.pd-page .divTozihatDescription0_5 img,
#main.pd-page .divTozihatDescription0_7 img,
#main.pd-page .divTozihatDescription2li img,
#main.pd-page .divTozihatDescription3li img,
#main.pd-page .divTozihatDescription4li img,
#main.pd-page .divTozihatDescription5li img,
#main.pd-page .divTozihatDescription6li img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 5px auto;
    border-radius: 22px;
    box-shadow: 0 12px 28px rgba(42, 8, 69, .22);
}

#main.pd-page .imgTozihatDescription {
    width: 90%;
}

#main.pd-page .imgTozihatDescription0_3 {
    width: 33%;
}

#main.pd-page .imgTozihatDescription0_5 {
    width: 50%;
}

#main.pd-page .imgTozihatDescription0_7 {
    width: 70%;
}

#main.pd-page .divTozihatDescription2li,
#main.pd-page .divTozihatDescription3li,
#main.pd-page .divTozihatDescription4li,
#main.pd-page .divTozihatDescription5li,
#main.pd-page .divTozihatDescription6li {
    display: flex;
    width: 98%;
    margin: 0 auto;
    justify-content: space-between;
    flex-wrap: wrap;
}

#main.pd-page .divTozihatDescription2li > a,
#main.pd-page .divTozihatDescription2li > img {
    display: block;
    width: 48%;
    margin: 0 auto;
}

#main.pd-page .divTozihatDescription3li > a,
#main.pd-page .divTozihatDescription3li > img,
#main.pd-page .divTozihatDescription4li > a,
#main.pd-page .divTozihatDescription4li > img,
#main.pd-page .divTozihatDescription5li > a,
#main.pd-page .divTozihatDescription5li > img,
#main.pd-page .divTozihatDescription6li > a,
#main.pd-page .divTozihatDescription6li > img {
    display: block;
    width: 30%;
    text-align: center;
    margin: 5px auto;
}

#main.pd-page .divTozihatDescription2li > a > img,
#main.pd-page .divTozihatDescription3li > a > img,
#main.pd-page .divTozihatDescription4li > a > img,
#main.pd-page .divTozihatDescription5li > a > img,
#main.pd-page .divTozihatDescription6li > a > img,
#main.pd-page .imgTozihatDescription2li,
#main.pd-page .imgTozihatDescription3li,
#main.pd-page .imgTozihatDescription4li,
#main.pd-page .imgTozihatDescription5li,
#main.pd-page .imgTozihatDescription6li {
    width: 100%;
    border-radius: 22px;
}

@media (max-width: 779px) {
    #main.pd-page .imgTozihatDescription,
    #main.pd-page .imgTozihatDescription0_3,
    #main.pd-page .imgTozihatDescription0_5,
    #main.pd-page .imgTozihatDescription0_7 {
        width: 100% !important;
    }

    #main.pd-page .divTozihatDescription2li > a,
    #main.pd-page .divTozihatDescription2li > img,
    #main.pd-page .divTozihatDescription3li > a,
    #main.pd-page .divTozihatDescription3li > img,
    #main.pd-page .divTozihatDescription4li > a,
    #main.pd-page .divTozihatDescription4li > img,
    #main.pd-page .divTozihatDescription5li > a,
    #main.pd-page .divTozihatDescription5li > img,
    #main.pd-page .divTozihatDescription6li > a,
    #main.pd-page .divTozihatDescription6li > img {
        width: 48%;
    }
}

#main.pd-page .moshakhasat_row {
    display: flex;
    color: #fff !important;
    min-height: 0 !important;
    line-height: 1.6 !important;
    font-size: 14px !important;
    margin-bottom: 8px;
    text-align: right !important;
}

#main.pd-page .moshakhasat_title,
#main.pd-page .moshakhasatValue {
    float: none !important;
    width: auto !important;
    min-width: 0;
    min-height: 0 !important;
    margin: 0 !important;
    border-radius: 16px !important;
    padding: 10px 12px;
}

#main.pd-page .moshakhasat_title {
    flex: 0 0 38%;
    background: rgba(255, 255, 255, .14) !important;
    color: #ffe259;
    font-weight: 800;
}

#main.pd-page .moshakhasatValue {
    flex: 1;
    background: rgba(255, 255, 255, .1) !important;
}

#main.pd-page .showMoreDetail {
    color: #ffe259;
    font-weight: 800;
    padding: 10px 0 4px;
    cursor: pointer;
}

#main.pd-page .rowMainTar {
    height: auto !important;
}

#main.pd-page .parentComanti,
#main.pd-page .addPorsesh,
#main.pd-page .RowMainTaking,
#main.pd-page .RowMainTakiiiichild {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    margin: 0 !important;
    padding: 0 !important;
}

#main.pd-page .commentii {
    width: 100% !important;
    height: 500px !important;
    max-height: 500px !important;
    min-height: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    margin: 0 !important;
    padding: 4px 2px 8px !important;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, .45) transparent;
}

#main.pd-page .addPorsesh {
    max-height: min(72vh, 880px) !important;
    overflow-y: auto !important;
    padding: 4px 2px 8px !important;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, .45) transparent;
}

#main.pd-page .commentii .firstSatr,
#main.pd-page .firstSatrPorsesh {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100% !important;
    height: auto !important;
    min-height: 58px;
    margin: 0 0 14px !important;
    padding: 12px 14px !important;
    overflow: visible !important;
    background: #fff !important;
    border-radius: 18px !important;
    box-shadow: 0 10px 22px rgba(42, 8, 69, .12);
    color: #54038b !important;
    position: sticky;
    top: 0;
    z-index: 2;
}

#main.pd-page .firstPerson,
#main.pd-page .firstPersons,
#main.pd-page .commentii .firstSatr .firstPerson {
    float: none !important;
    display: block;
    margin: 0 !important;
    line-height: 1.5 !important;
    height: auto !important;
    color: #54038b !important;
    font-size: 14px !important;
    font-weight: 800 !important;
}

#main.pd-page .btn_sabt_nazar_blue {
    position: static !important;
    left: auto !important;
    top: auto !important;
    flex: 0 0 auto;
    margin: 0 !important;
    padding: 9px 14px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: linear-gradient(90deg, #9900ff, #c748df) !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 800;
    white-space: nowrap;
    cursor: pointer;
}

#main.pd-page .btn_sabt_nazar_blue svg path[fill="#90f"] {
    fill: #fff;
}

#main.pd-page .takItamComment,
#main.pd-page .takiPorsesh {
    width: 100% !important;
    margin: 0 0 12px !important;
    padding: 16px 16px 14px !important;
    border: 0 !important;
    border-radius: 20px !important;
    background: #fff !important;
    box-shadow: 0 12px 26px rgba(42, 8, 69, .14) !important;
    color: #2a0845 !important;
    text-align: right;
}

#main.pd-page .takItamComment *,
#main.pd-page .takiPorsesh *,
#main.pd-page .takijavab * {
    color: inherit;
}

#main.pd-page .title_taki_comment {
    margin: 0 0 4px !important;
    line-height: 1.5 !important;
    font-size: 15px;
    font-weight: 800;
    color: #54038b !important;
}

#main.pd-page .user_taki_comment,
#main.pd-page .takiPorsesh > .title_taki_comment + .title_taki_comment {
    margin: 0 !important;
    line-height: 1.6 !important;
    font-size: 12px !important;
    color: #4a3758 !important;
    font-weight: 600;
}

#main.pd-page .pd-cmt-stars {
    display: inline-flex;
    align-items: center;
    gap: 1px;
    margin-inline-start: 8px;
    direction: ltr;
    vertical-align: middle;
}

#main.pd-page .pd-cmt-star {
    display: inline-block;
    width: 13px;
    height: 13px;
    line-height: 13px;
    font-size: 13px;
    color: #e2d0f2;
}

#main.pd-page .pd-cmt-star::before {
    content: "★";
}

#main.pd-page .pd-cmt-star.is-on {
    color: #ff9a3c;
}

#main.pd-page .pd-cmt-star.is-half {
    color: #e2d0f2;
}

#main.pd-page .pd-cmt-star.is-half::before {
    background: linear-gradient(90deg, #ff9a3c 50%, #e2d0f2 50%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

#main.pd-page .borderi,
#main.pd-page .borderinesfe {
    width: 100% !important;
    height: 1px !important;
    margin: 12px 0 !important;
    background: rgba(153, 0, 255, .12) !important;
}

#main.pd-page .ghovat_title,
#main.pd-page .zaf_title {
    margin: 0 0 6px !important;
    font-size: 12px !important;
    font-weight: 800;
}

#main.pd-page .ghovat_title { color: #1b8a3e !important; }
#main.pd-page .zaf_title { color: #c62828 !important; }

#main.pd-page .ghovatValue {
    width: auto !important;
    margin: 0 0 6px !important;
    padding: 6px 10px;
    border-radius: 999px;
    background: #f6f1f8;
    color: #2a0845 !important;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

#main.pd-page .pd-c-plus { color: #1b8a3e !important; font-weight: 800; }
#main.pd-page .pd-c-minus { color: #c62828 !important; font-weight: 800; }

#main.pd-page .matnNazarr,
#main.pd-page .matnJavab {
    width: 100% !important;
    margin: 0 !important;
    color: #4a3558 !important;
    font-size: 14px;
    line-height: 1.9 !important;
}

#main.pd-page .pd-cmt-photos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 7px;
    margin: 12px 0 2px;
}
#main.pd-page .pd-cmt-photos__hint {
    flex: 1 0 100%;
    margin: 0;
    font-size: 11px;
    font-weight: 700;
    color: #c026d3 !important;
    opacity: .82;
    letter-spacing: -.01em;
}
#main.pd-page button.pd-cmt-photo {
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    display: block;
    width: 44px;
    height: 44px;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    flex: 0 0 44px;
}
#main.pd-page .pd-cmt-photo__frame {
    display: block;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    overflow: hidden;
    border: 1.5px solid rgba(236, 72, 153, .35);
    box-shadow:
        0 6px 14px rgba(192, 38, 211, .18),
        inset 0 0 0 1px rgba(255, 255, 255, .7);
    background:
        linear-gradient(120deg, #fce7f3 0%, #f3e8ff 50%, #fce7f3 100%);
    background-size: 200% 100%;
    animation: pdCmtPhotoShimmer 1.4s ease-in-out infinite;
}
#main.pd-page .pd-cmt-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity .35s ease, transform .35s ease;
}
#main.pd-page .pd-cmt-photo img.is-in {
    opacity: 1;
    transform: scale(1);
}
#main.pd-page .pd-cmt-photo:has(img.is-in) .pd-cmt-photo__frame {
    animation: none;
    background: #fce7f3;
}
#main.pd-page .pd-cmt-photo:hover .pd-cmt-photo__frame,
#main.pd-page .pd-cmt-photo:focus-visible .pd-cmt-photo__frame {
    border-color: #e879f9;
    box-shadow: 0 0 0 3px rgba(244, 114, 182, .28);
    transform: translateY(-1px);
}
#main.pd-page .pd-cmt-photo__heart {
    position: absolute;
    left: -3px;
    bottom: -3px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #fb7185, #c026d3);
    color: #fff !important;
    font-size: 9px;
    line-height: 1;
    box-shadow: 0 4px 8px rgba(192, 38, 211, .35);
    pointer-events: none;
}
@keyframes pdCmtPhotoShimmer {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

#main.pd-page .porseshii {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    direction: rtl !important;
    margin: 0 0 8px !important;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(153, 0, 255, .1);
    color: #9900ff !important;
    font-size: 12px;
    font-weight: 800;
}

#main.pd-page .porseshii svg,
#main.pd-page .fa-question {
    color: #9900ff !important;
}

#main.pd-page .btnanswerToquestion {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    width: auto !important;
    margin: 10px 0 4px !important;
    padding: 8px 12px;
    border-radius: 999px;
    background: linear-gradient(90deg, #fff4d6, #ffe259);
    color: #5c1480 !important;
    direction: rtl !important;
    text-align: right !important;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

#main.pd-page .btnanswerToquestion svg path {
    fill: #9900ff;
}

#main.pd-page .takijavab {
    margin-top: 12px !important;
    padding: 12px 14px;
    border-radius: 16px;
    background: linear-gradient(180deg, #fbf5ff, #fff);
    border: 1px solid rgba(153, 0, 255, .1);
}

#main.pd-page .pasokhJavabParent {
    margin: 0 0 4px !important;
    color: #54038b !important;
    font-size: 13px;
    font-weight: 800;
}

#main.pd-page .pasokhStatic {
    color: #9900ff !important;
}

#main.pd-page .like_dislike_parent {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    width: 100% !important;
    margin: 12px 0 0 !important;
    text-align: right !important;
    color: #4a3758 !important;
    font-size: 12px;
}

#main.pd-page .pd-c-useful {
    width: 100%;
    color: #4a3758 !important;
    font-weight: 700;
}

#main.pd-page .ghovat .borderinesfe,
#main.pd-page .zaf .borderinesfe {
    display: none;
}

#main.pd-page .like_dislike_parent > span[style] {
    float: none !important;
    order: -1;
    color: #4a3758 !important;
    font-weight: 700;
}

#main.pd-page .baliii,
#main.pd-page .kheyr {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin: 0 !important;
    padding: 6px 12px !important;
    border: 1px solid rgba(153, 0, 255, .18) !important;
    border-radius: 999px !important;
    background: #fbf5ff;
    color: #54038b !important;
    font-size: 12px !important;
    font-weight: 800;
    cursor: pointer;
}

#main.pd-page .baliii span,
#main.pd-page .kheyr span {
    color: inherit !important;
}

#main.pd-page .cellVideoTitle {
    border-color: #ffcc00 !important;
    color: #fff;
    float: none !important;
    flex: 0 0 auto;
}

#main.pd-page .videoProductContent .main-carousel {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 8px;
}
#main.pd-page .videoProductContent .main-carousel::-webkit-scrollbar {
    display: none;
}

#main.pd-page .contentVideos video {
    width: 100%;
    border-radius: 18px;
    background: #000;
}

/* Suggested products slider */
#main.pd-page .Sugest_Product_Mother {
    width: 100% !important;
    margin: 16px 0 24px !important;
    background: transparent !important;
}
#main.pd-page .Sugest_Product,
#main.pd-page .mojod_dar_tehran {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}
#main.pd-page .titleMojodDarTehranMother {
    height: auto !important;
    text-align: center;
    margin: 0 0 12px;
}
#main.pd-page .title_mojod_dar_tehran {
    position: static !important;
    top: auto !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, #9900ff, #ff6ec7) !important;
    color: #fff !important;
    box-shadow: 0 10px 22px rgba(153, 0, 255, .28) !important;
    padding: 10px 18px !important;
    font-size: 15px !important;
    font-weight: 800;
    border-radius: 999px !important;
}
#main.pd-page .title_mojod_dar_tehran .red_1 {
    display: none;
}
#main.pd-page .asl_lamsi {
    background: #f9f0ff !important;
    padding: 16px 0 12px !important;
    margin: 0 !important;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(153, 0, 255, .08);
}
#main.pd-page .asl_lamsi .swiper-container {
    width: 100%;
}
#main.pd-page .asl_lamsi .swiper-slide {
    background: #fff !important;
    border: 1px solid rgba(153, 0, 255, .12);
    border-radius: 22px !important;
    box-shadow: 0 8px 20px rgba(153, 0, 255, .1) !important;
    overflow: hidden;
    padding: 0 0 12px;
    height: auto;
}
#main.pd-page .asl_lamsi .suggest-card-link,
#main.pd-page .asl_lamsi .swiper-slide > a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: #9900ff;
    font-weight: 600;
    padding: 0 6px 2px;
    box-sizing: border-box;
}
#main.pd-page .title_product_lamsi {
    color: #54038b;
    font-weight: 700;
    font-size: 12px;
    padding: 8px 8px 0;
    text-align: center;
    direction: rtl;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
#main.pd-page .title_product_price_lamsi {
    padding: 4px 8px 0;
    color: #9900ff;
    font-weight: 700;
    font-size: 11px;
    text-align: center;
}
#main.pd-page .title_product_price_lamsi .red,
#main.pd-page .title_product_price_lamsi span.red {
    color: #e53935;
}
#main.pd-page .title_product_price_lamsi .toman {
    font-size: 10px;
    opacity: .85;
}
#main.pd-page .asl_lamsi .item3_lamsi {
    width: 100% !important;
    height: auto !important;
    max-width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: contain;
    object-position: center;
    background: #fff;
    display: block;
    border-radius: 22px 22px 0 0;
}

/* Sticky buy bar */
#main.pd-page .pd-sticky-buy {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: calc(var(--pd-tab-h) + 8px);
    z-index: 11;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 8px 8px 12px;
    background: linear-gradient(90deg, #54038b, #9900ff 55%, #c748df);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 22px;
    box-shadow: 0 16px 36px rgba(84, 3, 139, .38);
}

#main.pd-page .pd-sticky-buy.is-hidden {
    display: none;
}

#main.pd-page .pd-sticky-price {
    flex: 1;
    min-width: 0;
    text-align: right;
}

#main.pd-page .pd-sticky-price strong {
    display: block;
    font-size: 16px;
    font-weight: 800;
    color: #fff;
}

#main.pd-page .pd-sticky-price span {
    font-size: 11px;
    color: rgba(255, 255, 255, .7);
    text-decoration: line-through;
}

#main.pd-page .pd-sticky-cta {
    flex: 0 0 auto;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #ffe259, #ffcc00);
    color: #5c1480;
    font-family: inherit;
    font-size: 14px;
    font-weight: 800;
    padding: 12px 16px;
    cursor: pointer;
    white-space: nowrap;
}

#main.pd-page .pd-sticky-cta:disabled {
    cursor: wait;
}

#main.pd-page .pd-cart-toast {
    position: fixed;
    left: 50%;
    right: auto;
    bottom: calc(212px + env(safe-area-inset-bottom, 0px));
    z-index: 99952;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: max-content;
    max-width: calc(100% - 28px);
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(42, 8, 69, .9);
    border: 1px solid rgba(255, 255, 255, .14);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    line-height: 1.45;
    box-shadow: 0 10px 24px rgba(42, 8, 69, .22);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, 8px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
}

#main.pd-page .pd-cart-toast.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

#main.pd-page .pd-cart-toast-icon {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    position: relative;
    border-radius: 50%;
    background: rgba(255, 204, 0, .18);
}

#main.pd-page .pd-cart-toast.is-ok .pd-cart-toast-icon::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 3px;
    width: 4px;
    height: 8px;
    border: solid #ffcc00;
    border-width: 0 1.5px 1.5px 0;
    transform: rotate(45deg);
}

#main.pd-page .pd-cart-toast.is-error .pd-cart-toast-icon,
#main.pd-page .pd-cart-toast.is-warn .pd-cart-toast-icon {
    display: none;
}

#main.pd-page .pd-cart-toast-text {
    min-width: 0;
}

@media (prefers-reduced-motion: reduce) {
    #main.pd-page .pd-cart-toast {
        transition: opacity .15s linear;
        transform: translate(-50%, 0);
    }
}

@media (min-width: 780px) {
    #main.pd-page {
        width: min(1240px, calc(100% - 32px)) !important;
        max-width: 1240px;
        padding: 8px 0 40px;
        margin: 12px auto 0 !important;
        display: block;
        float: none !important;
    }

    #main.pd-page .pd-hero {
        display: grid !important;
        direction: ltr;
        grid-template-columns: minmax(320px, 1fr) minmax(380px, 48%);
        grid-template-areas: "info gallery";
        gap: 22px;
        align-items: start;
    }

    #main.pd-page .pd-gallery-col {
        display: flex !important;
        flex-direction: column;
        gap: 14px;
        grid-area: gallery;
        direction: rtl;
        position: static !important;
        align-self: start !important;
        margin-top: 0 !important;
        float: none !important;
        height: auto;
        justify-content: flex-start;
    }

    #main.pd-page .pd-info-col {
        display: flex !important;
        flex-direction: column;
        gap: 14px;
        grid-area: info;
        direction: rtl;
        position: static !important;
        align-self: start !important;
        margin-top: 0 !important;
        float: none !important;
    }

    #main.pd-page .galleryMother,
    #main.pd-page .product_future_Mother,
    #main.pd-page .tozihat_short_Mother {
        float: none !important;
        clear: none;
    }

    #main.pd-page .product_future_Mother {
        position: sticky;
        top: 84px;
        z-index: 2;
        margin-top: 0 !important;
        order: 0;
    }

    #main.pd-page .productfutureNew {
        order: 1;
        margin-top: 0 !important;
    }

    #main.pd-page .pd-desc-preview {
        order: 2;
    }

    #main.pd-page .pd-gallery-block {
        order: 1;
    }

    #main.pd-page .tagsMothers {
        order: 2;
        margin: 0 !important;
        height: auto !important;
        padding: 4px 0 !important;
    }

    #main.pd-page .pd-compare {
        order: 3;
        padding: 16px 16px 12px;
    }

    #main.pd-page .pd-compare-prod img {
        width: 120px;
        height: 120px;
    }

    #main.pd-page .tozihat_short_Mother {
        order: 4;
        margin: 0 !important;
    }

    #main.pd-page .Sugest_Product_Mother {
        order: 5;
        margin-top: 8px !important;
    }

    #main.pd-page .videoStrory {
        height: auto !important;
        min-height: 220px;
    }

    #main.pd-page .videoStrory .PArentItemVIdeo {
        width: 150px !important;
    }

    #main.pd-page .videoStrory .main-carousel {
        height: auto;
        min-height: 188px;
    }

    #main.pd-page .videoStrory .parentImg {
        width: 140px !important;
        height: 140px !important;
    }

    #main.pd-page .galleryMother .MothersliderImage {
        aspect-ratio: 1 / 1;
        border-radius: 0;
    }

    #main.pd-page .pd-gal-nav {
        display: flex;
    }

    #main.pd-page .pd-thumbs {
        display: flex;
    }

    #main.pd-page .MothersliderImage .swiper-pagination,
    #main.pd-page .sliderImage > .swiper-pagination {
        display: none;
    }

    #main.pd-page .title_PRoduct h1 {
        font-size: 24px;
    }

    #main.pd-page .product_future_child .price_parent {
        font-size: 26px !important;
    }

    #main.pd-page .pd-sticky-buy {
        display: none !important;
    }

    #main.pd-page .pd-cart-toast {
        bottom: 136px;
    }

    #main.pd-page .rowSarbarg {
        flex-wrap: wrap !important;
    }

    #main.pd-page .rowSarbargTaki {
        font-size: 14px !important;
        padding: 12px 16px !important;
    }

    #main.pd-page .moshakhasat_title {
        flex-basis: 220px;
    }

    #main.pd-page .ersal_kala_mother {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 10px;
        align-items: stretch;
    }

    #main.pd-page .title_ersal_kala {
        grid-column: 1 / -1;
        margin-bottom: 0 !important;
    }

    #main.pd-page .ersalFori {
        margin: 0 !important;
    }
}

@media (max-width: 779px) {
    #main.pd-page {
        width: 100% !important;
        /* فاصله از هدر فیکس موبایل (.nav_mobile ≈ 54px) تا استوری زیر سرچ نرود */
        margin-top: 58px !important;
        padding: 0 8px calc(132px + env(safe-area-inset-bottom, 0px));
        display: flex;
        flex-direction: column;
    }

    /* Keep site footer out of the mobile flex reorder (if ever nested) */
    #main.pd-page > .zs-footer {
        order: 9999;
    }

    #main.pd-page .videoStrory { order: -10; }
    #main.pd-page .pd-hero { order: 2; }
    #main.pd-page .Sugest_Product_Mother { order: 8; }

    #main.pd-page .pd-gallery-col,
    #main.pd-page .pd-info-col {
        display: contents;
    }

    #main.pd-page .pd-gallery-block { order: 1; }
    #main.pd-page .tagsMothers { order: 2 !important; }
    #main.pd-page .product_future_Mother { order: 3; }
    #main.pd-page .pd-compare { order: 4; }
    #main.pd-page .productfutureNew { order: 5; }
    #main.pd-page .pd-desc-preview { order: 6; }
    #main.pd-page .tozihat_short_Mother { order: 7; }

    #main.pd-page .galleryMother,
    #main.pd-page .product_future_child,
    #main.pd-page .pd-compare,
    #main.pd-page .tozihat_short_Mother .tozihat_short {
        border-radius: 22px !important;
    }

    #main.pd-page .pd-badges {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 6px;
    }

    #main.pd-page .pd-badge {
        font-size: 10px;
        padding: 8px 4px;
    }

    #main.pd-page .naghdBaresii {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    #main.pd-page .rowSarbarg,
    #main.pd-page .rowMainTar {
        display: contents;
    }

    #main.pd-page .rowSarbargTaki[data-tab="0"] { order: 1; }
    #main.pd-page .rowMain[data-tab="0"] { order: 2; }
    #main.pd-page .rowSarbargTaki[data-tab="1"] { order: 3; }
    #main.pd-page .rowMain[data-tab="1"] { order: 4; }
    #main.pd-page .rowSarbargTaki[data-tab="2"] { order: 5; }
    #main.pd-page .rowMain[data-tab="2"] { order: 6; }
    #main.pd-page .rowSarbargTaki[data-tab="3"] { order: 7; }
    #main.pd-page .rowMain[data-tab="3"] { order: 8; }
    #main.pd-page .rowSarbargTaki[data-tab="4"] { order: 9; }
    #main.pd-page .rowMain[data-tab="4"] { order: 10; }
    #main.pd-page .rowSarbargTaki[data-tab="5"] { order: 11; }
    #main.pd-page .rowMain[data-tab="5"] { order: 12; }

    #main.pd-page .rowSarbargTaki {
        width: 100% !important;
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        border-radius: 16px !important;
        background: rgba(255, 255, 255, .14) !important;
        color: #fff !important;
        padding: 14px 16px !important;
        font-size: 14px !important;
        white-space: nowrap;
    }

    #main.pd-page .rowSarbargTaki::after {
        content: "";
        width: 8px;
        height: 8px;
        flex: 0 0 8px;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: rotate(45deg);
        margin-right: auto;
        transition: transform .2s ease;
    }

    #main.pd-page .borderClassRowSarbargTaki {
        background: #fff !important;
        color: #9900ff !important;
        border-radius: 16px !important;
    }

    #main.pd-page .borderClassRowSarbargTaki::after {
        transform: rotate(-135deg);
    }

    #main.pd-page .rowMain {
        background: rgba(255, 255, 255, .1);
        border-radius: 16px;
        padding: 10px 8px 14px !important;
        margin: 0 0 4px;
    }

    #main.pd-page .commentii {
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
    }

    #main.pd-page .addPorsesh {
        max-height: none !important;
        overflow: visible !important;
    }

    #main.pd-page .pd-features-body {
        display: block;
        margin-top: 0;
        padding: 4px 2px 2px;
        max-height: 600px;
        overflow: hidden;
    }

    #main.pd-page .productfutureNew.is-open .pd-features-body {
        display: block;
        max-height: none;
        overflow: visible;
    }

    #main.pd-page .rowSarbargTaki.is-tab-hidden,
    #main.pd-page .rowMain.is-tab-hidden {
        display: none !important;
    }
}

.pd-fav-login {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .28s ease, visibility .28s ease;
    font-family: bym, yekan, Tahoma, sans-serif;
    direction: rtl;
}
.pd-fav-login[hidden] {
    display: none !important;
}
.pd-fav-login.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.pd-fav-login__overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 80% 0%, rgba(244, 114, 182, .22), transparent 55%),
        radial-gradient(ellipse 70% 45% at 10% 100%, rgba(167, 139, 250, .2), transparent 50%),
        rgba(36, 16, 46, .42);
}
.pd-fav-login.is-open .pd-fav-login__overlay {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.pd-fav-login__card {
    position: relative;
    width: min(420px, 100%);
    overflow: hidden;
    border-radius: 28px;
    padding: 28px 24px 22px;
    text-align: center;
    background:
        radial-gradient(ellipse 90% 70% at 100% 0%, rgba(251, 207, 232, .7), transparent 55%),
        radial-gradient(ellipse 80% 60% at 0% 100%, rgba(237, 233, 254, .85), transparent 50%),
        linear-gradient(180deg, #fffafd 0%, #fff 58%, #fdf8ff 100%);
    border: 1px solid rgba(255, 255, 255, .8);
    box-shadow:
        0 24px 60px rgba(88, 28, 135, .22),
        0 0 0 1px rgba(244, 114, 182, .08);
    transform: translateY(18px) scale(.96);
    transition: transform .32s cubic-bezier(.22, 1, .36, 1);
}
.pd-fav-login.is-open .pd-fav-login__card {
    transform: translateY(0) scale(1);
}
.pd-fav-login__sparkles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.pd-fav-login__sparkles span {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #f9a8d4;
    opacity: .7;
    animation: pdFavSparkle 2.4s ease-in-out infinite;
}
.pd-fav-login__sparkles span:nth-child(1) { top: 22px; left: 28px; background: #fbcfe8; }
.pd-fav-login__sparkles span:nth-child(2) { top: 38px; right: 34px; width: 6px; height: 6px; background: #c4b5fd; animation-delay: .4s; }
.pd-fav-login__sparkles span:nth-child(3) { bottom: 86px; left: 22px; width: 7px; height: 7px; background: #f472b6; animation-delay: .8s; }
.pd-fav-login__sparkles span:nth-child(4) { bottom: 58px; right: 26px; width: 5px; height: 5px; background: #ddd6fe; animation-delay: 1.1s; }
.pd-fav-login__icon {
    position: relative;
    width: 78px;
    height: 78px;
    margin: 4px auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(145deg, #fff 0%, #fff1f7 100%);
    box-shadow:
        0 12px 28px rgba(244, 63, 94, .18),
        inset 0 0 0 1px rgba(251, 113, 133, .18);
}
.pd-fav-login__icon::after {
    content: "";
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 1px dashed rgba(244, 114, 182, .35);
    animation: pdFavSpin 12s linear infinite;
}
.pd-fav-login__icon svg {
    width: 36px;
    height: 36px;
    display: block;
    animation: pdFavPulse 1.6s ease-in-out infinite;
}
.pd-fav-login__icon svg path:last-child {
    fill: #e11d48;
}
.pd-fav-login__card h3 {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 800;
    color: #4a154b;
    line-height: 1.5;
}
.pd-fav-login__card p {
    margin: 0 0 22px;
    font-size: 14px;
    line-height: 2;
    color: #6b5770;
    padding: 0 6px;
}
.pd-fav-login__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.pd-fav-login__go,
.pd-fav-login__later {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 15px;
    font-weight: 800;
    border-radius: 16px;
    padding: 13px 16px;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.pd-fav-login__go {
    color: #fff;
    background: linear-gradient(135deg, #db2777 0%, #7c3aed 100%);
    box-shadow: 0 12px 24px rgba(190, 24, 93, .28);
}
.pd-fav-login__go:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 28px rgba(190, 24, 93, .34);
}
.pd-fav-login__later {
    color: #7a5a86;
    background: rgba(255, 255, 255, .72);
    border: 1px solid rgba(196, 181, 253, .55);
}
.pd-fav-login__later:hover {
    background: #f5f3ff;
    color: #5b21b6;
}
.pd-fav-login__close {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, .8);
    color: #8b6b93;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(76, 29, 149, .08);
}
.pd-fav-login__close svg {
    width: 16px;
    height: 16px;
    display: block;
}
@keyframes pdFavPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}
@keyframes pdFavSparkle {
    0%, 100% { transform: scale(1); opacity: .55; }
    50% { transform: scale(1.5); opacity: 1; }
}
@keyframes pdFavSpin {
    to { transform: rotate(360deg); }
}
@media (max-width: 779px) {
    .pd-fav-login {
        align-items: flex-end;
        padding: 0;
    }
    .pd-fav-login__card {
        width: 100%;
        border-radius: 28px 28px 0 0;
        padding: 26px 20px calc(18px + env(safe-area-inset-bottom, 0px));
        transform: translateY(40px);
    }
    .pd-fav-login.is-open .pd-fav-login__card {
        transform: translateY(0);
    }
    .pd-fav-login__card h3 {
        font-size: 18px;
    }
    .pd-fav-login__card p {
        font-size: 13.5px;
    }
}

#main.pd-page .pd-insta-btn {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}
#main.pd-page .pd-insta-btn:active {
    transform: scale(.94);
}
#main.pd-page .icontop > .pd-insta-btn svg,
#main.pd-page .pd-insta-btn svg {
    width: 24px !important;
    height: 24px !important;
    display: block;
    transform-origin: center;
    animation: pdIgHeartbeat 1.35s ease-in-out infinite;
}
@keyframes pdIgHeartbeat {
    0%, 100% { transform: scale(1); }
    12% { transform: scale(1.28); }
    24% { transform: scale(1); }
    36% { transform: scale(1.18); }
    48% { transform: scale(1); }
}

.pd-ig-dialog {
    position: fixed;
    inset: 0;
    z-index: 10060;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .28s ease, visibility .28s ease;
    font-family: bym, yekan, Tahoma, sans-serif;
    direction: rtl;
}
.pd-ig-dialog[hidden] {
    display: none !important;
}
.pd-ig-dialog.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.pd-ig-dialog__overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 85% 0%, rgba(253, 29, 29, .22), transparent 55%),
        radial-gradient(ellipse 70% 45% at 8% 100%, rgba(131, 58, 180, .28), transparent 50%),
        rgba(18, 8, 28, .52);
}
.pd-ig-dialog.is-open .pd-ig-dialog__overlay {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.pd-ig-dialog__card {
    position: relative;
    width: min(420px, 100%);
    overflow: hidden;
    border-radius: 30px;
    padding: 30px 24px 22px;
    text-align: center;
    background:
        radial-gradient(ellipse 90% 70% at 100% 0%, rgba(253, 187, 45, .28), transparent 52%),
        radial-gradient(ellipse 80% 60% at 0% 100%, rgba(225, 48, 108, .16), transparent 50%),
        linear-gradient(180deg, #fffafc 0%, #fff 58%, #faf5ff 100%);
    border: 1px solid rgba(255, 255, 255, .85);
    box-shadow:
        0 28px 64px rgba(88, 28, 135, .28),
        0 0 0 1px rgba(225, 48, 108, .08);
    transform: translateY(18px) scale(.96);
    transition: transform .32s cubic-bezier(.22, 1, .36, 1);
}
.pd-ig-dialog.is-open .pd-ig-dialog__card {
    transform: translateY(0) scale(1);
}
.pd-ig-dialog__card::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 1.5px;
    border-radius: inherit;
    background: linear-gradient(135deg, #f58529, #dd2a7b 42%, #8134af 72%, #515bd4);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}
.pd-ig-dialog__orbs {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.pd-ig-dialog__orbs span {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
    opacity: .55;
    animation: pdIgFloat 3.4s ease-in-out infinite;
}
.pd-ig-dialog__orbs span:nth-child(1) {
    width: 10px;
    height: 10px;
    top: 22px;
    left: 28px;
    background: #f77737;
}
.pd-ig-dialog__orbs span:nth-child(2) {
    width: 7px;
    height: 7px;
    top: 42px;
    right: 32px;
    background: #c13584;
    animation-delay: .5s;
}
.pd-ig-dialog__orbs span:nth-child(3) {
    width: 8px;
    height: 8px;
    bottom: 92px;
    left: 24px;
    background: #833ab4;
    animation-delay: 1s;
}
.pd-ig-dialog__orbs span:nth-child(4) {
    width: 6px;
    height: 6px;
    bottom: 54px;
    right: 26px;
    background: #fdc468;
    animation-delay: 1.4s;
}
.pd-ig-dialog__logo {
    position: relative;
    width: 92px;
    height: 92px;
    margin: 6px auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 28px;
    background: linear-gradient(45deg, #f58529, #dd2a7b 40%, #8134af 70%, #515bd4);
    box-shadow: 0 16px 32px rgba(221, 42, 123, .32);
}
.pd-ig-dialog__logo::after {
    content: "";
    position: absolute;
    inset: -8px;
    border-radius: 34px;
    border: 2px dashed rgba(221, 42, 123, .28);
    animation: pdFavSpin 14s linear infinite;
}
.pd-ig-dialog__logo svg {
    width: 46px;
    height: 46px;
    color: #fff;
    display: block;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .18));
}
.pd-ig-dialog__card h3 {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 800;
    color: #3b0764;
    line-height: 1.5;
}
.pd-ig-dialog__card p {
    margin: 0 0 18px;
    font-size: 13.5px;
    line-height: 2;
    color: #6b5770;
    padding: 0 6px;
}
.pd-ig-dialog__handle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 auto 18px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .78);
    border: 1px solid rgba(221, 42, 123, .18);
    box-shadow: 0 8px 20px rgba(131, 58, 180, .08);
    cursor: pointer;
    font-family: inherit;
    color: #4a154b;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: .02em;
    -webkit-tap-highlight-color: transparent;
}
.pd-ig-dialog__handle:hover {
    background: #fff;
}
.pd-ig-dialog__handle svg {
    width: 16px;
    height: 16px;
    color: #c13584;
}
.pd-ig-dialog__handle.is-copied {
    color: #059669;
    border-color: rgba(5, 150, 105, .28);
}
.pd-ig-dialog__handle.is-copied svg {
    color: #059669;
}
.pd-ig-dialog__go {
    appearance: none;
    -webkit-appearance: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 15px;
    font-weight: 800;
    border-radius: 16px;
    padding: 14px 16px;
    color: #fff;
    text-decoration: none;
    background: linear-gradient(135deg, #f58529 0%, #dd2a7b 48%, #8134af 100%);
    box-shadow: 0 14px 28px rgba(221, 42, 123, .32);
    transition: transform .18s ease, box-shadow .18s ease;
}
.pd-ig-dialog__go:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 32px rgba(221, 42, 123, .4);
    color: #fff;
}
.pd-ig-dialog__go svg {
    width: 18px;
    height: 18px;
}
.pd-ig-dialog__close {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, .84);
    color: #8b6b93;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(76, 29, 149, .08);
    z-index: 2;
}
.pd-ig-dialog__close svg {
    width: 16px;
    height: 16px;
    display: block;
}
@keyframes pdIgFloat {
    0%, 100% { transform: translateY(0) scale(1); opacity: .45; }
    50% { transform: translateY(-8px) scale(1.2); opacity: .9; }
}
@media (max-width: 779px) {
    .pd-ig-dialog {
        align-items: flex-end;
        padding: 0;
    }
    .pd-ig-dialog__card {
        width: 100%;
        border-radius: 30px 30px 0 0;
        padding: 28px 20px calc(18px + env(safe-area-inset-bottom, 0px));
        transform: translateY(40px);
    }
    .pd-ig-dialog.is-open .pd-ig-dialog__card {
        transform: translateY(0);
    }
    .pd-ig-dialog__card h3 {
        font-size: 18px;
    }
}

/* AI comment summary — top of product card */
#main.pd-page #commentTablayout {
    scroll-margin-top: 92px;
}

#main.pd-page .pd-cmt-ai {
    position: relative;
    z-index: 1;
    margin: 2px 0 14px;
    padding: 12px 13px 12px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .1));
    border: 1px solid rgba(255, 255, 255, .3);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22);
    color: #fff;
}

#main.pd-page .pd-cmt-ai-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin: 0 0 8px;
}

#main.pd-page .pd-cmt-ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    color: #ffe259;
    font-size: 12px;
    font-weight: 800;
}

#main.pd-page .pd-cmt-ai-badge svg {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
}

#main.pd-page .pd-cmt-ai-count {
    flex: 0 0 auto;
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(255, 204, 0, .18);
    color: #ffe259;
    font-size: 11px;
    font-weight: 800;
}

#main.pd-page .pd-cmt-ai-headline {
    margin: 0 0 6px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.7;
    color: #fff;
}

#main.pd-page .pd-cmt-ai-text {
    margin: 0 0 10px;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.85;
    color: rgba(255, 255, 255, .9);
    overflow: visible;
    white-space: normal;
    max-height: none;
}

#main.pd-page .pd-cmt-ai-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 10px;
}

#main.pd-page .pd-cmt-ai-tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.4;
}

#main.pd-page .pd-cmt-ai-tag.is-pro {
    background: rgba(46, 204, 113, .18);
    color: #d8ffe8;
}

#main.pd-page .pd-cmt-ai-tag.is-con {
    background: rgba(255, 110, 199, .18);
    color: #ffe0f4;
}

#main.pd-page .pd-cmt-ai-go {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    margin: 0;
    padding: 10px 12px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(90deg, #ffe259, #ffcc00);
    color: #4a027c;
    font: inherit;
    text-align: right;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

#main.pd-page .pd-cmt-ai-go-label {
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

#main.pd-page .pd-cmt-ai-go-hint {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 11px;
    font-weight: 700;
    opacity: .78;
}

#main.pd-page .pd-cmt-ai-go svg {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
}

#main.pd-page .pd-cmt-ai.is-loading .pd-cmt-ai-text {
    background: linear-gradient(90deg, rgba(255,255,255,.12), rgba(255,255,255,.28), rgba(255,255,255,.12));
    background-size: 180% 100%;
    animation: pdCmtAiShimmer 1.4s ease infinite;
    border-radius: 8px;
}

@keyframes pdCmtAiShimmer {
    0% { background-position: 100% 0; }
    100% { background-position: -80% 0; }
}

@media (max-width: 779px) {
    #main.pd-page #commentTablayout {
        scroll-margin-top: 72px;
    }
    #main.pd-page .pd-cmt-ai-go {
        flex-wrap: wrap;
    }
    #main.pd-page .pd-cmt-ai-go-hint {
        order: 3;
        flex: 1 0 100%;
        white-space: normal;
    }
}

#main.pd-page .title_taki_comment,
#main.pd-page .pasokhJavabParent {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

#main.pd-page .pd-admin-edit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 24px;
    padding: 0 9px;
    border-radius: 8px;
    border: 1px solid rgba(122, 31, 162, .28);
    background: #faf7fb;
    color: #7a1fa2;
    font-size: 11px;
    font-weight: 800;
    line-height: 24px;
    text-decoration: none;
    white-space: nowrap;
}

#main.pd-page .pd-admin-edit:hover {
    background: #7a1fa2;
    color: #fff;
    border-color: #7a1fa2;
}

#main.pd-page .commentii .firstSatr {
    height: auto;
    min-height: 50px;
}

#main.pd-page .commentii .firstSatr .firstPerson {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    line-height: 1.4;
    padding: 10px 0;
}


/* Moved from productnew.php inline styles for PageSpeed */
/* اسلایدر سبک جایگزین Swiper */
    .zs-free > .swiper-wrapper {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        overscroll-behavior-x: contain;
        cursor: grab;
    }

    .zs-free > .swiper-wrapper::-webkit-scrollbar {
        display: none;
        width: 0;
        height: 0;
    }

    .zs-free > .swiper-wrapper.is-dragging {
        cursor: grabbing;
        scroll-behavior: auto;
    }

    .zs-free .swiper-slide,
    .zs-gallery .swiper-slide {
        flex-shrink: 0;
        box-sizing: border-box;
        user-select: none;
        -webkit-user-select: none;
    }

    .zs-free img,
    .zs-free a {
        -webkit-user-drag: none !important;
        user-select: none;
        -webkit-user-select: none;
    }

    .zs-free > .swiper-wrapper {
        cursor: grab;
        touch-action: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
    }

    .zs-free > .swiper-wrapper.is-dragging,
    .zs-free > .swiper-wrapper.is-dragging a {
        cursor: grabbing !important;
    }

    .asl_lamsi .swiper-slide > a {
        display: block;
        width: 100%;
        height: 100%;
        box-sizing: border-box;
        text-decoration: none;
        color: #9900ff;
        font-weight: 600;
        cursor: grab;
    }

    .asl_lamsi .swiper-slide > a img {
        width: 100%;
        height: auto;
        max-width: 100%;
        aspect-ratio: 2 / 3;
        object-fit: contain;
        object-position: center;
        background: #fff;
        display: block;
        pointer-events: none; /* درگ روی کارت یکدست باشد؛ کلیک همچنان روی <a> می‌رود */
    }

    .MothersliderImage {
        aspect-ratio: 2 / 3;
        background: #f3f3f3;
        height: auto !important;
    }

    .MothersliderImage .sliderImage {
        position: relative;
        width: 100%;
        height: 100%;
        overflow: hidden;
        direction: ltr !important;
    }

    .zs-gallery {
        position: relative;
        overflow-x: auto;
        overflow-y: hidden;
        width: 100%;
        height: 100%;
        cursor: grab;
        touch-action: pan-x pan-y;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        overscroll-behavior-x: contain;
        scrollbar-width: none;
        -webkit-user-select: none;
        user-select: none;
        direction: ltr !important;
        container-type: inline-size;
    }

    .zs-gallery:not(.is-ready) {
        overflow: hidden;
    }

    .zs-gallery::-webkit-scrollbar {
        display: none;
    }

    .zs-gallery.is-dragging {
        cursor: grabbing;
        touch-action: none;
    }

    .zs-gallery > .swiper-wrapper {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: stretch;
        direction: ltr !important;
        width: 100%;
        max-width: none;
        height: 100%;
        margin: 0;
        padding: 0;
        transform: none;
    }

    .zs-gallery.is-dragging > .swiper-wrapper {
        transition: none;
    }

    .zs-gallery .swiper-slide {
        position: relative;
        overflow: hidden;
        background: transparent;
        height: 100%;
        float: none !important;
        box-sizing: border-box;
        flex: 0 0 100cqw;
        width: 100cqw;
        min-width: 100cqw;
        max-width: 100cqw;
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }

    .zs-gallery .swiper-slide img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center center;
        display: block;
        margin: 0 auto;
        -webkit-user-drag: none;
        pointer-events: none;
    }

    .MothersliderImage .swiper-pagination,
    .sliderImage > .swiper-pagination {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 10px;
        z-index: 6;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 6px;
        pointer-events: none;
    }

    .MothersliderImage .swiper-pagination span {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: rgba(0, 0, 0, 0.28);
        pointer-events: auto;
        cursor: pointer;
        transition: transform .15s ease, background .15s ease;
    }

    .MothersliderImage .swiper-pagination span.is-active {
        background: #9900ff;
        transform: scale(1.2);
    }

    /* لایت‌باکس گالری محصول — سایز بزرگ + زوم */
    .zs-lightbox {
        display: none;
        position: fixed;
        inset: 0;
        z-index: 999999;
        background: rgba(8, 8, 12, 0.96);
        flex-direction: column;
        touch-action: none;
        -webkit-user-select: none;
        user-select: none;
        direction: ltr !important;
    }

    .zs-lightbox.is-open {
        display: flex;
    }

    .zs-lightbox__bar {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        z-index: 5;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 14px;
        padding-top: max(12px, env(safe-area-inset-top));
        background: linear-gradient(to bottom, rgba(0,0,0,.55), transparent);
        pointer-events: none;
        direction: rtl;
    }

    .zs-lightbox__counter {
        color: #fff;
        font-family: yekan, Tahoma, sans-serif;
        font-size: 14px;
        letter-spacing: 0.02em;
        opacity: 0.9;
    }

    .zs-lightbox__close {
        pointer-events: auto;
        width: 42px;
        height: 42px;
        border: 0;
        border-radius: 50%;
        background: rgba(255,255,255,.12);
        color: #fff;
        font-size: 28px;
        line-height: 1;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .zs-lightbox__stage {
        flex: 1;
        position: relative;
        overflow: hidden;
        width: 100%;
        min-height: 0;
        cursor: grab;
        touch-action: none;
        direction: ltr !important;
    }

    .zs-lightbox__stage.is-zoomed {
        cursor: grab;
    }

    .zs-lightbox__stage.is-dragging {
        cursor: grabbing;
    }

    .zs-lightbox__track {
        position: relative;
        display: block;
        height: 100%;
        width: 100%;
        will-change: transform;
        transition: transform 0.28s cubic-bezier(0.22, 0.61, 0.36, 1);
        touch-action: none;
        direction: ltr !important;
    }

    .zs-lightbox__track.is-dragging {
        transition: none;
    }

    .zs-lightbox__slide {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        touch-action: none;
        direction: ltr !important;
    }

    .zs-lightbox__img-wrap {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        transform-origin: center center;
        will-change: transform;
        touch-action: none;
    }

    .zs-lightbox__slide img {
        max-width: 96%;
        max-height: 92%;
        width: auto;
        height: auto;
        object-fit: contain;
        display: block;
        -webkit-user-drag: none;
        pointer-events: none;
        transform-origin: center center;
    }

    .zs-lightbox__nav {
        position: absolute;
        top: calc((100% - 90px) / 2);
        transform: translateY(-50%);
        z-index: 4;
        width: 44px;
        height: 44px;
        border: 0;
        border-radius: 50%;
        background: rgba(255,255,255,.14);
        color: #fff;
        font-size: 22px;
        cursor: pointer;
        display: none;
        align-items: center;
        justify-content: center;
    }

    .zs-lightbox__nav--prev { right: 10px; }
    .zs-lightbox__nav--next { left: 10px; }

    @media (min-width: 768px) {
        .zs-lightbox__nav { display: flex; }
    }

    .zs-lightbox__hint {
        position: absolute;
        bottom: calc(88px + env(safe-area-inset-bottom));
        left: 0;
        right: 0;
        text-align: center;
        color: rgba(255,255,255,.55);
        font-family: yekan, Tahoma, sans-serif;
        font-size: 12px;
        z-index: 4;
        pointer-events: none;
        transition: opacity .3s ease;
    }

    .zs-lightbox__hint.is-hidden {
        opacity: 0;
    }

    .zs-lightbox__thumbs {
        flex: 0 0 auto;
        width: 100%;
        padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
        background: linear-gradient(to top, rgba(0,0,0,.72), rgba(0,0,0,.28));
        box-sizing: border-box;
        z-index: 5;
        direction: ltr !important;
    }

    .zs-lightbox__thumbs-track {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 8px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 2px 0;
        touch-action: pan-x;
        direction: ltr !important;
        justify-content: safe center;
    }

    .zs-lightbox__thumbs-track::-webkit-scrollbar {
        display: none;
    }

    .zs-lightbox__thumb {
        flex: 0 0 auto;
        width: 58px;
        height: 58px;
        padding: 0;
        border: 2px solid transparent;
        border-radius: 8px;
        overflow: hidden;
        background: rgba(255,255,255,.08);
        cursor: pointer;
        opacity: 0.55;
        transition: opacity .18s ease, border-color .18s ease, transform .18s ease;
    }

    .zs-lightbox__thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        pointer-events: none;
        -webkit-user-drag: none;
    }

    .zs-lightbox__thumb.is-active {
        opacity: 1;
        border-color: #fff;
        transform: scale(1.06);
    }

    @media (min-width: 768px) {
        .zs-lightbox__thumb {
            width: 68px;
            height: 68px;
        }
        .zs-lightbox__hint {
            bottom: calc(98px + env(safe-area-inset-bottom));
        }
        .zs-lightbox__thumbs-track {
            justify-content: safe center;
        }
    }

    @media (max-width: 767px) {
        .zs-lightbox__thumbs-track {
            justify-content: flex-start;
        }
    }

    .zs-gallery {
        cursor: zoom-in;
    }

    .asl_lamsi .swiper-slide {
        width: calc(50% - 12px);
        margin-left: 12px;
    }

    .rangBandi .swiper-slide {
        width: calc(33.333% - 8px);
    }

    .tagsMothers .swiper-container,
    .DirectionDastebandi .swiper-container,
    .rangBandi .swiper-container,
    .asl_lamsi .swiper-container {
        width: 100%;
    }

    @media (min-width: 470px) {
        .asl_lamsi .swiper-slide {
            width: calc(33.333% - 12px);
        }
    }

    @media (min-width: 600px) {
        .asl_lamsi .swiper-slide {
            width: calc(25% - 12px);
        }
        .rangBandi .swiper-slide {
            width: calc(25% - 8px);
        }
    }

    @media (min-width: 1000px) {
        .asl_lamsi .swiper-slide {
            width: calc(20% - 12px);
        }
        .rangBandi .swiper-slide {
            width: calc(16.666% - 8px);
        }
    }



    @media (min-width: 780px) {
        .divTozihatDescription0_3{
         width:100%;

       }
        .imgTozihatDescription0_3{
            width:33%;
            display: block;
            margin:0 auto;
            border-radius: 22px;
       }

        .divTozihatDescription0_3  img{
            margin-top:5px;
        }

        .divTozihatDescription0_5{
            width:100%;
        }
        .imgTozihatDescription0_5{
            width:50%;
            display: block;
            margin:0 auto;
            border-radius: 22px;

        }

        .divTozihatDescription0_5  img{
            margin-top:5px;
        }

        .divTozihatDescription0_7{
            width:100%;

        }
        .imgTozihatDescription0_7{
            width:70%;
            display: block;
            margin:0 auto;
            border-radius: 22px;
        }

        .divTozihatDescription0_7  img{
            margin-top:5px;
        }

        .divTozihatDescription{
            width:100%;

        }

        .divTozihatDescription img {
            margin-top:5px;
        }

        .imgTozihatDescription{
            width:90%;
            display: block;
            margin:0 auto;
            border-radius: 22px;
        }

        .divTozihatDescription2li{
            display: flex;
            width: 98%;
            margin: 0 auto;
        }

        .divTozihatDescription2li  >a{
            display: block;
            width: 30%;
            margin: 0 auto;

        }

        .divTozihatDescription2li >a> img{
            display: block;
            width: 100%;
            border-radius: 22px;

        }

        .divTozihatDescription2li > img{
            display: block;
            width: 30%;
            margin: 0 auto;
            border-radius: 22px;

        }

        .divTozihatDescription3li{
            width: 98%;
            margin:0 auto;
            display: flex;
            justify-content: space-between;
        }

        .divTozihatDescription3li > a {
            width: 30%;
            display: block;
            text-align: center;

        }

        .divTozihatDescription3li > img {
            width: 30%;
            display: block;

        }

        .imgTozihatDescription3li{
            width: 100%;
            border-radius: 22px;
        }

        .divTozihatDescription3li > a >img {
            text-align: center;
            margin: 0 auto;

        }


        .divTozihatDescription6li{
            width: 98%;
            margin:0 auto;
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
        }

        .divTozihatDescription6li > a {
            width: 30%;
            display: block;
            text-align: center;
            margin: 5px;


        }

        .divTozihatDescription6li > img {
            width: 30%;
            display: block;
            margin: 5px;

        }

        .imgTozihatDescription6li{
            width: 100%;
            border-radius: 22px;
        }

        .divTozihatDescription6li > a >img {
            text-align: center;
            margin: 0 auto;

        }






        }

.pulse-text{
    color: #fff;
    display: inline-block;
    font-weight: bold;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0%{
        transform: scale(1);
        opacity: 1;
    }
    50%{
        transform: scale(1.15);
        opacity: 0.6;
    }
    100%{
        transform: scale(1);
        opacity: 1;
    }
}

.turkey-order-notice{
    margin: 10px 10px 4px;
    padding: 12px 14px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(225,29,72,.12), rgba(255,255,255,.9));
    border: 1px solid rgba(225,29,72,.22);
    direction: rtl;
}
.turkey-order-notice-title{
    color: #be123c;
    font-weight: 800;
    font-size: 15px;
    margin-bottom: 4px;
}
.turkey-order-notice-text{
    color: #334155;
    font-size: 13px;
    line-height: 1.7;
}
.turkey-ersal-box{
    background: linear-gradient(180deg, #fff5f7, #fff);
    border-radius: 12px;
    padding: 12px !important;
}

.msgProductSlider{
    background: rgb(154,232,109);
    background: linear-gradient(90deg, rgba(154,232,109,1) 0%, rgba(77,190,51,1) 57%, rgba(8,145,53,1) 100%);
    width:300px;
    padding:30px 0;
    color:white;
    position: fixed;
    bottom: 63px;
    right: -310px;
    z-index: 190;
    text-align: center;
    font-size: 17px;
    font-weight: bold;
    transition:0.7s;
}

.zs-share-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.zs-share-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.zs-share-sheet {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    background: #fff;
    border-radius: 18px 18px 0 0;
    padding: 14px 16px calc(18px + env(safe-area-inset-bottom, 0px));
    transform: translateY(110%);
    transition: transform 0.28s ease;
    direction: rtl;
    font-family: yekan, bym, Tahoma, sans-serif;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.12);
}

.zs-share-sheet.is-open {
    transform: translateY(0);
}

.zs-share-handle {
    width: 42px;
    height: 4px;
    border-radius: 99px;
    background: #ddd;
    margin: 0 auto 12px;
}

.zs-share-title {
    font-size: 15px;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0 0 14px;
    text-align: center;
}

.zs-share-actions {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.zs-share-btn {
    border: 0;
    background: #f6f6f7;
    border-radius: 14px;
    padding: 12px 6px 10px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #333;
    font-family: inherit;
    transition: background 0.2s ease, transform 0.15s ease;
}

.zs-share-btn:active {
    transform: scale(0.96);
}

.zs-share-btn span {
    font-size: 11px;
    font-weight: 700;
}

.zs-share-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
}

.zs-share-icon svg {
    width: 22px;
    height: 22px;
    fill: #fff;
}

.zs-share-icon.wa { background: #25D366; }
.zs-share-icon.tg { background: #2AABEE; }
.zs-share-icon.copy { background: #9900ff; }
.zs-share-icon.more { background: #333; }

@media (min-width: 751px) {
    .zs-share-sheet {
        left: 50%;
        right: auto;
        bottom: auto;
        top: 50%;
        width: min(420px, 92vw);
        border-radius: 18px;
        transform: translate(-50%, -46%) scale(0.96);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.25s ease, opacity 0.25s ease;
    }

    .zs-share-sheet.is-open {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
        pointer-events: auto;
    }

    .zs-share-handle {
        display: none;
    }
}

body.pd-cmt-view-lock {
    overflow: hidden;
}

.pd-cmt-view {
    position: fixed;
    inset: 0;
    z-index: 12050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 12px 24px;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .28s ease, visibility .28s ease;
    font-family: bym, yekan, Tahoma, sans-serif;
    direction: rtl;
}
.pd-cmt-view[hidden] {
    display: none !important;
}
.pd-cmt-view.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.pd-cmt-view__overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 85% 0%, rgba(251, 113, 133, .28), transparent 55%),
        radial-gradient(ellipse 70% 45% at 8% 100%, rgba(192, 38, 211, .28), transparent 50%),
        rgba(42, 8, 69, .55);
}
.pd-cmt-view.is-open .pd-cmt-view__overlay {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.pd-cmt-view__card {
    position: relative;
    width: min(520px, 100%);
    max-height: min(88vh, 820px);
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 28px;
    padding: 26px 20px 18px;
    text-align: right;
    background:
        radial-gradient(ellipse 90% 70% at 100% 0%, rgba(251, 207, 232, .75), transparent 55%),
        radial-gradient(ellipse 80% 60% at 0% 100%, rgba(237, 233, 254, .9), transparent 50%),
        linear-gradient(180deg, #fffafd 0%, #fff 58%, #fdf8ff 100%);
    border: 1px solid rgba(255, 255, 255, .85);
    box-shadow:
        0 28px 64px rgba(88, 28, 135, .28),
        0 0 0 1px rgba(244, 114, 182, .1);
    transform: translateY(18px) scale(.96);
    transition: transform .32s cubic-bezier(.22, 1, .36, 1);
    color: #3b0764;
}
.pd-cmt-view.is-open .pd-cmt-view__card {
    transform: translateY(0) scale(1);
}
.pd-cmt-view__card::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 1.5px;
    border-radius: inherit;
    background: linear-gradient(135deg, #fb7185, #e879f9 42%, #a855f7 72%, #7c3aed);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}
.pd-cmt-view__close {
    appearance: none;
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .78);
    color: #7a1fa2;
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(122, 31, 162, .14);
}
.pd-cmt-view__close svg {
    width: 18px;
    height: 18px;
}
.pd-cmt-view__hearts {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.pd-cmt-view__hearts span {
    position: absolute;
    color: #f9a8d4;
    opacity: .45;
    animation: pdCmtHeartFloat 3.6s ease-in-out infinite;
}
.pd-cmt-view__hearts span:nth-child(1) { top: 16px; right: 22px; font-size: 16px; }
.pd-cmt-view__hearts span:nth-child(2) { top: 38px; left: 58px; font-size: 12px; animation-delay: .6s; color: #d8b4fe; }
.pd-cmt-view__hearts span:nth-child(3) { bottom: 22px; right: 28px; font-size: 14px; animation-delay: 1.1s; }
.pd-cmt-view__hearts span:nth-child(4) { bottom: 48px; left: 18px; font-size: 11px; animation-delay: 1.8s; color: #f472b6; }
@keyframes pdCmtHeartFloat {
    0%, 100% { transform: translateY(0) scale(1); opacity: .35; }
    50% { transform: translateY(-7px) scale(1.12); opacity: .7; }
}
.pd-cmt-view__kicker {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 800;
    color: #db2777;
}
.pd-cmt-view__title {
    margin: 0 0 6px;
    padding-left: 40px;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.55;
    color: #581c87;
}
.pd-cmt-view__meta {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 700;
    color: #7e5a9a;
}
.pd-cmt-view__stars {
    display: flex;
    gap: 2px;
    direction: ltr;
    justify-content: flex-end;
    margin: 0 0 10px;
}
.pd-cmt-view__star {
    color: #e9d5ff;
    font-size: 15px;
    line-height: 1;
}
.pd-cmt-view__star::before { content: "★"; }
.pd-cmt-view__star.is-on { color: #fb7185; }
.pd-cmt-view__star.is-half {
    background: linear-gradient(90deg, #fb7185 50%, #e9d5ff 50%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.pd-cmt-view__points {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 12px;
}
.pd-cmt-view__chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    background: #fdf2f8;
    color: #9d174d;
}
.pd-cmt-view__chip.is-pro {
    background: #ecfdf5;
    color: #047857;
}
.pd-cmt-view__chip.is-con {
    background: #fff1f2;
    color: #be123c;
}
.pd-cmt-view__chip b { font-weight: 800; }
.pd-cmt-view__text {
    margin: 0 0 14px;
    font-size: 14px;
    line-height: 2;
    color: #4c1d6d;
    white-space: normal;
}
.pd-cmt-view__empty {
    color: #a855f7;
    font-size: 13px;
}
.pd-cmt-view__gallery {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 8px;
}
.pd-cmt-view__stage {
    position: relative;
    flex: 1;
    min-height: 180px;
    max-height: min(52vh, 420px);
    border-radius: 20px;
    overflow: hidden;
    background:
        linear-gradient(180deg, #fdf2f8, #faf5ff);
    box-shadow: inset 0 0 0 1px rgba(244, 114, 182, .16);
    display: grid;
    place-items: center;
}
.pd-cmt-view__stage img {
    max-width: 100%;
    max-height: min(52vh, 420px);
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    opacity: 0;
    transition: opacity .28s ease;
}
.pd-cmt-view__stage img.is-in {
    opacity: 1;
}
.pd-cmt-view__loader {
    position: absolute;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 3px solid #fbcfe8;
    border-top-color: #c026d3;
    animation: pdCmtSpin .7s linear infinite;
    opacity: 0;
    pointer-events: none;
}
.pd-cmt-view__stage.is-loading .pd-cmt-view__loader {
    opacity: 1;
}
@keyframes pdCmtSpin {
    to { transform: rotate(360deg); }
}
.pd-cmt-view__nav {
    appearance: none;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #f472b6, #a855f7);
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 8px 16px rgba(168, 85, 247, .28);
}
.pd-cmt-view__gallery.is-single .pd-cmt-view__nav {
    visibility: hidden;
    pointer-events: none;
}
.pd-cmt-view__counter {
    text-align: center;
    font-size: 12px;
    font-weight: 800;
    color: #c026d3;
    margin: 0 0 10px;
}
.pd-cmt-view__thumbs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px;
}
.pd-cmt-view__thumb {
    appearance: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 14px;
    overflow: hidden;
    background: #fdf2f8;
    cursor: pointer;
}
.pd-cmt-view__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.pd-cmt-view__thumb.is-active {
    border-color: #e879f9;
    box-shadow: 0 0 0 3px rgba(244, 114, 182, .25);
}

@media (max-width: 560px) {
    .pd-cmt-view {
        padding: 10px 8px 16px;
        align-items: flex-end;
    }
    .pd-cmt-view__card {
        width: 100%;
        max-height: 92vh;
        border-radius: 24px 24px 18px 18px;
        padding: 22px 14px 14px;
    }
    #main.pd-page button.pd-cmt-photo,
    #main.pd-page .pd-cmt-photo__frame {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }
}

#main.pd-page .pd-mag {
    margin: 18px 0 8px;
    padding: 16px;
    border-radius: 22px;
    background: #faf6ff;
    border: 1px solid rgba(153, 0, 255, .12);
}
#main.pd-page .pd-mag h2 {
    margin: 0 0 12px;
    font-size: 17px;
    color: #4c1d95;
}
#main.pd-page .pd-mag__list {
    display: grid;
    gap: 8px;
}
#main.pd-page .pd-mag__item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 12px;
    border-radius: 14px;
    background: #fff;
    color: inherit;
    text-decoration: none;
}
#main.pd-page .pd-mag__item strong { font-size: 14px; line-height: 1.6; }
#main.pd-page .pd-mag__item span { color: #7c3aed; font-size: 12px; }

