/*
Theme Name: Blocksy Nefelejcs Child
Template: blocksy
Version: 1.0
*/

/* ======================
   STICKY HEADER
====================== */
#my-header {
    position: sticky;
    top: 0;
    z-index: 9999;
    backdrop-filter: blur(6px);
}

.nf-header-wrapper {
    position: sticky;
    top: 0;
    z-index: 9999;
    width: 100%;
    backdrop-filter: blur(6px);
    background: #F4F8FC;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.nf-hero,
.nf-breadcrumb,
.nf-cat-container,
.sp-page {
    scroll-margin-top: var(--header-height, 68px);
}

/* FIX: Blocksy wrapperek overflow felülírása hogy a sticky működjön */
html, body, #page, .site, .site-content, #content,
.content-area, .entry-content, main.site-main, .ct-main-content-container {
    overflow: visible !important;
}

/* ======================
   GRID
====================== */
.nefelejcs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.nefelejcs-grid.columns-1 { grid-template-columns: repeat(1, 1fr); }
.nefelejcs-grid.columns-2 { grid-template-columns: repeat(2, 1fr); }
.nefelejcs-grid.columns-3 { grid-template-columns: repeat(3, 1fr); }
.nefelejcs-grid.columns-4 { grid-template-columns: repeat(4, 1fr); }

.category-grid.columns-2 { grid-template-columns: repeat(2, 1fr); }
.category-grid.columns-3 { grid-template-columns: repeat(3, 1fr); }
.category-grid.columns-4 { grid-template-columns: repeat(4, 1fr); }

.nf-product-grid {
    grid-template-columns: repeat(3, 1fr);
}

/* ======================
   CARD
====================== */
.nefelejcs-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nefelejcs-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.card-image {
    position: relative;
    height: 260px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.nefelejcs-card:hover .card-image img {
    transform: scale(1.05);
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 100%;
    padding: 0 1px;
    opacity: 0;
    transition: opacity 0.3s;
}

.nefelejcs-card:hover .card-overlay {
    opacity: 1;
}

/* termékkártyán a kosár gomb elrejtése */
.nefelejcs-card .added_to_cart {
    display: none !important;
}

.overlay-view,
.overlay-button,
.card-overlay .add_to_cart_button {
    width: 100%;
    max-width: 150px;
    text-align: center;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s, color 0.2s;
}

.overlay-view,
.overlay-button {
    background: #fff;
    color: #2c2c2c;
}

.overlay-view:hover,
.overlay-button:hover {
    background: #5a6b8c;
    color: #fff;
}

.card-overlay .add_to_cart_button {
    background: #6B8CA3;
    color: #fff !important;
    font-size: 13px;
}

.card-content {
    height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 18px;
    text-align: center;
}

.card-title {
    font-size: 15px;
    margin-bottom: 8px;
    color: #2c2c2c;
}

.card-price {
    font-size: 17px;
    font-weight: 600;
    color: #5a6b8c;
}

.card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #5a6b8c;
    color: #fff;
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 20px;
}

.card-badge.second {
    left: auto;
    right: 12px;
    background: #2c2c2c;
}

/* Ikonok a kártyán (szalag, szállítás) */
.card-icons {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    gap: 6px;
    z-index: 2;
}

.card-icon {
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.9);
    color: #222;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
    transition: transform 0.2s;
}

.card-icon:hover { transform: scale(1.1); }
.card-icon svg { opacity: 0.95; }

/* ======================
   MINI CART
====================== */
#mini-cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 9998;
}

#mini-cart-overlay.show {
    opacity: 1;
    visibility: visible;
}

#mini-cart-drawer {
    position: fixed;
    top: 0;
    right: -400px;
    width: 360px;
    max-width: 90%;
    height: 100%;
    background: #fff;
    box-shadow: -5px 0 30px rgba(0,0,0,0.15);
    transition: right 0.3s ease;
    z-index: 9999;
    display: flex;
    flex-direction: column;
}

#mini-cart-drawer.open { right: 0; }

.mini-cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.mini-cart-header h3 { margin: 0; font-size: 18px; font-weight: 600; }
.mini-cart-close { font-size: 24px; cursor: pointer; }

.mini-cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
}

.mini-cart-body::-webkit-scrollbar { width: 6px; }
.mini-cart-body::-webkit-scrollbar-thumb { background: #ddd; border-radius: 10px; }

.mini-cart-list { list-style: none; margin: 0; padding: 0; }

.mini-cart-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.mini-cart-product { display: flex; align-items: center; gap: 12px; }

.mini-cart-image img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
}

.mini-cart-content { flex: 1; display: flex; flex-direction: column; gap: 5px; }

.mini-cart-title {
    font-size: 14px;
    font-weight: 500;
    color: #2c2c2c;
    text-decoration: none;
    line-height: 1.3;
}

.mini-cart-qty { display: flex; align-items: center; gap: 5px; }

.mini-cart-qty button {
    width: 24px;
    height: 24px;
    border: none;
    background: #f1f1f1;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
}

.mini-cart-qty span { min-width: 20px; text-align: center; font-size: 13px; }
.mini-cart-price { font-size: 14px; font-weight: 600; color: #5a6b8c; }
.mini-cart-remove { font-size: 18px; color: #999; text-decoration: none; cursor: pointer; margin-left: auto; }
.mini-cart-total { font-size: 16px; font-weight: 600; margin-top: 10px; }
.mini-cart-empty { text-align: center; padding: 40px 0; color: #888; }
.mc-szalag { display: block; font-size: 11px; color: #5a6b8c; line-height: 1.4; margin-top: 2px; }

.mini-cart-footer {
    position: sticky;
    bottom: 0;
    background: #fff;
    padding: 20px;
    border-top: 1px solid #eee;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mini-cart-btn {
    background: #f1f1f1;
    color: #2c2c2c;
    padding: 12px;
    border-radius: 30px;
    text-align: center;
    text-decoration: none;
    font-weight: 500;
}

.mini-checkout-btn {
    background: #5a6b8c;
    color: #fff;
    padding: 12px;
    border-radius: 30px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
}

/* ======================
   HEADER
   grid: logo | contact | mobile-pill | cart
====================== */

.nf-header-inner,
.nf-header-inner * {
    box-sizing: border-box;
}

.nf-header-inner {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 0 30px;
    height: 68px;
    display: grid;
    /* logo | contact | mobile-pill (rejtett desktop) | cart */
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 20px;
}

/* Elementor fix */
.elementor-widget-container .nf-header-inner { width: 100%; }

/* Grid child min-width fix (kritikus flex/grid overflow ellen) */
.nf-header-inner > * { min-width: 0; }

/* LOGO */
.nf-logo {
    display: flex;
    align-items: center;
    min-width: 0;
    max-width: 220px;
    overflow: hidden;
    text-decoration: none;
}

.nf-logo-img {
    height: 48px !important;
    width: auto !important;
    max-height: 48px !important;
    max-width: 180px !important;
    object-fit: contain;
    display: block;
}

.elementor .nf-logo-img,
.elementor-widget-container .nf-logo-img {
    height: 48px !important;
    width: auto !important;
    max-height: 48px !important;
}

.nf-logo-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.nf-logo-title {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #3a4a6b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nf-logo-sub {
    font-size: 10px;
    letter-spacing: 0.15em;
    color: #8a98b8;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* CONTACT */
.nf-header-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 52px;
    flex-wrap: nowrap;
    min-width: 0;
    overflow: hidden;
}

.nf-contact-item {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: #3a4a6b;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
    transition: color 0.2s;
}

.nf-contact-item:hover { color: #c0406a; }
.nf-contact-icon { color: #c0406a; flex-shrink: 0; }

/* MOBILE PHONE PILL – csak mobilon látható */
.nf-mobile-phone-pill { display: none; }

/* CART */
.nf-header-cart {
    justify-self: end;
    min-width: max-content;
}

.nf-cart-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    text-decoration: none;
    color: #3a4a6b;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 30px;
    border: 2px solid #eaeef4;
    transition: all 0.2s ease;
    position: relative;
}

.nf-cart-btn:hover {
    background: #5a6b8c;
    color: #fff;
    border-color: #5a6b8c;
}

.nf-cart-btn:hover svg { stroke: #fff; }

.nf-cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #c0406a;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}

/* ======================
   BREADCRUMB
====================== */
.nf-breadcrumb {
    background: #f8f9fb;
    border-bottom: 1px solid #eee;
    padding: 12px 0;
}

.nf-breadcrumb-list {
    margin: 0 auto;
    padding: 0 30px;
    max-width: 1280px;
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 15px;
}

.nf-breadcrumb-item {
    color: #5a6b8c;
    text-decoration: none;
    transition: color 0.2s;
}

.nf-breadcrumb-item:hover { color: #2c2c2c; text-decoration: underline; }
.nf-breadcrumb-sep { color: #bbb; }
.nf-breadcrumb-current { color: #888; font-weight: 500; }

/* ======================
   KATEGÓRIA OLDAL – HERO
====================== */
.nf-hero {
    position: relative;
    height: 280px;
    background-image: var(--hero-img);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.nf-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.55) 100%);
}

.nf-hero-content {
    position: relative;
    z-index: 1;
    padding: 40px 60px;
    max-width: 800px;
}

.nf-hero-title {
    font-family: "Poppins";
    font-size: 60px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 10px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    line-height: 1.15;
}

.nf-hero-desc {
    color: rgba(255,255,255,0.88);
    font-size: 16px;
    margin: 0;
    line-height: 1.6;
}

/* ======================
   KATEGÓRIA OLDAL – CONTAINER + SUBCAT
====================== */
.nf-cat-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 50px 30px 80px;
}

.nf-subcat-section { margin-bottom: 55px; }

.nf-subcat-title {
    font-size: 20px;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 20px;
}

.nf-subcat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

.nf-subcat-card {
    text-decoration: none;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 6px 20px rgba(0,0,0,0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
}

.nf-subcat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 32px rgba(0,0,0,0.12);
}

.nf-subcat-img {
    position: relative;
    height: 140px;
    overflow: hidden;
    background: #f5f5f5;
}

.nf-subcat-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.nf-subcat-card:hover .nf-subcat-img img { transform: scale(1.06); }

.nf-subcat-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.32);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s;
}

.nf-subcat-card:hover .nf-subcat-overlay { opacity: 1; }

.nf-subcat-overlay span {
    background: #fff;
    color: #2c2c2c;
    font-size: 13px;
    font-weight: 500;
    padding: 7px 16px;
    border-radius: 20px;
}

.nf-subcat-noimg {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e8edf5, #d0d8e8);
}

.nf-subcat-name {
    padding: 12px 14px;
    font-size: 14px;
    font-weight: 500;
    color: #2c2c2c;
    text-align: center;
}

/* ======================
   KATEGÓRIA OLDAL – SHOP LAYOUT + SIDEBAR
====================== */
.nf-shop-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 40px;
    align-items: start;
}

.nf-sidebar { position: sticky; top: 90px; }

.nf-sidebar-inner {
    background: #fff;
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.07);
}

.nf-sidebar-heading { font-size: 17px; font-weight: 600; color: #2c2c2c; margin: 0 0 22px; }
.nf-filter-block { margin-bottom: 28px; }

.nf-filter-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.nf-price-range { padding: 4px 0; }

.nf-range-track {
    position: relative;
    height: 4px;
    background: #e0e0e0;
    border-radius: 4px;
    margin-bottom: 14px;
}

.nf-range-fill {
    position: absolute;
    height: 100%;
    background: #5a6b8c;
    border-radius: 4px;
    pointer-events: none;
}

.nf-range-input {
    position: absolute;
    top: -7px;
    left: 0;
    width: 100%;
    height: 18px;
    background: transparent;
    appearance: none;
    -webkit-appearance: none;
    pointer-events: none;
}

.nf-range-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    background: #5a6b8c;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    pointer-events: all;
    cursor: pointer;
    transition: background 0.2s;
}

.nf-range-input::-webkit-slider-thumb:hover { background: #2c2c2c; }

.nf-range-input::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: #5a6b8c;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    pointer-events: all;
    cursor: pointer;
}

.nf-price-labels {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #5a6b8c;
    font-weight: 600;
}

.nf-select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 14px;
    color: #2c2c2c;
    background: #fafafa;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235a6b8c' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    cursor: pointer;
}

.nf-filter-btn {
    width: 100%;
    background: #5a6b8c;
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    margin-bottom: 10px;
}

.nf-filter-btn:hover { background: #2c2c2c; }

.nf-filter-reset {
    display: block;
    text-align: center;
    font-size: 13px;
    color: #999;
    text-decoration: none;
    transition: color 0.2s;
}

.nf-filter-reset:hover { color: #5a6b8c; }

.nf-products-meta { display: flex; align-items: center; margin-bottom: 20px; }
.nf-product-count { font-size: 14px; color: #888; }

.nf-pagination {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 50px;
    flex-wrap: wrap;
}

.nf-page-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    color: #2c2c2c;
    background: #f1f1f1;
    transition: background 0.2s, color 0.2s;
}

.nf-page-btn:hover,
.nf-page-btn.active { background: #5a6b8c; color: #fff; }

.nf-no-products {
    text-align: center;
    padding: 80px 20px;
    color: #888;
    grid-column: 1 / -1;
}

.nf-no-products p { margin-bottom: 16px; font-size: 16px; }

/* ======================
   HELP SZEKCIÓ
====================== */
.nf-help-box { margin: 40px 0; }

.nf-help-inner {
    text-align: center;
    padding: 10px;
    border: 1px solid #eee;
    border-radius: 12px;
    background: #fafafa;
}

.nf-help-inner h3 { margin-bottom: 10px; font-size: 22px; }
.nf-help-inner p { margin-bottom: 10px; color: #666; }

.nf-help-phone {
    display: inline-block;
    padding: 12px 20px;
    background: #000;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
}

.nf-help-phone:hover { background: #333; }

/* ======================
   SINGLE PRODUCT
====================== */
.sp-page {
    background: #fafbfc;
    min-height: 80vh;
}

.sp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 30px 64px;
}

.sp-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

/* GALÉRIA */
.sp-gallery {
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sp-main-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #f0f2f5;
    aspect-ratio: 4/3;
    box-shadow: 0 4px 6px rgba(0,0,0,0.04), 0 20px 60px rgba(90,107,140,0.12);
}

.sp-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.sp-image-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, transparent 50%);
    pointer-events: none;
}

.sp-thumbs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.sp-thumb {
    width: 72px;
    height: 72px;
    border-radius: 12px;
    overflow: hidden;
    border: 2.5px solid transparent;
    background: #f0f2f5;
    cursor: pointer;
    padding: 0;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
    flex-shrink: 0;
}

.sp-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sp-thumb:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(90,107,140,0.18); }
.sp-thumb.active { border-color: #5a6b8c; box-shadow: 0 0 0 1px #5a6b8c; }

/* TERMÉK INFO */
.sp-info {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-top: 8px;
}

.sp-cat-pill {
    display: inline-flex;
    align-items: center;
    background: #eef1f7;
    color: #5a6b8c;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 20px;
    text-decoration: none;
    margin-bottom: 18px;
    width: fit-content;
    transition: background 0.2s, color 0.2s;
}

.sp-cat-pill:hover { background: #5a6b8c; color: #fff; }

.sp-title {
    font-size: 30px;
    font-weight: 700;
    color: #1a2236;
    line-height: 1.25;
    margin: 0 0 10px;
    letter-spacing: -0.02em;
}

.sp-sku { font-size: 13px; color: #9aa3b5; margin: 0 0 20px; }

.sp-divider {
    height: 1px;
    background: linear-gradient(to right, #e2e6ef, transparent);
    margin-bottom: 24px;
}

.sp-price-wrap { margin-bottom: 28px; }

.sp-price-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #9aa3b5;
    margin-bottom: 6px;
}

.sp-price {
    font-size: 32px;
    font-weight: 700;
    color: #5a6b8c;
    line-height: 1;
}

.sp-price .woocommerce-Price-amount { font-size: inherit; font-weight: inherit; color: inherit; }
.sp-price del { font-size: 18px; color: #c0c8d8; font-weight: 400; margin-right: 8px; }
.sp-price ins { text-decoration: none; }

/* FORM WRAP */
.sp-form-wrap { margin-bottom: 32px; }

.sp-form-wrap .woocommerce-product-details__short-description,
.sp-form-wrap .product_title,
.sp-form-wrap .price { display: none; }

.woocommerce-product-details__short-description,
.product_meta { display: none !important; }

/* VARIÁCIÓ TÁBLA – Blocksy override */
.sp-form-wrap table.variations,
.sp-form-wrap table.variations tbody { display: block !important; width: 100% !important; border: none !important; background: transparent !important; }
.sp-form-wrap table.variations tr { display: block !important; margin-bottom: 16px !important; }
.sp-form-wrap table.variations td,
.sp-form-wrap table.variations th { display: block !important; width: 100% !important; padding: 0 !important; border: none !important; background: transparent !important; }

.sp-form-wrap table.variations label {
    display: block !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    color: #9aa3b5 !important;
    margin-bottom: 8px !important;
    white-space: normal !important;
}

.sp-form-wrap table.variations select {
    width: 100% !important;
    padding: 11px 40px 11px 14px !important;
    border: 1.5px solid #e2e6ef !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    color: #1a2236 !important;
    background-color: #fff !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235a6b8c' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    box-sizing: border-box !important;
    box-shadow: none !important;
    margin: 0 !important;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.sp-form-wrap table.variations select:focus {
    outline: none !important;
    border-color: #5a6b8c !important;
    box-shadow: 0 0 0 3px rgba(90,107,140,0.12) !important;
}

.sp-form-wrap .reset_variations {
    font-size: 12px !important;
    color: #9aa3b5 !important;
    text-decoration: none !important;
    display: inline-block !important;
    margin: 4px 0 16px !important;
    transition: color 0.2s;
}

.sp-form-wrap .reset_variations:hover { color: #5a6b8c !important; }

.sp-form-wrap .woocommerce-variation-price { margin-bottom: 16px; }

.sp-form-wrap .woocommerce-variation-price .price {
    display: block !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #5a6b8c !important;
}

/* SZALAG OPCIÓ */
.sp-form-wrap .szalag-opcio {
    background: #f5f7fb;
    border: 1.5px solid #e2e6ef;
    border-radius: 14px;
    padding: 18px 20px;
    margin-bottom: 20px;
}

.sp-form-wrap .szalag-opcio label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #3a4a6b;
    cursor: pointer;
    margin-bottom: 0;
    text-transform: none;
    letter-spacing: 0;
}

.sp-form-wrap .szalag-opcio input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #5a6b8c;
    cursor: pointer;
    flex-shrink: 0;
}

.sp-form-wrap .szalag-opcio p {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #9aa3b5;
    margin: 12px 0 6px;
}

.sp-form-wrap .szalag-opcio select,
.sp-form-wrap .szalag-opcio input[type="text"] {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #e2e6ef;
    border-radius: 10px;
    font-size: 14px;
    color: #1a2236;
    background: #fff;
    margin-bottom: 10px;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.sp-form-wrap .szalag-opcio select:focus,
.sp-form-wrap .szalag-opcio input[type="text"]:focus {
    outline: none;
    border-color: #5a6b8c;
}

/* KOSÁR FORM */
.sp-form-wrap form.cart {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    margin-top: 4px;
}

.sp-form-wrap .single_add_to_cart_button,
.sp-form-wrap button[name="add-to-cart"] {
    flex: none;
    width: 100%;
    min-width: unset;
    background: linear-gradient(135deg, #5a6b8c 0%, #3a4a6b 100%) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 14px !important;
    padding: 15px 28px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
    box-shadow: 0 4px 20px rgba(90,107,140,0.3) !important;
    text-align: center;
}

.sp-form-wrap .single_add_to_cart_button:hover,
.sp-form-wrap button[name="add-to-cart"]:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 30px rgba(90,107,140,0.4) !important;
}

/* TRUST BLOKK */
.sp-trust {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    background: #f5f7fb;
    border-radius: 14px;
    border: 1px solid #e8ecf4;
    margin-top: 24px;
}

.sp-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #5a6b8c;
    font-weight: 500;
}

.sp-trust-item svg { flex-shrink: 0; }

/* TERMÉKLEÍRÁS */
.sp-desc-section {
    background: #fff;
    border-top: 1px solid #edf0f7;
    padding: 72px 30px;
}

.sp-desc-inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.sp-desc-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #5a6b8c;
    margin-bottom: 12px;
}

.sp-desc-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a2236;
    margin: 0 0 32px;
    letter-spacing: -0.02em;
}

.sp-desc-content {
    font-size: 16px;
    line-height: 1.8;
    color: #4a5568;
    text-align: left;
}

.sp-desc-content p { margin-bottom: 16px; }

/* ======================
   KOSÁR OLDAL
====================== */
.nf-cart-page {
    background: #fafbfc;
    min-height: 60vh;
    padding: 48px 0 80px;
}

.nf-cart-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 40px;
    align-items: start;
}

.nf-cart-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
}

.nf-cart-empty-icon { color: #c0c8d8; margin-bottom: 24px; }

.nf-cart-empty h2 { font-size: 24px; font-weight: 700; color: #1a2236; margin-bottom: 12px; }
.nf-cart-empty p { font-size: 15px; color: #888; margin-bottom: 28px; }

.nf-cart-back-btn {
    display: inline-block;
    background: linear-gradient(135deg, #5a6b8c 0%, #3a4a6b 100%);
    color: #fff;
    padding: 14px 32px;
    border-radius: 14px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(90,107,140,0.3);
}

.nf-cart-back-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(90,107,140,0.4); color: #fff; }

.nf-cart-items {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    overflow: hidden;
}

.nf-cart-items-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px 20px;
    border-bottom: 1px solid #edf0f7;
}

.nf-cart-title { font-size: 20px; font-weight: 700; color: #1a2236; margin: 0; }

.nf-cart-item-count {
    font-size: 13px;
    color: #9aa3b5;
    background: #f0f2f7;
    padding: 4px 12px;
    border-radius: 20px;
}

.nf-cart-table-head {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 40px;
    gap: 12px;
    padding: 12px 28px;
    background: #f8f9fb;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #9aa3b5;
}

.nf-cart-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 40px;
    gap: 12px;
    padding: 20px 28px;
    align-items: center;
    border-bottom: 1px solid #edf0f7;
    transition: background 0.2s;
}

.nf-cart-row:last-of-type { border-bottom: none; }
.nf-cart-row:hover { background: #fafbff; }

.nf-col-product { display: flex; align-items: center; gap: 16px; }
.nf-cart-product-img { flex-shrink: 0; }

.nf-cart-product-img img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

.nf-cart-product-name {
    font-size: 14px;
    font-weight: 600;
    color: #1a2236;
    text-decoration: none;
    line-height: 1.4;
    display: block;
    margin-bottom: 4px;
    transition: color 0.2s;
}

.nf-cart-product-name:hover { color: #5a6b8c; }

.nf-cart-variation { display: flex; flex-direction: column; gap: 2px; margin-top: 4px; }
.nf-cart-variation span { font-size: 12px; color: #9aa3b5; }

.nf-cart-szalag {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 6px;
    padding: 6px 10px;
    background: #eef1f7;
    border-radius: 8px;
}

.nf-cart-szalag span { font-size: 12px; color: #5a6b8c; }

.nf-col-price,
.nf-col-total { font-size: 14px; font-weight: 600; color: #1a2236; }
.nf-col-total { color: #5a6b8c; }

.nf-col-qty .quantity {
    display: flex;
    align-items: center;
    background: #f0f2f7;
    border-radius: 10px;
    overflow: hidden;
    width: fit-content;
}

.nf-col-qty .quantity input[type="number"] {
    width: 44px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #1a2236;
    border: none;
    background: transparent;
    padding: 8px 0;
    -moz-appearance: textfield;
}

.nf-col-qty .quantity input::-webkit-outer-spin-button,
.nf-col-qty .quantity input::-webkit-inner-spin-button { -webkit-appearance: none; }

.nf-qty-single { font-size: 14px; font-weight: 600; color: #1a2236; }

.nf-col-remove { display: flex; align-items: center; justify-content: center; }

.nf-cart-remove {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #f0f2f7;
    color: #9aa3b5;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.nf-cart-remove:hover { background: #ffe4e4; color: #e05555; }

.nf-cart-update { padding: 16px 28px; border-top: 1px solid #edf0f7; }

.nf-cart-update-btn {
    background: #f0f2f7;
    color: #5a6b8c;
    border: none;
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.nf-cart-update-btn:hover { background: #e2e6ef; }

.nf-cart-continue { padding: 0 28px 20px; }

.nf-cart-continue-link {
    font-size: 13px;
    color: #9aa3b5;
    text-decoration: none;
    transition: color 0.2s;
}

.nf-cart-continue-link:hover { color: #5a6b8c; }

.nf-cart-sidebar { position: sticky; top: 100px; }

.nf-cart-summary {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    padding: 28px;
}

.nf-cart-summary-title { font-size: 18px; font-weight: 700; color: #1a2236; margin: 0 0 24px; }

.nf-cart-totals { display: flex; flex-direction: column; gap: 0; margin-bottom: 24px; }

.nf-cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #edf0f7;
    font-size: 14px;
    color: #4a5568;
}

.nf-cart-total-row:last-child { border-bottom: none; }

.nf-cart-grand-total { font-size: 18px; font-weight: 700; color: #1a2236; padding-top: 16px; }
.nf-cart-grand-total span:last-child { color: #5a6b8c; }
.nf-cart-discount .nf-discount-amount { color: #2d7a4f; font-weight: 600; }

.nf-checkout-btn {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, #5a6b8c 0%, #3a4a6b 100%);
    color: #fff;
    text-align: center;
    padding: 16px;
    border-radius: 14px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(90,107,140,0.3);
    margin-bottom: 20px;
}

.nf-checkout-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(90,107,140,0.4); color: #fff; }

.nf-cart-trust { display: flex; flex-direction: column; gap: 8px; padding-top: 16px; border-top: 1px solid #edf0f7; }
.nf-cart-trust-item { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #9aa3b5; }
.nf-cart-trust-item svg { flex-shrink: 0; color: #5a6b8c; }

/* ======================
   RESPONSIVE – 3 töréspont: 1024 / 768 / 480
====================== */
@media (max-width: 1024px) {
    .nefelejcs-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .nf-product-grid { grid-template-columns: repeat(2, 1fr); }
    .nf-shop-layout { grid-template-columns: 220px 1fr; gap: 24px; }
    .card-image { height: 200px; }
    .card-content { height: 110px; padding: 14px; }
    .card-title { font-size: 14px; }
    .card-price { font-size: 15px; }
    .sp-layout { gap: 40px; }
    .sp-title { font-size: 26px; }
    .sp-price { font-size: 28px; }

    .nf-header-inner {
        height: auto;
        padding: 10px 20px;
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: 12px;
    }

    /* Elrejtjük a cím ikont tableten */
    .nf-header-contact .nf-contact-item:last-child { display: none; }
    .nf-cart-label { display: none; }
    .nf-cart-btn { padding: 8px 12px; }

    .nf-logo-img {
        height: 42px !important;
        max-height: 42px !important;
        max-width: 160px !important;
    }

    .elementor .nf-logo-img,
    .elementor-widget-container .nf-logo-img {
        height: 42px !important;
        max-height: 42px !important;
    }

    .card-icons { top: 8px; right: 8px; left: auto; z-index: 3; }
    .card-icon { width: 26px; height: 26px; }
    .overlay-view { position: absolute; bottom: 2px; left: 2px; right: 5px; }

    .nf-cart-container { grid-template-columns: 1fr; }
    .nf-cart-sidebar { position: static; }
}

@media (max-width: 768px) {
    .nefelejcs-grid,
    .nf-product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

    .card-image { height: 160px; }
    .card-content { height: auto; min-height: 80px; padding: 12px; }
    .card-title { font-size: 12px; margin-bottom: 4px; }
    .card-price { font-size: 13px; }
    .card-badge { font-size: 10px; padding: 4px 8px; top: 8px; left: 8px; }
    .card-badge.second { left: auto; right: 8px; }
    .overlay-view, .overlay-button { padding: 8px 14px; font-size: 12px; }
    .card-overlay .add_to_cart_button { padding: 8px 14px; font-size: 11px; }

    .nf-hero { height: 220px; }
    .nf-hero-content { padding: 20px; }
    .nf-hero-title { font-size: 28px; }
    .nf-hero-desc { font-size: 13px; }
    .nf-cat-container { padding: 20px 12px 50px; }
    .nf-shop-layout { grid-template-columns: 1fr; }

    /* Mobilos sidebar drawer */
    .nf-sidebar {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: 100%;
        background: #fff;
        z-index: 9999;
        overflow-y: auto;
        transition: left 0.3s ease;
        box-shadow: 5px 0 30px rgba(0,0,0,0.15);
    }
    .nf-sidebar.open { left: 0; }
    .nf-sidebar-inner { border-radius: 0; box-shadow: none; height: 100%; }

    .nf-mobile-filter-btn {
        display: flex;
        align-items: center;
        gap: 8px;
        background: #5a6b8c;
        color: #fff;
        border: none;
        border-radius: 30px;
        padding: 10px 20px;
        font-size: 14px;
        font-weight: 500;
        cursor: pointer;
        margin-bottom: 20px;
    }

    #mini-cart-drawer { width: 100%; }
    .nf-breadcrumb-list { padding: 0 12px; font-size: 11px; }

    /* Header mobilon */
    .nf-header-inner {
        padding: 10px 16px 8px;
        height: auto;
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto;
        gap: 6px 12px;
    }

    .nf-logo { grid-column: 1; grid-row: 1; max-width: 180px; }
    .nf-header-contact { display: none; }
    .nf-header-cart { grid-column: 2; grid-row: 1; }

    .nf-mobile-phone-pill {
        display: flex;
        grid-column: 1 / -1;
        grid-row: 2;
        align-items: center;
        gap: 7px;
        background: #f0f3f9;
        color: #3a4a6b;
        text-decoration: none;
        font-size: 13px;
        font-weight: 600;
        padding: 7px 14px;
        border-radius: 30px;
        width: fit-content;
        border: 1.5px solid #dde3f0;
    }

    .nf-mobile-phone-pill:hover { background: #c0406a; color: #fff; border-color: #c0406a; }

    .nf-cart-btn { padding: 7px 11px; border-radius: 12px; border-width: 1.5px; }
    .nf-cart-label { display: none; }

    /* Single product mobilon */
    .sp-container { padding: 24px 16px 48px; }
    .sp-layout { grid-template-columns: 1fr; gap: 32px; }
    .sp-gallery { position: static; }
    .sp-main-image { border-radius: 16px; }
    .sp-thumb { width: 60px; height: 60px; border-radius: 10px; }
    .sp-title { font-size: 22px; }
    .sp-price { font-size: 26px; }
    .sp-desc-section { padding: 48px 16px; }
    .sp-desc-title { font-size: 22px; }
    .sp-desc-content { font-size: 15px; }

    /* Kosár mobilon */
    .nf-cart-page { padding: 24px 0 60px; }
    .nf-cart-container { padding: 0 16px; gap: 24px; }
    .nf-cart-table-head { display: none; }
    .nf-cart-row {
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto auto;
        gap: 8px;
        padding: 16px;
    }
    .nf-col-product { grid-column: 1; grid-row: 1; }
    .nf-col-remove  { grid-column: 2; grid-row: 1; align-self: start; }
    .nf-col-price, .nf-col-qty, .nf-col-total {
        grid-column: 1;
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 13px;
    }
    .nf-col-price::before  { content: attr(data-label) ': '; font-size: 11px; color: #9aa3b5; text-transform: uppercase; letter-spacing: 0.05em; }
    .nf-col-qty::before    { content: attr(data-label) ': '; font-size: 11px; color: #9aa3b5; text-transform: uppercase; letter-spacing: 0.05em; }
    .nf-col-total::before  { content: attr(data-label) ': '; font-size: 11px; color: #9aa3b5; text-transform: uppercase; letter-spacing: 0.05em; }
    .nf-cart-items-header { padding: 16px 16px 14px; }
    .nf-cart-update { padding: 12px 16px; }
    .nf-cart-continue { padding: 0 16px 16px; }
    .nf-cart-summary { padding: 20px; }
}

@media (max-width: 480px) {
    .nefelejcs-grid,
    .nf-product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .nefelejcs-grid.columns-1 { grid-template-columns: 1fr; }

    .card-image { height: 130px; }
    .card-content { min-height: 65px; padding: 8px 10px; }
    .card-title { font-size: 11px; }
    .card-price { font-size: 12px; }

    .nf-hero { height: 180px; }
    .nf-hero-title { font-size: 20px; }
    .nf-header-inner { padding: 8px 12px 6px; }
    .nf-logo { max-width: 140px; }
    .nf-logo-img { height: 32px !important; max-height: 32px !important; }
    .nf-mobile-phone-pill { font-size: 12px; padding: 6px 12px; }
    .nf-cart-btn { padding: 6px 10px; }
    .nf-cart-btn svg { width: 16px; height: 16px; }

    .nf-subcat-grid { grid-template-columns: repeat(2, 1fr); }
    .nf-subcat-title { font-size: 16px; }
    .nf-sidebar-heading { font-size: 15px; }

    .sp-title { font-size: 19px; }
    .sp-price { font-size: 22px; }
    .sp-thumb { width: 52px; height: 52px; }
    .sp-trust { padding: 14px; }
    .sp-trust-item { font-size: 12px; }
}

/* ======================
   PÉNZTÁR OLDAL
====================== */
.nf-checkout-page {
    background: #fafbfc;
    min-height: 80vh;
    padding: 48px 0 80px;
}

.nf-checkout-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 10px;
}

/* ÜRES KOSÁR */
.nf-checkout-empty {
    text-align: center;
    padding: 80px 20px;
}

.nf-checkout-empty svg { margin-bottom: 24px; }
.nf-checkout-empty h2 { font-size: 24px; font-weight: 700; color: #1a2236; margin-bottom: 12px; }
.nf-checkout-empty p { font-size: 15px; color: #888; margin-bottom: 28px; }

.nf-checkout-back-btn {
    display: inline-block;
    background: linear-gradient(135deg, #5a6b8c 0%, #3a4a6b 100%);
    color: #fff;
    padding: 14px 32px;
    border-radius: 14px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(90,107,140,0.3);
}

.nf-checkout-back-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(90,107,140,0.4);
    color: #fff;
}

/* ÉRTESÍTÉSEK */
.nf-checkout-notices {
    margin-bottom: 24px;
}

.nf-checkout-notices .woocommerce-error,
.nf-checkout-notices .woocommerce-message {
    border-radius: 12px;
    padding: 16px 20px;
    margin: 0 0 12px;
    list-style: none;
}

/* KÉTOSZLOPOS LAYOUT */
.nf-checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 40px;
    align-items: start;
}

/* BAL OSZLOP */
.nf-checkout-left {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* SZEKCIÓ KÁRTYA */
.nf-checkout-section {
    background: #fff;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.nf-checkout-section-title {
    font-size: 17px;
    font-weight: 700;
    color: #1a2236;
    margin: 0 0 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.nf-checkout-step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #5a6b8c, #3a4a6b);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* FORM MEZŐK */
.nf-checkout-fields .form-row {
    margin-bottom: 16px;
}

.nf-checkout-fields label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #9aa3b5;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.nf-checkout-fields .required {
    color: #c0406a;
}

.nf-checkout-fields input[type="text"],
.nf-checkout-fields input[type="email"],
.nf-checkout-fields input[type="tel"],
.nf-checkout-fields input[type="number"],
.nf-checkout-fields input[type="password"],
.nf-checkout-fields select,
.nf-checkout-fields textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e2e6ef;
    border-radius: 10px;
    font-size: 14px;
    color: #1a2236;
    background: #fafbfc;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
    appearance: none;
}

.nf-checkout-fields input:focus,
.nf-checkout-fields select:focus,
.nf-checkout-fields textarea:focus {
    outline: none;
    border-color: #5a6b8c;
    box-shadow: 0 0 0 3px rgba(90,107,140,0.12);
    background: #fff;
}

.nf-checkout-fields textarea {
    min-height: 100px;
    resize: vertical;
}

/* Mellé kerülő mezők (half) */
.nf-checkout-fields .form-row-first,
.nf-checkout-fields .form-row-last {
    width: calc(50% - 8px);
    display: inline-block;
    vertical-align: top;
}

.nf-checkout-fields .form-row-first { margin-right: 16px; }

/* Select nyíl */
.nf-checkout-fields select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235a6b8c' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
    cursor: pointer;
}

/* Checkbox (szállítás ugyanoda) */
.nf-checkout-fields .woocommerce-form__input-checkbox {
    width: auto !important;
    margin-right: 8px;
    accent-color: #5a6b8c;
}

/* Bejelentkezés */
.nf-checkout-login-notice {
    background: #eef1f7;
    border-radius: 12px;
    padding: 16px 20px;
    font-size: 14px;
    color: #5a6b8c;
}

.nf-checkout-login-notice a {
    color: #3a4a6b;
    font-weight: 600;
    text-decoration: underline;
}

/* JOBB OSZLOP */
.nf-checkout-right {
    top: 90px;
}

.nf-checkout-summary {
    background: #fff;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

/* TERMÉKEK */
.nf-checkout-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #edf0f7;
}

.nf-co-item {
    display: grid;
    grid-template-columns: 56px 1fr auto;
    gap: 12px;
    align-items: center;
}

.nf-co-item-img {
    position: relative;
}

.nf-co-img {
    width: 56px !important;
    height: 56px !important;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

.nf-co-qty {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #5a6b8c;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}

.nf-co-item-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.nf-co-item-name {
    font-size: 13px;
    font-weight: 600;
    color: #1a2236;
    text-decoration: none;
    line-height: 1.4;
    transition: color 0.2s;
}

.nf-co-item-name:hover { color: #5a6b8c; }

.nf-co-meta {
    font-size: 11px;
    color: #9aa3b5;
    display: block;
}

.nf-co-item-price {
    font-size: 14px;
    font-weight: 600;
    color: #5a6b8c;
    white-space: nowrap;
}

/* ÖSSZEGEK */
.nf-co-totals {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 20px;
}

.nf-co-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #edf0f7;
    font-size: 14px;
    color: #4a5568;
}

.nf-co-total-row:last-child { border-bottom: none; }

.nf-co-discount { color: #2d7a4f; }

.nf-co-grand-total {
    font-size: 17px;
    font-weight: 700;
    color: #1a2236;
    padding-top: 14px;
}

.nf-co-grand-total span:last-child { color: #5a6b8c; }

/* KUPON */
.nf-co-coupon {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #edf0f7;
}

.nf-coupon-toggle {
    background: none;
    border: none;
    color: #5a6b8c;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
}

.nf-coupon-row {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.nf-coupon-input {
    flex: 1;
    padding: 10px 14px;
    border: 1.5px solid #e2e6ef;
    border-radius: 10px;
    font-size: 14px;
    color: #1a2236;
    background: #fafbfc;
    transition: border-color 0.2s;
}

.nf-coupon-input:focus {
    outline: none;
    border-color: #5a6b8c;
}

.nf-coupon-btn {
    background: #5a6b8c;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.nf-coupon-btn:hover { background: #3a4a6b; }

/* FIZETÉSI MÓD */
.nf-co-payment { margin-bottom: 20px; }

.nf-co-payment-title {
    font-size: 14px;
    font-weight: 700;
    color: #1a2236;
    margin: 0 0 14px;
}

/* WooCommerce payment override */
.nf-checkout-summary .wc_payment_methods {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nf-checkout-summary .wc_payment_methods li {
    background: #f5f7fb;
    border: 1.5px solid #e2e6ef;
    border-radius: 10px;
    padding: 12px 16px;
    transition: border-color 0.2s;
}

.nf-checkout-summary .wc_payment_methods li.active,
.nf-checkout-summary .wc_payment_methods li:has(input:checked) {
    border-color: #5a6b8c;
    background: #eef1f7;
}

.nf-checkout-summary .wc_payment_methods label {
    font-size: 14px;
    font-weight: 500;
    color: #1a2236;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    text-transform: none;
    letter-spacing: 0;
}

.nf-checkout-summary .wc_payment_methods input[type="radio"] {
    accent-color: #5a6b8c;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.nf-checkout-summary .payment_box {
    background: #fff;
    border-radius: 8px;
    padding: 12px;
    margin-top: 10px;
    font-size: 13px;
    color: #4a5568;
}

/* RENDELÉS GOMB */
.nf-checkout-summary #place_order,
.nf-checkout-summary .button[type="submit"] {
    display: block !important;
    width: 100% !important;
    background: linear-gradient(135deg, #5a6b8c 0%, #3a4a6b 100%) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 14px !important;
    padding: 16px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s !important;
    box-shadow: 0 4px 20px rgba(90,107,140,0.3) !important;
    text-align: center;
    margin-bottom: 0 !important;
}

.nf-checkout-summary #place_order:hover,
.nf-checkout-summary .button[type="submit"]:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 30px rgba(90,107,140,0.4) !important;
}

/* Adatvédelmi szöveg */
.nf-checkout-summary .woocommerce-privacy-policy-text {
    font-size: 11px;
    color: #9aa3b5;
    text-align: center;
    margin-top: 12px;
    line-height: 1.5;
}

.nf-checkout-summary .woocommerce-privacy-policy-text a {
    color: #5a6b8c;
}

/* BIZALOM JELZŐK */
.nf-co-trust {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #edf0f7;
}

.nf-co-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #9aa3b5;
    font-weight: 500;
}

.nf-co-trust-item svg { color: #5a6b8c; flex-shrink: 0; }

/* ======================
   PÉNZTÁR – RESPONSIVE
====================== */
@media (max-width: 1024px) {
    .nf-checkout-layout {
        grid-template-columns: 1fr 360px;
        gap: 28px;
    }
}

@media (max-width: 768px) {
    .nf-checkout-page { padding: 24px 0 60px; }
    .nf-checkout-container { padding: 0 16px; }

    .nf-checkout-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .nf-checkout-right {
        position: static;
        /* Mobilon az összesítő előre kerül */
        order: -1;
    }

    .nf-checkout-section { padding: 20px; }
    .nf-checkout-summary { padding: 20px; }

    .nf-checkout-fields .form-row-first,
    .nf-checkout-fields .form-row-last {
        width: 100%;
        display: block;
        margin-right: 0;
    }
}

/* Woo checkout + cart spacing FIX */
.woocommerce-page .ct-container-full[data-vertical-spacing],
.woocommerce-cart .ct-container-full[data-vertical-spacing],
.woocommerce-checkout .ct-container-full[data-vertical-spacing] {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* extra: wrapper spacing nullázás */
.woocommerce-checkout .entry-content,
.woocommerce-cart .entry-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.nf-header-breadcrumb {
    top: 0;
    z-index: 9999;
    width: 100%;
    backdrop-filter: blur(6px);
    background: #F4F8FC;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* ======================
   MULTI-STEP CHECKOUT
   Hozzáadni a style.css végéhez
====================== */
 
/* WRAPPER – kétoszlopos layout */
.nf-msc-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: 40px;
    align-items: start;
    max-width: 100%;
    margin: 0 auto;
    padding: 40px 30px 80px;
    box-sizing: border-box;
}
 
/* ===== BAL OSZLOP ===== */
.nf-msc-left {
    display: flex;
    flex-direction: column;
    gap: 0;
}
 
/* ===== JOBB OSZLOP ===== */
.nf-msc-right {
    position: sticky;
    top: 90px;
}
 
/* ======================
   PROGRESS BAR
====================== */
.nf-msc-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 32px;
    padding: 0 4px;
}
 
.nf-msc-progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 1;
}
 
.nf-msc-step-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #e8ecf4;
    border: 2.5px solid #dde3f0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
    position: relative;
}
 
.nf-msc-step-num {
    font-size: 14px;
    font-weight: 700;
    color: #9aa3b5;
    transition: opacity 0.2s ease;
}
 
.nf-msc-step-check {
    position: absolute;
    opacity: 0;
    transition: opacity 0.2s ease;
    color: #fff;
}
 
.nf-msc-step-label {
    font-size: 11px;
    font-weight: 600;
    color: #9aa3b5;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: color 0.3s ease;
}
 
/* ÖSSZEKÖTŐ VONAL */
.nf-msc-progress-line {
    flex: 1;
    height: 2px;
    background: #e8ecf4;
    margin: 0 4px;
    margin-bottom: 28px; /* label magasságát kompenzálja */
    transition: background 0.4s ease;
    position: relative;
    overflow: hidden;
}
 
.nf-msc-progress-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #5a6b8c, #3a4a6b);
    transition: width 0.4s ease;
}
 
/* AKTÍV LÉPÉS */
.nf-msc-progress-step.active .nf-msc-step-circle {
    background: linear-gradient(135deg, #5a6b8c, #3a4a6b);
    border-color: #5a6b8c;
    transform: scale(1.1);
    box-shadow: 0 4px 16px rgba(90, 107, 140, 0.35);
}
 
.nf-msc-progress-step.active .nf-msc-step-num {
    color: #fff;
}
 
.nf-msc-progress-step.active .nf-msc-step-label {
    color: #3a4a6b;
    font-weight: 700;
}
 
/* TELJESÍTETT LÉPÉS */
.nf-msc-progress-step.done .nf-msc-step-circle {
    background: #2d7a4f;
    border-color: #2d7a4f;
    transform: scale(1.0);
    box-shadow: 0 2px 10px rgba(45, 122, 79, 0.25);
}
 
.nf-msc-progress-step.done .nf-msc-step-num {
    opacity: 0;
}
 
.nf-msc-progress-step.done .nf-msc-step-check {
    opacity: 1;
}
 
.nf-msc-progress-step.done .nf-msc-step-label {
    color: #2d7a4f;
}
 
/* KITÖLTÖTT VONAL */
.nf-msc-progress-line.done::after {
    width: 100%;
}
 
/* ======================
   STEP TARTALOM
====================== */
.nf-msc-step-content {
    display: none;
    animation: nfStepIn 0.28s ease forwards;
}
 
.nf-msc-step-content.active {
    display: block;
}
 
@keyframes nfStepIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
 
/* ======================
   NAVIGÁCIÓS GOMBOK
====================== */
.nf-msc-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    margin-bottom: 8px;
    gap: 12px;
}
 
.nf-msc-btn-next {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #5a6b8c 0%, #3a4a6b 100%);
    color: #fff;
    border: none;
    border-radius: 14px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 20px rgba(90, 107, 140, 0.3);
    letter-spacing: 0.02em;
    margin-left: auto;
}
 
.nf-msc-btn-next:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(90, 107, 140, 0.4);
}
 
.nf-msc-btn-next:active {
    transform: translateY(0);
}
 
.nf-msc-btn-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    color: #9aa3b5;
    border: 1.5px solid #dde3f0;
    border-radius: 14px;
    padding: 13px 22px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
 
.nf-msc-btn-back:hover {
    color: #3a4a6b;
    border-color: #5a6b8c;
    background: #f0f3f9;
}
 
/* ======================
   VALIDÁCIÓS STÍLUSOK
====================== */
.nf-checkout-fields .form-row.nf-error input,
.nf-checkout-fields .form-row.nf-error select,
.nf-checkout-fields .form-row.nf-error textarea {
    border-color: #e05555 !important;
    box-shadow: 0 0 0 3px rgba(224, 85, 85, 0.12) !important;
}
 
.nf-field-error-msg {
    display: block;
    font-size: 11px;
    color: #e05555;
    font-weight: 500;
    margin-top: 4px;
}
 
/* Input zöld pipa ha érvényes */
.nf-checkout-fields .form-row.nf-valid input {
    border-color: #2d7a4f !important;
}
 
/* ======================
   SZÁMLÁZÁSI CHECKBOX
====================== */
.nf-billing-same-wrap {
    background: #f5f7fb;
    border: 1.5px solid #e2e6ef;
    border-radius: 14px;
    padding: 20px 22px;
    margin-bottom: 8px;
    transition: border-color 0.2s ease;
}
 
.nf-billing-same-wrap:has(#nf-billing-different:checked) {
    border-color: #5a6b8c;
    background: #eef1f7;
}
 
.nf-billing-same-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #1a2236;
    margin: 0 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}
 
/* Natív checkbox elrejtése */
.nf-billing-same-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
 
/* Egyedi checkbox */
.nf-billing-same-custom-check {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    border: 2px solid #dde3f0;
    background: #fff;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, border-color 0.2s ease;
    position: relative;
}
 
.nf-billing-same-custom-check::after {
    content: '';
    width: 5px;
    height: 9px;
    border: 2.5px solid #fff;
    border-top: none;
    border-left: none;
    transform: rotate(45deg) scale(0);
    transition: transform 0.15s ease;
    margin-bottom: 2px;
}
 
.nf-billing-same-label input[type="checkbox"]:checked + .nf-billing-same-custom-check {
    background: #5a6b8c;
    border-color: #5a6b8c;
}
 
.nf-billing-same-label input[type="checkbox"]:checked + .nf-billing-same-custom-check::after {
    transform: rotate(45deg) scale(1);
}
 
.nf-billing-same-hint {
    font-size: 12px;
    color: #9aa3b5;
    margin: 10px 0 0 32px;
    line-height: 1.5;
}
 
/* SZÁMLÁZÁSI MEZŐK ANIMÁLT MEGJELENÉSE */
.nf-billing-fields-wrap {
    overflow: hidden;
    transition: max-height 0.35s ease, opacity 0.3s ease;
}
 
/* ======================
   STEP 4 – ÖSSZESÍTŐ KÁRTYA
====================== */
.nf-msc-review {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 8px;
    border: 1.5px solid #e8ecf4;
    border-radius: 14px;
    overflow: hidden;
}
 
.nf-msc-review-block {
    padding: 16px 20px;
    border-bottom: 1px solid #edf0f7;
    transition: background 0.15s ease;
}
 
.nf-msc-review-block:last-child {
    border-bottom: none;
}
 
.nf-msc-review-block:hover {
    background: #fafbff;
}
 
.nf-msc-review-label {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    font-weight: 700;
    color: #9aa3b5;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-bottom: 6px;
}
 
.nf-msc-review-label svg {
    color: #5a6b8c;
    flex-shrink: 0;
}
 
.nf-msc-edit-btn {
    margin-left: auto;
    background: none;
    border: none;
    color: #5a6b8c;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    padding: 2px 8px;
    border-radius: 6px;
    transition: background 0.2s ease, color 0.2s ease;
    text-decoration: underline;
    text-underline-offset: 2px;
}
 
.nf-msc-edit-btn:hover {
    background: #eef1f7;
    color: #3a4a6b;
    text-decoration: none;
}
 
.nf-msc-review-value {
    font-size: 14px;
    color: #1a2236;
    font-weight: 500;
    line-height: 1.6;
    padding-left: 21px;
}
 
/* ======================
   SIMPLEPAY BANNER
====================== */
.nf-simplepay-banner {
    display: flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(135deg, #f0f7f3 0%, #e8f4ed 100%);
    border: 1.5px solid #b8dfc9;
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 16px;
}
 
.nf-simplepay-logo {
    height: 28px;
    width: auto;
    flex-shrink: 0;
    object-fit: contain;
}
 
.nf-simplepay-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
 
.nf-simplepay-text strong {
    font-size: 13px;
    font-weight: 700;
    color: #1a2236;
}
 
.nf-simplepay-text span {
    font-size: 11px;
    color: #2d7a4f;
    font-weight: 500;
}
 
/* WooCommerce payment override a checkout summary-n belül */
.nf-msc-left .wc_payment_methods {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
 
.nf-msc-left .wc_payment_methods li {
    background: #f5f7fb;
    border: 1.5px solid #e2e6ef;
    border-radius: 10px;
    padding: 14px 18px;
    transition: border-color 0.2s ease, background 0.2s ease;
    cursor: pointer;
}
 
.nf-msc-left .wc_payment_methods li:has(input:checked) {
    border-color: #5a6b8c;
    background: #eef1f7;
}
 
.nf-msc-left .wc_payment_methods label {
    font-size: 14px;
    font-weight: 500;
    color: #1a2236;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    text-transform: none;
    letter-spacing: 0;
}
 
.nf-msc-left .wc_payment_methods input[type="radio"] {
    accent-color: #5a6b8c;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    cursor: pointer;
}
 
.nf-msc-left .payment_box {
    background: #fff;
    border-radius: 8px;
    padding: 12px;
    margin-top: 10px;
    font-size: 13px;
    color: #4a5568;
    border: 1px solid #e8ecf4;
}
 
/* Place Order gomb a bal oszlopban */
.nf-msc-left #place_order,
.nf-msc-left .button[type="submit"] {
    display: block !important;
    width: 100% !important;
    background: linear-gradient(135deg, #5a6b8c 0%, #3a4a6b 100%) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 14px !important;
    padding: 17px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
    box-shadow: 0 4px 20px rgba(90, 107, 140, 0.3) !important;
    text-align: center;
    margin-top: 16px !important;
}
 
.nf-msc-left #place_order:hover,
.nf-msc-left .button[type="submit"]:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 30px rgba(90, 107, 140, 0.4) !important;
}
 
/* Privacy policy szöveg */
.nf-msc-left .woocommerce-privacy-policy-text {
    font-size: 11px;
    color: #9aa3b5;
    text-align: center;
    margin-top: 12px;
    line-height: 1.5;
}
 
.nf-msc-left .woocommerce-privacy-policy-text a {
    color: #5a6b8c;
    text-decoration: underline;
}
 
/* ======================
   OPTIONAL LABEL
====================== */
.nf-checkout-fields .optional {
    font-size: 11px;
    color: #b0b8c8;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
}
 
/* ======================
   FORM-ROW HALF WIDTH FIX
   (a meglévő .form-row-first/.form-row-last
    inline-block megközelítés mellett)
====================== */
.nf-checkout-fields .form-row-first,
.nf-checkout-fields .form-row-last {
    width: calc(50% - 8px);
    display: inline-block;
    vertical-align: top;
    box-sizing: border-box;
}
 
.nf-checkout-fields .form-row-first {
    margin-right: 16px;
}
 
.nf-checkout-fields .form-row-last {
    margin-right: 0;
}
 
/* ======================
   RESPONSIVE
====================== */
@media (max-width: 1024px) {
    .nf-msc-wrapper {
        grid-template-columns: 1fr 340px;
        gap: 28px;
        padding: 28px 16px 60px;
    }
}
 
@media (max-width: 768px) {
    .nf-msc-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px 0 48px;
    }
 
    /* Mobilon az összesítő előre kerül */
    .nf-msc-right {
        position: static;
        order: -1;
    }
 
    /* Progress bar mobilon kicsit kisebb */
    .nf-msc-step-circle {
        width: 32px;
        height: 32px;
    }
 
    .nf-msc-step-label {
        font-size: 10px;
    }
 
    .nf-msc-step-num {
        font-size: 12px;
    }
 
    .nf-msc-progress {
        margin-bottom: 20px;
    }
 
    .nf-msc-btn-next {
        padding: 13px 20px;
        font-size: 14px;
    }
 
    .nf-msc-btn-back {
        padding: 12px 16px;
        font-size: 13px;
    }
 
    /* Félmezők mobilon teljes szélességre */
    .nf-checkout-fields .form-row-first,
    .nf-checkout-fields .form-row-last {
        width: 100%;
        display: block;
        margin-right: 0;
    }
 
    .nf-msc-review-value {
        font-size: 13px;
    }
 
    .nf-simplepay-banner {
        padding: 12px 14px;
        gap: 10px;
    }
 
    .nf-simplepay-logo {
        height: 22px;
    }
}
 
@media (max-width: 480px) {
    .nf-msc-progress-line {
        margin: 0 2px;
        margin-bottom: 26px;
    }
 
    .nf-msc-step-circle {
        width: 28px;
        height: 28px;
    }
 
    .nf-msc-step-label {
        font-size: 9px;
        letter-spacing: 0;
    }
 
    .nf-billing-same-wrap {
        padding: 16px;
    }
 
    .nf-msc-review-block {
        padding: 14px 16px;
    }
}

.nf-checkout-container {
    max-width: 100% !important;
    padding: 0 !important;
}
.nf-msc-form {
    width: 100%;
    box-sizing: border-box;
}

.nf-msc-step-content {
    width: 100%;
    box-sizing: border-box;
}

.nf-msc-step-content .nf-checkout-section {
    width: 100%;
    box-sizing: border-box;
}

.nf-checkout-fields {
    width: 100%;
    box-sizing: border-box;
}

/* Blocksy checkout form layout felülírás */
form.ct-woocommerce-checkout {
    display: block !important;
    grid-template-columns: unset !important;
    columns: unset !important;
}

form.ct-woocommerce-checkout > * {
    width: 100% !important;
    float: none !important;
}

.ct-woocommerce-checkout .nf-msc-step-content {
    display: none;
    width: 100% !important;
    float: none !important;
    column-span: all !important;
}

.ct-woocommerce-checkout .nf-msc-step-content.active {
    display: block !important;
    width: 100% !important;
}