/* =======================================================
   VASAVI HOME FOODS – PREMIUM ECOM HEADER
======================================================= */

.dr1007ecomheader {
    position: sticky;
    top: 0;
    z-index: 999;
    width: 100%;
    background: linear-gradient(180deg, #ffffff, #f8fafc);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid #e5e7eb;
}

/* ============================= */
/* HEADER TOP (BRAND + CART)    */
/* ============================= */

.dr1007ecomheader .header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px 8px;
    min-width: 0;
}

/* Brand */
.dr1007ecomheader .brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.dr1007ecomheader .brand-logo {
    height: 34px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.dr1007ecomheader .brand-title {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.4px;
    color: #111827;
    white-space: nowrap;
}

/* ============================= */
/* CONTROLS                     */
/* ============================= */

.dr1007ecomheader .controls {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    padding: 10px 12px 14px;
    min-width: 0;
}

/* Inputs & selects */
.dr1007ecomheader input,
.dr1007ecomheader select {
    padding: 10px 14px;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    font-size: 14px;
    background: #ffffff;
    color: #111827;
    min-width: 0;
    max-width: 100%;
    outline: none;
    transition: all 0.2s ease;
}

.dr1007ecomheader input {
    flex: 1 1 160px;
}

.dr1007ecomheader select {
    flex: 1 1 140px;
}

.dr1007ecomheader input::placeholder {
    color: #9ca3af;
}

.dr1007ecomheader input:focus,
.dr1007ecomheader select:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

/* Clear button */
.dr1007ecomheader #clearFiltersBtn {
    flex-shrink: 0;
    padding: 10px 18px;
    border-radius: 16px;
    border: none;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(99, 102, 241, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dr1007ecomheader #clearFiltersBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(99, 102, 241, 0.45);
}

/* =======================================================
   PREMIUM GLOSSY GLASS ALERT
======================================================= */

.dr1007ecomheader .alert {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 18px;
    text-align: center;

    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.3px;

	background: linear-gradient(135deg, #f97316, #ea580c);

    color: #ffffff;

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    border-top: 1px solid rgba(255,255,255,0.25);

    box-shadow:
        0 6px 20px rgba(79,70,229,0.35),
        inset 0 1px 0 rgba(255,255,255,0.25);

    overflow: hidden;
}

/* Glossy shine animation */
.dr1007ecomheader .alert::before {
    content: "";
    position: absolute;
    top: 0;
    left: -60%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(255,255,255,0.4),
        rgba(255,255,255,0.05)
    );
    transform: skewX(-25deg);
    animation: shineMove 4s infinite linear;
}

@keyframes shineMove {
    0% { left: -60%; }
    100% { left: 120%; }
}

/* Highlight ₹0 */
.dr1007ecomheader .alert b {
    color: #ffe66d;
    font-weight: 700;
}

/* Icon */
.dr1007ecomheader .alert-icon {
    font-size: 16px;
    opacity: 0.95;
}

/* =======================================================
   MOBILE OPTIMIZATION
======================================================= */

@media (max-width: 640px) {

    .dr1007ecomheader .brand-title {
        font-size: 16px;
        font-weight: 700;
    }

    .dr1007ecomheader .controls {
        gap: 6px;
    }

    .dr1007ecomheader input {
        flex: 1 1 110px;
        font-size: 13px;
        padding: 7px 8px;
        border-radius: 10px;
    }

    .dr1007ecomheader select {
        flex: 1 1 90px;
        font-size: 13px;
        padding: 7px 8px;
        border-radius: 10px;
    }

    .dr1007ecomheader #clearFiltersBtn {
        width: 34px;
        height: 34px;
        padding: 0;
        border-radius: 50%;
        background: #f1f5f9;
        color: #111827;
        font-size: 15px;
        box-shadow: none;
    }

    .dr1007ecomheader .alert {
        font-size: 12px;
        padding: 8px 12px;
        line-height: 1.4;
    }
}