/* Benihaus Size Guide Popup */
.benihaus-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.benihaus-popup-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 5px;
    max-width: 600px;
    width: 90%;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    word-wrap: break-word; /* Add this */
}

.benihaus-popup-content img {
    max-width: 100%; /* And add this */
    height: auto;
}

.benihaus-popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    color: #888;
}

.benihaus-popup-close:hover {
    color: #000;
}

/* Modern Store Selection Bar */
.benihaus-store-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #171f1e;
    color: #fff;
    padding: 12px 20px;
    z-index: 999999;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    font-family: 'HelveticaNeueLight', sans-serif;
    display: none; /* Hidden by default, shown by JS */
    transition: transform 0.3s ease-in-out;
}

.benihaus-store-bar.is-visible {
    display: block !important;
}

.benihaus-store-bar.is-correct-domain {
    display: none !important; /* Never show if on correct domain */
}

.benihaus-bar-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.benihaus-bar-text {
    font-size: 14px;
    line-height: 1.4;
}

.benihaus-bar-text strong {
    color: #327d6d;
}

.benihaus-bar-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.benihaus-bar-btn {
    background: #327d6d;
    color: #fff !important;
    padding: 8px 20px;
    border-radius: 4px;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.2s;
}

.benihaus-bar-btn:hover {
    background: #2a665a;
}

.benihaus-bar-close {
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.benihaus-bar-close:hover {
    color: #fff;
}

@media (max-width: 768px) {
    .benihaus-bar-container {
        flex-direction: column;
        text-align: center;
    }
    .benihaus-store-bar {
        padding: 15px;
    }
    .benihaus-bar-text {
        font-size: 13px;
    }
}
