header {
  width: 100%;
  border-bottom: 1px solid rgba(243, 243, 243, 0.102);
  z-index: 1000;
  transition: all 0.5s ease-in-out;
  background-color: #400c2c;
}

header.fixed-header {
  box-shadow: 0 3px 6px 0 rgb(0 0 0 / 5%);
  position: fixed;
  top: -1px;
  left: 0;
  animation: sticky1 0.35s ease-out;
  background-color: #400c2c;
  z-index: 10000;
  transition: all 0.5s ease-in-out;
}

.header {
  background-color: #000;
}

@keyframes sticky1 {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

header.fixed-header nav ul li a {
  color: #fff;
}

header li:not(:nth-last-of-type(1)) {
  margin-right: 30px;
}

header .logo {
  width: 15%;
}

header .logo img {
  width: 150px;
}

header nav {
  width: 54%;
}

header .common-botton {
  justify-content: end;
}

header nav ul {
  list-style: none;
}

header nav ul li {
  position: relative;
  padding: 25px 0;
  cursor: pointer;
}

header nav ul .mobile-logo {
  display: none;
}

header nav ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.3s ease;
}

header nav ul li a i {
  margin-left: 4px;
  transition: all 0.5s ease-in-out;
}

/* Dropdown Menu */
header nav ul .dropdown-list ul {
  width: max-content;
  min-width: 200px;
  background-color: #fff;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  border-radius: 4px;
  position: absolute;
  top: 72px;
  left: -80px;
  z-index: 11;
  transform: translateY(60px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s ease-in-out;
}

header nav ul .dropdown-list:hover ul {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

header nav ul .dropdown-list:hover .dropdown-link i {
  transform: rotate(180deg);
}

header nav .dropdown-list li {
  padding: 12px 10px;
  position: relative;
  margin-right: 0;
  overflow: hidden;
}

header nav .dropdown-list li::after {
  content: "";
  width: 100%;
  height: 100%;
  background-color: #400c2c;
  position: absolute;
  top: 0;
  left: -99%;
  z-index: -1;
  transition: all 0.3s ease-in-out;
}

header nav .dropdown-list li:hover:after {
  left: 0;
}

header nav .dropdown-list li a {
  color: #000;
  font-size: 14px;
}

header nav ul .dropdown-list ul li a {
  color: #000;
}

header nav .dropdown-list li:hover a {
  color: #fff;
}

/* Ecommerce Icons */
.ecommerce-icons {
  display: flex;
  align-items: center;
  gap: 20px;
}

.icon-link {
  color: #fff;
  font-size: 18px;
  position: relative;
  transition: color 0.3s ease;
}

.icon-link:hover {
  color: #fafafa;
}

.cart-icon {
  position: relative;
}

.cart-count,
.wishlist-count {
  position: absolute;
  top: -10px;
  right: -12px;
  color: #fff;
  font-size: 11px;
  font-weight: bold;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.cart-count.updated {
  animation: bounce 0.3s ease;
}

@keyframes bounce {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.3);
  }
}

/* Toggle Button */
header .toggle-button {
  width: 30px;
  display: none;
  flex-direction: column;
  cursor: pointer;
}

header .toggle-button span {
  width: 30px;
  height: 3px;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  transition: all 0.3s ease;
}

header .toggle-button span:last-child {
  margin-bottom: 0;
}

/* ====================================
   MOBILE MENU STYLES
   ==================================== */
header .mobile-menu .mobile-logo a img {
  width: 150px;
}

header .mobile-menu {
  width: 70%;
  height: 100vh;
  display: none;
  position: fixed;
  top: 0;
  left: -100%;
  z-index: 11;
  background-color: #fff;
  transition: all 0.4s ease-in-out;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

header .mobile-menu.active {
  left: 0;
}

header .mobile-menu .menu-box {
  width: 100%;
  height: 100vh;
  overflow-y: auto;
}

header .mobile-menu .menu-box .mobile-logo {
  padding: 15px 20px;
  border-bottom: 1px solid #e0e0e0;
}

header .mobile-menu .menu-box .mobile-logo a {
  display: inline-block;
}

header .toggle-button.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

header .toggle-button.active span:nth-child(2) {
  opacity: 0;
}

header .toggle-button.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* Mobile Menu Categories */
.menu-categories__list {
  list-style: none;
}

.menu-categories__list .mobile-menu_list {
  font-size: 14px;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e0e0e0;
  transition: all 0.5s ease-in-out;
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.menu-categories__list .mobile-menu_list:hover {
  background-color: #f5f5f5;
  color: #400c2c;
}

.menu-categories__list .mobile-menu_list i {
  font-size: 12px;
  color: #999;
}

/* Subcategories */
.subcategories {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: -100%;
  background-color: #fff;
  transition: all 0.5s ease-in-out;
  z-index: 12;
  overflow-y: auto;
}

.subcategories.active {
  left: 0;
}

.back-menu {
  padding: 15px 20px;
  border-bottom: 1px solid #e0e0e0;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  background-color: #f9f9f9;
}

.back-menu i {
  margin-right: 10px;
}

.subcategories_list {
  padding: 12px 20px;
  border-bottom: 1px solid #e0e0e0;
  transition: all 0.5s ease-in-out;
}

.subcategories_list:hover {
  background-color: #f5f5f5;
  padding-left: 25px;
}

.subcategories_list a {
  font-size: 14px;
  text-decoration: none;
  color: #555;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.categories__list_item.active .subcategories {
  left: 0;
}

/* ====================================
   BREADCRUMB BANNER
   ==================================== */
.breadcrumb-banner {
  position: relative;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: 0;
}

.breadcrumb-banner-text {
  padding: 120px 0;
  position: relative;
  z-index: 10;
  color: #fff;
}

.breadcrumb-banner-text ul {
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  justify-content: center;
  margin-bottom: 15px;
}

.breadcrumb-banner-text ul li a {
  color: #fff;
  text-decoration: none;
}

.breadcrumb-banner-text h2 {
  text-align: center;
  font-size: 48px;
  margin-bottom: 15px;
  text-transform: uppercase;
}

/* ====================================
   PRODUCT CARD STYLES
   ==================================== */

.product-wrapper {
  position: relative;
}

.product-wrapper .slick-arrow {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  cursor: pointer;
  background-color: #400c2c;
  color: #fff;
  border: none;
  outline: none;
  font-size: 0;
  transition: all 0.3s ease-in-out;
}

.product-wrapper .slick-prev {
  left: -25px;
}

.product-wrapper .slick-next {
  right: -25px;
}

.product-wrapper .slick-prev::before {
  content: "\f104";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 20px;
  display: block;
  text-align: center;
  color: white;
  line-height: 50px;
}

.product-wrapper .slick-next::before {
  content: "\f105";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 20px;
  display: block;
  text-align: center;
  color: white;
  line-height: 50px;
}

.product-wrapper .slick-dots {
  display: none !important;
}

.product-wrapper .slick-arrow:hover {
  background-color: #8b1a1a;
  transform: translateY(-50%) scale(1.05);
}

.product-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin: 10px;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.product-image {
  position: relative;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.5s;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-actions {
  position: absolute;
  top: 15px;
  right: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.3s;
}

.product-card:hover .product-actions {
  opacity: 1;
  transform: translateX(0);
}

.product-actions a {
  background: #fff;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #333;
  transition: all 0.3s;
  text-decoration: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.product-actions a:hover {
  background: #400c2c;
  color: #fff;
}

.product-info {
  padding: 20px;
  text-align: center;
}

.product-info h3 {
  font-size: 18px;
  margin-bottom: 8px;
  font-weight: 600;
}

.product-info h3 a {
  text-decoration: none;
  color: #333;
  transition: color 0.3s;
}

.product-info h3 a:hover {
  color: #400c2c;
}

.price {
  margin-bottom: 15px;
}

.current-price {
  font-size: 18px;
  font-weight: 800;
  color: #400c2c;
}

.old-price {
  font-size: 14px;
  text-decoration: line-through;
  color: #999;
  margin-left: 8px;
}

.btn-add-to-cart {
  display: inline-block;
  background: #000;
  color: #fff;
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn-add-to-cart:hover {
  background: #400c2c;
}

/* ====================================
   PRODUCT SECTION
   ==================================== */
.product-section {
  padding: 60px 0;
  background-color: #fafafa;
}

.product-section .section-header {
  text-align: center;
  margin-bottom: 40px;
}

.product-section .section-header h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 10px;
  color: #333;
  text-transform: uppercase;
}

.product-section .section-header p {
  color: #666;
  font-size: 16px;
}

.product-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 20px;
}

/* ====================================
   FOOTER STYLES
   ==================================== */
footer {
  background: #400c2c;
  color: #fff;
  padding-top: 70px;
}

footer .row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

footer .col h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  color: #fff;
  position: relative;
}

footer .col h3::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background: #fff;
}

footer .col p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: #aaa;
  margin-bottom: 1rem;
}

footer .col ul {
  list-style: none;
}

footer .col ul li {
  margin-bottom: 0.7rem;
}

footer .col ul li a {
  color: #aaa;
  font-size: 0.85rem;
  transition:
    color 0.3s ease,
    padding-left 0.3s ease;
  text-decoration: none;
}

footer .col ul li a:hover {
  color: #fff;
  padding-left: 5px;
}

/* Social Icons */
footer .social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

footer .social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #222;
  border-radius: 50%;
  color: #fff;
  transition: all 0.3s ease-in-out;
  text-decoration: none;
}

footer .social-icons a:hover {
  background: #400c2c;
  transform: translateY(-3px);
}

/* Newsletter Form */
footer .newsletter-form {
  display: flex;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

footer .newsletter-form input {
  flex: 1;
  padding: 0.7rem 1rem;
  border: none;
  background: #fff;
  color: #000;
  border-radius: 40px 0 0 40px;
  outline: none;
  font-size: 0.85rem;
}

footer .newsletter-form input::placeholder {
  color: #777;
}

footer .newsletter-form button {
  background: #fff;
  border: none;
  padding: 0.7rem 1.2rem;
  border-radius: 0 40px 40px 0;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

footer .newsletter-form button i {
  color: #400c2c;
  font-size: 1rem;
}

footer .newsletter-form button:hover {
  background: #d54343;
}

/* Contact Info */
footer .contact-info p {
  margin-bottom: 0.6rem;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

footer .contact-info i {
  width: 20px;
  color: #fff;
}

/* Footer Bottom */
footer .footer-bottom {
  border-top: 1px solid #222;
  padding: 1.5rem 2rem;
  text-align: center;
  max-width: 1300px;
  margin: 0 auto;
}

footer .payment-methods {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

footer .payment-methods i {
  font-size: 1.8rem;
  color: #aaa;
  transition: color 0.3s ease;
}

footer .payment-methods i:hover {
  color: #fff;
}

footer .footer-bottom p {
  font-size: 0.8rem;
  color: #777;
  margin-bottom: 0.8rem;
}

footer .footer-links-bottom {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

footer .footer-links-bottom a {
  color: #777;
  font-size: 0.8rem;
  transition: color 0.3s ease;
  text-decoration: none;
}

footer .footer-links-bottom a:hover {
  color: #fff;
}

/* ====================================
   BACK TO TOP BUTTON
   ==================================== */
#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #fff;
  color: red;
  border: none;
  cursor: pointer;
  display: none;
  transition: all 0.3s ease;
  z-index: 999;
  font-size: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

#backToTop:hover {
  background: #d54343;
  transform: translateY(-3px);
}

/* ====================================
   CART NOTIFICATION
   ==================================== */
@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

/* ====================================
   RESPONSIVE DESIGN
   ==================================== */
@media screen and (max-width: 1260px) {
  header nav {
    width: 53%;
  }
}

@media screen and (max-width: 1240px) {
  header nav {
    width: 50%;
  }
}

@media screen and (max-width: 1140px) {
  header nav {
    width: 48%;
  }
  header .logo a {
    font-size: 38px;
  }
}

@media screen and (max-width: 1080px) {
  header nav {
    width: 47%;
  }
  header li:not(:nth-last-of-type(1)) {
    margin-right: 20px;
  }
}

@media screen and (max-width: 1024px) {
  header nav {
    width: 48%;
  }
}

@media screen and (max-width: 992px) {
  header .common-botton {
    display: none;
  }
  header .container {
    justify-content: space-between;
  }
  footer .row {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media screen and (max-width: 850px) {
  header li:not(:nth-last-of-type(1)) {
    margin-right: 20px;
  }
  header nav {
    width: 56%;
  }
}

@media screen and (max-width: 767px) {
  header .logo {
    width: auto;
  }
  header .container {
    justify-content: space-between;
  }
  header .common-botton {
    display: none;
  }
  header nav {
    width: auto;
  }

  .product-wrapper .slick-prev {
    left: 0;
  }

  .product-wrapper .slick-next {
    right: 0;
  }

  .kids-wrapper,
  .women-wrapper,
  .accessories-wrapper,
  .men-wrapper {
    grid-template-columns: repeat(2,1fr);
  }
}

@media screen and (max-width: 580px) {
  header {
    padding: 10px 0;
  }
  header .toggle-button {
    display: flex;
  }
  header .toggle-button.active span {
    background-color: #fff;
    position: relative;
    z-index: 11;
  }
  header nav {
    display: none;
  }
  header nav ul .mobile-logo {
    display: block;
    border-bottom: 1px solid #ddd;
  }
  header nav ul .mobile-logo img {
    width: 150px;
  }
  header .mobile-menu {
    display: flex;
  }
  .breadcrumb-banner-text {
    padding: 80px 0;
  }
  .breadcrumb-banner-text h2 {
    font-size: 32px;
  }
  footer .row {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  footer {
    padding-top: 50px;
  }
  footer .footer-bottom {
    padding: 1.5rem 1rem;
  }
  .product-row {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }
}

@media screen and (max-width: 480px) {
  .product-row {
    grid-template-columns: 1fr;
  }
  .kids-wrapper,
  .women-wrapper,
  .accessories-wrapper,
  .men-wrapper {
    grid-template-columns: 1fr;
  }
}

/* ====================================
   REDUCED MOTION PREFERENCE
   ==================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  header .dropdown-list,
  .product-actions,
  .product-card {
    transition: none !important;
  }
}

/* ====================================
   PRINT STYLES
   ==================================== */
@media print {
  header.fixed-header,
  .scroll-progress,
  #backToTop,
  footer .newsletter-form,
  footer .social-icons,
  .product-actions,
  .search-box,
  .toggle-button,
  .ecommerce-icons {
    display: none !important;
  }
  header {
    position: static !important;
    background: white !important;
    color: black !important;
    box-shadow: none !important;
  }
  .product-card {
    break-inside: avoid;
    page-break-inside: avoid;
  }
  footer {
    background: white;
    color: black;
    padding-top: 20px;
  }
  footer .col h3 {
    color: #333;
  }
}

body.menu-open {
  overflow: hidden;
}

/* Wishlist icon active state */
.wishlist-icon.active {
  color: #a52a2a !important;
}