/* Mobile App-like Bottom Navigation */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 65px;
    background: var(--bg-white);
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-bottom: env(safe-area-inset-bottom);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 11px;
    color: var(--text-gray);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 20%;
    padding: 8px 0;
}

.nav-item.active {
    color: var(--primary-teal);
    font-weight: 600;
}

.nav-item i {
    width: 22px;
    height: 22px;
    margin-bottom: 4px;
}

.nav-item.active i {
    transform: scale(1.1);
}

/* App Header Adjustments */
.app-header {
    height: 64px;
    display: flex;
    align-items: center;
    padding: 0 20px;
}

/* Horizontal Scroll Categories (Zomato Style) */
.swipe-container {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 20px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.swipe-container::-webkit-scrollbar {
    display: none;
}

.category-item {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 85px;
}

.category-image {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #FDF9F3; /* Soft Beige */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    border: 1px solid #F0E6D2;
    transition: all 0.3s ease;
    overflow: hidden;
    /* Bulletproof Webkit round-masking logic */
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    isolation: isolate;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%; /* Double protection against corner leakage in iOS browsers */
}

.category-item:active .category-image {
    transform: scale(0.9);
    background: #F0E6D2;
}

.category-name {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-dark);
    text-align: center;
}

/* App Cards */
.app-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    margin-bottom: 20px;
    border: 1px solid #f0f0f0;
}

/* Floating Action Button */
.fab-whatsapp {
    position: fixed;
    bottom: 85px;
    right: 20px;
    width: 56px;
    height: 56px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
}

/* Header Buttons (Pill Style) */
.nav-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 10px;
    md-font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none !important;
    white-space: nowrap;
}

.nav-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-decoration: none !important;
    color: white !important;
}

/* Marquee Styles */

.marquee-wrapper {
    overflow: hidden;
    background: white;
    padding: 30px 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 30s linear infinite;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 40px;
    flex-shrink: 0;
}

.badge-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.badge-label {
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
    color: #4A4A4A;
    letter-spacing: 0.5px;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}


/* Concern Section (Avataar Style) */
.concern-section {
    padding: 24px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 18px;
    font-weight: 700;
    color: #1A1A1A;
}

.view-all {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-teal);
    display: flex;
    align-items: center;
    gap: 4px;
}

.filter-row {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding: 0 20px 20px;
    scrollbar-width: none;
}

.filter-row::-webkit-scrollbar {
    display: none;
}

.filter-btn {
    padding: 8px 16px;
    background: #F5F5F5;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: #4A4A4A;
    white-space: nowrap;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.filter-btn.active {
    background: #EAF2F1;
    color: var(--primary-teal);
    border-color: var(--primary-teal);
}

.concern-carousel {
    display: flex;
    overflow-x: auto;
    gap: 16px;
    padding: 0 20px 20px;
    scrollbar-width: none;
}

.concern-carousel::-webkit-scrollbar {
    display: none;
}

.concern-card {
    flex: 0 0 300px;
    background: white;
    border-radius: 20px;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    border: 1px solid #F0F0F0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.card-left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 60%;
}

.card-title {
    font-size: 15px;
    font-weight: 600;
    color: #1A1A1A;
    line-height: 1.3;
    margin-bottom: 8px;
}

.card-price-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.final-price {
    font-size: 16px;
    font-weight: 700;
    color: #1A1A1A;
}

.original-price {
    font-size: 12px;
    color: #999;
    text-decoration: line-through;
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rating-badge {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 600;
    color: #4A4A4A;
}

.duration-pill {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 600;
    color: #4A4A4A;
}

.card-right {
    width: 35%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    background: #F9F9F9;
    margin-bottom: 12px;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.discount-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: #FF5C5C;
    color: white;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 6px;
    border-bottom-left-radius: 8px;
}

.view-btn {
    width: 100%;
    padding: 6px;
    border: 1.5px solid var(--primary-teal);
    border-radius: 8px;
    color: var(--primary-teal);
    font-size: 13px;
    font-weight: 700;
    text-align: center;
}

