/* ==========================================================================
   ShopTec Modern Tech E-Commerce Theme
   Sleek, Clean, High-Converting Electronics & IT Retail Design
   ========================================================================== */

:root {
    --tech-primary: #702082;
    --tech-primary-dark: #581c87;
    --tech-accent: #2563EB;
    --tech-orange: #EA580C;
    --tech-emerald: #059669;
    --tech-slate-900: #0F172A;
    --tech-slate-700: #334155;
    --tech-slate-500: #64748B;
    --tech-slate-100: #F1F5F9;
    --tech-slate-50: #F8FAFC;
    --tech-border: #E2E8F0;
}

/* Ensure no horizontal scroll */
html, body {
    max-width: 100vw;
    overflow-x: hidden;
}

/* ==========================================================================
   1. TOP ANNOUNCEMENT & TECH HIGHLIGHT RIBBON
   ========================================================================== */
.shoptec-tech-top-bar {
    background: linear-gradient(90deg, #1E1B4B 0%, #312E81 50%, #1E1B4B 100%);
    color: #F8FAFC;
    font-size: 12.5px;
    padding: 7px 15px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    letter-spacing: 0.2px;
    position: relative;
    z-index: 1025;
}

.shoptec-tech-top-bar .top-bar-badge {
    background: linear-gradient(135deg, #4F46E5, #4338CA);
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.shoptec-tech-top-bar .top-bar-text {
    font-weight: 500;
    color: #E2E8F0;
}

.shoptec-tech-top-bar .top-bar-link {
    color: #FDE047 !important;
    font-weight: 700;
    text-decoration: underline;
    margin-left: 4px;
    transition: color 0.15s ease;
}

.shoptec-tech-top-bar .top-bar-link:hover {
    color: #FFFFFF !important;
}

@media (max-width: 768px) {
    .shoptec-tech-top-bar {
        font-size: 11px;
        padding: 5px 10px;
        flex-wrap: wrap;
        gap: 6px;
    }
    .shoptec-tech-top-bar .top-bar-sub {
        display: none;
    }
}

/* ==========================================================================
   2. QUICK DEALS BADGE IN NAVIGATION
   ========================================================================== */
.shoptec-deals-link {
    background: linear-gradient(135deg, #EF4444 0%, #EA580C 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(234, 88, 12, 0.35) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 20px !important;
    padding: 5px 14px !important;
    font-weight: 700 !important;
    font-size: 12.5px !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    text-decoration: none !important;
}

.shoptec-deals-link:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 14px rgba(234, 88, 12, 0.5) !important;
    filter: brightness(1.08) !important;
}

.deals-fire-icon {
    font-size: 14px;
    animation: flamePulse 2s infinite ease-in-out;
}

@keyframes flamePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

/* ==========================================================================
   3. TECH ASSURANCE & TRUST GUARANTEE BAR (ABOVE FOOTER)
   ========================================================================== */
.shoptec-tech-assurance-bar {
    background: #ffffff;
    border-top: 1px solid #E2E8F0;
    border-bottom: 1px solid #E2E8F0;
    padding: 26px 0;
    margin-top: 25px;
}

.tech-assurance-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

.tech-assurance-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 14px;
    background: #F8FAFC;
    border-radius: 12px;
    border: 1px solid #F1F5F9;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.tech-assurance-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-color: #E2E8F0;
    background: #ffffff;
}

.assurance-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #EFF6FF;
    color: #2563EB;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    flex-shrink: 0;
    border: 1px solid #DBEAFE;
}

.tech-assurance-item:nth-child(2) .assurance-icon {
    background: #ECFDF5;
    color: #059669;
    border-color: #D1FAE5;
}

.tech-assurance-item:nth-child(3) .assurance-icon {
    background: #FFF7ED;
    color: #EA580C;
    border-color: #FFEDD5;
}

.tech-assurance-item:nth-child(4) .assurance-icon {
    background: #FAF5FF;
    color: #702082;
    border-color: #F3E8FF;
}

.assurance-text h6 {
    margin: 0 0 2px 0;
    font-size: 13.5px;
    font-weight: 700;
    color: #0F172A;
    line-height: 1.25;
}

.assurance-text p {
    margin: 0;
    font-size: 11.5px;
    color: #64748B;
    line-height: 1.3;
}

@media (max-width: 991px) {
    .tech-assurance-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

@media (max-width: 576px) {
    .tech-assurance-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .tech-assurance-item {
        padding: 8px 12px;
    }
}

/* ==========================================================================
   4. PRODUCT & CATEGORY CARD ELEVATION MICRO-INTERACTIONS
   ========================================================================== */
.card:hover {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.categories-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.categories-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}
