.woocommerce ul.products li.product .woocommerce-loop-category__title a, .woocommerce ul.products li.product .woocommerce-loop-product__title a, .woocommerce ul.products li.product h3 a {
    -webkit-transition: none;
    transition: none;
    -webkit-transition: none;
    transition: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4em;
    max-height: calc(1.4em * 2);
}

#search-drawer .drawer-inner .drawer-content form input.search-field, #search-drawer .drawer-inner .drawer-content form .base-search-icon-wrap, #search-drawer .drawer-header {
    color: white;
}

/* === My Account Page - Side by Side Layout === */

/* Make the main container a flex row */
.woocommerce:has(.woocommerce-MyAccount-navigation, .woocommerce-MyAccount-content) {
    display: flex !important;
    flex-wrap: wrap;
    gap: 30px;
    align-items: flex-start;
}

/* Sidebar (navigation) – takes about 25% width */
.woocommerce-MyAccount-navigation {
    flex: 1 1 240px;
    min-width: 200px;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
}

/* Content area – takes remaining space */
.woocommerce-MyAccount-content {
    flex: 3 1 500px;
    background: #fff;
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 8px;
}

/* Responsive: on smaller screens, stack vertically */
@media (max-width: 768px) {
    .woocommerce:has(.woocommerce-MyAccount-navigation, .woocommerce-MyAccount-content) {
        flex-direction: column;
    }
    .woocommerce-MyAccount-navigation,
    .woocommerce-MyAccount-content {
        width: 100%;
    }
}

/* Optional: Style the navigation menu items */
.woocommerce-MyAccount-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.woocommerce-MyAccount-navigation ul li {
    margin: 0 0 10px;
}

.woocommerce-MyAccount-navigation ul li a {
    display: block;
    padding: 10px 15px;
    background: #fff;
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.2s;
}

.woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-MyAccount-navigation ul li a:hover {
    background: #ff4f90;
    color: #fff;
}

/* Style the gravatar block above menu */
.woocommerce-account-gravatar {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #ddd;
}

.woocommerce-account-gravatar__avatar {
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.woocommerce-account-gravatar__display-name {
    display: block;
    font-weight: bold;
    margin-top: 10px;
    font-size: 1.1rem;
}

.woocommerce-account-gravatar__edit {
    font-size: 0.8rem;
    color: #e67e22;
    cursor: pointer;
}

.elementor-9 .elementor-element.elementor-element-5b8c871 button.button {
    padding: 0px 16px 0px 16px;
    margin: 0;
}

select.orderby {
    display: none;
}

.base-product-toggle-container .base-toggle-shop-layout {
    display: none;
}
