.breadcrumbs {
    font-size: 1em;
    font-weight: 700;
    margin-bottom: 10px;
    margin-left: 20px;
    margin-top: 15px;
}

.breadcrumbs a {
    color: #A5A5A5;
    text-decoration: none;
}

.product-container {
    position: relative;
    max-width: 95%;
    height: auto;
    margin: 20px auto;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex;
    padding: 20px;
    border-radius: 7.5px;
}

.product-images {
    display: flex;
    flex-direction: column;
}

.hero-image-container {
    text-align: center;
    overflow: hidden; 
}

.hero-image {
    width: 650px; /* Original layout */
    max-width: 100%; /* Allow responsiveness */
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease-in-out; 
}

.secondary-images {
    align-self: center;
}

.secondary-images img {
    width: 125px;
    height: auto;
    padding-inline: 20px;
}

.thumbnail {
    cursor: pointer;
    transition: transform 0.3s;
}

.thumbnail:hover {
    transform: scale(1.05);
}

.product-details {
    flex-basis: 50%;
    padding-left: 20px;
}

h1 {
    font-size: 1.75em;
    font-weight: 900;
    color: #333;
}

.ratings {
    margin-bottom: 10px;
}

.ratings a {
    color: #040505;
    text-decoration: none;
    font-size: 1em;
    margin-left: 10px;
    font-weight: 700;
}

.star {
    color: #FF0000;
    font-size: 1.5em;
    margin: 0 2px;
}

.description {
    font-size: 1em;
    font-weight: 800;
    line-height: 1.5; /* Adjusted for readability */
    margin-bottom: 20px;
}

.price {
    display: flex;
    flex-direction: column;
    font-size: 1.25em;
    font-weight: 700;
    margin-top: 10px;
    margin-bottom: 20px;
}

.original-price {
    text-decoration: line-through;
    color: #777;
}

.sale-price {
    color: #E00707;
    font-weight: 900;
}

.price-container {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.price-tag {
    font-size: 2em;
    font-weight: 900;
    color: #E00707;
    margin-left: 20px; 
    margin-bottom: 5px;
}

button {
    background-color: #151515;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: 800;
    border-radius: 7.5px;
    outline: none;
    transition: ease 0.3s;
    margin-bottom: 15px;
    width: 175px;
    height: 60px;
}

button:hover {
    background-color: #A5A5A5;
}

.specs {
    margin-top: 10px;
    display: grid;
    grid-template-columns: 1fr 1fr; /* Original layout */
    gap: 10px;
}

.features-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: contents;
}

.features-list li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-weight: 600;
}

.features-list li::before {
    content: "•"; 
    color: red; 
    font-size: 1.5em; 
    margin-right: 10px; 
}

.related-product-container {
    max-width: 90%;
    margin: 20px auto;
    padding: 20px;
}

.related-product-container h1 {
    text-align: left;
    font-weight: 900;
    color: #E00707;
    margin: 0 0 20px 0;
    padding-bottom: 20px;
}

.cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.card {
    position: relative;
    display: flex;
    flex-direction: column; 
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: calc(33.333% - 80px);
    height: 500px;
    box-sizing: border-box;
    text-align: center;
    padding: 20px;
}

.card-content-wrapper {
    position: absolute;
    bottom: 20px; 
    left: 20px;   
    right: 20px;  
    text-align: center;
    margin-bottom: 10px;
}

.product-image {
    max-width: 90%;
    border-radius: 10px 10px 0 0;
}

.cards .wishlist-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    cursor: pointer;
}

.stock-status {
    display: block;
    color: #7D7D7D;
    font-size: 0.9em;
    font-weight: 900;
    text-align: left;
    padding-left: 15px;
}

.product-name {
    font-size: 1.5em;
    font-weight: 900;
    margin: 10px 0;
    color: #191919;
}

.rating {
    display: flex;
    justify-content: center;
    margin: 10px 0;
}

.star {
    color: #FF0000;
    font-size: 1.5em;
    margin: 0 2px;
}

.price {
    font-size: 1.5em;
    font-weight: 900;
    color: #191919;
    margin: 15px 0;
}

.card button {
    background-color: #000000;
    width: 150px;
    height: 50px;
    color: #FFFFFF;
    border: none;
    padding: 10px 20px;
    border-radius: 7.5px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s;
    font-weight: 800;
}

.card button:hover {
    background-color: #333333;
}

/* Responsive Media Queries */
@media (max-width: 768px) {
    .product-container {
        flex-direction: column; /* Stack layout */
    }

    .hero-image {
        width: 100%; /* Full width on smaller screens */
        height: auto; /* Adjust height */
    }

    .product-details {
        padding-left: 0; /* Remove padding */
    }

    .specs {
        grid-template-columns: 1fr; /* Stack specs on small screens */
    }

    .card {
        width: calc(50% - 20px); /* Two cards in a row */
    }
}

@media (max-width: 480px) {
    .card {
        width: calc(100% - 20px); /* Full width on extra small screens */
    }
}
