:root {
    --detailstore-red: #ef394e;
    --detailstore-text: #232933;
    --detailstore-muted: #697586;
    --detailstore-border: #edf0f4;
    --detailstore-surface: #ffffff;
    --detailstore-soft: #f6f7fb;
}

html {
    scroll-behavior: smooth;
}

body.detailstore-public {
    background: #fff;
    color: var(--detailstore-text);
    display: block;
    font-family: iranyekan, sans-serif;
    overflow-x: hidden;
}

.detailstore-public a {
    transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.detailstore-public img {
    max-width: 100%;
}

.detailstore-public * {
    letter-spacing: 0;
}

.detailstore-public .logo img,
.detailstore-public .logo-icon img {
    max-height: 56px;
    object-fit: contain;
}

.detailstore-public .header-search-input {
    padding-inline-start: 16px;
    padding-inline-end: 54px;
}

.detailstore-public .btn-search {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.detailstore-public .btn-search img {
    width: 20px;
    height: 20px;
}

.detailstore-public .storefront-announcement-bar {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 38px;
    padding: 7px 18px;
    overflow: hidden;
    direction: rtl;
    text-align: center;
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .18);
}

.detailstore-public .storefront-announcement-bar::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(0, 0, 0, .08), transparent 28%, transparent 72%, rgba(255, 255, 255, .1));
}

.detailstore-public .storefront-announcement-text {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    max-width: calc(100vw - 36px);
    color: inherit;
    font-size: 14px;
    font-weight: 800;
    line-height: 24px;
    text-align: center;
    overflow-wrap: anywhere;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .18);
}

.detailstore-public .storefront-announcement-text::before,
.detailstore-public .storefront-announcement-text::after {
    content: "";
    width: 24px;
    height: 1px;
    flex: 0 0 24px;
    background: currentColor;
    opacity: .48;
}

.detailstore-public .storefront-home-category-section {
    clear: both;
}

.detailstore-public .storefront-home-category-section .promotion-categories-container {
    margin-top: 12px !important;
}

.detailstore-public .storefront-floating-catalog {
    position: fixed;
    right: 22px;
    left: auto;
    bottom: 22px;
    z-index: 10010;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 78px;
    height: 78px;
    padding: 7px;
    overflow: hidden;
    border: 1px solid rgba(242, 82, 30, .28);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(35, 41, 51, .2);
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.detailstore-public .storefront-floating-catalog img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.detailstore-public .storefront-floating-catalog:hover,
.detailstore-public .storefront-floating-catalog:focus-visible {
    border-color: #f2521e;
    box-shadow: 0 14px 34px rgba(242, 82, 30, .28);
    outline: none;
    transform: translateY(-3px);
}

.detailstore-public .mini-cart-header > a,
.detailstore-public .login-link {
    text-decoration: none;
}

.detailstore-public .storefront-header-action-icon {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: #616161;
    line-height: 1;
    text-decoration: none;
}

.detailstore-public .storefront-header-action-icon svg,
.detailstore-public .responsive-header-left svg {
    display: block;
    width: 22px;
    height: 22px;
    fill: currentColor;
}

@media (max-width: 1240px) {
    .detailstore-public .responsive-header-left {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .detailstore-public .responsive-header-left .btn-login-responsive,
    .detailstore-public .responsive-header-left .mini-cart-header-responsive {
        box-sizing: border-box;
        display: inline-flex;
        float: none;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        padding: 0;
        color: #616161;
        line-height: 1;
    }
}

@media (min-width: 1241px) {
    .detailstore-public .header-left {
        display: block;
        min-height: 40px;
        padding-left: 0;
    }

    .detailstore-public .header-left .mini-cart-header {
        float: left;
        width: 40px;
        height: 40px;
        margin: 0;
    }

    .detailstore-public .header-left .login-link,
    .detailstore-public .header-left .header-cart-interest {
        float: left;
        width: 40px;
        height: 40px;
        margin: 0 0 0 15px !important;
    }

    .detailstore-public .header-left .mini-cart-header,
    .detailstore-public .header-left .btn-login,
    .detailstore-public .header-left .header-cart-interest {
        border: 1px solid #e0e0e2;
        border-radius: 50%;
        background: #fff;
        transition: border-color .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease;
    }

    .detailstore-public .header-left .mini-cart-header > a,
    .detailstore-public .header-left .btn-login,
    .detailstore-public .header-left .header-cart-interest > a {
        width: 100%;
        height: 100%;
    }

    .detailstore-public .header-left .mini-cart-header::before,
    .detailstore-public .header-left .btn-login::before {
        display: none;
    }

    .detailstore-public .header-left .mini-cart-header:hover,
    .detailstore-public .header-left .btn-login:hover,
    .detailstore-public .header-left .btn-login:focus-visible,
    .detailstore-public .header-left .header-cart-interest:hover {
        border-color: #ef394e;
        background: #fff5f6;
        color: #ef394e;
        box-shadow: 0 4px 12px rgba(239, 57, 78, .14);
    }

    .detailstore-public .header-left .mini-cart-header:hover > a,
    .detailstore-public .header-left .header-cart-interest:hover > a {
        color: #ef394e;
    }

    .detailstore-public nav.main-menu {
        top: 118px;
    }
}

.detailstore-public .footer-address-line {
    clear: both;
    display: block;
    padding-top: 8px;
}

.detailstore-public .footer-social .social-links:empty {
    display: none;
}

.detailstore-public footer .footer-social {
    margin-top: 18px;
    overflow: visible;
    text-align: center;
}

.detailstore-public footer .footer-social .social-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 48px;
    height: auto;
    overflow: visible;
}

.detailstore-public footer .footer-social .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 40px;
    border-radius: 50%;
    text-decoration: none;
}

/* Storefront footer */
.detailstore-public .storefront-footer {
    clear: both;
    width: 100%;
    margin-top: 32px;
    border-top: 1px solid var(--detailstore-border);
    background: #fff;
    color: var(--detailstore-text);
    direction: rtl;
}

.detailstore-public .storefront-footer,
.detailstore-public .storefront-footer * {
    box-sizing: border-box;
}

.detailstore-public .storefront-footer .footer-jump {
    height: 52px;
    border-bottom: 1px solid var(--detailstore-border);
    background: #fff;
    text-align: center;
}

.detailstore-public .storefront-footer .footer-jump a .footer-jump-angle {
    display: inline-flex;
    align-items: center;
    height: 52px;
    color: #4b5563;
    font-size: 13px;
    line-height: 1;
}

.detailstore-public .storefront-footer .footer-jump a .footer-jump-angle i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin-left: 8px;
    padding: 0;
    border-radius: 50%;
    background: #f1f3f6;
    color: #374151;
    font-size: 18px;
}

.detailstore-public .storefront-footer .footer-inner-box {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    float: none;
    gap: 12px;
    width: 100%;
    margin: 0;
    padding: 24px 0;
}

.detailstore-public .storefront-footer .footer-inner-box .footer-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 9px;
    width: auto;
    min-height: 104px;
    margin: 0;
    padding: 12px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: #fff;
}

.detailstore-public .storefront-footer .footer-inner-box .footer-badge:hover {
    border-color: #e3e7ec;
    background: #fafbfc;
    transform: translateY(-2px);
}

.detailstore-public .storefront-footer .footer-inner-box .footer-badge img {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.detailstore-public .storefront-footer .footer-inner-box .footer-badge .item-feature {
    float: none;
    width: auto;
    margin: 0;
    color: #4b5563;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
}

.detailstore-public .storefront-footer-main {
    padding: 38px 0;
    border-top: 1px solid var(--detailstore-border);
    border-bottom: 1px solid var(--detailstore-border);
    background: #f7f8fa;
}

.detailstore-public .storefront-footer-main-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(310px, 0.85fr);
    gap: 48px;
}

.detailstore-public .storefront-footer .footer-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
    width: 100%;
    margin: 0;
    padding: 0;
}

.detailstore-public .storefront-footer .footer-links .links-col {
    float: none;
    width: auto;
    overflow: visible;
}

.detailstore-public .storefront-footer .footer-links .links-col a.head-line {
    display: block;
    margin: 0 0 17px;
    color: #252b35;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.8;
    text-decoration: none;
}

.detailstore-public .storefront-footer .footer-links .links-ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.detailstore-public .storefront-footer .footer-links .links-ul li {
    margin: 0 0 11px;
}

.detailstore-public .storefront-footer .footer-links .links-ul a {
    color: #697586;
    font-size: 13px;
    line-height: 1.9;
    text-decoration: none;
}

.detailstore-public .storefront-footer .footer-links .links-ul a:hover {
    color: var(--detailstore-red);
}

.detailstore-public .storefront-footer-side {
    min-width: 0;
    padding-right: 32px;
    border-right: 1px solid #dde2e8;
}

.detailstore-public .storefront-footer .footer-social {
    float: none;
    width: 100%;
    margin: 0 0 24px;
    padding: 0;
}

.detailstore-public .storefront-footer .footer-social .newslitter-form-social {
    color: #374151;
    font-size: 13px;
    font-weight: 700;
}

.detailstore-public .storefront-footer .footer-social .social-links {
    width: 100%;
    min-height: 40px;
    margin-top: 12px;
}

.detailstore-public .storefront-footer .footer-social .social-links a {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
    border: 1px solid #dfe4ea;
    background: #fff;
    color: #697586;
    font-size: 19px;
}

.detailstore-public .storefront-footer .footer-social .social-links a:hover {
    border-color: var(--detailstore-red);
    color: var(--detailstore-red);
    transform: translateY(-2px);
}

.detailstore-public .storefront-footer-contact h2,
.detailstore-public .storefront-footer-about h2 {
    margin: 0;
    color: #252b35;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.8;
}

.detailstore-public .storefront-footer-contact > p {
    margin: 4px 0 14px;
    color: #697586;
    font-size: 12px;
}

.detailstore-public .storefront-footer-contact ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.detailstore-public .storefront-footer-contact li {
    display: grid;
    grid-template-columns: 22px auto minmax(0, 1fr);
    align-items: start;
    gap: 7px;
    margin: 0;
    color: #697586;
    font-size: 12px;
    line-height: 1.9;
}

.detailstore-public .storefront-footer-contact li i {
    padding-top: 3px;
    color: var(--detailstore-red);
    font-size: 15px;
    text-align: center;
}

.detailstore-public .storefront-footer-contact li a,
.detailstore-public .storefront-footer-contact li strong {
    min-width: 0;
    color: #374151;
    font-weight: 700;
    overflow-wrap: anywhere;
    text-decoration: none;
}

.detailstore-public .storefront-footer-contact li a:hover {
    color: var(--detailstore-red);
}

.detailstore-public .storefront-footer-bottom {
    padding: 28px 0 0;
    background: #eef1f4;
}

.detailstore-public .storefront-footer-bottom-grid {
    display: grid;
    grid-template-areas: "trust about spacer";
    grid-template-columns: 230px minmax(0, 1fr) 230px;
    align-items: stretch;
    gap: 24px;
    direction: ltr;
}

.detailstore-public .storefront-footer-bottom-grid::after {
    content: "";
    grid-area: spacer;
}

.detailstore-public .storefront-footer-about {
    grid-area: about;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0 24px;
    direction: rtl;
    text-align: center;
}

.detailstore-public .storefront-footer-eyebrow {
    display: block;
    margin-bottom: 6px;
    color: var(--detailstore-red);
    font-size: 11px;
    font-weight: 800;
}

.detailstore-public .storefront-footer-about h2 {
    margin-bottom: 9px;
    font-size: 17px;
}

.detailstore-public .storefront-footer-about p {
    max-width: 820px;
    margin: 0 auto;
    color: #596475;
    font-size: 12px;
    line-height: 2.15;
}

.detailstore-public .storefront-footer-trust {
    grid-area: trust;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: 230px;
    min-height: 118px;
    padding: 0;
}

.detailstore-public .storefront-enamad-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 116px;
    height: 108px;
    padding: 8px;
    border: 1px solid #dce2e8;
    border-radius: 8px;
    background: #fff;
    text-decoration: none;
}

.detailstore-public .storefront-enamad-link:hover {
    transform: scale(1.03);
}

.detailstore-public .storefront-enamad-link img {
    display: block;
    width: 92px;
    max-width: 92px;
    height: 90px;
    object-fit: contain;
    cursor: pointer;
}

.detailstore-public .storefront-footer-legal {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr) 230px;
    align-items: center;
    justify-items: center;
    min-height: 90px;
    margin-top: 24px;
    padding: 18px 0;
    border-top: 1px solid #d8dee5;
    direction: ltr;
    text-align: center;
}

.detailstore-public .storefront-footer-legal > p {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    color: #697586;
    font-size: 11px;
    line-height: 1.9;
}

.detailstore-public .storefront-footer-legal > .storefront-enamad-link { grid-column: 1; }
.detailstore-public .storefront-footer-legal > .storefront-footer-datarythms {
    grid-column: 1;
    grid-row: 1;
}

.detailstore-public .storefront-footer-datarythms {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 7px 11px;
    border: 1px solid rgba(209, 216, 224, .9);
    border-radius: 13px;
    color: #4b5563;
    background: rgba(255, 255, 255, .78);
    box-shadow: 0 7px 18px rgba(31, 41, 55, .06);
    direction: rtl;
    font-size: 11px;
    text-decoration: none;
    transition: color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.detailstore-public .storefront-footer-datarythms:hover,
.detailstore-public .storefront-footer-datarythms:focus-visible {
    border-color: rgba(0, 100, 0, .28);
    color: #166534;
    box-shadow: 0 11px 24px rgba(31, 41, 55, .11);
    outline: none;
    transform: translateY(-2px);
}

.detailstore-public .storefront-footer-datarythms-identity {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    line-height: 1.65;
}

.detailstore-public .storefront-footer-datarythms-identity strong {
    color: #006400;
    direction: ltr;
    font-size: 12px;
}

.detailstore-public .storefront-footer-datarythms img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.detailstore-public .storefront-footer-datarythms .datary-tooltip {
    right: 50%;
    bottom: calc(100% + 11px);
    left: auto;
    display: block;
    width: min(320px, calc(100vw - 32px));
    max-width: none;
    padding: 5px 0;
    transform: translateX(50%);
    pointer-events: none;
}

.detailstore-public .storefront-footer-datarythms .datary-tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    right: 50%;
    margin-right: -7px;
    border: 7px solid transparent;
    border-top-color: #7710c6;
}

.detailstore-public .storefront-footer-datarythms:hover .datary-tooltip,
.detailstore-public .storefront-footer-datarythms:focus-visible .datary-tooltip {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 991px) {
    .detailstore-public .storefront-footer-main-grid,
    .detailstore-public .storefront-footer-bottom-grid {
        grid-template-columns: 1fr;
    }

    .detailstore-public .storefront-footer-bottom-grid {
        grid-template-areas:
            "about"
            "trust";
    }

    .detailstore-public .storefront-footer-bottom-grid::after {
        display: none;
    }

    .detailstore-public .storefront-footer-main-grid {
        gap: 30px;
    }

    .detailstore-public .storefront-footer-side {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px;
        padding: 26px 0 0;
        border-top: 1px solid #dde2e8;
        border-right: 0;
    }

    .detailstore-public .storefront-footer .footer-social {
        margin-bottom: 0;
    }

    .detailstore-public .storefront-footer-trust {
        width: 230px;
        max-width: 100%;
        justify-self: center;
    }
}

@media (max-width: 767px) {
    .detailstore-public .storefront-footer .footer-inner-box {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .detailstore-public .storefront-footer-main {
        padding: 30px 0;
    }

    .detailstore-public .storefront-footer-legal {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 18px 0;
        text-align: center;
    }

    .detailstore-public .storefront-footer-legal > p { grid-column: 1; grid-row: auto; }
    .detailstore-public .storefront-footer-legal > .storefront-footer-datarythms { grid-column: 1; grid-row: auto; }
    .detailstore-public .storefront-footer-legal > p { order: 1; }
    .detailstore-public .storefront-footer-legal > .storefront-footer-datarythms { order: 2; }
}

@media (max-width: 575px) {
    .detailstore-public .storefront-announcement-bar {
        min-height: 34px;
        padding: 6px 10px;
    }

    .detailstore-public .storefront-announcement-text {
        max-width: calc(100vw - 20px);
        gap: 7px;
        font-size: 12px;
        line-height: 20px;
    }

    .detailstore-public .storefront-announcement-text::before,
    .detailstore-public .storefront-announcement-text::after {
        width: 13px;
        flex-basis: 13px;
    }

    .detailstore-public .storefront-footer {
        margin-top: 22px;
    }

    .detailstore-public .storefront-footer .container {
        padding-right: 16px;
        padding-left: 16px;
    }

    .detailstore-public .storefront-footer .footer-inner-box {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
        padding: 16px 0;
    }

    .detailstore-public .storefront-footer .footer-inner-box .footer-badge {
        min-width: 0;
        min-height: 94px;
        padding: 9px 6px;
    }

    .detailstore-public .storefront-footer .footer-inner-box .footer-badge:last-child {
        grid-column: 1 / -1;
    }

    .detailstore-public .storefront-footer .footer-inner-box .footer-badge img {
        width: 48px;
        height: 48px;
    }

    .detailstore-public .storefront-footer .footer-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 26px 18px;
    }

    .detailstore-public .storefront-footer .footer-links .links-col:last-child {
        grid-column: 1 / -1;
    }

    .detailstore-public .storefront-footer-side {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .detailstore-public .storefront-footer-trust {
        width: 230px;
        max-width: 100%;
        min-height: 108px;
        justify-self: center;
    }

    .detailstore-public .storefront-enamad-link {
        width: 104px;
        height: 104px;
    }

    .detailstore-public .storefront-enamad-link img {
        height: 88px;
    }

    .detailstore-public .storefront-footer-datarythms .datary-tooltip {
        max-width: calc(100vw - 24px);
        padding: 5px 0;
        font-size: 9px;
    }

}

.detailstore-public .contentM {
    min-height: 60vh;
    background: #fff;
}

.storefront-list-page {
    clear: both;
    width: 100%;
    padding: 34px 0 56px;
    background: #f5f6fa;
    min-height: 65vh;
    direction: rtl;
    overflow-x: hidden;
}

.storefront-list-page,
.storefront-list-page * {
    box-sizing: border-box;
}

.storefront-list-page .container {
    width: 100%;
    max-width: 1440px;
}

.storefront-list-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.storefront-list-heading h1 {
    margin: 0;
    color: #1f2937;
    font-size: 28px;
    font-weight: 800;
}

.storefront-eyebrow,
.storefront-result-count {
    color: var(--detailstore-muted);
    font-size: 13px;
}

.storefront-shop-layout {
    display: grid;
    grid-template-columns: minmax(250px, 300px) minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

.storefront-filter-panel,
.storefront-empty-state,
.storefront-product-card {
    border: 1px solid var(--detailstore-border);
    border-radius: 16px;
    background: var(--detailstore-surface);
    box-shadow: 0 10px 26px rgba(31, 41, 55, 0.06);
}

.storefront-filter-panel {
    position: sticky;
    top: 16px;
    padding: 18px;
}

.storefront-filter-search {
    margin-bottom: 16px;
}

.storefront-filter-search label,
.storefront-filter-group summary {
    display: block;
    margin-bottom: 9px;
    color: #1f2937;
    font-weight: 700;
}

.storefront-filter-search input,
.storefront-filter-search select {
    width: 100%;
    height: 44px;
    border: 1px solid #e4e8ef;
    border-radius: 12px;
    background: #fafafa;
    color: #111827;
    padding: 0 13px;
    outline: none;
}

.storefront-filter-search input:focus,
.storefront-filter-search select:focus {
    border-color: var(--detailstore-red);
    background: #fff;
}

.storefront-filter-group {
    border-top: 1px solid var(--detailstore-border);
    padding-top: 14px;
    margin-top: 14px;
}

.storefront-filter-group summary {
    cursor: pointer;
    list-style: none;
}

.storefront-filter-group summary::-webkit-details-marker {
    display: none;
}

.storefront-check-list {
    display: grid;
    gap: 9px;
    max-height: 230px;
    overflow: auto;
    padding-left: 4px;
}

.storefront-check-list.compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.storefront-check {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    color: #374151;
    font-size: 14px;
    cursor: pointer;
}

.storefront-check input {
    accent-color: var(--detailstore-red);
}

.storefront-check-switch {
    justify-content: space-between;
    border: 1px solid var(--detailstore-border);
    border-radius: 12px;
    padding: 12px;
}

.storefront-filter-actions {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.storefront-filter-actions button,
.storefront-filter-actions a,
.storefront-product-action,
.storefront-empty-state a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    text-decoration: none;
}

.storefront-filter-actions button {
    flex: 1;
    height: 42px;
    border: 0;
    background: var(--detailstore-red);
    color: #fff;
    font-weight: 700;
}

.storefront-filter-actions a {
    min-width: 94px;
    height: 42px;
    border: 1px solid #e5e7eb;
    color: #374151;
    background: #fff;
}

.storefront-product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.storefront-product-card {
    overflow: hidden;
}

.storefront-product-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1.1;
    padding: 20px;
    background: #fff;
}

.storefront-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.storefront-discount-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    border-radius: 999px;
    background: var(--detailstore-red);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    padding: 5px 10px;
}

.storefront-product-body {
    border-top: 1px solid var(--detailstore-border);
    padding: 15px;
}

.storefront-product-title {
    display: block;
    min-width: 0;
    min-height: 24px;
    overflow: hidden;
    color: #1f2937;
    font-size: 15px;
    font-weight: 700;
    line-height: 24px;
    text-decoration: none;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.storefront-product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    min-height: 29px;
    margin: 10px 0;
}

.storefront-product-meta span {
    border-radius: 999px;
    background: #f1f3f7;
    color: #596579;
    font-size: 12px;
    padding: 4px 8px;
}

.storefront-product-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
}

.storefront-product-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: flex-start;
    gap: 5px;
    color: #111827;
}

.storefront-product-price del {
    flex-basis: 100%;
    color: #9ca3af;
    font-size: 12px;
}

.storefront-product-price strong {
    color: #6f35ff;
    font-size: 18px;
}

.storefront-product-price small {
    color: var(--detailstore-muted);
}

.storefront-product-action {
    min-width: 74px;
    height: 38px;
    background: #f2f4f8;
    color: #1f2937;
    font-weight: 700;
}

.storefront-product-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.storefront-list-add-cart-form {
    margin: 0;
}

.storefront-list-add-cart-form button {
    border: 0;
}

.storefront-product-cart-action {
    min-width: 42px;
    width: 42px;
    padding: 0;
    color: var(--detailstore-red);
    font-size: 20px;
}

.storefront-product-cart-action:disabled {
    cursor: wait;
    opacity: .65;
}

.storefront-empty-state {
    padding: 46px 24px;
    text-align: center;
}

.storefront-empty-state h2 {
    margin: 0 0 10px;
    font-size: 22px;
    font-weight: 800;
}

.storefront-empty-state p {
    color: var(--detailstore-muted);
}

.storefront-empty-state a {
    width: 180px;
    height: 42px;
    margin: 12px auto 0;
    background: var(--detailstore-red);
    color: #fff;
}

.storefront-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.storefront-pagination button {
    min-width: 38px;
    height: 38px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    color: #374151;
}

.storefront-pagination button.active {
    border-color: var(--detailstore-red);
    background: var(--detailstore-red);
    color: #fff;
}

.storefront-detail-page {
    clear: both;
    width: 100%;
    padding: 30px 0 60px;
    background: #f5f6fa;
}

.storefront-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--detailstore-muted);
    font-size: 13px;
}

.storefront-breadcrumb a {
    color: #596579;
    text-decoration: none;
}

.storefront-breadcrumb strong {
    color: #1f2937;
}

.storefront-detail-hero {
    display: grid;
    grid-template-columns: minmax(280px, 440px) minmax(0, 1fr) minmax(260px, 330px);
    gap: 20px;
    align-items: start;
}

.storefront-detail-gallery,
.storefront-detail-info,
.storefront-buy-box,
.storefront-detail-section {
    border: 1px solid var(--detailstore-border);
    border-radius: 16px;
    background: var(--detailstore-surface);
    box-shadow: 0 10px 26px rgba(31, 41, 55, 0.06);
}

.storefront-detail-gallery {
    padding: 18px;
}

.storefront-detail-main-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
}

.storefront-detail-main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.storefront-detail-thumbs {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    margin-top: 12px;
}

.storefront-detail-thumbs img {
    width: 100%;
    aspect-ratio: 1;
    border: 1px solid var(--detailstore-border);
    border-radius: 12px;
    object-fit: contain;
    padding: 6px;
}

.storefront-detail-info {
    padding: 24px;
}

.storefront-detail-info h1 {
    margin: 6px 0 8px;
    color: #111827;
    font-size: 27px;
    font-weight: 800;
    line-height: 1.55;
}

.storefront-detail-en,
.storefront-detail-short {
    color: var(--detailstore-muted);
    line-height: 1.9;
}

.storefront-detail-key-specs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
}

.storefront-detail-key-specs div,
.storefront-spec-grid div {
    border-radius: 12px;
    background: #f7f8fb;
    padding: 12px;
}

.storefront-detail-key-specs span,
.storefront-spec-grid span {
    display: block;
    color: var(--detailstore-muted);
    font-size: 12px;
}

.storefront-detail-key-specs strong,
.storefront-spec-grid strong {
    display: block;
    margin-top: 5px;
    color: #111827;
    font-size: 14px;
    font-weight: 800;
}

.storefront-buy-box {
    padding: 20px;
}

.storefront-stock {
    border-radius: 12px;
    padding: 11px;
    text-align: center;
    font-weight: 800;
}

.storefront-stock.available {
    background: #ecfdf5;
    color: #047857;
}

.storefront-stock.unavailable {
    background: #fff1f2;
    color: #be123c;
}

.storefront-detail-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    gap: 7px;
    margin: 22px 0;
}

.storefront-detail-price del {
    flex-basis: 100%;
    color: #9ca3af;
    text-align: center;
}

.storefront-detail-price strong {
    color: #6f35ff;
    font-size: 25px;
    font-weight: 900;
}

.storefront-add-cart-form button,
.storefront-product-action.wide {
    width: 100%;
    height: 48px;
    border: 0;
    border-radius: 14px;
    background: var(--detailstore-red);
    color: #fff;
    font-weight: 800;
}

.storefront-add-cart-form button:disabled {
    opacity: 0.65;
}

.storefront-buy-benefits {
    display: grid;
    gap: 10px;
    margin: 18px 0 0;
    padding: 0;
    color: #4b5563;
    list-style: none;
}

.storefront-buy-benefits i {
    width: 20px;
    color: var(--detailstore-red);
}

.storefront-detail-section {
    margin-top: 20px;
    padding: 24px;
}

.storefront-detail-section h2 {
    margin: 0 0 16px;
    color: #111827;
    font-size: 21px;
    font-weight: 900;
}

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

.storefront-rich-text {
    color: #374151;
    line-height: 2;
}

.storefront-content-page,
.storefront-blog-page,
.storefront-auth-page,
.storefront-track-page {
    padding: 34px 0 56px;
    background: #f4f6fb;
}

/* Keep the new order-tracking entry and catalog on one desktop navigation row. */
@media (min-width: 1241px) and (max-width: 1439px) {
    .detailstore-public nav.main-menu ul.new-list-menu > li.item-list-menu {
        margin-right: 6px;
        margin-left: 6px;
    }
}

@media (min-width: 768px) {
    .storefront-list-page,
    .storefront-detail-page,
    .storefront-content-page,
    .storefront-blog-page,
    .storefront-auth-page,
    .storefront-track-page {
        margin-top: 0;
        padding-top: 72px;
    }
}

.storefront-page-head {
    margin-bottom: 20px;
}

.storefront-page-head small {
    display: block;
    margin-bottom: 8px;
    color: #ef394e;
    font-weight: 800;
}

.storefront-page-head h1 {
    margin: 0;
    color: #111827;
    font-size: 28px;
    font-weight: 900;
}

.storefront-section-title {
    margin: 0 0 14px;
    color: #111827;
    font-size: 18px;
    font-weight: 900;
}

.storefront-page-card,
.storefront-side-card,
.storefront-form-card,
.storefront-faq-card,
.storefront-blog-card,
.storefront-auth-card {
    border: 1px solid #e8edf5;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .06);
}

.storefront-auth-card {
    max-width: 460px;
    margin: 0 auto;
    padding: 28px;
}

.storefront-auth-card h1 {
    margin: 0 0 22px;
    color: #111827;
    font-size: 22px;
    font-weight: 900;
    text-align: center;
}

.storefront-check-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 16px 0;
    color: #4b5563;
    font-size: 14px;
}

.storefront-check-row input {
    width: 18px;
    height: 18px;
    accent-color: #ef394e;
}

.storefront-auth-help {
    margin: 18px 0 0;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.9;
    text-align: center;
}

.storefront-auth-dev-code {
    margin: 0 0 18px;
    padding: 12px 14px;
    border: 1px dashed #f59e0b;
    border-radius: 12px;
    background: #fffbeb;
    color: #92400e;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.8;
    text-align: center;
}

.storefront-otp-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    direction: ltr;
    margin-bottom: 18px;
}

.storefront-otp-input {
    height: 60px;
    border: 1px solid #d9e1ee;
    border-radius: 14px;
    color: #111827;
    font-size: 24px;
    font-weight: 900;
    text-align: center;
    outline: none;
}

.storefront-otp-input:focus,
.storefront-otp-input.is-filled {
    border-color: #ef394e;
    box-shadow: 0 0 0 4px rgba(239, 57, 78, .08);
}

.storefront-countdown {
    margin: 0 0 16px;
    color: #6b7280;
    font-size: 14px;
    text-align: center;
}

.detailstore-verify-box .content-account {
    min-height: 0 !important;
}

.detailstore-verify-box .account-box-message {
    margin: 0 0 18px !important;
    padding: 0 !important;
    text-align: center;
}

.detailstore-verify-box .account-box-message .user-account-welcome {
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #777 !important;
    line-height: 2 !important;
}

.detailstore-verify-box .account-box-message .user-account-welcome span {
    display: block !important;
}

.detailstore-verify-box .account-box-message .user-account-welcome span.user-welcome {
    color: #4a4a4a !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 2 !important;
}

.detailstore-verify-box .account-box-message .user-account-welcome span:last-child {
    color: #7a7a7a;
    font-size: 12px;
}

.detailstore-verify-box .storefront-otp-row {
    margin: 22px 0 18px;
}

.detailstore-verify-box .storefront-otp-input {
    width: 100%;
    min-width: 0;
    border-radius: 8px;
    background: #fff;
    font-family: iranyekan, sans-serif;
}

.detailstore-verify-box #countdown-verify-end {
    margin: 14px 0 0;
    text-align: center;
}

.detailstore-verify-box .detailstore-resend-code {
    display: block;
    width: max-content;
    margin: 12px auto 0;
    background: transparent;
    cursor: pointer;
}

.storefront-page-card {
    padding: 26px;
}

.storefront-page-text {
    color: #374151;
    font-size: 15px;
    line-height: 2.15;
}

.storefront-page-text img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 16px auto;
    border-radius: 12px;
}

.storefront-contact-grid,
.storefront-blog-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 20px;
    align-items: start;
}

.storefront-info-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.storefront-info-list li {
    padding: 16px;
    border: 1px solid #eef2f7;
    border-radius: 12px;
    background: #fbfcfe;
}

.storefront-info-list span {
    display: block;
    margin-bottom: 8px;
    color: #6b7280;
    font-size: 13px;
    font-weight: 800;
}

.storefront-info-list a,
.storefront-info-list p {
    margin: 0;
    color: #111827;
    font-size: 14px;
    line-height: 1.9;
}

.storefront-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.storefront-form-grid .storefront-form-wide {
    grid-column: 1 / -1;
}

.storefront-field label,
.storefront-filter-panel label {
    display: block;
    margin-bottom: 8px;
    color: #111827;
    font-size: 13px;
    font-weight: 900;
}

.storefront-field input,
.storefront-field textarea,
.storefront-field select,
.storefront-searchbar input,
.storefront-searchbar select {
    width: 100%;
    border: 1px solid #d9e1ee;
    border-radius: 12px;
    background: #fff;
    color: #111827;
    font-size: 14px;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.storefront-field input,
.storefront-field select,
.storefront-searchbar input,
.storefront-searchbar select {
    height: 46px;
    padding: 0 14px;
}

.storefront-field textarea {
    min-height: 128px;
    padding: 12px 14px;
    resize: vertical;
}

.storefront-field input:focus,
.storefront-field textarea:focus,
.storefront-field select:focus,
.storefront-searchbar input:focus,
.storefront-searchbar select:focus {
    border-color: #ef394e;
    box-shadow: 0 0 0 4px rgba(239, 57, 78, .08);
}

.storefront-validation {
    grid-column: 1 / -1;
    color: #dc2626;
    font-size: 13px;
    line-height: 1.8;
}

.storefront-primary-btn,
.storefront-secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 22px;
    border-radius: 12px;
    font-weight: 900;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.storefront-primary-btn {
    border: 0;
    background: #ef394e;
    color: #fff;
    box-shadow: 0 10px 22px rgba(239, 57, 78, .22);
}

.storefront-secondary-btn {
    border: 1px solid #d9e1ee;
    background: #fff;
    color: #374151;
}

.storefront-primary-btn:hover,
.storefront-secondary-btn:hover {
    transform: translateY(-1px);
}

.storefront-primary-btn:disabled,
.storefront-secondary-btn:disabled {
    cursor: not-allowed;
    opacity: .55;
    transform: none;
    box-shadow: none;
}

.storefront-searchbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px auto;
    gap: 10px;
    align-items: end;
    margin-bottom: 18px;
    padding: 16px;
}

.storefront-faq-list {
    display: grid;
    gap: 12px;
}

.storefront-faq-item {
    overflow: hidden;
}

.storefront-faq-item summary {
    cursor: pointer;
    padding: 18px 20px;
    color: #111827;
    font-weight: 900;
    list-style: none;
}

.storefront-faq-item summary::-webkit-details-marker {
    display: none;
}

.storefront-faq-item summary::before {
    content: "+";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-left: 10px;
    border-radius: 8px;
    background: #fce7ea;
    color: #ef394e;
}

.storefront-faq-item[open] summary::before {
    content: "-";
}

.storefront-faq-answer {
    padding: 0 20px 18px;
    color: #4b5563;
    line-height: 2;
}

.storefront-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.storefront-blog-card {
    overflow: hidden;
}

.storefront-blog-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    background: #f1f5f9;
}

.storefront-blog-card-body {
    padding: 16px;
}

.storefront-blog-card h2,
.storefront-blog-card h3 {
    margin: 0 0 10px;
    color: #111827;
    font-size: 16px;
    font-weight: 900;
    line-height: 1.8;
}

.storefront-blog-card p {
    margin: 0 0 14px;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.9;
}

.storefront-blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: #6b7280;
    font-size: 12px;
}

.storefront-blog-article {
    padding: 24px;
}

.storefront-blog-article h1 {
    margin: 0 0 16px;
    color: #111827;
    font-size: 28px;
    font-weight: 900;
    line-height: 1.6;
}

.storefront-blog-cover {
    width: 100%;
    max-height: 430px;
    object-fit: cover;
    border-radius: 14px;
    margin: 18px 0;
}

.storefront-side-card {
    padding: 16px;
}

.storefront-side-card h3 {
    margin: 0 0 14px;
    color: #111827;
    font-size: 16px;
    font-weight: 900;
}

.storefront-side-links {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.storefront-side-links a {
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid #eef2f7;
    color: #374151;
    font-size: 13px;
    line-height: 1.8;
}

.storefront-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 22px;
}

.storefront-pagination button,
.storefront-pagination a {
    min-width: 40px;
    height: 40px;
    border: 1px solid #d9e1ee;
    border-radius: 12px;
    background: #fff;
    color: #374151;
    font-weight: 800;
}

.storefront-pagination .active {
    border-color: #ef394e;
    background: #ef394e;
    color: #fff;
}

.storefront-comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 16px;
}

.storefront-comparison-table-wrap {
    overflow-x: auto;
}

.storefront-comparison-table {
    width: 100%;
    min-width: 720px;
    border-collapse: separate;
    border-spacing: 0;
    color: #374151;
}

.storefront-comparison-table th,
.storefront-comparison-table td {
    padding: 14px;
    border-bottom: 1px solid #eef2f7;
    text-align: right;
    vertical-align: top;
}

.storefront-comparison-table th {
    background: #f8fafc;
    color: #111827;
    font-weight: 900;
}

.storefront-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    border-bottom: 1px solid #e8edf5;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
    box-shadow: 0 12px 28px rgba(31, 41, 55, 0.06);
}

.storefront-header-shell {
    width: min(1440px, calc(100% - 32px));
    margin: 0 auto;
}

.storefront-header-top {
    display: grid;
    grid-template-columns: 240px minmax(260px, 1fr) auto;
    align-items: center;
    gap: 18px;
    padding: 14px 0;
}

.storefront-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #111827;
    text-decoration: none;
    font-weight: 900;
}

.storefront-brand img {
    width: 54px;
    height: 54px;
    object-fit: contain;
}

.storefront-header-search {
    position: relative;
    width: 100%;
    height: 48px;
    margin: 0;
    border: 1px solid #dde5f0;
    border-radius: 14px;
    background: #f7f9fc;
}

.storefront-header-search form {
    display: flex;
    height: 100%;
}

.storefront-header-search .header-search-input {
    width: 100%;
    height: 100%;
    border: 0;
    background: transparent;
    color: #111827;
    padding: 0 18px 0 54px;
    outline: none;
}

.storefront-header-search .btn-search {
    position: absolute;
    left: 7px;
    top: 7px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 11px;
    background: #ef394e;
    color: #fff;
}

.storefront-header-search .search-result {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    z-index: 20;
    display: none;
    border: 1px solid #e5eaf2;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 35px rgba(31, 41, 55, 0.12);
    padding: 10px;
}

.storefront-search-suggestions {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.storefront-search-suggestions a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 10px;
    background: #f7f9fc;
    color: #374151;
    padding: 9px 11px;
    text-decoration: none;
}

.storefront-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.storefront-header-action {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    border: 1px solid #e1e7f0;
    border-radius: 14px;
    background: #fff;
    color: #111827;
    padding: 0 14px;
    text-decoration: none;
    font-weight: 800;
    white-space: nowrap;
}

.storefront-header-action.compact {
    width: 44px;
    padding: 0;
}

.storefront-header-action i {
    font-size: 22px;
}

.storefront-header-action .cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 20px;
    height: 20px;
    border: 2px solid #fff;
    border-radius: 999px;
    background: #ef394e;
    color: #fff;
    font-size: 11px;
    line-height: 16px;
    text-align: center;
}

.storefront-cart {
    position: relative;
}

.detailstore-public .mini-cart-header.storefront-cart {
    display: block !important;
}

.storefront-cart-dropdown {
    left: 0;
    right: auto;
    width: min(380px, calc(100vw - 32px));
    border: 1px solid #e5eaf2;
    border-radius: 16px;
    overflow: hidden;
}

.storefront-cart-empty {
    padding: 22px;
    text-align: center;
}

.storefront-cart-empty p {
    color: #6b7280;
    margin-bottom: 12px;
}

.storefront-cart-empty a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    border-radius: 11px;
    background: #ef394e;
    color: #fff;
    padding: 0 16px;
}

.storefront-cart-list {
    max-height: 285px;
    overflow: auto;
    padding: 8px;
}

.detailstore-public .storefront-main-menu {
    position: static !important;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: 100% !important;
    min-height: 48px;
    height: auto !important;
    border-top: 1px solid #edf1f6;
    background: transparent;
    box-shadow: none;
    float: none !important;
    margin: 0;
    padding: 0;
}

.detailstore-public .storefront-main-menu .new-list-menu {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.detailstore-public nav.main-menu .item-list-menu {
    position: relative;
}

.detailstore-public .storefront-main-menu a.list-category,
.storefront-brand-strip a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 40px;
    border-radius: 12px;
    color: #374151;
    padding: 0 12px;
    text-decoration: none;
    font-weight: 800;
}

.detailstore-public .storefront-main-menu a.list-category:hover,
.storefront-brand-strip a:hover {
    background: #f2f5fa;
    color: #ef394e;
}

.storefront-category-menu {
    width: 260px !important;
    min-height: auto !important;
    padding: 8px !important;
    border: 1px solid #e5eaf2 !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 40px rgba(31, 41, 55, 0.12) !important;
}

.storefront-category-menu .item-menu-2 {
    height: auto !important;
    border: 0 !important;
}

.storefront-category-menu .list-category-menu-2 {
    display: flex !important;
    align-items: center;
    gap: 8px;
    border-radius: 11px;
    color: #374151 !important;
    padding: 12px !important;
}

.storefront-category-menu .list-category-menu-2:hover {
    background: #f7f9fc;
    color: #ef394e !important;
}

.storefront-brand-strip {
    display: flex;
    align-items: center;
    gap: 4px;
    overflow: hidden;
}

.storefront-home {
    width: min(1440px, calc(100% - 32px));
    margin: 0 auto;
    padding: 24px 0 58px;
    direction: rtl;
}

.storefront-hero {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(260px, 0.85fr);
    gap: 18px;
    align-items: stretch;
}

.storefront-hero-slider,
.storefront-hero-side a,
.storefront-home-section {
    border: 1px solid #e6ebf3;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 32px rgba(31, 41, 55, 0.07);
    overflow: hidden;
}

.storefront-hero-slider img {
    width: 100%;
    height: 360px;
    object-fit: cover;
}

.storefront-hero-slider .carousel,
.storefront-hero-slider .carousel-inner {
    overflow: hidden;
}

.storefront-hero-side {
    display: grid;
    gap: 18px;
}

.storefront-hero-side a {
    display: block;
}

.storefront-hero-side img {
    width: 100%;
    height: 171px;
    object-fit: cover;
}

.storefront-home-section {
    margin-top: 22px;
    padding: 18px;
}

.storefront-home-section-hot {
    border-color: #ffd8df;
    background: linear-gradient(180deg, #fff 0%, #fff8f9 100%);
}

.storefront-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.storefront-section-head span {
    color: #ef394e;
    font-size: 13px;
    font-weight: 900;
}

.storefront-section-head h2 {
    margin: 4px 0 0;
    color: #111827;
    font-size: 22px;
    font-weight: 900;
}

.storefront-section-head a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 112px;
    height: 38px;
    border: 1px solid #e4eaf2;
    border-radius: 12px;
    color: #374151;
    text-decoration: none;
    font-weight: 800;
}

.storefront-category-grid,
.storefront-home-products,
.storefront-brand-grid {
    display: grid;
    gap: 14px;
}

.storefront-category-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.storefront-home-products {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.storefront-category-card,
.storefront-brand-grid a {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #edf1f6;
    border-radius: 16px;
    background: #fff;
    color: #1f2937;
    text-decoration: none;
}

.storefront-category-card {
    flex-direction: column;
    gap: 10px;
    min-height: 156px;
    padding: 14px;
}

.storefront-category-card img {
    width: 90px;
    height: 90px;
    object-fit: contain;
}

.storefront-brand-grid {
    grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
}

.storefront-brand-grid a {
    gap: 8px;
    min-height: 82px;
    padding: 12px;
    font-weight: 900;
}

.storefront-brand-grid img {
    max-width: 64px;
    max-height: 42px;
    object-fit: contain;
}

@media (max-width: 991px) {
    .storefront-header-shell,
    .storefront-home {
        width: min(100% - 20px, 720px);
    }

    .storefront-header-top {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .storefront-brand {
        justify-content: center;
    }

    .storefront-header-actions {
        justify-content: center;
        flex-wrap: wrap;
    }

    .detailstore-public .storefront-main-menu {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 8px;
    }

    .detailstore-public .storefront-main-menu .new-list-menu,
    .storefront-brand-strip {
        flex: 0 0 auto;
    }

    .storefront-hero {
        grid-template-columns: 1fr;
    }

    .storefront-hero-side {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .storefront-home-products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .detailstore-public .header-right,
    .detailstore-public .header-left {
        width: 100%;
    }

    .detailstore-public .logo img {
        max-height: 48px;
    }

    .detailstore-public .footer-inner-box {
        gap: 10px;
    }

    .detailstore-public .top-slider-main .slider-main-container .carousel-inner .carousel-item img {
        height: auto !important;
        object-fit: contain !important;
        object-position: center center !important;
    }

    .storefront-shop-layout {
        grid-template-columns: 1fr;
    }

    .storefront-filter-panel {
        position: static;
    }

    .storefront-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .storefront-detail-hero {
        grid-template-columns: 1fr;
    }

    .storefront-spec-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .storefront-contact-grid,
    .storefront-blog-layout {
        grid-template-columns: 1fr;
    }

    .storefront-blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .storefront-searchbar {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .storefront-header-shell,
    .storefront-home {
        width: calc(100% - 16px);
    }

    .storefront-header-top {
        padding: 10px 0;
    }

    .storefront-brand img {
        width: 44px;
        height: 44px;
    }

    .storefront-brand span {
        font-size: 14px;
    }

    .storefront-header-action span {
        display: none;
    }

    .storefront-header-action {
        min-width: 44px;
        padding: 0;
    }

    .storefront-header-search {
        height: 44px;
    }

    .detailstore-public .storefront-main-menu a.list-category,
    .storefront-brand-strip a {
        height: 36px;
        padding: 0 10px;
        font-size: 13px;
    }

    .storefront-hero-slider img {
        height: 210px;
    }

    .storefront-hero-side {
        grid-template-columns: 1fr;
    }

    .storefront-hero-side img {
        aspect-ratio: 2.7 / 1;
        height: auto;
        background: #111827;
        object-fit: contain;
    }

    .storefront-home-section {
        padding: 14px;
    }

    .storefront-section-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .storefront-section-head h2 {
        font-size: 18px;
    }

    .storefront-home-products,
    .storefront-category-grid {
        grid-template-columns: 1fr;
    }

    .detailstore-public .footer-badge {
        min-width: 46%;
    }

    .detailstore-public .middle-bar-footer,
    .detailstore-public .footer-address {
        padding-right: 10px;
        padding-left: 10px;
    }

    .storefront-list-page {
        padding-top: 24px;
    }

    .storefront-list-page .container {
        max-width: 100%;
        padding-right: 16px;
        padding-left: 16px;
    }

    .storefront-list-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .storefront-product-grid {
        grid-template-columns: 1fr;
    }

    .storefront-filter-actions {
        flex-direction: column;
    }

    .storefront-filter-actions button,
    .storefront-filter-actions a {
        width: 100%;
    }

    .storefront-detail-page .container {
        max-width: 100%;
        padding-right: 24px;
        padding-left: 24px;
    }

    .storefront-detail-info h1 {
        font-size: 21px;
    }

    .storefront-detail-key-specs,
    .storefront-spec-grid {
        grid-template-columns: 1fr;
    }

    .storefront-content-page,
    .storefront-blog-page,
    .storefront-auth-page,
    .storefront-track-page {
        padding-top: 24px;
    }

    .storefront-page-card,
    .storefront-blog-article {
        padding: 18px;
    }

    .storefront-page-head h1,
    .storefront-blog-article h1 {
        font-size: 22px;
    }

    .storefront-form-grid,
    .storefront-blog-grid {
        grid-template-columns: 1fr;
    }
}

/* Current public storefront shell */
.detailstore-public .storefront-header {
    float: none;
    clear: both;
}

.storefront-header-search {
    display: block;
}

.storefront-header-search .storefront-search-result {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    z-index: 50;
    display: none;
    border: 1px solid #e5eaf2;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 20px 45px rgba(31, 41, 55, .14);
    padding: 12px;
}

.storefront-header-search:focus-within .storefront-search-result {
    display: block;
}

.storefront-search-result > span {
    display: block;
    margin: 0 0 10px;
    color: #6b7280;
    font-size: 12px;
    font-weight: 800;
}

.storefront-cart-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    z-index: 60;
    display: none;
    width: min(380px, calc(100vw - 32px));
    border: 1px solid #e5eaf2;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 22px 48px rgba(31, 41, 55, .16);
    overflow: hidden;
}

.storefront-cart:hover .storefront-cart-dropdown,
.storefront-cart:focus-within .storefront-cart-dropdown {
    display: block;
}

.storefront-cart-head,
.storefront-cart-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 16px;
    border-bottom: 1px solid #eef2f7;
}

.storefront-cart-head a,
.storefront-cart-footer a {
    color: #ef394e;
    font-weight: 800;
    text-decoration: none;
}

.storefront-cart-list {
    display: grid;
    gap: 0;
    max-height: 290px;
    margin: 0;
    padding: 8px;
    overflow: auto;
    list-style: none;
}

.storefront-cart-list a {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    border-radius: 12px;
    color: #111827;
    padding: 8px;
    text-decoration: none;
}

.storefront-cart-list a:hover {
    background: #f7f9fc;
}

.storefront-cart-list img {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.storefront-cart-list span {
    overflow: hidden;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.7;
}

.storefront-cart-list small {
    color: #6b7280;
    white-space: nowrap;
}

.storefront-cart-footer {
    flex-wrap: wrap;
    border-top: 1px solid #eef2f7;
    border-bottom: 0;
}

.storefront-cart-footer a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 40px;
    border-radius: 12px;
    background: #ef394e;
    color: #fff;
}

.storefront-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 50px;
    border-top: 1px solid #edf1f6;
}

.storefront-nav-list,
.storefront-brand-strip {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
}

.storefront-nav-link,
.storefront-brand-strip a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 38px;
    border-radius: 12px;
    color: #374151;
    padding: 0 12px;
    text-decoration: none;
    font-weight: 800;
    white-space: nowrap;
}

.storefront-nav-link:hover,
.storefront-brand-strip a:hover {
    background: #f2f5fa;
    color: #ef394e;
}

.storefront-nav-link.primary {
    color: #111827;
}

.storefront-nav-category {
    position: relative;
}

.storefront-category-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 55;
    display: none;
    width: 290px;
    border: 1px solid #e5eaf2;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 24px 50px rgba(31, 41, 55, .14);
    padding: 8px;
}

.storefront-nav-category:hover .storefront-category-menu,
.storefront-nav-category:focus-within .storefront-category-menu {
    display: block;
}

.storefront-category-menu-item {
    position: relative;
}

.storefront-category-menu-item > a {
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 12px;
    color: #374151;
    padding: 12px;
    text-decoration: none;
    font-weight: 800;
}

.storefront-category-menu-item > a:hover {
    background: #f7f9fc;
    color: #ef394e;
}

.storefront-category-menu-item i {
    width: 28px;
    height: 28px;
    border-radius: 10px;
    background: #f1f5f9;
    color: #334155;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.storefront-category-children {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0 12px 10px;
}

.storefront-category-children a {
    border-radius: 999px;
    background: #f8fafc;
    color: #64748b;
    padding: 5px 9px;
    font-size: 12px;
    text-decoration: none;
}

.storefront-hero-feature,
.storefront-hero-side a,
.storefront-promo-grid a {
    display: block;
    border: 1px solid #e6ebf3;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 32px rgba(31, 41, 55, 0.07);
    overflow: hidden;
}

.storefront-hero-feature img {
    width: 100%;
    height: 360px;
    object-fit: cover;
}

.storefront-promo-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 22px;
}

.storefront-promo-grid img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

@media (max-width: 991px) {
    .storefront-nav {
        align-items: flex-start;
        flex-direction: column;
        padding: 8px 0;
    }

    .storefront-nav-list,
    .storefront-brand-strip {
        width: 100%;
        overflow-x: auto;
        scrollbar-width: thin;
    }

    .storefront-category-menu {
        position: fixed;
        top: 176px;
        right: 10px;
        left: 10px;
        width: auto;
        max-height: calc(100vh - 196px);
        overflow: auto;
    }

    .storefront-promo-grid {
        grid-template-columns: 1fr;
    }

    .storefront-promo-grid img {
        height: 150px;
    }
}

@media (max-width: 575px) {
    .detailstore-public .storefront-floating-catalog {
        right: 12px;
        left: auto;
        bottom: 12px;
        width: 62px;
        height: 62px;
        padding: 6px;
        border-radius: 16px;
    }

    .storefront-header-search .header-search-input {
        font-size: 13px;
    }

    .storefront-nav-link,
    .storefront-brand-strip a {
        min-height: 36px;
        padding: 0 10px;
        font-size: 13px;
    }

    .storefront-hero-feature img {
        height: 215px;
    }

    .storefront-promo-grid img {
        height: 128px;
    }
}

/* Original template compatibility */
.detailstore-public .login-link {
    display: inline-block;
}

.detailstore-public .header-left .login-link {
    float: left;
    margin-left: 15px;
}

.detailstore-public .header-left .btn-login {
    float: none;
    margin-left: 0;
    overflow: visible;
}

.detailstore-public .responsive-header-left .mini-cart-header-responsive {
    position: relative;
}

.detailstore-public .responsive-header-left .mini-cart-header-responsive .cart-count {
    position: absolute;
    top: -5px;
    left: -8px;
    min-width: 18px;
    height: 18px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #ef394e;
    color: #fff;
    font-size: 10px;
    line-height: 14px;
    text-align: center;
}

.detailstore-public .promotion-category img {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
    background: #f3f4f6;
}

.detailstore-public .storefront-home-category-section .promotion-category {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #374151;
    text-align: center;
    text-decoration: none;
}

.detailstore-public .storefront-home-category-section .promotion-category-title {
    display: -webkit-box;
    width: 100%;
    min-height: 48px;
    overflow: hidden;
    color: #374151;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.6;
    text-align: center;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.detailstore-public .storefront-home-category-section .promotion-category:hover .promotion-category-title,
.detailstore-public .storefront-home-category-section .promotion-category:focus-visible .promotion-category-title {
    color: #ef394e;
}

@media (min-width: 1200px) {
    .detailstore-public .storefront-home-category-section .promotion-categories {
        display: grid;
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 18px;
        align-items: start;
        width: 100%;
    }

    .detailstore-public .storefront-home-category-section .promotion-category {
        width: 100%;
        max-width: 180px;
        margin: 0 auto;
    }

    .detailstore-public .storefront-home-category-section .promotion-category img {
        width: 140px;
        height: 140px;
    }
}

@media (min-width: 992px) {
    .detailstore-public .top-slider-main .slider-main-container .carousel-inner .carousel-item img {
        height: auto !important;
        aspect-ratio: 2 / 1 !important;
        object-fit: cover !important;
        object-position: center center !important;
    }
}

@media (max-width: 991px) {
    .detailstore-public .top-slider-main .slider-main-container .carousel-inner .carousel-item img {
        height: clamp(325px, 82vw, 430px) !important;
        aspect-ratio: auto !important;
        object-fit: cover !important;
        object-position: center center !important;
    }
}

@media (max-width: 575px) {
    .detailstore-public .top-slider-main .slider-main-container .carousel-inner .carousel-item img {
        height: clamp(340px, 96vw, 430px) !important;
    }
}

.detailstore-public .adplacement .item-adplacement img,
.detailstore-public .kala-row-adplacement .adplacement-sponsored_box img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.detailstore-public .adplacement:not(.adplacement-after-amazing) .item-adplacement img {
    aspect-ratio: 41 / 15;
}

.detailstore-public .widget-product .card-header {
    padding-right: 22px;
    padding-left: 22px;
}

.detailstore-public .widget-product span.title-one {
    max-width: calc(100% - 44px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.detailstore-public .widget-product .product-carousel:not(.product-amazing) .item .post-title,
.detailstore-public .storefront-product-title {
    display: block;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.detailstore-public .widget-product .product-carousel:not(.product-amazing) .item .post-title {
    width: 100%;
    min-height: 25px;
    max-height: 25px;
    line-height: 25px;
}

.detailstore-public .widget-product .product-carousel:not(.product-amazing) .item .post-title a {
    display: block;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.detailstore-account-template .account-product-title {
    display: block;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.detailstore-public .storefront-card-add-cart-form {
    display: inline-flex;
    margin: 0;
}

.detailstore-public .storefront-card-add-cart-form button:disabled {
    cursor: wait;
    opacity: .65;
}

.detailstore-public nav.main-menu ul.new-list-menu li.item-list-menu .list-menu-level-2 .item-menu-2 .megamenu-level-3 {
    min-height: 360px;
}

.detailstore-public .product-detail-template {
    clear: both;
    display: block !important;
    width: 100% !important;
    padding: 0 0 56px;
    background: #fff;
    direction: rtl;
    overflow-x: hidden;
}

.detailstore-public .product-detail-template .product-page {
    width: 100%;
    float: right;
    margin-bottom: 0;
    background: #fff;
}

.detailstore-public .product-detail-template .js-product,
.detailstore-public .product-detail-template .product-attributes,
.detailstore-public .product-detail-template .p-tabs {
    display: block;
    clear: both;
}

.detailstore-public .product-detail-template .js-product::after,
.detailstore-public .product-detail-template .product-attributes::after,
.detailstore-public .product-detail-template .p-tabs::after,
.detailstore-public .product-detail-template .params-list li::after {
    content: "";
    display: table;
    clear: both;
}

.detailstore-public .product-detail-template .product-nav-container {
    align-items: center;
    gap: 12px;
}

.detailstore-public .product-detail-template .breadcrumb {
    margin-bottom: 0;
}

.detailstore-public .product-detail-template .breadcrumb-item.active {
    max-width: 520px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.detailstore-public .product-detail-template .product-gallery {
    min-height: 520px;
    padding-bottom: 28px;
    position: relative;
}

.detailstore-public .product-detail-template .product-gallery .zoom-img {
    display: block;
    position: static !important;
    right: auto !important;
    width: 100%;
    max-width: 411px;
    height: 411px;
    margin: 0 auto;
    object-fit: contain;
}

/* اگر نسخه‌ای از ez-plus کپی موقت تصویر را کنار .zoomWrapper بگذارد، نباید
   چیدمان گالری و بخش‌های پایین‌تر را جابه‌جا کند. تصویر اصلی خودش داخل
   .zoomWrapper است و این قاعده شاملش نمی‌شود. */
.detailstore-public .product-detail-template .product-gallery > .zoomWrapper ~ .zoom-img {
    position: absolute !important;
    top: 0;
    right: 0;
    left: 0;
    z-index: 2;
    margin: 0 auto;
    pointer-events: none;
}

.detailstore-public .product-detail-template .detailstore-gallery-thumbs {
    float: right;
    width: 100%;
    margin-top: 18px;
}

.detailstore-public .product-detail-template .gallery-items:not(.owl-loaded) {
    display: flex;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
    overflow-x: auto;
}

.detailstore-public .product-detail-template .gallery-items:not(.owl-loaded) .item {
    flex: 0 0 76px;
}

.detailstore-public .product-detail-template .gallery-items .item a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 74px;
    height: 74px;
    border: 1px solid #e8edf5;
    border-radius: 10px;
    background: #fff;
}

.detailstore-public .product-detail-template .gallery-items .item a.active {
    border-color: #ef394e;
}

.detailstore-public .product-detail-template .gallery-items .item img {
    width: 62px;
    height: 62px;
    object-fit: contain;
}

.detailstore-public .product-detail-template .gallery-options {
    z-index: 2;
}

.detailstore-public .product-detail-template .product-title {
    margin-top: 10px;
    color: #222831;
    font-size: 22px;
    line-height: 1.8;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.detailstore-public .product-detail-template .product-headline .product-title-container h1.product-title {
    display: block !important;
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    clear: both;
    direction: rtl;
    text-align: right;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
    unicode-bidi: plaintext;
}

.detailstore-public .product-detail-template .product-title-en {
    display: block;
    position: static !important;
    right: auto !important;
    bottom: auto !important;
    min-height: 22px;
    margin: 8px 0 !important;
    padding-left: 0 !important;
    color: #8a93a6;
    background: transparent !important;
    direction: ltr;
    text-align: left;
}

.detailstore-public .product-detail-template .product-engagement a {
    color: inherit;
    text-decoration: none;
}

.detailstore-public .product-detail-template .product-variants ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.detailstore-public .product-detail-template .js-c-ui-variant {
    display: inline-flex;
    margin: 0;
    padding: 0;
}

.detailstore-public .product-detail-template .ui-variant-color {
    position: relative;
    display: inline-flex;
    width: 34px;
    height: 34px;
    margin: 0;
    align-items: center;
    justify-content: center;
    border: 1px solid #d8dee9;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
}

.detailstore-public .product-detail-template .ui-variant-color input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}

.detailstore-public .product-detail-template .ui-variant-shape {
    display: block;
    width: 24px;
    height: 24px;
    border: 1px solid rgba(0, 0, 0, .1);
    border-radius: 50%;
}

.detailstore-public .product-detail-template .ui-variant-check {
    position: absolute;
    right: -2px;
    bottom: -2px;
    display: none;
    width: 16px;
    height: 16px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #00bfd6;
    color: #fff;
    font-size: 11px;
}

.detailstore-public .product-detail-template .ui-variant-color:has(input:checked) {
    border-color: #00bfd6;
    box-shadow: 0 0 0 3px rgba(0, 191, 214, .12);
}

.detailstore-public .product-detail-template .ui-variant-color:has(input:checked) .ui-variant-check {
    display: inline-flex;
}

.detailstore-public .btn-option-wishes.is-active i,
.detailstore-public .btn-option-favorites.is-active i {
    color: #ef394e;
}

.detailstore-public .btn-option-wishes i.mdi-heart-outline,
.detailstore-public .btn-option-favorites i.mdi-heart-outline {
    color: #8a93a6;
}

.detailstore-public .product-detail-template .product-params ul {
    padding-right: 0;
}

/* ویژگی‌های محصول: در استایل پایه رنگ #777 و فونت ۱۲ داشت و کم‌رنگ دیده می‌شد.
   اینجا بزرگ‌تر و پررنگ‌تر می‌شود تا خوانا باشد. */
.detailstore-public .product-detail-template .product-params ul li {
    margin: 12px 0;
    color: #2b3445;
    font-size: 15.5px;
    font-weight: 700;
    line-height: 2.1;
}

.detailstore-public .product-detail-template .product-params ul li::before {
    background: #9aa4b2;
    margin-top: 12px;
}

.detailstore-public .product-detail-template .product-params ul li.title-product-features {
    margin-bottom: 14px;
    color: #0f172a;
    font-size: 18px;
    font-weight: 900;
}

.detailstore-public .product-detail-template .product-params li span:first-child {
    color: #2b3445;
    font-weight: 700;
}

.detailstore-public .product-detail-template .product-params li span:last-child {
    color: #0f172a;
    font-weight: 900;
}

.detailstore-public .product-detail-template .product-params ul li.product-params-more {
    display: none;
}

.detailstore-public .product-detail-template span.show-less {
    display: none;
}

.detailstore-public .product-detail-template .product-params-more-handler .link-border {
    border: 0;
    background: transparent;
    padding: 0;
    color: #00bfd6;
    font: inherit;
    cursor: pointer;
}

.detailstore-public .product-detail-template .product-additional-info p,
.detailstore-public .product-detail-template .mask-text-product-summary {
    color: #3f4656;
    line-height: 2.15;
}

.detailstore-public .product-detail-template .detailstore-buy-column {
    padding: 0;
}

.detailstore-public .product-detail-template .product-seller-info {
    position: sticky;
    top: 92px;
}

.detailstore-public .product-detail-template .product-seller-first-line {
    color: #222831;
    font-weight: 800;
}

.detailstore-public .product-detail-template .detailstore-single-seller-name {
    margin-right: 6px;
    color: #424750;
    font-size: 13px;
    font-weight: 800;
}

.detailstore-public .product-detail-template .product-seller-digiclub {
    align-items: center;
    min-height: 48px;
}

.detailstore-public .product-detail-template .product-seller-digiclub > i {
    margin-left: 8px;
    color: #00bfd6;
    font-size: 30px;
}

.detailstore-public .product-detail-template .product-seller-price-prev {
    color: #a8b0bf;
    text-decoration: line-through;
}

.detailstore-public .product-detail-template .detailstore-price-stack {
    display: grid;
    gap: 6px;
    justify-items: flex-start;
}

.detailstore-public .product-detail-template .detailstore-price-old-row {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 20px;
}

.detailstore-public .product-detail-template .detailstore-discount-badge {
    display: inline-flex;
    min-width: 34px;
    height: 20px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #ef394e;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
}

.detailstore-public .product-detail-template .detailstore-price-current-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
    color: #ef394e;
}

.detailstore-public .product-detail-template .detailstore-price-current-row strong {
    color: #ef394e;
    font-size: 24px;
    font-weight: 900;
    line-height: 1.4;
}

.detailstore-public .product-detail-template .detailstore-detail-cart-form {
    margin: 0;
}

.detailstore-public .product-detail-template .detailstore-detail-cart-form button {
    width: 100%;
    border: 0;
}

.detailstore-public .product-detail-template .detailstore-detail-cart-form button:disabled {
    cursor: wait;
    opacity: .7;
}

.detailstore-public .product-detail-template .detailstore-unavailable-link {
    display: flex !important;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.detailstore-public .detailstore-unavailable-link {
    text-decoration: none;
    white-space: nowrap;
}

.detailstore-public .detailstore-contact-price,
.detailstore-contact-price {
    color: #ef394e !important;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.7;
    text-decoration: none !important;
    white-space: nowrap;
}

.detailstore-public .detailstore-legacy-contact-link,
.detailstore-legacy-contact-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 40px;
    padding: 8px 12px;
    color: #fff !important;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none !important;
}

.detailstore-public .widget-product .product-carousel .item .actions ul li.detailstore-contact-action {
    width: auto !important;
    min-width: 108px;
}

.detailstore-public .widget-product .product-carousel .item .detailstore-contact-action .detailstore-unavailable-link {
    width: auto !important;
    min-width: 108px;
    padding: 0 8px !important;
    font-size: 10px;
}

.detailstore-search-template .detailstore-search-actions .detailstore-unavailable-link {
    min-width: 108px;
}

.detailstore-public .product-detail-template .product-feature-body {
    clear: both;
}

.detailstore-public .product-detail-template .product-feature-item img {
    width: 35px;
    height: 35px;
    object-fit: contain;
}

.detailstore-public .product-detail-template .box-suppliers,
.detailstore-public .product-detail-template .table-suppliers {
    display: none !important;
}

.detailstore-public .product-detail-template .p-tabs {
    margin-top: 0;
    overflow: visible;
}

.detailstore-public .product-detail-template .p-tabs .res-w {
    width: 75%;
    max-width: 75%;
    flex: 0 0 75%;
}

.detailstore-public .product-detail-template .detailstore-mini-buy-sidebar {
    display: block;
    padding-right: 18px;
}

.detailstore-public .product-detail-template .p-tabs .tab-content {
    min-height: 260px;
}

.detailstore-public .product-detail-template .content-expert-summary .is-masked {
    position: relative;
    padding-bottom: 15px;
}

.detailstore-public .product-detail-template .content-expert-summary .is-masked .mask-text-product-summary {
    max-height: 250px;
    overflow: hidden;
}

.detailstore-public .product-detail-template .content-expert-summary .is-masked .mask-text-product-summary.active {
    max-height: 680px !important;
}

.detailstore-public .product-detail-template .content-expert-summary .is-masked .shadow-box {
    position: absolute;
    right: 0;
    left: 0;
    bottom: 10px;
    height: 105px;
    background: linear-gradient(180deg, hsla(0, 0%, 100%, 0), hsla(0, 0%, 98.8%, .99) 99%, #fcfcfc);
}

.detailstore-public .product-detail-template .content-expert-summary .mask-handler {
    position: absolute;
    right: 0;
    left: 0;
    bottom: -20px;
    z-index: 2;
    width: 100%;
    color: #00bfd6;
    border: 0;
    background: transparent;
    padding: 0;
    font-size: 12px;
    font-weight: 700;
    font-family: inherit;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.detailstore-public .product-detail-template .content-expert-summary .mask-handler span {
    border-bottom: 1px dashed #00bfd6;
}

.detailstore-public .product-detail-template .params-list {
    margin: 0;
    padding: 0;
}

.detailstore-public .product-detail-template .params-list li {
    margin-bottom: 8px;
}

.detailstore-public .product-detail-template .detailstore-param-key-col,
.detailstore-public .product-detail-template .detailstore-param-value-col {
    padding: 0;
}

.detailstore-public .product-detail-template .params-list-key,
.detailstore-public .product-detail-template .params-list-value {
    min-height: 52px;
}

.detailstore-public .product-detail-template .params-list-value span {
    word-break: break-word;
}

.detailstore-public .product-detail-template .detailstore-empty-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 180px;
    color: #7d8797;
    text-align: center;
}

.detailstore-public .product-detail-template .detailstore-empty-tab i {
    color: #ef394e;
    font-size: 42px;
}

.detailstore-public .product-detail-template .detailstore-related-products {
    clear: both;
    float: right;
    width: 100%;
    margin-top: 0;
    border: 0;
    border-radius: 5px;
    box-shadow: none;
    background: #fff;
}

.detailstore-public .product-detail-template .detailstore-related-products .card-header {
    justify-content: flex-start;
    min-height: 54px;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

.detailstore-public .product-detail-template .detailstore-related-products .product-carousel:not(.owl-loaded) {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    padding-bottom: 10px;
}

.detailstore-public .product-detail-template .detailstore-related-products .product-carousel:not(.owl-loaded) > .item {
    flex: 0 0 25%;
    min-width: 25%;
    scroll-snap-align: start;
}

.detailstore-public .product-detail-template .detailstore-related-products .item {
    display: flex;
    min-height: 390px;
    padding: 18px 10px 14px;
    flex-direction: column;
    align-items: center;
}

.detailstore-public .product-detail-template .detailstore-related-products .item img {
    height: 210px;
    object-fit: contain;
}

.detailstore-public .product-detail-template .detailstore-related-products .item .hover-img-link {
    display: flex;
    width: 100%;
    height: 220px;
    align-items: center;
    justify-content: center;
}

.detailstore-public .product-detail-template .detailstore-related-products .item .post-title {
    width: 100%;
    min-height: 26px;
    max-height: 26px;
    margin: 14px 0 8px;
    padding: 0 4px;
    line-height: 25px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.detailstore-public .product-detail-template .detailstore-related-products .item .post-title a {
    display: block;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.detailstore-public .product-detail-template .detailstore-long-description {
    margin-top: 28px;
}

.detailstore-public .product-detail-template .detailstore-mini-cart-form {
    margin: 0;
}

.detailstore-public .product-detail-template .detailstore-mini-cart-form button {
    width: 100%;
    border: 1px solid rgb(239, 57, 78);
    cursor: pointer;
}

.detailstore-public .product-detail-template .detailstore-mini-cart-form button:disabled {
    cursor: wait;
    opacity: .7;
}

.detailstore-toast {
    position: fixed;
    top: 24px;
    left: 24px;
    z-index: 20000;
    display: flex;
    min-width: 260px;
    max-width: min(420px, calc(100vw - 32px));
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 8px;
    background: #ef394e;
    color: #fff;
    box-shadow: 0 14px 35px rgba(0, 0, 0, .18);
    direction: rtl;
    font-size: 14px;
    font-weight: 700;
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity .2s ease, transform .2s ease;
}

.detailstore-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.detailstore-toast-success {
    background: #ef394e;
}

.detailstore-toast-warning,
.detailstore-toast-error,
.detailstore-toast-danger {
    background: #ef394e;
}

.detailstore-toast-icon {
    display: inline-flex;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(255, 255, 255, .35);
    border-radius: 50%;
    font-size: 22px;
    line-height: 1;
}

.detailstore-toast-text {
    flex: 1;
    line-height: 1.9;
}

.detailstore-storefront-waiting {
    position: fixed;
    inset: 0;
    z-index: 19999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    background: rgba(255, 255, 255, .72);
    color: var(--detailstore-text);
    font-size: 14px;
    font-weight: 700;
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease;
}

.detailstore-storefront-waiting.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.detailstore-storefront-waiting-spinner {
    width: 42px;
    height: 42px;
    border: 4px solid #e8ebf0;
    border-top-color: var(--detailstore-red);
    border-radius: 50%;
    animation: detailstore-storefront-spin .75s linear infinite;
}

@keyframes detailstore-storefront-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 991px) {
    .detailstore-public .product-detail-template {
        padding-top: 32px;
    }

    .detailstore-public .product-detail-template .product-ext-links {
        display: none;
    }

    .detailstore-public .product-detail-template .breadcrumb-item.active {
        max-width: 220px;
    }

    .detailstore-public .product-detail-template .product-gallery {
        min-height: auto;
        margin-bottom: 12px;
    }

    .detailstore-public .product-detail-template .js-product > .col-lg-4,
    .detailstore-public .product-detail-template .js-product > .col-md-12,
    .detailstore-public .product-detail-template .js-product > .col-lg-8 {
        float: none !important;
        width: 100% !important;
        max-width: 100% !important;
        padding-right: 0 !important;
        padding-left: 0 !important;
    }

    .detailstore-public .product-detail-template .product-info {
        clear: both;
        margin-top: 12px;
    }

    .detailstore-public .product-detail-template .product-gallery .zoom-img {
        height: 300px;
    }

    .detailstore-public .product-detail-template .product-title {
        font-size: 18px;
        text-align: right;
        line-height: 1.75;
        max-width: calc(100vw - 24px) !important;
        line-break: anywhere;
    }

    .detailstore-public .product-detail-template .product-info,
    .detailstore-public .product-detail-template .product-headline,
    .detailstore-public .product-detail-template .product-title-container,
    .detailstore-public .product-detail-template .product-directory {
        float: none !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden;
    }

    .detailstore-public .product-detail-template .product-directory ul {
        white-space: normal;
    }

    .detailstore-public .product-detail-template .product-title-en {
        text-align: right;
        white-space: normal;
    }

    .detailstore-public .product-detail-template .product-attributes .col-lg-8,
    .detailstore-public .product-detail-template .product-attributes .col-md-8,
    .detailstore-public .product-detail-template .product-attributes .col-lg-4,
    .detailstore-public .product-detail-template .product-attributes .col-md-4 {
        float: none !important;
        width: 100% !important;
        max-width: 100% !important;
        padding-right: 0 !important;
        padding-left: 0 !important;
    }

    .detailstore-public .product-detail-template .product-seller-info {
        position: static;
        margin-top: 18px;
    }

    .detailstore-public .product-detail-template .product-feature-col {
        width: 50%;
        margin-bottom: 12px;
    }

    .detailstore-public .product-detail-template .p-tabs .tab-box {
        overflow-x: auto;
    }

    .detailstore-public .product-detail-template .p-tabs ul.nav-tabs {
        min-width: 520px;
    }

    .detailstore-public .product-detail-template .p-tabs .res-w {
        float: none !important;
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100%;
    }

    .detailstore-public .product-detail-template .detailstore-mini-buy-sidebar {
        display: none !important;
    }

    .detailstore-public .product-detail-template .detailstore-param-key-col,
    .detailstore-public .product-detail-template .detailstore-param-value-col {
        float: none !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .detailstore-public .product-detail-template .params-list-key {
        min-height: auto;
        border-radius: 10px 10px 0 0;
    }

    .detailstore-public .product-detail-template .params-list-value {
        min-height: auto;
        border-radius: 0 0 10px 10px;
    }

    .detailstore-public .product-detail-template .detailstore-related-products .product-carousel:not(.owl-loaded) {
        display: flex;
        gap: 10px;
    }

    .detailstore-public .product-detail-template .detailstore-related-products .product-carousel:not(.owl-loaded) > .item {
        flex-basis: 50%;
        min-width: 50%;
    }
}

@media (max-width: 575px) {
    .detailstore-public .product-detail-template {
        padding-top: 22px;
        padding-bottom: 36px;
    }

    .detailstore-public .product-detail-template .container {
        padding-right: 12px;
        padding-left: 12px;
    }

    .detailstore-public .product-detail-template .product-gallery .zoom-img {
        height: 250px;
    }

    .detailstore-public .product-detail-template .gallery-options {
        position: static;
        display: flex;
        justify-content: center;
        margin-top: 12px;
    }

    .detailstore-public .product-detail-template .product-gallery .gallery-item {
        position: static !important;
        display: block;
        margin-top: 12px;
    }

    .detailstore-public .product-detail-template .product-engagement {
        flex-wrap: wrap;
    }

    .detailstore-public .product-detail-template .product-feature-col {
        width: 100%;
    }

    .detailstore-public .product-detail-template .detailstore-related-products .product-carousel:not(.owl-loaded) {
        display: flex;
        gap: 10px;
    }

    .detailstore-public .product-detail-template .detailstore-related-products .product-carousel:not(.owl-loaded) > .item {
        flex-basis: 82%;
        min-width: 82%;
    }
}

@media (max-width: 575px) {
    .detailstore-public .header-main-page > .d-block > div:first-child {
        position: relative;
    }

    .detailstore-public .header-main-page .col-lg-8.col-md-8.col-xs-12.pull-right,
    .detailstore-public .header-right,
    .detailstore-public .header-right > .col-lg-8 {
        float: none !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .detailstore-public .header-right {
        margin-right: 0 !important;
    }

    .detailstore-public .header-right > .col-lg-8 {
        padding-right: 14px !important;
        padding-left: 14px !important;
    }

    .detailstore-public .header-right .logo {
        width: 100% !important;
        text-align: center;
    }

    .detailstore-public .header-right .logo img {
        max-height: 38px;
    }

    .detailstore-public .header-right .search-header {
        box-sizing: border-box;
        width: calc(100vw - 48px) !important;
        max-width: calc(100vw - 48px) !important;
        left: auto !important;
        right: auto !important;
        margin: 8px auto 0 !important;
    }

    .detailstore-public .responsive-header-left {
        position: absolute !important;
        top: -112px !important;
        left: 16px !important;
        margin: 0 !important;
        z-index: 5;
    }

    .detailstore-public .kala-amazing-mobile-copy {
        overflow: hidden;
    }

    .detailstore-public .kala-amazing-mobile-copy .slider-widget-products,
    .detailstore-public .kala-amazing-mobile-copy .widget-product {
        width: calc(100vw - 32px);
        max-width: calc(100vw - 32px);
        overflow: hidden;
    }

    .detailstore-public .kala-amazing-mobile-copy .card-header {
        text-align: center;
    }

    .detailstore-public .kala-amazing-mobile-copy .card-header .title-one {
        margin: 0 auto;
    }

    .detailstore-public .kala-amazing-mobile-copy .product-amazing .owl-nav .owl-prev {
        right: 4px;
    }

    .detailstore-public .kala-amazing-mobile-copy .product-amazing .owl-nav .owl-next {
        left: 4px;
    }

    .detailstore-public .promotion-categories {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    .detailstore-public .promotion-category {
        width: calc(50% - 12px);
        max-width: 150px;
        margin: 0;
    }

    .detailstore-public .promotion-category img {
        width: 112px;
        height: 112px;
        border-radius: 50%;
        object-fit: cover;
    }

    .detailstore-public .promotion-category .promotion-category-name {
        min-height: 32px;
        font-size: 12px;
        line-height: 1.8;
    }
}

/* Header and original home template refinements */
.detailstore-public .storefront-mini-cart-empty {
    clear: both;
    display: grid;
    gap: 8px;
    padding: 18px 14px 20px;
    border-top: 1px solid #f0f0f1;
    text-align: center;
}

.detailstore-public .storefront-mini-cart-empty strong {
    color: #424750;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.8;
}

.detailstore-public .storefront-mini-cart-empty span {
    color: #81858b;
    font-size: 12px;
    line-height: 1.9;
}

.detailstore-public .storefront-mini-cart-empty a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    margin: 2px auto 0;
    padding: 0 14px;
    border-radius: 8px;
    background: #ef394e;
    color: #fff !important;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.detailstore-public .dropdown-menu-login .header-profile-dropdown-action-link {
    text-decoration: none;
}

.detailstore-public .header-left .login-link {
    cursor: pointer;
}

.detailstore-public .header-left .mini-cart-header .cart-count,
.detailstore-public .header-left .header-cart-interest a .counter {
    pointer-events: none;
}

.detailstore-public .header-left .mini-cart-header .mini-cart-dropdown {
    z-index: 10020;
}

.detailstore-public .header-left .mini-cart-header:hover .mini-cart-dropdown,
.detailstore-public .header-left .mini-cart-header:focus-within .mini-cart-dropdown {
    opacity: 1;
    visibility: visible;
}

.detailstore-public .header-cart-info-header .header-cart-info-count:not(.storefront-cart-info-count-clean) {
    display: none;
}

.detailstore-public .kala-amazing-mobile-copy {
    background: #f5f5f5 !important;
}

.detailstore-public .kala-amazing-mobile-copy .product-box-timer {
    width: 100%;
    margin-top: 20px;
    text-align: center;
}

.detailstore-public .kala-amazing-mobile-copy .product-box-timer > span.fa {
    display: none;
}

/* Product detail and contact page parity with original template */
.detailstore-public .product-detail-template .modal {
    direction: rtl;
}

.detailstore-public .product-detail-template .btn-send-email {
    border: 0;
    cursor: pointer;
}

.detailstore-public .product-detail-template .product-gallery #gallery_01f {
    float: right;
}

.detailstore-public .product-detail-template .product-gallery .elevatezoom-gallery.active {
    border-color: #ef394e;
}

.detailstore-public .product-detail-template .detailstore-related-products .card-header .title-one {
    margin-right: 0;
    margin-left: auto;
}

.detailstore-public .detailstore-contact-template {
    clear: both;
    display: block !important;
    width: 100% !important;
    padding: 72px 0 56px;
    background: #f5f6fa;
    direction: rtl;
}

.detailstore-public .detailstore-contact-template .contact-us {
    display: block !important;
    width: 100% !important;
    margin: 0;
}

.detailstore-public .detailstore-contact-template .page-content-contact-us {
    background: #fff;
}

.detailstore-public .detailstore-contact-template .page-content-contact-us-col-big,
.detailstore-public .detailstore-contact-template .page-content-contact-us-row-col {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    text-align: right;
}

.detailstore-public .detailstore-contact-template .page-content-contact-us-full-paragraph {
    line-height: 2.25;
}

.detailstore-public .detailstore-contact-template .detailstore-contact-form {
    width: 100%;
}

.detailstore-public .detailstore-contact-template .contact-us-form-body {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 18px;
}

.detailstore-public .detailstore-contact-template .legal-item-textarea,
.detailstore-public .detailstore-contact-template .detailstore-contact-validation-summary,
.detailstore-public .detailstore-contact-template .upload-drag-uploaded-and-submit {
    grid-column: 1 / -1;
}

.detailstore-public .detailstore-contact-template .required-star {
    color: #ef394e;
}

.detailstore-public .detailstore-contact-template .storefront-validation {
    display: block;
    margin-top: 7px;
    color: #ef394e;
    font-size: 12px;
    line-height: 1.8;
}

.detailstore-public .detailstore-contact-template .ui-input-field,
.detailstore-public .detailstore-contact-template .ui-select-field,
.detailstore-public .detailstore-contact-template .ui-textarea-field {
    color: #424750;
}

.detailstore-public .detailstore-contact-template .contact-us-form-submit {
    border: 0;
    cursor: pointer;
}

@media (max-width: 991px) {
    .detailstore-public .detailstore-contact-template {
        padding-top: 32px;
    }

    .detailstore-public .detailstore-contact-template .contact-us-form-body {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    html,
    body.detailstore-public {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    .detailstore-public .product-detail-template * {
        box-sizing: border-box;
    }

    .detailstore-public .product-detail-template,
    .detailstore-public .product-detail-template .container,
    .detailstore-public .product-detail-template .product-page,
    .detailstore-public .product-detail-template .js-product,
    .detailstore-public .product-detail-template .product-info,
    .detailstore-public .product-detail-template .product-gallery {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden;
    }

    .detailstore-public .product-detail-template .product-headline .product-title-container h1.product-title {
        display: block !important;
        float: none !important;
        width: 100% !important;
        max-width: calc(100vw - 24px) !important;
        font-size: 15px !important;
        line-height: 1.9 !important;
        white-space: normal !important;
        word-break: break-word !important;
        overflow-wrap: anywhere !important;
        overflow: visible !important;
    }

    .detailstore-public .product-detail-template .product-directory,
    .detailstore-public .product-detail-template .product-title-container,
    .detailstore-public .product-detail-template .product-headline {
        overflow: visible !important;
    }

    .detailstore-public .product-detail-template .product-gallery .zoom-img {
        position: static !important;
        right: auto !important;
        max-width: 100% !important;
        height: 240px !important;
    }

    .detailstore-public .product-detail-template .detailstore-gallery-thumbs,
    .detailstore-public .product-detail-template .product-gallery #gallery_01f {
        display: none !important;
    }

    .detailstore-public .product-detail-template .gallery-items:not(.owl-loaded) {
        justify-content: flex-start;
    }

    .detailstore-public .detailstore-contact-template,
    .detailstore-public .detailstore-contact-template .container,
    .detailstore-public .detailstore-contact-template .contact-us,
    .detailstore-public .detailstore-contact-template .page-content-contact-us,
    .detailstore-public .detailstore-contact-template .page-content-contact-us-row,
    .detailstore-public .detailstore-contact-template .page-content-contact-us-col-big,
    .detailstore-public .detailstore-contact-template .page-content-contact-us-row-col {
        box-sizing: border-box !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
        overflow-x: hidden !important;
    }

    .detailstore-public .detailstore-contact-template {
        padding-top: 24px;
        padding-bottom: 36px;
    }

    .detailstore-public .detailstore-contact-template .container {
        padding-right: 12px;
        padding-left: 12px;
    }

    .detailstore-public .detailstore-contact-template .page-content-contact-us {
        padding: 18px 12px !important;
    }

    .detailstore-public .detailstore-contact-template .page-content-contact-us-title,
    .detailstore-public .detailstore-contact-template .page-content-contact-us-full-paragraph {
        text-align: right !important;
    }
}

.detailstore-public .detailstore-contact-template .contact-us .page-content-contact-us .page-content-contact-us-col-big .contact-us-form .contact-us-form-body {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px 18px !important;
    width: 100% !important;
}

.detailstore-public .detailstore-contact-template .contact-us .page-content-contact-us .page-content-contact-us-col-big .contact-us-form .contact-us-form-body .form-legal-item {
    display: block !important;
    float: none !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
}

.detailstore-public .detailstore-contact-template .contact-us .page-content-contact-us .page-content-contact-us-col-big .contact-us-form .contact-us-form-body .legal-item-textarea,
.detailstore-public .detailstore-contact-template .contact-us .page-content-contact-us .page-content-contact-us-col-big .contact-us-form .contact-us-form-body .detailstore-contact-validation-summary,
.detailstore-public .detailstore-contact-template .contact-us .page-content-contact-us .page-content-contact-us-col-big .contact-us-form .contact-us-form-body .upload-drag-uploaded-and-submit {
    grid-column: 1 / -1 !important;
}

.detailstore-public .detailstore-contact-template .contact-us .page-content-contact-us .page-content-contact-us-col-big .contact-us-form .contact-us-form-body .form-legal-item .ui-input-field,
.detailstore-public .detailstore-contact-template .contact-us .page-content-contact-us .page-content-contact-us-col-big .contact-us-form .contact-us-form-body .form-legal-item .ui-select-field,
.detailstore-public .detailstore-contact-template .contact-us .page-content-contact-us .page-content-contact-us-col-big .contact-us-form .contact-us-form-body .form-legal-item .ui-textarea-field {
    box-sizing: border-box !important;
    width: 100% !important;
    min-height: 46px !important;
    padding: 8px 12px !important;
    letter-spacing: 0 !important;
}

.detailstore-public .detailstore-contact-template .contact-us .page-content-contact-us .page-content-contact-us-col-big .contact-us-form .contact-us-form-body .form-legal-item .ui-textarea-field {
    min-height: 120px !important;
}

@media (max-width: 991px) {
    .detailstore-public .detailstore-contact-template .contact-us .page-content-contact-us .page-content-contact-us-col-big .contact-us-form .contact-us-form-body {
        grid-template-columns: 1fr !important;
    }
}

/* Storefront template parity pass */
.detailstore-public .top-slider-main,
.detailstore-public .top-slider-main .kala-slider-row,
.detailstore-public .top-slider-main .slider-main-container {
    background: #fff;
}

.detailstore-public .kala-amazing-mobile-copy,
.detailstore-public .kala-amazing-mobile-copy .slider-widget-products,
.detailstore-public .kala-amazing-mobile-copy .widget-product,
.detailstore-public .kala-amazing-mobile-copy .card-header {
    background: #f5f5f5 !important;
}

.detailstore-public .detailstore-contact-template,
.detailstore-public .detailstore-about-template,
.detailstore-public .detailstore-comparison-template {
    background: #fff;
}

.detailstore-auth-standalone #main {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 42px 0;
    background: #fff;
}

.detailstore-auth-standalone #main .account-box {
    margin-top: 0;
}

.detailstore-auth-standalone .account-box .massege-light {
    line-height: 2;
}

.detailstore-auth-summary {
    margin-bottom: 12px;
    line-height: 1.9;
}

.detailstore-auth-summary.validation-summary-valid,
.detailstore-auth-field-error:empty {
    display: none;
}

.detailstore-auth-summary.validation-summary-errors {
    display: block;
    margin: 0 0 14px;
    padding: 10px 12px;
    border: 1px solid #fecaca;
    border-radius: 8px;
    background: #fff1f2;
    color: #b91c1c;
    text-align: right;
}

.detailstore-auth-summary ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.detailstore-auth-field-error {
    display: block;
    margin-top: 6px;
    text-align: right;
}

.detailstore-auth-submit-loading {
    cursor: wait;
    opacity: .75;
}

.detailstore-faq-template {
    background: #fff;
}

.detailstore-faq-template .info-page-faq.detailstore-faq-list-box {
    min-height: 0;
}

.detailstore-faq-template .detailstore-faq-answer {
    line-height: 2.2;
    cursor: default;
}

.detailstore-faq-template .detailstore-faq-pagination {
    clear: both;
    justify-content: center;
    padding-top: 12px;
}

.detailstore-faq-template .detailstore-faq-empty {
    margin: 12px 0 0;
    box-shadow: none;
}

.detailstore-search-template {
    clear: both;
    width: 100%;
    padding: 34px 0 56px;
    background: #fff;
    direction: rtl;
    overflow-x: hidden;
}

.detailstore-search-template .container::after,
.detailstore-search-template .listing-listing::after,
.detailstore-search-template .detailstore-search-grid::after {
    content: "";
    display: table;
    clear: both;
}

.detailstore-search-template .sidebar-page .box-sidebar {
    background: #fff;
}

.detailstore-search-template .profile-edit-label {
    width: 100%;
}

.detailstore-search-template .profile-edit-label input {
    width: 100%;
    height: 42px;
    border: 1px solid #e6e6e6;
    border-radius: 7px;
    padding: 0 12px;
    color: #424750;
    outline: none;
}

.detailstore-search-template .profile-edit-label input:focus {
    border-color: #56c7da;
}

.detailstore-search-template .filter-label {
    display: block;
    margin: 0;
    cursor: pointer;
}

.detailstore-search-template .catalog ul {
    max-height: 238px;
    overflow-y: auto;
    padding-left: 4px;
}

.detailstore-search-template .catalog .form-auth-row {
    align-items: center;
}

.detailstore-search-template .detailstore-available-check {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 48px;
    margin: 0;
    padding: 0 6px;
    color: #424750;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.detailstore-search-template .detailstore-available-check input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.detailstore-search-template .detailstore-available-toggle {
    position: relative;
    flex: 0 0 44px;
    width: 44px;
    height: 24px;
    border-radius: 999px;
    background: #e6e9ef;
    transition: background .2s ease;
}

.detailstore-search-template .detailstore-available-toggle::after {
    content: "";
    position: absolute;
    top: 3px;
    right: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 6px rgba(15, 23, 42, .18);
    transition: transform .2s ease;
}

.detailstore-search-template .detailstore-available-check input:checked + .detailstore-available-toggle {
    background: #10b981;
}

.detailstore-search-template .detailstore-available-check input:checked + .detailstore-available-toggle::after {
    transform: translateX(-20px);
}

.detailstore-search-template .detailstore-filter-actions {
    display: flex;
    gap: 10px;
    padding: 14px;
}

.detailstore-search-template .detailstore-filter-actions .btn {
    flex: 1;
    min-height: 40px;
    border-radius: 7px;
}

.detailstore-search-template .listing-header {
    overflow-x: auto;
}

.detailstore-search-template .detailstore-sort-submit {
    border: 0;
    background: transparent;
    cursor: pointer;
    white-space: nowrap;
}

.detailstore-search-template .detailstore-search-grid {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    padding: 0;
    margin: 0;
}

.detailstore-search-template .detailstore-search-grid > li {
    display: block;
    margin: 0 0 18px;
    list-style: none;
}

.detailstore-search-template .promotion-box {
    height: 100%;
    min-height: 410px;
    margin: 0 7px;
    padding-bottom: 14px;
}

.detailstore-search-template .promotion-box-image {
    position: relative;
    height: 190px;
}

.detailstore-search-template .promotion-box-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.detailstore-search-template .detailstore-search-discount {
    position: absolute;
    top: 10px;
    right: 10px;
    min-width: 40px;
    height: 26px;
    border-radius: 999px;
    background: #fb3449;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 26px;
    text-align: center;
}

.detailstore-search-template .product-box-title {
    display: block !important;
    width: 100%;
    min-height: 24px;
    max-height: 24px;
    overflow: hidden;
    line-height: 24px !important;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.detailstore-search-template .product-box-rate {
    min-height: 42px;
}

.detailstore-search-template .product-box-row del {
    display: block;
    margin-bottom: 4px;
    color: #ababab;
    font-size: 12px;
}

.detailstore-search-template .product-box-row {
    clear: both;
}

.detailstore-search-template .detailstore-search-actions {
    clear: both;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin-top: 12px;
}

.detailstore-search-template .detailstore-search-actions form {
    margin: 0;
}

.detailstore-search-template .detailstore-search-actions .btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.detailstore-search-template .detailstore-unavailable {
    min-width: 78px;
    color: #a1a3a8;
    font-size: 12px;
    text-align: center;
}

.detailstore-search-template a.detailstore-unavailable {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ef394e;
    font-weight: 700;
}

.detailstore-search-template .detailstore-search-empty {
    margin: 18px 0;
}

.detailstore-search-template .detailstore-search-pagination {
    clear: both;
    justify-content: center;
    padding-top: 18px;
}

.detailstore-comparison-template {
    padding-bottom: 56px;
}

.detailstore-comparison-template .detailstore-compare-cart-form {
    margin-top: 10px;
}

.detailstore-comparison-template .detailstore-compare-cart-form button {
    border: 0;
    cursor: pointer;
}

.detailstore-comparison-template .detailstore-comparison-empty {
    margin: 20px 0;
    box-shadow: none;
}

.detailstore-comparison-template .detailstore-compare-value .compare-list-value {
    width: 290px;
}

/* Storefront menu and search page final alignment */
.detailstore-public nav.main-menu ul.new-list-menu li.item-list-menu .list-menu-level-2 {
    width: 245px;
    max-height: 440px;
    overflow: visible;
    z-index: 10010;
}

.detailstore-public nav.main-menu ul.new-list-menu li.item-list-menu .list-menu-level-2 .item-menu-2 {
    width: 245px;
}

.detailstore-public nav.main-menu ul.new-list-menu li.item-list-menu .list-menu-level-2 .item-menu-2 .list-category-menu-2 {
    display: block;
    overflow: hidden;
    padding: 0 14px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.detailstore-public nav.main-menu ul.new-list-menu li.item-list-menu .list-menu-level-2 .item-menu-2 .megamenu-level-3 {
    width: min(990px, calc(100vw - 285px));
    min-height: 100%;
    max-height: 440px;
    overflow: auto;
    padding: 14px 0;
}

.detailstore-public nav.main-menu ul.new-list-menu li.item-list-menu:hover .list-menu-level-2 .item-menu-2:first-child .megamenu-level-3 {
    display: block;
}

.detailstore-public nav.main-menu ul.new-list-menu li.item-list-menu .list-menu-level-2:hover .item-menu-2:not(:hover):first-child .megamenu-level-3 {
    display: none;
}

.detailstore-public nav.main-menu ul.new-list-menu li.item-list-menu .list-menu-level-2 .item-menu-2:hover .megamenu-level-3 {
    display: block !important;
}

.detailstore-public nav.main-menu ul.new-list-menu li.item-list-menu .list-menu-level-2 .item-menu-2 .megamenu-level-3 li .list-category-megamenu-3 {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.detailstore-search-template .breadcrumb {
    margin-bottom: 12px;
    background: transparent;
}

.detailstore-search-template .listing-header {
    min-height: 52px;
    border-bottom: 1px solid #f0f0f1;
    overflow-x: auto;
}

.detailstore-search-template ul.listing-sort {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-width: max-content;
}

.detailstore-search-template ul.listing-sort::before {
    flex: 0 0 auto;
}

.detailstore-search-template .detailstore-sort-submit {
    min-height: 30px;
    padding: 4px 9px !important;
    border-radius: 7px !important;
    color: #4a5f73 !important;
    font: inherit;
}

.detailstore-search-template .detailstore-sort-submit.active {
    background-color: #00bfd6 !important;
    color: #fff !important;
}

.detailstore-search-template .promotion-box {
    overflow: hidden;
}

.detailstore-search-template .product-box-title {
    text-align: right;
}

.detailstore-search-template .detailstore-search-pagination button {
    border: 0;
    background: #fff;
    color: #777;
    cursor: pointer;
    font: inherit;
}

.detailstore-search-template .detailstore-search-pagination button.active {
    border-radius: 5px;
    background: #00bfd6;
    color: #fff;
}

@media (max-width: 991px) {
    .detailstore-search-template {
        padding-top: 22px;
    }

    .detailstore-search-template .col-lg-3,
    .detailstore-search-template .col-md-4,
    .detailstore-search-template .col-lg-9,
    .detailstore-search-template .col-md-8 {
        width: 100%;
        max-width: 100%;
        float: none !important;
    }

    .detailstore-search-template .sidebar-page {
        margin-bottom: 18px;
    }

    .detailstore-search-template .promotion-box {
        min-height: 388px;
    }
}

@media (max-width: 575px) {
    .detailstore-auth-standalone #main {
        padding: 22px 10px;
    }

    .detailstore-auth-standalone #main .account-box {
        width: 100%;
        max-width: 100%;
    }

    .detailstore-faq-template .info-page-cover-title {
        font-size: 24px;
    }

    .detailstore-search-template .container {
        padding-right: 12px;
        padding-left: 12px;
    }

    .detailstore-search-template .detailstore-search-grid > li {
        width: 100%;
        max-width: 100%;
    }

    .detailstore-search-template .promotion-box {
        margin: 0;
    }

    .detailstore-comparison-template .p_comparison-overflow {
        overflow-x: auto;
    }
}

/* Final storefront fixes: product detail, megamenu, search, OTP */
.detailstore-public nav.main-menu,
.detailstore-public nav.main-menu .container,
.detailstore-public nav.main-menu ul.new-list-menu {
    overflow: visible !important;
}

.detailstore-public nav.main-menu ul.new-list-menu li.item-list-menu.category {
    position: static;
}

.detailstore-public nav.main-menu ul.new-list-menu li.item-list-menu.category > .list-menu-level-2 {
    right: 0;
    left: auto;
    width: 260px;
    max-height: none;
    overflow: visible !important;
    border-radius: 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
}

.detailstore-public nav.main-menu ul.new-list-menu li.item-list-menu.category .list-menu-level-2 .item-menu-2 {
    width: 260px;
}

.detailstore-public nav.main-menu ul.new-list-menu li.item-list-menu.category .list-menu-level-2 .item-menu-2 .list-category-menu-2 {
    height: 52px;
    line-height: 52px;
    padding: 0 16px;
    color: #4a4a4a;
    font-size: 13px;
}

.detailstore-public nav.main-menu ul.new-list-menu li.item-list-menu.category .list-menu-level-2 .item-menu-2:hover > .list-category-menu-2,
.detailstore-public nav.main-menu ul.new-list-menu li.item-list-menu.category .list-menu-level-2 .item-menu-2:first-child > .list-category-menu-2 {
    color: #ef394e;
    background: #f7f7f7;
}

.detailstore-public nav.main-menu ul.new-list-menu li.item-list-menu.category .list-menu-level-2 .item-menu-2 .megamenu-level-3 {
    display: none !important;
    right: 260px;
    left: auto;
    width: min(980px, calc(100vw - 300px));
    min-height: 416px;
    max-height: 416px;
    overflow: hidden !important;
    padding: 18px 24px;
    column-count: 3;
    column-gap: 26px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
    box-sizing: border-box;
}

.detailstore-public nav.main-menu ul.new-list-menu li.item-list-menu.category:hover .list-menu-level-2 .item-menu-2:first-child .megamenu-level-3,
.detailstore-public nav.main-menu ul.new-list-menu li.item-list-menu.category .list-menu-level-2 .item-menu-2:hover .megamenu-level-3 {
    display: block !important;
}

.detailstore-public nav.main-menu ul.new-list-menu li.item-list-menu.category .megamenu-level-3 > li {
    float: none !important;
    width: auto !important;
    break-inside: avoid;
}

.detailstore-public nav.main-menu ul.new-list-menu li.item-list-menu.category .megamenu-level-3 .list-category {
    column-span: all;
    margin-bottom: 12px;
}

.detailstore-public nav.main-menu ul.new-list-menu li.item-list-menu.category .list-category-megamenu {
    color: #00bfd6 !important;
    font-size: 13px;
    font-weight: 800;
}

.detailstore-public nav.main-menu ul.new-list-menu li.item-list-menu.category .list-category-megamenu-3 {
    height: 30px;
    line-height: 30px;
    color: #757575;
    font-size: 13px;
}

.detailstore-public nav.main-menu ul.new-list-menu li.item-list-menu.category .item-megamenu-title .list-category-megamenu-3 {
    color: #333;
    font-weight: 800;
}

.detailstore-public .product-detail-template .ui-variant-check::before {
    content: "\2713";
    line-height: 1;
}

.detailstore-public .product-detail-template .ui-variant-check-white {
    color: #4a4a4a;
}

.detailstore-public .product-detail-template .ZoomContainer,
.detailstore-public .product-detail-template .zoomContainer {
    z-index: 6;
}

.detailstore-public .product-detail-template .zoomWindow,
.detailstore-public .product-detail-template .zoomLens {
    border: 0 !important;
}

.detailstore-public .product-detail-template .content-expert-summary .is-masked .mask-text-product-summary.active {
    max-height: none !important;
    overflow: visible;
}

.detailstore-public .product-detail-template .content-expert-summary .is-masked .mask-text-product-summary.active + .mask-handler {
    position: static;
    display: block;
    margin-top: 10px;
}

.detailstore-public .product-detail-template .detailstore-related-products .item {
    min-height: 405px;
    overflow: visible;
}

.detailstore-public .product-detail-template .detailstore-related-products .item .hover-img-link {
    height: 218px;
    margin-bottom: 10px;
}

.detailstore-public .product-detail-template .detailstore-related-products .item .post-title,
.detailstore-public .widget-product .product-carousel:not(.product-amazing) .item .post-title {
    display: block;
    min-height: 28px;
    max-height: 28px;
    margin: 10px 0 8px;
    line-height: 28px;
    color: #535353;
    font-size: 13px;
    text-align: center;
    overflow: hidden;
}

.detailstore-public .product-detail-template .detailstore-related-products .item .post-title a,
.detailstore-public .widget-product .product-carousel:not(.product-amazing) .item .post-title a,
.detailstore-search-template .product-box-title {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.detailstore-public .product-detail-template .detailstore-product-question-form {
    width: 100%;
    margin: 0 0 28px;
    padding: 0;
}

.detailstore-public .product-detail-template .detailstore-product-question-form textarea {
    min-height: 128px;
    resize: vertical;
}

.detailstore-public .product-detail-template .detailstore-product-question-form .form-faq-row:last-child {
    display: flex;
    align-items: center;
    gap: 16px;
}

.detailstore-public .product-detail-template .detailstore-product-question-form .form-faq-col-submit {
    flex: 0 0 auto;
    width: auto;
}

.detailstore-public .product-detail-template .detailstore-product-question-form .account-agree {
    position: static;
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    color: #777;
    line-height: 1.9;
}

.detailstore-public .product-detail-template .detailstore-product-question-form .btn-tertiary:disabled {
    opacity: .65;
    cursor: wait;
}

.detailstore-public .product-detail-template .detailstore-question-list {
    width: 100%;
    max-width: 100%;
    float: none !important;
    padding: 0;
}

.detailstore-public .product-detail-template .detailstore-question-list .faq-list {
    margin: 0;
    padding: 0;
}

.detailstore-search-template .sidebar-page {
    overflow: visible;
}

.detailstore-search-template .box-sidebar {
    padding: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    box-shadow: none;
}

.detailstore-search-template .box-sidebar .filter,
.detailstore-search-template .catalog {
    width: 100%;
}

.detailstore-search-template .profile-edit-label span {
    display: block;
    margin-bottom: 10px;
    color: #333;
    font-size: 13px;
    font-weight: 800;
}

.detailstore-search-template .profile-edit-label input {
    height: 44px;
    padding-right: 38px;
    border-radius: 8px;
    background-color: #f7f8fa;
}

.detailstore-search-template .btn-box-sidebar {
    width: 100%;
    padding: 0;
    color: #333;
    background: transparent !important;
    border: 0;
    text-align: right;
    box-shadow: none !important;
}

.detailstore-search-template .catalog ul {
    display: block;
    margin: 12px 0 0;
    padding: 0;
}

.detailstore-search-template .catalog li {
    display: block;
    margin: 0 0 8px;
}

.detailstore-search-template .filter-label,
.detailstore-search-template .form-auth-row {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #777;
}

.detailstore-search-template .listing-listing {
    overflow: visible;
}

.detailstore-search-template .listing-header {
    overflow: visible;
}

.detailstore-search-template ul.listing-sort {
    display: flex;
    flex-wrap: wrap;
    min-width: 0;
}

.detailstore-search-template .detailstore-sort-submit {
    border: 0 !important;
    background: transparent !important;
}

.detailstore-search-template .detailstore-sort-submit.active {
    background-color: #00bfd6 !important;
}

.detailstore-search-template .detailstore-search-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.detailstore-search-template .detailstore-search-grid > li {
    display: flex;
}

.detailstore-search-template .promotion-box {
    width: 100%;
    min-height: 420px;
    border-radius: 0;
    box-shadow: none;
}

.detailstore-search-template .promotion-box-image {
    height: 190px;
}

.detailstore-search-template .promotion-box-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.detailstore-search-template .product-box-rate {
    min-height: 24px;
}

.detailstore-search-template .product-box-rate span {
    display: block;
    overflow: hidden;
    color: #8a8a8a;
    font-size: 12px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.detailstore-search-template .storefront-empty-state {
    margin: 24px 0;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
}

.detailstore-search-template .pager,
.detailstore-search-template .detailstore-search-pagination {
    clear: both;
}

.detailstore-verify-box .account-box {
    max-width: 560px;
}

.detailstore-verify-box .storefront-otp-row {
    width: 220px;
    max-width: 100%;
    margin: 18px auto;
    gap: 8px;
}

.detailstore-verify-box .storefront-otp-input {
    height: 48px;
    font-size: 20px;
    border-radius: 10px;
}

/* Final storefront interaction fixes - 2026-05-31 */
.detailstore-public nav.sidebar:not(.open) {
    display: none !important;
}

.detailstore-public nav.sidebar.open {
    display: block !important;
    right: 0 !important;
}

.detailstore-public nav.main-menu ul.new-list-menu li.item-list-menu.category .list-menu-level-2 {
    width: 260px;
    max-width: 260px;
}

.detailstore-public nav.main-menu ul.new-list-menu li.item-list-menu.category .list-menu-level-2 .item-menu-2 .megamenu-level-3 {
    right: 260px;
    width: min(1105px, calc(100vw - 260px));
    max-width: calc(100vw - 260px);
    overflow-x: hidden !important;
}

.detailstore-public .product-detail-template .detailstore-product-question-form .form-faq-row:first-child .form-faq-col,
.detailstore-public .product-detail-template .detailstore-product-question-form .ui-textarea {
    float: none !important;
    width: 100% !important;
    max-width: 100%;
}

.detailstore-public .product-detail-template .detailstore-product-question-form textarea,
.detailstore-public .product-detail-template .detailstore-product-question-form .ui-textarea-field {
    display: block;
    width: 100% !important;
    min-height: 128px;
    box-sizing: border-box;
}

.detailstore-public .product-detail-template .detailstore-product-question-form .form-faq-row:last-child {
    position: relative;
    clear: both;
    min-height: 42px;
}

.detailstore-public .product-detail-template .detailstore-product-question-form .btn-tertiary {
    position: relative;
    z-index: 3;
    min-width: 118px;
}

.detailstore-public .product-detail-template .detailstore-product-question-form .account-agree {
    pointer-events: none;
    z-index: 1;
}

.detailstore-public .product-detail-template .detailstore-product-question-form .account-agree .remember-me {
    pointer-events: none;
}

.detailstore-public .widget-product .product-carousel .item .actions,
.detailstore-public .widget-product .product-carousel .item .actions ul {
    overflow: hidden;
}

.detailstore-public .widget-product .product-carousel .item:hover .actions,
.detailstore-public .widget-product .product-carousel .item:hover .actions ul {
    overflow: visible;
}

.detailstore-public .widget-product .product-carousel .item .actions ul li.like,
.detailstore-public .widget-product .product-carousel .item .actions ul li.compare,
.detailstore-public .widget-product .product-carousel .item .actions ul li.add-to-cart {
    transform: none !important;
    visibility: hidden;
    opacity: 0;
}

.detailstore-public .widget-product .product-carousel .item:hover .actions ul li.like,
.detailstore-public .widget-product .product-carousel .item:hover .actions ul li.compare,
.detailstore-public .widget-product .product-carousel .item:hover .actions ul li.add-to-cart {
    visibility: visible;
    opacity: 1;
}

/* Template-parity fixes for product detail color swatches and category megamenu */
.detailstore-public .product-detail-template .product-variants {
    margin: 25px 0;
    width: 100%;
    float: right;
    font-size: 12px;
}

.detailstore-public .product-detail-template .product-variants > span {
    float: right;
    margin: 0 0 10px 25px;
}

.detailstore-public .product-detail-template .product-variants ul.js-product-variants {
    display: inline-block;
    float: right;
    margin: 20px -7px;
    padding: 0;
}

.detailstore-public .product-detail-template .product-variants ul.js-product-variants li {
    display: inline-block;
    float: right;
    margin: 0 8px 8px 0;
}

.detailstore-public .product-detail-template .product-variants ul li label.ui-variant-color {
    position: relative;
    display: inline-block;
    float: right;
    width: auto;
    height: auto;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.detailstore-public .product-detail-template .product-variants ul li label.ui-variant-color span.ui-variant-shape {
    position: absolute;
    right: 6px;
    top: 1px;
    width: 42px;
    height: 43px;
    border: 1px solid #ccc;
    border-radius: 50px;
    background: #ccc;
}

.detailstore-public .product-detail-template .product-variants ul li label.ui-variant-color span.ui-variant-check {
    display: block;
    position: relative;
    right: auto;
    bottom: auto;
    width: 40px;
    height: 45px;
    margin: 0 5px;
    padding: 5px 10px 5px 10px;
    padding-right: 32px;
    border: 1px solid #dedede;
    border-radius: 50px;
    background: transparent;
    color: #6f6f6f;
    font-size: 14px;
    line-height: 1.692;
    text-align: center;
    cursor: pointer;
}

.detailstore-public .product-detail-template .product-variants ul li label.ui-variant-color:has(input:checked) {
    border-color: transparent;
    box-shadow: none;
}

.detailstore-public .product-detail-template .product-variants ul li label.ui-variant-color span.ui-variant-check::before {
    content: none;
}

.detailstore-public .product-detail-template .product-variants ul li label.ui-variant-color input[type=radio]:checked + .ui-variant-check {
    border-color: #00bfd6 !important;
    box-shadow: none;
}

.detailstore-public .product-detail-template .product-variants ul li label.ui-variant-color input[type=radio]:checked + .ui-variant-check::before {
    content: "\F12C";
    display: inline-block;
    position: absolute;
    inset: 0;
    color: #fff;
    font: normal normal normal 20px/45px "Material Design Icons";
}

.detailstore-public .product-detail-template .product-variants ul li label.ui-variant-color input[type=radio]:checked + .ui-variant-check-white::before {
    color: #000;
}

.detailstore-public nav.main-menu ul.new-list-menu li.item-list-menu.category {
    position: relative;
}

.detailstore-public nav.main-menu ul.new-list-menu li.item-list-menu.category > .list-menu-level-2 {
    right: 0;
    left: auto;
    width: 245px;
    max-width: 245px;
    max-height: none;
    padding-top: 20px;
    padding-bottom: 15px;
    overflow: visible !important;
    border-radius: 0;
    box-shadow: 0 0 3px #eae8e8;
}

.detailstore-public nav.main-menu ul.new-list-menu li.item-list-menu.category .list-menu-level-2 .item-menu-2 {
    width: 245px;
    height: 45px;
    margin-top: -6px;
    margin-bottom: 5.385px;
    line-height: 40px;
}

.detailstore-public nav.main-menu ul.new-list-menu li.item-list-menu.category .list-menu-level-2 .item-menu-2 .list-category-menu-2 {
    height: auto;
    line-height: inherit;
    padding: 0 15px 0 0;
    color: #616161;
    font-size: 13px;
    font-weight: 700;
}

.detailstore-public nav.main-menu ul.new-list-menu li.item-list-menu.category .list-menu-level-2 .item-menu-2 .megamenu-level-3 {
    display: none !important;
    right: 244px;
    left: auto;
    top: 0;
    width: min(990px, calc(100vw - 260px));
    max-width: calc(100vw - 260px);
    height: 100%;
    min-height: 416px;
    max-height: 440px;
    margin: 0 !important;
    padding: 40px 0 0;
    overflow: hidden !important;
    border-right: 1px solid #f0f0f1;
    background: #fff;
    box-shadow: none;
    box-sizing: border-box;
    column-count: initial;
    column-gap: normal;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: flex-start;
}

.detailstore-public nav.main-menu ul.new-list-menu li.item-list-menu.category:hover .list-menu-level-2 .item-menu-2:first-child .megamenu-level-3,
.detailstore-public nav.main-menu ul.new-list-menu li.item-list-menu.category .list-menu-level-2 .item-menu-2:hover .megamenu-level-3 {
    display: flex !important;
}

.detailstore-public nav.main-menu ul.new-list-menu li.item-list-menu.category .megamenu-level-3 > li {
    float: none !important;
    width: auto !important;
    min-width: 25%;
    max-width: 25%;
    padding-right: 15px;
    padding-left: 15px;
    break-inside: auto;
}

.detailstore-public nav.main-menu ul.new-list-menu li.item-list-menu.category .megamenu-level-3 .list-category {
    position: static;
    width: 100% !important;
    min-width: 100%;
    max-width: 100%;
    margin-bottom: 0;
    column-span: none;
}

.detailstore-public nav.main-menu ul.new-list-menu li.item-list-menu.category .list-category-megamenu {
    position: static;
    width: 100%;
    color: #03a9f4 !important;
}

.detailstore-public .product-detail-template .detailstore-related-products .owl-stage-outer,
.detailstore-public .product-detail-template .detailstore-related-products .owl-carousel {
    overflow: hidden !important;
}

/* Home/list carousel product titles must not inherit the template top padding inside a one-line height. */
.detailstore-public .widget-product .product-carousel:not(.product-amazing) .item .post-title {
    height: 30px !important;
    min-height: 30px !important;
    max-height: 30px !important;
    margin: 10px 0 8px !important;
    padding: 0 8px !important;
    line-height: 30px !important;
    overflow: hidden !important;
    color: #535353;
    font-size: 13px;
    text-align: center;
}

.detailstore-public .widget-product .product-carousel:not(.product-amazing) .item .post-title a {
    display: block;
    height: 30px;
    line-height: 30px;
    overflow: hidden;
    color: #535353;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* Product detail final interaction fixes */
.detailstore-public .product-detail-template .product-variants {
    display: none !important;
}

.detailstore-public .product-detail-template .content-expert-summary .is-masked .shadow-box {
    display: none !important;
    background: none !important;
}

.detailstore-public .product-detail-template .product-gallery {
    position: relative;
}

.detailstore-public .product-detail-template .product-gallery .gallery-item {
    z-index: 35 !important;
    pointer-events: none;
}

.detailstore-public .product-detail-template .product-gallery .gallery-options,
.detailstore-public .product-detail-template .product-gallery .gallery-options li,
.detailstore-public .product-detail-template .product-gallery .btn-option {
    position: relative;
    z-index: 36 !important;
    pointer-events: auto;
}

.detailstore-public .product-detail-template .ZoomContainer,
.detailstore-public .product-detail-template .zoomContainer {
    z-index: 34 !important;
}

.detailstore-public .product-detail-template .zoomWindow,
.detailstore-public .product-detail-template .zoomLens,
.detailstore-public .product-detail-template .zoomWindowContainer {
    pointer-events: none;
}

.detailstore-public .product-detail-template .zoomWindowContainer > div,
.detailstore-public .product-detail-template .ZoomWindowContainer > div {
    border: 1px solid #edf0f5 !important;
    border-radius: 10px;
    background-color: #fff !important;
    box-shadow: 0 12px 34px rgba(15, 23, 42, .08);
    overflow: hidden;
}

.detailstore-public .product-detail-template .zoomLens {
    border: 1px solid rgba(239, 57, 78, .18) !important;
    background-color: rgba(255, 255, 255, .36) !important;
}

/* Comparison needs a real horizontal rail when many products are selected. */
.detailstore-comparison-template .p_comparison {
    overflow: hidden;
}

.detailstore-comparison-template .p_comparison-overflow {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 14px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #cfd8e3 #f7f9fc;
}

.detailstore-comparison-template .p_comparison-overflow::-webkit-scrollbar {
    height: 8px;
}

.detailstore-comparison-template .p_comparison-overflow::-webkit-scrollbar-track {
    background: #f7f9fc;
    border-radius: 999px;
}

.detailstore-comparison-template .p_comparison-overflow::-webkit-scrollbar-thumb {
    background: #cfd8e3;
    border-radius: 999px;
}

.detailstore-comparison-template .p_comparison-overflow::-webkit-scrollbar-thumb:hover {
    background: #9fb0c3;
}

.detailstore-comparison-template .compare-list--header,
.detailstore-comparison-template .compare-quick-list {
    width: max-content;
    min-width: 100%;
    white-space: nowrap;
}

.detailstore-comparison-template .compare-list--header > li.is-header {
    width: 290px;
    min-width: 290px;
    margin-left: 0;
    vertical-align: top;
    white-space: normal;
}

.detailstore-comparison-template .compare-list--header > li.is-header:last-child {
    border-left: 0;
}

.detailstore-comparison-template .detailstore-compare-value {
    width: 290px;
    min-width: 290px;
    vertical-align: top;
    white-space: normal;
}

.detailstore-comparison-template .compare-quick-list li {
    min-width: 100%;
}

.detailstore-comparison-template .compare-quick-list .compar-list-title {
    position: sticky;
    right: 0;
    z-index: 2;
    width: 100%;
    padding: 12px 18px;
    background: #fff;
    border-top: 1px solid #eef1f5;
}

/* Product detail Q&A/comments cards should not inherit the narrow absolute layout from the template. */
.detailstore-public .product-detail-template #question-and-answer .detailstore-question-list {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    clear: both;
    padding: 0 !important;
}

.detailstore-public .product-detail-template #question-and-answer ul.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    margin: 22px 0 0 !important;
    padding: 0;
    overflow: visible;
    list-style: none;
}

.detailstore-public .product-detail-template #question-and-answer ul.faq-list > li {
    display: block;
    width: 100%;
    margin: 0;
}

.detailstore-public .product-detail-template #question-and-answer ul.faq-list li .section {
    display: grid;
    grid-template-columns: 94px minmax(0, 1fr);
    gap: 18px;
    width: 100%;
    min-height: 0;
    margin: 0 !important;
    padding: 18px 20px;
    float: none !important;
    border: 1px solid #e7ebf0;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(15, 23, 42, .035);
    color: #424750;
    font-size: 14px;
    line-height: 2.05;
}

.detailstore-public .product-detail-template #question-and-answer ul.faq-list li .section::before,
.detailstore-public .product-detail-template #question-and-answer ul.faq-list li .section::after {
    display: none !important;
}

.detailstore-public .product-detail-template #question-and-answer ul.faq-list li .faq-header-question {
    position: static !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 94px;
    min-height: 96px;
    margin: 0 !important;
    padding: 0;
    border-left: 1px solid #edf0f4;
    color: #35ccde;
    font-size: 42px;
    text-align: center;
}

.detailstore-public .product-detail-template #question-and-answer ul.faq-list li .faq-header-question p {
    margin: 8px 0 0;
    color: #60656f;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.7;
}

.detailstore-public .product-detail-template #question-and-answer ul.faq-list li .section > p {
    min-width: 0;
    margin: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.detailstore-public .product-detail-template #question-and-answer ul.faq-list li .footer {
    position: static !important;
    grid-column: 2;
    width: auto;
    margin-top: 10px;
    float: none !important;
    color: #a8b0bd;
    font-size: 12px;
}

.detailstore-public .product-detail-template #question-and-answer ul.faq-list li .footer em {
    float: none !important;
    margin: 0;
    color: inherit;
}

.detailstore-public .product-detail-template #User-comments .detailstore-empty-tab,
.detailstore-public .product-detail-template #question-and-answer .detailstore-question-empty {
    min-height: 190px;
    border: 1px solid #eef1f5;
    border-radius: 10px;
    background: #fff;
}

@media (max-width: 767px) {
    .detailstore-comparison-template .compare-list--header > li.is-header,
    .detailstore-comparison-template .detailstore-compare-value {
        width: 245px;
        min-width: 245px;
    }

    .detailstore-public .product-detail-template #question-and-answer ul.faq-list li .section {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .detailstore-public .product-detail-template #question-and-answer ul.faq-list li .faq-header-question {
        width: 100%;
        min-height: auto;
        padding-bottom: 10px;
        border-left: 0;
        border-bottom: 1px solid #edf0f4;
        font-size: 34px;
    }

    .detailstore-public .product-detail-template #question-and-answer ul.faq-list li .footer {
        grid-column: 1;
    }
}

.detailstore-search-template .detailstore-search-empty {
    display: flex;
    min-height: 280px;
    margin: 0;
    padding: 36px 20px;
    align-items: center;
    justify-content: center;
    border: 1px solid #eef0f4;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .04);
    text-align: center;
}

.detailstore-search-template .detailstore-search-empty h2 {
    margin-bottom: 10px;
    color: #222831;
    font-size: 22px;
    font-weight: 900;
}

.detailstore-search-template .detailstore-search-empty p {
    margin-bottom: 22px;
    color: #6b7280;
    font-size: 14px;
    line-height: 2;
}

.detailstore-search-template .detailstore-search-empty .detailstore-empty-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.detailstore-search-template .detailstore-search-empty .detailstore-empty-actions a {
    min-width: 140px;
    border-radius: 8px;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.detailstore-search-template .detailstore-search-empty .detailstore-empty-primary {
    background: #ef394e;
    color: #fff;
}

.detailstore-search-template .detailstore-search-empty .detailstore-empty-secondary {
    border: 1px solid #d8dee9;
    background: #fff;
    color: #424750;
}

/* Final storefront parity fixes - 2026-06-01 */
.detailstore-public,
.detailstore-public button,
.detailstore-public input,
.detailstore-public textarea,
.detailstore-public select {
    font-family: iranyekan, Tahoma, Arial, sans-serif !important;
}

.detailstore-public .btn-option-favorites.is-active i,
.detailstore-public .btn-option-wishes.is-active i,
.detailstore-public [data-storefront-favorite].is-active i {
    color: #ef394e !important;
}

.detailstore-public .btn-option-favorites.is-active i.mdi-heart-outline::before,
.detailstore-public .btn-option-wishes.is-active i.mdi-heart-outline::before,
.detailstore-public [data-storefront-favorite].is-active i.mdi-heart-outline::before {
    content: "\F2D1";
}

.detailstore-public .widget-product .product-carousel .item .actions ul li button.btn-option-favorites.is-active {
    background-color: #fff0f2 !important;
}

.detailstore-public .btn-option-favorites.is-active,
.detailstore-public .btn-option-wishes.is-active,
.detailstore-public [data-storefront-favorite].is-active,
.detailstore-public .btn-option-favorites.is-pending,
.detailstore-public .btn-option-wishes.is-pending,
.detailstore-public [data-storefront-favorite].is-pending {
    border-color: #ffd9df !important;
    background-color: #fff0f2 !important;
}

.detailstore-public .btn-option-favorites.is-active i::before,
.detailstore-public .btn-option-wishes.is-active i::before,
.detailstore-public [data-storefront-favorite].is-active i::before {
    color: #ef394e !important;
    font-weight: 900;
}

.detailstore-public .btn-option-favorites.is-active,
.detailstore-public .btn-option-wishes.is-active,
.detailstore-public [data-storefront-favorite].is-active {
    color: #ef394e !important;
}

.detailstore-checkout-payment {
    min-height: 100vh;
    background: #fff;
    color: #424750;
}

.detailstore-legacy-checkout-header,
.detailstore-legacy-checkout-footer {
    display: none !important;
}

.detailstore-checkout-shell .detailstore-checkout-header {
    margin-bottom: 18px;
    border-bottom: 1px solid #e7ebf0;
    background: #fff;
    padding: 14px 0 8px;
}

body.detailstore-public .detailstore-checkout-page.detailstore-checkout-shell .detailstore-checkout-header {
    margin-bottom: 18px !important;
    padding: 14px 0 8px !important;
}

.detailstore-checkout-shell .detailstore-checkout-header .container {
    width: min(1180px, calc(100% - 32px));
    max-width: 1180px;
}

.detailstore-checkout-shell .detailstore-checkout-header .row {
    margin-right: 0;
    margin-left: 0;
}

.detailstore-checkout-shell .header-shopping-logo {
    display: flex;
    min-height: 70px;
    align-items: center;
    justify-content: center;
    padding: 0;
    text-align: center;
}

body.detailstore-public .detailstore-checkout-page.detailstore-checkout-shell .detailstore-checkout-header .header-shopping-logo,
body.detailstore-public .detailstore-checkout-page.detailstore-checkout-shell .detailstore-checkout-header .header-shopping-logo a {
    height: auto !important;
    min-height: 70px !important;
    overflow: visible !important;
}

.detailstore-checkout-shell .header-shopping-logo a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.detailstore-checkout-shell .header-shopping-logo img {
    display: block !important;
    width: 100px !important;
    max-width: 100px !important;
    height: auto !important;
    max-height: 70px !important;
    object-fit: contain !important;
    transform: none !important;
}

body.detailstore-public .detailstore-checkout-page.detailstore-checkout-shell .detailstore-checkout-header .header-shopping-logo img {
    width: 100px !important;
    max-width: 100px !important;
    max-height: 70px !important;
    transform: none !important;
}

.detailstore-checkout-shell .checkout-steps {
    position: relative;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    width: min(920px, 100%) !important;
    margin: 2px auto 0 !important;
    padding: 0 26px 28px !important;
    color: #99a1ad;
    list-style: none;
}

body.detailstore-public .detailstore-checkout-page.detailstore-checkout-shell .detailstore-checkout-header .checkout-steps {
    width: min(920px, 100%) !important;
    margin-top: 2px !important;
    margin-bottom: 0 !important;
    padding: 0 26px 28px !important;
}

.detailstore-checkout-shell .checkout-steps::before {
    position: absolute;
    right: calc(16.666% + 26px);
    bottom: 9px;
    left: calc(16.666% + 26px);
    height: 2px;
    border-radius: 999px;
    background: #d6dbe3;
    content: "";
}

.detailstore-checkout-shell .checkout-steps.is-step-cart::before {
    background: #d6dbe3;
}

.detailstore-checkout-shell .checkout-steps.is-step-shipping::before {
    background: linear-gradient(to left, #00bfd6 0 50%, #d6dbe3 50% 100%);
}

.detailstore-checkout-shell .checkout-steps.is-step-complete::before {
    background: #00bfd6;
}

.detailstore-checkout-shell .checkout-steps li {
    position: relative !important;
    z-index: 1;
    display: flex !important;
    width: auto !important;
    justify-content: center;
    text-align: center;
}

.detailstore-checkout-shell .checkout-steps li::before,
.detailstore-checkout-shell .checkout-steps li::after,
.detailstore-checkout-shell .checkout-steps li a::after,
.detailstore-checkout-shell .checkout-steps li span::after {
    display: none !important;
    content: none !important;
}

.detailstore-checkout-shell .checkout-steps li > a,
.detailstore-checkout-shell .checkout-steps li > span {
    position: relative;
    display: inline-flex !important;
    min-height: 24px;
    align-items: center;
    justify-content: center;
    color: #8d96a3 !important;
    font-weight: 800;
    text-decoration: none;
}

.detailstore-checkout-shell .checkout-steps li > a::before,
.detailstore-checkout-shell .checkout-steps li > span::before {
    position: absolute;
    right: 50%;
    bottom: -29px;
    width: 24px;
    height: 24px;
    margin-right: -12px;
    border: 5px solid #fff;
    border-radius: 50%;
    background: #a9afb8;
    box-shadow: 0 0 0 1px #d6dbe3;
    content: "";
}

.detailstore-checkout-shell .checkout-steps li.is-completed > a,
.detailstore-checkout-shell .checkout-steps li.is-completed > span,
.detailstore-checkout-shell .checkout-steps li.is-active > a,
.detailstore-checkout-shell .checkout-steps li.is-active > span {
    color: #00a9bf !important;
}

.detailstore-checkout-shell .checkout-steps li.is-completed > a::before,
.detailstore-checkout-shell .checkout-steps li.is-completed > span::before,
.detailstore-checkout-shell .checkout-steps li.is-active > a::before,
.detailstore-checkout-shell .checkout-steps li.is-active > span::before {
    background: #00bfd6;
    box-shadow: 0 0 0 1px #00bfd6, 0 6px 18px rgba(0, 191, 214, .24);
}

.detailstore-checkout-payment .content-shopping {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 28px;
    width: 100%;
}

.detailstore-payment-main {
    float: none !important;
    flex: 1 1 auto;
    min-width: 0;
    width: auto !important;
}

.detailstore-payment-aside {
    float: none !important;
    flex: 0 0 320px;
    width: 320px !important;
    margin-top: 95px;
}

.detailstore-checkout-payment .main-shopping {
    margin-top: 0;
}

.detailstore-checkout-payment .shipment-page-container,
.detailstore-checkout-payment .page-aside {
    border-radius: 6px;
}

.detailstore-checkout-payment .headline-checkout-shopping {
    text-align: right;
}

.detailstore-checkout-payment .checkout-paymethod {
    padding: 0;
    margin: 0;
}

.detailstore-checkout-payment .checkout-paymethod-item {
    direction: rtl;
    text-align: right;
}

.detailstore-payment-method .checkout-paymethod-title {
    flex: 1 1 auto;
}

.detailstore-payment-method .checkout-paymethod-title-label {
    margin-bottom: 5px;
    color: #222831;
    font-weight: 800;
}

.detailstore-checkout-payment .checkout-paymethod-by-digipay {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00bfd6;
    font-size: 34px;
}

.detailstore-payment-delivery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 18px 0 22px;
}

.detailstore-payment-delivery-card {
    position: relative;
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 6px 12px;
    min-height: 104px;
    margin: 0;
    padding: 18px 52px 16px 18px;
    border: 1px solid #e5e9f0;
    border-radius: 8px;
    background: #fff;
    color: #424750;
    cursor: pointer;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.detailstore-payment-delivery-card:hover,
.detailstore-payment-delivery-card.is-active {
    border-color: #00bfd6;
    box-shadow: 0 10px 30px rgba(0, 191, 214, .08);
}

.detailstore-payment-delivery-card.is-active {
    background: rgba(0, 191, 214, .04);
}

.detailstore-payment-delivery-icon {
    grid-row: 1 / span 3;
    display: flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f2f5f8;
    color: #7a8494;
    font-size: 22px;
}

.detailstore-payment-delivery-card.is-active .detailstore-payment-delivery-icon {
    background: #e7fbfe;
    color: #00bfd6;
}

.detailstore-payment-delivery-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.detailstore-payment-delivery-check {
    position: absolute;
    top: 20px;
    right: 18px;
    width: 20px;
    height: 20px;
    border: 2px solid #d7dee8;
    border-radius: 50%;
    background: #fff;
}

.detailstore-payment-delivery-card.is-active .detailstore-payment-delivery-check {
    border-color: #00bfd6;
}

.detailstore-payment-delivery-card.is-active .detailstore-payment-delivery-check::after {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00bfd6;
    content: "";
}

.detailstore-payment-delivery-card strong {
    display: block;
    grid-column: 2;
    grid-row: 1;
    color: #222831;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.8;
}

.detailstore-payment-delivery-card small {
    display: block;
    grid-column: 2;
    grid-row: 2;
    color: #8a93a6;
    font-size: 12px;
    line-height: 1.9;
}

.detailstore-payment-delivery-price {
    grid-column: 2;
    grid-row: 3;
    justify-self: start;
    border-radius: 999px;
    background: #f4f6f8;
    padding: 4px 10px;
    color: #303846;
    font-size: 12px;
    font-weight: 900;
}

.detailstore-payment-delivery-price::before {
    content: "هزینه: ";
    color: #718096;
    font-weight: 700;
}

.detailstore-payment-address {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0 0 22px;
    padding: 16px 18px;
    border: 1px solid #e5e9f0;
    border-radius: 8px;
    background: #fafbfc;
}

.detailstore-payment-address.is-warning {
    border-color: #ffe0a6;
    background: #fff9eb;
}

.detailstore-payment-address > span {
    color: #00bfd6;
    font-size: 30px;
    line-height: 1;
}

.detailstore-payment-address.is-warning > span {
    color: #f5a623;
}

.detailstore-payment-address strong {
    display: block;
    margin-bottom: 4px;
    color: #222831;
    font-size: 13px;
    font-weight: 800;
}

.detailstore-payment-address p {
    margin: 0;
    color: #4f5868;
    font-size: 13px;
    line-height: 2;
}

.detailstore-payment-address small {
    display: block;
    margin-top: 4px;
    color: #8a93a6;
    font-size: 12px;
}

.detailstore-payment-address-methods {
    margin: 0 0 26px;
    border: 1px solid #e7ebf0;
    border-radius: 6px;
    background: #fff;
    padding: 18px;
    direction: rtl;
    text-align: right;
}

.detailstore-payment-address-methods-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid #eef1f5;
    padding-bottom: 14px;
}

.detailstore-payment-address-methods-head strong {
    display: block;
    color: #232933;
    font-size: 15px;
    font-weight: 900;
}

.detailstore-payment-address-methods-head p {
    margin: 5px 0 0;
    color: #8a93a6;
    font-size: 12px;
    line-height: 1.9;
}

.detailstore-payment-address-methods-head a,
.detailstore-payment-address-empty a {
    flex: 0 0 auto;
    color: #00bfd6;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.detailstore-payment-address-options {
    display: grid;
    gap: 12px;
}

.detailstore-payment-address-option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0;
    border: 1px solid #edf0f3;
    border-radius: 6px;
    background: #fafbfc;
    padding: 14px;
    color: #424750;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.detailstore-payment-address-option:hover,
.detailstore-payment-address-option.is-active {
    border-color: #00bfd6;
    background: #f4fdff;
    box-shadow: 0 8px 24px rgba(0, 191, 214, .08);
}

.detailstore-payment-address-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.detailstore-payment-address-option-check {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin-top: 3px;
    border: 2px solid #c8ced8;
    border-radius: 50%;
    background: #fff;
}

.detailstore-payment-address-option.is-active .detailstore-payment-address-option-check {
    border: 5px solid #00bfd6;
}

.detailstore-payment-address-option-pickup {
    display: none !important;
}

.detailstore-checkout-payment:has(#delivery-pickup:checked) [data-address-warning],
.detailstore-checkout-payment:has(#delivery-pickup:checked) .detailstore-payment-address-methods {
    display: none !important;
}

.detailstore-payment-address-option span:last-child {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.detailstore-payment-address-option strong {
    color: #232933;
    font-size: 14px;
    font-weight: 900;
}

.detailstore-payment-address-option small,
.detailstore-payment-address-option em {
    color: #7b8493;
    font-size: 12px;
    font-style: normal;
    line-height: 1.8;
}

.detailstore-payment-address-empty {
    border: 1px dashed #d8dee7;
    border-radius: 6px;
    background: #fbfcfd;
    padding: 16px;
    color: #7b8493;
    font-size: 13px;
    line-height: 1.9;
}

.detailstore-payment-products {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
    padding: 8px 0;
}

.detailstore-payment-product {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 6px 12px;
    min-height: 96px;
    padding: 12px;
    border: 1px solid #edf0f5;
    border-radius: 8px;
    background: #fff;
    text-decoration: none !important;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.detailstore-payment-product:hover {
    border-color: #d9e0eb;
    box-shadow: 0 12px 28px rgba(34, 40, 49, .06);
}

.detailstore-payment-product img {
    grid-row: 1 / span 2;
    width: 76px;
    height: 76px;
    object-fit: contain;
}

.detailstore-payment-product span {
    display: block;
    overflow: hidden;
    color: #303846;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.9;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.detailstore-payment-product small {
    display: block;
    overflow: hidden;
    color: #8a93a6;
    font-size: 11px;
    line-height: 1.8;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.detailstore-payment-submit,
.detailstore-payment-action {
    border: 0;
    cursor: pointer;
    font-family: inherit;
}

.detailstore-payment-submit.is-disabled,
.detailstore-payment-action.is-disabled,
.detailstore-payment-submit:disabled,
.detailstore-payment-action:disabled {
    opacity: .55;
    cursor: not-allowed;
}

.detailstore-payment-action {
    float: left;
}

.detailstore-payment-discount span:last-child {
    color: #ef394e !important;
}

.detailstore-checkout-payment .checkout-order-summary {
    float: none;
    width: 100%;
}

.detailstore-checkout-payment .checkout-order-summary-header,
.detailstore-checkout-payment .checkout-summary-summary li {
    direction: rtl;
}

.detailstore-checkout-payment .checkout-order-summary-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    gap: 18px;
    width: 100%;
    text-align: right;
}

.detailstore-checkout-payment .checkout-to-shipping-sticky {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    direction: rtl;
}

.detailstore-checkout-payment .checkout-summary-content {
    color: #8a93a6;
    font-size: 12px;
    line-height: 2;
    text-align: right;
}

.detailstore-checkout-result {
    min-height: 100vh;
    background: #f6f8fa;
    color: #424750;
}

.detailstore-checkout-result .main-shopping {
    margin: 18px 0 34px;
}

.detailstore-checkout-result .complate-page-container {
    max-width: 1180px;
    margin: 0 auto;
}

.detailstore-payment-result-card {
    overflow: hidden;
    border: 1px solid #e5eaf1;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 54px rgba(15, 23, 42, .06);
    direction: rtl;
    text-align: center;
}

.detailstore-payment-result-card .success-checkout {
    padding: 34px 24px 26px;
    border-bottom: 1px solid #edf1f5;
}

.detailstore-payment-result-card .icon-success {
    display: inline-flex;
    width: 76px;
    height: 76px;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 50%;
    background: #e9fbf4;
    color: #10b981;
    font-size: 36px;
}

.detailstore-payment-result-card .icon-success.warning {
    background: #fff1f2;
    color: #ef394e;
}

.detailstore-payment-result-card .order-success {
    display: grid;
    gap: 10px;
    justify-items: center;
    color: #303846;
    font-size: 18px;
    font-weight: 900;
    line-height: 2;
}

.detailstore-payment-result-card .order-code {
    color: #00a9bf;
    font-weight: 900;
}

.detailstore-payment-result-card .detailstore-payment-result-code {
    display: inline-block;
    margin: 0 4px;
    border-radius: 4px;
    padding: 1px 8px;
    background: #e8fbff;
}

.detailstore-payment-result-card .order-ready-post,
.detailstore-payment-result-card .text-warning {
    display: block;
    max-width: 720px;
    color: #6f7888;
    font-size: 13px;
    font-weight: 500;
    line-height: 2.1;
}

.detailstore-payment-result-card .text-warning {
    color: #ef394e;
    font-weight: 800;
}

.detailstore-payment-result-card .checkout-order-info {
    padding: 24px;
}

.detailstore-payment-result-card .order-info {
    display: block;
    overflow: hidden;
    text-align: right;
}

.detailstore-payment-result-card .checkout-process-order-info {
    color: #6f7888;
    font-size: 13px;
    line-height: 2.1;
}

.detailstore-payment-result-card .processing {
    color: #00a9bf;
    font-weight: 900;
}

.detailstore-payment-result-card .dk-btn {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 7px;
    padding: 10px 22px;
    color: #fff !important;
    font-weight: 900;
    text-decoration: none !important;
}

.detailstore-payment-result-card .detailstore-payment-result-retry {
    background: #00bfd6;
}

.detailstore-payment-result-card .detailstore-payment-result-follow {
    background: #00bfd6;
}

.detailstore-payment-result-card .checkout-order-info .order-info .btn-following-order {
    clear: both;
}

.detailstore-payment-result-card .checkout-order-info .order-info .detailstore-payment-result-details-table,
.detailstore-payment-result-card .checkout-order-info .order-info table {
    clear: both;
}

.detailstore-payment-result-table {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid #e5eaf1;
    border-radius: 7px;
}

.detailstore-payment-result-table > div {
    display: grid;
    gap: 6px;
    min-height: 74px;
    align-content: center;
    border-bottom: 1px solid #edf1f5;
    padding: 14px 16px;
}

.detailstore-payment-result-table > div:nth-child(odd) {
    border-left: 1px solid #edf1f5;
}

.detailstore-payment-result-table > div.is-wide {
    grid-column: 1 / -1;
    border-left: 0;
    border-bottom: 0;
}

.detailstore-payment-result-table span {
    color: #8a93a6;
    font-size: 12px;
}

.detailstore-payment-result-table strong {
    color: #303846;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.9;
}

.detailstore-payment-result-details-table {
    margin: 24px 0 0;
    border: 1px solid #e5eaf2;
    border-radius: 8px;
    overflow: hidden;
    text-align: right;
}

.detailstore-payment-result-details-table th,
.detailstore-payment-result-details-table td {
    border-color: #e5eaf2 !important;
    color: #576071;
    font-size: 13px;
    font-weight: 800;
    line-height: 2;
    vertical-align: middle;
}

.detailstore-payment-result-details-table span {
    color: #303846;
    font-weight: 900;
}

.detailstore-checkout-result .detailstore-payment-result-card {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.detailstore-checkout-result .detailstore-payment-result-card .success-checkout,
.detailstore-checkout-result .detailstore-payment-result-card .checkout-order-info {
    width: 100%;
    position: relative;
    height: auto;
    margin-top: 20px;
    margin-bottom: 20px;
    border: 1px solid #e7e7e7;
    background: #fff;
    box-shadow: 0 12px 12px 0 hsla(0, 0%, 71%, .1);
    padding: 15px 15px 30px;
}

.detailstore-checkout-result .detailstore-payment-result-card .success-checkout {
    border-bottom: 1px solid #e7e7e7;
}

.detailstore-checkout-result .detailstore-payment-result-card .icon-success {
    display: block;
    width: 55px;
    height: 55px;
    margin: 25px auto;
    border-radius: 50%;
    background: #d7fbfb;
    color: #02b4e4;
    font-size: 25px;
    line-height: 53px;
    text-align: center;
}

.detailstore-checkout-result .detailstore-payment-result-card .icon-success.warning {
    background: #ffdddd;
    color: #ff737b;
}

.detailstore-checkout-result .detailstore-payment-result-card .order-success {
    display: block;
    width: 100%;
    color: #968097;
    font-size: 16px;
    font-weight: 700;
    line-height: 2;
    text-align: center;
}

.detailstore-checkout-result .detailstore-payment-result-card .order-success a.order-code {
    display: inline-block;
    padding: 0 10px;
    border-radius: 5px;
    background: #eaffff;
    color: #02b4e4;
    font-weight: 700;
    text-decoration: none;
}

.detailstore-checkout-result .detailstore-payment-result-card .order-ready-post,
.detailstore-checkout-result .detailstore-payment-result-card .text-warning {
    display: block;
    max-width: none;
    margin-top: 15px;
    color: #777;
    font-size: 13px;
    font-weight: 700;
    line-height: 2.1;
}

.detailstore-checkout-result .detailstore-payment-result-card .text-warning {
    color: #ff737b;
}

.detailstore-checkout-result .detailstore-payment-result-card .order-info {
    overflow: visible;
    padding: 15px;
    text-align: right;
}

.detailstore-checkout-result .detailstore-payment-result-card .checkout-order-info .order-code {
    display: block;
    color: #5a5a5a;
    font-size: 18px;
    font-weight: 700;
    text-align: right;
}

.detailstore-checkout-result .detailstore-payment-result-card .checkout-order-info .order-code span {
    margin-bottom: 20px;
    color: #5a5a5a;
    font-size: 18px;
    font-weight: 700;
}

.detailstore-checkout-result .detailstore-payment-result-card .checkout-process-order-info {
    width: 60%;
    padding: 15px 0;
    color: #5f5d5d;
    font-size: 13px;
    line-height: 2.1;
    text-align: right;
}

.detailstore-checkout-result .detailstore-payment-result-card .checkout-process-order-info a.processing {
    border-radius: 5px;
    background: #eaffff;
    color: #02b4e4;
    padding: 2px 5px;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
}

.detailstore-checkout-result .detailstore-payment-result-card .btn-following-order {
    width: 25%;
    float: left;
    margin-top: -80px;
}

.detailstore-checkout-result .detailstore-payment-result-card .dk-btn,
.detailstore-checkout-result .detailstore-payment-result-card .detailstore-payment-result-follow {
    display: inline-flex;
    width: 100%;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 7px;
    background: #00bfd6;
    color: #fff !important;
    font-size: 17px;
    font-weight: 900;
    text-decoration: none !important;
}

.detailstore-checkout-result .detailstore-payment-result-details-table {
    clear: both;
    margin: 24px 0 0;
    border: 1px solid #e8e2e2;
    border-radius: 0;
    font-size: 14px;
    font-weight: bold;
    overflow: hidden;
}

.detailstore-checkout-result .detailstore-payment-result-details-table thead {
    background: #ededed;
}

.detailstore-checkout-result .detailstore-payment-result-details-table th,
.detailstore-checkout-result .detailstore-payment-result-details-table td {
    border-color: #e8e2e2 !important;
    color: #576071;
    font-size: 13px;
    font-weight: 800;
    line-height: 2;
    vertical-align: middle;
}

@media (max-width: 991px) {
    .detailstore-checkout-payment .content-shopping {
        flex-direction: column;
    }

    .detailstore-payment-main,
    .detailstore-payment-aside {
        flex: 0 0 auto;
        width: 100% !important;
    }

    .detailstore-payment-aside {
        margin-top: 18px;
    }

    .detailstore-payment-products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .detailstore-checkout-shell .detailstore-checkout-header {
        margin-bottom: 12px;
        padding: 12px 0 7px;
    }

    body.detailstore-public .detailstore-checkout-page.detailstore-checkout-shell .detailstore-checkout-header {
        margin-bottom: 12px !important;
        padding: 12px 0 7px !important;
    }

    .detailstore-checkout-shell .detailstore-checkout-header .container {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
        padding-right: 14px !important;
        padding-left: 14px !important;
    }

    .detailstore-checkout-shell .header-shopping-logo {
        min-height: 66px;
    }

    body.detailstore-public .detailstore-checkout-page.detailstore-checkout-shell .detailstore-checkout-header .header-shopping-logo,
    body.detailstore-public .detailstore-checkout-page.detailstore-checkout-shell .detailstore-checkout-header .header-shopping-logo a {
        height: auto !important;
        min-height: 66px !important;
        overflow: visible !important;
    }

    .detailstore-checkout-shell .header-shopping-logo img {
        width: 90px !important;
        max-width: 90px !important;
        max-height: 64px !important;
        transform: none !important;
    }

    body.detailstore-public .detailstore-checkout-page.detailstore-checkout-shell .detailstore-checkout-header .header-shopping-logo img {
        width: 90px !important;
        max-width: 90px !important;
        max-height: 64px !important;
        transform: none !important;
    }

    .detailstore-checkout-shell .checkout-steps {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
        direction: rtl;
        margin-top: 2px !important;
        overflow: visible;
        padding-right: 0 !important;
        padding-bottom: 28px !important;
        padding-left: 0 !important;
        font-size: 10.5px;
        line-height: 1.7;
    }

    body.detailstore-public .detailstore-checkout-page.detailstore-checkout-shell .detailstore-checkout-header .checkout-steps {
        width: 100% !important;
        max-width: 100% !important;
        margin-top: 2px !important;
        margin-bottom: 0 !important;
        padding-right: 0 !important;
        padding-bottom: 28px !important;
        padding-left: 0 !important;
    }

    .detailstore-checkout-shell .checkout-steps::before {
        right: 14%;
        left: 14%;
    }

    .detailstore-checkout-shell .checkout-steps li {
        min-width: 0;
        max-width: 100%;
        overflow: visible;
        padding: 0 2px;
    }

    .detailstore-checkout-shell .checkout-steps li > a,
    .detailstore-checkout-shell .checkout-steps li > span,
    .detailstore-checkout-shell .checkout-steps li > a > span {
        width: auto !important;
        max-width: 76px;
        min-width: 0;
        height: auto !important;
        padding: 0 !important;
        float: none !important;
        direction: rtl;
        white-space: normal;
        text-align: center;
        text-indent: 0 !important;
        overflow-wrap: anywhere;
    }

    .detailstore-payment-delivery,
    .detailstore-payment-products {
        grid-template-columns: 1fr;
    }

    .detailstore-payment-address-methods-head {
        flex-direction: column;
    }

    .detailstore-checkout-payment .checkout-to-shipping-sticky {
        flex-wrap: wrap;
        gap: 12px;
    }

    .detailstore-payment-submit {
        width: 100%;
    }

    .detailstore-checkout-payment .checkout-order-summary-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .detailstore-payment-result-card .success-checkout,
    .detailstore-payment-result-card .checkout-order-info {
        padding: 22px 14px;
    }

    .detailstore-payment-result-table {
        grid-template-columns: 1fr;
    }

    .detailstore-payment-result-table > div,
    .detailstore-payment-result-table > div:nth-child(odd) {
        border-left: 0;
    }

}

.detailstore-public .product-detail-template .faq-headline {
    display: block;
    width: 100%;
    margin: 0 0 20px;
    color: #6f6f6f;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.8;
    text-align: right;
}

.detailstore-public .product-detail-template .faq-headline span {
    display: block;
    margin-top: 5px;
    padding: 0 3px;
    color: #6f6f6f;
    font-size: 16px;
    font-weight: 700;
    direction: ltr;
    text-align: right;
}

.detailstore-public .product-detail-template .detailstore-product-question-form {
    float: right;
    width: 100%;
    margin: 0 0 32px;
    padding: 0;
}

.detailstore-public .product-detail-template .detailstore-product-question-form .form-faq-row {
    display: block !important;
    clear: both;
    margin-top: 20px;
    margin-right: -10px;
    margin-left: -10px;
}

.detailstore-public .product-detail-template .detailstore-product-question-form .form-faq-col {
    float: none !important;
    width: 100% !important;
    padding-right: 10px;
    padding-left: 10px;
}

.detailstore-public .product-detail-template .detailstore-product-question-form .ui-textarea,
.detailstore-public .product-detail-template .detailstore-product-question-form .ui-textarea-field {
    width: 100% !important;
}

.detailstore-public .product-detail-template .detailstore-product-question-form .ui-textarea-field {
    display: block;
    height: 180px !important;
    min-height: 180px !important;
    padding: 10px;
    border: 1px solid #c8c8c8;
    border-radius: 5px;
    outline: none;
    color: #424242;
    background: #fff;
    font-size: 14px;
    line-height: 2;
    resize: vertical;
    vertical-align: top;
}

.detailstore-public .product-detail-template .detailstore-product-question-form .form-faq-col-submit {
    float: right !important;
    width: auto !important;
}

.detailstore-public .product-detail-template .detailstore-product-question-form .btn-tertiary {
    min-width: 118px;
    padding: 5px 14px;
    border: 0;
    border-radius: 8px;
    background-color: #7a7a7a;
    color: #fff;
    font-size: 16px;
    line-height: 1.8;
    box-shadow: none !important;
}

.detailstore-public .product-detail-template .detailstore-product-question-form .form-auth-row-product {
    float: right !important;
    width: calc(100% - 170px);
    margin: 0 35px 0 0;
    color: #81858b;
    font-size: 13px;
    line-height: 2;
}

.detailstore-public .product-detail-template .detailstore-product-question-form .form-auth-row-product .ui-checkbox {
    float: right;
    margin: 2px 0 0 10px;
}

.detailstore-public .product-detail-template .detailstore-product-question-form .form-auth-row-product .remember-me {
    display: block;
    margin: 0;
}

.detailstore-public .product-detail-template .gallery-options .btn-option:hover i,
.detailstore-public .product-detail-template .gallery-options .btn-option:focus i {
    color: #ef394e;
}

.detailstore-public .product-detail-template .gallery-options .tooltip-short {
    white-space: nowrap;
}

.detailstore-public .product-detail-template .zoomWindow,
.detailstore-public .product-detail-template .zoomLens,
.detailstore-public .zoomWindow,
.detailstore-public .zoomLens,
.detailstore-public .zoomWindowContainer {
    border: 0 !important;
    pointer-events: none !important;
}

.detailstore-public .product-detail-template .gallery-item,
.detailstore-public .product-detail-template .gallery-options {
    position: relative;
    z-index: 30;
}

.detailstore-public .product-detail-template .product-gallery .gallery-item {
    position: absolute !important;
    top: 25px !important;
    right: -5px !important;
    bottom: auto !important;
    left: auto !important;
}

.detailstore-public .product-detail-template .product-gallery .gallery-options {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

.detailstore-public .product-detail-template .product-gallery .gallery-options li {
    display: block !important;
    width: 28px;
    height: 28px;
    margin: 0 0 10px !important;
}

.detailstore-public .product-detail-template .product-gallery .btn-option {
    width: 28px !important;
    height: 28px !important;
    padding: 0 !important;
    border: 0 !important;
    background: #fff !important;
    color: #424750;
    font-size: 25px !important;
    line-height: 28px !important;
    box-shadow: none !important;
}

.detailstore-public .product-detail-template .mask-handler,
.detailstore-public .product-detail-template .mask-handler:focus,
.detailstore-public .product-detail-template .mask-handler:active {
    border: 0 !important;
    outline: none !important;
    box-shadow: none !important;
}

.detailstore-public nav.main-menu ul.new-list-menu li.item-list-menu.category > .list-menu-level-2 {
    min-height: 560px;
}

.detailstore-public nav.main-menu ul.new-list-menu li.item-list-menu.category .list-menu-level-2 .item-menu-2 .megamenu-level-3 {
    min-height: 560px;
    max-height: 600px;
    padding-top: 34px;
}

.detailstore-search-template .detailstore-sort-submit,
.detailstore-search-template .detailstore-sort-submit:focus,
.detailstore-search-template .detailstore-sort-submit:active,
.detailstore-search-template .detailstore-sort-submit:focus-visible,
.detailstore-search-template .detailstore-sort-submit:focus-within,
.detailstore-search-template .detailstore-sort-submit.active:focus,
.detailstore-search-template .detailstore-sort-submit.active:active,
.detailstore-search-template .listing-sort .nav-link:focus,
.detailstore-search-template .listing-sort .nav-link:active {
    outline: none !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
}

.detailstore-search-template .detailstore-sort-submit:not(.active):focus,
.detailstore-search-template .detailstore-sort-submit:not(.active):active {
    border-color: transparent !important;
}

.detailstore-search-template .listing-sort .nav-item.listing-active .detailstore-sort-submit,
.detailstore-search-template .detailstore-sort-submit.active {
    border: 0 !important;
    background-color: #00bfd6 !important;
    color: #fff !important;
}

.detailstore-search-template .box-sidebar {
    padding: 18px 16px;
}

.detailstore-search-template .box-sidebar .collapse.show .catalog {
    max-height: 340px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-left: 8px;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: #d7dde7 transparent;
}

.detailstore-search-template .box-sidebar .collapse.show .catalog::-webkit-scrollbar {
    width: 6px;
}

.detailstore-search-template .box-sidebar .collapse.show .catalog::-webkit-scrollbar-track {
    border-radius: 999px;
    background: transparent;
}

.detailstore-search-template .box-sidebar .collapse.show .catalog::-webkit-scrollbar-thumb {
    border: 1px solid #fff;
    border-radius: 999px;
    background: #d7dde7;
}

.detailstore-search-template .box-sidebar .collapse.show .catalog::-webkit-scrollbar-button {
    display: none;
}

.detailstore-search-template .detailstore-search-pagination button,
.detailstore-search-template .detailstore-search-pagination button:focus,
.detailstore-search-template .detailstore-search-pagination button:active,
.detailstore-search-template .detailstore-search-pagination button:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

.detailstore-search-template .detailstore-search-pagination button.active,
.detailstore-search-template .detailstore-search-pagination button.active:focus,
.detailstore-search-template .detailstore-search-pagination button.active:active {
    border-color: #00bfd6 !important;
    background-color: #00bfd6 !important;
    color: #fff !important;
}

.detailstore-search-template .detailstore-search-empty {
    min-height: 430px;
    max-width: 680px;
    margin: 22px auto 44px;
    padding: 64px 40px;
    border-color: #e6eaf0;
    border-radius: 14px;
    box-shadow: 0 18px 42px rgba(15, 23, 42, .07);
}

.detailstore-search-template .detailstore-search-empty::before {
    content: "\F349";
    display: flex;
    width: 74px;
    height: 74px;
    margin: 0 auto 20px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f5f7fb;
    color: #a4adba;
    font: normal normal normal 36px/1 "Material Design Icons";
}

.detailstore-search-template .listing-listing {
    position: relative;
    min-height: 280px;
}

body.detailstore-filter-submitting .detailstore-search-template .listing-listing::after {
    content: "در حال اعمال فیلتر...";
    position: absolute;
    inset: 0;
    z-index: 15;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, .78);
    color: #424750;
    font-size: 14px;
    font-weight: 800;
}

.detailstore-public .widget-product .product-carousel:not(.product-amazing) .item {
    display: flex !important;
    min-height: 360px;
    padding: 18px 10px 22px !important;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow: visible;
}

.detailstore-public .widget-product .product-carousel:not(.product-amazing) .item .hover-img-link {
    display: flex;
    width: 100%;
    height: 205px;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.detailstore-public .widget-product .product-carousel:not(.product-amazing) .item .hover-img-link img {
    width: auto;
    max-width: 92%;
    height: 190px;
    object-fit: contain;
}

.detailstore-public .widget-product .product-carousel:not(.product-amazing) .item .post-title {
    flex: 0 0 30px;
    width: 100%;
    margin: 0 0 8px !important;
    padding: 0 8px !important;
    line-height: 30px !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

.detailstore-public .widget-product .product-carousel:not(.product-amazing) .item .price {
    flex: 0 0 auto;
    width: 100%;
    margin-top: 0;
    text-align: center;
}

.detailstore-public .widget-product .brand-product {
    padding: 18px 36px 28px;
}

.detailstore-public .widget-product .brand-product .owl-stage-outer {
    min-height: 170px;
}

.detailstore-public .widget-product .brand-product .owl-item {
    border: 0 !important;
}

.detailstore-public .widget-product .brand-product .owl-item:hover {
    transform: none !important;
}

.detailstore-public .widget-product .brand-product .item {
    display: flex !important;
    min-height: 150px !important;
    padding: 26px 10px !important;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.detailstore-public .widget-product .brand-product .detailstore-brand-logo-link {
    display: flex;
    width: 100%;
    height: 104px;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.detailstore-public .widget-product .brand-product .item img {
    width: auto !important;
    max-width: 180px !important;
    height: auto !important;
    max-height: 72px !important;
    object-fit: contain !important;
    border-radius: 0 !important;
    background: transparent !important;
}

.detailstore-cart-template {
    padding: 0 0 48px;
    background: #f5f6f8;
}

.detailstore-cart-template .detailstore-cart-content::after,
.detailstore-cart-template .cart-tab-main::after,
.detailstore-cart-template .page-content::after,
.detailstore-cart-template .checkout-body::after {
    content: "";
    display: table;
    clear: both;
}

.detailstore-cart-template .checkout-tab {
    margin-bottom: 14px;
}

.detailstore-cart-template .page-content {
    display: none;
}

.detailstore-cart-template .checkout-tab-pill {
    min-width: 145px;
    height: 54px;
    padding: 0 16px;
    border-bottom: 4px solid transparent;
    color: #777;
    font-size: 15px;
    font-weight: 700;
    line-height: 52px;
    text-align: center;
}

.detailstore-cart-template .checkout-tab-counter {
    display: inline-flex;
    min-width: 22px;
    height: 22px;
    margin-right: 6px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #ef394e;
    color: #fff;
    font-size: 12px;
}

.detailstore-cart-template .page-content-cart,
.detailstore-cart-template .page-aside .checkout-summary,
.detailstore-cart-template .checkout-summary-content {
    border: 1px solid #e6ebf1;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(31, 41, 55, .06);
}

.detailstore-cart-template .page-content-cart {
    padding: 16px 18px 18px;
}

.detailstore-cart-template .detailstore-cart-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid #edf0f4;
    padding-bottom: 14px;
}

.detailstore-cart-template .detailstore-cart-panel-head h1 {
    margin: 0 0 5px;
    color: #232933;
    font-size: 19px;
    font-weight: 900;
    line-height: 1.6;
}

.detailstore-cart-template .detailstore-cart-panel-head span {
    display: block;
    color: #7a828d;
    font-size: 13px;
    font-weight: 700;
}

.detailstore-cart-template .detailstore-cart-continue-link {
    display: inline-flex;
    min-width: 112px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border: 1px solid #d5dee8;
    border-radius: 7px;
    background: #f8fafc;
    color: #3e4856 !important;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none !important;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.detailstore-cart-template .detailstore-cart-continue-link:hover {
    border-color: #aab7c5;
    background: #eef3f8;
    color: #111827 !important;
}

.detailstore-cart-template .checkout-body {
    display: flex !important;
    align-items: center;
    gap: 16px;
    position: relative;
    min-height: 132px;
    margin-top: 12px;
    border: 1px solid #eef1f5;
    border-radius: 8px;
    background: #fff;
    padding: 16px 14px 16px 18px;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.detailstore-cart-template .checkout-body:first-of-type {
    margin-top: 0;
}

.detailstore-cart-template .checkout-body:hover {
    border-color: #dce4ed;
    box-shadow: 0 8px 20px rgba(31, 41, 55, .05);
}

.detailstore-cart-template .remove-from-cart {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px;
    width: 34px !important;
    height: 34px !important;
    margin: 0 !important;
    float: none !important;
    border: 0;
    border-radius: 50%;
    background: #eef0f3;
    color: #a0a5ad;
    outline: none !important;
}

.detailstore-cart-template .remove-from-cart:hover {
    background: #fff1f3;
    color: #ef394e;
}

.detailstore-cart-template .checkout-body .col-thumb {
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex: 0 0 112px;
    width: 112px !important;
    margin: 0 !important;
    float: none !important;
}

.detailstore-cart-template .checkout-body .col-thumb img {
    width: 104px !important;
    max-height: 104px;
    object-fit: contain;
}

.detailstore-cart-template .checkout-body .checkout-col-desc {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 190px;
    grid-template-areas:
        "title quantity"
        "meta price";
    align-items: center;
    gap: 10px 18px;
    flex: 1 1 auto;
    min-width: 0;
    width: auto !important;
    float: none !important;
}

.detailstore-cart-template .checkout-body .checkout-col-desc > a {
    grid-area: title;
    display: block !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}

.detailstore-cart-template .checkout-col-desc a h3 {
    max-height: none;
    overflow: hidden;
    color: #424750;
    font-size: 15px;
    font-weight: 900;
    line-height: 2;
    text-align: right;
}

.detailstore-cart-template .checkout-col-desc a:hover h3 {
    color: #00bfd6;
}

.detailstore-cart-template .checkout-variant-color {
    grid-area: meta;
    width: auto !important;
    min-height: 32px;
    float: none !important;
    color: #7a828d;
    line-height: 2;
}

.detailstore-cart-template .checkout-dealer,
.detailstore-cart-template .checkout-guarantee {
    color: #777;
}

.detailstore-cart-template .detailstore-cart-quantity {
    grid-area: quantity;
    justify-self: end;
    display: inline-flex;
    height: 40px;
    margin-top: 0;
    align-items: center;
    border: 1px solid #eee;
    border-radius: 5px;
    background: #fff;
    overflow: hidden;
}

.detailstore-cart-template .detailstore-cart-quantity input {
    width: 44px;
    height: 38px;
    margin: 0;
    padding: 0;
    border: 0;
    color: #0fabc6;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
}

.detailstore-cart-template .detailstore-qty-btn {
    width: 34px;
    height: 38px;
    border: 0;
    background: #fff;
    color: #0fabc6;
    cursor: pointer;
}

.detailstore-cart-template .detailstore-qty-btn:hover {
    background: #f5f7fb;
}

.detailstore-cart-template .detailstore-cart-price-line {
    grid-area: price;
    justify-self: end;
    min-width: 190px;
    margin-top: 0;
    float: none !important;
    text-align: left;
}

.detailstore-cart-template .detailstore-cart-price-line del {
    display: block;
    margin-bottom: 2px;
    color: #a1a3a8;
    font-size: 12px;
}

.detailstore-cart-template .detailstore-cart-price-line .cart-item-product-price {
    float: none;
    color: #ef394e;
    font-size: 18px;
    font-weight: 700;
}

.detailstore-cart-template .detailstore-cart-unit-price {
    display: block;
    margin-top: 4px;
    color: #8a8f99;
    font-size: 11px;
}

.detailstore-cart-template .checkout-to-shipping-sticky {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 12px;
    border: 1px solid #e6ebf1;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(31, 41, 55, .06);
    padding: 14px 16px;
}

.detailstore-cart-template .checkout-to-shipping-sticky .selenium-next-step-shipping {
    float: none;
    min-width: 250px;
    margin: 0;
    border-radius: 7px;
    padding: 14px 24px;
}

.detailstore-cart-template .checkout-to-shipping-sticky .checkout-to-shipping-price-report {
    float: none;
    text-align: right;
}

.detailstore-cart-template .checkout-to-shipping-sticky .checkout-to-shipping-price-report p {
    margin: 0 0 4px;
    text-align: right;
}

.detailstore-cart-template .detailstore-cart-side-form {
    margin: 12px 10px 0;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.detailstore-cart-template .detailstore-cart-side-form label {
    display: block;
    margin-bottom: 8px;
    color: #424750;
    font-size: 13px;
    font-weight: 700;
}

.detailstore-cart-template .detailstore-cart-side-form > div:first-of-type {
    display: flex;
    gap: 6px;
}

.detailstore-cart-template .detailstore-cart-side-form input {
    min-width: 0;
    height: 38px;
    flex: 1 1 auto;
    border: 1px solid #e2e5ea;
    border-radius: 5px;
    padding: 0 10px;
    color: #424750;
    font-size: 13px;
}

.detailstore-cart-template .detailstore-cart-side-form button,
.detailstore-cart-template .detailstore-cart-remove-discount {
    height: 38px;
    border: 0;
    border-radius: 5px;
    background: #00bfd6;
    color: #fff !important;
    padding: 0 12px;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.detailstore-cart-template .detailstore-cart-remove-discount {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ef394e;
}

.detailstore-cart-template .detailstore-cart-inline-error {
    margin-top: 8px;
    color: #ef394e;
    font-size: 12px;
    line-height: 1.8;
}

.detailstore-cart-template .checkout-summary-summary .detailstore-cart-discount-row,
.detailstore-cart-template .checkout-summary-summary .detailstore-cart-discount-row span {
    color: #ef394e !important;
}

.detailstore-cart-template .page-aside .checkout-summary-content {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 72px;
    margin-top: 12px;
    border: 1px solid #e1e7ef;
    border-radius: 6px;
    background: linear-gradient(180deg, #fff, #f9fbfd);
    padding: 16px 18px;
    box-shadow: 0 10px 24px rgba(31, 41, 55, .05);
}

.detailstore-cart-template .page-aside .checkout-summary-content p {
    max-width: 260px;
    margin: 0;
    color: #7a8493;
    font-size: 12px;
    font-weight: 700;
    line-height: 2;
    text-align: center;
}

.detailstore-cart-template .checkout-empty {
    min-height: 300px;
    padding: 52px 20px;
    text-align: center;
}

.detailstore-cart-template .checkout-empty-icon {
    color: #c6cbd3;
    font-size: 64px;
}

.detailstore-cart-template .checkout-empty-title {
    margin: 14px 0 24px;
    color: #424750;
    font-size: 18px;
    font-weight: 800;
}

.detailstore-cart-template .detailstore-empty-primary {
    display: inline-flex;
    min-width: 150px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: #ef394e;
    color: #fff !important;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none !important;
}

.detailstore-cart-template .detailstore-cart-empty-help {
    padding: 24px;
}

.detailstore-cart-template .detailstore-cart-empty-help h1 {
    margin-bottom: 12px;
    color: #424750;
    font-size: 18px;
    font-weight: 800;
}

.detailstore-cart-template .detailstore-cart-empty-help p {
    color: #777;
    font-size: 13px;
    line-height: 2;
}

.detailstore-cart-template .changeDetailCount {
    position: relative;
}

.detailstore-cart-template .changeDetailCount.is-loading::after {
    content: "در حال به‌روزرسانی سبد خرید...";
    position: absolute;
    inset: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: rgba(255, 255, 255, .78);
    color: #424750;
    font-size: 14px;
    font-weight: 800;
}

@media (max-width: 991px) {
    .detailstore-public .product-detail-template .detailstore-product-question-form .form-auth-row-product {
        width: 100%;
        margin: 14px 0 0;
    }

    .detailstore-cart-template .checkout-body .checkout-col-desc {
        width: auto !important;
    }

    .detailstore-cart-template .detailstore-cart-price-line {
        float: none !important;
        width: auto;
        text-align: left;
    }
}

@media (max-width: 767px) {
    .detailstore-cart-template {
        box-sizing: border-box;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
        padding-top: 12px;
    }

    .detailstore-cart-template *,
    .detailstore-cart-template *::before,
    .detailstore-cart-template *::after {
        box-sizing: border-box;
    }

    .detailstore-cart-template .container,
    .detailstore-cart-template .cart-tab-main,
    .detailstore-cart-template .page-content,
    .detailstore-cart-template .detailstore-cart-content {
        width: 100% !important;
        max-width: 100% !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
        padding-right: 0 !important;
        padding-left: 0 !important;
    }

    .detailstore-cart-template .cart-tab-main > [class*="col-"],
    .detailstore-cart-template .page-content > [class*="col-"] {
        width: 100% !important;
        max-width: 100% !important;
        float: none !important;
        clear: both;
        padding-right: 8px !important;
        padding-left: 8px !important;
    }

    .detailstore-cart-template .page-content-cart,
    .detailstore-cart-template .page-aside .checkout-summary,
    .detailstore-cart-template .checkout-summary-content {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        border-radius: 7px;
    }

    .detailstore-cart-template .detailstore-cart-panel-head {
        align-items: stretch;
        flex-direction: column;
        text-align: center;
    }

    .detailstore-cart-template .detailstore-cart-panel-head h1,
    .detailstore-cart-template .detailstore-cart-panel-head span {
        text-align: center;
    }

    .detailstore-cart-template .detailstore-cart-continue-link {
        width: 100%;
    }

    .detailstore-cart-template .checkout-tab-pill {
        min-width: 120px;
        font-size: 13px;
    }

    .detailstore-cart-template .checkout-body .remove-from-cart {
        position: absolute;
        top: 12px;
        left: 12px;
        z-index: 2;
        margin: 0 !important;
    }

    .detailstore-cart-template .checkout-body {
        display: grid !important;
        grid-template-columns: 1fr;
        gap: 12px;
        width: 100% !important;
        max-width: 100% !important;
        min-height: 0;
        overflow: hidden;
        padding: 18px 12px;
        text-align: center;
    }

    .detailstore-cart-template .checkout-body .col-thumb {
        width: 100% !important;
        max-width: 100% !important;
        flex-basis: auto;
        margin-top: 0;
    }

    .detailstore-cart-template .checkout-body .col-thumb img {
        width: 96px !important;
        max-height: 96px;
    }

    .detailstore-cart-template .checkout-body .checkout-col-desc {
        grid-template-columns: 1fr;
        grid-template-areas:
            "title"
            "meta"
            "quantity"
            "price";
        min-width: 0;
        width: 100% !important;
        max-width: 100% !important;
        gap: 10px;
        text-align: center;
    }

    .detailstore-cart-template .checkout-body .checkout-col-desc > a {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0;
        padding: 0 6px !important;
    }

    .detailstore-cart-template .checkout-col-desc a h3 {
        display: block;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        margin: 0;
        direction: rtl;
        font-size: 14px;
        line-height: 1.9;
        text-align: center;
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: break-word;
        unicode-bidi: plaintext;
    }

    .detailstore-cart-template .checkout-variant-color {
        display: grid;
        justify-items: center;
        gap: 5px;
        text-align: center;
    }

    .detailstore-cart-template .detailstore-cart-quantity,
    .detailstore-cart-template .detailstore-cart-price-line {
        justify-self: center;
        text-align: center;
    }

    .detailstore-cart-template .detailstore-cart-price-line {
        min-width: 0;
        width: 100%;
        max-width: 100%;
        padding: 0 4px;
    }

    .detailstore-cart-template .detailstore-cart-price-line .cart-item-product-price,
    .detailstore-cart-template .detailstore-cart-price-line .cart-item-product-price .cart-item-product-price-amount {
        display: block;
        text-align: center;
        white-space: normal;
    }

    .detailstore-cart-template .checkout-to-shipping-sticky {
        align-items: stretch;
        flex-direction: column;
    }

    .detailstore-cart-template .checkout-to-shipping-sticky .selenium-next-step-shipping {
        width: 100%;
        min-width: 0;
        margin-bottom: 10px;
        padding: 12px 14px;
    }

    .detailstore-cart-template .checkout-to-shipping-sticky .checkout-to-shipping-price-report {
        float: none;
        text-align: center;
    }

    .detailstore-cart-template .checkout-to-shipping-sticky .checkout-to-shipping-price-report p {
        text-align: center;
    }

    .detailstore-cart-template .page-aside {
        margin-top: 12px;
    }

    .detailstore-cart-template .detailstore-cart-side-form {
        margin-right: 0;
        margin-left: 0;
    }

    .detailstore-cart-template .detailstore-cart-checkout-footer {
        margin-top: 18px;
    }

    .detailstore-cart-template .detailstore-cart-checkout-footer .container {
        padding-right: 12px !important;
        padding-left: 12px !important;
    }
}

/* Cart, contact and footer refinements */
.detailstore-public .detailstore-contact-template .detailstore-contact-form {
    border: 1px solid #eef1f5;
    border-radius: 8px;
    background: #fff;
    padding: 22px;
    box-shadow: 0 12px 32px rgba(31, 41, 55, .07);
}

.detailstore-public .detailstore-contact-template .detailstore-contact-form-head {
    margin-bottom: 18px;
    border-bottom: 1px solid #eef1f5;
    padding-bottom: 14px;
}

.detailstore-public .detailstore-contact-template .detailstore-contact-form-head h2 {
    margin: 0 0 6px;
    color: #232933;
    font-size: 20px;
    font-weight: 900;
}

.detailstore-public .detailstore-contact-template .detailstore-contact-form-head p {
    margin: 0;
    color: #7a808a;
    font-size: 13px;
    line-height: 1.9;
}

.detailstore-public .detailstore-contact-template .detailstore-contact-result {
    display: none;
    margin-bottom: 16px;
    border: 1px solid #bcebd3;
    border-radius: 6px;
    background: #effdf6;
    color: #087443;
    padding: 12px 14px;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.9;
}

.detailstore-public .detailstore-contact-template .detailstore-contact-result.is-visible {
    display: block;
}

.detailstore-public .detailstore-contact-template .contact-us-form-submit {
    min-width: 170px;
    height: 46px;
    border-radius: 6px;
    background: #00bfd6;
    color: #fff;
    font-size: 14px;
    font-weight: 900;
    transition: background .2s ease, transform .2s ease;
}

.detailstore-public .detailstore-contact-template .contact-us-form-submit:hover {
    background: #08aeca;
    transform: translateY(-1px);
}

.detailstore-cart-template .detailstore-cart-steps {
    margin: 8px 0 34px;
    border-bottom: 1px solid #edf0f3;
    background: #fff;
    padding: 24px 0 28px;
}

.detailstore-cart-template .detailstore-cart-steps .checkout-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
    color: #a5a5a5;
    font-size: 14px;
}

.detailstore-cart-template .detailstore-cart-steps .checkout-steps::before {
    content: "";
    position: absolute;
    right: 8%;
    left: 8%;
    bottom: -18px;
    height: 2px;
    background: #d0d0d0;
}

.detailstore-cart-template .detailstore-cart-steps .checkout-steps li {
    position: relative;
    z-index: 1;
    width: 33.333%;
    text-align: center;
}

.detailstore-cart-template .detailstore-cart-steps .checkout-steps li::after {
    content: "";
    position: absolute;
    right: 50%;
    bottom: -27px;
    width: 20px;
    height: 20px;
    margin-right: -10px;
    border-radius: 50%;
    background: #a5a5a5;
}

.detailstore-cart-template .detailstore-cart-steps .checkout-steps li:first-child::after {
    background: #00bfd6;
}

.detailstore-cart-template .detailstore-cart-steps .checkout-steps li:first-child {
    color: #00bfd6;
    font-weight: 900;
}

.detailstore-cart-template .page-aside .checkout-summary {
    border-radius: 8px;
    padding: 4px 0;
    box-shadow: 0 10px 28px rgba(31, 41, 55, .06);
}

.detailstore-cart-template .checkout-summary-summary {
    padding: 0;
    list-style: none;
}

.detailstore-cart-template .checkout-summary-summary li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    clear: both;
}

.detailstore-cart-template .checkout-summary-summary li span:last-child {
    float: none !important;
    margin-bottom: 0 !important;
    text-align: left;
    white-space: nowrap;
}

.detailstore-cart-template .checkout-summary-summary li:last-child {
    border-top: 1px solid #eee;
    margin-top: 8px;
    padding-top: 14px;
    color: #111827 !important;
    font-weight: 900;
}

.detailstore-cart-template .detailstore-cart-checkout-footer {
    clear: both;
    margin-top: 34px;
    border-top: 1px solid #e6e9ee;
    background: #fff;
    padding: 22px 0 18px;
}

.detailstore-cart-template .detailstore-cart-checkout-footer .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
}

.detailstore-cart-template .detailstore-cart-checkout-footer .footer-checkout-col {
    width: auto;
    float: none;
}

.detailstore-cart-template .detailstore-cart-checkout-footer .footer-checkout-col-phone {
    color: #5f6672;
    font-size: 13px;
}

.detailstore-cart-template .detailstore-cart-checkout-footer a {
    color: #00bfd6;
    text-decoration: none;
}

.detailstore-cart-template .detailstore-cart-checkout-footer .title-footer,
.detailstore-cart-template .detailstore-cart-checkout-footer .copy-right-footer-light {
    width: 100%;
    margin: 0;
    color: #8a8f99;
    font-size: 12px;
    line-height: 1.9;
    text-align: center;
}

@media (max-width: 767px) {
    .detailstore-cart-template .detailstore-cart-steps .checkout-steps {
        font-size: 12px;
    }

    .detailstore-cart-template .detailstore-cart-checkout-footer .container {
        justify-content: center;
        text-align: center;
    }
}

/* Final storefront polish - cart, menu, comparison, brand and Q&A */
.detailstore-public .widget-product .brand-product .detailstore-brand-logo-link {
    min-width: 150px;
}

.detailstore-public .widget-product .brand-product .detailstore-brand-image {
    display: block !important;
    width: auto !important;
    max-width: 178px !important;
    height: auto !important;
    max-height: 64px !important;
    object-fit: contain !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    filter: none !important;
}

.detailstore-public .widget-product .brand-product .brand-logo-systemx {
    max-height: 50px !important;
}

.detailstore-public nav.main-menu ul.new-list-menu li.item-list-menu.category.is-mega-hovering .list-menu-level-2 .item-menu-2:first-child:not(:hover) > .list-category-menu-2 {
    color: #616161 !important;
    background: transparent !important;
}

.detailstore-public nav.main-menu ul.new-list-menu li.item-list-menu.category.is-mega-hovering .list-menu-level-2 .item-menu-2:first-child:not(:hover) .megamenu-level-3 {
    display: none !important;
}

.detailstore-public nav.main-menu ul.new-list-menu li.item-list-menu.category.is-mega-hovering .list-menu-level-2 .item-menu-2:hover > .list-category-menu-2 {
    color: #ef394e !important;
    background: #f7f7f7 !important;
}

.detailstore-public nav.main-menu ul.new-list-menu li.item-list-menu.category.is-mega-hovering .list-menu-level-2 .item-menu-2:hover .megamenu-level-3 {
    display: flex !important;
}

.detailstore-public .product-detail-template .detailstore-product-question-form .form-auth-row-product {
    display: none !important;
}

.detailstore-public .product-detail-template .detailstore-product-question-form .form-faq-row:last-child {
    display: block !important;
    min-height: 48px;
}

.detailstore-public .product-detail-template .detailstore-product-question-form .form-faq-col-submit {
    float: right !important;
    margin-top: 0;
}

.detailstore-public .header-cart-info-header .storefront-cart-info-count-clean {
    direction: rtl;
}

.detailstore-public .mini-cart-dropdown .header-basket-list-item-image img {
    width: 72px;
    height: 72px;
    object-fit: contain;
}

.detailstore-public .mini-cart-dropdown .scrollbar {
    max-height: 292px;
    overflow-y: auto;
}

.detailstore-public .mini-cart-dropdown .force-overflow {
    min-height: 0;
}

.detailstore-public .mini-cart-dropdown .header-basket-list-item-title {
    display: -webkit-box;
    max-height: 42px;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.detailstore-public .mini-cart-dropdown .header-cart-info-footer {
    clear: both;
}

.detailstore-search-template .detailstore-search-empty {
    display: flex;
    min-height: 470px;
    align-items: center;
    justify-content: center;
    border: 1px solid #e5eaf3;
    background:
        radial-gradient(circle at 18% 45%, rgba(0, 191, 214, .08), transparent 130px),
        #fff;
}

.detailstore-search-template .detailstore-search-empty::before {
    width: 96px;
    height: 96px;
    margin-bottom: 24px;
    background: #f3f6fb;
    color: #9ca8ba;
    font-size: 44px;
}

.detailstore-search-template .detailstore-search-empty h2 {
    font-size: 25px;
}

.detailstore-search-template .detailstore-search-empty p {
    max-width: 460px;
    margin-right: auto;
    margin-left: auto;
}

.detailstore-comparison-template .p_comparison {
    border: 1px solid #e7eaf0;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
}

.detailstore-comparison-template .compare-list--header {
    min-height: 330px;
}

.detailstore-comparison-template .compare-content-holder {
    min-height: 305px;
}

.detailstore-comparison-template .compare-img img {
    width: auto !important;
    max-width: 170px !important;
    height: 170px !important;
    object-fit: contain;
}

.detailstore-comparison-template .compare-content-holder .title {
    display: -webkit-box;
    min-height: 44px;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: #424750;
    font-size: 13px;
    line-height: 22px;
}

.detailstore-comparison-template .compare-quick-title {
    margin: 28px 0 12px;
    color: #424750;
    font-size: 16px;
    font-weight: 900;
}

.detailstore-comparison-template .compare-quick-list {
    margin-bottom: 24px;
}

.detailstore-comparison-template .compare-quick-list .compar-list-title {
    color: #424750;
    font-weight: 900;
}

.detailstore-comparison-template .detailstore-compare-value .compare-list-value {
    min-height: 52px;
    padding: 12px;
    line-height: 1.9;
}

.detailstore-public .widget-product .product-carousel:not(.product-amazing) .item,
.detailstore-public .product-detail-template .detailstore-related-products .item {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 392px;
}

.detailstore-public .widget-product .product-carousel:not(.product-amazing) .item .hover-img-link,
.detailstore-public .product-detail-template .detailstore-related-products .item .hover-img-link {
    display: flex;
    width: 100%;
    height: 210px;
    align-items: center;
    justify-content: center;
}

.detailstore-public .widget-product .product-carousel:not(.product-amazing) .item .hover-img-link img,
.detailstore-public .product-detail-template .detailstore-related-products .item .hover-img-link img {
    width: auto;
    max-width: 92%;
    max-height: 100%;
    height: auto;
}

.detailstore-public .widget-product .product-carousel:not(.product-amazing) .item .post-title,
.detailstore-public .product-detail-template .detailstore-related-products .item .post-title {
    display: -webkit-box;
    width: 100%;
    min-height: 36px;
    max-height: 36px;
    margin: 12px 0 6px !important;
    padding: 0 8px !important;
    line-height: 18px !important;
    text-align: center;
    white-space: normal;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.detailstore-public .widget-product .product-carousel:not(.product-amazing) .item .price,
.detailstore-public .product-detail-template .detailstore-related-products .item .price {
    width: 100%;
    margin-top: auto;
    text-align: center;
}

.detailstore-public .widget-product .product-carousel:not(.product-amazing) .item .actions {
    width: 100%;
    margin-top: auto;
}

.detailstore-public .product-detail-template .product-seller-row-price,
.detailstore-public .product-detail-template .mini-buy-box-price-row {
    display: flex;
    width: 100%;
    justify-content: flex-end;
}

.detailstore-public .product-detail-template .product-seller-row-price .product-seller-price-label,
.detailstore-public .product-detail-template .mini-buy-box-price-row .mini-buy-box-toman,
.detailstore-public .product-detail-template .detailstore-price-stack {
    text-align: right;
}

.detailstore-public .product-detail-template .detailstore-price-stack {
    justify-items: end;
    align-items: end;
}

.detailstore-public .product-detail-template .detailstore-price-current-row {
    justify-content: flex-end;
    width: 100%;
}

.detailstore-public .headline-profile.page-profile-order {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.detailstore-public .profile-info-status {
    display: inline-block;
    margin-top: 8px;
    font-size: 12px;
    font-weight: 800;
}

.detailstore-public .profile-info-status.active {
    color: #0f9d58;
}

.detailstore-public .profile-info-status.inactive {
    color: #ef394e;
}

.detailstore-public .profile-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 140px;
    color: #6b7280;
    text-align: center;
}

.detailstore-public .profile-empty i {
    color: #00bfd6;
    font-size: 42px;
}

.detailstore-public .profile-counter-box {
    display: block;
    margin-top: 18px;
    padding: 18px 14px;
    border: 1px solid #e7ebf2;
    border-radius: 8px;
    background: #fff;
    color: #232933;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 4px 12px rgba(15, 23, 42, .04);
}

.detailstore-public .profile-counter-box span {
    display: block;
    color: #00bfd6;
    font-size: 28px;
    font-weight: 900;
    line-height: 1.3;
}

.detailstore-public .profile-counter-box p {
    margin: 10px 0 0;
    color: #555;
    font-size: 13px;
    line-height: 1.9;
}

/* account pagination - digistore style */
.detailstore-public .detailstore-account-content div.flex.items-center.justify-center {
    clear: both;
    text-align: center;
    padding: 18px 0 8px;
}

.detailstore-public .detailstore-account-content div.flex.items-center.justify-center div.flex.items-center {
    display: inline-block;
    vertical-align: middle;
}

.detailstore-public .detailstore-account-content div.flex.items-center.justify-center a {
    display: inline-block;
    min-width: 32px;
    height: 32px;
    line-height: 30px;
    text-align: center;
    margin: 0 3px;
    background: #fff;
    border: 1px solid #e4e7ec;
    border-radius: 5px;
    color: #777;
    font-size: 13px;
    text-decoration: none;
    vertical-align: middle;
}

.detailstore-public .detailstore-account-content div.flex.items-center.justify-center a:hover {
    border-color: #00bfd6;
    color: #00bfd6;
}

.detailstore-public .detailstore-account-content div.flex.items-center.justify-center a.pagination-button-active {
    background: #00bfd6;
    border-color: #00bfd6;
    color: #fff;
}

.detailstore-public .detailstore-account-content div.flex.items-center.justify-center a svg {
    display: none;
}

.detailstore-public .detailstore-account-content div.flex.items-center.justify-center > a:first-child::before {
    content: "\00bb";
    font-size: 15px;
}

.detailstore-public .detailstore-account-content div.flex.items-center.justify-center > div + a::before {
    content: "\00ab";
    font-size: 15px;
}

/* make the whole details cell clickable, not just the small arrow */
.detailstore-public .table-orders td.detail {
    position: relative;
    padding: 0;
}

.detailstore-public .table-orders td.detail > a {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.detailstore-public .badge-representative {
    display: inline-block;
    padding: 7px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
}

.detailstore-public .badge-representative-pending {
    background: #fff4e0;
    color: #b9770e;
    border: 1px solid #f5cd79;
}

.detailstore-public .badge-representative-approved {
    background: #e6f7ed;
    color: #0f9d58;
    border: 1px solid #a3e2bf;
}

.detailstore-public .badge-representative-rejected {
    background: #fdeaea;
    color: #d63031;
    border: 1px solid #f3b6b6;
}

.detailstore-public .representative-note {
    display: inline-block;
    margin-right: 8px;
    font-size: 12px;
    color: #777;
}

.detailstore-public .pay-order-btn {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 6px;
    background: #00bfd6;
    color: #fff;
    font-size: 12px;
    text-decoration: none;
    white-space: nowrap;
    border: 0;
    cursor: pointer;
}

.detailstore-public .pay-order-btn:hover {
    background: #00a9be;
    color: #fff;
}

.detailstore-public .profile-navbar .pay-order-btn {
    padding: 9px 20px;
    font-size: 13px;
}

.detailstore-public .profile-stats .profile-favorites-fav {
    min-height: 200px;
}

.detailstore-public .profile-stats .filter-form,
.detailstore-public .profile-stats nav,
.detailstore-public .profile-stats .pagination {
    clear: both;
}

.detailstore-public #address-info-modal.hidden {
    display: none !important;
}

.detailstore-public #address-info-modal.flex {
    display: flex !important;
}

.detailstore-public #address-info-modal.account-address-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    padding: 24px 14px;
    background: rgba(15, 23, 42, .48);
}

.detailstore-public #address-info-modal .account-address-modal-dialog {
    width: min(760px, 100%);
    max-height: calc(100vh - 36px);
    margin: 18px auto;
}

.detailstore-public #address-info-modal .account-address-modal-content {
    overflow: hidden;
    display: flex;
    max-height: calc(100vh - 36px);
    flex-direction: column;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 25px 60px rgba(15, 23, 42, .18);
}

.detailstore-public #address-info-modal .account-address-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 16px 20px;
    border-bottom: 1px solid #eef2f7;
}

.detailstore-public #address-info-modal .account-address-modal-header h3 {
    margin: 0;
    color: #111827;
    font-size: 18px;
    font-weight: 900;
}

.detailstore-public #address-info-modal .account-address-modal-kicker {
    display: block;
    margin-bottom: 3px;
    color: #00a9bd;
    font-size: 11px;
    font-weight: 800;
}

.detailstore-public #address-info-modal .account-address-modal-close {
    border: 0;
    background: transparent;
    color: #6b7280;
    font-size: 18px;
    cursor: pointer;
    transition: color .2s ease, background-color .2s ease;
}

.detailstore-public #address-info-modal .account-address-modal-close:hover,
.detailstore-public #address-info-modal .account-address-modal-close:focus-visible {
    color: #ef394e;
    background: #fff1f2;
}

.detailstore-public #address-info-modal .account-address-modal-body {
    overflow-y: auto;
    padding: 18px 20px 22px;
}

.detailstore-public #address-info-modal .account-address-form-title {
    margin-bottom: 18px;
    color: #111827;
    font-size: 18px;
    font-weight: 900;
    text-align: center;
}

.detailstore-public #address-info-modal .account-address-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.detailstore-public #address-info-modal .account-address-field.full {
    grid-column: 1 / -1;
}

.detailstore-public #address-info-modal .account-address-field label {
    display: block;
    margin-bottom: 8px;
    color: #374151;
    font-size: 13px;
    font-weight: 800;
}

.detailstore-public #address-info-modal .account-address-input,
.detailstore-public #address-info-modal .account-address-select,
.detailstore-public #address-info-modal .account-address-textarea {
    width: 100%;
    border: 1px solid #d9e1ee;
    border-radius: 8px;
    background: #fff;
    color: #111827;
    font-size: 14px;
    outline: none;
}

.detailstore-public #address-info-modal .account-address-input,
.detailstore-public #address-info-modal .account-address-select {
    height: 44px;
    padding: 0 12px;
}

.detailstore-public #address-info-modal .account-address-textarea {
    min-height: 110px;
    padding: 12px;
    resize: vertical;
}

.detailstore-public #address-info-modal .account-address-actions {
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 18px;
}

.detailstore-public #address-info-modal .account-address-actions .btn-primary {
    min-width: 150px;
}

.detailstore-public #address-info-modal .account-address-actions .btn-primary.is-loading {
    opacity: .72;
    cursor: wait;
}

.detailstore-public #address-info-modal .account-address-actions .btn-primary.is-loading i {
    animation: detailstore-address-spin .8s linear infinite;
}

@keyframes detailstore-address-spin {
    to { transform: rotate(360deg); }
}

.detailstore-public #address-info-modal .account-address-actions .account-address-back {
    min-width: 90px;
    padding: 10px 18px;
    border: 0;
    border-radius: 6px;
    background: #8e99a5;
    color: #fff;
    font-size: 13px;
    cursor: pointer;
}

.detailstore-public #address-info-modal .account-address-actions .account-address-back:hover {
    background: #7b8694;
}

@media (max-width: 767px) {
    .detailstore-public #address-info-modal {
        align-items: flex-start;
        padding: 10px;
    }

    .detailstore-public #address-info-modal .account-address-modal-dialog,
    .detailstore-public #address-info-modal .account-address-modal-content {
        max-height: calc(100vh - 20px);
    }

    .detailstore-public #address-info-modal .account-address-modal-body,
    .detailstore-public #address-info-modal .account-address-modal-header {
        padding-right: 14px;
        padding-left: 14px;
    }

    .detailstore-public #address-info-modal .account-address-grid {
        grid-template-columns: 1fr;
    }

    .detailstore-public #address-info-modal .account-address-actions {
        justify-content: stretch;
    }

    .detailstore-public #address-info-modal .account-address-actions .btn-primary {
        width: 100%;
    }
}

.detailstore-public .detailstore-datarythms {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    max-width: 360px;
    margin-top: 4px;
    margin-bottom: 4px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
    color: #4b5563;
    font-size: 13px;
    line-height: 1.7;
}

.detailstore-public .detailstore-datarythms-text {
    position: relative;
    display: inline-block;
}

.detailstore-public .detailstore-datarythms-link a {
    color: #006400;
    font-weight: 800;
    text-decoration: none;
}

.detailstore-public .detailstore-datarythms-link a:hover {
    color: #008000;
}

.detailstore-public .detailstore-datarythms-logo {
    width: 36px;
    height: auto;
    flex: 0 0 auto;
}

.detailstore-public .datary-tooltip {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    z-index: 40;
    width: min(320px, calc(100vw - 32px));
    padding: 6px 10px;
    transform: translateX(-50%);
    border: 2px solid #7710c6;
    border-radius: 15px;
    background: #ffc533;
    color: #000;
    font-size: 10px;
    line-height: 1.8;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, visibility .2s ease;
    box-shadow: 0 10px 28px rgba(17, 24, 39, .14);
}

.detailstore-public .datary-tooltip span {
    font-size: 13px;
    font-weight: 700;
}

.detailstore-public .datary-hover:hover .datary-tooltip {
    opacity: 1;
    visibility: visible;
}

@media (min-width: 768px) {
    .detailstore-public .detailstore-datarythms {
        flex-direction: row;
        text-align: center;
    }
}
/* Curated header dropdowns */
.detailstore-public > header {
    z-index: 3000;
}
.detailstore-public .storefront-main-menu .item-list-menu {
    margin: 0 2px;
    padding: 7px 0;
}
.detailstore-public nav.main-menu a.list-category {
    padding-right: 8px;
    padding-left: 8px;
    white-space: nowrap;
}
.storefront-header-dropdown { position: relative; }
.storefront-header-submenu {
    position: absolute; z-index: 4000; top: calc(100% - 1px); right: 0; left: auto;
    display: none; float: none !important; min-width: 245px;
    margin: 0 !important; padding: 8px; overflow: visible; list-style: none;
    border: 1px solid #e4eaf0; border-radius: 12px;
    background: #fff; box-shadow: 0 16px 35px rgba(15, 23, 42, .14);
}
.storefront-header-dropdown:hover .storefront-header-submenu,
.storefront-header-dropdown:focus-within .storefront-header-submenu { display: block; }
.storefront-header-submenu::before {
    position: absolute; top: -7px; right: 24px; width: 12px; height: 12px;
    transform: rotate(45deg); border-top: 1px solid #e4eaf0; border-left: 1px solid #e4eaf0;
    background: #fff; content: "";
}
.storefront-header-submenu > li {
    float: none !important; width: 100%; margin: 0 !important; padding: 0 !important;
}
.storefront-header-submenu a {
    display: flex; gap: 7px; align-items: center; width: 100%; padding: 10px 12px;
    border-radius: 8px; color: #243746; white-space: nowrap;
}
.storefront-header-submenu a .mdi { color: #178c91; font-size: 17px; }
.storefront-header-submenu a:hover { background: #edf9f8; color: #0e5c65; }
.new-list-menu > .item-list-menu > .list-category > .mdi {
    margin-left: 5px; font-size: 18px; vertical-align: middle;
}

/* Representative directory, inquiry and dedicated OTP login */
.detailstore-public main.representative-public-page {
    display: block; float: none; clear: both; position: relative;
    width: min(1120px, calc(100% - 30px)); max-width: 1120px; min-height: 360px;
    margin: 0 auto !important; padding: 38px 0 64px;
}
.detailstore-public main.representative-public-page::after {
    display: table; clear: both; content: "";
}
.representative-public-hero {
    display: block; float: none; clear: both; position: relative; z-index: 1; overflow: hidden;
    width: min(100%, 960px); margin: 0 auto;
    padding: 38px 34px; border: 1px solid rgba(96, 222, 209, .25);
    border-radius: 22px; color: #fff; text-align: center;
    background: linear-gradient(135deg, #0d3540, #0e6973);
    box-shadow: 0 18px 45px rgba(9, 47, 58, .16);
}
.representative-public-hero::before,
.representative-public-hero::after {
    position: absolute; border-radius: 50%; background: rgba(117, 229, 217, .09); content: "";
}
.representative-public-hero::before { width: 210px; height: 210px; top: -115px; right: -55px; }
.representative-public-hero::after { width: 160px; height: 160px; bottom: -105px; left: -35px; }
.representative-public-hero > * { position: relative; z-index: 1; }
.representative-public-hero p { margin: 0; color: #e1fbf8; line-height: 1.9; }
.representative-inquiry-hero { width: min(100%, 820px); }
.representative-inquiry-hero .representative-search-form { max-width: 590px; }
.representative-public-hero > span, .representative-login-badge {
    display: inline-block; padding: 5px 13px; border-radius: 999px;
    background: rgba(90, 207, 196, .18); color: #b9fff7; font-weight: 700;
}
.representative-public-hero h1 { margin: 12px 0 8px; color: #fff; }
.representative-search-form {
    display: flex; max-width: 680px; margin: 24px auto 0; padding: 5px;
    border-radius: 13px; background: #fff;
}
.representative-search-form input { flex: 1; min-width: 0; padding: 12px; border: 0; outline: 0; }
.representative-search-form button, .representative-login-submit {
    border: 0; border-radius: 10px; background: #54bcb3; color: #073941; font-weight: 800;
}
.representative-search-form button { padding: 0 24px; }
.representative-public-grid {
    float: none; clear: both; position: relative;
    display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 360px));
    justify-content: center;
    gap: 18px; width: 100%; margin: 28px auto 0;
}
.representative-public-card, .representative-profile-card, .representative-inquiry-result {
    padding: 24px; border: 1px solid #e1e9ee; border-radius: 18px;
    background: #fff; box-shadow: 0 10px 30px rgba(15, 23, 42, .07);
}
.representative-card-logo {
    display: grid; width: 100%; height: 104px; margin-bottom: 14px; place-items: center;
}
.representative-card-logo a { display: contents; }
.representative-card-logo img {
    display: block; max-width: 150px; max-height: 96px; object-fit: contain;
}
.representative-card-code, .representative-profile-code {
    direction: ltr; color: #0e6f78; font-weight: 900; letter-spacing: .06em;
}
.representative-public-card h2 { margin: 12px 0 4px; font-size: 1.15rem; }
.representative-public-card dl div {
    display: flex; justify-content: space-between; gap: 12px; padding: 7px 0;
    border-bottom: 1px dashed #e5eaee;
}
.representative-public-card dt { color: #718096; }
.representative-card-link, .representative-qr-box > a, .representative-qr-box > button {
    display: block; margin-top: 16px; padding: 10px; border-radius: 9px;
    background: #edf9f8; color: #0e626b; text-align: center; font-weight: 700;
}
.representative-profile-card {
    position: relative; max-width: 980px; margin: 32px auto; padding: 0; overflow: hidden;
    border-color: #d9e7ea; border-radius: 24px;
    box-shadow: 0 22px 55px rgba(13, 53, 64, .1);
}
.representative-profile-card::before {
    position: absolute; top: 0; right: 0; left: 0; height: 5px;
    background: linear-gradient(90deg, #7ad8cf, #15929a, #0d6671); content: "";
}
.representative-profile-header {
    display: flex; min-height: 176px; padding: 32px 34px 28px;
    align-items: center; justify-content: space-between; gap: 26px;
    border-bottom: 1px solid #e4edef;
    background:
        radial-gradient(circle at 8% 25%, rgba(78, 196, 186, .12), transparent 26%),
        linear-gradient(135deg, #f9fdfd, #eff9f8);
}
.representative-profile-brand {
    display: flex; min-width: 0; align-items: center; gap: 22px;
}
.representative-profile-logo {
    display: grid; width: 126px; height: 126px; min-height: 0; flex: 0 0 126px;
    margin: 0; padding: 10px; place-items: center;
    border: 1px solid #d7e6e8; border-radius: 20px; background: #fff;
    box-shadow: 0 12px 28px rgba(13, 74, 82, .09);
}
.representative-profile-logo a {
    display: grid; width: 100%; height: 100%; place-items: center;
}
.representative-profile-logo img {
    display: block; width: 100%; height: 100%; max-width: none; max-height: none; object-fit: contain;
}
.representative-profile-logo--placeholder {
    background: linear-gradient(145deg, #e8f8f6, #d2efec); color: #0d737c;
}
.representative-profile-logo--placeholder span {
    display: grid; width: 70px; height: 70px; place-items: center;
    border-radius: 22px; background: #fff; font-size: 2rem; font-weight: 900;
}
.representative-profile-heading { min-width: 0; }
.representative-verified {
    display: inline-flex; margin-bottom: 8px; align-items: center; gap: 7px;
    color: #11866f; font-size: 13px; font-weight: 900;
}
.representative-verified-icon {
    display: inline-grid; width: 23px; height: 23px; place-items: center;
    border-radius: 50%; background: #dcf7ef; color: #0c8069;
}
.representative-profile-heading h1 {
    margin: 0; color: #123b44; font-size: clamp(1.35rem, 2.2vw, 1.8rem); font-weight: 900; line-height: 1.65;
}
.representative-profile-heading p { margin: 4px 0 0; color: #687d83; }
.representative-code-card {
    min-width: 210px; padding: 17px 20px; border: 1px solid #cee4e4; border-radius: 17px;
    background: rgba(255, 255, 255, .88); text-align: center;
}
.representative-code-card small,
.representative-code-card span { display: block; color: #71858a; }
.representative-code-card span { margin-top: 4px; font-size: 11px; }
.representative-code-card .representative-profile-code {
    display: block; margin: 4px 0; font-size: 1.15rem;
}
.representative-profile-main {
    display: grid; grid-template-columns: minmax(0, 1fr) 270px;
    gap: 26px; padding: 30px 34px 34px; align-items: stretch;
}
.representative-profile-details {
    min-width: 0; padding: 4px 0;
}
.representative-profile-section-title {
    display: flex; margin-bottom: 16px; align-items: baseline; justify-content: space-between; gap: 14px;
}
.representative-profile-section-title span { color: #163c45; font-size: 1.05rem; font-weight: 900; }
.representative-profile-section-title small { color: #849398; }
.representative-profile-info-grid {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px; margin: 0;
}
.representative-profile-info-grid > div {
    min-width: 0; padding: 14px 16px; border: 1px solid #e3ebed;
    border-radius: 13px; background: #fafcfc;
}
.representative-profile-info-grid dt {
    margin-bottom: 5px; color: #7b8b90; font-size: 12px; font-weight: 700;
}
.representative-profile-info-grid dd {
    margin: 0; color: #233d44; font-weight: 800; line-height: 1.9; overflow-wrap: anywhere;
}
.representative-profile-info-grid .representative-profile-address,
.representative-profile-info-grid .representative-profile-website-row {
    grid-column: 1 / -1;
}
.representative-profile-website-row a {
    display: inline-flex; align-items: center; gap: 7px;
}
.representative-profile-website-row a span { direction: ltr; font-size: 18px; }
.representative-date-expired { color: #bd2e3a !important; }
.representative-qr-box {
    display: flex; padding: 19px; flex-direction: column; justify-content: center;
    border: 1px solid #dce9eb; border-radius: 18px;
    background: linear-gradient(180deg, #f7fbfb, #eff8f7);
}
.representative-qr-title { margin-bottom: 13px; text-align: center; }
.representative-qr-title strong { display: block; color: #16444c; font-size: 14px; }
.representative-qr-title span { display: block; margin-top: 3px; color: #7a8d92; font-size: 11px; }
.representative-qr-canvas {
    padding: 9px; border: 1px solid #d7e5e7; border-radius: 14px; background: #fff;
}
.representative-qr-box p {
    margin: 11px 3px 0; color: #708388; font-size: 11px; line-height: 1.8; text-align: center;
}
.representative-profile-main a,
.representative-public-card dd a { color: #0e6f78; font-weight: 700; }
.representative-qr-box img, .representative-qr-box canvas {
    display: block; width: 100%; border: 0; border-radius: 8px;
}
.representative-qr-box button {
    display: inline-flex; width: 100%; min-height: 43px; margin-top: 12px; padding: 9px 12px;
    align-items: center; justify-content: center; gap: 7px;
    border: 1px solid #cce8e5; border-radius: 11px; cursor: pointer;
    background: #dff5f2; color: #0b626b; font-weight: 800;
    transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.representative-qr-box button:hover {
    transform: translateY(-1px); background: #cfeeea; box-shadow: 0 8px 18px rgba(14, 98, 107, .1);
}
.representative-certificate-card {
    margin: 0 34px 34px;
    padding: 24px;
    border: 1px solid #d9e7ea;
    border-radius: 20px;
    background: linear-gradient(145deg, #fbfefe, #f1f8f8);
}
.representative-certificate-heading {
    display: flex; margin-bottom: 20px; align-items: center; justify-content: space-between; gap: 18px;
}
.representative-certificate-heading span { display: block; color: #163c45; font-size: 1.05rem; font-weight: 900; }
.representative-certificate-heading small { display: block; margin-top: 4px; color: #7d9095; }
.representative-certificate-heading > a {
    display: inline-flex; min-height: 40px; padding: 8px 14px; align-items: center; gap: 7px;
    border: 1px solid #cbe4e3; border-radius: 11px; background: #e8f7f5; color: #0d6b73; font-weight: 800;
}
.representative-certificate-heading > a span { direction: ltr; color: inherit; font-size: 18px; }
.representative-certificate-image-link {
    display: block; width: min(100%, 760px); margin: 0 auto; padding: 12px;
    border: 1px solid #dce8ea; border-radius: 16px; background: #fff;
    box-shadow: 0 14px 32px rgba(13, 68, 76, .08);
}
.representative-certificate-image-link img {
    display: block; width: 100%; max-height: 780px; margin: 0 auto; border-radius: 10px; object-fit: contain;
}
.representative-certificate-pdf-card {
    display: grid; min-height: 210px; padding: 30px; place-items: center;
    border: 1px dashed #b9d4d7; border-radius: 16px; background: #fff; text-align: center;
}
.representative-certificate-pdf-card strong { color: #cf3845; font-size: 2rem; }
.representative-certificate-pdf-card p { margin: 4px 0 14px; color: #6b8086; }
.representative-certificate-pdf-card a {
    padding: 9px 18px; border-radius: 10px; background: #0e7c84; color: #fff !important; font-weight: 800;
}
.representative-inquiry-result { max-width: 680px; margin: 24px auto; text-align: center; }
.representative-inquiry-result.is-invalid {
    border-color: #f5c2c7; background: #fff5f5; color: #a3232c;
}
.representative-inquiry-result span { display: block; margin-top: 6px; }
.representative-empty {
    float: none; clear: both; position: relative;
    width: min(100%, 960px); margin: 24px auto 0; padding: 28px;
    border-radius: 14px; background: #f7fafc; text-align: center;
}
body.detailstore-public.detailstore-auth-standalone.representative-login-page {
    min-height: 100vh; margin: 0; overflow-x: hidden;
    background:
        radial-gradient(circle at 12% 18%, rgba(85, 199, 188, .2), transparent 30%),
        radial-gradient(circle at 90% 88%, rgba(255, 255, 255, .09), transparent 27%),
        linear-gradient(145deg, #082f3a 0%, #0a4650 52%, #152f35 100%) !important;
    color: #1f2937;
}
.representative-login-shell {
    position: relative; isolation: isolate; display: grid;
    min-height: 100vh; padding: 36px 20px; place-items: center;
}
.representative-login-decoration {
    position: fixed; z-index: -1; border: 1px solid rgba(174, 255, 246, .12);
    border-radius: 50%; pointer-events: none;
}
.representative-login-decoration-one {
    top: -170px; right: -130px; width: 430px; height: 430px;
    background: rgba(78, 196, 186, .08);
}
.representative-login-decoration-two {
    bottom: -220px; left: -150px; width: 520px; height: 520px;
    background: rgba(255, 255, 255, .035);
}
.representative-login-card {
    position: relative; width: min(100%, 520px); padding: 32px 42px 28px; overflow: hidden;
    border: 1px solid rgba(173, 242, 235, .72); border-radius: 24px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 30px 85px rgba(1, 22, 28, .38); text-align: center;
}
.representative-login-card::before {
    position: absolute; top: 0; right: 0; left: 0; height: 5px;
    background: linear-gradient(90deg, #7ad8cf, #15929a, #0d6671); content: "";
}
.representative-login-brand {
    display: flex; justify-content: space-between; align-items: center; gap: 18px;
    margin-bottom: 20px; padding-bottom: 18px; border-bottom: 1px solid #e8eef0;
}
.representative-login-card .logo-account {
    display: inline-flex; width: auto; margin: 0; padding: 0;
    align-items: center; justify-content: center;
}
.representative-login-card .logo-account img {
    display: block; width: auto; max-width: 118px; max-height: 72px; object-fit: contain;
}
.representative-login-badge {
    display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px;
    border: 1px solid #ccece8; border-radius: 999px;
    background: #edf9f8; color: #0c7278; font-size: 12px; font-weight: 800;
}
.representative-login-badge .fa { font-size: 14px; }
.representative-login-title-icon {
    display: grid; width: 54px; height: 54px; margin: 2px auto 11px; place-items: center;
    border: 1px solid #ccece8; border-radius: 17px;
    background: linear-gradient(145deg, #effbf9, #d8f3f0); color: #0d737c;
    box-shadow: 0 10px 24px rgba(14, 111, 120, .12); font-size: 25px;
}
.representative-login-kicker {
    display: block; color: #168087; font-size: 12px; font-weight: 900; letter-spacing: .02em;
}
.representative-login-card h1 {
    margin: 8px 0 7px; color: #0b4f59; font-size: 1.55rem; font-weight: 900; line-height: 1.6;
}
.representative-login-card .representative-login-description {
    max-width: 410px; margin: 0 auto 24px; color: #64748b; font-size: 13px; line-height: 2;
}
.representative-login-card form { width: 100%; margin: 0; text-align: right; }
.representative-login-field { margin-top: 2px; }
.representative-login-field > label {
    display: flex; align-items: center; gap: 8px; margin-bottom: 8px;
    color: #263d45; font-size: 13px; font-weight: 800;
}
.representative-login-field > label .fa { color: #15929a; font-size: 20px; }
.representative-login-input-wrap {
    display: flex; height: 52px; align-items: center; gap: 10px; padding: 0 14px;
    border: 1px solid #cad9de; border-radius: 13px; background: #f9fbfc;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.representative-login-input-wrap:focus-within {
    border-color: #15929a; background: #fff; box-shadow: 0 0 0 4px rgba(21, 146, 154, .1);
}
.representative-login-input-wrap > .fa {
    flex: 0 0 auto; color: #81949b; font-size: 17px;
}
.representative-login-card .representative-login-input-wrap .input-email-account {
    float: none !important; width: 100%; height: 50px; min-width: 0;
    margin: 0 !important; padding: 0 2px !important; border: 0 !important; outline: 0 !important;
    background: transparent !important; color: #102f37; box-shadow: none !important;
    font-family: inherit; font-size: 15px; text-align: left;
}
.representative-login-field > small {
    display: block; margin: 7px 2px 0; color: #7c8e95; font-size: 11px; line-height: 1.8;
}
.representative-login-form .detailstore-auth-field-error {
    min-height: 22px; margin: 4px 2px 0; color: #c9323b; font-size: 11px; line-height: 1.8;
}
.representative-login-form .detailstore-auth-field-error:empty {
    display: block; visibility: hidden;
}
.representative-login-card .detailstore-auth-summary.validation-summary-errors {
    margin-bottom: 16px; padding: 10px 12px; border-radius: 11px;
}
.representative-terms {
    display: flex; gap: 9px; align-items: flex-start; margin: 3px 0 0;
    color: #51656d; font-size: 12px; line-height: 1.9; cursor: pointer;
}
.representative-terms input {
    flex: 0 0 auto; width: 17px; height: 17px; margin-top: 3px; accent-color: #15929a;
}
.representative-terms a { color: #0d7b83; font-weight: 800; }
.representative-login-submit {
    display: flex; width: 100%; min-height: 52px; margin-top: 18px; padding: 12px 20px;
    align-items: center; justify-content: center; gap: 12px;
    border: 0; border-radius: 13px; color: #fff;
    background: linear-gradient(135deg, #15929a, #0d727b);
    box-shadow: 0 12px 24px rgba(13, 114, 123, .22);
    font-family: inherit; font-weight: 900; cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.representative-login-submit:hover {
    color: #fff; transform: translateY(-1px); filter: brightness(1.04);
    box-shadow: 0 16px 28px rgba(13, 114, 123, .28);
}
.representative-login-submit:focus-visible {
    outline: 3px solid rgba(21, 146, 154, .25); outline-offset: 3px;
}
.representative-login-links {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px;
    margin-top: 22px; padding-top: 18px; border-top: 1px solid #e8eef0;
}
.representative-login-links a {
    display: inline-flex; align-items: center; gap: 6px; color: #42606a;
    font-size: 12px; font-weight: 800; text-decoration: none;
}
.representative-login-links a:hover { color: #0d7b83; }
.representative-login-security {
    display: flex; justify-content: center; align-items: center; gap: 7px;
    margin-top: 17px; color: #809098; font-size: 10px;
}
.representative-login-security .fa { color: #3ea99f; }
.representative-verify-card .storefront-otp-row {
    display: flex; direction: ltr; justify-content: center; gap: 10px; margin: 8px 0 14px;
}
.representative-verify-card .storefront-otp-input {
    float: none; width: 58px; height: 58px; margin: 0;
    border: 1px solid #cad9de; border-radius: 13px;
    background: #f9fbfc; color: #0b4f59; font-size: 22px; font-weight: 900; text-align: center;
}
.representative-verify-card .storefront-otp-input:focus {
    border-color: #15929a; outline: 0; box-shadow: 0 0 0 4px rgba(21, 146, 154, .1);
}
.representative-countdown {
    display: flex; justify-content: center; align-items: center; gap: 7px;
    margin: 10px 0 2px; color: #667b83; font-size: 12px;
}
.representative-resend-code {
    margin: 10px auto 0; border: 0; background: transparent; color: #0d7b83; font-weight: 800;
}
@media (max-width: 767.98px) {
    .detailstore-public main.representative-public-page {
        width: calc(100% - 22px); padding: 22px 0 44px;
    }
    .representative-public-hero { padding: 24px 18px; }
    .representative-login-shell { padding: 18px 12px; }
    .representative-login-card { padding: 26px 20px 22px; border-radius: 20px; }
    .representative-login-brand { flex-direction: column; gap: 12px; margin-bottom: 17px; }
    .representative-login-card h1 { font-size: 1.35rem; }
    .representative-login-card .representative-login-description { margin-bottom: 19px; }
    .representative-login-links { gap: 12px 16px; }
    .representative-verify-card .storefront-otp-input { width: 52px; height: 54px; }
    .representative-search-form { flex-direction: column; }
    .representative-search-form button { padding: 12px; }
    .representative-profile-card { border-radius: 19px; }
    .representative-profile-header {
        padding: 27px 20px 22px; flex-direction: column; align-items: stretch;
    }
    .representative-profile-brand { flex-direction: column; text-align: center; }
    .representative-profile-logo { width: 112px; height: 112px; flex-basis: 112px; }
    .representative-code-card { min-width: 0; }
    .representative-profile-main { grid-template-columns: 1fr; padding: 23px 18px 26px; }
    .representative-profile-section-title {
        align-items: flex-start; flex-direction: column; gap: 3px;
    }
    .representative-profile-info-grid { grid-template-columns: 1fr; }
    .representative-profile-info-grid .representative-profile-address,
    .representative-profile-info-grid .representative-profile-website-row { grid-column: auto; }
    .representative-certificate-card { margin: 0 18px 22px; padding: 18px; border-radius: 16px; }
    .representative-certificate-heading { align-items: stretch; flex-direction: column; }
    .representative-certificate-heading > a { justify-content: center; }
    .representative-qr-box { width: min(100%, 270px); margin: auto; }
}

/* Final overrides for the redesigned product information panel. */
.detailstore-public .product-detail-template .detailstore-product-information {
    margin-top: 28px;
    overflow: hidden;
    border: 1px solid #e4e9ee;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(15, 23, 42, .07);
}
.detailstore-public .product-detail-template .detailstore-product-information .tab-box {
    padding: 0 22px;
    border-bottom: 1px solid #e8edf1;
    background: linear-gradient(180deg, #fff, #f8fafb);
}
.detailstore-public .product-detail-template .detailstore-product-information .nav-tabs { display: flex; gap: 8px; margin: 0; border: 0; }
.detailstore-public .product-detail-template .detailstore-product-information .nav-link {
    display: inline-flex; min-height: 58px; padding: 0 20px; align-items: center; gap: 8px;
    border: 0; border-bottom: 3px solid transparent; background: transparent; color: #64748b; font-size: 14px; font-weight: 800;
}
.detailstore-public .product-detail-template .detailstore-product-information .nav-link.active { border-bottom-color: #ef394e; color: #18212b; }
.detailstore-public .product-detail-template .detailstore-product-information .nav-link i { color: #94a3b8; font-size: 21px; }
.detailstore-public .product-detail-template .detailstore-product-information .nav-link.active i { color: #ef394e; }
.detailstore-public .product-detail-template .detailstore-product-information .tab-content { min-height: 260px; padding: 30px 34px 36px; border: 0; background: #fff; }
.detailstore-public .product-detail-template .detailstore-product-information .params-headline,
.detailstore-public .product-detail-template .detailstore-product-information .faq-headline {
    margin: 0 0 24px; padding: 0 14px 14px 0; border-right: 4px solid #ef394e; border-bottom: 1px solid #eef1f4;
    color: #1f2937; font-size: 20px; font-weight: 900;
}
.detailstore-public .product-detail-template .detailstore-product-information .mask-text-product-summary {
    color: #475569; font-size: 14px; line-height: 2.25;
}
.detailstore-public .product-detail-template .detailstore-product-information .params-list li { display: grid; grid-template-columns: minmax(180px, 28%) minmax(0, 1fr); gap: 10px; margin-bottom: 8px; }
.detailstore-public .product-detail-template .detailstore-product-information .detailstore-param-key-col,
.detailstore-public .product-detail-template .detailstore-product-information .detailstore-param-value-col { width: auto; max-width: none; padding: 0; float: none; }
.detailstore-public .product-detail-template .detailstore-product-information .params-list-key,
.detailstore-public .product-detail-template .detailstore-product-information .params-list-value { height: 100%; min-height: 48px; padding: 13px 16px; border-radius: 10px; line-height: 1.8; }
.detailstore-public .product-detail-template .detailstore-product-information .params-list-key { background: #f1f5f7; color: #64748b; font-weight: 700; }
.detailstore-public .product-detail-template .detailstore-product-information .params-list-value { background: #f8fafb; color: #1f2937; font-weight: 800; }
@media (max-width: 767.98px) {
    .detailstore-public .product-detail-template .detailstore-product-information { margin-top: 18px; border-radius: 14px; }
    .detailstore-public .product-detail-template .detailstore-product-information .tab-box { padding: 0 8px; overflow-x: auto; }
    .detailstore-public .product-detail-template .detailstore-product-information .nav-tabs { width: max-content; min-width: 100%; }
    .detailstore-public .product-detail-template .detailstore-product-information .nav-link { min-height: 52px; padding: 0 12px; font-size: 12px; white-space: nowrap; }
    .detailstore-public .product-detail-template .detailstore-product-information .tab-content { padding: 22px 14px 26px; }
    .detailstore-public .product-detail-template .detailstore-product-information .params-list li { grid-template-columns: 1fr; gap: 4px; }
}

/* ==========================================================================
   محصولی که خرید آنلاین ندارد (استعلامی، بدون قیمت، یا ناموجود):
   به‌جای دکمه خاموش، یک فراخوان فعال به صفحه «تماس با ما».
   دکمه خاموش بن‌بست است؛ این حالت مسیر بعدی کاربر را نشان می‌دهد.
   ========================================================================== */
/* رنگ و شکل دکمه عمداً هیچ override ندارد: دقیقاً همان «افزودن به سبد خرید»
   دیده می‌شود و فقط مقصدش صفحه تماس است. اینجا فقط چیدمانِ لازم برای اینکه
   <a> مثل <button> رفتار کند تنظیم می‌شود. */
.detailstore-public .detailstore-contact-cta,
.detailstore-contact-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none !important;
    cursor: pointer;
}

    .detailstore-public .detailstore-contact-cta:hover,
    .detailstore-contact-cta:hover,
    .detailstore-public .detailstore-contact-cta:focus,
    .detailstore-contact-cta:focus {
        text-decoration: none !important;
    }

    .detailstore-public .detailstore-contact-cta p {
        margin: 0;
    }

.detailstore-public .product-detail-template .detailstore-contact-cta {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
}

/* آیکن تماس روی کارت‌ها هم رنگ اضافه‌ای نمی‌گیرد و مثل بقیه دکمه‌های
   گرد کارت (btn-light) دیده می‌شود. */
.detailstore-public .detailstore-contact-icon,
.detailstore-contact-icon {
    text-decoration: none !important;
}

/* یادداشت کوتاه زیر قیمت روی کارت‌ها.
   عنوان/برند/قیمت در کارت جست‌وجو float هستند، پس بدون clear این یادداشت
   کنارشان می‌نشیند و روی قیمت سوار می‌شود. */
.detailstore-public .storefront-card-contact-note,
.storefront-card-contact-note {
    clear: both;
    margin: 2px 0 0;
    font-size: 12px;
    font-weight: 700;
    line-height: 18px;
    color: #ef394e;
    text-align: center;
}

/* ==========================================================================
   اصلاح چیدمان جدول مشخصات فنی در پنل پایین صفحه محصول.
   ========================================================================== */

/* بدون این قاعده، شبه‌عنصر clearfix قدیمی داخل گرید به یک سلول اضافه تبدیل
   می‌شود و یک ردیف خالی زیر هر مشخصه ایجاد می‌کند. */
.detailstore-public .product-detail-template .detailstore-product-information .params-list li::after {
    display: none;
}

/* مقدار و عنوان هرکدام یک padding داخلی قدیمی داشتند که روی padding کادر
   جدید سوار می‌شد و ارتفاع هر ردیف را تقریباً دو برابر می‌کرد. */
.detailstore-public .product-detail-template .detailstore-product-information .params-list-key .block,
.detailstore-public .product-detail-template .detailstore-product-information .params-list-value .block {
    min-height: 0;
    margin: 0;
    padding: 0;
    font-size: 13.5px;
    line-height: 1.9;
}

/* قالب قدیمی به این دو کادر margin-top می‌داد و ارتفاع هر ردیف را زیاد می‌کرد. */
.detailstore-public .product-detail-template .detailstore-product-information .params-list-key,
.detailstore-public .product-detail-template .detailstore-product-information .params-list-value {
    display: flex;
    min-height: 46px;
    margin: 0;
    align-items: center;
}

.detailstore-public .product-detail-template .detailstore-product-information .params-list-key {
    gap: 8px;
    border: 1px solid #e8eef2;
    background: #f4f7f9;
}

.detailstore-public .product-detail-template .detailstore-product-information .params-list-value {
    border: 1px solid #eef2f5;
    background: #fcfdfe;
}

.detailstore-public .product-detail-template .detailstore-product-information .params-list li {
    margin-bottom: 6px;
}

.detailstore-public .product-detail-template .detailstore-product-information .params-list li:last-child {
    margin-bottom: 0;
}

.detailstore-public .product-detail-template .detailstore-product-information .params-title {
    margin: 0 0 14px;
    color: #334155;
    font-size: 15px;
    font-weight: 900;
}

.detailstore-public .product-detail-template .detailstore-product-information .detailstore-long-description {
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid #eef1f4;
}

/* وقتی متن معرفی کوتاه است، دکمه «ادامه مطلب» و سایه پایین آن پنهان می‌شوند. */
.detailstore-public .product-detail-template .content-expert-summary .mask-handler.is-hidden,
.detailstore-public .product-detail-template .content-expert-summary .shadow-box.is-hidden {
    display: none !important;
}

/* حالت خالی بودن هر تب */
.detailstore-public .product-detail-template .detailstore-product-information .detailstore-empty-tab {
    padding: 34px 18px;
    border: 1px dashed #dde5ea;
    border-radius: 14px;
    background: #fafcfd;
    color: #7b8794;
    gap: 10px;
}

.detailstore-public .product-detail-template .detailstore-product-information .detailstore-empty-tab i {
    color: #b6c2cc;
    font-size: 34px;
}

.detailstore-public .product-detail-template .detailstore-product-information .detailstore-empty-tab p {
    margin: 0;
    font-size: 13.5px;
    font-weight: 700;
}

@media (max-width: 767.98px) {
    .detailstore-public .product-detail-template .detailstore-product-information .params-list-key {
        min-height: 0;
        border-radius: 10px 10px 0 0;
    }

    .detailstore-public .product-detail-template .detailstore-product-information .params-list-value {
        min-height: 0;
        border-top: 0;
        border-radius: 0 0 10px 10px;
    }

    .detailstore-public .product-detail-template .detailstore-product-information .params-list li {
        margin-bottom: 10px;
    }
}

/* ==========================================================================
   ویدیوهای صفحه اصلی — کارت کاور + پخش‌کننده تمام‌صفحه
   در این بخش هیچ ویدیویی رندر نمی‌شود؛ همه‌چیز تصویر است تا صفحه اصلی
   حتی با فایل ۱۰۰ مگابایتی هم سبک بماند.
   ========================================================================== */
.detailstore-video-grid.is-single {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    max-width: 760px;
    margin: 0 auto;
    padding: 8px 0 16px;
}

.detailstore-video-grid:not(.is-single) {
    padding: 8px 0 16px;
}

.detailstore-video-card {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: 16px;
    overflow: hidden;
    background: #101827;
    cursor: pointer;
    aspect-ratio: 16 / 9;
    box-shadow: 0 4px 16px rgba(15, 23, 42, .12);
    transition: transform .25s cubic-bezier(.2, .7, .3, 1), box-shadow .25s ease;
}

    .detailstore-video-card:hover,
    .detailstore-video-card:focus-visible {
        transform: translateY(-4px);
        box-shadow: 0 16px 34px rgba(15, 23, 42, .26);
        outline: none;
    }

    .detailstore-video-card:focus-visible {
        box-shadow: 0 0 0 3px rgba(239, 57, 78, .45), 0 16px 34px rgba(15, 23, 42, .26);
    }

.detailstore-video-poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s cubic-bezier(.2, .7, .3, 1);
}

.detailstore-video-card:hover .detailstore-video-poster {
    transform: scale(1.06);
}

/* وقتی کاور ثبت نشده — بدون هیچ درخواست ویدیویی */
.detailstore-video-card.has-no-poster {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

.detailstore-video-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, .22);
}

/* سایه‌بان پایین کارت تا عنوان روی هر تصویری خوانا بماند */
.detailstore-video-scrim {
    position: absolute;
    inset: auto 0 0 0;
    height: 62%;
    background: linear-gradient(to top, rgba(8, 12, 22, .92) 0%, rgba(8, 12, 22, .55) 45%, rgba(8, 12, 22, 0) 100%);
    pointer-events: none;
}

.detailstore-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .94);
    color: #ef394e;
    box-shadow: 0 6px 20px rgba(8, 12, 22, .35);
    transition: transform .25s cubic-bezier(.2, .7, .3, 1), background .25s ease;
    /* مثلث پخش در صفحه راست‌به‌چپ نباید آینه شود */
    direction: ltr;
    padding-right: 3px;
}

    /* حلقه‌ای که با هاور باز می‌شود */
    .detailstore-video-play::before {
        content: "";
        position: absolute;
        inset: -8px;
        border-radius: 50%;
        border: 2px solid rgba(255, 255, 255, .55);
        opacity: 0;
        transform: scale(.85);
        transition: opacity .25s ease, transform .25s ease;
    }

.detailstore-video-card:hover .detailstore-video-play,
.detailstore-video-card:focus-visible .detailstore-video-play {
    transform: translate(-50%, -50%) scale(1.09);
    background: #fff;
}

    .detailstore-video-card:hover .detailstore-video-play::before,
    .detailstore-video-card:focus-visible .detailstore-video-play::before {
        opacity: 1;
        transform: scale(1);
    }

.detailstore-video-title {
    position: absolute;
    right: 0;
    left: 0;
    bottom: 0;
    padding: 14px 16px;
    text-align: right;
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.7;
    color: #fff;
    /* عنوان بلند به دو خط محدود می‌شود تا کارت‌ها یکدست بمانند */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ---------- پخش‌کننده تمام‌صفحه ---------- */
body.detailstore-video-open {
    overflow: hidden;
}

.detailstore-video-modal {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

    /* هیچ انیمیشنی نباید شرطِ دیده‌شدن باشد. اگر مرورگر انیمیشن‌ها را متوقف
       کند (تب پس‌زمینه، حالت کم‌مصرف)، مودال باید باز هم کامل دیده شود؛
       برای همین کانتینر اصلاً opacity صفر ندارد و حرکت فقط روی کادر داخلی
       اعمال می‌شود که پنهان‌کننده نیست. */

    .detailstore-video-modal[hidden] {
        display: none !important;
    }

.detailstore-video-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(6, 10, 18, .94);
    backdrop-filter: blur(6px);
}

.detailstore-video-modal-body {
    position: relative;
    width: 100%;
    max-width: 1120px;
}

.detailstore-video-modal.is-open .detailstore-video-modal-body {
    animation: detailstoreVideoRise .28s cubic-bezier(.2, .7, .3, 1);
}

@keyframes detailstoreVideoRise {
    from { transform: translateY(14px) scale(.98); }
    to { transform: none; }
}

.detailstore-video-stage {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .5);
}

    .detailstore-video-stage video {
        width: 100%;
        max-height: 80vh;
        display: block;
        background: #000;
    }

.detailstore-video-modal-title {
    color: #fff;
    font-size: 15.5px;
    font-weight: 700;
    margin-bottom: 12px;
    padding-left: 50px;
    line-height: 1.8;
}

.detailstore-video-modal-close {
    position: absolute;
    top: -4px;
    left: 0;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .14);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}

    .detailstore-video-modal-close:hover {
        background: rgba(255, 255, 255, .3);
        transform: rotate(90deg);
    }

/* لودینگ روی قاب ویدیو تا لحظه‌ای که واقعاً قابل پخش شود */
.detailstore-video-loader,
.detailstore-video-error {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: rgba(0, 0, 0, .55);
    color: #fff;
    font-size: 13px;
    pointer-events: none;
}

    .detailstore-video-loader[hidden],
    .detailstore-video-error[hidden] {
        display: none !important;
    }

.detailstore-video-error {
    pointer-events: auto;
    gap: 14px;
}

.detailstore-video-spinner {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, .22);
    border-top-color: #fff;
    animation: detailstoreVideoSpin .8s linear infinite;
}

@keyframes detailstoreVideoSpin {
    to {
        transform: rotate(360deg);
    }
}

.detailstore-video-retry {
    border: 1px solid rgba(255, 255, 255, .5);
    background: transparent;
    color: #fff;
    border-radius: 8px;
    padding: 7px 18px;
    font-size: 13px;
    cursor: pointer;
    transition: background .2s ease;
}

    .detailstore-video-retry:hover {
        background: rgba(255, 255, 255, .16);
    }

.detailstore-video-carousel .owl-dots {
    margin-top: 6px;
}

@media (max-width: 767.98px) {
    .detailstore-video-play {
        width: 52px;
        height: 52px;
    }

    .detailstore-video-title {
        font-size: 12.5px;
        padding: 11px 12px;
    }

    .detailstore-video-modal {
        padding: 12px;
    }

    .detailstore-video-modal-title {
        font-size: 13.5px;
        padding-left: 46px;
    }

    .detailstore-video-stage video {
        max-height: 68vh;
    }
}

/* احترام به تنظیم «کاهش انیمیشن» سیستم کاربر */
@media (prefers-reduced-motion: reduce) {
    .detailstore-video-card,
    .detailstore-video-poster,
    .detailstore-video-play,
    .detailstore-video-modal,
    .detailstore-video-modal-body,
    .detailstore-video-modal-close {
        transition: none !important;
    }

    /* حذف انیمیشن ورود بی‌خطر است چون opacity: 1 روی خود .is-open اعلام شده
       و مودال بدون انیمیشن هم دیده می‌شود. */
    .detailstore-video-modal.is-open,
    .detailstore-video-modal.is-open .detailstore-video-modal-body {
        animation: none !important;
    }

    .detailstore-video-spinner {
        animation-duration: 1.6s;
    }
}

/* ===== پاپ‌آپ اطلاع‌رسانی سایت (مدیریت → پاپ‌آپ سایت) — کارت سفید ساده، سربرگ تیره، لهجه نارنجی TPG ===== */
body.detailstore-popup-open {
    overflow: hidden;
}

.detailstore-popup {
    --popup-accent: #ee5a1f;
    --popup-accent-dark: #d64a12;
    position: fixed;
    inset: 0;
    z-index: 10040;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

    /* مثل پخش‌کننده ویدیو: هیچ انیمیشنی شرطِ دیده‌شدن نیست؛ نمایان‌بودن فقط با hidden است */
    .detailstore-popup[hidden] {
        display: none !important;
    }

.detailstore-popup-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .72);
}

.detailstore-popup-card {
    position: relative;
    width: 100%;
    max-width: 960px;
    max-height: calc(100vh - 40px);
    overflow: hidden auto;
    border-radius: 22px;
    background: var(--detailstore-surface);
    color: var(--detailstore-text);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
    text-align: right;
    scrollbar-width: thin;
    scrollbar-color: #cbd2dc transparent;
}

.detailstore-popup.is-open .detailstore-popup-card {
    animation: detailstorePopupRise .28s cubic-bezier(.2, .7, .3, 1);
}

@keyframes detailstorePopupRise {
    from { transform: translateY(16px) scale(.98); }
    to { transform: none; }
}

.detailstore-popup-close {
    position: absolute;
    top: 22px;
    left: 16px;
    z-index: 2;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .16);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}

    .detailstore-popup-close:hover {
        background: rgba(255, 255, 255, .32);
        transform: rotate(90deg);
    }

/* سربرگ تیره: راست لوگوی فروشگاه، وسط عنوان، چپ لوگوی TPG — هر دو لوگو در کاشی سفید */
.detailstore-popup-head {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px 28px 22px 64px; /* چپ: جای دکمه بستن */
    background: linear-gradient(135deg, #111827, #1f2937);
    color: #fff;
}

.detailstore-popup-logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 92px;
    height: 76px;
    padding: 8px 10px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .25);
}

    .detailstore-popup-logo img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    /* لوگوی TPG دایره است؛ کاشی مربع‌تر و لوگو کمی کوچک‌تر تا دور آن نفس بکشد */
    .detailstore-popup-logo--tpg {
        width: 76px;
        padding: 9px;
    }

.detailstore-popup-title {
    flex: 1 1 auto;
    margin: 0;
    font-size: 17.5px;
    font-weight: 800;
    line-height: 1.9;
    color: #fff;
    text-align: center;
    text-wrap: balance; /* اگر شکست، دو سطر هم‌اندازه، نه یک کلمه تنها */
}

.detailstore-popup-body {
    padding: 26px 34px 28px;
}

.detailstore-popup-text {
    margin: 0 0 20px;
    font-size: 18px;
    font-weight: 700;
    line-height: 2.1;
    color: var(--detailstore-text);
    text-align: center;
    text-wrap: balance; /* دو سطر هم‌اندازه و وسط‌چین؛ «می‌دهد.» تنها نمی‌ماند */
}

/* دکمه ثبت‌نام: تمام‌عرض، نارنجی برند TPG (نه قرمز فروشگاه)، با سایه نرم */
.detailstore-popup-register {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    margin: 0 0 16px;
    padding: 0 22px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f26a2e, var(--popup-accent-dark));
    color: #fff !important;
    font-size: 17px;
    font-weight: 800;
    text-decoration: none !important;
    box-shadow: 0 12px 28px rgba(238, 90, 31, .32);
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

    .detailstore-popup-register:hover {
        transform: translateY(-2px);
        box-shadow: 0 16px 34px rgba(238, 90, 31, .4);
        filter: brightness(1.05);
    }

    .detailstore-popup-register svg {
        transform: scaleX(-1); /* پیکان رو به چپ در RTL */
    }

.detailstore-popup-catalog {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 22px;
    padding: 14px 16px;
    border: 1px dashed #d3d9e2;
    border-radius: 14px;
    background: var(--detailstore-soft);
    color: var(--detailstore-text) !important;
    text-decoration: none !important;
    transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

    .detailstore-popup-catalog:hover {
        border-color: var(--popup-accent);
        background: #fff6f1;
        transform: translateY(-1px);
    }

.detailstore-popup-catalog-icon {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: #fff;
    color: var(--popup-accent);
    box-shadow: 0 4px 14px rgba(0, 0, 0, .08);
}

.detailstore-popup-catalog-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.detailstore-popup-catalog-title {
    font-size: 14.5px;
    font-weight: 800;
    line-height: 1.7;
}

.detailstore-popup-catalog small {
    font-size: 11.5px;
    font-weight: 500;
    color: var(--detailstore-muted);
    direction: ltr;
    text-align: right;
}

.detailstore-popup-channels-title {
    margin: 0 0 12px;
    font-size: 14.5px;
    font-weight: 800;
    text-align: center;
}

.detailstore-popup-channel-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.detailstore-popup-channel {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 6px 14px 6px 8px;
    border: 1px solid var(--detailstore-border);
    border-radius: 999px;
    background: #fff;
    color: var(--detailstore-text) !important;
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

    .detailstore-popup-channel:hover {
        border-color: #c9d1dc;
        transform: translateY(-2px);
        box-shadow: 0 8px 18px rgba(0, 0, 0, .1);
    }

.detailstore-popup-channel-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    overflow: hidden;
    color: #fff;
    background: #6b7280;
}

    /* لوگوهای رسمی (بله، روبیکا، آپارات) — تصویر خودشان است، نه دایره رنگی */
    .detailstore-popup-channel-icon img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.detailstore-popup-channel.is-bale .detailstore-popup-channel-icon,
.detailstore-popup-channel.is-rubika .detailstore-popup-channel-icon,
.detailstore-popup-channel.is-aparat .detailstore-popup-channel-icon {
    background: #fff;
}

.detailstore-popup-channel.is-rubika .detailstore-popup-channel-icon img {
    padding: 2px;
    object-fit: contain;
}

.detailstore-popup-channel-letter {
    font-size: 14px;
    font-weight: 900;
    line-height: 1;
}

.detailstore-popup-channel.is-telegram .detailstore-popup-channel-icon { background: #229ed9; }
.detailstore-popup-channel.is-whatsapp .detailstore-popup-channel-icon { background: #25d366; }
.detailstore-popup-channel.is-eitaa .detailstore-popup-channel-icon { background: #ef7a1a; }
.detailstore-popup-channel.is-instagram .detailstore-popup-channel-icon { background: linear-gradient(45deg, #f58529, #dd2a7b 55%, #8134af); }

@media (max-width: 575.98px) {
    .detailstore-popup {
        padding: 10px;
        align-items: flex-end;
    }

    .detailstore-popup-card {
        max-height: calc(100vh - 20px);
        border-radius: 20px 20px 14px 14px;
    }

    .detailstore-popup-head {
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 10px 12px;
        padding: 16px 16px 16px 56px;
    }

    .detailstore-popup-logo {
        width: 68px;
        height: 56px;
        padding: 6px 8px;
        border-radius: 12px;
    }

    .detailstore-popup-title {
        flex: 1 0 100%;
        order: 3;
        margin-top: 2px;
        font-size: 15.5px;
        text-align: right;
    }

    .detailstore-popup-body {
        padding: 18px 16px 20px;
    }

    .detailstore-popup-text {
        font-size: 15.5px;
        text-align: right;
        text-wrap: wrap; /* موبایل: ۳-۴ سطر راست‌چین خواناتر است */
        margin-bottom: 16px;
    }

    .detailstore-popup-register {
        min-height: 50px;
        font-size: 16px;
    }

    .detailstore-popup-channel {
        font-size: 12.5px;
        padding: 5px 11px 5px 6px;
    }

    .detailstore-popup-channel-icon {
        width: 30px;
        height: 30px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .detailstore-popup.is-open .detailstore-popup-card {
        animation: none !important;
    }
}
