/* ==========================================================================
   My Account dashboard, login page, thank-you page
   ========================================================================== */
.h7-wc-page { max-width: calc(var(--wrap) + var(--gut) * 2); }
.h7-dash { display: grid; grid-template-columns: 280px 1fr; gap: clamp(20px, 3vw, 36px); align-items: start; }
.h7-dash__side { position: sticky; top: calc(var(--header-h) + 20px); padding: 18px; border-radius: var(--r-lg); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(14, 31, 69, .6), rgba(6, 17, 41, .6)); }
.h7-dash__user { display: flex; gap: 12px; align-items: center; padding: 6px 6px 18px; margin-bottom: 10px; border-bottom: 1px solid var(--line); }
.h7-dash__user strong { display: block; font-size: 15px; }
.h7-dash__user > div > span { display: block; color: var(--muted); font-size: 12.5px; word-break: break-all; }
.h7-dash__avatar { width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--grad); color: #fff; font-weight: 700; font-size: 19px; line-height: 1; font-stretch: 110%; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25); }
.h7-dash__nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.h7-dash__nav a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: var(--r-sm); color: var(--muted); font-weight: 520; font-size: 15px; transition: all .2s; }
.h7-dash__nav a:hover { color: #fff; background: rgba(255, 255, 255, .03); }
.h7-dash__nav .is-active a { color: #fff; background: rgba(7, 102, 199, .22); box-shadow: inset 2px 0 0 var(--flare); }
.h7-dash__nav .is-active .h7-i { color: var(--flare); }
.h7-dash__nav .woocommerce-MyAccount-navigation-link--customer-logout a:hover { color: var(--bad); }
.h7-dash__main { min-width: 0; }
.h7-acc-head { margin-bottom: 22px; }
.h7-acc-head h2 { font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 6px; }
.h7-acc-head p { color: var(--muted); }
@media (max-width: 900px) {
	.h7-dash { grid-template-columns: 1fr; }
	.h7-dash__side { position: static; padding: 12px; }
	.h7-dash__user { display: none; }
	.h7-dash__nav ul { display: flex; overflow-x: auto; scrollbar-width: none; }
	.h7-dash__nav a { white-space: nowrap; }
}

.h7-orders { display: grid; }
.h7-orders a { display: grid; grid-template-columns: 90px 1fr 1fr auto 110px; gap: 14px; align-items: center; padding: 14px 4px; border-top: 1px solid var(--line); transition: background-color .2s; font-size: 14.5px; }
.h7-orders li:first-child a { border-top: 0; }
.h7-orders a:hover { background: rgba(255, 255, 255, .02); }
.h7-orders__num { font-weight: 640; }
.h7-orders__date, .h7-orders__items { color: var(--muted); }
.h7-orders__total { text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 700px) { .h7-orders a { grid-template-columns: 1fr auto; } .h7-orders__date, .h7-orders__items { display: none; } .h7-orders__total { grid-column: 2; } }

.h7-shortcuts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 18px; }
.h7-shortcuts a { display: flex; gap: 12px; padding: 16px; border-radius: var(--r); border: 1px solid var(--line); font-size: 13px; color: var(--muted); transition: border-color .2s; }
.h7-shortcuts a:hover { border-color: rgba(61, 155, 255, .5); }
.h7-shortcuts .h7-i { color: var(--flare); }
.h7-shortcuts strong { display: block; color: var(--text); font-size: 14.5px; }
@media (max-width: 1000px) { .h7-shortcuts { grid-template-columns: 1fr 1fr; } }
.h7-pager { margin-top: 18px; }

/* Woo default account forms / tables inside the dashboard */
.h7-dash__main .woocommerce-Addresses { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.h7-dash__main .woocommerce-Address { padding: 22px; border-radius: var(--r-lg); border: 1px solid var(--line); }
.h7-dash__main .woocommerce-Address-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.h7-dash__main .woocommerce-Address-title h2, .h7-dash__main .woocommerce-Address-title h3 { font-size: 18px; }
.h7-dash__main .woocommerce-Address-title a { color: var(--flare); font-size: 14px; }
.h7-dash__main address { font-style: normal; color: var(--muted); line-height: 1.7; }
@media (max-width: 700px) { .h7-dash__main .woocommerce-Addresses { grid-template-columns: 1fr; } }
.h7-dash__main form .form-row, .woocommerce-form-row, .h7-wc-page .form-row { margin: 0 0 14px; display: grid; gap: 6px; }
.h7-wc-page .form-row label, .h7-dash__main label { font-size: 14px; color: var(--muted); }
.h7-wc-page .input-text, .h7-wc-page select, .h7-wc-page textarea, .h7-dash__main .input-text, .h7-dash__main select { width: 100%; height: 50px; padding: 0 14px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: rgba(4, 12, 34, .7); color: var(--text); outline: 0; }
.h7-wc-page textarea { height: auto; padding: 12px 14px; }
.h7-wc-page .input-text:focus, .h7-wc-page select:focus { border-color: var(--flare); box-shadow: 0 0 0 4px rgba(61, 155, 255, .15); }
.h7-dash__main fieldset { border: 1px solid var(--line); border-radius: var(--r); padding: 18px; margin: 20px 0; }
.h7-dash__main legend { padding: 0 8px; font-weight: 600; }
.h7-wc-page .button, .h7-dash__main .button, .h7-wc-page button[type="submit"]:not(.h7-btn) { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px; border-radius: var(--r-sm); background: var(--grad-btn); color: #fff; font-weight: 600; border: 1px solid rgba(61, 155, 255, .55); cursor: pointer; }
.h7-wc-page .select2-container--default .select2-selection--single { height: 50px; border-radius: var(--r-sm); border-color: var(--line-2); background: rgba(4, 12, 34, .7); }
.h7-wc-page .select2-container--default .select2-selection--single .select2-selection__rendered { color: var(--text); line-height: 48px; padding-left: 14px; }
.h7-wc-page .select2-container--default .select2-selection--single .select2-selection__arrow { height: 48px; }
.select2-dropdown { background: #0A1734 !important; border-color: var(--line-2) !important; color: var(--text); }
.select2-results__option--highlighted { background: var(--cobalt) !important; }
.select2-search__field { background: #061129; color: var(--text); border: 1px solid var(--line-2) !important; }

/* Order details (view order + thank you) */
.woocommerce-order-details, .woocommerce-customer-details { margin-top: 28px; }
.woocommerce-order-details__title, .woocommerce-column__title { font-size: 20px; margin-bottom: 14px; }
.woocommerce-table--order-details, .shop_table { width: 100%; border: 1px solid var(--line); border-radius: var(--r); border-collapse: separate; border-spacing: 0; overflow: hidden; font-size: 14.5px; }
.woocommerce-table--order-details th, .woocommerce-table--order-details td, .shop_table th, .shop_table td { padding: 14px 16px; border-top: 1px solid var(--line); text-align: left; }
.woocommerce-table--order-details thead th, .shop_table thead th { border-top: 0; background: rgba(255, 255, 255, .025); color: var(--muted); font-weight: 560; }
.woocommerce-table--order-details tfoot th { color: var(--muted); font-weight: 500; }
.woocommerce-table--order-details a { color: var(--flare); }
.woocommerce-table--order-details .wc-item-meta { list-style: none; padding: 0; margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.woocommerce-table--order-details .wc-item-meta p { display: inline; }
.woocommerce-customer-details .woocommerce-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.woocommerce-customer-details address { font-style: normal; padding: 18px; border-radius: var(--r); border: 1px solid var(--line); color: var(--muted); line-height: 1.7; }
@media (max-width: 700px) { .woocommerce-customer-details .woocommerce-columns { grid-template-columns: 1fr; } }
.woocommerce-order-details .order-again { margin-top: 16px; }

/* Login page */
.h7-loginpage { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 48px); align-items: stretch; max-width: 1040px; margin-inline: auto; }
.h7-loginpage__aside { position: relative; overflow: hidden; padding: clamp(28px, 4vw, 48px); border-radius: var(--r-xl); background: radial-gradient(400px 300px at 0% 0%, rgba(61, 155, 255, .45), transparent 70%), var(--grad); display: flex; flex-direction: column; justify-content: flex-end; gap: 22px; min-height: 420px; }
.h7-loginpage__aside h2 { font-size: clamp(28px, 3vw, 38px); position: relative; }
.h7-loginpage__aside .h7-checks { position: relative; }
.h7-loginpage__aside .h7-checks li { color: #fff; }
.h7-loginpage__aside .h7-checks .h7-i { color: #fff; }
.h7-loginpage__chroma { position: absolute; left: 0; right: 0; top: 20%; height: 140px; opacity: .45; }
.h7-loginpage__chroma path { stroke: #fff; }
@media (max-width: 860px) { .h7-loginpage { grid-template-columns: 1fr; } .h7-loginpage__aside { min-height: 0; order: 2; } }
.woocommerce-ResetPassword, .woocommerce-form-login { max-width: 520px; }
.lost_reset_password p { color: var(--muted); }

/* Thank you */
.h7-thanks { max-width: 960px; margin-inline: auto; }
.h7-thanks__head { display: flex; gap: 20px; align-items: center; margin-bottom: 26px; }
.h7-thanks__head h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 6px; }
.h7-thanks__head p { color: var(--muted); }
.h7-thanks__mark { width: 64px; height: 64px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--grad); box-shadow: 0 0 0 8px rgba(61, 155, 255, .12); animation: h7pop .6s var(--ease); }
.h7-thanks__mark .h7-i { width: 30px; height: 30px; stroke-width: 2.4; }
@keyframes h7pop { from { transform: scale(.5); opacity: 0; } }
.h7-thanks__facts { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line); border-radius: var(--r-lg); margin-bottom: 28px; overflow: hidden; }
.h7-thanks__facts > div { padding: 16px 18px; min-width: 0; }
.h7-thanks__facts > div + div { border-left: 1px solid var(--line); }
.h7-thanks__facts dt { color: var(--dim); font-size: 12.5px; }
.h7-thanks__facts dd { font-weight: 600; word-break: break-word; }
@media (max-width: 800px) { .h7-thanks__facts { grid-template-columns: 1fr 1fr; } .h7-thanks__facts > div { border-left: 0 !important; border-top: 1px solid var(--line); } }
.h7-next { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 8px; }
.h7-next li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--r); border: 1px solid var(--line); color: var(--dim); }
.h7-next li span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); }
.h7-next li .h7-i { width: 16px; height: 16px; }
.h7-next .is-done { color: var(--text); }
.h7-next .is-done span { background: var(--cobalt); border-color: var(--flare); color: #fff; }
.h7-next .is-now { color: var(--text); border-color: rgba(245, 185, 75, .45); }
.h7-next .is-now span { border-color: var(--warn); color: var(--warn); }
@media (max-width: 700px) { .h7-next { grid-template-columns: 1fr; } }
.h7-thanks__help { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); }
.h7-thanks__help a:not(.h7-btn) { color: var(--flare); }
