/* ////////banner/////////////////// */

.banner {
    width: 100%;
    height: 400px;
    background-image: url('../images/About-back-img.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.breadcrumb {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 15px 25px;
    border-radius: 30px;
    z-index: 1;
    margin-top: 80px;
}

.breadcrumb a {
    text-decoration: none;
    color: #333;
    font-size: 18px;
    display: flex;
    align-items: center;
}

.breadcrumb a:hover {
    color: #000;
}

.breadcrumb-separator {
    margin: 0 10px;
    color: #333;
    font-size: 18px;
}

.breadcrumb-current {
    color: #333;
    font-size: 18px;
    font-weight: bold;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .banner {
        height: 400px;
    }
    
    .breadcrumb {
        padding: 12px 20px;
    }
    
    .breadcrumb a,
    .breadcrumb-separator,
    .breadcrumb-current {
        font-size: 16px;
    }
}
  



/* //////Product details///////// */

.container {
            display: flex;
            max-width: 1200px;
            margin: 0 auto;
            background-color: #fff;
            overflow: hidden;
            padding: 50px 0 0 0;
        }

        .product-image {
            flex: 1;
            padding: 20px;
            display: flex;
            flex-direction: column;
            align-items: center;
            /* Changed: Align to top */
            justify-content: flex-start; /* Changed from center to flex-start */
        }

        .product-image img#mainProductImage { /* Added ID for easy selection */
            max-width: 100%;
            height: auto;
            border-radius: 5px;
            margin-bottom: 20px; /* Added some space below the main image */
        }

        .thumbnail-images {
            display: flex;
            gap: 10px;
            margin-top: 0px; /* Adjusted margin as main image now has bottom margin */
        }

        .thumbnail-images img {
            width: 80px;
            height: 80px;
            border: 1px solid #ddd;
            border-radius: 4px;
            cursor: pointer;
            transition: border-color 0.2s ease; /* Added transition for hover effect */
        }

        .thumbnail-images img:hover,
        .thumbnail-images img.active { /* Added active class for styling selected thumbnail */
            border-color: #ffc107; /* Highlight on hover/active */
        }

        .product-details {
            flex: 1;
            padding: 30px;
        }

        .product-details h2 {
            font-size: 24px;
            margin-top: 0;
            color: #333;
        }

        .detail-row {
            display: flex;
            margin-bottom: 10px;
        }

        .detail-label {
            font-weight: bold;
            width: 120px;
            color: #555;
        }

        .detail-value {
            color: #333;
        }

        .description {
            margin-top: 20px;
            font-size: 16px;
            line-height: 1.6;
            color: #444;
        }

        .description ul {
            list-style: none;
            padding: 0;
        }

        .description ul li {
            margin-bottom: 5px;
            position: relative;
            padding-left: 20px;
            font-size: 15px;
        }

        .description ul li::before {
            content: '•';
            position: absolute;
            left: 0;
            color: #000;
            font-size: 28px;
            line-height: .7;
        }

        .note {
            margin-top: 20px;
            font-style: italic;
            color: #888;
        }

        .warranty {
            margin-top: 20px;
            border-top: 1px solid #eee;
            padding-top: 20px;
        }

        .warranty h4,
        .warranty h3 {
            font-size: 16px;
            color: #333;
            margin-bottom: 10px;
        }

        .warranty ul {
            padding: 15px 0 15px 25px;
        }

        .warranty ul li {
            margin-bottom: 5px;
            position: relative;
            font-size: 15px;
        }

        .warranty ul li::before {
            content: '';
            position: absolute;
            color: #000;
        }

        .buttons {
            display: flex;
            justify-content: flex-end; /* Align buttons to the right */
            margin-top: 30px;
            gap: 15px;
            padding: 0 80px 40px 0; /* Add padding to align with description */
        }

        .button {
            padding: 12px 25px;
            border: none;
            border-radius: 5px;
            font-size: 16px;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }

        .flat-offer-btn {
            background-color: #e0e0e0;
            color: #333;
            cursor: default; /* Make it non-clickable */
        }

        .get-offer-btn {
            background-color: #ffc107; /* Orange/Yellow color */
            color: #333;
            font-weight: bold;
        }

        .get-offer-btn:hover {
            background-color: #e0a800;
        }

        /* Overlay Form Styles */
        .overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.6);
            display: none; /* Hidden by default */
            justify-content: center;
            align-items: center;
            z-index: 1000;
        }

        .form-container {
            background-color: #fff;
            padding: 30px;
            border-radius: 8px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
            width: 90%;
            max-width: 600px;
            position: relative;
        }

        .form-container h3 {
            text-align: center;
            margin-top: 0;
            margin-bottom: 25px;
            color: #333;
            font-size: 20px;
        }

        .close-btn {
            position: absolute;
            top: 15px;
            right: 15px;
            font-size: 24px;
            cursor: pointer;
            color: #888;
        }

        .form-row {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            margin-bottom: 15px;
        }

        .form-group {
            flex: 1 1 calc(50% - 10px); /* For two columns */
        }

        .form-group input,
        .form-group select {
            width: 100%;
            padding: 12px;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-size: 14px;
            box-sizing: border-box; /* Include padding in width */
        }

        .captcha-group {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-top: 20px;
        }

        .captcha-code {
            background-color: #f0f0f0;
            border: 1px solid #ccc;
            padding: 8px 15px;
            border-radius: 5px;
            font-size: 20px;
            font-weight: bold;
            letter-spacing: 2px;
            user-select: none; /* Prevent selection */
        }

        .captcha-input {
            flex: 1;
        }

        .reload-captcha {
            font-size: 12px;
            color: #007bff;
            cursor: pointer;
            text-decoration: underline;
        }

        .form-submit-btn {
            display: block;
            width: 150px;
            padding: 12px;
            background-color: #ffc107;
            color: #333;
            border: none;
            border-radius: 5px;
            font-size: 16px;
            font-weight: bold;
            cursor: pointer;
            margin: 30px auto 0;
            transition: background-color 0.3s ease;
        }

        .form-submit-btn:hover {
            background-color: #e0a800;
        }

        /* Responsive adjustments */
        @media (max-width: 768px) {
            .container {
                flex-direction: column;
            }
            .product-image, .product-details {
                padding: 15px;
            }
            .form-group {
                flex: 1 1 100%; /* Single column for forms on smaller screens */
            }
            .captcha-group {
                flex-direction: column;
                align-items: flex-start;
            }
        }



/* //////////Product Realed//////// */



.Collection {
    width: 95%; /* Adjusted width for better mobile padding */
    background-color: #fff;
    display: flex;
    justify-content: flex-start; /* Align to start */
    align-items: flex-start; /* Align to start */
    border-radius: 5px; /* Added border-radius for consistency */
    padding-left: 60px;
}

.Collection h3 {
    padding: 15px 20px;
    background-color: #f0f0f0;
    border-top: 3px solid #ffe604;
    border-radius: 5px 5px 0 0;
    font-weight: 500;
    display: flex;
    align-items: center; /* Align icon and text vertically */
    font-size: 1.1em; /* Adjusted font size */
    color: #333; /* Darker text for readability */
}

.Collection h3 i {
    margin-right: 8px;
    color: #555; /* Icon color */
}

.related-container {
    width: 100%; /* Max width for larger screens */
    margin: 0px auto; /* Center horizontally with vertical margin */
    padding: 50px; /* Top, horizontal, bottom padding */
    background-color: #f0f0f0;
    display: flex;
    flex-direction: column; /* Stack h2 and grid vertically */
    gap: 20px; /* Space between h2 and grid */
    border-radius: 8px; /* Rounded corners for the container */
}

.related-container h2 {
    font-size: 27px;
    padding: 20px 0;
    font-weight: 500;
    position: relative;
}

.related-container h2::before {
    content: "";
    position: absolute;
    bottom: 10px; /* adjust as needed */
    left: 0;
    width: 130px; /* underline ki length */
    height: 2px;  /* underline ki thickness */
    background-color: #ffc107; /* underline ka color */
}

.product-grid-section {
    flex-grow: 1;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); /* More flexible grid for various sizes */
    gap: 20px;
    /* margin-top: 50px; removed, managed by parent gap */
    padding-bottom: 20px; /* Add some padding at the bottom of the grid */
}

.product-card {
    background-color: #fff; /* White background for each card */
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
    height: 250px; 
    display: block; /* Ensure <a> behaves as a block */
    text-decoration: none; /* Remove underline from links */
    color: inherit; /* Inherit text color */
}

.product-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.2); /* More prominent shadow on hover */
    transform: translateY(-5px); /* Lift effect on hover */
}

.product-card img {
    width: 100%;
    height: 100%; /* Set a default height for product images */
    object-fit: contain; /* Ensures images cover the area without distortion */
    display: block;
}

.product-card .overlay-text {
    position: absolute;
    top: 0;
    left: 0;
    width: auto; /* Changed from fit-content for better padding control */
    background-color: rgba(0, 0, 0, 0.7); /* Slightly darker overlay */
    color: #fff;
    padding: 8px 12px; /* Increased padding */
    font-size: 0.85em; /* Adjusted font size */
    font-weight: bold;
    text-align: center;
    box-sizing: border-box;
    text-transform: uppercase;
    letter-spacing: 0.5px; /* A little letter spacing */
    border-radius: 8px 0 8px 0; /* Rounded top-left and bottom-right */
}

/* Responsive Media Queries */

/* For screens smaller than 1024px (Tablets and larger phones) */
@media (max-width: 1024px) {
    .Collection {
        width: 90%;
    }
    .related-container {
        padding: 0px 15px 40px; /* Adjust horizontal padding */
        margin: 20px auto;
    }
    .product-grid-section {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); /* Allow 2 or 3 columns */
    }
    .product-card{
        height: 240px;
    }
    .product-card img {
        height: 240px; /* Slightly reduce image height */
    }
    .related-container h2 {
        font-size: 1.8em;
    }
}


/* For screens smaller than 768px (most tablets in portrait, large phones) */
@media (max-width: 768px) {
    .Collection {
        width: 95%;
        margin: 15px auto;
        padding: 0px;
    }
    .Collection h3 {
        font-size: 1em;
        padding: 12px 15px;
    }

    .related-container {
        padding: 0px 15px 30px; /* Reduced vertical padding */
        margin: 15px auto;
    }

    .related-container h2 {
        font-size: 1.6em; /* Smaller heading */
        padding: 25px 0 15px 0;
    }
    .related-container h2::before {
        width: 80px; /* Shorter underline */
        bottom: 8px;
    }

    .product-grid-section {
        grid-template-columns: repeat(auto-fill, minmax(180px, 2fr)); /* Typically 2 columns */
        gap: 15px; /* Smaller gap */
    }

    .product-card{
        height: 240px;
    }

    .product-card img {
        height: 240px; /* Further reduce image height */
    }

    .product-card .overlay-text {
        font-size: 0.8em;
        padding: 6px 10px;
    }
}

/* For screens smaller than 600px (most phones) */
@media (max-width: 600px) {
    .Collection {
        width: 100%; /* Full width for the collection bar */
        margin: 10px 0; /* Adjust margin for full width */
        border-radius: 0; /* Remove border-radius for full width */
    }
    .Collection h3 {
        width: 100%; /* Ensure h3 takes full width within collection */
        justify-content: center; /* Center the text and icon */
        border-radius: 0; /* Remove border-radius */
    }

    .related-container {
        padding: 0px 10px 20px; /* Minimal padding on sides */
        margin: 10px auto;
        border-radius: 0; /* Remove border-radius for full width feel */
    }

    .related-container h2 {
        font-size: 1.4em; /* Even smaller heading */
        padding: 20px 0 10px 0;
    }
    .related-container h2::before {
        width: 60px; /* Even shorter underline */
        bottom: 5px;
        height: 2px;
    }

    .product-grid-section {
        gap: 15px; /* Consistent gap */
        padding-bottom: 10px; /* Reduce bottom padding */
    }

    .product-card {
        box-shadow: 0 1px 3px rgba(0,0,0,0.1); /* Lighter shadow */
        border-radius: 4px;
    }
    .product-card:hover {
        transform: none; /* No lift effect on very small screens */
        box-shadow: 0 2px 6px rgba(0,0,0,0.15); /* Keep a slight hover shadow */
    }

    .product-card img {
        height: 240px; /* Smallest image height for compact view */
    }

    .product-card .overlay-text {
        font-size: 0.75em;
        padding: 5px 8px;
    }
}

/* For very small screens (e.g., iPhone SE) */
@media (max-width: 400px) {
    .Collection h3 {
        font-size: 0.9em;
        padding: 10px 10px;
    }
    .related-container h2 {
        font-size: 1.2em;
    }
    .product-card img {
        height: 240px; /* Minimal image height */
    }
    .product-card .overlay-text {
        font-size: 0.7em;
        padding: 4px 6px;
    }
}

.quality{
    font-weight: 600;
    margin-top: 10px;
    margin-bottom: 5px;
}