/* Trade Product Catalogue Styles */

.catalogue-hero {
    background: linear-gradient(135deg, #192846 0%, #0f172a 100%);
    color: #ffffff;
    padding: 3rem 0;
    margin-bottom: 2rem;
}

.catalogue-hero h1 {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.catalogue-hero p {
    color: #94a3b8;
    font-size: 1.1rem;
    max-width: 600px;
    margin-bottom: 0;
}

.catalogue-filter-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    text-decoration: none;
    color: inherit;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    color: inherit;
}

.product-card-image {
    aspect-ratio: 1;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    border-bottom: 1px solid #f1f5f9;
    position: relative;
}

.product-card-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-card-image .placeholder-icon {
    font-size: 3rem;
    color: #cbd5e1;
}

.product-badge-featured {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #b17e1e;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.product-card-body {
    padding: 1.25rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-brand {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #b17e1e;
    margin-bottom: 0.25rem;
}

.product-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.product-spec-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 1rem;
}

.product-chip {
    font-size: 0.75rem;
    padding: 2px 6px;
    background: #f1f5f9;
    border-radius: 4px;
    color: #64748b;
    font-weight: 500;
}

.product-pricing {
    margin-top: auto;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding-top: 0.75rem;
    border-top: 1px solid #f1f5f9;
}

.product-trade-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
}

.product-rrp-price {
    font-size: 0.85rem;
    color: #94a3b8;
    text-decoration: line-through;
}

/* Detail Page */
.product-detail-container {
    padding: 2.5rem 0;
}

.product-detail-image-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
}

.product-detail-image-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-spec-table th {
    width: 35%;
    color: #64748b;
    font-weight: 500;
    padding: 0.75rem 0;
}

.product-spec-table td {
    font-weight: 600;
    color: #1e293b;
    padding: 0.75rem 0;
}
