/* Product Page Specific Styles */

/* Breadcrumb */
.breadcrumb {
    background: var(--light-bg);
    padding: 1rem 4rem;
    margin-top: 84px;
}

.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: var(--text-light);
}

/* Product Main Section */
.product-main {
    padding: 2rem 4rem;
    background: var(--white);
}

.product-grid {
    display: flex;
    gap: 1rem;
    max-width: 1400px;
    margin: 0 auto;
    align-items: flex-start;
}

/* Image Gallery */
.product-gallery {
    display: flex;
    gap: 1rem;
    height: fit-content;
}

.thumbnail-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex-shrink: 0;
}

.thumbnail {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    opacity: 0.6;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: var(--primary);
    opacity: 1;
    transform: scale(1.05);
}

.main-image-container {
    position: relative;
    background: var(--light-bg);
    border-radius: 15px;
    padding: 0.5rem;
    overflow: hidden;
    width: 374px;
    flex-shrink: 0;
}

.product-badge-large {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(0, 152, 121, 0.3);
}

.main-product-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    transition: var(--transition);
}

.zoom-button {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: var(--white);
    border: none;
    padding: 0.6rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.zoom-button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Product Details */
.product-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    flex: 1;
}

.product-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    color: var(--text-dark);
    line-height: 1.3;
    margin-bottom: 1rem;
    grid-column: 1 / -1;
}

.product-description {
    grid-column: 1 / 2;
}

.product-description h3 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
}

.product-description p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1rem;
}

.product-benefits {
    grid-column: 2 / 3;
    grid-row: 2 / 4;
}

.product-benefits h3 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
}

.product-benefits ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-benefits li {
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
    background: var(--light-bg);
    padding: 1rem;
    border-radius: 10px;
    transition: var(--transition);
}

.product-benefits li:hover {
    transform: translateX(3px);
    box-shadow: 0 3px 10px rgba(0, 152, 121, 0.1);
}

.benefit-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.product-benefits strong {
    color: var(--primary);
    display: block;
    margin-bottom: 0.2rem;
    font-size: 0.9rem;
}

.product-benefits p {
    color: var(--text-light);
    font-size: 1rem;
    margin: 0;
    line-height: 1.5;
}

.product-specs {
    grid-column: 1 / 2;
}

.product-specs h3 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
}

.product-specs table {
    width: 100%;
    border-collapse: collapse;
}

.product-specs td {
    padding: 0.6rem 0;
    border-bottom: 1px solid #eee;
    font-size: 0.9rem;
}

.product-specs td:first-child {
    width: 45%;
    color: var(--text-dark);
}

.product-specs td:last-child {
    color: var(--text-light);
}

/* CTA Section */
.cta-section {
    grid-column: 1 / 2;
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-primary {
    flex: 1;
    background: var(--primary);
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 5px 20px rgba(0, 152, 121, 0.3);
}

.btn-primary:hover {
    background: var(--dark-accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 152, 121, 0.4);
}

/* Trust Badges */
.trust-badges {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 1rem;
    background: var(--light-bg);
    border-radius: 10px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: var(--text-dark);
}

.trust-icon {
    font-size: 1.1rem;
    color: var(--primary);
}

/* Product Tabs */
.product-tabs {
    background: var(--light-bg);
    padding: 3rem 4rem;
}

.tabs-header {
    display: flex;
    gap: 1rem;
    border-bottom: 2px solid #ddd;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.tab-btn {
    background: none;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
}

.tab-btn:hover {
    color: var(--primary);
}

.tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    font-weight: 600;
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s;
}

.tab-content.active {
    display: block;
}

.tab-content h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.tab-content h4 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.tab-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.tab-content ul {
    margin: 1rem 0 1rem 2rem;
}

.tab-content ul li {
    color: var(--text-light);
    margin-bottom: 0.8rem;
    line-height: 1.7;
}

/* Usage Steps */
.usage-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.usage-step {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 50px;
    margin-bottom: 1rem;
}

.usage-step h4 {
    color: var(--primary);
    margin: 1rem 0 0.5rem;
}

.warning-box {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
}

/* Ingredients */
.ingredients-list {
    display: grid;
    gap: 1.5rem;
    margin: 2rem 0;
}

.ingredient-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.ingredient-item h4 {
    color: var(--primary);
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
}

.ingredients-note {
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 2rem;
    font-weight: 500;
}

/* Reviews */
.reviews-summary {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
}

.rating-overview {
    text-align: center;
}

.rating-big {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary);
}

.stars-big {
    font-size: 2rem;
    margin: 0.5rem 0;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.review-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.review-header strong {
    color: var(--text-dark);
    font-size: 1.1rem;
}

.review-date {
    color: var(--text-light);
    font-size: 0.9rem;
}

.review-item p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.verified-badge {
    display: inline-block;
    background: #e8f5e9;
    color: #2e7d32;
    padding: 0.3rem 1rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Complementary Products */
.complementary-products {
    padding: 4rem 4rem;
    background: var(--white);
}

.products-grid-small {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.product-card-small {
    background: var(--white);
    border: 2px solid var(--light-bg);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.product-card-small:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 152, 121, 0.15);
    transform: translateY(-5px);
}

.combo-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #ff4444;
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
}

.product-card-small img {
    width: 100%;
    max-width: 200px;
    height: auto;
    margin: 0 auto 1rem;
    border-radius: 10px;
}

.product-card-small h4 {
    color: var(--text-dark);
    font-size: 1.2rem;
	font-weight: 600;
    margin-bottom: 0.5rem;
}

.product-card-small p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.price-small {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.price-combo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.price-before-small {
    font-size: 1rem;
    color: var(--text-light);
    text-decoration: line-through;
    margin-left: 0.5rem;
}

.btn-add-combo {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.btn-add-combo:hover {
    background: var(--dark-accent);
    transform: translateY(-2px);
}

/* Combo Summary */
.combo-summary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 2rem;
    border-radius: 20px;
    margin-top: 3rem;
    color: var(--white);
}

.combo-content h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

#comboItems {
    margin-bottom: 1.5rem;
}

.combo-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.combo-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    padding: 1.5rem 0;
    border-top: 2px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 1rem;
}

/* Similar Products */
.btn-secondary {
    display: inline-block;
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 0.8rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    text-align: center;
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
}

.price-section-card {
    margin: 1rem 0;
}

.price-section-card .price {
    font-size: 1.8rem;
}

/* FAQ Section */
.faq-section {
    padding: 4rem 4rem;
    background: var(--light-bg);
}

.faq-container {
    max-width: 900px;
    margin: 2rem auto 0;
}

.faq-item {
    background: var(--white);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-dark);
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--light-bg);
    color: var(--primary);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary);
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* Fixed Bottom Bar (Mobile) */
.fixed-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    z-index: 999;
}

.bottom-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.price-mobile {
    display: flex;
    flex-direction: column;
}

.price-mobile .price {
    font-size: 1.5rem;
}

.price-mobile .price-before {
    font-size: 0.9rem;
}

.btn-primary-mobile {
    background: var(--primary);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
}

/* Image Modal */
.image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    cursor: zoom-out;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.modal-close {
    position: absolute;
    top: 2rem;
    right: 3rem;
    color: #fff;
    font-size: 3rem;
    font-weight: bold;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 1024px) {
    .product-grid {
        flex-direction: column;
    }

    .product-gallery {
        flex-direction: row;
        width: 100%;
    }

    .thumbnail-container {
        flex-direction: row;
    }

    .main-image-container {
        width: 100%;
        max-width: 500px;
    }

    .product-details {
        grid-template-columns: 1fr;
    }

    .product-description,
    .product-specs,
    .product-benefits,
    .cta-section {
        grid-column: 1 / -1;
    }

    .usage-steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .breadcrumb,
    .product-main,
    .product-tabs,
    .complementary-products,
    .faq-section {
        padding: 2rem 1.5rem;
    }

    .product-gallery {
        flex-direction: column;
    }

    .thumbnail-container {
        flex-direction: row;
        order: 2;
    }

    .main-image-container {
        order: 1;
        width: 100%;
    }

    .product-title {
        font-size: 1.5rem;
    }

    .product-details {
        grid-template-columns: 1fr;
    }

    .trust-badges {
        grid-template-columns: 1fr;
    }

    .tabs-header {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .tab-btn {
        white-space: nowrap;
        padding: 1rem 1.5rem;
    }

    .fixed-bottom-bar {
        display: block;
    }

    .products-grid-small {
        grid-template-columns: 1fr;
    }
}
