/* ==========================================================================
   Stock Manager Advance - Modern Next-Gen Shop Theme Design System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --shop-font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    /* Core Color Tokens */
    --primary: #4f46e5;
    --primary-light: #6366f1;
    --primary-dark: #3730a3;
    --primary-gradient: linear-gradient(135deg, #4f46e5 0%, #6366f1 50%, #8b5cf6 100%);
    --primary-glow: rgba(79, 70, 229, 0.35);
    
    --secondary-gradient: linear-gradient(135deg, #0ea5e9 0%, #38bdf8 100%);
    --accent-emerald: #10b981;
    --emerald-gradient: linear-gradient(135deg, #059669 0%, #10b981 100%);
    --accent-rose: #f43f5e;
    --rose-gradient: linear-gradient(135deg, #e11d48 0%, #f43f5e 100%);
    --accent-amber: #f59e0b;
    --amber-gradient: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
    --gold: #fbbf24;

    /* Surface & Neutral Tokens */
    --surface-bg: #f8fafc;
    --surface-card: #ffffff;
    --surface-alt: #f1f5f9;
    --surface-dark: #0f172a;
    --surface-darker: #090d16;
    --border-color: #e2e8f0;
    --border-subtle: rgba(226, 232, 240, 0.85);
    --border-dark: rgba(255, 255, 255, 0.1);

    /* Text Colors */
    --text-heading: #0f172a;
    --text-body: #334155;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --text-white: #ffffff;

    /* Elevation & Shadows */
    --shadow-xs: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
    --shadow-sm: 0 2px 6px -1px rgba(15, 23, 42, 0.06), 0 1px 4px -1px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 8px 20px -3px rgba(15, 23, 42, 0.07), 0 4px 8px -2px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 16px 36px -4px rgba(15, 23, 42, 0.12), 0 6px 14px -3px rgba(15, 23, 42, 0.06);
    --shadow-card: 0 8px 24px -4px rgba(15, 23, 42, 0.06), 0 2px 8px -2px rgba(15, 23, 42, 0.04);
    --shadow-card-hover: 0 22px 40px -10px rgba(79, 70, 229, 0.22), 0 8px 16px -4px rgba(15, 23, 42, 0.06);

    /* Radiuses */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --radius-full: 9999px;
}

/* Base Document Styles */
body, #wrapper {
    font-family: var(--shop-font) !important;
    background-color: var(--surface-bg) !important;
    color: var(--text-body) !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
}

#wrapper.blue {
    background: transparent !important;
}

.text-gold { color: var(--gold) !important; }
.text-emerald { color: var(--accent-emerald) !important; }
.text-cyan { color: #06b6d4 !important; }
.text-sky { color: #0284c7 !important; }
.text-purple { color: #a855f7 !important; }

/* ==========================================================================
   Header Styling
   ========================================================================== */

/* Top Utility Header */
.top-header {
    background: var(--surface-dark) !important;
    border-bottom: 1px solid var(--border-dark) !important;
    padding: 7px 0 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #cbd5e1 !important;
}

.top-header a {
    color: #cbd5e1 !important;
    transition: color 0.2s ease;
}

.top-header a:hover {
    color: #ffffff !important;
    text-decoration: none !important;
}

.top-header .nav > li > a {
    padding: 4px 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.top-header .dropdown-menu {
    border-radius: var(--radius-md) !important;
    border: 1px solid var(--border-color) !important;
    box-shadow: var(--shadow-lg) !important;
    padding: 8px !important;
    min-width: 180px !important;
    margin-top: 6px !important;
}

.top-header .dropdown-menu > li > a {
    border-radius: var(--radius-sm) !important;
    padding: 8px 12px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: var(--text-body) !important;
    transition: all 0.15s ease !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.top-header .dropdown-menu > li > a:hover {
    background: var(--surface-alt) !important;
    color: var(--primary) !important;
}

/* Wishlist Badge in Top Header */
#total-wishlist {
    background: var(--primary-light) !important;
    color: #ffffff !important;
    padding: 1px 7px !important;
    border-radius: var(--radius-full) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
}

/* Login Button in Top Header */
.top-header #dropdownLogin {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    border-radius: var(--radius-full) !important;
    padding: 4px 14px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    transition: all 0.2s ease !important;
}

.top-header #dropdownLogin:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

/* Main Brand Header */
.main-header {
    background: #ffffff !important;
    border-bottom: 1px solid var(--border-color) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02) !important;
    padding: 16px 0 !important;
}

.main-header .logo img {
    max-height: 48px !important;
    width: auto !important;
    object-fit: contain !important;
    transition: transform 0.2s ease;
}

.main-header .logo a:hover img {
    transform: scale(1.02);
}

/* Modern Search Box */
.search-box {
    position: relative !important;
}

.search-box .input-group {
    background: var(--surface-alt) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: var(--radius-full) !important;
    padding: 3px !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: flex !important;
    align-items: center !important;
}

.search-box .input-group:focus-within {
    background: #ffffff !important;
    border-color: var(--primary-light) !important;
    box-shadow: 0 0 0 4px var(--primary-glow) !important;
}

.search-box input#product-search {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    height: 42px !important;
    padding: 0 18px !important;
    font-size: 14px !important;
    color: var(--text-heading) !important;
    font-weight: 500 !important;
    width: 100% !important;
}

.search-box input#product-search:focus {
    outline: none !important;
}

.search-box .input-group-btn {
    width: auto !important;
    padding-right: 2px !important;
}

.search-box .btn-search {
    background: var(--primary-gradient) !important;
    border: none !important;
    color: #ffffff !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: var(--radius-full) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3) !important;
    transition: all 0.2s ease !important;
}

.search-box .btn-search:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.4) !important;
}

/* Modern Shopping Cart Pill Button */
.cart-btn button.shopping-cart {
    background: var(--primary-gradient) !important;
    border: none !important;
    color: #ffffff !important;
    height: 48px !important;
    border-radius: var(--radius-full) !important;
    padding: 0 20px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    width: 100% !important;
}

.cart-btn button.shopping-cart:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.4) !important;
    color: #ffffff !important;
}

.cart-btn .cart-total-items {
    background: rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
    padding: 2px 10px !important;
    border-radius: var(--radius-full) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
}

/* Cart Dropdown Menu */
.cart-btn .dropdown-menu {
    border-radius: var(--radius-lg) !important;
    border: 1px solid var(--border-color) !important;
    box-shadow: var(--shadow-lg) !important;
    padding: 16px !important;
    min-width: 320px !important;
    margin-top: 10px !important;
}

#cart-contents table.table-cart {
    margin-bottom: 12px !important;
}

#cart-contents .btn-group a.btn {
    border-radius: var(--radius-sm) !important;
    font-weight: 600 !important;
    padding: 8px 14px !important;
}

/* ==========================================================================
   Navigation Bar Styling
   ========================================================================== */

.navbar.navbar-default {
    background: #ffffff !important;
    border: none !important;
    border-bottom: 1px solid var(--border-color) !important;
    margin-bottom: 0 !important;
    min-height: 52px !important;
    box-shadow: 0 4px 12px -2px rgba(15, 23, 42, 0.03) !important;
}

.navbar.navbar-default .navbar-nav > li > a {
    color: var(--text-heading) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    padding: 16px 18px !important;
    transition: all 0.2s ease !important;
    position: relative !important;
}

.navbar.navbar-default .navbar-nav > li > a:hover,
.navbar.navbar-default .navbar-nav > li.active > a {
    color: var(--primary) !important;
    background: transparent !important;
}

.navbar.navbar-default .navbar-nav > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 18px;
    right: 18px;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 3px 3px 0 0;
    opacity: 0;
    transform: translateY(3px);
    transition: all 0.2s ease;
}

.navbar.navbar-default .navbar-nav > li.active > a::after,
.navbar.navbar-default .navbar-nav > li > a:hover::after {
    opacity: 1;
    transform: translateY(0);
}

.navbar.navbar-default .dropdown-menu {
    border-radius: var(--radius-md) !important;
    border: 1px solid var(--border-color) !important;
    box-shadow: var(--shadow-lg) !important;
    padding: 8px !important;
    min-width: 220px !important;
}

.navbar.navbar-default .dropdown-menu > li > a {
    border-radius: var(--radius-sm) !important;
    padding: 9px 14px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: var(--text-body) !important;
    transition: all 0.15s ease !important;
}

.navbar.navbar-default .dropdown-menu > li > a:hover {
    background: var(--surface-alt) !important;
    color: var(--primary) !important;
    transform: translateX(4px);
}

/* ==========================================================================
   Ultra-Premium 3D Hero Showcase Banner
   ========================================================================== */

.shop-hero-banner-premium {
    position: relative;
    background: linear-gradient(135deg, #090d16 0%, #0f172a 35%, #1e1b4b 75%, #312e81 100%);
    border-radius: var(--radius-xl);
    padding: 48px 44px;
    margin: 26px 0 24px 0;
    color: #ffffff;
    overflow: hidden;
    box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

/* Ambient Glowing Background Orbs */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    filter: blur(80px);
}

.glow-orb-1 {
    top: -20%;
    right: 25%;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.35) 0%, rgba(139, 92, 246, 0) 70%);
    animation: orbPulse 8s ease-in-out infinite alternate;
}

.glow-orb-2 {
    bottom: -30%;
    right: -10%;
    width: 440px;
    height: 440px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.3) 0%, rgba(6, 182, 212, 0) 70%);
    animation: orbPulse 7s ease-in-out 1s infinite alternate;
}

.glow-orb-3 {
    top: 20%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.25) 0%, rgba(168, 85, 247, 0) 70%);
}

@keyframes orbPulse {
    0% { transform: scale(1) translate(0, 0); opacity: 0.8; }
    50% { transform: scale(1.15) translate(15px, -15px); opacity: 1; }
    100% { transform: scale(0.95) translate(-10px, 10px); opacity: 0.75; }
}

.shop-hero-left {
    position: relative;
    z-index: 3;
    padding-right: 20px;
}

/* Badge with Glowing Pulse */
.shop-hero-badge-glow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    color: #e0e7ff;
    letter-spacing: 0.4px;
    margin-bottom: 18px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.shop-hero-badge-glow .pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 10px #10b981, 0 0 20px #10b981;
    animation: livePulse 2s infinite ease-in-out;
}

@keyframes livePulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.6; }
}

/* Hero Typography with Gradient Shimmer */
.shop-hero-title-premium {
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -1.2px;
    line-height: 1.18;
    margin: 0 0 16px 0;
    color: #ffffff;
}

.gradient-shimmer-text {
    background: linear-gradient(90deg, #93c5fd 0%, #c084fc 35%, #38bdf8 70%, #93c5fd 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmerText 5s linear infinite;
    display: inline-block;
}

@keyframes shimmerText {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.shop-hero-subtitle-premium {
    font-size: 15px;
    color: #cbd5e1;
    margin: 0 0 28px 0;
    max-width: 520px;
    line-height: 1.65;
    font-weight: 400;
}

/* CTA Buttons with Shimmer Light Sweep */
.shop-hero-cta-group {
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.btn-shimmer-primary {
    position: relative;
    background: var(--primary-gradient) !important;
    border: none !important;
    color: #ffffff !important;
    padding: 13px 26px !important;
    border-radius: var(--radius-full) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    box-shadow: 0 8px 24px rgba(79, 70, 229, 0.45) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    text-decoration: none !important;
    overflow: hidden !important;
}

.btn-shimmer-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: skewX(-25deg);
    animation: buttonShine 4s infinite;
}

@keyframes buttonShine {
    0%, 60% { left: -100%; }
    100% { left: 200%; }
}

.btn-shimmer-primary:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 30px rgba(79, 70, 229, 0.6) !important;
    color: #ffffff !important;
}

.btn-shimmer-primary .arrow-icon {
    transition: transform 0.2s ease;
}

.btn-shimmer-primary:hover .arrow-icon {
    transform: translateX(4px);
}

.btn-glass-secondary {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    padding: 13px 24px !important;
    border-radius: var(--radius-full) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    transition: all 0.25s ease !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.btn-glass-secondary:hover {
    background: rgba(255, 255, 255, 0.18) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.35) !important;
    transform: translateY(-2px);
}

/* Trust Metric Badges */
.hero-trust-metrics {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.metric-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #e2e8f0;
}

/* Right 3D Showcase Graphic & Floating Glass Cards */
.shop-hero-right {
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-3d-wrapper {
    position: relative;
    width: 100%;
    max-width: 440px;
    animation: float3D 6s ease-in-out infinite;
}

@keyframes float3D {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(0.8deg); }
}

.hero-3d-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 30px rgba(99, 102, 241, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: block;
}

/* Floating Glassmorphic Pill Cards */
.floating-glass-card {
    position: absolute;
    background: rgba(15, 23, 42, 0.78);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
    z-index: 5;
    transition: transform 0.25s ease;
}

.floating-glass-card:hover {
    transform: scale(1.04);
}

.card-top-right {
    top: -12px;
    right: -10px;
    animation: floatPill1 5s ease-in-out infinite alternate;
}

.card-bottom-left {
    bottom: -15px;
    left: -15px;
    animation: floatPill2 5s ease-in-out 1s infinite alternate;
}

@keyframes floatPill1 {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-6px, 8px); }
}

@keyframes floatPill2 {
    0% { transform: translate(0, 0); }
    100% { transform: translate(6px, -8px); }
}

.floating-glass-card .card-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

.floating-glass-card .card-icon.gold-bg {
    background: rgba(251, 191, 36, 0.18);
}

.floating-glass-card .card-icon.emerald-bg {
    background: rgba(16, 185, 129, 0.18);
}

.floating-glass-card .card-info {
    line-height: 1.25;
}

.floating-glass-card .card-info .stars {
    color: var(--gold);
    font-size: 13px;
    font-weight: 700;
}

.floating-glass-card .card-info .reviews-count {
    color: #94a3b8;
    font-size: 11px;
    font-weight: 500;
}

.floating-glass-card .card-info .title {
    display: block;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
}

.floating-glass-card .card-info .desc {
    color: #34d399;
    font-size: 11px;
    font-weight: 600;
}

/* ==========================================================================
   Flash Deal / Countdown Timer Banner Strip
   ========================================================================== */

.flash-deal-strip {
    background: linear-gradient(90deg, #1e1b4b 0%, #312e81 45%, #4338ca 100%);
    border: 1px solid rgba(99, 102, 241, 0.35);
    border-radius: var(--radius-lg);
    padding: 16px 24px;
    margin: 0 0 32px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ffffff;
    box-shadow: 0 10px 25px -5px rgba(67, 56, 202, 0.25);
    flex-wrap: wrap;
    gap: 16px;
}

.flash-left {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.flash-badge {
    background: var(--rose-gradient);
    color: #ffffff;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(244, 63, 94, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.flash-text {
    font-size: 14px;
    font-weight: 600;
    color: #e0e7ff;
}

.flash-timer-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.timer-box {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
    padding: 4px 10px;
    text-align: center;
    min-width: 48px;
}

.timer-box .number {
    display: block;
    font-size: 16px;
    font-weight: 800;
    color: #38bdf8;
    line-height: 1;
}

.timer-box .label {
    display: block;
    font-size: 9px;
    font-weight: 600;
    color: #94a3b8;
    margin-top: 2px;
}

.timer-colon {
    font-weight: 800;
    font-size: 18px;
    color: #818cf8;
}

.btn-claim-deal {
    background: var(--emerald-gradient) !important;
    color: #ffffff !important;
    padding: 8px 18px !important;
    border-radius: var(--radius-full) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    margin-left: 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
    transition: all 0.2s ease;
}

.btn-claim-deal:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.5);
    color: #ffffff !important;
}

/* ==========================================================================
   Trust / Value Propositions Bento Strip
   ========================================================================== */

.shop-value-props {
    margin: 0 0 36px 0;
}

.value-prop-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 22px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-sm);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.value-prop-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.value-prop-card.prop-indigo:hover { border-color: #818cf8; box-shadow: 0 12px 25px rgba(99, 102, 241, 0.15); }
.value-prop-card.prop-emerald:hover { border-color: #34d399; box-shadow: 0 12px 25px rgba(16, 185, 129, 0.15); }
.value-prop-card.prop-sky:hover { border-color: #38bdf8; box-shadow: 0 12px 25px rgba(14, 165, 233, 0.15); }
.value-prop-card.prop-amber:hover { border-color: #fbbf24; box-shadow: 0 12px 25px rgba(245, 158, 11, 0.15); }

.value-prop-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.value-prop-icon.indigo { background: rgba(79, 70, 229, 0.1); color: var(--primary); }
.value-prop-icon.emerald { background: rgba(16, 185, 129, 0.1); color: var(--accent-emerald); }
.value-prop-icon.sky { background: rgba(14, 165, 233, 0.1); color: #0284c7; }
.value-prop-icon.amber { background: rgba(245, 158, 11, 0.1); color: var(--accent-amber); }

.value-prop-text h4 {
    margin: 0 0 4px 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-heading);
}

.value-prop-text p {
    margin: 0;
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
}

/* ==========================================================================
   Categories Showcase Grid
   ========================================================================== */

.shop-categories-section {
    margin-bottom: 40px;
}

.section-header-modern {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 24px;
}

.section-header-modern .section-tag {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    margin-bottom: 4px;
    display: block;
}

.section-header-modern h2 {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.6px;
    color: var(--text-heading);
    margin: 0;
}

.section-header-modern a.view-all-link {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.section-header-modern a.view-all-link:hover {
    transform: translateX(4px);
    color: var(--primary-dark);
}

.category-card-premium {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none !important;
    box-shadow: var(--shadow-xs);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 15px;
    height: 100%;
}

.category-card-premium:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(79, 70, 229, 0.12);
    border-color: var(--primary-light);
}

.cat-icon-disc {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1) 0%, rgba(139, 92, 246, 0.15) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 20px;
    margin-bottom: 12px;
    transition: all 0.25s ease;
}

.category-card-premium:hover .cat-icon-disc {
    background: var(--primary-gradient);
    color: #ffffff;
    transform: scale(1.1) rotate(6deg);
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.35);
}

.cat-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 4px;
    display: block;
    width: 100%;
}

.cat-subtitle {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
}

.category-card-premium:hover .cat-subtitle {
    color: var(--primary);
}

/* ==========================================================================
   Ultra-Premium Product Cards
   ========================================================================== */

.page-contents {
    padding: 20px 0 40px 0 !important;
}

.product-card-premium {
    background: #ffffff !important;
    border: 1px solid var(--border-color) !important;
    border-radius: var(--radius-lg) !important;
    overflow: hidden !important;
    box-shadow: var(--shadow-card) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    margin-bottom: 30px !important;
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
    height: 100% !important;
}

.product-card-premium:hover {
    transform: translateY(-8px) !important;
    box-shadow: var(--shadow-card-hover) !important;
    border-color: rgba(99, 102, 241, 0.4) !important;
}

/* Card Header with Badges */
.card-badges-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 14px 14px 0 14px !important;
    z-index: 5 !important;
}

.badge-promo-pill {
    background: var(--rose-gradient) !important;
    color: #ffffff !important;
    padding: 3px 9px !important;
    border-radius: var(--radius-full) !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 4px 10px rgba(244, 63, 94, 0.35) !important;
}

.badge-new-pill {
    background: var(--primary-gradient) !important;
    color: #ffffff !important;
    padding: 3px 9px !important;
    border-radius: var(--radius-full) !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.35) !important;
}

.btn-wishlist-quick {
    background: rgba(255, 255, 255, 0.8) !important;
    border: 1px solid var(--border-color) !important;
    color: var(--text-muted) !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 14px !important;
    box-shadow: var(--shadow-xs) !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
    padding: 0 !important;
}

.btn-wishlist-quick:hover {
    color: #f43f5e !important;
    border-color: #f43f5e !important;
    transform: scale(1.15) !important;
}

/* Product Image Container & Sizing Fix */
.product-img-wrapper {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 200px !important;
    width: calc(100% - 24px) !important;
    margin: 8px 12px 0 12px !important;
    padding: 12px !important;
    background: #f8fafc !important;
    border-radius: var(--radius-md) !important;
    overflow: hidden !important;
    text-decoration: none !important;
    position: relative !important;
    transition: background 0.25s ease !important;
}

.product-card-premium:hover .product-img-wrapper {
    background: #f1f5f9 !important;
}

.product-main-img {
    max-height: 176px !important;
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    aspect-ratio: 1 / 1 !important;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    margin: auto !important;
    display: block !important;
}

.product-card-premium:hover .product-main-img {
    transform: scale(1.08) !important;
}

/* Standard Shop Catalog / Results / Featured Products Image Fix */
.product-image {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 200px !important;
    width: 100% !important;
    background: #f8fafc !important;
    border-radius: var(--radius-md) !important;
    padding: 12px !important;
    overflow: hidden !important;
    margin-bottom: 12px !important;
}

.product-image a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
}

.product-image img,
.featured-products .product img,
.featured-products .details img {
    max-height: 176px !important;
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    margin: auto !important;
    display: block !important;
    transition: transform 0.3s ease !important;
}

.featured-products .product:hover img,
.product-image:hover img {
    transform: scale(1.05) !important;
}

/* Product Detail Page Image Slider & Gallery Fix */
#photo-carousel .carousel-inner.cont-slider {
    min-height: 360px !important;
    max-height: 460px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #ffffff !important;
    border-radius: var(--radius-lg) !important;
    border: 1px solid var(--border-color) !important;
    padding: 24px !important;
    box-shadow: var(--shadow-sm) !important;
}

#photo-carousel .carousel-inner .item {
    text-align: center !important;
    width: 100% !important;
}

#photo-carousel .carousel-inner .item a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 380px !important;
    width: 100% !important;
}

#photo-carousel .carousel-inner .item img {
    max-height: 360px !important;
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    margin: auto !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

#photo-carousel .carousel-indicators {
    position: static !important;
    margin: 16px 0 0 0 !important;
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
}

#photo-carousel .carousel-indicators li {
    width: 64px !important;
    height: 64px !important;
    border-radius: var(--radius-md) !important;
    border: 2px solid var(--border-color) !important;
    overflow: hidden !important;
    background: #ffffff !important;
    cursor: pointer !important;
    margin: 0 !important;
    text-indent: 0 !important;
    padding: 3px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
}

#photo-carousel .carousel-indicators li.active {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2) !important;
    transform: scale(1.06) !important;
}

#photo-carousel .carousel-indicators li img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    border-radius: var(--radius-sm) !important;
}

/* Cart & Mini-cart Product Thumbnails */
.cart-item-image img,
#cart-table img,
.wishlist-table img {
    width: 56px !important;
    height: 56px !important;
    object-fit: contain !important;
    border-radius: var(--radius-sm) !important;
    background: #f8fafc !important;
    padding: 4px !important;
    border: 1px solid var(--border-color) !important;
    display: inline-block !important;
}

/* Product Body */
.product-body-info {
    padding: 12px 18px 18px 18px !important;
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
}

.product-cat-tag {
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    color: var(--primary) !important;
    margin-bottom: 4px !important;
    display: block !important;
}

.product-title-premium {
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    margin: 0 0 6px 0 !important;
    height: 40px !important;
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
}

.product-title-premium a {
    color: var(--text-heading) !important;
    text-decoration: none !important;
    transition: color 0.15s ease !important;
}

.product-title-premium a:hover {
    color: var(--primary) !important;
}

/* Ratings Row */
.product-ratings-row {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 11px !important;
    margin-bottom: 10px !important;
}

.stars-gold {
    color: var(--gold) !important;
    font-size: 12px !important;
}

.rating-num {
    font-weight: 700 !important;
    color: var(--text-heading) !important;
}

.stock-status {
    margin-left: auto !important;
    color: var(--accent-emerald) !important;
    font-weight: 600 !important;
}

/* Price Box */
.product-price-box {
    display: flex !important;
    align-items: baseline !important;
    gap: 8px !important;
    margin-bottom: 14px !important;
}

.product-price-box .current-price {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: var(--primary) !important;
    letter-spacing: -0.5px !important;
}

.product-price-box .old-price del {
    font-size: 13px !important;
    font-weight: 500 !important;
    color: var(--text-light) !important;
}

/* Add to Cart Button */
.btn-cart-premium {
    background: var(--primary-gradient) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: var(--radius-md) !important;
    padding: 11px 16px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.28) !important;
    transition: all 0.25s ease !important;
    cursor: pointer !important;
    text-transform: none !important;
    position: relative !important;
    overflow: hidden !important;
}

.btn-cart-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transform: skewX(-20deg);
    transition: left 0.5s ease;
}

.btn-cart-premium:hover::before {
    left: 200%;
}

.btn-cart-premium:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.45) !important;
    background: linear-gradient(135deg, #4338ca 0%, #6366f1 100%) !important;
    color: #ffffff !important;
}

/* ==========================================================================
   Social Proof Strip
   ========================================================================== */

.social-proof-strip {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow-sm);
    flex-wrap: wrap;
    gap: 16px;
}

.proof-avatars-cluster {
    display: flex;
    align-items: center;
}

.avatar-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #e2e8f0;
    border: 2px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: #64748b;
    margin-left: -10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.avatar-circle.av-1 { margin-left: 0; background: linear-gradient(135deg, #a5b4fc, #6366f1); color: #fff; }
.avatar-circle.av-2 { background: linear-gradient(135deg, #38bdf8, #0284c7); color: #fff; }
.avatar-circle.av-3 { background: linear-gradient(135deg, #34d399, #059669); color: #fff; }
.avatar-circle.av-4 { background: linear-gradient(135deg, #fbbf24, #d97706); color: #fff; }

.avatar-count {
    background: var(--surface-dark);
    color: #ffffff;
    border: 2px solid #ffffff;
    border-radius: var(--radius-full);
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    margin-left: -6px;
}

.proof-text-block strong {
    display: block;
    color: var(--text-heading);
    font-size: 14px;
}

.proof-text-block p {
    margin: 0;
    font-size: 12px;
    color: var(--text-muted);
}

.proof-stars {
    color: var(--gold);
    font-size: 20px;
    letter-spacing: 2px;
}

/* ==========================================================================
   Newsletter & Promotion Banner
   ========================================================================== */

.shop-cta-banner-premium {
    background: linear-gradient(135deg, #090d16 0%, #1e1b4b 45%, #4338ca 100%);
    border-radius: var(--radius-xl);
    padding: 44px 44px;
    margin: 30px 0 30px 0;
    color: #ffffff;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-glow-mesh {
    position: absolute;
    top: -50%;
    right: 10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.4) 0%, rgba(99, 102, 241, 0) 70%);
    pointer-events: none;
}

.cta-content-left {
    position: relative;
    z-index: 2;
}

.cta-badge {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fbbf24;
    padding: 5px 14px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}

.cta-heading {
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 10px 0;
    color: #ffffff;
    letter-spacing: -0.6px;
}

.cta-subtext {
    font-size: 14px;
    color: #c7d2fe;
    margin: 0 0 24px 0;
    max-width: 520px;
}

.newsletter-form-premium {
    display: flex;
    gap: 10px;
    max-width: 480px;
}

.newsletter-form-premium input {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-full);
    padding: 12px 22px;
    color: #ffffff;
    font-size: 14px;
    width: 100%;
    transition: all 0.2s ease;
}

.newsletter-form-premium input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.2);
    border-color: #818cf8;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.3);
}

.newsletter-form-premium input::placeholder {
    color: #a5b4fc;
}

.btn-newsletter-submit {
    background: #ffffff;
    color: var(--primary-dark);
    border: none;
    border-radius: var(--radius-full);
    padding: 12px 26px;
    font-weight: 700;
    font-size: 14px;
    white-space: nowrap;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.btn-newsletter-submit:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Floating Gift Box in CTA */
.cta-floating-gift-box {
    position: relative;
    display: inline-block;
    padding-right: 30px;
}

.icon-gift-back {
    font-size: 140px;
    color: rgba(255, 255, 255, 0.1);
}

.vip-benefit-card {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.vip-benefit-card strong {
    display: block;
    color: #ffffff;
    font-size: 13px;
}

.vip-benefit-card span {
    color: #94a3b8;
    font-size: 11px;
}

/* ==========================================================================
   Modern Footer Component
   ========================================================================== */

.footer {
    background: var(--surface-dark) !important;
    color: #94a3b8 !important;
    padding-top: 50px !important;
    border-top: 1px solid var(--border-dark) !important;
}

.footer .title-footer span {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    letter-spacing: -0.3px !important;
    border-bottom: 2px solid var(--primary-light) !important;
    padding-bottom: 6px !important;
    display: inline-block !important;
    margin-bottom: 18px !important;
}

.footer p {
    color: #94a3b8 !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
}

.footer a {
    color: #cbd5e1 !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
}

.footer a:hover {
    color: #ffffff !important;
    transform: translateX(3px) !important;
}

.footer ul.list-inline > li {
    padding: 0 10px 0 0 !important;
}

.footer ul.list-inline > li a {
    font-size: 13px !important;
    font-weight: 500 !important;
}

/* Social Icon Circles */
.footer ul.follow-us {
    display: flex !important;
    gap: 10px !important;
    padding: 0 !important;
    list-style: none !important;
    margin-top: 14px !important;
}

.footer ul.follow-us > li > a {
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffffff !important;
    font-size: 14px !important;
    transition: all 0.2s ease !important;
}

.footer ul.follow-us > li > a:hover {
    background: var(--primary-gradient) !important;
    border-color: transparent !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.4) !important;
}

/* Footer Bottom Bar */
.footer-bottom {
    background: var(--surface-darker) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
    padding: 18px 0 !important;
    color: #64748b !important;
    font-size: 13px !important;
}

.footer-bottom .copyright {
    color: #64748b !important;
}

/* Back to Top Floating Button */
.back-to-top {
    position: fixed !important;
    bottom: 25px !important;
    right: 25px !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    background: var(--primary-gradient) !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4) !important;
    z-index: 99 !important;
    transition: all 0.25s ease !important;
    font-size: 18px !important;
}

.back-to-top:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 25px rgba(79, 70, 229, 0.6) !important;
    color: #ffffff !important;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */

@media (max-width: 991px) {
    .shop-hero-title-premium {
        font-size: 32px !important;
    }
    .shop-hero-banner-premium {
        padding: 36px 24px !important;
    }
    .shop-hero-right {
        margin-top: 30px;
    }
    .value-prop-card {
        margin-bottom: 14px !important;
    }
    .flash-deal-strip {
        flex-direction: column;
        align-items: flex-start;
    }
    .flash-timer-wrapper {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 767px) {
    .top-header {
        display: none !important;
    }
    .main-header {
        padding: 12px 0 !important;
    }
    .shop-hero-title-premium {
        font-size: 26px !important;
    }
    .shop-hero-banner-premium {
        padding: 26px 18px !important;
    }
    .shop-hero-cta-group {
        flex-direction: column !important;
        align-items: stretch !important;
    }
    .btn-shimmer-primary, .btn-glass-secondary {
        text-align: center !important;
        justify-content: center !important;
    }
    .newsletter-form-premium {
        flex-direction: column !important;
    }
    .social-proof-strip {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }
    .floating-glass-card {
        display: none;
    }
}

/* Modern Product Card Design for Grid */
.product-card-modern {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid #f1f5f9;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.product-card-modern .product-image {
    position: relative;
    padding-top: 100%; /* 1:1 Aspect ratio */
    overflow: hidden;
    background: #ffffff;
}

.product-card-modern .product-image img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 90%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.5s ease;
}



.product-card-modern .badge-promo {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #ef4444;
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 2px 10px rgba(239, 68, 68, 0.3);
}

.product-card-modern .product-details {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-card-modern .product-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none;
}

.product-card-modern .product-title:hover {
    color: #3b82f6;
}

.product-card-modern .product-desc-excerpt {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 15px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.product-card-modern .product-bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #f1f5f9;
}

.product-card-modern .price-block {
    display: flex;
    flex-direction: column;
}

.product-card-modern .price-current {
    font-size: 1.25rem;
    font-weight: 700;
    color: #3b82f6;
    line-height: 1;
}

.product-card-modern .price-old {
    font-size: 0.85rem;
    color: #94a3b8;
    text-decoration: line-through;
    margin-bottom: 2px;
}

.product-card-modern .action-buttons {
    display: flex;
    gap: 8px;
}

.product-card-modern .btn-action {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #f1f5f9;
    color: #475569;
}

.product-card-modern .btn-action:hover {
    background: #e2e8f0;
    color: #1e293b;
}

.product-card-modern .btn-action.btn-cart {
    background: #3b82f6;
    color: white;
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.3);
}

.product-card-modern .btn-action.btn-cart:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

/* Modern Sidebar Filters Design */
#sticky-con .margin-bottom-xl, 
#sticky-con .margin-top-md {
    background: #ffffff;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
    border: 1px solid #f1f5f9;
}

#sticky-con h4.title, 
#sticky-con h5.title {
    font-weight: 600;
    color: #1e293b;
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 1.05rem;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 10px;
    display: flex;
    align-items: center;
}

#sticky-con h4.title > span, 
#sticky-con h5.title > span {
    border: none;
    padding: 0;
}

/* Modern Checkboxes for Sidebar */
#sticky-con .checkbox {
    margin: 10px 0;
}

#sticky-con .checkbox label {
    cursor: pointer;
    font-weight: 500;
    color: #475569;
    transition: color 0.2s;
}

#sticky-con .checkbox label:hover {
    color: #3b82f6;
}



/* Price Range Inputs */
#sticky-con .form-control {
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    padding: 8px 12px;
    height: 38px;
    box-shadow: none;
    transition: all 0.2s;
    font-size: 0.9rem;
}

#sticky-con .form-control:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

/* List group for active filters */
#sticky-con .list-group-item {
    border: 1px solid #e2e8f0;
    border-radius: 8px !important;
    margin-bottom: 8px;
    background: #f8fafc;
    color: #334155;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 8px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#sticky-con .list-group-item .close {
    font-size: 1.1rem;
    color: #ef4444;
    opacity: 0.7;
    float: none;
    margin-left: 10px;
}

#sticky-con .list-group-item .close:hover {
    opacity: 1;
}


/* Shop Auth Pages (Login & Register) */
.page-contents .nav-tabs {
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 0px;
}
.page-contents .nav-tabs > li > a {
    border: none !important;
    background: transparent !important;
    color: #64748b;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 15px 24px;
    transition: all 0.2s;
    border-radius: 0;
    margin-bottom: -2px;
}
.page-contents .nav-tabs > li > a:hover {
    color: #3b82f6;
    background: transparent !important;
}
.page-contents .nav-tabs > li.active > a, 
.page-contents .nav-tabs > li.active > a:focus, 
.page-contents .nav-tabs > li.active > a:hover {
    border: none !important;
    border-bottom: 2px solid #3b82f6 !important;
    background: transparent !important;
    color: #3b82f6 !important;
}

.page-contents .tab-content.white {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-top: none !important;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    padding: 40px !important;
}

.page-contents .well {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 30px;
    box-shadow: none;
}

.page-contents .title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 20px;
    border-bottom: none;
}
.page-contents .title span {
    background: transparent !important;
    padding: 0 !important;
}

/* Modern inputs for auth */
.page-contents .form-group label.control-label,
.page-contents .form-group {
    color: #475569;
    font-weight: 600;
}
.page-contents .form-control {
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    padding: 12px 16px;
    height: auto;
    font-size: 1rem;
    transition: all 0.2s;
    background: #ffffff;
    box-shadow: none !important;
}
.page-contents .form-control:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15) !important;
}
.page-contents .btn-success {
    background: linear-gradient(135deg, #10b981, #059669) !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 12px !important;
    font-weight: 600 !important;
    font-size: 1.1rem !important;
    letter-spacing: 0.5px;
    transition: all 0.3s !important;
    color: white !important;
}
.page-contents .btn-success:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.3) !important;
}

.page-contents .btn-primary {
    background: linear-gradient(135deg, #3b82f6, #2563eb) !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 12px 24px !important;
    font-weight: 600 !important;
    font-size: 1.1rem !important;
    letter-spacing: 0.5px;
    transition: all 0.3s !important;
    color: white !important;
}
.page-contents .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.3) !important;
}

.page-contents a.text-blue {
    color: #3b82f6 !important;
    font-weight: 500;
}
.page-contents a.text-blue:hover {
    text-decoration: underline;
}

.page-contents .nav-tabs {
    border-radius: 16px 16px 0 0;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-bottom: 2px solid #e2e8f0;
}

/* Sidebar Featured Carousel */
#sticky-con h4.title .controls {
    display: flex;
    gap: 5px;
}
#sticky-con h4.title .controls a.btn-default {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #475569;
    border-radius: 6px;
    padding: 4px 8px;
    font-size: 12px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
#sticky-con h4.title .controls a.btn-default:hover {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
}

#sticky-con .featured-products .product {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    margin-bottom: 20px;
    transition: all 0.3s;
    border-top: none; 
    height: auto !important;
    position: relative; /* Contain the absolute promo badge */
    overflow: hidden; /* Prevent badge from clipping outside rounded corners */
}
#sticky-con .featured-products .product:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    transform: translateY(-2px);
}

#sticky-con .featured-products .badge.badge-right {
    position: absolute !important;
    top: 0;
    right: 0;
    border-radius: 0 16px 0 8px;
    padding: 6px 12px;
    font-size: 0.85rem;
    z-index: 10;
}

#sticky-con .featured-products .product img {
    position: relative !important;
    display: block !important;
    border-radius: 12px;
    margin: 0 auto 16px auto !important;
    width: 100%;
    max-width: 100%;
    object-fit: contain;
    height: 160px !important;
    background: #f8fafc;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
}

#sticky-con .featured-products .details {
    position: static !important;
    height: auto !important;
}

#sticky-con .featured-products .stats-container {
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
}

#sticky-con .featured-products .product_name {
    flex: 1;
    padding-right: 12px;
    margin-bottom: 6px;
    order: 1;
}
#sticky-con .featured-products .product_name a {
    font-size: 1.05rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.3;
    display: block;
    text-decoration: none;
    transition: color 0.2s;
}
#sticky-con .featured-products .product_name a:hover {
    color: #3b82f6;
}

#sticky-con .featured-products .product_price {
    font-size: 1.15rem;
    font-weight: 700;
    color: #3b82f6;
    margin-bottom: 8px;
    float: none;
    text-align: right;
    white-space: nowrap;
    order: 2;
}
#sticky-con .featured-products .product_price del {
    font-size: 0.9rem;
    color: #ef4444 !important;
    font-weight: 500;
}

#sticky-con .featured-products .link {
    font-size: 0.8rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
    display: block;
    width: 100%;
    margin-top: 4px;
    order: 3;
}

/* Hide the weird overlay in carousel */
#sticky-con .featured-products .image_overlay {
    display: none;
}
#sticky-con .featured-products .add-to-cart {
    display: none;
}
