/* Single Product 2026 Renewal Style (AEO & Sticky Optimized) */
@charset "utf-8";

/* Reset & Base */
.single-product-wrap * {
    box-sizing: border-box;
}

.single-product-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px 20px;
    /* Increased top padding */
    font-family: 'Noto Sans KR', sans-serif;
    color: #333;
}

/* Layout: Flex Container */
.product-container {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    /* Important for Sticky */
    gap: 40px;
    margin-bottom: 60px;
}

/* Left Column: Gallery & Details (60%) */
.product-left {
    flex: 1 1 60%;
    min-width: 0;
    /* Flex overflow fix */
}

/* Right Column: Sticky Info (40%) */
.product-right {
    flex: 0 0 35%;
    max-width: 35%;
    position: sticky;
    top: 100px;
    /* Adjust based on header height */
    background: #fff;
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 8px;
    z-index: 10;
}

/* Product Gallery */
.product-gallery {
    margin-bottom: 40px;
}

.main-image {
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
    border: 1px solid #eee;
}

/* Slick Slide Item (Zoom Container) */
.main-image-slider .slide-item {
    position: relative;
    overflow: hidden;
    cursor: zoom-in;
    width: 100%;
    display: block;
    /* Important for correct height calculation */
}

.main-image-slider .slide-item img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.2s ease-out;
    /* Smooth zoom handling */
    transform-origin: center center;
    will-change: transform;
}

/* Mobile: Disable zoom effect interactions */
@media (max-width: 991px) {
    .main-image-slider .slide-item {
        cursor: default;
    }
}

.thumbnails {
    display: block;
    /* Slick Slider overrides flex */
    margin-top: 10px;
    padding: 0 35px;
    /* Space for arrows */
    position: relative;
}

.thumb-item {
    /* width is controlled by slick */
    aspect-ratio: 1 / 1;
    border: 1px solid #ddd;
    cursor: pointer;
    overflow: hidden;
    margin: 0 5px;
    /* Gap between slides */
    position: relative;
}

.ratio-box {
    width: 100%;
    height: 100%;
    position: relative;
}

.thumb-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.thumb-item:hover img,
.thumb-item.slick-current img {
    /* slick-current class */
    opacity: 1;
}

/* Slick Custom Arrows (CSS Only) */
.slick-arrow.slick-prev,
.slick-arrow.slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background: rgba(0, 0, 0, 0.3);
    border: none;
    border-radius: 50%;
    z-index: 10;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.slick-arrow.slick-prev:hover,
.slick-arrow.slick-next:hover {
    background: rgba(0, 0, 0, 0.7);
}

.slick-prev {
    left: 0;
}

.slick-next {
    right: 0;
}

.slick-prev::before,
.slick-next::before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
}

.slick-prev::before {
    transform: rotate(-135deg);
    margin-left: 3px;
}

.slick-next::before {
    transform: rotate(45deg);
    margin-right: 3px;
}

/* Product Info (Right Column) */
.product-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 10px;
    line-height: 1.3;
}

.product-summary {
    font-size: 14px;
    color: #888;
    margin-bottom: 5px;
    line-height: 1.5;
}

.product-core-summary {
    font-size: 13px;
    color: #666;
    margin-top: 0;
    margin-bottom: 20px;
    line-height: 1.4;
    letter-spacing: -0.02em;
}

.divider {
    border: 0;
    border-top: 1px solid #eee;
    margin: 20px 0;
}

/* Specs List (Standardized & Clean) */
.product-specs {
    margin: 0;
    padding: 0;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
    font-size: 14px;
}

.spec-row dt {
    color: #666;
    font-weight: 500;
    min-width: 80px;
}

.spec-row dd {
    margin: 0;
    color: #333;
    font-weight: 400;
    text-align: right;
}

/* Color Swatch Styles */
.color-swatch-list {
    display: flex;
    flex-direction: column;
    /* Stack vertically for "line by line" */
    gap: 15px;
    /* Increase gap for larger items */
    margin-top: 10px;
}

.color-swatch {
    display: flex;
    align-items: center;
    gap: 15px;
    /* More space between icon and text */
    padding: 0;
    background: transparent;
    border: none;
    font-size: 16px;
    /* Larger text */
    color: #333;
    transition: transform 0.2s;
    width: 100%;
    /* Full width */
}

.color-swatch:hover {
    transform: translateX(5px);
    background: transparent;
    box-shadow: none;
}

.swatch-icon {
    display: block;
    width: 32px;
    /* Base Standard Desktop Size (Scaled down) */
    height: 32px;
    border-radius: 4px;
    /* Rounded square */
    border: 1px solid rgba(0, 0, 0, 0.1);
    background-size: cover;
    background-position: center;
    background-color: #f0f0f0;
    flex-shrink: 0;
    /* Prevent shrinking */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.swatch-name {
    font-size: 14px;
    /* Standardize text size */
    line-height: 1.4;
    font-weight: 400;
    /* Regular weight to match other specs */
}

/* Responsive Sizes */
@media (min-width: 1600px) {

    /* Large/4K Screens */
    .swatch-icon {
        width: 40px;
        /* User requested 40px for 4K */
        height: 40px;
    }

    .color-swatch {
        font-size: 14px;
        /* Keep text consistent */
    }
}

@media (max-width: 768px) {

    /* Mobile */
    .swatch-icon {
        width: 28px;
        /* Proportional reduction */
        height: 28px;
    }

    .color-swatch {
        font-size: 13px;
    }
}

/* Extra Product Info Section */
.product-extra-info {
    margin-top: 10px;
    /* Space after divider */
    margin-bottom: 30px;
}

.extra-section {
    margin-bottom: 25px;
}

.extra-section:last-child {
    margin-bottom: 0;
}

.extra-title {
    font-size: 14px;
    font-weight: 700;
    color: #222;
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
}

.extra-title::before {
    content: '';
    display: block;
    width: 3px;
    height: 14px;
    background: #333;
    margin-right: 8px;
    border-radius: 2px;
}

.extra-content {
    font-size: 13.5px;
    color: #555;
    line-height: 1.6;
}

.extra-content p {
    margin-bottom: 8px;
}

.extra-content p:last-child {
    margin-bottom: 0;
}

/* FAQ Specific Styles */
.faq-row {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #eee;
}

.faq-row:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.faq-q {
    font-weight: 400;
    /* Changed from 600(Bold) to 400(Normal) */
    color: #333;
    margin-bottom: 5px;
    position: relative;
    /* padding-left: 22px; Removed for manual input */
}

/* 
.faq-q::before {
    content: 'Q.';
    position: absolute;
    left: 0;
    top: 0;
    color: #333;
    font-weight: 700;
} 
*/

.faq-a {
    color: #666;
    /* padding-left: 22px; Removed for manual input */
    position: relative;
}

/* 
.faq-a::before {
    content: 'A.';
    position: absolute;
    left: 0;
    top: 0;
    color: #888;
    font-weight: 400;
} 
*/


/* Action Buttons */
.product-actions {
    margin-top: 30px;
    display: flex;
    /* Ensure flex is applied here too just in case inline style misses */
    gap: 10px;
}

.btn-list,
.btn-manual,
.btn-inquiry {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 15px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s;
    font-size: 16px;
    cursor: pointer;
}

/* Inquiry Button (High Contrast) */
.btn-inquiry {
    background: #fff;
    color: #111;
    border: 1px solid #111;
    font-weight: 700;
}

.btn-inquiry:hover {
    background: #f0f0f0;
    border-color: #000;
    color: #000;
}

/* Manual Button (High Contrast) */
.btn-manual {
    background: #fff;
    color: #111;
    border: 1px solid #111;
    font-weight: 700;
}

.btn-manual:hover {
    background: #f0f0f0;
    border-color: #000;
    color: #000;
}

/* Detailed Description Images */
.product-detail-images {
    margin-top: 50px;
    border-top: 2px solid #333;
    padding-top: 30px;
}

.detail-heading {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

.detail-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* File Download Box */
.proposal-box {
    margin-top: 40px;
    padding: 20px;
    background: #f9f9f9;
    border: 1px solid #ddd;
}

.proposal-box h3 {
    font-size: 16px;
    margin: 0 0 15px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.file-link {
    display: inline-block;
    margin-right: 15px;
    font-size: 14px;
    color: #0073aa;
    text-decoration: underline;
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .product-container {
        flex-direction: column;
    }

    .product-left {
        flex: 1 1 100%;
        width: 100%;
    }

    .product-right {
        flex: 1 1 100%;
        max-width: 100%;
        position: static;
        /* Disable Sticky */
        margin-top: 0;
        border: none;
        padding: 0;
    }

    .product-right .product-title {
        font-size: 20px;
    }

    /* Reorder handled by JS for safety */
    .product-container {
        display: flex;
        flex-direction: column;
    }
}