/* ===================================================================
   Husqvarna Shop — theme styles (faithful to live shop.husqvarna.hr / druco)
   =================================================================== */

@font-face{
  font-family:'husqvarna-gothic';
  src:url('../fonts/husqvarna-gothic.woff2') format('woff2'),
      url('../fonts/husqvarna-gothic.woff') format('woff');
  font-weight:normal;font-style:normal;font-display:swap;
}

:root{
  --navy:#273A60;          /* brand navy: bars, buttons, prices, footer */
  --navy-dark:#1f2e4d;     /* hover / PROIZVODI */
  --text:#202020;
  --muted:#6b7280;
  --border:#ebebeb;
  --light:#f6f6f7;
  --white:#fff;
  --stock:#2e7d32;
  --sale:#c0392b;
  --accent:#F47920;        /* Husqvarna orange — primary CTA + accents */
  --accent-dark:#d9660f;
  --container:1240px;
  --btn-radius:42px;       /* pill buttons */
  --search-radius:60px;    /* pill search */
  --font:'husqvarna-gothic','Roboto',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;
}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;font-family:var(--font);font-size:15px;line-height:1.6;letter-spacing:.4px;color:var(--text);background:var(--white)}
a{color:inherit;text-decoration:none}
a:hover{color:var(--navy)}
img{max-width:100%;height:auto}
h1,h2,h3,h4{font-family:var(--font);color:var(--navy);font-weight:700;line-height:1.2}
.hq-container{max-width:var(--container);margin:0 auto;padding:0 24px}
.hq-main{min-height:50vh;padding:28px 0 40px}
svg{width:1em;height:1em;fill:currentColor}

/* ============ Header — top bar (white) ============ */
.hq-topbar{background:var(--white);border-bottom:1px solid var(--border)}
.hq-topbar__inner{display:flex;align-items:center;gap:30px;min-height:70px}
.hq-logo{display:inline-flex;align-items:center}
.hq-logo .hq-logo__img{height:30px;width:auto;max-width:none;display:block}
.hq-topnav{display:flex;align-items:center;gap:26px;font-size:15px}
.hq-topnav a{color:var(--text)}
.hq-topnav a:hover{color:var(--navy)}
.hq-account{margin-left:auto;display:flex;align-items:center;gap:20px}
.hq-iconlink{position:relative;display:inline-flex;color:var(--navy);transition:color .15s,transform .15s}
.hq-iconlink svg{width:23px;height:23px}
.hq-iconlink .la{font-size:23px;line-height:1}
.hq-iconlink:hover{color:var(--accent-dark);transform:translateY(-1px)}
.hq-count{position:absolute;top:-7px;right:-9px;min-width:16px;height:16px;padding:0 4px;border-radius:9px;background:var(--navy);color:#fff;font-size:10px;font-weight:700;line-height:16px;text-align:center;letter-spacing:0}
/* Cart reacts to an add: the count pops (briefly accent), the icon gives a nudge. */
.hq-cart-count.is-bump{animation:hq-bump .5s ease}
.hq-iconlink.is-bump svg{animation:hq-nudge .5s ease}
@keyframes hq-bump{0%{transform:scale(1)}25%{transform:scale(1.4);background:var(--accent)}55%{transform:scale(.88)}100%{transform:scale(1)}}
@keyframes hq-nudge{0%,100%{transform:translateY(0)}30%{transform:translateY(-3px)}60%{transform:translateY(1px)}}
@media(prefers-reduced-motion:reduce){.hq-cart-count.is-bump,.hq-iconlink.is-bump svg{animation:none}}

/* ============ Header — search bar (navy) ============ */
.hq-searchbar{background:var(--navy)}
.hq-searchbar__inner{display:flex;align-items:center;gap:18px;padding:13px 24px}
.hq-menu-toggle{display:inline-flex;align-items:center;gap:9px;background:var(--navy-dark);color:#fff;border:0;border-radius:6px;padding:0 20px;height:46px;font-family:var(--font);font-size:14px;font-weight:700;text-transform:uppercase;letter-spacing:.5px;cursor:pointer;flex:none}
.hq-menu-toggle svg{width:18px;height:18px}
.hq-search{flex:1;display:flex;position:relative;background:#fff;border-radius:var(--search-radius);height:46px;overflow:hidden}
.hq-search input[type=search]{flex:1;border:0;background:transparent;padding:0 22px;font-family:var(--font);font-size:15px;color:var(--text);outline:none}
.hq-search input[type=search]::placeholder{color:#9aa1ab}
.hq-search__btn{position:absolute;right:4px;top:4px;width:38px;height:38px;border:0;border-radius:50%;background:var(--navy);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer}
.hq-search__btn svg{width:18px;height:18px}
.hq-phone{display:inline-flex;align-items:center;gap:10px;color:#fff;font-size:12px;line-height:1.25;flex:none}
.hq-phone svg{width:26px;height:26px;opacity:.95}
.hq-phone:hover{color:#fff}
.hq-phone__txt b{font-size:15px;letter-spacing:.3px}

/* ============ Shop archive + product cards ============ */
.hq-shop__header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin:8px 0 22px}
/* No text-transform: Croatian capitalises only the first word, so `capitalize`
   turned "Proizvodi na akciji" into "Proizvodi Na Akciji". */
.hq-shop__title{font-size:30px;margin:0}
.hq-shop__toolbar{display:flex;align-items:center;gap:16px;font-size:14px;color:var(--muted)}
.hq-shop__toolbar select{font-family:var(--font);padding:8px 12px;border:1px solid var(--border);border-radius:4px;background:#fff;color:var(--text)}

.hq-product-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.hq-product-card{position:relative;background:#fff;border:1px solid var(--border);border-radius:14px;overflow:hidden;display:flex;flex-direction:column;transition:box-shadow .18s,transform .18s,border-color .18s}
.hq-product-card:hover{box-shadow:0 10px 26px rgba(0,0,0,.10);border-color:#dde2ea;transform:translateY(-3px);z-index:1}
.hq-product-card__img-wrap{position:relative;display:flex;align-items:center;justify-content:center;aspect-ratio:1;min-height:0;padding:22px;background:#fff;overflow:hidden}
/* Blur-up: the wrapper shows a tiny blurred LQIP inside its padding box while the
   sharp photo fades in over it. background-origin keeps the LQIP aligned with the
   contained image. */
.hq-product-card__img-wrap.has-lqip{background-repeat:no-repeat;background-position:center;
  background-size:contain;background-origin:content-box}
.hq-product-card__img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;position:relative}
.hq-js .hq-blurup{opacity:0;transition:opacity .5s ease}
.hq-js .hq-blurup.is-loaded{opacity:1}
.hq-badge{position:absolute;top:12px;left:12px;font-size:10px;font-weight:700;letter-spacing:.5px;text-transform:uppercase;color:#fff;padding:4px 9px;border-radius:3px;z-index:2}
.hq-badge--new{background:var(--navy)}
.hq-badge--sale{background:var(--sale);left:auto;right:12px}
.hq-product-card__body{padding:0 18px 20px;display:flex;flex-direction:column;gap:8px;flex:1}
.hq-product-card__title{font-size:15.5px;font-weight:500;color:var(--navy);margin:0;line-height:1.4;min-height:44px}
.hq-product-card__title a{color:var(--navy)}
.hq-product-card__title a:hover{color:var(--navy)}
.hq-product-card__sku{font-size:12.5px;color:var(--muted);letter-spacing:.3px}
.hq-product-card__price{font-size:20px;font-weight:700;color:var(--navy);letter-spacing:.3px}
.hq-product-card__price del{color:var(--muted);font-weight:400;font-size:15px;margin-right:7px}
.hq-product-card__price ins{text-decoration:none;color:var(--sale)}
.hq-product-card__stock{font-size:13px;font-weight:700;display:flex;align-items:center;gap:6px;margin-top:2px}
.hq-product-card__stock::before{content:"";width:8px;height:8px;border-radius:50%;display:inline-block}
.hq-product-card__stock.is-in{color:#1d6b33}
.hq-product-card__stock.is-in::before{background:#1d8a3f}
.hq-product-card__stock.is-out{color:var(--muted)}
.hq-product-card__stock.is-out::before{background:#c4332b}
.hq-product-card__actions{margin-top:auto;padding-top:6px}

/* Recommended accessories / spare parts — ERP info-cards (tab content) */
.hq-rec-grid{list-style:none;margin:8px 0 0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.hq-rec-card{border:1px solid var(--border);border-radius:14px;overflow:hidden;background:#fff;display:flex;flex-direction:column;transition:box-shadow .18s,transform .18s}
.hq-rec-card:hover{box-shadow:0 10px 26px rgba(0,0,0,.10);transform:translateY(-3px)}
.hq-rec-card__media{display:flex;align-items:center;justify-content:center;aspect-ratio:1;padding:18px;background:#fff;overflow:hidden;text-decoration:none}
.hq-rec-card__media img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}
.hq-rec-card__noimg{color:var(--muted);font-size:12px;font-weight:700;letter-spacing:.5px}
.hq-rec-card__body{padding:0 16px 16px;display:flex;flex-direction:column;gap:5px;flex:1}
.hq-rec-card__name{font-size:14px;font-weight:600;color:var(--text);line-height:1.35;text-decoration:none}
a.hq-rec-card__name:hover{color:var(--navy)}
.hq-rec-card__sku{font-size:12px;color:var(--muted);letter-spacing:.3px}
.hq-rec-card__price{font-size:16px;font-weight:700;color:var(--navy);margin-top:2px}
.hq-rec-card__note{font-size:12px;color:var(--muted);font-style:italic}
.hq-rec-card__stock{font-size:12.5px;font-weight:700;display:flex;align-items:center;gap:6px;margin-top:2px}
.hq-rec-card__stock::before{content:"";width:8px;height:8px;border-radius:50%;display:inline-block}
.hq-rec-card__stock.is-in{color:#1d6b33}
.hq-rec-card__stock.is-in::before{background:#1d8a3f}
.hq-rec-card__stock.is-out{color:var(--muted)}
.hq-rec-card__stock.is-out::before{background:#c4332b}
.hq-rec-card__actions{margin-top:auto;padding-top:10px}
/* Add-to-cart button is identical across every product-page section
   (recommendations, spare parts, similar products): base .hq-btn, no size override. */
@media(max-width:980px){.hq-rec-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:640px){.hq-rec-grid{grid-template-columns:1fr 1fr}}

/* buttons — pill, uppercase, navy */
.hq-btn{display:inline-flex;align-items:center;justify-content:center;width:100%;border:1px solid var(--navy);border-radius:var(--btn-radius);padding:12px 18px;font-family:var(--font);font-size:14px;font-weight:700;text-transform:uppercase;letter-spacing:.5px;cursor:pointer;text-align:center;transition:background .15s,color .15s}
.hq-btn--add-cart{background:var(--navy);color:#fff}
.hq-btn--add-cart:hover{background:var(--navy-dark);border-color:var(--navy-dark);color:#fff}
.hq-btn--secondary{background:#fff;color:var(--navy)}
.hq-btn--secondary:hover{background:var(--navy);color:#fff}

.hq-pagination{display:flex;gap:6px;justify-content:center;margin:34px 0 8px}
.hq-pagination .page-numbers{min-width:42px;text-align:center;padding:9px 12px;border:1px solid var(--border);border-radius:4px;color:var(--navy);font-weight:700}
.hq-pagination .page-numbers.current,.hq-pagination .page-numbers:hover{background:var(--navy);color:#fff;border-color:var(--navy)}

/* ============ Single product ============ */
.hq-breadcrumb{font-size:13px;color:var(--muted);margin:14px 0 6px;letter-spacing:.3px}
.hq-breadcrumb a{color:var(--navy)}
.hq-single-product__layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,360px);grid-template-areas:"gallery buy" "detail buy";gap:0 46px;margin:0;align-items:start}
.hq-single-product__gallery{grid-area:gallery}
.hq-single-product__info{grid-area:buy;border-left:1px solid var(--border);padding-left:46px;position:sticky;top:calc(var(--hq-header-h,112px) + 16px);align-self:start}
.hq-sp__detail{grid-area:detail;margin-top:34px;padding-top:32px;border-top:1px solid var(--border);display:flex;flex-direction:column;gap:0;min-width:0}
.hq-single-product__gallery{position:relative}
.hq-gallery__main{border:1px solid var(--border);aspect-ratio:1;display:flex;align-items:center;justify-content:center;overflow:hidden;padding:24px}
.hq-gallery__main img{max-width:100%;max-height:100%;object-fit:contain}
.hq-gallery__thumbs{display:flex;gap:8px;margin-top:10px;flex-wrap:wrap}
.hq-gallery__thumb{width:66px;height:66px;border:1px solid var(--border);background:#fff;padding:6px;cursor:pointer;overflow:hidden}
.hq-gallery__thumb.is-active{border-color:var(--navy)}
.hq-gallery__thumb img{width:100%;height:100%;object-fit:contain}
.hq-badge--single{top:14px;left:14px;font-size:12px;padding:5px 12px;right:auto}
.hq-single-product__title{font-size:31px;margin:0 0 10px;line-height:1.18}
.hq-single-product__sku{font-size:13.5px;color:var(--muted);margin:0 0 16px;letter-spacing:.3px}
.hq-single-product__price{font-size:28px;font-weight:700;color:var(--navy);margin-bottom:10px;letter-spacing:.3px}
.hq-single-product__price del{color:var(--muted);font-weight:400;font-size:20px;margin-right:9px}
.hq-single-product__price ins{text-decoration:none;color:var(--sale)}
/* Husqvarna-style headline: category eyebrow + key-spec stat blocks */
.hq-single-product__eyebrow{font-size:13.5px;color:var(--muted);font-weight:600;letter-spacing:.3px;margin:0 0 5px}
.hq-keyspecs{display:flex;gap:28px;flex-wrap:wrap;margin:18px 0;padding:18px 0;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}
.hq-keyspec{display:flex;flex-direction:column;gap:3px;min-width:84px}
.hq-keyspec__value{font-size:21px;font-weight:700;color:var(--navy);line-height:1.1;letter-spacing:.2px}
.hq-keyspec__label{font-size:12.5px;color:var(--muted);line-height:1.35;max-width:150px}
.hq-single-product__info .single_add_to_cart_button{flex:1 1 auto;justify-content:center}
.hq-stock--in{color:var(--stock);font-weight:700;margin:8px 0 16px}
.hq-stock--out{color:var(--sale);font-weight:700;margin:8px 0 16px}
.hq-stock--choose{color:var(--muted);font-weight:600;margin:8px 0 16px}
.hq-single-product__info .quantity{display:inline-block;margin-right:8px}
.hq-single-product__info .quantity input{width:66px;height:48px;padding:0 10px;border:1px solid var(--border);border-radius:var(--btn-radius);text-align:center;font-family:var(--font);font-size:15px}
.hq-single-product__info form.cart{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:6px 0 4px}
.hq-single-product__info .button,.hq-single-product__info button.single_add_to_cart_button{background:var(--navy);color:#fff;border:1px solid var(--navy);border-radius:var(--btn-radius);padding:13px 30px;font-family:var(--font);font-weight:700;font-size:14px;text-transform:uppercase;letter-spacing:.5px;cursor:pointer}
.hq-single-product__info .button:hover,.hq-single-product__info button.single_add_to_cart_button:hover{background:var(--navy-dark);border-color:var(--navy-dark)}
.hq-single-product__info .variations{margin:8px 0}
.hq-single-product__info .variations td,.hq-single-product__info .variations th{padding:6px 8px 6px 0;text-align:left;vertical-align:middle}
.hq-single-product__info select{font-family:var(--font);padding:11px 14px;border:1px solid var(--border);border-radius:6px;min-width:180px;background:#fff}
.hq-single-product__description{margin-top:18px;border-top:1px solid var(--border);padding-top:16px;font-size:15.5px;line-height:1.8}
/* variation "Obriši" (clear) link -> trash icon */
.woocommerce a.reset_variations{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;font-size:0!important;line-height:0;border-radius:7px;margin-left:8px;vertical-align:middle}
.woocommerce a.reset_variations::before{content:"";width:18px;height:18px;background-color:var(--muted);-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%206h18%22%2F%3E%3Cpath%20d%3D%22M8%206V4a2%202%200%200%201%202-2h4a2%202%200%200%201%202%202v2%22%2F%3E%3Cpath%20d%3D%22M19%206l-1%2014a2%202%200%200%201-2%202H8a2%202%200%200%201-2-2L5%206%22%2F%3E%3Cpath%20d%3D%22M10%2011v6%22%2F%3E%3Cpath%20d%3D%22M14%2011v6%22%2F%3E%3C%2Fsvg%3E") no-repeat center/contain;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%206h18%22%2F%3E%3Cpath%20d%3D%22M8%206V4a2%202%200%200%201%202-2h4a2%202%200%200%201%202%202v2%22%2F%3E%3Cpath%20d%3D%22M19%206l-1%2014a2%202%200%200%201-2%202H8a2%202%200%200%201-2-2L5%206%22%2F%3E%3Cpath%20d%3D%22M10%2011v6%22%2F%3E%3Cpath%20d%3D%22M14%2011v6%22%2F%3E%3C%2Fsvg%3E") no-repeat center/contain}
.woocommerce a.reset_variations:hover{background:#fdecec}
.woocommerce a.reset_variations:hover::before{background-color:var(--sale)}

/* subtle grey on catalog pages so white cards/panels stand out (images stay white) */
body.post-type-archive-product,body.tax-product_cat,body.single-product{background:#e9ebf0}
/* Product page is presented as ONE sheet of paper, not separate cards: the gallery
   and buy column are sections of that sheet, divided by hairlines, not bordered cards. */
.single-product .hq-single-product__gallery{background:transparent;border:0;border-radius:0;padding:0}
.single-product .hq-single-product__info{background:transparent;border:0;border-radius:0;border-left:1px solid var(--border);padding:2px 0 0 46px}
.single-product .hq-gallery__main{border:0;padding:0}
.single-product .hq-product-tabs{background:#fff;border:1px solid var(--border);border-radius:14px;padding:14px 24px 22px}

/* SweetAlert2 — brand colours/shape */
.swal2-popup{font-family:var(--font);border-radius:14px}
.swal2-title{color:var(--navy);font-size:20px}
.swal2-html-container{color:var(--text)}
.swal2-actions .swal2-styled{border-radius:var(--btn-radius);font-weight:700;text-transform:uppercase;letter-spacing:.5px;font-size:14px;box-shadow:none}
.swal2-styled.swal2-confirm{background:var(--navy)!important}
.swal2-styled.swal2-confirm:hover{background:var(--navy-dark)!important}
.swal2-styled.swal2-cancel{background:#fff!important;color:var(--navy)!important;border:1px solid var(--border)!important}

/* tabs */
.hq-product-tabs{margin-top:30px}
.hq-product-tabs .wc-tabs,.hq-product-tabs ul.tabs{display:flex;gap:0;list-style:none;margin:0;padding:0;border-bottom:2px solid var(--border)}
.hq-product-tabs .wc-tabs li,.hq-product-tabs ul.tabs li{margin:0}
.hq-product-tabs .wc-tabs li a,.hq-product-tabs ul.tabs li a{display:block;padding:12px 18px;color:var(--muted);font-weight:700;font-size:15px;text-transform:uppercase;letter-spacing:.4px}
.hq-product-tabs .wc-tabs li.active a,.hq-product-tabs ul.tabs li.active a{color:var(--navy);border-bottom:2px solid var(--navy);margin-bottom:-2px}
.hq-product-tabs .panel,.hq-product-tabs .woocommerce-Tabs-panel{padding:18px 0}
.hq-product-tabs h2{font-size:18px}

/* tech specs */
.hq-tech-specs{margin-top:6px}
.hq-specs-group{border:1px solid var(--border);margin-bottom:10px}
.hq-specs-group__title{padding:11px 14px;font-weight:700;color:var(--navy);cursor:pointer;background:var(--light);list-style:none}
.hq-specs-group__title::-webkit-details-marker{display:none}
.hq-specs-table{width:100%;border-collapse:collapse;font-size:13px}
.hq-specs-table th{text-align:left;padding:9px 14px;color:var(--muted);font-weight:400;width:46%}
.hq-specs-table td{padding:9px 14px;font-weight:700;color:var(--text)}
.hq-specs-table tr:nth-child(odd){background:var(--light)}
.hq-specs-unit{color:var(--muted)!important;font-weight:400!important;width:64px}

/* ---- Product page presented as ONE sheet of paper ---- */
.hq-paper{background-color:#fff;
  background-image:url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='180'%20height='180'%3E%3Cfilter%20id='pg'%3E%3CfeTurbulence%20type='fractalNoise'%20baseFrequency='0.75'%20numOctaves='2'%20stitchTiles='stitch'/%3E%3CfeColorMatrix%20type='saturate'%20values='0'/%3E%3C/filter%3E%3Crect%20width='100%25'%20height='100%25'%20filter='url(%23pg)'%20opacity='0.16'/%3E%3C/svg%3E");
  border:1px solid #e4e7ee;border-top:3px solid var(--navy);border-radius:5px;
  box-shadow:0 20px 50px rgba(23,32,54,.16),0 2px 6px rgba(23,32,54,.05);
  padding:42px 50px 46px;margin:10px 0 6px}
.hq-buybox__vat{font-size:12px;color:var(--muted);margin:-4px 0 2px}
/* Omnibus (ZZP čl. 44): "najniža cijena u 30 dana prije akcije" — discreet, under the price. */
.hq-omnibus{font-size:12.5px;color:var(--muted);margin:6px 0 12px;line-height:1.45}
.hq-omnibus strong{font-weight:700;color:var(--navy)}
/* "Artikl nije za online prodaju" — sits exactly where the buy button would be, must catch the eye. */
.hq-no-online{display:flex;gap:14px;align-items:flex-start;margin:18px 0 22px;padding:16px 18px;background:#FEF3EC;border:1px solid rgba(244,121,32,.32);border-left:5px solid var(--accent);border-radius:10px}
.hq-no-online__icon{flex:0 0 auto;width:26px;height:26px;color:var(--accent);margin-top:1px}
.hq-no-online__text{display:flex;flex-direction:column;gap:3px}
.hq-no-online__text strong{font-size:16px;font-weight:800;color:var(--accent-dark);letter-spacing:-.01em;line-height:1.3}
.hq-no-online__text span{font-size:14.5px;line-height:1.5;color:var(--navy)}
/* Primary CTA in accent, per approved direction A. The base theme sets
   `.woocommerce button.button.alt{background:var(--navy)!important}`, so this
   override must also use !important to win. */
.hq-single-product__info.hq-buybox .single_add_to_cart_button.alt{background:var(--accent)!important;border-color:var(--accent)!important;box-shadow:0 8px 20px rgba(244,121,32,.28)}
.hq-single-product__info.hq-buybox .single_add_to_cart_button.alt:hover{background:var(--accent-dark)!important;border-color:var(--accent-dark)!important}
.hq-buybox .hq-keyspecs{gap:16px 24px;margin:16px 0}
.hq-buybox__trust{list-style:none;margin:20px 0 0;padding:18px 0 0;border-top:1px solid var(--border);display:grid;gap:12px}
.hq-buybox__trust li{display:flex;gap:11px;align-items:flex-start;font-size:13.5px;color:var(--text);line-height:1.45}
.hq-buybox__trust svg{flex:none;width:20px;height:20px;color:var(--navy);margin-top:1px}
.hq-buybox__pay{display:flex;gap:7px;flex-wrap:wrap;margin-top:16px}
.hq-buybox__pay span{font-size:10.5px;font-weight:700;color:#7a8290;border:1px solid var(--border);border-radius:6px;padding:5px 9px;letter-spacing:.04em}

.hq-sp-block{background:transparent;border:0;border-radius:0;padding:0}
.hq-sp-block + .hq-sp-block{margin-top:30px;padding-top:30px;border-top:1px solid var(--border)}
.hq-sp-block .hq-section-head{margin:0 0 14px}
.hq-sp-block .hq-section-title{font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.14em;color:var(--navy);position:relative;padding-left:15px}
.hq-sp-block .hq-section-title::before{content:"";position:absolute;left:0;top:1px;bottom:1px;width:4px;border-radius:2px;background:var(--accent)}
.hq-sp-block .hq-single-product__description{margin:0;border:0;padding:0;font-size:15px;line-height:1.78;color:#3c4653}
.hq-specsheet__grid{display:grid;grid-template-columns:1fr 1fr;gap:0 52px;margin-top:4px}
.hq-specsheet__grid--single{grid-template-columns:1fr;max-width:640px}
.hq-specsheet__col{min-width:0}
.hq-specsheet__col .hq-specsheet__group + .hq-specsheet__group{margin-top:20px}
/* One column on phones — two columns are too narrow for spec tables there. */
@media(max-width:768px){
  .hq-specsheet__grid{grid-template-columns:1fr;gap:0}
  .hq-specsheet__col + .hq-specsheet__col{margin-top:20px}
}
.hq-specsheet__group h3{font-size:14px;color:var(--navy);margin:14px 0 2px;padding-bottom:9px;border-bottom:2px solid var(--navy)}
.hq-specsheet__group table{width:100%;border-collapse:collapse;font-size:13.5px}
.hq-specsheet__group td{padding:10px 2px;border-bottom:1px solid var(--border)}
.hq-specsheet__group td:first-child{color:var(--muted)}
.hq-specsheet__group td:last-child{text-align:right;font-weight:700;font-variant-numeric:tabular-nums}
.hq-specsheet__col > .hq-specsheet__group:first-child h3{margin-top:0}

/* Sticky add-to-cart bar — slides up once the main buy area is scrolled past */
.hq-buybar{position:fixed;left:0;right:0;bottom:0;z-index:80;background:#fff;border-top:1px solid var(--border);
  box-shadow:0 -8px 24px rgba(23,32,54,.12);transform:translateY(110%);transition:transform .3s ease;will-change:transform}
.hq-buybar.is-visible{transform:none}
.hq-buybar__inner{max-width:var(--container);margin:0 auto;padding:9px 22px;display:flex;align-items:center;gap:14px}
.hq-buybar__img{width:46px;height:46px;object-fit:contain;border:1px solid var(--border);border-radius:8px;background:#fff;flex:none}
.hq-buybar__txt{display:flex;flex-direction:column;min-width:0;flex:1}
.hq-buybar__name{font-weight:700;color:var(--navy);font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3}
.hq-buybar__price{font-size:13px;color:var(--text)}
.hq-buybar__price .amount,.hq-buybar__price ins{font-weight:700;color:var(--navy);text-decoration:none}
.hq-buybar__price del{color:var(--muted);margin-right:6px;font-weight:400}
.hq-buybar__cta{flex:none;border:0;border-radius:44px;background:var(--accent);color:#fff;font-family:var(--font);
  font-weight:700;font-size:14px;padding:12px 26px;cursor:pointer;text-transform:uppercase;letter-spacing:.4px}
.hq-buybar__cta:hover{background:var(--accent-dark)}
.hq-buybar__cta--alt{background:var(--navy)}
.hq-buybar__cta--alt:hover{background:var(--navy-dark)}
@media(max-width:560px){
  .hq-buybar__inner{padding:8px 14px;gap:10px}
  .hq-buybar__img{display:none}
  .hq-buybar__cta{padding:11px 18px;font-size:13px;letter-spacing:.3px}
  .hq-buybar__name{font-size:13px}
}

/* related / upsell */
.related,.up-sells{margin-top:34px}
.related>h2,.up-sells>h2{font-size:20px;margin:0 0 16px}
.related ul.products,.up-sells ul.products{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.related ul.products li.product,.up-sells ul.products li.product{margin-left:-1px;margin-top:-1px}

/* ============ Footer ============ */
.hq-footer{margin-top:48px}
.hq-footer__main{background:var(--navy);color:#fff}
.hq-footer__inner{display:flex;flex-wrap:wrap;gap:48px;padding:48px 24px}
.hq-footer__col{flex:1;min-width:200px;font-size:15px;line-height:1.9}
.hq-footer__col h4{color:#fff;font-size:14px;text-transform:uppercase;letter-spacing:.8px;margin:0 0 14px;font-weight:700}
.hq-footer__col a{color:rgba(255,255,255,.85);display:block;padding:2px 0}
.hq-footer__col a:hover{color:#fff}
.hq-footer__brand p{color:rgba(255,255,255,.8)}
.hq-footer__logo{height:30px;width:auto;margin-bottom:18px;filter:brightness(0) invert(1)}
.hq-footer__brand a{display:inline}
.hq-footer__phone{color:rgba(255,255,255,.85);margin-top:14px}
.hq-footer__phone b{color:#fff;font-size:17px}
.hq-footer__bottom{background:#fff;border-top:1px solid var(--border)}
.hq-footer__bottom-inner{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;padding:18px 24px}
.hq-social{display:flex;gap:12px}
.hq-social a{display:inline-flex;width:36px;height:36px;border-radius:50%;background:rgba(255,255,255,.10);color:#fff;align-items:center;justify-content:center;transition:background .18s,transform .18s,color .18s}
.hq-social a:hover{background:var(--accent);color:#fff;transform:translateY(-2px)}
.hq-social .la{font-size:18px;line-height:1}
.hq-footer__copy{color:var(--muted);font-size:13.5px}
.hq-payments{display:flex;gap:12px;flex-wrap:wrap;align-items:center}
.hq-payments img{height:30px;width:auto;display:block}
.hq-payments .hq-pay-wspay{display:inline-flex}
.hq-payments .hq-pay-wspay img{height:34px}
@media(max-width:560px){.hq-payments{gap:9px;justify-content:center}.hq-payments img{height:26px}.hq-payments .hq-pay-wspay img{height:30px}}

/* ============ Responsive ============ */
@media(max-width:980px){
  .hq-single-product__layout{grid-template-columns:1fr;grid-template-areas:"gallery" "buy" "detail";gap:0}
  .single-product .hq-single-product__info{border-left:0;border-top:1px solid var(--border);margin-top:24px;padding:24px 0 0}
  .hq-sp__detail{margin-top:24px;padding-top:24px}
  .hq-paper{padding:22px 18px 26px}
  .hq-product-grid,.related ul.products,.up-sells ul.products{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:768px){
  .hq-topnav{display:none}
  .hq-topbar__inner{gap:16px;min-height:60px}
  .hq-phone__txt{display:none}
  .hq-product-grid,.related ul.products,.up-sells ul.products{grid-template-columns:1fr 1fr}
  .hq-footer__inner{gap:28px;padding:34px 24px}
  .hq-footer__bottom-inner{justify-content:center;text-align:center}
}
@media(max-width:480px){
  .hq-searchbar__inner{gap:10px;padding:10px 16px}
  .hq-menu-toggle span{display:none}
  .hq-menu-toggle{padding:0 14px}
}

/* ============ Homepage hero ============ */
.hq-hero-slider{position:relative;width:100%;margin:0 0 6px;overflow:hidden}
.hq-hero-slider.is-slider .hq-hero{position:absolute;inset:0;opacity:0;transition:opacity .6s ease;pointer-events:none}
.hq-hero-slider.is-slider .hq-hero.is-active{position:relative;opacity:1;pointer-events:auto}
.hq-hero__dots{position:absolute;left:0;right:0;bottom:18px;display:flex;justify-content:center;gap:9px;z-index:4}
.hq-hero__dot{width:10px;height:10px;border-radius:50%;border:0;background:rgba(255,255,255,.5);cursor:pointer;padding:0}
.hq-hero__dot.is-active{background:#fff}
.hq-trustbar{background:#fff;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}
.hq-trustbar__inner{display:grid;grid-template-columns:repeat(4,1fr);gap:0;padding:24px 0}
.hq-trust{display:flex;align-items:center;gap:15px;padding:2px 28px}
.hq-trust+.hq-trust{border-left:1px solid var(--border)}
/* Rounded-square navy badge — same treatment as the "Zašto kupiti" icons. */
.hq-trust__icon{flex:none;width:46px;height:46px;border-radius:12px;background:var(--navy);color:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 6px 16px rgba(39,58,96,.20)}
.hq-trust__icon .la{font-size:22px;line-height:1}
.hq-trust__txt{display:flex;flex-direction:column;line-height:1.35}
.hq-trust__txt strong{font-size:15px;font-weight:700;color:var(--text);letter-spacing:-.1px}
.hq-trust__txt span{font-size:13px;color:var(--muted);margin-top:1px}
@media(max-width:780px){.hq-trustbar__inner{grid-template-columns:repeat(2,1fr);gap:16px 10px}
  .hq-trust{padding:0;border-left:0}}
@media(max-width:430px){.hq-trustbar__inner{grid-template-columns:1fr}}
.hq-hero{position:relative;min-height:560px;display:flex;align-items:center;color:#fff;overflow:hidden}
/* Background lives on its own layer so it can slowly drift (ken-burns) behind the
   text without moving it. Slightly over-scanned so the zoom never reveals an edge. */
.hq-hero__bg{position:absolute;inset:0;background-size:cover;background-position:center;z-index:0;
  transform:scale(1.06);will-change:transform}
.hq-hero.is-active .hq-hero__bg{animation:hq-kenburns 22s ease-in-out infinite alternate}
@keyframes hq-kenburns{from{transform:scale(1.06)}to{transform:scale(1.16) translate(-1.5%,-1%)}}
/* Directional dark wash for text authority + a floor gradient for depth. */
.hq-hero__overlay{position:absolute;inset:0;z-index:1;background:
  linear-gradient(90deg,rgba(18,26,48,.82) 0%,rgba(18,26,48,.50) 46%,rgba(18,26,48,.10) 100%),
  linear-gradient(0deg,rgba(18,26,48,.45) 0%,rgba(18,26,48,0) 42%)}
@media(max-width:640px){.hq-hero-slider{max-width:none;margin:0;border-radius:0;box-shadow:none}}
.hq-hero__content{position:relative;z-index:2;width:100%}
/* Staggered entrance for the hero copy on the active slide. */
.hq-hero.is-active .hq-hero__tag{animation:hq-hero-in .7s cubic-bezier(.22,.8,.3,1) both}
.hq-hero.is-active .hq-hero__title{animation:hq-hero-in .7s cubic-bezier(.22,.8,.3,1) .09s both}
.hq-hero.is-active .hq-hero__sub{animation:hq-hero-in .7s cubic-bezier(.22,.8,.3,1) .18s both}
.hq-hero.is-active .hq-hero__cta{animation:hq-hero-in .7s cubic-bezier(.22,.8,.3,1) .27s both}
@keyframes hq-hero-in{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:none}}
/* Stats band — a slim navy strip under the hero; the numbers tick up on scroll. */
.hq-stats{background:var(--navy);color:#fff}
.hq-stats__inner{display:grid;grid-template-columns:repeat(4,1fr);padding:28px 0}
.hq-stat{text-align:center;padding:2px 18px;position:relative}
.hq-stat+.hq-stat::before{content:"";position:absolute;left:0;top:12%;bottom:12%;width:1px;background:rgba(255,255,255,.14)}
.hq-stat__num{display:block;font-size:36px;font-weight:700;line-height:1;letter-spacing:-.5px;color:#fff;font-variant-numeric:tabular-nums}
.hq-stat__num::after{content:"";display:block;width:26px;height:3px;background:var(--accent);border-radius:2px;margin:13px auto 0}
.hq-stat__label{display:block;margin-top:11px;font-size:12px;letter-spacing:.07em;text-transform:uppercase;color:rgba(255,255,255,.74)}
@media(max-width:680px){.hq-stats__inner{grid-template-columns:1fr 1fr;gap:22px 0;padding:24px 0}
  .hq-stat:nth-child(3)::before{display:none}.hq-stat__num{font-size:30px}}
/* Eyebrow carries an orange accent rule — the page's signature brand mark. */
.hq-hero__tag{display:inline-flex;align-items:center;gap:12px;font-size:13px;font-weight:700;letter-spacing:.17em;text-transform:uppercase;opacity:1;margin-bottom:16px;color:#fff}
.hq-hero__tag::before{content:"";width:32px;height:3px;background:var(--accent);border-radius:2px}
.hq-hero__title{color:#fff;font-weight:700;margin:0 0 16px;line-height:1.02;letter-spacing:-.5px;text-shadow:0 2px 26px rgba(10,15,30,.30)}
.hq-hero__sub{max-width:530px;font-size:18px;line-height:1.6;margin:0 0 28px;color:rgba(255,255,255,.94)}
.hq-hero__cta{display:inline-block;background:#fff;color:var(--navy);border:1px solid #fff;border-radius:var(--btn-radius);padding:14px 34px;font-size:14px;font-weight:700;text-transform:uppercase;letter-spacing:.5px;box-shadow:0 10px 26px rgba(10,15,30,.24)}
.hq-hero__cta:hover{background:var(--accent);color:#fff;border-color:var(--accent);box-shadow:0 12px 30px rgba(244,121,32,.34)}

/* ============ Homepage featured ============ */
.hq-featured{margin:40px auto}
.hq-section-head{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:10px;margin-bottom:20px}
.hq-section-title{font-size:29px;margin:0}
.hq-section-more{font-size:14px;font-weight:700;color:var(--navy);text-transform:uppercase;letter-spacing:.4px}
/* Homepage section headers carry the orange accent rule — the page's editorial signature. */
.hq-featured .hq-section-title,.hq-cattiles .hq-section-title,.hq-why .hq-section-title{
  position:relative;padding-bottom:13px;letter-spacing:-.2px}
.hq-featured .hq-section-title::after,.hq-cattiles .hq-section-title::after,.hq-why .hq-section-title::after{
  content:"";position:absolute;left:0;bottom:0;width:46px;height:3px;background:var(--accent);border-radius:2px}

/* ============ PROIZVODI category dropdown ============ */
.hq-catmenu-wrap{position:relative;flex:none}
.hq-menu-toggle[aria-expanded=true]{background:#202020}
.hq-catmenu-dropdown{position:absolute;left:0;top:calc(100% + 8px);width:340px;background:#fff;border:1px solid var(--border);border-radius:0 0 10px 10px;box-shadow:0 8px 24px rgba(0,0,0,.16);z-index:60;padding:6px 0}
.hq-catmenu{list-style:none;margin:0;padding:0}
.hq-catmenu__item{position:relative;border-bottom:1px solid var(--light)}
.hq-catmenu__item:last-child{border-bottom:0}
.hq-catmenu__item>a{display:block;padding:13px 26px;font-size:15px;color:var(--text)}
.hq-catmenu__item--sale>a{color:var(--sale);font-weight:700}
.hq-catmenu__item:hover{background:var(--light)}
.hq-catmenu__item:hover>a{color:var(--navy)}
.hq-catmenu__chevron{position:absolute;right:16px;top:50%;transform:translateY(-50%);width:11px;height:11px;color:var(--muted);pointer-events:none;transition:transform .2s}
/* multi-level hover flyout: each category with children opens its own panel to the right */
.hq-catmenu__panel{display:none;position:absolute;left:100%;top:-1px;width:280px;background:#fff;border:1px solid var(--border);border-radius:0 10px 10px 0;box-shadow:8px 10px 26px rgba(0,0,0,.16);padding:6px 0;z-index:5}
.hq-catmenu__item.has-children:hover>.hq-catmenu__panel,
.hq-catmenu__sub-item.has-children:hover>.hq-catmenu__panel--l3{display:block}
.hq-catmenu__panel-title{display:block;padding:11px 22px;font-size:11px;font-weight:700;letter-spacing:.6px;text-transform:uppercase;color:#fff;background:var(--navy);margin-bottom:6px;text-decoration:none}
.hq-catmenu__panel-title:hover{color:#fff;background:var(--navy-dark)}
.hq-catmenu__panel ul{list-style:none;margin:0;padding:0}
.hq-catmenu__sub-item{position:relative}
.hq-catmenu__panel li>a{display:block;padding:9px 30px 9px 22px;font-size:15px;color:var(--text)}
.hq-catmenu__panel li>a:hover{background:var(--light);color:var(--navy)}
.hq-catmenu__sub-item.has-children>a{font-weight:700}
.hq-catmenu__empty{padding:16px 26px;color:var(--muted);font-size:13px}
/* Desktop keeps these in the top bar; the mobile media query reveals them here. */
.hq-catmenu__utility{display:none}

@media(max-width:768px){
  .hq-hero{min-height:330px}
  .hq-hero__title{font-size:34px}
  .hq-catmenu-dropdown{position:fixed;left:0;right:0;top:auto;width:100%;max-height:72vh;overflow:auto;border-radius:0}
  /* accordion: panels collapsed by default, only the level the user taps opens */
  .hq-catmenu__panel{position:static;display:none!important;width:auto;border:0;box-shadow:none;padding:0 0 8px 16px;max-height:none}
  .hq-catmenu__item.is-open>.hq-catmenu__panel,.hq-catmenu__sub-item.is-open>.hq-catmenu__panel--l3{display:block!important}
  .hq-catmenu__panel--l3{padding-left:28px}
  .hq-catmenu__item.is-open>.hq-catmenu__chevron,.hq-catmenu__sub-item.is-open>.hq-catmenu__chevron{transform:translateY(-50%) rotate(90deg)}
  .hq-catmenu__utility{display:block;border-top:8px solid var(--light);margin-top:4px;padding:6px 0 2px}
  .hq-catmenu__utility a{display:flex;align-items:center;gap:9px;padding:14px 26px;font-size:15px;font-weight:600;color:var(--navy)}
  .hq-catmenu__utility a:active,.hq-catmenu__utility a:hover{background:var(--light)}
  .hq-catmenu__utility a::before{content:"";width:7px;height:7px;border-right:2px solid var(--accent);border-top:2px solid var(--accent);transform:rotate(45deg);flex:none}
}

/* ============ Cart drawer ============ */
body.hq-no-scroll{overflow:hidden}
.hq-drawer-overlay{position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:990}
.hq-drawer-overlay[hidden]{display:none}
.hq-cart-drawer{position:fixed;top:0;right:0;height:100%;width:380px;max-width:90vw;background:#fff;z-index:1000;display:flex;flex-direction:column;transform:translateX(100%);transition:transform .28s ease;box-shadow:-8px 0 28px rgba(0,0,0,.16)}
.hq-cart-drawer.is-open{transform:translateX(0)}
.hq-cart-drawer__head{display:flex;align-items:center;justify-content:space-between;padding:17px 22px;background:var(--navy);color:#fff;font-weight:700;text-transform:uppercase;letter-spacing:.5px;font-size:15px}
.hq-cart-drawer__close{background:none;border:0;color:#fff;font-size:26px;line-height:1;cursor:pointer;padding:0}
.hq-cart-drawer__body{flex:1;overflow-y:auto;display:flex;flex-direction:column}
.hq-cart-drawer__inner{display:flex;flex-direction:column;flex:1}
.hq-cart-empty{padding:44px 22px;text-align:center;color:var(--muted)}
.hq-cart-empty .hq-btn{display:inline-flex;width:auto;margin-top:14px}
.hq-cart-drawer__items{list-style:none;margin:0;padding:0;flex:1}
.hq-cart-item{display:flex;align-items:center;gap:12px;padding:14px 22px;border-bottom:1px solid var(--border)}
.hq-cart-item__img{flex:none;width:60px;height:60px;border:1px solid var(--border);display:flex;align-items:center;justify-content:center;padding:6px}
.hq-cart-item__img img{max-width:100%;max-height:100%;object-fit:contain;mix-blend-mode:multiply}
.hq-cart-item__info{flex:1;min-width:0}
.hq-cart-item__name{display:block;font-size:14px;color:var(--text);line-height:1.35;margin-bottom:4px}
.hq-cart-item__name:hover{color:var(--navy)}
.hq-cart-item__meta{font-size:13px;color:var(--navy);font-weight:700}
.hq-cart-item__remove{flex:none;background:none;border:0;color:var(--muted);font-size:20px;line-height:1;cursor:pointer;padding:4px}
.hq-cart-item__remove:hover{color:var(--sale)}
.hq-cart-drawer__subtotal{display:flex;align-items:center;justify-content:space-between;padding:16px 22px;border-top:1px solid var(--border);font-size:15px}
.hq-cart-drawer__subtotal strong{font-size:20px;color:var(--navy)}
.hq-cart-drawer__actions{display:flex;gap:10px;padding:0 22px 22px}
.hq-cart-drawer__actions .hq-btn{flex:1}
.hq-cart-drawer__help{margin:0;padding:0 22px 20px;font-size:13px;color:var(--muted,#6b7280);text-align:center}
.hq-cart-drawer__help a{color:var(--navy);font-weight:700;white-space:nowrap}
.hq-cart-help{margin:14px 0 0;text-align:right;font-size:14px;color:var(--muted,#6b7280)}
.hq-cart-help a{color:var(--navy);font-weight:700;white-space:nowrap}

/* ============ Product registration form ============ */
.hq-reg-layout{display:grid;grid-template-columns:1fr 360px;gap:32px;align-items:start;margin:8px 0 20px}
.hq-reg-notes{background:#f4f5f7;border:1px solid var(--border);border-radius:8px;padding:22px 24px;font-size:14.5px;line-height:1.65;color:var(--text)}
.hq-reg-notes p{margin:0 0 12px}
.hq-reg-notes strong{color:var(--navy)}
@media(max-width:880px){ .hq-reg-layout{grid-template-columns:1fr} .hq-reg-notes{order:-1} }
.hq-reg-form{max-width:760px;margin:0}
.hq-reg-hp{position:absolute!important;left:-9999px}
.hq-reg-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.hq-reg-form label{display:block;font-size:14px;font-weight:700;color:var(--navy)}
.hq-reg-form label span{color:var(--sale)}
.hq-reg-form input,.hq-reg-form textarea{width:100%;margin-top:6px;padding:12px 14px;border:1px solid var(--border);border-radius:6px;font-family:var(--font);font-size:15px;font-weight:400;color:var(--text);background:#fff}
.hq-reg-form input:focus,.hq-reg-form textarea:focus{outline:none;border-color:var(--navy)}
.hq-reg-full{margin-top:16px}
.hq-reg-consent{display:flex;align-items:flex-start;gap:9px;margin:16px 0;font-weight:400!important;color:var(--text)!important;font-size:13px}
.hq-reg-consent input{width:auto;margin:2px 0 0}
.hq-reg-submit{width:auto;padding:13px 30px}
.hq-reg-msg{padding:13px 16px;border-radius:6px;margin-bottom:18px;font-size:14px}
.hq-reg-msg--ok{background:#e7f4ea;color:#1d6b33;border:1px solid #b7dcc1}
.hq-reg-msg--err{background:#fdeaea;color:#a32020;border:1px solid #f0c2c2}
@media(max-width:560px){ .hq-reg-grid{grid-template-columns:1fr} }

/* ============ Wishlist ============ */
.hq-badge--sale{left:12px;right:auto}            /* badges go top-left so the heart can sit top-right */
.hq-wish-btn{position:absolute;top:10px;right:10px;width:34px;height:34px;border:1px solid var(--border);border-radius:50%;background:#fff;color:var(--muted);display:flex;align-items:center;justify-content:center;cursor:pointer;z-index:3;transition:color .15s,border-color .15s}
.hq-wish-btn svg{width:18px;height:18px}
.hq-wish-btn:hover{color:var(--navy);border-color:var(--navy)}
.hq-wish-btn.is-active{color:var(--sale);border-color:var(--sale)}
.hq-wish-btn.is-active svg{fill:currentColor}
.hq-single-product__gallery .hq-wish-btn{top:14px;right:14px;width:42px;height:42px}
.hq-single-product__gallery .hq-wish-btn svg{width:21px;height:21px}
.hq-wishlist-page{min-height:180px}
.hq-wishlist-empty{padding:44px 0;color:var(--muted);font-size:15px}

/* ============ Promo bar + cookie banner ============ */
.hq-promobar{background:var(--navy-dark);color:#fff;font-size:13px;letter-spacing:.3px}
.hq-promobar__inner{display:flex;align-items:center;justify-content:center;gap:14px;padding:8px 24px;position:relative;text-align:center}
.hq-promobar__close{position:absolute;right:18px;top:50%;transform:translateY(-50%);background:none;border:0;color:#fff;font-size:18px;line-height:1;cursor:pointer;opacity:.8}
.hq-promobar__close:hover{opacity:1}
.hq-cookie{position:fixed;left:16px;right:16px;bottom:16px;max-width:680px;margin:0 auto;background:#fff;border:1px solid var(--border);border-radius:8px;box-shadow:0 8px 28px rgba(0,0,0,.18);padding:18px 22px;display:flex;align-items:center;gap:18px;z-index:1100;flex-wrap:wrap}
.hq-cookie[hidden]{display:none}
.hq-cookie__text{flex:1;min-width:230px;font-size:14px;line-height:1.6;color:var(--text)}
.hq-cookie__text a{color:var(--navy);font-weight:700}
.hq-cookie__actions{display:flex;gap:10px;align-items:center;flex:none}
.hq-cookie__actions .hq-btn{width:auto;white-space:nowrap;padding:11px 22px}
.hq-cookie__reject{background:#fff!important;color:var(--navy)!important;border:1px solid var(--border)!important}
.hq-cookie__reject:hover{background:var(--light)!important;color:var(--navy-dark)!important}
@media(max-width:560px){.hq-cookie__actions{width:100%}.hq-cookie__actions .hq-btn{flex:1}}
@media(max-width:560px){ .hq-promobar__inner{font-size:11.5px;padding:8px 34px 8px 14px} }

/* ============ Cart / Checkout (brand polish over WC base) ============ */
.woocommerce{font-family:var(--font)}
.woocommerce-checkout .col2-set,.woocommerce-cart .woocommerce{max-width:1180px;margin:0 auto}
.woocommerce h3,.woocommerce-checkout #order_review_heading{font-weight:700;color:var(--navy)}
.woocommerce form .form-row label{font-size:14px;font-weight:600;color:var(--navy);margin-bottom:4px}
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce select,.select2-container--default .select2-selection--single{border:1px solid var(--border)!important;border-radius:8px!important;padding:12px 14px!important;font-size:15px;min-height:auto;background:#fff}
.woocommerce form .form-row input.input-text:focus,.woocommerce form .form-row textarea:focus,.woocommerce select:focus,.select2-container--default.select2-container--focus .select2-selection--single{border-color:var(--navy)!important;outline:none;box-shadow:0 0 0 3px rgba(39,58,96,.12)}
.woocommerce table.shop_table{border-radius:8px}
/* navy pill buttons */
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #place_order,.woocommerce a.button.alt,.woocommerce button.button.alt{background:var(--navy)!important;color:#fff!important;border-radius:var(--btn-radius)!important;text-transform:uppercase;font-weight:700;letter-spacing:.5px;padding:13px 30px!important;border:0}
.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce #place_order:hover{background:var(--navy-dark)!important}
.woocommerce #place_order{width:100%;font-size:16px;padding:16px 30px!important}

/* ---- Cart table ---- */
.woocommerce-cart .woocommerce-cart-form{background:#fff;border:1px solid var(--border);border-radius:14px;overflow:hidden;box-shadow:0 2px 10px rgba(0,0,0,.03)}
.woocommerce-cart table.cart{margin:0;border:0;border-collapse:collapse}
.woocommerce-cart table.cart thead th{background:var(--navy);color:#fff;font-size:12.5px;text-transform:uppercase;letter-spacing:.5px;padding:15px 18px;border:0;text-align:left}
.woocommerce-cart table.cart tbody td{padding:16px 18px;border-top:1px solid var(--border);vertical-align:middle;background:#fff}
.woocommerce-cart table.cart tbody tr:first-child td{border-top:0}
.woocommerce-cart table.cart td.product-thumbnail img{width:64px;height:64px;object-fit:contain;border:1px solid var(--border);border-radius:8px;background:#fff;padding:5px}
.woocommerce-cart table.cart td.product-name a{color:var(--navy);font-weight:700;font-size:15px;text-decoration:none}
.woocommerce-cart table.cart td.product-name a:hover{color:var(--navy-dark)}
.woocommerce-cart table.cart td.product-price,.woocommerce-cart table.cart td.product-subtotal{font-weight:700;color:var(--text)}
.woocommerce-cart table.cart td.product-remove{width:42px}
.woocommerce-cart table.cart td.product-remove a.remove{color:#c0392b!important;font-size:18px;width:26px;height:26px;line-height:24px;border:1px solid var(--border);border-radius:50%;background:#fff!important;text-align:center}
.woocommerce-cart table.cart td.product-remove a.remove:hover{background:#c0392b!important;color:#fff!important;border-color:#c0392b}
.woocommerce-cart .quantity input.qty{width:64px;text-align:center;border:1px solid var(--border)!important;border-radius:8px!important;padding:9px 6px!important;font-size:15px;font-weight:600}
.woocommerce-cart td.actions{padding:16px 18px!important;background:#f9fafb;border-top:1px solid var(--border);overflow:hidden}
.woocommerce-cart td.actions .coupon{float:left;display:flex;gap:8px;align-items:center;margin:0}
.woocommerce-cart td.actions .coupon #coupon_code{width:180px;border:1px solid var(--border)!important;border-radius:var(--btn-radius)!important;padding:12px 18px!important;font-size:14px}
.woocommerce-cart td.actions>button[name=update_cart]{float:right;margin:0}
.woocommerce-cart td.actions .button{font-size:12.5px;letter-spacing:.3px;padding:11px 22px!important}

/* ---- Cart totals box ---- */
.cart-collaterals{display:flex;justify-content:flex-end;margin-top:26px}
.cart_totals{width:100%;max-width:430px;background:#fff;border:1px solid var(--border);border-radius:14px;overflow:hidden;box-shadow:0 2px 10px rgba(0,0,0,.03)}
.cart_totals h2{margin:0;background:var(--navy);color:#fff!important;font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.4px;padding:14px 22px}
.cart_totals table{margin:0;border:0;width:100%}
.cart_totals table th,.cart_totals table td{padding:15px 22px;border:0;border-top:1px solid var(--border);text-align:left}
.cart_totals table td{text-align:right}
.cart_totals .order-total th,.cart_totals .order-total td{font-size:19px;color:var(--navy);font-weight:800}
.cart_totals .order-total .amount{color:var(--navy)}
/* Međuzbroj used to be hidden to keep only "Ukupno". Once an automatic discount
   exists that hides the arithmetic: the customer would see a deduction and a
   total with nothing to subtract it from. It is shown again. */
.wc-proceed-to-checkout{padding:18px 22px!important;margin:0;background:#f9fafb;border-top:1px solid var(--border)}
.wc-proceed-to-checkout a.checkout-button{display:block;width:100%;text-align:center;margin:0!important;font-size:15px}
.woocommerce-cart .cart-empty,.woocommerce-cart .return-to-shop{text-align:center}

/* ---- Checkout wizard ---- */
.hq-wz{max-width:1180px;margin:0 auto 30px}
/* `.hq-wz ol.hq-wz__bar` (not just `.hq-wz__bar`) so it outranks the prose list
   rule `.hq-page__content ol{margin:0 0 16px 20px}` — the checkout is a WP page,
   and that stray 20px left margin made the stepper narrower than the form. */
.hq-wz ol.hq-wz__bar{display:flex;list-style:none;margin:0;padding:0;background:#fff;border:1px solid var(--border);border-radius:14px;overflow:hidden;box-shadow:0 2px 10px rgba(0,0,0,.03)}
.hq-wz__node{flex:1;display:flex;align-items:center;justify-content:center;gap:11px;padding:16px 12px;font-size:14.5px;font-weight:700;color:#9aa3b2;cursor:pointer;border-bottom:3px solid transparent;transition:color .2s,border-color .2s}
.hq-wz__node+.hq-wz__node{border-left:1px solid var(--border)}
.hq-wz__num{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;background:#d7dbe3;color:#fff;font-size:14px;flex:none;transition:background .2s}
.hq-wz__node.is-active{color:var(--navy);border-bottom-color:var(--navy)}
.hq-wz__node.is-active .hq-wz__num,.hq-wz__node.is-done .hq-wz__num{background:var(--navy)}
.hq-wz__node.is-done{color:var(--navy)}
.hq-wz__node.is-done .hq-wz__num{font-size:0}
.hq-wz__node.is-done .hq-wz__num::after{content:"✓";font-size:16px}
/* hide-only (so the single-column #customer_details rule can't force it visible on step 2) */
.hq-wz-step:not(.is-active){display:none!important}
.hq-wz-controls{margin:24px 0 0;text-align:right}
.hq-wz-controls--back{margin:0 0 6px;text-align:left}
.hq-wz-next{min-width:270px}
.hq-wz-back{background:none;border:0;color:var(--navy);font-weight:700;font-size:15px;cursor:pointer;padding:6px 0;display:inline-flex;align-items:center;gap:6px}
.hq-wz-back:hover{color:var(--navy-dark);text-decoration:underline}

/* ---- Checkout panels ---- */
.woocommerce-checkout .woocommerce-billing-fields,.woocommerce-checkout .woocommerce-additional-fields,.woocommerce-checkout #order_review{background:#fff;border:1px solid var(--border);border-radius:14px;padding:24px 26px;box-shadow:0 2px 10px rgba(0,0,0,.03)}
.woocommerce-checkout .woocommerce-additional-fields{margin-top:0}
.woocommerce-checkout #order_review_heading{margin:0 0 16px;font-size:20px}
/* step 1 as a single full-width column (notes drop below the address) */
.woocommerce-checkout #customer_details.col2-set{display:block;width:100%;float:none}
.woocommerce-checkout #customer_details .col-1,.woocommerce-checkout #customer_details .col-2{float:none;width:100%;max-width:none;padding:0}
.woocommerce-checkout #customer_details .col-2{margin-top:22px}
.woocommerce-checkout #order_review{padding:0;overflow:hidden}
.woocommerce-checkout #order_review .shop_table{margin:0;border:0;width:100%}
.woocommerce-checkout #order_review .shop_table thead th{background:var(--navy);color:#fff;font-size:12.5px;text-transform:uppercase;letter-spacing:.5px;padding:14px 22px;border:0}
.woocommerce-checkout #order_review .shop_table td,.woocommerce-checkout #order_review .shop_table th{padding:14px 22px;border-top:1px solid var(--border)}
.woocommerce-checkout #order_review .cart_item td{vertical-align:middle}
.woocommerce-checkout #order_review .order-total th,.woocommerce-checkout #order_review .order-total td{font-size:18px;color:var(--navy);font-weight:800}
.woocommerce-checkout #payment{background:#f9fafb;border:0;border-top:1px solid var(--border);border-radius:0}
.woocommerce-checkout #payment ul.payment_methods{padding:22px 22px 6px;border:0}
.woocommerce-checkout #payment ul.payment_methods li{border:1px solid var(--border);background:#fff;border-radius:10px;padding:14px 16px;margin:0 0 12px;list-style:none}
.woocommerce-checkout #payment ul.payment_methods li label{font-weight:700;color:var(--navy);font-size:15px;display:inline}
.woocommerce-checkout #payment div.payment_box{background:#f4f5f7;border-radius:8px;font-size:13.5px;margin-top:10px}
.woocommerce-checkout #payment div.payment_box::before{display:none}
.woocommerce-checkout #payment .place-order{padding:6px 22px 24px}

/* order summary line: thumbnail + name */
.hq-corev{display:flex;align-items:center;gap:12px}
.hq-corev__img{flex:none;width:50px;height:50px;border:1px solid var(--border);border-radius:8px;background:#fff;display:flex;align-items:center;justify-content:center;overflow:hidden;padding:4px}
.hq-corev__img img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}
.hq-corev__name{font-size:13.5px;line-height:1.4;font-weight:600;color:var(--navy)}

/* coupon toggle */
.woocommerce-form-coupon-toggle .woocommerce-info{background:#f9fafb;border-top-color:var(--navy);font-size:14px}
.woocommerce-form-coupon-toggle .woocommerce-info a{color:var(--navy);font-weight:700}

/* terms checkbox */
.woocommerce-terms-and-conditions-wrapper{margin:8px 0 18px}
.woocommerce-terms-and-conditions-wrapper .woocommerce-form__label-for-checkbox{font-size:14px;color:var(--text)}
.woocommerce-terms-and-conditions-wrapper a{color:var(--navy);font-weight:700}
.woocommerce-privacy-policy-text{font-size:13px;color:#6b7280}

@media(max-width:560px){
  .hq-wz__node{flex-direction:column;gap:6px;font-size:11.5px;text-align:center;padding:12px 4px;line-height:1.25}
  .hq-wz__num{width:26px;height:26px;font-size:13px}
  .hq-wz-next{width:100%;min-width:0}
  .cart-collaterals .cart_totals{max-width:none}
  /* show the product thumbnail (WC hides it on responsive carts) centered atop each item */
  .woocommerce-cart table.cart td.product-thumbnail{display:block!important;text-align:center;border-top:0;padding:18px 18px 0}
  .woocommerce-cart table.cart td.product-thumbnail::before{display:none}
  .woocommerce-cart table.cart td.product-thumbnail img{display:block;width:96px;height:96px;margin:0 auto!important;float:none}
  .woocommerce-cart table.cart td.product-name{text-align:center;border-top:0}
  /* coupon + update stack full-width */
  .woocommerce-cart td.actions .coupon{float:none;flex-wrap:wrap}
  .woocommerce-cart td.actions .coupon #coupon_code{flex:1;min-width:0;width:auto}
  .woocommerce-cart td.actions>button[name=update_cart]{float:none;width:100%;margin-top:10px}
}

/* ============ Add-to-cart toast ============ */
.hq-toast{position:fixed;right:24px;top:24px;z-index:1200;display:flex;align-items:center;gap:11px;background:#fff;color:var(--navy);padding:14px 18px 14px 15px;border:1px solid #e5e7eb;border-left:4px solid var(--navy);border-radius:10px;box-shadow:0 14px 36px rgba(0,0,0,.22);font-size:14px;font-weight:700;transform:translateY(-18px);opacity:0;transition:transform .3s ease,opacity .3s ease;max-width:340px}
.hq-toast.is-show{transform:translateY(0);opacity:1}
.admin-bar .hq-toast{top:52px}
.hq-toast svg{width:24px;height:24px;flex:none}
@media(max-width:560px){.hq-toast{right:12px;left:auto;top:12px;max-width:calc(100vw - 24px)} .admin-bar .hq-toast{top:58px}}
/* hide WC's inline "view cart" link on cards — toast + drawer give the feedback */
.added_to_cart{display:none!important} /* toast + drawer give the feedback — hide WC's inline "view cart" link */
.woocommerce-message:empty{display:none!important} /* hide the now-empty add-to-cart success notice */

/* ============ Content pages (Kontakt, legal, etc.) ============ */
.hq-page{padding:6px 0 44px}
.hq-page__title{font-size:30px;font-weight:700;color:var(--navy);letter-spacing:.3px;margin:18px 0 22px}
.hq-page__content{max-width:880px;font-size:15px;line-height:1.78;color:var(--text)}
.hq-page__content h2,.hq-page__content h3,.hq-page__content h4{color:var(--navy);font-weight:700;line-height:1.3}
.hq-page__content h2{font-size:21px;margin:30px 0 10px}
.hq-page__content h3{font-size:17px;margin:24px 0 8px}
.hq-page__content strong,.hq-page__content b{color:var(--navy)}
.hq-page__content p{margin:0 0 14px}
.hq-page__content ul,.hq-page__content ol{margin:0 0 16px 20px;padding:0}
.hq-page__content li{margin:5px 0}
.hq-page__content a{color:var(--navy);font-weight:600;text-decoration:underline}
/* drop any leftover inline elementor CSS dumped as text */
.hq-page__content style{display:none}

/* Kontakt */
.hq-kontakt{max-width:none}
.hq-kontakt__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-bottom:26px}
.hq-kontakt__card{background:#f9fafb;border:1px solid var(--border);border-radius:12px;padding:22px 24px}
.hq-kontakt__card h2{font-size:13px;text-transform:uppercase;letter-spacing:.6px;color:var(--navy);margin:0 0 10px}
.hq-kontakt__card p{margin:0 0 4px;font-size:14.5px;line-height:1.7}
.hq-kontakt__card strong{color:var(--navy);font-size:18px}
.hq-kontakt__card a{color:var(--navy);font-weight:700}
.hq-kontakt iframe{display:block;width:100%;height:380px;border:0;border-radius:12px}
@media(max-width:760px){.hq-kontakt__grid{grid-template-columns:1fr}}

/* ============ Free-delivery progress (cart, checkout, drawer) ============ */
.hq-freeship{background:var(--light);border:1px solid var(--border);border-radius:14px;padding:14px 16px;margin:0 0 22px}
.hq-freeship__row{display:flex;align-items:center;gap:10px}
.hq-freeship__icon{flex:none;width:34px;height:34px;border-radius:50%;background:#fff;border:1px solid var(--border);
  display:flex;align-items:center;justify-content:center;color:var(--navy)}
.hq-freeship__icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.hq-freeship__msg{font-size:14px;line-height:1.45;color:var(--text)}
.hq-freeship__msg strong{color:var(--navy)}
.hq-freeship__track{height:7px;border-radius:6px;background:#e2e5ea;overflow:hidden;margin:11px 0 0}
.hq-freeship__fill{display:block;height:100%;border-radius:6px;background:linear-gradient(90deg,#F4A05A,#F47920);
  transition:width .45s cubic-bezier(.2,.8,.3,1)}
.hq-freeship__hint{margin:8px 0 0;font-size:12px;color:var(--muted)}
.hq-freeship.is-reached{background:#eef7f0;border-color:#c5e3cd}
.hq-freeship.is-reached .hq-freeship__icon{color:var(--stock);border-color:#c5e3cd}
.hq-freeship.is-reached .hq-freeship__msg strong{color:var(--stock)}
.hq-freeship.is-reached .hq-freeship__fill{background:linear-gradient(90deg,#5cab63,var(--stock))}
/* Drawer variant: tighter, sits between the item list and the subtotal. */
.hq-freeship--compact{margin:0;border-radius:0;border-left:0;border-right:0;border-bottom:0;padding:13px 22px}
.hq-freeship--compact .hq-freeship__msg{font-size:13px}
.hq-freeship--compact .hq-freeship__icon{width:28px;height:28px}
.hq-freeship--compact .hq-freeship__icon svg{width:15px;height:15px}
@media(prefers-reduced-motion:reduce){.hq-freeship__fill{transition:none}}

/* ============ Empty state (no products on sale, etc.) ============ */
.hq-empty-state{text-align:center;padding:56px 24px;background:var(--light);border-radius:16px;margin:8px 0 24px}
.hq-empty-state h2{margin:0 0 8px;font-size:22px}
.hq-empty-state p{margin:0 auto 20px;max-width:520px;color:var(--muted)}

/* ============ Mobile refinements ============ */
/* Reserve the card image box before the image arrives, so the grid does not
   jump as products stream in (cumulative layout shift). */
.hq-product-card__img-wrap{aspect-ratio:1/1}
.hq-product-card__img{width:100%;height:100%;object-fit:contain}

@media(max-width:768px){
  /* Touch targets: 44px is the smallest comfortable one-thumb target. */
  .hq-account{gap:6px}
  .hq-iconlink{width:44px;height:44px;align-items:center;justify-content:center}
  .hq-iconlink .hq-count{top:2px;right:2px}
  .hq-phone{width:44px;height:44px;justify-content:center;gap:0}
  .hq-promobar__close{right:6px;width:44px;height:44px;display:flex;align-items:center;justify-content:center}
  .hq-search__btn{width:42px;height:42px}
  .hq-wish-btn{width:40px;height:40px}
  .hq-wish-btn svg{width:19px;height:19px}

  /* Archive toolbar: the result count was being squeezed into a 60px column
     beside the sort select. Stack them and give the select full width. */
  .hq-shop__header{align-items:flex-start}
  .hq-shop__toolbar{flex-direction:column;align-items:stretch;gap:9px;width:100%}
  .hq-shop__toolbar .woocommerce-result-count{margin:0;font-size:13px}
  .hq-shop__toolbar form,.hq-shop__toolbar select{width:100%}
  .hq-shop__toolbar select{min-height:44px}

  /* Card CTA fills the card width and stays on one line — same for every section. */
  .hq-product-card__actions .hq-btn,.hq-rec-card__actions .hq-btn{display:block;width:100%;text-align:center;
    min-height:44px;padding:12px 8px;font-size:12px;line-height:1.25}
  .hq-product-card__title{font-size:14px}

  /* Free-delivery bar sits flush with the cart card on narrow screens. */
  .hq-freeship{padding:12px 14px;margin-bottom:16px}
  .hq-freeship__msg{font-size:13px}
}

@media(max-width:430px){
  .hq-container{padding:0 14px}
  .hq-product-grid,.related ul.products,.up-sells ul.products{gap:10px}
  .hq-product-card__body{padding:12px 12px 14px}
  .hq-empty-state{padding:40px 16px}
}

/* Respect the OS "reduce motion" setting across the theme. */
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;
    transition-duration:.01ms!important;scroll-behavior:auto!important}
}

/* ============ Homepage category tiles (husqvarna.com style) ============ */
.hq-cattiles{margin:44px auto 8px}
.hq-cattiles__grid{list-style:none;margin:0;padding:0;
  display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
/* Few categories: centre a capped-width row instead of stretching a lonely tile. */
.hq-cattiles__grid--few{grid-template-columns:repeat(auto-fit,minmax(220px,300px));justify-content:center}
.hq-cattile>a{display:flex;flex-direction:column;height:100%;text-decoration:none;color:inherit;
  border-radius:14px;padding:6px 6px 16px;transition:background .18s}
/* Flat by default, like the reference — the image lifts on hover, not the card. */
.hq-cattile>a:hover{background:var(--light)}
.hq-cattile__media{display:flex;align-items:center;justify-content:center;
  aspect-ratio:4/3;background:var(--light);border-radius:11px;overflow:hidden;margin-bottom:12px}
.hq-cattile>a:hover .hq-cattile__media{background:#fff}
.hq-cattile__media img{max-width:82%;max-height:82%;width:auto;height:auto;object-fit:contain;
  transition:transform .25s ease}
.hq-cattile>a:hover .hq-cattile__media img{transform:scale(1.04)}
.hq-cattile__name{font-size:16px;font-weight:700;color:var(--navy);line-height:1.3;padding:0 8px}
.hq-cattile__count{font-size:12.5px;color:var(--muted);padding:2px 8px 0}
/* A "Pogledaj →" call-to-action slides up on hover — the tile invites the click. */
.hq-cattile__cta{display:inline-flex;align-items:center;gap:7px;margin:8px 8px 0;font-size:12.5px;font-weight:700;
  text-transform:uppercase;letter-spacing:.5px;color:var(--accent-dark);
  opacity:0;transform:translateY(6px);transition:opacity .22s ease,transform .22s ease}
.hq-cattile>a:hover .hq-cattile__cta{opacity:1;transform:none}
.hq-cattile__cta .la{font-size:13px;transition:transform .2s ease}
.hq-cattile>a:hover .hq-cattile__cta .la{transform:translateX(4px)}
@media(hover:none){.hq-cattile__cta{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.hq-cattile__cta{transition:none}.hq-cattile>a:hover .hq-cattile__cta .la{transform:none}}
@media(max-width:980px){.hq-cattiles__grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:680px){.hq-cattiles__grid{grid-template-columns:1fr 1fr;gap:12px}
  .hq-cattile__name{font-size:14px}}

/* ============ Product-page recommendation sections ============ */
.hq-recos{margin:44px 0 0;padding-top:36px;border-top:1px solid var(--border)}
.hq-recos:first-of-type{border-top:0;padding-top:0}
.hq-recos .hq-section-title{font-size:24px}
.hq-recos__sub{margin:-10px 0 18px;color:var(--muted);font-size:14px}
.hq-recos .hq-product-grid{margin-top:0}
@media(max-width:768px){
  .hq-recos{margin-top:32px;padding-top:26px}
  .hq-recos .hq-section-title{font-size:20px}
}

/* ============================================================
   Cart / checkout / tiles — layout + polish pass
   ============================================================ */

/* ---- 6. Category tiles: product photos are cut out on white, so a grey
        plate behind them just framed the white. Tile is white with a hairline
        border; the hover state lifts the card, not the plate. ---- */
.hq-cattile__media{background:#fff;border:1px solid var(--border);
  transition:border-color .18s,box-shadow .18s}
.hq-cattile>a{padding:0 0 14px;border-radius:14px}
.hq-cattile>a:hover{background:transparent}
.hq-cattile>a:hover .hq-cattile__media{background:#fff;border-color:#d7dde7;
  box-shadow:0 10px 24px rgba(20,28,48,.09)}
.hq-cattile__media img{max-width:78%;max-height:78%}
.hq-cattile__name{padding:14px 4px 0;font-size:15.5px}
.hq-cattile__count{padding:3px 4px 0}

/* ---- 7. Cart: use the full container and put the summary beside the items
        instead of stranded under them. ---- */
.woocommerce-cart .woocommerce{max-width:none}
@media(min-width:1000px){
  .woocommerce-cart .woocommerce{
    display:grid;grid-template-columns:minmax(0,1fr) 372px;gap:26px;align-items:start}
  .woocommerce-cart .woocommerce>form.woocommerce-cart-form{grid-column:1;margin:0}
  .woocommerce-cart .woocommerce>.cart-collaterals{grid-column:2;margin:0;display:block}
  /* Notices and anything else WooCommerce prints run the full width. */
  .woocommerce-cart .woocommerce>.woocommerce-notices-wrapper,
  .woocommerce-cart .woocommerce>.woocommerce-message,
  .woocommerce-cart .woocommerce>.woocommerce-error,
  .woocommerce-cart .woocommerce>.woocommerce-info,
  .woocommerce-cart .woocommerce>.cart-empty,
  .woocommerce-cart .woocommerce>.return-to-shop{grid-column:1 / -1}
  /* The summary follows the customer down a long basket. */
  .woocommerce-cart .cart_totals{max-width:none;position:sticky;top:calc(var(--hq-header-h,143px) + 16px)}
}
.woocommerce-cart table.cart thead th{padding:16px 20px}
.woocommerce-cart table.cart tbody td{padding:18px 20px}
.woocommerce-cart table.cart td.product-thumbnail img{width:72px;height:72px}
.woocommerce-cart table.cart td.product-name a{font-size:15.5px;line-height:1.4}
.cart_totals table th,.cart_totals table td{padding:16px 22px}
.cart_totals .order-total th,.cart_totals .order-total td{font-size:20px}

/* ---- 8. Checkout: breathing room around the step-1 button, and a filled
        primary button instead of the outlined default. ---- */
.woocommerce-checkout .hq-freeship{margin-bottom:26px}
.hq-wz-controls{margin:34px 0 8px}
.hq-wz-next{background:var(--navy);color:#fff;border-color:var(--navy);
  padding:15px 34px;font-size:15px;box-shadow:0 6px 18px rgba(39,58,96,.22)}
.hq-wz-next:hover{background:var(--navy-dark);border-color:var(--navy-dark);color:#fff;
  box-shadow:0 8px 22px rgba(39,58,96,.28)}
.hq-wz-next:focus-visible{outline:3px solid rgba(39,58,96,.35);outline-offset:2px}
/* Flash the terms row when someone tries to order without ticking it. */
@keyframes hq-terms-flash{0%,100%{background:transparent;box-shadow:0 0 0 0 rgba(244,121,32,0)}
  25%{background:rgba(244,121,32,.12);box-shadow:0 0 0 3px rgba(244,121,32,.30)}}
.hq-terms-flash{border-radius:8px;animation:hq-terms-flash 1.4s ease}
@media(prefers-reduced-motion:reduce){.hq-terms-flash{animation:none;box-shadow:0 0 0 3px rgba(244,121,32,.35);background:rgba(244,121,32,.10)}}

/* ---- 9. "Pregled i plaćanje": full width, and the payment panel sits beside
        the order table so the total and the pay button share one eyeline. ---- */
.hq-wz,
.woocommerce-checkout .col2-set,
.woocommerce-checkout form.checkout{max-width:none}
@media(min-width:1000px){
  .woocommerce-checkout #order_review{
    display:grid;grid-template-columns:minmax(0,1fr) 400px;gap:0;padding:0;overflow:hidden}
  .woocommerce-checkout #order_review>.shop_table{grid-column:1;align-self:start}
  .woocommerce-checkout #order_review>#payment{
    grid-column:2;border-top:0;border-left:1px solid var(--border);height:100%}
  .woocommerce-checkout #order_review>.shop_table td,
  .woocommerce-checkout #order_review>.shop_table th{padding:16px 24px}
}
.woocommerce-checkout #payment ul.payment_methods li:hover{border-color:#cbd3e0}
.woocommerce-checkout #payment ul.payment_methods li:has(input:checked){
  border-color:var(--navy);box-shadow:0 0 0 3px rgba(39,58,96,.10)}
.woocommerce-checkout #payment .place-order{padding:10px 22px 26px}
.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-additional-fields{padding:26px 30px}

@media(max-width:999px){
  .woocommerce-cart .cart_totals{max-width:none}
  .cart-collaterals{margin-top:22px}
}

/* Cart and checkout are WordPress pages, so they inherit the 880px reading
   width meant for text pages. They are layouts, not prose — let them use the
   full container. */
.woocommerce-cart .hq-page__content,
.woocommerce-checkout .hq-page__content{max-width:none}
.woocommerce-cart .hq-page__title,
.woocommerce-checkout .hq-page__title{margin-bottom:22px}

/* Summary box: the discount row carries a long label, so give it the room
   instead of breaking "150,00 €" across five lines. */
.cart_totals table th{width:58%;font-weight:600;color:var(--text)}
.cart_totals table td{width:42%;white-space:nowrap}
.cart_totals .cart-discount th{font-size:13.5px;line-height:1.45;font-weight:600}
.cart_totals .cart-discount td{color:var(--sale);font-weight:700}
.cart_totals .woocommerce-shipping-destination{font-size:12px;color:var(--muted);
  white-space:normal;display:block;margin-top:4px}
.cart_totals .shipping td{white-space:normal}
.cart_totals .order-total td small{display:block;font-size:12px;font-weight:400;
  color:var(--muted);white-space:normal;margin-top:2px}

/* WooCommerce ships `.woocommerce .cart-collaterals .cart_totals{float:right;width:48%}`
   for its own two-column cart. Our grid already owns the columns, so the
   summary must fill its cell instead of floating at 48% of it. */
.woocommerce-cart .cart-collaterals{width:100%;float:none}
.woocommerce-cart .cart-collaterals .cart_totals{width:100%;float:none;max-width:none}
.woocommerce-cart .cart-collaterals .cross-sells{width:100%;float:none}

/* The card clips its children (overflow:hidden), so WooCommerce's default h2
   margin could not collapse out and left a white strip above the navy header. */
.woocommerce-cart .cart_totals h2{margin:0}

/* A 1240px-wide primary button reads as a banner; cap it and let it sit at the
   end of the form. Full width only where the thumb needs it. */
@media(min-width:561px){
  .hq-wz-next{width:auto;min-width:320px}
}

/* ============ Order summary is not part of the item list ============
   Products are what the customer picked; subtotal, discount, delivery and
   total are the shop's arithmetic on top of them. A shared table made them
   read as more line items, so the summary gets its own tinted block behind a
   hard rule. Applies to the checkout review and the cart totals alike. */
.woocommerce-checkout #order_review .shop_table tfoot tr th,
.woocommerce-checkout #order_review .shop_table tfoot tr td{
  background:#f7f8fa;border-top:1px solid var(--border);padding:13px 24px}
.woocommerce-checkout #order_review .shop_table tfoot tr:first-child th,
.woocommerce-checkout #order_review .shop_table tfoot tr:first-child td{
  border-top:2px solid var(--navy);padding-top:17px}
.woocommerce-checkout #order_review .shop_table tfoot th{
  font-weight:600;color:var(--text);text-transform:none;letter-spacing:0}
.woocommerce-checkout #order_review .shop_table tfoot td{text-align:right}

/* The two things the customer gains sit apart from the plain amounts. */
.woocommerce-checkout #order_review .shop_table tfoot .cart-discount th,
.cart_totals .cart-discount th{color:var(--sale)}
.woocommerce-checkout #order_review .shop_table tfoot .cart-discount td,
.cart_totals .cart-discount td{color:var(--sale);font-weight:700}
.woocommerce-checkout #order_review .shop_table tfoot .cart-discount th::before,
.woocommerce-checkout #order_review .shop_table tfoot .shipping th::before,
.cart_totals .cart-discount th::before,
.cart_totals .shipping th::before{
  content:"";display:inline-block;width:6px;height:6px;border-radius:50%;
  background:currentColor;margin-right:8px;vertical-align:2px;opacity:.55}
.woocommerce-checkout #order_review .shop_table tfoot .shipping th,
.cart_totals .shipping th{color:var(--stock)}
.woocommerce-checkout #order_review .shop_table tfoot .shipping td,
.cart_totals .shipping td{color:var(--stock);font-weight:600}

/* Total closes the block. */
.woocommerce-checkout #order_review .shop_table tfoot .order-total th,
.woocommerce-checkout #order_review .shop_table tfoot .order-total td{
  background:#fff;border-top:2px solid var(--navy);padding-top:16px;padding-bottom:18px}
.woocommerce-checkout #order_review .shop_table tfoot .order-total td small,
.cart_totals .order-total td small{
  display:block;font-size:12px;font-weight:400;color:var(--muted);margin-top:3px}

/* Subtotal is back (see note above) but stays quiet — it is a reference value. */
.woocommerce-checkout #order_review .shop_table tfoot .cart-subtotal th,
.woocommerce-checkout #order_review .shop_table tfoot .cart-subtotal td,
.cart_totals .cart-subtotal th,.cart_totals .cart-subtotal td{color:var(--muted)}

@media(max-width:768px){
  .woocommerce-checkout #order_review .shop_table tfoot tr th,
  .woocommerce-checkout #order_review .shop_table tfoot tr td{padding:12px 16px}
}

/* ===================================================================
   Mobile refinement + motion pass
   Two goals: give the phone layout room to breathe, and let the page
   move like a finished product rather than snapping between states.
   Everything here degrades to a plain, complete page without JS, and
   goes still when the visitor asks for reduced motion.
   =================================================================== */

/* ---------- Sticky, self-shrinking header ---------- */
.hq-header{position:sticky;top:0;z-index:90;background:#fff;
  transition:box-shadow .28s ease}
body.admin-bar .hq-header{top:32px}
@media(max-width:782px){body.admin-bar .hq-header{top:46px}}
.hq-header.is-stuck{box-shadow:0 8px 26px rgba(20,28,48,.11)}
.hq-topbar__inner{transition:min-height .26s ease}
.hq-logo__img{transition:height .26s ease}
.hq-header.is-stuck .hq-topbar__inner{min-height:56px}
.hq-header.is-stuck .hq-logo__img{height:24px}
/* The dropdown is anchored to the header, so it has to clear it. */
.hq-catmenu-dropdown{z-index:95}

/* ---------- Scroll reveal ----------
   The hidden state only exists once JS has confirmed it can reveal it
   again (html.hq-js), so a failed script can never blank the page. */
.hq-js .hq-reveal{opacity:0;transform:translateY(14px);
  transition:opacity .55s cubic-bezier(.22,.8,.3,1),transform .55s cubic-bezier(.22,.8,.3,1)}
.hq-js .hq-reveal.is-in{opacity:1;transform:none}
/* Grid children arrive in sequence — enough to feel deliberate, short
   enough that nobody waits for it. */
.hq-js .hq-reveal.is-in>.hq-product-grid>li,
.hq-js .hq-reveal.is-in>.hq-cattiles__grid>li,
.hq-js .hq-reveal.is-in .hq-why__grid>*{animation:hq-rise .5s cubic-bezier(.22,.8,.3,1) backwards}
.hq-js .hq-reveal.is-in>.hq-product-grid>li:nth-child(2),
.hq-js .hq-reveal.is-in>.hq-cattiles__grid>li:nth-child(2),
.hq-js .hq-reveal.is-in .hq-why__grid>*:nth-child(2){animation-delay:.08s}
.hq-js .hq-reveal.is-in>.hq-product-grid>li:nth-child(3),
.hq-js .hq-reveal.is-in>.hq-cattiles__grid>li:nth-child(3),
.hq-js .hq-reveal.is-in .hq-why__grid>*:nth-child(3){animation-delay:.16s}
.hq-js .hq-reveal.is-in>.hq-product-grid>li:nth-child(4),
.hq-js .hq-reveal.is-in>.hq-cattiles__grid>li:nth-child(4){animation-delay:.18s}
@keyframes hq-rise{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}

/* ---------- Micro-interactions ---------- */
.hq-btn,.hq-hero__cta,.woocommerce a.button,.woocommerce button.button{
  transition:background .18s ease,color .18s ease,border-color .18s ease,
             box-shadow .18s ease,transform .12s ease}
.hq-btn:active,.hq-hero__cta:active,
.woocommerce a.button:active,.woocommerce button.button:active{transform:translateY(1px)}

/* Back-to-top — appears once the page has scrolled, glides in from below. */
.hq-backtop{position:fixed;right:20px;bottom:20px;width:46px;height:46px;border:0;border-radius:50%;
  background:var(--navy);color:#fff;cursor:pointer;z-index:60;display:flex;align-items:center;justify-content:center;
  box-shadow:0 8px 22px rgba(20,28,48,.28);opacity:0;transform:translateY(16px) scale(.9);pointer-events:none;
  transition:opacity .25s ease,transform .25s ease,background .18s ease}
.hq-backtop.is-vis{opacity:1;transform:none;pointer-events:auto}
.hq-backtop:hover{background:var(--accent);transform:translateY(-2px)}
.hq-backtop .la{font-size:22px;line-height:1}
@media(max-width:640px){.hq-backtop{right:14px;bottom:14px;width:44px;height:44px}}
.hq-product-card__img{transition:transform .35s cubic-bezier(.22,.8,.3,1)}
.hq-product-card:hover .hq-product-card__img{transform:scale(1.05)}
.hq-wish-btn{transition:color .16s,border-color .16s,transform .16s}
.hq-wish-btn:active{transform:scale(.9)}
.hq-section-more{transition:gap .2s,color .18s}
.hq-section-more:hover{text-decoration:underline;text-underline-offset:4px}
/* A visible keyboard path through the shop. */
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{
  outline:3px solid rgba(39,58,96,.38);outline-offset:2px;border-radius:4px}

/* ---------- Phone layout ---------- */
@media(max-width:640px){
  /* Hero: the desktop copy is a paragraph; on a phone it becomes a wall.
     Keep the promise and the button, cap the prose. */
  .hq-hero{min-height:430px}
  .hq-hero__overlay{background:linear-gradient(180deg,
    rgba(15,23,42,.30) 0%,rgba(15,23,42,.55) 55%,rgba(15,23,42,.78) 100%)}
  .hq-hero__content{padding-top:56px;padding-bottom:34px;
    display:flex;flex-direction:column;justify-content:flex-end;min-height:430px}
  .hq-hero__tag{font-size:11px;letter-spacing:1.6px;margin-bottom:7px}
  .hq-hero__title{font-size:32px;line-height:1.08;margin-bottom:10px}
  .hq-hero__sub{font-size:14.5px;line-height:1.55;margin-bottom:18px;max-width:none;
    display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
  .hq-hero__cta{align-self:flex-start;padding:12px 26px}
  .hq-hero__dots{bottom:12px}

  /* Section headings sit closer to their content. */
  .hq-section-title{font-size:21px}
  .hq-section-more{font-size:12.5px}
  .hq-section-head{margin-bottom:14px}
  .hq-featured{margin:30px auto}
  .hq-cattiles{margin:30px auto 4px}

  /* Cards: fewer, larger targets beat more, smaller ones. */
  .hq-product-card__body{padding:0 14px 16px;gap:6px}
  .hq-product-card__title{font-size:13.5px;line-height:1.35;min-height:0;
    display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  .hq-product-card__sku{font-size:11.5px}
  .hq-product-card__price{font-size:17px}
  .hq-product-card__price del{font-size:13px;margin-right:5px}
  .hq-product-card__stock{font-size:12px}
  .hq-product-card__img-wrap{padding:14px}
}

/* Two-up trust bar instead of a single tall column — same information,
   half the scrolling. */
@media(max-width:430px){
  .hq-trustbar__inner{grid-template-columns:1fr 1fr;gap:14px 10px;padding:18px 0}
  .hq-trust{gap:9px;align-items:flex-start}
  .hq-trust__icon{width:34px;height:34px}
  .hq-trust__icon svg{width:17px;height:17px}
  .hq-trust__txt strong{font-size:13px}
  .hq-trust__txt span{font-size:11.5px;line-height:1.35}
  .hq-promobar__inner{font-size:11px;padding:7px 34px 7px 14px;line-height:1.35}
  .hq-cattile__media{aspect-ratio:1}
  .hq-cattile__media img{max-width:86%;max-height:86%}
}

/* Nothing above should move for a visitor who asked for stillness. */
@media(prefers-reduced-motion:reduce){
  .hq-js .hq-reveal{opacity:1;transform:none;transition:none}
  .hq-js .hq-reveal.is-in>.hq-product-grid>li,
  .hq-js .hq-reveal.is-in>.hq-cattiles__grid>li,
  .hq-js .hq-reveal.is-in .hq-why__grid>*{animation:none}
  .hq-product-card:hover .hq-product-card__img{transform:none}
  .hq-hero__bg,.hq-hero.is-active .hq-hero__bg{animation:none;transform:none}
  .hq-hero.is-active .hq-hero__tag,.hq-hero.is-active .hq-hero__title,
  .hq-hero.is-active .hq-hero__sub,.hq-hero.is-active .hq-hero__cta{animation:none}
  .hq-backtop{transition:none}
}

/* Printing must never lose a section to an animation that has not run. */
@media print{
  .hq-js .hq-reveal{opacity:1!important;transform:none!important}
}

/* ---------- Long unbreakable product names ----------
   SKU-style names ("vodilica 10\"/25cm|58čl./29zuba|1/4\"|1.3mm|A318") have no
   spaces, so their min-content width is the whole string. A grid column of
   `1fr` refuses to shrink below that, which pushed the product page 43 px wider
   than the phone screen. minmax(0,1fr) lets the column shrink; the wrap rules
   let the text break instead of the layout. */
.hq-single-product__layout{grid-template-columns:minmax(0,1.4fr) minmax(300px,1fr)}
.hq-single-product__gallery,.hq-single-product__info,.hq-sp__detail{min-width:0}
.hq-single-product__title,.hq-single-product__sku,
.hq-product-card__title,.hq-product-card__sku,
.hq-rec-card__name,.hq-rec-card__sku,
.hq-cart-item__name,.woocommerce td.product-name{overflow-wrap:anywhere}
@media(max-width:980px){
  .hq-single-product__layout{grid-template-columns:minmax(0,1fr);grid-template-areas:"gallery" "buy" "detail"}
  .hq-single-product__info.hq-buybox{position:static}
}
/* Belt and braces: nothing on a phone may scroll the page sideways. */
@media(max-width:768px){
  html,body{overflow-x:hidden}
}

/* ---------- Cart summary on a phone ----------
   WooCommerce's small-screen stylesheet turns every table row into a block,
   which ran the label straight into the amount ("Ukupno:581,40 €"). Lay each
   row out as label-left / amount-right instead. */
@media(max-width:768px){
  /* WooCommerce hides <th> here and prints the label from the cell's
     data-title, so the layout has to be built on ::before, not on the header
     cell — styling <th> instead leaves the row with no label at all. */
  .woocommerce-cart .cart_totals table tr{display:block;margin:0;
    padding:13px 18px;border-top:1px solid var(--border)}
  .woocommerce-cart .cart_totals table tr:first-child{border-top:0}
  .woocommerce-cart .cart_totals table th{display:none}
  .woocommerce-cart .cart_totals table td{display:flex;align-items:baseline;
    justify-content:space-between;gap:14px;width:auto;padding:0;border:0;
    text-align:right;white-space:normal;font-weight:700}
  .woocommerce-cart .cart_totals table td::before{content:attr(data-title);
    float:none;display:block;flex:1 1 auto;text-align:left;
    font-weight:600;color:var(--text);white-space:normal}
  .woocommerce-cart .cart_totals .order-total{padding-top:15px;padding-bottom:16px}
  .woocommerce-cart .cart_totals .order-total td small{display:block;
    flex:1 1 100%;text-align:right;margin-top:3px;font-weight:400}
  /* The shipping cell holds a whole form — let it break onto its own line. */
  .woocommerce-cart .cart_totals .shipping td{flex-wrap:wrap;text-align:left;font-weight:600}
  .woocommerce-cart .cart_totals .woocommerce-shipping-destination,
  .woocommerce-cart .cart_totals .shipping-calculator-button{flex:1 1 100%;
    text-align:left;font-weight:400;margin-top:4px}

  /* WooCommerce parks the remove button on its own line above the item;
     tuck it into the corner so the product leads the block. */
  .woocommerce-cart table.cart tbody tr.cart_item{position:relative}
  .woocommerce-cart table.cart td.product-remove{position:absolute;top:8px;right:8px;
    padding:0!important;border:0!important;width:auto}
  .woocommerce-cart table.cart td.product-remove::before{display:none!important}
}

/* ---------- Search button: centre it by geometry, not arithmetic ----------
   The pill is 46px and the button was pinned with `top:4px`. Once the mobile
   rule grew the button to 42px that left 4px above and 0 below — visibly low.
   Anchoring to the middle keeps it centred whatever either size becomes. */
.hq-search__btn{top:50%;transform:translateY(-50%)}
/* Typed text used to slide under the button; reserve its lane. */
.hq-search input[type=search]{padding-right:52px}
@media(max-width:768px){
  .hq-search{height:44px}
  .hq-search__btn{width:36px;height:36px;right:4px}
  .hq-search__btn svg{width:17px;height:17px}
  .hq-search input[type=search]{padding:0 46px 0 18px;font-size:16px}  /* 16px stops iOS zooming on focus */
}

/* ---------- Footer on a phone ----------
   `.hq-container` and `.hq-footer__inner` share the same element and the same
   specificity, so the narrow-screen container override was also wiping the
   footer's 48px of vertical padding — which is why the text sat on the edges. */
@media(max-width:640px){
  .hq-footer{margin-top:34px}
  .hq-footer__inner{display:block;padding:34px 20px 30px}
  .hq-footer__col{min-width:0;font-size:14.5px;line-height:1.75}
  .hq-footer__col+.hq-footer__col{margin-top:26px;padding-top:24px;
    border-top:1px solid rgba(255,255,255,.14)}
  .hq-footer__col h4{font-size:12.5px;letter-spacing:1px;margin-bottom:10px;
    color:rgba(255,255,255,.62)}
  .hq-footer__col a{padding:7px 0}          /* comfortable tap spacing */
  .hq-footer__logo{height:26px;margin-bottom:14px}
  .hq-footer__brand p{margin:0}
  .hq-footer__phone{margin-top:12px}

  .hq-footer__bottom-inner{flex-direction:column;gap:16px;padding:20px 20px 24px;
    text-align:center}
  .hq-footer__copy{order:3;font-size:12.5px}
  .hq-social{order:1}
  .hq-payments{order:2;justify-content:center;gap:8px}
}
@media(max-width:430px){
  /* Keep the page container tight, but never at the footer's expense. */
  .hq-footer__inner{padding:32px 18px 28px}
  .hq-footer__bottom-inner{padding:18px 18px 22px}
}

/* ============ Layout pages: Kontakt, Registriraj proizvod ============
   These are layouts, not articles, so they escape the 880px reading width
   the theme uses for prose. */
.hq-page--wide .hq-page__content{max-width:none}
.hq-page--wide .hq-page__title{margin-bottom:8px}
.hq-page--wide .hq-page__content>p:first-of-type{font-size:16.5px;color:var(--muted);
  max-width:720px;margin:0 0 26px}

/* ---- Kontakt ---- */
.hq-kontakt__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:0 0 26px}
.hq-kontakt__card{background:#fff;border:1px solid var(--border);border-radius:14px;
  padding:26px 26px 24px;display:flex;flex-direction:column;gap:6px;
  transition:box-shadow .2s ease,border-color .2s ease,transform .2s ease}
.hq-kontakt__card:hover{box-shadow:0 12px 30px rgba(20,28,48,.09);
  border-color:#dbe1ea;transform:translateY(-2px)}
.hq-kontakt__card h2{font-size:15px;text-transform:uppercase;letter-spacing:.7px;
  color:var(--muted);margin:0 0 6px;font-weight:700}
.hq-kontakt__card p{margin:0;font-size:15px;line-height:1.65;color:var(--text)}
.hq-kontakt__card p strong,.hq-kontakt__card p a{font-size:21px;font-weight:700;
  color:var(--navy);line-height:1.3;display:inline-block;overflow-wrap:anywhere}
.hq-kontakt__card p a:hover{text-decoration:underline;text-underline-offset:3px}
/* A quiet accent so the three cards read as one set. */
.hq-kontakt__card{position:relative;overflow:hidden}
.hq-kontakt__card::before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;
  background:var(--accent,#F47920);opacity:0;transition:opacity .2s ease}
.hq-kontakt__card:hover::before{opacity:1}
.hq-kontakt__locator{background:var(--light);border:1px solid var(--border);
  border-radius:12px;padding:18px 22px;font-size:15px;margin:0 0 8px}
.hq-kontakt__locator a{color:var(--navy);font-weight:700;text-decoration:underline;
  text-underline-offset:3px}

/* ---- Registriraj proizvod ---- */
.hq-reg-layout{grid-template-columns:minmax(0,1fr) 380px;gap:34px}
.hq-reg-form{max-width:none;background:#fff;border:1px solid var(--border);
  border-radius:14px;padding:26px 28px}
.hq-reg-notes{border-radius:14px;padding:24px 26px}
.hq-reg-notes p:last-child{margin-bottom:0}

@media(max-width:900px){
  .hq-kontakt__grid{grid-template-columns:1fr 1fr}
  .hq-reg-layout{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:640px){
  .hq-kontakt__grid{grid-template-columns:1fr;gap:12px}
  .hq-kontakt__card{padding:20px 20px 18px}
  .hq-kontakt__card p strong,.hq-kontakt__card p a{font-size:19px}
  .hq-kontakt__locator{padding:16px 18px;font-size:14px}
  .hq-reg-form{padding:20px 18px}
  .hq-reg-notes{padding:20px 18px}
  .hq-page--wide .hq-page__content>p:first-of-type{font-size:15px;margin-bottom:20px}
}

/* ===================================================================
   Design system: type scale + spacing rhythm
   The theme jumped from a 48px hero straight to 15px body with nothing
   in between, and spacing was chosen per component. One scale and one
   8px rhythm is most of what separates "assembled" from "designed".
   =================================================================== */
:root{
  /* Type scale, ~1.25 ratio, capped so a phone never inherits desktop drama. */
  --fs-hero:clamp(2.25rem, 1.35rem + 4vw, 3.6rem);  /* 36 → 58, commanding */
  --fs-h1:clamp(1.5rem, 1.15rem + 1.6vw, 2rem);     /* 24 → 32 */
  --fs-h2:clamp(1.3rem, 1.1rem + 0.9vw, 1.65rem);   /* 21 → 26 */
  --fs-h3:clamp(1.05rem, 0.98rem + 0.35vw, 1.2rem); /* 17 → 19 */
  --fs-lead:1.0625rem;                              /* 17 */
  --fs-body:0.9375rem;                              /* 15 */
  --fs-sm:0.8125rem;                                /* 13 */
  --fs-xs:0.75rem;                                  /* 12 */

  /* Every vertical gap is a multiple of 8. */
  --sp-1:.5rem; --sp-2:1rem; --sp-3:1.5rem; --sp-4:2rem;
  --sp-5:2.75rem; --sp-6:3.5rem; --sp-7:4.5rem;
}

.hq-hero__title{font-size:var(--fs-hero)}
.hq-shop__title,.hq-page__title,.hq-single-product__title{font-size:var(--fs-h1)}
.hq-section-title{font-size:var(--fs-h2)}
.hq-recos .hq-section-title{font-size:var(--fs-h2)}

/* Section rhythm: the same beat between every band of content. */
.hq-featured,.hq-cattiles{margin-top:var(--sp-6);margin-bottom:var(--sp-6)}
.hq-recos{margin-top:var(--sp-6);padding-top:var(--sp-5)}
.hq-section-head{margin-bottom:var(--sp-3)}
.hq-main{padding:var(--sp-3) 0 var(--sp-6)}
@media(max-width:640px){
  .hq-featured,.hq-cattiles{margin-top:var(--sp-5);margin-bottom:var(--sp-5)}
  .hq-recos{margin-top:var(--sp-5);padding-top:var(--sp-4)}
  .hq-main{padding:var(--sp-2) 0 var(--sp-5)}
}

/* ---------- Empty states ----------
   A dead end should offer a way out, not just report the fact. */
.hq-empty{text-align:center;max-width:520px;margin:var(--sp-5) auto var(--sp-6);
  padding:var(--sp-4) var(--sp-3)}
.hq-empty__icon{width:56px;height:56px;margin:0 auto var(--sp-2);border-radius:50%;
  background:var(--light);display:flex;align-items:center;justify-content:center;color:var(--navy)}
.hq-empty__icon svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.6;
  stroke-linecap:round;stroke-linejoin:round}
.hq-empty h2{font-size:var(--fs-h2);margin:0 0 var(--sp-1)}
.hq-empty p{color:var(--muted);margin:0 0 var(--sp-3);font-size:var(--fs-body);line-height:1.65}
.hq-empty__actions{display:flex;gap:var(--sp-1);justify-content:center;flex-wrap:wrap}
.hq-empty__actions .hq-btn{width:auto;min-width:190px}
.hq-empty__suggest{margin-top:var(--sp-4);text-align:left}
.hq-empty__suggest h3{font-size:var(--fs-sm);text-transform:uppercase;letter-spacing:.7px;
  color:var(--muted);margin:0 0 var(--sp-1)}
.hq-empty__links{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:0;padding:0}
.hq-empty__links a{display:inline-block;padding:7px 14px;border:1px solid var(--border);
  border-radius:20px;font-size:var(--fs-sm);background:#fff;transition:border-color .18s,color .18s}
.hq-empty__links a:hover{border-color:var(--navy);color:var(--navy)}

/* ---------- Why us ---------- */
.hq-why{background:var(--light);padding:var(--sp-6) 0;margin-top:var(--sp-6)}
.hq-why__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--sp-3)}
.hq-why__item{background:#fff;border:1px solid #e7e9ef;border-radius:16px;
  padding:calc(var(--sp-3) + 2px);box-shadow:0 2px 14px rgba(20,28,48,.05);
  transition:box-shadow .2s,transform .2s;position:relative;overflow:hidden}
/* A hairline orange top-edge keeps the accent system consistent with the headers. */
.hq-why__item::before{content:"";position:absolute;left:0;right:0;top:0;height:3px;background:var(--accent);transform:scaleX(0);transform-origin:left;transition:transform .25s ease}
.hq-why__item:hover{box-shadow:0 16px 34px rgba(20,28,48,.11);transform:translateY(-3px)}
.hq-why__item:hover::before{transform:scaleX(1)}
.hq-why__icon{width:50px;height:50px;border-radius:13px;background:var(--navy);color:#fff;
  display:flex;align-items:center;justify-content:center;margin-bottom:var(--sp-2);box-shadow:0 6px 16px rgba(39,58,96,.20)}
.hq-why__icon .la{font-size:24px;line-height:1}
.hq-why__item h3{font-size:var(--fs-h3);margin:0 0 7px;letter-spacing:-.2px}
.hq-why__item p{margin:0;font-size:var(--fs-body);line-height:1.6;color:var(--muted)}
@media(max-width:860px){.hq-why__grid{grid-template-columns:1fr}
  .hq-why{padding:var(--sp-5) 0;margin-top:var(--sp-5)}}

/* ---------- Delivery hint on the card ---------- */
.hq-product-card__ship{font-size:var(--fs-xs);color:var(--stock);display:flex;
  align-items:center;gap:5px;margin-top:-2px}
.hq-product-card__ship .la{font-size:14px;line-height:1}

/* ============ Catalog filters ============
   A plain GET form: works without JS, every state has its own URL. */
.hq-filters{background:#fff;border:1px solid var(--border);border-radius:14px;
  padding:14px 18px;margin:0 0 var(--sp-3);display:flex;align-items:center;
  flex-wrap:wrap;gap:14px 20px}
.hq-filters__toggle{display:none}
.hq-filters__body{display:flex;align-items:center;flex-wrap:wrap;gap:14px 22px;flex:1}
.hq-filters__group{display:flex;align-items:center;gap:16px}
.hq-filters__label{font-size:var(--fs-sm);font-weight:700;color:var(--navy);
  text-transform:uppercase;letter-spacing:.5px}
.hq-filters__check{display:inline-flex;align-items:center;gap:8px;font-size:var(--fs-body);
  cursor:pointer;user-select:none;min-height:32px}
.hq-filters__check input{width:17px;height:17px;accent-color:var(--navy);cursor:pointer}
.hq-filters__price{gap:8px}
.hq-filters__price input{width:88px;padding:8px 10px;border:1px solid var(--border);
  border-radius:8px;font-family:var(--font);font-size:var(--fs-body);
  -moz-appearance:textfield;appearance:textfield}
.hq-filters__price input::-webkit-outer-spin-button,
.hq-filters__price input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.hq-filters__price input:focus{outline:none;border-color:var(--navy);
  box-shadow:0 0 0 3px rgba(39,58,96,.12)}
.hq-filters__dash{color:var(--muted)}
.hq-filters__cur{color:var(--muted);font-size:var(--fs-sm)}
.hq-filters__actions{display:flex;align-items:center;gap:14px;margin-left:auto}
.hq-filters__apply{width:auto;padding:10px 24px;font-size:var(--fs-sm)}
.hq-filters__reset{font-size:var(--fs-sm);color:var(--muted);text-decoration:underline;
  text-underline-offset:3px;white-space:nowrap}
.hq-filters__reset:hover{color:var(--sale)}

.hq-filters__chips{display:flex;align-items:center;flex-wrap:wrap;gap:8px;
  width:100%;padding-top:12px;border-top:1px solid var(--border)}
.hq-filters__count{font-size:var(--fs-sm);color:var(--muted);margin-right:4px}
.hq-chip{display:inline-flex;align-items:center;gap:7px;padding:5px 12px;
  background:var(--light);border:1px solid var(--border);border-radius:20px;
  font-size:var(--fs-sm);color:var(--text);transition:border-color .18s,color .18s}
.hq-chip span{font-size:15px;line-height:1;color:var(--muted)}
.hq-chip:hover{border-color:var(--sale);color:var(--sale)}
.hq-chip:hover span{color:var(--sale)}

/* On a phone the bar folds behind one button so it never eats the first screen. */
@media(max-width:860px){
  .hq-filters{padding:10px 12px;gap:10px}
  .hq-filters__toggle{display:inline-flex;align-items:center;gap:9px;position:relative;
    background:none;border:0;font-family:var(--font);font-size:var(--fs-body);font-weight:700;
    color:var(--navy);cursor:pointer;padding:8px 4px;min-height:44px}
  .hq-filters__toggle svg{width:19px;height:19px;fill:none;stroke:currentColor;
    stroke-width:1.9;stroke-linecap:round}
  .hq-filters__badge{width:8px;height:8px;border-radius:50%;background:var(--accent,#F47920)}
  .hq-filters__body{display:none;width:100%;flex-direction:column;align-items:stretch;gap:16px;
    padding-top:12px;border-top:1px solid var(--border)}
  .hq-filters.is-open .hq-filters__body{display:flex}
  .hq-filters__group{justify-content:flex-start}
  .hq-filters__price input{flex:1;width:auto;min-width:0;min-height:44px}
  .hq-filters__actions{margin-left:0;justify-content:space-between}
  .hq-filters__apply{flex:1;min-height:44px}
  .hq-filters__chips{padding-top:10px}
}

/* A flex item will not shrink below its content's minimum unless told to, so
   the collapsed filter panel was 516px wide inside a 361px card — clipped
   rather than scrolling only because the page hides horizontal overflow. */
.hq-filters__body{min-width:0}
.hq-filters__group{min-width:0}
@media(max-width:860px){
  .hq-filters__body,.hq-filters__group,.hq-filters__actions{width:100%;min-width:0}
  .hq-filters__price{flex-wrap:wrap;gap:8px 10px}
  .hq-filters__price .hq-filters__label{flex:1 1 100%}
  .hq-filters__price input{flex:1 1 0;min-width:0;width:auto}
  .hq-filters__dash,.hq-filters__cur{flex:0 0 auto}
  .hq-filters__apply{width:100%}
}

/* The bar is a wrapping flex row, so on a phone the toggle has to claim a full
   line — otherwise it sits beside the panel and squeezes it into a column. */
@media(max-width:860px){
  .hq-filters{flex-direction:column;align-items:stretch}
  .hq-filters__toggle{width:100%;justify-content:flex-start}
  .hq-filters__group{flex-wrap:wrap;gap:12px 18px}
}

/* Apply and Poništi share the row: the button takes what is left, the link
   keeps its own width instead of being pushed off the edge. */
@media(max-width:860px){
  .hq-filters__actions{gap:16px;align-items:center}
  .hq-filters__apply{width:auto;flex:1 1 auto;min-width:0}
  .hq-filters__reset{flex:0 0 auto}
}

/* ============ Search suggestions ============
   The pill is styled with overflow:hidden to round its shape; that also clips
   an absolutely-positioned dropdown. Switch to visible (the pill's rounding
   comes from border-radius on its own background, so the resting look is
   unchanged) and clip the input's own corners instead. */
.hq-search{position:relative;overflow:visible}
.hq-search input[type=search]{border-radius:var(--search-radius) 0 0 var(--search-radius)}
.hq-suggest{position:absolute;left:0;right:0;top:calc(100% + 8px);z-index:120;
  background:#fff;border:1px solid var(--border);border-radius:12px;
  box-shadow:0 16px 40px rgba(20,28,48,.18);overflow:hidden;max-height:min(72vh,520px);
  overflow-y:auto;overscroll-behavior:contain}
.hq-suggest[hidden]{display:none}
.hq-suggest__group{font-size:var(--fs-xs);font-weight:700;text-transform:uppercase;
  letter-spacing:.6px;color:var(--muted);padding:12px 16px 6px;background:#fff}
.hq-suggest__item,.hq-suggest__cat,.hq-suggest__all{display:flex;align-items:center;
  gap:12px;padding:9px 16px;text-decoration:none;color:var(--text);
  border-top:1px solid var(--light)}
.hq-suggest__group+.hq-suggest__item,.hq-suggest__group+.hq-suggest__cat{border-top:0}
.hq-suggest__item:hover,.hq-suggest__cat:hover,.hq-suggest__all:hover,
.hq-suggest__item.is-active,.hq-suggest__cat.is-active,.hq-suggest__all.is-active{
  background:var(--light)}
.hq-suggest__img{flex:none;width:46px;height:46px;border:1px solid var(--border);
  border-radius:8px;background:#fff;display:flex;align-items:center;justify-content:center;
  overflow:hidden;padding:4px}
.hq-suggest__img img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}
.hq-suggest__info{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.hq-suggest__name{font-size:var(--fs-body);font-weight:600;color:var(--navy);line-height:1.3;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hq-suggest__meta{display:flex;align-items:center;gap:8px}
.hq-suggest__sku{font-size:var(--fs-xs);color:var(--muted);letter-spacing:.3px}
.hq-suggest__badge{font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.4px;
  padding:2px 7px;border-radius:3px;line-height:1.4}
.hq-suggest__badge--sale{background:var(--sale);color:#fff}
.hq-suggest__badge--out{background:var(--light);color:var(--muted);border:1px solid var(--border)}
.hq-suggest__price{flex:none;font-size:var(--fs-body);font-weight:700;color:var(--navy);
  white-space:nowrap}
.hq-suggest__cat-name{flex:1;font-size:var(--fs-body);color:var(--text)}
.hq-suggest__cat-count{flex:none;font-size:var(--fs-xs);color:var(--muted);background:var(--light);
  border-radius:20px;padding:2px 10px}
.hq-suggest__all{justify-content:center;font-size:var(--fs-sm);font-weight:700;color:var(--navy);
  padding:12px 16px;background:#fbfbfc}
.hq-suggest__empty{padding:18px 16px;font-size:var(--fs-body);color:var(--muted);text-align:center}

@media(max-width:768px){
  /* Full-bleed panel under the searchbar so it never fights the narrow pill. */
  .hq-suggest{left:-4px;right:-4px;top:calc(100% + 10px);border-radius:12px;
    max-height:min(70vh,460px);box-shadow:0 18px 44px rgba(20,28,48,.24)}
  .hq-suggest__name{font-size:var(--fs-sm)}
  .hq-suggest__img{width:42px;height:42px}
}

/* ---- Search: immediate "Tražim…" state ----
   Shown the moment typing starts, so a slow round-trip never leaves the user
   staring at a closed box and reaching for Enter. */
.hq-suggest__loading{display:flex;align-items:center;gap:10px;padding:14px 16px;
  font-size:var(--fs-body);font-weight:600;color:var(--navy);
  border-bottom:1px solid var(--light)}
.hq-suggest__spinner{flex:none;width:17px;height:17px;border-radius:50%;
  border:2px solid var(--border);border-top-color:var(--navy);
  animation:hq-spin .7s linear infinite}
@keyframes hq-spin{to{transform:rotate(360deg)}}
.hq-suggest__skeleton{display:flex;align-items:center;gap:12px;padding:9px 16px;
  border-top:1px solid var(--light)}
.hq-suggest__skeleton:first-of-type{border-top:0}
.hq-suggest__sk-img{flex:none;width:46px;height:46px;border-radius:8px}
.hq-suggest__sk-lines{flex:1;display:flex;flex-direction:column;gap:7px}
.hq-suggest__sk-lines span{height:10px;border-radius:5px;display:block}
.hq-suggest__sk-lines span:first-child{width:70%}
.hq-suggest__sk-lines span:last-child{width:38%}
.hq-suggest__sk-img,.hq-suggest__sk-lines span{
  background:linear-gradient(90deg,#eef0f3 25%,#f6f7f9 37%,#eef0f3 63%);
  background-size:400% 100%;animation:hq-shimmer 1.3s ease infinite}
@keyframes hq-shimmer{from{background-position:100% 0}to{background-position:-100% 0}}
@media(prefers-reduced-motion:reduce){
  .hq-suggest__spinner{animation-duration:1.4s}
  .hq-suggest__sk-img,.hq-suggest__sk-lines span{animation:none}
}

/* ============ Back-in-stock notify ============ */
.hq-notify{margin-top:var(--sp-3);padding:18px 20px;background:var(--light);
  border:1px solid var(--border);border-radius:12px}
.hq-notify__lead{margin:0 0 12px;font-size:var(--fs-body);font-weight:600;color:var(--navy)}
.hq-notify__form{display:flex;gap:10px}
.hq-notify__form input[type=email]{flex:1;min-width:0;padding:12px 14px;
  border:1px solid var(--border);border-radius:8px;font-family:var(--font);
  font-size:16px;background:#fff}
.hq-notify__form input[type=email]:focus{outline:none;border-color:var(--navy);
  box-shadow:0 0 0 3px rgba(39,58,96,.12)}
.hq-notify__form .hq-btn{width:auto;flex:none;padding:12px 22px}
.hq-notify__form .hq-btn.loading{opacity:.65;pointer-events:none}
.hq-notify__msg{margin:12px 0 0;font-size:var(--fs-body);font-weight:600}
.hq-notify__msg.is-ok{color:var(--stock)}
.hq-notify__msg.is-err{color:var(--sale)}
.hq-notify__fine{margin:10px 0 0;font-size:var(--fs-xs);color:var(--muted)}
@media(max-width:560px){
  .hq-notify__form{flex-direction:column}
  .hq-notify__form .hq-btn{width:100%}
}

/* ============================================================
   My Account — customer cockpit (dashboard, orders, addresses, forms, login)
   ============================================================ */
body.woocommerce-account .hq-main{background:#eef1f5}
.woocommerce-account .hq-page{padding-bottom:40px}
.woocommerce-account .hq-page__article > .entry-title,
.woocommerce-account .hq-page__title{font-size:var(--fs-h1);color:var(--navy);margin:6px 0 18px}

.woocommerce-account .woocommerce:has(.woocommerce-MyAccount-navigation){
  display:grid;grid-template-columns:262px minmax(0,1fr);gap:24px;align-items:start}
/* WooCommerce's default clearfix pseudo-elements would become stray grid items,
   and WC floats/sizes the two panels — reset both so the grid places them cleanly. */
.woocommerce-account .woocommerce:has(.woocommerce-MyAccount-navigation)::before,
.woocommerce-account .woocommerce:has(.woocommerce-MyAccount-navigation)::after{display:none}
.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content{float:none;width:auto;margin:0}

.woocommerce-MyAccount-navigation{background:#fff;border:1px solid var(--border);border-radius:14px;overflow:hidden;position:sticky;top:20px}
.hq-acct-user{display:flex;align-items:center;gap:12px;padding:18px;background:linear-gradient(120deg,var(--navy) 0%,var(--navy-dark) 100%);color:#fff}
.hq-acct-user__avatar{width:44px;height:44px;border-radius:50%;background:rgba(255,255,255,.16);display:flex;align-items:center;justify-content:center;font-weight:700;font-size:17px;flex:none;letter-spacing:.5px}
.hq-acct-user__name{font-weight:700;font-size:15px;line-height:1.2}
.hq-acct-user__email{font-size:12px;opacity:.72;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:170px}
.woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:8px}
.woocommerce-MyAccount-navigation-link a{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:9px;color:var(--text);font-weight:600;font-size:14.5px;position:relative;transition:background .15s,color .15s}
.woocommerce-MyAccount-navigation-link a .la{font-size:18px;width:20px;text-align:center;flex:none;color:var(--muted);transition:color .15s}
.woocommerce-MyAccount-navigation-link a:hover{background:var(--light);color:var(--navy)}
.woocommerce-MyAccount-navigation-link a:hover .la{color:var(--navy)}
.woocommerce-MyAccount-navigation-link.is-active a{background:var(--navy);color:#fff}
.woocommerce-MyAccount-navigation-link.is-active a .la{color:#fff}
.woocommerce-MyAccount-navigation-link.is-active a::before{content:"";position:absolute;left:-8px;top:9px;bottom:9px;width:4px;border-radius:0 3px 3px 0;background:var(--accent)}
.woocommerce-MyAccount-navigation-link--customer-logout a{color:var(--sale)}
.woocommerce-MyAccount-navigation-link--customer-logout a .la{color:var(--sale)}

.woocommerce-MyAccount-content{background:#fff;border:1px solid var(--border);border-radius:14px;padding:26px 28px;min-height:340px;min-width:0}
.woocommerce-MyAccount-content > p{color:#42505f;line-height:1.7}
.woocommerce-MyAccount-content a{color:var(--navy);font-weight:600}
.woocommerce-MyAccount-content h2,.woocommerce-MyAccount-content h3{color:var(--navy)}

.hq-acct-hello{font-size:15px;color:#42505f;margin:0 0 20px}
.hq-acct-hello b{color:var(--navy)}
.hq-acct-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px;margin:0 0 6px}
.hq-acct-card{display:flex;gap:13px;align-items:center;padding:16px;border:1px solid var(--border);border-radius:12px;text-decoration:none;background:#fff;transition:box-shadow .16s,transform .16s,border-color .16s}
.hq-acct-card:hover{box-shadow:0 8px 22px rgba(23,32,54,.1);transform:translateY(-2px);border-color:var(--navy)}
.hq-acct-card__ico{width:42px;height:42px;border-radius:11px;background:#fff4ec;color:var(--accent-dark);display:flex;align-items:center;justify-content:center;flex:none}
.hq-acct-card__ico .la{font-size:22px;line-height:1}
.hq-acct-card__t{display:block;font-weight:700;color:var(--navy);font-size:15px;line-height:1.2}
.hq-acct-card__s{display:block;font-size:12.5px;color:var(--muted);margin-top:3px}

.woocommerce-orders-table,.woocommerce-MyAccount-content table.shop_table{width:100%;border-collapse:collapse;font-size:14px;border:0;margin:0}
.woocommerce-orders-table thead th{text-align:left;font-size:11.5px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);font-weight:700;padding:0 12px 10px;border-bottom:2px solid var(--border)}
.woocommerce-orders-table tbody td{padding:15px 12px;border-bottom:1px solid var(--light);vertical-align:middle}
.woocommerce-orders-table tbody tr:hover{background:#fafbfc}
.woocommerce-orders-table .woocommerce-orders-table__cell-order-number a{font-weight:700;color:var(--navy)}
.woocommerce-orders-table td.woocommerce-orders-table__cell-order-total{font-weight:700;color:var(--navy)}
.woocommerce-orders-table .woocommerce-button{margin:2px 4px 2px 0}

.hq-status{display:inline-flex;align-items:center;gap:6px;padding:4px 11px;border-radius:30px;font-size:12px;font-weight:700;line-height:1.4;white-space:nowrap}
.hq-status::before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor;opacity:.9}
.hq-status--completed{background:#e8f7ec;color:#1c7a35}
.hq-status--processing{background:#e7f3ff;color:#0a5ca8}
.hq-status--on-hold{background:#fff6e0;color:#8a6100}
.hq-status--pending{background:#fff6e0;color:#8a6100}
.hq-status--cancelled,.hq-status--failed,.hq-status--refunded{background:#fdeceb;color:#a3251d}

/* Account action buttons — override the theme's global navy !important with a clear
   hierarchy: cancel/default = outline, view = navy, pay = accent. */
.woocommerce-MyAccount-content .woocommerce-button.button,
.woocommerce-MyAccount-content a.button{display:inline-block;background:#fff!important;color:var(--navy)!important;border:1.5px solid var(--border)!important;border-radius:30px;padding:9px 18px;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.03em;box-shadow:none!important}
.woocommerce-MyAccount-content a.button:hover{background:var(--navy)!important;color:#fff!important;border-color:var(--navy)!important}
.woocommerce-MyAccount-content a.button.view{background:var(--navy)!important;color:#fff!important;border-color:var(--navy)!important}
.woocommerce-MyAccount-content a.button.pay{background:var(--accent)!important;color:#fff!important;border-color:var(--accent)!important}
.woocommerce-MyAccount-content a.button.pay:hover{background:var(--accent-dark)!important}

.woocommerce-Addresses{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:6px}
.woocommerce-Addresses::before,.woocommerce-Addresses::after{display:none!important}
.woocommerce-Addresses .col-1,.woocommerce-Addresses .col-2,.woocommerce-Address{float:none!important;width:auto!important;margin:0}
.woocommerce-Address{border:1px solid var(--border);border-radius:12px;padding:18px 20px;background:#fff}
.woocommerce-Address-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}
.woocommerce-Address-title h2,.woocommerce-Address-title h3{margin:0;font-size:16px}
.woocommerce-Address-title .edit{font-size:12.5px;font-weight:700;color:var(--accent-dark)!important}
.woocommerce-Address address{font-style:normal;color:#42505f;line-height:1.65;font-size:14px}

.woocommerce-order-details,.woocommerce-customer-details{margin-top:22px}
.woocommerce-column__title,.woocommerce-order-details__title{font-size:16px;color:var(--navy);margin:0 0 12px}
.woocommerce-table--order-details tfoot tr:last-child th,
.woocommerce-table--order-details tfoot tr:last-child td{color:var(--navy);font-size:16px;font-weight:700;border-top:2px solid var(--navy)}
ul.wc-item-meta{margin:6px 0 0;padding:0;list-style:none;font-size:12.5px;color:var(--muted)}

.woocommerce-MyAccount-content form .form-row,.woocommerce-MyAccount-content .woocommerce-form-row{margin:0 0 16px}
.woocommerce-MyAccount-content form label{display:block;font-size:13px;font-weight:600;color:var(--navy);margin-bottom:6px}
.woocommerce-MyAccount-content input:not([type=checkbox]):not([type=radio]):not([type=submit]),
.woocommerce-MyAccount-content select,.woocommerce-MyAccount-content textarea{
  width:100%;padding:12px 14px;border:1.5px solid var(--border);border-radius:9px;font-family:var(--font);font-size:14.5px;background:#fff;color:var(--text)}
.woocommerce-MyAccount-content input:focus,.woocommerce-MyAccount-content select:focus,.woocommerce-MyAccount-content textarea:focus{outline:none;border-color:var(--navy);box-shadow:0 0 0 3px rgba(39,58,96,.12)}
.woocommerce-MyAccount-content fieldset{border:1px solid var(--border);border-radius:12px;padding:16px 18px;margin:22px 0 0}
.woocommerce-MyAccount-content fieldset legend{font-weight:700;color:var(--navy);padding:0 6px}
.woocommerce-MyAccount-content button[type=submit],.woocommerce-MyAccount-content .button[type=submit]{
  background:var(--accent);color:#fff;border:0;border-radius:44px;padding:13px 30px;font-family:var(--font);font-weight:700;font-size:14px;text-transform:uppercase;letter-spacing:.4px;cursor:pointer;box-shadow:0 8px 20px rgba(244,121,32,.28)}
.woocommerce-MyAccount-content button[type=submit]:hover{background:var(--accent-dark)}
.woocommerce-MyAccount-content .form-row-first{width:48.5%;float:left;margin-right:3%}
.woocommerce-MyAccount-content .form-row-last{width:48.5%;float:left}
.woocommerce-MyAccount-content .clear{clear:both}
.woocommerce-MyAccount-content span.description,.woocommerce-MyAccount-content em{font-size:12.5px;color:var(--muted);font-style:normal}

/* ---------- Login / Register (branded form-login.php override) ---------- */
.hq-auth{max-width:940px;margin:8px auto 0;display:grid;grid-template-columns:0.82fr 1fr;
  background:#fff;border:1px solid var(--border);border-radius:18px;overflow:hidden;
  box-shadow:0 14px 38px rgba(20,28,48,.09)}
/* Branded navy aside */
.hq-auth__aside{background:linear-gradient(160deg,#2c4064 0%,var(--navy) 55%,#1c2b49 100%);
  color:#fff;padding:40px 34px;display:flex;flex-direction:column;justify-content:center;position:relative;overflow:hidden}
.hq-auth__aside::after{content:"";position:absolute;right:-70px;bottom:-70px;width:220px;height:220px;
  border-radius:50%;background:rgba(244,121,32,.14)}
.hq-auth__brand{display:flex;align-items:center;gap:10px;font-size:22px;font-weight:700;letter-spacing:-.3px;margin-bottom:22px}
.hq-auth__logo{width:30px;height:30px;color:#fff}
/* On the navy aside the heading must stay light — beats the generic page h2 rule. */
.hq-auth__aside .hq-auth__welcome{color:#fff!important;font-size:24px;line-height:1.2;margin:0 0 10px;letter-spacing:-.4px}
.hq-auth__lead{color:rgba(255,255,255,.82);font-size:14.5px;line-height:1.6;margin:0 0 24px}
.hq-auth__benefits{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:15px}
.hq-auth__benefits li{display:flex;align-items:flex-start;gap:13px}
.hq-auth__bico{flex:none;width:38px;height:38px;border-radius:10px;background:rgba(255,255,255,.12);
  display:flex;align-items:center;justify-content:center}
.hq-auth__bico .la{font-size:19px;color:var(--accent)}
.hq-auth__benefits strong{display:block;font-size:14.5px;font-weight:700;color:#fff}
.hq-auth__benefits em{display:block;font-style:normal;font-size:12.5px;color:rgba(255,255,255,.68);margin-top:1px}
/* Form side */
.hq-auth__main{padding:38px 40px;min-width:0}
.hq-auth__title{margin:0;font-size:22px;color:var(--navy);letter-spacing:-.3px}
.hq-auth__sub{margin:4px 0 20px;font-size:13.5px;color:var(--muted)}
.hq-auth .woocommerce-form-row{margin:0 0 15px}
.hq-auth label{display:block;font-size:13px;font-weight:600;color:#42505f;margin-bottom:6px}
.hq-auth label .required{color:var(--sale)}
.hq-auth__row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:2px 0 18px;flex-wrap:wrap}
.hq-auth__row .woocommerce-form-login__rememberme{display:flex;align-items:center;gap:7px;font-size:13px;color:#42505f;margin:0;font-weight:500}
.hq-auth__lost{font-size:13px;font-weight:600;color:var(--navy)}
.hq-auth__lost:hover{color:var(--accent-dark);text-decoration:underline;text-underline-offset:3px}
.hq-auth .hq-btn{width:100%}
.hq-auth__note{font-size:13px;color:var(--muted);line-height:1.55;margin:0 0 16px}
/* Separator between login and register */
.hq-auth__sep{display:flex;align-items:center;gap:14px;margin:26px 0;color:var(--muted);font-size:12px;text-transform:uppercase;letter-spacing:.1em}
.hq-auth__sep::before,.hq-auth__sep::after{content:"";flex:1;height:1px;background:var(--border)}
@media(max-width:760px){
  .hq-auth{grid-template-columns:1fr;max-width:460px}
  .hq-auth__aside{padding:30px 28px}
  .hq-auth__welcome{font-size:21px}
  .hq-auth__main{padding:30px 26px}
  /* On phones the benefits list is nice-to-have, not essential — keep it short */
  .hq-auth__benefits li:nth-child(n+4){display:none}
}

.woocommerce-account .woocommerce-message,.woocommerce-account .woocommerce-info,.woocommerce-account .woocommerce-error{
  position:relative;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;
  border-radius:10px;border:1px solid var(--border);border-left:4px solid var(--navy);background:#f6f8fc;padding:14px 18px;font-size:14px;list-style:none;margin:0 0 18px}
.woocommerce-account .woocommerce-message{border-left-color:#2f9e44;background:#edfaef}
.woocommerce-account .woocommerce-error{border-left-color:#c9372c;background:#fdeceb}
/* WooCommerce's default notice icon sits absolutely on the left and collides
   with our own padding — drop it; the colored left border already signals type. */
.woocommerce-account .woocommerce-message::before,
.woocommerce-account .woocommerce-info::before,
.woocommerce-account .woocommerce-error::before{display:none}
.woocommerce-account .woocommerce-message .button,
.woocommerce-account .woocommerce-info .button{margin:0;flex:none}

@media(max-width:860px){
  .woocommerce-account .woocommerce:has(.woocommerce-MyAccount-navigation){grid-template-columns:1fr}
  .woocommerce-MyAccount-navigation{position:static}
  .woocommerce-MyAccount-navigation ul{display:flex;flex-wrap:wrap;gap:4px}
  .woocommerce-MyAccount-navigation-link{flex:1 1 auto}
  .woocommerce-MyAccount-navigation-link a{justify-content:center;font-size:13px;padding:11px 10px}
  .woocommerce-MyAccount-navigation-link.is-active a::before{display:none}
  .woocommerce-Addresses{grid-template-columns:1fr}
  .woocommerce-account .woocommerce:not(:has(.woocommerce-MyAccount-navigation)) .u-columns{grid-template-columns:1fr}
}
@media(max-width:560px){
  .woocommerce-orders-table thead{display:none}
  .woocommerce-orders-table tbody td{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:9px 0;border:0}
  .woocommerce-orders-table tbody td::before{content:attr(data-title);font-size:11.5px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--muted)}
  .woocommerce-orders-table tbody tr{display:block;padding:14px 0;border-bottom:1px solid var(--border)}
  .woocommerce-orders-table tbody td.woocommerce-orders-table__cell-order-actions{justify-content:flex-end;flex-wrap:wrap}
  .woocommerce-MyAccount-content .form-row-first,.woocommerce-MyAccount-content .form-row-last{width:100%;float:none;margin:0 0 16px}
}

/* ============================================================
   Homepage: interactive product showcase (tabs), service strip, SEO block.
   ============================================================ */

/* Product showcase — tabs switch Akcije / Novo without a reload. */
.hq-showcase{margin:44px auto 8px}
.hq-showcase__head{display:flex;align-items:center;justify-content:space-between;
  flex-wrap:wrap;gap:14px 20px;margin-bottom:22px}
.hq-showcase__head .hq-section-title{margin:0}
.hq-showcase__tabs{display:inline-flex;gap:5px;background:var(--light);padding:5px;border-radius:999px}
.hq-tab{appearance:none;border:0;background:transparent;cursor:pointer;font-family:inherit;
  font-weight:700;font-size:13px;color:var(--navy);padding:9px 20px;border-radius:999px;
  transition:background .2s ease,color .2s ease}
.hq-tab:hover{color:var(--accent-dark)}
.hq-tab.is-active{background:var(--navy);color:#fff}
.hq-tab:focus-visible{outline:3px solid rgba(39,58,96,.38);outline-offset:2px}
.hq-tabpanel[hidden]{display:none}
.hq-showcase__more{display:flex;justify-content:center;margin-top:24px}
@media(max-width:600px){
  .hq-showcase{margin:30px auto 4px}
  .hq-showcase__head{justify-content:flex-start}
  .hq-showcase__tabs{width:100%}
  .hq-tab{flex:1;text-align:center;padding:11px 8px}
}

/* Service & support strip. */
.hq-service{margin:44px 0}
.hq-service__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.hq-service__item{display:flex;align-items:center;gap:16px;padding:22px 24px;
  border:1px solid var(--border);border-radius:14px;background:#fff;text-decoration:none;color:inherit;
  transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease}
.hq-service__item:hover{border-color:#d7dde7;box-shadow:0 10px 26px rgba(39,58,96,.10);transform:translateY(-2px)}
.hq-service__icon{flex:none;display:inline-flex;align-items:center;justify-content:center;
  width:48px;height:48px;border-radius:12px;background:var(--navy);color:#fff;font-size:22px}
.hq-service__txt{display:flex;flex-direction:column;gap:2px;min-width:0}
.hq-service__txt strong{color:var(--navy);font-size:16px}
.hq-service__txt span{color:var(--muted);font-size:13.5px;line-height:1.4}
.hq-service__arrow{margin-left:auto;color:var(--accent);font-size:18px;transition:transform .2s ease}
.hq-service__item:hover .hq-service__arrow{transform:translateX(4px)}
@media(max-width:820px){.hq-service__grid{grid-template-columns:1fr}.hq-service{margin:32px 0}}
@media(prefers-reduced-motion:reduce){
  .hq-service__item,.hq-service__arrow{transition:none}
  .hq-service__item:hover{transform:none}
  .hq-service__item:hover .hq-service__arrow{transform:none}
}

/* SEO / internal-links block. */
.hq-seoblock{margin:48px 0 0;padding:40px 0;background:var(--light)}
.hq-seoblock__title{font-size:22px;color:var(--navy);margin:0 0 12px}
.hq-seoblock p{max-width:72ch;color:#3a4150;line-height:1.7;margin:0 0 20px}
.hq-seoblock__links{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:10px}
.hq-seoblock__links a{display:inline-block;padding:8px 15px;background:#fff;border:1px solid var(--border);
  border-radius:999px;font-size:13.5px;font-weight:600;color:var(--navy);text-decoration:none;
  transition:border-color .2s ease,color .2s ease}
.hq-seoblock__links a:hover{border-color:var(--accent);color:var(--accent-dark)}
@media(max-width:600px){.hq-seoblock{margin-top:32px;padding:28px 0}.hq-seoblock__title{font-size:19px}}

/* ============================================================
   Product listing: category drill-down chips + description, sticky filters.
   ============================================================ */
.hq-archintro{margin:0 0 18px}
.hq-archintro__cats{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px}
.hq-archintro__cat{display:inline-block;padding:8px 15px;background:#fff;border:1px solid var(--border);
  border-radius:999px;font-size:13.5px;font-weight:600;color:var(--navy);text-decoration:none;
  transition:border-color .18s ease,color .18s ease}
.hq-archintro__cat:hover{border-color:var(--accent);color:var(--accent-dark)}
.hq-archintro__desc{max-width:72ch;color:#3a4150;line-height:1.7;font-size:14.5px}
.hq-archintro__desc p{margin:0 0 10px}
.hq-archintro__desc p:last-child{margin-bottom:0}
@media(max-width:600px){.hq-archintro__desc{font-size:14px}}

/* Sticky filter bar on desktop — quick access while scrolling a long listing.
   Sits just below the sticky header (its height is published as --hq-header-h by
   main.js). Left to normal flow on smaller screens, where filters collapse. */
@media(min-width:900px){
  .hq-filters{position:sticky;top:calc(var(--hq-header-h,112px) + 8px);z-index:70}
}

/* ============================================================
   Product detail (PDP): gallery lightbox/zoom, quantity stepper,
   assurance row, read-more, thumbnail polish.
   ============================================================ */

/* Gallery main becomes a zoom trigger (a <button>). */
.hq-gallery__main{position:relative;display:flex;align-items:center;justify-content:center;width:100%;
  appearance:none;-webkit-appearance:none;background:#fff;cursor:zoom-in;font:inherit}
.hq-gallery__zoom{position:absolute;right:12px;bottom:12px;width:38px;height:38px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;background:rgba(39,58,96,.9);color:#fff;font-size:17px;
  opacity:0;transform:translateY(4px);transition:opacity .2s ease,transform .2s ease;pointer-events:none}
.hq-gallery__main:hover .hq-gallery__zoom{opacity:1;transform:none}
@media(hover:none){.hq-gallery__zoom{opacity:1;transform:none}}
.hq-gallery__thumb{width:74px;height:74px}
.hq-gallery__thumb.is-active{border-color:var(--navy);box-shadow:0 0 0 1px var(--navy)}

/* Lightbox */
.hq-lightbox{position:fixed;inset:0;z-index:1000;background:rgba(12,17,28,.92);
  display:flex;align-items:center;justify-content:center;padding:24px}
.hq-lightbox[hidden]{display:none}
.hq-lightbox__stage{max-width:min(1100px,92vw);max-height:88vh;display:flex;align-items:center;justify-content:center}
.hq-lightbox__stage img{max-width:100%;max-height:88vh;object-fit:contain;background:#fff;border-radius:8px}
.hq-lightbox__close{position:absolute;top:16px;right:18px;width:44px;height:44px;border:0;border-radius:50%;
  background:rgba(255,255,255,.14);color:#fff;font-size:26px;line-height:1;cursor:pointer}
.hq-lightbox__close:hover{background:rgba(255,255,255,.26)}
.hq-lightbox__nav{position:absolute;top:50%;transform:translateY(-50%);width:52px;height:52px;border:0;border-radius:50%;
  background:rgba(255,255,255,.14);color:#fff;font-size:30px;line-height:1;cursor:pointer}
.hq-lightbox__nav:hover{background:rgba(255,255,255,.26)}
.hq-lightbox__prev{left:18px}.hq-lightbox__next{right:18px}
@media(max-width:600px){.hq-lightbox__nav{width:44px;height:44px;font-size:24px}.hq-lightbox__prev{left:8px}.hq-lightbox__next{right:8px}}

/* Quantity stepper */
.hq-single-product__info .quantity.hq-qty{display:inline-flex;align-items:center;gap:0;
  border:1px solid var(--border);border-radius:var(--btn-radius);overflow:hidden}
.hq-single-product__info .quantity.hq-qty input.qty{width:52px;height:48px;border:0;
  border-left:1px solid var(--border);border-right:1px solid var(--border);border-radius:0;margin:0}
.hq-qty__btn{width:44px;height:48px;border:0;background:#fff;color:var(--navy);font-size:20px;
  line-height:1;cursor:pointer;font-family:var(--font)}
.hq-qty__btn:hover{background:var(--light)}

/* Assurance row: warranty / returns / delivery */
.hq-buybox__assure{list-style:none;display:flex;flex-wrap:wrap;gap:8px 18px;margin:14px 0 0;padding:0}
.hq-buybox__assure li{display:inline-flex;align-items:center;gap:7px;font-size:13px;color:var(--text)}
.hq-buybox__assure i{color:var(--accent);font-size:17px}
.hq-buybox__assure strong{color:var(--navy)}

/* Description: readable measure + read-more fold */
.hq-single-product__description{max-width:72ch}
.hq-single-product__description.is-clamped{max-height:280px;overflow:hidden;
  -webkit-mask-image:linear-gradient(180deg,#000 72%,transparent);mask-image:linear-gradient(180deg,#000 72%,transparent)}
.hq-readmore{margin-top:10px;background:none;border:0;padding:0;cursor:pointer;font-family:var(--font);
  font-weight:700;font-size:14px;color:var(--accent-dark);text-decoration:underline;text-underline-offset:3px}
.hq-readmore:hover{color:var(--accent)}

/* Polish: de-emphasise out-of-stock cards in recommendations/related. */
.hq-product-card.outofstock .hq-product-card__img{filter:grayscale(.45);opacity:.9}

/* ============================================================
   Cart + checkout: quantity stepper, assurance row.
   ============================================================ */
.woocommerce-cart .quantity.hq-qty{display:inline-flex;align-items:center;
  border:1px solid var(--border);border-radius:8px;overflow:hidden}
.woocommerce-cart .quantity.hq-qty input.qty{width:46px!important;border:0!important;
  border-left:1px solid var(--border)!important;border-right:1px solid var(--border)!important;
  border-radius:0!important;padding:9px 4px!important}
.woocommerce-cart .quantity.hq-qty .hq-qty__btn{width:38px;height:40px}

.hq-assure{list-style:none;margin:14px 0 0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:10px 14px}
.hq-assure li{display:flex;align-items:center;gap:8px;font-size:12.5px;color:var(--muted);line-height:1.3}
.hq-assure i{color:var(--accent);font-size:16px;flex:none}
.cart_totals .hq-assure{padding:0 22px 20px}
.woocommerce-checkout .place-order .hq-assure{margin-top:16px}
@media(max-width:480px){.hq-assure{grid-template-columns:1fr}}
