/*
Theme Name: Nắng Nhỏ
Theme URI: https://nangnho.khanhnn.com
Author: Bytesoft
Author URI: https://bytesoft.vn
Description: Theme WordPress tùy chỉnh cho Nắng Nhỏ - Korea Style for Kids. Thiết kế Warm Minimalist Boutique với phong cách Hàn Quốc đương đại dành cho thời trang trẻ em.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nangnho
Tags: e-commerce, children, korean-style, minimalist, custom-logo, custom-menu
*/

/* ============================================
   DESIGN TOKENS - Warm Minimalist Boutique
   ============================================ */
:root {
  /* Primary Colors */
  --nn-primary: #442a22;
  --nn-primary-container: #5d4037;
  --nn-on-primary: #ffffff;
  --nn-on-primary-container: #d4ada1;
  --nn-primary-fixed: #ffdbd0;
  --nn-primary-fixed-dim: #e7bdb1;

  /* Secondary Colors */
  --nn-secondary: #615e57;
  --nn-secondary-container: #e7e2d8;
  --nn-on-secondary: #ffffff;
  --nn-on-secondary-container: #67645c;

  /* Tertiary Colors */
  --nn-tertiary: #4d2517;
  --nn-tertiary-container: #683b2b;
  --nn-on-tertiary: #ffffff;
  --nn-on-tertiary-container: #e5a791;
  --nn-tertiary-fixed: #ffdbcf;
  --nn-tertiary-fixed-dim: #f8b7a2;

  /* Surface Colors */
  --nn-surface: #f9f9f9;
  --nn-surface-dim: #dadada;
  --nn-surface-bright: #f9f9f9;
  --nn-surface-container: #eeeeee;
  --nn-surface-container-low: #f3f3f4;
  --nn-surface-container-high: #e8e8e8;
  --nn-surface-container-highest: #e2e2e2;
  --nn-surface-container-lowest: #ffffff;
  --nn-surface-variant: #e2e2e2;
  --nn-surface-tint: #77574d;

  /* Content Colors */
  --nn-on-surface: #1a1c1c;
  --nn-on-surface-variant: #504441;
  --nn-background: #f9f9f9;
  --nn-on-background: #1a1c1c;

  /* Outline */
  --nn-outline: #827470;
  --nn-outline-variant: #d4c3be;

  /* Inverse */
  --nn-inverse-surface: #2f3131;
  --nn-inverse-on-surface: #f0f1f1;
  --nn-inverse-primary: #e7bdb1;

  /* Error */
  --nn-error: #ba1a1a;
  --nn-on-error: #ffffff;
  --nn-error-container: #ffdad6;

  /* Typography */
  --nn-font-headline: 'Montserrat', sans-serif;
  --nn-font-body: 'Quicksand', sans-serif;

  /* Spacing */
  --nn-space-xs: 4px;
  --nn-space-sm: 12px;
  --nn-space-base: 8px;
  --nn-space-md: 24px;
  --nn-space-lg: 48px;
  --nn-space-xl: 80px;
  --nn-gutter: 24px;
  --nn-margin-desktop: 64px;
  --nn-margin-mobile: 16px;
  --nn-max-width: 1280px;

  /* Border Radius */
  --nn-radius-sm: 0.25rem;
  --nn-radius: 0.5rem;
  --nn-radius-md: 0.75rem;
  --nn-radius-lg: 1rem;
  --nn-radius-xl: 1.5rem;
  --nn-radius-full: 9999px;

  /* Shadows */
  --nn-shadow-sm: 0 1px 3px rgba(93, 64, 55, 0.05);
  --nn-shadow: 0 4px 12px rgba(93, 64, 55, 0.06);
  --nn-shadow-lg: 0 8px 24px rgba(93, 64, 55, 0.08);
  --nn-shadow-xl: 0 16px 40px rgba(93, 64, 55, 0.1);

  /* Transitions */
  --nn-transition: 300ms ease;
  --nn-transition-slow: 700ms ease;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--nn-font-body) !important;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--nn-on-surface);
  background-color: var(--nn-background);
  overflow-x: hidden;
}

/* ============================================
   WORDPRESS OVERRIDES
   ============================================ */
body,
.wp-site-blocks,
.wp-block-post-content {
  font-family: var(--nn-font-body) !important;
}

h1, h2, h3, h4, h5, h6,
.wp-block-heading {
  font-family: var(--nn-font-headline) !important;
  color: var(--nn-primary);
}

/* Remove WP default body margin/padding */
.wp-site-blocks > * + * {
  margin-block-start: 0;
}

figure {
  margin: 0;
}

/* Override WP link colors */
.wp-element-button {
  cursor: pointer;
}

::selection {
  background-color: var(--nn-primary-fixed);
  color: var(--nn-primary);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--nn-transition);
}

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

/* ============================================
   TYPOGRAPHY
   ============================================ */
.nn-headline-xl {
  font-family: var(--nn-font-headline);
  font-size: 48px;
  font-weight: 700;
  line-height: 56px;
  letter-spacing: -0.02em;
}

.nn-headline-lg {
  font-family: var(--nn-font-headline);
  font-size: 32px;
  font-weight: 600;
  line-height: 40px;
}

.nn-headline-md {
  font-family: var(--nn-font-headline);
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
}

.nn-body-lg {
  font-family: var(--nn-font-body);
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
}

.nn-body-md {
  font-family: var(--nn-font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

.nn-body-sm {
  font-family: var(--nn-font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}

.nn-label-md {
  font-family: var(--nn-font-body);
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--nn-font-headline);
  color: var(--nn-primary);
}

h1 { font-size: 48px; font-weight: 700; line-height: 56px; letter-spacing: -0.02em; }
h2 { font-size: 32px; font-weight: 600; line-height: 40px; }
h3 { font-size: 24px; font-weight: 600; line-height: 32px; }
h4 { font-size: 20px; font-weight: 600; line-height: 28px; }

@media (max-width: 768px) {
  .nn-headline-xl, h1 {
    font-size: 32px;
    line-height: 40px;
    letter-spacing: -0.01em;
  }
  .nn-headline-lg, h2 { font-size: 26px; line-height: 34px; }
}

/* ============================================
   LAYOUT
   ============================================ */
.nn-container {
  max-width: calc(var(--nn-max-width) + var(--nn-margin-desktop) * 2);
  margin: 0 auto;
  padding-left: var(--nn-margin-desktop);
  padding-right: var(--nn-margin-desktop);
  width: 100%;
}

@media (max-width: 768px) {
  .nn-container {
    padding-left: var(--nn-margin-mobile);
    padding-right: var(--nn-margin-mobile);
  }
}

.nn-section {
  padding-top: var(--nn-space-xl);
  padding-bottom: var(--nn-space-xl);
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.nn-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: var(--nn-surface);
  transition: all var(--nn-transition);
  height: 80px;
}

.nn-header.scrolled {
  background-color: rgba(249, 249, 249, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--nn-shadow);
}

.nn-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  height: 80px;
  gap: var(--nn-gutter);
}

.nn-header__brand {
  display: flex;
  align-items: center;
  gap: var(--nn-space-sm);
}

.nn-header__logo {
  height: 40px;
  width: 40px;
  object-fit: contain;
  border-radius: var(--nn-radius);
}

.nn-header__brand-name {
  font-family: var(--nn-font-headline);
  font-size: 24px;
  font-weight: 600;
  color: var(--nn-primary);
}

.nn-header__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--nn-gutter);
}

.nn-header__nav a,
.nn-header__nav .menu-item a {
  font-family: var(--nn-font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--nn-on-surface-variant);
  transition: color var(--nn-transition);
  position: relative;
}

.nn-header__nav a:hover,
.nn-header__nav .menu-item a:hover {
  color: var(--nn-primary-container);
}

.nn-header__nav .current-menu-item a,
.nn-header__nav .current_page_item a {
  color: var(--nn-primary);
  border-bottom: 2px solid var(--nn-primary);
  padding-bottom: 4px;
}

.nn-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--nn-space-base);
}

.nn-header__icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--nn-radius-full);
  background: transparent;
  border: none;
  color: var(--nn-primary);
  cursor: pointer;
  transition: background var(--nn-transition);
  position: relative;
}

.nn-header__icon-btn:hover {
  background: var(--nn-secondary-container);
}

.nn-header__cart-count {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 8px;
  height: 8px;
  background: var(--nn-primary);
  border-radius: var(--nn-radius-full);
}

/* Mobile menu toggle */
.nn-header__mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--nn-primary);
  cursor: pointer;
  padding: var(--nn-space-base);
}

/* WP Menu reset */
.nn-header__nav ul {
  list-style: none;
  display: flex;
  gap: var(--nn-gutter);
  margin: 0;
  padding: 0;
}

.nn-header__nav li {
  list-style: none;
}

@media (max-width: 768px) {
  .nn-header__nav { display: none; }
  .nn-header__mobile-toggle { display: flex; }

  .nn-header__nav.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--nn-surface);
    padding: var(--nn-space-md);
    box-shadow: var(--nn-shadow-lg);
    gap: var(--nn-space-md);
  }

  .nn-header__nav.is-open ul {
    flex-direction: column;
    gap: var(--nn-space-md);
  }
}

/* ============================================
   HERO SECTION
   ============================================ */
.nn-hero {
  position: relative;
  height: 80vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.nn-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.nn-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.nn-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--nn-background) 0%, rgba(249, 249, 249, 0.4) 40%, transparent 100%);
}

.nn-hero__content {
  position: relative;
  z-index: 10;
  max-width: 540px;
}

.nn-hero__tag {
  display: inline-block;
  padding: var(--nn-space-base) var(--nn-space-sm);
  background: var(--nn-secondary-container);
  color: var(--nn-on-secondary-container);
  font-family: var(--nn-font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--nn-radius);
  margin-bottom: var(--nn-space-md);
}

.nn-hero__title {
  font-family: var(--nn-font-headline);
  font-size: 48px;
  font-weight: 700;
  line-height: 56px;
  letter-spacing: -0.02em;
  color: var(--nn-primary);
  margin-bottom: var(--nn-space-md);
  text-wrap: balance;
}

.nn-hero__desc {
  font-family: var(--nn-font-body);
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
  color: var(--nn-on-surface-variant);
  margin-bottom: var(--nn-space-lg);
  max-width: 420px;
}

.nn-hero__buttons {
  display: flex;
  gap: var(--nn-space-md);
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .nn-hero {
    height: 70vh;
    min-height: 400px;
  }
  .nn-hero__title {
    font-size: 32px;
    line-height: 40px;
  }
  .nn-hero__desc {
    font-size: 16px;
    line-height: 24px;
  }
  .nn-hero__overlay {
    background: linear-gradient(to top, var(--nn-background) 0%, rgba(249, 249, 249, 0.6) 50%, transparent 100%);
  }
}

/* ============================================
   BUTTONS
   ============================================ */
.nn-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--nn-space-base);
  padding: var(--nn-space-md) var(--nn-space-lg);
  font-family: var(--nn-font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--nn-radius);
  border: none;
  cursor: pointer;
  transition: all var(--nn-transition);
  text-decoration: none;
}

.nn-btn:active {
  transform: scale(0.95);
}

.nn-btn--primary {
  background: var(--nn-primary-container);
  color: var(--nn-on-primary-container);
  box-shadow: var(--nn-shadow-lg);
}

.nn-btn--primary:hover {
  background: var(--nn-primary);
  color: var(--nn-on-primary);
}

.nn-btn--outline {
  background: transparent;
  color: var(--nn-primary);
  border: 1px solid var(--nn-primary);
}

.nn-btn--outline:hover {
  background: var(--nn-secondary-container);
}

.nn-btn--surface {
  background: var(--nn-surface);
  color: var(--nn-primary);
}

.nn-btn--surface:hover {
  background: var(--nn-primary-fixed);
}

.nn-btn--sm {
  padding: var(--nn-space-base) var(--nn-space-md);
}

/* ============================================
   SHOP BY AGE SECTION
   ============================================ */
.nn-age-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--nn-gutter);
}

.nn-age-card {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: var(--nn-radius-xl);
  background: var(--nn-secondary-container);
  display: block;
}

.nn-age-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--nn-transition-slow);
}

.nn-age-card:hover img {
  transform: scale(1.1);
}

.nn-age-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.1);
  transition: background var(--nn-transition);
}

.nn-age-card:hover .nn-age-card__overlay {
  background: rgba(0, 0, 0, 0.2);
}

.nn-age-card__label {
  position: absolute;
  bottom: var(--nn-space-lg);
  left: 50%;
  transform: translateX(-50%);
}

.nn-age-card__label span {
  display: inline-block;
  background: rgba(249, 249, 249, 0.9);
  backdrop-filter: blur(10px);
  padding: var(--nn-space-base) var(--nn-space-lg);
  border-radius: var(--nn-radius-full);
  font-family: var(--nn-font-headline);
  font-size: 24px;
  font-weight: 600;
  color: var(--nn-primary);
  box-shadow: var(--nn-shadow-sm);
  border: 1px solid rgba(212, 195, 190, 0.3);
}

@media (max-width: 768px) {
  .nn-age-grid {
    grid-template-columns: 1fr;
    gap: var(--nn-space-md);
  }
  .nn-age-card {
    aspect-ratio: 4/3;
  }
}

/* ============================================
   SECTION HEADER
   ============================================ */
.nn-section-header {
  text-align: center;
  margin-bottom: var(--nn-space-xl);
}

.nn-section-header h2 {
  margin-bottom: var(--nn-space-xs);
}

.nn-section-header__line {
  width: 64px;
  height: 4px;
  background: var(--nn-tertiary-fixed-dim);
  margin: 0 auto;
  border-radius: var(--nn-radius-full);
}

/* ============================================
   FEATURED / BENTO GRID
   ============================================ */
.nn-bento {
  background: var(--nn-secondary-container);
}

.nn-bento__grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: var(--nn-gutter);
}

.nn-bento__card {
  position: relative;
  overflow: hidden;
  border-radius: var(--nn-radius-xl);
  background: var(--nn-surface);
  box-shadow: var(--nn-shadow-sm);
}

.nn-bento__card--large {
  height: 600px;
}

.nn-bento__card--large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nn-bento__card--large .nn-bento__content {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(68, 42, 34, 0.6) 0%, transparent 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--nn-space-lg);
}

.nn-bento__card--large h3 {
  color: var(--nn-on-primary);
  margin-bottom: var(--nn-space-sm);
}

.nn-bento__card--large p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 360px;
  margin-bottom: var(--nn-space-md);
}

.nn-bento__card--small {
  background: var(--nn-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.nn-bento__card--small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
  transition: transform var(--nn-transition-slow);
  position: absolute;
  inset: 0;
}

.nn-bento__card--small:hover img {
  transform: scale(1.1);
}

.nn-bento__card--small .nn-bento__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: var(--nn-space-lg);
}

.nn-bento__card--small h4 {
  color: var(--nn-on-primary);
  margin-bottom: var(--nn-space-base);
}

@media (max-width: 768px) {
  .nn-bento__grid {
    grid-template-columns: 1fr;
  }
  .nn-bento__card--large {
    height: 400px;
  }
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.nn-about {
  display: flex;
  align-items: center;
  gap: var(--nn-space-xl);
}

.nn-about__text {
  flex: 1;
}

.nn-about__icon {
  display: inline-flex;
  padding: var(--nn-space-xs);
  background: var(--nn-primary-fixed);
  border-radius: var(--nn-radius-full);
  margin-bottom: var(--nn-space-xs);
  color: var(--nn-primary);
}

.nn-about__text h2 {
  margin-bottom: var(--nn-space-md);
}

.nn-about__text p {
  color: var(--nn-on-surface-variant);
  margin-bottom: var(--nn-space-md);
}

.nn-about__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--nn-space-md);
  padding-top: var(--nn-space-md);
}

.nn-about__feature {
  display: flex;
  align-items: center;
  gap: var(--nn-space-sm);
}

.nn-about__feature .material-symbols-outlined {
  color: var(--nn-primary);
}

.nn-about__feature span:last-child {
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nn-about__image {
  flex: 1;
  position: relative;
}

.nn-about__image-bg {
  position: absolute;
  inset: -16px;
  background: var(--nn-tertiary-fixed);
  border-radius: var(--nn-radius-xl);
  z-index: -1;
  transform: translate(16px, 16px);
}

.nn-about__image img {
  width: 100%;
  border-radius: var(--nn-radius-xl);
  box-shadow: var(--nn-shadow-xl);
}

@media (max-width: 768px) {
  .nn-about {
    flex-direction: column;
    gap: var(--nn-space-lg);
  }
  .nn-about__features {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   FOOTER
   ============================================ */
.nn-footer {
  background: var(--nn-secondary-container);
}

.nn-footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--nn-gutter);
}

.nn-footer__brand-name {
  font-family: var(--nn-font-headline);
  font-size: 24px;
  font-weight: 600;
  color: var(--nn-primary);
  margin-bottom: var(--nn-space-md);
}

.nn-footer__contact {
  display: flex;
  flex-direction: column;
  gap: var(--nn-space-sm);
  color: var(--nn-on-secondary-container);
  font-size: 14px;
}

.nn-footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--nn-space-sm);
}

.nn-footer__contact-item .material-symbols-outlined {
  color: var(--nn-primary);
  flex-shrink: 0;
  font-size: 20px;
}

.nn-footer__links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--nn-space-md);
}

.nn-footer__links h5 {
  font-family: var(--nn-font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--nn-primary);
  margin-bottom: var(--nn-space-base);
}

.nn-footer__links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--nn-space-xs);
}

.nn-footer__links a {
  font-size: 14px;
  color: var(--nn-on-secondary-container);
  transition: color var(--nn-transition);
}

.nn-footer__links a:hover {
  color: var(--nn-primary);
}

/* Newsletter */
.nn-footer__newsletter h5 {
  font-family: var(--nn-font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--nn-primary);
  margin-bottom: var(--nn-space-base);
}

.nn-footer__newsletter p {
  font-size: 14px;
  color: var(--nn-on-secondary-container);
  margin-bottom: var(--nn-space-md);
}

.nn-footer__newsletter-form {
  display: flex;
  gap: var(--nn-space-xs);
}

.nn-footer__newsletter-form input {
  flex: 1;
  padding: var(--nn-space-sm) var(--nn-space-md);
  background: var(--nn-surface);
  border: none;
  border-radius: var(--nn-radius);
  font-family: var(--nn-font-body);
  font-size: 14px;
  outline: none;
}

.nn-footer__newsletter-form input:focus {
  box-shadow: 0 0 0 1px var(--nn-primary);
}

.nn-footer__newsletter-form button {
  padding: var(--nn-space-base);
  background: var(--nn-primary);
  color: var(--nn-on-primary);
  border: none;
  border-radius: var(--nn-radius);
  cursor: pointer;
  transition: background var(--nn-transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nn-footer__newsletter-form button:hover {
  background: var(--nn-primary-container);
}

.nn-footer__social {
  display: flex;
  gap: var(--nn-space-base);
  padding-top: var(--nn-space-sm);
}

.nn-footer__social a {
  width: 40px;
  height: 40px;
  border-radius: var(--nn-radius-full);
  background: var(--nn-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--nn-primary);
  transition: background var(--nn-transition);
}

.nn-footer__social a:hover {
  background: var(--nn-primary-fixed);
}

/* Footer bottom */
.nn-footer__bottom {
  border-top: 1px solid rgba(212, 195, 190, 0.3);
  padding: var(--nn-space-md) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--nn-space-sm);
}

.nn-footer__bottom p {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--nn-on-secondary-container);
}

@media (max-width: 768px) {
  .nn-footer__grid {
    grid-template-columns: 1fr;
    gap: var(--nn-space-lg);
  }
  .nn-footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ============================================
   ZALO STICKY BUTTON
   ============================================ */
.nn-zalo {
  position: fixed;
  bottom: var(--nn-space-lg);
  right: var(--nn-space-lg);
  z-index: 90;
  display: flex;
  align-items: center;
  gap: var(--nn-space-sm);
}

.nn-zalo__label {
  background: rgba(249, 249, 249, 0.9);
  backdrop-filter: blur(10px);
  padding: var(--nn-space-base) var(--nn-space-md);
  border-radius: var(--nn-radius-full);
  box-shadow: var(--nn-shadow-lg);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--nn-primary);
  opacity: 0;
  transform: translateX(-16px);
  transition: all var(--nn-transition);
  pointer-events: none;
}

.nn-zalo:hover .nn-zalo__label {
  opacity: 1;
  transform: translateX(0);
}

.nn-zalo__btn {
  width: 56px;
  height: 56px;
  background: #0068ff;
  color: white;
  border-radius: var(--nn-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--nn-shadow-xl);
  transition: transform var(--nn-transition);
}

.nn-zalo__btn:hover {
  transform: scale(1.1);
}

.nn-zalo__btn svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

/* ============================================
   BLOG / POSTS
   ============================================ */
.nn-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--nn-gutter);
}

.nn-post-card {
  border-radius: var(--nn-radius-lg);
  overflow: hidden;
  background: var(--nn-surface-container-lowest);
  box-shadow: var(--nn-shadow-sm);
  transition: transform var(--nn-transition), box-shadow var(--nn-transition);
}

.nn-post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--nn-shadow-lg);
}

.nn-post-card__image {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.nn-post-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--nn-transition-slow);
}

.nn-post-card:hover .nn-post-card__image img {
  transform: scale(1.05);
}

.nn-post-card__content {
  padding: var(--nn-space-md);
}

.nn-post-card__category {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--nn-tertiary-container);
  margin-bottom: var(--nn-space-sm);
}

.nn-post-card__title {
  font-family: var(--nn-font-headline);
  font-size: 18px;
  font-weight: 600;
  color: var(--nn-primary);
  margin-bottom: var(--nn-space-sm);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.nn-post-card__title a {
  color: inherit;
}

.nn-post-card__title a:hover {
  color: var(--nn-primary-container);
}

.nn-post-card__excerpt {
  font-size: 14px;
  color: var(--nn-on-surface-variant);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: var(--nn-space-md);
}

.nn-post-card__meta {
  font-size: 12px;
  color: var(--nn-outline);
}

@media (max-width: 768px) {
  .nn-posts-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   SINGLE POST / PAGE
   ============================================ */
.nn-single {
  max-width: 800px;
  margin: 0 auto;
  padding-top: var(--nn-space-lg);
}

.nn-single__header {
  margin-bottom: var(--nn-space-lg);
}

.nn-single__title {
  margin-bottom: var(--nn-space-md);
}

.nn-single__meta {
  font-size: 14px;
  color: var(--nn-outline);
  margin-bottom: var(--nn-space-md);
}

.nn-single__featured-img {
  width: 100%;
  border-radius: var(--nn-radius-xl);
  overflow: hidden;
  margin-bottom: var(--nn-space-lg);
}

.nn-single__featured-img img {
  width: 100%;
  height: auto;
}

.nn-single__content {
  font-family: var(--nn-font-body);
  font-size: 18px;
  line-height: 1.8;
  color: var(--nn-on-surface-variant);
}

.nn-single__content p {
  margin-bottom: var(--nn-space-md);
}

.nn-single__content h2,
.nn-single__content h3,
.nn-single__content h4 {
  margin-top: var(--nn-space-lg);
  margin-bottom: var(--nn-space-md);
}

.nn-single__content img {
  border-radius: var(--nn-radius-lg);
  margin: var(--nn-space-md) 0;
}

.nn-single__content blockquote {
  border-left: 4px solid var(--nn-primary-fixed-dim);
  padding-left: var(--nn-space-md);
  margin: var(--nn-space-md) 0;
  font-style: italic;
  color: var(--nn-on-surface-variant);
}

.nn-single__content ul, .nn-single__content ol {
  padding-left: var(--nn-space-md);
  margin-bottom: var(--nn-space-md);
}

.nn-single__content li {
  margin-bottom: var(--nn-space-sm);
}

/* ============================================
   PAGINATION
   ============================================ */
.nn-pagination {
  display: flex;
  justify-content: center;
  gap: var(--nn-space-base);
  padding-top: var(--nn-space-lg);
}

.nn-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--nn-radius);
  font-weight: 600;
  font-size: 14px;
  color: var(--nn-on-surface-variant);
  transition: all var(--nn-transition);
}

.nn-pagination .page-numbers:hover {
  background: var(--nn-secondary-container);
}

.nn-pagination .page-numbers.current {
  background: var(--nn-primary-container);
  color: var(--nn-on-primary-container);
}

/* ============================================
   SEARCH OVERLAY
   ============================================ */
.nn-search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(249, 249, 249, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: var(--nn-space-md) 0;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
}

.nn-search-overlay.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.nn-search-form {
  display: flex;
  align-items: center;
  gap: var(--nn-space-md);
  height: 64px;
}

.nn-search-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--nn-font-body);
  font-size: 20px;
  font-weight: 500;
  color: var(--nn-on-surface);
}

.nn-search-input::placeholder {
  color: var(--nn-outline);
}

/* ============================================
   UTILITY: Content Area (WP Body)
   ============================================ */
.nn-main {
  padding-top: 80px;
  min-height: 60vh;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nn-animate-in {
  animation: fadeInUp 0.6s ease forwards;
}

/* ============================================
   PAGE HERO
   ============================================ */
.nn-page-hero {
  position: relative;
  height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

.nn-page-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.nn-page-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(68, 42, 34, 0.1);
  z-index: 1;
}

.nn-page-hero__content {
  position: relative;
  z-index: 10;
  padding: 0 var(--nn-margin-mobile);
}

.nn-page-hero__content h1 {
  color: var(--nn-primary);
  margin-bottom: var(--nn-space-md);
  text-shadow: 0 2px 4px rgba(93, 64, 55, 0.1);
}

@media (max-width: 768px) {
  .nn-page-hero { height: 400px; }
}

/* ============================================
   ABOUT PAGE - BENTO
   ============================================ */
.nn-bento-about {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: var(--nn-gutter);
}

.nn-bento-about__text {
  background: var(--nn-surface-container-lowest);
  padding: var(--nn-space-lg);
  border-radius: var(--nn-radius-xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(93, 64, 55, 0.08);
}

.nn-bento-about__icons {
  display: flex;
  gap: var(--nn-space-md);
  padding-top: var(--nn-space-md);
}

.nn-bento-about__icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--nn-space-base);
}

.nn-bento-about__icon-item .material-symbols-outlined {
  font-size: 36px;
  color: var(--nn-primary-container);
}

.nn-bento-about__icon-item span:last-child {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nn-bento-about__img {
  height: 400px;
  overflow: hidden;
  border-radius: var(--nn-radius-xl);
}

.nn-bento-about__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nn-bento-about__row {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: var(--nn-gutter);
}

.nn-bento-about__img-small {
  height: 300px;
  overflow: hidden;
  border-radius: var(--nn-radius-xl);
}

.nn-bento-about__img-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nn-bento-about__quote {
  background: var(--nn-secondary-container);
  padding: var(--nn-space-lg);
  border-radius: var(--nn-radius-xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 768px) {
  .nn-bento-about,
  .nn-bento-about__row {
    grid-template-columns: 1fr;
  }
  .nn-bento-about__img { height: 260px; }
  .nn-bento-about__img-small { height: 200px; }
}

/* ============================================
   K-STYLE GRID
   ============================================ */
.nn-style-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--nn-gutter);
}

.nn-style-card { text-align: center; }

.nn-style-card__img {
  aspect-ratio: 3/4;
  border-radius: var(--nn-radius);
  overflow: hidden;
}

.nn-style-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.nn-style-card:hover .nn-style-card__img img {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .nn-style-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================
   CTA BANNER
   ============================================ */
.nn-cta-banner {
  background: var(--nn-primary-container);
  padding: var(--nn-space-lg);
  border-radius: var(--nn-radius-xl);
  text-align: center;
}

.nn-cta-banner h3 {
  color: var(--nn-on-primary);
  margin-bottom: var(--nn-space-md);
}

/* ============================================
   CATEGORY / PRODUCT GRID
   ============================================ */
.nn-category-banner {
  background: var(--nn-secondary-container);
  padding: var(--nn-space-md) 0;
}

.nn-category-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nn-category-banner h2 {
  margin: 0;
}

.nn-filter-bar {
  display: flex;
  align-items: center;
  gap: var(--nn-space-md);
  flex-wrap: wrap;
}

.nn-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--nn-space-xs);
  padding: var(--nn-space-base) var(--nn-space-md);
  border: 1px solid var(--nn-outline-variant);
  border-radius: var(--nn-radius-full);
  font-family: var(--nn-font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--nn-on-surface-variant);
  background: var(--nn-surface-container-lowest);
  cursor: pointer;
  transition: all var(--nn-transition);
}

.nn-filter-chip:hover,
.nn-filter-chip.active {
  border-color: var(--nn-primary);
  color: var(--nn-primary);
  background: var(--nn-primary-fixed);
}

.nn-product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--nn-gutter);
}

.nn-product-card {
  border-radius: var(--nn-radius-lg);
  overflow: hidden;
  background: var(--nn-surface-container-lowest);
  box-shadow: var(--nn-shadow-sm);
  transition: transform var(--nn-transition), box-shadow var(--nn-transition);
  display: block;
}

.nn-product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--nn-shadow-lg);
}

.nn-product-card__image {
  aspect-ratio: 3/4;
  overflow: hidden;
  position: relative;
}

.nn-product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--nn-transition-slow);
}

.nn-product-card:hover .nn-product-card__image img {
  transform: scale(1.05);
}

.nn-product-card__badge {
  position: absolute;
  top: var(--nn-space-sm);
  left: var(--nn-space-sm);
  padding: var(--nn-space-xs) var(--nn-space-base);
  background: var(--nn-tertiary-container);
  color: var(--nn-on-tertiary-container);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--nn-radius);
}

.nn-product-card__info {
  padding: var(--nn-space-md);
}

.nn-product-card__name {
  font-family: var(--nn-font-headline);
  font-size: 16px;
  font-weight: 600;
  color: var(--nn-primary);
  margin-bottom: var(--nn-space-xs);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.nn-product-card__price {
  font-family: var(--nn-font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--nn-tertiary);
}

.nn-product-card__price-old {
  font-size: 13px;
  font-weight: 400;
  color: var(--nn-outline);
  text-decoration: line-through;
  margin-left: var(--nn-space-base);
}

.nn-product-card__sizes {
  display: flex;
  gap: var(--nn-space-xs);
  margin-top: var(--nn-space-sm);
}

.nn-product-card__size {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  border: 1px solid var(--nn-outline-variant);
  border-radius: var(--nn-radius-sm);
  color: var(--nn-on-surface-variant);
}

@media (max-width: 1024px) {
  .nn-product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .nn-product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--nn-space-sm);
  }
  .nn-category-banner__inner {
    flex-direction: column;
    gap: var(--nn-space-md);
    text-align: center;
  }
}

/* ============================================
   PROMO HERO
   ============================================ */
.nn-promo-hero {
  background: linear-gradient(135deg, var(--nn-tertiary-container) 0%, var(--nn-primary-container) 100%);
  padding: var(--nn-space-xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.nn-promo-hero h1 {
  color: var(--nn-on-primary);
  margin-bottom: var(--nn-space-sm);
}

.nn-promo-hero p {
  color: rgba(255,255,255,0.9);
  max-width: 560px;
  margin: 0 auto;
}

.nn-promo-badge {
  display: inline-block;
  background: var(--nn-tertiary-fixed);
  color: var(--nn-tertiary);
  font-weight: 700;
  padding: var(--nn-space-xs) var(--nn-space-md);
  border-radius: var(--nn-radius-full);
  font-size: 14px;
  margin-bottom: var(--nn-space-md);
}

