body{ 
  width: 100%;
  height: 100vh;
  margin: 0;
  font-family: 'Poppins', sans-serif;
}
/* Hero Section */
.hero-banner {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-button {
    background: #ff6b9d;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
}

.cta-button:hover {
    background: #e55a8a;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.product-card {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    transition: transform 0.3s;
}

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

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

.price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #ff6b9d;
}

/* PRODUCT DESIGN */

.product-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom:60px;
}

.product-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  /* 👇 uniform height */
  height: 300px;  /* adjust to your need */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: 0.3s;
}

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

.product-image {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 150px;
  /* margin-bottom: 10px; */
}

.product-image img {
  /* max-height: 160px; */
  object-fit: cover;
}

.product-title {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  height: 38px;
  overflow: hidden;
  margin: 5px 0;
}

.rating {
  font-size: 13px;
  color: #f5a623;
  margin: 5px 0;
}

.rating span {
  color: #555;
  margin-left: 5px;
}

.price {
  margin: 5px 0;
}

.price .current {
  font-size: 16px;
  font-weight: bold;
  color: #111;
}

.price .old {
  font-size: 13px;
  text-decoration: line-through;
  color: #777;
  margin-left: 5px;
}

.price .discount {
  font-size: 13px;
  color: #008a00;
  margin-left: 5px;
  font-weight: 600;
}

.delivery {
  font-size: 12px;
  color: #555;
  margin: 5px 0;
}

.actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn-cart {
  background: #c8a882;
  border: 1px solid #c8a882;
  color: #fff;
  font-weight: 600;
  padding: 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.2s;
}

.btn-cart:hover {
  background: #c8a882;
}

.btn-buy {
  background: #1a4a4a;
  border: 1px solid #1a4a4a;
  color: #fff;
  font-weight: 600;
  padding: 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.2s;
}

.btn-buy:hover {
  background: #1a4a4a;
}

.add-cart-row {
      display: flex;
      justify-content: center;
      align-items: center;
      /* margin-top: 10px; */
    }

    .quantity-box {
      display: flex;
      align-items: center;
    }
    .qty-btn {
      background: #c8a882;
      border: none;
      padding: 5px 10px;
      cursor: pointer;
      font-size: 16px;
      border-radius: 5px;
      color: #fff;
    }
    .qty-btn:hover { background: #c8a882; }
    .qty-input {
      width: 40px;
      text-align: center;
      border: 1px solid #c8a882;
      border-radius: 5px;
      margin: 0 5px;
      padding: 5px;
    }
    .add-to-cart {
      background: #1a4a4a;
      border: none;
      padding: 8px 12px;
      border-radius: 5px;
      cursor: pointer;
      font-weight: bold;
      color:#fff;
    }
    .add-to-cart:hover { background: #1a4a4a; }

    /* Cart Sidebar */
    .cart-sidebar {
      position: fixed;
      right: -400px;
      top: 0;
      width: 350px;
      height: 100%;
      background: #fff;
      box-shadow: -2px 0 6px rgba(0,0,0,0.2);
      transition: 0.3s;
      padding: 20px;
      overflow-y: auto;
      z-index: 1000;
    }
    .cart-sidebar.open { right: 0; }
    .cart-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .cart-header h2 { margin: 0; }
    .close-cart {
      background: red;
      color: #fff;
      border: none;
      padding: 5px 10px;
      cursor: pointer;
      border-radius: 5px;
    }
    .cart-items { list-style: none; padding: 0; margin-top: 20px; }
    .cart-items li {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 15px;
      border-bottom: 1px solid #eee;
      padding-bottom: 10px;
    }
    .cart-qty {
      display: flex;
      align-items: center;
    }
    .cart-qty .clk-qty-btn, .cart-qty .remove-btn {
      background: #ddd;
      border: none;
      padding: 3px 8px;
      cursor: pointer;
      font-size: 16px;
      border-radius: 3px;
      margin: 3px;
    }
    .cart-qty .remove-btn{
        background: #ff4d4d;
    }
    .cart-qty input {
      width: 35px;
      text-align: center;
      border: 1px solid #ccc;
      margin: 0 5px;
    }
    .remove-btn  {
      background: #ff4d4d;
      border: none;
      padding: 5px 8px;
      border-radius: 5px;
      color: #fff;
      cursor: pointer;
    }
    .cart-footer { margin-top: 20px; font-size: 18px; font-weight: bold; }
    .checkout-btn {
      margin-top: 10px;
      width: 100%;
      background: #1a4a4a;
      padding: 10px;
      border: none;
      border-radius: 5px;
      font-weight: bold;
      cursor: pointer;
      color:#fff
    }

    /* Add your custom CSS styles here for cart button and card drawer*/
    .quantity-control {
        display: flex;
        align-items: center;
        gap: 5px;
    }

    .quantity-control button {
        padding: 5px 15px;
        background: #c8a882;
        border: none;
        border-radius: 6px;
        cursor: pointer;
    }

    .quantity-control input {
        width: 70px;
        text-align: center;
    }

    .add-to-cart {
        background: #1a4a4a;
        border: none;
        padding: 8px 12px;
        border-radius: 8px;
        cursor: pointer;
        font-weight: bold;
    }

    /* Floating Cart Button */
    #cart-btn {
        /* position: fixed;
        top: 200px;
        right: 20px; */
        background: #232f3e;
        color: #fff;
        border: none;
        padding: 12px 18px;
        border-radius: 50px;
        cursor: pointer;
        font-size: 16px;
        z-index: 1000;
    }
    /* Cart Drawer */
    #cart-drawer {
        position: fixed;
        top: 0;
        right: -400px;
        width: 350px;
        height: 100%;
        background: #fff;
        box-shadow: -2px 0 8px rgba(0,0,0,0.2);
        transition: right 0.3s ease-in-out;
        display: flex;
        flex-direction: column;
        z-index: 2000;
    }

    #cart-drawer.active {
        right: 0;
    }

    .cart-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px;
        border-bottom: 1px solid #ddd;
    }

    #cart-list {
        flex: 1;
        list-style: none;
        padding: 15px;
        margin: 0;
        overflow-y: auto;
    }

    #cart-list li {
        margin-bottom: 10px;
        font-size: 14px;
    }

    .cart-footer {
        padding: 15px;
        border-top: 1px solid #ddd;
    }

    .checkout-btn {
        background: #ff9900;
        border: none;
        padding: 10px;
        width: 100%;
        border-radius: 8px;
        font-size: 16px;
        font-weight: bold;
        cursor: pointer;
    }
    .cart-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 12px;
        padding: 8px;
        background: #f9f9f9;
        border-radius: 6px;
    }

    .cart-controls {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .cart-controls button {
        padding: 4px 8px;
        border: none;
        background: #ddd;
        border-radius: 4px;
        cursor: pointer;
    }
    .cart-controls input {
        width: 35px;
        text-align: center;
        border: 1px solid #ccc;
        border-radius: 4px;
    }

    .add-to-cart {
        background-color: #28a745;
        color: white;
        border: none;
        padding: 8px 15px;
        border-radius: 6px;
        cursor: pointer;
        transition: 0.3s;
    }

    .add-to-cart:hover:not(:disabled) {
        background-color: #218838;
    }

    .add-to-cart:disabled {
        background-color: #cccccc;
        color: #666666;
        cursor: not-allowed;
        opacity: 0.7;
    }

    /** Pagination */
        /* Pagination wrapper */
        .pagination {
            display: flex;
            justify-content: center;
            margin: 20px;
            gap: 6px;
            flex-wrap: wrap;
        }

        /* Page links */
        .pagination a,
        .pagination span {
            display: inline-block;
            padding: 8px 14px;
            border-radius: 9999px; /* pill shape */
            font-size: 14px;
            font-weight: 500;
            text-decoration: none;
            transition: all 0.2s;
            /* background: #e5e7eb !important; light gray background */
            /* color: #374151 !important; dark gray text */



        }

        /* Default page */
        .pagination span,
        .pagination a {
            background-color: #f3f4f6; /* light gray */
            color: #374151; /* dark gray text */
        }

        /* Hover effect */
        .pagination a:hover {
            background-color: #10b981; /* green */
            color: #fff;
        }

        /* Active page */
        .pagination .active span,
        .pagination .active a {
            background-color: #10b981; /* green */
            color: #fff;
            font-weight: bold;
        }

        /* Disabled link */
        .pagination .disabled span,
        .pagination .disabled a {
            background-color: #e5e7eb; /* gray */
            color: #9ca3af;
            cursor: not-allowed;
        }

        /* Arrow icons */
        .pagination svg {
            width: 16px;
            height: 16px;
            vertical-align: middle;
        }

        

/* Responsive */
@media (max-width: 600px) {
  .product-list {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
  .qty-input {
    width: 25px;
  }
}

/* Hero Section with Video Background */
.shop-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: white;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 74, 74, 0.8) 0%, rgba(45, 90, 90, 0.6) 100%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.breadcrumb {
    font-size: 14px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.breadcrumb a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: white;
}

.breadcrumb i {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
}

.hero-title {
    margin-bottom: 30px;
}

.title-main {
    display: block;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 10px;
    background: linear-gradient(45deg, white, var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: #fff;
    background-clip: text;
}

.title-sub {
    display: block;
    font-size: 1.2rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.heading-title{
  padding:10px;
  margin-bottom: 10 px;
  font-size: 30px;
  font-weight: 600;
}

@media (max-width: 600px) {
    .product-card{
        padding: 5px !important;
    }
    
}
@media (max-width: 768px) {
  .price{
    margin: 0 !important ;
  }
}

.add-to-cart-btn {
  background: #c8a882;
  color: white;
  border: none;
  padding: 8px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
  width: 100%;
}
.add-to-cart-btn:hover {
  background: #b8976f;
  transform: translateY(-1px);
}

