/* Custom CSS for RealBeauty.lk */

:root {
    --primary-color: #E60023;
    /* Modern vibrant red */
    --text-color: #333;
    --bg-color: #f8f9fa;
    --hover-color: #ffe6e9;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
}

/* Utilities */
.rounded-left-pill {
    border-radius: 50px 0 0 50px !important;
}

.rounded-right-pill {
    border-radius: 0 50px 50px 0 !important;
}

.text-danger {
    color: var(--primary-color) !important;
}

.bg-danger {
    background-color: var(--primary-color) !important;
}

.btn-danger {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transition: all 0.3s ease;
}

.btn-danger:hover {
    background-color: #c41223;
    border-color: #b0101f;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(230, 0, 35, 0.2);
}

/* WhatsApp floating button – desktop & mobile */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.45);
    z-index: 9999;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
}
.whatsapp-float i {
    font-size: 1.75rem;
}
.whatsapp-float:hover {
    color: #fff;
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}
@media (max-width: 767px) {
    .whatsapp-float {
        bottom: calc(60px + max(16px, env(safe-area-inset-bottom)));
        right: max(16px, env(safe-area-inset-right));
        width: 50px;
        height: 50px;
    }
    .whatsapp-float i {
        font-size: 1.5rem;
    }
}

/* Mobile bottom navigation – fixed at bottom, always visible when scrolling */
.mobile-bottom-nav {
    display: none;
}
@media (max-width: 767px) {
    .mobile-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        background: #f0f0f0;
        border-top: 1px solid #e0e0e0;
        padding: 8px 0 calc(8px + env(safe-area-inset-bottom, 0));
        z-index: 1050;
        justify-content: space-around;
        align-items: center;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
    }
    .mobile-bottom-nav a.mobile-nav-item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 6px 4px;
        text-decoration: none;
        color: #333;
        font-size: 0.7rem;
        font-weight: 500;
        -webkit-tap-highlight-color: transparent;
    }
    .mobile-bottom-nav .mobile-nav-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 28px;
        height: 28px;
        margin-bottom: 2px;
        font-size: 1.1rem;
        color: var(--primary-color);
    }
    .mobile-bottom-nav .mobile-nav-item.active .mobile-nav-icon {
        background: var(--primary-color);
        color: #fff;
        border-radius: 50%;
    }
    .mobile-bottom-nav .mobile-nav-item.mobile-nav-chat .mobile-nav-icon {
        color: #25D366;
    }
    .mobile-bottom-nav .mobile-nav-item.mobile-nav-chat.active .mobile-nav-icon {
        background: #25D366;
        color: #fff;
    }
    .mobile-bottom-nav .mobile-nav-label {
        text-transform: uppercase;
        letter-spacing: 0.02em;
    }
    .mobile-bottom-nav .mobile-nav-item:not(.mobile-nav-chat) .mobile-nav-label {
        text-transform: uppercase;
    }
    .mobile-bottom-nav .mobile-nav-item.mobile-nav-chat .mobile-nav-label {
        text-transform: capitalize;
    }
    /* Reserve space so content is not hidden behind fixed nav */
    body {
        padding-bottom: 72px;
    }
}
@media (min-width: 768px) {
    body {
        padding-bottom: 0;
    }
}

/* Header Styles */
.top-bar {
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.hover-opacity:hover {
    opacity: 0.8;
    text-decoration: none;
}

.main-header {
    background: #fff;
    z-index: 1030;
}

.search-form .form-control:focus {
    box-shadow: none;
    background-color: #fff !important;
}

.search-form .input-group:focus-within {
    box-shadow: 0 0 0 3px rgba(230, 0, 35, 0.1);
    border-radius: 50px;
}

.icon-circle {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.group-hover:hover .icon-circle {
    background-color: var(--hover-color) !important;
}

.group-hover:hover .text-danger {
    transform: scale(1.1);
}

.transition-transform {
    transition: transform 0.3s ease;
}

.line-height-1 {
    line-height: 1.2;
}

/* Navigation */
.navbar-nav .nav-link {
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    position: relative;
    padding: 1.5rem 1rem !important;
    color: #444 !important;
    transition: color 0.3s;
}

.navbar-nav .nav-item.active .nav-link,
.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

.nav-animate::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 10px;
    left: 50%;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-item:hover .nav-animate::after,
.navbar-nav .nav-item.active .nav-animate::after {
    width: 80%;
}

.category-dropdown .dropdown-toggle::after {
    display: none;
}

.nav-separator {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 300;
    line-height: 1;
    padding: 0 2px;
    opacity: 0.6;
    list-style: none;
}

/* Sidebar & Home */
.list-group-item {
    border: none;
    font-size: 0.95rem;
    color: #555;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.list-group-item:hover {
    color: var(--primary-color);
    background-color: #fff;
    padding-left: 1.75rem;
    border-left-color: var(--primary-color);
    font-weight: 500;
}

.text-pink {
    color: #ff69b4;
}

.card-img-overlay {
    background: rgba(0, 0, 0, 0.1);
}

.hero-slider {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.hero-slider img {
    transition: transform 0.5s ease;
}

.hero-slider:hover img {
    transform: scale(1.02);
}

/* Category Circles */
.category-circles-section {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.category-circles-section h5 {
    letter-spacing: 2px;
    color: #333;
    position: relative;
    display: inline-block;
    width: 100%;
}

.category-circles-section h5::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin: 8px auto 0;
    border-radius: 2px;
}

.category-icon-circle {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff1f3;
    border: 2px solid #ffd6dc;
    transition: all 0.3s ease;
}

.category-icon-circle i {
    color: var(--primary-color);
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

.category-circle-item:hover .category-icon-circle {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(230, 0, 35, 0.25);
}

.category-circle-item:hover .category-icon-circle i {
    color: #fff;
    transform: scale(1.1);
}

/* Brand logos in circles – no white invert on hover; new design */
.category-icon-circle img.brand-logo-in-circle {
    max-width: 75%;
    max-height: 75%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.category-circle-item:hover .category-icon-circle img.brand-logo-in-circle {
    transform: scale(1.08);
}

.category-circle-item:hover .category-icon-circle .brand-circle-fallback-text {
    color: var(--primary-color) !important;
    transform: scale(1.1);
}

/* SHOP BY BRANDS section: card-style circles, hover = border + shadow (logo stays visible) */
.category-circles-section.brands-section .category-icon-circle {
    background: #fff;
    border: 2px solid #f0f0f0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.category-circles-section.brands-section .category-circle-item:hover .category-icon-circle {
    background: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 8px 24px rgba(230, 0, 35, 0.2);
    transform: scale(1.08);
}

.category-circles-section.brands-section .category-circle-item:hover .category-icon-circle i {
    color: var(--primary-color);
}

.category-circle-item {
    transition: transform 0.2s;
}

.category-circle-item:hover {
    transform: translateY(-5px);
}

.category-circle-item:hover span.font-weight-bold {
    color: var(--primary-color) !important;
}

/* Animations */
@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.animate-pulse {
    animation: pulse 2s infinite ease-in-out;
}

/* Footer Styles */
.footer-heading {
    letter-spacing: 1.5px;
    font-size: 0.85rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 35px;
    height: 2px;
    background: var(--primary-color);
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary-color);
    text-decoration: none;
    padding-left: 5px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary-color);
    color: #fff;
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(230, 0, 35, 0.3);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Featured Brands Marquee */
.brands-section {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.brands-marquee-wrapper {
    position: relative;
    overflow: hidden;
}

.brands-marquee-wrapper::before,
.brands-marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.brands-marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #fff, transparent);
}

.brands-marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #fff, transparent);
}

.brands-marquee {
    overflow: hidden;
}

.brands-track {
    display: flex;
    align-items: center;
    animation: marquee-scroll 25s linear infinite;
    width: max-content;
}

.brands-track:hover {
    animation-play-state: paused;
}

.brand-item {
    flex-shrink: 0;
    padding: 10px 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-item img {
    height: 50px;
    max-width: 120px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: all 0.4s ease;
}

.brand-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.15);
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Section Titles */
.section-title {
    letter-spacing: 2px;
    color: #333;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin: 8px auto 0;
    border-radius: 2px;
}

/* Product Cards */
.product-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.product-img-wrapper {
    height: 250px;
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 12px;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img {
    transform: scale(1.08);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-badge {
    top: 10px;
    left: 10px;
    font-size: 0.7rem;
    padding: 5px 10px;
    border-radius: 3px;
    letter-spacing: 1px;
}

.product-name {
    font-size: 0.85rem;
    color: #444;
    line-height: 1.4;
    height: 2.4em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-card:hover .product-name {
    color: var(--primary-color);
}

.btn-outline-danger {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-danger:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

/* Deals of the Day – uniform card height, image fits inside card */
.deals-of-the-day-section .deal-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}
.deals-of-the-day-section .deal-card-img-wrapper {
    height: 220px;
    min-height: 220px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.deals-of-the-day-section .deal-card-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 12px;
}
.deals-of-the-day-section .deal-card .card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
@media (max-width: 767px) {
    .deals-of-the-day-section .deal-card-img-wrapper {
        height: 180px;
        min-height: 180px;
    }
    .deals-of-the-day-section .deal-card-img {
        padding: 8px;
    }
}

/* Deals of the Day – manual carousel (prev/next buttons, no auto-slide) */
.deals-carousel-wrapper {
    padding-left: 44px;
    padding-right: 44px;
}
.deals-carousel-track {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    gap: 1rem;
    padding: 4px 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}
.deals-carousel-track::-webkit-scrollbar {
    height: 6px;
}
.deals-carousel-track::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}
.deals-carousel-item {
    flex: 0 0 auto;
    width: 280px;
    max-width: 85vw;
}
@media (min-width: 768px) {
    .deals-carousel-item {
        width: 260px;
    }
}
@media (min-width: 992px) {
    .deals-carousel-item {
        width: 280px;
    }
}
/* Scoped so admin pagination is never affected */
.deals-of-the-day-section .deals-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: var(--primary-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(230, 0, 35, 0.35);
    transition: background 0.2s, transform 0.2s;
}
.deals-of-the-day-section .deals-carousel-btn:hover {
    background: #c41223;
    color: #fff;
    transform: translateY(-50%) scale(1.05);
}
.deals-of-the-day-section .deals-carousel-btn:focus {
    outline: none;
}
.deals-of-the-day-section .deals-prev {
    left: 0;
}
.deals-of-the-day-section .deals-next {
    right: 0;
}

/* Shop Page Styles */
.shop-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #c41223 100%) !important;
}

.shop-header .breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

.filter-title {
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    color: #333;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.filter-item {
    display: block;
    padding: 8px 12px;
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    border-radius: 5px;
    margin-bottom: 3px;
    transition: all 0.2s ease;
}

.filter-item:hover {
    background: var(--hover-color);
    color: var(--primary-color);
    text-decoration: none;
    padding-left: 16px;
}

.filter-item.active {
    background: var(--hover-color);
    color: var(--primary-color);
    font-weight: 600;
    border-left: 3px solid var(--primary-color);
}

.wishlist-btn {
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.product-card:hover .wishlist-btn {
    opacity: 1;
}

.wishlist-btn:hover {
    background: var(--primary-color);
}

.wishlist-btn:hover i {
    color: #fff !important;
}

.view-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

/* Product Detail Page */
.product-detail-img-wrapper {
    border-radius: 12px;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-detail-img {
    max-height: 400px;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.product-detail-img:hover {
    transform: scale(1.05);
}

.product-thumb {
    width: 70px;
    height: 70px;
    border: 2px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
}

.product-thumb:hover,
.product-thumb.active-thumb {
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(230, 0, 35, 0.2);
}

.product-thumb img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.product-detail-info {
    border-radius: 12px;
}

.btn-add-cart {
    transition: all 0.3s ease;
    font-weight: 600;
}

.btn-add-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 0, 35, 0.3);
}

.btn-buy-now {
    transition: all 0.3s ease;
    font-weight: 600;
}

.btn-buy-now:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-wishlist-detail {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-wishlist-detail:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.btn-qty {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-qty:hover {
    background: var(--primary-color);
    color: #fff;
}

.feature-box {
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

/* Cart Page */
.cart-item-img {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.cart-item-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cart-item-row {
    transition: background-color 0.2s ease;
}

.cart-item-row:hover {
    background-color: #fafafa;
}

.cart-table th {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #666;
    padding: 12px 16px;
}

.cart-table td {
    padding: 16px;
    vertical-align: middle;
}

.order-summary-card {
    border-radius: 12px;
}

/* Checkout Page */
.checkout-item-img {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.checkout-item-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border: 1px solid #eee;
}

.checkout-item {
    padding: 8px 0;
    border-bottom: 1px solid #f5f5f5;
}

.checkout-item:last-child {
    border-bottom: none;
}

.payment-option {
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-option:hover {
    border-color: var(--primary-color) !important;
    background: #fff5f5 !important;
}

.active-payment {
    border-color: var(--primary-color) !important;
    background: #fff5f5 !important;
}

.place-order-btn {
    transition: all 0.3s ease;
}

.place-order-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(230, 0, 35, 0.3);
}

.checkout-summary {
    border-radius: 12px;
}

/* Contact Page */
.contact-icon-circle {
    width: 80px;
    height: 80px;
    background: #fff5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon-circle {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.contact-card:hover .contact-icon-circle i {
    color: #fff !important;
}

.contact-card {
    transition: all 0.3s ease;
    border-radius: 12px;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

.social-btn {
    transition: all 0.3s ease;
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.social-btn-modern {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-btn-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    color: #fff;
    text-decoration: none;
}

/* ===== RESPONSIVE HELPERS ===== */
.header-px {
    padding-left: 3rem;
    padding-right: 3rem;
}

.home-px {
    padding-left: 3rem;
    padding-right: 3rem;
}

.header-logo {
    height: 60px;
}

.hero-banner-img {
    height: 400px;
    object-fit: cover;
}

.sub-banner-img {
    height: 200px;
    object-fit: cover;
}

.header-spacer {
    height: 160px;
}

/* ===== TABLET (max-width: 991px) ===== */
@media (max-width: 991px) {
    .header-px {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .home-px {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .nav-separator {
        display: none !important;
    }

    .delivery-promo {
        display: none !important;
    }

    .hero-banner-img {
        height: 300px;
    }

    .header-spacer {
        height: 120px;
    }

    .category-icon-circle {
        width: 60px;
        height: 60px;
    }

    .category-icon-circle img.brand-logo-in-circle {
        max-width: 75%;
        max-height: 75%;
    }

    .category-icon-circle i {
        font-size: 1.2rem;
    }

    .category-circle-item {
        width: 90px !important;
    }

    /* Footer columns */
    .footer-main .col-lg-4,
    .footer-main .col-lg-2 {
        margin-bottom: 1.5rem;
    }
}

/* ===== MOBILE (max-width: 767px) ===== */
@media (max-width: 767px) {
    .header-px {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .home-px {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .header-logo {
        height: 40px;
    }

    .header-spacer {
        height: 95px;
    }

    main.py-4 {
        padding-top: 0.5rem !important;
        padding-bottom: 1rem !important;
    }

    .hero-slider {
        margin-left: -1rem;
        margin-right: -1rem;
    }

    .hero-slider .card {
        border-radius: 0 !important;
    }

    .hero-banner-img {
        height: 220px;
        border-radius: 0 !important;
    }

    .sub-banner-img {
        height: 150px;
    }

    .card-img-overlay {
        padding: 1rem !important;
    }

    .card-img-overlay .btn-lg {
        font-size: 0.85rem;
        padding: 0.4rem 1rem;
    }

    /* Category circles */
    .category-circles-section {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .category-icon-circle {
        width: 50px;
        height: 50px;
    }

    .category-icon-circle img.brand-logo-in-circle {
        max-width: 70%;
        max-height: 70%;
    }

    .category-icon-circle .brand-circle-fallback-text {
        font-size: 1rem !important;
    }

    .category-icon-circle i {
        font-size: 1rem;
    }

    .category-circle-item {
        width: 75px !important;
        margin-left: 4px !important;
        margin-right: 4px !important;
    }

    .category-circle-item .small {
        font-size: 0.65rem !important;
    }

    /* Products */
    .products-section {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .product-card .card-body {
        padding: 0.75rem !important;
    }

    /* Product image: square box = no extra empty space below image, full photo visible */
    .product-img-wrapper {
        height: auto;
        aspect-ratio: 1 / 1;
    }
    .product-img-wrapper .product-img,
    .product-card .product-img {
        padding: 6px;
        object-fit: contain;
        height: 100%;
    }
    .product-card .card-body {
        padding-top: 0.5rem !important;
    }

    .product-name {
        font-size: 0.8rem;
    }

    .product-overlay .btn {
        font-size: 0.7rem;
        padding: 0.25rem 0.6rem;
    }

    .section-title {
        font-size: 1rem;
    }

    /* Brands */
    .brands-section {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .brand-item {
        width: 100px;
        padding: 10px;
    }

    .brand-item img {
        height: 30px;
    }

    /* Footer */
    .footer-main {
        padding-top: 2rem !important;
        padding-bottom: 1.5rem !important;
    }

    .footer-main .container-fluid {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .footer-bottom .container-fluid {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .footer-bottom .col-md-6 {
        text-align: center !important;
        margin-bottom: 0.5rem;
    }

    /* Contact hero */
    .contact-hero {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }

    .contact-hero h2 {
        font-size: 1.5rem !important;
    }

    /* Shop header */
    .shop-header {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }

    .shop-header h3 {
        font-size: 1.2rem;
    }

    /* Cart table */
    .cart-item-img {
        width: 60px;
        height: 60px;
    }

    .cart-table th {
        font-size: 0.7rem;
        padding: 8px;
    }

    .cart-table td {
        padding: 10px 8px;
    }
}

/* ===== SMALL MOBILE (max-width: 480px) ===== */
@media (max-width: 480px) {
    .header-px {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .home-px {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .header-logo {
        height: 35px;
    }

    .hero-slider {
        margin-left: -0.75rem;
        margin-right: -0.75rem;
    }

    .hero-banner-img {
        height: 180px;
    }

    .sub-banner-img {
        height: 120px;
    }

    .col-sm-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .product-img-wrapper {
        height: auto;
        aspect-ratio: 1 / 1;
    }
    .product-img-wrapper .product-img,
    .product-card .product-img {
        padding: 4px;
        object-fit: contain;
        height: 100%;
    }

    .category-icon-circle {
        width: 45px;
        height: 45px;
    }

    .category-icon-circle img.brand-logo-in-circle {
        max-width: 65%;
        max-height: 65%;
    }

    .category-icon-circle .brand-circle-fallback-text {
        font-size: 0.85rem !important;
    }

    .category-circle-item {
        width: 65px !important;
    }
}

/* ===== COMING SOON PAGES ===== */
.icon-pulse {
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.countdown-box {
    background: linear-gradient(135deg, #fff5f5, #fff);
    border: 2px solid #ffd5d5;
    border-radius: 12px;
    padding: 15px 20px;
    min-width: 80px;
    transition: transform 0.3s ease;
}

.countdown-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(230, 0, 35, 0.15);
}

.countdown-num {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #E60023;
    line-height: 1;
}

.countdown-label {
    display: block;
    font-size: 0.75rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

@media (max-width: 767px) {
    .coming-soon-page h2 {
        font-size: 1.8rem !important;
    }

    .countdown-box {
        padding: 10px 14px;
        min-width: 65px;
    }

    .countdown-num {
        font-size: 1.5rem;
    }
}

/* ===== SHOP PAGE MOBILE ===== */
@media (max-width: 767px) {
    .shop-header {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }

    .shop-header h3 {
        font-size: 1.2rem;
        margin-bottom: 0 !important;
    }

    .shop-topbar {
        padding: 0.6rem !important;
    }

    .shop-topbar .custom-select-sm {
        font-size: 0.75rem;
    }

    .shop-sidebar .filter-card .card-body {
        padding: 0.75rem;
    }

    #productsGrid .col-6 .product-img-wrapper {
        height: auto;
        aspect-ratio: 1 / 1;
    }
    #productsGrid .col-6 .product-img-wrapper .product-img,
    #productsGrid .col-6 .product-card .product-img {
        padding: 4px;
        object-fit: contain;
        height: 100%;
    }

    #productsGrid .col-6 .product-card .card-body {
        padding: 0.5rem !important;
        padding-top: 0.4rem !important;
    }

    #productsGrid .col-6 .product-name {
        font-size: 0.75rem;
        line-height: 1.3;
    }

    #productsGrid .col-6 .product-price span {
        font-size: 0.9rem !important;
    }

    #productsGrid .col-6 .product-rating .small {
        font-size: 0.6rem !important;
    }

    #productsGrid .col-6 .product-overlay .btn {
        font-size: 0.65rem;
        padding: 0.2rem 0.5rem;
    }

    #productsGrid .col-6 {
        padding-left: 6px;
        padding-right: 6px;
        margin-bottom: 12px !important;
    }
}