/* ===== Base palette (tweak as needed) ===== */
/* :root {
  --bio-bg: #0f3c35;
  --bio-accent: #1abc9c;
  --bio-accent-2: #16a085;
  --bio-text: #0f172a;
  --bio-muted: #6b7280;
  --bio-line: #e5e7eb;
  --bio-card: #ffffff;
  --bio-surface: #f8fafc;
  --bio-success: #16a34a;
  --bio-hold: #f59e0b;
  --bio-cancel: #ef4444;
} */

/* .woocommerce-account .woocommerce {
  display: flex;
  align-items: flex-start;
  gap: 10px;             
} */

/* Page container */
.woocommerce-account .woocommerce-MyAccount-content {
  max-width: 1080px;
  margin: 2rem auto;
  background: transparent;
}

/* Left My Account nav (make it neat) */
.woocommerce-account .woocommerce-MyAccount-navigation {
  max-width: 220px;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  background: var(--bio-card);
  border: 1px solid var(--bio-line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(2,8,23,.06);
}
.woocommerce-account .woocommerce-MyAccount-navigation li a {
  display: block;
  padding: .85rem 1rem;
  color: var(--bio-text);
  text-decoration: none;
}
.woocommerce-account .woocommerce-MyAccount-navigation li + li a {
  border-top: 1px solid var(--bio-line);
}
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover {
  background: var(--bio-surface);
  color: var(--bio-accent-2);
}

/* ===== Orders table → carded & modern ===== */
/* .woocommerce-account table.woocommerce-orders-table {
  width: 100%;
  border-collapse: separate !important;
  border-spacing: 0;
  background: var(--bio-card);
  border: 1px solid var(--bio-line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(2,8,23,.08);
} */

.woocommerce-account table.woocommerce-orders-table thead th {
  background: var(--bio-surface);
  color: var(--bio-muted);
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: uppercase;
  padding: 14px 16px;
  border-bottom: 1px solid var(--bio-line);
}

.woocommerce-account table.woocommerce-orders-table tbody td {
  padding: 14px 16px;
  /* vertical-align: middle;
  border-bottom: 1px solid var(--bio-line);
  color: var(--bio-text); */
}

.woocommerce-account table.woocommerce-orders-table tbody tr:hover {
  background: #fbfdff;
}

/* Order number link */
.woocommerce-account .woocommerce-orders-table__cell-order-number a {
  color: var(--bio-accent-2);
  font-weight: 700;
  text-decoration: none;
}
.woocommerce-account .woocommerce-orders-table__cell-order-number a:hover {
  text-decoration: underline;
}

/* Status badge (styles by text match) */
.woocommerce-account .woocommerce-orders-table__cell-order-status {
  font-weight: 600;
}

/* .woocommerce-account .woocommerce-orders-table__cell-order-status {
  display: flex; 
  align-items: center;
} */

.woocommerce-account .woocommerce-orders-table__cell-order-status::before{
  content: '';
  width: 8px; height: 8px; border-radius: 999px;
  margin-right: 8px;
  background: var(--bio-muted);
}
/* Common statuses (match text, case-insensitive) */
/*.woocommerce-account .woocommerce-orders-table__cell-order-status:has(> *:where(span,div,a,em):matches(:where(*))) {}
/* simple text contains selectors */
/* .woocommerce-account .woocommerce-orders-table__cell-order-status:has(*:where(span,em):contains("Completed")),
.woocommerce-account .woocommerce-orders-table__cell-order-status:has(*:where(span,em):contains("completed")) {
  color: var(--bio-success);
}
.woocommerce-account .woocommerce-orders-table__cell-order-status:has(*:where(span,em):contains("Completed"))::before,
.woocommerce-account .woocommerce-orders-table__cell-order-status:has(*:where(span,em):contains("completed"))::before{
  background: var(--bio-success);
}
.woocommerce-account .woocommerce-orders-table__cell-order-status:has(*:where(span,em):contains("On hold")),
.woocommerce-account .woocommerce-orders-table__cell-order-status:has(*:where(span,em):contains("on hold")) {
  color: var(--bio-hold);
}
.woocommerce-account .woocommerce-orders-table__cell-order-status:has(*:where(span,em):contains("On hold"))::before,
.woocommerce-account .woocommerce-orders-table__cell-order-status:has(*:where(span,em):contains("on hold"))::before {
  background: var(--bio-hold);
}
.woocommerce-account .woocommerce-orders-table__cell-order-status:has(*:where(span,em):contains("Cancelled")),
.woocommerce-account .woocommerce-orders-table__cell-order-status:has(*:where(span,em):contains("canceled")),
.woocommerce-account .woocommerce-orders-table__cell-order-status:has(*:where(span,em):contains("cancelled")) {
  color: var(--bio-cancel);
}
.woocommerce-account .woocommerce-orders-table__cell-order-status:has(*:where(span,em):contains("Cancelled"))::before,
.woocommerce-account .woocommerce-orders-table__cell-order-status:has(*:where(span,em):contains("cancelled"))::before,
.woocommerce-account .woocommerce-orders-table__cell-order-status:has(*:where(span,em):contains("canceled"))::before {
  background: var(--bio-cancel);
} */

/* Actions column: modern pill buttons */
.woocommerce-account .woocommerce-orders-table__cell-order-actions .button,
.woocommerce-account .woocommerce-orders-table__cell-order-actions a.button {
  border-radius: 999px;
  border: 1px solid var(--bio-line);
  background: #fff;
  color: var(--bio-text);
  padding: .5rem .9rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(2,8,23,.06);
  transition: transform .08s ease, box-shadow .2s ease, background .2s;
  margin-right: .35rem;
}
.woocommerce-account .woocommerce-orders-table__cell-order-actions .button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(2,8,23,.10);
}

/* Primary action emphasis for "View" */
.woocommerce-account .woocommerce-orders-table__cell-order-actions .view,
.woocommerce-account .woocommerce-orders-table__cell-order-actions a.button.view {
  color: #fff;
  background: linear-gradient(180deg, var(--bio-accent), var(--bio-accent-2));
  border: none;
}
.woocommerce-account .woocommerce-orders-table__cell-order-actions .view:hover {
  filter: brightness(1.02);
}

/* Pagination button */
.woocommerce-account .woocommerce-button, 
.woocommerce-account .woocommerce-pagination .button,
.woocommerce-account .woocommerce .button {
  border-radius: 999px;
}

/* ===== Mobile: stack rows into cards ===== */
@media (max-width: 780px) {
  .woocommerce-account table.woocommerce-orders-table thead {
    display: none;
  }
  .woocommerce-account table.woocommerce-orders-table,
  .woocommerce-account table.woocommerce-orders-table tbody,
  .woocommerce-account table.woocommerce-orders-table tr,
  .woocommerce-account table.woocommerce-orders-table td {
    display: block;
    width: 100%;
  }
  .woocommerce-account table.woocommerce-orders-table tbody tr {
    background: var(--bio-card);
    border: 1px solid var(--bio-line);
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(2,8,23,.08);
    margin-bottom: 14px;
    overflow: hidden;
  }
  .woocommerce-account table.woocommerce-orders-table tbody td {
    border: none;
    padding: 12px 14px;
  }
  .woocommerce-account .woocommerce-orders-table__cell-order-actions {
    border-top: 1px dashed var(--bio-line);
    padding-top: 10px;
    display: flex; flex-wrap: wrap; gap: .4rem;
  }
}

/* Hide the "Pickup date" line that appears after the customer details */
.woocommerce .woocommerce-customer-details + p { 
  display: none ; 
}


/* === My Account: Greeting + Dashboard note as one card === */

/* Wrap both paragraphs in matching card chrome */
.woocommerce-account .woocommerce-MyAccount-content > p:first-of-type,
.woocommerce-account .woocommerce-MyAccount-content > p:nth-of-type(2){
  background: #f7faf9;
  border: 1px solid #e4efe9;
  color: #2a2d34;
  line-height: 1.55;
  box-shadow: 0 6px 16px rgba(0,0,0,.05);
  position: relative;
  margin-left: 0; margin-right: 0;
}

/* Top piece (Hello admin …) */
.woocommerce-account .woocommerce-MyAccount-content > p:first-of-type{
  border-radius: 16px 16px 0 0;
  padding: 12px 16px 10px 46px;            
  margin-top: 6px;
  margin-bottom: 0;                         
}

/* Bottom piece (From your account dashboard …) */
.woocommerce-account .woocommerce-MyAccount-content > p:nth-of-type(2){
  border-top: none;                         
  border-radius: 0 0 16px 16px;
  padding: 12px 16px 14px 46px;            
  margin-top: 0;
  margin-bottom: 24px;
}

/* Leading circular brand icon (applies to BOTH lines) */
.woocommerce-account .woocommerce-MyAccount-content > p:first-of-type::before,
.woocommerce-account .woocommerce-MyAccount-content > p:nth-of-type(2)::before{
  content: "";
  position: absolute; left: 14px; top: 12px;
  width: 20px; height: 20px; border-radius: 50%;
  background: #12a26b;                      
  box-shadow: inset 0 0 0 2px #fff;
}
@media (min-width:720px){
  .woocommerce-account .woocommerce-MyAccount-content > p:nth-of-type(2)::before{
    top: 12px;                               
  }
}

/* Greeting emphasis + “Log out” link treatment */
.woocommerce-account .woocommerce-MyAccount-content > p:first-of-type b,
.woocommerce-account .woocommerce-MyAccount-content > p:first-of-type strong{
  font-weight: 800;
  color: #1f2a2e;
}
.woocommerce-account .woocommerce-MyAccount-content > p:first-of-type a{
  color: #0e745b;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px dashed rgba(14,116,91,.35);
}
.woocommerce-account .woocommerce-MyAccount-content > p:first-of-type a:hover{
  border-bottom-color: rgba(14,116,91,.65);
}

/* Pill links inside the second paragraph */
.woocommerce-account .woocommerce-MyAccount-content > p:nth-of-type(2) a{
  display: inline-block;
  background: #ffffff;
  border: 1px solid #dbe7e1;
  border-radius: 999px;
  padding: 6px 12px;
  margin: 0 2px;
  color: #0e745b;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s, border-color .2s, box-shadow .2s;
}
.woocommerce-account .woocommerce-MyAccount-content > p:nth-of-type(2) a:hover{
  background: #f1faf6;
  border-color: #bfe9d6;
  box-shadow: 0 4px 12px rgba(14,116,91,.12);
}

/* Mobile tweaks */
@media (max-width:700px){
  .woocommerce-account .woocommerce-MyAccount-content > p:first-of-type,
  .woocommerce-account .woocommerce-MyAccount-content > p:nth-of-type(2){
    padding-left: 44px;
  }
}
/* Muted look for disabled pills in the note */
.wc-note-link--disabled{
  pointer-events: none;      
  cursor: default;
  opacity: .55;
  background: #fff;         
  border-color: #e4efe9;
  box-shadow: none;
}
.wc-note-link--disabled:hover{
  background: #fff;
  box-shadow: none;
}

