/*
Theme Name: Hello Elementor Child
Description: Child theme for Hello Elementor
Author: Your Name
Template: hello-elementor
Version: 1.0.0
*/

/* Import parent theme styles */
@import url("../hello-elementor/style.css");

/* Your custom styles go below this line */

/* Example custom styles */
body {
    /* Add your custom body styles here */
}

/* Custom header styles */
.site-header {
    /* Add your custom header styles here */
}

/* Custom footer styles */
.site-footer {
    /* Add your custom footer styles here */
}

.from-text {
    display: none;
}

/* ========================================
   Addresses Page Header
   ======================================== */
.woocommerce-account .page-header .entry-title {
    font-family: 'the-seasons', sans-serif !important;
    font-size: 32px !important;
    font-weight: 600 !important;
    color: #613C21 !important;
    text-align: center !important;
    margin-top: 2rem !important;
    margin-bottom: 2rem !important;
    text-transform: capitalize !important;
}

/* ========================================
   WooCommerce Button Styling - Consolidated
   ======================================== */

/* Base button styling - applied to all buttons */
.woocommerce-form-login__submit,
.woocommerce-form-register__submit,
.woocommerce-MyAccount-navigation-link a,
.woocommerce-MyAccount-content p a[href*="action=logout"],
.woocommerce-orders-table .woocommerce-button.button.view,
.woocommerce-Address-title a.edit,
button[name="save_address"],
a.button[href*="add-payment-method"],
a.button.delete[href*="delete-payment-method"],
button[name="save_account_details"],
button#place_order {
    font-family: 'Poppins', sans-serif !important;
    background-color: #bc326b !important;
    color: white !important;
    border-radius: 0px !important;
    border: none !important;
    padding: 12px 24px !important;
    font-weight: 400 !important;
    text-decoration: none !important;
}

/* Display adjustments for specific buttons */
.woocommerce-MyAccount-content p a[href*="action=logout"],
.woocommerce-Address-title a.edit,
a.button[href*="add-payment-method"],
a.button.delete[href*="delete-payment-method"] {
    display: inline-block !important;
}

.woocommerce-MyAccount-navigation-link a {
    display: block !important;
    text-align: center !important;
}

/* Special spacing for logout button */
.woocommerce-MyAccount-content p a[href*="action=logout"] {
    margin-left: 8px !important;
}

/* ========================================
   My Account Navigation Specific Styles
   ======================================== */

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

.woocommerce-MyAccount-navigation-link {
    margin-bottom: 8px !important;
}

/* Active navigation state */
.woocommerce-MyAccount-navigation-link.is-active a {
    background-color: #bc326b !important;
}

/* ========================================
   Accessibility - Focus States
   ======================================== */

.woocommerce-MyAccount-navigation-link a:focus {
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(12, 35, 64, 0.3) !important;
}

button.woocommerce-Button.button[name="save_account_details"] {
    margin-top: 1rem;
}

/* ========================================
   Typography - Global Account Page Text
   ======================================== */
.woocommerce-account .woocommerce-MyAccount-content,
.woocommerce-account .woocommerce-MyAccount-content p,
.woocommerce-account .woocommerce-MyAccount-content label,
.woocommerce-account .woocommerce-MyAccount-content td,
.woocommerce-account .woocommerce-MyAccount-content th,
.woocommerce-account .woocommerce-MyAccount-content h2,
.woocommerce-account .woocommerce-MyAccount-content h3,
.woocommerce-account .woocommerce-MyAccount-content span,
.woocommerce-account .woocommerce-MyAccount-content address,
.woocommerce-account .woocommerce-MyAccount-content li {
    font-family: 'Poppins', sans-serif !important;
    font-size: 14px !important;
    color: #613C21 !important;
    font-weight: 400 !important;
}

/* ========================================
   Form Fields Styling
   ======================================== */
.woocommerce-account input[type="text"],
.woocommerce-account input[type="email"],
.woocommerce-account input[type="password"],
.woocommerce-account input[type="tel"],
.woocommerce-account select,
.woocommerce-account textarea {
    border: 1px solid #613C21 !important;
    border-radius: 0px !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 14px !important;
    color: #613C21 !important;
    font-weight: 400 !important;
}

/* Maintain border styling on focus/active states */
.woocommerce-account input[type="text"]:focus,
.woocommerce-account input[type="email"]:focus,
.woocommerce-account input[type="password"]:focus,
.woocommerce-account input[type="tel"]:focus,
.woocommerce-account select:focus,
.woocommerce-account textarea:focus,
.woocommerce-account input[type="text"]:active,
.woocommerce-account input[type="email"]:active,
.woocommerce-account input[type="password"]:active,
.woocommerce-account input[type="tel"]:active,
.woocommerce-account select:active,
.woocommerce-account textarea:active {
    border: 1px solid #613C21 !important;
    border-radius: 0px !important;
    outline: none !important;
}

/* ========================================
   Hide Downloads Navigation Link
   ======================================== */
.woocommerce-MyAccount-navigation-link--downloads {
    display: none !important;
}

/* ========================================
   Pagination Buttons
   ======================================== */
.woocommerce-pagination .woocommerce-button,
.woocommerce-Pagination .woocommerce-Button {
    font-family: 'Poppins', sans-serif !important;
    background-color: #bc326b !important;
    color: white !important;
    border-radius: 0px !important;
    border: none !important;
    padding: 12px 24px !important;
    font-weight: 400 !important;
    text-decoration: none !important;
    display: inline-block !important;
    margin-bottom: 1rem !important;
}

/* ========================================
   Hide "shipping and" text in dashboard
   ======================================== */
.woocommerce-MyAccount-content p a[href*="edit-address"] {
    font-size: 0 !important;
}

.woocommerce-MyAccount-content p a[href*="edit-address"]::after {
    content: "billing addresses";
    font-size: 14px !important;
    //font-family: 'Poppins', sans-serif !important;
    //color: #613C21 !important;
    //font-weight: 400 !important;
}