﻿/* =========================================================
   Account pages only (login / register / profile)
   ========================================================= */

.cn-auth {
    max-width: 980px;
    margin: 0 auto;
    padding: 24px 18px 40px;
}

.cn-auth__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    align-items: start;
}

.cn-authCard {
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 14px;
    padding: 18px;
    background: #fff;
}

.cn-authTitle {
    margin: 0 0 12px;
    font-size: 26px;
    font-weight: 900;
    color: #951f1f;
}

.cn-authSub {
    margin: 0 0 16px;
    line-height: 1.5;
    color: #951f1f;
    opacity: .85;
}

/* =========================================================
   Form fields
   ========================================================= */

.cn-field {
    display: grid;
    gap: 8px;
    margin-bottom: 12px;
}

.cn-label {
    font-weight: 800;
    color: #951f1f;
}

.cn-input {
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,.12);
    padding: 0 12px;
    outline: none;
    font-size: 15px;
}

    .cn-input:focus {
        border-color: rgba(149,31,31,.45);
        box-shadow: 0 0 0 4px rgba(149,31,31,.10);
    }

.cn-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* =========================================================
   Phone input
   ========================================================= */

.cn-phone {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 10px;
}

.cn-phone__code {
    text-align: center;
    font-weight: 900;
    background: rgba(0,0,0,.03);
}

/* =========================================================
   Buttons
   ========================================================= */

.cn-row {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 10px;
}

.cn-btn {
    border: 0;
    border-radius: 12px;
    height: 44px;
    padding: 0 16px;
    font-weight: 900;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cn-btn--primary {
    background: #951f1f;
    color: #fff;
}

    .cn-btn--primary:hover {
        filter: brightness(.95);
    }

.cn-btn--ghost {
    background: transparent;
    color: #951f1f;
    border: 1px solid rgba(149,31,31,.35);
}

    .cn-btn--ghost:hover {
        background: rgba(149,31,31,.06);
    }

/* =========================================================
   Validation / errors
   ========================================================= */

.cn-val {
    display: block;
    margin-top: 6px;
    font-weight: 800;
    font-size: 13px;
    color: #a40000;
    opacity: .95;
}

.cn-error {
    margin: 10px 0 0;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255,0,0,.06);
    border: 1px solid rgba(255,0,0,.15);
    color: #a40000;
    font-weight: 700;
}

/* =========================================================
   Right-side info box
   ========================================================= */

.cn-authAside {
    border-radius: 14px;
    padding: 18px;
    background: rgba(149,31,31,.06);
    border: 1px solid rgba(149,31,31,.12);
    color: #951f1f;
}

    .cn-authAside h3 {
        margin: 0 0 10px;
        font-weight: 900;
    }

    .cn-authAside ul {
        margin: 0;
        padding-left: 18px;
        line-height: 1.7;
        font-weight: 700;
    }

.cn-note {
    margin-top: 14px;
    padding: 12px;
    border-radius: 12px;
    background: rgba(255,255,255,.7);
    border: 1px solid rgba(149,31,31,.15);
    font-weight: 800;
    line-height: 1.5;
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 900px) {
    .cn-auth__grid {
        grid-template-columns: 1fr;
    }

    .cn-two {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   Auth Hero Carousel (Login / Register)
   FULL WIDTH – NATURAL HEIGHT – NO CROPPING
   ========================================================= */

.cn-hero-carousel {
    width: 100%;
}

.cn-hero-carousel__viewport {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* Slides stacked, inactive removed from layout */
.cn-hero-carousel__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .35s ease;
    pointer-events: none;
}

    /* Active slide defines height */
    .cn-hero-carousel__slide.is-active {
        position: relative;
        opacity: 1;
        pointer-events: auto;
    }

    /* Natural image sizing */
    .cn-hero-carousel__slide img {
        width: 100%;
        height: auto;
        display: block;
    }

/* Arrows overlay */
.cn-hero-carousel__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.35);
    background: rgba(0,0,0,.35);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    display: grid;
    place-items: center;
    user-select: none;
    z-index: 5;
}

    .cn-hero-carousel__arrow:hover {
        background: rgba(0,0,0,.5);
    }

.cn-hero-carousel__arrow--left {
    left: 16px;
}

.cn-hero-carousel__arrow--right {
    right: 16px;
}
/* Login tabs (Email / Phone) */
.cn-authTabs {
    display: flex;
    gap: 10px;
    margin: 10px 0 14px;
}

.cn-authTab {
    flex: 1;
    height: 40px;
    border-radius: 12px;
    border: 1px solid rgba(149,31,31,.25);
    background: rgba(149,31,31,.04);
    color: #951f1f;
    font-weight: 900;
    cursor: pointer;
}

    .cn-authTab.is-active {
        background: #951f1f;
        color: #fff;
        border-color: #951f1f;
    }

.cn-tabPanel {
    display: none;
}

    .cn-tabPanel.is-active {
        display: block;
    }

.cn-remember {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    color: rgba(0,0,0,.75);
}
/* =========================================================
   STEP 18.5B
   MY ACCOUNT DASHBOARD
   ========================================================= */


/* =========================================================
   PAGE
   ========================================================= */

.cn-account {
    box-sizing: border-box;
    width: 100%;
    padding: 34px 18px 64px;
    background: linear-gradient( 180deg, #fff 0%, #fff8f0 100% );
    color: var( --cn-brand-text, #281612 );
}


    .cn-account *,
    .cn-account *::before,
    .cn-account *::after {
        box-sizing: border-box;
    }


.cn-account__shell {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}


/* =========================================================
   ALERTS
   ========================================================= */

.cn-accountAlert {
    margin-bottom: 18px;
    padding: 13px 16px;
    border-radius: 13px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.5;
}


.cn-accountAlert--success {
    border: 1px solid #a7d9ad;
    background: #e8f7ea;
    color: #23652c;
}


.cn-accountAlert--error {
    border: 1px solid #efb1b1;
    background: #fff0f0;
    color: #9c2020;
}


/* =========================================================
   HERO
   ========================================================= */

.cn-accountHero {
    position: relative;
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 34px;
    border-radius: 28px;
    color: #fff;
    background: radial-gradient( circle at 80% 20%, rgba(245, 130, 32, .26), transparent 35% ), linear-gradient( 135deg, #691d0e, #270a06 58%, #050505 );
    box-shadow: 0 22px 48px rgba(0, 0, 0, .14);
    overflow: hidden;
}


    .cn-accountHero::after {
        content: "";
        position: absolute;
        width: 220px;
        height: 220px;
        right: -70px;
        bottom: -100px;
        border-radius: 50%;
        background: rgba(245, 130, 32, .13);
        pointer-events: none;
    }


.cn-accountHero__content {
    position: relative;
    z-index: 1;
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 20px;
}


.cn-accountAvatar {
    display: flex;
    width: 78px;
    height: 78px;
    flex: 0 0 78px;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, .25);
    border-radius: 50%;
    background: linear-gradient( 135deg, #f58220, #d86712 );
    box-shadow: 0 14px 28px rgba(245, 130, 32, .30);
    color: #fff;
    font-size: 24px;
    font-weight: 950;
}


.cn-accountHero__text {
    min-width: 0;
}


.cn-accountEyebrow {
    margin-bottom: 6px;
    color: #f9a14a;
    font-size: 11px;
    font-weight: 950;
    letter-spacing: .13em;
    text-transform: uppercase;
}


.cn-accountHero__title {
    margin: 0;
    max-width: 100%;
    color: #fff;
    font-family: "Playfair Display", serif;
    font-size: clamp( 34px, 5vw, 50px );
    font-weight: 800;
    line-height: 1.02;
    overflow-wrap: anywhere;
}


.cn-accountHero__subtitle {
    max-width: 610px;
    margin: 10px 0 0;
    color: rgba( 255, 255, 255, .76 );
    font-size: 15px;
    line-height: 1.55;
}


.cn-accountHero__actions {
    position: relative;
    z-index: 1;
    display: flex;
    flex: 0 0 auto;
    gap: 10px;
    flex-wrap: wrap;
}


/*
   White outline works better against
   the dark account hero.
*/

.cn-accountHero
.cn-brandBtn--outline {
    border-color: rgba(255, 255, 255, .65);
    background: rgba(255, 255, 255, .06);
    color: #fff;
}


    .cn-accountHero
    .cn-brandBtn--outline:hover {
        background: #fff;
        color: #d86712;
    }


/* =========================================================
   STAT CARDS
   ========================================================= */

.cn-accountStats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 20px 0;
}


.cn-accountStat {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 3px;
    padding: 20px;
    border: 1px solid rgba(149, 31, 31, .10);
    border-radius: 18px;
    background: #fff;
    color: #281612;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .045);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}


    .cn-accountStat:hover {
        transform: translateY(-2px);
        border-color: rgba(245, 130, 32, .45);
        box-shadow: 0 16px 34px rgba(245, 130, 32, .10);
    }


.cn-accountStat__value {
    color: #f58220;
    font-family: "Playfair Display", serif;
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
}


.cn-accountStat__label {
    margin-top: 4px;
    color: rgba(40, 22, 18, .66);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .035em;
    text-transform: uppercase;
}


/* =========================================================
   MAIN GRID
   ========================================================= */

.cn-accountGrid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 18px;
}


/* =========================================================
   CARDS
   ========================================================= */

.cn-accountCard {
    min-width: 0;
    padding: 24px;
    border: 1px solid rgba(149, 31, 31, .10);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(0, 0, 0, .05);
}


.cn-accountCard__head {
    display: flex;
    min-width: 0;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 20px;
}


    .cn-accountCard__head > div {
        min-width: 0;
    }


.cn-accountCard__eyebrow {
    margin-bottom: 5px;
    color: #f58220;
    font-size: 11px;
    font-weight: 950;
    letter-spacing: .11em;
    text-transform: uppercase;
}


.cn-accountCard__title,
.cn-accountSection__title {
    margin: 0;
    color: #951f1f;
    font-family: "Playfair Display", serif;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.15;
    overflow-wrap: anywhere;
}


.cn-accountCard__link {
    flex: 0 0 auto;
    color: #d86712;
    font-size: 13px;
    font-weight: 850;
    text-decoration: none;
}


    .cn-accountCard__link:hover {
        text-decoration: underline;
    }


/* =========================================================
   ACCOUNT INFO
   ========================================================= */

.cn-accountInfo {
    display: flex;
    flex-direction: column;
}


.cn-accountInfo__row {
    display: flex;
    min-width: 0;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(0, 0, 0, .065);
}


    .cn-accountInfo__row:first-child {
        padding-top: 0;
    }


    .cn-accountInfo__row:last-child {
        padding-bottom: 0;
        border-bottom: 0;
    }


.cn-accountInfo__label {
    flex: 0 0 auto;
    color: rgba(40, 22, 18, .60);
    font-size: 13px;
    font-weight: 750;
}


.cn-accountInfo__valueWrap {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}


.cn-accountInfo__value {
    min-width: 0;
    max-width: 100%;
    color: #281612;
    font-size: 14px;
    font-weight: 850;
    text-align: right;
    overflow-wrap: anywhere;
    word-break: break-word;
}


/* =========================================================
   STATUS PILLS
   ========================================================= */

.cn-accountStatus {
    display: inline-flex;
    max-width: 100%;
    align-items: center;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
    line-height: 1.25;
}


.cn-accountStatus--verified {
    background: #e8f7ea;
    color: #23652c;
}


.cn-accountStatus--warning {
    background: #fff3cd;
    color: #7a5a00;
}


/* =========================================================
   VERIFY EMAIL BOX
   ========================================================= */

.cn-accountVerify {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 20px;
    padding: 15px;
    border: 1px solid rgba(245, 130, 32, .25);
    border-radius: 15px;
    background: #fff8f0;
}


    .cn-accountVerify > div {
        min-width: 0;
    }


    .cn-accountVerify strong {
        color: #281612;
        font-size: 14px;
    }


    .cn-accountVerify p {
        margin: 4px 0 0;
        color: rgba(40, 22, 18, .65);
        font-size: 12.5px;
        line-height: 1.5;
    }


/* =========================================================
   LATEST ORDER
   ========================================================= */

.cn-accountRecentOrder {
    display: block;
    min-width: 0;
    padding: 17px;
    border: 1px solid rgba(245, 130, 32, .18);
    border-radius: 17px;
    background: #fffaf5;
    color: #281612;
    text-decoration: none;
    transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}


    .cn-accountRecentOrder:hover {
        transform: translateY(-2px);
        border-color: rgba(245, 130, 32, .55);
        box-shadow: 0 14px 28px rgba(245, 130, 32, .10);
    }


.cn-accountRecentOrder__top {
    display: flex;
    min-width: 0;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}


.cn-accountRecentOrder__label {
    display: block;
    margin-bottom: 4px;
    color: rgba(40, 22, 18, .55);
    font-size: 11px;
    font-weight: 850;
    text-transform: uppercase;
}


.cn-accountRecentOrder__number {
    display: block;
    min-width: 0;
    color: #951f1f;
    font-size: 17px;
    font-weight: 950;
    overflow-wrap: anywhere;
}


.cn-accountRecentOrder__status {
    flex: 0 0 auto;
    max-width: 48%;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(245, 130, 32, .12);
    color: #b8540d;
    font-size: 11px;
    font-weight: 900;
    text-align: center;
    overflow-wrap: anywhere;
}


.cn-accountRecentOrder__meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 16px;
}


    .cn-accountRecentOrder__meta > div {
        display: flex;
        min-width: 0;
        flex-direction: column;
        gap: 3px;
        padding: 11px;
        border-radius: 12px;
        background: #fff;
    }


    .cn-accountRecentOrder__meta span {
        color: rgba(40, 22, 18, .55);
        font-size: 11px;
        font-weight: 750;
    }


    .cn-accountRecentOrder__meta strong {
        overflow-wrap: anywhere;
    }


.cn-accountRecentOrder__hint {
    margin-top: 10px;
    color: #83634f;
    font-size: 11px;
    line-height: 1.45;
}


.cn-accountRecentOrder__open {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 15px;
    padding-top: 13px;
    border-top: 1px solid rgba(0, 0, 0, .07);
    color: #d86712;
    font-size: 13px;
    font-weight: 900;
}


/* =========================================================
   EMPTY
   ========================================================= */

.cn-accountEmpty {
    padding: 24px 10px;
    text-align: center;
}


.cn-accountEmpty__icon {
    margin-bottom: 8px;
    font-size: 32px;
}


.cn-accountEmpty strong {
    display: block;
    color: #281612;
    font-size: 16px;
}


.cn-accountEmpty p {
    margin: 7px 0 16px;
    color: rgba(40, 22, 18, .60);
    font-size: 13px;
    line-height: 1.5;
}


/* =========================================================
   QUICK ACTIONS
   ========================================================= */

.cn-accountSection {
    margin: 18px 0;
}


.cn-accountSection__head {
    margin-bottom: 14px;
}


.cn-accountQuickGrid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}


.cn-accountQuickCard {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    min-width: 0;
    gap: 12px;
    align-items: center;
    padding: 17px;
    border: 1px solid rgba(149, 31, 31, .10);
    border-radius: 18px;
    background: #fff;
    color: #281612;
    text-decoration: none;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .04);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}


    .cn-accountQuickCard:hover {
        transform: translateY(-2px);
        border-color: rgba(245, 130, 32, .5);
        box-shadow: 0 14px 30px rgba(245, 130, 32, .10);
    }


.cn-accountQuickCard__icon {
    display: flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: #fff4e8;
    font-size: 19px;
}


.cn-accountQuickCard > div:nth-child(2) {
    min-width: 0;
}


.cn-accountQuickCard strong {
    display: block;
    color: #951f1f;
    font-size: 14px;
}


.cn-accountQuickCard span:not( .cn-accountQuickCard__arrow) {
    display: block;
    margin-top: 3px;
    color: rgba(40, 22, 18, .58);
    font-size: 11.5px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}


.cn-accountQuickCard__arrow {
    flex: 0 0 auto;
    color: #f58220;
    font-size: 18px;
}


/* =========================================================
   SECURITY
   ========================================================= */

.cn-accountSecurity {
    margin-top: 18px;
}


.cn-accountSecurity__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}


.cn-accountSecurityBox {
    display: flex;
    min-width: 0;
    align-items: flex-start;
    gap: 12px;
    padding: 15px;
    border: 1px solid rgba(0, 0, 0, .07);
    border-radius: 15px;
    background: #fffaf5;
}


.cn-accountSecurityBox__icon {
    display: flex;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(245, 130, 32, .12);
    font-size: 18px;
}


.cn-accountSecurityBox > div:last-child {
    min-width: 0;
}


.cn-accountSecurityBox strong {
    display: block;
    color: #281612;
    font-size: 14px;
}


.cn-accountSecurityBox p {
    margin: 4px 0 8px;
    color: rgba(40, 22, 18, .60);
    font-size: 12.5px;
    line-height: 1.5;
}


/* =========================================================
   CHANGE PASSWORD
   ========================================================= */

.cn-accountPassword {
    margin-top: 16px;
    border: 1px solid rgba(245, 130, 32, .22);
    border-radius: 15px;
    background: #fff;
}


    .cn-accountPassword summary {
        min-height: 50px;
        display: flex;
        align-items: center;
        padding: 12px 15px;
        color: #d86712;
        font-size: 14px;
        font-weight: 900;
        cursor: pointer;
        list-style: none;
    }


        .cn-accountPassword summary::-webkit-details-marker {
            display: none;
        }


        .cn-accountPassword summary::after {
            content: "+";
            margin-left: auto;
            font-size: 21px;
            font-weight: 600;
        }


    .cn-accountPassword[open]
    summary::after {
        content: "−";
    }


.cn-accountPassword__form {
    padding: 0 15px 15px;
}


.cn-accountPassword__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid rgba(0, 0, 0, .07);
}


.cn-accountField {
    min-width: 0;
}


    .cn-accountField label {
        display: block;
        margin-bottom: 6px;
        color: #281612;
        font-size: 12px;
        font-weight: 850;
    }


    .cn-accountField input {
        display: block;
        width: 100%;
        min-width: 0;
        min-height: 46px;
        padding: 10px 12px;
        border: 1px solid rgba(0, 0, 0, .14);
        border-radius: 12px;
        background: #fff;
        font-family: inherit;
        font-size: 15px;
        outline: none;
    }


        .cn-accountField input:focus {
            border-color: #f58220;
            box-shadow: 0 0 0 4px rgba(245, 130, 32, .10);
        }


.cn-accountPassword__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 14px;
}


    .cn-accountPassword__footer > span {
        color: rgba(40, 22, 18, .55);
        font-size: 11.5px;
    }


/* =========================================================
   LOGOUT
   ========================================================= */

.cn-accountLogout {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 18px;
    padding: 18px 20px;
    border: 1px solid rgba(149, 31, 31, .12);
    border-radius: 18px;
    background: #fff;
}


    .cn-accountLogout > div {
        min-width: 0;
    }


    .cn-accountLogout strong {
        display: block;
        color: #281612;
        font-size: 14px;
    }


    .cn-accountLogout span {
        display: block;
        margin-top: 3px;
        color: rgba(40, 22, 18, .56);
        font-size: 12px;
    }


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 980px) {

    .cn-accountHero {
        flex-direction: column;
        align-items: stretch;
    }

    .cn-accountHero__actions {
        width: 100%;
    }

    .cn-accountStats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cn-accountQuickGrid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .cn-account {
        padding: 20px 12px 44px;
    }


    /* HERO */

    .cn-accountHero {
        gap: 22px;
        padding: 22px;
        border-radius: 22px;
    }

    .cn-accountHero__content {
        align-items: flex-start;
        gap: 14px;
    }

    .cn-accountAvatar {
        width: 58px;
        height: 58px;
        flex-basis: 58px;
        font-size: 19px;
    }

    .cn-accountHero__title {
        font-size: clamp( 30px, 9vw, 40px );
    }

    .cn-accountHero__subtitle {
        font-size: 14px;
    }

    .cn-accountHero__actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 9px;
    }

        .cn-accountHero__actions
        .cn-brandBtn {
            width: 100%;
        }


    /* STATS */

    .cn-accountStats {
        gap: 10px;
    }

    .cn-accountStat {
        padding: 16px;
    }

    .cn-accountStat__value {
        font-size: 27px;
    }


    /* MAIN */

    .cn-accountGrid {
        grid-template-columns: 1fr;
    }

    .cn-accountCard {
        padding: 18px;
        border-radius: 18px;
    }

    .cn-accountCard__title,
    .cn-accountSection__title {
        font-size: 21px;
    }


    /* SECURITY */

    .cn-accountSecurity__grid {
        grid-template-columns: 1fr;
    }

    .cn-accountPassword__grid {
        grid-template-columns: 1fr;
    }

    .cn-accountField input {
        font-size: 16px;
    }


    /* VERIFY */

    .cn-accountVerify {
        flex-direction: column;
        align-items: stretch;
    }

        .cn-accountVerify
        .cn-brandBtn {
            width: 100%;
        }


    /* PASSWORD */

    .cn-accountPassword__footer {
        flex-direction: column;
        align-items: stretch;
    }

        .cn-accountPassword__footer
        .cn-brandBtn {
            width: 100%;
        }


    /* LOGOUT */

    .cn-accountLogout {
        flex-direction: column;
        align-items: stretch;
    }

        .cn-accountLogout
        .cn-brandBtn {
            width: 100%;
        }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .cn-account {
        padding-left: 10px;
        padding-right: 10px;
    }

    .cn-accountHero {
        padding: 18px;
    }

    .cn-accountHero__content {
        flex-direction: column;
    }

    .cn-accountStats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cn-accountStat {
        padding: 14px;
    }

    .cn-accountStat__value {
        font-size: 25px;
    }

    .cn-accountStat__label {
        font-size: 10px;
    }

    .cn-accountInfo__row {
        flex-direction: column;
        gap: 5px;
    }

    .cn-accountInfo__valueWrap {
        align-items: flex-start;
    }

    .cn-accountInfo__value {
        text-align: left;
    }

    .cn-accountRecentOrder__top {
        flex-direction: column;
    }

    .cn-accountRecentOrder__status {
        max-width: 100%;
    }

    .cn-accountQuickGrid {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 360px) {

    .cn-account {
        padding-left: 8px;
        padding-right: 8px;
    }

    .cn-accountStats {
        grid-template-columns: 1fr 1fr;
    }

    .cn-accountStat {
        padding: 12px;
    }
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .cn-accountStat,
    .cn-accountQuickCard,
    .cn-accountRecentOrder {
        transition: none;
    }

        .cn-accountStat:hover,
        .cn-accountQuickCard:hover,
        .cn-accountRecentOrder:hover {
            transform: none;
        }
}