/* Equipment Page Styles */

/* Equipment Section */
.equipment_section {
    padding: 2rem 0 4rem;
    background: #fff;
}

.equipment_section .inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Breadcrumb Navigation */
.location {
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    border: 1px solid #e1e8ff;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
}

.loc_dep01 {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
    gap: 0.5rem;
}

.loc_dep01 li {
    position: relative;
}

.loc_dep01 li:not(:last-child)::after {
    content: '>';
    margin-left: 0.5rem;
    color: #999;
    font-weight: 600;
}

.loc_tit {
    color: #555;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.loc_tit:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
}

.loc_tit.arrow::after {
    content: '▼';
    margin-left: 0.5rem;
    font-size: 0.8em;
}

.loc_dep02 {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid #e1e8ff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    z-index: 100;
    display: none;
    margin-top: 0.5rem;
}

.loc_dep01 li:hover .loc_dep02 {
    display: block;
}

.loc_dep02 li {
    margin: 0;
    padding: 0;
}

.loc_dep02 a {
    display: block;
    padding: 0.75rem 1rem;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.loc_dep02 a:hover {
    background: #f8f9ff;
    color: #667eea;
}

.loc_dep02 .curr a {
    background: #667eea;
    color: #fff;
    font-weight: 600;
}

/* Page Header */
.header {
    margin-bottom: 2rem;
}

.tit {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.tit_page {
    font-size: 2.5rem;
    font-weight: 800;
    color: #333;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tit_page_s {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.mb20 {
    margin-bottom: 20px;
}

/* Tab Menu */
.tab_w {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid #e1e8ff;
    padding-bottom: 0;
}

.tab_w a {
    padding: 1rem 2rem;
    background: #f8f9ff;
    color: #666;
    text-decoration: none;
    border-radius: 12px 12px 0 0;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #e1e8ff;
    border-bottom: none;
    position: relative;
    margin-bottom: -2px;
}

.tab_w a:hover {
    background: #f0f4ff;
    color: #667eea;
}

.tab_w a.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

/* Search Form */
.srch_box {
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    border: 2px solid #e1e8ff;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.srch_box fieldset {
    border: none;
    margin: 0;
    padding: 0;
}

.srch_box legend {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #667eea;
}

.terms {
    margin-bottom: 1.5rem;
}

.row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.type_sel {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.type_sel select {
    padding: 0.75rem 1rem;
    border: 2px solid #e1e8ff;
    border-radius: 8px;
    background: #fff;
    color: #333;
    font-size: 14px;
    transition: all 0.3s ease;
    min-width: 140px;
}

.type_sel select:focus {
    border-color: #667eea;
    outline: none;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.year_sel {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.year_sel .tit {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin: 0;
    white-space: nowrap;
}

.terms_window {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.terms_window label {
    font-weight: 600;
    color: #333;
    white-space: nowrap;
}

.terms_window input {
    padding: 0.75rem 1rem;
    border: 2px solid #e1e8ff;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.terms_window input:focus {
    border-color: #667eea;
    outline: none;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.btn_box {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #e1e8ff;
}

.btn_srch_c,
.btn_reset {
    padding: 1rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 0.5rem;
    min-width: 120px;
}

.btn_srch_c {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: 2px solid #667eea;
}

.btn_srch_c:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn_reset {
    background: #fff;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn_reset:hover {
    background: #667eea;
    color: #fff;
    transform: translateY(-2px);
}

/* Result Info */
.result_info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.yellow_box02 {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 1rem;
    color: #856404;
    font-size: 14px;
    width: 100%;
}

.txt {
    font-size: 1.1rem;
    color: #333;
}

.txt .num {
    font-weight: 700;
    color: #667eea;
    font-size: 1.3em;
}

.eq_grade_box {
    position: relative;
}

.eq_grade_box button {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.eq_grade_box button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.t_tip {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    border: 1px solid #e1e8ff;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    padding: 1.5rem;
    min-width: 300px;
    z-index: 100;
    margin-top: 0.5rem;
}

.t_tip dl {
    margin-bottom: 1rem;
}

.t_tip dt {
    font-weight: 700;
    margin-bottom: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: inline-block;
    color: #fff;
    font-size: 14px;
}

.t_tip dt.type_new {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
}

.t_tip dt.type_refurb {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
}

.t_tip dt.type_demo {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

.t_tip dd {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.sort {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sort a {
    padding: 0.5rem 1rem;
    color: #666;
    text-decoration: none;
    border-radius: 20px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.sort a:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
}

.sort a.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    font-weight: 600;
}

.view_change {
    display: flex;
    gap: 0.5rem;
    margin-left: auto;
}

.view_change a {
    padding: 0.5rem 1rem;
    border: 1px solid #e1e8ff;
    border-radius: 8px;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
}

.view_change a.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-color: #667eea;
}

/* Equipment Grid */
.equipment_grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.equipment_card {
    background: #fff;
    border: 2px solid #e1e8ff;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.equipment_card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.15);
    border-color: #667eea;
}

.card_badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    z-index: 10;
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
}

.card_badge.refurbished {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
}

.card_badge.demo {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

.card_img {
    height: 200px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.card_img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
}

.equipment_card:hover .card_img img {
    transform: scale(1.05);
}

.card_img::before {
    content: '이미지 준비중';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #999;
    font-size: 14px;
    z-index: 1;
}

.card_info {
    padding: 1.5rem;
}

.card_category {
    font-size: 12px;
    color: #667eea;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.card_title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.card_desc {
    color: #666;
    font-size: 14px;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.card_specs {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.spec {
    font-size: 12px;
    color: #888;
    background: #f8f9ff;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    display: inline-block;
}

.card_price {
    font-size: 1.5rem;
    font-weight: 800;
    color: #333;
    margin-bottom: 0.5rem;
}

.card_rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.stars {
    color: #ffd700;
    font-size: 16px;
}

.rating_num {
    font-size: 14px;
    color: #666;
}

.card_actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.btn_detail,
.btn_quote {
    flex: 1;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn_detail {
    background: #f8f9ff;
    color: #667eea;
    border: 1px solid #e1e8ff;
}

.btn_detail:hover {
    background: #667eea;
    color: #fff;
    transform: translateY(-2px);
}

.btn_quote {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: 1px solid #667eea;
}

.btn_quote:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn_wishlist {
    width: 40px;
    height: 40px;
    border: 1px solid #e1e8ff;
    border-radius: 50%;
    background: #fff;
    color: #ccc;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn_wishlist:hover,
.btn_wishlist.active {
    background: #ff6b6b;
    color: #fff;
    border-color: #ff6b6b;
    transform: scale(1.1);
}

/* Pagination */
.paginate {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin: 3rem 0;
}

.paginate a {
    padding: 0.75rem 1rem;
    border: 1px solid #e1e8ff;
    border-radius: 8px;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 44px;
    text-align: center;
}

.paginate a:hover {
    background: #f8f9ff;
    color: #667eea;
    border-color: #667eea;
}

.paginate a.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-color: #667eea;
}

.btn_pag {
    font-weight: 600;
}

.btn_pag.prev02,
.btn_pag.next02 {
    padding: 0.75rem 1.5rem;
}

/* Download Guide Button */
.btn_down_guide {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
    margin: 2rem auto;
    text-align: center;
}

.btn_down_guide:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.4);
}

.btn_down_guide span {
    font-size: 0.9em;
    opacity: 0.9;
    margin-left: 0.5rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .equipment_section .inner {
        padding: 0 1.5rem;
    }
    
    .equipment_grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    .tit_page {
        font-size: 2rem;
    }
    
    .result_info {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .sort {
        width: 100%;
        justify-content: space-between;
    }
    
    .view_change {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .equipment_section .inner {
        padding: 0 1rem;
    }
    
    .equipment_grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .row {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .type_sel {
        width: 100%;
        justify-content: space-between;
    }
    
    .type_sel select {
        flex: 1;
        min-width: auto;
    }
    
    .terms_window {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .terms_window input {
        width: 100%;
    }
    
    .tab_w {
        flex-wrap: wrap;
    }
    
    .paginate {
        flex-wrap: wrap;
        gap: 0.25rem;
    }
    
    .paginate a {
        padding: 0.5rem 0.75rem;
        min-width: 36px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .equipment_section {
        padding: 1rem 0 2rem;
    }
    
    .srch_box {
        padding: 1.5rem 1rem;
    }
    
    .equipment_card {
        margin: 0;
    }
    
    .card_actions {
        flex-direction: column;
    }
    
    .btn_detail,
    .btn_quote {
        flex: none;
        width: 100%;
    }
    
    .btn_wishlist {
        align-self: center;
        margin-top: 0.5rem;
    }
}
