/* ==========================================================================
   COOL Air Conditioning - Clean Product Catalog Showcase
   Awwwards Architectural Luxury Aesthetic (Cohesive Dark Theme)
   ========================================================================== */

/* ===== Product Page Global Layout ===== */
.page-product {
    background-color: #141210;
    color: #FFFFFF;
    overflow-x: hidden;
    font-family: var(--font-sans);
}

.page-content-host {
    width: 100%;
    min-height: 100vh;
    position: relative;
}

/* ===== Ambient Architectural Hero Header ===== */
.product-hero-clean {
    position: relative;
    padding-top: 140px;
    padding-bottom: 50px;
    background: radial-gradient(ellipse at 50% 0%, rgba(186, 88, 44, 0.18) 0%, rgba(20, 18, 16, 1) 70%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    text-align: center;
}

.product-hero-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
}

.product-breadcrumb {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--color-terra);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.product-breadcrumb a {
    color: var(--color-muted-dark);
    text-decoration: none;
    transition: color 0.2s ease;
}

.product-breadcrumb a:hover {
    color: var(--color-terra);
}

.product-hero-title {
    font-family: var(--font-sans);
    font-size: clamp(36px, 4.8vw, 64px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1.2px;
    color: #FFFFFF;
    margin-bottom: 18px;
}

.product-hero-title .serif-italic {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    color: var(--color-terra);
}

.product-hero-subtitle {
    font-size: clamp(15px, 1.2vw, 18px);
    line-height: 1.65;
    color: var(--color-muted-dark);
    max-width: 680px;
    margin: 0 auto 36px auto;
}

/* Quick Metrics Strip */
.product-hero-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 10px;
}

.hero-badge-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 500;
    color: #E0DDD5;
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-terra);
    box-shadow: 0 0 8px rgba(186, 88, 44, 0.6);
}

/* ===== Catalog Main Section ===== */
.catalog-section-clean {
    padding: 60px 0 100px 0;
    position: relative;
    background: #141210;
}

.catalog-container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 32px;
}

/* Category Filter Tabs Bar */
.catalog-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.filter-pills {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-pill {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #B7B2A5;
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.filter-pill:hover {
    border-color: var(--color-terra);
    color: #FFFFFF;
    background: rgba(186, 88, 44, 0.1);
}

.filter-pill.is-active {
    background: var(--color-terra);
    border-color: var(--color-terra);
    color: #FFFFFF;
    box-shadow: 0 4px 18px rgba(186, 88, 44, 0.35);
}

.catalog-count-label {
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-muted-dark);
    font-weight: 600;
}

.catalog-count-label span {
    color: var(--color-terra);
    font-weight: 700;
}

/* ===== Balanced 4-Column Bento Catalog Grid ===== */
.bento-catalog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* Product Card Styling */
.bento-product-card {
    background: rgba(28, 25, 22, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.bento-product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(186, 88, 44, 0.08) 0%, transparent 70%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.bento-product-card:hover {
    transform: translateY(-5px);
    border-color: rgba(186, 88, 44, 0.45);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55), 0 0 25px rgba(186, 88, 44, 0.15);
}

.bento-product-card:hover::before {
    opacity: 1;
}

/* Card Header */
.card-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.card-category-tag {
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-terra);
    background: rgba(186, 88, 44, 0.12);
    border: 1px solid rgba(186, 88, 44, 0.25);
    padding: 4px 10px;
    border-radius: 20px;
}

.card-serial {
    font-family: monospace;
    font-size: 11px;
    font-weight: 600;
    color: var(--color-muted-dark);
}

/* Vector Schematic Box */
.card-schematic-stage {
    background: rgba(15, 14, 12, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    padding: 16px;
    position: relative;
    overflow: hidden;
}

.card-schematic-svg {
    width: 90px;
    height: 55px;
    stroke: #A8A295;
    fill: none;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: all 0.35s ease;
}

.bento-product-card:hover .card-schematic-svg {
    stroke: var(--color-terra);
    transform: scale(1.08);
    filter: drop-shadow(0 0 8px rgba(186, 88, 44, 0.4));
}

/* Card Titles & Specs */
.bento-product-card .card-title,
.page-product .card-title,
.card-title {
    font-size: 17px;
    font-weight: 600;
    color: #FFFFFF !important;
    margin-bottom: 8px;
    line-height: 1.3;
}

.card-desc {
    font-size: 12px;
    line-height: 1.55;
    color: var(--color-muted-dark);
    margin-bottom: 18px;
    min-height: 38px;
}

/* Specs Cell Row */
.card-specs-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    margin-bottom: 20px;
}

.card-spec-cell {
    display: flex;
    flex-direction: column;
}

.card-spec-label {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #8C867B;
    text-transform: uppercase;
    margin-bottom: 3px;
}

.card-spec-value {
    font-family: monospace;
    font-size: 11px;
    font-weight: 700;
    color: #EBE7DF;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Card Button */
.card-action-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 11px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #E0DDD5;
    font-family: var(--font-sans);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s ease;
}

.card-action-btn:hover {
    background: var(--color-terra);
    border-color: var(--color-terra);
    color: #FFFFFF;
    box-shadow: 0 4px 14px rgba(186, 88, 44, 0.4);
}

.card-action-btn svg {
    width: 14px;
    height: 14px;
    transition: transform 0.2s ease;
}

.card-action-btn:hover svg {
    transform: translateX(3px);
}

/* 14th Featured Consultation Card (Grid Balance) */
.featured-card {
    background: linear-gradient(145deg, rgba(186, 88, 44, 0.15) 0%, rgba(28, 25, 22, 0.85) 100%);
    border: 1px solid rgba(186, 88, 44, 0.35);
}

.featured-card .card-category-tag {
    background: var(--color-terra);
    color: #FFFFFF;
}

.featured-card .card-schematic-stage {
    background: rgba(186, 88, 44, 0.08);
    border-color: rgba(186, 88, 44, 0.25);
}

.featured-card .card-schematic-svg {
    stroke: var(--color-terra);
}

.featured-card:hover {
    border-color: var(--color-terra);
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.6), 0 0 35px rgba(186, 88, 44, 0.3);
}

/* ===== Specification Modal Drawer ===== */
.spec-drawer-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.spec-drawer-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
}

.spec-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 580px;
    height: 100%;
    background: #181613;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: -24px 0 60px rgba(0, 0, 0, 0.8);
    z-index: 10001;
    transform: translateX(101%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.spec-drawer-backdrop.is-open .spec-drawer {
    transform: translateX(0);
}

.spec-drawer-header {
    padding: 28px 36px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(20, 18, 16, 0.6);
}

.spec-drawer-tag {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--color-terra);
    text-transform: uppercase;
    display: block;
    margin-bottom: 6px;
}

.spec-drawer-title {
    font-family: var(--font-sans);
    font-size: 22px;
    font-weight: 700;
    color: #FFFFFF;
}

.spec-drawer-close {
    background: rgba(255, 255, 255, 0.08);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 22px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.spec-drawer-close:hover {
    background-color: var(--color-terra);
    transform: rotate(90deg);
}

.spec-drawer-body {
    padding: 36px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.spec-table-group {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
}

.spec-table-row {
    display: flex;
    justify-content: space-between;
    padding: 13px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 13px;
}

.spec-table-row:last-child {
    border-bottom: none;
}

.spec-table-row:nth-child(even) {
    background: rgba(255, 255, 255, 0.02);
}

.spec-k {
    color: var(--color-muted-dark);
}

.spec-v {
    font-family: monospace;
    font-weight: 600;
    color: #FFFFFF;
}

/* ===== Consultation Strip Section ===== */
.consultation-strip {
    padding: 80px 0;
    background: radial-gradient(ellipse at 50% 100%, rgba(186, 88, 44, 0.12) 0%, rgba(20, 18, 16, 1) 80%);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.consultation-box {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.consultation-title {
    font-family: var(--font-sans);
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 16px;
}

.consultation-desc {
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-muted-dark);
    margin-bottom: 32px;
}

.consultation-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== Responsive Breakpoints ===== */
@media (max-width: 1240px) {
    .bento-catalog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 860px) {
    .bento-catalog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
    .catalog-container {
        padding: 0 20px;
    }
    .catalog-toolbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .filter-pills {
        width: 100%;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .filter-pills::-webkit-scrollbar {
        display: none;
    }
    .filter-pill {
        white-space: nowrap;
        flex-shrink: 0;
    }
}

@media (max-width: 540px) {
    .bento-catalog-grid {
        grid-template-columns: 1fr;
    }
    .product-hero-clean {
        padding-top: 100px;
        padding-bottom: 36px;
    }
    .spec-drawer {
        max-width: 100%;
    }
    .spec-drawer-body {
        padding: 24px 20px;
    }
    .consultation-actions {
        flex-direction: column;
        width: 100%;
    }
    .consultation-actions a {
        width: 100%;
        text-align: center;
    }
}
