/* Babadut: stort banner med striber (Baggrund = Striber i modulet "Stort banner").
   Lodrette striber i Vanilla Cream + en farve. Teksten står i et lyst felt med bølget kant,
   evt. med to polaroid-billeder ved siden af. Hovedknappen får stribernes farve.
   Virker på mobil, tablet og desktop.
   Nederst: mørkere links i brødtekst (gælder hele shoppen) og gavefinderens jule-form. */
.bd-hero-stripes {
    --bd-stripe: #A9C2D3;
    --bd-stripe-text: #2D3A47; /* tekstfarve på knapper i stribefarven */
    --bd-stripe-w: 22px;
    display: flex; align-items: center; justify-content: center;
    min-height: 52vh;
    padding: 2.5rem 1rem;
    background: repeating-linear-gradient(90deg, #FFF7E6 0 var(--bd-stripe-w), var(--bd-stripe) var(--bd-stripe-w) calc(var(--bd-stripe-w) * 2));
    color: #2D3A47;
    overflow: hidden;
}
@media (min-width: 768px) { .bd-hero-stripes { --bd-stripe-w: 34px; padding: 4rem 2rem; min-height: 60vh; } }
.bd-hero-stripes--small { min-height: 36vh; }
.bd-hero-stripes--large { min-height: 85vh; }

.bd-stripe-blaa { --bd-stripe: #A9C2D3; }
.bd-stripe-jul_maraschino { --bd-stripe: #D7240C; --bd-stripe-text: #FFF7E6; }
.bd-stripe-jul_ruby { --bd-stripe: #9E2117; --bd-stripe-text: #FFF7E6; }
.bd-stripe-jul_spruce { --bd-stripe: #75956F; --bd-stripe-text: #FFF7E6; }
.bd-stripe-berry { --bd-stripe: #BA0308; --bd-stripe-text: #FFF7E6; }
.bd-stripe-roed { --bd-stripe: #691B06; --bd-stripe-text: #FFF7E6; }
.bd-stripe-mint { --bd-stripe: #C7DCC6; }
.bd-stripe-groen { --bd-stripe: #8EB49C; }
.bd-stripe-rosa { --bd-stripe: #F6C5CF; }
.bd-stripe-gammelrosa { --bd-stripe: #D8AEA7; }

.bd-hero-inner { width: 100%; max-width: 72rem; display: flex; justify-content: center; }
.bd-hero-inner--pol { flex-direction: column; align-items: center; gap: 2rem; }
@media (min-width: 960px) {
    .bd-hero-inner--pol { flex-direction: row; justify-content: space-between; gap: 3rem; }
    .bd-hero-inner--pol .bd-hero-wrap { max-width: 36rem; flex: 0 1 36rem; }
}

.bd-hero-wrap { width: 100%; max-width: 40rem; filter: drop-shadow(0 4px 14px rgba(45,58,71,.18)); }
.bd-stripe-roed .bd-hero-wrap,
.bd-stripe-berry .bd-hero-wrap,
.bd-stripe-jul_maraschino .bd-hero-wrap,
.bd-stripe-jul_ruby .bd-hero-wrap { filter: drop-shadow(0 6px 18px rgba(0,0,0,.28)); }

/* Bølget kant med border-image: hjørner og kanter er ens halvcirkler hele vejen rundt.
   "round" gør, at der altid er et helt antal buer på hver side, så de flugter med hjørnerne. */
.bd-hero-card {
    text-align: center;
    padding: 1rem .75rem;
    border: 18px solid transparent;
    border-image-source: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cg fill='%23FFFCF6'%3E%3Crect x='12' y='12' width='48' height='48'/%3E%3Ccircle cx='12' cy='12' r='12'/%3E%3Ccircle cx='36' cy='12' r='12'/%3E%3Ccircle cx='60' cy='12' r='12'/%3E%3Ccircle cx='12' cy='36' r='12'/%3E%3Ccircle cx='60' cy='36' r='12'/%3E%3Ccircle cx='12' cy='60' r='12'/%3E%3Ccircle cx='36' cy='60' r='12'/%3E%3Ccircle cx='60' cy='60' r='12'/%3E%3C/g%3E%3C/svg%3E");
    border-image-slice: 24 fill;
    border-image-repeat: round;
}
@media (min-width: 768px) { .bd-hero-card { border-width: 24px; padding: 2rem 2.25rem; } }
.bd-hero-title { color: #2D3A47; line-height: 1.1; margin: 0; }
.bd-hero-text { margin: 1rem auto 0; max-width: 32rem; font-size: 1rem; line-height: 1.55; opacity: .9; }
@media (min-width: 768px) { .bd-hero-text { font-size: 1.125rem; } }
.bd-hero-btns { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }
.bd-hero-btns a { display: inline-block; padding: .75rem 1.75rem; border-radius: .5rem; font-weight: 600; line-height: 1.25; text-decoration: none; }
/* Hovedknappen i stribernes farve */
.bd-hero-stripes .bd-hero-btns a.bg-action { background-color: var(--bd-stripe) !important; color: var(--bd-stripe-text) !important; }
.bd-hero-stripes .bd-hero-btns a.bg-action:hover { filter: brightness(.93); }
.bd-hero-btn2 { border: 2px solid #2D3A47; color: #2D3A47; padding: calc(.75rem - 2px) calc(1.75rem - 2px) !important; }
.bd-hero-btn2:hover { background: #2D3A47; color: #FFF7E6; }
@media (max-width: 479px) { .bd-hero-btns a { flex: 1 1 100%; text-align: center; } }

/* ===== Polaroid-billeder ===== */
/* Mobil/tablet: to billeder side om side under tekstfeltet */
.bd-pols { display: flex; justify-content: center; gap: 1rem; width: 100%; max-width: 26rem; }
.bd-pol {
    display: block; flex: 0 1 46%;
    background: #fff;
    padding: .55rem .55rem 0;
    box-shadow: 0 8px 22px rgba(0,0,0,.22), 0 1px 3px rgba(0,0,0,.12);
    color: #2D3A47; text-decoration: none;
    transition: transform .25s ease;
}
.bd-pol--1 { transform: rotate(-5deg); }
.bd-pol--2 { transform: rotate(4deg) translateY(.75rem); }
a.bd-pol:hover { transform: rotate(0) scale(1.04); z-index: 3; }
.bd-pol-photo { display: block; aspect-ratio: 1 / 1; overflow: hidden; background: #f3f0ea; }
.bd-pol-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bd-pol-cap { display: block; padding: .55rem .25rem .7rem; text-align: center; font-family: Georgia, 'Times New Roman', serif; font-style: italic; font-size: .85rem; line-height: 1.25; }
.bd-pol:not(:has(.bd-pol-cap)) { padding-bottom: 2rem; }

/* Computer: billederne til højre, lidt overlappende og skæve som rigtige fotos */
@media (min-width: 960px) {
    .bd-pols { position: relative; display: block; flex: 0 0 26rem; max-width: 26rem; height: 25rem; }
    .bd-pol { position: absolute; width: 14.5rem; padding: .7rem .7rem 0; }
    .bd-pol--1 { top: 0; left: 0; transform: rotate(-6deg); z-index: 1; }
    .bd-pol--2 { bottom: 0; right: 0; transform: rotate(5deg); z-index: 2; }
    .bd-pol-cap { font-size: 1rem; padding: .7rem .25rem .9rem; }
}
@media (min-width: 1200px) {
    .bd-pols { flex-basis: 30rem; max-width: 30rem; height: 27rem; }
    .bd-pol { width: 16rem; }
}

/* ===== Links i brødtekst (tekstmoduler, SEO-tekster, beskrivelser) =====
   Den lyse grønne (#8EB49C) er for svær at se som linkfarve, så links i tekst er mørkegrønne. */
.prose a:not([class*="bg-"]) { color: #2F5D45 !important; font-weight: 600; text-decoration-thickness: 1.5px; text-underline-offset: 2px; }
.prose a:not([class*="bg-"]):hover { color: #1F4030 !important; }
/* På mørke baggrunde (lys tekst) skal links være lyse */
.bd-bg-dark .prose a:not([class*="bg-"]) { color: #FFF7E6 !important; }

/* ===== Gavefinder: billedet fylder kortets billedramme ===== */
.bd-gf-photo { display: block; width: 100%; height: 100%; }
.bd-gf-photo > *, .bd-gf-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ===== Gavefinder i jule-form: rund med bølget kant (11 buer), lys indre streg og sløjfe ===== */
.bd-gf--scallop .bd-gf-img {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 0;
    overflow: visible;
    background: none;
}
.bd-gf--scallop .bd-gf-photo {
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cpath d='M100.0 11.0A31.1 31.1 0 0 1 148.1 25.1A31.1 31.1 0 0 1 181.0 63.0A31.1 31.1 0 0 1 188.1 112.7A31.1 31.1 0 0 1 167.3 158.3A31.1 31.1 0 0 1 125.1 185.4A31.1 31.1 0 0 1 74.9 185.4A31.1 31.1 0 0 1 32.7 158.3A31.1 31.1 0 0 1 11.9 112.7A31.1 31.1 0 0 1 19.0 63.0A31.1 31.1 0 0 1 51.9 25.1A31.1 31.1 0 0 1 100.0 11.0Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cpath d='M100.0 11.0A31.1 31.1 0 0 1 148.1 25.1A31.1 31.1 0 0 1 181.0 63.0A31.1 31.1 0 0 1 188.1 112.7A31.1 31.1 0 0 1 167.3 158.3A31.1 31.1 0 0 1 125.1 185.4A31.1 31.1 0 0 1 74.9 185.4A31.1 31.1 0 0 1 32.7 158.3A31.1 31.1 0 0 1 11.9 112.7A31.1 31.1 0 0 1 19.0 63.0A31.1 31.1 0 0 1 51.9 25.1A31.1 31.1 0 0 1 100.0 11.0Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
/* Billedet zoomer inde i formen, men selve formen står stille */
.bd-gf--scallop .bd-gf-card-link:hover .bd-gf-img img { transform: scale(1.06); }
.bd-gf--scallop .bd-gf-deco { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.bd-gf--scallop .bd-gf-line { fill: none; stroke: #FFF7E6; stroke-width: 1.6; }
/* Sløjfe: Ruby med råhvid kontur og små foldestreger i løkkerne */
.bd-gf--scallop .bd-gf-bow path,
.bd-gf--scallop .bd-gf-bow rect { fill: #9E2117; stroke: #FFF7E6; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.bd-gf--scallop .bd-gf-bow .bd-gf-fold { fill: none; stroke-width: 1.3; }
.bd-gf--scallop .bd-gf-bow { transition: transform .3s ease; transform-origin: 100px 22px; }
.bd-gf--scallop .bd-gf-card-link:hover .bd-gf-bow { transform: rotate(-5deg); }
.bd-gf--scallop .bd-gf-cards { padding-top: .5rem; }
.bd-gf--scallop .bd-gf-label { justify-content: center; text-align: center; margin-top: .4rem; }
@media (max-width: 639px) { .bd-gf--scallop .bd-gf-card { flex-basis: 62%; } }

/* ===== Gavefinder: fritstående billede uden ramme (fx gave uden baggrund) ===== */
.bd-gf--free .bd-gf-img { aspect-ratio: 1 / 1; border-radius: 0; overflow: visible; background: none; }
.bd-gf--free .bd-gf-photo > *, .bd-gf--free .bd-gf-photo img { object-fit: contain; }
.bd-gf--free .bd-gf-img img { filter: drop-shadow(0 8px 12px rgba(0,0,0,.14)); }
.bd-gf--free .bd-gf-card-link:hover .bd-gf-img img { transform: scale(1.05) rotate(-2deg); }
.bd-gf--free .bd-gf-label { justify-content: center; text-align: center; }
@media (max-width: 639px) { .bd-gf--free .bd-gf-card { flex-basis: 62%; } }

/* ===== Bannere i jule-form: billede i rund bølget ramme med sløjfe, tekst ved siden af ===== */
.bd-bn-card {
    position: relative; height: 100%;
    display: flex; flex-direction: column; align-items: center; gap: 1.25rem;
    padding: 2rem 1.5rem 1.75rem;
    background: #FFF7E6; color: #2D3A47; border-radius: 1rem;
    text-align: center;
    box-shadow: 0 6px 18px rgba(0,0,0,.10);
}
@media (min-width: 640px) {
    .bd-bn-card { flex-direction: row; text-align: left; gap: 1.75rem; padding: 2rem 2rem 2rem 1.5rem; }
}
.bd-bn--scallop .bd-bn-img { position: relative; flex: 0 0 auto; width: min(15rem, 72%); margin-top: .5rem; }
@media (min-width: 640px) { .bd-bn--scallop .bd-bn-img { width: 44%; max-width: 15rem; } }
.bd-bn-text { flex: 1 1 auto; min-width: 0; }
.bd-bn-btn {
    display: inline-block; margin-top: 1rem; padding: .6rem 1.4rem; border-radius: .5rem;
    background: #9E2117; color: #FFF7E6; font-size: .9rem; font-weight: 600; transition: filter .2s;
}
.bd-bn-card:hover .bd-bn-btn { filter: brightness(1.12); }
/* Samme bølgede form, streg og sløjfe som gavefinderen */
.bd-bn--scallop .bd-gf-img { aspect-ratio: 1 / 1; border-radius: 0; overflow: visible; background: none; display: block; }
.bd-bn--scallop .bd-gf-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.bd-bn--scallop .bd-gf-photo {
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cpath d='M100.0 11.0A31.1 31.1 0 0 1 148.1 25.1A31.1 31.1 0 0 1 181.0 63.0A31.1 31.1 0 0 1 188.1 112.7A31.1 31.1 0 0 1 167.3 158.3A31.1 31.1 0 0 1 125.1 185.4A31.1 31.1 0 0 1 74.9 185.4A31.1 31.1 0 0 1 32.7 158.3A31.1 31.1 0 0 1 11.9 112.7A31.1 31.1 0 0 1 19.0 63.0A31.1 31.1 0 0 1 51.9 25.1A31.1 31.1 0 0 1 100.0 11.0Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cpath d='M100.0 11.0A31.1 31.1 0 0 1 148.1 25.1A31.1 31.1 0 0 1 181.0 63.0A31.1 31.1 0 0 1 188.1 112.7A31.1 31.1 0 0 1 167.3 158.3A31.1 31.1 0 0 1 125.1 185.4A31.1 31.1 0 0 1 74.9 185.4A31.1 31.1 0 0 1 32.7 158.3A31.1 31.1 0 0 1 11.9 112.7A31.1 31.1 0 0 1 19.0 63.0A31.1 31.1 0 0 1 51.9 25.1A31.1 31.1 0 0 1 100.0 11.0Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.bd-bn-card:hover .bd-gf-img img { transform: scale(1.06); }
.bd-bn--scallop .bd-gf-deco { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.bd-bn--scallop .bd-gf-line { fill: none; stroke: #FFF7E6; stroke-width: 1.6; }
.bd-bn--scallop .bd-gf-bow path,
.bd-bn--scallop .bd-gf-bow rect { fill: #9E2117; stroke: #FFF7E6; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.bd-bn--scallop .bd-gf-bow .bd-gf-fold { fill: none; stroke-width: 1.3; }
.bd-bn--scallop .bd-gf-bow { transition: transform .3s ease; transform-origin: 100px 22px; }
.bd-bn-card:hover .bd-gf-bow { transform: rotate(-5deg); }
