/**
 * Üzlet Info Stílusok
 * EGYEDI PREFIX: uzletinfo
 */

/* ========================================
   WRAPPER
   ======================================== */


.uzletinfo-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
    margin-bottom: 25px;
    border-bottom: 1px solid #d9d9d987;
    padding-bottom: 25px;
}



/* ========================================
   LOGO
   ======================================== */

.uzletinfo-logo {
    flex-shrink: 0;
}

.uzletinfo-logo img {
    width: 120px;
    height: auto;
    object-fit: contain;
}

/* ========================================
   CONTENT
   ======================================== */

.uzletinfo-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.uzletinfo-title {
    font-family: "proxima-nova", Sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #1D2327;
    margin: 0;
    line-height: 1.2;
}

/* ========================================
   CÍM STÍLUS
   ======================================== */

.uzletinfo-cim {
    font-family: "proxima-nova", Sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #1D2327;
    line-height: 1.4;
}

/* ========================================
   NYITVATARTÁS STÁTUSZ
   ======================================== */

.uzletinfo-nyitva {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: "proxima-nova", Sans-serif;
    font-size: 15px;
    font-weight: 600;
}

.uzletinfo-status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Nyitva állapot */
.uzletinfo-nyitva.open .uzletinfo-status-dot {
    background: #007a3e;
}

.uzletinfo-nyitva.open .uzletinfo-status-text {
    color: #007a3e;
}

/* Zárva állapot */
.uzletinfo-nyitva.closed .uzletinfo-status-dot {
    background: #ff0000;
}

.uzletinfo-nyitva.closed .uzletinfo-status-text {
    color: #ff0000;
}

/* ========================================
   NYITVATARTÁS TÁBLÁZAT
   ======================================== */

.uzletinfo-nyitvatartas {
    font-family: "proxima-nova", Sans-serif;
}

.uzletinfo-nyitvatartas-title {
    font-family: "proxima-nova", Sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #1D2327;
    margin: 0 0 15px 0;
}

.uzletinfo-hours-table {
    width: 100%;
    max-width: 280px;
    border-collapse: collapse;
    font-size: 15px;
    border: none !important;
}

.uzletinfo-hours-table tr {
    border: none !important;
}

.uzletinfo-hours-table tr.today {
    font-weight: 700;
}



.uzletinfo-hours-table td {
    padding: 8px 0;
    border: none !important;
    border-bottom: 1px solid #f0f0f0 !important;
}

.uzletinfo-hours-table tr:last-child td {
    border-bottom: none !important;
}

.uzletinfo-day-name {
    color: #646970;
    font-weight: 500;
}

.uzletinfo-day-hours {
    text-align: right;
    color: #1d2327;
    font-weight: 500;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
    .uzletinfo-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .uzletinfo-logo img {
        width: 80px;
    }
    
    .uzletinfo-title {
        font-size: 22px;
    }
    
    .uzletinfo-cim {
        font-size: 15px;
    }
    
    .uzletinfo-nyitva {
        font-size: 14px;
    }
    
    .uzletinfo-status-dot {
        width: 10px;
        height: 10px;
    }
    
    .uzletinfo-hours-table {
        font-size: 14px;
    }
    
    .uzletinfo-nyitvatartas-title {
        font-size: 18px;
    }
    
    .uzletinfo-hours-table td {
        padding: 6px 0;
    }
}

/* ========================================
   PROMÓCIÓK ACCORDION
   ======================================== */

.uzletinfo-promociok {
    font-family: "proxima-nova", Sans-serif;
}

.uzletinfo-promocio-item {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.uzletinfo-promocio-item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.uzletinfo-promocio-item:last-child {
    margin-bottom: 0;
}

/* Header - mindig látható */
.uzletinfo-promocio-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: #fff;
    cursor: pointer;
}

.uzletinfo-promocio-title {
    font-size: 18px;
    font-weight: 600;
    color: #1D2327;
    margin: 0;
    flex: 1;
}

.uzletinfo-promocio-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #ce2424;
    border: 1px solid #ce2424;
    border-radius: 30px;
    color: #ffffff;
    font-family: "proxima-nova", Sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.uzletinfo-promocio-toggle:hover {
    background: #ce2424;
    color: #fff;
}

.uzletinfo-promocio-toggle:focus,
.uzletinfo-promocio-toggle:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    border-color: #ce2424 !important;
    background: #ce2424 !important;
    color: #fff !important;
}

.uzletinfo-toggle-arrow {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.uzletinfo-promocio-item.open .uzletinfo-toggle-arrow {
    transform: rotate(180deg);
}



.uzletinfo-promocio-item.open .uzletinfo-promocio-header {

    background: #ce2424;
}

.uzletinfo-promocio-item.open .uzletinfo-promocio-title {
    color: #ffffff;
}

.uzletinfo-promocio-item.open .uzletinfo-promocio-toggle {
    border: 1px solid #ffffff;
    border-radius: 30px;
    color: #ffffff;
}

/* Content - rejtett alapból */
.uzletinfo-promocio-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: #fafafa;
}

.uzletinfo-promocio-item.open .uzletinfo-promocio-content {
    border-top: 1px solid #e0e0e0;
}

/* Kép */
.uzletinfo-promocio-image {
    width: 100%;
}

.uzletinfo-promocio-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Szöveg */
.uzletinfo-promocio-text {
    padding: 25px;
    color: #1D2327;
    font-size: 16px;
    line-height: 1.7;
}

.uzletinfo-promocio-text p {
    margin: 0 0 15px 0;
}

.uzletinfo-promocio-text p:last-child {
    margin-bottom: 0;
}

.uzletinfo-promocio-text strong {
      font-weight: 600;
}  


.uzletinfo-promocio-text img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 15px 0;
}

.uzletinfo-promocio-text h1,
.uzletinfo-promocio-text h2,
.uzletinfo-promocio-text h3,
.uzletinfo-promocio-text h4 {
    margin: 20px 0 10px 0;
    color: #1D2327;
}

.uzletinfo-promocio-text ul,
.uzletinfo-promocio-text ol {
    margin: 15px 0;
    padding-left: 25px;
}

.uzletinfo-promocio-text li {
    margin-bottom: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .uzletinfo-promocio-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding: 15px 20px;
    }
    
    .uzletinfo-promocio-title {
        font-size: 16px;
    }
    
    .uzletinfo-promocio-toggle {
        width: 100%;
        justify-content: center;
    }
    
    .uzletinfo-promocio-text {
        padding: 20px;
        font-size: 14px;
    }
}
