/* ==========================================================
   Dizajn C – Metal Alat Plus
   Industrijski stil: tamni čelik #14181c / #1d2329, signalno žuta #ffc400,
   Barlow Condensed (naslovi) + Barlow (tekst), kosi rezovi.
   ========================================================== */
:root {
  --y: #ffc400; --yd: #e3ac00; --ink: #14181c; --steel: #1d2329; --steel2: #2a323a;
  --mut: #5f6b76; --line: #e2e5e8; --bg: #f3f4f6; --w: 1320px;
  --fh: 'Barlow Condensed', 'Arial Narrow', sans-serif; --fb: 'Barlow', Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--steel); font: 400 16px/1.55 var(--fb); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4, h5 { font-family: var(--fh); font-weight: 700; line-height: 1.1; color: var(--ink); margin: 0 0 .5em; letter-spacing: .01em; }
p { margin: 0 0 1em; }
.ap-i { width: 1.1em; height: 1.1em; flex: none; vertical-align: -.15em; }
.screen-reader-text { position: absolute !important; clip: rect(1px,1px,1px,1px); width: 1px; height: 1px; overflow: hidden; }
.ap-wrap, .col-full { max-width: var(--w); margin: 0 auto; padding-left: 24px; padding-right: 24px; width: 100%; }
.col-full::before, .col-full::after, .site-content::before, .site-content::after { display: none !important; }

/* ---------- gumbi ---------- */
.ap-btn, .button, button.button, a.button, input[type=submit], .wp-block-button__link,
.wc-block-components-button:not(.is-link), .woocommerce #respond input#submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer;
  background: var(--y); color: var(--ink) !important; border: 0; border-radius: 0; padding: .8em 1.5em;
  font: 700 15px/1.2 var(--fh); letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%); transition: background .15s, transform .15s;
}
.ap-btn:hover, .button:hover, button.button:hover, a.button:hover, input[type=submit]:hover, .wc-block-components-button:not(.is-link):hover { background: #ffd23d; color: var(--ink) !important; }
.ap-btn--ghost { background: transparent; color: #fff !important; box-shadow: inset 0 0 0 2px rgba(255,255,255,.55); clip-path: none; }
.ap-btn--ghost:hover { background: rgba(255,255,255,.1); color: #fff !important; }
.ap-btn--dark { background: var(--ink); color: #fff !important; }
.ap-btn--dark:hover { background: #000; color: #fff !important; }
.button.alt, .single_add_to_cart_button { background: var(--y); }

/* ---------- gornja traka + zaglavlje ---------- */
.ap-top { background: #0e1114; color: #aeb7bf; font-size: 13px; }
.ap-top .ap-wrap { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 16px; }
.ap-top .ap-i { color: var(--y); margin-right: 4px; }
.ap-top__r { display: flex; gap: 22px; }
.ap-top a { text-decoration: none; } .ap-top a:hover { color: #fff; }
.ap-head { position: sticky; top: 0; z-index: 60; background: #fff; transition: box-shadow .2s; }
.ap-head.is-stuck { box-shadow: 0 6px 20px rgba(14,17,20,.16); }
.ap-head__row { display: flex; align-items: center; gap: 22px; padding-top: 14px; padding-bottom: 14px; }
.ap-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.ap-logo__t { display: flex; flex-direction: column; line-height: .95; font-family: var(--fh); text-transform: uppercase; }
.ap-logo__t b { font-size: 27px; font-weight: 800; color: var(--ink); letter-spacing: .02em; }
.ap-logo__t i { font-style: normal; font-size: 15px; font-weight: 700; letter-spacing: .5em; color: var(--mut); padding-left: 2px; }
.ap-search { flex: 1 1 auto; display: flex; max-width: 760px; margin-left: auto; border: 2px solid var(--ink); background: #fff; }
.ap-search select { flex: 0 0 auto; max-width: 190px; border: 0; border-right: 2px solid var(--ink); background: var(--bg); padding: 0 12px; font: 600 14px var(--fb); color: var(--ink); height: 46px; cursor: pointer; }
.ap-search input[type=search] { flex: 1; min-width: 0; border: 0; padding: 0 14px; font: 400 16px var(--fb); height: 46px; outline: 0; }
.ap-search button { flex: none; width: 54px; border: 0; background: var(--y); color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.ap-search button:hover { background: var(--ink); color: var(--y); }
.ap-search .ap-i { width: 22px; height: 22px; }
.ap-act, .ap-cart { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); font-weight: 600; flex: none; position: relative; }
.ap-act .ap-i, .ap-cart .ap-i { width: 26px; height: 26px; }
.ap-act span { font-size: 13px; line-height: 1.1; }
.ap-cart__n { position: absolute; top: -8px; left: 14px; min-width: 20px; height: 20px; border-radius: 20px; background: var(--y); color: var(--ink); font: 700 12px/20px var(--fb); text-align: center; padding: 0 5px; }
.ap-cart__t { font: 700 20px var(--fh); letter-spacing: .02em; }
.ap-cart__t .woocommerce-Price-amount { color: var(--ink); }
.ap-burger { display: none; background: none; border: 0; padding: 4px; cursor: pointer; color: var(--ink); }
.ap-burger .ap-i { width: 30px; height: 30px; }

/* glavni izbornik */
.ap-nav { background: var(--steel); }
.ap-nav__row { display: flex; align-items: stretch; gap: 0; padding-top: 0; padding-bottom: 0; }
.ap-all { position: relative; flex: none; }
.ap-all__btn { display: flex; align-items: center; gap: 10px; height: 100%; padding: 0 26px 0 20px; background: var(--y); color: var(--ink) !important; font: 800 17px var(--fh); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; min-height: 48px; clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%); }
.ap-mega { display: none; position: absolute; left: 0; top: 100%; width: 310px; background: #fff; box-shadow: 0 18px 40px rgba(14,17,20,.28); border-top: 3px solid var(--y); z-index: 70; }
.ap-all:hover .ap-mega, .ap-all:focus-within .ap-mega { display: block; }
.ap-mega ul { list-style: none; margin: 0; padding: 0; }
.ap-mega > ul > li { position: relative; border-bottom: 1px solid var(--line); }
.ap-mega > ul > li > a { display: flex; align-items: center; gap: 8px; padding: 12px 18px; text-decoration: none; font-weight: 600; color: var(--ink); }
.ap-mega > ul > li > a em { margin-left: auto; font-style: normal; font-size: 12px; color: var(--mut); }
.ap-mega > ul > li > a .ap-i { width: 16px; height: 16px; color: var(--mut); }
.ap-mega > ul > li:hover > a { background: var(--bg); }
.ap-mega li ul { display: none; position: absolute; left: 100%; top: -3px; width: 290px; background: #fff; box-shadow: 0 18px 40px rgba(14,17,20,.28); border-top: 3px solid var(--y); }
.ap-mega li:hover > ul { display: block; }
.ap-mega li ul a { display: flex; justify-content: space-between; padding: 10px 18px; text-decoration: none; color: var(--steel); border-bottom: 1px solid var(--line); }
.ap-mega li ul a:hover { background: var(--bg); color: var(--ink); }
.ap-mega li ul a em { font-style: normal; font-size: 12px; color: var(--mut); }
.ap-nav__links { list-style: none; margin: 0; padding: 0 0 0 10px; display: flex; flex-wrap: wrap; align-items: stretch; }
.ap-nav__links a { display: flex; align-items: center; height: 100%; min-height: 48px; padding: 0 16px; color: #e8ecef; text-decoration: none; font: 600 16px var(--fh); letter-spacing: .07em; text-transform: uppercase; }
.ap-nav__links a:hover { color: var(--y); }
.ap-nav__sp { margin-left: auto; }
.ap-nav__sp a { color: var(--y); }

/* ---------- breadcrumb + sadržaj ---------- */
.ap-crumbs { background: var(--bg); border-bottom: 1px solid var(--line); font-size: 14px; color: var(--mut); }
.ap-crumbs nav { padding: 11px 0; }
.ap-crumbs a { text-decoration: none; color: var(--mut); } .ap-crumbs a:hover { color: var(--ink); }
.ap-sep { margin: 0 8px; color: #b6bec5; }
.site-content { padding: 34px 0 60px; }
.home .site-content { padding: 0; }
.site-main, #primary { min-width: 0; }
.entry-header { margin-bottom: 14px; }
.entry-title, .woocommerce-products-header__title.page-title, .page-title { font: 800 40px/1.05 var(--fh); text-transform: uppercase; margin: 0 0 18px; color: var(--ink); position: relative; padding-bottom: 14px; }
.entry-title::after, .woocommerce-products-header__title::after { content: ''; position: absolute; left: 0; bottom: 0; width: 64px; height: 5px; background: var(--y); }
.entry-content, .entry-content p { color: #3a444d; }
.entry-content h2 { font-size: 28px; text-transform: uppercase; margin-top: 1.4em; }
.entry-content a { color: var(--ink); text-decoration-color: var(--y); text-decoration-thickness: 2px; }
.hentry { margin: 0; }
.term-description { color: var(--mut); margin-bottom: 18px; }

/* raspored s bočnim izbornikom (trgovina i grupe) */
.ap-has-side #content > .col-full { display: grid; grid-template-columns: 276px minmax(0, 1fr); gap: 38px; align-items: start; }
.ap-has-side #content > .col-full > .woocommerce:empty { display: none; }
.ap-has-side #primary { grid-column: 2; grid-row: 1; }
.ap-has-side #secondary { grid-column: 1; grid-row: 1; position: sticky; top: 150px; }
.ap-has-side #content > .col-full > .woocommerce:not(:empty) { grid-column: 1 / -1; grid-row: 0; }
#secondary .widget { margin: 0 0 22px; background: #fff; border: 1px solid var(--line); }
#secondary .widget-title, #secondary .gamma { font: 800 20px var(--fh); text-transform: uppercase; letter-spacing: .04em; margin: 0; padding: 13px 18px; background: var(--steel); color: #fff; border-left: 5px solid var(--y); }
#secondary .widget > *:not(.widget-title):not(.gamma) { margin-left: 18px; margin-right: 18px; }
#secondary .widget > ul, #secondary .widget > div { margin-top: 10px; margin-bottom: 14px; }
.widget_product_categories ul { list-style: none; margin: 0; padding: 0; }
.widget_product_categories li { display: flex; flex-wrap: wrap; align-items: baseline; border-bottom: 1px solid var(--line); }
.widget_product_categories li:last-child { border-bottom: 0; }
.widget_product_categories li a { flex: 1; padding: 8px 0; text-decoration: none; font-weight: 600; color: var(--ink); }
.widget_product_categories li a:hover, .widget_product_categories li.current-cat > a, .widget_product_categories li.current-cat-parent > a { color: #b98a00; }
.widget_product_categories .count { color: var(--mut); font-size: 13px; margin-left: 8px; }
.widget_product_categories ul.children { flex: 0 0 100%; margin: 0 0 6px 12px; }
.widget_product_categories ul.children li { border: 0; }
.widget_product_categories ul.children a { font-weight: 400; padding: 4px 0; font-size: 15px; }
.widget_price_filter .price_slider { margin: 8px 6px 18px; height: 6px; background: var(--line); position: relative; border-radius: 3px; }
.widget_price_filter .ui-slider-range { position: absolute; height: 100%; background: var(--y); }
.widget_price_filter .ui-slider-handle { position: absolute; top: -6px; width: 18px; height: 18px; margin-left: -9px; background: var(--ink); border: 3px solid var(--y); border-radius: 50%; cursor: pointer; outline: 0; }
.widget_price_filter .price_slider_amount { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.widget_price_filter .price_slider_amount .button { padding: .55em 1.1em; font-size: 14px; }
.widget_price_filter .price_label { font-weight: 600; }

/* ---------- popis proizvoda ---------- */
.woocommerce-products-header { margin: 0 0 4px; }
.storefront-sorting, .woocommerce-notices-wrapper + .storefront-sorting { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 0 0 20px; padding: 10px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.storefront-sorting .woocommerce-pagination { display: none; }
.woocommerce-result-count { margin: 0; color: var(--mut); font-size: 14px; }
.woocommerce-ordering { margin: 0; }
.woocommerce-ordering select, select, input[type=text], input[type=email], input[type=tel], input[type=number], input[type=password], input[type=search], textarea {
  border: 1px solid #c6ccd2; border-radius: 0; padding: .6em .8em; font: 400 15px var(--fb); background: #fff; color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--y); outline-offset: 0; border-color: var(--ink); }

ul.products { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(236px, 1fr)); gap: 22px; list-style: none; margin: 0 0 30px; padding: 0; }
ul.products::before, ul.products::after { display: none !important; }
ul.products li.product { position: relative; float: none !important; width: auto !important; margin: 0 !important; clear: none !important; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); transition: box-shadow .18s, border-color .18s, transform .18s; }
ul.products li.product::before { content: ''; position: absolute; left: -1px; right: -1px; top: -1px; height: 4px; background: var(--y); transform: scaleX(0); transform-origin: left; transition: transform .22s; z-index: 2; }
ul.products li.product:hover { border-color: #cfd4d9; box-shadow: 0 12px 28px rgba(14,17,20,.12); transform: translateY(-3px); }
ul.products li.product:hover::before { transform: scaleX(1); }
ul.products li.product a.woocommerce-LoopProduct-link { display: flex; flex-direction: column; flex: 1; text-decoration: none; color: inherit; }
ul.products li.product img { width: 100% !important; height: 230px; object-fit: contain; background: var(--bg); padding: 14px; margin: 0 0 14px; mix-blend-mode: multiply; }
ul.products li.product .woocommerce-loop-product__title { font: 600 15.5px/1.3 var(--fb); color: var(--ink); margin: 0 16px 8px; padding: 0; min-height: 3.9em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
ul.products li.product .price { margin: 0 16px 14px; font: 700 27px/1 var(--fh); color: var(--ink); display: block; margin-top: auto; }
ul.products li.product .price del { color: #8b95a0; font-size: 18px; font-weight: 600; margin-right: 6px; }
ul.products li.product .price ins { text-decoration: none; color: #c2410c; }
ul.products li.product .button { margin: 0 16px 16px; align-self: stretch; padding: .75em 1em; }
ul.products li.product .added_to_cart { margin: -6px 16px 14px; font-size: 14px; font-weight: 600; text-align: center; }
ul.products li.product .star-rating { display: none; }
ul.products li.product .onsale, span.onsale { position: absolute; top: 12px; left: 0; z-index: 3; background: var(--ink); color: var(--y); font: 800 14px var(--fh); letter-spacing: .08em; text-transform: uppercase; padding: 4px 14px 4px 10px; margin: 0; min-height: 0; min-width: 0; line-height: 1.3; border-radius: 0; clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%); }
ul.products li.product-category { padding-bottom: 14px; text-align: center; }
ul.products li.product-category h2 { font: 700 22px var(--fh); text-transform: uppercase; margin: 6px 12px 0; }
ul.products li.product-category mark { background: none; color: var(--mut); font-size: 15px; }

.woocommerce-pagination { margin: 8px 0 0; }
.woocommerce-pagination ul.page-numbers { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; border: 0; }
.woocommerce-pagination ul.page-numbers li { border: 0; float: none; }
.woocommerce-pagination .page-numbers a, .woocommerce-pagination .page-numbers span { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 10px; border: 1px solid var(--line); background: #fff; font: 700 17px var(--fh); text-decoration: none; color: var(--ink); }
.woocommerce-pagination .page-numbers a:hover { border-color: var(--ink); }
.woocommerce-pagination .page-numbers .current { background: var(--ink); color: var(--y); border-color: var(--ink); }

/* ---------- stranica artikla ---------- */
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 20px 54px; align-items: start; }
.single-product div.product > * { grid-column: 1 / -1; }
.single-product div.product div.images, .single-product div.product .woocommerce-product-gallery { grid-column: 1; float: none !important; width: 100% !important; margin: 0 !important; background: var(--bg); border: 1px solid var(--line); position: relative; }
.single-product div.product .woocommerce-product-gallery img { background: transparent; mix-blend-mode: multiply; max-height: 560px; object-fit: contain; margin: 0 auto; }
.single-product div.product .flex-control-thumbs { display: flex; gap: 8px; padding: 10px; margin: 0; list-style: none; background: #fff; border-top: 1px solid var(--line); }
.single-product div.product .flex-control-thumbs li { width: 76px !important; float: none !important; margin: 0 !important; }
.single-product div.product .flex-control-thumbs img { opacity: .6; border: 2px solid transparent; background: var(--bg); } .single-product div.product .flex-control-thumbs img.flex-active, .single-product div.product .flex-control-thumbs img:hover { opacity: 1; border-color: var(--y); }
.single-product div.product .summary { grid-column: 2; float: none !important; width: 100% !important; margin: 0 !important; position: static; }
.single-product .product_title { font: 800 38px/1.08 var(--fh); text-transform: uppercase; margin: 0 0 12px; padding: 0; }
.single-product .product_title::after { display: none; }
.single-product .summary .price { font: 800 44px/1 var(--fh); color: var(--ink); margin: 6px 0 18px; display: block; }
.single-product .summary .price del { font-size: 26px; color: #8b95a0; }
.single-product .summary .price ins { text-decoration: none; color: #c2410c; }
.woocommerce-product-details__short-description { color: #3a444d; margin-bottom: 18px; }
.single-product form.cart { display: flex; gap: 12px; align-items: stretch; margin: 0 0 18px; flex-wrap: wrap; }
.quantity .qty { width: 78px; height: 52px; text-align: center; font: 700 20px var(--fh); border: 2px solid var(--ink); padding: 0; }
.single_add_to_cart_button { flex: 1; min-height: 52px; font-size: 19px !important; }
.ap-perks { list-style: none; margin: 0 0 20px; padding: 16px 18px; background: var(--bg); border-left: 5px solid var(--y); display: grid; gap: 9px; font-size: 15px; }
.ap-perks li { display: flex; gap: 10px; align-items: flex-start; } .ap-perks .ap-i { color: #b98a00; margin-top: 3px; }
.product_meta { font-size: 14px; color: var(--mut); border-top: 1px solid var(--line); padding-top: 14px; display: grid; gap: 4px; }
.product_meta a { color: var(--ink); font-weight: 600; }
.woocommerce-tabs { margin-top: 20px; }
.woocommerce-tabs ul.tabs { display: flex; gap: 0; list-style: none; margin: 0 0 0; padding: 0; border-bottom: 3px solid var(--ink); }
.woocommerce-tabs ul.tabs li { margin: 0; }
.woocommerce-tabs ul.tabs li a { display: block; padding: 12px 26px; font: 800 20px var(--fh); text-transform: uppercase; letter-spacing: .05em; text-decoration: none; color: var(--mut); background: var(--bg); }
.woocommerce-tabs ul.tabs li.active a { background: var(--ink); color: var(--y); }
.woocommerce-tabs .panel { padding: 24px 4px; max-width: 920px; }
.woocommerce-tabs .panel h2 { font-size: 24px; text-transform: uppercase; }
.related.products > h2, .upsells.products > h2 { font: 800 34px var(--fh); text-transform: uppercase; margin: 26px 0 18px; padding-left: 16px; border-left: 6px solid var(--y); }
.woocommerce-product-gallery__trigger { position: absolute; top: 10px; right: 10px; z-index: 5; background: #fff; width: 40px; height: 40px; display: grid; place-items: center; text-decoration: none; border: 1px solid var(--line); }

.woocommerce-notices-wrapper:empty { display: none; }
#secondary .widget-title, #secondary .gamma { display: block; }
.woocommerce-tabs .panel > h2:first-child { display: none; }
.related.products, .upsells.products { width: 100%; float: none; }
.related.products ul.products, .upsells.products ul.products { grid-template-columns: repeat(4, 1fr); width: 100%; }
@media (max-width: 900px) { .related.products ul.products, .upsells.products ul.products { grid-template-columns: repeat(2, 1fr); } }

/* ---------- obavijesti, forme, košarica, naplata ---------- */
.woocommerce-message, .woocommerce-info, .woocommerce-error { background: #fff8d9; border: 0; border-left: 6px solid var(--y); padding: 14px 18px 14px 50px; margin: 0 0 22px; list-style: none; position: relative; color: var(--ink); }
.woocommerce-error { background: #fdecea; border-left-color: #c62828; }
.woocommerce-message .button, .woocommerce-info .button { float: right; margin-left: 16px; padding: .5em 1.2em; }
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { top: 14px; left: 16px; color: #b98a00; }
.woocommerce table.shop_table { border: 1px solid var(--line); border-collapse: collapse; width: 100%; border-radius: 0; }
.woocommerce table.shop_table th { font: 700 17px var(--fh); text-transform: uppercase; letter-spacing: .04em; background: var(--bg); }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: 12px 14px; border-top: 1px solid var(--line); }
.woocommerce-cart .cart_totals h2, .woocommerce-checkout h3 { font: 800 26px var(--fh); text-transform: uppercase; }
.wc-block-components-text-input input, .wc-block-components-select-input select { border-radius: 0 !important; }
.wc-block-components-button:not(.is-link) { background: var(--y) !important; color: var(--ink) !important; font-family: var(--fh); font-size: 18px; border-radius: 0 !important; }
.wp-block-woocommerce-cart h1, .wp-block-woocommerce-checkout h1, .wc-block-cart__totals-title, .wc-block-components-checkout-step__title { font-family: var(--fh) !important; text-transform: uppercase; }
.wc-block-components-product-price, .wc-block-formatted-money-amount { font-family: var(--fh); font-weight: 700; }
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; border: 1px solid var(--line); }
.woocommerce-account .woocommerce-MyAccount-navigation li a { display: block; padding: 11px 16px; text-decoration: none; border-bottom: 1px solid var(--line); font-weight: 600; }
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a { background: var(--ink); color: var(--y); }

/* ---------- naslovna ---------- */
.ap-hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; padding: 58px 0 86px;
  background-image: radial-gradient(900px 420px at 82% 40%, rgba(255,196,0,.20), transparent 62%),
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28'%3E%3Cpath d='M14 2 26 14 14 26 2 14z' fill='none' stroke='%23ffffff' stroke-opacity='.045' stroke-width='1.5'/%3E%3C/svg%3E"); }
.ap-hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 14px; background: repeating-linear-gradient(115deg, var(--y) 0 22px, var(--ink) 22px 44px); }
.ap-hero__grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 40px; align-items: center; position: relative; z-index: 1; }
.ap-kicker { display: inline-block; font: 700 15px var(--fh); letter-spacing: .24em; text-transform: uppercase; color: var(--y); padding: 5px 14px 5px 0; border-bottom: 2px solid var(--y); margin-bottom: 18px; }
.ap-hero h1 { color: #fff; font: 800 76px/.98 var(--fh); text-transform: uppercase; margin: 0 0 20px; letter-spacing: .005em; }
.ap-hero h1 span { color: var(--y); }
.ap-hero p { color: #b9c2ca; font-size: 18px; max-width: 540px; margin-bottom: 28px; }
.ap-hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.ap-hero__cta .ap-btn { padding: 1em 1.8em; font-size: 17px; }
.ap-hero__pics { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; height: 420px; }
.ap-hero__pic { position: relative; background: #fff; display: block; overflow: hidden; text-decoration: none; color: var(--ink); }
.ap-hero__pic--1 { grid-row: 1 / 3; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%); }
.ap-hero__pic--2 { clip-path: polygon(0 0, 100% 0, 100% 100%, 22px 100%, 0 calc(100% - 22px)); }
.ap-hero__pic--3 { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%); }
.ap-hero__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 22px 22px 40px; transition: transform .3s; }
.ap-hero__pic:hover img { transform: scale(1.05); }
.ap-hero__pic span { position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 14px; background: var(--ink); color: #fff; font: 600 14px var(--fb); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ap-hero__pic:hover span { background: var(--y); color: var(--ink); }

.ap-usp { position: relative; z-index: 2; margin-top: -42px; }
.ap-usp__grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; box-shadow: 0 16px 40px rgba(14,17,20,.16); padding: 0; }
.ap-usp__grid > div { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; align-items: center; padding: 20px 24px; border-left: 1px solid var(--line); }
.ap-usp__grid > div:first-child { border-left: 5px solid var(--y); }
.ap-usp .ap-i { grid-row: 1 / 3; width: 40px; height: 40px; color: var(--ink); background: var(--y); padding: 8px; }
.ap-usp strong { font: 800 20px var(--fh); text-transform: uppercase; letter-spacing: .03em; color: var(--ink); line-height: 1.1; }
.ap-usp span { color: var(--mut); font-size: 14px; }

.ap-sec { padding: 62px 0; }
.ap-sec--tight { padding-top: 0; }
.ap-usp + .ap-sec { background: var(--bg); margin-top: -42px; padding-top: 104px; }
.ap-sec__head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 26px; gap: 16px; border-bottom: 3px solid var(--ink); padding-bottom: 10px; }
.ap-sec__head h2 { margin: 0; font: 800 46px/1 var(--fh); text-transform: uppercase; }
.ap-sec__head h2 span { color: #b98a00; }
.ap-sec__head a { display: inline-flex; align-items: center; gap: 8px; font: 700 17px var(--fh); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; color: var(--ink); white-space: nowrap; }
.ap-sec__head a:hover { color: #b98a00; }

.ap-tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.ap-tile { position: relative; display: flex; flex-direction: column; background: #fff; text-decoration: none; color: var(--ink); border: 1px solid var(--line); overflow: hidden; transition: transform .18s, box-shadow .18s; }
.ap-tile:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(14,17,20,.14); }
.ap-tile__img { display: block; aspect-ratio: 4 / 3; background: #fff; border-bottom: 1px solid var(--line); }
.ap-tile__img img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.ap-tile__t { display: flex; flex-direction: column; padding: 12px 14px 4px; }
.ap-tile__t b { font: 800 21px/1.05 var(--fh); text-transform: uppercase; }
.ap-tile__t em { font-style: normal; font-size: 13px; color: var(--mut); margin-top: 3px; }
.ap-tile__sub { padding: 0 14px 14px; font-size: 13px; color: var(--mut); line-height: 1.35; flex: 1; }
.ap-tile__go { position: absolute; right: 0; bottom: 0; width: 38px; height: 38px; display: grid; place-items: center; background: var(--ink); color: var(--y); clip-path: polygon(100% 0, 100% 100%, 0 100%); padding: 10px 0 0 12px; transition: background .18s; }
.ap-tile:hover .ap-tile__go { background: var(--y); color: var(--ink); }
.ap-tile__go .ap-i { width: 18px; height: 18px; }

.ap-brands { background: var(--steel); color: #7d8892; padding: 20px 0; }
.ap-brands .ap-wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.ap-brands span { font: 700 14px var(--fh); letter-spacing: .22em; text-transform: uppercase; color: var(--y); }
.ap-brands b { font: 800 34px var(--fh); letter-spacing: .12em; color: #5a6671; transition: color .2s; }
.ap-brands b:hover { color: #fff; }

.ap-banners { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ap-banner { position: relative; min-height: 250px; background: var(--steel); color: #fff; overflow: hidden; text-decoration: none; display: flex; align-items: flex-end; }
.ap-banner img { position: absolute; right: 0; top: 0; bottom: 0; width: 52%; height: 100%; object-fit: contain; background: #fff; padding: 18px; clip-path: polygon(24% 0, 100% 0, 100% 100%, 0 100%); transition: transform .3s; }
.ap-banner:hover img { transform: scale(1.04); }
.ap-banner__t { position: relative; z-index: 1; display: flex; flex-direction: column; padding: 26px; max-width: 58%; }
.ap-banner__t b { font: 800 33px/1 var(--fh); text-transform: uppercase; color: #fff; }
.ap-banner__t em { font-style: normal; color: #aab4bd; font-size: 15px; margin: 8px 0 16px; }
.ap-banner__t i { font: 700 16px var(--fh); font-style: normal; letter-spacing: .1em; text-transform: uppercase; color: var(--y); display: inline-flex; gap: 8px; align-items: center; }
.ap-banner::before { content: ''; position: absolute; left: 0; top: 0; width: 8px; height: 100%; background: var(--y); }

.ap-cta { background: var(--y); position: relative; padding: 46px 0; margin-top: 10px; }
.ap-cta::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 10px; background: repeating-linear-gradient(115deg, var(--ink) 0 20px, var(--y) 20px 40px); }
.ap-cta__row { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.ap-cta h2 { font: 800 44px/1 var(--fh); text-transform: uppercase; margin: 0 0 6px; color: var(--ink); }
.ap-cta p { margin: 0; color: #3b3200; font-size: 18px; }

/* početna: točno 4 stupca */
.ap-sec ul.products { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .ap-sec ul.products { grid-template-columns: repeat(2, 1fr); } }

/* ---------- podnožje ---------- */
.ap-foot { background: var(--ink); color: #aeb7bf; margin-top: 0; }
.ap-foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-top: 56px; padding-bottom: 40px; }
.ap-foot h4 { color: #fff; font: 800 21px var(--fh); text-transform: uppercase; letter-spacing: .06em; margin: 0 0 14px; padding-bottom: 10px; border-bottom: 3px solid var(--y); display: inline-block; }
.ap-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ap-foot a { text-decoration: none; } .ap-foot a:hover { color: var(--y); }
.ap-foot p { margin: 14px 0 0; max-width: 360px; }
.ap-foot__addr { color: #fff; }
.ap-logo--foot .ap-logo__t b { color: #fff; } .ap-logo--foot .ap-logo__t i { color: #8c97a1; }
.ap-foot__bar { background: #0b0d0f; font-size: 13px; }
.ap-foot__bar .ap-wrap { display: flex; justify-content: space-between; padding-top: 16px; padding-bottom: 16px; gap: 12px; flex-wrap: wrap; }

/* ---------- responzivno ---------- */
@media (max-width: 1200px) {
  .ap-tiles { grid-template-columns: repeat(4, 1fr); }
  .ap-hero h1 { font-size: 62px; }
  .ap-nav__links a { padding: 0 11px; font-size: 15px; }
}
@media (max-width: 1000px) {
  .ap-hero__grid { grid-template-columns: 1fr; }
  .ap-hero__pics { height: 340px; }
  .ap-usp__grid { grid-template-columns: repeat(2, 1fr); }
  .ap-usp__grid > div:nth-child(3) { border-left: 5px solid var(--y); }
  .ap-banners { grid-template-columns: 1fr; }
  .ap-foot__grid { grid-template-columns: 1fr 1fr; }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product div.images, .single-product div.product .summary { grid-column: 1; position: static; }
}
@media (max-width: 900px) {
  .ap-top__r a:not(:last-child) { display: none; }
  .ap-burger { display: block; }
  .ap-head__row { flex-wrap: wrap; gap: 12px 14px; padding-top: 10px; padding-bottom: 10px; }
  .ap-logo { margin-right: auto; }
  .ap-logo__t b { font-size: 23px; }
  .ap-act span, .ap-cart__t { display: none; }
  .ap-search { order: 9; flex: 0 0 100%; max-width: none; margin: 0; }
  .ap-search select { display: none; }
  .ap-head { position: relative; }
  .ap-nav { display: none; }
  .ap-nav-open .ap-nav { display: block; }
  .ap-nav__row { flex-direction: column; padding: 0; }
  .ap-all__btn { clip-path: none; }
  .ap-mega { position: static; display: block; width: auto; box-shadow: none; border: 0; background: var(--steel2); }
  .ap-mega > ul > li { border-color: rgba(255,255,255,.1); } .ap-mega > ul > li > a { color: #fff; } .ap-mega > ul > li > a .ap-i { transform: rotate(90deg); color: var(--y); }
  .ap-mega li ul { position: static; display: none; width: auto; box-shadow: none; border: 0; background: #1a2026; }
  .ap-mega li.open > ul { display: block; } .ap-mega li:hover > ul { display: none; } .ap-mega li.open:hover > ul { display: block; }
  .ap-mega li ul a { color: #cfd6dc; border-color: rgba(255,255,255,.07); padding-left: 32px; }
  .ap-nav__links { display: none; }
  .ap-has-side #content > .col-full { grid-template-columns: 1fr; }
  .ap-has-side #primary, .ap-has-side #secondary { grid-column: 1; grid-row: auto; }
  .ap-has-side #secondary { position: static; order: 2; }
  .ap-hero { padding: 34px 0 60px; }
  .ap-hero h1 { font-size: 46px; }
  .ap-hero p { font-size: 16px; }
  .ap-sec { padding: 40px 0; }
  .ap-sec__head h2 { font-size: 32px; }
  .ap-tiles { grid-template-columns: repeat(2, 1fr); }
  .ap-brands .ap-wrap { justify-content: center; } .ap-brands b { font-size: 26px; }
  .ap-cta h2 { font-size: 32px; }
  .entry-title, .woocommerce-products-header__title { font-size: 32px; }
}
@media (max-width: 600px) {
  .ap-wrap, .col-full { padding-left: 16px; padding-right: 16px; }
  ul.products { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  ul.products li.product img { height: 150px; padding: 8px; }
  ul.products li.product .woocommerce-loop-product__title { font-size: 14px; margin: 0 10px 6px; }
  ul.products li.product .price { margin: 0 10px 10px; font-size: 22px; }
  ul.products li.product .button { margin: 0 10px 10px; font-size: 14px; padding: .65em .5em; }
  .ap-hero h1 { font-size: 38px; }
  .ap-hero__pics { height: 260px; gap: 8px; }
  .ap-usp__grid { grid-template-columns: 1fr; } .ap-usp__grid > div { border-left: 5px solid var(--y) !important; }
  .ap-foot__grid { grid-template-columns: 1fr; gap: 28px; }
  .ap-top .ap-wrap > span:first-child { font-size: 12px; }
  .ap-banner img { width: 46%; } .ap-banner__t { max-width: 62%; padding: 20px; } .ap-banner__t b { font-size: 27px; }
  .single-product .product_title { font-size: 30px; }
}

/* slike u tekstualnim stranicama ne smiju zauzeti cijelu širinu */
.entry-content img { max-width: min(100%, 760px); height: auto; margin: 10px 0 18px; }

.storefront-product-pagination, .site-main > .storefront-product-pagination { display: none !important; }

/* podnožje preko cijele širine (Storefront ga stavlja u .col-full) */
.site-footer { background: var(--ink); padding: 0; margin: 0; }
.site-footer > .col-full { max-width: none; padding: 0; }

/* logotip (bijela slova) traži tamno zaglavlje */
.ap-logo img { height: 44px; width: auto; max-width: none; }
.ap-head { background: var(--ink); }
.ap-head__row { padding-top: 12px; padding-bottom: 12px; }
.ap-nav { border-top: 1px solid rgba(255,255,255,.09); }
.ap-act, .ap-cart, .ap-burger { color: #fff; }
.ap-cart__t .woocommerce-Price-amount, .ap-cart__t { color: #fff; }
.ap-search { border-color: var(--y); }
.ap-search select { border-right-color: var(--y); }
.ap-cart__n { color: var(--ink); }
.ap-logo--foot img { height: 40px; }
@media (max-width: 900px) { .ap-logo img { height: 34px; } }

/* filter cijene: više prostora i deblja traka */
.widget_price_filter form { padding: 8px 0 6px; }
.widget_price_filter .price_slider_wrapper { padding: 22px 0 6px; }
.widget_price_filter .price_slider { height: 12px; margin: 14px 12px 34px; border-radius: 6px; }
.widget_price_filter .ui-slider-range { border-radius: 6px; }
.widget_price_filter .ui-slider-handle { top: -8px; width: 28px; height: 28px; margin-left: -14px; border-width: 5px; box-shadow: 0 2px 6px rgba(14,17,20,.3); }
.widget_price_filter .price_slider_amount { flex-wrap: wrap; row-gap: 14px; padding-bottom: 6px; }
.widget_price_filter .price_label { font: 700 20px var(--fh); letter-spacing: .02em; flex: 1 1 100%; }
.widget_price_filter .price_slider_amount .button { order: 2; padding: .7em 1.5em; font-size: 15px; }

/* gumb "prikaži lozinku" (WooCommerce ga dodaje JS-om; Storefront mu je davao ikonu) */
.password-input { position: relative; display: block; }
.password-input input { padding-right: 48px; width: 100%; }
.show-password-input { position: absolute; right: 0; top: 0; width: 46px; height: 100%; min-height: 40px; padding: 0; margin: 0; border: 0; background: transparent; cursor: pointer; clip-path: none; }
.show-password-input::after { content: ''; position: absolute; inset: 0; margin: auto; width: 22px; height: 22px; background: var(--mut); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5C6.5 5 2.2 8.600 1 12c1.200 3.400 5.500 7 11 7s9.800-3.600 11-7c-1.200-3.400-5.500-7-11-7zm0 11.500a4.500 4.500 0 1 1 0-9 4.500 4.500 0 0 1 0 9zm0-7a2.500 2.500 0 1 0 0 5 2.500 2.500 0 0 0 0-5z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5C6.5 5 2.2 8.600 1 12c1.200 3.400 5.500 7 11 7s9.800-3.600 11-7c-1.200-3.400-5.500-7-11-7zm0 11.500a4.500 4.500 0 1 1 0-9 4.500 4.500 0 0 1 0 9zm0-7a2.500 2.500 0 1 0 0 5 2.500 2.500 0 0 0 0-5z'/%3E%3C/svg%3E") center / contain no-repeat; }
.show-password-input:hover::after { background: var(--ink); }
.show-password-input.display-password::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5c-1.300 0-2.500.2-3.600.6l1.700 1.700c.6-.2 1.300-.3 1.900-.3a4.500 4.500 0 0 1 4.500 4.500c0 .7-.1 1.300-.4 1.900l2.600 2.600C20.500 14.800 22 13.200 23 12c-1.200-3.400-5.500-7-11-7zM2 3.800 4.300 6.100C2.800 7.400 1.700 9.100 1 12c1.200 3.400 5.500 7 11 7 1.700 0 3.200-.4 4.600-1l3.100 3.100 1.300-1.300L3.300 2.500 2 3.800zm5.300 5.300 1.600 1.600A4.500 4.500 0 0 0 12 16.500c.5 0 .9-.1 1.300-.2l1.600 1.600c-.9.300-1.900.4-2.900.4-4.200 0-7.800-2.500-9.200-6.200.8-1.200 1.900-2.200 3.200-2.800z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5c-1.300 0-2.500.2-3.600.6l1.700 1.700c.6-.2 1.300-.3 1.900-.3a4.500 4.500 0 0 1 4.500 4.500c0 .7-.1 1.300-.4 1.900l2.600 2.600C20.500 14.800 22 13.200 23 12c-1.200-3.400-5.500-7-11-7zM2 3.800 4.300 6.100C2.800 7.400 1.700 9.100 1 12c1.200 3.400 5.500 7 11 7 1.700 0 3.200-.4 4.600-1l3.100 3.100 1.300-1.300L3.300 2.500 2 3.800zm5.300 5.300 1.600 1.600A4.500 4.500 0 0 0 12 16.500c.5 0 .9-.1 1.300-.2l1.600 1.600c-.9.300-1.900.4-2.900.4-4.200 0-7.800-2.500-9.200-6.200.8-1.200 1.900-2.200 3.200-2.800z'/%3E%3C/svg%3E"); background: var(--ink); }

/* obrasci (prijava, registracija, adrese, zaboravljena lozinka) */
.woocommerce form .form-row, .woocommerce-page form .form-row { display: block; margin: 0 0 18px; padding: 0; }
.woocommerce form .form-row label { display: block; margin: 0 0 6px; font-weight: 600; font-size: 15px; color: var(--ink); }
.woocommerce form .form-row .required { color: #c62828; text-decoration: none; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select { display: block; width: 100%; height: 48px; padding: 0 14px; }
.woocommerce form .form-row textarea { height: auto; padding: 12px 14px; }
.woocommerce form.woocommerce-form-login, .woocommerce form.woocommerce-form-register, .woocommerce form.lost_reset_password { max-width: 480px; padding: 26px 28px 20px; border: 1px solid var(--line); border-top: 5px solid var(--y); background: #fff; margin: 0 0 30px; }
.woocommerce-form-login__rememberme { display: flex !important; align-items: center; gap: 8px; font-weight: 400 !important; }
.woocommerce-form-login__submit, .woocommerce-form-register__submit { width: 100%; min-height: 50px; font-size: 18px; margin-top: 6px; }
.woocommerce-LostPassword { margin: 14px 0 0; }
.woocommerce-LostPassword a { font-weight: 600; }
.woocommerce form .form-row.form-row-first, .woocommerce form .form-row.form-row-last { width: 48.5%; display: inline-block; vertical-align: top; }
.woocommerce form .form-row.form-row-first { margin-right: 2%; }
.woocommerce form .form-row.form-row-wide { width: 100%; }
.woocommerce-account .woocommerce h2 { font: 800 30px var(--fh); text-transform: uppercase; }
.woocommerce-account .u-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.woocommerce-account .u-columns .u-column1, .woocommerce-account .u-columns .u-column2 { width: auto; float: none; }
.woocommerce-account:not(.logged-in) .u-columns:has(> :only-child) { display: block; }
@media (max-width: 900px) { .woocommerce-account .u-columns { grid-template-columns: 1fr; } }
