   body {
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }

        .product {
            display: flex;
            flex-direction: column;
            align-items: center;
            margin-bottom: 50px;
        }

        .product-image-slider, .similar-product-item .product-image-slider {
            width: 100%;
            max-width: 800px;
            overflow: hidden;
            position: relative;
        }

        .slides {
            display: flex;
            transition: transform 0.5s ease-in-out;
        }

        .slides img {
            width: 100%;
            border-radius: 10px;
            flex-shrink: 0;
        }

        .product-description {
            margin-top: 20px;
            text-align: center;
        }

        .buy-now {
            display: inline-block;
            margin-top: 40px;
            padding: 10px 20px;
            background-color: #3b5998;
            color: white;
            text-decoration: none;
            border-radius: 10px;
        }

        .similar-products {
            text-align: center;
        }

        .similar-products h2 {
            margin-bottom: 30px;
        }

        .similar-product {
            display: flex;
            justify-content: space-around;
            flex-wrap: wrap;
        }

        .similar-product-item {
            width: 30%;
            margin-bottom: 20px;
            position: relative;
        }

        .similar-product-item img {
            width: 100%;
            border-radius: 10px;
        }

        .similar-product-item .buy-now {
            position: absolute;
            bottom: 10px;
            left: 50%;
            transform: translateX(-50%);
            padding: 5px 10px;
            font-size: 14px;
        }

        .slider-controls {
            position: absolute;
            top: 50%;
            width: 100%;
            display: flex;
            justify-content: space-between;
            transform: translateY(-50%);
            pointer-events: none;
        }

        .slider-controls button {
            background-color: rgba(0, 0, 0, 0.5);
            color: white;
            border: none;
            padding: 10px;
            cursor: pointer;
            pointer-events: all;
            border-radius: 50%;
        }

        @media screen and (max-width: 768px) {
            .product {
                margin-bottom: 30px;
            }

            .similar-product-item {
                width: 45%;
                margin-bottom: 20px;
            }
        }

        @media screen and (max-width: 480px) {
            .similar-product-item {
                width: 100%;
                margin-bottom: 20px;
            }
        }
    

        /* Style for the text container */
        .text-container {
            overflow: hidden; /* Hides overflowing content */
            max-height: 3.2em; /* Adjust height to show only two lines */
            line-height: 1.6em; /* Matches the line height */
            transition: max-height 0.3s ease-out; /* Smooth transition for expand/collapse */
            position: relative;
        }

        /* Read more button */
        .read-more-btn {
            background-color: #007bff; /* Blue background */
            color: white; /* White text */
            border: none; /* No border */
            padding: 5px 10px; /* Some padding */
            text-align: center; /* Center text */
            text-decoration: none; /* No underline */
            display: inline-block; /* Makes it like a button */
            font-size: 14px; /* Font size */
            margin-top: 10px; /* Space above the button */
            cursor: pointer; /* Pointer cursor on hover */
            border-radius: 10px;
        }

        .text-left {
            text-align: left;
            margin-left: 0; /* Ensures no indent or additional margin */
            line-height: 1.6; /* Adds space between lines for better readability */
        }


