/* ============================= */
/* 리스트 페이지 전용 스타일 */
/* ============================= */

/* ===== 페이지 컨테이너 ===== */
#wrap {
    background: linear-gradient(to bottom, transparent 120px, #f8fafc 120px);
    min-height: 100vh;
    padding: 0px 60px;
    max-width: 1600px;
    margin: 0 auto;
    padding-top: 120px; /* 헤더 높이만큼 상단 패딩 */
}

/* ===== 헤더 영역 ===== */
.header {
    text-align: center;
    margin-bottom: 40px;
    padding-top: 40px;
}

.mid-category-name {
    font-size: 42px;
    font-weight: 800;
    color: #2d3748;
    margin-bottom: 16px;
}

.header p {
    font-size: 18px;
    color: #4a5568;
    line-height: 1.6;
}

/* ===== 검색 및 정렬 영역 ===== */
.search-sort-bar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 20px;
    gap: 20px;
}

.record-count {
    order: 1;
}

.search-box {
    order: 2;
    display: flex;
    gap: 10px;
    align-items: center;
}

.search-box input {
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    width: 280px;
    outline: none;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.search-box input:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(70, 163, 86, 0.2);
}

.search-box button {
    padding: 12px 20px;
    background: var(--primary-green);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(70, 163, 86, 0.2);
}

.search-box button:hover {
    background: var(--primary-green-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(70, 163, 86, 0.3);
}

.record-count select {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 14px;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    min-width: 130px;
}

.record-count select:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(70, 163, 86, 0.2);
}

/* ===== 필터 바 ===== */
.filter-bar {
    margin-bottom: 40px;
    padding: 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.filter-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.sub-category-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.filter-btn {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #495057;
}

.filter-btn:hover, 
.filter-btn.active {
    background: var(--primary-green);
    color: white;
    border-color: var(--primary-green);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(70, 163, 86, 0.3);
}

/* ===== 상품 그리드 ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 40px;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
    cursor: pointer;
    position: relative;
    opacity: 0;
    animation: listFadeIn 0.6s ease forwards;
    border: 1px solid #f1f3f4;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.product-item-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* ===== 상품 이미지 ===== */
.product-image {
    width: 100%;
    height: 360px;
    position: relative;
    overflow: hidden;
    background-color: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

/* ===== PPS 배지 스타일 (개선된 크기) ===== */
.pps-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 48px;
    height: 48px;
    /*background: rgba(255, 255, 255, 0.95);*/
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.pps-badge img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.product-card:hover .pps-badge {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 1);
}

/* ===== 견적서 담기 버튼 ===== */
.inquiry-btn {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(70, 163, 86, 0.95);
    color: white;
    border: none;
    border-radius: 20px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 4;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(70, 163, 86, 0.3);
    opacity: 0;
    transform: translateY(10px);
}

.product-card:hover .inquiry-btn {
    opacity: 1;
    transform: translateY(0);
}

.inquiry-btn:hover {
    background: rgba(70, 163, 86, 1);
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(70, 163, 86, 0.4);
}

.inquiry-btn .btn-icon {
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
}

.inquiry-btn .btn-text {
    font-size: 11px;
    font-weight: 600;
}

/* 견적서 담기 버튼 - 추가됨 상태 */
.inquiry-btn.added {
    background: rgba(52, 168, 83, 0.95);
    transform: scale(1.1);
}

.inquiry-btn.added:hover {
    background: rgba(52, 168, 83, 1);
}

/* ===== 견적서 사이드바 ===== */
.inquiry-sidebar {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: transparent;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: visible;
}

/* 플로팅 탭 (기본 상태) */
.sidebar-floating-tab {
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-green), #52A365);
    border-radius: 50%;
    box-shadow: 0 8px 32px rgba(70, 163, 86, 0.3);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    transition: all 0.3s ease;
    z-index: 1002;
}

.sidebar-floating-tab:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 40px rgba(70, 163, 86, 0.4);
}

.floating-tab-icon {
    font-size: 20px;
    color: white;
}

.floating-tab-count {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-green);
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 700;
    min-width: 16px;
    text-align: center;
    line-height: 1.2;
    display: none;
}

/* 사이드바 확장 상태 */
.inquiry-sidebar.expanded {
    width: 320px;
    height: auto;
    max-height: 70vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
    bottom: 30px;
    right: 30px;
}

.inquiry-sidebar.expanded .sidebar-floating-tab {
    opacity: 0;
    pointer-events: none;
}

.sidebar-header {
    padding: 14px 16px;
    background: linear-gradient(135deg, var(--primary-green), #52A365);
    color: white;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(-10px);
}

.inquiry-sidebar.expanded .sidebar-header {
    opacity: 1;
    transform: translateY(0);
}

.sidebar-header:hover {
    background: linear-gradient(135deg, #3d8b4f, var(--primary-green));
}

.sidebar-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 14px;
}

.sidebar-icon {
    font-size: 16px;
}

.inquiry-count {
    background: rgba(255, 255, 255, 0.25);
    color: white;
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
    min-width: 20px;
    text-align: center;
    line-height: 1.2;
}

.sidebar-toggle {
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
}

.sidebar-content {
    max-height: calc(70vh - 60px);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(10px);
}

.inquiry-sidebar.expanded .sidebar-content {
    opacity: 1;
    transform: translateY(0);
}

.inquiry-list {
    padding: 16px;
    max-height: 400px;
    overflow-y: auto;
    display: none;
}

.inquiry-list::-webkit-scrollbar {
    width: 6px;
}

.inquiry-list::-webkit-scrollbar-track {
    background: #f1f3f4;
    border-radius: 3px;
}

.inquiry-list::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.inquiry-list::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

.inquiry-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    margin-bottom: 8px;
    background: rgba(248, 250, 252, 0.8);
    border-radius: 12px;
    border: 1px solid rgba(226, 232, 240, 0.5);
    transition: all 0.3s ease;
    opacity: 0;
    animation: slideInFromRight 0.5s ease forwards;
}

.inquiry-item:hover {
    background: rgba(241, 245, 249, 0.9);
    transform: translateX(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.inquiry-item-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.inquiry-item-image {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.inquiry-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.inquiry-item-details {
    flex: 1;
    min-width: 0;
}

.inquiry-item-title {
    font-size: 13px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.inquiry-item-spec {
    font-size: 11px;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.inquiry-item-remove {
    background: #fee2e2;
    color: #dc2626;
    border: none;
    border-radius: 8px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.inquiry-item-remove:hover {
    background: #fecaca;
    transform: scale(1.1);
}

.sidebar-actions {
    padding: 16px;
    border-top: 1px solid rgba(226, 232, 240, 0.5);
    display: flex;
    gap: 8px;
}

.btn-clear-all,
.btn-go-inquiry {
    flex: 1;
    padding: 10px 16px;
    border: none;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-clear-all {
    background: #fee2e2;
    color: #dc2626;
}

.btn-clear-all:hover {
    background: #fecaca;
    transform: translateY(-1px);
}

.btn-go-inquiry {
    background: var(--primary-green);
    color: white;
}

.btn-go-inquiry:hover {
    background: var(--primary-green-dark);
    transform: translateY(-1px);
}

.sidebar-empty {
    padding: 40px 20px;
    text-align: center;
    color: #64748b;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.empty-icon {
    font-size: 48px;
    opacity: 0.5;
}

.empty-text {
    font-size: 14px;
    font-weight: 600;
    color: #475569;
}

.empty-subtext {
    font-size: 12px;
    color: #94a3b8;
}

/* 애니메이션 */
@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== 토스트 메시지 ===== */
.toast-message {
    position: fixed;
    top: 100px;
    right: 30px;
    background: white;
    color: #2d3748;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    z-index: 9999;
    font-size: 14px;
    font-weight: 600;
    border-left: 4px solid #46A356;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
    max-width: 300px;
}

.toast-message.success {
    border-left-color: #46A356;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.toast-message.warning {
    border-left-color: #f59e0b;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
}

.toast-message.show {
    opacity: 1;
    transform: translateX(0);
}

/* ===== 오버레이 ===== */
.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.overlay-content {
    color: white;
    margin-bottom: 50px; /* 견적서 담기 버튼을 위한 여백 */
}

.overlay-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.overlay-spec {
    font-size: 14px;
    opacity: 0.9;
}

/* ===== 상품 정보 ===== */
.product-info {
    padding: 28px;
    text-align: center;
}

.product-brand {
    font-size: 12px;
    color: #a0aec0;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
    font-weight: 600;
}

.product-title {
    font-size: 19px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 14px;
    line-height: 1.3;
}

.product-spec {
    font-size: 13px;
    color: #666;
    margin-top: 8px;
}

/* ===== 상품 없음 메시지 ===== */
.product-empty-wrapper {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 100px 0;
}

.no-product-message {
    font-size: 18px;
    color: #888;
    text-align: center;
}

/* ===== 페이지네이션 ===== */
.pagination-container {
    margin-top: 60px;
    margin-bottom: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.pagination {
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 12px 20px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.pagination-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #4a5568;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-btn:hover:not(:disabled) {
    background: var(--primary-green);
    color: white;
    border-color: var(--primary-green);
}

.pagination-btn:disabled {
    background: #f8f9fa;
    color: #adb5bd;
    cursor: not-allowed;
    opacity: 0.6;
}

.pagination-numbers {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0 16px;
}

.pagination-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #4a5568;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-number:hover {
    background: #f8f9fa;
    color: #495057;
}

.pagination-number.active {
    background: var(--primary-green);
    color: white;
}

.pagination-dots {
    color: #a0aec0;
    font-weight: 600;
    padding: 0 8px;
}

.pagination-info {
    font-size: 14px;
    color: #4a5568;
    text-align: center;
}

.pagination-info strong {
    color: #2d3748;
    font-weight: 700;
}

/* ===== 애니메이션 ===== */
.loading {
    opacity: 0;
    animation: listFadeIn 0.6s ease forwards;
}

@keyframes listFadeIn {
    to {
        opacity: 1;
    }
}

/* ===== 반응형 디자인 ===== */
@media (min-width: 1400px) {
    .product-image {
        height: 400px;
    }
    
    .product-info {
        padding: 32px;
    }
    
    .product-title {
        font-size: 20px;
    }
    
    /* PPS 배지 - 큰 화면 */
    .pps-badge {
        width: 52px;
        height: 52px;
        top: 20px;
        right: 20px;
        border-radius: 14px;
    }
    
    .pps-badge img {
        width: 32px;
        height: 32px;
    }
    
    /* 견적서 담기 버튼 - 큰 화면 */
    .inquiry-btn {
        bottom: 20px;
        right: 20px;
        padding: 10px 14px;
        font-size: 13px;
    }
    
    .overlay-content {
        margin-bottom: 55px;
    }
}

@media (max-width: 1200px) {
    #wrap {
        padding: 0 40px;
        padding-top: 120px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .product-image {
        height: 320px;
    }
    
    .search-box input {
        width: 240px;
    }
    
    /* PPS 배지 - 중간 화면 */
    .pps-badge {
        width: 44px;
        height: 44px;
        top: 14px;
        right: 14px;
        border-radius: 10px;
    }
    
    .pps-badge img {
        width: 26px;
        height: 26px;
    }
    
    /* 견적서 담기 버튼 - 중간 화면 */
    .inquiry-btn {
        bottom: 14px;
        right: 14px;
        padding: 8px 12px;
    }
    
    .overlay-content {
        margin-bottom: 45px;
    }
}

@media (max-width: 768px) {
    #wrap {
        padding: 20px 30px;
        padding-top: 100px;
        background: linear-gradient(to bottom, transparent 100px, #f8fafc 100px);
    }
    
    .header {
        margin-bottom: 30px;
        padding-top: 20px;
    }
    
    .mid-category-name {
        font-size: 32px;
    }
    
    .header p {
        font-size: 16px;
    }
    
    .search-sort-bar {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 16px;
        align-items: flex-end;
    }
    
    .record-count {
        order: 1;
        align-self: flex-end;
    }
    
    .search-box {
        order: 2;
        width: 100%;
    }
    
    .search-box input {
        flex: 1;
        width: auto;
    }
    
    .filter-bar {
        padding: 16px;
        margin-bottom: 30px;
    }
    
    .filter-buttons {
        gap: 8px;
    }
    
    .sub-category-grid {
        gap: 8px;
    }
    
    .filter-btn {
        padding: 8px 16px;
        font-size: 13px;
        border-radius: 20px;
        min-width: auto;
        white-space: nowrap;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .product-card:hover {
        transform: translateY(-6px) scale(1.01);
    }
    
    .product-image {
        height: 280px;
    }
    
    .product-info {
        padding: 20px;
    }
    
    /* PPS 배지 - 태블릿 */
    .pps-badge {
        width: 40px;
        height: 40px;
        top: 12px;
        right: 12px;
        border-radius: 8px;
    }
    
    .pps-badge img {
        width: 24px;
        height: 24px;
    }
    
    /* 견적서 담기 버튼 - 태블릿 */
    .inquiry-btn {
        bottom: 12px;
        left: 12px;
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .inquiry-btn .btn-text {
        font-size: 11px;
    }
    
    .overlay-content {
        margin-bottom: 45px;
    }
    
    /* 토스트 메시지 - 태블릿 */
    .toast-message {
        top: 80px;
        right: 20px;
        max-width: 280px;
        font-size: 13px;
        padding: 14px 20px;
    }
    
    .pagination-container {
        margin-bottom: 60px;
    }
    
    .pagination {
        padding: 8px 12px;
        gap: 4px;
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .pagination::-webkit-scrollbar {
        display: none;
    }
    
    .pagination-btn {
        padding: 8px 10px;
        font-size: 13px;
        flex-shrink: 0;
    }
    
    .pagination-numbers {
        margin: 0 6px;
        gap: 2px;
        flex-shrink: 0;
    }
    
    .pagination-number {
        width: 34px;
        height: 34px;
        font-size: 13px;
        flex-shrink: 0;
    }
    
    /* 견적서 사이드바 - 태블릿 */
    .inquiry-sidebar {
        right: 15px;
        width: 320px;
        max-height: 70vh;
    }
    
    .sidebar-header {
        padding: 12px 14px;
    }
    
    .sidebar-title {
        font-size: 13px;
        gap: 6px;
    }
    
    .inquiry-count {
        padding: 2px 6px;
        font-size: 10px;
    }
    
    .inquiry-list {
        padding: 10px;
        max-height: 300px;
    }
    
    .inquiry-item {
        padding: 8px;
        margin-bottom: 5px;
    }
    
    .inquiry-item-image {
        width: 35px;
        height: 35px;
    }
    
    .inquiry-item-title {
        font-size: 11px;
    }
    
    .inquiry-item-spec {
        font-size: 9px;
    }
    
    .inquiry-item-remove {
        width: 24px;
        height: 24px;
    }
    
    .sidebar-actions {
        padding: 10px;
        gap: 5px;
    }
    
    .btn-clear-all,
    .btn-go-inquiry {
        padding: 7px 10px;
        font-size: 10px;
    }
    
    .sidebar-empty {
        padding: 25px 12px;
        gap: 8px;
    }
    
    .empty-icon {
        font-size: 32px;
    }
    
    .empty-text {
        font-size: 12px;
    }
    
    .empty-subtext {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    #wrap {
        padding: 20px 20px;
        padding-top: 90px;
        background: linear-gradient(to bottom, transparent 90px, #f8fafc 90px);
    }
    
    .header {
        padding-top: 10px;
    }
    
    .pagination-container {
        margin-bottom: 40px;
    }
    
    .mid-category-name {
        font-size: 28px;
    }
    
    .search-sort-bar {
        gap: 10px;
        margin-bottom: 14px;
        align-items: flex-end;
    }
    
    .record-count {
        align-self: flex-end;
    }
    
    .search-box input {
        padding: 10px 14px;
        font-size: 13px;
    }
    
    .search-box button {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .record-count select {
        padding: 10px 14px;
        font-size: 13px;
        min-width: 120px;
    }
    
    .filter-bar {
        padding: 14px;
        margin-bottom: 25px;
    }
    
    .filter-buttons {
        gap: 6px;
    }
    
    .sub-category-grid {
        gap: 6px;
    }
    
    .filter-btn {
        padding: 6px 12px;
        font-size: 12px;
        border-radius: 16px;
        min-width: auto;
        white-space: nowrap;
        line-height: 1.2;
    }
    
    .pagination {
        padding: 6px 8px;
        gap: 3px;
        border-radius: 12px;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .pagination::-webkit-scrollbar {
        display: none;
    }
    
    .pagination-btn {
        padding: 6px 8px;
        font-size: 12px;
        flex-shrink: 0;
        min-width: 60px;
    }
    
    .pagination-numbers {
        margin: 0 4px;
        gap: 1px;
        flex-shrink: 0;
    }
    
    .pagination-number {
        width: 32px;
        height: 32px;
        font-size: 12px;
        flex-shrink: 0;
    }
    
    .pagination-dots {
        padding: 0 4px;
        flex-shrink: 0;
    }
    
    .product-image {
        height: 240px;
    }
    
    .product-title {
        font-size: 16px;
    }
    
    .product-info {
        padding: 16px;
    }
    
    /* PPS 배지 - 모바일 */
    .pps-badge {
        width: 36px;
        height: 36px;
        top: 10px;
        right: 10px;
        border-radius: 6px;
    }
    
    .pps-badge img {
        width: 22px;
        height: 22px;
    }
    
    /* 견적서 담기 버튼 - 모바일 */
    .inquiry-btn {
        bottom: 10px;
        right: 10px;
        padding: 6px 8px;
        font-size: 10px;
        border-radius: 16px;
    }
    
    .inquiry-btn .btn-icon {
        font-size: 12px;
    }
    
    .inquiry-btn .btn-text {
        font-size: 9px;
    }
    
    .overlay-content {
        margin-bottom: 35px;
        padding: 16px;
    }
    
    .overlay-title {
        font-size: 16px;
    }
    
    .overlay-spec {
        font-size: 13px;
    }
    
    /* 견적서 사이드바 - 모바일 */
    .inquiry-sidebar {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    
    .sidebar-floating-tab {
        width: 50px;
        height: 50px;
    }
    
    .floating-tab-icon {
        font-size: 16px;
    }
    
    .floating-tab-count {
        padding: 1px 4px;
        font-size: 8px;
        min-width: 14px;
    }
    
    .inquiry-sidebar.expanded {
        width: calc(100vw - 40px);
        max-width: 280px;
        max-height: 60vh;
        bottom: 20px;
        right: 20px;
        border-radius: 16px;
    }
    
    .sidebar-header {
        padding: 12px 16px;
    }
    
    .sidebar-title {
        font-size: 13px;
        gap: 6px;
    }
    
    .sidebar-icon {
        font-size: 16px;
    }
    
    .inquiry-count {
        padding: 2px 6px;
        font-size: 10px;
        min-width: 20px;
    }
    
    .sidebar-content {
        max-height: calc(60vh - 50px);
    }
    
    .inquiry-list {
        padding: 10px;
        max-height: 280px;
    }
    
    .inquiry-item {
        padding: 8px;
        margin-bottom: 4px;
        border-radius: 10px;
    }
    
    .inquiry-item-info {
        gap: 8px;
    }
    
    .inquiry-item-image {
        width: 35px;
        height: 35px;
        border-radius: 6px;
    }
    
    .inquiry-item-title {
        font-size: 11px;
    }
    
    .inquiry-item-spec {
        font-size: 9px;
    }
    
    .inquiry-item-remove {
        width: 24px;
        height: 24px;
        border-radius: 6px;
    }
    
    .sidebar-actions {
        padding: 10px;
        gap: 6px;
        flex-direction: column;
    }
    
    .btn-clear-all,
    .btn-go-inquiry {
        padding: 8px 12px;
        font-size: 10px;
        border-radius: 8px;
    }
    
    .sidebar-empty {
        padding: 24px 12px;
        gap: 8px;
    }
    
    .empty-icon {
        font-size: 32px;
    }
    
    .empty-text {
        font-size: 12px;
    }
    
    .empty-subtext {
        font-size: 10px;
    }
    
    /* 토스트 메시지 - 사이드바와 겹치지 않도록 */
    .toast-message {
        bottom: 110px;
        top: auto;
        right: 30px;
    }
}