/* =============================================================
   Creamox Store Hours — Frontend Styles
   Autor: Creamox.com | v1.0.0
   ============================================================= */

/* ── Aviso de tienda cerrada ─────────────────────────────── */
.csh-closed-notice {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 24px;
    border-radius: 15px;
    margin: 20px 0;
    font-family: inherit;
    line-height: 1.6;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .18), 0 2px 8px rgba(0,0,0,.10);
    animation: csh-slide-in .4s cubic-bezier(.22,1,.36,1);
    border: 1px solid rgba(255,255,255,.08);
}

@keyframes csh-slide-in {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.csh-notice-icon {
    font-size: 28px;
    flex-shrink: 0;
    margin-top: 2px;
    line-height: 1;
}

.csh-notice-content {
    flex: 1;
    min-width: 0;
}

.csh-notice-message {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
}

.csh-notice-schedule {
    margin: 0 0 14px;
    font-size: 13px;
    opacity: .75;
    font-weight: 400;
}

/* ── Botón CTA del aviso ─────────────────────────────────── */
.csh-notice-btn {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .4px;
    transition: opacity .2s ease, transform .2s ease, box-shadow .2s ease;
    box-shadow: 0 4px 14px rgba(0,0,0,.2);
    white-space: nowrap;
}

.csh-notice-btn:hover {
    opacity: .88;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,.28);
    text-decoration: none;
}

.csh-notice-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0,0,0,.2);
}

/* ── Aviso en shop listing (ancho completo) ──────────────── */
.csh-notice--shop {
    border-radius: 12px;
    margin: 0 0 28px;
}

/* ── Widget shortcode [creamox_store_status] ─────────────── */
.csh-status-widget {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

.csh-status-widget p {
    margin: 4px 0 0;
    font-size: 12px;
    font-weight: 400;
    opacity: .8;
}

.csh-status-widget--open {
    background: rgba(0, 214, 143, .12);
    color: #00b87a;
    border: 1.5px solid rgba(0, 214, 143, .4);
}

.csh-status-widget--closed {
    background: rgba(233, 69, 96, .12);
    color: #e94560;
    border: 1.5px solid rgba(233, 69, 96, .4);
}