/* Version: 1.0.22 */

/* --- Base Styles --- */
body {
    background-color: #ffffff;
    transition: background-color 0.3s, color 0.3s;
    padding-top: 64px;
}

/* ... (Keep all previous styles unchanged) ... */

.navbar {
    background-color: #ffffff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    padding: 8px 16px;
    transition: background-color 0.3s;
    height: 64px;
}

.icon-btn {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
    color: #5f6368;
    border: none;
    background: transparent;
}

.icon-btn:hover {
    background-color: #f1f3f4;
}

.icon-btn i {
    font-size: 1.2rem;
}

/* --- Hero Slider Styles --- */
.hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-img {
    height: 550px;
    object-fit: cover;
}

.custom-caption {
    left: 10%;
    right: auto;
    bottom: 25%;
    text-align: left;
    max-width: 50%;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.carousel-item {
    transition: transform 0.6s ease-in-out;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-size: 50%, 50%;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    padding: 20px;
}

/* --- ANIMATIONS --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.animate-on-load {
    animation-name: fadeInUp;
    animation-duration: 0.8s;
    animation-fill-mode: both;
}

@keyframes floatLogo {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* --- CATEGORY CARDS --- */
.category-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1 / 1;
    padding: 10px;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    background: white;
    border: 1px solid transparent;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-color: #e0e0e0;
}

.cat-img-wrapper {
    width: 100%;
    flex-grow: 1;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    margin-bottom: 8px;
    transition: background-color 0.3s;
}

.cat-img {
    max-width: 75%;
    max-height: 75%;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.category-card:hover .cat-img {
    transform: scale(1.15) rotate(3deg);
}

.cat-title {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 2px;
    transition: color 0.2s;
}

.category-card:hover .cat-title {
    color: #4285F4 !important;
}

/* --- EXCLUSIVE PRODUCTS SECTION --- */
.exclusive-banner {
    position: relative;
    background-color: #212529;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

.zoom-effect {
    transition: transform 0.8s ease;
}

.exclusive-banner:hover .zoom-effect {
    transform: scale(1.05);
}

.product-card {
    background: white;
    border: 1px solid #f1f3f4;
    border-radius: 16px;
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}

.product-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
    border-color: #e0e0e0;
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 20;
    padding: 6px 12px;
    font-weight: 500;
    border-radius: 6px;
}

.prod-img-wrapper {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    overflow: hidden;
}

.prod-img {
    max-height: 100%;
    transition: transform 0.4s ease;
}

.product-card:hover .prod-img {
    transform: scale(1.08);
}

.buy-btn {
    background-color: #0652DD;
    border-color: #0652DD;
    transition: all 0.3s;
}

.buy-btn:hover {
    background-color: #0041b8;
    border-color: #0041b8;
}

.buy-btn:disabled {
    background-color: #7faaff;
    border-color: #7faaff;
}

.text-primary {
    color: #0652DD !important;
}

/* --- SOLUTIONS SECTION --- */
.solution-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

.solutions-img-wrapper img {
    transition: transform 0.8s ease;
}

.solutions-img-wrapper:hover img {
    transform: scale(1.03);
}

/* --- PROMO BANNERS SECTION --- */
.promo-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
    display: block;
}

.promo-img:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15) !important;
}

/* --- SHIPPING FEATURES SECTION --- */
.feature-list li {
    display: flex;
    align-items: center;
    font-size: 1rem;
    margin-bottom: 15px;
    color: #4b5563;
}

.feature-icon {
    font-size: 1.2rem;
    color: #0652DD;
    margin-right: 12px;
}

.map-container {
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carrier-logo {
    position: absolute;
    background: white;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    animation: floatLogo 4s ease-in-out infinite;
}

.carrier-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.logo-1 {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.logo-2 {
    top: 40%;
    right: 15%;
    width: 100px;
    height: 100px;
    animation-delay: 1.5s;
}

.logo-3 {
    bottom: 15%;
    left: 35%;
    animation-delay: 3s;
}

/* --- FAQ SECTION --- */
.faq-card {
    border: 1px solid #e5e7eb;
    border-radius: 12px !important;
    overflow: hidden;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
    transition: box-shadow 0.3s ease;
}

.faq-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.accordion-button {
    background-color: transparent !important;
    font-weight: 500;
    color: #333;
    box-shadow: none !important;
    padding: 1.2rem;
}

.accordion-button:not(.collapsed) {
    color: #0652DD;
}

.bg-purple-subtle {
    background-color: #e8f0fe !important;
}

.text-purple {
    color: #0652DD !important;
}

.border-purple-subtle {
    border-color: #d2e3fc !important;
}

.contact-banner {
    background-color: #0652DD;
    color: white;
}

.contact-btn {
    background: white;
    color: #0652DD;
    border: none;
    transition: transform 0.2s;
}

.contact-btn:hover {
    transform: translateX(5px);
    color: #0041b8;
}

/* --- FOOTER SECTION --- */
.footer-cta {
    background-color: #2C6BF2;
}

.footer-main {
    background-color: #0652DD;
    color: white;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

.payment-icons i {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.2s;
}

.payment-icons i:hover {
    color: white;
}

.footer-bottom {
    background-color: #2C6BF2;
}

.border-white-10 {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.social-icons a {
    background: rgba(255, 255, 255, 0.1);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s;
}

.social-icons a:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* --- FLOATING ACTIONS (NEW) --- */
.floating-actions {
    position: fixed;
    bottom: 30px;
    z-index: 1000;
    width: 100%;
    pointer-events: none;
    /* Allows clicking through empty space */
}

.float-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: none;
    color: white;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s;
    pointer-events: auto;
    /* Enable clicking buttons */
}

/* 1. Left: Menu Button */
.floating-menu-container {
    position: absolute;
    left: 30px;
    bottom: 0;
    display: flex;
    flex-direction: column-reverse;
    /* Items appear above button */
    align-items: center;
    gap: 15px;
}

.main-float-btn {
    background-color: #0652DD;
    /* WhatsApp Green */
}

.main-float-btn:hover {
    transform: scale(1.1);
}

.main-float-btn.active {
    transform: rotate(45deg);
    /* Spin X icon */
    background-color: #dc3545;
    /* Turn red when open */
}

.float-menu-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.float-menu-items.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.float-item {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s;
    pointer-events: auto;
}

.float-item:hover {
    transform: scale(1.1);
    color: white;
}

/* Social Colors */
.bg-facebook {
    background-color: #3b5998;
}

.bg-instagram {
    background-color: #E1306C;
}

.bg-linkedin {
    background-color: #0077b5;
}

.bg-whatsapp {
    background-color: #0652DD;
}

.bg-phone {
    background-color: #0652DD;
}

/* 2. Right: Scroll Top Button */
.scroll-top-btn {
    position: absolute;
    right: 30px;
    bottom: 0;
    background-color: #0652DD;
    /* Purple */
}

.scroll-top-btn:hover {
    background-color: #0041b8;
    transform: translateY(-5px);
}


/* --- App Grid & Profile Styles (Same as before) --- */
.app-grid-dropdown {
    width: 320px;
    padding: 1rem;
    border-radius: 24px;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    top: 55px !important;
    background-color: #fff;
}

.app-grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    text-align: center;
}

.app-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    border-radius: 12px;
    text-decoration: none;
    color: #3c4043;
    transition: background-color 0.2s;
}

.app-item:hover {
    background-color: #e8eaed;
}

.app-icon-placeholder {
    width: 40px;
    height: 40px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.app-name {
    font-size: 0.85rem;
    font-weight: 500;
}

.profile-dropdown {
    width: 300px;
    border-radius: 24px;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 20px;
    top: 55px !important;
    background-color: #fff;
    text-align: center;
}

.manage-account-btn {
    border: 1px solid #dadce0;
    border-radius: 100px;
    padding: 6px 20px;
    background: white;
    color: #3c4043;
    font-weight: 500;
    font-size: 0.9rem;
    margin-top: 10px;
    display: inline-block;
    text-decoration: none;
}

.manage-account-btn:hover {
    background-color: #f7f8f8;
}

/* --- Side Menu --- */
.offcanvas {
    border-top-right-radius: 16px;
    border-bottom-right-radius: 16px;
}

/* --- DARK MODE OVERRIDES --- */
[data-bs-theme="dark"] body {
    background-color: #202124 !important;
    color: #e8eaed !important;
}

[data-bs-theme="dark"] .navbar {
    background-color: #303134 !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

[data-bs-theme="dark"] .input-group-text,
[data-bs-theme="dark"] .form-control {
    background-color: #3c4043 !important;
    border-color: transparent;
    color: #e8eaed;
}

[data-bs-theme="dark"] .icon-btn {
    color: #e8eaed;
}

[data-bs-theme="dark"] .icon-btn:hover {
    background-color: #3c4043;
}

[data-bs-theme="dark"] .hero-img {
    opacity: 0.9;
}

[data-bs-theme="dark"] .app-grid-dropdown,
[data-bs-theme="dark"] .profile-dropdown {
    background-color: #303134;
    color: #e8eaed;
}

[data-bs-theme="dark"] .app-item {
    color: #e8eaed;
}

[data-bs-theme="dark"] .app-item:hover {
    background-color: #3c4043;
}

[data-bs-theme="dark"] .category-card {
    background-color: #303134;
    border-color: #3c4043;
}

[data-bs-theme="dark"] .category-card:hover {
    background-color: #3c4043;
    border-color: #5f6368;
}

[data-bs-theme="dark"] .cat-title {
    color: #e8eaed !important;
}

/* Dark Mode Exclusive Products */
[data-bs-theme="dark"] .product-card {
    background-color: #303134;
    border-color: #3c4043;
}

[data-bs-theme="dark"] .product-card:hover {
    border-color: #5f6368;
}

[data-bs-theme="dark"] .prod-img-wrapper {
    background-color: #303134;
}

[data-bs-theme="dark"] .text-primary {
    color: #a097e0 !important;
}

/* Dark Mode Solutions */
[data-bs-theme="dark"] .solution-card {
    background-color: #303134 !important;
    color: #e8eaed;
}

[data-bs-theme="dark"] .text-dark {
    color: #e8eaed !important;
}

[data-bs-theme="dark"] .bg-light-subtle {
    background-color: #202124 !important;
}

/* Dark Mode Shipping */
[data-bs-theme="dark"] .bg-white {
    background-color: #202124 !important;
}

[data-bs-theme="dark"] .feature-list li {
    color: #bdc1c6;
}

[data-bs-theme="dark"] .carrier-logo {
    background-color: #303134;
}

/* Dark Mode FAQ */
[data-bs-theme="dark"] .faq-card {
    background-color: #303134;
    border-color: #3c4043;
}

[data-bs-theme="dark"] .accordion-button {
    color: #e8eaed;
}

[data-bs-theme="dark"] .accordion-button:not(.collapsed) {
    color: #a097e0;
}

/* Dark Mode Footer */
[data-bs-theme="dark"] .footer-cta {
    background-color: #2c244d;
}

[data-bs-theme="dark"] .footer-main {
    background-color: #3c2e6b;
}

[data-bs-theme="dark"] .footer-bottom {
    background-color: #2c244d;
}

[data-bs-theme="dark"] .icon-circle.bg-white {
    background-color: #202124 !important;
}

/* Cart Styles */
.cart-item-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

/* Checkout Styles */
.checkout-form .form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.15);
    border-color: #86b7fe;
}

/* --- MOBILE NAVBAR ADJUSTMENTS --- */
@media (max-width: 576px) {
    .navbar {
        padding: 8px 4px !important;
    }

    .navbar .container-fluid {
        padding-left: 4px !important;
        padding-right: 4px !important;
    }

    .icon-btn {
        width: 32px;
        height: 32px;
    }

    .icon-btn i {
        font-size: 1rem;
    }

    .navbar-brand span {
        font-size: 1.1rem !important;
    }

    .navbar-brand img {
        height: 28px !important;
        width: auto;
    }

    .navbar-brand {
        margin-right: 0 !important;
    }
}

/* --- MOBILE HERO FIXES --- */
@media (max-width: 768px) {
    .hero-img {
        height: 400px;
        object-position: 85% center;
    }

    .custom-caption {
        bottom: 5%;
        left: 5%;
        width: 90%;
        max-width: 100%;
        text-align: center !important;
        background: rgba(0, 0, 0, 0.5);
        /* Overlay for readability */
        padding: 15px;
        border-radius: 12px;
        backdrop-filter: blur(2px);
    }


    .custom-caption h1 {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }

    .custom-caption p {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }

    .custom-caption .btn {
        font-size: 0.9rem;
        padding: 8px 20px;
        width: auto;
    }
}