* {
  padding: 0;
  margin: 0;
}

section.wrapper.bg-light {
  margin-top: 6rem !important;
}

/* Navbar Styles */
.navbar-brand img {
  max-height: 45px;
  width: auto;
}

/* Top Bar Styles */
.top-bar {
  background-color: #000;
  color: #fff;
  padding: 8px 0;
  font-size: 0.75rem;
  width: 100%;
  position: relative;
  z-index: 1000;
}

.top-bar a {
  color: #fff;
  text-decoration: none;
  margin-right: 20px;
  transition: color 0.3s ease;
  font-size: 0.75rem;
}

.top-bar a:hover {
  color: #ccc;
}

.top-bar i {
  margin-right: 5px;
}

.top-bar-left {
  float: left;
}

.top-bar-right {
  float: right;
}

.top-bar-right span {
  font-size: 0.75rem;
}

/* Moving Text Animation */
@keyframes moveLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.moving-text {
  white-space: nowrap;
  animation: moveLeft 15s linear infinite;
  font-size: 4.5rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-style: italic;
  display: inline-block;
  width: 200%;
}

.text-outline {
  -webkit-text-stroke: 2px #000;
  color: transparent;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
}

.text-solid {
  color: #000;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
}

.moving-text-container {
  overflow: hidden;
  background-color: #fff;
  padding: 30px 0;
  margin: 50px -100vw;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

/* Hero Slider Styles */
#hero-slider .carousel-item {
  min-height: 500px;
  height: 80vh;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transition: transform 1.5s ease-in-out;
}

#hero-slider .carousel-control-prev,
#hero-slider .carousel-control-next {
  width: 5%;
  opacity: 1;
}

#hero-slider .carousel-control-prev-icon,
#hero-slider .carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.5);
  padding: 25px;
  border-radius: 50%;
  background-size: 50%;
  transition: all 0.3s ease;
}

#hero-slider .carousel-control-prev-icon:hover,
#hero-slider .carousel-control-next-icon:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

#hero-slider .carousel-indicators {
  bottom: 30px;
}

#hero-slider .carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin: 0 6px;
  background-color: rgba(255, 255, 255, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.8);
}

#hero-slider .carousel-indicators button.active {
  background-color: #fff;
}

/* Product Image Hover Effect */
.hover-image-container {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
}

.hover-image-container .main-image,
.hover-image-container .hover-image {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.3s ease-in-out;
}

.hover-image-container .hover-image {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.hover-image-container:hover .main-image {
  opacity: 0;
}

.hover-image-container:hover .hover-image {
  opacity: 1;
}

/* Quick Add Cart Button */
.item-cart {
  position: absolute;
  bottom: -2rem;
  padding: 0.8rem;
  margin: 0;
  left: 0;
  width: 100%;
  height: auto;
  color: #fff;
  background: rgba(38, 43, 50, 0.8);
  text-align: center;
  transition: all 0.3s ease-in-out;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  opacity: 0;
  z-index: 2;
}

.item-cart i {
  font-weight: normal;
  margin-right: 0.25rem;
  margin-top: -0.05rem;
}

figure:hover .item-cart {
  opacity: 1;
  bottom: 0;
}

/* Quantity Selector Styles */
.quantity-selector {
  display: inline-flex;
  align-items: center;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
}

.quantity-button {
  background: #f8f9fa;
  border: none;
  padding: 8px 16px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.quantity-button:hover {
  background: #e9ecef;
}

.quantity-input {
  width: 50px;
  text-align: center;
  border: none;
  font-size: 16px;
  background: white;
  padding: 8px 0;
}

.quantity-input:focus {
  outline: none;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .top-bar-left, 
  .top-bar-right {
    float: none;
    text-align: center;
    margin: 5px 0;
  }

  #hero-slider .carousel-item {
    background-image: none !important;
    min-height: auto;
    height: auto;
    background-color: #f8f9fa;
    padding: 2rem 0;
  }

  #hero-slider .carousel-item h2 {
    font-size: 2rem !important;
    line-height: 1.2;
  }

  #hero-slider .carousel-item p {
    font-size: 1rem !important;
  }

  #hero-slider .container {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  #hero-slider .carousel-control-prev,
  #hero-slider .carousel-control-next {
    display: none;
  }
}
