/* DalmatinskaTrpeza — glavni stylesheet */
:root{
  --bg:#F7F1E4;
  --ink:#2E2A22;
  --ink-soft:#3A362C;
  --muted:#6B6355;
  --muted-2:#8A8371;
  --line:#E3D2AC;
  --line-2:#D8C79E;
  --card:#FFFDF7;
  --beige:#EFE6D2;
  --chip:#EFE6D2;
  --green:#5C6B3C;
  --green-dark:#43502B;
  --orange:#C1633B;
  --footer-bg:#2B2A22;
  --footer-line:#443F30;
  --footer-muted:#8A8371;
  --footer-text:#C9C2AC;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:'Work Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,.serif{font-family:'Playfair Display',Georgia,'Times New Roman',serif;}
a{color:var(--green);text-decoration:none;}
a:hover{color:var(--green-dark);}
button{cursor:pointer;font-family:inherit;}
input,select,textarea{font-family:inherit;font-size:15px;}
::placeholder{color:var(--muted-2);}
img{display:block;max-width:100%;}
.container{max-width:1280px;margin:0 auto;padding:0 24px;}

/* HEADER */
.site-header{position:sticky;top:0;z-index:50;background:rgba(247,241,228,0.96);backdrop-filter:blur(6px);border-bottom:1px solid var(--line);}
.header-inner{max-width:1280px;margin:0 auto;padding:16px 24px;display:flex;align-items:center;justify-content:space-between;gap:16px;}
.header-left{display:flex;align-items:center;gap:28px;}
.brand{background:none;border:none;padding:0;display:flex;align-items:center;gap:10px;}
.brand-dot{width:38px;height:38px;border-radius:50%;background:var(--green);display:flex;align-items:center;justify-content:center;flex:none;}
.brand-dot span{width:16px;height:16px;border-radius:50%;background:var(--orange);display:block;}
.brand-name{font-size:22px;font-weight:700;color:var(--ink);letter-spacing:.2px;}
.nav-desktop{display:flex;gap:22px;}
.nav-desktop a{background:none;border:none;font-size:15px;color:var(--ink);font-weight:500;}
.header-right{display:flex;align-items:center;gap:14px;}
.icon-btn{background:var(--beige);border:none;width:38px;height:38px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex:none;}
.icon-search-ring{width:14px;height:14px;border:2px solid var(--ink);border-radius:50%;position:relative;}
.icon-search-ring::after{content:"";position:absolute;width:2px;height:8px;background:var(--ink);bottom:-7px;right:-2px;transform:rotate(45deg);}
.icon-account{width:13px;height:13px;border-radius:50%;border:2px solid var(--ink);margin-bottom:2px;}
.icon-btn-cart{background:var(--green);border:none;width:38px;height:38px;border-radius:50%;display:flex;align-items:center;justify-content:center;position:relative;flex:none;}
.icon-cart-basket{width:16px;height:12px;border:2px solid #FFFDF7;border-top:none;border-radius:0 0 3px 3px;}
.cart-badge{position:absolute;top:-6px;right:-6px;background:var(--orange);color:#fff;font-size:11px;font-weight:700;min-width:18px;height:18px;border-radius:50%;display:flex;align-items:center;justify-content:center;padding:0 3px;}
.burger-btn{background:var(--beige);border:none;width:38px;height:38px;border-radius:8px;display:none;flex-direction:column;gap:3px;align-items:center;justify-content:center;}
.burger-bar{width:16px;height:2px;background:var(--ink);display:block;}
.search-bar{max-width:1280px;margin:0 auto;padding:0 24px 16px;display:none;}
.search-bar.open{display:block;}
.search-bar input{width:100%;padding:12px 16px;border-radius:10px;border:1px solid var(--line-2);background:var(--card);font-size:15px;outline:none;}
.mobile-nav{display:none;flex-direction:column;padding:8px 24px 20px;gap:4px;border-top:1px solid var(--line);}
.mobile-nav.open{display:flex;}
.mobile-nav a{text-align:left;background:none;border:none;padding:10px 0;font-size:16px;color:var(--ink);}

@media (max-width:1220px){
  .nav-desktop{display:none !important;}
  .burger-btn{display:flex !important;}
}

/* HERO */
.hero{position:relative;height:640px;display:flex;align-items:center;overflow:hidden;}
.hero-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;}
.hero-overlay{position:absolute;inset:0;background:linear-gradient(100deg,rgba(30,29,23,.88) 0%,rgba(30,29,23,.78) 45%,rgba(30,29,23,.45) 75%,rgba(30,29,23,.15) 100%);}
.hero-content{position:relative;max-width:1280px;margin:0 auto;padding:0 24px;width:100%;}
.hero-text{max-width:620px;}
.hero-title{color:#FFFDF7;font-size:56px;line-height:1.1;font-weight:600;margin:0 0 20px;}
.hero-sub{color:#F2EBDA;font-size:19px;line-height:1.6;margin:0 0 32px;}
.hero-actions{display:flex;gap:14px;flex-wrap:wrap;}
.btn{border:none;padding:15px 28px;border-radius:8px;font-size:15px;font-weight:600;display:inline-block;}
.btn-primary{background:var(--orange);color:#fff;}
.btn-outline-light{background:transparent;color:#FFFDF7;border:1.5px solid #FFFDF7;}
.btn-green{background:var(--green);color:#fff;}
.btn-green:hover{background:var(--green-dark);color:#fff;}
.btn-outline-green{background:none;border:1.5px solid var(--green);color:var(--green);}
.btn-beige{background:var(--beige);border:none;color:var(--ink);font-weight:600;}
.btn-orange{background:var(--orange);color:#fff;}

@media (max-width:860px){
  .hero-title{font-size:38px !important;}
}

/* SECTIONS */
section.block{max-width:1280px;margin:0 auto;padding:80px 24px 20px;}
.section-title{font-size:32px;font-weight:600;margin:0 0 8px;}
.section-sub{color:var(--muted);font-size:16px;margin:0 0 36px;max-width:560px;}
.row-between{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:32px;flex-wrap:wrap;gap:10px;}
.link-arrow{background:none;border:none;color:var(--green);font-weight:600;font-size:15px;}

/* GRIDS */
.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;}
.grid-4-wide{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;}
.grid-5{display:grid;grid-template-columns:repeat(5,1fr);gap:16px;}
@media (max-width:860px){
  .grid-4,.grid-4-wide,.grid-3,.grid-5{grid-template-columns:1fr 1fr !important;}
  .hide-mobile{display:none !important;}
}

/* CATEGORY CARD */
.cat-card{border:none;background:var(--card);border-radius:14px;overflow:hidden;padding:0;text-align:left;box-shadow:0 1px 3px rgba(43,42,34,.08);display:block;width:100%;}
.cat-card .cat-img{height:120px;width:100%;object-fit:cover;}
.cat-card .cat-body{padding:14px 16px 18px;}
.cat-card .cat-name{font-weight:600;font-size:15px;color:var(--ink);}

/* PRODUCT CARD */
.product-card{background:var(--card);border:1px solid var(--line);border-radius:14px;overflow:hidden;display:flex;flex-direction:column;height:100%;}
.product-card .prod-img-link{display:block;height:170px;}
.product-card .prod-img{width:100%;height:170px;object-fit:cover;}
.product-card .prod-body{padding:16px;display:flex;flex-direction:column;flex:1;}
.product-card .prod-cat{font-size:12px;color:var(--muted-2);text-transform:uppercase;letter-spacing:.05em;margin-bottom:6px;}
.product-card .prod-name{font-weight:600;font-size:16px;color:var(--ink);margin-bottom:6px;line-height:1.3;}
.product-card .prod-desc{font-size:13px;color:var(--muted);line-height:1.5;margin-bottom:12px;flex:1;}
.product-card .prod-price-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:4px;}
.product-card .prod-price{font-weight:700;font-size:17px;color:var(--orange);}
.product-card .prod-weight{font-size:12px;color:var(--muted);}
.product-card .prod-avail{font-size:12px;margin-bottom:12px;}
.product-card .avail-yes{color:var(--green-dark);}
.product-card .avail-no{color:#B0492E;}
.add-cart-btn{background:var(--green);color:#fff;border:none;padding:11px;border-radius:8px;font-weight:600;font-size:14px;width:100%;}
.add-cart-btn[disabled]{background:#A9A38C;opacity:.7;cursor:not-allowed;}

/* TRADITION */
.tradition{background:#EFE6D0;padding:80px 24px;margin-top:70px;}
.step-circle{width:56px;height:56px;border-radius:50%;background:var(--green);color:#fff;display:flex;align-items:center;justify-content:center;font-family:'Playfair Display',Georgia,serif;font-size:22px;margin:0 auto 16px;}
.step-label{font-weight:600;font-size:15px;color:var(--ink);}
.tradition-gallery{margin-top:48px;display:grid;grid-template-columns:repeat(4,1fr);gap:16px;height:200px;}
.tradition-gallery img{width:100%;height:100%;object-fit:cover;border-radius:14px;}

/* ADVANTAGES */
.adv{text-align:center;padding:12px;}
.adv-icon{width:48px;height:48px;border-radius:12px;background:#F3E3D3;margin:0 auto 18px;}
.adv-title{font-weight:600;font-size:18px;color:var(--ink);margin-bottom:8px;}
.adv-desc{color:var(--muted);font-size:14px;line-height:1.5;}

/* REVIEWS / CARD PANEL */
.panel{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:48px 32px;text-align:center;}
.panel h3{font-size:24px;margin:0 0 10px;}
.panel p{color:var(--muted);font-size:15px;max-width:480px;margin:0 auto;}

/* BLOG CARDS */
.blog-card{text-align:left;background:var(--card);border:1px solid var(--line);border-radius:14px;overflow:hidden;padding:0;display:block;width:100%;}
.blog-card .blog-img{height:150px;width:100%;object-fit:cover;}
.blog-card.large .blog-img{height:170px;}
.blog-card .blog-body{padding:18px;}
.blog-card .blog-title{font-weight:600;font-size:17px;margin-bottom:8px;color:var(--ink);}
.blog-card.large .blog-title{font-size:18px;}
.blog-card .blog-excerpt{color:var(--muted);font-size:14px;line-height:1.5;}

/* CATALOG PAGE */
.catalog-title{font-size:34px;font-weight:600;margin:0 0 8px;}
.catalog-sub{color:var(--muted);font-size:15px;margin:0 0 32px;}
.catalog-layout{display:grid;grid-template-columns:240px 1fr;gap:36px;align-items:start;}
.filters{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:22px;position:sticky;top:100px;}
.filters .f-label{font-weight:600;font-size:14px;margin-bottom:10px;color:var(--ink);}
.filters select{width:100%;padding:9px;border-radius:8px;border:1px solid var(--line-2);margin-bottom:22px;background:#fff;font-size:14px;}
.filters .f-check{display:flex;align-items:center;gap:8px;font-size:14px;color:var(--ink);}
.filters .reset-btn{margin-top:22px;width:100%;background:var(--beige);border:none;padding:10px;border-radius:8px;font-size:14px;font-weight:600;color:var(--ink);}
.no-results{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:60px 24px;text-align:center;color:var(--muted);}
@media (max-width:920px){
  .catalog-layout{grid-template-columns:1fr;}
  .filters{position:static;}
}

/* PRODUCT PAGE */
.back-link{background:none;border:none;color:var(--green);font-size:14px;font-weight:600;margin-bottom:24px;display:inline-block;}
.product-layout{display:grid;grid-template-columns:1fr 1fr;gap:48px;}
.product-main-img{height:420px;margin-bottom:14px;border-radius:16px;overflow:hidden;}
.product-main-img img{width:100%;height:100%;object-fit:cover;}
.product-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;height:110px;}
.product-gallery img{width:100%;height:100%;object-fit:cover;border-radius:10px;}
.product-kicker{font-size:13px;color:var(--muted-2);text-transform:uppercase;letter-spacing:.06em;margin-bottom:8px;}
.product-name{font-size:32px;font-weight:600;margin:0 0 14px;}
.product-price{font-size:26px;font-weight:700;color:var(--orange);margin-bottom:6px;}
.product-meta{font-size:14px;color:var(--muted);margin-bottom:18px;}
.product-desc{font-size:16px;line-height:1.6;color:var(--ink-soft);margin:0 0 26px;}
.qty-row{display:flex;align-items:center;gap:16px;margin-bottom:20px;}
.qty-box{display:flex;align-items:center;border:1px solid var(--line-2);border-radius:8px;}
.qty-box button{background:none;border:none;width:38px;height:38px;font-size:18px;}
.qty-box .qty-val{width:36px;text-align:center;font-weight:600;}
.added-notice{background:var(--beige);color:var(--green-dark);padding:10px 14px;border-radius:8px;font-size:14px;margin-bottom:20px;display:none;}
.added-notice.show{display:block;}
.spec-list{border-top:1px solid var(--line);padding-top:22px;display:flex;flex-direction:column;gap:18px;}
.spec-list .spec-title{font-weight:600;font-size:15px;margin-bottom:6px;color:var(--ink);}
.spec-list .spec-body{font-size:14px;color:var(--muted);line-height:1.6;}
@media (max-width:900px){
  .product-layout{grid-template-columns:1fr;}
}

/* CART */
.cart-list{display:flex;flex-direction:column;gap:14px;margin-bottom:32px;}
.cart-row{display:grid;grid-template-columns:76px 1fr auto auto;gap:16px;align-items:center;background:var(--card);border:1px solid var(--line);border-radius:12px;padding:14px;}
.cart-row img{width:76px;height:76px;object-fit:cover;border-radius:10px;}
.cart-row .item-name{font-weight:600;font-size:15px;color:var(--ink);}
.cart-row .item-meta{font-size:13px;color:var(--muted);}
.cart-row .item-total{font-weight:700;color:var(--orange);font-size:15px;}
.cart-row .item-remove{background:none;border:none;color:var(--muted-2);font-size:13px;text-decoration:underline;}
.cart-total-bar{background:var(--beige);border-radius:12px;padding:20px 24px;display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;}
.cart-total-bar .lbl{font-weight:600;font-size:16px;}
.cart-total-bar .val{font-weight:700;font-size:22px;color:var(--ink);}
.cart-actions{display:flex;gap:14px;flex-wrap:wrap;}
@media (max-width:600px){
  .cart-row{grid-template-columns:56px 1fr;grid-template-areas:"img name" "img total" "img remove";}
}

/* CHECKOUT */
.checkout-layout{display:grid;grid-template-columns:1fr 340px;gap:36px;}
.field label{font-size:13px;font-weight:600;color:var(--ink);display:block;margin-bottom:6px;}
.field input,.field textarea{width:100%;padding:11px;border-radius:8px;border:1px solid var(--line-2);}
.field textarea{resize:vertical;}
.field-row-2{display:grid;grid-template-columns:1fr 1fr;gap:14px;}
.field-row-zip{display:grid;grid-template-columns:120px 1fr;gap:14px;}
.form-col{display:flex;flex-direction:column;gap:18px;}
.radio-card{display:flex;gap:10px;align-items:center;padding:12px;border:1px solid var(--line-2);border-radius:8px;margin-bottom:8px;cursor:pointer;}
.summary-panel{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:22px;height:fit-content;}
.summary-panel .s-title{font-weight:600;font-size:16px;margin-bottom:16px;}
.summary-line{display:flex;justify-content:space-between;font-size:14px;color:var(--ink-soft);margin-bottom:10px;}
.summary-total{border-top:1px solid var(--line);margin-top:12px;padding-top:12px;display:flex;justify-content:space-between;font-weight:700;font-size:17px;}
.order-submit{width:100%;margin-top:20px;background:var(--orange);color:#fff;border:none;padding:14px;border-radius:8px;font-weight:700;font-size:15px;}
@media (max-width:900px){
  .checkout-layout{grid-template-columns:1fr;}
}

/* CONTACT */
.contact-layout{display:grid;grid-template-columns:1fr 1fr;gap:40px;}
.info-card{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:26px;margin-bottom:20px;}
.info-card .co-name{font-weight:600;font-size:18px;margin-bottom:14px;}
.info-card .co-lines{font-size:14px;color:var(--ink-soft);line-height:1.8;}
.info-card .co-lines .muted-note{margin-top:10px;color:var(--muted);}
.contact-form-panel{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:26px;}
.contact-form-panel .cf-title{font-weight:600;font-size:16px;margin-bottom:16px;}
@media (max-width:860px){
  .contact-layout{grid-template-columns:1fr;}
}

/* INFO / POLICY PAGES */
.tab-row{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:32px;}
.tab-chip{background:var(--card);color:var(--ink);border:1px solid var(--line-2);padding:8px 14px;border-radius:20px;font-size:13px;}
.tab-chip.active{background:var(--green);color:#fff;}
.policy-title{font-size:30px;font-weight:600;margin:0 0 24px;}
.policy-body{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:26px;font-size:15px;line-height:1.9;color:var(--ink-soft);}
.policy-body p{margin:0 0 14px;}
.policy-body p:last-child{margin-bottom:0;}
.policy-body ul{padding-left:20px;margin:0 0 14px;}

/* ABOUT */
.about-hero-section{max-width:1000px;margin:0 auto;padding:60px 24px 20px;text-align:center;}
.about-hero-section h1{font-size:38px;font-weight:600;margin:0 0 18px;}
.about-hero-section p{font-size:17px;line-height:1.7;color:var(--ink-soft);max-width:720px;margin:0 auto;}
.about-image{max-width:1000px;margin:0 auto;padding:40px 24px;height:340px;}
.about-image img{width:100%;height:100%;object-fit:cover;border-radius:18px;}
.about-copy{max-width:900px;margin:0 auto;padding:40px 24px 100px;display:flex;flex-direction:column;gap:28px;}
.about-copy h3{font-size:22px;margin:0 0 10px;}
.about-copy p{color:var(--ink-soft);font-size:15px;line-height:1.7;margin:0;}

/* BLOG POST */
.post-wrap{max-width:760px;margin:0 auto;padding:50px 24px 100px;}
.post-title{font-size:32px;font-weight:600;margin:0 0 20px;}
.post-hero{height:320px;margin-bottom:28px;border-radius:16px;overflow:hidden;}
.post-hero img{width:100%;height:100%;object-fit:cover;}
.post-body{font-size:16px;line-height:1.8;color:var(--ink-soft);white-space:pre-line;}

/* PAGE MAIN */
main{min-height:40vh;}
.page-main{max-width:1280px;margin:0 auto;padding:40px 24px 100px;}
.page-main.narrow{max-width:900px;}
.page-main.narrower{max-width:1000px;}
.page-main.checkout-wrap{max-width:1000px;}
.page-main.info-wrap{max-width:820px;}

/* SUCCESS STATE */
.success-panel{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:60px 24px;text-align:center;}
.success-panel .s-title{font-size:24px;margin-bottom:12px;font-family:'Playfair Display',Georgia,serif;}
.success-panel p{color:var(--muted);font-size:15px;margin:0 0 24px;}

/* FOOTER */
.site-footer{background:var(--footer-bg);color:#E8E1D0;padding:64px 24px 30px;}
.footer-inner{max-width:1280px;margin:0 auto;}
.footer-cols{display:grid;grid-template-columns:repeat(4,1fr);gap:32px;margin-bottom:48px;}
.footer-col .f-brand{font-size:19px;font-weight:700;color:#fff;margin-bottom:16px;}
.footer-col .f-heading{font-weight:700;color:#fff;margin-bottom:16px;font-size:15px;}
.footer-col .f-links{display:flex;flex-direction:column;gap:9px;font-size:14px;}
.footer-col .f-links a{background:none;border:none;color:var(--footer-text);text-align:left;padding:0;}
.footer-col .f-links a:hover{color:#fff;}
.footer-contact{font-size:13.5px;color:var(--footer-text);line-height:1.6;display:flex;flex-direction:column;gap:6px;}
.footer-contact a{color:#E4A97E;text-align:left;padding:6px 0 0;text-decoration:underline;}
.footer-bottom{border-top:1px solid var(--footer-line);padding-top:22px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;font-size:12.5px;color:var(--footer-muted);}
@media (max-width:860px){
  .footer-cols{grid-template-columns:1fr 1fr !important;}
}

/* SKIP LINK */
.skip-link{position:absolute;left:-9999px;top:0;background:#fff;color:#000;padding:10px 16px;z-index:100;}
.skip-link:focus{left:16px;top:16px;}
