/* 기본 스타일 초기화 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans KR', 'Malgun Gothic', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
}

.required {
    color: #ff4757;
    font-weight: 700;
}

/* ========================================
    리스트 페이지 스타일 (list.skin.php)
    ======================================== */

.rentcar-list-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 20px;
}

/* 게시판 헤더 (글쓰기 버튼 포함) */
.board-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.board-title {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}

.btn-write {
    display: inline-block;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: #4169e1;
    border-radius: 6px;
    transition: background 0.3s;
}

.btn-write:hover {
    background: #3558c9;
}

/* 필터링 섹션 */
.filter-section {
    background: #fff;
    margin-bottom: 30px;
    border-radius: 8px;
}

/* 탭 메뉴 */
.tab-menu {
    display: flex;
    margin-bottom: 20px;
    align-items: flex-end;
    background-color: #2a2c30;
}

.tab-item {
    padding: 16px 24px;
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    background-color:#4169e1;
    transition: all 0.3s;
    width: 50%;
    text-align: center;
    border-radius: 0 8px 0 0;
}

.tab-item.active {
    color: #4169e1;
    background-color:#fff;
    font-weight:800;
}

.tab-item01 {
    border-radius: 8px 0 0 0;
}

.tab-item02 {
    border-radius:0 8px 0 0;
}

.tab-item.active01 {
    border-radius: 8px 0 0 0;
}

.tab-item.active02 {
    border-radius: 0 8px 0 0;
}

/* 즉시출고 필터 */
.instant-filter {
    margin-bottom: 15px;
}

.instant-checkbox {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
}

.instant-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    cursor: pointer;
}

/* 차종 필터 */
.type-filter {
    display: flex;
    gap: 10px;
    padding: 0 20px;
    margin-bottom: 15px;
}

.filter-btn {
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 500;
    color: #ddd;
    background: #fff;
    border: 2px solid #ddd;
    border-radius: 20px;
    transition: all 0.3s;
}

.filter-btn:hover {
    color: #4169e1;
    background: #fff;
    border-color: #4169e1;
}

.filter-btn.active {
    color: #4169e1;
    background: #fff;
    border-color: #4169e1;
    font-weight:700;
}

/* 브랜드 필터 */
.brand-filter {
    display: flex;
    padding: 0 20px;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.brand-item {
    padding: 8px 16px;
    max-width:114px;
    font-size: 16px;
    color: #666;
    background: #fff;
    border: 2px solid #ddd;
    border-radius: 16px;
    transition: all 0.3s;
    text-align:center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.brand-filter-more {
    text-align:center;
    box-shadow: 0px -9px 2px rgba(255, 255, 255, 0.7);
    position: relative;
    z-index: 1;
}

.brand-filter-more a {
    display:flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    padding: 8px 0;
}

.brand-filter-more a svg {
    width:20px;
}

.brand-item:nth-child(1) {
    display:none;
}

.brand-item:hover {
}

.brand-item.active {
    color: #4169e1;
    border-color: #4169e1;
    background: #fff;
    font-weight:800;
}

/* 차종 필터 */
.cartype-filter {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    border:1px solid #ddd;
    border-bottom:none;
}

.cartype-item {
    padding: 10px;
    font-size: 16px;
    color: #666;
    background: #fff;
    transition: all 0.3s;
    flex: 1;
    text-align:center;
}

.cartype-item:nth-child(1) {
    display:none;
}

.cartype-item:hover {
    color: #4169e1;
    font-weight: 700
}

.cartype-item.active {
    color: #4169e1;
    font-weight: 700
}

.ui-slider-horizontal {
    height:.4em;
}

.ui-slider-horizontal .ui-slider-handle {
    top:-0.45em;
}

.ui-widget-content {
    background:#e9e9e9;
}

.ui-widget-header {
    background: #4169e1;
}

.ui-slider .ui-slider-handle {
    border-radius:50%;
}

/* 차량 목록 */
.car-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.car-item {
    position: relative;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
}

.car-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.instant-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 6px 12px;
    background: #ff4757;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    border-radius: 4px;
    z-index: 10;
}

.instant-stock {
    position: absolute;
    top: 45px;
    left: 10px;
    padding: 4px 10px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 11px;
    border-radius: 4px;
    z-index: 10;
}

/* ===== 이미지 부분 수정 ===== */
.car-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.car-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s;
}

.car-item:hover .car-image img {
    transform: scale(1.02);
}

.car-info {
    padding: 16px;
}

.car-brand-logo {
    margin-bottom: 8px;
}

.brand-name {
    font-size: 12px;
    color: #666;
    font-weight: 500;
}

.car-model {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
}

.car-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 8px;
}

.price-label {
    font-size: 12px;
    color: #666;
}

.price-value {
    font-size: 20px;
    font-weight: 700;
    color: #4169e1;
}

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

.car-condition {
    font-size: 12px;
    color: #999;
}

.no-result {
    text-align: center;
    padding: 60px 20px;
    font-size: 16px;
    color: #999;
}

/* 게시판 푸터 */
.board-footer {
    text-align: center;
    padding: 20px 0;
}

/* 페이징 */
.pagination {
    text-align: center;
    padding: 20px 0;
}

/*빠른 상담신청 버튼 클릭시 레이어 팝업*/
#counselLayer { 
    display: none;
    position:fixed;
    left:50%;
    top:50%;
    z-index: 999;
    transform: translate(-50%,-50%);
    width:520px;
    height:auto;
    background-color: #fff;
    box-shadow: -2px -1px 18px rgba(0,0,0,0.1);
    border-radius: 18px;
}

#counselLayer .btnClose {
    position: absolute; 
    top: -38px;
    right: 5px;
    cursor: pointer;
}

#counselLayer .counsel_form{
     padding: 0 30px; 
}

#counselLayer .tit {
    display: block;
    margin: 44px 0 30px;
    font-weight: 400;
    font-size: 30px;
    color:#232323;
    text-align: center;
}

#counselLayer .tit b{
    font-weight:600;
    color: #4169e1;
}

#counselLayer .counsel_form li {
    display:flex;
    align-items:center;
    column-gap: 20px;
    margin-bottom: 20px;
}

#counselLayer .counsel_form li:first-child{
    align-items: flex-start;
  margin-bottom: 14px;
}

#counselLayer .counsel_form li .carName{
    height:40px;
    overflow: hidden;
    font-size: 17px;
    word-break: keep-all;
}

#counselLayer .counsel_form li label{
    flex-shrink: 0;
    flex-basis: 60px;
    font-size: 17px;
    font-weight:500;
}

#counselLayer .counsel_form li input {
    flex-grow: 1;
    padding:0 12px;
    height: 48px;
    border:1px solid #ebebeb;
    border-radius:4px;
    font-family: "Gmarket Sans";
    font-size: 16px;
    color:#232323
}

#counselLayer .counsel_form li input::placeholder {
    font-size:13px;
    color:#888
}

#counselLayer .checkArea {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding:0 30px;
    margin-bottom: 64px;
    gap:10px;
}

#counselLayer .checkArea div.chk_area {
    position: relative;
}

#counselLayer .checkArea > span {
    font-size:12px;
    cursor: pointer;
}

#counselLayer .checkArea div.chk_area input {
    position: absolute;
    width: 1px;
    height: 1px;
}

#counselLayer .checkArea div.chk_area input+label {
    position: relative;
    display: block;
    padding-left: 24px;
    font-size: 13px;
    line-height: 18px;
    cursor: pointer;
}

#counselLayer .checkArea div.chk_area input+label::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -2px;
    border: 1px solid #4169e1;
    border-radius: 4px;
    width: 18px;
    height: 18px;
    z-index: 100;
}

#counselLayer .checkArea div.chk_area input:checked+label::after {
    content: '';
    position: absolute;
    left: 1px;
    top: 4px;
    width: 12px;
    height: 9px;
    background: url('/theme/basic/img/ico_check.png') no-repeat left top;
    z-index: 100;
}

#counselLayer .btn_counsel {
    display: block;
    width: 100%;
    height: 64px;
    background-color: #4169e1;
    border-radius: 0 0 18px 18px;
    font-weight: 500;
    font-size: 22px;
    color: #fff;
    text-align: center;
    line-height: 64px;
}

.dimmed_layer{
    display: none;
    position: fixed;
    top:0;
    left:0;
    right:0;
    bottom:0;
    z-index: 998;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.5);
}

/* ========================================
    뷰 페이지 스타일 (view.skin.php)
    ======================================== */

.rentcar-view-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 20px;
}

/* 차량 헤더 */
.car-header {
    text-align: left;     
    padding: 0 30px;
    background-color: #fff;
    border-radius: 8px;
}

.car-header .car-brand-logo {
    margin: 10px 0 0;
}

.car-header .brand-name {
    font-size: 20px;
    color: #000;
    font-weight: 500;
    display: flex;
    gap: 15px;
    align-items: center;
}

.car-title {
    font-size: 28px;
    font-weight: 700;
    color: #000;
    margin-bottom: 5px;
    min-height: 80px;
}

.car-price-header {
    display: flex;
    justify-content: flex-end;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 10px;
}

.car-price-header .price-label {
    font-size: 14px;
    color: #000;
}

.car-price-header .price-value {
    font-size: 36px;
    font-weight: 700;
    color: #4169e1;
}

.car-header .car-condition {
    font-size: inherit;
    color: inherit;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 10px;
}

.car-header .car-condition span {
    font-size: 14px;
    color: #fff;
    background-color:#999;
    padding:5px 10px;
}

.instant-badge-large {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background: #ff4757;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    border-radius: 6px;
}

/* 차량 콘텐츠 (이미지 + 트림 선택) */
.car-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

/* 왼쪽: 차량 이미지 섹션 */
.car-image-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ===== 이미지 부분 수정 ===== */
.main-image {
    position: relative;
    width: 100%;
    height: 400px;
    background: #f5f5f5;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.image-gallery {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    width: 100%;
    min-height: 90px;
    background: #f5f5f5;
    border-radius: 8px;
    padding: 5px;
    scroll-behavior: smooth;
}

.gallery-item {
    flex: 0 0 100px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.gallery-item:hover {
    border-color: #4169e1;
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

/* 차량 스펙 아이콘 */
.car-specs-icons {
    display: flex;
    gap: 15px 0;
    padding: 20px 0;
    background: #f8f9fa;
    border-radius: 8px;
}

.spec-item {
    flex: 1;
    text-align: center;
}

.spec-icon {
    font-size: 24px;
    margin-bottom: 5px;
}

.spec-label {
    font-size: 11px;
    color: #999;
    margin-bottom: 3px;
}

.spec-value {
    font-size: 13px;
    font-weight: 600;
    color: #333;
}

/* 오른쪽: 트림 선택 섹션 */
.car-trim-section {
    display: flex;
    flex-direction: column;
}

.trim-notice {
    padding: 15px;
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 8px;
    font-size: 12px;
    color: #856404;
    margin-bottom: 10px;
}

.trim-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 500px;
    overflow-y: scroll;
    height: 260px;
}

.trim-item {
    display: flex;
    align-items: center;
    padding: 16px;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.trim-item:hover {
    border-color: #4169e1;
    background: #f8f9fa;
}

.trim-item.active {
    border-color: #4169e1;
    background: #e8f0fe;
}

.trim-item.active .trim-price {
    color:#4169e1;
}

.trim-item input[type="radio"] {
    margin-right: 12px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.trim-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.trim-name {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.trim-price {
    font-size: 16px;
    font-weight: 700;
    color: #000;
}

/* 차량 상세 설명 */
.car-description {
    margin-bottom: 40px;
}

.car-description h2 {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e0e0;
}

.view-content {
    line-height: 1.8;
    color: #555;
}

/* 상담 신청 폼 */
.consultation-form {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.consultation-form h2 {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.consultation-form .form-group {
    margin-bottom: 15px;
}

.consultation-form label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.consultation-form input[type="text"],
.consultation-form input[type="tel"] {
    width: 100%;
    padding: 12px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.consultation-form .btn-submit {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    background: #4169e1;
    border-radius: 6px;
    transition: background 0.3s;
}

.consultation-form .btn-submit:hover {
    background: #3558c9;
}

/* 뷰 버튼 */
.view-buttons {
    text-align: center;
    padding: 20px 0;
}

.btn-list {
    display: inline-block;
    padding: 12px 30px;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    transition: all 0.3s;
}

.btn-list:hover {
    background: #f0f0f0;
}

/* ========================================
    글쓰기 페이지 스타일 (write.skin.php)
    ======================================== */

.rentcar-write-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.rentcar-write-container h1 {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
}

.form-section {
    background: #fff;
    padding: 30px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    margin-bottom: 30px;
}

.form-section h2 {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.form-description {
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 12px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    transition: border 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: #4169e1;
}

textarea.form-control {
    resize: vertical;
}

.form-text {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #999;
}

/* 트림 입력 필드 */
.trim-item-input {
    margin-bottom: 15px;
    padding: 15px;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

.form-row {
    display: flex;
    gap: 15px;
    align-items: flex-end;
}

.form-col {
    flex: 1;
}

.form-col label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #333;
    margin-bottom: 5px;
}

.form-col-btn {
    flex: 0 0 auto;
}

.btn-remove-trim {
    padding: 10px 15px;
    font-size: 13px;
    font-weight: 500;
    color: #fff;
    background: #ff4757;
    border-radius: 6px;
    transition: background 0.3s;
}

.btn-remove-trim:hover {
    background: #e03e4a;
}

.btn-add-trim {
    display: inline-block;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    color: #4169e1;
    background: #fff;
    border: 2px dashed #4169e1;
    border-radius: 6px;
    transition: all 0.3s;
}

.btn-add-trim:hover {
    background: #e8f0fe;
}

/* 제출 버튼 */
.form-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    padding: 20px 0;
}

.btn-submit {
    padding: 14px 40px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    background: #4169e1;
    border-radius: 6px;
    transition: background 0.3s;
}

.btn-submit:hover {
    background: #3558c9;
}

.btn-cancel {
    padding: 14px 40px;
    font-size: 16px;
    font-weight: 500;
    color: #666;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    transition: all 0.3s;
}

.btn-cancel:hover {
    background: #f0f0f0;
}

/* ========================================
    반응형 디자인 (모바일)
    ======================================== */

@media (max-width: 768px) {
    /* 리스트 페이지 */
    .car-list {
        grid-template-columns: 1fr;
    }

    .tab-menu {
        margin-bottom:12px;
    }

    .tab-item {
        text-align: center;
        padding:10px;
        font-size:18px;
    }

    .type-filter {
        gap:6px;
        padding:0 14px;
        margin-bottom:10px;
    }

    .filter-btn {
        padding:4px 12px;
        border:1px solid #ddd;
    }

    .brand-filter {
        padding:0 14px;
    }

    .brand-item {
        font-size:14px;
        padding:4px 12px;
        border:1px solid #ddd;
        width:18%;
    }

    .board-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .cartype-filter {
        padding:12px 0;
    }

    .cartype-item {
        padding:4px;
        font-size:14px;
        width: 25%;
        flex: auto;
    }

    /* 뷰 페이지 */
    .car-content {
        grid-template-columns: 1fr;
    }

    .car-title {
        font-size: 22px;
    }

    .car-price-header .price-value {
        font-size: 28px;
    }

    .main-image {
        height: 300px;
    }

    .car-specs-icons {
        flex-wrap: wrap;
    }

    .spec-item {
        flex: 0 0 calc(20%);
    }

    /* 글쓰기 페이지 */
    .form-section {
        padding: 20px;
    }

    .form-row {
        flex-direction: column;
        align-items: stretch;
    }

    .form-col-btn {
        margin-top: 10px;
    }

    .form-buttons {
        flex-direction: column;
    }

    .btn-submit,
    .btn-cancel {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .rentcar-list-container,
    .rentcar-view-container,
    .rentcar-write-container {
        padding: 10px;
    }

    .filter-section {
        padding: 15px;
    }

    .brand-filter,
    .cartype-filter {
        gap: 5px;
    }

    .brand-item,
    .cartype-item {
        font-size: 12px;
        padding: 6px 12px;
    }

    .car-title {
        font-size: 20px;
    }

    .car-price-header .price-value {
        font-size: 24px;
    }
}

#gall_ul > li .gall_chk {position: absolute;top: 10px;left: 10px;z-index: 10;}
#gall_ul {display: flex;flex-wrap: wrap;gap: 50px 20px;}
#gall_ul > li {width: calc(25% - 15px);border-radius: 10px;overflow: hidden;position: relative;}
#gall_ul > li > .img-cont {width: 100%;background: #ffffff;}
#gall_ul > li > .img-cont > a {display: block;width: 100%;height: 100%;position: relative;}
#gall_ul > li > .img-cont > a::before {content: '';display: block;width: 0;padding-top: 59.65%;}
#gall_ul > li > .img-cont > a > img {width: auto;height: 100%;position: absolute;top: 0;left: 50%; transform:translate(-50%,0);}
#gall_ul > li > .img-cont > a > .no_image {color: #666;font-size: 18px;font-weight: 500;position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);}
#gall_ul > li > .tag {max-height: 30px;padding: 5px 12px;border-radius: 5px;box-sizing: border-box;background: var(--color1);color: #fff;font-size: 15px;font-weight: 600;position: absolute;top: 10px;right: 10px;}
#gall_ul > li .info-cont {padding: 20px;box-sizing: border-box;background: #FFF;}
#gall_ul > li .info-cont > .title {display: flex;justify-content: space-between;align-items: center;gap: 5px 10px;margin-bottom: 15px;padding-bottom: 5px;border-bottom: 1px solid rgba(0,0,0,.1);}
#gall_ul > li .info-cont > .title > .tit {width: 100%;font-family: var(--font-esamanru);font-size: 1.10em;font-weight: 300;display: -ms-flexbox;display: -webkit-box;text-overflow: ellipsis;-webkit-box-orient: vertical;overflow: hidden;-webkit-line-clamp: 1;}
#gall_ul > li .info-cont > .title > .brand {flex: 0 0 auto;display: flex;justify-content: flex-end;align-items: center;gap: 5px;width: 120px;}
#gall_ul > li .info-cont > .title > .brand > .img > img {height: 25px;}
#gall_ul > li .info-cont > .title > .brand > .txt {font-size: 14px;font-weight: 600;}
#gall_ul > li .price-info {margin-bottom: 15px;}
#gall_ul > li .price-info > ul > li {display: flex;justify-content: space-between;align-items: center;}
#gall_ul > li .price-info > ul > li > .tit {font-size: 16px;}
#gall_ul > li .price-info > ul > li.price > .txt {color: #777;font-size: 16px;}
#gall_ul > li .price-info > ul > li.rental > .txt {font-size: 18px;}
#gall_ul > li .price-info > ul > li.rental > .txt > span {color: var(--color1);font-size: 1.56em;font-weight: 600;}
#gall_ul > li .etc {display: flex;gap: 5px;margin-bottom: 15px;}
#gall_ul > li .etc > p {max-height: 28px;padding: 4px 20px;border-radius: 14px;background: #EBEBEB;font-size: 14px;}
#gall_ul > li .info-cont .btn-consult {display: flex;justify-content: center;align-items: center;width: 100%;height: 45px;border: 0;border-radius: 5px;background: var(--color1);color: #fff;font-size: 18px;font-weight: 600;line-height: 1.0;}
#gall_ul > li > .edit{font-size: 14px;font-weight: 500;color: #fff !important;background: #333;padding: 3px 6px;border-radius: 3px;cursor: pointer;position: absolute;top: 10px;right: 10px;z-index: 10;}

@media all and (max-width: 1399px){
    #gall_ul > li .info-cont > .title {flex-direction: column-reverse;align-items: normal;}
    #gall_ul > li .info-cont > .title > .brand {justify-content: normal;width: auto;}
    #gall_ul > li .etc > p {padding: 4px 12px;}
}

@media all and (max-width: 1199px){
    #gall_ul {gap: 30px 10px;}
    #gall_ul > li {width: calc(25% - 7.5px);}
    #gall_ul > li .price-info > ul > li.rental > .txt {font-size: 16px;}
    #gall_ul > li .price-info > ul > li.rental > .txt > span {font-size: 1.33em;}
}

@media all and (max-width: 1024px){
    #gall_ul {gap: 20px 10px;}
    #gall_ul > li {width: calc(50% - 5px);}
}

@media all and (max-width: 768px){
    #gall_ul {gap: 10px;}
}

@media all and (max-width: 640px){
    #gall_ul > li {width: 100%}
}

.detail-section {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.detail-section .section-title-detail {
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 30px;
    color: #212529;
}

.detail-section .spec-table {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.detail-section .spec-item {
    display: flex;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.detail-section .spec-label {
    min-width: 120px;
    font-weight: 700;
    color: #212529;
    font-size:18px;
    margin-bottom:0;
    text-align:left;
}

.detail-section .spec-value {
    color: #6c757d;
    font-size:18px;
}
