/* =============================================================
   WooCommerce My Account Pages — Full CSS
   Place at: yourtheme/assets/css/wc-account-pages.css
   ============================================================= */



/* ── Page background ────────────────────────────────────────── */
body.woocommerce-account {
  background: #0e0e0d;
  color: #e8e8e8;
  font-family: var(--text-gt);
}

/* ── Layout wrapper ─────────────────────────────────────────── */
/* .woocommerce-MyAccount {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 80px;
  max-width: 1100px;
  margin: 56px auto;
  padding: 0 32px;
  align-items: start;
} */
/* @media (max-width: 768px) {
  .woocommerce-MyAccount {
    grid-template-columns: 1fr;
    gap: 32px;
    margin: 32px auto;
    padding: 0 20px;
  }
} */

.woocommerce-account .woocommerce-MyAccount-navigation {
    width: 204px;
    width: calc(30% - 110px);
    margin-right: 110px;
}

/* ── Sidebar label ──────────────────────────────────────────── */
.wca-sidebar-label {
    margin: 0 0 28px;
    font-size: 14px;
    letter-spacing: 0.08em;
    line-height: 14px;
    text-transform: uppercase;
    font-family: var(--text-six);
    color: #dad3cd;
    text-align: left;
    display: inline-block;
    margin-bottom: 64px;
}

/* ── Navigation ─────────────────────────────────────────────── */
.woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.woocommerce-MyAccount-navigation li {
	border-bottom: 2px solid #222120;
}

.woocommerce-MyAccount-navigation li a {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 16px 0 16px 4px;
	text-decoration: none;
	font-size: 16px;
	letter-spacing: -0.02em;
	line-height: 24px;
	color: #dad3cd;
	text-align: left;
}
.woocommerce-MyAccount-navigation li a:hover {
  color: #e8e8e8;
}

/* Active state — red underline */
.woocommerce-MyAccount-navigation li.is-active {
  border-bottom-color: #d63030;
}
.woocommerce-MyAccount-navigation li.is-active a {
/*   color: #e8e8e8; */
}
.woocommerce-MyAccount-navigation li.is-active  svg path{
	fill: #fff
}

/* Logout */
/* .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a {
  color: #3a3a3a;
}
.woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a:hover {
  color: #888;
} */

/* Icon + label + badge + arrow layout */
.wca-nav-icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  color: inherit;
}
.wca-nav-label { flex: 1; }
.wca-nav-arrow {
  margin-left: auto;
  opacity: 0.25;
  flex-shrink: 0;
}
.woocommerce-MyAccount-navigation li.is-active .wca-nav-arrow, .woocommerce-MyAccount-navigation-link--downloads .wca-nav-arrow, .woocommerce-MyAccount-navigation-link--orders .wca-nav-arrow {
  display: none;
}

/* Count badge */
.wca-badge {
	background: transparent;
	font-size: 12px;
	letter-spacing: -0.01em;
	line-height: 18px;
	font-weight: 300;
	color: #8c857f;
	text-align: left;
}
/* .woocommerce-MyAccount-navigation li.is-active .wca-badge {
  color: #666;
}
 */
/* ── Main content ────────────────────────────────────────────── */
.woocommerce-MyAccount-content {
  min-width: 0;
}

/* ── Section title ───────────────────────────────────────────── */
.wca-section-title {
    font-size: 24px;
    letter-spacing: -0.02em;
    line-height: 32px;
    font-weight: 300;
    color: #dad3cd;
    text-align: left;
    display: inline-block;
    margin-bottom: 48px;
}

/* ── Empty state ─────────────────────────────────────────────── */
.wca-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 80px 24px;
  color: #333;
  text-align: center;
}
.wca-empty p { font-size: 0.85rem; margin: 0; color: #444; }
.wca-shop-btn {
  display: inline-block;
  margin-top: 8px;
  background: #161616;
  border: 1px solid #242424;
  border-radius: 8px;
  color: #666;
  font-size: 0.82rem;
  padding: 10px 22px;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
}
.wca-shop-btn:hover { border-color: #3a3a3a; color: #e8e8e8; }

/* ═══════════════════════════════════════════════════════════════
   PRODUCTS PAGE
   ═══════════════════════════════════════════════════════════════ */

.wca-products-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.wca-product-card {
    display: flex;
    gap: 20px;
    background: #161616;
    transition: border-color 0.2s;
    border-radius: 15px;
    background-color: #1a1918;
    border: 1px solid #222120;
    align-items: flex-start;
    padding: 8px;
    text-align: left;
    font-size: 16px;
    color: #dad3cd;
    align-items: center;
}
.wca-product-card:hover { border-color: #2a2a2a; }

.wca-product-thumb {
  width: 58px;
  height: 58px;
  border-radius: 8px;
  object-fit: cover;
  background: #1e1e1e;
  flex-shrink: 0;
}

.wca-product-info { flex: 1; min-width: 0; }

.wca-product-name {
    font-weight: 500;
    font-size: 16px;
    letter-spacing: -0.02em;
    line-height: 24px;
    font-family: 'GT Planar';
    color: #dad3cd;
    text-align: left;
    display: inline-block;
    margin-bottom: 0;
}

.wca-product-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  row-gap: 8px;
}

/* Action links (Download, Show license code, Upgrade) */
.wca-action-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	text-decoration: none;
	transition: color 0.15s;
	font-size: 16px;
	letter-spacing: -0.02em;
	line-height: 24px;
	font-weight: 300;
	color: #8c857f;
	text-align: center;
}
.wca-action-link:hover { color: #aaa; }
.wca-action-link svg { opacity: 0.7; flex-shrink: 0; }

/* Upgrade link */
/* .wca-action-upgrade { color: #555; }
.wca-action-upgrade:hover { color: #aaa; } */

/* "New" badge — red outlined pill */
.wca-new-badge {
  	display: inline-flex;
	align-items: center;
	background: transparent;
	border: 1.5px solid #f25a2f;
	border-radius: 999px;
	font-weight: 400;
	padding: 0px 8px;
	text-transform: uppercase;
	margin-left: 2px;
	font-size: 12px;
	letter-spacing: -0.01em;
	line-height: 18px;
	font-family: 'GT Planar';
	color: #dad3cd;
	text-align: center;
}

/* License reveal box */
.wca-license-box {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  background: #0e0e0e;
  border: 1px solid #242424;
  border-radius: 8px;
  padding: 10px 14px;
}
.wca-license-box code {
  flex: 1;
  font-family: 'Courier New', monospace;
  font-size: 0.73rem;
  color: #777;
  word-break: break-all;
}
.wca-copy-btn {
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 6px;
  color: #555;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  padding: 4px 12px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s;
}
.wca-copy-btn:hover { color: #e8e8e8; border-color: #444; }

/* ═══════════════════════════════════════════════════════════════
   ORDERS PAGE
   ═══════════════════════════════════════════════════════════════ */

/* Column header row */
.wca-orders-header {
    display: grid;
    grid-template-columns: 130px 1fr 110px 110px;
    text-transform: uppercase;
    margin-bottom: 6px;
    font-size: 14px;
    letter-spacing: -0.01em;
    line-height: 21px;
    font-weight: 300;
    color: #8c857f;
    text-align: left;
    padding: 0 32px 16px;
}
.wca-col-right { text-align: right; }

/* Order row card */
.wca-order-row {
	border-radius: 16px;
	background-color: #1a1918;
	border: 1px solid #222120;
	box-sizing: border-box;
	text-align: left;
	font-size: 15px;
	color: #8c857f;
	overflow: hidden;
	transition: border-color 0.2s;
	margin-bottom: 16px;
}
.wca-order-row-wpr {
/*     border-radius: 16px;
    background-color: #1a1918;
    border: 1px solid #222120;
    box-sizing: border-box;
    text-align: left;
    font-size: 15px;
    color: #8c857f; */
}
.wca-order-row.open {
  border-color: #242424;
}

/* Collapsed summary bar */
.wca-order-summary {
  display: grid;
  grid-template-columns: 130px 1fr 110px 110px;
  align-items: center;
  padding: 18px 22px;
  cursor: pointer;
  user-select: none;
  transition: background 0.15s;
}
.wca-order-summary:hover { background: #141414; }

.wca-order-num {
    font-size: 15px;
    letter-spacing: -0.02em;
    line-height: 24px;
    font-weight: 300;
    color: #fff;
    text-align: left;
}
.wca-order-num span{
	color: #8c857f;
}
.wca-order-date {
  	font-size: 15px;
	letter-spacing: -0.02em;
	line-height: 24px;
	font-weight: 300;
	color: #8c857f;
}
.wca-order-total {
  	font-size: 15px;
	letter-spacing: -0.02em;
	line-height: 24px;
	font-family: 'GT Planar';
	color: #dad3cd;
}
.wca-order-action {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 6px;
	font-size: 15px;
	letter-spacing: -0.02em;
	line-height: 24px;
	font-weight: 300;
	font-family: 'GT Planar';
	color: #8c857f;
	text-align: center;
}
.wca-chevron {
  transition: transform 0.22s ease;
  flex-shrink: 0;
}

/* Expanded detail panel */
.wca-order-detail {
  border-top: 1px solid #1a1a1a;
  padding: 4px 22px 6px;
}

/* Item row inside order */
.wca-order-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #141414;
}
.wca-order-item:last-of-type { border-bottom: none; }

.wca-item-thumb {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  background: #1e1e1e;
  flex-shrink: 0;
}

.wca-item-info { flex: 1; min-width: 0; }

.wca-item-name {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  color: #d8d8d8;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.wca-item-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  row-gap: 6px;
}

/* Item price column */
.wca-item-price
 {
    flex-shrink: 0;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    gap: 3px;
    min-width: 60px;
    font-size: 17px;
    letter-spacing: -0.02em;
    line-height: 28px;
    font-weight: 300;
    font-family: 'GT Planar';
    color: #8c857f;
    text-align: left;
    text-decoration: none;
}
.wca-item-price del:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #8C857F;
    transform: rotate(-15deg);
    transform-origin: center;
}

.wca-item-price del {
    position: relative;
    text-decoration: none;
}
.wca-item-price ins{
	text-decoration: none;
	color: #fff;
}
/* .wca-price-was {
  font-size: 0.72rem;
  font-weight: 400;
  color: #3a3a3a;
  text-decoration: line-through;
}
.wca-price-now {
  font-size: 0.92rem;
  font-weight: 600;
  color: #e8e8e8;
} */

/* Totals block */
.wca-order-totals {
  padding: 30px 0 6px;
}
.wca-total-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 5px 0;
	font-size: 14px;
	letter-spacing: -0.01em;
	line-height: 21px;
	font-weight: 300;
	color: #8c857f;
	text-align: left;
}

/* Coupon badge */
.wca-coupon-badge {
  background: #1e1608;
  color: #b07820;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 8px;
  margin-left: 8px;
  letter-spacing: 0.06em;
}

/* Payment method badge */
.wca-payment-badge {
  background: #161616;
  border: 1px solid #242424;
  border-radius: 5px;
  font-size: 0.68rem;
  padding: 3px 9px;
  color: #777;
}

/* Total final row */
.wca-total-final {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #1e1e1e;
    font-size: 19px;
    letter-spacing: -0.02em;
    line-height: 32px;
    font-weight: 300;
    color: #dad3cd;
    text-align: left;
	margin-top: 48px;
}

/* Download receipt */
.wca-receipt-row {
  padding: 44px 0 20px;
  text-align: center;
  border-top: 1px solid #141414;
  margin-top: 4px;
}
.wca-receipt-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
	transition: color 0.15s;
	font-size: 14px;
	letter-spacing: -0.01em;
	line-height: 21px;
	font-weight: 300;
	color: #8c857f;
	text-align: left;
}
.wca-receipt-link:hover { color: #666; }

/* Pagination */
.wca-pagination {
  display: flex;
  gap: 6px;
  margin-top: 24px;
  justify-content: center;
}
.wca-page-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #111;
  border: 1px solid #1e1e1e;
  color: #555;
  font-size: 0.82rem;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
  font-family: 'DM Sans', sans-serif;
}
.wca-page-btn:hover,
.wca-page-btn.active {
  border-color: #3a3a3a;
  color: #e8e8e8;
}

.woocommerce table.shop_table tbody th, .woocommerce table.shop_table tfoot td, .woocommerce table.shop_table tfoot th {
    font-weight: 400;
}


._mobile_toggle_acm {
	display: none;
	padding: 19px 0;
	border-bottom: 1px solid #1a1918;
	margin-bottom: 24px;
}
._mobile_toggle_acm svg {
	transition: transform 0.3s ease;
}

._mobile_toggle_acm.active svg {
    transform: rotate(180deg);
}
._mobile_toggle_acm.active{
	margin-bottom: 0;
}
/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1280px){
	
	.woocommerce-account .woocommerce-MyAccount-navigation {
		width: calc(30% - 100px);
		margin-right: 100px;
	}
}
@media (max-width: 1224px){
	.woocommerce-account .woocommerce-MyAccount-navigation {
		width: 30%;
		margin-right: 0;
	}
}
@media (max-width: 767px){
	.woocommerce-account .woocommerce-MyAccount-navigation {
		width: 100%;
		margin-right: 0;
	}
	._mobile_toggle_acm {
		display: flex;
		justify-content: space-between;
	}
	.woocommerce-MyAccount-navigation ul{
		display: none;
	}
	.wca-sidebar-label{
		display: none;
		margin-bottom: 0;
	}
	._mobile_toggle_acm .wca-sidebar-label{
		display: block;
		font-size: 12px;
        letter-spacing: 0.08em;
        line-height: 12px;
        text-transform: uppercase;
        color: #dad3cd;
        text-align: left;
	}
}
@media (max-width: 640px) {
  .wca-orders-header { display: none; }
  .wca-order-summary {
    grid-template-columns: 1fr auto;
    gap: 8px;
  }
  .wca-order-date { display: none; }
  .wca-order-total { display: none; }
  .wca-order-action { grid-column: 2; }
}
