/* =============== Produktová stránka - specifické styly =============== */

/* Breadcrumb */
.breadcrumb-section {
    padding: 120px 0 20px;
    background: var(--bg-dark-1);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-color-muted);
}

.breadcrumb a {
    color: var(--text-color-muted);
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.separator {
    color: var(--primary-color);
}

.current {
    color: var(--primary-color);
    font-weight: 600;
}

/* Produktový hero */
.product-hero {
    background: var(--bg-dark-1);
    min-height: 80vh;
}

.product-title-section {
    text-align: center;
    margin-bottom: 4rem;
}

.product-main-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    text-shadow: 0 0 20px var(--primary-glow);
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.title-underline {
    width: 150px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    margin: 0 auto;
    border-radius: 2px;
}

/* Hlavní produktový obsah */
.product-main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* Produktová galerie */
.product-gallery {
    position: relative;
}

.main-product-image {
    position: relative;
    background: var(--bg-dark-3);
    border-radius: var(--border-radius-lg);
    border: 2px solid var(--primary-color);
    overflow: hidden;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.2);
}

.product-img {
    width: 80%;
    height: 80%;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

.product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
}

.product-badge span {
    background: linear-gradient(135deg, var(--primary-color), #ffac00);
    color: #000;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

/* Produktový info panel */
.product-info-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    box-shadow: var(--glass-shadow);
}

.product-title {
    font-size: 2.2rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.product-price {
    margin-bottom: 2rem;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    background: var(--bg-dark-3);
    padding: 15px 25px;
    border-radius: var(--border-radius-md);
    border: 2px solid var(--primary-color);
    display: inline-block;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

/* Nákupní sekce */
.product-purchase {
    margin-bottom: 2rem;
}

.quantity-selector {
    margin-bottom: 1.5rem;
}

.quantity-selector label {
    display: block;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0;
    width: fit-content;
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
}

.qty-btn {
    background: var(--primary-color);
    color: #000;
    border: none;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.qty-btn:hover {
    background: #ffac00;
}

#quantity {
    border: none;
    background: var(--bg-dark-3);
    color: var(--text-color);
    text-align: center;
    width: 60px;
    height: 40px;
    font-size: 1.1rem;
    font-weight: 600;
}

.add-to-cart-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color), #ffac00);
    color: #000;
    border: none;
    padding: 15px;
    border-radius: var(--border-radius-sm);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.3);
}

.add-to-cart-btn:hover {
    background: linear-gradient(135deg, #ffac00, var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

/* Produktové funkce */
.product-features {
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.feature-item i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* Benefits grid */
.benefits-section {
    background: var(--bg-dark-2);
}

.benefits-header {
    text-align: center;
    margin-bottom: 3rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.benefit-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    transition: 0.5s;
}

.benefit-card:hover::before {
    left: 100%;
}

.benefit-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #ffac00);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #000;
    font-size: 2rem;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.benefit-card h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.benefit-card p {
    color: var(--text-color-muted);
    line-height: 1.6;
}

/* Taby sekce */
.product-tabs-section {
    background: var(--bg-dark-1);
}

.tabs-container {
    max-width: 800px;
    margin: 0 auto;
}

.tab-headers {
    display: flex;
    border-bottom: 2px solid var(--primary-color);
    margin-bottom: 2rem;
}

.tab-btn {
    flex: 1;
    background: var(--bg-dark-3);
    color: var(--text-color);
    border: none;
    padding: 15px 20px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border-top: 3px solid transparent;
}

.tab-btn.active {
    background: var(--primary-color);
    color: #000;
    border-top-color: #ffac00;
}

.tab-btn:hover:not(.active) {
    background: var(--bg-dark-2);
    color: var(--primary-color);
}

.tab-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--glass-border);
    overflow: hidden;
    margin-bottom: 1rem;
    display: none;
}

.tab-panel.active {
    display: block;
}

.tab-header {
    background: var(--primary-color);
    color: #000;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
}

.tab-body {
    padding: 25px;
    color: var(--text-color);
    line-height: 1.7;
}

.tab-body strong {
    color: var(--primary-color);
}

/* Nutrition Table */
.nutrition-table {
    background: var(--bg-dark-3);
    border-radius: var(--border-radius-md);
    padding: 20px;
    border: 1px solid var(--primary-color);
}

.nutrition-table h4 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.nutrition-table table {
    width: 100%;
    border-collapse: collapse;
}

.nutrition-table td {
    padding: 8px 12px;
    border-bottom: 1px solid var(--glass-border);
}

.nutrition-table td:first-child {
    color: var(--text-color-muted);
}

.nutrition-table td:last-child {
    color: var(--primary-color);
    font-weight: 600;
    text-align: right;
}

/* Popis produktu */
.product-description {
    background: var(--bg-dark-2);
}

.description-content {
    max-width: 900px;
    margin: 0 auto;
}

.description-block {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    margin-bottom: 2rem;
}

.description-block h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.description-block p {
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.benefits-list .benefit-item {
    background: var(--bg-dark-3);
    padding: 15px;
    border-radius: var(--border-radius-sm);
    margin-bottom: 1rem;
    border-left: 4px solid var(--primary-color);
}

.benefits-list .benefit-item strong {
    color: var(--primary-color);
}

.product-advantages {
    list-style: none;
    padding: 0;
}

.product-advantages li {
    background: var(--bg-dark-3);
    padding: 15px;
    border-radius: var(--border-radius-sm);
    margin-bottom: 1rem;
    border-left: 4px solid var(--primary-color);
    position: relative;
    padding-left: 45px;
}

.product-advantages li::before {
    content: '✓';
    position: absolute;
    left: 15px;
    top: 15px;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.2rem;
}

/* FAQ sekce */
.faq-section {
    background: var(--bg-dark-1);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-md);
    border: 1px solid var(--glass-border);
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: var(--bg-dark-3);
    color: var(--text-color);
    border: none;
    padding: 20px;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
}

.faq-question:hover {
    background: var(--primary-color);
    color: #000;
}

.faq-question i {
    transition: transform 0.3s;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 200px;
}

.faq-answer p {
    color: var(--text-color-muted);
    line-height: 1.6;
    margin: 0;
}

/* Související produkty */
.related-products {
    background: var(--bg-dark-2);
}

.related-products .products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.related-products .product-card {
    background: var(--bg-dark-3);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: all 0.3s;
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.related-products .product-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.related-products .product-image {
    height: 200px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.related-products .product-image img {
    width: 80%;
    height: 80%;
    object-fit: contain;
}

.related-products .product-info {
    padding: 1.5rem;
}

.related-products .product-info h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.related-products .product-price span {
    color: var(--primary-color);
    font-size: 1.4rem;
    font-weight: 700;
}

.related-products .product-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color), #ffac00);
    color: #000;
    border: none;
    padding: 10px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 1rem;
}

.related-products .product-btn:hover {
    background: linear-gradient(135deg, #ffac00, var(--primary-color));
    transform: translateY(-2px);
}

/* Responzivní design */
@media (max-width: 1200px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .related-products .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .product-main-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .product-main-title {
        font-size: 2.5rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .related-products .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .product-main-title {
        font-size: 2rem;
    }
    
    .product-info-panel {
        padding: 1.5rem;
    }
    
    .price-amount {
        font-size: 2rem;
    }
    
    .tab-headers {
        flex-direction: column;
    }
    
    .tab-btn {
        border-top: none;
        border-left: 3px solid transparent;
    }
    
    .tab-btn.active {
        border-left-color: #ffac00;
    }
    
    .description-block {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .related-products .products-grid {
        grid-template-columns: 1fr;
    }
    
    .breadcrumb {
        font-size: 0.8rem;
        flex-wrap: wrap;
    }
    
    .benefit-card {
        padding: 1.5rem;
    }
    
    .benefit-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}


