/*
Theme Name:   DG Pípulagnir
Theme URI:    https://dgpipur.is
Description:  Kadence child theme for DG Pípulagnir — plumbing services. Minimalist, clean, typography-led. White + one accent color.
Author:       Davíð Freyr Hlynsson / DavidHlyns
Author URI:   https://davidhlyns.com
Template:     kadence
Version:      2.0.0
Text Domain:  dg-pipur-theme
*/

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

:root {
  /* Brand */
  --dg-accent:          #1a56db;
  --dg-accent-hover:    #1447b8;
  --dg-accent-light:    #eef3fd;

  /* Neutral palette */
  --dg-black:           #0d0d0d;
  --dg-gray-dark:       #2a2a2a;
  --dg-gray-mid:        #555555;
  --dg-gray-light:      #999999;
  --dg-gray-border:     #e8e8e6;
  --dg-off-white:       #f7f7f5;
  --dg-white:           #ffffff;

  /* Typography */
  --dg-font-serif:      'Playfair Display', Georgia, serif;
  --dg-font-sans:       'DM Sans', 'Helvetica Neue', Arial, sans-serif;

  /* Font sizes — bumped up across the board */
  --dg-fs-eyebrow:      0.72rem;
  --dg-fs-label:        0.82rem;
  --dg-fs-meta:         0.88rem;
  --dg-fs-small:        0.9rem;
  --dg-fs-body:         1rem;
  --dg-fs-body-lg:      1.15rem;
  --dg-fs-h4:           1.2rem;
  --dg-fs-h3:           1.5rem;
  --dg-fs-h2:           clamp(1.9rem, 3.5vw, 2.8rem);
  --dg-fs-h1:           clamp(2.8rem, 5.5vw, 4.8rem);

  /* Layout */
  --dg-max-width:       1200px;
  --dg-section-pad:     7rem;
  --dg-radius:          6px;
}

/* ============================================================
   GOOGLE FONTS
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;700&family=DM+Sans:wght@300;400;500;600&display=swap');

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

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

body {
  font-family: var(--dg-font-sans);
  font-weight: 400;
  color: var(--dg-black);
  background: var(--dg-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(--dg-font-serif);
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 1.12;
}

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

/* ============================================================
   KADENCE OVERRIDES
   ============================================================ */

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

.site-header-wrap {
  box-shadow: none !important;
  border-bottom: none !important;
}

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

.woocommerce-breadcrumb {
  display: none;
}

.dg-theme a:hover,
.dg-theme a:focus {
  color: inherit !important;
}

.dg-theme .dg-btn-primary:hover  { color: #ffffff !important; }
.dg-theme .dg-btn-outline:hover  { color: #ffffff !important; }
.dg-theme .dg-btn-ghost:hover    { color: #ffffff !important; }
.dg-theme .dg-btn-submit:hover   { color: #ffffff !important; }
.dg-theme .dg-text-link:hover    { color: var(--dg-accent) !important; }
.dg-theme .dg-faq-question:hover { color: var(--dg-accent) !important; }
