
  :root {
    /* Extend */
    --primary-color: #fd0d01;
    --primary-dark: #ba0404;
    --primary-light: #9a0404;
    --text-color: #333;
    --light-bg: #ffffff;
    --white: #efefef;
    --gray: #6c757d;
    --dark-gray: #343a40;
  }

  body, html {
    overflow-x: hidden;
    width: 100%;
  }

  /* General */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  }

  body {
    margin: 0px;
    color: var(--text-color);
    background-color: var(--light-bg);
    line-height: 1.6;
    padding: 0px;
  }

  .container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }

  /* Header Styles */
  header {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

  /* Compact Carousel Styles */
  .compact-carousel {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    margin-top: 0px;
    max-height: 500px;
    overflow: hidden;
    position: relative;
    margin-bottom: 0rem;
    border-radius: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }

  .carousel-container {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 0;
    overflow: hidden;
  }

  .carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
  }

  .carousel-slide.active {
    opacity: 1;
  }

  .carousel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 0;
  }

  .carousel-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 40px;
    position: relative;
    border-radius: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  }

  .carousel-placeholder h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  }

  .carousel-placeholder p {
    font-size: 1.2rem;
    margin-bottom: 0;
    opacity: 0.9;
  }

  .carousel-caption {
    position: absolute;
    bottom: 30px;
    left: 50px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    color: white;
    padding: 1.5rem;
    max-width: 60%;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  }

  .carousel-caption h3 {
    margin-top: 0;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
  }

  .carousel-caption p {
    margin-bottom: 1rem;
    font-size: 1rem;
    opacity: 0.9;
  }

  .carousel-caption .btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
  }

  .carousel-caption .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
  }

  .carousel-caption {
    position: absolute;
    bottom: 15px;
    left: 50px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.8rem;
    max-width: 60%;
    border-radius: 4px;
  }

  .carousel-caption h3 {
    margin-top: 0;
    font-size: 1.2rem;
  }

  .carousel-caption p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
  }

  .carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    color: #333;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 0.75rem;
    cursor: pointer;
    font-size: 1.2rem;
    z-index: 10;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
  }

  .carousel-control:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  }

  .carousel-control.prev {
    left: 20px;
  }

  .carousel-control.next {
    right: 20px;
  }

  .carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
  }

  .indicator {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  }

  .indicator:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
  }

  .indicator.active {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(255, 255, 255, 1);
    transform: scale(1.3);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.4);
  }

  /* Parent and Child Categories */
  .parent-categories {
    max-width: 100%;
    background-color: #eeeeee;
    margin-bottom: 0px;
    margin-top: 0px;
    padding: 15px;
  }

  .child-categories-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 6px;
    margin-bottom: 2px;
    width: 100%;
    padding: 0px;
    box-sizing: border-box;
  }

  /* Laptop (if you want consistency with desktop) */
  @media (max-width: 1366px) {
    .child-categories-grid {
      grid-template-columns: repeat(6, 1fr);
    }
  }

  /* Tablet (e.g., iPad) */
  @media (max-width: 1024px) {
    .child-categories-grid {
      grid-template-columns: repeat(3, 1fr);
    }
  }

  /* Mobile (e.g., smartphones) */
  @media (max-width: 768px) {
    .child-categories-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  .child-category-card {
    background: rgb(255, 255, 255);
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

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

  .child-category-link {
    display: block;
    text-decoration: none;
    color: inherit;
  }

  .child-category-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
  }

  .child-category-placeholder {
    width: 100%;
    height: 150px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 2rem;
  }

  .child-category-name {
    padding: 1rem;
    font-size: 1.1rem;
    margin: 0;
    text-align: center;
    color: #333;
  }

  /* View All Link */
  .view-all-container {
    text-align: right;
    margin-top: 2px;
  }

  .view-all-link {
    display: inline-flex;
    align-items: center;
    color: #f90303;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
  }

  .view-all-link i {
    margin-left: 0.5rem;
    transition: transform 0.2s;
  }

  .view-all-link:hover {
    color: #21a11c;
  }

  .view-all-link:hover i {
    transform: translateX(3px);
  }

  /* Features Section - why choose us start */
  .features {
    padding: 2rem 1rem;
    background-color: var(--light-bg);
    margin-bottom: 0rem;
  }
  
  .section-title {
    text-align: center;
  }
  
  .section-title h2 {
    text-align: center;
    font-size: 32px;
  }
  
  .section-title p {
    text-align: center;
    font-size: 25px;
  }
  
  .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
  }

  .feature-card {
    text-align: center;
    padding: 1.5rem;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
  }

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

  .feature-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
  }

  .feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
  }

  /* Newsletter Section */
  .newsletter {
    margin-top: 0px;
    background-color: var(--primary-color);
    color: white;
    padding: 2rem 1rem;
    text-align: center;
  }

  .newsletter h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }

  .newsletter p {
    margin-bottom: 1rem;
    font-size: 0.9rem;
  }

  .newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
  }

  .newsletter-form input {
    flex: 1;
    padding: 0.6rem 1rem;
    border: none;
    border-radius: 4px 0 0 4px;
    font-size: 0.9rem;
  }

  .newsletter-form button {
    padding: 0 1.5rem;
    background-color: var(--primary-dark);
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-size: 0.9rem;
  }

  /* Featured Products Section - COMPACT VERSION */
  .products-section {
    background-color: aliceblue;
    padding: 10px;
  }

  .pl-products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
  }

  .pl-products-title {
    font-size: 1.8rem;
    color: #333;
  }

  /* Modified grid for more compact layout */
  .plp-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 8px;
  }

  .plp-product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    height: 100%;
  }

  .plp-product-card:hover {
    transform: translateY(-5px);
  }

  .plp-product-image-container {
    position: relative;
    height: 150px;
  }

  .plp-discount-badge {
    position: absolute;
    top: 5px;
    left: 5px;
    background: var(--primary-color);
    color: white;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: bold;
  }

  .plp-product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .plp-wishlist-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #333;
    font-size: 0.8rem;
  }

  .plp-product-info {
    padding: 8px; /* Reduced from 1rem */
  }

  .plp-product-title {
    font-size: 0.85rem; /* Smaller font */
    margin-bottom: 0.4rem;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.8em; /* Fixed height for two lines */
  }

  .plp-price-container {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin-bottom: 0.3rem;
  }

  .plp-current-price {
    font-size: 0.95rem; /* Slightly reduced */
    font-weight: bold;
    color: var(--primary-color);
  }

  .plp-original-price {
    font-size: 0.8rem; /* Smaller */
    text-decoration: line-through;
    color: #999;
  }

  .plp-product-rating {
    color: #f39c12;
    margin-bottom: 0.3rem;
    font-size: 0.8rem; /* Smaller */
  }

  .plp-product-seller {
    font-size: 0.75rem; /* Smaller */
    color: #666;
    margin-bottom: 0.3rem;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .plp-delivery-info {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.75rem; /* Smaller */
    color: #666;
    margin-bottom: 0.3rem;
  }

  .plp-delivery-icon {
    color: var(--primary-color);
    font-size: 0.7rem;
  }

  .plp-prime-badge {
    display: inline-block;
    background: #f0c14b;
    color: #111;
    padding: 0.1rem 0.3rem;
    border-radius: 3px;
    font-size: 0.65rem;
    font-weight: bold;
    margin-bottom: 0.3rem;
  }

  .plp-product-actions {
    display: flex;
    gap: 0.3rem;
  }

  .plp-call-now-btn, .plp-buy-now-btn {
    flex: 1;
    padding: 0.3rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem; /* Smaller */
    transition: background 0.3s;
  }

  .plp-call-now-btn {
    background: #eee;
    color: #333;
  }

  .plp-buy-now-btn {
    background: var(--primary-color);
    color: white;
  }

  .plp-call-now-btn:hover {
    background: #ddd;
  }

  .plp-buy-now-btn:hover {
    background: var(--primary-dark);
  }

  /* Responsive adjustments for featured products */
  @media (min-width: 1600px) {
    .plp-product-grid {
      grid-template-columns: repeat(8, 1fr); /* 8 columns on very large screens */
    }
  }

  @media (min-width: 1200px) and (max-width: 1599px) {
    .plp-product-grid {
      grid-template-columns: repeat(6, 1fr); /* 6 columns on standard laptops */
    }
  }

  @media (max-width: 1024px) {
    .plp-product-grid {
      grid-template-columns: repeat(4, 1fr); /* 4 columns on tablets */
    }
  }

  @media (max-width: 768px) {
    .plp-product-grid {
      grid-template-columns: repeat(3, 1fr); /* 3 columns on small tablets */
    }
  }

  @media (max-width: 576px) {
    .plp-product-grid {
      grid-template-columns: repeat(2, 1fr); /* 2 columns on mobile */
    }
    .plp-product-image-container {
      height: 100px; /* Even more compact on mobile */
    }
  }

  /* Responsive Adjustments (original) */
  @media (max-width: 1024px) {
    .plp-product-grid {
      grid-template-columns: repeat(3, 1fr);
    }
    
    .features-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (max-width: 768px) {
    .plp-product-grid {
      grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
      grid-template-columns: repeat(2, 1fr);
    }
    
    .compact-carousel {
      max-height: 300px;
    }

    .carousel-container {
      height: 300px;
    }

    .carousel-caption {
      max-width: 80%;
      padding: 0.5rem;
    }

    .carousel-caption h3 {
      font-size: 1rem;
    }

    .carousel-caption p {
      font-size: 0.8rem;
    }
  }

  @media (max-width: 576px) {
    .plp-product-grid {
      grid-template-columns: repeat(2, 1fr);
    }
    
    .parent-category-title {
      font-size: 1.1rem;
    }

    .newsletter-form {
      flex-direction: column;
    }

    .newsletter-form input,
    .newsletter-form button {
      width: 100%;
      border-radius: 2px;
    }

    .newsletter-form button {
      margin-top: 0.5rem;
      padding: 0.6rem;
    }
    
    .carousel-caption {
      display: none;
    }
  }


/* parent scrolling */
    .large-flat-parent-categories {
        width: 100%;
        overflow-x: auto;
        padding: 10px 0;
        margin: 0rem 0;
        background: white;
    }
    
    .large-flat-scroll-container {
        display: flex;
        gap: 1rem;
        padding: 0 1rem;
        width: max-content;
        align-items: center;
        height: 200px; /* Increased container height */
    }
    
    .large-flat-parent-item {
        flex: 0 0 auto;
        height: 100%;
        display: flex;
        align-items: center;
    }
    
    .large-flat-parent-link {
        display: block;
        height: 100%;
        transition: all 0.3s ease;
    }
    
    .large-flat-parent-link:hover {
        transform: scale(1.08);
    }
    
    .large-flat-parent-img {
        height: 100%;
        width: auto;
        max-width: 600px; /* Increased max width */
        min-width: 120px;
        object-fit: contain;
        object-position: center;
        filter: contrast(1.05); /* Slight clarity enhancement */
    }
    
    .large-flat-parent-placeholder {
        height: 100%;
        padding: 0 2rem;
        display: flex;
        align-items: center;
        justify-content: center;
        background: white;
        color: #333;
        font-size: 1.2rem;
        font-weight: 500;
        white-space: nowrap;
    }
    
    /* Hide scrollbar but keep functionality */
    .large-flat-parent-categories::-webkit-scrollbar {
        display: none;
    }
    .large-flat-parent-categories {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    /* Responsive adjustments */
    @media (max-width: 768px) {
        .large-flat-scroll-container {
            height: 120px;
            gap: 2rem;
        }
        .large-flat-parent-img {
            max-width: 160px;
        }
    }
