/*
Theme Name: B2B Bujor
Theme URI: https://b2b.bujor.ro
Author: ILCOMP NET
Author URI: https://ilcompnet.com
Description: Tema minimalista compatibila cu Elementor si WooCommerce
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: b2b-bujor
*/

html {
    line-height: 1.15; /* 1 */
    -webkit-text-size-adjust: 100%; /* 2 */
}

*,
*::before,
*::after {
    box-sizing: border-box; /* 3 */
}

/* Sections
 */
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #333333;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1,
h2,
h3,
h4,
h5,
h6 {
    margin-block-start: 0.5rem;
    margin-block-end: 1rem;
    font-family: inherit;
    font-weight: 500;
    line-height: 1.2;
    color: inherit;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-block-start: 0;
    margin-block-end: 0.9rem;
}

/* Grouping content
 */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
    box-sizing: content-box; /* 1 */
    height: 0; /* 1 */
    overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
    font-family: monospace, monospace; /* 1 */
    font-size: 1em; /* 2 */
    white-space: pre-wrap;
}

/* Text-level semantics
 */
a {
    background-color: transparent;
    text-decoration: none;
    color: #2b1515;
}

a:hover,
a:active {
    color: #333366;
}

a:not([href]):not([tabindex]) {
    color: inherit;
    text-decoration: none;
}

a:not([href]):not([tabindex]):hover,
a:not([href]):not([tabindex]):focus {
    color: inherit;
    text-decoration: none;
}

a:not([href]):not([tabindex]):focus {
    outline: 0;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
    border-block-end: none; /* 1 */
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
    font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
    font-family: monospace, monospace; /* 1 */
    font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
    font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

/* Embedded content
 */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
    border-style: none;
    height: auto;
    max-width: 100%;
}

/* Interactive
 */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
    display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
    display: list-item;
}

figcaption {
    font-size: 16px;
    color: #333333;
    line-height: 1.4;
    font-style: italic;
    font-weight: 400;
}

/* Misc
 */
/**
 * Add the correct display in IE 10+.
 */
template {
    display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
    display: none;
}

/* Print
 */
@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre {
        white-space: pre-wrap !important;
    }

    pre,
    blockquote {
        -moz-column-break-inside: avoid;
        break-inside: avoid;
        border: 1px solid #cccccc;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        -moz-column-break-inside: avoid;
        break-inside: avoid;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        -moz-column-break-after: avoid;
        break-after: avoid;
    }
}

/**
 * Form styling
 */
label {
    display: inline-block;
    line-height: 1;
    vertical-align: middle;
}

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
    font-family: inherit; /* 1 */
    font-size: 1rem; /* 1 */
    line-height: 1.5; /* 1 */
    margin: 0; /* 2 */
}

input[type="text"],
input[type="date"],
input[type="email"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="url"],
select,
textarea {
    width: 100%;
    border: solid 1px #666666;
    border-radius: 3px;
    padding: 0.5rem 1rem;
    transition: all 0.3s;
}

input[type="text"]:focus,
input[type="date"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
select:focus,
textarea:focus {
    border-color: #333333;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
    /* 1 */
    overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
    /* 1 */
    text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
    width: auto;
    -webkit-appearance: button;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button,
[type="submit"],
[type="button"] {
    display: inline-block;
    font-weight: 400;
    color: #2b1515;
    text-align: center;
    white-space: nowrap;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid #2b1515;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    border-radius: 3px;
    transition: all 0.3s;
}

button:focus:not(:focus-visible),
[type="submit"]:focus:not(:focus-visible),
[type="button"]:focus:not(:focus-visible) {
    outline: none;
}

button:hover,
button:focus,
[type="submit"]:hover,
[type="submit"]:focus,
[type="button"]:hover,
[type="button"]:focus {
    color: #ffffff;
    background-color: #2b1515;
    text-decoration: none;
}

button:not(:disabled),
[type="submit"]:not(:disabled),
[type="button"]:not(:disabled) {
    cursor: pointer;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
    padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
    box-sizing: border-box; /* 1 */
    color: inherit; /* 2 */
    display: table; /* 1 */
    max-width: 100%; /* 1 */
    padding: 0; /* 3 */
    white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
    vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
    overflow: auto;
    resize: vertical;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
    box-sizing: border-box; /* 1 */
    padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
    -webkit-appearance: textfield; /* 1 */
    outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
    -webkit-appearance: button; /* 1 */
    font: inherit; /* 2 */
}

select {
    display: block;
}

/**
 * Table styling
 */
table {
    background-color: transparent;
    width: 100%;
    margin-block-end: 15px;
    font-size: 0.9em;
    border-spacing: 0;
    border-collapse: collapse;
}

table th,
table td {
    padding: 15px;
    line-height: 1.5;
    vertical-align: top;
    border: 1px solid rgba(128, 128, 128, 0.5019607843);
}

table th {
    font-weight: bold;
}

table thead th,
table tfoot th {
    font-size: 1em;
}

table caption + thead tr:first-child th,
table caption + thead tr:first-child td,
table colgroup + thead tr:first-child th,
table colgroup + thead tr:first-child td,
table thead:first-child tr:first-child th,
table thead:first-child tr:first-child td {
    border-block-start: 1px solid rgba(128, 128, 128, 0.5019607843);
}

table tbody > tr:nth-child(odd) > td,
table tbody > tr:nth-child(odd) > th {
    background-color: rgba(128, 128, 128, 0.0705882353);
}

table tbody tr:hover > td,
table tbody tr:hover > th {
    background-color: rgba(128, 128, 128, 0.1019607843);
}

table tbody + tbody {
    border-block-start: 2px solid rgba(128, 128, 128, 0.5019607843);
}

@media (max-width: 767px) {
    table table {
        font-size: 0.8em;
    }

    table table th,
    table table td {
        padding: 7px;
        line-height: 1.3;
    }

    table table th {
        font-weight: 400;
    }
}

/**
 * List styling
 */
dl,
dt,
dd,
ol,
ul,
li {
    margin-block-start: 0;
    margin-block-end: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}

.woocommerce-page .wp-block-woocommerce-cart,
.woocommerce-page .wp-block-woocommerce-checkout {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
    background: #fcf9f6;
}

.elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce .woocommerce-MyAccount-navigation {
    float: inline-start;
    width: 17% !important;
}

@media (max-width: 1024px) {
    .elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce .woocommerce-MyAccount-navigation {
        padding: 2% !important;
        width: 100% !important;
    }
}


.elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce-MyAccount-content {
    float: inline-end;
    padding: 0 !important;
    padding-inline-start: 30px !important;
    width: 83% !important;
}

/* Stiluri pentru header-ul ofertelor - ambele prefixe */
.b2bilc_myaccount_individual_offer_top, .b2bking_myaccount_individual_offer_top,
.b2bking_myaccount_individual_offer_top {
    background: #976951 !important;
    color: #ffffff !important;
}

.b2bilc_myaccount_individual_offer_top, .b2bking_myaccount_individual_offer_top *,
.b2bking_myaccount_individual_offer_top * {
    color: #ffffff !important;
}

#b2bilc_bulkorder_search_text_indigoid.b2bilc_bulkorder_search_text_cream, .b2bking_bulkorder_search_text_cream, #b2bilc_bulkorder_search_text_indigoid.b2bilc_bulkorder_search_text_cream, .b2bking_bulkorder_search_text_cream:active, #b2bilc_bulkorder_search_text_indigoid.b2bilc_bulkorder_search_text_cream, .b2bking_bulkorder_search_text_cream:focus, .b2bilc_bulkorder_form_container_indigo, .b2bking_bulkorder_form_container_indigo.b2bilc_bulkorder_form_container_cream, .b2bking_bulkorder_form_container_cream {
    background: inherit !important;
}

@media (max-width: 1024px) {
    .elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce-MyAccount-content {
        padding: var(--tab-content-spacing, 6%) 0 0 0;
        width: 100% !important;
    }
}

@media (max-width: 767px) {
    .b2bilc_bulkorder_cream_header_container, .b2bking_bulkorder_cream_header_container {
        display: flex;
        flex-direction: column;
    }

    #b2bilc_myaccount_offers_container {
        margin: 0;
        border: none !important;
        padding: 0 !important;
        margin-top: 15px !important;
    }

    .b2bilc_myaccount_individual_offer_container, .b2bking_myaccount_individual_offer_container {
        background: #fcf9f6;
        box-shadow: 0 3px 2px rgba(0, 0, 0, .13);
        border-radius: 5px;
        min-height: 200px;
        position: relative;
        margin-bottom: 40px;
        min-width: 360px !important;
    }
    table#b2bilc_purchase_lists_table {
        padding-top: 19px;
        padding-bottom: 13px;
        width: 341px !important;
    }
}

#b2bilc_cream_add_selected.active {
    background: #5b2a27 !important;
    right: 50px;
    z-index: 999;
}


body button.b2bilc_bulkorder_indigo_add, .b2bking_bulkorder_indigo_add.b2bilc_bulkorder_cream_add, .b2bking_bulkorder_cream_add {
    background: #976951 !important;
}

body button.b2bking_bulkorder_indigo_add.b2bking_bulkorder_cream_add:hover {
    background: #7d5643 !important;
}

div#b2bilc_purchase_lists_table_wrapper {
    font-size: 14px;
    background: #fcf9f6;
    border-radius: 5px;
    padding: 15px !important;
}

.b2bilc_myaccount_individual_offer_container, .b2bking_myaccount_individual_offer_container {
    background: #fcf9f6;
    box-shadow: 0 3px 2px rgba(0, 0, 0, .13);
    border-radius: 5px;
    min-height: 200px;
    position: relative;
    margin-bottom: 40px;
    min-width: 422px;
}

.b2bilc_bulkorder_form_container, .b2bking_bulkorder_form_container {
    background: #fcf9f6 !important;
    box-shadow: 0 3px 2px rgba(0, 0, 0, .13);
    border-radius: 5px;
    min-height: 150px;
    position: relative;
    margin-bottom: 40px;
    display: grid;
}

.b2bilc_bulkorder_form_container_top, .b2bking_bulkorder_form_container_top {
    font-family: var(--b2bilc-font-family-a);
    font-size: 15px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0 15px;
    color: #ededed;
    height: 36px;
    background: #976951 !important;
    border-radius: 5px 5px 0 0;
    font-weight: 400;
}

#b2bilc_myaccount_bulkorder_container .b2bilc_bulkorder_form_container_content_line, .b2bking_bulkorder_form_container_content_line input.b2bilc_bulkorder_form_container_content_line_product, .b2bking_bulkorder_form_container_content_line_product.b2bilc_bulkorder_form_container_content_line_product_indigo, .b2bking_bulkorder_form_container_content_line_product_indigo.b2bilc_bulkorder_form_container_content_line_product_cream, .b2bking_bulkorder_form_container_content_line_product_cream, .b2bilc_bulkorder_form_container_content_header_cart_indigo, .b2bking_bulkorder_form_container_content_header_cart_indigo.b2bilc_bulkorder_form_container_content_header_cart_cream, .b2bking_bulkorder_form_container_content_header_cart_cream, .b2bilc_bulkorder_form_container_content_header_cream_sku, .b2bking_bulkorder_form_container_content_header_cream_sku, .b2bilc_bulkorder_form_container_content_header_cream_stock, .b2bking_bulkorder_form_container_content_header_cream_stock, .b2bilc_bulkorder_form_container_content_header_product_indigo, .b2bking_bulkorder_form_container_content_header_product_indigo.b2bilc_bulkorder_form_container_content_header_product_cream, .b2bking_bulkorder_form_container_content_header_product_cream, .b2bilc_bulkorder_form_container_content_header_qty_indigo, .b2bking_bulkorder_form_container_content_header_qty_indigo.b2bilc_bulkorder_form_container_content_header_qty_cream, .b2bking_bulkorder_form_container_content_header_qty_cream, .b2bilc_bulkorder_form_container_content_header_subtotal_indigo, .b2bking_bulkorder_form_container_content_header_subtotal_indigo.b2bilc_bulkorder_form_container_content_header_subtotal_cream, .b2bking_bulkorder_form_container_content_header_subtotal_cream, .b2bilc_bulkorder_form_container_content_line, .b2bking_bulkorder_form_container_content_line input.b2bilc_bulkorder_form_container_content_line_product, .b2bking_bulkorder_form_container_content_line_product.b2bilc_bulkorder_form_container_content_line_product_indigo, .b2bking_bulkorder_form_container_content_line_product_indigo.b2bilc_bulkorder_form_container_content_line_product_cream, .b2bking_bulkorder_form_container_content_line_product_cream {
    color: #ffffff !important;
    font-weight: 500 !important;
    -webkit-font-smoothing: antialiased;
}

#b2bilc_purchase_lists_table thead th {
    height: 50px;        /* setează înălțimea dorită */
    vertical-align: middle; /* centrează textul pe verticală */     /* mai mult spațiu interior */
}

/* Header tabel Product/Qty/Subtotal/Cart - text ALB pe fundal maro */
.b2bking_bulkorder_form_container_top.b2bking_bulkorder_form_container_top_cream 
.b2bking_bulkorder_form_container_content_header_product_cream,
.b2bking_bulkorder_form_container_top.b2bking_bulkorder_form_container_top_cream 
.b2bking_bulkorder_form_container_content_header_qty_cream,
.b2bking_bulkorder_form_container_top.b2bking_bulkorder_form_container_top_cream 
.b2bking_bulkorder_form_container_content_header_subtotal_cream,
.b2bking_bulkorder_form_container_top.b2bking_bulkorder_form_container_top_cream 
.b2bking_bulkorder_form_container_content_header_cart_cream {
    color: #ffffff !important;
}

/* Bulk Order - Butoane negre sa fie maro */
body button.b2bking_bulkorder_indigo_add.b2bking_bulkorder_cream_add,
body button.b2bking_bulkorder_indigo_add.b2bking_bulkorder_cream_add:focus {
    background: #976951 !important;
}

body button.b2bking_bulkorder_indigo_add.b2bking_bulkorder_cream_add:hover {
    background: #7d5643 !important;
}

/* Header-ul "Quick / Bulk Order Form" sa fie maro ca la Comenzi */
.b2bking_bulkorder_form_container_top.b2bking_bulkorder_form_container_top_indigo.b2bking_bulkorder_form_container_top_cream {
    background: #976951 !important;
    height: 62px;
    border-radius: 0px;
}

/* Header-ul de search si filtre sa ramana transparent/normal */
.b2bking_bulkorder_form_container_content_header_top.b2bking_bulkorder_form_container_content_header_top_cream {
    background: inherit !important;
    border: 1px solid #dcdcdc !important;
}

/* Culoarea textului din header tabel (Product, Pret, Qty, etc) */
.b2bking_bulkorder_form_container_content_header_product_indigo.b2bking_bulkorder_form_container_content_header_product_cream,
.b2bking_bulkorder_form_container_content_header_qty_indigo.b2bking_bulkorder_form_container_content_header_qty_cream,
.b2bking_bulkorder_form_container_content_header_subtotal_indigo.b2bking_bulkorder_form_container_content_header_subtotal_cream,
.b2bking_bulkorder_form_container_content_header_cart_indigo.b2bking_bulkorder_form_container_content_header_cart_cream,
.b2bking_bulkorder_form_container_content_header_cream_sku,
.b2bking_bulkorder_form_container_content_header_cream_stock {
    color: rgba(0, 0, 0, 0.5) !important;
}

/* Search box sa ramana normal */
#b2bking_bulkorder_search_text_indigoid.b2bking_bulkorder_search_text_cream,
#b2bking_bulkorder_search_text_indigoid.b2bking_bulkorder_search_text_cream:active,
#b2bking_bulkorder_search_text_indigoid.b2bking_bulkorder_search_text_cream:focus {
    background: inherit !important;
    color: #393939 !important;
    border: 0 !important;
}

#b2bking_bulkorder_search_text_indigoid.b2bking_bulkorder_search_text_cream::placeholder {
    color: #939393 !important;
    opacity: 0.5;
}

/* Butonul Add selected items to cart sa fie maro cand se activeaza */
button.b2bking_bulkorder_form_container_bottom_add_button,
.b2bking_bulkorder_form_container_bottom_add_button {
    background: #976951 !important;
    min-width: 150px;
    color: #fff !important;
    border-radius: 3px;
    border: none;
    margin-right: 0;
    justify-content: space-between;
}

button.b2bking_bulkorder_form_container_bottom_add_button:hover {
    background: #7d5643 !important;
}

/* Butonul inactiv sa fie gri */
button.b2bking_bulkorder_form_container_bottom_add_button.b2bking_button_disabled,
button.b2bking_bulkorder_form_container_bottom_add_button:disabled {
    background: #cccccc !important;
    cursor: not-allowed;
}

/* Butonul floating activ sa fie maro */
#b2bking_cream_add_selected.active {
    background: #976951 !important;
}

#b2bking_cream_add_selected.active:hover {
    background: #7d5643 !important;
}

.b2bilc_myaccount_new_conversation_top, .b2bking_myaccount_new_conversation_top {
    font-family: "Roboto Medium", Roboto;
    font-size: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ededed;
    height: 36px;
    background: #976951 !important;
    border-radius: 5px 5px 0 0;
    padding: 0 20px;
}

/* Aliniere coloana cu sumele din tabelul de checkout */
.woocommerce-checkout-review-order-table tfoot td,
.woocommerce-checkout-review-order-table tfoot td .amount,
.woocommerce-checkout-review-order-table .product-total,
.woocommerce-checkout-review-order-table .cart-subtotal td {
    text-align: right;
}

/* Spațiu egal între denumire și valoare */
.woocommerce-checkout-review-order-table tfoot th {
    text-align: left;
    padding-right: 20px; /* spațiu între text și sumă */
}

/* Asigură lățime constantă pentru coloana de sume */
.woocommerce-checkout-review-order-table tfoot td {
    width: 120px; /* ajustează după design */
}

/* Dashboard B2B Styles */
.woocommerce-account-user-group .discount-rule-item {
    transition: all 0.3s ease;
}

.woocommerce-account-user-group .discount-rule-item:hover {
    background: #ffffff !important;
    box-shadow: 0 4px 12px rgba(151, 105, 81, 0.15);
    transform: translateY(-2px);
    border-left-width: 6px;
}

.woocommerce-account-user-group h3,
.woocommerce-account-user-group h4 {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Animație pentru progress bar */
@keyframes progressGrow {
    from {
        width: 0;
    }
    to {
        width: var(--progress-width);
    }
}

/* Wishlist Page Header - Brown Color */
.yith-wcwl-page-title,
.page-title.wishlist-title,
.wishlist-title h1,
.wishlist-title h2,
body.wishlist .entry-title,
body[class*="wishlist"] .entry-title,
.woocommerce-MyAccount-content .wishlist h2,
#yith-wcwl-form h2,
.yith-wcwl-wishlist-title {
    color: #8B4513 !important;
    background-color: #8B4513 !important;
}

/* Alternative selector pentru wishlist header în tema Elementor */
.elementor-widget-theme-post-title.wishlist-page h1,
.elementor-heading-title.wishlist-title,
body.page-template-wishlist .elementor-heading-title {
    color: #8B4513 !important;
}

/* Offer Validity Badge - Under Title */
.b2bilc_offer_validity_badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 6px;
    margin: 12px 0 16px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
}

.b2bilc_offer_validity_badge .b2bilc_validity_icon {
    font-size: 16px;
    flex-shrink: 0;
}

.b2bilc_offer_validity_badge .b2bilc_validity_text {
    flex: 1;
}

/* Active Offer - Theme Brown Colors */
.b2bilc_offer_validity_badge.b2bilc_validity_active {
    background: linear-gradient(135deg, #f5ebe0 0%, #e8d7c3 100%);
    border: 2px solid #976951;
    color: #6d4c41;
}

.b2bilc_offer_validity_badge.b2bilc_validity_active .b2bilc_validity_icon {
    color: #976951;
}

/* Expired Offer - Red */
.b2bilc_offer_validity_badge.b2bilc_validity_expired {
    background: linear-gradient(135deg, #ffebee 0%, #fce4ec 100%);
    border: 2px solid #ef5350;
    color: #c62828;
}

.b2bilc_offer_validity_badge.b2bilc_validity_expired .b2bilc_validity_icon {
    color: #ef5350;
}

/* Future Offer - Orange */
.b2bilc_offer_validity_badge.b2bilc_validity_future {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border: 2px solid #ff9800;
    color: #e65100;
}

.b2bilc_offer_validity_badge.b2bilc_validity_future .b2bilc_validity_icon {
    color: #ff9800;
}

/* Responsive */
@media (max-width: 768px) {
    .b2bilc_offer_validity_badge {
        font-size: 13px;
        padding: 8px 12px;
    }
    
    .b2bilc_offer_validity_badge .b2bilc_validity_icon {
        font-size: 14px;
    }
}

/* Disabled Offer Button */
button.b2bilc_offer_disabled {
    background: #9e9e9e !important;
    cursor: not-allowed !important;
    opacity: 0.6;
}

button.b2bilc_offer_disabled:hover {
    background: #9e9e9e !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Responsive */
@media (max-width: 768px) {
    .b2bilc_offer_validity_message {
        flex-direction: column;
        text-align: center;
    }
    
    .b2bilc_offer_validity_icon {
        margin-right: 0;
        margin-bottom: 10px;
    }
}



/* === Stiluri butoane pentru zona de comenzi (Orders) === */

/* Butoane principale WooCommerce My Account - Orders */
.woocommerce-MyAccount-content .button,
.woocommerce-MyAccount-content .woocommerce-button,
.woocommerce-orders-table__cell-order-actions .button,
.woocommerce-orders-table .button,
.woocommerce .woocommerce-MyAccount-content .woocommerce-button,
.woocommerce-account .woocommerce-button,
.woocommerce-account .button {
    background: #976951 !important;
    color: white !important;
    border: none !important;
    padding: 10px 20px !important;
    border-radius: 20px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    display: inline-block !important;
    cursor: pointer !important;
}

.woocommerce-MyAccount-content .button:hover,
.woocommerce-MyAccount-content .woocommerce-button:hover,
.woocommerce-orders-table__cell-order-actions .button:hover,
.woocommerce-orders-table .button:hover,
.woocommerce .woocommerce-MyAccount-content .woocommerce-button:hover,
.woocommerce-account .woocommerce-button:hover,
.woocommerce-account .button:hover {
    background: #7d5541 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(151, 105, 81, 0.3) !important;
}

/* Butoane secundare (view/cancel etc) */
.woocommerce-orders-table__cell-order-actions .button.view,
.woocommerce-button--view {
    background: #976951 !important;
}

.woocommerce-orders-table__cell-order-actions .button.cancel,
.woocommerce-button--cancel {
    background: #5b2a27 !important;
}

.woocommerce-orders-table__cell-order-actions .button.cancel:hover,
.woocommerce-button--cancel:hover {
    background: #3d1c1a !important;
}

/* Butoane din detaliile comenzii */
.woocommerce-order-details .button,
.woocommerce-order-again .button {
    background: #976951 !important;
    color: white !important;
    border-radius: 20px !important;
    padding: 12px 24px !important;
    font-weight: 600 !important;
}

.woocommerce-order-details .button:hover,
.woocommerce-order-again .button:hover {
    background: #7d5541 !important;
    transform: translateY(-2px) !important;
}

/* Pay button specific */
.woocommerce-button--pay,
.button.pay {
    background: #4caf50 !important;
}

.woocommerce-button--pay:hover,
.button.pay:hover {
    background: #45a049 !important;
}

/* B2B King specific buttons */
#b2bking_approve_order,
#b2bking_reject_order,
#b2bking_reject_order_subaccount {
    background: #976951 !important;
    color: white !important;
    border: none !important;
    padding: 12px 24px !important;
    border-radius: 20px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

#b2bking_approve_order:hover {
    background: #4caf50 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3) !important;
}

#b2bking_reject_order:hover,
#b2bking_reject_order_subaccount:hover {
    background: #5b2a27 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(91, 42, 39, 0.3) !important;
}

/* Bulk Order Form buttons */
.b2bking_bulkorder_form_container_bottom_save_button,
.b2bilc_bulkorder_form_container_bottom_save_button, .b2bking_bulkorder_form_container_bottom_save_button,
.b2bking_add_cart_to_purchase_list_button {
    background: #976951 !important;
    color: white !important;
    border: none !important;
    padding: 12px 24px !important;
    border-radius: 20px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.b2bking_bulkorder_form_container_bottom_save_button:hover,
.b2bilc_bulkorder_form_container_bottom_save_button, .b2bking_bulkorder_form_container_bottom_save_button:hover,
.b2bking_add_cart_to_purchase_list_button:hover {
    background: #7d5541 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(151, 105, 81, 0.3) !important;
}

/* Account navigation - all links base styling */
.woocommerce-MyAccount-navigation ul li a,
.elementor-widget-woocommerce-my-account .woocommerce-MyAccount-navigation ul li a {
    border-radius: 25px !important;
    padding: 10px 20px !important;
    transition: all 0.3s ease !important;
    display: block !important;
    background: #976951 !important;
    color: white !important;
}

/* Account navigation hover state */
.woocommerce-MyAccount-navigation ul li a:hover,
.elementor-widget-woocommerce-my-account .woocommerce-MyAccount-navigation ul li a:hover {
    background: #7d5541 !important;
}

/* Account navigation active state - butonul activ */
.woocommerce-MyAccount-navigation ul li.is-active a,
.elementor-widget-woocommerce-my-account .woocommerce-MyAccount-navigation ul li.is-active a {
    background: #5b2a27 !important;
    color: white !important;
    border-radius: 25px !important;
    padding: 10px 20px !important;
}

/* Product page - Quote button and Add to Cart on same line */
.woocommerce div.product form.cart {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: flex-start !important;
    gap: 10px !important;
}

.woocommerce div.product form.cart .quantity {
    margin-right: 0 !important;
}

.woocommerce div.product form.cart button.single_add_to_cart_button {
    margin-right: 0 !important;
    flex-shrink: 0 !important;
}

/* Quote button styling - white text */
#b2bking_request_custom_quote_button.b2bking_button_quote_productpage,
.b2bking_button_quote_productpage {
    background: #976951 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 20px !important;
    font-weight: 600 !important;
    margin-left: 0 !important;
    flex-shrink: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
}

#b2bking_request_custom_quote_button.b2bking_button_quote_productpage:hover,
.b2bking_button_quote_productpage:hover {
    background: #7d5541 !important;
    color: #ffffff !important;
}

/* Container for quote button and form */
#b2bking_before_quote_request_button,
div#b2bking_before_quote_request_button {
    display: inline-block !important;
    margin-left: 0 !important;
    flex-shrink: 0 !important;
}

/* Make sure buttons are on same line */
.woocommerce div.product form.cart .button,
.woocommerce div.product form.cart #b2bking_request_custom_quote_button {
    margin-bottom: 0 !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .woocommerce-MyAccount-content .button,
    .woocommerce-MyAccount-content .woocommerce-button {
        padding: 10px 16px !important;
        font-size: 13px !important;
    }
    
    /* Stack buttons on mobile */
    .woocommerce div.product form.cart {
        flex-direction: column !important;
        align-items: stretch !important;
    }
    
    .woocommerce div.product form.cart button.single_add_to_cart_button,
    #b2bking_request_custom_quote_button.b2bking_button_quote_productpage {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

/* ========================================
   MY ACCOUNT - DESIGN CURAT ȘI UNITAR
   ======================================== */

/* Container principal */
.woocommerce-MyAccount-content,
.elementor-widget-woocommerce-my-account .woocommerce-MyAccount-content {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    padding-left: 30px !important;
}

/* Reset pentru toate elementele */
.woocommerce-MyAccount-content > * {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    margin: 0 0 20px 0 !important;
    padding: 0 !important;
}

/* ========================================
   HEADER UNIVERSAL - PENTRU TOATE PAGINILE
   ======================================== */

.woocommerce-account-dashboard-header,
.woocommerce-account-orders-header,
.woocommerce-order-details-header {
    background: #976951 !important;
    color: #ffffff !important;
    padding: 15px 20px !important;
    margin: 0 0 20px 0 !important;
}

.woocommerce-account-dashboard-header h2,
.woocommerce-account-orders-header h2,
.woocommerce-order-details-header h2 {
    margin: 0 !important;
    padding: 0 !important;
    color: #ffffff !important;
    background: transparent !important;
    font-size: 18px !important;
    font-weight: 600 !important;
}

/* Ascundem titlul duplicate */
.woocommerce-order-details > h2:first-child {
    display: none !important;
}

/* ILC: Ascundem DOAR tfoot-ul cu Acțiuni, NU pe cel cu fees/totaluri */
/* COMMENTED OUT - ascundea și fees-urile!
.woocommerce-table--order-details > tfoot:first-of-type {
    display: none !important;
}
*/

/* Ascunde DOAR tfoot-ul care conține clasa order-actions--heading */
.woocommerce-table--order-details tfoot:has(.order-actions--heading) {
    display: none !important;
}

/* Păstrăm butonul "Comandă din nou" de jos (cel din <p class="order-again">) */

/* Aliniază header-ul cu meniul - elimină orice margin/padding de sus */
.woocommerce-MyAccount-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.elementor-widget-woocommerce-my-account {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Ajustează wrapper-ul Elementor pentru aliniere perfectă */
.elementor-widget-woocommerce-my-account .e-my-account-tab {
    display: flex !important;
    align-items: flex-start !important;
}

.elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce {
    display: flex !important;
    align-items: flex-start !important;
    width: 100% !important;
}

/* ========================================
   DASHBOARD
   ======================================== */

.woocommerce-account-user-group {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

/* Info grup - box simplu */
.group-info-box {
    background: #f9f9f9 !important;
    border: 1px solid #e0e0e0 !important;
    border-left: 3px solid #976951 !important;
    padding: 15px 20px !important;
    margin-bottom: 20px !important;
}

.user-group-label {
    margin: 0 !important;
    font-size: 15px !important;
    color: #333 !important;
}

.user-group-label strong {
    color: #976951 !important;
}

/* Titlu secțiune discounturi */
.discounts-container h4 {
    font-size: 16px !important;
    color: #333 !important;
    margin-bottom: 15px !important;
    font-weight: 600 !important;
}

.discount-rule-item {
    background: #ffffff !important;
    border: 1px solid #e0e0e0 !important;
    border-left: 3px solid #976951 !important;
    padding: 15px 20px !important;
    margin-bottom: 12px !important;
}

.discount-rule-item:hover {
    border-left-color: #5b2a27 !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05) !important;
}

/* Progress bar */
.progress-container {
    background: #ffffff !important;
    border: 1px solid #e0e0e0 !important;
    padding: 20px !important;
    margin-top: 20px !important;
}

/* ========================================
   COMENZI
   ======================================== */

.woocommerce-orders-table,
table.woocommerce-orders-table,
.shop_table.my_account_orders {
    background: #ffffff !important;
    border: 1px solid #e0e0e0 !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    width: 100% !important;
    margin-bottom: 20px !important;
}

.woocommerce-orders-table thead th,
table.woocommerce-orders-table thead th,
.shop_table.my_account_orders thead th {
    background: #ffffff !important;
    color: #333333 !important;
    padding: 16px 20px !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.3px !important;
    border: none !important;
    border-bottom: 2px solid #976951 !important;
    text-align: left !important;
}

.woocommerce-orders-table tbody td,
.woocommerce-orders-table tbody th,
table.woocommerce-orders-table tbody td,
table.woocommerce-orders-table tbody th,
.shop_table.my_account_orders tbody td,
.shop_table.my_account_orders tbody th {
    padding: 18px 20px !important;
    border-bottom: 1px solid #f0f0f0 !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    vertical-align: middle !important;
    font-size: 14px !important;
    color: #333 !important;
    background: #ffffff !important;
}

.woocommerce-orders-table tbody tr,
table.woocommerce-orders-table tbody tr,
.shop_table.my_account_orders tbody tr {
    background: #ffffff !important;
    transition: background 0.2s ease !important;
}

.woocommerce-orders-table tbody tr:hover,
table.woocommerce-orders-table tbody tr:hover,
.shop_table.my_account_orders tbody tr:hover {
    background: #f9f9f9 !important;
}

.woocommerce-orders-table tbody tr:last-child td,
.woocommerce-orders-table tbody tr:last-child th,
table.woocommerce-orders-table tbody tr:last-child td,
.shop_table.my_account_orders tbody tr:last-child td {
    border-bottom: none !important;
}

/* Link-uri pentru numere comenzi */
.woocommerce-orders-table__cell-order-number a,
.woocommerce-orders-table a,
.shop_table.my_account_orders a {
    color: #2271b1 !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.woocommerce-orders-table__cell-order-number a:hover,
.woocommerce-orders-table a:hover {
    color: #976951 !important;
}

/* Butoane acțiuni */
.woocommerce-orders-table .button,
.woocommerce-orders-table .woocommerce-button,
table.woocommerce-orders-table .button,
.shop_table.my_account_orders .button {
    background: #976951 !important;
    color: #ffffff !important;
    border: none !important;
    padding: 10px 18px !important;
    border-radius: 6px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    display: inline-block !important;
    margin: 0 6px 6px 0 !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 2px 4px rgba(151, 105, 81, 0.2) !important;
}

.woocommerce-orders-table .button:hover,
.woocommerce-orders-table .woocommerce-button:hover,
table.woocommerce-orders-table .button:hover,
.shop_table.my_account_orders .button:hover {
    background: #7d5541 !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 8px rgba(151, 105, 81, 0.3) !important;
}

/* Status comenzi - badge-uri colorate */
.woocommerce-orders-table__cell-order-status {
    font-weight: 600 !important;
}

/* ========================================
   DETALII COMANDĂ (VIEW ORDER)
   ======================================== */

/* Info comandă - box la început */
.woocommerce-order-details-summary {
    background: #f9f9f9 !important;
    border: 1px solid #e0e0e0 !important;
    border-left: 3px solid #976951 !important;
    padding: 18px 20px !important;
    margin-bottom: 25px !important;
}

.order-info-text {
    margin: 0 !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
    color: #333 !important;
}

.order-info-text .order-number {
    color: #976951 !important;
    font-weight: 700 !important;
}

.order-info-text .order-date {
    color: #333 !important;
    font-weight: 600 !important;
}

/* Status badge colorat */
.order-info-text .order-status {
    display: inline-block !important;
    padding: 4px 12px !important;
    border-radius: 4px !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    margin-left: 4px !important;
}

.order-status.status-completed,
.order-status.status-processing {
    background: #e7f7ef !important;
    color: #1a7f37 !important;
}

.order-status.status-on-hold {
    background: #fff5e6 !important;
    color: #d97706 !important;
}

.order-status.status-pending {
    background: #f0f7ff !important;
    color: #0969da !important;
}

.order-status.status-cancelled,
.order-status.status-refunded,
.order-status.status-failed {
    background: #fff5f5 !important;
    color: #cf222e !important;
}

/* Tabel produse */
.woocommerce-table--order-details {
    background: #ffffff !important;
    border: none !important;
    border-collapse: collapse !important;
    width: 100% !important;
    margin-bottom: 25px !important;
    box-shadow: none !important;
    padding: 0 !important;
}

/* Suprascrie padding-ul de la Elementor */
.elementor-widget-woocommerce-my-account .e-my-account-tab__view-order .order_details,
.elementor-widget-woocommerce-my-account .e-my-account-tab__view-order .woocommerce-table--order-downloads {
    padding: 0 !important;
    border: none !important;
}

.woocommerce-table--order-details thead th {
    background: #976951 !important;
    color: #ffffff !important;
    padding: 12px 12px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    text-transform: uppercase !important;
    border: none !important;
    text-align: left !important;
    letter-spacing: 0.3px !important;
}

.woocommerce-table--order-details tbody td,
.woocommerce-table--order-details tbody th {
    padding: 8px 12px !important;
    border-bottom: 1px solid #f0f0f0 !important;
    border-left: none !important;
    border-right: none !important;
    border-top: none !important;
    vertical-align: middle !important;
    font-size: 14px !important;
    color: #333 !important;
}

.woocommerce-table--order-details tbody tr {
    background: #ffffff !important;
    transition: background 0.15s ease !important;
}

.woocommerce-table--order-details tbody tr:hover {
    background: #fafafa !important;
}

.woocommerce-table--order-details tbody tr:last-child td {
    border-bottom: none !important;
}

/* Coloane cu width-uri echilibrate */
.woocommerce-table--order-details .product-name {
    width: 60% !important;
}

.woocommerce-table--order-details .product-total {
    width: 40% !important;
    text-align: right !important;
    font-weight: 600 !important;
    color: #976951 !important;
}

.woocommerce-table--order-details thead .product-total {
    text-align: right !important;
}

.woocommerce-table--order-details tfoot th,
.woocommerce-table--order-details tfoot td {
    padding: 14px 20px !important;
    border-top: none !important;
    border-bottom: 1px solid #f0f0f0 !important;
    border-left: none !important;
    border-right: none !important;
    font-weight: 500 !important;
    background: #fafafa !important;
}

.woocommerce-table--order-details tfoot th {
    text-align: left !important;
    color: #666 !important;
}

.woocommerce-table--order-details tfoot td {
    text-align: right !important;
    font-weight: 600 !important;
}

/* Ultima linie - Total */
.woocommerce-table--order-details tfoot tr:last-child th,
.woocommerce-table--order-details tfoot tr:last-child td {
    background: #f5f5f5 !important;
    border-bottom: none !important;
    border-top: 2px solid #976951 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #976951 !important;
    padding: 16px 20px !important;
}

/* Link-uri produse */
.woocommerce-table--order-details .woocommerce-table__product-name a {
    color: #2271b1 !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

.woocommerce-table--order-details .woocommerce-table__product-name a:hover {
    color: #976951 !important;
}

/* Adrese - UNA SUB ALTA pe toată lungimea */
.woocommerce-customer-details {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 30px !important;
    margin-top: 25px !important;
}

.woocommerce-customer-details > * {
    width: 100% !important;
    margin-bottom: 0 !important;
}

.woocommerce-customer-details .woocommerce-column {
    background: #ffffff !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 8px !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

.woocommerce-customer-details address {
    background: transparent !important;
    border: none !important;
    padding: 18px !important;
    margin: 0 !important;
}

.woocommerce-customer-details h2,
.woocommerce-customer-details .woocommerce-column__title {
    background: #f9f9f9 !important;
    color: #333 !important;
    padding: 14px 18px !important;
    margin: 0 0 18px 0 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    border-bottom: 2px solid #976951 !important;
}

.woocommerce-customer-details address p {
    padding: 0 18px !important;
    margin: 0 0 6px 0 !important;
    line-height: 1.8 !important;
    font-size: 14px !important;
    color: #666 !important;
}

.woocommerce-customer-details address p:last-child {
    margin-bottom: 0 !important;
}

/* Email cu iconită - margin stânga pentru text */
.woocommerce-customer-details--email p {
    padding-left: 0 !important;
    margin-left: 0 !important;
}

.woocommerce-customer-details--email {
    margin-bottom: 30px !important;
}

/* Order updates (notes) */
.woocommerce-OrderUpdates {
    background: #ffffff !important;
    border: 1px solid #e0e0e0 !important;
    padding: 0 !important;
    margin: 25px 0 !important;
    list-style: none !important;
}

.woocommerce-OrderUpdates .comment {
    padding: 18px 20px !important;
    border-bottom: 1px solid #f0f0f0 !important;
}

.woocommerce-OrderUpdates .comment:last-child {
    border-bottom: none !important;
}

.woocommerce-OrderUpdates .meta {
    color: #666 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    margin-bottom: 8px !important;
}

/* Responsive pentru detalii comandă */
@media (max-width: 768px) {
    .woocommerce-customer-details {
        grid-template-columns: 1fr !important;
    }
    
    .woocommerce-order-details-summary {
        padding: 15px !important;
    }
    
    .order-info-text {
        font-size: 14px !important;
    }
    
    /* Adrese pe mobile - stack vertical */
    .woocommerce-customer-details {
        grid-template-columns: 1fr !important;
    }
}

/* Mobile responsive - CARDURI */
@media (max-width: 768px) {
    /* Meniu hamburger pe mobile */
    .woocommerce-MyAccount-navigation {
        position: fixed !important;
        top: 0 !important;
        left: -100% !important;
        width: 280px !important;
        height: 100vh !important;
        background: #ffffff !important;
        z-index: 9999 !important;
        transition: left 0.3s ease !important;
        overflow-y: auto !important;
        box-shadow: 2px 0 10px rgba(0,0,0,0.1) !important;
        padding: 20px 0 !important;
    }
    
    .woocommerce-MyAccount-navigation.mobile-menu-open {
        left: 0 !important;
    }
    
    /* Buton hamburger */
    .woocommerce-account-mobile-menu-toggle {
        display: block !important;
        position: fixed !important;
        bottom: 60px !important;
        right: 10px !important;
        z-index: 10000 !important;
        background: #976951 !important;
        color: #ffffff !important;
        border: none !important;
        width: 56px !important;
        height: 56px !important;
        border-radius: 50% !important;
        cursor: pointer !important;
        box-shadow: 0 4px 12px rgba(0,0,0,0.3) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 24px !important;
        transition: all 0.3s ease !important;
    }
    
    .woocommerce-account-mobile-menu-toggle:hover {
        background: #7d5541 !important;
        transform: scale(1.1) !important;
    }
    
    .woocommerce-account-mobile-menu-toggle:active {
        transform: scale(0.95) !important;
    }
    
    /* Overlay pentru când meniul e deschis */
    .woocommerce-account-menu-overlay {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100vh !important;
        background: rgba(0,0,0,0.5) !important;
        z-index: 9998 !important;
        display: none !important;
    }
    
    .woocommerce-account-menu-overlay.active {
        display: block !important;
    }
    
    /* Conținut full-width pe mobile */
    .elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce-MyAccount-content {
        width: 100% !important;
        padding: 15px !important;
        padding-bottom: 80px !important;
        float: none !important;
    }
    
    .woocommerce-MyAccount-content {
        padding-left: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 80px !important;
    }
    
    .woocommerce-account-dashboard-header,
    .woocommerce-account-orders-header {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 12px 15px !important;
    }
    
    .woocommerce-orders-table,
    table.woocommerce-orders-table,
    .shop_table.my_account_orders {
        border: 0 !important;
        background: transparent !important;
    }
    
    .woocommerce-orders-table thead,
    table.woocommerce-orders-table thead,
    .shop_table.my_account_orders thead {
        display: none !important;
    }
    
    .woocommerce-orders-table tbody,
    table.woocommerce-orders-table tbody,
    .shop_table.my_account_orders tbody {
        display: block !important;
    }
    
    .woocommerce-orders-table tbody tr,
    table.woocommerce-orders-table tbody tr,
    .shop_table.my_account_orders tbody tr {
        display: block !important;
        margin-bottom: 20px !important;
        border: 1px solid #e0e0e0 !important;
        background: #ffffff !important;
        border-radius: 8px !important;
        overflow: hidden !important;
        box-shadow: 0 2px 4px rgba(0,0,0,0.05) !important;
        padding: 15px !important;
    }
    
    .woocommerce-orders-table tbody tr:hover,
    table.woocommerce-orders-table tbody tr:hover,
    .shop_table.my_account_orders tbody tr:hover {
        box-shadow: 0 4px 8px rgba(0,0,0,0.1) !important;
    }
    
    .woocommerce-orders-table tbody td,
    .woocommerce-orders-table tbody th,
    table.woocommerce-orders-table tbody td,
    table.woocommerce-orders-table tbody th,
    .shop_table.my_account_orders tbody td,
    .shop_table.my_account_orders tbody th {
        display: block !important;
        text-align: left !important;
        padding: 10px 0 !important;
        border-bottom: 1px solid #f5f5f5 !important;
        border-top: none !important;
        border-left: none !important;
        border-right: none !important;
    }
    
    .woocommerce-orders-table tbody td:before,
    .woocommerce-orders-table tbody th:before,
    table.woocommerce-orders-table tbody td:before,
    table.woocommerce-orders-table tbody th:before,
    .shop_table.my_account_orders tbody td:before,
    .shop_table.my_account_orders tbody th:before {
        content: attr(data-title) !important;
        display: block !important;
        font-weight: 700 !important;
        color: #666 !important;
        font-size: 11px !important;
        text-transform: uppercase !important;
        margin-bottom: 5px !important;
        letter-spacing: 0.5px !important;
    }
    
    .woocommerce-orders-table tbody td:last-child,
    .woocommerce-orders-table tbody th:last-child,
    table.woocommerce-orders-table tbody td:last-child,
    .shop_table.my_account_orders tbody td:last-child {
        border-bottom: none !important;
        padding-bottom: 0 !important;
    }
    
    .woocommerce-orders-table tbody td:first-child,
    .woocommerce-orders-table tbody th:first-child,
    table.woocommerce-orders-table tbody td:first-child,
    .shop_table.my_account_orders tbody td:first-child {
        padding-top: 0 !important;
    }
    
    /* Butoane pe mobile */
    .woocommerce-orders-table .button,
    .woocommerce-orders-table .woocommerce-button,
    table.woocommerce-orders-table .button,
    .shop_table.my_account_orders .button {
        display: block !important;
        margin: 6px 0 !important;
        width: 100% !important;
        text-align: center !important;
        padding: 12px 18px !important;
    }
    
    .woocommerce-orders-table .button:last-child,
    .woocommerce-orders-table .woocommerce-button:last-child {
        margin-bottom: 0 !important;
    }
}

@media (max-width: 480px) {
    .woocommerce-MyAccount-content {
        padding-left: 10px !important;
    }
    
    .woocommerce-account-dashboard-header,
    .woocommerce-account-orders-header {
        margin-left: -10px !important;
        margin-right: -10px !important;
        padding: 10px 12px !important;
        font-size: 16px !important;
    }
    
    .woocommerce-orders-table tbody tr,
    table.woocommerce-orders-table tbody tr,
    .shop_table.my_account_orders tbody tr {
        padding: 12px !important;
    }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .woocommerce-orders-table {
        border: 0 !important;
    }
    
    .woocommerce-orders-table thead {
        display: none !important;
    }
    
    .woocommerce-orders-table tbody tr {
        display: block !important;
        margin-bottom: 20px !important;
        border: 1px solid #e0e0e0 !important;
        background: #ffffff !important;
    }
    
    .woocommerce-orders-table tbody td,
    .woocommerce-orders-table tbody th {
        display: block !important;
        text-align: right !important;
        padding: 12px 15px !important;
        border-bottom: 1px solid #f5f5f5 !important;
    }
    
    .woocommerce-orders-table tbody td:before,
    .woocommerce-orders-table tbody th:before {
        content: attr(data-title) !important;
        float: left !important;
        font-weight: 600 !important;
        color: #666 !important;
    }
    
    .woocommerce-orders-table tbody td:last-child,
    .woocommerce-orders-table tbody th:last-child {
        border-bottom: none !important;
    }
    
    .woocommerce-orders-table .button,
    .woocommerce-orders-table .woocommerce-button {
        display: block !important;
        margin: 4px 0 !important;
        width: 100% !important;
        text-align: center !important;
    }
}

/* ========================================
   CONVERSAȚII
   ======================================== */

/* Buton Inapoi conversații - culoare temă */
#b2bking_myaccount_conversation_endpoint_container_top button,
#b2bilc_myaccount_conversation_endpoint_container_top button {
    background: #976951 !important;
}
#b2bking_myaccount_conversation_endpoint_container_top button:hover,
#b2bilc_myaccount_conversation_endpoint_container_top button:hover {
    background: #7d5743 !important;
}

.woocommerce-MyAccount-content .woocommerce-info {
    background: #faf5f2 !important;
    border: 1px solid #976951 !important;
    border-left: 4px solid #976951 !important;
    padding: 12px 15px 12px 48px !important;
    margin: 0 !important;
    color: #5a3e2b !important;
    position: relative !important;
}

/* ========================================
   OFERTE
   ======================================== */

.b2bilc_myaccount_individual_offer_container, .b2bking_myaccount_individual_offer_container {
    background: #ffffff !important;
    border: none !important;
    padding: 0 !important;
    margin-bottom: 15px !important;
    margin-top: 15px !important;
}

.b2bilc_myaccount_individual_offer_top, .b2bking_myaccount_individual_offer_top {
    background: #976951 !important;
    color: #ffffff !important;
    padding: 15px 20px !important;
    border-radius: 0 !important;
    margin-bottom: 12px !important;
}

.b2bilc_myaccount_individual_offer_top, .b2bking_myaccount_individual_offer_top * {
    color: #ffffff !important;
}

.b2bilc_myaccount_individual_offer_content, .b2bking_myaccount_individual_offer_content {
    padding: 20px !important;
    background: #ffffff !important;
}

/* ========================================
   PACHETE
   ======================================== */

/* Similar cu oferte - folosește aceleași clase */

/* ========================================
   LISTE DE CUMPĂRARE
   ======================================== */

div#b2bilc_purchase_lists_table_wrapper {
    background: #ffffff !important;
    border: 1px solid #e0e0e0 !important;
    padding: 0 !important;
}

.b2bilc_purchase_list_top_container {
    background: #976951 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.b2bilc_purchase_lists_top_title {
    color: #ffffff !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

button#b2bilc_purchase_list_new_button {
    background: #ffffff !important;
    color: #976951 !important;
    border: none !important;
    padding: 8px 16px !important;
    border-radius: 4px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
}

button#b2bilc_purchase_list_new_button:hover {
    background: #5b2a27 !important;
    color: #ffffff !important;
}

/* Tabel liste */
div#b2bilc_purchase_lists_table_wrapper .dataTables_wrapper {
    padding: 20px !important;
}

table#b2bilc_purchase_lists_table thead tr:last-child {
    display: none !important; /* Ascunde header dublu */
}

table#b2bilc_purchase_lists_table thead th {
    background: #f5f5f5 !important;
    border-bottom: 2px solid #e0e0e0 !important;
    padding: 10px !important;
    font-weight: 600 !important;
}

/* ========================================
   COMANDĂ RAPIDĂ
   ======================================== */

.b2bilc_bulkorder_form_container, .b2bking_bulkorder_form_container,
.b2bking_bulkorder_form_container {
    background: #ffffff !important;
    border: 1px solid #e0e0e0 !important;
    padding: 0 !important;
}

.b2bilc_bulkorder_form_container_top, .b2bking_bulkorder_form_container_top,
.b2bking_bulkorder_form_container_top {
    background: #976951 !important;
    padding: 15px 20px !important;
}

.b2bilc_bulkorder_form_container_content, .b2bking_bulkorder_form_container_content,
.b2bking_bulkorder_form_container_content {
    padding: 20px !important;
}

/* ========================================
   ADRESE
   ======================================== */

/* Mesaj descriptiv de deasupra adreselor */
.woocommerce-MyAccount-content > p {
    color: #666 !important;
    font-size: 14px !important;
    margin-bottom: 20px !important;
    padding: 0 !important;
}

/* ADRESE - Container principal */
.woocommerce-Addresses,
.u-columns.woocommerce-Addresses,
.col2-set.addresses {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    display: block !important;
    width: 100% !important;
}

/* Override pentru u-column classes care forțează display block */
.woocommerce-Addresses .u-column1,
.woocommerce-Addresses .u-column2,
.woocommerce-Addresses .col-1,
.woocommerce-Addresses .col-2 {
    width: 100% !important;
    float: none !important;
    display: block !important;
    margin-bottom: 30px !important;
}

/* ADRESE - Carduri individuale */
.woocommerce-Address {
    background: #ffffff !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 8px !important;
    padding: 0 !important;
    margin-bottom: 30px !important;
    overflow: hidden !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* ADRESE - Header maro */
.woocommerce-Address-title,
.woocommerce-Address header {
    background: #976951 !important;
    color: #ffffff !important;
    padding: 15px 20px !important;
    margin: 0 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.woocommerce-Address-title h2,
.woocommerce-Address-title h3,
.woocommerce-Address header h2,
.woocommerce-Address header h3 {
    display: block !important;
    color: #ffffff !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    background: transparent !important;
}

/* ADRESE - Link Edit în header */
.woocommerce-Address-title .edit,
.woocommerce-Address header .edit {
    background: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    padding: 8px 16px !important;
    margin: 0 !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    display: inline-block !important;
    width: auto !important;
    text-align: center !important;
    border: none !important;
    border-radius: 4px !important;
    transition: all 0.2s ease !important;
}

.woocommerce-Address-title .edit:hover,
.woocommerce-Address header .edit:hover {
    background: rgba(255, 255, 255, 0.3) !important;
}

/* ADRESE - Conținut adresă */
.woocommerce-Address address {
    padding: 20px !important;
    background: #ffffff !important;
    font-style: normal !important;
    line-height: 1.6 !important;
    color: #666 !important;
    margin: 0 !important;
}

/* Ascunde butonul edit de jos dacă există */
.woocommerce-Address > .edit {
    display: none !important;
}

/* ========================================
   EDITARE ADRESE
   ======================================== */

/* Formular editare adresă - Container general */
.woocommerce-edit-address-form {
    background: transparent !important;
    border: none !important;
    border-radius: 8px !important;
    overflow: hidden !important;
}

/* Formular editare adresă - Header maro */
.woocommerce-edit-address-header {
    background: #976951 !important;
    color: #ffffff !important;
    padding: 15px 20px !important;
    margin: 0 !important;
    border-radius: 8px 8px 0 0 !important;
}

.woocommerce-edit-address-header h2 {
    color: #ffffff !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    margin: 0 !important;
}

/* Container formular - fundal alb */
form .woocommerce-address-fields {
    background: #ffffff !important;
    border: 1px solid #e0e0e0 !important;
    border-top: none !important;
    border-radius: 0 0 8px 8px !important;
    padding: 0 !important;
}

/* Wrapper câmpuri */
.woocommerce-address-fields__field-wrapper {
    padding: 20px !important;
}

/* Buton Save - maro în jos */
.woocommerce-address-fields > p {
    padding: 0 20px 20px 20px !important;
    margin: 0 !important;
}

.woocommerce-address-fields button[type="submit"] {
    background: #976951 !important;
    color: #ffffff !important;
    border: none !important;
    padding: 12px 24px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.woocommerce-address-fields button[type="submit"]:hover {
    background: #7d5541 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 8px rgba(151, 105, 81, 0.3) !important;
}

/* ========================================
   DETALII CONT (EDIT ACCOUNT)
   ======================================== */

/* Container principal pentru editare cont */
.woocommerce-edit-account-container {
    background: transparent !important;
    border: none !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    margin-bottom: 30px !important;
}

/* Header maro pentru detalii cont */
.woocommerce-edit-account-header {
    background: #976951 !important;
    color: #ffffff !important;
    padding: 15px 20px !important;
    margin: 0 0 0 0 !important;
    border-radius: 8px 8px 0 0 !important;
}

.woocommerce-edit-account-header h2 {
    color: #ffffff !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    margin: 0 !important;
    background: transparent !important;
}

/* Formular - fundal alb */
.woocommerce-edit-account-container form {
    background: #ffffff !important;
    border: 1px solid #e0e0e0 !important;
    border-top: none !important;
    border-radius: 0 0 8px 8px !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Wrapper pentru câmpuri */
.woocommerce-account-fields-wrapper {
    padding: 20px !important;
}

/* Fieldset pentru schimbare parolă */
.woocommerce-password-fieldset {
    border: 1px solid #e0e0e0 !important;
    border-radius: 6px !important;
    padding: 20px !important;
    margin: 20px 0 !important;
    background: #f9f9f9 !important;
}

.woocommerce-password-fieldset legend {
    background: transparent !important;
    color: #976951 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    padding: 0 10px !important;
    margin: 0 !important;
    width: auto !important;
}

/* Stilizare câmpuri input */
.woocommerce-account-fields-wrapper input[type="text"],
.woocommerce-account-fields-wrapper input[type="email"],
.woocommerce-account-fields-wrapper input[type="password"] {
    width: 100% !important;
    padding: 10px 14px !important;
    border: 1px solid #d0d0d0 !important;
    border-radius: 4px !important;
    font-size: 14px !important;
    transition: all 0.2s ease !important;
}

.woocommerce-account-fields-wrapper input:focus {
    border-color: #976951 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(151, 105, 81, 0.08) !important;
}

/* Labels */
.woocommerce-account-fields-wrapper label {
    color: #333 !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    margin-bottom: 6px !important;
    display: block !important;
}

/* Description text */
.woocommerce-account-fields-wrapper .description {
    display: block !important;
    margin-top: 6px !important;
    font-size: 13px !important;
    color: #666 !important;
}

/* Buton Save Changes */
.form-submit-wrapper {
    margin-top: 20px !important;
    padding-top: 20px !important;
    border-top: 1px solid #e0e0e0 !important;
}

.woocommerce-account-fields-wrapper button[type="submit"] {
    background: #976951 !important;
    color: #ffffff !important;
    border: none !important;
    padding: 12px 24px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.woocommerce-account-fields-wrapper button[type="submit"]:hover {
    background: #7d5541 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 8px rgba(151, 105, 81, 0.3) !important;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
    .woocommerce-MyAccount-content {
        padding: 0 15px !important;
    }
    
    .b2bilc_purchase_list_top_container {
        flex-direction: column !important;
        gap: 10px !important;
        align-items: stretch !important;
    }
    
    button#b2bilc_purchase_list_new_button {
        width: 100% !important;
    }
    
    /* ADRESE pe mobil - Stack vertical */
    .woocommerce-Addresses,
    .u-columns.woocommerce-Addresses {
        display: block !important;
        width: 100% !important;
    }
    
    .woocommerce-Addresses .u-column1,
    .woocommerce-Addresses .u-column2,
    .woocommerce-Addresses .col-1,
    .woocommerce-Addresses .col-2 {
        width: 100% !important;
        float: none !important;
        display: block !important;
        margin-bottom: 20px !important;
    }
    
    .woocommerce-Address {
        width: 100% !important;
        background: #ffffff !important;
        border: 1px solid #e0e0e0 !important;
        border-radius: 8px !important;
        overflow: hidden !important;
        margin-bottom: 20px !important;
    }
    
    /* Header adrese - brown cu text alb */
    .woocommerce-Address-title,
    .woocommerce-Address header {
        background: #976951 !important;
        color: #ffffff !important;
        padding: 12px 15px !important;
        margin: 0 !important;
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
    }
    
    .woocommerce-Address-title h2,
    .woocommerce-Address-title h3,
    .woocommerce-Address header h2,
    .woocommerce-Address header h3 {
        background: transparent !important;
        color: #ffffff !important;
        padding: 0 !important;
        margin: 0 !important;
        font-size: 15px !important;
        font-weight: 600 !important;
    }
    
    /* Buton Edit pe mobil */
    .woocommerce-Address-title .edit,
    .woocommerce-Address header .edit {
        background: rgba(255, 255, 255, 0.2) !important;
        color: #ffffff !important;
        padding: 6px 12px !important;
        margin: 0 !important;
        text-decoration: none !important;
        font-weight: 500 !important;
        font-size: 13px !important;
        border-radius: 4px !important;
        border: none !important;
    }
    
    .woocommerce-Address-title .edit:hover,
    .woocommerce-Address header .edit:hover {
        background: rgba(255,255,255,0.3) !important;
    }
    
    /* Conținut adresă pe mobil */
    .woocommerce-Address address {
        padding: 15px !important;
        background: #ffffff !important;
        font-style: normal !important;
        line-height: 1.6 !important;
        color: #666 !important;
        margin: 0 !important;
    }
    
    .woocommerce-Address address p {
        margin: 0 0 6px 0 !important;
        padding: 0 !important;
        font-size: 14px !important;
    }
    
    .woocommerce-Address address p:last-child {
        margin-bottom: 0 !important;
    }
    
    /* Elimină butonul edit de jos dacă există */
    .woocommerce-Address > .edit {
        display: none !important;
    }
    
    /* FORMULAR EDITARE ADRESĂ pe mobil */
    .woocommerce-edit-address-header {
        padding: 15px 18px !important;
        border-radius: 8px 8px 0 0 !important;
    }
    
    .woocommerce-edit-address-header h2 {
        font-size: 17px !important;
    }
    
    .woocommerce-address-fields {
        border-radius: 0 0 8px 8px !important;
    }
    
    .woocommerce-address-fields__field-wrapper {
        padding: 18px !important;
    }
    
    .woocommerce-address-fields > p {
        padding: 0 18px 18px 18px !important;
    }
    
    .woocommerce-address-fields button[type="submit"] {
        width: 100% !important;
        font-size: 16px !important;
        padding: 14px !important;
    }
}

@media (max-width: 480px) {
    .woocommerce-MyAccount-content {
        padding: 0 10px !important;
    }
    
    .woocommerce-account-user-group h2,
    .b2bilc_purchase_lists_top_title,
    .b2bilc_myaccount_individual_offer_top, .b2bking_myaccount_individual_offer_top {
        font-size: 16px !important;
        padding: 12px 15px !important;
    }
}

/* ========================================
   FIN MY ACCOUNT STYLES
   ======================================== */

/* Labels */
.woocommerce-MyAccount-content label {
    color: #333333 !important;
    font-weight: 500 !important;
    margin-bottom: 6px !important;
    display: block !important;
    font-size: 14px !important;
}

/* Spacing */
.woocommerce-MyAccount-content p,
.woocommerce-MyAccount-content ul:not(.woocommerce-orders-table),
.woocommerce-MyAccount-content ol {
    margin-bottom: 16px !important;
    line-height: 1.6 !important;
    color: #555555 !important;
}

/* Sub-titluri */
.woocommerce-MyAccount-content h4,
.woocommerce-MyAccount-content h5 {
    color: #976951 !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    margin-bottom: 15px !important;
}

/* Tabele uniforme - design minimal, clean */
.woocommerce-MyAccount-content table,
.woocommerce-orders-table,
table#b2bilc_purchase_lists_table,
table#b2bking_purchase_lists_table,
table.b2bilc_myaccount_table, .b2bking_myaccount_table,
table.shop_table {
    width: 100% !important;
    background: transparent !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    box-shadow: none !important;
    border: none !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
}

/* Header tabel - stil minimal */
.woocommerce-MyAccount-content table thead,
.woocommerce-orders-table thead,
table#b2bilc_purchase_lists_table thead,
table#b2bking_purchase_lists_table thead {
    background: #976951 !important;
}

.woocommerce-MyAccount-content table thead th,
.woocommerce-orders-table thead th,
table#b2bilc_purchase_lists_table thead th,
table#b2bking_purchase_lists_table thead th {
    color: #ffffff !important;
    font-weight: 600 !important;
    padding: 16px 20px !important;
    text-align: left !important;
    border: none !important;
    font-size: 14px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

/* Rânduri tabel - foarte simplu */
.woocommerce-MyAccount-content table tbody tr,
.woocommerce-orders-table tbody tr,
table#b2bilc_purchase_lists_table tbody tr,
table#b2bking_purchase_lists_table tbody tr {
    border-bottom: 1px solid #e5e5e5 !important;
    transition: background 0.15s ease !important;
    background: #ffffff !important;
}

.woocommerce-MyAccount-content table tbody tr:hover,
.woocommerce-orders-table tbody tr:hover,
table#b2bilc_purchase_lists_table tbody tr:hover,
table#b2bking_purchase_lists_table tbody tr:hover {
    background: #fafafa !important;
}

.woocommerce-MyAccount-content table tbody tr:last-child {
    border-bottom: none !important;
}

/* Celule tabel */
.woocommerce-MyAccount-content table tbody td,
.woocommerce-orders-table tbody td,
table#b2bilc_purchase_lists_table tbody td,
table#b2bking_purchase_lists_table tbody td {
    padding: 16px 20px !important;
    color: #333333 !important;
    vertical-align: middle !important;
    border: none !important;
}

/* Carduri - design mult mai simplu, fără multiple backgrounds */
.b2bilc_myaccount_individual_offer_container, .b2bking_myaccount_individual_offer_container,
.b2bking_myaccount_individual_offer_container,
.b2bilc_bulkorder_form_container, .b2bking_bulkorder_form_container,
.b2bking_bulkorder_form_container,
div#b2bilc_purchase_lists_table_wrapper,
div#b2bking_purchase_lists_table_wrapper,
.woocommerce-account-user-group,
.dashboard-widget {
    background: #ffffff !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    border: 1px solid #e5e5e5 !important;
    padding: 25px !important;
    margin-bottom: 30px !important;
    margin-top: 15px !important;
}

/* Formulare - stil clean - EXCLUDE formularul de editare adrese */
.woocommerce-MyAccount-content form:not(.woocommerce-edit-address-form),
.woocommerce-EditAccountForm {
    background: #ffffff !important;
    padding: 25px !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    border: 1px solid #e5e5e5 !important;
    margin-bottom: 30px !important;
}

/* Input-uri - stil minimal */
.woocommerce-MyAccount-content input[type="text"],
.woocommerce-MyAccount-content input[type="email"],
.woocommerce-MyAccount-content input[type="password"],
.woocommerce-MyAccount-content input[type="tel"],
.woocommerce-MyAccount-content select,
.woocommerce-MyAccount-content textarea {
    border: 1px solid #d0d0d0 !important;
    border-radius: 4px !important;
    padding: 10px 14px !important;
    font-size: 14px !important;
    transition: all 0.2s ease !important;
    background: #ffffff !important;
}

.woocommerce-MyAccount-content input:focus,
.woocommerce-MyAccount-content select:focus,
.woocommerce-MyAccount-content textarea:focus {
    border-color: #976951 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(151, 105, 81, 0.08) !important;
}

/* Labels - simplu */
.woocommerce-MyAccount-content label {
    color: #333333 !important;
    font-weight: 500 !important;
    margin-bottom: 6px !important;
    display: block !important;
    font-size: 14px !important;
}

/* Mesaje de succes/eroare/info - stil unificat temă */
.woocommerce-MyAccount-content .woocommerce-message,
.woocommerce-MyAccount-content .woocommerce-info {
    border-radius: 4px !important;
    padding: 12px 16px 12px 48px !important;
    margin-bottom: 20px !important;
    border: 1px solid #976951 !important;
    background: #faf5f2 !important;
    color: #5a3e2b !important;
    position: relative !important;
    outline: none !important;
    line-height: 1.5 !important;
    font-size: 14px !important;
}

.woocommerce-MyAccount-content .woocommerce-error {
    border-radius: 4px !important;
    padding: 12px 16px 12px 16px !important;
    margin-bottom: 20px !important;
    border: 1px solid #976951 !important;
    background: #faf5f2 !important;
    color: #5a3e2b !important;
    position: relative !important;
    outline: none !important;
    line-height: 1.5 !important;
    font-size: 14px !important;
    list-style: none !important;
}

.woocommerce-MyAccount-content .woocommerce-error li {
    padding-left: 28px !important;
    position: relative !important;
}

.woocommerce-MyAccount-content .woocommerce-message::before,
.woocommerce-MyAccount-content .woocommerce-info::before,
.woocommerce-MyAccount-content .woocommerce-error::before {
    position: absolute !important;
    left: 16px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 18px !important;
    line-height: 1 !important;
}

.woocommerce-MyAccount-content .woocommerce-message::before {
    content: "\2713" !important;
    color: #4caf50 !important;
}

.woocommerce-MyAccount-content .woocommerce-info::before {
    content: "\2139" !important;
    color: #976951 !important;
}

.woocommerce-MyAccount-content .woocommerce-error::before {
    content: none !important;
}

.woocommerce-MyAccount-content .woocommerce-error li::before {
    content: "\26A0" !important;
    color: #d32f2f !important;
    position: absolute !important;
    left: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 18px !important;
    line-height: 1 !important;
}

/* Spacing uniform */
.woocommerce-MyAccount-content p,
.woocommerce-MyAccount-content ul,
.woocommerce-MyAccount-content ol {
    margin-bottom: 16px !important;
    line-height: 1.6 !important;
    color: #555555 !important;
}

/* Dashboard Stats - mai simplu */
.woocommerce-MyAccount-content .dashboard-stat-card {
    background: #ffffff !important;
    border: 1px solid #e5e5e5 !important;
    border-radius: 4px !important;
    padding: 20px !important;
    text-align: center !important;
    box-shadow: none !important;
    transition: all 0.2s ease !important;
}

.woocommerce-MyAccount-content .dashboard-stat-card:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
    border-color: #976951 !important;
}

/* ========================================
   RESPONSIVE DESIGN - MOBILE & TABLET
   ======================================== */

/* Tablet - 768px și mai jos */
@media (max-width: 768px) {
    .woocommerce-MyAccount-content,
    .elementor-widget-woocommerce-my-account .woocommerce-MyAccount-content {
        padding: 0 20px !important;
    }
    
    /* ELIMINĂM FUNDALUL MARO DE LA TOATE CONTAINERELE ELEMENTOR */
    .elementor-widget-woocommerce-my-account .e-my-account-tab__view-order > div,
    .elementor-widget-woocommerce-my-account .e-my-account-tab__view-order .woocommerce-order-details,
    .elementor-widget-woocommerce-my-account .e-my-account-tab__view-order .woocommerce-order-again,
    .elementor-widget-woocommerce-my-account .e-my-account-tab__view-order .woocommerce-customer-details,
    .elementor-widget-woocommerce-my-account .e-my-account-tab__view-order .woocommerce-order-payment {
        background: transparent !important;
        background-color: transparent !important;
        border: none !important;
        padding: 0 !important;
    }
    
    /* Butoane acțiuni - fundal TRANSPARENT, butoane MARO */
    .woocommerce-order-details .actions,
    .woocommerce-order-again,
    .e-my-account-tab__view-order .actions,
    .e-my-account-tab__view-order .woocommerce-order-again {
        background: transparent !important;
        background-color: transparent !important;
        border: none !important;
        padding: 10px 0 !important;
        margin: 16px 0 !important;
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: space-between !important;
        gap: 10px !important;
    }
    
    .woocommerce-order-details .button,
    .woocommerce-order-again .button,
    .woocommerce-order-details .actions .button,
    .e-my-account-tab__view-order .button {
        background: #976951 !important;
        background-color: #976951 !important;
        color: #ffffff !important;
        border: none !important;
        border-radius: 8px !important;
        padding: 12px 16px !important;
        width: 48% !important;
        text-align: center !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        box-shadow: 0 2px 4px rgba(151, 105, 81, 0.2) !important;
    }
    
    .woocommerce-order-details .button:hover,
    .woocommerce-order-again .button:hover,
    .woocommerce-order-details .actions .button:hover {
        background: #7d5541 !important;
        background-color: #7d5541 !important;
        transform: translateY(-2px) !important;
    }
    
    /* Metode de plată și livrare - FUNDAL ALB */
    .woocommerce-customer-details,
    .e-my-account-tab__view-order .woocommerce-customer-details {
        margin-top: 20px !important;
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        background: transparent !important;
        background-color: transparent !important;
    }
    
    .woocommerce-customer-details address,
    .woocommerce-customer-details .woocommerce-column,
    .e-my-account-tab__view-order .woocommerce-customer-details address,
    .e-my-account-tab__view-order .woocommerce-customer-details .woocommerce-column {
        background: #ffffff !important;
        background-color: #ffffff !important;
        border: 1px solid #e0e0e0 !important;
        border-radius: 8px !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .woocommerce-customer-details address,
    .e-my-account-tab__view-order .woocommerce-customer-details address {
        padding: 18px !important;
    }
    
    /* ADRESE - Override Elementor pentru pagina Adrese */
    /* Elimină border și padding de la container-ul Elementor */
    .elementor-widget-woocommerce-my-account .e-my-account-tab__addresses,
    .e-my-account-tab__addresses {
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
    }
    
    .elementor-widget-woocommerce-my-account .woocommerce-Addresses,
    .elementor-widget-woocommerce-my-account .e-my-account-tab__addresses .woocommerce-Addresses {
        background: transparent !important;
        padding: 0 !important;
        gap: 30px !important;
    }
    
    .elementor-widget-woocommerce-my-account .woocommerce-Address,
    .e-my-account-tab__addresses .woocommerce-Address {
        background: #ffffff !important;
        border: 1px solid #e0e0e0 !important;
        border-radius: 8px !important;
        overflow: hidden !important;
    }
    
    .elementor-widget-woocommerce-my-account .woocommerce-Address-title,
    .elementor-widget-woocommerce-my-account .woocommerce-Address header,
    .e-my-account-tab__addresses .woocommerce-Address-title,
    .e-my-account-tab__addresses .woocommerce-Address header {
        background: #976951 !important;
        padding: 12px !important;
        margin: 0 !important;
    }
    
    .elementor-widget-woocommerce-my-account .woocommerce-Address address,
    .e-my-account-tab__addresses .woocommerce-Address address {
        background: #ffffff !important;
        padding: 18px !important;
    }

    
    .woocommerce-order-payment,
    .e-my-account-tab__view-order .woocommerce-order-payment {
        background: #ffffff !important;
        background-color: #ffffff !important;
        border: 1px solid #e0e0e0 !important;
        border-radius: 8px !important;
        padding: 16px !important;
        margin: 0 !important;
    }
    
    .woocommerce-order-payment h2,
    .woocommerce-customer-details h2 {
        color: #333333 !important;
        font-size: 16px !important;
        margin: 0 0 12px 0 !important;
        border-bottom: 2px solid #976951 !important;
        padding-bottom: 8px !important;
    }
    
    .woocommerce-order-payment ul,
    .woocommerce-order-payment p,
    .woocommerce-customer-details p {
        color: #666666 !important;
        margin: 0 !important;
        font-size: 14px !important;
        line-height: 1.6 !important;
    }
    
    .woocommerce-order-payment .button {
        background: #976951 !important;
        background-color: #976951 !important;
        color: #ffffff !important;
        width: 100% !important;
        margin-top: 12px !important;
        font-size: 15px !important;
        font-weight: 600 !important;
        padding: 12px !important;
        border-radius: 8px !important;
        box-shadow: 0 2px 4px rgba(151, 105, 81, 0.2) !important;
    }
    
    /* Header maro mai mic pe tablet */
    .woocommerce-MyAccount-content h2,
    .woocommerce-MyAccount-content h3:first-child,
    .b2bilc_purchase_lists_top_title,
    .b2bking_purchase_lists_top_title,
    .woocommerce-account-user-group h2 {
        font-size: 18px !important;
        padding: 15px 20px !important;
    }
    
    /* Tabele scroll pe tablet */
    .woocommerce-orders-table,
    table#b2bilc_purchase_lists_table,
    table#b2bking_purchase_lists_table,
    .shop_table {
        display: block !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }
    
    /* Liste de cumpărare - stack vertical */
    .b2bilc_purchase_list_top_container,
    .b2bking_purchase_list_top_container {
        flex-direction: column !important;
        gap: 15px !important;
        align-items: flex-start !important;
    }
    
    button#b2bilc_purchase_list_new_button,
    button#b2bking_purchase_list_new_button {
        width: 100% !important;
    }
}

/* Mobile - 480px și mai jos */
@media (max-width: 480px) {
    .woocommerce-MyAccount-content,
    .elementor-widget-woocommerce-my-account .woocommerce-MyAccount-content {
        padding: 0 15px !important;
    }
    
    /* Header și conținut foarte compact */
    .woocommerce-MyAccount-content h2,
    .woocommerce-MyAccount-content h3:first-child,
    .b2bilc_purchase_lists_top_title,
    .b2bking_purchase_lists_top_title,
    .woocommerce-account-user-group h2 {
        font-size: 16px !important;
        padding: 12px 15px !important;
    }
    
    /* Formulare compact */
    .woocommerce-MyAccount-content form legend {
        padding: 12px 15px !important;
        font-size: 16px !important;
    }
    
    .woocommerce-MyAccount-content form fieldset,
    .woocommerce-MyAccount-content form > p,
    .woocommerce-MyAccount-content form > .form-row {
        padding: 15px !important;
    }
    
    /* Input-uri și butoane full width */
    .woocommerce-MyAccount-content input,
    .woocommerce-MyAccount-content select,
    .woocommerce-MyAccount-content textarea,
    .woocommerce-MyAccount-content .button,
    .woocommerce-MyAccount-content .woocommerce-button {
        width: 100% !important;
        margin-bottom: 10px !important;
    }
    
    /* Tabele padding redus */
    .woocommerce-orders-table thead th,
    .woocommerce-orders-table tbody td,
    .shop_table thead th,
    .shop_table tbody td,
    table#b2bilc_purchase_lists_table thead th,
    table#b2bilc_purchase_lists_table tbody td,
    table#b2bking_purchase_lists_table thead th,
    table#b2bking_purchase_lists_table tbody td {
        padding: 10px !important;
        font-size: 13px !important;
    }
    
    /* Adrese compact pe mobil foarte mic */
    .woocommerce-MyAccount-content .woocommerce-Address {
        margin: 0 0 20px 0 !important;
        width: 100% !important;
    }
    
    .woocommerce-MyAccount-content .woocommerce-Address-title h3 {
        padding: 0 !important;
        font-size: 14px !important;
    }
    
    .woocommerce-MyAccount-content .woocommerce-Address address {
        padding: 15px !important;
    }
}

/* Fix pentru butoanele din coș - suprascrie CSS Elementor */
.elementor-widget-woocommerce-cart .woocommerce table.shop_table.cart .actions .button {
    display: inline-block !important;
    float: left !important;
    width: auto !important;
    margin-right: 10px !important;
}

/* Resetează doar stilurile custom maro pentru butoanele din coș - identice cu butonul de ofertă */
.woocommerce-cart .actions .b2bking_add_cart_to_purchase_list_button,
.woocommerce-cart .actions .b2bilc_add_cart_to_purchase_list_button {
    background: #976951 !important;
    border-radius: 20px !important;
    padding: 14px 24px !important;
    color: #ffffff !important;
    border: none !important;
    font-weight: 600 !important;
}

.woocommerce-cart .actions .b2bking_add_cart_to_purchase_list_button:hover,
.woocommerce-cart .actions .b2bilc_add_cart_to_purchase_list_button:hover {
    background: #7d5541 !important;
    color: #ffffff !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Forțează "Mesajul tau:" și textarea pe linie nouă sub butoane */
#b2bilc_request_custom_quote_textarea_abovetext {
    clear: both !important;
    margin-top: 25px !important;
    margin-bottom: 8px !important;
    width: 100% !important;
}

#b2bilc_request_custom_quote_textarea {
    clear: both !important;
    width: 100% !important;
    margin-bottom: 15px !important;
}

/* ========================================
   B2BILC LOGIN FORM - [b2bking_login_only]
   ======================================== */

.b2bilc_login_form_container {
    max-width: 550px !important;
    margin: 60px auto !important;
    padding: 50px 60px !important;
    background: #ffffff !important;
    border: 1px solid #e8e8e8 !important;
    border-radius: 4px !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04) !important;
}

.b2bilc_login_form_container .woocommerce-form-login {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
    margin: 0 !important;
}

.b2bilc_login_form_container .woocommerce-form-login h2 {
    color: #333333 !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    margin-bottom: 30px !important;
    padding-bottom: 15px !important;
    border-bottom: 1px solid #eeeeee !important;
}

.b2bilc_login_form_container input[type="text"],
.b2bilc_login_form_container input[type="password"] {
    border: 1px solid #dddddd !important;
    border-radius: 3px !important;
    padding: 12px 16px !important;
    font-size: 14px !important;
    width: 100% !important;
    background: #ffffff !important;
    color: #333333 !important;
    transition: all 0.2s ease !important;
}

.b2bilc_login_form_container input:focus {
    border-color: #976951 !important;
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(151, 105, 81, 0.08) !important;
}

.b2bilc_login_form_container label {
    color: #333333 !important;
    font-weight: 400 !important;
    margin-bottom: 8px !important;
    display: block !important;
    font-size: 14px !important;
}

.b2bilc_login_form_container .form-row {
    margin-bottom: 22px !important;
    width: 100% !important;
    float: none !important;
    display: block !important;
}

.b2bilc_login_form_container .form-row-wide {
    width: 100% !important;
    float: none !important;
    display: block !important;
}

.b2bilc_login_form_container .woocommerce-form-row {
    width: 100% !important;
    float: none !important;
    display: block !important;
}

.b2bilc_login_form_container .button {
    background: #976951 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 4px !important;
    padding: 12px 32px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    width: 100% !important;
}

.b2bilc_login_form_container .button:hover {
    background: #7d5541 !important;
}

.b2bilc_login_form_container .woocommerce-form-login__rememberme {
    margin: 18px 0 !important;
}

.b2bilc_login_form_container .woocommerce-LostPassword a {
    color: #976951 !important;
    font-size: 13px !important;
    text-decoration: none !important;
}

.b2bilc_login_form_container .woocommerce-LostPassword a:hover {
    text-decoration: underline !important;
}

/* ========================================
   B2BILC REGISTRATION FORM - [b2bking_b2b_registration_only]
   ======================================== */

.b2bilc_b2bregistration_only_register_header {
    display: none !important;
}

.b2bilc_registration_form_container {
    max-width: 800px !important;
    margin: 0 auto 60px !important;
    padding: 50px 60px !important;
    background: #ffffff !important;
    border: 1px solid #e8e8e8 !important;
    border-radius: 4px !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04) !important;
}

.b2bilc_registration_form {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
    margin: 0 !important;
}

.b2bilc_registration_form_container input[type="text"],
.b2bilc_registration_form_container input[type="email"],
.b2bilc_registration_form_container input[type="password"],
.b2bilc_registration_form_container input[type="tel"],
.b2bilc_registration_form_container select,
.b2bilc_registration_form_container textarea {
    border: 1px solid #dddddd !important;
    border-radius: 3px !important;
    padding: 12px 16px !important;
    font-size: 14px !important;
    width: 100% !important;
    background: #ffffff !important;
    color: #333333 !important;
    transition: all 0.2s ease !important;
}

/* Select2 styling pentru formularul de registration */
.b2bilc_registration_form_container .select2-container {
    width: 100% !important;
}

.b2bilc_registration_form_container .select2-container .select2-selection--single {
    border: 1px solid #dddddd !important;
    border-radius: 3px !important;
    height: auto !important;
    min-height: 42px !important;
    background: #ffffff !important;
    transition: all 0.2s ease !important;
    padding: 0 !important;
}

.b2bilc_registration_form_container .select2-container .select2-selection--single .select2-selection__rendered {
    line-height: 1.5 !important;
    padding: 12px 16px !important;
    color: #333333 !important;
    font-size: 14px !important;
    display: block !important;
}

.b2bilc_registration_form_container .select2-container .select2-selection--single .select2-selection__placeholder {
    color: #999999 !important;
}

.b2bilc_registration_form_container .select2-container .select2-selection--single .select2-selection__arrow {
    height: 100% !important;
    right: 10px !important;
    top: 0 !important;
    display: flex !important;
    align-items: center !important;
}

.b2bilc_registration_form_container .select2-container .select2-selection--single .select2-selection__arrow b {
    border-color: #666666 transparent transparent transparent !important;
}

.b2bilc_registration_form_container .select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-color: transparent transparent #666666 transparent !important;
}

.b2bilc_registration_form_container .select2-container--focus .select2-selection--single,
.b2bilc_registration_form_container .select2-container--open .select2-selection--single {
    border-color: #976951 !important;
    box-shadow: 0 0 0 2px rgba(151, 105, 81, 0.08) !important;
}

/* Select2 dropdown - stiluri pentru formularul de registration */
.b2bilc_registration_form_container + .select2-container--default .select2-results__option--highlighted[aria-selected],
.b2bilc_registration_form_container + .select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: #976951 !important;
    color: #ffffff !important;
}

.b2bilc_registration_form_container + .select2-container--default .select2-results__option[aria-selected=true] {
    background-color: #f5f5f5 !important;
    color: #333333 !important;
}

.b2bilc_registration_form_container + .select2-container--default .select2-results__option {
    padding: 10px 16px !important;
    font-size: 14px !important;
}

/* Dropdown global pentru toate select2 din registration */
.select2-dropdown {
    border: 1px solid #dddddd !important;
    border-radius: 3px !important;
}

body .select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #976951 !important;
    color: #ffffff !important;
}

.elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce {
    display: flex !important;
    /*flex-direction: column;*/
    align-items: flex-start !important;
    width: 100% !important;
}

.elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce-message {
    font-size: 14px;
    width: 100%;
}

/* ========================================
   NOTIFICĂRI GLOBALE WOOCOMMERCE - Stil unificat temă
   ======================================== */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-error {
    border-radius: 4px !important;
    padding: 12px 16px 12px 16px !important;
    list-style: none !important;
    outline: none !important;
}

.woocommerce-error li {
    padding-left: 28px !important;
    position: relative !important;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info {
    padding: 12px 16px 12px 48px !important;
    margin-bottom: 20px !important;
    border: 1px solid #976951 !important;
    border-top: none !important;
    border-right: none !important;
    border-bottom: none !important;
    outline: none !important;
    border-left: 4px solid #976951 !important;
    background: #faf5f2 !important;
    color: #5a3e2b !important;
    position: relative !important;
    line-height: 1.5 !important;
    font-size: 14px !important;
}

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
    position: absolute !important;
    left: 16px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 18px !important;
    line-height: 1 !important;
    color: #976951 !important;
}

.woocommerce-message::before {
    content: "\2713" !important;
    color: #4caf50 !important;
}

.woocommerce-info::before {
    content: "\2139" !important;
    color: #976951 !important;
}

.woocommerce-error::before {
    content: none !important;
}

.woocommerce-error li::before {
    content: "\26A0" !important;
    color: #d32f2f !important;
    position: absolute !important;
    left: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 18px !important;
    line-height: 1 !important;
}

/* Lost Password Form - identic cu login form */
.elementor-widget-woocommerce-my-account .e-my-account-tab .b2bilc_lost_password_form_container {
    max-width: 550px !important;
    margin: 60px auto !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
    min-height: auto !important;
    display: block !important;
    width: auto !important;
}

.elementor-widget-woocommerce-my-account .e-my-account-tab .b2bilc_lost_password_form_container form {
    width: 100% !important;
    background: #ffffff !important;
    border: 1px solid #e8e8e8 !important;
    padding: 50px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}

.elementor-widget-woocommerce-my-account .e-my-account-tab .b2bilc_lost_password_form_container .woocommerce-form-row {
    width: 100% !important;
    float: none !important;
    margin-bottom: 20px !important;
}

.elementor-widget-woocommerce-my-account .e-my-account-tab .b2bilc_lost_password_form_container label {
    display: block !important;
    margin-bottom: 8px !important;
    font-weight: 500 !important;
    color: #333333 !important;
    font-size: 14px !important;
}

.elementor-widget-woocommerce-my-account .e-my-account-tab .b2bilc_lost_password_form_container input[type="text"] {
    width: 100% !important;
    padding: 12px 16px !important;
    border: 1px solid #dddddd !important;
    border-radius: 3px !important;
    font-size: 15px !important;
    line-height: 1.5 !important;
    box-sizing: border-box !important;
}

.elementor-widget-woocommerce-my-account .e-my-account-tab .b2bilc_lost_password_form_container input[type="text"]:focus {
    outline: none !important;
    border-color: #976951 !important;
    box-shadow: 0 0 0 2px rgba(151, 105, 81, 0.08) !important;
}

.elementor-widget-woocommerce-my-account .e-my-account-tab .b2bilc_lost_password_form_container button {
    width: 100% !important;
    display: block !important;
    background: #976951 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 4px !important;
    padding: 14px 24px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    transform: none !important;
    box-shadow: none !important;
}

.elementor-widget-woocommerce-my-account .e-my-account-tab .b2bilc_lost_password_form_container button:hover {
    background: #7d5541 !important;
    transform: none !important;
    box-shadow: none !important;
}

.elementor-widget-woocommerce-my-account .e-my-account-tab .b2bilc_lost_password_form_container .clear {
    display: none !important;
}

.elementor-widget-woocommerce-my-account .e-my-account-tab .b2bilc_lost_password_form_container > form > p:first-of-type {
    margin-bottom: 24px !important;
    color: #666666 !important;
    font-size: 14px !important;
}

@media (max-width: 768px) {
    .elementor-widget-woocommerce-my-account .e-my-account-tab .b2bilc_lost_password_form_container form {
        padding: 30px 20px !important;
    }
}

/* Reset Password Form - identic cu login form */
.elementor-widget-woocommerce-my-account .e-my-account-tab .b2bilc_reset_password_form_container {
    max-width: 550px !important;
    margin: 60px auto !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
    min-height: auto !important;
    display: block !important;
}

.elementor-widget-woocommerce-my-account .e-my-account-tab .b2bilc_reset_password_form_container form {
    width: 100% !important;
    background: #ffffff !important;
    border: 1px solid #e8e8e8 !important;
    padding: 50px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}

.elementor-widget-woocommerce-my-account .e-my-account-tab .b2bilc_reset_password_form_container .woocommerce-form-row {
    width: 100% !important;
    float: none !important;
    margin-bottom: 20px !important;
    position: relative !important;
}

.elementor-widget-woocommerce-my-account .e-my-account-tab .b2bilc_reset_password_form_container label {
    display: block !important;
    margin-bottom: 8px !important;
    font-weight: 500 !important;
    color: #333333 !important;
    font-size: 14px !important;
}

.elementor-widget-woocommerce-my-account .e-my-account-tab .b2bilc_reset_password_form_container input[type="password"] {
    width: 100% !important;
    padding: 12px 40px 12px 16px !important;
    border: 1px solid #dddddd !important;
    border-radius: 3px !important;
    font-size: 15px !important;
    line-height: 1.5 !important;
    box-sizing: border-box !important;
}

.elementor-widget-woocommerce-my-account .e-my-account-tab .b2bilc_reset_password_form_container input[type="password"]:focus {
    outline: none !important;
    border-color: #976951 !important;
    box-shadow: 0 0 0 2px rgba(151, 105, 81, 0.08) !important;
}

.elementor-widget-woocommerce-my-account .e-my-account-tab .b2bilc_reset_password_form_container .show-password-input {
    position: absolute !important;
    right: 16px !important;
    top: 20% !important;
    transform: translateY(-50%) !important;
    cursor: pointer !important;
    z-index: 2 !important;
    margin-top: 14px !important;
    pointer-events: auto !important;
    width: auto !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    font-size: 18px !important;
}

.elementor-widget-woocommerce-my-account .e-my-account-tab .b2bilc_reset_password_form_container button[type="submit"],
.elementor-widget-woocommerce-my-account .e-my-account-tab .b2bilc_reset_password_form_container button.woocommerce-Button {
    width: 100% !important;
    display: block !important;
    background: #976951 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 4px !important;
    padding: 14px 24px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    transform: none !important;
    box-shadow: none !important;
    position: relative !important;
}

.elementor-widget-woocommerce-my-account .e-my-account-tab .b2bilc_reset_password_form_container button[type="submit"]:hover,
.elementor-widget-woocommerce-my-account .e-my-account-tab .b2bilc_reset_password_form_container button.woocommerce-Button:hover {
    background: #7d5541 !important;
    transform: none !important;
    box-shadow: none !important;
}


.elementor-widget-woocommerce-my-account .e-my-account-tab .b2bilc_reset_password_form_container .clear {
    display: none !important;
}

.elementor-widget-woocommerce-my-account .e-my-account-tab .b2bilc_reset_password_form_container > form > p:first-of-type {
    margin-bottom: 24px !important;
    color: #666666 !important;
    font-size: 14px !important;
}

@media (max-width: 768px) {
    .elementor-widget-woocommerce-my-account .e-my-account-tab .b2bilc_reset_password_form_container form {
        padding: 30px 20px !important;
    }
}

.woocommerce div.product div.images .woocommerce-product-gallery__image:nth-child(n+2) {
    width: 25%;
    display: inline-block;
    margin-top: 10px !important;
}