/**
 * Product List - Complete Styles
 * Combines page layout and component styles for product listing
 */

/* ==========================================
   PAGE LAYOUT STYLES
   ========================================== */

/* Page-specific styles for Product List Page */
.product-list-page-container {
    position: relative;
    z-index: 1;
    background: #ffffff;
}

.product-list-container {
    display: flex;
    gap: 40px;
}

.product-list-page-header {
    position: relative;
}

.product-list-content-section {
    max-width: 1200px;
    margin: auto;
    padding: 0px;
    margin-bottom: 64px;
    margin-top: 64px;
}

.container {
    max-width: 1440px;
    margin: 0;
    padding: 0 20px;
}

.page-intro-content {
    margin-bottom: 30px;
}

.admin-actions {
    margin-top: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #007cba;
}

.admin-link {
    display: inline-block;
    margin-right: 15px;
    padding: 8px 16px;
    background: #007cba;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.admin-link:hover {
    background: #005a87;
    color: white;
}

.product-list-additional-content {
    max-width: 1440px;
    margin: auto;
    padding: 40px 20px;
}


.product-list-component {
    max-width: 100%;
    /* 1239px + 40px padding on each side */
}

.product-list-title {
    margin: 24px 0 32px;
    font-family: 'Pretendard', sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 36px;
    line-height: 130%;
    letter-spacing: 0.035em;
    color: #242424;
    text-align: center;
}

.product-list-component .product-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 40px;
    gap: 40px;
}

.product-list-search {
    display: flex;
    align-items: center;
    flex: 1;
}

.product-list-component .product-list-header .product-list-section-title {
    margin: 0 !important;
    text-align: left !important;
    display: block;
    width: auto;

    font-weight: 700;
    line-height: 100%;
    width: 280px;
    height: 33px;
    font-size: 28px;
    letter-spacing: 0.035em;
}

.product-list-search input {
    flex: 1;
    height: 72px;
    outline: none;
    border: 1px solid #CACBCC;
    padding: 25.5px 24px;
    font-weight: 400;
    font-size: 18px;
    line-height: 100%;
    color: #242424;
}

.product-list-search input::placeholder {
    color: #C0C0C2;
}

.product-list-search button {
    width: 72px;
    height: 72px;
    cursor: pointer;
    background: var(--primary-color);
    border: none;
}

.section-description {
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5em;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

/* Table Design - Exact Figma Specs */
.product-table-wrapper {
    background: #C0C0C2;
    border-radius: 12px;
    overflow: hidden;
    width: 100%;
}

/* Product Total Display */
.product-total-text {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 30px;
}

.product-total-text .product-total-text-label {
    font-weight: 400;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 0.035em;
    color: #454545;
}

.product-total-text .count-number {
    color: #46B088;
    font-weight: 600;
    font-size: 25px;
    line-height: 100%;
    width: 27px;
    height: 100%;
    display: inline-flex;
    align-items: center;
}

.product-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0px 1px;
    background: transparent;
    border-radius: 12px;
    overflow: hidden;
    table-layout: fixed;
}

/* Table Header - Based on Figma Frame 1948755712 */
.product-table-header {
    background: #F5F5F5;
}

.product-table-header tr {
    background: #F5F5F5;
}

.product-table-header th {
    background: #F5F5F5;
    font-weight: 600;
    font-size: 20px;
    line-height: 1.5em;
    color: #060923;
    padding: 8px;
    text-align: center;
    height: 100px;
    vertical-align: middle;
    margin: 0;
    border: none;
    border-right: 1px solid #C0C0C2;
}

.product-table-header th:last-child {
    border-right: none;
}

/* Header Column Specifications */
.column-number {
    width: 10%;
    padding: 8px;
}

.column-image {
    width: 20%;
    padding: 8px;
}

.column-name {
    width: 70%;
    border-top-right-radius: 12px;
    padding: 8px 24px;
    text-align: left;
}

/* Table Body */
.product-table-body tr {
    background: #FFFFFF;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.product-table-body tr:hover {
    background: #f9f9f9;
}

.product-table-body tr:last-child .column-number {
    border-bottom-left-radius: 12px;
}

.product-table-body tr:last-child .column-name {
    border-bottom-right-radius: 12px;
}

.product-table-body td {
    background: #FFFFFF;
    padding: 8px;
    vertical-align: top;
    border: none;
}

.product-table-body td:last-child {
    border-right: none;
}

.product-table-body .column-number {
    padding: 8px;
    text-align: center;
    vertical-align: middle;
}

.product-table-body .column-image {
    padding: 8px;
    text-align: center;
    vertical-align: middle;
}

.product-table-body .column-name {
    padding: 8px 24px;
}

/* Product Number Styling */
.product-number {
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5em;
    color: #383838;
}

.product-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 186px;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid #F2F3F5;
}

/* Image and Info Styling */
.product-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-title {
    font-weight: 600;
    font-size: 24px;
    line-height: 1.5em;
    color: #46B088;
    margin: 0;
}

.product-description {
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5em;
    color: #060923;
}

.feature-item {
    margin: 0 0 8px 0;
    padding: 0;
}

/* Empty State */
.product-list-empty {
    text-align: center;
    padding: 80px 20px;
}

.empty-state {
    max-width: 400px;
    margin: 0 auto;
}

.empty-icon {
    color: #d1d5db;
    margin-bottom: 24px;
}

.empty-state h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.empty-state p {
    color: #6b7280;
    margin-bottom: 32px;
}

.btn-primary,
.btn-secondary {
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: #46B088;
    color: white;
}

.btn-primary:hover {
    background: #3a8f6e;
    color: white;
}

.btn-secondary {
    background: white;
    color: #4b5563;
    border: 1px solid #d1d5db;
}

.btn-secondary:hover {
    background: #f9fafb;
    color: #1a1a1a;
}

/* Modal Styles */
.product-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
}

.modal-content {
    position: relative;
    background: white;
    margin: 5% auto;
    max-width: 800px;
    border-radius: 12px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid #e5e7eb;
}

.modal-close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #6b7280;
}

.modal-body {
    padding: 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.modal-product-image img {
    width: 100%;
    border-radius: 8px;
}

.modal-footer {
    padding: 16px 24px;
    border-top: 1px solid #e5e7eb;
    text-align: right;
}

/* Animation and interactions */
.product-row {
    transition: all 0.2s ease;
}

.product-row:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.product-image {
    transition: transform 0.3s ease;
}

.product-row:hover .product-image {
    transform: scale(1.02);
}

body.modal-open {
    overflow: hidden;
}

/* ==========================================
   VIEW TOGGLE BUTTONS
   ========================================== */

.view-toggle-container {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: #F5F5F5;
    border-radius: 8px;
}

.view-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-toggle-btn.active {
    background: #FFFFFF;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.view-toggle-btn:hover {
    background: #FFFFFF;
}

.view-toggle-btn svg {
    width: 32px;
    height: 32px;
}

.view-toggle-btn.active svg path {
    fill: #46B088;
    stroke: #46B088;
}

.view-toggle-btn.active svg circle {
    fill: #46B088;
    stroke: #46B088;
}

.view-toggle-btn:not(.active) svg path {
    fill: #5B5B5C;
    stroke: #5B5B5C;
}

.view-toggle-btn:not(.active) svg circle {
    fill: #5B5B5C;
    stroke: #5B5B5C;
}

/* ==========================================
   READ MORE BUTTON
   ========================================== */

.btn-read-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 16px;
    background: transparent;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.5em;
    color: #000000;
    margin-top: 8px;
}

.btn-read-more:hover {
    background: rgba(0, 0, 0, 0.05);
    transform: translateX(2px);
}

.btn-read-more span {
    color: #000000;
}

.btn-read-more svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.btn-read-more:hover svg {
    transform: translateX(2px);
}

/* ==========================================
   PRODUCT TITLE COLOR UPDATE
   ========================================== */

.product-title {
    color: #060923 !important;
    font-weight: 700;
    font-size: 20px;
    line-height: 1.5em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

/* ==========================================
   GRID VIEW LAYOUT
   ========================================== */

.product-grid-container {
    width: 100%;
    /* Full viewport width */
    margin: 0;
    max-width: none;
    /* Remove max-width constraint */
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 320px);
    /* Fixed column width for consistency */
    background: transparent;
    width: 100%;
    max-width: 1400px;
    /* Limit max width */
    margin: 0 auto;
    padding: 0 40px;
    justify-content: center;
    /* Center the 4 columns */
    grid-row-gap: 32px;
}

.product-grid-item {
    /* Grid item - auto fits into 4 columns */
    background: #FFFFFF;
    border: 1px solid #F2F3F5;
    display: flex;
    flex-direction: column;
}

.product-grid-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    gap: 20px;
}

.product-grid-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    border: 1px solid #F2F3F5;
    flex-shrink: 0;
    background-color: #f5f5f5;
    padding: 16px;
}

.product-grid-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.product-grid-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
}

.product-grid-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.product-grid-title {
    color: #060923;
    font-weight: 700;
    font-size: 20px;
    line-height: 1.5em;
    text-transform: uppercase;
    margin: 0;
}

.product-grid-description {
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5em;
    flex: 1;
    height: 62px;
    overflow: hidden;
    display: -webkit-box;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.product-grid-description ul {
    list-style-type: disc !important;
    padding-left: 20px;
    margin: 10px 0;
}

.product-grid-description li {
    margin-bottom: 5px;
    line-height: 1.5;
}

.product-description ul {
    list-style-type: disc !important;
    padding-left: 20px;
    margin: 10px 0;
}

.product-description li {
    margin-bottom: 5px;
    line-height: 1.5;
}

.product-grid-actions {
    display: flex;
    align-items: flex-start;
}

/* ==========================================
   CARD DESIGN STYLES (FROM FIGMA)
   ========================================== */

/* Transform table into card design */
.product-table-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
    background: #FFFFFF;
}

.product-table {
    /* Keep table visible but transform with CSS */
    width: 100%;
}

.product-table-body {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* Ensure table rows are visible and styled as cards */
.product-table tbody {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.product-table tr {
    display: flex;
    background: #FFFFFF;
    border: 1px solid #F7F7FD;
    border-radius: 18px;
    box-shadow: 0px 2px 10px 0px rgba(185, 166, 189, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 20px;
    gap: 24px;
}

.product-row {
    display: flex;
    background: #FFFFFF;
    border: 1px solid #F7F7FD;
    border-radius: 18px;
    box-shadow: 0px 2px 10px 0px rgba(185, 166, 189, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 20px;
    gap: 24px;
}

.product-row:hover {
    transform: translateY(-2px);
    box-shadow: 0px 4px 20px 0px rgba(185, 166, 189, 0.15);
}

/* Hide table headers and numbers */
.product-table-header {
    display: none;
    /* Hide table headers */
}

.column-number {
    display: none;
    /* Hide number column */
}

.product-table td.column-number {
    display: none;
    /* Hide number column in table */
}

/* Transform image column into circular image */
.product-table td.column-image {
    flex-shrink: 0;
    width: 217.79px;
    height: 212px;
}

.column-image {
    flex-shrink: 0;
    width: 217.79px;
    height: 212px;
    border: none;
}

.product-image-container {
    width: 100%;
    height: 100%;
    border-radius: 5%;
    overflow: hidden;
    border: 1px solid #F2F3F5;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Transform content column */
.product-table td.column-name {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.column-name {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 100%;
}

.product-title {
    font-weight: 700;
    font-size: 20px;
    line-height: 1.5em;
    text-transform: uppercase;
    color: #060923;
    margin: 0;
}

.product-description {
    flex: 1;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5em;
    color: #060923;
}

.feature-item {
    margin: 0 0 8px 0;
    position: relative;
    padding-left: 20px;
}

.feature-item:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #46B088;
    font-weight: bold;
}

.product-actions {
    margin-top: auto;
}

.btn-read-more {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: transparent;
    border: none;
    border-radius: 100px;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.5em;
    color: #000000;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-read-more:hover {
    background-color: #f5f5f5;
}

.btn-read-more svg {
    width: 20px;
    height: 20px;
}

/* Ensure white background for entire page */
html,
body {
    background: #FFFFFF;
}

/* Product Filter Component */
.product-filter-component {
    width: 280px;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.filter-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

.filter-clear-btn {
    background: #f5f5f5;
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-clear-btn:hover {
    background: #e8e8e8;
    color: #333;
}

/* Accordion Styles */
.filter-accordion {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.filter-accordion-item {
    transition: all 0.3s ease;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
    border-bottom: 1px solid #CACBCC;
    padding-bottom: 25.5px;
    padding-top: 1.5px;
    height: 48px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 21px;
}

.category-name {
    font-size: 18px;
    font-weight: 500;
    line-height: 100%;
    letter-spacing: 0.035em;
}

.category-count {
    font-size: 13px;
    color: #666;
    font-weight: 400;
}

.accordion-header.active .category-count {
    color: rgba(255, 255, 255, 0.9);
}

.header-right {
    display: flex;
    align-items: center;
}

.accordion-icon {
    transition: all 0.3s ease;
}

.accordion-icon-down {
    display: block;
}

.accordion-icon-up {
    display: none;
}

.accordion-header.active .accordion-icon-down {
    display: none;
}

.accordion-header.active .accordion-icon-up {
    display: block;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: white;
}

.accordion-content.active {
    max-height: 500px;
}

.posts-list {
    overflow-y: auto;
    max-height: 384px;
}

.post-item {
    padding-top: 12px;
    padding-bottom: 12px;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    display: flex;
}

.post-item:last-child {
    margin-bottom: 0;
}

.post-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}


.post-checkbox {
    display: none;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    margin: 2px;
    border: 1px solid #D0D5DD;
    border-radius: 4px;
    position: relative;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.post-checkbox:checked+.checkbox-custom {
    background: #46B088;
    border-color: #46B088;
}

.post-checkbox:checked+.checkbox-custom::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 3px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.post-titles {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-height: 19px;
}

.post-title {
    display: flex;
    height: 100%;
    font-weight: 400;
    font-size: 16px;
    line-height: 130%;
    color: #454545;
}

.post-title-alt {
    color: #666;
    font-size: 12px;
    font-style: italic;
    opacity: 0.8;
}

.product-child-results {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.product-child-item {
    display: flex;
    background: #F5F5F5;
    padding: 24px;
    gap: 40px;
    cursor: pointer;
}

.product-child-content {
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    width: 100%;
    max-width: 752px;
    transition: box-shadow 0.2s;
    position: relative;
    flex: 1;
    justify-content: center;
}

.product-card-container {
    display: flex;
    align-items: center;
    gap: 24px;
}

.product-thumbnail-container {
    width: 140px;
    height: 100px;
}

.product-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-content-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    min-width: 0;
    width: 752px;
}

.product-list-card-title {
    font-weight: 500;
    font-size: 24px;
    line-height: 120%;
    padding-bottom: 16px;
    border-bottom: 1px solid #DEDFE0;
}

.product-types {
    font-size: 14px;
    color: #46B088;
    font-weight: 500;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.type-section {
    font-size: 13px;
    margin-top: 2px;
}

.product-list-card-button {
    display: flex;
    align-items: center;
    border-radius: 999px;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 40px;
    cursor: pointer;
}

.product-list-card-button-icon {
    width: 40px;
    height: 40px;
    display: block;
}

.product-list-card-button-icon svg {
    width: 40px;
    height: 40px;
}

.type-section {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    width: 100%;
}

.type-section-inci {
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    color: #454545;
    max-width: 40%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.type-section-psd {
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    color: #454545;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.type-section-separator {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--primary-color);
}

.product-child-item:hover {
    background: #E3F3ED;
}

.product-child-item:hover .product-list-card-title {
    color: #268F68;
    border-bottom: 1px solid #46B088;
}

.product-child-item:hover .type-section-inci {
    color: #242424;
}

.product-child-item:hover .type-section-psd {
    color: #242424;
}

.product-child-item:hover .product-list-card-button-icon svg {
    color: #268F68;
}

.product-child-item:hover .product-list-card-button svg path {
    stroke: #268F68 !important;
}
/* ==========================================
   NEW UTILITY CLASSES FOR INLINE STYLE REPLACEMENT
   ========================================== */

/* Product listing tab/chip/grid UI */
.product-list-content-section {
    max-width: none;
    margin: 0 0 80px;
    padding: 0;
}

.product-list-component {
    --listing-blue: var(--primary-color);
    --listing-yellow: #F9CF44;
    --listing-red: #FF2B2B;
    --listing-text: #242424;
    --listing-sub: #8D8D8F;
    --listing-dim: #C0C0C2;
    --listing-stroke: #E3E4E5;
    --listing-chip: #F5F5F5;
    color: var(--listing-text);
}

.product-list-search-hidden {
    display: none;
}

.nav-tab-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 80px;
    min-height: 45px;
    border-bottom: 0;
    position: relative;
}

.nav-tab-bar::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 100vw;
    height: 1px;
    background: var(--listing-stroke);
    transform: translateX(-50%);
}

.nav-tabs {
    display: flex;
    gap: 12px;
    align-items: center;
    min-height: 45px;
}

.mobile-filter-trigger {
    display: none;
}

.nav-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 45px;
    padding: 12px 24px;
    border: 0;
    border-bottom: 1.5px solid transparent;
    background: transparent;
    color: var(--listing-text);
    cursor: pointer;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.035em;
    position: relative;
    z-index: 1;
}

.nav-tab.active {
    color: var(--listing-blue);
    border-bottom-color: transparent;
    font-weight: 600;
}

.nav-tab.active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1.5px;
    background: var(--listing-blue);
}

.sort-dropdown {
    position: relative;
    flex-shrink: 0;
}

.mobile-sort-dropdown {
    display: none;
}

.sort-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 0;
    background: transparent;
    color: var(--listing-sub);
    cursor: pointer;
    font-size: 15px;
    letter-spacing: 0.035em;
}

.sort-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    display: none;
    flex-direction: column;
    min-width: 220px;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--listing-stroke);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    z-index: 20;
}

.sort-dropdown.active .sort-menu {
    display: flex;
}

.sort-menu-item {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 38px;
    padding: 8px 12px;
    border: 0;
    background: transparent;
    color: var(--listing-sub);
    cursor: pointer;
    font-family: 'Pretendard', sans-serif;
    font-size: 14px;
    line-height: 130%;
    letter-spacing: 0.035em;
    text-align: left;
}

.sort-menu-item:hover,
.sort-menu-item.active {
    color: var(--listing-text);
    background: #F5F5F5;
}

.product-search-inline {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
    gap: 12px;
    width: 140px;
    height: 24px;
    background: none;
    border: none;
    transition: width 0.2s ease;
}

.product-search-inline:focus-within {
    width: 260px;
}

.product-search-icon-action {
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    flex: none;
}

.product-search-icon-action svg {
    width: 24px;
    height: 24px;
    display: block;
}

.product-search-inline-input {
    width: 100%;
    min-width: 0;
    height: 24px;
    padding: 0;
    border: 0;
    outline: none;
    background: transparent;
    font-family: 'Pretendard', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 15px;
    line-height: 130%;
    letter-spacing: 0.035em;
    color: #8D8D8F;
}

.product-search-inline-input::placeholder {
    color: #8D8D8F;
}

.sort-icon {
    display: flex;
    flex-direction: column;
    gap: 3px;
    width: 18px;
}

.sort-icon span {
    display: block;
    height: 1.5px;
    background: var(--listing-sub);
    border-radius: 1px;
}

.sort-icon span:nth-child(2) {
    width: 66%;
}

.sort-icon span:nth-child(3) {
    width: 33%;
}

.scope-filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.scope-chip-group {
    display: none;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.scope-chip-group.active {
    display: flex;
}

.filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    min-height: 45px;
    padding: 24px 80px 0;
}

.chip-group {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.chip,
.scope-chip {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: center;
    min-height: 37px;
    padding: 8px 16px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: #fff;
    color: var(--listing-text);
    cursor: pointer;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.035em;
    white-space: nowrap;
}

.chip:not(:last-child)::after,
.scope-chip:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -14px;
    width: 16px;
    height: 0;
    border-top: 1px solid var(--listing-stroke);
    transform: translateY(-50%) rotate(-90deg);
    pointer-events: none;
}

.chip.active,
.scope-chip.active {
    font-weight: 700;
}

.total-label {
    display: flex;
    align-items: baseline;
    gap: 8px;
    color: var(--listing-sub);
    font-size: 16px;
    letter-spacing: 0.035em;
    white-space: nowrap;
}

.total-label strong {
    color: var(--listing-text);
    font-size: 24px;
    font-weight: 700;
}

.product-list-container {
    display: block;
}

.product-grid-wrapper {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 296px));
    justify-content: center;
    gap: 48px 32px;
    padding: 48px 0px 64px;
}

.product-grid-wrapper .card {
    display: flex;
    flex-direction: column;
    gap: 20px;
    cursor: pointer;
    min-width: 0;
    height: auto !important;
}

.card-picture {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    flex-shrink: 0;
    background: #e8eef3 center / cover no-repeat;
}

.card-picture.ph-1 { background-image: linear-gradient(135deg, #e8eef5 0%, #d4e3f0 100%); }
.card-picture.ph-2 { background-image: linear-gradient(135deg, #f0f4f8 0%, #dde8f2 100%); }
.card-picture.ph-3 { background-image: linear-gradient(135deg, #eaf0f7 0%, #ccdaeb 100%); }
.card-picture.ph-4 { background-image: linear-gradient(135deg, #e5edf5 0%, #c8d9ec 100%); }

.card-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.card:hover .card-picture img {
    transform: scale(1.03);
}

.tag-group {
    display: flex;
    z-index: 1;
}

.tag {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0px !important;
    width: 58px;
    height: 23px;
    background: var(--listing-blue);
    flex-shrink: 0;
}

.tag-text {
    font-weight: 300;
    font-size: 15px;
    line-height: 100%;
    letter-spacing: 0.035em;
    color: #fff;
}

.tag.new {
    background: var(--listing-blue);
}

.tag.best {
    background: var(--listing-yellow);
}

.card-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    margin-top: 20px;
}

.card-volume,
.card-original-price {
    color: var(--listing-dim);
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.035em;
    line-height: 1.3;
}

.card-name {
    color: var(--listing-text);
    font-size: 20px !important;
    font-weight: 500;
    letter-spacing: 0.035em;
    line-height: 1.3;
}

.card-pricing {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.card-meta-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.card-original-price {
    text-decoration: line-through;
}

.card-discount-row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0px;
    width: 100%;
}

.card-discount-row .card-volume {
    margin-left: auto;
    flex-shrink: 0;
    text-align: right;
}

.product-list-component .product-grid-wrapper .card.product-child-item .card-discount-row--no-original {
    flex-direction: column;
    align-items: flex-start;
}

.product-list-component .product-grid-wrapper .card.product-child-item .card-discount-row--no-original .card-volume {
    margin-right: 0;
    text-align: right;
}

.card-discount-pct {
    color: var(--listing-red);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.035em;
    line-height: 1.3;
}

.card-sale-price {
    color: var(--listing-text);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.035em;
    line-height: 1.3;
    flex-grow: 1;
}

/* Grid view display control */
.product-grid-hidden {
    display: none !important;
}

.product-grid-visible {
    display: block !important;
}

/* Modal display control */
.product-modal-hidden {
    display: none !important;
}

.product-modal-visible {
    display: block !important;
}

/* Product Pagination Styles */
.product-pagination {
    display: flex;
    justify-content: center;
    width: 100%;
}
.pagination-item-first {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.pagination-item-last {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}   
.product-pagination .ajax-product-pagination {
    display: flex;
    list-style: none;
    justify-content: center;
    padding: 0;
    margin: 0 0 64px;
    width: 100%;
    gap: 24px;
}

.product-pagination .ajax-product-pagination li a,
.product-pagination .ajax-product-pagination li span {
    display: inline-block;
    width: 32px;
    height: 21px;
    line-height: 21px;
    padding: 0;
    text-decoration: none;
    border-radius: 4px;
    font-size: 18px;
    transition: 0.2s;
    box-sizing: border-box; 
    text-align: center;
    vertical-align: middle;
    color: #242424;
}
.pagination-container-page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 21px;
    margin-top: 3.5px;
    margin-bottom: 3.5px;
    gap: 4px;
}

.page-numbers-item {
    display: flex;
    width: 28px;
    height: 100%;
    margin: 0 4px;
    align-items: center;
}

.page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* Selects .ajax-product-pagination li elements that have a child with class 'prev' */
.ajax-product-pagination li:has(.prev),
.ajax-product-pagination li:has(.next),
.ajax-product-pagination li:has(.go-last),
.ajax-product-pagination li:has(.go-first) {
    width: 28px;
    height: 21px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ajax-product-pagination li:has(.prev) svg,
.ajax-product-pagination li:has(.next) svg,
.ajax-product-pagination li:has(.go-last) svg,
.ajax-product-pagination li:has(.go-first) svg {
    width: 100%;
    height: 100%;
}

.ajax-product-pagination .prev,
.ajax-product-pagination .next,
.ajax-product-pagination .go-last,
.ajax-product-pagination .go-first {
    display: flex;
    width: 100%;
    height: 100%;
}

.product-pagination .ajax-product-pagination li .current {
    font-weight: 600;
    color: var(--primary-color);
}

.product-pagination .ajax-product-pagination li .disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.product-pagination .ajax-product-pagination li .disabled:hover {
    background: transparent;
}

.product-pagination .ajax-product-pagination li img {
    width: 16px;
    height: 16px;
    vertical-align: middle;
}

/* Smooth transitions for product content */
#product-child-results {
    transition: opacity 0.3s ease;
    min-height: 200px;
}

.product-child-item {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1.05s ease forwards;
}

.product-child-item:nth-child(1) {
    animation-delay: 0.36s;
}

.product-child-item:nth-child(2) {
    animation-delay: 0.58s;
}

.product-child-item:nth-child(3) {
    animation-delay: 0.8s;
}

.product-child-item:nth-child(4) {
    animation-delay: 1.02s;
}

.product-child-item:nth-child(5) {
    animation-delay: 0.36s;
}

.product-child-item:nth-child(6) {
    animation-delay: 0.58s;
}

.product-child-item:nth-child(7) {
    animation-delay: 0.8s;
}

.product-child-item:nth-child(8) {
    animation-delay: 1.02s;
}

.product-child-item:nth-child(9) {
    animation-delay: 0.36s;
}

.product-child-item:nth-child(10) {
    animation-delay: 0.58s;
}

.product-child-item:nth-child(11) {
    animation-delay: 0.8s;
}

.product-child-item:nth-child(12) {
    animation-delay: 1.02s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.loading-message {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-size: 16px;
}

.no-products-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-size: 16px;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 20px 0;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}


/* Final product listing layout overrides: replace the old sidebar filter layout. */
.product-list-component {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

.product-list-component .product-filter-component {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

.product-list-component .product-list-container {
    display: block;
    width: 100%;
    gap: 0;
}

.product-list-component .nav-tab-bar,
.product-list-component .scope-filter-bar,
.product-list-component .filter-bar,
.product-list-component .product-grid-wrapper {
    padding-left: 0;
    padding-right: 0;
}

.product-list-component .product-grid-wrapper {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 296px));
    justify-content: space-between;
    gap: 56px 32px;
    width: 100%;
}

.product-list-component .product-grid-wrapper .product-child-item {
    display: flex;
    flex-direction: column;
    gap: 0px !important;
    width: 100%;
    max-width: 100%;
    padding: 0;
    background: transparent;
}

.product-list-component .product-grid-wrapper .card.product-child-item .card-picture {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
}

.product-list-component .product-grid-wrapper .card.product-child-item .card-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive: 1200px - 1439px */
@media (min-width: 1200px) and (max-width: 1439px) {
    .product-list-component {
        max-width: 1000px;
    }

    .product-list-component .nav-tab-bar,
    .product-list-component .filter-bar,
    .product-list-component .product-grid-wrapper {
        padding-left: 0;
        padding-right: 0;
    }

    .product-list-component .product-grid-wrapper {
        grid-template-columns: repeat(4, 235px);
        gap: 48px 20px;
    }

    .product-list-component .product-grid-wrapper .card.product-child-item .card-info {
        gap: 8px;
        margin-top: 16px;
    }

    .product-list-component .product-grid-wrapper .card.product-child-item .card-name {
        font-size: 18px !important;
        line-height: 130%;
    }

    .product-list-component .product-grid-wrapper .card.product-child-item .card-volume,
    .product-list-component .product-grid-wrapper .card.product-child-item .card-original-price {
        font-size: 13px;
        line-height: 130%;
    }

    .product-list-component .product-grid-wrapper .card.product-child-item .card-discount-pct,
    .product-list-component .product-grid-wrapper .card.product-child-item .card-sale-price {
        font-size: 16px;
        line-height: 130%;
    }
}

/* Responsive: 768px - 1199px */
@media (min-width: 768px) and (max-width: 1199px) {
    .product-list-title {
        font-family: 'Pretendard', sans-serif;
        font-weight: 600;
        font-size: 24px;
        line-height: 130%;
        letter-spacing: 0.035em;
        text-align: center;
        margin: 16px 0 24px;
    }

    .product-list-content-section {
        width: 100%;
        max-width: none;
        margin-top: 56px;
        margin-bottom: 56px;
    }

    .product-list-component {
        max-width: 688px;
    }

    .product-list-component .nav-tab-bar,
    .product-list-component .filter-bar {
        padding-left: 0;
        padding-right: 0;
    }

    .product-list-component .nav-tab-bar {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
        width: 100%;
        max-width: none;
        height: 48px;
        min-height: 48px;
        border-bottom: 0;
        margin: 0 auto;
        flex-shrink: 0;
        overflow: visible;
    }

    .product-list-component .nav-tab-bar::after {
        display: block;
        width: 120vw;
    }

    .product-list-component .mobile-filter-trigger {
        display: flex;
        flex-direction: row;
        align-items: center;
        padding: 12px 0;
        gap: 12px;
        width: 109px;
        height: 48px;
        flex-shrink: 0;
        border: 0;
        background: transparent;
        cursor: pointer;
    }

    .product-list-component .mobile-filter-icon {
        position: relative;
        width: 24px;
        height: 24px;
        flex-shrink: 0;
    }

    .product-list-component .mobile-filter-icon span {
        position: absolute;
        left: 9.38%;
        right: 9.38%;
        height: 1.5px;
        background: #454545;
        border-radius: 1px;
    }

    .product-list-component .mobile-filter-icon span:nth-child(1) {
        top: 26.04%;
    }

    .product-list-component .mobile-filter-icon span:nth-child(2) {
        top: 46.88%;
    }

    .product-list-component .mobile-filter-icon span:nth-child(3) {
        top: 67.71%;
    }

    .product-list-component .mobile-filter-label {
        font-family: 'Pretendard', sans-serif;
        font-style: normal;
        font-weight: 500;
        font-size: 15px;
        line-height: 130%;
        letter-spacing: 0.035em;
        color: #454545;
        white-space: nowrap;
    }

    .product-list-component .nav-tabs {
        display: none;
        position: absolute;
        left: 16px;
        right: 16px;
        top: calc(100% + 8px);
        z-index: 30;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        min-height: 0;
        padding: 8px;
        background: #FFFFFF;
        border: 1px solid var(--listing-stroke);
        border-radius: 8px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    }

    .product-list-component .nav-tab-bar.mobile-nav-open .nav-tabs {
        display: flex;
    }

    .product-list-component .nav-tabs .nav-tab {
        justify-content: flex-start;
        width: 100%;
        height: 40px;
        padding: 10px 12px;
        border-bottom: 0;
        color: var(--listing-sub);
        font-size: 14px;
        line-height: 130%;
        text-align: left;
    }

    .product-list-component .nav-tabs .nav-tab.active {
        color: var(--listing-blue);
        font-weight: 600;
        background: #F5F8FF;
    }

    .product-list-component .nav-tabs .nav-tab.active::after {
        display: none;
    }

    .product-list-component .product-search-inline,
    .product-list-component .sort-dropdown {
        width: 24px;
        height: 24px;
        flex-shrink: 0;
    }

    .product-list-component .product-search-inline {
        margin-left: auto;
        margin-right: 4px;
    }

    .product-list-component .product-search-inline:focus-within {
        width: 150px;
    }

    .product-list-component .product-search-icon-action,
    .product-list-component .sort-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 24px;
        height: 24px;
        padding: 0;
        border: 0;
        background: transparent;
    }

    .product-list-component .product-search-icon-action svg,
    .product-list-component .sort-icon {
        width: 24px;
        height: 24px;
    }

    .product-list-component .product-search-inline-input {
        display: block;
        width: 0;
        opacity: 0;
        pointer-events: none;
        transition: width 0.2s ease, opacity 0.2s ease;
    }

    .product-list-component .product-search-inline:focus-within .product-search-inline-input {
        width: 114px;
        opacity: 1;
        pointer-events: auto;
    }

    .product-list-component .sort-btn-label {
        display: none;
    }

    .product-list-component .sort-btn {
        gap: 0;
    }

    .product-list-component .mobile-sort-dropdown {
        display: block;
    }

    .product-list-component .filter-bar .desktop-sort-dropdown {
        display: none;
    }

    .product-list-component .sort-menu {
        right: 0;
        top: calc(100% + 8px);
    }

    .product-list-component .filter-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .product-list-component .scope-filter-bar {
        flex-wrap: nowrap;
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .product-list-component .scope-filter-bar::-webkit-scrollbar {
        display: none;
    }

    .product-list-component .scope-chip-group {
        flex-wrap: nowrap;
        min-width: max-content;
    }

    .product-list-component .scope-chip {
        flex-shrink: 0;
    }

    .product-list-component .product-grid-wrapper {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 40px 24px;
        justify-content: center;
    }

    .product-list-component .product-grid-wrapper .card.product-child-item {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        min-width: 0;
        max-width: none;
        padding: 0;
        background: transparent;
    }

    .product-list-component .product-grid-wrapper .card.product-child-item:hover {
        background: transparent;
    }

    .product-list-component .product-grid-wrapper .card.product-child-item .card-picture {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
        overflow: hidden;
    }

    .product-list-component .product-grid-wrapper .card.product-child-item .card-picture img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .product-list-component .product-grid-wrapper .card.product-child-item .card-info {
        gap: 8px;
        width: 100%;
        margin-top: 0;
    }

    .product-list-component .product-grid-wrapper .card.product-child-item .card-name {
        width: 100%;
        font-size: 18px !important;
        font-weight: 500;
        line-height: 130%;
        letter-spacing: 0.04em;
    }

    .product-list-component .product-grid-wrapper .card.product-child-item .card-pricing {
        gap: 8px;
    }

    .product-list-component .product-grid-wrapper .card.product-child-item .card-meta-row {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 4px;
    }

    .product-list-component .product-grid-wrapper .card.product-child-item .card-volume,
    .product-list-component .product-grid-wrapper .card.product-child-item .card-original-price {
        font-size: 13px;
        font-weight: 400;
        line-height: 130%;
        letter-spacing: 0.04em;
    }

    .product-list-component .product-grid-wrapper .card.product-child-item .card-discount-row {
        gap: 8px;
    }

    .product-list-component .product-grid-wrapper .card.product-child-item .card-discount-pct {
        font-size: 16px;
        font-weight: 600;
        line-height: 130%;
        letter-spacing: 0.04em;
    }

    .product-list-component .product-grid-wrapper .card.product-child-item .card-sale-price {
        font-size: 16px;
        font-weight: 600;
        line-height: 130%;
        letter-spacing: 0.04em;
    }

    .product-list-component .product-grid-wrapper .card.product-child-item .tag-group {
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .product-list-component .product-grid-wrapper .card.product-child-item .tag-group::-webkit-scrollbar {
        display: none;
    }
}

/* Responsive: < 768px */
@media (max-width: 767px) {
    .product-list-title {
        font-family: 'Pretendard', sans-serif;
        font-weight: 600;
        font-size: 24px;
        line-height: 130%;
        letter-spacing: 0.035em;
        text-align: center;
        margin: 16px 0 24px;
    }

    .product-list-component {
        max-width: 343px;
    }

    .product-list-component .nav-tab-bar,
    .product-list-component .filter-bar,
    .product-list-component .product-grid-wrapper {
        padding-left: 0;
        padding-right: 0;
    }

    .product-list-component .scope-filter-bar {
        flex-wrap: nowrap;
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .product-list-component .scope-filter-bar::-webkit-scrollbar {
        display: none;
    }

    .product-list-component .scope-chip-group {
        flex-wrap: nowrap;
        min-width: max-content;
    }

    .product-list-component .scope-chip {
        flex-shrink: 0;
    }

    .product-list-component .product-grid-wrapper {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    /* Mobile-only nav header from header.html */
    .product-list-component .product-filter-component {
        position: relative;
    }

    .product-list-component .nav-tab-bar {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
        width: 100%;
        max-width: none;
        height: 48px;
        min-height: 48px;
        border-bottom: 0;
        margin: 0 auto;
        flex-shrink: 0;
        overflow: visible;
    }

    .product-list-component .nav-tab-bar::after {
        display: block;
        width: 120vw;
    }

    .product-list-component .mobile-filter-trigger {
        display: flex;
        flex-direction: row;
        align-items: center;
        padding: 12px 0;
        gap: 12px;
        width: 109px;
        height: 48px;
        flex-shrink: 0;
        border: 0;
        background: transparent;
        cursor: pointer;
    }

    .product-list-component .mobile-filter-icon {
        position: relative;
        width: 24px;
        height: 24px;
        flex-shrink: 0;
    }

    .product-list-component .mobile-filter-icon span {
        position: absolute;
        left: 9.38%;
        right: 9.38%;
        height: 1.5px;
        background: #454545;
        border-radius: 1px;
    }

    .product-list-component .mobile-filter-icon span:nth-child(1) {
        top: 26.04%;
    }

    .product-list-component .mobile-filter-icon span:nth-child(2) {
        top: 46.88%;
    }

    .product-list-component .mobile-filter-icon span:nth-child(3) {
        top: 67.71%;
    }

    .product-list-component .mobile-filter-label {
        font-family: 'Pretendard', sans-serif;
        font-style: normal;
        font-weight: 500;
        font-size: 15px;
        line-height: 130%;
        letter-spacing: 0.035em;
        color: #454545;
        white-space: nowrap;
    }

    .product-list-component .nav-tabs {
        display: none;
        position: absolute;
        left: 16px;
        right: 16px;
        top: calc(100% + 8px);
        z-index: 30;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        min-height: 0;
        padding: 8px;
        background: #FFFFFF;
        border: 1px solid var(--listing-stroke);
        border-radius: 8px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    }

    .product-list-component .nav-tab-bar.mobile-nav-open .nav-tabs {
        display: flex;
    }

    .product-list-component .nav-tabs .nav-tab {
        justify-content: flex-start;
        width: 100%;
        height: 40px;
        padding: 10px 12px;
        border-bottom: 0;
        color: var(--listing-sub);
        font-size: 14px;
        line-height: 130%;
        text-align: left;
    }

    .product-list-component .nav-tabs .nav-tab.active {
        color: var(--listing-blue);
        font-weight: 600;
        background: #F5F8FF;
    }

    .product-list-component .nav-tabs .nav-tab.active::after {
        display: none;
    }

    .product-list-component .product-search-inline,
    .product-list-component .sort-dropdown {
        width: 24px;
        height: 24px;
        flex-shrink: 0;
    }

    .product-list-component .product-search-inline {
        margin-left: auto;
        margin-right: 4px;
    }

    .product-list-component .product-search-inline:focus-within {
        width: 150px;
    }

    .product-list-component .product-search-icon-action,
    .product-list-component .sort-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 24px;
        height: 24px;
        padding: 0;
        border: 0;
        background: transparent;
    }

    .product-list-component .product-search-icon-action svg,
    .product-list-component .sort-icon {
        width: 24px;
        height: 24px;
    }

    .product-list-component .product-search-inline-input {
        display: block;
        width: 0;
        opacity: 0;
        pointer-events: none;
        transition: width 0.2s ease, opacity 0.2s ease;
    }

    .product-list-component .product-search-inline:focus-within .product-search-inline-input {
        width: 114px;
        opacity: 1;
        pointer-events: auto;
    }

    .product-list-component .sort-btn-label {
        display: none;
    }

    .product-list-component .sort-btn {
        gap: 0;
    }

    .product-list-component .mobile-sort-dropdown {
        display: block;
    }

    .product-list-component .filter-bar .desktop-sort-dropdown {
        display: none;
    }

    .product-list-component .sort-menu {
        right: 0;
        top: calc(100% + 8px);
    }

    .product-list-content-section {
        width: 100%;
        padding: 0 16px;
        margin-top: 48px;
        margin-bottom: 48px;
    }
    .product-list-component .product-list-header .product-list-section-title {
        width: 100%;
        height: 24px;
        font-size: 16px;
        line-height: 150%;
        padding: 0;
    }
    .product-list-search {
        width: 100%;
    }
    .product-list-search input {
        height: 52px;
        padding: 17.5px 12px;
        font-size: 14px;
    }
    .product-list-search button {
        width: 52px;
        height: 52px;
    }
    .product-list-component .product-list-header {
        gap: 16px;
        flex-direction: column;
        margin-bottom: 32px;
    }
    .product-filter-component {
        width: 100%;
        padding: 0;
    }
    .product-list-container {
        gap: 40px;
        flex-direction: column;
    }
    .product-child-item {
        padding: 16px;
        gap: 24px;
    }
    .product-card-container {
        gap: 16px;
    }
    .product-thumbnail-container {
        display: none;
    }
    .category-name {
        font-weight: 500;
        font-size: 16px;
        line-height: 100%;
        letter-spacing: 0.035em;
    }
    .post-title {
        font-weight: 400;
        font-size: 16px;
        line-height: 100%;
        letter-spacing: 0;

    }
    .product-table-wrapper {
        gap: 20px;
    }
    .product-child-results {
        gap: 20px;
    }
    .product-list-card-title {
        font-size: 16px;
        padding-bottom: 12px;
    }
    .type-section {
        margin-top: 12px;
    }
    .product-content-container {
        width: 255px;
    }
    .product-total-text {
        height: 23px;
    }
    .product-total-text .product-total-text-label{
        font-weight: 400;
        font-size: 16px;
        line-height: 100%;
        letter-spacing: 0.035em;
    }
    .product-total-text .count-number {
        font-weight: 600;
        font-size: 19px;
        line-height: 100%;
        letter-spacing: 0;

    }
    .type-section-inci {
        max-width: 40%;
    }
    .type-section-psd {
        flex: 1;
    }
    .product-pagination {
        width: 100%;
    }
    .product-pagination .ajax-product-pagination {
        width: 100%;
        justify-content: space-between;
    }
    .posts-list {
        max-height: 192px;
    }
    .product-list-card-button-icon {
        width: 32px;
        height: 32px;
    }
    .pagination-container-page-numbers {
       height: 19px;
       margin-top: 4.5px;
       margin-bottom: 4.5px;
    }
    .page-numbers-item {
        width: 28px;
        margin: 0 4px;
    }
    .product-pagination .ajax-product-pagination {
        gap: 8px;
    }
    .header-left {
        height: 19px;
    }

    .product-list-component #product-child-results.product-grid-wrapper,
    .product-list-component .product-grid-wrapper.product-child-results {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 35px 16px;
        width: 100%;
        padding-top: 0;
        padding-bottom: 48px;
    }

    .product-list-component .product-grid-wrapper .card.product-child-item {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0 !important;
        min-width: 0;
        padding: 0;
        background: transparent;
    }

    .product-list-component .product-grid-wrapper .card.product-child-item:hover {
        background: transparent;
    }

    .product-list-component .product-grid-wrapper .card.product-child-item .tag-group {
        position: static;
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        flex-wrap: nowrap;
        z-index: 1;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .product-list-component .product-grid-wrapper .card.product-child-item .tag-group::-webkit-scrollbar {
        display: none;
    }

    .product-list-component .product-grid-wrapper .card.product-child-item .tag {
        width: auto;
        min-width: 0;
        height: 21px;
        padding: 4px 12px !important;
    }

    .product-list-component .product-grid-wrapper .card.product-child-item .tag-text {
        font-size: 13px;
        line-height: 100%;
        white-space: nowrap;
    }

    .product-list-component .product-grid-wrapper .card.product-child-item .card-picture {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
        overflow: hidden;
    }

    .product-list-component .product-grid-wrapper .card.product-child-item .card-info {
        gap: 8px;
        width: 100%;
        margin-top: 12px;
    }

    .product-list-component .product-grid-wrapper .card.product-child-item .card-name {
        width: 100%;
        font-size: 16px !important;
        line-height: 130%;
    }

    .product-list-component .product-grid-wrapper .card.product-child-item .card-pricing {
        gap: 4px;
    }

    .product-list-component .product-grid-wrapper .card.product-child-item .card-meta-row {
        flex-direction: column-reverse;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 4px;
    }

    .product-list-component .product-grid-wrapper .card.product-child-item .card-volume,
    .product-list-component .product-grid-wrapper .card.product-child-item .card-original-price {
        font-size: 13px;
        line-height: 130%;
    }

    .product-list-component .product-grid-wrapper .card.product-child-item .card-volume {
        align-self: flex-start;
        margin-left: 0;
        text-align: left !important;
    }

    .product-list-component .product-grid-wrapper .card.product-child-item .card-discount-row {
        gap: 8px;
    }

    .product-list-component .product-grid-wrapper .card.product-child-item .card-discount-pct,
    .product-list-component .product-grid-wrapper .card.product-child-item .card-sale-price {
        font-size: 15px;
        line-height: 130%;
    }
}
