/* DreamyAccount26 — museum-style account dashboard */
:root{
  /* Map to DreamyCore26 tokens */
  --da26-ink: var(--ink-primary, #050505);
  --da26-muted: var(--ink-secondary, #757575);
  --da26-border: rgba(0,0,0,0.12);
  --da26-panel: var(--bg-canvas, #fff);
  --da26-ui: var(--font-ui, 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif);
  --da26-edit: var(--font-edit, 'Playfair Display', Georgia, serif);
  --da26-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

body.dreamyaccount26 .woocommerce{
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 16px 90px;
}

/* WooCommerce default account layout uses floats + fixed widths (e.g. 30/70 split).
   DreamyAccount26 uses a grid wrapper, so we must neutralize those defaults,
   otherwise the rail panel can render clipped/narrow on desktop.
*/
body.dreamyaccount26 .woocommerce-MyAccount-navigation,
body.dreamyaccount26 .woocommerce-MyAccount-content{
  float: none !important;
  width: 100% !important;
  max-width: none !important;
}

/* Two-col layout on desktop */
body.dreamyaccount26 .woocommerce-MyAccount-wrap{
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
@media (min-width: 900px){
  body.dreamyaccount26 .woocommerce-MyAccount-wrap{
    grid-template-columns: 280px 1fr;
    align-items: stretch;
    /* Desktop rail should visually complete: stretch sidebar panel to match content height. */
  }
}

/* Navigation
   Desktop fix: keep the rail panel (border/background) stretched to the content height.
   We render the full-height panel on the rail itself, and keep the inner nav content sticky.
*/
body.dreamyaccount26 .woocommerce-MyAccount-navigation{
  position: relative;
  padding: 12px;
  border-radius: 18px;
}
body.dreamyaccount26 .woocommerce-MyAccount-navigation::before{
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--da26-border);
  border-radius: 18px;
  background: var(--da26-panel);
  box-shadow: var(--da26-shadow);
  pointer-events: none;
}

/* Inner card becomes the sticky content (keeps the border from collapsing to content-height). */
body.dreamyaccount26 .dreamyaccount26-navCard{
  position: relative;
  z-index: 1;
}
@media (min-width: 900px){
  body.dreamyaccount26 .woocommerce-MyAccount-navigation{
    align-self: stretch;
  }
  body.dreamyaccount26 .dreamyaccount26-navCard{
    position: sticky;
    top: 22px;
  }
}
body.dreamyaccount26 .dreamyaccount26-navTitle{
  font-family: var(--da26-edit);
  font-size: 1.15rem;
  font-weight: 500;
  margin: 6px 10px 12px;
  letter-spacing: 0.01em;
}
body.dreamyaccount26 .dreamyaccount26-navList{
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
body.dreamyaccount26 .dreamyaccount26-navLink{
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  color: var(--da26-ink);
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease;
  border: 1px solid transparent;
  position: relative;
}
body.dreamyaccount26 .dreamyaccount26-navLink::after{
  content: "→";
  margin-left: auto;
  opacity: 0.45;
}
body.dreamyaccount26 .dreamyaccount26-navIco{
  width: 22px;
  height: 22px;
  border-radius: 8px;
  background: rgba(0,0,0,0.03);
  border: 1px solid rgba(0,0,0,0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  line-height: 1;
  color: rgba(0,0,0,0.68);
  flex: 0 0 auto;
}
body.dreamyaccount26 .dreamyaccount26-navIco::before{ content: "⌂"; }
body.dreamyaccount26 .dreamyaccount26-navIco[data-endpoint="dashboard"]::before{ content: "⌂"; }
body.dreamyaccount26 .dreamyaccount26-navIco[data-endpoint="orders"]::before{ content: "▦"; }
body.dreamyaccount26 .dreamyaccount26-navIco[data-endpoint="subscriptions"]::before{ content: "⟳"; }
body.dreamyaccount26 .dreamyaccount26-navIco[data-endpoint="edit-account"]::before{ content: "✎"; }
body.dreamyaccount26 .dreamyaccount26-navIco[data-endpoint="edit-address"]::before{ content: "⌖"; }
body.dreamyaccount26 .dreamyaccount26-navIco[data-endpoint="downloads"]::before{ content: "⬇"; }
body.dreamyaccount26 .dreamyaccount26-navIco[data-endpoint="customer-logout"]::before{ content: "↩"; }
body.dreamyaccount26 .dreamyaccount26-navItem.is-active > .dreamyaccount26-navLink{
  border-color: rgba(0,0,0,0.20);
  background: rgba(0,0,0,0.03);
}
@media (hover:hover){
  body.dreamyaccount26 .dreamyaccount26-navLink:hover{
    background: rgba(0,0,0,0.02);
    border-color: rgba(0,0,0,0.14);
  }
}

/* Content */
body.dreamyaccount26 .woocommerce-MyAccount-content{
  border: 0;
  background: transparent;
  padding: 0;
  min-width: 0;
}

/* Dashboard header */
body.dreamyaccount26 .dreamyaccount26-head{
  padding: 4px 0 16px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  margin-bottom: 18px;
}
body.dreamyaccount26 .dreamyaccount26-eyebrow{
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--da26-muted);
}
body.dreamyaccount26 .dreamyaccount26-h2--hero{
  font-size: 2.0rem;
  line-height: 1.05;
}
body.dreamyaccount26 .dreamyaccount26-sub{
  color: var(--da26-muted);
  margin: 0;
  line-height: 1.6;
}
body.dreamyaccount26 .dreamyaccount26-empty{
  color: var(--da26-muted);
  line-height: 1.6;
  margin: 0;
}

.dreamyaccount26-tiles{
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 18px 0 8px;
}
@media (min-width: 720px){
  .dreamyaccount26-tiles{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}

.dreamyaccount26-tile{
  border: 1px solid var(--da26-border);
  border-radius: 16px;
  padding: 14px 14px;
  text-decoration: none;
  color: var(--da26-ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: transform .20s ease, border-color .20s ease, background .20s ease;
}
body.dreamyaccount26 .dreamyaccount26-tileLabel{
  font-family: var(--da26-edit);
  font-weight: 400;
  font-size: 1.15rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
body.dreamyaccount26 .dreamyaccount26-tileArrow{
  color: rgba(0,0,0,0.55);
  font-size: 1.05rem;
  line-height: 1;
  flex: 0 0 auto;
}
@media (hover:hover){
  .dreamyaccount26-tile:hover{
    transform: translateY(-1px);
    border-color: rgba(0,0,0,0.20);
    background: rgba(0,0,0,0.02);
  }
}

/* Dashboard section (Recent Orders) */
body.dreamyaccount26 .dreamyaccount26-section{
  margin-top: 18px;
  border: 1px solid var(--da26-border);
  border-radius: 18px;
  background: var(--da26-panel);
  box-shadow: var(--da26-shadow);
  padding: 18px 18px 20px;
}
body.dreamyaccount26 .dreamyaccount26-sectionHead{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  margin-bottom: 14px;
}
body.dreamyaccount26 .dreamyaccount26-sectionTitle{
  font-family: var(--da26-edit);
  font-weight: 400;
  font-size: 1.35rem;
  margin: 0;
  letter-spacing: -0.01em;
}

/* Tables (orders, etc.) */
body.dreamyaccount26 table.shop_table{
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  border: 1px solid var(--da26-border);
  border-radius: 16px;
  overflow: hidden;
}
body.dreamyaccount26 table.shop_table th,
body.dreamyaccount26 table.shop_table td{
  padding: 12px 12px;
  border-bottom: 1px solid var(--da26-border);
}
body.dreamyaccount26 table.shop_table th{
  font-size: .70rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--da26-muted);
}
body.dreamyaccount26 table.shop_table tr:last-child td{ border-bottom: 0; }


/* -----------------------------
 * Auth (login/register)
 * ---------------------------*/

body.dreamyaccount26 .dreamyaccount26-auth{
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 16px 90px;
}
body.dreamyaccount26 .dreamyaccount26-authGrid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 980px){
  body.dreamyaccount26 .dreamyaccount26-authGrid{
    grid-template-columns: 1.08fr 0.92fr;
    gap: 22px;
    align-items: stretch;
    /* Desktop rail should visually complete: stretch sidebar panel to match content height. */
  }
}
body.dreamyaccount26 .dreamyaccount26-panel{
  border: 1px solid var(--da26-border);
  border-radius: 18px;
  background: var(--da26-panel);
  padding: 18px 18px 22px;
}
body.dreamyaccount26 .dreamyaccount26-panelHead{
  padding: 2px 0 14px;
}
body.dreamyaccount26 .dreamyaccount26-panelHead--row{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 12px;
}
body.dreamyaccount26 .dreamyaccount26-h2{
  font-family: var(--da26-edit);
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 6px 0 8px;
  font-size: 1.6rem;
  line-height: 1.12;
}
body.dreamyaccount26 .dreamyaccount26-h3{
  font-family: var(--da26-edit);
  font-weight: 400;
  margin: 0 0 10px;
}
body.dreamyaccount26 .dreamyaccount26-muted{
  color: var(--da26-muted);
  margin: 0;
  line-height: 1.6;
}
body.dreamyaccount26 .dreamyaccount26-small{ font-size: .92rem; }
body.dreamyaccount26 .dreamyaccount26-help{
  display:block;
  margin-top: 6px;
  color: var(--da26-muted);
  font-size: .86rem;
  line-height: 1.45;
}

/* Forms */
body.dreamyaccount26 .dreamyaccount26-form label{
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--da26-muted);
}
body.dreamyaccount26 .dreamyaccount26-form input[type="text"],
body.dreamyaccount26 .dreamyaccount26-form input[type="email"],
body.dreamyaccount26 .dreamyaccount26-form input[type="password"],
body.dreamyaccount26 .dreamyaccount26-form input[type="tel"],
body.dreamyaccount26 .dreamyaccount26-form input[type="number"],
body.dreamyaccount26 .dreamyaccount26-form select,
body.dreamyaccount26 .dreamyaccount26-form textarea{
  width: 100%;
  border: 1px solid rgba(0,0,0,0.14);
  border-radius: 14px;
  padding: 12px 12px;
  outline: none;
  background: #fff;
  color: var(--da26-ink);
  transition: border-color .18s ease, box-shadow .18s ease;
}
body.dreamyaccount26 .dreamyaccount26-form input:focus,
body.dreamyaccount26 .dreamyaccount26-form select:focus,
body.dreamyaccount26 .dreamyaccount26-form textarea:focus{
  border-color: rgba(0,0,0,0.28);
  box-shadow: 0 0 0 4px rgba(0,0,0,0.05);
}
body.dreamyaccount26 .dreamyaccount26-formGrid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 820px){
  body.dreamyaccount26 .dreamyaccount26-formGrid{
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 14px;
  }
  body.dreamyaccount26 .dreamyaccount26-formGrid .form-row-wide{
    grid-column: 1 / -1;
  }
}

/* Buttons */
body.dreamyaccount26 .dreamyaccount26-btnPrimary,
body.dreamyaccount26 .woocommerce-button,
body.dreamyaccount26 .woocommerce-Button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 999px;
  border: 1px solid #050505;
  background: #050505;
  color: #fff;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: transform .18s ease, opacity .18s ease;
}
body.dreamyaccount26 .dreamyaccount26-btnPrimary:hover{ transform: translateY(-1px); }
body.dreamyaccount26 .dreamyaccount26-btnOutline,
body.dreamyaccount26 a.button.dreamyaccount26-btnOutline{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.20);
  background: transparent;
  color: var(--da26-ink);
  font-size: .70rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-weight: 600;
  line-height: 1;
  text-decoration:none;
}
body.dreamyaccount26 .dreamyaccount26-btnOutline:hover{
  border-color: rgba(0,0,0,0.34);
  background: rgba(0,0,0,0.02);
}
body.dreamyaccount26 .dreamyaccount26-btnLink{
  font-size: .70rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--da26-ink);
  text-decoration:none;
  border-bottom: 1px solid rgba(0,0,0,0.35);
  padding-bottom: 2px;
}
body.dreamyaccount26 .dreamyaccount26-link{
  color: var(--da26-ink);
  text-decoration:none;
  border-bottom: 1px solid rgba(0,0,0,0.35);
  padding-bottom: 2px;
}

/* Panels / lists */
body.dreamyaccount26 .dreamyaccount26-divider{
  height:1px;
  background: rgba(0,0,0,0.08);
  margin: 18px 0;
}
body.dreamyaccount26 .dreamyaccount26-orderList{
  list-style:none;
  margin: 0;
  padding: 0;
  display:flex;
  flex-direction:column;
  gap: 12px;
}
body.dreamyaccount26 .dreamyaccount26-order{
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 18px;
  padding: 14px 14px;
  background: #fff;
}
body.dreamyaccount26 .dreamyaccount26-orderTop{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 12px;
}
body.dreamyaccount26 .dreamyaccount26-orderNo{
  font-weight: 600;
  letter-spacing: -0.01em;
}
body.dreamyaccount26 .dreamyaccount26-orderSub{
  color: var(--da26-muted);
  font-size: .92rem;
  margin-top: 6px;
}
body.dreamyaccount26 .dreamyaccount26-dot{ margin: 0 6px; }
body.dreamyaccount26 .dreamyaccount26-orderTotal{
  text-align:right;
}
body.dreamyaccount26 .dreamyaccount26-orderMoney{
  display:block;
  margin-top: 6px;
  font-weight: 600;
}
body.dreamyaccount26 .dreamyaccount26-orderActions{
  margin-top: 12px;
  display:flex;
  flex-wrap:wrap;
  gap: 8px;
}

/* Addresses */
body.dreamyaccount26 .dreamyaccount26-addressGrid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 920px){
  body.dreamyaccount26 .dreamyaccount26-addressGrid{
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 14px;
  }
}
body.dreamyaccount26 .dreamyaccount26-addressCard{
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 18px;
  padding: 14px 14px;
  background: #fff;
}
body.dreamyaccount26 .dreamyaccount26-addressHead{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap: 10px;
  margin-bottom: 10px;
}
body.dreamyaccount26 .dreamyaccount26-addressBody{
  color: var(--da26-muted);
  line-height: 1.6;
  font-style: normal;
}
body.dreamyaccount26 .dreamyaccount26-notes{
  list-style:none;
  margin: 0;
  padding: 0;
  display:flex;
  flex-direction:column;
  gap: 12px;
}
body.dreamyaccount26 .dreamyaccount26-note{
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 16px;
  padding: 12px 12px;
}
body.dreamyaccount26 .dreamyaccount26-noteMeta{
  font-size: .70rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--da26-muted);
  margin-bottom: 6px;
}

/* Desktop: make inner nav card fill the stretched rail (prevents border cutoff) */
@media (min-width: 900px){
  body.dreamyaccount26 .dreamyaccount26-navCard{
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 100%;
  }
}
