/* RAJPUT SHOPING HUB - Main Stylesheet */
:root {
    --primary: #0f172a;
    --primary-light: #1e3a8a;
    --accent: #2563eb;
    --accent-hover: #1d4ed8;
    --accent-glow: rgba(37, 99, 235, 0.35);
    --highlight: #38bdf8;
    --highlight-soft: #7dd3fc;
    --success: #059669;
    --danger: #dc2626;
    --warning: #d97706;
    --bg: #f1f5f9;
    --card: #ffffff;
    --text: #0f172a;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
    --radius: 12px;
}

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

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-hover); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 45%, #1e3a8a 100%);
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.25);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    gap: 20px;
    position: relative;
}

.logo {
    font-size: 1.4rem;
    font-weight: 800;
    color: white;
    letter-spacing: 0.5px;
}
.logo span { color: var(--highlight); }

.main-nav { display: flex; align-items: center; gap: 8px; }
.main-nav a {
    color: rgba(255,255,255,0.88);
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
}
.main-nav a:hover { background: rgba(255,255,255,0.1); color: white; }
.main-nav a.nav-vps {
    color: var(--highlight-soft) !important;
    font-weight: 600;
}
.main-nav a.nav-vps:hover,
.main-nav a.nav-vps.active {
    background: rgba(56, 189, 248, 0.15);
    color: #fff !important;
}

.cart-link {
    position: relative;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white !important;
    padding: 8px 16px !important;
    border-radius: 8px;
    box-shadow: 0 2px 10px var(--accent-glow);
}
.cart-link:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%) !important;
    color: white !important;
}
.cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #fff;
    color: var(--accent);
    font-size: 0.7rem;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-toggle { display: none; background: none; border: none; color: white; font-size: 1.5rem; cursor: pointer; }

/* Hero */
.hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 55%, #1e40af 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero h1 { font-size: 2.5rem; margin-bottom: 16px; position: relative; }
.hero p { font-size: 1.15rem; opacity: 0.9; max-width: 600px; margin: 0 auto 30px; position: relative; }
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}
.btn-primary {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    box-shadow: 0 2px 12px var(--accent-glow);
}
.btn-primary:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.4);
}
.btn-outline { background: transparent; color: white; border: 2px solid white; }
.btn-outline:hover { background: white; color: var(--primary); }
.btn-secondary {
    background: linear-gradient(135deg, #334155 0%, #1e293b 100%);
    color: white;
}
.btn-secondary:hover {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: white;
}
.btn-success { background: var(--success); color: white; }
.btn-danger { background: var(--danger); color: white; }
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }
.btn-block { width: 100%; justify-content: center; }

/* Sections */
.section { padding: 60px 0; }
.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 { font-size: 2rem; color: var(--primary); margin-bottom: 8px; }
.section-title p { color: var(--text-muted); }

/* Categories Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 20px;
}
.category-card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 24px 16px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid var(--border);
}
.category-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,0.12); }
.category-icon {
    width: 48px; height: 48px;
    margin: 0 auto 12px;
    color: var(--accent);
}
.category-icon svg { width: 100%; height: 100%; }
.category-card h3 { font-size: 0.9rem; color: var(--primary); }

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}
.product-card {
    background: var(--card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: transform 0.2s;
    display: flex;
    flex-direction: column;
}
.product-card:hover { transform: translateY(-4px); }
.product-image {
    height: 220px;
    background: #f0f2f8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--primary);
    overflow: hidden;
    padding: 8px;
}
.product-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    display: block;
}
.product-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.product-category { font-size: 0.75rem; color: #2563eb; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.product-body h3 { font-size: 1.05rem; margin: 6px 0; color: var(--text); }
.product-desc { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 12px; flex: 1; }
.product-price { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.price-current { font-size: 1.2rem; font-weight: 700; color: var(--primary); }
.price-old { text-decoration: line-through; color: var(--text-muted); font-size: 0.9rem; }
.discount-badge { background: var(--danger); color: white; font-size: 0.75rem; padding: 2px 8px; border-radius: 4px; font-weight: 600; }
.stock-info { font-size: 0.8rem; color: var(--success); margin-bottom: 12px; }

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}
.testimonial-card {
    background: var(--card);
    padding: 28px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--accent);
}
.testimonial-card p { font-style: italic; margin-bottom: 16px; color: var(--text-muted); }
.testimonial-author { font-weight: 600; color: var(--primary); }

/* Support Section */
.support-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    text-align: center;
    padding: 50px 0;
    border-radius: var(--radius);
    margin: 0 20px;
}
.support-section h2 { margin-bottom: 12px; }
.support-section p { opacity: 0.9; margin-bottom: 24px; }

/* Footer */
.site-footer {
    background: #0f172a;
    color: #94a3b8;
    margin-top: auto;
    padding: 50px 0 20px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}
.footer-grid h4 { color: white; margin-bottom: 16px; font-size: 1rem; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: #94a3b8; }
.footer-grid a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid #1e293b; padding-top: 20px; text-align: center; font-size: 0.85rem; }

/* Floating buttons */
.float-buttons {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}
.float-btn {
    width: 56px; height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: transform 0.2s;
}
.float-btn:hover { transform: scale(1.1); color: white; }
.float-whatsapp { background: #25d366; }
.float-telegram { background: #0088cc; }

/* Welcome Popup */
.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.popup-overlay.hidden { display: none; }
.popup-box {
    background: white;
    border-radius: var(--radius);
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    padding: 32px;
    position: relative;
}
.popup-box h2 { color: var(--primary); margin-bottom: 20px; }
.popup-box ol { padding-left: 20px; }
.popup-box li { margin-bottom: 10px; color: var(--text-muted); }
.popup-close { position: absolute; top: 16px; right: 16px; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--text-muted); }
.popup-actions { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }

/* Forms */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 0.9rem; }
.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s;
}
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,35,126,0.1); }
textarea.form-control { min-height: 120px; resize: vertical; }

.auth-card {
    max-width: 440px;
    margin: 60px auto;
    background: var(--card);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.auth-card h1 { text-align: center; color: var(--primary); margin-bottom: 8px; }
.auth-card .subtitle { text-align: center; color: var(--text-muted); margin-bottom: 30px; }

/* Alerts */
.alert {
    padding: 14px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 500;
}
.alert-success { background: #e8f5e9; color: var(--success); border: 1px solid #a5d6a7; }
.alert-danger { background: #ffebee; color: var(--danger); border: 1px solid #ef9a9a; }
.alert-warning { background: #fff8e1; color: var(--warning); border: 1px solid #ffe082; }
.alert-info { background: #e3f2fd; color: #1565c0; border: 1px solid #90caf9; }

/* Cart & Checkout */
.page-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    color: white;
    padding: 40px 0;
    text-align: center;
}
.page-header h1 { font-size: 2rem; }

.cart-table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.cart-table { width: 100%; min-width: 520px; border-collapse: collapse; background: var(--card); border-radius: var(--radius); overflow: hidden; }
.cart-table th, .cart-table td { padding: 16px; text-align: left; border-bottom: 1px solid var(--border); }
.cart-table th { background: #f8fafc; font-weight: 600; }
.cart-qty { width: 70px; padding: 8px; text-align: center; border: 1px solid var(--border); border-radius: 6px; }

.checkout-grid { display: grid; grid-template-columns: 1fr 380px; gap: 30px; }
.order-summary { background: var(--card); padding: 28px; border-radius: var(--radius); box-shadow: var(--shadow); height: fit-content; }
.order-summary h3 { margin-bottom: 20px; color: var(--primary); }
.summary-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border); }
.summary-total { font-size: 1.2rem; font-weight: 700; color: var(--primary); border: none; padding-top: 16px; }

.payment-methods { display: flex; flex-direction: column; gap: 12px; margin: 20px 0; }
.payment-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border: 2px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.2s;
}
.payment-option:has(input:checked) { border-color: var(--primary); background: #e8eaf6; }
.payment-option input { width: 18px; height: 18px; }

.payment-qr-card {
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    margin: 20px 0;
}
.payment-qr-wrap {
    display: inline-block;
    padding: 12px;
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin: 12px 0;
}
.payment-qr-img { display: block; max-width: 100%; height: auto; border-radius: 8px; }
.payment-qr-amount { font-size: 1.4rem; margin: 12px 0; color: var(--primary); }
.payment-upi-id { font-family: monospace; font-size: 1.05rem; }
.payment-instructions {
    margin-top: 16px;
    padding: 12px 16px;
    background: #fff;
    border-radius: 8px;
    text-align: left;
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Account */
.account-grid { display: grid; grid-template-columns: 240px 1fr; gap: 30px; margin: 40px 0; }
.account-sidebar { background: var(--card); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); height: fit-content; }
.account-sidebar a { display: block; padding: 12px 16px; border-radius: 8px; color: var(--text); margin-bottom: 4px; }
.account-sidebar a:hover, .account-sidebar a.active { background: #e8eaf6; color: var(--primary); }
.account-content { background: var(--card); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }

.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}
.status-pending { background: #fff8e1; color: var(--warning); }
.status-processing { background: #e3f2fd; color: #1565c0; }
.status-completed, .status-paid { background: #e8f5e9; color: var(--success); }
.status-cancelled, .status-failed { background: #ffebee; color: var(--danger); }

/* Product Detail */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin: 40px 0; }
.product-detail-image {
    background: #f0f2f8;
    border-radius: var(--radius);
    min-height: 320px;
    max-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    overflow: hidden;
    padding: 16px;
}
.product-detail-image img {
    max-width: 100%;
    max-height: 440px;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    display: block;
}
.product-detail-info h1 { font-size: 1.8rem; color: var(--primary); margin-bottom: 12px; }
.product-detail-info .price-current { font-size: 2rem; }

/* Shop filters */
.shop-layout { display: grid; grid-template-columns: 240px 1fr; gap: 30px; margin: 40px 0; }
.shop-sidebar { background: var(--card); padding: 24px; border-radius: var(--radius); box-shadow: var(--shadow); height: fit-content; }
.shop-sidebar h3 { margin-bottom: 16px; color: var(--primary); }
.shop-sidebar a { display: block; padding: 10px 14px; border-radius: 6px; color: var(--text); margin-bottom: 4px; }
.shop-sidebar a:hover, .shop-sidebar a.active { background: #e8eaf6; color: var(--primary); font-weight: 600; }
.search-box { margin-bottom: 20px; }
.search-box input { width: 100%; padding: 12px 16px; border: 1px solid var(--border); border-radius: 8px; }

.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }

/* Real-time notifications */
.rsh-notify-stack {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: min(380px, calc(100vw - 40px));
    pointer-events: none;
}
.rsh-notify-toast {
    pointer-events: auto;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--border);
    border-left: 4px solid var(--primary);
    border-radius: 12px;
    padding: 14px 16px;
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.15);
    animation: rshNotifyIn 0.35s ease;
}
.rsh-notify-toast.rsh-notify-hide { animation: rshNotifyOut 0.3s ease forwards; }
.rsh-notify-icon { font-size: 1.5rem; line-height: 1; }
.rsh-notify-body { flex: 1; min-width: 0; }
.rsh-notify-body strong { display: block; color: var(--primary); margin-bottom: 4px; }
.rsh-notify-body p { margin: 0 0 8px; font-size: 0.9rem; color: var(--text); line-height: 1.4; }
.rsh-notify-body a { font-size: 0.85rem; font-weight: 600; color: var(--accent); }
.rsh-notify-close {
    background: none;
    border: none;
    font-size: 1.25rem;
    line-height: 1;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0;
}
@keyframes rshNotifyIn {
    from { opacity: 0; transform: translateX(24px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes rshNotifyOut {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(24px); }
}

/* Downloads & content pages */
.page-content { margin: 40px auto; }
.downloads-list { display: grid; gap: 20px; }
.download-card {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
.downloads-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.vps-credential-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.vps-credential-actions .btn {
    flex: 1 1 auto;
    min-width: 140px;
    justify-content: center;
}

/* Responsive */
@media (max-width: 768px) {
    .container { padding: 0 14px; }

    .mobile-toggle {
        display: block;
        padding: 6px 10px;
        margin-left: auto;
    }
    .logo { font-size: 1.05rem; max-width: 58vw; line-height: 1.25; }
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
        flex-direction: column;
        padding: 12px;
        gap: 4px;
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
        z-index: 1001;
        max-height: calc(100vh - 64px);
        overflow-y: auto;
    }
    .main-nav.open { display: flex; }
    .main-nav a {
        width: 100%;
        padding: 12px 14px;
        border-radius: 8px;
    }
    .cart-link { text-align: center; justify-content: center; }

    .hero { padding: 48px 0; }
    .hero h1 { font-size: 1.65rem; line-height: 1.25; }
    .hero p { font-size: 1rem; padding: 0 4px; }
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        padding: 0 8px;
    }
    .hero-buttons .btn { width: 100%; justify-content: center; }

    .section { padding: 40px 0; }
    .section-title h2 { font-size: 1.5rem; }
    .page-header { padding: 28px 0; }
    .page-header h1 { font-size: 1.45rem; }
    .page-content { margin: 24px auto; }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 16px;
    }
    .product-image { height: 180px; }
    .product-body { padding: 16px; }
    .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
    .support-section { margin: 0 14px; padding: 36px 20px; }

    .product-detail,
    .checkout-grid,
    .account-grid,
    .shop-layout { grid-template-columns: 1fr; }
    .shop-layout { margin: 24px 0; gap: 20px; }
    .shop-sidebar { order: 2; }
    .auth-card { margin: 32px auto; padding: 28px 20px; }

    .cart-table { font-size: 0.85rem; min-width: 480px; }
    .cart-table th,
    .cart-table td { padding: 12px 10px; }
    .downloads-split { grid-template-columns: 1fr; }

    .float-buttons {
        bottom: 16px;
        right: 14px;
        gap: 10px;
    }
    .float-btn {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }

    .vps-ip-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }
    .vps-ip-grid .vps-ip-photo { height: 112px; min-height: 112px; }
    .vps-ip-print {
        font-size: 0.82rem;
        padding: 6px 12px;
        max-width: 96%;
        word-break: break-word;
    }
    .vps-ip-tier-chip,
    .vps-ip-live-chip {
        font-size: 0.55rem;
        padding: 3px 7px;
    }
    .vps-ip-grid .vps-ip-body { padding: 14px; }
    .vps-ip-grid .vps-ip-title { font-size: 0.95rem; }
    .vps-ip-grid .price-current { font-size: 1.05rem; }
    .vps-ip-grid .vps-ip-buy-btn {
        font-size: 0.82rem;
        padding: 10px 12px !important;
    }
    .vps-stock-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .vps-stock-panel { padding: 16px; margin-top: 24px; }

    .btn { padding: 11px 20px; }
    .form-control { font-size: 16px; }
}

@media (hover: none) {
    .product-card:hover,
    .vps-ip-grid .vps-ip-card-classic:hover,
    .category-card:hover {
        transform: none;
    }
}

@media (max-width: 480px) {
    .logo { font-size: 0.95rem; max-width: 52vw; }
    .hero h1 { font-size: 1.45rem; }
    .products-grid { grid-template-columns: 1fr; }
    .categories-grid { grid-template-columns: 1fr 1fr; }

    .vps-ip-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .vps-ip-grid .vps-ip-photo { height: 120px; min-height: 120px; }
    .vps-ip-print { font-size: 0.92rem; }
    .vps-stock-grid { grid-template-columns: 1fr; }

    .vps-credential-actions .btn {
        width: 100%;
        min-width: 0;
    }
    .footer-grid { grid-template-columns: 1fr; }
}

/* VPS Live IP Stock — photo jaisa grid */
.vps-stock-panel {
    margin-top: 40px;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
}
.vps-stock-panel.is-compact {
    margin-top: 0;
    margin-bottom: 24px;
}
.vps-stock-panel-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 16px;
}
.vps-stock-panel-head h3 {
    margin: 0;
    color: var(--primary);
    font-size: 1.25rem;
}
.vps-stock-total {
    font-size: 0.9rem;
    color: var(--text-muted);
}
.vps-stock-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
}
.vps-stock-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 14px;
    transition: box-shadow 0.2s, border-color 0.2s;
}
.vps-stock-card:hover {
    border-color: #c7d2fe;
    box-shadow: 0 4px 12px rgba(26, 35, 126, 0.08);
}
.vps-stock-card.is-empty {
    opacity: 0.55;
}
.vps-stock-ip {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text);
    margin-bottom: 4px;
}
.vps-stock-tier {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 6px;
}
.vps-stock-tier.tier-gold { color: #b45309; }
.vps-stock-tier.tier-diamond { color: #7c3aed; }
.vps-stock-slots {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--success);
}
.vps-live-stock-badge {
    color: var(--success);
    font-weight: 700;
    font-size: 0.95rem;
    margin: 10px 0 0;
}
.vps-live-stock-out {
    color: var(--danger);
    font-weight: 600;
    margin: 10px 0 0;
}
/* ── VPS IP cards — premium professional ── */
.vps-ip-grid {
    grid-template-columns: repeat(auto-fill, minmax(248px, 1fr));
    gap: 22px;
}
.vps-ip-grid .vps-ip-card-classic {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e2e8f0 !important;
    background: #fff;
    box-shadow:
        0 1px 3px rgba(15, 23, 42, 0.04),
        0 8px 24px rgba(15, 23, 42, 0.06);
    transform: translateY(0);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.vps-ip-grid .vps-ip-card-classic::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 6;
    background: var(--tier-accent, #2563eb);
}
.vps-ip-grid .vps-ip-card-classic:hover {
    transform: translateY(-6px);
    border-color: #cbd5e1 !important;
    box-shadow:
        0 12px 32px rgba(15, 23, 42, 0.1),
        0 4px 12px rgba(15, 23, 42, 0.05);
}
.vps-ip-grid .vps-ip-card-classic.tier-normal {
    --tier-accent: #0d9488;
    --tier-soft: #ccfbf1;
    --ip-accent: rgba(45, 212, 191, 0.55);
}
.vps-ip-grid .vps-ip-card-classic.tier-gold {
    --tier-accent: #b45309;
    --tier-soft: #fef3c7;
    --ip-accent: rgba(251, 191, 36, 0.5);
}
.vps-ip-grid .vps-ip-card-classic.tier-diamond {
    --tier-accent: #7c3aed;
    --tier-soft: #ede9fe;
    --ip-accent: rgba(167, 139, 250, 0.55);
}

.vps-ip-grid .vps-ip-photo {
    position: relative;
    height: 130px;
    min-height: 130px;
    overflow: hidden;
    background-color: #0f172a;
    background-image: var(--vps-bg), var(--vps-grad, linear-gradient(145deg, #0f172a, #1e3a8a));
    background-size: cover, cover;
    background-position: center, center;
    background-repeat: no-repeat, no-repeat;
}
.vps-ip-photo-pattern {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0.4;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 39h40V0H0v39zm1 1h38V1H1v39z' fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
    pointer-events: none;
}
.vps-ip-photo-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        165deg,
        rgba(15, 23, 42, 0.15) 0%,
        rgba(15, 23, 42, 0.35) 50%,
        rgba(15, 23, 42, 0.82) 100%
    );
    pointer-events: none;
}

@keyframes vps-ip-soft-pulse {
    0%, 100% {
        opacity: 1;
        box-shadow:
            0 4px 16px rgba(0, 0, 0, 0.35),
            inset 0 1px 0 rgba(255, 255, 255, 0.15),
            0 0 0 1px var(--ip-accent),
            0 0 12px rgba(255, 255, 255, 0.08);
        text-shadow: 0 0 0 transparent;
        transform: scale(1);
    }
    50% {
        opacity: 0.88;
        box-shadow:
            0 8px 24px rgba(0, 0, 0, 0.45),
            inset 0 1px 0 rgba(255, 255, 255, 0.28),
            0 0 0 1px rgba(255, 255, 255, 0.45),
            0 0 22px var(--ip-accent),
            0 0 36px rgba(255, 255, 255, 0.12);
        text-shadow: 0 0 14px rgba(255, 255, 255, 0.55);
        transform: scale(1.03);
    }
}
.vps-ip-photo-ip {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    pointer-events: none;
    user-select: none;
}
.vps-ip-print {
    display: inline-block;
    padding: 7px 18px;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    line-height: 1.2;
    text-align: center;
    color: #fff;
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.vps-ip-print.blink-ip {
    animation: vps-ip-soft-pulse 1.6s ease-in-out infinite;
    will-change: opacity, transform, box-shadow;
}

.vps-ip-tier-chip {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 5;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 10px;
    border-radius: 6px;
    line-height: 1.2;
    white-space: nowrap;
    background: rgba(15, 23, 42, 0.65);
    color: #f8fafc;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
}
.vps-ip-card-classic.tier-normal .vps-ip-tier-chip { border-left: 3px solid #2dd4bf; }
.vps-ip-card-classic.tier-gold .vps-ip-tier-chip { border-left: 3px solid #fbbf24; }
.vps-ip-card-classic.tier-diamond .vps-ip-tier-chip { border-left: 3px solid #a78bfa; }

.vps-ip-live-chip {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #ecfdf5;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 4px 9px;
    border-radius: 6px;
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
}
.vps-live-dot-sm {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 0 2px rgba(52, 211, 153, 0.35);
    animation: vps-live-pulse 2s ease-in-out infinite;
}
@keyframes vps-live-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.45; }
}

.vps-ip-grid .vps-ip-body {
    padding: 14px 16px 16px !important;
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}
.vps-ip-grid .vps-ip-title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 4px;
    color: #0f172a;
    line-height: 1.25;
}
.vps-ip-grid .tier-normal .vps-ip-title { color: #0f766e; }
.vps-ip-grid .tier-gold .vps-ip-title { color: #92400e; }
.vps-ip-grid .tier-diamond .vps-ip-title { color: #6d28d9; }
.vps-ip-grid .vps-ip-desc {
    font-size: 0.72rem;
    color: #94a3b8 !important;
    margin: 0 0 10px;
    letter-spacing: 0.01em;
}
.vps-ip-custom-rate-tag {
    display: inline-block;
    font-size: 0.62rem;
    font-weight: 600;
    color: #0d9488;
    background: #ccfbf1;
    padding: 2px 8px;
    border-radius: 4px;
    margin: 0 0 6px;
}
.vps-ip-grid .product-price {
    margin-bottom: 6px;
    gap: 8px;
    flex-wrap: wrap;
    align-items: baseline;
}
.vps-ip-grid .price-current {
    font-size: 1.22rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
}
.vps-ip-grid .price-old {
    font-size: 0.78rem;
    color: #94a3b8;
}
.vps-ip-grid .discount-badge {
    font-size: 0.65rem;
    padding: 2px 7px;
    border-radius: 4px;
    background: #fef2f2;
    color: #dc2626;
    font-weight: 700;
}
.vps-ip-stock-line {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    color: #64748b;
    font-weight: 500;
    margin: 0 0 10px;
}
.vps-ip-stock-line strong {
    color: #0f172a;
    font-weight: 700;
}
.vps-ip-stock-line::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    flex-shrink: 0;
}
.vps-ip-grid .vps-ram-select-wrap label {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #94a3b8;
    margin-bottom: 4px;
    display: block;
}
.vps-ip-grid .vps-ram-select-wrap .form-control {
    font-size: 0.8rem;
    padding: 8px 10px;
    height: auto;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #0f172a;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.vps-ip-grid .vps-ram-select-wrap .form-control:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
    outline: none;
}
.vps-ip-grid .vps-ip-buy-btn {
    margin-top: 10px;
    padding: 11px 12px;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 10px;
    letter-spacing: 0.02em;
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 50%, #3b82f6 100%) !important;
    border: none !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
    transition: transform 0.2s, box-shadow 0.2s;
}
.vps-ip-grid .vps-ip-buy-btn:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%) !important;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.38);
    transform: translateY(-1px);
}
.vps-api-image {
    background: #eef2f8 !important;
    font-size: 3.5rem;
}
.vps-api-plan-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0 0 10px;
}
.vps-ip-fixed-ram {
    margin: 10px 0 0;
    padding: 10px 12px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid var(--border);
    font-size: 0.88rem;
    color: var(--text-muted);
}
.vps-ip-fixed-ram strong { color: var(--primary); }
.vps-ram-select-wrap label {
    font-size: 0.85rem;
    margin-bottom: 4px;
    display: block;
}
.vps-ram-select-wrap .form-control {
    font-size: 0.9rem;
    padding: 8px 10px;
}
.vps-api-buy-form {
    margin-top: 4px;
}
.vps-api-buy-form .btn-primary {
    margin-top: 10px;
}
.vps-api-details-btn {
    margin-top: 8px;
}
.vps-api-badge {
    display: inline-block;
    background: #eef2ff;
    color: var(--primary);
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 6px;
}
.vps-live-stock-badge {
    margin: 8px 0 4px;
}
