 /* Modern Input Style */
 .form-control {
     border: 1px solid #ced4da;
     border-radius: 4px;
     padding: 8px 12px;
     transition: all 0.3s ease;
     background-color: #fff;
 }

 .form-control:focus {
     border-color: #4a90e2;
     box-shadow:
         0 0 0 1px rgba(74, 144, 226, 0.3),
         0 2px 8px rgba(74, 144, 226, 0.1);
     outline: none;
 }

 /* Search Form Styling */
 #search-form {
     max-width: 500px;
 }

 #search-input {
     height: 45px;
     border-radius: 4px 0 0 4px !important;
     border-right: none;
 }

 #search-input:focus {
     box-shadow: none;
     border-color: #ced4da;
 }

 #search-form button {
     border-radius: 0 4px 4px 0 !important;
     transition: all 0.3s ease;
 }

 #search-form button:hover {
     background-color: rgb(238, 198, 20) !important;
     color: white !important;
 }

/* Search Results Dropdown */
.search-results-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    max-height: 480px;
    overflow-y: auto;
    z-index: 1050;
    display: none;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-top: none;
    backdrop-filter: blur(10px);
    margin-top: 2px;
}

.search-results-container {
    padding: 0;
}

.search-result-item {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    border-bottom: 1px solid #f8f9fa;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: #2d3748;
    position: relative;
    overflow: hidden;
}

.search-result-item:last-child {
    border-bottom: none;
    border-radius: 0 0 12px 12px;
}

.search-result-item:hover {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    transform: translateX(4px);
    border-left: 3px solid #e83e8c;
}

.search-result-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, rgba(232, 62, 140, 0.1) 0%, transparent 100%);
    transition: width 0.3s ease;
}

.search-result-item:hover::before {
    width: 100%;
}

.search-result-item img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 16px;
    border: 2px solid #f1f5f9;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.search-result-item:hover img {
    border-color: #e83e8c;
    transform: scale(1.05);
}

.search-result-info {
    flex: 1;
    min-width: 0;
}

.search-result-title {
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 15px;
    line-height: 1.3;
    color: #2d3748;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.search-result-item:hover .search-result-title {
    color: #e83e8c;
}

.search-result-price-container {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 4px;
}

.search-result-price {
    color: #e83e8c;
    font-weight: 700;
    font-size: 15px;
}

.search-result-compare-price {
    color: #94a3b8;
    font-size: 13px;
    text-decoration: line-through;
    font-weight: 500;
}

.search-result-discount {
    background: linear-gradient(135deg, #e83e8c, #d63384);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}

.search-result-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
}

.search-result-stock {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 500;
    font-size: 11px;
}

.search-result-stock.in-stock {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
}

.search-result-stock.out-of-stock {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

.search-result-category {
    color: #64748b;
    background: rgba(100, 116, 139, 0.1);
    padding: 2px 8px;
    border-radius: 6px;
    font-weight: 500;
}

.no-results {
    padding: 40px 20px;
    text-align: center;
    color: #64748b;
}

.no-results i {
    font-size: 48px;
    margin-bottom: 12px;
    color: #cbd5e1;
    display: block;
}

.no-results h5 {
    color: #475569;
    margin-bottom: 8px;
    font-weight: 600;
}

.no-results p {
    color: #94a3b8;
    font-size: 14px;
    margin: 0;
}

.search-loading {
    padding: 30px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Scrollbar styling */
.search-results-dropdown::-webkit-scrollbar {
    width: 6px;
}

.search-results-dropdown::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 0 0 12px 0;
}

.search-results-dropdown::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.search-results-dropdown::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Animation for dropdown */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-results-dropdown.show {
    display: block;
    animation: slideDown 0.3s ease-out;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .search-results-dropdown {
        position: fixed;
        top: 120px;
        left: 16px;
        right: 16px;
        max-height: 60vh;
        border-radius: 12px;
        border: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .search-result-item {
        padding: 12px;
    }
    
    .search-result-item img {
        width: 48px;
        height: 48px;
    }
    
    .search-result-title {
        font-size: 14px;
    }
    
    .search-result-price {
        font-size: 14px;
    }
}

/* Enhanced search input styling */
#search-input:focus {
    border-color: #e83e8c;
    box-shadow: 0 0 0 0.2rem rgba(232, 62, 140, 0.25);
}

#search-form .input-group:focus-within {
    box-shadow: 0 0 0 2px rgba(232, 62, 140, 0.1);
    border-radius: 8px;
}

/* Loading animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.search-loading .spinner-border {
    animation: pulse 1.5s ease-in-out infinite;
}

 /* Toast responsive styles */
 .toast-container {
     transition: all 0.3s ease;
 }

 @media (max-width: 767.98px) {
     .toast-container {
         width: 100% !important;
         max-width: 100% !important;
         left: 0 !important;
         padding: 0.5rem !important;
     }

     .toast {
         border-radius: 0 !important;
         width: 100% !important;
     }
 }

 /* Animation */
 .toast.show {
     animation: fadeInUp 0.3s ease-out;
 }

 @keyframes fadeInUp {
     from {
         opacity: 0;
         transform: translateY(20px);
     }

     to {
         opacity: 1;
         transform: translateY(0);
     }
 }



 /* Help Button Styles - Matches your pink theme */
 .help-button {
     position: fixed;
     bottom: 30px;
     right: 30px;
     background: linear-gradient(45deg, #ff69b4, #ff3366);
     color: white;
     padding: 15px 20px;
     border-radius: 50px;
     cursor: pointer;
     box-shadow: 0 4px 15px rgba(255, 105, 180, 0.3);
     z-index: 1000;
     display: flex;
     align-items: center;
     gap: 10px;
     transition: all 0.3s ease;
     font-family: inherit;
     border: none;
 }

 .help-button:hover {
     transform: translateY(-3px);
     box-shadow: 0 6px 20px rgba(255, 105, 180, 0.5);
     background: linear-gradient(45deg, #ff3366, #ff69b4);
 }

 .help-button i {
     font-size: 20px;
 }

 .help-button span {
     font-weight: 600;
     font-size: 14px;
 }

 /* Tutorial Steps */
 .tutorial-steps {
     text-align: left;
     max-width: 400px;
     margin: 0 auto;
 }

 .step {
     display: flex;
     align-items: center;
     margin: 12px 0;
     padding: 12px;
     background: #fff;
     border-radius: 8px;
     border-left: 4px solid #ff69b4;
     box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
 }

 .step-number {
     background: #ff69b4;
     color: white;
     width: 32px;
     height: 32px;
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     font-weight: bold;
     margin-right: 15px;
     flex-shrink: 0;
     font-size: 14px;
 }

 .step-text {
     font-size: 14px;
     color: #333;
     font-weight: 500;
 }

 /* Modal Styling */
 .modal-content {
     border-radius: 15px;
     overflow: hidden;
     border: none;
     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
 }

 .modal-header {
     border-bottom: 2px solid rgba(255, 255, 255, 0.2);
 }

 .modal-title {
     font-weight: 600;
 }

 /* Responsive Design */
 @media (max-width: 768px) {
     .help-button {
         bottom: 20px;
         right: 20px;
         padding: 12px 15px;
     }

     .help-button span {
         display: none;
     }

     .help-button i {
         font-size: 24px;
     }

     .modal-dialog {
         margin: 10px;
     }

     .step {
         padding: 10px;
         margin: 8px 0;
     }

     .step-text {
         font-size: 13px;
     }
 }

 /* Animation */
 @keyframes pulse {
     0% {
         transform: scale(1);
     }

     50% {
         transform: scale(1.05);
     }

     100% {
         transform: scale(1);
     }
 }

 .help-button {
     animation: pulse 2s infinite;
 }

 .help-button:hover {
     animation: none;
 }


 /* Additional Styles for Tutorial Modal */
 .tutorial-step {
     display: none;
 }

 .tutorial-step.active {
     display: block;
 }

 .step-list {
     list-style: none;
     padding: 0;
 }

 .step-list li {
     padding: 8px 0;
     border-bottom: 1px solid #eee;
     position: relative;
     padding-left: 25px;
 }

 .step-list li:before {
     content: "•";
     color: #ff69b4;
     font-weight: bold;
     position: absolute;
     left: 0;
     font-size: 20px;
 }

 .step-tip {
     background: #fff8e1;
     padding: 12px;
     border-radius: 8px;
     border-left: 4px solid #ffd700;
     margin-top: 15px;
 }

 .payment-methods {
     background: #f8f9fa;
     padding: 15px;
     border-radius: 8px;
     margin-top: 15px;
 }

 .payment-method {
     padding: 8px 0;
     display: flex;
     align-items: center;
 }

 .success-message {
     background: #d4edda;
     color: #155724;
     padding: 12px;
     border-radius: 8px;
     margin-top: 15px;
     display: flex;
     align-items: center;
 }

 .progress-container {
     padding: 0 20px;
 }

 .tutorial-navigation {
     padding: 0 20px;
 }




 body {
     overflow-x: hidden;
 }

 .announcement-bar {
     font-size: 14px;
     font-weight: 600;
     letter-spacing: 0.5px;
     overflow: hidden;
     position: relative;
     width: 100%;
     animation: pulse 2s infinite;
 }

 .announcement-container {
     width: 100%;
     overflow: hidden;
 }

 .announcement-content {
     white-space: nowrap;
     display: inline-block;
     padding-left: 100%;
     animation: marquee 15s linear infinite;
 }

 .announcement-bar:hover .announcement-content {
     animation-play-state: paused;
 }

 @keyframes marquee {
     0% {
         transform: translate(0, 0);
     }

     100% {
         transform: translate(-100%, 0);
     }
 }

 @keyframes pulse {
     0% {
         opacity: 0.9;
     }

     50% {
         opacity: 1;
     }

     100% {
         opacity: 0.9;
     }
 }

 .cart-count {
     min-width: 18px;
     height: 18px;
     display: flex;
     align-items: center;
     justify-content: center;
     padding: 0 4px;
     font-size: 10px;
 }

 .right-nav a {
     position: relative;
     display: inline-block;
 }

 .cart-count {
     top: -5px;
     right: -10px;
 }

 .search-results-dropdown {
     position: absolute;
     top: 100%;
     left: 0;
     right: 0;
     background: white;
     z-index: 9999;
     border: 1px solid #ddd;
     border-radius: 0 0 8px 8px;
 }