﻿.product-page {
    background: #f8fafc;
    min-height: 100vh
}

.product-breadcrumb {
    background: #fff;
    padding: 15px 0;
    border-bottom: 1px solid #e2e8f0
}

    .product-breadcrumb .container {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: .9rem;
        flex-wrap: wrap
    }

    .product-breadcrumb a {
        color: #64748b;
        text-decoration: none
    }

        .product-breadcrumb a:hover {
            color: #0ea5e9
        }

    .product-breadcrumb .sep {
        font-size: .65rem;
        color: #cbd5e1
    }

    .product-breadcrumb span {
        color: #0f172a;
        font-weight: 600
    }

.product-main {
    padding: 40px 0;
    margin-top: 20px
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start
}

.product-gallery {
    position: sticky;
    top: 140px
}

.gallery-badges {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
    flex-wrap: wrap
}

.badge-cat {
    background: linear-gradient(135deg,#0ea5e9,#6366f1);
    color: #fff;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase
}

.badge-rc2 {
    background: linear-gradient(135deg,#f59e0b,#d97706);
    color: #fff;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: .72rem;
    font-weight: 700
}

.badge-fingerprint {
    background: linear-gradient(135deg,#22c55e,#16a34a);
    color: #fff;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: .72rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px
}

.gallery-img-wrap {
    position: relative;
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,.08);
    aspect-ratio: 4/5;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: zoom-in;
    overflow: hidden
}

    .gallery-img-wrap img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain
    }

.zoom-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    background: #fff;
    border: none;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,.1);
    cursor: pointer;
    transition: .3s
}

    .zoom-btn:hover {
        background: #0ea5e9;
        color: #fff;
        transform: scale(1.1)
    }

.product-info {
    background: #fff;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 4px 20px rgba(0,0,0,.08)
}

.info-cat {
    color: #0ea5e9;
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px
}

.info-name {
    font-size: 1.8rem;
    font-weight: 800;
    color: #0f172a;
    margin: 8px 0 12px;
    line-height: 1.2
}

.info-desc {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 15px
}

.info-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px
}

.stars {
    color: #f59e0b
}

    .stars i {
        font-size: .85rem
    }

.rating-text {
    color: #64748b;
    font-size: .85rem
}

.price-box {
    background: linear-gradient(135deg,rgba(14,165,233,.05),rgba(99,102,241,.05));
    border: 1px solid rgba(14,165,233,.1);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 25px
}

.price-main-row {
    display: flex;
    align-items: baseline;
    gap: 8px
}

.price-ab {
    color: #64748b;
    font-size: .9rem
}

.price-value {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0ea5e9
}

.price-unit {
    color: #64748b;
    font-size: .9rem
}

.price-brutto {
    color: #64748b;
    font-size: .9rem;
    margin-top: 5px
}

.price-shipping {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #22c55e;
    font-weight: 500;
    font-size: .9rem;
    margin-top: 12px
}

.konfigurator {
    margin-top: 20px
}

.config-row {
    margin-bottom: 22px
}

.config-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px
}

    .config-label span {
        font-weight: 600;
        color: #0f172a
    }

    .config-label strong {
        color: #0ea5e9;
        font-size: .95rem
    }

.konfigurator input[type="range"] {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: #e2e8f0;
    outline: none;
    -webkit-appearance: none
}

    .konfigurator input[type="range"]::-webkit-slider-thumb {
        -webkit-appearance: none;
        width: 22px;
        height: 22px;
        border-radius: 50%;
        background: linear-gradient(135deg,#0ea5e9,#6366f1);
        cursor: pointer;
        box-shadow: 0 2px 6px rgba(14,165,233,.4)
    }

.range-minmax {
    display: flex;
    justify-content: space-between;
    font-size: .8rem;
    color: #94a3b8;
    margin-top: 6px
}

.din-btns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px
}

.din-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px;
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    transition: .3s;
    font-size: .85rem;
    font-weight: 600;
    color: #64748b
}

    .din-btn:hover {
        border-color: #0ea5e9
    }

    .din-btn.active {
        border-color: #0ea5e9;
        background: rgba(14,165,233,.05);
        color: #0ea5e9
    }

    .din-btn svg {
        width: 40px;
        height: 55px;
        color: #94a3b8
    }

    .din-btn.active svg {
        color: #0ea5e9
    }

.price-summary {
    background: #f8fafc;
    border-radius: 12px;
    padding: 18px;
    margin: 25px 0
}

.summary-total {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a
}

.summary-brutto {
    display: flex;
    justify-content: space-between;
    font-size: .85rem;
    color: #64748b;
    padding-top: 8px;
    border-top: 1px solid #e2e8f0;
    margin-top: 8px
}

.buy-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg,#0ea5e9,#6366f1);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: .3s
}

    .buy-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 30px rgba(14,165,233,.3)
    }

    .buy-btn:disabled {
        opacity: .7;
        cursor: not-allowed;
        transform: none
    }

.secondary-btns {
    display: flex;
    gap: 10px;
    margin-top: 15px
}

.sec-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    color: #64748b;
    font-size: .85rem;
    cursor: pointer;
    text-decoration: none;
    transition: .3s
}

    .sec-btn:hover {
        background: #fff;
        border-color: #0ea5e9;
        color: #0ea5e9
    }

.trust-row {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 10px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    background: #f8fafc;
    border-radius: 8px;
    font-size: .8rem;
    color: #64748b
}

    .trust-item i {
        color: #0ea5e9
    }

.tabs-section {
    padding: 60px 0;
    background: #fff
}

.tabs-nav {
    display: flex;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 30px;
    overflow-x: auto
}

.tab-btn {
    padding: 15px 25px;
    background: none;
    border: none;
    font-size: .95rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    position: relative;
    white-space: nowrap
}

    .tab-btn:hover {
        color: #0ea5e9
    }

    .tab-btn.active {
        color: #0ea5e9
    }

        .tab-btn.active::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(135deg,#0ea5e9,#6366f1);
            border-radius: 3px 3px 0 0
        }

.tab-pane {
    display: none
}

    .tab-pane.active {
        display: block
    }

    .tab-pane h2, .tab-pane h3 {
        font-size: 1.4rem;
        color: #0f172a;
        margin-bottom: 20px
    }

    .tab-pane h4 {
        font-size: 1.1rem;
        color: #0f172a;
        margin: 25px 0 15px
    }

    .tab-pane p {
        color: #64748b;
        line-height: 1.7;
        margin-bottom: 15px
    }

    .tab-pane ul {
        padding-left: 0;
        list-style: none
    }

        .tab-pane ul li {
            padding: 8px 0;
            padding-left: 28px;
            position: relative;
            color: #334155
        }

            .tab-pane ul li::before {
                content: '✓';
                position: absolute;
                left: 0;
                color: #22c55e;
                font-weight: bold
            }

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px;
    margin-top: 25px
}

.highlight-card {
    text-align: center;
    padding: 25px;
    background: #f8fafc;
    border-radius: 15px
}

    .highlight-card i {
        font-size: 2rem;
        color: #0ea5e9;
        margin-bottom: 12px
    }

    .highlight-card h4 {
        color: #0f172a;
        margin-bottom: 6px
    }

    .highlight-card p {
        color: #64748b;
        font-size: .9rem;
        margin: 0
    }

.specs-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px
}

    .specs-grid table {
        width: 100%;
        background: #f8fafc;
        border-radius: 12px;
        overflow: hidden;
        border-collapse: collapse
    }

    .specs-grid th {
        background: linear-gradient(135deg,#0ea5e9,#6366f1);
        color: #fff;
        padding: 12px 15px;
        text-align: left;
        font-size: .9rem
    }

    .specs-grid td {
        padding: 10px 15px;
        border-bottom: 1px solid #e2e8f0;
        font-size: .9rem
    }

        .specs-grid td:first-child {
            color: #64748b
        }

        .specs-grid td:last-child {
            color: #0f172a;
            font-weight: 500;
            text-align: right
        }

    .specs-grid tr:last-child td {
        border-bottom: none
    }

.check-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    list-style: none;
    padding: 0
}

    .check-list li {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 12px 15px;
        background: #f8fafc;
        border-radius: 10px;
        font-size: .9rem;
        color: #334155
    }

        .check-list li::before {
            display: none
        }

    .check-list i {
        color: #22c55e
    }

.ship-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 20px
}

.ship-card {
    text-align: center;
    padding: 25px;
    background: #f8fafc;
    border-radius: 15px
}

    .ship-card i {
        font-size: 2rem;
        color: #0ea5e9;
        margin-bottom: 12px
    }

    .ship-card h4 {
        color: #0f172a;
        margin-bottom: 6px
    }

    .ship-card p {
        color: #64748b;
        font-size: .9rem;
        margin: 0
    }

.related-section {
    padding: 60px 0;
    background: #f8fafc
}

    .related-section h2 {
        font-size: 1.6rem;
        color: #0f172a;
        margin-bottom: 30px
    }

.related-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 25px
}

.related-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
    transition: .3s
}

    .related-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(0,0,0,.1)
    }

.related-img {
    height: 200px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px
}

    .related-img img {
        max-height: 160px;
        max-width: 100%;
        object-fit: contain
    }

.related-body {
    padding: 20px
}

    .related-body span {
        color: #0ea5e9;
        font-size: .75rem;
        font-weight: 700;
        text-transform: uppercase
    }

    .related-body h3 {
        color: #0f172a;
        font-size: 1.1rem;
        margin: 6px 0 10px
    }

    .related-body p {
        color: #64748b;
        font-size: .9rem;
        margin: 0
    }

    .related-body strong {
        color: #0ea5e9;
        font-size: 1.1rem
    }

.cta-bar {
    background: linear-gradient(135deg,#0ea5e9,#6366f1);
    padding: 40px 0
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px
}

    .cta-content h3 {
        color: #fff;
        font-size: 1.4rem;
        margin: 0
    }

    .cta-content p {
        color: rgba(255,255,255,.85);
        margin: 0
    }

.cta-tel {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: #0ea5e9;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
    transition: .3s
}

    .cta-tel:hover {
        transform: scale(1.05);
        box-shadow: 0 10px 30px rgba(0,0,0,.2)
    }

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: .3s
}

    .lightbox.active {
        opacity: 1;
        visibility: visible
    }

    .lightbox img {
        max-width: 90%;
        max-height: 90%;
        object-fit: contain
    }

.lb-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,.1);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer
}

    .lb-close:hover {
        background: rgba(255,255,255,.2)
    }

.share-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: .3s
}

    .share-modal.active {
        opacity: 1;
        visibility: visible
    }

.share-box {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    width: 90%;
    max-width: 320px;
    position: relative
}

.share-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    background: #f1f5f9;
    border: none;
    border-radius: 50%;
    cursor: pointer
}

.share-box h3 {
    margin-bottom: 20px;
    color: #0f172a
}

.share-box a, .share-box button {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    margin-bottom: 10px;
    color: #334155;
    text-decoration: none;
    cursor: pointer;
    width: 100%;
    font-size: 1rem
}

    .share-box a:hover, .share-box button:hover {
        background: #f1f5f9;
        border-color: #0ea5e9
    }

.share-box i {
    font-size: 1.2rem;
    width: 24px
}

@media(max-width:1024px) {
    .product-grid {
        grid-template-columns: 1fr;
        gap: 30px
    }

    .product-gallery {
        position: static
    }

    .gallery-img-wrap {
        max-width: 500px;
        margin: 0 auto
    }

    .highlight-grid, .specs-grid {
        grid-template-columns: 1fr
    }

    .ship-grid {
        grid-template-columns: 1fr 1fr
    }

    .related-grid {
        grid-template-columns: 1fr 1fr
    }
}

@media(max-width:768px) {
    .product-main {
        padding: 25px 0
    }

    .product-info {
        padding: 25px
    }

    .info-name {
        font-size: 1.5rem
    }

    .price-value {
        font-size: 1.8rem
    }

    .check-list {
        grid-template-columns: 1fr
    }

    .ship-grid, .related-grid {
        grid-template-columns: 1fr
    }

    .trust-row {
        grid-template-columns: 1fr
    }

    .cta-content {
        flex-direction: column;
        text-align: center
    }
}

@media(max-width:480px) {
    .product-info {
        padding: 20px
    }

    .info-name {
        font-size: 1.3rem
    }

    .price-value {
        font-size: 1.6rem
    }

    .din-btns {
        grid-template-columns: 1fr
    }

    .secondary-btns {
        flex-wrap: wrap
    }

    .sec-btn {
        flex: 1 1 45%
    }

    .tab-btn {
        padding: 12px 15px;
        font-size: .85rem
    }
}
