:root {
  --ink: #17201d;
  --ink-2: #26312d;
  --paper: #f5f0e8;
  --paper-2: #ece4d7;
  --white: #fffdf9;
  --accent: #f1683c;
  --accent-dark: #c84321;
  --sand: #c8a276;
  --sage: #718178;
  --green: #277a55;
  --green-bg: #e5f3eb;
  --red: #b53c36;
  --red-bg: #f9e6e3;
  --blue: #3c6c91;
  --blue-bg: #e4eff6;
  --amber: #8b6518;
  --amber-bg: #f6edcf;
  --line: rgba(23, 32, 29, .14);
  --shadow: 0 24px 64px rgba(23, 32, 29, .12);
  --radius: 18px;
  --font-head: "Manrope", sans-serif;
  --font-body: "DM Sans", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; }
h1, h2, h3, h4, h5 { margin-top: 0; font-family: var(--font-head); letter-spacing: -.035em; }
h1 em, h2 em { color: var(--accent); font-style: normal; }
p:last-child { margin-bottom: 0; }

.page-shell { max-width: 1480px; padding-inline: clamp(20px, 4vw, 72px); }
.section-pad { padding-block: clamp(80px, 9vw, 144px); }
.skip-link {
  position: fixed; z-index: 9999; top: 10px; left: 10px; transform: translateY(-160%);
  padding: 10px 16px; color: var(--white); background: var(--ink); border-radius: 8px;
}
.skip-link:focus { transform: translateY(0); }

.site-header { padding-top: 12px; transition: padding .25s ease, background .25s ease; }
.site-header .navbar {
  min-height: 70px; margin-inline: clamp(10px, 2vw, 30px); padding: 7px 0;
  background: rgba(245, 240, 232, .92); border: 1px solid rgba(255,255,255,.5); border-radius: 14px;
  box-shadow: 0 10px 35px rgba(23, 32, 29, .1); backdrop-filter: blur(15px);
}
.site-header.scrolled { padding-top: 4px; }
.navbar-brand { display: inline-flex; align-items: center; gap: 12px; margin: 0; color: var(--ink); }
.navbar-brand:hover { color: var(--ink); }
.navbar-brand > span:last-child { display: flex; flex-direction: column; line-height: 1.1; }
.navbar-brand strong { font-family: var(--font-head); font-size: 15px; text-transform: uppercase; letter-spacing: .08em; }
.navbar-brand small { margin-top: 5px; color: var(--sage); font-size: 9px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.brand-icon { position: relative; width: 33px; height: 33px; transform: rotate(45deg); }
.brand-icon i { position: absolute; display: block; width: 14px; height: 14px; background: var(--ink); }
.brand-icon i:first-child { top: 0; left: 0; }
.brand-icon i:nth-child(2) { right: 0; top: 0; background: var(--accent); }
.brand-icon i:nth-child(3) { left: 0; bottom: 0; background: var(--sand); }
.nav-link { margin-inline: 4px; padding: 10px 9px !important; color: var(--ink) !important; font-weight: 700; font-size: 13px; }
.nav-link:hover, .nav-link:focus { color: var(--accent-dark) !important; }
.navbar-toggler { border: 0; box-shadow: none !important; }
.navbar-toggler-icon { width: 24px; height: 24px; }
.btn { border-radius: 8px; font-weight: 700; }
.btn-ink { color: var(--white); background: var(--ink); border-color: var(--ink); }
.btn-ink:hover { color: var(--white); background: var(--accent); border-color: var(--accent); }
.btn-accent { color: #fff; background: var(--accent); border-color: var(--accent); box-shadow: 0 12px 26px rgba(241,104,60,.22); }
.btn-accent:hover { color: #fff; background: var(--accent-dark); border-color: var(--accent-dark); transform: translateY(-1px); }

.hero {
  position: relative; min-height: 760px; overflow: hidden; color: var(--white);
  background: var(--ink) url("../assets/img/hero-mercurio-pod.webp") center/cover no-repeat fixed;
}
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,22,19,.95) 0%, rgba(14,22,19,.74) 50%, rgba(14,22,19,.25) 100%), linear-gradient(0deg, rgba(14,22,19,.65), transparent 45%); }
.hero::after { content: ""; position: absolute; inset: 0; opacity: .12; background-image: linear-gradient(rgba(255,255,255,.13) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.13) 1px, transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(to right, #000, transparent 78%); }
.hero-inner { position: relative; z-index: 1; }
.hero-inner .row { min-height: min(100vh, 1000px) !important; padding-top: 160px; padding-bottom: 90px; }
.kicker { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; color: var(--accent-dark); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.kicker span { width: 38px; height: 2px; background: currentColor; }
.kicker-light { color: #ffc0a8; }
.hero h1 { max-width: 1000px; margin-bottom: 28px; font-size: clamp(50px, 7.3vw, 108px); font-weight: 800; line-height: .96; color: var(--white); }
.hero-lead { max-width: 840px; margin-bottom: 34px; color: rgba(255,255,255,.82); font-size: clamp(18px, 2vw, 23px); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions .btn { padding: 15px 22px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 12px 30px; margin-top: 54px; color: rgba(255,255,255,.76); font-size: 14px; }
.hero-facts span { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts i { color: var(--accent); font-size: 18px; }
.hero-facts b { color: #fff; }
.hero-board { margin-left: auto; max-width: 330px; padding: 30px; background: rgba(23,32,29,.84); border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); backdrop-filter: blur(12px); }
.board-label, .panel-label { display: block; margin-bottom: 14px; color: var(--accent); font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.hero-board > strong { display: block; margin-bottom: 12px; font-family: var(--font-head); font-size: 30px; }
.hero-board p { margin-bottom: 22px; color: rgba(255,255,255,.7); font-size: 14px; }
.hero-board div { display: flex; align-items: center; gap: 10px; padding-block: 8px; border-top: 1px solid rgba(255,255,255,.1); font-weight: 600; font-size: 13px; }
.hero-caption { position: absolute; z-index: 2; right: 25px; bottom: 18px; margin: 0; color: rgba(255,255,255,.58); font-size: 10px; letter-spacing: .05em; }

.status-strip { background: var(--accent); color: #fff; }
.status-strip .page-shell { display: flex; align-items: center; gap: 18px; padding-block: 20px; }
.status-strip i { font-size: 24px; }
.status-strip p { margin: 0; font-size: 14px; }
.status-strip a { font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }

.section-heading { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: clamp(30px, 6vw, 100px); align-items: end; margin-bottom: 56px; }
.section-heading h2 { margin: 0; font-size: clamp(38px, 5vw, 70px); font-weight: 800; line-height: 1.02; }
.section-heading > p { margin: 0 0 6px; color: #63706a; font-size: 18px; }
.section-heading.light h2 { color: var(--white); }
.section-heading.light > p { color: rgba(255,255,255,.7); }
.section-heading.compact { grid-template-columns: 1fr; }

.shopping-section { background: var(--paper); }
.shop-toolbar { position: sticky; z-index: 8; top: 78px; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 28px; padding: 12px; background: rgba(255,253,249,.94); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 9px 32px rgba(23,32,29,.08); backdrop-filter: blur(14px); }
.filter-scroll { display: flex; gap: 7px; overflow-x: auto; scrollbar-width: none; }
.filter-scroll::-webkit-scrollbar { display: none; }
.filter-chip { flex: 0 0 auto; padding: 9px 14px; color: #53605a; background: transparent; border: 1px solid var(--line); border-radius: 100px; font-size: 12px; font-weight: 800; }
.filter-chip:hover, .filter-chip.active { color: #fff; background: var(--ink); border-color: var(--ink); }
.availability-filter { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.availability-filter label { color: #68736e; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.availability-filter select { min-width: 190px; color: var(--ink); background-color: var(--paper); border-color: var(--line); }

.shop-group { margin-bottom: 24px; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 30px rgba(23,32,29,.06); }
.shop-group-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 22px; background: var(--ink); color: #fff; }
.group-heading { display: flex; align-items: center; gap: 13px; min-width: 0; }
.group-heading > div { min-width: 0; }
.shop-group-header i { color: #ff9c78; font-size: 21px; }
.shop-group-header h3 { margin: 0; font-size: 18px; letter-spacing: -.01em; }
.shop-group-header span { color: rgba(255,255,255,.6); font-size: 12px; }
.group-controls { display: flex; align-items: center; gap: 18px; flex: 0 0 auto; }
.group-subtotal { text-align: right; }
.group-subtotal small { display: block; color: rgba(255,255,255,.65); font-size: 10px; }
.group-subtotal strong { display: block; font-family: var(--font-head); font-size: 20px; white-space: nowrap; }
.group-toggle { display: flex; flex-direction: column; align-items: center; gap: 5px; cursor: pointer; }
.group-toggle input, .project-subtotal-row input { appearance: none; flex: 0 0 auto; width: 34px; height: 20px; margin: 0; border: 1px solid #9aa49f; border-radius: 20px; background: #59645f; cursor: pointer; transition: background .2s; }
.group-toggle input::before, .project-subtotal-row input::before { content: ""; display: block; width: 14px; height: 14px; margin: 2px; border-radius: 50%; background: #fff; transition: transform .2s; }
.group-toggle input:checked, .project-subtotal-row input:checked { background: var(--accent); border-color: var(--accent); }
.group-toggle input:checked::before, .project-subtotal-row input:checked::before { transform: translateX(14px); }
.group-toggle input:focus-visible, .project-subtotal-row input:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.group-toggle span { font-size: 10px; }
.shop-group.is-excluded { border-style: dashed; }
.shop-group.is-excluded .shop-row { background: #f1f2ef; }
.shop-group.is-excluded .product-name, .shop-group.is-excluded .price-cell { color: #768079; }
.shop-group.is-excluded .group-subtotal { opacity: .65; }
.shop-row { display: grid; grid-template-columns: 34px minmax(0, 1fr) 100px 112px; gap: 14px; align-items: center; padding: 17px 20px; border-top: 1px solid var(--line); transition: background .2s ease, opacity .2s ease; }
.shop-row:first-child { border-top: 0; }
.shop-row:hover { background: #faf7f1; }
.shop-row.is-purchased { opacity: .58; }
.shop-row.is-purchased .product-name { text-decoration: line-through; }
.shop-row.optional-row { border-left: 4px solid var(--sand); }
.purchase-check { appearance: none; width: 24px; height: 24px; margin: 0; background: #fff; border: 2px solid #9aa49f; border-radius: 6px; cursor: pointer; }
.purchase-check:checked { background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='white' d='M13.5 3.5 6.3 11 2.5 7.3l1.3-1.4 2.5 2.5 5.8-6z'/%3E%3C/svg%3E") center/18px no-repeat; border-color: var(--green); }
.product-main { min-width: 0; }
.product-topline { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 4px; }
.product-name { font-family: var(--font-head); font-size: 15px; font-weight: 800; line-height: 1.25; }
.product-code { color: #77817c; font-size: 11px; }
.status-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; border-radius: 100px; font-size: 10px; font-weight: 800; line-height: 1; white-space: nowrap; }
.status-badge.available { color: var(--green); background: var(--green-bg); }
.status-badge.unavailable { color: var(--red); background: var(--red-bg); }
.status-badge.owned { color: var(--blue); background: var(--blue-bg); }
.status-badge.verify { color: var(--amber); background: var(--amber-bg); }
.status-dot { display: inline-block; flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status-dot.available { color: #55ce8d; }
.status-dot.unavailable { color: #ff716a; }
.status-dot.owned { color: #79b8e8; }
.status-dot.verify { color: #e6b94f; }
.product-note { margin: 0; color: #68736e; font-size: 12px; line-height: 1.4; }
.product-link { display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; color: var(--accent-dark); font-size: 11px; font-weight: 800; text-decoration: none; }
.product-link:hover { text-decoration: underline; }
.quantity-wrap { display: grid; grid-template-columns: 26px 40px 26px; align-items: center; justify-content: center; }
.quantity-wrap button { height: 29px; padding: 0; color: var(--ink); background: var(--paper-2); border: 0; font-weight: 800; }
.quantity-wrap input { width: 40px; height: 29px; padding: 0; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 0; font-weight: 700; appearance: textfield; }
.quantity-wrap input::-webkit-inner-spin-button { appearance: none; }
.price-cell { text-align: right; }
.price-cell strong { display: block; font-family: var(--font-head); font-size: 16px; }
.price-cell small { display: block; color: #7d8682; font-size: 10px; }
.include-toggle { display: inline-flex; align-items: center; gap: 5px; margin-top: 7px; color: #7c6a45; font-size: 10px; font-weight: 800; }
.include-toggle input { accent-color: var(--accent); }
.empty-state { padding: 35px; text-align: center; background: var(--white); border: 1px dashed var(--line); border-radius: var(--radius); }

.cost-panel { position: sticky; top: 150px; padding: 30px; color: #fff; background: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); }
.cost-panel h3 { margin-bottom: 25px; font-size: 25px; }
.cost-total { display: flex; align-items: end; justify-content: space-between; gap: 15px; padding-bottom: 22px; border-bottom: 1px solid rgba(255,255,255,.15); }
.cost-total small { color: rgba(255,255,255,.62); }
.cost-total strong { font-family: var(--font-head); font-size: clamp(32px, 4vw, 46px); line-height: 1; }
.project-subtotals { padding-top: 20px; border-bottom: 1px solid rgba(255,255,255,.15); }
.project-subtotals h4 { margin-bottom: 10px; color: #ffb195; font-size: 13px; }
.project-subtotal-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 9px; }
.project-subtotal-row label { display: flex; align-items: center; gap: 9px; min-width: 0; margin: 0; font-size: 12px; line-height: 1.35; cursor: pointer; }
.project-subtotal-row strong { flex: 0 0 auto; font-size: 13px; white-space: nowrap; }
.project-subtotal-row.is-excluded span { color: #a1aaa5; text-decoration: line-through; }
.project-subtotals > p { margin: 12px 0 18px; color: rgba(255,255,255,.62); font-size: 10px; line-height: 1.55; }
.cost-breakdown { padding-block: 16px; }
.cost-breakdown > div { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-block: 7px; font-size: 12px; }
.cost-breakdown span { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.7); }
.owned-reference { padding: 16px; background: rgba(255,255,255,.07); border-radius: 10px; }
.owned-reference span, .owned-reference small { display: block; color: rgba(255,255,255,.6); font-size: 11px; }
.owned-reference strong { display: block; margin: 2px 0; font-size: 22px; }
.progress-wrap { margin: 22px 0; }
.progress-wrap > div:first-child { display: flex; justify-content: space-between; margin-bottom: 8px; color: rgba(255,255,255,.66); font-size: 11px; }
.progress { height: 7px; background: rgba(255,255,255,.13); }
.progress-bar { background: var(--accent); }
.reset-list { width: 100%; margin-top: 10px; color: rgba(255,255,255,.65); font-size: 11px; text-decoration: none; }
.reset-list:hover { color: #fff; }
.panel-note { margin-top: 18px; color: rgba(255,255,255,.48); font-size: 10px; line-height: 1.5; }

.plan-section { color: #fff; background: var(--ink); }
.floor-plan-card { padding: clamp(12px, 3vw, 32px); background: #101714; border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); box-shadow: var(--shadow); }
.floor-plan { width: 100%; height: auto; }
.calculation-card { padding: clamp(25px, 4vw, 48px); background: #222d29; border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); }
.calculation-card h3 { margin-bottom: 28px; font-size: clamp(27px, 3vw, 40px); }
.calc-line { display: grid; grid-template-columns: minmax(0, 1fr) 130px 120px; gap: 12px; align-items: center; padding: 13px 0; border-top: 1px solid rgba(255,255,255,.1); }
.calc-line span { color: rgba(255,255,255,.66); }
.calc-line code { color: #d9bea0; text-align: right; }
.calc-line b { text-align: right; }
.calc-line.minus b { color: #ff8c7e; }
.calc-line.total { border-top: 2px solid rgba(255,255,255,.25); }
.calc-line.result { margin-top: 8px; padding: 18px 14px; color: var(--ink); background: var(--sand); border: 0; border-radius: 8px; }
.calc-line.result span { color: var(--ink); font-weight: 800; }
.calc-line.result code { color: #5e4933; }
.calculation-card > p { margin-top: 22px; color: rgba(255,255,255,.56); font-size: 12px; }
.product-link-light { display: inline-flex; gap: 7px; align-items: center; margin-top: 16px; color: #ffb99f; font-size: 12px; font-weight: 800; text-decoration: none; }

.procedures-section { background: var(--white); }
.procedure-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 24px; }
.procedure-tab { display: flex; align-items: center; gap: 12px; padding: 18px 20px; color: #5f6a65; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; font-weight: 800; text-align: left; transition: all .2s ease; }
.procedure-tab span { display: grid; width: 28px; height: 28px; place-items: center; color: #fff; background: var(--sage); border-radius: 50%; font-size: 10px; }
.procedure-tab i { font-size: 20px; }
.procedure-tab.active, .procedure-tab:hover { color: #fff; background: var(--ink); border-color: var(--ink); }
.procedure-tab.active span { background: var(--accent); }
.procedure-content { padding: clamp(22px, 4vw, 48px); background: var(--paper); border-radius: var(--radius); }
.procedure-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 35px; align-items: end; margin-bottom: 26px; }
.procedure-index { color: var(--accent-dark); font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.procedure-intro h3 { max-width: 700px; margin: 8px 0 0; font-size: clamp(27px, 3.4vw, 48px); font-weight: 800; line-height: 1.05; }
.procedure-intro > p { color: #66716c; }
.material-ribbon { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; padding: 14px; background: var(--white); border: 1px solid var(--line); border-radius: 10px; }
.material-ribbon strong, .material-ribbon span { padding: 5px 9px; font-size: 11px; }
.material-ribbon strong { color: var(--accent-dark); }
.material-ribbon span { background: var(--paper-2); border-radius: 5px; }
.steps-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.sink-steps { grid-template-columns: repeat(3, 1fr); }
.sink-sealant-note { display: flex; align-items: flex-start; gap: 18px; padding: 24px; margin-bottom: 25px; color: var(--ink); background: #f3ece0; border-left: 3px solid var(--accent); border-radius: 0 12px 12px 0; }
.sink-sealant-note > i { color: var(--accent-dark); font-size: 24px; }
.sink-sealant-note h4 { margin-bottom: 8px; font-size: 19px; }
.sink-sealant-note p { margin-bottom: 10px; font-size: 14px; }
.sink-sealant-note p:last-child { margin-bottom: 0; }
.sink-sealant-note .micro-note { font-size: 12px; }
.step-card { overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 32px rgba(23,32,29,.06); }
.step-card img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; }
.step-body { padding: 25px; }
.step-no { display: inline-block; margin-bottom: 12px; color: var(--accent-dark); font-family: var(--font-head); font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.step-body h4, .wide-step h4 { margin-bottom: 12px; font-size: 22px; font-weight: 800; letter-spacing: -.025em; }
.step-body p, .step-body li { color: #63706a; font-size: 14px; }
.step-body ul { margin: 15px 0 0; padding-left: 18px; }
.step-body li { margin-bottom: 6px; }
.procedure-footnote { margin: 25px 0 0; padding: 16px; color: #6d7672; background: #fff; border-left: 3px solid var(--accent); font-size: 12px; }
.tile-timeline { display: grid; gap: 22px; }
.wide-step { display: grid; grid-template-columns: minmax(300px, .9fr) minmax(0, 1.1fr); overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: 14px; }
.wide-step:nth-child(even) > img { order: 2; }
.wide-step > img { width: 100%; height: 100%; min-height: 390px; object-fit: cover; }
.wide-step > div { padding: clamp(24px, 4vw, 48px); }
#korak-nivelacijske-kajle > img { grid-column: 1/-1; order: 0; height: auto; min-height: 0; aspect-ratio: 3/2; }
#korak-nivelacijske-kajle > div { grid-column: 1/-1; }
.wide-step > .step-products { grid-column: 1/-1; order: 3; padding: 20px 24px 24px; border-top: 1px solid var(--line); background: #f7f4ee; }
.step-products-title { display: flex; gap: 8px; align-items: center; margin: 0 0 12px; color: #66716a; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.step-products-title i { color: var(--accent-dark); font-size: 15px; }
.step-products-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.step-product { min-width: 0; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.step-product-link { display: flex; align-items: center; gap: 12px; min-height: 104px; padding: 12px; color: var(--ink); text-decoration: none; transition: background .2s ease; }
.step-product-link:hover { color: var(--ink); background: #faf4e9; }
.step-product-link:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.step-product-link > img { flex: 0 0 76px; width: 76px; height: 76px; object-fit: contain; background: #fff; border-radius: 6px; }
.step-product-link > span:last-child { min-width: 0; }
.step-product-link strong, .step-product-link small { display: block; }
.step-product-link strong { font-size: 13px; line-height: 1.35; }
.step-product-link small { margin-top: 5px; color: #737c76; font-size: 10px; }
.step-product-cta { display: inline-block; margin-top: 6px; color: var(--accent-dark); font-size: 10px; font-weight: 800; }
.step-product-cta i { margin-left: 4px; }
.has-photo-warning { border-color: #d6bb7d; }
.unverified-product-photo { display: flex; flex-direction: column; align-items: center; justify-content: center; flex: 0 0 76px; width: 76px; height: 76px; padding: 4px; color: #81621c; background: #f8f0db; border-radius: 6px; text-align: center; }
.unverified-product-photo > i { font-size: 24px; }
.unverified-product-photo small { font-size: 9px; line-height: 1.2; color: inherit; }
.product-photo-warning { margin: 0; padding: 10px 12px; color: #755719; background: #fbf2dd; font-size: 11px; line-height: 1.5; }
.product-photo-warning i { margin-right: 6px; }
.level-hardware-detail { display: flex; align-items: center; gap: 14px; margin-top: 18px; padding: 12px; background: #f5f0e8; border-radius: 8px; }
.level-hardware-detail img { flex: 0 0 90px; width: 90px; height: 90px; object-fit: contain; background: #fff; border-radius: 6px; }
.level-hardware-detail p { margin: 0; font-size: 12px; line-height: 1.55; }
.level-hardware-detail a { color: var(--accent-dark); font-weight: 700; }
.product-photo-credit { margin: 22px 0 0; color: #69736c; font-size: 11px; line-height: 1.6; }
.step-time { margin: -3px 0 15px; color: #7b8580; font-size: 11px; font-weight: 700; }
.wide-step h4 { font-size: clamp(25px, 3vw, 38px); }
.wide-step > div > p:not(.step-time):not(.micro-note) { color: #5f6b65; }
.use-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 20px; }
.use-tags span { padding: 6px 9px; color: #554330; background: #eee1d1; border-radius: 5px; font-size: 11px; font-weight: 800; }
.conditional-step { border-color: #dab859; }
.alert-inline { display: flex; gap: 10px; margin-top: 18px; padding: 13px; color: #715716; background: var(--amber-bg); border-radius: 8px; font-size: 12px; }
.micro-note { margin-top: 15px; padding-top: 14px; color: var(--accent-dark); border-top: 1px solid var(--line); font-size: 12px; font-weight: 700; }

.timing-section { background: var(--paper-2); }
.timing-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.timing-grid div { display: flex; flex-direction: column; min-height: 165px; padding: 25px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.timing-grid div:nth-child(4n) { border-right: 0; }
.timing-grid i { margin-bottom: auto; color: var(--accent); font-size: 25px; }
.timing-grid span { color: #6c7671; font-size: 12px; }
.timing-grid b { margin-top: 5px; font-family: var(--font-head); }
.timing-note { max-width: 850px; margin: 20px 0 0; color: #6d7672; font-size: 12px; }

.tools-section { background: var(--paper); }
.tool-check-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tool-check-grid article { padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; transition: transform .2s ease, box-shadow .2s ease; }
.tool-check-grid article:hover { transform: translateY(-4px); box-shadow: 0 18px 42px rgba(23,32,29,.08); }
.tool-check-grid article > i { display: inline-grid; width: 46px; height: 46px; margin-bottom: 30px; place-items: center; color: #fff; background: var(--ink); border-radius: 50%; font-size: 20px; }
.tool-check-grid h3 { font-size: 20px; }
.tool-check-grid ul { margin: 15px 0 0; padding-left: 18px; color: #66716c; font-size: 14px; }
.tool-check-grid li { margin-bottom: 7px; }
.tool-check-grid .safety-tool { color: #fff; background: var(--ink); }
.tool-check-grid .safety-tool ul { color: rgba(255,255,255,.68); }
.tool-check-grid .safety-tool > i { color: var(--ink); background: var(--accent); }

.safety-section { color: #fff; background: #0f1614; }
.safety-panel { display: grid; grid-template-columns: .85fr 1.15fr; gap: 50px; padding: clamp(30px, 6vw, 75px); background: #1c2723; border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); }
.safety-title span { color: #ff8b65; font-size: 11px; font-weight: 800; letter-spacing: .14em; }
.safety-title h2 { margin-top: 16px; font-size: clamp(32px, 4vw, 54px); font-weight: 800; line-height: 1.06; }
.safety-list { display: grid; gap: 12px; }
.safety-list > div { display: grid; grid-template-columns: 42px 1fr; gap: 15px; align-items: start; padding: 17px; background: rgba(255,255,255,.05); border-radius: 9px; }
.safety-list i { color: var(--accent); font-size: 22px; }
.safety-list p { color: rgba(255,255,255,.68); font-size: 14px; }
.safety-list strong { color: #fff; }
.final-check { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 28px; margin-top: 50px; }
.final-check h3 { grid-column: 1/-1; margin-bottom: 15px; font-size: 25px; }
.final-check label { display: flex; gap: 10px; align-items: start; padding: 12px 0; color: rgba(255,255,255,.7); border-bottom: 1px solid rgba(255,255,255,.08); font-size: 13px; cursor: pointer; }
.final-check input { flex: 0 0 auto; margin-top: 4px; accent-color: var(--accent); }

.site-footer { color: #fff; background: #080c0b; }
.site-footer .page-shell { display: grid; grid-template-columns: 1fr auto auto; gap: 35px; align-items: center; padding-block: 40px; }
.site-footer div > strong, .site-footer div > span { display: block; }
.site-footer div > span { color: rgba(255,255,255,.45); font-size: 11px; }
.site-footer nav { display: flex; gap: 18px; }
.site-footer nav a, .site-footer p, .site-footer p a { color: rgba(255,255,255,.62); font-size: 12px; text-decoration: none; }
.site-footer p { margin: 0; }
.site-footer p a { color: #ff9d7c; font-weight: 800; }

@media (max-width: 1199.98px) {
  .shop-toolbar { top: 76px; }
  .cost-panel { position: static; }
  .timing-grid { grid-template-columns: repeat(3, 1fr); }
  .timing-grid div:nth-child(4n) { border-right: 1px solid var(--line); }
  .timing-grid div:nth-child(3n) { border-right: 0; }
}

@media (max-width: 991.98px) {
  html { scroll-padding-top: 70px; }
  .site-header { padding-top: 4px; }
  .site-header .navbar { margin-inline: 5px; }
  .navbar-collapse { padding: 14px 0 8px; }
  .nav-link { padding-inline: 0 !important; }
  .navbar-collapse .btn { width: 100%; margin: 8px 0 0 !important; }
  .hero { background-attachment: scroll; }
  .hero-inner .row { padding-bottom: 70px; }
  .section-heading { grid-template-columns: 1fr; gap: 20px; }
  .section-heading > p { max-width: 720px; }
  .shop-toolbar { position: static; flex-direction: column; align-items: stretch; }
  .availability-filter { justify-content: space-between; }
  .procedure-intro { grid-template-columns: 1fr; }
  .sink-steps { grid-template-columns: 1fr; }
  .step-products-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step-card { display: grid; grid-template-columns: minmax(280px, .9fr) minmax(0, 1.1fr); }
  .step-card img { height: 100%; }
  .tool-check-grid { grid-template-columns: repeat(2, 1fr); }
  .safety-panel { grid-template-columns: 1fr; }
  .site-footer .page-shell { grid-template-columns: 1fr 1fr; }
  .site-footer p { grid-column: 1/-1; }
}

@media (max-width: 767.98px) {
  .page-shell { padding-inline: 18px; }
  .page-shell > .row { --bs-gutter-x: 24px; }
  .section-pad { padding-block: 76px; }
  .hero { min-height: 720px; }
  .hero-shade { background: linear-gradient(90deg, rgba(14,22,19,.94), rgba(14,22,19,.64)), linear-gradient(0deg, rgba(14,22,19,.8), transparent); }
  .hero-inner .row { padding-top: 125px; }
  .hero h1 { font-size: clamp(47px, 14vw, 70px); }
  .hero-lead { font-size: 17px; }
  .hero-actions .btn { width: 100%; }
  .hero-facts { gap: 10px; }
  .hero-facts span { width: 100%; }
  .hero-caption { display: none; }
  .status-strip .page-shell { align-items: start; }
  .section-heading h2 { font-size: 40px; }
  .availability-filter { align-items: stretch; flex-direction: column; }
  .availability-filter select { width: 100%; }
  .shop-row { grid-template-columns: 30px minmax(0, 1fr) 92px; gap: 10px; padding: 16px 14px; }
  .price-cell { grid-column: 2/-1; display: flex; align-items: baseline; justify-content: space-between; padding-top: 10px; border-top: 1px dashed var(--line); }
  .price-cell strong { order: 2; }
  .calc-line { grid-template-columns: 1fr auto; }
  .calc-line code { display: none; }
  .procedure-nav { grid-template-columns: 1fr; }
  .procedure-tab { padding: 13px 16px; }
  .steps-grid { grid-template-columns: 1fr; }
  .step-card { display: block; }
  .step-card img { height: auto; }
  .wide-step, .wide-step:nth-child(even) { grid-template-columns: 1fr; }
  .wide-step:nth-child(even) > img { order: 0; }
  .wide-step > img { min-height: auto; aspect-ratio: 4/3; }
  .wide-step > .step-products { padding: 18px; }
  .step-products-list { grid-template-columns: 1fr; }
  .step-product-link { min-height: 98px; }
  .level-hardware-detail { flex-direction: column; align-items: flex-start; }
  .timing-grid { grid-template-columns: repeat(2, 1fr); }
  .timing-grid div:nth-child(3n) { border-right: 1px solid var(--line); }
  .timing-grid div:nth-child(2n) { border-right: 0; }
  .tool-check-grid { grid-template-columns: 1fr; }
  .final-check { grid-template-columns: 1fr; }
  .site-footer .page-shell { grid-template-columns: 1fr; }
  .site-footer p { grid-column: auto; }
}

@media (max-width: 479.98px) {
  .navbar-brand small { display: none; }
  .navbar-brand strong { font-size: 13px; }
  .hero h1 { font-size: 44px; }
  .shop-group-header { align-items: stretch; flex-direction: column; gap: 16px; }
  .group-controls { justify-content: space-between; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.15); }
  .group-subtotal { text-align: left; }
  .group-toggle { flex-direction: row; gap: 9px; }
  .sink-sealant-note { gap: 12px; padding: 18px; }
  .shop-row { grid-template-columns: 28px minmax(0, 1fr); }
  .quantity-wrap { grid-column: 2; justify-content: start; }
  .price-cell { grid-column: 2; }
  .timing-grid { grid-template-columns: 1fr; }
  .timing-grid div { min-height: 145px; border-right: 0 !important; }
  .site-footer nav { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

@media print {
  @page { margin: 12mm; }
  body { color: #000; background: #fff; font-size: 10pt; }
  .site-header, .hero, .status-strip, .section-heading, .shop-toolbar, .plan-section, .procedures-section, .timing-section, .tools-section, .safety-section, .site-footer, .reset-list, .panel-note, .product-link { display: none !important; }
  .shopping-section { padding: 0; }
  .shopping-section::before { content: "APARTMAN KUTINA — PEVEX KUTINA POPIS KUPOVINE · 07. 10. 2026."; display: block; margin-bottom: 18px; font-family: var(--font-head); font-size: 17pt; font-weight: 800; }
  .shopping-section .row { display: block; }
  .shopping-section .col-xl-8, .shopping-section .col-xl-4 { width: 100%; }
  .shop-group { break-inside: avoid; margin-bottom: 10px; box-shadow: none; }
  .shop-group.is-excluded { display: none !important; }
  .shop-group-header { padding: 8px 12px; color: #000; background: #eee; }
  .shop-group-header i { color: #000; }
  .shop-group-header span, .group-subtotal small { color: #333; }
  .group-toggle { display: none; }
  .shop-row { grid-template-columns: 25px 1fr 90px 90px; padding: 7px 10px; }
  .shop-row.is-purchased { opacity: .55; }
  .quantity-wrap button { display: none; }
  .quantity-wrap { grid-template-columns: 40px; }
  .purchase-check { print-color-adjust: exact; }
  .cost-panel { margin-top: 12px; padding: 15px; color: #000; background: #fff; border: 2px solid #000; box-shadow: none; }
  .cost-breakdown span, .owned-reference span, .owned-reference small, .progress-wrap > div:first-child { color: #333; }
  .cost-panel .btn, .progress, .panel-label { display: none; }
  .project-subtotals h4, .project-subtotals > p, .project-subtotal-row.is-excluded span { color: #333; }
  .project-subtotal-row input { print-color-adjust: exact; }
  .owned-reference { background: #eee; }
}
