@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Staatliches&display=swap');

a {
    text-decoration: none;
}

.font-pop {
    font-family: "Poppins", sans-serif !important;
}

.font-staatliches {
    font-family: "Staatliches", sans-serif;
}

.hero-title {
    line-height: 80px !important;
}

.text-blue {
    color: #F2720C;
    /* color: #2c5186; */
}

.bg-blue {
    background-color: #F2720C;
}

.bg-blue-light {
    background-color: #f2740ce1;
}

.text-sec {
    color: #f2740ce1;
}

.bg-sec {
    background-color: #f2740ce1;
}

.text-secondary {
    color: #22284c;
}

.text-gray {
    color: #242424;
}

.bg-gray {
    background-color: #242424;
}

#site-header {
    z-index: 1050;
}

.banner-bg {
    background-color: #a8642cc7;
    opacity: 0.9;
}

.primarybtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 11px 20px;
    background-color: #F2720C;
    color: #ffffff;
    border-radius: 9999px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    font-size: 0.875rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    width: 159px !important;
}

.primarybtn:hover {
    background-color: #20adb9;
}

.social-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 18px !important;
    background-color: #F2720C;
    /* bg-blue (Tailwind blue-600 approx) */
    color: rgba(255, 255, 255, 0.9);
    /* text-white/90 */
    border-radius: 0.5rem;
    /* rounded-lg */
    text-decoration: none;
    cursor: pointer;
    width: 3rem !important;
    height: 3rem !important;
    transition: opacity 0.3s ease;
}

.social-icon:hover {
    opacity: 0.9;
}

.product-card {
    /* governs both enter + exit transitions; delays applied inline from JS for staggering */
    transition: opacity 320ms ease, transform 320ms ease;
    will-change: opacity, transform;
}

/* starting state for entering cards */
.card-enter {
    opacity: 0;
    transform: translateY(12px);
}

/* exit animation for old cards */
.card-exit {
    opacity: 0 !important;
    transform: translateY(-10px) !important;
}

.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    transition: transform 300ms ease, box-shadow 300ms ease;
}



.desktop-menu {
    display: flex ;
}

#mobile-menu-overlay {
    display: none;
}

.menu-button {
    display: none;
}

#mobile-menu {
    display: none;
}

/* reduce animations for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    .product-card {
        transition: none !important;
    }
}


@media (max-width:1025px) {

    .desktop-menu {
        display: none !important;
    }

    #mobile-menu-overlay {
        display: flex !important;
    }
    .menu-button {
        display: flex !important;
    }
    #mobile-menu {
        display: flex !important;
    }

}

@media (max-width:768px) {
    .hero-title {
        line-height: 60px !important;
    }
}

@media (max-width:584px) {
    .hero-title {
        line-height: 50px !important;
    }

    .primarybtn {
        padding: 11px 16px !important;
    }
}

/* Product View Page Styles */
.product-card {
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.product-slide {
    transition: transform 0.3s ease-in-out;
}

/* Slider Navigation Buttons */
#prevBtn,
#nextBtn {
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

#prevBtn:hover,
#nextBtn:hover {
    background-color: #f8f9fa;
    transform: translateY(-50%) scale(1.05);
}

#prevBtn:disabled,
#nextBtn:disabled {
    opacity: 0.3 !important;
    cursor: not-allowed;
}

/* Quantity Input Styling */
#quantity {
    -moz-appearance: textfield;
    appearance: textfield;
}

#quantity::-webkit-outer-spin-button,
#quantity::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* MG Selector Styling */
#mgSelector {
    transition: all 0.3s ease;
}

#mgSelector:focus {
    outline: none;
    border-color: #F2720C;
    box-shadow: 0 0 0 3px rgba(242, 114, 12, 0.1);
}

/* Toast Notification */
.toast-notification {
    animation: slideInRight 0.3s ease-out;
}

.category-bar {
    z-index: 1050;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Pricing Table Hover Effects */
.pricing-table tr:hover {
    background-color: #f8f9fa;
    transform: scale(1.01);
    transition: all 0.2s ease;
}

/* Button Hover Effects */
.btn-primary {
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Responsive Slider */
@media (max-width: 640px) {
    .product-slide {
        width: 100% !important;
    }

    #prevBtn,
    #nextBtn {
        display: none;
    }
}

@media (max-width: 768px) {
    .product-slide {
        width: 50% !important;
    }
}

@media (max-width: 1024px) {
    .product-slide {
        width: 33.333% !important;
    }
}

/* Loading Animation */
.loading-spinner {
    border: 2px solid #f3f3f3;
    border-top: 2px solid #F2720C;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Image Placeholder */
.image-placeholder {
    background: linear-gradient(45deg, #f0f0f0 25%, transparent 25%),
        linear-gradient(-45deg, #f0f0f0 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #f0f0f0 75%),
        linear-gradient(-45deg, transparent 75%, #f0f0f0 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
}

/* Shop Page Responsive Styles */
@media (max-width: 768px) {

    /* Hide categories sidebar on mobile by default */
    #categories-sidebar {
        width: 280px;
        max-width: 80vw;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    }

    /* Mobile toolbar styles */
    .mobile-toolbar-border {
        border: 2px solid #e5e7eb;
        border-radius: 0.5rem;
        padding: 1rem;
    }

    /* Mobile sort dropdown animation */
    #mobile-sort-dropdown {
        animation: slideDown 0.2s ease-out;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Mobile sort arrow rotation */
    #mobile-sort-arrow {
        transition: transform 0.2s ease;
    }

    /* Category sidebar smooth transition */
    #categories-sidebar {
        transition: transform 0.3s ease-in-out;
    }

    /* Overlay fade in */
    #mobile-category-overlay {
        animation: fadeIn 0.3s ease-out;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
        }

        to {
            opacity: 1;
        }
    }

    /* Mobile category close button hover */
    #close-categories-btn:hover {
        background-color: #f3f4f6;
        border-radius: 0.375rem;
    }

    /* Mobile category menu button hover */
    #mobile-category-btn:hover {
        background-color: #f3f4f6;
        border-radius: 0.375rem;
    }

    /* Mobile sort button hover */
    #mobile-sort-btn:hover {
        background-color: #f9fafb;
    }

    /* Ensure proper spacing for mobile toolbar */
    .toolbar-mobile-spacing {
        gap: 1rem;
    }
}

/* Tablet responsive adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
    #categories-sidebar {
        width: 200px;
    }
}

/* Ensure smooth transitions for all screen sizes */
.transition-transform {
    transition: transform 0.3s ease-in-out;
}

.rotate-180 {
    transform: rotate(180deg);
}

/* Focus states for accessibility */
#mobile-category-btn:focus,
#close-categories-btn:focus,
#mobile-sort-btn:focus {
    outline: 2px solid #F2720C;
    outline-offset: 2px;
}

/* Mobile sort option hover states */
.mobile-sort-option:hover {
    background-color: #f3f4f6;
}

.mobile-sort-option:focus {
    background-color: #f3f4f6;
    outline: none;
}