/* =========================================================
   Tianya Cultural Stone - Amazon-Style Large Product Showcase
   ========================================================= */

.com_list_right {
    --pd: 88px;
}

.article_products.com_list_right {
    width: 100% !important;
    float: none !important;
}

/* Hide category tree aside on product detail pages so gallery expands to full width */
.com_list_warp:has(.article_products) .com_aside,
.com_list_warp .com_aside {
    display: none !important;
}

.r_main_flex {
    background: #ffffff !important;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 36px 40px;
    align-items: flex-start;
    display: flex;
    gap: 48px;
    margin-bottom: 40px;
    box-sizing: border-box;
}

/* --- Left Column: Amazon-Grade Large Gallery --- */
.article_products .swiper_body {
    flex: 0 0 52% !important;
    max-width: 52% !important;
    width: 52% !important;
    margin-right: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

.article_products .swiper_body.column_ {
    flex-direction: column !important;
    margin-right: 0 !important;
}

/* Main Display Image Container: Generous 1:1 Aspect Ratio (Square) */
.article_products .image-container {
    width: 100% !important;
    height: 0 !important;
    padding-bottom: 96% !important; /* Expands to ~520-580px square on desktop! */
    position: relative !important;
    background: #ffffff !important;
    border: 1px solid #edf2f7 !important;
    border-radius: 10px !important;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.03) !important;
    overflow: hidden !important;
    cursor: crosshair !important;
    display: block !important;
    box-sizing: border-box;
}

.article_products .image-container .thumbnail {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    padding: 16px !important;
    box-sizing: border-box !important;
    background: #ffffff !important;
    transition: opacity 0.2s ease, transform 0.3s ease !important;
}

/* Amazon High-Res Hover Zoom */
.article_products .image-container .full-image {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    display: none;
    object-fit: contain !important;
    z-index: 5 !important;
    pointer-events: none;
    background: #ffffff;
}

/* Thumbnail Gallery Under Main Image */
.article_products .swiper_body.column_ .arc_sw_par {
    width: 100% !important;
    margin: 20px 0 0 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    padding: 0 42px !important;
    box-sizing: border-box !important;
    height: auto !important;
}

.article_products .swiper_body.column_ .arc_sw_par .arc_sw {
    width: 100% !important;
    overflow: hidden !important;
    margin: 0 auto !important;
    height: auto !important;
}

.article_products .swiper_body.column_ .arc_sw_par .arc_sw .swiper-wrapper {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
}

.article_products .swiper_body.column_ .arc_sw_par .arc_sw .swiper-slide {
    width: 82px !important;
    height: 82px !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.article_products .swiper_body.column_ .arc_sw_par .arc_sw .img {
    width: 82px !important;
    height: 82px !important;
    padding: 0 !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    background: #ffffff !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.article_products .swiper_body.column_ .arc_sw_par .arc_sw .img:hover,
.article_products .swiper_body.column_ .arc_sw_par .arc_sw .img.active-thumb {
    border-color: #b87b32 !important;
    box-shadow: 0 0 0 2px rgba(184, 123, 50, 0.35) !important;
    transform: translateY(-2px);
}

.article_products .swiper_body.column_ .arc_sw_par .arc_sw .img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    padding: 4px !important;
    box-sizing: border-box !important;
    display: block !important;
}

/* Amazon Prev / Next Chevrons */
.article_products .swiper_body.column_ .arc_sw_par .swiper-button-prev,
.article_products .swiper_body.column_ .arc_sw_par .swiper-button-next {
    width: 32px !important;
    height: 32px !important;
    background: #ffffff !important;
    border: 1px solid #cbd5e0 !important;
    border-radius: 50% !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
    z-index: 10 !important;
    transition: all 0.2s ease !important;
}

.article_products .swiper_body.column_ .arc_sw_par .swiper-button-prev:hover,
.article_products .swiper_body.column_ .arc_sw_par .swiper-button-next:hover {
    background: #b87b32 !important;
    border-color: #b87b32 !important;
    box-shadow: 0 2px 8px rgba(184, 123, 50, 0.35) !important;
}

.article_products .swiper_body.column_ .arc_sw_par .swiper-button-prev {
    left: 0 !important;
    background-image: url(../images/proswl.png) !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 10px !important;
}

.article_products .swiper_body.column_ .arc_sw_par .swiper-button-next {
    right: 0 !important;
    background-image: url(../images/proswr.png) !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 10px !important;
}

/* --- Right Column: Product Detail & Commercial CTA --- */
.article_products .arc_info {
    flex: 1 !important;
    min-width: 0 !important;
    width: auto !important;
    display: flex !important;
    flex-direction: column !important;
}

.article_products .arc_info h1.t2 {
    font-size: 30px !important;
    font-weight: 700 !important;
    color: #1a202c !important;
    line-height: 1.28 !important;
    margin: 0 0 14px 0 !important;
    padding-bottom: 12px !important;
    border-bottom: 2px solid #b87b32 !important;
    display: inline-block !important;
}

.article_products .arc_info .desc {
    font-size: 15px !important;
    line-height: 1.7 !important;
    color: #4a5568 !important;
    margin-top: 14px !important;
}

.article_products .product-key-specs {
    margin: 20px 0 !important;
    background: #fdfaf6 !important;
    border: 1px solid #ebd9c8 !important;
    border-left: 4px solid #b87b32 !important;
    border-radius: 8px !important;
    padding: 16px 20px !important;
}

.article_products .arc_info .sub_btn {
    display: flex !important;
    gap: 16px !important;
    margin-top: 24px !important;
    float: none !important;
    flex-wrap: wrap !important;
}

.article_products .arc_info .sub_btn div,
.article_products .arc_info .sub_btn a {
    margin: 0 !important;
}

.article_products .arc_info .sub_btn .contact {
    background: linear-gradient(135deg, #b87b32 0%, #d49746 100%) !important;
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    padding: 14px 32px !important;
    border-radius: 6px !important;
    box-shadow: 0 4px 14px rgba(184, 123, 50, 0.35) !important;
    transition: all 0.25s ease !important;
    cursor: pointer !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    height: auto !important;
    line-height: 1.4 !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
}

.article_products .arc_info .sub_btn .contact:hover {
    background: linear-gradient(135deg, #a06725 0%, #c08535 100%) !important;
    box-shadow: 0 6px 18px rgba(184, 123, 50, 0.45) !important;
    transform: translateY(-2px) !important;
}

.article_products .arc_info .sub_btn .down {
    background: #ffffff !important;
    color: #2d3748 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    padding: 14px 26px !important;
    border-radius: 6px !important;
    border: 1.5px solid #cbd5e0 !important;
    transition: all 0.25s ease !important;
    cursor: pointer !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin-left: 0 !important;
    height: auto !important;
    line-height: 1.4 !important;
    display: flex !important;
    align-items: center !important;
}

.article_products .arc_info .sub_btn .down:hover {
    border-color: #b87b32 !important;
    color: #b87b32 !important;
    background: #faf6f0 !important;
}

/* Related Products swiper row */
.tp_arc_box .item.pro_item {
    margin-bottom: 20px;
}
.pro_swiper .item.pro_item .img img,
.page_pro_list .item.pro_item .img img {
    object-fit: cover !important;
    object-position: center center !important;
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* --- Responsive Adaptations --- */
@media screen and (max-width: 1024px) {
    .r_main_flex {
        padding: 24px;
        gap: 32px;
    }
    .article_products .swiper_body {
        flex: 0 0 48% !important;
        max-width: 48% !important;
        width: 48% !important;
    }
}

@media screen and (max-width: 850px) {
    .r_main_flex {
        padding: 18px;
        flex-direction: column;
        gap: 24px;
    }
    .article_products .swiper_body {
        flex: 1 1 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    .article_products .image-container {
        display: block !important;
        padding-bottom: 96% !important;
    }
    .article_products .arc_info {
        width: 100% !important;
    }
    .article_products .arc_info h1.t2 {
        font-size: 24px !important;
    }
}