/* ==========================================================================
   placemats.dk – design til T4 (t4_bs5_blank)
   Fil: templates/t4_bs5_blank/local/css/custom.css
   Thrane.nu, oktober 2026

   Indhold
   1. Farver og skrifter (tokens)
   2. Grundlag: side, tekst, links
   3. Knapper og formularer
   4. Header og menu (T4)
   5. Forsidens sektioner (pm-*)
   6. Indholdssider, kort, alerts
   7. Footer (T4)
   8. TastingKit og ShopKit
   9. Mobil
   ========================================================================== */

/* 1. Farver og skrifter ---------------------------------------------------- */
:root {
  --pm-paper:      #fbf7f1;   /* sidens baggrund, som ubleget papir */
  --pm-sand:       #efe4d6;   /* flader, sektioner */
  --pm-sand-deep:  #dbc1a5;   /* streger, ringe, fremhævning */
  --pm-wine:       #6e1f2e;   /* primær farve */
  --pm-wine-dark:  #4a1420;   /* hover, footer */
  --pm-wine-soft:  #f3e3e5;   /* lyse vinrøde flader */
  --pm-olive:      #7d7c45;   /* sekundær accent (hvidvin, "rigtigt") */
  --pm-ink:        #2a1f1c;   /* brødtekst */
  --pm-muted:      #6f6264;   /* hjælpetekst */
  --pm-line:       #e5d8c8;   /* tynde streger */
  --pm-white:      #ffffff;

  --pm-font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --pm-font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --pm-radius:     10px;
  --pm-radius-lg:  18px;
  --pm-shadow:     0 1px 2px rgba(42, 31, 28, .06), 0 8px 24px rgba(42, 31, 28, .07);
  --pm-width:      1180px;

  /* Bootstrap-variabler. TastingKit og ShopKit henter deres farver herfra. */
  --bs-primary:            var(--pm-wine);
  --bs-primary-rgb:        110, 31, 46;
  --bs-primary-bg-subtle:  var(--pm-wine-soft);
  --bs-secondary-color:    var(--pm-muted);
  --bs-body-bg:            var(--pm-paper);
  --bs-body-color:         var(--pm-ink);
  --bs-body-font-family:   var(--pm-font-body);
  --bs-tertiary-bg:        var(--pm-sand);
  --bs-border-color:       var(--pm-line);
  --bs-border-radius:      var(--pm-radius);
  --bs-link-color:         var(--pm-wine);
  --bs-link-color-rgb:     110, 31, 46;
  --bs-link-hover-color:   var(--pm-wine-dark);
  --bs-link-hover-color-rgb: 74, 20, 32;
  --bs-success:            #3f6b3a;
  --bs-success-bg-subtle:  #e4efe0;
  --bs-danger:             #a3322a;
  --bs-danger-bg-subtle:   #f8e4e1;
}

/* 2. Grundlag -------------------------------------------------------------- */
body {
  background: var(--pm-paper);
  color: var(--pm-ink);
  font-family: var(--pm-font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .h1, .h2, .h3, .h4 {
  font-family: var(--pm-font-head);
  font-weight: 500;
  color: var(--pm-ink);
  letter-spacing: -.01em;
  line-height: 1.15;
}
h1, .h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.4rem); }
h2, .h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); }
h3, .h3 { font-size: 1.3rem; }

a { color: var(--pm-wine); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--pm-wine-dark); }

::selection { background: var(--pm-sand-deep); color: var(--pm-ink); }

.container, .t4-section-inner.container { max-width: var(--pm-width); }

/* Links til #saadan, #beregner osv. stopper under den faste header */
:root {
  --pm-header-h: 130px;                                    /* headerens højde + lidt luft */
  --pm-section-pad: clamp(3rem, 2rem + 4vw, 6rem);         /* samme som .pm-section */
}
[id] { scroll-margin-top: var(--pm-header-h); }
/* Sektionerne har luft øverst: træk den fra, så etiketten altid lander 1.5rem under headeren */
.pm-section[id] { scroll-margin-top: calc(var(--pm-header-h) - var(--pm-section-pad) + 1.5rem); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media (max-width: 991.98px) { :root { --pm-header-h: 96px; } }

/* 3. Knapper og formularer ------------------------------------------------- */
.btn {
  border-radius: 999px;
  font-weight: 600;
  padding: .7rem 1.4rem;
  letter-spacing: .01em;
  transition: background-color .15s, border-color .15s, color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn, .nav-link, .dropdown-item { text-decoration: none; }
.btn-primary {
  --bs-btn-bg: var(--pm-wine);
  --bs-btn-border-color: var(--pm-wine);
  --bs-btn-hover-bg: var(--pm-wine-dark);
  --bs-btn-hover-border-color: var(--pm-wine-dark);
  --bs-btn-active-bg: var(--pm-wine-dark);
  --bs-btn-active-border-color: var(--pm-wine-dark);
  --bs-btn-disabled-bg: var(--pm-wine);
  --bs-btn-disabled-border-color: var(--pm-wine);
  --bs-btn-color: #fff;
  --bs-btn-hover-color: #fff;
  background-color: var(--bs-btn-bg);
  border-color: var(--bs-btn-border-color);
  color: var(--bs-btn-color);
}
.btn-primary:hover, .btn-primary:focus-visible { background-color: var(--pm-wine-dark); border-color: var(--pm-wine-dark); color: #fff; }
.btn-outline-primary, .btn-secondary {
  background: transparent;
  border: 1.5px solid var(--pm-wine);
  color: var(--pm-wine);
}
.btn-outline-primary:hover, .btn-secondary:hover { background: var(--pm-wine); color: #fff; border-color: var(--pm-wine); }
.btn:focus-visible { outline: 2px solid var(--pm-wine); outline-offset: 3px; box-shadow: none; }

.form-control, .form-select {
  background-color: var(--pm-white);
  border: 1px solid var(--pm-line);
  border-radius: var(--pm-radius);
  padding: .6rem .85rem;
}
.form-control:focus, .form-select:focus {
  border-color: var(--pm-wine);
  box-shadow: 0 0 0 3px rgba(110, 31, 46, .15);
}
.form-check-input:checked { background-color: var(--pm-wine); border-color: var(--pm-wine); }

/* 4. Header og menu (T4) --------------------------------------------------- */
#t4-header, .t4-header {
  background: rgba(251, 247, 241, .92);
  backdrop-filter: saturate(1.2) blur(8px);
  -webkit-backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--pm-line);
}
#t4-header .header-wrap, .t4-header .header-wrap { padding-top: .9rem; padding-bottom: .9rem; }
body #t4-header, body #t4-header .t4-section-inner, body #t4-header .header-block {
  background-color: rgba(251, 247, 241, .94);
}
/* Header (T4 header-block-2): logo til venstre, menu + knap til højre.
   T4 centrerer menuen med .mx-auto på .t4-navbar – det overstyres her. */
body #t4-header .header-wrap { gap: 1.5rem; }
body #t4-header .navbar-brand { margin-right: auto; }
body #t4-header .t4-navbar.mx-auto { margin-left: auto !important; margin-right: 0 !important; }
body #t4-header .t4-navbar .navbar,
body #t4-header .t4-megamenu { justify-content: flex-end; }
body #t4-header .navbar-nav { align-items: center; gap: .25rem; }
body #t4-header .navbar-nav > li > a { padding: .5rem .85rem; font-size: .975rem; }
body #t4-header .t4-header-r:empty { display: none; }
body #t4-header .navbar-toggler { border: 1px solid var(--pm-line); border-radius: 999px; padding: .45rem .8rem; color: var(--pm-ink); }

/* T4's egne menufarver (bruges af megamenu og navbar) */
:root {
  --mainnav-link-color: var(--pm-ink);
  --mainnav-link-hover-color: var(--pm-wine);
  --mainnav-link-active-color: var(--pm-wine);
}
/* Høj specificitet, så T4's og den gamle templates farver ikke vinder */
body #t4-header .navbar-nav > li > a,
body #t4-header .navbar-nav > li > .nav-link,
body #t4-header .navbar-nav > li > span,
body #t4-mainnav .navbar-nav > li > a,
body .t4-megamenu .navbar-nav > li > a {
  color: var(--pm-ink);
  background: transparent;
  font-weight: 500;
  text-decoration: none;
  border-radius: 0;
  box-shadow: none;
  transition: color .15s;
}
body #t4-header .navbar-nav > li > a:hover,
body #t4-header .navbar-nav > li > a:focus-visible,
body #t4-mainnav .navbar-nav > li > a:hover,
body .t4-megamenu .navbar-nav > li > a:hover {
  color: var(--pm-wine);
  background: transparent;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: .45em;
}
body #t4-header .navbar-nav > li.active > a,
body #t4-header .navbar-nav > li.current > a,
body #t4-mainnav .navbar-nav > li.active > a,
body .t4-megamenu .navbar-nav > li.active > a {
  color: var(--pm-wine);
  background: transparent;
  text-decoration: underline;
  text-decoration-color: var(--pm-sand-deep);
  text-decoration-thickness: 2px;
  text-underline-offset: .45em;
}

/* Et menupunkt med CSS-klassen "pm-cta" (Link-type-fanen → Link CSS Style) bliver en knap */
.nav-link.pm-cta, a.pm-cta,
body #t4-header .navbar-nav > li > a.pm-cta {
  background: var(--pm-wine);
  text-decoration: none !important;
  line-height: 1.2;
  align-self: center;
  color: #fff !important;
  padding: .5rem 1.15rem !important;
  border-radius: 999px;
  margin-left: .4rem;
}
.nav-link.pm-cta:hover, a.pm-cta:hover,
body #t4-header .navbar-nav > li > a.pm-cta:hover { background: var(--pm-wine-dark) !important; color: #fff !important; }

.dropdown-menu {
  background: var(--pm-white);
  border: 1px solid var(--pm-line);
  border-radius: var(--pm-radius);
  box-shadow: var(--pm-shadow);
  padding: .4rem;
}
.dropdown-item { border-radius: 6px; padding: .5rem .8rem; }
.dropdown-item:hover, .dropdown-item:focus { background: var(--pm-sand); color: var(--pm-wine); }

/* 5. Forsidens sektioner (bruges i forside-artiklen) ------------------------ */
.pm-section { padding: var(--pm-section-pad) 0; }
/* To lyse sektioner efter hinanden: halv luft imellem, ellers bliver hullet for stort */
.pm-section:not(.pm-section--sand) + .pm-section:not(.pm-section--sand) { padding-top: calc(var(--pm-section-pad) / 2); }
.pm-section:not(.pm-section--sand):has(+ .pm-section:not(.pm-section--sand)) { padding-bottom: calc(var(--pm-section-pad) / 2); }
.pm-section:not(.pm-section--sand) + .pm-section[id]:not(.pm-section--sand) {
  scroll-margin-top: calc(var(--pm-header-h) - var(--pm-section-pad) / 2 + 1.5rem);
}
.pm-calc__text .pm-hero__actions { margin-top: 1.4rem; }
.pm-section--sand {
  background: var(--pm-sand);
  border-radius: var(--pm-radius-lg);
  padding-left: clamp(1.25rem, .5rem + 3vw, 3.5rem);
  padding-right: clamp(1.25rem, .5rem + 3vw, 3.5rem);
}
.pm-eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--pm-wine);
  margin-bottom: .9rem;
}
.pm-lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--pm-muted); max-width: 38rem; }

/* Hero: tekst til venstre, en "placemat" med glasringe til højre */
.pm-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: center;
  padding: clamp(2.5rem, 1.5rem + 4vw, 5.5rem) 0;
}
.pm-hero h1 em { font-style: italic; color: var(--pm-wine); }
.pm-hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.8rem; }
.pm-hero__note { margin-top: 1rem; font-size: .9rem; color: var(--pm-muted); }

.pm-mat {
  position: relative;
  aspect-ratio: 420 / 297;            /* A3 liggende */
  background: var(--pm-white);
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(42,31,28,.06), 0 24px 48px -12px rgba(74,20,32,.22);
  transform: rotate(-2.5deg);
  overflow: hidden;
}
.pm-mat svg { display: block; width: 100%; height: 100%; }

/* Trin: sådan virker det */
.pm-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
  counter-reset: pmstep;
  padding: 0;
  list-style: none;
}
.pm-steps > li {
  counter-increment: pmstep;
  background: var(--pm-paper);
  border: 1px solid var(--pm-line);
  border-radius: var(--pm-radius-lg);
  padding: 1.6rem 1.5rem 1.5rem;
}
.pm-steps > li::before {
  content: counter(pmstep);
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  margin-bottom: 1rem;
  border: 2px solid var(--pm-wine);
  border-radius: 50%;
  font-family: var(--pm-font-head);
  font-size: 1.15rem;
  color: var(--pm-wine);
}
.pm-steps h3 { margin: 0 0 .4rem; }
.pm-steps p { margin: 0; color: var(--pm-muted); }

/* Til hvilke smagninger */
.pm-uses {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin: 1.8rem 0 0;
  padding: 0;
  list-style: none;
}
.pm-uses li {
  background: var(--pm-white);
  border: 1px solid var(--pm-line);
  border-radius: 999px;
  padding: .45rem 1rem;
  font-weight: 500;
}

/* Smagningsberegner: tekst + eksempelkort med søjlediagram */
.pm-calc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: center;
}
.pm-calc__text > * { min-width: 0; }
.pm-checks { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: .55rem; }
.pm-checks li { position: relative; padding-left: 1.9rem; }
.pm-checks li::before {
  content: "";
  position: absolute;
  left: 0; top: .2rem;
  width: 1.15rem; height: 1.15rem;
  border-radius: 50%;
  background: var(--pm-wine-soft);
  box-shadow: inset 0 0 0 2px var(--pm-wine);
}
.pm-checks li::after {
  content: "";
  position: absolute;
  left: .4rem; top: .42rem;
  width: .35rem; height: .6rem;
  border: solid var(--pm-wine);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.pm-calc-card {
  background: var(--pm-white);
  border: 1px solid var(--pm-line);
  border-radius: var(--pm-radius-lg);
  box-shadow: var(--pm-shadow);
  padding: clamp(1.25rem, 1rem + 1.5vw, 2rem);
  font-variant-numeric: tabular-nums;
}
.pm-calc-card__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
  font-weight: 600;
  padding-bottom: .9rem;
  border-bottom: 1px solid var(--pm-line);
}
.pm-calc-card__meta { font-weight: 400; color: var(--pm-muted); font-size: .9rem; }
.pm-calc-card__stat { display: grid; gap: .1rem; margin: 1.1rem 0 1.4rem; }
.pm-calc-card__label { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--pm-muted); }
.pm-calc-card__big { font-family: var(--pm-font-head); font-size: clamp(1.9rem, 1.4rem + 1.5vw, 2.5rem); line-height: 1.1; color: var(--pm-olive); }

/* Søjler: nullinjen ligger 69,3 % nede (største plus 866 / spænd 1.250) */
.pm-bars {
  --zero: 69.3%;
  position: relative;
  height: 170px;
  margin-bottom: 1.9rem;
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: clamp(4px, 1vw, 8px);
}
.pm-bars::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: var(--zero);
  border-top: 1.5px solid var(--pm-ink);
}
.pm-bar { position: relative; }
.pm-bar::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: calc(100% - var(--zero));
  height: var(--h);
  background: var(--pm-wine);
  border-radius: 4px 4px 0 0;
}
.pm-bar--neg::before {
  bottom: auto;
  top: var(--zero);
  background: var(--pm-sand-deep);
  border-radius: 0 0 4px 4px;
}
.pm-bar--even::before { background: var(--pm-olive); }
.pm-bar span {
  position: absolute;
  left: 0; right: 0;
  top: calc(100% + .45rem);
  text-align: center;
  font-size: .78rem;
  color: var(--pm-muted);
}
.pm-bar--even span { color: var(--pm-olive); font-weight: 700; }

.pm-calc-card__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid var(--pm-line);
}
.pm-calc-card__facts div { min-width: 0; }
.pm-calc-card__facts dt { font-size: .78rem; font-weight: 500; color: var(--pm-muted); }
.pm-calc-card__facts dd { margin: .1rem 0 0; font-family: var(--pm-font-head); font-size: 1.25rem; }
.pm-calc-card__note { margin: .9rem 0 0; font-size: .8rem; color: var(--pm-muted); }

/* Priskort (ShopKit-produkterne linkes herfra) */
.pm-prices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.pm-price {
  display: flex;
  flex-direction: column;
  background: var(--pm-white);
  border: 1px solid var(--pm-line);
  border-radius: var(--pm-radius-lg);
  padding: 2rem 1.75rem;
}
.pm-price--featured { border: 2px solid var(--pm-wine); box-shadow: var(--pm-shadow); }
.pm-price h3 { margin: 0 0 .25rem; }
.pm-price__amount {
  font-family: var(--pm-font-head);
  font-size: 2.4rem;
  line-height: 1;
  margin: 1rem 0 .3rem;
  color: var(--pm-ink);
}
.pm-price__amount small { font-family: var(--pm-font-body); font-size: .95rem; color: var(--pm-muted); }
.pm-price ul { list-style: none; padding: 0; margin: 1.2rem 0 1.6rem; flex: 1; }
.pm-price li { padding: .35rem 0 .35rem 1.6rem; position: relative; }
.pm-price li::before {
  content: "";
  position: absolute;
  left: 0; top: .72rem;
  width: .8rem; height: .8rem;
  border: 2px solid var(--pm-olive);
  border-radius: 50%;
}
.pm-price .btn { align-self: flex-start; }

/* Citat / afslutning */
.pm-cta-band {
  background: var(--pm-wine);
  color: #fff;
  border-radius: var(--pm-radius-lg);
  padding: clamp(2rem, 1.5rem + 3vw, 3.5rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.pm-cta-band h2 { color: #fff; margin: 0; max-width: 32rem; }
.pm-cta-band .btn-primary { background: #fff; border-color: #fff; color: var(--pm-wine); }
.pm-cta-band .btn-primary:hover { background: var(--pm-sand); border-color: var(--pm-sand); color: var(--pm-wine-dark); }

/* 6. Indholdssider ---------------------------------------------------------- */
#t4-main-body, .t4-main-body { padding-top: 2.5rem; padding-bottom: 3.5rem; }
.page-header h1, .item-page h1, .item-page h2[itemprop="headline"] { margin-bottom: 1rem; }
.item-page, .com-content-article { max-width: 46rem; }
/* Forsiden (og andre sider med pm-sektioner) bruger hele bredden */
.item-page:has(.pm-hero, .pm-section),
.com-content-article:has(.pm-hero, .pm-section) { max-width: none; }
.item-page:has(.pm-hero) .page-header,
.com-content-article:has(.pm-hero) .page-header,
.item-page:has(.pm-hero) [itemprop="headline"],
.com-content-article:has(.pm-hero) [itemprop="headline"],
.item-page:has(.pm-hero) .article-header,
.item-page:has(.pm-hero) .item-title,
.item-page:has(.pm-hero) > h1,
.item-page:has(.pm-hero) > h2 { display: none; }
.card {
  background: var(--pm-white);
  border: 1px solid var(--pm-line);
  border-radius: var(--pm-radius-lg);
}
.alert { border-radius: var(--pm-radius); border-width: 1px; }
.alert-info { background: var(--pm-sand); border-color: var(--pm-sand-deep); color: var(--pm-ink); }
.breadcrumb { font-size: .875rem; }
blockquote {
  font-family: var(--pm-font-head);
  font-size: 1.25rem;
  border-left: 3px solid var(--pm-sand-deep);
  padding-left: 1.2rem;
  color: var(--pm-ink);
}

/* 7. Footer (T4) ------------------------------------------------------------ */
#t4-footer, .t4-footer {
  background: var(--pm-wine-dark);
  color: rgba(255, 255, 255, .78);
  padding: 3rem 0 2rem;
  font-size: .925rem;
}
#t4-footer a, .t4-footer a { color: #fff; text-decoration: none; }
#t4-footer a:hover, .t4-footer a:hover { text-decoration: underline; }
#t4-footer h3, .t4-footer h3, #t4-footer .module-title, .t4-footer .module-title {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: .8rem;
}
#t4-footer ul, .t4-footer ul { list-style: none; padding: 0; margin: 0; }
#t4-footer li, .t4-footer li { padding: .2rem 0; }
/* Footeren holdes i samme bredde som resten af siden */
body #t4-footer > .t4-section-inner,
body #t4-footer > .t4-row,
body #t4-footer > .container-fluid {
  max-width: var(--pm-width);
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
/* Modulerne skal ikke være kort med kant i footeren */
body #t4-footer .card,
body #t4-footer .moduletable,
body #t4-footer .t4-module {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: inherit;
}
body #t4-footer .card-body,
body #t4-footer .card-header { padding: 0; background: transparent; border: 0; }
body #t4-footer p { margin: 0 0 .6rem; }

/* 8. TastingKit og ShopKit -------------------------------------------------- */
/* TastingKit og ShopKit bruger --bs-variablerne fra afsnit 1 – her er kun finpudsning. */
.com-tastingkit, .tastingkit { --tk-radius: var(--pm-radius); }
.tk-desk { background: var(--pm-sand); }          /* bordet bag papiret */
.tk-editor--site .tk-panel,
.tastingkit .tk-panel {
  background: var(--pm-white);
  border-color: var(--pm-line);
}
.tk-site-head h1, .tk-site-title { font-family: var(--pm-font-head); }

/* Editoren skal have plads: giv menupunktet sidens CSS-klasse " pm-wide" (Sidevisning-fanen) */
body.pm-wide #t4-main-body .container,
.pm-wide #t4-main-body .container { max-width: 1440px; }

.shopkit {
  --shopkit-float-bg: var(--pm-wine);
  --shopkit-float-text: #fff;
}
.shopkit-box, .shopkit-panel__inner, .shopkit-order__card, .shopkit-checkout__summary {
  border-color: var(--pm-line);
  border-radius: var(--pm-radius-lg);
}
.shopkit-notice { border-radius: var(--pm-radius); }

/* 9. Mobil ------------------------------------------------------------------ */
@media (max-width: 991.98px) {
  .pm-hero { grid-template-columns: minmax(0, 1fr); }
  .pm-hero__visual { order: -1; max-width: 520px; }
  .pm-steps { grid-template-columns: minmax(0, 1fr); }
  .pm-calc { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 575.98px) {
  .pm-hero__actions .btn { flex: 1 1 100%; }
  .pm-cta-band { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
  .pm-mat { transform: none; }
}

@media print {
  #t4-header, .t4-header, #t4-footer, .t4-footer { display: none !important; }
  body { background: #fff; }
}