/* ==========================================================================
   Product List Page Styles - 1:1 Matching Design Mockups
   ========================================================================== */

.pro-list-page {
    background-color: #ffffff;
    padding: 0;
    margin: 0;
    color: #181514;
    font-family: 'Google Sans Flex', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ==========================================================================
   1. Top Header Section (Pure White #ffffff)
   ========================================================================== */
.pro-header-section {
    background-color: #ffffff;
    padding-top: 24px;
    padding-bottom: 24px;
}

/* Breadcrumbs */
.pro-breadcrumb {
    font-size: 13px;
    color: #71717a;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.pro-breadcrumb a {
    color: #52525b;
    text-decoration: none;
    transition: color 0.2s;
}

.pro-breadcrumb a:hover {
    color: #181514;
    text-decoration: underline;
}

.pro-breadcrumb .sep {
    color: #a1a1aa;
    font-size: 12px;
}

.pro-breadcrumb .current {
    color: #181514;
    font-weight: 500;
}

/* Header Title */
.pro-list-header {
    margin-bottom: 28px;
}

.pro-list-title {
    font-size: 32px;
    font-weight: 700;
    color: #181514;
    margin: 0 0 10px 0;
    line-height: 1.2;
    letter-spacing: -0.4px;
}

.pro-list-gold-line {
    width: 44px;
    height: 2.5px;
    background-color: #c59d5f;
    margin-bottom: 16px;
}

.pro-list-subtitle {
    font-size: 15.5px;
    color: #52525b;
    margin: 0;
    line-height: 1.5;
    max-width: 900px;
}

/* Filter & Sort Bar */
.pro-filter-sort-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 10px;
    margin-bottom: 8px;
}

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

.filter-label {
    font-size: 13.5px;
    color: #181514;
    font-weight: 500;
    margin-right: 2px;
}

.custom-select-wrap {
    position: relative;
    display: inline-block;
}

.custom-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #ffffff;
    border: 1px solid #d4d4d8;
    border-radius: 3px;
    padding: 6px 32px 6px 12px;
    font-size: 13.5px;
    color: #181514;
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s;
    height: 38px;
    min-width: 140px;
}

.custom-select:focus,
.custom-select:hover {
    border-color: #181514;
}

.select-arrow {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 10px;
    color: #71717a;
}

.clear-filters-btn {
    font-size: 13.5px;
    color: #2a7e8e;
    text-decoration: none;
    margin-left: 6px;
    cursor: pointer;
    transition: color 0.2s;
}

.clear-filters-btn:hover {
    color: #181514;
    text-decoration: underline;
}

.pro-sort-group {
    display: flex;
    align-items: center;
    gap: 16px;
}

.product-count {
    font-size: 13.5px;
    color: #52525b;
}

/* ==========================================================================
   2. Middle Product Grid Section (#f7f5f0 Light Beige Background)
   ========================================================================== */
.pro-grid-section {
    background-color: #f7f5f0;
    padding-top: 40px;
    padding-bottom: 50px;
    border-top: 1px solid #eeece6;
    border-bottom: 1px solid #eeece6;
}

.pro-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

/* Product Card */
.pro-card {
    background: #ffffff;
    border: none;
    border-radius: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.pro-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.pro-img-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
    background-color: #ffffff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.pro-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.pro-info {
    padding: 16px 18px 20px 18px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background-color: #ffffff;
}

.pro-model {
    font-size: 12px;
    color: #888888;
    font-weight: 400;
    margin-bottom: 4px;
}

.pro-name {
    font-size: 14.5px;
    font-weight: 700;
    color: #181514;
    margin: 0 0 6px 0;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 40px;
}

.pro-name a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.pro-name a:hover {
    color: #2a7e8e;
}

.pro-spec {
    font-size: 12.5px;
    color: #52525b;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pro-moq {
    font-size: 12.5px;
    color: #71717a;
    margin-bottom: 16px;
}

.pro-action-btn {
    display: inline-block;
    align-self: flex-start;
    border: 1px solid #181514;
    background: #ffffff;
    color: #181514;
    padding: 5px 14px;
    font-size: 12.5px;
    font-weight: 600;
    border-radius: 2px;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.pro-action-btn:hover {
    background: #181514;
    color: #ffffff;
    text-decoration: none;
}

/* ==========================================================================
   Pagination (< 1 2 3 4 > Exact Design Match)
   ========================================================================== */
.pro-pagination,
.pro-pagination ul,
.pro-pagination ol {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 16px !important;
    margin: 20px auto 0 auto !important;
    padding: 0 !important;
    list-style: none !important;
}

.pro-pagination li {
    list-style: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
}

.pro-pagination li a,
.pro-pagination li span,
.pro-pagination a,
.pro-pagination span {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 22px !important;
    height: 22px !important;
    padding: 0 4px !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    color: #71717a !important;
    text-decoration: none !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transition: color 0.2s ease !important;
    line-height: 1 !important;
    cursor: pointer !important;
    user-select: none !important;
}

.pro-pagination li a:hover,
.pro-pagination a:hover {
    color: #181514 !important;
    background: transparent !important;
    text-decoration: none !important;
}

.pro-pagination li a.current,
.pro-pagination li .active,
.pro-pagination .current,
.pro-pagination .active,
.pro-pagination li.active a,
.pro-pagination li.active span {
    color: #181514 !important;
    font-weight: 700 !important;
    background: transparent !important;
    border: none !important;
    text-decoration: none !important;
}

/* ==========================================================================
   3. Bottom FAQs Section (Pure White #ffffff)
   ========================================================================== */
.pro-faq-wrap-section {
    background-color: #ffffff;
    padding-top: 60px;
    padding-bottom: 80px;
}

.pro-faq-section {
    max-width: 860px;
    margin: 0 auto;
}

.pro-faq-header {
    text-align: center;
    margin-bottom: 36px;
}

.pro-faq-title {
    font-size: 26px;
    font-weight: 700;
    color: #181514;
    margin-bottom: 12px;
}

.pro-faq-gold-line {
    width: 42px;
    height: 2.5px;
    background-color: #c59d5f;
    margin: 0 auto;
}

.pro-faq-list {
    display: flex;
    flex-direction: column;
}

.faq-item {
    border-bottom: 1px solid #e8e6e1;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    cursor: pointer;
    user-select: none;
}

.faq-q-text {
    font-size: 15.5px;
    font-weight: 600;
    color: #181514;
    margin: 0;
    transition: color 0.2s;
}

.faq-icon {
    font-size: 13px;
    color: #71717a;
    transition: transform 0.3s ease;
    margin-left: 16px;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-item.active .faq-q-text {
    color: #2a7e8e;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding-bottom: 18px;
}

.faq-answer p {
    font-size: 14.5px;
    color: #52525b;
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   4. Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1200px) {
    .pro-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 900px) {
    .pro-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .pro-filter-sort-bar {
        flex-direction: column;
        align-items: flex-start;
    }
    .pro-sort-group {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 600px) {
    .pro-grid {
        grid-template-columns: 1fr;
    }
    .pro-list-title {
        font-size: 26px;
    }
    .custom-select {
        min-width: 100%;
    }
    .pro-filter-group {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }
}
