/* ============================================================
   MYSHOP — GLOBAL STYLES
   Primary #f68b1e | Success #28a745 | Danger #dc3545 | Info #17a2b8
   Font: Montserrat
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

:root {
    --brand:          #f68b1e;
    --brand-dark:     #d9740e;
    --brand-light:    #fff3e6;
    --success:        #28a745;
    --danger:         #dc3545;
    --info:           #17a2b8;
    --dark:           #1a1a1a;
    --gray:           #6c757d;
    --light:          #f8f9fa;
    --border:         #eaeaea;
    --radius:         10px;
    --shadow:         0 4px 20px rgba(0, 0, 0, .08);
    --shadow-hover:   0 8px 28px rgba(0, 0, 0, .12);
    --font:           'Montserrat', system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    width: 100% !important;
    margin: 0;
    padding: 0;
}

main {
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
}

img, video, iframe, svg {
    max-width: 100%;
    height: auto;
}

body {
    background: var(--light);
    font-family: var(--font);
    font-weight: 500;
    color: #333;
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6, strong, b {
    font-family: var(--font);
    font-weight: 700;
}

button, input, select, textarea {
    font-family: var(--font);
    font-weight: 500;
}

a { text-decoration: none; color: inherit; }
a:hover { color: var(--brand); }

/* ---------- TOP BAR ---------- */
.topbar {
    background: var(--dark);
    color: #ccc;
    font-size: 12px;
    font-weight: 500;
    padding: 5px 0;
}
.topbar a { color: #ccc; font-weight: 500; }
.topbar a:hover { color: var(--brand); }
.topbar i { color: var(--brand); }

/* ---------- MAIN HEADER ---------- */
.main-header {
    background: #fff;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1020;
}
.logo {
    font-size: 22px;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    display: inline-block;
}
.logo i { color: var(--brand); }

@media (min-width: 992px) {
    .main-header .col-lg-2 {
        flex: 0 0 auto;
        width: 22%;
    }
    .main-header .col-lg-6 {
        flex: 0 0 auto;
        width: 52%;
    }
    .main-header .col-lg-4 {
        flex: 0 0 auto;
        width: 26%;
    }
}

/* ---------- SEARCH ---------- */
.search-wrap {
    position: relative;
    display: flex;
    background: #fff;
    border: 2px solid var(--brand);
    border-radius: 8px;
    overflow: hidden;
    width: 100%;
}
.search-wrap input {
    flex: 1;
    border: 0;
    padding: 9px 14px;
    outline: none;
    font-size: 13px;
    font-weight: 500;
    font-family: var(--font);
    min-width: 0;
}
.search-wrap button {
    background: var(--brand);
    color: #fff;
    border: 0;
    padding: 0 18px;
    font-size: 14px;
    cursor: pointer;
}
.search-wrap button:hover { background: var(--brand-dark); }

/* ---------- HEADER ICONS ---------- */
.header-icons a {
    color: var(--dark);
    font-size: 12px;
    text-align: center;
    display: inline-block;
    padding: 6px 8px;
    position: relative;
    vertical-align: middle;
}
.header-icons a i {
    font-size: 20px;
    display: block;
    margin-bottom: 0;
}
.header-icons a:hover { color: var(--brand); }
.header-icons .badge-count {
    position: absolute;
    top: 0;
    right: 2px;
    background: var(--brand);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 10px;
    line-height: 1.4;
}

/* ---------- CATEGORY NAV ---------- */
.cat-nav {
    background: #fff;
    border-bottom: 1px solid var(--border);
}
.cat-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 26px;
    overflow-x: auto;
}
.cat-nav ul li a {
    display: block;
    padding: 10px 0;
    font-weight: 600;
    font-size: 13px;
    color: #333;
    white-space: nowrap;
}
.cat-nav ul li a:hover {
    color: var(--brand);
    border-bottom: 2px solid var(--brand);
}

/* ============================================================
   SECTIONS
   ============================================================ */
.container-fluid.px-3 {
    max-width: 1920px;
    margin-left: auto;
    margin-right: auto;
}

section.container-fluid,
.container-fluid {
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
    overflow-x: hidden;
}

section.container-fluid > .row,
section.container-fluid .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* ---------- HERO ---------- */
.hero {
    background: linear-gradient(135deg, var(--brand-light) 0%, #fff 100%);
    border-radius: var(--radius);
    padding: 50px 48px;
    margin-top: 24px;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.hero .row {
    align-items: center;
    min-height: 320px;
}

.hero h1 {
    font-size: clamp(24px, 4.5vw, 44px);
    font-weight: 800;
    color: var(--dark);
    line-height: 1.15;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.hero p {
    font-size: clamp(13px, 1.6vw, 16px);
    font-weight: 500;
    color: var(--gray);
    margin: 18px 0 28px;
    max-width: 520px;
    word-wrap: break-word;
}

.hero-icon-placeholder {
    font-size: clamp(80px, 18vw, 180px);
    color: var(--brand);
    opacity: .18;
    display: block;
    line-height: 1;
    max-width: 100%;
}

.btn-brand {
    background: var(--brand);
    color: #fff;
    border: 0;
    padding: 13px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: .2s;
    font-family: var(--font);
}
.btn-brand:hover {
    background: var(--brand-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}
.btn-outline-brand {
    border: 2px solid var(--brand);
    color: var(--brand);
    background: transparent;
    padding: 11px 30px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    font-family: var(--font);
    transition: .2s;
}
.btn-outline-brand:hover {
    background: var(--brand);
    color: #fff;
}

/* ---------- SECTION TITLES ---------- */
.section-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
    margin: 0;
}
.section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 40px 0 22px;
    gap: 10px;
    flex-wrap: wrap;
}
.section-head a {
    color: var(--brand);
    font-weight: 600;
    font-size: 13px;
}

/* ---------- CATEGORY TILES ---------- */
.cat-tile {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 16px;
    text-align: center;
    transition: .25s;
    display: block;
}
.cat-tile:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--brand);
}
.cat-tile i {
    font-size: 32px;
    color: var(--brand);
    margin-bottom: 12px;
}
.cat-tile h6 {
    font-weight: 600;
    margin: 0;
    font-size: 13px;
    color: var(--dark);
}

/* ---------- PRODUCT CARD ---------- */
.product-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: .25s;
    height: 100%;
    display: flex;
    flex-direction: column;
    max-width: 100%;
    box-sizing: border-box;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}
.product-thumb {
    position: relative;
    background: #f5f5f5;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.product-thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    transition: .4s;
}
.product-card:hover .product-thumb img { transform: scale(1.06); }

.badge-sale {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--danger);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
}
.badge-new {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--success);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
}
.wish-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #fff;
    border: 1px solid var(--border);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: var(--gray);
    cursor: pointer;
    transition: .2s;
}
.wish-btn:hover { color: var(--danger); border-color: var(--danger); }

.product-body {
    padding: 14px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.product-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
    margin: 0 0 8px;
    line-height: 1.4;
    min-height: 38px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.product-price {
    font-size: 17px;
    font-weight: 700;
    color: var(--brand);
    word-wrap: break-word;
}
.product-price-old {
    font-size: 12px;
    font-weight: 500;
    color: var(--gray);
    text-decoration: line-through;
    margin-left: 6px;
}
.product-rating {
    font-size: 12px;
    color: #ffc107;
    margin-bottom: 8px;
}
.btn-cart {
    background: var(--brand);
    color: #fff;
    border: 0;
    padding: 9px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    width: 100%;
    margin-top: auto;
    transition: .2s;
    font-family: var(--font);
}
.btn-cart:hover { background: var(--brand-dark); color: #fff; }

/* ---------- DEALS STRIP ---------- */
.deals-strip {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
    color: #fff;
    border-radius: var(--radius);
    padding: 30px;
    margin-top: 24px;
}
.deals-strip h2 { font-weight: 800; margin: 0 0 8px; font-size: 24px; }
.countdown span {
    display: inline-block;
    background: rgba(255,255,255,.2);
    padding: 8px 14px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 20px;
    margin: 0 3px;
}

/* ---------- PROMO BANNERS ---------- */
.promo-banner {
    border-radius: 12px;
    padding: 24px;
    margin-top: 24px;
    color: #fff;
    overflow: hidden;
    max-width: 100%;
    box-sizing: border-box;
}

.promo-banner-red {
    background: linear-gradient(135deg, #dc3545, #b91c1c);
}

.promo-banner-orange {
    background: linear-gradient(135deg, #f59e0b, #b45309);
}

.promo-title {
    font-weight: 800;
    margin: 0 0 6px;
    font-size: clamp(18px, 2.2vw, 22px);
    word-wrap: break-word;
}

.promo-sub {
    font-size: clamp(12px, 1.4vw, 13px);
    word-wrap: break-word;
}

/* ---------- COUNTDOWN TIMER ---------- */
.countdown-timer {
    display: inline-flex;
    gap: 4px;
    align-items: center;
    flex-wrap: nowrap;
    justify-content: center;
    max-width: 100%;
}

.cd-chip {
    background: rgba(255, 255, 255, .22);
    padding: 8px 14px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 20px;
    min-width: 44px;
    text-align: center;
    display: inline-block;
}

.cd-sep {
    font-weight: 700;
    font-size: 20px;
    opacity: .9;
}

@media (max-width: 576px) {
    .cd-chip {
        padding: 5px 8px;
        font-size: 15px;
        min-width: 34px;
    }
    .cd-sep {
        font-size: 15px;
    }
    .promo-banner {
        padding: 18px;
    }
}

/* ---------- FOOTER ---------- */
.site-footer {
    background: var(--dark);
    color: #bbb;
    padding: 60px 0 20px;
    margin-top: 80px;
}
.site-footer h6 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 18px;
    font-size: 14px;
}
.site-footer a { color: #bbb; font-size: 13px; font-weight: 500; }
.site-footer a:hover { color: var(--brand); }
.site-footer ul { list-style: none; padding: 0; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer p { font-size: 13px; font-weight: 500; }
.footer-bottom {
    border-top: 1px solid #333;
    margin-top: 40px;
    padding-top: 20px;
    font-size: 12px;
    font-weight: 500;
    color: #888;
}
.social a {
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    border-radius: 50%;
    background: #2a2a2a;
    color: #fff;
    margin-right: 8px;
}
.social a:hover { background: var(--brand); }

/* ============================================================
   NEWSLETTER — ALWAYS STACKED (input on top, button below)
   ============================================================ */
.newsletter {
    background: var(--brand-light);
    border-radius: var(--radius);
    padding: 40px 24px;
    margin-top: 60px;
    text-align: center;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.newsletter h3 {
    font-weight: 800;
    color: var(--dark);
    font-size: clamp(16px, 3.8vw, 22px);
    word-wrap: break-word;
    overflow-wrap: break-word;
    margin: 0 0 8px;
    max-width: 100%;
    line-height: 1.3;
}

.newsletter p {
    word-wrap: break-word;
    overflow-wrap: break-word;
    font-size: clamp(12px, 2.8vw, 14px);
    margin: 0;
    max-width: 100%;
    line-height: 1.5;
    color: var(--gray);
}

/* Form — always vertical, both children full width */
.newsletter form {
    width: 100%;
    max-width: 420px;
    margin: 20px auto 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-sizing: border-box;
}

.newsletter input {
    display: block;
    width: 100%;
    max-width: 100%;
    flex: 0 0 auto;
    min-width: 0;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    outline: none;
    font-family: var(--font);
    font-weight: 500;
    font-size: 14px;
    box-sizing: border-box;
    background: #fff;
}
.newsletter input:focus { border-color: var(--brand); }

.newsletter button,
.newsletter button.btn-brand {
    display: block;
    width: 100%;
    max-width: 100%;
    flex: 0 0 auto;
    padding: 12px 16px;
    box-sizing: border-box;
    white-space: normal;
    font-size: 14px;
    text-align: center;
    border-radius: 8px;
}

@media (max-width: 576px) {
    .newsletter {
        padding: 24px 16px;
        margin-top: 40px;
        border-radius: 10px;
    }
    .newsletter h3 {
        font-size: 17px;
    }
    .newsletter p {
        font-size: 12.5px;
    }
}

/* ---------- UTIL ---------- */
.text-brand { color: var(--brand) !important; }
.bg-brand   { background: var(--brand) !important; }

@media (max-width: 992px) {
    .hero { padding: 40px 32px; }
    .hero .row { min-height: auto; }
    .hero-img { max-height: 260px; margin-top: 24px; }
    .product-thumb { height: 200px; }
}

@media (max-width: 768px) {
    .hero { padding: 40px 24px; }
    .cat-nav ul { gap: 18px; }
    .header-icons a { padding: 4px 6px; }
    .section-title { font-size: 18px; }
    .main-header { padding: 6px 0; }
    .logo { font-size: 20px; }
}

@media (max-width: 576px) {
    .hero { padding: 32px 22px; }
    .hero p { font-size: 14px; margin: 14px 0 22px; }
    .hero-img { max-height: 200px; }
    .product-thumb { height: 160px; }
}

/* ============================================================
   AUTH PAGES
   ============================================================ */

.auth-body {
    background: linear-gradient(135deg, #fff3e6 0%, #ffffff 60%, #fff3e6 100%);
    min-height: 100vh;
    margin: 0;
}

.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
}

.auth-panel {
    width: 100%;
    max-width: 460px;
}

.auth-brand {
    text-align: center;
    margin-bottom: 24px;
}
.auth-brand a {
    font-size: 28px;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -.5px;
    display: inline-block;
}
.auth-brand a i { color: var(--brand); }
.auth-brand p {
    color: var(--gray);
    font-size: 13px;
    font-weight: 500;
    margin: 6px 0 0;
}

.auth-card {
    background: #fff;
    border-radius: 14px;
    padding: 36px 32px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .08);
    border: 1px solid var(--border);
}

.auth-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 6px;
    text-align: center;
}
.auth-card .auth-sub {
    text-align: center;
    color: var(--gray);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 24px;
}

.auth-card .form-label {
    font-size: 13px;
    font-weight: 600;
    color: #444;
    margin-bottom: 6px;
}

.auth-card .form-control {
    padding: 11px 14px;
    font-size: 14px;
    font-weight: 500;
    font-family: var(--font);
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fafafa;
    transition: .2s;
}
.auth-card .form-control:focus {
    border-color: var(--brand);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(246, 139, 30, .15);
}

.auth-card .btn-brand {
    padding: 12px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    width: 100%;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #aaa;
    font-size: 12px;
    font-weight: 500;
    margin: 20px 0;
}
.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #eee;
}

.auth-switch {
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray);
}
.auth-switch a {
    color: var(--brand);
    font-weight: 600;
}

.auth-footer {
    text-align: center;
    color: #999;
    font-size: 12px;
    font-weight: 500;
    margin-top: 24px;
}

.auth-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.pass-wrap {
    position: relative;
}
.pass-wrap .toggle-pass {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: 0;
    color: var(--gray);
    cursor: pointer;
    padding: 4px;
}
.pass-wrap .toggle-pass:hover { color: var(--brand); }

@media (max-width: 576px) {
    .auth-wrapper { padding: 16px 12px; align-items: flex-start; }
    .auth-card { padding: 26px 20px; border-radius: 12px; }
    .auth-brand a { font-size: 24px; }
    .auth-brand { margin-bottom: 18px; }
    .auth-row-2 { grid-template-columns: 1fr; gap: 0; }
    .auth-card h3 { font-size: 20px; }
}


/* ============================================================
   SOCIAL LOGIN BUTTONS
   ============================================================ */

.social-login {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 11px 16px;
    border-radius: 8px;
    border: 1px solid #ddd;
    background: #fff;
    color: #333;
    font-size: 13px;
    font-weight: 600;
    font-family: var(--font);
    transition: .2s;
    text-decoration: none;
    width: 100%;
    cursor: pointer;
}
.btn-social:hover {
    border-color: var(--brand);
    background: var(--brand-light);
    color: var(--dark);
}
.btn-social i { font-size: 16px; }
.btn-google i   { color: #db4437; }
.btn-facebook i { color: #1877f2; }


/* ============================================================
   USER ACCOUNT DROPDOWN
   ============================================================ */

.user-menu {
    position: relative;
    display: inline-block;
    vertical-align: middle;
}

.user-menu-toggle {
    background: transparent;
    border: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--dark);
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    font-family: var(--font);
    cursor: pointer;
    transition: .2s;
    vertical-align: middle;
}
.user-menu-toggle:hover {
    background: var(--brand-light);
    color: var(--brand);
}
.user-menu-toggle i.fa-user-circle {
    font-size: 20px;
    color: var(--brand);
}

.user-menu-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #fff;
    min-width: 240px;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,.12);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: .2s;
    z-index: 1050;
}
.user-menu.open .user-menu-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-menu-header {
    padding: 12px 18px 10px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 6px;
}
.user-menu-header strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--dark);
}
.user-menu-header span {
    font-size: 12px;
    font-weight: 500;
    color: var(--gray);
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-menu-dropdown a,
.user-menu-dropdown button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    width: 100%;
    background: transparent;
    border: 0;
    text-align: left;
    font-size: 13px;
    font-weight: 500;
    font-family: var(--font);
    color: #333;
    transition: .15s;
    cursor: pointer;
}
.user-menu-dropdown a:hover,
.user-menu-dropdown button:hover {
    background: var(--brand-light);
    color: var(--brand);
}
.user-menu-dropdown i {
    width: 18px;
    text-align: center;
    color: var(--brand);
}

.user-menu-divider {
    height: 1px;
    background: var(--border);
    margin: 6px 0;
}

.user-menu-dropdown .logout-btn {
    color: var(--danger);
    font-weight: 600;
}
.user-menu-dropdown .logout-btn i {
    color: var(--danger);
}
.user-menu-dropdown .logout-btn:hover {
    background: #fdecec;
    color: var(--danger);
}

.badge-pill {
    background: var(--brand);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 10px;
    margin-left: auto;
}

@media (max-width: 768px) {
    .user-menu-dropdown {
        right: auto;
        left: 0;
        min-width: 220px;
    }
    .user-menu-toggle span {
        display: none;
    }
}


/* ============================================================
   PROFILE PAGE
   ============================================================ */

.profile-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 30px;
    box-shadow: var(--shadow);
}

.profile-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: var(--brand-light);
    color: var(--brand);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    overflow: hidden;
}
.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin: 14px 0 4px;
}
.profile-email {
    color: var(--gray);
    font-size: 13px;
    font-weight: 500;
}

.profile-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}
.profile-info-row:last-child {
    border-bottom: 0;
}
.profile-info-row .label {
    color: var(--gray);
    font-size: 13px;
    font-weight: 500;
}
.profile-info-row .value {
    font-weight: 600;
    color: var(--dark);
    font-size: 13px;
    text-align: right;
}

.badge-verified {
    background: #d1f0d6;
    color: var(--success);
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 20px;
}
.badge-unverified {
    background: #fdecec;
    color: var(--danger);
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 20px;
}


/* ============================================================
   HERO IMAGE
   ============================================================ */
.hero-img {
    max-width: 100%;
    max-height: 340px;
    object-fit: contain;
    border-radius: 12px;
    display: block;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .hero-img {
        max-height: 220px;
        margin-top: 24px;
    }
}


/* ============================================================
   MINI CART (legacy)
   ============================================================ */

.cart-wrapper {
    position: relative;
    display: inline-block;
    vertical-align: middle;
}

.mini-cart-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 340px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: .2s;
    z-index: 1050;
}
.cart-wrapper.open .mini-cart-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mini-cart-items {
    max-height: 320px;
    overflow-y: auto;
    padding: 8px;
}

.mini-cart-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 8px;
    transition: background .15s;
}
.mini-cart-item:hover {
    background: var(--brand-light);
}
.mini-cart-item img,
.mini-cart-placeholder {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}
.mini-cart-placeholder {
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
}
.mini-cart-info {
    flex: 1;
    min-width: 0;
}
.mini-cart-name {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.mini-cart-meta {
    font-size: 11px;
    color: var(--gray);
    margin-top: 2px;
}
.mini-cart-remove {
    background: none;
    border: 0;
    color: #94a3b8;
    cursor: pointer;
    padding: 4px;
}
.mini-cart-remove:hover { color: var(--danger); }

.mini-cart-footer {
    border-top: 1px solid var(--border);
    padding: 14px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.mini-cart-total {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    padding-bottom: 10px;
    font-size: 14px;
}
.mini-cart-btn {
    padding: 10px;
    border-radius: 8px;
    text-align: center;