/*
Theme Name: Simple&Smart NZ
Description: Local copy of the simplesmart.it look (their styles and scripts, used with permission), with ICONA New Zealand header, footer, links and enquiry forms.
Author: ICONA New Zealand
Version: 1.0.0
Text Domain: simplesmart-nz
*/

/* ICONA NZ additions. Their own styles are in dist/styles/main.css and modstyle.css. */
footer .icona-nz-logo { display: block; width: 80%; height: auto; margin: 14px 0 0; } /* same width as the Simple&Smart footer logo : both 80% of the column (was max 176px, 2026-11-19) */
footer .icona-nz-note { font-size: 13px; opacity: .85; margin-top: 8px; }
footer .rif a, footer .address a { color: inherit; }
/* ICONA logo in the header (links to icona.co.nz). */
/* 2026-11-19: balanced against the Simple&Smart logo + "Distributed in New Zealand by" block on the left.
   Its solid capitals look bigger than the lowercase wordmark, so it is 28px high (not the block's full 40px),
   centred on that block. */
.banner .icona-badge { position: absolute; right: 170px; top: 28px; line-height: 0; opacity: .9; transition: opacity .2s; }
.banner .icona-badge:hover { opacity: 1; }
.banner .icona-badge img { display: block; height: 28px; width: auto; }
/* Menu across the header from 1340px (MENU button below that since 2026-11-19). 1340-1559px: the menu sits between the two logos with slightly tighter spacing. */
@media (min-width: 1340px) and (max-width: 1559px) { .banner .icona-badge { right: 14px; } .banner #menu-menu { padding-left: 218px; padding-right: 192px; } .banner #menu-menu > li { padding-left: 3px; padding-right: 3px; } .banner #menu-menu > li > a { padding-left: 6px; padding-right: 6px; } }
@media (min-width: 1560px) { .banner .icona-badge { right: 24px; } .banner #menu-menu { padding-left: 218px; padding-right: 202px; } }
/* Menu folded behind MENU (below 1340px): logo beside the MENU button; hidden on phones. */
@media (max-width: 1339px) { .banner .icona-badge { right: 190px; } }
@media (max-width: 767px) { .banner .icona-badge { display: none; } }
.ssnz-thanks { padding: 20px; background: #eaf6ea; border: 1px solid #9c9; margin: 10px 0; }
.icona-nz-contact h3 { margin-top: 10px; }
.icona-nz-contact p { font-size: 17px; line-height: 1.6; }

/* "In New Zealand" panel on chair pages: H2/H3 for SEO, styled like the panels' own H1/H2. */
.in-new-zealand h2.title1 { font-size: 5em; font-weight: 200; line-height: 1.1; margin: 0; }
.in-new-zealand h3.title2 { font-size: 2em; font-weight: 200; line-height: 1.1; margin: 0 0 30px; }
.in-new-zealand .text1 a { color: inherit; text-decoration: underline; }
.in-new-zealand .btn-block .btn + .btn { margin-left: 10px; }
@media screen and (max-width: 992px) { .in-new-zealand h2.title1 { font-size: 3em; } }
.in-new-zealand .image { background-position: center center !important; }

/* Reviews (wp-admin > Reviews): Feedback page and home "WHAT CUSTOMERS SAY". */
.ssnz-reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 370px)); justify-content: center; gap: 24px; max-width: 1200px; margin: 30px auto; padding: 0 15px; text-align: left; }
.ssnz-review { background: #fff; color: #1d1d1b; border-radius: 20px; padding: 28px 28px 22px; margin: 0; display: flex; flex-direction: column; box-shadow: 0 4px 18px rgba(0,0,0,.25); }
.ssnz-review__stars { color: #c10eca; font-size: 20px; letter-spacing: 2px; margin-bottom: 10px; }
.ssnz-review__stars span { color: #ddd; }
.ssnz-review__quote { border: 0; margin: 0 0 18px; padding: 0 0 0 34px; position: relative; font-size: 16px; line-height: 1.6; font-weight: 300; flex: 1; }
.ssnz-review__quote::before { content: "\201C"; position: absolute; left: 0; top: -14px; font-size: 60px; line-height: 1; color: #c10eca; font-family: Georgia, serif; }
.ssnz-review__quote p { margin: 0 0 8px; }
.ssnz-review__who { display: flex; align-items: center; gap: 12px; font-size: 14px; line-height: 1.4; color: #555; }
.ssnz-review__who strong { color: #1d1d1b; font-weight: 600; }
.ssnz-review__photo { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; flex: 0 0 54px; }
.ssnz-reviews--home { margin-top: 20px; }
.ssnz-reviews__more { text-align: center; margin: 10px 0 0; }
.ssnz-reviews__intl { text-align: center; font-weight: 200; font-size: 2em; margin: 50px 0 10px; color: #fff; }

/* Privacy Policy and Terms pages */
main.legal .legal-page { padding-top: 120px; padding-bottom: 60px; }
main.legal .legal-page h1 { text-align: center; margin-bottom: 30px; }
main.legal .legal-page .text { text-align: left; font-size: 16px; line-height: 1.7; }
main.legal .legal-page h2 { font-size: 24px; font-weight: 400; margin: 34px 0 12px; text-align: left; }
main.legal .legal-page ul { padding-left: 22px; margin: 0 0 16px; }
main.legal .legal-page li { margin-bottom: 6px; }
main.legal .legal-page p[style*="padding-left"] { padding-left: 22px !important; }
main.legal .legal-page a { text-decoration: underline; }
main.legal .legal-updated { font-style: italic; opacity: .8; }

/* Visually hidden but read by search engines and screen readers (page H1 where the design has none). */
.ssnz-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

/* Configurator details box (e.g. Compressors & Suction: current units, number of surgeries). */
.ssnz-details { clear: both; background: #f6f6f6; border-left: 4px solid #c10eca; border-radius: 10px; padding: 18px 20px 8px; margin: 10px 0 16px; text-align: left; }
.ssnz-details__title { font-weight: 600; font-size: 16px; margin-bottom: 12px; color: #1d1d1b; }
.ssnz-details__field { margin-bottom: 12px; }
.ssnz-details__field label { display: block; font-weight: 500; font-size: 14px; margin-bottom: 4px; color: #1d1d1b; }
.ssnz-details__field input, .ssnz-details__field textarea { width: 100%; max-width: 560px; border: 1px solid #ccc; border-radius: 6px; padding: 8px 10px; font-size: 15px; background: #fff; color: #1d1d1b; }
.ssnz-details__field--number input { max-width: 140px; }
.ssnz-details__field input:focus, .ssnz-details__field textarea:focus { outline: none; border-color: #c10eca; box-shadow: 0 0 0 2px rgba(193,14,202,.15); }
.ssnz-details-summary { font-size: 13px; margin: 2px 0 6px; line-height: 1.5; }
.ssnz-details-summary span { opacity: .75; }

/* ===== ICONA presence (2026-11-18) ===== */
/* ICONA New Zealand page */
main.icona-page .icona-hero { padding-top: 130px; }
main.icona-page .icona-hero__logo { display: block; width: 300px; max-width: 70%; height: auto; margin: 0 auto 26px; }
main.icona-page .icona-hero .title2 p { font-size: 1.6em; font-weight: 200; margin-bottom: 18px; }
.icona-ticks { list-style: none; padding: 0; margin: 10px 0 0; text-align: left; }
.icona-ticks li { position: relative; padding: 0 0 8px 28px; }
.icona-ticks li::before { content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 8px; border-left: 2px solid #b0d242; border-bottom: 2px solid #b0d242; transform: rotate(-45deg); }
.icona-features { display: flex; flex-wrap: wrap; justify-content: center; gap: 26px 18px; margin: 26px auto 30px; max-width: 980px; }
.icona-feature { flex: 0 0 140px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; font-size: 15px; line-height: 1.3; }
.icona-feature img { width: 60px; height: 60px; }
.icona-mini { display: flex; flex-wrap: wrap; gap: 14px; margin: 16px 0 6px; }
.icona-mini .icona-feature { flex: 0 0 96px; font-size: 13px; }
.icona-mini .icona-feature img { width: 44px; height: 44px; }
main.icona-page .icona-contact a:not(.btn) { color: inherit; text-decoration: underline; }
main.icona-page .icona-contact .btn, main.icona-page .icona-projects .btn { margin: 6px; }
.icona-service .icona-features { max-width: 680px; }
.icona-projects .icona-features { max-width: 520px; }
/* Home page ICONA section */
.icona-home { padding: 90px 15px 100px; background: linear-gradient(180deg, #202020 0%, #2a2a2a 50%, #202020 100%); border-top: 1px solid rgba(176,210,66,.25); border-bottom: 1px solid rgba(176,210,66,.25); }
.icona-home__logo { display: block; width: 600px; max-width: 80%; height: auto; margin: 0 auto 30px; } /* 2.5x, was 240px (2026-11-19) */
.icona-home .title2 { margin-bottom: 20px; }
.icona-home__text { max-width: 720px; margin: 0 auto; font-size: 17px; line-height: 1.6; color: #ddd; }
.icona-home .icona-features { max-width: 680px; margin: 30px auto 34px; color: #fff; }
.icona-home .btn { margin: 6px; }
.icona-home { position: relative; z-index: 2; background-color: #202020; }
.icona-home .title2 { color: #e8e8e8; }
/* ICONA call bar (top of every page) */
.icona-bar { position: fixed; top: 0; left: 0; right: 0; height: 30px; z-index: 102; background: #0b0b0b; border-bottom: 1px solid rgba(176,210,66,.35); display: flex; align-items: center; justify-content: space-between; padding: 0 18px; font-size: 12px; letter-spacing: .3px; color: #ddd; }
.icona-bar a { color: #ddd; text-decoration: none; }
.icona-bar a:hover { color: #fff; }
.icona-bar strong { color: #b0d242; font-weight: 600; }
.icona-bar__contact { display: flex; gap: 18px; align-items: center; white-space: nowrap; }
.icona-bar__phone { color: #b0d242 !important; font-weight: 600; }
.icona-bar__phone svg { vertical-align: -1px; }
.icona-bar__short { display: none; }
body.has-icona-bar header.banner { top: 30px; }
@media (min-width: 1340px) { body.has-icona-bar .nav-primary { top: 30px; } }
@media (max-width: 991px) { .icona-bar__email { display: none; } }
@media (max-width: 767px) { .icona-bar__long { display: none; } .icona-bar__short { display: inline; } .icona-bar { padding: 0 12px; } }
/* Tagline under the Simple&Smart logo */
.banner .icona-tagline { position: absolute; left: 10px; top: 53px; font-size: 8.5px; letter-spacing: .25px; text-transform: uppercase; color: #ccc !important; text-decoration: none; white-space: nowrap; line-height: 1; }
.banner .icona-tagline:hover { color: #fff !important; }
.banner .icona-tagline img { height: 8px; width: auto; vertical-align: -1px; margin-left: 3px; display: inline-block; }
/* Tap-to-call button on phones */
.icona-call { display: none; }
@media (max-width: 767px) { .icona-call { display: flex; position: fixed; right: 16px; bottom: 16px; z-index: 103; width: 54px; height: 54px; border-radius: 50%; background: #b0d242; color: #1d1d1b; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(0,0,0,.45); } }
.banner .icona-tagline { text-shadow: 0 1px 3px rgba(0,0,0,.85), 0 0 8px rgba(0,0,0,.6); }
a.icona-call, a.icona-call:hover, a.icona-call:focus { color: #1d1d1b !important; }
/* Content starts below the call bar */
body.has-icona-bar main { margin-top: 30px; }
body.page-id-344 main > .block.testuale:first-child { padding-top: 90px; }   /* Downloads */
@media (max-width: 767px) { body.page-id-339 main > .block.testuale:first-child { padding-top: 70px; } } /* Contact us on phones */

/* Page not found (404.php, 2026-11-24) */
.ssnz-404 { padding: 150px 15px 90px; text-align: center; color: #fff; }
.ssnz-404 .title1 { font-size: 4em; font-weight: 200; margin: 0 0 20px; }
.ssnz-404__lead { font-size: 20px; font-weight: 300; margin: 0 0 30px; }
.ssnz-404__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 auto 30px; max-width: 900px; }
.ssnz-404__links .btn { margin: 0; }
.ssnz-404__contact { font-size: 17px; }
.ssnz-404__contact a { color: #c10eca; }
@media (max-width: 767px) { .ssnz-404 { padding-top: 110px; } .ssnz-404 .title1 { font-size: 2.6em; } }
