@charset "utf-8";

/* ===== UNIMO Radio Product Catalog Board Skin (Inspired by xradio.co.kr) ===== */
#product_board {
    margin: 0 auto;
    padding: 20px 0 60px;
    font-family: 'Pretendard', -apple-system, sans-serif;
    color: #1e293b;
}

/* Category Filter Tabs */
.pcat_tab_bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 35px;
    padding: 10px;
    background: #f8fafc;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
}
.pcat_tab_btn {
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 700;
    background: #ffffff;
    color: #475569;
    border: 1px solid #cbd5e1;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}
.pcat_tab_btn:hover, .pcat_tab_btn.active {
    background: #0d3e8c;
    color: #ffffff;
    border-color: #0d3e8c;
    box-shadow: 0 4px 14px rgba(13, 62, 140, 0.2);
}

/* List Product Grid */
.pgrid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.pcard {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.pcard:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(13, 62, 140, 0.12);
    border-color: #0d3e8c;
}

.pcard_img_wrap {
    position: relative;
    height: 240px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow: hidden;
}
.pcard_img_wrap img {
    max-height: 200px;
    width: auto;
    object-fit: contain;
    transition: transform 0.35s ease;
}
.pcard:hover .pcard_img_wrap img {
    transform: scale(1.08);
}

.pcard_ip_badge {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 4px 10px;
    background: #009261;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    border-radius: 4px;
    letter-spacing: 0.5px;
}
.pcard_cat_badge {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 4px 10px;
    background: #0d3e8c;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 4px;
}

.pcard_body {
    padding: 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.pcard_model {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
}
.pcard_sub {
    font-size: 14px;
    color: #334155;
    margin-bottom: 16px;
    line-height: 1.5;
}

.pcard_specs_mini {
    background: #f1f5f9;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    color: #475569;
    margin-bottom: 20px;
    line-height: 1.6;
}

.pcard_actions {
    display: flex;
    gap: 8px;
}
.pbtn {
    flex: 1;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}
.pbtn.view {
    background: #0d3e8c;
    color: #ffffff;
}
.pbtn.view:hover {
    background: #002266;
}
.pbtn.pdf {
    background: #ef4444;
    color: #ffffff;
}
.pbtn.pdf:hover {
    background: #dc2626;
}

/* View Page Details */
.pview_wrap {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}
.pview_gallery {
    flex: 0 0 460px;
    width: 100%;
}
.pview_main_img {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    margin-bottom: 16px;
    position: relative;
    box-shadow: 0 8px 24px rgba(0,0,0,0.04);
}
.pview_main_img img {
    max-height: 380px;
    width: auto;
    object-fit: contain;
}

/* 360 View Rotater */
.rotater_box {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    cursor: grab;
    user-select: none;
}
.rotater_box:active {
    cursor: grabbing;
}
.rotater_hint {
    font-size: 13px;
    color: #0d3e8c;
    font-weight: 700;
    margin-bottom: 10px;
}

.pview_info {
    flex: 1;
    min-width: 320px;
}
.pview_model_title {
    font-size: 34px;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 12px;
}
.pview_summary {
    font-size: 16px;
    color: #334155;
    line-height: 1.6;
    margin-bottom: 24px;
}

.pview_spec_table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}
.pview_spec_table th, .pview_spec_table td {
    padding: 14px 18px;
    font-size: 15px;
    border-bottom: 1px solid #f1f5f9;
}
.pview_spec_table th {
    width: 140px;
    background: #f8fafc;
    color: #0f172a;
    font-weight: 800;
    text-align: left;
}
.pview_spec_table td {
    color: #333333;
}

.pview_cta_group {
    display: flex;
    gap: 14px;
}
.pview_cta {
    flex: 1;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 800;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
}
.pview_cta.primary {
    background: #0d3e8c;
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(13, 62, 140, 0.25);
}
.pview_cta.primary:hover {
    background: #002266;
}
.pview_cta.pdf {
    background: #ef4444;
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.25);
}
.pview_cta.pdf:hover {
    background: #dc2626;
}

/* Detail Tabs */
.pdetail_tabs {
    display: flex;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 35px;
}
.pdetail_tab_btn {
    padding: 16px 32px;
    font-size: 17px;
    font-weight: 800;
    color: #64748b;
    border: none;
    background: transparent;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: all 0.2s;
}
.pdetail_tab_btn.active {
    color: #0d3e8c;
    border-bottom-color: #0d3e8c;
}

.pdetail_tab_content {
    display: none;
    line-height: 1.8;
    font-size: 16px;
    color: #333333;
}
.pdetail_tab_content.active {
    display: block;
}

/* Feature Grid */
.feat_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 24px;
}
.feat_card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
}
.feat_card i {
    font-size: 32px;
    color: #0d3e8c;
    margin-bottom: 12px;
}
.feat_card h4 {
    font-size: 17px;
    font-weight: 800;
    margin-bottom: 6px;
    color: #0f172a;
}
.feat_card p {
    font-size: 14px;
    color: #475569;
}

@media (max-width: 1200px) {
    .pgrid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 900px) {
    .pgrid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pview_gallery {
        flex: 0 0 100%;
    }
}
@media (max-width: 600px) {
    .pgrid {
        grid-template-columns: 1fr;
    }
    .feat_grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
