
        :root {
            /* ── DT Brand's Signature Heritage Gold Brand System ── */
            --ws-gold-primary: #8A681F;
            --ws-gold-accent: #C5A859;
            --ws-gold-deep: #5A4210;
            --ws-gold-light: #FAF5E8;
            --ws-gold-pale: #FDFBF7;
            --ws-gold-border: rgba(138, 104, 31, 0.22);
            --ws-gold-glow: rgba(197, 168, 89, 0.28);

            --ws-bg-page: #FDFBF7;
            --ws-bg-card: #FFFFFF;
            --ws-bg-sidebar: #FFFFFF;
            --ws-border: #E8E2D5;
            --ws-border-light: #F4EFE6;

            --ws-text-main: #14110E;
            --ws-text-sub: #3B352E;
            --ws-text-muted: #6B6358;
            --ws-text-light: #948A7B;

            --ws-success: #15803D;
            --ws-success-bg: #DCFCE7;
            --ws-warning: #B45309;
            --ws-warning-bg: #FEF3C7;
            --ws-danger: #B91C1C;
            --ws-danger-bg: #FEE2E2;

            --ws-font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            --ws-font-serif: 'Cinzel', serif;

            --ws-radius-sm: 8px;
            --ws-radius-md: 12px;
            --ws-radius-lg: 14px;
            --ws-radius-xl: 18px;

            --ws-shadow-card: 0 1px 4px rgba(138,104,31,0.06), 0 4px 14px rgba(0,0,0,0.03);
            --ws-shadow-hover: 0 8px 24px rgba(138,104,31,0.12);
            --ws-transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            -webkit-tap-highlight-color: transparent;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: var(--ws-font-sans);
            background: var(--ws-bg-page);
            color: var(--ws-text-main);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            overflow-x: hidden;
        }

        /* ── Top Header Navigation Bar ── */
        .ws-header {
            background: #FFFFFF;
            border-bottom: 2px solid var(--ws-gold-primary);
            padding: 0 clamp(14px, 2.5vw, 28px);
            height: 64px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: 0 2px 10px rgba(138,104,31,0.06);
        }
        .ws-header-left {
            display: flex;
            align-items: center;
            gap: 16px;
        }
        .ws-menu-toggle-btn {
            width: 38px;
            height: 38px;
            border-radius: var(--ws-radius-sm);
            border: 1.2px solid var(--ws-gold-border);
            background: var(--ws-gold-light);
            color: var(--ws-gold-primary);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: var(--ws-transition);
        }
        .ws-menu-toggle-btn:hover {
            background: var(--ws-gold-primary);
            color: #FFFFFF;
        }
        .ws-menu-toggle-btn svg {
            width: 20px;
            height: 20px;
            stroke: currentColor;
            stroke-width: 2.2;
            fill: none;
        }

        /* ── Command Search Bar (⌘K) ── */
        .ws-cmd-search-wrap {
            position: relative;
            width: clamp(240px, 32vw, 420px);
        }
        .ws-cmd-search-input {
            width: 100%;
            height: 38px;
            padding: 0 54px 0 38px;
            border-radius: 20px;
            border: 1.2px solid var(--ws-border);
            background: #FAF8F4;
            font-size: 0.82rem;
            color: var(--ws-text-main);
            outline: none;
            transition: var(--ws-transition);
        }
        .ws-cmd-search-input:focus {
            background: #FFFFFF;
            border-color: var(--ws-gold-primary);
            box-shadow: 0 0 0 3px var(--ws-gold-glow);
        }
        .ws-cmd-search-icon {
            position: absolute;
            left: 12px;
            top: 50%;
            transform: translateY(-50%);
            width: 16px;
            height: 16px;
            stroke: var(--ws-text-muted);
            stroke-width: 2;
            fill: none;
            pointer-events: none;
        }
        .ws-cmd-badge {
            position: absolute;
            right: 10px;
            top: 50%;
            transform: translateY(-50%);
            padding: 2px 6px;
            background: #FFFFFF;
            border: 1px solid var(--ws-gold-border);
            border-radius: 6px;
            font-size: 0.65rem;
            font-weight: 700;
            color: var(--ws-gold-primary);
        }

        /* ── Luxury Search Bar Design System (Clean Left Icon & Right Aligned) ── */
        .ws-filter-controls-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            flex-wrap: nowrap;
            margin-bottom: 14px;
            padding-bottom: 12px;
            border-bottom: 1.5px solid var(--ws-border);
        }
        .ws-luxury-search-wrap {
            position: relative;
            width: clamp(240px, 30vw, 360px);
            display: flex;
            align-items: center;
            border-radius: 20px;
            background: #FFFFFF;
            margin-left: auto;
            flex-shrink: 0;
        }
        .ws-luxury-search-wrap::before {
            display: none;
        }
        .ws-luxury-search-input {
            position: relative;
            z-index: 1;
            width: 100%;
            height: 36px;
            padding: 0 34px 0 38px;
            border-radius: 20px;
            border: 1.5px solid rgba(138, 104, 31, 0.28);
            background: #FFFFFF;
            font-size: 0.78rem;
            font-weight: 600;
            color: var(--ws-text-main);
            outline: none;
            transition: all 0.25s ease;
            box-shadow: inset 0 1px 2px rgba(0,0,0,0.03);
        }
        .ws-luxury-search-input::placeholder {
            color: #9E978E;
            font-weight: 500;
            font-size: 0.75rem;
        }
        .ws-luxury-search-input:focus {
            background: #FFFFFF;
            border-color: var(--ws-gold-primary);
            box-shadow: 0 0 0 3px rgba(212,175,55,0.18);
        }
        .ws-luxury-search-icon {
            z-index: 2;
            position: absolute;
            left: 12px;
            right: auto;
            top: 50%;
            transform: translateY(-50%);
            width: 16px;
            height: 16px;
            stroke: #8A681F;
            stroke-width: 2.2;
            fill: none;
            pointer-events: none;
            transition: var(--ws-transition);
        }
        .ws-luxury-search-wrap:focus-within .ws-luxury-search-icon {
            stroke: #B45309;
            transform: translateY(-50%) scale(1.1);
        }
        .ws-luxury-search-clear {
            z-index: 3;
            position: absolute;
            right: 9px;
            top: 50%;
            transform: translateY(-50%);
            width: 18px;
            height: 18px;
            border-radius: 50%;
            background: #FAF8F4;
            color: #78716C;
            border: 1px solid rgba(138,104,31,0.25);
            cursor: pointer;
            display: none;
            align-items: center;
            justify-content: center;
            font-size: 0.65rem;
            font-weight: 800;
            transition: var(--ws-transition);
        }
        .ws-luxury-search-clear:hover {
            background: var(--ws-gold-primary);
            color: #FFFFFF;
        }

        .ws-header-right {
            display: flex;
            align-items: center;
            gap: 12px;
        }
        .ws-hdr-icon-btn {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            border: 1.2px solid var(--ws-gold-border);
            background: var(--ws-gold-light);
            color: var(--ws-gold-primary);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            position: relative;
            transition: var(--ws-transition);
        }
        .ws-hdr-icon-btn:hover {
            background: var(--ws-gold-primary);
            color: #FFFFFF;
        }
        .ws-hdr-icon-btn svg {
            width: 17px;
            height: 17px;
            stroke: currentColor;
            stroke-width: 2;
            fill: none;
        }
        .ws-notif-dot {
            position: absolute;
            top: 7px;
            right: 7px;
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background: #D97706;
            border: 1.5px solid #FFFFFF;
        }

        .ws-hdr-badge {
            position: absolute;
            top: -4px;
            right: -4px;
            min-width: 17px;
            height: 17px;
            padding: 0 4px;
            border-radius: 9px;
            background: #DC2626;
            color: #FFFFFF;
            font-size: 0.58rem;
            font-weight: 800;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 1.5px solid #FFFFFF;
            box-shadow: 0 2px 4px rgba(0,0,0,0.15);
            line-height: 1;
        }
        .ws-hdr-badge.gold {
            background: var(--ws-gold-primary);
            color: #FFFFFF;
        }

        .ws-user-profile-btn {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 4px 12px 4px 4px;
            border-radius: 28px;
            border: 1.5px solid var(--ws-gold-border);
            background: var(--ws-gold-light);
            cursor: pointer;
            transition: var(--ws-transition);
        }
        .ws-user-profile-btn:hover {
            border-color: var(--ws-gold-primary);
            box-shadow: 0 2px 8px rgba(138,104,31,0.2);
        }
        .ws-user-avatar-img {
            width: 34px;
            height: 34px;
            border-radius: 50%;
            object-fit: cover;
            border: 1.5px solid #FFFFFF;
        }
        .ws-user-name-text {
            font-size: 0.84rem;
            font-weight: 700;
            color: var(--ws-text-main);
            display: flex;
            align-items: center;
            gap: 5px;
        }
        .ws-user-name-text svg {
            width: 14px;
            height: 14px;
            stroke: var(--ws-gold-primary);
            stroke-width: 2.2;
            fill: none;
        }

        .ws-mobile-header-brand {
            display: none;
        }
        .ws-mob-logo-text {
            font-family: var(--ws-font-serif);
            font-size: 0.95rem;
            font-weight: 800;
            color: var(--ws-gold-primary);
            letter-spacing: 0.06em;
            white-space: nowrap;
        }

        /* ── Main App Layout Grid ── */
        .ws-app-layout {
            display: flex;
            flex: 1;
            min-height: calc(100vh - 64px);
        }

        /* ── Left Sidebar Navigation (TailAdmin Style with Gold Theme) ── */
        .ws-sidebar {
            width: 250px;
            background: var(--ws-bg-sidebar);
            border-right: 1.5px solid var(--ws-border);
            display: flex;
            flex-direction: column;
            flex-shrink: 0;
            transition: var(--ws-transition);
            z-index: 900;
            height: 100%;
        }
        .ws-sidebar-brand-box {
            padding: 8px 14px;
            height: 48px;
            box-sizing: border-box;
            display: flex;
            align-items: center;
            gap: 9px;
            border-bottom: 1.5px solid rgba(212,175,55,0.2);
            background: linear-gradient(180deg, #FFFFFF 0%, #FAF8F4 100%);
            flex-shrink: 0;
        }
        .ws-sidebar-close-btn {
            display: none;
            margin-left: auto;
            width: 28px;
            height: 28px;
            border-radius: 50%;
            border: 1.2px solid var(--ws-gold-border);
            background: var(--ws-gold-light);
            color: var(--ws-gold-primary);
            font-size: 0.95rem;
            font-weight: 700;
            cursor: pointer;
            align-items: center;
            justify-content: center;
            transition: var(--ws-transition);
        }
        .ws-sidebar-close-btn:hover {
            background: var(--ws-gold-primary);
            color: #FFFFFF;
        }
        .ws-sidebar-scroll {
            flex: 1;
            overflow-y: auto;
display: flex;
            flex-direction: column;
            scrollbar-width: thin;
        }
        .ws-side-logo-icon {
            width: 28px;
            height: 28px;
            border-radius: 7px;
            background: linear-gradient(135deg, var(--ws-gold-accent) 0%, var(--ws-gold-primary) 50%, var(--ws-gold-deep) 100%);
            color: #FFFFFF;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 900;
            font-size: 0.84rem;
            box-shadow: 0 2px 6px rgba(138,104,31,0.25);
            border: 1px solid #FFFFFF;
        }
        .ws-side-brand-title {
            font-family: var(--ws-font-serif);
            font-size: 0.96rem;
            font-weight: 900;
            color: var(--ws-gold-primary);
            letter-spacing: 0.05em;
        }

        .ws-nav-category {
            font-size: 0.62rem;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            color: #A8A29E;
            padding: 10px 16px 4px;
        }
        .ws-nav-list {
            list-style: none;
            padding: 4px 8px;
            display: flex;
            flex-direction: column;
            gap: 3px;
            flex: 1;
        }
        .ws-nav-item {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 8px 12px;
            border-radius: 9px;
            color: var(--ws-text-sub);
            font-size: 0.82rem;
            font-weight: 600;
            text-decoration: none;
            cursor: pointer;
            transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
            border: 1px solid transparent;
            -moz-user-select: none;
            -ms-user-select: none;
            -webkit-user-select: none;
            user-select: none;
        }
        .ws-nav-item:hover {
            background: linear-gradient(90deg, rgba(212,175,55,0.12) 0%, rgba(212,175,55,0.04) 100%);
            color: var(--ws-gold-primary);
            transform: translateX(2px);
        }
        .ws-nav-item.active {
            background: linear-gradient(135deg, #FAF5E8 0%, #F5EDD6 100%);
            color: #785912;
            border-color: rgba(212,175,55,0.45);
            font-weight: 800;
            box-shadow: 0 2px 8px rgba(138,104,31,0.10);
            transform: translateX(2px);
        }
        .ws-nav-item svg {
            width: 17px;
            height: 17px;
            stroke: currentColor;
            stroke-width: 2.2;
            fill: none;
            flex-shrink: 0;
            transition: transform 0.2s ease;
        }
        .ws-nav-item:hover svg,
        .ws-nav-item.active svg {
            transform: scale(1.08);
        }
        .ws-nav-badge {
            margin-left: auto;
            background: #DCFCE7;
            color: #15803D;
            font-size: 0.65rem;
            font-weight: 800;
            padding: 2px 7px;
            border-radius: 12px;
        }
        .ws-nav-badge.gold {
            background: var(--ws-gold-light);
            color: var(--ws-gold-primary);
            border: 1px solid var(--ws-gold-border);
        }

        .ws-sidebar-footer {
            padding: 14px 16px;
            border-top: 1px solid var(--ws-border);
        }
        .ws-logout-btn {
            width: 100%;
            padding: 9px 12px;
            border-radius: var(--ws-radius-sm);
            border: 1px solid #FCA5A5;
            background: #FEF2F2;
            color: #DC2626;
            font-size: 0.80rem;
            font-weight: 700;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            cursor: pointer;
            transition: var(--ws-transition);
        }
        .ws-logout-btn:hover {
            background: #DC2626;
            color: #FFFFFF;
        }

        /* ── Main Content Area ── */
        .ws-main-content {
            flex: 1;
            padding: clamp(16px, 2.5vw, 28px);
            overflow-y: auto;
            max-width: 1440px;
            margin: 0 auto;
            width: 100%;
        }

        /* ── Tab View Containers ── */
        .ws-tab-pane {
            display: none;
            animation: paneFadeIn 0.22s ease;
        }
        .ws-tab-pane.active {
            display: block;
        }
        @keyframes paneFadeIn {
            from { opacity: 0; transform: translateY(6px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* ════════════════════════════════════════════════════
           3D FROSTED GOLD GLASS TOP STAT METRIC CARDS (4 Cards Grid)
        ════════════════════════════════════════════════════ */
        .ws-metric-cards-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 14px;
            margin-bottom: 16px;
        }
        @media (max-width: 1024px) {
            .ws-metric-cards-grid {
                grid-template-columns: repeat(2, 1fr) !important;
                gap: 10px !important;
            }
        }
        @media (max-width: 380px) {
            .ws-metric-cards-grid {
                grid-template-columns: 1fr !important;
            }
        }

        /* Glassmorphic 3D KPI Stat Box */
        .ws-stat-box {
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(254, 250, 238, 0.88) 50%, rgba(248, 238, 210, 0.92) 100%);
            -webkit-backdrop-filter: blur(20px) saturate(180%);
            backdrop-filter: blur(20px) saturate(180%);
            border: 1.5px solid rgba(212, 175, 55, 0.45);
            border-radius: 14px;
            padding: 12px 14px;
            min-height: 98px;
            box-sizing: border-box;
            box-shadow: 0 4px 18px rgba(180, 140, 40, 0.08), inset 0 1px 2px #FFFFFF, inset 0 0 12px rgba(245, 215, 130, 0.10);
            transition: all 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            position: relative;
            overflow: hidden;
            opacity: 0;
            transform: translateY(18px);
            animation: wsCardFadeUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
        }
        .ws-stat-box:nth-child(1) { animation-delay: 0.05s; }
        .ws-stat-box:nth-child(2) { animation-delay: 0.12s; }
        .ws-stat-box:nth-child(3) { animation-delay: 0.19s; }
        .ws-stat-box:nth-child(4) { animation-delay: 0.26s; }

        @keyframes wsCardFadeUp {
            from { opacity: 0; transform: translateY(18px); }
            to   { opacity: 1; transform: translateY(0); }
        }
        .ws-stat-box::after {
            content: '';
            position: absolute;
            top: 0; left: -100%; width: 60%; height: 100%;
            background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.6) 60%, transparent 80%);
            transition: left 0.6s ease;
            pointer-events: none;
        }
        .ws-stat-box:hover::after {
            left: 150%;
        }
        .ws-stat-box:hover {
            box-shadow: 0 8px 25px rgba(180, 140, 40, 0.16), inset 0 1px 2px #FFFFFF;
            border-color: rgba(212, 175, 55, 0.75);
            transform: translateY(-3px) scale(1.01);
        }
        .ws-stat-head-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 6px;
            margin-bottom: 6px;
        }
        .ws-stat-label {
            font-size: clamp(0.66rem, 1.1vw, 0.72rem);
            font-weight: 800;
            color: #8A681F;
            text-transform: uppercase;
            letter-spacing: 0.04em;
            margin: 0;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .ws-stat-ico-wrap {
            width: 28px;
            height: 28px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            box-shadow: 0 2px 6px rgba(0,0,0,0.04);
        }
        .ws-stat-ico-wrap.tier { background: #FEF3C7; border: 1px solid rgba(217, 119, 6, 0.3); }
        .ws-stat-ico-wrap.orders { background: #EFF6FF; border: 1px solid rgba(37, 99, 235, 0.25); }
        .ws-stat-ico-wrap.qty { background: #ECFDF5; border: 1px solid rgba(16, 185, 129, 0.25); }
        .ws-stat-ico-wrap.turnover { background: #FFFBEB; border: 1px solid rgba(245, 158, 11, 0.35); }

        .ws-anim-stat-ico.crown { animation: crownGlowPulse 2.8s ease-in-out infinite; }
        .ws-anim-stat-ico.box { animation: boxFloatPulse 2.4s ease-in-out infinite; }
        .ws-anim-stat-ico.stack { animation: stackShimmer 2.6s ease-in-out infinite; }
        .ws-anim-stat-ico.turnover { animation: turnoverCoinPulse 2.8s ease-in-out infinite; }
        .ws-anim-flame-star { animation: flameStarPulse 2.4s ease-in-out infinite; }

        @keyframes flameStarPulse {
            0%, 100% { transform: scale(1) rotate(0deg); filter: drop-shadow(0 1px 3px rgba(217,119,6,0.3)); }
            50% { transform: scale(1.15) rotate(6deg); filter: drop-shadow(0 2px 8px rgba(245,158,11,0.6)); }
        }

        @keyframes crownGlowPulse {
            0%, 100% { transform: scale(1) rotate(0deg); filter: drop-shadow(0 1px 3px rgba(212,175,55,0.3)); }
            50% { transform: scale(1.1) rotate(-3deg); filter: drop-shadow(0 2px 8px rgba(212,175,55,0.6)); }
        }
        @keyframes boxFloatPulse {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-2.5px); }
        }
        @keyframes stackShimmer {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.08); filter: drop-shadow(0 2px 6px rgba(16,185,129,0.35)); }
        }
        @keyframes turnoverCoinPulse {
            0%, 100% { transform: scale(1) rotate(0deg); }
            50% { transform: scale(1.1) rotate(4deg); filter: drop-shadow(0 2px 8px rgba(245,158,11,0.5)); }
        }

        /* ── Animated Shimmer Text for 'For You' Header ── */
        .ws-anim-shimmer-title {
            background: linear-gradient(90deg, #785912 0%, #D4AF37 25%, #FEF08A 50%, #D4AF37 75%, #785912 100%);
            background-size: 200% auto;
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            animation: goldTextFlow 3.5s linear infinite;
            display: inline-block;
        }
        @keyframes goldTextFlow {
            0% { background-position: 0% 50%; }
            100% { background-position: 200% 50%; }
        }

        .ws-stat-val-row {
            display: flex;
            align-items: baseline;
            justify-content: space-between;
            gap: 8px;
        }
        .ws-stat-val-num {
            font-size: clamp(1.22rem, 2.2vw, 1.50rem);
            font-weight: 900;
            color: #16130F;
            letter-spacing: -0.01em;
            line-height: 1.15;
            font-variant-numeric: tabular-nums;
            white-space: nowrap;
        }
        .ws-trend-pill {
            display: inline-flex;
            align-items: center;
            gap: 2px;
            padding: 2.5px 7px;
            border-radius: 6px;
            font-size: 0.62rem;
            font-weight: 800;
            white-space: nowrap;
            letter-spacing: 0.2px;
        }
        .ws-trend-pill.up {
            background: #DCFCE7;
            color: #15803D;
            border: 1px solid rgba(22, 163, 74, 0.25);
        }
        .ws-trend-pill.down {
            background: #FEE2E2;
            color: #DC2626;
            border: 1px solid rgba(220, 38, 38, 0.25);
        }

        /* ── 3D Diagonal Tircha Top-Left Corner Ribbon Tag for Tier Card ── */
        .ws-tier-ribbon-tag {
            position: absolute;
            top: 0;
            left: 0;
            width: 54px;
            height: 54px;
            overflow: hidden;
            pointer-events: none;
            z-index: 10;
            border-top-left-radius: 14px;
        }
        .ws-tier-ribbon-tag span {
            position: absolute;
            display: block;
            width: 78px;
            padding: 1.5px 0;
            background: linear-gradient(135deg, #785912 0%, #D4AF37 40%, #FEF08A 60%, #8A681F 100%);
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.7);
            color: #1A1204;
            font-size: 0.42rem;
            font-weight: 900;
            text-transform: uppercase;
            text-align: center;
            left: -20px;
            top: 9px;
            transform: rotate(-45deg);
            letter-spacing: 0.6px;
            border-top: 1px solid rgba(255, 255, 255, 0.7);
            border-bottom: 1px solid rgba(120, 89, 18, 0.5);
            text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
            transition: all 0.3s ease;
        }
        .ws-tier-ribbon-tag.non-vip span {
            background: linear-gradient(135deg, #047857 0%, #10B981 40%, #A7F3D0 60%, #059669 100%);
            color: #064E3B;
            border-top-color: rgba(255, 255, 255, 0.8);
            border-bottom-color: rgba(6, 78, 59, 0.5);
        }
        .ws-tier-ribbon-tag.silver span {
            background: linear-gradient(135deg, #475569 0%, #94A3B8 40%, #F1F5F9 60%, #64748B 100%);
            color: #0F172A;
            border-top-color: rgba(255, 255, 255, 0.8);
            border-bottom-color: rgba(15, 23, 42, 0.5);
        }
        .ws-tier-ribbon-tag.gold span {
            background: linear-gradient(135deg, #785912 0%, #D4AF37 40%, #FEF08A 60%, #8A681F 100%);
            color: #1A1204;
            border-top-color: rgba(255, 255, 255, 0.8);
            border-bottom-color: rgba(120, 89, 18, 0.5);
        }
        .ws-tier-ribbon-tag.diamond span {
            background: linear-gradient(135deg, #0369A1 0%, #38BDF8 40%, #E0F2FE 60%, #0284C7 100%);
            color: #082F49;
            border-top-color: rgba(255, 255, 255, 0.8);
            border-bottom-color: rgba(3, 105, 161, 0.5);
        }
        .ws-tier-ribbon-tag.platinum span {
            background: linear-gradient(135deg, #1E1B18 0%, #524738 40%, #D4AF37 60%, #1E1B18 100%);
            color: #FFFFFF;
            border-top-color: rgba(212, 175, 55, 0.8);
            border-bottom-color: rgba(0, 0, 0, 0.8);
            text-shadow: 0 1px 2px rgba(0,0,0,0.8);
        }

        /* ── Roadmap Link with Animated Running Glowing Line ── */
        .ws-roadmap-link-wrap {
            display: inline-flex;
            flex-direction: column;
            align-items: center;
            cursor: pointer;
            position: relative;
            padding: 1px 4px;
            text-decoration: none;
            transition: var(--ws-transition);
        }
        .ws-roadmap-link-text {
            font-size: clamp(0.56rem, 1vw, 0.62rem);
            font-weight: 800;
            color: #8A681F;
            letter-spacing: 0.3px;
            line-height: 1.1;
            display: inline-flex;
            align-items: center;
            gap: 2px;
            transition: all 0.2s ease;
        }
        .ws-roadmap-link-wrap:hover .ws-roadmap-link-text {
            color: #B45309;
            transform: translateX(1px);
        }
        .ws-roadmap-running-line {
            width: 100%;
            height: 2px;
            margin-top: 1.5px;
            background: rgba(212, 175, 55, 0.25);
            border-radius: 2px;
            position: relative;
            overflow: hidden;
        }
        .ws-roadmap-running-line::after {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 70%;
            height: 100%;
            background: linear-gradient(90deg, transparent 0%, #F59E0B 40%, #D4AF37 70%, transparent 100%);
            box-shadow: 0 0 6px #F59E0B;
            border-radius: 2px;
            animation: roadMapRunningLine 1.6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
        }
        @keyframes roadMapRunningLine {
            0% { left: -100%; }
            100% { left: 150%; }
        }

        /* ════════════════════════════════════════════════════
           MIDDLE ANALYTICS ROW (Sales Bar Chart & Target Gauge)
        ════════════════════════════════════════════════════ */
        .ws-analytics-grid {
            display: grid;
            grid-template-columns: 1.6fr 1fr;
            gap: clamp(14px, 2vw, 20px);
            margin-bottom: clamp(16px, 2vw, 24px);
        }

        .ws-analytics-card {
            background: var(--ws-bg-card);
            border: 1.5px solid var(--ws-border);
            border-radius: var(--ws-radius-lg);
            padding: clamp(18px, 2vw, 24px);
            box-shadow: var(--ws-shadow-card);
            display: flex;
            flex-direction: column;
            opacity: 0;
            transform: translateY(14px);
            animation: wsCardFadeUp 0.55s cubic-bezier(0.4, 0, 0.2, 1) 0.32s forwards;
            transition: box-shadow 0.25s ease, border-color 0.25s ease;
        }
        .ws-analytics-card:hover {
            box-shadow: var(--ws-shadow-hover);
            border-color: var(--ws-gold-border);
        }
        .ws-card-top-bar {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 20px;
        }
        .ws-card-top-bar h3 {
            font-size: 1rem;
            font-weight: 800;
            color: var(--ws-gold-primary);
            font-family: var(--ws-font-serif);
        }
        .ws-dots-btn {
            background: none;
            border: none;
            color: var(--ws-text-muted);
            font-size: 1.2rem;
            cursor: pointer;
            line-height: 1;
            padding: 2px 6px;
            border-radius: 4px;
        }
        .ws-dots-btn:hover {
            background: var(--ws-gold-light);
            color: var(--ws-gold-primary);
        }

        /* ── SVG Zigzag & Spline Line Chart (Luxury Admin Style) ── */
        .ws-chart-wrapper {
            position: relative;
            width: 100%;
            display: flex;
            flex-direction: column;
            margin-top: 10px;
        }
        .ws-chart-svg-container {
            position: relative;
            width: 100%;
            height: 180px;
            display: flex;
            overflow: hidden;
            border-radius: 8px;
        }
        .ws-chart-y-axis {
            position: absolute;
            left: 0;
            top: 2px;
            bottom: 6px;
            width: 32px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            font-size: 0.68rem;
            font-weight: 700;
            color: var(--ws-text-muted);
            text-align: right;
            padding-right: 6px;
            z-index: 2;
        }
        .ws-chart-svg {
            width: 100%;
            height: 100%;
            overflow: visible;
        }
        .ws-chart-gridline {
            stroke: #EFEBE4;
            stroke-dasharray: 4, 4;
            stroke-width: 1;
        }
        .ws-chart-zigzag-area {
            fill: url(#wsGoldAreaGrad);
            opacity: 0.85;
            transition: d 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }
        .ws-chart-zigzag-line {
            fill: none;
            stroke: url(#wsGoldLineGrad);
            stroke-width: 3.2;
            stroke-linecap: round;
            stroke-linejoin: round;
            filter: drop-shadow(0 4px 10px rgba(138, 104, 31, 0.35));
            transition: d 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            stroke-dasharray: 1200;
            stroke-dashoffset: 0;
            animation: wsLineDrawIn 1.1s cubic-bezier(0.4, 0, 0.2, 1);
        }
        @keyframes wsLineDrawIn {
            from { stroke-dashoffset: 1200; }
            to { stroke-dashoffset: 0; }
        }
        .ws-chart-node {
            fill: #FFFFFF;
            stroke: var(--ws-gold-primary);
            stroke-width: 2.2;
            r: 4;
            cursor: pointer;
            transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
        }
        .ws-chart-node:hover, .ws-chart-node.active {
            r: 6.5;
            fill: var(--ws-gold-primary);
            stroke: #FFFFFF;
            stroke-width: 2.5;
            filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.9));
        }
        .ws-chart-x-axis {
            display: flex;
            justify-content: space-between;
            padding: 8px 6px 0 34px;
            font-size: 0.68rem;
            font-weight: 700;
            color: var(--ws-text-muted);
            border-top: 1.5px solid var(--ws-border);
            margin-top: 4px;
        }
        .ws-chart-x-axis span {
            flex: 1;
            text-align: center;
            cursor: pointer;
            transition: all 0.2s;
        }
        .ws-chart-x-axis span:hover, .ws-chart-x-axis span.active {
            color: var(--ws-gold-primary);
            font-weight: 800;
        }

        /* Chart Floating Live Tooltip */
        .ws-chart-tooltip {
            background: #14110E;
            color: #FAF5E8;
            padding: 6px 12px;
            border-radius: 8px;
            font-size: 0.72rem;
            font-weight: 700;
            border: 1px solid var(--ws-gold-accent);
            box-shadow: 0 4px 12px rgba(0,0,0,0.2);
            display: inline-flex;
            align-items: center;
            gap: 6px;
            margin-bottom: 8px;
            width: fit-content;
            transition: all 0.2s ease;
        }
        .ws-chart-tooltip-dot {
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background: #22C55E;
            box-shadow: 0 0 6px #22C55E;
            flex-shrink: 0;
        }
        .ws-chart-type-pill {
            display: inline-flex;
            background: var(--ws-gold-light);
            border: 1px solid var(--ws-gold-border);
            border-radius: 20px;
            padding: 2px;
            gap: 2px;
        }
        .ws-chart-type-btn {
            background: transparent;
            border: none;
            padding: 3px 9px;
            border-radius: 16px;
            font-size: 0.68rem;
            font-weight: 700;
            color: var(--ws-text-muted);
            cursor: pointer;
            transition: all 0.2s;
        }
        .ws-chart-type-btn.active {
            background: var(--ws-gold-primary);
            color: #FFFFFF;
            box-shadow: 0 2px 6px rgba(138, 104, 31, 0.3);
        }

        /* ── Semi-Circular Target Gauge Arc (Luxury Gold Dashboard) ── */
        .ws-gauge-wrap {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            margin: 6px 0 16px;
            position: relative;
        }
        .ws-gauge-svg {
            width: 200px;
            height: 110px;
            overflow: visible;
        }
        .ws-gauge-bg-arc {
            fill: none;
            stroke: #EDE7DD;
            stroke-width: 14;
            stroke-linecap: round;
        }
        .ws-gauge-fill-arc {
            fill: none;
            stroke: url(#goldGaugeGrad);
            stroke-width: 14;
            stroke-linecap: round;
            stroke-dasharray: 236;
            stroke-dashoffset: 58; /* 75.55% */
            filter: drop-shadow(0 4px 10px rgba(138, 104, 31, 0.4));
            transition: stroke-dashoffset 1.2s cubic-bezier(0.4, 0, 0.2, 1);
            animation: wsGaugeDrawIn 1.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
        }
        @keyframes wsGaugeDrawIn {
            from { stroke-dashoffset: 236; }
            to { stroke-dashoffset: 58; }
        }
        .ws-gauge-center-text {
            font-size: 1.65rem;
            font-weight: 900;
            color: var(--ws-gold-primary);
            margin-top: -34px;
            font-family: var(--ws-font-serif);
            letter-spacing: -0.02em;
            text-shadow: 0 2px 8px rgba(138, 104, 31, 0.15);
        }
        .ws-gauge-badge {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            padding: 3px 10px;
            border-radius: 14px;
            background: #ECFDF5;
            color: #10B981;
            font-size: 0.72rem;
            font-weight: 800;
            margin-top: 4px;
            border: 1px solid #A7F3D0;
            box-shadow: 0 2px 6px rgba(16, 185, 129, 0.15);
            animation: wsPulseBadge 2s infinite ease-in-out;
        }
        @keyframes wsPulseBadge {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.04); }
        }
        .ws-gauge-desc {
            font-size: 0.78rem;
            color: var(--ws-text-muted);
            margin-top: 12px;
            line-height: 1.45;
            max-width: 290px;
        }
        .ws-gauge-stats-row {
            display: grid;
            grid-template-columns: 1fr 1fr 1fr;
            border-top: 1.5px solid var(--ws-border);
            padding-top: 14px;
            margin-top: auto;
            text-align: center;
            gap: 8px;
        }
        .ws-gauge-stat-pill {
            background: #FAF8F4;
            border: 1px solid var(--ws-border);
            border-radius: 10px;
            padding: 8px 4px;
            transition: all 0.25s ease;
        }
        .ws-gauge-stat-pill:hover {
            border-color: var(--ws-gold-primary);
            background: #FFFFFF;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(138, 104, 31, 0.1);
        }
        .ws-g-stat-label {
            font-size: 0.68rem;
            color: var(--ws-text-muted);
            font-weight: 700;
            text-transform: uppercase;
        }
        .ws-g-stat-val {
            font-size: 0.95rem;
            font-weight: 800;
            color: var(--ws-text-main);
            margin-top: 2px;
        }

        /* ════════════════════════════════════════════════════
           BOTTOM CONTROLS & STATISTICS HEADER (Segmented Tabs)
        ════════════════════════════════════════════════════ */
        /* ── Statistics Comprehensive Card & Multi-Dimensional Grid ── */
        .ws-statistics-card {
            background: #FFFFFF;
            border: 1.5px solid var(--ws-border);
            border-radius: var(--ws-radius-lg);
            padding: clamp(18px, 2.2vw, 24px);
            margin-bottom: clamp(16px, 2vw, 24px);
            box-shadow: var(--ws-shadow-card);
        }
        .ws-stats-grid {
            display: grid;
            grid-template-columns: 1.4fr 1.2fr 1fr;
            gap: 22px;
            margin-top: 18px;
            padding-top: 16px;
            border-top: 1px solid var(--ws-border-light);
        }
        .ws-stats-col-title {
            font-size: 0.82rem;
            font-weight: 800;
            color: var(--ws-text-main);
            text-transform: uppercase;
            letter-spacing: 0.05em;
            margin-bottom: 14px;
            display: flex;
            align-items: center;
            gap: 6px;
        }
        
        /* Category Progress Bars */
        .ws-cat-prog-list {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }
        .ws-cat-prog-item {
            display: flex;
            flex-direction: column;
            gap: 4px;
        }
        .ws-cat-prog-header {
            display: flex;
            justify-content: space-between;
            align-items: baseline;
            font-size: 0.80rem;
        }
        .ws-cat-prog-name {
            font-weight: 700;
            color: var(--ws-text-main);
        }
        .ws-cat-prog-val {
            font-weight: 800;
            color: var(--ws-gold-primary);
        }
        .ws-cat-prog-track {
            width: 100%;
            height: 7px;
            background: #F4EFE6;
            border-radius: 4px;
            overflow: hidden;
        }
        .ws-cat-prog-fill {
            height: 100%;
            background: linear-gradient(90deg, var(--ws-gold-primary) 0%, var(--ws-gold-accent) 60%, #FFE082 100%);
            border-radius: 4px;
            width: 0 !important;
            animation: wsProgBarIn 1s cubic-bezier(0.4, 0, 0.2, 1) 0.6s forwards;
        }
        @keyframes wsProgBarIn {
            to { width: var(--prog-w, 75%); }
        }

        /* KPI Cards Grid */
        .ws-kpi-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
        }
        .ws-kpi-box {
            background: #FAF8F4;
            border: 1px solid var(--ws-border);
            border-radius: 10px;
            padding: 12px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            transition: var(--ws-transition);
        }
        .ws-kpi-box:hover {
            border-color: var(--ws-gold-primary);
            background: #FFFFFF;
            box-shadow: 0 4px 12px rgba(138,104,31,0.08);
        }
        .ws-kpi-label {
            font-size: 0.70rem;
            font-weight: 700;
            color: var(--ws-text-muted);
            text-transform: uppercase;
            line-height: 1.25;
        }
        .ws-kpi-num {
            font-size: 1.05rem;
            font-weight: 800;
            color: var(--ws-text-main);
            margin: 4px 0 2px;
        }
        .ws-kpi-sub {
            font-size: 0.68rem;
            color: var(--ws-success);
            font-weight: 700;
        }

        /* Target & Tier Status Box */
        .ws-tier-status-box {
            background: linear-gradient(135deg, #FAF5E8 0%, #FDFBF7 100%);
            border: 1.5px solid var(--ws-gold-border);
            border-radius: 12px;
            padding: 14px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }
        .ws-tier-badge {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            background: var(--ws-gold-primary);
            color: #FFFFFF;
            font-size: 0.70rem;
            font-weight: 800;
            padding: 3px 8px;
            border-radius: 6px;
            align-self: flex-start;
            font-family: var(--ws-font-serif);
        }

        .ws-section-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 12px;
        }
        .ws-sec-title-box h3 {
            font-size: 1.05rem;
            font-weight: 800;
            color: var(--ws-gold-primary);
            font-family: var(--ws-font-serif);
        }
        .ws-sec-title-box p {
            font-size: 0.78rem;
            color: var(--ws-text-muted);
            margin-top: 2px;
        }
        .ws-sec-actions-row {
            display: flex;
            align-items: center;
            gap: 10px;
            flex-wrap: wrap;
        }
        .ws-segmented-control {
            display: flex;
            background: #FFFFFF;
            border: 1.5px solid var(--ws-border);
            border-radius: 24px;
            padding: 3px;
            box-shadow: var(--ws-shadow-card);
        }
        .ws-seg-btn {
            border: none;
            background: transparent;
            padding: 6px 14px;
            border-radius: 20px;
            font-size: 0.76rem;
            font-weight: 700;
            color: var(--ws-text-muted);
            cursor: pointer;
            transition: var(--ws-transition);
        }
        .ws-seg-btn.active {
            background: var(--ws-gold-primary);
            color: #FFFFFF;
            box-shadow: 0 2px 6px rgba(138,104,31,0.25);
        }
        .ws-date-range-pill {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 7px 14px;
            border-radius: 20px;
            border: 1.5px solid var(--ws-border);
            background: #FFFFFF;
            font-size: 0.78rem;
            font-weight: 700;
            color: var(--ws-text-sub);
            cursor: pointer;
            box-shadow: var(--ws-shadow-card);
        }

        /* ── Real Coded Vector Icons Utility ── */
        .ws-ico {
            width: 15px;
            height: 15px;
            stroke: currentColor;
            stroke-width: 2;
            stroke-linecap: round;
            stroke-linejoin: round;
            fill: none;
            display: inline-block;
            vertical-align: -2px;
            flex-shrink: 0;
        }
        .ws-ico.gold {
            stroke: var(--ws-gold-primary);
        }
        .ws-ico.gold-fill {
            fill: var(--ws-gold-primary);
            stroke: none;
        }
        .ws-ico-sm {
            width: 13px;
            height: 13px;
        }
        .ws-ico-lg {
            width: 18px;
            height: 18px;
        }

        /* ── Standard Section Cards ── */
        .ws-card {
            background: #FFFFFF;
            border: 1.5px solid var(--ws-border);
            border-radius: var(--ws-radius-lg);
            padding: clamp(16px, 2vw, 24px);
            margin-bottom: clamp(14px, 2vw, 20px);
            box-shadow: var(--ws-shadow-card);
        }
        .ws-card-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 16px;
            padding-bottom: 12px;
            border-bottom: 1px solid var(--ws-border);
            flex-wrap: wrap;
            gap: 10px;
        }
        .ws-card-title-group {
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .ws-card-title-group h3 {
            font-size: 1rem;
            font-weight: 800;
            color: var(--ws-gold-primary);
            font-family: var(--ws-font-serif);
        }

        /* ── Form Inputs & Layout ── */
        .ws-form-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(clamp(200px, 40vw, 280px), 1fr));
            gap: 14px;
        }
        .ws-form-group {
            display: flex;
            flex-direction: column;
            gap: 5px;
            margin-bottom: 12px;
        }
        .ws-form-group.full {
            grid-column: 1 / -1;
        }
        .ws-label {
            font-size: 0.78rem;
            font-weight: 700;
            color: var(--ws-text-main);
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        .ws-label .req { color: var(--ws-danger); }
        .ws-input, .ws-select, .ws-textarea {
            width: 100%;
            height: 42px;
            border: 1.5px solid var(--ws-border);
            border-radius: var(--ws-radius-sm);
            padding: 0 12px;
            font-family: var(--ws-font-sans);
            font-size: 0.85rem;
            color: var(--ws-text-main);
            background: #FAF8F4;
            outline: none;
            transition: var(--ws-transition);
        }
        .ws-textarea {
            height: 90px;
            padding: 10px 12px;
            resize: vertical;
        }
        .ws-input:focus, .ws-select:focus, .ws-textarea:focus {
            border-color: var(--ws-gold-primary);
            background: #FFFFFF;
            box-shadow: 0 0 0 3px var(--ws-gold-glow);
        }
        .ws-input:disabled {
            background: #EFEBE4;
            color: var(--ws-text-muted);
            cursor: not-allowed;
        }

        .ws-phone-wrap {
            display: flex;
            align-items: center;
            border: 1.5px solid var(--ws-border);
            border-radius: var(--ws-radius-sm);
            background: #FAF8F4;
            overflow: hidden;
        }
        .ws-phone-prefix {
            padding: 0 12px;
            font-size: 0.82rem;
            font-weight: 700;
            color: var(--ws-gold-primary);
            background: var(--ws-gold-light);
            height: 42px;
            display: flex;
            align-items: center;
            border-right: 1px solid var(--ws-border);
            flex-shrink: 0;
        }
        .ws-phone-input {
            border: none !important;
            background: transparent !important;
            box-shadow: none !important;
        }

        /* ── Action Buttons ── */
        .ws-btn-group {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-top: 12px;
            flex-wrap: wrap;
        }
        .ws-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            padding: 9px 18px;
            border-radius: var(--ws-radius-sm);
            font-size: 0.82rem;
            font-weight: 700;
            cursor: pointer;
            border: 1.5px solid transparent;
            transition: var(--ws-transition);
            text-decoration: none;
            white-space: nowrap;
        }
        .ws-btn-primary {
            background: linear-gradient(135deg, var(--ws-gold-primary) 0%, var(--ws-gold-deep) 100%);
            color: #FFFFFF;
            border-color: var(--ws-gold-primary);
            box-shadow: 0 2px 8px rgba(138,104,31,0.25);
        }
        .ws-btn-primary:hover {
            background: linear-gradient(135deg, #785A1A 0%, #4D370E 100%);
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(138,104,31,0.35);
        }
        .ws-btn-secondary {
            background: #FFFFFF;
            color: var(--ws-text-main);
            border-color: var(--ws-border);
        }
        .ws-btn-secondary:hover {
            background: var(--ws-gold-light);
            border-color: var(--ws-gold-primary);
            color: var(--ws-gold-primary);
        }
        .ws-btn-wa {
            background: #25D366;
            color: #FFFFFF;
            border-color: #25D366;
        }
        .ws-btn-wa:hover {
            background: #128C7E;
        }
        .ws-btn-sm {
            padding: 6px 12px;
            font-size: 0.76rem;
        }

        /* ── Luxury Animated 'New Order' Button ── */
        .ws-btn-new-order {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            background: linear-gradient(135deg, #D4AF37 0%, #B45309 100%);
            color: #FFFFFF !important;
            font-weight: 800;
            font-size: clamp(0.72rem, 1.2vw, 0.78rem);
            padding: 5px 12px 5px 6px;
            border-radius: 20px;
            text-decoration: none;
            box-shadow: 0 3px 12px rgba(180, 83, 9, 0.32), inset 0 1px 1px rgba(255, 255, 255, 0.4);
            border: 1px solid rgba(255, 255, 255, 0.3);
            transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
            letter-spacing: 0.2px;
        }
        .ws-btn-new-order::after {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 60%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
            transform: skewX(-20deg);
            animation: wsBtnShimmer 3s infinite;
        }
        @keyframes wsBtnShimmer {
            0%, 70% { left: -100%; }
            100% { left: 160%; }
        }
        .ws-btn-new-order:hover {
            transform: translateY(-2px) scale(1.02);
            box-shadow: 0 5px 16px rgba(180, 83, 9, 0.45);
        }
        .ws-new-order-icon-badge {
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.25);
            display: flex;
            align-items: center;
            justify-content: center;
            -webkit-backdrop-filter: blur(4px);
            backdrop-filter: blur(4px);
        }
        .ws-anim-plus-bounce {
            width: 12px;
            height: 12px;
            stroke: #FFFFFF;
            animation: plusPulseSpin 3s ease-in-out infinite;
        }
        @keyframes plusPulseSpin {
            0%, 100% { transform: scale(1) rotate(0deg); }
            50% { transform: scale(1.15) rotate(90deg); }
        }

        /* ── GST Radio Cards ── */
        .ws-gst-selector-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 12px;
            margin-bottom: 16px;
        }
        .ws-gst-option-card {
            border: 1.5px solid var(--ws-border);
            border-radius: var(--ws-radius-md);
            padding: 14px 16px;
            background: #FAF8F4;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 12px;
            transition: var(--ws-transition);
            -moz-user-select: none;
            -ms-user-select: none;
            -webkit-user-select: none;
            user-select: none;
        }
        .ws-gst-option-card:hover {
            border-color: var(--ws-gold-primary);
            background: #FFFFFF;
        }
        .ws-gst-option-card.selected {
            border-color: var(--ws-gold-primary);
            background: var(--ws-gold-light);
            box-shadow: 0 2px 8px rgba(138,104,31,0.15);
        }
        .ws-radio-dot {
            width: 18px;
            height: 18px;
            border-radius: 50%;
            border: 2px solid var(--ws-text-light);
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            transition: var(--ws-transition);
        }
        .ws-gst-option-card.selected .ws-radio-dot {
            border-color: var(--ws-gold-primary);
        }
        .ws-gst-option-card.selected .ws-radio-dot::after {
            content: '';
            width: 9px;
            height: 9px;
            border-radius: 50%;
            background: var(--ws-gold-primary);
        }

        /* ── Responsive Order Table ── */
        .ws-table-container {
            width: 100%;
            overflow-x: auto;
            border-radius: var(--ws-radius-md);
            border: 1.5px solid var(--ws-border);
        }
        .ws-table {
            width: 100%;
            border-collapse: collapse;
            text-align: left;
            font-size: 0.84rem;
            background: #FFFFFF;
        }
        .ws-table th {
            background: var(--ws-gold-light);
            color: var(--ws-gold-primary);
            font-weight: 800;
            font-size: 0.74rem;
            padding: 12px 14px;
            border-bottom: 1.5px solid var(--ws-gold-border);
            text-transform: uppercase;
            letter-spacing: 0.05em;
            white-space: nowrap;
            font-family: var(--ws-font-serif);
        }
        .ws-table td {
            padding: 12px 14px;
            border-bottom: 1px solid #F1ECE3;
            color: var(--ws-text-main);
            vertical-align: middle;
        }
        .ws-table tr:hover td {
            background: #FDFBF7;
        }
        .ws-order-id-cell {
            font-weight: 800;
            color: var(--ws-gold-primary);
        }
        .ws-prod-mini-cell {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .ws-prod-mini-img {
            width: 38px;
            height: 48px;
            border-radius: 6px;
            object-fit: cover;
            border: 1px solid var(--ws-border);
            flex-shrink: 0;
        }

        /* ── Status Badges ── */
        .ws-status-badge {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            padding: 3px 9px;
            border-radius: 14px;
            font-size: 0.70rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.04em;
            white-space: nowrap;
        }
        .ws-status-badge.delivered { background: #DCFCE7; color: #15803D; border: 1px solid #BBF7D0; }
        .ws-status-badge.processing { background: #FEF3C7; color: #B45309; border: 1px solid #FDE68A; }
        .ws-status-badge.shipped { background: #DBEAFE; color: #1D4ED8; border: 1px solid #BFDBFE; }
        .ws-status-badge.confirmed { background: #F3E8FF; color: #6B21A8; border: 1px solid #E9D5FF; }
        .ws-status-badge.returned { background: #FEE2E2; color: #B91C1C; border: 1px solid #FECACA; }
        .ws-status-badge.refund { background: #FFE4E6; color: #9F1239; border: 1px solid #FECDD3; }

        /* ── Mobile Order Cards ── */
        .ws-mobile-order-cards {
            display: none;
            flex-direction: column;
            gap: 12px;
        }
        .ws-mob-order-card {
            background: linear-gradient(180deg, #FFFFFF 0%, #FEFCF8 100%);
            border: 1.5px solid rgba(212, 175, 55, 0.28);
            border-radius: 12px;
            padding: 12px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
            transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        }
        .ws-mob-order-card:hover {
            border-color: rgba(212, 175, 55, 0.6);
            box-shadow: 0 4px 14px rgba(138, 104, 31, 0.12);
            transform: translateY(-2px);
        }
        .ws-mob-order-top {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 8px;
            padding-bottom: 8px;
            border-bottom: 1px dashed rgba(212, 175, 55, 0.25);
        }
        .ws-mob-order-body {
            display: flex;
            gap: 10px;
            margin-bottom: 10px;
        }
        .ws-mob-order-img {
            width: 58px;
            height: 72px;
            border-radius: 8px;
            object-fit: cover;
            border: 1px solid rgba(212, 175, 55, 0.25);
            flex-shrink: 0;
            box-shadow: 0 2px 5px rgba(0,0,0,0.06);
        }
        .ws-mob-order-info {
            flex: 1;
            min-width: 0;
            display: flex;
            flex-direction: column;
            gap: 3px;
        }
        .ws-mob-order-title {
            font-family: var(--ws-font-serif);
            font-size: clamp(0.84rem, 1.5vw, 0.94rem);
            font-weight: 800;
            color: #1C1917;
            line-height: 1.25;
            letter-spacing: 0.1px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .ws-mob-order-meta {
            font-size: 0.70rem;
            color: #78716C;
            font-weight: 600;
            line-height: 1.3;
        }
        .ws-mob-order-price {
            font-size: 0.96rem;
            font-weight: 900;
            color: var(--ws-gold-primary);
            letter-spacing: 0.2px;
        }
        .ws-mob-order-actions {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 8px;
        }
        .ws-mob-order-price-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-top: 4px;
        }
        .ws-mob-order-price {
            font-size: 0.98rem;
            font-weight: 800;
            color: var(--ws-gold-primary);
        }
        .ws-mob-order-actions {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
            padding-top: 10px;
            border-top: 1px solid var(--ws-border-light);
        }

        /* ── Wholesale Reports Tab Styles ── */
        .ws-report-kpis-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 12px;
            margin-bottom: 16px;
        }
        /* ── Wholesale Filter Pills Design System ── */
        .ws-orders-filter-btns,
        .ws-filter-pill-group {
            display: flex;
            align-items: center;
            gap: 6px;
            overflow-x: auto;
scrollbar-width: none;
            -ms-overflow-style: none;
            flex-wrap: nowrap;
            padding: 2px 2px 4px;
            flex: 1;
            min-width: 0;
            scroll-snap-type: x mandatory;
        }
        .ws-orders-filter-btns::-webkit-scrollbar,
        .ws-filter-pill-group::-webkit-scrollbar {
            display: none;
            width: 0;
            height: 0;
        }
        .ws-rep-filter-btn {
            background: #FAF8F4;
            color: #57534E;
            border: 1.2px solid rgba(138, 104, 31, 0.22);
            padding: 4.5px 12px;
            border-radius: 18px;
            font-size: clamp(0.70rem, 1.1vw, 0.75rem);
            font-weight: 700;
            cursor: pointer;
            transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
            white-space: nowrap !important;
            flex-shrink: 0 !important;
            display: inline-flex !important;
            align-items: center;
            justify-content: center;
            gap: 3px;
            line-height: 1;
            height: 28px;
            -moz-user-select: none;
            -ms-user-select: none;
            -webkit-user-select: none;
            user-select: none;
            scroll-snap-align: start;
        }
        .ws-rep-filter-btn:hover {
            border-color: var(--ws-gold-primary);
            color: var(--ws-gold-primary);
            background: #FFFFFF;
            transform: translateY(-1px);
        }
        .ws-rep-filter-btn.active {
            background: linear-gradient(135deg, #FAF5E8 0%, #F5EDD6 100%);
            color: #785912;
            border-color: var(--ws-gold-primary);
            box-shadow: 0 2px 6px rgba(138, 104, 31, 0.15);
            font-weight: 800;
            transform: translateY(-1px);
        }
        .ws-mobile-reports-cards {
            display: none;
            flex-direction: column;
            gap: 12px;
        }
        .ws-mob-report-card {
            background: #FFFFFF;
            border: 1.5px solid var(--ws-border);
            border-radius: var(--ws-radius-md);
            padding: 14px;
            box-shadow: var(--ws-shadow-card);
            transition: var(--ws-transition);
        }
        .ws-mob-report-card:hover {
            border-color: var(--ws-gold-border);
            box-shadow: 0 4px 16px rgba(138,104,31,0.12);
        }
        .ws-mob-rep-top {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 10px;
            padding-bottom: 8px;
            border-bottom: 1px dashed var(--ws-border);
        }
        .ws-mob-rep-body {
            display: flex;
            gap: 12px;
            margin-bottom: 12px;
        }
        .ws-mob-rep-img {
            width: 58px;
            height: 74px;
            border-radius: 6px;
            object-fit: cover;
            border: 1px solid var(--ws-border);
            flex-shrink: 0;
            background: #FAF8F4;
        }
        .ws-mob-rep-info {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 3px;
        }
        .ws-mob-rep-tax-grid {
            background: #FAF8F4;
            border: 1px solid var(--ws-border);
            border-radius: 8px;
            padding: 10px 12px;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 8px;
            font-size: 0.74rem;
            margin-bottom: 12px;
        }
        .ws-mob-rep-actions {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 8px;
            padding-top: 10px;
            border-top: 1px solid var(--ws-border-light);
        }

        /* ── Trending Products Slider ── */
        .ws-slider-wrap {
            position: relative;
            margin: 8px 0 20px;
        }
        .ws-slider-nav-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: #FFFFFF;
            border: 1.5px solid var(--ws-gold-border);
            color: var(--ws-gold-primary);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            box-shadow: var(--ws-shadow-card);
            z-index: 10;
            transition: var(--ws-transition);
        }
        .ws-slider-nav-btn:hover {
            background: var(--ws-gold-primary);
            color: #FFFFFF;
            border-color: var(--ws-gold-primary);
        }
        .ws-slider-nav-btn.prev { left: -14px; }
        .ws-slider-nav-btn.next { right: -14px; }

        .ws-slider-track {
            display: flex;
            gap: 12px;
            overflow-x: auto;
            scroll-behavior: smooth;
            padding: 6px 2px 14px;
scrollbar-width: none;
            scroll-snap-type: x mandatory;
        }
        .ws-slider-track::-webkit-scrollbar { display: none; }

        /* ════════════════════════════════════════════════════
           EXACT SHOP PAGE PRODUCT CARD DESIGN & RESPONSIVE GRID
        ════════════════════════════════════════════════════ */
        .products-grid, .ws-master-catalog-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 10px;
            width: 100%;
        }
        @media (min-width: 600px) { 
            .products-grid, .ws-master-catalog-grid { 
                grid-template-columns: repeat(3, 1fr); 
                gap: 14px; 
            } 
        }
        @media (min-width: 1024px) { 
            .products-grid, .ws-master-catalog-grid { 
                grid-template-columns: repeat(4, 1fr); 
                gap: 16px; 
            } 
        }
        @media (min-width: 1280px) { 
            .products-grid, .ws-master-catalog-grid { 
                grid-template-columns: repeat(4, 1fr); 
                gap: 18px; 
            } 
        }

        .ws-master-catalog-grid .product-card {
            width: 100% !important;
            min-width: 0 !important;
            max-width: none !important;
            flex: unset !important;
        }

        .product-card, .ws-product-card {
            position: relative;
            background: #FFFFFF;
            border-radius: 12px;
            border: 1px solid #E5E3DE;
            overflow: hidden;
            box-shadow: 0 2px 10px rgba(0,0,0,0.06);
            transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
            display: flex;
            flex-direction: column;
            width: 100%;
        }
        .ws-slider-track .product-card,
        .ws-slider-track .ws-product-card {
            flex: 0 0 calc((100% - 48px) / 5);
            min-width: 155px;
            max-width: 240px;
            scroll-snap-align: start;
        }
        @media (min-width: 1400px) {
            .ws-slider-track .product-card,
            .ws-slider-track .ws-product-card {
                flex: 0 0 calc((100% - 48px) / 5);
            }
        }
        @media (max-width: 1200px) and (min-width: 1024px) {
            .ws-slider-track .product-card,
            .ws-slider-track .ws-product-card {
                flex: 0 0 calc((100% - 40px) / 4.4);
                min-width: 160px;
            }
        }
        @media (max-width: 1023px) {
            .ws-slider-track .product-card,
            .ws-slider-track .ws-product-card {
                flex: 0 0 calc((100% - 24px) / 3.3);
                min-width: 145px;
            }
        }
        @media (max-width: 600px) {
            .ws-slider-track {
                gap: 8px !important;
                padding: 4px 2px 10px !important;
            }
            .ws-slider-track .product-card,
            .ws-slider-track .ws-product-card {
                flex: 0 0 calc((100% - 16px) / 2.38) !important;
                min-width: 125px !important;
                max-width: 160px !important;
                border-radius: 10px !important;
            }
        }

        .product-card:hover, .ws-product-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 24px rgba(0,0,0,0.12);
            border-color: rgba(138,104,31,0.3);
        }

        .card-image-wrap, .ws-prod-img-wrap {
            position: relative;
            overflow: hidden;
            background: #FAF8F4;
            aspect-ratio: 3 / 3.75;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            border-radius: 11px 11px 0 0;
        }
        .card-img, .ws-prod-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center top;
            transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
        }

        /* ── Direct Add to Cart '+' Button (Integrated in Price Row) ── */
        .card-price-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 4px;
            margin-top: 4px;
        }
        .card-price-stack {
            display: flex;
            align-items: baseline;
            gap: 4px;
            flex-wrap: wrap;
            flex: 1;
            min-width: 0;
        }
        .card-smart-add-cart-btn {
            width: clamp(24px, 6.5vw, 28px);
            height: clamp(24px, 6.5vw, 28px);
            min-width: clamp(24px, 6.5vw, 28px);
            border-radius: 50%;
            background: linear-gradient(135deg, #D4AF37 0%, #B45309 100%);
            border: 1.5px solid #FFFFFF;
            box-shadow: 0 2px 6px rgba(180, 83, 9, 0.35);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
            color: #FFFFFF;
            padding: 0;
            flex-shrink: 0;
        }
        .card-smart-add-cart-btn:hover {
            transform: scale(1.14) rotate(90deg);
            box-shadow: 0 4px 12px rgba(180, 83, 9, 0.55);
            background: linear-gradient(135deg, #F59E0B 0%, #92400E 100%);
        }
        .card-smart-add-cart-btn:active {
            transform: scale(0.92);
        }
        .card-smart-add-cart-btn.added {
            background: #10B981 !important;
            border-color: #FFFFFF;
            box-shadow: 0 2px 8px rgba(16, 185, 129, 0.5);
            transform: scale(1.08);
        }
        .card-smart-add-cart-btn svg {
            width: 13px;
            height: 13px;
            stroke: #FFFFFF;
            stroke-width: 2.6;
            fill: none;
            transition: transform 0.2s ease;
        }

        /* ── Procure / Check By Price Smart Slider ── */
        .ws-price-slider-wrap {
            position: relative;
            width: 100%;
            display: flex;
            align-items: center;
        }
        .ws-price-slider-track {
            display: flex;
            gap: 8px;
            overflow-x: auto;
            scroll-snap-type: x mandatory;
            scroll-behavior: smooth;
padding: 4px 2px 6px;
            width: 100%;
        }
        .ws-price-slider-track::-webkit-scrollbar { display: none; }
        .ws-price-slider-track { -ms-overflow-style: none; scrollbar-width: none; }

        .ws-price-box-card {
            flex: 1 1 0;
            min-width: 105px;
            max-width: 160px;
            scroll-snap-align: start;
            background: linear-gradient(145deg, #FFFFFF 0%, #FAF8F2 100%);
            border: 1.2px solid rgba(180, 83, 9, 0.2);
            border-radius: 12px;
            padding: 8px 6px 7px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
            position: relative;
            overflow: hidden;
            box-shadow: 0 2px 8px rgba(0,0,0,0.04);
            transition: all 0.24s cubic-bezier(0.25, 1, 0.5, 1);
            cursor: pointer;
            text-decoration: none;
            color: inherit;
        }
        .ws-price-box-card:hover {
            transform: translateY(-2px);
            border-color: #D4AF37;
            box-shadow: 0 5px 14px rgba(180, 83, 9, 0.16), 0 0 0 1px rgba(212, 175, 55, 0.35);
        }
        .ws-price-box-card.active {
            border-color: #B45309 !important;
            background: linear-gradient(145deg, #FEF3C7 0%, #FDE68A 100%) !important;
            box-shadow: 0 0 0 2px #B45309, 0 5px 14px rgba(180, 83, 9, 0.22) !important;
            transform: translateY(-2px);
        }
        .ws-price-box-icon-wrap {
            width: 32px;
            height: 32px;
            border-radius: 9px;
            background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
            border: 1.2px solid rgba(217, 119, 6, 0.35);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 4px;
            box-shadow: 0 2px 6px rgba(217, 119, 6, 0.14);
            transition: transform 0.24s ease;
        }
        .ws-price-box-card:hover .ws-price-box-icon-wrap,
        .ws-price-box-card.active .ws-price-box-icon-wrap {
            transform: scale(1.1);
        }
        .ws-price-box-val {
            font-family: var(--ws-font-serif);
            font-size: 0.82rem;
            font-weight: 800;
            color: #24211C;
            line-height: 1.2;
            margin: 0;
            white-space: nowrap;
            letter-spacing: 0.1px;
        }
        .ws-price-box-card.active .ws-price-box-val {
            color: #92400E;
            font-weight: 900;
        }

        @media (max-width: 1023px) {
            .ws-price-box-card {
                flex: 0 0 calc((100% - 24px) / 3.4);
                min-width: 100px;
            }
        }
        @media (max-width: 600px) {
            .ws-card {
                padding: 10px 10px 12px !important;
                border-radius: 12px !important;
            }
            .ws-card-header {
                padding-bottom: 6px !important;
                margin-bottom: 8px !important;
            }
            .ws-anim-shimmer-title {
                font-size: 0.88rem !important;
                letter-spacing: 0.1px !important;
            }
            .ws-header-icon-badge {
                width: 26px !important;
                height: 26px !important;
                border-radius: 7px !important;
            }
            .ws-header-icon-badge svg {
                width: 14px !important;
                height: 14px !important;
            }
            .ws-price-slider-wrap .ws-slider-nav-btn {
                display: none !important;
            }
            .ws-price-slider-track {
                gap: 6px !important;
                padding: 2px 1px 4px !important;
            }
            .ws-price-box-card {
                flex: 0 0 calc((100% - 14px) / 3.25) !important;
                min-width: 90px !important;
                max-width: 112px !important;
                padding: 6px 4px 5px !important;
                border-radius: 9px !important;
            }
            .ws-price-box-icon-wrap {
                width: 26px !important;
                height: 26px !important;
                border-radius: 7px !important;
                margin-bottom: 3px !important;
            }
            .ws-price-box-icon-wrap svg {
                width: 14px !important;
                height: 14px !important;
            }
            .ws-price-box-val {
                font-size: 0.72rem !important;
                font-weight: 800 !important;
            }
        }

        /* ── Smart Wholesale Category Popup Modal & Filter Styling (Clean Luxury Visibility) ── */
        .ws-cat-modal-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 12px;
        }
        .ws-cat-tile-card {
            background: linear-gradient(135deg, #FFFFFF 0%, #FAF8F2 100%);
            border: 1.5px solid rgba(180, 83, 9, 0.22);
            border-radius: 14px;
            padding: 12px 14px;
            display: flex;
            align-items: center;
            gap: 12px;
            cursor: pointer;
            position: relative;
            overflow: hidden;
            box-shadow: 0 2px 8px rgba(0,0,0,0.04);
            transition: all 0.24s cubic-bezier(0.25, 1, 0.5, 1);
        }
        .ws-cat-tile-card:hover {
            transform: translateY(-2px);
            border-color: #D4AF37;
            background: linear-gradient(135deg, #FFFDF8 0%, #FEF5DF 100%);
            box-shadow: 0 8px 20px rgba(180, 83, 9, 0.16), 0 0 0 1px rgba(212, 175, 55, 0.35);
        }
        .ws-cat-tile-card.all-cat {
            background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
            border-color: rgba(217, 119, 6, 0.45);
        }
        .ws-cat-tile-icon-wrap {
            width: 42px;
            height: 42px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
            border: 1.2px solid rgba(217, 119, 6, 0.4);
            box-shadow: 0 2px 6px rgba(217, 119, 6, 0.16);
            transition: transform 0.24s ease;
        }
        .ws-cat-tile-icon-wrap svg {
            width: 20px;
            height: 20px;
            stroke: #B45309;
            fill: none;
            stroke-width: 2;
        }
        .ws-cat-tile-card:hover .ws-cat-tile-icon-wrap {
            transform: scale(1.1);
        }
        .ws-cat-tile-content {
            flex: 1;
            min-width: 0;
        }
        .ws-cat-tile-title {
            font-family: var(--ws-font-serif);
            font-size: 0.94rem;
            font-weight: 800;
            color: #1E1B18;
            line-height: 1.25;
            letter-spacing: 0.2px;
            margin: 0;
        }
        .ws-cat-tile-arrow {
            width: 26px;
            height: 26px;
            border-radius: 50%;
            background: rgba(180, 83, 9, 0.08);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.9rem;
            color: #B45309;
            font-weight: 800;
            flex-shrink: 0;
            transition: all 0.22s ease;
        }
        .ws-cat-tile-card:hover .ws-cat-tile-arrow {
            background: #B45309;
            color: #FFFFFF;
            transform: translateX(3px);
        }

        @media (max-width: 600px) {
            .ws-cat-modal-box {
                max-width: 92% !important;
                border-radius: 16px !important;
                margin: auto !important;
            }
            .ws-cat-modal-box .ws-modal-header {
                padding: 10px 14px 8px !important;
            }
            .ws-cat-modal-box .ws-modal-header h3 {
                font-size: 0.92rem !important;
            }
            .ws-cat-modal-box .ws-modal-body {
                padding: 10px 10px 14px !important;
            }
            .ws-cat-modal-grid {
                grid-template-columns: repeat(2, 1fr) !important;
                gap: 8px !important;
            }
            .ws-cat-tile-card {
                flex-direction: column !important;
                text-align: center !important;
                justify-content: center !important;
                padding: 10px 6px 8px !important;
                gap: 6px !important;
                border-radius: 12px !important;
            }
            .ws-cat-tile-icon-wrap {
                width: 34px !important;
                height: 34px !important;
                border-radius: 9px !important;
                margin-bottom: 2px !important;
            }
            .ws-cat-tile-icon-wrap svg {
                width: 17px !important;
                height: 17px !important;
            }
            .ws-cat-tile-title {
                font-size: 0.78rem !important;
                font-weight: 800 !important;
                line-height: 1.2 !important;
            }
            .ws-cat-tile-arrow {
                display: none !important;
            }
        }

        .product-card:hover .card-img,
        .product-card:hover .ws-prod-img,
        .ws-product-card:hover .card-img,
        .ws-product-card:hover .ws-prod-img {
            transform: scale(1.05);
        }

        .card-badge, .ws-prod-badge {
            position: absolute;
            bottom: 8px;
            left: 8px;
            top: auto;
            padding: 3px 8px;
            border-radius: 12px;
            font-size: 0.52rem;
            font-weight: 700;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            z-index: 2;
            background: rgba(138, 104, 31, 0.85);
            color: #FFFFFF;
            -webkit-backdrop-filter: blur(6px);
            backdrop-filter: blur(6px);
            border: 1px solid rgba(255, 255, 255, 0.3);
            box-shadow: 0 2px 8px rgba(0,0,0,0.18);
            width: auto;
            max-width: calc(100% - 40px);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            line-height: 1.2;
        }
        @media (min-width: 600px) {
            .card-badge, .ws-prod-badge {
                top: 10px;
                left: 10px;
                bottom: auto;
                padding: 3.5px 9px;
                border-radius: 14px;
                font-size: 0.56rem;
                letter-spacing: 0.1em;
            }
        }
        .card-badge.badge-new, .ws-prod-badge.badge-new { background: rgba(248, 246, 240, 0.92); color: var(--ws-gold-primary); border-color: rgba(138,104,31,0.4); }
        .card-badge.badge-bridal, .ws-prod-badge.badge-bridal { background: rgba(122, 40, 77, 0.88); color: #ffffff; border-color: rgba(255,255,255,0.35); }
        .card-badge.badge-heritage, .ws-prod-badge.badge-heritage { background: rgba(94, 67, 20, 0.88); color: #ffffff; border-color: rgba(255,255,255,0.35); }
        .card-badge.badge-bestseller, .ws-prod-badge.badge-bestseller { background: rgba(36, 33, 28, 0.85); color: #ffffff; border-color: rgba(255,255,255,0.3); }
        .card-badge.badge-trending, .card-badge.badge-fast-selling, .ws-prod-badge.badge-trending { background: rgba(184, 107, 40, 0.88); color: #ffffff; border-color: rgba(255,255,255,0.35); }
        .card-badge.badge-royal-vip { background: linear-gradient(135deg, #8A681F, #C5A859); color: #ffffff; border-color: rgba(255,255,255,0.4); }

        /* ── Wishlist Button ── */
        .card-wishlist-btn {
            position: absolute;
            top: clamp(4px, 1.5vw, 8px);
            right: clamp(4px, 1.5vw, 8px);
            width: clamp(24px, 7.5vw, 32px);
            height: clamp(24px, 7.5vw, 32px);
            border-radius: 50%;
            background: rgba(248,246,240,0.88);
            border: 1px solid rgba(255,255,255,0.6);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 3;
            transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
            -webkit-backdrop-filter: blur(6px);
            backdrop-filter: blur(6px);
            box-shadow: 0 2px 6px rgba(0,0,0,0.12);
            cursor: pointer;
        }
        .card-wishlist-btn:hover { background: #F5EDD6; border-color: #8A681F; transform: scale(1.08); }
        .card-wishlist-btn.active { background: #FDE8E8; border-color: #E57373; }
        .card-wishlist-btn svg {
            width: clamp(10px, 3.2vw, 14px);
            height: clamp(10px, 3.2vw, 14px);
            stroke: #8A681F;
            stroke-width: 2;
            fill: none;
            transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
        }
        .card-wishlist-btn.active svg { stroke: #E53935; fill: #E53935; }

        /* ── Mobile Quick View Icon Button (Stacked directly below Wishlist on Mobile) ── */
        .card-mobile-qv-btn {
            position: absolute;
            top: clamp(32px, 10vw, 44px);
            right: clamp(4px, 1.5vw, 8px);
            width: clamp(24px, 7.5vw, 32px) !important;
            height: clamp(24px, 7.5vw, 32px) !important;
            min-width: clamp(24px, 7.5vw, 32px) !important;
            min-height: clamp(24px, 7.5vw, 32px) !important;
            max-width: clamp(24px, 7.5vw, 32px) !important;
            max-height: clamp(24px, 7.5vw, 32px) !important;
            border-radius: 50% !important;
            padding: 0 !important;
            margin: 0 !important;
            background: rgba(248,246,240,0.88);
            border: 1px solid rgba(255,255,255,0.6);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 3;
            transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
            -webkit-backdrop-filter: blur(6px);
            backdrop-filter: blur(6px);
            box-shadow: 0 2px 6px rgba(0,0,0,0.12);
            cursor: pointer;
        }
        .card-mobile-qv-btn:hover, .card-mobile-qv-btn:active { background: #F5EDD6; border-color: #8A681F; transform: scale(1.08); }
        .card-mobile-qv-btn svg {
            width: clamp(10px, 3.2vw, 14px);
            height: clamp(10px, 3.2vw, 14px);
            stroke: #8A681F;
            stroke-width: 2;
            fill: none;
            flex-shrink: 0;
        }

        @media (min-width: 1024px) {
            .card-wishlist-btn {
                top: 8px; right: 8px;
                width: 34px; height: 34px;
                background: rgba(248,246,240,0.92);
                border-color: #E5E3DE;
            }
            .card-wishlist-btn svg { width: 14px; height: 14px; }
            .card-mobile-qv-btn { display: none !important; }
        }

        @media (max-width: 1023px) {
            .card-quick-view { display: none !important; }
        }
        .card-quick-view {
            position: absolute; bottom: 0; left: 0; right: 0;
            padding: 10px 12px;
            background: linear-gradient(to top, rgba(32,28,22,0.75) 0%, transparent 100%);
            display: flex; align-items: center; justify-content: center;
            opacity: 0; transform: translateY(6px); transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1); z-index: 2;
        }
        .product-card:hover .card-quick-view,
        .ws-product-card:hover .card-quick-view { opacity: 1; transform: translateY(0); }
        .quick-view-btn {
            font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif); font-size: 0.68rem; font-weight: 700;
            letter-spacing: 0.12em; text-transform: uppercase;
            color: #24211C; padding: 7px 18px; border-radius: 20px;
            border: 1px solid rgba(138,104,31,0.3);
            -webkit-backdrop-filter: blur(8px);
            backdrop-filter: blur(8px);
            transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1); cursor: pointer;
            box-shadow: 0 4px 12px rgba(0,0,0,0.12);
        }
        .quick-view-btn:hover { background: #8A681F; color: #fff; border-color: #8A681F; }

        .card-body {
            padding: clamp(7px, 1.8vw, 10px);
            display: flex;
            flex-direction: column;
            gap: 2px;
            flex: 1;
        }

        .card-fabric-tag {
            font-size: clamp(0.5rem, 1.5vw, 0.58rem);
            font-weight: 600;
            color: #8A681F;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .card-name {
            font-family: 'Cinzel', serif;
            font-size: clamp(0.72rem, 2.1vw, 0.82rem);
            font-weight: 600;
            color: #24211C;
            line-height: 1.25;
            letter-spacing: 0.01em;
            display: -webkit-box;
            -webkit-line-clamp: 1;
            line-clamp: 1;
            -webkit-box-orient: vertical;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
            min-height: 0;
            margin-bottom: 2px;
            transition: color 0.28s cubic-bezier(0.4, 0, 0.2, 1);
        }
        .product-card:hover .card-name,
        .ws-product-card:hover .card-name { color: #8A681F; }

        .card-cat-photo-tag {
            position: absolute;
            bottom: 6px;
            right: 6px;
            font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
            font-size: clamp(0.46rem, 1.3vw, 0.54rem);
            font-weight: 700;
            color: #8A681F;
            background: rgba(255, 255, 255, 0.94);
            border: 1px solid rgba(138, 104, 31, 0.38);
            border-radius: 4px;
            padding: 2px 5px;
            letter-spacing: 0.06em;
            text-transform: uppercase;
            line-height: 1.1;
            -webkit-backdrop-filter: blur(8px);
            backdrop-filter: blur(8px);
            box-shadow: 0 2px 8px rgba(0,0,0,0.12);
            z-index: 2;
            pointer-events: none;
        }

        /* ── Share Icon Button on Product Photo (Directly above Category Tag) ── */
        .card-share-btn {
            position: absolute;
            bottom: 28px;
            right: 6px;
            width: clamp(22px, 6.8vw, 28px);
            height: clamp(22px, 6.8vw, 28px);
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.92);
            border: 1px solid rgba(138, 104, 31, 0.35);
            display: flex;
            align-items: center;
            justify-content: center;
            color: #8A681F;
            cursor: pointer;
            z-index: 3;
            transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
            -webkit-backdrop-filter: blur(6px);
            backdrop-filter: blur(6px);
            box-shadow: 0 2px 6px rgba(0,0,0,0.12);
        }
        .card-share-btn:hover, .card-share-btn:active {
            background: #8A681F;
            color: #FFFFFF;
            border-color: #8A681F;
            transform: scale(1.1);
        }
        .card-share-btn svg {
            width: clamp(10px, 3vw, 13px);
            height: clamp(10px, 3vw, 13px);
            stroke: currentColor;
            stroke-width: 2.2;
            fill: none;
        }

        .card-info-text-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            font-size: clamp(0.54rem, 1.6vw, 0.64rem);
            color: #5A5348;
            font-weight: 600;
            margin: 1px 0 3px;
            gap: 4px;
            white-space: nowrap;
        }
        .card-colors-text {
            color: #8A681F;
            font-weight: 700;
            font-size: inherit;
            white-space: nowrap;
        }
        .card-sizes-text {
            color: #9A9490;
            font-size: inherit;
            white-space: nowrap;
        }

        .card-price-row {
            display: flex;
            align-items: baseline;
            gap: clamp(3px, 1.2vw, 6px);
            margin-top: auto;
            padding-top: 2px;
            flex-wrap: wrap;
        }
        .card-price {
            font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
            font-size: clamp(0.78rem, 2.3vw, 0.90rem);
            font-weight: 700;
            color: #8A681F;
        }
        .card-old-price {
            font-size: clamp(0.60rem, 1.7vw, 0.68rem);
            color: #9A9490;
            text-decoration: line-through;
        }
        .card-price-discount {
            font-size: clamp(0.48rem, 1.4vw, 0.56rem);
            font-weight: 700;
            color: #2E7D32;
            background: #E8F5E9;
            padding: 1.5px 4.5px;
            border-radius: 3px;
            margin-left: auto;
            letter-spacing: 0.02em;
            white-space: nowrap;
        }

        /* ── Modals Backdrop & Box ── */
        .ws-modal-overlay {
            position: fixed;
            top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(20, 17, 14, 0.7);
            -webkit-backdrop-filter: blur(8px);
            backdrop-filter: blur(8px);
            z-index: 2000000;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
            transition: opacity 0.24s ease, visibility 0.24s ease;
            padding: 14px;
        }
        .ws-modal-overlay.active {
            opacity: 1;
            visibility: visible;
            pointer-events: auto;
        }
        .ws-modal-box {
            background: #FFFFFF;
            width: 100%;
            max-width: 620px;
            max-height: 90vh;
            border-radius: var(--ws-radius-lg);
            border: 1.5px solid var(--ws-gold-border);
            box-shadow: 0 20px 60px rgba(0,0,0,0.25);
            display: flex;
            flex-direction: column;
            overflow: hidden;
            transform: translateY(18px) scale(0.98);
            transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
        }
        .ws-modal-overlay.active .ws-modal-box {
            transform: translateY(0) scale(1);
        }
        .ws-modal-header {
            background: #FFFFFF;
            border-bottom: 1.5px solid var(--ws-gold-border);
            padding: 14px 18px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-shrink: 0;
        }
        .ws-modal-title {
            font-size: 1rem;
            font-weight: 800;
            color: var(--ws-gold-primary);
            display: flex;
            align-items: center;
            gap: 8px;
            font-family: var(--ws-font-serif);
        }
        .ws-modal-close-btn {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            border: 1px solid var(--ws-gold-border);
            background: var(--ws-gold-light);
            color: var(--ws-gold-primary);
            font-size: 1.2rem;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: var(--ws-transition);
        }
        .ws-modal-close-btn:hover {
            background: var(--ws-gold-primary);
            color: #FFFFFF;
        }
        .ws-modal-body {
            padding: 18px 20px;
            overflow-y: auto;
            flex: 1;
}
        .ws-modal-footer {
            padding: 14px 20px;
            background: #FFFFFF;
            border-top: 1.5px solid var(--ws-border);
            display: flex;
            gap: 10px;
            align-items: center;
            flex-shrink: 0;
        }

        /* ── Live Shipment Timeline ── */
        .ws-track-timeline {
            position: relative;
            padding-left: 28px;
            margin: 18px 0;
        }
        .ws-track-timeline::before {
            content: '';
            position: absolute;
            left: 9px;
            top: 8px;
            bottom: 8px;
            width: 2px;
            background: var(--ws-border);
        }
        .ws-timeline-step {
            position: relative;
            margin-bottom: 18px;
        }
        .ws-timeline-dot {
            position: absolute;
            left: -28px;
            top: 2px;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: var(--ws-border);
            border: 3px solid #FFFFFF;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .ws-timeline-step.completed .ws-timeline-dot { background: #15803D; }
        .ws-timeline-step.active .ws-timeline-dot {
            background: var(--ws-gold-primary);
            box-shadow: 0 0 0 4px var(--ws-gold-glow);
        }
        .ws-timeline-dot svg {
            width: 10px;
            height: 10px;
            stroke: #FFFFFF;
            stroke-width: 3;
            fill: none;
        }
        .ws-timeline-title {
            font-size: 0.86rem;
            font-weight: 700;
            color: var(--ws-text-main);
        }
        .ws-timeline-date {
            font-size: 0.74rem;
            color: var(--ws-text-muted);
            margin-top: 2px;
        }

        /* ── Consignment Tracking Cards & Grid ── */
        .ws-track-order-card {
            background: #FFFFFF;
            border: 1.5px solid var(--ws-border);
            border-radius: var(--ws-radius-md);
            padding: 12px;
            cursor: pointer;
            transition: var(--ws-transition);
            display: flex;
            gap: 12px;
            align-items: center;
        }
        .ws-track-order-card:hover {
            border-color: var(--ws-gold-border);
            transform: translateY(-2px);
            box-shadow: 0 4px 14px rgba(138,104,31,0.12);
        }
        .ws-track-order-card.selected {
            border-color: var(--ws-gold-primary);
            background: #FDFBF7;
            box-shadow: 0 0 0 2px rgba(138,104,31,0.2), 0 4px 14px rgba(138,104,31,0.12);
        }
        .ws-track-order-img {
            width: 54px;
            height: 68px;
            border-radius: 6px;
            object-fit: cover;
            border: 1px solid var(--ws-border);
            flex-shrink: 0;
            background: #FAF8F4;
        }
        .ws-track-order-info {
            flex: 1;
            min-width: 0;
            display: flex;
            flex-direction: column;
            gap: 3px;
        }
        .ws-track-order-title {
            font-size: 0.86rem;
            font-weight: 700;
            color: var(--ws-text-main);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .ws-track-orders-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(clamp(260px, 45vw, 360px), 1fr));
            gap: 12px;
        }

        /* ── Auto-Responsive Dual Action Button Grid ── */
        .ws-dual-action-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 8px;
            width: 100%;
            margin-top: 14px;
            padding-top: 12px;
            border-top: 1px dashed var(--ws-border);
            box-sizing: border-box;
        }
        .ws-dual-action-grid .ws-btn {
            width: 100%;
            height: 42px;
            padding: 8px 8px;
            font-size: clamp(0.72rem, 2.7vw, 0.82rem);
            font-weight: 700;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            white-space: nowrap;
            border-radius: 8px;
            gap: 5px;
            box-sizing: border-box;
            text-decoration: none;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .ws-dual-action-grid .ws-btn svg {
            width: 15px;
            height: 15px;
            flex-shrink: 0;
        }
        @media (max-width: 440px) {
            .ws-dual-action-grid {
                grid-template-columns: 1fr 1fr;
                gap: 6px;
            }
            .ws-dual-action-grid .ws-btn {
                padding: 6px 4px;
                font-size: 0.74rem;
                gap: 4px;
            }
            .ws-dual-action-grid .ws-btn svg {
                width: 13px;
                height: 13px;
            }
        }
        @media (max-width: 350px) {
            .ws-dual-action-grid {
                grid-template-columns: 1fr;
                gap: 8px;
            }
            .ws-dual-action-grid .ws-btn {
                height: 40px;
                font-size: 0.80rem;
            }
        }

        /* ── Support Ticket Card & Animations ── */
        .ws-ticket-card {
            border: 1.5px solid var(--ws-border);
            border-radius: var(--ws-radius-md);
            padding: 14px;
            background: #FFFFFF;
            margin-bottom: 12px;
            box-shadow: 0 1px 4px rgba(0,0,0,0.02);
            transition: all 0.25s ease;
        }
        .ws-ticket-card:hover {
            border-color: var(--ws-gold-border);
            transform: translateY(-2px);
            box-shadow: 0 6px 18px rgba(138, 104, 31, 0.08);
        }
        .ws-ticket-head {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 8px;
            margin-bottom: 6px;
        }
        .ws-pulse-dot {
            display: inline-block;
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background: currentColor;
            margin-right: 4px;
            animation: pulseGlow 1.8s infinite;
        }
        @keyframes pulseGlow {
            0% { transform: scale(0.95); opacity: 0.7; box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7); }
            70% { transform: scale(1.15); opacity: 1; box-shadow: 0 0 0 5px rgba(245, 158, 11, 0); }
            100% { transform: scale(0.95); opacity: 0.7; box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
        }

        /* ── Modern Frosted Gold Glassy Animated B2B Wallet & Coins Strip ── */
        .ws-wallet-strip {
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.94) 0%, rgba(254, 250, 238, 0.88) 50%, rgba(248, 238, 210, 0.92) 100%);
            -webkit-backdrop-filter: blur(20px) saturate(180%);
            backdrop-filter: blur(20px) saturate(180%);
            border: 1.5px solid rgba(212, 175, 55, 0.55);
            border-radius: 12px;
            padding: 8px 12px 8px 16px;
            margin-bottom: 14px;
            color: #16130F;
            box-shadow: 0 4px 20px rgba(180, 140, 40, 0.12), inset 0 1px 2px rgba(255, 255, 255, 0.95), inset 0 0 16px rgba(245, 215, 130, 0.15);
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
            box-sizing: border-box;
            position: relative;
            overflow: hidden;
            flex-wrap: nowrap;
        }
        /* 3D Diagonal Tircha Corner Ribbon Tag */
        .ws-wallet-ribbon-tag {
            position: absolute;
            top: 0;
            left: 0;
            width: 52px;
            height: 52px;
            overflow: hidden;
            pointer-events: none;
            z-index: 10;
            border-top-left-radius: 12px;
        }
        .ws-wallet-ribbon-tag span {
            position: absolute;
            display: block;
            width: 74px;
            padding: 1.5px 0;
            background: linear-gradient(135deg, #785912 0%, #D4AF37 40%, #FEF08A 60%, #8A681F 100%);
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.7);
            color: #1A1204;
            font-size: 0.44rem;
            font-weight: 900;
            text-transform: uppercase;
            text-align: center;
            left: -19px;
            top: 9px;
            transform: rotate(-45deg);
            letter-spacing: 0.6px;
            border-top: 1px solid rgba(255, 255, 255, 0.7);
            border-bottom: 1px solid rgba(120, 89, 18, 0.5);
            text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
        }
        /* Glowing Gold Light Radial Background Orb */
        .ws-wallet-strip::before {
            content: '';
            position: absolute;
            top: -30px;
            right: -20px;
            width: 120px;
            height: 120px;
            background: radial-gradient(circle, rgba(230, 195, 95, 0.35) 0%, rgba(230, 195, 95, 0) 70%);
            pointer-events: none;
            animation: goldOrbPulse 4s ease-in-out infinite alternate;
        }
        @keyframes goldOrbPulse {
            0% { transform: scale(1); opacity: 0.6; }
            100% { transform: scale(1.25); opacity: 0.95; }
        }
        .ws-wallet-metrics-group {
            display: flex;
            align-items: center;
            gap: clamp(8px, 2.5vw, 18px);
            flex-wrap: nowrap;
            position: relative;
            z-index: 2;
            min-width: 0;
        }
        .ws-wallet-metric-item {
            display: flex;
            align-items: center;
            gap: 8px;
            flex-shrink: 0;
        }
        .ws-wallet-icon-wrapper {
            width: 36px;
            height: 36px;
            border-radius: 10px;
            background: linear-gradient(135deg, #FFFFFF 0%, #FEF3C7 60%, #FDE68A 100%);
            border: 1.5px solid rgba(212, 175, 55, 0.6);
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            position: relative;
            box-shadow: 0 3px 10px rgba(180, 140, 40, 0.2), inset 0 1px 2px #FFFFFF;
        }
        .ws-wallet-icon-wrapper.coin {
            background: linear-gradient(135deg, #FFFFFF 0%, #FED7AA 60%, #FDBA74 100%);
            border-color: rgba(245, 158, 11, 0.6);
            box-shadow: 0 3px 10px rgba(245, 158, 11, 0.2), inset 0 1px 2px #FFFFFF;
        }
        .ws-anim-wallet-svg {
            width: 22px;
            height: 22px;
            animation: walletFloat 3s ease-in-out infinite;
        }
        @keyframes walletFloat {
            0%, 100% { transform: translateY(0) scale(1); filter: drop-shadow(0 0 0 rgba(138, 104, 31, 0)); }
            50% { transform: translateY(-1.5px) scale(1.06); filter: drop-shadow(0 2px 6px rgba(180, 140, 40, 0.4)); }
        }
        .ws-anim-coin-svg {
            width: 22px;
            height: 22px;
            animation: coinSpinShimmer 4s ease-in-out infinite;
        }
        @keyframes coinSpinShimmer {
            0%, 100% { transform: rotateY(0deg) scale(1); filter: drop-shadow(0 0 0 rgba(245, 158, 11, 0)); }
            50% { transform: rotateY(180deg) scale(1.08); filter: drop-shadow(0 2px 8px rgba(245, 158, 11, 0.5)); }
        }
        .ws-wallet-metric-content {
            display: flex;
            flex-direction: column;
            min-width: 0;
        }
        .ws-wallet-metric-label {
            font-size: 0.60rem;
            color: #786D5E;
            text-transform: uppercase;
            font-weight: 800;
            letter-spacing: 0.4px;
            line-height: 1;
            margin-bottom: 2px;
            white-space: nowrap;
        }
        .ws-wallet-metric-value {
            font-size: clamp(0.92rem, 2.8vw, 1.25rem);
            font-weight: 900;
            color: #16130F;
            font-family: var(--ws-font-serif);
            letter-spacing: 0.2px;
            line-height: 1.1;
            white-space: nowrap;
        }
        .ws-wallet-metric-value.gold {
            color: #B45309;
        }
        .ws-wallet-strip-actions {
            display: flex;
            align-items: center;
            flex-shrink: 0;
            position: relative;
            z-index: 2;
        }
        .ws-btn-wallet-view-sm {
            background: linear-gradient(135deg, #8A681F 0%, #6E5114 100%);
            color: #FFFFFF !important;
            border: 1px solid #D4AF37;
            font-size: 0.72rem;
            font-weight: 800;
            height: 28px;
            padding: 0 10px;
            border-radius: 6px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 4px;
            cursor: pointer;
            transition: var(--ws-transition);
            white-space: nowrap;
            letter-spacing: 0.2px;
            box-shadow: 0 3px 8px rgba(138, 104, 31, 0.25);
        }
        .ws-btn-wallet-view-sm:hover {
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(138, 104, 31, 0.4);
            filter: brightness(1.1);
        }

        @media (max-width: 768px) {
            .ws-wallet-strip {
                padding: 8px 10px 8px 14px;
                gap: 8px;
            }
            .ws-wallet-metrics-group {
                gap: 10px;
            }
        }

        /* ── Fullscreen Compact Responsive Passbook & Wallet Modal on Mobile ── */
        @media (max-width: 640px) {
            #wsFullWalletModal.ws-modal-overlay {
                padding: 0 !important;
                align-items: stretch !important;
            }
            #wsFullWalletModal .ws-modal-box {
                width: 100vw !important;
                max-width: 100vw !important;
                height: 100vh !important;
                max-height: 100vh !important;
                border-radius: 0 !important;
                border: none !important;
                margin: 0 !important;
                display: flex !important;
                flex-direction: column !important;
            }
            #wsFullWalletModal .ws-modal-header {
                padding: 8px 12px !important;
                border-bottom: 1.5px solid var(--ws-gold-border) !important;
            }
            #wsFullWalletModal .ws-modal-title {
                font-size: 0.88rem !important;
            }
            #wsFullWalletModal .ws-modal-close-btn {
                width: 26px !important;
                height: 26px !important;
                font-size: 0.95rem !important;
            }
            #wsFullWalletModal .ws-modal-body {
                flex: 1 1 auto !important;
                overflow-y: auto !important;
padding: 8px 10px !important;
            }
            #wsFullWalletModal .ws-full-wallet-card {
                padding: 8px 10px !important;
                border-radius: 10px !important;
            }
            #wsFullWalletModal .ws-full-card-top {
                margin-bottom: 3px !important;
            }
            #wsFullWalletModal .ws-full-card-badge {
                font-size: 0.58rem !important;
            }
            #wsFullWalletModal .ws-full-card-pill {
                font-size: 0.52rem !important;
                padding: 1px 4px !important;
            }
            #wsFullWalletModal .ws-full-card-val {
                font-size: 1.15rem !important;
                margin-bottom: 2px !important;
            }
            #wsFullWalletModal .ws-full-card-sub {
                font-size: 0.60rem !important;
            }
            #wsFullWalletModal .ws-txn-row {
                padding: 6px 8px !important;
                gap: 8px !important;
            }
            #wsFullWalletModal .ws-txn-icon-wrap {
                width: 28px !important;
                height: 28px !important;
                border-radius: 6px !important;
            }
            #wsFullWalletModal .ws-txn-icon-wrap svg {
                width: 13px !important;
                height: 13px !important;
            }
            #wsFullWalletModal .ws-txn-info strong {
                font-size: 0.70rem !important;
            }
            #wsFullWalletModal .ws-txn-info span {
                font-size: 0.58rem !important;
            }
            #wsFullWalletModal .ws-txn-amt strong {
                font-size: 0.76rem !important;
            }
            #wsFullWalletModal .ws-txn-badge {
                font-size: 0.52rem !important;
                padding: 1px 4px !important;
            }
            #wsFullWalletModal .ws-modal-footer {
                padding: 6px 10px calc(8px + env(safe-area-inset-bottom)) !important;
                background: #FFFFFF !important;
                border-top: 1.5px solid var(--ws-border) !important;
                display: grid !important;
                grid-template-columns: 1fr 1fr !important;
                gap: 8px !important;
            }
            #wsFullWalletModal .ws-modal-footer .ws-btn {
                height: 34px !important;
                font-size: 0.70rem !important;
                padding: 0 6px !important;
                border-radius: 6px !important;
            }
            #wsFullWalletModal .ws-modal-footer .ws-btn svg {
                width: 13px !important;
                height: 13px !important;
                margin-right: 4px !important;
            }
        }

        /* ── Styled Full Wallet Modal Component Styles ── */
        .ws-full-wallet-card {
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(254, 250, 238, 0.92) 100%);
            border: 1.5px solid rgba(212, 175, 55, 0.55);
            border-radius: 12px;
            padding: 12px 14px;
            color: #16130F;
            box-shadow: 0 4px 14px rgba(180, 140, 40, 0.08), inset 0 1px 2px #FFFFFF;
            position: relative;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }
        .ws-full-wallet-card.coin {
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(254, 243, 225, 0.92) 100%);
            border-color: rgba(245, 158, 11, 0.55);
        }
        .ws-full-card-top {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 6px;
            margin-bottom: 6px;
        }
        .ws-full-card-badge {
            display: inline-flex;
            align-items: center;
            gap: 5px;
            font-size: 0.65rem;
            text-transform: uppercase;
            font-weight: 800;
            letter-spacing: 0.5px;
            color: #8A681F;
        }
        .ws-full-card-badge.coin {
            color: #B45309;
        }
        .ws-full-card-pill {
            font-size: 0.58rem;
            font-weight: 800;
            padding: 2px 6px;
            border-radius: 4px;
            background: #DCFCE7;
            color: #15803D;
            border: 1px solid rgba(22, 163, 74, 0.3);
            letter-spacing: 0.3px;
            white-space: nowrap;
        }
        .ws-full-card-pill.coin {
            background: #FEF3C7;
            color: #B45309;
            border-color: rgba(217, 119, 6, 0.3);
        }
        .ws-full-card-val {
            font-size: clamp(1.25rem, 3.2vw, 1.45rem);
            font-weight: 900;
            color: #16130F;
            font-family: var(--ws-font-serif);
            letter-spacing: 0.3px;
            line-height: 1.15;
            margin-bottom: 4px;
        }
        .ws-full-card-val.gold {
            color: #B45309;
        }
        .ws-full-card-sub {
            font-size: 0.68rem;
            color: #6B6357;
            line-height: 1.2;
        }
        .ws-full-card-sub strong {
            color: #16130F;
            font-weight: 700;
        }
        .ws-txn-row {
            display: grid;
            grid-template-columns: auto 1fr auto;
            align-items: center;
            gap: 12px;
            padding: 10px 14px;
            border-bottom: 1px solid var(--ws-border);
            transition: var(--ws-transition);
        }
        .ws-txn-row:last-child {
            border-bottom: none;
        }
        .ws-txn-row:hover {
            background: #FAF8F4;
        }
        .ws-txn-icon-wrap {
            width: 34px;
            height: 34px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }
        .ws-txn-icon-wrap.green {
            background: #DCFCE7;
            color: #15803D;
            border: 1px solid rgba(22, 163, 74, 0.25);
        }
        .ws-txn-icon-wrap.red {
            background: #FEE2E2;
            color: #DC2626;
            border: 1px solid rgba(220, 38, 38, 0.25);
        }
        .ws-txn-icon-wrap.amber {
            background: #FEF3C7;
            color: #D97706;
            border: 1px solid rgba(217, 119, 6, 0.25);
        }
        .ws-txn-icon-wrap.blue {
            background: #DBEAFE;
            color: #1D4ED8;
            border: 1px solid rgba(29, 78, 216, 0.25);
        }
        .ws-txn-info strong {
            font-size: 0.78rem;
            font-weight: 700;
            color: var(--ws-text-main);
            display: block;
            line-height: 1.2;
            margin-bottom: 2px;
        }
        .ws-txn-info span {
            font-size: 0.66rem;
            color: var(--ws-text-muted);
            display: block;
            line-height: 1.1;
        }
        .ws-txn-amt {
            text-align: right;
            flex-shrink: 0;
        }
        .ws-txn-amt strong {
            font-size: 0.84rem;
            font-weight: 800;
            display: block;
            line-height: 1.2;
        }
        .ws-txn-amt .ws-txn-badge {
            font-size: 0.58rem;
            font-weight: 800;
            padding: 2px 6px;
            border-radius: 4px;
            display: inline-block;
            margin-top: 2px;
            text-transform: uppercase;
            letter-spacing: 0.3px;
        }
        .ws-txn-badge.green { background: #DCFCE7; color: #15803D; }
        .ws-txn-badge.red { background: #FEE2E2; color: #DC2626; }
        .ws-txn-badge.amber { background: #FEF3C7; color: #D97706; }
        .ws-txn-badge.blue { background: #DBEAFE; color: #1D4ED8; }

        /* Animated Download & Withdraw Action Icons */
        .ws-anim-dl-icon {
            width: 15px;
            height: 15px;
            animation: dlBounce 2s ease-in-out infinite;
        }
        @keyframes dlBounce {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(2.5px); }
        }
        .ws-anim-withdraw-icon {
            width: 15px;
            height: 15px;
            animation: withdrawPulse 2.5s ease-in-out infinite;
        }
        @keyframes withdrawPulse {
            0%, 100% { transform: scale(1) translate(0, 0); }
            50% { transform: scale(1.12) translate(1px, -1px); }
        }

        /* ── VIP Tier Roadmap Modal Component Styles ── */
        .ws-tier-card {
            padding: 10px 12px;
            border: 1.5px solid var(--ws-border);
            border-radius: 10px;
            background: #FFFFFF;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            transition: var(--ws-transition);
        }
        .ws-tier-card:hover {
            border-color: var(--ws-gold-primary);
            box-shadow: 0 4px 12px rgba(180, 140, 40, 0.08);
            transform: translateY(-1px);
        }
        .ws-tier-card.active {
            border-color: #10B981;
            background: #F0FDF4;
            box-shadow: 0 4px 14px rgba(16, 185, 129, 0.10);
        }
        .ws-tier-card-left {
            display: flex;
            align-items: center;
            gap: 10px;
            flex: 1;
        }
        .ws-tier-icon-wrap {
            width: 36px;
            height: 36px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }
        .ws-tier-icon-wrap.green { background: #DCFCE7; border: 1px solid rgba(22, 163, 74, 0.3); }
        .ws-tier-icon-wrap.silver { background: #F1F5F9; border: 1px solid rgba(148, 163, 184, 0.35); }
        .ws-tier-icon-wrap.gold { background: #FEF3C7; border: 1px solid rgba(217, 119, 6, 0.35); }
        .ws-tier-icon-wrap.diamond { background: #E0F2FE; border: 1.5px solid rgba(2, 132, 199, 0.4); }
        .ws-tier-icon-wrap.supergold { background: #FEF3C7; border: 1.5px solid rgba(212, 175, 55, 0.5); }
        .ws-tier-icon-wrap.platinum { background: linear-gradient(135deg, #1C1813, #2B2317); border: 1.5px solid #D4AF37; }

        .ws-tier-info strong {
            font-size: 0.82rem;
            font-weight: 800;
            color: var(--ws-text-main);
            display: block;
            line-height: 1.25;
            margin-bottom: 2px;
        }
        .ws-tier-card.active .ws-tier-info strong {
            color: #15803D;
        }
        .ws-tier-info span {
            font-size: 0.68rem;
            color: var(--ws-text-muted);
            display: block;
            line-height: 1.2;
        }
        .ws-tier-badge {
            font-size: 0.60rem;
            font-weight: 800;
            padding: 3px 8px;
            border-radius: 4px;
            white-space: nowrap;
            letter-spacing: 0.3px;
            text-transform: uppercase;
        }
        .ws-tier-badge.active { background: #DCFCE7; color: #15803D; border: 1px solid rgba(22, 163, 74, 0.3); }
        .ws-tier-badge.silver { background: #F1F5F9; color: #475569; border: 1px solid #CBD5E1; }
        .ws-tier-badge.gold { background: #FEF3C7; color: #B45309; border: 1px solid #FCD34D; }
        .ws-tier-badge.diamond { background: #E0F2FE; color: #0369A1; border: 1px solid #7DD3FC; }
        .ws-tier-badge.supergold { background: #FEF3C7; color: #92400E; border: 1px solid #F59E0B; }
        .ws-tier-badge.platinum { background: linear-gradient(135deg, #8A681F, #6E5114); color: #FFFFFF; }

        @media (max-width: 640px) {
            #wsVipTierModal.ws-modal-overlay {
                padding: 0 !important;
                align-items: stretch !important;
            }
            #wsVipTierModal .ws-modal-box {
                width: 100vw !important;
                max-width: 100vw !important;
                height: 100vh !important;
                max-height: 100vh !important;
                border-radius: 0 !important;
                border: none !important;
                margin: 0 !important;
                display: flex !important;
                flex-direction: column !important;
            }
            #wsVipTierModal .ws-modal-header {
                padding: 8px 12px !important;
                border-bottom: 1.5px solid var(--ws-gold-border) !important;
            }
            #wsVipTierModal .ws-modal-body {
                flex: 1 1 auto !important;
                overflow-y: auto !important;
padding: 10px 12px !important;
            }
            #wsVipTierModal .ws-tier-card {
                padding: 8px 10px !important;
                gap: 8px !important;
            }
            #wsVipTierModal .ws-tier-icon-wrap {
                width: 30px !important;
                height: 30px !important;
            }
            #wsVipTierModal .ws-tier-icon-wrap svg {
                width: 15px !important;
                height: 15px !important;
            }
            #wsVipTierModal .ws-tier-info strong {
                font-size: 0.74rem !important;
            }
            #wsVipTierModal .ws-tier-info span {
                font-size: 0.60rem !important;
            }
            #wsVipTierModal .ws-tier-badge {
                font-size: 0.52rem !important;
                padding: 2px 6px !important;
            }
            #wsVipTierModal .ws-modal-footer {
                padding: 8px 12px calc(8px + env(safe-area-inset-bottom)) !important;
            }
        }

        /* ── Authentic GST B2B Tax Invoice (Vyapar Standard Design Matching User Reference) ── */
        .ws-tax-invoice-wrapper {
            padding: 8px;
            background: #F8F9FA;
            border-radius: 8px;
            max-height: 82vh;
            overflow-y: auto;
        }
        .ws-tax-invoice-container {
            background: #FFFFFF;
            color: #111827;
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
            font-size: 11px;
            line-height: 1.4;
            width: 100%;
            max-width: 780px;
            margin: 0 auto;
            border: 1.5px solid #262626;
            box-shadow: 0 4px 20px rgba(0,0,0,0.08);
            box-sizing: border-box;
        }
        .ws-ti-title-header {
            text-align: center;
            font-size: 18px;
            font-weight: 800;
            color: #111827;
            padding: 6px 0;
            margin: 0;
            letter-spacing: 0.5px;
        }
        .ws-ti-top-seller-box {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            padding: 10px 14px;
            border-bottom: 1.5px solid #262626;
        }
        .ws-ti-seller-brand {
            display: flex;
            gap: 12px;
            align-items: center;
        }
        .ws-ti-brand-logo {
            width: 68px;
            height: auto;
            object-fit: contain;
        }
        .ws-ti-seller-info h3 {
            margin: 0 0 2px;
            font-size: 17px;
            font-weight: 800;
            color: #111827;
        }
        .ws-ti-seller-info p {
            margin: 0;
            font-size: 10.5px;
            color: #374151;
            line-height: 1.35;
        }
        .ws-ti-seller-meta {
            text-align: right;
            font-size: 10.5px;
            color: #374151;
        }
        .ws-ti-grid-2col {
            display: grid;
            grid-template-columns: 1fr 1fr;
            border-bottom: 1.5px solid #262626;
        }
        .ws-ti-cell-billto {
            padding: 6px 12px 8px;
            border-right: 1.5px solid #262626;
        }
        .ws-ti-cell-invmeta {
            padding: 6px 12px 8px;
        }
        .ws-ti-cell-header {
            font-weight: 800;
            font-size: 11px;
            color: #111827;
            margin-bottom: 4px;
        }
        .ws-ti-shipto-box {
            padding: 6px 12px 8px;
            border-bottom: 1.5px solid #262626;
        }
        .ws-ti-items-table {
            width: 100%;
            border-collapse: collapse;
            font-size: 10.5px;
        }
        .ws-ti-items-table th,
        .ws-ti-items-table td {
            border: 1px solid #262626;
            padding: 5px 8px;
        }
        .ws-ti-items-table th {
            background: #FAFAFA;
            font-weight: 800;
            color: #111827;
            font-size: 10.5px;
        }
        .ws-ti-items-table tr.ws-ti-total-row {
            font-weight: 800;
            background: #FAFAFA;
        }
        .ws-ti-bottom-split {
            display: grid;
            grid-template-columns: 1.25fr 1fr;
            border-top: 1.5px solid #262626;
            border-bottom: 1.5px solid #262626;
        }
        .ws-ti-tax-summary-col {
            border-right: 1.5px solid #262626;
        }
        .ws-ti-tax-summary-title {
            font-weight: 800;
            font-size: 10.5px;
            padding: 4px 8px;
            border-bottom: 1px solid #262626;
            background: #FAFAFA;
        }
        .ws-ti-tax-subtable {
            width: 100%;
            border-collapse: collapse;
            font-size: 10px;
        }
        .ws-ti-tax-subtable th,
        .ws-ti-tax-subtable td {
            border: 1px solid #262626;
            padding: 4px 6px;
        }
        .ws-ti-tax-subtable th {
            background: #FAFAFA;
            font-weight: 700;
            text-align: center;
        }
        .ws-ti-net-calc-col {
            display: flex;
            flex-direction: column;
        }
        .ws-ti-calc-row {
            display: flex;
            justify-content: space-between;
            padding: 3px 8px;
            border-bottom: 1px solid #262626;
            font-size: 10.5px;
        }
        .ws-ti-words-box {
            padding: 4px 8px;
            border-bottom: 1px solid #262626;
            font-size: 10px;
            line-height: 1.3;
        }
        .ws-ti-terms-row {
            padding: 6px 10px;
            border-bottom: 1.5px solid #262626;
            font-size: 10px;
        }
        .ws-ti-footer-sign-row {
            display: flex;
            justify-content: space-between;
            align-items: flex-end;
            padding: 8px 14px 10px;
        }
        .ws-ti-vyapar-tag {
            display: flex;
            align-items: center;
            gap: 4px;
            font-size: 9.5px;
            color: #6B7280;
        }
        .ws-ti-sign-box {
            text-align: center;
            width: 170px;
        }
        @media print {
            html, body {
                margin: 0 !important;
                padding: 0 !important;
                background: #FFFFFF !important;
                height: auto !important;
                min-height: 0 !important;
                overflow: visible !important;
            }
            body > *:not(#wsBillInvoiceModal) {
                display: none !important;
            }
            .ws-header, .ws-sidebar, .ws-mobile-dock, .ws-main, .ws-toast-container, .ws-sidebar-backdrop {
                display: none !important;
            }
            .ws-modal-overlay:not(#wsBillInvoiceModal) {
                display: none !important;
            }
            #wsBillInvoiceModal {
                position: static !important;
                display: block !important;
                width: 100% !important;
                height: auto !important;
                min-height: 0 !important;
                background: transparent !important;
                padding: 0 !important;
                margin: 0 !important;
                overflow: visible !important;
                visibility: visible !important;
                opacity: 1 !important;
            }
            #wsBillInvoiceModal .ws-modal-box {
                position: static !important;
                display: block !important;
                width: 100% !important;
                max-width: 100% !important;
                height: auto !important;
                padding: 0 !important;
                margin: 0 !important;
                border: none !important;
                box-shadow: none !important;
                border-radius: 0 !important;
                overflow: visible !important;
            }
            #wsBillInvoiceModal .ws-modal-header {
                display: none !important;
            }
            #wsBillInvoiceModal .ws-tax-invoice-wrapper {
                position: static !important;
                display: block !important;
                width: 100% !important;
                max-height: none !important;
                padding: 0 !important;
                margin: 0 !important;
                background: transparent !important;
                overflow: visible !important;
            }
            #invoicePrintArea {
                position: relative !important;
                display: block !important;
                left: auto !important;
                top: auto !important;
                width: 100% !important;
                max-width: 100% !important;
                margin: 0 auto !important;
                padding: 0 !important;
                border: 1.5px solid #000 !important;
                box-shadow: none !important;
                visibility: visible !important;
                page-break-inside: avoid !important;
                page-break-after: avoid !important;
                font-size: 10.5px !important;
            }
            #invoicePrintArea * {
                visibility: visible !important;
            }
            .ws-ti-title-header {
                padding: 4px 0 !important;
                font-size: 17px !important;
            }
            .ws-ti-top-seller-box,
            .ws-ti-cell-billto,
            .ws-ti-cell-invmeta,
            .ws-ti-shipto-box {
                padding: 5px 10px !important;
            }
            .ws-ti-items-table th,
            .ws-ti-items-table td {
                padding: 4px 6px !important;
                font-size: 10px !important;
            }
            .ws-ti-tax-subtable th,
            .ws-ti-tax-subtable td {
                padding: 3.5px 5px !important;
                font-size: 9.5px !important;
            }
            .ws-ti-calc-row {
                padding: 3px 8px !important;
                font-size: 10px !important;
            }
            .ws-ti-words-box {
                padding: 3px 8px !important;
                font-size: 9.5px !important;
            }
            .ws-ti-terms-row {
                padding: 5px 10px !important;
                font-size: 9.5px !important;
            }
            .ws-ti-footer-sign-row {
                padding: 8px 12px 10px !important;
            }
            @page {
                size: A4 portrait;
                margin: 8mm 10mm;
            }
        }

        /* ── Role Access Gate Modal ── */
        .ws-gate-box {
            text-align: center;
            padding: 26px 20px;
        }
        .ws-gate-icon {
            width: 64px;
            height: 64px;
            border-radius: 50%;
            background: var(--ws-gold-light);
            color: var(--ws-gold-primary);
            border: 2px solid var(--ws-gold-primary);
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 16px;
            box-shadow: 0 4px 14px rgba(138,104,31,0.25);
        }
        .ws-gate-icon svg {
            width: 32px;
            height: 32px;
            stroke: currentColor;
            stroke-width: 2;
            fill: none;
        }
        .ws-gate-box h3 {
            font-size: 1.2rem;
            font-weight: 800;
            color: var(--ws-gold-primary);
            font-family: var(--ws-font-serif);
            margin-bottom: 8px;
        }
        .ws-gate-box p {
            font-size: 0.84rem;
            color: var(--ws-text-muted);
            margin-bottom: 20px;
            line-height: 1.5;
        }

        /* ── Mobile Floating Bottom App Dock ── */
        .ws-mobile-dock {
            display: none;
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: #FFFFFF;
            border-top: 1px solid var(--ws-gold-border);
            padding: 3px 6px calc(3px + env(safe-area-inset-bottom));
            z-index: 1500;
            box-shadow: 0 -2px 10px rgba(138,104,31,0.06);
            justify-content: space-around;
            align-items: center;
            height: auto;
            min-height: 46px;
        }
        .ws-dock-btn {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 1.5px;
            color: var(--ws-text-muted);
            font-size: 0.58rem;
            font-weight: 700;
            text-decoration: none;
            cursor: pointer;
            padding: 2px 6px;
            border-radius: 6px;
            border: none;
            background: transparent;
            transition: var(--ws-transition);
        }
        .ws-dock-btn svg {
            width: 17px;
            height: 17px;
            stroke: currentColor;
            stroke-width: 2;
            fill: none;
        }
        .ws-dock-btn.active {
            color: var(--ws-gold-primary);
            transform: translateY(-1px);
        }
        .ws-dock-btn.active svg { stroke: var(--ws-gold-primary); }

        .ws-dock-cart-badge {
            position: absolute;
            top: -5px;
            right: -8px;
            min-width: 15px;
            height: 15px;
            padding: 0 3px;
            border-radius: 8px;
            background: var(--ws-gold-primary);
            color: #FFFFFF;
            font-size: 0.54rem;
            font-weight: 800;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 1.2px solid #FFFFFF;
            box-shadow: 0 2px 4px rgba(138,104,31,0.25);
        }

        /* ── Luxury Designer Notification Toast Suite ── */
        .ws-toast-container,
        .toast-container {
            position: fixed !important;
            bottom: clamp(68px, 10vw, 84px) !important;
            left: 50% !important;
            transform: translateX(-50%) !important;
            z-index: 9999999 !important;
            display: flex !important;
            flex-direction: column !important;
            align-items: center !important;
            gap: 10px !important;
            pointer-events: none !important;
            width: auto !important;
            max-width: min(92vw, 440px) !important;
        }

        .ws-toast,
        .toast {
            position: relative !important;
            overflow: hidden !important;
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.97) 0%, rgba(250, 245, 235, 0.98) 100%) !important;
            -webkit-backdrop-filter: blur(16px) !important;
            backdrop-filter: blur(16px) !important;
            color: #1C1917 !important;
            padding: 10px 14px 10px 12px !important;
            border-radius: 20px !important;
            font-family: var(--ws-font-sans, 'Plus Jakarta Sans', sans-serif) !important;
            font-size: 0.82rem !important;
            font-weight: 700 !important;
            box-shadow: 0 12px 36px rgba(138, 104, 31, 0.18), 0 4px 12px rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
            border: 1.5px solid rgba(212, 175, 55, 0.45) !important;
            display: inline-flex !important;
            align-items: center !important;
            gap: 10px !important;
            pointer-events: auto !important;
            animation: luxuryToastEntrance 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
            transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
            white-space: normal !important;
            max-width: 100% !important;
        }

        @keyframes luxuryToastEntrance {
            0% {
                opacity: 0;
                transform: translateY(18px) scale(0.92);
            }
            70% {
                transform: translateY(-2px) scale(1.02);
            }
            100% {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }

        .ws-toast.hide,
        .toast.hide {
            opacity: 0 !important;
            transform: translateY(12px) scale(0.92) !important;
        }

        /* Animated Icon Badge Pill */
        .ws-toast-icon-badge,
        .toast-icon-badge {
            width: 32px !important;
            height: 32px !important;
            border-radius: 50% !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            flex-shrink: 0 !important;
            box-shadow: 0 2px 8px rgba(138, 104, 31, 0.15) !important;
        }

        .ws-toast-icon-badge.badge-cart,
        .toast-icon-badge.badge-cart {
            background: linear-gradient(135deg, #FAF5E8 0%, #F5ECCE 100%) !important;
            border: 1.2px solid rgba(212, 175, 55, 0.6) !important;
            color: #8A681F !important;
        }

        .ws-toast-icon-badge.badge-wishlist,
        .toast-icon-badge.badge-wishlist {
            background: linear-gradient(135deg, #FFF1F2 0%, #FFE4E6 100%) !important;
            border: 1.2px solid rgba(244, 63, 94, 0.4) !important;
            color: #E11D48 !important;
        }

        .ws-toast-icon-badge.badge-filter,
        .toast-icon-badge.badge-filter {
            background: linear-gradient(135deg, #FAF5E8 0%, #FDF4DC 100%) !important;
            border: 1.2px solid rgba(212, 175, 55, 0.6) !important;
            color: #8A681F !important;
        }

        .ws-toast-icon-badge.badge-success,
        .toast-icon-badge.badge-success {
            background: linear-gradient(135deg, #F0FDF4 0%, #DCFCE7 100%) !important;
            border: 1.2px solid rgba(34, 197, 94, 0.4) !important;
            color: #15803D !important;
        }

        .ws-toast-icon-badge.badge-order,
        .toast-icon-badge.badge-order {
            background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%) !important;
            border: 1.2px solid rgba(59, 130, 246, 0.4) !important;
            color: #1D4ED8 !important;
        }

        /* SVG Icon Micro-Animations */
        .toast-svg-cart {
            width: 17px !important;
            height: 17px !important;
            stroke: #8A681F !important;
            animation: toastCartBounce 1.4s infinite ease-in-out !important;
        }
        @keyframes toastCartBounce {
            0%, 100% { transform: translateY(0) scale(1); }
            50% { transform: translateY(-2.5px) scale(1.08); }
        }

        .toast-svg-heart {
            width: 17px !important;
            height: 17px !important;
            fill: #E11D48 !important;
            stroke: #BE123C !important;
            animation: toastHeartPulse 1.2s infinite cubic-bezier(0.25, 0.1, 0.25, 1) !important;
        }
        @keyframes toastHeartPulse {
            0%, 100% { transform: scale(1); }
            14% { transform: scale(1.22); }
            28% { transform: scale(1.05); }
            42% { transform: scale(1.18); }
            70% { transform: scale(1); }
        }

        .toast-svg-sparkle {
            width: 17px !important;
            height: 17px !important;
            stroke: #8A681F !important;
            animation: toastSparkleSpin 3s infinite linear !important;
        }
        @keyframes toastSparkleSpin {
            0% { transform: rotate(0deg) scale(1); }
            50% { transform: rotate(180deg) scale(1.12); }
            100% { transform: rotate(360deg) scale(1); }
        }

        .toast-svg-check {
            width: 17px !important;
            height: 17px !important;
            stroke: #15803D !important;
            animation: toastCheckPop 0.5s ease forwards !important;
        }
        @keyframes toastCheckPop {
            0% { transform: scale(0.6); opacity: 0; }
            70% { transform: scale(1.2); opacity: 1; }
            100% { transform: scale(1); opacity: 1; }
        }

        .toast-svg-package {
            width: 17px !important;
            height: 17px !important;
            stroke: #1D4ED8 !important;
            animation: toastPackageFloat 1.6s infinite ease-in-out !important;
        }
        @keyframes toastPackageFloat {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-2px); }
        }

        /* Toast Content Message */
        .ws-toast-msg,
        .toast-msg {
            color: #1C1917 !important;
            font-size: 0.82rem !important;
            line-height: 1.35 !important;
            font-weight: 700 !important;
            flex: 1 !important;
        }
        .ws-toast-msg strong,
        .toast-msg strong {
            color: var(--ws-gold-deep, #5A4210) !important;
        }

        /* 1-Tap Dismiss Button */
        .ws-toast-close-btn,
        .toast-close-btn {
            background: transparent !important;
            border: none !important;
            color: #8C827A !important;
            font-size: 13px !important;
            font-weight: 800 !important;
            width: 22px !important;
            height: 22px !important;
            border-radius: 50% !important;
            cursor: pointer !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            margin-left: 4px !important;
            flex-shrink: 0 !important;
            transition: all 0.2s ease !important;
            padding: 0 !important;
        }
        .ws-toast-close-btn:hover,
        .toast-close-btn:hover {
            background: rgba(138, 104, 31, 0.12) !important;
            color: #5A4210 !important;
            transform: scale(1.1) !important;
        }

        /* Shimmering Progress Countdown Line */
        .ws-toast-progress,
        .toast-progress {
            position: absolute !important;
            bottom: 0 !important;
            left: 0 !important;
            height: 2.5px !important;
            width: 100% !important;
            background: linear-gradient(90deg, #D4AF37 0%, #8A681F 50%, #E6CA65 100%) !important;
            transform-origin: left !important;
            animation: toastDrainProgress var(--toast-duration, 3.2s) linear forwards !important;
        }
        @keyframes toastDrainProgress {
            from { transform: scaleX(1); }
            to { transform: scaleX(0); }
        }

        /* ════════════════════════════════════════════════════
           RESPONSIVE MOBILE BREAKPOINTS & IMPROVEMENTS
        ════════════════════════════════════════════════════ */
        @media (max-width: 1024px) {
            .ws-analytics-grid {
                grid-template-columns: 1fr;
                gap: 16px;
            }
            .ws-stats-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }
            .ws-sidebar {
                position: fixed;
                top: 0;
                left: 0;
                bottom: 0;
                height: 100vh;
                max-height: 100vh;
                width: clamp(270px, 80vw, 320px);
                background: #FFFFFF;
                transform: translateX(-100%);
                box-shadow: 8px 0 35px rgba(20, 17, 14, 0.35);
                z-index: 2000;
                display: flex;
                flex-direction: column;
                overflow: hidden;
            }
            .ws-sidebar.open {
                transform: translateX(0);
            }
            .ws-sidebar-close-btn {
                display: flex;
            }
            .ws-sidebar-backdrop {
                position: fixed;
                top: 0;
                left: 0;
                width: 100vw;
                height: 100vh;
                background: rgba(20, 17, 14, 0.65);
                -webkit-backdrop-filter: blur(5px);
                backdrop-filter: blur(5px);
                z-index: 1999;
                display: none;
                pointer-events: none;
            }
            .ws-sidebar-backdrop.active {
                display: block;
                pointer-events: auto;
            }
            .ws-sidebar-scroll {
                padding-bottom: calc(60px + env(safe-area-inset-bottom));
            }
            .ws-mobile-dock {
                display: flex;
            }
            .ws-cmd-search-wrap {
                display: none;
            }
            #headerWishlistBtn,
            #headerCartBtn {
                display: none !important;
            }
        }

        @media (max-width: 768px) {
            .ws-header {
                padding: 0 10px;
                height: 48px;
            }
            .ws-menu-toggle-btn {
                width: 32px;
                height: 32px;
            }
            .ws-menu-toggle-btn svg {
                width: 16px;
                height: 16px;
            }
            .ws-mobile-header-brand {
                display: flex;
                align-items: center;
                margin-left: 6px;
            }
            .ws-mob-logo-text {
                font-size: 0.86rem;
            }
            #headerWishlistBtn,
            #headerCartBtn {
                display: none !important;
            }
            .ws-hdr-icon-btn {
                width: 32px;
                height: 32px;
            }
            .ws-hdr-icon-btn svg {
                width: 15px;
                height: 15px;
            }
            .ws-user-name-text {
                display: none;
            }
            .ws-user-profile-btn {
                padding: 2px;
                border-radius: 50%;
            }
            .ws-user-avatar-img {
                width: 28px;
                height: 28px;
            }
            .ws-main-content {
                padding: 10px 8px calc(52px + env(safe-area-inset-bottom));
            }
            .ws-section-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 12px;
            }
            .ws-sec-actions-row {
                width: 100%;
                flex-direction: column;
                gap: 8px;
            }
            .ws-segmented-control {
                width: 100%;
                display: flex;
            }
            .ws-segmented-control .ws-seg-btn {
                flex: 1;
                text-align: center;
                padding: 7px 8px;
                font-size: 0.74rem;
            }
            .ws-date-range-pill {
                width: 100%;
                justify-content: center;
                padding: 7px 12px;
            }
            .ws-metric-cards-grid {
                grid-template-columns: repeat(2, 1fr) !important;
                gap: 8px !important;
                margin-bottom: 10px !important;
            }
            .ws-stat-box {
                padding: 7px 9px !important;
                border-radius: 10px !important;
                min-height: 64px !important;
                height: 64px !important;
                display: flex !important;
                flex-direction: column !important;
                justify-content: space-between !important;
                box-sizing: border-box !important;
            }
            .ws-stat-head-row {
                margin-bottom: 0 !important;
                gap: 3px !important;
            }
            .ws-stat-label {
                font-size: 0.54rem !important;
                font-weight: 800 !important;
                letter-spacing: 0.2px !important;
                line-height: 1 !important;
            }
            .ws-stat-ico-wrap {
                width: 20px !important;
                height: 20px !important;
                border-radius: 5px !important;
            }
            .ws-stat-ico-wrap svg {
                width: 11px !important;
                height: 11px !important;
            }
            .ws-stat-val-row {
                gap: 4px !important;
                align-items: baseline !important;
            }
            .ws-stat-val-num {
                font-size: 0.98rem !important;
                font-weight: 900 !important;
                line-height: 1 !important;
            }
            #statVal1 {
                font-size: 0.78rem !important;
            }
            .ws-trend-pill {
                font-size: 0.48rem !important;
                font-weight: 800 !important;
                padding: 1.5px 4px !important;
                border-radius: 4px !important;
            }
            .ws-tier-ribbon-tag {
                width: 40px !important;
                height: 40px !important;
                border-top-left-radius: 10px !important;
                border-top-right-radius: 0 !important;
            }
            .ws-tier-ribbon-tag span {
                width: 58px !important;
                font-size: 0.34rem !important;
                padding: 1px 0 !important;
                left: -16px !important;
                right: auto !important;
                top: 7px !important;
                transform: rotate(-45deg) !important;
            }
            .ws-roadmap-link-text {
                font-size: 0.50rem !important;
            }
            .ws-roadmap-running-line {
                height: 1.5px !important;
            }
            .ws-wallet-strip {
                padding: 6px 10px !important;
                margin-bottom: 10px !important;
                border-radius: 10px !important;
                min-height: 44px !important;
                gap: 6px !important;
            }
            .ws-wallet-icon-wrapper {
                width: 26px !important;
                height: 26px !important;
                border-radius: 7px !important;
            }
            .ws-anim-wallet-svg, .ws-anim-coin-svg {
                width: 15px !important;
                height: 15px !important;
            }
            .ws-wallet-metric-value {
                font-size: 0.88rem !important;
            }
            .ws-wallet-metric-label {
                font-size: 0.50rem !important;
            }
            .ws-btn-wallet-view-sm {
                height: 26px !important;
                font-size: 0.65rem !important;
                padding: 0 8px !important;
            }
            .ws-stats-grid {
                grid-template-columns: 1fr;
                gap: 18px;
            }
            .ws-kpi-grid {
                grid-template-columns: 1fr 1fr;
                gap: 8px;
            }
            .ws-kpi-box {
                padding: 10px;
            }
            .ws-kpi-label {
                font-size: 0.65rem;
            }
            .ws-kpi-num {
                font-size: 0.96rem;
            }
            .ws-kpi-sub {
                font-size: 0.62rem;
            }
            .ws-cat-prog-header {
                font-size: 0.74rem;
            }
            .ws-table-container {
                display: none;
            }
            .ws-mobile-order-cards,
            .ws-mobile-reports-cards {
                display: flex !important;
                flex-direction: column;
                gap: 10px;
            }
            .ws-report-kpis-grid {
                grid-template-columns: repeat(2, 1fr) !important;
                gap: 8px;
            }
            .ws-filter-controls-row {
                flex-direction: column !important;
                align-items: stretch !important;
                gap: 10px !important;
            }
            .ws-filter-controls-row .ws-luxury-search-wrap,
            .ws-luxury-search-wrap {
                width: 100% !important;
                max-width: 100% !important;
                margin-top: 4px;
                flex: none !important;
            }
            .ws-filter-controls-row .ws-orders-filter-btns,
            .ws-filter-controls-row .ws-filter-pill-group,
            .ws-orders-filter-btns,
            .ws-filter-pill-group {
                width: 100% !important;
                display: flex !important;
                overflow-x: auto !important;
padding-bottom: 4px !important;
                scrollbar-width: none !important;
                flex-wrap: nowrap !important;
                gap: 8px !important;
            }
            .ws-filter-controls-row .ws-orders-filter-btns::-webkit-scrollbar,
            .ws-filter-controls-row .ws-filter-pill-group::-webkit-scrollbar,
            .ws-orders-filter-btns::-webkit-scrollbar,
            .ws-filter-pill-group::-webkit-scrollbar {
                display: none !important;
            }
            .ws-luxury-search-input {
                height: 34px !important;
                font-size: 0.75rem !important;
                padding: 0 32px 0 36px !important;
            }
            .ws-luxury-search-icon {
                width: 15px !important;
                height: 15px !important;
                left: 11px !important;
                right: auto !important;
                stroke-width: 2.2 !important;
            }
            .ws-luxury-search-clear {
                width: 18px !important;
                height: 18px !important;
                right: 9px !important;
                font-size: 0.65rem !important;
            }
            .ws-rep-filter-btn {
                white-space: nowrap !important;
                flex-shrink: 0 !important;
                display: inline-flex !important;
                padding: 4px 10px !important;
                font-size: 0.70rem !important;
                height: 26px !important;
            }
            .ws-mob-order-card {
                padding: 12px;
                border-radius: 12px;
            }
            .ws-mob-order-actions {
                display: grid;
                grid-template-columns: 1fr 1fr;
                gap: 8px;
            }
            .ws-mob-order-actions .ws-btn {
                width: 100%;
                justify-content: center;
                padding: 7px 8px;
                font-size: 0.72rem;
            }
            .ws-slider-nav-btn {
                display: none;
            }
            .ws-slider-track {
                gap: 8px !important;
                padding: 4px 2px 10px !important;
            }
            .ws-slider-track .product-card,
            .ws-slider-track .ws-product-card {
                flex: 0 0 calc((100% - 16px) / 2.38) !important;
                min-width: 125px !important;
                max-width: 160px !important;
                border-radius: 10px !important;
            }
            .ws-slider-track .card-name,
            .ws-slider-track .ws-prod-name {
                font-size: 0.72rem !important;
                line-height: 1.2 !important;
            }
            .ws-slider-track .card-price,
            .ws-slider-track .ws-prod-price {
                font-size: 0.82rem !important;
            }
            .ws-slider-track .card-old-price {
                font-size: 0.60rem !important;
            }
            .ws-slider-track .card-price-discount {
                font-size: 0.50rem !important;
                padding: 1px 3.5px !important;
            }
            .ws-slider-track .card-info-text-row {
                font-size: 0.56rem !important;
                gap: 3px !important;
            }
            .ws-slider-track .card-body {
                padding: 7px !important;
                gap: 2px !important;
            }
            .products-grid, .ws-master-catalog-grid {
                grid-template-columns: repeat(2, 1fr) !important;
                gap: 10px !important;
            }
            .ws-gst-selector-grid {
                grid-template-columns: 1fr;
            }
            .ws-gauge-stats-row {
                gap: 4px;
            }
            .ws-g-stat-label {
                font-size: 0.64rem;
            }
            .ws-g-stat-val {
                font-size: 0.85rem;
            }

            /* Slide-Up Bottom Sheet on Mobile */
            .ws-modal-overlay {
                padding: 0;
                align-items: flex-end;
            }
            .ws-modal-box {
                max-height: 90vh;
                border-radius: 20px 20px 0 0;
                border-bottom: none;
            }
            .ws-modal-footer {
                padding: 10px 16px calc(12px + env(safe-area-inset-bottom));
                flex-direction: column;
                gap: 8px;
            }
            .ws-modal-footer .ws-btn {
                width: 100%;
                padding: 10px 14px;
            }
        }

        @media (max-width: 380px) {
            .ws-metric-cards-grid {
                grid-template-columns: 1fr;
            }
            .ws-slider-track .product-card,
            .ws-slider-track .ws-product-card {
                flex: 0 0 calc((100% - 14px) / 2.3) !important;
                min-width: 115px !important;
                max-width: none;
            }
            .products-grid, .ws-master-catalog-grid {
                grid-template-columns: 1fr !important;
            }
        }
    

/* ══════════════════════════════════════════════════════════════════
   NEXT-LEVEL LUXURY CRM & RESPONSIVE AUTO-SIZING SYSTEM
   ══════════════════════════════════════════════════════════════════ */

/* Desktop Table Formatting & No-Collision Guarantee */
.ws-table-container {
    width: 100%;
    overflow-x: auto;
    border-radius: 14px;
    border: 1.5px solid #E8DFCE;
    box-shadow: 0 4px 16px rgba(138, 104, 31, 0.05);
    background: #FFFFFF;
    margin-top: 14px;
    margin-bottom: 20px;
}

.ws-table {
    width: 100%;
    min-width: 980px;
    border-collapse: separate;
    border-spacing: 0;
    text-align: left;
    font-size: 0.84rem;
    background: #FFFFFF;
}

.ws-table th {
    background: linear-gradient(135deg, #FAF5E8 0%, #F5EDD6 100%);
    color: #785912;
    font-weight: 800;
    font-size: 0.76rem;
    padding: 14px 16px;
    border-bottom: 1.5px solid #DFC994;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.ws-table td {
    padding: 13px 16px;
    border-bottom: 1px solid #F3EDE2;
    color: #24211C;
    vertical-align: middle;
}

.ws-table tbody tr:hover td {
    background: #FAF7F0;
}

/* CRM Action Buttons */
.crm-action-btn-group {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    white-space: nowrap;
}

.crm-btn-view,
.crm-btn-wa,
.crm-btn-reorder {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    cursor: pointer;
    border: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 5px rgba(0,0,0,0.06);
}

.crm-btn-view {
    background: #FAF6EE;
    border: 1.2px solid #D4AF37;
    color: #785912;
}

.crm-btn-view:hover {
    background: #F2E7CD;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(138, 104, 31, 0.2);
}

.crm-btn-wa {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #FFFFFF;
}

.crm-btn-wa:hover {
    background: linear-gradient(135deg, #2ee06f 0%, #159f8f 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.35);
}

.crm-btn-reorder {
    background: linear-gradient(135deg, #D4AF37 0%, #8A681F 100%);
    color: #FFFFFF;
}

.crm-btn-reorder:hover {
    background: linear-gradient(135deg, #E0BE4D 0%, #A07B28 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(138, 104, 31, 0.35);
}

/* CRM KPI Summary Row (No Top Clipping) */
.crm-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 10px;
    margin-bottom: 20px;
}

.crm-kpi-card {
    background: linear-gradient(135deg, #FFFFFF 0%, #FDFCF9 100%);
    border: 1.5px solid #EADBBE;
    border-radius: 14px;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 14px rgba(138, 104, 31, 0.05);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.crm-kpi-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(138, 104, 31, 0.12);
}

.crm-kpi-val {
    font-family: var(--ws-font-serif);
    font-size: 1.45rem;
    font-weight: 900;
    color: #24211C;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.crm-kpi-val.gold {
    color: #8A681F;
}

.crm-kpi-label {
    font-size: 0.74rem;
    font-weight: 700;
    color: #78716C;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.crm-kpi-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #FAF5E8 0%, #F5EDD6 100%);
    border: 1px solid #DFC994;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #8A681F;
}

/* CRM Tags Styling */
.crm-tag {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    white-space: nowrap;
}

.crm-tag-vip {
    background: #FEF3C7;
    color: #92400E;
    border: 1px solid #FCD34D;
}

.crm-tag-repeat {
    background: #DBEAFE;
    color: #1E40AF;
    border: 1px solid #93C5FD;
}

.crm-tag-new {
    background: #D1FAE5;
    color: #065F46;
    border: 1px solid #6EE7B7;
}

.crm-tag-highvalue {
    background: #FCE7F3;
    color: #9D174D;
    border: 1px solid #F9A8D4;
}

.crm-tag-inactive {
    background: #F3F4F6;
    color: #4B5563;
    border: 1px solid #E5E7EB;
}

.crm-tag-regular {
    background: #FEF9C3;
    color: #854D0E;
    border: 1px solid #FDE047;
}

/* Responsive Auto-Sizing Media Queries */
@media (max-width: 1024px) {
    .crm-kpi-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

@media (max-width: 768px) {
    .ws-table-container {
        display: none !important;
    }
    #crmCustomersMobileList,
#crmProfitMobileList,
    .ws-mobile-order-cards,
    .ws-mobile-reports-cards {
        display: flex !important;
        flex-direction: column;
        gap: 12px;
    }
    .crm-kpi-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-top: 6px;
        margin-bottom: 16px;
    }
    .crm-kpi-card {
        padding: 12px 14px;
    }
    .crm-kpi-val {
        font-size: 1.2rem;
    }
    .crm-kpi-label {
        font-size: 0.68rem;
    }
    .crm-kpi-icon {
        width: 36px;
        height: 36px;
        font-size: 1.05rem;
    }
}


/* ══════════════════════════════════════════════════════════════════
   PRECISION 1-LINE HORIZONTAL SCROLLING & GAP TIGHTENING SYSTEM
   ══════════════════════════════════════════════════════════════════ */

/* Clean CRM Header & Minimalist Gap Alignment */
.ws-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding-bottom: 10px;
    margin-bottom: 12px;
    border-bottom: 1.5px solid #F0E8D9;
}

/* Tightened KPI Grid */
.crm-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 4px;
    margin-bottom: 14px;
}

.crm-kpi-card {
    background: linear-gradient(135deg, #FFFFFF 0%, #FAF8F2 100%);
    border: 1.5px solid #E8DFCE;
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 8px rgba(138, 104, 31, 0.04);
}

.crm-kpi-val {
    font-size: 1.35rem;
    font-weight: 900;
    color: #24211C;
    line-height: 1.1;
}

.crm-kpi-label {
    font-size: 0.70rem;
    font-weight: 800;
    color: #78716C;
    margin-top: 3px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.crm-kpi-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, #FAF5E8 0%, #F5EDD6 100%);
    border: 1px solid #DFC994;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8A681F;
}

/* Precision 1-Line Toolbar (Filter Pills + Search Bar side-by-side) */
.ws-filter-controls-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: nowrap;
}

/* 1-Line Smooth Horizontal Scrolling Filter Pills */
.ws-filter-pills,
.ws-1line-scroll {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 2px 0;
    flex: 1 1 auto;
    min-width: 0;
}

.ws-filter-pills::-webkit-scrollbar,
.ws-1line-scroll::-webkit-scrollbar {
    display: none;
}

.ws-filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    background: #FAF8F2;
    border: 1.2px solid #E8DFCE;
    color: #574D3F;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.ws-filter-pill:hover {
    background: #F3EBD8;
    color: #785912;
    border-color: #D4AF37;
    transform: translateY(-1px);
}

.ws-filter-pill.active {
    background: linear-gradient(135deg, #8A681F 0%, #5E4613 100%);
    border-color: #8A681F;
    color: #FFFFFF;
    box-shadow: 0 3px 10px rgba(138, 104, 31, 0.3);
}

.ws-filter-pill svg {
    flex-shrink: 0;
}

/* Luxury Search Input Alignment */
.ws-luxury-search-wrap {
    position: relative;
    display: flex;
    align-items: center;
    flex: 0 0 280px;
    max-width: 320px;
}

.ws-luxury-search-icon {
    position: absolute;
    left: 12px;
    width: 16px;
    height: 16px;
    stroke: #8A681F;
    fill: none;
    stroke-width: 2;
    pointer-events: none;
}

.ws-luxury-search-input {
    width: 100%;
    height: 38px;
    padding-left: 36px;
    padding-right: 32px;
    border-radius: 20px;
    border: 1.5px solid #E2D7C0;
    background: #FFFFFF;
    font-size: 0.80rem;
    font-weight: 600;
    color: #24211C;
    outline: none;
    transition: all 0.2s ease;
}

.ws-luxury-search-input:focus {
    border-color: #8A681F;
    box-shadow: 0 0 0 3px rgba(138, 104, 31, 0.15);
}

.ws-luxury-search-clear {
    position: absolute;
    right: 10px;
    background: transparent;
    border: none;
    color: #A8A29E;
    font-size: 0.85rem;
    cursor: pointer;
}

/* Action Buttons Precision Size */
.crm-action-btn-group {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.crm-btn-view,
.crm-btn-wa,
.crm-btn-reorder {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.crm-btn-view {
    background: #FAF6EE;
    border: 1.2px solid #D4AF37;
    color: #785912;
}

.crm-btn-view:hover {
    background: #F0E4C5;
    transform: scale(1.08);
}

.crm-btn-wa {
    background: #25D366;
    color: #FFFFFF;
}

.crm-btn-wa:hover {
    background: #1eb857;
    transform: scale(1.08);
}

.crm-btn-reorder {
    background: linear-gradient(135deg, #D4AF37 0%, #8A681F 100%);
    color: #FFFFFF;
}

.crm-btn-reorder:hover {
    background: linear-gradient(135deg, #E0BE4D 0%, #A07B28 100%);
    transform: scale(1.08);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .ws-filter-controls-row {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    .ws-luxury-search-wrap {
        flex: 1 1 auto;
        max-width: 100%;
    }
    .ws-filter-pills,
    .ws-1line-scroll {
        width: 100%;
    }
    .crm-kpi-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .crm-kpi-card {
        padding: 10px 12px;
    }
    .crm-kpi-val {
        font-size: 1.15rem;
    }
}


/* ══════════════════════════════════════════════════════════════════
   DESKTOP VS MOBILE STRICT DISPLAY SEPARATION (ZERO DUPLICATES)
   ══════════════════════════════════════════════════════════════════ */

/* 1. Default (Desktop & Tablet > 768px): Show Table, STRICTLY HIDE All Mobile Cards */
.ws-table-container {
    display: block !important;
}

.ws-mobile-orders-list,
#crmCustomersMobileList,
#crmProfitMobileList,
.ws-mobile-order-cards,
#wsMobileOrdersCards,
.ws-mobile-reports-cards,
#wsMobileReportsCards,
.ws-mob-report-card,
.ws-mobile-order-card {
    display: none !important;
}

/* 2. Mobile (<= 768px): Strictly Hide Desktop Table, SHOW Mobile Cards */
@media (max-width: 768px) {
    .ws-table-container {
        display: none !important;
    }
    
    .ws-mobile-orders-list,
    #crmCustomersMobileList,
#crmProfitMobileList,
    .ws-mobile-order-cards,
    #wsMobileOrdersCards,
    .ws-mobile-reports-cards,
    #wsMobileReportsCards {
        display: flex !important;
        flex-direction: column;
        gap: 12px;
    }
    
    .ws-mob-report-card,
    .ws-mobile-order-card {
        display: block !important;
    }
}


/* ══════════════════════════════════════════════════════════════════
   SPECIAL LEFT BORDER ACCENT ON SELECTED / ACTIVE BOXES
   ══════════════════════════════════════════════════════════════════ */

/* 1. Active / Selected Menu Item in Left Sidebar */
.ws-nav-item.active {
    background: linear-gradient(90deg, #FAF5E8 0%, #FDFBF7 100%) !important;
    color: #785912 !important;
    border: 1.2px solid #EADBBE !important;
    border-left: 4.5px solid #8A681F !important; /* Prominent special left border */
    border-radius: 4px 9px 9px 4px !important;
    font-weight: 800 !important;
    box-shadow: 0 3px 10px rgba(138, 104, 31, 0.12) !important;
    transform: translateX(3px) !important;
}

.ws-nav-item.active svg {
    stroke: #8A681F !important;
    transform: scale(1.1) !important;
}

.ws-nav-item:hover:not(.active) {
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.10) 0%, rgba(212, 175, 55, 0.02) 100%) !important;
    color: #8A681F !important;
    border-left: 3px solid rgba(138, 104, 31, 0.4) !important;
    transform: translateX(2px) !important;
}

/* 2. Selected Table Rows (When Checkbox is Checked) */
.ws-table tbody tr:has(input[type="checkbox"]:checked),
.ws-orders-table tbody tr:has(input[type="checkbox"]:checked),
.ws-table tbody tr.selected,
.ws-orders-table tbody tr.selected {
    background: #FAF6ED !important;
}

.ws-table tbody tr:has(input[type="checkbox"]:checked) td:first-child,
.ws-orders-table tbody tr:has(input[type="checkbox"]:checked) td:first-child,
.ws-table tbody tr.selected td:first-child,
.ws-orders-table tbody tr.selected td:first-child {
    border-left: 4.5px solid #8A681F !important;
}

/* 3. Mobile Selected & Active Cards */
.ws-mobile-order-card,
.ws-mob-report-card {
    border-left: 4.5px solid #8A681F !important;
    border-radius: 4px 12px 12px 4px !important;
}


/* ══════════════════════════════════════════════════════════════════
   FLOATING LEFT INDICATOR BAR WITH GAP & LUXURY SELECTED BOX
   ══════════════════════════════════════════════════════════════════ */

.ws-nav-list {
    list-style: none;
    padding: 4px 10px 4px 15px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.ws-nav-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 10px;
    color: var(--ws-text-sub, #574D3F);
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1.2px solid transparent;
}

/* Hover Unselected */
.ws-nav-item:hover:not(.active) {
    background: linear-gradient(135deg, #FAF7F0 0%, #F5EFE0 100%) !important;
    color: #8A681F !important;
    border-color: rgba(212, 175, 55, 0.25) !important;
    transform: translateX(2px);
}

/* Active / Selected Box Styling */
.ws-nav-item.active {
    background: linear-gradient(135deg, #FAF5E8 0%, #F7EFD8 100%) !important;
    color: #785912 !important;
    border: 1.2px solid #E2D1A6 !important;
    border-radius: 10px !important;
    font-weight: 800 !important;
    box-shadow: 0 4px 14px rgba(138, 104, 31, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
    transform: translateX(2px) !important;
}

/* Floating Left Indicator Bar with Distinct Gap from Selected Box */
.ws-nav-item.active::before {
    content: '';
    position: absolute;
    left: -9px; /* Gap between left indicator bar and selected box */
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 60%;
    min-height: 20px;
    max-height: 26px;
    background: linear-gradient(180deg, #D4AF37 0%, #8A681F 100%) !important;
    border-radius: 4px !important;
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.5), 0 2px 4px rgba(138, 104, 31, 0.3) !important;
}

.ws-nav-item.active svg {
    stroke: #8A681F !important;
    transform: scale(1.12) !important;
}

.ws-nav-item.active .ws-nav-badge {
    background: #8A681F !important;
    color: #FFFFFF !important;
    box-shadow: 0 2px 6px rgba(138, 104, 31, 0.3) !important;
}


/* ══════════════════════════════════════════════════════════════════
   UNIFIED LUXURY TABLE BOX LINING & CRYSTAL CLEAR VISIBILITY
   ══════════════════════════════════════════════════════════════════ */

.ws-table-container {
    width: 100%;
    overflow-x: auto;
    border-radius: 14px;
    border: 1.5px solid #E8DFCE;
    box-shadow: 0 4px 18px rgba(138, 104, 31, 0.06);
    background: #FFFFFF;
    margin-top: 14px;
    margin-bottom: 20px;
}

.ws-table,
.ws-orders-table,
#crmProfitTable,
#crmCustomersTable,
#wsReportsTable,
#wsOrdersTable,
#crmFollowupsTable {
    width: 100%;
    min-width: 960px;
    border-collapse: collapse !important;
    text-align: left;
    font-size: 0.84rem;
    background: #FFFFFF;
}

.ws-table thead,
.ws-orders-table thead {
    background: linear-gradient(180deg, #FAF6EE 0%, #F5EEDD 100%) !important;
}

.ws-table th,
.ws-orders-table th {
    background: linear-gradient(180deg, #FAF6EE 0%, #F5EEDD 100%) !important;
    color: #785912 !important;
    font-weight: 800 !important;
    font-size: 0.76rem !important;
    padding: 14px 18px !important;
    border-bottom: 2px solid #DFC994 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.6px !important;
    white-space: nowrap !important;
}

.ws-table td,
.ws-orders-table td {
    padding: 14px 18px !important;
    border-bottom: 1px solid #F1ECE2 !important;
    color: #24211C !important;
    vertical-align: middle !important;
}

.ws-table tbody tr:hover td,
.ws-orders-table tbody tr:hover td {
    background: #FAF7F0 !important;
}

.ws-table tbody tr:last-child td,
.ws-orders-table tbody tr:last-child td {
    border-bottom: none !important;
}

/* Margin and Tag Badges */
.crm-tag {
    display: inline-block;
    padding: 4px 9px;
    border-radius: 6px;
    font-size: 0.70rem;
    font-weight: 800;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    white-space: nowrap;
}


/* ══════════════════════════════════════════════════════════════════
   ANIMATED LUXURY PROFIT BADGE & MARGIN LEDGER STYLING
   ══════════════════════════════════════════════════════════════════ */

.ws-anim-profit-badge {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
    border: 1.5px solid rgba(217, 119, 6, 0.4);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(217, 119, 6, 0.22);
    animation: profitBadgePulse 3s ease-in-out infinite alternate;
}

.ws-anim-profit-svg {
    width: 20px;
    height: 20px;
    filter: drop-shadow(0 1px 2px rgba(180, 83, 9, 0.3));
    animation: profitArrowBounce 2s ease-in-out infinite;
}

@keyframes profitBadgePulse {
    0% {
        box-shadow: 0 3px 8px rgba(217, 119, 6, 0.18);
        transform: scale(1);
    }
    100% {
        box-shadow: 0 5px 16px rgba(217, 119, 6, 0.35);
        transform: scale(1.04);
    }
}

@keyframes profitArrowBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-2px);
    }
}


/* ══════════════════════════════════════════════════════════════════
   HIGH-DEFINITION CRYSTAL CLEAR ANIMATED PROFIT SVG BADGE
   ══════════════════════════════════════════════════════════════════ */

.ws-anim-profit-badge {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: #FFFFFF !important;
    border: 1.8px solid #DFC994 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(138, 104, 31, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.ws-anim-profit-badge:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 18px rgba(138, 104, 31, 0.22) !important;
}

.ws-anim-profit-svg {
    width: 22px;
    height: 22px;
    display: block;
}

.ws-anim-tip-pulse {
    animation: tipBeaconPulse 1.8s ease-in-out infinite;
    transform-origin: 22px 6px;
}

@keyframes tipBeaconPulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 2px rgba(16, 185, 129, 0.4));
    }
    50% {
        transform: scale(1.35);
        filter: drop-shadow(0 0 8px rgba(16, 185, 129, 0.9));
    }
}


/* ══════════════════════════════════════════════════════════════════
   ANIMATED INDIAN RUPEE (₹) COIN & KPI CARD STYLING
   ══════════════════════════════════════════════════════════════════ */

.ws-anim-rupee-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%) !important;
    border: 1.5px solid rgba(217, 119, 6, 0.45) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.22);
    animation: rupeeIconGlow 3s ease-in-out infinite alternate;
}

.ws-anim-rupee-svg {
    width: 24px;
    height: 24px;
    display: block;
    animation: rupeeSpinTilt 4s ease-in-out infinite;
    filter: drop-shadow(0 1px 2px rgba(180, 83, 9, 0.35));
}

@keyframes rupeeIconGlow {
    0% {
        box-shadow: 0 3px 8px rgba(217, 119, 6, 0.18);
        transform: scale(1);
    }
    100% {
        box-shadow: 0 6px 18px rgba(217, 119, 6, 0.38);
        transform: scale(1.05);
    }
}

@keyframes rupeeSpinTilt {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    25% {
        transform: rotate(-6deg) scale(1.05);
    }
    75% {
        transform: rotate(6deg) scale(1.05);
    }
}