
a {
    text-decoration: none;
}

*:focus {
    outline: none;
}


/* Loading-animation */
#loading-animation {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 300px;
    height: 300px;
    background-color: transparent; /* Baggrundsfarve */
    padding: 10px;
    box-sizing: border-box;
}

#loading-text {
    font-size: 1.7em;
    color: #FFFFFF;
    white-space: nowrap;
    overflow: visible; /* Tillad indhold at vises uden at blive skåret af */
    box-sizing: border-box;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    transition: color 0.3s ease, transform 0.3s ease;
}

#loading-text:hover {
    transform: scale(1.05); /* Gør teksten en smule større */
}

/* Dots animation */
#dots {
    display: inline-block;
    margin-left: 1px;
}

#dots span {
    display: inline-block;
    opacity: 0;
    animation: blink 1.3s infinite;
}

#dots span:nth-child(1) {
    animation-delay: 0s;
}

#dots span:nth-child(2) {
    animation-delay: 0.3s;
}

#dots span:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes blink {
    0% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}

/* Progress bar styling */
.progress-bar {
    width: 90%;
    max-width: 500px;
    height: 20px;
    background-color: #2E2F31; /* Mørkere grå for kontrast */
    border-radius: 10px;
    overflow: hidden;
    margin-top: 15px; /* Afstand fra teksten */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #60413B, #885e3d);
    border-radius: 10px;
    transition: width 2s linear, background-position 0.5s;
    background-size: 200% 100%;
    background-position: 0% 0%;
    box-shadow: 0 0 10px #60413B;
}

/* Hover-effekt på progress bar */
.progress-bar:hover {
    transform: scale(1.10); /* Gør loading-baren en smule større */
    background-color: #3A3B3D; /* Lidt lysere baggrundsfarve ved hover */
}

.progress-fill:hover {
    background-position: 100% 0%;
    box-shadow: 0 0 15px #885e3d; /* Forstærker glødeeffekten ved hover */
    background: linear-gradient(90deg, #885e3d, #A6754B);
}

/* Container styling */
#product-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Centrering af produkterne */
    gap: 20px; /* Afstand mellem produkterne */
    padding: 20px;
}

/* Produktstyling */
.bf_product {
    border: 1px solid #ccc;
    padding: 15px;
    max-width: 300px;
    width: calc(33.333% - 40px); /* Justeret bredde */
    text-align: center;
    box-sizing: border-box;
    display: flex;
    flex-direction: column; /* Gør det muligt at arrangere indholdet vertikalt */
}

.bf_product_top img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.bf_product_top h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
}

.bf_product_bottom {
    margin-top: auto; /* Skubber bundsektionen til bunden */
}

.bf_product_bottom p {
    margin: 0 0 15px; /* Juster marginer efter behov */
}

.bf_regular-price {
    font-size: 1.1em; /* Gør prisen større */
    color: #999;
}

.bf_sale-price {
    font-size: 1.2em; /* Gør prisen større */
    color: #FF7F50; /* Lysere farve for at skille sig ud */
    font-weight: bold;
    display: block; /* Flytter prisen til ny linje */
    margin-top: 5px; /* Lidt afstand til teksten ovenfor */
}

.bf_buy-button {
    display: inline-block;
    font-size: 16px; /* Gør prisen større */
    background-color: #60413B; /* Brun farve */
    color: #fff; /* Hvid tekst */
    padding: 10px 20px;
    font-weight: bold !important; /* Gør teksten fed */
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.4s ease-in-out !important; /* Glidende overgang */
}

.bf_buy-button:hover {
    background-color: #FFFFFF; /* Byt baggrundsfarve */
    color: #60413B; /* Byt tekstfarve */
    font-weight: bold !important; /* Gør teksten fed */
    border-radius: 16px !important; /* Rundede hjørner */
    padding: 10px 20px;
    cursor: pointer !important; /* Skift cursor til pointer */
}

/* Responsivt design */
@media (max-width: 768px) {
    .bf_product {
        width: calc(50% - 40px);
    }
}

@media (max-width: 480px) {
    .bf_product {
        width: 100%;
    }
}
.hover-zoom {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-zoom:hover {
    transform: scale(1.1); 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
    cursor: pointer; 
}

.wc-block-components-product-image img {
    transition: transform 0.4s ease, box-shadow 0.3s ease !important; /* Overgang på transform og box-shadow */
}

.wc-block-components-product-image img:hover {
    transform: scale(1.05) !important; /* Forstør billedet ved hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important; /* Tilføj skygge */
    cursor: pointer !important; /* Skift til pointer */
}

.retailer-logo img {
    max-width: 150px; /* Maksimal bredde */
    max-height: 75px; /* Maksimal højde */
    height: auto;     /* Bevar billedets proportioner */
    width: auto;      /* Bevar billedets proportioner */
    display: inline-block;
    margin-bottom: 15px;
    border-radius: 5px;
    transition: all 0.3s ease-in-out; /* Glidende overgang */

    /* Fjern enhver kant eller outline */
    border: none;      /* Sikrer, at ingen kant vises */
    outline: none;     /* Fjern fokus-outline */
    box-shadow: none;  /* Ingen skygger som kan ligne en kant */
}

.retailer-logo img:hover {
    transform: scale(1.05); /* Forstør logoet en smule */
    border-radius: 15px; /* Øg rundingen af hjørner */
    cursor: pointer; /* Skift til pointer */
    border: none; /* Fjern evt. kant på hover */
}

