/* CSS dla bloku wybierak - subtelny, minimalistyczny design */
.wybierak {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.fs-sm{
    font-size: 10px !important;
}

.wybierak .product-tabs {
    display: flex;
    justify-content: end;
    margin-bottom: 40px;
    gap: 0;
    border-bottom: 1px solid #f0f0f0;
}

.short-description p {
    font-size: 12px;
}


.accordion .accordion-content {
    padding: 10px 0;
    font-size: 12px !important;
    font-weight: normal !important;
}


.wybierak .tab-button {
    background: none;
    border: none;
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 1px;
    padding: 15px 30px;
    cursor: pointer;
    color: #cccccc;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    border-radius: 0px !important;
    text-transform: uppercase;
}

.wybierak .tab-button.active {
    color: #333333;
    border-bottom: 2px solid #333333;
}

.wybierak .tab-button:hover {
    color: #666666;
}

.wybierak .product-panel {
    display: none;
}

.wybierak .product-panel.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.wybierak .product-content {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

/* Grid obrazków - główna sekcja */
.image-grid {
    position: relative;
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr 1fr;
    width: 100%;
    height: 500px;
    gap: 8px;
    overflow: hidden;
}

.left-big {
    grid-row: span 2;
    width: 100%;
    height: 100%;
}

.right-top,
.right-bottom {
    width: 100%;
    height: 100%;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
    border-radius: 2px;
}

/* Informacje o produkcie */
.wybierak .product-info {
    flex: 1;
    padding-left: 40px;
}

.wybierak .product-info h2 {
    font-size: 13px !important;
    font-weight: 400;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
    color: #333
}

.wybierak .product-price {
    font-size: 14px !important;
    font-weight: 500;
    margin-bottom: 20px;
    color: #333;
} 

/* Galeria wariantów - bardzo subtelna */
.variant-gallery {
    margin: 30px 0;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.variant-item {
    width: 60px;
    height: 120px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 0px solid transparent;
     overflow: hidden;
}

.variant-item:hover {
    border-color: #ddd;
    transform: translateY(-1px);
}

.variant-item.active {
    border-color: #333;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.variant-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Przycisk produktu - subtelny */
.product-stock-button {
    margin: 25px 0;
}

.product-stock-button a,
.product-stock-button button {
    background: transparent;
    border: 1px solid #333;
    color: #333;
    padding: 12px 24px;
    font-size: 12px !important;
    font-weight: 300;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.product-stock-button a:hover {
    background: #333;
    color: #fff;
}

.product-stock-button button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Opis produktu */
.short-description {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 30px;
}

/* Akordeon - bardzo subtelny */
.accordion {
    border-top: 1px solid #f0f0f0;
    padding-top: 20px;
}

.accordion-item {
    border: none !important;
    margin-bottom: 15px;
}

.accordion-toggle {
    background: none;
    border: none;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #333;
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.accordion-toggle:hover {
    color: #666;
}

.accordion-toggle::after {
    content: "+";
    font-size: 16px;
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-toggle::after {
    transform: rotate(45deg);
}

.accordion-content {
    display: none;
    padding: 15px 0;
    font-size: 13px;
    line-height: 1.6;
    color: #666;
}

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

.accordion-content ul {
    list-style: none;
    padding: 0 !important;
    margin: 0;
}

.accordion-content ul li {
    padding: 3px 0;
    position: relative;
    padding-left: 20px;
}

.accordion-content ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #333;
    font-size: 12px;
}

/* Efekt powiększenia przy hover */
.image-grid.zoom-active {
    position: relative;
}

.image-grid.zoom-active::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--zoom-img);
    background-size: cover;
    background-position: center;
    z-index: 10;
    border-radius: 2px;
}

.image-grid.zoom-active img {
    opacity: 0;
}

/* Animacje */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
    .wybierak .product-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .wybierak .product-info {
        padding-left: 0;
    }
    
    .image-grid {
        height: 400px;
    }
    
    .wybierak .product-tabs {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .wybierak .tab-button {
        padding: 12px 20px;
        font-size: 12px;
    }
}

/* Ukrywanie niepotrzebnych elementów WooCommerce */
.single-product .quantity{
    display: none !important;
}
table.variations{
    display: none !important;
}
.product_meta{
    display: none !important;
}
