/* ==========================================================================
   1. GLOBAL PAGE & GRID LAYOUT
   ========================================================================== */
body.woocommerce-account {
    background-color: #F4F0E4 !important;
}

/* Force Woodmart theme container wrappers to turn completely transparent */
body.woocommerce-account .site-content,
body.woocommerce-account .main-page-wrapper,
body.woocommerce-account .content-sidebar-wrap {
    background-color: transparent !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding-top: 60px;
}

/* Structural shell layout grid alignment */
body.woocommerce-account .bash-account-layout-grid {
    display: grid !important;
    grid-template-columns: 320px 1fr !important;
    gap: 40px !important;
    max-width: 1300px !important;
    margin: 40px auto !important;
    padding: 0 20px !important;
    align-items: start !important;
}

/* ==========================================================================
   2. FLAT SIDEBAR DESIGN (NO SHADOWS - MATCHING YOUR SCREENSHOT)
   ========================================================================== */
body.woocommerce-account .bash-account-sidebar {
    background: #F4F0E4 !important;
    border: none !important;
    border-radius: 20px !important;
    padding: 32px 24px !important;
    box-shadow: none !important;
}

body.woocommerce-account .bash-account-header {
    margin-bottom: 28px !important;
}

body.woocommerce-account .bash-sidebar-title {
    color: #162621 !important;
    font-size: 22px !important;
    font-weight: 600 !important;
    margin: 0 !important;
    padding-bottom: 16px !important;
    border-bottom: 1px solid #F5F5F5 !important;
}

body.woocommerce-account .bash-account-menu {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}

body.woocommerce-account .bash-account-menu li {
    margin: 0 !important;
    padding: 0 !important;
    list-style-type: none !important;
}

body.woocommerce-account .bash-account-menu li a {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    padding: 14px 20px !important;
    text-decoration: none !important;
    border-radius: 12px !important;
    color: #162621 !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 26px !important;
    transition: all 0.2s ease-in-out !important;
}

/* Vector Graphic Menu Icons */
body.woocommerce-account .bash-menu-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 24px !important;
    height: 24px !important;
    color: #9AA6A2 !important;
    transition: color 0.2s ease-in-out !important;
}

body.woocommerce-account .bash-menu-icon svg {
    display: block !important;
    width: 20px !important;
    height: 20px !important;
    stroke: currentColor !important;
}

/* Hover Link Modifiers */
body.woocommerce-account .bash-account-menu li a:hover {
    background-color: #F8F9F8 !important;
    color: #162621 !important;
}

/* Exact Active State Design */
body.woocommerce-account .bash-account-menu li.active a {
    background-color: #162621 !important;
    color: #FFFFFF !important;
}

body.woocommerce-account .bash-account-menu li.active .bash-menu-icon {
    color: #FFFFFF !important;
}

/* Custom safety rule for logout link hover accent colors cleanly */
body.woocommerce-account .bash-account-menu li.bash-menu-item-logout a:hover {
    background-color: #FFF2F2 !important;
    color: #DF2A2A !important;
}
body.woocommerce-account .bash-account-menu li.bash-menu-item-logout a:hover .bash-menu-icon {
    color: #DF2A2A !important;
}

/* ==========================================================================
   3. FLAT RIGHT CONTENT AREA & CUSTOM PRODUCT ROWS (ORDERS PAGE)
   ========================================================================== */
body.woocommerce-account .bash-account-content-wrapper {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

body.woocommerce-account .bash-order-section {
    margin-bottom: 64px !important;
}

body.woocommerce-account .bash-order-section h2 {
    font-size: 32px !important;
    font-weight: 500 !important;
    color: #162621 !important;
    margin: 0 0 12px !important;
}

body.woocommerce-account .bash-order-section .bash-sub-status {
    font-size: 24px !important;
    color: #162621 !important;
    margin-bottom: 32px !important;
}

body.woocommerce-account .bash-order-date {
    font-size: 18px !important;
    font-weight: 500 !important;
    color: #162621 !important;
    margin: 40px 0 16px 0 !important;
}

body.woocommerce-account .bash-product-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    padding: 32px 0 !important;
    border-bottom: 1px dashed #D7D7D7 !important;
}

body.woocommerce-account .bash-product-row:last-child {
    border-bottom: none !important;
}

body.woocommerce-account .bash-product-left {
    display: flex !important;
    gap: 16px !important;
    align-items: flex-start !important;
}

body.woocommerce-account .bash-product-image {
    width: 100px !important;
    height: 100px !important;
    flex-shrink: 0 !important;
}

body.woocommerce-account .bash-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    border-radius: 12px !important;
    display: block !important;
}

body.woocommerce-account .bash-product-meta h4 {
    margin: 0 !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 26px !important;
    color: #162621 !important;
}

body.woocommerce-account .bash-product-brand {
    margin-top: 4px !important;
    font-size: 16px !important;
    line-height: 26px !important;
    color: #7A837F !important;
}

body.woocommerce-account .bash-product-right {
    text-align: right !important;
}

body.woocommerce-account .bash-product-total {
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 26px !important;
    color: #162621 !important;
}

body.woocommerce-account .bash-product-unit {
    margin-top: 8px !important;
    font-size: 16px !important;
    line-height: 26px !important;
    color: #7A837F !important;
}

body.woocommerce-account .bash-product-status {
    margin-top: 24px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 26px !important;
    color: #162621 !important;
}

body.woocommerce-account .bash-empty-orders {
    padding: 40px !important;
    border: 1px dashed #D7D7D7 !important;
    border-radius: 16px !important;
    text-align: center !important;
    color: #7A837F !important;
}

/* ==========================================================================
   4. WOODMART NATIVE WISHLIST OVERRIDES & ROW CONVERSION
   ========================================================================== */

/* Hide Woodmart's structural layout anomalies inside custom layout panels */
.bash-account-content-wrapper .bash-account-sidebar,
.bash-account-content-inner .woocommerce-MyAccount-navigation,
.bash-account-content-inner .wd-my-account-sidebar {
    display: none !important;
}

/* Force standard full width structural column layout spacing rules */
.bash-account-content-wrapper .woocommerce-MyAccount-content,
.bash-account-content-wrapper .wd-my-account-content {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
}

/* Flatten the product grid container stack completely */
.bash-account-content-wrapper .wd-wishlist-content .products.elements-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
}

/* Transform grid cards into matching flat horizontal item rows */
body.woocommerce-account .bash-account-content-wrapper .wd-wishlist-content .product-grid-item {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    width: 100% !important;
    max-width: 100% !important;
    background: transparent !important;
    border: none !important;
    border-bottom: 1px dashed #D7D7D7 !important;
    border-radius: 0 !important;
    padding: 32px 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
}

body.woocommerce-account .bash-account-content-wrapper .wd-wishlist-content .product-grid-item:last-child {
    border-bottom: none !important;
}

/* Force custom alignment configurations on Woodmart's internal wrapper */
.bash-account-content-wrapper .wd-wishlist-content .product-grid-item .product-wrapper {
    display: flex !important;
    flex-direction: row !important;
    gap: 16px !important;
    align-items: flex-start !important;
    flex: 1 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    max-width: 70% !important;
    transform: none !important;
}

/* Resize Woodmart thumbnail images to match perfectly */
.bash-account-content-wrapper .wd-wishlist-content .product-element-top {
    width: 100px !important;
    height: 100px !important;
    flex-shrink: 0 !important;
    margin-bottom: 0 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
}

.bash-account-content-wrapper .wd-wishlist-content .product-element-top img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* Match clean typographic properties on item labels */
.bash-account-content-wrapper .wd-wishlist-content .wd-entities-title {
    margin: 0 !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 26px !important;
}

.bash-account-content-wrapper .wd-wishlist-content .wd-entities-title a {
    color: #162621 !important;
    text-decoration: none !important;
}

/* Shift category tags down into brand position layouts */
.bash-account-content-wrapper .wd-wishlist-content .wd-product-cats {
    margin-top: 4px !important;
    font-size: 16px !important;
    line-height: 26px !important;
    color: #7A837F !important;
}

.bash-account-content-wrapper .wd-wishlist-content .wd-product-cats a {
    color: #7A837F !important;
    text-decoration: none !important;
}

/* Push actions and pricing content clean to the right side block */
.bash-account-content-wrapper .wd-wishlist-content .product-grid-item .price {
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 26px !important;
    color: #162621 !important;
    text-align: right !important;
    margin: 0 0 8px 0 !important;
}

/* Deconstruct the close action button, changing it from a cross layout into text link formatting */
.bash-account-content-wrapper .wd-wishlist-content .wd-remove-btn {
    position: static !important;
    display: inline-block !important;
    color: #162621 !important;
    text-decoration: underline !important;
    text-align: right !important;
    background: transparent !important;
    width: auto !important;
    height: auto !important;
    margin-top: 24px !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.bash-account-content-wrapper .wd-wishlist-content .wd-remove-btn:before {
    content: "წაშლა" !important;
    font-family: inherit !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 26px !important;
    color: #162621 !important;
}

/* Clear theme specific add-to-cart badges and global share layout blocks */
/*.bash-account-content-wrapper .wd-wishlist-content .wd-action-btn.wd-add-cart-btn,*/
/*.bash-account-content-wrapper .wd-wishlist-content .woodmart-social-icons,*/
/*.bash-account-content-wrapper .wd-wishlist-content .fade-in-block,*/
/*.bash-account-content-wrapper .wd-wishlist-content .wd-action-btn,*/
/*.bash-account-content-wrapper .wd-wishlist-content .wd-add-to-cart-icon {*/
/*    display: none !important;*/
/*}*/

/* ==========================================================================
   5. RESPONSIVE BREAKDOWN ENGINE (TABLET / MOBILE)
   ========================================================================== */
@media (max-width: 991px) {
    body.woocommerce-account .bash-account-layout-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
        margin: 20px auto !important;
    }
    
    body.woocommerce-account .bash-product-row {
        flex-direction: column !important;
        gap: 16px !important;
    }
    
    body.woocommerce-account .bash-product-right {
        text-align: left !important;
        padding-left: 116px !important;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    body.woocommerce-account .bash-account-layout-grid {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
        margin: 20px auto !important;
        padding: 0 24px !important;
    }

    body.woocommerce-account .bash-product-row {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
        padding: 28px 0 !important;
    }

    body.woocommerce-account .bash-product-left {
        width: 65% !important;
        display: flex !important;
        gap: 16px !important;
    }

    body.woocommerce-account .bash-product-image {
        width: 84px !important;
        height: 84px !important;
    }

    body.woocommerce-account .bash-product-right {
        width: 30% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-end !important;
        text-align: right !important;
        margin-top: 0 !important;
        padding-left: 0 !important;
    }

    body.woocommerce-account .bash-product-meta h4 {
        font-size: 15px !important;
        line-height: 22px !important;
    }

    body.woocommerce-account .bash-product-brand {
        font-size: 14px !important;
        line-height: 20px !important;
    }

    body.woocommerce-account .bash-product-total {
        font-size: 15px !important;
        line-height: 22px !important;
    }

    body.woocommerce-account .bash-product-unit {
        font-size: 13px !important;
        line-height: 18px !important;
        margin-top: 4px !important;
    }

    body.woocommerce-account .bash-product-status,
    body.woocommerce-account .bash-cancel-link-container {
        margin-top: 16px !important;
        font-size: 14px !important;
    }
}

@media (max-width: 768px) {
    body.woocommerce-account .bash-account-layout-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        margin: 10px auto !important;
        padding: 0 15px !important;
    }

    body.woocommerce-account .bash-product-row,
    body.woocommerce-account .bash-account-content-wrapper .wd-wishlist-content .product-grid-item {
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 24px 0 !important;
        position: relative !important;
    }

    body.woocommerce-account .bash-product-left,
    .bash-account-content-wrapper .wd-wishlist-content .product-grid-item .product-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: -25px;
    }

    body.woocommerce-account .bash-product-image,
    .bash-account-content-wrapper .wd-wishlist-content .product-element-top {
        width: 80px !important;
        height: 80px !important;
    }

    body.woocommerce-account .bash-product-meta,
    .bash-account-content-wrapper .wd-wishlist-content .product-grid-item .product-wrapper {
        flex-grow: 1 !important;
    }

    body.woocommerce-account .bash-product-meta h4,
    .bash-account-content-wrapper .wd-wishlist-content .wd-entities-title {
        font-size: 15px !important;
        line-height: 22px !important;
    }

    body.woocommerce-account .bash-product-brand,
    .bash-account-content-wrapper .wd-wishlist-content .wd-product-cats {
        font-size: 14px !important;
        line-height: 20px !important;
    }

    body.woocommerce-account .bash-product-right,
    body.woocommerce-account .bash-account-content-wrapper .wd-wishlist-content .product-grid-item .price {
        text-align: right !important;
        padding-left: 0 !important;
        margin-top: -30px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-end !important;
    }

    body.woocommerce-account .bash-product-total {
        font-size: 15px !important;
        line-height: 22px !important;
    }

    body.woocommerce-account .bash-product-unit {
        margin-top: 2px !important;
        font-size: 13px !important;
        line-height: 18px !important;
    }

    body.woocommerce-account .bash-cancel-link-container,
    .bash-account-content-wrapper .wd-wishlist-content .wd-remove-btn {
        width: 100% !important;
        text-align: right !important;
        margin-top: 15px !important;
    }

    body.woocommerce-account .bash-order-section h2 {
        font-size: 24px !important;
    }

    body.woocommerce-account .bash-order-section .bash-sub-status {
        font-size: 18px !important;
        margin-bottom: 20px !important;
    }

    body.woocommerce-account .bash-order-date {
        font-size: 16px !important;
        margin: 24px 0 12px 0 !important;
    }
}




/* ==========================================================================
   4. BASH ACCOUNT: FAVORITES NATIVE CATALOG GRID (2 COLUMNS)
   ========================================================================== */

/* Remove any duplicate theme sidebars inside your layout block */
.bash-account-content-wrapper .bash-account-sidebar,
.bash-account-content-inner .woocommerce-MyAccount-navigation,
.bash-account-content-inner .wd-my-account-sidebar {
    display: none !important;
}

/* Format your custom favorites outer container */
.bash-favorites-grid {
    width: 100% !important;
    display: block !important;
    margin-top: 24px !important;
}

/* Force the shortcode catalog grid to render cleanly into 2 columns */
.bash-favorites-grid div.products.elements-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 24px !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* Standardize card layout behavior inside the favorites tab grid */
.bash-favorites-grid div.products.elements-grid .product-grid-item {
    width: 100% !important;
    max-width: 100% !important;
    position: relative !important;
    left: auto !important;
    top: auto !important;
    margin: 0 !important;
}

/* Mobile responsive optimization: stack cards to 1 per line on phones */
@media (max-width: 768px) {
    .bash-favorites-grid div.products.elements-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
}


/**/


/* ==========================================================================
   4. BASH ACCOUNT: WISHLIST FORCE GRID (2 COLUMNS & FULL WIDTH)
   ========================================================================== */

/* 1. Hide native top layout metadata blocks (sharing links, text, checkboxes from image_437503.jpg) */
#bash-ultimate-wishlist-grid-wrapper .wd-wishlist-back-btn,
#bash-ultimate-wishlist-grid-wrapper .woodmart-social-icons,
#bash-ultimate-wishlist-grid-wrapper .wd-wishlist-heading,
#bash-ultimate-wishlist-grid-wrapper .product-checkbox,
#bash-ultimate-wishlist-grid-wrapper .wishlist-title,
#bash-ultimate-wishlist-grid-wrapper .wd-wishlist-content > p {
    display: none !important;
}

/* 2. Hide the ugly top floating close marks seen in image_437503.jpg */
#bash-ultimate-wishlist-grid-wrapper .wd-remove-btn,
#bash-ultimate-wishlist-grid-wrapper .product-remove {
    display: none !important;
}

/* 3. Force the parent outer frame layout canvas to stretch full width */
#bash-ultimate-wishlist-grid-wrapper,
#bash-ultimate-wishlist-grid-wrapper .wd-wishlist-content,
#bash-ultimate-wishlist-grid-wrapper form.wd-wishlist-form {
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
}

/* 4. Force standard product loop columns into a clean 2-column grid layout */
#bash-ultimate-wishlist-grid-wrapper div.products,
#bash-ultimate-wishlist-grid-wrapper .products.elements-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 32px !important; /* Premium wide gap separation */
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* 5. Clean up item container card structure boxes */
#bash-ultimate-wishlist-grid-wrapper .product-grid-item,
#bash-ultimate-wishlist-grid-wrapper .product {
    display: flex !important;
    flex-direction: column !important;
    justify-content: transform !important;
    align-items: stretch !important;
    background: #FFFFFF !important;
    border: none !important;
    border-radius: 20px !important; /* Premium custom border radius */
    padding: 0 0 24px 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    position: relative !important;
    width: 100% !important;
    box-shadow: 0 4px 20px rgba(22, 38, 33, 0.04) !important;
}

/* 6. Ensure inner item wrapper doesn't restrict inner card dimensions */
#bash-ultimate-wishlist-grid-wrapper .product-wrapper {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    transform: none !important;
}

/* 7. Prevent thumbnail images from shrinking down (Standard 16:10 ratio layout) */
#bash-ultimate-wishlist-grid-wrapper .product-element-top {
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 10 !important;
    margin-bottom: 20px !important;
    position: relative !important;
}

#bash-ultimate-wishlist-grid-wrapper .product-element-top img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 20px 20px 0 0 !important;
}

/* Title Font Configurations */
#bash-ultimate-wishlist-grid-wrapper .wd-entities-title a {
    font-size: 18px !important;
    font-weight: 600 !important;
    line-height: 28px !important;
    color: #162621 !important;
    text-decoration: none !important;
}

/* Style down internal content text descriptions */
#bash-ultimate-wishlist-grid-wrapper .product-description {
    font-size: 14px !important;
    line-height: 22px !important;
    color: #7A837F !important;
    margin-top: 8px !important;
    margin-bottom: 16px !important;
}

/* 9. Format bottom pricing text details */
#bash-ultimate-wishlist-grid-wrapper .price,
#bash-ultimate-wishlist-grid-wrapper .price amount {
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 26px !important;
    color: #162621 !important;
    margin-top: auto !important; /* Pushes price cleanly to the bottom card row */
    padding-bottom: 4px !important;
}

/* 10. Mobile breakdown layout adjustment */
@media (max-width: 768px) {
    #bash-ultimate-wishlist-grid-wrapper div.products,
    #bash-ultimate-wishlist-grid-wrapper .products.elements-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
}



/* ==========================================================================
   BASH ACCOUNT: GLOBAL INTERCEPT CLEANUP FOR MY ACCOUNT
   ========================================================================== */

/* Target the social sharing row globally inside account pages */
.woocommerce-MyAccount-content .woodmart-social-icons,
.woocommerce-MyAccount-content .wd-social-icons,
.woocommerce-MyAccount-content .share-title {
    display: none !important;
}

/* Target and completely remove the checkboxes and remove blocks universally within the account frame */
.woocommerce-MyAccount-content .product-checkbox,
.woocommerce-MyAccount-content .product-remove,
.woocommerce-MyAccount-content .wd-remove-btn,
.woocommerce-MyAccount-content .wd-cross-icon {
    display: none !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

.wd-products-element {

width: 800px !important;

}
.wd-wishlist-product-checkbox{
    display:none !important;
}
.wd-wishlist-head{
    display:none !important;
}

/* ==========================================================================
   BASH ACCOUNT: MOBILE FIX FOR WISHLIST WIDTH BLOWOUT
   ========================================================================== */
@media (max-width: 768px) {
    /* Override the 800px restriction on mobile screens so cards fit the phone width */
    .wd-products-element {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* Ensure the structural grid doesn't try to inherit old table dimensions */
    #bash-ultimate-wishlist-grid-wrapper,
    .bash-favorites-grid {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }
}