@import url("styles_poster_card.css?v1");

:root{
  --plakatrum-bg: #f2f0ed;
}

html, body {
	height: 100%;
}

body {
	display: flex;
	flex-direction: column;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	margin: 0;
	padding: 0;
	background: #fafafa;
	color: #222;
}

main {
	flex: 1 0 auto;
}

header {
	/* padding: 16px 24px; */
	/* background: #ffffff; */
	/* border-bottom: 1px solid #e0e0e0; */
}

.small {
	font-size: 12px;
	color: gray;
	margin-top: 0px;
	margin-bottom: 0px;
}

/* -------- HEADER TOP -------- */
.site-header {
	background: #fff;
	border-bottom: 1px solid #eee;
}

.header-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	padding: 1rem 3rem;
}

.header-logo a {
	font-size: 1.4rem;
	font-weight: 700;
	text-decoration: none;
	color: #111;
}

.site-logo{
	display: inline-flex;
	align-items: center;   /* 🔑 vertikal alignment */
	gap: 0.4rem;           /* afstand mellem logo og tekst */
	text-decoration: none;
	color: inherit;
}

.site-logo img{
	height: 26px;          /* lille og elegant */
	transform: translateY(1px);
	width: auto;
	display: block;
}

.header-search form {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.header-search input[type="search"] {
	width: 26rem;
	max-width: 100%;
	padding: 0.55rem 0.75rem;
	border-radius: 999px;
	border: 1px solid #ccc;
	font-size: 0.95rem;
}

.header-search button {
	padding: 0.55rem 1.2rem;
	border-radius: 999px;
	border: none;
	cursor: pointer;
	font-size: 0.9rem;
	background: #111;
	color: #fff;
}

.header-right {
	font-size: 0.85rem;
	color: #666;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.cart-link {
	position: relative;
	text-decoration: none;
	color: #000;
	font-size: 1.1rem;
}

.cart-count {
	position: absolute;
	top: -6px;
	right: -10px;
	background: #000;
	color: #fff;
	border-radius: 999px;
	padding: 0 6px;
	font-size: 0.7rem;
	line-height: 1.4;
}

/* header Mobiljusteringer - skjuler søgefelt bl.a.  */
@media (max-width: 800px) {
  .header-search { display: none; }

  .header-top{
	flex-wrap: row;        /* <- vigtig */
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0.8rem 1.2rem;
  }

  .header-logo a{
	font-size: 1.2rem;           /* lidt mindre på mobil */
	white-space: nowrap;         /* så “PlakatRum” ikke knækker */
  }

  .header-right{
	flex: 0 0 auto;
  }
}

/* -------- HOVEDMENU + DROPDOWN -------- */
.main-menu {
	/* background: #f5f5f5; */
	background: var(--plakatrum-bg);
	border-top: 1px solid rgb(222, 222, 222);
	border-bottom: 1px solid rgb(222, 222, 222);
}

.main-menu > ul {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	list-style: none;
	margin: 0;
	padding: 0.4rem 3rem;
}

.main-menu .menu-item {
	position: relative;
}

.main-menu a {
	display: block;
	padding: 0.4rem 0;
	text-decoration: none;
	color: #333;
	font-size: 0.95rem;
}

.main-menu a:hover {
	color: #000;
}

/* Dropdown */
.submenu {
	position: absolute;
	top: 100%; /* direkte under menupunktet */
	left: 0;
	min-width: 200px;
	list-style: none;
	margin: 0;          /* vigtigt for ikke at lave “hul” */
	padding: 0.5rem 0;
	background: #fff;
	border-radius: 0 0 6px 6px;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
	display: none;
	z-index: 50;
}

.submenu li a {
	padding: 0.35rem 0.9rem;
	font-size: 0.9rem;
}

.menu-item:hover > .submenu {
	display: block;
}

/* Mobiljusteringer */
@media (max-width: 800px) {
	.main-menu > ul {
		flex-wrap: wrap;
		padding: 0.4rem 1.2rem;
	}
}

/* -------- HERO -------- */
.hero {
	position: relative;
	width: 100%;
	min-height: 440px;
	overflow: hidden;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	display: flex;
	align-items: center;   /* ✅ centrer hero-inner vertikalt i hele hero */
}

.hero-overlay {
	position: absolute;
	inset: 0;
	/* mørk gradient fra venstre så teksten altid er læsbar */
	background: linear-gradient(
		to right,
		rgba(0, 0, 0, 0.55),
		rgba(0, 0, 0, 0.25),
		rgba(0, 0, 0, 0.05)
	);
	z-index: 1;
}

.hero-text {
	max-width: 32rem;
	color: #fff;
}

.hero-kicker {
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-size: 0.8rem;
	color: rgba(255, 255, 255, 0.7);
	margin: 0 0 0.6rem;
}

.hero h1 {
	font-size: 2.5rem;
	margin: 0 0 1rem;
}

.hero-description {
	font-size: 1rem;
	line-height: 1.5;
	margin: 0 0 1.5rem;
	color: rgba(255, 255, 255, 0.9);
}

.hero-button {
	display: inline-block;
	padding: 0.7rem 1.8rem;
	border-radius: 999px;
	background: #111;
	color: #fff;
	text-decoration: none;
	font-size: 0.95rem;
}

.hero-button:hover {
	background: #000;
}

/* =========================
   HERO: layout + posters (fresh)
   ========================= */

/* Hero content layout: text left, posters right */
.hero-inner{
	position: relative;
	max-width: 1400px;
	margin: 0 auto;
	padding: 3rem;
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 3rem;
	align-items: center; /* 🔑 vertikal centrer begge kolonner */
	flex: 1 1 auto;              /* ✅ fyld heroens bredde */
	z-index: 2;            /* sørg for at den ligger over overlay */
	transition: opacity 300ms ease;
}

/* Right side wrapper (holds 0–2 cards) */
.hero-posters{
	display: none;              /* default: hidden on mobile */
	align-items: center;        /* 🔑 vertikal centrer (når det er flex) */
	justify-content: flex-end;  /* 🔑 højrestil */
	gap: 1.5rem;
}

/* Card size = match featured (4 across) */
:root{
	--hero-card-width: 280px; /* justér hvis du vil: 260–300 */
}

.hero-posters .hero-poster{
	width: var(--hero-card-width);
}

.hero-posters .hero-poster .poster-card{
	width: 100%;
}

/* To baggrundslag */
.hero-bg-layer{
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	opacity: 0;
	transition: opacity 700ms ease; /* fade-tid */
	will-change: opacity;
	filter: blur(4px);
	transform: scale(1.08); /* undgår “blur-kanter” */
}

/* A starter synlig */
.hero-bg-a{ opacity: 1; }

.hero-inner.is-fading{
	opacity: 0.15;
}

/* 800–1199: show 1 */
@media (min-width: 800px){
	.hero-posters{
		display: flex;
	}
	.hero-posters .hero-poster-2{
		display: none;
	}
}

/* 1200+: show 2 */
@media (min-width: 1200px){
	.hero-posters .hero-poster-2{
		display: block;
	}
}

/* Mobile tweaks */
@media (max-width: 800px){
	.hero {
		/* max-height: none; */
		min-height: 400px;
	}
	.hero-inner{
		padding: 2rem 1.5rem;
		grid-template-columns: 1fr; /* kun tekst */
	}
	.hero-bg-layer{
		filter: blur(0px);
		transform: scale(1.00); /* ikke nødvendig med scale-up når blur er 0px */
	}

}

/* Sørg for card fylder sin “kolonne” */
.hero-poster .poster-card{
	width: 100%;
}


/* page */

.page {
	max-width: 1400px;
	margin: 2.5rem auto 4rem;   /* centreret + afstand til bunden */
	padding: 0 3rem;            /* samme side-padding som hero */
	/* text-align: center; */
}

@media (max-width: 800px) {
	.page {
		padding: 0 1.2rem;       /* samme som ovenfor */
	}
}

.page a {
	color: #000;
	text-decoration: none;
}

.page a:hover {
	color: #000;
	text-decoration: underline;
}

.page h1 {font-size: 1.75rem;}
.page h2 {
	font-size: 1.45rem;
	margin: 0 0 1.25rem;
}
.page h3 {
	font-size: 1.25rem;
	/* margin: 0 0 0.6rem; */
	padding: 0 0 0.6rem;
}

.page h1,
.page h2,
.page h3,
.page p {
	text-align: center;
}

.page p {
	line-height: 1.25;
}


.narrow-text {
	text-align: center;
	max-width: 900px;
	margin: 0 auto;
	padding-bottom: 2rem;
	text-wrap: balance;
}

/* kun hvis du VIL center’e teksten */
.text-center { text-align: center; }

/* kun hvis du VIL venstrejustere teksten */
.text-left,
.page p.text-left { text-align: left; } /* for at overstyre generelt centrering for samme class */


.poster-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr); /* ← ALTID 4 på desktop */
	gap: 10px; /* was 20-40px before we changed to graphical frames */
}

/* tablet */
@media (max-width: 800px) {
	.poster-grid {
		grid-template-columns: repeat(2, 1fr); /* 2 på tablets/mobil */
		/* padding-right: 1.2rem; */
	}
}

/* phone */
/* @media (max-width: 500px) {  
	.poster-grid {
		grid-template-columns: repeat(1, 1fr); /* 2 på tablets/mobil */
	}
} */


/* Full-width breadcrumb bar */
.breadcrumb-bar {
}

.breadcrumb {
	margin: 0 3rem;
	padding-top: 10px;
	font-size: 0.8rem;
	color: #666;
}

.breadcrumb a {
	color: #666;
	text-decoration: none;
}

.breadcrumb a:hover {
	text-decoration: underline;
}

@media (max-width: 800px) {
	.breadcrumb {
	margin: 0 1.2rem;
	}
}

/* plakat.php */

.poster-detail {
	display: grid;
	grid-template-columns: 1fr 1fr;  /* Equal widths */
	gap: 2.5rem;
	align-items: flex-start;
	margin-top: 1.5rem;
}

.poster-detail-left,
.poster-detail-right {
	min-width: 0;
}

.poster-detail-card .poster-card {
	width: 100%;
	max-width: none;
	margin: 0 0 1.5rem;
	box-sizing: border-box;
}

.poster-title {
	font-size: 1.6rem;
	margin: 0 0 0.75rem;
}

.poster-description {
	font-size: 0.95rem;
	line-height: 1.5;
	color: #444;
}


/* plakat.php - Formular-layout genbruges også til checkout */

.order-form {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.checkout-form {
	display: flex;
	flex-direction: column;
	/* gap: 0.75rem; */
}

.order-form .form-row,
.checkout-form .form-row {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.order-form label,
.checkout-form label {
	font-size: 0.85rem;
	font-weight: 600;
	color: #444;
}

/* plakat.php - Felter – både på plakat og checkout */

.order-form select,
.order-form input[type="number"],
.checkout-form input,
.checkout-form textarea,
.checkout-form select {
	border-radius: 8px;
	border: 1px solid #ccc;
	padding: 0.45rem 0.6rem;
	font-size: 0.95rem;
}

.order-form input[type="number"] {
	max-width: 90px;
}

.order-summary-row {
	margin-top: 0.75rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 0.95rem;
	border-top: 1px solid #eee;
	padding-top: 0.75rem;
}

.order-summary-row span {
	color: #555;
}

.order-summary-row strong {
	font-size: 1.05rem;
}

.field-error {
	color: #d00;
	font-size: 0.85rem;
	margin-top: 4px;
	line-height: 0px;
}

/* plakat.php - Meta-sektion nederst (kan fjernes senere) */

.poster-meta {
	margin-top: 3rem;
}

.poster-meta dl {
	display: grid;
	grid-template-columns: max-content 1fr;
	column-gap: 1rem;
	row-gap: 0.3rem;
	font-size: 0.85rem;
}

.poster-meta dt {
	font-weight: 600;
	color: #333;
}

.poster-meta dd {
	margin: 0;
	color: #555;
}

/* Mobil: stack venstre/højre */

@media (max-width: 800px) {
	.poster-detail {
		grid-template-columns: 1fr;
	}

	.poster-detail-right {
		margin-top: 1.5rem;
	}
}

/* plakat.php - Ekstra previews */

.poster-extra-grid{
	display:grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap:16px;
	margin-top:16px;
}

.poster-extra-label{
	margin:0 0 8px;
	font-size:14px;
	color:#444;
}

.poster-extra-item .poster-card{
	/* samme look, ingen ekstra hover-zoom hvis du vil */
}

@media (max-width: 800px){
	.poster-extra-grid{
		/* grid-template-columns: 1fr; */
		/* display: none; */
	}
}

.frame-thumbs{
  display: flex;
  flex-wrap: wrap;          /* ✅ så de hopper ned på næste linje */
  gap: 10px;
  margin: 5px 0;

  max-width: 100%;          /* ✅ aldrig bredere end parent */
  overflow: hidden;         /* sikkerhed */
}

.frame-thumbs img{
  width: 68px;
  aspect-ratio: 1 / 1;
  object-fit: cover;

  padding: 5px;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 10px;
  background: #fff;

  box-sizing: border-box;
}

@media (max-width: 420px){
  .frame-thumbs img{
	width: 56px; /* mindre thumbs på meget små skærme */
  }
}


.poster-series-inline {
	margin-top: 35px;
}

/* --- Resten af serien: center + max 4 pr række --- */
.poster-series-inline .poster-grid{
  --series-card: 90px;   /* justér hvis dine cards er bredere/smallere */
  --series-gap: 10px;

  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--series-gap);

  /* max 4 pr række, og centrer hele “rødt box”-området */
  max-width: calc((var(--series-card) * 8) + (var(--series-gap) * 7)); /* sidste tal skal bare være 1 lavere */
  margin: 0 auto;

  /* vigtigt: undgå globale grid-regler der kan “vinde” */
  width: 100%;
}

.poster-series-inline .series-grid-item{
  flex: 0 0 var(--series-card);
  max-width: var(--series-card);
}

/* sørg for at selve card'et ikke prøver at fylde 100% af flex-item */
.poster-series-inline .series-grid-item .poster-card{
  width: 100%;
}

@media (max-width: 800px){
	.poster-series-inline{ display:none; }
}

/* LIGHTBOX START */
.preview-overlay{
	position: fixed;
	inset: 0;
	display: none;
	z-index: 99999;
}
.preview-overlay.is-open{ display: block; }

.preview-overlay-backdrop{
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,0.75);
	pointer-events: auto;
}

.preview-overlay-dialog{
	position: relative;
	pointer-events: none; /* 👈 vigtigt */
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

/* Giv klik tilbage til UI-elementer inde i overlay */
.preview-overlay-stage,
.preview-overlay-close,
.preview-overlay-nav{
	pointer-events: auto;
}

/* hvis dine knapper ligger inde i dialogen */
.preview-overlay-dialog > *{
	pointer-events: auto;
}

/* Stage = altid kvadrat */
.preview-overlay-stage{
  width: min(90vmin, 900px);
  height: min(90vmin, 900px);

  display: flex;
  align-items: center;
  justify-content: center;

  background: #fff;           /* ✅ her */
  border-radius: 16px;
  overflow: hidden;           /* vigtigt */
  box-shadow: 0 18px 70px rgba(0,0,0,0.45);
}

/* Den klonede poster-card skal FYLDE kvadratet */
.preview-overlay-stage .poster-card{
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;

  /* vigtig: slå “orientations-ratio” fra */
  aspect-ratio: 1 / 1 !important;

  padding: 0 !important;
  border: 0 !important;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 70px rgba(0,0,0,0.45);
}

/* Make sure it behaves like a preview card, not a link */
.preview-overlay-stage a.poster-card{ pointer-events: none; }

/* Close button */
.preview-overlay-close{
	position: absolute;
	top: 14px;
	right: 14px;

	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 999px;

	display: flex;
	align-items: center;
	justify-content: center;

	background: rgba(255,255,255,0.12);
	color: #fff;

	font-size: 28px;
	line-height: 1;   /* vigtigt: ingen “tekst baseline” */
	padding: 0;
	cursor: pointer;
}

/* Nav buttons */
.preview-overlay-nav{
	position: absolute;
	top: 50%;
	transform: translateY(-50%);

	width: 48px;
	height: 48px;
	border: 0;
	border-radius: 999px;

	display: flex;
	align-items: center;
	justify-content: center;

	background: rgba(255,255,255,0.12);
	color: #fff;

	font-size: 34px;
	line-height: 1;  /* vigtigt */
	padding: 0;
	cursor: pointer;
}

.preview-overlay-nav.prev{
	left: 10px;
}
.preview-overlay-nav.next{
	right: 10px;
}

@media (max-width: 800px){
	.preview-overlay-dialog{ padding: 12px; }
	.preview-overlay-stage{ width: 94vw; max-height: 86vh; }
	.preview-overlay-nav{ width: 42px; height: 42px; font-size: 30px; line-height: 42px; }
}

/* LIGHTBOX STOP */


/* Buttons (single source of truth) */
.btn-primary,
.btn-secondary{
	display: inline-flex;
	align-items: center;
	justify-content: center;

	text-align: center;
	text-decoration: none;

	border-radius: 8px;
	padding: 0.75rem 1.4rem;
	font-size: 0.95rem;
	font-weight: 600;

	border: 1px solid transparent;
	cursor: pointer;

	-webkit-appearance: none;
	appearance: none;
}

/* Full width */
.btn-block{
	width: 100%;
}

/* Primary */
.btn-primary{
	background: #111;
	color: #fff;
}

.btn-primary:hover{
	background: #000;
}

/* Secondary */
.btn-secondary{
	background: #f1f1f1;
	color: #111;
	border-color: #ddd;
}

.btn-secondary:hover{
	background: #e9e9e9;
}

/* Small */
.btn-small{
	padding: 0.3rem 0.8rem;
	font-size: 0.85rem;
	line-height: 1.2;
	border-radius: 8px;
}



/* Meta-sektion nederst (kan fjernes senere) */
.poster-meta {
	margin-top: 3rem;
}

.poster-meta dl {
	display: grid;
	grid-template-columns: max-content 1fr;
	column-gap: 1rem;
	row-gap: 0.3rem;
	font-size: 0.85rem;
}

.poster-meta dt {
	font-weight: 600;
	color: #333;
}

.poster-meta dd {
	margin: 0;
	color: #555;
}

/* Mobil: stack venstre/højre */
@media (max-width: 800px) {
	.poster-detail {
		grid-template-columns: 1fr;
	}

	.poster-detail-right {
		margin-top: 1.5rem;
	}
}


/* =========================
   FRONT PAGE: FEATURED SERIES
   ========================= */

.page.home {
	   margin-top: 0; /* fjerner page top margen så home-intro kan komme helt op */
   }
   
.home-intro .narrow-text{
 padding-bottom: 0;
}

.home-intro h1{
  margin: 0 0 1rem;
}
   
.home-intro{
  /* margin-top: 2.5rem; /* luft under hero/menu */
  margin-bottom: 2.5rem;
}

.featured-series{
  margin-top: 2.5rem;
}

.featured-series > h2{
  margin-bottom: 1.5rem;
}

/* En “blok” pr. serie */
.featured-series-block{
  margin-top: 3rem;
  padding-top: 2.25rem;
  border-top: 1px solid #e9e9e9;
}

/* Første blok skal ikke have separator/spacing */
.featured-series-block:first-of-type{
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

/* Header/tekst over grid */
.featured-series-header{
  width: 100%;
  display: block;
  margin-bottom: 1.25rem;
}

.featured-series-header h3{
  margin: 0 0 .75rem;
}

.featured-series-header .series-description{
  margin: 0 auto 1.25rem;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.55;
}

/* CTA under grid (hvis du tager den i brug igen) */
.featured-series-more{
  margin-top: 1rem;
  font-size: 0.95rem;
}

.featured-series-more a{
  text-decoration: none;
  color: #111;
}

.featured-series-more a:hover{
  text-decoration: underline;
}

/* Mobil: lidt mindre vertikal luft */
@media (max-width: 800px){
  .home-intro{
	/* margin-top: 2rem; */
	margin-bottom: 2rem;
  }
  .featured-series{
	margin-top: 2rem;
  }
  .featured-series-block{
	margin-top: 2.25rem;
	padding-top: 1.75rem;
  }
}

/* =========================
   FULL BLEED SECTIONS
   ========================= */

.full-bleed{
	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	width: 100vw;
    background: var(--plakatrum-bg);
	border-bottom: 1px solid rgb(222, 222, 222);
}

.full-bleed-inner{
	max-width: 1400px;      /* same as .page */
	margin: 0 auto;
	padding: 3.5rem 3.5rem;  /* same side-padding as .page */
}

/* Mobile padding match */
@media (max-width: 800px){
	.full-bleed-inner{
		padding: 2.5rem 1.2rem;
	}
}


/* kategori.php og serie.php */

.series-description {}	/* bruges også på forsiden */

.series-block{
  margin-bottom: 3rem;   /* mere luft mellem serier på kategori.php */
}

.series-block .poster-grid{
}

.series-block .featured-series-more{
}


/* footer */

.site-footer {
	flex-shrink: 0;
	background: #f5f5f5;
	padding: 40px 0;
	margin-top: 60px;
	border-top: 1px solid #ddd;
}

.footer-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
	display: flex;
	gap: 30px;
	justify-content: space-between;
}

.footer-col {
	flex: 1;
	min-width: 200px;
}

.footer-col h4 {
	margin-top: 0;
	margin-bottom: 10px;
	font-size: 1.1rem;
	font-weight: 600;
	color: #333;
}

.footer-col p,
.footer-col a {
	color: #444;
	font-size: 0.95rem;
	text-decoration: none;
}

.footer-col a:hover {
	text-decoration: underline;
}

.footer-legal{
	margin: 20px auto 0;
	padding-top: 14px;
	border-top: 1px solid rgba(0,0,0,0.08);
	text-align: center;
	font-size: 0.85rem;
	color: #999;
}

/* Mobil stacking */
@media (max-width: 800px) {
	.footer-inner {
		flex-direction: column;
		gap: 20px;
	}

	.footer-col {
		min-width: auto;
	}
}


/* --- GENEREL CONTAINER TIL KASSE OG BOXE --- */

.page-narrow {
	max-width: 900px;
	margin: 0 auto;
	padding: 2rem 1.5rem;
}

.content-box {
	background: #fff;
	border-radius: 12px;
	padding: 2rem;
	box-shadow: 0 4px 20px rgba(0,0,0,0.06);
	margin-bottom: 2.5rem;
}

/* Checkout / Cart tables */
.cart-table {
	width: 100%;
	border-collapse: collapse;
}

.cart-table thead th {
	text-align: left;
	padding-bottom: 8px;
	border-bottom: 1px solid #ddd;
}

.cart-table td {
	padding: 12px 0;
	border-bottom: 1px solid #eee;
}

.cart-thumb-cell {
	display: flex;
	align-items: center;
	gap: 1rem;
	min-height: 50px; /* så rækkerne ikke hopper */
}

.cart-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 1.5rem;
}

.cart-totals {
	font-size: 1.1rem;
}

.cart-update {
	text-align: right;
}

.cart-table-wrap {
	width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch; /* smooth scroll på iOS */
}

.cart-table {
	width: 100%;
	min-width: 650px;        /* justér efter behov */
	border-collapse: collapse;
}

@media (max-width: 640px) {
	.cart-bottom {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.75rem;
	}

	.cart-update {
		align-self: stretch;
		text-align: right;
	}
}

/* Fast “ramme” så teksten starter samme sted */
.cart-thumb-wrap {
	width: 50px;
	height: 50px;
	flex: 0 0 60px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.cart-thumb {
	max-width: 100%;
	max-height: 100%;
	object-fit: cover;   /* fyld rammen, beskær lidt i kanterne */
	border-radius: 6px;
	box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}


/* Form fields */
.checkout-form input,
.checkout-form textarea,
.checkout-form select {
	width: 100%;
	box-sizing: border-box;   /* ← vigtig linje */
	padding: 0.6rem 0.8rem;
	font-size: 1rem;
	border: 1px solid #ccc;
	border-radius: 6px;
	margin-bottom: 1rem;
}


/* sharing */

.share-bar{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:.5rem;
}

.share-bar .share-title{
  text-align:center;
  margin:0;
}

.share-icons{
  display:flex;
  flex-direction:row;      /* vigtig */
  gap:.5rem;
  justify-content:center;
  align-items:center;
  flex-wrap:wrap;          /* valgfrit men nice på små skærme */
  margin-bottom: 6px; /* giver afstand til "Link kopiret" */
}
.share-bar .share-btn{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	padding:0;
	cursor:pointer;
	text-decoration:none;   /* vigtigt for <a> */
	line-height:0;          /* fjerner “baseline”-weirdness */
	-webkit-tap-highlight-color: transparent;
}

.share-bar .share-btn:hover{
}

.share-bar .share-btn img{
	width:40px;
	height:40px;
	display:block;
}

/* Sørg for at <button.share-btn> ligner <a.share-btn> */
.share-bar button.share-btn{
	appearance: none;
	-webkit-appearance: none;
	background: transparent;
	border: none;
	margin: 0;
	font: inherit;
	color: inherit;
	border-radius: 0; /* hvis browseren giver default */
}

/* Flying thumbnail */
.fly-to-cart {
	position: fixed;
	z-index: 9999;
	pointer-events: none;
	border-radius: 10px;
	box-shadow: 0 10px 30px rgba(0,0,0,.18);
	transform-origin: center;
}

/* Lidt “bounce” på kurven når den modtager */
.cart-bump {
	animation: cartBump .35s ease;
}
@keyframes cartBump {
	0%   { transform: scale(1); }
	50%  { transform: scale(1.12); }
	100% { transform: scale(1); }
}


/* Når der kun er 1 resultat, så gør kortet “hero-stort” i stedet for mini */
/* Løser også et underligt problem hvor kun landskab plakat previews blev meget små hvis de stod alene i søgeresultaterne - åsagen til denne fejl er der nok stadig et sted, men er altså "overskrevet" med poster-grid-single løsningen! */
.poster-grid-single{
	grid-template-columns: minmax(320px, 520px); /* justér efter smag */
	justify-content: center;  /* centrer kolonnen i containeren */
	justify-items: stretch;   /* sørg for at item strækker */
}

/* ekstra sikkerhed: grid-item skal fylde sin kolonne */
.poster-grid-single .poster-card{
	width: 100%;
}


/* form input fields på linie - står her, så det overskriver tidligere css */
/* Postnr + By på én linje */
.checkout-form .form-row.form-row-inline{
  display: flex;
  flex-direction: row;   /* vigtig: override evt. column */
  gap: 1rem;
  align-items: flex-start;
}

.checkout-form .form-row.form-row-inline > .form-field{
  flex: 1;
  min-width: 0;          /* vigtig: så inputs ikke “tvinger” wrap */
  display: flex;
  flex-direction: column; /* label over input */
}

/* Ens afstand mellem label og felt (gælder kun inline fields) */
.checkout-form .form-row.form-row-inline label{
  margin-bottom: .25rem;
}

@media (max-width: 520px){
  .checkout-form .form-row.form-row-inline{
	flex-direction: row;    /* ikke column */
	flex-wrap: wrap;        /* tillad at den kan wrappe */
	gap: .75rem;
  }

  .checkout-form .form-row.form-row-inline > .form-field{
	flex: 1 1 140px;        /* 2 kolonner på de fleste mobiler */
  }
}

/* Betalings-løsning valg */
.pay-selector{
  display:flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.pay-option{
  flex:1;
  border:2px solid transparent;
  border-radius:14px;
  background:#fff;
  padding: 1rem;
  min-height: 90px;
  cursor:pointer;
  box-shadow: 0 8px 20px rgba(0,0,0,.06);
  border-color:#e8e8e8; /* grå */
}

.pay-option.is-selected{
  border-color:#1e66ff; /* blå */
}

.pay-option.is-hidden{
  display:none;
}

.pay-icons{
  display: inline-flex;
  align-items: center;   /* ✅ vertikal align */
  justify-content: center;
  gap: 20px;
}

.pay-icons img{
  display: block;        /* ✅ fjerner baseline issues */
  height: 38px;
  width: auto;
}

.pay-icons .mobilepay { /* make mobile pay specifically extra smaller */
	height: 30px;
}

/* extra small pay icons on mobile */
@media (max-width: 800px){
	.pay-icons{
		gap: 5px;
	}
	
	.pay-icons img{
		height: 24px;
	}
	
	.pay-icons .mobilepay { /* make mobile pay specifically extra smaller */
		height: 18px;
	}
}


/* Ordre note ved "Overførsel" */
.notice{
  padding: 1rem 1.25rem;
  border-radius: 12px;
  margin: 2.5rem auto;
  border: 2px solid transparent;
  max-width: 900px;
}

.notice-danger{
  background: #fff0f0;
  border-color: #d93025;
  color: #7a1c1c;
  text-align: center;
}


/* Kontaktformular */
.contact-card{
	/* max-width: 700px; */
	margin: 0 auto;
}

.contact-form{
	display: grid;
	gap: 1.25rem;
}

.form-row{
	display: flex;
	flex-direction: column;
	gap: .35rem;
}

.form-row label{
	font-size: .9rem;
	color: #444;
}

.form-row input,
.form-row textarea{
	padding: .7rem .8rem;
	border-radius: 6px;
	border: 1px solid #ddd;
	font-size: 1rem;
}

.form-row textarea{
	resize: vertical;
}

.form-actions{
	margin-top: .75rem;
	text-align: center;
}

.form-success{
	color: #0a7c2f;
	font-weight: 500;
}

.form-error{
	color: #c00;
	font-weight: 500;
}


.page p.company-block{
	display: inline-block;     /* gør at den kan være smal og centreret */
	text-align: left;          /* “efter”-look: venstrejusteret tekst */
	margin: 2.5rem auto 0;
	font-size: 0.95rem;
	opacity: 0.85;
	width: fit-content;        /* shrink-to-fit */
}

.page p.company-block strong{
}