:root{
  /* Dyreflokken palette (fra logo) */
  --bg:#fbf7ef;            /* varm offwhite */
  --card:#ffffff;
  --text:#1f140b;          /* varm mørk brun */
  --muted:#6b5b4a;         /* varm grå/brun */
  --border:#e7dcc7;

  --brand:#A2CB02;         /* lime-grønn */
  --brand2:#84AC01;        /* hover */
  --brandSoft:#EEF7C7;

  --accent:#D77E30;        /* oransje */
  --accent2:#E09933;       /* gull/oransje */
  --accentSoft:#FFE173;

  --shadow:0 10px 30px rgba(31,20,11,.10);
  --radius:16px;

  /* Header */
  --header-bg: rgba(251,247,239,.92);

  /* Footer */
  --footer-bg-1:#0b1220;
  --footer-bg-2:#0f172a;
  --footer-text: rgba(251,247,239,.72);
  --footer-link: rgba(251,247,239,.90);
  --footer-border: rgba(251,247,239,.14);

  --brand-glow: rgba(162,203,2,.20);
  --accent-glow: rgba(215,126,48,.18);
}

/* ============ Base ============ */
*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:var(--bg);
  color:var(--text);
}
a{ color:inherit; text-decoration:none; }
.container{ max-width:1150px; margin:0 auto; padding:0 16px; }
.muted{ color:var(--muted); font-size:14px; }

/* ============ Buttons ============ */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:12px;
  border:1px solid var(--border);
  background:#fff;
  font-weight:900;
  color:rgba(31,20,11,.92);
  cursor:pointer;
}
.btn-small{ padding:8px 12px; border-radius:10px; font-weight:900; }
.btn-ghost{ background:transparent; }
.btn-ghost:hover{ background:rgba(162,203,2,.12); }
.btn-primary{
  background:var(--brand);
  border-color:var(--brand);
  color:#1f140b;
}
.btn-primary:hover{
  background:var(--brand2);
  border-color:var(--brand2);
}
.btn:focus-visible{
  outline:none;
  box-shadow:0 0 0 4px rgba(255,225,115,.55);
}

/* ============ Header (base sticky shell) ============ */
.site-header{
  position:sticky;
  top:0;
  z-index:50;
  background:var(--header-bg);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--border);
}
.header-inner{
  display:flex;
  align-items:center;
  gap:16px;
  min-height:68px;
}

/* ============ SHOP HEADER (PetXL-style) ============ */
.shop-header__inner{ gap:16px; }

/* Brand */
.shop-brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:900;
  min-width:220px;
}
.shop-brand__logo{
  display:block;
  border-radius:12px;
}
.shop-brand__name{
  font-size:16px;
  letter-spacing:.2px;
}

/* Search */
.shop-search{
  flex:1;
  display:flex;
  align-items:center;
  gap:10px;
  background:#fff;
  border:1px solid var(--border);
  border-radius:999px;
  padding:10px 14px;
  box-shadow:0 1px 0 rgba(31,20,11,.03);
}
.shop-search__icon{ opacity:.65; }
.shop-search__input{
  width:100%;
  border:none;
  outline:none;
  background:transparent;
  font-weight:700;
  color:rgba(31,20,11,.85);
}
.shop-search:focus-within{
  border-color: rgba(162,203,2,.55);
  box-shadow:0 0 0 4px rgba(255,225,115,.40);
}

/* Actions */
.shop-actions{
  display:flex;
  align-items:center;
  gap:14px;
}
.shop-action{
  display:flex;
  align-items:center;
  gap:8px;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid transparent;
  color:rgba(31,20,11,.85);
  position:relative;
}
.shop-action:hover{
  background:rgba(162,203,2,.10);
  border-color:rgba(162,203,2,.18);
}
.shop-action__icon{ font-size:18px; }
.shop-action__text{ font-weight:800; font-size:14px; }

/* Small counter */
.shop-count{
  margin-left:4px;
  min-width:18px;
  height:18px;
  padding:0 6px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background:rgba(215,126,48,.20);
  border:1px solid rgba(215,126,48,.22);
  font-weight:900;
  font-size:12px;
}

/* Cart button */
.shop-cart{
  display:inline-flex;
  align-items:center;
  gap:10px;
  border-radius:14px;
  padding:10px 14px;
  text-transform:uppercase;
  letter-spacing:.3px;
  position:relative;
}

/* ============ Hero ============ */
.hero{
  background:linear-gradient(135deg, rgba(162,203,2,.18), rgba(231,153,51,.10));
  border-bottom:1px solid var(--border);
  padding:34px 0;
}
.hero-inner{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:22px;
  align-items:stretch;
}
.hero-copy h1{
  margin:0 0 10px;
  font-size:42px;
  letter-spacing:-.5px;
}
.hero-copy p{
  margin:0 0 18px;
  color:rgba(31,20,11,.74);
  font-size:16px;
  line-height:1.55;
}
.hero-cta{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom:14px; }
.hero-badges{ display:flex; gap:8px; flex-wrap:wrap; }
.pill{
  display:inline-flex;
  padding:7px 10px;
  border-radius:999px;
  background:#fff;
  border:1px solid var(--border);
  color:rgba(31,20,11,.80);
  font-weight:900;
  font-size:12px;
}

/* Card */
.card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:14px;
}

/* Products */
.product-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:12px;
}
.product-card{
  border:1px solid var(--border);
  border-radius:14px;
  padding:12px;
  background:#fff;
  box-shadow:0 1px 0 rgba(31,20,11,.03);
}
.product-card:hover{ box-shadow:var(--shadow); }
.product-img{
  height:84px;
  border-radius:12px;
  background:linear-gradient(135deg, rgba(255,225,115,.60), rgba(162,203,2,.14));
  border:1px solid rgba(231,220,199,.65);
  margin-bottom:10px;
}
.product-name{ font-weight:900; margin-bottom:6px; }
.product-price{ color:rgba(31,20,11,.72); font-weight:900; margin-bottom:10px; }

/* Sections */
.section{ padding:28px 0; }
.section-soft{
  background:#fff;
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
}
.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:14px;
  margin-bottom:14px;
}
.section-head h2{ margin:0; font-size:22px; }

/* Categories */
.category-grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap:12px;
}
.category-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:16px;
  padding:14px;
  box-shadow:0 1px 0 rgba(31,20,11,.03);
}
.category-card:hover{ box-shadow:var(--shadow); }
.category-ico{ font-size:20px; margin-bottom:8px; }
.category-name{ font-weight:900; margin-bottom:4px; }

/* Features */
.feature-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:12px;
}
.feature{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:16px;
  padding:14px;
  box-shadow:0 1px 0 rgba(31,20,11,.03);
}
.feature:hover{ box-shadow:var(--shadow); }
.feature-title{ font-weight:900; margin-bottom:6px; }

/* ============ Footer ============ */
.site-footer{
  background:
    radial-gradient(800px 280px at 18% 10%, var(--brand-glow), transparent 60%),
    radial-gradient(700px 260px at 82% 30%, var(--accent-glow), transparent 60%),
    linear-gradient(135deg, var(--footer-bg-1), var(--footer-bg-2));
  color: var(--footer-text);
  margin-top: 80px;
  border-top: 1px solid var(--footer-border);
}

.site-footer .footer-inner{
  max-width:1150px;
  margin:0 auto;
  padding:40px 16px 26px;
  display:grid;
  grid-template-columns: 240px 140px 1fr; /* brand | links | about */
  gap:40px;
  align-items:start;
}

.site-footer .footer-brand{ text-align:left; }
.site-footer .footer-logo{
  display:block;
  max-width:160px;
  height:auto;
  margin-bottom:12px;
}
.site-footer .footer-copy{
  display:block;
  margin-top:6px;
  font-size:12px;
  color: rgba(251,247,239,.55);
}

.site-footer .footer-links{
  display:flex;
  flex-direction:column;
  gap:10px;
  align-items:flex-start;
  padding-top:6px;
}
.site-footer .footer-links a{
  color: var(--footer-link);
  font-size:14px;
  font-weight:800;
  border-bottom:1px solid transparent;
  width: fit-content;
}
.site-footer .footer-links a:hover{
  border-bottom-color: var(--brand);
}

.site-footer .footer-about{
  font-size:14px;
  line-height:1.65;
  color: rgba(251,247,239,.75);
  max-width:560px;
}

.site-footer .footer-bottom{
  max-width:1150px;
  margin:0 auto;
  padding:14px 16px 22px;
  border-top:1px solid rgba(251,247,239,.12);
  display:flex;
  justify-content:space-between;
  gap:14px;
  font-size:13px;
  color: rgba(251,247,239,.65);
}
.site-footer .footer-bottom a{
  color: rgba(251,247,239,.85);
}
.site-footer .footer-bottom a:hover{
  text-decoration:underline;
}

/* ============ Responsive ============ */
@media (max-width: 980px){
  .hero-inner{ grid-template-columns:1fr; }
  .product-grid{ grid-template-columns:1fr; }
  .category-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-grid{ grid-template-columns:1fr; }
  .hero-copy h1{ font-size:34px; }

  .shop-brand__name{ display:none; }
  .shop-action__text{ display:none; }
}

@media (max-width: 720px){
  .shop-search{ display:none; }
}

@media (max-width: 900px){
  .site-footer .footer-inner{
    grid-template-columns: 1fr;
    text-align:center;
  }
  .site-footer .footer-brand{ text-align:center; }
  .site-footer .footer-links{ align-items:center; }
  .site-footer .footer-bottom{
    flex-direction:column;
    align-items:center;
    text-align:center;
  }
}
