main {
    min-height: 60vh;
}

.catalog-hero {
    background: linear-gradient(135deg, #0b0e18, #1f2534);
    color: #fff;
    border-radius: 1.5rem;
}

.catalog-hero .catalog-stat {
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.85rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
}

.filter-card {
    border-radius: 1rem;
    border: 1px solid rgba(15, 23, 42, 0.1);
}

.filter-toggle {
    cursor: pointer;
}

.product-card {
    border-radius: 1rem;
    border: 1px solid rgba(15, 23, 42, 0.1);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 1.5rem 2.5rem rgba(15, 23, 42, 0.08);
}

.vendor-logo {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 0.65rem;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3px;
}

.vendor-logo-large {
    width: 72px;
    height: 72px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 0.65rem;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3px;
}

.vendor-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.vendor-logo-large img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hero-section {
    position: relative;
    background: radial-gradient(circle at top left, #1f2534, #0b0e18);
    color: #fff;
    overflow: hidden;
}
.hero-accent {
    position: absolute;
    inset: -120px auto auto -120px;
    width: 260px;
    height: 260px;
    background: rgba(255, 193, 7, 0.2);
    filter: blur(60px);
    border-radius: 50%;
}
.stat-pill {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 0.2rem 0.8rem;
}
.category-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}
.category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 1.5rem 3rem rgba(15, 23, 42, 0.15);
}
.icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.solution-card {
    border-left: 4px solid #ffc107;
}

/* Catalog page helpers */
.product-wrap .badge {
    border-radius: 50px;
}

.product-media {
    width: 100%;
    aspect-ratio: 1 / 1;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 0;
    background-color: #f8f9fa;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.card-characteristics li {
    font-size: 0.9rem;
}

/* Product detail page */
.product-detail-page .product-hero-card {
    background: linear-gradient(135deg, rgba(11, 14, 24, 0.95), rgba(31, 37, 52, 0.9));
    color: #fff;
    border-radius: 1.5rem;
}

.product-detail-page .product-hero-card .product-media {
    border: none;
    border-radius: 1rem;
}

.product-detail-page .product-hero-card .text-muted,
.product-detail-page .product-hero-card .text-secondary {
    color: rgba(255, 255, 255, 0.7) !important;
}

.product-detail-page .product-hero-card .btn-outline-light {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.7);
}

.product-detail-page .product-hero-card .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.product-spec-card,
.datasheet-card,
.product-description-card,
.how-to-buy-card,
.related-card {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.product-spec-card dl dt {
    font-weight: 500;
}

.product-spec-card dl dd {
    margin-bottom: 0;
}

.related-products {
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

div:has(>input#id_fax_number) {
    display: none
}
