/*
 Theme Name:   Shoptimizer Child – Bubamara Računari
 Theme URI:    https://bubamara-racunari.rs
 Description:  Child tema za Bubamara Računari, zasnovana na Shoptimizer temi.
 Author:       Gajić
 Template:     shoptimizer
 Version:      0.4.15
 Requires at least: 6.6
 Requires PHP: 7.4
 Text Domain:  shoptimizer-child
*/

/* ==========================================================================
   Brend tokeni
   ========================================================================== */
:root {
	--bb-red: #d7261e;
	--bb-red-dark: #a91b15;
	--bb-red-soft: #fdecea;
	--bb-dark: #111418;
	--bb-dark-2: #1c2026;
	--bb-text: #2b2f36;
	--bb-muted: #6b7280;
	--bb-bg-soft: #f5f6f8;
	--bb-border: #e5e7eb;
	--bb-green: #16a34a;
	--bb-radius: 10px;
	--bb-shadow: 0 1px 2px rgba(17, 20, 24, .04), 0 4px 16px rgba(17, 20, 24, .06);
}

/* ---------- Kontakt traka ---------- */
.bb-topbar { background: var(--bb-dark); color: #e5e7eb; font-size: 13px; }
.bb-topbar__inner { display: flex; flex-wrap: wrap; gap: 4px 22px; justify-content: flex-end; align-items: center; padding-top: 7px; padding-bottom: 7px; }
.bb-topbar__item:first-child { margin-right: auto; }
.bb-topbar a { color: #fff; text-decoration: none; }
.bb-topbar a:hover { color: #ff8a84; }

/* ---------- Header / logo ---------- */
.site-header .custom-logo-link img,
.bb-logo img { width: auto; height: 52px; max-width: 220px; }
.site-header { border-bottom: 1px solid var(--bb-border); }

/* ---------- Dugmad (blokovi) ---------- */
.wp-block-button__link,
.wp-element-button { border-radius: 8px; font-weight: 600; padding: .8em 1.4em; transition: background-color .15s, color .15s, border-color .15s; }
.wp-block-button.is-style-fill .wp-block-button__link,
.wp-block-button:not(.is-style-outline) .wp-block-button__link { background: var(--bb-red); color: #fff; border: 2px solid var(--bb-red); }
.wp-block-button.is-style-fill .wp-block-button__link:hover,
.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover { background: var(--bb-red-dark); border-color: var(--bb-red-dark); color: #fff; }
.wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--bb-dark); border: 2px solid var(--bb-dark); }
.wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--bb-dark); color: #fff; }

/* ---------- Stranice: tipografija ---------- */
.entry-content > .wp-block-heading,
.entry-content h2.wp-block-heading { margin-top: 1.6em; }
.entry-content p { line-height: 1.7; }

/* Naslovna: H1 je u heroju, sakrij naslov stranice */
.home .entry-header { display: none; }
.home .entry-content > *:first-child { margin-top: 0; }

/* ---------- Hero ---------- */
.bb-hero {
	position: relative;
	background: radial-gradient(1200px 400px at 85% 0%, rgba(215, 38, 30, .35), transparent 60%), var(--bb-dark);
	color: #e5e7eb;
	border-radius: var(--bb-radius);
	padding: clamp(28px, 6vw, 72px) clamp(20px, 5vw, 64px);
	margin-bottom: 48px;
	overflow: hidden;
}
.bb-hero h1 { color: #fff; font-size: clamp(28px, 4.2vw, 46px); line-height: 1.15; max-width: 16em; margin: .2em 0 .4em; letter-spacing: -.02em; }
.bb-hero p { font-size: clamp(16px, 1.6vw, 19px); max-width: 34em; color: #cfd3da; }
.bb-hero__eyebrow { display: inline-block; font-size: 13px !important; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #ff8a84 !important; margin: 0; }
.bb-hero .wp-block-button.is-style-outline .wp-block-button__link { color: #fff; border-color: rgba(255, 255, 255, .6); }
.bb-hero .wp-block-button.is-style-outline .wp-block-button__link:hover { background: #fff; color: var(--bb-dark); }
.bb-usp { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 14px; color: #e5e7eb; }
.bb-usp li { margin: 0; padding-left: 22px; position: relative; }
.bb-usp li::before { content: ""; position: absolute; left: 0; top: .45em; width: 12px; height: 7px; border-left: 2px solid #ff8a84; border-bottom: 2px solid #ff8a84; transform: rotate(-45deg); }

/* ---------- Sekcije ---------- */
.bb-section { margin: 0 0 56px; }
.bb-section > .wp-block-heading { margin-top: 0; }

/* ---------- Kartice ---------- */
.bb-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 18px 0 32px; }
.bb-cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bb-cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 640px; }
.bb-card { background: #fff; border: 1px solid var(--bb-border); border-radius: var(--bb-radius); padding: 22px 22px 20px; position: relative; display: flex; flex-direction: column; box-shadow: var(--bb-shadow); }
.bb-card::before { content: ""; width: 34px; height: 4px; border-radius: 2px; background: var(--bb-red); margin-bottom: 14px; }
.bb-card h3 { font-size: 17px; margin: 0 0 8px; color: var(--bb-dark); }
.bb-card p { font-size: 15px; color: var(--bb-muted); margin: 0; line-height: 1.6; }
.bb-card__link { margin-top: auto; padding-top: 14px; font-weight: 600; color: var(--bb-red); text-decoration: none; }
.bb-card__link:hover { color: var(--bb-red-dark); }
.bb-home-services .bb-card { padding-top: 26px; }

/* ---------- Koraci ---------- */
.bb-steps { counter-reset: bb; list-style: none; margin: 18px 0 32px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.bb-steps li { counter-increment: bb; margin: 0; background: var(--bb-bg-soft); border-radius: var(--bb-radius); padding: 18px 18px 18px 18px; font-size: 15px; line-height: 1.55; }
.bb-steps li::before { content: counter(bb); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--bb-red); color: #fff; font-weight: 700; margin-bottom: 10px; }

/* ---------- CTA ---------- */
.bb-cta { background: var(--bb-red-soft); border: 1px solid #f6c9c6; border-radius: var(--bb-radius); padding: clamp(22px, 4vw, 40px); margin: 40px 0 8px; }
.bb-cta h2 { margin-top: 0 !important; color: var(--bb-dark); }
.bb-cta p { max-width: 40em; }

/* ---------- Kontakt ---------- */
.bb-contact-box { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 24px 0; }
.bb-contact-box > div { background: var(--bb-bg-soft); border-radius: var(--bb-radius); padding: 18px; font-size: 15px; line-height: 1.6; }
.bb-contact-box strong { color: var(--bb-dark); }
.bb-contact-box a { color: var(--bb-red); text-decoration: none; }
.bb-map { border-radius: var(--bb-radius); overflow: hidden; border: 1px solid var(--bb-border); margin: 8px 0 20px; }
.bb-map iframe { display: block; width: 100%; height: 400px; border: 0; }
.bb-legal { font-size: 14px; color: var(--bb-muted); }

/* Radni nacrt – napomena za klijenta (obrisati pre objave) */
.bb-note { background: #fff7e6; border-left: 4px solid #f59e0b; padding: 10px 14px; font-size: 14px; border-radius: 6px; }

/* ---------- Kategorije na naslovnoj ---------- */
.bb-cat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.bb-cat-grid__item { display: flex; flex-direction: column; gap: 6px; background: #fff; border: 1px solid var(--bb-border); border-radius: var(--bb-radius); padding: 16px; text-decoration: none; color: var(--bb-dark); transition: border-color .15s, box-shadow .15s, transform .15s; }
.bb-cat-grid__item:hover { border-color: var(--bb-red); box-shadow: var(--bb-shadow); transform: translateY(-2px); color: var(--bb-dark); }
.bb-cat-grid__img { display: grid; place-items: center; aspect-ratio: 4 / 3; background: var(--bb-bg-soft); border-radius: 8px; overflow: hidden; margin-bottom: 6px; }
.bb-cat-grid__img img { width: 100%; height: 100%; object-fit: contain; }
.bb-cat-grid__ph { font-size: 40px; font-weight: 800; color: var(--bb-red); opacity: .35; }
.bb-cat-grid__name { font-weight: 700; font-size: 16px; }
.bb-cat-grid__sub { font-size: 13px; color: var(--bb-muted); }

/* ---------- Footer ---------- */
.bb-footer { background: var(--bb-dark); color: #c4c8cf; padding: 52px 0 36px; }
.bb-footer__grid { display: grid !important; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; align-items: start !important; }
.bb-footer__about img { height: 48px; width: auto; margin-bottom: 14px; }
.bb-footer__about p { font-size: 14px; line-height: 1.6; color: #aeb3bb; }
.bb-footer__title { color: #fff; font-size: 15px; text-transform: uppercase; letter-spacing: .06em; margin: 0 0 14px; }
.bb-footer ul { list-style: none; margin: 0; padding: 0; }
.bb-footer li { margin: 0 0 8px; font-size: 14px; }
.bb-footer a { color: #c4c8cf; text-decoration: none; }
.bb-footer a:hover { color: #fff; }
.bb-footer__social { display: inline-block; border: 1px solid #3a3f47; padding: 6px 12px; border-radius: 6px; }
.bb-copyright { background: #0b0d10; color: #8b919a; font-size: 13px; padding: 14px 0; }
.bb-copyright .col-full { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; }
.bb-copyright p { margin: 0; }

/* ---------- Proizvodi ---------- */
.bb-badge { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; line-height: 1.7; background: var(--bb-bg-soft); color: var(--bb-text); }
.bb-badge--stock { background: #dcfce7; color: var(--bb-green); }
.bb-product-meta { margin: .4em 0 .9em; display: flex; flex-wrap: wrap; gap: 6px; }
.bb-vat-note { font-size: 13px; color: var(--bb-muted); margin-top: -.6em; }

/* ---------- v0.2.1: raspored sekcija i kategorija ---------- */
.entry-content .wp-block-group.is-layout-constrained > * { max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; }
.bb-hero > .wp-block-buttons { margin-top: 26px; }
.entry-content .wp-block-group.bb-section.has-global-padding { padding-left: 0; padding-right: 0; }
.entry-content .wp-block-group.bb-hero.has-global-padding { padding-left: clamp(20px, 5vw, 64px); padding-right: clamp(20px, 5vw, 64px); }
.entry-content .wp-block-group.bb-cta.has-global-padding { padding-left: clamp(22px, 4vw, 40px); padding-right: clamp(22px, 4vw, 40px); }
.bb-cat-grid__item { position: relative; padding: 18px 18px 16px; border-left: 4px solid var(--bb-red); }
.bb-cat-grid__item:hover { transform: translateY(-2px); }
.bb-cat-grid__item::after { content: "→"; position: absolute; right: 16px; top: 16px; color: var(--bb-red); font-weight: 700; opacity: .5; transition: opacity .15s, transform .15s; }
.bb-cat-grid__item:hover::after { opacity: 1; transform: translateX(3px); }
.bb-cat-grid__img:empty { display: none; }
.bb-cat-grid__name { padding-right: 20px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.bb-cards--4, .bb-steps, .bb-contact-box, .bb-cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bb-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
	.bb-topbar__inner { justify-content: center; }
	.bb-topbar__item:first-child { margin-right: 0; }
	.bb-topbar__hide-mobile { display: none; }
	.site-header .custom-logo-link img, .bb-logo img { height: 40px; }
	.bb-cards, .bb-cards--2 { grid-template-columns: 1fr; }
	.bb-hero { border-radius: 0; margin-left: -1em; margin-right: -1em; }
	.bb-footer__grid { grid-template-columns: 1fr; gap: 24px; }
	.bb-map iframe { height: 300px; }
}
@media (max-width: 480px) {
	.bb-cards--4, .bb-steps, .bb-contact-box { grid-template-columns: 1fr; }
}

/* ==========================================================================
   v0.3 – Naslovna po ICP-u (pretraga po modelu, trust, kategorije, B2B)
   ========================================================================== */
.home .site-content > .col-full { max-width: 1240px; }
.home .entry-content > .wp-block-group { margin-bottom: 0; }
.bb-sec { margin: 0 0 64px !important; }
.bb-sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin: 0 0 18px; }
.bb-sec-head h2 { margin: 0 !important; font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -.01em; }
.bb-sec-head p { margin: 4px 0 0; color: var(--bb-muted); }
.bb-sec-head a { font-weight: 600; color: var(--bb-red); text-decoration: none; white-space: nowrap; }
.bb-kicker { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--bb-red); margin: 0 0 6px !important; }

/* Hero v2: tekst + pretraga levo, proizvodi desno */
.bb-hero2 { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; background: radial-gradient(900px 420px at 100% 0%, rgba(215, 38, 30, .45), transparent 60%), radial-gradient(600px 300px at 0% 100%, rgba(215, 38, 30, .18), transparent 60%), var(--bb-dark); color: #d6dae0; border-radius: 16px; padding: clamp(26px, 5vw, 60px); margin: 8px 0 22px !important; }
.bb-hero2 h1 { color: #fff; font-size: clamp(30px, 4.4vw, 52px); line-height: 1.08; letter-spacing: -.025em; margin: 6px 0 14px; }
.bb-hero2 h1 em { font-style: normal; color: #ff5a52; }
.bb-hero2__lead { font-size: clamp(16px, 1.5vw, 19px); color: #c4c9d1; max-width: 34em; margin: 0 0 22px; }
.bb-hero2 .bb-kicker { color: #ff8a84; }
.bb-search { display: flex; background: #fff; border-radius: 12px; padding: 6px; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); max-width: 620px; }
.bb-search input[type=search] { flex: 1; min-width: 0; border: 0 !important; background: transparent !important; box-shadow: none !important; font-size: 16px; padding: 12px 14px !important; color: var(--bb-dark); outline: none; }
.bb-search button { background: var(--bb-red); color: #fff; border: 0; border-radius: 9px; padding: 0 22px; font-weight: 700; font-size: 15px; cursor: pointer; white-space: nowrap; }
.bb-search button:hover { background: var(--bb-red-dark); }
.bb-chips { margin: 14px 0 0 !important; font-size: 13px; display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; }
.bb-chips span { color: #9aa1ab; margin-right: 2px; }
.bb-chips a { color: #e5e7eb; text-decoration: none; border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; padding: 4px 11px; transition: background .15s, border-color .15s; }
.bb-chips a:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .4); color: #fff; }
.bb-hero2__help { margin: 18px 0 0 !important; font-size: 14px; color: #aeb4bd; }
.bb-hero2__help a { color: #fff; font-weight: 600; }

.bb-hero-products { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bb-hero-products__item { background: #fff; border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--bb-dark); box-shadow: 0 8px 24px rgba(0, 0, 0, .25); transition: transform .2s; }
.bb-hero-products__item:nth-child(2) { transform: translateY(18px); }
.bb-hero-products__item:nth-child(4) { transform: translateY(18px); }
.bb-hero-products__item:hover { transform: translateY(-3px); color: var(--bb-dark); }
.bb-hero-products__item img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; background: #fff; border-radius: 8px; margin: 0 0 6px !important; }
.bb-hero-products__name { font-size: 13px; font-weight: 600; line-height: 1.3; }
.bb-hero-products__price { font-size: 14px; font-weight: 700; color: var(--bb-red); }
.bb-hero-products__price del { color: var(--bb-muted); font-weight: 400; font-size: 12px; }
.bb-hero-products__price ins { text-decoration: none; }

/* Trust traka */
.bb-trustbar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0 0 56px !important; padding: 0; list-style: none; }
.bb-trustbar li { display: flex; gap: 12px; align-items: center; background: var(--bb-bg-soft); border-radius: 12px; padding: 14px 16px; margin: 0; font-size: 14px; line-height: 1.35; color: var(--bb-muted); }
.bb-trustbar li strong { display: block; color: var(--bb-dark); font-size: 15px; }
.bb-trustbar svg { flex: none; width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: #fff; color: var(--bb-red); box-shadow: var(--bb-shadow); }

/* Kategorije sa ikonama */
.bb-cat-grid__icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 12px; background: var(--bb-red-soft); color: var(--bb-red); margin-bottom: 6px; transition: background .15s, color .15s; }
.bb-cat-grid__item:hover .bb-cat-grid__icon { background: var(--bb-red); color: #fff; }
.bb-cat-grid__item { border-left-width: 1px !important; border-left-color: var(--bb-border) !important; padding: 18px !important; }
.bb-cat-grid__item:hover { border-color: var(--bb-red) !important; }

/* Woo proizvodi na naslovnoj */
.home .woocommerce ul.products { margin-bottom: 0; }

/* Provera kompatibilnosti – traka */
.bb-compat-band { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; background: var(--bb-red); color: #fff; border-radius: 16px; padding: clamp(24px, 4vw, 48px); }
.bb-compat-band h2 { color: #fff; margin: 0 0 10px !important; font-size: clamp(24px, 2.8vw, 34px); }
.bb-compat-band p { color: #ffe3e1; margin: 0; font-size: 17px; }
.bb-contact-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bb-contact-btns a { display: flex; flex-direction: column; align-items: center; justify-content: center; background: #fff; color: var(--bb-dark); border-radius: 10px; padding: 14px 12px; font-weight: 700; text-decoration: none; transition: transform .15s, box-shadow .15s; text-align: center; }
.bb-contact-btns a:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 0, 0, .2); color: var(--bb-dark); }
.bb-contact-btns a small { display: block; font-weight: 500; color: var(--bb-muted); font-size: 12px; }

/* Brendovi */
.bb-brands { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.bb-brands a { display: grid; place-items: center; height: 64px; border: 1px solid var(--bb-border); border-radius: 12px; font-weight: 800; font-size: 18px; letter-spacing: .02em; color: var(--bb-dark); text-decoration: none; background: #fff; transition: border-color .15s, color .15s, box-shadow .15s; }
.bb-brands a:hover { border-color: var(--bb-red); color: var(--bb-red); box-shadow: var(--bb-shadow); }

/* Koraci (na naslovnoj veći) */
.bb-steps--big { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
.bb-steps--big li { background: #fff; border: 1px solid var(--bb-border); padding: 22px; }
.bb-steps--big li strong { display: block; font-size: 17px; color: var(--bb-dark); margin-bottom: 4px; }

/* B2B */
.bb-b2b { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: 16px; overflow: hidden; background: var(--bb-dark); color: #c4c9d1; }
.bb-b2b__text { padding: clamp(24px, 4vw, 48px); }
.bb-b2b__text h2 { color: #fff; margin: 0 0 12px !important; font-size: clamp(24px, 2.6vw, 32px); }
.bb-b2b__list { list-style: none; margin: 0; padding: clamp(24px, 4vw, 48px); background: var(--bb-dark-2); display: grid; gap: 14px; align-content: center; }
.bb-b2b__list li { margin: 0; padding-left: 30px; position: relative; color: #e5e7eb; }
.bb-b2b__list li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--bb-red); }
.bb-b2b__list li::after { content: ""; position: absolute; left: 6px; top: 7px; width: 8px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }
a.bb-btn { display: inline-block; background: var(--bb-red); color: #fff; border-radius: 8px; padding: .8em 1.4em; font-weight: 700; text-decoration: none; margin-top: 8px; }
a.bb-btn:hover { background: var(--bb-red-dark); color: #fff; }
a.bb-btn--ghost { background: transparent; border: 2px solid rgba(255, 255, 255, .5); margin-left: 8px; }

/* Usluge u gradu */
.bb-local { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.bb-local__card { border: 1px solid var(--bb-border); border-radius: 14px; padding: 26px; background: linear-gradient(180deg, #fff, var(--bb-bg-soft)); }
.bb-local__card h3 { margin: 0 0 8px; font-size: 20px; }
.bb-local__card p { color: var(--bb-muted); margin: 0 0 14px; }
.bb-local__card a { font-weight: 700; color: var(--bb-red); text-decoration: none; }

/* FAQ */
.bb-faq { display: grid; gap: 10px; max-width: 860px; }
.bb-faq details { border: 1px solid var(--bb-border); border-radius: 12px; background: #fff; padding: 0 18px; }
.bb-faq summary { cursor: pointer; list-style: none; font-weight: 700; color: var(--bb-dark); padding: 16px 28px 16px 0; position: relative; }
.bb-faq summary::-webkit-details-marker { display: none; }
.bb-faq summary::after { content: "+"; position: absolute; right: 0; top: 12px; font-size: 22px; color: var(--bb-red); font-weight: 400; }
.bb-faq details[open] summary::after { content: "–"; }
.bb-faq details p { margin: 0 0 16px; color: var(--bb-muted); }

/* Stranica proizvoda: trust + kompatibilnost */
.bb-trust-box { margin: 18px 0; border: 1px solid var(--bb-border); border-radius: 12px; padding: 14px 16px; background: var(--bb-bg-soft); font-size: 14px; }
.bb-trust-box ul { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 4px; }
.bb-trust-box li { margin: 0; }
.bb-trust-box li strong { display: inline-block; min-width: 100px; color: var(--bb-dark); }
.bb-compat { margin: 0; padding-top: 10px; border-top: 1px solid var(--bb-border); line-height: 1.6; }
.bb-compat a { color: var(--bb-red); font-weight: 700; }

@media (max-width: 1024px) {
	.bb-hero2 { grid-template-columns: 1fr; }
	.bb-hero-products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.bb-hero-products__item:nth-child(2), .bb-hero-products__item:nth-child(4) { transform: none; }
	.bb-trustbar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bb-compat-band, .bb-b2b { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
	.bb-hero2 { border-radius: 0; margin-left: -1em !important; margin-right: -1em !important; }
	.bb-hero-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bb-search { flex-direction: column; gap: 6px; }
	.bb-search button { padding: 13px; }
	.bb-trustbar { grid-template-columns: 1fr; }
	.bb-brands { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.bb-local { grid-template-columns: 1fr; }
	.bb-steps--big { grid-template-columns: 1fr !important; }
	.bb-sec-head { flex-direction: column; align-items: flex-start; }
}

/* ---------- v0.3.1: mobilne korekcije ---------- */
.bb-chips a, .bb-sec-head a, .bb-brands a, .bb-cat-grid__item, .bb-contact-btns a, a.bb-btn, .bb-local__card a, .bb-hero-products__item { text-decoration: none !important; }
@media (max-width: 767px) {
	.bb-hero2 { margin-left: 0 !important; margin-right: 0 !important; border-radius: 12px; gap: 24px; padding: 24px 18px; }
	.bb-hero-products__item:nth-child(n+3) { display: none; }
	.bb-trustbar { grid-template-columns: 1fr 1fr; gap: 8px; }
	.bb-trustbar li { flex-direction: column; align-items: flex-start; gap: 6px; padding: 12px; font-size: 13px; }
	.bb-trustbar li strong { font-size: 14px; }
	.bb-cat-grid { gap: 8px; }
	.bb-cat-grid__item { flex-direction: row !important; align-items: center; gap: 10px !important; padding: 12px !important; }
	.bb-cat-grid__icon { width: 38px; height: 38px; margin: 0; flex: none; }
	.bb-cat-grid__icon svg { width: 22px; height: 22px; }
	.bb-cat-grid__name { font-size: 14px; line-height: 1.25; padding-right: 0; }
	.bb-cat-grid__sub, .bb-cat-grid__item::after { display: none; }
	.bb-sec { margin-bottom: 44px !important; }
	.bb-b2b__list { padding: 22px 18px; }
	.bb-b2b__text { padding: 24px 18px; }
	a.bb-btn--ghost { margin-left: 0; }
}

/* v0.3.2: ikonice u kontakt traci */
.bb-ti { display: inline-block; vertical-align: -2px; margin-right: 4px; color: #ff8a84; }

/* v0.3.3: napomena o PDV-u ispod cene */
.single-product .summary .bb-vat-note { clear: both; margin: 0 0 12px; padding-top: 2px; }

/* ==========================================================================
   v0.4 – Header kao pravi shop: tamni header, velika pretraga, akcije,
   "Delovi za laptop" mega dugme, USP traka, live pretraga
   ========================================================================== */

/* Gornja traka */
.bb-topbar { background: #0b0d10; font-size: 12.5px; border-bottom: 1px solid #1c2026; }
.bb-topbar__inner { justify-content: space-between !important; }
.bb-topbar__links { display: flex; gap: 18px; }
.bb-topbar__links a { color: #9aa1ab !important; }
.bb-topbar__links a:hover { color: #fff !important; }
.bb-topbar__contact { display: flex; gap: 18px; align-items: center; color: #d6dae0; }
.bb-topbar__contact a { color: #fff; }

/* Header */
.site-header { background: var(--bb-dark) !important; border-bottom: 0 !important; }
.site-header .main-header { padding-top: 16px; padding-bottom: 16px; }
.site-header .custom-logo-link img, .bb-logo img { height: 50px !important; max-width: 230px; }
.site-header .site-search { flex: 1 1 auto; max-width: none; margin: 0 28px; }
.site-search form:before { display: none !important; }
.site-search .woocommerce-product-search { display: flex; background: #fff; border-radius: 10px; padding: 4px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .06); }
.site-search .woocommerce-product-search .search-field { flex: 1; height: 44px; border: 0 !important; background: transparent !important; box-shadow: none !important; padding: 0 14px !important; font-size: 15px; color: var(--bb-dark); }
.site-search .woocommerce-product-search button[type=submit],
.widget_product_search form button[type=submit] { clip: auto !important; position: static !important; display: inline-flex; align-items: center; gap: 8px; height: 44px; width: auto; padding: 0 22px; border: 0; border-radius: 8px; background: var(--bb-red); color: #fff; font-weight: 700; font-size: 15px; cursor: pointer; opacity: 1 !important; text-indent: 0 !important; }
.site-search .woocommerce-product-search button[type=submit]:hover { background: var(--bb-red-dark); }

/* Akcije u headeru */
.bb-hactions { display: flex; gap: 22px; align-items: center; margin-left: auto; }
.bb-hactions__item { display: flex; align-items: center; gap: 10px; color: #fff !important; text-decoration: none; }
.bb-hactions__item svg { flex: none; color: #ff6a63; }
.bb-hactions__item small { display: block; font-size: 11.5px; color: #9aa1ab; line-height: 1.2; }
.bb-hactions__item strong { display: block; font-size: 14.5px; line-height: 1.25; white-space: nowrap; }
.bb-hactions__item:hover strong { color: #ff8a84; }

/* Navigacija */
.col-full-nav { background: #1c2026 !important; border-top: 1px solid #262b33; }
.main-navigation ul.menu > li > a { font-weight: 600; }
.main-navigation ul.menu > li.bb-allcats > a { background: var(--bb-red); color: #fff !important; padding-left: 20px !important; padding-right: 20px !important; margin-right: 10px; }
.main-navigation ul.menu > li.bb-allcats > a:hover { background: var(--bb-red-dark); }
.main-navigation ul.menu > li.bb-allcats > a::before { content: ""; display: inline-block; width: 16px; height: 12px; margin-right: 10px; vertical-align: -1px; background: linear-gradient(#fff, #fff) 0 0 / 100% 2px no-repeat, linear-gradient(#fff, #fff) 0 5px / 100% 2px no-repeat, linear-gradient(#fff, #fff) 0 10px / 100% 2px no-repeat; }
.main-navigation ul li.bb-allcats.col-2 > .sub-menu-wrapper > .container > ul.sub-menu { width: 540px; padding: 14px 10px; border-radius: 0 0 12px 12px; }
.main-navigation ul li.bb-allcats ul.sub-menu li a { display: flex !important; align-items: center; gap: 10px; padding: 8px 10px !important; border-radius: 8px; font-weight: 600; }
.main-navigation ul li.bb-allcats ul.sub-menu li a:hover { background: var(--bb-red-soft); color: var(--bb-red) !important; text-decoration: none !important; }
.bb-mi { display: inline-grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 8px; background: var(--bb-bg-soft); color: var(--bb-red); }
.bb-mi svg { width: 20px; height: 20px; }
.shoptimizer-cart .cart-contents { color: #fff !important; }

/* USP traka */
.bb-usp-strip { background: #fff; border-bottom: 1px solid var(--bb-border); }
.bb-usp-strip ul { list-style: none; margin: 0 auto !important; padding-top: 12px !important; padding-bottom: 12px !important; display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.bb-usp-strip li { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 13px; color: var(--bb-muted); line-height: 1.3; }
.bb-usp-strip li svg { flex: none; color: var(--bb-red); }
.bb-usp-strip strong { color: var(--bb-dark); display: block; font-size: 14px; }
.home .bb-trustbar { display: none; }

/* Live pretraga */
.bb-ls-wrap { position: relative; }
.bb-ls { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 1000; background: #fff; border-radius: 12px; box-shadow: 0 18px 50px rgba(17, 20, 24, .25); padding: 6px; max-height: 70vh; overflow: auto; text-align: left; }
.bb-ls[hidden] { display: none; }
.bb-ls__item { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; padding: 8px; border-radius: 8px; color: var(--bb-dark) !important; text-decoration: none !important; font-size: 14px; line-height: 1.3; }
.bb-ls__item:hover { background: var(--bb-bg-soft); }
.bb-ls__item img, .bb-ls__noimg { width: 48px; height: 48px; object-fit: contain; border-radius: 6px; background: #fff; border: 1px solid var(--bb-border); margin: 0 !important; }
.bb-ls__price { font-weight: 700; color: var(--bb-red); white-space: nowrap; }
.bb-ls__all { display: block; text-align: center; padding: 10px; margin-top: 4px; border-top: 1px solid var(--bb-border); font-weight: 700; color: var(--bb-red) !important; text-decoration: none !important; }
.bb-ls__none { margin: 0; padding: 12px; font-size: 14px; color: var(--bb-muted); }
.bb-ls__none a { color: var(--bb-red); font-weight: 700; }

/* Mobilni header */
@media (max-width: 992px) {
	.bb-hactions { display: none; }
	.site-header .site-search { margin: 0; }
	.col-full-nav { background: #fff !important; border-top: 0; }
	.main-navigation ul.menu > li.bb-allcats > a { background: transparent; color: inherit !important; margin: 0; }
	.main-navigation ul.menu > li.bb-allcats > a::before { display: none; }
	.bb-usp-strip ul { grid-template-columns: 1fr 1fr; gap: 8px; }
	.bb-usp-strip li { font-size: 12px; }
	.bb-usp-strip strong { font-size: 13px; }
	.site-header .menu-toggle .bar { background-color: #fff !important; }
	.mobile-search-toggle, .shoptimizer-myaccount a, .site-header .cart-contents { color: #fff !important; }
}
@media (max-width: 480px) {
	.bb-usp-strip li:nth-child(n+3) { display: none; }
	.site-search .woocommerce-product-search button[type=submit] span { display: none; }
	.site-search .woocommerce-product-search button[type=submit] { padding: 0 14px; }
}

/* v0.4.1: live pretraga iznad navigacije */
.site-header { z-index: 100 !important; }

/* v0.4.2: mobilna pretraga + kompaktna gornja traka */
.bb-msearch.site-search { display: none !important; }
@media (max-width: 992px) {
	.bb-msearch.site-search { display: block !important; background: var(--bb-dark); padding: 0 12px 12px; margin: 0 !important; }
	.bb-msearch .woocommerce-product-search { max-width: none; }
	.bb-topbar__inner { justify-content: center !important; padding-top: 5px !important; padding-bottom: 5px !important; }
	.bb-topbar { font-size: 12px; }
	.site-header .site-search { display: none !important; }
}

/* v0.4.4: mobilni header */
@media (max-width: 992px) {
	.bb-topbar__links { display: none !important; }
	.site-header .menu-toggle { background: transparent !important; color: #fff !important; }
	.site-header .menu-toggle .bar { background-color: #fff !important; }
	.site-header .menu-toggle .bar-text { color: #fff !important; }
	.site-header .main-header { padding-top: 10px; padding-bottom: 10px; }
	.site-header .custom-logo-link img, .bb-logo img { height: 40px !important; }
	.bb-hero2 .bb-search { display: none; }
	.bb-hero2__help { margin-top: 0 !important; }
}

/* v0.4.5: mobilni meni */
@media (max-width: 992px) {
	.main-navigation ul.menu > li.bb-allcats > a { padding-left: 0 !important; padding-right: 0 !important; }
	.bb-mmenu { padding: 16px 0 0; margin-top: 12px; border-top: 1px solid var(--bb-border); font-size: 15px; }
	.bb-mmenu a { display: block; padding: 7px 0; color: var(--bb-dark); font-weight: 600; text-decoration: none; }
	.bb-mmenu a.bb-mmenu__tel { color: var(--bb-red); }
}

/* ===== v0.4.6 Google Business Profile ===== */
.bb-stars{position:relative;display:inline-block;font-size:16px;line-height:1;letter-spacing:2px;color:#dadce0}
.bb-stars::before{content:"★★★★★";position:absolute;left:0;top:0;width:var(--bb-pct,100%);overflow:hidden;color:#fbbc04;white-space:nowrap}
.bb-gbadge{display:inline-flex;align-items:center;gap:8px;padding:8px 14px;border:1px solid #e3e5e8;border-radius:999px;background:#fff;color:#111418!important;text-decoration:none!important;font-size:14px;line-height:1.2}
.bb-gbadge strong{font-size:16px}
.bb-gbadge span:last-child{color:#5f6368}
.bb-gbadge:hover{border-color:#c9ccd1;box-shadow:0 2px 10px rgba(0,0,0,.06)}
.bb-gbadge--dark{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.15);color:#fff!important}
.bb-gbadge--dark span:last-child{color:rgba(255,255,255,.7)}
.bb-gbp{display:grid;grid-template-columns:1fr;gap:0;border:1px solid #e3e5e8;border-radius:14px;overflow:hidden;background:#fff;margin:28px 0}
.bb-gbp--map{grid-template-columns:minmax(300px,420px) 1fr}
.bb-gbp__info{padding:26px 26px 24px}
.bb-gbp__top{display:flex;gap:14px;align-items:flex-start;padding-bottom:18px;border-bottom:1px solid #eef0f2}
.bb-gbp__label{font-size:13px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:#5f6368}
.bb-gbp__score{display:flex;align-items:center;gap:10px;margin:2px 0}
.bb-gbp__score strong{font-size:34px;line-height:1.1;color:#111418}
.bb-gbp__score .bb-stars{font-size:20px}
.bb-gbp__count{font-size:14px;color:#5f6368}
.bb-gbp__nap{list-style:none;margin:18px 0;padding:0}
.bb-gbp__nap li{display:flex;gap:10px;align-items:center;margin:0 0 10px;font-size:15px}
.bb-gbp__nap svg{flex:0 0 auto;color:#d7261e}
.bb-gbp__nap a{color:#111418;text-decoration:none}
.bb-gbp__nap a:hover{color:#d7261e}
.bb-gbp__btns{display:flex;flex-wrap:wrap;gap:8px}
.bb-gbp__btn{display:inline-block;padding:10px 14px;border:1px solid #d5d8dc;border-radius:8px;font-size:14px;font-weight:600;color:#111418!important;text-decoration:none!important;background:#fff}
.bb-gbp__btn:hover{border-color:#111418}
.bb-gbp__btn--main{background:#d7261e;border-color:#d7261e;color:#fff!important}
.bb-gbp__btn--main:hover{background:#b81f18;border-color:#b81f18}
.bb-gbp__map{min-height:340px;background:#eef0f2}
.bb-gbp__map iframe{display:block;width:100%;height:100%;min-height:340px;border:0}
.bb-footer__contact .bb-gbadge{margin-top:6px}
.bb-trust-box .bb-gbadge{margin-top:12px}
@media (max-width:860px){
.bb-gbp--map{grid-template-columns:1fr}
.bb-gbp__info{padding:20px}
.bb-gbp__map,.bb-gbp__map iframe{min-height:260px}
.bb-gbp__btn{flex:1 1 auto;text-align:center}
}
.bb-gbadge svg,.bb-gbp__top svg{flex:0 0 auto;display:block}
.bb-gbadge span:last-child{white-space:nowrap}
.bb-footer__contact .bb-gbadge{font-size:12.5px;padding:7px 12px;gap:6px}
.bb-footer__contact .bb-gbadge .bb-stars{font-size:13px;letter-spacing:1px}

/* Hero v3: više boje i dubine, kartice kategorija, statistika */
.bb-hero2 { position: relative; overflow: hidden; isolation: isolate; background:
	radial-gradient(700px 480px at 92% 8%, rgba(255, 70, 58, .55), transparent 62%),
	radial-gradient(520px 380px at 70% 100%, rgba(215, 38, 30, .35), transparent 65%),
	radial-gradient(500px 300px at 0% 0%, rgba(255, 255, 255, .06), transparent 70%),
	linear-gradient(135deg, #15181d 0%, #1d2128 45%, #3a1210 100%); }
.bb-hero2::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1.2px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, .9), rgba(0, 0, 0, .15) 70%); mask-image: linear-gradient(90deg, rgba(0, 0, 0, .9), rgba(0, 0, 0, .15) 70%); }
.bb-hero2::after { content: ""; position: absolute; z-index: -1; width: 420px; height: 420px; right: -120px; top: -140px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 0 0 60px rgba(255, 255, 255, .025), 0 0 0 120px rgba(255, 255, 255, .02); }
.bb-hero2 h1 em { background: linear-gradient(90deg, #ff6a5f, #ff3b30); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bb-hero2 .bb-kicker { display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 90, 82, .12); border: 1px solid rgba(255, 90, 82, .3); border-radius: 999px; padding: 5px 12px; }
.bb-hero2 .bb-kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 3px rgba(52, 211, 153, .25); }

.bb-hcats { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bb-hcats__item { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: 14px; padding: 12px 14px 14px; color: var(--bb-dark) !important; text-decoration: none !important; box-shadow: 0 14px 34px rgba(0, 0, 0, .35); transition: transform .2s, box-shadow .2s; }
.bb-hcats__item:nth-child(2), .bb-hcats__item:nth-child(4) { transform: translateY(22px); }
.bb-hcats__item:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0, 0, 0, .45); }
.bb-hcats__item:nth-child(2):hover, .bb-hcats__item:nth-child(4):hover { transform: translateY(16px); }
.bb-hcats__img { display: block; background: var(--bb-bg-soft); border-radius: 10px; margin-bottom: 10px; }
.bb-hcats__img img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: contain; mix-blend-mode: multiply; padding: 6px; margin: 0 !important; }
.bb-hcats__name { font-weight: 800; font-size: 17px; letter-spacing: -.01em; }
.bb-hcats__meta { font-size: 13px; color: var(--bb-muted); margin-top: 2px; }
.bb-hcats__go { position: absolute; right: 12px; bottom: 12px; width: 28px; height: 28px; border-radius: 50%; background: var(--bb-red); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; transition: transform .2s; }
.bb-hcats__item:hover .bb-hcats__go { transform: translateX(3px); }
.bb-hcats__badge { position: absolute; left: 50%; bottom: -34px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; background: #16a34a; color: #fff; font-size: 13px; font-weight: 700; border-radius: 999px; padding: 8px 14px; box-shadow: 0 10px 24px rgba(0, 0, 0, .3); }

.bb-hstats { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); }
.bb-hstats__i { display: flex; flex-direction: column; line-height: 1.2; }
.bb-hstats__i strong { color: #fff; font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.bb-hstats__i span { color: #aeb4bd; font-size: 13px; }
.bb-hstats .bb-gbadge { margin-left: auto; }

@media (max-width: 1024px) {
	.bb-hcats { grid-template-columns: repeat(4, minmax(0, 1fr)); padding-bottom: 40px; }
	.bb-hcats__item:nth-child(2), .bb-hcats__item:nth-child(4) { transform: none; }
	.bb-hcats__item:nth-child(2):hover, .bb-hcats__item:nth-child(4):hover { transform: translateY(-4px); }
	.bb-hcats__badge { bottom: 0; }
}
@media (max-width: 640px) {
	.bb-hcats { grid-template-columns: 1fr 1fr; gap: 10px; }
	.bb-hcats__name { font-size: 15px; }
	.bb-hcats__go { display: none; }
	.bb-hstats { gap: 12px 18px; }
	.bb-hstats__i strong { font-size: 17px; }
	.bb-hstats .bb-gbadge { margin-left: 0; }
	.bb-hcats__badge { white-space: normal; text-align: center; width: max-content; max-width: 100%; }
}

.bb-hcats__go { top: 20px; right: 22px; bottom: auto; box-shadow: 0 4px 10px rgba(0,0,0,.2); }
.bb-hcats { margin-bottom: 26px; }
.bb-hcats__badge { bottom: -52px; }
.bb-hstats .bb-gbadge { margin-left: 0; }
@media (max-width: 1024px) { .bb-hcats { margin-bottom: 0; } .bb-hcats__badge { bottom: 0; } }

/* Blog */
body.blog #secondary, body.category #secondary, body.single-post #secondary { display: none; }
body.blog #primary, body.category #primary, body.single-post #primary { width: 100%; max-width: 100%; float: none; }
body.blog .site-main.grid, body.category .site-main.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.bb-blog-intro { grid-column: 1 / -1; background: radial-gradient(500px 260px at 100% 0%, rgba(215, 38, 30, .35), transparent 65%), linear-gradient(135deg, #15181d, #262a31); color: #c4c9d1; border-radius: 16px; padding: clamp(22px, 4vw, 40px); margin-bottom: 6px; }
.bb-blog-intro h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); margin: 4px 0 8px; letter-spacing: -.02em; }
.bb-blog-intro p { margin: 0; max-width: 46em; }
.bb-blog-intro .bb-kicker { color: #ff8a84; }
body.blog .site-main article, body.category .site-main article { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--bb-border); border-radius: 14px; overflow: hidden; margin: 0 !important; width: auto !important; box-shadow: var(--bb-shadow); transition: transform .2s, box-shadow .2s; }
body.blog .site-main article:hover, body.category .site-main article:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(17, 20, 24, .1); }
body.blog .post-thumbnail, body.category .post-thumbnail { display: block; background: var(--bb-bg-soft); margin: 0 !important; }
body.blog .post-thumbnail img, body.category .post-thumbnail img { width: 100%; aspect-ratio: 16 / 10; object-fit: contain; mix-blend-mode: multiply; padding: 14px; margin: 0 !important; }
body.blog .blog-loop-content-wrapper, body.category .blog-loop-content-wrapper { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
body.blog .entry-header, body.category .entry-header { order: 0; margin: 0; }
body.blog .entry-title, body.category .entry-title { font-size: 19px !important; line-height: 1.3; margin: 6px 0 4px !important; letter-spacing: -.01em; }
body.blog .entry-title a, body.category .entry-title a { color: var(--bb-dark); text-decoration: none; }
body.blog .posted-on, body.category .posted-on { font-size: 12px; color: var(--bb-muted); }
body.blog .entry-content, body.category .entry-content { font-size: 14px; color: var(--bb-text); margin: 8px 0 0; flex: 1; }
body.blog .entry-content p, body.category .entry-content p { margin: 0; }
.bb-post-chip { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--bb-muted); }
.bb-post-chip__cat { background: var(--bb-red-soft); color: var(--bb-red) !important; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 11px; padding: 3px 9px; border-radius: 999px; text-decoration: none !important; }
.bb-post-more { margin-top: 12px; font-weight: 700; color: var(--bb-red) !important; text-decoration: none !important; font-size: 14px; }
body.single-post .site-main { max-width: 760px; margin: 0 auto; }
body.single-post .entry-title { font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -.02em; line-height: 1.15; }
body.single-post .bb-post-chip { margin: 6px 0 18px; }
body.single-post .site-main > article > .post-thumbnail, body.single-post .site-main article > img.wp-post-image:first-child { display: block; background: var(--bb-bg-soft); border-radius: 14px; }
body.single-post .site-main article { }
body.single-post .wp-post-image { display: block; width: 100%; height: 300px; object-fit: contain; padding: 20px; background: #fff !important; border: 1px solid var(--bb-border); border-radius: 14px; margin-bottom: 24px; }
body.single-post .entry-content { font-size: 17px; line-height: 1.7; }
body.single-post .entry-content h2 { font-size: 24px; margin: 1.6em 0 .5em; letter-spacing: -.01em; }
body.single-post .entry-content > p:first-child { background: var(--bb-bg-soft); border-left: 4px solid var(--bb-red); padding: 14px 18px; border-radius: 0 10px 10px 0; }
.bb-post-cta { display: flex; gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: linear-gradient(135deg, #15181d, #2b1412); color: #c4c9d1; border-radius: 14px; padding: 22px 24px; margin: 32px 0 10px; }
.bb-post-cta strong { color: #fff; font-size: 19px; }
.bb-post-cta p { margin: 4px 0 0; font-size: 15px; }
.bb-post-cta__btns { display: flex; gap: 10px; flex-wrap: wrap; }
.bb-post-cta .bb-btn--ghost { background: transparent; border: 1px solid rgba(255, 255, 255, .4); color: #fff; }
@media (max-width: 1024px) { body.blog .site-main.grid, body.category .site-main.grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { body.blog .site-main.grid, body.category .site-main.grid { grid-template-columns: 1fr; } }

/* Blog: H1 u uvodu, bez duplog naslova teme; najnoviji saveti na početnoj */
body.blog .entry-header.title, body.category .page-header { display: none; }
.bb-blog-intro h1 { color: #fff; font-size: clamp(26px, 3.2vw, 36px); margin: 4px 0 8px; letter-spacing: -.02em; }
.bb-blog-intro .bb-kicker a { color: #ff8a84; text-decoration: none; }
.bb-latest { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.bb-latest__item { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--bb-border); border-radius: 14px; overflow: hidden; padding-bottom: 16px; text-decoration: none !important; color: var(--bb-dark) !important; box-shadow: var(--bb-shadow); transition: transform .2s; }
.bb-latest__item:hover { transform: translateY(-3px); }
.bb-latest__img { background: #fff; border-bottom: 1px solid var(--bb-border); }
.bb-latest__img img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: contain; padding: 12px; margin: 0 !important; }
.bb-latest__meta { font-size: 12px; color: var(--bb-muted); padding: 14px 16px 0; }
.bb-latest__title { font-weight: 800; font-size: 17px; line-height: 1.3; padding: 4px 16px 0; }
.bb-latest__more { color: var(--bb-red); font-weight: 700; font-size: 14px; padding: 10px 16px 0; margin-top: auto; }
@media (max-width: 900px) { .bb-latest { grid-template-columns: 1fr; } }

/* Hero v4: svetlija pozadina (02.10.) */
.bb-hero2 { background: radial-gradient(760px 520px at 95% 5%, rgba(255, 96, 86, .55), transparent 62%), radial-gradient(560px 380px at 70% 100%, rgba(255, 80, 66, .30), transparent 65%), radial-gradient(640px 380px at 0% 0%, rgba(255, 255, 255, .13), transparent 70%), linear-gradient(135deg, #2e343d 0%, #3a414c 48%, #5c1f1a 100%); }
.bb-hero2::before { background-image: radial-gradient(rgba(255, 255, 255, .13) 1px, transparent 1.2px); }
.bb-hero2__lead { color: #e1e5ea; }
.bb-hero2__help { color: #c9ced6; }
.bb-hstats__i span { color: #c9ced6; }

/* ---------- v0.4.15: uski telefoni (360–400px, npr. Samsung) — hero ne sme da bude širi od ekrana ---------- */
@media (max-width: 767px) {
	.bb-hero2 { grid-template-columns: minmax(0, 1fr) !important; }
	.bb-hero2 > * { min-width: 0; }
	.bb-hero2 .bb-kicker { white-space: normal; max-width: 100%; font-size: 11px; line-height: 1.4; }
	.bb-gbadge { max-width: 100%; flex-wrap: wrap; row-gap: 2px; }
	.bb-gbadge span { white-space: normal; }
}
