.ecommerce-application .grid-view .ecommerce-card .item-img{
    padding-top: 0px;
}

.product-detail-page {
    padding: 2rem 0;
}

.product-title-main {
    font-size: 1.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #2a2e3f;
    margin-bottom: 0;
}

.product-image-section {
    position: relative;
}

.product-main-image-wrapper {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 0.428rem;
    background: #e8e8e8;
    min-height: 600px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.product-main-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    padding: 2rem;
    display: block;
    transition: transform 0.3s ease;
}

.product-main-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 0.428rem;
}

.product-main-image-wrapper:hover .product-main-image-overlay {
    opacity: 1;
}

.product-main-image-wrapper:hover .product-main-image {
    transform: scale(1.05);
}

.product-main-image-overlay-icon {
    width: 48px;
    height: 48px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.product-main-image-wrapper:hover .product-main-image-overlay-icon {
    transform: scale(1);
}

.product-main-image-overlay-icon i {
    width: 24px;
    height: 24px;
    stroke-width: 2.5;
}

.product-thumbnails {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-left: 1rem;
    height: 100%;
    min-height: 600px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 0.5rem;
}

.product-thumbnails::-webkit-scrollbar {
    width: 6px;
}

.product-thumbnails::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.product-thumbnails::-webkit-scrollbar-thumb {
    background: #000000;
    border-radius: 3px;
}

.product-thumbnails::-webkit-scrollbar-thumb:hover {
    background: #000000;
}

.product-thumbnail {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.product-thumbnail:hover {
    border-color: #000000;
}

.product-thumbnail.active {
    border-color: #000000;
}

.product-details {
    padding: 0;
}

.product-info {
    background: #fff;
    border-radius: 0.428rem;
    padding: 1.75rem;
    margin-bottom: 1.5rem;
    border: 1px solid #d8d6de;
}

.product-info-item {
    display: flex;
    align-items: center;
    padding: 0.875rem 0;
    border-bottom: 1px solid #ebe9f1;
}

.product-info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.product-info-item:first-child {
    padding-top: 0;
}

.product-info-item i {
    width: 18px;
    height: 18px;
    margin-right: 1rem;
    color: #6e6b7b;
    flex-shrink: 0;
}

.product-info-item .label {
    font-weight: 500;
    margin-right: 0.75rem;
    color: #6e6b7b;
    font-size: 0.857rem;
}

.product-info-item .value {
    color: #5e5873;
    font-weight: 400;
    font-size: 0.857rem;
    flex: 1;
}

.product-info-item .value.price {
    color: #000000;
    font-weight: 600;
    font-size: 1.143rem;
}

.product-description-section {
    background: #fff;
    border-radius: 0.428rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid #d8d6de;
}

.product-description-title {
    font-size: 0.857rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #5e5873;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.product-description-content {
    line-height: 1.75;
    color: #6e6b7b;
    margin-bottom: 0;
    font-size: 0.857rem;
}

.product-description-content p {
    margin-bottom: 0.75rem;
}

.product-description-content p:last-child {
    margin-bottom: 0;
}

.product-description-content strong {
    color: #5e5873;
    font-weight: 600;
}

.product-supplements {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #ebe9f1;
}

.product-supplements ul {
    margin-bottom: 0;
    padding-left: 1.5rem;
}

.product-supplements li {
    margin-bottom: 0.5rem;
    color: #6e6b7b;
    font-size: 0.857rem;
    line-height: 1.75;
}

.product-supplements li:last-child {
    margin-bottom: 0;
}

.product-color-select {
    background: #fff;
    border-radius: 0.428rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid #d8d6de;
}

.product-color-select label {
    display: block;
    font-size: 0.857rem;
    font-weight: 500;
    color: #5e5873;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-color-select select {
    width: 100%;
    padding: 0.714rem 1rem;
    border: 1px solid #d8d6de;
    border-radius: 0.357rem;
    font-size: 0.857rem;
    background-color: #fff;
    color: #5e5873;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.product-color-select select:hover {
    border-color: #b4b7bd;
}

.product-color-select select:focus {
    border-color: #000000;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.25);
}

.product-quantity-select {
    background: #fff;
    border-radius: 0.428rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid #d8d6de;
}

.product-quantity-select label {
    display: block;
    font-size: 0.857rem;
    font-weight: 500;
    color: #5e5873;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-quantity-wrapper {
    display: flex;
    align-items: center;
}

.product-quantity-controls {
    display: flex;
    align-items: center;
    border: 1px solid #d8d6de;
    border-radius: 0.357rem;
    overflow: hidden;
    background: #fff;
}

.product-quantity-controls:hover {
    border-color: #b4b7bd;
}

.product-quantity-controls:focus-within {
    border-color: #000000;
    box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.25);
}

.product-quantity-controls button {
    width: 2.5rem;
    height: 2.5rem;
    border: none;
    background: #f8f8f8;
    color: #6e6b7b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease-in-out;
    padding: 0;
}

.product-quantity-controls button:hover {
    background: #000000;
    color: #fff;
}

.product-quantity-controls button:active {
    background: #000000;
}

.product-quantity-controls input {
    width: 3.5rem;
    height: 2.5rem;
    border: none;
    border-left: 1px solid #d8d6de;
    border-right: 1px solid #d8d6de;
    text-align: center;
    font-weight: 500;
    font-size: 0.857rem;
    color: #5e5873;
    padding: 0;
    background: transparent;
}

.product-quantity-controls input:focus {
    outline: none;
}

.product-add-to-cart {
    margin-top: 0;
}

.product-add-to-cart .btn {
    width: 100%;
    padding: 0.786rem 1.5rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background-color: #EA5455;
    border-color: #EA5455;
    border-radius: 0.357rem;
    font-size: 0.857rem;
    transition: all 0.2s ease-in-out;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.product-add-to-cart .btn:hover {
    background-color: #e42728;
    border-color: #e42728;
    box-shadow: 0 4px 12px 0 rgba(234, 84, 85, 0.4);
}

.product-add-to-cart .btn:active {
    background-color: #dc2627;
    border-color: #dc2627;
}

.product-add-to-cart .btn i {
    width: 16px;
    height: 16px;
}

.product-images-container {
    display: flex;
    gap: 1rem;
    align-items: stretch;
}

.product-details-section {
    position: sticky;
    top: 2rem;
}

@media (max-width: 991px) {
    .product-thumbnails {
        flex-direction: row;
        margin-left: 0;
        margin-top: 1rem;
    }
    
    .product-images-container {
        flex-direction: column;
    }
    
    .product-details-section {
        position: relative;
        top: 0;
    }
    
    .product-info,
    .product-description-section,
    .product-color-select,
    .product-quantity-select {
        margin-bottom: 1.25rem;
    }
}

@media (max-width: 576px) {
    .product-info-item {
        flex-wrap: wrap;
    }
    
    .product-info-item .label {
        min-width: auto;
        width: 100%;
        margin-bottom: 0.25rem;
    }
    
    .product-quantity-wrapper {
        width: 100%;
    }
    
    .product-quantity-controls {
        width: 100%;
        max-width: 200px;
    }
    
    .product-quantity-controls input {
        flex: 1;
    }
}
