/* Igračke raj: stilovi po originalnom dizajnu, za HTML prototip i buduću WooCommerce temu.
   Selektori prate WooCommerce markup (klasični šabloni). Boje su uzete iz logoa. */

:root {
  --bg: #ffffff;
  --soft: #fbf7f3;
  --navy: #1d2a5c;
  --ink: #3b4468;
  --muted: #7a8099;
  --line: #eee8e1;
  --line-2: #e3ddd6;
  --teal: #289595;
  --teal-dk: #1f7f7f;
  --teal-soft: #e3f4f2;
  --coral: #fc7a78;
  --coral-dk: #f05d5b;
  --coral-soft: #ffeceb;
  --sun: #fcb150;
  --sun-dk: #e8962d;
  --sun-soft: #fff3df;
  --green: #22a35a;
  --green-soft: #e5f6ea;
  --sky-soft: #eaf1fb;
  --lilac-soft: #efeefb;
  --peach: #fdeee6;
  --mint: #e3f4f1;
  --card-img: #f4f5f8;
  --display: "Baloo 2", ui-rounded, system-ui, sans-serif;
  --body: "Nunito", system-ui, sans-serif;
  --r: 14px;
  --r-lg: 22px;
  --shadow: 0 6px 24px -10px rgb(29 42 92 / 0.16);
  --shadow-cta: 0 10px 22px -12px rgb(252 122 120 / 0.9);
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; color: var(--navy); line-height: 1.05; letter-spacing: -0.01em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.2rem, 4.5vw, 3.2rem); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid rgb(40 149 149 / 0.45); outline-offset: 2px; }
.icon { flex-shrink: 0; }
.c-coral { color: var(--coral); }
.c-green { color: var(--green); }
.c-teal { color: var(--teal); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed !important; top: 8px; left: 8px; width: auto; height: auto; clip: auto; z-index: 100; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; }

.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 24px; }
.section { margin-top: 32px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.section-title { font-size: clamp(1.45rem, 2.4vw, 1.75rem); margin: 0; }
.link-more { display: inline-flex; align-items: center; gap: 4px; font-size: 0.92rem; font-weight: 800; color: var(--teal); text-decoration: none; white-space: nowrap; }
.link-more:hover { text-decoration: underline; }
.link-more.coral { color: var(--coral-dk); }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--navy); text-decoration: none; }
.text-link:hover { color: var(--coral-dk); }
.text-link.muted { font-weight: 600; color: var(--ink); }

/* ---------- Dugmad ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 10px 22px; border: 0; border-radius: 12px;
  background: var(--soft); color: var(--navy); font-weight: 800; text-decoration: none; cursor: pointer;
  transition: background-color 0.15s, transform 0.1s;
}
.button:active { transform: scale(0.98); }
.button.alt { background: var(--coral); color: #fff; box-shadow: var(--shadow-cta); }
.button.alt:hover { background: var(--coral-dk); }
.button.teal { background: var(--teal); color: #fff; }
.button.teal:hover { background: var(--teal-dk); }
.btn-lg { min-height: 56px; font-size: 1.12rem; padding: 12px 28px; }

/* ---------- Tonovi ikonica ---------- */
.tone-sun { background: var(--sun-soft); color: var(--sun-dk); }
.tone-teal { background: var(--teal-soft); color: var(--teal); }
.tone-coral { background: var(--coral-soft); color: var(--coral-dk); }
.tone-green { background: var(--green-soft); color: var(--green); }

/* ---------- Konfete (iz logoa) i nalepnice ---------- */
.confetti { position: absolute; width: 14px; height: 42px; border-radius: 99px; pointer-events: none; }
.confetti.teal { background: #5cc4bf; }
.confetti.sun { background: #fcc46e; }
.confetti.coral { background: #fd9896; }
.sticker { position: absolute; display: flex; align-items: center; gap: 8px; font: 700 1.2rem/1.1 var(--display); color: var(--navy); }
.sticker--cream { right: 20px; top: 60px; padding: 18px 22px; background: #fdf3ea; border-radius: 24px; transform: rotate(-8deg); box-shadow: var(--shadow); }
.sticker--cream .illu { position: absolute; right: -12px; top: -14px; }
.sticker--coral { right: 20px; top: 22px; padding: 18px 24px; background: var(--coral); color: #fff; border-radius: 46% 54% 50% 50%; transform: rotate(-10deg); box-shadow: var(--shadow-cta); max-width: 210px; text-align: center; }
.sticker--sun { right: -10px; top: 6px; padding: 16px 22px; background: var(--sun); border-radius: 50% 45% 55% 48%; transform: rotate(-12deg); font-size: 1.05rem; }

/* ---------- Zaglavlje ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgb(255 255 255 / 0.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 32px; padding-top: 12px; padding-bottom: 12px; }
.site-logo { flex-shrink: 0; }
.site-logo img { width: 158px; height: auto; }
.woocommerce-product-search { position: relative; flex: 1; max-width: 560px; }
.woocommerce-product-search .search-field { width: 100%; height: 46px; padding: 0 46px 0 16px; border: 1px solid var(--line-2); border-radius: 12px; background: #f6f7fa; font-size: 0.92rem; outline: none; }
.woocommerce-product-search .search-field:focus { border-color: var(--teal); background: #fff; }
.woocommerce-product-search button { position: absolute; right: 6px; top: 6px; width: 34px; height: 34px; display: grid; place-items: center; border: 0; background: none; color: var(--muted); cursor: pointer; }
.header-actions { margin-left: auto; display: flex; gap: 26px; }
.header-action { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 0.72rem; font-weight: 700; color: var(--ink); text-decoration: none; }
.header-action:hover { color: var(--coral-dk); }
.header-action .icon { stroke-width: 1.8; }
.cart-contents .count { position: absolute; top: -6px; right: -8px; min-width: 19px; height: 19px; padding: 0 5px; display: grid; place-items: center; border-radius: 10px; background: var(--coral); color: #fff; font-size: 0.66rem; font-weight: 800; box-shadow: 0 0 0 2px #fff; }

.nav-row { display: flex; align-items: center; gap: 28px; padding-bottom: 10px; }
.cat-menu { position: relative; }
.cat-menu__toggle { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border: 0; border-radius: 12px; background: #f3f4f8; font-weight: 800; color: var(--navy); cursor: pointer; }
.cat-menu__toggle[aria-expanded="true"] .icon:last-child { transform: rotate(180deg); }
.cat-menu__panel { position: absolute; top: calc(100% + 8px); left: 0; z-index: 50; width: 540px; margin: 0; padding: 12px; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: 0 20px 40px -18px rgb(29 42 92 / 0.35); }
.cat-menu__panel[hidden] { display: none; }
.cat-menu__panel a,
.mobile-menu__cats a { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 12px; font-weight: 700; color: var(--navy); text-decoration: none; }
.cat-menu__panel a:hover { background: var(--soft); }
.cat-menu__panel img,
.mobile-menu__cats img { width: 44px; height: 44px; border-radius: 10px; background: var(--card-img); object-fit: cover; }
.main-navigation .menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; }
.main-navigation a { font-weight: 800; color: var(--navy); text-decoration: none; }
.main-navigation a:hover { color: var(--coral-dk); }
.menu-new a { color: var(--teal) !important; }
.menu-sale a { color: var(--coral-dk) !important; }
.header-trust { margin-left: auto; display: flex; gap: 22px; }

.trust-tile { display: flex; align-items: center; gap: 12px; }
.trust-icon { flex-shrink: 0; display: grid; place-items: center; }
.trust-title { display: block; font-weight: 800; color: var(--navy); font-size: 0.95rem; line-height: 1.2; }
.trust-text { display: block; font-size: 0.85rem; color: var(--muted); line-height: 1.25; }
.trust-tile--sm .trust-title { font-size: 0.74rem; }
.trust-tile--sm .trust-text { font-size: 0.68rem; }
.trust-bar { display: grid; gap: 18px; margin-top: 22px; padding: 20px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.trust-bar.cols-4 { grid-template-columns: repeat(4, 1fr); }
.trust-bar.cols-5 { grid-template-columns: repeat(5, 1fr); }

.menu-toggle { display: none; border: 0; background: none; color: var(--navy); padding: 4px; cursor: pointer; }
.mobile-menu { position: fixed; inset: 0; z-index: 60; }
.mobile-menu[hidden] { display: none; }
.mobile-menu__backdrop { position: absolute; inset: 0; border: 0; background: rgb(29 42 92 / 0.4); }
.mobile-menu__panel { position: absolute; inset: 0 auto 0 0; width: min(360px, 86vw); background: #fff; padding: 20px; overflow-y: auto; }
.mobile-menu__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font: 700 1.35rem var(--display); color: var(--navy); }
.mobile-menu__close { border: 0; background: none; cursor: pointer; color: var(--navy); }
.mobile-menu__nav,
.mobile-menu__cats { list-style: none; margin: 0; padding: 0; }
.mobile-menu__nav { border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 14px; }
.mobile-menu__nav a { display: block; padding: 9px 0; font-weight: 800; color: var(--navy); text-decoration: none; }
.mobile-menu__label { font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 6px; }

/* ---------- Glavni sadržaj ---------- */
.site-main { padding: 18px 0 20px; }
.woocommerce-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; font-size: 0.9rem; color: var(--ink); }
.woocommerce-breadcrumb a { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--coral-dk); }
.woocommerce-breadcrumb > span { font-weight: 800; color: var(--navy); }
.woocommerce-breadcrumb .sep { color: var(--muted); }
.page-title { margin-bottom: 18px; }
.lead { font-size: 1.1rem; color: var(--ink); }

/* ---------- Početna ---------- */
.home-hero { position: relative; display: grid; grid-template-columns: 1fr 1.15fr; align-items: center; overflow: hidden; border-radius: 28px; background: linear-gradient(90deg, #eef3fb, #f6efe9 55%, #f3e7dc); }
.home-hero__text { position: relative; z-index: 2; padding: 56px 0 56px 48px; }
.home-hero h1 { font-size: clamp(2.6rem, 5vw, 3.9rem); line-height: 1.02; margin-bottom: 18px; }
.home-hero__text p { max-width: 24rem; font-size: 1.15rem; margin-bottom: 26px; }
.home-hero__media { position: relative; align-self: stretch; min-height: 420px; }
.home-hero__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%); mask-image: linear-gradient(90deg, transparent, #000 18%); }
.home-hero .confetti { z-index: 1; }

ul.products.product-categories { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px; }
li.product-category a { display: block; text-align: center; text-decoration: none; }
.cat-image { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 16px; background: var(--card-img); }
.cat-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
li.product-category a:hover img { transform: scale(1.05); }
.woocommerce-loop-category__title { margin: 8px 0 0; font: 800 0.9rem/1.2 var(--body); letter-spacing: 0; }
li.product-category a:hover .woocommerce-loop-category__title { color: var(--coral-dk); }
.woocommerce-loop-category__title .count { display: none; }

.promo-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.promo { position: relative; display: flex; min-height: 200px; overflow: hidden; border-radius: var(--r-lg); }
.promo--blush { background: linear-gradient(90deg, #fdeee6, #fbe1dc); }
.promo--mint { background: linear-gradient(90deg, #e3f4f1, #d9efea); }
.promo--peach { background: linear-gradient(90deg, #fdebe4, #f7e3d6); }
.promo__text { position: relative; z-index: 2; padding: 28px 32px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.promo__text h2 { font-size: 1.75rem; margin-bottom: 8px; }
.promo__text p { max-width: 15rem; font-size: 0.92rem; margin-bottom: 16px; }
.promo__text .button { min-height: 42px; font-size: 0.92rem; }
.promo > img { position: absolute; right: 0; bottom: 0; height: 100%; width: 48%; object-fit: contain; object-position: right bottom; mix-blend-mode: multiply; }

.brand-carousel { display: flex; align-items: center; gap: 12px; }
.carousel-btn { width: 38px; height: 38px; flex-shrink: 0; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: #fff; box-shadow: var(--shadow); color: var(--navy); cursor: pointer; }
.brand-track { flex: 1; list-style: none; margin: 0; padding: 6px 2px; display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.brand-track::-webkit-scrollbar { display: none; }
.brand-track li { scroll-snap-align: start; }
.brand-chip { display: grid; place-items: center; min-width: 128px; height: 66px; padding: 0 16px; background: #fff; border: 1px solid var(--line); border-radius: 16px; text-decoration: none; }
.brand-chip span { white-space: nowrap; font-weight: 900; font-size: 1.05rem; }
.brand-lego span { background: #d01012; color: #fff; padding: 3px 10px; border-radius: 4px; font-style: italic; }
.brand-fisher-price span { background: #f15a24; color: #fff; padding: 3px 12px; border-radius: 99px; }
.brand-bruder span { background: #1b4f9c; color: #fff; padding: 3px 10px; border-radius: 4px; font-style: italic; }
.brand-play-doh span { background: #e1251b; color: #fff; padding: 3px 14px; border-radius: 99px; }
.brand-marvel span { background: #ec1d24; color: #fff; padding: 2px 8px; letter-spacing: -0.05em; }
.brand-barbie span { color: #e0218a; font-style: italic; font-size: 1.4rem; }
.brand-vtech span { background: #003b7b; color: #fff; padding: 3px 14px; border-radius: 99px; }
.brand-jenga span { color: var(--navy); font-style: italic; font-size: 1.3rem; }
.brand-plantoys span, .brand-viga span, .brand-janod span { color: var(--teal); }

.post-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.post-card { display: flex; gap: 16px; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); text-decoration: none; }
.post-card__img { width: 128px; height: 96px; flex-shrink: 0; overflow: hidden; border-radius: 12px; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.post-card:hover img { transform: scale(1.05); }
.post-card__body { display: flex; flex-direction: column; justify-content: center; }
.post-card__cat { font-size: 0.68rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.post-card__title { margin-top: 3px; font-weight: 800; color: var(--navy); line-height: 1.3; }
.post-card__more { margin-top: 8px; display: inline-flex; align-items: center; gap: 4px; font-size: 0.85rem; font-weight: 800; color: var(--coral-dk); }

/* ---------- Kartica proizvoda (loop) ---------- */
ul.products { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
ul.products.columns-6 { grid-template-columns: repeat(6, 1fr); }
ul.products.columns-4 { grid-template-columns: repeat(4, 1fr); }
ul.products.columns-3 { grid-template-columns: repeat(3, 1fr); }
ul.products li.product:not(.product-category) { position: relative; display: flex; flex-direction: column; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); transition: transform 0.2s, box-shadow 0.2s; }
ul.products li.product:not(.product-category):hover { transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgb(29 42 92 / 0.28); }
.woocommerce-loop-product__link { display: flex; flex-direction: column; flex: 1; text-decoration: none; padding: 0 4px; }
.product-image { position: relative; display: block; margin: 0 -4px 10px; aspect-ratio: 5 / 4; overflow: hidden; border-radius: 14px; background: var(--card-img); }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
li.product:hover .product-image img { transform: scale(1.05); }
.onsale { position: absolute; top: 10px; left: 10px; z-index: 2; padding: 2px 8px; border-radius: 8px; background: var(--coral); color: #fff; font-size: 0.75rem; font-weight: 900; }
.woocommerce-loop-product__title { margin: 0; font: 800 0.98rem/1.3 var(--body); color: var(--navy); letter-spacing: 0; }
li.product:hover .woocommerce-loop-product__title { color: var(--coral-dk); }
.product-age { width: fit-content; margin-top: 8px; padding: 2px 8px; border-radius: 6px; background: #f1f2f6; font-size: 0.75rem; font-weight: 700; }
.rating { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; }
.rating-count { font-size: 0.75rem; color: var(--muted); }
.star-rating { position: relative; display: inline-block; width: 5.6em; height: 1.05em; font-size: 0.82rem; line-height: 1; overflow: hidden; }
.star-rating::before, .star-rating > span::before { content: "★★★★★"; position: absolute; top: 0; left: 0; letter-spacing: 0.1em; }
.star-rating::before { color: #fde2b4; }
.star-rating > span { position: absolute; top: 0; left: 0; height: 100%; overflow: hidden; font-size: 0; }
.star-rating > span::before { color: var(--sun); font-size: 0.82rem; }
.price { margin-top: 6px; font-weight: 900; font-size: 1.08rem; color: var(--navy); font-variant-numeric: tabular-nums; }
.price ins { text-decoration: none; color: var(--coral-dk); }
.price del { margin-left: 4px; font-size: 0.72rem; font-weight: 500; color: var(--muted); }
.wishlist-toggle { position: absolute; top: 16px; right: 16px; z-index: 3; width: 32px; height: 32px; display: grid; place-items: center; border: 0; border-radius: 50%; background: #fff; color: var(--coral); box-shadow: 0 2px 8px rgb(0 0 0 / 0.08); cursor: pointer; transition: transform 0.15s; }
.wishlist-toggle:hover { transform: scale(1.1); }
.wishlist-toggle[aria-pressed="true"] svg { fill: currentColor; }

/* Kompaktna kartica: dugme-ikonica pored cene */
.products--compact .price,
.products--compact .rating { margin-right: 44px; }
.products--compact .add_to_cart_button { position: absolute; right: 12px; bottom: 12px; width: 40px; min-height: 40px; height: 40px; padding: 0; border-radius: 12px; background: var(--coral); color: #fff; box-shadow: var(--shadow-cta); }
.products--compact .add_to_cart_button:hover { background: var(--coral-dk); }
.products--compact .rating { order: 2; }
/* Kartica u listingu: puno dugme */
.products--grid .woocommerce-loop-product__link { padding-bottom: 12px; }
.products--grid .add_to_cart_button { margin: 0 4px 4px; min-height: 42px; font-size: 0.9rem; background: var(--coral); color: #fff; box-shadow: var(--shadow-cta); }
.products--grid .add_to_cart_button:hover { background: var(--coral-dk); }
.add_to_cart_button.added { background: var(--green) !important; box-shadow: none !important; }

/* ---------- Kategorija ---------- */
.cat-hero { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; overflow: hidden; border-radius: 28px; background: linear-gradient(90deg, #fbefe7, #f9ebe2 55%, #f5e2d6); }
.cat-hero--plain { grid-template-columns: 1fr; }
.cat-hero__text { position: relative; z-index: 2; padding: 36px 40px; }
.cat-hero h1 { margin-bottom: 10px; }
.term-description p { max-width: 34rem; font-size: 1.1rem; margin: 0; }
.cat-hero__media { position: relative; align-self: stretch; min-height: 260px; }
.cat-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%); mask-image: linear-gradient(90deg, transparent, #000 15%); }
.hero-features { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 20px; }
.hero-features li { display: flex; align-items: center; gap: 10px; max-width: 9rem; font-size: 0.88rem; font-weight: 800; color: var(--navy); line-height: 1.2; }
.hero-features .illu { flex-shrink: 0; }

.shop-layout { display: grid; grid-template-columns: 250px 1fr; gap: 24px; align-items: start; margin-top: 24px; }
.shop-sidebar { padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.sidebar-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.sidebar-head h2 { font-size: 1.25rem; margin: 0; }
.clear-filters { font-size: 0.88rem; font-weight: 800; color: var(--teal); }
.filter-close { display: none; border: 0; background: none; cursor: pointer; color: var(--navy); }
.widget { padding: 14px 0; border-top: 1px solid var(--line); }
.widget:first-of-type { border-top: 0; }
.widgettitle { display: flex; justify-content: space-between; align-items: center; margin: 0 0 8px; font: 800 1rem var(--body); color: var(--navy); letter-spacing: 0; }
.widgettitle .icon { transform: rotate(180deg); }
.widget ul { list-style: none; margin: 0; padding: 0; }
.woocommerce-widget-layered-nav-list a { display: flex; align-items: center; gap: 10px; padding: 4px 0; font-size: 0.9rem; text-decoration: none; }
.woocommerce-widget-layered-nav-list a:hover { color: var(--navy); }
.woocommerce-widget-layered-nav-list .check { width: 18px; height: 18px; flex-shrink: 0; display: grid; place-items: center; border: 2px solid #cfd3de; border-radius: 5px; background: #fff; color: transparent; }
.woocommerce-widget-layered-nav-list .chosen .check { border-color: var(--coral); background: var(--coral); color: #fff; }
.woocommerce-widget-layered-nav-list .chosen a { font-weight: 800; color: var(--navy); }
.woocommerce-widget-layered-nav-list .empty { opacity: 0.4; pointer-events: none; }
.widget .count { color: var(--muted); }

.shop-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 16px; }
.woocommerce-result-count { margin: 0; font-size: 0.92rem; }
.woocommerce-ordering { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: 0.9rem; }
.woocommerce-ordering select { height: 44px; padding: 0 40px 0 14px; border: 1px solid var(--line-2); border-radius: 12px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231d2a5c' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center; appearance: none; font-weight: 700; color: var(--navy); }
.filter-toggle { display: none; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-weight: 800; color: var(--navy); cursor: pointer; }

.woocommerce-pagination { margin-top: 28px; }
.woocommerce-pagination ul { list-style: none; display: flex; justify-content: center; gap: 8px; margin: 0; padding: 0; }
.woocommerce-pagination li > .page-numbers { min-width: 40px; height: 40px; padding: 0 12px; display: grid; place-items: center; border-radius: 12px; background: #fff; box-shadow: var(--shadow); font-weight: 800; color: var(--navy); text-decoration: none; }
.woocommerce-pagination li > .current { background: var(--coral); color: #fff; }

.newsletter-band { position: relative; display: flex; align-items: center; gap: 24px; margin-top: 28px; padding: 24px 40px 24px 96px; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.newsletter-band h2 { font-size: 1.5rem; margin-bottom: 4px; }
.newsletter-band p { margin: 0; font-size: 0.9rem; }
.newsletter-form--wide { flex: 0 0 420px; margin-left: auto; display: flex; align-items: center; overflow: hidden; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; }
.newsletter-form--wide .icon { margin-left: 14px; color: var(--muted); }
.newsletter-form--wide input { flex: 1; min-width: 0; height: 48px; padding: 0 12px; border: 0; outline: none; }
.newsletter-form--wide button { align-self: stretch; display: flex; align-items: center; gap: 6px; padding: 0 18px; border: 0; background: var(--coral); color: #fff; font-weight: 800; cursor: pointer; }

/* ---------- Proizvod ---------- */
.product-top { display: grid; grid-template-columns: 1.05fr 1fr; gap: 36px; }
.woocommerce-product-gallery { display: flex; gap: 12px; }
.flex-control-thumbs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.flex-control-thumbs:empty { display: none; }
.flex-control-thumbs li { width: 88px; }
.flex-control-thumbs img { aspect-ratio: 1; object-fit: cover; border-radius: 12px; background: var(--card-img); cursor: pointer; outline: 2px solid transparent; outline-offset: -2px; }
.flex-control-thumbs img.flex-active { outline-color: var(--coral); }
.woocommerce-product-gallery__wrapper { position: relative; flex: 1; overflow: hidden; border-radius: 18px; background: var(--card-img); aspect-ratio: 9 / 10; }
.woocommerce-product-gallery__image, .woocommerce-product-gallery__image img { width: 100%; height: 100%; }
.woocommerce-product-gallery__image img { object-fit: cover; }
.wishlist-toggle--lg { width: 44px; height: 44px; }

.product-badge { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 10px; padding: 4px 10px; border-radius: 8px; background: var(--sun-soft); font-size: 0.78rem; font-weight: 800; color: var(--navy); }
.product_title { font-size: clamp(1.9rem, 3.4vw, 2.4rem); margin-bottom: 8px; }
.woocommerce-product-rating { display: flex; align-items: center; gap: 8px; }
.woocommerce-product-rating .star-rating { font-size: 1.15rem; }
.woocommerce-product-rating .star-rating > span::before { font-size: 1.15rem; }
.woocommerce-review-link { color: var(--ink); text-decoration: none; }
.price-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 18px 0; }
.price-row .price { margin: 0; font-size: 2.3rem; color: var(--coral-dk); }
.price-row del { font-size: 1.1rem; color: var(--muted); }
.sale-chip { padding: 4px 10px; border-radius: 8px; background: var(--coral-soft); font-size: 0.9rem; font-weight: 900; color: var(--coral-dk); }
.stock-meta { margin-left: auto; text-align: right; font-size: 0.75rem; color: var(--muted); }
.stock.in-stock { margin: 0; display: flex; align-items: center; justify-content: flex-end; gap: 6px; font-size: 0.9rem; font-weight: 800; color: var(--green); }
.stock.in-stock::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--green); }
.woocommerce-product-details__short-description { font-size: 1.05rem; }
form.cart { display: flex; gap: 12px; }
.quantity { display: inline-flex; align-items: center; height: 46px; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; }
form.cart .quantity { height: 58px; }
.quantity .qty { width: 42px; border: 0; background: none; text-align: center; font-weight: 800; color: var(--navy); -moz-appearance: textfield; outline: none; }
.quantity .qty::-webkit-inner-spin-button, .quantity .qty::-webkit-outer-spin-button { -webkit-appearance: none; }
.qty-btn { width: 40px; height: 100%; border: 0; background: none; font-size: 1.25rem; font-weight: 800; color: var(--navy); cursor: pointer; }
.qty-btn:hover { color: var(--coral-dk); }
.single_add_to_cart_button { flex: 1; min-height: 58px !important; font-size: 1.12rem !important; }

.woocommerce-tabs { margin-top: 24px; }
.wc-tabs { list-style: none; margin: 0; padding: 0; display: flex; gap: 32px; overflow-x: auto; border-bottom: 1px solid var(--line); }
.wc-tabs a { position: relative; display: block; padding-bottom: 12px; white-space: nowrap; font-size: 1.05rem; color: var(--ink); text-decoration: none; }
.wc-tabs li.active a { font-weight: 800; color: var(--navy); }
.wc-tabs li.active a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; border-radius: 3px; background: var(--coral); }
.tabs-body { display: grid; grid-template-columns: 1fr 340px; gap: 24px; margin-top: 22px; }
.wc-tab { line-height: 1.7; }
.wc-tab ul { padding-left: 1.2em; }
.wc-tab li { margin-bottom: 6px; }
.tabs-aside { position: relative; align-self: start; display: flex; gap: 16px; padding: 22px; border-radius: 18px; background: var(--coral-soft); }
.tabs-aside .illu { flex-shrink: 0; }
.tabs-aside__title { font: 700 1.25rem/1.1 var(--display); color: var(--navy); margin-bottom: 4px; }
.tabs-aside p:last-child { margin: 0; font-size: 0.9rem; }
.shop_attributes { width: 100%; border-collapse: collapse; overflow: hidden; border-radius: 12px; border: 1px solid var(--line); }
.shop_attributes th, .shop_attributes td { padding: 10px 16px; text-align: left; font-size: 0.92rem; vertical-align: top; }
.shop_attributes tr:nth-child(odd) { background: var(--soft); }
.shop_attributes th { width: 170px; color: var(--navy); }
.shop_attributes p { margin: 0; }
.commentlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.commentlist .review { padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; }
.commentlist .meta { display: flex; justify-content: space-between; margin: 0 0 4px; font-size: 0.85rem; color: var(--muted); }
.commentlist .meta strong { color: var(--navy); font-size: 0.95rem; }
.commentlist .description p { margin: 6px 0 0; font-size: 0.92rem; }

/* ---------- Obaveštenja i toast ---------- */
.woocommerce-message, .woocommerce-error, .woocommerce-info { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 18px; padding: 14px 18px; list-style: none; border-radius: var(--r); background: var(--green-soft); color: var(--navy); font-weight: 700; }
.woocommerce-error { background: var(--coral-soft); color: var(--coral-dk); }
.woocommerce-message .button { min-height: 38px; background: #fff; }
.cart-toast { position: fixed; right: 24px; bottom: 24px; z-index: 70; display: flex; align-items: center; gap: 12px; max-width: 420px; padding: 12px 16px; border-radius: 16px; background: var(--navy); color: #fff; font-size: 0.92rem; box-shadow: 0 16px 30px -12px rgb(0 0 0 / 0.4); }
.cart-toast[hidden] { display: none; }
.cart-toast a { color: var(--sun); font-weight: 800; white-space: nowrap; }

/* ---------- Korpa ---------- */
.cart-hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin: 4px 0 20px; }
.cart-hero h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); margin-bottom: 6px; }
.cart-hero p { margin: 0; font-size: 1.2rem; }
.cart-hero__media { position: relative; width: 420px; flex-shrink: 0; }
.cart-hero__media img { mix-blend-mode: multiply; }
.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; }
table.shop_table { width: 100%; border-collapse: collapse; }
table.cart th { padding: 0 8px 14px; text-align: left; font-weight: 800; color: var(--navy); border-bottom: 1px solid var(--line); }
table.cart th.product-quantity, table.cart th.product-price { text-align: center; }
table.cart th.product-subtotal { text-align: right; }
table.cart td { padding: 18px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.cart .product-thumbnail { width: 120px; padding-left: 0; }
table.cart .product-thumbnail img { width: 110px; height: 110px; object-fit: cover; border-radius: 14px; background: var(--card-img); }
table.cart .product-name > a { font-weight: 800; color: var(--navy); text-decoration: none; }
table.cart .product-name > a:hover { color: var(--coral-dk); }
dl.variation { display: flex; gap: 4px; margin: 2px 0 0; font-size: 0.85rem; color: var(--muted); }
dl.variation dd { margin: 0; }
.cart-stock { display: flex; align-items: center; gap: 6px; margin: 2px 0 6px; font-size: 0.85rem; font-weight: 700; color: var(--green); }
.cart-stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
a.remove { display: inline-flex; align-items: center; gap: 6px; font-size: 0.88rem; color: var(--ink); text-decoration: none; }
a.remove:hover { color: var(--coral-dk); }
table.cart .product-quantity { text-align: center; }
table.cart .product-price { text-align: center; font-weight: 700; color: var(--navy); white-space: nowrap; }
table.cart .product-subtotal { text-align: right; font-weight: 900; color: var(--navy); white-space: nowrap; }
.promo-box { display: flex; gap: 16px; margin-top: 18px; padding: 18px; border-radius: 18px; background: var(--coral-soft); }
.promo-box__icon { flex-shrink: 0; }
.promo-box > div { flex: 1; }
.promo-box label { display: block; font: 700 1.2rem/1.1 var(--display); color: var(--navy); }
.promo-box p { margin: 2px 0 0; font-size: 0.88rem; }
.promo-box__row { display: flex; gap: 10px; margin-top: 10px; }
.promo-box__row .input-text { flex: 1; min-width: 0; }
.promo-box__row .button { box-shadow: none; }
.cart-actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 18px; }
.input-text, .woocommerce-input-wrapper input, .woocommerce-input-wrapper textarea { width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid var(--line-2); border-radius: 12px; background: #fbfbfd; color: var(--navy); outline: none; transition: border-color 0.15s, box-shadow 0.15s; }
.input-text:focus, .woocommerce-input-wrapper input:focus, .woocommerce-input-wrapper textarea:focus { border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px rgb(40 149 149 / 0.1); }
.cart-collaterals { display: grid; gap: 14px; position: sticky; top: 140px; }
.cart_totals h2 { font-size: 1.6rem; }
.cart_totals th, .cart_totals td { padding: 8px 0; font-size: 0.92rem; text-align: left; }
.cart_totals td { text-align: right; font-weight: 800; color: var(--navy); }
.cart_totals td.is-free { color: var(--green); }
.cart_totals .order-total th, .cart_totals .order-total td { padding-top: 18px; border-top: 1px solid var(--line); }
.cart_totals .order-total th { font: 700 1.35rem var(--display); color: var(--navy); vertical-align: bottom; }
.order-total strong { font-size: 1.9rem; font-weight: 900; color: var(--navy); }
.includes_tax { display: block; font-size: 0.75rem; font-weight: 400; color: var(--muted); }
.free-left { margin: 8px 0 0; padding: 8px 12px; border-radius: 10px; background: var(--sun-soft); font-size: 0.8rem; font-weight: 700; color: var(--navy); }
.wc-proceed-to-checkout { margin-top: 20px; }
.wc-proceed-to-checkout .button { width: 100%; }
.perk-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.perk-list li { display: flex; align-items: center; gap: 16px; padding: 14px 20px; border-radius: 18px; font-size: 0.88rem; }
.perk-list b { display: block; font-size: 0.95rem; color: var(--navy); }
.tone-green-soft { background: var(--green-soft); } .tone-green-soft .icon { color: var(--green); }
.tone-sky-soft { background: var(--sky-soft); } .tone-sky-soft .icon { color: #4c7bd9; }
.tone-lilac-soft { background: var(--lilac-soft); } .tone-lilac-soft .icon { color: #6b63d6; }
.tone-sun-soft { background: var(--sun-soft); } .tone-sun-soft .icon { color: var(--sun-dk); }
.cart-banners { display: grid; grid-template-columns: 1fr 340px; gap: 20px; }
.promo__photo { width: 50% !important; object-fit: cover !important; mix-blend-mode: normal !important; -webkit-mask-image: linear-gradient(90deg, transparent, #000 25%); mask-image: linear-gradient(90deg, transparent, #000 25%); }
.gift-promo .promo__text p { max-width: 12rem; }
.gift-promo > img { width: 120px; height: auto; right: 14px; bottom: 14px; }

/* ---------- Plaćanje ---------- */
.checkout-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.checkout-head h1 { margin-bottom: 4px; }
.checkout-head p { margin: 0; font-size: 1.1rem; }
.checkout-steps { list-style: none; margin: 0; padding: 0; display: flex; width: 100%; max-width: 440px; }
.checkout-steps li { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 0.9rem; font-weight: 800; color: var(--navy); }
.checkout-steps li + li::before { content: ""; position: absolute; top: 20px; right: 50%; width: 100%; height: 2px; background: var(--line-2); }
.checkout-steps li.active + li::before, .checkout-steps li + li.active::before, .checkout-steps li.done + li::before { background: var(--coral); }
.checkout-steps span { position: relative; z-index: 1; width: 40px; height: 40px; display: grid; place-items: center; border: 2px solid #c9cedb; border-radius: 50%; background: #fff; font: 700 1.1rem var(--display); }
.checkout-steps .active span { border-color: var(--coral); background: var(--coral); color: #fff; box-shadow: 0 0 0 5px rgb(252 122 120 / 0.2); }
.checkout-steps .done span { border-color: var(--coral); background: var(--coral); color: #fff; }
.checkout-steps--center { margin: 0 auto 28px; }
.checkout-layout { display: grid; grid-template-columns: 1fr 400px; gap: 24px; align-items: start; }
.checkout-main { display: grid; gap: 20px; }
.checkout-main h3, .order-review-col h3 { font-size: 1.5rem; margin-bottom: 16px; }
.woocommerce-billing-fields__field-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-row { margin: 0 0 14px; }
.form-row-wide { grid-column: 1 / -1; }
.form-row label { display: block; margin-bottom: 6px; font-size: 0.9rem; font-weight: 700; color: var(--ink); }
.form-row .required { color: var(--coral-dk); text-decoration: none; border: 0; }
.woocommerce-invalid .woocommerce-input-wrapper input { border-color: var(--coral); background: #fff6f5; }
.option-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.option-list > li > input { position: absolute; opacity: 0; }
.option-list > li > label { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid transparent; border-radius: 14px; cursor: pointer; color: var(--navy); }
.option-list > li > label:hover { background: var(--soft); }
.option-list > li > input:checked + label { border-color: #cfe0f5; background: var(--sky-soft); }
.option-list > li > input:focus-visible + label { outline: 3px solid rgb(40 149 149 / 0.4); }
.option-list .radio { width: 20px; height: 20px; flex-shrink: 0; border: 2px solid #b9bfcd; border-radius: 50%; }
.option-list input:checked + label .radio { border-color: #2f6fe0; box-shadow: inset 0 0 0 4px #fff; background: #2f6fe0; }
.opt-text { flex: 1; font-size: 0.88rem; color: var(--ink); line-height: 1.3; }
.opt-text b { display: block; font-size: 1rem; color: var(--navy); }
.opt-price { text-align: right; font-size: 0.75rem; color: var(--muted); }
.opt-price b { display: block; font-size: 1rem; color: var(--navy); }
.opt-price b.c-green { color: var(--green); }
.gateway-icons { display: flex; gap: 6px; }
.gateway-icons img { height: 20px; width: auto; }
.payment_box { margin: 4px 0 0; padding: 12px 16px; border-radius: 12px; background: var(--sky-soft); font-size: 0.88rem; }
.payment_box p { display: flex; gap: 8px; margin: 0; }
.payment_box[hidden] { display: none; }
.order-review-col { display: grid; gap: 16px; position: sticky; top: 140px; }
.review-head { display: flex; justify-content: space-between; align-items: baseline; }
.review-head h3 { margin-bottom: 8px; }
.woocommerce-checkout-review-order-table td, .woocommerce-checkout-review-order-table th { padding: 10px 0; text-align: left; font-size: 0.92rem; }
.woocommerce-checkout-review-order-table tbody tr { border-bottom: 1px solid var(--line); }
.woocommerce-checkout-review-order-table .product-name { overflow: hidden; }
.woocommerce-checkout-review-order-table .product-name img { float: left; width: 72px; height: 72px; margin-right: 14px; object-fit: cover; border-radius: 12px; background: var(--card-img); }
.woocommerce-checkout-review-order-table .product-name > span { display: block; overflow: hidden; }
.woocommerce-checkout-review-order-table .product-name b { display: block; color: var(--navy); line-height: 1.25; }
.woocommerce-checkout-review-order-table .product-name small { display: block; font-size: 0.8rem; color: var(--muted); }
.woocommerce-checkout-review-order-table .product-quantity { font-weight: 500; margin-left: 6px; }
.woocommerce-checkout-review-order-table td.product-total, .woocommerce-checkout-review-order-table tfoot td { text-align: right; font-weight: 800; color: var(--navy); vertical-align: bottom; white-space: nowrap; }
.woocommerce-checkout-review-order-table tfoot td.c-green { color: var(--green); }
.woocommerce-checkout-review-order-table .order-total th { font: 700 1.5rem var(--display); color: var(--navy); vertical-align: bottom; padding-top: 14px; }
.terms-row label { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: 0.88rem; }
.terms-row input { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; accent-color: var(--coral); }
.terms-row a { font-weight: 800; color: var(--teal); }
.terms-row.woocommerce-invalid label { color: var(--coral-dk); }
#place_order { width: 100%; }
.secure-note { display: flex; gap: 14px; align-items: center; margin-top: 16px; padding: 14px 16px; border-radius: 16px; background: var(--green-soft); }
.secure-note > span { flex-shrink: 0; display: grid; }
.secure-note p { margin: 0; font-size: 0.85rem; line-height: 1.3; }
.secure-note b { display: block; color: var(--navy); }
.promo-box--card { margin: 0; }
.help-box { position: relative; display: flex; gap: 16px; align-items: center; padding: 18px; border-radius: 18px; background: var(--coral-soft); font-size: 0.9rem; }
.help-box img { width: 84px; mix-blend-mode: multiply; }
.help-box p { margin: 0; }
.help-box p + p { margin-top: 2px; }
.help-box__title { font: 700 1.3rem/1.1 var(--display) !important; color: var(--navy); }
.help-box p:nth-child(n + 3) { display: flex; align-items: center; gap: 8px; font-weight: 800; color: var(--navy); margin-top: 6px; }
.help-box a { text-decoration: none; }

/* ---------- Porudžbina primljena / nalog ---------- */
.woocommerce-order { max-width: 760px; margin: 0 auto; }
.order-ok { width: 76px; height: 76px; margin: 0 auto 14px; display: grid; place-items: center; border-radius: 50%; background: var(--green-soft); color: var(--green); }
.woocommerce-order .page-title { text-align: center; font-size: 2.2rem; }
.woocommerce-thankyou-order-received { text-align: center; }
.woocommerce-order-overview, .wc-bacs-bank-details { list-style: none; margin: 20px 0; padding: 0; display: flex; flex-wrap: wrap; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.woocommerce-order-overview li, .wc-bacs-bank-details li { flex: 1 1 140px; padding: 12px 16px; font-size: 0.8rem; color: var(--muted); border-right: 1px solid var(--line); }
.woocommerce-order-overview li:last-child, .wc-bacs-bank-details li:last-child { border-right: 0; }
.woocommerce-order-overview strong, .wc-bacs-bank-details strong { display: block; font-size: 0.98rem; color: var(--navy); }
.woocommerce-bacs-bank-details { padding: 18px 20px; border-radius: 16px; background: var(--sun-soft); margin-bottom: 24px; }
.woocommerce-bacs-bank-details h2 { font-size: 1.3rem; }
.woocommerce-bacs-bank-details .wc-bacs-bank-details { background: #fff; }
.woocommerce-bacs-bank-details p { margin: 0; }
.woocommerce-order section { margin-bottom: 22px; }
.woocommerce-order h2 { font-size: 1.35rem; }
.woocommerce-table--order-details th, .woocommerce-table--order-details td { padding: 10px 0; text-align: left; border-bottom: 1px solid var(--line); }
.woocommerce-table--order-details td:last-child { text-align: right; font-weight: 800; color: var(--navy); }
.woocommerce-customer-details address { font-style: normal; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; }
.woocommerce-customer-details address p { margin: 4px 0 0; }
.account-intro { max-width: 40rem; }
#customer_login { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 920px; }
#customer_login > div { padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.woocommerce-form-login__rememberme { display: inline-flex !important; align-items: center; gap: 8px; margin-right: 16px; font-weight: 600 !important; }
.woocommerce-privacy-policy-text { font-size: 0.82rem; color: var(--muted); }

/* ---------- Blog ---------- */
.blog-header { margin-bottom: 22px; }
.blog-header p { max-width: 36rem; font-size: 1.1rem; margin: 0; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post-tile a { display: flex; flex-direction: column; height: 100%; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); text-decoration: none; }
.post-tile--big { grid-column: span 2; }
.post-tile__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--card-img); }
.post-tile--big .post-tile__img { aspect-ratio: 16 / 8; }
.post-tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.post-tile a:hover img { transform: scale(1.05); }
.post-tile__body { flex: 1; display: flex; flex-direction: column; padding: 20px; }
.post-tile h2 { margin: 6px 0 8px; font-size: 1.3rem; }
.post-tile a:hover h2 { color: var(--coral-dk); }
.post-tile__excerpt { font-size: 0.92rem; }
.post-tile__meta { margin-top: auto; padding-top: 14px; font-size: 0.78rem; color: var(--muted); }
.post-single { max-width: 800px; margin: 0 auto; padding: 0; overflow: hidden; }
.post-single__img img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.post-single__body { padding: 32px 40px 40px; }
.post-single h1 { margin: 6px 0 8px; font-size: clamp(1.9rem, 4vw, 2.6rem); }
.post-single__meta { font-size: 0.88rem; color: var(--muted); }
.entry-content { font-size: 1.05rem; line-height: 1.7; }
.entry-content h2 { margin: 1.4em 0 0.4em; font-size: 1.5rem; }
.entry-content ul { padding-left: 1.2em; }
.entry-content li { margin-bottom: 0.4em; }
.entry-content li::marker { color: var(--coral); }
.entry-content .tip { display: flex; gap: 12px; padding: 18px 20px; border-radius: 16px; background: var(--sun-soft); color: var(--navy); }
.entry-content .tip .icon { color: var(--sun-dk); }

/* ---------- Info stranice ---------- */
.info-layout { display: grid; grid-template-columns: 240px 1fr; gap: 24px; align-items: start; }
.info-nav { position: sticky; top: 140px; padding: 10px; }
.info-nav ul { list-style: none; margin: 0; padding: 0; }
.info-nav a { display: block; padding: 8px 12px; border-radius: 12px; font-size: 0.92rem; font-weight: 700; color: var(--navy); text-decoration: none; }
.info-nav a:hover { background: var(--soft); }
.info-nav a[aria-current] { background: var(--coral-soft); color: var(--coral-dk); }
.page-content { padding: 36px 44px; }
.page-content > *:not(h1) { max-width: 46rem; }
.page-content section + section { margin-top: 26px; }
.page-content h2 { font-size: 1.3rem; margin-bottom: 0.4em; }
.info-table { width: 100%; border-collapse: collapse; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; font-size: 0.94rem; }
.info-table th, .info-table td { padding: 10px 16px; text-align: left; vertical-align: top; }
.info-table tr:nth-child(odd) { background: var(--soft); }
.info-table th { width: 38%; color: var(--navy); }
.note { padding: 12px 16px; border-radius: 12px; background: var(--sun-soft); font-weight: 700; color: var(--navy); }
.form-sample { padding: 20px; border: 2px dashed var(--line-2); border-radius: 14px; font-family: ui-monospace, monospace; font-size: 0.88rem; color: var(--navy); }
.form-sample p { margin: 0 0 10px; }

/* ---------- Footer (beo, kao u dizajnu) ---------- */
.site-footer { margin-top: 56px; border-top: 1px solid var(--line); background: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr 1.6fr; gap: 32px; padding-top: 44px; padding-bottom: 36px; }
.footer-about .site-logo img { width: 150px; }
.footer-about p { margin: 12px 0 0; max-width: 16rem; font-size: 0.9rem; }
.footer-social { display: flex; gap: 14px; font-weight: 800; }
.footer-social a { color: var(--navy); text-decoration: none; }
.footer-social a:hover { color: var(--coral-dk); }
.site-footer h2 { margin-bottom: 12px; font: 800 0.92rem var(--body); color: var(--navy); letter-spacing: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; font-size: 0.9rem; }
.site-footer li { margin-bottom: 7px; }
.site-footer li a { text-decoration: none; }
.site-footer li a:hover { color: var(--coral-dk); }
.footer-contact li { display: flex; gap: 10px; }
.footer-contact .icon { margin-top: 3px; color: var(--navy); }
.footer-news { position: relative; padding: 20px; border-radius: 18px; background: rgb(255 236 235 / 0.7); }
.footer-news p { font-size: 0.88rem; }
.newsletter-form { display: flex; overflow: hidden; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; }
.newsletter-form input { flex: 1; min-width: 0; height: 46px; padding: 0 14px; border: 0; outline: none; font-size: 0.9rem; }
.newsletter-form button { width: 52px; border: 0; background: var(--coral); color: #fff; cursor: pointer; }
.payment-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 36px; padding-top: 20px; padding-bottom: 20px; border-top: 1px solid var(--line); }
.payment-logos > * { display: inline-flex; align-items: center; gap: 10px; }
.payment-logos .cards img { height: 24px; width: auto; }
.payment-logos .bank, .payment-logos .secure img { height: 34px; width: auto; }
.footer-bottom { border-top: 1px solid var(--line); }
.footer-legal { display: flex; justify-content: space-between; gap: 20px; padding-top: 16px; padding-bottom: 18px; font-size: 0.78rem; color: var(--muted); }
.footer-legal p { margin: 0; }
.footer-legal a { margin-left: 16px; color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .header-trust { display: none; }
  ul.products.columns-6 { grid-template-columns: repeat(4, 1fr); }
  ul.products.product-categories { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-about, .footer-news { grid-column: span 3; }
  .trust-bar.cols-5 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1023px) {
  .nav-row { display: none; }
  .menu-toggle { display: block; }
  .header-row { gap: 16px; flex-wrap: wrap; }
  .woocommerce-product-search { order: 5; flex-basis: 100%; max-width: none; }
  .home-hero, .cat-hero { grid-template-columns: 1fr; }
  .home-hero__text { padding: 36px 28px 20px; }
  .home-hero__media { min-height: 320px; }
  .home-hero__media > img, .cat-hero__media > img { -webkit-mask-image: none; mask-image: none; }
  .home-hero .confetti { display: none; }
  .cat-hero__text { padding: 30px 28px; }
  .trust-bar.cols-4, .trust-bar.cols-5 { grid-template-columns: 1fr 1fr; }
  .promo-row, .cart-banners { grid-template-columns: 1fr; }
  .post-cards { grid-template-columns: 1fr; }
  .shop-layout { grid-template-columns: 1fr; }
  .filter-toggle { display: inline-flex; }
  .shop-sidebar { position: fixed; inset: 0 0 0 auto; z-index: 60; width: min(360px, 88vw); overflow-y: auto; border-radius: 0; transform: translateX(100%); transition: transform 0.25s; }
  .shop-sidebar.open { transform: none; }
  .filter-close { display: block; }
  ul.products.columns-4, ul.products.columns-3 { grid-template-columns: repeat(3, 1fr); }
  .product-top, .tabs-body, .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .cart-collaterals, .order-review-col, .info-nav { position: static; }
  .cart-hero__media { display: none; }
  .newsletter-band { flex-direction: column; align-items: stretch; padding: 24px; }
  .newsletter-form--wide { flex: auto; margin: 0; }
  .newsletter-band .confetti { display: none; }
  .info-layout { grid-template-columns: 1fr; }
  .post-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .site-logo img { width: 128px; }
  .hide-sm { display: none !important; }
  .home-hero h1 { font-size: 2.5rem; }
  .home-hero__media { min-height: 260px; }
  .sticker--cream { top: auto; bottom: 20px; font-size: 1rem; padding: 12px 16px; }
  .sticker--coral { font-size: 1rem; padding: 12px 16px; }
  .trust-bar { padding: 16px; }
  .trust-icon { width: 40px; height: 40px; }
  ul.products.columns-6, ul.products.columns-4, ul.products.columns-3 { grid-template-columns: 1fr 1fr; gap: 10px; }
  ul.products.product-categories { grid-template-columns: repeat(2, 1fr); }
  .panel { padding: 16px; }
  .promo__text { padding: 22px; }
  .promo > img { opacity: 0.35; }
  .product-facts { grid-template-columns: 1fr 1fr; }
  .woocommerce-product-gallery { flex-direction: column-reverse; }
  .flex-control-thumbs { flex-direction: row; overflow-x: auto; }
  .flex-control-thumbs li { width: 72px; flex-shrink: 0; }
  .stock-meta { margin-left: 0; text-align: left; }
  .stock.in-stock { justify-content: flex-start; }
  table.cart thead { display: none; }
  table.cart tr.cart_item { display: grid; grid-template-columns: 90px 1fr; gap: 4px 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  table.cart tr.cart_item td { display: block; padding: 0; border: 0; text-align: left; }
  table.cart .product-thumbnail { grid-row: span 3; width: auto; }
  table.cart .product-thumbnail img { width: 90px; height: 90px; }
  table.cart .product-price { display: none !important; }
  .woocommerce-billing-fields__field-wrapper { grid-template-columns: 1fr; }
  .gateway-icons { display: none; }
  #customer_login, .post-grid { grid-template-columns: 1fr; }
  .post-tile--big { grid-column: auto; }
  .post-single__body, .page-content { padding: 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about, .footer-news { grid-column: span 2; }
  .footer-legal { flex-direction: column; }
  .footer-legal a { margin: 0 14px 0 0; }
  .cart-toast { left: 16px; right: 16px; bottom: 16px; }
}

.cart-hero { align-items: center; }
.cart-hero__media { width: 360px; }
.woocommerce-checkout-review-order-table td.product-total { width: 1%; padding-left: 10px; }
.woocommerce-checkout-review-order-table tfoot td { white-space: normal; }
.woocommerce-checkout-review-order-table .amount { white-space: nowrap; }
.woocommerce-checkout-review-order-table .order-total strong { font-size: 1.6rem; }

/* ---------- Ilustrovane ikonice i podaci o proizvodu ---------- */
.illu { display: block; flex-shrink: 0; }
.product-facts { display: grid; grid-template-columns: repeat(4, 1fr); margin: 20px 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.product-facts > div { padding: 12px 14px; border-left: 1px solid var(--line); }
.product-facts > div:first-child { border-left: 0; }
.product-facts dt { font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.product-facts dd { margin: 2px 0 0; font-weight: 800; color: var(--navy); line-height: 1.25; }
.delivery-box { display: flex; gap: 16px; align-items: flex-start; margin-top: 20px; padding: 16px 18px; border-radius: 16px; background: var(--soft); }
.delivery-box p { margin: 0; font-size: 0.9rem; }
.delivery-box__title { font-weight: 800; color: var(--navy); font-size: 1rem !important; margin-bottom: 2px !important; }
.delivery-box__links { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 6px !important; }
.delivery-box__links a { font-weight: 800; color: var(--teal); }
.perk-list li .illu { width: 34px; height: 34px; }
.option-list .illu { width: 34px; height: 34px; }
.product-badge { background: var(--sun); color: var(--navy); }
@media (max-width: 640px) {
  .product-facts > div:nth-child(3) { border-left: 0; }
  .product-facts > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

/* ---------- Mega meni (kategorije sa bajkolino.rs) ---------- */
.nav-row { gap: 24px; }
.cat-menu__toggle[aria-expanded="true"] { background: var(--navy); color: #fff; }
.mega { position: absolute; left: 0; right: 0; top: 100%; z-index: 45; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgb(29 42 92 / 0.35); }
.mega[hidden] { display: none; }
.mega__inner { display: grid; grid-template-columns: 280px 1fr; gap: 28px; padding-top: 18px; padding-bottom: 22px; max-height: calc(100vh - 160px); }
.mega__list { list-style: none; margin: 0; padding: 0 12px 0 0; overflow-y: auto; border-right: 1px solid var(--line); }
.mega__list a { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; font-weight: 700; font-size: 0.92rem; color: var(--navy); text-decoration: none; }
.mega__list a .count { margin-left: auto; font-size: 0.75rem; font-weight: 600; color: var(--muted); }
.mega__list a .icon { color: var(--muted); }
.mega__list a.is-active, .mega__list a:hover { background: var(--soft); color: var(--coral-dk); }
.mega__panes { overflow-y: auto; }
.mega__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.mega__head h3 { margin: 0; font-size: 1.5rem; }
.mega__subs, .mega__products { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.mega__subs a, .mega__products a { display: flex; align-items: center; gap: 12px; padding: 8px; border: 1px solid var(--line); border-radius: 14px; font-weight: 800; font-size: 0.9rem; line-height: 1.2; color: var(--navy); text-decoration: none; }
.mega__subs a:hover, .mega__products a:hover { border-color: var(--teal); }
.mega__subs small, .mega__products small { display: block; margin-top: 2px; font-size: 0.75rem; font-weight: 600; color: var(--muted); }
.mega__thumb { width: 54px; height: 54px; flex-shrink: 0; overflow: hidden; border-radius: 10px; background: var(--card-img); }
.mega__thumb img { width: 100%; height: 100%; object-fit: cover; }
.site-header { position: sticky; }
.mobile-menu__cats details summary { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; font-weight: 800; color: var(--navy); cursor: pointer; list-style: none; }
.mobile-menu__cats details summary::-webkit-details-marker { display: none; }
.mobile-menu__cats details[open] summary .icon { transform: rotate(180deg); }
.mobile-menu__cats details ul { list-style: none; margin: 0 0 8px; padding: 0 0 0 12px; border-left: 2px solid var(--line); }
.mobile-menu__cats details ul a, .mobile-menu__cats > li > a { display: block; padding: 7px 0; color: var(--navy); text-decoration: none; font-weight: 600; }
.mobile-menu__cats > li > a { font-weight: 800; padding: 10px 0; }
.mobile-menu__cats > li { border-bottom: 1px solid var(--line); }

/* ---------- Kategorija: navigacija kroz kolekciju ---------- */
.cat-hero { grid-template-columns: 1fr; }
.cat-hero__text { padding: 30px 40px; }
.subcat-nav { margin: 16px 0 0; }
.subcat-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.subcat-nav a { display: inline-block; padding: 8px 16px; border: 1px solid var(--line-2); border-radius: 99px; background: #fff; font-size: 0.9rem; font-weight: 700; color: var(--navy); text-decoration: none; white-space: nowrap; }
.subcat-nav a:hover { border-color: var(--teal); color: var(--teal); }
.subcat-nav a[aria-current] { background: var(--navy); border-color: var(--navy); color: #fff; }
.shop-layout { margin-top: 20px; }
.shop-main { min-width: 0; }
details.widget > summary { list-style: none; cursor: pointer; }
details.widget > summary::-webkit-details-marker { display: none; }
details.widget[open] > summary .icon { transform: rotate(180deg); }
.widgettitle .icon { transform: none; }
.widget_product_categories ul { list-style: none; margin: 0; padding: 0; }
.widget_product_categories li { padding: 3px 0; font-size: 0.9rem; }
.widget_product_categories a { color: var(--ink); text-decoration: none; }
.widget_product_categories a:hover { color: var(--coral-dk); }
.widget_product_categories .current-cat > a, .widget_product_categories .current-cat-parent > a { font-weight: 800; color: var(--navy); }
.widget_product_categories .children { margin: 4px 0 4px 10px; padding-left: 10px; border-left: 2px solid var(--line); }
.product-categories > .cat-item:not(.current-cat-parent):not(.current-cat):nth-child(n + 9) { display: none; }
.trust-bar { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)) !important; }
.trust-tile .illu { flex-shrink: 0; }
.product-chip { width: fit-content; margin-top: 6px; padding: 2px 8px; border-radius: 6px; background: #f1f2f6; font-size: 0.75rem; font-weight: 700; }

/* Proizvodi sa belom pozadinom slike */
.product-image { background: #fff; border: 1px solid var(--line); }
.product-image img { object-fit: contain; }
.woocommerce-product-gallery__wrapper { background: #fff; border: 1px solid var(--line); aspect-ratio: 1; }
.woocommerce-product-gallery__image img { object-fit: contain; }
.flex-control-thumbs img { background: #fff; border: 1px solid var(--line); object-fit: contain; }
.product-brand { margin: 0 0 4px; font-size: 0.85rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--teal); }
.price-row .price { color: var(--navy); }

/* Brendovi kao lista (bez izmišljenih logotipa) */
.brand-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.brand-list a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; font-weight: 800; color: var(--navy); text-decoration: none; box-shadow: var(--shadow); }
.brand-list a:hover { border-color: var(--teal); }
.brand-list span { font-size: 0.75rem; font-weight: 600; color: var(--muted); }

/* Kategorije na početnoj: broj proizvoda */
.woocommerce-loop-category__title .count { display: block; margin-top: 2px; background: none; font-size: 0.75rem; font-weight: 600; color: var(--muted); }
.cat-image img { object-fit: contain; background: #fff; }
.cat-image { background: #fff; border: 1px solid var(--line); }

@media (max-width: 1023px) {
  .mega { display: none !important; }
  .cat-hero__text { padding: 24px; }
  .subcat-nav ul { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
}

.widget_product_categories ul.product-categories { display: block; }
.widget_product_categories li { display: block; }

/* Stranica proizvoda: ništa ne sme da gura kolone (mnogo slika, dugi nazivi) */
.product-top > *, .woocommerce-product-gallery, .woocommerce-product-gallery__wrapper, .summary { min-width: 0; }
.product-top { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: start; }
.woocommerce-product-gallery { align-items: flex-start; }
.flex-control-thumbs { max-height: 560px; overflow-y: auto; scrollbar-width: thin; flex-shrink: 0; }
.flex-control-thumbs li { width: 80px; }
.product_title { overflow-wrap: anywhere; }
.woocommerce-product-details__short-description p { overflow-wrap: anywhere; }
@media (max-width: 1023px) { .product-top { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .flex-control-thumbs { max-height: none; overflow-x: auto; overflow-y: hidden; } }

/* Mega meni u grupama: niži panel */
.mega__inner { grid-template-columns: 240px 1fr; max-height: none; }
.mega__list { overflow: visible; }
.mega__panes { overflow: visible; }
.mega__cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px 24px; }
.mega__cat { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; font-weight: 800; font-size: 0.98rem; line-height: 1.2; color: var(--navy); text-decoration: none; }
.mega__cat:hover { color: var(--coral-dk); }
.mega__cat small { display: block; margin-top: 2px; font-size: 0.75rem; font-weight: 600; color: var(--muted); }
.mega__links { list-style: none; margin: 0; padding: 0 0 0 66px; }
.mega__links a { display: block; padding: 3px 0; font-size: 0.9rem; color: var(--ink); text-decoration: none; }
.mega__links a:hover { color: var(--coral-dk); text-decoration: underline; }

/* ---------- Hero slajder ---------- */
.hero-slider { position: relative; display: grid; overflow: hidden; border-radius: 28px; }
.hero-slide { grid-area: 1 / 1; display: grid; grid-template-columns: 1fr 1.15fr; align-items: center; opacity: 0; visibility: hidden; transition: opacity 0.7s ease, visibility 0s 0.7s; }
.hero-slide.is-active { opacity: 1; visibility: visible; transition: opacity 0.7s ease; z-index: 1; }
.hero-slide.tone-1 { background: linear-gradient(90deg, #eef3fb, #f6efe9 55%, #f3e7dc); }
.hero-slide.tone-2 { background: linear-gradient(90deg, #fdf0e6, #f9e8dc 55%, #f5e2d6); }
.hero-slide.tone-3 { background: linear-gradient(90deg, #e6f5f2, #eef6f0 55%, #f6efe6); }
.hero-slider .home-hero__text { padding: 56px 0 72px 48px; }
.hero-slider h1, .hero-title { font-size: clamp(2.6rem, 5vw, 3.9rem); line-height: 1.02; margin-bottom: 18px; }
.hero-slider .home-hero__text p { max-width: 25rem; font-size: 1.12rem; margin-bottom: 26px; }
.hero-slider .home-hero__media { position: relative; align-self: stretch; min-height: 420px; }
.hero-slider .home-hero__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%); mask-image: linear-gradient(90deg, transparent, #000 18%); }
.hero-slide.is-active .home-hero__media > img { animation: hero-zoom 7s ease-out both; }
@keyframes hero-zoom { from { transform: scale(1.06); } to { transform: none; } }
.hero-slider .confetti { z-index: 2; }
.hero-controls { position: absolute; left: 48px; bottom: 22px; z-index: 3; display: flex; align-items: center; gap: 12px; }
.hero-arrow { width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 50%; background: #fff; color: var(--navy); box-shadow: var(--shadow); cursor: pointer; }
.hero-arrow:hover { color: var(--coral-dk); }
.hero-dots { display: flex; gap: 8px; }
.hero-dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 99px; background: rgb(29 42 92 / 0.25); cursor: pointer; transition: width 0.3s, background-color 0.3s; }
.hero-dots button.is-active { width: 28px; background: var(--coral); }
@media (prefers-reduced-motion: reduce) { .hero-slide, .hero-slide.is-active { transition: none; } .hero-slide.is-active .home-hero__media > img { animation: none; } }
@media (max-width: 1023px) {
  .hero-slide { grid-template-columns: 1fr; }
  .hero-slider .home-hero__text { padding: 32px 24px 20px; }
  .hero-slider .home-hero__media { min-height: 280px; }
  .hero-slider .home-hero__media > img { -webkit-mask-image: none; mask-image: none; }
  .hero-slider .confetti { display: none; }
  .hero-controls { left: auto; right: 16px; bottom: 16px; }
}

/* ---------- Početna: kartice grupa kategorija ---------- */
.group-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.group-card { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); transition: box-shadow 0.2s, transform 0.2s; }
.group-card:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgb(29 42 92 / 0.28); }
.group-card__media { display: block; height: 170px; background: #fff; border-bottom: 1px solid var(--line); }
.group-card__media img { width: 100%; height: 100%; object-fit: contain; padding: 10px; transition: transform 0.4s; }
.group-card:hover .group-card__media img { transform: scale(1.04); }
.group-card__body { padding: 16px 18px 18px; }
.group-card h3 { margin: 0; font-size: 1.3rem; }
.group-card h3 a { text-decoration: none; }
.group-card h3 a:hover { color: var(--coral-dk); }
.group-card__count { margin: 0 0 10px; font-size: 0.82rem; color: var(--muted); }
.group-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.group-card ul a { display: inline-block; padding: 5px 11px; border-radius: 99px; background: var(--soft); font-size: 0.82rem; font-weight: 700; color: var(--navy); text-decoration: none; }
.group-card ul a:hover { background: var(--teal); color: #fff; }

/* ---------- Tabovi proizvoda (veće kartice) ---------- */
.product-tabs__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.product-tabs__list { display: flex; flex-wrap: wrap; gap: 6px; padding: 5px; border-radius: 14px; background: #f3f4f8; }
.product-tabs__list button { padding: 8px 16px; border: 0; border-radius: 10px; background: none; font-weight: 800; color: var(--ink); cursor: pointer; }
.product-tabs__list button:hover { color: var(--navy); }
.product-tabs__list button[aria-selected="true"] { background: #fff; color: var(--navy); box-shadow: 0 2px 8px rgb(29 42 92 / 0.1); }
.product-tabs .products--grid { gap: 20px; }
.product-tabs .product-image { aspect-ratio: 1; }
.product-tabs .woocommerce-loop-product__title { font-size: 1.05rem; }
.product-tabs .price { font-size: 1.2rem; }
.product-tabs__more { margin: 22px 0 0; text-align: center; }
.product-tabs__more .button { border: 1px solid var(--line-2); background: #fff; }
.product-tabs__more .button:hover { border-color: var(--teal); color: var(--teal); }

/* ---------- Za devojčice / za dečake ---------- */
.gender-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.gender-card { display: flex; align-items: center; gap: 20px; min-height: 200px; padding: 26px 28px; border-radius: var(--r-lg); text-decoration: none; overflow: hidden; }
.gender-card.tone-blush { background: linear-gradient(90deg, #fdeee6, #fbe1dc); }
.gender-card.tone-sky { background: linear-gradient(90deg, #e6f0fb, #dbe9f7); }
.gender-card__text { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.gender-card__text b { font: 700 1.9rem/1.05 var(--display); color: var(--navy); }
.gender-card__text > span:not(.gender-card__cta) { max-width: 17rem; font-size: 0.95rem; }
.gender-card__cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-weight: 800; color: var(--coral-dk); }
.gender-card__imgs { display: flex; gap: 10px; }
.gender-card__imgs img { width: 104px; height: 104px; object-fit: contain; padding: 6px; border-radius: 16px; background: #fff; box-shadow: var(--shadow); transition: transform 0.3s; }
.gender-card__imgs img:nth-child(2) { transform: translateY(-14px); }
.gender-card:hover .gender-card__imgs img { transform: translateY(-4px); }
.gender-card:hover .gender-card__imgs img:nth-child(2) { transform: translateY(-18px); }

/* ---------- Pokloni po budžetu ---------- */
.budget-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.budget-tile { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--r-lg); text-decoration: none; color: var(--navy); transition: transform 0.2s; }
.budget-tile:hover { transform: translateY(-2px); }
.budget-tile.tone-b0 { background: var(--teal-soft); }
.budget-tile.tone-b1 { background: var(--sun-soft); }
.budget-tile.tone-b2 { background: var(--coral-soft); }
.budget-tile.tone-b3 { background: var(--lilac-soft); }
.budget-tile__img { width: 64px; height: 64px; flex-shrink: 0; overflow: hidden; border-radius: 14px; background: #fff; }
.budget-tile__img img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.budget-tile b { display: block; font: 700 1.15rem/1.15 var(--display); }
.budget-tile small { font-size: 0.82rem; color: var(--ink); }
.budget-tile .icon { margin-left: auto; color: var(--coral-dk); }

@media (max-width: 1180px) {
  .group-cards { grid-template-columns: repeat(2, 1fr); }
  .budget-tiles { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1023px) {
  .gender-cards { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .group-cards { grid-template-columns: 1fr 1fr; gap: 10px; }
  .group-card__media { height: 110px; }
  .group-card__body { padding: 12px; }
  .group-card h3 { font-size: 1.05rem; }
  .group-card ul { display: none; }
  .product-tabs__list { width: 100%; overflow-x: auto; flex-wrap: nowrap; }
  .product-tabs__list button { white-space: nowrap; }
  .gender-card { flex-direction: column; align-items: flex-start; }
  .gender-card__imgs img { width: 84px; height: 84px; }
  .budget-tiles { grid-template-columns: 1fr; }
}
.gender-card__text { min-width: 220px; }
.gender-card__text b { white-space: nowrap; }
.gender-card__imgs img { width: 92px; height: 92px; }
@media (max-width: 1180px) and (min-width: 1024px) { .gender-card__imgs img:nth-child(3) { display: none; } }

/* Paginacija: WooCommerce stavlja "page-numbers" i na <ul> i na stavke */
.woocommerce-pagination ul.page-numbers { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; width: auto; height: auto; min-width: 0; padding: 0; background: none; box-shadow: none; }
.woocommerce-pagination li { list-style: none; }
.woocommerce-pagination li > .page-numbers { min-width: 42px; height: 42px; }
.woocommerce-pagination li > a.page-numbers:hover { color: var(--coral-dk); }
.woocommerce-pagination li > .dots { box-shadow: none; background: none; }
.shop-main + * , .shop-layout + .trust-bar { margin-top: 32px; }

/* ---------- Prijava ---------- */
.login-intro { margin-bottom: 18px; }
.login-perks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; }
.login-perks li { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--navy); }
.login-perks .illu { width: 30px; height: 30px; }
#customer_login .form-row label { display: block; margin-bottom: 6px; font-weight: 700; }
#customer_login .form-row { margin-bottom: 14px; }
.login-demo { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line-2); }

/* ---------- Moj nalog ---------- */
.account-layout { display: grid; grid-template-columns: 270px 1fr; gap: 24px; align-items: start; }
.woocommerce-MyAccount-navigation { position: sticky; top: 140px; padding: 14px; }
.account-user { display: flex; align-items: center; gap: 12px; padding: 6px 6px 14px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.account-avatar { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--teal); color: #fff; font: 700 1.2rem var(--display); }
.account-user b { display: block; color: var(--navy); }
.account-user small { color: var(--muted); }
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; }
.woocommerce-MyAccount-navigation a { display: block; padding: 10px 12px; border-radius: 12px; font-weight: 700; color: var(--navy); text-decoration: none; }
.woocommerce-MyAccount-navigation a:hover { background: var(--soft); }
.woocommerce-MyAccount-navigation .is-active a { background: var(--coral-soft); color: var(--coral-dk); }
.woocommerce-MyAccount-navigation-link--customer-logout { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); }
.woocommerce-MyAccount-navigation-link--customer-logout a { color: var(--muted); }
.woocommerce-MyAccount-content { padding: 28px 32px; min-width: 0; }
.account-title { font-size: 2rem; margin-bottom: 16px; }
.account-subtitle { font-size: 1.35rem; margin: 28px 0 12px; }
.account-hello { font-size: 1.1rem; }
.account-hello span { font-size: 0.9rem; color: var(--muted); }
.account-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.account-card { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 18px; text-decoration: none; transition: border-color 0.2s; }
.account-card:hover { border-color: var(--teal); }
.account-card small { display: block; font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.account-card b { display: block; font-size: 1.05rem; color: var(--navy); }
.account-card span span { font-size: 0.85rem; color: var(--ink); }
.account-orders-table { width: 100%; border-collapse: collapse; }
.account-orders-table th, .account-orders-table td { padding: 12px 10px; text-align: left; border-bottom: 1px solid var(--line); font-size: 0.92rem; }
.account-orders-table thead th { font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.account-orders-table tbody th a { font-weight: 800; color: var(--navy); }
.account-orders-table .button { min-height: 36px; padding: 6px 14px; font-size: 0.85rem; border: 1px solid var(--line-2); background: #fff; }
.order-badge { display: inline-block; padding: 3px 10px; border-radius: 99px; font-size: 0.8rem; font-weight: 800; }
.order-badge--processing { background: var(--sky-soft); color: #2f6fe0; }
.order-badge--completed { background: var(--green-soft); color: var(--green); }
.order-badge--cancelled { background: #f1f2f6; color: var(--muted); }
.order-status-line mark { background: none; font-weight: 800; color: var(--navy); }
.order-progress { list-style: none; margin: 18px 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.order-progress li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-weight: 800; color: var(--navy); font-size: 0.9rem; }
.order-progress li + li::before { content: ""; position: absolute; top: 18px; right: 50%; width: 100%; height: 3px; background: var(--line-2); }
.order-progress li.done + li::before, .order-progress li.done::before, .order-progress li.active::before { background: var(--teal); }
.order-progress span { position: relative; z-index: 1; width: 38px; height: 38px; display: grid; place-items: center; border: 2px solid var(--line-2); border-radius: 50%; background: #fff; }
.order-progress .done span { border-color: var(--teal); background: var(--teal); color: #fff; }
.order-progress .active span { border-color: var(--teal); color: var(--teal); box-shadow: 0 0 0 5px rgb(40 149 149 / 0.15); }
.order-progress small { font-weight: 600; color: var(--muted); font-size: 0.75rem; }
.tracking-note { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 12px 16px; border-radius: 14px; background: var(--soft); }
.pwgc-row td { color: var(--green); font-weight: 800; }
.order-again { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.order-again .button:not(.alt) { border: 1px solid var(--line-2); background: #fff; }
.woocommerce-Addresses { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.woocommerce-Address { padding: 18px; border: 1px solid var(--line); border-radius: 16px; }
.woocommerce-Address-title { display: flex; justify-content: space-between; align-items: baseline; }
.woocommerce-Address-title h2 { font-size: 1.15rem; margin: 0 0 8px; }
.woocommerce-Address-title .edit { font-weight: 800; color: var(--teal); }
.woocommerce-Address address { font-style: normal; }
.woocommerce-Address address.empty { color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.woocommerce-EditAccountForm fieldset { margin: 18px 0; padding: 18px; border: 1px solid var(--line); border-radius: 16px; }
.woocommerce-EditAccountForm legend { padding: 0 6px; font: 700 1.1rem var(--display); color: var(--navy); }
.woocommerce-EditAccountForm .form-row label { display: block; margin-bottom: 6px; font-weight: 700; }
.newsletter-opt { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.newsletter-opt input { width: 18px; height: 18px; accent-color: var(--coral); }

/* ---------- Poklon kartica ---------- */
.gift-card-visual { position: relative; display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 1.6; padding: 26px 28px; overflow: hidden; border-radius: 22px; background: linear-gradient(135deg, #289595 0%, #1f7f7f 55%, #1d6f86 100%); color: #fff; box-shadow: 0 24px 40px -22px rgb(29 42 92 / 0.6); }
.gift-card-visual .logo-white { width: 150px; height: auto; }
.gift-card-visual__label { font-size: 0.85rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.85; }
.gift-card-visual__amount { font: 800 3rem/1 var(--display); }
.gift-card-visual__to { font-weight: 700; }
.gift-card-visual__code { position: absolute; right: 26px; bottom: 24px; font-family: ui-monospace, monospace; letter-spacing: 0.08em; opacity: 0.8; }
.gift-card-visual .confetti { opacity: 0.95; }
.gc-product__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.gc-preview__msg { margin: 16px 0 0; padding: 14px 18px; border-radius: 16px; background: var(--soft); font-style: italic; color: var(--navy); }
.gc-facts { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; }
.gc-facts li { display: flex; align-items: center; gap: 14px; font-size: 0.9rem; }
.gc-facts b { display: block; color: var(--navy); font-size: 1rem; }
.gc-lead { font-size: 1.08rem; }
.gc-amounts { margin: 18px 0; padding: 0; border: 0; }
.pwgc-label { display: block; margin-bottom: 8px; font-weight: 800; color: var(--navy); }
.gc-amounts__list { display: flex; flex-wrap: wrap; gap: 8px; }
.gc-amounts__list button { min-width: 104px; padding: 12px 16px; border: 2px solid var(--line-2); border-radius: 14px; background: #fff; font-weight: 800; color: var(--navy); cursor: pointer; transition: border-color 0.15s, background-color 0.15s; }
.gc-amounts__list button:hover { border-color: var(--teal); }
.gc-amounts__list button[aria-checked="true"] { border-color: var(--teal); background: var(--teal-soft); color: var(--teal-dk); }
.pwgc-field-container { margin-bottom: 14px; }
.pwgc-input-text, #pwgc-message { width: 100%; }
.pwgc-subtitle { margin-top: 4px; font-size: 0.8rem; color: var(--muted); }
.gc-buy { display: flex; align-items: center; gap: 18px; margin-top: 8px; }
.gc-buy .price { margin: 0; font-size: 2rem; }
.gc-buy .button { flex: 1; }
.gc-note { margin-top: 14px; font-size: 0.82rem; color: var(--muted); }
.gc-how { margin-top: 24px; }
.gc-steps { margin: 12px 0 0; padding-left: 1.3em; display: grid; gap: 10px; }
.gc-steps li::marker { font-weight: 800; color: var(--coral-dk); }
.gc-steps b { color: var(--navy); }

.gc-balance { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
.gc-balance__form { padding: 32px; }
.gc-balance__form h1 { font-size: 2.2rem; }
.gc-balance-form { display: flex; gap: 10px; margin-top: 16px; }
.gc-balance-form .input-text { flex: 1; min-width: 0; font-family: ui-monospace, monospace; font-size: 1.1rem; letter-spacing: 0.06em; text-transform: uppercase; }
.gc-hint { margin: 10px 0 0; font-size: 0.85rem; color: var(--muted); }
.gc-hint code { padding: 2px 6px; border-radius: 6px; background: var(--soft); }
.gc-error { margin: 12px 0 0; padding: 10px 14px; border-radius: 12px; background: var(--coral-soft); color: var(--coral-dk); font-weight: 700; }
.gc-result { grid-column: 1; padding: 28px 32px; }
.gc-result__head { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.gc-result__label { margin: 0; font-size: 0.8rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.gc-result__balance { margin: 0; font: 800 2.6rem/1.1 var(--display); color: var(--navy); }
.gc-bar { height: 10px; margin: 18px 0 6px; overflow: hidden; border-radius: 99px; background: #f1f2f6; }
.gc-bar span { display: block; height: 100%; border-radius: 99px; background: var(--teal); }
.gc-result h2 { font-size: 1.2rem; margin-top: 18px; }
.gc-balance__aside { grid-column: 2; grid-row: 1 / span 2; }
.gc-mini { position: relative; flex-shrink: 0; display: flex; flex-direction: column; justify-content: space-between; width: 150px; aspect-ratio: 1.6; padding: 12px 14px; border-radius: 14px; background: linear-gradient(135deg, #289595, #1d6f86); color: #fff; }
.gc-mini--coral { background: linear-gradient(135deg, #fc7a78, #f05d5b); }
.gc-mini .logo-white { width: 76px; height: auto; }
.gc-mini b { font: 800 1.2rem var(--display); }
.gc-badge { display: inline-block; padding: 3px 10px; border-radius: 99px; background: #f1f2f6; font-size: 0.78rem; font-weight: 800; color: var(--ink); vertical-align: middle; }
.gc-badge--active { background: var(--green-soft); color: var(--green); }
.gc-activity { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.gc-activity th, .gc-activity td { padding: 9px 8px; text-align: left; border-bottom: 1px solid var(--line); }
.gc-activity th { font-size: 0.75rem; font-weight: 800; text-transform: uppercase; color: var(--muted); }
.gc-activity td:last-child, .gc-activity th:last-child { text-align: right; }
.gc-activity .minus { font-weight: 800; color: var(--coral-dk); }
.gc-activity .plus { font-weight: 800; color: var(--green); }
.gc-list { display: grid; gap: 16px; }
.gc-item { display: flex; gap: 20px; padding: 18px; border: 1px solid var(--line); border-radius: 18px; }
.gc-item__body { flex: 1; min-width: 0; }
.gc-item h3 { margin: 0 0 4px; font-size: 1.2rem; }
.gc-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 0; }
.gc-actions .button:not(.alt) { border: 1px solid var(--line-2); background: #fff; }
.gc-check-inline { margin-top: 20px; padding: 18px 20px; border-radius: 18px; background: var(--soft); }
.gc-check-inline h3 { margin: 0; font-size: 1.15rem; }
.gc-check-inline .button { border: 1px solid var(--line-2); background: #fff; }

/* Poklon kartica u korpi i na plaćanju */
.gc-redeem { margin-top: 14px; padding: 16px 18px; border: 2px dashed var(--line-2); border-radius: 18px; }
.gc-redeem label { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; cursor: pointer; }
.gc-redeem label .illu { width: 34px; height: 34px; }
.gc-redeem label b { display: block; color: var(--navy); }
.gc-redeem label small { color: var(--muted); }
.gc-redeem__row { display: flex; gap: 10px; }
.gc-redeem__row .input-text { flex: 1; min-width: 0; font-family: ui-monospace, monospace; text-transform: uppercase; letter-spacing: 0.05em; }
.gc-redeem__row .button { border: 1px solid var(--line-2); background: #fff; }
.gc-redeem__msg:not(:empty) { margin-top: 8px; font-size: 0.88rem; font-weight: 700; }
.gc-redeem__msg.ok { color: var(--green); }
.gc-redeem__msg.err { color: var(--coral-dk); }
.pwgc-applied th { color: var(--green) !important; }
.pwgc-applied td { color: var(--green) !important; }
.gc-left { display: block; font-size: 0.75rem; font-weight: 600; color: var(--muted); }
.order-review-col .gc-redeem { margin: 14px 0; }

@media (max-width: 1023px) {
  .account-layout, .gc-product__top, .gc-balance { grid-template-columns: 1fr; }
  .woocommerce-MyAccount-navigation { position: static; }
  .woocommerce-MyAccount-navigation ul { display: flex; overflow-x: auto; gap: 4px; }
  .woocommerce-MyAccount-navigation a { white-space: nowrap; }
  .woocommerce-MyAccount-navigation-link--customer-logout { margin: 0; padding: 0; border: 0; }
  .gc-balance__aside { grid-column: auto; grid-row: auto; }
  .gc-result { grid-column: auto; }
}
@media (max-width: 640px) {
  .woocommerce-MyAccount-content { padding: 18px; }
  .account-cards, .woocommerce-Addresses, .form-grid { grid-template-columns: 1fr; }
  .order-progress { grid-template-columns: repeat(2, 1fr); row-gap: 16px; }
  .order-progress li:nth-child(3)::before { display: none; }
  .account-orders-table thead { display: none; }
  .account-orders-table tr { display: grid; grid-template-columns: 1fr 1fr; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .account-orders-table th, .account-orders-table td { border: 0; padding: 4px 0; }
  .gift-card-visual__amount { font-size: 2.2rem; }
  .gc-item { flex-direction: column; }
  .gc-buy { flex-direction: column; align-items: stretch; }
  .gc-balance-form { flex-direction: column; }
}

.product-type-pw-gift-card form.cart { display: block; }
.main-navigation a, .cat-menu__toggle { white-space: nowrap; }
.main-navigation .menu { gap: 22px; }
.main-navigation a[href="poklon-kartica.html"] { color: var(--coral-dk); }
@media (max-width: 1180px) { .main-navigation .menu { gap: 16px; font-size: 0.92rem; } }
.gc-item .gc-mini, .gc-result__head .gc-mini { align-self: flex-start; height: auto; }
