/**
Theme Name: Birdy Studio
Author: Birdy Studio
Author URI: https://birdystudio.net/tentang-birdy-studio/
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: birdy-studio
Template: astra
*/

/* User Profile Section */
.birdy-user-profile {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.birdy-user-profile .birdy-avatar {
    flex-shrink: 0;
}

.birdy-user-profile .birdy-avatar img {
    border-radius: 50%;
    border: 3px solid #f0f0f0;
    transition: border-color 0.3s ease;
}

.birdy-user-profile .birdy-avatar img:hover {
    border-color: #4a90e2;
}

.birdy-user-profile .user-info {
    display: flex;
    align-items: baseline;
    /* Align text baselines */
    gap: 5px;
}

.birdy-user-profile .user-info .greeting {
    /* display: block; Removed to allow inline/flex flow */
    font-size: 14px;
    /* Adjusted size to match better if inline */
    color: #888;
}

.birdy-user-profile .user-info .username {
    margin: 0;
    font-size: 18px;
    /* Slight increase since it's the main header of the sidebar now */
    font-weight: 600;
}

/* WooCommerce My Account Layout */
.woocommerce-account .woocommerce {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
    flex: 0 0 250px;
    /* Sidebar width */
    width: 250px;
}

.woocommerce-account .woocommerce-MyAccount-content {
    flex: 1;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    min-width: 0;
    /* Prevent flex overflow */
}

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

.woocommerce-MyAccount-navigation ul li {
    margin-bottom: 5px;
}

.woocommerce-MyAccount-navigation ul li a {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: #555;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.woocommerce-MyAccount-navigation ul li a:hover,
.woocommerce-MyAccount-navigation ul li.is-active a {
    background: #f5f9ff;
    color: #4a90e2;
    /* Accent Color */
}

/* Icons for Navigation (Using simple pseudo-elements via FontAwesome classes if available, 
   otherwise styling based on generic class logic or needing JS mapping. 
   For now, simple CSS approach or manual mapping if class names are standard WC) */

/* Example: Add generic icon spacing */
.woocommerce-MyAccount-navigation ul li a::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 12px;
    width: 20px;
    text-align: center;
}

.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--dashboard a::before {
    content: "\f009";
}

.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--orders a::before {
    content: "\f466";
}

.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--downloads a::before {
    content: "\f019";
}

.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--edit-address a::before {
    content: "\f3c5";
}

.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--edit-account a::before {
    content: "\f007";
}

.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout a::before {
    content: "\f2f5";
}


/* WooCommerce Block Cart - Horizontal Layout Fix */

/* Make the wrap container horizontal */
.wc-block-cart-items .wc-block-cart-item__wrap {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 15px !important;
    flex-wrap: nowrap !important;
}

/* Product name - flexible width */
.wc-block-cart-items .wc-block-components-product-name {
    flex: 1 1 auto !important;
    min-width: 0 !important;
}

/* Price - auto width */
.wc-block-cart-items .wc-block-cart-item__prices,
.wc-block-cart-items .wc-block-components-product-price {
    flex-shrink: 0 !important;
    margin: 0 !important;
}

/* Quantity selector - auto width, push to right */
.wc-block-cart-items .wc-block-cart-item__quantity {
    margin-left: auto !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    flex-shrink: 0 !important;
}

/* Image - 100px fixed */
.wc-block-cart-items .wc-block-cart-item__image {
    max-width: 100px !important;
    width: 100px !important;
    min-width: 100px !important;
}

.wc-block-cart-items .wc-block-cart-item__image img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
}

/* Ensure mobile stacking looks okay */
@media (max-width: 768px) {
    .wc-block-cart-items .wc-block-cart-item__wrap {
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .wc-block-cart-items .wc-block-cart-item__quantity {
        margin-left: 0 !important;
        margin-top: 10px !important;
    }
}

@media (max-width: 768px) {
    .woocommerce-cart .product-name {
        flex-direction: column;
        align-items: flex-start;
    }
}

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

    .woocommerce-account .woocommerce-MyAccount-navigation {
        flex: auto;
        width: 100%;
    }
}