/**
*
* B2BKing styles that should only load for Subaccounts, Offers, Conversations
* 1. Subaccounts
* 2. Offers
* 3. Conversations
* 
*/

:root {
    --wholesalewp-font-family-a: 'Roboto', sans-serif;
    --wholesalewp-font-family-b: "Roboto Medium", 'Roboto';
    --wholesalewp-font-family-c: "DM Sans", sans-serif;
}


/* 1. Subaccounts */

button.wholesalewp_subaccounts_account_button.wholesalewp_subaccounts_account_button_login {
    width: 86px;
    position: relative;
    top: 0.5px;
}

.wholesalewp_subaccounts_container_top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 17px;
    align-items: center;
}
.wholesalewp_subaccounts_container_top_title {
    font-family: var(--wholesalewp-font-family-a);
    font-size: 30px;
    color: #373737;
    font-weight: 400;
}
.wholesalewp_subaccounts_new_account_container_top_title {
    font-weight: 400;
}
button.wholesalewp_subaccounts_container_top_button {
    background: #3AB1E4;
    line-height: 15px;
    min-width: 195px;
    text-align: end;
    height: 35px;
    color: #FFFFFF;
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.12);
    border-radius: 3px;
    position: relative;
    outline: none;
    border: none;
    font-family: var(--wholesalewp-font-family-a);
    font-weight: 500;
    font-size: 15.5px;
    padding: 1px 16px;
    text-transform: none;
    min-height: 0;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
}
button.wholesalewp_subaccounts_container_top_button:hover {
    background-color: #0088c2;
    color: #ffffff;
    cursor: pointer;
}
button.wholesalewp_subaccounts_container_top_button:focus{
    outline: none;
}
svg.wholesalewp_subaccounts_container_top_button_icon {
    width: 29px;
}
.wholesalewp_subaccounts_account_container {
    min-height: 180px;
    background: #EBEBEB;
    box-shadow: 0px 3px 2px rgba(0, 0, 0, 0.13);
    border-radius: 5px;
    margin-bottom: 35px;
}
.wholesalewp_subaccounts_account_top {
    background: #646464;
    display: flex;
    border-radius: 5px 5px 0px 0px;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    font-family: var(--wholesalewp-font-family-b);
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 21px;
    text-align: center;
    min-height: 30px;
}
svg.wholesalewp_subaccounts_account_top_icon {
    width: 20px;
    margin-right: 7px;
}
.wholesalewp_subaccounts_account_line {
    display: flex;
    justify-content: space-between;
    margin: 15px;
}
.wholesalewp_subaccounts_container .wholesalewp_subaccounts_account_container .wholesalewp_subaccounts_account_line a{
    text-decoration: none;
}
.wholesalewp_subaccounts_account_name {
    font-family: var(--wholesalewp-font-family-a);
    font-style: normal;
    font-weight: 600;
    font-size: 17px;
    line-height: 23px;
    margin-bottom: 5px;
    text-align: left;
    color: #292929;
}
.wholesalewp_subaccounts_account_title {
    font-family: var(--wholesalewp-font-family-a);
    font-style: normal;
    font-weight: 500;
    font-size: 13px;
    line-height: 19px;
    text-align: left;
    color: #414141;
}
button.wholesalewp_subaccounts_account_button {
    background: #818181;
    font-family: var(--wholesalewp-font-family-a);
    font-weight: 400;
    font-size: 14px;
    line-height: 15px;
    width: 125px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    justify-content: space-between;
    height: 30px;
    color: #FFFFFF;
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.12);
    border-radius: 3px;
    position: relative;
    outline: none;
    padding: 0px 10px;
    border: none;
    text-decoration: none;
    text-transform: none;
    min-height: 0;

}
button.wholesalewp_subaccounts_account_button:hover{
    background-color: #555555;
    color: #ffffff;
    cursor: pointer;
    text-decoration: none;
}
button.wholesalewp_subaccounts_account_button:focus{
    outline: none;
}
svg.wholesalewp_subaccounts_account_button_icon {
    width: 19px;
    margin-right: 5px;
}
.wholesalewp_subaccounts_account_phone_email {
    margin-top: 17px;
}
.wholesalewp_subaccounts_account_phone_email_text {
    font-family: var(--wholesalewp-font-family-a);
    font-style: normal;
    font-weight: 500;
    font-size: 13px;
    line-height: 19px;
    text-align: left;
    margin-bottom: 5px;
    color: #414141;
}
.wholesalewp_subaccounts_new_account_container_top {
    font-family: var(--wholesalewp-font-family-a);
    font-size: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ffffff;
    height: 36px;
    background: #9e9e9e;
    border-radius: 5px 5px 0px 0px;
    padding: 0px 20px;
}
.wholesalewp_subaccounts_new_account_container_content {
    padding: 20px;
    background: #FBFBFB;
    border-radius: 5px;
}
.wholesalewp_subaccounts_new_account_container {
    margin-bottom: 30px;
    background: #FBFBFB;
    box-shadow: 0px 3px 2px rgba(0, 0, 0, 0.13);
    border-radius: 5px;
    display: none;
}
.wholesalewp_subaccounts_edit_account_container {
    margin-bottom: 30px;
    background: #FBFBFB;
    box-shadow: 0px 3px 2px rgba(0, 0, 0, 0.13);
    border-radius: 5px;
}
.wholesalewp_subaccounts_new_account_container_content {
    padding: 20px;
}
.wholesalewp_subaccounts_new_account_container_content_large_title {
    font-family: var(--wholesalewp-font-family-b);
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: 26px;
    min-height: 40px;
    align-items: center;
    display: flex;
    color: #4E4E4E;
    margin-bottom: 20px;
    margin-top: 5px;
}
svg.wholesalewp_subaccounts_new_account_container_content_large_title_icon {
    width: 30px;
    position: relative;
    bottom: 1px;
    margin-right: 10px;
}
.wholesalewp_span_title_text_subaccount{
    margin-left: 15px;
    margin-right: 15px;
}
.wholesalewp_subaccounts_new_account_container_top_close, .wholesalewp_subaccounts_edit_account_container_top_close {
    border-radius: 3px;
    background: #5b5b5b;
    padding: 0px 15px;
    font-weight: 500;
}
.wholesalewp_subaccounts_new_account_container_top_close:hover, .wholesalewp_subaccounts_edit_account_container_top_close:hover {
    background-color: #333333;
    cursor: pointer;
}
.wholesalewp_subaccounts_new_account_container_content_element_label {
    font-family: var(--wholesalewp-font-family-b);
    font-weight: 500;
    font-size: 15px;
    line-height: 21px;
    color: #4E4E4E;
}
.wholesalewp_subaccounts_new_account_container_content_element input.wholesalewp_subaccounts_new_account_container_content_element_text {
    height: 43px;
    background: #ededed;
    border-radius: 4px;
    padding: 0px 20px;
    border: none;
    font-family: var(--wholesalewp-font-family-a);
    width: 92%;
    width: -moz-available;         
    width: -webkit-fill-available; 
    width: fill-available;
    margin-bottom: 18px;
    margin-top: 5px;
    font-size: 15px;
    outline: none;
    color: #8D8D8D;
    box-shadow: none;
}
.wholesalewp_subaccounts_new_account_container_content_element input.wholesalewp_subaccounts_new_account_container_content_element_text::placeholder{
    color: #8D8D8D;
}
.wholesalewp_subaccount_horizontal_line {
    border-bottom: 1px solid #cdcdcd;
    padding-bottom: 15px;
}
.wholesalewp_subaccount_top_margin{
    margin-top: 20px;
}
.wholesalewp_subaccounts_new_account_container_content_element_checkbox {
    background: #ededed;
    border-radius: 3px;
    margin-top: 12px;
    justify-content: space-between;
    display: flex;
    align-items: center;
    padding: 0px 15px;
    min-height: 40px;
}
.wholesalewp_subaccounts_new_account_container_content_element_checkbox_name {
    font-family: var(--wholesalewp-font-family-a);
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 21px;
    color: #252525;
}
.wholesalewp_subaccounts_new_account_container_content_bottom {
    display: flex;
    justify-content: space-between;
    margin-top: 35px;
}
button.wholesalewp_subaccounts_new_account_container_content_bottom_button {
    background: #3AB1E4;
    align-items: center;
    line-height: 8px;
    min-width: 210px;
    text-align: end;
    justify-content: space-between;
    height: 35px;
    margin-top: 10px;
    color: #FFFFFF;
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.12);
    border-radius: 3px;
    position: relative;
    display: flex;
    outline: none;
    padding: 0px 18px;
    border: none;
    font-family: var(--wholesalewp-font-family-a);
    font-weight: 500;
    font-size: 15.5px;
    padding: 5px 16px;
    text-transform: none;
    min-height: 0;
}
button.wholesalewp_subaccounts_new_account_container_content_bottom_button:hover{
    background-color: #0088c2;
    color: #fff;
    cursor: pointer;
}
button.wholesalewp_subaccounts_new_account_container_content_bottom_button:focus{
    outline: none;
    color: #fff;
}
button.wholesalewp_subaccounts_edit_account_container_content_bottom_button {
    background: #3AB1E4;
    align-items: center;
    line-height: 8px;
    min-width: 210px;
    text-align: end;
    justify-content: space-between;
    height: 35px;
    margin-top: 10px;
    color: #FFFFFF;
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.12);
    border-radius: 3px;
    position: relative;
    display: flex;
    outline: none;
    border: none;
    font-family: var(--wholesalewp-font-family-a);
    font-weight: 500;
    font-size: 15.5px;
    padding: 5px 16px;
    text-transform: none;
    min-height: 0;
}
button.wholesalewp_subaccounts_edit_account_container_content_bottom_button:hover{
    background-color: #0088c2;
    color: #fff;
    cursor: pointer;
}
button.wholesalewp_subaccounts_edit_account_container_content_bottom_button:focus{
    outline: none;
    color: #fff;
}

button.wholesalewp_subaccounts_edit_account_container_content_bottom_button_delete {
    background: #6a6a6a;
    align-items: center;
    line-height: 8px;
    min-width: 210px;
    text-align: end;
    justify-content: space-between;
    height: 35px;
    margin-top: 10px;
    color: #FFFFFF;
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.12);
    border-radius: 3px;
    position: relative;
    display: flex;
    outline: none;
    padding: 0px 18px;
    border: none;
    font-family: var(--wholesalewp-font-family-a);
    font-weight: 500;
    font-size: 15.5px;
    text-transform: none;
    min-height: 0;
}
button.wholesalewp_subaccounts_edit_account_container_content_bottom_button_delete:hover{
    background-color: #555555;
    color: #fff;
    cursor: pointer;
}
button.wholesalewp_subaccounts_edit_account_container_content_bottom_button_delete:focus{
    outline: none;
    color: #fff;
}

svg.wholesalewp_subaccounts_new_account_container_content_bottom_button_icon {
    width: 24px;
    margin-right: 10px;
}
.wholesalewp_subaccounts_new_account_container_content_bottom_validation_errors {
    color: red;
}

/* 2. Offers */

.wwp_offer_download {
    min-width: 50px !important;
    margin-left: 10px;
    background: #8f8f8f !important;
}
.wwp_offer_download:hover{
    background: #626262 !important;
}
.wholesalewp_myaccount_individual_offer_custom_text, .wholesalewp_myaccount_individual_offer_custom_text_vendor {
    margin: 0 30px;
    padding: 10px 0px;
    font-family: var(--wholesalewp-font-family-a);
    border-top: 1px solid #d7d7d7;
    white-space: pre-wrap;
    color: #515151;
    line-height: 1.2em;
    font-size: 11px;
}

.wwp_offer_myaccount_total{
    font-size: 16px;
}
.wwp_offer_myaccount_total .amount{
    font-weight: 700;
    font-size: 22px;
}
.wwp_offer_myaccount_items_text{
    font-size: 15px;
}
#wholesalewp_myaccount_offers_container{
    margin: 0px 40px;
}
#wholesalewp_myaccount_offers_title, #wholesalewp_myaccount_conversations_title{
    font-family: var(--wholesalewp-font-family-a);
    font-size: 30px;
    color: #373737;
    font-weight: 400;
    margin-bottom: 12px;
}

.wholesalewp_myaccount_individual_offer_top{
    font-family: var(--wholesalewp-font-family-a);
    font-weight: 500;
    font-size: 17.5px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #EDEDED;
    width: 100%;
    height: 46px;
    background: #383838;
    border-radius: 5px 5px 0px 0px;
}
.wholesalewp_myaccount_individual_offer_container{
    background: #EBEBEB;
    box-shadow: 0px 3px 2px rgba(0, 0, 0, 0.13);
    border-radius: 5px;
    min-height: 200px;
    position: relative;
    margin-bottom: 40px;  
    min-width: 422px; 
}
.wholesalewp_myaccount_individual_offer_top_icon{
    position: absolute;
    left: 15px;
    top: 13px;
    width: 17px;
}

.wholesalewp_myaccount_individual_offer_header_line{
    border-bottom: 1px solid #d7d7d7;
    margin: 18px 0px 6px 0px;
    justify-content: space-between;
    font-family: var(--wholesalewp-font-family-a);
    font-weight: 500;
    font-size: 16.5px;
    color: #646464;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
}
.wholesalewp_myaccount_individual_offer_header_line_item{
    text-align: center;
}
.wholesalewp_myaccount_individual_offer_element_line{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    align-items: center;
    margin: 20px 1px;
    font-size: 12px;
}
.wholesalewp_myaccount_individual_offer_element_line_item{
    color: #515151;
    font-family: var(--wholesalewp-font-family-a);
    font-size: 11px;
    text-align: center;
}
.wwp_offer_image{
    width:60%;
    margin: auto;
}
.wholesalewp_myaccount_individual_offer_bottom_line{
    border-top: 1px solid #d7d7d7;
    justify-content: space-between;
    display: flex;
    margin: 0px 30px;
    padding: 20px 0px;
    align-items: center;
}
.wholesalewp_myaccount_individual_offer_bottom_line_total{
    font-family: var(--wholesalewp-font-family-a);
    font-size: 19px;
    line-height: 28px;
    color: #525252;
}
.wholesalewp_myaccount_individual_offer_bottom_line_add{
    display:flex;
}

.wholesalewp_myaccount_individual_offer_bottom_line_add button.wholesalewp_myaccount_individual_offer_bottom_line_button{
    background: #3AB1E4;
    line-height: 15px;
    min-width: 150px;
    text-align: end;
    height: 35px;
    color: #FFFFFF;
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.12);
    border-radius: 3px;
    position: relative;
    outline: none;
    border: none;
    font-family: var(--wholesalewp-font-family-a);
    font-weight: 500;
    font-size: 15.5px !important;
    padding: 5px 16px;
    text-transform: none;
    min-height: 0;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
}
.wwp_offer_insufficient_stock_item {
    opacity: 0.5;
}
.wholesalewp_myaccount_individual_offer_bottom_line_button:hover, .wholesalewp_myaccount_individual_offer_bottom_line_add button.wholesalewp_myaccount_individual_offer_bottom_line_button:hover{
    background: #0088c2;
    color: white;
    outline: none;
    cursor: pointer;
}
.wholesalewp_myaccount_individual_offer_bottom_line_button_icon, .wholesalewp_myaccount_new_conversation_button_icon{
    width: 19px;
    margin-right: 10px;
}

/* 3. Conversations */

#wholesalewp_myaccount_conversations_container{
    margin:0 20px;
}
#wholesalewp_myaccount_conversations_container_top{
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

#wholesalewp_myaccount_conversations_container_top button{
    background: #3AB1E4;
    line-height: 15px;
    min-width: 195px;
    text-align: end;
    height: 35px;
    color: #FFFFFF;
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.12);
    border-radius: 3px;
    position: relative;
    outline: none;
    border: none;
    font-family: var(--wholesalewp-font-family-a);
    font-weight: 500;
    font-size: 15.5px;
    padding: 5px 16px;
    text-transform: none;
    min-height: 0;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
}
#wholesalewp_myaccount_conversations_container_top button:hover{
    background-color: #0088c2;
    cursor: pointer;
}


.wholesalewp_myaccount_individual_conversation_top{
    font-family: var(--wholesalewp-font-family-a);
    font-size: 15px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    color: #EDEDED;
    width: 100%;
    height: 36px;
    background: #646464;
    border-radius: 5px 5px 0px 0px;
}
.wholesalewp_myaccount_individual_conversation_container{
    background: #EBEBEB;
    box-shadow: 0px 3px 2px rgba(0, 0, 0, 0.13);
    border-radius: 5px;
    min-height: 150px;
    position: relative;
    margin-bottom: 40px;   
    display: block;
}
.wholesalewp_myaccount_individual_conversation_top_item{
    position: relative;
    right: 8px;
}
.wholesalewp_myaccount_individual_conversation_content{
    display: flex;
    justify-content: space-around;
}
.wholesalewp_myaccount_individual_conversation_content_item {
    width: 140px;
    padding: 12px;
    font-family: var(--wholesalewp-font-family-a);
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 23px;
    color: #414141;
}
.wholesalewp_myaccount_individual_conversation_bottom{
    display: flex;
    justify-content: flex-end;
}
#wholesalewp_myaccount_conversations_container .wholesalewp_myaccount_individual_conversation_container .wholesalewp_myaccount_individual_conversation_bottom a{
    text-decoration: none;
}
button.wholesalewp_myaccount_view_conversation_button{
    background: #5B5B5B;
    line-height: 8px;
    min-width: 195px;
    text-align: end;
    height: 32px;
    color: #FFFFFF;
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.12);
    border-radius: 3px;
    position: relative;
    outline: none;
    margin-right: 20px;
    margin-bottom: 10px;
    margin-left:20px;
    padding: 0px 18px;
    border: none;
    font-family: var(--wholesalewp-font-family-a);
    font-weight: 500;
    font-size: 15px;
    text-transform: none;
    min-height: 0;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
}
button.wholesalewp_myaccount_view_conversation_button:hover{
    background-color: #303030;
    color: #fff;
    cursor: pointer;
}
.wholesalewp_myaccount_view_conversation_button_icon{
    width: 19px;
    margin-right: 10px;
}
.wholesalewp_myaccount_conversations_pagination_container{
    display: flex;
    justify-content: space-between;
    margin: 0px 20px;
}

.wholesalewp_myaccount_conversations_pagination_button a{
    width: 230px;
    height: 35px;
    background: #A3A3A3;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.15);
    display: inline-flex;
    border-radius: 3px;
    justify-content: center;
    align-items: center;
    font-family: var(--wholesalewp-font-family-b);
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    color: #ECECEC;
    text-decoration: none !important;
}
.wholesalewp_myaccount_conversations_pagination_button a:hover{
    background-color: #6a6a6a;
}
.wholesalewp_myaccount_conversations_pagination_button a:visited{
    color:#ececec;
}
.wholesalewp_myaccount_new_conversation_top{
    font-family: var(--wholesalewp-font-family-b);
    font-size: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #EDEDED;
    height: 36px;
    background: #646464;
    border-radius: 5px 5px 0px 0px;
    padding: 0px 20px;
}
.wholesalewp_myaccount_new_conversation_new{
    font-weight: 500;
}

.wholesalewp_myaccount_new_conversation_close{
    border-radius: 3px;
    background: #2F2F2F;
    padding: 0px 15px;
    font-weight: 500;
}
.wholesalewp_myaccount_new_conversation_close:hover{
    background-color: #000000;
    cursor: pointer;
}
.wholesalewp_myaccount_new_conversation_container{
    background: #EBEBEB;
    box-shadow: 0px 3px 2px rgba(0, 0, 0, 0.13);
    border-radius: 5px;
    min-height: 150px;
    position: relative;
    margin-bottom: 40px;
    display: none;   
}

.wholesalewp_myaccount_new_conversation_content{
    padding: 20px;
}
.wholesalewp_myaccount_new_conversation_content_element_text {
    font-family: var(--wholesalewp-font-family-b);
    font-weight: 600;
    font-size: 15px;
    line-height: 21px;
    color: #4E4E4E;
}
select#wholesalewp_myaccount_conversation_type {
    height: 43px;
    background: #DEDEDE;
    border-radius: 4px;
    padding: 0px 20px;
    border: none;
    font-family: var(--wholesalewp-font-family-b);
    width: 100%;
    margin-bottom: 18px;
    margin-top: 5px;
    font-size: 15px;
    outline: none;
    color: #8D8D8D;
}
input#wholesalewp_myaccount_title_conversation_start {
    height: 43px;
    background: #DEDEDE;
    border-radius: 4px;
    padding: 0px 20px;
    border: none;
    font-family: var(--wholesalewp-font-family-b);
    width: 92%;
    width: -moz-available;         
    width: -webkit-fill-available; 
    width: fill-available;
    margin-bottom: 18px;
    margin-top: 5px;
    font-size: 15px;
    outline: none;
    color: #8D8D8D;
    box-shadow: none;
}
input#wholesalewp_myaccount_title_conversation_start::placeholder, #wholesalewp_myaccount_textarea_conversation_start::placeholder{
    color: #8D8D8D;
}
#wholesalewp_myaccount_textarea_conversation_start{
    resize: vertical;
    min-height: 150px;
    height: 43px;
    background: #DEDEDE;
    border-radius: 4px;
    padding: 10px 20px;
    border: none;
    font-family: var(--wholesalewp-font-family-b);
    width: 92%;
    width: -moz-available;         
    width: -webkit-fill-available; 
    width: fill-available;
    margin-bottom: 18px;
    margin-top: 5px;
    font-size: 15px;
    outline: none;
    color: #8D8D8D;
    box-shadow: none;
}
.wholesalewp_myaccount_start_conversation_bottom{
    display: flex;
    justify-content: flex-end;
}
button.wholesalewp_myaccount_start_conversation_button{
    background: #3AB1E4;
    line-height: 8px;
    min-width: 195px;
    text-align: end;
    height: 35px;
    margin-top: 10px;
    color: #FFFFFF;
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.12);
    border-radius: 3px;
    position: relative;
    outline: none;
    padding: 0px 18px;
    border: none;
    font-family: var(--wholesalewp-font-family-a);
    font-weight: 500;
    font-size: 15.5px;
    padding: 5px 16px;
    text-transform: none;
    min-height: 0;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
}
button.wholesalewp_myaccount_start_conversation_button:hover{
    background-color: #0088c2;
    color: #fff;
    cursor: pointer;
}
.wholesalewp_myaccount_start_conversation_button_icon{
    width: 19px;
    margin-right: 10px;
}

/* conversation endpoint (individual conversation view) */
#wholesalewp_myaccount_conversation_endpoint_container{
    margin:0 20px;
}
#wholesalewp_myaccount_conversation_endpoint_container_top{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#wholesalewp_myaccount_conversation_endpoint_container_top button{
    line-height: 15px;
    width: 130px;
    background: #717171;
    text-align: end;
    height: 35px;
    color: #FFFFFF;
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.12);
    border-radius: 3px;
    position: relative;
    outline: none;
    border: none;
    font-family: var(--wholesalewp-font-family-a);
    font-weight: 500;
    font-size: 15.5px;
    padding: 5px 16px;
    text-transform: none;
    min-height: 0;
}

#wholesalewp_myaccount_conversation_endpoint_container_top button:hover{
    background-color: #454545;
    cursor: pointer;
}
#wholesalewp_myaccount_conversation_endpoint_title{
    font-family: var(--wholesalewp-font-family-b);
    font-style: normal;
    font-weight: 500;
    font-size: 17px;
    line-height: 26px;
    color: #313131;
}
#wholesalewp_myaccount_conversation_endpoint_container_top_header{
    background: #303030;
    border-radius: 5px 5px 0px 0px;
    min-height: 45px;
    margin-top: 30px;
    font-family: var(--wholesalewp-font-family-b);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 20px;
    font-size: 13px;
}
.wholesalewp_myaccount_conversation_endpoint_container_top_header_item{
    color: #D6D6D6;
}
.wholesalewp_myaccount_conversation_endpoint_top_header_text_bold{
    font-weight: 500;
    color: #f9f9f9;
}
.wholesalewp_myaccount_conversation_endpoint_bottom{
    display: flex;
    justify-content: flex-end;
}
.wholesalewp_myaccount_conversation_endpoint_button{
    background: #3AB1E4;
    line-height: 8px;
    min-width: 165px;
    text-align: end;
    height: 35px;
    margin-top: 10px;
    color: #FFFFFF;
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.12);
    border-radius: 3px;
    position: relative;
    outline: none;
    border: none;
    font-family: var(--wholesalewp-font-family-a);
    font-weight: 500;
    font-size: 15.5px;
    padding: 5px 16px;
    text-transform: none;
    min-height: 0;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    margin-left:4px;
}

.wholesalewp_myaccount_conversation_endpoint_button:hover{
    background-color: #0088c2;
    color: #fff;
    cursor: pointer;
}
.wholesalewp_myaccount_conversation_endpoint_button_icon{
    width: 19px;
    margin-right: 10px;
}
#wwp_conversation_user_new_message{
    resize: vertical;
    min-height: 125px;
    outline: none;
    padding: 15px;
    margin-top: 20px;
    background: #F2F2F2;
    border-radius: 5px;
    margin-bottom: 5px;
    width: 92%;
    width: -moz-available;         
    width: -webkit-fill-available; 
    width: fill-available;
    
}
#wwp_conversation_messages_container{
    max-height: 500px;
    overflow-y: scroll;
}
.wwp_conversation_message{
    background: #eeeeee;
    margin: 10px;
    padding: 15px;
    padding-right: 10%;
    padding-bottom: 50px;
    border-radius: 8px;
    width: 70%;
    position: relative;
    font-family: var(--wholesalewp-font-family-b);
    font-size: 15px;
    font-weight: normal;
}
.wwp_conversation_message_self{
    margin-left: auto;
    background: #e9f1f8;
}
.wwp_conversation_message_time{
    position: absolute;
    right: 10px;
    color: #888f92;
    font-family: var(--wholesalewp-font-family-a);
    font-size: 14px;
    font-weight: bold;
    bottom: 10px;
}

/* ==========================================================================
 * Offers v2 — cream-themed redesigned customer-facing offers list.
 *
 * Layout: page header + tab pills + a column of cards. Two card variants:
 *   .wwp-offer-card--personal — blue-accented, with sender attribution,
 *     savings row, "Reply with questions" CTA. For 1:1 offers from a
 *     specific staff member.
 *   .wwp-offer-card--promo    — flat cream, "Available to all wholesale
 *     customers" subtitle, no savings/reply CTA. For standing wholesale
 *     promotions visible to a whole group.
 *
 * Design tokens are defined locally inside :root so this section can be
 * tweaked in isolation without touching legacy classes above (which a
 * few themes still extend).
 * ========================================================================== */

:root {
    --wwp-offer-bg:           #FAF7F0;
    --wwp-offer-card-bg:      #FFFFFF;
    --wwp-offer-ink:          #181715;
    --wwp-offer-ink-soft:     #3E3A35;
    --wwp-offer-muted:        #8B857C;
    --wwp-offer-border:       #ECE6DA;
    --wwp-offer-border-soft:  #F1ECDF;
    --wwp-offer-accent:       #2A6FE8;
    --wwp-offer-accent-tint:  #E5EEFB;
    --wwp-offer-accent-ink:   #1A4FB8;
    --wwp-offer-save:         #2C7A4D;
    --wwp-offer-warn:         #C7741F;
    --wwp-offer-radius:       16px;
    --wwp-offer-radius-sm:    10px;
    --wwp-offer-shadow:       0 1px 2px rgba(24, 23, 21, 0.04), 0 6px 16px rgba(24, 23, 21, 0.04);
}

/* ----- page header ----- */

.wwp-offers-head {
    margin: 0 0 24px;
    color: var(--wwp-offer-ink);
}
.wwp-offers-head__crumbs {
    margin: 0 0 12px;
    font-size: 13px;
    color: var(--wwp-offer-muted);
    font-family: "DM Sans", sans-serif;
}
.wwp-offers-head__crumbs a {
    color: inherit;
    text-decoration: none;
}
.wwp-offers-head__crumbs a:hover {
    color: var(--wwp-offer-ink);
}
.wwp-offers-head__crumb-sep {
    margin: 0 6px;
    color: var(--wwp-offer-border);
}
.wwp-offers-head__title {
    margin: 0 0 6px;
    font-size: 36px;
    line-height: 1.1;
    letter-spacing: -0.01em;
    font-weight: 700;
    color: var(--wwp-offer-ink);
    font-family: "DM Sans", sans-serif;
}
.wwp-offers-head__sub {
    margin: 0;
    font-size: 14px;
    color: var(--wwp-offer-muted);
    font-family: "DM Sans", sans-serif;
}

/* ----- tab pills ----- */

.wwp-offers-tabs {
    display: flex;
    gap: 8px;
    margin: 0 0 20px;
    padding: 0 0 16px;
    border-bottom: 1px solid var(--wwp-offer-border);
    flex-wrap: wrap;
}
.wwp-offers-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border: 1px solid var(--wwp-offer-border);
    border-radius: 999px;
    background: var(--wwp-offer-card-bg);
    color: var(--wwp-offer-ink-soft);
    font-family: "DM Sans", sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
    transition: background 120ms ease, border-color 120ms ease, color 120ms ease;
}
.wwp-offers-tab:hover {
    border-color: var(--wwp-offer-ink);
    color: var(--wwp-offer-ink);
}
.wwp-offers-tab.is-active {
    background: var(--wwp-offer-ink);
    border-color: var(--wwp-offer-ink);
    color: #FFFFFF;
}
.wwp-offers-tab.is-active .wwp-offers-tab__count {
    background: rgba(255, 255, 255, 0.18);
    color: #FFFFFF;
}
.wwp-offers-tab__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--wwp-offer-border);
    color: var(--wwp-offer-ink-soft);
    font-size: 12px;
    font-weight: 600;
}

/* ----- empty / bucket-empty states ----- */

.wwp-offers-empty,
.wwp-offers-bucket__empty {
    margin: 8px 0;
    padding: 32px 24px;
    border: 1px dashed var(--wwp-offer-border);
    border-radius: var(--wwp-offer-radius);
    background: var(--wwp-offer-card-bg);
    text-align: center;
    color: var(--wwp-offer-muted);
    font-family: "DM Sans", sans-serif;
}
.wwp-offers-empty__title {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 600;
    color: var(--wwp-offer-ink);
}
.wwp-offers-empty__sub {
    margin: 0;
    font-size: 13px;
}

/* ----- card list ----- */

.wwp-offers-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    font-family: "DM Sans", sans-serif;
    color: var(--wwp-offer-ink);
}
.wwp-offers-bucket {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
/* Native `[hidden]` would normally be `display: none`, but the rule
   above sets `display: flex` which wins over the UA stylesheet. Make
   the inactive tabs actually hide. */
.wwp-offers-bucket[hidden] {
    display: none !important;
}

/* ----- card shell ----- */

.wwp-offer-card {
    position: relative;
    background: var(--wwp-offer-card-bg);
    border: 1px solid var(--wwp-offer-border);
    border-radius: var(--wwp-offer-radius);
    box-shadow: var(--wwp-offer-shadow);
    overflow: hidden;
    color: var(--wwp-offer-ink);
    /* Container query anchor — the responsive rules below switch to a
       stacked layout based on the card's own width, not the viewport,
       so the table stays readable inside narrow theme content columns
       (e.g. Twenty Twenty-Five's ~660px My Account column). */
    container-type: inline-size;
    container-name: wwp-offer;
}
.wwp-offer-card--personal {
    border-color: var(--wwp-offer-accent);
}
.wwp-offer-card--state-expired {
    opacity: 0.78;
}
.wwp-offer-card--state-accepted {
    border-color: var(--wwp-offer-save);
}

/* ----- card header ----- */

.wwp-offer-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px 16px;
    border-bottom: 1px solid var(--wwp-offer-border-soft);
}
.wwp-offer-card--personal .wwp-offer-card__head {
    background: var(--wwp-offer-accent-tint);
    border-bottom-color: rgba(42, 111, 232, 0.18);
}
.wwp-offer-card__head-left {
    flex: 1 1 auto;
    min-width: 0;
}
.wwp-offer-card__head-right {
    flex: 0 0 auto;
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 2px;
    align-items: flex-end;
    line-height: 1.35;
}
.wwp-offer-card__badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 0 0 8px;
}
.wwp-offer-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(24, 23, 21, 0.06);
    color: var(--wwp-offer-ink-soft);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.2;
}
.wwp-offer-card--personal .wwp-offer-tag {
    background: rgba(255, 255, 255, 0.7);
    color: var(--wwp-offer-accent-ink);
}
.wwp-offer-tag__icon {
    flex: 0 0 auto;
    color: currentColor;
}
.wwp-offer-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
}
.wwp-offer-pill--new {
    background: var(--wwp-offer-accent);
    color: #FFFFFF;
}
.wwp-offer-pill__dot {
    font-size: 8px;
    line-height: 1;
}

.wwp-offer-card__title {
    margin: 0 0 4px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.005em;
    color: var(--wwp-offer-ink);
}
.wwp-offer-card--personal .wwp-offer-card__title {
    color: var(--wwp-offer-accent-ink);
}
.wwp-offer-card__from {
    margin: 0;
    font-size: 13px;
    color: var(--wwp-offer-muted);
}
.wwp-offer-card--personal .wwp-offer-card__from {
    color: var(--wwp-offer-accent-ink);
    opacity: 0.85;
}

.wwp-offer-card__expiry-eyebrow {
    font-size: 12px;
    font-weight: 500;
    color: var(--wwp-offer-muted);
}
.wwp-offer-card--personal .wwp-offer-card__expiry-eyebrow {
    color: var(--wwp-offer-accent-ink);
    opacity: 0.7;
}
.wwp-offer-card__expiry-relative {
    font-size: 14px;
    font-weight: 600;
    color: var(--wwp-offer-warn);
}
.wwp-offer-card--state-expired .wwp-offer-card__expiry-relative,
.wwp-offer-card--state-expired .wwp-offer-card__expiry-eyebrow {
    color: var(--wwp-offer-muted);
}
.wwp-offer-card__expiry-absolute {
    font-size: 12px;
    color: var(--wwp-offer-muted);
}
.wwp-offer-card--personal .wwp-offer-card__expiry-absolute {
    color: var(--wwp-offer-accent-ink);
    opacity: 0.6;
}

/* ----- message quote ----- */

.wwp-offer-card__message {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    padding: 14px 22px;
    background: var(--wwp-offer-bg);
    border-bottom: 1px solid var(--wwp-offer-border-soft);
    font-style: normal;
    font-size: 14px;
    line-height: 1.5;
    color: var(--wwp-offer-ink-soft);
}
.wwp-offer-card__message-icon {
    flex: 0 0 auto;
    margin-top: 3px;
    color: var(--wwp-offer-muted);
}
.wwp-offer-card__message-text {
    white-space: pre-wrap;
}
.wwp-offer-card__message-text::before { content: "\201C"; }
.wwp-offer-card__message-text::after  { content: "\201D"; }

/* ----- items table ----- */

.wwp-offer-card__items {
    padding: 0 22px;
}
.wwp-offer-card__items-head,
.wwp-offer-card__item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 60px 100px 100px;
    gap: 10px;
    align-items: center;
}
.wwp-offer-card__items-head {
    padding: 14px 0 10px;
    border-bottom: 1px solid var(--wwp-offer-border-soft);
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.06em;
    font-weight: 600;
    color: var(--wwp-offer-muted);
}
.wwp-offer-card__items-head > span {
    text-align: right;
}
.wwp-offer-card__items-head > span:first-child {
    text-align: left;
}
.wwp-offer-card__item {
    padding: 14px 0;
    border-bottom: 1px solid var(--wwp-offer-border-soft);
    font-size: 14px;
}
.wwp-offer-card__item:last-child {
    border-bottom: 0;
}
.wwp-offer-card__item-name {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}
.wwp-offer-card__item-thumb {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: var(--wwp-offer-radius-sm);
    object-fit: cover;
    background: var(--wwp-offer-bg);
    border: 1px solid var(--wwp-offer-border-soft);
}
.wwp-offer-card__item-thumb-link {
    flex: 0 0 auto;
    line-height: 0;
}
.wwp-offer-card__item-thumb--placeholder {
    display: inline-block;
}
.wwp-offer-card__item-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.wwp-offer-card__item-title {
    font-weight: 600;
    color: var(--wwp-offer-ink);
    line-height: 1.35;
    word-wrap: break-word;
}
.wwp-offer-card__item-sku {
    font-size: 12px;
    color: var(--wwp-offer-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
/* "qty × unit price" line shown only in the stacked (narrow) layout —
   hidden by default since the wide table already has dedicated columns. */
.wwp-offer-card__item-meta {
    display: none;
    font-size: 12px;
    color: var(--wwp-offer-muted);
    font-variant-numeric: tabular-nums;
    margin-top: 2px;
}
.wwp-offer-card__item-qty {
    text-align: right;
    font-variant-numeric: tabular-nums;
    color: var(--wwp-offer-ink);
}
.wwp-offer-card__item-price {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 2px;
    align-items: flex-end;
    font-variant-numeric: tabular-nums;
}
.wwp-offer-card__item-price-current {
    font-weight: 600;
    color: var(--wwp-offer-ink);
}
.wwp-offer-card__item-price-original {
    text-decoration: line-through;
    color: var(--wwp-offer-muted);
    font-size: 12px;
}
.wwp-offer-card__item-subtotal {
    text-align: right;
    font-weight: 600;
    color: var(--wwp-offer-ink);
    font-variant-numeric: tabular-nums;
}
.wwp-offer-card__item--oos {
    opacity: 0.55;
}
.wwp-offer-card__item--oos .wwp-offer-card__item-subtotal {
    color: var(--wwp-offer-warn);
    font-weight: 500;
    font-size: 13px;
}

/* Variation dropdowns inside item names */
.wwp-offer-card__item-text .wwp_offer_select {
    margin-top: 6px;
    display: inline-block;
    max-width: 100%;
    padding: 6px 10px;
    border: 1px solid var(--wwp-offer-border);
    border-radius: var(--wwp-offer-radius-sm);
    background: #FFFFFF;
    font-family: "DM Sans", sans-serif;
    font-size: 13px;
    color: var(--wwp-offer-ink);
}

/* ----- summary ----- */

.wwp-offer-card__summary {
    padding: 14px 22px;
    background: var(--wwp-offer-bg);
    border-top: 1px solid var(--wwp-offer-border-soft);
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 14px;
}
.wwp-offer-card__summary-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
}
.wwp-offer-card__summary-label {
    color: var(--wwp-offer-muted);
}
.wwp-offer-card__summary-value {
    font-variant-numeric: tabular-nums;
    color: var(--wwp-offer-ink);
}
.wwp-offer-card__summary-row--save .wwp-offer-card__summary-label,
.wwp-offer-card__summary-row--save .wwp-offer-card__summary-value {
    color: var(--wwp-offer-save);
    font-weight: 600;
}
.wwp-offer-card__summary-row--total {
    margin-top: 4px;
    padding-top: 12px;
    border-top: 1px solid var(--wwp-offer-border-soft);
    font-size: 16px;
}
.wwp-offer-card__summary-row--total .wwp-offer-card__summary-label,
.wwp-offer-card__summary-row--total .wwp-offer-card__summary-value {
    color: var(--wwp-offer-ink);
    font-weight: 700;
}

/* ----- actions ----- */

.wwp-offer-card__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 14px 22px 16px;
}
.wwp-offer-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 40px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition: background 120ms ease, color 120ms ease, border-color 120ms ease;
    text-decoration: none;
}
.wwp-offer-cta--primary {
    /* Natural width — don't stretch to fill the row. Min width keeps
       the label legible on a single line; the row stays compact when
       the only siblings are a small text-only PDF link. */
    flex: 0 0 auto;
    min-width: 200px;
    background: var(--wwp-offer-ink);
    color: #FFFFFF;
}
.wwp-offer-cta--primary:hover,
.wwp-offer-cta--primary:focus {
    background: var(--wwp-offer-ink-soft);
    color: #FFFFFF;
}
.wwp-offer-cta--secondary {
    background: var(--wwp-offer-card-bg);
    border-color: var(--wwp-offer-border);
    color: var(--wwp-offer-ink);
}
.wwp-offer-cta--secondary:hover,
.wwp-offer-cta--secondary:focus {
    border-color: var(--wwp-offer-ink);
    color: var(--wwp-offer-ink);
}
.wwp-offer-cta--text {
    height: auto;
    padding: 8px 12px;
    /* `!important` here so theme button defaults (Twenty Twenty-Five
       and most WC-aware themes ship a baseline button background that
       leaks through onto plain `<button>` elements) can't muddy the
       link-style PDF affordance. */
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
    color: var(--wwp-offer-muted);
    font-weight: 500;
    /* Push the PDF link to the trailing edge of the actions row so the
       primary CTA sits at the leading edge with its natural width. */
    margin-left: auto;
}
.wwp-offer-cta--text:hover,
.wwp-offer-cta--text:focus {
    color: var(--wwp-offer-ink);
}
.wwp-offer-cta--text svg {
    margin-right: 2px;
}
.wwp-offer-cta:disabled,
.wwp-offer-cta[aria-disabled="true"] {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Loading state set by the reply JS while creating a conversation. */
.wwp-offer-cta.is-loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}
.wwp-offer-cta.is-loading::after {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #FFFFFF;
    border-radius: 50%;
    animation: wwp-offer-spin 0.7s linear infinite;
}
.wwp-offer-cta--secondary.is-loading::after {
    border-color: rgba(24, 23, 21, 0.2);
    border-top-color: var(--wwp-offer-ink);
}
@keyframes wwp-offer-spin {
    to { transform: rotate(360deg); }
}

.wwp-offer-card__status-msg {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--wwp-offer-bg);
    color: var(--wwp-offer-muted);
    font-size: 13px;
    font-weight: 500;
}
.wwp-offer-card__status-msg--accepted {
    background: rgba(44, 122, 77, 0.1);
    color: var(--wwp-offer-save);
}
.wwp-offer-card__status-msg--expired {
    background: rgba(199, 116, 31, 0.1);
    color: var(--wwp-offer-warn);
}

/* ----- responsive ----- */

/* Card-width-driven responsive layout. When the card itself (not the
   viewport) drops below the threshold, collapse to a single row per
   item: [thumb + name + sku + qty×price meta] [subtotal]. The qty
   and unit-price columns are folded into a small caption beneath the
   name so we don't waste a row on what's effectively label-less
   numbers ("£18.00 / £18.00" reads as a duplicate without context). */
@container wwp-offer (max-width: 640px) {
    .wwp-offer-card__head {
        flex-direction: column;
        align-items: flex-start;
    }
    .wwp-offer-card__head-right {
        align-items: flex-start;
        text-align: left;
    }
    .wwp-offer-card__items-head,
    .wwp-offer-card__item {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas: "name subtotal";
        gap: 12px;
    }
    /* Drop the now-redundant Qty / Unit price column headers. */
    .wwp-offer-card__items-head > span:nth-child(2),
    .wwp-offer-card__items-head > span:nth-child(3) {
        display: none;
    }
    .wwp-offer-card__items-head > span:nth-child(1) { grid-area: name; }
    .wwp-offer-card__items-head > span:nth-child(4) {
        grid-area: subtotal;
        text-align: right;
    }
    .wwp-offer-card__item-name     { grid-area: name; }
    .wwp-offer-card__item-subtotal { grid-area: subtotal; }
    /* Hide the standalone qty + price cells; their data is shown via
       the meta caption inside the name cell. */
    .wwp-offer-card__item-qty,
    .wwp-offer-card__item-price {
        display: none;
    }
    .wwp-offer-card__item-meta {
        display: block;
    }
    .wwp-offer-cta--primary {
        flex: 1 1 100%;
    }
}

/* Viewport-based fallback for browsers without container-query support
   (older Safari/WebViews). Same collapse, triggered by small viewports
   instead of card width. */
@supports not (container-type: inline-size) {
    @media (max-width: 720px) {
        .wwp-offer-card__head {
            flex-direction: column;
            align-items: flex-start;
        }
        .wwp-offer-card__head-right {
            align-items: flex-start;
            text-align: left;
        }
        .wwp-offer-card__items-head,
        .wwp-offer-card__item {
            grid-template-columns: minmax(0, 1fr) auto;
            grid-template-areas: "name subtotal";
            gap: 12px;
        }
        .wwp-offer-card__items-head > span:nth-child(2),
        .wwp-offer-card__items-head > span:nth-child(3) {
            display: none;
        }
        .wwp-offer-card__item-name     { grid-area: name; }
        .wwp-offer-card__item-subtotal { grid-area: subtotal; }
        .wwp-offer-card__item-qty,
        .wwp-offer-card__item-price { display: none; }
        .wwp-offer-card__item-meta { display: block; }
        .wwp-offer-cta--primary { flex: 1 1 100%; }
    }
}

/* ==========================================================================
 * Purchase Lists v2 — cream-themed customer-facing list of saved baskets.
 * Reuses the offers v2 design tokens (--wwp-offer-*) so the two surfaces
 * share a vocabulary; purchase-list-only tokens use the `--wwp-pl-*`
 * prefix.
 * ========================================================================== */

:root {
    --wwp-pl-accent:        #2A6FE8;
    --wwp-pl-accent-tint:   #E5EEFB;
    --wwp-pl-accent-ink:    #1A4FB8;
    --wwp-pl-team-tint:     #DCEDFA;
    --wwp-pl-team-ink:      #1F5C8B;
    --wwp-pl-shared-tint:   #E0F2E8;
    --wwp-pl-shared-ink:    #2C7A4D;
    --wwp-pl-warn-tint:     #FBE9D2;
    --wwp-pl-warn-ink:      #9A5618;
}

/* ----- page header ----- */

.wwp-pl-head {
    margin: 0 0 20px;
    color: var(--wwp-offer-ink);
    font-family: "DM Sans", sans-serif;
}
.wwp-pl-head__crumbs {
    margin: 0 0 12px;
    font-size: 13px;
    color: var(--wwp-offer-muted);
}
.wwp-pl-head__crumbs a { color: inherit; text-decoration: none; }
.wwp-pl-head__crumbs a:hover { color: var(--wwp-offer-ink); }
.wwp-pl-head__crumb-sep {
    margin: 0 6px;
    color: var(--wwp-offer-border);
}
.wwp-pl-head__row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.wwp-pl-head__title {
    margin: 0 0 6px;
    font-size: 32px;
    line-height: 1.1;
    letter-spacing: -0.01em;
    font-weight: 700;
    color: var(--wwp-offer-ink);
}
.wwp-pl-head__sub {
    margin: 0;
    font-size: 14px;
    color: var(--wwp-offer-muted);
    max-width: 60ch;
}

/* ----- tab pills ----- */

.wwp-pl-tabs {
    display: flex;
    gap: 8px;
    margin: 0 0 18px;
    padding: 0 0 14px;
    border-bottom: 1px solid var(--wwp-offer-border);
    flex-wrap: wrap;
    font-family: "DM Sans", sans-serif;
}
.wwp-pl-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border: 1px solid var(--wwp-offer-border);
    border-radius: 999px;
    background: var(--wwp-offer-card-bg);
    color: var(--wwp-offer-ink-soft);
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
    transition: background 120ms ease, border-color 120ms ease, color 120ms ease;
}
.wwp-pl-tab:hover {
    border-color: var(--wwp-offer-ink);
    color: var(--wwp-offer-ink);
}
.wwp-pl-tab.is-active {
    background: var(--wwp-offer-ink);
    border-color: var(--wwp-offer-ink);
    color: #FFFFFF;
}
.wwp-pl-tab.is-active .wwp-pl-tab__count {
    background: rgba(255, 255, 255, 0.18);
    color: #FFFFFF;
}
.wwp-pl-tab__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--wwp-offer-border);
    color: var(--wwp-offer-ink-soft);
    font-size: 12px;
    font-weight: 600;
}

/* ----- list of cards ----- */

.wwp-pl-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    font-family: "DM Sans", sans-serif;
}
.wwp-pl-list .wwp-pl-card[hidden] {
    display: none !important;
}

/* ----- card shell ----- */

.wwp-pl-card {
    position: relative;
    background: var(--wwp-offer-card-bg);
    border: 1px solid var(--wwp-offer-border);
    border-radius: var(--wwp-offer-radius);
    padding: 18px 20px 16px;
    box-shadow: var(--wwp-offer-shadow);
    color: var(--wwp-offer-ink);
    container-type: inline-size;
    container-name: wwp-pl;
}

/* ----- card header (icon + title + owner + menu) ----- */

.wwp-pl-card__head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.wwp-pl-card__icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--wwp-pl-accent-tint);
    color: var(--wwp-pl-accent-ink);
}
.wwp-pl-card__head-text {
    flex: 1 1 auto;
    min-width: 0;
}
.wwp-pl-card__title {
    margin: 0 0 4px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--wwp-offer-ink);
    word-wrap: break-word;
}
.wwp-pl-card__title-link {
    color: inherit;
    text-decoration: none;
}
.wwp-pl-card__title-link:hover,
.wwp-pl-card__title-link:focus {
    text-decoration: underline;
    text-underline-offset: 3px;
    color: var(--wwp-offer-ink);
}
.wwp-pl-card__owner {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--wwp-offer-muted);
}
.wwp-pl-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--wwp-pl-accent-tint);
    color: var(--wwp-pl-accent-ink);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    flex: 0 0 auto;
}
.wwp-pl-avatar--xs {
    width: 22px;
    height: 22px;
    font-size: 10px;
}
.wwp-pl-card__menu {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 8px;
    color: var(--wwp-offer-muted);
    cursor: pointer;
    transition: background 120ms ease, color 120ms ease, border-color 120ms ease;
}
.wwp-pl-card__menu:hover {
    background: var(--wwp-offer-bg);
    color: var(--wwp-offer-ink);
    border-color: var(--wwp-offer-border);
}

/* Per-card menu popover — anchored to the trigger via a wrapper, not
   the card, so width-aware z-index and overflow stay sane. */
.wwp-pl-card__menu-wrap {
    position: relative;
    flex: 0 0 auto;
}
.wwp-pl-card__menu-pop {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    z-index: 50;
    min-width: 180px;
    padding: 6px;
    background: var(--wwp-offer-card-bg);
    border: 1px solid var(--wwp-offer-border);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(24, 23, 21, 0.12);
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.wwp-pl-card__menu-pop[hidden] {
    display: none !important;
}
.wwp-pl-card__menu-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--wwp-offer-ink-soft);
    font-family: "DM Sans", sans-serif;
    font-size: 13px;
    font-weight: 500;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    width: 100%;
}
.wwp-pl-card__menu-item:hover,
.wwp-pl-card__menu-item:focus {
    background: var(--wwp-offer-bg);
    color: var(--wwp-offer-ink);
}
.wwp-pl-card__menu-item--danger {
    color: #B3261E;
}
.wwp-pl-card__menu-item--danger:hover,
.wwp-pl-card__menu-item--danger:focus {
    background: rgba(179, 38, 30, 0.08);
    color: #B3261E;
}
.wwp-pl-card__menu-item svg {
    flex: 0 0 auto;
    color: currentColor;
}

/* ----- badges row ----- */

.wwp-pl-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 10px 0 0;
}
.wwp-pl-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.3;
}
.wwp-pl-badge--private {
    background: var(--wwp-offer-bg);
    color: var(--wwp-offer-muted);
}
.wwp-pl-badge--shared {
    background: var(--wwp-pl-accent-tint);
    color: var(--wwp-pl-accent-ink);
}
.wwp-pl-badge--shared-with-you {
    background: var(--wwp-pl-shared-tint);
    color: var(--wwp-pl-shared-ink);
}
.wwp-pl-badge--view-only {
    background: var(--wwp-pl-team-tint);
    color: var(--wwp-pl-team-ink);
}
.wwp-pl-badge--team {
    background: var(--wwp-pl-team-tint);
    color: var(--wwp-pl-team-ink);
}

/* ----- product thumbnail strip ----- */

.wwp-pl-card__thumbs {
    display: flex;
    align-items: center;
    gap: -8px;
    margin: 12px 0 0;
}
.wwp-pl-card__thumbs > * + * {
    margin-left: -8px;
}
.wwp-pl-thumb {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--wwp-offer-bg);
    border: 2px solid var(--wwp-offer-card-bg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex: 0 0 auto;
}
.wwp-pl-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.wwp-pl-thumb--more {
    background: var(--wwp-offer-bg);
    color: var(--wwp-offer-ink-soft);
    font-size: 11px;
    font-weight: 600;
}

/* ----- stats row ----- */

.wwp-pl-card__stats {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 18px;
    margin: 14px 0 0;
    padding: 12px 0 0;
    border-top: 1px solid var(--wwp-offer-border-soft);
    font-size: 13px;
    color: var(--wwp-offer-ink-soft);
}
.wwp-pl-stat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.wwp-pl-stat svg {
    color: var(--wwp-offer-muted);
}
.wwp-pl-stat--muted {
    color: var(--wwp-offer-muted);
}
.wwp-pl-stat--warn {
    color: var(--wwp-pl-warn-ink);
    font-weight: 600;
}
.wwp-pl-stat--warn svg {
    color: var(--wwp-pl-warn-ink);
}

/* ----- actions row ----- */

.wwp-pl-card__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 14px 0 0;
}
.wwp-pl-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 40px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    text-decoration: none;
    transition: background 120ms ease, color 120ms ease, border-color 120ms ease;
}
.wwp-pl-cta--primary {
    flex: 1 1 auto;
    background: var(--wwp-offer-ink);
    color: #FFFFFF;
}
.wwp-pl-cta--primary:hover,
.wwp-pl-cta--primary:focus {
    background: var(--wwp-offer-ink-soft);
    color: #FFFFFF;
}
.wwp-pl-cta--secondary {
    flex: 0 0 auto;
    min-width: 88px;
    background: var(--wwp-offer-card-bg);
    border-color: var(--wwp-offer-border);
    color: var(--wwp-offer-ink);
}
.wwp-pl-cta--secondary:hover,
.wwp-pl-cta--secondary:focus {
    border-color: var(--wwp-offer-ink);
    color: var(--wwp-offer-ink);
}
.wwp-pl-cta:disabled,
.wwp-pl-cta[aria-disabled="true"] {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ----- header "+ New list" CTA (separate from card actions) ----- */

.wwp-pl-head__new {
    align-self: flex-end;
}

/* ----- empty state ----- */

.wwp-pl-empty {
    margin: 8px 0;
    padding: 32px 24px;
    border: 1px dashed var(--wwp-offer-border);
    border-radius: var(--wwp-offer-radius);
    background: var(--wwp-offer-card-bg);
    text-align: center;
    color: var(--wwp-offer-muted);
    font-family: "DM Sans", sans-serif;
}
.wwp-pl-empty__title {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 600;
    color: var(--wwp-offer-ink);
}
.wwp-pl-empty__sub {
    margin: 0 0 14px;
    font-size: 13px;
}

/* ----- responsive ----- */

@container wwp-pl (max-width: 520px) {
    .wwp-pl-card__actions {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    .wwp-pl-cta--primary,
    .wwp-pl-cta--secondary {
        flex: 1 1 100%;
    }
}

/* ==========================================================================
 * Single-list page chrome (header card, sharing strip, total card).
 * Wraps the legacy bulk-order form unchanged; the legacy in-form action
 * row + inline rename row are hidden so users don't see duplicate
 * buttons / titles.
 * ========================================================================== */

/* Hide the legacy in-form title+rename row — its job is taken over by
   the new header card above. The DOM stays so existing rename JS
   handlers still fire when the new pencil button delegates to them. */
.wwp-pl-single .wwp-list-title-row {
    display: none !important;
}
/* Hide the legacy bottom action row (Add to cart / Update list / Trash
   / inline Total) — same buttons render in the new total card below. */
.wwp-pl-single .wholesalewp_bulkorder_form_container_bottom {
    display: none !important;
}
/* Soften the legacy form container so it matches the cream theme. */
.wwp-pl-single.wholesalewp_bulkorder_form_container {
    background: var(--wwp-offer-card-bg);
    border: 1px solid var(--wwp-offer-border);
    border-radius: var(--wwp-offer-radius);
    box-shadow: var(--wwp-offer-shadow);
    padding: 4px 18px;
    margin: 0 0 18px;
}

/* ----- legacy bulk-order rows, cream re-skin -----
 * Visual-only overrides scoped to `.wwp-pl-single`. We deliberately
 * don't touch layout primitives (`position`, `display`, `width`)
 * because the legacy bulk-order form positions the input, thumbnail,
 * and absolute-positioned "Clear X" against carefully tuned percentage
 * widths (see style-bulkorder.css). Anything that changes those numbers
 * collapses the row and pushes the title above the thumbnail.
 *
 * Only the cosmetic surface — colors, fonts, the Clear-X-as-icon
 * trick — is overridden here.
 */

/* Header row — cream caps, slightly more breathing space. */
.wwp-pl-single .wholesalewp_bulkorder_form_container_content_header {
    background: transparent;
    border-bottom: 1px solid var(--wwp-offer-border-soft);
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.06em;
    font-weight: 600;
    color: var(--wwp-offer-muted);
}

/* Bottom divider on each row, cream tone. (No padding/align changes —
 * those break the legacy thumb+input layout.) */
.wwp-pl-single .wholesalewp_bulkorder_form_container_content_line {
    border-bottom: 1px solid var(--wwp-offer-border-soft);
}
.wwp-pl-single .wholesalewp_bulkorder_form_container_content_line:last-of-type {
    border-bottom: 0;
}

/* Product input — softer chrome, ink color. Sizing intentionally left
 * to the legacy stylesheet so the percentage math (68% - 55px when a
 * thumb is present) keeps working. */
.wwp-pl-single input.wholesalewp_bulkorder_form_container_content_line_product {
    background: var(--wwp-offer-card-bg) !important;
    border: 1px solid var(--wwp-offer-border) !important;
    box-shadow: none !important;
    font-family: "DM Sans", sans-serif !important;
    font-weight: 600 !important;
    color: var(--wwp-offer-ink) !important;
    border-radius: 10px !important;
}
.wwp-pl-single input.wholesalewp_bulkorder_form_container_content_line_product:hover {
    border-color: var(--wwp-offer-ink-soft) !important;
}
.wwp-pl-single input.wholesalewp_bulkorder_form_container_content_line_product:focus {
    border-color: var(--wwp-offer-ink) !important;
    outline: none !important;
}

/* Quantity input — cream pill, tabular numerals. (Width left to the
 * legacy stylesheet so it doesn't collide with the absolute Clear X.) */
.wwp-pl-single input.wholesalewp_bulkorder_form_container_content_line_qty {
    background: var(--wwp-offer-card-bg) !important;
    border: 1px solid var(--wwp-offer-border) !important;
    border-radius: 10px !important;
    font-family: "DM Sans", sans-serif !important;
    font-variant-numeric: tabular-nums !important;
    color: var(--wwp-offer-ink) !important;
}
.wwp-pl-single input.wholesalewp_bulkorder_form_container_content_line_qty:focus {
    border-color: var(--wwp-offer-ink) !important;
    outline: none !important;
}

/* Subtotal — bold, ink color, tabular numerals. */
.wwp-pl-single .wholesalewp_bulkorder_form_container_content_line_subtotal {
    font-weight: 700;
    color: var(--wwp-offer-ink);
    font-variant-numeric: tabular-nums;
}

/* Replace "Clear X" text with a discreet × icon. The legacy JS click
 * handler is bound to the class so we keep the element but reduce it
 * to a single character via font-size: 0 + ::before. Width is left at
 * the legacy default so its absolute positioning still lines up. */
.wwp-pl-single .wholesalewp_bulkorder_form_container_content_line_clear {
    background: var(--wwp-offer-bg) !important;
    color: var(--wwp-offer-muted) !important;
    font-size: 0 !important;
    text-align: center !important;
    line-height: 27px !important;
}
.wwp-pl-single .wholesalewp_bulkorder_form_container_content_line_clear::before {
    content: "×";
    font-size: 18px;
    font-weight: 500;
    line-height: 1;
}
.wwp-pl-single .wholesalewp_bulkorder_form_container_content_line_clear:hover {
    color: #B3261E !important;
    background: var(--wwp-offer-border-soft) !important;
}

/* Thumbnail polish — keep the legacy 43px sizing, just round the
 * corners and use the cream backdrop. */
.wwp-pl-single .wholesalewp_purchase_list_thumb {
    border-radius: 10px !important;
    border: 1px solid var(--wwp-offer-border-soft) !important;
    background: var(--wwp-offer-bg) !important;
}

/* ----- v2 row transformation -----
 * The JS (`wwpPlEnhanceItems` in public.js) hides every legacy child
 * of an enhanced row and appends a clean v2 wrapper. The legacy inputs
 * stay in the DOM (hidden) so cart-add and the bulk-order autocomplete
 * keep working; the v2 markup is purely a presentation layer.
 */
.wwp-pl-single .wholesalewp_bulkorder_form_container_content_line[data-wwp-pl-v2] {
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-bottom: 1px solid var(--wwp-offer-border-soft) !important;
    position: relative;
}
.wwp-pl-single .wholesalewp_bulkorder_form_container_content_line[data-wwp-pl-v2]:last-of-type {
    border-bottom: 0 !important;
}
.wwp-pl-single .wholesalewp_bulkorder_form_container_content_line[data-wwp-pl-v2] > .wwp-pl-legacy-hidden {
    display: none !important;
    position: absolute !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.wwp-pl-row-v2 {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) auto auto auto;
    align-items: center;
    gap: 16px;
    padding: 14px 0;
}
.wwp-pl-row-v2__thumb {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: var(--wwp-offer-bg);
    border: 1px solid var(--wwp-offer-border-soft);
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.wwp-pl-row-v2__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.wwp-pl-row-v2__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    font-family: "DM Sans", sans-serif;
}
.wwp-pl-row-v2__name {
    font-weight: 700;
    font-size: 15px;
    color: var(--wwp-offer-ink);
    line-height: 1.3;
    word-wrap: break-word;
}
.wwp-pl-row-v2__sku {
    font-size: 12px;
    color: var(--wwp-offer-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-family: "JetBrains Mono", "DM Sans", sans-serif;
}
.wwp-pl-row-v2__qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--wwp-offer-border);
    border-radius: 999px;
    padding: 3px;
    background: var(--wwp-offer-card-bg);
}
.wwp-pl-row-v2__qty-step {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 0;
    background: transparent;
    color: var(--wwp-offer-ink-soft);
    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}
.wwp-pl-row-v2__qty-step:hover {
    background: var(--wwp-offer-bg);
    color: var(--wwp-offer-ink);
}
.wwp-pl-row-v2__qty-val {
    min-width: 32px;
    text-align: center;
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    color: var(--wwp-offer-ink);
    font-size: 14px;
}
.wwp-pl-row-v2__sub {
    font-weight: 700;
    color: var(--wwp-offer-ink);
    font-variant-numeric: tabular-nums;
    min-width: 70px;
    text-align: right;
    font-size: 15px;
}
.wwp-pl-row-v2__sub .woocommerce-Price-amount,
.wwp-pl-row-v2__sub bdi {
    font-weight: 700;
    color: var(--wwp-offer-ink);
}
.wwp-pl-row-v2__remove {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid transparent;
    background: transparent;
    color: var(--wwp-offer-muted);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 120ms ease, background 120ms ease, border-color 120ms ease;
}
.wwp-pl-row-v2__remove:hover {
    color: #B3261E;
    background: var(--wwp-offer-bg);
    border-color: var(--wwp-offer-border);
}

/* Header — line up the legacy 3 cells with our 5-col grid so the
 * column captions sit under the right v2 cells. */
.wwp-pl-single .wholesalewp_bulkorder_form_container_content_header {
    display: grid !important;
    grid-template-columns: 56px minmax(0, 1fr) auto auto 32px;
    align-items: center;
    gap: 16px !important;
    padding: 0 0 12px 0 !important;
    border-bottom: 1px solid var(--wwp-offer-border-soft) !important;
    background: transparent !important;
    text-transform: uppercase;
    font-size: 11px !important;
    letter-spacing: 0.06em;
    font-weight: 600 !important;
    color: var(--wwp-offer-muted) !important;
}
.wwp-pl-single .wholesalewp_bulkorder_form_container_content_header > * {
    padding: 0 !important;
    background: transparent !important;
    color: var(--wwp-offer-muted) !important;
}
.wwp-pl-single .wholesalewp_bulkorder_form_container_content_header > .wholesalewp_bulkorder_form_container_content_header_product {
    grid-column: 2;
    text-align: left;
}
.wwp-pl-single .wholesalewp_bulkorder_form_container_content_header > .wholesalewp_bulkorder_form_container_content_header_qty {
    grid-column: 3;
    text-align: center;
    min-width: 96px;
}
.wwp-pl-single .wholesalewp_bulkorder_form_container_content_header > .wholesalewp_bulkorder_form_container_content_header_subtotal {
    grid-column: 4;
    text-align: right;
    min-width: 70px;
}

/* Narrow card — collapse to two visual rows: thumb+text on top, qty/
 * subtotal/remove below. */
@media (max-width: 720px) {
    .wwp-pl-row-v2 {
        grid-template-columns: 56px minmax(0, 1fr) auto;
        grid-template-areas:
            "thumb name name"
            "thumb meta remove";
        gap: 8px 14px;
    }
    .wwp-pl-row-v2__thumb { grid-area: thumb; }
    .wwp-pl-row-v2__text  { grid-area: name; }
    .wwp-pl-row-v2__qty,
    .wwp-pl-row-v2__sub   { grid-area: meta; justify-self: start; }
    .wwp-pl-row-v2__qty   { margin-right: 12px; }
    .wwp-pl-row-v2__remove{ grid-area: remove; justify-self: end; }
}

/* ----- single-list header card ----- */

.wwp-pl-single-card {
    background: var(--wwp-offer-card-bg);
    border: 1px solid var(--wwp-offer-border);
    border-radius: var(--wwp-offer-radius);
    box-shadow: var(--wwp-offer-shadow);
    padding: 20px 22px 18px;
    margin: 0 0 16px;
    font-family: "DM Sans", sans-serif;
    color: var(--wwp-offer-ink);
}
.wwp-pl-single-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 10px;
}
.wwp-pl-single-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.wwp-pl-single-card__top-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.wwp-pl-btn-share {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 34px;
    padding: 0 14px;
    border: 1px solid var(--wwp-offer-border);
    border-radius: 999px;
    background: var(--wwp-offer-card-bg);
    color: var(--wwp-offer-ink);
    font-family: "DM Sans", sans-serif;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: border-color 120ms ease, background 120ms ease;
}
.wwp-pl-btn-share:hover {
    border-color: var(--wwp-offer-ink);
}

.wwp-pl-single-card__title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 4px 0 8px;
}
.wwp-pl-single-card__title {
    margin: 0;
    font-size: 26px;
    line-height: 1.15;
    letter-spacing: -0.01em;
    font-weight: 700;
    color: var(--wwp-offer-ink);
}
.wwp-pl-single-card__title-edit {
    background: transparent;
    border: 1px solid transparent;
    border-radius: 8px;
    color: var(--wwp-offer-muted);
    cursor: pointer;
    padding: 6px;
    line-height: 0;
    transition: color 120ms ease, background 120ms ease, border-color 120ms ease;
}
.wwp-pl-single-card__title-edit:hover {
    color: var(--wwp-offer-ink);
    background: var(--wwp-offer-bg);
    border-color: var(--wwp-offer-border);
}

/* Inline rename form — only visible while editing the title. Compact
   buttons (28px) so the form doesn't tower over the title row. */
.wwp-pl-single-card__rename {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
/* Honor [hidden] — the inline-flex rule above otherwise overrides
   the UA [hidden] { display: none } default, leaving the rename form
   visible on first page render before the pencil has been clicked. */
.wwp-pl-single-card__rename[hidden] {
    display: none !important;
}
.wwp-pl-single-card__rename-input {
    height: 36px;
    padding: 0 12px;
    border: 1px solid var(--wwp-offer-border);
    border-radius: 10px;
    background: var(--wwp-offer-card-bg);
    font-family: "DM Sans", sans-serif;
    font-size: 15px;
    color: var(--wwp-offer-ink);
    min-width: 240px;
}
.wwp-pl-single-card__rename-input:focus {
    outline: none;
    border-color: var(--wwp-offer-ink);
}
.wwp-pl-single-card__rename .wwp-pl-cta {
    height: 36px;
    padding: 0 14px;
    font-size: 13px;
}
.wwp-pl-single-card__rename-msg {
    font-size: 12px;
    color: var(--wwp-offer-muted);
}
.wwp-pl-single-card__rename-msg.is-error { color: #B3261E; }
.wwp-pl-single-card__rename-msg.is-ok    { color: var(--wwp-offer-save); }

.wwp-pl-single-card__byline {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 0;
    font-size: 13px;
    color: var(--wwp-offer-muted);
}
.wwp-pl-single-card__byline-sep {
    color: var(--wwp-offer-border);
}

/* ----- shared-with strip ----- */

.wwp-pl-shared-strip {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin: 14px 0 0;
    padding: 12px 14px;
    background: var(--wwp-pl-accent-tint);
    border-radius: 12px;
    color: var(--wwp-pl-accent-ink);
    font-size: 13px;
}
.wwp-pl-shared-strip__label {
    font-weight: 600;
    letter-spacing: 0.01em;
}
.wwp-pl-shared-strip__avatars {
    display: inline-flex;
    align-items: center;
}
.wwp-pl-shared-strip__avatars > * + * {
    margin-left: -6px;
}
.wwp-pl-shared-strip__avatars .wwp-pl-avatar {
    border: 2px solid var(--wwp-pl-accent-tint);
}
.wwp-pl-shared-strip__text {
    flex: 1 1 auto;
    min-width: 0;
}
.wwp-pl-shared-strip__manage {
    background: transparent;
    border: 0;
    padding: 0;
    color: var(--wwp-pl-accent-ink);
    font-family: "DM Sans", sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
}
.wwp-pl-shared-strip__manage:hover {
    text-decoration: underline;
}

.wwp-pl-avatar--sm {
    width: 26px;
    height: 26px;
    font-size: 11px;
}
.wwp-pl-avatar--more {
    background: var(--wwp-offer-bg);
    color: var(--wwp-offer-ink-soft);
    font-weight: 600;
}

/* ----- total card ----- */

.wwp-pl-total-card {
    background: var(--wwp-offer-card-bg);
    border: 1px solid var(--wwp-offer-border);
    border-radius: var(--wwp-offer-radius);
    box-shadow: var(--wwp-offer-shadow);
    padding: 22px 22px 20px;
    margin: 0 0 24px;
    font-family: "DM Sans", sans-serif;
    color: var(--wwp-offer-ink);
}
.wwp-pl-total-card__head {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0 0 16px;
}
.wwp-pl-total-card__eyebrow {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--wwp-offer-muted);
}
.wwp-pl-total-card__amount {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--wwp-offer-ink);
}
.wwp-pl-total-card__amount .woocommerce-Price-amount {
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
}
.wwp-pl-total-card__sub {
    font-size: 13px;
    color: var(--wwp-offer-muted);
}
.wwp-pl-total-card__warn {
    display: inline-block;
    margin-top: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--wwp-pl-warn-tint);
    color: var(--wwp-pl-warn-ink);
    font-size: 12px;
    font-weight: 600;
}
.wwp-pl-total-card__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.wwp-pl-total-card__actions .wwp-pl-cta--primary {
    flex: 1 1 240px;
    min-width: 200px;
}
.wwp-pl-total-card__actions .wwp-pl-cta--text {
    margin-left: auto;
    height: auto;
    padding: 8px 12px;
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
    color: var(--wwp-offer-muted);
    font-weight: 500;
}
.wwp-pl-total-card__actions .wwp-pl-cta--text:hover,
.wwp-pl-total-card__actions .wwp-pl-cta--text:focus {
    color: var(--wwp-offer-ink);
}
.wwp-pl-total-card__actions .wwp-pl-cta--danger:hover,
.wwp-pl-total-card__actions .wwp-pl-cta--danger:focus {
    color: #B3261E;
}

/* ==========================================================================
 * Sharing modal — opens from "Sharing" button + "Manage sharing →" link.
 * Stays in the DOM hidden by default; toggled by the JS controller.
 * ========================================================================== */

.wwp-pl-share-overlay {
    position: fixed;
    inset: 0;
    background: rgba(24, 23, 21, 0.46);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    font-family: "DM Sans", sans-serif;
    color: var(--wwp-offer-ink);
    overflow-y: auto;
}
.wwp-pl-share-overlay[hidden] {
    display: none !important;
}
body.wwp-pl-share-open {
    overflow: hidden;
}

.wwp-pl-share-modal {
    width: 100%;
    max-width: 560px;
    background: var(--wwp-offer-card-bg);
    border-radius: 18px;
    box-shadow: 0 30px 80px rgba(24, 23, 21, 0.25);
    overflow: hidden;
    max-height: calc(100vh - 48px);
    display: flex;
    flex-direction: column;
}

/* ----- modal header ----- */

.wwp-pl-share__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 20px 22px 14px;
    border-bottom: 1px solid var(--wwp-offer-border-soft);
}
.wwp-pl-share__eyebrow {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--wwp-offer-muted);
    margin-bottom: 4px;
}
.wwp-pl-share__title {
    margin: 0 0 4px;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
}
.wwp-pl-share__sub {
    margin: 0;
    font-size: 13px;
    color: var(--wwp-offer-muted);
}
.wwp-pl-share__close {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 8px;
    color: var(--wwp-offer-muted);
    cursor: pointer;
    transition: background 120ms ease, color 120ms ease, border-color 120ms ease;
}
.wwp-pl-share__close:hover {
    background: var(--wwp-offer-bg);
    color: var(--wwp-offer-ink);
    border-color: var(--wwp-offer-border);
}

/* ----- tabs ----- */

.wwp-pl-share__tabs {
    display: flex;
    gap: 8px;
    padding: 12px 22px 0;
    border-bottom: 1px solid var(--wwp-offer-border-soft);
}
.wwp-pl-share__tab {
    background: var(--wwp-offer-card-bg);
    border: 1px solid var(--wwp-offer-border);
    border-bottom: 0;
    border-radius: 10px 10px 0 0;
    padding: 8px 14px;
    font-family: "DM Sans", sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: var(--wwp-offer-ink-soft);
    cursor: pointer;
    margin-bottom: -1px;
}
.wwp-pl-share__tab.is-active {
    color: var(--wwp-offer-ink);
    border-color: var(--wwp-offer-border);
    background: var(--wwp-offer-card-bg);
    box-shadow: 0 1px 0 var(--wwp-offer-card-bg);
}

/* ----- panels ----- */

.wwp-pl-share__panel {
    padding: 18px 22px;
    overflow-y: auto;
    flex: 1 1 auto;
}
.wwp-pl-share__panel[hidden] {
    display: none !important;
}

.wwp-pl-share__field-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--wwp-offer-muted);
    margin-bottom: 8px;
}
.wwp-pl-share__search-wrap {
    position: relative;
}
.wwp-pl-share__search-icon {
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    color: var(--wwp-offer-muted);
}
.wwp-pl-share__search {
    width: 100%;
    height: 42px;
    padding: 0 14px 0 36px;
    border: 1px solid var(--wwp-offer-border);
    border-radius: 12px;
    background: var(--wwp-offer-bg);
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    color: var(--wwp-offer-ink);
}
.wwp-pl-share__search:focus {
    outline: none;
    border-color: var(--wwp-offer-ink);
    background: var(--wwp-offer-card-bg);
}
.wwp-pl-share__results {
    margin-top: 8px;
    border: 1px solid var(--wwp-offer-border);
    border-radius: 12px;
    background: var(--wwp-offer-card-bg);
    overflow: hidden;
    max-height: 220px;
    overflow-y: auto;
}
.wwp-pl-share__results[hidden] {
    display: none !important;
}
.wwp-pl-share__results-empty {
    margin: 0;
    padding: 14px;
    font-size: 13px;
    color: var(--wwp-offer-muted);
    text-align: center;
}
.wwp-pl-share__result {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 14px;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--wwp-offer-border-soft);
    text-align: left;
    cursor: pointer;
    color: var(--wwp-offer-ink);
    font-family: "DM Sans", sans-serif;
}
.wwp-pl-share__result:last-child { border-bottom: 0; }
.wwp-pl-share__result:hover { background: var(--wwp-offer-bg); }
.wwp-pl-share__result-text {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.wwp-pl-share__result-name {
    font-size: 14px;
    font-weight: 600;
}
.wwp-pl-share__result-meta {
    font-size: 12px;
    color: var(--wwp-offer-muted);
}
.wwp-pl-share__result-add {
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--wwp-offer-ink);
    color: #FFFFFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
}

/* "Invite all" callout */
.wwp-pl-share__invite-all {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    margin-top: 14px;
    border: 1px solid var(--wwp-offer-border);
    border-radius: 12px;
    background: var(--wwp-offer-bg);
}
.wwp-pl-share__invite-all-text {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.wwp-pl-share__invite-all-title { font-size: 14px; font-weight: 600; }
.wwp-pl-share__invite-all-sub   { font-size: 12px; color: var(--wwp-offer-muted); }
.wwp-pl-share__invite-all-btn {
    flex: 0 0 auto;
    background: transparent;
    border: 1px solid var(--wwp-offer-border);
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    color: var(--wwp-offer-ink);
    cursor: pointer;
}
.wwp-pl-share__invite-all-btn:hover { border-color: var(--wwp-offer-ink); }

/* ----- currently shared list ----- */

.wwp-pl-share__current {
    margin-top: 18px;
    border-top: 1px solid var(--wwp-offer-border-soft);
    padding-top: 14px;
}
.wwp-pl-share__current-title {
    margin: 0 0 8px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--wwp-offer-muted);
}
.wwp-pl-share__people {
    list-style: none;
    margin: 0;
    padding: 0;
}
.wwp-pl-share__person {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--wwp-offer-border-soft);
}
.wwp-pl-share__person:last-child { border-bottom: 0; }
.wwp-pl-share__person-text {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.wwp-pl-share__person-name {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--wwp-offer-ink);
}
.wwp-pl-share__person-meta {
    font-size: 12px;
    color: var(--wwp-offer-muted);
}
.wwp-pl-share__chip {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--wwp-pl-accent-tint);
    color: var(--wwp-pl-accent-ink);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.wwp-pl-share__chip--team {
    background: var(--wwp-pl-team-tint);
    color: var(--wwp-pl-team-ink);
}
.wwp-pl-share__owner-tag {
    flex: 0 0 auto;
    font-size: 12px;
    color: var(--wwp-offer-muted);
}
.wwp-pl-share__perm {
    flex: 0 0 auto;
    height: 32px;
    padding: 0 28px 0 12px;
    border: 1px solid var(--wwp-offer-border);
    border-radius: 8px;
    background: var(--wwp-offer-card-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%238B857C' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E") no-repeat right 10px center;
    appearance: none;
    -webkit-appearance: none;
    font-family: "DM Sans", sans-serif;
    font-size: 13px;
    color: var(--wwp-offer-ink);
    cursor: pointer;
}
.wwp-pl-share__perm:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.wwp-pl-share__remove {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 8px;
    color: var(--wwp-offer-muted);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.wwp-pl-share__remove:hover {
    background: var(--wwp-offer-bg);
    color: #B3261E;
    border-color: var(--wwp-offer-border);
}

/* legend / footer */

.wwp-pl-share__legend {
    margin: 14px 0 0;
    padding: 12px 14px;
    background: var(--wwp-pl-accent-tint);
    color: var(--wwp-pl-accent-ink);
    border-radius: 10px;
    font-size: 12px;
    line-height: 1.5;
}
.wwp-pl-share__legend strong {
    font-weight: 700;
}

/* ----- link panel ----- */

.wwp-pl-share__link-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}
.wwp-pl-share__switch {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
    flex: 1 1 auto;
}
.wwp-pl-share__switch input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.wwp-pl-share__switch-track {
    position: relative;
    width: 36px;
    height: 20px;
    background: var(--wwp-offer-border);
    border-radius: 999px;
    transition: background 120ms ease;
    flex: 0 0 auto;
}
.wwp-pl-share__switch-thumb {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    background: var(--wwp-offer-card-bg);
    border-radius: 50%;
    transition: transform 120ms ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}
.wwp-pl-share__switch input:checked + .wwp-pl-share__switch-track {
    background: var(--wwp-offer-ink);
}
.wwp-pl-share__switch input:checked + .wwp-pl-share__switch-track .wwp-pl-share__switch-thumb {
    transform: translateX(16px);
}
.wwp-pl-share__switch-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--wwp-offer-ink);
}
.wwp-pl-share__link-row {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}
.wwp-pl-share__link-row[hidden] {
    display: none !important;
}
.wwp-pl-share__link-input {
    flex: 1 1 auto;
    height: 38px;
    padding: 0 12px;
    border: 1px solid var(--wwp-offer-border);
    border-radius: 10px;
    background: var(--wwp-offer-bg);
    font-family: "JetBrains Mono", "DM Sans", sans-serif;
    font-size: 12px;
    color: var(--wwp-offer-ink-soft);
}

/* ----- footer ----- */

.wwp-pl-share__foot {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 22px;
    border-top: 1px solid var(--wwp-offer-border-soft);
    background: var(--wwp-offer-bg);
}
.wwp-pl-share__foot .wwp-pl-cta--text {
    margin-right: auto;
    height: auto;
    padding: 8px 4px;
    background: transparent !important;
    border-color: transparent !important;
    color: var(--wwp-offer-muted);
    font-weight: 500;
}
.wwp-pl-share__foot .wwp-pl-cta--text:hover {
    color: var(--wwp-offer-ink);
}
.wwp-pl-share__foot .wwp-pl-cta--primary {
    flex: 0 0 auto;
    min-width: 100px;
}

.wwp-pl-avatar--md {
    width: 36px;
    height: 36px;
    font-size: 13px;
}
.wwp-pl-avatar--team {
    background: var(--wwp-pl-team-tint);
    color: var(--wwp-pl-team-ink);
}

/* ==========================================================================
 * Teams page — customer-facing Team management
 * (`/my-account/teams/`). Uses the same card vocabulary as the lists
 * index, with a small "Create team" composer at the top.
 * ========================================================================== */

.wwp-team-create {
    background: var(--wwp-offer-card-bg);
    border: 1px solid var(--wwp-offer-border);
    border-radius: var(--wwp-offer-radius);
    box-shadow: var(--wwp-offer-shadow);
    padding: 18px 20px;
    margin: 0 0 18px;
    font-family: "DM Sans", sans-serif;
}
.wwp-team-create__title {
    margin: 0 0 12px;
    font-size: 16px;
    font-weight: 700;
    color: var(--wwp-offer-ink);
}
.wwp-team-create__row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}
.wwp-team-create__name {
    flex: 1 1 240px;
    min-width: 200px;
    height: 40px;
    padding: 0 14px;
    border: 1px solid var(--wwp-offer-border);
    border-radius: 12px;
    background: var(--wwp-offer-bg);
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    color: var(--wwp-offer-ink);
}
.wwp-team-create__name:focus {
    outline: none;
    border-color: var(--wwp-offer-ink);
    background: var(--wwp-offer-card-bg);
}
.wwp-team-create__members {
    margin-top: 14px;
}
.wwp-team-create__members > summary {
    cursor: pointer;
    font-size: 13px;
    color: var(--wwp-offer-muted);
    padding: 6px 0;
    list-style: none;
}
.wwp-team-create__members > summary::-webkit-details-marker { display: none; }
.wwp-team-create__members > summary::before {
    content: "▸ ";
    color: var(--wwp-offer-border);
    margin-right: 4px;
}
.wwp-team-create__members[open] > summary::before {
    content: "▾ ";
    color: var(--wwp-offer-ink);
}
.wwp-team-create__member-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 8px;
    margin-top: 10px;
}
.wwp-team-member {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border: 1px solid var(--wwp-offer-border);
    border-radius: 10px;
    background: var(--wwp-offer-card-bg);
    font-family: "DM Sans", sans-serif;
    cursor: pointer;
    transition: border-color 120ms ease, background 120ms ease;
}
.wwp-team-member:hover {
    border-color: var(--wwp-offer-ink);
}
.wwp-team-member input[type="checkbox"] {
    flex: 0 0 auto;
    margin: 0 4px 0 0;
    accent-color: var(--wwp-offer-ink);
}
.wwp-team-member__text {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}
.wwp-team-member__name { font-size: 13px; font-weight: 600; color: var(--wwp-offer-ink); }
.wwp-team-member__meta { font-size: 11px; color: var(--wwp-offer-muted); }

/* Team card — extends .wwp-pl-card with a member grid and inline rename. */
.wwp-team-card {
    padding: 18px 20px 16px;
}
.wwp-team-card__members {
    margin: 12px 0 0;
}
.wwp-team-card__members-head {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--wwp-offer-muted);
    margin: 0 0 8px;
}
.wwp-team-card__status {
    flex: 1 1 auto;
    font-size: 12px;
    color: var(--wwp-offer-save);
    font-weight: 600;
}
.wwp-team-rename {
    display: flex;
    gap: 8px;
    margin: 10px 0 0;
    flex-wrap: wrap;
}
.wwp-team-rename__input {
    flex: 1 1 240px;
    min-width: 200px;
    height: 36px;
    padding: 0 12px;
    border: 1px solid var(--wwp-offer-border);
    border-radius: 10px;
    background: var(--wwp-offer-card-bg);
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    color: var(--wwp-offer-ink);
}
.wwp-team-rename .wwp-pl-cta {
    height: 36px;
    padding: 0 14px;
    font-size: 13px;
}

