﻿/* =========================================================
   SHOPERIA CUSTOMER UI
   Global customer header + footer
   ========================================================= */

:root {
    --shopperia-navy: #17263b;
    --shopperia-coral: #ef6b62;
    --shopperia-coral-dark: #df574f;
    --shopperia-text: #243246;
    --shopperia-muted: #718096;
    --shopperia-border: #e8edf2;
    --shopperia-light: #f8fafc;
    --shopperia-white: #ffffff;
}

/* =========================
   HEADER
   ========================= */

.shopperia-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: var(--shopperia-white);
    border-bottom: 1px solid var(--shopperia-border);
    box-shadow: 0 3px 18px rgba(23, 38, 59, 0.06);
}

.shopperia-main-header {
    background: var(--shopperia-white);
}

.shopperia-header-container {
    min-height: 82px;
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 10px 32px;
}

/* Logo */

.shopperia-brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}

.shopperia-logo {
    width: 190px;
    height: auto;
    display: block;
}

/* Search */

.shopperia-search {
    flex: 1;
    max-width: 720px;
    margin: 0 auto;
}

.shopperia-search-box {
    height: 48px;
    display: flex;
    align-items: center;
    background: #f6f8fa;
    border: 1px solid #e2e8ef;
    border-radius: 8px;
    overflow: hidden;
    transition: border-color .2s ease, box-shadow .2s ease;
}

    .shopperia-search-box:focus-within {
        border-color: var(--shopperia-coral);
        box-shadow: 0 0 0 3px rgba(239, 107, 98, .10);
        background: #fff;
    }

    .shopperia-search-box svg {
        width: 21px;
        height: 21px;
        margin-left: 15px;
        fill: #7b8797;
        flex-shrink: 0;
    }

    .shopperia-search-box input {
        flex: 1;
        min-width: 0;
        height: 100%;
        border: 0;
        outline: 0;
        background: transparent;
        padding: 0 12px;
        color: var(--shopperia-text);
        font-size: 14px;
    }

        .shopperia-search-box input::placeholder {
            color: #8995a5;
        }

    .shopperia-search-box button {
        height: 100%;
        min-width: 92px;
        border: 0;
        background: var(--shopperia-navy);
        color: #fff;
        font-weight: 600;
        font-size: 14px;
        transition: background .2s ease;
    }

        .shopperia-search-box button:hover {
            background: #223852;
        }

/* Actions */

.shopperia-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-shrink: 0;
}

.shopperia-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    color: var(--shopperia-text);
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

    .shopperia-action svg {
        width: 22px;
        height: 22px;
        fill: var(--shopperia-navy);
    }

    .shopperia-action:hover {
        color: var(--shopperia-coral);
    }

        .shopperia-action:hover svg {
            fill: var(--shopperia-coral);
        }

/* Account */

.shopperia-account {
    border: 0;
    background: transparent;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
    color: var(--shopperia-text);
}

    .shopperia-account::after {
        margin-left: 2px;
    }

.shopperia-user-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #f2f5f8;
}

    .shopperia-user-icon svg {
        width: 20px;
        height: 20px;
        fill: var(--shopperia-navy);
    }

.shopperia-account-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

    .shopperia-account-text small {
        color: var(--shopperia-muted);
        font-size: 10px;
    }

    .shopperia-account-text strong {
        max-width: 110px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 13px;
    }

/* Dropdown */

.shopperia-dropdown {
    min-width: 210px;
    margin-top: 10px;
    padding: 8px;
    border: 1px solid var(--shopperia-border);
    border-radius: 10px;
    box-shadow: 0 12px 35px rgba(23, 38, 59, .12);
}

    .shopperia-dropdown .dropdown-item {
        border-radius: 7px;
        padding: 9px 11px;
        color: var(--shopperia-text);
    }

        .shopperia-dropdown .dropdown-item:hover {
            background: #fff3f1;
            color: var(--shopperia-coral-dark);
        }

.shopperia-dropdown-heading {
    font-weight: 700;
    color: var(--shopperia-navy);
}

.shopperia-logout {
    width: 100%;
    text-align: left;
}

/* =========================
   SECOND NAVIGATION
   ========================= */

.shopperia-nav {
    background: var(--shopperia-navy);
}

.shopperia-nav-container {
    padding: 0 32px;
}

.shopperia-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 4px;
}

    .shopperia-nav-list a {
        position: relative;
        display: block;
        padding: 13px 18px;
        color: rgba(255,255,255,.88);
        text-decoration: none;
        font-size: 13px;
        font-weight: 600;
        transition: color .2s ease;
    }

        .shopperia-nav-list a::after {
            content: "";
            position: absolute;
            left: 18px;
            right: 18px;
            bottom: 5px;
            height: 2px;
            border-radius: 10px;
            background: var(--shopperia-coral);
            transform: scaleX(0);
            transition: transform .2s ease;
        }

        .shopperia-nav-list a:hover,
        .shopperia-nav-list a.active {
            color: #fff;
        }

            .shopperia-nav-list a:hover::after,
            .shopperia-nav-list a.active::after {
                transform: scaleX(1);
            }

/* Mobile toggle */

.shopperia-mobile-toggle {
    display: none;
    width: 42px;
    height: 38px;
    padding: 8px;
    border: 1px solid var(--shopperia-border);
    border-radius: 7px;
    background: #fff;
}

    .shopperia-mobile-toggle span {
        display: block;
        height: 2px;
        margin: 5px 2px;
        background: var(--shopperia-navy);
        border-radius: 2px;
    }

/* =========================
   FOOTER
   ========================= */

.shopperia-footer {
    margin-top: 60px;
    padding: 48px 0 0;
    background: #f7f9fb;
    border-top: 1px solid var(--shopperia-border);
    color: var(--shopperia-text);
}

.shopperia-footer-brand img {
    width: 180px;
    max-width: 100%;
    margin-bottom: 15px;
}

.shopperia-footer p {
    margin-bottom: 7px;
    color: #4e5d70;
    font-size: 14px;
}

.shopperia-footer-muted {
    color: var(--shopperia-muted) !important;
}

.shopperia-footer h6 {
    margin-bottom: 15px;
    color: var(--shopperia-navy);
    font-size: 14px;
    font-weight: 700;
}

.shopperia-footer a {
    display: block;
    width: fit-content;
    margin-bottom: 9px;
    color: #617084;
    text-decoration: none;
    font-size: 13px;
}

    .shopperia-footer a:hover {
        color: var(--shopperia-coral-dark);
    }

.shopperia-footer-bottom {
    margin-top: 38px;
    padding: 18px 0;
    border-top: 1px solid #e1e7ed;
    display: flex;
    justify-content: space-between;
    gap: 15px;
    color: #7a8797;
    font-size: 12px;
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 991.98px) {

    .shopperia-header-container {
        gap: 15px;
        padding: 10px 20px;
    }

    .shopperia-logo {
        width: 160px;
    }

    .shopperia-search {
        max-width: none;
    }

    .shopperia-actions {
        gap: 12px;
    }

    .shopperia-action span {
        display: none;
    }

    .shopperia-account-text {
        display: none;
    }

    .shopperia-nav-container {
        padding: 0 20px;
    }
}

@media (max-width: 767.98px) {

    .shopperia-header {
        position: sticky;
    }

    .shopperia-header-container {
        min-height: 70px;
        flex-wrap: wrap;
        padding: 9px 15px;
    }

    .shopperia-brand {
        flex: 1;
    }

    .shopperia-logo {
        width: 145px;
    }

    .shopperia-search {
        order: 3;
        flex-basis: 100%;
        margin: 2px 0 0;
    }

    .shopperia-search-box {
        height: 44px;
    }

    .shopperia-actions {
        gap: 10px;
    }

    .shopperia-action svg {
        width: 21px;
        height: 21px;
    }

    .shopperia-account {
        padding: 0;
    }

    .shopperia-user-icon {
        width: 32px;
        height: 32px;
    }

    .shopperia-mobile-toggle {
        display: block;
    }

    .shopperia-nav {
        background: #fff;
        border-top: 1px solid var(--shopperia-border);
    }

    .shopperia-nav-list {
        display: block;
        padding: 6px 0;
    }

        .shopperia-nav-list a {
            color: var(--shopperia-text);
            padding: 10px 8px;
        }

            .shopperia-nav-list a::after {
                display: none;
            }

            .shopperia-nav-list a:hover,
            .shopperia-nav-list a.active {
                color: var(--shopperia-coral-dark);
            }

    .shopperia-footer {
        margin-top: 40px;
        padding-top: 38px;
    }

    .shopperia-footer-bottom {
        flex-direction: column;
    }
}
/* =========================
   CATEGORY DROPDOWN
   ========================= */

.shopperia-category-dropdown {
    min-width: 270px;
    max-height: 500px;
    overflow-y: auto;
    overflow-x: hidden;
    margin-top: 0;
    padding: 8px;
    border: 0;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(23, 38, 59, 0.15);
}

    .shopperia-category-dropdown .dropdown-item {
        padding: 10px 13px;
        border-radius: 6px;
        color: var(--shopperia-text);
        font-size: 13px;
        font-weight: 500;
    }

        .shopperia-category-dropdown .dropdown-item:hover {
            background: #fff3f1;
            color: var(--shopperia-coral-dark);
        }

/* =========================================================
   PRODUCT DETAILS - IMAGE GALLERY
   ========================================================= */

.shopperia-product-main-image {
    width: 100%;
    height: 430px;
    background: #ffffff;
    border: 1px solid #e8edf2;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 20px;
}

    .shopperia-product-main-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        transition: transform 0.25s ease;
    }

    .shopperia-product-main-image:hover img {
        transform: scale(1.03);
    }


/* Thumbnail row */

.shopperia-product-thumbnails {
    display: flex;
    gap: 12px;
    margin-top: 14px;
    overflow-x: auto;
    padding: 2px;
}

.shopperia-product-thumbnail {
    width: 76px;
    height: 76px;
    padding: 5px;
    background: #ffffff;
    border: 1px solid #dfe5eb;
    border-radius: 8px;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

    .shopperia-product-thumbnail img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .shopperia-product-thumbnail:hover {
        border-color: var(--shopperia-coral);
    }

    .shopperia-product-thumbnail.active {
        border: 2px solid var(--shopperia-coral);
    }


/* No image */

.shopperia-no-product-image {
    width: 100%;
    height: 430px;
    background: #f7f9fb;
    border: 1px solid #e8edf2;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7a8797;
}

/* =========================================
   SHOPERIA CATEGORY PAGE
   ========================================= */

.shopperia-category-page {
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 24px 70px;
}


/* Hero */

.shopperia-category-hero {
    padding: 45px 40px;
    margin-bottom: 35px;
    border-radius: 18px;
    background: #f8f5f2;
}

.shopperia-category-eyebrow {
    display: block;
    margin-bottom: 7px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #c96b5c;
}

.shopperia-category-hero h1 {
    margin: 0 0 8px;
    font-size: 34px;
    font-weight: 700;
    color: #20252b;
}

.shopperia-category-hero p {
    margin: 0;
    color: #69727d;
    font-size: 15px;
}


/* Category Groups */

.shopperia-category-section {
    margin-bottom: 50px;
}

.shopperia-category-groups {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.shopperia-category-group {
    padding: 20px;
    background: #ffffff;
    border: 1px solid #e5e9ed;
    border-radius: 12px;
    transition: 0.2s ease;
}

    .shopperia-category-group:hover {
        border-color: #d5dbe0;
        box-shadow: 0 8px 22px rgba(30, 40, 50, 0.07);
    }


/* Main Category */

.shopperia-category-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    color: #20252b;
    text-decoration: none;
    font-size: 17px;
    font-weight: 700;
}

    .shopperia-category-main:hover,
    .shopperia-category-main.active {
        color: #c96b5c;
    }

.shopperia-category-arrow {
    font-size: 18px;
}


/* Subcategories */

.shopperia-subcategory-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

    .shopperia-subcategory-list a {
        color: #68727d;
        text-decoration: none;
        font-size: 14px;
        transition: 0.2s ease;
    }

        .shopperia-subcategory-list a:hover {
            color: #c96b5c;
            padding-left: 4px;
        }


/* Products Heading */

.shopperia-products-heading {
    margin-bottom: 22px;
}

    .shopperia-products-heading h2 {
        margin: 0;
        font-size: 24px;
        color: #20252b;
    }


/* Product Grid */

.shopperia-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}


/* Product Card */

.shopperia-product-card {
    background: #ffffff;
    border: 1px solid #e5e9ed;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .shopperia-product-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 28px rgba(30, 40, 50, 0.10);
    }


/* Image */

.shopperia-product-image {
    height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    padding: 15px;
    overflow: hidden;
}

    .shopperia-product-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .shopperia-product-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

.shopperia-no-image {
    color: #89929c;
    font-size: 13px;
}


/* Product Content */

.shopperia-product-content {
    padding: 18px;
}

.shopperia-product-brand {
    display: block;
    margin-bottom: 5px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    color: #8b949e;
}

.shopperia-product-content h3 {
    min-height: 42px;
    margin: 0 0 12px;
    font-size: 15px;
    line-height: 1.4;
    color: #20252b;
}

.shopperia-product-price {
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 700;
    color: #20252b;
}


/* View Details */

.shopperia-view-product {
    display: block;
    width: 100%;
    padding: 10px;
    text-align: center;
    border: 1px solid #dfe4e9;
    border-radius: 7px;
    color: #20252b;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: 0.2s ease;
}

    .shopperia-view-product:hover {
        background: #20252b;
        color: #ffffff;
    }


/* Empty */

.shopperia-empty-category {
    padding: 60px 20px;
    text-align: center;
    border: 1px dashed #d9dee4;
    border-radius: 12px;
}

    .shopperia-empty-category h3 {
        margin-bottom: 8px;
    }

    .shopperia-empty-category p {
        color: #7a838d;
    }


/* Responsive */

@media (max-width: 1000px) {

    .shopperia-category-groups {
        grid-template-columns: repeat(2, 1fr);
    }

    .shopperia-product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 700px) {

    .shopperia-category-groups {
        grid-template-columns: 1fr;
    }

    .shopperia-product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .shopperia-category-hero {
        padding: 30px 24px;
    }

        .shopperia-category-hero h1 {
            font-size: 28px;
        }
}

@media (max-width: 480px) {

    .shopperia-product-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   SHOPERIA CATEGORY MENU
   ========================================= */

.shopperia-category-menu {
    position: relative;
}


/* =========================================
   CATEGORIES BUTTON
   ========================================= */

.shopperia-category-trigger {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 46px;
    padding: 0 2px;
    border: none;
    background: transparent;
    color: #ffffff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

    .shopperia-category-trigger:hover {
        color: #f28b7d;
    }


.shopperia-category-chevron {
    font-size: 14px;
    transition: transform 0.2s ease;
}


.shopperia-category-trigger.open
.shopperia-category-chevron {
    transform: rotate(180deg);
}


/* =========================================
   MAIN CATEGORY DROPDOWN
   ========================================= */

.shopperia-category-panel {
    position: absolute;
    top: calc(100% + 1px);
    left: -12px;
    width: 270px;
    padding: 10px 0;
    background: #ffffff;
    border: 1px solid #e5e8ec;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 12px 28px rgba(20, 30, 40, 0.14);
    max-height: calc(100vh - 250px);
    overflow-y: auto;
    overflow-x: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
    z-index: 2000;
}


    /* Open */

    .shopperia-category-panel.open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }


/* =========================================
   CATEGORY LIST
   ========================================= */

.shopperia-category-list {
    display: flex;
    flex-direction: column;
}


.shopperia-category-item {
    position: relative;
}


/* Main category link */

.shopperia-category-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 18px;
    color: #1d2939;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.15s ease, color 0.15s ease;
}


    .shopperia-category-link:hover {
        background: #f8f6f4;
        color: #e56f61;
    }


.shopperia-category-arrow {
    font-size: 14px;
    color: #7d8792;
}


/* =========================================
   SUBCATEGORY PANEL
   ========================================= */

.shopperia-subcategory-panel {
    display: none;
    padding: 4px 18px 14px 30px;
    background: #fafafa;
    border-top: 1px solid #f0f1f2;
}


/* Open subcategory */

.shopperia-category-item.expanded
.shopperia-subcategory-panel {
    display: block;
}


/* All products */

.shopperia-all-category {
    display: block;
    margin-bottom: 10px;
    color: #1d2939;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}


    .shopperia-all-category:hover {
        color: #e56f61;
    }


/* Subcategory links */

.shopperia-subcategory-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}


    .shopperia-subcategory-list a {
        display: flex;
        align-items: center;
        color: #68727d;
        text-decoration: none;
        font-size: 13px;
        transition: color 0.15s ease, padding-left 0.15s ease;
    }


        .shopperia-subcategory-list a:hover {
            color: #e56f61;
            padding-left: 3px;
        }


.shopperia-subcategory-line {
    margin-right: 6px;
    color: #a0a7ae;
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 700px) {

    .shopperia-category-panel {
        left: 0;
        width: 260px;
        max-height: 70vh;
        overflow-y: auto;
    }
}

/* =========================================
   CATEGORY MENU TEXT FIX
   ========================================= */

.shopperia-category-panel .shopperia-category-link {
    color: #1d2939 !important;
    background: transparent !important;
}

    .shopperia-category-panel .shopperia-category-link:hover {
        color: #e56f61 !important;
        background: #f8f6f4 !important;
    }

.shopperia-category-panel .shopperia-category-arrow {
    color: #68727d !important;
}


/* All Category */

.shopperia-category-panel .shopperia-all-category {
    color: #1d2939 !important;
}

    .shopperia-category-panel .shopperia-all-category:hover {
        color: #e56f61 !important;
    }


/* Subcategories */

.shopperia-category-panel .shopperia-subcategory-list a {
    color: #68727d !important;
}

    .shopperia-category-panel .shopperia-subcategory-list a:hover {
        color: #e56f61 !important;
    }

.shopperia-category-panel .shopperia-subcategory-line {
    color: #a0a7ae !important;
}

/* =========================================
   SHOPERIA - CUSTOMER PROFILE
   ========================================= */

.shopperia-profile-page {
    min-height: calc(100vh - 140px);
    background: #f7f8fa;
    padding: 45px 20px 60px;
}

.shopperia-profile-container {
    max-width: 1050px;
    margin: 0 auto;
}


/* Page Header */

.shopperia-profile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
}

    .shopperia-profile-header h1 {
        margin: 0;
        color: #18283d;
        font-size: 28px;
        font-weight: 700;
    }

    .shopperia-profile-header p {
        margin: 6px 0 0;
        color: #7a8490;
        font-size: 14px;
    }


/* Edit Button */

.shopperia-profile-edit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 130px;
    height: 42px;
    padding: 0 20px;
    border-radius: 7px;
    background: #18283d;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: 0.2s ease;
}

    .shopperia-profile-edit-btn:hover {
        background: #e56f61;
        color: #ffffff;
    }


/* Success */

.shopperia-profile-success {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding: 13px 16px;
    border: 1px solid #cde8d5;
    border-radius: 8px;
    background: #f0faf3;
    color: #26733b;
    font-size: 14px;
}

    .shopperia-profile-success span {
        font-weight: 700;
    }


/* Profile Summary */

.shopperia-profile-summary {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 24px;
    margin-bottom: 20px;
    background: #ffffff;
    border: 1px solid #e6e9ed;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(20, 30, 40, 0.04);
}

.shopperia-profile-avatar {
    width: 68px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 50%;
    background: #18283d;
    color: #ffffff;
    font-size: 25px;
    font-weight: 700;
}

.shopperia-profile-summary-info h2 {
    margin: 0 0 5px;
    color: #18283d;
    font-size: 20px;
    font-weight: 700;
}

.shopperia-profile-summary-info p {
    margin: 0;
    color: #7a8490;
    font-size: 14px;
}


/* Information Card */

.shopperia-profile-card {
    background: #ffffff;
    border: 1px solid #e6e9ed;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(20, 30, 40, 0.04);
    overflow: hidden;
}

.shopperia-profile-card-header {
    padding: 22px 25px;
    border-bottom: 1px solid #edf0f2;
}

    .shopperia-profile-card-header h2 {
        margin: 0;
        color: #18283d;
        font-size: 17px;
        font-weight: 700;
    }

    .shopperia-profile-card-header p {
        margin: 5px 0 0;
        color: #89919b;
        font-size: 13px;
    }


/* Details Grid */

.shopperia-profile-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 50px;
    row-gap: 0;
    padding: 5px 25px 15px;
}


/* Individual Field */

.shopperia-profile-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-height: 82px;
    padding: 18px 0;
    border-bottom: 1px solid #f0f1f3;
}

.shopperia-profile-label {
    color: #8a939d;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.shopperia-profile-value {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #27364a;
    font-size: 14px;
    font-weight: 500;
}

.shopperia-locked {
    font-size: 11px;
    opacity: 0.65;
}

.shopperia-profile-empty {
    color: #a1a8b0;
    font-style: italic;
    font-weight: 400;
}


/* Responsive */

@media (max-width: 700px) {

    .shopperia-profile-page {
        padding: 30px 15px 45px;
    }

    .shopperia-profile-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .shopperia-profile-edit-btn {
        width: 100%;
    }

    .shopperia-profile-summary {
        padding: 20px;
    }

    .shopperia-profile-details {
        grid-template-columns: 1fr;
        column-gap: 0;
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* =========================================
   SHOPERIA PROFILE EDIT
   ========================================= */

.shopperia-profile-edit-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px 40px;
    padding: 25px;
}


.shopperia-profile-edit-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}


    .shopperia-profile-edit-field label {
        color: #68727d;
        font-size: 13px;
        font-weight: 600;
    }


.shopperia-profile-input {
    width: 100%;
    height: 44px;
    padding: 0 13px;
    border: 1px solid #dfe3e7;
    border-radius: 7px;
    background: #ffffff;
    color: #27364a;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}


    .shopperia-profile-input:focus {
        border-color: #18283d;
        box-shadow: 0 0 0 3px rgba(24, 40, 61, 0.08);
    }


.shopperia-profile-locked-input {
    position: relative;
    display: flex;
    align-items: center;
}


    .shopperia-profile-locked-input .shopperia-profile-input {
        padding-right: 42px;
        background: #f6f7f8;
        color: #7a8490;
        cursor: not-allowed;
    }


    .shopperia-profile-locked-input span {
        position: absolute;
        right: 13px;
        font-size: 12px;
        opacity: 0.7;
    }


.shopperia-profile-edit-field small {
    color: #9aa1a9;
    font-size: 11px;
}


.shopperia-profile-validation {
    color: #c94b4b;
    font-size: 12px;
}


.shopperia-profile-edit-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 18px 25px;
    border-top: 1px solid #edf0f2;
}


.shopperia-profile-cancel-btn,
.shopperia-profile-save-btn {
    height: 42px;
    padding: 0 20px;
    border-radius: 7px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}


.shopperia-profile-cancel-btn {
    border: 1px solid #dfe3e7;
    background: #ffffff;
    color: #68727d;
}


    .shopperia-profile-cancel-btn:hover {
        background: #f7f8fa;
    }


.shopperia-profile-save-btn {
    border: none;
    background: #18283d;
    color: #ffffff;
}


    .shopperia-profile-save-btn:hover {
        background: #e56f61;
    }


@media (max-width: 700px) {

    .shopperia-profile-edit-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 20px;
    }

    .shopperia-profile-edit-actions {
        padding: 15px 20px;
    }
}

/* =========================================
   SHOPERIA - CHANGE PASSWORD
   ========================================= */

.shopperia-password-page {
    min-height: calc(100vh - 140px);
    background: #f7f8fa;
    padding: 45px 20px 60px;
}

.shopperia-password-container {
    max-width: 720px;
    margin: 0 auto;
}


/* Header */

.shopperia-password-header {
    margin-bottom: 25px;
}

    .shopperia-password-header h1 {
        margin: 0;
        color: #18283d;
        font-size: 28px;
        font-weight: 700;
    }

    .shopperia-password-header p {
        margin: 6px 0 0;
        color: #7a8490;
        font-size: 14px;
    }


/* Success */

.shopperia-password-success {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding: 13px 16px;
    border: 1px solid #cde8d5;
    border-radius: 8px;
    background: #f0faf3;
    color: #26733b;
    font-size: 14px;
}

    .shopperia-password-success span {
        font-weight: 700;
    }


/* Card */

.shopperia-password-card {
    background: #ffffff;
    border: 1px solid #e6e9ed;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(20, 30, 40, 0.04);
    overflow: hidden;
}


/* Card Header */

.shopperia-password-card-header {
    padding: 23px 28px;
    border-bottom: 1px solid #edf0f2;
}

    .shopperia-password-card-header h2 {
        margin: 0;
        color: #18283d;
        font-size: 17px;
        font-weight: 700;
    }

    .shopperia-password-card-header p {
        margin: 5px 0 0;
        color: #89919b;
        font-size: 13px;
    }


/* Form */

.shopperia-password-form {
    padding: 28px;
}


/* Field */

.shopperia-password-field {
    margin-bottom: 20px;
}

    .shopperia-password-field label {
        display: block;
        margin-bottom: 7px;
        color: #68727d;
        font-size: 13px;
        font-weight: 600;
    }


/* Input wrapper */

.shopperia-password-input-wrapper {
    position: relative;
}


/* Input */

.shopperia-password-input {
    width: 100%;
    height: 46px;
    padding: 0 48px 0 13px;
    border: 1px solid #dfe3e7;
    border-radius: 7px;
    background: #ffffff;
    color: #27364a;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

    .shopperia-password-input:focus {
        border-color: #18283d;
        box-shadow: 0 0 0 3px rgba(24, 40, 61, 0.08);
    }


/* Eye button */

.shopperia-password-toggle {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    background: transparent;
    color: #7d8792;
    cursor: pointer;
    border-radius: 5px;
}

    .shopperia-password-toggle:hover {
        background: #f3f4f5;
        color: #18283d;
    }

.shopperia-eye-icon {
    font-size: 15px;
}


/* Validation */

.shopperia-password-validation {
    display: block;
    margin-top: 6px;
    color: #c94b4b;
    font-size: 12px;
}


/* Password hint */

.shopperia-password-hint {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 5px;
    margin-bottom: 25px;
    padding: 13px 15px;
    border-radius: 7px;
    background: #f7f8fa;
}

    .shopperia-password-hint strong {
        color: #4f5964;
        font-size: 12px;
    }

    .shopperia-password-hint span {
        color: #8a939d;
        font-size: 12px;
    }


/* Actions */

.shopperia-password-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    padding-top: 5px;
}


/* Cancel */

.shopperia-password-cancel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    padding: 0 20px;
    border: 1px solid #dfe3e7;
    border-radius: 7px;
    background: #ffffff;
    color: #68727d;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

    .shopperia-password-cancel:hover {
        background: #f7f8fa;
        color: #27364a;
    }


/* Save */

.shopperia-password-save {
    height: 42px;
    padding: 0 20px;
    border: none;
    border-radius: 7px;
    background: #18283d;
    color: #ffffff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

    .shopperia-password-save:hover {
        background: #e56f61;
    }


/* Mobile */

@media (max-width: 600px) {

    .shopperia-password-page {
        padding: 30px 15px 45px;
    }

    .shopperia-password-form {
        padding: 20px;
    }

    .shopperia-password-card-header {
        padding: 20px;
    }

    .shopperia-password-actions {
        flex-direction: column-reverse;
    }

    .shopperia-password-cancel,
    .shopperia-password-save {
        width: 100%;
    }
}

/* =========================================
   MY ORDERS
   ========================================= */

.shopperia-orders-page,
.shopperia-order-details-page {
    background: #f7f8fa;
    min-height: calc(100vh - 140px);
    padding: 45px 20px 60px;
}

.shopperia-orders-container,
.shopperia-order-details-container {
    max-width: 1050px;
    margin: 0 auto;
}

.shopperia-orders-header,
.shopperia-order-details-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
}

    .shopperia-orders-header h1,
    .shopperia-order-details-top h1 {
        margin: 0;
        color: #18283d;
        font-size: 28px;
        font-weight: 700;
    }

    .shopperia-orders-header p,
    .shopperia-order-details-top p {
        margin: 6px 0 0;
        color: #7d8794;
        font-size: 14px;
    }


/* Order card */

.shopperia-order-card,
.shopperia-order-details-card {
    background: #ffffff;
    border: 1px solid #e5e9ee;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(20, 30, 40, 0.04);
    margin-bottom: 18px;
}

.shopperia-order-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 22px;
    border-bottom: 1px solid #edf0f3;
}

.shopperia-order-label,
.shopperia-order-date span {
    display: block;
    color: #8a94a1;
    font-size: 11px;
    margin-bottom: 5px;
}

.shopperia-order-number {
    color: #18283d;
    font-size: 15px;
}

.shopperia-order-date {
    text-align: right;
}

    .shopperia-order-date strong {
        color: #3d4a5b;
        font-size: 13px;
    }


/* Items */

.shopperia-order-items {
    padding: 0 22px;
}

.shopperia-order-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 17px 0;
    border-bottom: 1px solid #edf0f3;
}

    .shopperia-order-item:last-child {
        border-bottom: none;
    }

.shopperia-order-item-info strong {
    display: block;
    color: #26364c;
    font-size: 14px;
}

.shopperia-order-item-info span,
.shopperia-order-item-info small {
    display: block;
    margin-top: 4px;
    color: #8994a2;
    font-size: 12px;
}

.shopperia-order-item-price {
    color: #18283d;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}


/* Footer */

.shopperia-order-footer {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 22px;
    border-top: 1px solid #edf0f3;
    background: #fafbfc;
}

.shopperia-order-summary {
    display: flex;
    flex-direction: column;
    min-width: 120px;
}

    .shopperia-order-summary span {
        color: #8b96a3;
        font-size: 11px;
    }

    .shopperia-order-summary strong {
        margin-top: 4px;
        color: #18283d;
        font-size: 16px;
    }

.shopperia-order-statuses {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    flex: 1;
}

.shopperia-order-status {
    display: inline-flex;
    padding: 5px 9px;
    border-radius: 20px;
    background: #f0f3f6;
    color: #657181;
    font-size: 10px;
    font-weight: 600;
}

.shopperia-view-order-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 17px;
    border-radius: 7px;
    background: #18283d;
    color: #ffffff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

    .shopperia-view-order-btn:hover {
        background: #e56f61;
        color: #ffffff;
    }


/* Empty */

.shopperia-orders-empty {
    background: #ffffff;
    border: 1px solid #e5e9ee;
    border-radius: 10px;
    padding: 65px 25px;
    text-align: center;
}

.shopperia-orders-empty-icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.shopperia-orders-empty h2 {
    margin: 0;
    color: #18283d;
    font-size: 20px;
}

.shopperia-orders-empty p {
    margin: 7px 0 20px;
    color: #8a94a1;
    font-size: 13px;
}

.shopperia-orders-shop-btn,
.shopperia-back-orders-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 18px;
    border-radius: 7px;
    background: #18283d;
    color: #ffffff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
}

.shopperia-back-orders-btn {
    background: #ffffff;
    color: #18283d;
    border: 1px solid #dce1e6;
}

    .shopperia-orders-shop-btn:hover,
    .shopperia-back-orders-btn:hover {
        background: #e56f61;
        color: #ffffff;
    }


/* =========================================
   ORDER DETAILS
   ========================================= */

.shopperia-order-details-header {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-bottom: 1px solid #edf0f3;
}

    .shopperia-order-details-header > div {
        padding: 20px 22px;
        border-right: 1px solid #edf0f3;
    }

        .shopperia-order-details-header > div:last-child {
            border-right: none;
        }

    .shopperia-order-details-header span {
        display: block;
        margin-bottom: 6px;
        color: #8993a1;
        font-size: 11px;
    }

    .shopperia-order-details-header strong {
        color: #26364c;
        font-size: 13px;
    }

.shopperia-order-details-section {
    padding: 22px;
    border-bottom: 1px solid #edf0f3;
}

    .shopperia-order-details-section:last-child {
        border-bottom: none;
    }

    .shopperia-order-details-section h2 {
        margin: 0 0 16px;
        color: #18283d;
        font-size: 16px;
    }

.shopperia-detail-item {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 0;
    border-bottom: 1px solid #edf0f3;
}

    .shopperia-detail-item:last-child {
        border-bottom: none;
    }

    .shopperia-detail-item strong {
        display: block;
        color: #26364c;
        font-size: 13px;
    }

    .shopperia-detail-item span,
    .shopperia-detail-item small {
        display: block;
        margin-top: 4px;
        color: #8994a2;
        font-size: 11px;
    }

.shopperia-address-box {
    display: flex;
    flex-direction: column;
    gap: 5px;
    color: #586576;
    font-size: 13px;
}

    .shopperia-address-box strong {
        color: #26364c;
    }

.shopperia-order-total-row,
.shopperia-order-total-final,
.shopperia-payment-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 9px 0;
    color: #657181;
    font-size: 13px;
}

.shopperia-order-total-final {
    margin-top: 10px;
    padding-top: 16px;
    border-top: 1px solid #dfe4e8;
    color: #18283d;
    font-size: 16px;
}


/* Mobile */

@media (max-width: 800px) {

    .shopperia-order-details-header {
        grid-template-columns: repeat(2, 1fr);
    }

        .shopperia-order-details-header > div:nth-child(2) {
            border-right: none;
        }

    .shopperia-order-footer {
        flex-wrap: wrap;
    }

    .shopperia-view-order-btn {
        width: 100%;
    }
}

@media (max-width: 600px) {

    .shopperia-orders-page,
    .shopperia-order-details-page {
        padding: 30px 15px 45px;
    }

    .shopperia-orders-header,
    .shopperia-order-details-top {
        align-items: flex-start;
        flex-direction: column;
    }

    .shopperia-order-card-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .shopperia-order-date {
        text-align: left;
    }

    .shopperia-order-details-header {
        grid-template-columns: 1fr;
    }

        .shopperia-order-details-header > div {
            border-right: none;
        }
}

/* =========================================
   CART / WISHLIST COUNT BADGE
   ========================================= */

.shopperia-icon-badge-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.shopperia-count-badge {
    position: absolute;
    top: -7px;
    right: -9px;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e53935;
    color: #ffffff;
    border-radius: 50%;
    border: 2px solid #ffffff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
}

#home-content {
    transition: opacity 0.15s ease-in-out;
}