/* Solar Solutions Bulgaria — Premium Catalog v2 */

:root {
    --navy: #0c1729;
    --navy-soft: #17243a;
    --orange: #f59e0b;
    --orange-dark: #dd8100;
    --text: #152033;
    --muted: #667085;
    --surface: #ffffff;
    --line: #e5eaf0;
    --page: #f5f7fa;
    --shadow: 0 14px 34px rgba(15, 23, 42, .09);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--page);
    color: var(--text);
    font-family: Inter, Arial, Helvetica, sans-serif;
}

a { color: inherit; text-decoration: none; }

.catalog-shell {
    width: min(1420px, 92%);
    margin-inline: auto;
}

.catalog-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(12, 23, 41, .97);
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    backdrop-filter: blur(12px);
}

.catalog-header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.catalog-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 800;
    white-space: nowrap;
}

.catalog-logo strong { color: var(--orange); }

.catalog-logo-mark {
    color: var(--orange);
    font-size: 29px;
}

.catalog-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.catalog-nav a {
    position: relative;
    padding: 28px 0 24px;
    color: #dce3ed;
    font-weight: 700;
}

.catalog-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 18px;
    height: 2px;
    background: var(--orange);
    transition: right .2s ease;
}

.catalog-nav a:hover,
.catalog-nav a.is-active { color: #fff; }

.catalog-nav a:hover::after,
.catalog-nav a.is-active::after { right: 0; }

.catalog-hero {
    padding: 70px 0 62px;
    text-align: center;
    background:
        radial-gradient(circle at 82% 22%, rgba(245, 158, 11, .16), transparent 16rem),
        linear-gradient(135deg, #ffffff, #edf7f4);
    border-bottom: 1px solid var(--line);
}

.eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--orange-dark);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .14em;
}

.catalog-hero h1 {
    margin: 0;
    color: var(--navy);
    font-size: clamp(38px, 5vw, 62px);
    letter-spacing: -.045em;
    line-height: 1;
}

.catalog-hero p {
    max-width: 720px;
    margin: 20px auto 0;
    color: #5f6d7d;
    font-size: 18px;
    line-height: 1.6;
}

.catalog-content {
    padding-top: 34px;
    padding-bottom: 70px;
}

.catalog-filters {
    display: grid;
    grid-template-columns: minmax(280px, 2fr) minmax(180px, 1fr) minmax(190px, 1fr) 135px auto;
    gap: 13px;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.catalog-filters label {
    display: grid;
    gap: 7px;
}

.catalog-filters label span {
    color: #697586;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.catalog-filters input,
.catalog-filters select,
.filter-submit {
    width: 100%;
    min-height: 48px;
    border-radius: 10px;
    font: inherit;
}

.catalog-filters input,
.catalog-filters select {
    padding: 0 14px;
    color: var(--text);
    background: #fff;
    border: 1px solid #d8e0e9;
    outline: none;
}

.catalog-filters input:focus,
.catalog-filters select:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, .13);
}

.filter-submit {
    align-self: end;
    border: 0;
    color: #fff;
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    font-weight: 900;
    cursor: pointer;
}

.filter-reset {
    align-self: end;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    padding: 0 6px;
    color: #6b7788;
    font-weight: 800;
}

.catalog-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
}

.catalog-toolbar p {
    margin: 0;
    color: var(--muted);
}

.catalog-toolbar strong { color: var(--navy); }

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.product-card {
    min-width: 0;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
    transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.product-card:hover {
    transform: translateY(-7px);
    border-color: rgba(245, 158, 11, .45);
    box-shadow: 0 22px 44px rgba(15, 23, 42, .15);
}

.product-media {
    position: relative;
    height: 315px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    overflow: hidden;
    background: linear-gradient(145deg, #f8fafc, #eaf0f6);
    border-bottom: 1px solid var(--line);
}

.product-media img {
    width: 100%;
    height: 100%;
    max-width: 290px;
    max-height: 265px;
    object-fit: contain;
    filter: drop-shadow(0 13px 14px rgba(15, 23, 42, .12));
    transition: transform .28s ease;
}

.product-card:hover .product-media img { transform: scale(1.035); }

.product-fallback {
    color: #c8d1dc;
    font-size: 90px;
}

.brand-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(12, 23, 41, .92);
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.product-card-body {
    padding: 23px 21px 21px;
}

.product-category {
    margin: 0 0 9px;
    color: var(--orange-dark);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.product-card h2 {
    min-height: 54px;
    margin: 0 0 11px;
    color: var(--navy);
    font-size: 21px;
    line-height: 1.28;
    overflow-wrap: anywhere;
}

.product-card h2 a:hover { color: var(--orange-dark); }

.product-power {
    min-height: 42px;
    margin: 0 0 20px;
    color: #647184;
    font-size: 14px;
    line-height: 1.5;
}

.product-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 17px;
    border-top: 1px solid var(--line);
}

.action-link {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    font-weight: 900;
}

.action-pdf {
    min-width: 64px;
    padding: 0 14px;
    color: var(--navy);
    background: #f2f5f8;
    border: 1px solid #dae2eb;
}

.action-details {
    margin-left: auto;
    padding: 0 17px;
    color: #fff;
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
}

.action-details span {
    margin-left: 8px;
    font-size: 18px;
}

.empty-state {
    padding: 80px 20px;
    text-align: center;
    color: var(--muted);
}

.empty-state div {
    color: var(--orange);
    font-size: 70px;
}

.empty-state h2 {
    margin: 12px 0 8px;
    color: var(--navy);
}

.catalog-footer {
    padding: 30px 0;
    text-align: center;
    color: #cad3df;
    background: var(--navy);
    border-top: 3px solid var(--orange);
}

@media (max-width: 1180px) {
    .catalog-filters {
        grid-template-columns: 2fr 1fr 1fr;
    }

    .filter-submit,
    .filter-reset { align-self: stretch; }

    .product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 850px) {
    .catalog-header { position: static; }

    .catalog-header-inner {
        padding: 17px 0;
        flex-direction: column;
    }

    .catalog-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 14px 22px;
    }

    .catalog-nav a { padding: 5px 0; }

    .catalog-nav a::after { bottom: 0; }

    .catalog-filters {
        grid-template-columns: 1fr 1fr;
    }

    .search-field { grid-column: 1 / -1; }

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .catalog-shell { width: min(92%, 1420px); }

    .catalog-hero { padding: 52px 0 44px; }

    .catalog-filters { grid-template-columns: 1fr; }

    .search-field { grid-column: auto; }

    .filter-reset { justify-content: center; }

    .product-grid { grid-template-columns: 1fr; }

    .product-media { height: 330px; }

    .product-card h2 { min-height: auto; }

    .product-power { min-height: auto; }
}
/* ==============================
   AI PRODUCT ADVISOR BANNER
============================== */

.advisor-banner{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:40px;

    margin:35px 0 45px;
    padding:35px;

    background:linear-gradient(135deg,#0d1b2a,#13324d);
    color:#fff;

    border-radius:18px;

    box-shadow:0 15px 45px rgba(0,0,0,.18);
}

.advisor-banner-left{
    display:flex;
    align-items:center;
    gap:25px;
}

.advisor-icon{

    width:85px;
    height:85px;

    border-radius:50%;

    background:#f6b100;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:42px;

    flex-shrink:0;
}

.advisor-banner h2{

    margin:0 0 12px;

    font-size:32px;

    font-weight:800;

}

.advisor-banner p{

    margin:0;

    max-width:700px;

    font-size:17px;

    line-height:1.7;

    color:#dbe6ef;

}

.advisor-button{

    background:#f6b100;

    color:#111;

    padding:18px 32px;

    border-radius:12px;

    font-size:17px;

    font-weight:800;

    text-decoration:none;

    transition:.25s;

    white-space:nowrap;

}

.advisor-button:hover{

    background:#ffd34d;

    transform:translateY(-3px);

    box-shadow:0 10px 30px rgba(246,177,0,.35);

}

@media(max-width:900px){

.advisor-banner{

    flex-direction:column;

    text-align:center;

}

.advisor-banner-left{

    flex-direction:column;

}

}
