/* Product Detail Page Styles */
.product-detail-main {
    min-height: 100vh;
    padding: 30px 0;
    background-color: #F5F3EB;
}

.product-detail-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Breadcrumb Navigation */
.breadcrumb {
    margin-bottom: 20px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    color: #666;
}

.breadcrumb a {
    color: #00545E;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #00313B;
    text-decoration: underline;
}

.breadcrumb .separator {
    margin: 0 10px;
    color: #999;
}

.breadcrumb .current {
    font-weight: 600;
    color: #00313B;
}

/* Main Content Layout */
.product-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Product Images Section */
.product-images {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.main-image {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.main-image img:hover {
    transform: scale(1.05);
}

.image-thumbnails {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 10px 0;
    position: relative;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 1;
    user-select: none;
}

.thumbnail:hover,
.thumbnail.active {
    opacity: 1;
    border-color: #B7B981;
    transform: scale(1.05);
    z-index: 2;
}

.thumbnail:focus {
    outline: 2px solid #00545E;
    outline-offset: 2px;
}

/* Product Information Section */
.product-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-name {
    font-family: Arial, sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: #00313B;
    margin: 0 0 10px 0;
    line-height: 1.2;
}

/* Price Section */
.product-price-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    margin-bottom: 25px;
}

.price-row {
    display: flex;
    align-items: baseline;
    gap: 20px;
}

.original-price {
    font-size: 1.5rem;
    color: #999;
    text-decoration: line-through;
    font-weight: 400;
    line-height: 1.2;
    margin-right: 10px;
}

.current-price {
    font-size: 3rem;
    font-weight: 700;
    color: #B7B981; 
    line-height: 1.1;
}

/* Description */
.product-description h3 {
    font-family: Arial, sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #00313B;
    margin: 0 0 15px 0;
}

.product-detail-content .description-content {
    font-family: Arial, sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.3rem;
    line-height: 1.7;
    color: #666;
    margin-bottom: 25px;
}

/* Bold and italic text styling */
.product-detail-content .description-content b {
    font-family: Arial, sans-serif;
    font-weight: 700;
    font-style: normal;
}

.product-detail-content .description-content i {
    font-family: Arial, sans-serif;
    font-weight: 400;
    font-style: italic;
}

/* Product Details Simple */
.product-details-simple {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.detail-row {
    display: flex;
    gap: 16px;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 2px solid #F5F3EB;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 600;
    color: #00313B;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.detail-value {
    font-weight: 700;
    color: #00545E;
    font-size: 1.4rem;
}

/* Ingredients */
.product-ingredients h3 {
    font-family: Arial, sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #00313B;
    margin: 0 0 15px 0;
}

.ingredients-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.ingredients-list li {
    padding: 10px 0;
    border-bottom: 1px solid #B7B981;
    font-family: Arial, sans-serif;
    color: #666;
    font-size: 1.2rem;
    line-height: 1.5;
}

.ingredients-list li:last-child {
    border-bottom: none;
}

.ingredients-list li:before {
    content: "•";
    color: #B7B981;
    font-weight: bold;
    display: inline-block;
    width: 1.5em;
    margin-right: 15px;
    font-size: 1.4rem;
}

/* Tags */
.product-tags h3 {
    font-family: Arial, sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #00313B;
    margin: 0 0 15px 0;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tag {
    background: #00545E;
    color: white;
    padding: 10px 16px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Action Buttons */
.product-actions {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.btn-commander {
    padding: 20px 50px;
    border: none;
    border-radius: 12px;
    font-family: Arial, sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    background: #00545E;
    color: white;
    box-shadow: 0 6px 20px rgba(0, 84, 94, 0.2);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    min-width: 250px;
}

.btn-commander:hover {
    background: #00313B;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 84, 94, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .product-detail-content {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 20px;
    }

    .product-name {
        font-size: 2.2rem;
        margin: 0 0 15px 0;
        line-height: 1.2;
    }

    .price-row {
        gap: 15px;
        flex-wrap: wrap;
    }

    .original-price {
        font-size: 1.2rem;
    }

    .current-price {
        font-size: 2.2rem;
    }

    .description-content {
        font-size: 1.1rem;
        margin-bottom: 20px;
        line-height: 1.6;
    }

    .product-details-simple {
        gap: 12px;
        margin-bottom: 20px;
    }

    .detail-row {
        padding-bottom: 10px;
    }

    .detail-label {
        font-size: 1rem;
    }

    .detail-value {
        font-size: 1.3rem;
    }

    .ingredients-list li {
        font-size: 1.1rem;
        padding: 8px 0;
    }

    .btn-commander {
        width: 100%;
        max-width: 350px;
        font-size: 1.3rem;
        padding: 18px 35px;
    }

    .image-thumbnails {
        justify-content: center;
    }

    .thumbnail {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    .product-detail-container {
        padding: 0 15px;
    }

    .product-name {
        font-size: 2.2rem;
        margin: 0 0 6px 0;
    }

    .price-row {
        gap: 12px;
    }

    .original-price {
        font-size: 1.2rem;
    }

    .current-price {
        font-size: 2.2rem;
    }

    .description-content {
        font-size: 1.1rem;
        margin-bottom: 18px;
    }

    .btn-commander {
        font-size: 1.2rem;
        padding: 16px 30px;
        letter-spacing: 0.8px;
    }

    .product-details-simple {
        gap: 10px;
        margin-bottom: 18px;
    }

    .detail-label {
        font-size: 0.95rem;
    }

    .detail-value {
        font-size: 1.2rem;
    }

    .ingredients-list li {
        font-size: 1rem;
        padding: 7px 0;
    }

    .tag {
        font-size: 1rem;
        padding: 8px 14px;
    }
}
