/* Kennelmallen – samma för alla kennlar. Färgerna sätts per kennel i en <style> i sidan.
   Mobil först: grundreglerna gäller mobilen, @media-blocken längst ner gör det bredare. */

:root {
  --ink: #2b2723;
  --ink-muted: #665c4f;
  --field-border: #857c6d; /* kant på formulärfält, minst 3:1 mot alla teman */
  --radius: 14px;
  --font-head: 'Nunito', 'Trebuchet MS', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

h1,
h2,
h3 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.2;
}

h2 {
  font-size: 1.6rem;
  margin-bottom: 1.4rem;
}

h3 {
  font-size: 1.05rem;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 16px;
}

.section {
  padding: 56px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.eyebrow {
  color: var(--highlight-text);
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 0.76rem;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* ===== Förhandsvisning ===== */

.preview-bar {
  background: #ffe28a;
  color: #3b2f00;
  padding: 10px 16px;
  font-size: 0.9rem;
  text-align: center;
}

.preview-bar a {
  font-weight: 700;
  margin-left: 6px;
}

/* ===== Knappar och märken ===== */

.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: 30px;
  text-decoration: none;
  transition: transform 0.15s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-outline {
  border: 2px solid var(--border);
  color: var(--ink);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-small {
  padding: 9px 18px;
  font-size: 0.85rem;
}

.btn-full {
  width: 100%;
  text-align: center;
}

.badge {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 4px 12px;
  border-radius: 20px;
  margin: 0.3rem 0 0.6rem;
}

/* ===== Bilder ===== */

.photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

.ph-img {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  background: var(--accent-soft);
  color: var(--ink-muted);
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  padding: 16px;
}

/* ===== Sidhuvud ===== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 16px;
  position: relative;
}

.logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.15rem;
  text-decoration: none;
  color: var(--ink);
}

.burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
}

.burger span {
  display: block;
  height: 2px;
  width: 24px;
  background: var(--ink);
  margin: 0 auto;
}

.main-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 12px 16px 20px;
}

.main-nav.open {
  display: flex;
}

.main-nav a {
  font-weight: 600;
  color: var(--ink-muted);
  text-decoration: none;
  padding: 10px 0;
}

.main-nav a:hover {
  color: var(--ink);
}

.main-nav .nav-cta {
  color: var(--accent);
}

/* ===== Startsektion ===== */

.hero {
  padding: 40px 0 56px;
}

.hero-grid {
  display: grid;
  gap: 32px;
}

.hero h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.hero-sub {
  color: var(--ink-muted);
  font-size: 1.05rem;
  margin-bottom: 1.6rem;
}

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

/* ===== Nyheter ===== */

.news-grid,
.dogs-grid,
.matings-grid {
  display: grid;
  gap: 20px;
}

.news-card,
.mating-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}

.news-date {
  font-size: 0.78rem;
  color: var(--highlight-text);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0.2rem 0 0.5rem;
}

.news-card h3 {
  margin-bottom: 0.4rem;
}

.news-card p,
.mating-card p,
.litter-info p,
.dog-card-body p {
  color: var(--ink-muted);
  font-size: 0.92rem;
}

/* ===== Hundar ===== */

.dogs-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 1.6rem;
}

.dogs-tab {
  background: var(--card);
  color: var(--accent);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 9px 18px;
  border-radius: 20px;
  border: 2px solid var(--border);
  cursor: pointer;
}

.dogs-tab:hover {
  border-color: var(--accent);
}

.dogs-tab.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.dog-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.dog-card[hidden] {
  display: none;
}

.dog-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: none;
  border-radius: 0;
}

.dog-card-body {
  padding: 18px 20px 22px;
}

.dog-sex {
  color: var(--accent);
}

.dog-meta {
  margin-top: 0.2rem;
}

.dog-merits {
  font-weight: 600;
}

.dog-health {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0.5rem 0;
}

.dog-health li {
  font-size: 0.76rem;
  color: var(--ink-muted);
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: 20px;
}

.dog-card-body .dog-regnr {
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}

.dog-regnr a {
  color: var(--accent);
  font-weight: 600;
}

/* ===== Parningar och kullar ===== */

.mating-pair {
  font-size: 1.1rem;
}

.litters {
  display: grid;
  gap: 24px;
}

.litter-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.litter-top {
  display: grid;
  gap: 20px;
  align-items: center;
}

.sub-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
  margin: 1.6rem 0 0.8rem;
}

/* ===== Valparna i en kull ===== */

.puppy-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.puppy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px 8px 12px;
  font-size: 0.88rem;
}

.puppy img,
.puppy-ph {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 6px;
}

.puppy-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 2rem;
}

.puppy-name {
  font-weight: 700;
}

.puppy-color {
  color: var(--ink-muted);
}

.puppy-status {
  align-self: flex-start;
  margin-top: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
}

.status-free {
  background: #dcefe0;
  color: #1d5130;
}

.status-reserved {
  background: #fdebc8;
  color: #6b4500;
}

.status-taken {
  background: var(--bg-alt);
  color: var(--ink-muted);
}

/* ===== Gallerier och bildvisaren ===== */

.puppy-photo-btn,
.dog-photo-btn,
.thumb-grid button {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: zoom-in;
  position: relative;
}

.photo-count {
  position: absolute;
  right: 10px;
  bottom: 10px;
  background: rgba(0, 0, 0, 0.68);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
}

.thumb-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.thumb-grid-wide {
  margin-top: 28px;
}

.thumb-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
}

.thumb-grid button:hover img,
.puppy-photo-btn:hover img {
  opacity: 0.88;
}

.lightbox {
  border: none;
  padding: 0;
  margin: 0;
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  background: rgba(15, 12, 10, 0.94);
}

.lightbox[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox img {
  max-width: 100%;
  max-height: calc(100vh - 80px);
  object-fit: contain;
}

.lightbox-count {
  position: absolute;
  top: 16px;
  left: 16px;
  color: #fff;
  font-size: 0.9rem;
}

.lightbox-btn {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.lightbox-close {
  top: 10px;
  right: 10px;
}

.lightbox-prev {
  left: 10px;
  bottom: 16px;
}

.lightbox-next {
  right: 10px;
  bottom: 16px;
}

/* ===== Egna sidor ===== */

.custom-page {
  max-width: 820px;
}

.custom-page h1 {
  font-size: 2rem;
  margin-bottom: 1.2rem;
}

.custom-page-photo {
  margin-bottom: 1.6rem;
}

.custom-page-body p,
.om-text p {
  color: var(--ink-muted);
  margin-bottom: 1rem;
}

.text-list {
  color: var(--ink-muted);
  padding-left: 1.3rem;
  margin-bottom: 1rem;
}

.text-list li {
  margin-bottom: 0.3rem;
}

.custom-page-body a,
.om-text a {
  color: var(--accent);
  font-weight: 600;
}

.main-nav a[aria-current="page"] {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 6px;
}

.litter-info h3 {
  font-size: 1.25rem;
}

.litter-info p {
  margin-bottom: 1rem;
}

/* ===== Om oss ===== */

.om-grid {
  display: grid;
  gap: 32px;
  align-items: center;
}

.om-text p {
  color: var(--ink-muted);
  margin-bottom: 1rem;
}

.checklist {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-top: 1.2rem;
}

.checklist li {
  position: relative;
  padding-left: 28px;
  font-weight: 500;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 14px;
  height: 14px;
  border: 2px solid var(--highlight);
  border-radius: 4px;
}

/* ===== "Ett djur är ingen leksak" ===== */

.welfare {
  padding: 32px 0;
}

.welfare-sign {
  background: #ffe066;
  color: #8f1616;
  border: 3px solid #8f1616;
  border-radius: var(--radius);
  padding: 20px 22px;
  font-weight: 600;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.welfare-sign strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.25rem;
  margin-bottom: 0.3rem;
}

/* ===== Intresseanmälan ===== */

.intresse-grid {
  display: grid;
  gap: 32px;
}

.intresse-info p {
  color: var(--ink-muted);
  margin-bottom: 1rem;
}

.intresse-info .process-title {
  color: var(--ink);
  font-weight: 700;
  margin-top: 1.4rem;
}

.process-list {
  list-style: none;
  display: grid;
  gap: 12px;
  counter-reset: step;
}

.process-list li {
  counter-increment: step;
  position: relative;
  padding-left: 36px;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.process-list li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kontakt-form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  display: grid;
  gap: 16px;
}

.form-row {
  display: grid;
  gap: 6px;
}

.form-row label {
  font-size: 0.9rem;
  font-weight: 600;
}

.optional {
  font-weight: 400;
  color: var(--ink-muted);
}

.form-row input,
.form-row textarea,
.form-row select {
  background: var(--bg);
  border: 1px solid var(--field-border);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  width: 100%;
}

.form-row textarea {
  resize: vertical;
}

.trap {
  position: absolute;
  left: -9999px;
}

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.88rem;
  color: var(--ink-muted);
}

.consent input {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  flex-shrink: 0;
}

.form-message {
  font-weight: 600;
  min-height: 1.5em;
}

.form-message.error {
  color: #a32020;
}

/* ===== Sidfot ===== */

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer-main {
  display: grid;
  gap: 28px;
  padding-top: 40px;
  padding-bottom: 32px;
}

.footer-main p {
  color: var(--ink-muted);
  font-size: 0.92rem;
}

.footer-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.8rem;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-contact a {
  color: var(--ink-muted);
}

.footer-contact a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 16px;
  padding-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  color: var(--ink-muted);
  font-size: 0.82rem;
}

.footer-bottom a {
  color: var(--ink-muted);
}

/* ===== Integritetssidan ===== */

.back-link {
  font-weight: 600;
  color: var(--ink-muted);
  text-decoration: none;
}

.back-link:hover {
  color: var(--accent);
}

.privacy {
  max-width: 720px;
}

.privacy h1 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.privacy h2 {
  font-size: 1.15rem;
  margin: 1.8rem 0 0.5rem;
}

.privacy p {
  color: var(--ink-muted);
  margin-bottom: 0.8rem;
}

.privacy a {
  color: var(--accent);
}

.consent a {
  color: var(--accent);
}

/* ===== Små effekter för alla stilar ===== */

.dog-photo-btn {
  overflow: hidden;
}

.dog-photo-btn img,
.thumb-grid img {
  transition: transform 0.5s ease;
}

.dog-photo-btn:hover img,
.thumb-grid button:hover img {
  transform: scale(1.04);
}

.thumb-grid button {
  overflow: hidden;
  border-radius: 8px;
}

/* =====================================================================
   STIL: ELEGANT
   Stor bild över hela bredden, serif-rubriker, centrerade rubriker med
   en liten tass, rakare hörn och mörk sidfot. Allt gäller bara när
   <body class="style-elegant">.
   ===================================================================== */

.style-elegant {
  --font-head: 'Fraunces', Georgia, 'Times New Roman', serif;
  --radius: 6px;
}

.style-elegant h1,
.style-elegant h2,
.style-elegant h3 {
  font-weight: 600;
  letter-spacing: -0.01em;
}

.style-elegant .logo {
  font-weight: 600;
  font-size: 1.3rem;
}

.style-elegant .eyebrow {
  letter-spacing: 4px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.72rem;
}

/* Knappar: raka, versaler, luftiga */
.style-elegant .btn {
  border-radius: 3px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 14px 26px;
}

/* Startbilden täcker hela bredden, texten ligger ovanpå */
.style-elegant .hero {
  position: relative;
  padding: 0;
  min-height: 72vh;
  display: flex;
  align-items: center;
  color: #fff;
  background: #2b2723;
  overflow: hidden;
}

.style-elegant .hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.style-elegant .hero-media .photo {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  border-radius: 0;
  object-fit: cover;
}

.style-elegant .hero-media .ph-img {
  height: 100%;
  aspect-ratio: auto;
  border: none;
  border-radius: 0;
  background: linear-gradient(135deg, var(--accent), #2b2723);
  color: rgba(255, 255, 255, 0.5);
  align-items: flex-end;
  padding-bottom: 24px;
}

/* Mörk ton över bilden så att texten alltid går att läsa */
.style-elegant .hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(20, 16, 12, 0.35) 0%, rgba(20, 16, 12, 0.72) 100%);
}

/* Rutnätet får inte vara "position: relative" – då skulle bilden fastna i det i stället för att täcka hela sektionen */
.style-elegant .hero-grid {
  display: block;
  padding-top: 88px;
  padding-bottom: 88px;
}

.style-elegant .hero-text {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.style-elegant .hero .eyebrow {
  color: var(--hero-highlight);
}

.style-elegant .hero h1 {
  font-size: 2.5rem;
  line-height: 1.12;
  margin-bottom: 1.2rem;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}

.style-elegant .hero-sub {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.08rem;
}

.style-elegant .hero .btn-primary {
  background: var(--hero-highlight);
  color: #2b2723;
}

.style-elegant .hero .btn-outline {
  border-color: rgba(255, 255, 255, 0.8);
  color: #fff;
}

.style-elegant .hero .btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
}

/* Rubriker i sektionerna: centrerade, med en liten tass ovanför och ett streck under */
.style-elegant .section > .container > .eyebrow,
.style-elegant .section > .container > h2 {
  text-align: center;
}

.style-elegant .section > .container > .eyebrow::before {
  content: "";
  display: block;
  width: 22px;
  height: 22px;
  margin: 0 auto 12px;
  background: var(--highlight);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cellipse cx='6' cy='9' rx='2.2' ry='3'/%3E%3Cellipse cx='10.5' cy='5.5' rx='2.2' ry='3'/%3E%3Cellipse cx='15.5' cy='5.5' rx='2.2' ry='3'/%3E%3Cellipse cx='20' cy='9' rx='2.2' ry='3'/%3E%3Cpath d='M13 11c-3.5 0-7 4.5-7 7.5 0 2 1.6 3 3.3 3 1.6 0 2.3-1 3.7-1s2.1 1 3.7 1c1.7 0 3.3-1 3.3-3 0-3-3.5-7.5-7-7.5z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cellipse cx='6' cy='9' rx='2.2' ry='3'/%3E%3Cellipse cx='10.5' cy='5.5' rx='2.2' ry='3'/%3E%3Cellipse cx='15.5' cy='5.5' rx='2.2' ry='3'/%3E%3Cellipse cx='20' cy='9' rx='2.2' ry='3'/%3E%3Cpath d='M13 11c-3.5 0-7 4.5-7 7.5 0 2 1.6 3 3.3 3 1.6 0 2.3-1 3.7-1s2.1 1 3.7 1c1.7 0 3.3-1 3.3-3 0-3-3.5-7.5-7-7.5z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.style-elegant .section > .container > h2 {
  margin-bottom: 2.6rem;
}

.style-elegant .section > .container > h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 1px;
  margin: 20px auto 0;
  background: var(--highlight);
}

.style-elegant .dogs-tabs {
  justify-content: center;
}

.style-elegant .dogs-tab {
  border-radius: 3px;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.74rem;
}

/* Kort: tunnare och lugnare */
.style-elegant .news-card,
.style-elegant .mating-card {
  border-top: 3px solid var(--highlight);
}

.style-elegant .dog-card h3,
.style-elegant .litter-info h3,
.style-elegant .mating-pair {
  font-size: 1.3rem;
}

.style-elegant .badge,
.style-elegant .puppy-status {
  border-radius: 3px;
  letter-spacing: 0.5px;
}

.style-elegant .photo,
.style-elegant .thumb-grid img,
.style-elegant .thumb-grid button {
  border-radius: 3px;
}

/* Mörk sidfot */
.style-elegant .site-footer {
  background: #24201c;
  border-top: none;
  color: #f3ede4;
}

.style-elegant .site-footer .logo {
  color: #fff;
}

.style-elegant .footer-main p,
.style-elegant .footer-contact a,
.style-elegant .footer-contact span,
.style-elegant .footer-bottom,
.style-elegant .footer-bottom a {
  color: #cfc5b8;
}

.style-elegant .footer-contact a:hover,
.style-elegant .footer-bottom a:hover {
  color: #fff;
}

.style-elegant .footer-bottom {
  border-top-color: rgba(255, 255, 255, 0.15);
}

.style-elegant .footer-title {
  font-family: var(--font-body);
  color: #fff;
  letter-spacing: 3px;
}

/* =====================================================================
   STIL: LEKFULL
   Rundade typsnitt och kort, bilden som en mjuk "klick", tassavtryck i
   bakgrunden och vågor mellan delarna. Gäller bara när
   <body class="style-lekfull">.
   ===================================================================== */

.style-lekfull {
  --font-head: 'Quicksand', 'Nunito', 'Trebuchet MS', sans-serif;
  --radius: 24px;
  /* Tassen som används på flera ställen (fylld form, färgas med background) */
  --paw: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cellipse cx='6' cy='9' rx='2.2' ry='3'/%3E%3Cellipse cx='10.5' cy='5.5' rx='2.2' ry='3'/%3E%3Cellipse cx='15.5' cy='5.5' rx='2.2' ry='3'/%3E%3Cellipse cx='20' cy='9' rx='2.2' ry='3'/%3E%3Cpath d='M13 11c-3.5 0-7 4.5-7 7.5 0 2 1.6 3 3.3 3 1.6 0 2.3-1 3.7-1s2.1 1 3.7 1c1.7 0 3.3-1 3.3-3 0-3-3.5-7.5-7-7.5z'/%3E%3C/svg%3E");
  /* Vågen: fylld nedtill, vågig kant upptill */
  --wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 40' preserveAspectRatio='none'%3E%3Cpath d='M0 40V22C150 2 300 2 450 16S750 38 900 22 1100 4 1200 14V40Z'/%3E%3C/svg%3E");
}

.style-lekfull h1,
.style-lekfull h2,
.style-lekfull h3 {
  font-weight: 700;
}

.style-lekfull .logo {
  font-size: 1.25rem;
}

/* Startsektionen: mjuk bakgrund med tassavtryck */
.style-lekfull .hero {
  position: relative;
  background-color: var(--accent-soft);
  overflow: hidden;
}

.style-lekfull .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--highlight);
  opacity: 0.07;
  -webkit-mask: var(--paw) 0 0 / 46px 46px space;
  mask: var(--paw) 0 0 / 46px 46px space;
  pointer-events: none;
}

/* Våg i underkanten av startsektionen, över till sidans vanliga bakgrund */
.style-lekfull .hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 36px;
  background: var(--bg);
  -webkit-mask: var(--wave) center / 100% 100% no-repeat;
  mask: var(--wave) center / 100% 100% no-repeat;
  pointer-events: none;
}

.style-lekfull .hero-grid {
  position: relative;
}

.style-lekfull .hero h1 {
  font-size: 2.3rem;
}

/* Bilden som en mjuk klick med en färgad skugga bakom */
.style-lekfull .hero-media .photo,
.style-lekfull .hero-media .ph-img {
  border-radius: 58% 42% 55% 45% / 50% 58% 42% 50%;
  aspect-ratio: 1 / 1;
  box-shadow: 14px 16px 0 var(--highlight);
  border: 6px solid var(--card);
}

.style-lekfull .hero-media {
  padding: 0 14px 16px 0;
}

/* Små etiketter med en tass i */
.style-lekfull .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 30px;
  padding: 6px 14px;
  letter-spacing: 1.5px;
}

.style-lekfull .eyebrow::before {
  content: "";
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  background: var(--highlight);
  -webkit-mask: var(--paw) center / contain no-repeat;
  mask: var(--paw) center / contain no-repeat;
}

/* Rubriker i sektionerna centreras */
.style-lekfull .section > .container > h2 {
  text-align: center;
}

.style-lekfull .section > .container > .eyebrow {
  display: flex;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.style-lekfull .dogs-tabs {
  justify-content: center;
}

/* Vågor ovanför och under de färgade delarna */
.style-lekfull .section-alt {
  position: relative;
}

.style-lekfull .section-alt::before,
.style-lekfull .section-alt::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 36px;
  background: var(--bg-alt);
  -webkit-mask: var(--wave) center / 100% 100% no-repeat;
  mask: var(--wave) center / 100% 100% no-repeat;
  pointer-events: none;
}

.style-lekfull .section-alt::before {
  top: -35px;
}

.style-lekfull .section-alt::after {
  bottom: -35px;
  transform: scaleY(-1);
  z-index: 1;
}

/* Sista delen före sidfoten: där tar sidfotens egen våg över */
.style-lekfull main > .section-alt:last-child::after {
  display: none;
}

/* Kort: rundare, och hoppar upp lite när man pekar på dem */
.style-lekfull .dog-card,
.style-lekfull .news-card,
.style-lekfull .mating-card,
.style-lekfull .litter-card {
  border-width: 2px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.style-lekfull .dog-card:hover,
.style-lekfull .news-card:hover,
.style-lekfull .mating-card:hover {
  transform: translateY(-4px) rotate(-0.4deg);
  box-shadow: 0 10px 0 var(--accent-soft);
}

.style-lekfull .btn-primary {
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.18);
}

.style-lekfull .btn-primary:hover {
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.18);
}

.style-lekfull .photo,
.style-lekfull .thumb-grid img,
.style-lekfull .thumb-grid button {
  border-radius: 18px;
}

.style-lekfull .puppy {
  border-radius: 20px;
  border-width: 2px;
}

.style-lekfull .puppy img,
.style-lekfull .puppy-ph {
  border-radius: 50%;
}

.style-lekfull .welfare-sign {
  border-radius: 24px;
}

.style-lekfull .kontakt-form {
  border-width: 2px;
}

/* Sidfoten får egen våg och mjuk färg */
.style-lekfull .site-footer {
  position: relative;
  background: var(--accent-soft);
  border-top: none;
}

.style-lekfull .site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -35px;
  height: 36px;
  background: var(--accent-soft);
  -webkit-mask: var(--wave) center / 100% 100% no-repeat;
  mask: var(--wave) center / 100% 100% no-repeat;
}

.style-lekfull .footer-bottom {
  border-top-color: var(--border);
}

/* ===== Surfplatta ===== */

@media (min-width: 640px) {
  .container {
    padding: 0 24px;
  }

  .news-grid,
  .dogs-grid,
  .matings-grid {
    grid-template-columns: 1fr 1fr;
  }

  .litter-card {
    padding: 28px;
  }

  .litter-top {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .litter-top > .litter-info:only-child {
    grid-column: 1 / -1;
  }

  .puppy-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .thumb-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .lightbox-prev,
  .lightbox-next {
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
  }

  .kontakt-form {
    padding: 30px;
  }

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

/* ===== Dator ===== */

@media (min-width: 900px) {
  h2 {
    font-size: 2.1rem;
  }

  .section {
    padding: 88px 0;
  }

  .burger {
    display: none;
  }

  .main-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 24px;
    position: static;
    padding: 0;
    border: none;
    background: none;
  }

  .main-nav a {
    font-size: 0.92rem;
    padding: 0;
  }

  .main-nav .nav-cta {
    background: var(--accent);
    color: #fff;
    padding: 9px 20px;
    border-radius: 30px;
  }

  .main-nav .nav-cta:hover {
    color: #fff;
  }

  .hero {
    padding: 72px 0 88px;
  }

  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
  }

  .hero h1 {
    font-size: 2.9rem;
  }

  .news-grid,
  .dogs-grid,
  .matings-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .om-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 48px;
  }

  .om-grid > .om-text:only-child {
    grid-column: 1 / -1;
    max-width: 720px;
  }

  .intresse-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 48px;
  }

  .puppy-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .thumb-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .main-nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    row-gap: 8px;
  }

  .style-elegant .hero {
    min-height: 82vh;
  }

  .style-elegant .hero h1 {
    font-size: 4rem;
  }

  .style-elegant .main-nav a {
    font-size: 0.78rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
  }

  .style-elegant .main-nav .nav-cta {
    border-radius: 3px;
  }

  .style-lekfull .hero h1 {
    font-size: 3.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .style-lekfull .dog-card,
  .style-lekfull .news-card,
  .style-lekfull .mating-card {
    transition: none;
  }

  .style-lekfull .dog-card:hover,
  .style-lekfull .news-card:hover,
  .style-lekfull .mating-card:hover {
    transform: none;
  }

  .dog-photo-btn img,
  .thumb-grid img {
    transition: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn {
    transition: none;
  }
}
