/* Main Header */

:root {
    --primary: #ff6b00;
    --primary-dark: #e65c00;
    --primary-light: #ff8533;
    --secondary: #ff9800;
    --dark: #333333;
    --light: #fff8f2;
    --gray: #a0a0a0;
    --gray-light: #f5f5f5;
    --section-bg: #faf9f7;
    --success: #27ae60;
    --danger: #e74c3c;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-light: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.main-header {
    background-color: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    transition: all 0.3s ease;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
}

.logo i {
    margin-right: 8px;
    color: var(--secondary);
}

.header-row {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  
  #menuBtn {
    font-size: 20px;
    cursor: pointer;
  }
  

.search-bar {
    flex-grow: 1;
    max-width: 500px;
    margin: 0 20px;
    position: relative;
}

.search-bar input {
    width: 100%;
    padding: 12px 20px;
    border-radius: 30px;
    border: 1px solid var(--gray);
    font-size: 1rem;
    background-color: var(--light);
}

.search-bar input:focus {
    outline: none;
    border-color: var(--primary);
}

.search-bar button {
    position: absolute;
    right: 5px;
    top: 5px;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#headerSearchToggle{
    display: none;
}

.search-bar button:hover {
    background-color: var(--primary-dark);
}

.header-icons {
    display: flex;
    gap: 20px;
}



.header-icons a {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.header-icons a:hover {
    color: var(--primary);
}

.header-icons i {
    font-size: 1.5rem;
    margin-bottom: 4px;
    color: var(--dark);
}

.cart-count {
    position: absolute;
    background-color: var(--secondary);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    top: -5px;
    right: -5px;
}

.icon-wrapper {
    position: relative;
}

.icon-search-container{
    display: none;
}

/* Promotional Header */
.promo-bar {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    color: white;
    padding: 8px 0;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
    z-index: 1002;
    position: relative;
}

.promo-bar p {
    animation: fadeInOut 10s infinite;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

@media (max-width: 767px) {
    .search-bar {
      display: none;
    }

    .icon-search-container{
        display: block;
    }
  }
  

