/* Hruney Kopas — kuhinjski pribor. Glavna stylesheet datoteka. */

:root{
  --bg:#f8f1e4;
  --bg-alt:#eee3cf;
  --card:#fffaf0;
  --border:#e0d3b8;
  --border-input:#d8c9a3;
  --text:#3a2f28;
  --text-muted:#6b5d4f;
  --text-faint:#8a7350;
  --accent:#a8532f;
  --accent-hover:#c1673f;
  --olive:#737a4a;
  --olive-dark:#5c6440;
  --tag-bg:#f4e0d0;
  --tag-text:#a8532f;
  --dark:#3a2f28;
  --dark-text:#f8f1e4;
  --footer-text:#cbbfa9;
  --footer-border:#55483c;
  --footer-muted:#8a7a63;
  --cookie-link:#e0956a;

  --font-serif:'Lora', Georgia, 'Times New Roman', serif;
  --font-sans:'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-mono:'Space Mono', 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;

  --container:1200px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--font-sans);
  background:var(--bg);
  color:var(--text);
  min-height:100vh;
  line-height:1.6;
  padding-bottom:0;
}
img{ max-width:100%; display:block; }
a{ color:var(--accent); text-decoration:underline; }
a:hover{ color:var(--accent-hover); }
h1,h2,h3{ font-family:var(--font-serif); }
button{ font-family:var(--font-sans); }

.container{ max-width:var(--container); margin:0 auto; padding:0 32px; }
.visually-hidden{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}
.skip-link{
  position:absolute; left:-999px; top:0; background:var(--accent-hover); color:#fffaf0;
  padding:10px 16px; z-index:200; border-radius:0 0 4px 0;
}
.skip-link:focus{ left:0; }

/* ---------- Header ---------- */
.site-header{
  position:sticky; top:0; z-index:50;
  background:var(--bg);
  border-bottom:1px solid var(--border);
}
.site-header .container{
  padding-top:14px; padding-bottom:14px;
  display:flex; align-items:center; justify-content:space-between;
  gap:24px; flex-wrap:wrap;
}
.brand{ text-decoration:none; display:block; }
.brand-name{
  font-family:var(--font-serif); font-weight:700; font-size:24px; color:var(--accent);
}
.brand-domain{
  font-family:var(--font-mono); font-size:11px; letter-spacing:0.06em; color:var(--olive);
}
.main-nav{ display:flex; align-items:center; gap:4px; flex-wrap:wrap; }
.main-nav a{
  background:transparent; color:var(--text); border:none; border-radius:3px;
  padding:8px 14px; font-family:var(--font-sans); font-size:15px; font-weight:500;
  cursor:pointer; text-decoration:none; display:inline-block;
}
.main-nav a:hover{ background:#efe2c8; color:var(--text); }
.main-nav a[aria-current="page"]{ background:var(--accent-hover); color:#fffaf0; }

.cart-link{
  background:var(--olive); color:#fffaf0; border:none; border-radius:3px;
  padding:10px 18px; font-family:var(--font-sans); font-size:14px; font-weight:600;
  cursor:pointer; display:flex; align-items:center; gap:8px; text-decoration:none;
}
.cart-count{
  background:#fffaf0; color:var(--olive-dark); border-radius:10px; padding:1px 8px;
  font-size:12px; font-weight:700;
}

/* ---------- Cookie banner ---------- */
.cookie-banner{
  position:fixed; bottom:0; left:0; right:0; z-index:80;
  background:var(--dark); color:var(--dark-text);
  padding:18px 32px; display:flex; align-items:center; justify-content:space-between;
  gap:20px; flex-wrap:wrap; box-shadow:0 -4px 16px rgba(0,0,0,0.15);
}
.cookie-banner p{ font-size:14px; max-width:700px; margin:0; }
.cookie-banner a{ color:var(--cookie-link); }
.cookie-actions{ display:flex; gap:10px; flex-wrap:wrap; }
.btn-cookie-settings{
  background:transparent; color:var(--dark-text); border:1px solid var(--footer-muted);
  border-radius:3px; padding:10px 18px; font-size:14px; cursor:pointer;
}
.btn-cookie-accept{
  background:var(--accent-hover); color:#fffaf0; border:none; border-radius:3px;
  padding:10px 18px; font-size:14px; font-weight:600; cursor:pointer;
}
.cookie-banner.is-hidden{ display:none; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-block; border:none; border-radius:3px; cursor:pointer;
  font-family:var(--font-sans); font-weight:600; text-decoration:none; text-align:center;
}
.btn-primary{ background:var(--accent-hover); color:#fffaf0; padding:14px 28px; font-size:15px; }
.btn-primary:hover{ background:var(--accent); color:#fffaf0; }
.btn-outline{
  background:transparent; color:var(--text); border:1px solid var(--border-input);
  padding:14px 28px; font-size:15px;
}
.btn-outline:hover{ background:#efe2c8; color:var(--text); }
.btn-olive{ background:var(--olive); color:#fffaf0; padding:10px; font-size:13px; }
.btn-olive:hover{ background:#636b3d; color:#fffaf0; }
.btn-small-outline{
  background:transparent; color:var(--text); border:1px solid var(--border-input);
  padding:10px 14px; font-size:13px; border-radius:3px;
}
.btn-block{ width:100%; }

/* ---------- Hero ---------- */
.hero{ padding:64px 32px; display:flex; gap:56px; align-items:center; flex-wrap:wrap; }
.hero-copy{ flex:1; min-width:320px; }
.eyebrow{
  font-family:var(--font-mono); font-size:12px; letter-spacing:0.08em; color:var(--accent);
  text-transform:uppercase; margin-bottom:14px;
}
.hero-copy h1{ font-size:44px; line-height:1.15; margin:0 0 18px; color:var(--text); }
.hero-copy p{ font-size:17px; color:var(--text-muted); max-width:480px; margin:0 0 28px; }
.hero-actions{ display:flex; gap:14px; flex-wrap:wrap; }
.hero-media{ flex:1; min-width:320px; }
.hero-media img{
  width:100%; height:360px; object-fit:cover; border:1px solid var(--border); border-radius:4px;
}

/* ---------- Feature strip ---------- */
.feature-strip{ background:var(--bg-alt); border-top:1px solid var(--border); border-bottom:1px solid var(--border); }
.feature-strip .container{ padding:28px 32px; display:flex; gap:24px; flex-wrap:wrap; justify-content:space-between; }
.feature-item{ flex:1; min-width:200px; }
.feature-item .title{ font-weight:700; font-size:15px; }
.feature-item .desc{ font-size:13px; color:var(--text-muted); }

/* ---------- Section headings ---------- */
section{ padding:0; }
.section{ padding:64px 32px; }
.section-alt{ background:var(--bg-alt); }
.section h2{ font-size:28px; margin:0 0 24px; color:var(--text); }
.section-head{ display:flex; justify-content:space-between; align-items:baseline; margin-bottom:24px; flex-wrap:wrap; gap:12px; }
.section-head h2{ margin:0; }

/* ---------- Grids ---------- */
.grid{ display:grid; gap:20px; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); }
.grid-narrow{ grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); gap:16px; }
.grid-wide{ grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:24px; }

/* ---------- Category tiles ---------- */
.category-tile{
  display:block; text-decoration:none; color:inherit; cursor:pointer;
  background:var(--card); border:1px solid var(--border); border-radius:4px;
  padding:22px; text-align:center;
}
.category-tile:hover{ border-color:var(--accent-hover); }
.category-tile .thumb{
  height:80px; margin-bottom:14px; border:1px solid var(--border); border-radius:3px;
  overflow:hidden;
}
.category-tile .thumb img{ width:100%; height:100%; object-fit:cover; }
.category-tile .name{ font-weight:600; font-size:14px; color:var(--text); }

/* ---------- Product cards ---------- */
.product-card{
  background:var(--card); border:1px solid var(--border); border-radius:4px;
  display:flex; flex-direction:column; text-decoration:none; color:inherit;
}
.product-card .thumb-link{ display:block; border-bottom:1px solid var(--border); }
.product-card .thumb{ width:100%; height:170px; overflow:hidden; }
.product-card .thumb img{ width:100%; height:100%; object-fit:cover; }
.product-card .body{ padding:16px; display:flex; flex-direction:column; gap:8px; flex:1; }
.product-card .name{ font-weight:600; font-size:15px; color:var(--text); text-decoration:none; }
.product-card .name:hover{ color:var(--accent-hover); }
.product-card .desc{ font-size:13px; color:var(--text-muted); }
.product-card .price{ font-family:var(--font-serif); font-size:18px; color:var(--accent); font-weight:600; }
.product-card .actions{ display:flex; gap:8px; margin-top:auto; }
.product-card .actions .btn-olive{ flex:1; }
.tag{
  align-self:flex-start; background:var(--tag-bg); color:var(--tag-text);
  font-size:11px; font-weight:700; padding:3px 8px; border-radius:2px;
}

/* ---------- Category filter chips ---------- */
.chip-row{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom:32px; }
.chip{
  background:var(--card); color:var(--text); border:1px solid var(--border-input);
  border-radius:20px; padding:8px 16px; font-size:14px; font-family:var(--font-sans);
  cursor:pointer; white-space:nowrap; text-decoration:none; display:inline-block;
}
.chip[aria-current="true"]{ background:var(--olive); color:#fffaf0; border-color:var(--olive); }

/* ---------- Article / blog cards ---------- */
.article-card{
  display:block; text-decoration:none; color:inherit; cursor:pointer;
  background:var(--card); border:1px solid var(--border); border-radius:4px; overflow:hidden;
}
.article-card .thumb{ height:130px; border-bottom:1px solid var(--border); overflow:hidden; }
.article-card .thumb img{ width:100%; height:100%; object-fit:cover; }
.article-card.large .thumb{ height:160px; }
.article-card .body{ padding:16px; }
.article-card.large .body{ padding:18px; }
.article-card .date{ font-size:12px; color:var(--text-faint); margin-bottom:6px; }
.article-card .title{ font-weight:600; font-size:15px; margin-bottom:6px; color:var(--text); }
.article-card.large .title{ font-size:16px; }
.article-card .excerpt{ font-size:13px; color:var(--text-muted); }

/* ---------- Testimonials ---------- */
.testimonial{ background:var(--card); border:1px solid var(--border); border-radius:4px; padding:22px; }
.testimonial .stars{ color:var(--accent-hover); font-size:14px; margin-bottom:10px; }
.testimonial p{ font-size:14px; margin:0 0 12px; }
.testimonial .author{ font-size:13px; font-weight:600; }

/* ---------- Newsletter ---------- */
.newsletter{ background:var(--dark); color:var(--dark-text); padding:48px 32px; }
.newsletter-inner{ max-width:700px; margin:0 auto; text-align:center; }
.newsletter h2{ font-size:24px; margin:0 0 10px; }
.newsletter p{ font-size:14px; color:#cbbfa9; margin:0 0 20px; }
.newsletter-success{ color:var(--cookie-link); font-weight:600; }
.newsletter-form{ display:flex; gap:10px; justify-content:center; flex-wrap:wrap; }
.newsletter-form input[type="email"]{
  padding:12px 14px; border-radius:3px; border:1px solid var(--footer-muted);
  min-width:240px; font-size:14px; font-family:var(--font-sans);
}

/* ---------- Forms (generic) ---------- */
.form{ display:flex; flex-direction:column; gap:12px; }
.form-row{ display:flex; gap:12px; flex-wrap:wrap; }
.form-row > *{ flex:1; min-width:140px; }
.form input[type="text"],
.form input[type="email"],
.form input[type="tel"],
.form textarea{
  padding:12px; border:1px solid var(--border-input); border-radius:3px;
  font-size:14px; font-family:inherit; width:100%;
}
.form textarea{ resize:vertical; }
.form label.checkbox,
.form label.radio{ display:flex; align-items:center; gap:8px; font-size:14px; }
.form .consent{
  display:flex; align-items:flex-start; gap:8px; font-size:13px; color:var(--text-muted); margin-top:8px;
}
.payment-group{ margin-top:8px; }
.payment-group .label{ font-weight:600; font-size:14px; margin-bottom:8px; }
.payment-group .options{ display:flex; flex-direction:column; gap:8px; font-size:14px; }
.secure-note{ font-size:12px; color:var(--text-faint); }
.form-message{ padding:16px; border-radius:3px; font-size:14px; margin-bottom:12px; }
.form-message.error{ background:#f4e0d0; color:#8a2f0f; border:1px solid #e0956a; }

/* ---------- Success panels ---------- */
.panel-success{
  background:var(--card); border:1px solid var(--border); border-radius:4px; padding:24px;
  color:var(--olive-dark); font-weight:600;
}
.panel-success-center{ text-align:center; padding:32px; }
.panel-success-center .headline{ font-size:20px; font-weight:700; color:var(--olive-dark); margin-bottom:10px; }
.panel-success-center p{ color:var(--text-muted); }

/* ---------- Value / info cards ---------- */
.info-card{ background:var(--card); border:1px solid var(--border); border-radius:4px; padding:18px; }
.info-card .title{ font-weight:700; margin-bottom:6px; }
.info-card .desc{ font-size:13px; color:var(--text-muted); }

.media-tile{ height:130px; border:1px solid var(--border); border-radius:3px; margin-bottom:8px; overflow:hidden; }
.media-tile img{ width:100%; height:100%; object-fit:cover; }
.media-caption{ font-size:13px; color:var(--text-muted); }

/* ---------- Product detail ---------- */
.back-link{ font-size:14px; text-decoration:underline; }
.product-detail{ display:flex; gap:48px; margin-top:24px; flex-wrap:wrap; }
.product-detail-media{ flex:1; min-width:300px; }
.product-detail-media img{
  width:100%; height:380px; object-fit:cover; border:1px solid var(--border); border-radius:4px;
}
.product-detail-info{ flex:1; min-width:300px; }
.product-detail-info h1{ font-size:30px; margin:0 0 10px; }
.product-detail-info .price{ font-family:var(--font-serif); font-size:26px; color:var(--accent); font-weight:600; margin-bottom:16px; }
.product-detail-info .desc{ color:var(--text-muted); margin:0 0 20px; }
.shipping-note{ border-top:1px solid var(--border); padding-top:16px; font-size:13px; color:var(--text-muted); }
.shipping-note div{ margin-bottom:6px; }
.spec-block{ margin-top:20px; }
.spec-block .label{ font-weight:600; font-size:14px; margin-bottom:8px; }
.spec-block .items{ font-size:13px; color:var(--text-muted); display:flex; flex-direction:column; gap:4px; }
.related-products{ margin-top:56px; }
.related-products h2{ font-size:22px; margin:0 0 20px; }
.related-card{
  display:block; text-decoration:none; color:inherit; cursor:pointer;
  background:var(--card); border:1px solid var(--border); border-radius:4px; padding:14px;
}
.related-card .thumb{ height:120px; margin-bottom:10px; border:1px solid var(--border); border-radius:3px; overflow:hidden; }
.related-card .thumb img{ width:100%; height:100%; object-fit:cover; }
.related-card .name{ font-weight:600; font-size:14px; margin-bottom:4px; color:var(--text); }
.related-card .price{ color:var(--accent); font-weight:600; font-size:14px; }
.breadcrumb{ font-size:13px; color:var(--text-faint); margin-bottom:16px; }
.breadcrumb a{ color:var(--text-faint); }

/* ---------- Article page ---------- */
.article-page{ max-width:760px; margin:0 auto; padding:48px 32px; }
.article-hero{ height:220px; border:1px solid var(--border); border-radius:4px; margin:20px 0; overflow:hidden; }
.article-hero img{ width:100%; height:100%; object-fit:cover; }
.article-meta{ font-size:13px; color:var(--text-faint); margin-bottom:8px; }
.article-page h1{ font-size:32px; margin:0 0 20px; }
.article-body p{ margin:0 0 16px; }

/* ---------- About page ---------- */
.about-page{ max-width:900px; margin:0 auto; padding:48px 32px; }
.about-page h1{ font-size:34px; margin:0 0 24px; }
.about-hero{ height:260px; border:1px solid var(--border); border-radius:4px; margin-bottom:28px; overflow:hidden; }
.about-hero img{ width:100%; height:100%; object-fit:cover; }
.about-page h2{ font-size:22px; margin:36px 0 16px; }

/* ---------- Contact ---------- */
.contact-page{ max-width:1000px; margin:0 auto; padding:48px 32px; }
.contact-page h1{ font-size:34px; margin:0 0 28px; }
.contact-grid{ display:flex; gap:40px; flex-wrap:wrap; }
.contact-col{ flex:1; min-width:280px; }
.contact-card{ background:var(--card); border:1px solid var(--border); border-radius:4px; padding:22px; margin-bottom:16px; }
.contact-card .company{ font-weight:700; margin-bottom:12px; }
.contact-card .details{ font-size:14px; color:var(--text-muted); line-height:1.8; }
.map-tile{
  height:160px; border:1px solid var(--border); border-radius:4px; overflow:hidden;
  display:flex; align-items:center; justify-content:center; position:relative;
}
.map-tile img{ width:100%; height:100%; object-fit:cover; }
.map-tile .label{
  position:absolute; bottom:8px; left:8px; background:rgba(58,47,40,0.75); color:#f8f1e4;
  font-family:var(--font-mono); font-size:11px; padding:4px 8px; border-radius:2px;
}

/* ---------- Cart ---------- */
.cart-page{ max-width:900px; margin:0 auto; padding:48px 32px; }
.cart-page h1{ font-size:34px; margin:0 0 28px; }
.cart-empty{ text-align:center; padding:60px 0; color:var(--text-muted); }
.cart-items{ display:flex; flex-direction:column; gap:14px; margin-bottom:28px; }
.cart-row{
  display:flex; align-items:center; gap:16px; background:var(--card); border:1px solid var(--border);
  border-radius:4px; padding:14px; flex-wrap:wrap;
}
.cart-row .thumb{ width:70px; height:70px; border:1px solid var(--border); border-radius:3px; flex-shrink:0; overflow:hidden; }
.cart-row .thumb img{ width:100%; height:100%; object-fit:cover; }
.cart-row .info{ flex:1; min-width:140px; }
.cart-row .info .name{ font-weight:600; font-size:14px; }
.cart-row .info .unit-price{ font-size:13px; color:var(--text-muted); }
.qty-control{ display:flex; align-items:center; gap:8px; }
.qty-control button{
  width:28px; height:28px; border:1px solid var(--border-input); background:#fff; border-radius:3px; cursor:pointer;
}
.qty-control .qty{ min-width:20px; text-align:center; }
.line-total{ width:80px; text-align:right; font-weight:600; }
.remove-btn{ background:transparent; border:none; color:var(--accent); cursor:pointer; font-size:13px; }
.cart-summary{
  background:var(--bg-alt); border:1px solid var(--border); border-radius:4px; padding:20px;
  max-width:340px; margin-left:auto;
}
.summary-line{ display:flex; justify-content:space-between; font-size:14px; margin-bottom:8px; }
.summary-total{
  display:flex; justify-content:space-between; font-size:16px; font-weight:700;
  border-top:1px solid var(--border-input); padding-top:8px; margin-top:8px;
}

/* ---------- Checkout ---------- */
.checkout-page{ max-width:1000px; margin:0 auto; padding:48px 32px; }
.checkout-page h1{ font-size:34px; margin:0 0 28px; }
.checkout-grid{ display:flex; gap:40px; flex-wrap:wrap; }
.checkout-form{ flex:2; min-width:300px; }
.order-summary{
  flex:1; min-width:260px; background:var(--bg-alt); border:1px solid var(--border);
  border-radius:4px; padding:20px; align-self:flex-start;
}
.order-summary .title{ font-weight:700; margin-bottom:12px; }
.order-summary .line{ display:flex; justify-content:space-between; font-size:13px; margin-bottom:6px; }

/* ---------- Legal pages ---------- */
.legal-page{ max-width:760px; margin:0 auto; padding:48px 32px; }
.legal-page h1{ font-size:30px; margin:0 0 24px; }
.legal-page .updated{ font-size:13px; color:var(--text-faint); }
.legal-page h2{ font-size:19px; margin:28px 0 10px; }
.impressum-box{ background:var(--card); border:1px solid var(--border); border-radius:4px; padding:24px; font-size:14px; line-height:2; }

/* ---------- 404 ---------- */
.error-page{ max-width:640px; margin:0 auto; padding:96px 32px; text-align:center; }
.error-page .code{ font-family:var(--font-mono); font-size:14px; color:var(--text-faint); margin-bottom:12px; }
.error-page h1{ font-size:32px; margin:0 0 14px; }
.error-page p{ color:var(--text-muted); margin:0 0 28px; }

/* ---------- Footer ---------- */
.site-footer{ background:var(--dark); color:var(--footer-text); margin-top:40px; }
.footer-grid{
  max-width:var(--container); margin:0 auto; padding:48px 32px 24px;
  display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:32px;
}
.footer-brand{ font-family:var(--font-serif); font-size:20px; color:var(--dark-text); font-weight:700; margin-bottom:10px; }
.footer-grid p{ font-size:13px; margin:0; }
.footer-col-title{ color:var(--dark-text); font-weight:600; margin-bottom:10px; font-size:14px; }
.footer-links{ display:flex; flex-direction:column; gap:8px; font-size:13px; }
.footer-links a{ color:var(--footer-text); text-decoration:none; }
.footer-links a:hover{ text-decoration:underline; }
.footer-contact{ font-size:13px; line-height:1.9; }
.footer-payments{ margin-top:14px; font-size:12px; color:var(--footer-muted); }
.footer-bottom{
  border-top:1px solid var(--footer-border); padding:18px 32px; text-align:center;
  font-size:12px; color:var(--footer-muted);
}

/* ---------- Responsive ---------- */
@media (max-width:640px){
  .hero{ padding:40px 20px; }
  .hero-copy h1{ font-size:32px; }
  .section{ padding:40px 20px; }
  .site-header .container{ padding:14px 20px; }
  .cart-row{ flex-wrap:wrap; }
  .line-total{ text-align:left; }
}
