/* Mục Danh Mục Sản Phẩm */

/* ========== Product Catalogue Section ========== */
.catalogue {
    padding: 80px 0;
    background: white;
    position: relative;
    overflow: hidden;
}

.catalogue::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 10% 20%, rgba(0, 0, 0, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(5, 150, 105, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.catalogue-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
    color: #6b7280;
    font-size: 17px;
    line-height: 1.8;
}

/* Category filter tabs */
.catalogue-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.catalogue-filter {
    padding: 10px 24px;
    border: 2px solid #e5e7eb;
    border-radius: 50px;
    background: white;
    color: var(--dark-gray);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.catalogue-filter:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.catalogue-filter.active {
    background: linear-gradient(135deg, #111827, #4b5563);
    color: white;
    border-color: transparent;
}

/* Product cards grid */
.catalogue-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    border: 1px solid #f0f0f0;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.product-card-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.badge-popular {
    background: linear-gradient(135deg, #f59e0b, #f97316);
    color: white;
}

.badge-premium {
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    color: white;
}

.badge-new {
    background: linear-gradient(135deg, #059669, #10b981);
    color: white;
}

/* Product visual area */
.product-visual {
    height: 200px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-visual svg {
    width: 100%;
    height: 100%;
}

/* Thickness indicator */
.thickness-indicator {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Product info area */
.product-info {
    padding: 24px;
}

.product-info h3 {
    font-size: 19px;
    color: var(--dark-gray);
    margin-bottom: 8px;
    line-height: 1.3;
}

.product-subtitle {
    font-size: 13px;
    color: #9ca3af;
    margin-bottom: 16px;
}

/* Specs row */
.product-specs {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
    margin-bottom: 18px;
    padding: 14px;
    background: var(--light-gray);
    border-radius: 10px;
}

.spec-item {
    text-align: center;
}

.spec-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.spec-label {
    font-size: 11px;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Application tags */
.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 18px;
}

.product-tag {
    padding: 4px 10px;
    background: var(--light-gray);
    color: var(--primary-color);
    border-radius: 6px;
    font-size: 11px;
    font-weight: 500;
}

.product-tag.green {
    background: #ecfdf5;
    color: var(--secondary-color);
}

/* Price and CTA */
.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}

.product-price {
    display: flex;
    flex-direction: column;
}

.product-price .price-amount {
    font-size: 22px;
    font-weight: 800;
    color: var(--secondary-color);
}

.product-price .price-label {
    font-size: 12px;
    color: #9ca3af;
}

.product-cta {
    padding: 10px 22px;
    background: linear-gradient(135deg, #111827, #4b5563);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.product-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Product detail expand */
.product-details-toggle {
    display: block;
    width: 100%;
    padding: 10px;
    background: none;
    border: none;
    border-top: 1px solid #f0f0f0;
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.product-details-toggle:hover {
    background: #f8fafc;
}

.product-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: #f8fafc;
}

.product-details.open {
    max-height: 300px;
}

.product-details-inner {
    padding: 16px 24px;
}

.product-details-inner ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-details-inner li {
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
    font-size: 13px;
    color: var(--dark-gray);
    line-height: 1.6;
}

.product-details-inner li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--secondary-color);
}

/* Compare banner */
.catalogue-compare {
    margin-top: 50px;
    background: linear-gradient(135deg, #1e293b, #334155);
    border-radius: 16px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.catalogue-compare::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.compare-text h3 {
    color: white;
    font-size: 22px;
    margin-bottom: 8px;
}

.compare-text p {
    color: #94a3b8;
    font-size: 15px;
}

.compare-cta {
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--accent-color), #f97316);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    white-space: nowrap;
}

.compare-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

/* Catalogue responsive */
@media (max-width: 768px) {
    .catalogue-grid {
        grid-template-columns: 1fr;
    }

    .catalogue-compare {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .compare-text h3 {
        font-size: 18px;
    }

    .product-specs {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 8px;
    }

    .catalogue-filters {
        gap: 8px;
    }

    .catalogue-filter {
        padding: 8px 16px;
        font-size: 13px;
    }
}

@media (max-width: 414px) {
    .product-info h3 {
        font-size: 17px;
    }

    .product-footer {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
        text-align: center;
    }

    .product-cta {
        text-align: center;
    }
}
