﻿
/* Styling for the toggle header */
.toggle-header {
    height: 39px;
    cursor: pointer;
    user-select: none;
    padding: 12px 15px; /* Padding for better clickable area */
    background-color: white; /* Background color */
    color: #2f2f2f; /* Text color */
    border: 1px solid #e0e0e0; /* Subtle border */
    border-radius: 13px; /* Rounded corners */
    font-size: 16px; /* Font size */
    font-weight: 600; /* Font weight */
    display: flex;
    justify-content: space-between; /* Align text to left, icon to right */
    align-items: center; /* Vertical center */
    transition: background-color 0.3s ease; /* Smooth background transition */
    border-color: #fbcc32;
}



/* Icon for collapsed and expanded states */
    .toggle-header::after {
        content: ' ▼'; /* Default down arrow for collapsed */
        font-size: 18px;
        color: #fbcb32; /* White color for the icon */
        transition: transform 0.3s ease, content 0.3s ease; /* Smooth transition for icon change */
    }

/* Icon for expanded state */
.toggle-header.expanded::after {
    content: ' ▲';  /* Upward arrow for expanded */
    transform: rotate(180deg); /* Rotate the icon */
}

/* Optional styling for the content inside the toggle section */
.toggle-content p {
    color: #333;  /* Text color */
    font-size: 14px;  /* Font size */
    line-height: 1.6;  /* Line height */
}








/* Divider between sections */
.product-divider {
    border-top: 1px solid #eee;
    margin-bottom: 15px;
}

/* Styling for the product title header with toggle */
.product-title {
    font-size: 13px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    transition: color 0.3s ease-in-out;
}

/* FontAwesome icon inside the title */
.product-title i {
    margin-right: 10px;
    transition: transform 0.3s ease-in-out;
}

/* Styling for the collapsible content section */
.toggle-content2 {
    display: block; /* Ensure it's visible on page load, initially shown */
    background-color: #f9f9f9;

    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  
    font-size: 15px;
    color: #555;
    max-height: 0; /* Initially collapse */
    overflow: hidden; /* Hide overflow content */
    transition: max-height 0.3s ease-in-out;
}

/* When the section is expanded, rotate the icon */
.product-title.expanded i {
    transform: rotate(180deg); /* Rotate icon */
}

/* List styling */
.description-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Animation for list items */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Apply animation to each description item */
.description-item {
    margin-bottom: 10px;
    font-size: 14px;
    color: #333;
    display: flex;
    align-items: center;
    opacity: 0; /* Start as invisible */
    transform: translateY(10px); /* Start from below */
    animation: fadeIn 0.3s forwards; /* Apply fadeIn animation */
    animation-delay: 0.1s; /* Optional delay for each item */
}

/* Delay each list item with a slight stagger effect */
.description-item:nth-child(1) {
    animation-delay: 0.1s;
}

.description-item:nth-child(2) {
    animation-delay: 0.2s;
}

.description-item:nth-child(3) {
    animation-delay: 0.3s;
}

/* Icon color for description items */
.description-item i {
    margin-right: 8px;
    color: #28a745; /* Green color for the check icon */
}












/* General Content Styling */
.product-content {
    padding: 10px;
    background-color: #fff;
    border-radius: 10px;
}


/* Divider */
.product-divider {
    border-top: 2px solid #ddd;
    margin: 10px 0;
}

/* Section Title */
.additional-ingredients-title {
    font-size: 17px;
    font-weight: 600;
    color: #007bff;
    margin-bottom: 20px;
}

/* Ingredients Container */
.additional-ingredients {
    gap: 15px;
}

/* Individual Ingredient Item */
.ingredient-item {
    margin-left: 8px;
    margin-right: 8px;
    flex-basis: 45%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background-color: #ffffff;
    text-align: center;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

    /* Hover Effect */
    .ingredient-item:hover {
        transform: translateY(-5px);
        box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.2);
    }

/* Ingredient Description */
.ingredient-description {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

/* Ingredient Price */
.ingredient-price {
    font-size: 14px;
    color: #6c757d;
}

/* Radio Button Styling */
.ingredient-selector {
    margin-bottom: 10px;
    cursor: pointer;
}