/*
Theme Name: Terracotta
Theme URI: https://terracottavb.rs
Author: Codema
Description: WooCommerce tema za online prodavnicu pločica, sanitarija i opreme za kupatilo. Napravljena po dizajnu terracottavb.rs.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Tested up to: 6.6
WC requires at least: 8.0
WC tested up to: 9.0
Text Domain: terracotta
*/

:root{
  --wrap:1460px; /* maksimalna širina sadržaja (bila 1280px) */
  --accent:#A6472A;
  --sale:#7B2D19;
  --ink:#17201E;
  --bg:#F2EEE6;
  --paper:#FAF8F3;
  --line:#D8D1C2;
  --muted:#4A534F;
}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font-family:'Hanken Grotesk',system-ui,sans-serif;font-size:16px;line-height:1.55}
h1,h2,h3,h4{font-family:'Roboto',system-ui,sans-serif;font-weight:500;margin:0;letter-spacing:-.01em}
p{margin:0}
a{color:inherit;text-decoration:none}
a:hover{opacity:.75}
button,input,select,textarea{font-family:inherit;font-size:inherit}
ul{list-style:none;margin:0;padding:0}
img{max-width:100%;display:block}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--ink);outline-offset:2px}

.wrap{width:100%;background:var(--bg);overflow-x:hidden}
.section-pad{max-width:var(--wrap);margin:0 auto;padding-left:48px;padding-right:48px;box-sizing:border-box}

/* ---------- Announcement bar ---------- */
.ann-bar{background:var(--ink);color:var(--bg)}
.ann-inner{max-width:var(--wrap);margin:0 auto;padding:0 48px;height:40px;display:flex;align-items:center;justify-content:space-between;font-size:13px;box-sizing:border-box}
.ann-links{display:flex;gap:24px;align-items:center}

/* ---------- Header ---------- */
.site-header{position:relative;z-index:30;background:var(--paper);border-bottom:1px solid var(--line)}
.hdr-inner{max-width:var(--wrap);margin:0 auto;padding:0 48px;height:88px;display:flex;align-items:center;gap:40px;box-sizing:border-box}
.hdr-logo{display:flex;align-items:center;gap:12px;flex-shrink:0}
.hdr-logo span{font-family:'Roboto',system-ui,sans-serif;font-weight:700;font-size:26px;letter-spacing:-.01em}
.hdr-search{flex:1;max-width:640px;display:flex;align-items:center;gap:8px;height:48px;background:var(--bg);border:1px solid #CFC7B6;border-radius:999px;padding:0 2px 0 22px;box-sizing:border-box}
.hdr-search input{flex:1;min-width:0;border:0;background:transparent;height:44px;color:var(--ink)}
.hdr-search form{display:flex;align-items:center;gap:8px;flex:1;min-width:0;height:100%;margin:0}
.hdr-search label{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.hdr-search input[type="search"]{-webkit-appearance:none;appearance:none;outline:none}
.hdr-search input[type="search"]::-webkit-search-cancel-button{display:none}
.hdr-search button{width:44px;height:44px;border-radius:50%;border:0;background:var(--accent);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;flex-shrink:0;padding:0;font-size:0;line-height:0;overflow:hidden;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:center;background-size:18px 18px;transition:background-color .15s}
.hdr-search button:hover{background-color:#8B3820}
.hdr-actions{margin-left:auto;display:flex;align-items:center;gap:8px}
.hdr-link{display:flex;align-items:center;gap:8px;min-height:44px;padding:0 12px;font-size:14px;font-weight:500}
.hdr-cart{display:flex;align-items:center;gap:10px;min-height:44px;padding:0 18px;font-size:14px;font-weight:600;background:var(--ink);color:var(--bg);border-radius:999px}
.hdr-cart-count{background:var(--bg);color:var(--ink);border-radius:999px;min-width:22px;height:22px;display:flex;align-items:center;justify-content:center;font-size:12px}
.burger-btn{display:none;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;border:1px solid var(--ink);background:transparent;color:var(--ink);cursor:pointer;flex-shrink:0}

/* ---------- Category nav + mega menu ---------- */
.site-nav{border-top:1px solid var(--line)}
.nav-inner{max-width:var(--wrap);margin:0 auto;padding:0 34px;height:52px;display:flex;align-items:center;box-sizing:border-box}
.nav-list{display:flex;align-items:center;flex:1}
.nav-list>li{position:static}
.nav-list>li>a,.nav-list>li>button.nav-top-link{display:flex;align-items:center;gap:6px;height:52px;padding:0 12px;border:0;background:transparent;color:var(--ink);font-size:15px;font-weight:500;cursor:pointer}
.nav-outlet{display:flex;align-items:center;height:52px;padding:0 14px;font-size:15px;font-weight:500}
.nav-sale{display:flex;align-items:center;gap:8px;height:36px;padding:0 18px;background:var(--sale);color:#fff;border-radius:999px;font-size:14px;font-weight:600}
.nav-list>li.has-mega.is-open>button.nav-top-link{box-shadow:inset 0 -2px 0 var(--accent)}

.mega-panel{display:none;position:absolute;left:0;right:0;top:100%;background:var(--paper);border-bottom:1px solid var(--line);box-shadow:0 28px 40px rgba(23,32,30,.12);z-index:25}
.nav-list>li.has-mega.is-open .mega-panel{display:block}
.mega-grid{max-width:var(--wrap);margin:0 auto;padding:40px 48px 44px;box-sizing:border-box;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:40px}
.mega-grid h4{font-size:20px;margin-bottom:14px}
.mega-grid ul{display:flex;flex-direction:column;gap:2px}
.mega-grid a{display:block;padding:7px 0;font-size:15px;color:#3F4844}
.mega-grid .mega-cta{display:flex;align-items:center;justify-content:center;gap:10px;height:48px;padding:0 24px;background:var(--accent);color:#fff;border-radius:999px;font-weight:600;font-size:15px;transition:filter .2s}
.mega-grid .mega-cta:hover{color:#fff;filter:brightness(1.1)}
.mega-grid .mega-swatch{display:block;padding:0;flex:1;min-height:150px;border-radius:999px 999px 0 0;background:var(--line) center/cover no-repeat;transition:opacity .2s}
.mega-grid .mega-swatch.has-img:hover{opacity:.9}

/* ---------- Buttons / pills ---------- */
.btn-pill{display:inline-flex;align-items:center;gap:12px;height:56px;padding:0 32px;border-radius:999px;font-size:16px;font-weight:600;border:0;cursor:pointer}
.btn-pill-sm{display:inline-flex;align-items:center;gap:8px;height:44px;padding:0 24px;border-radius:999px;font-size:15px;font-weight:600;border:0;cursor:pointer}
.btn-accent{background:var(--accent);color:#fff}
.btn-dark{background:var(--ink);color:var(--bg)}
.btn-outline{background:transparent;color:var(--ink);border:1px solid var(--ink) !important}

/* ---------- Hero ---------- */
.hero-sec{position:relative;width:100%;height:clamp(560px,calc(100vh - 181px),820px);overflow:hidden;background:var(--ink)}
.hero-sec img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(23,32,30,.80) 0%,rgba(23,32,30,.55) 38%,rgba(23,32,30,0) 72%)}
.hero-pad{position:relative;height:100%;max-width:var(--wrap);margin:0 auto;padding:0 48px 12%;box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:28px}
.hero-title{font-size:72px;line-height:1.04;letter-spacing:-.015em;max-width:640px;color:#fff}
.hero-ctas{display:flex;align-items:center;gap:32px;margin-top:8px}

/* ---------- Trust strip ---------- */
.trust-grid{border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:var(--paper)}
.trust-grid-inner{max-width:var(--wrap);margin:0 auto;padding:0 48px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));box-sizing:border-box}
.trust-item{display:flex;gap:16px;align-items:flex-start;padding:28px 24px;border-left:1px solid var(--line)}
.trust-item:first-child{border-left:0;padding-left:0}

/* ---------- Section heads / grids ---------- */
.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:32px;margin-bottom:40px}
.section-title{font-size:44px;line-height:1.1}
.eyebrow{font-size:14px;font-weight:600;letter-spacing:.09em;text-transform:uppercase;color:var(--accent)}

.cat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:270px;gap:16px}
.cat-tile{position:relative;display:flex;align-items:flex-end;padding:16px;box-sizing:border-box;border-radius:4px;overflow:hidden}
.cat-tile img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.cat-tile-lg{grid-column:span 2;grid-row:span 2}
.tile-label{position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;background:var(--paper);padding:14px 18px;border-radius:2px;box-sizing:border-box}

.grid-4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px 20px}
.product-card{position:relative;display:flex;flex-direction:column;gap:16px}
.product-card .pc-media{display:block;text-decoration:none;color:inherit}
.product-card .product-img{border-radius:4px;background:#E8E2D4}
.product-card .product-img img{transition:opacity .45s ease,transform .6s cubic-bezier(.2,.7,.2,1)}
.product-card:hover .product-img .pc-main{transform:translate(-50%,-50%) scale(1.04)}
.product-img .pc-alt{position:absolute;inset:0;top:0;left:0;right:0;width:100%;height:100%;max-height:none;transform:none;object-fit:cover;opacity:0}
.product-card:hover .product-img.has-alt .pc-alt{opacity:1}
.product-card:hover .product-img.has-alt .pc-main{opacity:0}
.pc-stock{position:absolute;left:12px;top:12px;z-index:2;display:inline-flex;align-items:center;gap:7px;height:28px;padding:0 12px;border-radius:999px;background:rgba(250,248,243,.92);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);font-size:12px;font-weight:600;color:var(--ink);white-space:nowrap}
.pc-dot{width:7px;height:7px;border-radius:50%;background:#4E8F45}
.pc-stock.is-out{color:var(--muted)}
.pc-stock.is-out .pc-dot{background:#A9A193}
.product-img .product-badge{z-index:2}
.product-img .pc-stock~.product-badge,.product-img .product-badge.on-sale{top:48px}
.pc-go{position:absolute;right:12px;bottom:12px;z-index:2;display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;background:var(--ink);color:var(--bg);opacity:0;transform:translateY(6px);transition:opacity .25s,transform .25s,background .2s}
.product-card:hover .pc-go{opacity:1;transform:none}
.pc-media:hover .pc-go{background:var(--accent)}
.pc-body{display:flex;flex-direction:column;gap:8px}
.pc-eyebrow{display:flex;align-items:baseline;justify-content:space-between;gap:12px;font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--accent)}
.pc-eyebrow .pc-sku{font-weight:500;letter-spacing:.02em;color:var(--muted);text-transform:none;font-variant-numeric:tabular-nums}
.pc-title{margin:0;font-size:19px;font-weight:500;line-height:1.3;letter-spacing:-.005em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.pc-title a{color:var(--ink);text-decoration:none;background-image:linear-gradient(currentColor,currentColor);background-size:0 1px;background-repeat:no-repeat;background-position:0 100%;transition:background-size .3s}
.pc-title a:hover{background-size:100% 1px}
.pc-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:4px;padding-top:12px;border-top:1px solid var(--line)}
.pc-price{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;line-height:1.1}
.pc-amount{font-size:19px;font-weight:700;color:var(--ink);font-variant-numeric:tabular-nums}
.pc-currency{font-size:13px;font-weight:500;color:var(--muted)}
.pc-price .pc-old{order:-1;width:100%;font-size:13px;color:var(--muted);font-weight:500}
.product-card.sale .pc-amount{color:var(--sale)}
.pc-price--ask{font-size:15px;font-weight:600;color:var(--muted)}
.pc-swatches{display:flex;align-items:center;flex-shrink:0}
.pc-swatch{display:block;width:24px;height:24px;margin-left:-6px;border-radius:50%;background:#E8E2D4 center/cover no-repeat;box-shadow:0 0 0 2px var(--bg);transition:transform .2s,box-shadow .2s;position:relative}
.pc-swatch:first-child{margin-left:0}
.pc-swatch:hover{transform:translateY(-2px);z-index:2}
.pc-swatch.is-current{box-shadow:0 0 0 2px var(--bg),0 0 0 3px var(--ink);z-index:1}
.pc-swatch--more{display:flex;align-items:center;justify-content:center;background:var(--paper);font-size:10px;font-weight:700;color:var(--muted);text-decoration:none;box-shadow:0 0 0 2px var(--bg),inset 0 0 0 1px var(--line)}

.product-img{position:relative;aspect-ratio:1/1;border-radius:4px;overflow:hidden;display:flex;align-items:center;justify-content:center;background:#E8E2D4}
.product-img img{position:absolute;top:50%;bottom:auto;left:50%;right:auto;height:auto;max-height:100%;transform:translate(-50%,-50%);object-fit:contain}
.product-badge{position:absolute;top:12px;left:12px;background:var(--ink);color:var(--bg);font-size:12px;font-weight:600;padding:5px 11px;border-radius:999px}
.product-badge.on-sale{background:var(--sale)}
.product-meta{font-size:14px;color:var(--muted)}
.add-icon-btn{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;border:1px solid var(--ink);background:transparent;color:var(--ink);cursor:pointer}

.sale-band{background:var(--accent);color:#fff}
.sale-outer{max-width:var(--wrap);margin:0 auto;padding:88px 48px;display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:24px;align-items:center;box-sizing:border-box}
.sale-text{grid-column:span 4;display:flex;flex-direction:column;gap:22px}
.sale-grid{grid-column:span 8;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.sale-card{background:var(--paper);color:var(--ink);border-radius:4px;padding:12px 12px 20px;display:flex;flex-direction:column;gap:14px}

.split-12{max-width:var(--wrap);margin:0 auto;padding:112px 48px;display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:24px;align-items:center;box-sizing:border-box}
.split-5{grid-column:span 5;height:560px;border-radius:999px 999px 0 0;overflow:hidden;background:#C9B99E}
.split-5 img{width:100%;height:100%;object-fit:cover}
.split-6{grid-column:7/span 6;display:flex;flex-direction:column;gap:28px}

.grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}

.newsletter-card{background:var(--ink);color:var(--bg);border-radius:4px;padding:64px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:64px;align-items:center}
.nl-form{display:flex;align-items:center;gap:10px}
.nl-form input{flex:1;min-width:0;height:56px;padding:0 24px;border-radius:999px;border:1px solid rgba(242,238,230,.4);background:transparent;color:var(--bg)}
.nl-form button{height:56px;padding:0 30px;border:0;border-radius:999px;background:var(--bg);color:var(--ink);font-weight:600;cursor:pointer}

/* ---------- Footer ---------- */
.site-footer{background:var(--ink);color:var(--bg)}
.footer-grid{max-width:var(--wrap);margin:0 auto;padding:72px 48px 40px;display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:24px;row-gap:40px;box-sizing:border-box}
.footer-brand{grid-column:span 4}
.footer-col{grid-column:span 2}
.footer-col.wide{grid-column:span 3}
.site-footer a{color:inherit;text-decoration:none;transition:color .15s}
.site-footer .footer-col a:hover,.site-footer .footer-contact a:hover{color:var(--bg)}
.site-footer .footer-social a:hover{background:var(--bg);color:var(--ink)}
.site-footer ul{list-style:none;margin:0;padding:0}
.site-footer p{margin:0}
.footer-bottom{border-top:1px solid rgba(242,238,230,.18)}
.footer-bottom-inner{max-width:var(--wrap);margin:0 auto;padding:24px 48px;display:flex;align-items:center;justify-content:space-between;gap:24px;font-size:13px;color:rgba(242,238,230,.72);box-sizing:border-box}

/* ---------- Breadcrumb ---------- */
.crumb{display:flex;align-items:center;gap:8px;font-size:14px;color:var(--muted)}

/* ---------- Category/shop layout (sidebar + grid) ---------- */
.filter-btn{display:none}
.cat-layout{display:grid;grid-template-columns:316px minmax(0,1fr);gap:48px;align-items:start}
.filters{border:1px solid var(--line);border-radius:4px;padding:24px;background:var(--paper)}
.filter-group{padding:18px 0;border-bottom:1px solid var(--line)}
.filter-group h4{font-size:15px;margin-bottom:12px}
.filter-group ul{display:flex;flex-direction:column;gap:9px}
.filter-group label{display:flex;align-items:center;gap:10px;font-size:14px;color:#3F4844}
.toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}
.grid-3p{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:44px 24px;list-style:none;margin:0;padding:0}
/* Krugovi sa potkategorijama */
.sub-tiles{display:grid;grid-auto-flow:column;grid-auto-columns:130px;gap:16px;overflow-x:auto;padding:28px 0 8px;scrollbar-width:thin}
.sub-tile{display:flex;flex-direction:column;gap:10px;align-items:center;text-decoration:none;color:var(--ink)}
.sub-tile-img{display:block;width:100%;aspect-ratio:1/1;border-radius:50%;border:2px solid transparent;box-shadow:inset 0 0 0 4px var(--bg);transition:border-color .15s,transform .15s}
.sub-tile:hover .sub-tile-img{border-color:var(--line);transform:translateY(-2px)}
.sub-tile.is-active .sub-tile-img{border-color:var(--ink)}
.sub-tile-name{font-size:13px;font-weight:500;text-align:center;line-height:1.3}
.sub-tile.is-active .sub-tile-name{font-weight:700}
@media (max-width:640px){.sub-tiles{grid-auto-columns:96px;gap:12px}}

/* Kartica proizvoda — uži ekrani */
@media (max-width:640px){.pc-title{font-size:16px}.pc-amount{font-size:17px}.pc-row{flex-wrap:wrap}.pc-go{display:none}}

/* Sortiranje (desno iznad proizvoda) */
.toolbar{flex-wrap:wrap}
.woocommerce-ordering{margin:0;position:relative}
.woocommerce-ordering select.orderby{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:44px;min-width:230px;margin:0;padding:0 46px 0 20px;border:1px solid var(--line);border-radius:999px;background-color:var(--paper);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317201E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 18px center;background-size:16px 16px;color:var(--ink);font-family:inherit;font-size:14px;font-weight:500;line-height:42px;cursor:pointer;box-shadow:none;transition:border-color .15s,background-color .15s}
.woocommerce-ordering select.orderby:hover{border-color:var(--ink)}
.woocommerce-ordering select.orderby:focus{outline:none;border-color:var(--ink);box-shadow:0 0 0 3px rgba(23,32,30,.08)}
.woocommerce-ordering select.orderby::-ms-expand{display:none}
@media (max-width:640px){.woocommerce-ordering,.woocommerce-ordering select.orderby{width:100%}}

/* Paginacija */
.pager{margin-top:48px;padding-top:28px;border-top:1px solid var(--line)}
.pager .woocommerce-pagination{display:block}
.pager ul.page-numbers{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px;list-style:none;margin:0;padding:0;border:0}
.pager ul.page-numbers li{margin:0;padding:0;border:0;float:none}
.pager a.page-numbers,.pager span.page-numbers{display:flex;align-items:center;justify-content:center;min-width:42px;height:42px;padding:0 6px;border-radius:999px;border:1px solid var(--line);background:var(--paper);color:var(--ink);font-size:14px;font-weight:500;line-height:1;text-decoration:none;transition:border-color .15s,background .15s,color .15s}
.pager a.page-numbers:hover{border-color:var(--ink)}
.pager span.page-numbers.current{background:var(--ink);color:var(--bg);border-color:var(--ink)}
.pager span.page-numbers.dots{border-color:transparent;background:transparent;min-width:24px;color:var(--muted)}
.pager a.prev,.pager a.next{padding:0 18px;font-size:16px}
.pager a.prev:hover,.pager a.next:hover{background:var(--ink);color:var(--bg)}

/* Filteri */
.tc-filters>.filter-group:first-of-type{padding-top:0}
.tc-filters>.filter-group:last-of-type{border-bottom:0}
.filter-group ul{list-style:none;margin:0;padding:0}
.tc-filters label{cursor:pointer;margin:0}
.tc-filters input[type=checkbox]{width:18px;height:18px;margin:0;flex-shrink:0;accent-color:var(--ink);cursor:pointer}
.tc-filters .tc-label{flex:1;min-width:0}
.tc-filters .tc-count{font-size:12px;color:var(--muted);min-width:26px;height:20px;padding:0 7px;border-radius:999px;background:var(--bg);display:inline-flex;align-items:center;justify-content:center}
.tc-filters label:hover .tc-label{color:var(--ink)}
.tc-filters input:checked~.tc-label{color:var(--ink);font-weight:600}
.filter-group.is-collapsed .tc-more-item{display:none}
.tc-more{margin-top:12px;padding:0;border:0;background:none;color:var(--accent);font-size:13px;font-weight:600;cursor:pointer}
.tc-more:hover{text-decoration:underline}
.tc-active-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:12px}
.tc-active-head h4{margin:0}
.tc-reset{font-size:13px;color:var(--accent);font-weight:600;text-decoration:none}
.tc-reset:hover{text-decoration:underline}
.tc-chips{display:flex;flex-wrap:wrap;gap:6px}
.tc-chip{display:inline-flex;align-items:center;gap:6px;height:30px;padding:0 10px 0 12px;border-radius:999px;background:var(--ink);color:var(--bg);font-size:13px;text-decoration:none}
.tc-chip span{font-size:16px;line-height:1;opacity:.75}
.tc-chip:hover{background:var(--accent);color:#fff}
.filter-group h4 small{font-size:12px;font-weight:400;color:var(--muted)}
.tc-price-row{display:flex;align-items:center;gap:8px}
.tc-price-row label{flex:1;min-width:0}
.tc-price-row input{width:100%;height:40px;padding:0 10px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);font-size:14px;-moz-appearance:textfield}
.tc-price-row input::-webkit-outer-spin-button,.tc-price-row input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.tc-price-sep{color:var(--muted)}
.tc-price-go{flex-shrink:0;width:40px;height:40px;border-radius:50%;border:0;background:var(--ink);color:var(--bg);font-size:16px;cursor:pointer}
.tc-price-go:hover{background:var(--accent)}
.tc-submit{padding-top:18px}
.tc-submit .btn-pill-sm{width:100%;justify-content:center}
.tc-filters.tc-js .tc-submit{display:none}
.tc-filters.is-loading{opacity:.55;pointer-events:none;transition:opacity .15s}
.tc-filters .screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* ---------- Single product ---------- */
.product-single{max-width:var(--wrap);margin:0 auto;padding:40px 48px 112px;display:grid;grid-template-columns:1fr 1fr;gap:56px;box-sizing:border-box}
.product-single .summary{display:flex;flex-direction:column;gap:18px}
.product-single .woocommerce-product-gallery{border-radius:4px;overflow:hidden}
.product-single .price{font-size:28px;font-weight:700;color:var(--ink)}
.product-single table.variations{width:100%}
.product-single .quantity input{height:48px;border-radius:999px;border:1px solid var(--line);text-align:center;width:90px}
.product-single .single_add_to_cart_button{height:56px !important;padding:0 36px !important;border-radius:999px !important;background:var(--accent) !important;color:#fff !important;border:0 !important;font-weight:600 !important;font-size:16px !important}
.product-single .woocommerce-tabs{margin-top:56px;border-top:1px solid var(--line);padding-top:32px}
.related.products{max-width:var(--wrap);margin:0 auto;padding:0 48px 112px;box-sizing:border-box}
.section-pad .related.products,.section-pad .upsells.products{padding:0 0 88px} /* već je unutar .section-pad */
/* Povezani / preporučeni proizvodi: 4 u redu (3 / 2 / 1 na manjim ekranima) */
.related.products>h2,.upsells.products>h2,.cross-sells>h2{font-size:28px;margin:0 0 24px}
ul.products{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px 20px}
ul.products::before,ul.products::after{display:none}
ul.products>li.product{width:auto;float:none;margin:0;padding:0}
ul.products li.product .button,.grid-3p li.product .button{align-self:flex-start;margin-top:auto;display:inline-flex;align-items:center;justify-content:center;height:40px;padding:0 20px;border:1px solid var(--ink);border-radius:999px;background:transparent;color:var(--ink);font-size:14px;font-weight:600;text-decoration:none;transition:background .15s,color .15s}
ul.products li.product .button:hover,.grid-3p li.product .button:hover{background:var(--ink);color:var(--bg)}
ul.products li.product .added_to_cart,.grid-3p li.product .added_to_cart{font-size:14px;margin-top:6px;color:var(--accent)}
.product-price ins{text-decoration:none}
.product-price del{color:var(--muted);font-weight:400;margin-right:6px}
@media (max-width:1200px){ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:900px){ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:480px){ul.products{grid-template-columns:1fr}}

/* ---------- Terracotta Shop plugin: boje teme ---------- */
:root{
  --tcs-accent:var(--accent);
  --tcs-border:var(--line);
  --tcs-text:var(--ink);
  --tcs-muted:var(--muted);
  --tcs-cream:var(--paper);
  --tcs-font:'Hanken Grotesk',system-ui,sans-serif;
}

/* ---------- Cart / checkout ---------- */
.wc-page{max-width:var(--wrap);margin:0 auto;padding:40px 48px 112px;box-sizing:border-box}
.wc-page h1{font-size:40px;margin-bottom:28px}
.section-pad .wc-page{max-width:none;padding:0 0 64px} /* već je unutar .section-pad — bez duplog razmaka */
table.shop_table{width:100%;border-collapse:collapse}
table.shop_table th{text-align:left;font-size:13px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);padding:12px 8px;border-bottom:1px solid var(--line)}
table.shop_table td{padding:16px 8px;border-bottom:1px solid var(--line);vertical-align:middle}
.cart-collaterals .cart_totals{background:var(--paper);border:1px solid var(--line);border-radius:4px;padding:28px;max-width:420px;margin-left:auto}
.cart_totals table{width:100%}
.cart_totals .order-total .amount{font-size:20px;font-weight:700}
#place_order,.checkout-button,input[type="submit"].button{height:56px !important;padding:0 36px !important;border-radius:999px !important;background:var(--accent) !important;color:#fff !important;border:0 !important;font-weight:600 !important;cursor:pointer}
.woocommerce-checkout #order_review{background:var(--paper);border:1px solid var(--line);border-radius:4px;padding:28px}
.woocommerce form .form-row input.input-text,.woocommerce form .form-row select,.woocommerce form .form-row textarea{height:48px;border-radius:8px;border:1px solid var(--line);padding:0 14px}
.woocommerce form .form-row textarea{height:auto;padding:14px}

/* ---------- Stranica "O nama" (page-o-nama.php) ---------- */
.about-intro{padding-top:48px;padding-bottom:72px;display:flex;flex-direction:column;align-items:flex-start;gap:20px}
.about-intro .crumb{margin-bottom:24px}
.about-title{font-size:72px;line-height:1.04;letter-spacing:-.015em;margin:0}
.about-lead{font-size:22px;line-height:1.5;color:#454E4A;max-width:720px;margin:0}
.about-story-band{background:#EAE2D2}
.about-story-band .split-5{height:auto;aspect-ratio:3/4;max-height:720px}
.about-story-band .split-5 img{object-position:50% 35%}
.about-story-band .split-12{align-items:center}
.about-content{display:flex;flex-direction:column;gap:16px;font-size:17px;line-height:1.7;color:#3F4844}
.about-content p{margin:0}
.about-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:8px 0 0;padding:24px 0 0;list-style:none;border-top:1px solid #CBC0AA}
.about-stats li{display:flex;flex-direction:column;gap:4px}
.about-stat-num{font-family:'Roboto',system-ui,sans-serif;font-weight:700;font-size:48px;line-height:1;color:var(--sale)}
.about-stat-label{font-size:15px;color:var(--muted)}
.about-cta{background:var(--paper);color:var(--ink);border:1px solid var(--line);border-radius:4px;padding:72px 64px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:64px;align-items:center}
.about-slogans{list-style:none;margin:18px 0 0;padding:0;display:flex;flex-direction:column;gap:6px}
.about-slogans li{font-family:'Roboto',system-ui,sans-serif;font-weight:700;font-size:48px;line-height:1.1;letter-spacing:-.01em}
.about-cta-side{display:flex;flex-direction:column;gap:20px}
.about-cta-side>p{font-size:20px;line-height:1.5;margin:0;color:#3F4844}
.about-visit{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px;font-size:15px;color:var(--muted)}
.about-visit a{color:inherit;text-decoration:none;border-bottom:1px solid var(--line)}
.about-visit a:hover{color:var(--accent);border-color:var(--accent)}
.about-cta-buttons{display:flex;align-items:center;gap:28px;flex-wrap:wrap;margin-top:8px}
.about-link{font-size:16px;font-weight:600;color:var(--ink);border-bottom:2px solid var(--ink);padding:6px 0;text-decoration:none}
@media (max-width:1024px){
  .about-title{font-size:56px}
  .about-cta{grid-template-columns:1fr;gap:40px;padding:56px 40px}
  .about-slogans li{font-size:40px}
  .about-story-band .split-5{aspect-ratio:4/3;max-height:none}
}
@media (max-width:640px){
  .about-intro{padding-top:32px;padding-bottom:48px}
  .about-title{font-size:40px}
  .about-lead{font-size:18px}
  .about-cta{padding:40px 24px}
  .about-slogans li{font-size:30px}
  .about-stat-num{font-size:40px}
}

/* ---------- Responsive ---------- */
@media (min-width:992px){
  .nav-collapse{display:block !important;height:auto !important}
  .filters-collapse{display:block !important;height:auto !important}
}
.nav-collapse.collapse:not(.show){display:none}
.filters-collapse.collapse:not(.show){display:none}

@media (max-width:1024px){
  .ann-inner{flex-wrap:wrap;height:auto;padding:10px 28px;row-gap:8px}
  .ann-text{display:none}
  .hdr-inner{height:auto;padding:16px 28px;flex-wrap:wrap;row-gap:14px;gap:16px}
  .hdr-search{order:3;flex:1 1 100%;max-width:100%}
  .hdr-label{display:none}
  .burger-btn{display:flex}
  .nav-inner{height:auto;padding:12px 28px;flex-wrap:wrap;row-gap:10px}
  .nav-list{flex-direction:column;align-items:stretch;flex:1 1 100%;width:100%}
  .nav-list>li>a,.nav-list>li>button.nav-top-link{width:100%;justify-content:space-between;height:48px;padding:0 4px}
  .mega-panel{position:static;box-shadow:none;border-top:1px solid var(--line)}
  .mega-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:24px 28px 28px;gap:24px}
  .section-pad{padding-left:28px;padding-right:28px}
  .hero-title{font-size:48px}
  .trust-grid-inner{grid-template-columns:repeat(2,minmax(0,1fr))}
  .trust-item{border-left:0;padding:20px 0}
  .trust-item:nth-child(3),.trust-item:nth-child(4){border-top:1px solid var(--line)}
  .cat-grid,.grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .sale-outer{grid-template-columns:repeat(1,minmax(0,1fr));row-gap:40px}
  .sale-text,.sale-grid{grid-column:span 1}
  .sale-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .split-12{grid-template-columns:repeat(1,minmax(0,1fr));row-gap:40px}
  .split-5{grid-column:span 1;height:380px}
  .split-6{grid-column:span 1}
  .grid-3{grid-template-columns:repeat(2,minmax(0,1fr))}
  .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:32px}
  .footer-brand{grid-column:span 2}
  .footer-col,.footer-col.wide{grid-column:span 1}
  .newsletter-card{grid-template-columns:repeat(1,minmax(0,1fr));row-gap:28px}
  .cat-layout{grid-template-columns:1fr}
  .filters{border:0}
  .filter-btn{display:inline-flex}
  .grid-3p{grid-template-columns:repeat(2,minmax(0,1fr))}
  .product-single{grid-template-columns:1fr;padding:28px 28px 80px}
}

@media (max-width:640px){
  .hdr-inner,.ann-inner,.nav-inner{padding-left:16px;padding-right:16px}
  .mega-grid{grid-template-columns:repeat(1,minmax(0,1fr));padding:20px 16px 24px}
  .section-pad{padding-left:16px;padding-right:16px}
  .section-title{font-size:28px}
  .hero-sec{height:560px}
  .hero-pad{padding:0 16px 14%}
  .hero-title{font-size:32px}
  .hero-ctas{flex-wrap:wrap;row-gap:14px}
  .trust-grid-inner{grid-template-columns:1fr}
  .trust-item{border-top:1px solid var(--line)}
  .trust-item:first-child{border-top:0}
  .section-head{flex-wrap:wrap;row-gap:16px}
  .cat-grid,.grid-4,.grid-3p{grid-template-columns:1fr}
  .cat-tile-lg{grid-column:span 1;grid-row:span 1}
  .sale-grid{grid-template-columns:1fr}
  .grid-3{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr}
  .footer-brand,.footer-col,.footer-col.wide{grid-column:span 1}
  .footer-bottom-inner{flex-wrap:wrap;row-gap:8px;text-align:center;justify-content:center}
  .newsletter-card{padding:32px}
  .nl-form{flex-wrap:wrap}
  .nl-form input,.nl-form button{flex:1 1 100%}
}

/* ---------- Blog ---------- */
.blog-cats{display:flex;flex-wrap:wrap;gap:8px;margin:28px 0 36px}
.blog-cats a{display:inline-flex;align-items:center;height:38px;padding:0 16px;border:1px solid var(--line);border-radius:999px;font-size:14px;font-weight:600;background:var(--paper)}
.blog-cats a.is-active,.blog-cats a:hover{background:var(--ink);color:var(--bg);border-color:var(--ink)}
.blog-grid{gap:48px 28px}
.post-card{display:flex;flex-direction:column;gap:18px}
.post-card-img{display:block;aspect-ratio:16/10;border-radius:6px;overflow:hidden;background:#D9CDB8}
.post-card-img img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.post-card:hover .post-card-img img{transform:scale(1.04)}
.post-card-body{display:flex;flex-direction:column;gap:10px}
.post-card-cat{font-size:13px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--accent)}
.post-card-title{font-size:24px;line-height:1.22}
.post-card-excerpt{color:#3F4844;font-size:15px;line-height:1.6}
.post-card-more{font-weight:600;font-size:15px;align-self:flex-start;border-bottom:2px solid var(--ink);padding-bottom:2px}
.sp-head{max-width:820px;margin:16px auto 32px;text-align:center;display:flex;flex-direction:column;gap:14px}
.sp-title{font-size:48px;line-height:1.1}
.sp-lead{font-size:19px;color:#3F4844;line-height:1.55}
.sp-hero{max-width:1080px;margin:0 auto 48px}
.sp-hero img{width:100%;max-height:560px;object-fit:cover;border-radius:8px;display:block}
.sp-hero figcaption{font-size:12px;color:var(--muted);margin-top:8px;text-align:right}
.sp-content{max-width:720px;margin:0 auto;font-size:17px;line-height:1.75;color:#2C3532}
.sp-content h2{font-size:28px;line-height:1.25;margin:40px 0 14px;color:var(--ink)}
.sp-content p{margin:0 0 18px}
.sp-content ul{margin:0 0 22px;padding-left:22px;list-style:disc}
.sp-content li{margin:6px 0}
.sp-content a{color:var(--accent);border-bottom:1px solid currentColor}
.sp-more{margin-top:96px;padding-top:56px;border-top:1px solid var(--line)}
@media (max-width:900px){.sp-title{font-size:34px}.post-card-title{font-size:21px}}

/* ==========================================================================
   v1.0.14 — Prodavnica: širi i moderniji filter, modernija kartica artikla,
   poruke WooCommerce-a, slika na stranici artikla, raspored na plaćanju.
   ========================================================================== */

/* ---------- Filter (leva kolona) ---------- */
.filters{border:1px solid var(--line);border-radius:14px;padding:6px 22px 20px;background:var(--paper)}
.tc-filters .filter-group{padding:16px 0;border-bottom:1px solid var(--line)}
.tc-filters>.filter-group:first-of-type{padding-top:16px}
.tc-filters .filter-group h4{margin:0;font-size:15px}
.tc-toggle{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:0;border:0;background:none;color:var(--ink);font-family:'Roboto',system-ui,sans-serif;font-size:15px;font-weight:500;text-align:left;cursor:pointer}
.tc-toggle small{font-family:'Hanken Grotesk',system-ui,sans-serif;font-size:12px;font-weight:400;color:var(--muted)}
.tc-toggle .tc-chev{flex-shrink:0;color:var(--muted);transition:transform .2s}
.tc-toggle:hover .tc-chev{color:var(--ink)}
.tc-sel-count{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;margin-left:6px;padding:0 6px;border-radius:999px;background:var(--accent);color:#fff;font-family:'Hanken Grotesk',system-ui,sans-serif;font-size:11px;font-style:normal;font-weight:700;vertical-align:1px}
.tc-group-body{margin-top:12px}
.tc-filters.tc-js .filter-group.is-folded .tc-group-body{display:none}
.tc-filters.tc-js .filter-group.is-folded .tc-chev{transform:rotate(-90deg)}

/* Stavke sa kvadratićem */
.tc-filters .filter-group ul{gap:1px}
.tc-filters .filter-group label{display:flex;align-items:center;gap:11px;margin:0 -8px;padding:6px 8px;border-radius:8px;font-size:14px;color:#3F4844;transition:background .15s}
.tc-filters .filter-group label:hover{background:var(--bg)}
.tc-filters input[type=checkbox]{-webkit-appearance:none;appearance:none;position:relative;width:18px;height:18px;margin:0;border:1.5px solid #BDB4A3;border-radius:5px;background:#fff;transition:background .15s,border-color .15s}
.tc-filters input[type=checkbox]:hover{border-color:var(--ink)}
.tc-filters input[type=checkbox]:checked{border-color:var(--ink);background:var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/12px 12px no-repeat}
.tc-filters input[type=checkbox]:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.tc-filters .tc-count{min-width:0;height:auto;padding:0;background:none;font-size:12px;color:#8C8577;font-variant-numeric:tabular-nums}

/* Grupe kao "pilule" (format, debljina, klasa) */
.tc-filters .filter-group--pills ul{flex-direction:row;flex-wrap:wrap;gap:6px}
.tc-filters .filter-group--pills label{position:relative;gap:6px;margin:0;height:34px;padding:0 12px;border:1px solid var(--line);border-radius:999px;background:#fff;font-size:13px;font-weight:500;white-space:nowrap;font-variant-numeric:tabular-nums;transition:border-color .15s,background .15s,color .15s}
.tc-filters .filter-group--pills label:hover{background:#fff;border-color:var(--ink)}
.tc-filters .filter-group--pills input[type=checkbox]{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}
.tc-filters .filter-group--pills .tc-count{font-size:11px}
.tc-filters .filter-group--pills label:has(input:checked){background:var(--ink);border-color:var(--ink);color:var(--bg)}
.tc-filters .filter-group--pills label:has(input:checked) .tc-label{color:var(--bg)}
.tc-filters .filter-group--pills label:has(input:checked) .tc-count{color:rgba(242,238,230,.7)}
.tc-filters .filter-group--pills label:has(input:focus-visible){outline:2px solid var(--ink);outline-offset:2px}
.tc-filters .filter-group--pills.is-collapsed .tc-more-item{display:none}

/* Izabrani filteri */
.tc-filters .tc-active{padding-top:18px}
.tc-active-head h4{font-family:'Roboto',system-ui,sans-serif;font-size:15px}
.tc-chip{height:30px;font-size:12px;font-weight:500}

/* Cena */
.tc-price-row{align-items:flex-end}
.tc-price-cap{display:block;margin-bottom:5px;font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.tc-price-row input{height:42px;padding:0 12px;border-radius:10px;font-variant-numeric:tabular-nums;transition:border-color .15s}
.tc-price-row input:focus{outline:none;border-color:var(--ink)}
.tc-price-sep{height:42px;display:flex;align-items:center}
.tc-price-go{width:42px;height:42px;display:flex;align-items:center;justify-content:center;padding:0}
.tc-more{margin-top:10px}

/* ---------- Kartica artikla ---------- */
.grid-3p{gap:28px 20px}
.product-card{gap:0;padding:10px 10px 16px;border:1px solid transparent;border-radius:14px;background:var(--paper);transition:border-color .25s,box-shadow .25s,transform .25s}
.product-card:hover{border-color:var(--line);box-shadow:0 18px 36px -20px rgba(23,32,30,.28)}
.product-card .product-img{border-radius:10px;background:#E8E2D4}
.pc-stock{left:10px;top:10px;height:24px;padding:0 10px;gap:6px;font-size:11px}
.pc-dot{width:6px;height:6px}
.product-img .pc-stock~.product-badge,.product-img .product-badge.on-sale{top:40px;left:10px;font-size:11px;padding:4px 10px}
.pc-go{width:38px;height:38px;right:10px;bottom:10px}
.pc-body{gap:6px;padding:14px 6px 0}
.pc-eyebrow{font-size:11px;letter-spacing:.09em}
.pc-eyebrow .pc-sku{font-size:11px;letter-spacing:.01em}
.pc-title{font-family:'Hanken Grotesk',system-ui,sans-serif;font-size:15.5px;font-weight:600;line-height:1.35;letter-spacing:0;min-height:2.7em}
.pc-specs{display:flex;flex-wrap:wrap;gap:5px;margin:2px 0 0;padding:0;list-style:none}
.pc-specs li{display:inline-flex;align-items:center;height:24px;padding:0 9px;border-radius:999px;background:var(--bg);font-size:12px;font-weight:500;color:#4A534F;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis;font-variant-numeric:tabular-nums}
.pc-row{margin-top:8px;padding-top:12px}
.pc-amount{font-size:18px}
.pc-currency{font-size:12px}
.pc-price .pc-old{font-size:12px}
.pc-swatch{width:22px;height:22px;box-shadow:0 0 0 2px var(--paper)}
.pc-swatch.is-current{box-shadow:0 0 0 2px var(--paper),0 0 0 3px var(--ink)}
.pc-swatch--more{box-shadow:0 0 0 2px var(--paper),inset 0 0 0 1px var(--line)}
@media (max-width:640px){.product-card{padding:8px 8px 14px}.pc-title{font-size:15px;min-height:0}.pc-amount{font-size:17px}}

/* ---------- Poruke (dodato u korpu, greške, info) ---------- */
.woocommerce-notices-wrapper:empty{display:none}
div.product>.woocommerce-notices-wrapper{max-width:var(--wrap);margin:0 auto;padding:16px 48px 0;box-sizing:border-box}
html body .woocommerce-message,html body .woocommerce-info,html body .woocommerce-error{position:relative;display:flex !important;align-items:center;flex-wrap:wrap;gap:10px 16px;margin:0 0 16px !important;padding:14px 14px 14px 18px !important;border:1px solid var(--line) !important;border-left:4px solid #4E8F45 !important;border-radius:12px !important;background:var(--paper) !important;color:var(--ink) !important;font-size:15px;line-height:1.45;list-style:none;box-shadow:0 10px 24px -18px rgba(23,32,30,.35)}
html body .woocommerce-message:focus{outline:none}
html body .woocommerce-message::before,html body .woocommerce-info::before,html body .woocommerce-error::before{content:"" !important;position:static !important;flex-shrink:0;width:28px;height:28px;border-radius:50%;background:#4E8F45 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/14px 14px no-repeat}
html body .woocommerce-info{border-left-color:var(--ink) !important}
html body .woocommerce-info::before{background:var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 11v6M12 7h.01'/%3E%3C/svg%3E") center/14px 14px no-repeat}
html body .woocommerce-error{flex-direction:column;align-items:flex-start;gap:4px;padding-left:60px !important;border-left-color:var(--sale) !important}
html body .woocommerce-error::before{position:absolute !important;left:18px;top:14px;background:var(--sale) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 7v6M12 17h.01'/%3E%3C/svg%3E") center/14px 14px no-repeat}
html body .woocommerce-error li{margin:0;padding:0}
html body :is(.woocommerce-message,.woocommerce-info) .button,html body :is(.woocommerce-message,.woocommerce-info) a.wc-forward{order:2;margin-left:auto;display:inline-flex;align-items:center;gap:8px;height:40px;padding:0 20px;border:0;border-radius:999px;background:var(--ink) !important;color:var(--bg) !important;font-size:14px;font-weight:600;white-space:nowrap;text-decoration:none;transition:background .15s}
html body :is(.woocommerce-message,.woocommerce-info) .button:hover{background:var(--accent) !important;color:#fff !important;opacity:1}
html body :is(.woocommerce-message,.woocommerce-info) a:not(.button){color:var(--accent) !important;font-weight:600}
@media (max-width:1024px){div.product>.woocommerce-notices-wrapper{padding:12px 28px 0}}
@media (max-width:640px){
  div.product>.woocommerce-notices-wrapper{padding:12px 16px 0}
  html body :is(.woocommerce-message,.woocommerce-info) .button{margin-left:44px}
}

/* ---------- Stranica artikla: slika najviše 70vh, bez izduživanja ---------- */
.product-single .woocommerce-product-gallery{background:#ECE6DA;border-radius:10px}
.product-single .woocommerce-product-gallery__image>a{display:flex !important;align-items:center;justify-content:center}
.product-single .woocommerce-product-gallery__image img,
.product-single .woocommerce-product-gallery__image img.wp-post-image{width:auto !important;max-width:100% !important;height:auto !important;max-height:70vh !important;margin:0 auto;object-fit:contain}
.product-single .flex-control-thumbs{background:var(--bg)}

/* ---------- Plaćanje: uža forma, širi "Vaša porudžbina" ---------- */
@media (min-width:1100px){
  body.woocommerce-checkout.tcs-shop-flow{--tcs-checkout-sidebar:clamp(460px,46%,640px)}
}
/* Polja: grad · okrug · poštanski broj u jednom redu, telefon i e-mail po 50% */
@container tcscustomer (min-width:560px){
  body.tcs-shop-flow #customer_details :is(.woocommerce-billing-fields__field-wrapper,.woocommerce-shipping-fields__field-wrapper){grid-template-columns:repeat(6,minmax(0,1fr))}
  body.tcs-shop-flow #customer_details :is(.woocommerce-billing-fields__field-wrapper,.woocommerce-shipping-fields__field-wrapper)>.form-row{grid-column:1/-1}
  body.tcs-shop-flow #customer_details :is(.woocommerce-billing-fields__field-wrapper,.woocommerce-shipping-fields__field-wrapper)>.form-row-first{grid-column:1/span 3}
  body.tcs-shop-flow #customer_details :is(.woocommerce-billing-fields__field-wrapper,.woocommerce-shipping-fields__field-wrapper)>.form-row-last{grid-column:4/span 3}
  body.tcs-shop-flow #customer_details :is(.woocommerce-billing-fields__field-wrapper,.woocommerce-shipping-fields__field-wrapper)>[id$="_city_field"]{grid-column:1/span 2}
  body.tcs-shop-flow #customer_details :is(.woocommerce-billing-fields__field-wrapper,.woocommerce-shipping-fields__field-wrapper)>[id$="_state_field"]{grid-column:3/span 2}
  body.tcs-shop-flow #customer_details :is(.woocommerce-billing-fields__field-wrapper,.woocommerce-shipping-fields__field-wrapper)>[id$="_postcode_field"]{grid-column:5/span 2}
  /* Ako izabrana zemlja nema okruge (polje sakriveno): grad i poštanski broj po 50% */
  body.tcs-shop-flow #customer_details :is(.woocommerce-billing-fields__field-wrapper,.woocommerce-shipping-fields__field-wrapper):has(>[id$="_state_field"][style*="none"],>[id$="_state_field"] input[type="hidden"])>[id$="_city_field"]{grid-column:1/span 3}
  body.tcs-shop-flow #customer_details :is(.woocommerce-billing-fields__field-wrapper,.woocommerce-shipping-fields__field-wrapper):has(>[id$="_state_field"][style*="none"],>[id$="_state_field"] input[type="hidden"])>[id$="_postcode_field"]{grid-column:4/span 3}
  body.tcs-shop-flow #customer_details .woocommerce-billing-fields__field-wrapper>#billing_phone_field{grid-column:1/span 3}
  body.tcs-shop-flow #customer_details .woocommerce-billing-fields__field-wrapper>#billing_email_field{grid-column:4/span 3}
}

/* Povezani / preporučeni proizvodi: kartica zadržava svoj unutrašnji razmak
   (ul.products>li.product inače postavlja padding:0) */
ul.products>li.product.product-card{padding:10px 10px 16px}
ul.products>li.product.product-card .pc-body{padding:14px 6px 0}

/* Krugovi sa potkategorijama: slika ostaje unutar kruga (ranije je izlazila ispod
   providnog okvira i izgledala odsečeno), razmak do okvira je pravi padding */
.sub-tiles{padding:24px 4px 12px}
.sub-tile-img{box-sizing:border-box;padding:4px;border:2px solid transparent;box-shadow:none;background-clip:content-box !important;background-origin:content-box !important}
.sub-tile:hover .sub-tile-img{border-color:#BDB4A3}
.sub-tile.is-active .sub-tile-img{border-color:var(--ink)}


.woocommerce-product-gallery__wrapper {
	
}
.woocommerce-product-gallery__image.flex-active-slide {
	min-height: 55Vh !important;
	height: auto;
	position: relative;
	vertical-align: middle;
}
.woocommerce-product-gallery__image.flex-active-slide a {
	

}
.woocommerce-product-gallery__image.flex-active-slide a img {
	display: block;
	width: 100%;
	height: auto;
	max-width: 100%;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 100%;
	display: block;
}
.term-sanitarije .product-card .product-img,
.term-slavine-i-baterije .product-card .product-img {
    border-radius: 10px;
    background: #fff;
}