/*
Theme Name: Astra Noruvit Child
Theme URI: https://noruvit.com
Description: Premium homepage child theme for Astra (Noruvit project)
Author: Noruvit Developer
Version: 1.0
Template: astra
*/

/* ============================================================
   TYPOGRAPHY — Cormorant Garamond (headings) + Inter (body)
   Fonts are loaded via wp_enqueue_style in functions.php.
   These rules override Astra's default font stack globally.
   ============================================================ */



h1 em {
    font-style: italic;
    font-weight: 300; /* Makes the italic look thinner and more elegant */
    color: #7A5C44;
    letter-spacing: 0.02em; /* Adds a tiny bit of "breath" between letters */
    padding-left: 0.05em; /* Prevents the slanted 'D' from touching the 'r' in 'Your' */
    display: inline-block; /* Ensures the browser renders the slant perfectly */
}

/* High-End Dermo-Cosmetic Typography Fix */
.premium-ritual {
    font-style: italic !important;
    font-weight: 400 !important;
    letter-spacing: 0.05em !important;
    display: inline-block;

    /* 1. Bronze Gradient Fill */
    background: linear-gradient(to bottom, #ffecdb 0%, #a19183 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(1px 1px 0px #000000) drop-shadow(-1px -1px 0px #7A5C44) drop-shadow(1px -1px 0px #7A5C44) drop-shadow(-1px 1px 0px #7A5C44) drop-shadow(3px 3px 5px rgba(0, 0, 0, 0.25)) !important;

}

/* 1. Import Premium Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;1,300;1,400&family=Inter:wght@300;400;500&display=swap');

/* 2. Heading Typography: Elegant Serif */
h1, h2, h3, h4, .site-title, .widget-title {
    font-family: 'Cormorant Garamond', serif !important;
    font-weight: 300;
    text-transform: none;
    letter-spacing: -0.01em; /* Subtle tightening for luxury headers */
    line-height: 1.2;
    color: #1a1a1a; /* Soft black for better readability */
}

/* 3. Body Typography: Clean, Modern Sans */
body, p, a, li, input, button {
    font-family: 'Inter', sans-serif !important;
    font-weight: 300;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased; /* Crisper rendering on MacOS/iOS */
}

/* 4. Fine-tuning for Luxury Feel */
.main-navigation a, .button, button {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    letter-spacing: 0.05em; /* Slight tracking for nav/buttons */
    text-transform: uppercase;
    font-size: 0.85rem;
}

/* ── Body / global: Inter ── */
html,
body,
body *:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(.entry-title):not(.ast-blog-single-element):not([class*="heading"]) {
    font-family: 'Inter', sans-serif !important;
}
body, p { font-weight: 400; line-height: 1.75; }

/* ── Headings: Cormorant Garamond ── */
h1, h2, h3, h4, h5, h6,
.ast-blog-single-element,
.entry-title,
.site-title,
.widget-title,
.woocommerce-loop-product__title,
.woocommerce-products-header__title,
[class*="title"]:not([class*="title-text"]):not(.site-title) {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-weight: 400 !important; /* Cormorant looks best at 400 — 700 is not loaded */
    line-height: 1.15 !important;
    letter-spacing: 0.03em !important;
}
h1 { font-size: clamp(36px, 5vw, 60px) !important; font-weight: 400 !important; letter-spacing: 0.04em !important; }
h2 { font-weight: 400 !important; letter-spacing: 0.03em !important; }
h3 { font-weight: 400 !important; letter-spacing: 0.03em !important; }

/* ── Astra-specific overrides ── */
.ast-woocommerce-container h1,
.ast-woocommerce-container h2,
.ast-woocommerce-container h3,
.main-header-bar .site-title a,
.ast-header-break-point .site-title a {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-weight: 400 !important;
}

/* Keep buttons, inputs, nav as Inter */
button, input, select, textarea,
.ast-button, .button, a.button,
.menu-item a, .main-navigation a,
label, th, td {
    font-family: 'Inter', sans-serif !important;
}

:root{
  --ink:#1A1A14;
  --gold:#C9A84C;
  --gold-soft:#E3C777;
  --cream:#FDFCF9;
  --sand:#F5EDD0;
  --mist:#EFE7D7;
  --text:#2A2A22;
  --muted:#6B6B5C;
  --white:#FFFFFF;
  --radius-sm:10px;
  --radius-md:16px;
  --radius-lg:22px;
  --shadow-soft:0 18px 45px rgba(26,26,20,0.10);
  --shadow-card:0 14px 30px rgba(26,26,20,0.08);
  --shadow-gold:0 12px 30px rgba(201,168,76,0.25);
  --font-display:"Cormorant Garamond", serif;
  --font-sans:"Inter", sans-serif;
  --container:1180px;
}

*{
  box-sizing:border-box;
}

body{
  background:var(--cream);
  font-family:var(--font-sans);
  color:var(--text);
  margin:0;
  line-height:1.6;
  overflow-x:hidden;
}

body .site,
body .site-content,
body .ast-container{
  background:var(--cream);
}

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

a{
  color:inherit;
  text-decoration:none;
}

.container{
  width:100%;
  max-width:var(--container);
  margin:0 auto;
  padding:0 clamp(16px, 3vw, 24px);
}

.noruvit-topbar,
.noruvit-nav,
.noruvit-hero,
.section,
.newsletter,
.noruvit-footer{
  width:100%;
}

.reveal{
  animation:fadeUp 0.9s ease both;
}

.delay-1{ animation-delay:0.15s; }
.delay-2{ animation-delay:0.3s; }
.delay-3{ animation-delay:0.45s; }
.delay-4{ animation-delay:0.6s; }

@keyframes fadeUp{
  from{ opacity:0; transform:translateY(18px); }
  to{ opacity:1; transform:translateY(0); }
}

@keyframes floatSoft{
  0%{ transform:translateY(0); }
  50%{ transform:translateY(-8px); }
  100%{ transform:translateY(0); }
}

@keyframes shimmer{
  0%{ background-position:0% 50%; }
  100%{ background-position:100% 50%; }
}

@keyframes glowPulse{
  0%{ box-shadow:0 0 0 rgba(201,168,76,0.0); }
  50%{ box-shadow:0 0 20px rgba(201,168,76,0.35); }
  100%{ box-shadow:0 0 0 rgba(201,168,76,0.0); }
}

/* TOP BAR */

.noruvit-topbar{
  background:linear-gradient(120deg, #1A1A14 0%, #2B2B22 45%, #1A1A14 100%);
  color:var(--white);
  text-align:center;
  padding:10px 16px;
  font-size:12px;
  letter-spacing:2px;
  text-transform:uppercase;
}

/* HEADER */

.noruvit-nav{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(253,252,249,0.96);
  backdrop-filter:saturate(150%) blur(8px);
  border-bottom:1px solid rgba(201,168,76,0.35);
}

.noruvit-nav-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:18px 24px;
  gap:18px;
  position:relative;
  flex-wrap:nowrap;
}

.noruvit-menu{
  flex:1 1 auto;
  min-width:0;
  display:flex;
  justify-content:center;
}

.noruvit-logo{
  font-family:var(--font-display);
  font-size:28px;
  letter-spacing:2px;
  white-space:nowrap;
  max-width:160px;
  overflow:hidden;
  text-overflow:ellipsis;
}

.noruvit-menu-list{
  display:flex;
  align-items:center;
  gap:26px;
  list-style:none !important;
  margin:0 !important;
  padding:0 !important;
}

.noruvit-menu-list li{
  margin:0 !important;
  padding:0 !important;
}

.noruvit-menu a{
  text-transform:uppercase;
  font-size:13px;
  letter-spacing:2px;
  color:var(--ink);
  position:relative;
}

.noruvit-menu .mega-link{
  text-transform:none;
  letter-spacing:1px;
  padding:6px 0;
  font-size:14px;
  display:block;
  color:var(--ink);
}

.noruvit-menu .mega-link:hover{
  color:var(--gold);
}

.nav-actions{
  display:flex;
  align-items:center;
  gap:10px;
  flex:0 0 auto;
}

.sr-only{
  border:0;
  clip:rect(0 0 0 0);
  height:1px;
  margin:-1px;
  overflow:hidden;
  padding:0;
  position:absolute;
  width:1px;
}

.noruvit-mobile-toggle{
  display:none;
  width:44px;
  height:44px;
  border-radius:14px;
  border:1px solid rgba(26,26,20,0.15);
  background:var(--cream);
  align-items:center;
  justify-content:center;
  cursor:pointer;
  padding:0;
  box-shadow:0 4px 15px rgba(26,26,20,0.12);
}

.noruvit-mobile-toggle .toggle-icon{
  display:flex;
  flex-direction:column;
  gap:4px;
  align-items:center;
  justify-content:center;
}

.noruvit-mobile-toggle .toggle-icon span{
  width:4px;
  height:4px;
  background:var(--ink);
  border-radius:50%;
  display:block;
}

.noruvit-mobile-toggle[aria-expanded="true"] .toggle-icon span{
  background:var(--gold);
}

.noruvit-menu a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-8px;
  width:0;
  height:2px;
  background:var(--gold);
  transition:width 0.3s ease;
}

.noruvit-menu a:hover::after{
  width:100%;
}

.has-mega{
  position:relative;
}

.mega-menu{
  position:absolute;
  top:calc(100% + 18px);
  left:0;
  background:var(--white);
  border-radius:18px;
  box-shadow:var(--shadow-soft);
  padding:24px 26px;
  min-width:560px;
  opacity:0;
  pointer-events:none;
  transform:translateY(10px);
  transition:all 0.25s ease;
  z-index:80;
}

.has-mega:hover .mega-menu{
  opacity:1;
  pointer-events:auto;
  transform:translateY(0);
}

.has-mega:focus-within .mega-menu{
  opacity:1;
  pointer-events:auto;
  transform:translateY(0);
}

.mega-grid{
  display:grid;
  grid-template-columns:1fr 1fr 1fr 1.1fr;
  gap:22px;
}

.mega-title{
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:2px;
  color:var(--muted);
  margin-bottom:10px;
}

.mega-menu a{
  display:block;
  padding:6px 0;
  font-size:13px;
  letter-spacing:1px;
  text-transform:none;
}

.mega-feature{
  background:linear-gradient(140deg, #FAF6EC 0%, #F3E2B8 100%);
  border-radius:14px;
  padding:16px;
  display:flex;
  flex-direction:column;
  gap:10px;
}

.mega-feature span{
  text-transform:uppercase;
  font-size:11px;
  letter-spacing:2px;
  color:#7A6A3D;
}

.mega-feature strong{
  font-size:18px;
  font-family:var(--font-display);
}

.mega-feature p{
  margin:0;
  color:var(--muted);
  font-size:13px;
}

.mega-btn{
  align-self:flex-start;
  padding:10px 16px;
  border-radius:999px;
  background:var(--ink);
  color:var(--white);
  text-transform:uppercase;
  letter-spacing:1px;
  font-size:11px;
}

.nav-icons{
  display:flex;
  align-items:center;
  gap:8px;
}

.icon-btn{
  width:32px;
  height:32px;
  border-radius:50%;
  border:1px solid rgba(26,26,20,0.15);
  display:grid;
  place-items:center;
  transition:all 0.25s ease;
  background:var(--white);
}

.icon-btn svg{
  width:16px;
  height:16px;
}

.icon-btn:hover{
  border-color:var(--gold);
  transform:translateY(-2px);
  box-shadow:var(--shadow-gold);
}

.noruvit-mobile-toggle{
  display:none;
  border:none;
  background:none;
  color:var(--ink);
  font-size:12px;
  letter-spacing:2px;
  text-transform:uppercase;
  cursor:pointer;
  align-items:center;
  justify-content:center;
  gap:6px;
}

.noruvit-mobile-toggle .toggle-close{
  display:none;
}

.noruvit-mobile-toggle[aria-expanded="true"] .toggle-open{
  display:none;
}

.noruvit-mobile-toggle[aria-expanded="true"] .toggle-close{
  display:inline;
}

/* HERO */

.noruvit-hero{
  position:relative;
  min-height:min(88vh, 700px);
  display:flex;
  align-items:center;
  overflow:hidden;
  background:var(--ink);
}

.noruvit-hero-slider{
  position:relative;
  width:100%;
  min-height:88vh;
  display:flex;
  align-items:center;
}

.hero-slide{
  position:absolute;
  inset:0;
  opacity:0;
  pointer-events:none;
  transition:opacity 0.8s ease;
}

.hero-slide.is-active{
  opacity:1;
  pointer-events:auto;
}

.hero-slide::before{
  content:"";
  position:absolute;
  inset:0;
  background-image:var(--slide-image);
  background-size:cover;
  background-position:center;
  filter:saturate(0.9) brightness(0.95);
  transform:scale(1.02);
}

.hero-slide::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(115deg, rgba(26,26,20,0.9) 0%, rgba(26,26,20,0.45) 50%, rgba(201,168,76,0.35) 100%);
}

.hero-slide-content{
  position:relative;
  z-index:2;
  min-height:88vh;
  display:flex;
  align-items:center;
}

.hero-content{
  position:relative;
  z-index:2;
  color:var(--white);
  max-width:640px;
}

.noruvit-hero .container{
  position:relative;
  z-index:2;
}

.hero-kicker{
  letter-spacing:4px;
  text-transform:uppercase;
  font-size:12px;
  color:var(--gold-soft);
}

.hero-content h1{
  font-family:var(--font-display);
  font-size:56px;
  font-weight:500;
  margin:14px 0 18px;
  line-height:1.1;
}

.hero-sub{
  font-size:18px;
  max-width:520px;
  margin-bottom:28px;
  color:#F5F1E7;
}

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

.btn-primary{
  background:linear-gradient(120deg, var(--gold) 0%, #D7B760 100%);
  color:#1A1A14;
  padding:14px 34px;
  border-radius:999px;
  text-transform:uppercase;
  letter-spacing:2px;
  font-size:13px;
  font-weight:600;
  box-shadow:var(--shadow-gold);
  transition:transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-primary:hover{
  transform:translateY(-2px);
  box-shadow:0 16px 35px rgba(201,168,76,0.35);
}

.btn-ghost{
  border:1px solid rgba(255,255,255,0.4);
  color:var(--white);
  padding:14px 30px;
  border-radius:999px;
  text-transform:uppercase;
  letter-spacing:2px;
  font-size:13px;
  font-weight:500;
  transition:all 0.25s ease;
}

.btn-ghost:hover{
  background:rgba(255,255,255,0.12);
  border-color:var(--gold);
}

.hero-highlights{
  margin-top:32px;
  display:flex;
  gap:18px;
  flex-wrap:wrap;
  color:#F5F1E7;
  font-size:13px;
}

.hero-highlight{
  display:flex;
  align-items:center;
  gap:10px;
  padding:8px 14px;
  border-radius:999px;
  background:rgba(255,255,255,0.08);
  border:1px solid rgba(255,255,255,0.12);
}

.hero-orbit{
  position:absolute;
  right:-80px;
  top:20%;
  width:240px;
  height:240px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,0.16);
  box-shadow:0 0 80px rgba(201,168,76,0.2);
  animation:floatSoft 7s ease-in-out infinite;
}

.hero-orbit::after{
  content:"";
  position:absolute;
  inset:24px;
  border-radius:50%;
  border:1px dashed rgba(255,255,255,0.2);
}

.hero-dots{
  position:absolute;
  bottom:28px;
  left:0;
  right:0;
  display:flex;
  justify-content:center;
  gap:10px;
  z-index:5;
}

.hero-dot{
  width:10px;
  height:10px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,0.6);
  background:transparent;
  cursor:pointer;
  transition:all 0.25s ease;
}

.hero-dot.is-active{
  background:var(--gold);
  border-color:var(--gold);
  transform:scale(1.1);
}

.hero-progress{
  position:absolute;
  bottom:18px;
  left:50%;
  transform:translateX(-50%);
  width:180px;
  height:2px;
  background:rgba(255,255,255,0.2);
  border-radius:999px;
  overflow:hidden;
  z-index:4;
}

.hero-progress::after{
  content:"";
  display:block;
  height:100%;
  width:35%;
  background:linear-gradient(90deg, var(--gold), #EBD58F);
}

.hero-progress.is-animating::after{
  animation:heroProgress var(--hero-interval, 6000ms) linear infinite;
}

@keyframes heroProgress{
  0%{ transform:translateX(-100%); }
  100%{ transform:translateX(280%); }
}

.section{
  padding:clamp(60px, 6vw, 100px) 0;
  position:relative;
  overflow:hidden;
}

.section-title{
  font-family:var(--font-display);
  font-size:42px;
  text-align:center;
  margin:0 0 14px;
  color:var(--ink);
}

.section-sub{
  text-align:center;
  max-width:640px;
  margin:0 auto 48px;
  color:var(--muted);
}

.section::before{
  content:"";
  position:absolute;
  width:220px;
  height:220px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(201,168,76,0.12) 0%, rgba(201,168,76,0.0) 70%);
  top:-40px;
  right:-60px;
  pointer-events:none;
}

/* CATEGORIES */

.category-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:26px;
}

.category-card{
  position:relative;
  overflow:hidden;
  border-radius:var(--radius-lg);
  min-height:320px;
  box-shadow:var(--shadow-card);
  transition:transform 0.35s ease, box-shadow 0.35s ease;
}

.category-card img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform 0.6s ease;
}

.category-card:hover img{
  transform:scale(1.08);
}

.category-card:hover{
  transform:translateY(-6px);
  box-shadow:0 24px 45px rgba(26,26,20,0.16);
}

.category-label{
  position:absolute;
  inset:auto 18px 18px 18px;
  background:rgba(253,252,249,0.9);
  padding:12px 16px;
  border-radius:12px;
  font-weight:600;
  letter-spacing:1px;
  text-transform:uppercase;
  font-size:12px;
  box-shadow:0 8px 20px rgba(26,26,20,0.12);
}

/* FEATURED PRODUCTS */

.product-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:26px;
}

.product-card{
  background:var(--white);
  border-radius:var(--radius-md);
  padding:18px;
  box-shadow:var(--shadow-card);
  position:relative;
  overflow:hidden;
  transition:transform 0.3s ease, box-shadow 0.3s ease;
  border:1px solid rgba(26,26,20,0.06);
}

.product-card:hover{
  transform:translateY(-6px);
  box-shadow:0 20px 40px rgba(26,26,20,0.12);
}

.product-card img{
  border-radius:12px;
  height:220px;
  width:100%;
  object-fit:cover;
  transition:transform 0.5s ease;
}

.product-badge{
  position:absolute;
  top:18px;
  left:18px;
  background:var(--ink);
  color:var(--white);
  padding:6px 12px;
  border-radius:999px;
  font-size:11px;
  letter-spacing:1px;
  text-transform:uppercase;
}

.product-name{
  font-weight:600;
  margin:16px 0 6px;
}

.product-meta{
  color:var(--muted);
  font-size:13px;
  margin-bottom:10px;
}

.product-price{
  font-weight:700;
  letter-spacing:1px;
  margin-bottom:14px;
}

.product-actions{
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.product-actions a{
  font-size:12px;
  letter-spacing:2px;
  text-transform:uppercase;
  font-weight:600;
  color:var(--ink);
  transition:color 0.2s ease;
}

.product-actions a:hover{
  color:var(--gold);
}

.product-card:hover img{
  transform:scale(1.04);
}

/* WHY */

.why-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}

.why-card{
  background:linear-gradient(140deg, #FFFFFF 0%, #F7F2E6 100%);
  border-radius:var(--radius-md);
  padding:28px;
  box-shadow:var(--shadow-card);
  transition:transform 0.3s ease, box-shadow 0.3s ease;
}

.why-icon{
  width:52px;
  height:52px;
  border-radius:16px;
  background:linear-gradient(140deg, var(--gold) 0%, #E8D59A 100%);
  display:grid;
  place-items:center;
  margin-bottom:16px;
  animation:glowPulse 5s ease-in-out infinite;
  font-weight:600;
}

.why-title{
  font-family:var(--font-display);
  font-size:24px;
  margin:0 0 10px;
}

.why-card:hover{
  transform:translateY(-6px);
  box-shadow:0 24px 45px rgba(26,26,20,0.14);
}

/* TRUST */

.trust-bar{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
  margin-top:24px;
}

.trust-item{
  padding:18px 16px 18px 56px;
  text-align:center;
  border-radius:14px;
  background:var(--white);
  box-shadow:var(--shadow-card);
  font-size:13px;
  letter-spacing:1px;
  text-transform:uppercase;
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
}

.trust-item::before{
  content:"";
  width:18px;
  height:18px;
  border-radius:50%;
  border:1px solid rgba(26,26,20,0.18);
  position:absolute;
  left:18px;
  top:50%;
  transform:translateY(-50%);
}

.trust-item::after{
  content:"";
  width:6px;
  height:10px;
  border-right:2px solid var(--gold);
  border-bottom:2px solid var(--gold);
  transform:rotate(45deg);
  position:absolute;
  left:30px;
  top:50%;
  transform:translate(-50%,-50%) rotate(45deg);
}

/* INGREDIENT */

.ingredient{
  display:grid;
  grid-template-columns:1.2fr 1fr;
  gap:36px;
  align-items:center;
  background:linear-gradient(120deg, #FDFCF9 0%, #F5EDD0 60%, #FAF4E6 100%);
  border-radius:var(--radius-lg);
  padding:46px;
  box-shadow:var(--shadow-soft);
  border:1px solid rgba(201,168,76,0.18);
}

.ingredient h3{
  font-family:var(--font-display);
  font-size:34px;
  margin:0 0 14px;
}

.ingredient p{
  margin:0 0 20px;
  color:var(--muted);
}

.ingredient-badges{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}

.ingredient-badge{
  padding:8px 14px;
  border-radius:999px;
  background:var(--white);
  font-size:12px;
  letter-spacing:1px;
  text-transform:uppercase;
  border:1px solid rgba(26,26,20,0.08);
}

/* RITUAL */

.ritual{
  display:grid;
  grid-template-columns:1.1fr 0.9fr;
  gap:32px;
  align-items:center;
  background:linear-gradient(140deg, #FFFFFF 0%, #F5EDD0 100%);
  border-radius:var(--radius-lg);
  padding:46px;
  box-shadow:var(--shadow-soft);
  border:1px solid rgba(201,168,76,0.18);
}

.ritual-kicker{
  text-transform:uppercase;
  letter-spacing:3px;
  font-size:12px;
  color:var(--muted);
}

.ritual h3{
  font-family:var(--font-display);
  font-size:34px;
  margin:10px 0 14px;
}

.ritual-steps{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin:18px 0 22px;
}

.ritual-step{
  background:var(--white);
  border-radius:999px;
  padding:8px 14px;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:1px;
  border:1px solid rgba(26,26,20,0.08);
}

.ritual-visual img{
  border-radius:18px;
  box-shadow:var(--shadow-card);
}

/* EDITORIAL */

.editorial{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:26px;
}

.editorial-card{
  padding:28px;
  border-radius:var(--radius-md);
  background:var(--white);
  box-shadow:var(--shadow-card);
  transition:transform 0.3s ease, box-shadow 0.3s ease;
}

.editorial-card span{
  text-transform:uppercase;
  letter-spacing:2px;
  font-size:11px;
  color:var(--muted);
}

.editorial-card h3{
  font-family:var(--font-display);
  font-size:28px;
  margin:10px 0 12px;
}

.editorial-card:hover{
  transform:translateY(-6px);
  box-shadow:0 24px 45px rgba(26,26,20,0.12);
}

/* NEWSLETTER */

.newsletter{
  background:var(--ink);
  color:var(--white);
  padding:70px 0;
}

.newsletter-inner{
  display:grid;
  grid-template-columns:1.2fr 0.8fr;
  gap:32px;
  align-items:center;
}

.newsletter-card{
  background:rgba(255,255,255,0.06);
  border:1px solid rgba(255,255,255,0.12);
  border-radius:24px;
  padding:36px;
  box-shadow:0 30px 60px rgba(0,0,0,0.25);
  position:relative;
  overflow:hidden;
}

.newsletter-kicker{
  text-transform:uppercase;
  letter-spacing:3px;
  font-size:12px;
  color:var(--gold-soft);
}

.newsletter h3{
  font-family:var(--font-display);
  font-size:36px;
  margin:0 0 12px;
  color:var(--white);
}

.newsletter p{
  color:#E8E0CF;
}

.newsletter-form{
  display:flex;
  gap:12px;
  background:rgba(255,255,255,0.08);
  padding:10px;
  border-radius:999px;
}

.newsletter-form input{
  flex:1;
  border:none;
  background:transparent;
  color:var(--white);
  font-size:14px;
  padding:10px 16px;
}

.newsletter-form input::placeholder{
  color:#D7CFBE;
}

.newsletter-form button{
  border:none;
  background:var(--gold);
  color:#1A1A14;
  font-weight:600;
  padding:12px 22px;
  border-radius:999px;
  letter-spacing:1px;
  cursor:pointer;
}

.newsletter-note{
  font-size:12px;
  color:#CFC6B3;
  margin-top:12px;
}

.newsletter-visual{
  height:320px;
  border-radius:24px;
  background:linear-gradient(135deg, #1A1A14 0%, #3B3322 45%, #C9A84C 100%);
  box-shadow:0 30px 60px rgba(0,0,0,0.3);
  position:relative;
  overflow:hidden;
}

.newsletter-visual::after{
  content:"";
  position:absolute;
  inset:20px;
  border-radius:20px;
  border:1px dashed rgba(255,255,255,0.2);
}

/* FAQ */

.faq-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
}

.faq-item{
  background:var(--white);
  border-radius:var(--radius-md);
  padding:22px;
  box-shadow:var(--shadow-card);
  transition:transform 0.25s ease, box-shadow 0.25s ease;
  border:1px solid rgba(26,26,20,0.06);
}

.faq-item:hover{
  transform:translateY(-4px);
  box-shadow:0 24px 45px rgba(26,26,20,0.12);
}

.faq-item summary{
  font-size:16px;
  font-weight:600;
  cursor:pointer;
  list-style:none;
}

.faq-item summary::-webkit-details-marker{
  display:none;
}

.faq-item summary::after{
  content:"+";
  float:right;
  color:var(--gold);
}

.faq-item[open] summary::after{
  content:"-";
}

.faq-item p{
  margin:12px 0 0;
  color:var(--muted);
  font-size:14px;
}

.faq{
  margin-top:40px;
  padding-top:20px;
}

/* FOOTER */

.noruvit-footer{
  background:linear-gradient(160deg, #12120F 0%, #1A1A14 60%, #2B271C 100%);
  color:#EDE7DA;
  padding:70px 0 40px;
  margin-top:0;
}

.footer-grid{
  display:grid;
  grid-template-columns:2fr 1fr 1fr 1fr;
  gap:24px;
  margin-bottom:30px;
}

.footer-brand{
  font-family:var(--font-display);
  font-size:26px;
  letter-spacing:2px;
  color:var(--white);
}

.footer-title{
  text-transform:uppercase;
  letter-spacing:2px;
  font-size:12px;
  margin-bottom:12px;
  color:#D7CFBE;
}

.footer-links a{
  display:block;
  margin-bottom:8px;
  color:#EDE7DA;
  font-size:14px;
}

.footer-bottom{
  border-top:1px solid rgba(255,255,255,0.08);
  padding-top:20px;
  font-size:12px;
  color:#CFC6B3;
  display:flex;
  flex-wrap:wrap;
  gap:16px;
  justify-content:space-between;
}

/* RESPONSIVE */

@media (max-width:1100px){
  .category-grid,
  .product-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .why-grid{
    grid-template-columns:1fr;
  }

  .trust-bar{
    grid-template-columns:repeat(2,1fr);
  }

  .ingredient,
  .ritual{
    grid-template-columns:1fr;
  }

  .newsletter-inner{
    grid-template-columns:1fr;
  }

  .footer-grid{
    grid-template-columns:1fr 1fr;
  }
}

@media (max-width:1366px){
  .noruvit-nav-inner{
    gap:12px;
    padding:18px clamp(16px, 2vw, 22px);
  }

  .noruvit-logo{
    font-size:26px;
  }

  .noruvit-menu-list{
    gap:20px;
  }
}

@media (max-width:900px){
  .noruvit-mobile-toggle{
    display:flex;
  }

  .noruvit-menu{
    position:absolute;
    top:100%;
    left:0;
    right:0;
    margin-top:10px;
    background:var(--white);
    border-radius:18px;
    border:1px solid rgba(26,26,20,0.08);
    box-shadow:var(--shadow-soft);
    z-index:60;
    max-height:0;
    opacity:0;
    overflow:hidden;
    transition:opacity 0.35s ease, max-height 0.45s ease, padding 0.35s ease;
    padding:0 clamp(12px, 4vw, 20px);
    pointer-events:none;
  }

  .noruvit-nav-inner.menu-open .noruvit-menu{
    max-height:900px;
    opacity:1;
    padding:18px 20px;
    pointer-events:auto;
  }

  .noruvit-menu-list{
    flex-direction:column;
    gap:0;
  }

  .noruvit-menu-list li{
    width:100%;
  }

  .noruvit-menu-list li + li{
    border-top:1px solid rgba(26,26,20,0.08);
  }

  .noruvit-menu a{
    padding:14px 0;
  }

  .nav-icons{
    justify-content:flex-end;
    gap:6px;
  }

  .icon-btn{
    width:32px;
    height:32px;
  }

  .mega-menu{
    position:relative;
    margin-top:0;
    opacity:0;
    pointer-events:none;
    transform:none;
    box-shadow:none;
    padding:0;
    background:transparent;
    max-height:0;
    overflow:hidden;
    transition:opacity 0.35s ease, max-height 0.35s ease, padding 0.35s ease;
  }

  .has-mega.has-open .mega-menu{
    opacity:1;
    pointer-events:auto;
    padding:18px 0 0;
    max-height:1200px;
  }

  .mega-grid{
    grid-template-columns:1fr 1fr;
  }

  .mega-feature{
    grid-column:1 / -1;
  }

  .mega-menu a{
    padding-left:0;
  }

  .editorial{
    grid-template-columns:1fr;
  }

  .faq-grid{
    grid-template-columns:1fr;
  }
}

@media (max-width:780px){
  .hero-content h1{
    font-size:42px;
  }

  .category-grid,
  .product-grid{
    grid-template-columns:1fr;
  }

  .hero-actions{
    width:100%;
  }

  .newsletter-form{
    flex-direction:column;
    border-radius:20px;
  }

  .newsletter-form button{
    width:100%;
  }

  .footer-grid{
    grid-template-columns:1fr;
  }

  .footer-bottom{
    flex-direction:column;
  }
}

@media (max-width:768px){
  .noruvit-nav-inner{
    flex-wrap:wrap;
    padding:14px 12px;
  }

  .noruvit-logo{
    font-size:24px;
    max-width:130px;
  }

  .hero-content h1{
    font-size:clamp(32px, 8vw, 38px);
  }

  .hero-sub{
    font-size:16px;
  }

  .nav-icons{
    gap:6px;
  }

  .noruvit-menu-list{
    gap:12px;
    justify-content:center;
  }
}

@media (max-width:520px){
  .noruvit-topbar{
    font-size:10px;
  }

  .hero-content h1{
    font-size:36px;
  }

  .mega-grid{
    grid-template-columns:1fr;
  }
}

/* ============================================================
   NORUVIT — FIXES v2
   Hamburger, Cart Badge, Search Overlay, Mobile Nav
   ============================================================ */

/* ── Logo ── */
.noruvit-logo-img {

  width: auto;
  display: block;
}
.noruvit-logo-text {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: 3px;
  color: var(--ink);
  text-transform: uppercase;
}

/* ── Hamburger lines (replaces the broken dots) ── */
.noruvit-mobile-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(26,26,20,0.15);
  background: var(--white);
  cursor: pointer;
  gap: 0;
  padding: 0;
  flex-shrink: 0;
  transition: border-color 0.2s, background 0.2s;
}
.noruvit-mobile-toggle:hover {
  border-color: var(--gold);
  background: rgba(201,168,76,0.06);
}
.nrv-hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.nrv-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
  transform-origin: center;
}
/* Open state — X animation */
.noruvit-mobile-toggle[aria-expanded="true"] .nrv-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.noruvit-mobile-toggle[aria-expanded="true"] .nrv-bar:nth-child(2) {
  opacity: 0;
  width: 0;
}
.noruvit-mobile-toggle[aria-expanded="true"] .nrv-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.noruvit-mobile-toggle[aria-expanded="true"] {
  border-color: var(--gold);
  background: rgba(201,168,76,0.08);
}
.noruvit-mobile-toggle[aria-expanded="true"] .nrv-bar {
  background: var(--gold);
}

/* ── Cart Badge ── */
.nrv-cart-btn {
  position: relative !important;
}
.cart-count-badge {
  position: absolute !important;
  top: -7px !important;
  right: -7px !important;
  min-width: 18px !important;
  height: 18px !important;
  padding: 0 4px !important;
  border-radius: 999px !important;
  background: var(--gold) !important;
  color: var(--ink) !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  font-family: var(--font-sans) !important;
  line-height: 18px !important;
  text-align: center !important;
  display: block !important;
  border: 2px solid var(--cream) !important;
  letter-spacing: 0 !important;
  transition: transform 0.25s ease !important;
  pointer-events: none !important;
  z-index: 5 !important;
}
.cart-count-badge.cart-count-hidden {
  display: none !important;
}
.cart-count-badge.badge-bump {
  transform: scale(1.4) !important;
}

/* ── Search Overlay ── */
.nrv-search-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(26,26,20,0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: clamp(70px, 12vh, 130px);
  padding-left: 16px;
  padding-right: 16px;
  animation: nrvOverlayIn 0.25s ease both;
}
.nrv-search-overlay[hidden] {
  display: none !important;
}
@keyframes nrvOverlayIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.nrv-search-box {
  background: var(--cream);
  border-radius: 22px;
  padding: 36px 40px 32px;
  width: min(660px, 100%);
  position: relative;
  box-shadow: 0 40px 80px rgba(26,26,20,0.28);
  animation: fadeUp 0.3s 0.05s ease both;
}
.nrv-search-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(26,26,20,0.14);
  background: var(--white);
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--ink);
  transition: all 0.2s;
}
.nrv-search-close:hover {
  border-color: var(--gold);
  background: rgba(201,168,76,0.1);
}
.nrv-search-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--muted);
  margin-bottom: 14px;
  font-family: var(--font-sans);
}
.nrv-search-field {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1.5px solid rgba(26,26,20,0.16);
  border-radius: 14px;
  padding: 12px 16px;
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.nrv-search-field:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.12);
}
.nrv-search-field input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--ink);
  outline: none;
  min-width: 0;
}
.nrv-search-field input::placeholder { color: #B8B0A0; }
.nrv-search-go {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: none;
  background: var(--gold);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.2s;
}
.nrv-search-go:hover {
  background: #D7B760;
  transform: translateX(2px);
}
.nrv-search-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.nrv-search-tags span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--muted);
  font-family: var(--font-sans);
}
.nrv-search-tags a {
  padding: 5px 13px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid rgba(26,26,20,0.1);
  font-size: 12px;
  color: var(--ink);
  font-family: var(--font-sans);
  transition: all 0.2s;
}
.nrv-search-tags a:hover {
  border-color: var(--gold);
  background: rgba(201,168,76,0.08);
}

/* ── Show hamburger at correct breakpoint ── */
@media (max-width: 900px) {
  .noruvit-mobile-toggle { display: flex !important; }
  /* Override the old "display:none" rules */
  .noruvit-mobile-toggle .toggle-open,
  .noruvit-mobile-toggle .toggle-close { display: none !important; }
}

/* Hide old toggle icon styles */
.noruvit-mobile-toggle .toggle-icon { display: none !important; }

/* ============================================================
   FIX — Search button & icon-btn on <button> elements
   Browsers add default padding/appearance to <button> tags
   ============================================================ */
button.icon-btn,
button.nrv-search-btn {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: var(--white);
  border: 1px solid rgba(26,26,20,0.15);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  box-sizing: border-box;
  color: var(--ink);
  line-height: 1;
  font-family: inherit;
  outline: none;
}
button.icon-btn:hover,
button.nrv-search-btn:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(201,168,76,0.22);
  background: var(--white);
}
button.icon-btn svg,
button.nrv-search-btn svg {
  width: 17px;
  height: 17px;
  pointer-events: none;
  display: block;
}
button.icon-btn:focus-visible,
button.nrv-search-btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Make all nav icon links consistent with button */
a.icon-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(26,26,20,0.15);
  background: var(--white);
  text-decoration: none;
  flex-shrink: 0;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  box-sizing: border-box;
  color: var(--ink);
}
a.icon-btn:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(201,168,76,0.22);
}
a.icon-btn svg {
  width: 17px;
  height: 17px;
  display: block;
  pointer-events: none;
}

/* Nav icons spacing fix */
.nav-icons {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ============================================================
   SEARCH BUTTON FIX — v3
   Force button.icon-btn to override ALL browser + Astra resets
   ============================================================ */
button.icon-btn,
button.icon-btn:focus,
button.icon-btn:active {
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  border: 1px solid rgba(26,26,20,0.15) !important;
  background: var(--white) !important;
  display: grid !important;
  place-items: center !important;
  cursor: pointer !important;
  padding: 0 !important;
  margin: 0 !important;
  outline: none !important;
  box-sizing: border-box !important;
  flex-shrink: 0 !important;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  line-height: 1 !important;
  text-decoration: none !important;
  color: var(--ink) !important;
}
button.icon-btn:hover {
  border-color: var(--gold) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px rgba(201,168,76,0.22) !important;
}
button.icon-btn svg {
  width: 17px !important;
  height: 17px !important;
  display: block !important;
  stroke: var(--ink) !important;
  flex-shrink: 0 !important;
}
/* Ensure nav-icons row aligns properly */
.nav-icons {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}
.nav-icons .icon-btn,
.nav-icons button.icon-btn,
.nav-icons a.icon-btn {
  flex-shrink: 0 !important;
}


/* ============================================================
   TYPOGRAPHY OVERRIDE — Cormorant Garamond + Inter
   Ensures Google Fonts fully override Astra/WordPress defaults
   ============================================================ */

/* Force Inter on all body/UI text */
body,
body *,
input,
button,
select,
textarea,
.woocommerce,
.woocommerce-page,
.ast-container,
.entry-content,
p, li, td, th, label, span:not(.noruvit-logo-text) {
  font-family: "Inter", sans-serif !important;
}

/* Exceptions: keep display font on headings */
h1, h2, h3, h4, h5, h6,
.section-title,
.hero-content h1,
.product-detail-name,
.nrv-product-name,
.about-story-text h2,
.value-card h3,
.why-title,
.newsletter h3,
.mission-inner blockquote,
.page-hero h1,
.cart_totals h2,
.faq-section-title,
.legal-content h2,
.contact-form-title,
.number-val,
.footer-brand,
.noruvit-logo-text,
[class*="section-title"],
.editorial-card h3,
.ritual h3,
.why-card h3,
.ingredient h3 {
  font-family: "Cormorant Garamond", Georgia, serif !important;
}

/* Inter weights for clarity */
body { font-weight: 400; line-height: 1.7; }
p    { font-weight: 400; }
strong, b, .font-bold, label, .sidebar-block-title,
.shop-sort-label, .nrv-badge, .product-name,
.footer-title, .faq-accordion-q { font-weight: 600; }

/* Cormorant Garamond heading weights */
h1 { font-weight: 400; letter-spacing: 0.04em; }
h2 { font-weight: 400; letter-spacing: 0.03em; }
h3 { font-weight: 400; letter-spacing: 0.03em; }
.page-hero h1 { font-weight: 300; letter-spacing: 0.05em; }
.section-title { font-weight: 400; letter-spacing: 0.04em; }

/* Button text stays Inter */
.btn-primary,
.btn-ghost,
.btn-atc,
a.button,
button.button,
input[type="submit"] {
  font-family: "Inter", sans-serif !important;
  letter-spacing: 0.12em;
  font-weight: 600;
}

/* Navigation stays Inter */
.noruvit-menu a,
.noruvit-menu-list a,
.nav-actions,
.noruvit-topbar {
  font-family: "Inter", sans-serif !important;
}
