:root {
  --account-green: #5f6f52;
  --account-sage: #879b73;
  --account-rose: #c9827a;
  --account-text: #2f342b;
  --account-muted: #747a70;
  --account-border: #ddd8ce;
  --account-cream: #faf8f4;
  --account-soft-green: #f1f3ed;
  --account-white: #fff;
}

.cuoghi-account-page .elementor-widget-theme-post-title,
.cuoghi-account-page .page-header,
.cuoghi-account-page .entry-header,
.cuoghi-account-page h1.entry-title {
  display: none !important;
}

.cuoghi-account-shell,
.cuoghi-account-shell * {
  box-sizing: border-box;
}

.cuoghi-account-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 42px auto 70px;
  color: var(--account-text);
  font-family: Manrope, sans-serif;
  animation: cuoghi-account-enter .5s ease both;
}

@keyframes cuoghi-account-enter {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.cuoghi-account-hero {
  position: relative;
  min-height: 205px;
  padding: 42px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  overflow: hidden;
  border: 1px solid #e8e4dc;
  border-radius: 22px;
  background:
    radial-gradient(circle at 74% 5%, rgba(201, 130, 122, .12), transparent 28%),
    linear-gradient(115deg, #fff 0%, #faf8f4 55%, #f0f3eb 100%);
}

.cuoghi-account-hero__copy {
  position: relative;
  z-index: 2;
  max-width: 690px;
}

.cuoghi-account-eyebrow,
.cuoghi-account-benefits__label {
  display: block;
  margin-bottom: 8px;
  color: var(--account-green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.cuoghi-account-hero h1,
.cuoghi-account-benefits h2,
.cuoghi-account-native .woocommerce h2,
.cuoghi-account-native .woocommerce h3 {
  margin: 0;
  color: var(--account-text);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  line-height: 1.05;
}

.cuoghi-account-hero h1 {
  font-size: clamp(38px, 5vw, 62px);
}

.cuoghi-account-hero p {
  max-width: 610px;
  margin: 14px 0 0;
  color: var(--account-muted);
  font-size: 16px;
  line-height: 1.65;
}

.cuoghi-account-hero__badge {
  position: relative;
  z-index: 2;
  min-width: 118px;
  padding: 16px 18px;
  display: grid;
  justify-items: center;
  gap: 7px;
  border: 1px solid rgba(95, 111, 82, .18);
  border-radius: 16px;
  background: rgba(255, 255, 255, .74);
  color: var(--account-green);
  backdrop-filter: blur(8px);
}

.cuoghi-account-hero__badge svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cuoghi-account-hero__badge span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.cuoghi-account-botanical {
  position: absolute;
  right: -38px;
  bottom: -36px;
  width: 330px;
  height: auto;
  fill: rgba(135, 155, 115, .05);
  stroke: rgba(95, 111, 82, .14);
  stroke-width: 1.2;
}

.cuoghi-account-layout {
  margin-top: 24px;
  display: grid;
  grid-template-columns: minmax(280px, .82fr) minmax(420px, 1.18fr);
  gap: 24px;
  align-items: stretch;
}

.cuoghi-account-shell.is-logged-in .cuoghi-account-layout {
  display: block;
}

.cuoghi-account-benefits,
.cuoghi-account-native {
  border: 1px solid var(--account-border);
  border-radius: 20px;
  background: var(--account-white);
  box-shadow: 0 15px 45px rgba(47, 52, 43, .045);
}

.cuoghi-account-benefits {
  padding: 38px;
  background: linear-gradient(150deg, #f9f7f2, #f1f4ed);
}

.cuoghi-account-benefits h2 {
  max-width: 360px;
  font-size: clamp(31px, 3.2vw, 43px);
}

.cuoghi-account-benefits > p {
  margin: 15px 0 28px;
  color: var(--account-muted);
  font-size: 14px;
  line-height: 1.65;
}

.cuoghi-account-benefits ul {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 19px;
  list-style: none;
}

.cuoghi-account-benefits li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 13px;
  align-items: center;
}

.cuoghi-account-benefits li > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(135, 155, 115, .14);
  color: var(--account-green);
}

.cuoghi-account-benefits li svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cuoghi-account-benefits strong,
.cuoghi-account-benefits small {
  display: block;
}

.cuoghi-account-benefits strong {
  margin-bottom: 3px;
  font-size: 13.5px;
  font-weight: 700;
}

.cuoghi-account-benefits small {
  color: var(--account-muted);
  font-size: 12px;
  line-height: 1.45;
}

.cuoghi-account-native {
  min-width: 0;
  padding: 38px;
}

.cuoghi-account-native > .woocommerce > h2,
.cuoghi-account-native .u-column1 > h2,
.cuoghi-account-native .u-column2 > h2 {
  margin-bottom: 24px;
  font-size: 39px;
}

.cuoghi-account-native .woocommerce-form,
.cuoghi-account-native .woocommerce form.login,
.cuoghi-account-native .woocommerce form.register {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.cuoghi-account-native .form-row {
  margin: 0 0 17px !important;
  padding: 0 !important;
}

.cuoghi-account-native label {
  margin-bottom: 7px;
  display: block;
  color: var(--account-text);
  font-size: 12.5px;
  font-weight: 650;
}

.cuoghi-account-native .required {
  color: var(--account-rose);
}

.cuoghi-account-native input[type="text"],
.cuoghi-account-native input[type="email"],
.cuoghi-account-native input[type="password"],
.cuoghi-account-native input[type="tel"],
.cuoghi-account-native input[type="number"],
.cuoghi-account-native select,
.cuoghi-account-native textarea {
  width: 100% !important;
  min-height: 49px;
  padding: 11px 14px !important;
  border: 1px solid var(--account-border) !important;
  border-radius: 9px !important;
  outline: none;
  background: #fff !important;
  color: var(--account-text) !important;
  font: inherit !important;
  font-size: 14px !important;
  box-shadow: none !important;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.cuoghi-account-native textarea {
  min-height: 120px;
  resize: vertical;
}

.cuoghi-account-native input:focus,
.cuoghi-account-native select:focus,
.cuoghi-account-native textarea:focus {
  border-color: var(--account-sage) !important;
  box-shadow: 0 0 0 3px rgba(135, 155, 115, .12) !important;
}

.cuoghi-account-native .password-input {
  display: block;
}

.cuoghi-account-native .show-password-input {
  right: 13px !important;
  top: 50% !important;
  transform: translateY(-50%);
  color: var(--account-green) !important;
}

.cuoghi-account-native .woocommerce-form-login__rememberme {
  margin: 4px 0 18px;
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  color: var(--account-muted);
  font-weight: 500;
}

.cuoghi-account-native input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: var(--account-green);
}

.cuoghi-account-native button.button,
.cuoghi-account-native a.button,
.cuoghi-account-native input.button {
  min-height: 46px !important;
  padding: 11px 20px !important;
  border: 1px solid var(--account-green) !important;
  border-radius: 8px !important;
  background: var(--account-green) !important;
  color: #fff !important;
  font-family: Manrope, sans-serif !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: .03em;
  text-decoration: none !important;
  text-transform: uppercase;
  box-shadow: none !important;
  cursor: pointer;
  transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.cuoghi-account-native button.button:hover,
.cuoghi-account-native a.button:hover,
.cuoghi-account-native input.button:hover {
  border-color: #536248 !important;
  background: #536248 !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(95, 111, 82, .16) !important;
}

.cuoghi-account-native .woocommerce-form-login__submit {
  width: 100%;
  margin: 0 !important;
}

.cuoghi-account-native .lost_password {
  margin: 14px 0 0;
  text-align: center;
}

.cuoghi-account-native a {
  color: var(--account-green);
  text-decoration-color: rgba(95, 111, 82, .35);
  text-underline-offset: 3px;
}

.cuoghi-account-native .u-columns.col2-set {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
}

.cuoghi-account-native .u-column1,
.cuoghi-account-native .u-column2 {
  width: auto !important;
  float: none !important;
}

/* Area autenticata */
.cuoghi-account-shell.is-logged-in .cuoghi-account-native {
  padding: 0;
  overflow: hidden;
}

.cuoghi-account-shell.is-logged-in .cuoghi-account-native > .woocommerce {
  display: grid;
  grid-template-columns: 255px minmax(0, 1fr);
  grid-template-areas:
    "notices notices"
    "navigation content";
  grid-template-rows: auto minmax(470px, auto);
  align-items: stretch;
  min-height: 470px;
}

.cuoghi-account-shell.is-logged-in .cuoghi-account-native > .woocommerce > .woocommerce-notices-wrapper {
  grid-area: notices;
  min-width: 0;
}

.cuoghi-account-native .woocommerce-MyAccount-navigation {
  grid-area: navigation;
  width: auto !important;
  min-width: 0;
  float: none !important;
  padding: 25px 16px;
  border-right: 1px solid var(--account-border);
  background: var(--account-cream);
}

.cuoghi-account-native .woocommerce-MyAccount-navigation ul {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
  list-style: none;
}

.cuoghi-account-native .woocommerce-MyAccount-navigation li {
  margin: 0;
  opacity: 1;
  transform: none;
}

.cuoghi-account-shell.is-ready .woocommerce-MyAccount-navigation li {
  animation: cuoghi-account-nav-enter .32s ease both;
  animation-delay: calc(var(--account-index, 0) * 45ms);
}

@keyframes cuoghi-account-nav-enter {
  from { opacity: 0; transform: translateX(-6px); }
  to { opacity: 1; transform: none; }
}

.cuoghi-account-native .woocommerce-MyAccount-navigation a {
  min-height: 43px;
  padding: 10px 13px;
  display: flex;
  align-items: center;
  border-radius: 8px;
  color: var(--account-text);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.cuoghi-account-native .woocommerce-MyAccount-navigation a:hover {
  background: rgba(135, 155, 115, .10);
  color: var(--account-green);
  transform: translateX(2px);
}

.cuoghi-account-native .woocommerce-MyAccount-navigation .is-active a {
  background: var(--account-green);
  color: #fff;
}

.cuoghi-account-native .woocommerce-MyAccount-content {
  grid-area: content;
  width: auto !important;
  min-width: 0;
  float: none !important;
  padding: 36px;
  color: var(--account-muted);
  font-size: 14px;
  line-height: 1.65;
}

.cuoghi-account-native .woocommerce-MyAccount-content > p:first-child {
  margin-top: 0;
}

.cuoghi-account-native table.shop_table {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--account-border) !important;
  border-collapse: separate !important;
  border-spacing: 0;
  border-radius: 12px !important;
  color: var(--account-text);
  font-size: 13px;
}

.cuoghi-account-native table.shop_table th {
  padding: 13px !important;
  border: 0 !important;
  background: var(--account-soft-green);
  color: var(--account-green);
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.cuoghi-account-native table.shop_table td {
  padding: 13px !important;
  border-width: 1px 0 0 !important;
  border-color: #ece8e0 !important;
}

.cuoghi-account-native .woocommerce-Address {
  padding: 22px;
  border: 1px solid var(--account-border);
  border-radius: 12px;
  background: var(--account-cream);
}

.cuoghi-account-native .woocommerce-Address-title h2,
.cuoghi-account-native .woocommerce-Address-title h3 {
  font-size: 28px;
}

.cuoghi-account-native .woocommerce-message,
.cuoghi-account-native .woocommerce-info,
.cuoghi-account-native .woocommerce-error {
  margin: 0 0 20px !important;
  padding: 15px 18px 15px 46px !important;
  border: 1px solid var(--account-border) !important;
  border-top: 1px solid var(--account-border) !important;
  border-radius: 10px;
  background: var(--account-soft-green);
  color: var(--account-text);
  font-size: 13px;
}

.cuoghi-account-native .woocommerce-error {
  border-color: #e5c1bd !important;
  background: #fff5f4;
}

.cuoghi-account-assistance {
  margin-top: 24px;
  padding: 18px 22px;
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 13px;
  border: 1px solid var(--account-border);
  border-radius: 14px;
  background: #fff;
}

.cuoghi-account-assistance > svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--account-green);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cuoghi-account-assistance strong,
.cuoghi-account-assistance span {
  display: block;
}

.cuoghi-account-assistance strong {
  color: var(--account-text);
  font-size: 13px;
}

.cuoghi-account-assistance span {
  margin-top: 2px;
  color: var(--account-muted);
  font-size: 12px;
}

.cuoghi-account-assistance a {
  color: var(--account-green);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.cuoghi-account-assistance a span {
  display: inline;
  color: inherit;
  font-size: 15px;
  transition: transform .2s ease;
}

.cuoghi-account-assistance a:hover span {
  display: inline-block;
  transform: translateX(3px);
}

@media (max-width: 900px) {
  .cuoghi-account-layout {
    grid-template-columns: 1fr;
  }

  .cuoghi-account-shell.is-logged-in .cuoghi-account-native > .woocommerce {
    grid-template-columns: 1fr;
    grid-template-areas:
      "notices"
      "navigation"
      "content";
    grid-template-rows: auto auto auto;
  }

  .cuoghi-account-native .woocommerce-MyAccount-navigation {
    padding: 13px;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid var(--account-border);
  }

  .cuoghi-account-native .woocommerce-MyAccount-navigation ul {
    display: flex;
    width: max-content;
  }

  .cuoghi-account-native .woocommerce-MyAccount-navigation a {
    white-space: nowrap;
  }
}

@media (max-width: 680px) {
  .cuoghi-account-shell {
    width: min(100% - 24px, 1180px);
    margin-top: 24px;
    margin-bottom: 45px;
  }

  .cuoghi-account-hero {
    min-height: 0;
    padding: 31px 24px;
    align-items: flex-start;
    flex-direction: column;
    border-radius: 17px;
  }

  .cuoghi-account-hero__badge {
    padding: 10px 13px;
    grid-template-columns: 21px 1fr;
  }

  .cuoghi-account-hero__badge svg {
    width: 21px;
    height: 21px;
  }

  .cuoghi-account-botanical {
    opacity: .6;
  }

  .cuoghi-account-benefits,
  .cuoghi-account-native,
  .cuoghi-account-native .woocommerce-MyAccount-content {
    padding: 25px 20px;
  }

  .cuoghi-account-shell.is-logged-in .cuoghi-account-native {
    padding: 0;
  }

  .cuoghi-account-native .u-columns.col2-set {
    grid-template-columns: 1fr;
  }

  .cuoghi-account-assistance {
    grid-template-columns: 32px 1fr;
  }

  .cuoghi-account-assistance a {
    grid-column: 2;
  }

  .cuoghi-account-native table.shop_table_responsive thead {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cuoghi-account-shell,
  .cuoghi-account-shell *,
  .cuoghi-account-shell *::before,
  .cuoghi-account-shell *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }

  .cuoghi-account-shell {
    opacity: 1;
    transform: none;
  }

  .cuoghi-account-native .woocommerce-MyAccount-navigation li {
    opacity: 1;
    transform: none;
  }
}
