/* Simplified Store Page Design - Custom Override */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* Modern Round Flags for Country Selector */
.dropdown img[src*="flags/"] {
    width: 30px !important;
    height: 30px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 2px solid #ffffff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
    transition: all 0.3s ease !important;
}

.dropdown img[src*="flags/"]:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25) !important;
}

/* Modern Dropdown Styling */
.dropdown .dropdown-menu {
    background: white !important;
    border: none !important;
    border-radius: 15px !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
    padding: 10px !important;
    margin-top: 8px !important;
    backdrop-filter: blur(10px) !important;
    min-width: 160px !important;
}

.dropdown .dropdown-item {
    padding: 10px 15px !important;
    border-radius: 10px !important;
    transition: all 0.2s ease !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    font-weight: 500 !important;
    font-size: 14px !important;
}

.dropdown .dropdown-item:hover {
    background: rgba(255, 75, 58, 0.1) !important;
    color: #ff4b3a !important;
    transform: translateX(5px) !important;
}

/* Modern Toggle Button */
.dropdown .btn.dropdown-toggle {
    background: rgba(255, 255, 255, 0.95) !important;
    border: none !important;
    border-radius: 25px !important;
    padding: 8px 15px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
    backdrop-filter: blur(10px) !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.dropdown .btn.dropdown-toggle:hover,
.dropdown .btn.dropdown-toggle:focus {
    background: rgba(255, 255, 255, 1) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15) !important;
}

/* Base background and page area */
body .simplified-store {
    background-color: #fbf4ed !important;
    min-height: 100vh !important;
}

body .simplified-store .store-area,
body .simplified-store section {
    background-color: #fbf4ed !important;
    padding: 40px 0 !important;
}

/* Main content container width (aim for 90%) */
body .simplified-store .store-left-section {
    width: 90% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
}

/* Store Header - Zona 1: Banner Image */
body .simplified-store .store-banner-section {
    margin-bottom: 30px !important;
}

body .simplified-store .store-banner-img {
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 12px rgba(28, 9, 3, 0.1) !important;
    width: 90% !important;
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

body .simplified-store .store-banner-img img {
    height: 400px !important;
    object-fit: cover !important;
    width: 100% !important;
}

/* Store Header - Zona 2: Logo + Info */
body .simplified-store .store-info-section {
    margin-bottom: 30px !important;
}

body .simplified-store .store-info {
    background: #ffffff !important;
    padding: 25px 30px !important;
    border-radius: 12px !important;
    position: relative !important;
    z-index: 2 !important;
    box-shadow: 0 4px 20px rgba(28, 9, 3, 0.08) !important;
    border: none !important;
    width: 90% !important;
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Logo Container */
body .simplified-store .store-logo-container {
    padding: 10px !important;
}

body .simplified-store .store-logo-img {
    width: 80px !important;
    height: 80px !important;
    border-radius: 12px !important;
    object-fit: cover !important;
    border: 3px solid #ffffff !important;
    box-shadow: 0 4px 12px rgba(28, 9, 3, 0.15) !important;
    display: block !important;
    margin: 0 auto !important;
}

/* Store Details Section */
body .simplified-store .store-name {
    font-family: 'Inter', sans-serif !important;
    font-size: 26px !important;
    font-weight: 700 !important;
    color: #1c0903 !important;
    margin-bottom: 0 !important;
    margin-right: 12px !important;
    line-height: 1.2 !important;
    display: inline-block !important;
}

body .simplified-store .store-title-section {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
}

body .simplified-store .location-item {
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    color: #666 !important;
    margin-bottom: 4px !important;
    font-weight: 400 !important;
}

body .simplified-store .delivery-time-info,
body .simplified-store .rating-info {
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    color: #666 !important;
    font-weight: 500 !important;
}

body .simplified-store .rating-score {
    color: #1c0903 !important;
    font-weight: 600 !important;
}

body .simplified-store .rating-count {
    color: #666 !important;
    font-size: 13px !important;
}

body .simplified-store .badge-red {
    background-color: #1c0903 !important;
    color: #ffffff !important;
    padding: 4px 12px !important;
    border-radius: 20px !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    margin-left: 12px !important;
    border: none !important;
}

/* Store Action Tabs */
body .simplified-store .store-action {
    background: #ffffff !important;
    border-radius: 12px !important;
    margin: 20px auto !important;
    box-shadow: 0 2px 10px rgba(28, 9, 3, 0.05) !important;
    width: 90% !important;
    max-width: 1200px !important;
}

body .simplified-store .nav-tabs {
    border: none !important;
    padding: 20px 25px 0 !important;
    background: transparent !important;
}

body .simplified-store .nav-tabs li a {
    border: none !important;
    background: none !important;
    color: #666 !important;
    font-weight: 500 !important;
    font-size: 16px !important;
    padding: 12px 20px !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
    font-family: 'Inter', sans-serif !important;
}

body .simplified-store .nav-tabs li.active a,
body .simplified-store .nav-tabs li a:hover,
body .simplified-store .nav-tabs li a.active {
    background-color: #1c0903 !important;
    color: #ffffff !important;
    border: none !important;
}

/* Product Grid Simplification */
body .simplified-store .single-category-food {
    background: #ffffff !important;
    border-radius: 12px !important;
    padding: 30px !important;
    margin-bottom: 30px !important;
    box-shadow: 0 2px 12px rgba(28, 9, 3, 0.06) !important;
    border: none !important;
    width: 90% !important;
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

body .simplified-store .category-title h3 {
    font-family: 'Inter', sans-serif !important;
    font-size: 24px !important;
    font-weight: 600 !important;
    color: #1c0903 !important;
    margin-bottom: 25px !important;
    padding-bottom: 12px !important;
    border-bottom: 2px solid #fbf4ed !important;
}

/* Product Cards */
body .simplified-store .single-food-card {
    background: #ffffff !important;
    border: 1px solid #f0f0f0 !important;
    border-radius: 12px !important;
    padding: 20px !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    height: 100% !important;
    box-shadow: 0 2px 8px rgba(28, 9, 3, 0.04) !important;
    margin-bottom: 0 !important;
}

body .simplified-store .single-food-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 8px 25px rgba(28, 9, 3, 0.12) !important;
    border-color: #1c0903 !important;
}

body .simplified-store .food-img {
    margin-bottom: 16px !important;
    border-radius: 8px !important;
    overflow: hidden !important;
}

body .simplified-store .food-img img {
    width: 100% !important;
    height: 180px !important;
    object-fit: cover !important;
    transition: all 0.3s ease !important;
}

body .simplified-store .single-food-card:hover .food-img img {
    transform: scale(1.05) !important;
}

body .simplified-store .food-another h5 {
    font-family: 'Inter', sans-serif !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #1c0903 !important;
    margin-bottom: 8px !important;
    line-height: 1.3 !important;
}

body .simplified-store .food-another p {
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    color: #666 !important;
    line-height: 1.4 !important;
    margin-bottom: 16px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

body .simplified-store .food-price {
    font-family: 'Inter', sans-serif !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #1c0903 !important;
}

body .simplified-store .food-action a {
    background-color: #1c0903 !important;
    color: #ffffff !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
    font-size: 14px !important;
    border: none !important;
    text-decoration: none !important;
}

/* Ensure the inline SVG plus is size/centered and white */
body .simplified-store .food-action a svg {
    width: 16px !important;
    height: 16px !important;
    display: block !important;
}

body .simplified-store .food-action a:hover {
    background-color: #2d1507 !important;
    transform: scale(1.1) !important;
    color: #ffffff !important;
    text-decoration: none !important;
}


/* Cart items layout cleanup */
body .simplified-store .single-cart-product {
    padding: 18px 0 !important;
    border-bottom: 1px solid #f2eae3 !important;
}

/* Quantity controls styled like product add button */
body .simplified-store .cart-product-action {
    width: auto !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 999px !important;
    height: 36px !important;
    gap: 10px !important;
    padding: 0 2px !important;
}

body .simplified-store .cart-product-action a {
    background-color: #1c0903 !important;
    color: #ffffff !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    border: none !important;
}

body .simplified-store .cart-product-action a svg {
    width: 14px !important;
    height: 14px !important;
}

body .simplified-store .cart-product-action .qty input {
    width: 36px !important;
    text-align: center !important;
    border: none !important;
    background: #fff !important;
    color: #1c0903 !important;
    font-weight: 600 !important;
}

body .simplified-store .delivery-order-form h5 {
    font-family: 'Inter', sans-serif !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    color: #1c0903 !important;
    margin-bottom: 20px !important;
}

body .simplified-store .single-cart-product {
    padding: 15px 0 !important;
    border-bottom: 1px solid #f0f0f0 !important;
}

body .simplified-store .cart-product-title h5 {
    font-family: 'Inter', sans-serif !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    color: #1c0903 !important;
    margin-bottom: 4px !important;
}

body .simplified-store .checkout-btn a {
    background-color: #1c0903 !important;
    color: #ffffff !important;
    padding: 15px 30px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    display: inline-block !important;
    width: 100% !important;
    text-align: center !important;
    transition: all 0.3s ease !important;
    font-family: 'Inter', sans-serif !important;
    border: none !important;
}

body .simplified-store .checkout-btn a:hover {
    background-color: #2d1507 !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

/* Ratings and delivery info */
body .simplified-store .delivery-ag-time,
body .simplified-store .store-rating-area,
body .simplified-store .store-rating-area p {
    font-family: 'Inter', sans-serif !important;
    color: #666 !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    body .simplified-store .single-food-card {
        margin-bottom: 20px !important;
    }
    
    /* En móviles, usar más ancho disponible */
    body .simplified-store .store-left-section,
    body .simplified-store .single-category-food,
    body .simplified-store .store-action {
        width: 95% !important;
        max-width: none !important;
    }
    
    /* Banner responsive */
    body .simplified-store .store-banner-img {
        max-width: 100% !important;
    }
    
    body .simplified-store .store-banner-img img {
        height: 240px !important;
    }
    
    /* Info section responsive */
    body .simplified-store .store-info {
        padding: 20px !important;
        width: 95% !important;
        max-width: none !important;
    }
    
    /* Logo más pequeño en móvil */
    body .simplified-store .store-logo-img {
        width: 60px !important;
        height: 60px !important;
    }
    
    /* Título más pequeño en móvil */
    body .simplified-store .store-name {
        font-size: 20px !important;
    }
    
    /* Stack vertical en móvil */
    body .simplified-store .store-info .row {
        text-align: center !important;
    }
    
    body .simplified-store .store-info .col-md-3 {
        margin-bottom: 15px !important;
    }
    
    body .simplified-store .store-meta-info {
        justify-content: center !important;
    }
    
    body .simplified-store .food-img img {
        height: 160px !important;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    /* En tablets, usar 90% del ancho */
    body .simplified-store .store-left-section,
    body .simplified-store .single-category-food,
    body .simplified-store .store-action {
        width: 90% !important;
        max-width: none !important;
    }
    /* Taller banner on tablets */
    body .simplified-store .store-banner-img img {
        height: 300px !important;
    }

/* Keep vendor icon fonts untouched (no overrides here) */
}
