/*
Theme Name:   Anina Luxe
Theme URI:    https://salonanina.nl
Description:  Luxe standalone thema voor Schoonheidssalon Anina. Geen parent — volledig eigen header, footer, templates en WooCommerce-wrapper.
Author:       Schoonheidssalon Anina
Version:      1.0.0
Requires at least: 5.0
Requires PHP: 7.2
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  anina
Tags:         custom-menu, featured-images, custom-logo, e-commerce, translation-ready
*/

/* ============================================================
   ANINA BASE — reset, typography, layout primitives
   (Header/footer/global luxury rules are appended below.)
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: #faf7f3;
  color: #1a1210;
  font-family: 'Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garant', Georgia, serif;
  color: #1a1210;
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 .5em;
}

p { margin: 0 0 1.2em; }

a { color: #1a1210; text-decoration: none; transition: color .2s; }
a:visited { color: inherit; }
a:hover { color: #b8935a; }

img, svg, video { max-width: 100%; height: auto; }

ul, ol { margin: 0 0 1.2em; padding-left: 1.4em; }

hr { border: none; border-top: 1px solid rgba(26,18,16,.12); margin: 2.5em 0; }

blockquote {
  margin: 1.5em 0;
  padding: .5em 0 .5em 1.5em;
  border-left: 2px solid #c8a97e;
  font-family: 'Cormorant Garant', Georgia, serif;
  font-size: 1.3em;
  font-style: italic;
  color: #6b5f5a;
}

/* ── Interior page container ─────────────────────────────── */
.anina-page {
  max-width: 820px;
  margin: 0 auto;
  padding: 72px 28px 96px;
}
.anina-page--center { text-align: center; }

.anina-page__head { margin-bottom: 40px; }
.anina-page__title {
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 600;
}
.anina-page__title span { color: #b8935a; }
.anina-page__meta {
  font-family: 'Raleway', sans-serif;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #6b5f5a;
}
.anina-page__hero-img { margin: 0 0 36px; }
.anina-page__body { font-size: 17px; }
.anina-page__body h2 { font-size: 30px; margin-top: 1.4em; }
.anina-page__body h3 { font-size: 23px; margin-top: 1.2em; }
.anina-page__body a { color: #b8935a; text-decoration: underline; text-underline-offset: 3px; }
.anina-page__body a:hover { color: #1a1210; }
.anina-page__empty { color: #6b5f5a; }

/* ── Post / search listing ───────────────────────────────── */
.anina-postlist {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 40px;
}
.anina-card__thumb { display: block; margin-bottom: 16px; overflow: hidden; }
.anina-card__thumb img { width: 100%; display: block; transition: transform .5s; }
.anina-card__thumb:hover img { transform: scale(1.04); }
.anina-card__title { font-size: 24px; margin-bottom: .3em; }
.anina-card__title a { color: #1a1210; }
.anina-card__title a:hover { color: #b8935a; }
.anina-card__excerpt { color: #6b5f5a; font-size: 15px; }
.anina-card__more {
  font-family: 'Raleway', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #b8935a;
}

/* Pagination */
.pagination, .nav-links {
  margin-top: 56px;
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}
.pagination .page-numbers, .nav-links .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px; height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(26,18,16,.18);
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  color: #1a1210;
}
.pagination .page-numbers.current, .nav-links .page-numbers.current {
  background: #1a1210; color: #fff; border-color: #1a1210;
}

/* ── Baseline buttons (template-blanco pages define their own) ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 30px;
  font-family: 'Raleway', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.btn--white   { background: #fff; border-color: #fff; color: #1a1210; }
.btn--white:hover { background: #c8a97e; border-color: #c8a97e; color: #fff; }
.btn--ghost   { background: transparent; border-color: rgba(255,255,255,.45); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn--dark    { background: #1a1210; border-color: #1a1210; color: #fff; }
.btn--outline { background: transparent; border-color: rgba(26,18,16,.22); color: #1a1210; }
.btn--outline:hover { background: #1a1210; border-color: #1a1210; color: #fff; }

/* ── Forms baseline ──────────────────────────────────────── */
input[type="text"], input[type="email"], input[type="url"], input[type="password"],
input[type="search"], input[type="number"], input[type="tel"], input[type="date"],
select, textarea {
  font-family: 'Raleway', sans-serif;
  font-size: 15px;
  color: #1a1210;
  background: #fff;
  border: 1px solid rgba(26,18,16,.2);
  border-radius: 0;
  padding: 12px 14px;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: #c8a97e; }

/* ── WooCommerce light touches (plugin CSS handles the rest) ── */
.anina-woo { max-width: 1200px; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce #respond input#submit, .woocommerce a.button.alt, .woocommerce button.button.alt,
.woocommerce a.button.add_to_cart_button {
  background: #c8a97e;
  color: #1a1210;
  border: 1px solid #c8a97e;
  border-radius: 0;
  font-family: 'Raleway', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 12px 22px;
  transition: background .2s, border-color .2s, color .2s;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
.woocommerce #respond input#submit:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover,
.woocommerce a.button.add_to_cart_button:hover {
  background: #1a1210;
  border-color: #1a1210;
  color: #fff;
}
/* Prices: refined dark ink, not gold */
.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price,
.woocommerce .woocommerce-Price-amount {
  color: #1a1210;
  font-weight: 600;
}
.woocommerce ul.products li.product .price del { color: #6b5f5a; font-weight: 400; }
.woocommerce ul.products li.product .price ins { text-decoration: none; }
.woocommerce .woocommerce-message, .woocommerce-info { border-top-color: #c8a97e; }
.woocommerce span.onsale { background: #1a1210; color: #fff; }

/* ============================================================
   (ANINA LUXURY header/footer/global appended below at deploy)
   ============================================================ */
/* ============================================================
   ANINA LUXURY — HEADER, FOOTER & GLOBAL
   ============================================================ */

/* Fonts loaded via wp_enqueue_style in functions.php */

:root {
  --ah: 72px;
  --ink: #1a1210;
  --ivory: #faf7f3;
  --champagne: #c8a97e;
  --gold: #b8935a;
  --line: rgba(26,18,16,.12);
  --serif: 'Cormorant Garant', Georgia, serif;
  --sans: 'Raleway', -apple-system, sans-serif;

  /* Beige chrome (header/footer/menus) — owner wants "less dark, more beige" */
  --chrome: #e7dccb;             /* beige surface */
  --chrome-deep: #ddcfb8;        /* scrolled / sub-surface */
  --on-chrome: #3a2e26;          /* brown text on chrome */
  --on-chrome-mute: rgba(58,46,38,.66);  /* muted nav/link text */
  --on-chrome-faint: rgba(58,46,38,.45); /* footer secondary text */
  --on-chrome-line: rgba(58,46,38,.14);  /* hairlines on chrome */
}

/* Body: push content below fixed header */
body { padding-top: var(--ah) !important; }
body.has-hero { padding-top: 0 !important; }

/* Hide zigcy page-title banner sitewide */
.store-mart-lite-bread-home { display: none !important; }

/* zigcy-lite forces a:visited { color: royalblue } — keep visited links on-brand.
   The base rule (loaded after the parent, wins the 0,1,1 tie) lets content text
   links inherit their colour. Self-coloured UI links/buttons get explicit
   :visited rules (0,2,0) so they keep their own colour instead of inheriting. */
a:visited { color: inherit; }
.anina-header__cta:visited   { color: var(--on-chrome); }
.anina-header__cart:visited  { color: var(--on-chrome-mute); }
.anina-mob-cta:visited       { color: var(--gold); }
.anina-footer__logo:visited  { color: var(--on-chrome); }
.btn--white:visited   { color: var(--ink); }
.btn--ghost:visited   { color: #fff; }
.btn--dark:visited    { color: #fff; }
.btn--outline:visited { color: var(--ink); }

/* ── HEADER ─────────────────────────────────────────────── */

.anina-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 99998; /* below WP admin bar (99999) */
  background: var(--chrome);
  border-bottom: 1px solid var(--on-chrome-line);
  transition: background .35s, box-shadow .35s;
}

/* Push header below the WP admin bar when logged in */
.admin-bar .anina-header {
  top: 32px !important;
}
@media screen and (max-width: 782px) {
  .admin-bar .anina-header {
    top: 46px !important;
  }
}
/* Solid beige header on hero pages too (keeps brown text readable everywhere) */
body.has-hero .anina-header {
  background: var(--chrome);
}
.anina-header.is-scrolled,
body.has-hero .anina-header.is-scrolled {
  background: var(--chrome);
  box-shadow: 0 1px 14px rgba(58,46,38,.10);
}

.anina-header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
  height: var(--ah);
}

/* Brand */
.anina-header__brand {
  flex-shrink: 0;
  text-decoration: none;
}
.anina-header__name {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--on-chrome);
  letter-spacing: .02em;
  line-height: 1.15;
}
.anina-header__brand .custom-logo,
.anina-header__brand img {
  max-height: 42px;
  width: auto;
  display: block;
}

/* Nav */
.anina-header__nav {
  flex: 1;
  display: flex;
  align-items: stretch;
  justify-content: center;
  min-width: 0;
  /* no overflow:hidden — would clip absolutely-positioned submenus */
}
.anina-nav-list {
  display: flex;
  align-items: stretch; /* li fills full header height → hover zone covers the gap to submenu */
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
  height: 100%;
}
.anina-nav-list > li {
  position: relative;
  display: flex;
  align-items: center; /* centre the link text within the tall li */
}
.anina-nav-list > li > a {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .11em;
  color: var(--on-chrome-mute);
  text-decoration: none;
  transition: color .2s;
  white-space: nowrap;
}
.anina-nav-list > li > a:hover,
.anina-nav-list > li.current-menu-item > a,
.anina-nav-list > li.current-menu-ancestor > a {
  color: var(--on-chrome);
}

/* Invisible bridge: extends the li's hover zone downward so the cursor
   never crosses a gap between the nav link and the submenu */
.anina-nav-list > li::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -24px;
  right: -24px;
  height: 32px; /* covers the space between header bottom and submenu top */
}

/* Dropdown — pure CSS :hover, works because ::after keeps hover alive across the gap */
.anina-nav-list .sub-menu {
  display: block;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 100%;
  left: -16px;
  min-width: 210px;
  background: var(--chrome-deep);
  border-top: 1px solid rgba(200,169,126,.6);
  box-shadow: 0 14px 30px rgba(58,46,38,.12);
  list-style: none;
  margin: 0;
  padding: 8px 0 6px;
  z-index: 100;
  transition: opacity .15s ease, visibility 0s linear .15s;
}
.anina-nav-list > li:hover > .sub-menu {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition: opacity .15s ease, visibility 0s;
}
.anina-nav-list .sub-menu li a {
  display: block;
  padding: 10px 20px;
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--on-chrome-mute);
  text-decoration: none;
  transition: color .15s, padding-left .15s;
}
.anina-nav-list .sub-menu li a:hover {
  color: var(--on-chrome);
  padding-left: 26px;
}

/* End actions */
.anina-header__end {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
  padding-right: 4px;
}
/* Hide cart icon when empty; WC fragment restores it on add-to-cart.
   Double class beats the single-class .anina-header__cart display rule below. */
.anina-header__cart.anina-header__cart--empty {
  display: none;
}
.anina-header__cart {
  position: relative;
  display: flex;
  align-items: center;
  color: var(--on-chrome-mute);
  text-decoration: none;
  transition: color .2s;
}
.anina-header__cart:hover { color: var(--on-chrome); }
.anina-header__cart-count {
  position: absolute;
  top: -7px; right: -10px;
  min-width: 16px; height: 16px;
  background: var(--champagne);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 800;
  line-height: 16px;
  text-align: center;
  border-radius: 8px;
  padding: 0 3px;
}
.anina-header__cta {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 20px;
  border: 1px solid rgba(58,46,38,.4);
  color: var(--on-chrome);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .18em;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s, border-color .2s, color .2s;
}
.anina-header__cta:hover {
  background: var(--on-chrome);
  border-color: var(--on-chrome);
  color: var(--chrome);
}

/* Search toggle */
.anina-header__search-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--on-chrome-mute);
  transition: color .2s;
}
.anina-header__search-toggle:hover,
.anina-header__search-toggle.is-open { color: var(--on-chrome); }

/* Search panel */
.anina-search-panel {
  display: none;
  background: var(--chrome-deep);
  border-top: 1px solid var(--on-chrome-line);
}
.anina-search-panel.is-open { display: block; }
.anina-search-form {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 720px;
  margin: 0 auto;
  padding: 22px 28px;
}
.anina-search-form__icon {
  flex-shrink: 0;
  color: var(--champagne);
}
/* High specificity to beat zigcy-lite's input[type="search"] (color #666, boxed border) */
.anina-search-form input.anina-search-form__input {
  flex: 1;
  min-width: 0;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(58,46,38,.25);
  border-radius: 0;
  padding: 8px 2px;
  color: var(--on-chrome);
  caret-color: var(--gold);
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  outline: none;
}
.anina-search-form input.anina-search-form__input::placeholder { color: rgba(58,46,38,.4); }
.anina-search-form input.anina-search-form__input:focus { border-bottom-color: var(--gold); color: var(--on-chrome); }
.anina-search-form__submit {
  flex-shrink: 0;
  background: none;
  border: 1px solid rgba(58,46,38,.4);
  color: var(--on-chrome);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .18em;
  padding: 11px 20px;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.anina-search-form__submit:hover {
  background: var(--on-chrome);
  border-color: var(--on-chrome);
  color: var(--chrome);
}

/* Hamburger */
.anina-header__toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 15px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.anina-header__bar {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--on-chrome);
  transition: transform .25s, opacity .25s;
}
.anina-header__toggle.is-open .anina-header__bar:nth-child(1) {
  transform: translateY(6.75px) rotate(45deg);
}
.anina-header__toggle.is-open .anina-header__bar:nth-child(2) {
  opacity: 0;
}
.anina-header__toggle.is-open .anina-header__bar:nth-child(3) {
  transform: translateY(-6.75px) rotate(-45deg);
}

/* Mobile menu */
.anina-mob-menu {
  display: none;
  background: var(--chrome);
  border-top: 1px solid var(--on-chrome-line);
  max-height: calc(100vh - var(--ah));
  overflow-y: auto;
}
.anina-mob-menu.is-open { display: block; }
.anina-mob-list {
  list-style: none;
  margin: 0;
  padding: 4px 0;
}
.anina-mob-list li a {
  display: block;
  padding: 15px 28px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--on-chrome-mute);
  text-decoration: none;
  border-bottom: 1px solid var(--on-chrome-line);
  transition: color .18s, padding-left .18s;
}
.anina-mob-list li a:hover { color: var(--on-chrome); padding-left: 36px; }
.anina-mob-list .sub-menu {
  list-style: none;
  margin: 0; padding: 0;
  background: rgba(58,46,38,.05);
}
.anina-mob-list .sub-menu li a {
  padding-left: 44px;
  font-size: 11px;
  color: var(--on-chrome-faint);
}
.anina-mob-menu__foot {
  padding: 20px 28px 28px;
  border-top: 1px solid var(--on-chrome-line);
}
.anina-mob-cta {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--gold);
  text-decoration: none;
  transition: color .2s;
}
.anina-mob-cta:hover { color: var(--on-chrome); }

/* ── FOOTER ─────────────────────────────────────────────── */

.anina-footer {
  background: var(--chrome);
  border-top: 1px solid var(--on-chrome-line);
  font-family: var(--sans);
}
.anina-footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 56px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 80px 32px 64px;
  border-bottom: 1px solid var(--on-chrome-line);
}

/* Brand column */
.anina-footer__brand {}
.anina-footer__logo {
  display: inline-block;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--on-chrome);
  text-decoration: none;
  letter-spacing: .01em;
  line-height: 1.2;
  margin-bottom: 28px;
}
.anina-footer__addr {
  font-style: normal;
  font-size: 14px;
  font-weight: 500;
  line-height: 2;
  color: var(--on-chrome-faint);
}
.anina-footer__addr p { margin: 0; }
.anina-footer__addr a {
  color: var(--on-chrome-mute);
  text-decoration: none;
  transition: color .2s;
}
.anina-footer__addr a:hover { color: var(--on-chrome); }

/* Nav columns */
.anina-footer__col {
  display: flex;
  flex-direction: column;
}
.anina-footer__label {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--champagne);
  margin: 0 0 22px;
}
.anina-footer__col a {
  font-size: 14px;
  font-weight: 500;
  color: var(--on-chrome-mute);
  text-decoration: none;
  padding: 7px 0;
  border-bottom: 1px solid var(--on-chrome-line);
  transition: color .18s;
}
.anina-footer__col a:last-child { border-bottom: none; }
.anina-footer__col a:hover { color: var(--on-chrome); }

/* Bottom bar */
.anina-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 22px 32px;
  font-size: 12px;
  font-weight: 500;
  color: var(--on-chrome-faint);
}
.anina-footer__sep { color: rgba(58,46,38,.3); }

/* ── BLANCO TEMPLATE — full width ───────────────────────── */

.page-template-template-blanco #content.site-content {
  padding: 0 !important;
  background: #faf7f3 !important;
}
.page-template-template-blanco #content.site-content > .container,
.page-template-template-blanco .sml-page-wrap,
.page-template-template-blanco .content-area,
.page-template-template-blanco .site-main,
.page-template-template-blanco .sml-single-page-wrapp,
.page-template-template-blanco .entry-content {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}
.page-template-template-blanco article.page { margin: 0 !important; }
.page-template-template-blanco .entry-content p { margin: 0; }

/* ── RESPONSIVE ─────────────────────────────────────────── */

@media (max-width: 1024px) {
  .anina-header__nav  { display: none; }
  .anina-header__cta  { display: none; }
  .anina-header__toggle { display: flex; }
}
@media (max-width: 768px) {
  .anina-footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    padding: 56px 24px 48px;
  }
  .anina-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  :root { --ah: 62px; }
  .anina-header__inner { padding: 0 20px; gap: 16px; }
  .anina-search-form { padding: 18px 20px; gap: 10px; }
  .anina-search-form__input { font-size: 18px; }
  .anina-search-form__submit { padding: 10px 14px; }
  .anina-footer__inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 48px 20px 40px;
  }
  .anina-footer__bottom { padding: 20px; }
}
