/* Oturma Grubu Page Styles */

/* Product List Section */
.product-list {
    max-width: 100%;
    margin: 0;
    padding: 0;
}

/* Product Item */
.product-item {
    display: grid;
    grid-template-columns: 50% 50%;
    gap: 0;
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.product-item:last-child {
    border-bottom: none;
}

/* Alternate layout for even items */
.product-item:nth-child(even) {
    direction: rtl;
}

.product-item:nth-child(even)>* {
    direction: ltr;
}

/* Product Images - Swiper Container */
.product-images {
    position: relative;
    overflow: hidden;
    background-color: #000000;
}

.product-images .swiper {
    width: 100%;
    height: auto;
    padding-bottom: 60px;
}

.product-images .swiper-slide img {
    width: calc(100% - 120px);
    margin: 0 auto;
    height: 560px;
    object-fit: contain;
    display: block;
    background-color: #000;
}

/* Swiper Navigation */
.product-images .swiper-button-next,
.product-images .swiper-button-prev {
    color: #ffffff;
    background: rgba(0, 0, 0, 0.5);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    transition: all 0.3s ease;
    top: calc(50% - 30px);
}

.product-images .swiper-button-prev {
    left: 8px;
}

.product-images .swiper-button-next {
    right: 8px;
}

.product-images .swiper-button-next:hover,
.product-images .swiper-button-prev:hover {
    background: rgba(139, 115, 85, 0.9);
}

.product-images .swiper-button-next::after,
.product-images .swiper-button-prev::after {
    font-size: 18px;
    font-weight: 600;
}

/* Swiper Pagination */
.product-images .swiper-pagination {
    bottom: 10px;
}

.product-images .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    transition: all 0.3s ease;
}

.product-images .swiper-pagination-bullet-active {
    background: #8b7355;
    transform: scale(1.2);
}

/* Product Details */
.product-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem 4rem;
    background-color: #000000;
}

.product-details h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.product-description {
    font-size: 0.95rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    font-weight: 400;
}

/* Product Specs */
.product-specs {
    margin-bottom: 1rem;
}

.spec-group {
    margin-bottom: 1.5rem;
}

.spec-group h4 {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.5rem;
}

.spec-group p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-weight: 400;
    line-height: 1.8;
}

.spec-group .dimensions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.spec-group .dimension-item {
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    border-left: 3px solid #8b7355;
}

.spec-group .dimension-item strong {
    color: #8b7355;
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
}

.spec-group .dimension-item span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 992px) {
    .product-item {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .product-item:nth-child(even) {
        direction: ltr;
    }

    .product-images .swiper-slide img {
        width: calc(100% - 80px);
        height: 400px;
    }

    .product-details {
        padding: 2rem;
    }
}

@media (max-width: 576px) {
    .product-list {
        padding: 0;
    }

    .product-images .swiper-slide img {
        width: calc(100% - 60px);
        height: 300px;
    }

    .product-details {
        padding: 1.5rem;
    }

    .product-details h2 {
        font-size: 1.4rem;
    }

    .product-images .swiper-button-next,
    .product-images .swiper-button-prev {
        width: 32px;
        height: 32px;
        top: calc(50% - 30px);
    }

    .product-images .swiper-button-prev {
        left: 4px;
    }

    .product-images .swiper-button-next {
        right: 4px;
    }

    .product-images .swiper-button-next::after,
    .product-images .swiper-button-prev::after {
        font-size: 14px;
    }
}