/*!/wp-content/plugins/wc-custom-checkout/assets/css/style.css*//* استایل‌های پیش‌فرض WC Custom Checkout */



.wd-search-full-screen-2.wd-fill.wd-ajax-search-content {
    display: none;
}
.wd-toolbar.wd-toolbar-label-show {
    display: none;
}

.wccc-qty-button {
    cursor: pointer;
    padding: 5px 10px;
    background: #f1f1f1;
    border: 1px solid #ccc;
}
.img-div {
    text-align: center;
}
.img-div img {
    border-radius: 10px !important;
    width: 100px;
}

@font-face{font-family:'YekanBakh';src:url('https://portal.hamyarsite.net/aryanfitshop/wp-content/uploads/2025/02/YekanBakh-VF.ttf') format('truetype');font-weight:100 900;font-display:swap;}
body {
    font-family: 'YekanBakh', sans-serif;
    direction: rtl;
    background: #fff;
    margin: 0;
    padding: 0;
    color: #212121;
}
.container {
    max-width: 1100px;
    margin: 20px auto;
    padding: 20px;
    display: flex;
    gap: 20px;
}
.summary {
    width: 25%;
    border: 1px solid #eee;
    padding: 16px;
    border-radius: 8px;
    height: fit-content;
}
.summary h3 {
    font-size: 14px;
    margin-bottom: 8px;
}
.summary .price {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
}
.summary button,
.summary .wccc-confirm {
    background-color: #1565c0;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-family: inherit;
    text-decoration: none;
    display: block;
    text-align: center;
    margin-top: 10px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
}

.summary-total {
    font-weight: bold;
}
.summary .note {
    font-size: 12px;
    color: #666;
    margin-top: 12px;
}
.summary .badge {
    background: #f3f3f3;
    padding: 10px;
    border-radius: 6px;
    font-size: 12px;
    margin-top: 16px;
    color: #4a4a4a;
    display: flex;
    align-items: center;
    gap: 6px;
}
.cart {
    width: 75%;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 16px;
}
.cart-title {
    font-weight: bold;
    margin-bottom: 20px;
}
.item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
    position: relative;
}
.item:not(:last-child) {
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.item-details {
    flex: 1;
}
.item-details h4 {
    font-size: 14px;
    margin-bottom: 8px;
    margin-top: 0;
}
.item-details .meta {
    font-size: 12px;
    color: #777;
    margin-bottom: 8px;
}
.item-details .variation {
    font-size: 12px;
    color: #555;
    margin-bottom: 8px;
}
.item-price {
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    margin-top: 8px;
}
.regular-price {
    font-size: 14px;
    font-weight: 400;
    opacity: 0.8;
}
.sale-price {
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
}
.item-remove {
    position: absolute;
    top: 0;
    left: 0;
    border: none;
    background: transparent;
    cursor: pointer;
}
.actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 5px;
    border: 1px solid #eee;
    border-radius: 8px;
    color: #1565c0;
    padding: 5px;
}
.wccc-qty {
    font-size: 18px;
    font-weight: 400;
}
.actions button {
    width: 28px;
    height: 28px;
    font-size: 16px;
    border: none;
    border-radius: 4px;
    background: none;
    cursor: pointer;
}
.actions button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.tags {
    margin-top: 16px;
    font-size: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.tags span {
    background: #fce5e8;
    color: #1565c0;
    padding: 4px 8px;
    border-radius: 4px;
}
.tags .green {
    background: #e0f2f1;
    color: #00796b;
}
/* --- ریسپانسیو --- */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        margin: 0;
        padding: 0;
    }
    .cart, .summary {
        width: 100%;
        margin: 0;
        border-radius: 0;
    }
    .summary {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #fff;
        box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
        padding: 10px 16px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        border: none;
    }
    .summary h3,
    .summary .note,
    .summary .badge {
        display: none;
    }
    .summary .price {
        font-size: 16px;
        margin: 0;
        font-weight: bold;
    }
    .summary button {
        width: auto;
        margin-left: 10px;
    }
    .spinner {
        border: 2px solid #f3f3f3;
        border-top: 2px solid #3498db;
        border-radius: 50%;
        width: 14px;
        height: 14px;
        animation: spin 1s linear infinite;
        display: inline-block;
        margin-left: 5px;
    }
    @keyframes spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }
}


#wccc-map {
    height: 300px;
    border-radius: 8px;
    margin-bottom: 20px;
}



.wccc-address-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.wccc-address-item {
    border: 1px solid #ccc;
    padding: 15px;
    border-radius: 10px;
    width: 100%;
    max-width: 400px;
    background: #f9f9f9;
}
.wccc-address-item h4 {
    margin-top: 0;
}
.wccc-select-address {
    margin-top: 10px;
    background: #2e7d32;
    color: #fff;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
}