/* =========================================================
   AUTHENTICATION
========================================================= */

.auth-page {
    min-height: 100vh;
    background: #f8f5f0;
}

.auth-wrapper {
    width: 100%;
    max-width: 540px;
    margin: auto;
    padding: 45px 20px;
}

.auth-brand {
    text-align: center;
    margin-bottom: 25px;
}

.auth-brand a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #3d2630;
    text-decoration: none;
    font-family: "Playfair Display", serif;
    font-size: 30px;
    font-weight: 700;
}

.auth-brand .brand-icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #801919;
    color: #fff;
    border-radius: 50%;
}

.auth-card {
    background: #fff;
    border-radius: 24px;
    padding: 42px;
    box-shadow: 0 20px 60px rgba(61, 38, 48, 0.10);
}

.auth-heading {
    text-align: center;
    margin-bottom: 30px;
}

.auth-heading span {
    color: #801919;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.auth-heading h1 {
    margin: 8px 0;
    color: #3d2630;
    font-family: "Playfair Display", serif;
    font-size: 38px;
    font-weight: 700;
}

.auth-heading p {
    color: #777;
    margin: 0;
    line-height: 1.7;
}

.auth-card .form-label {
    color: #3d2630;
    font-size: 14px;
    font-weight: 600;
}

.auth-card .form-control {
    min-height: 52px;
    border: 1px solid #e5ddd8;
    border-radius: 12px;
    padding: 12px 15px;
    box-shadow: none;
}

.auth-card .form-control:focus {
    border-color: #801919;
    box-shadow: 0 0 0 4px rgba(128, 25, 25, 0.08);
}

.auth-submit {
    width: 100%;
    min-height: 54px;
    border: 0;
    border-radius: 12px;
    background: #801919;
    color: #fff;
    font-weight: 700;
    padding: 13px 20px;
    transition: .25s ease;
}

.auth-submit:hover {
    background: #6e0348;
    color: #fff;
    transform: translateY(-2px);
}

.auth-submit i {
    margin-left: 8px;
}

.auth-footer,
.auth-register {
    text-align: center;
    margin-top: 25px;
    color: #777;
}

.auth-footer a,
.auth-register a,
.forgot-link {
    color: #801919;
    font-weight: 700;
    text-decoration: none;
}

.auth-footer a:hover,
.auth-register a:hover,
.forgot-link:hover {
    color: #6e0348;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 25px 0;
    color: #aaa;
    font-size: 12px;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e8e0dc;
}

.password-field {
    position: relative;
}

.password-field .form-control {
    padding-right: 50px;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #777;
}

.auth-back {
    text-align: center;
    margin-top: 25px;
}

.auth-back a {
    color: #777;
    text-decoration: none;
}

.auth-back a:hover {
    color: #801919;
}


/* =========================================================
   ACCOUNT
========================================================= */

.account-section {
    padding: 70px 0;
    background: #f8f5f0;
    min-height: calc(100vh - 80px);
}

.account-section > .container > .row {
    min-height: calc(100vh - 220px);
    align-items: stretch;
}

.account-sidebar {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(61, 38, 48, .07);
    position: sticky;
    top: 100px;
    max-height: calc(100vh - 125px);
    overflow-y: auto;
}

.account-security-wrapper {
    max-width: 760px;
    margin: 0 auto;
    padding: 0;
}

.account-user {
    padding: 30px 20px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.account-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: #801919;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    overflow: hidden;
}

.account-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.account-user strong {
    display: block;
    color: #3d2630;
}

.account-user small {
    display: block;
    color: #888;
    margin-top: 5px;
    word-break: break-word;
}

.account-menu {
    padding: 12px;
}

.account-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 15px;
    border-radius: 10px;
    color: #555;
    text-decoration: none;
    margin-bottom: 4px;
    transition: .2s ease;
}

.account-menu a:hover,
.account-menu a.active {
    background: rgba(128, 25, 25, .08);
    color: #801919;
}

.account-menu .logout-link {
    margin-top: 15px;
    border-top: 1px solid #eee;
    padding-top: 18px;
}

.account-heading span,
.account-page-heading span {
    color: #801919;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

.account-heading h1,
.account-page-heading h1 {
    font-family: "Playfair Display", serif;
    color: #3d2630;
    font-weight: 700;
    margin: 7px 0;
}

.account-heading p,
.account-page-heading p {
    color: #777;
}

.account-stat {
    background: #fff;
    border-radius: 18px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(61, 38, 48, .06);
}

.account-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(128, 25, 25, .08);
    color: #801919;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    font-size: 21px;
}

.account-stat strong {
    display: block;
    font-size: 25px;
    color: #3d2630;
}

.account-stat span {
    color: #888;
    font-size: 14px;
}

.latest-order-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 25px;
    border: 1px solid #eee5df;
    border-radius: 15px;
    background: #fff;
}

/* =========================================================
   CUSTOMER DASHBOARD
========================================================= */

.dashboard-intro {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.dashboard-eyebrow,
.dashboard-section-heading span {
    color: #801919;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.dashboard-intro h1 {
    margin: 7px 0 6px;
    color: #3d2630;
    font-family: "Playfair Display", serif;
    font-size: 43px;
    font-weight: 700;
}

.dashboard-intro p {
    margin: 0;
    color: #777;
}

.dashboard-shop-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 11px 16px;
    border: 1px solid #801919;
    border-radius: 9px;
    color: #801919;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.dashboard-shop-link:hover {
    background: #801919;
    color: #fff;
}

.dashboard-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.dashboard-metric-card {
    display: flex;
    align-items: center;
    gap: 13px;
    min-height: 104px;
    padding: 18px;
    border: 1px solid #eee5df;
    border-radius: 14px;
    background: #fff;
    color: #3d2630;
    text-decoration: none;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.dashboard-metric-card:hover {
    border-color: rgba(128, 25, 25, .35);
    box-shadow: 0 12px 24px rgba(61, 38, 48, .07);
    color: #3d2630;
    transform: translateY(-2px);
}

.dashboard-metric-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 11px;
    background: rgba(128, 25, 25, .08);
    color: #801919;
    font-size: 18px;
}

.dashboard-metric-card span:nth-child(2) {
    min-width: 0;
}

.dashboard-metric-card strong,
.dashboard-metric-card small {
    display: block;
}

.dashboard-metric-card strong {
    font-size: 21px;
    line-height: 1.1;
}

.dashboard-metric-card small {
    margin-top: 5px;
    color: #888;
    font-size: 12px;
}

.metric-arrow {
    margin-left: auto;
    align-self: flex-start;
    color: #b5a6a0;
    font-size: 14px;
}

.dashboard-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin: 34px 0 15px;
}

.dashboard-section-heading h2 {
    margin: 5px 0 0;
    color: #3d2630;
    font-family: "Playfair Display", serif;
    font-size: 24px;
}

.dashboard-section-heading > a {
    color: #801919;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.dashboard-section-heading > a i {
    margin-left: 5px;
}

.dashboard-order-card {
    padding: 23px 25px;
    border: 1px solid #eee5df;
    border-radius: 15px;
    background: #fff;
}

.dashboard-order-topline,
.dashboard-order-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.dashboard-order-topline small,
.dashboard-order-topline strong {
    display: block;
}

.dashboard-order-topline small {
    color: #999;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dashboard-order-topline strong {
    margin-top: 4px;
    color: #3d2630;
    font-size: 16px;
}

.dashboard-progress {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin: 30px 0 25px;
}

.dashboard-progress::before {
    content: "";
    position: absolute;
    top: 12px;
    left: 11%;
    right: 11%;
    height: 2px;
    background: #e9e0db;
}

.dashboard-progress-step {
    position: relative;
    z-index: 1;
    text-align: center;
}

.dashboard-progress-step span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    border: 2px solid #dfd3cc;
    border-radius: 50%;
    background: #fff;
    color: #b8aaa3;
    font-size: 12px;
}

.dashboard-progress-step.is-complete span {
    border-color: #801919;
    background: #801919;
    color: #fff;
}

.dashboard-progress-step small {
    display: block;
    margin-top: 8px;
    color: #999;
    font-size: 11px;
}

.dashboard-progress-step.is-complete small {
    color: #801919;
    font-weight: 700;
}

.dashboard-order-meta {
    justify-content: flex-start;
    flex-wrap: wrap;
    padding-top: 17px;
    border-top: 1px solid #eee5df;
    color: #777;
    font-size: 12px;
}

.dashboard-order-meta i {
    margin-right: 5px;
    color: #801919;
}

.dashboard-order-action {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 18px;
    color: #801919;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.dashboard-empty-order {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 24px;
    border: 1px dashed #d9c9c0;
    border-radius: 15px;
    background: #fff;
}

.dashboard-empty-order > i {
    color: #801919;
    font-size: 29px;
}

.dashboard-empty-order strong,
.dashboard-empty-order p {
    display: block;
}

.dashboard-empty-order strong {
    color: #3d2630;
}

.dashboard-empty-order p {
    margin: 4px 0 0;
    color: #888;
    font-size: 13px;
}

.dashboard-empty-order .btn-outline-custom {
    margin-left: auto;
    white-space: nowrap;
}

.dashboard-shortcuts-heading {
    margin-top: 34px;
}

.dashboard-shortcuts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.dashboard-shortcuts a {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 67px;
    padding: 12px 14px;
    border: 1px solid #eee5df;
    border-radius: 12px;
    background: #fff;
    color: #3d2630;
    text-decoration: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.dashboard-shortcuts a:hover {
    border-color: rgba(128, 25, 25, .35);
    box-shadow: 0 8px 18px rgba(61, 38, 48, .06);
}

.dashboard-shortcuts a > i:first-child {
    color: #801919;
    font-size: 18px;
}

.dashboard-shortcuts a > i:last-child {
    margin-left: auto;
    color: #b5a6a0;
    font-size: 13px;
}

.dashboard-shortcuts span,
.dashboard-shortcuts small {
    display: block;
}

.dashboard-shortcuts span {
    font-size: 13px;
    font-weight: 700;
}

.dashboard-shortcuts small {
    margin-top: 3px;
    color: #999;
    font-size: 11px;
    font-weight: 400;
}

.dashboard-shop-banner {
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .dashboard-intro {
        display: block;
    }

    .dashboard-intro h1 {
        font-size: 32px;
    }

    .dashboard-shop-link {
        margin-top: 18px;
    }

    .dashboard-metrics,
    .dashboard-shortcuts {
        grid-template-columns: 1fr;
    }

    .dashboard-section-heading {
        align-items: flex-start;
        display: block;
    }

    .dashboard-section-heading > a {
        display: inline-block;
        margin-top: 9px;
    }

    .dashboard-order-topline {
        align-items: flex-start;
        display: block;
    }

    .dashboard-order-topline .status-badge {
        margin-top: 12px;
    }

    .dashboard-progress-step small {
        font-size: 9px;
    }

    .dashboard-empty-order {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .dashboard-empty-order .btn-outline-custom {
        margin-left: 47px;
    }
}

.latest-order-card span {
    color: #801919;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.latest-order-card h2 {
    margin: 5px 0;
    color: #3d2630;
    font-family: "Playfair Display", serif;
    font-size: 22px;
}

.latest-order-card p {
    margin: 0;
    color: #777;
    font-size: 13px;
}

.account-welcome-card {
    background: linear-gradient(
        135deg,
        #801919,
        #6e0348
    );
    border-radius: 22px;
    padding: 40px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
}

.account-welcome-card span {
    opacity: .8;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
    font-weight: 700;
}

.account-welcome-card h2 {
    font-family: "Playfair Display", serif;
    font-size: 34px;
    margin: 8px 0;
}

.account-welcome-card p {
    opacity: .85;
}

.account-welcome-card > i {
    font-size: 100px;
    opacity: .15;
}

.btn-primary-custom {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 22px;
    background: #801919;
    color: #fff;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    border: 0;
}

.account-welcome-card .btn-primary-custom {
    background: #fff;
    color: #801919;
}

.account-page-card {
    background: #fff;
    max-width: 900px;
    margin: auto;
    border-radius: 22px;
    padding: 40px;
    box-shadow: 0 15px 45px rgba(61, 38, 48, .07);
}

.profile-information {
    margin-top: 30px;
}

.profile-row {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding: 18px 0;
    border-bottom: 1px solid #eee;
}

.profile-row span {
    color: #888;
}

.profile-row strong {
    color: #3d2630;
    text-align: right;
}

.btn-outline-custom {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #801919;
    color: #801919;
    padding: 10px 18px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
}

.btn-outline-custom:hover {
    background: #801919;
    color: #fff;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .auth-wrapper {
        padding: 25px 15px;
    }

    .auth-card {
        padding: 25px 20px;
    }

    .auth-heading h1 {
        font-size: 31px;
    }

    .account-section {
        padding: 40px 0;
    }

    .account-section > .container > .row {
        min-height: 0;
    }

    .account-sidebar {
        position: static;
        max-height: none;
    }

    .account-page-card {
        padding: 25px 20px;
    }

    .account-welcome-card {
        padding: 28px;
    }

    .account-welcome-card h2 {
        font-size: 27px;
    }

    .account-welcome-card > i {
        display: none;
    }

    .profile-row {
        display: block;
    }

    .profile-row strong {
        display: block;
        text-align: left;
        margin-top: 5px;
    }

}
/* =========================================================
   ORDERS
========================================================= */

.orders-table-wrapper {
    overflow-x: auto;
    margin-top: 30px;
}

.orders-table {
    min-width: 850px;
    vertical-align: middle;
}

.orders-table thead th {
    background: #f8f5f0;
    color: #3d2630;
    border: 0;
    padding: 15px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.orders-table tbody td {
    padding: 18px 15px;
    border-color: #eee;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 11px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
}

.status-pending {
    background: #fff4d6;
    color: #916b00;
}

.status-processing {
    background: #e9e3ff;
    color: #5d42a5;
}

.status-shipped {
    background: #e3f1ff;
    color: #1465a0;
}

.status-delivered,
.status-paid,
.status-active {
    background: #e3f8ed;
    color: #16734a;
}

.status-failed,
.status-cancelled {
    background: #ffe7e7;
    color: #a42c2c;
}

.status-refunded,
.status-returned {
    background: #f0e6ff;
    color: #7441a5;
}

.order-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #801919;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
}

.order-view-btn:hover {
    color: #6e0348;
}


/* =========================================================
   EMPTY ACCOUNT
========================================================= */

.empty-account-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-icon {
    width: 75px;
    height: 75px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(128, 25, 25, .08);
    color: #801919;
    font-size: 30px;
}

.empty-account-state h3 {
    color: #3d2630;
    font-family: "Playfair Display", serif;
}

.empty-account-state p {
    color: #888;
    margin-bottom: 25px;
}


/* =========================================================
   ORDER DETAILS
========================================================= */

.order-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.order-detail-header span:first-child {
    color: #801919;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

.order-detail-header h1 {
    color: #3d2630;
    font-family: "Playfair Display", serif;
    margin: 7px 0;
}

.order-detail-header p {
    color: #888;
    margin: 0;
}

.order-tracking-card {
    margin-bottom: 30px;
    padding: 25px;
    border: 1px solid #eee5df;
    border-radius: 15px;
    background: #faf8f5;
}

.tracking-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.tracking-heading span {
    color: #801919;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.tracking-heading h2 {
    margin: 5px 0 0;
    color: #3d2630;
    font-family: "Playfair Display", serif;
    font-size: 24px;
}

.tracking-heading > i {
    color: #801919;
    font-size: 28px;
}

.tracking-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 30px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #e8dfd8;
}

.tracking-meta span {
    display: flex;
    flex-direction: column;
    gap: 3px;
    color: #777;
    font-size: 13px;
}

.tracking-meta strong {
    color: #3d2630;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.tracking-timeline {
    margin-top: 22px;
}

.tracking-event {
    position: relative;
    display: flex;
    gap: 14px;
    padding: 0 0 20px 4px;
}

.tracking-event:not(:last-child)::before {
    content: "";
    position: absolute;
    top: 12px;
    bottom: 0;
    left: 8px;
    width: 1px;
    background: #d9c9c0;
}

.tracking-dot {
    position: relative;
    z-index: 1;
    width: 9px;
    height: 9px;
    margin-top: 4px;
    flex: 0 0 9px;
    border-radius: 50%;
    background: #801919;
    box-shadow: 0 0 0 4px #f1e4dc;
}

.tracking-event strong,
.tracking-event small,
.tracking-event p {
    display: block;
}

.tracking-event strong {
    color: #3d2630;
    font-size: 14px;
}

.tracking-event small {
    margin-top: 3px;
    color: #999;
    font-size: 11px;
}

.tracking-event p {
    margin: 5px 0 0;
    color: #777;
    font-size: 13px;
}

.order-items-list {
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.order-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.order-item:last-child {
    border-bottom: 0;
}

.order-item-image {
    width: 85px;
    height: 85px;
    flex: 0 0 85px;
    border-radius: 12px;
    overflow: hidden;
    background: #f5f1ed;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 25px;
}

.order-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.order-item-info {
    flex: 1;
}

.order-item-info h4 {
    font-size: 16px;
    color: #3d2630;
    margin: 0 0 5px;
}

.order-item-info small {
    color: #999;
}

.order-item-info p {
    color: #777;
    margin: 8px 0 0;
}

.order-item > strong {
    color: #3d2630;
}

.order-info-box,
.order-summary-box {
    background: #faf8f5;
    border-radius: 15px;
    padding: 25px;
    height: 100%;
}

.order-info-box h3,
.order-summary-box h3 {
    font-family: "Playfair Display", serif;
    color: #3d2630;
    font-size: 21px;
    margin-bottom: 20px;
}

.order-info-box p {
    color: #777;
    line-height: 1.8;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 13px;
    color: #777;
}

.summary-line strong {
    color: #3d2630;
}

.discount-text {
    color: #16734a !important;
}

.total-line {
    font-size: 18px;
}

.total-line strong {
    color: #801919;
    font-size: 20px;
}

.payment-information {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.payment-information small,
.payment-information strong,
.payment-information span {
    display: block;
}

.payment-information small {
    color: #999;
}

.payment-information strong {
    margin: 4px 0;
    color: #3d2630;
}

.payment-information span {
    color: #16734a;
    font-size: 13px;
}

.order-notes {
    margin-top: 25px;
    padding: 20px;
    background: #fff8e8;
    border-radius: 12px;
}

.order-notes strong {
    color: #3d2630;
}

.order-notes p {
    margin: 7px 0 0;
    color: #777;
}


/* =========================================================
   ADDRESSES
========================================================= */

.address-form-card {
    padding: 25px;
    background: #faf8f5;
    border-radius: 16px;
}

.address-form-card h3 {
    font-family: "Playfair Display", serif;
    color: #3d2630;
    margin-bottom: 25px;
}

.saved-addresses {
    display: grid;
    gap: 15px;
}

.address-card {
    border: 1px solid #e9e2dd;
    border-radius: 15px;
    padding: 22px;
    background: #fff;
}

.address-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.address-card-header strong {
    color: #801919;
}

.default-address {
    font-size: 11px;
    font-weight: 700;
    background: #e4f7ec;
    color: #16734a;
    padding: 5px 9px;
    border-radius: 30px;
}

.address-card h4 {
    color: #3d2630;
    font-size: 16px;
    margin-bottom: 8px;
}

.address-card p {
    color: #777;
    line-height: 1.7;
    margin: 0;
}

.address-actions {
    display: flex;
    gap: 15px;
    margin-top: 18px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.address-action {
    color: #801919;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}

.address-action:hover {
    color: #6e0348;
}

.address-action.delete {
    color: #a42c2c;
}


/* =========================================================
   PASSWORD RESET / VERIFICATION
========================================================= */

.development-reset-box {
    margin-top: 25px;
    padding: 18px;
    background: #fff8e8;
    border-radius: 12px;
    text-align: center;
}

.development-reset-box strong {
    display: block;
    color: #3d2630;
}

.development-reset-box p {
    color: #777;
    font-size: 13px;
    margin: 5px 0 10px;
}

.development-reset-box a {
    color: #801919;
    font-weight: 700;
    text-decoration: none;
}

.verification-icon {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 32px;
}

.verification-icon.success {
    background: #e3f8ed;
    color: #16734a;
}

.verification-icon.error {
    background: #ffe7e7;
    color: #a42c2c;
}


/* =========================================================
   ORDER CANCELLATION
========================================================= */

.order-cancel-section {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-top: 30px;
    padding: 24px;
    border: 1px solid rgba(128, 25, 25, .16);
    border-radius: 15px;
    background: linear-gradient(135deg, #fffaf7 0%, #fdf4f1 100%);
    box-shadow: 0 10px 28px rgba(61, 38, 48, .06);
}

.order-cancel-section-icon {
    display: flex;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    color: #801919;
    background: #f8e9e6;
    border-radius: 12px;
    font-size: 20px;
}

.order-cancel-section-content {
    flex: 1;
    min-width: 0;
}

.order-cancel-section .section-eyebrow {
    display: block;
    color: #801919;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.order-cancel-section h3 {
    margin: 5px 0 6px;
    color: #3d2630;
    font-family: "Playfair Display", serif;
    font-size: 22px;
}

.order-cancel-section p {
    margin: 0 0 16px;
    color: #777;
    font-size: 13px;
    line-height: 1.6;
}

.order-detail-cancel-form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.order-cancel-label {
    color: #3d2630;
    font-size: 12px;
    font-weight: 700;
}

.order-cancel-reason {
    width: min(100%, 430px);
    min-height: 88px;
    padding: 11px 13px;
    color: #3d2630;
    background: #fff;
    border: 1px solid #e5d8d2;
    border-radius: 10px;
    outline: none;
    font: inherit;
    font-size: 13px;
    line-height: 1.5;
    resize: vertical;
    transition: .25s ease;
}

.order-cancel-reason::placeholder {
    color: #aaa;
}

.order-cancel-reason:focus {
    border-color: #801919;
    box-shadow: 0 0 0 4px rgba(128, 25, 25, .08);
}

.order-cancel-btn {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 5px;
    padding: 9px 17px;
    color: #801919;
    background: #fff;
    border: 1px solid rgba(128, 25, 25, .3);
    border-radius: 9px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: .25s ease;
}

.order-cancel-btn:hover,
.order-cancel-btn:focus-visible {
    color: #fff;
    background: #801919;
    border-color: #801919;
    box-shadow: 0 6px 14px rgba(128, 25, 25, .18);
}

.order-action-success,
.order-action-error {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding: 13px 15px;
    border-radius: 9px;
    font-size: 13px;
}

.order-action-success {
    color: #23754b;
    background: #eaf7f0;
}

.order-action-error {
    color: #a42c2c;
    background: #ffe7e7;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .account-page-card {
        padding: 25px 18px;
    }

    .order-detail-header {
        display: block;
    }

    .order-detail-header .status-badge {
        margin-top: 15px;
    }

    .order-cancel-section {
        display: block;
        padding: 20px;
    }

    .order-cancel-section-icon {
        margin-bottom: 14px;
    }

    .order-cancel-section h3 {
        font-size: 20px;
    }

    .order-cancel-reason {
        width: 100%;
    }

    .order-item {
        align-items: flex-start;
    }

    .order-item-image {
        width: 65px;
        height: 65px;
        flex-basis: 65px;
    }

    .order-item > strong {
        font-size: 13px;
    }

    .address-form-card {
        padding: 20px;
    }

}
