#container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
}

.image-gallery {
    flex: 1 1 60%;
    display: flex;
    flex-direction: column;
}

.main-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
}

.thumbnail-row {
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

.thumbnail {
    width: 24%;
    height: auto;
    border-radius: 5px;
    cursor: pointer;
    object-fit: cover;
}

.details-section {
    flex: 1 1 35%;
    /* background-color: white; */
    padding: 20px;
    border-radius: 8px;
    color: rgb(255, 255, 255);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

h1 {
    font-size: 24px;
    margin-bottom: 15px;
}

p {
    font-size: 18px;
    margin-bottom: 10px;
}

.share {
    margin-top: 15px;
}

.share span {
    font-weight: bold;
    margin-right: 10px;
}

.share a {
    text-decoration: none;
    color: #ffffff;
}

.actions {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.whatsapp-button {
    color: white;
    background-color: #ffffff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}

.favorite-button,
.download-button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
}

.favorite-button {
    background-color: #FF9800;
    color: white;
}

.download-button {
    background-color: #03A9F4;
    color: white;
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .thumbnail-row {
        flex-wrap: wrap;
    }

    .thumbnail {
        width: 48%;
    }
}

@media (max-width: 500px) {
    h1 {
        font-size: 20px;
    }

    p {
        font-size: 16px;
    }

    .whatsapp-button, .favorite-button, .download-button {
        padding: 8px 15px;
        font-size: 14px;
    }
}


/* image section */
/* Inspection Section */
.inspection-section {
    margin-top: 40px;
    width: 80%; /* Section width reduced */
    margin: 0 auto; /* Center alignment */
}

.inspection-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap; /* Allow wrapping of content for smaller screens */
}

.inspection-text {
    flex: 1;
    margin-right: 15px;
}

.inspection-text h2 {
    color: #333;
    font-size: 18px;
    margin-bottom: 5px;
}

.inspection-text h1 {
    color: red;
    font-size: 28px;
    margin-bottom: 10px;
}

.inspection-text p {
    font-size: 16px;
    margin-bottom: 15px;
    color: black;
}

.inspection-condition {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.inspection-condition img {
    max-width: 300px; /* Adjust size */
    height: auto;
}

.condition-rating {
    background-color: #002D62;
    color: white;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 22px;
    position: absolute;
    right: -30px;
    top: 20px;
}

.condition-rating span {
    font-size: 12px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .inspection-banner {
        flex-direction: column; /* Stack the content vertically */
        align-items: center;
        text-align: center;
    }

    .inspection-text {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .condition-rating {
        position: static; /* Remove absolute positioning */
        margin-top: 10px;
    }

    .inspection-condition img {
        max-width: 80%; /* Reduce image size on smaller screens */
    }

    .inspection-text h1 {
        font-size: 24px; /* Smaller font size for mobile */
    }

    .inspection-text h2, .inspection-text p {
        font-size: 14px; /* Adjust font size for better readability */
    }
}

@media (max-width: 576px) {
    .inspection-banner {
        padding: 15px;
    }

    .condition-rating {
        width: 60px;
        height: 60px;
        font-size: 18px;
    }

    .inspection-text h1 {
        font-size: 22px;
    }

    .inspection-text h2, .inspection-text p {
        font-size: 12px;
    }
}

/* Shipping Section */
.shipping-section {
    background-color: #f5f5f5;
    padding: 8px; /* Padding ko thoda kam kiya */
    border-radius: 5px;
    max-width: 1200px; /* Max width ko adjust kiya */
    margin: 0 auto; /* Center alignment */
    color: black;
}

.shipping-section h2 {
    background-color: red;
    color: black;
    padding: 6px; /* Heading padding ko reduce kiya */
    text-align: center;
    font-size: 18px; /* Font size thoda chota kiya */
    margin-bottom: 18px; /* Margin thoda kam kiya */
}

.shipping-section form {
    display: flex;
    flex-direction: column;
}

.shipping-section label {
    margin-bottom: 4px; /* Label ke niche margin thoda kam kiya */
    font-size: 14px;
}

.shipping-section select,
.shipping-section input[type="text"] {
    padding: 9px; /* Input fields ki padding ko thoda kam kiya */
    margin-bottom: 12px; /* Margin ko thoda reduce kiya */
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

.options {
    display: flex;
    gap: 12px; /* Gap ko thoda reduce kiya */
    margin-bottom: 12px; /* Margin thoda kam kiya */
}

.options label {
    font-size: 14px;
}

.total-price p {
    font-size: 15px; /* Font size thoda chota kiya */
    font-weight: bold;
}

@media (max-width: 768px) {
    .shipping-section {
        padding: 6px; /* Mobile view mein padding ko kam kiya */
        max-width: 100%; /* Mobile mein full width dikhane ke liye */
    }
}


.section-title {
    color: #f1f1f1;
    font-weight: bold;
    border-bottom: 1px solid #f1f1f1;
    padding-bottom: 10px;
    text-align: center;
    margin-bottom: 20px;
}

.feature-list, .spec-list {
    padding: 0;
}

.feature-item, .spec-item {
    color: #d3d3d3;
    padding: 8px 12px;
    font-size: 1em;
    border-bottom: 1px solid #333;
}

.feature-item.checked::before {
    content: "✔";
    color: #ff0000;
    margin-right: 10px;
    font-weight: bold;
}

.spec-item span {
    color: #f1f1f1;
    font-weight: bold;
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.2em;
    }

    .feature-item, .spec-item {
        font-size: 0.9em;
    }
}

/* last card section */
.icon-box {
    background-color: #f0f0f0;
    padding: 20px;
    border-radius: 10px;
    
    margin: 10px 0;
}

.icon-box i {
    font-size: 40px;
    color: #ff0000;
    margin-bottom: 10px;
}

.icon-box h4 {
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
}

.icon-box p {
    font-size: 16px;
    color: #666;
}

/* Responsive styling for small screens */
@media (max-width: 768px) {
    .icon-box {
        margin-bottom: 20px;
    }
}