/*
Theme Name: APSIC Child
Theme URI: https://www.apsic.com.au
Description: Child theme for APSIC
Author: apsic
Template: apsic
Version: 1.0.0
Text Domain: apsic-child
*/

/* =================================================================
   APSIC Account — Full Logged-In & Logged-Out Experience
   ================================================================= */

/* ── Base ── */
html {
    height: 100%;
}

body.woocommerce-account {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body.woocommerce-account main {
    flex: 1;
    width: 100%;
}

body.woocommerce-account>footer {
    margin-top: auto;
}

/* Kill WC wrapper */
body.woocommerce-account .woocommerce {
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    padding: 60px 48px;
}

body.woocommerce-account .woocommerce-MyAccount-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    width: 100%;
}

/* Theme Nav */
body.woocommerce-account .nav {
    background: #fff;
    box-shadow: 0 1px 12px rgba(26, 79, 160, .06);
    border-bottom: 1px solid var(--border);
}

/* ── Hero ── */
.a_hero {
    background: var(--blue);
    padding: 72px 48px 64px;
    position: relative;
    overflow: hidden;
    text-align: center;
    width: 100%;

}

.a_hero-bg {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255, 255, 255, .07) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
}

.a_hero-glow {
    position: absolute;
    right: -120px;
    top: -120px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, .06) 0%, transparent 65%);
    pointer-events: none;
}

.a_hero-glow-2 {
    position: absolute;
    left: -100px;
    bottom: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(168, 230, 216, .08) 0%, transparent 65%);
    pointer-events: none;
}

.a_hero-inner {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.a-hero-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    background: rgba(168, 230, 216, .15);
    border: 2px solid var(--mint);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: a-pulse 2s ease-in-out infinite;
}

@keyframes a-pulse {

    0%,
    100% {
        transform: scale(1)
    }

    50% {
        transform: scale(1.05)
    }
}

.a-hero-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--mint);
    fill: none;
    stroke-width: 2;
}

.a_hero-title {
    font-family: 'Josefin Sans';
    font-size: clamp(26px, 3vw, 34px);
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: -.5px;
}

.a_hero-sub {
    font-size: 16px;
    color: rgba(255, 255, 255, .72);
    line-height: 1.6;
}

/* ── Steps ── */
.a_steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 24px;
    background: var(--grey-light);
    border-bottom: 1px solid var(--border);
    font-size: 12.5px;
    color: var(--grey-mid);
    width: 100%;
}

.a_steps .a_step-done {
    color: var(--teal);
    font-weight: 600;
}

.a_steps .a_step-current {
    color: var(--navy);
    font-weight: 700;
}

.a_steps .a_sep {
    color: #c3d3e6;
}

.woocommerce-MyAccount-content p {
    font-family: 'Josefin Sans';
    font-size: 16px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 12px;
}

/* ── Content ── */
.a_content {
    max-width: 1200px;
    margin: 0 auto;
    display: table;
    padding: 60px 48px;

}

/* ── Navigation Tabs ── */
.woocommerce-MyAccount-navigation {
    display: none !important;
}

/* ── Back Link ── */
.a-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--grey-text);
    text-decoration: none;
    margin-bottom: 20px;
    padding: 6px 12px 6px 8px;
    border-radius: 8px;
    border: 1.5px solid var(--border);
    background: #fff;
    transition: all .15s;
}

.a-back-link svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

.a-back-link:hover {
    border-color: var(--blue);
    color: var(--blue);
    background: var(--blue-xlight);
}

/* ═══════════════════════════════════════════════════════════════
   DASHBOARD
   ═══════════════════════════════════════════════════════════════ */

/* Welcome Bar */
.a-dash-welcome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: 5px;
    padding: 15px 22px;
    margin-bottom: 24px;
}

.a-dash-welcome-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.a-dash-avatar {
    width: 56px;
    height: 56px;
    border-radius: 5px;
    background: var(--blue);
    color: #fff;
    font-family: 'Josefin Sans';
    font-weight: 800;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.a-dash-welcome h2 {
    font-family: 'Josefin Sans';
    font-size: 20px;
    font-weight: 800;
    color: var(--navy);
    margin: 0 0 4px;
}

.a-dash-welcome p {
    font-size: 14px;
    color: var(--grey-text);
    margin: 0;
    line-height: 1.5;
}

.a-dash-logout-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #fef2f2;
    color: #dc2626;
    border: 1.5px solid #fecaca;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    transition: all .2s;
    flex-shrink: 0;
}

.a-dash-logout-btn svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

.a-dash-logout-btn:hover {
    background: #dc2626;
    color: #fff;
    border-color: #dc2626;
    box-shadow: 0 4px 12px rgba(220, 38, 38, .25);
}

/* Tiles Grid */
.a-dash-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.a-dash-tile {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 5px 22px;
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: 5px;
    text-decoration: none;
    transition: all .2s;
}

.a-dash-tile:hover {
    border-color: var(--blue);
    box-shadow: 0 8px 24px rgba(26, 79, 160, .1);
    transform: translateY(-2px);
}

.a-dash-tile-icon {
    width: 40px;
    height: 40px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.a-dash-tile-icon svg {
    width: 20px;
    height: 20px;
    stroke: #fff;
    fill: none;
    stroke-width: 2;
}

.a-dash-tile-icon--blue {
    background: var(--blue);
}

.a-dash-tile-icon--teal {
    background: var(--teal);
}

.a-dash-tile-icon--grey {
    background: #6b7f99;
}

.a-dash-tile-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.a-dash-tile-title {
    font-family: 'Josefin Sans';
    font-size: 15px;
    font-weight: 700;
    color: var(--navy);
}

.a-dash-tile-desc {
    font-size: 13px;
    color: var(--grey-mid);
    line-height: 1.4;
}

.a-dash-tile-arrow {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    opacity: .4;
    transition: all .15s;
}

.a-dash-tile-arrow svg {
    width: 20px;
    height: 20px;
    stroke: var(--grey-mid);
    fill: none;
    stroke-width: 2;
}

.a-dash-tile:hover .a-dash-tile-arrow {
    opacity: 1;
    transform: translateX(3px);
}

.a-dash-tile:hover .a-dash-tile-arrow svg {
    stroke: var(--blue);
}

/* Active tile */
.a-dash-tile.is-active {
    border-color: var(--blue);
    background: var(--blue-xlight);
    box-shadow: 0 2px 12px rgba(26, 79, 160, .1);
}
.a-dash-tile.is-active .a-dash-tile-title {
    color: var(--blue);
}
.a-dash-tile.is-active .a-dash-tile-arrow {
    opacity: 1;
}
.a-dash-tile.is-active .a-dash-tile-arrow svg {
    stroke: var(--blue);
}

/* Tab loading spinner */
.a-tab-spinner {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    z-index: 10;
}
.woocommerce-MyAccount-content {
    position: relative;
}
.a-tab-spinner-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--blue);
    animation: a-spinner-bounce .6s ease-in-out infinite;
}
.a-tab-spinner-dot:nth-child(2) { animation-delay: .15s; }
.a-tab-spinner-dot:nth-child(3) { animation-delay: .3s; }
@keyframes a-spinner-bounce {
    0%, 80%, 100% { transform: scale(.6); opacity: .4; }
    40% { transform: scale(1); opacity: 1; }
}

/* ═══════════════════════════════════════════════════════════════
   TABLES — Orders, Downloads
   ═══════════════════════════════════════════════════════════════ */

/* Section header */
.woocommerce-MyAccount-content h2,
.woocommerce-MyAccount-content>h2 {
    font-family: 'Josefin Sans';
    font-size: 20px;
    font-weight: 800;
    color: var(--navy);
    margin: 0 0 20px;
}

/* Table wrapper */
.woocommerce-MyAccount-content .shop_table,
.woocommerce-MyAccount-content .woocommerce-orders-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    font-size: 14px;
}

/* Table header */
.woocommerce-MyAccount-content .shop_table thead th,
.woocommerce-MyAccount-content .woocommerce-orders-table thead th {
    background: var(--grey-light);
    font-family: 'Josefin Sans';
    font-size: 11.5px;
    font-weight: 700;
    color: var(--grey-mid);
    text-transform: uppercase;
    letter-spacing: .6px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
    text-align: left;
    margin: 0;
}

/* Table body */
.woocommerce-MyAccount-content .shop_table tbody td,
.woocommerce-MyAccount-content .woocommerce-orders-table tbody td,
.woocommerce-MyAccount-content .shop_table tbody th,
.woocommerce-MyAccount-content .woocommerce-orders-table tbody th {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    color: var(--grey-text);
    font-size: 14px;
    vertical-align: middle;
}

.woocommerce-MyAccount-content .shop_table tbody tr:last-child td,
.woocommerce-MyAccount-content .woocommerce-orders-table tbody tr:last-child td {
    border-bottom: none;
}

/* Table row hover */
.woocommerce-MyAccount-content .shop_table tbody tr:hover,
.woocommerce-MyAccount-content .woocommerce-orders-table tbody tr:hover {
    background: #f8fafe;
}

/* Order number link */
.woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-number a {
    font-family: 'Josefin Sans';
    font-weight: 700;
    color: var(--blue);
    text-decoration: none;
}

.woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-number a:hover {
    text-decoration: underline;
}

/* Status badges */
.woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-status {
    font-weight: 600;
}

.woocommerce-MyAccount-content .woocommerce-orders-table__row--status-processing .woocommerce-orders-table__cell-order-status {
    color: #d97706;
}

.woocommerce-MyAccount-content .woocommerce-orders-table__row--status-completed .woocommerce-orders-table__cell-order-status {
    color: var(--teal);
}

.woocommerce-MyAccount-content .woocommerce-orders-table__row--status-on-hold .woocommerce-orders-table__cell-order-status {
    color: #dc2626;
}

/* Table action buttons */
.woocommerce-MyAccount-content .shop_table .button,
.woocommerce-MyAccount-content .woocommerce-orders-table .button {
    background: var(--blue) !important;
    color: #fff !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 600 !important;
    font-size: 12.5px !important;
    padding: 8px 16px !important;
    border-radius: 8px !important;
    border: none !important;
    text-decoration: none !important;
    display: inline-block !important;
    transition: all .15s !important;
}

.woocommerce-MyAccount-content .shop_table .button:hover,
.woocommerce-MyAccount-content .woocommerce-orders-table .button:hover {
    background: #13408a !important;
    box-shadow: 0 2px 8px rgba(26, 79, 160, .25) !important;
}

/* Pagination */
.woocommerce-pagination {
    margin-top: 24px;
}

.woocommerce-pagination .page-numbers {
    display: flex;
    gap: 4px;
    list-style: none;
    padding: 0;
    margin: 0;
    justify-content: center;
}

.woocommerce-pagination .page-numbers li a,
.woocommerce-pagination .page-numbers li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--grey-text);
    background: #fff;
    border: 1.5px solid var(--border);
    text-decoration: none;
    transition: all .15s;
}

.woocommerce-pagination .page-numbers li a:hover {
    border-color: var(--blue);
    color: var(--blue);
}

.woocommerce-pagination .page-numbers li span.current {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
    font-weight: 700;
}

.woocommerce-pagination .page-numbers li .next,
.woocommerce-pagination .page-numbers li .prev {
    padding: 0 20px;
}

/* No orders / empty state */
.woocommerce-MyAccount-content .woocommerce-info,
.woocommerce-MyAccount-content .woocommerce-message {
    background: #f2f6fd !important;
    border: 1px solid var(--border) !important;
    color: var(--navy) !important;
    padding: 16px 20px !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    text-align: center;
}

.woocommerce-MyAccount-content .woocommerce-info .button,
.woocommerce-MyAccount-content .woocommerce-message .button {
    background: var(--gold) !important;
    color: var(--navy) !important;
    font-family: 'Syne', sans-serif !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    padding: 10px 20px !important;
    border-radius: 8px !important;
    border: none !important;
    text-decoration: none !important;
    display: inline-block !important;
    margin-top: 12px !important;
    transition: all .15s !important;
}

.woocommerce-MyAccount-content .woocommerce-info .button:hover {
    background: var(--gold-dark) !important;
}

/* ═══════════════════════════════════════════════════════════════
   FORMS — Account Details, Address
   ═══════════════════════════════════════════════════════════════ */

/* Form wrapper */
.woocommerce-MyAccount-content form.edit-account,
.woocommerce-MyAccount-content form.woocommerce-EditAccountForm,
.woocommerce-MyAccount-content .woocommerce-address-fields {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: 14px;
    padding: 32px;
}

/* Form rows */
.woocommerce-MyAccount-content .woocommerce-form-row {
    margin-bottom: 20px;
}

.woocommerce-MyAccount-content .woocommerce-form-row label {
    display: block;
    font-size: 11.5px;
    font-weight: 500;
    color: var(--grey-mid);
    text-transform: uppercase;
    letter-spacing: .6px;
    margin-bottom: 6px;
}

.woocommerce-MyAccount-content .woocommerce-form-row label .required {
    color: #e74c3c;
}

/* Inputs */
.woocommerce-MyAccount-content .woocommerce-Input,
.woocommerce-MyAccount-content .woocommerce-form-row input[type="text"],
.woocommerce-MyAccount-content .woocommerce-form-row input[type="email"],
.woocommerce-MyAccount-content .woocommerce-form-row input[type="password"],
.woocommerce-MyAccount-content .woocommerce-form-row input[type="tel"],
.woocommerce-MyAccount-content .woocommerce-form-row select,
.woocommerce-MyAccount-content .woocommerce-address-fields input,
.woocommerce-MyAccount-content .woocommerce-address-fields select {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-size: 14.5px;
    font-family: 'Inter', sans-serif;
    color: #1a2e44;
    background: #fff;
    transition: border-color .15s;
}

.woocommerce-MyAccount-content .woocommerce-Input:focus,
.woocommerce-MyAccount-content .woocommerce-form-row input:focus,
.woocommerce-MyAccount-content .woocommerce-address-fields input:focus,
.woocommerce-MyAccount-content .woocommerce-address-fields select:focus {
    outline: none;
    border-color: var(--blue);
}

/* Select dropdown */
.woocommerce-MyAccount-content .woocommerce-form-row select,
.woocommerce-MyAccount-content .woocommerce-address-fields select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7f99' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

/* Fieldset (password change) */
.woocommerce-MyAccount-content fieldset {
    border: 1.5px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    margin: 24px 0;
}

.woocommerce-MyAccount-content fieldset legend {
    font-family: 'Josefin Sans';
    font-size: 14px;
    font-weight: 700;
    color: var(--navy);
    padding: 0 12px;
    margin-left: -12px;
}

/* Clear fix */
.woocommerce-MyAccount-content .clear {
    display: none;
}

/* Submit button */
.woocommerce-MyAccount-content .woocommerce-Button.button,
.woocommerce-MyAccount-content button.woocommerce-Button,
.woocommerce-MyAccount-content p button[type="submit"] {
    background: var(--gold) !important;
    color: var(--navy) !important;
    font-family: 'Syne', sans-serif !important;
    font-weight: 800 !important;
    font-size: 15px !important;
    padding: 14px 32px !important;
    border-radius: 10px !important;
    border: none !important;
    cursor: pointer !important;
    transition: all .2s !important;
    display: inline-block !important;
    text-align: center !important;
    line-height: 1.4 !important;
}

.woocommerce-MyAccount-content .woocommerce-Button.button:hover,
.woocommerce-MyAccount-content button.woocommerce-Button:hover {
    background: var(--gold-dark) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(233, 196, 106, .3);
}

/* ═══════════════════════════════════════════════════════════════
   ADDRESSES — Two-Column Layout
   ═══════════════════════════════════════════════════════════════ */

.woocommerce-MyAccount-content .woocommerce-Addresses {

    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.woocommerce-MyAccount-content .woocommerce-Address {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: 14px;
    padding: 28px;
}

.woocommerce-MyAccount-content .woocommerce-Address-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}

.woocommerce-MyAccount-content .woocommerce-Address-title h2 {
    font-family: 'Josefin Sans';
    font-size: 16px;
    font-weight: 800;
    color: var(--navy);
    margin: 0;
}

.woocommerce-MyAccount-content .woocommerce-Address-title .edit {
    font-size: 13px;
    color: var(--blue);
    font-weight: 600;
    text-decoration: none;
    padding: 6px 14px;
    border-radius: 6px;
    border: 1px solid var(--border);
    transition: all .15s;
}

.woocommerce-MyAccount-content .woocommerce-Address-title .edit:hover {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
}

.woocommerce-MyAccount-content .woocommerce-Address address {
    font-size: 14px;
    color: var(--grey-text);
    line-height: 1.7;
    font-style: normal;
}

/* ═══════════════════════════════════════════════════════════════
   WC DEFAULT NOTICES (inside content area)
   ═══════════════════════════════════════════════════════════════ */

body.woocommerce-myaccount .woocommerce-notices-wrapper {
    display: none !important;
}

div.a-notice {
    padding: 12px 16px !important;
    border-radius: 8px !important;
    margin-bottom: 20px !important;
    font-size: 13.5px !important;
    line-height: 1.6 !important;
}

div.a-notice ul {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

div.a-notice ul li {
    margin-bottom: 0 !important;
}

div.a-notice.a-notice-error {
    background: #fef2f2 !important;
    border: 1px solid #fecaca !important;
    color: #dc2626 !important;
}

div.a-notice.a-notice-success {
    background: #ecfdf5 !important;
    border: 1px solid #a7f3d0 !important;
    color: #065f46 !important;
}

div.a-notice.a-notice-info {
    background: #f2f6fd !important;
    border: 1px solid var(--border) !important;
    color: var(--navy) !important;
}

.woocommerce-MyAccount-content .woocommerce-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 13.5px;
    list-style: none;
}

.woocommerce-MyAccount-content .woocommerce-info,
.woocommerce-MyAccount-content .woocommerce-message {
    background: var(--blue-xlight);
    border: 1px solid var(--border);
    color: var(--navy);
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 13.5px;
}

/* ═══════════════════════════════════════════════════════════════
   LOGGED-OUT — Login / Register Forms
   ═══════════════════════════════════════════════════════════════ */

.woocommerce-form-login,
.woocommerce-form-register {
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* Form Grid */
.a-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Card */
.a-form-card {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: 14px;
    padding: 32px;
}

.a-form-single {
    max-width: 480px;
    margin: 0 auto;
}

.a-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.a-card-num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    font-family: 'Josefin Sans';
    font-weight: 800;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.a-card-title {
    font-family: 'Josefin Sans';
    font-size: 17px;
    font-weight: 800;
    color: var(--navy);
}

/* Fields */
.a-field {
    margin-bottom: 16px;
}

.a-field label {
    display: block;
    font-size: 11.5px;
    font-weight: 500;
    color: var(--grey-mid);
    text-transform: uppercase;
    letter-spacing: .6px;
    margin-bottom: 6px;
}

.a-field label .required {
    color: #e74c3c;
}

.a-field input[type="text"],
.a-field input[type="email"],
.a-field input[type="password"] {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-size: 14.5px;
    font-family: 'Inter', sans-serif;
    color: #1a2e44;
    background: #fff;
    transition: border-color .15s;
}

.a-field input::placeholder {
    color: #a9b8cc;
}

.a-field input:focus {
    outline: none;
    border-color: var(--blue);
}

.a-field-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.woocommerce-form-login-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: var(--grey-text);
    cursor: pointer;
}

.woocommerce-form-login-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    border: 1.5px solid var(--border);
    border-radius: 4px;
    accent-color: var(--blue);
}

.a-lost-pass {
    font-size: 13px;
    color: var(--blue);
    font-weight: 500;
    text-decoration: none;
}

.a-lost-pass:hover {
    text-decoration: underline;
}

/* Submit buttons */
.woocommerce-form-login__submit,
.woocommerce-form-register__submit {
    width: 100% !important;
    background: var(--gold) !important;
    color: var(--navy) !important;
    font-family: 'Syne', sans-serif !important;
    font-weight: 800 !important;
    font-size: 15px !important;
    padding: 14px !important;
    border-radius: 10px !important;
    border: none !important;
    cursor: pointer !important;
    transition: background .2s !important;
    display: block !important;
    text-align: center !important;
    line-height: 1.4 !important;
}

.woocommerce-form-login__submit:hover,
.woocommerce-form-register__submit:hover {
    background: var(--gold-dark) !important;
}

/* Error states */
.a-field.has-error input {
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 1px #dc2626 !important;
}

.a-field.has-error label {
    color: #dc2626 !important;
}

.a-field-error {
    color: #dc2626 !important;
    font-size: 12px !important;
    margin-top: 4px !important;
    font-weight: 500 !important;
    display: block !important;
}

div.a-form-card.has-error {
    border: 2px solid #dc2626 !important;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 860px) {
    .a_hero {
        padding: 56px 24px 48px;
    }

    .a_content {
        padding: 32px 22px 48px;
    }

    .a-form-grid {
        grid-template-columns: 1fr;
    }

    .woocommerce-MyAccount-content .woocommerce-Addresses {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .a-hero-icon {
        width: 56px;
        height: 56px;
    }

    .a-hero-icon svg {
        width: 26px;
        height: 26px;
    }

    .a_hero-title {
        font-size: 24px;
    }

    .a-form-card {
        padding: 24px 20px;
    }

    /* Nav stacks on mobile */
    .woocommerce-MyAccount-navigation ul {
        flex-direction: column;
    }

    .woocommerce-MyAccount-navigation ul li a {
        width: 100%;
        justify-content: center;
    }

    .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout a {
        margin-left: 0;
    }

    /* Table becomes card-like */
    .woocommerce-MyAccount-content .shop_table,
    .woocommerce-MyAccount-content .woocommerce-orders-table {
        border: none;
        background: transparent;
    }

    .woocommerce-MyAccount-content .shop_table thead {
        display: none;
    }

    .woocommerce-MyAccount-content .shop_table tbody tr,
    .woocommerce-MyAccount-content .woocommerce-orders-table tbody tr {
        display: flex;
        flex-direction: column;
        background: #fff;
        border: 1.5px solid var(--border);
        border-radius: 12px;
        padding: 16px 20px;
        margin-bottom: 12px;
    }

    .woocommerce-MyAccount-content .shop_table tbody td,
    .woocommerce-MyAccount-content .woocommerce-orders-table tbody td,
    .woocommerce-MyAccount-content .shop_table tbody th,
    .woocommerce-MyAccount-content .woocommerce-orders-table tbody th {
        padding: 6px 0;
        border: none;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .woocommerce-MyAccount-content .shop_table tbody td::before,
    .woocommerce-MyAccount-content .woocommerce-orders-table tbody td::before {
        content: attr(data-title);
        font-weight: 600;
        font-size: 12px;
        color: var(--grey-mid);
        text-transform: uppercase;
        letter-spacing: .4px;
    }

    /* Dashboard stacks */
    .a-dash-welcome {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .a-dash-welcome-left {
        flex-direction: column;
    }

    .a-dash-grid {
        grid-template-columns: 1fr;
    }

    .a-dash-tile {
        padding: 20px;
    }

    .a-dash-logout-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ===== YOUR checkout DESIGN ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --blue: #1a4fa0;
    --blue-dark: #0f2e5a;
    --blue-mid: #1e5cb8;
    --blue-light: #e8f1fb;
    --blue-xlight: #f2f6fd;
    --gold: #E9C46A;
    --gold-dark: #c9993a;
    --teal: #2a9d7f;
    --teal-light: #e6f5f1;
    --mint: #a8e6d8;
    --white: #ffffff;
    --grey-text: #444;
    --grey-mid: #6b7f99;
    --grey-light: #f7f9fc;
    --border: #dce8f5;
    --navy: #0f2e5a;
}

body {
    font-family: 'Inter', sans-serif;
    color: #1a2e44;
    background: #fff;
    font-size: 15px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

.checkout-wrap {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    max-width: 1180px;
    margin: 0 auto;
}

.checkout-main {
    padding: 44px 56px 60px;
    border-right: 1px solid var(--border);
}

.checkout-summary {
    padding: 44px 40px 60px;
    background: var(--grey-light);
}

.block {
    margin-bottom: 36px;
}

.block-num-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.block-num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    font-family: 'Josefin Sans';
    font-weight: 800;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.block-title {
    font-family: 'Josefin Sans';
    font-size: 17px;
    font-weight: 800;
    color: var(--navy);
}

.field-row {
    display: grid;
    gap: 12px;
    margin-bottom: 12px;
}

.field-row.cols-2 {
    grid-template-columns: 1fr 1fr;
}

.field-row.cols-3 {
    grid-template-columns: 1.3fr 0.8fr 0.8fr;
}

/* Hide WooCommerce default field wrappers, use our grid */
.woocommerce-billing-fields__field-wrapper,
.woocommerce-billing-fields>h3 {
    display: none !important;
}

/* Form rows inside our .field-row */
.woocommerce-checkout .form-row {
    margin: 0;
    padding: 0;
    float: none;
    width: auto !important;
    clear: none !important;
}

.woocommerce-checkout .form-row-first,
.woocommerce-checkout .form-row-last,
.woocommerce-checkout .form-row-middle {
    width: 100% !important;
}

label.field-label,
.woocommerce-checkout label {
    display: block;
    font-size: 11.5px;
    font-weight: 500;
    color: var(--grey-mid);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 6px;
}

input[type=text],
input[type=email],
input[type=tel],
.woocommerce-checkout input[type=text],
.woocommerce-checkout input[type=email],
.woocommerce-checkout input[type=tel] {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-size: 14.5px;
    font-family: 'Inter', sans-serif;
    color: #1a2e44;
    background: #fff;
    transition: border-color .15s;
}

input::placeholder {
    color: #a9b8cc;
}

input:focus {
    outline: none;
    border-color: var(--blue);
}

/* Hidden country */
.form-row.hidden {
    display: none !important;
}

/* ====== Discount / Coupon Section ====== */
.discount-row {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

 

.discount-row .button:hover {
    background: var(--blue) !important;
}


/* Force the coupon input field wrapper to take full remaining width */
.discount-row .form-row {
    flex: 1;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    width: auto !important;
    clear: none !important;
}

/* The actual input field inside the coupon wrapper */
.discount-row input[type="text"],
.discount-row .input-text {
    width: 100% !important;
    padding: 12px 14px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-size: 14.5px;
    font-family: 'Inter', sans-serif;
    color: #1a2e44;
    background: #fff;
    box-sizing: border-box;
}

/* Coupon button wrapper */
.discount-row .form-row-last {
    flex: 0 0 auto;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    width: auto !important;
}
 

.discount-row button:hover,
.discount-row .button:hover {
    background: var(--blue);
}

/* Always show coupon form, hide toggle */
.woocommerce-form-coupon-toggle {
    display: none !important;
}

.checkout_coupon {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

/* Payment */
.pay-box {
    border: 1.5px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
}

.pay-box .payment_methods {
    border: none;
    padding: 0;
}

.pay-box .payment_box {
    background: transparent;
    padding: 0;
    margin: 0;
}

.pay-box .payment_box::before {
    display: none;
}

.pay-box .StripeElement {
    padding: 13px 14px;
    border-bottom: 1px solid var(--border);
    background: #fff;
}

.pay-cta {
    width: 100%;
    margin-top: 22px;
    background: var(--gold);
    color: var(--navy);
    font-family: 'Josefin Sans';
    font-weight: 800;
    font-size: 15.5px;
    padding: 16px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: background .2s;
}

.pay-cta:hover {
    background: var(--gold-dark);
}

.pay-fine {
    text-align: center;
    font-size: 11.5px;
    color: var(--grey-mid);
    margin-top: 12px;
    line-height: 1.6;
}

.stripe-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 14px;
    font-size: 11.5px;
    color: var(--grey-mid);
}

.stripe-badge svg {
    stroke: var(--grey-mid);
    fill: none;
    stroke-width: 2;
    width: 13px;
    height: 13px;
}

/* Summary */
.summary-title {
    font-family: 'Josefin Sans';
    font-size: 15px;
    font-weight: 800;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 18px;
}

.cart-item {
    display: flex;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    align-items: center;
}

.cart-item-icon {
    width: 52px;
    height: 52px;
    background: var(--blue-xlight);
    border: 1px solid var(--border);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cart-item-icon svg {
    width: 26px;
    height: 26px;
    stroke: var(--blue);
    fill: none;
    stroke-width: 2;
}

.cart-item-body {
    flex: 1;
}

.cart-item-name {
    font-family: 'Josefin Sans';
    font-size: 14.5px;
    font-weight: 800;
    color: var(--navy);
}

.cart-item-sub {
    font-size: 12px;
    color: var(--grey-mid);
    margin-top: 3px;
}

.cart-item-price {
    font-family: 'Josefin Sans';
    font-size: 14.5px;
    font-weight: 800;
    color: var(--navy);
    white-space: nowrap;
}

.summary-lines {
    padding-top: 18px;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    font-size: 13.5px;
    color: var(--grey-text);
    padding: 6px 0;
}

.summary-line.discount {
    color: var(--teal);
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-top: 14px;
    margin-top: 6px;
    border-top: 1.5px solid var(--border);
}

.summary-total-label {
    font-family: 'Josefin Sans';
    font-size: 15px;
    font-weight: 800;
    color: var(--navy);
}

.summary-total-value {
    font-family: 'Josefin Sans';
    font-size: 24px;
    font-weight: 800;
    color: var(--navy);
}

.summary-tax-note {
    font-size: 11.5px;
    color: var(--grey-mid);
    text-align: right;
    margin-top: 2px;
}

.trust-mini {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.trust-mini-item {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 12.5px;
    color: var(--grey-mid);
}

.trust-mini-item svg {
    stroke: var(--teal);
    fill: none;
    stroke-width: 2.5;
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

@media(max-width:860px) {
    .checkout-wrap {
        grid-template-columns: 1fr;
    }

    .checkout-main {
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding: 32px 22px 40px;
    }

    .checkout-summary {
        padding: 32px 22px 40px;
    }

    .field-row.cols-2,
    .field-row.cols-3 {
        grid-template-columns: 1fr;
    }
}


/* Hide the default WooCommerce place order button (we have our custom yellow one) */
button#place_order.alt,
button#place_order:not(.pay-cta),
.woocommerce-checkout-payment #place_order {
    display: none !important;
}



/* Hide the privacy policy text that WooCommerce adds */
.woocommerce-privacy-policy-text,
.woocommerce-terms-and-conditions-wrapper {
    display: none !important;
}

/* Hide the default WooCommerce notices wrapper on checkout */
.woocommerce-notices-wrapper {
    display: none ;
}
.woocommerce-lost-password .woocommerce-notices-wrapper {
    display: block ;
	    margin: 0 auto;
    max-width: 600px;
    margin-top: 20px;
}

.woocommerce-lost-password .woocommerce-notices-wrapper ul  {
	
	padding-left:45px;
}

/* But still show error messages if they appear elsewhere */
.woocommerce-error {
    display: block !important;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 13.5px;
    list-style: none;
}



/* ====== Hero Banner ====== */
.c_hero {
    background: var(--blue);
    padding: 34px 48px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.c_hero-bg {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
}

.c_hero-inner {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.c_hero-logo-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.c_hero-logo-mark {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.c_hero-logo-mark svg {
    width: 22px;
    height: 22px;
    stroke: #fff;
    fill: none;
    stroke-width: 2;
}

.c_hero h1 {
    font-family: 'Josefin Sans';
    font-size: clamp(20px, 2.6vw, 26px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.4px;
    color: #fff;
}

.c_hero-sub {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 600;
}

/* ====== Breadcrumb Steps ====== */
.c_steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 24px;
    background: var(--grey-light);
    border-bottom: 1px solid var(--border);
    font-size: 12.5px;
    color: var(--grey-mid);
}

.c_steps .c_step-done {
    color: var(--teal);
    font-weight: 600;
}

.c_steps .c_step-current {
    color: var(--navy);
    font-weight: 700;
}

.c_steps .c_sep {
    color: #c3d3e6;
}

.checkout-wrap input[type=text],
.checkout-wrap input[type=email],
.checkout-wrap input[type=tel],
.select2-selection__rendered {
    width: 100% !important;
    padding: 12px 14px !important;
    border: 1.5px solid var(--border) !important;
    border-radius: 8px !important;
    font-size: 14.5px;
    font-family: 'Inter', sans-serif !important;
    color: #1a2e44 !important;
    background: #fff;
    transition: border-color .15s;
}

.checkout-wrap .select2-selection {
    border: unset;
}


/* ====== Nav Bar ====== */

.woocommerce-checkout .nav,
.woocommerce-checkout .footer-nav {
    display: none;
}


.c_nav {
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 48px;
    height: 68px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 12px rgba(26, 79, 160, 0.06);
    position: sticky;
    top: 0;
    z-index: 100;
}

.c_nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.c_nav-logo-mark {
    width: 36px;
    height: 36px;
    background: var(--blue);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.c_nav-logo-mark svg {
    width: 20px;
    height: 20px;
    stroke: #fff;
    fill: none;
    stroke-width: 2;
}

.c_nav-logo-text {
    display: flex;
    flex-direction: column;
}

.c_nav-logo-name {
    font-family: 'Josefin Sans';
    font-weight: 800;
    font-size: 18px;
    color: var(--navy);
    letter-spacing: -0.3px;
    line-height: 1;
}

.c_nav-logo-tag {
    font-size: 9px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--grey-mid);
    margin-top: 1px;
}

.c_nav-secure {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--teal);
}

.c_nav-secure svg {
    stroke: var(--teal);
    fill: none;
    stroke-width: 2;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* ===== APSIC Thank You Page ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ===== Nav Bar ===== */
.t_nav {
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 48px;
    height: 68px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 12px rgba(26, 79, 160, 0.06);
    position: sticky;
    top: 0;
    z-index: 100;
}

.t_nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.t_nav-logo-mark {
    width: 36px;
    height: 36px;
    background: var(--blue);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.t_nav-logo-mark svg {
    width: 20px;
    height: 20px;
    stroke: #fff;
    fill: none;
    stroke-width: 2;
}

.t_nav-logo-text {
    display: flex;
    flex-direction: column;
}

.t_nav-logo-name {
    font-family: 'Josefin Sans';
    font-weight: 800;
    font-size: 18px;
    color: var(--navy);
    letter-spacing: -0.3px;
    line-height: 1;
}

.t_nav-logo-tag {
    font-size: 9px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--grey-mid);
    margin-top: 1px;
}

.t_nav-status {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--teal);
}

.t_nav-status svg {
    stroke: var(--teal);
    fill: none;
    stroke-width: 2;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* ===== Hero ===== */
.t_hero {
    background: var(--blue);
    padding: 72px 48px 68px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.t_hero-bg {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
}

.t_hero-glow {
    position: absolute;
    right: -120px;
    top: -120px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 65%);
    pointer-events: none;
}

.t_hero-glow-2 {
    position: absolute;
    left: -100px;
    bottom: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(168, 230, 216, 0.08) 0%, transparent 65%);
    pointer-events: none;
}

.t_hero-inner {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

/* Animated checkmark */
.t_check {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    position: relative;
}

.t_check-ring {
    position: absolute;
    inset: 0;
    border: 2.5px solid var(--mint);
    border-radius: 50%;
    animation: t-check-pulse 2s ease-in-out infinite;
}

.t_check-fill {
    position: absolute;
    inset: 6px;
    background: rgba(168, 230, 216, 0.15);
    border-radius: 50%;
}

.t_check svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 36px;
    height: 36px;
    stroke: var(--mint);
    fill: none;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 40;
    stroke-dashoffset: 40;
    animation: t-check-draw 0.6s 0.3s ease forwards;
}

@keyframes t-check-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.06); opacity: 0.85; }
}

@keyframes t-check-draw {
    to { stroke-dashoffset: 0; }
}

.t_hero-title {
    font-family: 'Josefin Sans';
    font-size: clamp(26px, 3vw, 32px);
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.t_hero-sub {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.72);
    font-weight: 400;
}

/* ===== Steps Breadcrumb ===== */
.t_steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 24px;
    background: var(--grey-light);
    border-bottom: 1px solid var(--border);
    font-size: 12.5px;
    color: var(--grey-mid);
}

.t_steps .t_step-done {
    color: var(--teal);
    font-weight: 600;
}

.t_steps .t_step-current {
    color: var(--navy);
    font-weight: 700;
}

.t_steps .t_sep {
    color: #c3d3e6;
}

/* ===== Content Grid ===== */
.t_content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 48px 48px 60px;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 28px;
}

/* ===== Cards ===== */
.t-card {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: 14px;
    padding: 32px;
}

.t-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.t-card-num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    font-family: 'Josefin Sans';
    font-weight: 800;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.t-card-title {
    font-family: 'Josefin Sans';
    font-size: 17px;
    font-weight: 800;
    color: var(--navy);
}

/* ===== Order Details ===== */
.t-order-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

.t-order-row:last-child {
    border-bottom: none;
}

.t-order-label {
    color: var(--grey-mid);
    font-weight: 500;
}

.t-order-value {
    color: var(--navy);
    font-weight: 600;
    text-align: right;
}

.t-order-value.course-name {
    font-family: 'Josefin Sans';
    font-weight: 800;
    font-size: 15px;
}

.t-order-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 16px 0 0;
    margin-top: 8px;
    border-top: 2px solid var(--border);
}

.t-order-total-label {
    font-family: 'Josefin Sans';
    font-size: 15px;
    font-weight: 800;
    color: var(--navy);
}

.t-order-total-value {
    font-family: 'Josefin Sans';
    font-size: 22px;
    font-weight: 800;
    color: var(--navy);
}

.t-order-note {
    font-size: 11.5px;
    color: var(--grey-mid);
    text-align: right;
    margin-top: 2px;
}

/* ===== What's Next Steps ===== */
.t-next-step {
    display: flex;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.t-next-step:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.t-next-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--blue-xlight);
    border: 1.5px solid var(--border);
    color: var(--blue);
    font-family: 'Josefin Sans';
    font-weight: 800;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

.t-next-body {
    flex: 1;
}

.t-next-title {
    font-family: 'Josefin Sans';
    font-size: 15px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 3px;
}

.t-next-desc {
    font-size: 13.5px;
    color: var(--grey-text);
    line-height: 1.6;
}

.t-next-highlight {
    color: var(--teal);
    font-weight: 600;
}

/* ===== Help Card ===== */
.t-help {
    background: var(--blue);
    border: none;
    border-radius: 14px;
    padding: 32px;
    margin-top: 28px;
}

.t-help-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.t-help-text h3 {
    font-family: 'Josefin Sans';
    font-size: 17px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
}

.t-help-text p {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.72);
}

.t-help-links {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
}

.t-help-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.t-help-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.t-help-link:hover .t-help-icon {
    background: rgba(255, 255, 255, 0.2);
}

.t-help-icon svg {
    width: 20px;
    height: 20px;
    stroke: #fff;
    fill: none;
    stroke-width: 2;
}

.t-help-link span {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== CTA Row ===== */
.t-cta {
    text-align: center;
    margin-top: 28px;
}

.t-cta .btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gold);
    color: var(--navy);
    font-family: 'Josefin Sans';
    font-weight: 800;
    font-size: 15px;
    padding: 14px 32px;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.2s;
}

.t-cta .btn-gold:hover {
    background: var(--gold-dark);
}

.t-cta .btn-gold svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.5;
}

/* ===== Responsive ===== */
@media (max-width: 860px) {
    .t_nav {
        padding: 0 24px;
    }

    .t_hero {
        padding: 60px 24px 52px;
    }

    .t_content {
        grid-template-columns: 1fr;
        padding: 32px 22px 48px;
    }

    .t-help-inner {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .t-help-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .t_check {
        width: 64px;
        height: 64px;
    }
 
    .t_check svg {
        width: 28px;
        height: 28px;
    }

    .t_hero-title {
        font-size: 24px;
    }

    .t-card {
        padding: 24px 20px;
    }

    .t-help {
        padding: 24px 20px;
    }
}

/* ===== Hide theme nav/footer on thankyou (they have custom nav/footer) ===== */
body.woocommerce-order-received .nav,
body.woocommerce-order-received .footer-nav,
body.woocommerce-order-received > footer {
    display: none !important;
}

/* ===== Hide WP default notices on thankyou ===== */
.woocommerce-notices-wrapper:has(.woocommerce-info) {
    display: none;
}

/* ===== HEADER — START (child theme) ===== */

/* ── Skip to content ── */
.skip-to-content {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--blue);
  color: #fff;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  z-index: 9999;
  text-decoration: none;
  transition: top .2s;
}

.skip-to-content:focus {
  top: 16px;
}

/* ── Site Header ── */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 12px rgba(26, 79, 160, 0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}

/* ── Header Top Bar ── */
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 70px;
  height: 70px;
  position: relative;
}

/* ── Header Social (Desktop Left) ── */
.header-social {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--blue-xlight);
  color: var(--blue);
  transition: background 0.2s, color 0.2s;
}

.social-icon:hover {
  background: var(--blue);
  color: #fff;
}

/* ── Logo ── */
.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.header-logo .logo-mark {
  width: 40px;
  height: 40px;
  background: var(--blue);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-logo .logo-mark svg {
  width: 22px;
  height: 22px;
  stroke: #fff;
  fill: none;
  stroke-width: 2;
}

.header-logo .logo-text {
  display: flex;
  flex-direction: column;
}

.header-logo .logo-name {
  font-family: 'Josefin Sans';
  font-weight: 800;
  font-size: 20px;
  color: var(--navy);
  letter-spacing: -0.3px;
  line-height: 1;
}

.header-logo .logo-tag {
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--grey-mid);
  margin-top: 2px;
}

/* ── Header Icons (Desktop Right) ── */
.header-icons {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  justify-content: flex-end;
  z-index: 160;
  position: relative;
}

.header-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: transparent;
  border: none;
  color: var(--grey-text);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.header-icon-btn:hover {
  background: var(--blue-xlight);
  color: var(--blue);
}

/* ── Bottom Bar (Desktop: nav centered / Mobile: nav slide panel + icons) ── */
.header-bottom {
border-top: 1px solid var(--border);
    position: relative;
	padding:0px 48px;
}
.header-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    height: 48px;
    position: relative;
}
/* ── Hamburger Toggle (Mobile only) ── */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.is-active .nav-toggle-bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.is-active .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active .nav-toggle-bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ── Navigation Panel ── */
.header-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  background:unset;
}

.header-nav .nav-close {
  display: none;
}

.header-nav .nav-links {
  display: flex;
  gap: 45px;
  list-style: none;
  align-items: center;
  font-family: 'Josefin Sans';
  margin: 0;
  padding: 0;
}

.header-nav .nav-links a {
  font-size: 16px;
  font-weight: 600;
  color: var(--grey-text);
  transition: color 0.2s;
  text-decoration: none;
}

.header-nav .nav-links a:hover {
  color: var(--blue);
}

.header-nav a.nav-cta {
  background: var(--gold);
  color: var(--navy);
  padding: 8px 18px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 13px;
  transition: background 0.2s;
}

.header-nav a.nav-cta:hover {
  background: var(--gold-dark);
}

.panel-social {
  display: none;
}

/* ── Mobile Bottom Bar Icons ── */
.header-bottom-icons {
  display: none;
}

/* ── Nav Overlay ── */
.nav-overlay {
  display: none;
}

/* ── Search Modal ── */
.search-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 46, 90, 0.85);
  z-index: 1000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 120px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.search-modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.search-modal {
  background: #fff;
  border-radius: 16px;
  padding: 8px;
  width: 90%;
  max-width: 560px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.25);
  transform: translateY(-20px) scale(0.95);
  transition: transform 0.3s ease;
}

.search-modal-overlay.is-open .search-modal {
  transform: translateY(0) scale(1);
}

.search-modal-form {
  display: flex;
  align-items: center;
  gap: 0;
}

.search-modal-input {
  flex: 1;
  padding: 18px 24px;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-family: 'Inter', sans-serif;
  background: #f8fafc;
  outline: none;
  color: var(--navy);
  -webkit-appearance: none;
}

.search-modal-input:focus {
  outline: none;
  box-shadow: none;
}

.search-modal-input::placeholder {
  color: var(--grey-mid);
}

.search-modal-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
}

.search-modal-submit:hover {
  background: var(--navy);
}

.search-modal-submit svg {
  width: 20px;
  height: 20px;
}

.search-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  cursor: pointer;
  color: #fff;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s;
}

.search-modal-close:hover {
  background: rgba(255, 255, 255, 0.25);
}

.search-modal-close svg {
  width: 24px;
  height: 24px;
}

.search-modal-hint {
  text-align: center;
  margin-top: 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

/* ===== MOBILE (≤1100px) ===== */
@media (max-width: 1100px) {
  .header-top {
    padding: 0 16px;
    height: 56px;
    justify-content: center;
  }
    .header-bottom-inner {
        justify-content: space-between;
        padding: 0 16px;
        height: 48px;
    }
  .header-social {
    display: none;
  }

  .header-icons {
    display: none;
  }

  .header-logo .logo-mark {
    width: 36px;
    height: 36px;
  }

  .header-logo .logo-mark svg {
    width: 20px;
    height: 20px;
  }

  .header-logo .logo-name {
    font-size: 18px;
  }

  .header-logo .logo-tag {
    font-size: 8px;
    letter-spacing: 1.5px;
  }

  .header-bottom {
    justify-content: space-between;
    padding: 0 16px;
    height: 48px;
  }

  .nav-toggle {
    display: flex;
  }

  .header-bottom-icons {
    display: flex;
    align-items: center;
    gap: 4px;
  }

  .header-bottom-icons .header-icon-btn {
    width: 36px;
    height: 36px;
  }

  /* Nav Panel: full-height slide from left */
  .header-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 78%;
    max-width: 340px;
    height: 100vh;
    height: 100dvh;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 0;
    z-index: 1001;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }

  .header-nav.is-open {
    transform: translateX(0);
  }

  .header-nav .nav-close {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 14px;
    right: 3px;
    width: 36px;
    height: 36px;
    background: unset;
    border: unset;
    border-radius: 8px;
    cursor: pointer;
    color: var(--grey-text);
    transition: background 0.2s, color 0.2s;
    z-index: 5;
  }

  .header-nav .nav-close:hover {
    background: var(--blue-xlight);
    color: var(--blue);
  }

  .header-nav .nav-links {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 64px 0 0;
    width: 100%;
    position: static;
    top: auto;
    right: auto;
    height: auto;
    max-width: none;
    box-shadow: none;
    z-index: auto;
    overflow: visible;
  }

  .header-nav .nav-links li {
    width: 100%;
  }

  .header-nav .nav-links a {
    display: block;
    padding: 8px 24px;
    font-size: 15px;
    font-weight: 500;
    color: var(--navy);
    text-align: left;
    border-bottom: 1px solid #f0f4f8;
    transition: background 0.15s, color 0.15s;
  }

  .header-nav .nav-links li:last-child a {
    border-bottom: none;
  }

  .header-nav .nav-links a:hover {
    background: var(--blue-xlight);
    color: var(--blue);
  }

  .header-nav .nav-links .sub-menu {
    display: none;
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0;
    max-height: none;
  }

  .header-nav .nav-links .menu-item-has-children.sub-open > .sub-menu {
    display: block;
  }

  .header-nav .nav-links .sub-menu a {
    padding-left: 48px;
    font-size: 14px;
    color: var(--grey-text);
  }

  .header-nav .nav-links .sub-menu a:hover {
    background: #eef3fb;
    color: var(--blue);
  }

  .header-nav .nav-links .menu-item-has-children {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    position: relative;
  }

  .header-nav .nav-links .menu-item-has-children > a {
    flex: 1;
  }

  .header-nav .nav-links .menu-item-has-children > a::after {
    display: none !important;
    content: none !important;
  }

  .header-nav .nav-links .menu-item-has-children .sub-menu {
    flex: 0 0 100%;
  }

  .sub-toggle {
   display: flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        background: #f2f6fd;
        border: none;
        border-radius: 0px;
        cursor: pointer;
        color: var(--grey-mid);
        flex-shrink: 0;
        padding: 0;
        margin: 0;
        border-bottom: 1px solid #f0f4f8;
		border-left: 1px solid #ffffff;
  }

  .sub-toggle:hover {
    background: var(--blue-xlight);
    color: var(--blue);
  }

  .sub-toggle svg {
    transition: transform 0.25s ease;
    pointer-events: none;
  }

  .sub-toggle.is-active svg {
    transform: rotate(180deg);
  }

  .sub-toggle:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: -2px;
  }

  .header-nav .nav-cta-item {
    display: none !important;
  }

  /* Social at bottom of panel */
  .panel-social {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 24px;
    margin-top: auto;
    border-top: 1px solid var(--border);
  }

  .panel-social .social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--blue-xlight);
    color: var(--blue);
    transition: background 0.2s, color 0.2s;
  }

  .panel-social .social-icon:hover {
    background: var(--blue);
    color: #fff;
  }

  .panel-social .social-icon svg {
    width: 18px;
    height: 18px;
  }

  /* Overlay */
  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(15, 46, 90, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .nav-overlay.is-open {
    opacity: 1;
    visibility: visible;
  }

  /* Search modal mobile */
  .search-modal-overlay {
    padding-top: 80px;
  }

  .search-modal {
    width: 92%;
    padding: 6px;
  }

  .search-modal-input {
    padding: 14px 18px;
    font-size: 15px;
  }

  .search-modal-submit {
    width: 46px;
    height: 46px;
  }
}

/* Hide mobile sub-toggle on desktop */
@media (min-width: 1101px) {
  .sub-toggle {
    display: none;
  }
}

/* ===== HEADER — END ===== */


@media (max-width: 1100px) {
    
	
	.nav-links {
		background: unset;	
	}
	.nav-overlay {display:none;}
	 
}

@media (max-width: 960px) {
    .header-nav .nav-links {
		box-shadow: unset;
top: 61px;		
background: unset;	
	}
	
	.nav-links {
		background: unset;	
	}
	
}

.header-bottom{
	
	
}
.header-nav {border:unset}
 



 @media (min-width: 1100px) and (max-width: 1352px) {       
 .header-nav
 { padding:0;}
 
 .header-nav .nav-links a {
    font-size: 12px;
 }
 .header-nav .nav-links {
    
    gap: 65px;
	
 }
	 } 


form.woocommerce-ResetPassword.lost_reset_password {
    max-width:600px;
    margin: 0 auto;
    padding: 50px;
}

form.woocommerce-ResetPassword.lost_reset_password button {
    background: var(--gold);
    color: var(--navy);
}
p.woocommerce-form-row.woocommerce-form-row--first.form-row.form-row-first {
    width: 100%;
}