/* Trophy-themed custom styles for Crazy Craftz using Tailwind utilities */

/* CSS Custom Properties for unified design system */
:root {
    --primary-color: #fec63d;
    --secondary-color: #9F4059;
    --grey-color: #D5D2D7;
    --accent-color: #fec63d;
    --text-primary: var(--text-primary);
    --text-secondary: var(--text-secondary);
    --bg-primary: #D5D2D7;
    --bg-secondary: #D5D2D7;
    --border-color: #d1d5db;
    --success-color: #fec63d;
    --error-color: #9F4059;
    --warning-color: #fec63d;
}
/* Global font family for all elements except FontAwesome icons */
html, body, * {
    font-family: 'Poppins', sans-serif !important;
}

/* Font declarations - exclude FontAwesome icons */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif !important;
}

body, p {
    font-family: 'Poppins', sans-serif !important;
}

/* Ensure FontAwesome icons use their proper font family */
.fas, .far, .fab, .fal, .fad, .fa {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands" !important;
}

/* Additional FontAwesome icon classes */
.fa-solid { font-family: "Font Awesome 6 Free" !important; font-weight: 900; }
.fa-regular { font-family: "Font Awesome 6 Free" !important; font-weight: 400; }
.fa-brands { font-family: "Font Awesome 6 Brands" !important; }
.fa-light { font-family: "Font Awesome 5 Pro" !important; font-weight: 300; }
.fa-duotone { font-family: "Font Awesome 5 Duotone" !important; font-weight: 900; }

/* Navbar enhancements */
.navbar-brand {
    font-weight: bold;
    color: var(--primary-color);
}

.navbar-brand:hover {
    color: var(--secondary-color);
}

/* Hero section with trophy gradient */
.carousel-item img {
    filter: brightness(0.75);
}

.carousel-caption h5 {
    color: var(--primary-color);
    font-weight: bold;
    filter: drop-shadow(0 0 0.5rem rgba(0, 0, 0, 0.5));
}

.carousel-caption p {
    color: #ffffff;
    filter: drop-shadow(0 0 0.25rem rgba(0, 0, 0, 0.5));
}

/* Service cards with trophy styling */
.card {
    border: 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.card .bi {
    color: var(--primary-color);
    transition: color 0.3s ease-in-out;
}

.card:hover .bi {
    color: var(--secondary-color);
}

/* Trophy-themed buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    font-weight: bold;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
}

/* Custom primary background for Tailwind-like classes */
.bg-primary-custom {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.bg-primary-custom:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.text-primary-custom {
    color: var(--primary-color);
}

.border-primary-custom {
    border-color: var(--primary-color);
}

.focus\:ring-primary-custom:focus {
    --tw-ring-color: var(--primary-color);
}

/* Footer styling */
footer {
    background-color: #D5D2D7; /* Grey variation */
}

/* Enhanced Mega Menu Styles */
.mega-menu {
    width: 100%;
    max-width: 56rem;
    padding: 1.5rem;
    border: 0;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    background: linear-gradient(to bottom right, white, #f9fafb);
    border-radius: 0.5rem;
    margin-top: 0.625rem;
    opacity: 0;
    transform: translateY(-0.625rem);
    transition: all 0.3s ease-in-out;
}
.mega-menu.show {
    opacity: 1;
    transform: translateY(0);
}
.mega-menu .dropdown-header {
    font-weight: bold;
    color: var(--text-secondary);
    margin-bottom: 0.875rem;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    border-bottom: 2px solid #d1d5db;
    padding-bottom: 0.375rem;
}
.mega-menu .dropdown-item {
    padding: 0.5rem;
    color: var(--text-primary);
    transition: all 0.3s ease-in-out;
    border-radius: 0.375rem;
    margin-bottom: 0.125rem;
    font-size: 0.875rem;
}
.mega-menu .dropdown-item:hover {
    background: linear-gradient(to bottom right, #9ca3af, #6b7280);
    color: white;
    transform: translateX(0.3125rem);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.mega-menu .row > div {
    padding-left: 0.875rem;
    padding-right: 0.875rem;
    margin-bottom: 1.25rem;
}
.mega-menu .row > div:last-child {
    margin-bottom: 0;
}

/* Mega Menu Featured Items */
.mega-menu .featured-item {
    background-color: #f9fafb;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    padding: 0.625rem;
    margin: 0.3125rem;
    transition: all 0.3s ease-in-out;
}
.mega-menu .featured-item:hover {
    background-color: #9ca3af;
    color: white;
    transform: scale(1.02);
}

/* Responsive Mega Menu */
@media (max-width: 768px) {
    .mega-menu {
        max-width: 100%;
        padding: 15px;
        margin-top: 5px;
    }
    .mega-menu .row > div {
        padding: 0 8px;
        margin-bottom: 15px;
    }
    .mega-menu .dropdown-item {
        padding: 10px 12px;
        font-size: 0.85rem;
    }
    .mega-menu .dropdown-header {
        font-size: 0.8rem;
        margin-bottom: 10px;
    }
}

/* Enhanced Footer Styles */
footer h5 {
    color: var(--accent-color);
    font-weight: bold;
    margin-bottom: 1rem;
}

footer .social-media a {
    transition: color 0.3s ease-in-out;
}

footer .social-media a:hover {
    color: var(--accent-color);
}

footer .list-unstyled li {
    margin-bottom: 0.5rem;
}

footer .list-unstyled a:hover {
    color: #FEC63D;
}

/* Responsive Footer */
@media (max-width: 768px) {
    footer .col-lg-3,
    footer .col-lg-2 {
        margin-bottom: 2rem;
    }

    footer h5 {
        font-size: 1.1rem;
    }

    footer p {
        font-size: 0.9rem;
    }
}

/* Enhanced Product Cards */
.product-card {
    transition: all 0.3s ease-in-out;
    border-radius: 0.75rem;
    overflow: hidden;
}

.product-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-8px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.product-card .card-img-top {
    transition: transform 0.3s ease-in-out;
    height: 14rem;
    object-fit: cover;
}

.product-card:hover .card-img-top {
    transform: scale(1.05);
}

.product-card .card-body {
    padding: 1.25rem;
}

.product-card .card-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.625rem;
    font-size: 1.25rem;
}

.product-card .card-text {
    color: var(--text-secondary);
    line-height: 1.625;
}

.product-card .btn {
    border-radius: 9999px;
    padding: 0.5rem 1.25rem;
    font-weight: 600;
    transition: all 0.3s ease-in-out;
}

.product-card .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Form styling */
.form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(213,210,215,0.1);
}

/* Trophy icons */
.trophy-icon {
    color: var(--primary-color);
    font-size: 1.5rem;
}

/* Enhanced Animations and Modern Aesthetics */
@keyframes shine {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) scale(1); }
    40% { transform: translateY(-10px) scale(1.1); }
    60% { transform: translateY(-5px) scale(1.05); }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.shine-effect {
    background: linear-gradient(to right, transparent, rgba(156, 163, 175, 0.4), transparent);
    background-size: 200% 100%;
    animation: shine 2s infinite;
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

.pulse {
    animation: pulse 2s infinite;
}

/* Modern E-commerce Aesthetics */
.section-title {
    position: relative;
    text-align: center;
    margin-bottom: 3rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -0.625rem;
    left: 50%;
    transform: translateX(-50%);
    width: 5rem;
    height: 0.125rem;
    background: linear-gradient(to right, #9ca3af, var(--text-secondary));
    border-radius: 0.125rem;
}

.card-hover {
    transform: translateY(-0.3125rem);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.focused {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border-color: #d1d5db;
}

/* Trophy-themed gradients */
.gradient-blue {
    background: linear-gradient(to bottom right, var(--accent-color), var(--primary-color));
}

.gradient-silver {
    background: linear-gradient(to bottom right, #D5D2D7, #D5D2D7);
}

.gradient-bronze {
    background: linear-gradient(to bottom right, #FEC63D, #FEC63D);
}

/* Enhanced button styles */
.btn-modern {
    border-radius: 9999px;
    padding: 0.75rem 1.875rem;
    font-weight: 600;
    transition: all 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
}

.btn-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.5s;
}

.btn-modern:hover::before {
    left: 100%;
}

/* Enhanced Share Button Styles */
.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.share-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.share-btn:hover::before {
    left: 100%;
}

.share-btn:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.share-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.share-btn:focus {
    outline: 2px solid rgba(213,210,215,0.5);
    outline-offset: 2px;
}

/* Instagram gradient animation */
.share-btn.bg-gradient-to-r {
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Responsive share buttons */
@media (max-width: 640px) {
    .share-btn {
        min-width: 40px;
        min-height: 40px;
        padding: 0.5rem;
    }

    .share-btn span {
        display: none !important;
    }
}

@media (min-width: 641px) {
    .share-btn {
        padding: 0.75rem 1rem;
    }
}

/* Loading spinner */
.spinner-modern {
    width: 2.5rem;
    height: 2.5rem;
    border: 2px solid var(--bg-primary);
    border-top: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


/* Enhanced Category Cards */
.category-card {
    border: 2px solid var(--border-color);
    transition: all 0.3s ease-in-out;
    border-radius: 0.75rem;
    overflow: hidden;
    background: linear-gradient(to bottom right, var(--bg-primary), var(--bg-secondary));
    position: relative;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, var(--accent-color), var(--primary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease-in-out;
}

.category-card:hover::before {
    transform: scaleX(1);
}

.category-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-8px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    background: linear-gradient(to bottom right, var(--bg-primary), var(--accent-color));
}

.category-card .card-body {
    padding: 1.5rem;
    text-align: center;
}

.category-card .trophy-icon {
    font-size: 1.875rem;
    color: var(--text-secondary);
    transition: all 0.3s ease-in-out;
    margin-bottom: 0.875rem;
}

.category-card:hover .trophy-icon {
    color: var(--primary-color);
    transform: scale(1.1) rotate(12deg);
}

.category-card .card-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.category-card .card-text {
    color: #374151;
    font-weight: 500;
}

.category-card .btn {
    border-radius: 9999px;
    padding: 0.625rem 1.5rem;
    font-weight: 600;
    background-color: var(--primary-color);
    border: 0;
    transition: all 0.3s ease-in-out;
    margin-top: 0.875rem;
}

.category-card .btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Deals section */
.bg-warning {
    background: linear-gradient(to bottom right, var(--primary-color), var(--warning-color));
}

/* Enhanced Smart Gift Finder */
#giftFinderForm {
    background: linear-gradient(to bottom right, var(--bg-primary), var(--bg-secondary));
    padding: 1.875rem;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
}

#giftFinderForm .form-label {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

#giftFinderForm .form-select {
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 0.75rem 0.875rem;
    font-size: 0.875rem;
    transition: all 0.3s ease-in-out;
    background-color: var(--bg-primary);
}

#giftFinderForm .form-select:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(213,210,215,0.1);
    transform: translateY(-2px);
}

#giftFinderForm .btn {
    background: linear-gradient(to bottom right, var(--accent-color), var(--primary-color));
    border: 0;
    border-radius: 9999px;
    padding: 0.75rem 1.875rem;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

#giftFinderForm .btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

#giftFinderForm .btn:disabled {
    background-color: var(--text-secondary);
    transform: translateY(0);
    box-shadow: none;
    cursor: not-allowed;
}

#giftSuggestions {
    margin-top: 1.875rem;
}

#giftSuggestions h3 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.25rem;
    text-align: center;
}

.suggestion-card {
    border: 2px solid var(--border-color);
    border-radius: 0.75rem;
    transition: all 0.3s ease-in-out;
    background-color: var(--bg-primary);
    opacity: 0;
    transform: translateY(20px);
}

.suggestion-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.suggestion-card .card-body {
    padding: 1.25rem;
}

.suggestion-card .trophy-icon {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0.625rem;
}

.suggestion-card .card-title {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.875rem;
}

.suggestion-card .btn {
    border-radius: 1rem;
    padding: 0.375rem 0.875rem;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease-in-out;
}

.suggestion-card .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Timeline Styles */
.timeline-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.timeline-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    width: 50%;
    padding: 0 40px;
}

.timeline-item.left {
    left: 0;
    text-align: right;
}

.timeline-item.right {
    left: 50%;
    text-align: left;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 20px;
    width: 16px;
    height: 16px;
    background: var(--primary-color);
    border: 3px solid white;
    border-radius: 50%;
    box-shadow: 0 0 0 3px var(--accent-color);
    z-index: 1;
}

.timeline-item.left::before {
    right: -8px;
}

.timeline-item.right::before {
    left: -8px;
}

.timeline-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.timeline-date {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timeline-title {
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.3;
}

.timeline-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Timeline Responsive */
@media (max-width: 768px) {
    .timeline-container::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        left: 0 !important;
        text-align: left !important;
        padding-left: 60px;
        padding-right: 20px;
    }

    .timeline-item::before {
        left: 12px !important;
        right: auto !important;
    }

    .timeline-content {
        padding: 15px;
    }

    .timeline-title {
        font-size: 1.1rem;
    }

    .timeline-description {
        font-size: 0.9rem;
    }
}

/* WhatsApp Button Styles - Enhanced for floating button */
.whatsapp-btn {
    background-color: #22c55e !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.4) !important;
    transition: all 0.3s ease-in-out !important;
}

.whatsapp-btn:hover {
    background-color: #16a34a !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    box-shadow: 0 8px 20px rgba(34, 197, 94, 0.6) !important;
    transform: scale(1.1) rotate(5deg) !important;
}

.whatsapp-btn:active {
    transform: scale(0.95) rotate(5deg) !important;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.4) !important;
}

/* Admin Dashboard Stats Cards */
.bg-blue-600 {
    background-color: #fec63d !important;
}

.bg-green-600 {
    background-color: #16a34a !important;
}

.bg-cyan-600 {
    background-color: #0891b2 !important;
}

/* Override all blue Tailwind classes to use #fec63d */
.bg-blue-100 { background-color: #fef3c7 !important; }
.bg-blue-200 { background-color: #fde68a !important; }
.bg-blue-300 { background-color: #fcd34d !important; }
.bg-blue-400 { background-color: #fbbf24 !important; }
.bg-blue-500 { background-color: #fec63d !important; }
.bg-blue-600 { background-color: #fec63d !important; }
.bg-blue-700 { background-color: #fec63d !important; }
.bg-blue-800 { background-color: #fec63d !important; }
.bg-blue-900 { background-color: #fec63d !important; }

.text-blue-600 { color: #fec63d !important; }
.text-blue-700 { color: #fec63d !important; }
.text-blue-800 { color: #fec63d !important; }

.border-blue-200 { border-color: #fef3c7 !important; }
.border-blue-300 { border-color: #fde68a !important; }
.border-blue-400 { border-color: #fbbf24 !important; }
.border-blue-500 { border-color: #fec63d !important; }

.focus\:ring-blue-500:focus { --tw-ring-color: #fec63d !important; }
.focus\:ring-blue-600:focus { --tw-ring-color: #fec63d !important; }

.hover\:bg-blue-600:hover { background-color: #fec63d !important; }
.hover\:bg-blue-700:hover { background-color: #fec63d !important; }
.hover\:bg-blue-800:hover { background-color: #fec63d !important; }

.hover\:text-blue-600:hover { color: #fec63d !important; }
.hover\:text-blue-700:hover { color: #fec63d !important; }
.hover\:text-blue-800:hover { color: #fec63d !important; }
.hover\:text-blue-900:hover { color: #fec63d !important; }

/* Notification Dropdown Styles */
#notificationDropdown {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

#notificationDropdown .notification-form {
    transition: background-color 0.2s ease;
}

#notificationDropdown .notification-form:hover {
    background-color: #f9fafb;
}

#notificationDropdown .notification-form div {
    border-bottom: 1px solid #f3f4f6;
}

#notificationDropdown .notification-form:last-child div {
    border-bottom: none;
}

#notificationDropdown .notification-form h6 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
}

#notificationDropdown .notification-form p {
    font-size: 0.75rem;
    line-height: 1.4;
}

#notificationDropdown .notification-form .text-gray-500 {
    font-size: 0.7rem;
}

/* Enhanced Responsive Layouts */
@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding-left: 0.875rem;
        padding-right: 0.875rem;
    }
}

@media (max-width: 992px) {
    .mega-menu {
        max-width: 95%;
        padding: 1.25rem;
    }

    .product-card .card-img-top,
    .category-card .card-img-top {
        height: 11rem;
    }
}

/* Mobile-first responsive improvements */
@media (max-width: 768px) {
    /* Header improvements */
    .navbar-brand img {
        height: 2rem;
    }

    /* Top bar mobile optimization */
    .bg-gray-100 .flex.items-center.space-x-4 {
        flex-direction: column;
        gap: 0.25rem;
        align-items: flex-start;
    }

    .bg-gray-100 .flex.items-center.space-x-4 > div {
        font-size: 0.75rem;
    }

    /* Carousel mobile improvements */
    .carousel-caption h5 {
        font-size: 1.125rem;
        padding: 0.5rem;
        background-color: rgba(0, 0, 0, 0.8);
        border-radius: 0.375rem;
        margin-bottom: 0.25rem;
    }

    .carousel-caption p {
        font-size: 0.8125rem;
        display: none; /* Hide description on very small screens */
    }

    /* Carousel controls - make larger for touch */
    .carousel-control-prev,
    .carousel-control-next {
        width: 3rem;
        height: 3rem;
        border-radius: 50%;
        opacity: 0.8;
    }

    .carousel-control-prev svg,
    .carousel-control-next svg {
        width: 1.25rem;
        height: 1.25rem;
    }

    /* Enhanced mobile product card styling */
    .card {
        margin-bottom: 1rem;
        border-radius: 0.5rem;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .card-img-top {
        height: 8rem;
        border-radius: 0.5rem 0.5rem 0 0;
        object-fit: cover;
    }

    .card-title {
        font-size: 1rem;
        margin-bottom: 0.375rem;
        line-height: 1.4;
    }

    .card-text {
        font-size: 0.8125rem;
        line-height: 1.5;
    }

    .btn {
        font-size: 0.8125rem;
        padding: 0.5rem 1rem;
        border-radius: 0.5rem;
        min-height: 2.75rem; /* Minimum touch target */
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Product grid improvements */
    .grid.grid-cols-1.md\\:grid-cols-2.xl\\:grid-cols-3 {
        gap: 0.75rem;
    }

    /* Enhanced category grid responsive */
    .category-card {
        margin-bottom: 1rem;
    }

    .category-card .card-body {
        padding: 1rem;
    }

    .category-card .trophy-icon {
        font-size: 1.25rem;
    }

    .category-card .card-title {
        font-size: 0.9375rem;
    }

    /* Form improvements for mobile */
    .form-control,
    .form-select,
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    textarea,
    select {
        font-size: 1rem; /* Prevent zoom on iOS */
        padding: 0.75rem;
        border-radius: 0.375rem;
        min-height: 2.75rem; /* Minimum touch target */
    }

    textarea {
        min-height: 6rem;
    }

    .form-label {
        font-size: 0.875rem;
        margin-bottom: 0.5rem;
        font-weight: 600;
    }

    /* Modal improvements */
    .fixed.inset-0.bg-black.bg-opacity-50 {
        padding: 1rem;
    }

    .bg-white.rounded-lg {
        max-height: calc(100vh - 2rem);
        overflow-y: auto;
    }

    /* Section spacing */
    .py-12 {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .py-16 {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    /* Typography scaling */
    h1 { font-size: 1.875rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    h4 { font-size: 1.125rem; }
    h5 { font-size: 1rem; }

    .text-4xl { font-size: 2rem; }
    .text-3xl { font-size: 1.875rem; }
    .text-2xl { font-size: 1.5rem; }
    .text-xl { font-size: 1.25rem; }
    .text-lg { font-size: 1.125rem; }

    /* Enhanced Smart Gift Finder responsive */
    #giftFinderForm {
        margin-bottom: 1.5rem;
        padding: 1rem;
        border-radius: 0.5rem;
    }

    #giftFinderForm .form-select {
        padding: 0.75rem;
        font-size: 1rem;
        min-height: 2.75rem;
    }

    #giftFinderForm .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9375rem;
        min-height: 2.75rem;
    }

    .suggestion-card .card-body {
        padding: 0.75rem;
    }

    .suggestion-card .trophy-icon {
        font-size: 1.125rem;
    }

    /* Footer mobile improvements */
    footer .grid.grid-cols-1.md\\:grid-cols-2.lg\\:grid-cols-5 {
        gap: 1.5rem;
    }

    footer h5 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }

    footer p {
        font-size: 0.8125rem;
    }

    footer .space-y-2 > li {
        margin-bottom: 0.5rem;
    }

    /* WhatsApp button mobile positioning */
    .fixed.bottom-6.right-6 {
        bottom: 1rem;
        right: 1rem;
        width: 3rem;
        height: 3rem;
    }

    .fixed.bottom-6.right-6 i {
        font-size: 1.25rem;
    }
}

@media (max-width: 576px) {
    /* Extra small screen optimizations */
    .navbar-brand img {
        height: 1.75rem;
    }

    .navbar-nav .nav-link {
        font-size: 0.8125rem;
        padding: 0.5rem 0.625rem;
    }

    .btn-outline-secondary {
        font-size: 0.75rem;
        padding: 0.375rem 0.5rem;
    }

    .mega-menu {
        padding: 0.75rem;
        margin-top: 0.25rem;
    }

    .mega-menu .dropdown-item {
        padding: 0.5rem;
        font-size: 0.8125rem;
    }

    .product-card .card-body,
    .category-card .card-body {
        padding: 0.75rem;
    }

    .product-card .card-title,
    .category-card .card-title {
        font-size: 0.9375rem;
    }

    #giftFinderForm {
        padding: 0.75rem;
    }

    #giftFinderForm h2 {
        font-size: 1.125rem;
    }

    /* Grid improvements for very small screens */
    .grid.grid-cols-1.md\\:grid-cols-2.lg\\:grid-cols-4 {
        gap: 0.5rem;
    }

    .grid.grid-cols-1.md\\:grid-cols-2.xl\\:grid-cols-3 {
        gap: 0.5rem;
    }

    /* Service cards stack better */
    .grid.grid-cols-1.md\\:grid-cols-2.lg\\:grid-cols-4 > div {
        padding: 1rem;
    }

    /* Contact form improvements */
    .grid.grid-cols-1.lg\\:grid-cols-2 {
        gap: 1rem;
    }

    /* Hero section mobile */
    .h-64.md\\:h-96 {
        height: 12rem;
    }

    /* Product detail grid */
    .grid.grid-cols-1.lg\\:grid-cols-12 {
        gap: 1rem;
    }

    .lg\\:col-span-5,
    .lg\\:col-span-4,
    .lg\\:col-span-3 {
        margin-bottom: 1rem;
    }
}

/* Touch-friendly improvements for all mobile devices */
@media (hover: none) and (pointer: coarse) {
    /* Increase touch targets */
    button,
    .btn,
    a[role="button"],
    input[type="submit"],
    input[type="button"] {
        min-height: 2.75rem;
        min-width: 2.75rem;
    }

    /* Better spacing for touch */
    .space-x-3 > * + * {
        margin-left: 0.75rem;
    }

    .space-y-2 > * + * {
        margin-top: 0.5rem;
    }

    /* Carousel indicators larger for touch */
    button.w-3.h-3 {
        width: 0.75rem !important;
        height: 0.75rem !important;
        margin: 0 0.25rem !important;
    }
}

/* Custom Swiper Navigation & Pagination Styles - High Specificity */

/* Override Swiper defaults with highest specificity */
.bannerSwiper .swiper-button-next,
.bannerSwiper .swiper-button-prev,
.testimonialsSwiper .swiper-button-next,
.testimonialsSwiper .swiper-button-prev {
    background: linear-gradient(135deg, #fec63d, #f59e0b) !important;
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 15px rgba(254, 198, 61, 0.4) !important;
    border: 3px solid rgba(255, 255, 255, 0.9) !important;
    transition: all 0.3s ease !important;
    opacity: 0 !important;
    visibility: hidden !important;
    margin-top: -24px !important;
    z-index: 10 !important;
}

.bannerSwiper:hover .swiper-button-next,
.bannerSwiper:hover .swiper-button-prev,
.testimonialsSwiper:hover .swiper-button-next,
.testimonialsSwiper:hover .swiper-button-prev {
    opacity: 1 !important;
    visibility: visible !important;
    transform: scale(1.05) !important;
}

.bannerSwiper .swiper-button-next::after,
.bannerSwiper .swiper-button-prev::after,
.testimonialsSwiper .swiper-button-next::after,
.testimonialsSwiper .swiper-button-prev::after {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: white !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) !important;
}

.bannerSwiper .swiper-button-next:hover,
.bannerSwiper .swiper-button-prev:hover,
.testimonialsSwiper .swiper-button-next:hover,
.testimonialsSwiper .swiper-button-prev:hover {
    background: linear-gradient(135deg, #f59e0b, #d97706) !important;
    transform: scale(1.1) !important;
    box-shadow: 0 6px 20px rgba(254, 198, 61, 0.6) !important;
}

/* Custom Pagination Bullets */
.bannerSwiper .swiper-pagination-bullet,
.testimonialsSwiper .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.3) !important;
    border: 2px solid rgba(254, 198, 61, 0.5) !important;
    width: 14px !important;
    height: 14px !important;
    margin: 0 6px !important;
    transition: all 0.3s ease !important;
    position: relative;
    overflow: hidden;
}

.bannerSwiper .swiper-pagination-bullet::before,
.testimonialsSwiper .swiper-pagination-bullet::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: #fec63d;
    border-radius: 50%;
    transition: all 0.3s ease;
    transform: translate(-50%, -50%);
}

.bannerSwiper .swiper-pagination-bullet-active,
.testimonialsSwiper .swiper-pagination-bullet-active {
    background: #fec63d !important;
    border-color: #fec63d !important;
    transform: scale(1.2);
    box-shadow: 0 2px 8px rgba(254, 198, 61, 0.5);
}

.bannerSwiper .swiper-pagination-bullet-active::before,
.testimonialsSwiper .swiper-pagination-bullet-active::before {
    width: 8px;
    height: 8px;
    background: white;
    animation: pulse-dot 1.5s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.7;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 1;
    }
}

/* Swiper Container Styles */
.bannerSwiper,
.testimonialsSwiper {
    position: relative;
}

.bannerSwiper .swiper-wrapper,
.testimonialsSwiper .swiper-wrapper {
    align-items: stretch;
}

.testimonialsSwiper {
    padding-bottom: 4rem !important;
}

.testimonialsSwiper .swiper-slide {
    height: auto !important;
    display: flex;
}

.testimonialsSwiper .swiper-pagination {
    bottom: 0 !important;
}

/* Disabled State */
.bannerSwiper .swiper-button-disabled,
.testimonialsSwiper .swiper-button-disabled {
    opacity: 0.5 !important;
    pointer-events: none !important;
    transform: none !important;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .bannerSwiper .swiper-button-next,
    .bannerSwiper .swiper-button-prev,
    .testimonialsSwiper .swiper-button-next,
    .testimonialsSwiper .swiper-button-prev {
        width: 40px !important;
        height: 40px !important;
    }

    .bannerSwiper .swiper-button-next::after,
    .bannerSwiper .swiper-button-prev::after,
    .testimonialsSwiper .swiper-button-next::after,
    .testimonialsSwiper .swiper-button-prev::after {
        font-size: 16px !important;
    }

    .bannerSwiper .swiper-pagination-bullet,
    .testimonialsSwiper .swiper-pagination-bullet {
        width: 12px !important;
        height: 12px !important;
        margin: 0 4px !important;
    }

    .testimonialsSwiper {
        padding-bottom: 3.5rem !important;
    }
}

@media (max-width: 480px) {
    .bannerSwiper .swiper-button-next,
    .bannerSwiper .swiper-button-prev,
    .testimonialsSwiper .swiper-button-next,
    .testimonialsSwiper .swiper-button-prev {
        width: 36px !important;
        height: 36px !important;
    }

    .bannerSwiper .swiper-button-next::after,
    .bannerSwiper .swiper-button-prev::after,
    .testimonialsSwiper .swiper-button-next::after,
    .testimonialsSwiper .swiper-button-prev::after {
        font-size: 14px !important;
    }
}

/* FORCE OVERRIDE - Ultimate Specificity */
div.bannerSwiper div.swiper-button-next,
div.bannerSwiper div.swiper-button-prev,
div.testimonialsSwiper div.swiper-button-next,
div.testimonialsSwiper div.swiper-button-prev {
    background: linear-gradient(135deg, #fec63d, #f59e0b) !important;
    border: 3px solid rgba(255, 255, 255, 0.9) !important;
    border-radius: 50% !important;
    width: 48px !important;
    height: 48px !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.3s ease !important;
}

div.bannerSwiper:hover div.swiper-button-next,
div.bannerSwiper:hover div.swiper-button-prev,
div.testimonialsSwiper:hover div.swiper-button-next,
div.testimonialsSwiper:hover div.swiper-button-prev {
    opacity: 1 !important;
    visibility: visible !important;
    transform: scale(1.05) !important;
}

div.bannerSwiper div.swiper-button-next:hover,
div.bannerSwiper div.swiper-button-prev:hover,
div.testimonialsSwiper div.swiper-button-next:hover,
div.testimonialsSwiper div.swiper-button-prev:hover {
    background: linear-gradient(135deg, #f59e0b, #d97706) !important;
    transform: scale(1.1) !important;
    box-shadow: 0 6px 20px rgba(254, 198, 61, 0.6) !important;
}
