/* WebView Mode Overrides */
.webview-mode {
    padding-top: 0 !important;
    background-color: #fff !important;
    /* Remove transform transition that breaks position:fixed on child elements */
    transform: none !important;
    transition: none !important;
}

.webview-mode .container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    max-width: 100% !important;
}

.webview-mode .main {
    padding-bottom: 80px;
    /* Space for sticky footer */
    overflow: visible !important;
}

/* Hide breadcrumbs & decorative elements */
.webview-mode .breadcrumb-nav,
.webview-mode .intro-slider-container,
.webview-mode .intro-slider .intro-subtitle,
.webview-mode .newsletter-popup-container {
    display: none !important;
}

/* Native-like Action Footer */
.webview-mode .sticky-action-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    padding: 15px 20px;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    display: flex;
    gap: 12px;
}

.webview-mode .sticky-action-footer .btn {
    flex: 1;
    margin: 0;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    border-radius: 12px;
}

/* Form & Input Enhancements */
.webview-mode .flat-input,
.webview-mode .form-control {
    height: 50px;
    background-color: #f5f5f5;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    /* Prevents iOS zoom */
}

/* Card Enhancements */
.webview-mode .product-4 {
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
}

.webview-mode .product-body {
    padding: 12px;
}

/* Hide non-critical columns in lists */
.webview-mode .col-lg-3.sidebar-shop {
    display: none !important;
}

.webview-mode .col-lg-9,
.webview-mode .col-lg-12,
.webview-mode .col-lg-8,
.webview-mode .col-lg-4,
.webview-mode .col-lg-7,
.webview-mode .col-lg-5 {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
}

/* Summary items refinement */
.webview-mode .summary-card {
    position: static;
    border: none;
    padding: 1.5rem 0;
}

/* Quantity Controls - Native Feel */
.webview-mode .qty-controls {
    background: #f0f0f0;
    border-radius: 12px;
}

.webview-mode .qty-btn {
    width: 40px;
    height: 40px;
    font-size: 1.4rem;
}


/* --------------------------------------------------------------------------
   WebView Mobile Filter Drawer & FAB - MOVED TO Home_Main.razor
   -------------------------------------------------------------------------- */