/*
Theme Name:		Astra Child
The URI:		blackfridaykoeb.dk
Description:	Beskrivelse her
Author:			Rasmus Hultquist
Author URI:		blackfridaykoeb.dk
Template:		astra
Version:		1.0.0
License:		GNU General Public License v2 or later
License URI:	http://www.gnu.org/licenses/gpl-2.0.html
Text Domain		astra-child
*/

.ast-primary-header-bar {
	background-color: #fffdf7 !important;
}

#page .site-content {
	flex-grow: 0;
}

.ast-header-break-point #masthead .ast-mobile-header-wrap .ast-primary-header-bar, .ast-header-break-point #masthead .ast-mobile-header-wrap .ast-below-header-bar, .ast-header-break-point #masthead .ast-mobile-header-wrap .ast-above-header-bar {
	padding-left: 0 !important;
	padding-right: 0 !important;
}

.butik-oversigt {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
	grid-gap: 10px;
}

.butik-item {
	box-shadow: 0 5px 15px #0000002b;
	padding: 40px;
	height: 130px;
	position: relative;
	display: flex;
	justify-content: center; /* centrer horisontalt */
	align-items: center;     /* centrer vertikalt */
	background: #fff;
}

.butik-item-container a {
	position: relative;
}

.butik-item a::after {
	position: absolute;
	content: "";
}

.butik-item img {
	max-height: 100px;
}

.butik-oversigt-wrapper {
	position: relative;
	max-height: 250px;
	overflow: hidden;
	padding: 20px 0;
}

.butik-oversigt-wrapper::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 80px;
	background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,1) 100%);
	pointer-events: none;
	transition: opacity 0.3s ease;
}

.butik-oversigt-wrapper.expanded {
	max-height: none;
	overflow: visible;
}

.butik-oversigt-wrapper.expanded::after {
	opacity: 0;
	visibility: hidden;
}

.vis-hele-oversigten {
	display: block;
	margin: 1rem auto;
	padding: 0.5rem 1rem;
	font-size: 1rem;
	cursor: pointer;
	border: none;
	background-color: #0073aa;
	color: white;
	border-radius: 4px;
	transition: background 0.3s ease;
}

.vis-hele-oversigten:hover {
	background-color: #005c8e;
}

.fp-atf {
	background-image: url(http://blackfridaykoeb.dk/wp-content/uploads/2025/08/bf-atf-img.png);
	padding: 100px 0;
	background-size: cover;
	background-repeat: no-repeat;
	color: #fff;
	text-align: center;
	position: relative;
}

.fp-atf::after {
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	content: "";
	background: #000;
	opacity: 0.4;
}

.page-atf {
	background-image: url(http://blackfridaykoeb.dk/wp-content/uploads/2025/08/bf-atf-img.png);
	padding: 50px 0;
	background-size: cover;
	background-repeat: no-repeat;
	color: #fff;
	text-align: center;
	position: relative;
}

.page-atf::after {
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	content: "";
	background: #000;
	opacity: 0.4;
}

.fp-atf h1 {
	color: #fff;
	position: relative;
	z-index: 1;
	font-size: 68px;
}

.page-atf .h1 {
	color: #fff;
	position: relative;
	z-index: 1;
	font-size: 32px;
	bottom: 20px;
}

.shop-count {
	text-align: right;
	font-family: fantasy;
	font-style: italic;
	margin-right: 20px;
}

.shop-count span {
	color: #fb5c5c;
	font-size: 62px;
}

.content-area {
	margin-top: 50px;
}

.sub-pages-title {
	font-size: 2.25rem;
	font-weight: 600;
	line-height: 1.4em;
	margin-top: 50px;
	margin-bottom: 20px;
}

.sub-pages-overview {
	list-style-type: none;
	margin-left: 0;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	grid-gap: 10px;
}

body {
	background: #fffdf7;
}

.shop-link {
	position: relative;
	z-index: 1;
}

.shop-link a, .show-shops-btn {
	color: #fff;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: linear-gradient(135deg, #f97316, #fb923c);
	color: white;
	font-weight: bold;
	padding: 0.75rem 1.25rem;
	border: none;
	border-radius: 8px;
	text-decoration: none;
	font-size: 1rem;
	transition: background 0.3s ease, transform 0.2s ease;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	margin-top: 10px;
}

.shop-link a:hover {
	background: linear-gradient(135deg, #fb923c, #f97316);
	transform: translateY(-2px);
}

.shop-link p {
	margin-bottom: 0 !important;
}

.cart-icon {
	display: inline-block;
	width: 20px;
	height: 20px;
	background-image: url('data:image/svg+xml;utf8,<svg fill="white" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M7 18c-1.1 0-1.99.9-1.99 2S5.9 22 7 22s2-.9 2-2-.9-2-2-2zm10 0c-1.1 0-1.99.9-1.99 2s.89 2 1.99 2 2-.9 2-2-.9-2-2-2zM7.01 9l.94 2h8.17l1.5-4H6.31l.7 2H7.01zm13.66-4.24L19.21 7H5.22l-.94-2H1v2h2l3.6 7.59-1.35 2.44C4.52 17.37 5.48 19 7 19h12v-2H7.42c-.14 0-.25-.11-.25-.25l.03-.12.9-1.63h7.45c.75 0 1.41-.41 1.75-1.03l3.58-6.49c.08-.14.12-.3.12-.47 0-.55-.45-1-1-1h-2.79z"/></svg>');
	background-size: contain;
	background-repeat: no-repeat;
}

.shop-search-wrapper {
	margin: 20px 0;
	text-align: left;
}
#shop-search-input {
	padding: 10px;
	width: 100%;
	max-width: 400px;
	font-size: 16px;
	border: 1px solid #ccc;
	border-radius: 6px;
}

.shop-search-area {
	display: grid;
	grid-template-columns: 1fr 1fr;
}

.ta-center {
	text-align: center;
}


@media (max-width: 575.98px) {

}


@media (max-width: 767.98px) {
	.butik-oversigt {
		grid-template-columns: 1fr 1fr !important;
	}

	.butik-item {
		height: 100px;
	}

	.shop-search-area {
		display: grid;
		grid-template-columns: 1fr;
	}
	
	#shop-search-input {
		max-width: inherit;
	}
	
	.shop-count {
		text-align: center;
		order: 0;
	}
	
	.shop-search-wrapper {
		order: 1;
		margin-top: 0;
	}
}


@media (max-width: 991.98px) {
	.butik-oversigt {
		grid-template-columns: 1fr 1fr 1fr;
	}

	.shop-count span {
		font-size: 48px;
	}
}


@media (max-width: 1199.98px) {
	.butik-oversigt {
		grid-template-columns: 1fr 1fr 1fr 1fr;
	}
}


@media (max-width: 1399.98px) {

}


