:root {
    --primary: #111111;
    --primary-dark: #000000;
    --accent: #111111;
    --bg: #FFFFFF;
    --card: #FFFFFF;
    --text: #111111;
    --text-muted: #9CA3AF;
    --border: #F0F0F0;
    --soft: #F7F7F7;
    --success: #22C55E;
    --radius: 20px;
    --radius-sm: 14px;
    --radius-xs: 10px;
    --shadow: 0 2px 12px rgba(0,0,0,0.06);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.45;
    min-height: 100vh;
    padding-bottom: 90px;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; border: none; outline: none; background: none; }
button { cursor: pointer; }

/* ========== TOP SEARCH BAR ========== */
.search-top {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 60;
}

.search-top .back-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111;
    flex-shrink: 0;
}

.search-box {
    flex: 1;
    display: flex;
    align-items: center;
    background: #F5F5F5;
    border-radius: 12px;
    padding: 10px 14px;
    gap: 8px;
}

.search-box input {
    flex: 1;
    font-size: 0.95rem;
    color: #111;
    background: transparent;
}

.search-box input::placeholder { color: #AAA; }

.search-box .clear-btn {
    color: #999;
    font-size: 1.1rem;
    line-height: 1;
}

.bag-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: #111;
}

.bag-btn .badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: #111;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ========== RESULTS HEADER ========== */
.results-header {
    padding: 8px 16px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.results-count {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #111;
    text-transform: uppercase;
}

.filter-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111;
}

/* ========== PRODUCT GRID (2 col) ========== */
.products-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 12px;
    padding: 0 16px 30px;
}

.product-card {
    position: relative;
}

.product-img-wrap {
    position: relative;
    aspect-ratio: 3/4;
    background: #F5F5F5;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 10px;
}

.product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
    background: #F0F0F0;
}

.product-heart {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    z-index: 2;
}

.product-heart.active { color: #E11D48; }

.product-name {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #111;
    margin-bottom: 4px;
    line-height: 1.3;
}

.product-price {
    font-size: 0.95rem;
    font-weight: 600;
    color: #111;
}

/* ========== HOME HERO (when not searching) ========== */
.home-sticky-top {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    padding-bottom: 4px;
    box-shadow: 0 1px 0 rgba(0,0,0,0.04);
}

.home-header {
    padding: 12px 16px 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.home-brand {
    display: flex;
    align-items: center;
}

.home-logo {
    height: 36px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    display: block;
}

.home-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111;
}

.home-actions {
    display: flex;
    gap: 8px;
}

.icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #F5F5F5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111;
}

.promo-strip {
    margin: 12px 16px 20px;
    background: #111;
    color: #fff;
    border-radius: 16px;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    overflow: hidden;
    min-height: 110px;
}

.promo-strip .promo-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
    min-width: 0;
}

.promo-strip h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1.25;
}

.promo-strip p {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-bottom: 12px;
    line-height: 1.3;
}

.promo-strip .promo-cta {
    background: #fff;
    color: #111;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 10px 16px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
}

.promo-strip .promo-img {
    flex-shrink: 0;
    width: 90px;
    height: 90px;
    border-radius: 14px;
    overflow: hidden;
    background: rgba(255,255,255,0.08);
}

.promo-strip .promo-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.promo-strip.has-bg {
    position: relative;
    background-color: #111;
}

.promo-strip.has-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    border-radius: 16px;
    z-index: 0;
}

.promo-strip.has-bg .promo-text,
.promo-strip.has-bg .promo-img {
    position: relative;
    z-index: 1;
}

.section-label {
    padding: 0 16px 12px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #111;
}

.cat-pills {
    display: flex;
    gap: 8px;
    padding: 0 16px 18px;
    overflow-x: auto;
    scrollbar-width: none;
}
.cat-pills::-webkit-scrollbar { display: none; }

.cat-pill {
    padding: 8px 16px;
    border-radius: 50px;
    background: #F5F5F5;
    font-size: 0.85rem;
    font-weight: 600;
    color: #666;
    white-space: nowrap;
}
.cat-pill.active {
    background: #111;
    color: #fff;
}

/* ========== PRODUCT DETAIL ========== */
.detail-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.35);
    z-index: 200;
    opacity: 0; visibility: hidden;
    transition: all 0.25s;
}
.detail-overlay.open { opacity: 1; visibility: visible; }

.detail-sheet {
    position: fixed; bottom: 0; left: 0; right: 0;
    max-height: 92vh;
    background: #fff;
    border-radius: 24px 24px 0 0;
    z-index: 210;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
    overflow-y: auto;
    padding-bottom: 24px;
}
.detail-sheet.open { transform: translateY(0); }

.detail-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    position: sticky; top: 0;
    background: #fff;
    z-index: 5;
}

.detail-back, .detail-fav {
    width: 40px; height: 40px;
    border-radius: 12px;
    background: #F5F5F5;
    display: flex; align-items: center; justify-content: center;
}

.detail-title { font-weight: 600; font-size: 0.95rem; }

.detail-img-wrap {
    margin: 0 16px;
    border-radius: 18px;
    overflow: hidden;
    background: #F5F5F5;
    aspect-ratio: 1;
    max-height: 340px;
}
.detail-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.detail-img-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-size: 4rem; background: #F0F0F0;
}

.detail-body { padding: 18px 16px; }

.detail-name-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 18px;
    gap: 12px;
}
.detail-name {
    font-size: 1.15rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}
.detail-price {
    font-size: 1.2rem;
    font-weight: 700;
    white-space: nowrap;
}

.detail-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #888;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.color-options { display: flex; gap: 10px; margin-bottom: 18px; }
.color-option {
    width: 30px; height: 30px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
}
.color-option.active {
    box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px #111;
}

.size-options { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.size-option {
    min-width: 48px; height: 40px;
    padding: 0 14px;
    border-radius: 10px;
    background: #F5F5F5;
    color: #666;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex; align-items: center; justify-content: center;
}
.size-option.active {
    background: #111;
    color: #fff;
}

.qty-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
    gap: 12px;
}
.qty-controls {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #F5F5F5;
    border-radius: 12px;
    padding: 6px 10px;
}
.qty-btn {
    width: 32px; height: 32px;
    border-radius: 8px;
    background: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.15rem; font-weight: 600;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.qty-value { font-weight: 700; font-size: 1rem; min-width: 22px; text-align: center; }

.btn-add-cart {
    flex: 1;
    background: #111;
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 14px 20px;
    border-radius: 14px;
    letter-spacing: 0.03em;
}

/* ========== CART PAGE STYLE ========== */
.cart-page {
    padding-bottom: 120px;
}

.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 40;
}

.page-header h1 {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.page-header .back-btn, .page-header .icon-btn {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
}

.cart-list {
    padding: 0 16px;
}

.cart-row {
    display: flex;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid #F0F0F0;
    position: relative;
}

.cart-row-img {
    width: 90px;
    height: 110px;
    border-radius: 12px;
    object-fit: cover;
    background: #F5F5F5;
    flex-shrink: 0;
}

.cart-row-info { flex: 1; padding-top: 4px; }

.cart-row-name {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 4px;
}

.cart-row-size {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 8px;
}

.cart-row-price {
    font-size: 1rem;
    font-weight: 700;
}

.cart-row-remove {
    position: absolute;
    top: 16px;
    right: 0;
    color: #CCC;
    font-size: 1.2rem;
    width: 28px; height: 28px;
    display: flex; align-items: center; justify-content: center;
}

.cart-row-qty {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
}
.cart-row-qty button {
    width: 28px; height: 28px;
    border-radius: 8px;
    background: #F5F5F5;
    font-weight: 600;
    font-size: 1rem;
}
.cart-row-qty span {
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}

.cart-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0; right: 0;
    background: #111;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    padding-bottom: max(16px, env(safe-area-inset-bottom));
    z-index: 80;
}

.cart-bottom-bar .total-label {
    font-size: 0.75rem;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.cart-bottom-bar .total-value {
    font-size: 1.25rem;
    font-weight: 700;
}
.cart-bottom-bar .checkout-btn {
    background: transparent;
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.06em;
    display: flex;
    align-items: center;
    gap: 6px;
}

.cart-empty {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}
.cart-empty p { margin-top: 8px; font-size: 0.9rem; }

/* ========== TRACK ORDER ========== */
.track-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 16px;
}

.track-tab {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #F5F5F5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-size: 0.7rem;
    font-weight: 600;
    flex-direction: column;
    gap: 2px;
}
.track-tab.active {
    background: #111;
    color: #fff;
}
.track-tab svg { width: 20px; height: 20px; }

.order-card {
    margin: 0 16px 16px;
    background: #F8F8F8;
    border-radius: 16px;
    padding: 14px;
    display: flex;
    gap: 12px;
    align-items: center;
}

.order-card img, .order-card .order-img-ph {
    width: 64px;
    height: 80px;
    border-radius: 10px;
    object-fit: cover;
    background: #E5E5E5;
    flex-shrink: 0;
}

.order-card-info { flex: 1; }
.order-card-name {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 4px;
}
.order-card-status {
    font-size: 0.75rem;
    color: #888;
}

.order-status-section {
    padding: 20px 16px;
}

.order-status-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.timeline {
    position: relative;
    padding-left: 36px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: #E5E5E5;
}

.timeline-item {
    position: relative;
    padding-bottom: 28px;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-dot {
    position: absolute;
    left: -36px;
    top: 2px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #E5E5E5;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.timeline-item.done .timeline-dot {
    background: #111;
    color: #fff;
}

.timeline-item.done .timeline-dot svg {
    width: 12px; height: 12px;
}

.timeline-label {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.timeline-date {
    font-size: 0.8rem;
    color: #999;
}

.timeline-icon {
    position: absolute;
    right: 0;
    top: 0;
    color: #CCC;
}

/* ========== BOTTOM NAV ========== */
.bottom-nav {
    position: fixed;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    background: #111;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 10px;
    border-radius: 50px;
    z-index: 100;
    box-shadow: 0 8px 30px rgba(0,0,0,0.25);
}

.bottom-nav a {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    position: relative;
}

.bottom-nav a.active {
    background: #fff;
    color: #111;
}

.bottom-nav a svg {
    width: 22px;
    height: 22px;
}

.bottom-nav .nav-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    background: #E11D48;
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    min-width: 14px;
    height: 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ========== AUTH ========== */
.auth-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 300;
    opacity: 0; visibility: hidden;
    transition: all 0.25s;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.auth-overlay.open { opacity: 1; visibility: visible; }

.auth-sheet {
    background: #fff;
    width: 100%;
    max-width: 480px;
    border-radius: 24px 24px 0 0;
    padding: 28px 22px 40px;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
}
.auth-overlay.open .auth-sheet { transform: translateY(0); }

.auth-sheet h2 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 6px;
}
.auth-sheet p {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 22px;
}

.auth-input {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    background: #F5F5F5;
    font-size: 1rem;
    margin-bottom: 12px;
    color: #111;
}

.btn-auth {
    width: 100%;
    padding: 15px;
    border-radius: 14px;
    background: #111;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    margin-top: 6px;
}

.btn-google {
    width: 100%;
    padding: 14px;
    border-radius: 14px;
    background: #fff;
    border: 1.5px solid #E5E5E5;
    color: #111;
    font-weight: 600;
    font-size: 0.95rem;
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.auth-switch {
    text-align: center;
    margin-top: 18px;
    font-size: 0.9rem;
    color: #888;
}
.auth-switch a { color: #111; font-weight: 600; }

.profile-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}
.avatar-lg {
    width: 60px; height: 60px;
    border-radius: 50%;
    background: #111;
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; font-weight: 700;
}
.profile-name { font-size: 1.15rem; font-weight: 700; }
.profile-email { font-size: 0.85rem; color: #888; }

.profile-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid #F0F0F0;
    font-weight: 500;
}
.profile-menu a svg { width: 20px; height: 20px; }

.btn-logout {
    width: 100%;
    margin-top: 20px;
    padding: 14px;
    border-radius: 14px;
    background: #FEE2E2;
    color: #DC2626;
    font-weight: 600;
}

.hidden { display: none !important; }

@media (min-width: 500px) {
    body {
        max-width: 430px;
        margin: 0 auto;
        box-shadow: 0 0 40px rgba(0,0,0,0.08);
    }
    .bottom-nav, .cart-bottom-bar, .detail-sheet, .auth-sheet {
        max-width: 430px;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }
    .detail-sheet { transform: translateX(-50%) translateY(100%); }
    .detail-sheet.open { transform: translateX(-50%) translateY(0); }
    .cart-bottom-bar { transform: translateX(-50%); }
    .bottom-nav { transform: translateX(-50%); }
}

/* ========== FIX: Cart bottom bar ABOVE floating nav ========== */
.cart-bottom-bar {
    bottom: 80px !important;
    border-radius: 16px;
    margin: 0 12px;
    left: 12px !important;
    right: 12px !important;
    width: auto !important;
    max-width: none !important;
    transform: none !important;
    z-index: 90 !important;
}

@media (min-width: 500px) {
    .cart-bottom-bar {
        left: 50% !important;
        right: auto !important;
        width: calc(430px - 24px) !important;
        margin-left: calc(-215px + 12px) !important;
        transform: none !important;
    }
}

/* ========== LIVE SEARCH DROPDOWN ========== */
.search-dropdown {
    position: absolute;
    top: 100%;
    left: 16px;
    right: 16px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    z-index: 70;
    max-height: 320px;
    overflow-y: auto;
    display: none;
    margin-top: 6px;
}
.search-dropdown.open { display: block; }

.search-suggest-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-bottom: 1px solid #F5F5F5;
    cursor: pointer;
    transition: background 0.15s;
}
.search-suggest-item:last-child { border-bottom: none; }
.search-suggest-item:active,
.search-suggest-item:hover { background: #F9F9F9; }

.search-suggest-img {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    object-fit: cover;
    background: #F0F0F0;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}
.search-suggest-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.search-suggest-info { flex: 1; min-width: 0; }
.search-suggest-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #111;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.search-suggest-price {
    font-size: 0.85rem;
    color: #666;
    margin-top: 2px;
}

.search-top { position: relative; }
.home-search-wrap {
    padding: 4px 16px 10px;
    position: relative;
    position: relative;
    padding: 0 16px 12px;
}
.home-search-box {
    display: flex;
    align-items: center;
    background: #F5F5F5;
    border-radius: 14px;
    padding: 12px 14px;
    gap: 10px;
}
.home-search-box input {
    flex: 1;
    font-size: 0.95rem;
    background: transparent;
    color: #111;
}
.home-search-box input::placeholder { color: #AAA; }

/* ========== WISHLIST HEART FILL + POP ========== */
.product-heart svg,
.detail-fav svg {
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), fill 0.2s, stroke 0.2s;
}
.product-heart.active svg,
.detail-fav.active svg {
    fill: #E11D48;
    stroke: #E11D48;
    animation: heartPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes heartPop {
    0% { transform: scale(1); }
    40% { transform: scale(1.45); }
    70% { transform: scale(0.9); }
    100% { transform: scale(1); }
}

/* Wishlist empty / list in profile */
.wishlist-list { padding: 0; }
.wishlist-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #F0F0F0;
    align-items: center;
}
.wishlist-item img, .wishlist-item .w-ph {
    width: 56px;
    height: 70px;
    border-radius: 10px;
    object-fit: cover;
    background: #F0F0F0;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}
.wishlist-item-info { flex: 1; }
.wishlist-item-name {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
}
.wishlist-item-price {
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 2px;
}
.wishlist-remove {
    color: #CCC;
    font-size: 1.2rem;
    padding: 8px;
}

/* Profile avatar change */
.avatar-wrap {
    position: relative;
    display: inline-block;
}
.avatar-wrap .avatar-lg { cursor: pointer; }
.avatar-change-btn {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #111;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    border: 2px solid #fff;
}

/* ========== SHOP BY CATEGORY (circular) ========== */
.shop-by-cat {
    padding: 8px 0 20px;
}
.shop-by-cat .section-label {
    text-align: center;
    letter-spacing: 0.12em;
    font-size: 0.8rem;
    margin-bottom: 16px;
}
.cat-circles {
    display: flex;
    gap: 14px;
    padding: 0 16px 8px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    justify-content: flex-start;
}
.cat-circles::-webkit-scrollbar { display: none; }

.cat-circle {
    flex-shrink: 0;
    width: 88px;
    text-align: center;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}
.cat-circle-img {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    object-fit: cover;
    background: #F3F3F3;
    margin: 0 auto 8px;
    border: 2px solid transparent;
    transition: border-color 0.2s, box-shadow 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    overflow: hidden;
}
.cat-circle-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cat-circle.active .cat-circle-img {
    border-color: #111;
    box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px #111;
}
.cat-circle-name {
    font-size: 0.72rem;
    font-weight: 500;
    color: #444;
    line-height: 1.25;
    max-width: 88px;
    margin: 0 auto;
}
.cat-circle.active .cat-circle-name {
    color: #111;
    font-weight: 600;
}

/* Home top avatar */
.home-avatar-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

/* Checkout polish */
.checkout-page input:focus,
.checkout-page textarea:focus {
    border-color: #111 !important;
    outline: none;
    background: #fff !important;
}

/* Premium category circles */
.shop-by-cat .section-label {
    text-align: left;
    padding-left: 16px;
    letter-spacing: 0.08em;
    font-size: 0.75rem;
    color: #888;
    font-weight: 600;
}
.cat-circles {
    gap: 18px;
    padding: 4px 16px 12px;
}
.cat-circle {
    width: 76px;
}
.cat-circle-img {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: #F5F5F7;
    border: 2.5px solid transparent;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    font-size: 1.6rem;
    transition: all 0.25s ease;
}
.cat-circle:hover .cat-circle-img {
    transform: scale(1.04);
}
.cat-circle.active .cat-circle-img {
    border-color: #111;
    background: #fff;
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #111, 0 4px 14px rgba(0,0,0,0.1);
}
.cat-circle-name {
    font-size: 0.7rem;
    font-weight: 500;
    color: #666;
    margin-top: 2px;
}
.cat-circle.active .cat-circle-name {
    color: #111;
    font-weight: 700;
}
