.btn-back {
    display: inline-flex;
    align-items: center;
    padding: 8px 15px;
    background-color: #f8f9fa;
    border-radius: 4px;
    color: #333;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-back:hover {
    background-color: #e9ecef;
    color: #000;
}

.btn-back i {
    margin-right: 8px;
}

.product-detail-container {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
    padding: 20px;
    margin-bottom: 40px;
}

.product-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.product-main-image {
    width: 100%;
    cursor: zoom-in;
    transition: transform 0.3s ease;
}

.product-main-image:hover {
    transform: scale(1.05);
}

.product-info-container {
    padding: 15px;
}

.product-title {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.product-price-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.old-price {
    font-size: 1.2rem;
    color: #999;
    text-decoration: line-through;
    margin-right: 15px;
}

.current-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2ab1ad;
    margin-right: 15px;
}

.discount-badge {
    background-color: #ff6b6b;
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
}

.detail-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.detail-list {
    list-style: none;
    padding-left: 0;
}

.detail-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    color: #444;
}

.detail-list i {
    color: #2ab1ad;
    margin-right: 10px;
}

.collection-section {
    margin-top: 20px;
    margin-bottom: 25px;
}

.collection-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

@media (max-width: 768px) {
    .collection-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .collection-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

.collection-item {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.collection-item:hover {
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.12);
}

.collection-item:hover img {
    transform: scale(1.1);
}

.collection-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.collection-info {
    padding: 10px 12px;
}

.collection-info h5 {
    font-size: 0.8rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 5px;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.collection-price {
    font-size: 0.8rem;
    font-weight: 600;
    color: #000;
}

.whatsapp-order-container {
    margin-top: 30px;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #25D366;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.4);
    color: white;
}

.btn-whatsapp i {
    font-size: 1.3rem;
    margin-right: 10px;
}

.action-buttons {
    margin-top: 20px;
    margin-bottom: 25px;
}


.product-description {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #555;
}

.related-products-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.related-product-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.related-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.related-product-info {
    padding: 10px 15px;
}

.related-product-info h5 {
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 5px;
}

.related-product-price {
    font-size: 0.95rem;
    font-weight: 600;
    color: #2ab1ad;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1050;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    transition: all 0.3s ease;
}

.modal-content {
    display: block;
    position: relative;
    margin: auto;
    max-width: 90%;
    max-height: 90vh;
    top: 50%;
    transform: translateY(-50%);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1060;
    transition: 0.3s;
}

.close-modal:hover,
.close-modal:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

@media (max-width: 767px) {
    .product-title {
        font-size: 1.5rem;
    }

    .current-price {
        font-size: 1.5rem;
    }

    .old-price {
        font-size: 1.1rem;
    }

    .btn-whatsapp {
        width: 100%;
    }
}