.ap-card-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
}

.ap-card {
    border-radius: 8px;
    padding: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    background: #fff7e5;
    border: 1px solid #f0d09a;
    display: flex;
    flex-direction: column;
    gap: 2px;
    position: relative;
}

.ap-card--banner {
    grid-column: span 3;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000;
    color: #fff;
}



/* Banner média (kép/videó) – ne nagyítson túl, legyenek vezérlők */
.ap-card--banner{
    position: relative;
    padding: 0;
    overflow: hidden;
}

.ap-card--banner .ap-banner-link{
    display:block;
    width:100%;
    height:100%;
}

.ap-card--banner .ap-banner-media{
    width: 100%;
    height: 100%;
    max-height: 180px;
    display: block;
    object-fit: contain;
    background: #000;
}

.ap-card--banner .ap-banner-cta{
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 2;
}

.ap-card--banner .ap-banner-open{
    display:inline-block;
    padding: 6px 10px;
    border-radius: 6px;
    background: rgba(0,0,0,.65);
    color: #fff;
    text-decoration: none;
    font-size: 13px;
}

.ap-card--banner .ap-banner-open:hover{
    background: rgba(0,0,0,.8);
}
.ap-card-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
}

.ap-price-orig {
    text-decoration: line-through;
    opacity: 0.7;
    margin-left: 8px;
}

.ap-card-button a {
    display: inline-block;
    padding: 4px 8px;
    background: #28a745;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    font-size: 11px;
}

.ap-pagination ul {
    list-style: none;
    display: flex;
    gap: 6px;
    padding: 0;
    margin-top: 16px;
}

.ap-pagination li a,
.ap-pagination span {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid #ccc;
    text-decoration: none;
}

.ap-pagination .current {
    background: #333;
    color: #fff;
    border-color: #333;
}

@media (max-width: 900px) {
    .ap-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .ap-card--banner {
        grid-column: span 2;
    }
}

@media (max-width: 600px) {
    .ap-card-grid {
        grid-template-columns: 1fr;
    }
    .ap-card--banner {
        grid-column: span 1;
    }
}


/* === AkcioPost keresősáv (kártyák elé) === */
.ap-search-bar {
    max-width: 1100px;
    margin: 0 auto 24px;
    padding: 16px 18px;
    background: #111827;
    border-radius: 16px;
    border: 1px solid rgba(248, 191, 66, 0.6);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
    color: #f9fafb;
}

.ap-search-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px 16px;
}

.ap-search-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.ap-search-field label {
    font-size: 13px;
    font-weight: 500;
    color: #fde68a;
}

.ap-search-field input[type="text"], .ap-search-field select {
    width: 100%;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid rgba(248, 191, 66, 0.65);
    background: #020617;
    color: #f9fafb;
    font-size: 14px;
}

.ap-search-field input[type="text"]::placeholder {
    color: #9ca3af;
}

.ap-search-field input[type="text"]:focus, .ap-search-field select:focus {
    outline: none;
    border-color: #fbbf24;
    box-shadow: 0 0 0 1px rgba(251, 191, 36, 0.4);
}

.ap-search-actions {
    margin-top: 14px;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.ap-search-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    min-height: 40px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.ap-search-btn--reset {
    background: transparent;
    border-color: rgba(248, 191, 66, 0.7);
    color: #fde68a;
}

.ap-search-btn--reset:hover {
    background: rgba(248, 191, 66, 0.12);
    color: #f9fafb;
}

.ap-search-btn--submit {
    background: linear-gradient(90deg, #f97316, #fbbf24);
    color: #111827;
    box-shadow: 0 0 14px rgba(251, 191, 36, 0.45);
}

.ap-search-btn--submit:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
}

@media (max-width: 900px) {
    .ap-search-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .ap-search-grid {
        grid-template-columns: 1fr;
    }
    .ap-search-actions {
        justify-content: stretch;
    }
    .ap-search-btn {
        flex: 1 1 auto;
        width: 100%;
    }
}


/* Saját kártyáim: kártya-előnézet + mezőlista egymás mellett */
.ap-my-card-body {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.ap-my-card-body-preview {
    flex: 0 0 320px;
}

.ap-my-card-body-preview .ap-card {
    max-width: 320px;
}

.ap-my-card-body-fields {
    flex: 1 1 200px;
}

/* Élő előnézeti kártya alap beállítások */
.ap-card-live-preview {
    max-width: 360px;
    margin-top: 20px;
}

/* Live stats refresh state */
.apcs-panel-loading{ opacity: 0.6; pointer-events: none; }


/* Mobilbarát saját autocomplete lista az AkcióPost keresőhöz */
.ap-search-bar .ap-auto-wrap {
    position: relative;
}
.ap-search-bar .ap-auto-list {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 9999;
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 0 0 0.5rem 0.5rem;
    max-height: 220px;
    overflow-y: auto;
    box-shadow: 0 10px 25px rgba(15,23,42,0.18);
}
.ap-search-bar .ap-auto-item {
    padding: 6px 10px;
    font-size: 14px;
    cursor: pointer;
}
.ap-search-bar .ap-auto-item:hover {
    background: #f3f4f6;
}
@media (max-width: 768px) {
    .ap-search-bar .ap-auto-list {
        font-size: 16px;
    }
    .ap-search-bar .ap-auto-item {
        padding: 10px 12px;
    }
}


/* =========================================================
   Saját kártyáim (akciopost_my_cards) – státusz badge + újra feladom + tömeges törlés
   ========================================================= */
.ap-my-cards-toolbar{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    align-items:center;
    margin: 0 0 16px;
}
.ap-my-cards-select-all{
    display:flex;
    align-items:center;
    gap:8px;
    font-size:14px;
    user-select:none;
}
.ap-my-cards-bulk-form{ margin:0; }
.ap-my-cards-bulk-form .button-danger{
    background:#d63638;
    border-color:#d63638;
    color:#fff;
}
.ap-my-cards-bulk-form .button-danger:hover{
    filter: brightness(0.95);
}

.ap-my-card-preview-wrap{ position:relative; }
.ap-my-card-badge{
    position:absolute;
    z-index:30;
    padding:6px 10px;
    border-radius:999px;
    font-size:12px;
    line-height:1;
    border:1px solid rgba(0,0,0,.08);
    background: rgba(255,255,255,.92);
    color:#111827;
    box-shadow: 0 8px 18px rgba(15,23,42,0.10);
}
.ap-my-card-badge--status{ top:10px; left:10px; }
.ap-my-card-badge--repost{ top:10px; right:10px; }
.ap-my-card-badge--select{
    left:10px;
    bottom:10px;
    display:flex;
    align-items:center;
    gap:8px;
    cursor:pointer;
}
.ap-my-card-badge--select input{ margin:0; }

.ap-badge-btn{
    background:transparent;
    border:0;
    padding:0;
    margin:0;
    cursor:pointer;
    font-weight:600;
    color:inherit;
}

/* Státusz színek */
.ap-my-card-badge--pending{ background:#fff3cd; border-color:#ffe69c; }
.ap-my-card-badge--active{ background:#d1e7dd; border-color:#a3cfbb; }
.ap-my-card-badge--expired{ background:#f8d7da; border-color:#f1aeb5; }
.ap-my-card-badge--deleted{ background:#e5e7eb; border-color:#d1d5db; }

/* Online látogatók badge */
.ap-online-wrap{display:inline-flex;align-items:center;gap:6px;font-size:13px;}
.ap-online-wrap strong{display:inline-block;min-width:1.6em;text-align:center;padding:4px 8px;border-radius:999px;border:1px solid #ddd;background:#fff;line-height:1;}

/*
 * FIX: Egyes témák/pluginek "custom select" CSS-e (background-image/linear-gradient nyilak)
 * bizonyos környezetben hibásan skálázódhat és óriási fekete átlós csíkokként jelenhet meg.
 * Ez jellemzően jQuery UI datepicker fejléces <select>-jein látszik (hónap/év).
 *
 * A megoldás: a datepicker mezőin kényszerített háttér/nullázás és natív megjelenés.
 */
.ui-datepicker select,
.ui-datepicker select:focus,
.ui-datepicker select:hover,
.ui-datepicker input,
.ui-datepicker input:focus,
.ui-datepicker input:hover{
    background-image:none !important;
    background-color:#fff !important;
    box-shadow:none !important;
    -webkit-appearance:auto !important;
    appearance:auto !important;
}



/* === Elérhetőség modál (telefon / email) === */
.ap-contact-modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 99999;
}

.ap-contact-modal.is-open {
    display: block;
}

.ap-contact-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
}

.ap-contact-modal__panel {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(92vw, 420px);
    background: #0b1220;
    color: #f9fafb;
    border-radius: 14px;
    border: 1px solid rgba(248, 191, 66, 0.55);
    box-shadow: 0 20px 60px rgba(0,0,0,0.45);
    padding: 16px 16px 14px;
}

.ap-contact-modal__close {
    position: absolute;
    right: 10px;
    top: 8px;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.06);
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.ap-contact-modal__title {
    font-weight: 700;
    font-size: 16px;
    margin: 2px 0 10px;
}

.ap-contact-modal__value {
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
    word-break: break-word;
    font-size: 15px;
}

.ap-contact-modal__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 12px;
    justify-content: flex-end;
}

.ap-contact-modal__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(248, 191, 66, 0.55);
    background: rgba(248, 191, 66, 0.10);
    color: #fde68a;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
}

.ap-contact-modal__action:hover {
    filter: brightness(1.05);
}


/* 6x5 compact desktop override */
@media (min-width: 1200px){
  .ap-grid-wrapper .ap-card-grid{grid-template-columns:repeat(6,minmax(0,1fr)) !important;gap:8px !important;}
  .ap-grid-wrapper .ap-card{padding:6px !important;border-radius:6px !important;font-size:11px !important;}
  .ap-grid-wrapper .ap-card--banner{grid-column:span 3 !important;}
  .ap-grid-wrapper .ap-card-title{font-size:12px !important;line-height:1.15 !important;}
  .ap-grid-wrapper .ap-card-desc,.ap-grid-wrapper .ap-card-row{font-size:10px !important;line-height:1.2 !important;}
  .ap-grid-wrapper .ap-card-button a,.ap-grid-wrapper .ap-card-button button{padding:4px 8px !important;font-size:11px !important;}
  .ap-grid-wrapper .ap-banner-media{max-height:180px !important;}
}
@media (max-width: 1199px) and (min-width: 901px){
  .ap-grid-wrapper .ap-card-grid{grid-template-columns:repeat(6,minmax(0,1fr)) !important;gap:8px !important;}
  .ap-grid-wrapper .ap-card--banner{grid-column:span 3 !important;}
}

/* 6x5 layout force override (desktop+tablet landscape) */
@media (min-width: 901px){
  .ap-grid-wrapper .ap-card-grid{grid-template-columns:repeat(6,minmax(0,1fr)) !important;gap:8px !important;}
  .ap-grid-wrapper .ap-card--banner{grid-column:span 3 !important;}
}

/* === Banner top carousel + modal MVP === */
.ap-card--banner{display:flex;flex-direction:column;justify-content:flex-start;align-items:stretch;background:#f7f0de;color:#111}.ap-card--banner .ap-banner-main{flex:1;display:flex;align-items:center;justify-content:center;background:#000;min-height:120px}.ap-banner-topstrip{background:#efe5cf;border-bottom:1px solid #d9c59c;padding:5px 6px 4px;min-height:130px;box-sizing:border-box}.ap-banner-topstrip__head{font-size:10px;font-weight:700;color:#6d4c00;margin:0 0 5px 2px;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ap-banner-topstrip__viewport{overflow:visible;position:relative;padding-bottom:6px}.ap-banner-topstrip__track{display:flex;gap:6px;transition:none;will-change:transform;align-items:stretch}.ap-soon-card{width:calc((100% - 24px)/5);min-width:calc((100% - 24px)/5);border:1px solid #d8c39a;background:#fff8e9;border-radius:6px;padding:3px;display:flex;flex-direction:column;gap:2px;cursor:pointer;box-sizing:border-box;overflow:hidden;min-height:110px}.ap-soon-card__imgwrap{display:block;height:54px;background:#111;border-radius:4px;overflow:hidden;flex:0 0 auto}.ap-soon-card__imgwrap img{width:100%;height:100%;object-fit:cover}.ap-soon-card__price,.ap-soon-card__cd{font-size:9px;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}.ap-soon-card__price{font-weight:700;color:#c0392b}.ap-soon-modal{position:fixed;inset:0;display:none;z-index:99999}.ap-soon-modal.is-open{display:block}.ap-soon-modal__backdrop{position:absolute;inset:0;background:rgba(0,0,0,.6)}.ap-soon-modal__panel{position:relative;max-width:460px;margin:6vh auto;background:#fff;border-radius:12px;padding:10px;z-index:2}.ap-soon-modal__close{position:absolute;right:8px;top:6px;border:none;background:transparent;font-size:24px}.ap-soon-modal__content{display:flex;flex-direction:column;gap:8px}.ap-soon-modal__img{width:100%;max-height:240px;object-fit:contain;background:#000;border-radius:8px}.ap-soon-modal__price{color:#c0392b;font-weight:700}.ap-soon-modal__link{display:inline-block;padding:8px 10px;background:#28a745;color:#fff;border-radius:6px;text-decoration:none}

@media (max-width:768px){.ap-banner-topstrip{min-height:170px;padding:8px 10px 14px}.ap-banner-topstrip__viewport{overflow:visible;padding-bottom:10px}.ap-soon-card{width:calc((100% - 12px)/3);min-width:calc((100% - 12px)/3);min-height:135px;padding:6px}.ap-soon-card__imgwrap{height:64px}.ap-soon-card__price,.ap-soon-card__cd{font-size:10px}.ap-banner-topstrip__head{font-size:10px;margin-bottom:6px}}

/* v1.7.57.61 banner split ratio fix (desktop) */
@media (min-width: 769px){
  /* Egységes magasság minden slotban, és nagyobb "banner mező" a körhintának */
  .ap-card--banner{min-height:380px;height:100%;display:flex;flex-direction:column;}
  .ap-card--banner .ap-banner-topstrip{flex:0 0 170px !important;min-height:170px !important;display:flex;flex-direction:column;}
  .ap-card--banner .ap-banner-topstrip__viewport{flex:1 1 auto;min-height:0;overflow:visible;padding-bottom:10px;}
  .ap-card--banner .ap-banner-topstrip__track{height:100%;align-items:stretch;}
  .ap-card--banner .ap-soon-card{height:auto;min-height:135px;}
  .ap-card--banner .ap-soon-card__imgwrap{height:70px;}
  .ap-card--banner .ap-banner-main{flex:1 1 auto !important;min-height:0 !important;height:auto;}
  .ap-card--banner .ap-banner-main > *{max-height:100%;}
}

.ap-card--banner .ap-banner-topstrip{flex:0 0 40% !important;min-height:0 !important;display:flex;flex-direction:column;}
  .ap-card--banner .ap-banner-topstrip__viewport{flex:1 1 auto;min-height:0;}
  .ap-card--banner .ap-banner-topstrip__track{height:100%;align-items:stretch;}
  .ap-card--banner .ap-soon-card{height:auto;}
  .ap-card--banner .ap-banner-main{flex:0 0 60% !important;min-height:0 !important;height:auto;}
  .ap-card--banner .ap-banner-main > *{max-height:100%;}
}

/* 6x5 layout content scale-up (kártya tartalom igazítása a nagyobb kártyához) */
@media (min-width: 1180px){
  .ap-grid--layout6x5 .ap-card{font-size:12px;padding:4px 4px 6px;}
  .ap-grid--layout6x5 .ap-card-image{min-height:118px;max-height:170px;}
  .ap-grid--layout6x5 .ap-card-title{font-size:12px;line-height:1.2;min-height:30px;max-height:30px;}
  .ap-grid--layout6x5 .ap-card-desc{font-size:10px;line-height:1.25;max-height:50px;}
  .ap-grid--layout6x5 .ap-card-row{font-size:9.5px;line-height:1.2;}
  .ap-grid--layout6x5 .ap-card-source{font-size:9px;}
  .ap-grid--layout6x5 .ap-btn{font-size:10px;padding:4px 6px;line-height:1.15;min-height:22px;}
}

/* Hotfix: mini körhinta kártyatartalom kitöltés */
.ap-banner-topstrip__viewport{padding:4px 6px;}
.ap-soon-track{align-items:stretch;}
.ap-soon-card{min-height:72px;height:72px;display:grid;grid-template-rows:auto 1fr auto;align-content:stretch;}
.ap-soon-card__imgwrap{height:50px;display:flex;align-items:center;justify-content:center;}
.ap-soon-card__img{max-height:48px;max-width:100%;width:auto;height:auto;object-fit:contain;}
.ap-soon-card__price{font-size:10px;line-height:1.15;}
.ap-soon-card__timer{font-size:9px;line-height:1.1;}


/* ChatGPT hotfix: mini carousel sizing + stable countdown + modal close */
.ap-banner-topstrip{min-height:96px;padding:6px 6px 5px;}
.ap-banner-topstrip__viewport{overflow:hidden;position:relative;}
.ap-banner-topstrip__track{display:flex;gap:6px;align-items:stretch;transition:transform .45s ease;}
.ap-soon-card{display:flex;flex-direction:column;justify-content:flex-start;min-height:64px;}
.ap-soon-card__imgwrap{height:44px;background:#fff;display:flex;align-items:center;justify-content:center;}
.ap-soon-card__imgwrap img{width:100%;height:100%;object-fit:contain !important;object-position:center center;background:#fff;}
.ap-soon-card__price,.ap-soon-card__cd{font-variant-numeric:tabular-nums; font-feature-settings:"tnum" 1; letter-spacing:0; }
.ap-soon-card__cd{display:block;min-width:72px;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.ap-soon-card__price{min-height:10px;}
.ap-soon-modal__close{cursor:pointer;z-index:5;line-height:1;}
.ap-kartya .ap-countdown, .ap-card .ap-countdown, .ap-card [data-ap-countdown]{font-variant-numeric:tabular-nums; font-feature-settings:"tnum" 1;}

/* HOTFIX 1.7.57.65: mini carousel fill + stable countdown */
.ap-banner-expiring-strip .ap-soon-card{width:96px;min-height:76px;display:flex;flex-direction:column;overflow:hidden;}
.ap-banner-expiring-strip .ap-soon-card__thumb{height:52px;min-height:52px;line-height:0;background:#111;display:flex;align-items:center;justify-content:center;overflow:hidden;}
.ap-banner-expiring-strip .ap-soon-card__thumb img{width:100
/* HOTFIX 1.7.57.65: mini carousel fill + stable countdown */
.ap-banner-expiring-strip .ap-soon-card{width:96px;min-height:76px;display:flex;flex-direction:column;overflow:hidden;}
.ap-banner-expiring-strip .ap-soon-card__thumb{height:52px;min-height:52px;line-height:0;background:#111;display:flex;align-items:center;justify-content:center;overflow:hidden;}
.ap-banner-expiring-strip .ap-soon-card__thumb img{width:100%;height:100%;object-fit:cover;object-position:center center;display:block;}
.ap-banner-expiring-strip .ap-soon-card__body{padding:2px 3px 3px;display:grid;grid-template-rows:auto auto;gap:1px;min-height:22px;}
.ap-banner-expiring-strip .ap-soon-card__price{font-size:9px;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0;}
.ap-banner-expiring-strip .ap-soon-card__countdown{font-size:8px;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:clip;min-height:9px;font-variant-numeric:tabular-nums;font-feature-settings:"tnum" 1;display:block;}
.ap-banner-expiring-strip .ap-soon-card__title{display:none!important;}
.ap-banner-expiring-strip .ap-soon-track{align-items:stretch;}
.ap-countdown{display:inline-block;min-width:78px;white-space:nowrap;font-variant-numeric:tabular-nums;font-feature-settings:"tnum" 1;}

/* HOTFIX 1.7.57.66: mini carousel content fill (bigger image, taller cards, stable countdown) */
.ap-banner-expiring-strip{
  padding-top:4px;
}
.ap-banner-expiring-strip .ap-soon-track{
  align-items:stretch;
}
.ap-banner-expiring-strip .ap-soon-card{
  display:flex !important;
  flex-direction:column !important;
  justify-content:flex-start !important;
  height:96px !important;
  min-height:96px !important;
  overflow:hidden !important;
}
.ap-banner-expiring-strip .ap-soon-card__thumb,
.ap-banner-expiring-strip .ap-soon-card__imgwrap{
  height:68px !important;          /* kb. ~3x a korábbi 22-26px tartományhoz képest */
  min-height:68px !important;
  max-height:68px !important;
  background:#fff !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  overflow:hidden !important;
  line-height:0 !important;
}
.ap-banner-expiring-strip .ap-soon-card__thumb img,
.ap-banner-expiring-strip .ap-soon-card__imgwrap img{
  width:130% !important;           /* +30% szélesség */
  height:130% !important;
  object-fit:contain !important;
  object-position:center center !important;
  display:block !important;
  background:#fff !important;
}
.ap-banner-expiring-strip .ap-soon-card__body{
  flex:1 1 auto !important;
  min-height:26px !important;
  padding:3px 3px 2px !important;
  display:grid !important;
  grid-template-rows:auto auto !important;
  gap:2px !important;
  align-content:start !important;
}
.ap-banner-expiring-strip .ap-soon-card__price{
  font-size:9px !important;
  line-height:1.05 !important;
  margin:0 !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
}
.ap-banner-expiring-strip .ap-soon-card__countdown,
.ap-banner-expiring-strip .ap-soon-card__cd{
  font-size:8px !important;
  line-height:1 !important;
  height:8px !important;
  min-height:8px !important;
  display:block !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:clip !important;
  font-variant-numeric: tabular-nums !important;
  font-feature-settings: "tnum" 1 !important;
  letter-spacing:0 !important;
}
/* külső kártyák visszaszámláló stabilitás */
.ap-kartya .ap-countdown,
.ap-card .ap-countdown,
.ap-card [data-ap-countdown]{
  display:inline-block !important;
  min-width:86px !important;
  white-space:nowrap !important;
  font-variant-numeric: tabular-nums !important;
  font-feature-settings: "tnum" 1 !important;
  letter-spacing:0 !important;
}

/* === FIX67 mini carousel fill + stable countdown + modal === */
.ap-banner-topstrip{min-height:unset;}
.ap-banner-topstrip__viewport{height:calc(100% - 18px);}
.ap-banner-topstrip__track,.ap-banner-expiring-strip .ap-soon-track{align-items:stretch!important;height:100%!important;}
.ap-banner-topstrip .ap-soon-card,.ap-banner-expiring-strip .ap-soon-card{height:100%!important; min-height:0!important; display:grid!important; grid-template-rows:1fr auto auto!important; gap:2px!important; padding:3px!important; box-sizing:border-box!important; overflow:hidden!important;}
.ap-banner-topstrip .ap-soon-card__imgwrap,.ap-banner-expiring-strip .ap-soon-card__imgwrap{height:auto!important; min-height:0!important; display:flex!important; align-items:center!important; justify-content:center!important; background:#fff!important; border:1px solid #edd4d4!important; border-radius:4px!important; overflow:hidden!important;}
.ap-banner-topstrip .ap-soon-card__imgwrap img,.ap-banner-expiring-strip .ap-soon-card__imgwrap img{width:130%!important; height:300%!important; max-width:none!important; max-height:none!important; object-fit:cover!important; object-position:center center!important; display:block!important;}
.ap-banner-topstrip .ap-soon-card__price,.ap-banner-expiring-strip .ap-soon-card__price{font-size:9px!important; line-height:1!important; margin:0!important; white-space:nowrap!important; overflow:hidden!important; text-overflow:ellipsis!important;}
.ap-banner-topstrip .ap-soon-card__cd,.ap-banner-topstrip .ap-soon-card__countdown,.ap-banner-expiring-strip .ap-soon-card__cd,.ap-banner-expiring-strip .ap-soon-card__countdown{font-size:8px!important; line-height:1!important; min-height:8px!important; font-variant-numeric:tabular-nums!important; font-feature-settings:"tnum" 1!important; white-space:nowrap!important; letter-spacing:0!important;}
.ap-soon-modal{display:none!important;align-items:center!important;justify-content:center!important;}
.ap-soon-modal.is-open{display:flex!important;}
.ap-soon-modal__close{cursor:pointer!important;pointer-events:auto!important;z-index:5!important;}
.ap-soon-modal__panel{position:relative!important;z-index:3!important;}
.ap-soon-modal__img{width:100%!important;height:240px!important;max-height:none!important;object-fit:contain!important;background:#fff!important;}

/* === 1.7.57.68 HOTFIX (ChatGPT): mini körhinta kártya teljes kitöltés a banner felett === */
/* Cél: a mini kártya belső tartalma (kép + meta) töltse ki a teljes kártyát, ne maradjon üres tér */
.ap-banner-topstrip{
  display:flex !important;
  flex-direction:column !important;
}
.ap-banner-topstrip__head{
  flex:0 0 auto !important;
}
.ap-banner-topstrip__viewport{
  flex:1 1 auto !important;
  min-height:0 !important;
  padding:4px 6px !important;
  box-sizing:border-box !important;
}
.ap-banner-topstrip__track{
  height:100% !important;
  align-items:stretch !important;
}

/* gomb reset + teljes magasság */
.ap-banner-topstrip .ap-soon-card,
.ap-banner-expiring-strip .ap-soon-card{
  -webkit-appearance:none !important;
  appearance:none !important;
  border:1px solid #d8c39a !important;
  background:#fff8e9 !important;
  border-radius:6px !important;
  margin:0 !important;
  width:calc((100% - 24px)/5) !important;
  min-width:calc((100% - 24px)/5) !important;
  height:100% !important;
  min-height:0 !important;
  padding:3px !important;
  box-sizing:border-box !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:stretch !important;
  justify-content:flex-start !important;
  gap:3px !important;
  overflow:hidden !important;
}

/* a képblokk foglalja el a rendelkezésre álló hely nagy részét */
.ap-banner-topstrip .ap-soon-card__imgwrap,
.ap-banner-expiring-strip .ap-soon-card__imgwrap{
  flex:1 1 auto !important;
  min-height:0 !important;
  height:auto !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  background:#fff !important;
  border:1px solid #edd4d4 !important;
  border-radius:4px !important;
  overflow:hidden !important;
  line-height:0 !important;
}
.ap-banner-topstrip .ap-soon-card__img,
.ap-banner-expiring-strip .ap-soon-card__img,
.ap-banner-topstrip .ap-soon-card__imgwrap img,
.ap-banner-expiring-strip .ap-soon-card__imgwrap img{
  width:100% !important;
  height:100% !important;
  max-width:none !important;
  max-height:none !important;
  object-fit:cover !important;
  object-position:center center !important;
  display:block !important;
  background:#fff !important;
}

/* az alsó meta rész is stabilan kitölt és nem csúszik szét */
.ap-banner-topstrip .ap-soon-card__meta,
.ap-banner-expiring-strip .ap-soon-card__meta{
  flex:0 0 auto !important;
  display:grid !important;
  grid-template-rows:auto auto !important;
  gap:2px !important;
  min-height:18px !important;
  width:100% !important;
}
.ap-banner-topstrip .ap-soon-card__price,
.ap-banner-expiring-strip .ap-soon-card__price{
  display:block !important;
  width:100% !important;
  margin:0 !important;
  font-size:9px !important;
  line-height:1.05 !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
}
.ap-banner-topstrip .ap-soon-card__cd,
.ap-banner-topstrip .ap-soon-card__countdown,
.ap-banner-expiring-strip .ap-soon-card__cd,
.ap-banner-expiring-strip .ap-soon-card__countdown{
  display:block !important;
  width:100% !important;
  min-height:8px !important;
  font-size:8px !important;
  line-height:1 !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  font-variant-numeric:tabular-nums !important;
  font-feature-settings:"tnum" 1 !important;
}

/* mobilon 3 elem/sor maradjon */
@media (max-width:768px){
  .ap-banner-topstrip .ap-soon-card,
  .ap-banner-expiring-strip .ap-soon-card{
    width:calc((100% - 12px)/3) !important;
    min-width:calc((100% - 12px)/3) !important;
  }
}

/* === 1.7.57.69 HOTFIX (ChatGPT): mini carousel valódi kitöltés ütköző magasság-lánc nélkül ===
   Ok: a korábbi FIX67 .ap-banner-topstrip__viewport{height:calc(100% - 18px)} + track/card 100% lánc
   és a korábbi img szabály (130% x 300%) torzította a kitöltést. */
.ap-banner-topstrip__viewport{
  height:auto !important;
  max-height:none !important;
}

/* A topstrip saját magassága adja a rendelkezésre álló teret */
.ap-card--banner .ap-banner-topstrip{
  display:flex !important;
  flex-direction:column !important;
}
.ap-card--banner .ap-banner-topstrip__head{
  flex:0 0 auto !important;
}
.ap-card--banner .ap-banner-topstrip__viewport{
  flex:1 1 auto !important;
  min-height:0 !important;
}
.ap-card--banner .ap-banner-topstrip__track{
  align-items:stretch !important;
  height:auto !important;
  min-height:0 !important;
}

/* A kártya töltse ki a sávot, de ne 100%-lánccal, hanem flex elrendezéssel */
.ap-banner-topstrip .ap-soon-card,
.ap-banner-expiring-strip .ap-soon-card{
  display:flex !important;
  flex-direction:column !important;
  align-items:stretch !important;
  justify-content:flex-start !important;
  height:auto !important;
  min-height:58px !important;
}

/* Képtartó nőjön a kártyán belül */
.ap-banner-topstrip .ap-soon-card__imgwrap,
.ap-banner-expiring-strip .ap-soon-card__imgwrap{
  flex:1 1 auto !important;
  min-height:0 !important;
  height:auto !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
}

/* TÉNYLEGES blokkoló felülírása: FIX67 130%/300% kép-méret eltávolítása */
.ap-banner-topstrip .ap-soon-card__imgwrap img,
.ap-banner-expiring-strip .ap-soon-card__imgwrap img,
.ap-banner-topstrip .ap-soon-card__img,
.ap-banner-expiring-strip .ap-soon-card__img{
  width:100% !important;
  height:100% !important;
  min-width:0 !important;
  min-height:0 !important;
  max-width:none !important;
  max-height:none !important;
  object-fit:cover !important;
  object-position:center center !important;
}

/* Meta rész ne nyomja össze a képet */
.ap-banner-topstrip .ap-soon-card__meta,
.ap-banner-expiring-strip .ap-soon-card__meta{
  flex:0 0 auto !important;
}


/* === 1.7.57.70 HOTFIX: mini körhinta valódi kitöltés + countdown ütközések megszüntetésének CSS oldala === */
.ap-banner-topstrip{padding:5px 6px 4px !important; min-height:auto !important;}
.ap-banner-topstrip__viewport{height:auto !important; max-height:none !important; padding:0 !important; overflow:hidden !important;}
.ap-banner-topstrip__track{height:auto !important; min-height:0 !important; align-items:flex-start !important; display:flex !important; gap:6px !important;}
.ap-banner-topstrip .ap-soon-card{height:76px !important; min-height:76px !important; max-height:76px !important; display:grid !important; grid-template-rows:minmax(0,1fr) auto !important; gap:3px !important; align-content:stretch !important; padding:3px !important;}
.ap-banner-topstrip .ap-soon-card__imgwrap{height:auto !important; min-height:0 !important; display:flex !important; align-items:center !important; justify-content:center !important; line-height:0 !important; overflow:hidden !important;}
.ap-banner-topstrip .ap-soon-card__img, .ap-banner-topstrip .ap-soon-card__imgwrap img{width:100% !important; height:100% !important; object-fit:cover !important; object-position:center !important; display:block !important; max-width:none !important; max-height:none !important;}
.ap-banner-topstrip .ap-soon-card__meta{display:grid !important; grid-template-rows:auto auto !important; gap:1px !important; align-content:start !important; min-height:auto !important;}
.ap-banner-topstrip .ap-soon-card__price,.ap-banner-topstrip .ap-soon-card__cd{display:block !important; white-space:nowrap !important; overflow:hidden !important; text-overflow:ellipsis !important;}
.ap-banner-topstrip .ap-soon-card__cd{font-variant-numeric:tabular-nums !important; font-feature-settings:"tnum" 1 !important;}
@media (max-width:768px){.ap-banner-topstrip .ap-soon-card{height:72px !important; min-height:72px !important; max-height:72px !important;}}

/* === 1.7.57.122 FINAL: mini körhinta stabil magasság + egységes méret minden banner slot fölött ===
   Problémák:
   - mobilon a 72px fix magasság levágta a meta (ár/visszaszámláló/CTA) részt
   - asztalin a topstrip 40% flex arány miatt slotonként más méretűnek látszott
*/

@media (min-width: 769px){
  /* Egységes banner kártya méret, hogy a slot 1/2/3 fölötti sáv is azonos legyen */
  .ap-card--banner{height: 420px !important;}
  .ap-card--banner .ap-banner-topstrip{
    flex: 0 0 132px !important;
    height: 132px !important;
    min-height: 132px !important;
    max-height: 132px !important;
  }
  .ap-card--banner .ap-banner-main{flex: 1 1 auto !important; min-height: 0 !important;}
  .ap-card--banner .ap-banner-main .ap-banner-media{max-height: 288px !important;}
}

/* Mini kártyák: fixen elférjen a cím + kép + meta (4 sor) */
.ap-banner-topstrip__viewport{overflow:hidden !important;}
.ap-banner-topstrip__track{align-items:stretch !important;}

.ap-banner-topstrip .ap-soon-card{
  height: 112px !important;
  min-height: 112px !important;
  max-height: none !important;
  display: grid !important;
  grid-template-rows: auto 1fr auto !important;
  gap: 4px !important;
  overflow: hidden !important;
}
.ap-banner-topstrip .ap-soon-card__title{
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1.05 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
.ap-banner-topstrip .ap-soon-card__imgwrap{height:auto !important; min-height:0 !important; border-radius:4px !important; overflow:hidden !important;}
.ap-banner-topstrip .ap-soon-card__imgwrap img,
.ap-banner-topstrip .ap-soon-card__img{width:100% !important; height:100% !important; object-fit:contain !important; object-position:center center !important;}
.ap-banner-topstrip .ap-soon-card__meta{display:grid !important; grid-template-rows:auto auto auto auto !important; gap:1px !important; align-content:start !important;}
.ap-banner-topstrip .ap-soon-card__sales{font-size:9px !important; line-height:1.05 !important; opacity:.9 !important;}
.ap-banner-topstrip .ap-soon-card__price{font-size:10px !important; line-height:1.05 !important; font-weight:800 !important;}
.ap-banner-topstrip .ap-soon-card__cd{font-size:9px !important; line-height:1.05 !important; font-variant-numeric:tabular-nums !important; font-feature-settings:"tnum" 1 !important;}
.ap-banner-topstrip .ap-soon-card__cta{font-size:9px !important; line-height:1.05 !important; opacity:.85 !important;}

@media (max-width: 768px){
  .ap-banner-topstrip{min-height:156px !important; padding:8px 8px 6px !important;}
  .ap-banner-topstrip .ap-soon-card{height:132px !important; min-height:132px !important;}
  .ap-banner-topstrip .ap-soon-card{width:calc((100% - 12px)/3) !important; min-width:calc((100% - 12px)/3) !important;}
}

@media (max-width: 420px){
  .ap-banner-topstrip .ap-soon-card{width:calc((100% - 6px)/2) !important; min-width:calc((100% - 6px)/2) !important;}
}


/* === 1.7.57.72 mini carousel layout change (title above image, sales below image, modal click action) === */
.ap-banner-topstrip .ap-soon-card{grid-template-rows:auto minmax(0,1fr) auto !important;gap:2px !important;}
.ap-banner-topstrip .ap-soon-card__title{display:block !important;font-size:8px !important;line-height:1.05 !important;font-weight:700 !important;color:#7a1f1f !important;white-space:nowrap !important;overflow:hidden !important;text-overflow:ellipsis !important;}
.ap-banner-topstrip .ap-soon-card__imgwrap{min-height:0 !important;height:auto !important;background:#fff !important;}
.ap-banner-topstrip .ap-soon-card__imgwrap img,.ap-banner-topstrip .ap-soon-card__img{object-fit:contain !important;object-position:center !important;}
.ap-banner-topstrip .ap-soon-card__meta{display:grid !important;grid-template-rows:auto auto !important;gap:1px !important;}
.ap-banner-topstrip .ap-soon-card__sales{display:block !important;font-size:8px !important;line-height:1.05 !important;color:#444 !important;white-space:nowrap !important;overflow:hidden !important;text-overflow:ellipsis !important;}
.ap-banner-topstrip .ap-soon-card__cd{font-size:8px !important;line-height:1.05 !important;}
.ap-soon-modal__dialog{max-width:520px !important;}
.ap-soon-modal__title{font-weight:700 !important;font-size:16px !important;line-height:1.25 !important;margin:6px 28px 6px 0 !important;}
.ap-soon-modal__sales{font-size:13px !important;color:#444 !important;margin:4px 0 2px !important;}
.ap-soon-modal__contact{margin:4px 0 6px !important;padding:8px 10px !important;border:1px dashed #d9c59c !important;border-radius:8px !important;background:#fff8e9 !important;word-break:break-word !important;}


/* === 1.7.57.73 HOTFIX: akciós ár vissza a mini körhintába + kiírás méret -20% === */
.ap-banner-topstrip .ap-soon-card__meta{grid-template-rows:auto auto auto !important;gap:1px !important;}
.ap-banner-topstrip .ap-soon-card__title{font-size:7px !important; line-height:1.02 !important; white-space:normal !important; text-overflow:clip !important; display:-webkit-box !important; -webkit-line-clamp:2 !important; -webkit-box-orient:vertical !important; line-clamp:2 !important; min-height:calc(2 * 1.02em) !important;}
.ap-banner-topstrip .ap-soon-card__sales{font-size:7px !important; line-height:1.02 !important;}
.ap-banner-topstrip .ap-soon-card__price{display:block !important; font-size:8px !important; line-height:1.02 !important; font-weight:700 !important; color:#c0392b !important; white-space:nowrap !important; overflow:hidden !important; text-overflow:ellipsis !important;}
.ap-banner-topstrip .ap-soon-card__cd{font-size:7px !important; line-height:1.02 !important;}
@media (max-width:768px){
  .ap-banner-topstrip .ap-soon-card__title{font-size:6px !important; line-height:1.02 !important; min-height:calc(2 * 1.02em) !important;}
  .ap-banner-topstrip .ap-soon-card__sales{font-size:6px !important;}
  .ap-banner-topstrip .ap-soon-card__price{font-size:7px !important;}
  .ap-banner-topstrip .ap-soon-card__cd{font-size:6px !important;}
}


/* === 1.7.57.74 HOTFIX: mini körhinta terméknév 2 sor === */
.ap-banner-topstrip .ap-soon-card__title{white-space:normal !important;overflow:hidden !important;text-overflow:clip !important;display:-webkit-box !important;-webkit-box-orient:vertical !important;-webkit-line-clamp:2 !important;line-clamp:2 !important;max-height:calc(2 * 1.02em) !important;}


/* v1.7.57.80 - teljes mini kártya nagyítás modalban */
.ap-soon-modal__dialog{position:relative;background:#fff;border-radius:12px;padding:14px 14px 12px;max-width:min(92vw,720px);margin:auto;box-shadow:0 18px 60px rgba(0,0,0,.35);display:flex;flex-direction:column;align-items:center;gap:10px;}
.ap-soon-modal__cardwrap{display:flex;justify-content:center;align-items:center;width:100%;}
.ap-soon-modal__cardwrap .ap-soon-card--modalclone{cursor:default!important;box-shadow:0 10px 28px rgba(0,0,0,.2);border-radius:10px;padding:6px;gap:4px;}
.ap-soon-modal__cardwrap .ap-soon-card--modalclone .ap-soon-card__imgwrap{height:120px;}
.ap-soon-modal__cardwrap .ap-soon-card--modalclone .ap-soon-card__title{white-space:normal!important;line-height:1.15;}
.ap-soon-modal__cardwrap .ap-soon-card--modalclone .ap-soon-card__price,.ap-soon-modal__cardwrap .ap-soon-card--modalclone .ap-soon-card__sales,.ap-soon-modal__cardwrap .ap-soon-card--modalclone .ap-soon-card__cd{white-space:normal!important;}
.ap-soon-modal__link{display:inline-block;padding:9px 14px;background:#28a745;color:#fff;border-radius:8px;text-decoration:none;font-weight:700;}
.ap-soon-modal__contact{width:100%;max-width:420px;text-align:center;}


/* === 1.7.57.81 HOTFIX: teljes mini kártya valódi nagyítása modalban === */
.ap-soon-modal{position:fixed !important; inset:0 !important; z-index:99999 !important;}
.ap-soon-modal__backdrop{position:absolute !important; inset:0 !important; background:rgba(0,0,0,.65) !important;}
.ap-soon-modal__dialog{position:relative !important; z-index:2 !important; width:auto !important; max-width:min(94vw,900px) !important; max-height:90vh !important; overflow:auto !important;}
.ap-soon-modal__cardwrap{width:100% !important; display:flex !important; justify-content:center !important; align-items:flex-start !important;}
.ap-soon-modal__cardwrap .ap-soon-card--modalclone{
  all: revert-layer;
  box-sizing:border-box !important;
  position:relative !important;
  float:none !important;
  clear:both !important;
  margin:0 auto !important;
  transform:none !important;
  opacity:1 !important;
  visibility:visible !important;
  z-index:auto !important;
}
/* A mini körhinta kártya-szabályok öröklődjenek a klónra is */
.ap-soon-modal__cardwrap .ap-soon-card--modalclone{display:grid !important; grid-template-rows:auto minmax(0,1fr) auto !important; gap:3px !important; padding:6px !important; background:#f6ecd8 !important; border:1px solid #dcb87a !important; border-radius:10px !important;}
.ap-soon-modal__cardwrap .ap-soon-card--modalclone .ap-soon-card__imgwrap{min-height:180px !important; height:180px !important; max-height:180px !important; background:#fff !important; border:1px solid #edd4d4 !important; border-radius:6px !important; overflow:hidden !important; display:flex !important; align-items:center !important; justify-content:center !important;}
.ap-soon-modal__cardwrap .ap-soon-card--modalclone .ap-soon-card__imgwrap img,
.ap-soon-modal__cardwrap .ap-soon-card--modalclone .ap-soon-card__img{width:100% !important; height:100% !important; object-fit:contain !important; object-position:center !important; display:block !important; max-width:none !important; max-height:none !important;}
.ap-soon-modal__cardwrap .ap-soon-card--modalclone .ap-soon-card__title{font-size:14px !important; line-height:1.2 !important; white-space:normal !important; display:block !important;}
.ap-soon-modal__cardwrap .ap-soon-card--modalclone .ap-soon-card__sales{font-size:13px !important; line-height:1.15 !important; display:block !important; white-space:normal !important;}
.ap-soon-modal__cardwrap .ap-soon-card--modalclone .ap-soon-card__price{font-size:14px !important; line-height:1.15 !important; display:block !important; white-space:normal !important; font-weight:700 !important; color:#c0392b !important;}
.ap-soon-modal__cardwrap .ap-soon-card--modalclone .ap-soon-card__cd{font-size:12px !important; line-height:1.15 !important; display:block !important; white-space:normal !important;}
.ap-soon-modal__link{position:relative !important; z-index:3 !important;}
@media (max-width: 768px){
  .ap-soon-modal__cardwrap .ap-soon-card--modalclone .ap-soon-card__imgwrap{min-height:140px !important;height:140px !important;max-height:140px !important;}
}

/* === 1.7.57.82 HOTFIX: mini modalban a TELJES klónozott kártya látszódjon (ne vágja le a fix 72px magasság) === */
.ap-soon-modal__cardwrap{
  width:100% !important;
  display:flex !important;
  justify-content:center !important;
  align-items:flex-start !important;
  overflow:visible !important;
}
.ap-soon-modal__cardwrap .ap-soon-card--modalclone{
  height:auto !important;
  min-height:auto !important;
  max-height:none !important;
  overflow:visible !important;
  align-content:start !important;
  display:grid !important;
  grid-template-rows:auto minmax(120px,auto) auto !important;
  gap:4px !important;
  padding:6px !important;
}
.ap-soon-modal__cardwrap .ap-soon-card--modalclone .ap-soon-card__title{
  white-space:normal !important;
  overflow:visible !important;
  text-overflow:clip !important;
  display:-webkit-box !important;
  -webkit-box-orient:vertical !important;
  -webkit-line-clamp:2 !important;
  line-clamp:2 !important;
  max-height:none !important;
}
.ap-soon-modal__cardwrap .ap-soon-card--modalclone .ap-soon-card__imgwrap{
  height:160px !important;
  min-height:160px !important;
  max-height:none !important;
  overflow:hidden !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  background:#fff !important;
}
.ap-soon-modal__cardwrap .ap-soon-card--modalclone .ap-soon-card__img,
.ap-soon-modal__cardwrap .ap-soon-card--modalclone .ap-soon-card__imgwrap img{
  width:100% !important;
  height:100% !important;
  max-width:none !important;
  max-height:none !important;
  object-fit:contain !important;
  object-position:center center !important;
  display:block !important;
}
.ap-soon-modal__cardwrap .ap-soon-card--modalclone .ap-soon-card__meta{
  display:grid !important;
  grid-template-rows:auto auto auto !important;
  gap:2px !important;
  min-height:auto !important;
  max-height:none !important;
  overflow:visible !important;
}
.ap-soon-modal__cardwrap .ap-soon-card--modalclone .ap-soon-card__sales,
.ap-soon-modal__cardwrap .ap-soon-card--modalclone .ap-soon-card__price,
.ap-soon-modal__cardwrap .ap-soon-card--modalclone .ap-soon-card__cd,
.ap-soon-modal__cardwrap .ap-soon-card--modalclone .ap-soon-card__countdown{
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
}
@media (max-width:768px){
  .ap-soon-modal__cardwrap .ap-soon-card--modalclone .ap-soon-card__imgwrap{
    height:130px !important;
    min-height:130px !important;
  }
}


/* === 1.7.57.83 HOTFIX: force full-card clone render in new modal === */
#ap-soon-modal .ap-soon-modal__cardwrap .ap-soon-card--modalclone{opacity:1 !important; background:#fff8e9 !important;}
#ap-soon-modal .ap-soon-modal__cardwrap .ap-soon-card--modalclone *{visibility:visible !important;}


/* === 1.7.57.84 HOTFIX: valódi 2.5x mini kártya nagyítás (transzform skálázás, teljes kártya) === */
#ap-soon-modal .ap-soon-modal__dialog{display:flex !important; flex-direction:column !important; align-items:center !important;}
#ap-soon-modal .ap-soon-modal__cardwrap{
  display:flex !important;
  justify-content:center !important;
  align-items:flex-start !important;
  overflow:visible !important;
  margin:0 auto 8px !important;
  background:transparent !important;
}
#ap-soon-modal .ap-soon-modal__cardwrap .ap-soon-card--modalclone{
  opacity:1 !important;
  visibility:visible !important;
  background:#fff8e9 !important;
  border:1px solid #d8c39a !important;
  border-radius:6px !important;
  box-shadow:0 10px 28px rgba(0,0,0,.22) !important;
  position:relative !important;
}
#ap-soon-modal .ap-soon-modal__cardwrap .ap-soon-card--modalclone *{visibility:visible !important; opacity:1 !important;}
#ap-soon-modal .ap-soon-modal__cardwrap .ap-soon-card--modalclone .ap-soon-card__title,
#ap-soon-modal .ap-soon-modal__cardwrap .ap-soon-card--modalclone .ap-soon-card__sales,
#ap-soon-modal .ap-soon-modal__cardwrap .ap-soon-card--modalclone .ap-soon-card__price,
#ap-soon-modal .ap-soon-modal__cardwrap .ap-soon-card--modalclone .ap-soon-card__cd{
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
}


/* === 1.7.57.85 HOTFIX: modal klón pozíció + láthatóság stabilizálás (ne csak hoverre jelenjen meg) === */
#ap-soon-modal.is-open{display:flex !important;align-items:flex-start !important;justify-content:center !important;}
#ap-soon-modal .ap-soon-modal__dialog{margin:6vh auto 0 !important;position:relative !important;left:auto !important;right:auto !important;transform:none !important;}
#ap-soon-modal .ap-soon-modal__cardwrap{position:relative !important;left:auto !important;right:auto !important;background:transparent !important;opacity:1 !important;visibility:visible !important;}
#ap-soon-modal .ap-soon-modal__cardwrap .ap-soon-card--modalclone{opacity:1 !important;visibility:visible !important;filter:none !important;mix-blend-mode:normal !important;}
#ap-soon-modal .ap-soon-modal__cardwrap .ap-soon-card--modalclone:hover{opacity:1 !important;visibility:visible !important;}
#ap-soon-modal .ap-soon-modal__cardwrap .ap-soon-card--modalclone .ap-soon-card__title,
#ap-soon-modal .ap-soon-modal__cardwrap .ap-soon-card--modalclone .ap-soon-card__sales,
#ap-soon-modal .ap-soon-modal__cardwrap .ap-soon-card--modalclone .ap-soon-card__price,
#ap-soon-modal .ap-soon-modal__cardwrap .ap-soon-card--modalclone .ap-soon-card__cd,
#ap-soon-modal .ap-soon-modal__cardwrap .ap-soon-card--modalclone .ap-soon-card__meta,
#ap-soon-modal .ap-soon-modal__cardwrap .ap-soon-card--modalclone .ap-soon-card__imgwrap{opacity:1 !important;visibility:visible !important;}


/* === FIX86 modal viewport-centered + body-level safe overlay === */
#ap-soon-modal{position:fixed !important; inset:0 !important; width:100vw !important; height:100vh !important; z-index:2147483000 !important;}
#ap-soon-modal.is-open{display:flex !important; align-items:center !important; justify-content:center !important;}
#ap-soon-modal .ap-soon-modal__backdrop{position:fixed !important; inset:0 !important;}
#ap-soon-modal .ap-soon-modal__dialog{margin:0 !important; max-height:92vh !important; overflow:auto !important;}


/* FIX87: mini modal clone - Részletek gomb a countdown alatt + ne piros */
.ap-soon-card__cta{display:none;}
#ap-soon-modal .ap-soon-card--modalclone .ap-soon-card__meta{display:flex !important; flex-direction:column !important; align-items:center !important; gap:4px !important;}
#ap-soon-modal .ap-soon-card--modalclone .ap-soon-card__cta{
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  min-height:24px;
  padding:4px 10px;
  border-radius:6px;
  background:#1f6feb !important;
  color:#fff !important;
  font-size:11px !important;
  font-weight:700;
  line-height:1;
  text-decoration:none;
  cursor:pointer;
  border:1px solid rgba(255,255,255,.18);
  box-shadow:0 1px 2px rgba(0,0,0,.25);
}
#ap-soon-modal .ap-soon-card--modalclone .ap-soon-card__cta:hover{filter:brightness(1.06);}
#ap-soon-modal .ap-soon-modal__link{
  background:#1f6feb !important;
  color:#fff !important;
  border:0 !important;
}
#ap-soon-modal .ap-soon-modal__link:hover{background:#1558b0 !important;}


/* FIX88: contact CTA felirat gomb a mini modal klónban */
#ap-soon-modal .ap-soon-card--modalclone .ap-soon-card__cta{
  background:#2563eb !important;
  color:#fff !important;
}


/* FIX89: a modal klón CTA legyen VALÓDI kis gomb (ne csak kiírás) */
#ap-soon-modal .ap-soon-card--modalclone .ap-soon-card__cta,
#ap-soon-modal .ap-soon-card--modalclone .ap-soon-card__cta--btn{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:auto !important;
  min-width:0 !important;
  max-width:80px !important;
  min-height:16px !important;
  height:16px !important;
  padding:1px 6px !important;
  margin-top:2px !important;
  border-radius:4px !important;
  background:#2563eb !important;
  color:#fff !important;
  border:0 !important;
  font-size:9px !important;
  font-weight:700 !important;
  line-height:1 !important;
  text-decoration:none !important;
  cursor:pointer !important;
  pointer-events:auto !important;
  box-shadow:none !important;
}
#ap-soon-modal .ap-soon-card--modalclone .ap-soon-card__cta:hover,
#ap-soon-modal .ap-soon-card--modalclone .ap-soon-card__cta--btn:hover{
  background:#1d4ed8 !important;
  filter:none !important;
}


/* FIX90: mini modal klón CTA legyen kicsi, valódi gomb, normál kártya-szerű méret */
#ap-soon-modal .ap-soon-card--modalclone .ap-soon-card__cta,
#ap-soon-modal .ap-soon-card--modalclone .ap-soon-card__cta--btn{
  background:#16a34a !important;
  color:#fff !important;
  border:0 !important;
  border-radius:4px !important;
  font-size:10px !important;
  font-weight:700 !important;
  line-height:1 !important;
  padding:2px 8px !important;
  min-height:18px !important;
  height:18px !important;
  max-width:none !important;
  width:auto !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  pointer-events:auto !important;
  cursor:pointer !important;
  text-decoration:none !important;
  transform: scale(.4) !important;
  transform-origin:center top !important;
  margin-top:-5px !important;
  margin-bottom:-6px !important;
  box-shadow:none !important;
}
#ap-soon-modal .ap-soon-card--modalclone .ap-soon-card__cta:hover,
#ap-soon-modal .ap-soon-card--modalclone .ap-soon-card__cta--btn:hover{
  background:#15803d !important;
  filter:none !important;
}


/* FIX91: mini modal clone CTA legyen kicsi, valódi gomb és működjön (normál kártya logika) */
#ap-soon-modal .ap-soon-card--modalclone .ap-soon-card__meta{align-items:center !important;}
#ap-soon-modal .ap-soon-card--modalclone .ap-soon-card__cta,
#ap-soon-modal .ap-soon-card--modalclone .ap-soon-card__cta--btn{
  display:inline-flex !important;
  flex:0 0 auto !important;
  align-self:center !important;
  width:auto !important;
  min-width:0 !important;
  max-width:max-content !important;
  height:auto !important;
  min-height:0 !important;
  padding:1px 5px !important;
  margin:2px auto 0 !important;
  border-radius:3px !important;
  background:#16a34a !important;
  color:#fff !important;
  border:0 !important;
  font-size:4px !important;
  font-weight:700 !important;
  line-height:1.05 !important;
  letter-spacing:0 !important;
  text-decoration:none !important;
  white-space:nowrap !important;
  box-shadow:none !important;
  cursor:pointer !important;
  pointer-events:auto !important;
  transform:scale(.42) !important;
  transform-origin:center top !important;
}
#ap-soon-modal .ap-soon-card--modalclone .ap-soon-card__cta:hover,
#ap-soon-modal .ap-soon-card--modalclone .ap-soon-card__cta--btn:hover{
  background:#15803d !important;
}

/* FIX95: mini modal Részletek gomb méret -50% */
#ap-soon-modal .ap-soon-card--modalclone .ap-soon-card__cta,
#ap-soon-modal .ap-soon-card--modalclone .ap-soon-card__cta--btn{
  transform:scale(.21) !important;
  transform-origin:center top !important;
  margin-top:1px !important;
  margin-bottom:-8px !important;
}

/* FIX96: kinagyított mini kártya háttér legyen fekete */
#ap-soon-modal .ap-soon-modal__cardwrap .ap-soon-card--modalclone{
  background:#000 !important;
  border-color:#222 !important;
}
#ap-soon-modal .ap-soon-modal__cardwrap .ap-soon-card--modalclone .ap-soon-card__title,
#ap-soon-modal .ap-soon-modal__cardwrap .ap-soon-card--modalclone .ap-soon-card__sales,
#ap-soon-modal .ap-soon-modal__cardwrap .ap-soon-card--modalclone .ap-soon-card__cd,
#ap-soon-modal .ap-soon-modal__cardwrap .ap-soon-card--modalclone .ap-soon-card__countdown,
#ap-soon-modal .ap-soon-modal__cardwrap .ap-soon-card--modalclone .ap-soon-card__meta{
  color:#fff !important;
}

/* === 1.7.57.97 HOTFIX: kinagyitott mini kártya háttér legyen valóban fekete === */
#ap-soon-modal .ap-soon-modal__cardwrap .ap-soon-card--modalclone,
#ap-soon-modal .ap-soon-modal__cardwrap .ap-soon-card--modalclone.ap-soon-card,
#ap-soon-modal .ap-soon-modal__cardwrap .ap-soon-card--modalclone[style]{
  background:#000 !important;
  background-color:#000 !important;
}
#ap-soon-modal .ap-soon-modal__cardwrap .ap-soon-card--modalclone .ap-soon-card__body,
#ap-soon-modal .ap-soon-modal__cardwrap .ap-soon-card--modalclone .ap-soon-card__meta,
#ap-soon-modal .ap-soon-modal__cardwrap .ap-soon-card--modalclone .ap-soon-card__title,
#ap-soon-modal .ap-soon-modal__cardwrap .ap-soon-card--modalclone .ap-soon-card__sales,
#ap-soon-modal .ap-soon-modal__cardwrap .ap-soon-card--modalclone .ap-soon-card__price,
#ap-soon-modal .ap-soon-modal__cardwrap .ap-soon-card--modalclone .ap-soon-card__cd,
#ap-soon-modal .ap-soon-modal__cardwrap .ap-soon-card--modalclone .ap-soon-card__countdown{
  background:transparent !important;
  background-color:transparent !important;
}

/* === 1.7.57.98 HOTFIX: mini modal kártya valódi fekete háttér (nem csak wrapper) === */
#ap-soon-modal .ap-soon-modal__cardwrap .ap-soon-card--modalclone,
#ap-soon-modal .ap-soon-modal__cardwrap .ap-soon-card--modalclone .ap-soon-card__shell,
#ap-soon-modal .ap-soon-modal__cardwrap .ap-soon-card--modalclone .ap-soon-card__inner,
#ap-soon-modal .ap-soon-modal__cardwrap .ap-soon-card--modalclone .ap-soon-card__body,
#ap-soon-modal .ap-soon-modal__cardwrap .ap-soon-card--modalclone .ap-soon-card__meta,
#ap-soon-modal .ap-soon-modal__cardwrap .ap-soon-card--modalclone .ap-soon-card__content,
#ap-soon-modal .ap-soon-modal__cardwrap .ap-soon-card--modalclone .ap-soon-card__footer {
  background:#000 !important;
  background-color:#000 !important;
  background-image:none !important;
}
/* kép és gomb maradjon olvasható */
#ap-soon-modal .ap-soon-modal__cardwrap .ap-soon-card--modalclone .ap-soon-card__imgwrap,
#ap-soon-modal .ap-soon-modal__cardwrap .ap-soon-card--modalclone .ap-soon-card__imgbox,
#ap-soon-modal .ap-soon-modal__cardwrap .ap-soon-card--modalclone .ap-soon-card__thumb {
  background:#fff !important;
  background-color:#fff !important;
}

/* === 1.7.57.100 HOTFIX: kinagyitott mini modal kartya betumeretek -50% === */
.ap-soon-modal__cardwrap .ap-soon-card--modalclone .ap-soon-card__title{font-size:7px !important; line-height:1.15 !important;}
.ap-soon-modal__cardwrap .ap-soon-card--modalclone .ap-soon-card__sales{font-size:6.5px !important; line-height:1.1 !important;}
.ap-soon-modal__cardwrap .ap-soon-card--modalclone .ap-soon-card__price{font-size:7px !important; line-height:1.1 !important;}
.ap-soon-modal__cardwrap .ap-soon-card--modalclone .ap-soon-card__cd{font-size:6px !important; line-height:1.1 !important;}
.ap-soon-modal__cardwrap .ap-soon-card--modalclone .ap-soon-modal__details-btn,
.ap-soon-modal__cardwrap .ap-soon-card--modalclone .ap-soon-modal__contact-btn,
.ap-soon-modal__cardwrap .ap-soon-card--modalclone .ap-soon-modal__link{
  font-size:5px !important;
  line-height:1.1 !important;
}


/* v1.7.57.101 – mini modal font size fix (correct class names) */
.ap-soon-modal__shell .ap-soon-card__title{font-size:12px !important;line-height:1.15 !important;}
.ap-soon-modal__shell .ap-soon-card__sales{font-size:10px !important;line-height:1.1 !important;}
.ap-soon-modal__shell .ap-soon-card__price{font-size:11px !important;line-height:1.1 !important;}
.ap-soon-modal__shell .ap-soon-card__cd{font-size:10px !important;line-height:1.15 !important;}
.ap-soon-modal__shell .ap-soon-card__cta,
.ap-soon-modal__shell .ap-soon-modal__details-btn{font-size:11px !important;line-height:1.15 !important;padding:4px 10px !important;min-height:0 !important;}
.ap-soon-modal__shell .ap-soon-card__meta{gap:3px !important;}

/* v1.7.57.102 – mini modal font sizes truly -50% (override previous hotfixes) */
#ap-soon-modal .ap-soon-modal__shell .ap-soon-card__title{font-size:6px !important; line-height:1.15 !important;}
#ap-soon-modal .ap-soon-modal__shell .ap-soon-card__sales{font-size:5px !important; line-height:1.1 !important;}
#ap-soon-modal .ap-soon-modal__shell .ap-soon-card__price{font-size:5.5px !important; line-height:1.1 !important;}
#ap-soon-modal .ap-soon-modal__shell .ap-soon-card__cd,
#ap-soon-modal .ap-soon-modal__shell .ap-soon-card__countdown{font-size:5px !important; line-height:1.15 !important;}
#ap-soon-modal .ap-soon-modal__shell .ap-soon-card__cta,
#ap-soon-modal .ap-soon-modal__shell .ap-soon-modal__details-btn,
#ap-soon-modal .ap-soon-modal__shell .ap-soon-modal__contact-btn,
#ap-soon-modal .ap-soon-modal__shell .ap-soon-modal__link{
  font-size:5.5px !important;
  line-height:1.1 !important;
  padding:2px 6px !important;
  min-height:0 !important;
}
#ap-soon-modal .ap-soon-modal__shell .ap-soon-card__meta{gap:2px !important;}


/* v1.7.57.112 banner main real fill after carousel */
@media (min-width: 769px){
  .ap-card--banner{
    display:flex !important;
    flex-direction:column !important;
    align-items:stretch !important;
    height:100% !important;
    min-height:420px !important;
  }
  .ap-card--banner .ap-banner-topstrip{
    flex:0 0 96px !important;
    min-height:96px !important;
    max-height:96px !important;
    overflow:hidden !important;
  }
  .ap-card--banner .ap-banner-topstrip__viewport{
    height:auto !important;
    min-height:0 !important;
  }
  .ap-card--banner .ap-banner-main{
    position:relative !important;
    flex:1 1 auto !important;
    min-height:260px !important;
    height:auto !important;
    display:block !important;
    overflow:hidden !important;
    background:#000 !important;
  }
  .ap-card--banner .ap-banner-main > .ap-banner-link,
  .ap-card--banner .ap-banner-main > .ap-banner-media,
  .ap-card--banner .ap-banner-main > video,
  .ap-card--banner .ap-banner-main > .ap-banner-fill{
    position:absolute !important;
    inset:0 !important;
    width:100% !important;
    height:100% !important;
    max-width:none !important;
    max-height:none !important;
    display:block !important;
  }
  .ap-card--banner .ap-banner-main > .ap-banner-link > .ap-banner-media,
  .ap-card--banner .ap-banner-main > .ap-banner-link > img.ap-banner-media,
  .ap-card--banner .ap-banner-main > img.ap-banner-media{
    width:100% !important;
    height:100% !important;
    max-width:none !important;
    max-height:none !important;
    object-fit:cover !important;
    object-position:center center !important;
    display:block !important;
    background:#000 !important;
  }
  .ap-card--banner .ap-banner-main > video.ap-banner-media,
  .ap-card--banner .ap-banner-main > .ap-banner-media--video{
    width:100% !important;
    height:100% !important;
    max-width:none !important;
    max-height:none !important;
    object-fit:contain !important;
    background:#000 !important;
    display:block !important;
  }
  .ap-card--banner .ap-banner-main .ap-banner-placeholder{
    position:absolute !important;
    inset:0 !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:100% !important;
    height:100% !important;
    color:#fff !important;
    background:#000 !important;
  }
  .ap-card--banner .ap-banner-main .ap-banner-cta{
    position:absolute !important;
    right:10px !important;
    bottom:10px !important;
    z-index:3 !important;
  }
}


/* v1.7.57.113 banner fill inline assist */
@media (min-width:769px){
  .ap-card--banner .ap-banner-main{position:relative!important;overflow:hidden!important;background:#000!important;}
  .ap-card--banner .ap-banner-main .ap-banner-fill{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;overflow:hidden!important;}
  .ap-card--banner .ap-banner-main .ap-banner-fill .ap-banner-link{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;display:block!important;}
  .ap-card--banner .ap-banner-main .ap-banner-fill img.ap-banner-media--img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:cover!important;object-position:center center!important;display:block!important;}
  .ap-card--banner .ap-banner-main .ap-banner-fill video.ap-banner-media--video{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:contain!important;display:block!important;}
}


/* v1.7.57.114 image banners render as background-fill */
@media (min-width:769px){
  .ap-card--banner .ap-banner-main .ap-banner-fill{background:#000!important;}
  .ap-card--banner .ap-banner-main .ap-banner-fill .ap-banner-bg--image{position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;background-position:center center!important;background-size:cover!important;background-repeat:no-repeat!important;}
}


/* v1.7.57.115 auto aspect detect support for banner images */
@media (min-width:769px){
  .ap-card--banner .ap-banner-main .ap-banner-fill .ap-banner-bg--blur{pointer-events:none!important;}
  .ap-card--banner .ap-banner-main .ap-banner-fill .ap-banner-bg--contain{pointer-events:none!important;}
  .ap-card--banner .ap-banner-main .ap-banner-fill .ap-banner-bg--cover{pointer-events:none!important;}
}

/* v1.7.57.116 – mobile/tablet banner reset, desktop-only enhancement */
@media (max-width: 1024px){
  .ap-card--banner{
    display:flex !important;
    flex-direction:column !important;
    align-items:stretch !important;
    justify-content:flex-start !important;
    min-height:0 !important;
    height:auto !important;
  }
  .ap-card--banner .ap-banner-topstrip{
    flex:0 0 auto !important;
    min-height:0 !important;
    max-height:none !important;
    height:auto !important;
    overflow:visible !important;
  }
  .ap-card--banner .ap-banner-main{
    position:relative !important;
    min-height:0 !important;
    height:auto !important;
    overflow:hidden !important;
    background:#000 !important;
  }
  .ap-card--banner .ap-banner-fill{
    position:static !important;
    inset:auto !important;
    width:100% !important;
    height:auto !important;
    display:block !important;
    overflow:hidden !important;
    background:#000 !important;
  }
  .ap-card--banner .ap-banner-fill .ap-banner-link{
    position:static !important;
    inset:auto !important;
    width:100% !important;
    height:auto !important;
    display:block !important;
    overflow:hidden !important;
  }
  .ap-card--banner .ap-banner-fill .ap-banner-bg,
  .ap-card--banner .ap-banner-fill .ap-banner-bg--image,
  .ap-card--banner .ap-banner-fill .ap-banner-bg--blur,
  .ap-card--banner .ap-banner-fill .ap-banner-bg--contain,
  .ap-card--banner .ap-banner-fill .ap-banner-bg--cover{
    display:none !important;
  }
  .ap-card--banner .ap-banner-fill img.ap-banner-media--img,
  .ap-card--banner .ap-banner-fill img.ap-banner-media{
    position:static !important;
    left:auto !important;
    top:auto !important;
    width:100% !important;
    height:auto !important;
    max-width:100% !important;
    max-height:180px !important;
    opacity:1 !important;
    pointer-events:auto !important;
    object-fit:contain !important;
    object-position:center center !important;
    display:block !important;
    background:#000 !important;
  }
  .ap-card--banner .ap-banner-fill video.ap-banner-media--video,
  .ap-card--banner .ap-banner-fill video.ap-banner-media{
    position:static !important;
    left:auto !important;
    top:auto !important;
    width:100% !important;
    height:auto !important;
    max-width:100% !important;
    max-height:180px !important;
    opacity:1 !important;
    pointer-events:auto !important;
    object-fit:contain !important;
    display:block !important;
    background:#000 !important;
  }
  .ap-card--banner .ap-banner-cta{
    position:absolute !important;
    right:10px !important;
    bottom:10px !important;
    z-index:3 !important;
  }
}

/* === v1.7.57.118 – Mobilon is látható mini körhinta + reszponzív oszlopszám ===
   Célok:
   - A mini körhinta ne legyen fix „5 oszlopos” minden képernyőn.
   - A JS forgatás a ténylegesen látható elemszámhoz igazodjon.
   - Mobilon és tableten is maradjon olvasható (2–4 elem / sor a kijelzőtől függően).
*/

/* alap: gap + oszlopszám változók */
.ap-banner-topstrip{
  --ap-soon-gap: 6px;
  --ap-soon-cols: 5;
}

/* oszlopszám a képernyő szélessége alapján */
@media (max-width: 1399px){ .ap-banner-topstrip{ --ap-soon-cols: 4; } }
@media (max-width: 1024px){ .ap-banner-topstrip{ --ap-soon-cols: 3; } }
@media (max-width: 768px){  .ap-banner-topstrip{ --ap-soon-cols: 2; } }
@media (max-width: 420px){  .ap-banner-topstrip{ --ap-soon-cols: 1; } }

/* track + kártya méretezés – felülírja a korábbi fix calc((100% - 24px)/5) hotfixeket */
.ap-banner-topstrip .ap-banner-topstrip__track{
  gap: var(--ap-soon-gap) !important;
}

.ap-banner-topstrip .ap-soon-card,
.ap-banner-expiring-strip .ap-soon-card{
  width: calc((100% - (var(--ap-soon-gap) * (var(--ap-soon-cols) - 1))) / var(--ap-soon-cols)) !important;
  min-width: calc((100% - (var(--ap-soon-gap) * (var(--ap-soon-cols) - 1))) / var(--ap-soon-cols)) !important;
  flex: 0 0 auto !important;
}

/* mobil: kényelmesebb magasság, jobb tappolhatóság */
@media (max-width: 768px){
  .ap-card--banner .ap-banner-topstrip{ padding: 8px 8px 6px !important; }
  .ap-banner-topstrip__head{ font-size: 10px !important; }
  .ap-banner-topstrip .ap-soon-card{ border-radius: 10px !important; padding: 6px !important; }
  .ap-banner-topstrip .ap-soon-card__price{ font-size: 10px !important; }
  .ap-banner-topstrip .ap-soon-card__cd,
  .ap-banner-topstrip .ap-soon-card__countdown{ font-size: 9px !important; }

  /* mobil UX: ha sok elem van, lehessen ujjjal húzni (szélességi túlcsordulás esetén) */
  .ap-banner-topstrip__viewport{ overflow-x:auto !important; overflow-y:hidden !important; -webkit-overflow-scrolling:touch; }
  .ap-banner-topstrip__viewport::-webkit-scrollbar{ height:0; }
}



/* v1.7.57.119 – Mobil levágás hotfix (körhinta alsó rész) */
@media (max-width:768px){
  .ap-banner-topstrip__viewport,
  .ap-banner-expiring-strip__viewport{
    overflow: visible !important;
    padding-bottom: 8px !important;
  }
  .ap-banner-topstrip .ap-soon-card,
  .ap-banner-expiring-strip .ap-soon-card{
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }
}



/* v1.7.57.120 – mobil topstrip végső javítás
   Probléma: több korábbi hotfix fix magasságot adott a mini kártyáknak (72px/76px),
   ezért mobilon a cím + kép után a meta rész (ár, visszaszámláló, CTA) levágódott.
   Ez a blokk KIZÁRÓLAG a banner felső körhintáját normalizálja mobilon/tableten. */
@media (max-width: 1024px){
  .ap-card--banner,
  .ap-card--banner.ap-card,
  .ap-grid .ap-card--banner{
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
  }

  .ap-card--banner .ap-banner-topstrip{
    display: block !important;
    flex: 0 0 auto !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    padding: 8px 8px 10px !important;
  }

  .ap-card--banner .ap-banner-topstrip__viewport,
  .ap-card--banner .ap-banner-expiring-strip__viewport{
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    padding: 0 0 8px !important;
    -webkit-overflow-scrolling: touch;
  }

  .ap-card--banner .ap-banner-topstrip__track{
    display: flex !important;
    align-items: stretch !important;
    height: auto !important;
    min-height: 0 !important;
  }

  .ap-card--banner .ap-soon-card,
  .ap-card--banner .ap-banner-topstrip .ap-soon-card,
  .ap-card--banner .ap-banner-expiring-strip .ap-soon-card{
    display: grid !important;
    grid-template-rows: auto 52px auto !important;
    align-content: start !important;
    gap: 4px !important;
    height: auto !important;
    min-height: 128px !important;
    max-height: none !important;
    padding: 6px !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }

  .ap-card--banner .ap-soon-card__title{
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
    white-space: normal !important;
    overflow: hidden !important;
    text-overflow: clip !important;
    min-height: calc(2 * 1.1em) !important;
    max-height: none !important;
    font-size: 10px !important;
    line-height: 1.1 !important;
  }

  .ap-card--banner .ap-soon-card__imgwrap{
    height: 52px !important;
    min-height: 52px !important;
    max-height: 52px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    background: #fff !important;
  }

  .ap-card--banner .ap-soon-card__img,
  .ap-card--banner .ap-soon-card__imgwrap img{
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    display: block !important;
  }

  .ap-card--banner .ap-soon-card__meta{
    display: grid !important;
    grid-template-rows: auto auto auto auto !important;
    gap: 2px !important;
    min-height: 0 !important;
    height: auto !important;
    overflow: visible !important;
    align-content: start !important;
  }

  .ap-card--banner .ap-soon-card__sales,
  .ap-card--banner .ap-soon-card__price,
  .ap-card--banner .ap-soon-card__cd,
  .ap-card--banner .ap-soon-card__countdown,
  .ap-card--banner .ap-soon-card__cta{
    display: block !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .ap-card--banner .ap-soon-card__sales{font-size: 9px !important; line-height: 1.1 !important;}
  .ap-card--banner .ap-soon-card__price{font-size: 10px !important; line-height: 1.1 !important;}
  .ap-card--banner .ap-soon-card__cd,
  .ap-card--banner .ap-soon-card__countdown{font-size: 9px !important; line-height: 1.1 !important;}
  .ap-card--banner .ap-soon-card__cta{font-size: 9px !important; line-height: 1.15 !important;}

  .ap-card--banner .ap-banner-main{
    flex: 0 0 auto !important;
    height: auto !important;
    min-height: 180px !important;
    overflow: hidden !important;
  }
}

@media (max-width: 768px){
  .ap-card--banner .ap-banner-topstrip{ padding: 8px 8px 12px !important; }
  .ap-card--banner .ap-soon-card,
  .ap-card--banner .ap-banner-topstrip .ap-soon-card,
  .ap-card--banner .ap-banner-expiring-strip .ap-soon-card{
    grid-template-rows: auto 48px auto !important;
    min-height: 118px !important;
  }
  .ap-card--banner .ap-soon-card__imgwrap{
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
  }
}

@media (max-width: 420px){
  .ap-card--banner .ap-soon-card,
  .ap-card--banner .ap-banner-topstrip .ap-soon-card,
  .ap-card--banner .ap-banner-expiring-strip .ap-soon-card{
    min-height: 112px !important;
  }
  .ap-card--banner .ap-soon-card__title{font-size: 9px !important;}
}


/* === v1.7.57.121 – végső körhinta normalizálás desktop + mobil === */
/* Cél:
   1) mobilon ne vágódjon le a mini kártyák alja,
   2) desktopon a slot-1 / slot-2 / slot-3 fölött azonos vizuális méretű legyen a körhinta. */

/* Desktop / nagy kijelző: a mini kártyák kapjanak FIX szélességet, így nem nőnek slotonként */
@media (min-width: 1025px){
  .ap-card--banner .ap-banner-topstrip{
    height: 138px !important;
    min-height: 138px !important;
    max-height: 138px !important;
    padding: 8px 8px 10px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }
  .ap-card--banner .ap-banner-topstrip__head{
    min-height: 16px !important;
    margin-bottom: 6px !important;
  }
  .ap-card--banner .ap-banner-topstrip__viewport{
    height: calc(100% - 22px) !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: hidden !important;
    padding: 0 !important;
  }
  .ap-card--banner .ap-banner-topstrip__track{
    height: 100% !important;
    align-items: stretch !important;
    gap: 8px !important;
  }
  .ap-card--banner .ap-banner-topstrip .ap-soon-card{
    width: 132px !important;
    min-width: 132px !important;
    max-width: 132px !important;
    height: 100% !important;
    min-height: 96px !important;
    max-height: none !important;
    display: grid !important;
    grid-template-rows: auto 52px auto !important;
    gap: 4px !important;
    padding: 6px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }
  .ap-card--banner .ap-banner-topstrip .ap-soon-card__title{
    font-size: 10px !important;
    line-height: 1.1 !important;
    min-height: calc(2 * 1.1em) !important;
    max-height: calc(2 * 1.1em) !important;
    white-space: normal !important;
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    line-clamp: 2 !important;
  }
  .ap-card--banner .ap-banner-topstrip .ap-soon-card__imgwrap{
    height: 52px !important;
    min-height: 52px !important;
    max-height: 52px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    background: #fff !important;
  }
  .ap-card--banner .ap-banner-topstrip .ap-soon-card__img,
  .ap-card--banner .ap-banner-topstrip .ap-soon-card__imgwrap img{
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
  }
  .ap-card--banner .ap-banner-topstrip .ap-soon-card__meta{
    display: grid !important;
    grid-template-rows: auto auto auto auto !important;
    gap: 2px !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }
  .ap-card--banner .ap-banner-topstrip .ap-soon-card__sales,
  .ap-card--banner .ap-banner-topstrip .ap-soon-card__price,
  .ap-card--banner .ap-banner-topstrip .ap-soon-card__cd,
  .ap-card--banner .ap-banner-topstrip .ap-soon-card__countdown,
  .ap-card--banner .ap-banner-topstrip .ap-soon-card__cta{
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
}

/* Tablet + mobil: a körhinta magasabb legyen, és ne vágjon le semmit */
@media (max-width: 1024px){
  .ap-card--banner,
  .ap-card--banner .ap-banner-topstrip,
  .ap-card--banner .ap-banner-topstrip__viewport,
  .ap-card--banner .ap-banner-topstrip__track,
  .ap-card--banner .ap-banner-topstrip .ap-soon-card,
  .ap-card--banner .ap-banner-topstrip .ap-soon-card__meta{
    max-height: none !important;
  }

  .ap-card--banner .ap-banner-topstrip{
    height: auto !important;
    min-height: 176px !important;
    overflow: visible !important;
    padding: 8px 8px 12px !important;
    box-sizing: border-box !important;
  }
  .ap-card--banner .ap-banner-topstrip__viewport{
    height: auto !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    padding: 0 0 10px !important;
    -webkit-overflow-scrolling: touch !important;
  }
  .ap-card--banner .ap-banner-topstrip__track{
    align-items: stretch !important;
    gap: 8px !important;
  }
  .ap-card--banner .ap-banner-topstrip .ap-soon-card{
    height: auto !important;
    min-height: 148px !important;
    display: grid !important;
    grid-template-rows: auto 64px auto !important;
    gap: 5px !important;
    padding: 8px !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }
  .ap-card--banner .ap-banner-topstrip .ap-soon-card__title{
    font-size: 11px !important;
    line-height: 1.15 !important;
    min-height: calc(2 * 1.15em) !important;
    white-space: normal !important;
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    line-clamp: 2 !important;
  }
  .ap-card--banner .ap-banner-topstrip .ap-soon-card__imgwrap{
    height: 64px !important;
    min-height: 64px !important;
    max-height: 64px !important;
    overflow: hidden !important;
    background: #fff !important;
  }
  .ap-card--banner .ap-banner-topstrip .ap-soon-card__meta{
    display: grid !important;
    grid-template-rows: auto auto auto auto !important;
    gap: 3px !important;
    min-height: 0 !important;
    overflow: visible !important;
  }
  .ap-card--banner .ap-banner-topstrip .ap-soon-card__sales,
  .ap-card--banner .ap-banner-topstrip .ap-soon-card__price,
  .ap-card--banner .ap-banner-topstrip .ap-soon-card__cd,
  .ap-card--banner .ap-banner-topstrip .ap-soon-card__countdown,
  .ap-card--banner .ap-banner-topstrip .ap-soon-card__cta{
    display: block !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
}

/* Szűk mobil: egyértelmű, nagyobb mini kártyák */
@media (max-width: 768px){
  .ap-card--banner .ap-banner-topstrip{ min-height: 184px !important; }
  .ap-banner-topstrip{ --ap-soon-cols: 2 !important; }
  .ap-card--banner .ap-banner-topstrip .ap-soon-card{
    min-height: 154px !important;
    grid-template-rows: auto 68px auto !important;
  }
  .ap-card--banner .ap-banner-topstrip .ap-soon-card__imgwrap{
    height: 68px !important;
    min-height: 68px !important;
    max-height: 68px !important;
  }
}

@media (max-width: 480px){
  .ap-banner-topstrip{ --ap-soon-cols: 1 !important; }
  .ap-card--banner .ap-banner-topstrip{ min-height: 196px !important; }
  .ap-card--banner .ap-banner-topstrip .ap-soon-card{
    min-height: 166px !important;
    grid-template-rows: auto 76px auto !important;
  }
  .ap-card--banner .ap-banner-topstrip .ap-soon-card__imgwrap{
    height: 76px !important;
    min-height: 76px !important;
    max-height: 76px !important;
  }
}

/* === v1.7.57.124 – Mobil: +50% banner keret magasság + 2/3 banner / 1/3 körhinta ===
   Kérés: mobilon ne vágódjon le a mini körhinta alja; a teljes banner kártya legyen magasabb,
   és a belső arány legyen: 2/3 banner (main), 1/3 mini körhinta (topstrip).
*/
@media (max-width: 768px){
  /* +50% magasság a teljes keretnek (banner kártya) */
  .ap-card--banner{
    height: 540px !important;
    min-height: 540px !important;
    overflow: visible !important;
  }

  /* Arányok: 1/3 topstrip + 2/3 main */
  .ap-card--banner .ap-banner-topstrip{
    flex: 0 0 33.333% !important;
    height: 33.333% !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    padding-bottom: 16px !important; /* extra hely az alsó soroknak */
    box-sizing: border-box !important;
  }
  .ap-card--banner .ap-banner-main{
    flex: 0 0 66.666% !important;
    height: 66.666% !important;
    min-height: 0 !important;
  }

  /* Ne vágjon a viewport/track semmit */
  .ap-card--banner .ap-banner-topstrip__viewport{
    height: calc(100% - 22px) !important; /* head helye */
    overflow-x: auto !important;
    overflow-y: visible !important;
    padding-bottom: 14px !important;
    -webkit-overflow-scrolling: touch !important;
  }
  .ap-card--banner .ap-banner-topstrip__track{
    height: 100% !important;
    align-items: stretch !important;
  }

  /* A mini kártya ténylegesen töltse ki a rendelkezésre álló magasságot */
  .ap-card--banner .ap-banner-topstrip .ap-soon-card{
    height: 100% !important;
    min-height: 0 !important;
  }

  /* A banner média kapja meg a main teret */
  .ap-card--banner .ap-banner-media{
    max-height: none !important;
    height: 100% !important;
  }
}


.ap-card--clickable{cursor:pointer;}
