/* =========================================================
   SAZEH POUYESH — PRODUCT DETAIL
   ========================================================= */
.sp-pd {
    --sp-line: #E2E8ED;
    --sp-orange-mid: var(--sp-orange);
    --sp-orange-rgb: 242, 105, 30;
    --sp-shadow-rgb: 27, 38, 48;
    --sp-ink: #1B2630;
    --sp-ink-soft: #55616B;
    --sp-ease: cubic-bezier(.22, 1, .36, 1);
    background: var(--sp-paper);
    color: var(--sp-ink);
    padding: 32px 20px 76px;
    max-width: 1180px;
    margin: 0 auto;
    box-sizing: border-box;
}

    .sp-pd * {
        box-sizing: border-box;
    }

@media (prefers-reduced-motion: reduce) {
    .sp-pd * {
        animation-duration: .001ms !important;
        transition-duration: .001ms !important;
    }

    .sp-pd-wave {
        animation: none !important;
    background: linear-gradient(744deg, rgba(255,255,255,.55), rgba(255,255,255,.18));
}
}

@keyframes spPdFadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

/* ─── EMPTY ─── */
.sp-pd-empty {
    text-align: center;
    padding: 90px 20px;
    color: var(--sp-ink-soft);
}

    .sp-pd-empty .mud-icon-root {
        font-size: 56px !important;
        color: #D3DBE1 !important;
        margin-bottom: 16px;
    }

    .sp-pd-empty h2 {
        font-size: 1.4rem;
        font-weight: 800;
        color: var(--sp-ink);
        margin: 0 0 8px;
    }

    .sp-pd-empty p {
        margin: 0 0 24px;
        font-size: .95rem;
    }

/* ─── BREADCRUMB ─── */
.sp-pd-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: .86rem;
    margin-bottom: 24px;
    margin-top: 10px;
    color: var(--sp-ink-soft);
    opacity: 0;
    animation: spPdFadeUp .5s var(--sp-ease) forwards;
}

    .sp-pd-breadcrumb a {
        color: var(--sp-steel-deep);
        text-decoration: none;
        font-weight: 600;
        transition: color .2s ease;
    }

        .sp-pd-breadcrumb a:hover {
            color: var(--sp-steel-deep);
            text-decoration: underline;
        }

    .sp-pd-breadcrumb strong {
        color: var(--sp-ink);
        font-weight: 700;
    }

/* ─── HERO — ‌ info ‌ ─── */
.sp-pd-hero {
    display: grid;
    grid-template-columns: 1.4fr 0.75fr;
    gap: 22px;
    margin-bottom: 24px;
    align-items: stretch;
}

/* ─── GALLERY ─── */
.sp-pd-gallery {
    display: grid;
    grid-template-columns: 76px 1fr;
    gap: 14px;
    align-items: stretch;
    background: var(--sp-paper);
    border: 1px solid rgba(var(--sp-steel-rgb), 0.26);
    border-radius: 24px;
    padding: 16px;
    box-shadow: 0 4px 6px rgba(var(--sp-shadow-rgb), .02), 0 18px 44px rgba(var(--sp-shadow-rgb), .07);
    opacity: 0;
    animation: spPdFadeUp .6s var(--sp-ease) .06s forwards;
}

.sp-pd-thumbs {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 76px;
}

.sp-pd-thumb {
    width: 76px;
    height: 76px;
    border-radius: 14px;
    border: 1.5px solid transparent;
    background: var(--sp-paper);
    padding: 7px;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(var(--sp-shadow-rgb), .06);
    transition: border-color .22s ease, box-shadow .22s ease, transform .22s var(--sp-ease);
    opacity: 0;
    animation: spPdFadeUp .45s var(--sp-ease) both;
}

    .sp-pd-thumb img,
    .sp-pd-thumb .lazy-placeholder,
    .sp-pd-thumb .lazy-loaded {
        width: 100%;
        height: 100%;
        object-fit: contain;
        display: block;
    }

    .sp-pd-thumb.is-active {
        border-color: var(--sp-orange);
        box-shadow: 0 0 0 3px rgba(var(--sp-steel-rgb), 0.35), 0 8px 20px rgba(var(--sp-steel-rgb), 0.26);
    }

    .sp-pd-thumb:hover {
        border-color: rgba(var(--sp-steel-rgb), 0.45);
        transform: translateY(-3px);
        box-shadow: 0 10px 22px rgba(var(--sp-shadow-rgb), .1);
    }

.sp-pd-main-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 380px;
    padding: 32px;
    border-radius: 18px;
    background: var(--sp-paper);
    overflow: hidden;
}

    .sp-pd-main-image::before {
        content: "";
        position: absolute;
        width: min(72%, 320px);
        height: min(72%, 320px);
        border-radius: 50%;
        background: radial-gradient( circle, rgba(var(--sp-steel-rgb), 0.26) 0%, rgba(var(--sp-steel-rgb), 0.09) 45%, transparent 70% );
        pointer-events: none;
        z-index: 0;
    }

    .sp-pd-main-image img,
    .sp-pd-main-image .lazy-placeholder,
    .sp-pd-main-image .lazy-loaded {
        position: relative;
        z-index: 1;
        max-width: 100%;
        max-height: 380px;
        object-fit: contain;
        filter: drop-shadow(0 20px 36px rgba(var(--sp-shadow-rgb), .14));
        opacity: 0;
        transform: scale(.94);
        animation: spPdImageIn .45s var(--sp-ease) forwards;
    }

@keyframes spPdImageIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ─── INFO + WAVE ─── */
.sp-pd-info {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: linear-gradient(160deg, #C3CDD4 0%, #AEBCC6 100%);
    border: none;
    border-radius: 24px;
    padding: 0;
    min-height: 100%;
    box-shadow: 0 16px 40px rgba(var(--sp-shadow-rgb), .12);
    display: flex;
    flex-direction: column;
    opacity: 0;
    animation: spPdFadeUp .6s var(--sp-ease) .12s forwards;
    color: var(--sp-ink);
}

.sp-pd-wave {
    position: absolute;
    width: 720px;
    height: 900px;
    opacity: 0.55;
    left: 0;
    top: 0;
    margin-left: -48%;
    margin-top: -32%;
    border-radius: 40%;
    background: linear-gradient(744deg, rgba(255,255,255,.55), rgba(255,255,255,.18));
    animation: spPdWaveRotate 55s infinite linear;
    will-change: transform;
    z-index: 0;
    pointer-events: none;
}

    .sp-pd-wave:nth-child(2),
    .sp-pd-wave:nth-child(3) {
        top: 300px;
    }

.sp-pd-info.playing .sp-pd-wave {
    animation-duration: 5s;
}

.sp-pd-wave:nth-child(2) {
    animation-duration: 50s;
}

.sp-pd-info.playing .sp-pd-wave:nth-child(2) {
    animation-duration: 8s;
}

.sp-pd-wave:nth-child(3) {
    animation-duration: 45s;
}

.sp-pd-info.playing .sp-pd-wave:nth-child(3) {
    animation-duration: 10s;
}

@keyframes spPdWaveRotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.sp-pd-info-inner {
    position: relative;
    z-index: 1;
    padding: 26px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 100%;
}

.sp-pd-eyebrow {
    font-size: .82rem;
    color: var(--sp-steel-deeper);
    font-weight: 600;
    margin-bottom: 6px;
    cursor:default;
}

.sp-pd-chip {
    display: inline-block;
    margin-bottom: 10px;
}

    .sp-pd-chip a {
        display: inline-block;
        font-size: .74rem;
        font-weight: 700;
        color: var(--sp-ink);
        background: rgba(255, 255, 255, .55);
        padding: 4px 12px;
        border-radius: 999px;
        text-decoration: none;
        transition: background .2s ease, color .2s ease;
    }

        .sp-pd-chip a:hover {
            background: var(--sp-paper);
            color: var(--sp-steel-deep);
        }

.sp-pd-title {
    font-size: clamp(1.2rem, 1.05rem + .55vw, 1.55rem);
    font-weight: 800;
    margin: 0 0 18px;
    color: var(--sp-ink);
    line-height: 1.4;
    position: relative;
    display: inline-block;
    cursor:default;
}

    .sp-pd-title::after {
        content: "";
        display: block;
        width: 44px;
        height: 3px;
        margin-top: 10px;
        border-radius: 3px;
        background: linear-gradient(90deg, var(--sp-orange), var(--sp-orange-deep));
        transform: scaleX(0);
        transform-origin: right center;
        animation: spPdRule .55s var(--sp-ease) .35s forwards;
    }

@keyframes spPdRule {
    to {
        transform: scaleX(1);
    }
}

.sp-pd-block-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .95rem;
    font-weight: 800;
    margin: 0 0 14px;
    color: var(--sp-ink);
    cursor:default;
}

.sp-pd-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--sp-paper);
    flex-shrink: 0;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .3);
}

.sp-pd-features-block {
    margin-bottom: 20px;
    flex: 1;
}

.sp-pd-features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    cursor:default;
}

    .sp-pd-features li {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        font-size: .88rem;
        color: var(--sp-ink);
        font-weight: 500;
        line-height: 1.55;
        opacity: 0;
        transform: translateX(10px);
        animation: spPdFeatureIn .4s var(--sp-ease) both;
    }

@keyframes spPdFeatureIn {
    to {
        opacity: 1;
        transform: none;
    }
}

.sp-pd-check {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .7);
    color: var(--sp-steel-deeper);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
    transition: background .2s ease, transform .2s ease, color .2s ease;
}

.sp-pd-features li:hover .sp-pd-check {
    background: var(--sp-paper);
    color: var(--sp-steel-deep);
    transform: scale(1.1);
}

.sp-pd-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
    padding-top: 6px;
}

.sp-pd-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 20px;
    border-radius: 999px;
    font-size: .88rem;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    color: var(--sp-steel-deep);
    background: var(--sp-paper);
    box-shadow: 0 8px 22px rgba(0, 0, 0, .2);
    transition: transform .25s var(--sp-ease), box-shadow .25s ease;
}

    .sp-pd-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 28px rgba(0, 0, 0, .25);
    }

.sp-pd-btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 999px;
    font-size: .84rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--sp-ink);
    background: transparent;
    border: 1.5px solid rgba(27, 38, 48, .34);
    transition: background .22s ease, border-color .22s ease;
}

    .sp-pd-btn-ghost:hover {
        background: rgba(255, 255, 255, .5);
        border-color: var(--sp-ink);
    }

/* ─── PANELS ─── */
.sp-pd-panels {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

.sp-pd-panel {
    position: relative;
    background: var(--sp-paper);
    border: 1px solid rgba(var(--sp-steel-rgb), 0.26);
    border-radius: 22px;
    padding: 28px 26px 26px;
    box-shadow: 0 4px 6px rgba(var(--sp-shadow-rgb), .02), 0 16px 40px rgba(var(--sp-shadow-rgb), .06);
    opacity: 0;
    animation: spPdFadeUp .55s var(--sp-ease) .18s forwards;
    overflow: hidden;
}

    .sp-pd-panel::before {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        height: 3px;
        background: linear-gradient(90deg, var(--sp-orange), var(--sp-orange-deep));
    }

    .sp-pd-panel .sp-pd-block-title {
        color: var(--sp-ink);
        margin-bottom: 18px;
    }

    .sp-pd-panel .sp-pd-dot {
        background: linear-gradient(135deg, var(--sp-orange), var(--sp-orange-deep));
        box-shadow: none;
        animation: spPdDotPulse 2s ease-in-out infinite;
    }

@keyframes spPdDotPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(var(--sp-shadow-rgb, 27, 38, 48), .16);
    }

    50% {
        box-shadow: 0 0 0 5px rgba(var(--sp-shadow-rgb, 27, 38, 48), .16);
    }
}

.sp-pd-apps {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sp-pd-app {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(180deg, var(--sp-paper) 0%, #F7F9FB 100%);
    border: 1px solid rgba(var(--sp-steel-rgb), 0.31);
    border-radius: 14px;
    padding: 11px 16px 11px 12px;
    transition: border-color .22s ease, box-shadow .22s ease, transform .22s var(--sp-ease);
    opacity: 0;
    animation: spPdFadeUp .4s var(--sp-ease) both;
}

    .sp-pd-app:hover {
        border-color: rgba(var(--sp-steel-rgb), 0.4);
        box-shadow: 0 10px 24px rgba(var(--sp-shadow-rgb), .08);
        transform: translateY(-3px);
        cursor:default;
    }

.sp-pd-app-icon {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    background: linear-gradient(145deg, rgba(var(--sp-steel-rgb), 0.31), rgba(var(--sp-steel-rgb), 0.18));
    color: var(--sp-steel-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    transition: background .22s ease, color .22s ease, transform .22s ease;
}

.sp-pd-app:hover .sp-pd-app-icon {
    background: linear-gradient(135deg, #C3CDD4, #AEBCC6);
    color: var(--sp-ink);
    transform: scale(1.06);
}

.sp-pd-app-icon img,
.sp-pd-app-icon .lazy-placeholder,
.sp-pd-app-icon .lazy-loaded {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.sp-pd-app-icon .mud-icon-root {
    font-size: 18px !important;
}

.sp-pd-app span {
    font-size: .9rem;
    font-weight: 700;
    color: var(--sp-ink);
}

.sp-pd-specs {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

    .sp-pd-specs tr {
        opacity: 0;
        animation: spPdFadeUp .4s var(--sp-ease) both;
    }

    .sp-pd-specs th,
    .sp-pd-specs td {
        padding: 13px 16px;
        font-size: .9rem;
        vertical-align: middle;
        cursor:default;
    }

    .sp-pd-specs th {
        font-weight: 700;
        color: var(--sp-ink);
        width: 42%;
        text-align: right;
        background: #faf8f5;
        border-bottom: 1px solid rgba(var(--sp-steel-rgb), 0.18);
    }

    .sp-pd-specs td {
        font-weight: 600;
        color: var(--sp-ink-soft);
        direction: ltr;
        text-align: left;
        background: var(--sp-paper);
        border-bottom: 1px solid rgba(var(--sp-steel-rgb), 0.18);
    }

    .sp-pd-specs tr:first-child th {
        border-radius: 12px 0 0 0;
    }

    .sp-pd-specs tr:first-child td {
        border-radius: 0 12px 0 0;
    }

    .sp-pd-specs tr:last-child th {
        border-bottom: none;
        border-radius: 0 0 0 12px;
    }

    .sp-pd-specs tr:last-child td {
        border-bottom: none;
        border-radius: 0 0 12px 0;
    }

    .sp-pd-specs tr:hover th {
        background: rgba(var(--sp-steel-rgb), 0.18);
    }

    .sp-pd-specs tr:hover td {
        color: var(--sp-steel-deep);
    }

/* ─── TRUST ─── */
.sp-pd-trust {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    background: var(--sp-paper);
    border: 1px solid rgba(var(--sp-steel-rgb), 0.26);
    border-radius: 20px;
    padding: 24px 20px;
    box-shadow: 0 12px 32px rgba(var(--sp-shadow-rgb), .05);
    cursor:default;
}

.sp-pd-trust-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    opacity: 0;
    animation: spPdFadeUp .5s var(--sp-ease) both;
    transition: transform .25s var(--sp-ease);
}

    .sp-pd-trust-item:hover {
        transform: translateY(-3px);
    }

.sp-pd-trust-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(var(--sp-steel-rgb), 0.31), rgba(var(--sp-steel-rgb), 0.22));
    color: var(--sp-steel-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background .25s ease, transform .25s ease, color .25s ease;
}

.sp-pd-trust-item:hover .sp-pd-trust-icon {
    background: linear-gradient(135deg, #C3CDD4, #AEBCC6);
    color: var(--sp-ink);
    transform: scale(1.08) rotate(-4deg);
}

.sp-pd-trust-icon .mud-icon-root {
    font-size: 22px !important;
}

.sp-pd-trust-item strong {
    display: block;
    font-size: .92rem;
    font-weight: 800;
    color: var(--sp-ink);
    margin-bottom: 4px;
}

.sp-pd-trust-item span {
    font-size: .82rem;
    color: var(--sp-ink-soft);
    line-height: 1.55;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
    .sp-pd-hero {
        grid-template-columns: 1fr;
    }

    .sp-pd-gallery {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
    }

    .sp-pd-thumbs {
        flex-direction: row;
        width: 100%;
        order: 2;
        overflow-x: auto;
        padding-bottom: 4px;
        scrollbar-width: thin;
    }

    .sp-pd-thumb {
        flex-shrink: 0;
        width: 72px;
        height: 72px;
    }

    .sp-pd-main-image {
        order: 1;
        min-height: 280px;
    }

        .sp-pd-main-image img,
        .sp-pd-main-image .lazy-placeholder,
        .sp-pd-main-image .lazy-loaded {
            max-height: 300px;
        }

    .sp-pd-panels {
        grid-template-columns: 1fr;
    }

    .sp-pd-trust {
        grid-template-columns: 1fr;
    }

    .sp-pd-wave {
        width: 640px;
        height: 800px;
        margin-left: -45%;
        margin-top: -28%;
        opacity: 0.5;
    background: linear-gradient(744deg, rgba(255,255,255,.55), rgba(255,255,255,.18));
}

        .sp-pd-wave:nth-child(2),
        .sp-pd-wave:nth-child(3) {
            top: 240px;
        }
}

@media (max-width: 560px) {
    .sp-pd {
        padding: 24px 14px 60px;
    }

    .sp-pd-info-inner {
        padding: 22px 16px;
    }

    .sp-pd-actions {
        flex-direction: column;
    }

    .sp-pd-btn,
    .sp-pd-btn-ghost {
        width: 100%;
        text-align: center;
    }

    .sp-pd-wave {
        width: 520px;
        height: 680px;
        margin-left: -40%;
        margin-top: -22%;
    background: linear-gradient(744deg, rgba(255,255,255,.55), rgba(255,255,255,.18));
}

        .sp-pd-wave:nth-child(2),
        .sp-pd-wave:nth-child(3) {
            top: 180px;
        }
}
.sp-pd img.lazy-placeholder {
    opacity: 0.4;
    background: #EEF2F5;
}

.sp-btn-gooey {
    position: relative;
    z-index: 1;
    overflow: hidden;
    isolation: isolate;
}

    .sp-btn-gooey > span,
    .sp-btn-gooey > svg,
    .sp-btn-gooey > .mud-icon-root {
        position: relative;
        z-index: 2;
    }

.sp-btn-blobs {
    position: absolute;
    top: 0;
    left: 0;
    bottom: -3px;
    right: -1px;
    z-index: -1;
    filter: url(#sp-goo);
    overflow: hidden;
    border-radius: inherit;
    pointer-events: none;
}

    .sp-btn-blobs div {
        position: absolute;
        width: 34%;
        height: 100%;
        border-radius: 100%;
        transform: scale(1.4) translateY(-125%) translateZ(0);
        transition: transform 700ms ease;
    }

        .sp-btn-blobs div:nth-child(1) {
            left: -5%;
        }

        .sp-btn-blobs div:nth-child(2) {
            left: 30%;
            transition-delay: 60ms;
        }

        .sp-btn-blobs div:nth-child(3) {
            left: 66%;
            transition-delay: 25ms;
        }

.sp-btn-gooey:hover .sp-btn-blobs div {
    transform: scale(1.4) translateY(0) translateZ(0);
}

.sp-pd-btn.sp-btn-gooey {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 20px;
    border-radius: 999px;
    font-size: .88rem;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    color: var(--sp-steel-deep);
    background: var(--sp-paper);
    box-shadow: 0 8px 22px rgba(0, 0, 0, .2);
    transition: color 700ms ease, background-color 700ms ease, box-shadow .25s ease, transform .25s var(--sp-ease);
}

    .sp-pd-btn.sp-btn-gooey .sp-btn-blobs div {
        background-color: #AEBCC6;
    }

    .sp-pd-btn.sp-btn-gooey:hover {
        color: var(--sp-ink);
        background-color: #AEBCC6;
        box-shadow: 0 12px 28px rgba(0, 0, 0, .25);
        transform: translateY(-2px);
    }

.sp-pd-btn-ghost.sp-btn-gooey {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 999px;
    font-size: .84rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--sp-ink);
    background: transparent;
    border: 1.5px solid rgba(27, 38, 48, .34);
    cursor: pointer;
    transition: color 700ms ease, background-color 700ms ease, border-color .25s ease;
}

    .sp-pd-btn-ghost.sp-btn-gooey .sp-btn-blobs div {
        background-color: var(--sp-paper);
    }

    .sp-pd-btn-ghost.sp-btn-gooey:hover {
        color: var(--sp-steel-deep);
        background-color: var(--sp-paper);
        border-color: transparent;
    }
.sp-prod-hero-wave {
    overflow: hidden;
}

    .sp-prod-hero-wave::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 70%;
        z-index: 2;
        pointer-events: none;
        background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .85) 55%, var(--sp-paper) 100%);
    }
