﻿/*
Theme Name: Nova Fashion
Theme URI: https://example.com/nova-fashion
Author: Custom
Description: Een modern, minimalistisch fashion-thema voor WooCommerce. Homepage met categorie-carrousel, bestsellers, promobanners, reviews en USP-balk.
Version: 1.1.3
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nova-fashion
Tags: e-commerce, woocommerce, fashion
*/

:root {
  --nf-bg: #ffffff;
  --nf-bg-soft: #f7f5f2;
  --nf-text: #1a1a1a;
  --nf-muted: #757575;
  --nf-accent: #d5714c;
  --nf-accent-dark: #b85a38;
  --nf-border: #e8e5e1;
  --nf-sale: #c0392b;
  --nf-radius: 8px;
  --nf-container: 1280px;
  --nf-font: "Jost", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--nf-font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--nf-text);
  background: var(--nf-bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--nf-accent); }

h1, h2, h3, h4 { font-weight: 500; line-height: 1.25; margin: 0 0 .5em; }
h1 { font-size: 44px; }
h2 { font-size: 32px; }
h3 { font-size: 22px; }

.nf-container {
  max-width: var(--nf-container);
  margin: 0 auto;
  padding: 0 20px;
}

.nf-btn,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  display: inline-block;
  background: var(--nf-accent);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 13px 34px;
  font-family: var(--nf-font);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s ease;
}
.nf-btn:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  background: var(--nf-accent-dark);
  color: #fff;
}
.nf-btn--dark { background: var(--nf-text); }
.nf-btn--dark:hover { background: var(--nf-accent); }
.nf-btn--outline {
  background: transparent;
  color: var(--nf-text);
  border: 1px solid var(--nf-text);
}
.nf-btn--light { background: #fff; color: var(--nf-text); }

/* ---------- Announcement bar ---------- */
.nf-announcement {
  background: var(--nf-accent);
  color: #fff;
  text-align: center;
  font-size: 13px;
  letter-spacing: .04em;
  padding: 9px 16px;
}
.nf-announcement a { color: #fff; text-decoration: underline; }

/* ---------- Top bar ---------- */
.nf-topbar {
  border-bottom: 1px solid var(--nf-border);
  font-size: 13px;
  color: var(--nf-muted);
}
.nf-topbar .nf-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
  gap: 16px;
}
.nf-topbar__socials { display: flex; gap: 18px; }

/* ---------- Header ---------- */
.nf-header { border-bottom: 1px solid var(--nf-border); background: #fff; }
.nf-header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-top: 18px;
  padding-bottom: 18px;
  gap: 20px;
}
.nf-logo { text-align: center; }
.nf-logo a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.nf-logo a:hover { color: var(--nf-text); }
.nf-logo__mark {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  border-radius: 50%;
  background: var(--nf-text);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: .04em;
}
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.nf-logo__mark span { color: var(--nf-accent); font-weight: 400; margin: 0 1px; }
.nf-logo__name {
  font-size: 23px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
}
.nf-logo__name .amp { color: var(--nf-accent); font-weight: 400; }
@media (max-width: 768px) {
  .nf-logo__name { font-size: 17px; letter-spacing: .1em; }
  .nf-logo__mark { width: 44px; height: 44px; flex-basis: 44px; font-size: 15px; }
}
.nf-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
}
.nf-nav a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.nf-header__actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 18px;
}
.nf-header__actions a { display: inline-flex; position: relative; }
.nf-header__actions svg { width: 22px; height: 22px; }
.nf-cart-count {
  position: absolute;
  top: -7px;
  right: -9px;
  background: var(--nf-accent);
  color: #fff;
  font-size: 11px;
  line-height: 1;
  min-width: 17px;
  height: 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 4px;
}
.nf-menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
}
.nf-menu-toggle svg { width: 26px; height: 26px; }

/* ---------- Hero ---------- */
.nf-hero {
  background: var(--nf-bg-soft);
  overflow: hidden;
}
.nf-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  min-height: 520px;
  padding-top: 40px;
  padding-bottom: 40px;
}
.nf-hero__kicker {
  font-size: 13px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--nf-accent);
  font-weight: 600;
  margin-bottom: 14px;
}
.nf-hero__title { font-size: 52px; font-weight: 500; margin-bottom: 18px; }
.nf-hero__text { color: var(--nf-muted); max-width: 460px; margin-bottom: 28px; }
.nf-hero__media {
  border-radius: var(--nf-radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, #e9ded4, #d8c6b8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--nf-muted);
  font-size: 14px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.nf-hero__media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Sections ---------- */
.nf-section { padding: 70px 0; }
.nf-section--soft { background: var(--nf-bg-soft); }
.nf-section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
}
.nf-section__head h2 { margin: 0; }
.nf-section__head h2::before {
  content: '';
  display: block;
  width: 44px;
  height: 3px;
  border-radius: 2px;
  background: var(--nf-accent);
  margin-bottom: 12px;
}
.nf-section__link { color: var(--nf-accent); }
.nf-section__link:hover { color: var(--nf-accent-dark); }
.nf-section__link {
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .06em;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

/* ---------- Category carousel ---------- */
.nf-cats {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  scrollbar-width: thin;
}
.nf-cat {
  flex: 0 0 210px;
  scroll-snap-align: start;
  text-align: center;
}
.nf-cat__img {
  aspect-ratio: 3 / 4;
  border-radius: var(--nf-radius);
  overflow: hidden;
  background: var(--nf-bg-soft);
  margin-bottom: 14px;
}
.nf-cat__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.nf-cat:hover .nf-cat__img img { transform: scale(1.05); }
.nf-cat h3 { font-size: 17px; margin-bottom: 2px; }
.nf-cat span { font-size: 13px; color: var(--nf-muted); }

/* ---------- Product grid ---------- */
.woocommerce ul.products { margin: 0; padding: 0; }
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--nf-font);
  font-size: 15px;
  font-weight: 400;
  padding-top: 12px;
}
.woocommerce ul.products li.product .price {
  color: var(--nf-text);
  font-size: 15px;
}
.woocommerce ul.products li.product .price del { color: var(--nf-muted); }
.woocommerce ul.products li.product .price ins { color: var(--nf-sale); text-decoration: none; }
.woocommerce ul.products li.product img {
  border-radius: var(--nf-radius);
  transition: opacity .25s ease;
}
.woocommerce ul.products li.product:hover img { opacity: .88; }
.woocommerce span.onsale {
  background: var(--nf-accent);
  border-radius: 4px;
  min-height: auto;
  min-width: auto;
  line-height: 1;
  padding: 6px 10px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* ---------- Promo banners ---------- */
.nf-promos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.nf-promo {
  position: relative;
  border-radius: var(--nf-radius);
  overflow: hidden;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  padding: 34px;
  color: #fff;
  background: linear-gradient(160deg, #8a7a6b, #4d4239);
}
.nf-promo--alt { background: linear-gradient(160deg, #7d8a83, #39443e); }
.nf-promo__content { position: relative; z-index: 1; max-width: 340px; }
.nf-promo__content h3 { color: #fff; font-size: 26px; }
.nf-promo__content p { margin: 0 0 18px; opacity: .85; font-size: 14px; }

/* ---------- USP bar ---------- */
.nf-usps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  text-align: center;
}
.nf-usp svg { width: 34px; height: 34px; margin: 0 auto 12px; display: block; color: var(--nf-accent); }
.nf-usp h4 { font-size: 16px; margin-bottom: 4px; }
.nf-usp p { font-size: 14px; color: var(--nf-muted); margin: 0; }

/* ---------- Reviews ---------- */
.nf-reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.nf-review {
  background: #fff;
  border: 1px solid var(--nf-border);
  border-radius: var(--nf-radius);
  padding: 28px;
}
.nf-review__stars { color: var(--nf-accent); letter-spacing: 3px; margin-bottom: 12px; }
.nf-review p { margin: 0 0 16px; font-size: 15px; }
.nf-review cite {
  font-style: normal;
  font-size: 13px;
  color: var(--nf-muted);
}
.nf-review cite strong { display: block; color: var(--nf-text); font-size: 14px; }

/* ---------- Newsletter ---------- */
.nf-newsletter { text-align: center; }
.nf-newsletter p { color: var(--nf-muted); max-width: 480px; margin: 0 auto 24px; }
.nf-newsletter form {
  display: flex;
  gap: 10px;
  max-width: 460px;
  margin: 0 auto;
}
.nf-newsletter input[type="email"] {
  flex: 1;
  border: 1px solid var(--nf-border);
  border-radius: 999px;
  padding: 12px 22px;
  font-family: var(--nf-font);
  font-size: 15px;
}

/* ---------- Footer ---------- */
.nf-footer {
  border-top: 1px solid var(--nf-border);
  background: var(--nf-bg-soft);
  padding: 60px 0 0;
  font-size: 14px;
}
.nf-footer__cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.nf-footer h4 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 16px;
  padding-bottom: 8px;
  position: relative;
}
.nf-footer h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  background: var(--nf-accent);
  border-radius: 2px;
}
.nf-footer ul { list-style: none; margin: 0; padding: 0; }
.nf-footer li { margin-bottom: 10px; }
.nf-footer a { color: var(--nf-muted); }
.nf-footer__bottom {
  border-top: 1px solid var(--nf-border);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--nf-muted);
  font-size: 13px;
  flex-wrap: wrap;
}

/* ---------- Shop / content pages ---------- */
.nf-page { padding: 50px 0 80px; }
.woocommerce-breadcrumb { font-size: 13px; color: var(--nf-muted); margin-bottom: 24px; }
.woocommerce-products-header__title.page-title { font-size: 34px; margin-bottom: 24px; }
.woocommerce .woocommerce-ordering select {
  border: 1px solid var(--nf-border);
  border-radius: 999px;
  padding: 8px 16px;
  font-family: var(--nf-font);
}
.woocommerce nav.woocommerce-pagination ul { border: none; }
.woocommerce nav.woocommerce-pagination ul li { border: none; }
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  border-radius: 999px;
  padding: 10px 16px;
}
.woocommerce nav.woocommerce-pagination ul li span.current {
  background: var(--nf-text);
  color: #fff;
}

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .nf-hero__title { font-size: 40px; }
  .nf-promos { grid-template-columns: 1fr; }
  .nf-usps { grid-template-columns: repeat(2, 1fr); }
  .nf-reviews { grid-template-columns: 1fr; }
  .nf-footer__cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nf-header__inner { grid-template-columns: auto 1fr auto; }
  .nf-menu-toggle { display: inline-flex; }
  .nf-nav {
    display: none;
    grid-column: 1 / -1;
  }
  .nf-nav.is-open { display: block; padding-bottom: 14px; }
  .nf-nav ul { flex-direction: column; gap: 12px; }
  .nf-hero__inner { grid-template-columns: 1fr; min-height: 0; }
  .nf-hero__title { font-size: 32px; }
  .nf-section { padding: 48px 0; }
  .nf-newsletter form { flex-direction: column; }
  .nf-topbar__socials { display: none; }
}













