/* =========================================================
   DivinationChaloce Theme — Shop
   =========================================================
 * استایل بخش فروشگاه (WooCommerce).
 * هماهنگ با DivinationChaloce Theme و Core.
 * ------------------------------------------------------- */


/* =========================================================
   0. Force Light Theme (رفع مشکل صفحه سیاه)
   ========================================================= */

body.woocommerce-shop,
body.woocommerce-page,
body.dc-context-shop,
body.post-type-archive-product {
    background: #f7f9fc !important;
    color: #222 !important;
}

body.woocommerce-shop .dc-main,
body.woocommerce-shop main,
body.woocommerce-shop .dc-shop-wrapper,
body.woocommerce-page .dc-main,
body.woocommerce-page main {
    background: transparent !important;
    color: #222 !important;
}

body.woocommerce-shop .site-header,
body.woocommerce-shop .site-footer,
body.woocommerce-page .site-header,
body.woocommerce-page .site-footer {
    background: inherit;
}


/* =========================================================
   1. Shop Layout
   ========================================================= */

.dc-shop-wrapper {
    background: #f7f9fc;
    min-height: 70vh;
    padding: 0;
}

.dc-shop-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 40px 16px 60px;
    box-sizing: border-box;
}

/* صفحه‌های دیگر WooCommerce (سبد، تسویه) */
.woocommerce-cart .dc-shop-container,
.woocommerce-checkout .dc-shop-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 40px 16px 60px;
    box-sizing: border-box;
}


/* =========================================================
   2. Shop Header
   ========================================================= */

.woocommerce-products-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid #eaeaea;
}

.woocommerce-products-header h1,
.woocommerce-products-header .page-title {
    margin: 0 0 10px;
    font-size: 2rem;
    line-height: 1.3;
    color: #222;
}

.woocommerce-products-header .term-description {
    max-width: 720px;
    margin: 0 auto;
    color: #666;
    line-height: 1.8;
    font-size: .98rem;
}


/* =========================================================
   3. Toolbar (تعداد نتایج + مرتب‌سازی)
   ========================================================= */

.woocommerce-toolbar,
.woocommerce-result-count,
.woocommerce-ordering {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
    color: #666;
    font-size: .9rem;
}

.woocommerce-result-count {
    margin: 0;
    flex: 1;
    min-width: 200px;
}

.woocommerce-ordering {
    margin: 0;
    flex: 0 0 auto;
}

.woocommerce-ordering select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font: inherit;
    font-size: .9rem;
    background: #fff;
    color: #333;
    cursor: pointer;
    transition: border-color .2s;
}

.woocommerce-ordering select:hover {
    border-color: #2271b1;
}

.woocommerce-ordering select:focus-visible {
    outline: 3px solid #2271b1;
    outline-offset: 1px;
    border-color: #2271b1;
}


/* =========================================================
   4. Products Grid
   ========================================================= */

.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin: 0 0 32px;
    padding: 0;
    list-style: none;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
    display: none;
    content: none;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0;
    padding: 0;
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 14px;
    overflow: hidden;
    float: none;
    position: relative;
    transition: border-color .25s, box-shadow .25s, transform .25s;
    box-sizing: border-box;
}

.woocommerce ul.products li.product:hover {
    border-color: #2271b1;
    box-shadow: 0 8px 24px rgba(34, 113, 177, .12);
    transform: translateY(-2px);
}


/* =========================================================
   5. Product — Image
   ========================================================= */

.woocommerce ul.products li.product .woocommerce-LoopProduct-link {
    display: block;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
}

.woocommerce ul.products li.product a img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 0;
    transition: transform .4s ease;
    margin: 0;
}

.woocommerce ul.products li.product:hover a img {
    transform: scale(1.06);
}


/* =========================================================
   6. Product — Title
   ========================================================= */

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2 {
    margin: 0;
    padding: 16px 18px 6px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #222;
    line-height: 1.45;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title a {
    color: inherit;
    text-decoration: none;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title a:hover {
    color: #2271b1;
}


/* =========================================================
   7. Product — Price
   ========================================================= */

.woocommerce ul.products li.product .price {
    display: block;
    padding: 0 18px 14px;
    color: #2271b1;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.5;
}

.woocommerce ul.products li.product .price del {
    color: #999;
    font-size: .88rem;
    font-weight: normal;
    margin-left: 6px;
    opacity: 1;
}

.woocommerce ul.products li.product .price ins {
    text-decoration: none;
    font-weight: 700;
    color: #2271b1;
}


/* =========================================================
   8. Product — Add to Cart Button
   ========================================================= */

.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .add_to_cart_button,
.woocommerce ul.products li.product .product_type_simple,
.woocommerce ul.products li.product .product_type_variable {
    display: block;
    margin: auto 18px 18px;
    padding: 10px 20px;
    background: #2271b1;
    color: #fff;
    border: 0;
    border-radius: 8px;
    font: inherit;
    font-size: .95rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background .2s;
    line-height: 1.5;
    box-sizing: border-box;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product .add_to_cart_button:hover {
    background: #135e96;
    color: #fff;
}

.woocommerce ul.products li.product .added_to_cart {
    display: block;
    margin: 0 18px 18px;
    text-align: center;
    color: #10a37f;
    font-size: .88rem;
    font-weight: 600;
    text-decoration: none;
    padding: 6px 12px;
    border: 1px solid #10a37f;
    border-radius: 8px;
    transition: background .2s, color .2s;
}

.woocommerce ul.products li.product .added_to_cart:hover {
    background: #10a37f;
    color: #fff;
}


/* =========================================================
   9. Product — Sale Badge
   ========================================================= */

.woocommerce ul.products li.product .onsale {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 5px 12px;
    background: #e74c3c;
    color: #fff;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 700;
    z-index: 2;
    min-height: auto;
    min-width: auto;
    line-height: 1.5;
    margin: 0;
    box-shadow: 0 2px 6px rgba(231, 76, 60, .3);
}


/* =========================================================
   10. Single Product Page
   ========================================================= */

.woocommerce div.product {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1180px;
    margin: 0 auto;
    padding: 40px 16px 60px;
    box-sizing: border-box;
}

.woocommerce div.product::before,
.woocommerce div.product::after {
    display: none;
    content: none;
}

/* Gallery */

.woocommerce div.product .woocommerce-product-gallery {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    position: relative;
}

.woocommerce div.product .woocommerce-product-gallery__wrapper {
    border-radius: 14px;
    overflow: hidden;
    background: #f7f9fc;
}

.woocommerce div.product .woocommerce-product-gallery__image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 14px;
}

.woocommerce div.product .flex-control-thumbs {
    display: flex;
    gap: 8px;
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
    flex-wrap: wrap;
}

.woocommerce div.product .flex-control-thumbs li {
    width: 72px;
    margin: 0;
    float: none;
}

.woocommerce div.product .flex-control-thumbs img {
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color .2s;
}

.woocommerce div.product .flex-control-thumbs img.flex-active,
.woocommerce div.product .flex-control-thumbs img:hover {
    border-color: #2271b1;
}

/* Summary */

.woocommerce div.product .summary {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
}

.woocommerce div.product .product_title {
    margin: 0 0 14px;
    font-size: 1.8rem;
    line-height: 1.3;
    color: #222;
}

.woocommerce div.product .woocommerce-product-rating {
    margin-bottom: 16px;
}

.woocommerce div.product .star-rating {
    color: #f39c12;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
    color: #2271b1;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 18px;
    line-height: 1.4;
}

.woocommerce div.product p.price del {
    color: #999;
    font-size: 1rem;
    font-weight: normal;
    margin-left: 8px;
    opacity: 1;
}

.woocommerce div.product p.price ins {
    text-decoration: none;
    font-weight: 700;
}

.woocommerce div.product .woocommerce-product-details__short-description {
    color: #555;
    line-height: 1.9;
    margin-bottom: 20px;
    font-size: .98rem;
}

.woocommerce div.product .woocommerce-product-details__short-description p {
    margin: 0 0 10px;
}

.woocommerce div.product .woocommerce-product-details__short-description p:last-child {
    margin-bottom: 0;
}

/* Add to Cart */

.woocommerce div.product form.cart {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 24px 0;
    flex-wrap: wrap;
}

.woocommerce div.product form.cart::before,
.woocommerce div.product form.cart::after {
    display: none;
    content: none;
}

.woocommerce div.product form.cart .quantity {
    display: inline-block;
    margin: 0;
}

.woocommerce div.product form.cart input[type="number"] {
    width: 72px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font: inherit;
    text-align: center;
    background: #fff;
    box-sizing: border-box;
}

.woocommerce div.product form.cart input[type="number"]:focus-visible {
    outline: 3px solid #2271b1;
    outline-offset: 1px;
    border-color: #2271b1;
}

.woocommerce div.product form.cart button.button,
.woocommerce div.product form.cart .single_add_to_cart_button {
    padding: 12px 32px;
    background: #2271b1;
    color: #fff;
    border: 0;
    border-radius: 8px;
    font: inherit;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s;
    line-height: 1.5;
    margin: 0;
}

.woocommerce div.product form.cart button.button:hover,
.woocommerce div.product form.cart .single_add_to_cart_button:hover {
    background: #135e96;
}

.woocommerce div.product form.cart .variations {
    width: 100%;
    margin-bottom: 16px;
    border-collapse: collapse;
}

.woocommerce div.product form.cart .variations th,
.woocommerce div.product form.cart .variations td {
    padding: 8px 0;
    text-align: right;
    border: 0;
    vertical-align: middle;
}

.woocommerce div.product form.cart .variations select {
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font: inherit;
    background: #fff;
    min-width: 200px;
}

/* Product Meta */

.woocommerce div.product .product_meta {
    padding-top: 20px;
    border-top: 1px solid #eaeaea;
    margin-top: 24px;
    font-size: .9rem;
    color: #666;
    line-height: 1.9;
}

.woocommerce div.product .product_meta > span {
    display: block;
    margin-bottom: 6px;
}

.woocommerce div.product .product_meta a {
    color: #2271b1;
    text-decoration: none;
    font-weight: 600;
}

.woocommerce div.product .product_meta a:hover {
    text-decoration: underline;
}


/* =========================================================
   11. Product Tabs
   ========================================================= */

.woocommerce div.product .woocommerce-tabs {
    grid-column: 1 / -1;
    margin-top: 40px;
    clear: both;
    width: 100%;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
    display: flex;
    gap: 4px;
    padding: 0;
    margin: 0 0 20px;
    list-style: none;
    border-bottom: 1px solid #eaeaea;
    overflow-x: auto;
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs::after {
    display: none;
    content: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
    margin: 0;
    padding: 0;
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    white-space: nowrap;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after {
    display: none;
    content: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    display: block;
    padding: 12px 20px;
    color: #666;
    text-decoration: none;
    font-weight: 600;
    font-size: .95rem;
    border-bottom: 2px solid transparent;
    transition: color .2s, border-color .2s;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
    color: #2271b1;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    color: #2271b1;
    border-bottom-color: #2271b1;
}

.woocommerce div.product .woocommerce-tabs .panel {
    padding: 20px 0;
    line-height: 1.9;
    color: #444;
    margin: 0;
}

.woocommerce div.product .woocommerce-tabs .panel h2 {
    margin: 0 0 14px;
    font-size: 1.2rem;
}


/* =========================================================
   12. Related Products
   ========================================================= */

.woocommerce div.product .related.products,
.woocommerce div.product .upsells.products {
    grid-column: 1 / -1;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #eaeaea;
}

.woocommerce div.product .related.products > h2,
.woocommerce div.product .upsells.products > h2 {
    margin: 0 0 24px;
    font-size: 1.4rem;
    text-align: center;
}


/* =========================================================
   13. Cart Page
   ========================================================= */

.woocommerce table.shop_table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eaeaea;
    background: #fff;
    margin: 0 0 24px;
}

.woocommerce table.shop_table th {
    padding: 14px 16px;
    background: #f7f9fc;
    text-align: right;
    font-weight: 700;
    border-bottom: 1px solid #eaeaea;
    font-size: .92rem;
    color: #333;
    vertical-align: middle;
}

.woocommerce table.shop_table td {
    padding: 14px 16px;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
    font-size: .95rem;
}

.woocommerce table.shop_table tr:last-child td {
    border-bottom: 0;
}

.woocommerce table.shop_table .product-thumbnail img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.woocommerce table.shop_table .product-name a {
    color: #222;
    text-decoration: none;
    font-weight: 600;
}

.woocommerce table.shop_table .product-name a:hover {
    color: #2271b1;
}

.woocommerce table.shop_table .product-remove a {
    color: #c0392b;
    text-decoration: none;
    font-size: 1.3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    line-height: 1;
    border-radius: 50%;
    transition: background .2s;
}

.woocommerce table.shop_table .product-remove a:hover {
    background: #fdecea;
}

.woocommerce table.shop_table .quantity input[type="number"] {
    width: 64px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font: inherit;
    text-align: center;
    box-sizing: border-box;
}

.woocommerce table.shop_table .coupon {
    display: flex;
    gap: 8px;
    align-items: center;
}

.woocommerce table.shop_table .coupon input[type="text"] {
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font: inherit;
    box-sizing: border-box;
    min-width: 180px;
}

/* Cart Totals */

.woocommerce .cart-collaterals {
    margin-top: 30px;
    display: flex;
    justify-content: flex-end;
}

.woocommerce .cart-collaterals::before,
.woocommerce .cart-collaterals::after {
    display: none;
    content: none;
}

.woocommerce .cart_totals {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 24px;
    width: 100%;
    max-width: 420px;
    float: none;
}

.woocommerce .cart_totals h2 {
    margin: 0 0 16px;
    font-size: 1.2rem;
    padding-bottom: 14px;
    border-bottom: 1px solid #f0f0f0;
}

.woocommerce .cart_totals table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 16px;
}

.woocommerce .cart_totals table th,
.woocommerce .cart_totals table td {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    text-align: right;
    border-top: 0;
    background: none;
}

.woocommerce .cart_totals table tr:last-child th,
.woocommerce .cart_totals table tr:last-child td {
    border-bottom: 0;
}

.woocommerce .cart_totals .order-total th,
.woocommerce .cart_totals .order-total td {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2271b1;
    border-bottom: 0;
    padding-top: 16px;
    padding-bottom: 16px;
}

.woocommerce .cart_totals .checkout-button {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px 24px;
    font-size: 1rem;
    margin: 0;
}


/* =========================================================
   14. Checkout Page
   ========================================================= */

.woocommerce form.checkout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
    align-items: start;
}

.woocommerce form.checkout::before,
.woocommerce form.checkout::after {
    display: none;
    content: none;
}

.woocommerce form.checkout .col2-set {
    grid-column: 1;
    width: 100%;
    float: none;
}

.woocommerce form.checkout .col2-set::before,
.woocommerce form.checkout .col2-set::after {
    display: none;
    content: none;
}

.woocommerce form.checkout .col2-set .col-1,
.woocommerce form.checkout .col2-set .col-2 {
    width: 100%;
    float: none;
    margin-bottom: 24px;
}

.woocommerce form.checkout #customer_details {
    grid-column: 1;
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 24px;
}

.woocommerce form.checkout #order_review_heading,
.woocommerce form.checkout #order_review {
    grid-column: 2;
    grid-row: 1 / span 3;
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 24px;
    height: fit-content;
    position: sticky;
    top: 20px;
}

.woocommerce form.checkout h3 {
    margin: 0 0 18px;
    font-size: 1.15rem;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.woocommerce form.checkout .form-row {
    margin-bottom: 14px;
    padding: 0;
    display: block;
}

.woocommerce form.checkout .form-row label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: .9rem;
    color: #333;
}

.woocommerce form.checkout .form-row .required {
    color: #e74c3c;
    text-decoration: none;
}

.woocommerce form.checkout input[type="text"],
.woocommerce form.checkout input[type="email"],
.woocommerce form.checkout input[type="tel"],
.woocommerce form.checkout input[type="number"],
.woocommerce form.checkout input[type="password"],
.woocommerce form.checkout textarea,
.woocommerce form.checkout select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font: inherit;
    box-sizing: border-box;
    background: #fff;
    color: #333;
}

.woocommerce form.checkout input:focus-visible,
.woocommerce form.checkout textarea:focus-visible,
.woocommerce form.checkout select:focus-visible {
    outline: 3px solid #2271b1;
    outline-offset: 1px;
    border-color: #2271b1;
}

/* Order Review Table */

.woocommerce-checkout-review-order-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 16px;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    text-align: right;
    font-size: .92rem;
}

.woocommerce-checkout-review-order-table .order-total th,
.woocommerce-checkout-review-order-table .order-total td {
    font-size: 1.15rem;
    font-weight: 700;
    color: #2271b1;
    border-bottom: 0;
    padding-top: 16px;
}

/* Payment */

.woocommerce-checkout #payment {
    background: transparent;
    border-radius: 0;
    padding: 0;
}

.woocommerce-checkout #payment ul.payment_methods {
    padding: 0;
    margin: 0 0 16px;
    list-style: none;
    border: 0;
}

.woocommerce-checkout #payment ul.payment_methods li {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    margin: 0;
}

.woocommerce-checkout #payment ul.payment_methods li:last-child {
    border-bottom: 0;
}

.woocommerce-checkout #payment ul.payment_methods label {
    font-weight: 600;
    cursor: pointer;
}

.woocommerce-checkout #payment .payment_box {
    background: #f7f9fc;
    padding: 12px 16px;
    border-radius: 8px;
    margin-top: 10px;
    font-size: .88rem;
    line-height: 1.7;
    color: #555;
}

.woocommerce-checkout #place_order {
    display: block;
    width: 100%;
    padding: 14px 24px;
    background: #2271b1;
    color: #fff;
    border: 0;
    border-radius: 8px;
    font: inherit;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s;
    margin-top: 12px;
}

.woocommerce-checkout #place_order:hover {
    background: #135e96;
}


/* =========================================================
   15. Notices
   ========================================================= */

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 20px;
    line-height: 1.7;
    list-style: none;
    font-size: .95rem;
    position: relative;
}

.woocommerce-message {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.woocommerce-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.woocommerce-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.woocommerce-message .button,
.woocommerce-info .button {
    background: transparent;
    color: inherit;
    border: 1px solid currentColor;
    padding: 6px 14px;
    font-size: .85rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background .2s, color .2s;
}

.woocommerce-message .button:hover,
.woocommerce-info .button:hover {
    background: currentColor;
    color: #fff;
}


/* =========================================================
   16. Pagination
   ========================================================= */

.woocommerce nav.woocommerce-pagination {
    text-align: center;
    margin: 40px 0 20px;
}

.woocommerce nav.woocommerce-pagination ul {
    display: inline-flex;
    gap: 6px;
    padding: 0;
    margin: 0;
    list-style: none;
    border: 0;
}

.woocommerce nav.woocommerce-pagination ul li {
    border: 0;
    margin: 0;
    overflow: visible;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    display: inline-block;
    padding: 8px 14px;
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    color: #333;
    text-decoration: none;
    font-weight: 600;
    font-size: .9rem;
    transition: background .2s, border-color .2s, color .2s;
    min-width: 40px;
    text-align: center;
    box-sizing: border-box;
}

.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current {
    background: #2271b1;
    color: #fff;
    border-color: #2271b1;
}


/* =========================================================
   17. Empty Shop / Notice
   ========================================================= */

.woocommerce-no-products-found {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border: 1px dashed #ddd;
    border-radius: 12px;
    color: #888;
    margin: 40px auto;
    max-width: 720px;
}

.dc-shop-notice {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border: 1px dashed #ddd;
    border-radius: 12px;
    color: #666;
    margin: 40px auto;
}

.dc-shop-notice h2 {
    margin: 0 0 12px;
    color: #222;
}

.dc-shop-notice p {
    margin: 0;
    line-height: 1.8;
}


/* =========================================================
   18. Responsive   ========================================================= */

@media (max-width: 900px) {

    .woocommerce ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .woocommerce div.product {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 24px 12px;
    }

    .woocommerce form.checkout {
        grid-template-columns: 1fr;
    }

    .woocommerce form.checkout #order_review_heading,
    .woocommerce form.checkout #order_review {
        grid-column: 1;
        grid-row: auto;
        position: static;
    }

    .woocommerce div.product .product_title {
        font-size: 1.5rem;
    }

    .woocommerce div.product p.price,
    .woocommerce div.product span.price {
        font-size: 1.3rem;
    }
}

@media (max-width: 600px) {

    .dc-shop-container {
        padding: 24px 12px 40px;
    }

    .woocommerce div.product {
        padding: 20px 12px 40px;
    }

    .woocommerce-products-header h1,
    .woocommerce-products-header .page-title {
        font-size: 1.5rem;
    }

    .woocommerce ul.products {
        grid-template-columns: 1fr;
    }

    .woocommerce-toolbar,
    .woocommerce-result-count,
    .woocommerce-ordering {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .woocommerce-ordering select {
        width: 100%;
    }

    .woocommerce div.product .product_title {
        font-size: 1.3rem;
    }

    .woocommerce div.product p.price,
    .woocommerce div.product span.price {
        font-size: 1.15rem;
    }

    .woocommerce div.product form.cart {
        flex-direction: column;
        align-items: stretch;
    }

    .woocommerce div.product form.cart .quantity {
        width: 100%;
    }

    .woocommerce div.product form.cart input[type="number"] {
        width: 100%;
    }

    .woocommerce div.product form.cart button.button,
    .woocommerce div.product form.cart .single_add_to_cart_button {
        width: 100%;
    }

    .woocommerce table.shop_table th,
    .woocommerce table.shop_table td {
        padding: 10px 8px;
        font-size: .85rem;
    }

    .woocommerce table.shop_table .product-thumbnail img {
        width: 40px;
        height: 40px;
    }

    .woocommerce .cart_totals {
        max-width: 100%;
        padding: 18px;
    }

    .woocommerce form.checkout #customer_details,
    .woocommerce form.checkout #order_review {
        padding: 18px;
    }
}
/* =========================================================
   Shop Layout with Sidebar
   ========================================================= */

.dc-shop-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 32px;
    margin-top: 24px;
}

.dc-shop-main {
    min-width: 0;
}

.dc-shop-sidebar {
    position: sticky;
    top: 20px;
    height: fit-content;
}

.dc-shop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
    padding: 14px 18px;
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 12px;
}

.dc-shop-breadcrumb {
    margin-bottom: 16px;
    font-size: .9rem;
    color: #666;
}

.dc-shop-breadcrumb a {
    color: #2271b1;
    text-decoration: none;
}

.dc-shop-breadcrumb a:hover {
    text-decoration: underline;
}

.dc-widget {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
}

.dc-widget-title {
    margin: 0 0 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 1rem;
}

.dc-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dc-widget ul li {
    margin-bottom: 8px;
}

.dc-widget ul li a {
    color: #333;
    text-decoration: none;
    display: block;
    padding: 6px 0;
    transition: color .2s;
}

.dc-widget ul li a:hover {
    color: #2271b1;
}

@media (max-width: 900px) {
    .dc-shop-layout {
        grid-template-columns: 1fr;
    }

    .dc-shop-sidebar {
        position: static;
        order: -1;
    }
}