/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

/* Shop Status Styles */
.shop-status-wrapper {
    display: flex !important;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    line-height: 1.4;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.status-indicator {
    width: 12px;
    height: 12px;
    background: #68B246;
    border-radius: 50%;
    flex-shrink: 0;
}

.status-text {
    color: #333;
    font-weight: 500;
    white-space: nowrap;
}

.shop-status-wrapper.is-closed .status-indicator {
    background: #E74C3C;
}

.status-open,
.status-closed {
    display: none;
}

.shop-status-wrapper:not(.is-closed) .status-open {
    display: block;
}

.shop-status-wrapper.is-closed .status-closed {
    display: block;
}

/* Opening Hours List Styles */
.opening-hours-list {
    margin-bottom: 1.5em;
}

.opening-hours-list ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5em;
}

.opening-hours-list li {
    margin-bottom: 0.5em;
}

.special-hours-list {
    margin-bottom: 1.5em !important;
}

.special-hours {
    font-weight: 500;
    color: #E74C3C;
}

.seasonal-notices {
    margin-bottom: 1.5em;
}

.seasonal-notice {
    font-style: italic;
    margin-bottom: 0.5em;
}

.weekday {
    position: relative;
}

.regular-hours-list {
    margin-top: 1em;
}

/* Combined Shop Hours Styles */
.shop-hours-combined {
    display: flex;
    flex-direction: column;
    gap: 2em;
    max-width: 100%;
}

.shop-hours-combined .shop-hours-status {
    margin-bottom: 1em;
}

.shop-hours-combined .shop-hours-list-wrapper {
    margin-top: 0;
}

/* Fjern dobbelt margin hvis der er to h2'er */
.shop-hours-combined .shop-hours-list-wrapper h2:first-child {
    margin-top: 0;
}

/* Responsive styling */
@media (min-width: 768px) {
    .shop-hours-combined {
        gap: 3em;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .shop-status-wrapper {
        font-size: 14px;
    }

    .status-indicator {
        width: 10px;
        height: 10px;
    }
}
