/*------------------------------------------------------------------
 * PURPLES & KUMA - YLOO3.KR LUXURY PRODUCT DETAIL PAGE STYLING
 * Inspired by yloo3.kr modern minimalist luxury design
 *-----------------------------------------------------------------*/

:root {
    --yloo-black: #18181b;
    --yloo-black-hover: #27272a;
    --yloo-red: #ef4444;
    --yloo-gray-bg: #f8fafc;
    --yloo-gray-border: #e4e4e7;
    --yloo-gray-text: #71717a;
    --yloo-kakao: #FEE500;
}

/* Base Container */
.shop-item {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px 60px;
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
    color: #18181b;
}

/* Breadcrumb Navigation */
.shop-item .nav-breadcrumb {
    padding: 12px 0 20px;
    font-size: 13px;
    color: #a1a1aa;
    display: flex;
    align-items: center;
    gap: 6px;
}
.shop-item .nav-breadcrumb a {
    color: #71717a;
    text-decoration: none;
    transition: color 0.15s;
}
.shop-item .nav-breadcrumb a:hover {
    color: #18181b;
}
.shop-item .nav-breadcrumb .divider {
    color: #d4d4d8;
    font-size: 11px;
}
.shop-item .nav-breadcrumb .current {
    color: #18181b;
    font-weight: 600;
}

/* =================================================================
 * PRODUCT FORM (Top Hero Area)
 * ================================================================= */
.shop-product {
    position: relative;
    padding: 10px 0 30px;
}
.shop-product .row {
    --bs-gutter-x: 2.5rem;
}

/* Left: Product Images */
.shop-product-img {
    position: relative;
    border-radius: 12px;
}
.product-img-big {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #fafafa;
    border: 1px solid #f1f3f5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    aspect-ratio: 1 / 1;
}
.product-img-big a {
    display: none;
    width: 100%;
    height: 100%;
}
.product-img-big a.visible {
    display: block;
}
.product-img-big img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.product-img-big i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: #f4f4f5;
    color: #a1a1aa;
    font-size: 64px;
}
.product-thumb {
    position: relative;
    display: flex !important;
    gap: 8px;
    margin-top: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
}
.product-thumb::-webkit-scrollbar {
    height: 4px;
}
.product-thumb::-webkit-scrollbar-thumb {
    background: #e4e4e7;
    border-radius: 4px;
}
.product-thumb .thumb-img {
    width: 72px;
    height: 72px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    flex-shrink: 0;
    background: #fafafa;
    transition: all 0.15s ease;
}
.product-thumb .thumb-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.product-thumb .thumb-img:hover,
.product-thumb .thumb-img.active {
    border-color: #18181b;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Right: Product Info & Purchase */
.sit-ov-height {
    position: relative;
}
#sit_ov.shop-product-form {
    padding: 0;
    color: #18181b;
}

/* Brand Badge Chip */
.yloo-brand-badge {
    display: inline-block;
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #71717a;
    background: #f4f4f5;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 10px;
}

/* Product Title */
.yloo-detail-title,
.yloo-product-title {
    font-size: 24px;
    font-weight: 700;
    color: #18181b;
    line-height: 1.45 !important;
    margin: 0 0 12px 0;
    word-break: keep-all;
    letter-spacing: -0.02em;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    display: block !important;
    -webkit-line-clamp: unset !important;
    text-overflow: clip !important;
}

@media (max-width: 768px) {
    .yloo-detail-title {
        font-size: 20px;
        line-height: 1.4 !important;
    }
}

/* Product Description / Subtitle */
.yloo-product-desc {
    font-size: 14px;
    color: #71717a;
    line-height: 1.5;
    margin: 0 0 16px 0;
}

/* Price Box */
.yloo-price-area {
    padding: 14px 0 18px;
    border-bottom: 1px solid #f1f3f5;
    margin-bottom: 18px;
}
.yloo-orig-price-wrap {
    margin-bottom: 4px;
}
.yloo-orig-price {
    font-size: 15px;
    color: #a1a1aa !important;
    text-decoration: line-through !important;
    font-weight: 400;
}
.yloo-main-price-wrap {
    display: flex;
    align-items: baseline;
    gap: 8px;
}
.yloo-final-price {
    font-size: 28px;
    font-weight: 800;
    color: #18181b;
    letter-spacing: -0.02em;
}
.yloo-final-price.discounted {
    color: #ef4444 !important;
}
.yloo-dc-badge {
    display: inline-block;
    background: #ef4444;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    line-height: 1.2;
    vertical-align: middle;
}

/* Benefits Card (배송/혜택 안내) */
.yloo-benefits-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.yloo-benefits-card .benefit-item {
    display: flex;
    align-items: center;
    font-size: 13.5px;
    color: #3f3f46;
}
.yloo-benefits-card .b-icon {
    width: 24px;
    color: #18181b;
    font-size: 13px;
    display: flex;
    align-items: center;
}
.yloo-benefits-card .b-title {
    width: 72px;
    font-weight: 700;
    color: #27272a;
    flex-shrink: 0;
}
.yloo-benefits-card .b-desc {
    color: #52525b;
}
.yloo-benefits-card .b-desc.highlight {
    color: #ef4444;
    font-weight: 700;
}

/* Options Area */
.sit_option {
    padding: 0 0 16px;
    margin-bottom: 12px;
    border-bottom: 1px solid #f1f3f5;
}
.sit_option h3 {
    font-size: 14px;
    font-weight: 700;
    color: #18181b;
    margin: 0 0 10px;
}
.sit_option .get_item_options {
    margin-bottom: 10px;
}
.sit_option .get_item_options label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #27272a;
    margin-bottom: 6px;
}
.sit_option select,
.sit_option.eyoom-form .select select {
    width: 100%;
    height: 48px;
    border-radius: 8px;
    border: 1.5px solid #d4d4d8;
    background: #ffffff;
    font-size: 14px;
    font-weight: 600;
    color: #18181b;
    padding: 0 14px;
    outline: none;
    transition: border-color 0.15s;
}
.sit_option select:focus,
.sit_option.eyoom-form .select select:focus {
    border-color: #18181b;
}

/* Selected Options Box */
#sit_sel_option {
    margin: 14px 0;
}
#sit_opt_added {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
#sit_opt_added li {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 14px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
#sit_opt_added li .opt_name {
    font-size: 13.5px;
    font-weight: 700;
    color: #18181b;
    padding-right: 28px;
}
#sit_opt_added li .opt_count {
    display: flex;
    align-items: center;
    gap: 6px;
}
#sit_opt_added button.sit_qty_minus,
#sit_opt_added button.sit_qty_plus {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #18181b;
    font-size: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s;
}
#sit_opt_added button.sit_qty_minus:hover,
#sit_opt_added button.sit_qty_plus:hover {
    background: #f1f5f9;
}
#sit_opt_added .num_input {
    width: 44px;
    height: 30px;
    border-radius: 6px;
    border: 1px solid #cbd5e1;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: #18181b;
}
#sit_opt_added .sit_opt_prc {
    font-size: 15px;
    font-weight: 800;
    color: #18181b;
    margin-left: auto;
}
#sit_opt_added .sit_opt_del {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    border: none;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}
#sit_opt_added .sit_opt_del:hover {
    color: #ef4444;
}

/* Total Price */
#sit_tot_price {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 16px 0;
    border-top: 1px solid #e2e8f0;
    margin: 16px 0;
    font-size: 15px;
    font-weight: 700;
    color: #4b5563;
}
#sit_tot_price strong {
    font-size: 26px;
    font-weight: 800;
    color: #18181b;
    margin-left: 8px;
}

/* Action Buttons (yloo3.kr style) */
#sit_ov_btn.yloo-action-btns {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
}
.yloo-btn-buy,
#sit_btn_buy {
    width: 100% !important;
    height: 54px !important;
    font-size: 16.5px !important;
    font-weight: 800 !important;
    background: #18181b !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    border: none !important;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    float: none !important;
}
.yloo-btn-buy:hover,
#sit_btn_buy:hover {
    background: #27272a !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}
.yloo-sub-btns {
    display: flex;
    gap: 8px;
    width: 100%;
}
.yloo-btn-cart,
#sit_btn_cart {
    flex: 1 !important;
    height: 48px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    background: #ffffff !important;
    color: #18181b !important;
    border: 1.5px solid #18181b !important;
    border-radius: 8px !important;
    cursor: pointer;
    transition: all 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 0 !important;
    float: none !important;
    width: auto !important;
}
.yloo-btn-cart:hover,
#sit_btn_cart:hover {
    background: #f4f4f5 !important;
}
.yloo-btn-kakao {
    flex: 1 !important;
    height: 48px !important;
    font-size: 14.5px !important;
    font-weight: 700 !important;
    background: #FEE500 !important;
    color: #191919 !important;
    border: none !important;
    border-radius: 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    text-decoration: none !important;
    cursor: pointer;
    transition: opacity 0.15s;
}
.yloo-btn-kakao:hover {
    opacity: 0.92;
    color: #191919 !important;
}
.yloo-btn-wish,
#sit_btn_wish {
    width: 48px !important;
    height: 48px !important;
    border-radius: 8px !important;
    border: 1.5px solid #d4d4d8 !important;
    background: #ffffff !important;
    color: #ef4444 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 18px !important;
    cursor: pointer;
    transition: all 0.15s ease;
    margin: 0 !important;
    float: none !important;
}
.yloo-btn-wish:hover,
#sit_btn_wish:hover {
    border-color: #ef4444 !important;
    background: #fef2f2 !important;
}

/* =================================================================
 * TRUST & QUALITY ASSURANCE SECTION (yloo3.kr style 3 cards)
 * ================================================================= */
.yloo-trust-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 36px 0 28px;
    padding: 24px 20px;
    background: #fafafa;
    border: 1px solid #e4e4e7;
    border-radius: 12px;
}
.yloo-trust-section .trust-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.yloo-trust-section .trust-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid #e4e4e7;
    color: #18181b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    flex-shrink: 0;
}
.yloo-trust-section .trust-content h4 {
    font-size: 14.5px;
    font-weight: 800;
    color: #18181b;
    margin: 0 0 4px 0;
}
.yloo-trust-section .trust-content p {
    font-size: 12.5px;
    color: #71717a;
    line-height: 1.5;
    margin: 0;
    word-break: keep-all;
}
@media (max-width: 768px) {
    .yloo-trust-section {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* =================================================================
 * STICKY DETAIL TABS (yloo3.kr style clean tab bar)
 * ================================================================= */
.pg-anchor-in {
    position: sticky !important;
    top: 0 !important;
    z-index: 99 !important;
    background: #ffffff !important;
    border-bottom: 2px solid #e5e7eb !important;
    margin: 30px 0 25px !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03) !important;
}
.pg-anchor-in .nav-tabs {
    display: flex !important;
    justify-content: center !important;
    border-bottom: none !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}
.pg-anchor-in .nav-tabs li {
    flex: 1 !important;
    max-width: 200px !important;
    text-align: center !important;
    margin: 0 !important;
}
.pg-anchor-in .nav-tabs li a {
    display: block !important;
    padding: 16px 12px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #71717a !important;
    text-decoration: none !important;
    border: none !important;
    background: transparent !important;
    position: relative !important;
    transition: color 0.15s ease !important;
}
.pg-anchor-in .nav-tabs li a:hover {
    color: #18181b !important;
}
.pg-anchor-in .nav-tabs li.active a {
    color: #18181b !important;
    font-weight: 800 !important;
}
.pg-anchor-in .nav-tabs li.active a:after {
    content: '' !important;
    position: absolute !important;
    bottom: -2px !important;
    left: 0 !important;
    right: 0 !important;
    height: 3px !important;
    background: #18181b !important;
}
.pg-anchor-in .item_use_count,
.pg-anchor-in .item_qa_count {
    display: inline-block !important;
    background: #f4f4f5 !important;
    color: #52525b !important;
    font-size: 11px !important;
    padding: 2px 6px !important;
    border-radius: 9999px !important;
    font-weight: 700 !important;
    margin-left: 4px !important;
    vertical-align: middle !important;
}
.pg-anchor-in .tab-bottom-line {
    display: none !important;
}

/* =================================================================
 * PRODUCT DETAIL CONTENT (#sit_inf_explan)
 * ================================================================= */
#sit_inf {
    margin: 30px 0;
}
#sit_inf_explan {
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
}
#sit_inf_explan img {
    max-width: 100% !important;
    height: auto !important;
    margin: 10px auto !important;
    display: block !important;
    border-radius: 6px !important;
}

/* =================================================================
 * POLICY & GUIDELINES CARDS (#sit_dvr, #sit_ex)
 * ================================================================= */
.yloo-policy-card {
    background: #ffffff;
    border: 1px solid #e4e4e7;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}
.yloo-policy-title {
    font-size: 17px;
    font-weight: 800;
    color: #18181b;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.yloo-policy-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 13.5px;
    color: #52525b;
    line-height: 1.6;
}
.yloo-policy-list li {
    position: relative;
    padding-left: 18px;
}
.yloo-policy-list li:before {
    content: "•";
    position: absolute;
    left: 4px;
    color: #18181b;
    font-weight: 800;
}

/* =================================================================
 * REVIEWS & Q&A MODERN STYLING
 * ================================================================= */
#sit_use, #sit_qa,
.pg-anchor-in .nav-tabs li a[href="#sit_use"],
.pg-anchor-in .nav-tabs li a[href="#sit_qa"],
.sanchor li a[href="#sit_use"],
.sanchor li a[href="#sit_qa"] {
    display: none !important;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .yloo-product-title {
        font-size: 20px;
    }
    .yloo-final-price {
        font-size: 24px;
    }
    .pg-anchor-in .nav-tabs li a {
        padding: 12px 6px !important;
        font-size: 13.5px !important;
    }
}

/* =================================================================
 * PRODUCT IMAGE HERO GALLERY (yloo3.kr style)
 * ================================================================= */
.yloo-gallery-wrap {
    width: 100%;
    margin-bottom: 24px;
}
.yloo-main-box {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e4e4e7;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    position: relative;
}
.yloo-main-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.25s ease, transform 0.3s ease;
    display: block;
}
.yloo-thumbs-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}
.yloo-thumb-item {
    flex: 0 0 74px;
    width: 74px;
    height: 74px;
    border-radius: 10px;
    border: 2px solid #e4e4e7;
    background: #ffffff;
    padding: 2px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.2s ease;
    outline: none;
    display: block;
}
.yloo-thumb-item:hover, .yloo-thumb-item.active {
    border-color: #18181b;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}
.yloo-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 7px;
    display: block;
}

/* =================================================================
 * PRODUCT META BAR (Rating, Review, Wishlist, Share)
 * ================================================================= */
.yloo-meta-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 12px 0 18px 0;
    padding-bottom: 14px;
    border-bottom: 1px solid #f4f4f5;
    font-size: 14px;
    color: #52525b;
}
.yloo-meta-bar .meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.yloo-meta-bar .meta-val {
    font-weight: 700;
    color: #18181b;
}
.yloo-meta-bar .meta-sub {
    color: #71717a;
    font-size: 13px;
}
.yloo-meta-bar .meta-dot {
    color: #d4d4d8;
    font-weight: bold;
}
.yloo-meta-bar .meta-wish i {
    color: #f43f5e;
}
.yloo-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f4f4f5;
    color: #18181b;
    border: 1px solid #e4e4e7;
    border-radius: 8px;
    padding: 5px 12px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}
.yloo-share-btn:hover {
    background: #e4e4e7;
    color: #000000;
}

/* =================================================================
 * HIDE BROKEN / LEGACY UNSTYLED ARTIFACTS
 * ================================================================= */
.buy-btn-wr,
#btn_buy_back,
#scroll_show_close,
.shop-product-prev-next {
    display: none !important;
}
