/* ============================================================
   225 Face Care — global layer (ported 1:1 from colors_and_type.css)
   Resets · responsive token overrides · reveal-on-scroll core · keyframes
   ============================================================ */

/* ---------- Base / resets ---------- */
html {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background: var(--color-soft-sand);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body { font-size: var(--fs-body); line-height: var(--lh-body); font-weight: 300; }
html, body { margin: 0; padding: 0; }
* { box-sizing: border-box; }
a { color: inherit; }
:focus:not(:focus-visible) { outline: none; }
html { scroll-behavior: smooth; }
p { margin: 0; }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { text-transform: none !important; }

/* ---------- Responsive token overrides ---------- */
@media (max-width: 1024px) {
  :root:root { --page-px: 44px; --grid-gap: 24px; }
}
@media (max-width: 860px) {
  :root:root { --page-px: 24px; --grid-gap: 16px; --sec-head-mb: 24px; --sec-eyebrow-mb: 10px; }
}

/* ---------- Reveal-on-scroll (blur-up) — shared core ---------- */
[data-reveal] {
  opacity: 0;
  filter: blur(14px);
  transform: translateY(28px);
  transition:
    opacity 900ms cubic-bezier(.19,1,.22,1),
    filter 900ms cubic-bezier(.19,1,.22,1),
    transform 900ms cubic-bezier(.19,1,.22,1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, filter, transform;
}
[data-reveal].is-in { opacity: 1; filter: blur(0); transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; filter: none; transform: none; transition: none; }
}

/* Carousel/grid rails: desktop container reveal inert (children stagger);
   mobile rail slides in from the right once. */
.pcarousel[data-reveal] { opacity: 1; filter: none; transform: none; transition: none; }
@media (prefers-reduced-motion: reduce) {
  .pcarousel[data-reveal], .pcarousel > [data-reveal] {
    opacity: 1 !important; filter: none !important; transform: none !important; transition: none !important;
  }
}
@media (max-width: 860px) {
  .pcarousel > [data-reveal] { opacity: 1 !important; filter: none !important; transform: none !important; }
  .pcarousel[data-reveal] {
    opacity: 0; transform: translateX(34px); filter: blur(6px);
    transition: opacity 700ms cubic-bezier(.19,1,.22,1),
                transform 700ms cubic-bezier(.19,1,.22,1),
                filter 700ms cubic-bezier(.19,1,.22,1);
  }
  .pcarousel[data-reveal].is-in { opacity: 1; transform: none; filter: blur(0); }
}

/* ---------- Keyframes ---------- */
@keyframes stepPulse {
  0%   { transform: scale(1);    opacity: 0.35; }
  60%  { transform: scale(1.85); opacity: 0;    }
  100% { transform: scale(1.85); opacity: 0;    }
}
@keyframes marquee225 { from { transform: translateX(0); } to { transform: translateX(-33.333%); } }
@keyframes cartFadeIn  { from { opacity: 0; } to { opacity: 1; } }
@keyframes cartSlideIn { from { transform: translateX(100%); } to { transform: translateX(0); } }
@keyframes revFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes revPop  { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes popupScrimIn { from { opacity: 0 } to { opacity: 1 } }
@keyframes popupCardIn {
  from { opacity: 0; filter: blur(14px); transform: translateY(28px) scale(0.98); }
  to   { opacity: 1; filter: blur(0);    transform: translateY(0) scale(1); }
}
@keyframes sheetScrimIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes sheetUp { from { transform: translateY(100%); } to { transform: translateY(0); } }

/* ---------- Runtime state classes (JS-toggled; not builder-assigned) ---------- */
.pr-step--inactive:hover .pr-step-circle { transform: scale(1.12); border-color: var(--color-brand-navy); color: var(--color-brand-navy); box-shadow: 0 0 0 8px var(--color-soft-sand), 0 8px 20px rgba(28,28,46,0.10); }
.pr-step--inactive.pr-zigstep { opacity: 0.85; cursor: pointer; }
.pr-step--inactive .pr-zig-circle { background: var(--color-soft-sand-85); border: 1px solid var(--border-soft); box-shadow: 0 0 0 8px var(--color-soft-sand-85); color: var(--text-medium); }
.pr-step--inactive:hover .pr-zig-circle { border-color: var(--border-soft); color: var(--text-medium); box-shadow: 0 0 0 8px var(--color-soft-sand-85); }
.pr-step--active .pr-step-circle { transition: transform 400ms cubic-bezier(.19,1,.22,1); }
.pr-step--active:hover .pr-step-circle { transform: scale(1.08); }
.pr-step--active.pr-zigstep { opacity: 1; cursor: default; }
.pr-step--active .pr-zig-circle { background: var(--product-accent, var(--color-brand-navy)); border: 1px solid var(--product-accent, var(--color-brand-navy)); box-shadow: 0 8px 24px rgba(28,28,46,0.10); color: var(--color-pure-white); }
.pr-step--active .pr-zig-name { color: var(--color-brand-navy); }
.pr-step--active .pr-step-name { color: var(--color-brand-navy); }
.pr-zig-pulse--delay { animation-delay: 1.7s; }
.pr-pulse--delay { animation-delay: 1.7s; }
.faq-tab--active { color: var(--color-brand-navy); }
.faq-tab--active:hover { color: var(--color-brand-navy); }
.faq-tab--active .faq-tab-underline { transform: scaleX(1); }
.chip--active { background: var(--color-brand-navy); color: var(--color-pure-white); border-color: var(--color-brand-navy); }
.chip--active:hover { background: var(--color-brand-navy); color: var(--color-pure-white); border-color: var(--color-brand-navy); }
.is-teorija .ab-klinika-tag { color: var(--text-light); }
.is-teorija .ab-klinika-text { color: var(--text-medium); }
.is-praksa .ab-klinika-tag { color: rgba(240,234,225,0.6); }
.is-praksa .ab-klinika-text { color: var(--text-on-dark); }

/* ---------- Footer + product-page mobile hooks (ported from ≤860 layer) ---------- */
@media (max-width: 860px) {
  #footer > div { padding-top: 40px !important; padding-bottom: 24px !important; }
  #footer [data-reveal-stagger] { gap: 20px !important; }
  #footer ul { gap: 0px !important; }
  [data-screen-label] h2 { font-size: 26px !important; }
  [data-screen-label="01b O proizvodu"] > div,
  [data-screen-label="02 Tri rečenice"] > div,
  [data-screen-label="03 Za koga je"] > div,
  [data-screen-label="04 Gde se uklapa"] > div,
  [data-screen-label="05 Kako se koristi"] > div,
  [data-screen-label="06 Aktivni sastojci"] > div,
  [data-screen-label="07 Kako radi"] > div,
  [data-screen-label="08 FAQ"] > div,
  [data-screen-label="09 Video"] > div,
  [data-screen-label="10 Uparite sa"] > div { padding-top: 40px !important; padding-bottom: 40px !important; padding-left: 24px !important; padding-right: 24px !important; }
  [data-screen-label="05 Kako se koristi"],
  [data-screen-label="06 Aktivni sastojci"],
  [data-screen-label="10 Uparite sa"] { overflow-x: clip; }
  [data-screen-label="10 Uparite sa"] .pcard__reveal { max-height: none !important; opacity: 1 !important; margin-top: 12px !important; }
}
[data-screen-label="10 Uparite sa"] .pcard__reveal .pcard__revealbtn { display: none !important; }

/* ---------- Nav burger icon swap (aria-expanded driven) ---------- */
.nav-burger .icon-close { display: none; }
.nav-burger[aria-expanded="true"] .icon-close { display: block; }
.nav-burger[aria-expanded="true"] .icon-open { display: none; }

/* ---------- Mini-cart line items (new Woo functionality, design-system styled) ---------- */
.cart-panel { overflow-y: auto; }
.cart-items { display: flex; flex-direction: column; }
.cart-item { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-top: 1px solid var(--border-soft); position: relative; }
.cart-item:last-child { border-bottom: 1px solid var(--border-soft); }
.cart-item__thumb { flex: 0 0 auto; width: 64px; height: 64px; background: var(--color-warm-cream); border: 1px solid var(--border-soft); border-radius: var(--radius-sm); overflow: hidden; }
.cart-item__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cart-item__body { flex: 1 1 auto; min-width: 0; }
.cart-item__name { display: block; font-family: var(--font-display); font-weight: 400; font-size: 17px; line-height: 1.25; color: var(--color-brand-navy); text-decoration: none; padding-right: 20px; }
.cart-item__row { margin-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cart-item__qty { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--border-soft); border-radius: var(--radius-xs); padding: 2px 8px; }
.cart-qty-btn { background: none; border: 0; cursor: pointer; padding: 2px 4px; font-size: 14px; color: var(--color-brand-navy); line-height: 1; }
.cart-item__qty-n { font-family: var(--font-sans); font-size: 13px; font-weight: 500; color: var(--text-dark); min-width: 14px; text-align: center; }
.cart-item__price { font-family: var(--font-sans); font-weight: 500; font-size: 13px; color: var(--text-dark); white-space: nowrap; }
.cart-item__remove { position: absolute; top: 14px; right: 0; background: none; border: 0; cursor: pointer; font-size: 16px; line-height: 1; color: var(--text-light); padding: 2px; }
.cart-item__remove:hover { color: var(--color-danger); }
.cart-subtotal { display: flex; justify-content: space-between; align-items: baseline; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--border-soft); font-family: var(--font-sans); font-size: 13px; color: var(--text-medium); }
.cart-subtotal__amount { font-family: var(--font-sans); font-weight: 500; font-size: 16px; color: var(--text-dark); }
.cart-cta .btn { display: inline-flex; justify-content: center; text-decoration: none; }

/* ---------- Woo cart & checkout pages (default blocks, on-brand restyle) ---------- */
.woocommerce-cart #brx-content > *, .woocommerce-checkout #brx-content > * { max-width: 1280px; margin-left: auto; margin-right: auto; padding-left: var(--page-px); padding-right: var(--page-px); box-sizing: border-box; }
.woocommerce-cart #brx-content, .woocommerce-checkout #brx-content { padding-top: 140px; padding-bottom: 96px; background: var(--color-soft-sand); }
.woocommerce-cart #brx-content h1, .woocommerce-checkout #brx-content h1 { font-size: 44px; margin-bottom: 28px; }
@media (max-width: 860px) {
  .woocommerce-cart #brx-content, .woocommerce-checkout #brx-content { padding-top: 110px; padding-bottom: 56px; }
  .woocommerce-cart #brx-content h1, .woocommerce-checkout #brx-content h1 { font-size: 32px; }
}
/* Buttons → brand navy */
.wp-block-woocommerce-cart .wc-block-cart__submit-button,
.wp-block-woocommerce-checkout .wc-block-components-checkout-place-order-button,
.wc-block-components-button:not(.is-link) {
  background: var(--color-brand-navy) !important; color: var(--color-pure-white) !important;
  border: 1px solid var(--color-brand-navy) !important; border-radius: var(--radius-xs) !important;
  font-family: var(--font-sans) !important; font-size: 12px !important; font-weight: 500 !important;
  letter-spacing: 0.1em !important; text-transform: uppercase !important;
  transition: background 200ms, border-color 200ms !important;
}
.wp-block-woocommerce-cart .wc-block-cart__submit-button:hover,
.wp-block-woocommerce-checkout .wc-block-components-checkout-place-order-button:hover,
.wc-block-components-button:not(.is-link):hover { background: var(--color-deep-navy) !important; border-color: var(--color-deep-navy) !important; }
/* Typography + links */
.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout { font-family: var(--font-sans); color: var(--text-dark); }
.wc-block-components-product-name { font-family: var(--font-sans); font-weight: 500; color: var(--color-brand-navy) !important; text-decoration: none; }
.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-family: var(--font-display); font-weight: 400; color: var(--color-brand-navy); }
/* Form fields */
.wc-block-components-text-input input, .wc-block-components-text-input textarea,
.wc-block-components-combobox .wc-block-components-combobox-control__input,
.wc-block-components-form .wc-block-components-text-input input {
  border: 1px solid var(--border-soft) !important; border-radius: var(--radius-sm) !important;
  background: var(--color-pure-white) !important; font-family: var(--font-sans) !important;
}
.wc-block-components-text-input input:focus, .wc-block-components-text-input textarea:focus { border-color: var(--color-brand-navy) !important; box-shadow: 0 0 0 1px var(--color-brand-navy) !important; }
/* Quantity selector + misc */
.wc-block-components-quantity-selector { border: 1px solid var(--border-soft) !important; border-radius: var(--radius-xs) !important; }
.wc-block-components-notice-banner.is-success { border-color: var(--color-success) !important; }
.wc-block-components-radio-control__option { font-family: var(--font-sans); }
@media (max-width: 520px) {
  .wp-block-woocommerce-cart table.wc-block-cart-items td { padding-left: 4px; padding-right: 4px; }
}

/* ---------- Newsletter popup card layout (was inline <style> in NewsletterPopup JSX) ---------- */
.np-card { display: flex; width: 100%; }
.np-image { width: 46%; flex-shrink: 0; }
@media (max-width: 720px) {
  .np-card { flex-direction: column; }
  .np-image { width: 100%; height: 100px; }
}
/* Bricks popup wrapper → static .np-scrim look */
.brx-popup.brxe-popup-146 { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(26,32,85,0.55); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); animation: popupScrimIn 360ms var(--ease-editorial); }
.brx-popup.brxe-popup-146 .brx-popup-content { animation: popupCardIn 500ms var(--ease-editorial); }

/* ---------- Blog post FAQ accordion marks (was inline <style> in post-template.jsx; accent = --blog-accent #685bc7) ---------- */
.post-faq-item { border-bottom: 1px solid var(--border-soft); }
.post-faq .post-faq-item > summary { list-style: none; }
.post-faq .post-faq-item > summary::-webkit-details-marker { display: none; }
.post-faq .post-faq-item[open] > summary { color: var(--blog-accent, #685bc7); }
.post-faq-mark { position: relative; width: 26px; height: 26px; flex-shrink: 0; }
.post-faq-mark::before, .post-faq-mark::after {
  content: ""; position: absolute; background: var(--color-brand-navy);
  transition: transform 400ms cubic-bezier(.19,1,.22,1), background 200ms;
}
.post-faq-mark::before { top: 50%; left: 0; right: 0; height: 1px; transform: translateY(-50%); }
.post-faq-mark::after { left: 50%; top: 0; bottom: 0; width: 1px; transform: translateX(-50%) scaleY(1); }
.post-faq .post-faq-item[open] .post-faq-mark::before { background: var(--blog-accent, #685bc7); }
.post-faq .post-faq-item[open] .post-faq-mark::after { background: var(--blog-accent, #685bc7); transform: translateX(-50%) scaleY(0); }

/* Bricks #brx-content is a flex row; raw renderer sections must fill it (Bricks' own elements carry width:100%) */
#brx-content > * { width: 100%; }

.nav-iconbtn { color: var(--color-brand-navy); }

/* Checkout: only one shipping method is ever offered (flat "Dostava" 450 RSD,
   or free shipping over 10.000 RSD — the paid rate is removed when free applies,
   see 225-shipping.php), so the "Opcije za isporuku" chooser is redundant. */
.wp-block-woocommerce-checkout-shipping-methods-block { display: none !important; }

/* ============================================================
   Moj nalog (/moj-nalog/) — classic Woo My Account styled to the
   design system. Hero comes from 225-account.php; everything below
   scopes to the .acct-wrap wrapper on page 23.
   ============================================================ */
.acct-wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 56px var(--page-px) 120px; font-family: var(--font-sans); }
.acct-wrap .woocommerce { width: 100%; }

/* Notices */
.acct-wrap .woocommerce-error, .acct-wrap .woocommerce-message, .acct-wrap .woocommerce-info {
  list-style: none; margin: 0 auto 32px; padding: 16px 20px; max-width: 480px;
  background: var(--color-pure-white); border: 1px solid var(--border-soft);
  border-left: 3px solid var(--color-brand-navy); border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 300; color: var(--text-dark);
}
.acct-wrap .woocommerce-error { border-left-color: #B4463C; }
.acct-wrap .woocommerce-error li { margin: 0; }
.acct-wrap .woocommerce-error a, .acct-wrap .woocommerce-message a, .acct-wrap .woocommerce-info a { color: var(--color-brand-navy); }

/* Login / reset-password card */
.acct-wrap form.woocommerce-form-login, .acct-wrap form.woocommerce-ResetPassword {
  display: block; width: 100%; max-width: 480px; margin: 0 auto; background: var(--color-pure-white);
  border: 1px solid var(--border-light); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft); padding: 44px 40px;
}
.acct-wrap .woocommerce > h2 {
  font-family: var(--font-display); font-weight: 300; font-size: 24px; line-height: 1.3;
  color: var(--color-brand-navy); text-align: center; margin: 0 0 36px;
}
.acct-wrap .woocommerce form .form-row { margin: 0 0 22px; padding: 0; width: 100%; float: none; display: block; }
.acct-wrap .woocommerce form .form-row label {
  display: block; margin-bottom: 10px; font-weight: 500; font-size: 11px;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-medium);
}
.acct-wrap .woocommerce form .form-row .input-text, .acct-wrap .woocommerce form .form-row select {
  width: 100%; padding: 14px 16px; line-height: 1.4; background: var(--color-pure-white);
  border: 1px solid var(--border-soft); border-radius: var(--radius-sm);
  font-family: var(--font-sans); font-weight: 300; font-size: 15px; color: var(--text-dark);
  outline: none; transition: border-color 200ms var(--ease-editorial);
}
.acct-wrap .woocommerce form .form-row .input-text:focus { border-color: var(--color-brand-navy); }
.acct-wrap .password-input { display: block; position: relative; }
.acct-wrap .show-password-input { position: absolute; top: 15px; right: 14px; }
.acct-wrap .woocommerce-form-login__rememberme {
  display: flex; align-items: center; gap: 8px; margin: 0 0 6px; cursor: pointer;
  font-size: 13px; font-weight: 300; color: var(--text-medium);
  text-transform: none; letter-spacing: 0;
}
.acct-wrap .woocommerce-form-login__rememberme input { accent-color: var(--color-brand-navy); }

/* Buttons */
.acct-wrap .woocommerce button.button, .acct-wrap .woocommerce a.button {
  display: inline-block; background: var(--color-brand-navy); color: var(--color-pure-white);
  border: 0; border-radius: var(--radius-sm); padding: 16px 28px; cursor: pointer;
  font-family: var(--font-sans); font-size: 11px; font-weight: 500; letter-spacing: 0.18em;
  text-transform: uppercase; line-height: 1; text-decoration: none; transition: background 200ms;
}
.acct-wrap .woocommerce button.button:hover, .acct-wrap .woocommerce a.button:hover { background: var(--color-deep-navy); color: var(--color-pure-white); }
.acct-wrap .woocommerce-form-login__submit { width: 100%; margin-top: 4px; }
.acct-wrap .woocommerce-LostPassword { margin: 18px 0 0; text-align: center; font-size: 13px; font-weight: 300; }
.acct-wrap .woocommerce-LostPassword a, .acct-wrap .lost_reset_password a {
  color: var(--text-medium); text-decoration: none; border-bottom: 1px solid var(--border-soft);
  padding-bottom: 2px; transition: color 200ms, border-color 200ms;
}
.acct-wrap .woocommerce-LostPassword a:hover { color: var(--color-brand-navy); border-color: var(--color-brand-navy); }

/* Logged-in: navigation + content grid */
.acct-wrap .woocommerce:has(> .woocommerce-MyAccount-navigation) {
  display: grid; grid-template-columns: 230px 1fr; gap: 56px; align-items: start;
}
.acct-wrap .woocommerce-MyAccount-navigation { background: none; padding: 0; }
.acct-wrap .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border-light); }
.acct-wrap .woocommerce-MyAccount-navigation li { margin: 0; padding: 0; background: none; border: 0; border-bottom: 1px solid var(--border-light); }
.acct-wrap .woocommerce-MyAccount-navigation a {
  display: block; background: none; padding: 14px 2px; font-size: 11px; font-weight: 500; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--text-medium); text-decoration: none;
  transition: color 200ms, padding-left 200ms var(--ease-editorial);
}
.acct-wrap .woocommerce-MyAccount-navigation li:hover a { color: var(--color-brand-navy); }
.acct-wrap .woocommerce-MyAccount-navigation li.is-active a { color: var(--color-brand-navy); padding-left: 10px; border-left: 2px solid var(--color-brand-navy); }
.acct-wrap .woocommerce-MyAccount-content { min-width: 0; font-weight: 300; font-size: 15px; color: var(--text-dark); line-height: 1.7; }
.acct-wrap .woocommerce-MyAccount-content a:not(.button) { color: var(--color-brand-navy); }
.acct-wrap .woocommerce-MyAccount-content h2, .acct-wrap .woocommerce-MyAccount-content h3 {
  font-family: var(--font-display); font-weight: 300; font-size: 26px; color: var(--color-brand-navy); margin: 0 0 18px;
}
.acct-wrap .woocommerce-MyAccount-content p { margin: 0 0 16px; }

/* Orders & tables */
.acct-wrap table.shop_table {
  width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--border-light);
  border-radius: var(--radius-sm); overflow: hidden; background: var(--color-pure-white); font-size: 14px;
}
.acct-wrap table.shop_table th, .acct-wrap table.shop_table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--border-light); }
.acct-wrap table.shop_table thead th {
  font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-medium); background: var(--color-warm-cream);
}
.acct-wrap table.shop_table tbody tr:last-child td, .acct-wrap table.shop_table tbody tr:last-child th { border-bottom: 0; }
.acct-wrap table.shop_table .button { padding: 11px 16px; min-height: 20px; }

/* Addresses */
.acct-wrap .woocommerce-Addresses { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; width: 100%; }
.acct-wrap .woocommerce-Address { background: var(--color-pure-white); border: 1px solid var(--border-light); border-radius: var(--radius-sm); padding: 26px; }
.acct-wrap .woocommerce-Address-title h2, .acct-wrap .woocommerce-Address-title h3 {
  margin: 0 0 12px; font-family: var(--font-display); font-weight: 300; font-size: 22px; color: var(--color-brand-navy);
}
.acct-wrap .woocommerce-Address address { font-style: normal; color: var(--text-medium); }
.acct-wrap .woocommerce-Address-title .edit { font-size: 12px; }

/* Account details */
.acct-wrap fieldset { border: 0; padding: 24px 0 0; margin: 24px 0 0; border-top: 1px solid var(--border-light); }
.acct-wrap fieldset legend { font-family: var(--font-display); font-weight: 300; font-size: 20px; color: var(--color-brand-navy); padding-right: 12px; }

@media (max-width: 860px) {
  .acct-wrap { padding-top: 36px; padding-bottom: 80px; }
  .acct-wrap .woocommerce:has(> .woocommerce-MyAccount-navigation) { grid-template-columns: 1fr; gap: 32px; }
  .acct-wrap .woocommerce-MyAccount-navigation ul { display: flex; flex-wrap: wrap; gap: 2px 20px; border-top: 0; }
  .acct-wrap .woocommerce-MyAccount-navigation li { border-bottom: 0; }
  .acct-wrap .woocommerce-MyAccount-navigation li.is-active a { border-left: 0; padding-left: 2px; }
  .acct-wrap .woocommerce-MyAccount-navigation li.is-active a { text-decoration: underline; text-underline-offset: 6px; }
  .acct-wrap .woocommerce-Addresses { grid-template-columns: 1fr; }
  .acct-wrap form.woocommerce-form-login, .acct-wrap form.woocommerce-ResetPassword { padding: 32px 24px; }
  .acct-wrap table.shop_table { display: block; overflow-x: auto; }
}

/* Moj nalog: login + registration two-column layout (registration enabled 2026-07-15). */
.acct-wrap .u-columns.col2-set { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; max-width: 1010px; margin: 0 auto; }
.acct-wrap .u-columns.col2-set .u-column1, .acct-wrap .u-columns.col2-set .u-column2 { width: 100%; min-width: 0; }
.acct-wrap .u-columns.col2-set h2 {
  font-family: var(--font-display); font-weight: 300; font-size: 24px; line-height: 1.3;
  color: var(--color-brand-navy); text-align: center; margin: 0 0 36px;
}
/* Side-by-side layout: pull the two cards (and their headings) toward the center line. */
@media (min-width: 861px) {
  .acct-wrap .u-columns.col2-set form.woocommerce-form-login { margin: 0 0 0 auto; }
  .acct-wrap .u-columns.col2-set form.woocommerce-form-register { margin: 0 auto 0 0; }
  .acct-wrap .u-columns.col2-set .u-column1 h2 { max-width: 480px; margin: 0 0 36px auto; }
  .acct-wrap .u-columns.col2-set .u-column2 h2 { max-width: 480px; margin: 0 auto 36px 0; }
}
.acct-wrap form.woocommerce-form-register {
  display: block; width: 100%; max-width: 480px; margin: 0 auto;
  background: var(--color-pure-white); border: 1px solid var(--border-light);
  border-radius: var(--radius-sm); box-shadow: var(--shadow-soft); padding: 44px 40px;
}
.acct-wrap .woocommerce-form-register p:not(.form-row) { font-size: 13px; font-weight: 300; line-height: 1.7; color: var(--text-medium); margin: 0 0 16px; }
.acct-wrap .woocommerce-form-register .woocommerce-privacy-policy-text p { font-size: 12px; color: var(--text-light); }
.acct-wrap .woocommerce-form-register__submit { width: 100%; margin-top: 4px; }
@media (max-width: 860px) {
  .acct-wrap .u-columns.col2-set { grid-template-columns: 1fr; gap: 44px; }
}

/* Moj nalog — orders table action buttons (Pregled / PLATI SADA…): stacked, even, no overlap. */
.acct-wrap .woocommerce-orders-table__cell-order-actions { min-width: 150px; }
.acct-wrap .woocommerce-orders-table__cell-order-actions .button {
  display: block; width: 100%; max-width: 170px; margin: 0;
  text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ============ Mini-cart extras (2026-07-17) ============ */
/* Bigger, easier-to-hit remove × */
.cart-item__remove { font-size: 22px; padding: 6px 8px; top: 8px; transition: color 200ms; }
.cart-item__remove:hover { color: var(--color-brand-navy); }
/* Mobile-only „nazad“ link-button — closes the drawer */
.cart-back { display: none; margin: 2px auto 0; background: none; border: 0; cursor: pointer; font-family: var(--font-sans); font-size: 12px; font-weight: 400; letter-spacing: 0.06em; color: var(--text-medium); padding: 10px 16px; transition: color 200ms; }
.cart-back:hover { color: var(--color-brand-navy); }
@media (max-width: 860px) { .cart-back { display: block; } }

/* ============ Empty-cart „Novo u prodavnici“ — site design ============ */
.wp-block-woocommerce-empty-cart-block h2.wp-block-heading {
  font-family: var(--font-display); font-weight: 300; font-size: 32px;
  color: var(--color-brand-navy); letter-spacing: 0;
}
.wp-block-woocommerce-empty-cart-block .wc-block-grid__products {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  margin: 40px 0 60px; padding: 0; list-style: none;
}
.wp-block-woocommerce-empty-cart-block .wc-block-grid__product {
  margin: 0; background: var(--color-pure-white); border: 1px solid var(--border-light);
  border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-soft);
  padding: 0 0 24px; display: flex; flex-direction: column; align-items: center;
  transition: transform 400ms var(--ease-editorial), box-shadow 400ms;
  max-width: none !important; width: auto !important; flex-basis: auto !important;
}
.wp-block-woocommerce-empty-cart-block .wc-block-grid__product:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(28,28,46,0.06), 0 16px 40px rgba(28,28,46,0.08);
}
.wp-block-woocommerce-empty-cart-block .wc-block-grid__product-link { text-decoration: none; width: 100%; display: flex; flex-direction: column; align-items: center; }
.wp-block-woocommerce-empty-cart-block .wc-block-grid__product-image { width: 100%; background: var(--color-warm-cream); margin: 0 0 18px; }
.wp-block-woocommerce-empty-cart-block .wc-block-grid__product-image img { width: 100%; height: auto; display: block; mix-blend-mode: multiply; }
.wp-block-woocommerce-empty-cart-block .wc-block-grid__product-title {
  font-family: var(--font-sans); font-weight: 500; font-size: 15px; color: var(--text-dark); padding: 0 16px;
}
.wp-block-woocommerce-empty-cart-block .wc-block-grid__product-price {
  font-family: var(--font-sans); font-weight: 300; font-size: 14px; color: var(--text-medium); margin: 6px 0 2px;
}
.wp-block-woocommerce-empty-cart-block .wc-block-grid__product-rating { display: none; }
.wp-block-woocommerce-empty-cart-block .wp-block-button__link {
  background: var(--color-brand-navy); color: var(--color-pure-white); border: 0;
  border-radius: var(--radius-sm); padding: 12px 22px; margin-top: 12px; cursor: pointer;
  font-family: var(--font-sans); font-size: 11px; font-weight: 500; letter-spacing: 0.18em;
  text-transform: uppercase; text-decoration: none; transition: background 200ms;
}
.wp-block-woocommerce-empty-cart-block .wp-block-button__link:hover { background: var(--color-deep-navy); color: var(--color-pure-white); }
@media (max-width: 900px) {
  .wp-block-woocommerce-empty-cart-block .wc-block-grid__products { grid-template-columns: repeat(2, 1fr); }
  .wp-block-woocommerce-empty-cart-block h2.wp-block-heading { font-size: 26px; }
}

/* ============ Mini-cart busy state + button loading (2026-07-18) ============ */
.cart-panel { position: relative; }
[data-cart-drawer].is-busy .cart-fragment { opacity: 0.45; pointer-events: none; transition: opacity 200ms; }
[data-cart-drawer].is-busy .cart-panel::after {
  content: ''; position: absolute; top: 50%; left: 50%; margin: -14px 0 0 -14px;
  width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid var(--border-soft); border-top-color: var(--color-brand-navy);
  animation: p225spin 700ms linear infinite; z-index: 5;
}
.btn--loading { pointer-events: none; opacity: 0.75; }
.btn--loading::after {
  content: ''; display: inline-block; width: 12px; height: 12px; margin-left: 10px;
  vertical-align: middle; border-radius: 50%;
  border: 2px solid currentColor; border-right-color: transparent;
  animation: p225spin 700ms linear infinite;
}
@keyframes p225spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  [data-cart-drawer].is-busy .cart-panel::after, .btn--loading::after { animation-duration: 1.6s; }
}

/* Woo's inline „Pregled korpe“ link after add-to-cart — the drawer is the feedback. */
a.added_to_cart.wc-forward, a.added_to_cart { display: none !important; }

/* Bricks form success/notice message — site colors instead of Bricks green. */
.brxe-form .message {
  background: var(--color-warm-cream) !important;
  border: 1px solid var(--border-soft) !important;
  border-left: 3px solid var(--color-brand-navy) !important;
  border-radius: var(--radius-sm) !important;
  color: var(--color-brand-navy) !important;
}
.brxe-form .message .text, .brxe-form .message * { color: var(--color-brand-navy) !important; }

/* Coupon toast (landing from the 10% e-mail: /prodavnica/?kupon=CODE) */
.kupon-toast {
  position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 16px); z-index: 230;
  display: flex; align-items: center; gap: 16px; max-width: calc(100vw - 24px);
  background: var(--color-pure-white); border: 1px solid var(--border-light);
  border-left: 3px solid var(--color-brand-navy); border-radius: var(--radius-sm);
  box-shadow: 0 12px 40px rgba(28,28,46,0.18); padding: 14px 18px;
  font-family: var(--font-sans); font-weight: 300; font-size: 13px; color: var(--text-dark);
  opacity: 0; transition: opacity 320ms var(--ease-editorial), transform 320ms var(--ease-editorial);
}
.kupon-toast.is-in { opacity: 1; transform: translate(-50%, 0); }
.kupon-toast strong { color: var(--color-brand-navy); font-weight: 600; letter-spacing: 0.04em; }
.kupon-toast__btn {
  flex: 0 0 auto; background: var(--color-brand-navy); color: var(--color-pure-white);
  border: 0; border-radius: var(--radius-xs); padding: 10px 16px; cursor: pointer;
  font-family: var(--font-sans); font-size: 10px; font-weight: 500; letter-spacing: 0.16em;
  text-transform: uppercase; transition: background 200ms; white-space: nowrap;
}
.kupon-toast__btn:hover { background: var(--color-deep-navy); }
@media (max-width: 520px) { .kupon-toast { flex-direction: column; align-items: flex-start; gap: 10px; bottom: 12px; } }

/* ============ Mobile overlay hierarchy + add-to-cart polish (2026-07-19) ============ */
/* Woo blocks' sticky „Nastavite na naplatu“ must sit above the cookie notice (40)
   but BELOW the mini-cart drawer (100). */
.wc-block-cart__submit-container--sticky { z-index: 46 !important; }
/* Every add-to-cart button: centered label regardless of flex/inline-block variant. */
.add_to_cart_button { text-align: center !important; justify-content: center !important; }

/* ============ Checkout polish (2026-07-19) ============ */
/* Quantity badge on order-summary items — brand navy (badge bg uses currentColor). */
.wc-block-components-order-summary-item__quantity { color: var(--color-brand-navy) !important; }
/* „Plaćanje“ title → content gap: match the cart page (checkout block adds 24px). */
.wp-block-woocommerce-checkout { padding-top: 0 !important; }
@media (max-width: 860px) {
  /* Breathing room between the privacy note and the terms checkbox. */
  .wp-block-woocommerce-checkout-terms-block { margin-top: 22px !important; }
}
