﻿.description-content {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: all 0.3s ease;
    max-height: 6.5em; /* approx height of 4 lines */
    position: relative;
}

    .description-content.expanded {
        -webkit-line-clamp: unset;
        max-height: none;
        overflow: visible;
    }



/* Product Detail Container */
.productdetail-container {
    display: flex; /* Ensures side-by-side layout */
    gap: 65px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    align-items: flex-start; /* Aligns both sections at the top */
}

/* Product Images Section */
.productdetail-images {
    display: flex;
    align-items: flex-start; /* Aligns thumbnails and main image properly */
    gap: 35px;
}

/* Thumbnail Gallery (Vertical Layout) */
.thumbnail-gallery {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-right: 15px; /* Space between thumbnails and main image */
}

.thumbnail {
    width: 94px;
    height: 94px;
    cursor: pointer;
    border: 2px solid transparent;
    object-fit: cover;
    transition: border-color 0.3s ease;
}

    .thumbnail:hover,
    .thumbnail.active {
        border-color: black;
    }

/* Main Image */
.main-image img {
    width: 400px;
    height: auto;
    object-fit: cover;
}

.productdetail-info {
    flex: 1; /* Takes up remaining space */
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Aligns content properly */
}

/* Product Title */
.productdetail-name {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 10px;
}

/* Product Description */
.productdetail-description {
    font-size: 20px;
    color: #555;
    margin-bottom: 10px;
}

/* Product Price */
.productdetail-price {
    font-size: 22px;
    color: #e91e63;
    font-weight: bold;
    margin-bottom: 20px;
}

/* Attributes Section */
.productdetail-attributes {
    margin-bottom: 20px;
}

    .productdetail-attributes table {
        width: 100%;
        border-collapse: collapse;
    }

    .productdetail-attributes td {
        padding: 5px;
        border-bottom: 1px solid #ddd;
    }

/* Add to Cart Button */
.add-to-cart {
    background: black;
    color: white;
    padding: 12px 20px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    margin-bottom: 10px;
    transition: background 0.3s ease;
}

    .add-to-cart:hover {
        background: #444;
    }

/* Review Button */
.write-review-btn {
    color: blue;
    text-decoration: underline;
    font-size: 14px;
    cursor: pointer;
}


/* Product Action (Quantity + Button) */
.productdetail-action {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

/* Quantity Selector */
.quantity-selector {
    display: flex;
    align-items: center;
    border: 2px solid #ddd;
    border-radius: 30px;
    padding: 5px 10px;
}

    .quantity-selector button {
        background: none;
        border: none;
        font-size: 18px;
        cursor: pointer;
        color: #777;
    }

    .quantity-selector span {
        font-size: 18px;
        font-weight: bold;
        margin: 0 10px;
    }

/* Add to Bag Button */
.add-to-cart {
    background: black;
    color: white;
    padding: 12px 25px;
    font-size: 16px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 7px;
}

    .add-to-cart:hover {
        background: #444;
    }

btn-black-os {
    background-color: #e5b0b0;
    text-transform: uppercase;
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 30px;
    flex: auto;
}

.btn-black-os:hover {
    background-color: #e5b0b0;
    color: white;
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #e5b0b0;
}

.btn-black-os:focus {
    background-color: #e5b0b0;
    color: red;
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #e5b0b0;
    outline: none;
}
#zoomFrame {
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    background-color: white;
    pointer-events: none; 
}
.zoomfr1 {
    display: none;
    position: absolute;
    width: 600px;
    height: 400px;
    border: 1px solid #ccc;
    overflow: hidden;
    z-index: 1000;
}
.zoomfrm2 {
    position: absolute;
}
.product-detail-warp {
    white-space: pre-wrap;
}
.img-thumbnail {
    padding: .25rem;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: .25rem;
    max-width: 40%;
    height: auto;
}
.selected-image {
    border: 2px solid black !important;
}

