/**/
.button {
    border: none;
    padding: 10px;
}

a.added_to_cart.wc-forward {
    display: none;
}

.woocommerce-message {
    position: fixed;
    bottom: 18px;
    background: #1c274c;
    color: #fff;
    padding: 14px;
    border-radius: 10px;
    z-index: 99999;
    font-size: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
    width: 50%;
    margin: 0 auto;
    text-align: center;
}

/* ====================== سایدبار فروشگاه ============== */
.col-sidebar.col-md-3{
    margin-top: 37px;
}

.shop-archive-container .shop-archive-row {
    display: flex;
    flex-wrap: wrap;
}

.shop-archive-container.sidebar-position-right .col-sidebar {
    order: 0;
}

.shop-archive-container.sidebar-position-right .col-main {
    order: 1;
}

.shop-archive-container.sidebar-position-left .col-sidebar {
    order: 1;
}

.shop-archive-container.sidebar-position-left .col-main {
    order: 0;
}

#commaShopArchiveResults .comma-shop-filter-error {
    padding: 24px;
    text-align: center;
    color: #b32d2e;
    background: #fcf0f1;
    border-radius: 12px;
    margin: 20px 0;
}

/**/
/* ==========================================
   استایل‌های صفحه آرشیو محصولات ووکامرس
   پشتیبانی از تمپلیت‌های: پیش‌فرض، ویژه، گرید، لیستی، میسونری
   ========================================== */

/* استایل‌های پایه برای تمام تولبارها */
.woocommerce .woocommerce-ordering,
.default-archive .woocommerce-ordering,
.custom-archive .woocommerce-ordering,
.list-archive .woocommerce-ordering,
.comma-masonry-archive .woocommerce-ordering {
    display: none !important;
}

.default-archive-toolbar,
.custom-archive-toolbar,
.grid-archive-toolbar,
.list-archive-toolbar,
.masonry-archive-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
    padding: 15px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    gap: 15px;
    transition: all 0.3s ease;
    margin-top: 14px;
}

/* ==========================================
   حالت پیش‌فرض (Default)
   ========================================== */
.default-archive-toolbar {
    background: linear-gradient(135deg, #f5f7fa 0%, #ebebeb 100%);
    border: 1px solid #e0e0e0;
}

.default-archive-toolbar .sorting-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.default-archive-toolbar .sorting-title {
    font-size: 15px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 25px;
}

.default-archive-toolbar .sorting-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.default-archive-toolbar .sort-item {
    display: inline-block;
    padding: 6px 14px;
    font-size: 13px;
    color: #2c3e50;
    text-decoration: none;
    border-radius: 20px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.default-archive-toolbar .sort-item:hover {
    background: var(--card-btn-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--card-btn);
}

.default-archive-toolbar .sort-item.active {
    background: var(--card-btn);
    color: #fff;
    border-color: var(--card-btn);
    box-shadow: 0 2px 8px var(--card-btn);
}

.default-archive-toolbar .result-wrapper {
    font-size: 14px;
    color: #2c3e50;
    background: rgba(255, 255, 255, 0.9);
    padding: 6px 18px;
    border-radius: 25px;
    font-weight: 500;
    width: max-content;
    margin: 0 auto;
}

/* کارت محصول پیش فرض */
.default-archive .products-default {
    gap: 17px;
}

.default-product-item {
    list-style: none;
}

.default-archive .products-default .default-product-card {
    background: #FBFBFB;
    border-radius: 16px;
    border: 1px solid #e5e5e5;
    padding: 16px;
    box-shadow: 0px 0px 20px 0px rgba(134, 134, 134, 0.1);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.products-default .default-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.products-default .default-product-card .discount-badge {
    position: absolute;
    top: -10px;
    right: -14px;
    background: var(--card-badge);
    color: var(--card-icon);
    border-radius: 50%;
    width: 55px;
    height: 55px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px var(--card-badge);
    z-index: 10;
}

.products-default .default-product-card .discount-amount {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.1;
}

.products-default .default-product-card .discount-text {
    font-size: 10px;
    font-weight: 500;
    opacity: 0.9;
}

.products-default .default-product-card .default-product-image {
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 200px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f9fafb;
    margin-top: 0;
}

.products-default .default-product-card .default-product-image .product-img {
    border-radius: 10px;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    background: white;
}

.products-default .default-product-card .default-product-details {
    padding: 10px 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    gap: 5px;
    width: 100%;
}

.products-default .default-product-card .default-product-title {
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    color: rgb(36, 26, 60);
    transition: color .3s;
    min-height: 48px;
    width: 100%;
}

.products-default .default-product-card:hover .default-product-title {
    color: var(--card-name);
}

.products-default .default-product-card .default-product-title a {
    color: inherit;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
}

.products-default .default-product-card .product-brand {
    display: flex;
    min-height: 19px;
    width: 100%;
    justify-content: center;
    align-items: center;
}

.products-default .default-product-card .product-brand .brand-name {
    font-size: 13px;
    color: #888;
}

.products-default .default-product-card .product-description {
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    color: #656565;
    text-align: center;
    overflow: hidden;
    min-height: 50px;
}

.products-default .default-product-card .product-card-footer {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 0 0;
    width: 100%;
    margin-top: auto;
}

.products-default .default-product-card .default-product-price {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

.products-default .default-product-card .default-product-price .price {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.products-default .default-product-card .default-product-price .woocommerce-Price-amount {
    color: var(--card-price);
    font-weight: 600;
    font-size: 15px;
    line-height: 24px;
}

.products-default .default-product-card .default-product-price del .woocommerce-Price-amount {
    color: #9ca3af;
    font-weight: 400;
    font-size: 13px;
    text-decoration: line-through;
}

.products-default .default-product-card .default-product-price ins {
    text-decoration: none;
}

.products-default .default-product-card .default-product-price ins .woocommerce-Price-amount {
    color: var(--card-price);
    font-weight: 700;
    font-size: 15px;
}

.products-default .default-product-card .default-product-price .woocommerce-Price-currencySymbol {
    font-size: 14px;
    color: #6b7280;
}

.products-default .default-product-card .product-action {
    display: flex;
    background: var(--card-btn);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 12px;
    overflow: hidden;
    height: 44px;
    width: 44px;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(139, 49, 150, 0.25);
}

.products-default .default-product-card .btn-action {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    outline: none;
    border-radius: 12px;
}

.products-default .default-product-card .product-action:hover {
    background: var(--card-btn-hover);
    box-shadow: 0 6px 20px var(--card-btn-hover);
    transform: scale(1.05);
}

.products-default .default-product-card .btn-action svg {
    transition: transform .5s;
    width: 22px;
    height: 22px;
}

.products-default .default-product-card .btn-action svg path{
    stroke: var(--card-icon);
}

.products-default .default-product-card .btn-action:hover svg {
    transform: rotateY(360deg);
}

@media screen and (max-width: 1200px) {
    .products-default .default-product-card {
        margin-bottom: 8px;
    }

    .products-default .default-product-card .product-action {
        width: 40px;
        height: 40px;
    }

    .products-default .default-product-card .default-product-title {
        font-size: 15px;
    }

    .products-default .default-product-card .default-product-price ins .woocommerce-Price-amount {
        font-size: 16px;
    }
}

@media screen and (max-width: 700px) {
    .products-default .default-product-card .discount-badge {
        top: -16px;
        right: -5px;
    }

    .products-default .default-product-card {
        margin-bottom: 8px;
    }

    .products-default .default-product-card .product-action {
        width: 42px;
        height: 42px;
    }

    .products-default .default-product-card .default-product-title {
        font-size: 16px;
    }
}

/* کارت محصول استایل یک */
.products-default .card-style1 {
    background: #FBFBFB;
    border-radius: 20px;
    border: 1px solid #e5e5e5;
    padding: 16px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.products-default .card-style1 .discount-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--card-badge);
    color: var(--card-icon);
    font-size: 14px;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 10px;
    z-index: 10;
    box-shadow: 0 4px 12px var(--card-badge);
    animation: discountPulse 2s ease-in-out infinite;
}

@keyframes discountPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.products-default .card-style1 .card-style1:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.products-default .card-style1 .card-style1-image {
    border: 1px solid var(--card-btn);
    border-radius: 30px;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 200px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f9fafb;
    border-radius: 12px;
    margin-top: 0;
}

.products-default .card-style1 .card-style1-image .product-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    background: white;
}

.products-default .card-style1 .card-style1:hover .card-style1-image .product-img {
    transform: scale(1.05);
}

.products-default .card-style1 .card-style1-body {
    padding: 15px 0 0;
    display: flex;
    flex-direction: column;
    flex: 0;
    gap: 3px;
    margin-top: auto;
}

.products-default .card-style1 .card-style1-title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
    text-align: center;
    min-height: 45px;
}

.products-default .card-style1 .card-style1-title a {
    color: rgba(26, 7, 68, 1);
    transition: color 0.2s ease;
}

.products-default .card-style1 .card-style1-title a:hover {
    color: var(--card-name);
}

.products-default .card-style1 .card-style1-description {
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    color: rgba(80, 89, 140, 1);
    text-align: center;
    overflow: hidden;
    min-height: 60px;
}

.products-default .card-style1 .card-style1-footer {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    min-height: 102px;
}

.products-default .card-style1 .product-price-col {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex-shrink: 0;
    min-width: 40%;
}

.products-default .card-style1 .price-label-text {
    color: #000000;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    text-align: right;
}

.products-default .card-style1 .price-orange-box {
    background: var(--card-btn);
    border-radius: 10px;
    padding: 5px 5px;
    text-align: center;
    min-height: 52px;
    transition: background 0.2s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.products-default .card-style1 .price-orange-box:hover {
    background: var(--card-btn-hover);
}

.products-default .card-style1 .price-amount {
    font-weight: 500;
    font-size: 13px;
    text-align: center;
    color: var(--card-icon);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    justify-content: center;
}

.products-default .card-style1 .price-amount del {
    opacity: 0.7;
    font-size: 11px;
    font-weight: 400;
    text-decoration: line-through !important;
    display: block;
    order: 2;
}

.products-default .card-style1 .price-amount ins {
    text-decoration: none;
    display: block;
    order: 1;
    font-weight: 500;
    font-size: 12px;
}

.products-default .card-style1 .price-amount .woocommerce-Price-currencySymbol {
    display: inline;
}

.products-default .card-style1 .product-actions {
    display: flex;
    flex: 1;
    background: rgba(193, 196, 227, 0.2);
    border-radius: 10px;
    overflow: hidden;
    min-height: 52px;
}

.products-default .card-style1 .btn-action {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 13px;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: background 0.25s ease;
    outline: none;
    border-radius: 10px;
}

.products-default .card-style1 .btn-action:hover {
    background:rgba(50, 51, 55, 0.2);
}

.products-default .card-style1 .btn-like.is-active svg path {
    fill: #ef4056;
}

.products-default .card-style1 .btn-compare.is-active svg path {
    stroke: #378fc6;
}

@media screen and (max-width: 768px) {
    .products-default .card-style1 .price-amount ins{
        font-size: 14px;
    }
    .products-default .card-style1 .price-amount{
        font-size: 14px;
    }
}

/* ریسپانسیو برای حالت RTL (فارسی) */
[dir="rtl"] .products-default .card-style1 .card-style1-footer {
    flex-direction: row-reverse;
}


/* کارت محصول دیجی کالا */
.products-default .digikala-product-card {
    --dk-primary: #00bf6f;
    --dk-primary-dark: #00994d;
    --dk-text: #3c4b5a;
    --dk-text-light: #6c7a89;
    --dk-border: #e0e0e2;
    --dk-bg: #ffffff;
    --dk-shadow: 0 1px 4px rgba(0,0,0,0.08);
    --dk-shadow-hover: 0 4px 12px rgba(0,0,0,0.12);
}

.products-default .digikala-product-card .dk-card {
    background: var(--dk-bg);
    border-radius: 0;
    overflow: hidden;
    box-shadow: var(--dk-shadow);
    transition: .3s;
}

.products-default .digikala-product-card .dk-card:hover {
    box-shadow: var(--dk-shadow-hover);
    /* border: 1px solid var(--dk-border);
    transition: .4s; */
}

.products-default .digikala-product-card .dk-card .dk-card-image {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    height: 230px;
}

.products-default .digikala-product-card .dk-card .dk-image-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.products-default .digikala-product-card .dk-card .dk-main-image,
.products-default .digikala-product-card .dk-card .dk-hover-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.3s ease;
    padding: 12px;
    overflow: hidden;
    color: dimgrey;
}

.products-default .digikala-product-card .dk-card .dk-hover-image {
    opacity: 0;
}

.products-default .digikala-product-card .dk-card:hover .dk-hover-image {
    opacity: 1;
}

.products-default .digikala-product-card .dk-card:hover .dk-main-image {
    opacity: 0;
}

.products-default .digikala-product-card .dk-card .dk-discount-badge {
    position: absolute;
    width: 50px;
    height: 50px;
    top: 5px;
    right: 5px;
    background: var(--card-badge);
    color: var(--card-icon);
    border-radius: 50%;
    padding: 7px;
    font-weight: bold;
    text-align: center;
    line-height: 1.3;
    z-index: 2;
}

.products-default .digikala-product-card .dk-card .dk-discount-badge span:first-child {
    font-size: 13px;
    font-weight: 800;
}

.products-default .digikala-product-card .dk-card .dk-discount-badge span:last-child {
    font-size: 10px;
    display: block;
}

/* نشان ویژه دیجی‌کالا */
.products-default .digikala-product-card .dk-card .dk-exclusive-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px);
    border-radius: 20px;
    padding: 4px 8px;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    color: #ff9800;
    z-index: 2;
}

.products-default .digikala-product-card .dk-card .dk-exclusive-badge svg path{
    stroke: var(--card-icons);
    fill: var(--card-icons);
}

.products-default .digikala-product-card .dk-card .dk-exclusive-badge span {
    color: white;
    font-weight: 500;
}

    /* دکمه نمایش سریع */
.products-default .digikala-product-card .dk-card .dk-quick-view {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.95);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    z-index: 3;
}

.products-default .digikala-product-card .dk-card:hover .dk-quick-view {
    opacity: 1;
    transform: translateY(0);
}

.products-default .digikala-product-card .dk-card .dk-quick-view:hover {
    background: var(--card-name);
    color: white;
}

.products-default .digikala-product-card .dk-card .dk-card-content {
    padding: 12px;
}

.products-default .digikala-product-card .dk-card .dk-product-title {
    margin: 0 0 8px 0;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.6;
    height: 40px;
    overflow: hidden;
    display: -webkit-box;
    /* -webkit-line-clamp: 2; */
    -webkit-box-orient: vertical;
}

.products-default .digikala-product-card .dk-card .dk-product-title a {
    color: var(--dk-text);
    text-decoration: none;
}

.products-default .digikala-product-card .dk-card .dk-product-title a:hover {
    color: var(--card-name);
}

.products-default .digikala-product-card .dk-card .dk-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.products-default .digikala-product-card .dk-card .dk-stars {
    display: flex;
    gap: 2px;
}

.products-default .digikala-product-card .dk-card .star {
    width: 14px;
    height: 14px;
}

.products-default .digikala-product-card .dk-card .dk-rating-count {
    font-size: 11px;
    color: var(--dk-text-light);
}

.products-default .digikala-product-card .dk-card .dk-no-rating {
    font-size: 11px;
    color: var(--dk-text-light);
    margin-bottom: 8px;
}

.products-default .digikala-product-card .dk-card .dk-quick-specs {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 10px;
    color: var(--dk-text-light);
}

.products-default .digikala-product-card .dk-card .dk-spec {
    background: #f5f5f7;
    padding: 2px 8px;
    border-radius: 20px;
}

.products-default .digikala-product-card .dk-card .dk-price-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
    gap: 8px;
    min-height: 50px;
}

.products-default .digikala-product-card .dk-card .dk-price-wrapper {
    flex: 1;
}

.products-default .digikala-product-card .dk-card .dk-price {
    font-size: 18px;
    font-weight: 700;
    direction: ltr;
    display: inline-block;
}

.products-default .digikala-product-card .dk-card .dk-old-price {
    font-size: 12px;
    color: #9e9e9e;
    text-decoration: line-through;
    margin-bottom: 4px;
}

.products-default .digikala-product-card .dk-card .dk-add-to-cart {
    background: var(--card-btn);
    border: none;
    border-radius: 8px;
    padding: 8px 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 500;
    color: var(--card-icon);
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.products-default .digikala-product-card .dk-card .dk-add-to-cart:hover {
    background: var(--card-btn-hover);
}

.products-default .digikala-product-card .dk-card .dk-add-to-cart svg {
    width: 16px;
    height: 16px;
}

/* وضعیت ناموجود */
/* .products-default .digikala-product-card .dk-card .dk-out-of-stock {
    margin-top: 8px;
    text-align: center;
}

.products-default .digikala-product-card .dk-card .dk-out-of-stock span {
    font-size: 11px;
    background: #f5f5f5;
    padding: 4px 12px;
    border-radius: 20px;
    color: var(--card-icons);
} */

@media (max-width: 768px) {
    .products-default .digikala-product-card .dk-card .dk-price {
        font-size: 15px;
    }

    .products-default .digikala-product-card .dk-card .dk-add-to-cart span {
        display: none;
    }

    .products-default .digikala-product-card .dk-card .dk-add-to-cart {
        padding: 8px;
    }

    .products-default .digikala-product-card .dk-card .dk-quick-specs {
        display: none;
    }
}

/* کارت محصول کلاسیک */
.products-default .hover-classic .discount-badge {
    position: absolute;
    top: 17px;
    right: 12px;
    background: var(--card-badge, #e74c3c);
    color: var(--card-icon);
    font-size: 14px;
    font-weight: 700;
    padding: 8px 12px;
    border-radius: 20px;
    z-index: 3;
    line-height: 1;
    letter-spacing: -0.5px;
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
    transition: transform .3s ease, box-shadow .3s ease;
    pointer-events: none;
}

/* انیمیشن موقع هاور */
@media (hover: hover) and (pointer: fine) {
    .products-default .hover-classic .product-inner:hover .discount-badge {
        transform: scale(1.2) translateY(5px);
        box-shadow: 0 4px 12px rgba(137, 137, 137, 0.4);
    }
}

.products-default .hover-classic {
    border-radius: 10px;
    height: 100%;
}

.products-default .hover-classic .product-inner{
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    transition: box-shadow .4s ease;
    position: relative;
    z-index: 1;
}

.products-default .hover-classic .product-thumbnail {
    overflow: hidden;
    position: relative;
    transition: transform .4s ease;
    border-radius: 10px 10px 0 0;
    background: #ffffff;
    height: 220px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.products-default .hover-classic .product-thumbnail a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.products-default .hover-classic .product-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .6s ease, filter .6s ease;
    filter: brightness(1);
    display: block;
    padding: 10px;
}

    /* تنظیمات hover برای دسکتاپ */
@media (hover: hover) and (pointer: fine) {
    .products-default .hover-classic :hover .product-thumbnail img{
        transform: scale(1.04);
        filter: brightness(1.05) saturate(1.1);
    }

    .products-default .hover-classic .product-inner:hover .product-thumbnail {
        transform: translateY(-12px);
    }

    .products-default .hover-classic .product-inner:hover {
        box-shadow: 0 8px 25px 0 rgba(0,0,0,0.12);
        z-index: 10;
    }
}

.products-default .hover-classic .product-summary {
    padding: 13px 20px;
    background: #fff;
    transition: transform .4s ease;
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
}

@media (hover: hover) and (pointer: fine) {
    .products-default .hover-classic .product-inner:hover .product-summary {
        transform: translateY(-40px);
        background-color: #fff;
        border-radius: 0 0 10px 10px;
    }
}

.products-default .hover-classic .product-inner .product-title {
    margin: 0;
    flex-shrink: 0;
    min-height: 45px;
}

.products-default .hover-classic .product-inner .product-title a {
    font-size: 15px;
    font-weight: 500;
    color: #1f302d;
    text-decoration: none;
    transition: color .3s ease;
    line-height: 1.5;
    display: -webkit-box;
    /* -webkit-line-clamp: 2; */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (hover: hover) and (pointer: fine) {
    .products-default .hover-classic .product-inner:hover .product-title a {
        color: var(--card-name);
    }
}

.products-default .hover-classic .product-brand {
    font-size: 12px;
    color: #888;
    margin-bottom: 8px;
    flex-shrink: 0;
    min-height: 20px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.products-default .hover-classic .product-brand .brand-label {
    color: #aaa;
}

.products-default .hover-classic .product-brand .brand-name {
    color: var(--card-brand);
    font-weight: 500;
}

.products-default .hover-classic .product-short-description {
    font-size: 13px;
    color: #777;
    line-height: 1.5;
    overflow: hidden;
    transition: opacity .4s ease, max-height .4s ease, margin .4s ease;
    opacity: 1;
    min-height: 42px;
    margin-bottom: 8px;
}

@media (hover: hover) and (pointer: fine) {
    .products-default .hover-classic .product-inner:hover .product-short-description {
        opacity: 0;
        max-height: 0;
        margin-top: 0;
        margin-bottom: 0;
    }
}

.products-default .hover-classic .price-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    margin-bottom: 8px;
    flex-shrink: 0;
    min-height: 30px;
    direction: ltr;
    justify-content: center;
}

.products-default .hover-classic .regular-price {
    font-size: 13px;
    color: #999;
    font-weight: 400;
}

.products-default .hover-classic .sale-price {
    font-size: 15px;
    color: var(--card-price);
    font-weight: 700;
}

.products-default .hover-classic .regular-price.no-sale {
    font-size: 16px;
    color: var(--card-price);
    text-decoration: none;
    font-weight: 700;
}

.products-default .hover-classic .buttons {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: -20px;
    height: 40px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .35s ease, transform .35s ease;
    pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
    .products-default .hover-classic .product-inner:hover .buttons {
        opacity: 1;
        transform: translateY(0);
        transition: opacity .35s ease .05s, transform .35s ease .05s;
        pointer-events: auto;
    }
}

.products-default .hover-classic .buttons .add-to-card {
    text-align: center;
    flex: 1;
    color: var(--card-icon);
    background: var(--card-btn);
    box-shadow: 0 4px 10px var(--card-btn);
    padding: 8px 6px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    word-spacing: -1px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.products-default .hover-classic .buttons .add-to-card:hover {
    background: var(--card-btn-hover);
    box-shadow: 0 2px 9px var(--card-btn-hover);
    transform: translateY(-2px);
}

.products-default .hover-classic .buttons .add-to-like {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.products-default .hover-classic .buttons .add-to-like svg,
.products-default .hover-classic .buttons .add-to-like svg path {
    transition: transform .3s ease, fill .3s ease;
}

.products-default .hover-classic .buttons .add-to-like:hover svg {
    transform: scale(1.3);
}

.products-default .hover-classic .buttons .add-to-like:hover svg path{
    fill: var(--card-icons);
}

@media(max-width: 700px){
    /* .products-default .hover-classic .discount-badge {
        top: 8px;
        right: 8px;
        font-size: 11px;
        padding: 4px 8px;
    } */

    .products-default .hover-classic .product-thumbnail {
        height: 200px;
    }

    /* غیرفعال کردن انیمیشن‌های hover در موبایل */
    .products-default .hover-classic .product-inner:hover .product-summary {
        transform: none;
    }

    .products-default .hover-classic .product-inner:hover .product-thumbnail {
        transform: none;
    }

    .products-default .hover-classic .product-inner:hover .product-thumbnail img {
        transform: none;
        filter: none;
    }

    /* نمایش کامل توضیحات در موبایل */
    .products-default .hover-classic .product-inner:hover .product-short-description,
    .product-short-description {
        opacity: 1;
        max-height: 60px;
        margin-bottom: 8px;
    }

    /* نمایش دکمه‌ها در موبایل */
    .products-default .hover-classic .buttons,
    .products-default .hover-classic .product-inner:hover .buttons {
        position: relative;
        left: 0;
        right: 0;
        bottom: auto;
        opacity: 1;
        transform: none;
        pointer-events: auto;
    }

    .products-default .hover-classic .product-short-description {
        font-size: 12px;
    }

    .products-default .hover-classic .product-inner .product-title {
        min-height: 38px;
    }

    .products-default .hover-classic .product-inner .product-title a {
        font-size: 14px;
        line-height: 1.3;
    }

    .products-default .hover-classic .product-summary {
        padding: 12px 14px;
    }

    .products-default .hover-classic .buttons .add-to-card {
        font-size: 12px;
        padding: 6px;
    }
}


/* ==========================================
   حالت ویژه (Custom)
   ========================================== */
.custom-archive-toolbar {
    background: linear-gradient(135deg, #ffff, #fff);
    border-radius: 20px;
    padding: 12px;
    border: 1px solid rgba(128, 128, 128, 0.18);
}

.custom-archive-toolbar .custom-sorting {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.custom-archive-toolbar .custom-label {
    font-size: 16px;
    font-weight: 600;
    color: #1c1a1a;
}

.custom-archive-toolbar .custom-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.custom-archive-toolbar .custom-btn {
    display: inline-block;
    padding: 12px;
    font-size: 14px;
    font-weight: 500;
    color: #1c1a1a;
    text-decoration: none;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.custom-archive-toolbar .custom-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(169, 165, 165, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.custom-archive-toolbar .custom-btn:hover::before {
    width: 300px;
    height: 300px;
}

.custom-archive-toolbar .custom-btn:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.3);
}

.custom-archive-toolbar .custom-btn.active {
    background: var(--card-btn-hover);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.custom-archive-toolbar .custom-result {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background: var(--card-btn-hover);
    padding: 8px 24px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
    width: max-content;
    margin: 0 auto;
}

/* کاما */
.custom-archive .products-default{
    gap:16px;
}
.default-product-item{
    list-style: none;
}

.products-default .wc-custom-product-card{
    background: #FBFBFB;
    border-radius: 20px;
    border: 1px solid #e5e5e5;
    padding: 18px;
    box-shadow: 0px 18px 45px 0px #D1D1D447;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.products-default .wc-custom-product-card:hover {
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.products-default .wc-custom-product-card .wc-custom-product-image {
    border-radius: 20px;
    overflow: hidden;
    display: block;
    width: 100%;
    height: 200px;
    aspect-ratio: 1 / 1;
    text-align: center;
    margin-bottom: 12px;
    flex-shrink: 0;
}

.products-default .wc-custom-product-card .wc-custom-product-image  .product-image {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    object-fit: contain;
    background: white;
    transition: transform 0.3s ease;
}

.products-default .wc-custom-product-card .wc-custom-product-image:hover .product-image {
    transform: scale(1.1);
}

.products-default .wc-custom-product-card .wc-custom-sale-badge {
    position: absolute;
    min-width: 40px;
    top: 0px;
    left: 17px;
    background: var(--card-badge);
    color: var(--card-icon);
    font-size: 14px;
    font-weight: 600;
    padding: 11px 8px;
    border-radius: 1px 1px 17px 17px;
    z-index: 2;
    line-height: 1.6;
    box-shadow: 0 2px 8px var(--card-badge);
}

.products-default .wc-custom-product-card .wc-custom-product-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.products-default .wc-custom-product-card .wc-custom-product-title {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    text-align: right;
    flex-shrink: 0;
    min-height: 41px;
}

.products-default .wc-custom-product-card .wc-custom-product-title a {
    text-decoration: none;
    color: #0c051a;
    transition: color 0.2s ease;
}

.products-default .wc-custom-product-card .wc-custom-product-title a:hover {
    color: var(--card-name);
}

.products-default .wc-custom-product-card .wc-custom-product-excerpt {
    font-size: 14px;
    font-weight: 400;
    line-height: 28px;
    color: #91989C;
    text-align: right;
    flex: 1;
    margin-bottom: auto;
}

.products-default .wc-custom-product-card .wc-custom-product-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 0 4px 4px;
    direction: rtl;
    flex-shrink: 0;
}

.products-default .wc-custom-product-card .wc-price-label {
    font-size: 16px;
    font-weight: 500;
    line-height: 28px;
    letter-spacing: -2%;
    color: #000000;
}

.products-default .wc-custom-product-card .wc-price-wrapper {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 8px;
}

.products-default .wc-custom-product-card .wc-price-regular {
    font-size: 13px;
    font-weight: 400;
    color: #91989C;
    text-decoration: line-through !important;
    line-height: 28px;
    letter-spacing: -2%;
}

.products-default .wc-custom-product-card .wc-price-sale {
    font-size: 15px;
    font-weight: 600;
    color: var(--card-price);
    line-height: 28px;
    letter-spacing: -2%;
}

.products-default .wc-custom-product-card .wc-price-value {
    font-size: 15px;
    font-weight: 500;
    line-height: 28px;
    letter-spacing: -2%;
    color: var(--card-price);
}

.products-default .wc-custom-product-card .wc-custom-product-actions {
    display: grid;
    grid-template-columns: 2fr 0.7fr 0.7fr;
    border-radius: 12px;
    overflow: hidden;
    background: var(--card-btnn);
    flex-shrink: 0;
    margin-top: auto;
    position: relative;
    isolation: isolate;
}

.products-default .wc-custom-product-card .wc-custom-product-actions::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0; /* شروع از راست */
    width: calc(100% * 2 / 3.4); /* عرض دکمه افزودن به سبد */
    height: 100%;
    background-color: var(--card-btn-hover);
    border-radius: 12px;
    z-index: 0;
    transition: transform 0.4s cubic-bezier(0.34, 0.2, 0.6, 1.1), width 0.4s cubic-bezier(0.34, 0.2, 0.6, 1.1);
}

.products-default .wc-custom-product-card .wc-custom-product-actions:has(.wc-custom-btn-like:hover)::before {
    width: calc(100% * 0.7 / 3.4); /* عرض دکمه لایک */
    transform: translateX(calc(-100% * (2 + 3.7) / 3.4 * (3.4 / 2))); /* حرکت به موقعیت لایک */
}

.products-default .wc-custom-product-card .wc-custom-product-actions:has(.wc-custom-btn-compare:hover)::before {
    width: calc(100% * 0.7 / 3.4); /* عرض دکمه مقایسه */
    transform: translateX(calc(-100% * (2 + 0.7) / 3.4 * (3.4 / 0.7))); /* حرکت به موقعیت مقایسه */
}

.products-default .wc-custom-product-card .wc-custom-btn-part {
    border-radius: 16px;
    border: none;
    outline: none;
    background: transparent;
    font-size: 12px;
    padding: 10px 8px;
    cursor: pointer;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    position: relative;
    z-index: 2;
}

.products-default .wc-custom-product-card .wc-custom-btn-part p{
    color: var(--card-icon);
    font-size: 13px;
    font-weight: 500;
}

.products-default .wc-custom-product-card .wc-custom-product-actions:has(.wc-custom-btn-compare:hover) .wc-custom-btn-part p,
.products-default .wc-custom-product-card .wc-custom-product-actions:has(.wc-custom-btn-like:hover) .wc-custom-btn-part p{
    color: var(--card-icons);
}

.products-default .wc-custom-product-card .wc-custom-btn-part .wc-custom-btn-add-to-cart svg path {
    fill: var(--card-icon);
    stroke: var(--card-icon);
    stroke-opacity: 0.7;
}

.products-default .wc-custom-product-card .wc-custom-product-actions:has(.wc-custom-btn-compare:hover) .wc-custom-btn-add-to-cart svg path,
.products-default .wc-custom-product-card .wc-custom-product-actions:has(.wc-custom-btn-like:hover) .wc-custom-btn-add-to-cart svg path{
    fill: var(--card-icons);
    stroke: var(--card-icons);
}

.products-default .wc-custom-product-card .wc-custom-btn-like,
.products-default .wc-custom-product-card .wc-custom-btn-compare {
    font-size: 1.1rem;
}

.products-default .wc-custom-product-card .wc-custom-btn-like:hover {
    color: var(--card-icon);
}

.products-default .wc-custom-product-card .wc-custom-btn-like:hover .wc-custom-icon-heart svg path {
    fill: var(--card-icon);
}

.products-default .wc-custom-product-card .wc-custom-btn-compare:hover {
    color: var(--card-icon);
}

.products-default .wc-custom-product-card .wc-custom-btn-compare:hover .wc-custom-icon-compare svg path {
    stroke: var(--card-icon);
}

.products-default .wc-custom-product-card .wc-custom-icon-heart,
.products-default .wc-custom-product-card .wc-custom-icon-compare {
    font-size: 1.1rem;
    line-height: 0.5;
}

.products-default .wc-custom-product-card .wc-custom-icon-heart svg path,
.products-default .wc-custom-product-card .wc-custom-icon-compare svg path {
    transition: fill 0.3s ease, stroke 0.3s ease;
}

.products-default .wc-custom-product-card .wc-custom-btn-like.is-active .wc-custom-icon-heart svg path {
    fill: #ef4056;
}

.products-default .wc-custom-product-card .wc-custom-btn-compare.is-active .wc-custom-icon-compare svg path {
    stroke: #378fc6;
}

.products-default .wc-custom-product-card .wc-custom-product-actions:has(.wc-custom-btn-add-to-cart-main:hover)::before {
    width: calc(100% * 2 / 3.4);
    transform: translateX(0);
}

/* دمو شیپاکس */
.products-default .product-card {
    position: relative;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    box-shadow: 0px 4px 88px 0px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.2s ease;
    height: 100%;
    gap: 0;
}

.products-default .product-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.products-default .product-card .product-card-discount {
    position: absolute;
    top: -18px;
    left: -18px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.products-default .product-card .product-card-discount svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 65px;
    height: 65px;
    display: block;
    transition: all 0.4s ease;
}

.products-default .product-card .product-card-discount svg path {
    position: static;
    width: auto;
    height: auto;
    align-items: center;
    justify-content: center;
    fill: var(--card-badge);
}

.products-default .product-card:hover .product-card-discount svg{
    transform: rotate(90deg);
}

.products-default .product-card .discount-text {
    position: absolute;
    z-index: 1;
    color: var(--card-icon);
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    display: flex;
    top: 20px;
    padding-left: 66px;
}

.products-default .product-card .product-card-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 200px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f9fafb;
    border-radius: 12px;
    margin-top: 0;
}

.products-default .product-card .product-card-image .product-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    background: white;
}

.products-default .product-card:hover .product-card-image .product-img{
    transform: scale(1.05);
}

.products-default .product-card .product-card-info{
    display: flex;
    flex-direction: column;
    flex: 1;
}

.products-default .product-card .product-card-title {
    margin-top: 12px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    color: rgba(0, 0, 0, 1);
    text-align: center;
    flex-shrink: 0;
    min-height: 45px;
    overflow: hidden;
    margin-bottom: 0;
}

.products-default .product-card .product-card-title a {
    color: rgba(0, 0, 0, 1);
    text-decoration: none;
    transition: color 0.2s ease;
}

.products-default .product-card:hover .product-card-title a{
    color: var(--card-name);
}

.products-default .product-card .product-card-brand-wrapper {
    min-height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 7px;
    flex-shrink: 0;
}

.products-default .product-card .product-card-brand {
    font-weight: 500;
    font-size: 13px;
    line-height: 100%;
    letter-spacing: 0;
    color: #7a7a7a;
    text-align: center;
    display: block;
}

.products-default .product-card .product-card-excerpt-wrapper {
    font-size: 15px;
    font-weight: 400;
    line-height: 28px;
    color: #91989C;
    text-align: right;
    flex: 1;
    margin-bottom: 10px;
    min-height: 0;
}

.products-default .product-card .product-card-price {
    display: flex;
    text-align: left;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: end;
    margin: auto 0 0 0;
    min-height: 42px;
    flex-shrink: 0;
}

.products-default .product-card .product-price-sale {
    font-size: 15px;
    font-weight: 600;
    color: var(--card-price);
    order: 2;
    width: 100%;
    line-height: 100%;
}

.products-default .product-card .woocommerce-Price-currencySymbol{
    color: rgba(19, 19, 19, 1);
}

.products-default .product-card .product-price-regular {
    font-size: 13px;
    color: rgba(19, 19, 19, 1);
    opacity: 0.3;
    text-decoration: line-through !important;
    order: 1;
}

.products-default .product-card .product-card-cart-wrap {
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 0;
    margin: 0;
    line-height: 0;
    font-size: 0;
}

.products-default .product-card .product-card-cart {
    width: 52px;
    height: 52px;
    background-color: var(--card-btnn);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, transform 0.2s ease;
    border-top-left-radius: 20px;
    border-bottom-right-radius: 20px;
    border-top-right-radius: 0;
    border-bottom-left-radius: 0;
    margin: 0;
}

.products-default .product-card .product-card-cart svg path{
    stroke: var(--card-icons);
}

.products-default .product-card:hover .product-card-cart{
    background-color: var(--card-btn-hover);
    transform: scale(1.05);
}

.products-default .product-card:hover .product-card-cart:active{
    transform: scale(0.95);
}

.products-default .product-card:hover .product-card-cart svg path{
    stroke: var(--card-icon);
}

@media screen and (max-width: 700px) {
    .products-default .product-card .product-card-discount {
        top: -16px;
        left: -15px;
    }

    .products-default .product-card .product-card-excerpt-wrapper {
        max-height: 50px;
    }
}

/* ==========================================
   حالت گرید (Grid)
   ========================================== */
.grid-archive-toolbar {
    background: #2c3e50;
    border-radius: 8px;
    border-bottom: 3px solid #e74c3c;
}

.grid-archive-toolbar .grid-sorting {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.grid-archive-toolbar .grid-sorting span {
    font-size: 14px;
    font-weight: 600;
    color: #ecf0f1;
}

.grid-archive-toolbar .grid-select {
    padding: 10px 30px 10px 15px;
    font-size: 13px;
    font-weight: 500;
    color: #2c3e50;
    background: #ecf0f1;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232c3e50' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
}

.grid-archive-toolbar .grid-select:hover {
    background: #fff;
}

.grid-archive-toolbar .grid-result {
    font-size: 14px;
    color: #ecf0f1;
    background: rgba(236, 240, 241, 0.2);
    padding: 8px 18px;
    border-radius: 6px;
    font-weight: 500;
}

/* ==========================================
   حالت لیستی (List)
   ========================================== */
.list-archive-toolbar {
    background: #fff;
    border-right: 4px solid #ff6b6b;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.list-archive-toolbar .list-sorting {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.list-archive-toolbar .list-label {
    font-size: 14px;
    font-weight: 700;
    color: #ff6b6b;
    background: #fff0f0;
    padding: 6px 15px;
    border-radius: 25px;
}

.list-archive-toolbar .list-links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.list-archive-toolbar .list-link {
    display: inline-block;
    padding: 6px 16px;
    font-size: 13px;
    color: #555;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
}

.list-archive-toolbar .list-link:hover {
    background: #ff6b6b;
    color: #fff;
    border-color: #ff6b6b;
    transform: translateX(-2px);
}

.list-archive-toolbar .list-link.active {
    background: #ff6b6b;
    color: #fff;
    border-color: #ff6b6b;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
}

.list-archive-toolbar .list-result {
    font-size: 14px;
    color: #555;
    background: #f8f9fa;
    padding: 6px 18px;
    border-radius: 25px;
    border: 1px solid #e0e0e0;
}

/* ==========================================
   حالت میسونری (Masonry)
   ========================================== */
.masonry-archive-toolbar {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border-radius: 50px;
    padding: 18px 25px;
}

.masonry-archive-toolbar .masonry-sorting {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.masonry-archive-toolbar .masonry-sorting label {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.masonry-archive-toolbar .masonry-select {
    padding: 10px 35px 10px 20px;
    font-size: 14px;
    font-weight: 500;
    color: #f5576c;
    background: #fff;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f5576c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
}

.masonry-archive-toolbar .masonry-select:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.masonry-archive-toolbar .masonry-result {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: rgba(255, 255, 255, 0.25);
    padding: 8px 22px;
    border-radius: 40px;
    backdrop-filter: blur(5px);
}

/* ==========================================
   استایل موبایل (Responsive)
   ========================================== */
@media (max-width: 992px) {

    .default-archive-toolbar,
    .custom-archive-toolbar,
    .grid-archive-toolbar,
    .list-archive-toolbar,
    .masonry-archive-toolbar {
        flex-direction: column;
        text-align: center;
    }

    .default-archive-toolbar .sorting-wrapper,
    .custom-archive-toolbar .custom-sorting,
    .grid-archive-toolbar .grid-sorting,
    .list-archive-toolbar .list-sorting,
    .masonry-archive-toolbar .masonry-sorting {
        justify-content: center;
    }

    .default-archive-toolbar .sorting-links,
    .custom-archive-toolbar .custom-buttons,
    .list-archive-toolbar .list-links {
        justify-content: center;
    }

    .custom-archive-toolbar {
        padding: 20px;
    }
}

@media (max-width: 768px) {

    .default-archive-toolbar,
    .custom-archive-toolbar,
    .grid-archive-toolbar,
    .list-archive-toolbar,
    .masonry-archive-toolbar {
        gap: 15px;
    }

    .default-archive-toolbar .sorting-title {
        width: 100%;
        text-align: center;
    }

    .grid-archive-toolbar .grid-select,
    .masonry-archive-toolbar .masonry-select {
        width: 200px;
    }
}

@media (max-width: 480px) {

    .default-archive-toolbar .sort-item,
    .custom-archive-toolbar .custom-btn,
    .list-archive-toolbar .list-link {
        font-size: 12px;
        padding: 5px 12px;
    }

    .default-archive-toolbar,
    .custom-archive-toolbar,
    .grid-archive-toolbar,
    .list-archive-toolbar,
    .masonry-archive-toolbar {
        padding: 12px 15px;
    }

    .grid-archive-toolbar .grid-select,
    .masonry-archive-toolbar .masonry-select {
        width: 100%;
        text-align: center;
    }

    .custom-archive-toolbar .custom-label {
        font-size: 14px;
        width: 100%;
        text-align: center;
    }
}

/* ==========================================
   انیمیشن‌های ورود
   ========================================== */
.default-archive-toolbar,
.custom-archive-toolbar,
.grid-archive-toolbar,
.list-archive-toolbar,
.masonry-archive-toolbar {
    animation: slideInDown 0.5s ease-out;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* استایل hover پیشرفته برای دکمه‌ها */
.default-archive-toolbar .sort-item,
.custom-archive-toolbar .custom-btn,
.list-archive-toolbar .list-link {
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.default-archive-toolbar .sort-item,
.list-archive-toolbar .list-link {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* پشتیبانی از RTL */
.default-archive-toolbar,
.custom-archive-toolbar,
.grid-archive-toolbar,
.list-archive-toolbar,
.masonry-archive-toolbar {
    direction: rtl;
}

.result-wrapper,
.custom-result,
.grid-result,
.list-result,
.masonry-result {
    text-align: right;
}

/* استایل برای حالت خالی بودن محصولات */
.woocommerce-info,
.woocommerce-info:before {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
}

p.return-to-shop{
    text-align: center;
    margin: 30px 0 80px 0;
}

p.return-to-shop .wc-backward{
    border: 1px solid var(--cart-btn-bg);
    padding: 10px;
    border-radius: 15px;
    background: var(--cart-btn-bg);
    color: var(--cart-txt);
}

.custom-archive .products-default {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.default-archive .products-default {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

@media screen and (max-width: 1200px) {
    .custom-archive .products-default{
        grid-template-columns: repeat(2, 1fr);
    }

    .default-archive .products-default{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 700px) {
    .custom-archive .products-default{
        grid-template-columns: 1fr;
    }

    .default-archive .products-default {
        grid-template-columns: 1fr;
    }
}

/* دکمه بارگذاری بیشتر آرشیو فروشگاه */
.comma-shop-load-more-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin: 28px 0 8px;
}

.comma-shop-load-more-btn {
    min-width: 220px;
    padding: 12px 28px;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    background: #fff;
    color: #151828;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.comma-shop-load-more-btn:hover:not(:disabled) {
    background: #f8f9fa;
    border-color: #cfd4dc;
}

.comma-shop-load-more-btn:disabled,
.comma-shop-load-more-btn.is-loading {
    opacity: 0.7;
    cursor: wait;
}

.comma-shop-load-more-status {
    font-size: 13px;
    color: #6c757d;
}

.default-archive .woocommerce-pagination,
.custom-archive .woocommerce-pagination,
.list-archive .woocommerce-pagination,
.comma-masonry-archive .woocommerce-pagination {
    display: flex;
    justify-content: center;
    margin: 28px 0 8px;
}

.default-archive .woocommerce-pagination ul,
.custom-archive .woocommerce-pagination ul,
.list-archive .woocommerce-pagination ul,
.comma-masonry-archive .woocommerce-pagination ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.default-archive .woocommerce-pagination li,
.custom-archive .woocommerce-pagination li,
.list-archive .woocommerce-pagination li,
.comma-masonry-archive .woocommerce-pagination li {
    margin: 0;
}

.default-archive .woocommerce-pagination a,
.default-archive .woocommerce-pagination span,
.custom-archive .woocommerce-pagination a,
.custom-archive .woocommerce-pagination span,
.list-archive .woocommerce-pagination a,
.list-archive .woocommerce-pagination span,
.comma-masonry-archive .woocommerce-pagination a,
.comma-masonry-archive .woocommerce-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    background: #fff;
    color: #151828;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.default-archive .woocommerce-pagination a:hover,
.custom-archive .woocommerce-pagination a:hover,
.list-archive .woocommerce-pagination a:hover,
.comma-masonry-archive .woocommerce-pagination a:hover {
    background: #f8f9fa;
    border-color: #cfd4dc;
}

.default-archive .woocommerce-pagination .current,
.list-archive .woocommerce-pagination .current,
.comma-masonry-archive .woocommerce-pagination .current {
    background: var(--pagination-bg) !important;
    border-color: var(--pagination-bg) !important;
    color: var(--pagination-number) !important;
}

.custom-archive .woocommerce-pagination .current{
    background: var(--custom-pagination) !important;
    border-color: var(--custom-pagination) !important;
    color: var(--custom-pagination-number) !important;
}

.default-archive .woocommerce-breadcrumb a,
.default-archive .woocommerce-breadcrumb{
    color: var(--shop-breadcrump);
}

.custom-archive .woocommerce-breadcrumb a,
.custom-archive .woocommerce-breadcrumb{
    color: var(--custom-breadcrump);
}

/* افکت شیشه‌ای برای تولبارها در hover */
.custom-archive-toolbar:hover,
.masonry-archive-toolbar:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/**/
/*start style dashboard*/
.comma-form-myaccount-pen-edit-photo,
.comma-myaccount-pen-edit-photo {
    position: absolute;
    inset-inline-start: 0;
    bottom: 8px;
    z-index: 2;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    line-height: 0;
}

.comma-form-myaccount-pen-edit-photo img,
.comma-myaccount-pen-edit-photo img {
    width: 28px;
    height: 28px;
    display: block;
    margin: 0;
}

.comma-form-myaccount-photo {
    position: relative;
}

.comma-form-myaccount-photo.is-uploading .comma-profile-photo-img,
.comma-edit-account-photo.is-uploading .comma-profile-photo-img {
    opacity: 0.45;
}

.comma-profile-photo-loader {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 3px solid rgba(0, 0, 0, 0.12);
    border-top-color: var(--first-color);
    animation: comma-profile-spin 0.7s linear infinite;
    z-index: 3;
}

.comma-profile-photo-loader[hidden] {
    display: none !important;
}

@keyframes comma-profile-spin {
    to {
        transform: rotate(360deg);
    }
}

a.dashboard-order {
    color: inherit;
    text-decoration: none;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    cursor: pointer;
}

a.dashboard-order:hover {
    border-color: var(--first-color);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

a.dashboard-order.is-active {
    border-color: var(--first-color);
    background: #fff;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.04);
}

.dashboard-order h5 {
    font-size: 14px;
    font-weight: bold;
    color: #1a1a1a;
    margin: 0 0 4px;
}

.dashboard-order p {
    font-size: 12px;
    font-weight: bold;
    color: rgba(66, 66, 66, 0.75);
    margin: 0;
}

.cancelled h5 {
    color: #b20b0b;
}

.cancelled .dashboard-order-num {
    background: rgb(139 0 0 / 8%);
    color: #b20b0b;
}

.comma-form-myaccount-photo img {
    margin-bottom: 20px;
}

.comma-form-myaccount-edit-photo-btn {
    display: none;
}

/*section1*/

.woocommerce_account_dashboard_customized-section1.row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    margin: 0;
    width: 100%;
    padding-right: 10px;
}

.woocommerce_account_dashboard_customized-section1.row>[class*="col-"] {
    flex: 1 1 0px;
    min-width: 180px;
    padding: 0;
    margin: 0;
}

.dashboard-order {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 90px;
    background-color: #F8F8F8;
    border-radius: 20px;
    border: 1px solid #D9D9D9;
    padding: 20px 15px;
    box-sizing: border-box;
}

.dashboard-order .d-flex {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.wc_account_dashboard-section2 {
    margin-top: 1rem;
}

@media (max-width: 480px) {
    .wc_account_dashboard-section2 {
        flex-direction: column;
        gap: 12px;
    }
}

.dashboard_child {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 10px;
    background-color: #919191;
}

.dashboard_child img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    background-color: #919191;
}

.dashboard-order .dashboard-order-num {
    margin: 0;
    padding: 5px 15px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    white-space: nowrap;
    font-weight: bold;
}

@media (min-width: 769px) {
    .woocommerce_account_dashboard_customized-section1.row {
        gap: 15px;
    }
}

/* موبایل: کارت‌ها به صورت ستونی */
@media (max-width: 768px) {
    .woocommerce_account_dashboard_customized-section1.row {
        flex-direction: column;
        gap: 5px;
        margin-top: 15px;
        padding: 0;
    }

    .images-account {
        padding: 0 !important;
    }

    .dashboard-order {
        padding: 20px 12px;
    }
}

.woocommerce-MyAccount-navigation-link a {
    background: #EDEDED;
    color: var(--link-color-theme);
    border-radius: 20px;
    transition: .4s;
}

.woocommerce-MyAccount-navigation .edit-profile {
    bottom:0px;
    border: 0;
    background: unset;
}
#comma-myaccount-menu li:hover a,
#comma-myaccount-menu li.is-active a,
.woocommerce-MyAccount-navigation-link a:hover {
    background: var(--first-color);
    color: #fff;
    transition: .4s;
}

li.is-active.woocommerce-MyAccount-navigation-link a {
    background: var(--first-color);
    color: #fff;
    box-shadow: 0 0 5px 5px rgba(237, 237, 237, 0.45);
}

.woocommerce-MyAccount-navigation .profile-account {
    position: relative;
    border-radius: 10px;
    border: 1px solid #d8d8d8;
}

.woocommerce-MyAccount-navigation .profile-account:before {
    content: "";
    display: block;
    width: 30px;
    height: 2px;
    background: var(--first-color);
    border-radius: 5px;
    position: absolute;
    bottom: 0;
}

.woocommerce-MyAccount-navigation-link--customer-logout a {
    color: #FF2E00;
    background: rgba(255, 0, 0, 0.1);
}

.woocommerce-MyAccount-navigation-link--customer-logout a:hover {
    color: #FFf;
    background: #FF2E00;
    transition: .4s;
}

.woocommerce-content-style {
    margin: 20px 0;
    border-radius: 10px;
    /*box-shadow: 0 0 5px 5px rgb(231 230 230 / 28%);*/
}

/* My Account — edit account form */
.comma-edit-account-section .woocommerce-EditAccountForm {
    max-width: 100%;
}

.comma-edit-account-photo {
    position: relative;
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.comma-edit-account-photo__img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.comma-edit-account-photo__icon {
    position: absolute;
    bottom: 4px;
    left: calc(50% - 62px);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--first-color);
    color: #fff;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
     cursor:pointer;
}

.comma-edit-account-tabs__nav {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 4px;
    margin: 0 0 16px;
    background: #f3f3f3;
    border-radius: 12px;
}

.comma-edit-account-tabs__nav li {
    flex: 1;
    margin: 0;
}

.comma-edit-account-tabs__nav li a {
    display: block;
    text-align: center;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #555;
    text-decoration: none;
    background: transparent;
    transition: background 0.2s, color 0.2s;
}

.comma-edit-account-tabs__nav li.current a {
    background: #fff;
    color: var(--first-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.comma-edit-account-tabs .tabs_item {
    display: none;
    padding: 24px;
    background: #fafafa;
    border: 1px solid #e8e8e8;
    border-radius: 16px;
}

.comma-edit-account-tabs .tabs_item:first-child {
    display: block;
}

.comma-edit-account-fieldset {
    border: 0;
    margin: 0;
    padding: 0;
    min-width: 0;
}

.comma-edit-account-fieldset legend {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--first-color);
    display: inline-block;
    width: auto;
}

.comma-edit-account-fields-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.comma-edit-account-hint {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #888;
    line-height: 1.5;
}

.comma-edit-account-section .woocommerce-form-row label {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.comma-edit-account-section .woocommerce-form-row .required {
    color: #d32f2f;
}

.comma-edit-account-section .account-actions {
    display: flex;
    gap: 10px;
    margin-top: 24px;
    max-width: 420px;
}

.comma-edit-account-section .account-actions button {
    flex: 1;
    height: 44px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
}

.comma-edit-account-section .account-reset-btn {
    background: #f0f0f0;
    color: #444;
    border: 1px solid #ddd;
}

.comma-edit-account-section .account-reset-btn:hover {
    background: #e5e5e5;
}

/* My Account — shared panel tables */
.comma-myaccount-section {
    width: 100%;
}

.comma-myaccount-section__title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--first-color);
    display: inline-block;
}
.woocommerce-Button.wc-forward{color: #ffffff;
    background: var(--first-color);
    border-radius: 16px;
    width: fit-content;}

.comma-myaccount-empty {
    text-align: center;
    padding: 40px 20px;
    background: #f8f8f8;
    border: 1px dashed #d9d9d9;
    border-radius: 16px;
    color: #666;
    font-size: 14px;
}

.comma-panel-table-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    scrollbar-width: thin;
    scrollbar-color: var(--first-color) #f0f0f0;
}

.comma-panel-table-scroll::-webkit-scrollbar {
    height: 8px;
}

.comma-panel-table-scroll::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 999px;
}

.comma-panel-table-scroll::-webkit-scrollbar-thumb {
    background: var(--first-color);
    border-radius: 999px;
}

.comma-panel-table {
    width: 100%;
    min-width: 680px;
    border-collapse: separate;
    border-spacing: 0 10px;
    table-layout: fixed;
    margin: 0;
}

.comma-panel-table thead th {
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 700;
    color: #424242;
    background: #f3f3f3;
    border: 0;
    text-align: center;
    white-space: nowrap;
}

.comma-panel-table thead th:first-child {
    border-radius: 0 10px 10px 0;
}

.comma-panel-table thead th:last-child {
    border-radius: 10px 0 0 10px;
}

.comma-panel-table tbody td {
    padding: 14px;
    vertical-align: middle;
    border: 1px solid #e8e8e8;
    border-right: 0;
    border-left: 0;
    background: #fafafa;
    color: #333;
    font-size: 13px;
    line-height: 1.6;
    text-align: center;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.comma-panel-table tbody td:first-child {
    border-left: 1px solid #e8e8e8;
    border-radius: 0 12px 12px 0;
}

.comma-panel-table tbody td:last-child {
    padding:0;
    border-right: 1px solid #e8e8e8;
    border-radius: 12px 0 0 12px;
    -webkit-border-radius: 12px 0 0 12px;
    -moz-border-radius: 12px 0 0 12px;
    -ms-border-radius: 12px 0 0 12px;
    -o-border-radius: 12px 0 0 12px;
}

.comma-panel-table tbody tr.is-unseen td {
    background: linear-gradient(270deg, #fff8e1 0%, #fafafa 100%);
    border-color: #ffe082;
}

.comma-notifications-table th:nth-child(1),
.comma-notifications-table td:nth-child(1) {
    width: 8%;
}

.comma-notifications-table th:nth-child(2),
.comma-notifications-table td:nth-child(2) {
    width: 20%;
    text-align: right;
}

.comma-notifications-table th:nth-child(3),
.comma-notifications-table td:nth-child(3) {
    width: auto;
    text-align: right;
}

.comma-notifications-table th:nth-child(4),
.comma-notifications-table td:nth-child(4) {
    width: 18%;
    white-space: nowrap;
}

.comma-notif-id {
    display: inline-block;
    font-weight: 700;
    color: var(--first-color);
    background: rgb(23 24 27 / 8%);
    padding: 2px 10px;
    border-radius: 8px;
    font-size: 12px;
}

.comma-notif-title {
    font-weight: 700;
    color: #1a1a1a;
}

.comma-notif-badge {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    background: #ff9800;
    border-radius: 999px;
    vertical-align: middle;
}

.comma-notif-content {
    color: #555;
    text-align: right;
}

.comma-notif-date {
    color: #888;
    font-size: 12px;
}

#comma-myaccount-menu {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
}

#comma-myaccount-menu li {
    margin-bottom: 8px;
}

#comma-myaccount-menu li a {
    text-decoration: none;
}

/*end style dashboard*/
/*single product*/
.comma-wc {
    margin-top: 10px;
    background: #ffffff;
    padding: 0 30px 15px 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.024);
    border-radius: 25px;
}

.comma-shopix div.product div.images img {
    border-radius: 25px;
}

.comma-wc div.product .product_title {
    font-size: 25px;
    font-weight: 600;
    width: 100%;
    margin: 1rem 0 !important;
    padding: 10px;
}

.comma-shopix div.product .woocommerce-product-rating {
    margin: 20px 0;
}

.comma-shopix div.product .woocommerce-product-rating a {
    font-size: 13px;
    font-weight: 600;
    margin-left: 5px;
    color: #000;
    background-color: #f3f3f3;
    padding: 4px;
    border-radius: 10px;
}

.comma-shopix div.product .woocommerce-product-rating span {
    margin-left: 5px;
}

.comma-shopix div.product .woocommerce-product-rating svg {
    margin-inline: 5px;
}

.comma-shopix .product_meta {
    display: flex;
    flex-direction: column;
    margin-bottom: 14px;
}

.comma-shopix .star-rating span {
    color: #FFD600;
}

.shopix-simple-cart .add-to-cart-single-shopix {
    background: var(--first-color);
    position: relative;
    border-radius: 35px 15px 15px 14px;
    width: max-content;
}

.shopix-simple-cart form.cart .add-to-cart-single-shopix_button {
    background: transparent;
    width: 215.19px;
    text-align: start;
    font-size: 16px;
    font-weight: normal;
    position: relative;
    ;
    padding: 15px 10px;
    height: 55px;
    color: #FFFFFF;
    transition: .3s;
    border: 0;
}

.shopix-simple-cart form.cart {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.shopix-simple-cart .add-to-cart-single-shopix:hover svg {
    transition: .4s;
    transform: scale(1.1);
}

.shopix-simple-cart .add-to-cart-single-shopix svg {
    position: absolute;
    left: 0;
    top: 0;
    transition: .4s;
}

.shopix-simple-cart div.product form.cart div.quantity {
    display: none;
}

.shopix-simple-cart div.product p.price ins {
    color: #0057FF;
}

.shopix-simple-cart div.product p.price bdi {
    color: #0057FF;
}

.shopix-simple-cart div.product p.price .woocommerce-Price-currencySymbol {
    color: black;
}

.shopix-simple-cart div.product p.stock {
    color: #01a001;
}

.comma-shopix div.product p.stock span {
    color: black;
}

.comma-shopix .posted_in {
    margin: 5px 0;
}

.comma-shopix .posted_in a {
    color: #295e7c;
}

.comma-shopix .hr-single {
    opacity: .1;
}

.comma-shopix .woocommerce-product-gallery .flex-viewport {
    background: #F7F7F7;
    border-radius: 10px;
    padding: 10px;
}

.comma-shopix .woocommerce-product-gallery .flex-control-nav {
    display: flex;
}

.comma-shopix .woocommerce-product-gallery .flex-control-nav li {
    margin: 20px;
}

.comma-shopix .woocommerce-product-gallery .flex-control-nav li img {
    height: auto;
    background: #fff;
}

.comma-shopix .woocommerce-notices-wrapper {
    position: absolute;
    top: 75%;
    z-index: 1111;
    box-shadow: 0 0 12px 11px #64646438;
    right: auto;
    left: auto;
    transform: translate(-100%, -50%);
    background: teal;
    padding: 11px;
    border-radius: 10px;
    transition: .3s;
}

.comma-shopix .wc-block-components-notice-banner__content {
    color: #FFFFFF;
}

.comma-shopix .wc-block-components-notice-banner__content a {
    color: #FFFFFF;
    background: #02af1f;
    transition: .3s;
    margin-inline: 10px;
}

.comma-shopix .wc-block-components-notice-banner__content a:hover {
    color: #FFFFFF;
    background: #02af81;
    transition: .3s;
    margin-inline: 10px;
}

.comma-shopix .single-swiper {
    width: 100%;
    height: 55%;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
    list-style: none;
    padding: 0;
    z-index: 1;
    display: block;
}

.comma-wc .woocommerce-page div.product div.images {
    height: 100%;
}

.comma-wc .div.product {
    display: flex;

}

/* .product-box .star-rating {}

.comma-wc div.product div.summary {}

.comma-wc div.product div.images {} */

.comma-shopix_shop .woocommerce-loop-product__title,
.comma-shopix .woocommerce-loop-product__title {
    color: rgba(0, 0, 0, 0.92);
    font-size: 1rem;
    font-weight: bolder;
}

.comma-shopix_shop .added_to_cart,
.comma-shopix .added_to_cart {
    position: absolute;
    top: 0;

}

.comma-shopix_shop .not-fond {
    box-shadow: 0 0 10px 10px rgba(223, 223, 223, 0.24);
    padding: 10px;
    border-radius: 5px;
}

.comma-shopix_shop .price .woocommerce-Price-amount,
.comma-shopix .price .woocommerce-Price-amount {
    color: #00739c;
}

.comma-shopix_shop .price .woocommerce-Price-amount .woocommerce-Price-currencySymbol,
.comma-shopix .price .woocommerce-Price-amount .woocommerce-Price-currencySymbol {
    color: #00d912;
}

/*start style product*/
.product {
    margin: 2rem 0;
    position: relative;
    padding: 0 20px;
}

.product-box-1 .product-inner .product-thumbnail {
    overflow: hidden;
    position: relative;
    transition: .4s;
}

.product-box-1 .product-inner .product-thumbnail img {
    display: block;
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.product-box-1 .product-inner:hover {
    color: #161619;
    background-color: #fff;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, .1);
    ;
    transition: box-shadow .4s;
}

.product-box-1 .product-inner:hover a {
    color: #161619
}

.product-box-1 .product-inner:hover .product-thumbnail {
    transform: translateY(-20px)
}

.product-box-1 .product-inner .product-title {
    font-size: 16px;
    font-weight: 400;
    margin: 0 0 6px;
}

.product-box-1 .product-summary {
    padding: 14px 20px;
    background: #fff;
    transition: transform .4s;
}

.product-box-1 .buttons {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: right;
    padding-top: 15px;
    position: absolute;
    left: -30px;
    right: 20px;
    height: 40px;
    opacity: 0;
    transform: translateY(50%);
    transition: .4s;
}

.product-box-1 .buttons .add-to-card {
    color: black;
    font-weight: 600;
    word-spacing: -2px;
    margin-bottom: 10px;
    position: relative;
}

.product-box-1 .buttons .add-to-card::after {
    content: "";
    transition: .4s;
    width: 0;
    height: 1px;
    position: absolute;
    bottom: -7px;
    right: 0;
    background-color: var(--ba-cart-btn);
}

.product-box-1 .buttons .add-to-card:hover::after {
    transition: .4s;
    width: 100%;
}

.product-box-1 .product-inner:hover .product-summary {
    transform: translateY(-40px);
    background-color: #fff;
}

.product-box-1 .product-inner:hover .buttons {
    transform: none;
    opacity: 1;
}

/*end style product box hover mode*/
/*start style box product comma*/
.product-box-2 {
    margin-inline: 15px;
    fill: #FBFBFB;
    filter: drop-shadow(0px 18px 45px rgba(209, 209, 212, 0.28));
    border-radius: 25px;
}

.product-box-2 .product-inner .product-thumbnail {
    width: 100%;
    overflow: hidden;
    margin: auto;
    padding-bottom: 10px;
}

.product-box-2 .product-inner .product-thumbnail img {
    width: 100%;
    transition: .3s;
}

.product-box-2 .product-content {
    padding: 20px;
}

.product-box-2:hover .product-inner .product-thumbnail img {
    transform: scaleY(1.1);
    transition: .3s;
}

.product-box-2 .buttons {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--first-color);
    border-radius: 10px;
    padding-left: 12px;
    cursor: pointer;
}

.product-box-2 .add_to_cart_button {
    color: var(--white);
    background: #378FC6;
    padding: 8px;
    border-radius: 10px;
    transition: .3s;
}

.btn-card-shop {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* background: rgba(55, 143, 198, 0.24); */
    border-radius: 10px;
    /* padding-left: 12px; */
    cursor: pointer;
}

.product-box-2 .c-title-box {
    color: #1A0744;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 17px;
}

.product-box-2 .c-text-box {
    line-height: 28px;
    letter-spacing: -0.3px;
    color: rgba(145, 152, 156, 1);
}

.product-box-2 .price {
    display: flex;
    justify-content: space-between;
}

/*end style product*/

/*start style product box hover-other_image mode*/

/**/
.comma-shopix .woocommerce-tabs {
    background: #FFFFFF;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 0 10px 10px rgba(217, 217, 217, 0.38);

}

.comma-shopix .wc-tabs {
    display: flex;
    justify-content: center;
    border-radius: 10px;
    padding: 10px;
    background: #F0F0F0;
}

.comma-shopix .wc-tabs li {
    margin-inline: 10px;
    display: flex;
    align-items: center;
    transition: .4s;
    border-radius: 12px;
    padding: 15px 20px;
}

.comma-shopix .wc-tabs li a {
    display: block;
    margin-inline: 15px;
    border-radius: 10px;
    transition: .4s;
    color: rgba(42, 42, 42, 0.75);
    font-size: 17px;
    font-weight: 600;
}

.comma-shopix .wc-tabs li:hover {
    background-color: #FFFFFF;
    transition: .4s;
    color: #2A2A2A;
}

.comma-shopix .wc-tabs .active a {
    color: #2A2A2A;
}

.comma-shopix .wc-tabs .active {
    background-color: #FFFFFF;
    border-radius: 10px;
    transition: .4s;
}

.comma-shopix .woocommerce-Tabs-panel {
    padding: 15px;
}

.comma-shopix .woocommerce-Tabs-panel h2 {
    margin-bottom: 20px !important;
    width: max-content;
    border-bottom: 1px solid var(--secondary-color);
    font-size: 18px;
    font-weight: 600;
    color: var(--first-color)
}

.comma-shopix .woocommerce-Tabs-panel p {
    margin-top: 5px !important;
    color: rgba(44, 44, 44, 0.77);
}

.comma-shopix .related {
    margin: 15px 0;
}

.comma-shopix .related .related_heading {
    margin: 15px 0 !important;
    font-size: 1.5rem;
}

.onsale {
    position: absolute;
    right: 10px;
    background-color: #0f5e6c;
    color: #fff;
    box-shadow: 0 2px 10px 3px rgba(244, 244, 244, 0.54);
    padding: 1px;
    border-radius: 0 0 25px 25px;
    line-height: 50px;
}

.comma-shopix .onsale {
    right: unset;
    left: 94%;
    z-index: 1;
    top: 53px;
}

.comma-shopix .woocommerce-product-gallery__wrapper {
    text-align: center;
}

/* comments */
.comma-shopix #comments {
    text-align: center;
}

.comma-shopix #comments h3 {
    font-size: 36px;
    font-weight: bold;
    padding-bottom: 1rem;
}

.comma-shopix #comments span {
    font-size: 18px;
    font-weight: bold;
    color: var(--first-color);
}

.comma-shopix .comment-form .form-submit {
    text-align: center;
}

.comma-shopix .comment-form .form-submit input {
    background-color: #FFDF39;
    padding: 8px 15px;
    border-radius: 5px;
    border: none;
}

.comma-shopix .comment-form-comment textarea {
    width: 100%;
    border: dashed;
    padding: 10px;
}

.comma-shopix .comment_filed input {
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.2);
}

.comma-shopix .comment-form-rating {
    background: #eded1f;
    width: 17%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    padding: 6px 15px;
}

.comma-shopix .woocommerce-tabs #reviews p.stars a {
    position: relative;
    height: 1em;
    width: 1em;
    text-indent: -999em;
    display: inline-block;
    text-decoration: none;
    box-shadow: none;
}

.comma-shopix .woocommerce-tabs #reviews p.stars a::before {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    width: 1em;
    height: 1em;
    line-height: 1;
    /*font-family: WooCommerce;*/
    content: "\e021";
    text-indent: 0
}

.comma-shopix .woocommerce-tabs #reviews p.stars a:hover~a::before {
    content: "\e021"
}

.comma-shopix .woocommerce-tabs #reviews p.stars:hover a::before {
    content: "\e020"
}

.comma-shopix .woocommerce-tabs #reviews p.stars.selected a.active::before {
    content: "\e020"
}

.comma-shopix .woocommerce-tabs #reviews p.stars.selected a.active~a::before {
    content: "\e021"
}

.comma-shopix .woocommerce-tabs #reviews p.stars.selected a:not(.active)::before {
    content: "\e020"
}

.comma-shopix .comment-form-comment textarea:focus-visible {
    border: 3px dashed var(--first-color);
    outline: none;
}

.comma-shopix .comment-form-comment {
    margin: 20px 0;
}

.comma-shopix .comment-form-comment .comment {
    margin: 10px 0;
}

.comma-shopix .comment_filed {
    display: inline-block;
    margin: 15px 10px;
}

.comma-shopix .comment_filed input {
    padding: 10px;
}

.comma-shopix .comment_filed input::placeholder {
    direction: rtl;
    text-align: right;
    color: rgba(119, 119, 119, 0.64);
}

/* comments */

/*archiver*/
.show_num_product {
    font-size: 13px;
    font-weight: 500;
}

/* ═══ Cart / Checkout / Thank you — هماهنگ با دیزاین سیستم کاما (حساب کاربری) ═══ */
.comma-wc-funnel {
    color: var(--text-color);
}

.comma-wc-funnel__title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--black, #151828);
    margin: 0;
}

.comma-wc-funnel__title:after {
    content: "";
    display: block;
    width: 30px;
    height: 2px;
    margin-top: 8px;
    border-radius: 2px;
    background: var(--first-color);
}

.comma-wc-funnel .woocommerce-content-style {
    margin: 0;
}

.comma-wc-elementor-banner,
.comma-cart-elementor-banner,
.comma-checkout-elementor-banner,
.comma-thankyou-elementor-banner {
    margin-bottom: 1rem;
}

.comma-wc-elementor-notice {
    padding: 12px 16px;
    border-radius: 10px;
    background: var(--bg-box, #f8f9fa);
    border: 1px dashed var(--first-color);
}

.comma-wc-page-elementor .comma-wc-funnel {
    padding: 0;
}

/* دکمه‌های funnel — مثل حساب کاربری */
/* .comma-wc-funnel .comma-wc-btn,
.comma-wc-funnel .actions .button,
.comma-wc-funnel .comma-update-cart,
.comma-wc-funnel .wc-proceed-to-checkout .checkout-button,
.comma-wc-funnel .comma-cart-proceed-btn,
.comma-wc-funnel .woocommerce-checkout #payment .button,
.comma-wc-funnel #place_order {
    background: var(--first-color);
    color: #fff !important;
    border: none;
    border-radius: 20px;
    padding: 10px 20px;
    font-weight: 600;
    box-shadow: 0 0 5px 5px rgba(237, 237, 237, 0.45);
    transition: opacity .25s, background .25s;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
} */

.comma-wc-funnel .comma-wc-btn:hover,
.comma-wc-funnel .actions .button:hover,
.comma-wc-funnel .comma-update-cart:hover,
.comma-wc-funnel .wc-proceed-to-checkout .checkout-button:hover,
.comma-wc-funnel .comma-cart-proceed-btn:hover,
.comma-wc-funnel .woocommerce-checkout #payment .button:hover {
    opacity: .92;
    color: #fff;
}

.comma-wc-funnel .comma-wc-btn--outline {
    background: #EDEDED;
    color: var(--link-color-theme) !important;
    box-shadow: none;
}

.comma-wc-funnel .actions .button:disabled {
    opacity: .35;
    cursor: not-allowed;
}

.comma-wc-funnel .wc-proceed-to-checkout .checkout-button,
.comma-wc-funnel .comma-cart-proceed-btn,
.comma-wc-funnel .woocommerce-checkout #payment .button,
.comma-wc-funnel #place_order {
    width: 100%;
}

.comma-wc-funnel .comma-cart-proceed-btn__icon {
    background: rgba(255, 255, 255, .22);
    padding: 4px 6px;
    border-radius: 8px;
}

/* ── سبد خرید ── */
.comma-wc-funnel .comma-cart-form {
    width: 100%;
}

.comma-wc-funnel .woocommerce-cart-form__contents {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
}

.comma-wc-funnel .comma-cart-table-head th {
    font-size: 13px;
    font-weight: 600;
    color: var(--secondary-color);
    padding: 6px 12px;
    border-bottom: 1px solid #D9D9D9;
}

.comma-wc-funnel .woocommerce-cart-form__cart-item {
    background: #F8F8F8;
    border: 1px solid #D9D9D9;
    border-radius: 20px;
    box-shadow: none;
}

.comma-wc-funnel .woocommerce-cart-form__cart-item td {
    padding: 14px 12px;
    vertical-align: middle;
    border: none;
}

.comma-wc-funnel td.product-thumbnail {
    width: 96px;
}

.comma-wc-funnel td.product-thumbnail img {
    border-radius: 10px;
    max-width: 72px;
    height: auto;
    border: 1px solid #e8e8e8;
}

.comma-wc-funnel .woocommerce-cart-form__cart-item .product-name a {
    color: var(--text-color);
    font-weight: 600;
}

.comma-wc-funnel .woocommerce-cart-form__cart-item .product-price,
.comma-wc-funnel .woocommerce-cart-form__cart-item .product-subtotal {
    font-weight: 700;
    color: var(--first-color);
}

.comma-wc-funnel .woocommerce-cart-form__cart-item .product-remove .fa-trash-o {
    font-size: 1.15rem;
    color: #FF2E00;
}

.comma-wc-funnel .comma-cart-coupon {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    width: 100%;
}

.comma-wc-funnel .comma-cart-coupon .input-text,
.comma-wc-funnel .quantity .qty {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid var(--first-color);
    border-radius: 10px;
    background: #fff;
}

.comma-wc-funnel .cart-collaterals,
.comma-wc-funnel .comma-cart-collaterals {
    /* position: static; */
    width: 95%;
    margin: 0 auto;
}

.comma-wc-funnel .comma-cart-sidebar-box {
    position: sticky;
    top: 90px;
}

.comma-wc-funnel .cart_totals h2 {
    display: flex;
    align-items: center;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 14px !important;
}

.comma-wc-funnel .cart_totals h2:before {
    content: "";
    background: url(../image/wc/credit-card.svg) center no-repeat;
    height: 22px;
    width: 24px;
    background-size: contain;
    margin-inline-end: 8px;
}

.comma-wc-funnel .cart_totals .shop_table th,
.comma-wc-funnel .cart_totals .shop_table td {
    padding: 8px 0;
    border: none;
}

.comma-wc-funnel .cart_totals .order-total th,
.comma-wc-funnel .cart_totals .order-total td {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--first-color);
    border-top: 1px dashed #D9D9D9;
    padding-top: 10px;
}

.comma-wc-funnel a.remove.position-relative:hover .custom-tooltip {
    top: -45px;
    right: -50px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* ── پرداخت ── */
.comma-wc-funnel .comma-checkout-form .form-row label {
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-color);
}

.comma-wc-funnel .comma-checkout-form .form-row input.input-text,
.comma-wc-funnel .comma-checkout-form .form-row textarea,
.comma-wc-funnel .comma-checkout-form .form-row select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--first-color);
    border-radius: 10px;
    background: #fff;
}

.comma-wc-funnel .comma-checkout-form .form-row input.input-text:focus,
.comma-wc-funnel .comma-checkout-form .form-row textarea:focus,
.comma-wc-funnel .comma-checkout-form .form-row select:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 84, 247, 0.12);
}

.comma-wc-funnel .comma-checkout-summary__inner {
    position: sticky;
    top: 90px;
}

.comma-wc-funnel .comma-checkout-review-heading {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 14px !important;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--first-color);
}

.comma-wc-funnel .woocommerce-checkout-review-order-table {
    width: 100%;
    margin-bottom: 12px;
}

.comma-wc-funnel .woocommerce-checkout-review-order-table th,
.comma-wc-funnel .woocommerce-checkout-review-order-table td {
    padding: 8px 4px;
    border: none;
}

.comma-wc-funnel .woocommerce-checkout-review-order-table tbody tr:nth-child(even) {
    background: #F8F8F8;
    border-radius: 8px;
}

.comma-wc-funnel .woocommerce-checkout #payment {
    background: #F8F8F8;
    border: 1px solid #D9D9D9;
    border-radius: 20px;
    padding: 16px;
    margin-top: 8px;
}

/* ── تشکر ── */
.comma-wc-funnel .comma-thankyou-success-box {
    text-align: center;
}

.comma-wc-funnel .woocommerce-thankyou-order-received {
    background: transparent;
    color: var(--text-color);
    padding: 0;
    border-radius: 0;
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
}

.comma-wc-funnel .woocommerce-thankyou-order-received svg path {
    fill: var(--first-color);
}

.comma-wc-funnel .comma-thankyou-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 0;
    margin: 0 0 20px;
    list-style: none;
    background: transparent;
    box-shadow: none;
}

.comma-wc-funnel .comma-thankyou-meta li {
    flex: 1 1 160px;
    background: #F8F8F8;
    border: 1px solid #D9D9D9;
    border-radius: 20px;
    padding: 14px 16px;
    font-size: 13px;
}

.comma-wc-funnel .comma-thankyou-meta li strong {
    display: block;
    margin-top: 4px;
    font-size: 15px;
    color: var(--first-color);
}

.comma-wc-funnel .comma-thankyou-details .woocommerce-order-details,
.comma-wc-funnel .comma-thankyou-details .woocommerce-customer-details {
    background: transparent;
    box-shadow: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.comma-wc-funnel .comma-thankyou-details .woocommerce-order-details > *,
.comma-wc-funnel .comma-thankyou-details .woocommerce-customer-details > * {
    background: #fff;
}

.comma-wc-funnel .comma-thankyou-details .woocommerce-order-details,
.comma-wc-funnel .comma-thankyou-details .woocommerce-customer-details {
    border-radius: 10px;
    box-shadow: 0 0 5px 5px rgb(231 230 230 / 28%);
    padding: 16px 18px;
}

.comma-wc-funnel .woocommerce-order-details h2,
.comma-wc-funnel .woocommerce-customer-details h2 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 12px !important;
}

.comma-wc-funnel .woocommerce-order-details h2:after,
.comma-wc-funnel .woocommerce-customer-details h2:after {
    content: "";
    width: 30px;
    height: 2px;
    display: block;
    margin-top: 6px;
    border-radius: 2px;
    background: var(--first-color);
}

.comma-wc-funnel .woocommerce-table--order-details {
    width: 100%;
}

.comma-wc-funnel .woocommerce-table--order-details td {
    padding: 8px;
}

.comma-wc-funnel .woocommerce-table--order-details tbody tr:nth-child(even) {
    background: #F8F8F8;
}

.comma-wc-funnel .wc-empty-cart-message {
    text-align: center;
    color: #fff;
    background: var(--first-color);
    padding: 12px 20px;
    border-radius: 20px;
    margin: 0 auto 16px;
    width: fit-content;
    max-width: 100%;
}

.comma-wc-funnel .return-to-shop a {
    background: var(--secondary-color);
    color: #fff;
    padding: 10px 22px;
    border-radius: 20px;
    font-weight: 600;
    box-shadow: 0 0 5px 5px rgba(237, 237, 237, 0.45);
}

/* بلوک / Elementor */
.comma-wc-funnel .wp-block-woocommerce-cart,
.comma-wc-funnel .wc-block-checkout {
    padding: 0;
}

.comma-wc-funnel .wc-block-cart-items__row {
    background: #F8F8F8;
    border: 1px solid #D9D9D9;
    border-radius: 20px;
}

@media (max-width: 991px) {
    .comma-wc-funnel .comma-cart-table-head {
        display: none;
    }

    .comma-wc-funnel .woocommerce-cart-form__cart-item td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 8px 16px;
    }

    .comma-wc-funnel .woocommerce-cart-form__cart-item td::before {
        content: attr(data-title);
        font-weight: 600;
        color: var(--secondary-color);
        margin-inline-end: 10px;
    }

    .comma-wc-funnel .woocommerce-cart-form__cart-item td.product-thumbnail,
    .comma-wc-funnel .woocommerce-cart-form__cart-item td.product-remove {
        justify-content: center;
    }

    .comma-wc-funnel .woocommerce-cart-form__cart-item td.product-thumbnail::before,
    .comma-wc-funnel .woocommerce-cart-form__cart-item td.product-remove::before {
        display: none;
    }

    .comma-wc-funnel .comma-cart-sidebar-box,
    .comma-wc-funnel .comma-checkout-summary__inner {
        position: static;
    }

    .comma-wc-funnel .comma-thankyou-meta {
        flex-direction: column;
    }
}

@media (min-width: 992px) {
    .comma-wc-funnel .comma-thankyou-details .woocommerce-order-details,
    .comma-wc-funnel .comma-thankyou-details .woocommerce-customer-details {
        width: calc(50% - 12px);
    }
}

/* end cart / checkout / thankyou funnel */

/**/
.woocommerce-EditAccountForm .woocommerce-Input {
    width: 100%;
    max-width: 100%;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid #d9d9d9;
    background: #fff;
    font-size: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.woocommerce-EditAccountForm .woocommerce-Input:focus {
    border-color: var(--first-color);
    box-shadow: 0 0 0 3px 0 0 0 3px rgb(114 114 114 / 12%);
    outline: none;
}

.woocommerce-form-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    margin: 0 0 16px;
}

.woocommerce-EditAccountForm .woocommerce-form-row .woocommerce-Input,
.woocommerce-EditAccountForm .woocommerce-form-row .password-input {
    width: 100%;
    max-width: 480px;
}

.woocommerce-EditAccountForm .woocommerce-Button {
    background: var(--first-color);
    border-radius: 10px;
    color: #fff;
    border: none;
}

.woocommerce-EditAccountForm .password-input {
    position: relative;
    display: block;
    width: 100%;
    max-width: 480px;
}

.woocommerce-EditAccountForm .password-input input {
    width: 100% !important;
    padding-right: 44px !important;
}

.woocommerce-EditAccountForm .show-password-input {
    position: absolute !important;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    cursor: pointer;
    z-index: 10;
    border: 0;
    background: transparent !important;
    padding: 0;
}

.woocommerce-EditAccountForm .show-password-input::before {
    content: '';
    display: block;
    width: 20px;
    height: 20px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23666'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M15 12a3 3 0 11-6 0 3 3 0 016 0z'/%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.065 7-9.542 7-4.477 0-8.268-2.943-9.542-7z'/%3E%3C/svg%3E");
}

.woocommerce-EditAccountForm .show-password-input.display-password::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%230054f7'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M3 3l18 18'/%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M10.58 10.58A2 2 0 0013.42 13.42'/%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M9.88 5.09A9.77 9.77 0 0112 5c4.48 0 8.27 2.94 9.54 7a9.96 9.96 0 01-4.04 5.13'/%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M6.23 6.23A9.96 9.96 0 002.46 12a9.96 9.96 0 005.3 5.77'/%3E%3C/svg%3E");
}

/**/
/**/
.woocommerce-Addresses .edit {
    background: var(--first-color);
    padding: 5px 10px;
    display: inline-block;
    color: #fff;
    border-radius: 5px;
    margin: 5px 0;
}

.woocommerce-Address:hover{
        border-color: var(--first-color) !important;
}
.woocommerce-Addresses .title h3 {
    font-size: 17px;
    font-weight: 700;
    color: #201d1d;
}

.woocommerce-Addresses .title h3:after {
    content: "";
    width: 100%;
    height: 2px;
    display: block;
    border-radius: 2px;
    margin-top: 4px;
    background: var(--first-color);
}

.woocommerce-orders-table.comma-panel-table {
    min-width: 720px;
    table-layout: auto;
}

.woocommerce-orders-table__header {
    padding: 10px 14px;
}

.woocommerce-orders-table__cell {
    margin-top: 0;
    padding: 14px;
}

.woocommerce-orders-table.comma-panel-table tbody td:last-child {
    padding: 10px 12px;
}

.woocommerce-orders-table__cell .button {
    display: inline-block;
    background: var(--first-color);
    color: #fff !important;
    border-radius: 8px;
    padding: 6px 14px;
    font-size: 12px;
    text-decoration: none;
    transition: opacity 0.2s;
    margin: 2px;
    white-space: nowrap;
}

.comma-order-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    align-items: center;
}

.comma-panel-table tbody td:last-child .showFactor {
    color: var(--first-color);
    display: inline-block;
    padding: 4px 8px;
}

.woocommerce-orders-table__cell .button:hover {
    opacity: 0.85;
}

.comma-order-status-badge,
.woocommerce-orders-table__cell-order-status .comma-order-status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    background: #0d72cf;
    white-space: nowrap;
}

.woocommerce-orders-table__row--status-completed .comma-order-status-badge,
.comma-order-status-badge.status-completed {
    background: #7fd193;
}

.woocommerce-orders-table__row--status-processing .comma-order-status-badge,
.comma-order-status-badge.status-processing {
    background: #0d72cf;
}

.woocommerce-orders-table__row--status-cancelled .comma-order-status-badge,
.woocommerce-orders-table__row--status-failed .comma-order-status-badge,
.comma-order-status-badge.status-cancelled,
.comma-order-status-badge.status-failed {
    background: #eb5555;
}

.woocommerce-orders-table__row--status-pending .comma-order-status-badge,
.woocommerce-orders-table__row--status-on-hold .comma-order-status-badge,
.comma-order-status-badge.status-pending,
.comma-order-status-badge.status-on-hold {
    background: #f57c00;
}

.woocommerce-orders-table__cell-order-number a {
    display: inline-block;
    background: rgb(132 132 132 / 10%);
    color: var(--first-color) !important;
    padding: 4px 12px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s;
}

.woocommerce-orders-table__cell-order-number a:hover {
    background: rgb(132 132 132 / 21%);
}

.comma-orders-section__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.comma-orders-clear-filter {
    font-size: 13px;
    font-weight: 600;
    color: var(--first-color);
    text-decoration: none;
}

.comma-view-order-section {
    width: 100%;
}

.comma-view-order-head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 12px;
}

.comma-view-order-back {
    font-size: 13px;
    font-weight: 600;
    color: var(--first-color);
    text-decoration: none;
}

.comma-view-order-meta {
    background: #f7f7f7;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 14px 16px;
    margin: 0 0 20px;
    line-height: 1.8;
    color: #444;
}

.comma-view-order-meta mark {
    background: transparent;
    font-weight: 700;
    color: #1a1a1a;
    padding: 0;
}

.comma-view-order-meta mark.order-status {
    color: #fff;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 12px;
}

.woocommerce-MyAccount-content .woocommerce-order-details {
    margin-top: 8px;
}

.woocommerce-MyAccount-content .woocommerce-order-details__title {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 14px;
    color: #201d1d;
}

.woocommerce-MyAccount-content .woocommerce-table--order-details {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fafafa;
    border: 1px solid #e8e8e8;
    border-radius: 14px;
    overflow: hidden;
}

.woocommerce-MyAccount-content .woocommerce-table--order-details th,
.woocommerce-MyAccount-content .woocommerce-table--order-details td {
    padding: 12px 14px;
    border-bottom: 1px solid #eee;
    text-align: right;
    vertical-align: middle;
}

.woocommerce-MyAccount-content .woocommerce-table--order-details thead th {
    background: #f3f3f3;
    font-size: 13px;
    font-weight: 700;
}

.woocommerce-MyAccount-content .woocommerce-table--order-details tfoot tr:last-child th,
.woocommerce-MyAccount-content .woocommerce-table--order-details tfoot tr:last-child td {
    border-bottom: 0;
}

.woocommerce-MyAccount-content .woocommerce-customer-details {
    margin-top: 24px;
}

.woocommerce-MyAccount-content .woocommerce-customer-details address {
    background: #fafafa;
    border: 1px solid #e8e8e8;
    border-radius: 14px;
    padding: 16px;
    font-style: normal;
    line-height: 1.8;
}

.comma-edit-account-photo .comma-profile-photo-loader {
    top: 50%;
    left: 50%;
    right: auto;
    bottom: auto;
    margin: 0;
    transform: translate(-50%, -50%);
}

.comma-edit-account-photo.is-uploading .comma-profile-photo-loader {
    animation: comma-profile-spin-centered 0.7s linear infinite;
}

@keyframes comma-profile-spin-centered {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.woocommerce-MyAccount-content .woocommerce-pagination {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 16px;
}

.woocommerce-MyAccount-content .woocommerce-pagination .button {
    background: var(--first-color);
    color: #fff;
    border-radius: 10px;
    padding: 8px 20px;
}

/**/
.notice-info .woocommerce-info a {
    background: var(--first-color);
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
}

/**/
.wc-block-cart-items__row {
    position: relative;
}

.wc-block-components-product-badge {
    border-color: var(--first-color) !important;
    position: absolute;
    top: 0;
}

.wc-block-components-order-summary .wc-block-components-order-summary-item__quantity {
    background-color: var(--quantity-badge) !important;
    color: var(--quantity-number) !important;
    border: unset !important;

}

.is-large .wp-block-woocommerce-checkout-order-summary-block {
    box-shadow: 0 0 10px 8px rgb(239 239 239 / 45%);
}

/*cart*/
.cart-collaterals .coupon input {
    padding: 5px 10px;
    border: 1px solid #dbdbdb;
    border-radius: 5px;
}

.cart-collaterals .coupon button {
    padding: 5px 10px;
    background-color: var(--first-color);
    border-radius: 5px;
    color: #fff;
}

.cart-collaterals .cart_totals {
    margin-top: 2rem;
}

/*panel*/
.woocommerce-table--order-details a {
    color: var(--product-name);
}

/*breadcrumb*/
.woocommerce-breadcrumb {
    margin: 14px 0px 9px 0px;
    display: flex;
    gap: 10px;
}

.woocommerce-breadcrumb a {
    color: var(--text-color);
}

/* My Account — responsive tables */
@media (max-width: 768px) {
    .comma-panel-table {
        min-width: 600px;
    }

    .comma-panel-table thead th,
    .comma-panel-table tbody td {
        padding: 10px 8px;
        font-size: 12px;
    }

    .comma-myaccount-section__title {
        font-size: 16px;
    }

    .comma-edit-account-fields-row {
        grid-template-columns: 1fr;
    }

    .comma-edit-account-tabs .tabs_item {
        padding: 16px;
    }

    .comma-edit-account-section .account-actions {
        flex-direction: column;
        max-width: 100%;
    }
}

/* Single product related / popular sliders */
.single-related-products {
    margin-top: 48px;
    overflow: hidden;
}

.single-related-products__title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 24px;
}

.single-related-products .comma-related-products .products-default {
    display: block;
    gap: 0;
}

.single-related-products .comma-related-swiper {
    position: relative;
    padding: 12px 44px 4px;
    overflow: hidden;
}

.single-related-products .comma-related-swiper .swiper-wrapper {
    align-items: stretch;
}

.single-related-products .comma-related-swiper .swiper-slide {
    height: auto;
    box-sizing: border-box;
}

.single-related-products .comma-related-swiper .default-product-item {
    height: 100%;
}

.single-related-products .comma-related-swiper .default-product-card {
    height: 100%;
    margin-bottom: 0;
}

.single-related-products .comma-related-swiper .default-product-card .product-description {
    display: none;
}

.single-related-products .comma-related-swiper .default-product-card .default-product-title {
    min-height: 0;
    font-size: 14px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.single-related-products .comma-related-swiper .default-product-card .product-brand {
    min-height: 0;
    margin-bottom: 4px;
}

.single-related-products .comma-related-swiper .default-product-card .product-brand .brand-name {
    font-size: 12px;
}

.single-related-products .comma-related-swiper .default-product-card .discount-badge {
    top: 8px;
    right: 8px;
    width: 46px;
    height: 46px;
}

.single-related-products .comma-related-swiper .default-product-card .discount-amount {
    font-size: 13px;
}

.single-related-products .comma-related-swiper .default-product-card .discount-text {
    font-size: 10px;
}

.single-related-products .comma-related-swiper .default-product-card .default-product-image {
    margin-bottom: 8px;
}

.single-related-products .comma-related-swiper .default-product-card .product-card-footer {
    margin-top: auto;
    gap: 8px;
}

.single-related-products .comma-related-swiper .default-product-card .product-action {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.single-related-products .comma-related-swiper .swiper-button-prev,
.single-related-products .comma-related-swiper .swiper-button-next {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e5e7eb;
    color: #374151;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    top: 50%;
    margin-top: -18px;
}

.single-related-products .comma-related-swiper .swiper-button-prev::after,
.single-related-products .comma-related-swiper .swiper-button-next::after {
    font-size: 14px;
    font-weight: 700;
}

.single-related-products .comma-related-swiper .swiper-button-prev {
    right: 0;
    left: auto;
}

.single-related-products .comma-related-swiper .swiper-button-next {
    left: 0;
    right: auto;
}

.single-related-products .comma-related-swiper .swiper-button-disabled {
    opacity: 0.35;
    pointer-events: none;
}

@media (max-width: 768px) {
    .single-related-products .comma-related-swiper {
        padding: 12px 36px 4px;
    }
}

@media (min-width: 1200px) and (max-width: 1439px) {
    .single-related-products .comma-related-swiper .default-product-card {
        padding: 14px;
    }
}
