:root {
    --bianco: #ffffff !important;
    --tec-color-text-primary: #ffffff !important;
    --tec-color-text-secondary: #b0b0b0;
    --tec-color-background: #181818;
    --tec-color-border: #ffffff;
    --black: #181818;
    --usp-main-orange: #FF8A31;

}

.pum-theme-tema-predefinito {
    background-color: #000 !important;
}
.woocommerce-MyAccount-navigation,
.woocommerce-view-order .order_data_column,
.woocommerce-order-received .order_data_column{display:none !important}
.message .message__content{color:#FFF !important;}
.woocommerce-notices-wrapper{margin-bottom:30px}
/* Eventi HCE Block Styles */
.hce-events-block,
.woocommerce-MyAccount-orders tr {
    background: #232323 !important;
    border-radius: 24px;
    padding: 24px 18px 12px 18px;
    max-width: 100%;
    margin: 0 auto 32px auto;
    box-shadow: 0 2px 12px 0 rgba(0,0,0,0.12);
}
.woocommerce-account .woocommerce-MyAccount-content {
    float: none !important;
    width: 100% !important;
    margin: 100px 0
    
}
.woocommerce-account .woocommerce-MyAccount-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    width: 100%;
}
.woocommerce-view-order .woocommerce-order-details,
.woocommerce-view-order .woocommerce-customer-details,
.woocommerce-view-order .woocommerce-order-downloads {
    margin: 0 auto;
    width: 90%;
}
.woocommerce-MyAccount-orders {
    margin: 0 auto; 
    max-width: 900px;
    width: 100%;
}
.hce-events-title {
    font-weight: bold;
    font-size: 1.4em;
    color: rgb(255,233,77);
    margin-bottom: 8px;
    line-height: 1.1;
}
.hce-events-title-all {
    color: #fff;
    font-weight: normal;
    font-size: 0.8em;
}
.hce-events-filter-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    max-height: 340px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--usp-main-orange) #232323;
}
.hce-events-filter-list::-webkit-scrollbar {
    width: 8px;
    background: #232323;
    border-radius: 8px;
}
.hce-events-filter-list::-webkit-scrollbar-thumb {
    background: var(--usp-main-orange);
    border-radius: 8px;
}
.hce-event-row {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #444;
    padding: 8px 0;
    color: #fff;
    font-family: inherit;
    background: none;
}
.hce-event-row-left {
    flex: 1;
    min-width: 0;
    color: #fff;
    font-family: inherit;
    display: flex;
    flex-direction: column;
}
.hce-event-date {
    color: #fff;
    font-size: 0.95em;
    margin-bottom: 2px;
}
.hce-event-title {
    font-weight: bold;
    color: var(--usp-main-orange);
    font-size: 1.05em;
    margin-bottom: 2px;
}
.hce-event-excerpt {
    color: #fff;
    font-size: 0.95em;
}
.hce-event-cats {
    flex-shrink: 0;
    text-align: right;
    min-width: 90px;
    color: #1ecfcf;
    font-size: 10px;
    font-family: inherit;
}

@media (max-width: 700px) {
    .hce-events-block {
        max-width: 100%;
        padding: 12px 4vw 8px 4vw;
    }
    .hce-events-title {
        font-size: 1.1em;
    }
    .hce-events-filter-list {
        max-height: 220px;
    }
    .hce-event-row {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 0;
    }
    .hce-event-cats {
        text-align: left;
        margin-top: 4px;
        min-width: 0;
    }
}

.single-tribe_events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button-text,
.single-tribe_events .tribe-events-c-subscribe-dropdown button.tribe-events-c-subscribe-dropdown__button-text,
.tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button-text,
.tribe-events .tribe-events-c-subscribe-dropdown button.tribe-events-c-subscribe-dropdown__button-text {
    color: #000 !important;
}
.tribe-events-header__events-bar,.tribe-events-c-subscribe-dropdown {
    display: none !important;
}
.tribe-events-c-top-bar__today-button.tribe-common-a11y-hidden {
    background-color: transparent !important;
}
.tribe-events .tribe-events-c-events-bar .tribe-common-form-control-text__input {
    background-color: transparent !important;
    color: var(--tec-color-text-primary);
}
.tribe-events-header__title-text {
    color: var(--tec-color-text-primary);
}
#menu-menu-utente .sub-menu LI{margin-left:30px}

.tribe-common a:not(.tribe-common-anchor--unstyle),
.tribe-common a:not(.tribe-common-anchor--unstyle):active,
.tribe-common a:not(.tribe-common-anchor--unstyle):focus,
.tribe-common a:not(.tribe-common-anchor--unstyle):hover,
.tribe-common a:not(.tribe-common-anchor--unstyle):visited {
    color: var(--tec-color-text-primary);
    outline: 0;
    -webkit-text-decoration: none;
    text-decoration: none;
}

.usp-profile-dashboard {
    max-width: 900px;
    margin: 40px auto;
    padding: 32px;
    background: #181818;
    border-radius: 18px;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.12);
    border: 2px solid #fff;
}

.usp-profile-block,
.woocommerce-orders-table__row {
    background: #232323;
    border-radius: 18px;
    margin-bottom: 32px;
    padding: 28px 24px 18px 24px;
    border: 1px solid #fff;
}


.woocommerce-MyAccount-orders thead {
    display: none !important; 
}
.woocommerce-MyAccount-orders, 
.woocommerce-MyAccount-orders  table.shop_table td,
.woocommerce-MyAccount-orders  td,
.woocommerce-MyAccount-orders  th,
.woocommerce-MyAccount-orders  tfoot td,
.woocommerce-MyAccount-orders  tfoot th {border:0 !important;}

.woocommerce-MyAccount-orders tr {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    background: #232323 !important;
    border-radius: 18px;
    margin-bottom: 32px;
    padding: 28px 24px 18px 24px;
}
.woocommerce-MyAccount-orders tr td {
    flex: 0 0 auto;
    margin-right: 32px;
    display: flex;
    align-items: center;
}
.woocommerce-MyAccount-orders tr td:nth-child(1),
.woocommerce-MyAccount-orders tr td:nth-child(2),
.woocommerce-MyAccount-orders tr td:nth-child(3),
.woocommerce-MyAccount-orders tr td:nth-child(4) {
    justify-content: flex-start;
}
.woocommerce-MyAccount-orders tr td:last-child {
    margin-right: 0;
    margin-left: auto;
    justify-content: flex-end;
    display: flex;
}
.woocommerce-MyAccount-orders tr {
    display: flex !important;
    margin-bottom: 20px !important;
    padding: 10px;
    border: 0 !important;
    align-items: center;
    justify-content: space-between;
    border-radius: 10px;
}
.woocommerce-MyAccount-orders .order-row-content {
    display: flex;
    flex: 1;
    gap: 32px;
    align-items: center;
}
.woocommerce-MyAccount-orders .order-row-action {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 160px;
}
.usp-profile-block h2 {
    color: #fff;
    font-size: 2em;
    font-weight: 700;
    margin-bottom: 18px;
}

/* Layout: show profile fields two per row on desktop/tablet, one per row on mobile */
.usp-profile-block .usp-profile-fields {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}
.usp-profile-block .usp-profile-fields p {
    margin: 0 0 6px 0;
}

.usp-profile-row {
    display: flex;
    gap: 18px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.usp-profile-row>div {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.usp-profile-row label {
    color: var(--usp-main-orange);
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 1em;
}

.usp-profile-row input,
.usp-profile-row select {
    border: none;
    border-radius: 10px;
    color: #000;
    padding: 10px 14px;
    font-size: 1.1em;
    margin-bottom: 2px;
}

.usp-profile-row input[disabled] {
    opacity: 0.7;
}

.usp-profile-save-btn {
    background: var(--usp-main-orange);
    color: #232323;
    border: none;
    border-radius: 10px;
    padding: 12px 36px;
    font-size: 1.1em;
    font-weight: 700;
    margin-top: 10px;
    margin-right: 10px;
    cursor: pointer;
    transition: background 0.2s;
}

.usp-profile-save-btn:hover,BUTTON.button {
    background: var(--usp-main-orange) !important;
    color: var(--bianco) !important;
    padding-top: 10px;
    padding-right: 30px;
    padding-bottom: 10px;
    padding-left: 30px;
}

.usp-profile-message {
    margin-top: 10px;
    font-size: 1.1em;
    min-height: 24px;
}

.usp-profile-success {
    color: #1ecfcf;
}

.usp-profile-error {
    color: var(--usp-main-orange);
}

.woocommerce-js table.shop_table thead,
.woocommerce-page table.shop_table thead,.woocommerce-error,.woocommerce-info,.woocommerce-message{
    background-color: var(--black) !important;
}

.woocommerce-error,
.woocommerce-info,
.woocommerce-message,
.woocommerce-breadcrumb,
.woocommerce-js .woocommerce-breadcrumb a,
.woocommerce-js a.remove {
    color: var(--bianco) !important;    
}



.woocommerce H3,.page-title,.woocommerce-loop-product__title,.ast-woo-product-category,.woocommerce-Price-amount,.woocommerce .star-rating,.woocommerce .comment-form-rating .stars a,.woocommerce .star-rating::before{
    color: var(--usp-main-orange) !important;
}


@media (max-width: 900px) {
    .usp-profile-row {
        flex-direction: column;
    }
}

@media (max-width: 700px) {
    /* Mobile: single column for profile fields */
    .usp-profile-block .usp-profile-fields {
        grid-template-columns: 1fr;
    }
}

/* Privacy checkbox in checkout review */
.usp-checkout-privacy { color: #fff; }
.usp-checkout-privacy .usp-privacy-label a { color: #ffb84d; }