: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 .mini-cart-header > a,
.detailstore-public .login-link {
    text-decoration: none;
}

.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;
}

.detailstore-public footer .footer-social .social-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    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;
}

.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;
}

@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 .storefront-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) {
    .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;
}

@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;
}

.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;
}

.detailstore-public .product-detail-template .product-params li span:last-child {
    color: #394150;
}

.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 .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 .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 #address-info-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    overflow: auto;
    background: rgba(15, 23, 42, .48);
    padding: 20px;
    direction: rtl;
    text-align: right;
}

.detailstore-checkout-payment #address-info-modal.flex {
    display: flex !important;
}

.detailstore-checkout-payment #address-info-modal.hidden {
    display: none !important;
}

.detailstore-checkout-payment #address-info-modal > .relative {
    width: min(760px, 100%);
    max-height: calc(100vh - 40px);
}

.detailstore-checkout-payment #address-info-modal > .relative > div {
    overflow: hidden;
    border: 1px solid #e5eaf1;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .22);
}

.detailstore-checkout-payment #address-info-modal > .relative > div > div:first-child {
    padding: 16px 22px !important;
}

.detailstore-checkout-payment #address-info-modal > .relative > div > div:first-child > .flex {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    min-height: 28px;
}

.detailstore-checkout-payment #address-info-modal h3 {
    margin: 0;
    color: #222831;
    font-size: 17px;
    font-weight: 900;
}

.detailstore-checkout-payment #address-info-modal [data-modal-hide] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px;
    height: 32px;
    padding: 0 !important;
    border: 0;
    background: transparent;
    color: #4b5563;
    line-height: 1;
    cursor: pointer;
}

.detailstore-checkout-payment #address-info-modal [data-modal-hide] svg {
    display: block;
    width: 20px !important;
    height: 20px !important;
}

.detailstore-checkout-payment #address-info-modal .modalAddressInfo {
    max-height: calc(100vh - 112px);
    overflow: auto;
    padding: 16px 22px 18px !important;
}

.detailstore-checkout-payment #address-info-modal .submitForm {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 16px;
    direction: rtl;
}

.detailstore-checkout-payment #address-info-modal .detailstore-address-form-title {
    grid-column: 1 / -1;
    margin: 0 0 2px;
    border-radius: 0;
    background: #f3f4f6;
    padding: 10px 14px;
    color: #7a7f89;
    font-size: 20px;
    font-weight: 900;
    line-height: 1.6;
    text-align: right;
}

.detailstore-checkout-payment #address-info-modal .detailstore-address-form > div {
    min-width: 0;
}

.detailstore-checkout-payment #address-info-modal .col-span-2 {
    grid-column: 1 / -1;
}

.detailstore-checkout-payment #address-info-modal label {
    position: static !important;
    display: flex !important;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    margin: 0;
    border: 0 !important;
    box-shadow: none !important;
}

.detailstore-checkout-payment #address-info-modal label > span {
    position: static !important;
    transform: none !important;
    background: transparent !important;
    padding: 0 !important;
    color: #777f8d !important;
    font-size: 13px !important;
    font-weight: 800;
    line-height: 1.6;
    pointer-events: auto !important;
}

.detailstore-checkout-payment #address-info-modal .detailstore-address-form label:not([for="Unit"]) > span::after {
    content: " *";
    color: #ef394e;
    font-weight: 900;
}

.detailstore-checkout-payment #address-info-modal input,
.detailstore-checkout-payment #address-info-modal select,
.detailstore-checkout-payment #address-info-modal textarea {
    width: 100%;
    min-height: 45px;
    border: 1px solid #cfd5dd !important;
    border-radius: 4px !important;
    background: #fff !important;
    padding: 10px 12px !important;
    color: #2f3743 !important;
    font-family: inherit;
    font-size: 13px;
    line-height: 1.8;
    box-shadow: none !important;
    outline: none !important;
}

.detailstore-checkout-payment #address-info-modal input:focus,
.detailstore-checkout-payment #address-info-modal select:focus,
.detailstore-checkout-payment #address-info-modal textarea:focus {
    border-color: #00bfd6 !important;
    box-shadow: 0 0 0 3px rgba(0, 191, 214, .12) !important;
}

.detailstore-checkout-payment #address-info-modal input::placeholder,
.detailstore-checkout-payment #address-info-modal textarea::placeholder {
    color: #a0a7b3;
    opacity: 1;
}

.detailstore-checkout-payment #address-info-modal textarea {
    min-height: 80px;
    resize: vertical;
}

.detailstore-checkout-payment #address-info-modal .detailstore-address-form > .flex {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start !important;
    gap: 16px !important;
}

.detailstore-checkout-payment #address-info-modal .btn-primary {
    border: 0;
    border-radius: 5px;
    background: #0084ff;
    padding: 11px 18px;
    color: #fff;
    font-family: inherit;
    font-weight: 900;
    cursor: pointer;
}

.detailstore-checkout-payment #address-info-modal .btn-primary:hover {
    background: #006fe0;
}

@media (min-width: 640px) {
    .detailstore-checkout-payment #address-info-modal .sm\:col-span-1 {
        grid-column: auto;
    }
}

.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-checkout-payment #address-info-modal {
        align-items: flex-start;
        padding: 8px !important;
    }

    .detailstore-checkout-payment #address-info-modal > .relative {
        width: 100% !important;
        max-height: calc(100vh - 16px);
    }

    .detailstore-checkout-payment #address-info-modal > .relative > div > div:first-child {
        padding: 12px 14px !important;
    }

    .detailstore-checkout-payment #address-info-modal .modalAddressInfo {
        max-height: calc(100vh - 82px);
        padding: 12px 14px 14px !important;
    }

    .detailstore-checkout-payment #address-info-modal .submitForm {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .detailstore-checkout-payment #address-info-modal .col-span-2,
    .detailstore-checkout-payment #address-info-modal .sm\:col-span-1 {
        grid-column: 1;
    }

    .detailstore-checkout-payment #address-info-modal .detailstore-address-form-title {
        padding: 8px 10px;
        font-size: 18px;
    }

    .detailstore-checkout-payment #address-info-modal .detailstore-address-form > .flex {
        gap: 10px !important;
    }
}

.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 .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.account-address-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: flex-start;
    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%);
    margin: 18px auto;
}

.detailstore-public #address-info-modal .account-address-modal-content {
    overflow: hidden;
    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-close {
    border: 0;
    background: transparent;
    color: #6b7280;
    font-size: 18px;
}

.detailstore-public #address-info-modal .account-address-modal-body {
    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 .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 {
        padding: 10px;
    }

    .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%;
    }
}
