/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

/* Proceed to Checkout Button - Black Style */
.woocommerce-Price-amount bdi {
	color: #000;
}

.woocommerce-cart-form__contents th {
	color: #000;
}

.cart_totals th {
	color: #000;
}

.product-name a {
	color: #000;
}
.wc-proceed-to-checkout {
    padding: 0;
}

.wc-proceed-to-checkout .checkout-button {
    background-color: #000 !important;
    color: #fff !important;
    border: none !important;
    padding: 15px 30px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    border-radius: 4px !important;
    width: 100%;
    text-align: center;
    transition: background-color 0.3s ease !important;
}

.wc-proceed-to-checkout .checkout-button:hover {
    background-color: #333 !important;
}

/* Remove any <br> tags inside buttons */
.wc-proceed-to-checkout .checkout-button br,
.checkout-button br {
    display: none !important;
}

/* Also target "Update cart" and "Apply coupon" buttons if needed */
button[name="update_cart"],
button[name="apply_coupon"] {
    background-color: #000 !important;
    color: #fff !important;
    border: none !important;
}

button[name="update_cart"]:hover,
button[name="apply_coupon"]:hover {
    background-color: #333 !important;
}

/* Checkout Page - Black Buttons */

/* Place Order Button */
#place_order,
.woocommerce-checkout #place_order {
    background-color: #000 !important;
    color: #fff !important;
    border: none !important;
    padding: 15px 30px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    border-radius: 4px !important;
    width: 100%;
    transition: background-color 0.3s ease !important;
}

#place_order:hover,
.woocommerce-checkout #place_order:hover {
    background-color: #333 !important;
}

/* Apply Coupon Button */
.woocommerce-checkout button[name="apply_coupon"],
.checkout_coupon button[type="submit"] {
    background-color: #000 !important;
    color: #fff !important;
    border: none !important;
    padding: 10px 20px !important;
    font-weight: 600 !important;
    border-radius: 4px !important;
}

.woocommerce-checkout button[name="apply_coupon"]:hover,
.checkout_coupon button[type="submit"]:hover {
    background-color: #333 !important;
}

/* All other checkout buttons */
.woocommerce-checkout button,
.woocommerce-checkout .button,
.woocommerce-checkout input[type="submit"] {
    background-color: #000 !important;
    color: #fff !important;
    border: none !important;
}

.woocommerce-checkout button:hover,
.woocommerce-checkout .button:hover,
.woocommerce-checkout input[type="submit"]:hover {
    background-color: #333 !important;
}

/* Remove any <br> tags in buttons */
.woocommerce-checkout button br,
.woocommerce-checkout .button br,
#place_order br {
    display: none !important;
}

/* Optional: Style the coupon toggle link */
.woocommerce-form-coupon-toggle .showcoupon {
    color: #0066FF;
    text-decoration: none;
}

.woocommerce-form-coupon-toggle .showcoupon:hover {
    color: #0052CC;
}

/* Cart Page - Return to shop button - Black */
.woocommerce-cart .return-to-shop .button,
.cart-empty + .return-to-shop .button,
.wc-empty-cart-message + .return-to-shop .button {
    background-color: #000 !important;
    color: #fff !important;
    border: none !important;
    padding: 12px 30px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    border-radius: 4px !important;
    transition: background-color 0.3s ease !important;
}

.woocommerce-cart .return-to-shop .button:hover,
.cart-empty + .return-to-shop .button:hover,
.wc-empty-cart-message + .return-to-shop .button:hover {
    background-color: #333 !important;
}

/* Remove <br> tag from Return to shop button */
.woocommerce-cart .return-to-shop .button br,
.cart-empty + .return-to-shop .button br,
.wc-empty-cart-message + .return-to-shop .button br {
    display: none !important;
}

.woocommerce-message, .woocommerce-info {
	border-top-color: #000;
}

.woocommerce-message::before, .woocommerce-info::before {
	color: #000;
}

.woocommerce-js a.button, .woocommerce-js a.button:hover {
	border-color: #000;
	background-color: #000!important;
}

.woocommerce-form-coupon-toggle .showcoupon {
	color: #000;
}


/* My Account Page - Modern Design */



/* Navigation sidebar */
.woocommerce-MyAccount-navigation {
    flex: 0 0 280px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.woocommerce-MyAccount-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.woocommerce-MyAccount-navigation ul li {
    margin: 0;
    border-bottom: 1px solid #f0f0f0;
}

.woocommerce-MyAccount-navigation ul li:last-child {
    border-bottom: none;
}

.woocommerce-MyAccount-navigation ul li a {
    display: block;
    padding: 16px 24px;
    color: #333;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.woocommerce-MyAccount-navigation ul li a:hover {
    background: #f8f8f8;
    color: #000;
    padding-left: 28px;
}

.woocommerce-MyAccount-navigation ul li.is-active a {
    background: #000;
    color: #fff;
    font-weight: 600;
}

.woocommerce-MyAccount-navigation ul li.is-active a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #FFC107;
}

/* Content area */
.woocommerce-MyAccount-content {
    flex: 1;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* Welcome message */
.woocommerce-MyAccount-content > p:first-child {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}

.woocommerce-MyAccount-content strong {
    color: #000;
    font-weight: 600;
}

/* Links styling */
.woocommerce-MyAccount-content a {
    color: #0066FF;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.woocommerce-MyAccount-content a:hover {
    color: #0052CC;
    text-decoration: underline;
}

/* Dashboard specific */
.woocommerce-MyAccount-content p a {
    display: inline-block;
    margin: 0 4px;
}

/* Headings */
.woocommerce-MyAccount-content h2,
.woocommerce-MyAccount-content h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #000;
    font-weight: 600;
}

/* Tables */
.woocommerce-MyAccount-content table {
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
}

.woocommerce-MyAccount-content table th {
    background: #f8f8f8;
    font-weight: 600;
    padding: 12px 15px;
}

.woocommerce-MyAccount-content table td {
    padding: 12px 15px;
}

/* Buttons */
.woocommerce-MyAccount-content .button,
.woocommerce-MyAccount-content button {
    background-color: #000 !important;
    color: #fff !important;
    border: none !important;
    padding: 12px 24px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    border-radius: 4px !important;
    transition: background-color 0.3s ease !important;
}

.woocommerce-MyAccount-content .button:hover,
.woocommerce-MyAccount-content button:hover {
    background-color: #333 !important;
}

/* Forms */
.woocommerce-MyAccount-content input[type="text"],
.woocommerce-MyAccount-content input[type="email"],
.woocommerce-MyAccount-content input[type="password"],
.woocommerce-MyAccount-content textarea,
.woocommerce-MyAccount-content select {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px 15px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.woocommerce-MyAccount-content input:focus,
.woocommerce-MyAccount-content textarea:focus,
.woocommerce-MyAccount-content select:focus {
    border-color: #000;
    outline: none;
}

/* Addresses */
.woocommerce-Addresses {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.woocommerce-Address {
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 20px;
    background: #fafafa;
}

.woocommerce-Address-title h3 {
    margin: 0 0 15px 0;
    font-size: 18px;
}

.woocommerce-Address address {
    font-style: normal;
    line-height: 1.8;
    color: #666;
}

/* Orders table */
.woocommerce-orders-table {
    width: 100%;
}

.woocommerce-orders-table__cell-order-number a {
    font-weight: 600;
    color: #000;
}

/* Responsive */
@media (max-width: 768px) {
    .woocommerce-account {
        flex-direction: column;
    }
    
    .woocommerce-MyAccount-navigation {
        flex: 1;
        width: 100%;
    }
}

/* Log out link styling */
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout a {
    color: #d32f2f;
}

.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout a:hover {
    background: #fff5f5;
}

/* Ensure full product image shows in cart */
.woocommerce-cart .product-thumbnail img {
  width: 100%;
  height: auto;
  object-fit: contain;
}


.woocommerce-checkout .cart-subtotal, .woocommerce-cart .cart-subtotal {
	display: table-row!important;
}

.custom-lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: #fff;
}

.custom-lang-switcher .lang-item {
    color: #c6bcbc;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s;
}

.custom-lang-switcher .lang-item.active {
    color: #000;
}

.custom-lang-switcher .lang-item:hover {
    color: #000;
}

.custom-lang-switcher .lang-separator {
    color: #ccc;
}