body {
    background: white;
}

.border6 {
    border: 1.5px solid transparent;
    padding: 7px 6px;
}

.border6:hover {
    border: 1.8px solid white;
    border-radius: 2px;
}

.breadcrum {
    padding: 10px 20px;
    font-size: 12px;
    color: #565656;
}

.product-display {
    min-height: 100%;
    padding: 10px 20px;
    display: flex;
}

.product-d-image {
    display: flex;
    gap: 10px;
    cursor: pointer;

}

.product-main-image {
    margin-left: 30px;
    margin-right: 20px;
    cursor: pointer;
}

.product-main-image :hover {
    border: 1.5px solid gray;
    border-radius: 10px;
    margin-top: 5px;
    margin-bottom: 5px;
    cursor: pointer;
}

.product-main-image {
    font-size: 24px;
    font-weight: bold;
    color: #ff9900;
}

.product-main-image:hover {
    transform: rotateY(0deg);
    animation: rotate3D 8s infinite linear;
}

@keyframes rotate3D {
    0% {
        transform: rotateY(0deg);
    }

    100% {
        transform: rotateY(360deg);
    }
}

.product-icons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-icons :hover {
    border: 2px solid #007185;
}

.product-icons img {
    border: 2px solid gray;
    border-radius: 10px;
    padding: 5px;

}

.product-d-deatils {
    margin: 0 30px;
}

.product-title {
    font-size: 25px;
    font-family: Georgia, 'Times New Roman', Times, serif;
}

.brand-store {
    margin-top: 5px;
    color: #007185;
    font-size: 14px;
}

.product-rating {

    flex-direction: column;
    gap: 10px;
}

.product-rating div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.u1 {
    margin-top: 5px;
    margin-bottom: 10px;
}

.u1 span {
    color: black;
    font-size: 0.8rem;
}

.u1 p {
    color: #007185;

}

.product-rating p span {
    color: #fff;
    background: red;
    padding: 2px 5px;
    border-radius: 3px;
    font-size: 14px;
}

.product-rating p {
    color: #007185;
}

.product-rating h5 {
    font-size: 0.7;
    margin-top: 10px;
    color: black;
    margin-bottom: 10px;

}

.product-price {
    margin-top: 5px;
}

.product-price b {
    color: black;
}

.product-price h6 {
    color: red;
    padding: 2px 4px;
    border-radius: 3px;
    font-size: 26px;
}

.product-price h5,
a {
    margin-bottom: 5px;
}

.product-price p {
    background: white;
    color: black;
    margin-bottom: 5px;
    margin-top: 5px;
    font-family: Georgia, 'Times New Roman', Times, serif;
}

.product-price div {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
}

.product-price h2 span {
    font-size: 26px;
    font-weight: 500;
}

.product-price h2 {
    font-size: 14px;
    font-weight: 500;
}

.product-color-selection {
    margin: 15px 0;
}

.product-color-options {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.option {
    align-items: center;
    padding: 8px 12px;
    border: 1px solid black;
    border-radius: 3px;
    gap: 5px;

    cursor: pointer;
}

.option:hover {
    animation: option 0.8s ease;
    border: 1px solid blue;
}

@keyframes option {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.4);
    }
}

.option p {
    margin-top: 4px;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: 0.9rem;
}

.product-info {
    display: grid;
    grid-template-columns: auto auto;
    max-width: 300px;
    margin-bottom: 15px;
}

.about {
    margin-top: 5px;
    font-family: Georgia, 'Times New Roman', Times, serif;

}

.about b {
    font-size: 1.5rem;
    color: black;
}

.text {
    margin-top: 3px;
    margin-left: 10px;
    padding: 5px;
}

.product-d-purchase {
    width: 100%;
    max-width: 260px;
    border-radius: 10px;
    border: 1px solid gray;
    padding: 20px;
    margin-left: 8px;
}

.product-d-purchase .title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-d-purchase .price {
    font-size: 16px;
    font-weight: 400;
    margin: 10px 0;
}

.product-d-purchase .price span {
    font-size: 26px;
    padding: 2px;
}

.product-d-purchase .gap {
    margin: 15px 0;
}

.product-d-purchase span {
    color: #007185;
    cursor: pointer;
}

.product-quantity {
    padding: 8px 5px;
    outline: none;
    width: 100%;
    border-radius: 5px;
    background: #efefef;
    border-color: white;
}

.location p {
    color: #007185;
    cursor: pointer;
}

.product-d-purchase .btn {
    outline: none;
    border: none;
    width: 100%;
    background: yellow;
    padding: 10px 0;
    border-radius: 50px;
    margin-top: 10px;
    cursor: pointer;
}

.product-stock option {
    background-color: transparent;
}



.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(198, 212, 8, 0.5);

}

.product-d-purchase .by {
    outline: none;
    border: none;
    width: 100%;
    background: #e4890a;
    padding: 10px 0;
    border-radius: 50px;
    margin-top: 10px;
    cursor: pointer;
}

.by:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(159, 127, 22, 0.5);
}

.product {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 14px;
    margin-top: 9px;
}

.item {
    display: grid;
    grid-template-columns: 120px auto;
    /* p fixed width, span flexible */
    gap: 10px;
    align-items: center;
}

.item p {
    margin: 0;
    font-size: 0.8rem;
}

.item span {
    margin: 0;
}

.more-items {
    display: none;
}

#seeMore {
    margin-top: 5px;
    font-size: 12px;
    color: blue;
    cursor: pointer;
}

.product-d-purchase hr {
    margin: 20px 0;
}

.add-list {
    width: 100%;
    padding: 8px 15px;
    border-radius: 5px;
    border: 1px solid gray;
    cursor: pointer;
    text-align: start;
    background: white;
}

/* --- Media Query for Tablet and Mobile Devices (Max Width: 1024px) --- */
@media screen and (max-width: 1024px) {

    /* 1. Main Layout: Stacking Columns Vertically */
    .product-display {
        flex-direction: column;
        padding: 10px;
        gap: 20px;
    }

    /* Purchase Box (.product-d-purchase) - Goes to the TOP on mobile */
    .product-d-purchase {
        width: 100%;
        max-width: 100%;
        margin: 0;
        order: 0;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    /* Details Section (.product-d-details) - Full Width */
    .product-d-details {
        width: 100%;
        padding: 0 5px;
        margin: -1;
        border-right: none;
        /* साइड में दिखने वाली लाइन हटा दें */
        order: 0;
    }


    /* 2. Image Section Adjustments (Thumbnails + Main Image) */
    .product-d-image {
        width: 100%;
        justify-content: center;
        gap: 10px;
    }

    .product-icons {
        width: 15%;
        gap: 5px;
    }

    .product-main-image {
        width: 80%;
        margin: 0;
        padding: 5px;
        border: none;
    }

    /* 3. Text and Components Refinement */

    /* Product Title */
    .product-title {
        font-size: 1.4rem;
        /* टाइटल थोड़ा छोटा करें */
        font-weight: 500;
        margin-bottom: 8px;
    }

    /* Product Price Display */
    .product-d-details .product-price h2 span {
        font-size: 2rem;
        /* मुख्य मूल्य का साइज़ ठीक रखें */
    }

    /* Color Options - Align to left and stack nicely */
    .product-color-options {
        justify-content: flex-start;
        gap: 8px;
    }

    .option {
        width: 55px;
        /* ऑप्शन बॉक्स का साइज़ एडजस्ट करें */
        padding: 3px;
    }

    .option p {
        font-size: 0.65rem;
    }

    /* About This Item */
    .about b {
        font-size: 1.2rem;
    }

    .text p {
        font-size: 0.85rem;
    }
}

/* --- Specific Adjustments for Small Mobile Screens (Max Width: 600px) --- */
@media screen and (max-width: 600px) {

    .product-d-image {
        flex-direction: column;
        /* मुख्य इमेज और थंबनेल को ऊपर-नीचे स्टैक करें */
        align-items: center;
    }

    .product-main-image {
        width: 90%;
        /* मुख्य इमेज को और बड़ी जगह दें */
        order: -1;
        /* इसे थंबनेल से ऊपर लाएँ */
    }

    .product-icons {
        width: 90%;
        /* थंबनेल को पूरी चौड़ाई पर हॉरिजॉन्टल (horizontal) दिखने दें */
        flex-direction: row;
        flex-wrap: wrap;
        /* अगर ज़्यादा थंबनेल हों तो उन्हें रैप करें */
        justify-content: center;
        margin-top: 10px;
    }

    .product-icons img {
        width: 50px;
        /* थंबनेल का साइज़ फिक्स करें */
        height: 50px;
    }
}