.text-center { text-align: center; }

.image-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  z-index: 1;
}
.hero .slider-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;   
  object-position: center; 
  transition: transform 5s ease; 
}
.hero .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55); 
  z-index: 0;
}
.hero .slider-item {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  padding-block-start: 100px;
  opacity: 0;
  display: grid;
  place-content: center;
  visibility: hidden;
  z-index: 1;
}

.hero .slider-item.active {
  opacity: 1;
  visibility: visible;
}

.hero .slider-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: scale(1.15);
  pointer-events: none;
  user-select: none;
  z-index: -1;
}

.hero .slider-item.active .slider-bg {
  animation: smoothScale 5s linear forwards;
}

@keyframes smoothScale {
  0% { transform: scale(1); }
  100% { transform: scale(1.1); }
}

.hero-text { margin-block: 10px 40px; }



.slider-reveal {
  transform: translateY(30px);
  opacity: 0;
}

.hero .slider-item.active .slider-reveal {
  animation: sliderReveal 1s ease forwards;
}

@keyframes sliderReveal {
  0% {
    transform: translateY(30px);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
.slider-item a{
    padding: 12px 24px;
    background-color: orange;
    text-align: center;
    border-radius: 8px;
    color: #fff;
    transition: all 0.3s ease;
    place-self: center;
}
.slider-item a:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    background-color: #e68900;
}
.heading1{
    font-family: 'Lato', sans-serif;
    font-weight: 600;
    font-size: 1.6rem;
    color: #fff;
    text-shadow: 3px 3px 5px rgba(58, 56, 56, 0.5);
    word-spacing: 1.1;
    margin-bottom: .5rem;
}
.subtitle1{
    font-family: 'Lato','Lucidia sans Unicode','Lucidia Grande', sans-serif;
    color: #f1f1f1;
    font-weight: 500;
    font-size: 1.2rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 2rem;
}

.hero .slider-item.active .hero-title { animation-delay: 1000ms; }

.hero .slider-item.active .hero-text { animation-delay: 1.5s; }

.hero .slider-item.active .btn { animation-delay: 2s; }
.heading1 i, .slider-item a i{
    margin-right: 8px;
}
.hero-sentence a:hover {
    background-color: #e68900; 
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transform: scale(1.05);
}
.category-bar{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin: 30px 0;
    flex-wrap: wrap;
    padding: 20px;
}
.category-bar .tab-btn {
    background: #ffffff;
    border: 1px solid #e68900;
    color: #e68900;
    padding: 0.7rem 1.4rem;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    font-size: 16px;
    font-family: 'Lato', 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    transition: all 0.3s ease;
    text-align: center;
}
.category-bar .tab-btn:hover,
.category-bar .tab-btn.active {
    background: orange;
    color: #fff;
}
.category-bar i {
    margin-right: 6px;
}
.item-tab.active { display: block !important; }
.item-tab {
    display: none;
    animation: fadeIn 0.5s ease forwards;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.grid{
    max-width: 1200px;
    margin: 3rem auto 5rem;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.2rem;
}
.product-card{
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 4px 4px 10px rgba(0,0,0,0.2);
    transition: transform .3s ease, box-shdow .3s ease;
}
.product-card:hover{
    transform: translateY(-6px);
    box-shadow: 2px 5px 10px rgba(0, 0, 0, 0.3);
}
.product-card img{
    width: 100%;
    height: 210px;
    object-fit: cover;
}
.card-content{
    padding: 15px;
}
.card-content h3{
    font-size: 1rem;
    margin: 0 0 0.3rem;
    font-family: 'Poppins', sans-serif;
}
.product-card p{
    font-weight: 700;
    color: #555;
    font-size: .8rem;
    margin: 1rem 0;
    font-family: 'Lato','Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

.product-price{
    color: orange;
    font-size: 1.1rem;
    margin: 1.4rem 0;
    font-weight: 700;
}
.button {
    display: inline-block;
    background-color: orange; 
    color: #fff;
    padding: 8px 15px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}
.button:hover {
    background-color:#e68900;
}
.button i{
    color: #fff;
}
.product-card p i{
    margin-right: 8px;
    color: orange;
}
.more-card {
    background: #f1f5f2;
    text-align: center;
    border: 2px dashed orange;
    transition: 0.2s;
}

.more-card:hover {
    background: #e9f7eb;
    transform: scale(1.02);
}

.more-card h3 {
    color: orange;
    font-style: italic;
}
.promo-section {
  padding: 60px 20px;
  background: #f9fafb;
  text-align: center;
}

.promo-section h2 {
  font-size: 2rem;
  color: orange;
  margin-bottom: 5px;
}

.promo-subtitle {
  font-size: 1rem;
  color: #555;
  margin-bottom: 40px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 25px 50px;
  border-radius: 5px;
}

.product-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.product-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card-content {
  padding: 15px;
  text-align: left;
}

.card-content h3 {
  font-size: 1.1rem;
  color: #222;
  margin-bottom: 8px;
}

.card-content p {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 5px;
}

.product-price {
  margin-top: 10px;
  font-size: 1rem;
  font-weight: 600;
}

.old-price {
  text-decoration: line-through;
  color: #999;
  font-size: 19px;
  margin-right: 8px;
}
#promo-timer {
  background: orange;
  color: #fff;
  display: inline-block;
  padding: 10px 20px;
  border-radius: 8px;
  margin-bottom: 35px;
  font-weight: bold;
}
.discount-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #e63946;
  color: #fff;
  padding: 5px 10px;
  font-weight: bold;
  border-radius: 5px;
  font-size: 0.9rem;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.9; }
}
.new-price {
  color: #e63946;
  font-weight: 700;
  font-size: 14px;
}


.promo-btn {
  background: orange;
}

.promo-btn:hover {
  background: #e68900;
}

.more-products {
  grid-column: 1 / -1;
  text-align: center;
  color: #555;
  font-style: italic;
  margin-top: 10px;
}


.payment-section {
  background: #f9fafb;
  text-align: center;
  padding: 60px 20px;
}

.payment-section h2 {
  font-size: 1.8rem;
  color: #e63946;
  margin-bottom: 30px;
}

.payment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 25px;
  justify-content: center;
  align-items: center;
  margin-bottom: 25px;
}

.payment-card {
  background: #fff;
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.payment-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

.payment-card img {
  width: 60px;
  height: 40px;
  object-fit: contain;
  margin-bottom: 8px;
}

.payment-card p {
  color: #333;
  font-weight: 500;
}

.payment-security {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  color: #333;
  font-size: 1rem;
}

.payment-security i {
  color: orange;
  font-size: 1.3rem;
}
/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .card-content {
    text-align: center;
  }
  .promo-section h2 {
    font-size: 1.6rem;
  }
}
@media (max-width: 768px) {
  .hero {
    height: 80vh;
  }
  .heading1 {
    font-size: 1.8rem;
  }

  .subtitle1 {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .slider-item a {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}
