  /*
Theme Name: Woodmart Child
Template: woodmart
Author: Your Name or Company
Version: 1.0
*/

@import url("../woodmart/style.css");








/* My Account grid styling */
.woocommerce-MyAccount-content .wd-my-account-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
}

.woocommerce-MyAccount-content .wd-my-account-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 18px;
    background-color: #f8f8f8; /* adjust to match your theme */
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.woocommerce-MyAccount-content .wd-my-account-link:hover {
    background-color: #f1f1f1;
    box-shadow: 0 4px 8px rgba(0,0,0,0.12);
}

.woocommerce-MyAccount-content .wd-my-account-link a {
    color: #222; /* match your other links */
    text-decoration: none;
    width: 100%;
}












/* Target links inside WooCommerce My Account - left column navigation - + WoodMart WPBakery wrappers */
.woocommerce-account .woocommerce-MyAccount-content .my-account-links,
.woocommerce-account .woocommerce-MyAccount-content .my-account-links .wd-custom-link,
.woocommerce-account .woocommerce-MyAccount-content .my-account-links .wd-custom-link a {
    all: unset; /* remove inherited WoodMart/WPBakery styles */
    box-sizing: border-box;
}

/* Container flex layout */
.woocommerce-account .woocommerce-MyAccount-content .my-account-links {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
}

/* Each link box */
.woocommerce-account .woocommerce-MyAccount-content .my-account-links .wd-custom-link {
    display: block !important;
    height: 40px !important;
    background-color: #ffffff !important;
    border-radius: 4px !important;
}

/* Inner <a> fills entire box */
.woocommerce-account .woocommerce-MyAccount-content .my-account-links .wd-custom-link a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    line-height: 40px !important;
    padding: 0 15px !important;
    text-decoration: none !important;
    color: #222 !important;
    transition: background-color 0.3s !important;
}

/* Current page */
.woocommerce-account .woocommerce-MyAccount-content .my-account-links .wd-custom-link a[aria-current="page"] {
    background-color: #F0F0F0 !important;
}

/* Hover effect */
.woocommerce-account .woocommerce-MyAccount-content .my-account-links .wd-custom-link a:hover:not([aria-current="page"]) {
    background-color: #F7F7F7 !important;
}









/* Fix oversized Formidable file upload icon */
.frm-file-upload .frm-svg-icon {
    width: 18px !important;
    height: 18px !important;
    max-width: 18px;
    max-height: 18px;
}









