/*
Theme Name: NARIE
Theme URI: https://narie.ro
Author: Concept Advertising
Author URI: https://concept-advertising.ro
Description: Temă custom pentru narie.ro – plasturi hidrogel 24K Gold. Design conversion-first, fără dependențe externe.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: Proprietary
License URI: https://concept-advertising.ro
Text Domain: narie
WC requires at least: 7.0
WC tested up to: 9.9
*/

/* =====================================================
   NARIE THEME – GLOBAL STYLES
   ===================================================== */

:root {
  --gold:        #C9A96E;
  --gold-dark:   #9A7B4F;
  --gold-light:  #EAD8B0;
  --blush:       #F7EBE6;
  --cream:       #FCF8F4;
  --white:       #FFFFFF;
  --text:        #2D2A26;
  --text-soft:   #5D5852;
  --text-muted:  #8A837B;
  --line:        #ECE2D7;
  --success:     #5F8C79;
  --danger:      #D94F4F;
  --shadow-sm:   0 8px 24px rgba(0,0,0,.06);
  --shadow-md:   0 16px 40px rgba(0,0,0,.10);
  --radius-sm:   10px;
  --radius-md:   18px;
  --radius-lg:   28px;
  --container:   1200px;
  /* Aliases folosite în narie-product.css */
  --r-sm:        10px;
  --r-md:        18px;
  --r-lg:        28px;
  --gold-bg:     #FFFAF3;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
}

img { display: block; max-width: 100%; height: auto; }
a   { text-decoration: none; color: inherit; }
button, input, select, textarea { font: inherit; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', serif;
  line-height: 1.1;
  font-weight: 600;
}

/* =====================================================
   LAYOUT
   ===================================================== */
.container,
.narie-container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

/* =====================================================
   TOP BAR
   ===================================================== */
.narie-top-bar {
  background: var(--gold);
  color: var(--white);
  padding: 10px 0;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
}
.narie-top-bar span { animation: topBarPulse 2s infinite; }
@keyframes topBarPulse { 0%,100%{opacity:1} 50%{opacity:.7} }

/* =====================================================
   HEADER
   ===================================================== */
.narie-header {
  background: var(--white);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,.05);
}
.narie-header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.narie-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--gold-dark);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.narie-logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 18px;
}
.narie-header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

/* =====================================================
   BUTTONS (global)
   ===================================================== */
.btn,
.narie-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 54px;
  padding: 0 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .4px;
  cursor: pointer;
  transition: all .25s ease;
  text-decoration: none;
}
.btn-primary,
.narie-btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover,
.narie-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--white);
}
.btn-secondary,
.narie-btn-secondary {
  background: var(--white);
  color: var(--gold-dark);
  border-color: var(--gold);
}
.btn-secondary:hover,
.narie-btn-secondary:hover {
  background: var(--gold);
  color: var(--white);
}
.narie-header-cta { padding: 12px 24px; min-height: unset; font-size: 14px; }

/* =====================================================
   SECTION HELPERS
   ===================================================== */
.section-heading { margin-bottom: 38px; }
.section-heading.center { text-align: center; }
.section-kicker {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  font-weight: 800;
  color: var(--gold-dark);
}
.section-heading h2 { font-size: clamp(32px, 4vw, 50px); }

/* =====================================================
   FOOTER
   ===================================================== */
.narie-footer {
  background: var(--text);
  color: var(--white);
  padding: 50px 0 30px;
}
.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-section h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--gold-light);
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: rgba(255,255,255,.7);
  font-size: 14px;
  transition: color .3s;
}
.footer-links a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 30px;
  text-align: center;
}
.footer-company {
  font-size: 13px;
  color: rgba(255,255,255,.6);
  margin-bottom: 16px;
  line-height: 1.7;
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.footer-legal a {
  color: rgba(255,255,255,.5);
  font-size: 12px;
}
.footer-legal a:hover { color: var(--gold-light); }
.inci-section {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.inci-section h5 {
  font-size: 12px;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 10px;
}
.inci-list {
  font-size: 11px;
  color: rgba(255,255,255,.5);
  line-height: 1.6;
}
.footer-copy {
  margin-top: 30px;
  font-size: 12px;
  color: rgba(255,255,255,.5);
}

@media (min-width: 640px)  { .footer-content { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .footer-content { grid-template-columns: repeat(4,1fr); } }

/* =====================================================
   WOOCOMMERCE – HIDE DEFAULT ELEMENTS
   Override WC's default single product layout so our
   custom template takes full control.
   ===================================================== */
.woocommerce div.product,
.woocommerce #content div.product {
  /* reset WC float layout */
  display: block;
  width: 100%;
}
.woocommerce div.product div.images,
.woocommerce div.product div.summary {
  float: none;
  width: 100%;
}
/* Hide WC breadcrumbs on product page */
.woocommerce .woocommerce-breadcrumb { display: none; }

/* =====================================================
   RESPONSIVE – HEADER
   ===================================================== */
/* =====================================================
   MOBILE MENU
   ===================================================== */
.narie-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: none;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color .2s;
}
.narie-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.narie-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.narie-hamburger.is-open span:nth-child(2) { opacity: 0; }
.narie-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.narie-mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 1px solid var(--line);
  box-shadow: 0 12px 32px rgba(0,0,0,.1);
  z-index: 999;
  padding: 16px 20px 24px;
}
.narie-mobile-menu.is-open { display: block; }
.narie-mobile-menu ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.narie-mobile-menu a {
  display: block;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  border-radius: 10px;
  transition: background .2s, color .2s;
}
.narie-mobile-menu a:hover { background: var(--cream); color: var(--gold-dark); }

@media (max-width: 767px) {
  .narie-hamburger    { display: flex; }
  .narie-cta-desktop  { display: none !important; }
  .narie-cart-label   { display: none; }
  .narie-header       { position: sticky; top: 0; z-index: 1000; }
  .narie-cart-btn     { padding: 10px 14px; min-height: unset; gap: 6px; }
}
@media (min-width: 768px) {
  .narie-mobile-menu  { display: none !important; }
}

/* =====================================================
   TOAST NOTIFICATION
   ===================================================== */
.narie-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--text);
  color: var(--white);
  padding: 14px 24px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  z-index: 9999;
  opacity: 0;
  transition: opacity .3s, transform .3s;
  white-space: nowrap;
  pointer-events: none;
  box-shadow: var(--shadow-md);
}
.narie-toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }
.narie-toast--error  { background: var(--danger); }
.narie-toast--success { background: var(--success); }

@media (max-width: 520px) {
  .narie-header-content { flex-wrap: nowrap; }
  .narie-logo { font-size: 22px; gap: 6px; white-space: nowrap; }
  .narie-logo-icon { width: 30px; height: 30px; font-size: 14px; }
  .narie-header-cta { padding: 10px 14px; font-size: 13px; border-radius: 14px; white-space: nowrap; }
}
@media (max-width: 380px) {
  .narie-header-cta { padding: 9px 12px; font-size: 12px; }
  .narie-logo { font-size: 20px; }
}
