@import url(../fonts.css);

::-webkit-scrollbar {
    width: 8px; /* for vertical scrollbars */
    height: 7px; /* for horizontal scrollbars */
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.5);
}

.success-txt{
    color: rgb(101, 200, 111)!important;
    font-family: 'yekanR';
}

.unsuccess-txt{
    color: #ff6085!important;
    font-family: 'yekanR';
}

body {
    background: #F0F2F5;
    direction: rtl;
}
#loading {
    display: none;
    position: fixed; /* اسپینر را به مرکز صفحه می‌برد */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* موقعیت دقیق مرکز */
    z-index: 9999; /* اطمینان از اینکه اسپینر در بالاترین لایه قرار دارد */
    text-align: center;
}

#loading .spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: #09f;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}




.main {
    max-width: calc(100% - 120px);
    display: flex;
    margin: 28px auto;
}

.main-container {
    padding-left: 25px;
}

.nav {
    background-color: #fff;
    border-radius: 12px;
    padding: 0 12px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.basket-wrapper{
    width: 36px;
}
.discount-wrapper{
    position: relative;
    max-width: 320px;
    margin-bottom: 20px;
}

.basket-wrapper a{
    display: block;
    position: relative;
    padding-left: 8px;
}
.basket-count{
    position: absolute;
    font-family: YekanM;
    font-size: 12px;
    top: 0;
    left: 0px;
    width: 16px;
    height: 16px;
    background-color: #ff6085;
    border-radius: 50px;
    display: block;
    text-align: center;
    line-height: 1.5em;
    color: #fff;
}

.nav ul {
    display: flex;
    justify-content: flex-start;
    list-style: none;
    position: relative;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.nav-li {
    margin: 0 12px;
    padding: 16px 0;
    transition: all 0.5s;
    border-bottom: 2px solid transparent;
    font-family: yekanM;
    direction: rtl;
    outline: 0;
    font-size: 14px;
    font-style: normal;
    line-height: normal;
    color: #282B2E;
    cursor: pointer;
}

.nav-li a {
    color: #282B2E;
    text-decoration: none;
    transition: all 0.5s;
}

.nav-li:hover a, .nav-li.active a {
    color: #434C83;
    font-family: yekanB;
}

.pagination li:first-child button {
    rotate: -90deg;
}

.pagination li:last-child button {
    rotate: 90deg;
}


/* Pagination */
div.pagination {
    display: block;
    /*float: left;*/
}

div.pagination ul {
    padding: 0;
    margin: 30px 0 20px 0;
    list-style: none;
}

div.pagination ul li {
    display: inline-block;
}

div.pagination ul li button {
    cursor: pointer;
    font-size: 16px;
    font-family: 'yekanB';
    color: #31333C;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    vertical-align: top;
    background: none;
    border: 0;
    padding-top: 5px;
    margin: 0 5px;
    transition: all 0.3s;
}

div.pagination ul li button.pactive {

    color: #565F6B;
    cursor: no-drop;
    border-radius: 6px;
    border: 1px solid #B7BEC7;
}

/*div.pagination ul li button:not(.pactive):hover {*/
/*    color: #FF6085;*/
/*}*/

div.pagination ul li button svg {
    width: 24px;
}

div.pagination ul li button svg.arrowright {
    transform: rotate(180deg);
}

div.pagination ul li button svg.arrowoff {
    filter: grayscale(100%);
    cursor: no-drop;
}

div.pagination ul li button.dot {
    color: #565F6B;
}
.card-summery-col{
    width: 25%
}
.btn-opacity{
    opacity: 0.5;
}
.pending-orders{
    margin-top: 20px;
    max-width: 100%;
    overflow-x: auto;
}
.pending-orders th{
    font-family: 'yekanB';
}
.pending-orders td{
    font-family: 'yekanR';
    font-size: 14px;
}

.pending-orders .contact-form-btn.order-submit{
    width: fit-content;
    padding: 8px 12px;
    margin-top: 0;
    margin-right: auto;
    margin-left: auto;
}

.cart-pending-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.cart-pending-actions .cart-pending-continue {
    margin: 0;
}

.cart-pending-cancel-form {
    margin: 0;
}

.cart-pending-cancel-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    font-family: yekanM;
    font-size: 13px;
    color: #64748b;
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    cursor: pointer;
    transition: color 0.15s, border-color 0.15s, background 0.15s;
    white-space: nowrap;
}

.cart-pending-cancel-btn:hover {
    color: #b91c1c;
    border-color: #fca5a5;
    background: #fef2f2;
}

#min-price-label,#max-price-label{
    font-size: 12px;
}
@media only screen and (max-width: 700px) {
    .basket-wrapper{
        margin-left: 10px;
    }
}

@media only screen and (max-width: 520px) {
    div.pagination ul li button {
        margin: 0 3px !important;
    }
    .card-tab-wrapper{
        display: none!important;
    }
    .card-summery-wrapper{
        flex-direction: column;
        gap: 15px !important;
    }
    .card-summery-col{
        width: 100%;
        display: flex;
        flex-direction: row!important;
        align-items: center;
        justify-content: space-between;
        font-family: 'yekanM';
    }
    .card-summery-col > img{
        display: none;
    }
    .card-summery-col:first-child::before{
        content: "محصول";
    }
    .card-summery-col:nth-child(2)::before{
        content: "قیمت";
    }
    .card-summery-col:nth-child(3)::before{
        content: "تعداد";
    }
    .card-summery-col:nth-child(4)::before{
        content: "حذف";
    }
    .pending-orders th{
        font-size: 14px;
    }
    .pending-orders td{
        max-width: 200px;
    }
    .pending-orders table{
        min-width: 530px;
    }
    .pending-orders .contact-form-btn.order-submit{
        min-width: max-content;
    }
}

/*//////////////////////////////////////////////Sidebar/////////////////////////////////////////*/
.user-inf {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-img {
    border: 4px solid #DCE0E5;
    border-radius: 50%;
    width: 120px;
    aspect-ratio: 1;
    object-fit: cover;
}

.sidebar {
    width: 325px;
    background-color: #434C83;
    padding: 32px 24px;
    border-radius: 12px;
    text-align: center;
}

.shop-name {
    color: #FFF;
    font-family: yekanB;
    font-size: 20px;
    margin: 16px 0 8px;
}

.shop-info {
    color: #FFF;
    text-align: center;
    font-family: YekanR;
    font-size: 14px;
    margin: 0 0 32px;
}

.social-info {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 13px;
}

.user-profile-icons {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background-color: #F0F2F5;
    border-radius: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.user-profile-icons svg {
    width: 26px;
    height: 26px;
}

.user-profile-info {
    border-radius: 6px;
    padding: 24px 16px;
    background: #E9ECF0;
    margin: 32px 0;
}

.user-info-iconbox {
    display: flex;
    gap: 8px;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 16px;
}

.user-profile-info .user-profile-icons {
    background-color: #fff;
}

.user-address-txt, .user-address-txt a {
    color: #282B2E;
    text-align: right;
    font-size: 14px;
    font-family: YekanM;
    text-decoration: none;
    /*word-break: break-all;*/
}

.certificates {
    display: flex;
    margin: 32px 0;
    justify-content: center;
    align-items: center;
}

.Violation-report {
    color: #747D8A;
    font-size: 14px;
    font-family: YekanM;
    text-decoration: unset;
}

.personal-page-btn {
    margin: 32px 0;
    border-radius: 35px;
    background: #D0EBF7;
    width: 100%;
    border: unset;
    font-family: YekanM;
}

.personal-page-btn a {
    display: block;
    width: 100%;
    padding: 9px 0;
    line-height: 22px;
    text-decoration: unset;
    color: #000;
}

.poweredBy {
    color: #fff;
    font-size: 14px;
    font-family: YekanR;
    text-decoration: unset;
}

.mobile-menu {
    display: none;
    justify-content: right;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 21px 22px;
}

.mobile-nav-li a {
    color: #282B2E;
    text-decoration: none;
    transition: all 0.5s;
}

.mobile-nav-li:hover a, .mobile-nav-li.active a {
    color: #434C83;
    font-family: yekanB;
}

.hamburger-menu {
    display: flex;
}

.mobile-menu-txt {
    color: #282B2E;
    font-size: 14px;
    font-family: YekanM;
}

.mobile-menu-container, .mobile-filters-popup {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: #0000004d;
    direction: rtl;
    display: none;
}

.mobile-menu-content, .mobile-filters-content {
    width: 350px;
    max-width: 80%;
    height: 100%;
    background: #fff;
    border-radius: 12px 0 0 12px;
    padding: 32px 16px;
}

.hamburger-title {
    color: #747D8A;
    font-size: 14px;
    font-family: YekanM;
}

.close-menu-icon, .close-filters-icon {
    float: left;
    margin-left: 15px;
}

.mobile-ul-menu {
    padding: 0;
    margin-top: 35px;
}

.mobile-nav-li {
    list-style: none;
    font-family: yekanM;
    color: #282B2E;
    margin-bottom: 8px;
    padding: 8px 16px;
    border-radius: 6px;
}

.mobile-nav-li.active {
    color: #434C83;
    font-family: yekanB;
    background: #F0F2F5;
}

.mobile-footer {
    display: none;
    background-color: #434C83;
    padding: 32px 16px;
    border-radius: 12px;
    text-align: center;
}

.mobile-footer .user-profile-info {
    margin-top: 0;
    margin-bottom: 32px;
}

.content {
    background: #fff;
    border-radius: 12px;
    padding: 32px;
    margin-top: 24px;
    text-align: right;
    box-sizing: border-box;

}

.tab-title {
    font-family: yekanB;
    font-size: 16px;
    margin: 0;
}

.btn-part{
    display: flex;
    gap: 50%;
    margin-top: 20px;
}

.btn-delete {
    background: none;
    border: none;
}

.tab-cont{
    text-align: center;
    overflow-y: auto;
    padding: 15px 0;
}

.submit-count{
    border-radius: 5px;
    background: #434C83;
    padding: 5px 10px;
    color: #fff;
    font-size: 12px;
    font-family: yekanR;
    border: unset;
    cursor: pointer;
    margin: 5px 5px 5px 0;
}

.terms-description, .about-shop-description {
    font-family: yekanR;
    direction: rtl;
    font-size: 15px;
}

.terms-description {
    width: 100%;
    resize: none;
    min-height: 545px;
}

.main-container .sidebar {
    display: none;
}

.contact-form-input {
    border-radius: 6px;
    border: 1px solid #B7BEC7;
    width: 100%;
    margin-top: 5px;
    padding: 13px 36px;
    font-family: yekanR;
    box-sizing: border-box;

}

.txtarea {
    padding: 8px;
}

.contact-form-input::placeholder {
    color: #A5ADB8;
}

.contact-form-input-container {
    position: relative;
}

.contact-form-input-container svg {
    position: absolute;
    width: 18px;
    height: 18px;
    top: 14px;
    right: 8px;
}

.contact-form-btn {
    display: block;
    border-radius: 6px;
    background: #434C83;
    padding: 12px 48px;
    color: #fff;
    font-size: 16px;
    font-family: YekanM;
    border: unset;
    cursor: pointer;
    margin: 10px 0 0 0;
}

.form {
    margin: 24px 0;
}

.contact-ways-container {
    display: flex;
    flex-wrap: wrap;
    margin-top: 28px;
    gap: 16px;
}

.contact-ways-content {
    border-radius: 6px;
    border: 1px solid #B7BEC7;
    font-family: yekanR;
    box-sizing: border-box;
    padding: 8px 16px;
}

.contact-ways-content svg {
    vertical-align: middle;
}

.contact-ways-name {
    color: #282B2E;
}

.contact-ways-value {
    color: #3399FF;
}

.top-spacer25 {
    margin-top: 25px;
}

.empty-state {
    text-align: center;
}

.empty-state-icon {
    display: block;
    margin: 20px 0;
}

.empty-state-txt {
    font-family: yekanR;
    font-size: 16px;
    color: #434C83;
}

.product-container,
.storefront-product-grid,
.shop-filtered-products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 18px;
    margin-top: 15px;
    align-items: stretch;
}

.product-card,
.storefront-product-card {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #E2E8F0;
    padding: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.product-card:hover,
.storefront-product-card:hover {
    border-color: #CBD5E0;
    box-shadow: 0 8px 22px rgba(49, 51, 60, 0.12);
    transform: translateY(-2px);
}

.product-card:focus-visible,
.storefront-product-card:focus-visible {
    outline: 2px solid #434C83;
    outline-offset: 2px;
}

.storefront-product-card__media {
    position: relative;
    background: #F7F8FA;
}

.product-img,
.storefront-product-card__image {
    max-width: 100%;
    border-radius: 0;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}

.storefront-product-card__badge.sale {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    background: #CE1D89;
    color: #fff;
    padding: 4px 8px;
    border-radius: 999px;
    font-family: yekanM, sans-serif;
    font-size: 12px;
    line-height: 1.3;
    width: auto;
    height: auto;
    min-width: 36px;
    text-align: center;
}

.storefront-product-card__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    flex: 1;
}

.product-title,
.storefront-product-card__title {
    font-family: yekanM, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #2D3748;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 42px;
}

.storefront-product-card__price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    margin-top: auto;
    min-height: 24px;
}

.product-sale-price,
.storefront-product-card__price-current {
    font-family: yekanB, sans-serif;
    font-size: 15px;
    color: #434C83;
    line-height: 1.35;
}

.product-price,
.storefront-product-card__price-old {
    font-family: yekanR, sans-serif;
    font-size: 12px;
    color: #94A3B8;
    text-decoration: line-through;
    line-height: 1.3;
}

.storefront-product-card__unavailable {
    font-family: yekanM, sans-serif;
    font-size: 13px;
    color: #C53030;
}

.quick-buy-btn,
.storefront-product-card__cta {
    width: 100%;
    background: #434C83;
    border-radius: 8px;
    border: 0;
    font-family: yekanB, sans-serif;
    font-size: 13px;
    color: #fff;
    line-height: 1.4;
    padding: 9px 12px;
    margin-top: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.quick-buy-btn:hover,
.storefront-product-card__cta:hover {
    background: #363D6B;
}

.quick-buy-btn a {
    color: #fff;
    text-decoration: none;
}

.storefront-product-card.is-unavailable .storefront-product-card__media {
    opacity: 0.72;
}

/* Storefront modals (quick view + cart edit) */
body.storefront-modal-open {
    overflow: hidden;
}

.storefront-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(15, 23, 42, 0.45);
    box-sizing: border-box;
}

.storefront-modal__dialog {
    position: relative;
    width: 100%;
    max-width: 920px;
    max-height: calc(100vh - 32px);
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.18);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.quick-view-dialog__body {
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-start;
    gap: 28px;
    padding: 24px 28px 28px;
    overflow-y: auto;
    max-height: calc(100vh - 32px);
    box-sizing: border-box;
    scrollbar-color: #434C83 #E2E8F0;
    scrollbar-width: thin;
}

.quick-view-dialog__gallery {
    flex: 1 1 48%;
    min-width: 0;
}

.quick-view-dialog__info {
    flex: 1 1 48%;
    min-width: 0;
    text-align: right;
}

.storefront-modal__close {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #F1F5F9;
    cursor: pointer;
    transition: background 0.15s;
}

.storefront-modal__close:hover {
    background: #E2E8F0;
}

.product-info-title {
    font-family: YekanB;
    font-size: 22px;
    color: #282B2E;
    line-height: 1.35;
    margin: 0 0 12px;
    padding-left: 44px;
}

.product-info-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 12px;
    margin-bottom: 12px;
}

.product-sale-price {
    font-family: yekanB;
    font-size: 20px;
    color: #434C83;
}

.product-price {
    font-family: yekanR;
    font-size: 15px;
    color: #94a3b8;
    text-decoration: line-through;
}

.product-info-des-wrap {
    max-height: 160px;
    overflow-y: auto;
    margin-bottom: 12px;
}

.product-info-des {
    font-family: YekanR;
    font-size: 14px;
    color: #565F6B;
    line-height: 1.65;
    margin: 0;
}

.quick-view-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid #E8EDF3;
}

.quick-view-meta .product-info-price {
    margin-bottom: 0;
}

.popup-stock-status {
    margin: 0;
    display: inline-flex;
}

.popup-stock-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-family: YekanM;
    font-size: 12px;
    line-height: 1.3;
}

.popup-stock-available {
    background: #dcfce7;
    color: #166534;
}

.popup-stock-unavailable {
    background: #fee2e2;
    color: #b91c1c;
}

/* Quick view — attributes (read-only) */
.product-quick-view-modal .quick-view-attrs-panel {
    margin-bottom: 16px;
    padding: 14px 16px;
    background: #F8FAFC;
    border: 1px solid #E8EDF3;
    border-radius: 12px;
    text-align: right;
}

.product-quick-view-modal .quick-view-attrs-title {
    font-family: yekanB;
    font-size: 14px;
    color: #434C83;
    margin: 0 0 12px;
    padding: 0;
}

.product-quick-view-modal .quick-view-attr-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: none;
    margin: 0;
    text-align: right;
}

.product-quick-view-modal .quick-view-attr-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.product-quick-view-modal .quick-view-attr-name {
    font-family: yekanM;
    font-size: 13px;
    color: #64748b;
    line-height: 1.3;
}

.product-quick-view-modal .quick-view-attr-values {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-start;
    width: 100%;
}

.product-quick-view-modal .quick-view-attr-chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    font-family: yekanR;
    font-size: 13px;
    color: #1A202C;
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    line-height: 1.35;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.product-quick-view-modal .quick-view-attr-chip--muted {
    color: #94a3b8;
    background: #f1f5f9;
}

.product-quick-view-modal .product-info-des-wrap {
    margin-bottom: 16px;
    padding: 12px 0 0;
    border-top: 1px solid #E8EDF3;
}

.product-quick-view-modal .product-info-des-label {
    font-family: yekanM;
    font-size: 13px;
    color: #64748b;
    margin: 0 0 8px;
}

.product-quick-view-modal .product-info-des {
    font-size: 14px;
    line-height: 1.7;
}

.quick-view-dialog__actions {
    margin-top: auto;
    padding-top: 8px;
}

.quick-view-dialog__actions .contact-form-btn,
.quick-view-dialog__actions .quick-view-product-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 0;
    padding: 13px 20px;
    font-family: yekanM;
    font-size: 15px;
    color: #fff;
    text-decoration: none;
    box-sizing: border-box;
    border-radius: 10px;
}

.product-quick-view-modal .quick-view-dialog__info {
    display: flex;
    flex-direction: column;
}

.product-quick-view-modal .main-img {
    background: #F8FAFC;
    border-radius: 12px;
    padding: 8px;
    border: 1px solid #E8EDF3;
}

.product-quick-view-modal .thumbnail-images {
    border-radius: 8px;
    border: 2px solid transparent;
    transition: border-color 0.15s, opacity 0.15s;
}

.product-quick-view-modal .thumbnail-images.active-thumbnail {
    border-color: #434C83;
    opacity: 1 !important;
}

.product-images {
    width: 100%;
}

/* Cart table: attrs column */
.cart-col-attrs-cell {
    gap: 0;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
}

.cart-attr-summary-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.cart-attr-qty-line {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    font-family: yekanR;
    font-size: 13px;
    color: #64748b;
}

.cart-attr-qty-label {
    font-family: yekanM;
    color: #475569;
}

.cart-attr-qty-line strong {
    font-family: yekanB;
    font-size: 15px;
    color: #1A202C;
}

.cart-attr-summary {
    width: 100%;
}

.cart-attr-summary-empty {
    font-family: yekanR;
    font-size: 14px;
    color: #94a3b8;
}

.cart-edit-item-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 7px 12px;
    font-family: yekanM;
    font-size: 12px;
    color: #434C83;
    background: #fff;
    border: 1px solid #434C83;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
    flex-shrink: 0;
    margin-inline-start: auto;
}

.cart-edit-item-btn:hover {
    background: #434C83;
    color: #fff;
}

.cart-edit-item-btn:hover svg path {
    fill: #fff;
}

.cart-edit-item-btn svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.thumbnail-images {
    width: 80px;
    aspect-ratio: 1.333;
    object-fit: cover;
    opacity: 0.3;
}

.active-thumbnail {
    opacity: 1;
}

.carousel-control-container {
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 16px;
    margin-top: 16px;
}

.product-image-thumbnail {
    display: flex;
    gap: 16px;
    flex-direction: row-reverse;
    cursor: pointer;
    flex-wrap: wrap;
    justify-content: center;
}

.carousel-prev {
    scale: -1;
    cursor: pointer;
}

.carousel-next {
    cursor: pointer;
}

.single-img {
    max-width: 100%;
    border-radius: 6px;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    display: block;}

.main-img {
    text-align: center;
}

.sale {
    position: absolute;
    left: 8px;
    background: #159BD5;
    color: #fff;
    padding: 8px;
    border-radius: 50%;
    font-family: yekanM;
    font-size: 14px;
    width: 41px;
    box-sizing: border-box;
    height: 39px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkout-container, .shop-container {
    display: flex;
    gap: 16px;
    margin-top: 16px;
}

/* Storefront shell: unified height/width for all customer shop pages */
.main:has(.storefront-page) {
    align-items: stretch;
    height: calc(100vh - 56px);
    max-height: calc(100vh - 56px);
    box-sizing: border-box;
}

.main:has(.storefront-page) > .sidebar {
    display: flex;
    flex-direction: column;
    align-self: stretch;
    height: fit-content;
    box-sizing: border-box;
    min-height: 100%;
}

.main:has(.storefront-page) > .sidebar .poweredBy {
    margin-top: auto;
}

.main:has(.storefront-page) .main-container {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 100%;
}

.main:has(.storefront-page) .content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: fit-content;
}

.storefront-page {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.storefront-page > .tab-title,
.storefront-page > h2.tab-title {
    flex-shrink: 0;
    margin-bottom: 4px;
}

.storefront-page > .cart-alert,
.storefront-page > .cart-pending-panel {
    flex-shrink: 0;
}

/* Default pages: scroll inside content card (scrollbar on the right) */
.storefront-page:not(.storefront-page--shop-listing) {
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    direction: ltr;
    scrollbar-width: thin;
    scrollbar-color: #434C83 #E2E8F0;
    padding-left: 6px;
    padding-right: 2px;
}

.storefront-page:not(.storefront-page--shop-listing) > * {
    direction: rtl;
}

.storefront-page:not(.storefront-page--shop-listing)::-webkit-scrollbar {
    width: 7px;
}

.storefront-page:not(.storefront-page--shop-listing)::-webkit-scrollbar-track {
    background: #E2E8F0;
    border-radius: 999px;
    margin: 6px 0;
}

.storefront-page:not(.storefront-page--shop-listing)::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #434C83 0%, #5B66A8 100%);
    border-radius: 999px;
    border: 2px solid #E2E8F0;
}

.storefront-page:not(.storefront-page--shop-listing)::-webkit-scrollbar-thumb:hover {
    background: #363D6B;
}

.storefront-page .tab-cont {
    overflow: visible;
    text-align: right;
    padding: 8px 0 0;
}

.storefront-page .about-shop-description {
    text-align: right;
    line-height: 1.75;
    color: #4A5568;
    margin: 0;
}

.storefront-page .terms-description {
    width: 100%;
    min-height: min(420px, calc(100vh - 280px));
    max-height: none;
    box-sizing: border-box;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 16px;
    background: #FAFBFC;
    resize: none;
    line-height: 1.75;
}

.storefront-page .checkout-container {
    margin-top: 12px;
    align-items: flex-start;
}

.storefront-page .order-tracking-page {
    max-width: none;
    margin: 0;
    padding: 0;
}

.storefront-page .cart-page {
    margin-top: 12px;
}

.storefront-page .empty-state {
    margin-top: 24px;
}

.storefront-page .top-spacer25 {
    margin-top: 20px;
}

.storefront-page .contact-form-input-container {
    margin-bottom: 12px;
}

.storefront-page .form {
    max-width: 640px;
    margin: 0 auto;
    text-align: right;
}

.storefront-page .order-tracking-search-card {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.storefront-page .tracking-form-row .contact-form-input-container label {
    display: block;
    font-size: 13px;
    color: #4A5568;
    margin-bottom: 4px;
    font-family: yekanM;
}

.storefront-page .product-container.storefront-product-grid {
    margin-top: 12px;
}

.storefront-page .order-tracking-page {
    display: flex;
    flex-direction: column;
    gap: 0;
    flex: 1;
    min-height: 0;
}

.storefront-page .user-infos .form {
    max-width: none;
    margin: 0;
}

.storefront-page .order-summery .tab-cont {
    text-align: right;
    padding: 0;
    overflow: visible;
}

.checkout-order-line {
    display: flex;
    align-items: flex-start;
    width: 100%;
    padding: 10px 0;
    border-bottom: 1px solid #E0E0E0;
    gap: 8px;
    box-sizing: border-box;
}

.checkout-order-line__name {
    flex: 1 1 45%;
    min-width: 0;
    text-align: right;
}

.checkout-order-line__qty {
    flex: 0 0 15%;
    text-align: center;
}

.checkout-order-line__unit {
    flex: 0 0 20%;
    text-align: center;
}

.checkout-order-line__total {
    flex: 0 0 20%;
    text-align: left;
}

.checkout-order-line__unit-price {
    font-size: 0.85em;
    color: #666;
}

.checkout-summary-rows {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
}

.checkout-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 12px;
}

.checkout-summary-row--discount .product-price-txt,
.checkout-summary-row--discount .product-price-value {
    color: #e53935;
}

.checkout-customer-card {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    text-align: right;
}

.checkout-customer-card__title {
    font-family: yekanB;
    font-size: 16px;
    margin: 0 0 12px;
    color: #282B2E;
}

.checkout-customer-card__row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 8px;
    font-size: 14px;
}

.checkout-customer-card__row:last-child {
    margin-bottom: 0;
}

.checkout-customer-card__label {
    color: #718096;
    flex-shrink: 0;
}

.checkout-edit-link {
    display: block;
    text-align: center;
    margin-top: 12px;
    color: #718096;
    font-size: 0.9em;
    text-decoration: none;
}

.checkout-edit-link:hover {
    color: #434C83;
}

.shipping-method-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    margin-bottom: 8px;
    cursor: pointer;
    background: #fff;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.shipping-method-option:hover {
    border-color: #CBD5E0;
    background: #FAFBFC;
}

.shipping-method-option input[type="radio"]:checked + span {
    color: #434C83;
}

.shipping-method-option__cost {
    margin-right: auto;
    font-weight: 600;
    color: #2D3748;
}

.shipping-form-error {
    color: #E53E3E;
    font-size: 0.85em;
    margin: 0 0 8px;
}

@media screen and (max-width: 640px) {
    .checkout-order-line {
        flex-wrap: wrap;
    }

    .checkout-order-line__name {
        flex: 1 1 100%;
    }

    .checkout-order-line__qty,
    .checkout-order-line__unit,
    .checkout-order-line__total {
        flex: 1 1 auto;
    }
}

/* Shop listing: inner product grid scroll */
.storefront-page--shop-listing {
    overflow: hidden;
    direction: rtl;
    padding: 0;
}

.storefront-page--shop-listing .shop-container {
    flex: 1;
    min-height: 0;
    align-items: stretch;
    margin-top: 12px;
}

.storefront-page--shop-listing .filters-container {
    max-height: 100%;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: none;
    scrollbar-color: #434C83 #EDF2F7;
    padding: 0 0 5px 0;
    font-family: YekanR;
}

.storefront-page--shop-listing .filters-container::-webkit-scrollbar {
    width: 6px;
}

.storefront-page--shop-listing .filters-container::-webkit-scrollbar-track {
    background: #EDF2F7;
    border-radius: 999px;
}

.storefront-page--shop-listing .filters-container::-webkit-scrollbar-thumb {
    background: #434C83;
    border-radius: 999px;
}

.storefront-page--shop-listing .products-container {
    flex: 1;
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.storefront-page--shop-listing .top-filter-product,
.storefront-page--shop-listing .filters-navbar-container,
.storefront-page--shop-listing .storefront-active-attribute-filters {
    flex-shrink: 0;
}

.storefront-page--shop-listing .scrolling-pagination {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    direction: ltr;
    background: #FAFBFC;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 12px;
    scrollbar-width: thin;
    scrollbar-color: #434C83 #E2E8F0;
    margin-top: 10px;
}

.storefront-page--shop-listing .scrolling-pagination::-webkit-scrollbar {
    width: 7px;
}

.storefront-page--shop-listing .scrolling-pagination::-webkit-scrollbar-track {
    background: #E2E8F0;
    border-radius: 999px;
    margin: 6px 0;
}

.storefront-page--shop-listing .scrolling-pagination::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #434C83 0%, #5B66A8 100%);
    border-radius: 999px;
    border: 2px solid #E2E8F0;
}

.storefront-page--shop-listing .scrolling-pagination::-webkit-scrollbar-thumb:hover {
    background: #363D6B;
}

.storefront-page--shop-listing .scrolling-pagination .product-container {
    direction: rtl;
    margin-top: 0;
    padding-bottom: 8px;
    padding-left: 4px;
}

.checkout-container--order-card {
    justify-content: center;
}

.checkout-container--order-card .order-summery {
    width: 100%;
    max-width: 520px;
}

/* Product detail page (/shop/product/{uuid}) */
.product-detail-page {
    margin-top: 12px;
}

.product-detail-card {
    width: 100%;
    max-width: 920px;
    margin: 0 auto;
    background: #F0F2F5;
    border-radius: 14px;
    padding: 24px;
    box-sizing: border-box;
}

.product-detail-layout {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.product-detail-media {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.product-detail-image {
    width: 100%;
    max-width: 280px;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid #E2E8F0;
    background: #fff;
}

.product-detail-main {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

.product-detail-attr-picker {
    margin: 0;
}

.product-detail-qty {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
}

.product-detail-qty-label {
    font-family: yekanM;
    font-size: 14px;
    color: #4A5568;
}

.product-detail-qty-control {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.product-detail-qty-btn {
    width: 36px;
    height: 36px;
    border: 1px solid #CBD5E0;
    border-radius: 8px;
    background: #fff;
    color: #434C83;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.product-detail-qty-btn:hover {
    background: #EDF2F7;
    border-color: #434C83;
}

.product-detail-qty-input {
    width: 64px;
    height: 36px;
    text-align: center;
    border: 1px solid #CBD5E0;
    border-radius: 8px;
    font-family: yekanR;
    font-size: 15px;
    box-sizing: border-box;
}

.product-detail-status {
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.5;
    font-family: yekanR;
}

.product-detail-status--info {
    background: #EBF8FF;
    color: #2B6CB0;
    border: 1px solid #BEE3F8;
}

.product-detail-status--success {
    background: #F0FFF4;
    color: #276749;
    border: 1px solid #C6F6D5;
}

.product-detail-status--error {
    background: #FFF5F5;
    color: #C53030;
    border: 1px solid #FEB2B2;
}

.product-detail-pricing {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.product-detail-price-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 12px;
    border-bottom: 1px dashed #E2E8F0;
}

.product-detail-price-row:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.product-detail-price-row--stack {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
}

.product-detail-price-label {
    font-family: yekanM;
    font-size: 14px;
    color: #4A5568;
    flex-shrink: 0;
}

.product-detail-price-values {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.product-detail-price-original {
    font-family: yekanR;
    font-size: 14px;
    color: #A0AEC0;
    text-decoration: line-through;
}

.product-detail-price-current {
    font-family: yekanB;
    font-size: 16px;
    color: #1A202C;
}

.product-detail-shipping-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-detail-shipping-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    font-size: 14px;
    color: #2D3748;
}

.product-detail-total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 4px;
    padding-top: 14px;
    border-top: 2px solid #434C83;
}

.product-detail-total-label {
    font-family: yekanB;
    font-size: 17px;
    color: #2D3748;
}

.product-detail-total-value {
    font-family: yekanB;
    font-size: 18px;
    color: #434C83;
}

.product-detail-cta {
    margin-top: 4px;
}

.product-detail-cta-panel {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-detail-cta-panel--success {
    padding: 16px;
    background: #fff;
    border: 1px solid #C6F6D5;
    border-radius: 12px;
}

.product-detail-cta-message {
    margin: 0 0 12px;
    font-family: yekanM;
    font-size: 15px;
    color: #276749;
    text-align: center;
}

.product-detail-cta-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-detail-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 46px;
    padding: 12px 16px;
    border-radius: 10px;
    border: none;
    font-family: yekanM;
    font-size: 15px;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
    transition: background 0.15s ease, opacity 0.15s ease;
}

.product-detail-btn--primary {
    background: #434C83;
    color: #fff;
}

.product-detail-btn--primary:hover {
    background: #363D6B;
}

.product-detail-btn--primary:disabled {
    background: #A0AEC0;
    cursor: not-allowed;
}

.product-detail-btn--secondary {
    background: #fff;
    color: #434C83;
    border: 1px solid #CBD5E0;
}

.product-detail-btn--secondary:hover {
    background: #F7FAFC;
    border-color: #434C83;
}

@media screen and (min-width: 768px) {
    .product-detail-layout {
        flex-direction: row;
        align-items: flex-start;
    }

    .product-detail-media {
        flex: 0 0 240px;
    }

    .product-detail-image {
        max-width: none;
    }

    .product-detail-main {
        flex: 1;
        min-width: 0;
    }

    .product-detail-cta-actions {
        flex-direction: row;
    }

    .product-detail-cta-actions .product-detail-btn {
        flex: 1;
    }
}

.storefront-page .product-detail-page {
    margin-top: 8px;
}

.storefront-page .product-detail-card {
    max-width: none;
}

.order-summery {
    width: 44%;
    background: #F0F2F5;
    padding: 24px;
    border-radius: 12px;
    height: fit-content;
}

.user-infos {
    width: 55%;
}

.order-input {
    padding: 13px;
}

.order-submit {
    width: 100%;
    margin-top: 10px;
    text-decoration: none;
}

.submit-code {
    position: absolute;
    left: 3px;
    top: 0;
    bottom: 5px;
    font-size: 14px;
    padding: 10px 14px;
}

.your-order {
    font-family: yekanB;
    font-size: 20px;
    margin: 0;
    color: #282B2E;
}

.product-summery {
    margin-top: 8px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.product-summery-img {
    width: 100px;
    aspect-ratio: 1;
    border-radius: 6px;
    object-fit: cover;
}

.product-summery-title {
    font-family: YekanM;
    font-size: 16px;
    color: #1A202C;
    margin: 0;
}

.product-summery-infos select {
    direction: ltr;
    padding: 6px 12px;
    margin-top: 12px;
    background: #fff;
    border-color: #E2E8F0;
    border-radius: 6px;
}

.product-price-container, .total-price-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    row-gap: 5px;
}

.total-price-div{
    margin-top: 10px;
}

.product-price-txt {
    font-family: YekanM;
    font-size: 15px;
    color: #4A5568;
    margin: 0;
    width: 50%;
}

.product-price-value {
    font-family: YekanM;
    font-size: 15px;
    color: #000;
    width: 50%;
    text-align: left;
}

.total-price-txt {
    font-family: YekanM;
    font-size: 18px;
    color: #2D3748;
    margin: 0;
    width: 50%;
}

.total-price-value {
    font-family: YekanM;
    font-size: 18px;
    color: #000;
    width: 50%;
    text-align: left;
}

/* Cart page */
.cart-alert {
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 8px;
    font-family: yekanR;
    font-size: 14px;
    text-align: right;
}

.cart-alert--warning {
    background: #fff7ed;
    border: 1px solid #fdba74;
    color: #9a3412;
}

.cart-page {
    margin-top: 16px;
}

.cart-layout {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
}

.cart-main {
    min-width: 0;
}

.cart-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cart-panel {
    background: #F0F2F5;
    border-radius: 12px;
    padding: 20px;
    text-align: right;
    box-sizing: border-box;
}

.cart-panel-title {
    font-family: yekanB;
    font-size: 18px;
    color: #282B2E;
    margin: 0 0 14px;
}

.cart-items-panel {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    overflow: hidden;
}

.cart-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.cart-table {
    width: 100%;
    min-width: 580px;
    border-collapse: collapse;
    table-layout: auto;
}

.cart-table th {
    font-family: yekanB;
    font-size: 13px;
    color: #4A5568;
    padding: 14px 10px;
    border-bottom: 1px solid #E2E8F0;
    text-align: center;
    vertical-align: middle;
    background: #F8FAFC;
    white-space: nowrap;
}

.cart-table td {
    padding: 16px 8px;
    border-bottom: 1px solid #E2E8F0;
    text-align: center;
    vertical-align: middle;
    font-family: yekanR;
    font-size: 14px;
}

.cart-table tbody tr:last-child td {
    border-bottom: none;
}

.cart-table tbody tr.cart-item-row:nth-child(even):not(.cart-item-oos) {
    background: #FAFBFC;
}

.cart-item-oos {
    background: #fff5f5 !important;
}

.cart-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 100%;
    margin: 0 auto;
    text-align: center;
}

/* Product column */
.cart-product-cell {
    cursor: default;
}

.cart-product-wrap {
    position: relative;
    display: inline-block;
    max-width: 100%;
}

.cart-product-wrap .cart-remove-form {
    position: absolute;
    top: 2px;
    right: 2px;
    z-index: 3;
    margin: 0;
}

.cart-product-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 168px;
    margin: 0 auto;
    padding: 14px 8px 10px;
    border-radius: 10px;
    background: #F8FAFC;
    border: 1px solid #E8EDF3;
    cursor: pointer;
    transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
    box-sizing: border-box;
}

.cart-product-card:hover {
    border-color: #434C83;
    background: #fff;
    box-shadow: 0 4px 14px rgba(67, 76, 131, 0.12);
}

.cart-product-thumb {
    width: 76px;
    height: 76px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: #fff;
    border: 1px solid #E2E8F0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-product-thumb .product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cart-product-info {
    width: 100%;
    text-align: center;
}

.cart-product-name {
    margin: 0;
    font-family: yekanM;
    font-size: 13px;
    line-height: 1.5;
    color: #1A202C;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cart-product-meta {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: center;
}

.cart-badge {
    display: inline-block;
    font-family: yekanR;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 4px;
    line-height: 1.4;
}

.cart-badge--success {
    background: #dcfce7;
    color: #166534;
}

.cart-badge--muted {
    background: #f1f5f9;
    color: #64748b;
}

.cart-badge-oos,
.variant-oos-msg {
    display: inline-block;
    color: #b91c1c;
    font-size: 12px;
    font-family: yekanM;
    margin-top: 4px;
}

.cart-attr-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
}

.cart-attr-pills {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
    gap: 8px;
    max-width: 280px;
}

.cart-attr-pill {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    min-width: 100px;
    padding: 8px 10px;
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.cart-attr-pill-name {
    font-family: yekanM;
    font-size: 11px;
    color: #64748b;
    text-align: center;
    line-height: 1.3;
}

.cart-main .product-attr-cart-lines {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    max-width: 280px;
    margin: 0 auto;
    text-align: center;
}

.cart-main .product-attr-cart-line {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
    margin: 0;
    padding: 6px 12px;
    font-size: 12px;
    line-height: 1.4;
    color: #334155;
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 20px;
}

.cart-main .product-attr-cart-name {
    color: #64748b;
    font-weight: 600;
}

.cart-main .cart-attr-select.contact-form-input {
    margin-top: 0;
    box-sizing: border-box;
    width: 100%;
    min-width: 90px;
    padding: 7px 24px 7px 8px !important;
    font-family: yekanM;
    font-size: 13px;
    color: #1A202C;
    text-align: center;
    border: none;
    border-radius: 6px;
    background: #F1F5F9 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%2364748b' d='M1 1l4 4 4-4'/%3E%3C/svg%3E") no-repeat left 8px center;
    appearance: none;
    cursor: pointer;
}

.cart-main .cart-attr-select.contact-form-input:focus {
    outline: none;
    background-color: #E8EDF3;
}

.cart-qty-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.cart-qty-control {
    display: inline-flex;
    align-items: center;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

.cart-qty-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: none;
    background: #F8FAFC;
    color: #434C83;
    font-size: 18px;
    font-family: yekanM;
    line-height: 1;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    flex-shrink: 0;
}

.cart-qty-btn:hover {
    background: #EEF2FF;
    color: #434C83;
}

.cart-qty-btn:active {
    background: #E2E8F0;
}

.cart-qty-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.cart-item-oos .cart-qty-control {
    opacity: 0.55;
}

.cart-qty-control .cart-qty-input {
    width: 44px;
    height: 36px;
    text-align: center;
    padding: 0 4px !important;
    margin: 0;
    border: none;
    border-radius: 0;
    border-left: 1px solid #E2E8F0;
    border-right: 1px solid #E2E8F0;
    font-family: yekanM;
    font-size: 15px;
    color: #1A202C;
    background: #fff;
    -moz-appearance: textfield;
}

.cart-qty-control .cart-qty-input::-webkit-outer-spin-button,
.cart-qty-control .cart-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.cart-main .cart-qty-input.contact-form-input {
    margin-top: 0;
    box-sizing: border-box;
}

.cart-qty-unit {
    display: block;
    font-family: yekanR;
    font-size: 11px;
    color: #94a3b8;
    text-align: center;
    line-height: 1.3;
}

.cart-row-price {
    font-family: yekanM;
    font-size: 14px;
    color: #1A202C;
    white-space: nowrap;
    line-height: 1.4;
}

.cart-row-line-total {
    font-family: yekanB;
    color: #434C83;
}

.cart-remove-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.12);
    cursor: pointer;
    transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
}

.cart-remove-btn:hover {
    background: #fff1f2;
    transform: scale(1.08);
    box-shadow: 0 2px 8px rgba(255, 96, 133, 0.25);
}

.cart-remove-btn svg {
    display: block;
    width: 14px;
    height: 14px;
}

.cart-bulk-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-top: 1px solid #E2E8F0;
    background: #F8FAFC;
}

.cart-bulk-actions .contact-form-btn.order-submit {
    width: auto;
    margin-top: 0;
    padding: 10px 20px;
    font-size: 14px;
}

#cart-update-msg {
    font-family: yekanR;
    font-size: 13px;
}

.cart-coupon-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: flex-end;
}

.cart-coupon-form label {
    flex: 1 1 100%;
    font-family: yekanM;
    font-size: 14px;
    color: #2D3748;
    font-weight: 600;
}

.cart-coupon-form input[type="text"] {
    flex: 1 1 140px;
    min-width: 0;
    border-radius: 6px;
    border: 1px solid #B7BEC7;
    padding: 10px 12px;
    font-family: yekanR;
    box-sizing: border-box;
}

.cart-coupon-form .contact-form-btn.order-submit,
.cart-coupon-remove .contact-form-btn.order-submit {
    width: auto;
    margin-top: 0;
    padding: 10px 16px;
    font-size: 14px;
    white-space: nowrap;
}

.cart-summary-panel .product-price-container {
    padding: 6px 0;
}

.cart-summary-panel .total-price-container {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #E2E8F0;
}

.cart-summary-panel .product-price-container .cart-shipping-options {
    flex: 1 1 100%;
    width: 100%;
}

.cart-summary-panel .product-price-txt:has(+ .cart-shipping-options) {
    width: 100%;
}

.cart-summary-panel .product-price-txt + .cart-shipping-options {
    margin-top: 0;
}

.cart-shipping-options {
    width: 100%;
    margin: 8px 0 4px;
}

.cart-shipping-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    margin-bottom: 8px;
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    cursor: pointer;
    font-family: yekanR;
    font-size: 14px;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.cart-shipping-option:has(input:checked) {
    border-color: #434C83;
    box-shadow: 0 0 0 1px #434C83;
}

.cart-shipping-option input {
    flex-shrink: 0;
    margin: 0;
}

.cart-shipping-option-name {
    flex: 1;
    text-align: right;
}

.cart-shipping-option-cost {
    font-family: yekanM;
    color: #434C83;
    white-space: nowrap;
}

.cart-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cart-actions form {
    width: 100%;
    margin: 0;
}

.cart-btn-pay.contact-form-btn.order-submit {
    width: 100%;
    margin-top: 0;
    box-sizing: border-box;
    padding: 14px 20px;
    font-size: 16px;
}

.cart-btn-clear {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 11px 16px;
    font-family: yekanM;
    font-size: 14px;
    color: #64748b;
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    cursor: pointer;
    transition: color 0.15s, border-color 0.15s, background 0.15s;
    box-sizing: border-box;
}

.cart-btn-clear:hover {
    color: #b91c1c;
    border-color: #fca5a5;
    background: #fef2f2;
}

.cart-btn-secondary.contact-form-btn.order-submit {
    background: #718096;
}

.cart-btn-secondary.contact-form-btn.order-submit:hover {
    background: #4A5568;
}

.cart-pending-panel {
    margin-bottom: 24px;
    text-align: right;
    overflow-x: auto;
}

.cart-pending-panel .your-order {
    text-align: right;
    margin-bottom: 12px;
}

.cart-pending-table {
    width: 100%;
    min-width: 480px;
    border: 1px solid #E2E8F0;
    border-radius: 6px;
}

.cart-pending-table th,
.cart-pending-table td {
    text-align: center;
    padding: 10px;
}

.cart-pending-table th {
    font-family: yekanB;
    font-size: 14px;
    color: #4A5568;
    background: #F8FAFC;
}

.cart-pending-table td {
    font-family: yekanR;
    font-size: 14px;
}

.cart-pending-items-cell {
    padding: 0 !important;
    border-bottom: none !important;
}

.cart-coupon-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cart-pending-items {
    padding: 10px 12px 14px;
    background: #fafafa;
    border-radius: 0 0 8px 8px;
}

.cart-pending-item {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #E2E8F0;
}

.cart-pending-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.cart-empty-state {
    padding: 48px 16px;
}

@media screen and (min-width: 900px) {
    .cart-layout {
        flex-direction: row;
        align-items: flex-start;
    }

    .cart-main {
        flex: 1 1 58%;
        min-width: 0;
    }

    .cart-sidebar {
        flex: 0 0 340px;
        max-width: 380px;
        position: sticky;
        top: 16px;
    }
}

@media screen and (max-width: 899px) {
    .cart-table {
        table-layout: auto;
    }

    .cart-table thead {
        display: none;
    }

    .cart-table,
    .cart-table tbody,
    .cart-table tr,
    .cart-table td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    .cart-table tr.cart-item-row {
        position: relative;
        padding: 16px;
        border-bottom: 1px solid #E2E8F0;
        background: #fff;
    }

    .cart-table tr.cart-item-row:last-child {
        border-bottom: none;
    }

    .cart-table td {
        padding: 12px 0;
        border-bottom: none;
        text-align: center;
    }

    .cart-table td.cart-col:not(.cart-col-product) {
        border-bottom: 1px dashed #E8EDF3;
        margin-bottom: 4px;
        padding-bottom: 14px;
    }

    .cart-table td.cart-col-subtotal {
        border-bottom: none;
        margin-bottom: 0;
    }

    .cart-table td::before {
        content: attr(data-label);
        display: block;
        font-family: yekanM;
        font-size: 12px;
        color: #718096;
        margin-bottom: 8px;
        text-align: center;
    }

    .cart-table td.cart-col-product::before {
        display: none;
    }

    .cart-col-product {
        padding-top: 4px;
    }

    .cart-product-card {
        max-width: 220px;
    }

    .cart-col-attrs-cell {
        max-width: 100%;
    }

    .cart-attr-summary-toolbar {
        justify-content: center;
    }

    .cart-edit-item-btn {
        margin-inline-start: 0;
    }

    .cart-table-wrap {
        overflow-x: auto;
    }
}

@media screen and (min-width: 900px) and (max-width: 1100px) {
    .cart-table th,
    .cart-table td {
        padding-left: 4px;
        padding-right: 4px;
        font-size: 13px;
    }

    .cart-product-card {
        max-width: 140px;
        padding: 8px 6px;
    }

    .cart-product-thumb {
        width: 64px;
        height: 64px;
    }

    .cart-attr-pill {
        min-width: 88px;
        padding: 6px 8px;
    }
}

@media screen and (max-width: 520px) {
    .cart-panel {
        padding: 16px;
    }

    .cart-coupon-form {
        flex-direction: column;
        align-items: stretch;
    }

    .cart-coupon-form .contact-form-btn.order-submit {
        width: 100%;
    }
}

.filters-container {
    width: 20%;
    display: flex;
    flex-direction: column;
    gap: 16px;

}

.filters-container > form, .mobile-filters-container > form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.products-container {
    width: 80%;
    position: relative;
}

.filters-content {
    background: #F8F8FA;
    border-radius: 6px;
    padding: 5px 16px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.input-search {
    line-height: 24px;
    border: none;
    background: unset;
    font-family: YEKANR;
    font-size: 13px;
    color: #565F6B;
    outline: unset;
}

.out-stock-product, .category-product, .mobile-category-product {
    justify-content: space-between;
}

.filters-content span {
    font-family: YekanR;
    font-size: 14px;
    color: #000;
    line-height: 26px;
}

.select-stock {
    width: 40px;
    height: 20px;
    border-radius: 5000px;
    -webkit-appearance: none;
    cursor: pointer;
    background: #fff;
    position: relative;
    transition: all 0.3s;
    margin: 0;
}

.select-stock:checked[type="checkbox"] {
    background-color: #65C86F;
}

.select-stock:before {
    position: absolute;
    content: "";
    border-radius: 5000px;
    width: 16px;
    height: 16px;
    background: #9A9B9F;
    top: 1.5px;
    left: 1.5px;
    transition: all 0.3s;
}

.select-stock:checked[type="checkbox"]:before {
    left: 22px;
    background: #fff;
}

.category-toggle, .sort-toggle {
    width: 100%;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    margin-bottom: 12px;
}

.category-toggle-icon path {
    fill: #000;
}

.category-toggle-icon svg {
    transition: 0.3s all;
}

.category-product, .price-product, .sort-product, .mobile-category-product, .mobile-price-product,
.storefront-attribute-filters, .mobile-storefront-attribute-filters {
    flex-direction: column;
    overflow: hidden;
    max-height: 30px;
    transition: max-height 0.2s ease-out;
}

.check-category, .check-sort {
    display: inline-block;
    position: relative;
    width: 18px;
    height: 18px;
    -webkit-appearance: none;
    border-radius: 3px;
    transition: all .3s;
    cursor: pointer;
    outline: 0;
    border: 2px solid #434C83;
}

.check-category:checked[type="checkbox"], .check-sort:checked[type="checkbox"],
.check-attr-facet:checked[type="checkbox"] {
    background-position-y: center;
    background: #434C83 url(/assets/icons/check1.svg) no-repeat center;
    background-size: 80%;
}

.filter-categories, .filter-sort {
    width: 100%;
    display: flex;
    gap: 4px;
    margin-bottom: 8px;
}

.category-name, .sort-name {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: center;
    align-content: center;
}

.price_control {
    position: relative;
    margin-bottom: 25px;
}

.form_control {
    position: relative;
    display: flex;
    justify-content: space-between;
    font-size: 24px;
    color: #635a5a;
}

.price_control input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    pointer-events: all;
    width: 24px;
    height: 24px;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 1px #F0F2F5;
    cursor: pointer;
    border: 2px solid #004B69;
}

.price_control input[type=range]::-moz-range-thumb {
    -webkit-appearance: none;
    pointer-events: all;
    width: 24px;
    height: 24px;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 1px #F0F2F5;
    cursor: pointer;
    border: 2px solid #004B69;
}

.price_control input[type=range]::-webkit-slider-thumb:hover {
    background: #f7f7f7;
}

.price_control input[type=range]::-webkit-slider-thumb:active {
    box-shadow: inset 0 0 3px #387bbe, 0 0 9px #387bbe;
    -webkit-box-shadow: inset 0 0 3px #387bbe, 0 0 9px #387bbe;
}

#from-price, #mob-from-price {
    height: 0;
    z-index: 1;
}

.price_control input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    height: 4px;
    width: 100%;
    position: absolute;
    background-color: #F0F2F5;
    pointer-events: none;
    left: 0;
}

.range_container {
    display: flex;
    flex-direction: column;
    width: 80%;
    margin: auto;
}

.filter-price {
    width: 100%;
    direction: ltr;
}

.range-input-container {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-evenly;
    align-items: center;
    border: 1px solid #DCE0E5;
    border-radius: 6px;
    padding: 8px;
    margin-bottom: 16px;
}

.range-input-container span {
    color: #747D8A;
}

.range-input {
    border: none;
    outline: none;
    text-align: center;
    background: unset;
}

.range-label-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 18px 0;
}

.filters-btn {
    border-radius: 10px;
    background: #434C83;
    padding: 12px 48px;
    color: #fff;
    font-size: 16px;
    font-family: YekanM;
    border: unset;
    cursor: pointer;
    line-height: 16px;
}

.filters-navbar-container {
    padding: 16px;
    background: #F7F8FA;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.filters-navbar {
    flex-grow: 1;
}

.filters-navbar ul {
    display: flex;
    gap: 25px;
    margin: 0;
    justify-content: right;
    align-items: center;
    padding: 0 20px;
}

.filters-navbar ul li {
    list-style: none;
    font-family: YekanM;
    font-size: 14px;
    color: #282B2E;
    cursor: pointer;
    transition: 0.3s all;
}

.filters-navbar ul li a {
    color: #282B2E;
    text-decoration: none;
}

.filters-navbar ul li:hover a {
    color: #434C83;
}

.sort-filter-active a {
    color: #434C83 !important;
}

.filters-navbar ul li::after {
    content: "";
    width: 0;
    height: 4px;
    border-radius: 0 0 6px 6px;
    background: #434C83;
    display: block;
    position: relative;
    top: 16px;
    transition: 0.3s all;
}

.sort-filter-active::after {
    width: 104% !important;
}

.filters-navbar ul li:hover::after {
    width: 104%;
}

.filters-order-txt {
    display: flex;
    gap: 5px;
}

.order-icon svg, .open-filter-icon svg {
    width: 18px;
    height: 18px;
}

.order-txt, .open-filter-txt {
    font-family: YekanM;
    font-size: 14px;
    color: #000;
}

.shop-filtered-products {
    gap: 18px;
}

.top-search-product {
    margin-bottom: 15px;
    display: none;
}

.search-icon {
    display: flex;
}

.top-filter-product {
    display: none;
    gap: 5px;
    position: absolute;
    left: 0;
    top: -35px;
}

.mobile-filters-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
}

.mobile-filters-container .sort-product {
    display: none;
}

#product_count {
    padding: 0 5px;
    width: 40px;
    height: 30px;
    border: 1px solid #E2E8F0;
    border-radius: 6px;
    outline: unset;
}

.product-unit {
    display: inline;
    font-family: YekanR;
    font-size: 14px;
    color: #4A5568;
    margin-right: 4px;
}

@media screen and (max-width: 1050px) {
    .filters-container {
        display: none;
    }

    .top-search-product {
        display: flex;
    }

    .top-filter-product {
        display: flex;
    }

    .products-container {
        width: 100%;
    }

    .product-img {
        width: 100%;
    }

    .main:has(.storefront-page) {
        height: calc(100vh - 40px);
        max-height: calc(100vh - 40px);
    }
}

@media screen and (max-width: 1020px) {
    .quick-view-dialog__body {
        padding: 20px;
        gap: 20px;
    }

    .checkout-container {
        flex-direction: column;
    }

    .order-summery, .user-infos {
        width: 100%;
        box-sizing: border-box;
    }

    .product-summery {
        justify-content: flex-start;
    }
}

@media screen and (max-width: 950px) {
    .product-container,
    .storefront-product-grid,
    .shop-filtered-products {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 12px;
    }

    .quick-view-dialog__body {
        flex-direction: column;
        gap: 20px;
    }

    .quick-view-dialog__gallery,
    .quick-view-dialog__info {
        flex: 1 1 100%;
        width: 100%;
    }
}

@media screen and (max-width: 840px) {
    .filters-navbar-container {
        display: none;
    }

    .mobile-filters-container .sort-product {
        display: flex;
    }
}

@media screen and (max-width: 760px) {

    .main {
        max-width: 695px;
        margin: 24px;
    }

    .nav {
        padding: 0;
    }

    .sidebar {
        width: 175px;
        padding: 32px 16px;
    }

    .main-container {
        width: calc(100% - 200px);
    }

    .nav ul {
        justify-content: center;
    }

    .profile-img {
        width: 100px;
    }

    .shop-name {
        font-size: 14px;
    }

    .shop-info {
        font-size: 12px;
    }

    .user-profile-icons {
        min-width: 32px;
        height: 32px;
        width: 32px;

    }

    .user-profile-icons svg {
        width: 22px;
        height: 22px;
    }

    .user-info-iconbox {
        flex-direction: column;
        align-items: flex-start;
    }

    .terms-description, .about-shop-description {
        font-size: 14px;
    }

}

@media screen and (max-width: 660px) {
    .product-container,
    .storefront-product-grid,
    .shop-filtered-products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .storefront-product-card__body {
        padding: 10px;
    }

    .storefront-product-card__title {
        font-size: 13px;
        min-height: 38px;
    }

    .storefront-product-card__price-current {
        font-size: 14px;
    }

    .storefront-product-card__price-old {
        font-size: 11px;
    }

    .storefront-product-card__cta {
        font-size: 12px;
        padding: 8px 10px;
    }

    .storefront-modal {
        padding: 10px;
    }

    .quick-view-dialog__body {
        padding: 16px 14px 20px;
    }

    .product-info-title {
        font-size: 18px;
        padding-left: 40px;
    }

    .product-info-des-wrap {
        max-height: 120px;
    }

    .product-summery {
        flex-direction: column;
    }

    .product-summery-img {
        width: 100%;
    }
}

@media screen and (max-width: 600px) {
    .order-summery {
        padding: 10px;
    }
}

@media screen and (max-width: 500px) {

    .main {
        max-width: 370px;
        margin: 24px auto;
        flex-direction: column;
        gap: 24px;
    }

    .main:has(.storefront-page) {
        height: auto;
        max-height: none;
    }

    .main:has(.storefront-page) .main-container {
        height: auto;
        max-height: calc(100vh - 150px);
    }

    .main:has(.storefront-page) > .sidebar {
        min-height: 0;
    }

    .storefront-page:not(.storefront-page--shop-listing) {
        max-height: calc(100dvh - 180px);
        min-height: 280px;
    }

    .storefront-page--shop-listing {
        min-height: 360px;
        max-height: calc(100dvh - 180px);
    }

    .main-container {
        width: 100%;
        padding: 0;
    }

    .sidebar {
        width: calc(100% - 32px);
    }

    .user-inf {
        flex-direction: row;
        margin-bottom: 24px;
        gap: 16px;
    }

    .main-container > .nav > ul {
        display: none;
    }

    .mobile-menu {
        display: flex;
    }

    .sidebar .user-profile-info {
        display: none;
    }

    .sidebar .poweredBy {
        display: none;
    }

    .personal-page-btn {
        margin-bottom: 0;
    }

    .mobile-footer {
        display: block;
    }

    .user-info-iconbox {
        flex-direction: row;
        align-items: center;
    }

    .main-container .sidebar {
        display: block;
        margin-top: 24px;
    }

    .main > .sidebar {
        display: none;
    }

    .carousel-control-container {
        margin-top: 6px;
    }

    .product-image-thumbnail {
        gap: 6px;
    }

    .order-summery {
        padding: 24px;
    }
}

@media screen and (min-width: 670px) {
    .content:not(:has(.storefront-page)) {
        min-height: calc(100% - 80px);
    }
}

@media screen and (min-width: 500px) and (max-width: 670px) {
    .content:not(:has(.storefront-page)) {
        min-height: calc(100% - 136px);
    }

    .btn-part{
        display: flex;
        gap: 20%;
        margin-top: 20px;
    }

}

@media screen and (min-width: 250px) and (max-width: 500px) {

    .btn-part{
        display: flex;
        gap: 20%;
        margin-top: 20px;
    }

    .contact-form-btn{

    }

}
@media screen and (min-width: 250px) and (max-width: 1191px) {
    .contact-form-btn{
        padding: 5px 25px;
    }
}

form .form-field-wrapper span.inputStatus.empty {
    position: relative;
    bottom: 0;
    right: 0;
    top: unset;
    display: block;
}

form.checkoutForm span.inputStatus, form.checkoutForm span.selectStatus.empty {
    font-size: 14px;
}

form span.inputStatus.empty {
    color: #FF6085;
    font-size: 12px;
    font-family: YekanM;

    /*visibility: hidden;*/
    /*display: none*/
}

form.formBilderParent span.inputStatus, form.formBilderParent span.selectStatus.empty {
    bottom: 50px;
}

form span.inputStatus.tik {
    color: #00ccc5
}
.contact-form-btn:disabled {
    background: #CECECE;
    color: #5E5E5E;
    box-shadow: none;
    border: none;
    cursor: no-drop;
}
form span.inputStatus.multipliedBy {
    color: #ff6085;
    font-size: 30px;
    left: 5px;
    top: 30px;
}

form span.inputStatus {
    position: relative;
    z-index: 20;
    /*left: 10px;*/
    /*top: -6px;*/
    /*bottom: 55px;*/
    margin: 0 3px 2px !important;
}

form .Error {
    /*border: 1px solid #ff608582 !important;*/
    color: #ff6085 !important;
    border-radius: 5px;
}

.discount_input {
    background: none;
    padding-left: 90px;
}
.discount_input::placeholder{
    color: #2D3748 !important;
    background: none;
}

div.contact-form-input-container.discount {
    /*width: 250px;*/
    margin-top: 20px;
}

/* --- Product configurable attributes (storefront) --- */
.product-attr-picker {
    margin: 16px 0;
    padding: 12px 14px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #E2E8F0;
}

.product-attr-picker-title {
    font-weight: 600;
    margin: 0 0 12px;
    font-size: 15px;
    color: #2D3748;
}

.product-attr-fieldset {
    border: none;
    margin: 0 0 14px;
    padding: 0;
}

.product-attr-fieldset:last-child {
    margin-bottom: 0;
}

.product-attr-legend {
    font-weight: 600;
    font-size: 14px;
    margin: 0 0 8px;
    padding: 0;
    color: #434C83;
}

.product-attr-values {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
}

.product-attr-option {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #2D3748;
    user-select: none;
}

.product-attr-option input.product-attr-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.product-attr-marker {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #434C83;
    flex-shrink: 0;
    box-sizing: border-box;
    background: transparent;
}

.product-attr-option input.product-attr-input:checked + .product-attr-marker {
    background: #434C83;
    box-shadow: inset 0 0 0 3px #fff;
}

.product-attr-option input.product-attr-input:focus-visible + .product-attr-marker {
    outline: 2px solid #434C83;
    outline-offset: 2px;
}

.product-attr-label-text {
    line-height: 1.3;
}

.product-attr-cart-lines {
    margin-top: 8px;
    text-align: center;
    width: 100%;
    max-width: 220px;
}

.product-attr-cart-line {
    margin: 4px 0 0;
    font-size: 13px;
    color: #4A5568;
}

.product-attr-cart-name {
    font-weight: 600;
    color: #434C83;
}

.product-attr-cart-line-muted {
    font-size: 12px;
    color: #718096;
}

.storefront-attribute-filters-body {
    padding-top: 4px;
    padding-bottom: 8px;
}

.storefront-attr-filter-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.storefront-attr-filter-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 9px;
    height: 20px;
    padding: 0 6px;
    border-radius: 10px;
    background: #434C83;
    color: #fff !important;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
}

.storefront-attr-filter-hint,
.attribute-facet-group-note {
    margin: 0 0 8px;
    font-size: 12px;
    line-height: 1.5;
    color: #718096;
}

.attribute-facet-group {
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid #EDF2F7;
}

.attribute-facet-group:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.attribute-facet-group-title {
    font-weight: 600;
    font-size: 14px;
    color: #2D3748;
    margin: 4px 0 2px;
}

.filter-attr-row {
    cursor: pointer;
    border-radius: 6px;
    padding: 4px 6px;
    margin-bottom: 4px;
    transition: background 0.15s ease;
}

.filter-attr-row:hover:not(.filter-attr-row--disabled) {
    background: #F7FAFC;
}

.filter-attr-row--selected {
    background: #EDF2F7;
}

.filter-attr-row--disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.filter-attr-row .attr-facet-count {
    font-size: 12px;
    font-weight: 400;
    margin-right: 4px;
    background: #2980b9;
    border-radius: 12px;
    padding: 0 9px;
    color: #fff;
    height: 22px;
    position: relative;
    right: 5px;
}


.filter-attr-row--selected .attr-facet-value {
    font-weight: 600;
    color: #434C83;
}

.storefront-active-attribute-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 16px;
    padding: 10px 12px;
    background: #F7FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
}

.storefront-active-filter-chip {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #CBD5E0;
    font-size: 13px;
    color: #434C83;
    line-height: 1.4;
    font-family: YekanR;
}

/* --- Order tracking (storefront) --- */
.order-tracking-page {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 12px 32px;
}

.order-tracking-search-card {
    margin-bottom: 24px;
    padding: 20px;
}

.tracking-hint {
    color: #718096;
    font-size: 14px;
    margin: 0 0 16px;
    line-height: 1.6;
}

.tracking-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.order-tracking-results {
    margin-top: 8px;
}

.tracking-results-count {
    font-weight: 600;
    margin: 0 0 12px;
    color: #434C83;
}

.order-tracking-card {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
}

.order-tracking-card-header {
    display: grid;
    grid-template-columns: repeat(4, 1fr) auto;
    gap: 12px;
    align-items: center;
    width: 100%;
    padding: 14px 16px;
    background: #fff;
    border: none;
    cursor: pointer;
    text-align: right;
    font: inherit;
}

.order-tracking-col {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.order-tracking-col .col-label {
    font-size: 12px;
    color: #718096;
}

.order-tracking-col .col-value {
    font-size: 14px;
    font-weight: 600;
    color: #2D3748;
    word-break: break-word;
}

.order-status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.order-status-badge.status-pending {
    background: #EDF2F7;
    color: #4A5568;
}

.order-status-badge.status-processing {
    background: #EBF8FF;
    color: #2B6CB0;
}

.order-status-badge.status-delivered {
    background: #F0FFF4;
    color: #276749;
}

.order-status-badge.status-cancelled {
    background: #FFF5F5;
    color: #C53030;
}

.order-toggle-icon {
    justify-content: center;
    align-items: center;
}

.order-tracking-detail {
    padding: 0 16px 16px;
    border-top: 1px solid #E2E8F0;
}

.order-detail-shipping {
    margin: 12px 0;
    font-size: 14px;
    color: #4A5568;
}

.order-items-table-wrap {
    overflow-x: auto;
}

.order-items-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.order-items-table th,
.order-items-table td {
    padding: 10px 8px;
    border-bottom: 1px solid #EDF2F7;
    text-align: right;
    vertical-align: top;
}

.order-items-table th {
    background: #F7FAFC;
    font-weight: 600;
    color: #434C83;
}

.order-tracking-empty {
    text-align: center;
    padding: 32px 16px;
    color: #718096;
}

.contact-form-input.is-invalid {
    border-color: #E53E3E;
}

.tracking-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.tracking-alert {
    padding: 12px 14px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.5;
}

.tracking-alert-error {
    background: #FFF5F5;
    color: #C53030;
    border: 1px solid #FEB2B2;
}

.tracking-phone-hint {
    font-size: 13px;
    color: #718096;
    margin: 0 0 12px;
}

.order-tracking-card--highlight {
    border-color: #434C83;
    box-shadow: 0 0 0 1px rgba(67, 76, 131, 0.15);
}

#order-tracking-submit:disabled {
    opacity: 0.75;
    cursor: wait;
}

@media (max-width: 768px) {
    .tracking-form-row {
        grid-template-columns: 1fr;
    }

    .order-tracking-card-header {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "id date"
            "total status"
            "toggle toggle";
    }

    .order-tracking-card-header .order-tracking-col:nth-child(1) {
        grid-area: id;
    }

    .order-tracking-card-header .order-tracking-col:nth-child(2) {
        grid-area: date;
    }

    .order-tracking-card-header .order-tracking-col:nth-child(3) {
        grid-area: total;
    }

    .order-tracking-card-header .order-tracking-col:nth-child(4) {
        grid-area: status;
    }

    .order-tracking-card-header .order-toggle-icon {
        grid-area: toggle;
    }

    .order-items-table thead {
        display: none;
    }

    .order-items-table tr {
        display: block;
        margin-bottom: 12px;
        border: 1px solid #EDF2F7;
        border-radius: 8px;
        padding: 8px;
    }

    .order-items-table td {
        display: flex;
        justify-content: space-between;
        gap: 12px;
        border: none;
        padding: 6px 4px;
    }

    .order-items-table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #718096;
        flex-shrink: 0;
    }
}

