/* =============================================================
   ECGSB — Enicomp Gotovi Sajtove Bransh Landing
   Зарежда се само на страницата с page-template-sajt-bransh.php
   ============================================================= */

.ecgsb-wrap { font-family: inherit; }

/* ── HERO ── */
.ecgsb-hero {
    background: linear-gradient(135deg, #0d1b3e 0%, #1a3a6b 55%, #0f4c8a 100%);
    padding: 90px 20px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.ecgsb-hero::before {
    content: '';
    position: absolute; top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle at 65% 45%, rgba(0,140,255,0.13) 0%, transparent 55%);
    pointer-events: none;
}
.ecgsb-hero-inner { position: relative; max-width: 780px; margin: 0 auto; }
.ecgsb-hero-label {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    color: #7eb8ff;
    font-size: 12px; font-weight: 600;
    letter-spacing: 2px; text-transform: uppercase;
    padding: 5px 16px; border-radius: 20px;
    margin-bottom: 22px;
    border: 1px solid rgba(126,184,255,0.25);
}
.ecgsb-hero h1 {
    color: #fff; font-size: 48px; font-weight: 800;
    margin: 0 0 18px; line-height: 1.18;
}
.ecgsb-hero p {
    color: rgba(255,255,255,0.76); font-size: 18px;
    margin: 0 0 34px; line-height: 1.65;
}
.ecgsb-hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 36px; }
.ecgsb-hero-meta {
    display: flex; gap: 24px; justify-content: center;
    flex-wrap: wrap;
}
.ecgsb-hero-meta span {
    color: rgba(255,255,255,0.65); font-size: 13.5px;
    display: flex; align-items: center; gap: 6px;
}
.ecgsb-hero-meta i { color: #4ade80; font-size: 13px; }

/* ── SHARED BUTTONS ── */
.ecgsb-btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    background: #2563eb; color: #fff !important;
    padding: 14px 32px; border-radius: 30px;
    font-weight: 700; font-size: 15px;
    text-decoration: none;
    transition: background .2s, transform .2s;
    box-shadow: 0 4px 20px rgba(37,99,235,0.4);
}
.ecgsb-btn-primary:hover { background: #1d4ed8; transform: translateY(-2px); }
.ecgsb-btn-outline {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,0.1); color: #fff !important;
    padding: 14px 32px; border-radius: 30px;
    font-weight: 600; font-size: 15px;
    text-decoration: none; border: 1.5px solid rgba(255,255,255,0.32);
    transition: background .2s, transform .2s;
}
.ecgsb-btn-outline:hover { background: rgba(255,255,255,0.18); transform: translateY(-2px); }
.ecgsb-btn-outline-light {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,0.1); color: #fff !important;
    padding: 14px 32px; border-radius: 30px;
    font-weight: 600; font-size: 15px;
    text-decoration: none; border: 1.5px solid rgba(255,255,255,0.28);
    transition: background .2s;
}
.ecgsb-btn-outline-light:hover { background: rgba(255,255,255,0.2); }

/* ── BENEFITS ── */
.ecgsb-benefits-wrap { background: #f8faff; padding: 60px 20px; }
.ecgsb-benefits-grid {
    max-width: 1100px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(4,1fr); gap: 24px;
}
.ecgsb-benefit {
    background: #fff; border-radius: 14px;
    padding: 28px 22px; text-align: center;
    border: 1px solid #edf0f7;
    transition: box-shadow .2s, transform .2s;
}
.ecgsb-benefit:hover { box-shadow: 0 10px 30px rgba(37,99,235,0.09); transform: translateY(-4px); }
.ecgsb-benefit-icon {
    width: 54px; height: 54px; border-radius: 14px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
}
.ecgsb-benefit-icon i { color: #fff; font-size: 22px; }
.ecgsb-benefit h3 { font-size: 16px; font-weight: 700; color: #1a1a2e; margin: 0 0 10px; }
.ecgsb-benefit p { font-size: 13.5px; color: #666; line-height: 1.62; margin: 0; }

/* ── PRODUCTS SECTION ── */
.ecgsb-products-section { background: #fff; padding: 70px 0; }
.ecgsb-products-inner { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.ecgsb-section-header { text-align: center; margin-bottom: 44px; }
.ecgsb-section-header h2 { font-size: 32px; font-weight: 800; color: #0d1b3e; margin: 0 0 12px; }
.ecgsb-section-header p { font-size: 16px; color: #666; margin: 0; }

/* FILTER TABS */
.ecgsb-filter-tabs {
    display: flex; flex-wrap: wrap; gap: 10px;
    justify-content: center;
    margin-bottom: 40px;
}
.ecgsb-filter-btn {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 10px 20px; border-radius: 30px;
    border: 1.5px solid #e2e8f0;
    background: #fff; color: #555;
    font-size: 13.5px; font-weight: 600;
    cursor: pointer;
    transition: all .2s;
}
.ecgsb-filter-btn i { font-size: 13px; }
.ecgsb-filter-btn:hover { border-color: #2563eb; color: #2563eb; background: #f0f6ff; }
.ecgsb-filter-btn.active {
    background: #2563eb; color: #fff !important;
    border-color: #2563eb;
    box-shadow: 0 4px 14px rgba(37,99,235,0.35);
}

/* PRODUCTS GRID */
.ecgsb-products-grid {
    display: grid; grid-template-columns: repeat(4,1fr); gap: 20px;
}
.ecgsb-product-card {
    background: #fff; border: 1px solid #edf0f7;
    border-radius: 14px; overflow: hidden;
    display: flex; flex-direction: column;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.ecgsb-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 36px rgba(37,99,235,0.1);
    border-color: #bfdbfe;
}
.ecgsb-product-img { height: 160px; overflow: hidden; background: #f0f6ff; }
.ecgsb-product-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ecgsb-product-img--placeholder {
    display: flex; align-items: center; justify-content: center;
    height: 160px;
}
.ecgsb-product-img--placeholder i { font-size: 34px; color: #2563eb; opacity: .25; }
.ecgsb-product-body {
    padding: 18px 20px 20px;
    display: flex; flex-direction: column; gap: 8px; flex-grow: 1;
}
.ecgsb-product-body h3 {
    font-size: 15px; font-weight: 700;
    color: #1a1a2e; margin: 0; line-height: 1.35;
}
.ecgsb-product-body p {
    font-size: 13px; color: #666;
    line-height: 1.6; margin: 0; flex-grow: 1;
}
.ecgsb-product-footer {
    display: flex; align-items: center;
    justify-content: space-between;
    padding-top: 12px; border-top: 1px solid #f0f0f0; margin-top: 4px;
}
.ecgsb-price-wrap { display: flex; align-items: baseline; gap: 3px; }
.ecgsb-price-from { font-size: 12px; color: #999; }
.ecgsb-price { font-size: 16px; font-weight: 800; color: #0d1b3e; }
.ecgsb-price .woocommerce-Price-amount { font-size: inherit; font-weight: inherit; color: inherit; }
.ecgsb-product-btn {
    display: inline-flex; align-items: center; gap: 5px;
    color: #2563eb; font-size: 13px; font-weight: 600;
    text-decoration: none; transition: gap .2s;
}
.ecgsb-product-btn:hover { gap: 9px; color: #1d4ed8; }
.ecgsb-product-btn i { font-size: 11px; }

/* NO RESULTS */
.ecgsb-no-results {
    text-align: center; padding: 60px 20px;
    color: #888;
}
.ecgsb-no-results i { font-size: 40px; opacity: .3; margin-bottom: 16px; display: block; }
.ecgsb-no-results p { font-size: 16px; margin: 0; }
.ecgsb-no-results a { color: #2563eb; font-weight: 600; }

/* ── INCLUDED ── */
.ecgsb-included-wrap { background: #f8faff; padding: 70px 20px; }
.ecgsb-included-inner { max-width: 1100px; margin: 0 auto; }
.ecgsb-included-grid {
    display: grid; grid-template-columns: repeat(3,1fr); gap: 24px;
}
.ecgsb-included-card {
    background: #fff; border-radius: 14px;
    padding: 28px 24px;
    border: 1px solid #edf0f7;
    transition: box-shadow .2s, transform .2s;
}
.ecgsb-included-card:hover { box-shadow: 0 10px 28px rgba(37,99,235,0.08); transform: translateY(-3px); }
.ecgsb-included-icon {
    width: 50px; height: 50px; border-radius: 13px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 18px;
}
.ecgsb-included-icon i { color: #fff; font-size: 20px; }
.ecgsb-icon--blue   { background: linear-gradient(135deg, #2563eb, #1d4ed8); }
.ecgsb-icon--green  { background: linear-gradient(135deg, #059669, #047857); }
.ecgsb-icon--orange { background: linear-gradient(135deg, #d97706, #b45309); }
.ecgsb-icon--purple { background: linear-gradient(135deg, #7c3aed, #6d28d9); }
.ecgsb-icon--teal   { background: linear-gradient(135deg, #0891b2, #0e7490); }
.ecgsb-icon--red    { background: linear-gradient(135deg, #dc2626, #b91c1c); }
.ecgsb-included-card h3 { font-size: 16px; font-weight: 700; color: #0d1b3e; margin: 0 0 10px; }
.ecgsb-included-card p { font-size: 13.5px; color: #666; line-height: 1.65; margin: 0; }

/* ── STATS STRIP ── */
.ecgsb-stats-strip {
    display: grid; grid-template-columns: repeat(4,1fr);
    background: linear-gradient(135deg, #0d1b3e 0%, #1a3a6b 100%);
}
.ecgsb-stat {
    padding: 34px 28px;
    display: flex; flex-direction: column; gap: 8px;
    border-right: 1px solid rgba(255,255,255,0.08);
}
.ecgsb-stat:last-child { border-right: none; }
.ecgsb-stat-num { font-size: 36px; font-weight: 900; color: #7eb8ff; line-height: 1; }
.ecgsb-stat-label { font-size: 13px; color: rgba(255,255,255,0.62); line-height: 1.5; }

/* ── FAQ ── */
.ecgsb-faq-wrap { background: #fff; padding: 80px 20px; border-top: 1px solid #edf0f7; }
.ecgsb-faq-inner { max-width: 1180px; margin: 0 auto; }
.ecgsb-faq-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 10px;
}
.ecgsb-faq-col { display: flex; flex-direction: column; gap: 10px; }
.ecgsb-faq-item {
    background: #f8faff; border-radius: 12px;
    border: 1px solid #edf0f7;
    overflow: hidden; transition: box-shadow .2s;
}
.ecgsb-faq-item.open { box-shadow: 0 6px 20px rgba(37,99,235,0.08); border-color: #bfdbfe; background: #fff; }
.ecgsb-faq-q {
    width: 100%; background: none; border: none;
    padding: 18px 48px 18px 20px;
    text-align: left; cursor: pointer;
    font-size: 14.5px; font-weight: 700; color: #1a1a2e;
    line-height: 1.4; position: relative; transition: color .2s;
}
.ecgsb-faq-q::after {
    content: '+'; position: absolute; right: 18px; top: 50%;
    transform: translateY(-50%);
    font-size: 20px; font-weight: 400; color: #2563eb;
    transition: transform .25s;
}
.ecgsb-faq-item.open .ecgsb-faq-q::after { transform: translateY(-50%) rotate(45deg); }
.ecgsb-faq-item.open .ecgsb-faq-q { color: #2563eb; }
.ecgsb-faq-a {
    max-height: 0; overflow: hidden;
    transition: max-height .35s ease;
    padding: 0 20px;
}
.ecgsb-faq-item.open .ecgsb-faq-a { max-height: 300px; padding: 0 20px 18px; }
.ecgsb-faq-a p { font-size: 14px; color: #555; line-height: 1.7; margin: 0; }

/* ── CTA BANNER ── */
.ecgsb-cta-banner {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    padding: 80px 20px; text-align: center;
}
.ecgsb-cta-inner { max-width: 640px; margin: 0 auto; }
.ecgsb-cta-banner h2 { color: #fff; font-size: 32px; font-weight: 800; margin: 0 0 16px; }
.ecgsb-cta-banner p { color: rgba(255,255,255,0.72); font-size: 17px; margin: 0 0 32px; line-height: 1.65; }
.ecgsb-cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── RESPONSIVE ── */
@media (max-width: 1200px) {
    .ecgsb-products-grid { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 1024px) {
    .ecgsb-benefits-grid { grid-template-columns: repeat(2,1fr); }
    .ecgsb-included-grid { grid-template-columns: repeat(2,1fr); }
    .ecgsb-stats-strip { grid-template-columns: repeat(2,1fr); }
    .ecgsb-stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
    .ecgsb-stat:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.08); }
    .ecgsb-stat:last-child, .ecgsb-stat:nth-last-child(2):nth-child(odd) { border-bottom: none; }
}
@media (max-width: 900px) {
    .ecgsb-products-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
    .ecgsb-hero h1 { font-size: 30px; }
    .ecgsb-faq-grid { grid-template-columns: 1fr; }
    .ecgsb-hero-meta { gap: 14px; }
}
@media (max-width: 580px) {
    .ecgsb-products-grid { grid-template-columns: repeat(2,1fr); }
    .ecgsb-benefits-grid { grid-template-columns: 1fr; }
    .ecgsb-included-grid { grid-template-columns: 1fr; }
    .ecgsb-hero h1 { font-size: 26px; }
    .ecgsb-filter-btn { font-size: 12.5px; padding: 8px 14px; }
}
@media (max-width: 380px) {
    .ecgsb-products-grid { grid-template-columns: 1fr; }
}
