/* =========================
   General
========================= */

body {
    color: #171717;
    background: #ffffff;

}

a {
    color: inherit;
}


/* =========================
   Navbar
========================= */

.navbar {
    min-height: 72px;
}

.navbar-brand {
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

.navbar .nav-link {
    color: #555;
}

.navbar .nav-link:hover {
    color: #000;
}


/* =========================
   Hero
========================= */

.store-hero {
    background: #f5f5f3;
    padding: 100px 0;
}

.hero-label {
    display: inline-block;
    margin-bottom: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #666;
}

.hero-title {
    margin-bottom: 24px;
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 0.98;
    font-weight: 700;
    letter-spacing: -0.05em;
}

.hero-text {
    max-width: 560px;
    margin-bottom: 32px;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #666;
}


/* =========================
   Section Headings
========================= */

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 28px;
}

.section-heading h2 {
    margin-bottom: 5px;
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.section-heading p {
    margin: 0;
    color: #777;
}


/* =========================
   Categories
========================= */

.category-card {
    display: flex;
    justify-content: space-between;
    align-items: center;

    min-height: 70px;
    padding: 20px;

    border: 1px solid #e5e5e5;
    border-radius: 10px;

    background: #fff;

    text-decoration: none;

    transition:
        transform 0.2s ease,
        border-color 0.2s ease;
}

.category-card:hover {
    transform: translateY(-2px);
    border-color: #aaa;
}

.category-card span {
    font-weight: 600;
}

.category-card i {
    color: #777;
}


/* =========================
   Product Cards
========================= */

.product-card {
    height: 100%;
    overflow: hidden;

    border: 1px solid #e8e8e8;
    border-radius: 12px;

    background: #fff;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}


/* =========================
   Product Image
========================= */

.product-image {
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f5f5f5;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.03);
}


/* =========================
   Product Info
========================= */

.product-info {
    padding: 18px;
}

.product-category {
    margin-bottom: 6px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #888;
}

.product-title {
    margin-bottom: 16px;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
}

.product-title a {
    text-decoration: none;
}

.product-title a:hover {
    text-decoration: underline;
}

.product-price {
    font-size: 1.05rem;
    font-weight: 700;
}


/* =========================
   Stock Status
========================= */

.stock-label {
    font-size: 0.72rem;
    font-weight: 600;
}

.stock-label.low {
    color: #9a6700;
}

.stock-label.out {
    color: #b42318;
}


/* =========================
   Mobile
========================= */

@media (max-width: 767px) {

    .store-hero {
        padding: 70px 0;
    }

    .hero-title {
        font-size: 3rem;
    }

    .product-info {
        padding: 14px;
    }

}


/* =========================
   Product Detail
========================= */

.product-detail {
    max-width: 1100px;
    margin: 0 auto;
}


/* Product image */

.product-detail-image {
    width: 100%;
    aspect-ratio: 1 / 1;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background: #f5f5f5;
    border-radius: 12px;
}

.product-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* Product information */

.product-detail-info {
    padding-top: 10px;
}

.product-detail-category {
    margin-bottom: 10px;

    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;

    color: #888;
}

.product-detail-title {
    margin-bottom: 8px;

    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.04em;
}

.product-detail-brand {
    margin-bottom: 20px;

    font-size: 0.95rem;
    color: #666;
}

.product-detail-price {
    font-size: 1.6rem;
    font-weight: 700;
}


/* Description */

.product-detail-description {
    margin-bottom: 30px;

    color: #555;
    line-height: 1.8;
}


/* Purchase box */

.product-purchase-box {
    padding: 20px;

    border: 1px solid #e5e5e5;
    border-radius: 12px;

    background: #fff;
}

.purchase-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
}

.product-quantity-select {
    width: 100px;
}

.purchase-button-wrapper {
    flex: 1;
}

.product-add-button {
    width: 100%;
    min-height: 42px;

    font-weight: 600;
}


/* Stock */

.product-stock {
    margin-top: 16px;
}

.stock-message {
    padding: 12px 14px;

    border-radius: 8px;

    font-size: 0.9rem;
}

.stock-message-out {
    background: #fef2f2;
    color: #b42318;
}

.stock-message-low {
    background: #fff8e6;
    color: #9a6700;
}

.stock-message-available {
    background: #f0fdf4;
    color: #15803d;
}


/* =========================
   Mobile
========================= */

@media (max-width: 767px) {

    .product-detail-info {
        padding-top: 0;
    }

    .product-detail-title {
        font-size: 2rem;
    }

    .purchase-row {
        flex-direction: column;
        align-items: stretch;
    }

    .product-quantity-select {
        width: 100%;
    }

    .purchase-button-wrapper {
        width: 100%;
    }

}


/* =========================
   Shopping Cart
========================= */

.cart-page {
    background: #ffffff;
    min-height: 70vh;
}

.cart-header {
    margin-bottom: 32px;
}

.cart-header h1 {
    margin-bottom: 6px;

    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.04em;
}

.cart-header p {
    margin: 0;
    color: #777;
}


/* =========================
   Cart Item
========================= */

.cart-item {
    display: flex;
    gap: 24px;

    padding: 24px 0;

    border-bottom: 1px solid #e8e8e8;
}

.cart-item:first-child {
    padding-top: 0;
}


/* Product image */

.cart-item-image {
    flex: 0 0 150px;

    width: 150px;
    height: 150px;

    overflow: hidden;

    border-radius: 10px;

    background: #f5f5f5;
}

.cart-item-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.3s ease;
}

.cart-item-image:hover img {
    transform: scale(1.03);
}


/* Product information */

.cart-item-info {
    flex: 1;
}

.cart-item-main {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.cart-item-title {
    margin: 0 0 5px;

    font-size: 1.15rem;
    font-weight: 600;
}

.cart-item-title a {
    text-decoration: none;
}

.cart-item-title a:hover {
    text-decoration: underline;
}

.cart-item-brand {
    color: #777;
    font-size: 0.9rem;
}

.cart-item-price {
    white-space: nowrap;

    font-size: 1.1rem;
    font-weight: 700;
}


/* Category */

.cart-item .product-category {
    margin-bottom: 5px;
}


/* =========================
   Cart Controls
========================= */

.cart-item-controls {
    display: flex;
    align-items: end;
    justify-content: space-between;

    gap: 20px;

    margin-top: 24px;
}

.cart-quantity label {
    display: block;

    margin-bottom: 6px;

    font-size: 0.8rem;
    font-weight: 600;
    color: #666;
}

.cart-quantity .form-select {
    width: 90px;
}

.cart-actions {
    display: flex;
    gap: 8px;
}


/* =========================
   Cart Summary
========================= */

.cart-summary {
    position: sticky;
    top: 24px;

    padding: 24px;

    border: 1px solid #e5e5e5;
    border-radius: 12px;

    background: #fff;
}

.cart-summary h2 {
    margin-bottom: 24px;

    font-size: 1.2rem;
    font-weight: 700;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;

    font-size: 0.95rem;
}

.cart-summary-row strong {
    font-size: 1.2rem;
}

.cart-summary-divider {
    height: 1px;

    margin: 20px 0;

    background: #e8e8e8;
}

.cart-checkout-button {
    min-height: 44px;

    font-weight: 600;
}

.cart-payment-note {
    margin: 16px 0 0;

    text-align: center;

    font-size: 0.8rem;
    color: #888;
}


/* =========================
   Empty Cart
========================= */

.empty-cart {
    max-width: 500px;

    margin: 80px auto;

    text-align: center;
}

.empty-cart-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 70px;
    height: 70px;

    margin: 0 auto 24px;

    border-radius: 50%;

    background: #f5f5f5;

    font-size: 1.5rem;
    color: #666;
}

.empty-cart h2 {
    margin-bottom: 10px;

    font-size: 1.5rem;
    font-weight: 700;
}

.empty-cart p {
    margin-bottom: 24px;

    color: #777;
}


/* =========================
   Stock Messages
========================= */

.stock-message {
    margin-top: 16px;
    padding: 12px 14px;

    border-radius: 8px;

    font-size: 0.85rem;
}

.stock-message-out {
    background: #fef2f2;
    color: #b42318;
}


/* =========================
   Mobile
========================= */

@media (max-width: 767px) {

    .cart-item {
        gap: 15px;
    }

    .cart-item-image {
        flex: 0 0 100px;

        width: 100px;
        height: 100px;
    }

    .cart-item-main {
        display: block;
    }

    .cart-item-price {
        margin-top: 10px;
    }

    .cart-item-controls {
        display: block;
    }

    .cart-actions {
        margin-top: 12px;
    }

    .cart-summary {
        position: static;
    }

}

/* =========================
   Checkout
========================= */

.checkout-page {
    min-height: 70vh;
    background: #ffffff;
}

.checkout-header {
    margin-bottom: 32px;
}

.checkout-header h1 {
    margin-bottom: 6px;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.04em;
}

.checkout-header p {
    margin: 0;
    color: #777;
}

.checkout-card {
    padding: 28px;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    background: #fff;
}

.checkout-card-header {
    margin-bottom: 28px;
}

.checkout-card-header h2 {
    margin-bottom: 6px;
    font-size: 1.25rem;
    font-weight: 700;
}

.checkout-card-header p {
    margin: 0;
    color: #777;
    font-size: 0.9rem;
}

.checkout-label {
    display: block;
    margin-bottom: 7px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
}

.checkout-optional {
    margin-left: 4px;
    font-weight: 400;
    color: #999;
}

.checkout-input {
    min-height: 46px;
    border-color: #ddd;
    border-radius: 8px;
}

.checkout-input:focus {
    border-color: #888;
    box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.06);
}

.checkout-payment {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 28px;
    padding: 16px;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    background: #fafafa;
}

.checkout-payment-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #f0f0f0;
    color: #333;
}

.checkout-payment strong {
    display: block;
    margin-bottom: 3px;
    font-size: 0.9rem;
}

.checkout-payment p {
    margin: 0;
    font-size: 0.8rem;
    color: #777;
}

.checkout-submit {
    width: 100%;
    min-height: 48px;
    margin-top: 20px;
    font-weight: 600;
}

.checkout-summary {
    position: sticky;
    top: 24px;
    padding: 24px;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    background: #fff;
}

.checkout-summary h2 {
    margin-bottom: 24px;
    font-size: 1.2rem;
    font-weight: 700;
}

.checkout-item {
    display: flex;
    gap: 14px;
    padding: 14px 0;
}

.checkout-item:first-of-type {
    padding-top: 0;
}

.checkout-item-image {
    flex: 0 0 70px;
    width: 70px;
    height: 70px;
    overflow: hidden;
    border-radius: 8px;
    background: #f5f5f5;
}

.checkout-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.checkout-item-info {
    flex: 1;
    min-width: 0;
}

.checkout-item-title {
    margin-bottom: 4px;
    font-size: 0.9rem;
    font-weight: 600;
}

.checkout-item-meta {
    margin-bottom: 6px;
    font-size: 0.8rem;
    color: #888;
}

.checkout-item-price {
    font-size: 0.9rem;
    font-weight: 700;
}

.checkout-summary-divider {
    height: 1px;
    margin: 14px 0 20px;
    background: #e8e8e8;
}

.checkout-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.checkout-total span {
    color: #555;
}

.checkout-total strong {
    font-size: 1.3rem;
}

.checkout-summary-note {
    margin-top: 18px;
    text-align: center;
    font-size: 0.75rem;
    color: #999;
}

.checkout-summary-note i {
    margin-right: 5px;
}

@media (max-width: 991px) {
    .checkout-summary {
        position: static;
    }
}

@media (max-width: 767px) {
    .checkout-card {
        padding: 20px;
    }

    .checkout-summary {
        padding: 20px;
    }

    .checkout-header h1 {
        font-size: 1.8rem;
    }
}

/* =========================
   Order Success
========================= */

.order-success-page {
    min-height: 70vh;
    background: #ffffff;
}

.order-success-card {
    max-width: 620px;
    margin: 40px auto;
    padding: 48px;
    border: 1px solid #e5e5e5;
    border-radius: 14px;
    background: #fff;
    text-align: center;
}

.order-success-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: #f0fdf4;
    color: #15803d;
    font-size: 1.8rem;
}

.order-success-label {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #15803d;
}

.order-success-content h1 {
    margin-bottom: 12px;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.04em;
}

.order-success-message {
    max-width: 480px;
    margin: 0 auto;
    color: #777;
    line-height: 1.7;
}

.order-success-details {
    margin-top: 32px;
    padding: 18px 20px;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    background: #fafafa;
    text-align: left;
}

.order-detail-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 0;
    font-size: 0.9rem;
}

.order-detail-row+.order-detail-row {
    border-top: 1px solid #e8e8e8;
}

.order-detail-row span {
    color: #777;
}

.order-detail-row strong {
    text-align: right;
}

.order-success-actions {
    display: flex;
    gap: 10px;
    margin-top: 28px;
}

.order-success-button {
    flex: 1;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

@media (max-width: 767px) {

    .order-success-card {
        margin: 20px auto;
        padding: 32px 20px;
    }

    .order-success-content h1 {
        font-size: 1.7rem;
    }

    .order-success-actions {
        flex-direction: column;
    }

    .order-success-button {
        width: 100%;
    }

}


/* =========================
   Order Failed
========================= */

.order-failed-page {
    min-height: 70vh;
    background: #ffffff;
}

.order-failed-card {
    max-width: 620px;
    margin: 40px auto;
    padding: 48px;
    border: 1px solid #e5e5e5;
    border-radius: 14px;
    background: #fff;
    text-align: center;
}

.order-failed-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: #fef2f2;
    color: #b42318;
    font-size: 1.5rem;
}

.order-failed-label {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #b42318;
}

.order-failed-content h1 {
    margin-bottom: 12px;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.04em;
}

.order-failed-content p {
    max-width: 480px;
    margin: 0 auto;
    color: #777;
    line-height: 1.7;
}

.order-failed-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 28px;
    padding: 14px 18px;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    background: #fafafa;
    color: #666;
    font-size: 0.85rem;
}

.order-failed-notice i {
    color: #777;
}

.order-failed-actions {
    display: flex;
    gap: 10px;
    margin-top: 28px;
}

.order-failed-button {
    flex: 1;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

@media (max-width: 767px) {

    .order-failed-card {
        margin: 20px auto;
        padding: 32px 20px;
    }

    .order-failed-content h1 {
        font-size: 1.7rem;
    }

    .order-failed-actions {
        flex-direction: column;
    }

    .order-failed-button {
        width: 100%;
    }

}

/* =========================
   Category Page
========================= */

.category-page {
    min-height: 70vh;
    background: #ffffff;
}

.category-header {
    margin-bottom: 36px;
    padding-bottom: 28px;
    border-bottom: 1px solid #e8e8e8;
}

.category-label {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #888;
}

.category-header h1 {
    margin-bottom: 8px;
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: -0.04em;
}

.category-header p {
    margin: 0;
    color: #777;
}

.product-brand {
    margin-bottom: 14px;
    font-size: 0.85rem;
    color: #777;
}

.empty-category {
    max-width: 500px;
    margin: 80px auto;
    text-align: center;
}

.empty-category-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: #f5f5f5;
    color: #666;
    font-size: 1.5rem;
}

.empty-category h2 {
    margin-bottom: 10px;
    font-size: 1.5rem;
    font-weight: 700;
}

.empty-category p {
    margin-bottom: 24px;
    color: #777;
}

@media (max-width: 767px) {

    .category-header h1 {
        font-size: 2rem;
    }

}

/* =========================
   Account Dashboard
========================= */

.account-page {
    min-height: 70vh;
    background: #ffffff;
}

.account-header {
    margin-bottom: 36px;
}

.account-label {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #888;
}

.account-header h1 {
    margin-bottom: 8px;
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: -0.04em;
}

.account-header p {
    margin: 0;
    color: #777;
}

.account-card {
    display: flex;
    gap: 20px;
    height: 100%;
    padding: 28px;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    background: #fff;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.account-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.account-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: #f5f5f5;
    color: #555;
    font-size: 1.1rem;
}

.account-card-content {
    flex: 1;
}

.account-card-content h2 {
    margin-bottom: 8px;
    font-size: 1.15rem;
    font-weight: 700;
}

.account-card-content p {
    margin-bottom: 20px;
    color: #777;
    font-size: 0.9rem;
    line-height: 1.6;
}

.account-card-button {
    min-height: 40px;
    font-size: 0.85rem;
    font-weight: 600;
}

.account-card-logout {
    border-color: #eee;
}

@media (max-width: 767px) {

    .account-header h1 {
        font-size: 2rem;
    }

    .account-card {
        padding: 22px;
    }

}

/* =========================
   Account Forms
========================= */

.account-form-card {
    padding: 28px;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    background: #fff;
}

.account-form-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}

.account-form-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: #f5f5f5;
    color: #555;
}

.account-form-header h2 {
    margin-bottom: 4px;
    font-size: 1.15rem;
    font-weight: 700;
}

.account-form-header p {
    margin: 0;
    font-size: 0.85rem;
    color: #777;
}

.account-form-actions {
    display: flex;
    gap: 10px;
    margin-top: 24px;
}

.account-form-actions .btn {
    min-height: 42px;
    font-weight: 600;
}

.account-info-card {
    height: 100%;
    padding: 28px;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    background: #fff;
}

.account-info-card h2 {
    margin-bottom: 10px;
    font-size: 1.15rem;
    font-weight: 700;
}

.account-info-card>p {
    margin-bottom: 24px;
    color: #777;
    font-size: 0.9rem;
    line-height: 1.6;
}

.account-info-divider {
    height: 1px;
    margin-bottom: 8px;
    background: #e8e8e8;
}

.account-info-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid #eee;
    color: #333;
    font-size: 0.85rem;
    text-decoration: none;
}

.account-info-link:last-child {
    border-bottom: 0;
}

.account-info-link:hover {
    color: #000;
}

.account-info-link span i {
    width: 20px;
    margin-right: 8px;
    color: #777;
}

.account-info-link>i {
    color: #aaa;
    font-size: 0.7rem;
}

.danger-zone {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 24px 28px;
    border: 1px solid #f0d5d5;
    border-radius: 12px;
    background: #fffafa;
}

.danger-zone-label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #b42318;
}

.danger-zone h2 {
    margin-bottom: 5px;
    font-size: 1rem;
    font-weight: 700;
}

.danger-zone p {
    margin: 0;
    color: #777;
    font-size: 0.85rem;
}

.danger-zone .btn {
    flex-shrink: 0;
    font-weight: 600;
}

@media (max-width: 767px) {

    .account-form-card,
    .account-info-card {
        padding: 22px;
    }

    .account-form-actions {
        flex-direction: column;
    }

    .account-form-actions .btn {
        width: 100%;
    }

    .danger-zone {
        display: block;
        padding: 22px;
    }

    .danger-zone .btn {
        width: 100%;
        margin-top: 20px;
    }

}

/* =========================
   Shipping Address
========================= */

.shipping-info-item {
    display: flex;
    gap: 12px;
    padding: 16px 0;
    border-bottom: 1px solid #eee;
}

.shipping-info-item:last-child {
    border-bottom: 0;
}

.shipping-info-item>i {
    flex: 0 0 20px;
    width: 20px;
    padding-top: 2px;
    color: #777;
    text-align: center;
}

.shipping-info-item strong {
    display: block;
    margin-bottom: 3px;
    font-size: 0.85rem;
}

.shipping-info-item span {
    display: block;
    color: #777;
    font-size: 0.8rem;
    line-height: 1.5;
}

/* =========================
   My Orders
========================= */

.orders-page {
    min-height: 70vh;
    background: #ffffff;
}

.orders-header {
    margin-bottom: 32px;
}

.orders-header h1 {
    margin-bottom: 8px;
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: -0.04em;
}

.orders-header p {
    margin: 0;
    color: #777;
}

.orders-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.order-card {
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    background: #fff;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.order-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.order-card-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr auto;
    align-items: center;
    gap: 24px;
    padding: 22px 24px;
}

.order-number {
    margin-bottom: 5px;
    font-size: 0.95rem;
    font-weight: 700;
}

.order-date {
    color: #888;
    font-size: 0.8rem;
}

.order-card-total span,
.order-status-label {
    display: block;
    margin-bottom: 5px;
    color: #888;
    font-size: 0.75rem;
}

.order-card-total strong {
    font-size: 1rem;
}

.order-status-badge {
    display: inline-block;
    padding: 5px 9px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 600;
}

/* Order Status */

.status-pending {
    background: #fff8e6;
    color: #9a6700;
}

.status-confirmed {
    background: #eff6ff;
    color: #1d4ed8;
}

.status-processing {
    background: #f3f0ff;
    color: #6d28d9;
}

.status-shipped {
    background: #eefcfb;
    color: #0f766e;
}

.status-delivered {
    background: #f0fdf4;
    color: #15803d;
}

.status-cancelled {
    background: #fef2f2;
    color: #b42318;
}

.order-card-action .btn {
    min-width: 95px;
    font-weight: 600;
}

.empty-orders {
    max-width: 500px;
    margin: 80px auto;
    text-align: center;
}

.empty-orders-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: #f5f5f5;
    color: #666;
    font-size: 1.5rem;
}

.empty-orders h2 {
    margin-bottom: 10px;
    font-size: 1.5rem;
    font-weight: 700;
}

.empty-orders p {
    margin-bottom: 24px;
    color: #777;
}

@media (max-width: 991px) {

    .order-card-main {
        grid-template-columns: 1fr 1fr;
    }

    .order-card-action {
        grid-column: 1 / -1;
    }

    .order-card-action .btn {
        width: 100%;
    }

}

@media (max-width: 575px) {

    .orders-header h1 {
        font-size: 2rem;
    }

    .order-card-main {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 20px;
    }

    .order-card-action {
        grid-column: auto;
    }

}


.account-auth-footer {
    margin-top: 18px;
    text-align: center;
    color: #777;
    font-size: 0.9rem;
}

.account-auth-footer a {
    margin-left: 5px;
    color: #111;
    font-weight: 600;
    text-decoration: none;
}

.account-auth-footer a:hover {
    text-decoration: underline;
}

.login-forgot-password {
    margin-top: -4px;
    margin-bottom: 20px;
    text-align: right;
}

.login-forgot-password a {
    color: #666;
    font-size: 0.85rem;
    text-decoration: none;
}

.login-forgot-password a:hover {
    color: #111;
    text-decoration: underline;
}

.account-confirmation-card {
    max-width: 100%;
}

.account-success-icon {
    background: #f0fdf4;
    color: #15803d;
}

.account-confirmation-actions {
    margin-top: 24px;
}

.order-detail-page {
    min-height: 70vh;
    background: #fff;
}

.order-detail-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 32px;
}

.order-detail-header h1 {
    margin: 6px 0 8px;
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: -0.04em;
}

.order-detail-header p {
    margin: 0;
    color: #777;
}

.order-detail-card {
    margin-bottom: 20px;
    padding: 24px;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    background: #fff;
}

.order-detail-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.order-detail-card-header h2 {
    margin: 0 0 5px;
    font-size: 1.1rem;
    font-weight: 700;
}

.order-detail-card-header p {
    margin: 0;
    color: #888;
    font-size: 0.85rem;
}

.order-items {
    border-top: 1px solid #eee;
}

.order-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid #eee;
}

.order-item-image {
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    overflow: hidden;
    border-radius: 8px;
    background: #f5f5f5;
}

.order-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.order-item-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #aaa;
}

.order-item-info {
    flex: 1;
    min-width: 0;
}

.order-item-info h3 {
    margin: 0 0 5px;
    font-size: 0.95rem;
    font-weight: 600;
}

.order-item-info p {
    margin: 0;
    color: #888;
    font-size: 0.8rem;
}

.order-item-price {
    font-size: 0.95rem;
    font-weight: 600;
    white-space: nowrap;
}

.order-detail-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    font-size: 0.95rem;
}

.order-detail-total strong {
    font-size: 1.1rem;
}

.order-detail-info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 0;
    border-top: 1px solid #eee;
    font-size: 0.9rem;
}

.order-detail-info-row:first-of-type {
    border-top: 0;
    padding-top: 0;
}

.order-detail-info-row span {
    color: #888;
}

.order-detail-info-row strong {
    text-align: right;
}

.order-shipping-address {
    padding-top: 4px;
    color: #555;
    font-size: 0.9rem;
    line-height: 1.7;
}

.order-shipping-address strong {
    display: block;
    margin-bottom: 8px;
    color: #111;
}

@media (max-width: 767px) {
    .order-detail-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .order-detail-header h1 {
        font-size: 2rem;
    }

    .order-detail-header .btn {
        width: 100%;
    }

    .order-detail-card {
        padding: 20px;
    }
}

@media (max-width: 575px) {
    .order-detail-card-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .order-item {
        align-items: flex-start;
    }

    .order-item-price {
        margin-left: auto;
    }
}