/*
Theme Name: Cykelcenter Södertälje
Description: Eget tema för Cykelcenter Södertälje – verkstad, cykelförsäljning och tillbehör.
Author: Cykelcenter Södertälje
Version: 1.0
Text Domain: cykelcenter
*/

/* ==========================================================================
   Design-tokens – färger, typsnitt, avstånd
   ========================================================================== */

:root {
  /* Färger */
  --color-red: #b11d2c;
  --color-red-dark: #7d141f;
  --color-red-light: #f6e4e6;
  --color-black: #111111;
  --color-white: #ffffff;
  --color-grey-dark: #2a2a2a;
  --color-grey: #6b6b6b;
  --color-grey-light: #e8e8e8;
  --color-off-white: #f7f6f5;

  /* Typsnitt */
  --font-body: "Lato", -apple-system, BlinkMacSystemFont, sans-serif;

  /* Radie och skugga */
  --radius: 4px;
  --shadow-soft: 0 4px 16px rgba(0, 0, 0, 0.12);

  /* Mobile-first spacing-skala (växer i media queries vid behov) */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;

  /* Container */
  --container-max: 1200px;
  --container-pad: 1.25rem;
}

@media (min-width: 768px) {
  :root {
    --space-lg: 3.5rem;
    --space-xl: 6rem;
    --container-pad: 2rem;
  }
}

/* ==========================================================================
   Reset
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  color: var(--color-black);
  background: var(--color-white);
}

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

a {
  color: inherit;
}

h1, h2, h3, h4, p, ul, ol, figure {
  margin: 0 0 var(--space-sm);
}

h1, h2, h3, h4 {
  font-family: var(--font-body);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-black);
}

h1 { font-size: 2rem; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.25rem; }

@media (min-width: 768px) {
  h1 { font-size: 2.75rem; }
  h2 { font-size: 2.1rem; }
  h3 { font-size: 1.5rem; }
}

button {
  font-family: var(--font-body);
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* ==========================================================================
   Layout-hjälpare
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section {
  padding-block: var(--space-xl);
}

.section[id] {
  scroll-margin-top: 90px;
}

.section--dark {
  background: var(--color-black);
  color: var(--color-white);
}

.section--dark h1,
.section--dark h2,
.section--dark h3 {
  color: var(--color-white);
}

.section--off {
  background: var(--color-off-white);
}

/* ==========================================================================
   Knappar
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn--primary {
  background: var(--color-red);
  color: var(--color-white);
}

.btn--primary:hover {
  background: var(--color-red-dark);
}

.btn--outline {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}

.btn--outline:hover {
  background: var(--color-white);
  color: var(--color-black);
}

/* ==========================================================================
   Site header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, var(--color-red) 0%, var(--color-black) 60%);
  color: var(--color-white);
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-xs);
  min-height: 64px;
}

.site-header__logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  text-decoration: none;
  color: var(--color-white);
}

.site-header__logo-main {
  font-family: 'Lato', sans-serif;
  font-weight: 900;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
}

.site-header__logo-sub {
  margin-top: -0.05rem;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--color-white);
}

@media (min-width: 1024px) {
  .site-header__logo-main {
    font-size: 1.5rem;
  }

  .site-header__logo-sub {
    font-size: 0.75rem;
  }
}

.site-header__toggle {
  background: none;
  border: none;
  color: var(--color-white);
  padding: 0.5rem;
  cursor: pointer;
}

.site-header__toggle svg {
  width: 26px;
  height: 26px;
  display: block;
}

.primary-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--color-black);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.primary-nav.is-open {
  display: block;
}

.primary-nav ul {
  list-style: none;
  margin: 0;
  padding: var(--space-sm) var(--container-pad) var(--space-md);
}

.primary-nav li + li {
  margin-top: 0.25rem;
}

.primary-nav a {
  display: block;
  padding: 0.75rem 0;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.primary-nav a:hover {
  color: var(--color-red);
}

@media (min-width: 1024px) {
  .site-header__toggle {
    display: none;
  }

  .primary-nav {
    display: block;
    position: static;
    background: none;
    border-top: none;
  }

  .primary-nav ul {
    display: flex;
    gap: var(--space-md);
    padding: 0;
  }

  .primary-nav li + li {
    margin-top: 0;
  }

  .primary-nav a {
    padding: 0.5rem 0;
    border-bottom: none;
    font-size: 0.95rem;
  }
}

/* ==========================================================================
   Delad hero – textpanel + skarp bild sida vid sida (ingen mörkläggning av bilden)
   ========================================================================== */

.split-hero {
  display: grid;
  grid-template-columns: 1fr;
}

.split-hero__media {
  order: -1;
  background: var(--color-grey-dark);
}

.split-hero__media img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.split-hero__content {
  position: relative;
  background: var(--color-black);
  color: var(--color-white);
  padding: var(--space-lg) var(--container-pad);
  overflow: hidden;
}

.split-hero__watermark {
  position: absolute;
  right: -2.5rem;
  bottom: -3rem;
  width: 14rem;
  height: 14rem;
  color: var(--color-white);
  opacity: 0.05;
  pointer-events: none;
}

.split-hero__content h1,
.split-hero__content p {
  color: var(--color-white);
}

@media (min-width: 1024px) {
  .split-hero {
    grid-template-columns: 1fr 1fr;
  }

  .split-hero__media {
    order: 0;
  }

  .split-hero__media img {
    height: 100%;
    min-height: 620px;
  }

  .split-hero__content {
    padding: var(--space-xl) var(--space-xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

.text-accent {
  color: var(--color-red);
}

.cc-badge {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--color-grey-light);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-grey-dark);
  margin-bottom: var(--space-sm);
}

.cc-badge__star {
  color: var(--color-red);
}

/* ==========================================================================
   Servicepaket – fristående kort, ingen jämförelsetabell.
   Mobil: horisontell swipe med scroll-snap. Desktop: rutnät.
   ========================================================================== */

.package-carousel {
  position: relative;
}

.package-carousel__arrow {
  display: none;
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--color-grey-light);
  border-radius: 50%;
  background: var(--color-white);
  color: var(--color-black);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.package-carousel__arrow svg {
  width: 1.3rem;
  height: 1.3rem;
}

.package-carousel__arrow:hover {
  background: var(--color-red);
  border-color: var(--color-red);
  color: var(--color-white);
}

.package-carousel__arrow--prev {
  left: 0.25rem;
}

.package-carousel__arrow--next {
  right: 0.25rem;
}

/* Pilarna är bara till nytta för musanvändare i det smala carousel-läget (under 1024px) –
   pekskärmar swipar redan, och vid 1024px+ tar rutnätet över och visar alla paket samtidigt. */
@media (hover: hover) and (pointer: fine) {
  .package-carousel__arrow {
    display: flex;
  }
}

@media (min-width: 1024px) {
  .package-carousel__arrow {
    display: none;
  }
}

.package-scroller {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  margin: var(--space-md) -1.25rem 0;
  padding: 0 1.25rem var(--space-sm);
  -webkit-overflow-scrolling: touch;
}

@media (min-width: 1024px) {
  .package-scroller {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
    overflow: visible;
    gap: var(--space-md);
    margin: var(--space-md) 0 0;
    padding: 0;
  }
}

.package-card {
  flex: 0 0 82%;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border: 1px solid var(--color-grey-light);
  border-top: 3px solid var(--color-red);
  border-radius: var(--radius);
  padding: var(--space-md);
}

@media (min-width: 640px) {
  .package-card {
    flex-basis: 50%;
  }
}

@media (min-width: 1024px) {
  .package-card {
    flex: none;
  }
}

.package-card__title {
  font-weight: 900;
  font-size: 1.2rem;
  line-height: 1.25;
  min-height: calc(1.2rem * 1.25 * 2);
}

.package-card__tagline {
  color: var(--color-grey);
  font-size: 0.9rem;
  line-height: 1.3;
  margin-top: 0.25rem;
  min-height: calc(0.9rem * 1.3 * 2);
}

.package-card__price {
  font-weight: 900;
  font-size: 1.7rem;
  color: var(--color-red);
  margin-top: var(--space-xs);
}

.package-card__note {
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-grey);
  margin-top: 0.15rem;
  min-height: calc(0.8rem * 1.3);
}

.package-card__sub {
  font-weight: 900;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: var(--space-sm) 0 0;
}

.package-card__list {
  list-style: none;
  margin: var(--space-xs) 0 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
  flex: 1;
}

.package-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.88rem;
  line-height: 1.4;
}

.package-card .index-list__icon {
  width: 1rem;
  height: 1rem;
  margin-top: 0.2rem;
}

.cc-tagline {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  color: var(--color-red);
  margin-top: -0.25rem;
}

.cc-lede {
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--color-grey-dark);
  max-width: 68ch;
}

/* Håller radlängden läsbar i löptext-tunga sektioner (rena textstycken direkt i .container) */
.section > .container > p {
  max-width: 68ch;
}

/* ==========================================================================
   Scroll reveal – används tillsammans med assets/js/main.js
   ========================================================================== */

.reveal {
  opacity: 1;
  transform: none;
}

/* Startpositionen sätts utanför vyn. Ingen opacity/visibility kan dölja texten. */
.reveal-ready {
  transform: translateY(24px);
}

.reveal-motion {
  opacity: 1;
}

/* Endast den tidsbegränsade entrén tonar innehållet. Ingen dold väntestil. */
.reveal-motion.reveal-entered {
  animation: cc-reveal-enter 1100ms cubic-bezier(0.42, 0, 0.58, 1);
}

@keyframes cc-reveal-enter {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

.reveal-motion.reveal-static,
.reveal-motion:focus-within {
  transform: none;
  animation: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal-motion, .reveal-ready {
    transform: none;
    animation: none !important;
    opacity: 1;
  }
}

@media print {
  .reveal-motion, .reveal-ready { transform: none; animation: none !important; opacity: 1; }
}

/* ==========================================================================
   Numrerad lista – editorial ersättning för punktlistan
   ========================================================================== */

.index-list {
  display: grid;
  gap: var(--space-md);
  margin-top: var(--space-md);
}

@media (min-width: 768px) {
  .index-list--2col {
    grid-template-columns: repeat(2, 1fr);
    column-gap: var(--space-lg);
  }
}

.index-list__item {
  display: flex;
  gap: var(--space-sm);
  align-items: baseline;
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--color-grey-light);
}

.index-list__icon {
  width: 1.35rem;
  height: 1.35rem;
  color: var(--color-red);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.index-list__text {
  font-weight: 700;
  color: var(--color-black);
}

.section--dark .index-list__text {
  color: var(--color-white);
}

/* ==========================================================================
   Media-rad – bild + text sida vid sida i en ljus sektion
   ========================================================================== */

.media-row {
  display: grid;
  gap: var(--space-md);
  align-items: center;
}

.media-row__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  box-shadow: 0 16px 40px -24px rgba(12, 20, 28, 0.4);
}

.media-row__media::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(150deg, rgba(28, 48, 68, 0.04), transparent 55%, rgba(8, 16, 24, 0.12));
}

.media-row__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 35%;
  display: block;
}

@media (min-width: 640px) {
  .media-row__media { aspect-ratio: 4 / 3; }
}

@media (min-width: 1024px) {
  .media-row__media { aspect-ratio: 4 / 5; }
  .media-row {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }

  .media-row--reverse .media-row__media {
    order: 2;
  }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  padding-block: var(--space-xl) var(--space-lg);
}

.section--dark.hero {
  position: relative;
  overflow: hidden;
}

.hero--image {
  position: relative;
  background-size: cover;
  background-position: center;
  isolation: isolate;
}

.hero--image::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(8, 8, 10, 0.94) 0%, rgba(8, 8, 10, 0.8) 30%, rgba(8, 8, 10, 0.4) 62%, rgba(8, 8, 10, 0.15) 100%),
    linear-gradient(180deg, rgba(8, 8, 10, 0.35) 0%, rgba(8, 8, 10, 0.55) 60%, rgba(8, 8, 10, 0.85) 100%);
  z-index: 0;
}

.hero--image > .container {
  position: relative;
  z-index: 1;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-block: var(--space-sm) var(--space-md);
  font-weight: 700;
  color: var(--color-grey-light);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs) var(--space-sm);
  margin-top: var(--space-md);
}

.hero__back {
  display: block;
  margin-bottom: var(--space-sm);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--color-grey-light);
}

.hero__back:hover {
  color: var(--color-red);
}

/* ==========================================================================
   Punktlistor med accentmarkör (t.ex. "vad vi hjälper till med")
   ========================================================================== */

.feature-list {
  list-style: none;
  margin: var(--space-sm) 0 0;
  padding: 0;
  display: grid;
  gap: var(--space-sm);
}

.feature-list li {
  padding-left: 1.75rem;
  position: relative;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 10px;
  height: 10px;
  background: var(--color-red);
  border-radius: 50%;
}

/* ==========================================================================
   Kort (t.ex. tjänster i verkstadsöversikten)
   ========================================================================== */

.card-grid {
  display: grid;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

@media (min-width: 768px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .card-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
  }
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding-top: var(--space-sm);
  border-top: 2px solid var(--color-black);
  text-decoration: none;
  color: var(--color-black);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.service-card:hover {
  border-color: var(--color-red);
}

.service-card:hover .service-card__link {
  gap: 0.6rem;
}

.service-card p {
  margin: 0;
  color: var(--color-grey);
}

.service-card__title {
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--color-black);
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  color: var(--color-red);
  margin-top: auto;
  transition: gap 0.15s ease;
}

/* ==========================================================================
   Prosa – för sidor vars innehåll kommer från the_content() (redigerbart i wp-admin)
   ========================================================================== */

.cc-prose h2 {
  margin-top: var(--space-lg);
}

.cc-prose h2:first-child {
  margin-top: 0;
}

.cc-prose h2 em {
  font-style: normal;
  font-weight: 400;
  font-size: 1rem;
  color: var(--color-grey);
  margin-left: 0.4rem;
}

.cc-prose p {
  max-width: 60ch;
}

.cc-prose table {
  width: 100%;
  max-width: 480px;
  border-collapse: collapse;
  border: none;
  margin: var(--space-sm) 0 0;
}

.cc-prose table thead {
  display: none;
}

.cc-prose table td,
.cc-prose table th {
  border: none;
}

.cc-prose table tbody td {
  padding: 0.7rem 0;
  font-size: 1.1rem;
}

.cc-prose table tbody td:first-child {
  font-weight: 900;
}

.cc-prose table tbody td:last-child {
  text-align: right;
  color: var(--color-red);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   Öppettider-kort – ramar in the_content() så redigerat innehåll ärver husstilen
   ========================================================================== */

.cc-hours-card {
  padding: var(--space-sm) 0 0;
}

.cc-hours-card h2 {
  font-size: 1.5rem;
}

.cc-note {
  margin-top: var(--space-md);
}

.cc-note p {
  max-width: none;
}

/* ==========================================================================
   Kontaktformulär
   ========================================================================== */

.eyebrow {
  display: inline-block;
  margin-bottom: var(--space-xs);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-red);
}

.cc-alert {
  margin-bottom: var(--space-md);
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-size: 0.95rem;
}

.cc-alert--success {
  background: #f3f8f4;
  border-color: #b7d7bf;
  color: #1f3b26;
}

.cc-alert--error {
  background: #fff6f6;
  border-color: #e0b4b4;
  color: #7f1d1d;
}

.cc-panel {
  background: var(--color-white);
  border: 1px solid var(--color-grey-light);
  border-radius: var(--radius);
  padding: var(--space-sm);
}

@media (min-width: 768px) {
  .cc-panel {
    padding: var(--space-lg);
  }
}

.cc-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.cc-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm) var(--space-md);
}

@media (min-width: 640px) {
  .cc-form-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cc-form-grid > .cc-col-6 {
    grid-column: span 1;
  }

  .cc-form-grid > .cc-field:not(.cc-col-6),
  .cc-form-grid > .cc-note,
  .cc-form-grid > .cc-tip,
  .cc-form-grid > .cc-section,
  .cc-form-grid > .cc-submit-row {
    grid-column: 1 / -1;
  }
}

.cc-is-hidden {
  display: none !important;
}

.cc-field label,
.cc-file-group + .cc-help {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 700;
  font-size: 0.92rem;
}

.cc-required {
  color: var(--color-red);
}

.cc-input,
.cc-select,
.cc-textarea,
.cc-file {
  width: 100%;
  box-sizing: border-box;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--color-grey-light);
  border-radius: var(--radius);
  background: var(--color-white);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-black);
}

.cc-input:focus,
.cc-select:focus,
.cc-textarea:focus,
.cc-file:focus {
  outline: none;
  border-color: var(--color-red);
  box-shadow: 0 0 0 3px var(--color-red-light);
}

.cc-textarea {
  min-height: 120px;
  resize: vertical;
}

.cc-help {
  margin: 0.4rem 0 0;
  font-size: 0.85rem;
  color: var(--color-grey);
}

.cc-note,
.cc-tip {
  padding: var(--space-sm);
  border-radius: var(--radius);
  background: var(--color-off-white);
  border: 1px solid var(--color-grey-light);
}

.cc-note h3,
.cc-note h2,
.cc-tip h3,
.cc-section h3,
.cc-section h2 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.cc-note p,
.cc-tip p {
  margin: 0 0 0.5rem;
  font-size: 0.92rem;
  color: var(--color-grey);
}

.cc-note p:last-child,
.cc-tip p:last-child {
  margin-bottom: 0;
}

.cc-section {
  padding-top: var(--space-xs);
  border-top: 2px solid var(--color-red);
}

.cc-section h2 {
  margin: 0;
}

.cc-file-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cc-file-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cc-file-row .cc-file {
  flex: 1;
}

.cc-file-remove,
.cc-file-add {
  border: 1px solid var(--color-grey-light);
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 0.5rem 0.9rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--color-black);
  cursor: pointer;
  white-space: nowrap;
}

.cc-file-remove:hover,
.cc-file-add:hover:not(:disabled) {
  border-color: var(--color-red);
  color: var(--color-red);
}

.cc-file-add:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.cc-submit-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: var(--space-xs);
}

.cc-submit-note {
  margin: 0;
  font-size: 0.85rem;
  color: var(--color-grey);
}

.cc-submit-button {
  align-self: flex-start;
}

.cc-contact-cards {
  display: grid;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

@media (min-width: 768px) {
  .cc-contact-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.cc-contact-card {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: var(--space-sm);
  border: 1px solid var(--color-grey-light);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--color-black);
  transition: border-color 0.15s ease;
}

.cc-contact-card:hover {
  border-color: var(--color-red);
}

.cc-contact-card__title {
  font-weight: 900;
}

.cc-contact-card__text {
  color: var(--color-grey);
}

.cc-contact-cards--stack {
  grid-template-columns: 1fr;
  margin-top: var(--space-sm);
}

/* ==========================================================================
   Site footer
   ========================================================================== */

.site-footer {
  background: var(--color-black);
  color: var(--color-white);
  padding-block: var(--space-lg);
}

.site-footer a {
  color: var(--color-white);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--color-red);
}

.site-footer__grid {
  display: grid;
  gap: var(--space-md);
}

@media (min-width: 768px) {
  .site-footer__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.site-footer__heading {
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: var(--space-xs);
}

.site-footer__bottom {
  margin-top: var(--space-lg);
  padding-top: var(--space-sm);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.85rem;
  color: var(--color-grey-light);
}

/* ==========================================================================
   Till toppen-knapp – dyker upp efter att man scrollat en bit ner.
   ========================================================================== */

.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 40;
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: var(--color-red);
  color: var(--color-white);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.5rem);
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.15s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--color-red-dark);
}

.back-to-top svg {
  width: 1.4rem;
  height: 1.4rem;
}

/* Sortiment and commerce: immediate presentation, including shared components. */
body.cc-no-motion *, body.cc-no-motion *::before, body.cc-no-motion *::after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}
body.cc-no-motion .reveal, body.cc-no-motion .reveal-ready,
body.cc-no-motion .reveal-motion {
  opacity: 1 !important;
  transform: none !important;
}
body.cc-no-motion .woocommerce-product-gallery { opacity: 1 !important; }

@media (min-width: 1024px) {
  .back-to-top {
    right: 2rem;
    bottom: 2rem;
  }
}
