/* ================================
   SHOP PAGE
================================ */

/* Product Titles */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    color: #ffffff !important;
}

/* Category */
.woocommerce ul.products li.product .ast-woo-product-category,
.woocommerce ul.products li.product .woocommerce-loop-category__title {
    color: #ffffff !important;
}

/* Price */
.woocommerce ul.products li.product .price {
    color: #ffffff !important;
}


/* ================================
   SINGLE PRODUCT PAGE
================================ */

/* Product Title */
.woocommerce div.product .product_title {
    color: #ffffff !important;
}

/* Category / Meta */
.woocommerce div.product .product_meta,
.woocommerce div.product .posted_in,
.woocommerce div.product .posted_in a {
    color: #ffffff !important;
}

/* Description */
.single-product div.product .woocommerce-product-details__short-description,
.single-product div.product .woocommerce-product-details__short-description p,
.single-product div.product .woocommerce-product-details__short-description span,
.single-product div.product .woocommerce-product-details__short-description li,
.single-product div.product .woocommerce-product-details__short-description strong,
.single-product div.product .woocommerce-product-details__short-description em,
.single-product div.product .woocommerce-product-details__short-description a {
    color: #ffffff !important;
}

/* Tabs */
.woocommerce div.product .woocommerce-tabs,
.woocommerce div.product .woocommerce-tabs p,
.woocommerce div.product .woocommerce-tabs li,
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    color: #ffffff !important;
}


/* ================================
   RELATED PRODUCTS
================================ */

.woocommerce section.related ul.products li.product .woocommerce-loop-product__title {
    color: #ffffff !important;
}

.woocommerce section.related ul.products li.product .ast-woo-product-category {
    color: #ffffff !important;
}

.woocommerce section.related ul.products li.product .price {
    color: #ffffff !important;
}


/* ================================
   BREADCRUMBS
================================ */

.woocommerce .woocommerce-breadcrumb,
.woocommerce .woocommerce-breadcrumb a {
    color: #ffffff !important;
}


/* ================================
   CART PAGE
================================ */

/* Product names */
.woocommerce-cart table.cart .product-name,
.woocommerce-cart table.cart .product-name a {
    color: #ffffff !important;
}

/* Price */
.woocommerce-cart table.cart .product-price,
.woocommerce-cart table.cart .product-price span {
    color: #ffffff !important;
}

/* Subtotal */
.woocommerce-cart table.cart .product-subtotal,
.woocommerce-cart table.cart .product-subtotal span {
    color: #ffffff !important;
}

/* Quantity */
.woocommerce-cart table.cart .product-quantity {
    color: #ffffff !important;
}

/* Table headings */
.woocommerce-cart table.cart th {
    color: #ffffff !important;
    background-color: rgba(0,0,0,0.65) !important;
}

/* Cart Totals - BLACK */
.woocommerce-cart .cart_totals,
.woocommerce-cart .cart_totals h2,
.woocommerce-cart .cart_totals th,
.woocommerce-cart .cart_totals td,
.woocommerce-cart .cart_totals span {
    color: #000000 !important;
}

/* Coupon */
.woocommerce-cart .coupon label {
    color: #ffffff !important;
}


/* ================================
   CHECKOUT PAGE
================================ */

/* Checkout labels/headings - WHITE */
.woocommerce-checkout h1,
.woocommerce-checkout h2,
.woocommerce-checkout h3,
.woocommerce-checkout h4,
.woocommerce-checkout label {
    color: #ffffff !important;
}

/* Input fields - BLACK */
.woocommerce-checkout input,
.woocommerce-checkout textarea {
    color: #000000 !important;
    background-color: #ffffff !important;
}

/* Placeholder */
.woocommerce-checkout input::placeholder,
.woocommerce-checkout textarea::placeholder {
    color: #777777 !important;
}


/* ================================
   CHECKOUT DROPDOWNS
================================ */

.woocommerce-checkout select {
    color: #000000 !important;
    background-color: #ffffff !important;
}

.woocommerce-checkout select option {
    color: #000000 !important;
    background-color: #ffffff !important;
}


/* Select2 Country / State dropdown */
.woocommerce-checkout .select2-container--default .select2-selection--single {
    background-color: #ffffff !important;
}

.woocommerce-checkout .select2-container--default
.select2-selection--single
.select2-selection__rendered {
    color: #000000 !important;
}

.select2-container .select2-results__option {
    color: #000000 !important;
    background-color: #ffffff !important;
}


/* ================================
   PAYMENT METHODS
================================ */

/* Debit/Credit Card + PayPal labels - WHITE */
.woocommerce-checkout #payment label {
    color: #ffffff !important;
}

/* PayPal description box */
.woocommerce-checkout #payment .payment_box,
.woocommerce-checkout #payment .payment_box * {
    color: #000000 !important;
}

/* PayPal description background */
.woocommerce-checkout #payment .payment_box {
    background-color: #eeeeee !important;
}

/* Keep PayPal button text unchanged */
.woocommerce-checkout #payment .payment_method_paypal button,
.woocommerce-checkout #payment .payment_method_paypal input[type="submit"] {
    color: inherit !important;
}


/* ================================
   CHECKOUT - ORDER SUMMARY
================================ */

/* Order summary headings and labels */
.woocommerce-checkout #order_review,
.woocommerce-checkout #order_review h2,
.woocommerce-checkout #order_review h3,
.woocommerce-checkout #order_review th,
.woocommerce-checkout #order_review td,
.woocommerce-checkout #order_review p {
    color: #ffffff !important;
}

/* Product names and links */
.woocommerce-checkout #order_review .product-name,
.woocommerce-checkout #order_review .product-name a {
    color: #ffffff !important;
}

/* Prices */
.woocommerce-checkout #order_review .product-total,
.woocommerce-checkout #order_review .product-total span,
.woocommerce-checkout #order_review .woocommerce-Price-amount,
.woocommerce-checkout #order_review .woocommerce-Price-currencySymbol {
    color: #ffffff !important;
}

/* Subtotal, shipping and total */
.woocommerce-checkout #order_review .cart-subtotal th,
.woocommerce-checkout #order_review .cart-subtotal td,
.woocommerce-checkout #order_review .shipping th,
.woocommerce-checkout #order_review .shipping td,
.woocommerce-checkout #order_review .order-total th,
.woocommerce-checkout #order_review .order-total td,
.woocommerce-checkout #order_review .order-total span {
    color: #ffffff !important;
}


/* ================================
   CART TOTALS
================================ */

/* CART TOTALS - FORCE BLACK TEXT */

.cart_totals.calculated_shipping h2 {
    color: #000000 !important;
}

.cart_totals.calculated_shipping table,
.cart_totals.calculated_shipping table th,
.cart_totals.calculated_shipping table td,
.cart_totals.calculated_shipping table span,
.cart_totals.calculated_shipping table strong,
.cart_totals.calculated_shipping table b {
    color: #000000 !important;
}

/* Shipping text */
.cart_totals.calculated_shipping .woocommerce-shipping-methods,
.cart_totals.calculated_shipping .woocommerce-shipping-methods li,
.cart_totals.calculated_shipping .woocommerce-shipping-methods label,
.cart_totals.calculated_shipping .woocommerce-shipping-destination {
    color: #000000 !important;
}

/* Prices */
.cart_totals.calculated_shipping .woocommerce-Price-amount,
.cart_totals.calculated_shipping .woocommerce-Price-currencySymbol {
    color: #000000 !important;
}

/* Keep checkout button text white */
.cart_totals.calculated_shipping .checkout-button {
    color: #ffffff !important;
}


/* CART TOTALS - SHIPPING TEXT */

#shipping_method label,
ul#shipping_method li label {
    color: #000000 !important;
}

/* Free shipping text */
#shipping_method {
    color: #000000 !important;
}

#shipping_method li {
    color: #000000 !important;
}

/* Shipping destination */
.woocommerce-shipping-destination,
p.woocommerce-shipping-destination {
    color: #000000 !important;
}

.woocommerce-shipping-destination a {
    color: #000000 !important;
}


/* =========================================
   CART TOTALS BACKGROUND
========================================= */

.woocommerce-cart .cart_totals,
.woocommerce-cart .cart_totals.calculated_shipping {
    background-color: rgba(255, 255, 255, 0.88) !important;
    padding: 25px !important;
    border-radius: 0 !important;
}

/* Cart Totals heading */
.woocommerce-cart .cart_totals h2 {
    background-color: transparent !important;
    color: #000000 !important;
}

/* Cart Totals text */
.woocommerce-cart .cart_totals th,
.woocommerce-cart .cart_totals td,
.woocommerce-cart .cart_totals span,
.woocommerce-cart .cart_totals strong,
.woocommerce-cart .cart_totals label,
.woocommerce-cart .cart_totals p {
    color: #000000 !important;
}

/* Shipping text */
.woocommerce-cart #shipping_method,
.woocommerce-cart #shipping_method li,
.woocommerce-cart #shipping_method label,
.woocommerce-cart .woocommerce-shipping-destination {
    color: #000000 !important;
}

/* Prices */
.woocommerce-cart .cart_totals .woocommerce-Price-amount,
.woocommerce-cart .cart_totals .woocommerce-Price-currencySymbol {
    color: #000000 !important;
}

/* Keep buttons readable */
.woocommerce-cart .cart_totals .checkout-button {
    color: #ffffff !important;
}

.woocommerce-cart .cart_totals .paypal-buttons,
.woocommerce-cart .cart_totals .paypal-button {
    color: inherit !important;
}


/* ===== WooCommerce Thank You / Order Received Page ===== */

/* Main order section */
.woocommerce-order,
.woocommerce-order p,
.woocommerce-order li,
.woocommerce-order strong,
.woocommerce-order span {
    color: #ffffff !important;
}

/* Product names + links */
.woocommerce-order .woocommerce-table__product-name,
.woocommerce-order .woocommerce-table__product-name a,
.woocommerce-order .woocommerce-table__product-name a:visited {
    color: #ffffff !important;
    text-decoration: none !important;
}

/* Order table */
.woocommerce-order .woocommerce-table,
.woocommerce-order .woocommerce-table th,
.woocommerce-order .woocommerce-table td {
    color: #ffffff !important;
    border-color: rgba(255,255,255,0.45) !important;
}

/* Dark background for Order Details heading */
.woocommerce-order .woocommerce-order-details {
    background: rgba(0, 0, 0, 0.75) !important;
    padding: 25px !important;
    border-radius: 10px !important;
}

/* Order Details heading */
.woocommerce-order .woocommerce-order-details__title {
    color: #ffffff !important;
    background: rgba(0, 0, 0, 0.75) !important;
    padding: 20px !important;
    margin: -25px -25px 20px -25px !important;
}

/* Billing + Shipping boxes */
.woocommerce-order .woocommerce-customer-details {
    color: #ffffff !important;
}

.woocommerce-order .woocommerce-customer-details h2,
.woocommerce-order .woocommerce-customer-details h3 {
    color: #ffffff !important;
    background: rgba(0, 0, 0, 0.75) !important;
    padding: 20px !important;
    margin: 0 !important;
}

.woocommerce-order .woocommerce-customer-details address {
    color: #ffffff !important;
    background: rgba(0, 0, 0, 0.75) !important;
    padding: 20px !important;
    border: none !important;
}

/* Thank-you message */
.woocommerce-order .woocommerce-thankyou-order-received {
    color: #ffffff !important;
}

/* Order information at top */
.woocommerce-order .woocommerce-order-overview,
.woocommerce-order .woocommerce-order-overview li {
    color: #ffffff !important;
}


/* ==============================
   ORDER SUCCESS PAGE
============================== */

.woocommerce-order {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 30px;
}

/* Success message */
.woocommerce-order .woocommerce-notice--success {
    text-align: center;
    background: rgba(10, 20, 10, 0.92);
    border: 1px solid rgba(76, 175, 80, 0.4);
    border-radius: 18px;
    padding: 45px 30px;
    margin-bottom: 30px;
}

/* Green tick */
.woocommerce-order .woocommerce-notice--success::before {
    content: "✓";
    display: flex;
    align-items: center;
    justify-content: center;

    width: 75px;
    height: 75px;

    margin: 0 auto 20px;

    background: #20c763;
    color: white;

    border-radius: 50%;

    font-size: 45px;
    font-weight: bold;

    box-shadow: 0 0 25px rgba(32, 199, 99, 0.45);
}

/* Success text */
.woocommerce-order .woocommerce-notice--success {
    color: white;
    font-size: 18px;
}

.woocommerce-order .woocommerce-notice--success strong {
    color: #20c763;
}


/* ==============================
   SHOP PRODUCT IMAGES
============================== */


.woocommerce ul.products li.product img {
    width: 100%;
    height: 420px;
    object-fit: contain;
}


/* ==============================
   SHOP PRODUCT CARDS
============================== */

.woocommerce ul.products li.product {
    min-height: auto !important;
    height: auto !important;
}
/* Related Posts - show full book covers */

.ast-related-posts-container .post-thumb img {
    width: 100% !important;
    height: 420px !important;
    object-fit: contain !important;
}
/* ==============================
   GENERAL TEXT - WHITE
============================== */

body {
    color: #ffffff !important;
}

body p,
body li,
body h1,
body h2,
body h3,
body h4,
body h5,
body h6,
body a,
body strong,
body b {
    color: #ffffff !important;
}
/* BUTTON TEXT */
button,
.elementor-button,
.wp-element-button,
input[type="submit"],
input[type="button"] {
    color: #000000 !important;
}
/* Related Posts - show full book covers */
.ast-related-posts-container img {
    width: 100% !important;
    height: 300px !important;
    object-fit: contain !important;
    display: block !important;
}