/*
Theme Name:   Lunu Theme v6
Theme URI:    https://lunu.is
Description:  Kadence child theme for Lunu — children's clothing store. Minimal, Scandi, clean. v4: animations, mobile fixes, UI polish.
Author:       Davíð Freyr Hlynsson / DavidHlyns
Author URI:   https://davidhlyns.com
Template:     kadence
Version:      6.1.0
Text Domain:  lunu-theme-v7
*/

/* ============================================================
   DESIGN TOKENS
   ============================================================ */

:root {
  /* Brand */
  --lunu-accent:        #8B5050;
  --lunu-accent-light:  #f5eeee;
  --lunu-accent-mid:    #d4aaaa;

  /* Neutral palette */
  --lunu-black:         #1a1a1a;
  --lunu-gray-dark:     #3a3a3a;
  --lunu-gray-mid:      #6e6e6e;
  --lunu-gray-light:    #c8c4c0;
  --lunu-gray-border:   #e8e4e0;
  --lunu-off-white:     #faf9f8;
  --lunu-white:         #ffffff;

  /* Typography */
  --lunu-font-serif:    'Cormorant Garamond', Georgia, serif;
  --lunu-font-sans:     'Inter', 'Helvetica Neue', Arial, sans-serif;

  /* --------------------------------------------------------
     FONT SIZES — edit these to change sizes globally
  -------------------------------------------------------- */

  /* UI / labels */
  --lunu-fs-eyebrow:    0.72rem;   /* section eyebrows, badges */
  --lunu-fs-label:      0.75rem;   /* nav links, buttons, small caps */
  --lunu-fs-meta:       0.78rem;   /* footer legal, disclaimers */

  /* Body */
  --lunu-fs-small:      0.85rem;   /* secondary body text */
  --lunu-fs-body:       0.95rem;   /* default body / product names */
  --lunu-fs-body-lg:    1rem;      /* intro text, about text */

  /* Headings */
  --lunu-fs-h4:         1.1rem;    /* small headings */
  --lunu-fs-h3:         1.3rem;    /* card headings */
  --lunu-fs-h2-sm:      clamp(1.5rem, 2.5vw, 1.9rem);   /* section headings */
  --lunu-fs-h2:         clamp(1.75rem, 3vw, 2.4rem);    /* page headings, about */
  --lunu-fs-h1:         clamp(2.5rem, 6vw, 4rem);       /* hero heading */

  /* Product / category specific */
  --lunu-fs-product-name:   1rem;      /* product card name */
  --lunu-fs-product-price:  0.95rem;   /* product card price */
  --lunu-fs-cat-label:      0.9rem;    /* category tile label */
  --lunu-fs-section-link:   0.78rem;   /* "Skoða allt" links */

  /* Sizing */
  --lunu-max-width:     1200px;
  --lunu-section-gap:   6rem;
  --lunu-radius:        2px;

  /* Announcement bar — matches about section */
  --lunu-bar-bg:        var(--lunu-accent-light);
  --lunu-bar-color:     var(--lunu-black);
}

/* ============================================================
   GOOGLE FONTS IMPORT
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500&family=Inter:wght@300;400;500&display=swap');

/* ============================================================
   BASE RESET / GLOBAL
   ============================================================ */

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

body {
  font-family: var(--lunu-font-sans);
  font-weight: 300;
  color: var(--lunu-black);
  background: var(--lunu-white);
  -webkit-font-smoothing: antialiased;
  margin: 0;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--lunu-font-serif);
  font-weight: 300;
  letter-spacing: 0.02em;
  margin: 0;
}

p {
  margin: 0;
  line-height: 1.7;
}

/* ============================================================
   KADENCE OVERRIDES — strip default padding/styles
   ============================================================ */

.kadence-blocks-section,
.kb-section-dir-horizontal {
  padding: 0 !important;
}

.site-header-wrap {
  box-shadow: none !important;
  border-bottom: 1px solid var(--lunu-gray-border);
}

.entry-content {
  max-width: none;
}

/* Remove Kadence default breadcrumbs on WC pages */
.woocommerce-breadcrumb {
  display: none;
}

/*Change background color of page hero for inner pages*/
.entry-hero-container-inner {
    background: var(--lunu-accent-light) !important;
}

.woocommerce-product-gallery__image .zoomImg { pointer-events: none; }