/*
 * Skinova additions to the Viasun template CSS. Loaded after libs.min.css and main.css.
 * Rule: only what the template cannot express with Skinova's content (her logo, bag count, sold-out state,
 * real-data image shapes, honest form notes). No new look. Keep every rule commented with why it exists.
 */

/* Logo: direction 02 Refined (public/brand), inlined by Logo.tsx. The letters and the dot read --logo-ink and --logo-dot,
   so a tone or theme only swaps two colours (dark theme: dark-tweaks.css). The light tone, for photos and the dark menu
   panel, has cream letters and keeps the orange dot (29-Oct-2026). Header, footer and homepage hero carry the compact
   lockup (one S, KINOVA above the dot; Naila 29-Oct-2026). 150px keeps KINOVA's caps near 16px, so its hairlines hold. */
.logo { display: inline-block; flex-shrink: 0; line-height: 0; --logo-ink: #547062; --logo-dot: #EB5A31; --logo-tag: #222; }
.logo--light { --logo-ink: #FCF9F8; }
.logo__ink { fill: var(--logo-ink); }
.logo__dot { fill: var(--logo-dot); }
.logo__tag { fill: var(--logo-tag); }
.logo__art { display: block; max-width: none; height: auto; }
.logo__art--horizontal { width: 180px; }
.logo__art--compact { width: 150px; }
.logo--big .logo__art { width: 240px; }
.logo__art--monogram { display: none; width: auto; height: 40px; }
.logo:hover { text-decoration: none; }
.section-hero__logo { display: block; margin: 0 auto 30px; }
.section-hero__logo .logo__art--stacked { width: 300px; margin: 0 auto; }
.section-hero__logo .logo__art--compact { width: 440px; margin: 0 auto; }
.section-hero__logo--img { width: 240px; height: auto; } /* error page: a shorter hero than home's */
@media (max-width: 639px) { .logo--big .logo__art { width: 200px; } .section-hero__logo { margin-bottom: 20px; } .section-hero__logo .logo__art--stacked { width: 190px; } .section-hero__logo .logo__art--compact { width: 260px; } .section-hero__logo--img { width: 150px; } }
/* Home hero (04-Nov-2026): a people-free still life. From 960px the subject sits on the right and the logo and title sit left
   of it on the wall, clear of the stone ledge. Below 960px a portrait photo has its subject low, so the stack moves to the top.
   The image fills the 700px hero on phones, where the template left a cream strip under it. */
.section-home .section-hero__bg picture { display: contents; }
.section-home .section-hero__bg img { min-height: 700px; object-position: 50% 58%; }
.section-home .section-hero__title { text-wrap: balance; }
@media (max-width: 959px) {
  /* A fixed height: left to itself the portrait photo would stretch the hero to the full screen on a tablet. */
  .section-home .section-hero__bg img { height: 700px; }
  .section-home .section-hero__content { justify-content: flex-start; padding-top: 104px; }
  .section-home .section-hero__logo .logo__art--compact { width: min(240px, 62vw); }
}
@media (min-width: 960px) {
  .section-home .section-hero__bg img { object-position: 100% 50%; }
  /* Sides: the header's inset. Top and bottom: the overlay header and the photo strip that overlaps the hero's foot
     (both measured 960-1920px), so the stack centres in the open wall between them. */
  .section-home .section-hero__content { align-items: flex-start; padding: calc(72px + 5.8vw) 7.8125vw min(16vw, 268px); text-align: left; }
  .section-home .section-hero__logo { margin: 0 0 24px; }
  .section-home .section-hero__logo .logo__art--compact { width: min(320px, 21vw); margin: 0; }
  /* balanced into two lines when it wraps: "Hello, / good mood", "Bonjour la / bonne humeur" */
  .section-home .section-hero__title { max-width: min(7.6em, 52%); font-size: clamp(56px, 5.6vw, 110px); }
}
/* Under 1280px the photo is cropped from the left, so the title wraps to stay clear of the fruit. */
@media (min-width: 960px) and (max-width: 1279px) {
  .section-home .section-hero__title { max-width: 5.2em; font-size: clamp(44px, 4.6vw, 56px); }
  .section-home .section-hero__logo .logo__art--compact { width: 200px; }
}
/* Brand, concern and ingredient heroes (30-Oct-2026): each photo has a model right of centre, on brand pages holding that
   brand's product. A soft shadow keeps a long name legible where it crosses the product; phones crop to the model, not the wall. */
.section-hero--model .section-hero__title, .section-hero--model .section-hero__subtitle { text-shadow: 0 2px 24px rgba(40, 20, 10, 0.35); }
@media (max-width: 639px) { .section-hero--model .section-hero__bg img { object-position: 72% 50%; } }

/* Styleguide logo sheet: each brand file on its own ground, so the tile colour is the file's, not the theme's. */
.logo-sheet__tile { display: flex; align-items: center; justify-content: center; height: 150px; padding: 24px; box-shadow: inset 0 0 0 1px #E7D7D2; }
.logo-sheet__tile img { max-width: 100%; max-height: 100%; }
.logo-sheet__name { margin-top: 6px; font-size: 13px; color: #6b6b6b; }

/* Header bag: the template's cart icon has no count; a bag needs one. Uses the template's accent. */
.header-cart .uk-button-icon { position: relative; }
.header-cart__count { position: absolute; top: -6px; right: -10px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: #EB5A31; color: #fff; font: 600 11px/18px "Fauna One", sans-serif; text-align: center; }
.header-cart [data-uk-drop] .uk-card { min-width: 300px; }

/* Product cards: real packshots vary in shape, the template's demo PNGs were all square on transparent. */
.product-card__link { display: block; width: 100%; }
.product-card__img { height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
.product-card__img.is-contain { object-fit: contain; }
.product-card__price-old { margin-left: .6em; color: #999; font-size: .85em; }
.product-card__badge { z-index: 1; }

/* Social icons without a handle yet: keep the template's row, show it is not a link. */
.social a[aria-disabled="true"] { cursor: default; }

/* Form notes for forms with no backend yet. */
.section-newsletter__note { margin-top: 15px; font-size: 15px; }

/* Template's own hidden-label helper is uk-hidden (display none); labels must stay in the accessibility tree. */
label.uk-hidden { display: block !important; position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Skip link, kept from the old layout for keyboard users. */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 1000; padding: 10px 16px; background: #222; color: #fff; }
.skip-link:focus { left: 10px; top: 10px; }

/* Menu button: the template points at icon_menu-btn(.svg|-dark.svg), which are missing from the package; UIkit's menu icon stands in, coloured like the nav. */
.menu-btn { color: #fff; }
.page-header--static .menu-btn { color: #222; }
.menu-btn:hover { color: #EB5A31; }

/*
 * Contrast (WCAG 2.2 AA). The template's accent #EB5A31 is 3.2:1 on its cream #F8F2F0, so as small text it fails.
 * Sanctioned fix for every session: accent TEXT under 24px on a light background uses #C4421B (4.6:1). Accent fills,
 * large type and decoration keep #EB5A31. Add selectors here only when axe flags them.
 */
.page-header.page-header--static .page-nav .uk-navbar-nav > li.uk-active > a,
.page-header.page-header--static .page-nav .uk-navbar-nav > li > a:hover,
.uk-navbar-dropdown-nav > li.uk-active > a { color: #C4421B; opacity: 1; } /* main.css also dims the active link to .8 */

/* Session F: the danger button is accent fill with 16-20px white text, 3.2:1 on #EB5A31; #C4421B is 4.6:1. Hover stays the template's #222. */
.uk-button-danger:not(:hover):not(:focus):not(:active) { border-color: #C4421B; background-color: #C4421B; }

/* Session F: template 11's style-bg header sits on the cream band, where the static-header shade is still too light for small nav text. */
.page-header.page-header-style-bg .page-nav .uk-navbar-nav > li.uk-active > a,
.page-header.page-header-style-bg .page-nav .uk-navbar-nav > li > a:hover { color: #B33A16; opacity: 1; }

/* Session F, from Session B: card contrast on every page. The template's sale green #61c00d and stock blue fail with white
   text; darkest shades of the same hues. Struck-out price #999 on #fcf9f8 fails; #6b6b6b passes. */
.product-card .product-card__badge.sale { background-color: #3d7a08; }
.product-card .product-card__badge.stock { background-color: #1565c8; }
.product-card .product-card__price-old { color: #6b6b6b; }

/* Session F, from Session A: prefers-reduced-motion site-wide. The template's entrance animations (UIkit scrollspy, the
   orange image reveal) and the quote parallax play regardless of the setting; this shows everything in place. */
@media (prefers-reduced-motion: reduce) {
  [class*="uk-animation-"] { animation: none !important; }
  [data-uk-scrollspy] > *, .uk-scrollspy-inview { opacity: 1 !important; }
  .img-animate, .img-animate._active { opacity: 1; transform: none; animation: none; }
  .img-animate._active::before { display: none; }
  [data-uk-slideshow-parallax] { transform: none !important; }
}

/* Session F: UIkit's alert close icon is 14px; WCAG 2.2 AA wants a 24px target (axe target-size). Used by the language offer bar. */
.uk-alert .uk-alert-close { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; min-height: 24px; }

/* Session F: French menu labels are longer ("À propos"); keep each top-level item on one line as the template's English ones are. */
.page-nav .uk-navbar-nav > li > a { white-space: nowrap; }
/* Session F: between 960 and 1199px the overlay header's inline menu pushes the bag and account icons off-screen
   (English too). The template already hides the menu below 1200px on its static header; do the same on every header,
   the menu button opens the offcanvas. From 1200 to 1365px the French menu, ~120px wider, gets tighter spacing. */
@media (max-width: 1199px) {
  .page-header .page-header__menu { display: none; }
}
@media (min-width: 1200px) and (max-width: 1365px) {
  html[lang="fr-CA"] .page-nav .uk-navbar-nav > li > a { padding: 0 10px; font-size: 16px; }
}
/* Session F (performance): the template lists .woff before .woff2, so browsers fetch the larger file (Cormorant ~172 KB a weight).
   These faces load Latin-only woff2 subsets (~50 KB; French accents, « », œ and € included) made with pyftsubset from the
   template files. Declared later with a unicode-range, they win for those characters; the template faces in main.css
   remain the fallback for anything outside the range. Same family, weights, styles and font-display as main.css. */
@font-face { font-family: "Fauna One"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/latin/FaunaOne-Regular.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant"; font-style: normal; font-weight: 200; font-display: swap; src: url("../fonts/latin/Cormorant-Light.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant"; font-style: italic; font-weight: 200; font-display: swap; src: url("../fonts/latin/Cormorant-LightItalic.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/latin/Cormorant-Regular.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/latin/Cormorant-Italic.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/latin/Cormorant-Medium.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant"; font-style: italic; font-weight: 500; font-display: swap; src: url("../fonts/latin/Cormorant-MediumItalic.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/latin/Cormorant-SemiBold.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant"; font-style: italic; font-weight: 600; font-display: swap; src: url("../fonts/latin/Cormorant-SemiBoldItalic.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/latin/Cormorant-Bold.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant"; font-style: italic; font-weight: 700; font-display: swap; src: url("../fonts/latin/Cormorant-BoldItalic.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Session F (keyboard): the template reveals a card's Add to cart / zoom buttons on :hover and :focus, but the card
   itself never takes focus, so the hidden buttons were unreachable by keyboard. Same reveal on :focus-within. */
.product-card:focus-within .product-card__box { -webkit-box-shadow: 0 5px 32px rgba(0, 0, 0, 0.1); background-color: #ffffff; box-shadow: 0 5px 32px rgba(0, 0, 0, 0.1); }
.product-card:focus-within .product-card__btns,
.product-card:has([data-lightbox-opener]) .product-card__btns { visibility: visible; right: 25px; width: auto; height: auto; opacity: 1; }

/* Theme toggle: a <button> in the header's icon row (the template's icons are links), so it drops the browser's button chrome. */
.theme-toggle { border: 0; padding: 0; font: inherit; cursor: pointer; }
/* The header copy shows only where the row has room: not on phones, and not from 960px to 1439px, where the full menu
   and four icons overflow (French by 43px at 1366). The off-canvas menu, reachable at every width, always carries it. */
@media (max-width: 639px), (min-width: 960px) and (max-width: 1439px) { .page-header__btns-shop .theme-toggle { display: none; } }
/* The menu copy of the toggle: icon and label, set like the off-canvas language links. */
.theme-toggle--menu { display: inline-flex; align-items: center; gap: 10px; margin-top: 10px; background: none; color: rgba(255, 255, 255, 0.7); font-family: Cormorant, serif; font-size: 22px; }
.theme-toggle--menu:hover, .theme-toggle--menu[aria-pressed="true"] { color: #fff; }

/* Phones: the logo plus three header icons left no room for the menu button (0px wide at 375px, so the menu could
   not be opened). The S. monogram stands in for the logo and the icons tighten below 640px, and the menu button never shrinks. */
.menu-btn { flex-shrink: 0; }
/* The theme toggle is a fourth header icon; with French's longer menu labels the row overflowed 1440px by 11px. The gap
   before the menu button gives the room back (template: 40px). The logo at its 180px minimum took 17px more (29-Oct). */
@media (min-width: 640px) { .page-header__btns-shop { margin-right: 8px; } }
@media (max-width: 639px) {
  .page-header .logo__art--horizontal, .page-header .logo__art--compact { display: none; }
  .page-header .logo__art--monogram { display: block; }
  .page-header__btns-shop { margin-right: 12px; margin-left: 10px; }
  .page-header__btns-shop .uk-button-icon { width: 36px; height: 36px; }
  .page-header__btns-shop > * + * { margin-left: 6px; }
}

/* Home sale band (SaleBanner.tsx, 30-Oct-2026): Naila asked for a sale banner on the home page and the template has none.
   Built from the hero's own pieces: a full-bleed photo with Cormorant italic over it, left-aligned so the models on the
   photo's right stay clear. White on the coral photo passes 3:1 only as large text, so every line is 24px or more.
   The button is white: the template's orange one would sit on an orange-red ground. */
.section-sale { position: relative; overflow: hidden; background: #E2553F; }
.section-sale__bg img { display: block; width: 100%; height: 100%; min-height: 480px; max-height: 720px; object-fit: cover; object-position: 70% center; }
.section-sale__content { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; color: #fff; }
.section-sale__content > * { margin: 0; }
.section-sale__kicker { font-family: Cormorant; font-size: 36px; font-style: italic; line-height: 1.2; }
.section-sale__title { color: #fff; font-family: Cormorant; font-size: 110px; font-style: italic; font-weight: 500; letter-spacing: -0.025em; line-height: 1; }
.section-sale__text { max-width: 30ch; margin-top: 16px; font-size: 24px; line-height: 1.4; }
.section-sale .section-sale__cta { margin-top: 36px; border-color: #fff; background: #fff; color: #222; }
.section-sale .section-sale__cta:hover { border-color: #222; background: #222; color: #fff; }
@media (max-width: 959px) { .section-sale__title { font-size: 72px; } }
/* Phones: the models move out of frame and a scrim keeps the text on one even colour. */
@media (max-width: 639px) {
  .section-sale__bg img { min-height: 440px; object-position: 85% center; }
  .section-sale__bg::after { content: ""; position: absolute; inset: 0; background: rgba(170, 52, 34, 0.45); }
  .section-sale__content { z-index: 1; }
  .section-sale__kicker { font-size: 28px; }
  .section-sale__title { font-size: 56px; }
}

/* Policy links under the copyright line (Footer.tsx; the pages read her Shopify policies). Colours follow the line above,
   so the dark theme needs nothing extra. */
.page-footer__bottom .copy__policies { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 8px 0 0; padding: 0; list-style: none; font-size: .875em; }
.page-footer__bottom .copy__policies a { color: inherit; text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 4px; }
.page-footer__bottom .copy__policies a:hover { text-decoration-color: currentColor; }
@media only screen and (max-width: 479px) { .page-footer__bottom .copy__policies { justify-content: center; } }

/* Newsletter form panel. The template put its blurred palm photo here (bg_newsletter.jpg, licensed for preview only); a plain
   panel in the same dark tone replaces it, with a soft terracotta glow where the leaves were. Same in both themes. */
.section-newsletter__form { background-color: #1d1311; background-image: radial-gradient(110% 85% at 0% 65%, rgba(196, 66, 27, .32) 0%, rgba(196, 66, 27, 0) 60%); }
