/* Sveriges Veteranförbund – stil efter sverigesveteranforbund.se */

/* Rubriker: kraftiga, tajta */
h1, h2, h3 { letter-spacing: -0.01em; line-height: 1.1; }

/* Raka hörn överallt, som förlagan */
.image-border-radius,
.image-border-radius img,
.card-round,
.list-product-image,
.list-product-image img { border-radius: 0 !important; }

/* Hero: mörkare ton och rivpapperskant i nederkant */
.page-element[data-key^="banner"] .element-background-image { min-height: 72vh; display: flex; align-items: center; }
.page-element[data-key^="banner"] .element-background-image > .container,
.page-element[data-key^="banner"] .element-background-image > div:not(.overlay) { width: 100%; }
.page-element[data-key^="banner"] .overlay { background: rgba(20, 20, 20, .55); }
.page-element[data-key^="banner"] .element-background-image::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: -1px;
	height: 46px;
	z-index: 2;
	pointer-events: none;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 46' preserveAspectRatio='none'%3E%3Cpath fill='%23F7F7F7' d='M0 30 L22 24 L41 31 L63 19 L88 27 L104 22 L131 33 L152 21 L176 26 L198 14 L221 25 L247 20 L268 30 L290 17 L318 24 L337 12 L361 26 L384 21 L409 31 L431 18 L455 23 L478 9 L502 22 L526 17 L549 28 L573 15 L597 25 L618 19 L644 30 L667 13 L690 24 L716 20 L739 32 L763 16 L787 22 L810 11 L834 26 L858 19 L882 29 L905 14 L929 23 L953 18 L977 31 L1001 15 L1024 24 L1049 20 L1072 30 L1096 12 L1121 25 L1144 19 L1170 28 L1200 17 L1200 46 L0 46 Z'/%3E%3C/svg%3E") no-repeat bottom / 100% 100%;
}
.page-element[data-key^="banner"] h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); }

/* Knappar: versaler, spärrade, med pil */
.pb-button {
	text-transform: uppercase;
	letter-spacing: .04em;
	font-family: var(--font-family-header);
}
.pb-button::after { content: "\2192"; display: inline-block; margin-left: .6em; transition: transform .2s ease; }
.pb-button:hover::after { transform: translateX(4px); }

/* Hero-knappar: genomskinliga med tunn vit ram */
.page-element[data-key^="banner"] .pb-button {
	background: transparent !important;
	color: #FCFCFC !important;
	border: 1px solid #FCFCFC !important;
}
.page-element[data-key^="banner"] .pb-button:hover { background: #FCFCFC !important; color: #003360 !important; }

/* Sektionsrubrik som flik: orange etikett + heldragen linje */
.page-element[data-key="products-1"] .col.text-center {
	text-align: left !important;
	border-bottom: 3px solid var(--color-secondary);
	margin: 0 12px;
	padding: 0;
}
.page-element[data-key="products-1"] h2 {
	display: inline-block;
	margin: 0;
	padding: .55rem 1.1rem .45rem;
	background: var(--color-secondary);
	color: #FCFCFC;
	font-size: 1rem;
	text-transform: uppercase;
	letter-spacing: .04em;
}

/* Tre plagg: flikrubrik + stora kort */
.svf-products__head { border-bottom: 3px solid var(--color-secondary); }
.svf-products__head h2 {
	display: inline-block;
	margin: 0;
	padding: .55rem 1.1rem .45rem;
	background: var(--color-secondary);
	color: #FCFCFC;
	font-size: 1rem;
	text-transform: uppercase;
	letter-spacing: .04em;
}
.svf-products .list-product-image { aspect-ratio: 4 / 5; background: #E5E5E5; overflow: hidden; }
.svf-products .list-product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.svf-products .list-product-box:hover .list-product-image img { transform: scale(1.03); }
.svf-products .list-product-title { font-size: 1.25rem; margin-top: 1rem; }

/* Produktkort */
.list-product-title { font-family: var(--font-family-header); font-weight: 700; text-transform: uppercase; letter-spacing: .02em; font-size: 1rem; }
.list-product-price { color: var(--color-primary); font-weight: 700; }

/* ===== Sidhuvud som sverigesveteranforbund.se ===== */
.svf-header {
	--pb-header-text: #FCFCFC;
	color: #FCFCFC;
	font-family: var(--font-family-header);
}
.svf-header__inner {
	max-width: 1160px;
	margin: 0 auto;
	padding: 0 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}
.svf-header__top .svf-header__inner { padding-top: 18px; padding-bottom: 18px; }
.svf-header__top { border-bottom: 1px solid rgba(252, 252, 252, .16); }
.svf-header__brand { display: block; line-height: 0; }
.svf-header__logo { height: 64px; width: auto; display: block; }

.svf-header__tools { display: flex; align-items: center; gap: 18px; margin: 0 0 0 auto; padding: 0; list-style: none; }
.svf-header .pb-header__icon { color: #FCFCFC; background: none; border: 0; padding: 4px; line-height: 0; }
.svf-header .pb-header__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.svf-header__ribbon { display: block; line-height: 0; }
.svf-header__ribbon img { height: 30px; width: auto; }

.svf-header__cta {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 16px;
	border: 1px solid #FCFCFC;
	color: #FCFCFC;
	text-decoration: none;
	text-transform: uppercase;
	font-weight: 700;
	font-size: .82rem;
	letter-spacing: .05em;
	transition: background .2s ease, color .2s ease;
}
.svf-header__cta svg { width: 18px; height: 11px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.svf-header__cta:hover { background: #FCFCFC; color: #003360; }

.svf-header__bottom .svf-header__inner { min-height: 54px; }
.svf-header__nav { flex: 1; }
.svf-header .pb-header__links { display: flex; align-items: center; gap: 30px; margin: 0; padding: 0; list-style: none; }
.svf-header .pb-header__links > li > a {
	color: #FCFCFC;
	text-transform: uppercase;
	font-weight: 700;
	font-size: .9rem;
	letter-spacing: .03em;
	text-decoration: none;
	padding: 16px 0;
	display: inline-block;
	border-bottom: 2px solid transparent;
}
.svf-header .pb-header__links > li > a:hover { border-bottom-color: var(--color-secondary); }

.svf-header__account {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding-left: 24px;
	min-height: 54px;
	border-left: 1px solid rgba(252, 252, 252, .16);
	color: #FCFCFC;
	text-decoration: none;
	text-transform: uppercase;
	font-weight: 700;
	font-size: .9rem;
	letter-spacing: .03em;
}
.svf-header__account svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }

/* ===== Produkt i fokus ===== */
.svf-card-buy { margin-top: 1rem; }
.svf-feature {
	display: grid;
	max-width: 1040px;
	margin: 0 auto;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	grid-template-rows: 1fr auto auto auto auto auto 1fr;
	column-gap: clamp(32px, 6vw, 96px);
}
.svf-feature__product,
.svf-feature__product > div,
.svf-feature .shop-card-wrap,
.svf-feature .list-product-box,
.svf-feature .list-product-box > a,
.svf-feature__text { display: contents; }
.svf-feature a { color: inherit; text-decoration: none; }

.svf-feature .list-product-image { grid-column: 1; grid-row: 1 / -1; aspect-ratio: 4 / 5; overflow: hidden; background: #E5E5E5; }
.svf-feature .list-product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.svf-feature .list-product-box:hover .list-product-image img { transform: scale(1.03); }

.svf-feature .svf-feature__eyebrow,
.svf-feature .list-product-title,
.svf-feature .list-product-price,
.svf-feature__text > p:not(.svf-feature__eyebrow),
.svf-feature .svf-card-buy { grid-column: 2; }
.svf-feature .svf-feature__eyebrow {
	grid-row: 2;
	margin: 0 0 .75rem;
	color: var(--color-secondary);
	font-family: var(--font-family-header);
	font-weight: 700;
	font-size: .85rem;
	text-transform: uppercase;
	letter-spacing: .06em;
}
.svf-feature .list-product-title { grid-row: 3; margin: 0; font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1; color: var(--color-dark); }
.svf-feature .list-product-price { grid-row: 4; margin: .9rem 0 0; font-size: 1.35rem; }
.svf-feature__text > p:not(.svf-feature__eyebrow) { grid-row: 5; margin: 1.25rem 0 0; max-width: 32rem; }
.svf-feature .svf-card-buy { grid-row: 6; margin-top: 1.75rem; }

/* Spegelvänd: text vänster, bild höger */
.svf-feature--reverse { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.svf-feature--reverse .list-product-image { grid-column: 2; }
.svf-feature--reverse .svf-feature__eyebrow,
.svf-feature--reverse .list-product-title,
.svf-feature--reverse .list-product-price,
.svf-feature--reverse .svf-feature__text > p:not(.svf-feature__eyebrow),
.svf-feature--reverse .svf-card-buy { grid-column: 1; }

@media (max-width: 767.98px) {
	.svf-feature, .svf-feature--reverse { grid-template-columns: 1fr; grid-template-rows: none; }
	.svf-feature .list-product-image { grid-column: 1 !important; grid-row: 1; margin-bottom: 1.5rem; }
	.svf-feature .svf-feature__eyebrow, .svf-feature .list-product-title, .svf-feature .list-product-price,
	.svf-feature__text > p:not(.svf-feature__eyebrow), .svf-feature .svf-card-buy { grid-column: 1 !important; grid-row: auto; }
}

/* Ifylld när man skrollar */
.svf-header { z-index: 50; transition: background-color .25s ease; }
.svf-header.is-scrolled { background-color: #003360 !important; }
.svf-header__top .svf-header__inner,
.svf-header__logo { transition: padding .25s ease, height .25s ease; }
.svf-header.is-scrolled .svf-header__top .svf-header__inner { padding-top: 10px; padding-bottom: 10px; }
.svf-header.is-scrolled .svf-header__logo { height: 48px; }

@media (min-width: 992px) {
	.svf-header .svf-header__toggle { display: none; }
}
@media (max-width: 991.98px) {
	.svf-header__logo { height: 50px; }
	.svf-header__cta-item, .svf-header__ribbon-item, .svf-header__account { display: none; }
	.svf-header__bottom { height: 0; }
	.svf-header__bottom .svf-header__inner { min-height: 0; padding: 0; }
	.svf-header__top { border-bottom: 0; }
	.svf-header .pb-header__links { flex-direction: column; align-items: flex-start; gap: 0; }
	.svf-header .svf-header__toggle { color: #FCFCFC; }
}
