.gtc-account-wrapper {
  padding: 5rem;
  margin: 0 !important;
  max-width: 100%;
}

/* Wrapper login WooCommerce */
#customer_login {
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: -4px -4px 8px #ffffff, 4px 4px 8px #aeaec0;
  align-items: center;
  justify-content: flex-start;
  border-radius: 1rem;
  color: white;
  padding: 2rem;
  font-family: 'Roboto', sans-serif;
}

/* Nasconde registrazione all'inizio */
#customer_login .u-column1,
#customer_login .u-column2 {
  width: 100%;
  max-width: 400px;
  text-align: center;
  position: relative;
  padding: 2rem;
}

#customer_login .u-column2 {
  display: none;
}

#customer_login.show-register .u-column2 {
  display: block;
}

#customer_login.show-register .u-column1 {
  display: none;
}

/* === Pulsante Registrati coerente === */
#customer_login .woocommerce-Button.woocommerce-form-register__submit {
  display: inline-block;
  width: 100%;
  padding: 0.75rem;
  font-size: 19px;
  font-weight: bold;
  margin-bottom: 1rem;
  border: none;
  border-radius: 2rem;
  background: #f0f2f5;
  color: var(--template-fourthcolor);
  cursor: pointer;
  box-shadow: -4px -4px 8px #ffffff, 4px 4px 8px #aeaec0;
  transition: all 0.3s ease;
}

#customer_login .woocommerce-Button.woocommerce-form-register__submit:hover {
  transform: scale(0.98) translateY(0);
  box-shadow: inset -4px -4px 8px #ffffff, inset 4px 4px 8px #aeaec0;
  background: #f0f2f5;
}




#customer_login .woocommerce-form {
  flex-direction: column;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1rem;
  border: none;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  color: var(--template-fourthcolor);
}

#customer_login .woocommerce-form>p {
  width: 100%;
}

.gtc-switch-auth,
#customer_login .woocommerce-LostPassword a {
  transition: all 0.2s ease !important;
  box-shadow: -4px -4px 8px #ffffff, 4px 4px 8px #aeaec0;
  padding: 0.75rem;
  width: 100%;
  color: var(--template-fourthcolor);
  border-radius: 2rem;
  text-align: center;
  text-decoration: none !important;
  cursor: pointer;
  font-weight: 600;

}

.gtc-switch-auth:hover,
#customer_login .woocommerce-LostPassword a:hover {
  color: var(--template-maincolor);
  box-shadow: inset -4px -4px 8px #ffffff, inset 4px 4px 8px #aeaec0;
  transform: scale(0.98) translateY(0);
}


#customer_login .woocommerce-form>p>label>span {
  color: var(--template-fourthcolor);
}


#customer_login .woocommerce-form input[type="text"],
#customer_login .woocommerce-form input[type="email"],
#customer_login .woocommerce-form input[type="password"] {
  box-shadow: inset -4px -4px 8px #ffffff,
    inset 4px 4px 8px #AEAEC0;
  width: 100%;
  border: none;
  border-radius: 2rem;
  padding: 1rem;
  font-size: 1rem;
  background: #f0f2f5;
  color: var(--template-fourthcolor);
  outline: none;
}



#customer_login .woocommerce-form-login__submit {
  box-shadow: -4px -4px 8px #ffffff,
    4px 4px 8px #aeaec0;
  width: 55%;
  padding: 0.75rem;
  font-size: 19px;
  margin: 0;
  background-color: #f0f2f5;
  color: var(--template-fourthcolor);
  border: none;
  border-radius: 2rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

#customer_login .woocommerce-form-login__submit:hover {
  transform: scale(0.98) translateY(0);
  color: var(--template-maincolor);
  box-shadow: inset -4px -4px 8px #ffffff, inset 4px 4px 8px #aeaec0;
}

.woocommerce-form__label-for-checkbox {
  display: flex !important;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: #fff;
}

.woocommerce-form__input-checkbox {
  appearance: none;
  -webkit-appearance: none;
  background-color: #f0f2f5;
  border: none;
  border-radius: 100%;
  width: 25px;
  height: 25px;
  display: grid;
  place-content: center;
  transition: all 0.2s ease;
  box-shadow: -4px -4px 8px #ffffff, 4px 4px 8px #aeaec0;
}

.woocommerce-form__input-checkbox:checked {
  transform: scale(0.98) translateY(0);
  box-shadow: inset -4px -4px 8px #ffffff, inset 4px 4px 8px #aeaec0;
}

.woocommerce-form__input-checkbox:checked::after {
  content: " ";
  color: #fff;
  font-size: 0.8rem;
  transform: scale(1);
}

.woocommerce-form__input-checkbox:active,
.woocommerce-form__input-checkbox:hover {
  cursor: pointer;
  transform: scale(0.98) translateY(0);
  box-shadow: inset -4px -4px 8px #ffffff, inset 4px 4px 8px #aeaec0;

}

#customer_login .woocommerce-form .form-row:has(.woocommerce-form-login__rememberme) {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  flex-direction: row-reverse;
  align-content: center;
}

/* Link password dimenticata */
#customer_login .woocommerce-LostPassword {
  display: contents;
  margin-top: -0.5rem;
  font-size: 0.85rem;
}

#customer_login .woocommerce-LostPassword a {
  color: var(--template-fourthcolor);
  text-decoration: underline;
}

#customer_login .woocommerce-privacy-policy-text,
#customer_login .woocommerce-privacy-policy-link {
  font-size: 0.8rem;
}

/* === Contenitore principale === */
.woocommerce {
  font-family: "Roboto", sans-serif;
  background-color: #f0f2f5;
  padding: 2rem;
  border-radius: 1.5rem;
  box-shadow: inset -4px -4px 8px #ffffff, inset 4px 4px 8px #aeaec0;
  max-width: 100%;
}

/* === Navigazione laterale === */
.woocommerce-MyAccount-navigation {
  flex: 1 1 20%;
  background-color: #fff;
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.woocommerce-MyAccount-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.woocommerce-MyAccount-navigation li {
  margin-bottom: 1rem;
}

.woocommerce-MyAccount-navigation a {
  display: flex;
  padding: 1rem;
  color: var(--template-fourthcolor);
  gap: 0.5rem;
  text-decoration: none;
  border-radius: 0.75rem;
  font-weight: 500;
  transition: all 0.2s ease;
  flex-direction: row;
  border-radius: 2rem;
  box-shadow: -4px -4px 8px #ffffff, 4px 4px 8px #aeaec0;
  align-items: flex-start;
}

.woocommerce-MyAccount-navigation .is-active a,
.woocommerce-MyAccount-navigation a:hover {
  transform: scale(0.98) translateY(0);
  box-shadow: inset -4px -4px 8px #ffffff, inset 4px 4px 8px #aeaec0;
  background-color: #f0f2f5;
}

/* === Sidebar === */
.woocommerce-MyAccount-navigation {
  flex: 0 0 20%;
  background: #f0f2f5;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: -4px -4px 8px #ffffff, 4px 4px 8px #aeaec0;
  transition: height 0.5s ease;
}

/* === My Account: Contenuto generale === */
.woocommerce-MyAccount-content {
  background: #f0f2f5;
  border-radius: 1rem;
  padding: 2rem 2.5rem;
  box-shadow: -4px -4px 8px #ffffff, 4px 4px 8px #aeaec0;
  font-family: 'Roboto', sans-serif;
  color: var(--template-fourthcolor);
  line-height: 1.6;
}

.woocommerce-MyAccount-content p {
  margin-bottom: 1.2rem;
}

.woocommerce-MyAccount-content strong {
  font-weight: 600;
}


.woocommerce-MyAccount-content a:hover {
  color: var(--template-maincolor);
}

/* === Notifiche coerenti === */
.woocommerce-notices-wrapper {
  margin-bottom: 1rem;
}

/* === Tabella Ordini === */
.woocommerce-MyAccount-content table.shop_table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: none;
  background: #f0f2f5;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: inset -4px -4px 8px #ffffff, inset 4px 4px 8px #aeaec0;
  font-family: 'Roboto', sans-serif;
}

.woocommerce-MyAccount-content table.shop_table thead {
  box-shadow: inset -4px -4px 8px #ffffff, inset 4px 4px 8px #aeaec0;
  border: none;

}

.woocommerce-MyAccount-content table.shop_table th,
.woocommerce-MyAccount-content table.shop_table td {
  padding: 1rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.woocommerce-MyAccount-content table.shop_table th {
  font-weight: bold;
  color: var(--template-fourthcolor);
}

.woocommerce-MyAccount-content table.shop_table td {
  color: var(--template-tirdcolor);
}

.woocommerce-MyAccount-content table.shop_table a {
  color: var(--template-fourthcolor);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.woocommerce-MyAccount-content table.shop_table a:hover {
  color: var(--template-maincolor);
}

/* === Pulsante Visualizza === */
.woocommerce-MyAccount-content>a {
  display: flex !important;
  justify-content: center !important;
  margin-top: 1rem !important;
}

.woocommerce-MyAccount-content>a,
.woocommerce-MyAccount-content table.shop_table .button.view {
  display: inline-block;
  text-decoration: none !important;
  background: #f0f2f5 !important;
  border: none !important;
  border-radius: 999px !important;
  padding: 8px 16px !important;
  font-weight: bold !important;
  color: var(--template-fourthcolor) !important;
  box-shadow: -4px -4px 8px #ffffff, 4px 4px 8px #aeaec0 !important;
  transition: all 0.3s ease !important;
}

.woocommerce-MyAccount-content>a:hover,
.woocommerce-MyAccount-content table.shop_table .button.view:hover {
  transform: scale(0.98) translateY(0);
  color: var(--template-maincolor);
  box-shadow: inset -4px -4px 8px #ffffff,
    inset 4px 4px 8px #aeaec0 !important;
}

.woocommerce-pagination a.woocommerce-Button.woocommerce-Button--next,
.woocommerce-pagination a.woocommerce-button.woocommerce-button--next {
  display: flex;
  background: #f0f2f5;
  width: 100%;
  border: none;
  border-radius: 999px;
  padding: 10px 20px;
  font-weight: bold;
  color: var(--template-fourthcolor);
  text-decoration: none;
  box-shadow: -4px -4px 8px #ffffff,
    4px 4px 8px #aeaec0;
  transition: all 0.3s ease;
  justify-content: center;
}

.woocommerce-pagination a.woocommerce-Button.woocommerce-Button--next:hover,
.woocommerce-pagination a.woocommerce-button.woocommerce-button--next:hover {
  transform: scale(0.98) translateY(0);
  box-shadow: inset -4px -4px 8px #ffffff,
    inset 4px 4px 8px #aeaec0;
  color: var(--template-maincolor);
}

/* === Box info: Nessun download === */
.woocommerce-info {
  background: #f0f2f5;
  border-radius: 1rem;
  padding: 1.2rem 1.5rem;
  margin: 0;
  font-family: 'Roboto', sans-serif;
  color: var(--template-tirdcolor);
  border: none;
  line-height: 1.5;
  text-align: center;
  box-shadow: inset -4px -4px 8px #ffffff, inset 4px 4px 8px #aeaec0;
  transition: all 0.3s ease;
}

.woocommerce-info::before,
.woocommerce-message::before {
  position: static;
  color: var(--template-fourthcolor);
}

/* === Link dentro info === */
.woocommerce-info a.button,
.woocommerce-info a.wc-forward {
  display: inline-block;
  margin-left: 1rem;
  background: #f0f2f5;
  border: none;
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: bold;
  color: var(--template-fourthcolor);
  text-decoration: none;
  box-shadow: -4px -4px 8px #ffffff, 4px 4px 8px #aeaec0;
  transition: all 0.3s ease;
}

.woocommerce-info a.button:hover,
.woocommerce-info a.wc-forward:hover {
  background: #f0f2f5;
  box-shadow: inset -4px -4px 8px #ffffff, inset 4px 4px 8px #aeaec0;
}

/* === Wrapper blocco indirizzi === */
.woocommerce-MyAccount-content .woocommerce-Addresses {
  display: flex;
  gap: 2rem;
  margin-top: 1rem;
}

/* === Singolo blocco indirizzo === */
.woocommerce-MyAccount-content .woocommerce-Address {
  flex: 1 1 calc(50% - 1rem);
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  background: #f0f2f5;
  border-radius: 1rem;
  padding: 1.5rem 2rem;
  box-shadow: inset -4px -4px 8px #ffffff, inset 4px 4px 8px #aeaec0;
  font-family: 'Roboto', sans-serif;
}

.woocommerce-MyAccount-content .woocommerce-Address-title h2 {
  color: var(--template-maincolor);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.woocommerce-MyAccount-content .woocommerce-Address-title a.edit {
  display: inline-block;
  font-size: 0.9rem;
  color: var(--template-tirdcolor);
  text-decoration: underline;
  margin-top: 0.5rem;
  transition: all 0.3s ease;
}

.woocommerce-MyAccount-content .woocommerce-Address-title a.edit:hover {
  color: var(--template-maincolor);
}

.woocommerce-MyAccount-content address {
  margin-top: 0.5rem;
  line-height: 1.6;
  color: var(--template-tirdcolor);
  font-style: normal;
}

/* === Modulo Dettagli Account === */
.woocommerce-EditAccountForm {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  font-family: 'Roboto', sans-serif;
}

.woocommerce-EditAccountForm .woocommerce-form-row {
  display: flex;
  flex-direction: column;
  width: 100% !important;
}

.woocommerce-EditAccountForm label {
  font-weight: bold;
  margin-bottom: 0.75rem;
  box-shadow: inset -4px -4px 8px #ffffff, inset 4px 4px 8px #aeaec0;
  border-radius: 2rem;
  padding: 0.75rem 1rem;
  color: var(--template-fourthcolor) !important;
}

.woocommerce-EditAccountForm input[type="text"],
.woocommerce-EditAccountForm input[type="email"],
.woocommerce-EditAccountForm input[type="password"] {
  border: none !important;
  border-radius: 2rem !important;
  padding: 0.75rem 1rem !important;
  font-size: 1rem;
  background: #f0f2f5 !important;
  color: var(--template-fourthcolor) !important;
  outline: none;
  box-shadow: inset -4px -4px 8px #ffffff, inset 4px 4px 8px #aeaec0;
  width: 100% !important;
}

.woocommerce-EditAccountForm fieldset {
  border: none;
  padding: 0;
}

.required {
  color: var(--template-fourthcolor) !important;
}

.woocommerce-EditAccountForm legend {
  margin-left: 1rem;
  font-weight: bold;
  font-size: 1.1rem;
  color: var(--template-fourthcolor);
  margin-bottom: 0.5rem;
}

.woocommerce-EditAccountForm p {
  margin: 0;
}

#account_display_name_description {
  font-size: 0.85rem;
  padding: 1rem;
  color: var(--template-fourthcolor);
  margin-top: 0.5rem;
}

/* === Bottone Salva modifiche === */
.woocommerce-EditAccountForm button[type="submit"] {
  width: 100%;
  padding: 12px 16px;
  font-size: 19px;
  font-weight: bold;
  background-color: #f0f2f5;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: -4px -4px 8px #ffffff, 4px 4px 8px #aeaec0;
  transition: all 0.3s ease;
}

.woocommerce-EditAccountForm button[type="submit"]:hover {
  transform: scale(0.98) translateY(0);
  background-color: #f0f2f5;
  color: var(--template-maincolor);
  box-shadow: inset -4px -4px 8px #ffffff, inset 4px 4px 8px #aeaec0;

}

/* === Wallet wrapper === */
.wps_wcb_wallet_display_wrapper {
  background: #fff;
  border-radius: 1rem !important;
  padding: 2rem;
  transform: scale(0.98) translateY(4px);
  box-shadow: inset -4px -4px 8px #ffffff, inset 4px 4px 8px #aeaec0;
  background-color: #f0f2f5;
  color: var(--template-fourthcolor);
  border: none;
  border-radius: 999px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Roboto', sans-serif;
  color: var(--template-fourthcolor);
}

.wps_wcb_wallet_balance_container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.wps_wcb_wallet_balance_container h4 {
  font-size: 1rem;
  font-weight: bold;
  color: var(--template-maincolor, var(--template-maincolor));
  margin-bottom: 0.5rem;
}

.wps_wcb_wallet_balance_container p {
  font-size: 2rem;
  font-weight: bold;
  color: var(--template-fourthcolor);
}

.wps_wcb_wallet_view_transaction a {
  color: var(--template-fourthcolor);
  text-decoration: none;
  font-weight: 500;
}

.wps_wcb_wallet_view_transaction a:hover {
  color: var(--template-maincolor);
}

.wps_wsfw_wallet_user_id h4 {
  font-size: 0.95rem;
  color: var(--template-fourthcolor);
  margin-top: 0.5rem;
}

/* === Contenitore tabs === */
.wallet-tabs {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

/* === Lista ul === */
.wallet-tabs ul.tabs {
  list-style: none;
  display: flex !important;
  padding: 0 !important;
  margin: 0 !important;
  gap: 1.5rem;
  background-color: transparent !important;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  align-items: center;
}

/* === Singolo tab come card === */
.wallet-tabs ul.tabs li {
  height: 200px;
  flex: 1 1 calc(33.333% - 2rem);
  min-width: 200px;
  background: #f0f2f5;
  border-radius: 1rem;
  padding: 2rem 2.5rem;
  box-shadow: -4px -4px 8px #ffffff, 4px 4px 8px #aeaec0;
}

/* Hover effetto light */
.wallet-tabs ul.tabs li:hover {
  transform: scale(0.98) translateY(4px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  background: #f0f2f5 !important;
  border-radius: 1rem !important;
  padding: 2rem 2.5rem;
  box-shadow: inset -4px -4px 8px #ffffff, inset 4px 4px 8px #aeaec0 !important;
  transition: all 0.3s ease;
}

/* Tab attivo */
.wallet-tabs ul.tabs li.active {
  padding: 2rem 2.5rem;
  transform: scale(0.98) translateY(4px);
  box-shadow: inset -4px -4px 8px #ffffff,
    inset 4px 4px 8px #aeaec0 !important;
  transition: all 0.3s ease !important;
  border-radius: 1rem;
}

/* === Link === */
.wallet-tabs ul.tabs li a {
  text-decoration: none;
  color: var(--template-fourthcolor);
  display: flex;
  padding: 0 !important;
  text-decoration: none !important;
  height: 100%;
  flex-direction: column;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  align-items: center;
}

/* === Icona === */
.wallet-tabs ul.tabs li svg {
  width: 40px;
  height: 40px;
  fill: var(--template-fourthcolor);
  transition: fill 0.3s ease;
}

.wallet-tabs ul.tabs li.active svg {
  fill: var(--template-maincolor);
}

/* === Titolo === */
.wallet-tabs ul.tabs li a h3 {
  margin: 0;
  font-size: 1rem;
  color: var(--template-fourthcolor);
  text-align: center;
}

.wallet-tabs ul.tabs li.active a h3 {
  color: var(--template-maincolor);
}

#wps_wallet_main_tab_form {
  background: #f0f2f5;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: -4px -4px 8px #ffffff,
    4px 4px 8px #AEAEC0;
}

#wps_wallet_main_tab_form label {
  display: block;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: var(--template-tirdcolor);
}

.wps_view_withdrawal span {
  color: var(--template-maincolor);
  text-align: center;
}

#wps_wallet_transfer_form input[type=email],
#wps_wallet_transfer_form input[type=text],
#wps_wallet_transfer_form input[type=number],
#wps_wallet_transfer_form input[type=select],
#wps_wallet_transfer_form textarea {
  width: 100%;
  border: none;
  border-radius: 999px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  background: #f0f2f5;
  color: var(--template-fourthcolor);
  outline: none;
  box-shadow: inset -4px -4px 8px #ffffff, inset 4px 4px 8px #aeaec0;
}

#wps_wallet_main_tab_form input[type="submit"] {
  display: inline-block;
  width: 100%;
  margin-top: 1rem;
  padding: 12px 16px;
  font-size: 19px;
  font-weight: bold;
  border: none;
  border-radius: 999px;
  background: #f0f2f5;
  color: var(--template-fourthcolor);
  cursor: pointer;
  box-shadow: -4px -4px 8px #ffffff, 4px 4px 8px #aeaec0;
  transition: all 0.3s ease;
}

#wps_wallet_main_tab_form input[type="submit"]:hover {
  transform: scale(0.98) translateY(0);
  color: var(--template-maincolor);
  box-shadow: inset -4px -4px 8px #ffffff,
    inset 4px 4px 8px #aeaec0;
}

.content-section {
  margin-top: 2rem;
}

/* === Paginazione === */
.woocommerce-Pagination {
  margin-top: 1.5rem;
}

.woocommerce-Pagination .woocommerce-Button {
  display: inline-block;
  background: #f0f2f5;
  border: none;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: bold;
  color: #094774;
  box-shadow: -4px 8px #ffffff, 4px 8px #aeaec0;
  transition: background-color 0.3s ease;
}

.woocommerce-Pagination .woocommerce-Button:hover {
  transform: scale(0.98) translateY(0);
  box-shadow: inset -4px 8px #ffffff, inset 4px 8px #aeaec0;

  background: #fff;
  color: var(--template-maincolor);
}

/* === Titoli e paragrafi === */
.woocommerce-MyAccount-content h2,
.woocommerce-MyAccount-content h3 {
  color: var(--template-maincolor);
  margin-bottom: 1rem;
}

.woocommerce-MyAccount-content p {
  line-height: 1.6;
  margin-bottom: 1rem;
  color: var(--template-fourthcolor);
  font-weight: bold;
  border-radius: 2rem;
}

.woocommerce-MyAccount-content p a:hover {
  color: var(--template-maincolor);
}

/* Stile base icona emoji */
.woocommerce-MyAccount-navigation ul li a::before {
  width: 25px;
  height: 25px;
  margin: 0 !important;
}

/* Icone per ogni voce */
/* Bacheca */
.woocommerce-MyAccount-navigation-link--dashboard a::before {
  content: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 96 96' width='24' height='24'><rect width='32' height='32' x='10' y='54' stroke='%23515151' stroke-width='5' rx='9' fill='none'/><rect width='32' height='32' x='10' y='10' stroke='%23515151' stroke-width='5' rx='9' fill='none'/><rect width='32' height='32' x='54' y='10' stroke='%23515151' stroke-width='5' rx='9' fill='none'/><path stroke='%23515151' stroke-linecap='round' stroke-width='5' d='M70 57L70 83M83 70L57 70' fill='none'/></svg>");
}

/* Ordini */
.woocommerce-MyAccount-navigation-link--orders a::before {
  content: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48.6 48.6' width='24' height='24'><rect width='46.6' height='46.6' x='1' y='1' fill='none' stroke='%23515151' stroke-miterlimit='10' stroke-width='2' rx='6.57'/><rect width='31.31' height='31.31' x='8.65' y='8.65' fill='none' stroke='%23515151' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' rx='5.92'/><path fill='none' stroke='%23515151' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m28.3 25.92-4.78-4.6a.66.66 0 0 0-.92 0l-4.77 4.6a.66.66 0 0 1-1.13-.47V8.64h12.72v16.81a.66.66 0 0 1-1.12.47ZM14.81 35.49h15.14M14.81 30.88h20.63'/></svg>");
  margin: 0 !important;

}

/* Download */
.woocommerce-MyAccount-navigation-link--downloads a::before {
  content: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' width='24' height='24'><path d='M23 48H7c-2.757 0-5-2.243-5-5V5a1 1 0 1 1 2 0v38c0 1.654 1.346 3 3 3h16a1 1 0 1 1 0 2z' fill='%23515151'/><path d='M41 22.999a1 1 0 0 1-1-1V10H7c-2.757 0-5-2.243-5-5s2.243-5 5-5h34a1 1 0 1 1 0 2H7C5.346 2 4 3.346 4 5s1.346 3 3 3h35v13.999a1 1 0 0 1-1 1zM34 48c-6.617 0-12-5.383-12-12s5.383-12 12-12 12 5.383 12 12-5.383 12-12 12zm0-22c-5.514 0-10 4.486-10 10s4.486 10 10 10 10-4.486 10-10-4.486-10-10-10z' fill='%23515151'/><path d='M34 42a1 1 0 0 1-1-1V31a1 1 0 1 1 2 0v10a1 1 0 0 1-1 1z' fill='%23515151'/><path d='m34 42.414-4.707-4.707a.999.999 0 1 1 1.414-1.414L34 39.586l3.293-3.293a.999.999 0 1 1 1.414 1.414L34 42.414zM7 4h33v2H7z' fill='%23515151'/></svg>");
}

/* Payment Methods */
.woocommerce-MyAccount-navigation-link--payment-methods a::before {
  content: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'><path d='M17.5 4h-14A2.5 2.5 0 0 0 1 6.5v8A2.5 2.5 0 0 0 3.5 17h8a.5.5 0 0 0 0-1h-8A1.5 1.5 0 0 1 2 14.5V9h17.5a.5.5 0 0 0 .5-.5v-2A2.5 2.5 0 0 0 17.5 4ZM2 6.5A1.5 1.5 0 0 1 3.5 5h14A1.5 1.5 0 0 1 19 6.5V8H2Z' fill='%23515151'/><path d='M18.5 11a4.5 4.5 0 1 0 4.5 4.5 4.51 4.51 0 0 0-4.5-4.5Zm0 8a3.5 3.5 0 1 1 3.5-3.5 3.5 3.5 0 0 1-3.5 3.5Z' fill='%23515151'/><path d='M20 15.5a.5.5 0 0 1-.5.5H19v.5a.5.5 0 0 1-1 0V16h-.5a.5.5 0 0 1 0-1h.5v-.5a.5.5 0 0 1 1 0v.5h.5a.5.5 0 0 1 .5.5Z' fill='%23515151'/></svg>");

}


/* Indirizzi */
.woocommerce-MyAccount-navigation-link--edit-address a::before {
  content: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 1000' width='24' height='24'><path d='M795.52,365.94c-14.47-137.41-124.62-248.11-261.93-263.19-85.77-9.42-168.14,16.84-231.88,73.96-62.86,56.33-98.91,137.03-98.91,221.4,0,65.23,20.73,127.14,59.95,179.03,53.15,70.31,95.58,151.81,126.12,242.22,16.37,48.46,59.99,79.78,111.14,79.78s94.77-31.32,111.14-79.78l3.81-11.29c26.59-78.73,67.67-155.71,125.58-235.36,43.22-59.44,62.74-132.87,54.97-206.76ZM704.82,546.73c-60.58,83.31-103.66,164.17-131.7,247.2l-3.81,11.3c-12.38,36.66-43.92,49.73-69.29,49.73s-56.91-13.07-69.29-49.73c-32.05-94.92-76.71-180.62-132.73-254.73-33.37-44.16-51.01-96.85-51.01-152.39,0-71.83,30.7-140.54,84.22-188.51,47.02-42.14,105.99-64.54,168.49-64.54,9.62,0,19.33.53,29.08,1.6,116.81,12.83,210.52,107,222.82,223.91,6.63,63.01-9.98,125.57-46.77,176.16Z' fill='%23515151'/><path d='M500.01,256.58c-77.73,0-140.97,63.24-140.97,140.97s63.24,140.97,140.97,140.97,140.97-63.25,140.97-140.97-63.24-140.97-140.97-140.97ZM500.01,494.35c-53.38,0-96.8-43.43-96.8-96.8s43.43-96.8,96.8-96.8,96.8,43.42,96.8,96.8-43.43,96.8-96.8,96.8Z' fill='%23515151'/></svg>");

}


/* Dettagli account */
.woocommerce-MyAccount-navigation-link--edit-account a::before {
  content: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256' width='24' height='24'><circle cx='128' cy='120' r='40' fill='none' stroke='%23515151' stroke-linecap='round' stroke-linejoin='round' stroke-width='8'/><path fill='none' stroke='%23515151' stroke-linecap='round' stroke-linejoin='round' stroke-width='8' d='M63.79905,199.37405a72.02812,72.02812,0,0,1,128.40177-.00026'/><line x1='176' x2='224' y1='56' y2='56' fill='none' stroke='%23515151' stroke-linecap='round' stroke-linejoin='round' stroke-width='8'/><line x1='200' x2='200' y1='32' y2='80' fill='none' stroke='%23515151' stroke-linecap='round' stroke-linejoin='round' stroke-width='8'/><path fill='none' stroke='%23515151' stroke-linecap='round' stroke-linejoin='round' stroke-width='8' d='M222.81257,112.85778a95.9029,95.9029,0,1,1-79.67019-79.67033'/></svg>");
}

/* Wallet */
.woocommerce-MyAccount-navigation-link--wps-wallet a::before {
  content: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 38 32' width='24' height='24'><path d='M32.509 7.5a.5.5 0 0 0 .5-.5V5.335a1.64 1.64 0 0 0-1.638-1.638h-2.687l-.613-1.809a.5.5 0 0 0-.619-.318L12.899 5.994a.501.501 0 0 0 .292.957L27.28 2.667l1.343 3.965a.499.499 0 1 0 .947-.321l-.547-1.615h2.349c.352 0 .638.286.638.638V7c-.001.276.223.5.499.5z' fill='%23515151'/><path d='M36.5 15a.5.5 0 0 0 0 1c.351 0 .5.149.5.5v6c0 .351-.149.5-.5.5h-8c-.351 0-.5-.149-.5-.5v-5c0-.351.149-.5.5-.5h6a.5.5 0 0 0 .5-.5v-6c0-.911-.589-1.5-1.5-1.5H3c-1.233 0-2-.767-2-2s.767-2 2-2h5.076l-3.026.998a.5.5 0 1 0 .313.949L23.482.974a.5.5 0 1 0-.314-.95l-12.1 3.99C11.045 4.01 11.024 4 11 4H3C1.206 4 0 5.206 0 7v22c0 1.794 1.206 3 3 3h30.5c.911 0 1.5-.589 1.5-1.5v-5a.5.5 0 0 0-1 0v5c0 .351-.149.5-.5.5H3c-1.233 0-2-.767-2-2V9.312c.513.433 1.192.688 2 .688h30.5c.351 0 .5.149.5.5V16h-5.5c-.911 0-1.5.589-1.5 1.5v5c0 .911.589 1.5 1.5 1.5h8c.911 0 1.5-.589 1.5-1.5v-6c0-.911-.589-1.5-1.5-1.5z' fill='%23515151'/><circle cx='32' cy='20' r='1' fill='%23515151'/></svg>");
}

/* Esci */
.woocommerce-MyAccount-navigation-link--customer-logout a::before {
  content: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'><path fill='%23515151' fill-rule='evenodd' d='M2 12.5h12v-1H2v1Z' clip-rule='evenodd'/><path fill='%23515151' fill-rule='evenodd' d='m5.146 8.146-3.5 3.5a.5.5 0 0 0 0 .708l3.5 3.5.708-.707L2.707 12l3.147-3.146-.708-.708zM14.596 5c-2.678 0-5.004 1.546-6.15 3.813l-.892-.451C8.86 5.776 11.52 4 14.595 4c4.372 0 7.905 3.588 7.905 8s-3.533 8-7.905 8c-3.074 0-5.734-1.776-7.041-4.362l.892-.451C9.592 17.454 11.918 19 14.596 19c3.807 0 6.904-3.128 6.904-7s-3.097-7-6.905-7z' clip-rule='evenodd'/></svg>");
}

/* === Wrapper reset password coerente === */
.woocommerce .woocommerce-ResetPassword {
  width: 100%;
  padding: 2rem;
  border-radius: 1rem;
  font-family: 'Roboto', sans-serif;
  color: #f0f2f5;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.woocommerce .woocommerce-ResetPassword p {
  color: var(--template-fourthcolor) !important;
  margin-bottom: 1rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.woocommerce .woocommerce-ResetPassword label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
  color: var(--template-tirdcolor);
}

.woocommerce .woocommerce-ResetPassword label>span {
  color: white !important;
}

.woocommerce .woocommerce-ResetPassword input[type="text"] {
  width: 100%;
  border: none;
  border-radius: 999px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  background: #f0f2f5;
  color: var(--template-fourthcolor);
  outline: none;
  box-shadow: inset -4px -4px 8px #ffffff,
    inset 4px 4px 8px #AEAEC0;
}

.woocommerce .woocommerce-ResetPassword button[type="submit"] {
  width: 60%;
  transition: all 0.2s ease;
  padding: 12px 16px;
  font-size: 19px;
  margin-top: 1rem;
  font-weight: bold;
  border: none;
  border-radius: 999px;
  background: #f0f2f5;
  color: var(--template-fourthcolor);
  cursor: pointer;
  box-shadow: -4px -4px 8px #ffffff,
    4px 4px 8px #aeaec0;
}

.woocommerce .woocommerce-ResetPassword button[type="submit"]:hover {
  color: var(--template-maincolor);
  transform: scale(0.98) translateY(0);
  box-shadow: inset -4px -4px 8px #ffffff, inset 4px 4px 8px #AEAEC0;
}

/* Contenitore wrapper errori */
.woocommerce-notices-wrapper {
  width: 100%;
  overflow: hidden;
  height: 0;
  opacity: 0;
  transition: height 0.4s ease, opacity 0.4s ease;
}

.woocommerce-notices-wrapper.visible {
  opacity: 1;
}

.woocommerce-error {
  border-top: none;
  margin-bottom: 0 !important;
  background: #f0f2f5;
  border-radius: 2rem;
  max-width: 500px;
  width: 100%;
  font-weight: 500;
  position: relative;
  margin-top: 1rem;
  padding: 1rem 1.5rem;
  box-shadow: inset -4px -4px 8px #ffffff, inset 4px 4px 8px #AEAEC0;
}

.woocommerce-error li {
  color: var(--template-maincolor);
  display: flex;
  justify-content: center;
}

.woocommerce-error:before {
  content: "";
  position: absolute;
  left: 1.25rem;
  top: 1.1rem;
  font-size: 1.2rem;
}

.gtc-switch-container {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  width: 100%;
  justify-content: space-between;
}

/* Contenitore principale */
.gtc-switch {
  position: relative;
  display: inline-block;
  width: 40%;
  height: 3em;
  border-radius: 3em;
  background: #f0f2f5;
  box-shadow:
    inset -4px -4px 8px #ffffff,
    inset 4px 4px 8px #AEAEC0;
  cursor: pointer;
}

/* Bordo interno */
.gtc-switch-border {
  position: absolute;
  inset: 0.1em;
  border-radius: inherit;
}

/* LED sinistro */
.gtc-switch-led-left {
  position: absolute;
  left: 0.5em;
  top: 50%;
  transform: translateY(-50%);
  width: 2em;
  height: 2em;
  border-radius: 50%;
  box-shadow:
    inset -4px -4px 8px #AEAEC0,
    inset 4px 4px 8px #AEAEC0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gtc-switch-led-inner {
  width: 1.5em;
  height: 1.5em;
  border-radius: 50%;
  background: #f0f2f5;
  box-shadow: 0px 2px 2px #d9d9d9;
}

/* LED destro */
.gtc-switch-led-right {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.5em;
  height: 0.25em;
  border-radius: 1em;
  box-shadow:
    inset -4px -4px 8px #AEAEC0,
    inset 4px 4px 8px #AEAEC0;
}

/* Input invisibile */
.gtc-switch-checkbox {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 2;
  cursor: pointer;
}

/* Toggle */
.gtc-switch-toggle {
  position: absolute;
  left: 0.25em;
  top: 50%;
  transform: translateY(-50%);
  width: 2.5em;
  height: 2.5em;
  border-radius: 50%;
  background: #f0f2f5;
  box-shadow:
    -4px -4px 8px #ffffff,
    4px 4px 8px #AEAEC0;
  transition: left 0.3s ease;
}

.gtc-switch-toggle-border {
  position: absolute;
  inset: 0.1em;
  border-radius: 50%;
  box-shadow:
    inset 4px 4px 4px rgba(174, 174, 192, 0.5),
    inset -4px -4px 4px rgba(255, 255, 255, 0.5);
}

/* Stato ON */
.gtc-switch-checkbox:checked+.gtc-switch-toggle {
  left: calc(100% - 2.75em);
}



@keyframes fadeInError {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === Responsive === */
@media (max-width: 1309px) {
  .woocommerce-MyAccount-content .woocommerce-Addresses {
    flex-wrap: wrap;
    flex-direction: column;
  }

  .woocommerce .col2-set .col-2,
  .woocommerce-page .col2-set .col-2,
  .woocommerce .col2-set .col-1,
  .woocommerce-page .col2-set .col-1 {

    width: 100% !important;
  }
}

@media (max-width: 1008px) {
  .woocommerce {
    display: flex;
    gap: 2rem;
    flex-direction: column;
    padding: 1rem;
  }

  .woocommerce-MyAccount-navigation,
  .woocommerce-MyAccount-content {
    width: 100% !important;
    padding: 1.5rem;
  }

  .woocommerce-MyAccount-navigation a {
    justify-content: space-between;
  }
}

@media (max-width: 768px) {
  .woocommerce {
    display: flex;
    gap: 2rem;
    flex-direction: column;
    padding: 1rem;
  }

  #customer_login .u-column1,
  #customer_login .u-column2 {
    flex: 1 1 100%;
  }

  .gtc-account-wrapper {
    padding: 1rem;
  }

  .woocommerce-MyAccount-content .woocommerce-Addresses {
    flex-direction: column;
  }

  .woocommerce-MyAccount-content .woocommerce-Address {
    flex: 1 1 100%;
  }
}

@media (max-width: 530px) {

  .gtc-switch,
  #customer_login .woocommerce-form-login__submit {
    width: 100%;
  }
}

@media (max-width: 468px) {

  .gtc-account-wrapper {
    padding: 1rem;
  }

}