/*
Theme Name: Astra Child
Theme URI: https://wpastra.com/
Template: astra
Author: Brainstorm Force
Author URI: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme
Description: The Astra WordPress theme is lightning-fast and highly customizable. It has over 1 million downloads and the only theme in the world with 6,000+ five-star reviews! It’s ideal for professional web designers, solopreneurs, small businesses, eCommerce, membership sites and any type of website. It offers special features and templates so it works perfectly with all page builders like Spectra, Elementor, Beaver Builder, etc. Fast performance, clean code, mobile-first design and schema markup are all built-in, making the theme exceptionally SEO-friendly. It’s fully compatible with WooCommerce, SureCart and other eCommerce plugins and comes with lots of store-friendly features and templates. Astra also provides expert support for free users. A dedicated team of fully trained WordPress experts are on hand to help with every aspect of the theme. Try the live demo of Astra: https://zipwp.org/themes/astra/
Tags: custom-menu,custom-logo,entertainment,one-column,two-columns,left-sidebar,e-commerce,right-sidebar,custom-colors,editor-style,featured-images,full-width-template,microformats,post-formats,rtl-language-support,theme-options,threaded-comments,translation-ready,blog
Version: 4.12.0.1768956660
Updated: 2026-01-21 02:51:00

*/

/*--------------------------------------------------------------
Checkout Page - General styling
--------------------------------------------------------------*/
/* Add top spacing to checkout page */
.woocommerce-checkout .entry-content,
.woocommerce-checkout #primary {
    padding-top: 40px;
}

/*--------------------------------------------------------------
Checkout - Coupon styling (below billing details)
--------------------------------------------------------------*/
/* Hide the toggle link since form is always visible */
.woocommerce-form-coupon-toggle {
    display: none !important;
}

/* Style the coupon form - always visible */
.woocommerce form.checkout_coupon {
    display: block !important;
    background-color: transparent !important;
    border: none !important;
    border-radius: 0;
    margin-top: 25px;
    padding: 0 !important;
    box-shadow: none;
}

/* Coupon title styling - match native form labels */
.woocommerce form.checkout_coupon .coupon-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--ast-global-color-2);
    margin: 0 0 10px 0;
    width: 100%;
    flex-basis: 100%;
}

/* Coupon input - match native WooCommerce inputs */
.woocommerce form.checkout_coupon input.input-text {
    font-size: 15px !important;
    padding: 10px 15px !important;
    border: 1px solid #d4d4d4 !important;
    border-radius: 4px !important;
    background-color: #fff !important;
    color: var(--ast-global-color-3) !important;
    transition: border-color 0.2s ease !important;
}

.woocommerce form.checkout_coupon input.input-text::placeholder {
    color: #999 !important;
}

.woocommerce form.checkout_coupon input.input-text:focus {
    border-color: var(--ast-global-color-0) !important;
    outline: none !important;
}

/* Coupon button - match native WooCommerce/Astra buttons */
.woocommerce form.checkout_coupon button.button {
    font-size: 15px !important;
    font-weight: 600 !important;
    padding: 10px 24px !important;
    white-space: nowrap !important;
    min-width: auto !important;
    background-color: #506b52 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    transition: background-color 0.2s ease !important;
}

.woocommerce form.checkout_coupon button.button:hover {
    background-color: #3f5640 !important;
}

/* Align input and button horizontally using flexbox */
.woocommerce form.checkout_coupon {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: flex-end !important;
}

.woocommerce form.checkout_coupon p.form-row-first {
    flex: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    padding-inline-end: 10px !important;
}

.woocommerce form.checkout_coupon p.form-row-last {
    flex: 0 0 auto !important;
    margin: 0 !important;
    padding: 0 !important;
}

.woocommerce form.checkout_coupon p.form-row-first input.input-text,
.woocommerce form.checkout_coupon p.form-row-last button.button {
    height: 44px !important;
    box-sizing: border-box !important;
}

.woocommerce form.checkout_coupon div.clear {
    display: none !important;
}

/* Error/notice messages for coupon */
.woocommerce form.checkout_coupon .coupon-error-notice {
    font-size: 14px !important;
    width: 100% !important;
    flex-basis: 100% !important;
    margin-top: 10px !important;
}

/* Hide the label next to input since we have the title */
.woocommerce form.checkout_coupon p.form-row-first label {
    display: none !important;
}

