/* =====================================================
   SebaStore Customer Frontend
===================================================== */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f8fafc;
    color: #1f2937;
}


/* =====================================================
   HEADER
===================================================== */

.store-header {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}

.header-main {
    padding: 18px 0;
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 30px;
}


/* Logo */

.store-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #2563eb;
    font-size: 24px;
    font-weight: 700;
    white-space: nowrap;
}

.logo-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #2563eb;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* Search */

.store-search {
    flex: 1;
    max-width: 650px;
    display: flex;
    border: 1px solid #dbe1e8;
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
}

.store-search input {
    width: 100%;
    border: 0;
    outline: 0;
    padding: 12px 15px;
    font-size: 14px;
}

.store-search button {
    width: 52px;
    border: 0;
    background: #2563eb;
    color: #ffffff;
    font-size: 18px;
    cursor: pointer;
}


/* Header Actions */

.header-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-action {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    text-decoration: none;
    color: #374151;
    font-size: 12px;
}

.header-action i {
    font-size: 21px;
}

.header-action:hover {
    color: #2563eb;
}

.cart-action {
    position: relative;
}

.cart-count {
    min-width: 19px;
    height: 19px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-left: 3px;

    border-radius: 50%;

    background: #2563eb;
    color: #ffffff;

    font-size: 10px;
    font-weight: 700;
}


/* Navigation */

.header-nav {
    border-top: 1px solid #f1f5f9;
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: 30px;
}

.main-navigation a {
    padding: 13px 0;
    text-decoration: none;
    color: #374151;
    font-size: 14px;
    font-weight: 500;
}

.main-navigation a:hover {
    color: #2563eb;
}


/* =====================================================
   HERO
===================================================== */

.home-hero {
    min-height: 480px;
    display: flex;
    align-items: center;
    background: #eff6ff;
}

.hero-content {
    max-width: 650px;
}

.hero-badge {
    display: inline-block;
    margin-bottom: 15px;
    padding: 7px 14px;
    border-radius: 30px;
    background: #dbeafe;
    color: #2563eb;
    font-size: 13px;
    font-weight: 600;
}

.hero-content h1 {
    margin: 0 0 18px;
    font-size: 52px;
    line-height: 1.1;
    font-weight: 700;
}

.hero-content p {
    margin-bottom: 25px;
    color: #64748b;
    font-size: 18px;
}

.hero-btn {
    padding: 12px 22px;
}


/* =====================================================
   FOOTER
===================================================== */

.store-footer {
    margin-top: 60px;
    padding: 55px 0 0;
    background: #111827;
    color: #ffffff;
}

.footer-title {
    margin-bottom: 18px;
    font-size: 17px;
    font-weight: 600;
}

.footer-text {
    color: #9ca3af;
    line-height: 1.7;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #1f2937;
    color: #ffffff;
    text-decoration: none;
}

.footer-contact p {
    color: #9ca3af;
    margin-bottom: 12px;
}

.footer-contact i {
    margin-right: 8px;
}

.footer-bottom {
    margin-top: 45px;
    padding: 20px 0;
    border-top: 1px solid #1f2937;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    color: #9ca3af;
    font-size: 13px;
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 991px) {

    .header-inner {
        flex-wrap: wrap;
    }

    .store-search {
        order: 3;
        max-width: none;
        width: 100%;
    }

    .hero-content h1 {
        font-size: 42px;
    }

}


@media (max-width: 575px) {

    .header-actions {
        gap: 12px;
    }

    .header-action span:not(.cart-count) {
        display: none;
    }

    .main-navigation {
        gap: 18px;
        overflow-x: auto;
    }

    .hero-content h1 {
        font-size: 34px;
    }

}






/* ========================================
   FEATURED PRODUCTS
======================================== */

.featured-products-section {
    padding: 80px 0;
    background: #ffffff;
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 40px;
}

.section-subtitle {
    display: inline-block;
    margin-bottom: 8px;
    color: #2563eb;
    font-size: 14px;
    font-weight: 600;
}

.section-heading h2 {
    margin: 0 0 8px;
    color: #172033;
    font-size: 32px;
    font-weight: 700;
}

.section-heading p {
    margin: 0;
    color: #64748b;
    font-size: 15px;
}

.view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #2563eb;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.view-all-link:hover {
    color: #1d4ed8;
}


/* Product Card */

.product-card {
    height: 100%;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    transition: all 0.25s ease;
}

.product-card:hover {
    border-color: #dbe3ef;
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}


/* Product Image */

.product-image {
    position: relative;
    height: 230px;
    overflow: hidden;
    background: #f8fafc;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.04);
}

.product-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 50px;
}


/* Discount */

.discount-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 9px;
    border-radius: 6px;
    background: #ef4444;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
}


/* Wishlist */

.wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;

    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.95);
    color: #475569;

    font-size: 17px;

    box-shadow: 0 3px 10px rgba(15, 23, 42, 0.08);

    transition: all 0.2s ease;
}

.wishlist-btn:hover {
    background: #2563eb;
    color: #ffffff;
}


/* Product Info */

.product-info {
    padding: 18px;
}

.product-category {
    display: block;
    margin-bottom: 6px;
    color: #64748b;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.product-title {
    min-height: 44px;
    margin: 0 0 6px;

    color: #172033;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-brand {
    margin-bottom: 10px;
    color: #64748b;
    font-size: 13px;
}


/* Price */

.product-price {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 15px;
}

.sale-price {
    color: #2563eb;
    font-size: 18px;
    font-weight: 700;
}

.old-price {
    color: #94a3b8;
    font-size: 13px;
    text-decoration: line-through;
}


/* Add Cart */

.add-cart-btn {
    width: 100%;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    border: 1px solid #2563eb;
    border-radius: 8px;

    background: #ffffff;
    color: #2563eb;

    font-size: 14px;
    font-weight: 600;

    transition: all 0.2s ease;
}

.add-cart-btn:hover {
    background: #2563eb;
    color: #ffffff;
}


/* Empty */

.empty-products {
    padding: 70px 20px;
    text-align: center;
    border: 1px dashed #cbd5e1;
    border-radius: 14px;
    background: #f8fafc;
}

.empty-products i {
    display: block;
    margin-bottom: 15px;
    color: #94a3b8;
    font-size: 42px;
}

.empty-products h3 {
    margin-bottom: 8px;
    color: #334155;
    font-size: 20px;
}

.empty-products p {
    margin: 0;
    color: #64748b;
}


/* Responsive */

@media (max-width: 767px) {

    .featured-products-section {
        padding: 55px 0;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
        margin-bottom: 25px;
    }

    .section-heading h2 {
        font-size: 26px;
    }

    .product-image {
        height: 190px;
    }

    .product-info {
        padding: 14px;
    }

    .product-title {
        font-size: 14px;
    }

    .sale-price {
        font-size: 16px;
    }

    .add-cart-btn {
        height: 40px;
        font-size: 13px;
    }
}




/* ========================================
   PRODUCTS PAGE
======================================== */

.products-page {
    padding: 55px 0 80px;
    background: #f8fafc;
    min-height: 600px;
}


/* Page Header */

.products-page-header {
    margin-bottom: 35px;
}

.products-page-header h1 {
    margin: 0 0 8px;
    color: #172033;
    font-size: 34px;
    font-weight: 700;
}

.products-page-header p {
    margin: 0;
    color: #64748b;
    font-size: 15px;
}


/* Filter */

.product-filter-card {
    position: sticky;
    top: 20px;

    padding: 22px;

    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;

    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.04);
}

.filter-header {
    padding-bottom: 18px;
    margin-bottom: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.filter-header h3 {
    margin: 0;
    color: #172033;
    font-size: 18px;
    font-weight: 700;
}

.filter-header h3 i {
    margin-right: 7px;
    color: #2563eb;
}

.filter-group {
    margin-bottom: 20px;
}

.filter-group label {
    display: block;
    margin-bottom: 8px;
    color: #334155;
    font-size: 13px;
    font-weight: 600;
}

.filter-search {
    position: relative;
}

.filter-search i {
    position: absolute;
    top: 50%;
    left: 13px;

    transform: translateY(-50%);

    color: #94a3b8;
}

.filter-search input {
    width: 100%;
    height: 42px;

    padding: 0 12px 0 38px;

    border: 1px solid #dbe1ea;
    border-radius: 8px;

    outline: none;

    color: #334155;
    font-size: 13px;
}

.filter-search input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
}

.filter-group .form-select {
    height: 42px;

    border-color: #dbe1ea;
    border-radius: 8px;

    color: #334155;
    font-size: 13px;

    box-shadow: none;
}

.filter-group .form-select:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
}


/* Price */

.price-inputs {
    display: flex;
    align-items: center;
    gap: 8px;
}

.price-inputs input {
    width: 100%;
    height: 40px;

    padding: 0 10px;

    border: 1px solid #dbe1ea;
    border-radius: 8px;

    outline: none;

    font-size: 13px;
}

.price-inputs input:focus {
    border-color: #2563eb;
}

.price-inputs span {
    color: #94a3b8;
}


/* Filter Buttons */

.apply-filter-btn {
    width: 100%;
    height: 42px;

    border: 0;
    border-radius: 8px;

    background: #2563eb;
    color: #ffffff;

    font-size: 14px;
    font-weight: 600;

    transition: 0.2s ease;
}

.apply-filter-btn:hover {
    background: #1d4ed8;
}

.clear-filter-btn {
    display: block;

    margin-top: 10px;

    text-align: center;

    color: #64748b;
    font-size: 13px;
    font-weight: 500;

    text-decoration: none;
}

.clear-filter-btn:hover {
    color: #2563eb;
}


/* Products Topbar */

.products-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 20px;

    color: #64748b;
    font-size: 13px;
}

.products-result strong {
    color: #172033;
}

.mobile-filter-label {
    display: none;
}


/* Product Card */

.products-content .product-card {
    background: #ffffff;
}


/* Stock */

.stock-status {
    display: flex;
    align-items: center;
    gap: 5px;

    margin-bottom: 12px;

    font-size: 12px;
    font-weight: 600;
}

.stock-status.in-stock {
    color: #16a34a;
}

.stock-status.out-stock {
    color: #dc2626;
}


/* Empty */

.products-empty {
    padding: 80px 20px;

    text-align: center;

    background: #ffffff;
    border: 1px dashed #cbd5e1;
    border-radius: 14px;
}

.empty-icon {
    width: 70px;
    height: 70px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 20px;

    border-radius: 50%;

    background: #eff6ff;
    color: #2563eb;

    font-size: 30px;
}

.products-empty h3 {
    margin-bottom: 8px;

    color: #172033;
    font-size: 21px;
    font-weight: 700;
}

.products-empty p {
    margin-bottom: 20px;

    color: #64748b;
    font-size: 14px;
}


/* Pagination */

.products-pagination {
    display: flex;
    justify-content: center;

    margin-top: 45px;
}

.products-pagination .pagination {
    gap: 6px;
}

.products-pagination .page-link {
    min-width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #e2e8f0;
    border-radius: 8px !important;

    color: #475569;
    background: #ffffff;

    font-size: 13px;
}

.products-pagination .page-link:hover {
    background: #eff6ff;
    color: #2563eb;
}

.products-pagination .active .page-link {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
}


/* Responsive */

@media (max-width: 991px) {

    .product-filter-card {
        position: static;
    }

    .mobile-filter-label {
        display: block;
    }

}


@media (max-width: 767px) {

    .products-page {
        padding: 40px 0 60px;
    }

    .products-page-header h1 {
        font-size: 28px;
    }

    .products-topbar {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .product-image {
        height: 190px;
    }

}


@media (max-width: 575px) {

    .product-filter-card {
        padding: 18px;
    }

    .products-page-header h1 {
        font-size: 25px;
    }

    .products-content .product-info {
        padding: 13px;
    }

    .products-content .product-title {
        font-size: 14px;
    }

    .products-content .product-brand {
        font-size: 12px;
    }

    .products-content .sale-price {
        font-size: 15px;
    }

    .products-content .old-price {
        font-size: 11px;
    }

    .products-content .product-image {
        height: 170px;
    }

}




/* ========================================
   PRODUCT DETAILS
======================================== */

.product-details-page {
    padding: 35px 0 80px;
    background: #f8fafc;
    min-height: 700px;
}


/* Breadcrumb */

.product-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;

    margin-bottom: 35px;

    color: #94a3b8;
    font-size: 13px;
}

.product-breadcrumb a {
    color: #64748b;
    text-decoration: none;
}

.product-breadcrumb a:hover {
    color: #2563eb;
}

.product-breadcrumb i {
    font-size: 10px;
}


/* Image */

.product-details-image {
    position: relative;

    height: 540px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
}

.product-details-image img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    padding: 30px;
}

.details-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    gap: 12px;

    color: #94a3b8;
}

.details-image-placeholder i {
    font-size: 90px;
}

.details-image-placeholder span {
    font-size: 14px;
}


/* Discount */

.details-discount-badge {
    position: absolute;
    top: 20px;
    left: 20px;

    padding: 7px 12px;

    border-radius: 7px;

    background: #ef4444;
    color: #ffffff;

    font-size: 13px;
    font-weight: 700;
}


/* Product Info */

.product-details-info {
    padding-top: 10px;
}

.details-category {
    display: inline-block;

    margin-bottom: 10px;

    color: #2563eb;

    font-size: 13px;
    font-weight: 600;

    text-transform: uppercase;
    text-decoration: none;
}

.product-details-info h1 {
    margin: 0 0 15px;

    color: #172033;

    font-size: 34px;
    font-weight: 700;
    line-height: 1.25;
}


/* Brand */

.details-brand {
    display: flex;
    align-items: center;
    gap: 7px;

    margin-bottom: 7px;

    color: #64748b;
    font-size: 14px;
}

.details-brand i {
    color: #2563eb;
}

.details-brand strong {
    color: #334155;
}


/* SKU */

.details-sku {
    margin-bottom: 15px;

    color: #94a3b8;
    font-size: 12px;
}


/* Rating */

.details-rating {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 20px;

    color: #94a3b8;
    font-size: 13px;
}

.stars {
    color: #f59e0b;
}


/* Price */

.details-price {
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 20px 0;

    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;

    margin-bottom: 20px;
}

.details-sale-price {
    color: #2563eb;

    font-size: 30px;
    font-weight: 700;
}

.details-old-price {
    color: #94a3b8;

    font-size: 16px;

    text-decoration: line-through;
}


/* Short Description */

.details-short-description {
    margin-bottom: 20px;

    color: #64748b;

    font-size: 15px;
    line-height: 1.7;
}


/* Stock */

.details-stock {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 25px;

    font-size: 13px;
}

.stock-in {
    color: #16a34a;
    font-weight: 600;
}

.stock-out {
    color: #dc2626;
    font-weight: 600;
}

.stock-quantity {
    color: #94a3b8;
}


/* Quantity */

.quantity-section {
    margin-bottom: 20px;
}

.quantity-section label {
    display: block;

    margin-bottom: 8px;

    color: #334155;

    font-size: 13px;
    font-weight: 600;
}

.quantity-control {
    width: 130px;
    height: 42px;

    display: flex;
    align-items: center;

    border: 1px solid #dbe1ea;
    border-radius: 8px;

    background: #ffffff;
    overflow: hidden;
}

.quantity-btn {
    width: 40px;
    height: 100%;

    border: 0;

    background: #ffffff;
    color: #475569;

    font-size: 16px;

    cursor: pointer;
}

.quantity-btn:hover {
    background: #f1f5f9;
    color: #2563eb;
}

.quantity-control input {
    width: 50px;
    height: 100%;

    border: 0;

    outline: none;

    text-align: center;

    color: #172033;

    font-size: 14px;
    font-weight: 600;
}


/* Actions */

.details-actions {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 30px;
}

.details-add-cart {
    height: 48px;
    flex: 1;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    border: 0;
    border-radius: 8px;

    background: #2563eb;
    color: #ffffff;

    font-size: 15px;
    font-weight: 600;

    transition: 0.2s ease;
}

.details-add-cart:hover {
    background: #1d4ed8;
}

.details-wishlist {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #dbe1ea;
    border-radius: 8px;

    background: #ffffff;
    color: #475569;

    font-size: 19px;
}

.details-wishlist:hover {
    border-color: #2563eb;
    color: #2563eb;
}


/* Benefits */

.product-benefits {
    padding-top: 25px;

    border-top: 1px solid #e5e7eb;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 13px;

    margin-bottom: 18px;
}

.benefit-item > i {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 8px;

    background: #eff6ff;
    color: #2563eb;

    font-size: 18px;
}

.benefit-item div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.benefit-item strong {
    color: #334155;
    font-size: 13px;
}

.benefit-item span {
    color: #94a3b8;
    font-size: 12px;
}


/* Description */

.product-description-section {
    margin-top: 60px;

    background: #ffffff;

    border: 1px solid #e5e7eb;
    border-radius: 14px;
}

.description-tabs {
    padding: 0 25px;

    border-bottom: 1px solid #e5e7eb;
}

.description-tab {
    position: relative;

    padding: 18px 5px;

    border: 0;
    background: transparent;

    color: #172033;

    font-size: 15px;
    font-weight: 600;
}

.description-tab::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -1px;

    width: 100%;
    height: 2px;

    background: #2563eb;
}

.description-content {
    padding: 30px 25px;

    color: #64748b;

    font-size: 15px;
    line-height: 1.8;
}

.no-description {
    margin: 0;

    color: #94a3b8;
}


/* Product Image Link */

.product-image-link {
    display: block;
    width: 100%;
    height: 100%;

    color: inherit;
    text-decoration: none;
}


/* Product Title Link */

.product-title-link {
    color: inherit;
    text-decoration: none;
}

.product-title-link:hover .product-title {
    color: #2563eb;
}


/* Responsive */

@media (max-width: 991px) {

    .product-details-image {
        height: 450px;
    }

    .product-details-info {
        padding-top: 0;
    }

}


@media (max-width: 767px) {

    .product-details-page {
        padding: 25px 0 60px;
    }

    .product-breadcrumb {
        margin-bottom: 25px;
    }

    .product-details-image {
        height: 350px;
    }

    .product-details-info h1 {
        font-size: 27px;
    }

    .details-sale-price {
        font-size: 25px;
    }

    .product-description-section {
        margin-top: 40px;
    }

}


@media (max-width: 575px) {

    .product-details-image {
        height: 300px;
    }

    .details-image-placeholder i {
        font-size: 65px;
    }

    .product-details-info h1 {
        font-size: 24px;
    }

    .details-price {
        padding: 15px 0;
    }

    .details-sale-price {
        font-size: 23px;
    }

}






/* ========================================
   CART PAGE
======================================== */

.cart-page {
    padding: 55px 0 80px;
    background: #f8fafc;
    min-height: 700px;
}

.cart-page-header {
    margin-bottom: 30px;
}

.cart-page-header h1 {
    margin: 0 0 8px;
    color: #172033;
    font-size: 34px;
    font-weight: 700;
}

.cart-page-header p {
    margin: 0;
    color: #64748b;
    font-size: 15px;
}


/* Alerts */

.cart-alert {
    display: flex;
    align-items: center;
    gap: 9px;

    padding: 12px 15px;
    margin-bottom: 20px;

    border-radius: 8px;

    font-size: 13px;
    font-weight: 500;
}

.cart-alert.success {
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.cart-alert.error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}


/* Cart Items */

.cart-items-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
}

.cart-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 20px 22px;

    border-bottom: 1px solid #e5e7eb;
}

.cart-card-header h3 {
    margin: 0;
    color: #172033;
    font-size: 18px;
    font-weight: 700;
}

.cart-card-header span {
    color: #64748b;
    font-size: 13px;
}


/* Item */

.cart-item {
    display: flex;
    align-items: center;
    gap: 15px;

    padding: 20px 22px;

    border-bottom: 1px solid #eef2f7;
}

.cart-item:last-child {
    border-bottom: 0;
}


/* Image */

.cart-item-image {
    width: 85px;
    height: 85px;

    flex-shrink: 0;

    overflow: hidden;

    border-radius: 10px;

    background: #f8fafc;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-image-placeholder {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #94a3b8;
    font-size: 30px;
}


/* Info */

.cart-item-info {
    flex: 1;
    min-width: 150px;
}

.cart-item-name {
    display: block;

    margin-bottom: 5px;

    color: #172033;
    font-size: 15px;
    font-weight: 600;

    text-decoration: none;
}

.cart-item-name:hover {
    color: #2563eb;
}

.cart-item-sku {
    display: block;

    margin-bottom: 7px;

    color: #94a3b8;
    font-size: 11px;
}

.cart-item-price {
    color: #2563eb;
    font-size: 14px;
    font-weight: 700;
}


/* Quantity */

.cart-quantity-form {
    flex-shrink: 0;
}

.cart-quantity {
    width: 115px;
    height: 38px;

    display: flex;
    align-items: center;

    border: 1px solid #dbe1ea;
    border-radius: 7px;

    overflow: hidden;
}

.cart-quantity button {
    width: 34px;
    height: 100%;

    border: 0;

    background: #ffffff;
    color: #475569;

    cursor: pointer;
}

.cart-quantity button:hover {
    background: #f1f5f9;
    color: #2563eb;
}

.cart-quantity input {
    width: 47px;
    height: 100%;

    border: 0;
    outline: none;

    text-align: center;

    color: #172033;

    font-size: 13px;
    font-weight: 600;
}


/* Update */

.update-cart-btn {
    width: 115px;
    margin-top: 6px;

    border: 0;
    background: transparent;

    color: #2563eb;

    font-size: 11px;
    font-weight: 600;

    cursor: pointer;
}


/* Total */

.cart-item-total {
    width: 100px;
    text-align: right;
}

.cart-item-total strong {
    color: #172033;
    font-size: 15px;
}


/* Remove */

.remove-cart-item {
    color: #94a3b8;
    font-size: 17px;
    text-decoration: none;
}

.remove-cart-item:hover {
    color: #dc2626;
}


/* Footer */

.cart-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 18px 22px;

    border-top: 1px solid #e5e7eb;
}

.continue-shopping {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    color: #2563eb;

    font-size: 13px;
    font-weight: 600;

    text-decoration: none;
}

.continue-shopping:hover {
    color: #1d4ed8;
}

.clear-cart {
    color: #dc2626;

    font-size: 13px;
    font-weight: 500;

    text-decoration: none;
}


/* Summary */

.cart-summary-card {
    position: sticky;
    top: 20px;

    padding: 23px;

    background: #ffffff;

    border: 1px solid #e5e7eb;
    border-radius: 14px;
}

.cart-summary-card h3 {
    margin: 0 0 22px;

    color: #172033;

    font-size: 19px;
    font-weight: 700;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    gap: 15px;

    margin-bottom: 15px;

    color: #64748b;
    font-size: 13px;
}

.summary-row strong {
    color: #334155;
    text-align: right;
    font-size: 13px;
}

.summary-divider {
    height: 1px;

    margin: 20px 0;

    background: #e5e7eb;
}

.summary-total {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 22px;

    color: #172033;

    font-size: 16px;
    font-weight: 600;
}

.summary-total strong {
    color: #2563eb;
    font-size: 21px;
}


.checkout-btn {
    width: 100%;
    height: 46px;

    border: 0;
    border-radius: 8px;

    background: #2563eb;
    color: #ffffff;

    font-size: 14px;
    font-weight: 600;

    opacity: 0.55;
    cursor: not-allowed;
}

.secure-checkout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;

    margin-top: 15px;

    color: #94a3b8;
    font-size: 11px;
}


/* Empty Cart */

.empty-cart {
    padding: 90px 20px;

    text-align: center;

    background: #ffffff;

    border: 1px solid #e5e7eb;
    border-radius: 14px;
}

.empty-cart-icon {
    width: 80px;
    height: 80px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 20px;

    border-radius: 50%;

    background: #eff6ff;
    color: #2563eb;

    font-size: 36px;
}

.empty-cart h2 {
    margin-bottom: 8px;

    color: #172033;

    font-size: 23px;
    font-weight: 700;
}

.empty-cart p {
    margin-bottom: 22px;

    color: #64748b;
    font-size: 14px;
}


/* Responsive */

@media (max-width: 991px) {

    .cart-summary-card {
        position: static;
    }

}


@media (max-width: 767px) {

    .cart-page {
        padding: 40px 0 60px;
    }

    .cart-page-header h1 {
        font-size: 28px;
    }

    .cart-item {
        flex-wrap: wrap;
        align-items: flex-start;
        padding: 17px;
    }

    .cart-item-info {
        min-width: calc(100% - 100px);
    }

    .cart-quantity-form {
        margin-left: 100px;
    }

    .cart-item-total {
        width: auto;
        margin-left: auto;
    }

    .remove-cart-item {
        margin-left: auto;
    }

}


@media (max-width: 575px) {

    .cart-card-header {
        padding: 17px;
    }

    .cart-item {
        padding: 15px;
    }

    .cart-item-image {
        width: 70px;
        height: 70px;
    }

    .cart-item-info {
        min-width: calc(100% - 85px);
    }

    .cart-quantity-form {
        margin-left: 0;
    }

    .cart-card-footer {
        padding: 15px;
    }

}


.product-cart-form {
    width: 100%;
    margin: 0;
}



/* ========================================
   CATEGORIES PAGE
======================================== */

.categories-page,
.category-products-page {
    padding: 55px 0 80px;
    background: #f8fafc;
    min-height: 650px;
}


/* Header */

.categories-page-header {
    margin-bottom: 40px;
}

.categories-page-header h1,
.category-products-header h1 {
    margin: 0 0 8px;

    color: #172033;

    font-size: 34px;
    font-weight: 700;
}

.categories-page-header p,
.category-products-header p {
    margin: 0;

    color: #64748b;

    font-size: 15px;
}


/* Category Card */

.category-card {
    display: block;

    height: 100%;

    overflow: hidden;

    background: #ffffff;

    border: 1px solid #e5e7eb;
    border-radius: 14px;

    color: inherit;

    text-decoration: none;

    transition: all 0.25s ease;
}

.category-card:hover {
    transform: translateY(-5px);

    border-color: #dbe3ef;

    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}


/* Category Image */

.category-card-image {
    height: 190px;

    overflow: hidden;

    background: #f1f5f9;
}

.category-card-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform 0.3s ease;
}

.category-card:hover .category-card-image img {
    transform: scale(1.05);
}

.category-placeholder {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #94a3b8;

    font-size: 55px;
}


/* Category Info */

.category-card-info {
    padding: 18px;
}

.category-card-info h2 {
    margin: 0 0 7px;

    color: #172033;

    font-size: 17px;
    font-weight: 600;
}

.category-card-info span {
    display: flex;
    align-items: center;
    justify-content: space-between;

    color: #64748b;

    font-size: 12px;
}

.category-card-info span i {
    color: #2563eb;

    font-size: 13px;
}


/* Category Breadcrumb */

.category-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;

    margin-bottom: 30px;

    color: #94a3b8;

    font-size: 13px;
}

.category-breadcrumb a {
    color: #64748b;

    text-decoration: none;
}

.category-breadcrumb a:hover {
    color: #2563eb;
}

.category-breadcrumb i {
    font-size: 10px;
}


/* Category Products Header */

.category-products-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 30px;

    margin-bottom: 35px;
}

.category-products-header p {
    max-width: 650px;
}


/* Empty */

.categories-empty {
    padding: 80px 20px;

    text-align: center;

    background: #ffffff;

    border: 1px dashed #cbd5e1;
    border-radius: 14px;
}

.categories-empty .empty-icon {
    width: 70px;
    height: 70px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 20px;

    border-radius: 50%;

    background: #eff6ff;
    color: #2563eb;

    font-size: 30px;
}

.categories-empty h3 {
    margin-bottom: 8px;

    color: #172033;

    font-size: 21px;
    font-weight: 700;
}

.categories-empty p {
    margin-bottom: 22px;

    color: #64748b;

    font-size: 14px;
}


/* Responsive */

@media (max-width: 767px) {

    .categories-page,
    .category-products-page {
        padding: 40px 0 60px;
    }

    .categories-page-header h1,
    .category-products-header h1 {
        font-size: 28px;
    }

    .category-card-image {
        height: 160px;
    }

    .category-products-header {
        align-items: flex-start;
        flex-direction: column;

        gap: 15px;
    }

}


@media (max-width: 575px) {

    .category-card-image {
        height: 140px;
    }

    .category-card-info {
        padding: 14px;
    }

    .category-card-info h2 {
        font-size: 15px;
    }

    .category-placeholder {
        font-size: 42px;
    }

}





/* ========================================
   BRANDS PAGE
======================================== */

.brands-page,
.brand-products-page {
    padding: 55px 0 80px;
    background: #f8fafc;
    min-height: 650px;
}


/* Header */

.brands-page-header {
    margin-bottom: 40px;
}

.brands-page-header h1,
.brand-products-header h1 {
    margin: 0 0 8px;

    color: #172033;

    font-size: 34px;
    font-weight: 700;
}

.brands-page-header p,
.brand-products-header p {
    margin: 0;

    color: #64748b;

    font-size: 15px;
}


/* Brand Card */

.brand-card {
    display: block;

    height: 100%;

    overflow: hidden;

    background: #ffffff;

    border: 1px solid #e5e7eb;
    border-radius: 14px;

    color: inherit;
    text-decoration: none;

    transition: all 0.25s ease;
}

.brand-card:hover {
    transform: translateY(-5px);

    border-color: #dbe3ef;

    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}


/* Brand Image */

.brand-card-image {
    height: 190px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background: #f8fafc;
}

.brand-card-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: contain;

    padding: 25px;

    transition: transform 0.3s ease;
}

.brand-card:hover .brand-card-image img {
    transform: scale(1.05);
}

.brand-placeholder {
    width: 80px;
    height: 80px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #eff6ff;
    color: #2563eb;

    font-size: 35px;
}


/* Brand Info */

.brand-card-info {
    padding: 18px;
}

.brand-card-info h2 {
    margin: 0 0 7px;

    color: #172033;

    font-size: 17px;
    font-weight: 600;
}

.brand-card-info span {
    display: flex;
    align-items: center;
    justify-content: space-between;

    color: #64748b;

    font-size: 12px;
}

.brand-card-info span i {
    color: #2563eb;

    font-size: 13px;
}


/* Breadcrumb */

.brand-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 9px;

    margin-bottom: 30px;

    color: #94a3b8;

    font-size: 13px;
}

.brand-breadcrumb a {
    color: #64748b;
    text-decoration: none;
}

.brand-breadcrumb a:hover {
    color: #2563eb;
}

.brand-breadcrumb i {
    font-size: 10px;
}


/* Products Header */

.brand-products-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 30px;

    margin-bottom: 35px;
}

.brand-products-header p {
    max-width: 650px;
}


/* Empty */

.brands-empty {
    padding: 80px 20px;

    text-align: center;

    background: #ffffff;

    border: 1px dashed #cbd5e1;
    border-radius: 14px;
}

.brands-empty .empty-icon {
    width: 70px;
    height: 70px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 20px;

    border-radius: 50%;

    background: #eff6ff;
    color: #2563eb;

    font-size: 30px;
}

.brands-empty h3 {
    margin-bottom: 8px;

    color: #172033;

    font-size: 21px;
    font-weight: 700;
}

.brands-empty p {
    margin-bottom: 22px;

    color: #64748b;

    font-size: 14px;
}


/* Responsive */

@media (max-width: 767px) {

    .brands-page,
    .brand-products-page {
        padding: 40px 0 60px;
    }

    .brands-page-header h1,
    .brand-products-header h1 {
        font-size: 28px;
    }

    .brand-card-image {
        height: 160px;
    }

    .brand-products-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
    }

}


@media (max-width: 575px) {

    .brand-card-image {
        height: 140px;
    }

    .brand-card-info {
        padding: 14px;
    }

    .brand-card-info h2 {
        font-size: 15px;
    }

}



 /* =========================================================
    CUSTOMER ACCOUNT
   ========================================================= */

.account-page {
    min-height: calc(100vh - 160px);
    padding: 70px 0;
    background: #f8fafc;
}

.account-wrapper {
    max-width: 560px;
    margin: 0 auto;
}

.account-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 38px;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.08);
}


/* =========================================================
   ACCOUNT HEADER
   ========================================================= */

.account-card-header {
    text-align: center;
    margin-bottom: 30px;
}

.account-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 28px;
}

.account-card-header .section-subtitle {
    display: block;
    margin-bottom: 6px;
}

.account-card-header h1 {
    margin: 0 0 10px;
    font-size: 28px;
    font-weight: 700;
    color: #111827;
}

.account-card-header p {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
}


/* =========================================================
   ACCOUNT ALERTS
   ========================================================= */

.account-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 13px 15px;
    margin-bottom: 20px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.5;
}

.account-alert i {
    margin-top: 2px;
    font-size: 17px;
    flex-shrink: 0;
}

.account-alert-success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #047857;
}

.account-alert-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}


/* =========================================================
   ACCOUNT FORM
   ========================================================= */

.account-form {
    width: 100%;
}

.account-form-group {
    margin-bottom: 20px;
}

.account-form-group > label {
    display: block;
    margin-bottom: 8px;
    color: #374151;
    font-size: 14px;
    font-weight: 600;
}

.account-form-group > label span {
    color: #dc2626;
}

.account-form-group > label small {
    color: #9ca3af;
    font-weight: 400;
    font-size: 12px;
}


/* =========================================================
   ACCOUNT INPUT
   ========================================================= */

.account-input {
    position: relative;
    display: flex;
    align-items: center;
}

.account-input > i {
    position: absolute;
    left: 15px;
    color: #9ca3af;
    font-size: 17px;
    pointer-events: none;
    z-index: 2;
}

.account-input input {
    width: 100%;
    height: 48px;
    padding: 0 45px 0 44px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    background: #ffffff;
    color: #111827;
    font-size: 14px;
    outline: none;
    transition: all 0.2s ease;
}

.account-input input::placeholder {
    color: #9ca3af;
}

.account-input input:hover {
    border-color: #9ca3af;
}

.account-input input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.10);
}


/* =========================================================
   PASSWORD TOGGLE
   ========================================================= */

.password-toggle {
    position: absolute;
    right: 8px;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #9ca3af;
    cursor: pointer;
    transition: all 0.2s ease;
}

.password-toggle:hover {
    background: #f3f4f6;
    color: #2563eb;
}

.password-toggle i {
    font-size: 16px;
}


/* =========================================================
   HELP TEXT
   ========================================================= */

.account-help-text {
    display: block;
    margin-top: 6px;
    color: #9ca3af;
    font-size: 12px;
}


/* =========================================================
   TERMS
   ========================================================= */

.account-terms {
    margin: 4px 0 22px;
}

.account-terms label {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.6;
    cursor: pointer;
}

.account-terms input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: #2563eb;
    cursor: pointer;
}

.account-terms a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

.account-terms a:hover {
    text-decoration: underline;
}


/* =========================================================
   SUBMIT BUTTON
   ========================================================= */

.account-submit-btn {
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 0;
    border-radius: 10px;
    background: #2563eb;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.account-submit-btn:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.20);
}

.account-submit-btn:active {
    transform: translateY(0);
}

.account-submit-btn i {
    font-size: 17px;
}


/* =========================================================
   ACCOUNT FOOTER
   ========================================================= */

.account-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 25px;
    padding-top: 22px;
    border-top: 1px solid #eef0f3;
    color: #6b7280;
    font-size: 14px;
}

.account-footer a {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
}

.account-footer a:hover {
    color: #1d4ed8;
}

.account-footer a i {
    margin-left: 3px;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 575px) {

    .account-page {
        padding: 40px 15px;
    }

    .account-card {
        padding: 28px 20px;
        border-radius: 14px;
    }

    .account-card-header h1 {
        font-size: 24px;
    }

    .account-icon {
        width: 58px;
        height: 58px;
        font-size: 25px;
    }

    .account-footer {
        flex-direction: column;
        gap: 4px;
    }

}


/* =========================================================
   ACCOUNT DROPDOWN
   ========================================================= */

.header-account-dropdown {
    position: relative !important;
    display: block !important;
    flex-shrink: 0 !important;
}


/* =========================================================
   ACCOUNT TOGGLE
   ========================================================= */

.header-account-dropdown .account-dropdown-toggle {
    position: relative !important;

    display: flex !important;
    flex-direction: column !important;

    align-items: center !important;
    justify-content: center !important;

    width: auto !important;
    min-width: 65px !important;
    height: 60px !important;

    padding: 0 10px !important;
    margin: 0 !important;

    border: 0 !important;
    background: transparent !important;

    color: inherit;

    cursor: pointer;

    font-family: inherit;
}


/* Account Icon */

.header-account-dropdown .account-dropdown-toggle > i:first-child {
    display: block !important;

    position: static !important;

    margin: 4px 0 4px 0 !important;

    font-size: 21px;
    line-height: 1;
}


/* Account Text */

.header-account-dropdown .account-dropdown-toggle > span {
    display: inline-block !important;

    position: static !important;

    margin: 0 !important;
    padding: 0 !important;

    white-space: nowrap !important;

    font-size: 13px;

    line-height: 1.2;
}


/* =========================================================
   ACCOUNT ARROW
   ========================================================= */

.header-account-dropdown .account-dropdown-toggle .account-arrow {
    position: absolute !important;

    left: calc(50% + 27px) !important;
    top: 43px !important;

    display: flex !important;

    width: 10px !important;
    height: 10px !important;

    margin: 0 !important;
    padding: 0 !important;

    align-items: center !important;
    justify-content: center !important;

    font-size: 8px !important;
    line-height: 1 !important;

    transform: none;
    transition: transform 0.2s ease;
}


/* Rotate arrow */

.header-account-dropdown
.account-dropdown-toggle.active
.account-arrow {
    transform: rotate(180deg) !important;
}


/* =========================================================
   DROPDOWN MENU
   ========================================================= */

.header-account-dropdown .account-dropdown-menu {
    position: absolute !important;

    top: calc(100% + 5px) !important;
    right: 0 !important;
    left: auto !important;

    display: none !important;

    width: 280px !important;
    min-width: 280px !important;

    height: auto !important;

    margin: 0 !important;
    padding: 8px !important;

    background: #ffffff !important;

    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;

    box-shadow: 0 15px 40px rgba(15, 23, 42, 0.14) !important;

    opacity: 1 !important;
    visibility: visible !important;

    transform: none !important;

    z-index: 99999 !important;

    box-sizing: border-box !important;
}


/* Show dropdown */

.header-account-dropdown .account-dropdown-menu.show {
    display: block !important;
}


/* =========================================================
   DROPDOWN ITEMS
   ========================================================= */

.header-account-dropdown .account-dropdown-menu
.account-dropdown-item {
    display: flex !important;

    flex-direction: row !important;

    align-items: center !important;

    width: 100% !important;
    height: auto !important;

    gap: 12px !important;

    margin: 0 !important;
    padding: 11px 12px !important;

    background: transparent;

    border: 0 !important;
    border-radius: 9px !important;

    color: #374151 !important;

    text-decoration: none !important;

    box-sizing: border-box !important;

    transition: background 0.2s ease;
}


/* Hover */

.header-account-dropdown .account-dropdown-menu
.account-dropdown-item:hover {
    background: #f3f6fb !important;
    color: #2563eb !important;
}


/* =========================================================
   DROPDOWN ITEM ICON
   ========================================================= */

.header-account-dropdown .dropdown-item-icon {
    display: flex !important;

    align-items: center !important;
    justify-content: center !important;

    width: 38px !important;
    height: 38px !important;

    min-width: 38px !important;

    margin: 0 !important;
    padding: 0 !important;

    border-radius: 9px !important;

    background: #eff6ff !important;
    color: #2563eb !important;

    font-size: 17px;
}


/* =========================================================
   DROPDOWN CONTENT
   ========================================================= */

.header-account-dropdown .dropdown-item-content {
    display: flex !important;

    flex-direction: column !important;

    align-items: flex-start !important;

    gap: 2px !important;

    width: auto !important;

    margin: 0 !important;
    padding: 0 !important;
}


.header-account-dropdown .dropdown-item-content strong {
    display: block !important;

    margin: 0 !important;
    padding: 0 !important;

    color: #111827 !important;

    font-size: 14px !important;
    font-weight: 600 !important;

    line-height: 1.3 !important;
}


.header-account-dropdown .dropdown-item-content small {
    display: block !important;

    margin: 0 !important;
    padding: 0 !important;

    color: #9ca3af !important;

    font-size: 11px !important;

    line-height: 1.3 !important;
}


/* =========================================================
   DROPDOWN DIVIDER
   ========================================================= */

.header-account-dropdown .account-dropdown-divider {
    display: block !important;

    width: calc(100% - 8px) !important;
    height: 1px !important;

    margin: 6px 4px !important;
    padding: 0 !important;

    background: #eef0f3 !important;
}


/* =========================================================
   LOGOUT
   ========================================================= */

.header-account-dropdown .account-dropdown-item.account-logout:hover {
    background: #fef2f2 !important;
    color: #dc2626 !important;
}


.header-account-dropdown
.account-dropdown-item.account-logout
.dropdown-item-icon {
    background: #fef2f2 !important;
    color: #dc2626 !important;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .header-account-dropdown .account-dropdown-menu {
        right: -10px !important;
        width: 260px !important;
        min-width: 260px !important;
    }

}



/* =========================================================
   LOGIN OPTIONS
   ========================================================= */

.login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin: -4px 0 22px;
}


/* Remember Me */

.remember-me {
    display: inline-flex;
    align-items: center;

    gap: 7px;

    margin: 0;

    color: #6b7280;

    font-size: 13px;

    cursor: pointer;
}

.remember-me input {
    width: 15px;
    height: 15px;

    margin: 0;

    accent-color: #2563eb;

    cursor: pointer;
}


/* Forgot Password */

.forgot-password {
    color: #2563eb;

    font-size: 13px;
    font-weight: 500;

    text-decoration: none;
}

.forgot-password:hover {
    color: #1d4ed8;
    text-decoration: underline;
}


/* Mobile */

@media (max-width: 575px) {

    .login-options {
        align-items: flex-start;
        gap: 10px;
    }

}



/* =========================================================
   CUSTOMER ACCOUNT DASHBOARD
   ========================================================= */

.account-dashboard-page {
    min-height: calc(100vh - 160px);
    padding: 55px 0 70px;
    background: #f8fafc;
}


/* Page Header */

.account-dashboard-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 28px;
}

.account-dashboard-header h1 {
    margin: 4px 0 8px;
    color: #111827;
    font-size: 30px;
    font-weight: 700;
}

.account-dashboard-header p {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
}


/* Layout */

.account-dashboard-layout {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 25px;
    align-items: start;
}


/* Sidebar */

.account-sidebar {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.05);
}


/* Sidebar Profile */

.account-sidebar-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    border-bottom: 1px solid #eef0f3;
}

.account-sidebar-avatar {
    width: 46px;
    height: 46px;
    min-width: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 21px;
}

.account-sidebar-user {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.account-sidebar-user strong {
    overflow: hidden;
    color: #111827;
    font-size: 14px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.account-sidebar-user span {
    color: #9ca3af;
    font-size: 11px;
}


/* Sidebar Navigation */

.account-sidebar-nav {
    padding: 10px;
}

.account-sidebar-link {
    display: flex;
    align-items: center;
    gap: 11px;
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    margin-bottom: 3px;
    border-radius: 9px;
    color: #4b5563;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.account-sidebar-link i {
    width: 20px;
    text-align: center;
    font-size: 17px;
}

.account-sidebar-link:hover {
    background: #f3f6fb;
    color: #2563eb;
}

.account-sidebar-link.active {
    background: #eff6ff;
    color: #2563eb;
    font-weight: 600;
}

.account-sidebar-divider {
    height: 1px;
    margin: 9px 4px;
    background: #eef0f3;
}

.account-sidebar-link.account-sidebar-logout {
    color: #dc2626;
}

.account-sidebar-link.account-sidebar-logout:hover {
    background: #fef2f2;
    color: #dc2626;
}


/* Dashboard Content */

.account-dashboard-content {
    min-width: 0;
}


/* Welcome Card */

.account-welcome-card {
    display: flex;
    align-items: center;
    gap: 17px;
    padding: 23px 25px;
    margin-bottom: 20px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.05);
}

.account-welcome-icon {
    width: 54px;
    height: 54px;
    min-width: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 23px;
}

.account-welcome-card span {
    color: #6b7280;
    font-size: 13px;
}

.account-welcome-card h2 {
    margin: 2px 0 4px;
    color: #111827;
    font-size: 21px;
    font-weight: 700;
}

.account-welcome-card p {
    margin: 0;
    color: #9ca3af;
    font-size: 12px;
}


/* Statistics */

.account-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 20px;
}

.account-stat-card {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 105px;
    padding: 18px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 7px 22px rgba(15, 23, 42, 0.04);
}

.account-stat-icon {
    width: 45px;
    height: 45px;
    min-width: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    font-size: 19px;
}

.account-stat-icon.orders {
    background: #eff6ff;
    color: #2563eb;
}

.account-stat-icon.wishlist {
    background: #fdf2f8;
    color: #db2777;
}

.account-stat-icon.points {
    background: #fff7ed;
    color: #ea580c;
}

.account-stat-content {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.account-stat-content span {
    color: #6b7280;
    font-size: 12px;
}

.account-stat-content strong {
    color: #111827;
    font-size: 22px;
    font-weight: 700;
}


/* Dashboard Card */

.account-dashboard-card {
    padding: 23px 25px;
    margin-bottom: 20px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.05);
}

.account-dashboard-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding-bottom: 18px;
    margin-bottom: 20px;
    border-bottom: 1px solid #eef0f3;
}

.account-dashboard-card-header h3 {
    margin: 4px 0 0;
    color: #111827;
    font-size: 18px;
    font-weight: 700;
}

.account-card-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #2563eb;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}

.account-card-link:hover {
    color: #1d4ed8;
}

.account-card-link i {
    font-size: 12px;
}


/* Account Information */

.account-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 25px;
}

.account-info-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.account-info-item > span {
    color: #9ca3af;
    font-size: 11px;
}

.account-info-item > strong {
    color: #374151;
    font-size: 14px;
    font-weight: 600;
}

.account-type-badge {
    width: fit-content;
    padding: 4px 9px;
    border-radius: 6px;
    background: #f3f4f6;
    color: #4b5563 !important;
    font-size: 11px !important;
}

.account-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    width: fit-content;
    color: #059669 !important;
    font-size: 12px !important;
}

.account-status-badge i {
    font-size: 13px;
}


/* Quick Actions */

.account-quick-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.account-quick-action {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
    padding: 14px;
    border: 1px solid #eef0f3;
    border-radius: 11px;
    color: inherit;
    text-decoration: none;
    transition: all 0.2s ease;
}

.account-quick-action:hover {
    border-color: #bfdbfe;
    background: #f8fbff;
    transform: translateY(-1px);
}

.account-quick-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 16px;
}

.account-quick-action > div:nth-child(2) {
    min-width: 0;
    flex: 1;
}

.account-quick-action strong {
    display: block;
    margin-bottom: 3px;
    color: #374151;
    font-size: 12px;
    font-weight: 600;
}

.account-quick-action span {
    display: block;
    overflow: hidden;
    color: #9ca3af;
    font-size: 10px;
    line-height: 1.4;
    text-overflow: ellipsis;
}

.account-quick-action > i {
    color: #9ca3af;
    font-size: 12px;
}


/* Responsive */

@media (max-width: 991px) {

    .account-dashboard-layout {
        grid-template-columns: 1fr;
    }

    .account-sidebar {
        width: 100%;
    }

    .account-sidebar-nav {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 3px;
    }

    .account-sidebar-divider {
        display: none;
    }

    .account-sidebar-link {
        margin-bottom: 0;
    }

    .account-stat-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .account-quick-actions {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 767px) {

    .account-dashboard-page {
        padding: 40px 15px 55px;
    }

    .account-dashboard-header {
        margin-bottom: 22px;
    }

    .account-dashboard-header h1 {
        font-size: 26px;
    }

    .account-stat-grid {
        grid-template-columns: 1fr;
    }

    .account-info-grid {
        grid-template-columns: 1fr;
    }

    .account-dashboard-card {
        padding: 20px;
    }

}


@media (max-width: 575px) {

    .account-sidebar-nav {
        grid-template-columns: 1fr;
    }

    .account-welcome-card {
        align-items: flex-start;
        padding: 20px;
    }

    .account-welcome-icon {
        width: 46px;
        height: 46px;
        min-width: 46px;
        font-size: 19px;
    }

    .account-welcome-card h2 {
        font-size: 18px;
    }

    .account-dashboard-card-header {
        align-items: flex-start;
        flex-direction: column;
    }

}



/* =========================================================
   CUSTOMER PROFILE
   ========================================================= */

.account-profile-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 22px;
}

.account-profile-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.account-profile-field label {
    color: #374151;
    font-size: 12px;
    font-weight: 600;
}

.account-profile-field label span {
    color: #dc2626;
}

.account-profile-field small {
    color: #9ca3af;
    font-size: 10px;
}

.account-profile-input {
    position: relative;
}

.account-profile-input > i {
    position: absolute;
    top: 50%;
    left: 13px;
    z-index: 2;
    color: #9ca3af;
    font-size: 15px;
    transform: translateY(-50%);
    pointer-events: none;
}

.account-profile-input input,
.account-profile-input select {
    width: 100%;
    height: 45px;
    padding: 0 13px 0 40px;
    border: 1px solid #e5e7eb;
    border-radius: 9px;
    outline: none;
    background: #ffffff;
    color: #374151;
    font-family: inherit;
    font-size: 13px;
    transition: all 0.2s ease;
}

.account-profile-input input:focus,
.account-profile-input select:focus {
    border-color: #93c5fd;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
}

.account-profile-input select {
    cursor: pointer;
}

.account-profile-readonly {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    height: 45px;
    padding: 0 13px;
    border: 1px solid #eef0f3;
    border-radius: 9px;
    background: #f8fafc;
    color: #6b7280;
    font-size: 13px;
}

.account-profile-readonly i {
    color: #2563eb;
    font-size: 15px;
}

.account-profile-actions {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding-top: 8px;
    margin-top: 4px;
    border-top: 1px solid #eef0f3;
}

.account-cancel-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 95px;
    height: 42px;
    padding: 0 17px;
    border: 1px solid #e5e7eb;
    border-radius: 9px;
    background: #ffffff;
    color: #6b7280;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.account-cancel-btn:hover {
    border-color: #d1d5db;
    background: #f9fafb;
    color: #374151;
}

.account-profile-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 135px;
    height: 42px;
    padding: 0 18px;
    border: 0;
    border-radius: 9px;
    background: #2563eb;
    color: #ffffff;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.account-profile-submit:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

.account-profile-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.account-profile-summary > div {
    padding: 15px;
    border: 1px solid #eef0f3;
    border-radius: 10px;
    background: #fafbfc;
}

.account-profile-summary span {
    display: block;
    margin-bottom: 6px;
    color: #9ca3af;
    font-size: 10px;
}

.account-profile-summary strong {
    color: #374151;
    font-size: 13px;
    font-weight: 600;
}

.profile-active-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #059669 !important;
}

.profile-active-status i {
    font-size: 13px;
}


/* Profile Responsive */

@media (max-width: 767px) {

    .account-profile-form {
        grid-template-columns: 1fr;
    }

    .account-profile-actions {
        grid-column: auto;
    }

    .account-profile-summary {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 575px) {

    .account-profile-actions {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .account-cancel-btn,
    .account-profile-submit {
        width: 100%;
    }

}




/* =========================================================
   CUSTOMER WISHLIST
   ========================================================= */

.wishlist-page {
    min-height: calc(100vh - 160px);
    padding: 55px 0 70px;
    background: #f8fafc;
}


/* Header */

.wishlist-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
}

.wishlist-header h1 {
    margin: 4px 0 8px;
    color: #111827;
    font-size: 30px;
    font-weight: 700;
}

.wishlist-header p {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
}


/* Clear */

.wishlist-clear-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 40px;
    padding: 0 14px;
    border: 1px solid #fecaca;
    border-radius: 8px;
    background: #fff;
    color: #dc2626;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all .2s ease;
}

.wishlist-clear-btn:hover {
    background: #fef2f2;
    border-color: #fca5a5;
    color: #b91c1c;
}


/* Alerts */

.wishlist-alert {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 12px 15px;
    margin-bottom: 20px;
    border-radius: 9px;
    font-size: 12px;
}

.wishlist-alert-success {
    border: 1px solid #bbf7d0;
    background: #f0fdf4;
    color: #166534;
}

.wishlist-alert-error {
    border: 1px solid #fecaca;
    background: #fef2f2;
    color: #991b1b;
}


/* Count */

.wishlist-count-row {
    margin-bottom: 16px;
    color: #6b7280;
    font-size: 13px;
}

.wishlist-count-row strong {
    color: #111827;
}


/* Grid */

.wishlist-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}


/* Card */

.wishlist-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 7px 22px rgba(15, 23, 42, .04);
    transition: all .25s ease;
}

.wishlist-card:hover {
    border-color: #dbeafe;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .08);
    transform: translateY(-2px);
}


/* Image */

.wishlist-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #f8fafc;
}

.wishlist-card-image > a {
    display: block;
    width: 100%;
    height: 100%;
}

.wishlist-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.wishlist-card:hover .wishlist-card-image img {
    transform: scale(1.04);
}

.wishlist-no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #cbd5e1;
    font-size: 42px;
}


/* Sale Badge */

.wishlist-sale-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 8px;
    border-radius: 6px;
    background: #dc2626;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
}


/* Body */

.wishlist-card-body {
    padding: 17px;
}

.wishlist-category {
    display: block;
    margin-bottom: 5px;
    color: #2563eb;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .3px;
}

.wishlist-card-body h3 {
    min-height: 42px;
    margin: 0 0 9px;
    line-height: 1.45;
}

.wishlist-card-body h3 a {
    color: #111827;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.wishlist-card-body h3 a:hover {
    color: #2563eb;
}


/* Price */

.wishlist-price {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.wishlist-price strong {
    color: #2563eb;
    font-size: 17px;
    font-weight: 700;
}

.wishlist-price del {
    color: #9ca3af;
    font-size: 11px;
}


/* Stock */

.wishlist-stock {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 13px;
    font-size: 10px;
    font-weight: 600;
}

.wishlist-stock.in-stock {
    color: #059669;
}

.wishlist-stock.out-stock {
    color: #dc2626;
}


/* Actions */

.wishlist-card-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.wishlist-card-actions form {
    flex: 1;
    margin: 0;
}

.wishlist-cart-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    height: 39px;
    padding: 0 10px;
    border: 0;
    border-radius: 8px;
    background: #2563eb;
    color: #fff;
    font-family: inherit;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s ease;
}

.wishlist-cart-btn:hover {
    background: #1d4ed8;
}

.wishlist-remove-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 39px;
    height: 39px;
    min-width: 39px;
    border: 1px solid #fecaca;
    border-radius: 8px;
    background: #fff;
    color: #dc2626;
    font-size: 15px;
    text-decoration: none;
    transition: all .2s ease;
}

.wishlist-remove-btn:hover {
    background: #fef2f2;
    border-color: #fca5a5;
}


/* Empty */

.wishlist-empty {
    max-width: 560px;
    margin: 45px auto 0;
    padding: 55px 30px;
    text-align: center;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(15, 23, 42, .05);
}

.wishlist-empty-icon {
    width: 76px;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: #fdf2f8;
    color: #db2777;
    font-size: 31px;
}

.wishlist-empty h2 {
    margin: 0 0 9px;
    color: #111827;
    font-size: 22px;
    font-weight: 700;
}

.wishlist-empty p {
    max-width: 430px;
    margin: 0 auto 22px;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.7;
}

.wishlist-browse-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    height: 42px;
    padding: 0 19px;
    border-radius: 9px;
    background: #2563eb;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all .2s ease;
}

.wishlist-browse-btn:hover {
    background: #1d4ed8;
    color: #fff;
    transform: translateY(-1px);
}


/* Responsive */

@media (max-width: 1199px) {

    .wishlist-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

}


@media (max-width: 991px) {

    .wishlist-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 767px) {

    .wishlist-page {
        padding: 40px 15px 55px;
    }

    .wishlist-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .wishlist-header h1 {
        font-size: 26px;
    }

}


@media (max-width: 575px) {

    .wishlist-grid {
        grid-template-columns: 1fr;
    }

    .wishlist-card-image {
        height: 240px;
    }

    .wishlist-empty {
        padding: 45px 20px;
    }

}

.wishlist-btn.wishlisted {
    color: #dc2626;
}

.wishlist-btn.wishlisted:hover {
    color: #b91c1c;
}




/* =========================================================
   CART CUSTOMER CHECKOUT
   ========================================================= */

.cart-customer-card {
    margin-top: 20px;
    padding: 25px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 7px 22px rgba(15, 23, 42, 0.04);
}

.cart-customer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding-bottom: 18px;
    margin-bottom: 20px;
    border-bottom: 1px solid #eef0f3;
}

.cart-customer-header h3 {
    margin: 4px 0 5px;
    color: #111827;
    font-size: 18px;
    font-weight: 700;
}

.cart-customer-header p {
    margin: 0;
    color: #9ca3af;
    font-size: 11px;
}

.cart-customer-icon {
    width: 45px;
    height: 45px;
    min-width: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 19px;
}

.cart-form-group {
    margin-bottom: 18px;
}

.cart-form-group > label {
    display: block;
    margin-bottom: 7px;
    color: #374151;
    font-size: 12px;
    font-weight: 600;
}

.cart-form-group > label span {
    color: #dc2626;
}

.cart-form-group > small {
    display: block;
    margin-top: 6px;
    color: #9ca3af;
    font-size: 10px;
    line-height: 1.5;
}

.cart-input-with-action {
    display: flex;
    align-items: stretch;
    gap: 8px;
}

.cart-input-icon {
    position: relative;
    flex: 1;
}

.cart-input-icon > i {
    position: absolute;
    top: 50%;
    left: 13px;
    z-index: 2;
    color: #9ca3af;
    font-size: 15px;
    transform: translateY(-50%);
    pointer-events: none;
}

.cart-input-icon input,
.cart-input-icon textarea {
    width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 9px;
    outline: none;
    background: #ffffff;
    color: #374151;
    font-family: inherit;
    font-size: 13px;
    transition: all .2s ease;
}

.cart-input-icon input {
    height: 45px;
    padding: 0 13px 0 40px;
}

.cart-input-icon textarea {
    min-height: 105px;
    padding: 13px 13px 13px 40px;
    resize: vertical;
}

.cart-input-icon input:focus,
.cart-input-icon textarea:focus {
    border-color: #93c5fd;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .08);
}

.check-customer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 105px;
    height: 45px;
    padding: 0 15px;
    border: 0;
    border-radius: 9px;
    background: #2563eb;
    color: #ffffff;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s ease;
}

.check-customer-btn:hover {
    background: #1d4ed8;
}

.check-customer-btn:disabled {
    opacity: .7;
    cursor: not-allowed;
}

.customer-check-status {
    align-items: center;
    gap: 8px;
    padding: 11px 13px;
    margin-bottom: 18px;
    border-radius: 8px;
    font-size: 11px;
}

.customer-check-status.success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
}

.customer-check-status.new {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1d4ed8;
}

.customer-check-status.error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.checkout-extra-fields {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 20px;
}

.checkout-extra-fields .cart-form-group {
    min-width: 0;
}

.existing-customer-box {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 12px;
    margin-bottom: 18px;
    border: 1px solid #bfdbfe;
    border-radius: 9px;
    background: #eff6ff;
}

.existing-customer-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #ffffff;
    color: #2563eb;
    font-size: 16px;
}

.existing-customer-box strong {
    display: block;
    margin-bottom: 2px;
    color: #1e3a8a;
    font-size: 12px;
    font-weight: 600;
}

.existing-customer-box span {
    display: block;
    color: #6b7280;
    font-size: 10px;
}

.password-input-wrap input {
    padding-right: 43px !important;
}

.checkout-password-toggle {
    position: absolute;
    top: 50%;
    right: 10px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #9ca3af;
    font-size: 14px;
    cursor: pointer;
    transform: translateY(-50%);
}

.checkout-password-toggle:hover {
    color: #2563eb;
}

.cart-textarea-wrap > i {
    top: 19px;
    transform: none;
}


/* Place Order */

.checkout-btn {
    width: 100%;
    min-height: 46px;
    border: 0;
    border-radius: 9px;
    background: #2563eb;
    color: #ffffff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s ease;
}

.checkout-btn:hover:not(:disabled) {
    background: #1d4ed8;
    transform: translateY(-1px);
}

.checkout-btn:disabled {
    background: #93b4f5;
    color: #ffffff;
    cursor: not-allowed;
    opacity: .9;
}

.checkout-btn i {
    margin-right: 5px;
}


/* Responsive */

@media (max-width: 767px) {

    .cart-customer-card {
        padding: 20px;
    }

    .cart-input-with-action {
        flex-direction: column;
    }

    .check-customer-btn {
        width: 100%;
    }

    .checkout-extra-fields {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 575px) {

    .cart-customer-header {
        align-items: flex-start;
    }

    .cart-customer-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }

}


/* =========================================================
   CHECKOUT CUSTOMER INFORMATION
   ========================================================= */

.checkout-customer-card {
    background: #ffffff;
    border: 1px solid #e1e6ed;
    border-radius: 14px;
    padding: 26px;
    margin-bottom: 24px;
}

.checkout-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.checkout-label {
    display: block;
    margin-bottom: 8px;
    color: #2563eb;
    font-size: 14px;
    font-weight: 700;
}

.checkout-section-header h2 {
    margin: 0 0 5px;
    color: #111827;
    font-size: 20px;
    font-weight: 700;
}

.checkout-section-header p {
    margin: 0;
    color: #94a3b8;
    font-size: 12px;
}

.checkout-section-icon {
    width: 46px;
    height: 46px;
    min-width: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eff6ff;
    color: #2563eb;
    border-radius: 12px;
    font-size: 20px;
}

.checkout-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 20px 0;
}

.checkout-form-group {
    margin-bottom: 20px;
}

.checkout-form-group label {
    display: block;
    margin-bottom: 8px;
    color: #1f2937;
    font-size: 13px;
    font-weight: 600;
}

.checkout-form-group label span {
    color: #dc2626;
}

.checkout-phone-row {
    display: flex;
    align-items: stretch;
    gap: 8px;
}

.checkout-input-wrap {
    position: relative;
    flex: 1;
}

.checkout-input-wrap > i {
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 16px;
    z-index: 2;
}

.checkout-input-wrap input {
    width: 100%;
    height: 46px;
    padding: 0 42px 0 40px;
    border: 1px solid #dbe1e8;
    border-radius: 9px;
    outline: none;
    background: #ffffff;
    color: #1f2937;
    font-size: 13px;
    transition: all .2s ease;
}

.checkout-input-wrap input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .08);
}

.checkout-input-wrap input::placeholder {
    color: #94a3b8;
}

.checkout-continue-btn {
    height: 46px;
    padding: 0 18px;
    border: 0;
    border-radius: 9px;
    background: #2563eb;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background .2s ease;
}

.checkout-continue-btn:hover {
    background: #1d4ed8;
}

.checkout-continue-btn:disabled {
    opacity: .7;
    cursor: not-allowed;
}

.checkout-form-group > small {
    display: block;
    margin-top: 7px;
    color: #94a3b8;
    font-size: 11px;
}


/* =========================================================
   EXISTING CUSTOMER
   ========================================================= */

.existing-customer-fields {
    margin: 18px 0;
}

.existing-customer-card {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 15px 16px;
    background: #eff6ff;
    border: 1px solid #dbeafe;
    border-radius: 10px;
}

.existing-customer-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2563eb;
    color: #ffffff;
    border-radius: 10px;
    font-size: 18px;
}

.existing-customer-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.existing-customer-label {
    margin-bottom: 2px;
    color: #2563eb;
    font-size: 11px;
    font-weight: 600;
}

.existing-customer-content strong {
    color: #111827;
    font-size: 14px;
    font-weight: 700;
}

.existing-customer-content small {
    margin-top: 2px;
    color: #64748b;
    font-size: 11px;
}


/* =========================================================
   NEW CUSTOMER ACCOUNT
   ========================================================= */

.checkout-account-fields {
    padding-top: 20px;
    margin-top: 5px;
    border-top: 1px solid #e5e7eb;
}

.checkout-account-status {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    margin-bottom: 20px;
    background: #eff6ff;
    border: 1px solid #dbeafe;
    border-radius: 10px;
}

.checkout-status-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #2563eb;
    color: #ffffff;
    font-size: 17px;
}

.checkout-account-status strong {
    display: block;
    margin-bottom: 2px;
    color: #111827;
    font-size: 14px;
    font-weight: 600;
}

.checkout-account-status span {
    display: block;
    color: #64748b;
    font-size: 12px;
}


/* =========================================================
   SHIPPING ADDRESS
   ========================================================= */

.checkout-textarea-wrap {
    position: relative;
}

.checkout-textarea-wrap > i {
    position: absolute;
    top: 16px;
    left: 14px;
    color: #94a3b8;
    font-size: 17px;
    z-index: 2;
}

.checkout-textarea-wrap textarea {
    width: 100%;
    min-height: 105px;
    padding: 13px 14px 13px 40px;
    border: 1px solid #dbe1e8;
    border-radius: 9px;
    outline: none;
    resize: vertical;
    background: #ffffff;
    color: #1f2937;
    font-size: 13px;
    transition: all .2s ease;
}

.checkout-textarea-wrap textarea:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .08);
}

.checkout-textarea-wrap textarea::placeholder {
    color: #94a3b8;
}


/* =========================================================
   CHECKOUT MESSAGE
   ========================================================= */

.checkout-customer-message {
    padding: 11px 14px;
    margin: 12px 0 18px;
    border-radius: 8px;
    font-size: 12px;
}

.checkout-message-success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #047857;
}

.checkout-message-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}


/* =========================================================
   PASSWORD TOGGLE
   ========================================================= */

.password-toggle-btn {
    position: absolute;
    top: 50%;
    right: 8px;
    width: 32px;
    height: 32px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
    font-size: 16px;
}

.password-toggle-btn:hover {
    color: #2563eb;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .checkout-customer-card {
        padding: 20px;
    }

    .checkout-phone-row {
        flex-direction: column;
    }

    .checkout-continue-btn {
        width: 100%;
    }

    .checkout-section-header h2 {
        font-size: 18px;
    }

}

.cart-qty-minus:disabled,
.cart-qty-plus:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}




/* =========================================================
   CHECKOUT COUPON
   ========================================================= */

.checkout-coupon-section {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.checkout-coupon-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: #374151;
    font-size: 14px;
    font-weight: 600;
}

.checkout-coupon-title i {
    color: #2563eb;
    font-size: 16px;
}

.checkout-coupon-form {
    display: flex;
    gap: 8px;
}

.checkout-coupon-form input {
    flex: 1;
    min-width: 0;
    height: 44px;
    padding: 0 13px;
    border: 1px solid #dbe2ea;
    border-radius: 8px;
    outline: none;
    color: #111827;
    background: #ffffff;
    font-size: 13px;
}

.checkout-coupon-form input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
}

.checkout-coupon-form button {
    height: 44px;
    padding: 0 18px;
    border: 0;
    border-radius: 8px;
    background: #2563eb;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.checkout-coupon-form button:hover {
    background: #1d4ed8;
}

.checkout-coupon-form button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.checkout-coupon-message {
    display: none;
    margin-top: 8px;
    font-size: 12px;
}

.checkout-coupon-message.success {
    display: block;
    color: #059669;
}

.checkout-coupon-message.error {
    display: block;
    color: #dc2626;
}

.applied-coupon-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 10px;
    padding: 10px 12px;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    background: #f0fdf4;
    color: #166534;
    font-size: 12px;
}

.applied-coupon-box > div {
    display: flex;
    align-items: center;
    gap: 7px;
}

.applied-coupon-box i {
    color: #16a34a;
}

.applied-coupon-box strong {
    font-weight: 700;
}

.applied-coupon-box button {
    border: 0;
    background: transparent;
    color: #dc2626;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    padding: 2px 4px;
}

.checkout-discount-row {
    display: none;
}

@media (max-width: 576px) {

    .checkout-coupon-form {
        flex-direction: column;
    }

    .checkout-coupon-form button {
        width: 100%;
    }

}







/* =========================================================
   DELIVERY AREA
   ========================================================= */

.delivery-area-card {
    margin-bottom: 16px;
    padding: 18px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.04);
}

.delivery-area-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: #111827;
    font-size: 15px;
    font-weight: 700;
}

.delivery-area-title i {
    color: #2563eb;
    font-size: 17px;
}

.delivery-options {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.delivery-option {
    display: block;
    margin: 0;
    padding: 0;
    cursor: pointer;
}

.delivery-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.delivery-option-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 48px;
    padding: 10px 12px;
    border: 1px solid #dbe2ea;
    border-radius: 9px;
    background: #ffffff;
    color: #374151;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.delivery-option-content::before {
    content: "";
    width: 17px;
    height: 17px;
    min-width: 17px;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    background: #ffffff;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.delivery-option input:checked + .delivery-option-content {
    border-color: #2563eb;
    background: #eff6ff;
}

.delivery-option input:checked + .delivery-option-content::before {
    border: 5px solid #2563eb;
}

.delivery-option-content {
    position: relative;
}

.delivery-option-name {
    flex: 1;
    font-size: 13px;
    font-weight: 600;
}

.delivery-option-content strong {
    color: #2563eb;
    font-size: 13px;
    font-weight: 700;
}

.delivery-area-help {
    display: block;
    margin-top: 9px;
    color: #94a3b8;
    font-size: 11px;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 576px) {

    .delivery-area-card {
        padding: 15px;
    }

}




/* =========================================================
   FINAL CART / CHECKOUT LAYOUT FIX
   ========================================================= */

/* Main checkout wrapper */
.cart-page .checkout-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 24px !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
    position: static !important;
    clear: both !important;
}


/* Checkout form */
.cart-page .checkout-wrapper > form {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}


/* Customer information row */
.cart-page .checkout-wrapper > form > .row {
    width: 100% !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0 !important;
    align-items: flex-start !important;
}


/* Customer information column */
.cart-page .checkout-wrapper .col-lg-8 {
    flex: 0 0 66.66666667% !important;
    max-width: 66.66666667% !important;
    width: 66.66666667% !important;
}


/* Customer card */
.cart-page .checkout-wrapper .checkout-customer-card {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
}


/* =========================================================
   TOP CART ROW
   ========================================================= */

.cart-page > .container > .row.g-4 {
    align-items: flex-start !important;
    margin-bottom: 0 !important;
}


/* Cart items card */
.cart-page .cart-items-card {
    width: 100%;
}


/* Right side */
.cart-page .delivery-area-card {
    width: 100%;
    margin-bottom: 16px;
}


/* Order summary */
.cart-page .checkout-summary-card {
    width: 100%;
    margin-top: 0;
}


/* =========================================================
   REMOVE UNNECESSARY VERTICAL SPACE
   ========================================================= */

.cart-page .checkout-wrapper,
.cart-page .checkout-wrapper .row,
.cart-page .checkout-wrapper .col-lg-8,
.cart-page .checkout-wrapper .checkout-customer-card {
    min-height: 0 !important;
    height: auto !important;
}


/* =========================================================
   DESKTOP
   ========================================================= */

@media (min-width: 992px) {

    .cart-page .checkout-wrapper {
        margin-top: 24px !important;
    }

    .cart-page .checkout-wrapper .col-lg-8 {
        flex: 0 0 66.66666667% !important;
        max-width: 66.66666667% !important;
    }

}


/* =========================================================
   TABLET / MOBILE
   ========================================================= */

@media (max-width: 991.98px) {

    .cart-page .checkout-wrapper .col-lg-8,
    .cart-page .checkout-wrapper .col-lg-4 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .cart-page .checkout-wrapper {
        margin-top: 20px !important;
    }

}


/* =========================================================
   FINAL CART CHECKOUT STRUCTURE
   ========================================================= */

.cart-page .row.align-items-start {
    align-items: flex-start !important;
}

.cart-page .checkout-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    margin: 24px 0 0 0 !important;
    padding: 0 !important;
    clear: none !important;
    position: static !important;
}

.cart-page .checkout-wrapper form {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.cart-page .checkout-customer-card {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
}

.cart-page .cart-items-card {
    margin-bottom: 0 !important;
}

.cart-page .delivery-area-card {
    margin-bottom: 16px !important;
}

.cart-page .checkout-summary-card {
    margin-top: 0 !important;
}


/* Desktop */

@media (min-width: 992px) {

    .cart-page .col-lg-8 {
        flex: 0 0 66.66666667%;
        max-width: 66.66666667%;
    }

    .cart-page .col-lg-4 {
        flex: 0 0 33.33333333%;
        max-width: 33.33333333%;
    }

}


/* Mobile */

@media (max-width: 991.98px) {

    .cart-page .col-lg-8,
    .cart-page .col-lg-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .cart-page .checkout-wrapper {
        margin-top: 20px !important;
    }

}




/* =========================================================
   ORDER SUCCESS PAGE
   ========================================================= */

.order-success-page {
    padding: 70px 0 90px;
    background: #f8fafc;
    min-height: calc(100vh - 150px);
}


/* =========================================================
   SUCCESS HEADER
   ========================================================= */

.order-success-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 45px;
}

.order-success-icon {
    width: 82px;
    height: 82px;
    margin: 0 auto 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #dcfce7;
    color: #16a34a;
    font-size: 38px;
    box-shadow: 0 12px 30px rgba(22, 163, 74, 0.12);
}

.order-success-label {
    display: inline-block;
    margin-bottom: 8px;
    color: #2563eb;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.order-success-header h1 {
    margin: 0 0 12px;
    color: #111827;
    font-size: 38px;
    font-weight: 800;
}

.order-success-header p {
    margin: 0 auto;
    color: #6b7280;
    font-size: 16px;
    line-height: 1.7;
}

.order-number-box {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 22px;
    padding: 10px 18px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-shadow: 0 5px 18px rgba(15, 23, 42, 0.05);
}

.order-number-box span {
    color: #6b7280;
    font-size: 13px;
}

.order-number-box strong {
    color: #2563eb;
    font-size: 14px;
    font-weight: 700;
}


/* =========================================================
   SUCCESS CARD
   ========================================================= */

.order-success-card {
    margin-bottom: 24px;
    padding: 26px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.05);
}

.order-success-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.card-small-label {
    display: block;
    margin-bottom: 5px;
    color: #2563eb;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.order-success-card-header h2 {
    margin: 0;
    color: #111827;
    font-size: 21px;
    font-weight: 700;
}

.order-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    background: #eff6ff;
    color: #2563eb;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.order-status-badge i {
    font-size: 13px;
}


/* =========================================================
   ORDER ITEMS
   ========================================================= */

.order-items-list {
    border-top: 1px solid #eef0f3;
}

.success-order-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 0;
    border-bottom: 1px solid #eef0f3;
}

.success-order-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.success-order-item:first-child {
    padding-top: 20px;
}

.success-order-item-image {
    width: 70px;
    height: 70px;
    min-width: 70px;
    overflow: hidden;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #eef0f3;
}

.success-order-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.success-order-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 22px;
}

.success-order-item-info {
    flex: 1;
    min-width: 0;
}

.success-order-item-info strong {
    display: block;
    margin-bottom: 5px;
    color: #1f2937;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
}

.success-order-item-info small {
    display: block;
    margin-bottom: 4px;
    color: #9ca3af;
    font-size: 11px;
}

.success-order-item-info span {
    color: #6b7280;
    font-size: 12px;
}

.success-order-item-price {
    text-align: right;
}

.success-order-item-price span {
    display: block;
    margin-bottom: 4px;
    color: #6b7280;
    font-size: 12px;
}

.success-order-item-price strong {
    display: block;
    color: #111827;
    font-size: 15px;
    font-weight: 700;
}


/* =========================================================
   SHIPPING INFORMATION
   ========================================================= */

.shipping-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eff6ff;
    color: #2563eb;
    border-radius: 10px;
    font-size: 18px;
}

.shipping-information {
    display: grid;
    gap: 16px;
}

.shipping-info-row {
    display: flex;
    align-items: flex-start;
    gap: 13px;
}

.shipping-info-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eff6ff;
    color: #2563eb;
    border-radius: 9px;
    font-size: 16px;
}

.shipping-info-row span {
    display: block;
    margin-bottom: 3px;
    color: #9ca3af;
    font-size: 11px;
}

.shipping-info-row strong {
    display: block;
    color: #374151;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.6;
}


/* =========================================================
   ORDER SUMMARY
   ========================================================= */

.order-success-summary {
    position: sticky;
    top: 25px;
    padding: 25px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
}

.order-summary-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
    color: #111827;
    font-size: 18px;
    font-weight: 700;
}

.order-summary-heading i {
    color: #2563eb;
    font-size: 20px;
}

.success-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 9px 0;
}

.success-summary-row span {
    color: #6b7280;
    font-size: 13px;
}

.success-summary-row strong {
    color: #374151;
    font-size: 13px;
    font-weight: 600;
}

.success-summary-row.discount strong {
    color: #16a34a;
}

.success-summary-divider {
    height: 1px;
    margin: 12px 0;
    background: #eef0f3;
}

.success-summary-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 8px 0 18px;
}

.success-summary-total span {
    color: #111827;
    font-size: 15px;
    font-weight: 700;
}

.success-summary-total strong {
    color: #2563eb;
    font-size: 22px;
    font-weight: 800;
}


/* =========================================================
   PAYMENT
   ========================================================= */

.success-payment-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px;
    margin-bottom: 12px;
    background: #f8fafc;
    border: 1px solid #eef0f3;
    border-radius: 10px;
}

.success-payment-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #dcfce7;
    color: #16a34a;
    border-radius: 9px;
    font-size: 18px;
}

.success-payment-box span,
.success-payment-status span {
    display: block;
    margin-bottom: 3px;
    color: #9ca3af;
    font-size: 10px;
}

.success-payment-box strong,
.success-payment-status strong {
    display: block;
    color: #374151;
    font-size: 12px;
    font-weight: 700;
}

.success-payment-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 0 3px 18px;
}

.success-payment-status strong {
    color: #d97706;
}


/* =========================================================
   ACTIONS
   ========================================================= */

.success-actions {
    display: grid;
    gap: 10px;
}

.success-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 10px 16px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.2s ease;
}

.success-btn.primary {
    background: #2563eb;
    color: #ffffff;
}

.success-btn.primary:hover {
    background: #1d4ed8;
    color: #ffffff;
    transform: translateY(-1px);
}

.success-btn.secondary {
    background: #ffffff;
    color: #374151;
    border: 1px solid #e5e7eb;
}

.success-btn.secondary:hover {
    background: #f8fafc;
    color: #2563eb;
    border-color: #bfdbfe;
}


/* =========================================================
   FOOTER MESSAGE
   ========================================================= */

.order-success-footer {
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 820px;
    margin: 28px auto 0;
    padding: 18px 22px;
    background: #eff6ff;
    border: 1px solid #dbeafe;
    border-radius: 12px;
}

.order-success-footer > i {
    color: #2563eb;
    font-size: 25px;
}

.order-success-footer strong {
    display: block;
    margin-bottom: 3px;
    color: #1e3a8a;
    font-size: 13px;
}

.order-success-footer span {
    display: block;
    color: #64748b;
    font-size: 12px;
    line-height: 1.5;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 767px) {

    .order-success-page {
        padding: 45px 0 60px;
    }

    .order-success-header {
        margin-bottom: 30px;
    }

    .order-success-icon {
        width: 68px;
        height: 68px;
        font-size: 30px;
    }

    .order-success-header h1 {
        font-size: 30px;
    }

    .order-success-header p {
        font-size: 14px;
    }

    .order-number-box {
        flex-direction: column;
        gap: 3px;
        padding: 10px 15px;
    }

    .order-success-card {
        padding: 20px;
        border-radius: 13px;
    }

    .order-success-card-header h2 {
        font-size: 18px;
    }

    .success-order-item {
        gap: 10px;
    }

    .success-order-item-image {
        width: 58px;
        height: 58px;
        min-width: 58px;
    }

    .success-order-item-price strong {
        font-size: 13px;
    }

    .success-order-item-price span {
        font-size: 10px;
    }

    .order-success-summary {
        position: static;
        padding: 20px;
    }

    .order-success-footer {
        align-items: flex-start;
        padding: 15px;
    }

}



/* =========================================================
   MY ORDERS PAGE
   ========================================================= */

.account-page {
    padding: 45px 0 70px;
    background: #f8fafc;
    min-height: calc(100vh - 180px);
}

.account-page-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 30px;
}

.account-page-label {
    display: inline-block;
    margin-bottom: 8px;
    color: #2563eb;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.2px;
}

.account-page-header h1 {
    margin: 0;
    color: #111827;
    font-size: 32px;
    font-weight: 700;
}

.account-page-header p {
    margin: 8px 0 0;
    color: #64748b;
    font-size: 14px;
}

.account-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 17px;
    border: 1px solid #dbe3ef;
    border-radius: 9px;
    background: #ffffff;
    color: #334155;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.account-back-btn:hover {
    border-color: #2563eb;
    color: #2563eb;
    background: #eff6ff;
}


.account-layout {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 25px;
    align-items: start;
}


/* Sidebar */

.account-sidebar {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.account-sidebar-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    border-bottom: 1px solid #eef2f7;
}

.account-sidebar-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 12px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 20px;
}

.account-sidebar-profile strong {
    display: block;
    color: #111827;
    font-size: 14px;
    font-weight: 700;
}

.account-sidebar-profile span {
    display: block;
    margin-top: 4px;
    color: #94a3b8;
    font-size: 11px;
}

.account-sidebar-nav {
    padding: 10px;
}

.account-sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    margin-bottom: 3px;
    padding: 0 13px;
    border-radius: 9px;
    color: #475569;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.account-sidebar-nav a i {
    width: 18px;
    color: #64748b;
    font-size: 16px;
}

.account-sidebar-nav a:hover {
    background: #f1f5f9;
    color: #2563eb;
}

.account-sidebar-nav a:hover i {
    color: #2563eb;
}

.account-sidebar-nav a.active {
    background: #eff6ff;
    color: #2563eb;
    font-weight: 600;
}

.account-sidebar-nav a.active i {
    color: #2563eb;
}

.account-sidebar-footer {
    margin-top: 5px;
    padding: 10px;
    border-top: 1px solid #eef2f7;
}

.account-sidebar-footer a {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    padding: 0 13px;
    border-radius: 9px;
    color: #dc2626;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.account-sidebar-footer a:hover {
    background: #fef2f2;
}


/* Orders Card */

.orders-card {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.orders-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 25px 26px;
    border-bottom: 1px solid #eef2f7;
}

.orders-card-label {
    display: block;
    margin-bottom: 7px;
    color: #2563eb;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}

.orders-card-header h2 {
    margin: 0;
    color: #111827;
    font-size: 21px;
    font-weight: 700;
}

.orders-card-header p {
    margin: 6px 0 0;
    color: #94a3b8;
    font-size: 13px;
}

.orders-header-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 12px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 21px;
}


/* Order Item */

.orders-list {
    padding: 0 26px;
}

.order-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 22px 0;
    border-bottom: 1px solid #eef2f7;
}

.order-item:last-child {
    border-bottom: 0;
}

.order-item-main {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.order-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 11px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 18px;
}

.order-info {
    min-width: 0;
}

.order-number {
    color: #64748b;
    font-size: 13px;
}

.order-number strong {
    color: #111827;
    font-weight: 700;
}

.order-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 8px;
    color: #94a3b8;
    font-size: 12px;
}

.order-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.order-meta i {
    color: #64748b;
}


/* Right Side */

.order-item-right {
    display: flex;
    align-items: flex-end;
    gap: 18px;
    flex-shrink: 0;
}

.order-amount {
    min-width: 105px;
    color: #111827;
    font-size: 16px;
    font-weight: 700;
    text-align: right;
}

.order-status-row {
    display: flex;
    align-items: center;
    gap: 7px;
}

.order-status,
.order-payment-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 28px;
    padding: 0 9px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.order-status i {
    font-size: 6px;
}

.order-status.pending {
    background: #eff6ff;
    color: #2563eb;
}

.order-status.processing {
    background: #fff7ed;
    color: #ea580c;
}

.order-status.shipped {
    background: #f5f3ff;
    color: #7c3aed;
}

.order-status.delivered {
    background: #ecfdf5;
    color: #059669;
}

.order-status.cancelled {
    background: #fef2f2;
    color: #dc2626;
}

.order-payment-status {
    background: #f8fafc;
    color: #64748b;
}

.order-payment-status.paid {
    background: #ecfdf5;
    color: #059669;
}

.order-payment-status.unpaid {
    background: #f8fafc;
    color: #64748b;
}


/* View Details */

.view-order-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #2563eb;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.view-order-btn:hover {
    color: #1d4ed8;
}

.view-order-btn i {
    transition: transform 0.2s ease;
}

.view-order-btn:hover i {
    transform: translateX(3px);
}


/* Empty */

.orders-empty {
    padding: 65px 25px;
    text-align: center;
}

.orders-empty-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin: 0 auto 18px;
    border-radius: 18px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 30px;
}

.orders-empty h3 {
    margin: 0;
    color: #111827;
    font-size: 20px;
    font-weight: 700;
}

.orders-empty p {
    max-width: 430px;
    margin: 8px auto 22px;
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.7;
}

.orders-shop-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 18px;
    border-radius: 9px;
    background: #2563eb;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.orders-shop-btn:hover {
    background: #1d4ed8;
    color: #ffffff;
}


/* Pagination */

.orders-pagination {
    padding: 20px 26px;
    border-top: 1px solid #eef2f7;
}

.orders-pagination .pagination {
    justify-content: flex-end;
    margin: 0;
}

.orders-pagination .page-link {
    color: #475569;
    border-color: #e2e8f0;
    font-size: 12px;
}

.orders-pagination .page-link:hover {
    color: #2563eb;
    background: #eff6ff;
}

.orders-pagination .active .page-link {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
}


/* Responsive */

@media (max-width: 991px) {

    .account-layout {
        grid-template-columns: 1fr;
    }

    .account-sidebar {
        width: 100%;
    }

    .account-sidebar-nav {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 4px;
    }

    .account-sidebar-nav a {
        margin-bottom: 0;
    }

    .account-sidebar-footer {
        margin-top: 0;
    }

    .order-item-right {
        flex-wrap: wrap;
        justify-content: flex-end;
    }
}


@media (max-width: 767px) {

    .account-page {
        padding: 30px 0 50px;
    }

    .account-page-header {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 22px;
    }

    .account-page-header h1 {
        font-size: 27px;
    }

    .account-layout {
        gap: 18px;
    }

    .orders-card-header {
        padding: 20px;
    }

    .orders-list {
        padding: 0 20px;
    }

    .order-item {
        align-items: flex-start;
        flex-direction: column;
        gap: 17px;
    }

    .order-item-right {
        width: 100%;
        align-items: center;
        justify-content: space-between;
    }

    .order-amount {
        min-width: auto;
        text-align: left;
    }

    .order-status-row {
        margin-left: auto;
    }

    .view-order-btn {
        margin-left: auto;
    }

    .orders-pagination {
        padding: 18px 20px;
    }
}


@media (max-width: 575px) {

    .account-sidebar-nav {
        grid-template-columns: 1fr;
    }

    .order-item-right {
        align-items: flex-start;
        flex-direction: column;
    }

    .order-status-row,
    .view-order-btn {
        margin-left: 0;
    }

    .order-meta {
        gap: 8px;
        flex-direction: column;
        align-items: flex-start;
    }
}



/* =========================================================
   ORDER DETAILS PAGE
   ========================================================= */

.order-details-top {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.order-details-top-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 17px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.order-details-top-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 10px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 17px;
}

.order-details-top-item > div:last-child {
    min-width: 0;
}

.order-details-top-item span:not(.order-status):not(.order-payment-status) {
    display: block;
    margin-bottom: 4px;
    color: #94a3b8;
    font-size: 11px;
}

.order-details-top-item strong {
    display: block;
    color: #111827;
    font-size: 13px;
    font-weight: 700;
}

.order-details-top-item strong .order-status {
    display: inline-flex;
}

.order-details-top-item small.order-payment-status {
    display: inline-flex;
    margin-left: 5px;
}


/* Layout */

.order-details-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 25px;
    align-items: start;
}

.order-details-main {
    min-width: 0;
}

.order-details-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}


/* Card */

.order-details-card {
    margin-bottom: 20px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.order-details-sidebar .order-details-card {
    margin-bottom: 0;
}

.order-details-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 21px 23px;
    border-bottom: 1px solid #eef2f7;
}

.order-details-card-label {
    display: block;
    margin-bottom: 6px;
    color: #2563eb;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
}

.order-details-card-header h2 {
    margin: 0;
    color: #111827;
    font-size: 18px;
    font-weight: 700;
}

.order-items-count {
    padding: 6px 10px;
    border-radius: 20px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 11px;
    font-weight: 600;
}

.order-details-section-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 17px;
}


/* Products */

.order-products-list {
    padding: 0 23px;
}

.order-product-item {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid #eef2f7;
}

.order-product-item:last-child {
    border-bottom: 0;
}

.order-product-image {
    width: 70px;
    height: 70px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #f8fafc;
}

.order-product-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.order-product-no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #cbd5e1;
    font-size: 24px;
}

.order-product-info {
    min-width: 0;
}

.order-product-info h3 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

.order-product-info h3 a {
    color: #111827;
    text-decoration: none;
}

.order-product-info h3 a:hover {
    color: #2563eb;
}

.order-product-sku {
    display: block;
    margin-top: 5px;
    color: #94a3b8;
    font-size: 11px;
}

.order-product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 8px;
    color: #94a3b8;
    font-size: 11px;
}

.order-product-meta strong {
    color: #475569;
    font-weight: 600;
}

.order-product-total {
    min-width: 100px;
    text-align: right;
}

.order-product-total span {
    display: block;
    margin-bottom: 4px;
    color: #94a3b8;
    font-size: 10px;
}

.order-product-total strong {
    color: #111827;
    font-size: 14px;
    font-weight: 700;
}

.order-details-empty {
    padding: 45px 20px;
    color: #94a3b8;
    text-align: center;
}

.order-details-empty i {
    display: block;
    margin-bottom: 10px;
    color: #cbd5e1;
    font-size: 30px;
}

.order-details-empty p {
    margin: 0;
    font-size: 13px;
}


/* Shipping */

.shipping-information {
    padding: 5px 23px;
}

.shipping-info-row {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 16px 0;
    border-bottom: 1px solid #eef2f7;
}

.shipping-info-row:last-child {
    border-bottom: 0;
}

.shipping-info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 9px;
    background: #f8fafc;
    color: #64748b;
    font-size: 15px;
}

.shipping-info-row span {
    display: block;
    margin-bottom: 4px;
    color: #94a3b8;
    font-size: 11px;
}

.shipping-info-row strong {
    display: block;
    color: #334155;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.6;
}

.shipping-address-row strong {
    white-space: normal;
}


/* Summary */

.order-summary-content {
    padding: 18px 23px 21px;
}

.order-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 8px 0;
    color: #64748b;
    font-size: 13px;
}

.order-summary-row strong {
    color: #334155;
    font-weight: 600;
}

.order-summary-row.discount strong {
    color: #059669;
}

.order-summary-divider {
    height: 1px;
    margin: 10px 0;
    background: #e2e8f0;
}

.order-summary-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding-top: 7px;
}

.order-summary-total span {
    color: #111827;
    font-size: 14px;
    font-weight: 700;
}

.order-summary-total strong {
    color: #2563eb;
    font-size: 20px;
    font-weight: 800;
}


/* Payment */

.payment-information {
    padding: 15px 23px 20px;
}

.payment-info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 10px 0;
}

.payment-info-row span {
    color: #94a3b8;
    font-size: 12px;
}

.payment-info-row strong {
    color: #334155;
    font-size: 12px;
    font-weight: 700;
}

.payment-paid {
    color: #059669 !important;
}

.payment-pending {
    color: #d97706 !important;
}


/* Actions */

.order-details-actions {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.order-action-primary,
.order-action-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 15px;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.order-action-primary {
    background: #2563eb;
    color: #ffffff;
}

.order-action-primary:hover {
    background: #1d4ed8;
    color: #ffffff;
}

.order-action-secondary {
    border: 1px solid #dbe3ef;
    background: #ffffff;
    color: #475569;
}

.order-action-secondary:hover {
    border-color: #2563eb;
    background: #eff6ff;
    color: #2563eb;
}


/* Responsive */

@media (max-width: 1100px) {

    .order-details-top {
        grid-template-columns: repeat(2, 1fr);
    }

    .order-details-layout {
        grid-template-columns: minmax(0, 1fr) 300px;
    }
}


@media (max-width: 991px) {

    .order-details-layout {
        grid-template-columns: 1fr;
    }

    .order-details-sidebar {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
    }

    .order-details-actions {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (max-width: 767px) {

    .order-details-top {
        grid-template-columns: 1fr;
    }

    .order-product-item {
        grid-template-columns: 60px minmax(0, 1fr);
        gap: 12px;
    }

    .order-product-image {
        width: 60px;
        height: 60px;
    }

    .order-product-total {
        grid-column: 2;
        min-width: auto;
        text-align: left;
    }

    .order-details-sidebar {
        grid-template-columns: 1fr;
    }

    .order-details-actions {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 575px) {

    .order-details-card-header {
        padding: 18px;
    }

    .order-products-list {
        padding: 0 18px;
    }

    .shipping-information {
        padding: 5px 18px;
    }

    .order-summary-content {
        padding: 15px 18px 18px;
    }

    .payment-information {
        padding: 12px 18px 17px;
    }

    .order-product-meta {
        flex-direction: column;
        gap: 4px;
    }

    .order-details-top-item {
        padding: 14px;
    }
}



/* =========================================================
   MY ADDRESSES PAGE
   ========================================================= */

.addresses-card,
.address-form-card {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.addresses-card-header,
.address-form-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 25px 26px;
    border-bottom: 1px solid #eef2f7;
}

.addresses-card-label {
    display: block;
    margin-bottom: 7px;
    color: #2563eb;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}

.addresses-card-header h2,
.address-form-header h2 {
    margin: 0;
    color: #111827;
    font-size: 21px;
    font-weight: 700;
}

.addresses-card-header p,
.address-form-header p {
    margin: 6px 0 0;
    color: #94a3b8;
    font-size: 13px;
}

.add-address-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 16px;
    border-radius: 9px;
    background: #2563eb;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.add-address-btn:hover {
    background: #1d4ed8;
    color: #ffffff;
}

.addresses-list {
    padding: 22px 26px;
}

.address-item {
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
    transition: all 0.2s ease;
}

.address-item:last-child {
    margin-bottom: 0;
}

.address-item:hover {
    border-color: #cbd5e1;
    box-shadow: 0 5px 18px rgba(15, 23, 42, 0.05);
}

.address-item.is-default {
    border-color: #bfdbfe;
}

.address-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 17px 18px;
    border-bottom: 1px solid #eef2f7;
    background: #fbfdff;
}

.address-title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.address-title-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 10px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 17px;
}

.address-title-wrap h3 {
    margin: 0;
    color: #111827;
    font-size: 14px;
    font-weight: 700;
}

.default-address-badge {
    display: inline-flex !important;
    align-items: center;
    gap: 4px;
    margin-top: 5px;
    color: #059669 !important;
    font-size: 10px !important;
    font-weight: 600 !important;
}

.default-address-badge i {
    font-size: 9px;
}

.address-actions {
    display: flex;
    align-items: center;
    gap: 7px;
}

.address-edit-btn,
.address-delete-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 32px;
    padding: 0 9px;
    border-radius: 7px;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.address-edit-btn {
    border: 1px solid #dbeafe;
    background: #eff6ff;
    color: #2563eb;
}

.address-edit-btn:hover {
    background: #dbeafe;
    color: #1d4ed8;
}

.address-delete-btn {
    border: 1px solid #fee2e2;
    background: #fef2f2;
    color: #dc2626;
}

.address-delete-btn:hover {
    background: #fee2e2;
    color: #b91c1c;
}

.address-item-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 17px 25px;
    padding: 20px 18px;
}

.address-person,
.address-full {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.address-person > i,
.address-full > i,
.address-location > i {
    margin-top: 2px;
    color: #64748b;
    font-size: 14px;
}

.address-person > div,
.address-full > div {
    min-width: 0;
}

.address-person span,
.address-full span {
    display: block;
    margin-bottom: 3px;
    color: #94a3b8;
    font-size: 10px;
}

.address-person strong,
.address-full strong {
    display: block;
    color: #334155;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
}

.address-full {
    grid-column: 1 / -1;
}

.address-location {
    display: flex;
    align-items: center;
    gap: 10px;
    grid-column: 1 / -1;
    padding-top: 13px;
    border-top: 1px solid #f1f5f9;
}

.address-location span {
    color: #64748b;
    font-size: 11px;
}

.address-item-footer {
    display: flex;
    justify-content: flex-end;
    padding: 12px 18px;
    border-top: 1px solid #eef2f7;
    background: #fbfdff;
}

.make-default-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #64748b;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.make-default-btn:hover {
    color: #2563eb;
}

.addresses-empty {
    padding: 70px 25px;
    text-align: center;
}

.addresses-empty-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 74px;
    height: 74px;
    margin: 0 auto 18px;
    border-radius: 18px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 31px;
}

.addresses-empty h3 {
    margin: 0;
    color: #111827;
    font-size: 20px;
    font-weight: 700;
}

.addresses-empty p {
    max-width: 450px;
    margin: 8px auto 22px;
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.7;
}

.addresses-empty-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 18px;
    border-radius: 9px;
    background: #2563eb;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}

.addresses-empty-btn:hover {
    background: #1d4ed8;
    color: #ffffff;
}


/* =========================================================
   ADDRESS FORM
   ========================================================= */

.address-form-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 12px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 21px;
}

.address-form {
    padding: 25px 26px;
}

.address-form-errors {
    margin: 20px 26px 0;
    padding: 14px 16px;
    border: 1px solid #fecaca;
    border-radius: 9px;
    background: #fef2f2;
}

.address-form-error-title {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #b91c1c;
    font-size: 12px;
    font-weight: 700;
}

.address-form-errors ul {
    margin: 8px 0 0 20px;
    padding: 0;
    color: #dc2626;
    font-size: 11px;
}

.address-form-errors li {
    margin-bottom: 3px;
}

.address-form-section {
    padding-bottom: 25px;
    margin-bottom: 25px;
    border-bottom: 1px solid #eef2f7;
}

.address-form-section:last-of-type {
    margin-bottom: 20px;
}

.address-form-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 17px;
    color: #334155;
    font-size: 13px;
    font-weight: 700;
}

.address-form-section-title i {
    color: #2563eb;
    font-size: 15px;
}

.address-type-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.address-type-option {
    position: relative;
    cursor: pointer;
}

.address-type-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.address-type-option span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-width: 105px;
    justify-content: center;
    padding: 10px 14px;
    border: 1px solid #dbe3ef;
    border-radius: 9px;
    background: #ffffff;
    color: #64748b;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.address-type-option span i {
    font-size: 14px;
}

.address-type-option input:checked + span {
    border-color: #2563eb;
    background: #eff6ff;
    color: #2563eb;
}

.address-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px;
}

.address-location-grid {
    margin-top: 17px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.address-form-group {
    min-width: 0;
}

.address-form-group label {
    display: block;
    margin-bottom: 7px;
    color: #475569;
    font-size: 11px;
    font-weight: 600;
}

.address-form-group label span {
    color: #dc2626;
}

.address-form-group input,
.address-form-group textarea {
    display: block;
    width: 100%;
    border: 1px solid #dbe3ef;
    border-radius: 8px;
    background: #ffffff;
    color: #111827;
    font-family: inherit;
    font-size: 12px;
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.address-form-group input {
    height: 42px;
    padding: 0 12px;
}

.address-form-group textarea {
    min-height: 105px;
    padding: 11px 12px;
    resize: vertical;
    line-height: 1.6;
}

.address-form-group input::placeholder,
.address-form-group textarea::placeholder {
    color: #b6c0ce;
}

.address-form-group input:focus,
.address-form-group textarea:focus {
    border-color: #93c5fd;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
}

.address-default-option {
    padding: 15px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
}

.address-default-option label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.address-default-option input {
    width: 16px;
    height: 16px;
    accent-color: #2563eb;
}

.address-default-check {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 13px;
}

.address-default-content {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.address-default-content strong {
    color: #334155;
    font-size: 12px;
    font-weight: 600;
}

.address-default-content small {
    color: #94a3b8;
    font-size: 10px;
}

.address-form-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
    padding-top: 5px;
}

.address-cancel-btn,
.address-save-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 42px;
    padding: 0 17px;
    border-radius: 8px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.address-cancel-btn {
    border: 1px solid #dbe3ef;
    background: #ffffff;
    color: #475569;
}

.address-cancel-btn:hover {
    border-color: #2563eb;
    background: #eff6ff;
    color: #2563eb;
}

.address-save-btn {
    border: 1px solid #2563eb;
    background: #2563eb;
    color: #ffffff;
}

.address-save-btn:hover {
    border-color: #1d4ed8;
    background: #1d4ed8;
}


/* Address Responsive */

@media (max-width: 991px) {

    .address-location-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


@media (max-width: 767px) {

    .addresses-card-header,
    .address-form-header {
        align-items: flex-start;
        flex-direction: column;
        padding: 20px;
    }

    .add-address-btn {
        width: 100%;
        justify-content: center;
    }

    .addresses-list {
        padding: 18px 20px;
    }

    .address-item-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .address-actions {
        width: 100%;
    }

    .address-edit-btn,
    .address-delete-btn {
        flex: 1;
        justify-content: center;
    }

    .address-form {
        padding: 20px;
    }

    .address-form-errors {
        margin: 18px 20px 0;
    }

    .address-form-grid {
        grid-template-columns: 1fr;
    }

    .address-location-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


@media (max-width: 575px) {

    .address-item-body {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .address-full,
    .address-location {
        grid-column: auto;
    }

    .address-location-grid {
        grid-template-columns: 1fr;
    }

    .address-type-options {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .address-type-option span {
        width: 100%;
        min-width: 0;
        padding: 10px 5px;
    }

    .address-default-option label {
        align-items: flex-start;
    }

    .address-form-actions {
        flex-direction: column-reverse;
    }

    .address-cancel-btn,
    .address-save-btn {
        width: 100%;
    }
}






/* =========================================================
   LOYALTY POINTS
========================================================= */

.loyalty-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 25px;
}

.loyalty-summary-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.04);
}

.loyalty-card-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 23px;
}

.loyalty-card-content {
    min-width: 0;
}

.loyalty-card-label {
    display: block;
    margin-bottom: 5px;
    color: #6b7280;
    font-size: 13px;
}

.loyalty-card-content strong {
    display: block;
    color: #111827;
    font-size: 24px;
    line-height: 1.3;
    font-weight: 700;
}

.loyalty-card-content small {
    display: block;
    margin-top: 4px;
    color: #9ca3af;
    font-size: 11px;
}

.loyalty-disabled-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 28px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
}

.loyalty-disabled-icon {
    width: 58px;
    height: 58px;
    min-width: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #f3f4f6;
    color: #6b7280;
    font-size: 25px;
}

.loyalty-disabled-card h3 {
    margin: 0 0 6px;
    color: #111827;
    font-size: 18px;
}

.loyalty-disabled-card p {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
}

.loyalty-table-wrapper {
    width: 100%;
    overflow-x: auto;
}

.loyalty-table {
    width: 100%;
    min-width: 750px;
    border-collapse: collapse;
}

.loyalty-table thead th {
    padding: 14px 16px;
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
    color: #6b7280;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .3px;
    white-space: nowrap;
}

.loyalty-table tbody td {
    padding: 16px;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
    color: #374151;
    font-size: 13px;
}

.loyalty-table tbody tr:last-child td {
    border-bottom: 0;
}

.loyalty-table tbody tr:hover {
    background: #fafcff;
}

.loyalty-date {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.loyalty-date strong {
    color: #374151;
    font-size: 13px;
    font-weight: 600;
}

.loyalty-date small {
    color: #9ca3af;
    font-size: 11px;
}

.loyalty-type {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 9px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

.loyalty-type.earn {
    background: #ecfdf5;
    color: #059669;
}

.loyalty-type.redeem {
    background: #fff1f2;
    color: #e11d48;
}

.loyalty-type.adjust {
    background: #eff6ff;
    color: #2563eb;
}

.loyalty-description {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.loyalty-description small {
    color: #9ca3af;
    font-size: 11px;
}

.loyalty-points {
    font-size: 14px;
    font-weight: 700;
}

.loyalty-points.earn {
    color: #059669;
}

.loyalty-points.redeem {
    color: #e11d48;
}

.loyalty-points.adjust {
    color: #2563eb;
}

.loyalty-balance {
    color: #374151;
    font-size: 14px;
    font-weight: 600;
}

.loyalty-empty-state {
    padding: 55px 20px;
    text-align: center;
}

.loyalty-empty-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #eff6ff;
    color: #2563eb;
    font-size: 30px;
}

.loyalty-empty-state h3 {
    margin: 0 0 8px;
    color: #111827;
    font-size: 20px;
}

.loyalty-empty-state p {
    max-width: 500px;
    margin: 0 auto 20px;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.7;
}

.account-pagination {
    padding: 20px 0 5px;
    display: flex;
    justify-content: center;
}

.account-pagination .pagination {
    margin: 0;
}

@media (max-width: 991px) {

    .loyalty-summary-grid {
        grid-template-columns: 1fr 1fr;
    }

}

@media (max-width: 767px) {

    .loyalty-summary-grid {
        grid-template-columns: 1fr;
    }

    .loyalty-summary-card {
        padding: 18px;
    }

    .loyalty-card-content strong {
        font-size: 21px;
    }

    .loyalty-disabled-card {
        align-items: flex-start;
        padding: 20px;
    }

}





/* =========================================================
   ACCOUNT COMMON LAYOUT
========================================================= */

.account-page {
    padding: 45px 0 70px;
    background: #f8fafc;
    min-height: calc(100vh - 150px);
}

.account-layout {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

/* Sidebar */

.account-sidebar {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(15, 23, 42, 0.05);
}

.account-sidebar-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    border-bottom: 1px solid #eef2f7;
}

.account-avatar {
    width: 46px;
    height: 46px;
    min-width: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #eff6ff;
    color: #2563eb;
    font-size: 20px;
}

.account-sidebar-header h5 {
    margin: 0 0 3px;
    color: #111827;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
}

.account-sidebar-header small {
    display: block;
    color: #9ca3af;
    font-size: 12px;
    line-height: 1.3;
}

.account-menu {
    display: flex;
    flex-direction: column;
    padding: 10px;
}

.account-menu a {
    display: flex;
    align-items: center;
    gap: 11px;
    width: 100%;
    padding: 11px 12px;
    margin: 2px 0;
    border-radius: 9px;
    color: #4b5563;
    background: transparent;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.account-menu a i {
    width: 20px;
    min-width: 20px;
    text-align: center;
    font-size: 16px;
}

.account-menu a:hover {
    background: #f3f6fb;
    color: #2563eb;
}

.account-menu a.active {
    background: #eff6ff;
    color: #2563eb;
    font-weight: 600;
}

.account-menu a:last-child {
    margin-top: 8px;
    border-top: 1px solid #eef2f7;
    border-radius: 0 0 9px 9px;
    padding-top: 14px;
}

.account-menu a:last-child:hover {
    background: #fef2f2;
    color: #dc2626;
}

/* Main Content */

.account-content {
    min-width: 0;
}

.account-content-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
}

.account-content-header h1 {
    margin: 0 0 7px;
    color: #111827;
    font-size: 30px;
    line-height: 1.25;
    font-weight: 700;
}

.account-content-header p {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
}

/* Section Card */

.account-section-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.04);
    overflow: hidden;
}

.account-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 20px 22px;
    border-bottom: 1px solid #eef2f7;
}

.account-section-header h2 {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 5px;
    color: #111827;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
}

.account-section-header h2 i {
    color: #2563eb;
    font-size: 18px;
}

.account-section-header p {
    margin: 0;
    color: #9ca3af;
    font-size: 12px;
    line-height: 1.5;
}

/* Alert */

.account-content .alert {
    margin-bottom: 20px;
    border-radius: 10px;
    font-size: 13px;
}

/* Responsive */

@media (max-width: 991px) {

    .account-layout {
        grid-template-columns: 220px minmax(0, 1fr);
        gap: 20px;
    }

}

@media (max-width: 767px) {

    .account-page {
        padding: 25px 0 50px;
    }

    .account-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .account-sidebar {
        width: 100%;
    }

    .account-menu {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 4px;
    }

    .account-menu a {
        margin: 0;
    }

    .account-menu a:last-child {
        margin-top: 0;
        border-top: 0;
        padding-top: 11px;
    }

    .account-content-header {
        margin-bottom: 20px;
    }

    .account-content-header h1 {
        font-size: 25px;
    }

}

@media (max-width: 480px) {

    .account-menu {
        grid-template-columns: 1fr;
    }

}




/* =========================================================
   SECURITY / CHANGE PASSWORD
========================================================= */

.security-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 24px;
    align-items: start;
}

.security-password-card {
    overflow: hidden;
}

.security-form {
    padding: 24px;
}

.security-form-group {
    margin-bottom: 20px;
}

.security-form-group label {
    display: block;
    margin-bottom: 8px;
    color: #374151;
    font-size: 13px;
    font-weight: 600;
}

.security-form-group label span {
    color: #dc2626;
}

.security-password-input {
    position: relative;
}

.security-password-input input {
    width: 100%;
    height: 46px;
    padding: 0 48px 0 14px;
    border: 1px solid #dbe1e8;
    border-radius: 9px;
    background: #ffffff;
    color: #111827;
    font-size: 13px;
    outline: none;
    box-sizing: border-box;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.security-password-input input::placeholder {
    color: #9ca3af;
}

.security-password-input input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .10);
}

.security-password-toggle {
    position: absolute;
    top: 50%;
    right: 12px;
    width: 30px;
    height: 30px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: transparent;
    color: #9ca3af;
    cursor: pointer;
    border-radius: 6px;
}

.security-password-toggle:hover {
    background: #f3f4f6;
    color: #2563eb;
}

.security-password-toggle i {
    font-size: 16px;
}

.security-form-group small {
    display: block;
    margin-top: 6px;
    color: #9ca3af;
    font-size: 11px;
}

.password-match-message {
    min-height: 20px;
    margin-top: -7px;
    margin-bottom: 12px;
    font-size: 12px;
    font-weight: 500;
}

.password-match-message.success {
    color: #059669;
}

.password-match-message.error {
    color: #dc2626;
}

.password-match-message i {
    margin-right: 4px;
}

.security-form-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding-top: 8px;
    border-top: 1px solid #eef2f7;
}

.security-form-actions .btn {
    min-height: 42px;
    padding: 0 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
}

.security-form-actions .btn-light {
    border: 1px solid #e5e7eb;
    background: #ffffff;
    color: #4b5563;
}

.security-form-actions .btn-light:hover {
    background: #f8fafc;
}

.security-info-card {
    padding: 25px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 4px 15px rgba(15, 23, 42, .04);
}

.security-info-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 23px;
}

.security-info-card h3 {
    margin: 0 0 8px;
    color: #111827;
    font-size: 18px;
    font-weight: 600;
}

.security-info-card > p {
    margin: 0 0 18px;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.7;
}

.security-info-card ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.security-info-card li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: #4b5563;
    font-size: 12px;
    line-height: 1.5;
}

.security-info-card li i {
    flex-shrink: 0;
    margin-top: 2px;
    color: #10b981;
    font-size: 13px;
}

.security-alert {
    margin-bottom: 20px;
}


/* Responsive */

@media (max-width: 991px) {

    .security-layout {
        grid-template-columns: 1fr;
    }

    .security-info-card {
        order: 2;
    }

}

@media (max-width: 575px) {

    .security-form {
        padding: 20px;
    }

    .security-form-actions {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .security-form-actions .btn {
        width: 100%;
    }

    .security-info-card {
        padding: 20px;
    }

}





/* =========================================================
   HOMEPAGE - COMMON SECTION
========================================================= */

.home-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}

.home-section-label {
    display: block;
    margin-bottom: 7px;
    color: #2563eb;
    font-size: 12px;
    font-weight: 700;
}

.home-section-heading h2 {
    margin: 0 0 7px;
    color: #172033;
    font-size: 27px;
    font-weight: 700;
    line-height: 1.3;
}

.home-section-heading p {
    margin: 0;
    color: #718096;
    font-size: 13px;
    line-height: 1.6;
}

.home-section-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex-shrink: 0;
    color: #2563eb;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.home-section-link:hover {
    color: #1d4ed8;
}

.home-section-link i {
    font-size: 14px;
    transition: transform .2s ease;
}

.home-section-link:hover i {
    transform: translateX(3px);
}


/* =========================================================
   HOMEPAGE - CATEGORIES
========================================================= */

.home-categories-section {
    padding: 70px 0 25px;
    background: #ffffff;
}

.home-category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.home-category-card {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 0;
    padding: 18px;
    background: #ffffff;
    border: 1px solid #e5eaf1;
    border-radius: 14px;
    text-decoration: none;
    box-shadow: 0 3px 12px rgba(15, 23, 42, .035);
    transition:
        transform .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}

.home-category-card:hover {
    transform: translateY(-3px);
    border-color: #bfdbfe;
    box-shadow: 0 10px 25px rgba(37, 99, 235, .09);
}

.home-category-image {
    width: 62px;
    height: 62px;
    min-width: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 12px;
    background: #eff6ff;
}

.home-category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-category-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #2563eb;
    font-size: 25px;
}

.home-category-content {
    min-width: 0;
}

.home-category-content h3 {
    margin: 0 0 5px;
    overflow: hidden;
    color: #172033;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-category-content p {
    margin: 0 0 7px;
    overflow: hidden;
    color: #8a94a6;
    font-size: 11px;
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-category-content span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #2563eb;
    font-size: 11px;
    font-weight: 600;
}

.home-category-content span i {
    font-size: 11px;
    transition: transform .2s ease;
}

.home-category-card:hover
.home-category-content span i {
    transform: translateX(3px);
}

.home-empty-section {
    padding: 45px 20px;
    text-align: center;
    color: #9ca3af;
}

.home-empty-section i {
    display: block;
    margin-bottom: 8px;
    font-size: 28px;
}

.home-empty-section p {
    margin: 0;
    font-size: 13px;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1199px) {

    .home-category-grid {
        grid-template-columns: repeat(3, 1fr);
    }

}

@media (max-width: 991px) {

    .home-category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 575px) {

    .home-categories-section {
        padding: 50px 0 20px;
    }

    .home-section-heading {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 20px;
    }

    .home-section-heading h2 {
        font-size: 23px;
    }

    .home-category-grid {
        grid-template-columns: 1fr;
    }

    .home-category-card {
        padding: 15px;
    }

}




/* =========================================================
   MOBILE RESPONSIVE - HEADER
========================================================= */

@media (max-width: 767px) {

    /* Main Header */
    .header-main {
        padding: 14px 0;
    }

    .header-main .container {
        width: 100%;
    }

    .header-inner {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-rows: auto auto;
        align-items: center;
        gap: 12px;
    }


    /* Logo */
    .store-logo {
        grid-column: 1;
        grid-row: 1;
        min-width: 0;
    }

    .store-logo .logo-icon {
        width: 42px;
        height: 42px;
        min-width: 42px;
        font-size: 19px;
    }

    .store-logo .logo-text {
        font-size: 20px;
    }


    /* Header Actions */
    .header-actions {
        grid-column: 2;
        grid-row: 1;

        display: flex !important;
        align-items: center;
        justify-content: flex-end;
        gap: 5px;
        min-width: 0;
    }

    .header-action {
        min-width: 42px !important;
        width: auto !important;
        padding: 5px 4px !important;
        margin: 0 !important;
    }

    .header-action i {
        font-size: 17px;
    }

    .header-action span:not(.cart-count) {
        font-size: 9px;
    }


    /* Search */
    .store-search {
        grid-column: 1 / -1;
        grid-row: 2;

        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
    }

    .store-search input {
        width: 100% !important;
        height: 42px;
        font-size: 12px;
    }

    .store-search button {
        width: 44px;
        height: 42px;
        min-width: 44px;
    }


    /* Account Dropdown */
    .header-account-dropdown {
        position: relative !important;
    }

    .header-account-dropdown .account-dropdown-toggle {
        min-width: 42px !important;
        width: 42px !important;
        height: 48px !important;
        padding: 2px !important;
    }

    .header-account-dropdown .account-dropdown-toggle > i:first-child {
        font-size: 17px !important;
        margin-bottom: 2px !important;
    }

    .header-account-dropdown .account-dropdown-toggle > span {
        font-size: 9px !important;
    }

    .header-account-dropdown .account-dropdown-toggle .account-arrow {
        left: calc(50% + 12px) !important;
        top: 33px !important;
        font-size: 7px !important;
    }

    .header-account-dropdown .account-dropdown-menu {
        top: calc(100% + 5px) !important;
        right: -5px !important;
        width: 260px !important;
        min-width: 260px !important;
    }


    /* Navigation */
    .header-nav {
        overflow: hidden;
    }

    .header-nav .container {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    .main-navigation {
        display: flex !important;
        align-items: center;
        justify-content: flex-start !important;
        gap: 0 !important;

        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        overflow-y: hidden;

        padding: 0 14px;

        white-space: nowrap;

        -webkit-overflow-scrolling: touch;

        scrollbar-width: none;
    }

    .main-navigation::-webkit-scrollbar {
        display: none;
    }

    .main-navigation a {
        flex: 0 0 auto !important;

        display: inline-flex !important;
        align-items: center;
        justify-content: center;

        height: 42px;

        padding: 0 14px !important;
        margin: 0 !important;

        font-size: 12px !important;
        white-space: nowrap !important;
    }


    /* =====================================================
       HERO
    ===================================================== */

    .home-hero {
        min-height: auto !important;
        padding: 70px 0 65px !important;
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
    }

    .hero-badge {
        font-size: 11px;
        padding: 7px 12px;
    }

    .hero-content h1 {
        margin-top: 15px;
        font-size: 34px !important;
        line-height: 1.15 !important;
        letter-spacing: -0.8px;
    }

    .hero-content p {
        max-width: 330px;
        font-size: 13px !important;
        line-height: 1.6;
    }

    .hero-btn {
        min-height: 42px;
        padding: 0 17px;
        font-size: 12px;
    }


    /* =====================================================
       HOMEPAGE SECTION HEADING
    ===================================================== */

    .home-section-heading,
    .section-heading {
        align-items: flex-start !important;
        flex-direction: column !important;
        gap: 12px !important;
    }

    .home-section-heading h2,
    .section-heading h2 {
        font-size: 23px !important;
    }


    /* =====================================================
       CATEGORY GRID
    ===================================================== */

    .home-category-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .home-category-card {
        padding: 14px !important;
    }


    /* =====================================================
       PRODUCT GRID
    ===================================================== */

    .featured-products-section {
        padding-top: 45px;
        padding-bottom: 45px;
    }

    .product-card {
        height: 100%;
    }

    .product-title {
        font-size: 13px !important;
    }

    .sale-price {
        font-size: 14px !important;
    }

    .old-price {
        font-size: 10px !important;
    }

    .add-cart-btn {
        font-size: 11px !important;
    }

}


/* =========================================================
   MOBILE NAVIGATION - NO HORIZONTAL OVERFLOW
========================================================= */

@media (max-width: 767px) {

    .header-nav {
        width: 100%;
        overflow: hidden !important;
    }

    .header-nav .container {
        width: 100%;
        max-width: 100%;
        padding-left: 10px;
        padding-right: 10px;
    }

    .main-navigation {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center;
        justify-content: center !important;

        width: 100% !important;
        max-width: 100% !important;

        overflow: visible !important;
        white-space: normal !important;

        padding: 5px 0 !important;
        margin: 0 !important;

        gap: 0 !important;
    }

    .main-navigation a {
        flex: 0 0 auto !important;

        display: inline-flex !important;
        align-items: center;
        justify-content: center;

        height: 34px !important;

        padding: 0 9px !important;
        margin: 0 !important;

        font-size: 10px !important;
        line-height: 1;

        white-space: nowrap !important;
    }

}


/* Smaller mobile */
@media (max-width: 480px) {

    .header-nav .container {
        padding-left: 6px;
        padding-right: 6px;
    }

    .main-navigation {
        justify-content: center !important;
        padding: 4px 0 !important;
    }

    .main-navigation a {
        height: 32px !important;
        padding: 0 8px !important;
        font-size: 10px !important;
    }

}




/* =========================================================
   HOMEPAGE HERO SLIDER
========================================================= */

.home-hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.home-hero-slide {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: center;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.hero-slide-one {
    background-image:
        url('../images/home/hero-1.png');
}

.hero-slide-two {
    background-image:
        url('../images/home/hero-2.png');
}

.hero-slide-three {
    background-image:
        url('../images/home/hero-3.png');
}

.home-hero-content {
    position: relative;
    z-index: 2;
    width: 52%;
    padding: 75px 0;
}

.home-hero-content .hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    margin-bottom: 18px;
    border-radius: 30px;
    background: #dbeafe;
    color: #2563eb;
    font-size: 12px;
    font-weight: 600;
}

.home-hero-content h1 {
    margin: 0 0 18px;
    color: #172033;
    font-size: 48px;
    line-height: 1.12;
    font-weight: 750;
    letter-spacing: -1px;
}

.home-hero-content p {
    max-width: 480px;
    margin: 0 0 27px;
    color: #64748b;
    font-size: 16px;
    line-height: 1.7;
}

.home-hero-content .hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 7px;
    background: #2563eb;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all .2s ease;
}

.home-hero-content .hero-btn:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

.home-hero-content .hero-btn i {
    font-size: 15px;
}


/* Slider Controls */

.home-hero-control {
    width: 55px;
    opacity: 1;
}

.hero-control-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,.85);
    color: #2563eb;
    box-shadow: 0 5px 20px rgba(15,23,42,.10);
}

.hero-control-icon i {
    font-size: 15px;
}


/* Indicators */

.home-hero-indicators {
    bottom: 20px;
    margin-bottom: 0;
}

.home-hero-indicators button {
    width: 22px;
    height: 4px;
    margin: 0 4px;
    border: 0;
    border-radius: 10px;
    background: #94a3b8;
}

.home-hero-indicators button.active {
    width: 38px;
    background: #2563eb;
}


/* Mobile */

@media (max-width: 767px) {

    .home-hero-slide {
        min-height: 430px;
        background-position: 65% center;
    }

    .home-hero-content {
        width: 100%;
        padding: 55px 0 70px;
    }

    .home-hero-content h1 {
        max-width: 350px;
        font-size: 32px;
        line-height: 1.15;
    }

    .home-hero-content p {
        max-width: 310px;
        font-size: 13px;
    }

    .home-hero-control {
        width: 38px;
    }

    .hero-control-icon {
        width: 32px;
        height: 32px;
    }

}

@media (max-width: 480px) {

    .home-hero-slide {
        min-height: 410px;
        background-position: 68% center;
    }

    .home-hero-content {
        padding: 50px 0 65px;
    }

    .home-hero-content h1 {
        font-size: 29px;
    }

    .home-hero-content .hero-badge {
        font-size: 10px;
        padding: 7px 11px;
    }

    .home-hero-content p {
        font-size: 12px;
    }

}






/* =========================================================
   PREMIUM CATEGORY SECTION
========================================================= */

.home-categories-section {
    padding: 75px 0 55px;
    background: #ffffff;
}

.home-category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.home-category-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 17px;
    min-height: 118px;
    padding: 18px;

    overflow: hidden;

    background: #ffffff;
    border: 1px solid #e8edf5;
    border-radius: 16px;

    text-decoration: none;

    box-shadow:
        0 3px 12px rgba(15, 23, 42, .035);

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.home-category-card::before {
    content: "";
    position: absolute;
    width: 90px;
    height: 90px;
    right: -35px;
    bottom: -40px;
    border-radius: 50%;
    background: #eff6ff;
    transition: transform .3s ease;
}

.home-category-card:hover {
    transform: translateY(-5px);
    border-color: #bfdbfe;

    box-shadow:
        0 14px 30px rgba(37, 99, 235, .10);
}

.home-category-card:hover::before {
    transform: scale(1.5);
}


/* Icon */

.home-category-image {
    position: relative;
    z-index: 1;

    width: 64px;
    height: 64px;
    min-width: 64px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 16px;

    background:
        linear-gradient(
            145deg,
            #eff6ff,
            #dbeafe
        );

    color: #2563eb;

    box-shadow:
        inset 0 0 0 1px rgba(37, 99, 235, .05);
}

.home-category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.home-category-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;
}

.home-category-icon i {
    font-size: 26px;
    transition: transform .25s ease;
}

.home-category-card:hover .home-category-icon i {
    transform: scale(1.12);
}


/* Content */

.home-category-content {
    position: relative;
    z-index: 2;
    min-width: 0;
}

.home-category-content h3 {
    margin: 0 0 6px;

    color: #172033;

    font-size: 15px;
    font-weight: 700;

    line-height: 1.3;
}

.home-category-content p {
    margin: 0 0 9px;

    color: #7b8798;

    font-size: 11px;
    line-height: 1.4;

    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;

    overflow: hidden;
}

.home-category-content span {
    display: inline-flex;
    align-items: center;
    gap: 5px;

    color: #2563eb;

    font-size: 11px;
    font-weight: 600;
}

.home-category-content span i {
    transition: transform .2s ease;
}

.home-category-card:hover
.home-category-content span i {
    transform: translateX(4px);
}


/* View All */

.home-section-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    color: #2563eb;
    font-size: 13px;
    font-weight: 600;

    text-decoration: none;
}

.home-section-link:hover {
    color: #1d4ed8;
}


/* Mobile */

@media (max-width: 991px) {

    .home-category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 575px) {

    .home-categories-section {
        padding: 55px 0 40px;
    }

    .home-category-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .home-category-card {
        min-height: 100px;
        padding: 15px;
    }

    .home-category-image {
        width: 58px;
        height: 58px;
        min-width: 58px;
    }

    .home-category-icon i {
        font-size: 23px;
    }

}


/* =========================================================
   CATEGORIES PAGE - PREMIUM ICON
========================================================= */

.category-card-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 150px;

    background: #f4f7fb;
    overflow: hidden;
}

.category-placeholder {
    width: 64px;
    height: 64px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 16px;

    background: linear-gradient(
        145deg,
        #eff6ff,
        #dbeafe
    );

    color: #2563eb;

    box-shadow:
        0 5px 15px rgba(37, 99, 235, 0.08);
}

.category-placeholder i {
    font-size: 27px;
    line-height: 1;

    transition:
        transform .25s ease,
        color .25s ease;
}

.category-card:hover .category-placeholder i {
    transform: scale(1.12);
    color: #1d4ed8;
}

.category-card:hover .category-placeholder {
    background: linear-gradient(
        145deg,
        #dbeafe,
        #bfdbfe
    );
}




/* =========================================================
   CONTACT PAGE
========================================================= */

.contact-page {
    padding: 75px 0 85px;
    background: #f8fafc;
}


/* =========================================================
   PAGE HEADER
========================================================= */

.contact-page-header {
    max-width: 700px;
    margin: 0 auto 45px;
    text-align: center;
}

.contact-page-label {
    display: inline-flex;
    align-items: center;

    padding: 7px 14px;
    margin-bottom: 12px;

    border-radius: 30px;

    background: #dbeafe;
    color: #2563eb;

    font-size: 11px;
    font-weight: 700;
}

.contact-page-header h1 {
    margin: 0 0 12px;

    color: #172033;

    font-size: 38px;
    font-weight: 750;
    line-height: 1.2;
}

.contact-page-header p {
    max-width: 620px;
    margin: 0 auto;

    color: #718096;

    font-size: 14px;
    line-height: 1.7;
}


/* =========================================================
   ALERT
========================================================= */

.contact-alert {
    display: flex;
    align-items: center;
    gap: 10px;

    max-width: 1100px;
    margin: 0 auto 25px;
    padding: 14px 17px;

    border-radius: 10px;

    font-size: 13px;
}

.contact-alert-success {
    border: 1px solid #bbf7d0;
    background: #f0fdf4;
    color: #166534;
}

.contact-alert-error {
    border: 1px solid #fecaca;
    background: #fef2f2;
    color: #991b1b;
}

.contact-alert i {
    font-size: 17px;
}


/* =========================================================
   CONTACT LAYOUT
========================================================= */

.contact-layout {
    display: grid;
    grid-template-columns: 390px minmax(0, 1fr);
    gap: 25px;

    max-width: 1100px;
    margin: 0 auto;
}


/* =========================================================
   CONTACT INFO CARD
========================================================= */

.contact-info-card {
    position: relative;

    padding: 32px;

    overflow: hidden;

    border: 1px solid #e5eaf1;
    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            #eff6ff 0%,
            #ffffff 55%
        );

    box-shadow:
        0 10px 35px rgba(15, 23, 42, .055);
}

.contact-info-card::after {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    right: -90px;
    bottom: -90px;

    border-radius: 50%;

    background: #dbeafe;

    opacity: .65;
}

.contact-info-header {
    position: relative;
    z-index: 1;

    margin-bottom: 28px;
}

.contact-info-badge {
    display: inline-block;

    margin-bottom: 10px;

    color: #2563eb;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: .4px;
    text-transform: uppercase;
}

.contact-info-header h2 {
    margin: 0 0 10px;

    color: #172033;

    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
}

.contact-info-header p {
    margin: 0;

    color: #718096;

    font-size: 12px;
    line-height: 1.7;
}


/* =========================================================
   INFO ITEMS
========================================================= */

.contact-info-item {
    position: relative;
    z-index: 1;

    display: flex;
    align-items: center;
    gap: 14px;

    padding: 14px 0;

    border-bottom: 1px solid rgba(226, 232, 240, .8);
}

.contact-info-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;
    min-width: 44px;

    border-radius: 12px;

    background: #ffffff;
    color: #2563eb;

    font-size: 18px;

    box-shadow:
        0 4px 12px rgba(37, 99, 235, .08);
}

.contact-info-content {
    display: flex;
    flex-direction: column;
    gap: 2px;

    min-width: 0;
}

.contact-info-content span {
    color: #8a94a6;

    font-size: 10px;
    font-weight: 600;
}

.contact-info-content strong {
    color: #172033;

    font-size: 13px;
    font-weight: 600;

    word-break: break-word;
}

.contact-info-content small {
    color: #9aa3b2;

    font-size: 10px;
}


/* =========================================================
   SOCIAL
========================================================= */

.contact-social {
    position: relative;
    z-index: 1;

    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-top: 24px;
}

.contact-social > span {
    color: #64748b;

    font-size: 11px;
    font-weight: 600;
}

.contact-social-links {
    display: flex;
    align-items: center;
    gap: 7px;
}

.contact-social-links a {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    border-radius: 9px;

    background: #ffffff;
    color: #2563eb;

    text-decoration: none;

    box-shadow:
        0 4px 12px rgba(15, 23, 42, .05);

    transition: all .2s ease;
}

.contact-social-links a:hover {
    background: #2563eb;
    color: #ffffff;

    transform: translateY(-2px);
}


/* =========================================================
   FORM CARD
========================================================= */

.contact-form-card {
    padding: 34px;

    border: 1px solid #e5eaf1;
    border-radius: 18px;

    background: #ffffff;

    box-shadow:
        0 10px 35px rgba(15, 23, 42, .055);
}

.contact-form-header {
    margin-bottom: 27px;
}

.contact-form-header > span {
    display: block;

    margin-bottom: 6px;

    color: #2563eb;

    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .3px;
}

.contact-form-header h2 {
    margin: 0 0 7px;

    color: #172033;

    font-size: 25px;
    font-weight: 700;
}

.contact-form-header p {
    margin: 0;

    color: #7b8798;

    font-size: 12px;
    line-height: 1.6;
}


/* =========================================================
   FORM
========================================================= */

.contact-form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.contact-form-group {
    margin-bottom: 19px;
}

.contact-form-group label {
    display: block;

    margin-bottom: 7px;

    color: #374151;

    font-size: 12px;
    font-weight: 600;
}

.contact-form-group label span {
    color: #ef4444;
}

.contact-input-wrap,
.contact-textarea-wrap {
    position: relative;
}

.contact-input-wrap > i,
.contact-textarea-wrap > i {
    position: absolute;

    left: 14px;
    top: 50%;

    color: #94a3b8;

    font-size: 15px;

    transform: translateY(-50%);

    pointer-events: none;
}

.contact-textarea-wrap > i {
    top: 17px;
    transform: none;
}

.contact-input-wrap input,
.contact-textarea-wrap textarea {
    width: 100%;

    border: 1px solid #e2e8f0;
    border-radius: 10px;

    background: #ffffff;
    color: #172033;

    font-family: inherit;
    font-size: 12px;

    outline: none;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.contact-input-wrap input {
    height: 46px;

    padding: 0 14px 0 42px;
}

.contact-textarea-wrap textarea {
    min-height: 135px;

    padding: 13px 14px 13px 42px;

    resize: vertical;
}

.contact-input-wrap input::placeholder,
.contact-textarea-wrap textarea::placeholder {
    color: #a3adbb;
}

.contact-input-wrap input:focus,
.contact-textarea-wrap textarea:focus {
    border-color: #93c5fd;

    box-shadow:
        0 0 0 3px rgba(37, 99, 235, .08);
}


/* =========================================================
   SUBMIT
========================================================= */

.contact-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    min-height: 46px;

    padding: 0 21px;

    border: 0;
    border-radius: 9px;

    background: #2563eb;
    color: #ffffff;

    font-family: inherit;
    font-size: 12px;
    font-weight: 600;

    cursor: pointer;

    transition:
        background .2s ease,
        transform .2s ease;
}

.contact-submit-btn:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

.contact-submit-btn i {
    font-size: 14px;

    transition: transform .2s ease;
}

.contact-submit-btn:hover i {
    transform: translateX(4px);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991px) {

    .contact-layout {
        grid-template-columns: 1fr;
        max-width: 700px;
    }

    .contact-info-card {
        order: 2;
    }

    .contact-form-card {
        order: 1;
    }

}


@media (max-width: 767px) {

    .contact-page {
        padding: 55px 0 65px;
    }

    .contact-page-header {
        margin-bottom: 30px;
    }

    .contact-page-header h1 {
        font-size: 31px;
    }

    .contact-page-header p {
        font-size: 12px;
    }

    .contact-info-card,
    .contact-form-card {
        padding: 24px;
        border-radius: 15px;
    }

}


@media (max-width: 575px) {

    .contact-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-page-header h1 {
        font-size: 28px;
    }

    .contact-info-header h2 {
        font-size: 21px;
    }

    .contact-form-header h2 {
        font-size: 22px;
    }

    .contact-submit-btn {
        width: 100%;
    }

}



/* =========================================================
   HOMEPAGE PRODUCT SECTIONS
========================================================= */

.home-products-section {
    padding: 75px 0;
    background: #ffffff;
}

.home-flash-deals-section {
    background: #f8fafc;
}

.home-new-arrivals-section {
    background: #ffffff;
}

.home-popular-section {
    background: #f8fafc;
}


/* =========================================================
   BRANDS
========================================================= */

.home-brands-section {
    padding: 75px 0;
    background: #ffffff;
}

.home-brand-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.home-brand-card {
    position: relative;

    display: flex;
    align-items: center;
    gap: 16px;

    min-height: 105px;
    padding: 17px;

    overflow: hidden;

    border: 1px solid #e6ebf2;
    border-radius: 15px;

    background: #ffffff;

    text-decoration: none;

    box-shadow:
        0 4px 15px rgba(15, 23, 42, .035);

    transition:
        transform .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}

.home-brand-card::after {
    content: "";

    position: absolute;

    width: 100px;
    height: 100px;

    right: -50px;
    bottom: -50px;

    border-radius: 50%;

    background: #eff6ff;
}

.home-brand-card:hover {
    transform: translateY(-4px);

    border-color: #bfdbfe;

    box-shadow:
        0 12px 28px rgba(37, 99, 235, .09);
}

.home-brand-logo {
    position: relative;
    z-index: 1;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 62px;
    height: 62px;
    min-width: 62px;

    border-radius: 15px;

    background: linear-gradient(
        145deg,
        #eff6ff,
        #dbeafe
    );

    color: #2563eb;

    overflow: hidden;
}

.home-brand-logo img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    padding: 8px;

    background: #ffffff;
}

.home-brand-logo span {
    font-size: 22px;
    font-weight: 700;
}

.home-brand-info {
    position: relative;
    z-index: 2;

    min-width: 0;
}

.home-brand-info h3 {
    margin: 0 0 7px;

    color: #172033;

    font-size: 15px;
    font-weight: 700;
}

.home-brand-info span {
    display: inline-flex;
    align-items: center;
    gap: 5px;

    color: #2563eb;

    font-size: 11px;
    font-weight: 600;
}

.home-brand-info span i {
    transition: transform .2s ease;
}

.home-brand-card:hover
.home-brand-info span i {
    transform: translateX(4px);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991px) {

    .home-brand-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 575px) {

    .home-products-section,
    .home-brands-section {
        padding: 55px 0;
    }

    .home-brand-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .home-brand-card {
        min-height: 90px;
    }

}





/* =========================================================
   DEALS PAGE
========================================================= */

.deals-page {
    padding: 55px 0 70px;
    background: #f8fafc;
    min-height: 500px;
}

.deals-page-header {
    text-align: center;
    margin-bottom: 40px;
}

.deals-page-header .section-subtitle {
    display: inline-block;
    margin-bottom: 8px;
    color: #2563eb;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.deals-page-header h1 {
    margin: 0 0 10px;
    color: #111827;
    font-size: 34px;
    font-weight: 700;
}

.deals-page-header p {
    margin: 0;
    color: #6b7280;
    font-size: 15px;
}


/* Deals Grid */

.deals-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}


/* Deal Card */

.deal-card {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #edf0f4;
    border-radius: 14px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.deal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.10);
}


/* Image */

.deal-card-image {
    position: relative;
    width: 100%;
    height: 245px;
    overflow: hidden;
    background: #f8fafc;
}

.deal-card-image a {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.deal-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 18px;
    transition: transform 0.3s ease;
}

.deal-card:hover .deal-card-image img {
    transform: scale(1.05);
}


/* Discount */

.deal-discount {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    height: 28px;
    padding: 0 9px;
    border-radius: 20px;
    background: #ef4444;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
}


/* Placeholder */

.deal-placeholder {
    color: #cbd5e1;
    font-size: 42px;
    text-decoration: none;
}


/* Body */

.deal-card-body {
    padding: 18px;
}

.deal-category {
    display: block;
    margin-bottom: 6px;
    color: #2563eb;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.deal-product-name {
    margin: 0 0 7px;
    min-height: 44px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
}

.deal-product-name a {
    color: #111827;
    text-decoration: none;
}

.deal-product-name a:hover {
    color: #2563eb;
}

.deal-brand {
    margin-bottom: 12px;
    color: #9ca3af;
    font-size: 12px;
}


/* Price */

.deal-price-row {
    margin-bottom: 16px;
}

.deal-prices {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
}

.deal-sale-price {
    color: #2563eb;
    font-size: 19px;
    font-weight: 700;
}

.deal-old-price {
    color: #9ca3af;
    font-size: 13px;
    text-decoration: line-through;
}


/* Button */

.deal-shop-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 42px;
    padding: 9px 15px;
    border-radius: 8px;
    background: #2563eb;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.deal-shop-btn:hover {
    background: #1d4ed8;
    color: #ffffff;
}

.deal-shop-btn i {
    font-size: 14px;
}


/* Empty */

.deals-empty {
    padding: 80px 20px;
    text-align: center;
    background: #ffffff;
    border: 1px solid #edf0f4;
    border-radius: 14px;
}

.deals-empty-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: #eff6ff;
    color: #2563eb;
    font-size: 30px;
}

.deals-empty h2 {
    margin: 0 0 8px;
    color: #111827;
    font-size: 22px;
    font-weight: 700;
}

.deals-empty p {
    max-width: 500px;
    margin: 0 auto 25px;
    color: #6b7280;
    font-size: 14px;
}


/* =========================================================
   DEALS RESPONSIVE
========================================================= */

@media (max-width: 1199px) {

    .deals-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

}


@media (max-width: 991px) {

    .deals-page {
        padding: 45px 0 60px;
    }

    .deals-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

}


@media (max-width: 575px) {

    .deals-page {
        padding: 35px 0 50px;
    }

    .deals-page-header {
        margin-bottom: 28px;
    }

    .deals-page-header h1 {
        font-size: 27px;
    }

    .deals-page-header p {
        font-size: 13px;
    }

    .deals-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .deal-card-image {
        height: 175px;
    }

    .deal-card-image img {
        padding: 10px;
    }

    .deal-card-body {
        padding: 12px;
    }

    .deal-product-name {
        min-height: 38px;
        font-size: 13px;
    }

    .deal-category {
        font-size: 9px;
    }

    .deal-brand {
        margin-bottom: 8px;
        font-size: 10px;
    }

    .deal-sale-price {
        font-size: 15px;
    }

    .deal-old-price {
        font-size: 11px;
    }

    .deal-discount {
        top: 9px;
        left: 9px;
        min-width: 44px;
        height: 24px;
        padding: 0 7px;
        font-size: 10px;
    }

    .deal-shop-btn {
        min-height: 36px;
        padding: 7px 8px;
        font-size: 11px;
    }

}



/* =====================================================
   MY ORDERS - ACTION BUTTONS
===================================================== */

.order-action-buttons {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 10px;
}


/* =====================================================
   VIEW INVOICE BUTTON
===================================================== */

.view-invoice-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;

    padding: 8px 13px;

    background: #fff;
    color: #dc3545;

    border: 1px solid #dc3545;
    border-radius: 7px;

    font-size: 12px;
    font-weight: 600;

    text-decoration: none;

    transition: all 0.2s ease;
}


.view-invoice-btn:hover {
    background: #dc3545;
    color: #fff;
    border-color: #dc3545;
}


.view-invoice-btn i {
    font-size: 14px;
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 575px) {

    .order-action-buttons {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

}