/* =========================================
   UZAYO ACCOUNT PAGE
========================================= */

.account-page {
    min-height: 75vh;
    padding: 90px 20px 100px;
    background: #ffffff;
}

.account-container {
    width: min(1200px, 100%);
    margin: 0 auto;
}


/* =========================================
   ACCOUNT HEADER
========================================= */

.account-header {
    margin-bottom: 55px;
}

.account-eyebrow {
    display: inline-block;
    margin-bottom: 15px;

    color: #b89b5e;

    font-size: 0.7rem;
    font-weight: 700;

    letter-spacing: 3px;
    text-transform: uppercase;
}

.account-header h1 {
    margin: 0 0 18px;

    color: #111111;

    font-family: var(--font-heading);

    font-size: clamp(2.7rem, 6vw, 4.5rem);

    line-height: 1;

    letter-spacing: -1px;
}

.account-header p {
    max-width: 620px;

    margin: 0;

    color: #777777;

    font-size: 0.95rem;

    line-height: 1.8;
}


/* =========================================
   ACCOUNT LAYOUT
========================================= */

.account-layout {
    display: grid;

    grid-template-columns: 260px minmax(0, 1fr);

    gap: 50px;

    align-items: start;
}


/* =========================================
   ACCOUNT MENU
========================================= */

.account-menu {
    position: sticky;

    top: 30px;

    padding: 25px;

    background: #f7f6f3;

    border-radius: 20px;
}

.account-menu-title {
    margin-bottom: 18px;

    color: #999999;

    font-size: 0.65rem;

    font-weight: 700;

    letter-spacing: 2px;
}

.account-menu-link {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    padding: 14px 0;

    border-bottom: 1px solid #e3e1dc;

    color: #555555;

    font-size: 0.78rem;

    text-decoration: none;

    transition: 0.25s ease;
}

.account-menu-link:hover {
    color: #b89b5e;
}

.account-menu-link.active {
    color: #111111;

    font-weight: 700;
}

.account-menu-link.active span:last-child {
    color: #b89b5e;
}

.account-menu-divider {
    height: 1px;

    margin: 20px 0;

    background: #dedcd7;
}

.account-logout {
    display: block;

    color: #999999;

    font-size: 0.75rem;

    text-decoration: none;

    transition: 0.25s ease;
}

.account-logout:hover {
    color: #b89b5e;
}


/* =========================================
   ACCOUNT DETAILS
========================================= */

.account-details {
    display: flex;

    flex-direction: column;

    gap: 30px;

    min-width: 0;
}


/* =========================================
   ACCOUNT CARD
========================================= */

.account-card {
    padding: 32px;

    background: #f7f6f3;

    border-radius: 22px;
}

.account-card-header {
    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    margin-bottom: 30px;
}

.account-card-eyebrow {
    display: block;

    margin-bottom: 8px;

    color: #b89b5e;

    font-size: 0.62rem;

    font-weight: 700;

    letter-spacing: 2px;
}

.account-card h2 {
    margin: 0;

    color: #111111;

    font-family: var(--font-heading);

    font-size: 1.7rem;
}


/* =========================================
   INFORMATION
========================================= */

.account-information {
    display: grid;

    grid-template-columns: 1fr 1fr;

    border-top: 1px solid #dedcd7;
}

.account-information-item {
    display: flex;

    flex-direction: column;

    gap: 7px;

    padding: 20px 10px 20px 0;

    border-bottom: 1px solid #dedcd7;
}

.account-information-item:nth-child(odd) {
    margin-right: 25px;
}

.account-information-item span {
    color: #999999;

    font-size: 0.65rem;

    font-weight: 600;

    letter-spacing: 1px;

    text-transform: uppercase;
}

.account-information-item strong {
    color: #222222;

    font-size: 0.85rem;

    font-weight: 500;

    word-break: break-word;
}

.account-status {
    color: #71865f !important;
}


/* =========================================
   ORDERS
========================================= */

.orders-empty {
    padding: 45px 25px;

    border: 1px dashed #d8d5ce;

    border-radius: 16px;

    text-align: center;
}

.orders-icon {
    display: flex;

    align-items: center;

    justify-content: center;

    width: 50px;
    height: 50px;

    margin: 0 auto 18px;

    border-radius: 50%;

    background: #ffffff;

    color: #b89b5e;

    font-size: 1.3rem;
}

.orders-empty h3 {
    margin: 0 0 10px;

    color: #222222;

    font-family: var(--font-heading);

    font-size: 1.2rem;
}

.orders-empty p {
    max-width: 470px;

    margin: 0 auto 25px;

    color: #888888;

    font-size: 0.82rem;

    line-height: 1.7;
}


/* =========================================
   SHOP BUTTON
========================================= */

.account-shop-button {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    padding: 14px 24px;

    border-radius: 999px;

    background: #111111;

    color: #ffffff;

    text-decoration: none;

    font-size: 0.67rem;

    font-weight: 700;

    letter-spacing: 1.4px;

    transition: 0.3s ease;
}

.account-shop-button span {
    transition: 0.3s ease;
}

.account-shop-button:hover {
    background: #b89b5e;

    transform: translateY(-2px);
}

.account-shop-button:hover span {
    transform: translateX(5px);
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {

    .account-layout {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .account-menu {
        position: static;
    }

    .account-menu-link {
        padding: 13px 0;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    .account-page {
        padding: 60px 15px 75px;
    }

    .account-header {
        margin-bottom: 40px;
    }

    .account-header h1 {
        font-size: 2.7rem;
    }

    .account-card {
        padding: 25px 20px;

        border-radius: 18px;
    }

    .account-information {
        grid-template-columns: 1fr;
    }

    .account-information-item:nth-child(odd) {
        margin-right: 0;
    }

    .account-information-item {
        padding: 17px 0;
    }

    .orders-empty {
        padding: 35px 18px;
    }

}

/* =========================================
   ORDER ITEMS
========================================= */

.account-order {
    padding: 25px 0;

    border-bottom: 1px solid #dedcd7;
}

.account-order:last-child {
    border-bottom: none;
}

.account-order-header {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 18px;
}

.account-order-number {
    color: #111111;

    font-size: 0.75rem;

    font-weight: 700;

    letter-spacing: 1px;
}

.account-order-status {
    padding: 6px 10px;

    background: #edf1e9;

    color: #71865f;

    font-size: 0.55rem;

    font-weight: 700;

    letter-spacing: 1px;
}

.account-order-date {
    margin-top: 5px;

    color: #999999;

    font-size: 0.65rem;
}


/* =========================================
   ORDER PRODUCTS
========================================= */

.account-order-items {
    display: flex;

    flex-direction: column;

    gap: 12px;
}

.account-order-item {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    padding: 13px 15px;

    background: #ffffff;

    border-radius: 10px;
}

.account-order-item-left {
    display: flex;

    flex-direction: column;

    gap: 5px;

    min-width: 0;
}

.account-order-product-name {
    color: #222222;

    font-size: 0.78rem;

    font-weight: 600;
}

.account-order-product-size {
    color: #888888;

    font-size: 0.65rem;

    letter-spacing: 0.5px;
}

.account-order-product-size strong {
    color: #222222;

    font-weight: 700;
}

.account-order-item-right {
    display: flex;

    align-items: center;

    gap: 20px;

    flex-shrink: 0;
}

.account-order-quantity {
    color: #888888;

    font-size: 0.65rem;
}

.account-order-price {
    color: #222222;

    font-size: 0.75rem;

    font-weight: 600;
}


/* =========================================
   ORDER TOTAL
========================================= */

.account-order-total {
    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-top: 18px;

    padding-top: 15px;

    border-top: 1px solid #dedcd7;
}

.account-order-total span {
    color: #888888;

    font-size: 0.65rem;

    font-weight: 600;

    letter-spacing: 1px;

    text-transform: uppercase;
}

.account-order-total strong {
    color: #111111;

    font-size: 0.9rem;

    font-weight: 700;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    .account-order-header {
        align-items: flex-start;

        flex-direction: column;

        gap: 8px;
    }

    .account-order-item {
        align-items: flex-start;

        flex-direction: column;

        gap: 12px;
    }

    .account-order-item-right {
        width: 100%;

        justify-content: space-between;
    }

}