/*
Theme Name: Žice Franić Astra Child
Theme URI: https://www.zice-franic.hr/
Description: Astra child tema izrađena za Žice Helena Franić Bjelovar.
Author: OpenAI + Žice Franić
Template: astra
Version: 0.2.23
Text Domain: zice-franic
*/

:root{
  --zf-bg:#fbf8f3;
  --zf-paper:#fffdf9;
  --zf-ink:#17120f;
  --zf-brown:#9b6b3f;
  --zf-brown-dark:#6e4528;
  --zf-pink:#ef00a8;
  --zf-cyan:#10cfe0;
  --zf-line:#e7ded4;
  --zf-max:1180px;
  --zf-serif: Georgia, 'Times New Roman', serif;
  --zf-sans: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--zf-bg);color:var(--zf-ink);font-family:var(--zf-serif)}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto;display:block}
.zf-container{width:min(var(--zf-max),calc(100% - 40px));margin-inline:auto}
.zf-kicker{font-family:var(--zf-sans);font-size:.76rem;letter-spacing:.28em;text-transform:uppercase;color:var(--zf-brown-dark);font-weight:700}
.zf-accent{position:relative;display:inline-block}.zf-accent:after{content:'';position:absolute;left:0;bottom:-8px;width:82px;height:3px;background:linear-gradient(90deg,var(--zf-pink) 0 48%,var(--zf-cyan) 48%)}
.zf-btn{display:inline-flex;align-items:center;gap:.65rem;padding:.86rem 1.35rem;border-radius:7px;border:1px solid rgba(255,255,255,.65);font-family:var(--zf-serif);font-weight:700;transition:.2s ease}
.zf-btn:hover{transform:translateY(-1px)}
.zf-btn--primary{background:var(--zf-pink);color:#fff;border-color:var(--zf-pink)}
.zf-btn--ghost{background:rgba(30,16,8,.2);color:#fff}
.zf-btn--light{border-color:#a47b5a;background:#fff;color:#362415}

/* Header */
.zf-header{background:#fffdf9;position:sticky;top:0;z-index:1000;border-bottom:1px solid rgba(80,50,30,.08)}
body.admin-bar .zf-header{top:32px}
.zf-header-inner{min-height:112px;display:grid;grid-template-columns:minmax(350px,410px) 1fr auto;align-items:center;gap:26px;padding-block:8px;position:relative;overflow:visible}
.zf-brand{position:relative;display:flex;align-items:center;min-width:0;height:92px;padding-left:238px;overflow:visible}
.zf-brand img{width:208px;max-height:none;object-fit:contain;position:absolute;left:0;top:0;display:block;z-index:30;filter:drop-shadow(0 3px 3px rgba(0,0,0,.08))}
.zf-tagline{margin-left:6px;font-size:1.06rem;font-style:italic;line-height:1.05;white-space:nowrap;transform:rotate(-5deg);position:relative;z-index:2}
.zf-tagline:after{content:'';display:block;width:80px;height:3px;margin:.35rem 0 0 28px;background:linear-gradient(90deg,var(--zf-cyan),var(--zf-pink))}
.zf-nav{justify-self:center;min-width:0}
.zf-nav ul{list-style:none;margin:0;padding:0;display:flex;align-items:center;justify-content:center;gap:28px;flex-wrap:wrap}
.zf-nav a{font-size:1rem;padding:10px 0;position:relative;white-space:nowrap}
.zf-nav a:hover:after,.zf-nav .current-menu-item>a:after{content:'';position:absolute;left:0;right:0;bottom:0;height:2px;background:var(--zf-pink)}
.zf-since-wrap{display:flex;align-items:center;gap:16px;justify-self:end;min-width:170px}.zf-since-icon{width:48px;height:86px;display:flex;align-items:center;justify-content:center;flex:0 0 48px;overflow:visible}.zf-since-icon img{width:100%;height:100%;object-fit:contain;object-position:center center;display:block}.zf-since{font-family:var(--zf-sans);font-size:.73rem;letter-spacing:.22em;text-transform:uppercase;color:var(--zf-brown);border-left:1px solid var(--zf-line);padding-left:16px;line-height:1.4;white-space:nowrap}
.zf-menu-toggle{display:none;background:none;border:0;padding:8px;font-size:28px;line-height:1}

/* Hero */
.zf-hero{position:relative;z-index:1;min-height:510px;background:linear-gradient(90deg,rgba(28,14,8,.90) 0%,rgba(40,20,10,.72) 40%,rgba(36,19,10,.08) 72%),var(--zf-hero-bg) 72% center/cover no-repeat;color:#fff;overflow:hidden}
.zf-hero .zf-container{min-height:510px;display:flex;align-items:center}
.zf-hero-copy{width:min(710px,58%);padding:62px 0 54px;position:relative;z-index:2}
.zf-hero .zf-kicker{color:#fff !important;opacity:.92}
.zf-hero h1{font-size:clamp(3.2rem,4.15vw,4.6rem) !important;line-height:.94;margin:16px 0 14px;font-weight:700;letter-spacing:-.035em;color:#fff !important;max-width:13.5ch;text-wrap:balance}
.zf-hero p{font-size:1.28rem;line-height:1.35;margin:0 0 24px;max-width:560px;color:#fff !important}
.zf-hero-actions{display:flex;gap:14px;flex-wrap:wrap}
.zf-hero-note{position:absolute;right:4.5%;bottom:32px;font-style:italic;font-size:1.42rem;transform:rotate(-7deg);text-align:center;text-shadow:0 2px 10px #000;color:#fff;z-index:3}
.zf-hero-note:after{content:'';display:block;width:110px;height:4px;margin:.4rem auto 0;background:linear-gradient(90deg,var(--zf-cyan),var(--zf-pink))}

/* Benefits */
.zf-benefits{background:#fff;border-bottom:1px solid var(--zf-line)}
.zf-benefit-grid{display:grid;grid-template-columns:repeat(4,1fr)}
.zf-benefit{display:grid;grid-template-columns:64px 1fr;gap:14px;align-items:center;padding:19px 20px;border-right:1px solid var(--zf-line)}
.zf-benefit:last-child{border-right:0}.zf-icon{width:58px;height:58px;border:1.5px solid var(--zf-brown);border-radius:50%;display:grid;place-items:center;font-family:var(--zf-sans);font-size:1.25rem;color:var(--zf-brown-dark)}
.zf-benefit h3{font-size:1.08rem;margin:0 0 5px}.zf-benefit p{font-size:.9rem;line-height:1.35;margin:0;color:#5c5149}

/* Sections */
.zf-section{padding:48px 0}.zf-section-head{text-align:center;margin-bottom:30px}.zf-section-head h2{font-size:2.55rem;margin:8px 0 0}.zf-section-head .zf-accent:after{left:50%;transform:translateX(-50%)}
.zf-products{background:var(--zf-paper)}
.zf-product-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:14px;align-items:stretch}
.zf-product-card{background:#f4efe8;border:1px solid #eee4d9;min-width:0;overflow:hidden;display:flex;flex-direction:column;transition:.2s ease}.zf-product-card:hover{transform:translateY(-3px);box-shadow:0 10px 28px rgba(60,35,18,.09)}
.zf-product-card img{width:100%;aspect-ratio:1/1.02;object-fit:cover;object-position:center center;background:#f6f1ea;padding:0;border:0;display:block}.zf-product-card-body{padding:12px 14px 14px;display:flex;justify-content:space-between;gap:10px;align-items:flex-end;min-height:90px;flex:1}.zf-product-card h3{font-size:.84rem;line-height:1.1;margin:0;overflow-wrap:normal;word-break:keep-all;hyphens:none;max-width:calc(100% - 24px)}.zf-arrow{color:var(--zf-cyan);font-family:var(--zf-sans);font-size:1.2rem;flex:0 0 auto;line-height:1;padding-bottom:2px}

.zf-about{padding:0;background:#fff}.zf-about-grid{display:grid;grid-template-columns:minmax(320px,1.02fr) minmax(0,1.48fr);min-height:390px}.zf-about-image{background:url('assets/images/about.jpg') 58% center/cover no-repeat;min-height:390px;position:relative}.zf-about-image:after{content:none}.zf-about-copy{padding:58px 48px 50px 50px;display:grid;grid-template-columns:minmax(0,1fr) 180px;gap:34px;align-items:end}.zf-about-main{min-width:0}.zf-about-copy h2{font-size:2.5rem;margin:8px 0 22px}.zf-about-copy p{font-size:1.02rem;line-height:1.55;color:#4d433c;max-width:670px}.zf-about-side{justify-self:end;align-self:end;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;padding-bottom:14px;min-width:170px}.zf-about-note{text-align:center;font-style:italic;font-size:1.28rem;line-height:1.36;transform:rotate(-6deg);color:#5e5148;max-width:160px}.zf-about-note:after{content:'';display:block;width:82px;height:3px;margin:.42rem auto 0;background:linear-gradient(90deg,var(--zf-cyan),var(--zf-pink))}

.zf-gallery{background:#fff}.zf-gallery .zf-section-head{text-align:left;margin-bottom:30px}.zf-gallery .zf-section-head .zf-accent:after{left:0;transform:none}.zf-gallery-grid{display:grid;grid-template-columns:repeat(12,1fr);grid-auto-rows:118px;gap:14px}.zf-gallery-grid img{width:100%;height:100%;object-fit:cover;border:1px solid #eee4d9}.zf-gallery-grid img:nth-child(1){grid-column:span 4;grid-row:span 2}.zf-gallery-grid img:nth-child(2){grid-column:span 3;grid-row:span 2}.zf-gallery-grid img:nth-child(3){grid-column:span 3;grid-row:span 2}.zf-gallery-grid img:nth-child(4){grid-column:span 2;grid-row:span 1}.zf-gallery-grid img:nth-child(5){grid-column:span 2;grid-row:span 1}.zf-gallery-cta{grid-column:span 2;grid-row:span 1;display:grid;place-items:center;background:#f7f1e9;border:1px solid #eee4d9;font-weight:700;text-align:center;padding:20px;color:#3e3025;font-size:1rem}

.zf-contact{background:#f9f5ef;border-top:1px solid var(--zf-line);border-bottom:1px solid var(--zf-line)}
.zf-contact-inner{display:grid;grid-template-columns:minmax(210px,260px) 1fr auto;align-items:center;gap:34px;padding:28px 0}.zf-contact-heading{min-width:0}.zf-contact h2{font-size:2rem;line-height:1.05;margin:5px 0 0}.zf-contact-heading .zf-accent:after{width:72px;bottom:-7px}.zf-contact-items{display:flex;align-items:center;justify-content:center;gap:34px;font-family:var(--zf-sans);font-size:.94rem;min-width:0}.zf-contact-item{display:flex;align-items:center;gap:10px;white-space:nowrap}.zf-contact-icon{width:34px;height:34px;display:grid;place-items:center;border:1px solid rgba(155,107,63,.35);border-radius:50%;color:var(--zf-brown-dark);font-size:1rem;line-height:1;background:#fffaf4;flex:0 0 34px}.zf-contact-item a{transition:color .2s ease}.zf-contact-item a:hover{color:var(--zf-brown-dark)}.zf-contact-btn{padding:.78rem 1.2rem;min-width:168px;justify-content:center}

/* Footer */
.zf-footer{background:#fff;padding:28px 0 18px}.zf-footer-top{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:30px;padding-bottom:20px;border-bottom:1px solid var(--zf-line)}.zf-footer-brand{display:flex;align-items:center;gap:12px}.zf-footer-brand img{width:72px}.zf-footer-brand strong{font-size:1.1rem;font-style:italic}.zf-footer-brand small{display:block;font-family:var(--zf-sans);letter-spacing:.12em;text-transform:uppercase;margin-top:3px}.zf-footer-nav{display:flex;gap:22px;font-size:.9rem}.zf-social{display:flex;gap:12px;font-family:var(--zf-sans);font-weight:800}.zf-footer-bottom{display:flex;justify-content:space-between;gap:20px;padding-top:16px;font-size:.82rem;color:#655a52}.zf-motto{font-style:italic;font-size:1rem;color:#33271f}

@media(max-width:1100px){.zf-header-inner{grid-template-columns:1fr auto auto;min-height:94px}.zf-brand{height:78px;padding-left:142px}.zf-brand img{width:128px;top:6px}.zf-tagline{display:none}.zf-nav ul{gap:16px}.zf-product-grid{grid-template-columns:repeat(4,1fr)}.zf-benefit-grid{grid-template-columns:repeat(2,1fr)} .zf-gallery-grid{grid-template-columns:repeat(6,1fr);grid-auto-rows:120px}.zf-gallery-grid img:nth-child(1){grid-column:span 3;grid-row:span 2}.zf-gallery-grid img:nth-child(2){grid-column:span 3;grid-row:span 1}.zf-gallery-grid img:nth-child(3){grid-column:span 3;grid-row:span 1}.zf-gallery-grid img:nth-child(4){grid-column:span 2;grid-row:span 1}.zf-gallery-grid img:nth-child(5){grid-column:span 2;grid-row:span 1}.zf-gallery-cta{grid-column:span 2;grid-row:span 1}}
@media(max-width:780px){
 .zf-container{width:min(100% - 28px,var(--zf-max))}.zf-header-inner{min-height:84px;grid-template-columns:1fr auto auto;gap:12px;padding-block:8px}.zf-brand{height:68px;padding-left:96px}.zf-brand img{width:104px;top:8px}.zf-since-wrap{display:none}.zf-menu-toggle{display:block}.zf-nav{position:absolute;top:100%;left:0;right:0;background:#fff;box-shadow:0 14px 30px rgba(0,0,0,.08);display:none}.zf-nav.is-open{display:block}.zf-nav ul{display:block;padding:14px 20px 20px}.zf-nav li{border-bottom:1px solid var(--zf-line)}.zf-nav a{display:block;padding:14px 4px}.zf-tagline{display:none}
 .zf-hero{min-height:570px;background:linear-gradient(180deg,rgba(25,14,8,.40) 0%,rgba(25,14,8,.73) 52%,rgba(25,14,8,.96) 100%),var(--zf-hero-bg) 64% center/cover no-repeat}.zf-hero .zf-container{min-height:570px;align-items:flex-end}.zf-hero-copy{width:100%;padding:145px 0 40px}.zf-hero h1{font-size:2.85rem !important;max-width:10.5ch}.zf-hero p{font-size:1.1rem}.zf-hero-note{right:20px;bottom:25px;font-size:1.1rem}.zf-btn{width:100%;justify-content:center}
 .zf-benefit-grid{grid-template-columns:1fr}.zf-benefit{border-right:0;border-bottom:1px solid var(--zf-line)}
 .zf-section{padding:42px 0}.zf-section-head h2{font-size:2rem}.zf-product-grid{grid-template-columns:repeat(2,1fr);gap:9px}.zf-product-card h3{font-size:.88rem}
 .zf-about-grid{grid-template-columns:1fr}.zf-about-image{min-height:320px}.zf-about-copy{padding:42px 22px 95px}.zf-about-copy h2{font-size:2.1rem}.zf-about-copy:after{right:24px;bottom:25px;font-size:1.05rem}
 .zf-gallery-grid{grid-template-columns:repeat(2,1fr);grid-auto-rows:auto;gap:12px}.zf-gallery-grid img,.zf-gallery-grid img:nth-child(n){grid-column:auto;grid-row:auto;aspect-ratio:4/3;height:auto}.zf-gallery-cta{grid-column:1 / -1;min-height:100px}
 .zf-contact-inner{grid-template-columns:1fr;gap:22px;padding:28px 0}.zf-contact-items{flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:12px}.zf-contact-item{white-space:normal}.zf-contact .zf-btn{width:auto}.zf-contact-btn{justify-self:start}
 .zf-footer-top{grid-template-columns:1fr}.zf-footer-nav{flex-wrap:wrap}.zf-footer-bottom{flex-direction:column}
}


/* Astra override safety */
.zf-hero h1,.zf-hero p,.zf-hero .zf-kicker,.zf-hero a{color:inherit}
.entry-content .zf-hero h1,.entry-content .zf-hero p{color:#fff !important}

@media(max-width:1280px){.zf-header-inner{grid-template-columns:minmax(285px,320px) 1fr auto;gap:16px}.zf-brand{height:82px;padding-left:176px}.zf-brand img{width:155px;top:4px}.zf-tagline{font-size:.94rem}.zf-nav ul{gap:18px}.zf-since-wrap{min-width:145px}.zf-since-icon{width:40px;height:72px;flex-basis:40px}.zf-since{font-size:.68rem;letter-spacing:.18em}.zf-hero{min-height:500px}.zf-hero .zf-container{min-height:500px}.zf-hero-copy{width:min(650px,58%);padding:58px 0 48px}}

@media(max-width:782px){body.admin-bar .zf-header{top:46px}}

/* Logo overlap like mockup: logo intentionally bridges header and hero */
.zf-header{overflow:visible}
.zf-header + main{position:relative;z-index:1}
.zf-hero{isolation:isolate}
@media(min-width:1101px){
  .zf-brand img{top:2px}
  .zf-header{z-index:1200}
  .zf-hero{margin-top:0}
}


/* 0.2.1 visual alignment with approved mockup */
@media (min-width:1281px){
  .zf-nav{padding-top:2px}
  .zf-product-grid{gap:12px}
  .zf-product-card h3{font-size:.9rem}
}
@media (min-width:781px){
  .zf-header + main .zf-hero{margin-top:0}
  .zf-brand img{transform:translateY(1px)}
}


/* 0.2.2 - mobile header: tagline + reliable hamburger */
@media (max-width:780px){
  .zf-header-inner{
    min-height:88px;
    grid-template-columns:minmax(0,1fr) 48px;
    align-items:center;
    gap:8px;
    padding-block:6px;
  }
  .zf-brand{
    height:76px;
    padding-left:116px;
    display:flex;
    align-items:center;
    overflow:visible;
    min-width:0;
  }
  .zf-brand img{
    width:118px;
    top:4px;
    left:0;
    z-index:35;
  }
  .zf-tagline{
    display:block !important;
    margin:0 0 0 8px;
    font-size:.88rem;
    line-height:1.02;
    white-space:nowrap;
    transform:rotate(-4deg);
    color:#17120f;
  }
  .zf-tagline:after{
    width:68px;
    height:3px;
    margin:.3rem 0 0 18px;
  }
  .zf-since-wrap{display:none !important}
  .zf-menu-toggle{
    display:flex !important;
    align-items:center;
    justify-content:center;
    width:46px;
    height:46px;
    padding:0 !important;
    margin:0 !important;
    border:0 !important;
    border-radius:8px;
    background:transparent !important;
    box-shadow:none !important;
    color:#17120f !important;
    position:relative;
    z-index:60;
    font-size:0 !important;
    line-height:1 !important;
    cursor:pointer;
    -webkit-appearance:none;
    appearance:none;
  }
  .zf-menu-toggle:before{
    content:'☰';
    display:block;
    font-family:Arial,sans-serif;
    font-size:30px;
    font-weight:400;
    line-height:1;
    color:#17120f;
  }
  .zf-menu-toggle[aria-expanded='true']:before{content:'×';font-size:36px}
  .zf-nav{
    top:100%;
    z-index:55;
    border-top:1px solid var(--zf-line);
  }
  .zf-nav.is-open{display:block !important}
  .zf-nav ul{margin:0 !important;padding:10px 20px 18px !important}
  .zf-nav a{font-size:1.05rem;padding:13px 4px !important;color:#17120f !important}
}

@media (max-width:430px){
  .zf-container{width:min(100% - 22px,var(--zf-max))}
  .zf-header-inner{min-height:84px;grid-template-columns:minmax(0,1fr) 44px}
  .zf-brand{height:72px;padding-left:105px}
  .zf-brand img{width:108px;top:5px}
  .zf-tagline{font-size:.79rem;margin-left:6px}
  .zf-tagline:after{width:58px;margin-left:15px}
  .zf-menu-toggle{width:44px;height:44px}
  .zf-menu-toggle:before{font-size:28px}
}


/* 0.2.3 - refined mobile header and full-width dropdown navigation */
@media (max-width:780px){
  .zf-header-inner{
    min-height:92px;
    grid-template-columns:minmax(0,1fr) 50px;
    gap:10px;
    padding-block:7px;
  }
  .zf-brand{
    height:78px;
    padding-left:138px !important;
    overflow:visible;
  }
  .zf-brand img{
    width:118px !important;
    top:4px !important;
  }
  .zf-tagline{
    display:block !important;
    margin-left:14px !important;
    font-size:.86rem !important;
    line-height:1.04;
    letter-spacing:.005em;
  }
  .zf-tagline:after{
    width:70px;
    margin:.34rem 0 0 20px;
  }

  .zf-menu-toggle{
    width:46px !important;
    height:46px !important;
    border:1px solid rgba(110,69,40,.15) !important;
    border-radius:50% !important;
    background:#fffdf9 !important;
    box-shadow:0 4px 14px rgba(57,34,17,.06) !important;
    position:relative;
  }
  .zf-menu-toggle:before{
    content:'' !important;
    width:23px;
    height:2px;
    background:#17120f;
    border-radius:2px;
    box-shadow:0 -7px 0 #17120f,0 7px 0 #17120f;
    transition:transform .2s ease,box-shadow .2s ease;
  }
  .zf-menu-toggle:after{
    content:'';
    position:absolute;
    width:23px;
    height:2px;
    background:#17120f;
    border-radius:2px;
    opacity:0;
    transition:transform .2s ease,opacity .2s ease;
  }
  .zf-menu-toggle[aria-expanded='true']:before{
    content:'' !important;
    font-size:0 !important;
    box-shadow:none;
    transform:rotate(45deg);
  }
  .zf-menu-toggle[aria-expanded='true']:after{
    opacity:1;
    transform:rotate(-45deg);
  }

  .zf-nav{
    position:absolute !important;
    top:100% !important;
    left:50% !important;
    right:auto !important;
    width:100vw !important;
    transform:translateX(-50%);
    background:rgba(255,253,249,.985) !important;
    border-top:1px solid rgba(155,107,63,.14) !important;
    border-bottom:1px solid rgba(155,107,63,.18) !important;
    box-shadow:0 18px 38px rgba(40,24,14,.14) !important;
    padding:0 !important;
    overflow:hidden;
  }
  .zf-nav ul{
    width:min(100% - 36px,520px);
    margin:0 auto !important;
    padding:10px 0 14px !important;
    display:block !important;
  }
  .zf-nav li{
    border:0 !important;
    border-bottom:1px solid rgba(155,107,63,.16) !important;
    margin:0 !important;
  }
  .zf-nav li:last-child{border-bottom:0 !important}
  .zf-nav a{
    display:flex !important;
    align-items:center;
    justify-content:space-between;
    min-height:52px;
    padding:12px 6px !important;
    font-size:1.08rem !important;
    line-height:1.2;
    color:#21170f !important;
  }
  .zf-nav a:after{
    content:'→' !important;
    position:static !important;
    width:auto !important;
    height:auto !important;
    background:none !important;
    color:var(--zf-pink);
    font-family:var(--zf-sans);
    font-size:1rem;
    opacity:.9;
  }
  .zf-nav .current-menu-item>a{
    color:var(--zf-brown-dark) !important;
    font-weight:700;
  }
}

@media (max-width:430px){
  .zf-header-inner{min-height:88px}
  .zf-brand{height:74px;padding-left:124px !important}
  .zf-brand img{width:106px !important;top:5px !important}
  .zf-tagline{font-size:.78rem !important;margin-left:12px !important}
  .zf-tagline:after{width:60px;margin-left:15px}
  .zf-nav ul{width:calc(100% - 30px)}
  .zf-nav a{min-height:50px;font-size:1.03rem !important}
}


/* 0.2.5 - clean about visuals and corrected header icon */
@media(max-width:980px){.zf-about-copy{grid-template-columns:1fr 150px;gap:24px;padding:44px 28px 42px}.zf-about-copy h2{font-size:2.15rem}.zf-about-sketch{width:118px}}
@media(max-width:780px){.zf-about-grid{grid-template-columns:1fr}.zf-about-image{min-height:300px;background-position:58% center}.zf-about-copy{grid-template-columns:1fr;gap:18px;padding:34px 22px 38px}.zf-about-side{justify-self:start;align-items:flex-start;padding-bottom:0}.zf-about-note{font-size:.98rem}}


/* 0.2.6 - corrected product card titles and unified instrument image backgrounds */
@media (min-width:1281px){
  .zf-product-card h3{font-size:.82rem;line-height:1.08}
}
@media (max-width:1360px){
  .zf-product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  .zf-product-card-body{min-height:78px}
  .zf-product-card h3{font-size:.95rem;line-height:1.12}
}
@media (max-width:980px){
  .zf-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:640px){
  .zf-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .zf-product-card h3{font-size:.92rem}
  .zf-product-card-body{min-height:74px;padding:10px 12px 12px}
}


/* 0.2.7 - remove duplicate Bjelovar slogan and use a clean inline tambura icon */


/* 0.2.9 - remove Bjelovar image, keep text only */
.zf-about-note{display:block}
@media(max-width:980px){.zf-about-side{min-width:130px}.zf-about-note{font-size:1.06rem;max-width:130px}}
@media(max-width:780px){.zf-about-side{justify-self:start;align-items:flex-start;min-width:0}.zf-about-note{text-align:left;font-size:1rem;transform:rotate(-5deg);max-width:none}.zf-about-note:after{margin:.35rem 0 0}}


/* 0.2.12 - mobile instrument cards aligned with desktop treatment */
@media (max-width:780px){
  .zf-product-card img{
    aspect-ratio:1 / 1 !important;
    object-fit:contain !important;
    object-position:center center !important;
    background:#f6f1ea !important;
    padding:10px !important;
  }
  .zf-product-card-body{
    min-height:82px;
    padding:12px 12px 14px;
  }
}
@media (max-width:640px){
  .zf-product-card img{
    padding:8px !important;
    aspect-ratio:1 / 1 !important;
  }
  .zf-product-card-body{
    min-height:78px;
  }
  .zf-product-card h3{
    font-size:.9rem;
    line-height:1.12;
  }
}


/* 0.2.13 - final clean instrument assets on all screen sizes */
.zf-product-card img{
  width:100% !important;
  aspect-ratio:600 / 620 !important;
  object-fit:cover !important;
  object-position:center center !important;
  background:#f6f1ea !important;
  padding:0 !important;
  margin:0 !important;
  border:0 !important;
  display:block !important;
}
@media(max-width:780px){
  .zf-product-card img{
    aspect-ratio:600 / 620 !important;
    object-fit:cover !important;
    padding:0 !important;
  }
  .zf-product-card-body{min-height:78px}
}
@media(max-width:430px){
  .zf-product-card img{aspect-ratio:600 / 620 !important}
}


/* 0.2.18 - larger and cleaner gallery block */
@media(min-width:1101px){.zf-gallery-cta{font-size:1.05rem}}


/* 0.2.20 - clean, larger gallery cards; new filenames also bust old browser cache */
.zf-gallery-grid{
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  grid-auto-rows:auto !important;
  gap:16px !important;
}
.zf-gallery-grid img,
.zf-gallery-grid img:nth-child(n){
  grid-column:auto !important;
  grid-row:auto !important;
  width:100% !important;
  height:auto !important;
  aspect-ratio:16/10 !important;
  object-fit:cover !important;
  display:block !important;
  border:1px solid #eee4d9 !important;
  background:#f7f1e9 !important;
}
.zf-gallery-cta{
  grid-column:auto !important;
  grid-row:auto !important;
  aspect-ratio:16/10;
  min-height:0 !important;
  display:flex !important;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:20px !important;
  font-size:1.08rem !important;
}
@media(max-width:900px){
  .zf-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:12px !important}
}
@media(max-width:560px){
  .zf-gallery-grid{grid-template-columns:1fr !important}
  .zf-gallery-grid img,.zf-gallery-grid img:nth-child(n),.zf-gallery-cta{aspect-ratio:16/10 !important}
}


/* 0.2.21 - sharper gallery images + click-to-zoom lightbox */
.zf-gallery-item{position:relative;display:block;overflow:hidden;border:1px solid #eee4d9;background:#f7f1e9}
.zf-gallery-item img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .25s ease}
.zf-gallery-item:hover img{transform:scale(1.025)}
.zf-gallery-zoom{position:absolute;right:12px;bottom:12px;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:rgba(255,253,249,.92);color:#6e4528;font-family:var(--zf-sans);font-size:1rem;box-shadow:0 4px 14px rgba(0,0,0,.12)}
.zf-lightbox{position:fixed;inset:0;background:rgba(15,10,7,.9);z-index:99999;display:flex;align-items:center;justify-content:center;padding:24px;opacity:0;visibility:hidden;transition:opacity .2s ease,visibility .2s ease}
.zf-lightbox.is-open{opacity:1;visibility:visible}
.zf-lightbox-image{width:min(92vw,1200px);height:min(84vh,820px);max-width:none;max-height:none;object-fit:contain;box-shadow:0 16px 60px rgba(0,0,0,.45);background:#111;display:block}
.zf-lightbox-close{position:absolute;top:20px;right:24px;width:48px;height:48px;border:1px solid rgba(255,255,255,.35);border-radius:50%;background:rgba(255,255,255,.12);color:#fff;font-size:34px;line-height:1;display:grid;place-items:center;cursor:pointer}
body.zf-lightbox-open{overflow:hidden}
@media(max-width:780px){.zf-gallery-zoom{width:32px;height:32px;right:10px;bottom:10px}.zf-lightbox{padding:14px}.zf-lightbox-close{top:12px;right:12px;width:44px;height:44px}}

@media(max-width:780px){.zf-lightbox-image{width:94vw;height:78vh}}


/* 0.2.23 - refined contact strip */
@media (max-width:1100px) and (min-width:781px){.zf-contact-inner{grid-template-columns:190px 1fr;gap:22px}.zf-contact-items{justify-content:flex-start;gap:18px;flex-wrap:wrap}.zf-contact-btn{grid-column:2;justify-self:start}.zf-contact-item{white-space:normal}}
@media (max-width:520px){.zf-contact h2{font-size:1.8rem}.zf-contact-icon{width:32px;height:32px;flex-basis:32px}.zf-contact-items{font-size:.91rem}.zf-contact-btn{width:100% !important;justify-self:stretch}}
