/* Products Page Specific Styles */

/* Products Hero Banner */
.products-hero {
    background: #5e682e;
    padding: 100px 0;
    margin-top: 70px;
    text-align: center;
    color: white;
}

.products-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.products-hero h1 span {
    color: var(--chocolate);
    text-decoration: underline;
}

.products-hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    color: #ffffff;
}

.category-badges {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.category-badge {
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.women-badge {
    background-color: var(--female-color);
    color: black;
}

.men-badge {
    background-color: var(--male-color);
    color: rgb(0, 0, 0);
}

.family-badge {
    background-color: var(--family-color);
    color: black;
}

.combo-badge {
    background: linear-gradient(45deg, var(--female-color), var(--male-color));
    color: black;
}

/* Products Filter Section */
.products-filter {
    background-color: var(--light-gray);
    padding: 40px 0;
    border-bottom: 2px solid #eee;
}

.filter-options {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.filter-btn {
    padding: 12px 25px;
    border: 2px solid #ddd;
    background: white;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-btn.active,
.filter-btn:hover {
    border-color: var(--chocolate);
    background-color: var(--chocolate);
    color: rgb(0, 0, 0);
}

.search-sort {
    display: flex;
    justify-content: center;
    gap: 30px;
    align-items: center;
    flex-wrap: wrap;
}

.search-box {
    position: relative;
    width: 300px;
}

.search-box i {
    position: absolute;
    left: 260px;
    top: 50%;
    transform: translateY(-50%);
    color: #777;
}

.search-box input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 2px solid #ddd;
    border-radius: 50px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.search-box input:focus {
    outline: none;
    border-color: var(--chocolate);
}

.sort-select {
    padding: 12px 25px;
    border: 2px solid #ddd;
    border-radius: 50px;
    background: white;
    font-weight: 600;
    cursor: pointer;
}

.sort-select:focus {
    border-color: var(--chocolate);
    outline: none;
}

/* Main Products Grid */
.products-main {
    padding: 80px 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 35px;
    margin-bottom: 50px;
}

/* Product Card Styling */
.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 1.5px solid #eee;
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Category Based Border Colors */
.women-product {
    border-top: 5px solid var(--female-color);
}

.men-product {
    border-top: 5px solid var(--male-color);
}

.family-product {
    border-top: 5px solid var(--family-color);
}

.combo-product {
    border-top: 5px solid var(--chocolate);
}

.product-image {
    position: relative;
    height: 360px;
    overflow: hidden;
}

.product-card p {
    color: #666;
    font-size: 0.95rem;
    padding: 0px !important;

  }

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    letter-spacing: 1px;
    z-index: 2;
}

.category-icon {
    position: absolute;
    bottom: 10x;
    right: 10px;
    background: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.women-product .category-icon {
    color: var(--female-color);
}

.men-product .category-icon {
    color: var(--male-color);
}

.family-product .category-icon {
    color: var(--family-color);
}

.combo-product .category-icon {
    color: var(--chocolate);
}

.product-details {
    padding: 25px;
}

.product-details h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
    height: 50px;
    overflow: hidden;
}

.product-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 15px;
    height: auto;
    overflow: hidden;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.product-category {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #777;
}

.product-rating {
    color: #ffc107;
    display: flex;
    align-items: center;
    gap: 5px;
}

.product-rating span {
    color: #777;
    font-size: 0.9rem;
}

.product-price-section {
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
}


/* Kids Category Styles */
.kids-product {
    border-top: 3px solid #FF6B6B;  /* Bright red/pink for kids */
}

.kids-btn {
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
    color: white;
    border: none;
}

.kids-btn:hover {
    background: linear-gradient(135deg, #FF8E53, #FF6B6B);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
}

/* Kids category badge */
.product-card.kids-product .product-badge {
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
    color: white;
}

/* Kids category icon color */
.product-card.kids-product .category-icon {
    background: rgba(255, 107, 107, 0.1);
    color: #FF6B6B;
}

/* Kids category text styles */
.product-card.kids-product .product-category {
    color: #FF6B6B;
    font-weight: 600;
}

.price {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--chocolate);
    display: block;
}

.price-unit {
    font-size: 0.9rem;
    color: #777;
    margin-top: 4px;
}

.product-actions {
    display: flex;
    gap: 10px;
}

.product-actions .btn {
    flex: 1;
    padding: 12px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.view-details {
    background: #f8f9fa;
    color: #333;
    border: 1px solid #ddd;
}

.view-details:hover {
    background: #e9ecef;
}

/* Special Offers Banner */
.special-offers {
    background: #5e682e;
    color: white;
    padding: 60px 0;
    margin: 40px 0;
}

.offer-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.offer-content h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.offer-content h2 span {
    color: #ffd700;
}

.offer-content p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    opacity: 0.9;
}

.offer-image i {
    color: rgba(255, 255, 255, 0.2);
    animation: giftFloat 3s ease-in-out infinite alternate;
}

@keyframes giftFloat {
    from {
        transform: translateY(0) rotate(0deg);
    }
    to {
        transform: translateY(-15px) rotate(5deg);
    }
}

/* FAQ Section */
.products-faq {
    background-color: #f9f9f9;
    padding: 80px 0;
    text-align: center;
}

.products-faq h2 {
    margin-bottom: 50px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.faq-item {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: left;
    transition: transform 0.3s;
}

.faq-item:hover {
    transform: translateY(-5px);
}

.faq-item h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-item h3 i {
    color: var(--chocolate);
}

.faq-item p {
    color: #666;
    font-size: 0.95rem;
}

.faq-item code {
    background: #f1f1f1;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    color: #d63384;
}

/* No Products Message */
.no-products {
    text-align: center;
    padding: 80px 20px;
    color: #666;
}

.no-products i {
    color: #ddd;
    margin-bottom: 20px;
}

.no-products h3 {
    color: #777;
    margin-bottom: 10px;
}

/* Responsive Design for Products */
@media (max-width: 768px) {
    .products-hero {
        padding: 60px 0;
    }
    
    .products-hero h1 {
        font-size: 2.2rem;
    }
    
    .filter-options {
        gap: 10px;
    }
    
    .filter-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .search-sort {
        flex-direction: column;
        gap: 20px;
    }
    
    .search-box {
        width: 100%;
        max-width: 400px;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 25px;
    }
    
    .offer-banner {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .category-badges {
        gap: 10px;
    }
    
    .category-badge {
        padding: 8px 15px;
        font-size: 0.8rem;
    }
}



@media (max-width: 575.98px) {
    .add-to-cart {
        background: #5e682e !important;
        color: white !important;
        border: none !important;
    }

    .view-details {
        background: white !important;
        color: black !important;
        border: 1.5px solid #000000;
    }

    .search-box i {
        left: 320px;
        
    }

}


@media (max-width: 390.00px) {

    .product-actions .btn {
      flex: 1;
      padding: 12px;
      font-size: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
  }
   
    }
  


