/* ==============================================
   SukodCreative Product Detail - Main Styles
   Author: Özer Köse (Sukod Creative)
   URL: www.sukod.com
   ============================================== */

/* Container & Layout */
.sukod-product-detail-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.sukod-product-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0px;
    margin-bottom: 40px;
}

/* Product Image Section */
.sukod-product-image {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sukod-main-image-wrapper {
    width: 100%;
    position: relative;
}

.sukod-main-image {
    width: 100%;
    height: 450px;
    background: #f8f9fa;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    border: 1px solid #e9ecef;
}

.sukod-main-image a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sukod-main-image img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.sukod-main-image img:hover {
    transform: scale(1.05);
}

.sukod-image-counter {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

/* Thumbnails */
.sukod-thumbnails-wrapper {
    width: 100%;
    overflow: hidden;
}

.sukod-thumbnails {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 5px;
    scrollbar-width: thin;
    scrollbar-color: #dee2e6 #f8f9fa;
}

.sukod-thumbnails::-webkit-scrollbar {
    height: 6px;
}

.sukod-thumbnails::-webkit-scrollbar-track {
    background: #f8f9fa;
    border-radius: 3px;
}

.sukod-thumbnails::-webkit-scrollbar-thumb {
    background: #dee2e6;
    border-radius: 3px;
}

.sukod-thumbnail {
    min-width: 80px;
    width: 80px;
    height: 80px;
    background: #fff;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    transition: all 0.3s ease;
}

.sukod-thumbnail:hover {
    border-color: #adb5bd;
    transform: translateY(-2px);
}

.sukod-thumbnail.active {
    border-color: #0077be;
    box-shadow: 0 0 0 2px rgba(0, 119, 190, 0.1);
}

.sukod-thumbnail img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Product Info Section */
.sukod-product-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.sukod-product-title {
    font-size: 32px;
    font-weight: 700;
    color: #212529;
    margin: 0;
    padding-bottom: 15px;
    position: relative;
}

.sukod-product-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: #e32526;
    border-radius: 2px;
}

.sukod-section-title {
    font-size: 18px;
    font-weight: 600;
    color: #212529;
    margin: 0 0 0px 0;
}

/* Short Info */
.sukod-short-info-section {
    width: 100%;
}

.sukod-short-info {
    background: #f8f9fa;
    padding: 15px 20px;
    border-left: 4px solid #e32526;
    border-radius: 4px;
    color: #495057;
    font-size: 15px;
    line-height: 1.6;
}

/* Documents Section */
.sukod-documents-section {
    width: 100%;
}

.sukod-documents-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.sukod-document {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 20px;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.sukod-document:hover {
    background: #f8f9fa;
    border-color: #dee2e6;
    transform: translateX(5px);
}

.sukod-doc-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #E9ECEF;
    border-radius: 8px;
    color: #e32526;
    flex-shrink: 0;
}

.sukod-doc-icon svg {
    width: 30px;
    height: 30px;
}

.sukod-doc-content {
    flex: 1;
}

.sukod-doc-content h4 {
 font-size: 16px;
  font-weight: 700;
  color: #212529;
  margin: 0 0 -5px 0;
}

.sukod-doc-content p {
    font-size: 13px;
    color: #6c757d;
    margin: 0;
}

.sukod-doc-download {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    flex-shrink: 0;
}

.sukod-doc-download svg {
    width: 25px;
    height: 25px;
}

/* Tabs Section */
.sukod-tabs-section {
    width: 100%;
    margin-top: 30px;
}

.sukod-tabs-nav {
    display: flex;
    gap: 5px;
    border-bottom: 2px solid #e9ecef;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.sukod-tab {
    padding: 12px 24px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 15px;
    font-weight: 600;
    color: #6c757d;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    bottom: -2px;
}

.sukod-tab:hover {
    color: #212529;
    background: #f8f9fa;
}

.sukod-tab.active {
    color: #212529;
    border-bottom-color: #e32526;
}

.sukod-tabs-content {
    padding: 20px 0;
}

.sukod-tab-pane {
    display: none;
    animation: fadeIn 0.3s ease;
}

.sukod-tab-pane.active {
    display: block;
}

.sukod-tab-pane ul {
    padding-left: 20px;
    line-height: 1.8;
}

.sukod-tab-pane li {
    margin-bottom: 8px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Related Products */
.sukod-related-products {
    width: 100%;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid #e9ecef;
}

.sukod-related-title {
    font-size: 28px;
    font-weight: 700;
    color: #212529;
    margin: 0 0 30px 0;
    text-align: center;
}

.sukod-related-slider-wrapper {
    position: relative;
    padding: 0 60px;
}

.sukod-related-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.sukod-related-item {
    background: #f8f9fa;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.sukod-related-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.sukod-related-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.sukod-related-image {
    width: 100%;
    height: 220px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 20px;
}

.sukod-related-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.sukod-related-overlay {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: #e32526;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sukod-related-item:hover .sukod-related-overlay {
    opacity: 1;
}

.sukod-related-overlay svg {
    width: 24px;
    height: 24px;
}

.sukod-related-content {
    padding: 20px;
}

.sukod-related-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: #212529;
    margin: 0 0 10px 0;
}

.sukod-related-content p {
    font-size: 14px;
    color: #6c757d;
    margin: 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sukod-related-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: #e32526;
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.sukod-related-arrow:hover {
    background: #c41f20;
    transform: translateY(-50%) scale(1.1);
}

.sukod-related-arrow svg {
    width: 24px;
    height: 24px;
}

.sukod-related-prev {
    left: 0;
}

.sukod-related-next {
    right: 0;
}

/* ============================================
   TABLET RESPONSIVE (768px - 1024px)
   ============================================ */
@media (max-width: 1024px) and (min-width: 768px) {
    .sukod-product-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .sukod-product-image {
        max-width: 100%;
        margin: 0 auto;
    }

    .sukod-main-image {
        height: 400px;
    }

    .sukod-product-title {
        font-size: 28px;
    }

    .sukod-related-slider {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .sukod-related-slider-wrapper {
        padding: 0;
    }

    .sukod-related-arrow {
        display: none;
    }
}

/* ============================================
   MOBILE RESPONSIVE (< 768px)
   ============================================ */
@media (max-width: 767px) {
    .sukod-product-detail-wrapper {
        padding: 15px;
    }

    .sukod-product-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .sukod-product-image {
        width: 100%;
    }

    .sukod-main-image {
        height: 300px;
    }

    .sukod-thumbnail {
        min-width: 70px;
        width: 70px;
        height: 70px;
    }

    .sukod-product-title {
        font-size: 24px;
        padding-bottom: 12px;
    }

    .sukod-product-title::after {
        width: 50px;
        height: 3px;
    }

    .sukod-section-title {
        font-size: 16px;
    }

    .sukod-short-info {
        padding: 12px 15px;
        font-size: 14px;
    }

    .sukod-document {
        padding: 15px;
    }

    .sukod-doc-icon {
        width: 35px;
        height: 35px;
    }

    .sukod-doc-icon svg {
        width: 20px;
        height: 20px;
    }

    .sukod-doc-content h4 {
        font-size: 14px;
    }

    .sukod-doc-content p {
        font-size: 12px;
    }

    .sukod-tabs-nav {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .sukod-tab {
        padding: 10px 18px;
        font-size: 14px;
        white-space: nowrap;
    }

    .sukod-tabs-content {
        padding: 15px 0;
    }

    .sukod-related-title {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .sukod-related-slider {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .sukod-related-slider-wrapper {
        padding: 0;
    }

    .sukod-related-arrow {
        display: none;
    }

    .sukod-related-image {
        height: 200px;
    }

    .sukod-related-content h3 {
        font-size: 16px;
    }

    .sukod-related-content p {
        font-size: 13px;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .sukod-main-image {
        height: 250px;
    }

    .sukod-product-title {
        font-size: 20px;
    }

    .sukod-documents-grid {
        gap: 10px;
    }

    .sukod-related-image {
        height: 180px;
    }
}
