/* ================================
   HELKEM – FELHASZNÁLÓI FIÓK + KEDVENCEK + RENDELÉSNÉZET
   ================================ */


/* =======================================
   HELKEM – FELHASZNÁLÓI FIÓK / KEDVENCEK
   ======================================= */

/* ---- Alap beállítások ---- */
body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.helkem-dashboard-container {
    max-width: 1250px;
    margin: 50px auto;
    padding: 20px;
    color: #E8EEF2;
}

/* ---- Fejléc ---- */
.helkem-dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.helkem-dashboard-header h1 {
    font-size: 42px;
    font-weight: 600;
    margin: 0 0 6px;
}

.subtext {
    font-size: 17px;
    color: #A8B9C4;
}

.logout {
    color: #FF7A7A;
    text-decoration: none;
    font-size: 15px;
}

.logout:hover {
    color: #FF9D9D;
}

/* ---- Jobb oldali statisztika ---- */
.helkem-dashboard-stats {
    text-align: right;
}

.helkem-dashboard-stats p {
    margin: 0 0 4px;
}

.helkem-dashboard-stats strong {
    font-size: 18px;
}

/* ---- Két doboz (Rendelések + Kedvencek) ---- */
.helkem-dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
}

.helkem-box {
    background: #0F262F;
    padding: 28px;
    border-radius: 24px;
    box-shadow: 0 0 35px rgba(0,0,0,0.35);
}

.box-title {
    margin-bottom: 22px;
    font-size: 22px;
    font-weight: 600;
    color: #fff;
}

/* ===========================
   RENDELÉSEK LISTA
=========================== */

.helkem-orderlist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.helkem-orderlist-item a {
    display: grid;
    grid-template-columns: 0.6fr 1fr 0.8fr 0.8fr;
    align-items: center;
    padding: 18px 24px;
    background: #10303A;
    border-radius: 18px;
    margin-bottom: 12px;
    text-decoration: none;
    color: #E8EEF2;
    transition: background .2s ease, transform .1s ease;
}

.helkem-orderlist-item a:hover {
    background: #133943;
    transform: translateY(-1px);
}

/* ---- Rendelés ID ---- */
.order-id {
    font-weight: 700;
    transition: color .15s;
}

.helkem-orderlist-item a:hover .order-id {
    color: #00B6D5 !important;
}

/* ---- Dátum ---- */
.order-date {
    font-size: 14px;
    color: #9BAAB5;
}

/* ---- Összeg ---- */
.order-total {
    font-size: 17px;
    font-weight: 600;
    text-align: center;
    transition: color .15s;
}

.helkem-orderlist-item a:hover .order-total {
    color: #00B6D5 !important;
}

/* ---- Státusz badge ---- */
.order-status {
    justify-self: end;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}

/* Státusz színek */
.status-processing { background:#E6F1FF; color:#225BBB; }
.status-completed { background:#E7F8E9; color:#1D7C2F; }
.status-on-hold { background:#FFF5E0; color:#9B6B1B; }
.status-pending { background:#FFF4CC; color:#917600; }
.status-cancelled { background:#FFE6E6; color:#B32020; }

/* ===========================
   KEDVENCEK LISTA
=========================== */

.helkem-wishlist-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.helkem-wishlist-item a {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: #10303A;
    border-radius: 16px;
    margin-bottom: 12px;
    text-decoration: none;
    color: #fff;
    transition: background .2s ease;
}

.helkem-wishlist-item a:hover {
    background: #133943;
}

.helkem-wishlist-item a:hover .wishlist-title {
    color: #00B6D5 !important;
}

.wishlist-thumb img {
    width: 48px;
    height: 48px;
    border-radius: 5px !important;
    object-fit: contain;
}

.wishlist-title {
    font-size: 16px;
    font-weight: 500;
    transition: color .2s;
}



/* ================================
   5) KEDVENCEK SZÍV IKON
================================ */

/* =============================
   HELKEM – KEDVENCEK IKON FIX
   ============================= */

/* Alap méret (DESKTOP) */
[id^="helkem-fav-icon-"] {
    width: 28px !important;
    height: 28px !important;
    object-fit: contain !important;
    display: block !important;
    max-width: none !important;
    max-height: none !important;
    pointer-events: none; /* ne vonatkozzon hover a képre */
}

/* Mobil méret */
@media (max-width: 768px) {
    [id^="helkem-fav-icon-"] {
        width: 22px !important;
        height: 22px !important;
    }
}

/* A gomb soha ne kapjon hátteret */
.helkem-fav-btn,
.helkem-fav-btn:hover,
.helkem-fav-btn:focus,
.helkem-fav-btn:active {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

/* A gomb pozicionálása a termékkártyán */
.helkem-fav-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 50;
    cursor: pointer;
}

/* Kicsi zoom hoverre – csak desktopon */
@media (min-width: 769px) {
    .helkem-fav-btn:hover img {
        transform: scale(1.12);
        transition: transform .15s ease-in-out;
    }
}


/* ================================
   6) RENDELÉS MEGTEKINTÉSE OLDAL
================================ */

/* ==== HELKEM ORDER VIEW – screenshot stílus ==== */

/* külső konténer */
.helkem-order-container {
    max-width: 960px;
    margin: 50px auto;
    padding: 20px;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #E8EEF2;
}

/* nagy kártya */
.helkem-order-card {
    background: #0F262F;
    border-radius: 32px;
    padding: 40px 40px 32px;
    box-shadow: 0 0 40px rgba(0,0,0,0.45);
}

/* fejléc */
.helkem-order-title {
    margin: 0 0 10px;
    font-size: 32px;
    font-weight: 600;
}

.helkem-order-sub {
    margin: 0 0 30px;
    font-size: 15px;
    color: #C5D4DD;
}

/* belső panel */
.helkem-order-panel {
    background: #132D36;
    border-radius: 24px;
    padding: 26px 28px;
    margin-bottom: 28px;
}

/* sorok a panelben */
.helkem-order-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 15px;
}

.helkem-order-label {
    color: #A8B9C4;
}

.helkem-order-value {
    font-weight: 600;
}

/* termékek box */
.helkem-order-items-box {
    background: #132D36;
    border-radius: 24px;
    padding: 22px 24px;
    margin-bottom: 30px;
}

.helkem-order-items-box h2 {
    margin: 0 0 14px;
    font-size: 18px;
}

/* terméklista */
.helkem-order-product-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.helkem-order-product {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.helkem-order-product:last-child {
    border-bottom: none;
}

.helkem-order-product-thumb img {
    width: 52px;
    height: 52px;
    border-radius: 5px !important;
    object-fit: contain;
}

.helkem-order-product-name {
    font-size: 15px;
    font-weight: 500;
}

.helkem-order-product-qty {
    color: #9FB1BD;
    font-size: 14px;
}

/* gomb sor */
.helkem-order-footer {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 10px;
}

.helkem-order-back {
    background: transparent;
    border-radius: 999px;
    padding: 11px 22px;
    font-size: 15px;
    text-decoration: none;
    color: #7AC2FF;
}

.helkem-order-back:hover {
    color: #00B6D5 !important;
}


.helkem-order-repeat {
    background: #00C1F3;
    color: #00141B !important;
    border-radius: 16px;
    padding: 13px 26px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s ease, transform .1s ease;
}

.helkem-order-repeat:hover {
    background: #12D3FF;
    transform: translateY(-1px);
}

/* mobil */
@media (max-width: 768px) {
    .helkem-order-card {
        padding: 28px 18px 24px;
        border-radius: 24px;
    }

    .helkem-order-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }

    .helkem-order-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .helkem-order-repeat,
    .helkem-order-back {
        text-align: center;
        width: 100%;
    }
}



/* ================================
   7) MOBIL
================================ */

@media (max-width: 900px) {

    .helkem-dashboard-grid {
        grid-template-columns: 1fr;
    }

    .helkem-orderlist-item a {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
    }
}
