 @import url('https://fonts.googleapis.com/css2?family=Macondo&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --primary: #ff5a5f;
    --border: #eaeaea;
    --dark: #111;
}

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
   /*  background: #f4f4f0; */
   font-family: "Raleway", sans-serif;
  font-optical-sizing: auto;
  /*  font-family: "Macondo", cursive; */
}

/* CONTAINER */
.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 16px;
}

/* TOP BAR */
/* .top-bar {
    border-bottom: 1px solid var(--border);
    font-size: 13px;
    color: #666;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
} */

/* HEADER */
.header {
    border-bottom: 1px solid var(--border);
    background: #fff;
    top:0;
    position: sticky;
    z-index: 99999;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

/* LOGO */
.logo {
    font-size: 44px;
    font-weight: 700;
     font-family: "Macondo", cursive;
}

.logo span {
    color: var(--primary);
}

/* NAV DESKTOP */
.nav ul {
    list-style: none;
    display: flex;
    gap: 36px;
}

.nav a {
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 1.5px;
    font-weight: 600;
    color: var(--dark);
    font-family: "Raleway", sans-serif;
    font-optical-sizing: auto;
}

.nav a:hover,
.nav a.active {
    color: var(--primary);
}

/* ICONS */
.header-icons {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 18px;
}

/* CART */
.cart {
    position: relative;
}

.cart span {
    position: absolute;
    top: -7px;
    right: -10px;
    background: var(--primary);
    color: #fff;
    font-size: 11px;
    padding: 3px 6px;
    border-radius: 50%;
}

/* HAMBURGER */
.menu-toggle {
    display: none;
    font-size: 22px;
    cursor: pointer;
    z-index: 10001;
}

        /* Sale Bar */
        .sale-bar {
            background: linear-gradient(135deg, #eeb1a2, #eeb1a8);
            color: white;
            padding: 12px 50px;
            font-size: 0.95rem;
            font-weight: 500;
            letter-spacing: 0.5px;
            position: relative;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: var(--z-elevate);
        }

        .sale-bar::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
            animation: shine 3s infinite;
        }

        @keyframes shine {
            to {
                left: 100%;
            }
        }

        .sale-slider {
            width: 100%;
            max-width: 900px;
            text-align: center;
            position: relative;
        }

        .sale-slide {
            display: none;
            animation: fadeSlide 0.5s ease;
        }

        .sale-slide.active {
            display: block;
        }

        @keyframes fadeSlide {
            from {
                opacity: 0;
                transform: translateY(5px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .sale-arrow {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: transparent;
            border: none;
            color: white;
            font-size: 1rem;
            padding: 8px 10px;
            cursor: pointer;
            border-radius: 50%;
            z-index: 2;
            transition: all 0.3s ease;
            width: 36px;
            height: 36px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .sale-arrow:hover {
            background: rgba(255,255,255,0.2);
            transform: translateY(-50%) scale(1.1);
        }

        .sale-arrow.left {
            left: 15px;
        }

        .sale-arrow.right {
            right: 15px;
        }
/* ================= MOBILE ================= */
@media (max-width: 768px) {

    .top-bar {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .header-inner {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        height: 70px;
    }

    .logo {
        grid-column: 2;
        text-align: center;
        font-size: 38px;
    }

    .menu-toggle {
        grid-column: 1;
        justify-self: start;
    }

    .header-icons {
        grid-column: 3;
        justify-self: end;
    }

    /* SLIDE MENU */
    .nav {
        position: fixed;
        top: 0;
        left: -280px;
        width: 280px;
        height: 100vh;
        background: #fff;
        box-shadow: 2px 0 15px rgba(0,0,0,0.1);
        transition: left 0.4s ease;
        z-index: 10000;
        padding-top: 90px;
    }

    .nav.active {
        left: 0;
    }

    .nav ul {
        flex-direction: column;
        gap: 0;
    }

    .nav ul li {
        border-bottom: 1px solid var(--border);
    }

    .nav ul li a {
        display: block;
        padding: 16px 20px;
    }

    .nav ul li a:hover,
    .nav ul li a.active {
        background: var(--primary);
        background:#eeb1a8;
        color: #fff;
    }
}

/* OVERLAY */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    background: rgb(238, 177, 162,0.3);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 9999;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

 /* Hero Section */
        .hero {
            position: relative;
            height: calc(100vh - 80px);
            width: 100%;
            overflow: hidden;
            display: flex;
            align-items: center;
            align-content: center;
        }

        /* Slides Container */
        .slides-container {
            position: relative;
            height: 100%;
            width: 100%;
            max-width:100%;
            
        }

           /* Individual Slides – SLIDER MODE */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 2s ease;
}

.slide.active {
    transform: translateX(0);
    visibility: visible;
    z-index: 2;
}

.slide.prev {
    transform: translateX(-100%);
    visibility: visible;
    z-index: 1;
}
        /* Slide Background */
        .slide-bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            transform: scale(1.1);
            transition: transform 8s cubic-bezier(0.4, 0, 0.2, 1);
          /*    background: linear-gradient(
                90deg,
                rgba(0, 0, 0, 0.7) 0%,
                rgba(0, 0, 0, 0.4) 50%,
                rgba(0, 0, 0, 0.2) 100%
            ); */
        }

        .slide.active .slide-bg {
            transform: scale(1);
        }

        /* Overlay with gradient */
  /*     .overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(
                90deg,
                rgba(0, 0, 0, 0.7) 0%,
                rgba(0, 0, 0, 0.4) 50%,
                rgba(0, 0, 0, 0.2) 100%
            );
            z-index: 1;
        }  */

/* HERO INNER CONTAINER */
.hero-inner {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    z-index: 2;
    
}

/* FIX HERO CONTENT */
.hero-content {
    position: relative;        /* IMPORTANT */
    max-width: 800px;
    color: #fff;
    opacity: 0;
  /*   transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1); */
}

.slide.active .hero-content {
    opacity: 1;
    transform: translateY(0);
}     /* Content Styling */
        .subtitle {
            font-family: 'Cormorant Garamond', serif;
            font-size: 1.2rem;
            letter-spacing: 3px;
            text-transform: uppercase;
            margin-bottom: 1rem;
            color: #e7c6a5;
            color: #eeb1a2;
            font-weight: 400;
           /*  opacity: 0; */
            transform: translateY(20px);
            animation: fadeInUp 0.6s ease forwards 0.6s;
        }

        .hero-content h1 {
            font-family: 'Cormorant Garamond', serif;
            font-size: 4.2rem;
            font-weight: 600;
            line-height: 1.2;
            margin-bottom: 1.5rem;
            margin-top: 2.5rem;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
          /*   opacity: 0; */
        /*     transform: translateY(20px);
            animation: fadeInUp 0.6s ease forwards 0.8s; */
            color: #ff5a5f;
              color: rgba(27, 26, 26, 0.9);
        }

        .hero-content p {
            font-size: 1.1rem;
            line-height: 1.8;
            margin-bottom: 2.5rem;
            color: rgba(27, 26, 26, 0.9);
            font-weight: 300;
            max-width: 500px;
            /* opacity: 0; */
     /*        transform: translateY(20px);
            animation: fadeInUp 0.6s ease forwards 1s; */
        }

        /* CTA Button */
        .cta-button {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 16px 38px;
            background: #e7c6a5;
            color: #1a1a1a;
            text-decoration: none;
            font-weight: 500;
            letter-spacing: 1px;
            text-transform: uppercase;
            font-size: 0.9rem;
            border-radius: 40px;
            transition: all 0.3s ease;
            border: 2px solid transparent;
            opacity: 0;
            transform: translateY(20px);
            animation: fadeInUp 0.6s ease forwards 1.2s;
        }

        .cta-button:hover {
            background: #e7c6a5;
            border-color: #e7c6a5;
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        }

        .cta-button i {
            transition: transform 0.3s ease;
        }

        .cta-button:hover i {
            transform: translateX(5px);
        }

        /* Slide Indicators */
        .slide-indicators {
            position: absolute;
            bottom: 40px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 12px;
            z-index: 3;
        }


        .indicator {
            width: 50px;
            height: 3px;
            background: #eeb1a2;
            border: none;
            cursor: pointer;
            transition: all 0.3s ease;
            padding: 0;
        }

        .indicator.active {
            background: #f1666b;
            width: 70px;
        }

        .indicator:hover {
            background: rgba(231, 198, 165, 0.7);
        }

        /* Navigation Arrows */
        .nav-arrow {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 50px;
            height: 50px;
            background: rgb(238, 177, 162,0.5);
            background: transparent;
            /* backdrop-filter: blur(50px); */
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 3;
            transition: all 0.3s ease;
            color: black;
            font-size: 1.2rem;
        }

        .nav-arrow:hover {
            /* background: rgba(231, 198, 165, 0.3); */
            border-color: #e7c6a5;
            transform: translateY(-50%) scale(1.1);
        }

        .nav-arrow.prev {
            left: 30px;
        }

        .nav-arrow.next {
            right: 30px;
        }

        /* Animation */
        @keyframes fadeInUp {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Responsive Design */
        @media (max-width: 1024px) {
            .hero-content h1 {
                font-size: 3.5rem;
            }
        }

        @media (max-width: 768px) {
            
            .hero {
            position: relative;
            height: calc(100vh - 150px);
            width: 100%;
            overflow: hidden;
            display: flex;
            align-items: center;
            align-content: center;
        }

            .hero-content {
                left: 5%;
                right: 5%;
                text-align: left;
                max-width: 100%;
            }

            .hero-content h1 {
                font-size: 2.8rem;
            }

            .hero-content p {
                margin-left: auto;
                margin-right: auto;
            }

          /*   .overlay {
                background: linear-gradient(
                    180deg,
                    rgba(0, 0, 0, 0.7) 0%,
                    rgba(0, 0, 0, 0.4) 100%
                );
            }
 */
            .nav-arrow {
                width: 40px;
                height: 40px;
                font-size: 1rem;
            }

            .nav-arrow.prev {
                left: 15px;
            }

            .nav-arrow.next {
                right: 15px;
            }
        }
   @media (max-width: 500px) {

          .hero {
            position: relative;
             height: calc(100vh - 150px);
            width: 100%;
            overflow: hidden;
            display: flex;
            align-items: center;
            align-content: center;
        }

       }
        @media (max-width: 480px) {
            .hero-content h1 {
                font-size: 2.2rem;
            }

            .subtitle {
                font-size: 1rem;
            }

            .hero-content p {
                font-size: 1rem;
                line-height: 1.6;
            }

            .cta-button {
                padding: 14px 30px;
                font-size: 0.85rem;
            }

            .indicator {
                width: 30px;
            }

            .indicator.active {
                width: 50px;
            }
        }

/* ===============================
   FEATURES SECTION
================================ */

.features {
  padding: 80px 20px;
  background: #fff;
}

.features-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
}

/* Feature Box */
.feature-box {
  position: relative;
  padding: 0 40px;
}

/* Vertical Divider Line */
.features-container .feature-box:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 20%;
  right: 0;
  width: 1px;
  height: 60%;
  background: linear-gradient(
    to bottom,
    transparent,
    #e5e5e5,
    transparent
  );
}

/* Icon */
.feature-box .icon {
  font-size: 48px;
  color: #f1666b;
  margin-bottom: 20px;
}

/* Title */
.feature-box h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #000;
}

/* Text */
.feature-box p {
  font-size: 14px;
  line-height: 1.7;
  color: #777;
  max-width: 320px;
  margin: auto;
  font-family: "Raleway", sans-serif;
  font-optical-sizing: auto;
}

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 767px) {
  .features-container {
    grid-template-columns: 1fr;
    row-gap: 50px;
  }

  /* Remove divider on mobile */
  .features-container .feature-box::after {
    display: none;
  }
}
/* ==========================================
   PROMO SECTION – PROFESSIONAL VERSION
========================================== */

.promo-section {
  padding: 60px 20px;
  background: #fff;
}

/* Grid */
.promo-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
}

.promo-side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 20px;
}

/* Card */
.promo-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  min-height: 260px;
  transition: transform 0.5s ease;
}

.promo-card.large {
  min-height: 540px;
}

/* Overlay */
.promo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.45),
    rgba(0, 0, 0, 0.15)
  );
  transition: background 0.5s ease;
}

/* Hover overlay */
.promo-card:hover::before {
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.6),
    rgba(0, 0, 0, 0.25)
  );
}

/* Content */
.promo-content {
  position: relative;
  padding: 50px;
  max-width: 420px;
  color: #fff;
  transform: translateY(10px);
  transition: transform 0.5s ease;
}

.promo-card:hover .promo-content {
  transform: translateY(0);
}

/* Tag */
.tag {
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #f1666b;
  margin-bottom: 12px;
  display: inline-block;
  font-family: "Raleway", sans-serif;
}

/* Headings */
.promo-content h2 {
  font-size: 54px;
  
  margin: 10px 0 20px;
  font-weight: 700;
  font-family: "Raleway", sans-serif;
}

.promo-content h3 {
  font-size: 32px;
  line-height: 1.1;
  margin-bottom: 16px;
  font-weight: 700;
  font-family: "Raleway", sans-serif;
}

/* Text */
.promo-content p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.9);
  font-family: "Raleway", sans-serif;
}

/* Link */
.promo-link {
  font-size: 14px;
  font-weight: 600;
  color: #f1666b;
  text-decoration: none;
  font-family: "Raleway", sans-serif;
  position: relative;
}

/* Animated underline */
.promo-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: #f1666b;
  transition: width 0.3s ease;
}

.promo-link:hover::after {
  width: 100%;
}

/* Card Hover Zoom */
.promo-card:hover {
  transform: scale(1.02);
}

/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 767px) {
  .promo-grid {
    grid-template-columns: 1fr;
  }

  .promo-card.large {
    min-height: 400px;
  }

  .promo-content {
    padding: 35px;
  }

  .promo-content h2 {
    font-size: 42px;
  }
}



/* -=-------------------------------------.products  */


.products {
  padding: 80px 20px;
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.section-head {
  text-align: center;
  margin-bottom: 60px;
}

.section-head h2 {
  font-size: 36px;
  font-weight: 600;
  color: #111;
  margin-bottom: 10px;
}

.section-head p {
  color: #666;
  font-size: 15px;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
}

.product-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.product-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
}

.product-card:hover {
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.product-img {
  background: #f8f8f8;
  padding: 30px;
  position: relative;
  text-align: center;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.product-card:hover .product-img img {
  transform: scale(1.08);
}

/* Hover buttons - Professional Style */
.actions {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  display: flex;
  gap: 10px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  width: 80%;
  max-width: 200px;
  z-index: 10;
}

.product-card:hover .actions {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.actions button {
  border: none;
  padding: 10px 0;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  flex: 1;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.actions button i {
  font-size: 14px;
}

/* Add to Cart Button */
.actions .add-cart {
  background: white;
  color: #333;
  border: 1px solid #ddd;
}

.actions .add-cart:hover {
  background: #f1666b;
  color: white;
  border-color: #f1666b;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(241, 102, 107, 0.3);
}

/* Buy Now Button */
.actions .buy-now {
  background: #f1666b;
  color: white;
  border: 1px solid #f1666b;
}

.actions .buy-now:hover {
  background: #e04f54;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(241, 102, 107, 0.4);
}

.actions .buy-now i {
  transition: transform 0.2s ease;
}

.actions .buy-now:hover i {
  transform: translateX(3px);
}

.actions button:active {
  transform: translateY(0);
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.product-info {
  padding: 20px 15px;
  text-align: center;
}

.category {
  font-size: 12px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.rating {
  color: #ffc107;
  font-size: 13px;
  margin: 8px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.product-info h4 {
  font-size: 15px;
  font-weight: 500;
  margin: 8px 0 10px;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.price {
  font-weight: 600;
  color: #f1666b;
  font-size: 16px;
  margin: 0 2px;
}

.price.old {
  text-decoration: line-through;
  color: #aaa;
  font-weight: 400;
  font-size: 14px;
  margin-right: 6px;
}

/* Sale badge */
.badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #f1666b;
  color: white;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 20px;
  z-index: 2;
  box-shadow: 0 3px 8px rgba(241, 102, 107, 0.3);
}

/* Responsive Design */
@media (max-width: 1000px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
  
  .section-head h2 {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .products {
    padding: 60px 20px;
  }
  
  .actions {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    width: 90%;
    max-width: 220px;
  }
  
  .actions button {
    padding: 9px 0;
    font-size: 12px;
  }
  
  .product-img {
    padding: 25px;
  }

}

@media (max-width: 600px) {
  .product-grid {
    grid-template-columns: 1fr;
    max-width: 350px;
  }
  
  .section-head h2 {
    font-size: 28px;
  }
  
  .section-head p {
    font-size: 14px;
    padding: 0 15px;
  }
  
  .actions button {
    padding: 8px 0;
  }
}

/* Touch Device Optimization */
@media (hover: none) and (pointer: coarse) {
  .actions {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }
  
  .actions button:active {
    transform: scale(0.97);
  }
  
  .actions .add-cart:active {
    background: #f1666b;
    color: white;
  }
}

/* Animation for button click */
@keyframes click {
  0% { transform: scale(1); }
  50% { transform: scale(0.95); }
  100% { transform: scale(1); }
}

.actions button:active {
  animation: click 0.2s ease;
}

/*----------------------------------- product 2 section ----------------*/
/* .products-section {
  padding: 80px 20px;
  background: #fff;
  background: red;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 36px;
  font-weight: 600;
}

.section-header p {
  font-size: 14px;
  color: #888;
  margin-top: 10px;
}

.products-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.product-card {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}

.product-img {
  position: relative;
  background: #f5f5f5;
  padding: 20px;
  text-align: center;
}

.product-img img {
  width: 100%;
  transition: transform 0.4s ease;
}

.product-card:hover img {
  transform: scale(1.05);
} */

/* Hover buttons */
/* .product-actions {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  opacity: 0;
  transition: 0.3s;
}

.product-card:hover .product-actions {
  opacity: 1;
}

.product-actions button {
  border: none;
  padding: 8px 12px;
  font-size: 12px;
  cursor: pointer;
}

.product-actions .cart {
  background: #000;
  color: #fff;
}

.product-actions .buy {
  background: #fff;
  border: 1px solid #ddd;
}
 */
/*----------------------------------- product section ----------------*/
.products-section {
  padding: 80px 20px;
  background: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 32px;
  font-weight: 600;
  color: #111;
  margin-bottom: 12px;
}

.section-header p {
  font-size: 15px;
  color: #666;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.5;
}

.products-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

/* Responsive Grid */
@media (max-width: 992px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .section-header h2 {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr;
    max-width: 350px;
  }
}

/* Product Card */
.product-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  transition: all 0.2s ease;
  border: 1px solid #f0f0f0;
}

.product-card:hover {
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.sale-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #ff4d4d;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  z-index: 2;
}

.product-img {
  position: relative;
  background: #f8f8f8;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-img img {
  transform: scale(1.05);
}

/* Product Actions - Simple Icon Buttons */
.product-actions {
  position: absolute;
  bottom: 15px;
  left: 0;
  right: 0;
  display: flex;
  gap: 8px;
  justify-content: center;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 2;
}

.product-card:hover .product-actions {
  opacity: 1;
  transform: translateY(0);
}

.product-actions button {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: white;
  color: #333;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  transition: all 0.2s ease;
}

.product-actions .btn-add:hover {
  background: #111;
  color: white;
}

.product-actions .btn-buy:hover {
  background: #111;
  color: white;
}

/* Product Info */
.product-info {
  padding: 15px;
  text-align: center;
}

.product-info h4 {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.price {
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.price .old {
  color: #999;
  font-size: 13px;
  text-decoration: line-through;
}

.price .new {
  color: #ff4d4d;
  font-size: 15px;
  font-weight: 600;
}

.rating {
  color: #ffc107;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.rating span {
  color: #666;
  font-size: 12px;
  margin-left: 2px;
}

/* Mobile Responsive - Always show buttons on touch devices */
@media (max-width: 768px) {
  .product-actions {
    opacity: 1;
    transform: translateY(0);
    bottom: 10px;
  }
  
  .product-actions button {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }
  
  .product-info {
    padding: 12px;
  }
  
  .product-info h4 {
    font-size: 13px;
  }
  
  .price .new {
    font-size: 14px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .product-actions button {
    width: 42px;
    height: 42px;
    font-size: 16px;
  }
}

/* Touch Device Optimization */
@media (hover: none) {
  .product-actions {
    opacity: 1;
    transform: translateY(0);
  }
  
  .product-actions button:active {
    background: #111;
    color: white;
    transform: scale(0.95);
  }
}

/* Sale badge */
.sale-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #ff9f43;
  color: #fff;
  font-size: 12px;
  padding: 6px 10px;
  z-index: 2;
}

.product-info {
  padding: 20px;
  text-align: center;
}

.product-info h4 {
  font-size: 14px;
  margin-bottom: 10px;
}

.price {
  margin-bottom: 8px;
}

.price .old {
  text-decoration: line-through;
  color: #aaa;
  margin-right: 6px;
}

.price .new {
  font-weight: 600;
}

.stars {
  color: #ff9f43;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 1000px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}

/* new product section */
.new-product {
  padding: 80px 20px;
  background: #fff;
}

.np-header {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
}

.np-header h2 {
  font-size: 26px;
  font-weight: 600;
  position: relative;
}

.np-header h2::after {
  content: "";
  width: 40px;
  height: 2px;
  background: red;
  position: absolute;
  left: 0;
  bottom: -8px;
}

.np-tabs {
  display: flex;
  gap: 25px;
  list-style: none;
}

.np-tabs li {
  font-size: 14px;
  cursor: pointer;
  color: #555;
}

.np-tabs li.active {
  color: #000;
  border-bottom: 2px solid red;
  padding-bottom: 4px;
}

/* Grid */
.np-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

/* Card */
.np-card {
  text-align: center;
  position: relative;
}

.np-img {
  position: relative;
  background: #f3f3f3;
  overflow: hidden;
}

.np-img img {
  width: 100%;
  transition: transform 0.4s ease;
}

.np-card:hover img {
  transform: scale(1.05);
}

/* Hover icons */
.np-actions {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  opacity: 0;
  transition: 0.3s;
}

.np-actions span {
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.np-card:hover .np-actions {
  opacity: 1;
}

/* Badges */
.np-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  font-size: 12px;
  padding: 5px 10px;
  z-index: 2;
}

.np-badge.new {
  background: #4caf50;
  color: #fff;
}

.np-badge.out {
  background: #000;
  color: #fff;
}

/* Info */
.np-card h4 {
  font-size: 15px;
  margin: 15px 0 6px;
}

.stars {
  color: #f4c150;
  font-size: 14px;
}

.price {
  font-size: 16px;
  font-weight: 600;
  margin-top: 6px;
}

/* Responsive */
@media (max-width: 1000px) {
  .np-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .np-header {
    flex-direction: column;
    gap: 20px;
  }
  .np-grid {
    grid-template-columns: 1fr;
  }
}