body {
  font-family: 'Segoe UI', sans-serif;
  background: #fff;
}

.top-bar {
  background-color: #001f3f;
  color: #fff;
  font-size: 14px;
  padding: 5px 0;
}

.top-bar a {
  color: #fff;
  text-decoration: none;
  margin-right: 15px;
}

.top-bar i {
  margin-right: 5px;
}

.brand-logo {
  font-size: 24px;
  font-weight: bold;
  color: #001f3f;
}

.form-control::placeholder {
  font-size: 14px;
}

.icon-link {
  margin-left: 15px;
  color: #001f3f;
  font-size: 14px;
  text-decoration: none;
}

.login-btn {
  border: 1px solid #001f3f;
  padding: 6px 15px;
  border-radius: 5px;
  color: #001f3f;
  text-decoration: none;
}
/* Ensure cart icon has relative position */
.cart-icon {
  position: relative;
  display: inline-block;
  color: #333;
  text-decoration: none;
}

/* Style and position the cart badge */
.cart-badge {
  position: absolute;
  top: -6px;
  right: -10px;
  background-color: red;
  color: white;
  font-size: 12px;
  padding: 2px 5px;
  border-radius: 50%;
  line-height: 1;
  font-weight: bold;
  min-width: 18px;
  text-align: center;
  z-index: 10;
  display: inline-block;
}

/* Make sure it's visible on all screen sizes */
@media (min-width: 992px) {
  .cart-badge {
    display: inline-block !important;
  }
}
@media (max-width: 576px) {
  .cart-badge {
    top: -7px;
    right: -10px;
    font-size: 10px;
    padding: 4px 4px;
  }

  .cart-icon {
    margin-right: 12px;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .top-bar {
    font-size: 12px;
  }

  .icon-link {
    font-size: 13px;
  }

  .login-btn {
    padding: 5px 10px;
  }

  .search-box {
    width: 100%;
  }
}

    .cart-item img {
      width: 80px;
      object-fit: contain;
    }

    .cart-summary {
      background: #fff;
      padding: 20px;
      border-radius: 10px;
      box-shadow: 0 0 10px rgba(0,0,0,0.05);
    }

    .btn-continue {
      position: relative;
      display: inline-block;
      padding: 10px 24px;
      font-size: 15px;
      font-weight: 600;
      color: #fff;
      background-color: #b02a37;
      border-radius: 6px;
      text-decoration: none;
      overflow: hidden;
      transition: color 0.3s ease;
      z-index: 1;
    }

    .btn-continue::before {
      content: "";
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background-color: #ffe6e6;
      transition: left 0.4s ease;
      z-index: -1;
    }

    .btn-continue:hover::before {
      left: 0;
    }

    .btn-continue:hover {
      color: #b30000;
    }

    .qty-btn {
      width: 32px;
      height: 32px;
      border: none;
      background: #e9ecef;
      font-weight: bold;
      border-radius: 4px;
      transition: background 0.2s ease;
    }

    .qty-btn:hover {
      background: #ced4da;
    }

    .qty-input {
      width: 50px;
      text-align: center;
      appearance: textfield;
    }

    .qty-input::-webkit-inner-spin-button,
    .qty-input::-webkit-outer-spin-button {
      -webkit-appearance: none;
      margin: 0;
    }



    
/* Mobile adjustments */
@media (max-width: 576px) {
  .btn-cart,
  .btn-details {
    font-size: 0.55rem;
    padding: 0.25rem 0.5rem;
  }

  .top-badge {
    font-size: 0.6rem !important;
    width: 45% !important;
  }

  .footer-section {
    text-align: center;
  }

  .social-icon {
    font-size: 1.4rem;
  }

  .footer-link {
    margin-bottom: 0.6rem;
  }
}

.top-badge {
  font-size: 0.7rem;
  padding: 0.25rem 0.5rem;
  width: 30%;
}

.cart-section {
  margin-top: 80px;
  margin-bottom: 80px;
}

.footer-section {
  background-color: #0b1a2f;
}

.footer-link {
  color: #ccc;
  display: inline-block;
  margin-bottom: 0.4rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.footer-link:hover {
  color: #ed6a6a;
  transform: translateX(5px);
}

.social-icon {
  font-size: 1.2rem;
  color: #ccc;
  transition: transform 0.3s ease, color 0.3s ease;
}

.social-icon:hover {
  color: #fff;
  transform: scale(1.2);
}

.fade-in {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

@keyframes fadeInUp {
  0% {
    transform: translateY(10px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Responsive tweaks */
@media (max-width: 767.98px) {
  .footer-section {
    text-align: center;
  }

  .footer-section .row > div {
    text-align: center;
  }

  .footer-section img {
    margin: 0 auto;
  }

  .footer-section .social-icon {
    font-size: 1.4rem;
  }

  .footer-section ul {
    padding-left: 0;
  }

  .footer-section ul li {
    margin-bottom: 0.5rem;
  }

  .footer-section .mt-3.d-flex {
    justify-content: center;
  }
}
@media (max-width: 576px) {
  .footer-section .col-12 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}
