/* Feed demó oldalak stílusai */

/* ---- Upload form ---- */
.feeddemo-form-card {
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 16px rgba(0,0,0,.08);
    padding: 40px 48px;
    max-width: 620px;
    margin: 0 auto;
}

.feeddemo-form-card .form-label {
    font-weight: 600;
    color: #3a3a3a;
    margin-bottom: 8px;
    display: block;
    font-size: 15px;
}

.feeddemo-form-card .form-control-lg {
    border: 1.5px solid #ddd;
    border-radius: 4px;
    padding: 12px 16px;
    font-size: 15px;
    width: 100%;
    transition: border-color .2s;
}

.feeddemo-form-card .form-control-lg:focus {
    outline: none;
    border-color: #EE5A1B;
    box-shadow: 0 0 0 3px rgba(238,90,27,.12);
}

.feeddemo-or-separator {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 28px 0;
    color: #aaa;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .05em;
}

.feeddemo-or-separator::before,
.feeddemo-or-separator::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e0e0e0;
}

.feeddemo-file-area {
    border: 2px dashed #ddd;
    border-radius: 6px;
    padding: 20px;
    text-align: center;
    background: #fafafa;
    cursor: pointer;
    transition: border-color .2s;
}

.feeddemo-file-area:hover {
    border-color: #EE5A1B;
}

.feeddemo-file-area-dragover {
    border-color: #EE5A1B;
    background: #fff3f0;
}

.feeddemo-file-area input[type="file"] {
    display: none;
}

.feeddemo-file-area label {
    cursor: pointer;
    color: #EE5A1B;
    font-weight: 600;
}

.feeddemo-file-name {
    font-size: 13px;
    color: #888;
    margin-top: 6px;
}

.feeddemo-btn-submit {
    display: block;
    width: 100%;
    padding: 14px 24px;
    background: #EE5A1B;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: .04em;
    cursor: pointer;
    margin-top: 28px;
    transition: background .2s, transform .1s;
}

.feeddemo-btn-submit:hover {
    background: #d44e16;
}

.feeddemo-btn-submit:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.feeddemo-error {
    background: #fff3f0;
    border: 1.5px solid #EE5A1B;
    border-radius: 4px;
    color: #c0392b;
    padding: 14px 18px;
    margin-bottom: 24px;
    font-size: 14px;
}

/* ---- Terméklista – képméretek fixálása (valós webshop 262x262 thumbnail-t generál, itt külső URL) ---- */
#products_wrapper .product-image {
    height: 262px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #fff;
}

#products_wrapper .product-image img.img-fluid {
    max-height: 262px;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

#products_wrapper .feeddemo-no-img {
    height: 262px;
    width: 100%;
}

/* ---- Terméklista ---- */
.feeddemo-list-header {
    background: #E4E2EF;
    padding: 18px 0 12px;
    margin-bottom: 10px;
}

.feeddemo-list-meta {
    font-size: 14px;
    color: #666;
    margin-bottom: 6px;
}

.feeddemo-list-meta strong {
    color: #EE5A1B;
}

.feeddemo-expiry {
    font-size: 13px;
    color: #999;
}

.feeddemo-new-btn {
    display: inline-block;
    padding: 8px 20px;
    border: 2px solid #EE5A1B;
    color: #EE5A1B;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: .04em;
    text-decoration: none;
    transition: background .2s, color .2s;
    float: right;
    margin-top: 8px;
}

.feeddemo-new-btn:hover {
    background: #EE5A1B;
    color: #fff;
    text-decoration: none;
}

.feeddemo-missing-badge {
    display: inline-block;
    background: #f0ad4e;
    color: #fff;
    border-radius: 3px;
    padding: 1px 8px;
    font-size: 11px;
    font-weight: 600;
    margin: 1px 2px;
}

.feeddemo-card-detail-btn {
    display: block;
    width: 100%;
    padding: 10px 0;
    background: #EE5A1B;
    color: #fff !important;
    border: none;
    border-radius: 3px;
    font-size: 13px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: .04em;
    text-align: center;
    text-decoration: none !important;
    transition: background .2s;
}

.feeddemo-card-detail-btn:hover {
    background: #d44e16;
    color: #fff;
}

.feeddemo-no-img {
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 220px;
    color: #bbb;
    font-size: 14px;
}

/* ---- Termék adatlap kép ---- */
.feeddemo-product-img {
    max-height: 380px;
    width: 100%;
    object-fit: contain;
}

/* ---- Termék adatlap ---- */
.feeddemo-back-btn {
    display: inline-block;
    padding: 8px 18px;
    border: 2px solid #EE5A1B;
    color: #EE5A1B;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    text-decoration: none;
    transition: background .2s, color .2s;
    margin-bottom: 28px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.feeddemo-back-btn:hover {
    background: #EE5A1B;
    color: #fff;
    text-decoration: none;
}

.feeddemo-product-price {
    font-size: 32px;
    font-weight: 700;
    color: #EE5A1B;
    margin: 12px 0;
}

.feeddemo-product-price .old-price {
    font-size: 18px;
    color: #bbb;
    text-decoration: line-through;
    font-weight: 400;
    margin-right: 8px;
}

.feeddemo-stock-badge {
    display: inline-block;
    padding: 5px 16px;
    border-radius: 3px;
    font-size: 13px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
}

.feeddemo-stock-badge.in-stock {
    background: #e8f5e9;
    color: #2e7d32;
}

.feeddemo-stock-badge.out-of-stock {
    background: #fafafa;
    color: #999;
}

.feeddemo-product-meta dt {
    font-weight: 600;
    color: #555;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-top: 16px;
}

.feeddemo-product-meta dd {
    color: #333;
    margin-left: 0;
    margin-bottom: 0;
}

.feeddemo-original-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border: 2px solid #EE5A1B;
    color: #EE5A1B;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    margin-top: 8px;
    transition: background .2s, color .2s;
}

.feeddemo-original-link:hover {
    background: #EE5A1B;
    color: #fff;
    text-decoration: none;
}

.feeddemo-desc-block {
    background: #fafafa;
    border-left: 3px solid #EE5A1B;
    padding: 20px 24px;
    border-radius: 0 4px 4px 0;
    line-height: 1.8;
    color: #444;
    margin-top: 8px;
}

.feeddemo-thumb-gallery {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.feeddemo-thumb-gallery img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border: 2px solid #eee;
    border-radius: 4px;
    cursor: pointer;
    transition: border-color .2s;
}

.feeddemo-thumb-gallery img:hover {
    border-color: #EE5A1B;
}

.feeddemo-main-img {
    width: 100%;
    max-height: 420px;
    object-fit: contain;
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 16px;
}

/* ---- Sidebar kategória lista ---- */
#feeddemo-categories.nav-tabs {
    border-bottom: none;
    margin-bottom: 0;
}

/* ---- "Mi van benne" Swal modal (product_modal.php layout) ---- */
.feeddemo-product-modal {
    text-align: left;
}
.feeddemo-product-modal .swal2-html-container {
    text-align: left;
    padding: 0;
    margin: 0;
}
.feeddemo-product-modal .modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    border-bottom: 1px solid #eee;
    margin-bottom: 0;
    padding: 30px 30px 0;
}
.feeddemo-product-modal .modal-body {
    overflow-y: auto;
    max-height: 70vh;
    padding: 30px;
}
.feeddemo-product-modal .modal-header .close {
    cursor: pointer;
    flex-shrink: 0;
}
.feeddemo-product-modal .font-size25,
.feeddemo-product-modal .font-size23 {
    white-space: nowrap;
}

/* ---- Termék kártya gombok (plus.js .to-cart interceptálás elkerülése) ---- */
.fd-to-cart {
    font-size: 16px;
    padding: 6px 0 !important;
}

.fd-to-cart-quick {
    font-size: 18px;
    width: 100%;
    letter-spacing: 0;
    padding: 6px;
    line-height: 18px;
}

.fd-button-quick {
    color: #EE5A1B;
    padding: 6px 0;
    font-size: 12px;
    letter-spacing: 0;
    font-weight: 600;
}

.fd-button-quick:hover {
    color: #fff !important;
    background: #EE5A1B;
    padding: 6px 0;
    font-weight: 600;
}

.fd-button-quick:hover a {
    color: #fff !important;
}

/* ---- Lejárt oldal ---- */
.feeddemo-expired-box {
    text-align: center;
    padding: 60px 20px;
}

.feeddemo-expired-box h2 {
    font-family: 'Libre Baskerville', serif;
    color: #3a3a3a;
    margin-bottom: 12px;
}
