/**
 * Minimal WooCommerce styles inside theme shell (default WC CSS disabled).
 */

.dt-wc-content .woocommerce {
    direction: rtl;
    text-align: right;
}

.dt-wc-content .woocommerce table.shop_table {
    width: 100%;
    border-collapse: collapse;
}

.dt-wc-content .woocommerce table.shop_table th,
.dt-wc-content .woocommerce table.shop_table td {
    padding: 0.75rem;
    border-bottom: 1px solid #eee;
}

.dt-wc-content .woocommerce .button,
.dt-wc-content .woocommerce button.button,
.dt-wc-content .woocommerce a.button {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    border-radius: 999px;
    background: var(--main-color-one, #5b2d8a);
    color: #fff;
    border: 0;
    text-decoration: none;
}

.dt-wc-content .woocommerce .quantity .qty {
    max-width: 4rem;
    text-align: center;
}

.dt-wc-content .woocommerce-message,
.dt-wc-content .woocommerce-info,
.dt-wc-content .woocommerce-error,
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-error {
    position: relative;
    list-style: none;
    padding: 0.9rem 1rem;
    margin-bottom: 1rem;
    border-radius: 0.85rem;
    border: 1px solid transparent;
    border-right: 4px solid transparent;
    font-weight: 600;
    line-height: 1.7;
    direction: rtl;
    text-align: right;
}

.woocommerce .woocommerce-error,
.dt-wc-content .woocommerce-error {
    background: #fef2f2;
    border-color: #fecaca;
    border-right-color: #dc2626;
    color: #991b1b;
}

.woocommerce .woocommerce-message,
.dt-wc-content .woocommerce-message {
    background: #ecfdf5;
    border-color: #a7f3d0;
    border-right-color: #059669;
    color: #065f46;
}

.woocommerce .woocommerce-info,
.dt-wc-content .woocommerce-info {
    background: #eff6ff;
    border-color: #bfdbfe;
    border-right-color: #2563eb;
    color: #1e3a8a;
}

.dt-wc-content .woocommerce-product-gallery,
.dt-single-product .woocommerce-product-gallery {
    margin-bottom: 1.5rem;
    opacity: 1 !important;
}

.dt-single-product .woocommerce-product-gallery__wrapper img {
    width: 100%;
    height: auto;
    border-radius: 0.75rem;
}

.dt-single-product .woocommerce-product-gallery__image:not(:first-child) {
    display: none;
}

.dt-single-product .woocommerce div.product .product_title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.dt-single-product .woocommerce div.product p.price {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

@media (max-width: 767px) {
    .dt-wc-content .woocommerce table.shop_table {
        font-size: 0.875rem;
    }
}

.dt-saeqeh-archive .page-numbers,
.dt-wc-content .page-numbers {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.dt-saeqeh-archive .page-numbers li,
.dt-wc-content .page-numbers li {
    list-style: none;
}

.dt-saeqeh-archive .page-numbers a,
.dt-saeqeh-archive .page-numbers span,
.dt-wc-content .page-numbers a,
.dt-wc-content .page-numbers span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.25rem;
    height: 2.25rem;
    padding: 0 0.5rem;
    border-radius: 0.5rem;
    border: 1px solid #eee;
    text-decoration: none;
}

.dt-saeqeh-archive .page-numbers .current,
.dt-wc-content .page-numbers .current {
    background: var(--main-color-one, #5b2d8a);
    color: #fff;
    border-color: transparent;
}

.checkout.woocommerce-checkout .form-row label {
    display: block;
    margin-bottom: 0.35rem;
}

.checkout.woocommerce-checkout .form-row input,
.checkout.woocommerce-checkout .form-row textarea,
.checkout.woocommerce-checkout .form-row select {
    width: 100%;
}

/* Compare / wishlist disabled until feature is implemented */
.product-header-btn a:not(.add_to_cart_button):not(.ajax_add_to_cart),
.icon-product-box {
    display: none !important;
}

.mobile-footer .mf-link-icon .bi-heart,
.mobile-footer .mf-link-icon .bi-arrow-left-right {
    display: none;
}
