/* Import Inter from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* Apply to the entire project */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif; /* This makes all text use the same font */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Base styles for standard elements to ensure consistency */
body {
  line-height: 1.6;
  color: #1a1a1a;
  background-color: #ffffff;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 900; /* Keeps your headings bold and punchy like the brand */
  line-height: 1.1;
  letter-spacing: -0.5px;
}

a {
  text-decoration: none;
  color: inherit;
  font-family: 'Inter', sans-serif;
}

button, input, textarea, select {
  font-family: 'Inter', sans-serif; /* Prevents browsers from using default fonts in forms */
}


/* Navbar Background */
.custom-navbar {
  background-color: #e41e26;
  padding: 12px 0;
  z-index: 999;

  transition: all 0.3s ease; /* smooth transition */
}

/* Add glass + shadow on scroll */
.custom-navbar.scrolled {
  background-color: rgba(228, 30, 38, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

/* Logo */
.logo {
  height: 35px;
  margin-right: 8px;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.logo-text {
  color: #fff;
  font-weight: 600;
  font-size: 18px;
}

/* Menu Links */
.navbar-nav .nav-link {
  color: #fff;
  margin: 0 12px;
  font-weight: 500;
  position: relative;
  transition: all 0.3s ease;
}

/* Smooth underline animation */
.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 1px;
  background: #fff;
  left: 0;
  bottom: -2px;
  transition: width 0.2s ease;
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
}

.navbar-nav .nav-link:hover {
  opacity: 0.85;
}

/* Active */
.navbar-nav .nav-link.active::after {
  width: 30%;
  left: 50%;
  transform: translateX(-50%)
}

/* Search Box */
.search-box {
  background: #ffdede;
  border-radius: 25px;
  padding: 6px 12px;
  align-items: center;
  margin-right: 15px;

  transition: all 0.3s ease;
}

.search-box:hover {
  background: rgba(255,255,255,0.3);
}

.search-box input {
  border: none;
  outline: none;
  background: transparent;
  color: #fff;
  margin-left: 8px;
  width: 150px;
}

/* Icons */
.icons i {
  color: #fff;
  margin: 0 8px;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.icons i:hover {
  transform: translateY(-2px) scale(1.1);
  color: #ffdede;
}

/* Cart Badge */
.cart-icon {
  position: relative;
}

.cart-icon .badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #fff;
  color: #e41e26;
  font-size: 10px;
  border-radius: 50%;
  padding: 3px 6px;

  animation: pulse 2s infinite;
}

/* Badge pulse animation */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}



/* Wishlist icon in navbar */
.wishlist-icon-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 8px;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.wishlist-icon-nav:hover {
  transform: translateY(-2px) scale(1.1);
  color: #ffdede;
}

/* Mobile Styles */
@media (max-width: 991px) {
  .search-box {
    display: none;
  }

  .navbar-collapse {
    background: #e41e26;
    padding: 15px;
    border-radius: 10px;
    margin-top: 10px;

    animation: slideDown 0.3s ease;
  }

  .navbar-nav .nav-link {
    margin: 10px 0;
  }

  .icons i {
    font-size: 16px;
    margin: 0 10px;
  }

  .cart-icon .badge {
    font-size: 9px;
    padding: 4px 10px;
  }
}

/* Mobile dropdown animation */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}







/* Mobile Search Box */
.mobile-search-box {
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;
  background: #e41e26;
  padding: 10px 15px;

  transform: translateY(-100%);
  transition: 0.3s ease;
  z-index: 998;
}

.mobile-search-box input {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: none;
  outline: none;
}

/* Show class */
.mobile-search-box.active {
  transform: translateY(0);
}

/* Icon */
.mobile-search i {
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}
.footer-logo {
  max-width: 150px;
  height: auto;
}











.cart-icon {
  position: relative;
  display: inline-block;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background: red;
  color: #fff;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 50%;
  font-weight: bold;
}



.user-menu {
  position: relative;
  display: inline-block;
}

.user-icon {
  cursor: pointer;
  font-size: 18px;
}

.user-dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: 30px;
  background: #fff;
  border-radius: 8px;
  padding: 10px;
  min-width: 150px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  z-index: 1000;
}

.user-dropdown.active {
  display: block;
}

.user-name {
  font-weight: 600;
  margin-bottom: 8px;
}

.dropdown-item {
  display: block;
  text-decoration: none;
  color: #333;
  padding: 6px 0;
}

.dropdown-item:hover {
  color: #ff6600;
}



.cart-icon {
  position: relative;
  display: inline-block;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background: red;
  color: #fff;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 50%;
  font-weight: bold;
}








.user-menu {
  position: relative;
}

.user-dropdown {
  position: absolute;
  top: 40px;
  right: 0;
  background: #fff;
  border-radius: 10px;
  padding: 10px;
  width: 160px;
  display: none;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  z-index: 999;
}

.user-dropdown.show {
  display: block;
}

.user-name {
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #bc000d;
}

.dropdown-item {
  display: block;
  padding: 6px 0;
  font-size: 0.85rem;
  color: #333;
  text-decoration: none;
}

.dropdown-item:hover {
  color: #bc000d;
}

/* CART COUNT */
.cart-icon {
  position: relative;
}

.cart-count {
  position: absolute;
  top: -6px;
  right: -8px;
  background: #bc000d;
  color: #fff;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 50%;
}






/* FOOTER */
.footer {
  background: #da0d0d;
  color: #161616;
  padding: 60px 20px 20px;
}

/* CONTAINER */
.footer-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1100px;
  margin: auto;
}

/* LOGO */
.logo {
  color: #fff;
  font-size: 22px;
  margin-bottom: 10px;
}

/* TEXT */
.footer-col p {
  font-size: 14px;
  color: #fff;
  line-height: 1.6;
  margin-top: 20px;
}

/* HEADINGS */
.footer-col h4 {
  color: #fff;
  margin-bottom: 15px;
}

/* LINKS */
.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  text-decoration: none;
  color: #fff;
  font-size: 14px;
  transition: 0.3s;
}

.footer-col ul li a:hover {
  color: #070707;
}

/* INPUT */
.footer-input {
  display: flex;
  margin-top: 10px;
}

.footer-input input {
  padding: 10px;
  border: none;
  outline: none;
  flex: 1;
  border-radius: 6px 0 0 6px;
}

.footer-input button {
  background: #e31e24;
  color: #fff;
  border: none;
  padding: 0 15px;
  border-radius: 0 6px 6px 0;
  cursor: pointer;
}

/* SOCIAL */
.socials a {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 50%;
  color: #000;
  margin-right: 10px;
  font-size: 16px;
  transition: 0.3s;
}

.socials a:hover {
  background: #e31e24;
  transform: translateY(-3px);
}
/* BOTTOM */
.footer-bottom {
  text-align: center;
  margin-top: 40px;
  border-top: 1px solid #eee7e7;
  padding-top: 15px;
  font-size: 13px;
  color: #f5efef;
}

/* ===================== */
/* TABLET */
/* ===================== */
@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===================== */
/* MOBILE */
/* ===================== */
@media (max-width: 576px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-input {
    justify-content: center;
  }

  .footer-input input {
    border-radius: 6px 0 0 6px;
  }

  .socials {
    justify-content: center;
  }
}