/* 리플렛 전용 스타일 */

/* 네비게이션 스타일 - 책자와 동일하게 수정 */
.item-nav2 {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 8px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    border: 1px solid #dee2e6;
}

.itn_txt {
    font-size: 13px;
    color: #495057;
    font-weight: 500;
}

.itn_txt a {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
}

.itn_txt a:hover {
    text-decoration: underline;
}

/* 상품 썸네일 영역 스타일 */
.right_table {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    padding: 16px;
    margin-bottom: 12px;
    border: 1px solid #e9ecef;
}

#sit_pvi {
    text-align: center;
}

.imgframe {
    position: relative;
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e9ecef;
    margin-bottom: 12px;
}

.img-wrap {
    position: relative;
    width: 100%;
    padding-bottom: 100%; /* 정사각형 비율 */
}

.img-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#sit_pvi_big {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#sit_pvi_big img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

#sit_pvi_big a:hover img {
    transform: scale(1.05);
}

/* 작은 썸네일들 */
#sit_pvi_thumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.img_thumb {
    width: 60px;
    height: 60px;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

.img_thumb:hover {
    border-color: #007bff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.15);
}

.img_thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sound_only {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* 이미지가 없을 때 */
#sit_pvi_big img[src*="no_image.gif"] {
    max-width: 200px;
    opacity: 0.6;
}

/* 메인 폼 컨테이너 스타일 개선 */
.s_form {
    background: #f8f9fa;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.left_table {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    padding: 12px;
    margin-bottom: 6px;
    border: 1px solid #e9ecef;
}

/* 섹션 제목 스타일 */
.left_table h2 {
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 8px 0;
    padding-bottom: 6px;
    border-bottom: 3px solid #3498db;
    letter-spacing: -0.5px;
    line-height: 1.1;
}

/* 테이블 전체 스타일 개선 */
.tb1 {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 4px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #dee2e6;
}

.tb1 th {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #495057;
    font-weight: 600;
    font-size: 13px;
    padding: 6px 12px;
    text-align: left;
    border-bottom: 1px solid #dee2e6;
    white-space: nowrap;
    min-width: 120px;
    letter-spacing: -0.3px;
    line-height: 1.2;
}

.tb1 td {
    padding: 6px 12px;
    background: white;
    border-bottom: 1px solid #f1f3f4;
    vertical-align: middle;
    line-height: 1.2;
}

.tb1 tr:last-child th,
.tb1 tr:last-child td {
    border-bottom: none;
}

/* 입력 필드 스타일 */
.tb_input {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0 8px;
    font-size: 13px;
    color: #333;
    background-color: #fff;
    font-family: inherit;
    outline: none;
    box-sizing: border-box;
    height: 34px;
    line-height: normal;
    vertical-align: middle;
    display: inline-flex;
    align-items: center;
    font-weight: normal;
    letter-spacing: normal;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.tb_input:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.tb_input:hover {
    border-color: #aaa;
}

.tb_input[readonly] {
    background-color: #f5f5f5;
    color: #666;
    cursor: not-allowed;
}

/* 셀렉트박스 스타일 */
select {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0 22px 0 8px;
    font-size: 13px;
    color: #333;
    background-color: #fff;
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 4 5"><path fill="%23666" d="M2 0L0 2h4zm0 5L0 3h4z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 6px center;
    background-size: 6px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    font-family: inherit;
    outline: none;
    cursor: pointer;
    box-sizing: border-box;
    height: 34px;
    line-height: normal;
    vertical-align: middle;
    display: inline-flex;
    align-items: center;
    font-weight: normal;
    letter-spacing: normal;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

select:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

select:hover {
    border-color: #aaa;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .left_table {
        padding: 8px;
        margin: 4px;
        border-radius: 8px;
    }
    
    /* 상품 썸네일 모바일 스타일 */
    .right_table {
        padding: 12px;
        margin: 4px;
        border-radius: 8px;
    }
    
    .imgframe {
        border-radius: 8px;
        margin-bottom: 8px;
    }
    
    #sit_pvi_thumb {
        gap: 6px;
        margin-top: 8px;
    }
    
    .img_thumb {
        width: 50px;
        height: 50px;
        border-radius: 6px;
    }
    
    .img_thumb:hover {
        transform: none; /* 모바일에서는 hover 효과 제거 */
    }
    
    #sit_pvi_big img[src*="no_image.gif"] {
        max-width: 150px;
    }
    
    .tb1 th,
    .tb1 td {
        padding: 4px 8px;
        font-size: 12px;
    }
    
    .tb_input,
    select {
        font-size: 12px;
        padding: 6px 8px;
        height: 32px;
        font-family: inherit;
        font-weight: normal;
    }
    
    select {
        padding-right: 26px;
    }
    
    /* 견적 카드 반응형 */
    .estimate-cards-container {
        flex-direction: column;
        gap: 8px;
    }
    
    .estimate-card {
        margin: 0;
    }
    
    .card-header {
        padding: 8px 12px 6px;
    }
    
    .card-content {
        padding: 8px;
    }
    
    .price-amount {
        font-size: 24px;
    }
    
    .best-price-badge {
        top: 4px;
        right: 4px;
        padding: 3px 6px;
        font-size: 10px;
    }
    
    /* 파일 업로드 반응형 */
    .custom-file-upload {
        flex-direction: column;
        align-items: stretch;
    }
    
    .file-status {
        text-align: center;
    }
    
    #sit_pvi_thumb {
        justify-content: center;
    }
}

/* 후가공 옵션 레이아웃 스타일 */
.width00 {
    display: inline-block;
    margin-right: 8px;
    vertical-align: middle;
}

.width01 {
    display: inline-block;
    margin: 0 4px;
    vertical-align: top;
    line-height: 1;
}

.width02 {
    display: inline-block;
    width: 20px;
    text-align: center;
    vertical-align: top;
    line-height: 32px; /* input 필드의 높이와 맞춤 */
    font-weight: bold;
    color: #6c757d;
    font-size: 14px;
    margin: 0 2px;
}

.width01 input[type="text"] {
    vertical-align: middle;
    height: 30px;
    line-height: 30px;
    padding: 1px 6px;
}

/* 별색 관련 스타일 */
#leafletSpotColorScope,
#leafletSpotColorSpecies {
    margin-left: 6px;
    width: auto;
    min-width: 80px;
}

#leafletSpotColorNumSpan {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

#leafletSpotColorNumSpan input {
    width: 120px;
    margin-left: 5px;
}

/* 인쇄면 옵션 컨테이너 */
.tb1 td div {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.tb1 td div select {
    flex-shrink: 0;
}

/* 파일 업로드 영역 모던 리디자인 - 책자와 동일 */
.file-upload-container {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 0;
    margin: 6px 0;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
    border: none;
}

.file-upload-container .tb1 {
    margin: 0;
    border: none;
    box-shadow: none;
    background: transparent;
}

.file-upload-container .tb1 th {
    background: linear-gradient(135deg, #343a40 0%, #495057 100%) !important;
    color: white !important;
    font-weight: 600;
    font-size: 14px;
    border: none !important;
    padding: 12px 16px;
}

/* 더 강력한 셀렉터로 추가 */
div.file-upload-container table.tb1 th {
    background: linear-gradient(135deg, #343a40 0%, #495057 100%) !important;
    color: white !important;
}

.file-upload-container td {
    background: rgba(255, 255, 255, 0.95) !important;
    border: none !important;
    padding: 12px;
}

/* 커스텀 파일 입력 버튼 */
.custom-file-upload {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.file-input-wrapper {
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.file-input-wrapper input[type=file] {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

.file-upload-btn {
    background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 8px rgba(66, 153, 225, 0.3);
    letter-spacing: -0.025em;
    line-height: 1.1;
}

.file-upload-btn:hover {
    background: linear-gradient(135deg, #3182ce 0%, #2c5282 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(66, 153, 225, 0.4);
}

.file-upload-btn i {
    font-size: 14px;
}

.file-status {
    background: #f7fafc;
    border: 2px dashed #cbd5e0;
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 12px;
    color: #4a5568;
    min-width: 170px;
    display: flex;
    align-items: center;
    gap: 5px;
    line-height: 1.1;
}

.file-status.has-file {
    background: #f0fff4;
    border-color: #68d391;
    color: #276749;
}

.file-status i {
    font-size: 14px;
}

.file-delete-btn {
    background: #fed7d7;
    color: #c53030;
    border: 1px solid #feb2b2;
    padding: 3px 6px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1.1;
}

.file-delete-btn:hover {
    background: #fc8181;
    color: white;
    border-color: #f56565;
}

.file-note {
    color: #718096;
    font-size: 11px;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 3px;
    line-height: 1.1;
}

.file-note i {
    color: #f6ad55;
}

/* 파일 드래그 앤 드롭 스타일 */
.file-drop-zone {
    border: 2px dashed #cbd5e0;
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    background: #f7fafc;
    margin-top: 6px;
    transition: all 0.2s ease;
}

.file-drop-zone.dragover {
    border-color: #4299e1;
    background: #ebf8ff;
    color: #2b6cb0;
}

.file-drop-zone p {
    margin: 0;
    color: #718096;
    font-size: 12px;
    line-height: 1.1;
}

.file-drop-zone i {
    font-size: 18px;
    color: #a0aec0;
    margin-bottom: 4px;
}

/* 업로드 진행률 바 */
.upload-progress {
    width: 100%;
    height: 3px;
    background: #e2e8f0;
    border-radius: 2px;
    overflow: hidden;
    margin-top: 4px;
    display: none;
}

.upload-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #4299e1 0%, #3182ce 100%);
    transition: width 0.3s ease;
}

/* 상품 상세 정보 섹션 스타일 */
.product-detail-section {
    margin-top: 20px;
}

.product-detail-content {
    margin-top: 16px;
}

.product-info-tabs {
    width: 100%;
}

.tab-buttons {
    display: flex;
    border-bottom: 2px solid #e9ecef;
    margin-bottom: 20px;
    gap: 0;
}

.tab-btn {
    flex: 1;
    padding: 12px 16px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-bottom: none;
    color: #6c757d;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px 8px 0 0;
    margin-right: 2px;
}

.tab-btn:last-child {
    margin-right: 0;
}

.tab-btn.active {
    background: white;
    color: #3498db;
    border-color: #3498db;
    border-bottom: 2px solid white;
    position: relative;
    z-index: 2;
    margin-bottom: -2px;
}

.tab-btn:hover:not(.active) {
    background: #e9ecef;
    color: #495057;
}

.tab-content {
    display: none;
    padding: 20px;
    background: white;
    border-radius: 0 0 8px 8px;
    min-height: 200px;
}

.tab-content.active {
    display: block;
}

/* 상세설명 탭 스타일 */
.product-description {
    line-height: 1.6;
    color: #333;
}

.it-basic-content {
    font-size: 14px;
}

.no-content h3 {
    color: #2c3e50;
    margin-bottom: 12px;
    font-size: 18px;
}

.no-content p {
    margin-bottom: 16px;
    font-size: 14px;
    color: #666;
}

.no-content ul {
    list-style: none;
    padding: 0;
    margin: 16px 0;
}

.no-content li {
    padding: 8px 0;
    font-size: 14px;
    color: #555;
}

/* 제품사양 탭 스타일 */
.spec-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
}

.spec-table th {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #495057;
    font-weight: 600;
    font-size: 13px;
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #dee2e6;
    width: 140px;
    min-width: 140px;
}

.spec-table td {
    padding: 12px 16px;
    background: white;
    border-bottom: 1px solid #f1f3f4;
    color: #333;
    font-size: 13px;
    line-height: 1.4;
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
    border-bottom: none;
}

/* Q&A 탭 스타일 */
.product-qna {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.qna-item {
    padding: 16px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.qna-item h4 {
    color: #2c3e50;
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.qna-item p {
    color: #555;
    font-size: 13px;
    margin: 0;
    line-height: 1.5;
}

/* 반응형 디자인 - 상품 상세 */
@media (max-width: 768px) {
    .tab-buttons {
        flex-direction: column;
        gap: 2px;
    }
    
    .tab-btn {
        border-radius: 6px;
        margin-right: 0;
        margin-bottom: 2px;
    }
    
    .tab-btn.active {
        margin-bottom: 2px;
    }
    
    .tab-content {
        padding: 16px;
        border-radius: 6px;
    }
    
    .spec-table th {
        width: 100px;
        min-width: 100px;
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .spec-table td {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .qna-item {
        padding: 12px;
    }
    
    .qna-item h4 {
        font-size: 13px;
    }
    
    .qna-item p {
        font-size: 12px;
    }
}

/* 컴팩트한 플로팅 견적서 스타일 - wing_right_form 위치에 배치 */
.modern-estimate-wing {
    position: static; /* wing_right_form 안에서는 static 포지션 */
    width: 100%; /* 부모 컨테이너에 맞춤 */
    background: white;
    border-radius: 12px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
    border: 1px solid #e9ecef;
    z-index: auto;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 12px; /* 전체 폰트 크기 줄임 */
    margin-bottom: 10px; /* wing_right_form과의 간격 */
}

/* wing_right_form 스타일 오버라이드 */
.wing_right_form.modern-estimate-wing {
    border: 1px solid #e9ecef !important; /* 기존 검은 테두리 제거 */
    border-radius: 12px !important;
    padding: 0 !important;
    background: white !important;
}

.wing-header {
    background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
    color: white;
    padding: 10px 12px;
    text-align: center;
}

.wing-header h3 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.wing-content {
    padding: 0;
}

/* 견적 상세 정보 - 컴팩트 버전 */
.estimate-details {
    padding: 12px;
}

.detail-row, .subtotal-row, .total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
    border-bottom: 1px solid #f1f3f4;
}

.detail-row .label, .subtotal-row .label, .total-row .label {
    font-size: 11px;
    color: #6c757d;
    font-weight: 500;
}

.detail-row .value, .subtotal-row .value {
    font-size: 11px;
    color: #2d3748;
    font-weight: 600;
}

.subtotal-row {
    border-bottom: 2px solid #e9ecef;
    margin-top: 6px;
    padding-top: 8px;
}

.subtotal-row .label, .subtotal-row .value {
    font-weight: 600;
    color: #495057;
    font-size: 12px;
}

.total-row {
    border-bottom: none;
    margin-top: 6px;
    padding: 8px 0 0 0;
    border-top: 2px solid #4a5568;
}

.total-row .label {
    font-size: 13px;
    font-weight: 700;
    color: #2d3748;
}

.total-row .value.total-price {
    font-size: 14px;
    font-weight: 700;
    color: #e53e3e;
    letter-spacing: -0.5px;
}

/* 버튼 영역 - 컴팩트 */
.wing-buttons {
    padding: 12px;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.wing-btn {
    width: 100%;
    padding: 8px 12px;
    border: none;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: -0.3px;
}

.wing-btn.primary {
    background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
    color: white;
    box-shadow: 0 2px 6px rgba(66, 153, 225, 0.3);
}

.wing-btn.primary:hover {
    background: linear-gradient(135deg, #3182ce 0%, #2c5282 100%);
    transform: translateY(-1px);
    box-shadow: 0 3px 9px rgba(66, 153, 225, 0.4);
}

.wing-btn.secondary {
    background: white;
    color: #4a5568;
    border: 1px solid #e2e8f0;
}

.wing-btn.secondary:hover {
    background: #f7fafc;
    border-color: #cbd5e0;
    transform: translateY(-1px);
}

/* 반응형 디자인 - 컴팩트 버전 */
@media (max-width: 1200px) {
    .modern-estimate-wing {
        position: static;
        width: 100%;
        margin: 10px 0;
        border-radius: 12px;
    }
}

@media (max-width: 768px) {
    .modern-estimate-wing {
        margin: 10px 0;
        border-radius: 8px;
        width: 100%;
        position: static;
    }
    
    .wing-header {
        padding: 10px 12px;
    }
    
    .wing-header h3 {
        font-size: 14px;
    }
    
    .estimate-details {
        padding: 12px;
    }
    
    .detail-row .label, .detail-row .value {
        font-size: 11px;
    }
    
    .subtotal-row .label, .subtotal-row .value {
        font-size: 12px;
    }
    
    .total-row .label {
        font-size: 13px;
    }
    
    .total-row .value.total-price {
        font-size: 14px;
    }
}

/* 견적 비교 카드 스타일 - 복구 */
.estimate-comparison-wrapper {
    margin: 10px 0;
    padding: 0;
}

.estimate-cards-container {
    display: flex;
    gap: 12px;
    margin-bottom: 10px;
}

.estimate-card {
    flex: 1;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f1f5f9;
}

.estimate-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.card-header {
    padding: 12px 16px 8px;
    border-bottom: 1px solid #f1f5f9;
    position: relative;
}

.digital-header {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
}

.offset-header {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

/* 최저가 배지 스타일 */
.best-price-badge {
    position: absolute;
    top: 6px;
    right: 8px;
    background: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%);
    color: #8b4513;
    padding: 5px 8px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
    border: 2px solid #fff;
    animation: bestPricePulse 2s infinite;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    line-height: 1;
    min-height: 18px;
}

.best-price-badge i {
    font-size: 12px;
    color: #ffd700;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    line-height: 1;
    display: flex;
    align-items: center;
}

.best-price-badge span {
    color: #8b4513;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.5);
    line-height: 1;
    font-weight: 700;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
}

@keyframes bestPricePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
    }
}

.card-title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.1;
}

.card-content {
    padding: 12px;
}

.price-section {
    margin-bottom: 16px;
}

.main-price {
    margin-bottom: 4px;
}

.price-amount {
    font-size: 28px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.05;
    letter-spacing: -0.025em;
    display: block;
}

.digital-card .price-amount {
    color: #1e293b;
}

.offset-card .price-amount {
    color: #1e293b;
}

.unit-price {
    margin-top: 2px;
}

.unit-text {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
    line-height: 1.1;
}

.button-section {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.estimate-card button {
    width: 100%;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: -0.025em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    line-height: 1.1;
}

.estimate-card button i {
    font-size: 12px;
}

.btn-estimate {
    background: #f8fafc;
    color: #475569;
    border: 1px solid #e2e8f0 !important;
}

.btn-estimate:hover {
    background: #f1f5f9;
    color: #334155;
    transform: translateY(-1px);
}

.btn-cart {
    color: white;
    border: none !important;
}

.btn-digital {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.btn-digital:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    transform: translateY(-1px);
}

.btn-offset {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.btn-offset:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    transform: translateY(-1px);
}

.btn-order {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none !important;
}

.btn-order:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-1px);
}

/* 반응형 디자인 */ 