/* ======================================================
   Sarekam CSS — vendor-profile.css
   Extracted from index.html | Phase 1 Refactor
   DO NOT add styles from other sections to this file.
   ====================================================== */

   COMPREHENSIVE RESPONSIVE BREAKPOINTS Ã¢â‚¬â€ Mobile / Tablet / Desktop
   =================================================================== */

/* Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ TABLET (601px Ã¢â‚¬â€œ 1024px) Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
@media (max-width: 1024px) {
    .slider-yellow-box { min-height: 200px; }
}

/* Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ MOBILE PRIMARY (Ã¢â€°Â¤800px) Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
@media (max-width: 800px) {

    /* Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â MAIN CONTENT Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â */
    .main-content {
        padding-bottom: 90px;   /* Room for fixed bottom nav */
        width: 94%;
        margin-bottom: 0;
    }

    /* Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â HOME GRID Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â */
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-bottom: 20px;
    }
    .category-card   { padding: 16px 14px; }
    .category-title  { font-size: 1.05rem; margin-bottom: 16px; }
    .sub-service-icon {
        width: 68px;
        height: 68px;
        border-radius: 14px;
        font-size: 1.3rem;
        margin-bottom: 8px;
    }
    .sub-service-text { font-size: 0.78rem; }
    .sub-services-grid { gap: 12px; }

    /* Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â BANNER SLIDER Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â */
    .slider-yellow-box { min-height: 160px; }
    .slider-dots       { margin-top: 10px; }
    .slider-dot        { width: 8px; height: 8px; }
    .slider-yellow-box .slider-text-col h2 { font-size: 1.1rem; }
    .slider-yellow-box .slider-text-col p  { font-size: 0.8rem; }

    /* Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â MOBILE BOTTOM NAV: SHOW Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â */
    .mobile-bottom-nav { display: block !important; }

    /* Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â MINI CART Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â */
    .bottom-mini-cart {
        bottom: 78px !important;
        max-width: 92%;
        border-radius: 14px;
    }

    /* Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â MY BOOKINGS Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â */
    #myBookingsView {
        width: 100% !important;
        max-width: 100% !important;
    }
    .mb-view-toggle  { gap: 8px; }
    .mb-toggle-btn   { padding: 9px 0; font-size: 12px; }
    .mb-status-pill  { padding: 6px 14px; font-size: 11px; }
    .mb-booking-thumb,
    .mb-booking-thumb-placeholder { width: 48px; height: 48px; }
    .mb-booking-title  { font-size: 14px; }
    .mb-booking-meta   { font-size: 11px; }
    .mb-category-card  { padding: 12px; }
    .mb-category-icon  { width: 42px; height: 42px; }
    .mb-category-name  { font-size: 13px; }

    /* Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â VENDOR CARDS Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â */
    .vendor-cards-grid { gap: 8px; }
    .vendor-card       { padding: 10px 8px; }
    .vendor-photo      { width: 48px; height: 48px; }
    .vendor-name       { font-size: 11px; }
    .vendor-biz        { font-size: 10px; }
    .vendor-rating     { font-size: 11px; }
    .vendor-phone      { font-size: 11px; }
    .vendor-select-btn { font-size: 11px; padding: 6px 0; }

    /* Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â PROFILE & LOCATION PANELS Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â */
    .profile-view { width: 100% !important; max-width: 100% !important; }
    .location-view, .edit-address-view, .full-map-view {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â SERVICE BOOKING ITEMS Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â */
    .service-booking-item  { padding: 12px; margin-bottom: 10px; }
    .service-booking-img   { width: 44px; height: 44px; }
    .service-booking-title { font-size: 13px; }

    /* Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â CART SIDEBAR Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â */
    .cart-sidebar { width: 85%; max-width: 420px; }

    /* Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â MODALS Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â */
    #successModal {
        /* full-screen, no panel wrapper needed */
    }
    #successModal .modal-panel {
        display: none !important; /* hidden Ã¢â‚¬â€ content rendered directly */
    }
    #paymentModal .modal-panel {
        width: 95% !important;
        max-width: 100% !important;
    }

    /* Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â SCREEN 4 DETAIL SHEET Ã¢â‚¬â€ FULL-SCREEN MOBILE Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â */
    .svc-detail-sheet {
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
        height: 100% !important;
        max-height: 100% !important;
        border-radius: 0 !important;
    }

    /* Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â FOOTER Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â */
    .footer { padding: 20px 16px; }
}

/* Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ SMALL MOBILE (Ã¢â€°Â¤480px) Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
@media (max-width: 480px) {

    /* Ã¢â€â‚¬ Header Ã¢â€â‚¬ */
    .location-picker { padding: 4px 6px; }
    .loc-title-row   { font-size: 0.88rem; }
    .loc-text        { font-size: 0.65rem; max-width: 130px; }
    .search-container { height: 40px; border-radius: 10px; }
    .service-search input { font-size: 0.84rem; }
    .search-tools { gap: 8px; font-size: 0.9rem; }
    .mobile-header-tools .header-profile-btn {
        width: 34px; height: 34px; font-size: 0.95rem;
    }
    .mobile-header-tools .header-cart-btn {
        width: 32px; height: 32px; font-size: 1rem;
    }

    /* Ã¢â€â‚¬ Home grid Ã¢â€â‚¬ */
    .categories-grid  { gap: 12px; }
    .category-card    { padding: 14px 12px; }
    .category-title   { font-size: 1rem; margin-bottom: 12px; }
    .sub-service-icon {
        width: 60px; height: 60px;
        border-radius: 12px; font-size: 1.15rem;
    }
    .sub-service-text  { font-size: 0.74rem; }
    .sub-services-grid { gap: 10px; }

    /* Ã¢â€â‚¬ Slider Ã¢â€â‚¬ */
    .slider-yellow-box { min-height: 140px; }
    .slider-dot { width: 7px; height: 7px; }

    /* Ã¢â€â‚¬ Icon image inside sub-service-icon Ã¢â€â‚¬ */
    .cat-icon-bg       { width: 56px; height: 56px; }
    .cat-icon-bg img,
    .cat-icon-bg svg   { width: 32px; height: 32px; }
    .category-label    { font-size: 0.72rem; }

    /* Ã¢â€â‚¬ Cart: full width Ã¢â€â‚¬ */
    .cart-sidebar { width: 100% !important; }

    /* Ã¢â€â‚¬ Vendor cards: 1-col list layout Ã¢â€â‚¬ */
    .vendor-cards-grid { grid-template-columns: 1fr; }
    .vendor-card {
        flex-direction: row; text-align: left;
        gap: 12px; padding: 12px;
    }
    .vendor-photo      { width: 48px; height: 48px; flex-shrink: 0; }
    .vendor-name       { font-size: 12px; }
    .vendor-biz        { font-size: 11px; }
    .vendor-select-btn { width: auto; padding: 6px 16px; }

    /* Ã¢â€â‚¬ Location panels Ã¢â€â‚¬ */
    .location-view, .edit-address-view { padding: 16px !important; }
    .location-search-input { font-size: 14px; }

    /* Ã¢â€â‚¬ Footer Ã¢â€â‚¬ */
    .footer        { padding: 24px 16px; }
    .footer-inner  { gap: 20px; }
    .footer-brand-logo { width: 100px; }
    .footer-col h4 { font-size: 0.8rem; }
    .footer-col a,
    .footer-col p  { font-size: 0.75rem; }

    /* Ã¢â€â‚¬ Modals Ã¢â€â‚¬ */
    .modal-panel { padding: 20px 16px !important; border-radius: 14px !important; }
    .overlay     { padding: 10px; }

    /* Ã¢â€â‚¬ Profile view adjustments Ã¢â€â‚¬ */
    .profile-header h2 { font-size: 1rem; }
    .profile-card      { padding: 14px; }
    .profile-menu-item { padding: 14px; }

    /* Ã¢â€â‚¬ Screen 3 items Ã¢â€â‚¬ */
    .s3-item-card  { padding: 12px; }
    .s3-item-title { font-size: 13px; }
    .s3-item-price { font-size: 13px; }

    /* Ã¢â€â‚¬ Screen 4 Ã¢â€â‚¬ */
    .svc-detail-title { font-size: 18px !important; }
    .svc-price-current { font-size: 22px !important; }
    .svc-add-btn { padding: 10px 24px !important; font-size: 14px !important; }
}

/* Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ TINY MOBILE (Ã¢â€°Â¤360px) Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
@media (max-width: 360px) {
    /* Extra-compact header */
    .loc-text { max-width: 100px; font-size: 0.6rem; }
    .search-container { height: 38px; }

    /* Categories */
    .sub-service-icon { width: 52px; height: 52px; }
    .sub-service-text { font-size: 0.7rem; }

    /* Vendor */
    .vendor-cards-grid { gap: 6px; }
    .vendor-card       { padding: 10px; }
    .vendor-phone      { font-size: 10px; }

    /* Service booking */
    .service-booking-img    { width: 38px; height: 38px; }
    .service-booking-title  { font-size: 12px; }
    .service-booking-price  { font-size: 12px; }
    .service-booking-status { font-size: 10px; padding: 2px 8px; }

    /* Screen 4 bottom bar */
    .svc-bottom-bar { padding: 10px 12px !important; }
    .svc-add-btn    { font-size: 13px !important; padding: 10px 20px !important; }
}


    /* ---- POPUP TO FULL SCREEN & SLIDER REDUCTION ---- */
    @media (min-width: 800px) {
        .svc-detail-sheet {
            width: 100vw !important;
            max-width: 100vw !important;
            height: 100vh !important;
            max-height: 100vh !important;
            border-radius: 0 !important;
        }
        .svc-detail-sheet.open {
            transform: translate(-50%, -50%) scale(1) !important;
            top: 50% !important;
            left: 50% !important;
        }
        
        /* Reduce image slider width by 80% */
        .svc-detail-banner {
            width: 20% !important;
            min-width: 350px !important;
            margin: 0 auto 20px !important; /* Center it */
            border-radius: 12px !important;
            overflow: hidden !important;
        }
    }
        /* ---- Blinkit Style Screen 4 Detail UI ---- */
    .blink-table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid #f0f0f0; border-radius: 8px; overflow: hidden; margin-bottom: 24px; font-size: 13px; }
    .blink-table tr td { padding: 12px 16px; border-bottom: 1px solid #f0f0f0; }
    .blink-table tr:last-child td { border-bottom: none; }
    .blink-table td:first-child { background-color: #f9f9f9; font-weight: 700; color: #555; width: 40%; border-right: 1px solid #f0f0f0; }
    .blink-table td:last-child { background-color: #fff; color: #333; }
    
    .text-clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; color: #666; font-size: 14px; line-height: 1.5; margin-bottom: 8px; transition: all 0.3s; }
    .text-clamp-none { display: block; overflow: visible; color: #666; font-size: 14px; line-height: 1.5; margin-bottom: 8px; transition: all 0.3s; }
    
    .blink-section-title { font-size: 16px; font-weight: 800; color: #1a1a1a; margin-bottom: 12px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
    
    .btn-show-more { background: none; border: none; color: #005ce6; font-weight: 800; font-size: 14px; cursor: pointer; padding: 0; margin-bottom: 24px; }
    
    .blink-bullets { list-style-type: none; padding: 0; margin: 0; }
    .blink-bullets li { display: flex; align-items: flex-start; color: #666; font-size: 14px; line-height: 1.6; margin-bottom: 8px; }
    .blink-bullets li::before { content: "â€¢"; color: #888; font-weight: bold; font-size: 18px; line-height: 1; margin-right: 8px; display: inline-block; transform: translateY(1px); }
    
    .blink-divider { height: 1px; background: #f0f0f0; margin: 24px 0; }
    /* ---- More Modal Styles ---- */
    .more-modal-overlay { visibility: hidden; pointer-events: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); z-index: 3000; display: flex; justify-content: center; align-items: flex-end; opacity: 0; transition: opacity 0.3s, visibility 0.3s; }
    .more-modal-overlay.open { visibility: visible; pointer-events: auto; opacity: 1; }
    .more-modal-container { background: #fff; width: 100%; max-height: 80vh; border-radius: 24px 24px 0 0; display: flex; flex-direction: column; transform: translateY(100%); transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); position: relative; }
    .more-modal-overlay.open .more-modal-container { transform: translateY(0); }
    .more-modal-header { padding: 24px 24px 16px; display: flex; justify-content: flex-start; align-items: center; }
    .more-modal-title { font-size: 1.1rem; font-weight: 800; color: #1c1c1c; margin: 0; }
    .more-modal-close { position: absolute; top: -60px; left: 50%; transform: translateX(-50%); width: 44px; height: 44px; background: rgba(40,40,40,0.9); border-radius: 50%; border: none; cursor: pointer; color: #fff; display: flex; align-items: center; justify-content: center; z-index: 3001; box-shadow: 0 4px 12px rgba(0,0,0,0.15); transition: background 0.2s; }
    .more-modal-close:active { background: rgba(0,0,0,1); }
    .more-modal-body { padding: 0 24px 24px 24px; overflow-y: auto; }
    .sub-service-item.more-btn { background: #f9f9f9; border: 1px solid #eee; display: flex; flex-direction: column; justify-content: center; align-items: center; border-radius: 12px; cursor: pointer; transition: background 0.2s; }
    .sub-service-item.more-btn:hover { background: #f0f0f0; }
    .sub-service-item.more-btn .sub-service-icon { display: flex; justify-content: center; align-items: center; font-size: 24px; color: #666; width: 64px; height: 64px; }
    
    @media (max-width: 800px) {
        .mobile-bottom-nav { z-index: 3001 !important; }
        .more-modal-overlay { padding-bottom: 78px; box-sizing: border-box; }
        .more-modal-container { border-radius: 24px; margin-bottom: 10px; width: 95%; }
    }
