/* Lumière – Custom Account + Wishlist
   Notes:
   - Uses neutral, premium defaults. Adjust variables to match your exact palette.
   - Designed to look great inside Elementor’s full-width page container.
*/

:root{
  /* Brand-aligned defaults (Lumière) */
  --lm-bg: #FFFFFF;
  --lm-surface: #FFFFFF;
  --lm-surface-2: #F4F5F6;          /* soft panel / footer strip */
  --lm-border: rgba(0,0,0,.10);
  --lm-muted: rgba(0,0,0,.62);
  --lm-text: rgba(0,0,0,.92);

  /* Lumière accents */
  --lm-primary: #161C28;            /* deep navy/charcoal CTA (matches site buttons) */
  --lm-primary-2: #0F1220;
  --lm-gold: #B08C4F;               /* champagne gold accent */

  --lm-radius: 22px;
  --lm-shadow: 0 14px 40px rgba(0,0,0,.08);

  /* Use the site’s global font (Synthese) if loaded */
  --lm-font: "Synthese", "Synthese-Book", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Keep Woo default forms usable */
.woocommerce .lm-account input,
.woocommerce .lm-account select,
.woocommerce .lm-account textarea{
  font-family: var(--lm-font);
}

/* === Account shell === */
.lm-account{
  font-family: var(--lm-font);
  color: var(--lm-text);
  background: linear-gradient(180deg, #FFFFFF 0%, #FAFAFA 55%, #FFFFFF 100%);
  border: 1px solid var(--lm-border);
  border-radius: calc(var(--lm-radius) + 6px);
  padding: 26px;
  box-shadow: var(--lm-shadow);
}

.lm-account__header{
  display:flex;
  gap: 18px;
  align-items:flex-start;
  justify-content:space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--lm-border);
}

.lm-account__eyebrow{
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--lm-muted);
}

.lm-account__title{
  margin: 8px 0 6px;
  font-weight: 500;
  font-size: 28px;
  line-height: 1.15;
}

.lm-account__sub{
  color: var(--lm-muted);
  max-width: 52ch;
}

.lm-account__header-right{
  display:flex;
  gap: 10px;
  align-items:center;
}

.lm-account__chip{
  display:inline-flex;
  gap: 10px;
  align-items:center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--lm-border);
  background: rgba(255,255,255,.75);
  backdrop-filter: blur(8px);
  text-decoration:none;
  color: var(--lm-text);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.lm-account__chip:hover{
  transform: translateY(-1px);
  border-color: rgba(176,140,79,.45);
  background: rgba(255,255,255,.95);
}

.lm-account__chip-count{
  display:inline-flex;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  align-items:center;
  justify-content:center;
  border: 1px solid rgba(176,140,79,.45);
  color: var(--lm-gold);
  font-size: 12px;
}

/* === Layout === */
.lm-account__layout{
  display:grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 18px;
  padding-top: 18px;
}

.lm-account__nav{
  position: sticky;
  top: 18px;
  align-self: start;
}

.lm-account__nav-inner{
  background: rgba(255,255,255,.85);
  border: 1px solid var(--lm-border);
  border-radius: var(--lm-radius);
  overflow:hidden;
}

.lm-account__nav-list{
  list-style:none;
  margin: 0;
  padding: 10px;
}

.lm-account__nav-item{ margin: 2px 0; }

.lm-account__nav-link{
  display:flex;
  gap: 10px;
  align-items:center;
  padding: 12px 12px;
  border-radius: 14px;
  text-decoration:none;
  color: var(--lm-text);
  transition: background .16s ease, transform .16s ease, border-color .16s ease;
  border: 1px solid transparent;
}

.lm-account__nav-link:hover{
  background: rgba(176,140,79,.08);
  border-color: rgba(176,140,79,.22);
}

.lm-account__nav-item.is-active .lm-account__nav-link{
  background: rgba(176,140,79,.12);
  border-color: rgba(176,140,79,.28);
}

.lm-account__nav-icon{ color: var(--lm-gold); display:flex; }

.lm-account__nav-label{
  font-size: 14px;
  letter-spacing: .01em;
}

.lm-account__nav-footer{
  padding: 14px 16px 16px;
  border-top: 1px solid var(--lm-border);
  background: linear-gradient(180deg, rgba(250,247,240,.75), rgba(255,255,255,.65));
}

.lm-account__nav-footer-title{
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--lm-muted);
  margin-bottom: 6px;
}

.lm-account__nav-footer-text{
  color: var(--lm-muted);
  font-size: 13px;
  line-height: 1.45;
  margin-bottom: 12px;
}

.lm-account__nav-footer-cta{
  display:inline-flex;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(176,140,79,.35);
  color: var(--lm-text);
  text-decoration:none;
  background: rgba(255,255,255,.75);
}

.lm-account__nav-footer-cta:hover{
  background: #fff;
}

/* === Content panel === */
.lm-account__panel{
  background: var(--lm-surface);
  border: 1px solid var(--lm-border);
  border-radius: var(--lm-radius);
  overflow:hidden;
}

.lm-account__panel-head{
  padding: 16px 18px;
  border-bottom: 1px solid var(--lm-border);
  background: linear-gradient(180deg, rgba(250,247,240,.65), rgba(255,255,255,.85));
}

.lm-account__panel-title{
  margin: 0;
  font-weight: 500;
  font-size: 18px;
}

.lm-account__panel-body{
  padding: 18px;
}

/* Woo tables/forms: soften */
.woocommerce .lm-account table.shop_table,
.woocommerce .lm-account .woocommerce-MyAccount-content,
.woocommerce .lm-account .woocommerce-EditAccountForm,
.woocommerce .lm-account .woocommerce-Addresses{
  font-size: 14px;
}

.woocommerce .lm-account table.shop_table{
  border-radius: 14px;
  overflow:hidden;
  border: 1px solid var(--lm-border);
}

.woocommerce .lm-account table.shop_table th,
.woocommerce .lm-account table.shop_table td{
  padding: 12px 14px;
}

/* Buttons */
.lm-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 8px;
  border-radius: 999px;
  padding: 10px 14px;
  border: 1px solid rgba(176,140,79,.38);
  background: #fff;
  color: var(--lm-text);
  text-decoration:none;
  cursor:pointer;
  transition: transform .16s ease, background .16s ease, border-color .16s ease;
  font-size: 14px;
}

.lm-btn:hover{ transform: translateY(-1px); border-color: rgba(176,140,79,.55); }
.lm-btn--solid{ background: rgba(176,140,79,.10); }
.lm-btn--ghost{ background: transparent; }

/* === Wishlist === */
.lm-wishlist__meta{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 12px;
  padding: 0 0 14px;
  border-bottom: 1px solid var(--lm-border);
  margin-bottom: 14px;
}

.lm-wishlist__count{ color: var(--lm-muted); font-size: 13px; }
.lm-wishlist__shop{ color: var(--lm-text); text-decoration:none; border-bottom: 1px solid rgba(176,140,79,.35); }
.lm-wishlist__shop:hover{ border-bottom-color: rgba(176,140,79,.7); }

.lm-wishlist__grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.lm-wishlist__card{
  border: 1px solid var(--lm-border);
  border-radius: 16px;
  overflow:hidden;
  background: #fff;
  display:grid;
  grid-template-columns: 120px minmax(0, 1fr);
  min-height: 140px;
}

.lm-wishlist__media{
  display:block;
  background: #fafafa;
  border-right: 1px solid var(--lm-border);
}

.lm-wishlist__media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display:block;
}

.lm-wishlist__body{
  padding: 12px 12px 14px;
  display:flex;
  flex-direction:column;
  gap: 8px;
}

.lm-wishlist__name{
  text-decoration:none;
  color: var(--lm-text);
  font-size: 14px;
  line-height: 1.25;
}

.lm-wishlist__price{
  color: var(--lm-muted);
  font-size: 13px;
}

.lm-wishlist__row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
}

.lm-wishlist__stock{
  font-size: 12px;
  color: var(--lm-muted);
  letter-spacing: .02em;
}

.lm-wishlist__stock.is-in{ color: rgba(0,0,0,.68); }
.lm-wishlist__stock.is-out{ color: rgba(176,140,79,.9); }

.lm-wishlist__remove{
  border: 1px solid var(--lm-border);
  background: #fff;
  border-radius: 999px;
  width: 34px;
  height: 34px;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  color: rgba(0,0,0,.7);
}

.lm-wishlist__remove:hover{
  border-color: rgba(176,140,79,.55);
  color: var(--lm-gold);
}

.lm-wishlist__cta{
  display:flex;
  gap: 8px;
  margin-top: auto;
  flex-wrap:wrap;
}

/* Empty state */
.lm-empty{
  padding: 28px;
  border: 1px dashed rgba(176,140,79,.35);
  border-radius: 16px;
  background: rgba(250,247,240,.7);
}

.lm-empty__title{ font-size: 16px; margin-bottom: 6px; }
.lm-empty__text{ color: var(--lm-muted); margin-bottom: 14px; }

/* Wishlist button on product pages */
.lm-wishlist-inline{
  display:flex;
  gap: 12px;
  align-items:center;
  margin-top: 10px;
}

.lm-wishlist-btn{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(176,140,79,.35);
  background: #fff;
  cursor:pointer;
  transition: transform .16s ease, border-color .16s ease;
}

.lm-wishlist-btn:hover{ transform: translateY(-1px); border-color: rgba(176,140,79,.55); }
.lm-wishlist-btn.is-active{
  background: rgba(176,140,79,.10);
  border-color: rgba(176,140,79,.55);
}
.lm-wishlist-btn__icon{ color: var(--lm-gold); display:flex; }
.lm-wishlist-inline__link{
  color: var(--lm-text);
  text-decoration:none;
  border-bottom: 1px solid rgba(176,140,79,.35);
}
.lm-wishlist-inline__count{
  display:inline-flex;
  margin-left: 8px;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  align-items:center;
  justify-content:center;
  border: 1px solid rgba(176,140,79,.45);
  color: var(--lm-gold);
  font-size: 12px;
}

/* Responsive */
@media (max-width: 980px){
  .lm-account__layout{ grid-template-columns: 1fr; }
  .lm-account__nav{ position: static; }
  .lm-wishlist__grid{ grid-template-columns: 1fr; }
  .lm-account__header{ flex-direction: column; }
  .lm-account__header-right{ width: 100%; justify-content: flex-start; flex-wrap: wrap; }
}


/* =========================================================
   Auth (Login / Sign Up) – matches Lumière site styling
   ========================================================= */

.lm-auth{
  font-family: var(--lm-font);
  color: var(--lm-text);
  max-width: 520px;
  margin: 0 auto;
  background: linear-gradient(180deg, #FFFFFF 0%, #FAFAFA 100%);
  border: 1px solid var(--lm-border);
  border-radius: calc(var(--lm-radius) + 6px);
  box-shadow: var(--lm-shadow);
  overflow: hidden;
}

.lm-auth__topbar{
  position: relative;
  padding: 22px 22px 10px;
  text-align: center;
  background: #FFFFFF;
}

.lm-auth__title{
  margin: 0;
  font-size: 26px;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 500;
}

.lm-auth__close{
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--lm-muted);
  border: 1px solid transparent;
  text-decoration: none;
}
.lm-auth__close:hover{ color: var(--lm-text); border-color: var(--lm-border); background: rgba(0,0,0,.02); }

.lm-tabs{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 10px 22px 0;
  background: #FFFFFF;
}

.lm-tab{
  appearance: none;
  border: 1px solid var(--lm-border);
  background: #FFFFFF;
  color: var(--lm-muted);
  border-radius: 999px;
  padding: 12px 14px;
  font-family: var(--lm-font);
  font-size: 14px;
  letter-spacing: .02em;
  cursor: pointer;
  transition: all .15s ease;
}
.lm-tab:hover{ color: var(--lm-text); border-color: rgba(0,0,0,.18); }
.lm-tab.is-active{
  background: var(--lm-primary);
  border-color: var(--lm-primary);
  color: #FFFFFF;
}

.lm-auth__body{
  padding: 18px 22px 22px;
}

.lm-section{ display: none; }
.lm-section.is-active{ display: block; }

.lm-field{ margin: 14px 0; }

.lm-label{
  display: block;
  font-size: 14px;
  color: var(--lm-text);
  margin: 0 0 8px;
}

.lm-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
}

.lm-input{
  width: 100%;
  border: 1px solid rgba(0,0,0,.18);
  border-radius: 12px;
  padding: 14px 14px;
  font-family: var(--lm-font);
  font-size: 16px;
  background: #FFFFFF;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.lm-input:focus{
  outline: none;
  border-color: rgba(22,28,40,.55);
  box-shadow: 0 0 0 3px rgba(22,28,40,.10);
}

.lm-link{
  color: var(--lm-text);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 14px;
}
.lm-link:hover{ color: var(--lm-primary); }

.lm-check{
  display:flex;
  align-items:center;
  gap: 10px;
  margin: 14px 0 18px;
  color: var(--lm-muted);
  font-size: 14px;
}
.lm-check input{ width: 18px; height: 18px; }

.lm-btn{
  width: 100%;
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  border-radius: 12px;
  padding: 14px 16px;
  font-family: var(--lm-font);
  font-size: 15px;
  letter-spacing: .02em;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform .12s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.lm-btn:active{ transform: translateY(1px); }

.lm-btn--primary{
  background: var(--lm-primary);
  color: #FFFFFF;
  box-shadow: 0 12px 26px rgba(22,28,40,.18);
}
.lm-btn--primary:hover{
  background: var(--lm-primary-2);
}

.lm-divider{
  display:flex;
  align-items:center;
  gap: 12px;
  margin: 22px 0 14px;
  color: rgba(0,0,0,.45);
  font-size: 13px;
  letter-spacing: .02em;
  justify-content:center;
}
.lm-divider:before, .lm-divider:after{
  content:"";
  height: 1px;
  background: rgba(0,0,0,.12);
  flex: 1;
}

.lm-social{ display: grid; gap: 10px; }

.lm-btn--apple{
  background: #111111;
  color: #FFFFFF;
}
.lm-btn--google{
  background: #FFFFFF;
  border-color: rgba(0,0,0,.18);
  color: var(--lm-text);
}
.lm-btn--google:hover{ border-color: rgba(0,0,0,.28); background: rgba(0,0,0,.01); }

.lm-note{
  margin: 0 0 10px;
  color: var(--lm-muted);
  font-size: 14px;
  line-height: 1.5;
}

/* Full-bleed footer strip (fixes the “not reaching edges” issue) */
.lm-auth__footer--full{
  margin: 18px -22px -22px;
  padding: 18px 22px;
  background: var(--lm-surface-2);
  border-top: 1px solid rgba(0,0,0,.10);
  border-radius: 0 0 calc(var(--lm-radius) + 6px) calc(var(--lm-radius) + 6px);
  text-align: center;
  color: rgba(0,0,0,.68);
}

/* Woo notices inside our auth box */
.lm-auth .woocommerce-error,
.lm-auth .woocommerce-message,
.lm-auth .woocommerce-info{
  margin: 0 0 16px;
  border-radius: 14px;
}

/* Mobile tweaks */
@media (max-width: 480px){
  .lm-auth{ border-radius: var(--lm-radius); }
  .lm-auth__topbar{ padding: 18px 16px 8px; }
  .lm-tabs{ padding: 10px 16px 0; }
  .lm-auth__body{ padding: 16px; }
  .lm-auth__footer--full{ margin: 18px -16px -16px; padding: 16px; border-radius: 0 0 var(--lm-radius) var(--lm-radius); }
}

