/*
Theme Name: Nurae Fabrics
Theme URI: https://nuraefabrics.com
Author: Nurae Fabrics
Author URI: https://nuraefabrics.com
Description: Custom luxury WordPress & WooCommerce theme for Nurae Fabrics — Elegance in Every Thread. Built around the Deep Teal (#075B59), Antique Gold (#C6A15B), Warm Ivory (#F5EFE3), Terracotta (#C77B65), and Charcoal (#292C32) brand board with Playfair Display and Montserrat typography.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: nurae-fabrics
Tags: e-commerce, woocommerce, fashion, luxury, custom-colors, custom-logo, custom-menu
*/

:root {
  --nf-teal: #075B59;
  --nf-teal-dark: #043D3C;
  --nf-gold: #C6A15B;
  --nf-gold-light: #DFC388;
  --nf-ivory: #F5EFE3;
  --nf-ivory-light: #FAF7F1;
  --nf-terracotta: #C77B65;
  --nf-charcoal: #292C32;
  --nf-muted: #5A5E66;
  --nf-border: rgba(198, 161, 91, 0.28);
  --nf-font-heading: 'Playfair Display', Georgia, serif;
  --nf-font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --nf-radius: 6px;
  --nf-shadow: 0 12px 32px rgba(7, 91, 89, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--nf-font-body);
  font-size: 15px;
  line-height: 1.65;
  color: var(--nf-charcoal);
  background-color: var(--nf-ivory);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--nf-teal);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: var(--nf-gold);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--nf-font-heading);
  color: var(--nf-teal-dark);
  line-height: 1.2;
  margin-top: 0;
  font-weight: 600;
}

.nf-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Announcement Bar */
.nf-announcement {
  background-color: var(--nf-teal-dark);
  color: var(--nf-ivory);
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 9px 16px;
  border-bottom: 1px solid var(--nf-gold);
}

.nf-announcement span {
  color: var(--nf-gold-light);
}

/* Header */
.nf-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(245, 239, 227, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--nf-border);
}

.nf-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
}

.nf-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nf-brand img {
  height: 54px;
  width: 54px;
  object-fit: contain;
  border-radius: 50%;
}

.nf-brand-text {
  display: flex;
  flex-direction: column;
}

.nf-brand-name {
  font-family: var(--nf-font-heading);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--nf-teal);
  line-height: 1.1;
}

.nf-brand-tagline {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--nf-gold);
  margin-top: 2px;
  white-space: nowrap;
}

.nf-nav ul {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}

.nf-nav a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--nf-charcoal);
  white-space: nowrap;
  display: inline-block;
}

.nf-nav a:hover,
.nf-nav .current-menu-item > a {
  color: var(--nf-teal);
}

.nf-header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nf-icon-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--nf-charcoal);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nf-cart-badge {
  background-color: var(--nf-teal);
  color: var(--nf-ivory);
  font-size: 11px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 999px;
}

.nf-menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--nf-border);
  color: var(--nf-teal);
  padding: 8px 12px;
  border-radius: var(--nf-radius);
  cursor: pointer;
  font-size: 16px;
}

/* Buttons */
.nf-btn {
  display: inline-block;
  font-family: var(--nf-font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 14px 30px;
  border-radius: 3px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
}

.nf-btn-primary {
  background-color: var(--nf-teal);
  color: var(--nf-ivory);
  border-color: var(--nf-teal);
}

.nf-btn-primary:hover {
  background-color: var(--nf-teal-dark);
  color: var(--nf-gold-light);
}

.nf-btn-gold {
  background-color: var(--nf-gold);
  color: var(--nf-teal-dark);
}

.nf-btn-gold:hover {
  background-color: var(--nf-gold-light);
  color: var(--nf-teal-dark);
}

.nf-btn-outline {
  background-color: transparent;
  color: var(--nf-teal);
  border-color: var(--nf-teal);
}

.nf-btn-outline:hover {
  background-color: var(--nf-teal);
  color: var(--nf-ivory);
}

/* Hero Section */
.nf-hero {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  background-color: var(--nf-teal-dark);
  overflow: hidden;
}

.nf-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.nf-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(245, 239, 227, 0.94) 0%, rgba(245, 239, 227, 0.82) 38%, rgba(245, 239, 227, 0.12) 72%, rgba(7, 91, 89, 0.15) 100%);
}

.nf-hero-content {
  position: relative;
  z-index: 2;
  max-width: 540px;
  padding: 64px 0;
}

.nf-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--nf-terracotta);
  margin-bottom: 12px;
  display: block;
}

.nf-hero h1 {
  font-size: clamp(36px, 4.5vw, 56px);
  color: var(--nf-teal-dark);
  margin-bottom: 18px;
}

.nf-hero p {
  font-size: 16px;
  color: var(--nf-charcoal);
  margin-bottom: 28px;
}

.nf-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Brand Vibe Strip */
.nf-vibe-strip {
  background-color: var(--nf-teal);
  color: var(--nf-ivory);
  padding: 28px 0;
  border-top: 1px solid var(--nf-gold);
  border-bottom: 1px solid var(--nf-gold);
}

.nf-vibe-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.nf-vibe-item strong {
  display: block;
  font-family: var(--nf-font-heading);
  font-size: 17px;
  color: var(--nf-gold-light);
  margin-bottom: 4px;
}

.nf-vibe-item span {
  font-size: 12px;
  letter-spacing: 0.06em;
  opacity: 0.9;
}

/* Sections */
.nf-section {
  padding: 72px 0;
}

.nf-section-alt {
  background-color: var(--nf-ivory-light);
}

.nf-section-header {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 44px;
}

.nf-section-header h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  margin-bottom: 12px;
}

.nf-section-header p {
  color: var(--nf-muted);
  margin: 0;
}

/* Seasonal Grid */
.nf-seasons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.nf-season-card {
  background-color: #fff;
  border: 1px solid var(--nf-border);
  border-radius: var(--nf-radius);
  padding: 28px 22px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.nf-season-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--nf-shadow);
  border-color: var(--nf-gold);
}

.nf-season-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--nf-terracotta);
  margin-bottom: 8px;
}

.nf-season-card h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.nf-season-card p {
  font-size: 13px;
  color: var(--nf-muted);
  margin-bottom: 16px;
}

/* Campaign Split Banner */
.nf-campaign-banner {
  position: relative;
  border-radius: var(--nf-radius);
  overflow: hidden;
  border: 1px solid var(--nf-border);
  background-color: var(--nf-ivory-light);
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  align-items: center;
}

.nf-campaign-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 360px;
}

.nf-campaign-body {
  padding: 48px 42px;
}

.nf-campaign-body h2 {
  font-size: 32px;
  margin-bottom: 14px;
}

/* Lookbook Duo */
.nf-lookbook-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.nf-lookbook-card {
  position: relative;
  border-radius: var(--nf-radius);
  overflow: hidden;
  border: 1px solid var(--nf-border);
  background: #fff;
}

.nf-lookbook-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.nf-lookbook-caption {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* WooCommerce Overrides */
.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 0;
  padding: 0;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
  display: none !important;
}

.woocommerce ul.products li.product {
  width: 100% !important;
  margin: 0 !important;
  background: #fff;
  border: 1px solid var(--nf-border);
  border-radius: var(--nf-radius);
  padding: 14px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s ease;
}

.woocommerce ul.products li.product:hover {
  box-shadow: var(--nf-shadow);
  border-color: var(--nf-gold);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--nf-font-heading);
  font-size: 17px;
  color: var(--nf-teal-dark);
}

.woocommerce ul.products li.product .price {
  color: var(--nf-terracotta);
  font-weight: 600;
  font-size: 14px;
}

.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  background-color: var(--nf-teal) !important;
  color: var(--nf-ivory) !important;
  font-family: var(--nf-font-body) !important;
  font-size: 11px !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  padding: 11px 18px !important;
  border-radius: 3px !important;
}

.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  background-color: var(--nf-teal-dark) !important;
  color: var(--nf-gold-light) !important;
}

.woocommerce span.onsale {
  background-color: var(--nf-terracotta) !important;
  color: #fff !important;
}

/* Newsletter */
.nf-newsletter {
  background-color: var(--nf-teal);
  color: var(--nf-ivory);
  text-align: center;
  padding: 64px 24px;
  border-top: 2px solid var(--nf-gold);
}

.nf-newsletter h2 {
  color: var(--nf-gold-light);
  font-size: 34px;
  margin-bottom: 10px;
}

.nf-newsletter p {
  max-width: 540px;
  margin: 0 auto 24px;
  opacity: 0.92;
}

.nf-newsletter-form {
  display: flex;
  justify-content: center;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto;
}

.nf-newsletter-form input[type="email"] {
  flex: 1;
  padding: 13px 16px;
  border: 1px solid var(--nf-gold);
  border-radius: 3px;
  background: var(--nf-ivory);
  color: var(--nf-charcoal);
  font-family: var(--nf-font-body);
}

/* Footer */
.nf-footer {
  background-color: var(--nf-teal-dark);
  color: var(--nf-ivory);
  padding: 60px 0 28px;
}

.nf-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(198, 161, 91, 0.25);
}

.nf-footer h4 {
  font-family: var(--nf-font-heading);
  color: var(--nf-gold-light);
  font-size: 16px;
  margin-bottom: 14px;
}

.nf-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nf-footer li {
  margin-bottom: 8px;
  font-size: 13px;
}

.nf-footer a {
  color: rgba(245, 239, 227, 0.86);
}

.nf-footer a:hover {
  color: var(--nf-gold-light);
}

.nf-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 24px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(245, 239, 227, 0.78);
}

/* Floating WhatsApp Button */
.nf-whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 99;
  background-color: var(--nf-teal);
  color: var(--nf-ivory);
  border: 1px solid var(--nf-gold);
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(4, 61, 60, 0.28);
}

.nf-whatsapp-float:hover {
  background-color: var(--nf-gold);
  color: var(--nf-teal-dark);
}

/* Page & Single Content */
.nf-page-wrap {
  padding: 56px 0;
  min-height: 55vh;
}

.nf-page-card {
  background: #fff;
  border: 1px solid var(--nf-border);
  border-radius: var(--nf-radius);
  padding: 40px;
}

/* Responsive */
@media (max-width: 992px) {
  .nf-seasons-grid,
  .nf-vibe-grid,
  .woocommerce ul.products {
    grid-template-columns: repeat(2, 1fr);
  }
  .nf-campaign-banner {
    grid-template-columns: 1fr;
  }
  .nf-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nf-menu-toggle {
    display: inline-block;
  }
  .nf-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--nf-ivory);
    border-bottom: 1px solid var(--nf-border);
    padding: 18px 24px;
  }
  .nf-nav.is-open {
    display: block;
  }
  .nf-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .nf-lookbook-grid,
  .nf-seasons-grid,
  .nf-vibe-grid,
  .nf-footer-grid,
  .woocommerce ul.products {
    grid-template-columns: 1fr;
  }
  .nf-newsletter-form {
    flex-direction: column;
  }
  .nf-hero-overlay {
    background: rgba(245, 239, 227, 0.88);
  }
}

/* Image-only Seasonal Category Cards */
.nf-season-image-card {
  position: relative;
  display: block;
  border-radius: var(--nf-radius);
  overflow: hidden;
  border: 1px solid var(--nf-border);
  background-color: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.nf-season-image-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--nf-shadow);
  border-color: var(--nf-gold);
}

.nf-season-image-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.nf-season-image-caption {
  padding: 18px 16px;
  text-align: center;
  background-color: #fff;
  border-top: 1px solid var(--nf-border);
}

.nf-season-image-caption .nf-season-tag {
  margin-bottom: 4px;
}

.nf-season-image-caption h3 {
  font-size: 22px;
  margin: 0;
  color: var(--nf-teal-dark);
}
