/**/
.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;
}

/**/
/* ==========================================
   استایل‌های صفحه آرشیو محصولات ووکامرس
   پشتیبانی از تمپلیت‌های: پیش‌فرض، ویژه، گرید، لیستی، میسونری
   ========================================== */

/* استایل‌های پایه برای تمام تولبارها */
.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;
}

/* ==========================================
   حالت پیش‌فرض (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(--secondary-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.default-archive-toolbar .sort-item.active {
    background: var(--secondary-color);
    color: #fff;
    border-color: var(--secondary-color);
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.4);
}

.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;
}

/* ==========================================
   حالت ویژه (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(0, 84, 247, 0.50);
    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: #0054f7;
    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: rgb(0 84 247);
    padding: 8px 24px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
    width: max-content;
    margin: 0 auto;
}

/* کاما */
.custom-archive .products-default{
    gap:12px;
}
.default-product-item{
    list-style: none;
}

.custom-archive .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%;
}

.custom-archive .products-default .wc-custom-product-card:hover {
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.custom-archive .products-default .wc-custom-product-image {
    border-radius: 30px;
    overflow: hidden;
    display: block;
    width: 100%;
    height: 200px;
    aspect-ratio: 1 / 1;
    text-align: center;
    margin-bottom: 12px;
    flex-shrink: 0;
}

.custom-archive .products-default .wc-custom-product-image  .product-image {
    width: 100%;
    height: 100%;
    border-radius: 30px;
    object-fit: contain;
    background: white;
    transition: transform 0.3s ease;
}

.custom-archive .products-default .wc-custom-product-image:hover .product-image {
    transform: scale(1.1);
}

.custom-archive .products-default .wc-custom-product-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.custom-archive .products-default .wc-custom-product-title {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    text-align: right;
    flex-shrink: 0;
    min-height: 41px;
}

.custom-archive .products-default .wc-custom-product-title a {
    text-decoration: none;
    color: #0c051a;
    transition: color 0.2s ease;
}

.custom-archive .products-default .wc-custom-product-title a:hover {
    /* color: #057DCD; */
    color: var(--card-name);
}

.custom-archive .products-default .wc-custom-product-excerpt {
    font-size: 14px;
    font-weight: 400;
    line-height: 28px;
    color: #91989C;
    text-align: right;
    flex: 1;
    margin-bottom: auto;
}

.custom-archive .products-default .wc-custom-product-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 0 4px 0;
    direction: rtl;
    flex-shrink: 0;
}

.custom-archive .products-default .wc-price-label {
    font-size: 16px;
    font-weight: 500;
    line-height: 28px;
    letter-spacing: -2%;
    color: #000000;
}

.custom-archive .products-default .wc-price-wrapper {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 8px;
}

.custom-archive .products-default .wc-price-regular {
    font-size: 13px;
    font-weight: 400;
    color: #91989C;
    text-decoration: line-through !important;
    line-height: 28px;
    letter-spacing: -2%;
}

.custom-archive .products-default .wc-price-sale {
    font-size: 15px;
    font-weight: 600;
    /* color: #E53E3E; */
    color: var(--card-price);
    line-height: 28px;
    letter-spacing: -2%;
}

.custom-archive .products-default .wc-price-value {
    font-size: 15px;
    font-weight: 500;
    line-height: 28px;
    letter-spacing: -2%;
    /* color: #057DCD; */
    color: var(--card-price);
}

.custom-archive .products-default .wc-custom-product-actions {
    display: grid;
    grid-template-columns: 2fr 0.7fr 0.7fr;
    border-radius: 12px;
    overflow: hidden;
    /* background: rgba(55, 143, 198, 0.24); */
    background: var(--card-btnn);
    flex-shrink: 0;
    margin-top: auto;
    position: relative;
    isolation: isolate;
}

.custom-archive .products-default .wc-custom-product-actions::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0; /* شروع از راست */
    width: calc(100% * 2 / 3.4); /* عرض دکمه افزودن به سبد */
    height: 100%;
    /* background-color: #378FC6; */
    background-color: var(--card-btn-hover);
    border-radius: 16px;
    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);
}

.custom-archive .products-default .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))); /* حرکت به موقعیت لایک */
}

.custom-archive .products-default .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))); /* حرکت به موقعیت مقایسه */
}

.custom-archive .products-default .wc-custom-btn-part {
    border-radius: 16px;
    border: none;
    outline: none;
    background: transparent;
    color: #0d1224;
    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;
}

.custom-archive .products-default .wc-custom-btn-part p{
    /* color: rgba(251, 251, 251, 1); */
    color: var(--card-icon);
    font-size: 13px;
}

.custom-archive .products-default .wc-custom-btn-part .wc-custom-btn-add-to-cart svg path {
    fill: var(--card-icon);
    stroke: var(--card-icon);
    stroke-opacity: 0.5;
}

.custom-archive .products-default .wc-custom-btn-like,
.custom-archive .products-default .wc-custom-btn-compare {
    font-size: 1.1rem;
}

.custom-archive .products-default .wc-custom-btn-like:hover {
    color: var(--card-icon);
}

.custom-archive .products-default .wc-custom-btn-like:hover .wc-custom-icon-heart svg path {
    fill: var(--card-icon);
}

.custom-archive .products-default .wc-custom-btn-compare:hover {
    color: var(--card-icon);
}

.custom-archive .products-default .wc-custom-btn-compare:hover .wc-custom-icon-compare svg path {
    stroke: var(--card-icon);
}

.custom-archive .products-default .wc-custom-icon-heart,
.custom-archive .products-default .wc-custom-icon-compare {
    font-size: 1.1rem;
    line-height: 0.5;
}

.custom-archive .products-default .wc-custom-icon-heart svg path,
.custom-archive .products-default .wc-custom-icon-compare svg path {
    transition: fill 0.3s ease, stroke 0.3s ease;
}

.custom-archive .products-default .wc-custom-product-actions:has(.wc-custom-btn-add-to-cart-main:hover)::before {
    width: calc(100% * 2 / 3.4);
    transform: translateX(0);
}

/* === ریسپانسیو === */

@media screen and (max-width: 1200px) {
    .custom-archive .products-default{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 700px) {
    .custom-archive .products-default{
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   حالت گرید (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;
}

.custom-archive .products-default {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.default-archive .products-default {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /*justify-items: center;*/
}

/* افکت شیشه‌ای برای تولبارها در 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 {
    position: absolute;
    margin-top: 90px;
    cursor: pointer;
}

.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;
}

.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%);*/
}

.woocommerce-EditAccountForm ul.tabs.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.woocommerce-EditAccountForm ul li a {
    margin: 0 5px;
    padding: 5px 10px;
    background: var(--first-color);
    color: var(--text-color);
    border-radius: 5px;
}

/*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;
    flex-wrap: wrap;
    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: 100%;
}

.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 {
    padding: 8px 5px;
    border-radius: 5px;
    border: 1px solid var(--first-color);
}

.woocommerce-EditAccountForm .woocommerce-form-row .woocommerce-Input,
.woocommerce-EditAccountForm .woocommerce-form-row .password-input {
    width: 450px;
    max-width: 100%;
}


.woocommerce-form-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 10px;
    margin: 15px 0;
}

.woocommerce-EditAccountForm .woocommerce-Button {
    background: var(--first-color);
    border-radius: 5px;
    color: #fff;
    box-shadow: 0 0 5px 5px rgba(237, 237, 237, 0.45);
}

.woocommerce-EditAccountForm .password-input {
    position: relative;
    display: block;
}

.woocommerce-EditAccountForm .password-input input {
    width: 100% !important;
    padding-left: 45px !important;
}

/**/
/**/
.woocommerce-Addresses .edit {
    background: var(--first-color);
    padding: 5px 10px;
    display: inline-block;
    color: #fff;
    border-radius: 5px;
    margin: 5px 0;
}

.woocommerce-Addresses .title h3 {
    font-size: 20px;
    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__header {
    padding: 10px;
}

.woocommerce-orders-table__cell {
    margin-top: 5px;
    padding: 0 20px;
}

.woocommerce-orders-table {
    border-collapse: separate;
    border-spacing: 0 12px;
}

.woocommerce-orders-table__cell .button {
    background: var(--first-color);
    color: #fff;
    border-radius: 5px;
    padding: 5px;
}

.woocommerce-orders-table__cell-order-status {
    padding: 5px;
    background: #0d72cf;
    border-radius: 5px;
    color: #fff;
    text-align: center;
}

.woocommerce-orders-table__cell-order-number a {
    background: #54ae62;
    padding: 4px;
    border-radius: 5px;
    color: #fff;
}

/**/
.notice-info .woocommerce-info a {
    background: var(--first-color);
    color: #fff;
    padding: 5px;
    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(--first-color) !important;
    color: #fff !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: 1rem;
}

/*panel*/
.woocommerce-table--order-details a {
    color: var(--secondary-color);
}

/*breadcrumb*/
.woocommerce-breadcrumb {
    margin: 5px 0;
    display: flex;
    gap: 10px;
}

.woocommerce-breadcrumb a {
    color: var(--text-color);
}

/* Orders */
@media (max-width:991px) {

    .comma-orders-scroll {
        overflow-x: auto;
        overflow-y: hidden;
        width: 100%;
        padding-bottom: 8px;

        scrollbar-width: thin;
        scrollbar-color: #0054f7 #ffffff;
    }

    .comma-orders-scroll::-webkit-scrollbar {
        height: 10px;
    }

    .comma-orders-scroll::-webkit-scrollbar-track {
        background: #ffffff;
        border-radius: 999px;
    }

    .comma-orders-scroll::-webkit-scrollbar-thumb {
        background: #0054f7;
        border-radius: 999px;
        border: 2px solid #ffffff;
        background-clip: padding-box;
    }

    .comma-orders-scroll::-webkit-scrollbar-thumb:hover {
        background: #0054f7;
    }

    .woocommerce-orders-table {
        min-width: 750px;
    }
}