/* Wrapper for filter */
.filter-wrapper {
    margin-bottom: 90px;
    display: flex;
    align-items: center;
    background: #184969;
    border-radius: 30px;
    padding: 10px;
}
.filter-content {
    width: 90%;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}
.filter-content label {
    color:#fff;
}
/* Filters styling */
.store-filter {
    border-radius: 3px;
    font-size: 16px;
    width: 180px;
    padding-left: 10px;
    margin-right: 20px;
}
#region-filter,
#brand-filter {
    border-radius: 3px;
    font-size: 16px;
    width: 180px;
    padding-left: 10px;
}
/* Grid layout for the stores */
.butiker-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 20px;
}
/* Individual store item */
.butik-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 60px;
    background: #fff;
    transition: 0.3s ease-in-out;
    position: relative;
	border-radius:10px;
}
/* Hover effect */
.butik-item:hover {
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2);
    transform: translateY(-3px);
}
.butik-item p {
    margin-bottom: 0px;
}
.butik-item h3 {
    font-size: 25px;
    text-transform: uppercase;
}
.butik-strong {
    font-weight:bold;
    font-size:18px;
}

/* Service icons styling */
.butik-services {
    margin-top: 20px;
    width: 100%;
}

.butik-services h4 {
    font-size: 18px;
    margin-bottom: 15px;
    text-align: center;
    color: #184969;
}

.service-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    position: relative;
}

.service-icon {
    width: 40px;
    height: 40px;
    /*display: flex;*/
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
    cursor: pointer;
    position: relative;
}

.service-icon:hover {
    transform: scale(1.1);
}

.service-icon a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.service-icon a img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}


/* Service tooltip styling */
.service-tooltip {
    position: absolute;
    text-align: center;
    width: 100%;
    bottom: -10px;
    left: 0;
    font-size: 14px;
    color: #184969;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.service-icons-container {
    position: relative;
    padding-bottom: 30px; /* Make space for the tooltip */
}

/*** CSS FOR THE REGION SHORTCODE ***/
.map-wrapper {
    padding: 20px;
}
.map-header {
    border-bottom:1px solid lightgray;
    margin-bottom:1em;
}
.map-heading {
    font-size:18px !important;
}
.store-wrapper {
    margin-bottom:1em;
}
.map-heading {
    margin-bottom:20px;
}
.map-footer {
    width:100%;
    margin:auto;
    margin-top:20px;
    padding-top:10px;
	padding-bottom:10px;
    
}

.map-footer-link {
	background-color: #184969;
	color:white;
	padding:8px 16px 8px 16px;
	font-size:12px;
	border-radius:30px;
}

.map-footer-link:hover {
	background-color: #113247;
	color:white;

}

.store-specific-footer {
	margin-bottom:20px;
	margin-top:10px;
}
.map-strong {
    font-weight:bold;
    font-size:15px;
}
@media (max-width: 1024px) {
    .butiker-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .butiker-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-wrapper {
        margin-bottom: 30px;
    }
    
    .service-icon {
        width: 35px;
        height: 35px;
    }
}
@media (max-width: 640px) {
    .filter-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .store-filter,
    #region-filter,
    #brand-filter {
        width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .filter-wrapper {
        padding: 15px;
    }
    
    .filter-content label {
        margin-bottom: 5px;
        display: block;
    }
    
    .butik-item {
        padding: 30px;
    }
    
    .service-icons {
        gap: 10px;
    }
}

/* Show All Button Styling */
.show-all-button-wrapper {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 40px;
}

.show-all-button {
    background-color: #184969;
    color: #fff;
    padding: 14px 30px;
    border: none;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    text-transform: uppercase;
    
}

.show-all-button:hover {
    background-color: #902b19;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(24, 73, 105, 0.3);
}

.show-all-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(24, 73, 105, 0.2);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .show-all-button-wrapper {
        margin-top: 30px;
        margin-bottom: 30px;
    }
    
    .show-all-button {
        padding: 12px 30px;
        font-size: 15px;
        min-width: 180px;
    }
}

/* INVOICE ADDRESS */

/* Invoice-specific styling */
.fakturering-item {
    padding: 40px !important; /* Reduce padding for more compact cards */
}

.fakturering-item h3 {
    text-align: center;
    margin-bottom: 20px;
    color: #184969;
    border-bottom: 2px solid #184969;
    padding-bottom: 10px;
}

/* COMPACT STYLE (default) - Everything on same line */
.fakturering-compact .invoice-content {
    text-align: left;
}

.fakturering-compact .invoice-content p {
    margin-bottom: 10px;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
}

.fakturering-compact .invoice-content p strong {
    color: #000;
    display: inline-block;
    min-width: 140px;
    margin-right: 10px;
    font-size: 14px;
    font-weight: 600;
    flex-shrink: 0;
}

/* CENTERED STYLE - Labels above values */
.fakturering-centered {
    text-align: center;
}

.fakturering-centered .invoice-content {
    text-align: center;
}

.fakturering-centered .invoice-content p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.fakturering-centered .invoice-content p strong {
    color: #184969;
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Links styling for both styles */
.invoice-content a {
    color: #184969;
    text-decoration: none;
    transition: color 0.3s ease;
}

.invoice-content a:hover {
    color: #902b19;
    text-decoration: underline;
}

/* Responsive adjustments for invoice cards */
@media (max-width: 768px) {
    .fakturering-item {
        padding: 30px !important;
    }
    
    .fakturering-compact .invoice-content p strong,
    .fakturering-centered .invoice-content p strong {
        font-size: 13px;
    }
    
    /* On mobile, keep the two-column layout but adjust spacing */
    .fakturering-compact .invoice-content p strong {
        min-width: 110px;
        margin-right: 8px;
    }
}