/* Tobi: proizvodnja gline i glinamola. Paleta preuzeta iz logotipa. */
:root {
	--t-cream: #fbf6ee;
	--t-sand: #f3e8d8;
	--t-ink: #4a2617;
	--t-muted: #7a5a4a;
	--t-blue: #1b86cf;
	--t-orange: #ec7330;
	--t-green: #43a046;
	--t-yellow: #f5b301;
	--t-pink: #e5457a;
	--t-radius: 22px;
	--t-head: "Baloo 2", "Nunito", system-ui, sans-serif;
}

/* full-bleed sekcije unutar Woodmart containera */
.main-page-wrapper { overflow-x: clip; }
.tobi-home { color: var(--t-ink); font-family: "Nunito", system-ui, sans-serif; font-size: 17px; line-height: 1.6; }
.tobi-home h1, .tobi-home h2, .tobi-home h3 { font-family: var(--t-head); color: var(--t-ink); font-weight: 600; letter-spacing: -.01em; margin: 0 0 .4em; }
.tobi-home p { margin: 0 0 1em; }
.th-hero, .th-words, .th-b2b { width: 100vw; margin-left: calc(50% - 50vw); }
.th-wrap { max-width: 1200px; margin-inline: auto; padding-inline: 16px; }
.th-eyebrow { font-weight: 800; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--t-orange); margin-bottom: .6em !important; }

/* gumbi */
.th-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border-radius: 999px; font-family: var(--t-head); font-weight: 600; font-size: 17px; text-decoration: none !important; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.th-btn:hover { transform: translateY(-2px); }
.th-btn:focus-visible { outline: 3px solid var(--t-yellow); outline-offset: 3px; }
.th-btn-primary { background: var(--t-blue); color: #fff !important; box-shadow: 0 8px 20px -8px rgba(27,134,207,.7); }
.th-btn-primary:hover { background: #156fae; }
.th-btn-ghost { color: var(--t-ink) !important; border: 2px solid var(--t-ink); }
.th-btn-ghost:hover { background: var(--t-ink); color: #fff !important; }
.th-btn-light { background: #fff; color: var(--t-ink) !important; }

/* hero */
.th-hero { background: radial-gradient(1200px 500px at 80% 20%, #fff 0, transparent 60%), var(--t-cream); padding: 72px 0 88px; margin-top: -40px; }
.th-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.th-hero h1 { font-size: clamp(36px, 5vw, 62px); line-height: 1.05; font-weight: 700; }
.th-hero h1 span { color: var(--t-blue); background: linear-gradient(transparent 72%, rgba(245,179,1,.45) 72% 92%, transparent 92%); }
.th-lead { font-size: 19px; color: var(--t-muted); max-width: 34em; }
.th-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.th-hero-art { position: relative; aspect-ratio: 1.15; }
.th-pack { position: absolute; width: 82%; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 30px 50px -25px rgba(74,38,23,.45); }
.th-pack img { display: block; width: 100%; height: auto; }
.th-pack-back { top: 4%; right: 0; transform: rotate(6deg); }
.th-pack-front { bottom: 6%; left: 0; transform: rotate(-5deg); }
.th-blob { position: absolute; border-radius: 50%; box-shadow: inset -6px -8px 0 rgba(0,0,0,.08), inset 6px 6px 10px rgba(255,255,255,.45); }
.b1 { width: 64px; height: 64px; background: var(--t-yellow); top: -4%; left: 12%; }
.b2 { width: 38px; height: 38px; background: var(--t-pink); top: 2%; left: 30%; }
.b3 { width: 90px; height: 90px; background: var(--t-green); bottom: -4%; right: 8%; }
.b4 { width: 46px; height: 46px; background: var(--t-orange); bottom: 40%; right: -3%; }

/* traka riječi iz logotipa */
.th-words { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px; padding: 22px 16px; background: #fff; border-block: 1px solid var(--t-sand); font-family: var(--t-head); font-weight: 600; font-size: 20px; letter-spacing: .06em; text-transform: uppercase; }
.th-words .w0 { color: var(--t-green); } .th-words .w1 { color: var(--t-orange); } .th-words .w2 { color: var(--t-blue); } .th-words .w3 { color: var(--t-pink); } .th-words .w4 { color: var(--t-ink); }

/* sekcije */
.th-section { padding-block: 80px 16px; }
.th-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.th-head h2 { font-size: clamp(30px, 3.6vw, 44px); }
.th-head p:last-child { color: var(--t-muted); }

/* proizvodi (Woo shortcode) */
.tobi-home .products .product-grid-item .product-wrapper { background: #fff; border: 1px solid var(--t-sand); border-radius: var(--t-radius); padding: 14px 14px 20px; transition: box-shadow .2s ease, transform .2s ease; }
.tobi-home .products .product-grid-item .product-wrapper:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -24px rgba(74,38,23,.35); }
.tobi-home .products .wd-entities-title { font-family: var(--t-head); font-size: 19px; font-weight: 600; }
.tobi-price-request { display: inline-block; font-weight: 800; font-size: 14px; color: var(--t-orange); background: #fdeee4; border-radius: 999px; padding: 4px 12px; }

/* kartice */
.th-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.th-card { background: #fff; border-radius: var(--t-radius); padding: 30px; border: 1px solid var(--t-sand); border-top: 6px solid var(--c); }
.th-card h3 { font-size: 22px; }
.th-card p { color: var(--t-muted); margin: 0; }
.th-dot { display: block; width: 44px; height: 44px; border-radius: 50%; background: var(--c); margin-bottom: 18px; box-shadow: inset -5px -6px 0 rgba(0,0,0,.1); }
.th-blue { --c: var(--t-blue); } .th-orange { --c: var(--t-orange); } .th-green { --c: var(--t-green); }

/* B2B */
.th-b2b { background: var(--t-ink); color: #f6e9dc; padding: 88px 0; margin-top: 80px; }
.th-b2b h2 { color: #fff !important; font-size: clamp(30px, 3.6vw, 44px); }
.th-b2b .th-eyebrow { color: var(--t-yellow); }
.th-b2b-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.th-facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.th-facts li { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 18px; padding: 22px; }
.th-facts strong { display: block; font-family: var(--t-head); font-size: 20px; color: #fff; margin-bottom: 4px; }
.th-facts span { font-size: 15px; color: #e3cdb9; }

/* koraci */
.th-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: none; }
.th-steps li { position: relative; padding: 28px; border-radius: var(--t-radius); background: var(--t-cream); }
.th-num { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--t-yellow); font-family: var(--t-head); font-weight: 700; font-size: 22px; margin-bottom: 16px; }
.th-steps li:nth-child(2) .th-num { background: var(--t-green); color: #fff; }
.th-steps li:nth-child(3) .th-num { background: var(--t-blue); color: #fff; }
.th-steps h3 { font-size: 21px; }
.th-steps p { color: var(--t-muted); margin: 0; }

/* CTA */
.th-cta { margin-block: 80px 40px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; background: var(--t-blue); border-radius: 28px; padding: 44px 48px; color: #fff; }
.th-cta h2 { color: #fff !important; font-size: clamp(26px, 3vw, 36px); }
.th-cta p { margin: 0; font-size: 18px; }
.th-cta a:not(.th-btn) { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* proizvod: upit */
.tobi-quote-box { margin: 20px 0; padding: 20px; border-radius: 18px; background: var(--t-cream); border: 1px solid var(--t-sand); }
.tobi-quote-box .tobi-btn { border-radius: 999px; padding-inline: 28px; }
.tobi-quote-box p { margin: 12px 0 0; font-size: 14px; color: var(--t-muted); }
.tobi-spec { width: 100%; margin-top: 16px; border-collapse: collapse; }
.tobi-spec th, .tobi-spec td { text-align: left; padding: 10px 12px; border-bottom: 1px solid #eee; vertical-align: top; }
.tobi-spec th { width: 34%; font-weight: 700; }

/* stranica upita */
.tobi-quote { max-width: 760px; margin: 0 auto 60px; }
.tobi-lead { font-size: 18px; margin-bottom: 28px; }
.tobi-form-grid > p { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; margin: 0; }
.tobi-form-grid br { display: none; }
.tobi-quote .wpcf7-form-control-wrap { display: block; }
.tobi-quote input:not([type="checkbox"]):not([type="submit"]), .tobi-quote textarea { width: 100%; border-radius: 12px; }
.tobi-quote label { display: block; font-weight: 700; margin-bottom: 16px; }
.tobi-quote label input, .tobi-quote label textarea { margin-top: 6px; font-weight: 400; }
.tobi-quote .wpcf7-acceptance label { font-weight: 400; }
.tobi-quote .wpcf7-submit { border-radius: 999px; padding-inline: 32px; }

@media (max-width: 1024px) {
	.th-hero-grid, .th-b2b-grid { grid-template-columns: 1fr; }
	.th-hero-art { max-width: 560px; width: 100%; margin-inline: auto; }
	.th-cards, .th-steps { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
	.th-hero { padding: 48px 0 64px; }
	.th-facts, .tobi-form-grid > p { grid-template-columns: 1fr; }
	.th-words { font-size: 16px; gap: 8px 20px; }
	.th-cta { padding: 32px 24px; }
	.th-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .th-btn, .tobi-home .product-wrapper { transition: none; } }

/* mobitel: proizvodi u jednom stupcu, kontakt u retcima */
@media (max-width: 600px) {
	.tobi-home .products { --wd-col-sm: 1 !important; --wd-col-xs: 1 !important; }
	.tobi-home .products .product-wrapper { max-width: 420px; margin-inline: auto; }
	.th-cta p a { display: block; width: fit-content; margin-top: 6px; }
	.th-cta p .th-sep { display: none; }
	.th-section { padding-top: 60px; }
	.th-b2b { margin-top: 60px; padding: 64px 0; }
}

/* podnožje u bojama logotipa */
.wd-footer.footer-container { background: var(--t-ink) !important; background-image: none !important; }
.wd-footer .widget-title { font-family: var(--t-head); letter-spacing: .06em; }
.wd-footer a:hover { color: var(--t-yellow) !important; }

/* jedinstveni font naslova i jača primarna boja na cijeloj stranici */
:root {
	--wd-title-font: "Baloo 2", "Nunito", sans-serif;
	--wd-entities-title-font: "Baloo 2", "Nunito", sans-serif;
	--wd-title-font-weight: 700;
	--wd-entities-title-font-weight: 600;
	--wd-primary-color: #1b86cf;
}
.btn-color-primary, .wd-add-btn .button, .add_to_cart_button, .tobi-quote .wpcf7-submit { background-color: var(--t-blue) !important; color: #fff !important; border-radius: 999px !important; }
.btn-color-primary:hover, .add_to_cart_button:hover, .tobi-quote .wpcf7-submit:hover { background-color: #156fae !important; }
.tobi-quote ::placeholder { color: #b3a49a; opacity: 1; }
.tobi-quote .wpcf7-submit:disabled { opacity: .45; }
h1, h2, h3, h4, h5, h6, .title, .product_title, .wd-entities-title, .page-title .title, .widget-title { font-family: var(--t-head) !important; }
