/**
 * ifurnitura — aplikacija na telefonu (do 900 px): izgled i osećaj nativne
 * aplikacije. Ponašanje: assets/js/app.js. Na računaru važe samo delovi van
 * @media (ekran „Kategorije“, offline strana, donji panel, poruke).
 */

/* ---------- Delovi koji važe svuda ---------- */

.ifu-tabbar, .ifu-buybar, .ifu-appbar__title, .ifu-appchips, .ifu-appbtn.ifu-appbar__back, .ifu-appbtn.ifu-appbar__search, .ifu-appbtn.ifu-appbar__share { display: none; }
.ifu-appbtn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--ifu-ink); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.ifu-appbtn:active { background: rgba(22, 21, 15, .08); }

/* Ekran „Kategorije“ i offline */
.ifu-appscreen { padding: 32px 0 64px; }
.ifu-appscreen__title { font-size: clamp(32px, 4vw, 52px); letter-spacing: -0.03em; margin: 0 0 20px; }
.ifu-fakesearch { display: flex; align-items: center; gap: 10px; width: 100%; max-width: 560px; height: 50px; padding: 0 18px; margin-bottom: 24px; border: 1px solid var(--ifu-line); border-radius: 999px; background: var(--ifu-paper); color: var(--ifu-muted-2); font: inherit; font-size: 16px; text-align: left; cursor: text; }
.ifu-catgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.ifu-cattile { background: var(--ifu-paper); border-radius: var(--ifu-radius); overflow: hidden; }
.ifu-cattile__main { display: grid; grid-template-columns: 96px 1fr; grid-template-rows: auto auto; column-gap: 16px; align-items: center; padding: 14px; color: var(--ifu-ink); text-decoration: none; }
.ifu-cattile__img { grid-row: 1 / 3; width: 96px; height: 96px; border-radius: 18px; background: var(--ifu-sand) center / cover no-repeat; }
.ifu-cattile__name { align-self: end; font-size: 19px; font-weight: 800; letter-spacing: -0.01em; }
.ifu-cattile__n { align-self: start; font-size: 14px; color: var(--ifu-muted-2); }
.ifu-cattile__kids { padding: 0 14px 14px; }
.ifu-catscreen__all { margin-top: 28px; }
.ifu-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ifu-chip { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 16px; border-radius: 999px; background: var(--ifu-ground); border: 1px solid var(--ifu-line); color: var(--ifu-ink); font-size: 14px; font-weight: 600; white-space: nowrap; text-decoration: none; cursor: pointer; font-family: inherit; -webkit-tap-highlight-color: transparent; }
.ifu-chip.is-on { background: var(--ifu-ink); border-color: var(--ifu-ink); color: #fff; }
.ifu-offline { text-align: center; padding: 72px 0; }
.ifu-offline__icon { display: inline-flex; width: 88px; height: 88px; align-items: center; justify-content: center; border-radius: 50%; background: var(--ifu-paper); margin-bottom: 20px; }
.ifu-offline p { max-width: 440px; margin: 12px auto 28px; color: var(--ifu-muted-2); }
.ifu-offline__actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* Donji panel (bottom sheet) — i na računaru, kao prozor u dnu. */
.ifu-sheet { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: flex-end; justify-content: center; }
.ifu-sheet__bg { position: absolute; inset: 0; background: rgba(22, 21, 15, .42); opacity: 0; transition: opacity .28s; }
.ifu-sheet.is-open .ifu-sheet__bg { opacity: 1; }
.ifu-sheet__panel { position: relative; width: 100%; max-width: 560px; max-height: 88vh; overflow: auto; overscroll-behavior: contain; background: var(--ifu-ground); border-radius: 26px 26px 0 0; padding: 10px 20px calc(20px + env(safe-area-inset-bottom)); box-shadow: 0 -12px 40px rgba(22, 21, 15, .18); transform: translateY(100%); transition: transform .34s cubic-bezier(.2, .85, .25, 1); touch-action: pan-y; }
.ifu-sheet.is-open .ifu-sheet__panel { transform: none; }
.ifu-sheet.is-drag .ifu-sheet__panel { transition: none; }
.ifu-sheet__handle { display: block; width: 40px; height: 5px; margin: 0 auto 14px; border-radius: 3px; background: var(--ifu-line); }
.ifu-sheet__title { font-size: 20px; font-weight: 800; margin: 0 0 14px; letter-spacing: -0.01em; }
.ifu-sheet__list { list-style: none; margin: 0; padding: 0; }
.ifu-sheet__list button, .ifu-sheet__list a { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 52px; padding: 0 4px; border: 0; border-bottom: 1px solid var(--ifu-line); background: none; color: var(--ifu-ink); font: inherit; font-size: 16px; font-weight: 600; text-align: left; text-decoration: none; cursor: pointer; }
.ifu-sheet__list .is-on { color: var(--ifu-accent); }
.ifu-sheet__actions { display: grid; gap: 10px; margin-top: 16px; }
.ifu-sheet__actions .ifu-btn { width: 100%; justify-content: center; }
.ifu-added { display: grid; grid-template-columns: 72px 1fr; gap: 14px; align-items: center; padding: 6px 0 4px; }
.ifu-added__img { width: 72px; height: 72px; border-radius: 16px; background: var(--ifu-sand) center / cover no-repeat; }
.ifu-added__name { font-weight: 700; line-height: 1.25; }
.ifu-added__meta { font-size: 14px; color: var(--ifu-muted-2); margin-top: 4px; }
.ifu-added__ok { display: inline-flex; align-items: center; gap: 8px; color: #1C7C4A; font-weight: 800; margin-bottom: 12px; }
@media (min-width: 901px) {
	.ifu-sheet { align-items: center; }
	.ifu-sheet__panel { border-radius: 26px; padding-bottom: 24px; transform: translateY(24px) scale(.98); opacity: 0; transition: transform .25s, opacity .25s; }
	.ifu-sheet.is-open .ifu-sheet__panel { opacity: 1; }
	.ifu-sheet__handle { display: none; }
}

/* Kratka poruka (snackbar) */
.ifu-snack { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 1100; display: flex; align-items: center; gap: 14px; max-width: min(92vw, 480px); padding: 14px 16px 14px 18px; border-radius: 16px; background: var(--ifu-ink); color: #fff; font-weight: 600; box-shadow: 0 12px 30px rgba(22, 21, 15, .28); transform: translate(-50%, 140%); transition: transform .32s cubic-bezier(.2, .85, .25, 1); }
.ifu-snack.is-in { transform: translate(-50%, 0); }
.ifu-snack.is-bad { background: #B3261E; }
.ifu-snack a, .ifu-snack button { margin-left: auto; color: #B7C0FF; font-weight: 800; background: none; border: 0; font: inherit; cursor: pointer; white-space: nowrap; }

/* ---------- Aplikacija na telefonu ---------- */

@media (max-width: 900px) {
	/* Osećaj aplikacije: bez plavog bljeska, brz dodir, bez „gumenog“ skrola kroz panele. */
	html { -webkit-tap-highlight-color: transparent; }
	body { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overscroll-behavior-y: none; }
	a, button, input, select, label { touch-action: manipulation; }
	input, select, textarea { font-size: 16px !important; } /* iOS ne zumira polje pri kucanju. */
	.ifu-btn, .button, .ifu-chip, .ifu-tab, .ifu-cattile__main, ul.products li.product a, .ifu-pcard { transition: transform .12s ease, opacity .12s; }
	.ifu-btn:active, .button:active, .ifu-chip:active, .ifu-cattile__main:active, ul.products li.product a:active img, .ifu-pcard:active { transform: scale(.97); }
	.ifu-tabbar, .ifu-buybar, .ifu-header { -webkit-user-select: none; user-select: none; }

	/* Gornja traka */
	.ifu-topbar { display: none; }
	.ifu-header { position: sticky; top: 0; z-index: 90; padding-top: env(safe-area-inset-top); background: color-mix(in srgb, var(--ifu-ground) 86%, transparent); -webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; view-transition-name: ifu-appbar; }
	.ifu-header.is-scrolled { box-shadow: none; border-bottom-color: var(--ifu-line); }
	.admin-bar .ifu-header { top: 0; }
	.ifu-header__inner { height: 56px; gap: 4px; padding-inline: 6px; }
	.ifu-header__burger, .ifu-header .ifu-search, .ifu-header__tryon, .ifu-header__actions .ifu-iconbtn, .ifu-nav { display: none !important; }
	.ifu-appbtn.ifu-appbar__search, .ifu-appbtn.ifu-appbar__share { display: inline-flex; }
	.ifu-header__actions { margin-left: auto; gap: 0; }
	/* Početna: znak; ostale strane: nazad + naslov (pojavi se kad naslov strane ode gore). */
	.ifu-header .ifu-brand { margin-left: 10px; font-size: 22px; }
	body:not(.ifu-app-root) .ifu-header .ifu-brand { display: none; }
	body:not(.ifu-app-root) .ifu-appbtn.ifu-appbar__back { display: inline-flex; }
	body:not(.ifu-app-root) .ifu-appbar__title { display: block; flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 17px; font-weight: 700; opacity: 0; transform: translateY(6px); transition: opacity .2s, transform .2s; }
	.ifu-header.is-titled .ifu-appbar__title { opacity: 1; transform: none; }
	.ifu-drawer { display: none !important; }

	/* Donja traka sa tabovima */
	.ifu-tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; height: calc(62px + env(safe-area-inset-bottom)); padding: 0 4px env(safe-area-inset-bottom); background: color-mix(in srgb, var(--ifu-paper) 90%, transparent); -webkit-backdrop-filter: saturate(1.6) blur(20px); backdrop-filter: saturate(1.6) blur(20px); border-top: 1px solid var(--ifu-line); view-transition-name: ifu-tabbar; transition: transform .25s; }
	.ifu-tab { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 4px; height: 62px; padding: 0 0 9px; border: 0; background: none; color: var(--ifu-muted-2); font: inherit; font-size: 11px; font-weight: 600; line-height: 13px; letter-spacing: 0; text-decoration: none; cursor: pointer; }
	.ifu-tab svg { width: 24px; height: 24px; flex: none; }
	.ifu-tab svg { transition: transform .18s; }
	.ifu-tab:active svg { transform: scale(.86); }
	.ifu-tab.is-on { color: var(--ifu-ink); font-weight: 700; }
	.ifu-tab.is-on::before { content: ""; position: absolute; bottom: 22px; width: 56px; height: 32px; border-radius: 16px; background: color-mix(in srgb, var(--ifu-accent) 12%, transparent); z-index: -1; }
	.ifu-tab.is-on svg { color: var(--ifu-accent); }
	.ifu-tab--try { color: var(--ifu-ink); }
	.ifu-tab__fab { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin: 0; border-radius: 50%; background: var(--ifu-accent); color: #fff; box-shadow: 0 8px 22px color-mix(in srgb, var(--ifu-accent) 45%, transparent), 0 0 0 5px var(--ifu-ground); }
	.ifu-tab .ifu-cart-count { position: absolute; top: 12px; left: 50%; right: auto; margin-left: 5px; min-width: 18px; height: 18px; padding: 0 5px; font-size: 11px; line-height: 1; box-shadow: 0 0 0 2px var(--ifu-paper); }
	body.ifu-has-app { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
	body.ifu-app-notabs .ifu-tabbar, html.ifu-kb .ifu-tabbar { transform: translateY(110%); }
	body.ifu-app-notabs { padding-bottom: 0; }

	/* Futer na telefonu: samo na početnoj, i sažet */
	body:not(.home) .ifu-newsband { display: none; }
	.ifu-footer { padding-bottom: 24px; }

	/* Pretraga preko celog ekrana */
	.ifu-searchscreen { position: fixed; inset: 0; z-index: 1001; display: flex; flex-direction: column; background: var(--ifu-ground); padding-top: env(safe-area-inset-top); animation: ifu-screen-up .28s cubic-bezier(.2, .85, .25, 1); }
	.ifu-searchscreen[hidden] { display: none; }
	.ifu-searchscreen__bar { display: flex; align-items: center; gap: 4px; padding: 8px 12px 8px 4px; border-bottom: 1px solid var(--ifu-line); }
	.ifu-searchscreen__bar .ifu-search { flex: 1; display: flex !important; max-width: none; margin: 0; }
	.ifu-searchscreen__body { flex: 1; overflow: auto; padding: 20px 16px calc(24px + env(safe-area-inset-bottom)); }
	.ifu-searchscreen__body h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--ifu-muted-2); margin: 0 0 12px; }
	.ifu-searchscreen__recent { margin-bottom: 24px; }
	/* Rezultati dok kucaš (search.js): preko celog ekrana ispod polja, ne kao padajući prozor. */
	.ifu-searchscreen .ifu-live { position: fixed; left: 0 !important; right: 0; top: calc(64px + env(safe-area-inset-top)); bottom: 0; width: auto !important; max-height: none; /* search.js postavlja left/width prema polju */ border-radius: 0; box-shadow: none; border-top: 1px solid var(--ifu-line); background: var(--ifu-ground); animation: none; }

	/* Strana proizvoda: galerija preko celog ekrana, sadržaj kao kartica preko nje */
	.ifu-breadcrumb { display: none; } /* „Nazad“ u traci umesto putanje, kao u aplikaciji. */
	.single-product div.product { padding-top: 0; gap: 0; }
	.single-product div.product .woocommerce-product-gallery { margin: 0 calc(-1 * var(--ifu-gutter)); width: calc(100% + 2 * var(--ifu-gutter)) !important; }
	.single-product div.product .woocommerce-product-gallery__image img, .single-product div.product .woocommerce-product-gallery img { border-radius: 0; aspect-ratio: 1; object-fit: cover; }
	.single-product .flex-control-thumbs { display: none !important; }
	.single-product .woocommerce-product-gallery__trigger { display: none; }
	.ifu-gdots { position: absolute; left: 0; right: 0; bottom: 36px; z-index: 4; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
	.ifu-gdots i { width: 7px; height: 7px; border-radius: 4px; background: rgba(255, 255, 255, .7); box-shadow: 0 0 0 1px rgba(22, 21, 15, .12); transition: width .25s, background .25s; }
	.ifu-gdots i.is-on { width: 20px; background: #fff; }
	.single-product div.product .summary { position: relative; z-index: 3; margin: -24px calc(-1 * var(--ifu-gutter)) 0; padding: 24px var(--ifu-gutter) 8px; border-radius: 26px 26px 0 0; background: var(--ifu-ground); box-shadow: 0 -10px 30px rgba(22, 21, 15, .06); }
	.single-product div.product > span.onsale { top: 16px; }
	/* Dugme za kupovinu je u traci na dnu. */
	.single-product form.cart .single_add_to_cart_button { display: none !important; }
	.single-product form.cart .quantity .qty { height: 48px; width: 110px; }
	.single-product .ifu-tryon-cta { margin-top: 4px; }
	.single-product .woocommerce-tabs ul.tabs { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; margin-top: 24px !important; }
	.single-product .woocommerce-tabs ul.tabs li a { white-space: nowrap; padding: 12px 14px !important; }
	.single-product .related > h2, .single-product .upsells > h2 { font-size: 26px; margin: 32px 0 16px; }

	/* Traka za kupovinu */
	.ifu-buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; display: flex; align-items: center; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--ifu-paper) 92%, transparent); -webkit-backdrop-filter: saturate(1.6) blur(20px); backdrop-filter: saturate(1.6) blur(20px); border-top: 1px solid var(--ifu-line); view-transition-name: ifu-tabbar; }
	.ifu-buybar__price { flex: 1; min-width: 0; font-family: var(--ifu-display); font-size: 19px; font-weight: 800; line-height: 1.15; }
	.ifu-buybar__price del { display: block; font-size: 12px; font-weight: 600; color: var(--ifu-muted-2); }
	.ifu-buybar__price ins { text-decoration: none; }
	.ifu-buybar__price .ifu-price-from { font-size: 13px; }
	.ifu-buybar__price .ifu-price-tag, .ifu-buybar__price .ifu-price-save, .ifu-buybar__price .screen-reader-text { display: none; }
	.ifu-buybar__try { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; flex: none; border: 1.5px solid var(--ifu-accent); border-radius: 50%; background: transparent; color: var(--ifu-accent); }
	.ifu-buybar__add { flex: none; height: 50px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--ifu-accent); color: #fff; font: inherit; font-size: 16px; font-weight: 800; box-shadow: 0 8px 20px color-mix(in srgb, var(--ifu-accent) 35%, transparent); cursor: pointer; }
	.ifu-buybar__add[aria-busy="true"] { opacity: .7; }
	.ifu-buybar__add.is-pick { background: var(--ifu-ink); box-shadow: none; }
	body.single-product.ifu-has-app { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
	.ifu-shake { animation: ifu-shake .4s; }

	/* Prodavnica i kategorije: trake sa podkategorijama, sortiranjem i filterima */
	.ifu-appchips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--ifu-gutter)) 16px; padding: 4px var(--ifu-gutter); scroll-snap-type: x proximity; }
	.ifu-appchips::-webkit-scrollbar { display: none; }
	.ifu-appchips .ifu-chip { scroll-snap-align: start; flex: none; }
	.ifu-appchips .ifu-chip svg { width: 16px; height: 16px; }
	.woocommerce-ordering, .woocommerce-result-count { display: none !important; }
	.ifu-shop__layout { display: block; }
	.ifu-shop__filters { display: none; }
	.woocommerce-products-header__title, .ifu-shop h1.page-title { font-size: 34px; margin: 12px 0 14px; }
	.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
	.woocommerce a.added_to_cart { display: none !important; } /* Umesto linka „Vidi korpu“ — poruka na dnu. */

	/* Moj nalog: meni kao lista u aplikaciji */
	.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0 0 24px; padding: 0; border-radius: 20px; background: var(--ifu-paper); overflow: hidden; }
	.woocommerce-account .woocommerce-MyAccount-navigation li { border-bottom: 1px solid var(--ifu-line); }
	.woocommerce-account .woocommerce-MyAccount-navigation li:last-child { border-bottom: 0; }
	.woocommerce-account .woocommerce-MyAccount-navigation li a { display: flex; align-items: center; justify-content: space-between; min-height: 54px; padding: 0 18px; color: var(--ifu-ink); font-weight: 600; text-decoration: none; }
	.woocommerce-account .woocommerce-MyAccount-navigation li a::after { content: "›"; font-size: 22px; color: var(--ifu-muted-2); }
	.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { color: var(--ifu-accent); }
	.woocommerce-account .woocommerce-MyAccount-navigation, .woocommerce-account .woocommerce-MyAccount-content { float: none; width: 100%; }

	/* Korpa (blok): dugme „Nastavite na naplatu“ iznad tabova */
	.wc-block-cart__submit-container--sticky { bottom: calc(62px + env(safe-area-inset-bottom)) !important; }

	/* Ekran „Kategorije“ na telefonu */
	.ifu-appscreen { padding: 12px 0 32px; }
	.ifu-appscreen__title { font-size: 34px; margin-bottom: 14px; }
	.ifu-catgrid { grid-template-columns: 1fr; gap: 12px; }
	.ifu-cattile__main { grid-template-columns: 72px 1fr; padding: 12px; }
	.ifu-cattile__img { width: 72px; height: 72px; border-radius: 16px; }
	.ifu-cattile__name { font-size: 17px; }
	.ifu-cattile__kids { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }

	/* Poruke iznad tabova / trake za kupovinu */
	.ifu-snack { bottom: calc(76px + env(safe-area-inset-bottom)); width: calc(100vw - 32px); max-width: 480px; }

	/* Povlačenje za osvežavanje (instalirana aplikacija) */
	.ifu-ptr { position: fixed; top: calc(env(safe-area-inset-top) + 64px); left: 50%; z-index: 96; width: 40px; height: 40px; margin-left: -20px; border-radius: 50%; background: var(--ifu-paper); box-shadow: 0 6px 18px rgba(22, 21, 15, .16); display: flex; align-items: center; justify-content: center; color: var(--ifu-accent); opacity: 0; transform: translateY(-60px); pointer-events: none; }
	.ifu-ptr svg { transition: transform .1s; }
	.ifu-ptr.is-go svg { animation: ifu-spin .8s linear infinite; }

	/* Prelazi između strana (Chrome, Safari 18+): klizanje napred/nazad, trake stoje */
	@view-transition { navigation: auto; }
}

/* ---------- Jedinstven izgled na telefonu: skala slova, razmaci, kartice ----------
   Jedna skala umesto veličina razbacanih po temi, WooCommerce-u i dodatku:
   naslov ekrana 28 · naslov sekcije 22 · podnaslov 17 · tekst 15 · sitno 13 · oznake 12.
   Razmaci: ivica 16 · između sekcija 40 · unutar kartice 16. */
@media (max-width: 900px) {
	:root {
		--ifu-gutter: 16px; --ifu-radius: 18px; --ifu-radius-lg: 22px;
		--ifu-t-hero: 34px; --ifu-t-title: 28px; --ifu-t-h2: 22px; --ifu-t-h3: 17px;
		--ifu-t-body: 15px; --ifu-t-small: 13px; --ifu-t-xs: 12px;
		--ifu-s-section: 40px;
	}
	/* Nikad vodoravni skrol: sve šire od ekrana se seče (clip ne kvari lepljivu traku). */
	html, body { overflow-x: clip; max-width: 100%; }
	body { font-size: var(--ifu-t-body); line-height: 1.5; }
	h1, h2, h3, h4 { letter-spacing: -0.02em; line-height: 1.12; }

	/* Naslovi */
	.ifu-hero__title { font-size: var(--ifu-t-hero); line-height: 1.06; letter-spacing: -0.035em; }
	.ifu-h1, .ifu-pagehead h1, .woocommerce-products-header__title, .ifu-shop h1.page-title, .ifu-appscreen__title, .ifm-store__head h1, .ifm-apply h1 { font-size: var(--ifu-t-title); letter-spacing: -0.03em; line-height: 1.1; }
	.ifu-h2, .ifu-h2--xl, .ifu-prose h2, .related > h2, .upsells > h2, .cross-sells > h2, .single-product .related > h2, .single-product .upsells > h2, .woocommerce-account h2, .woocommerce-cart h2, .woocommerce-checkout h3 { font-size: var(--ifu-t-h2); letter-spacing: -0.02em; line-height: 1.15; max-width: none; }
	.ifu-h3, .ifu-step__title, .ifu-cat__name, .ifu-prose h3, .ifu-postcard__title, .ifu-prose details summary { font-size: var(--ifu-t-h3); line-height: 1.25; letter-spacing: -0.01em; }
	.ifu-lead, .ifu-hero__text, .ifu-prose, .ifm-apply__lead, .ifm-store__tag, .single-product .woocommerce-product-details__short-description, .woocommerce-tabs .panel { font-size: var(--ifu-t-body); line-height: 1.55; }
	.ifu-eyebrow { font-size: var(--ifu-t-xs); letter-spacing: .08em; gap: 8px; }
	.ifu-eyebrow__dot { width: 8px; height: 8px; }

	/* Razmaci sekcija */
	.ifu-section { padding-block: var(--ifu-s-section); }
	.ifu-section--tight { padding-top: 8px; }
	.ifu-section__head { gap: 10px; margin-bottom: 20px; }
	.ifu-section__head .ifu-lead { margin-top: 2px; }
	.ifu-pagehead { padding-block: 16px 12px; gap: 8px; }
	.ifu-prose { padding-bottom: var(--ifu-s-section); }
	.ifu-prose h2 { margin-top: 1.4em; }
	.ifu-appscreen { padding-top: 16px; }

	/* Početna */
	.ifu-hero { gap: 24px; padding-block: 12px var(--ifu-s-section); }
	.ifu-hero__copy { display: flex; flex-direction: column; gap: 14px; }
	.ifu-hero__copy > * { margin: 0; }
	.ifu-hero__ctas { flex-direction: column; gap: 10px; margin-top: 4px; }
	.ifu-hero__ctas .ifu-btn { width: 100%; }
	.ifu-hero__notes { flex-direction: column; gap: 6px; font-size: var(--ifu-t-small); }
	.ifu-hero__card { gap: 12px; }
	.ifu-hero__card-text strong { font-size: var(--ifu-t-body); }
	.ifu-hero__card-text span { font-size: var(--ifu-t-xs); }
	.ifu-seg__btn { height: 36px; padding: 0 14px; font-size: var(--ifu-t-small); }
	.ifu-steps { gap: 12px; }
	.ifu-step { padding: 20px; gap: 8px; min-height: 0; }
	.ifu-step__num { font-size: 36px; }
	.ifu-step p { font-size: var(--ifu-t-body); }
	.ifu-cats { gap: 12px; }
	.ifu-cat { height: 150px; padding: 16px; }
	.ifu-cat__sub { font-size: var(--ifu-t-xs); }
	.ifu-mat { gap: 24px; }
	.ifu-mat__copy { gap: 14px; }
	.ifu-tile { width: 48px; height: 48px; border-radius: 14px; }
	.ifu-partner { gap: 20px; }
	.ifu-partner__copy { gap: 12px; }
	.ifu-partner__ctas .ifu-btn { width: 100%; }
	.ifu-trust { padding: 20px; gap: 16px; margin-bottom: var(--ifu-s-section); }
	.ifu-trust strong { font-size: var(--ifu-t-body); }
	.ifu-trust span { font-size: var(--ifu-t-small); }
	.ifu-rail { grid-auto-columns: 58%; gap: 12px; margin-inline: calc(-1 * var(--ifu-gutter)); padding-inline: var(--ifu-gutter); scroll-padding-inline: var(--ifu-gutter); } /* Klizač do ivice ekrana; sledeća kartica viri. */
	.ifu-slider-nav { display: none; } /* Na telefonu se prevlači prstom. */

	/* Dugmad: jedna visina, jedna veličina slova */
	.ifu-btn, .ifu-btn--lg { height: 50px; padding: 0 22px; font-size: var(--ifu-t-body); gap: 8px; }
	.ifu-btn--sm { height: 40px; padding: 0 16px; font-size: var(--ifu-t-small); }
	.ifu-btn:hover { transform: none; }
	.woocommerce .button, .woocommerce button.button, .woocommerce a.button, .woocommerce input.button, .wc-block-components-button:not(.is-link) { height: 50px; font-size: var(--ifu-t-body) !important; }
	.woocommerce .button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover { transform: none; box-shadow: none; }

	/* Kartice proizvoda (lista i klizač na početnoj): slika, naziv u 2 reda, cena, pa dugmad u jednom redu */
	ul.products, ul.products.columns-3, .woocommerce ul.products { gap: 22px 12px; }
	.woocommerce ul.products li.product { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: 1fr auto; } /* Dugme u redu uvek na istoj visini. */
	.woocommerce ul.products li.product > a.woocommerce-LoopProduct-link { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 6px; }
	.woocommerce ul.products li.product img, .ifu-pcard__media { border-radius: 16px; margin-bottom: 4px !important; }
	.woocommerce ul.products li.product .woocommerce-loop-product__title, .ifu-pcard__name { font-family: var(--ifu-font); font-size: 14px; font-weight: 600; line-height: 1.3; letter-spacing: 0; -webkit-line-clamp: 2; min-height: 2.6em; padding: 0 !important; margin: 0 !important; }
	.woocommerce ul.products li.product .ifm-card-seller, .ifu-pcard__cat { order: 3; margin: 0; font-size: var(--ifu-t-xs); font-weight: 500; line-height: 1.3; color: var(--ifu-muted-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.woocommerce ul.products li.product .price, .ifu-pcard__price { order: 2; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 6px; margin: 0 !important; font-family: var(--ifu-font); font-size: 16px !important; font-weight: 800; line-height: 1.25; }
	.woocommerce ul.products li.product .price del, .ifu-pcard__price del { order: 2; font-size: var(--ifu-t-xs) !important; font-weight: 500; opacity: 1; color: var(--ifu-muted-2); margin: 0; }
	.woocommerce ul.products li.product .price ins { order: 1; font-weight: 800; }
	.woocommerce ul.products li.product .price .ifu-price-from { font-size: var(--ifu-t-xs); font-weight: 600; color: var(--ifu-muted-2); }
	.woocommerce ul.products li.product .price .ifu-price-tag { display: none; }
	.woocommerce ul.products li.product .button { grid-column: 1; grid-row: 2; width: 100%; align-self: end; height: 40px; margin: 10px 0 0 !important; padding: 0 10px !important; font-size: var(--ifu-t-small) !important; }
	/* Proba u sobi: okruglo dugme u uglu slike, kao „sačuvaj“ u aplikacijama. */
	.woocommerce ul.products li.product .ifu-card-try { position: absolute; top: 8px; right: 8px; z-index: 3; width: 38px; height: 38px; margin: 0; padding: 0; border: 0; border-radius: 50%; justify-content: center; background: var(--ifu-paper); color: var(--ifu-accent); box-shadow: 0 4px 12px rgba(22, 21, 15, .12); }
	.woocommerce ul.products li.product .ifu-card-try > span { display: none; }
	.woocommerce ul.products li.product .ifu-badge { display: none; } /* Dugme sa kamerom ispod radi isto. */
	.woocommerce ul.products li.product .onsale, ul.products li.product .onsale { top: 8px; left: 8px; right: auto; padding: 4px 9px; font-size: 11px; font-weight: 700; }
	.ifu-pcard { gap: 8px; }
	.ifu-pcard__body { gap: 2px; }
	.ifu-pcard__body .ifu-pcard__cat { order: 0; }

	/* Strana proizvoda */
	.single-product div.product .summary { gap: 14px; width: calc(100% + 2 * var(--ifu-gutter)) !important; } /* Kartica preko cele širine, kao galerija. */
	.single-product .product_title, .single-product div.product .product_title { font-size: 22px; line-height: 1.2; letter-spacing: -0.02em; }
	.single-product div.product.ifu-title-long .product_title { font-size: 20px; }
	.single-product div.product.ifu-title-xlong .product_title { font-size: 18px; letter-spacing: -0.01em; }
	.single-product div.product p.price { font-size: 26px; gap: 4px 10px; }
	.single-product div.product p.price .ifu-price-from { font-size: var(--ifu-t-small); }
	.single-product table.variations th.label { padding: 0 0 8px; line-height: 1.2; }
	.single-product table.variations th.label label { display: block; font-size: var(--ifu-t-small); font-weight: 700; line-height: 1.2; letter-spacing: .02em; }
	.single-product table.variations td.value { padding: 0; }
	.single-product .reset_variations { margin-top: 8px; line-height: 1.4; }
	.single-product table.variations tr + tr { margin-top: 12px; }
	.single-product .ifu-sw__opt--text { min-height: 40px; padding: 0 14px; font-size: var(--ifu-t-small); }
	.single-product .ifu-sw__opt--img { width: 60px; height: 60px; border-radius: 14px; }
	.single-product .ifu-sw__opt--img img { border-radius: 11px; }
	.single-product .ifu-sw { gap: 8px; }
	.single-product .single_variation_wrap { margin: 0; }
	.single-product form.cart { gap: 10px; }
	.single-product form.cart .quantity .qty { width: 112px; height: 44px; font-size: 15px !important; border-width: 1px; border-color: var(--ifu-line); background: var(--ifu-paper); }
	.single-product .product_meta { font-size: var(--ifu-t-small); padding-top: 12px; }
	.single-product .product_meta > span:has(.sku) { display: none; } /* „Šifra: -“ kupcu ništa ne znači. */
	.single-product .ifm-seller { padding: 14px; gap: 12px; }
	.single-product .ifm-seller__logo { width: 44px; height: 44px; border-radius: 12px; }
	.ifm-seller__name { font-size: var(--ifu-t-body); }
	.ifm-seller__label, .ifm-seller__meta { font-size: var(--ifu-t-xs); }
	.woocommerce-tabs ul.tabs li a { font-size: var(--ifu-t-small); }
	.woocommerce-tabs .panel { padding: 16px 0 8px; }
	.woocommerce-tabs .panel > h2:first-child { display: none; } /* Isti naziv već piše na kartici iznad. */
	.woocommerce table.shop_attributes th, .woocommerce table.shop_attributes td { padding: 10px 0; font-size: var(--ifu-t-small); }
	.woocommerce table.shop_attributes td p { margin: 0; }
	.single-product .related > h2, .single-product .upsells > h2 { margin: 28px 0 14px; }

	/* Obaveštenja */
	.woocommerce-message, .woocommerce-info, .woocommerce-error { padding: 14px 16px 14px 46px !important; margin: 12px 0 16px !important; font-size: var(--ifu-t-small); border-radius: 14px; }
	.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { left: 16px !important; top: 14px !important; }

	/* Korpa (blok): red = slika | naziv, cena i količina | ukupno — bez širenja van ekrana */
	.wc-block-cart { padding: 0 !important; }
	.wc-block-cart .wc-block-cart-items { display: block; width: 100%; table-layout: fixed; border: 0; margin: 0; }
	.wc-block-cart .wc-block-cart-items thead { display: none; }
	.wc-block-cart .wc-block-cart-items tbody { display: block; }
	.wc-block-cart .wc-block-cart-items__row { display: grid !important; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 0 12px; padding: 14px 0 !important; border-bottom: 1px solid var(--ifu-line); }
	.wc-block-cart .wc-block-cart-items__row > td { display: block; padding: 0 !important; border: 0 !important; min-width: 0; }
	.wc-block-cart .wc-block-cart-item__image img { width: 72px; height: 72px; object-fit: cover; border-radius: 14px; background: var(--ifu-sand); }
	.wc-block-cart .wc-block-cart-items .wc-block-cart-items__row .wc-block-components-product-name { font-size: 14px; font-weight: 600; line-height: 1.3; }
	.wc-block-cart .wc-block-cart-items .wc-block-components-product-metadata__description { display: none; } /* Opis proizvoda ne treba u korpi. */
	.wc-block-cart .wc-block-cart-item__prices, .wc-block-cart .wc-block-components-product-metadata { font-size: var(--ifu-t-xs); }
	.wc-block-cart .wc-block-cart-item__total { text-align: right; font-size: 14px; font-weight: 800; white-space: nowrap; }
	.wc-block-cart .wc-block-cart-item__total .wc-block-components-sale-badge { display: none; } /* Ušteda se vidi kod cene levo. */
	.wc-block-cart .wc-block-components-product-details { font-size: var(--ifu-t-xs); }
	.wc-block-cart .wc-block-components-product-details__name { font-weight: 600; }
	.wc-block-cart .wc-block-components-quantity-selector { width: 104px; margin-top: 8px; }
	.wc-block-cart .wc-block-cart__sidebar { padding: 8px 0 0; }
	.wc-block-components-totals-item { font-size: 14px; }
	.wc-block-components-totals-item__description, .wc-block-components-totals-item__description * { font-size: var(--ifu-t-xs) !important; line-height: 1.4; }
	.wc-block-components-totals-footer-item .wc-block-components-totals-item__label, .wc-block-components-totals-footer-item .wc-block-components-totals-item__value { font-size: 18px !important; font-weight: 800; }
	.wc-block-cart__totals-title { font-size: var(--ifu-t-small) !important; text-transform: uppercase; letter-spacing: .06em; color: var(--ifu-muted-2); }

	/* Plaćanje (blok): naslovi po skali, polja kao u ostatku teme */
	.wc-block-checkout .wc-block-components-title.wc-block-components-title, .wc-block-components-checkout-order-summary__title-text, .wc-block-checkout .wc-block-components-checkout-step__title { font-size: var(--ifu-t-h3) !important; font-weight: 700; letter-spacing: -0.01em; }
	.wc-block-checkout .wc-block-components-checkout-step { margin-bottom: 24px !important; padding: 0 !important; }
	.wc-block-checkout .wc-block-components-checkout-step__heading { margin: 0 0 12px !important; }
	.wc-block-checkout .wc-block-components-checkout-step__description, .wc-block-checkout .wc-block-components-address-form__address_2-toggle, .wc-block-checkout .wc-block-checkout__guest-checkout-notice { font-size: var(--ifu-t-small) !important; }
	.wc-block-components-text-input input[type], .wc-block-components-combobox .wc-block-components-combobox-control input, .wc-blocks-components-select .wc-blocks-components-select__select, .wc-block-components-textarea { border: 1px solid var(--ifu-line) !important; border-radius: 14px !important; background: var(--ifu-paper) !important; box-shadow: none !important; }
	.wc-block-components-text-input input[type]:focus, .wc-blocks-components-select .wc-blocks-components-select__select:focus { border-color: var(--ifu-accent) !important; box-shadow: 0 0 0 1px var(--ifu-accent) !important; }
	.wc-block-components-radio-control__option, .wc-block-components-radio-control-accordion-option { border-radius: 14px !important; }
	.wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button { width: 100%; }
	.wc-block-components-checkout-return-to-cart-button { font-size: var(--ifu-t-small); }
	.wc-block-components-order-summary-item__description, .wc-block-components-product-metadata__description { font-size: var(--ifu-t-xs) !important; }
	.wc-block-checkout .wc-block-components-order-summary .wc-block-components-product-metadata__description { display: none; }
	.wc-block-components-notices:empty, .wc-block-checkout__form > .wc-block-components-notices:empty { display: none; }

	/* Nalog: prijava i registracija kao kartice u aplikaciji */
	.woocommerce-account .woocommerce form.login, .woocommerce-account .woocommerce form.register, .woocommerce form.login, .woocommerce form.register { margin: 12px 0 28px; padding: 18px 16px; border: 0; border-radius: 20px; background: var(--ifu-paper); }
	.woocommerce form .form-row { margin: 0 0 14px; padding: 0; }
	.woocommerce form .form-row label { font-size: var(--ifu-t-small); font-weight: 600; margin-bottom: 6px; }
	.woocommerce form .form-row .input-text, .woocommerce form .form-row select, .woocommerce-page .input-text { height: 50px; background: var(--ifu-ground); }
	.woocommerce form .show-password-input, .woocommerce-page form .show-password-input { top: 50% !important; transform: translateY(-50%); right: 3px !important; }
	.woocommerce form.login .form-row:has(.woocommerce-form-login__submit) { display: flex; flex-direction: column; align-items: stretch; gap: 14px; margin-bottom: 8px; }
	.woocommerce form.login .woocommerce-form-login__submit, .woocommerce form.register .woocommerce-form-register__submit { width: 100%; margin: 0 !important; }
	.woocommerce form.login .woocommerce-form-login__rememberme { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; }
	.woocommerce form.login .lost_password { margin: 4px 0 0; font-size: 14px; text-align: center; }
	.woocommerce-account .u-columns h2, .woocommerce-account .woocommerce > h2 { margin-top: 8px; }
	.woocommerce form.login .lost_password a { color: var(--ifu-accent); font-weight: 600; }
	.woocommerce-privacy-policy-text, .woocommerce form.register > p:not(.form-row) { font-size: var(--ifu-t-xs); color: var(--ifu-muted-2); }
	.woocommerce-account .woocommerce-MyAccount-content { font-size: var(--ifu-t-body); }

	.ifu-newsband__inner { gap: 16px; padding-block: var(--ifu-s-section); }
	.ifu-newsband__title { font-size: var(--ifu-t-h2); line-height: 1.15; }
	.ifu-newsband__copy p { font-size: var(--ifu-t-body); }
	.ifu-pcard__name a { font-weight: inherit; }
	.ifu-mat__label strong { font-weight: 700; }

	/* Futer */
	.ifu-footer { padding: var(--ifu-s-section) 0 24px; }
	.ifu-footer__grid { gap: 24px; }
	.ifu-footer__title { font-size: var(--ifu-t-small); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; }
	.ifu-footer__list { gap: 10px; font-size: 14px; }
	.ifu-footer__bottom { margin-top: 28px; padding-top: 16px; font-size: var(--ifu-t-xs); }
	.ifu-brand--xl { font-size: 26px; }

	/* Gornja traka */
	.ifu-header .ifu-brand { font-size: 21px; margin-left: 10px; }
	body:not(.ifu-app-root) .ifu-appbar__title { font-size: 16px; }
}

/* ---------- Telefon: filteri u panelu, traka iznad liste, prikaz kao lista ---------- */
@media (max-width: 900px) {
	.ifu-shop__layout { display: block; margin-top: 0; }
	.ifu-shop__layout > .ifu-shop__filters { display: none; }
	.ifu-sheet--full .ifu-sheet__panel { height: 92vh; max-height: 92vh; display: flex; flex-direction: column; padding-bottom: 0; }
	.ifu-sheet--full .ifu-sheet__body { flex: 1; min-height: 0; display: flex; flex-direction: column; }
	.ifu-sheet--full .ifu-shop__filters { flex: 1; display: flex !important; flex-direction: column; }
	.ifu-sheet--full .ifu-filters { flex: 1; }
	.ifu-sheet--full .ifu-filters__foot { margin-top: auto; }
	.ifu-sheet .ifu-shop__filters { position: static; max-height: none; overflow: visible; padding: 0; }
	.ifu-sheet .ifu-shop__ftitle { display: none; }
	.ifu-sheet .ifu-fgroup summary { font-size: 16px; min-height: 36px; }
	.ifu-sheet .ifu-fval { min-height: 44px; font-size: 15px; }
	.ifu-sheet .ifu-fswitch { min-height: 48px; font-size: 15px; }
	.ifu-sheet .ifu-fvals--color { flex-direction: row; flex-wrap: wrap; gap: 8px; }
	.ifu-sheet .ifu-fvals--color .ifu-fval { margin: 0; padding: 0 12px 0 6px; min-height: 40px; border: 1px solid var(--ifu-line); border-radius: 999px; background: var(--ifu-paper); }
	.ifu-sheet .ifu-fvals--color .ifu-fval span { flex: none; }
	.ifu-sheet .ifu-fvals--color .ifu-fval:has(input:checked) { border-color: var(--ifu-ink); box-shadow: inset 0 0 0 1px var(--ifu-ink); }
	.ifu-sheet .ifu-filters__foot { position: sticky; bottom: 0; z-index: 2; margin: 8px -20px 0; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); background: var(--ifu-ground); border-top: 1px solid var(--ifu-line); grid-template-columns: auto 1fr; }
	.ifu-sheet .ifu-filters__foot .ifu-btn { height: 52px; font-size: 15px; }
	.ifu-sheet .ifu-filters__foot [data-ifu-fapply][aria-busy="true"] { opacity: .7; }
	.ifu-sheet .ifu-filters__foot [data-ifu-fapply][disabled] { opacity: .45; }

	.ifu-appchips .ifu-chip.is-on { background: var(--ifu-ink); border-color: var(--ifu-ink); color: #fff; }
	.ifu-appchips .ifu-badgen { box-shadow: 0 0 0 2px var(--ifu-ink); }

	.ifu-shopbar { margin: 0 0 12px; }
	.ifu-shopbar .woocommerce-ordering { display: none !important; } /* „Poređaj“ je u trakama iznad. */
	.ifu-shopbar__n { font-size: 13px; }
	.ifu-shopbar__view .ifu-appbtn { width: 36px; height: 36px; }
	.ifu-factive { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--ifu-gutter)) 14px; padding: 0 var(--ifu-gutter); }
	.ifu-factive .ifu-chip, .ifu-factive__clear { flex: none; white-space: nowrap; }

	/* Lista na telefonu: slika 108 px, naziv i cena pored, dugme ispod teksta */
	html.ifu-list .woocommerce ul.products li.product, html.ifu-list ul.products li.product { grid-template-columns: 108px minmax(0, 1fr) !important; grid-template-rows: auto auto auto 1fr !important; column-gap: 12px; padding: 10px; border-radius: 18px; }
	html.ifu-list ul.products li.product img { width: 108px !important; height: 108px !important; grid-row: 1 / 5; margin: 0 !important; }
	html.ifu-list ul.products li.product .woocommerce-loop-product__title { grid-column: 2; grid-row: 1; align-self: start; padding-right: 40px !important; }
	html.ifu-list ul.products li.product .price { grid-column: 2; grid-row: 2; }
	html.ifu-list ul.products li.product .ifm-card-seller { grid-column: 2; grid-row: 3; }
	html.ifu-list .woocommerce ul.products li.product .button, html.ifu-list ul.products li.product .button { grid-column: 2 !important; grid-row: 4 !important; align-self: end; width: 100% !important; height: 38px; margin: 8px 0 0 !important; }
	html.ifu-list .woocommerce ul.products li.product .ifu-card-try, html.ifu-list ul.products li.product .ifu-card-try { top: 10px; right: 10px; width: 34px; height: 34px; }
	html.ifu-list .woocommerce ul.products li.product .onsale, html.ifu-list ul.products li.product .onsale { top: 14px; left: 14px; }
}

/* ---------- Početna na telefonu: samo kutije sa kategorijama ---------- */
.ifu-apphome { display: none; }
@media (max-width: 900px) {
	.ifu-home > :not(.ifu-apphome) { display: none !important; }
	body.home .ifu-footer, body.home .ifu-newsband { display: none; }
	.ifu-apphome { display: block; padding: 8px 0 28px; }
	.ifu-boxes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.ifu-box { position: relative; display: flex; align-items: flex-end; aspect-ratio: 1 / 1.08; overflow: hidden; border-radius: 22px; background: var(--ifu-sand); color: #fff; text-decoration: none; isolation: isolate; -webkit-tap-highlight-color: transparent; }
	.ifu-box--wide { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
	.ifu-box__img { position: absolute; inset: 0; z-index: -1; background: center / cover no-repeat; transition: transform .5s var(--ifu-ease); }
	.ifu-box::after { content: ""; position: absolute; inset: 40% 0 0; z-index: -1; background: linear-gradient(to top, rgba(14, 13, 9, .72), rgba(14, 13, 9, 0)); }
	.ifu-box__text { display: flex; flex-direction: column; gap: 2px; padding: 14px; }
	.ifu-box__text strong { font-family: var(--ifu-display); font-size: 17px; font-weight: 800; line-height: 1.15; letter-spacing: -0.01em; }
	.ifu-box--wide .ifu-box__text strong { font-size: 22px; }
	.ifu-box__text small { font-size: 12px; font-weight: 600; opacity: .88; }
	.ifu-box:active .ifu-box__img { transform: scale(1.04); }
	.ifu-box:active { transform: scale(.98); }
	.ifu-box { transition: transform .12s ease; }
	.ifu-box.is-noimg { color: var(--ifu-ink); }
	.ifu-box.is-noimg::after { display: none; }
	.ifu-box:hover { color: #fff; }
	.ifu-box.is-noimg:hover { color: var(--ifu-ink); }
}

/* ---------- Telefon: strana proizvoda kao ekran aplikacije ---------- */
@media (max-width: 900px) {
	.single-product div.product > .woocommerce-product-gallery { margin: 0 calc(-1 * var(--ifu-gutter)) !important; } /* Galerija do ivica ekrana. */
	.single-product div.product > .summary { margin: -24px calc(-1 * var(--ifu-gutter)) 0 !important; padding: 22px var(--ifu-gutter) 20px; gap: 16px; }
	.single-product div.product > .ifu-acc { margin: 0 calc(-1 * var(--ifu-gutter)); padding: 0 var(--ifu-gutter); border-top: 8px solid var(--ifu-paper); background: var(--ifu-ground); }
	.single-product .ifu-acc__h { min-height: 56px; font-size: 16px; }
	.single-product .ifu-acc__b { font-size: 14px; padding-bottom: 18px; }
	.single-product .ifu-tryon-cta { padding: 12px 14px; }
	.single-product .ifu-tryon-cta__icon { width: 44px; height: 44px; }
	.single-product .ifu-tryon-cta__text strong { font-size: 15px; }
	.single-product .ifu-tryon-cta__text small { font-size: 12.5px; }
	.single-product .ifu-perks { padding: 0 14px; }
	.single-product .ifu-perks li { padding: 10px 0; }
	.single-product .ifm-seller { padding: 12px 14px; }
	.single-product .product_meta { font-size: 12px; }
	.single-product .woocommerce-product-details__short-description { font-size: 15px; line-height: 1.55; color: var(--ifu-muted); }
	.single-product .woocommerce-product-details__short-description p { margin: 0; }

	/* Povezani proizvodi: vodoravni klizač, kao u aplikaciji */
	.single-product div.product > .related > h2, .single-product div.product > .upsells > h2 { margin: 0 0 12px; }
	.single-product .related ul.products, .single-product .upsells ul.products { display: grid !important; grid-auto-flow: column; grid-template-columns: none !important; grid-auto-columns: 44%; gap: 12px !important; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(-1 * var(--ifu-gutter)); padding: 0 var(--ifu-gutter) 4px; scroll-padding-inline: var(--ifu-gutter); }
	.single-product .related ul.products::-webkit-scrollbar { display: none; }
	.single-product .related ul.products li.product, .single-product .upsells ul.products li.product { scroll-snap-align: start; }
}

/* ---------- Telefon: bez futera, tabovi na svakom ekranu ---------- */
.ifu-appinfo { display: none; }
@media (max-width: 900px) {
	.ifu-footer, .ifu-newsband { display: none !important; }
	body.ifu-has-app, body.single-product.ifu-has-app { padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
	body.ifu-has-app.ifu-has-buybar { padding-bottom: calc(150px + env(safe-area-inset-bottom)); }
	/* Traka za kupovinu stoji iznad tabova, kao u aplikacijama prodavnica. */
	.ifu-buybar { bottom: calc(62px + env(safe-area-inset-bottom)); padding: 10px 14px; view-transition-name: ifu-buybar; box-shadow: 0 -6px 18px rgba(22, 21, 15, .06); }
	html.ifu-kb .ifu-buybar { bottom: 0; }
	/* Lista želja na telefonu: srce u traci, srce na kartici, kamera ispod njega */
	.ifu-header__actions .ifu-iconbtn.ifu-wishbtn { display: inline-flex !important; width: 44px; height: 44px; border: 0; background: none; }
	.ifu-header__actions .ifu-wishbtn .ifu-cart-count { top: 4px; right: 2px; }
	.woocommerce ul.products li.product .ifu-heart, ul.products li.product .ifu-heart, .ifu-pcard .ifu-heart { top: 8px; right: 8px; width: 38px; height: 38px; }
	.woocommerce ul.products li.product .ifu-card-try { top: 52px; }
	.woocommerce ul.products li.product .onsale, ul.products li.product .onsale { right: auto; }
	.ifu-wishscreen { padding: 12px 0 32px; }
	.ifu-saved__grid { grid-template-columns: 1fr; gap: 14px; }
	.ifu-watch__row { flex-direction: column; }
	/* Partner: video poziv (WhatsApp) + „Kupi kod prodavca“ */
	.ifu-buybar__wa { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; flex: none; border-radius: 50%; background: #25D366; color: #fff; }
	a.ifu-buybar__add { display: inline-flex; align-items: center; justify-content: center; color: #fff; text-decoration: none; background: var(--ifu-ink); box-shadow: none; }
	body.ifu-has-buybar .ifu-snack { bottom: calc(146px + env(safe-area-inset-bottom)); }

	/* Pomoć i informacije (umesto futera) na „Kategorije“ i „Nalog“ */
	.ifu-appinfo { display: block; margin: 28px 0 8px; }
	.ifu-appinfo__h { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ifu-muted-2); }
	.ifu-appinfo__list { list-style: none; margin: 0; padding: 0; border-radius: 20px; background: var(--ifu-paper); overflow: hidden; }
	.ifu-appinfo__list li + li { border-top: 1px solid var(--ifu-line); }
	.ifu-appinfo__list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 8px 16px; color: var(--ifu-ink); font-size: 15px; font-weight: 600; text-decoration: none; }
	.ifu-appinfo__list a span { display: flex; flex-direction: column; }
	.ifu-appinfo__list small { font-size: 12px; font-weight: 500; color: var(--ifu-muted-2); }
	.ifu-appinfo__list svg { flex: none; color: var(--ifu-muted-2); }
	.ifu-appinfo__legal { margin: 14px 4px 0; font-size: 11.5px; line-height: 1.5; color: var(--ifu-muted-2); }
}
::view-transition-group(ifu-buybar) { animation: none; z-index: 10; }

@keyframes ifu-screen-up { from { transform: translateY(24px); opacity: 0; } }
@keyframes ifu-shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
@keyframes ifu-spin { to { transform: rotate(360deg); } }
@keyframes ifu-vt-in { from { transform: translateX(30%); opacity: 0; } }
@keyframes ifu-vt-out { to { transform: translateX(-12%); opacity: 0; } }
@keyframes ifu-vt-in-back { from { transform: translateX(-12%); opacity: 0; } }
@keyframes ifu-vt-out-back { to { transform: translateX(30%); opacity: 0; } }
::view-transition-old(root) { animation: 200ms cubic-bezier(.4, 0, 1, 1) both ifu-vt-out; }
::view-transition-new(root) { animation: 300ms cubic-bezier(.2, .85, .25, 1) both ifu-vt-in; }
html:active-view-transition-type(back)::view-transition-old(root) { animation-name: ifu-vt-out-back; }
html:active-view-transition-type(back)::view-transition-new(root) { animation-name: ifu-vt-in-back; }
html:active-view-transition-type(tab)::view-transition-old(root), html:active-view-transition-type(tab)::view-transition-new(root) { animation: 160ms ease both; }
::view-transition-group(ifu-appbar), ::view-transition-group(ifu-tabbar) { animation: none; z-index: 10; }
::view-transition-group(ifu-hero) { animation-duration: 380ms; animation-timing-function: cubic-bezier(.2, .85, .25, 1); z-index: 9; }
@media (prefers-reduced-motion: reduce) {
	::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}
