/* ════════════════════════════════════════════════════
   CALCULATOR SECTION
════════════════════════════════════════════════════ */
.calc-section { background: var(--off-white); padding: .8rem 0 2rem; border-bottom: 1px solid #d8e0d0; }
.calc-header { margin-bottom: .8rem; display: flex; align-items: baseline; gap: .8rem; flex-wrap: wrap; }
.calc-header .section-label { margin-bottom: 0; }
.calc-header h2 { font-family: var(--font-display); font-size: clamp(1.4rem, 2.2vw, 1.8rem); font-weight: 800; color: var(--forest); text-transform: uppercase; letter-spacing: .03em; margin: 0; line-height: 1.05; }
.calc-intro { color: #5a6a5a; font-size: .82rem; margin: 0; flex-basis: 100%; }
.calc-desc { font-size: .88rem; color: #5a6a5a; line-height: 1.65; margin: .5rem 0 0; max-width: 640px; }
.calc-desc strong { color: var(--forest); font-weight: 600; }
.calc-desc .calc-desc-specs { margin: .4rem 0 0; font-size: .82rem; color: #7a8a7a; }
.calc-notice { margin: .5rem 0 0; font-size: .82rem; color: #8a6a20; background: #fff8e1; border: 1px solid #f0d870; border-radius: 6px; padding: .45rem .75rem; display: inline-block; }
.calc-notice a { color: inherit; font-weight: 600; }

/* ── Layout ──────────────────────────────────────── */
.calc-shell { display: grid; grid-template-columns: 1fr 300px; gap: 1.25rem; align-items: start; }
@media (max-width: 860px) { .calc-shell { grid-template-columns: 1fr; } .calc-summary { order: -1; } }

/* ── Form grid ───────────────────────────────────── */
.calc-form { display: flex; flex-direction: column; gap: .6rem; }
.calc-row { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.calc-block--size { grid-column: 1 / -1; }
@media (max-width: 540px) { .calc-row { grid-template-columns: 1fr; } .calc-block--size { grid-column: 1; } }
.calc-block { display: flex; flex-direction: column; gap: .25rem; }
.calc-label { font-family: var(--font-display); font-weight: 700; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--forest); }
.calc-hint { font-size: .72rem; color: #7a8a7a; margin: 0; line-height: 1.3; }

/* ── Select ──────────────────────────────────────── */
.calc-select-wrap { position: relative; }
.calc-select-wrap::after { content: ''; position: absolute; right: 13px; top: 50%; transform: translateY(-50%); border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 5px solid var(--forest); pointer-events: none; }
.calc-select { width: 100%; height: 38px; padding: 0 2.2rem 0 .75rem; background: var(--white); border: 1.5px solid #c8d4c0; border-radius: 6px; font-family: var(--font-body); font-size: .85rem; color: var(--forest); appearance: none; cursor: pointer; transition: border-color .16s, box-shadow .16s; outline: none; box-sizing: border-box; }
.calc-select:hover { border-color: var(--forest-mid); }
.calc-select:focus { border-color: var(--forest); box-shadow: 0 0 0 3px rgba(28,48,16,.12); }

/* ── Stepper ─────────────────────────────────────── */
.calc-qty-wrap { display: flex; height: 38px; border: 1.5px solid #c8d4c0; border-radius: 6px; overflow: hidden; background: var(--white); transition: border-color .16s, box-shadow .16s; box-sizing: border-box; }
.calc-qty-wrap:focus-within { border-color: var(--forest); box-shadow: 0 0 0 3px rgba(28,48,16,.12); }
.calc-qty-btn { width: 36px; min-width: 36px; background: none; border: none; border-right: 1.5px solid #c8d4c0; font-size: 1.05rem; color: var(--forest-mid); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .14s; flex-shrink: 0; }
.calc-qty-btn:last-child { border-right: none; border-left: 1.5px solid #c8d4c0; }
.calc-qty-btn:hover { background: #eaf0e4; }
.calc-input { flex: 1; border: none; padding: 0 .3rem; height: 100%; font-family: var(--font-body); font-size: .85rem; color: var(--forest); text-align: center; background: transparent; outline: none; min-width: 0; -moz-appearance: textfield; }
.calc-input::-webkit-inner-spin-button, .calc-input::-webkit-outer-spin-button { -webkit-appearance: none; }

/* ── Dimension inputs (labels calc) ──────────────── */
.calc-dims-wrap { display: flex; align-items: center; height: 38px; gap: .5rem; border: 1.5px solid #c8d4c0; border-radius: 6px; background: var(--white); padding: 0 .75rem; transition: border-color .16s, box-shadow .16s; box-sizing: border-box; }
.calc-dims-wrap:focus-within { border-color: var(--forest); box-shadow: 0 0 0 3px rgba(28,48,16,.12); }
.calc-dim-input { flex: 1; border: none; padding: 0; height: 100%; font-family: var(--font-body); font-size: .85rem; color: var(--forest); text-align: center; background: transparent; outline: none; min-width: 0; -moz-appearance: textfield; }
.calc-dim-input::-webkit-inner-spin-button, .calc-dim-input::-webkit-outer-spin-button { -webkit-appearance: none; }
.calc-dims-x { font-size: .85rem; color: #8a9a8a; font-weight: 600; flex-shrink: 0; }
.calc-dims-unit { font-size: .78rem; color: #8a9a8a; font-weight: 500; flex-shrink: 0; }

/* ── Colour swatches ─────────────────────────────── */
.calc-swatches { display: flex; flex-wrap: wrap; gap: 6px; padding: 2px; }
.calc-swatch { width: 34px; height: 34px; border-radius: 50%; border: 2px solid #c8d4c0; cursor: pointer; transition: transform .14s, box-shadow .14s, border-color .14s; position: relative; flex-shrink: 0; }
.calc-swatch:hover { transform: scale(1.12); border-color: var(--forest-mid); box-shadow: 0 2px 6px rgba(0,0,0,.15); z-index: 1; }
.calc-swatch.is-active { border-color: var(--forest); box-shadow: 0 0 0 3px rgba(28,48,16,.25); transform: scale(1.08); }
.calc-swatch[title] { cursor: pointer; }
.calc-swatch-label { font-size: .78rem; color: var(--forest); margin-top: .2rem; font-weight: 500; }
.calc-swatch--light { border-color: #d8ddd4; }
.calc-swatch-dot { display: none; }
.calc-swatch.is-active .calc-swatch-dot { display: block; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 10px; height: 10px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 2px rgba(0,0,0,.3); }

/* ── Summary panel ───────────────────────────────── */
.calc-summary { position: sticky; top: 1.25rem; }
.calc-summary-inner { background: var(--forest); border-radius: 10px; padding: 1.2rem; color: var(--white); display: flex; flex-direction: column; gap: .8rem; }
.calc-summary-label { font-family: var(--font-display); font-size: .65rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.42); margin-bottom: .25rem; }
.calc-config-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .2rem; }
.calc-config-list li { font-size: .8rem; color: rgba(255,255,255,.72); display: flex; align-items: center; gap: .4rem; }
.calc-config-list li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--sage-light); flex-shrink: 0; }
.calc-match-note { font-size: .75rem !important; color: rgba(255,255,255,.45) !important; font-style: italic; }
.calc-match-note::before { background: transparent !important; width: 0 !important; }

/* ── Price display ───────────────────────────────── */
.calc-price-block { border-top: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.12); padding: .7rem 0; }
.calc-price-label { font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.42); margin-bottom: .2rem; }
.calc-price-row { display: flex; align-items: baseline; gap: .5rem; }
.calc-price { font-family: var(--font-display); font-size: 2.2rem; font-weight: 800; letter-spacing: -.02em; color: var(--white); line-height: 1; transition: opacity .12s; font-variant-numeric: tabular-nums; }
.calc-price.is-updating { opacity: .4; }
.calc-price-gst { font-size: .78rem; color: rgba(255,255,255,.38); }
.calc-unit-price { font-size: .8rem; color: rgba(255,255,255,.44); margin-top: .3rem; }
.calc-unit-price span { color: var(--sage-light); font-weight: 600; }
.calc-unavailable { margin-top: .5rem; font-size: .78rem; color: rgba(255,180,100,.8); }
.calc-unavailable a { color: inherit; }
.calc-inactive-notice { margin-top: .6rem; background: rgba(255,255,255,.08); border: 1px solid rgba(255,180,80,.35); border-radius: 8px; padding: .65rem .85rem; font-size: .8rem; color: rgba(255,210,140,.95); display: flex; flex-direction: column; gap: .4rem; line-height: 1.45; }
.calc-inactive-notice svg { flex-shrink: 0; color: rgba(255,200,100,.8); }
.calc-inactive-link { display: inline-block; margin-top: .1rem; font-weight: 700; color: var(--sage-light); font-size: .8rem; text-decoration: none; letter-spacing: .02em; }
.calc-inactive-link:hover { text-decoration: underline; }

/* ── CTA ─────────────────────────────────────────── */
.calc-cta { display: flex; align-items: center; justify-content: center; gap: .4rem; width: 100%; padding: .6rem 1rem; background: var(--sage-light); color: var(--forest); font-family: var(--font-display); font-weight: 800; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; border-radius: 6px; text-decoration: none; transition: background .16s, transform .14s; border: none; cursor: pointer; }
.calc-cta:hover { background: #d4e8c4; transform: translateY(-1px); }
.calc-disclaimer { font-size: .72rem; color: rgba(255,255,255,.32); margin: .4rem 0 0; line-height: 1.5; text-align: center; }
.calc-turnaround { display: flex; align-items: center; gap: .45rem; font-size: .8rem; color: rgba(255,255,255,.44); }
.calc-turnaround svg { flex-shrink: 0; color: var(--sage-light); }

/* ════════════════════════════════════════════════════
   INFO TILES
════════════════════════════════════════════════════ */
.calc-tiles-section { background: var(--white); padding: 3rem 0 3.5rem; border-bottom: 1px solid #e0e8d8; }
.calc-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
@media (max-width: 900px) { .calc-tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .calc-tiles { grid-template-columns: 1fr; } }
.calc-tile { padding: 1.5rem 1.5rem 1.5rem 0; border-right: 1px solid #e0e8d8; display: flex; gap: 1rem; }
.calc-tile:first-child { padding-left: 0; }
.calc-tile:last-child { border-right: none; }
.calc-tile-icon { width: 44px; min-width: 44px; height: 44px; background: var(--off-white); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--forest-mid); margin-top: .1rem; }
.calc-tile-body h3 { font-family: var(--font-display); font-weight: 700; font-size: .85rem; letter-spacing: .05em; text-transform: uppercase; color: var(--forest); margin: 0 0 .35rem; }
.calc-tile-body p { font-size: .84rem; color: #5a6a5a; line-height: 1.55; margin: 0; }
.calc-tile-body a { color: var(--forest-mid); text-decoration: underline; text-underline-offset: 2px; }
