/* ============================================================
   – Custom CSS
   Typsnitt: Syne (headings) + DM Sans (body)
   Färgpalett: Djupblå primär, Kobolt-accent, Vit/ljusgrå bakgrund
   ============================================================ */

/* --- Variabler --- */
:root {
  /* Kortsnabben.se – färgpalett från logotyp */
  --pk-blue:       #0B1F3A;   /* Mörkblå konturer */
  --pk-blue-mid:   #1E73B8;   /* Mellanblå kort & detaljer */
  --pk-accent:     #1E73B8;   /* Primär accentfärg (blå) */
  --pk-accent-alt: #4FA3E3;   /* Ljusblå highlight */
  --pk-gold:       #F57C00;   /* Orange – ".se" & CTA */
  --pk-gold-light: #FF9A2A;   /* Ljusare orange gradient */
  --pk-light:      #f8fafc;
  --pk-gray:       #64748b;
  --pk-border:     #e2e8f0;
  --pk-white:      #ffffff;
  --radius-sm:     6px;
  --radius-md:     12px;
  --radius-lg:     20px;
  --shadow-sm:     0 1px 3px rgba(11,31,58,.08);
  --shadow-md:     0 4px 20px rgba(11,31,58,.12);
  --shadow-lg:     0 12px 40px rgba(11,31,58,.18);
  --transition:    .25s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #1e293b;
  background: var(--pk-white);
}

h1, h2, h3, h4, h5, h6,
.navbar-brand .brand-text,
.hero-title, .section-title {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

a { color: var(--pk-accent); text-decoration: none; }
a:hover { color: var(--pk-blue); }

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

/* ============================================================
   TOPBAR
   ============================================================ */
.topbar {
  background: var(--pk-blue);
  color: rgba(255,255,255,.75);
  font-size: .82rem;
  padding: 7px 0;
}
.topbar a { color: inherit; }
.badge-topbar {
  background: rgba(30,115,184,.25);
  color: rgba(255,255,255,.9);
  border-radius: 100px;
  padding: 2px 10px;
  font-size: .78rem;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar-main {
  background: var(--pk-white);
  border-bottom: 2px solid rgba(245,124,0,.15);
  padding: 12px 0;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}
.navbar-main.scrolled { box-shadow: var(--shadow-md); }

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--pk-blue) !important;
}
.brand-icon {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--pk-gold), var(--pk-gold-light));
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  color: white;
  font-size: 1.15rem;
}
.brand-text {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -.5px;
}

/* Logo bild i navbar */
.navbar-logo {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: var(--pk-blue);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  background: rgba(245,124,0,.08);
  color: var(--pk-accent);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn { font-family: 'DM Sans', sans-serif; font-weight: 600; border-radius: var(--radius-sm); transition: all var(--transition); }

.btn-primary {
  background: var(--pk-gold);
  border-color: var(--pk-gold);
  color: #fff;
}
.btn-primary:hover {
  background: var(--pk-gold-light);
  border-color: var(--pk-gold-light);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(245,124,0,.4);
}

.btn-outline-primary { border-color: var(--pk-blue-mid); color: var(--pk-blue-mid); }
.btn-outline-primary:hover { background: var(--pk-blue-mid); border-color: var(--pk-blue-mid); color:#fff; transform: translateY(-1px); }

.btn-gold {
  background: var(--pk-gold);
  border-color: var(--pk-gold);
  color: #fff;
}
.btn-gold:hover {
  background: var(--pk-gold-light);
  border-color: var(--pk-gold-light);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(245,124,0,.4);
}

.btn-lg { padding: .75rem 2rem; font-size: 1rem; }
.btn-xl { padding: 1rem 2.5rem; font-size: 1.1rem; }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, var(--pk-blue) 0%, #163660 50%, var(--pk-blue-mid) 100%);
  padding: 100px 0 80px;
  overflow: hidden;
  color: white;
}
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-blob {
  position: absolute;
  right: -10%;
  top: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(30,115,184,.3) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
}
.hero-title .accent { color: var(--pk-gold-light); }

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,.8);
  font-weight: 300;
  max-width: 520px;
}

.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-badge {
  background: rgba(245,124,0,.15);
  border: 1px solid rgba(245,124,0,.3);
  border-radius: 100px;
  padding: 5px 14px;
  font-size: .85rem;
  color: rgba(255,255,255,.9);
  backdrop-filter: blur(4px);
}

/* Hero card mockup */
.hero-visual { position: relative; }
.card-mockup {
  position: relative;
  width: 380px;
  max-width: 100%;
  margin: 0 auto;
}
.card-mockup .mock-card {
  width: 340px;
  height: 214px;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,.1);
  transition: transform .4s ease;
}
.card-mockup .mock-card:first-child {
  background: linear-gradient(135deg, #0B1F3A, #1E73B8);
  transform: rotate(-8deg) translateX(-20px);
  z-index: 1;
}
.card-mockup .mock-card:nth-child(2) {
  background: linear-gradient(135deg, #163660, #0B1F3A);
  transform: rotate(-2deg) translateY(-180px) translateX(40px);
  z-index: 2;
}
.card-mockup .mock-card:last-child {
  background: linear-gradient(135deg, var(--pk-gold), var(--pk-gold-light));
  transform: rotate(5deg) translateY(-380px) translateX(10px);
  z-index: 3;
}
.mock-card-chip {
  width: 45px; height: 35px;
  background: linear-gradient(135deg, #fbbf24, #d97706);
  border-radius: 5px;
  position: absolute;
  left: 24px; top: 50px;
}
.mock-card-logo {
  position: absolute;
  right: 20px; bottom: 20px;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: rgba(255,255,255,.9);
}
.mock-card-line {
  position: absolute;
  left: 24px; bottom: 28px;
  font-size: .7rem;
  color: rgba(255,255,255,.6);
  letter-spacing: 2px;
}

/* ============================================================
   SECTION UTILITIES
   ============================================================ */
.section { padding: 80px 0; }
.section-sm { padding: 50px 0; }
.section-bg { background: var(--pk-light); }

.section-label {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--pk-gold);
  display: block;
  margin-bottom: 8px;
}
.section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--pk-blue);
  letter-spacing: -.5px;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--pk-gray);
  max-width: 600px;
}

/* ============================================================
   PRODUCT CARDS
   ============================================================ */
.product-card {
  background: white;
  border: 1px solid var(--pk-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--pk-accent);
}
.product-card-img {
  height: 200px;
  background: linear-gradient(135deg, var(--pk-light), #dbeafe);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.product-card-img img { width: 100%; height: 100%; object-fit: cover; }
.product-card-img .placeholder-icon {
  font-size: 4rem;
  color: var(--pk-accent);
  opacity: .4;
}
.product-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--pk-gold);
  color: white;
  font-size: .72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: .5px;
}
.product-badge.badge-gold { background: var(--pk-gold); color: var(--pk-blue); }

.product-card-body { padding: 20px; flex: 1; }
.product-card-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--pk-blue);
  margin-bottom: 8px;
}
.product-card-desc {
  font-size: .9rem;
  color: var(--pk-gray);
  line-height: 1.5;
  margin-bottom: 12px;
}
.product-card-price {
  font-size: .85rem;
  color: var(--pk-gray);
}
.product-card-price strong { font-size: 1.1rem; color: var(--pk-blue); }

.product-card-footer {
  padding: 0 20px 20px;
}

/* ============================================================
   FEATURES / FÖRDELAR
   ============================================================ */
.feature-card {
  padding: 32px 28px;
  border-radius: var(--radius-md);
  background: white;
  border: 1px solid var(--pk-border);
  transition: transform var(--transition), box-shadow var(--transition);
  height: 100%;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.feature-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--pk-gold), var(--pk-gold-light));
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  color: white;
  margin-bottom: 20px;
}
.feature-card h5 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  color: var(--pk-blue);
  margin-bottom: 10px;
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-section {
  background: linear-gradient(135deg, var(--pk-blue), #163660);
  color: white;
  padding: 50px 0;
}
.stat-item { text-align: center; }
.stat-number {
  font-family: 'Syne', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--pk-gold-light);
  line-height: 1;
}
.stat-label {
  font-size: .9rem;
  color: rgba(255,255,255,.7);
  margin-top: 6px;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid var(--pk-border);
  position: relative;
  height: 100%;
}
.testimonial-card::before {
  content: '\201C';
  font-family: Georgia, serif;
  font-size: 5rem;
  color: var(--pk-accent);
  opacity: .15;
  position: absolute;
  top: -10px; left: 20px;
  line-height: 1;
}
.testimonial-stars { color: var(--pk-gold); margin-bottom: 12px; }
.testimonial-text { color: #475569; font-style: italic; margin-bottom: 16px; }
.testimonial-author strong { font-weight: 600; color: var(--pk-blue); display: block; }
.testimonial-author span { font-size: .85rem; color: var(--pk-gray); }

/* ============================================================
   CONTACT SECTION / FORM
   ============================================================ */
.contact-map {
  height: 320px;
  background: linear-gradient(135deg, #dbeafe, #eff6ff);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pk-gray);
  font-size: 1rem;
  border: 1px solid var(--pk-border);
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.contact-info-icon {
  width: 44px; height: 44px;
  background: rgba(245,124,0,.08);
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  color: var(--pk-accent);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-info-item h6 { font-weight: 700; color: var(--pk-blue); margin-bottom: 2px; }
.contact-info-item p { color: var(--pk-gray); margin: 0; font-size: .95rem; }

.form-card {
  background: white;
  border: 1px solid var(--pk-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.form-control, .form-select {
  border: 1px solid var(--pk-border);
  border-radius: var(--radius-sm);
  padding: .6rem 1rem;
  font-size: .95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control:focus, .form-select:focus {
  border-color: var(--pk-accent);
  box-shadow: 0 0 0 3px rgba(30,115,184,.12);
}
.form-label { font-weight: 500; color: var(--pk-blue); margin-bottom: .35rem; font-size: .9rem; }

.alert { border-radius: var(--radius-sm); border: none; font-weight: 500; }
.alert-success { background: #dcfce7; color: #166534; }
.alert-danger  { background: #fee2e2; color: #991b1b; }

/* Honeypot – dolt fält */
.hp-field { display: none !important; }

/* ============================================================
   PRODUKTSIDA
   ============================================================ */
.product-gallery-main {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--pk-light);
  border: 1px solid var(--pk-border);
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-gallery-main img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}
.gallery-thumbs { display: flex; gap: 10px; margin-top: 10px; }
.gallery-thumb {
  width: 70px; height: 70px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color var(--transition);
  background: var(--pk-light);
}
.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--pk-accent); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-price-from {
  font-family: 'Syne', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--pk-blue);
}

.price-table th { font-weight: 600; background: var(--pk-light); }
.price-table tr:hover td { background: rgba(30,115,184,.04); }

.nav-tabs .nav-link {
  color: var(--pk-gray);
  font-weight: 500;
  border: none;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  padding: 10px 20px;
}
.nav-tabs .nav-link.active {
  color: var(--pk-gold);
  background: none;
  border-bottom-color: var(--pk-gold);
}

/* ============================================================
   KATEGORISIDA / FILTER
   ============================================================ */
.filter-card {
  background: white;
  border: 1px solid var(--pk-border);
  border-radius: var(--radius-md);
  padding: 24px;
  position: sticky;
  top: 90px;
}
.filter-card h6 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  color: var(--pk-blue);
  margin-bottom: 12px;
  font-size: .95rem;
  border-bottom: 1px solid var(--pk-border);
  padding-bottom: 10px;
}
.filter-reset { font-size: .82rem; color: var(--pk-accent); cursor: pointer; float: right; font-weight: 500; }
.filter-reset:hover { color: var(--pk-blue); }

.form-check-input:checked { background-color: var(--pk-accent); border-color: var(--pk-accent); }

.sort-bar {
  background: white;
  border: 1px solid var(--pk-border);
  border-radius: var(--radius-sm);
  padding: 12px 20px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.sort-bar select { border: none; color: var(--pk-blue); font-weight: 500; font-size: .9rem; }

/* ============================================================
   OM OSS
   ============================================================ */
.timeline { position: relative; padding-left: 40px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 16px; top: 0; bottom: 0;
  width: 2px;
  background: var(--pk-border);
}
.timeline-item { position: relative; margin-bottom: 32px; }
.timeline-dot {
  position: absolute;
  left: -31px; top: 4px;
  width: 14px; height: 14px;
  background: var(--pk-accent);
  border-radius: 50%;
  border: 2px solid white;
  box-shadow: 0 0 0 3px rgba(30,115,184,.2);
}
.timeline-year {
  font-size: .8rem;
  font-weight: 700;
  color: var(--pk-gold);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.timeline-item h6 { font-weight: 700; color: var(--pk-blue); margin-bottom: 4px; }
.timeline-item p { color: var(--pk-gray); font-size: .9rem; margin: 0; }

.value-card {
  text-align: center;
  padding: 36px 24px;
  border-radius: var(--radius-md);
  background: white;
  border: 1px solid var(--pk-border);
  height: 100%;
  transition: transform var(--transition), box-shadow var(--transition);
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.value-icon {
  font-size: 2.5rem;
  color: var(--pk-gold);
  margin-bottom: 16px;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--pk-blue) 0%, #163660 100%);
  color: white;
  padding: 70px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 50%, rgba(30,115,184,.3), transparent 60%);
}
.cta-banner h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -.5px;
  margin-bottom: 16px;
}
.cta-banner p { color: rgba(255,255,255,.75); font-size: 1.05rem; margin-bottom: 32px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--pk-blue); color: rgba(255,255,255,.75); }

.footer-top { padding: 64px 0 48px; }
.footer-brand {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  color: white;
}
.footer-desc { font-size: .9rem; line-height: 1.6; max-width: 340px; }

.footer-heading {
  color: white;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a {
  color: rgba(255,255,255,.6);
  font-size: .9rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: white; }

.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .9rem;
  margin-bottom: 10px;
  color: rgba(255,255,255,.7);
}
.footer-contact a { color: rgba(255,255,255,.7); }
.footer-contact a:hover { color: white; }
.footer-contact i { color: var(--pk-accent); margin-top: 3px; flex-shrink: 0; }

.social-links { display: flex; gap: 10px; }
.social-links a {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.08);
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.7);
  font-size: 1rem;
  transition: background var(--transition), color var(--transition);
}
.social-links a:hover { background: var(--pk-accent); color: white; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
  font-size: .85rem;
  color: rgba(255,255,255,.45);
}
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: white; }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb-bar {
  background: var(--pk-light);
  padding: 14px 0;
  border-bottom: 1px solid var(--pk-border);
}
.breadcrumb { margin: 0; font-size: .88rem; }
.breadcrumb-item a { color: var(--pk-accent); }
.breadcrumb-item.active { color: var(--pk-gray); }

/* ============================================================
   MISC UTILITIES
   ============================================================ */
.text-accent { color: var(--pk-accent); }
.text-gold { color: var(--pk-gold); }
.text-navy { color: var(--pk-blue); }
.bg-navy { background: var(--pk-blue); }
.bg-accent { background: var(--pk-accent); }
.rounded-md { border-radius: var(--radius-md) !important; }

.divider { height: 3px; width: 48px; background: var(--pk-gold); border-radius: 2px; margin-bottom: 20px; }

.icon-circle {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp .5s ease both; }
.delay-1 { animation-delay: .1s; }
.delay-2 { animation-delay: .2s; }
.delay-3 { animation-delay: .3s; }
.delay-4 { animation-delay: .4s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
  .hero-section { padding: 60px 0; }
  .card-mockup { margin-top: 40px; }
  .filter-card { position: static; }
  .form-card { padding: 24px; }
}
@media (max-width: 576px) {
  .section { padding: 50px 0; }
  .stat-number { font-size: 2rem; }
  .btn-xl { padding: .8rem 1.8rem; }
}

/* ============================================================
   SEARCH RESULTS – No products
   ============================================================ */
.no-products {
  text-align: center;
  padding: 60px 20px;
  color: var(--pk-gray);
}
.no-products i { font-size: 3rem; color: var(--pk-border); display: block; margin-bottom: 16px; }

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-accordion { border-radius: var(--radius-md); overflow: hidden; }

.faq-item {
  border: 1px solid var(--pk-border) !important;
  border-radius: var(--radius-sm) !important;
  margin-bottom: 8px;
  overflow: hidden;
}

.faq-item .accordion-button {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  color: var(--pk-blue);
  background: white;
  font-size: .97rem;
  padding: 18px 20px;
  border-radius: 0 !important;
}

.faq-item .accordion-button:not(.collapsed) {
  color: var(--pk-gold);
  background: rgba(30,115,184,.04);
  box-shadow: none;
}

.faq-item .accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23F57C00'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.faq-item .accordion-body {
  padding: 4px 20px 18px;
  border-top: 1px solid var(--pk-border);
  font-size: .95rem;
  line-height: 1.7;
}

/* ============================================================
   MODAL – offert
   ============================================================ */
.modal-content {
  border: none;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.modal-header {
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  border-bottom: none;
  padding: 20px 24px;
}

.modal-body { padding: 28px 24px; }

.modal-footer {
  border-top: 1px solid var(--pk-border);
  padding: 16px 24px;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}

/* ============================================================
   KLICKBART PRODUKT-KORT – extra hover state
   ============================================================ */
a:has(.product-card) { display: block; }
a:has(.product-card):focus-visible .product-card {
  outline: 3px solid var(--pk-accent);
  outline-offset: 2px;
}

/* Säkerställ att cursor är pointer på hela kortet */
.product-card-wrapper a .product-card { cursor: pointer; }

/* ============================================================
   SITEMAP / PRETTY URL STÖD
   ============================================================ */
/* Inget extra CSS behövs – hanteras i .htaccess */

/* ============================================================
   PRISTABELL – inklistrad HTML från admin
   Fungerar med klass på wrapper-div ELLER direkt på table
   ============================================================ */
.price-html-table { overflow-x: auto; }

/* Matchar både: .price-html-table table  OCH  table.price-html-table */
.price-html-table table,
table.price-html-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
  border: 1px solid var(--pk-border);
  overflow: hidden;
}

.price-html-table table thead tr,
table.price-html-table thead tr {
  background: var(--pk-blue-mid);
  color: white;
}

.price-html-table table th,
table.price-html-table th {
  padding: 11px 16px;
  text-align: center;
  font-weight: 600;
  font-family: 'Syne', sans-serif;
  font-size: .82rem;
  letter-spacing: .3px;
  border: none;
  white-space: nowrap;
  color: white;
}

/* Första kolumn vänsterställd (rad-etikett) */
.price-html-table table th:first-child,
.price-html-table table td:first-child,
table.price-html-table th:first-child,
table.price-html-table td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--pk-blue);
  background: var(--pk-light);
  min-width: 180px;
  border-right: 2px solid var(--pk-border);
}

.price-html-table table thead th:first-child,
table.price-html-table thead th:first-child {
  color: white;
  background: #1a3d6e;
  border-right: 2px solid rgba(255,255,255,.15);
}

.price-html-table table td,
table.price-html-table td {
  padding: 10px 16px;
  border: 1px solid var(--pk-border);
  text-align: center;
  vertical-align: middle;
  color: #1e293b;
}

/* Varannan rad */
.price-html-table table tbody tr:nth-child(even) td,
table.price-html-table tbody tr:nth-child(even) td { background: #f8fafc; }

.price-html-table table tbody tr:nth-child(even) td:first-child,
table.price-html-table tbody tr:nth-child(even) td:first-child { background: #eef2f7; }

/* Hover */
.price-html-table table tbody tr:hover td,
table.price-html-table tbody tr:hover td { background: rgba(30,115,184,.05); }

.price-html-table table tbody tr:hover td:first-child,
table.price-html-table tbody tr:hover td:first-child { background: rgba(245,124,0,.08); }
