/* ================================================================
   brendovi-single.css — Pojedinačna stranica brenda
   Zavisi od: global CSS varijabli, product-listing.css (grid/sidebar)
   ================================================================ */

/* ─── Breadcrumb ─────────────────────────────────────────────── */
.breadcrumb {
    background: var(--gray-light, #F5F5F5);
    border-bottom: 1px solid var(--border, #E0E0E0);
    padding: 14px 0;
    font-size: 0.82rem;
    color: var(--gray-dark, #888);
}
.breadcrumb .container { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.breadcrumb a { color: var(--primary); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { color: var(--gray-dark, #888); }
.breadcrumb .current { color: var(--secondary); font-weight: 500; }

/* ─── Brand Hero ─────────────────────────────────────────────── */
.brand-hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 60%, #1a1a1a 100%);
    background-size: cover;
    background-position: center;
    padding: 48px 0 52px;
    position: relative;
    overflow: hidden;
}
.brand-hero::before { display: none; }
.brand-hero .container { position: relative; z-index: 1; }

.brand-hero__inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
}

/* ── Left column: logo + badge + stats ── */
.brand-hero__left {
    flex: none;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 14px;
}

.brand-hero__logo-wrap {
    width: 140px;
    height: 88px;
    background: rgba(255,255,255,0.97);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    flex-shrink: 0;
}
.brand-hero__logo-img {
    max-width: 100%;
    max-height: 90px;
    object-fit: contain;
}
.brand-hero__logo-text {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--secondary);
    text-align: center;
    letter-spacing: -0.02em;
}

.brand-hero__badge {
    display: inline-block;
    background: rgba(197,38,105,0.22);
    border: 1px solid rgba(197,38,105,0.45);
    color: #e8799f;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 100px;
    text-align: center;
}

.brand-hero__stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    width: 100%;
}
.brand-hero__stat {
    background: rgba(255,255,255,0.13);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 10px;
    padding: 11px 10px;
    text-align: center;
    backdrop-filter: blur(4px);
}
.brand-hero__stat-val {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 4px;
}
.brand-hero__stat-lbl {
    display: block;
    font-size: 0.63rem;
    color: rgba(255,255,255,0.55);
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

/* ── Right column: info ── */
.brand-hero__info {
    flex: 1;
    color: #fff;
    padding-top: 8px;
}

.brand-hero__name {
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.1;
    margin: 0 0 16px;
    color: #fff;
}

.brand-hero__excerpt {
    font-size: 1.02rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.72);
    margin-bottom: 22px;
    max-width: 540px;
}

.brand-hero__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 30px;
}
.brand-hero__tag {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.82);
    font-size: 0.78rem;
    font-weight: 500;
    padding: 5px 14px;
    border-radius: 100px;
}

.brand-hero__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-brand-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 26px;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s, transform 0.18s, box-shadow 0.2s;
    box-shadow: 0 4px 16px rgba(197,38,105,0.4);
}
.btn-brand-primary:hover {
    background: #a01f54;
    transform: translateY(-1px);
    box-shadow: 0 6px 22px rgba(197,38,105,0.5);
}

.btn-brand-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: transparent;
    color: rgba(255,255,255,0.88);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 8px;
    border: 1.5px solid rgba(255,255,255,0.3);
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.btn-brand-secondary:hover {
    border-color: rgba(255,255,255,0.7);
    color: #fff;
    background: rgba(255,255,255,0.07);
}
.btn-brand-secondary--disabled {
    opacity: 0.55;
    cursor: not-allowed;
    pointer-events: all; /* mora biti all da bi tooltip bio vidljiv na hover */
    position: relative;
}

/* "Coming soon" badge — vidljiv i na mobilnim */
.btn-brand-secondary__soon {
    display: inline-block;
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent, #D4AF37);
    border: 1px solid rgba(212,175,55,0.5);
    border-radius: 4px;
    padding: 1px 6px;
    margin-left: 6px;
    vertical-align: middle;
    line-height: 1.6;
    white-space: nowrap;
}

/* Custom CSS tooltip — desktop hover */
.btn-brand-secondary__tooltip {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(26,26,26,0.94);
    color: rgba(255,255,255,0.9);
    font-size: 0.72rem;
    font-weight: 500;
    white-space: nowrap;
    padding: 6px 12px;
    border-radius: 6px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s;
    z-index: 10;
}
.btn-brand-secondary__tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: rgba(26,26,26,0.94);
}
.btn-brand-secondary--disabled:hover .btn-brand-secondary__tooltip {
    opacity: 1;
}

/* ─── Brand About ────────────────────────────────────────────── */
.brand-about {
    padding: 72px 0;
    background: var(--white, #fff);
    border-bottom: 1px solid #eee;
}

.brand-about__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: start;
}

.brand-about__title {
    font-size: 1.55rem;
    font-weight: 800;
    margin-bottom: 22px;
    color: var(--secondary);
}
.brand-about__content {
    font-size: 1rem;
    line-height: 1.85;
    color: #444;
}
.brand-about__content p { margin-bottom: 1em; }
.brand-about__content p:last-child { margin-bottom: 0; }

/* Trust cards */
.brand-about__trust-col {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-top: 4px;
}

.brand-trust-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #fff;
    border: 1.5px solid #e0e0e0;
    border-radius: 12px;
    padding: 18px 20px;
    transition: box-shadow 0.2s, border-color 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    flex: none;
    width: 100%;
}
.brand-trust-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    border-color: #c8c8c8;
}

.brand-trust-card__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: rgba(197,38,105,0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.brand-trust-card__label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 4px;
}
.brand-trust-card__val {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1.3;
}

/* ─── Catalog Card ───────────────────────────────────────────── */
.brand-catalog-section {
    background: #f5f5f5;
    border-top: 1px solid #e8e8e8;
    border-bottom: 1px solid #e8e8e8;
    padding: 28px 0;
}
.brand-catalog-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 14px;
    padding: 22px 28px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    flex-wrap: wrap;
}
.brand-catalog-card__icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    background: rgba(229,62,62,0.06);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.brand-catalog-card__body {
    flex: 1;
    min-width: 0;
}
.brand-catalog-card__type {
    font-size: 0.72rem;
    font-weight: 700;
    color: #e53e3e;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
}
.brand-catalog-card__name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--secondary);
    white-space: normal;
}
.brand-catalog-card__btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    font-size: 0.88rem;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s;
    white-space: nowrap;
}
.brand-catalog-card__btn:hover { background: #a01f54; }

/* ─── Products Section ───────────────────────────────────────── */
.brand-products-section {
    background: var(--gray-light, #F5F5F5);
    padding: 56px 0 72px;
}

.brand-products-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 12px;
}
.brand-products-title {
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--secondary);
    margin: 0 0 4px;
}
.brand-products-subtitle {
    font-size: 0.88rem;
    color: #777;
    margin: 0;
}
.brand-products-subtitle a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}
.brand-products-subtitle a:hover { text-decoration: underline; }

/* Empty state */
.brand-no-products {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    padding: 60px 20px;
}
.brand-no-products__inner {
    text-align: center;
    max-width: 380px;
    color: #888;
}
.brand-no-products__inner svg {
    color: #ccc;
    margin-bottom: 18px;
}
.brand-no-products__inner h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 8px;
}
.brand-no-products__inner p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* ─── B2B Banner ─────────────────────────────────────────────── */
.b2b-banner {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 64px 0;
}
.b2b-banner__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}
.b2b-banner__eyebrow {
    display: inline-block;
    background: rgba(197,38,105,0.2);
    border: 1px solid rgba(197,38,105,0.4);
    color: #e8799f;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 100px;
    margin-bottom: 14px;
}
.b2b-banner__title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
}
.b2b-banner__text {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.7;
    max-width: 560px;
    margin: 0;
}
.b2b-banner__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
}
.btn-b2b-primary {
    padding: 14px 28px;
    background: var(--primary);
    color: #fff;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    text-align: center;
    transition: background 0.2s;
}
.btn-b2b-primary:hover { background: #a01f54; }
.btn-b2b-secondary {
    padding: 14px 28px;
    color: rgba(255,255,255,0.82);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: border-color 0.2s;
}
.btn-b2b-secondary:hover { border-color: #fff; color: #fff; }

/* ─── Responsive (mobile-first, min-width) ───────────────────── */

@media (min-width: 580px) {
    .brand-hero__left { flex-direction: row; align-items: center; }
    .brand-hero__stats { grid-template-columns: repeat(4, 1fr); }
    .brand-hero__name { font-size: 1.9rem; }
    .brand-hero__actions { flex-direction: row; }
    .brand-about__trust-col { flex-direction: row; flex-wrap: wrap; }
    .brand-trust-card { flex: 1 1 calc(50% - 7px); width: auto; min-width: 200px; }
    .b2b-banner__actions { flex-direction: row; }
}

@media (min-width: 768px) {
    .brand-hero { padding: 72px 0 68px; }
    .brand-hero__inner { flex-direction: row; gap: 40px; }
    .brand-hero__left { flex: 0 0 200px; width: 200px; flex-direction: column; align-items: center; gap: 16px; }
    .brand-hero__logo-wrap { width: 190px; height: 114px; }
    .brand-hero__stats { grid-template-columns: 1fr 1fr; }
    .brand-hero__name { font-size: 2.2rem; }
    .brand-catalog-card { flex-wrap: nowrap; }
    .brand-catalog-card__name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .b2b-banner__inner { grid-template-columns: 1fr auto; }
    .b2b-banner__actions { flex-direction: column; align-items: stretch; min-width: 200px; }
}

@media (min-width: 960px) {
    .brand-hero__inner { gap: 60px; }
    .brand-hero__left { flex: 0 0 240px; width: 240px; }
    .brand-hero__logo-wrap { width: 220px; height: 130px; }
    .brand-hero__name { font-size: 2.8rem; }
    .brand-about__inner { grid-template-columns: 1fr 260px; gap: 40px; }
    .brand-about__trust-col { flex-direction: column; }
    .brand-trust-card { flex: none; width: 100%; }
}

@media (min-width: 1100px) {
    .brand-about__inner { grid-template-columns: 1fr 300px; gap: 56px; }
}
