/* ===================================================================
   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;
  --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)}
.hq-iconlink svg{width:23px;height:23px}
.hq-iconlink:hover{color:var(--navy-dark)}
.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}

/* ============ 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}
.hq-shop__title{font-size:30px;margin:0;text-transform:capitalize}
.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:0}
.hq-product-grid .hq-product-card{margin-left:-1px;margin-top:-1px}
.hq-product-card{position:relative;background:#fff;border:1px solid var(--border);display:flex;flex-direction:column;transition:box-shadow .18s}
.hq-product-card:hover{box-shadow:0 6px 20px rgba(0,0,0,.09);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}
.hq-product-card__img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}
.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:16px;font-weight:400;color:var(--text);margin:0;line-height:1.4;min-height:45px}
.hq-product-card__title a{color:var(--text)}
.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}

/* 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:1fr 1fr;gap:40px;margin:8px 0 28px}
.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)}
.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-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}

/* 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}

/* 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:0}
.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:34px;height:34px;border-radius:50%;background:var(--navy);color:#fff;align-items:center;justify-content:center}
.hq-social a:hover{background:var(--navy-dark);color:#fff}
.hq-social svg{width:18px;height:18px}
.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;gap:18px}
  .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;max-width:1320px;margin:26px auto 10px;border-radius:16px;overflow:hidden;box-shadow:0 12px 34px rgba(39,58,96,.14)}
.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-bottom:1px solid var(--border)}
.hq-trustbar__inner{display:grid;grid-template-columns:repeat(4,1fr);gap:22px;padding:22px 0}
.hq-trust{display:flex;align-items:center;gap:13px}
.hq-trust__icon{flex:none;width:42px;height:42px;border-radius:50%;background:var(--navy);color:#fff;display:flex;align-items:center;justify-content:center}
.hq-trust__icon svg{width:22px;height:22px}
.hq-trust__txt{display:flex;flex-direction:column;line-height:1.3}
.hq-trust__txt strong{font-size:15px;color:var(--text)}
.hq-trust__txt span{font-size:13.5px;color:var(--muted)}
@media(max-width:780px){.hq-trustbar__inner{grid-template-columns:repeat(2,1fr);gap:16px}}
@media(max-width:430px){.hq-trustbar__inner{grid-template-columns:1fr}}
.hq-hero{position:relative;min-height:510px;background-size:cover;background-position:center;display:flex;align-items:center;color:#fff}
.hq-hero__overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(15,23,42,.62) 0%,rgba(15,23,42,.30) 52%,rgba(15,23,42,.05) 100%)}
@media(max-width:640px){.hq-hero-slider{max-width:none;margin:0;border-radius:0;box-shadow:none}}
.hq-hero__content{position:relative;width:100%}
.hq-hero__tag{display:inline-block;font-size:13px;font-weight:700;letter-spacing:2px;text-transform:uppercase;opacity:.92;margin-bottom:10px}
.hq-hero__title{color:#fff;font-size:48px;font-weight:700;margin:0 0 14px;line-height:1.05;letter-spacing:.5px}
.hq-hero__sub{max-width:480px;font-size:17px;line-height:1.65;margin:0 0 22px;color:rgba(255,255,255,.92)}
.hq-hero__cta{display:inline-block;background:#fff;color:var(--navy);border:1px solid #fff;border-radius:var(--btn-radius);padding:13px 30px;font-size:14px;font-weight:700;text-transform:uppercase;letter-spacing:.5px}
.hq-hero__cta:hover{background:var(--navy);color:#fff;border-color:var(--navy)}

/* ============ 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}

/* ============ 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}
/* 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}
.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}

@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}
  .hq-catmenu__panel{position:static;display:block;width:auto;border:0;box-shadow:none;padding:0 0 8px 16px;max-height:none}
  .hq-catmenu__panel--l3{padding-left:28px}
}

/* ============ 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}

/* ============ 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__accept{width:auto;white-space:nowrap}
@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 input.input-text,.woocommerce form .form-row textarea,.woocommerce select,.select2-container--default .select2-selection--single{border:1px solid var(--border)!important;border-radius:6px!important;padding:11px 14px!important;font-size:14px;min-height:auto}
.woocommerce #payment,.woocommerce-checkout #order_review{background:#f9fafb;border:1px solid var(--border);border-radius:8px}
.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:15px}
/* order summary line: thumbnail + name */
.hq-corev{display:flex;align-items:center;gap:12px}
.hq-corev__img{flex:none;width:48px;height:48px;border:1px solid var(--border);border-radius:6px;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:13px;line-height:1.4}
/* terms checkbox */
.woocommerce-terms-and-conditions-wrapper{margin:8px 0 18px}
.woocommerce-terms-and-conditions-wrapper .woocommerce-form__label-for-checkbox{font-size:13px;color:var(--text)}
.woocommerce-terms-and-conditions-wrapper a{color:var(--navy);font-weight:700}

/* ============ Add-to-cart toast ============ */
.hq-toast{position:fixed;right:24px;bottom:24px;z-index:1200;display:flex;align-items:center;gap:11px;background:var(--navy);color:#fff;padding:14px 20px;border-radius:10px;box-shadow:0 12px 32px rgba(0,0,0,.24);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}
.hq-toast svg{width:20px;height:20px;flex:none;color:#7bdc9a}
@media(max-width:560px){.hq-toast{right:14px;left:14px;bottom:14px}}
/* hide WC's inline "view cart" link on cards — toast + drawer give the feedback */
.hq-product-card .added_to_cart{display:none!important}

/* ============ 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}}
