@import url("../../../assets/css/iransansx.css");

.hamsaye-rtl {
    direction: rtl;
    text-align: right;
}

html[lang="fa"],
html[lang="fa"] body,
html[lang="fa"] button,
html[lang="fa"] input,
html[lang="fa"] textarea,
html[lang="fa"] select,
html[lang="fa"] .title,
html[lang="fa"] .name,
html[lang="fa"] .prize,
html[lang="fa"] .dz-item,
html[lang="fa"] .dz-text,
html[lang="fa"] .dz-review,
html[lang="fa"] .dz-remove,
html[lang="fa"] .price,
html[lang="fa"] .dz-price,
html[lang="fa"] .hamsaye-money,
html[lang="fa"] .hamsaye-money *,
html[lang="fa"] .hamsaye-product-detail,
html[lang="fa"] .hamsaye-product-detail *,
html[lang="fa"] .hamsaye-cart-page,
html[lang="fa"] .hamsaye-cart-page *,
html[lang="fa"] .footer,
html[lang="fa"] .footer * {
    font-family: "IRANSansXFaNum", Tahoma, Arial, sans-serif !important;
    letter-spacing: 0;
}

html[lang="fa"] .header {
    direction: ltr;
}

html[lang="fa"] .header .mid-content {
    direction: rtl;
}

html[lang="fa"] body :not(i):not(svg):not(path):not([class^="fi"]):not([class*=" fi-"]):not([class^="feather"]):not([class*=" feather"]):not([class^="fa"]):not([class*=" fa-"]):not([class^="ti-"]):not([class*=" ti-"]):not([class^="icon-"]):not([class*=" icon-"]):not([class^="la"]):not([class*=" la-"]):not([class^="ri-"]):not([class*=" ri-"]):not([class^="bi"]):not([class*=" bi-"]) {
    font-family: "IRANSansXFaNum", Tahoma, "Segoe UI", Arial, sans-serif !important;
}

.search-box .form-control {
    direction: rtl;
    text-align: right;
}

.search-box .form-control::placeholder {
    text-align: right;
}

.dz-card-overlay .dz-info,
.dz-card.list .dz-content,
.dz-card.list .title {
    direction: rtl;
    text-align: right;
}

.dz-card-overlay .title {
    direction: rtl;
    text-align: center;
}

.hamsaye-overlay-card .title {
    color: #fff;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dz-card-overlay .dz-meta,
.dz-card.list .dz-meta {
    direction: rtl;
}

.dz-price,
.hamsaye-money,
.hamsaye-price-line {
    white-space: nowrap;
}

.hamsaye-money {
    display: inline-flex;
    align-items: baseline;
    gap: 0.18em;
    max-width: 100%;
    direction: rtl;
    unicode-bidi: isolate;
    white-space: nowrap;
}

.hamsaye-money-number {
    display: inline-block;
    direction: ltr;
    unicode-bidi: isolate;
    white-space: nowrap;
    flex: 0 0 auto;
}

.hamsaye-money-unit {
    font-size: 0.62em;
    line-height: 1;
    flex: 0 0 auto;
}

.dz-price del {
    margin-inline-start: 0.35rem;
    white-space: nowrap;
}

.dz-card-overlay .dz-price {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    flex-wrap: nowrap;
    min-width: 0;
    overflow: hidden;
    line-height: 1.2;
    text-align: center;
    color: #fff;
}

.dz-card-overlay .dz-price .hamsaye-money-number,
.dz-card-overlay .dz-price del .hamsaye-money-number {
    font-size: inherit;
}

.dz-card-overlay .dz-price > .hamsaye-money {
    flex: 0 0 auto;
    min-width: 0;
}

.dz-card-overlay .dz-price > del {
    display: block;
    flex: 0 0 auto;
    min-width: 0;
    margin-inline-start: 0;
    opacity: 0.75;
    text-decoration: line-through;
    text-decoration-thickness: 1px;
    text-decoration-color: currentColor;
}

.dz-card-overlay .dz-price del .hamsaye-money-unit {
    font-size: 0.5em;
}

.dz-product-detail .price {
    white-space: nowrap;
}

.dz-card.list .dz-price {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dz-card.list.hamsaye-product-card {
    cursor: pointer;
    align-items: flex-start;
    overflow: hidden;
    margin-bottom: 52px;
}

.dz-card.list.hamsaye-product-card .dz-content {
    min-width: 0;
    padding-top: 0;
    padding-bottom: 0;
}

.dz-card.list.hamsaye-product-card .dz-head {
    min-width: 0;
    padding-right: 8px;
    margin-bottom: 12px;
}

.dz-card.list.hamsaye-product-card .title,
.dz-card.list.hamsaye-product-card .dz-head p {
    max-width: 100%;
    overflow-wrap: anywhere;
}

.dz-card.list.hamsaye-product-card .hamsaye-card-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.45rem;
    direction: rtl;
    width: 100%;
    min-width: 0;
    margin-top: 8px;
}

.hamsaye-card-price,
.hamsaye-card-discount {
    display: grid;
    align-content: center;
    gap: 4px;
    min-width: 0;
}

.hamsaye-card-label {
    color: #81788e;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.25;
    white-space: normal;
}

.dz-card.list.hamsaye-product-card .hamsaye-card-price .dz-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px 8px;
    justify-self: start;
    max-width: 100%;
    direction: rtl;
    font-size: 17px;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
}

.hamsaye-card-old-price {
    display: inline-block;
    color: #91889d;
    font-size: 11px;
    line-height: 1.2;
    direction: rtl;
    unicode-bidi: isolate;
    white-space: nowrap;
    text-decoration: line-through;
    text-decoration-thickness: 1px;
    text-decoration-color: currentColor;
}

.dz-card.list.hamsaye-product-card .hamsaye-card-discount .dz-pts {
    justify-self: start;
    direction: rtl;
    margin-inline-start: 0;
    white-space: nowrap;
    font-size: 17px;
}

.dz-card.list.hamsaye-product-card .hamsaye-card-cta {
    grid-column: 1 / -1;
    justify-self: stretch;
    width: 100%;
    min-width: 0;
}

.hamsaye-cart-btn {
    width: 100%;
    white-space: nowrap;
    padding-inline: 18px;
    min-width: 44px;
    min-height: 44px;
}

.hamsaye-product-image {
    display: block;
    max-width: 100%;
    object-fit: contain;
    background: transparent;
    color: transparent;
}

.hamsaye-overlay-card .dz-media,
.hamsaye-overlay-card .dz-media .hamsaye-product-image {
    background: transparent;
}

.hamsaye-overlay-card .dz-media .hamsaye-product-image {
    width: 100%;
    height: 200px;
    object-fit: contain;
    object-position: center;
}

.hamsaye-product-image-fallback {
    object-fit: contain !important;
    padding: 12%;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.12);
}

.hamsaye-cart-page .header-content {
    direction: rtl;
}

.hamsaye-cart-page .header-content .left-content {
    text-align: right;
}

.hamsaye-cart-page .header-content .right-content {
    margin-left: 0;
    margin-right: auto;
}

.hamsaye-cart-page .dz-head-items .dz-meta {
    direction: rtl;
}

.hamsaye-real-cart-item {
    direction: rtl;
}

.hamsaye-real-cart-item .dz-media {
    margin-right: 0;
    margin-left: 13px;
}

.hamsaye-real-cart-item .dz-content,
.hamsaye-real-cart-item .title,
.hamsaye-real-cart-item .dz-meta {
    direction: rtl;
    text-align: right;
}

.hamsaye-real-cart-item .dz-meta {
    justify-content: flex-start;
}

.hamsaye-real-cart-item .dz-remove {
    margin-right: auto;
    margin-left: 0 !important;
    white-space: nowrap;
}

.hamsaye-real-cart-item .dz-remove i {
    margin-right: 0;
    margin-left: 4px;
}

.hamsaye-cart-stepper {
    direction: ltr;
}

.hamsaye-cart-stepper .form-control {
    font-family: "IRANSansXFaNum", Tahoma, "Segoe UI", Arial, sans-serif !important;
}

.hamsaye-cart-page .dz-total-area .dz-text.hamsaye-credit-ok {
    color: #159E42;
}

.hamsaye-cart-page .dz-total-area .dz-text.hamsaye-credit-ok i {
    background-color: #159E42;
}

.hamsaye-cart-page .dz-total-area .dz-text.hamsaye-credit-warning {
    color: #d98200;
}

.hamsaye-cart-page .dz-total-area .dz-text.hamsaye-credit-warning i {
    background-color: #d98200;
}

.hamsaye-cart-page .dz-remove i.feather,
.hamsaye-cart-page .dz-remove i.icon {
    font-family: "feather" !important;
    font-style: normal !important;
    font-weight: normal !important;
    line-height: 1 !important;
}

.hamsaye-cart-page i.feather,
.hamsaye-cart-page i.icon,
.hamsaye-cart-page .feather,
.hamsaye-cart-page [class^="icon-"],
.hamsaye-cart-page [class*=" icon-"] {
    font-family: "feather" !important;
    font-style: normal !important;
    font-weight: normal !important;
}

.hamsaye-cart-page i.feather::before,
.hamsaye-cart-page i.icon::before,
.hamsaye-cart-page .feather::before,
.hamsaye-cart-page [class^="icon-"]::before,
.hamsaye-cart-page [class*=" icon-"]::before {
    font-family: "feather" !important;
}

html[lang="fa"] .hamsaye-cart-page i.feather,
html[lang="fa"] .hamsaye-cart-page i.icon,
html[lang="fa"] .hamsaye-cart-page .feather,
html[lang="fa"] .hamsaye-cart-page [class^="icon-"],
html[lang="fa"] .hamsaye-cart-page [class*=" icon-"],
html[lang="fa"] .hamsaye-cart-page i.feather::before,
html[lang="fa"] .hamsaye-cart-page i.icon::before,
html[lang="fa"] .hamsaye-cart-page .feather::before,
html[lang="fa"] .hamsaye-cart-page [class^="icon-"]::before,
html[lang="fa"] .hamsaye-cart-page [class*=" icon-"]::before {
    font-family: "feather" !important;
    font-style: normal !important;
    font-weight: normal !important;
}

.hamsaye-store-credit {
    display: block;
    margin-top: 6px;
    color: #5f6c72;
    font-size: 12px;
}

.dz-rating {
    direction: rtl;
    letter-spacing: 0;
    white-space: nowrap;
    min-width: 78px;
    justify-content: center;
    text-align: center;
    z-index: 2;
}

.hamsaye-product-detail,
.hamsaye-product-detail .detail-content,
.hamsaye-product-detail .description,
.hamsaye-product-detail .text-light,
.hamsaye-product-detail .title {
    direction: rtl;
    text-align: right;
}

.hamsaye-product-detail .detail-content {
    padding-inline-end: 0;
    padding-inline-start: 0;
}

.hamsaye-detail-badges {
    position: absolute;
    top: -31px;
    right: 18px;
    display: flex;
    gap: 8px;
    align-items: center;
    direction: rtl;
    z-index: 3;
}

.hamsaye-rating-badge,
.hamsaye-discount-badge {
    position: static;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 50%;
    color: #fff !important;
    font-weight: 800;
    line-height: 1;
    font-family: "IRANSansXFaNum", Tahoma, "Segoe UI", Arial, sans-serif !important;
    box-shadow: 0 12px 28px rgba(255, 135, 48, 0.25);
}

.hamsaye-rating-badge {
    background: #ff8730;
}

.hamsaye-rating-badge > i {
    display: none !important;
}

.hamsaye-rating-badge::before {
    content: "\f005";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", FontAwesome !important;
    font-size: 12px;
    font-style: normal;
    font-weight: 900;
    line-height: 1;
    color: #fff !important;
    -webkit-font-smoothing: antialiased;
    text-rendering: auto;
}

.hamsaye-rating-badge span i {
    display: inline-flex;
    font-family: "Font Awesome 6 Free" !important;
    font-size: 12px;
    font-style: normal;
    font-weight: 900;
    line-height: 1;
}

.hamsaye-rating-badge span i.fa-star::before {
    content: "\f005";
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900;
}

.hamsaye-rating-badge {
    flex-direction: row-reverse;
}

.hamsaye-rating-badge span,
.hamsaye-discount-badge span {
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    gap: 1px;
    color: #fff !important;
    direction: ltr;
    font-size: 18px;
    font-weight: 900;
    font-family: "IRANSansXFaNum", Tahoma, Arial, sans-serif !important;
    font-variant-numeric: normal !important;
    letter-spacing: 0 !important;
}

.hamsaye-rating-badge small {
    color: #fff !important;
    font-size: 18px;
    font-weight: 900;
    line-height: 1;
    font-family: "IRANSansXFaNum", Tahoma, "Segoe UI", Arial, sans-serif !important;
}

.hamsaye-discount-badge {
    background: #2f80ed;
    box-shadow: 0 12px 28px rgba(47, 128, 237, 0.22);
}

.hamsaye-discount-badge span {
    font-size: 17px;
}

.hamsaye-rating-badge,
.hamsaye-discount-badge,
.hamsaye-rating-badge span,
.hamsaye-discount-badge span {
    font-family: "IRANSansXFaNum", Tahoma, Arial, sans-serif !important;
}

.hamsaye-sales-rate {
    direction: rtl;
    text-align: right;
    margin-bottom: 22px;
}

.hamsaye-sales-rate h6 {
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 14px;
}

.hamsaye-sales-rate-slider {
    direction: ltr;
    padding: 2px 22px 34px;
    pointer-events: none;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
}

.hamsaye-product-detail .item-wrapper .hamsaye-sales-rate-slider .slider {
    width: 100% !important;
    max-width: 100% !important;
}

.hamsaye-sales-rate-slider .noUi-target {
    pointer-events: none;
}

.hamsaye-sales-rate-slider .noUi-handle {
    pointer-events: none;
    cursor: default;
}

.hamsaye-sales-rate-slider .noUi-value {
    font-family: "IRANSansXFaNum", Tahoma, Arial, sans-serif !important;
    font-size: 13px;
    color: #7f768e;
    white-space: nowrap;
}

.hamsaye-sales-rate-slider .noUi-value.hamsaye-pip-start {
    transform: translate(0, 50%);
    text-align: left;
}

.hamsaye-sales-rate-slider .noUi-value.hamsaye-pip-end {
    transform: translate(-100%, 50%);
    text-align: right;
}

.hamsaye-sales-rate-slider .noUi-value.active-pip {
    color: #101010;
    font-weight: 800;
}

.hamsaye-detail-page .page-wrapper,
.hamsaye-detail-page .page-content,
.hamsaye-detail-page .page-content > .container,
.hamsaye-detail-page .dz-product-preview,
.hamsaye-detail-page .product-detail-swiper,
.hamsaye-detail-page .product-detail-swiper .swiper-wrapper,
.hamsaye-detail-page .product-detail-swiper .swiper-slide,
.hamsaye-detail-page .hamsaye-product-detail,
.hamsaye-detail-page .hamsaye-product-detail .item-wrapper,
.hamsaye-detail-page .hamsaye-sales-rate,
.hamsaye-detail-page .hamsaye-product-detail .dz-meta-items {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    max-width: 100%;
}

.hamsaye-detail-page .page-wrapper {
    overflow-x: clip;
}

.hamsaye-detail-page .product-detail-swiper .dz-media,
.hamsaye-detail-page .product-detail-swiper .hamsaye-product-image {
    max-width: 100%;
}

.hamsaye-product-detail .dz-meta-items {
    direction: rtl;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
}

.hamsaye-product-detail .dz-price {
    min-width: 0;
    max-width: 100%;
}

.hamsaye-product-detail .price {
    direction: rtl;
    text-align: right;
    font-weight: 800;
    font-family: "IRANSansXFaNum", Tahoma, Arial, sans-serif !important;
    display: flex !important;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 8px;
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.hamsaye-product-detail .price del {
    font-family: "IRANSansXFaNum", Tahoma, Arial, sans-serif !important;
    font-size: 0.55em;
    color: #9c94aa;
    text-decoration-thickness: 1px;
}

.hamsaye-product-detail .price .hamsaye-money-number,
.hamsaye-product-detail .price .hamsaye-money-unit {
    font-family: "IRANSansXFaNum", Tahoma, Arial, sans-serif !important;
}

.hamsaye-product-detail .dz-quantity {
    direction: ltr;
}

.hamsaye-commission-preview {
    direction: rtl;
    display: grid;
    gap: 6px;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin: 4px 0 20px;
    padding: 14px 16px;
    border: 1px solid #d9c9f3;
    border-radius: 14px;
    background: linear-gradient(135deg, #f6f0ff 0%, #fff 100%);
    color: #332442;
    text-align: right;
}

.hamsaye-commission-preview[hidden] {
    display: none !important;
}

.hamsaye-commission-title {
    font-size: 13px;
    line-height: 1.8;
}

.hamsaye-commission-amount {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px;
    color: #6f42c1;
    font-size: 18px;
    font-weight: 900;
}

.hamsaye-commission-preview small {
    color: #685c74;
    font-size: 11px;
    line-height: 1.8;
}

.hamsaye-full-description {
    color: #4f475f !important;
    line-height: 1.9;
    white-space: pre-line;
    font-family: "IRANSansXFaNum", Tahoma, Arial, sans-serif !important;
}

.hamsaye-package-items {
    direction: rtl;
    text-align: right;
}

.hamsaye-package-items h6 {
    font-weight: 800;
    margin-bottom: 12px;
    font-family: "IRANSansXFaNum", Tahoma, Arial, sans-serif !important;
}

.hamsaye-package-items ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.hamsaye-package-item {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border: 1px solid #f0edf5;
    border-radius: 8px;
    background: #fff;
}

.hamsaye-package-item img {
    width: 58px;
    height: 58px;
    object-fit: cover;
    border-radius: 8px;
    background: #f7f4fb;
}

.hamsaye-package-item-content {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.hamsaye-package-item-content strong,
.hamsaye-package-item-content span,
.hamsaye-package-item-content small {
    overflow-wrap: anywhere;
}

.hamsaye-package-item-content span,
.hamsaye-package-item-content small {
    color: #81788e;
    font-size: 12px;
}

.hamsaye-package-retail {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: baseline;
    gap: 5px 10px;
    min-width: 0;
    margin-top: 4px;
    padding-top: 7px;
    border-top: 1px solid #f0edf5;
}

.hamsaye-package-retail > span {
    min-width: 0;
    color: #625a6d;
    line-height: 1.6;
}

.hamsaye-package-retail > strong {
    justify-self: end;
    color: #2f263c;
    font-size: 13px;
    white-space: nowrap;
}

.hamsaye-package-price-missing {
    margin: 5px 0 0;
    color: #81788e;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.7;
}

.hamsaye-package-discount {
    min-width: 44px;
    min-height: 36px;
    padding: 5px 9px;
    border-radius: 999px;
    background: #eaf8f1;
    color: #1f8f61;
    display: inline-grid;
    align-items: center;
    justify-content: center;
    gap: 1px;
    text-align: center;
    font-weight: 800;
    white-space: nowrap;
    font-family: "IRANSansXFaNum", Tahoma, Arial, sans-serif !important;
}

.hamsaye-package-discount span {
    font-size: 9px;
    font-weight: 600;
}

.hamsaye-package-discount strong {
    font-size: 12px;
}

.hamsaye-detail-total {
    direction: rtl;
    text-align: right;
    color: #3f374a;
    font-weight: 800;
    margin-bottom: 8px;
    font-family: "IRANSansXFaNum", Tahoma, Arial, sans-serif !important;
}

.hamsaye-detail-cart-btn {
    color: #fff !important;
    font-weight: 800;
    justify-content: center;
    font-family: "IRANSansXFaNum", Tahoma, Arial, sans-serif !important;
}

.hamsaye-detail-page .footer.fixed {
    bottom: 60px;
    z-index: 9;
}

.hamsaye-detail-page .page-content {
    padding-bottom: 170px !important;
}

.hamsaye-rejection-reason {
    margin: 8px 0 0;
    padding: 8px 10px;
    border-radius: 8px;
    background: #fff1f0;
    color: #d93025;
    font-size: 12px;
    line-height: 1.8;
}

.hamsaye-cart-page .menubar-area.footer-fixed,
.hamsaye-detail-page .menubar-area.footer-fixed,
.hamsaye-cart-page .menubar-area.footer-fixed .toolbar-inner,
.hamsaye-detail-page .menubar-area.footer-fixed .toolbar-inner {
    direction: ltr !important;
}

.hamsaye-cart-page .menubar-area.footer-fixed .toolbar-inner,
.hamsaye-detail-page .menubar-area.footer-fixed .toolbar-inner {
    flex-direction: row !important;
}

.hamsaye-shop-toast {
    position: fixed;
    left: 18px;
    right: 18px;
    bottom: 86px;
    z-index: 9999;
    min-height: 56px;
    padding: 12px 14px;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 18px 50px rgba(32, 23, 56, 0.22);
    display: flex;
    align-items: center;
    gap: 10px;
    direction: rtl;
    text-align: right;
    opacity: 0;
    transform: translateY(16px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    font-family: "IRANSansXFaNum", Tahoma, "Segoe UI", Arial, sans-serif !important;
}

.hamsaye-shop-toast.show {
    opacity: 1;
    transform: translateY(0);
}

.hamsaye-shop-toast-icon {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 900;
    font-family: "IRANSansXFaNum", Tahoma, "Segoe UI", Arial, sans-serif !important;
}

.hamsaye-shop-toast.is-success .hamsaye-shop-toast-icon {
    background: #22a06b;
}

.hamsaye-shop-toast.is-error .hamsaye-shop-toast-icon {
    background: #ff8730;
}

.hamsaye-shop-toast-text {
    color: #231f2d;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.7;
    font-family: "IRANSansXFaNum", Tahoma, "Segoe UI", Arial, sans-serif !important;
}

.hamsaye-wishlist-header .header-content {
    direction: rtl;
    justify-content: flex-start;
}

.hamsaye-wishlist-header .left-content {
    flex: 1 1 auto;
    text-align: right;
}

.hamsaye-wishlist-header .dz-head-items,
.hamsaye-wishlist-header .dz-head-items .title,
.hamsaye-wishlist-header .dz-meta {
    direction: rtl;
    text-align: right;
    justify-content: flex-start;
}

.hamsaye-wishlist-card,
.hamsaye-wishlist-card .dz-info,
.hamsaye-wishlist-card .title,
.hamsaye-wishlist-card p,
.hamsaye-wishlist-list {
    direction: rtl;
    text-align: right;
}

.hamsaye-wishlist-card .dz-meta {
    direction: rtl;
}

.hamsaye-checkout-page,
.hamsaye-checkout-page * {
    font-family: "IRANSansXFaNum", Tahoma, "Segoe UI", Arial, sans-serif !important;
}

.hamsaye-checkout-page i[class^="fi-rr-"],
.hamsaye-checkout-page i[class*=" fi-rr-"],
.hamsaye-checkout-page span[class^="fi-rr-"],
.hamsaye-checkout-page span[class*=" fi-rr-"],
.hamsaye-checkout-page i[class^="fi-rr-"]::before,
.hamsaye-checkout-page i[class*=" fi-rr-"]::before,
.hamsaye-checkout-page span[class^="fi-rr-"]::before,
.hamsaye-checkout-page span[class*=" fi-rr-"]::before {
    font-family: flaticon !important;
    font-style: normal !important;
    font-weight: normal !important;
}

.hamsaye-checkout-page .feather,
.hamsaye-checkout-page [class^="icon-"],
.hamsaye-checkout-page [class*=" icon-"],
.hamsaye-checkout-page .feather::before,
.hamsaye-checkout-page [class^="icon-"]::before,
.hamsaye-checkout-page [class*=" icon-"]::before {
    font-family: "feather" !important;
    font-style: normal !important;
    font-weight: normal !important;
}

.hamsaye-checkout-page {
    direction: rtl;
    text-align: right;
}

.hamsaye-checkout-section {
    margin-bottom: 18px;
}

.hamsaye-checkout-title {
    color: #17101f;
    font-size: 15px;
    font-weight: 900;
    margin-bottom: 10px;
}

.hamsaye-checkout-store {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 22px;
    gap: 12px;
    align-items: center;
    padding: 14px;
    border: 1px solid #eee9f6;
    border-radius: 14px;
    background: #fff;
    color: inherit;
}

.hamsaye-checkout-store .dz-icon {
    grid-column: 1;
}

.hamsaye-checkout-store-text h6 {
    font-size: 15px;
    font-weight: 900;
    margin-bottom: 4px;
    text-align: right;
}

.hamsaye-checkout-store-text p {
    color: #6d647a;
    font-size: 13px;
    line-height: 1.7;
    margin: 0;
    text-align: right;
}

.hamsaye-payment-accordion {
    direction: rtl;
}

.hamsaye-payment-accordion .accordion-item {
    overflow: hidden;
    border: 1px solid #eee9f6;
    border-radius: 14px;
    margin-bottom: 10px;
    background: #fff;
}

.hamsaye-payment-accordion .accordion-button {
    flex-direction: row;
    gap: 10px;
    text-align: right;
    color: #1d1429;
    font-weight: 900;
}

.hamsaye-payment-accordion .accordion-button::after {
    margin-right: auto;
    margin-left: 0;
}

.hamsaye-payment-accordion .acco-title {
    flex: 1 1 auto;
    text-align: right;
}

.hamsaye-payment-accordion .is-disabled {
    opacity: 0.55;
}

.hamsaye-payment-status,
.hamsaye-payment-credit {
    color: #6f42ff;
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
}

.hamsaye-payment-status {
    color: #9b93aa;
}

.hamsaye-payment-accordion .accordion-body {
    color: #5b5269;
    font-size: 13px;
    line-height: 1.8;
    text-align: right;
}

.hamsaye-credit-breakdown {
    display: grid;
    gap: 8px;
    margin-bottom: 10px;
}

.hamsaye-credit-breakdown div {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.hamsaye-credit-breakdown b {
    color: #17101f;
    font-weight: 900;
}

.hamsaye-checkout-summary {
    direction: rtl;
    text-align: right;
}

.hamsaye-checkout-summary .name {
    text-align: right;
}

.hamsaye-checkout-summary .about,
.hamsaye-checkout-summary .status,
.hamsaye-checkout-summary .price {
    direction: rtl;
    text-align: left;
}

.hamsaye-store-select-item .radio-label .checkmark {
    position: relative !important;
    display: grid !important;
    grid-template-columns: 46px minmax(0, 1fr) 26px !important;
    gap: 10px !important;
    align-items: center !important;
    direction: ltr !important;
    width: 100% !important;
    min-height: 74px !important;
    padding: 10px 0 !important;
}

.hamsaye-store-select-item .radio-label > input {
    position: absolute !important;
    inset-inline-start: auto !important;
    inset-inline-end: 0 !important;
    opacity: 0 !important;
    width: 24px !important;
    height: 24px !important;
    margin: 0 !important;
    pointer-events: none !important;
}

.hamsaye-store-select-item .checkmark .check {
    grid-column: 3 !important;
    grid-row: 1 !important;
    position: relative !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    transform: none !important;
    justify-self: end !important;
    align-self: center !important;
    display: block !important;
    width: 24px !important;
    height: 24px !important;
    border: 1px solid var(--primary) !important;
    border-radius: 50% !important;
    background: #fff !important;
    overflow: hidden !important;
}

.hamsaye-store-select-item .checkmark .check::after {
    top: 50% !important;
    left: 50% !important;
    width: 14px !important;
    height: 14px !important;
    border-radius: 50% !important;
    transform: translate(-50%, -50%) !important;
}

.hamsaye-store-select-item .checkmark .dz-icon {
    grid-column: 1 !important;
    grid-row: 1 !important;
    justify-self: start !important;
}

.hamsaye-store-select-item .checkmark .list-content {
    grid-column: 2 !important;
    grid-row: 1 !important;
    min-width: 0;
    direction: rtl !important;
}

.hamsaye-store-select-item .title,
.hamsaye-store-select-item .active-status,
.hamsaye-store-select-item .hamsaye-store-credit {
    text-align: right;
}

.hamsaye-order-tabs {
    border: 0;
    gap: 10px;
    margin-bottom: 18px;
}

.hamsaye-order-tabs .nav-link {
    border: 0;
    border-radius: 999px;
    background: #f3eefb;
    color: #6a5a74;
    font-weight: 800;
    padding: 10px 18px;
}

.hamsaye-order-tabs .nav-link.active {
    background: var(--primary);
    color: #fff;
}

.hamsaye-my-order-card {
    direction: rtl;
    text-align: right;
    flex-wrap: wrap;
}

.hamsaye-my-order-card .dz-media {
    width: 92px;
    min-width: 92px;
    height: 92px;
    border-radius: 16px;
    background: #f7f4fb;
    overflow: hidden;
}

.hamsaye-my-order-card .dz-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hamsaye-my-order-card .dz-meta {
    align-items: center;
    gap: 8px;
}

.hamsaye-my-order-price { margin-top: 6px !important; }

.hamsaye-my-order-actions {
    display: flex;
    flex: 0 0 100%;
    gap: 10px;
    align-items: center;
    margin-top: 12px;
}

.hamsaye-my-order-actions .btn {
    flex: 1 1 0;
    white-space: nowrap;
}

.hamsaye-my-orders-page .page-content { padding-bottom: 95px; }

.hamsaye-delivery-code {
    margin: 6px 0 0;
    color: #087b52;
    font-weight: 800;
}

.hamsaye-track-page .container {
    padding-left: 0;
    padding-right: 0;
}

.hamsaye-track-order {
    direction: ltr;
}

.hamsaye-store-map {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: #eef3f7;
}

.hamsaye-neshan-track-map,
.hamsaye-track-static-map {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hamsaye-neshan-track-map {
    z-index: 1;
}

.hamsaye-track-static-map {
    z-index: 0;
    object-fit: cover;
}

.hamsaye-store-map .leaflet-container {
    background: #eef3f7;
}

.hamsaye-map-tiles {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hamsaye-map-tile {
    position: fixed;
    width: 256px;
    height: 256px;
    display: block;
    max-width: none;
    user-select: none;
    -webkit-user-drag: none;
}

.hamsaye-track-order .dz-tracking {
    z-index: 2;
}

.hamsaye-store-map-placeholder {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: start center;
    padding-top: 18vh;
    color: #475467;
    font-size: 13px;
    text-align: center;
}

.hamsaye-store-pin {
    position: fixed;
    left: 50%;
    top: 33vh;
    z-index: 2;
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border: 3px solid #fff;
    border-radius: 50% 50% 50% 6px;
    background: #6f42ff;
    box-shadow: 0 10px 24px rgba(111, 66, 255, 0.36);
    transform: translate(-50%, -100%) rotate(-45deg);
}

.hamsaye-store-pin img {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    object-fit: contain;
    transform: rotate(45deg);
}

.hamsaye-track-order .delivery-man .inner-content {
    direction: ltr;
}

.hamsaye-track-order .delivery-man .icon-area {
    order: 1;
    margin-left: 0;
    margin-right: auto;
    direction: ltr;
    flex-direction: row;
}

.hamsaye-track-order .delivery-man .icon-cell {
    margin-left: 0;
    margin-right: 10px;
}

.hamsaye-track-order .delivery-man .dz-content {
    order: 2;
    text-align: right;
}

.hamsaye-track-order .delivery-man .dz-media {
    order: 3;
    margin-right: 0;
    margin-left: 14px;
}

.hamsaye-track-order .dz-tracking,
.hamsaye-track-order .fixed-content,
.hamsaye-track-order .info {
    direction: rtl;
    text-align: right;
}

.hamsaye-track-order .dz-track-list {
    position: relative;
}

.hamsaye-track-order .dz-track-list::after {
    left: auto !important;
    right: 23px !important;
    border-left-color: rgba(111, 66, 255, 0.72) !important;
    z-index: 0 !important;
}

.hamsaye-track-order .dz-track-list li {
    align-items: flex-start !important;
    position: relative;
    z-index: 1;
}

.hamsaye-track-order .dz-track-list li .icon-bx {
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    flex: 0 0 46px;
    margin-right: 0 !important;
    margin-left: 18px !important;
    border-width: 2px !important;
    border-style: solid !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    position: relative;
    z-index: 2;
    background-clip: padding-box;
}

.hamsaye-track-order .dz-track-list li .icon-bx::before {
    content: "";
    position: absolute;
    inset: -7px;
    border-radius: 999px;
    background: #fff;
    z-index: -1;
}

.hamsaye-track-order .dz-track-list li .icon-bx i,
.hamsaye-track-order .dz-track-list li .icon-bx .hamsaye-step-spinner {
    position: relative;
    z-index: 3;
}

.hamsaye-track-order .dz-track-list li .icon-bx.location {
    background: #dff4eb !important;
    border-color: #039855 !important;
    color: #039855 !important;
}

.hamsaye-track-order .dz-track-list li .icon-bx.location i {
    color: #039855 !important;
    font-size: 24px;
}

.hamsaye-track-order .dz-track-list li .info {
    flex: 1 1 auto;
    min-width: 0;
    padding-top: 5px;
}

.hamsaye-track-order .dz-track-list li p {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: normal;
    line-height: 1.75;
}

.hamsaye-track-order .delivery-man .dz-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hamsaye-track-order .dz-track-list li.active .icon-bx,
.hamsaye-track-step-done {
    border-color: #039855 !important;
    border-width: 2px !important;
    background: #e9f8f0 !important;
    color: #039855 !important;
}

.hamsaye-track-step-pending {
    border-color: #6f42ff !important;
    border-width: 2px !important;
    background: #f2edff !important;
}

.hamsaye-step-spinner {
    width: 16px;
    height: 16px;
    display: inline-block;
    border: 2px solid rgba(111, 66, 255, 0.20);
    border-top-color: #6f42ff;
    border-radius: 50%;
    animation: hamsayeSpinner .75s linear infinite;
}

.hamsaye-track-step-rejected,
.hamsaye-track-order .dz-track-list li.rejected .icon-bx {
    border-color: #f04438 !important;
    border-width: 2px !important;
    background: #fff1ef !important;
    color: #f04438 !important;
}

.hamsaye-track-order .dz-track-list li.rejected .title,
.hamsaye-track-order .dz-track-list li.rejected p,
.hamsaye-track-rejection .title,
.hamsaye-track-rejection p {
    color: #d92d20 !important;
}

.hamsaye-track-order .dz-track-list li.rejected {
    animation: hamsayeRejectedBlink 1s ease-in-out infinite;
}

.hamsaye-track-rejection {
    border-bottom-color: rgba(240, 68, 56, 0.14) !important;
}

@keyframes hamsayeSpinner {
    to {
        transform: rotate(360deg);
    }
}

@keyframes hamsayeRejectedBlink {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: .48;
    }
}

.hamsaye-receipt-total {
    direction: rtl;
    text-align: right;
}

.hamsaye-receipt-total .title,
.hamsaye-receipt-total .hamsaye-money {
    color: #fff !important;
}

.hamsaye-receipt-item {
    display: flex;
    align-items: center;
    gap: 10px;
    direction: rtl;
    text-align: right;
}

.hamsaye-receipt-item img {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    object-fit: cover;
    background: #f7f4fb;
}

.hamsaye-receipt-list .pts-bx {
    min-width: 110px;
    text-align: left;
}

.dz-card.list.hamsaye-product-card .dz-media {
    padding-bottom: 22px;
}

.dz-card.list.hamsaye-product-card .dz-media .dz-rating {
    bottom: 0;
    left: 14px;
}

.hamsaye-category-title {
    direction: rtl;
    text-align: right;
}

.hamsaye-category-title .title {
    text-align: right;
}

.hamsaye-clear-filter {
    border: 0;
    background: transparent;
    color: var(--primary);
    font-weight: 600;
    padding: 0;
}

.hamsaye-category-chip {
    width: 190px;
    min-height: 74px;
    border: 0;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    text-align: right;
    cursor: pointer;
    direction: rtl;
}

.hamsaye-category-chip.active .dz-categories-bx,
.hamsaye-category-chip.active {
    border-color: var(--primary);
}

.hamsaye-category-chip.active .dz-categories-bx,
.hamsaye-category-chip.active {
    box-shadow: 0 0 0 2px rgba(111, 66, 255, 0.14);
}

.hamsaye-category-chip .dz-content {
    direction: rtl;
    text-align: right;
    min-width: 0;
}

.hamsaye-category-chip .icon-bx {
    margin-right: 0;
    flex: 0 0 auto;
    order: 2;
}

.hamsaye-category-chip .dz-content {
    order: 1;
    flex: 1 1 auto;
}

.hamsaye-category-chip .title,
.hamsaye-category-chip .menus {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hamsaye-overlay-card {
    cursor: pointer;
}

.hamsaye-overlay-card .dz-media a {
    pointer-events: none;
}

.hamsaye-cart-badge {
    position: relative;
}

.hamsaye-cart-count {
    position: absolute;
    top: -7px;
    right: -8px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 999px;
    background: #ff8730;
    color: #fff;
    font-size: 11px;
    line-height: 18px;
    text-align: center;
    font-weight: 700;
}

.hamsaye-awaiting-products > * {
    display: none;
}

.hamsaye-awaiting-products::before {
    content: "در حال دریافت پکیج‌ها...";
    display: block;
    padding: 1.5rem 0;
    direction: rtl;
    text-align: center;
}

.hamsaye-awaiting-carousel .swiper-wrapper {
    display: none;
}

.hamsaye-awaiting-carousel::before {
    content: "در حال دریافت پکیج‌ها...";
    display: block;
    padding: 1.5rem 0;
    direction: rtl;
    text-align: center;
}

.hamsaye-detail-page,
.hamsaye-detail-page .header .title,
.hamsaye-detail-page .hamsaye-product-detail,
.hamsaye-detail-page .hamsaye-product-detail h1,
.hamsaye-detail-page .hamsaye-product-detail h2,
.hamsaye-detail-page .hamsaye-product-detail h3,
.hamsaye-detail-page .hamsaye-product-detail h4,
.hamsaye-detail-page .hamsaye-product-detail h5,
.hamsaye-detail-page .hamsaye-product-detail h6,
.hamsaye-detail-page .hamsaye-product-detail p,
.hamsaye-detail-page .hamsaye-product-detail span,
.hamsaye-detail-page .hamsaye-product-detail small,
.hamsaye-detail-page .hamsaye-product-detail strong,
.hamsaye-detail-page .hamsaye-product-detail div,
.hamsaye-detail-page .hamsaye-product-detail input,
.hamsaye-detail-page .hamsaye-product-detail button,
.hamsaye-detail-page .footer,
.hamsaye-detail-page .footer div,
.hamsaye-detail-page .footer a,
.hamsaye-detail-page .footer span,
.hamsaye-detail-page .noUi-value,
.hamsaye-detail-page .hamsaye-shop-toast,
.hamsaye-detail-page .hamsaye-shop-toast * {
    font-family: "IRANSansXFaNum", Tahoma, Arial, sans-serif !important;
    letter-spacing: 0 !important;
}

.hamsaye-detail-page .feather,
.hamsaye-detail-page [class^="icon-"],
.hamsaye-detail-page [class*=" icon-"] {
    font-family: "feather" !important;
}

.hamsaye-detail-page .fa,
.hamsaye-detail-page .far,
.hamsaye-detail-page .fas,
.hamsaye-detail-page [class^="fa-"],
.hamsaye-detail-page [class*=" fa-"] {
    font-family: "Font Awesome 6 Free" !important;
}

.hamsaye-detail-page .hamsaye-money {
    display: inline !important;
    direction: rtl !important;
    unicode-bidi: plaintext !important;
    white-space: nowrap !important;
    font-family: "IRANSansXFaNum", Tahoma, Arial, sans-serif !important;
}

.hamsaye-detail-page .hamsaye-rating-badge span,
.hamsaye-detail-page .hamsaye-discount-badge span {
    font-family: "IRANSansXFaNum", Tahoma, Arial, sans-serif !important;
    color: #fff !important;
    direction: ltr !important;
    line-height: 1 !important;
}

.hamsaye-detail-page .hamsaye-rating-badge,
.hamsaye-detail-page .hamsaye-discount-badge {
    position: static !important;
    inset: auto !important;
    display: inline-flex !important;
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    border-radius: 50% !important;
}

.hamsaye-detail-page .hamsaye-rating-badge {
    background: #ff8730 !important;
    box-shadow: 0 12px 28px rgba(255, 135, 48, 0.34) !important;
}

.hamsaye-detail-page .hamsaye-discount-badge {
    background: #2f80ed !important;
    box-shadow: 0 12px 28px rgba(47, 128, 237, 0.34) !important;
}

.hamsaye-detail-page .hamsaye-rating-badge span {
    font-size: 18px !important;
    font-weight: 900 !important;
    font-family: "IRANSansXFaNum", Tahoma, Arial, sans-serif !important;
}

.hamsaye-detail-page .hamsaye-rating-badge span b {
    font-family: "Segoe UI Symbol", "Segoe UI", Arial, sans-serif !important;
    font-size: 17px !important;
    font-weight: 900 !important;
    color: #fff !important;
    line-height: 1 !important;
}

.hamsaye-detail-page .hamsaye-discount-badge span {
    font-size: 17px !important;
    font-weight: 900 !important;
    font-family: "IRANSansXFaNum", Tahoma, Arial, sans-serif !important;
}

.hamsaye-detail-page .hamsaye-product-detail .detail-content {
    width: 100% !important;
    padding-inline: 0 !important;
    margin: 0 !important;
    direction: rtl !important;
    text-align: right !important;
}

.hamsaye-detail-page .hamsaye-product-detail .detail-content .title,
.hamsaye-detail-page .hamsaye-product-detail .detail-content p {
    width: 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
    direction: rtl !important;
    text-align: right !important;
}

.hamsaye-detail-page .hamsaye-sales-rate h6,
.hamsaye-detail-page .hamsaye-sales-rate-slider .noUi-value,
.hamsaye-detail-page .hamsaye-package-items h6,
.hamsaye-detail-page .hamsaye-package-discount,
.hamsaye-detail-page .hamsaye-detail-total,
.hamsaye-detail-page .hamsaye-detail-cart-btn {
    font-family: "IRANSansXFaNum", Tahoma, Arial, sans-serif !important;
    font-weight: 800 !important;
}

.dz-floting-sidebar .sidebar-header .app-logo img {
    max-width: 150px;
    max-height: 52px;
    object-fit: contain;
}

.dz-floting-sidebar .sidebar-header .app-logo.hamsaye-menu-brand {
    position: relative;
    width: 100%;
    height: 58px;
    overflow: hidden;
    margin-bottom: 18px !important;
    background: none !important;
}

.dz-floting-sidebar .sidebar-header .app-logo.hamsaye-menu-brand .hamsaye-menu-brand-image {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block !important;
    width: 338px !important;
    min-width: 338px !important;
    max-width: none !important;
    height: 52px !important;
    max-height: none !important;
    margin: 0 !important;
    object-fit: fill;
    transform: translate(-50%, -50%);
}

.hamsaye-home-mark {
    width: 28px;
    height: 24px;
    object-fit: contain;
    display: inline-block;
}

.dz-floting-sidebar .navbar-nav > li:first-child .dz-icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    background: url("../../../assets/img/logo-both-purpl.svg?v=20260712-2") center / 26px 26px no-repeat;
}

.dz-floting-sidebar .navbar-nav > li:first-child .dz-icon > * {
    display: none !important;
}

.menubar-area .menubar-nav > .nav-link:first-child {
    position: relative;
}

.menubar-area .menubar-nav > .nav-link:first-child > * {
    display: none !important;
}

.menubar-area .menubar-nav > .nav-link:first-child::before {
    content: "";
    width: 45px;
    height: 45px;
    margin: 0 auto;
    display: flex;
    flex: 0 0 45px;
    align-items: center;
    justify-content: center;
    background: url("../../../assets/img/logo-both-purpl.svg?v=20260712-2") center / 26px 30px no-repeat;
}

.hamsaye-header-credit {
    margin: 4px 0 0;
    color: #6236ff;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.hamsaye-header-credit-words {
    display: block;
    margin-top: 2px;
    color: #8a8196;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.5;
}

.dz-floting-sidebar .navbar-nav li > a.active {
    color: #6236ff !important;
    background: transparent !important;
    border-radius: 14px;
}

.dz-floting-sidebar .navbar-nav li > a.active .dz-icon,
.dz-floting-sidebar .navbar-nav li > a.active i {
    color: #6236ff !important;
}

.dz-floting-sidebar .hamsaye-menu-cart-bag {
    color: #bdbdbd;
}

.dz-floting-sidebar .hamsaye-menu-cart-bag path {
    fill: currentColor !important;
}

.dz-floting-sidebar .navbar-nav li > a.active .hamsaye-menu-cart-bag {
    color: #6236ff !important;
}

.hamsaye-track-page .hamsaye-track-order .dz-track-list > li > .icon-bx {
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    flex: 0 0 46px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 999px !important;
    border: 2px solid #6f42ff !important;
    background-color: #f2edff !important;
    box-shadow: 0 0 0 7px #fff !important;
    line-height: 1 !important;
    opacity: 1 !important;
}

.hamsaye-track-page .hamsaye-track-order .dz-track-list > li > .icon-bx.location {
    border-color: #039855 !important;
    background-color: #e9f8f0 !important;
    color: #039855 !important;
}

.hamsaye-track-page .hamsaye-track-order .dz-track-list > li.active > .icon-bx,
.hamsaye-track-page .hamsaye-track-order .dz-track-list > li > .hamsaye-track-step-done {
    border-color: #039855 !important;
    background-color: #e9f8f0 !important;
    color: #039855 !important;
}

.hamsaye-track-page .hamsaye-track-order .dz-track-list > li.rejected > .icon-bx,
.hamsaye-track-page .hamsaye-track-order .dz-track-list > li > .hamsaye-track-step-rejected {
    border-color: #f04438 !important;
    background-color: #fff1ef !important;
    color: #f04438 !important;
}

.hamsaye-track-page .hamsaye-track-order .dz-track-list > li > .icon-bx i {
    font-size: 17px !important;
    line-height: 1 !important;
}

.hamsaye-track-page .hamsaye-track-order .dz-track-list > li > .icon-bx.location i {
    font-size: 24px !important;
}

.hamsaye-track-rejection {
    display: none !important;
}

.hamsaye-track-page .hamsaye-track-order .dz-track-list {
    padding: 0 !important;
    margin: 0 !important;
    position: relative !important;
}

.hamsaye-track-page .hamsaye-track-order .dz-track-list::after {
    content: "" !important;
    position: absolute !important;
    right: 28px !important;
    left: auto !important;
    top: 5px !important;
    height: calc(100% - 10px) !important;
    width: 1px !important;
    border-left: 2px dashed rgba(111, 66, 255, 0.85) !important;
    z-index: -1 !important;
    opacity: 1 !important;
}

.hamsaye-track-page .hamsaye-track-order .dz-track-list > li {
    display: flex !important;
    align-items: center !important;
    gap: 0 !important;
    min-height: 0 !important;
    margin-bottom: 30px !important;
    position: relative !important;
    z-index: 2 !important;
}

.hamsaye-track-page .hamsaye-track-order .dz-track-list > li:last-child {
    margin-bottom: 0 !important;
}

.hamsaye-track-page .hamsaye-track-order .dz-track-list > li > .icon-bx,
.hamsaye-track-page .hamsaye-track-order .dz-track-list > li > .icon-bx.hamsaye-track-step-done,
.hamsaye-track-page .hamsaye-track-order .dz-track-list > li > .icon-bx.hamsaye-track-step-pending,
.hamsaye-track-page .hamsaye-track-order .dz-track-list > li > .icon-bx.hamsaye-track-step-rejected,
.hamsaye-track-page .hamsaye-track-order .dz-track-list > li > .icon-bx.location {
    width: 58px !important;
    height: 58px !important;
    min-width: 58px !important;
    flex: 0 0 58px !important;
    margin: 0 0 0 20px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50px !important;
    border-width: 1px !important;
    border-style: solid !important;
    box-sizing: border-box !important;
    position: relative !important;
    z-index: 3 !important;
    opacity: 1 !important;
    line-height: 58px !important;
    overflow: hidden !important;
    transform: none !important;
}

.hamsaye-track-page .hamsaye-track-order .dz-track-list > li > .icon-bx::before {
    content: none !important;
    display: none !important;
}

.hamsaye-track-page .hamsaye-track-order .dz-track-list > li > .icon-bx::after {
    content: none !important;
    display: none !important;
}

.hamsaye-track-page .hamsaye-track-order .dz-track-list > li.hamsaye-track-item-done > .icon-bx,
.hamsaye-track-page .hamsaye-track-order .dz-track-list > li > .hamsaye-track-step-done {
    border-color: #039855 !important;
    background-color: #e9f8f0 !important;
    color: #039855 !important;
}

.hamsaye-track-page .hamsaye-track-order .dz-track-list > li.hamsaye-track-item-rejected > .icon-bx,
.hamsaye-track-page .hamsaye-track-order .dz-track-list > li > .hamsaye-track-step-rejected {
    border-color: #ff6b63 !important;
    background-color: #fff2f1 !important;
    color: #ff6b63 !important;
}

.hamsaye-track-page .hamsaye-track-order .dz-track-list > li.hamsaye-track-item-pending > .icon-bx,
.hamsaye-track-page .hamsaye-track-order .dz-track-list > li > .hamsaye-track-step-pending {
    border-color: #6f42ff !important;
    background-color: #f3efff !important;
    color: #6f42ff !important;
}

.hamsaye-track-page .hamsaye-track-order .dz-track-list > li:first-child > .icon-bx.location {
    border-color: #d9ede6 !important;
    background-color: #d9ede6 !important;
    color: #039855 !important;
}

.hamsaye-track-page .hamsaye-track-order .dz-track-list > li > .icon-bx i {
    display: block !important;
    font-size: 20px !important;
    line-height: 1 !important;
    color: currentColor !important;
}

.hamsaye-track-page .hamsaye-track-order .dz-track-list > li:first-child > .icon-bx.location i {
    font-size: 26px !important;
    font-weight: 700 !important;
}

.hamsaye-track-page .hamsaye-track-order .dz-track-list > li > .info {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    padding-top: 0 !important;
    position: relative !important;
    z-index: 2 !important;
}

.dz-floting-sidebar .dz-icon {
    position: relative;
}

.hamsaye-order-icon-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    line-height: 1;
}

.menubar-area .menubar-nav {
    direction: ltr !important;
    flex-direction: row !important;
}

.menubar-area .menubar-nav .nav-link .hamsaye-order-icon-wrap {
    position: relative;
    display: flex !important;
    width: 45px;
    height: 45px;
    margin: 0 auto;
    align-items: center;
    justify-content: center;
}

.menubar-area .menubar-nav .nav-link .hamsaye-order-icon-wrap > i {
    margin: 0;
}

.menubar-area .menubar-nav .nav-link.active .hamsaye-order-icon-wrap {
    color: #fff;
}

.hamsaye-pending-order-badge {
    position: absolute;
    top: -1px;
    right: -1px;
    z-index: 4;
    box-sizing: border-box;
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    width: 18px;
    height: 18px;
    padding: 0;
    border: 2px solid #fff;
    border-radius: 999px;
    background: #ff3b5c;
    color: #fff;
    font-size: 10px;
    line-height: 1;
    text-align: center;
    font-family: inherit;
}

.hamsaye-pending-order-badge.d-none {
    display: none !important;
}

/* ORDER-TRACKING-RESPONSIVE-001 */
:root {
    --bottom-nav-height: 0px;
    --tracking-header-height: 64px;
}

.hamsaye-track-root,
body.hamsaye-track-page {
    width: 100%;
    min-height: 100dvh;
    height: auto !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior-y: contain;
}

.hamsaye-track-page .page-wrapper {
    width: 100%;
    min-height: 100dvh;
    height: auto !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
}

.hamsaye-track-page .page-content {
    min-height: 0;
    height: auto !important;
    overflow: visible !important;
    padding-bottom: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom) + 16px) !important;
}

.hamsaye-track-page #hamsayeTrackOrderPage,
.hamsaye-track-page .hamsaye-track-order,
.hamsaye-track-page .location-tracking {
    width: 100%;
    min-width: 0;
    min-height: 0;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

.hamsaye-track-page .hamsaye-track-order {
    display: flex;
    flex-direction: column;
    padding-top: clamp(160px, 32dvh, 300px);
}

.hamsaye-track-page .hamsaye-track-order .dz-tracking {
    position: relative !important;
    inset: auto !important;
    width: 100%;
    min-height: 0;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

.hamsaye-track-page .hamsaye-track-order .fixed-content {
    min-height: 0;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    padding-bottom: calc(env(safe-area-inset-bottom) + 24px);
}

.hamsaye-track-page .hamsaye-track-order .dz-track-list,
.hamsaye-track-page .hamsaye-track-order .dz-track-list > li,
.hamsaye-track-page .hamsaye-track-order .dz-track-list > li > .info {
    min-height: 0;
    height: auto !important;
    max-height: none !important;
}

.hamsaye-track-page .hamsaye-seller-order-invoice,
.hamsaye-track-page .hamsaye-seller-order-invoice .card-body {
    min-width: 0;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

.hamsaye-track-page .hamsaye-seller-order-invoice .table-responsive {
    max-width: 100%;
    overflow-x: hidden;
}

.hamsaye-track-page .hamsaye-seller-order-invoice table {
    width: 100%;
    table-layout: fixed;
}

.hamsaye-track-page .hamsaye-seller-order-invoice th,
.hamsaye-track-page .hamsaye-seller-order-invoice td {
    min-width: 0;
    padding: 6px 3px;
    overflow-wrap: anywhere;
    white-space: normal;
    font-size: clamp(9px, 2.8vw, 13px);
}

@media (orientation: landscape) and (max-height: 500px) {
    .hamsaye-track-page .hamsaye-track-order {
        padding-top: 96px;
    }
}

/* PHASE-11 tracking summary and mobile order sheet */
.hamsaye-track-page .hamsaye-track-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
    padding: 14px 16px;
    border-radius: 16px;
    background: #f5f1ff;
}

.hamsaye-track-page .hamsaye-track-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 22px;
}

.hamsaye-track-page .hamsaye-track-actions .btn {
    min-width: 0;
    white-space: normal;
}

.hamsaye-order-sheet {
    position: fixed;
    inset: 0;
    z-index: 1090;
    display: none;
    overflow: hidden;
}

.hamsaye-order-sheet.is-open {
    display: block;
}

.hamsaye-order-sheet-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    border: 0;
    background: rgba(21, 14, 38, .48);
}

.hamsaye-order-sheet-panel {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    width: min(100%, 640px);
    max-height: 85dvh;
    margin-inline: auto;
    overflow: hidden;
    border-radius: 24px 24px 0 0;
    background: #fff;
}

.hamsaye-order-sheet-header {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px;
    border-bottom: 1px solid #eee9f7;
}

.hamsaye-order-sheet-header h5 {
    margin: 0;
}

.hamsaye-order-sheet-header .btn-close {
    box-sizing: border-box;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 12px;
    background-size: 14px;
}

.hamsaye-order-sheet-body {
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 14px 14px calc(env(safe-area-inset-bottom) + 16px);
    overscroll-behavior: contain;
}

body.hamsaye-sheet-open {
    overflow: hidden !important;
}

.hamsaye-order-sheet-item {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) minmax(90px, auto);
    align-items: center;
    gap: 10px;
    padding: 12px 0;
    border-bottom: 1px solid #eee9f7;
}

.hamsaye-order-sheet-item img {
    width: 58px;
    height: 58px;
    border-radius: 12px;
    object-fit: cover;
}

.hamsaye-order-sheet-item small,
.hamsaye-order-sheet-item-total span {
    display: block;
    margin-top: 4px;
    color: #81788e;
    font-size: 11px;
}

.hamsaye-order-sheet-item-total {
    min-width: 0;
    text-align: left;
}

.hamsaye-order-sheet-item-total label {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    font-size: 11px;
}

.hamsaye-order-sheet-item-total input {
    width: 64px;
}

.hamsaye-order-financials {
    margin: 14px 0 0;
}

.hamsaye-order-financials > div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
}

.hamsaye-order-financials dt,
.hamsaye-order-financials dd {
    margin: 0;
}

.hamsaye-order-sheet-footer {
    position: sticky;
    bottom: calc(-1 * (env(safe-area-inset-bottom) + 16px));
    padding: 12px 0 calc(env(safe-area-inset-bottom) + 16px);
    background: #fff;
}

@media (max-width: 360px) {
    .hamsaye-track-page .hamsaye-track-actions {
        grid-template-columns: 1fr;
    }

    .hamsaye-order-sheet-item {
        grid-template-columns: 48px minmax(0, 1fr);
    }

    .hamsaye-order-sheet-item img {
        width: 48px;
        height: 48px;
    }

    .hamsaye-order-sheet-item-total {
        grid-column: 2;
        text-align: right;
    }
}

/* Ombe tracking layout: fixed viewport, real map and scrollable detail sheet */
html.hamsaye-track-root,
body.hamsaye-track-page {
    width: 100%;
    height: 100dvh !important;
    min-height: 100vh;
    overflow: hidden !important;
    overscroll-behavior: none;
}

.hamsaye-track-page .page-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100dvh !important;
    min-height: 100vh;
    overflow: hidden !important;
}

.hamsaye-track-page .header-fixed {
    z-index: 110;
    flex: 0 0 var(--tracking-header-height);
    height: var(--tracking-header-height);
    min-height: var(--tracking-header-height);
    box-sizing: border-box;
    right: 0;
    left: 0;
    width: 100%;
    max-width: none;
}

.hamsaye-track-page .header-fixed .header-content {
    height: 100%;
    min-height: var(--tracking-header-height);
}

.hamsaye-track-page .page-content {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    min-height: 0;
    height: auto !important;
    padding: var(--tracking-header-height) 0 0 !important;
    overflow: hidden !important;
}

.hamsaye-track-page .page-content > .container,
.hamsaye-track-page #hamsayeTrackOrderPage {
    display: flex;
    flex: 1 1 auto;
    width: 100%;
    max-width: none;
    min-width: 0;
    min-height: 0;
    height: 100% !important;
    padding: 0 !important;
    overflow: hidden !important;
}

.hamsaye-track-page .track-order-page,
.hamsaye-track-page .hamsaye-track-order,
.hamsaye-track-page .location-tracking {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    min-height: 0;
    height: 100% !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

.hamsaye-track-page .track-order-map,
.hamsaye-track-page .hamsaye-store-map {
    position: relative !important;
    inset: auto !important;
    z-index: 0;
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    min-height: 0;
    height: auto !important;
    overflow: hidden;
    pointer-events: auto;
    background: #eef3f7;
}

.hamsaye-track-page .hamsaye-neshan-track-map,
.hamsaye-track-page .hamsaye-track-static-map {
    position: absolute !important;
    inset: 0 !important;
    width: 100%;
    height: 100%;
}

.hamsaye-track-page .hamsaye-track-static-map {
    object-fit: cover;
}

.hamsaye-track-page .hamsaye-neshan-track-map {
    z-index: 1;
}

.hamsaye-track-page .hamsaye-store-pin-fallback {
    position: absolute;
    right: 50%;
    bottom: 7px;
    z-index: 4;
    width: 42px;
    height: 50px;
    transform: translateX(50%);
    filter: drop-shadow(0 5px 8px rgba(56, 26, 112, .28));
}

.hamsaye-track-page .hamsaye-store-pin-fallback img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hamsaye-track-page .hamsaye-store-map.is-leaflet-ready .hamsaye-store-pin-fallback {
    display: none;
}

.hamsaye-track-page .hamsaye-open-neshan-map {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    max-width: calc(100% - 24px);
    min-height: 44px;
    padding: 9px 13px;
    border: 1px solid rgba(98, 54, 255, .16);
    border-radius: 13px;
    background: rgba(255, 255, 255, .96);
    color: #6236ff;
    box-shadow: 0 5px 16px rgba(29, 16, 55, .16);
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.hamsaye-track-page .hamsaye-open-neshan-map:hover,
.hamsaye-track-page .hamsaye-open-neshan-map:focus-visible {
    color: #4f25dc;
    background: #fff;
}

.hamsaye-map-order-card,
.hamsaye-track-page .location-tracking .hamsaye-map-order-card {
    position: absolute;
    top: auto;
    right: 50%;
    bottom: 28px;
    left: auto;
    z-index: 5;
    display: block;
    width: min(336px, calc(100% - 24px));
    max-width: calc(100% - 24px);
    padding: 12px;
    direction: rtl;
    transform: translateX(50%);
    border: 1px solid rgba(98, 54, 255, .1);
    border-radius: 18px;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 10px 30px rgba(29, 16, 55, .2);
    backdrop-filter: blur(8px);
}

.hamsaye-map-order-card.map-tooltip::after {
    top: auto;
    right: 50%;
    bottom: -7px;
    left: auto;
    width: 16px;
    height: 16px;
    transform: translateX(50%) rotate(45deg);
    box-shadow: 4px 4px 8px rgba(0, 0, 0, .08);
}

.hamsaye-map-order-card-head,
.hamsaye-map-order-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.hamsaye-map-order-card-head > div {
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.hamsaye-map-order-card-head small,
.hamsaye-map-order-total span {
    color: #81788e;
    font-size: 11px;
}

.hamsaye-map-order-card-head > span {
    max-width: 60%;
    padding: 4px 8px;
    overflow: hidden;
    border-radius: 999px;
    background: #f2edff;
    color: #6236ff;
    font-size: 10px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hamsaye-map-order-total {
    margin-top: 7px;
}

.hamsaye-map-order-total b {
    color: #211633;
    font-size: 14px;
}

.hamsaye-map-order-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 10px;
}

.hamsaye-map-order-actions .btn {
    flex: 1 1 118px;
    min-width: 0;
    min-height: 44px;
    padding: 8px 10px;
    border-radius: 12px;
    font-size: 11px;
    line-height: 1.35;
    white-space: normal;
}

.hamsaye-track-page .leaflet-popup-content-wrapper,
.hamsaye-track-page .leaflet-popup-content {
    padding: 0;
    border-radius: 18px;
    background: transparent;
    box-shadow: none;
}

.hamsaye-track-page .leaflet-popup-content {
    width: min(336px, calc(100vw - 24px)) !important;
    margin: 0;
}

.hamsaye-track-page .leaflet-popup-content .hamsaye-map-order-card {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: 100%;
    max-width: none;
    transform: none;
}

.hamsaye-track-page .leaflet-popup-content .hamsaye-map-order-card::after {
    content: none;
}

.hamsaye-track-page .leaflet-popup-tip {
    background: #fff;
}

.hamsaye-leaflet-store-marker {
    border: 0;
    background: transparent;
}

.hamsaye-leaflet-store-marker span {
    display: grid;
    width: 48px;
    height: 52px;
    place-items: center;
    border-radius: 24px 24px 24px 5px;
    background: #6236ff;
    box-shadow: 0 7px 16px rgba(64, 30, 137, .35);
    transform: rotate(-45deg);
}

.hamsaye-leaflet-store-marker img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    transform: rotate(45deg);
}

.hamsaye-track-page .hamsaye-store-map-placeholder {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
    gap: 5px;
    padding: 20px 16px 170px;
    color: #475467;
    text-align: center;
}

.hamsaye-track-page .hamsaye-store-map-placeholder i {
    color: #6236ff;
    font-size: 28px;
}

.hamsaye-track-page .hamsaye-store-map-placeholder strong {
    color: #211633;
    font-size: 13px;
}

.hamsaye-track-page .hamsaye-store-map-placeholder span {
    max-width: 290px;
    font-size: 11px;
    line-height: 1.7;
}

.hamsaye-track-page .track-order-status-panel,
.hamsaye-track-page .hamsaye-track-order .dz-tracking {
    position: relative !important;
    inset: auto !important;
    z-index: 8;
    flex: 0 0 auto;
    width: 100%;
    min-width: 0;
    min-height: 0;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    direction: rtl;
}

.hamsaye-track-page .track-order-status-panel .delivery-man {
    min-height: 70px;
    margin: 0 auto -15px;
    padding: 10px 16px 25px;
    border-radius: 25px 25px 0 0;
}

.hamsaye-track-page .track-order-status-panel .delivery-man .inner-content {
    min-width: 0;
}

.hamsaye-track-page .track-order-status-panel .delivery-man .dz-media {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    margin: 0 0 0 10px;
}

.hamsaye-track-page .track-order-status-panel .hamsaye-track-contact-avatar {
    display: block;
    overflow: hidden;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
    object-fit: cover;
}

.hamsaye-track-page .track-order-status-panel .delivery-man .dz-content {
    min-width: 0;
}

.hamsaye-track-page .track-order-status-panel .delivery-man .title,
.hamsaye-track-page .track-order-status-panel .delivery-man p {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hamsaye-track-page .track-order-status-panel .delivery-man .title {
    margin-bottom: 2px;
    font-size: 13px;
}

.hamsaye-track-page .track-order-status-panel .delivery-man p {
    font-size: 11px;
}

.hamsaye-track-page .track-order-status-panel .delivery-man .icon-area {
    flex: 0 0 auto;
    margin: 0 auto 0 0;
}

.hamsaye-track-page .track-order-status-panel .delivery-man .icon-cell {
    display: grid;
    width: 42px;
    height: 42px;
    margin: 0 6px 0 0;
    place-items: center;
    border-radius: 50%;
    font-size: 19px;
    line-height: 42px;
}

.hamsaye-track-page .track-order-status-panel .fixed-content {
    min-height: 0;
    height: auto !important;
    max-height: none !important;
    padding: 22px 16px calc(env(safe-area-inset-bottom) + 12px) !important;
    overflow: hidden !important;
    border-radius: 24px 24px 0 0;
}

.hamsaye-track-page .hamsaye-track-two-state-list {
    margin: 0 !important;
    padding: 0 !important;
}

.hamsaye-track-page .hamsaye-track-two-state-list::after {
    right: 19px !important;
    top: 20px !important;
    height: calc(100% - 40px) !important;
}

.hamsaye-track-page .hamsaye-track-two-state-list > li {
    min-height: 40px !important;
    margin: 0 0 8px !important;
    align-items: center !important;
}

.hamsaye-track-page .hamsaye-track-two-state-list > li:last-child {
    margin-bottom: 0 !important;
}

.hamsaye-track-page .hamsaye-track-two-state-list > li > .icon-bx,
.hamsaye-track-page .hamsaye-track-two-state-list > li > .icon-bx.hamsaye-track-step-done,
.hamsaye-track-page .hamsaye-track-two-state-list > li > .icon-bx.hamsaye-track-step-pending,
.hamsaye-track-page .hamsaye-track-two-state-list > li > .icon-bx.hamsaye-track-step-rejected {
    flex: 0 0 40px !important;
    width: 40px !important;
    min-width: 40px !important;
    height: 40px !important;
    margin: 0 0 0 12px !important;
    border-width: 1px !important;
    line-height: 40px !important;
    box-shadow: 0 0 0 4px #fff !important;
}

.hamsaye-track-page .hamsaye-track-two-state-list > li > .icon-bx i {
    font-size: 16px !important;
}

.hamsaye-track-page .hamsaye-track-two-state-list .hamsaye-track-state-done > .icon-bx {
    border-color: #039855 !important;
    background: #e9f8f0 !important;
    color: #039855 !important;
}

.hamsaye-track-page .hamsaye-track-two-state-list .hamsaye-track-state-next > .icon-bx {
    border-color: #6236ff !important;
    background: #f2edff !important;
    color: #6236ff !important;
}

.hamsaye-track-page .hamsaye-track-two-state-list .hamsaye-track-state-terminal > .icon-bx {
    border-color: #f04438 !important;
    background: #fff1ef !important;
    color: #f04438 !important;
}

.hamsaye-track-page .hamsaye-track-two-state-list .hamsaye-track-state-terminal .title,
.hamsaye-track-page .hamsaye-track-two-state-list .hamsaye-track-state-terminal p {
    color: #b42318 !important;
}

.hamsaye-track-page .hamsaye-track-two-state-list .info .title {
    margin: 0 0 2px;
    font-size: 13px;
    font-weight: 700;
}

.hamsaye-track-page .hamsaye-track-two-state-list .info p {
    margin: 0;
    color: #81788e;
    font-size: 10px;
    line-height: 1.45;
}

.hamsaye-order-sheet {
    z-index: 1300;
}

.hamsaye-order-sheet-panel {
    width: min(100%, 680px);
    height: auto;
    max-height: 85dvh;
    padding-bottom: env(safe-area-inset-bottom);
    direction: rtl;
}

.hamsaye-order-sheet-header {
    padding: 14px 16px;
}

.hamsaye-order-sheet-header > div {
    min-width: 0;
}

.hamsaye-order-sheet-header small {
    display: block;
    margin-bottom: 2px;
    color: #81788e;
    font-size: 10px;
}

.hamsaye-order-sheet-body {
    flex: 1 1 auto;
    min-height: 0;
    padding: 14px 14px calc(env(safe-area-inset-bottom) + 14px);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.hamsaye-order-sheet-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 12px;
}

.hamsaye-order-sheet-summary > div {
    min-width: 0;
    padding: 9px 10px;
    border-radius: 12px;
    background: #f7f4fc;
}

.hamsaye-order-sheet-summary span,
.hamsaye-order-sheet-summary strong {
    display: block;
    overflow-wrap: anywhere;
}

.hamsaye-order-sheet-summary span {
    margin-bottom: 3px;
    color: #81788e;
    font-size: 10px;
}

.hamsaye-order-sheet-summary strong {
    color: #211633;
    font-size: 11px;
}

.hamsaye-order-sheet .hamsaye-order-sheet-item {
    display: block !important;
    padding: 12px 0;
}

.hamsaye-order-sheet-item-main {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
}

.hamsaye-order-sheet-item-main > img {
    width: 58px;
    height: 58px;
    border-radius: 12px;
    object-fit: cover;
}

.hamsaye-order-sheet-item-main strong,
.hamsaye-order-sheet-item-main small {
    display: block;
}

.hamsaye-order-sheet-item-main small {
    margin-top: 3px;
    color: #81788e;
    font-size: 10px;
    line-height: 1.5;
}

.hamsaye-order-sheet .hamsaye-order-sheet-item-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 10px;
    text-align: right;
}

.hamsaye-order-quantity {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
}

.hamsaye-order-quantity button,
.hamsaye-order-quantity input {
    display: grid;
    width: 44px;
    min-width: 44px;
    height: 44px;
    padding: 0;
    place-items: center;
    border: 1px solid #ddd5eb;
    border-radius: 11px;
    background: #fff;
    color: #6236ff;
    text-align: center;
}

.hamsaye-order-quantity input {
    color: #211633;
    font-weight: 700;
    appearance: textfield;
}

.hamsaye-order-quantity input::-webkit-outer-spin-button,
.hamsaye-order-quantity input::-webkit-inner-spin-button {
    margin: 0;
    appearance: none;
}

.hamsaye-order-quantity .hamsaye-order-remove-item {
    width: auto;
    padding: 0 10px;
    border-color: #ffd2cc;
    color: #d92d20;
}

.hamsaye-order-components {
    margin: 10px 0 0;
    padding: 8px;
    border-radius: 12px;
    background: #faf9fc;
}

.hamsaye-order-component {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) minmax(76px, auto);
    align-items: center;
    gap: 7px;
    padding: 6px 0;
    border-bottom: 1px solid #eee9f7;
}

.hamsaye-order-component:last-child {
    border-bottom: 0;
}

.hamsaye-order-sheet .hamsaye-order-component > img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: cover;
}

.hamsaye-order-component strong,
.hamsaye-order-component small,
.hamsaye-order-component span {
    display: block;
    overflow-wrap: anywhere;
    font-size: 9px;
}

.hamsaye-order-component small {
    color: #81788e;
}

.hamsaye-order-component > div:last-child {
    text-align: left;
}

.hamsaye-order-edit-preview {
    margin-top: 12px;
    padding: 11px 12px;
    border-radius: 13px;
    background: #f2edff;
}

.hamsaye-order-edit-preview span,
.hamsaye-order-edit-preview strong {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.hamsaye-order-edit-preview p {
    margin: 7px 0 0;
    color: #d92d20;
    font-size: 11px;
}

.hamsaye-order-sheet-footer {
    bottom: calc(-1 * (env(safe-area-inset-bottom) + 14px));
    z-index: 2;
    padding: 10px 0 calc(env(safe-area-inset-bottom) + 14px);
}

.hamsaye-order-sheet-footer .btn {
    min-height: 46px;
}

.hamsaye-confirm-modal {
    position: fixed;
    inset: 0;
    z-index: 1320;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
    direction: rtl;
}

.hamsaye-confirm-modal.is-open {
    display: flex;
}

.hamsaye-confirm-modal-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    border: 0;
    background: rgba(21, 14, 38, .52);
}

.hamsaye-confirm-modal-panel {
    position: relative;
    z-index: 1;
    width: min(100%, 420px);
    padding: 20px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 18px 46px rgba(27, 14, 55, .28);
}

.hamsaye-confirm-modal-panel h5 {
    margin: 0 0 10px;
}

.hamsaye-confirm-modal-panel p {
    margin: 0;
    color: #625a6d;
    font-size: 13px;
    line-height: 1.9;
}

.hamsaye-confirm-modal-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin-top: 18px;
}

.hamsaye-confirm-modal-actions .btn {
    min-height: 44px;
    white-space: normal;
}

@media (max-width: 359px) {
    .hamsaye-track-page .hamsaye-leaflet-order-popup .leaflet-popup-content-wrapper,
    .hamsaye-track-page .hamsaye-leaflet-order-popup .leaflet-popup-tip-container {
        transform: translateY(4px);
    }

    .hamsaye-map-order-card {
        width: calc(100% - 16px);
        max-width: calc(100% - 16px);
        padding: 9px;
    }

    .hamsaye-map-order-actions .btn {
        flex-basis: 108px;
        min-height: 44px;
        padding: 7px 8px;
        font-size: 10px;
    }

    .hamsaye-track-page .track-order-status-panel .delivery-man {
        padding-right: 12px;
        padding-left: 12px;
    }

    .hamsaye-track-page .track-order-status-panel .delivery-man .icon-cell {
        width: 38px;
        height: 38px;
        line-height: 38px;
    }

    .hamsaye-track-page .track-order-status-panel .fixed-content {
        padding-right: 12px !important;
        padding-left: 12px !important;
    }

    .hamsaye-order-sheet-summary {
        gap: 6px;
    }

    .hamsaye-order-sheet-summary > div {
        padding: 8px;
    }

    .hamsaye-order-sheet .hamsaye-order-sheet-item-total {
        align-items: flex-start;
        flex-direction: column;
    }

    .hamsaye-order-quantity {
        justify-content: flex-start;
    }
}

@media (orientation: landscape) and (max-height: 500px) {
    :root {
        --tracking-header-height: 54px;
    }

    .hamsaye-track-page .track-order-page,
    .hamsaye-track-page .hamsaye-track-order {
        flex-direction: row;
    }

    .hamsaye-track-page .track-order-map {
        flex: 1 1 auto;
        width: auto !important;
        height: 100% !important;
    }

    .hamsaye-track-page .track-order-status-panel {
        display: flex;
        flex: 0 0 42vw;
        flex-direction: column;
        width: 42vw !important;
        max-width: 360px;
        height: 100% !important;
    }

    .hamsaye-track-page .track-order-status-panel .delivery-man {
        width: 100%;
        min-height: 64px;
        padding-top: 7px;
        border-radius: 22px 0 0 0;
    }

    .hamsaye-track-page .track-order-status-panel .fixed-content {
        display: flex;
        flex: 1 1 auto;
        align-items: center;
        width: 100%;
        border-radius: 22px 0 0 0;
    }

    .hamsaye-track-page .hamsaye-track-two-state-list {
        width: 100%;
    }

    .hamsaye-map-order-card {
        width: min(280px, calc(100% - 16px));
        max-width: calc(100% - 16px);
        bottom: 14px;
        padding: 9px;
    }

    .hamsaye-map-order-actions .btn {
        min-height: 44px;
    }
}

/* Mobile catalog contract: covers the pilot widths from 320px through 430px. */
@media (max-width: 430px) {
    .featured-list,
    .featured-list > li {
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    .dz-card.list.hamsaye-product-card {
        display: grid;
        grid-template-columns: clamp(78px, 23vw, 96px) minmax(0, 1fr);
        align-items: start;
        gap: 12px;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        direction: rtl;
        overflow: hidden;
    }

    .dz-card.list.hamsaye-product-card .dz-media {
        width: 100%;
        min-width: 0;
        max-width: 96px;
        margin: 0;
        padding-bottom: 20px;
    }

    .dz-card.list.hamsaye-product-card .dz-media .hamsaye-product-image {
        width: 100%;
        height: auto;
        aspect-ratio: 112 / 132;
    }

    .dz-card.list.hamsaye-product-card .dz-media .dz-rating {
        right: 4px;
        left: auto;
        padding: 4px 9px;
        white-space: nowrap;
    }

    .dz-card.list.hamsaye-product-card .dz-content,
    .dz-card.list.hamsaye-product-card .dz-head {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        padding-right: 0;
    }

    .dz-card.list.hamsaye-product-card .hamsaye-card-actions {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px;
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    .dz-card.list.hamsaye-product-card .hamsaye-card-price .dz-price {
        font-size: clamp(12px, 3.8vw, 16px);
    }

    .dz-card.list.hamsaye-product-card .hamsaye-card-discount .dz-pts {
        font-size: 15px;
    }

    .dz-card.list.hamsaye-product-card .hamsaye-card-cta {
        grid-column: 1 / -1;
        justify-self: stretch;
        width: 100%;
    }

    .dz-card.list.hamsaye-product-card .hamsaye-cart-btn {
        width: 100%;
        min-width: 44px;
        min-height: 44px;
        white-space: normal;
    }

    .hamsaye-package-item {
        grid-template-columns: 58px minmax(0, 1fr);
        align-items: start;
    }

    .hamsaye-package-discount {
        grid-column: 2;
        justify-self: start;
    }
}

@media (max-width: 360px) {
    .hamsaye-product-detail .dz-meta-items {
        grid-template-columns: minmax(0, 1fr);
        align-items: start;
    }

    .hamsaye-product-detail .dz-quantity {
        justify-self: start;
    }
}

@media (max-width: 340px) {
    .dz-card.list.hamsaye-product-card .hamsaye-card-actions {
        grid-template-columns: minmax(0, 1fr);
    }

    .dz-card.list.hamsaye-product-card .hamsaye-card-discount,
    .dz-card.list.hamsaye-product-card .hamsaye-card-cta {
        grid-column: 1;
        justify-self: stretch;
    }

    .hamsaye-package-retail {
        grid-template-columns: minmax(0, 1fr);
    }

    .hamsaye-package-retail > strong {
        justify-self: start;
    }
}

.hamsaye-availability {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    margin-top: 7px;
    padding: 5px 9px;
    border-radius: 999px;
    color: #44546f;
    background: #eef2f7;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.45;
}

.hamsaye-availability.is-available {
    color: #19733f;
    background: #e7f6ed;
}

.hamsaye-availability.is-out-of-stock {
    color: #a12622;
    background: #fdebea;
}

.hamsaye-availability.is-temporary {
    color: #8a5b08;
    background: #fff3d6;
}

.hamsaye-overlay-card .hamsaye-availability {
    margin: 6px auto 2px;
}

.hamsaye-real-cart-item .hamsaye-availability,
.dz-product-detail .description .hamsaye-availability {
    margin-bottom: 10px;
}

.hamsaye-cart-btn:disabled,
.hamsaye-detail-cart-btn.disabled,
#hamsayeCartCheckoutButton.disabled,
#hamsayeSubmitCheckoutOrder.disabled {
    opacity: .58;
