/*
Theme Name: Astra Child
Theme URI: https://wpastra.com/
Author: Brainstorm Force (Modified by Your Name)
Author URI: https://wpastra.com/about/
Description: Child theme for the Astra WordPress Theme.
Template: astra
Version: 1.0.0
Text Domain: astra-child
*/

  .top-bar-klasetu {
    background-color: #F2D1B3;
    color: #000;
    text-align: center;
    padding: 8px 10px;
    font-size: 14px;
    position: relative;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  }

  .top-bar-klasetu span.hindi {
     font-family: 'Tiro Devanagari Hindi', cursive;
    font-weight: 700;
    font-size: 20px;
    color: #000;
  }

  .top-bar-klasetu span.english {
    font-family: 'Pacifico', cursive;
    font-size: 18px;
    color: #97643F;
    margin-left: 5px;
  }

  .top-bar-klasetu .animated-text {
    display: inline-block;
    margin-left: 10px;
    animation: fadeInOut 3s infinite;
    color: #555;
  }

  @keyframes fadeInOut {
    0%, 100% { opacity: 0; transform: translateY(10px); }
    50% { opacity: 1; transform: translateY(0); }
  }

  .header-klasetu {
    background-color: #97643F;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 10px 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  }

  .header-klasetu-container {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap: 15px;
  }

  .header-klasetu .logo {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    flex-shrink: 0;
  }

  .header-klasetu .logo img {
    max-height: 60px;
  }

  .special-links {
    display: flex;
    align-items: center;
    gap: 10px;
    
   
  }

  .special-links a {
    color: #97643F;
    background: #F2D1B3;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
  }

  .search-box-klasetu {
    flex: 1;
    position: relative;
    max-width: 500px;
  }

  .search-box-klasetu input {
    width: 100%;
    padding: 8px 40px 8px 15px;
    border: 1px solid #ccc;
    border-radius: 20px;
    outline: none;
    font-size: 10px;
  }

  .search-box-klasetu button {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: none;
  }

  .search-box-klasetu i {
    color: #999;
  }

  .nav-links-klasetu {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
  }

  .nav-links-klasetu a {
  text-decoration: none;
  color: #F2D1B3;
  font-size: 16px;
  transition: color 0.3s ease, background-color 0.3s ease;
  padding: 6px 10px;
  border-radius: 6px;
	font-weight: 500;
}

.nav-links-klasetu a:hover {
  background-color: #F2D1B3;
color: #97643F;
}


  .social-icons-klasetu a {
    margin-left: 10px;
    color: #F2D1B3;
    font-size: 18px;
  }

  .nav-toggle {
    display: none;
    font-size: 20px;
    cursor: pointer;
    background: none;
    border: none;
    color: #fff;
  }
  .header-top-mobile {

   display: flex;
   gap: 40px;
 
  }


   @media (max-width: 768px) {
  .header-klasetu-container {
    flex-direction: column;
    align-items: stretch;
  }

  .header-top-mobile {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  .search-box-klasetu {
    width: 100%;
    margin-top: 10px;
  }

  .nav-links-klasetu {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    margin-top: 10px;
  }

  .nav-links-klasetu.active {
    display: flex;
  }

  .nav-toggle {
    display: inline;
  }

  .special-links {
    gap: 8px;
  }

  .special-links a {
    padding: 6px;
  }
}


  @media (max-width: 576px) {
   .special-links a span:not(.cart-count) {
    display: none;
  }
    .special-links a {
      padding: 6px;
      border-radius: 50%;
    }
  }
.cart-icon-klasetu {
  position: relative;
  display: inline-block;
  font-size: 20px;
  color: #333;
  text-decoration: none;
}

.cart-icon-klasetu i {
  font-size: 22px;
  margin-right: 5px;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #e74c3c;
  color: white;
  font-size: 12px;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 50%;
  line-height: 1;
  min-width: 18px;
  text-align: center;
  z-index: 10;
}

/* below for override the style of icons cart and account */

/* Ensure both icons look uniform */
.special-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  font-size: 14px;
  line-height: 1;
}

/* Icon size and spacing consistency */
.special-links a i {
  font-size: 18px;
}

/* Mobile view fix for icon buttons */
@media (max-width: 576px) {
  .special-links a {
    padding: 10px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    justify-content: center;
  }

  .special-links a i {
    font-size: 18px;
    margin: 0;
  }

  .cart-icon-klasetu .cart-count {
    top: -6px;
    right: -6px;
    font-size: 10px;
    padding: 1px 4px;
  }
}

/* Hover effect for all special links */
.special-links a:hover {
  background-color: #97643F;
  color: #fff;
}

/* Make sure icons inside also change color on hover */
.special-links a:hover i {
  color: #fff;
}

/* Cart count stays red */
.cart-icon-klasetu .cart-count {
  background: #e74c3c;
  color: #fff;
}
