:root {
    --bg: #f7f3ef;
    --bg-soft: #fbf8f5;
    --card: #ffffff;
    --ink: #171717;
    --muted: #6f6a66;
    --line: rgba(0,0,0,.09);
    --gold: #c8a36a;
    --gold-dark: #a87f42;
    --black: #101010;
    --rose: #ead8cf;
    --shadow: 0 18px 45px rgba(20, 20, 20, .09);
    --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--ink); background: var(--bg-soft); }
body.drawer-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.container-wide { width: min(1480px, calc(100% - 48px)); margin-inline: auto; }

.topbar { background: #111; color: #f8f1e8; font-size: 13px; }
.topbar-inner { height: 38px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 34px; }
.topbar i { color: var(--gold); margin-right: 7px; }

.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); transition: box-shadow .25s, transform .25s; }
.header.is-scrolled { box-shadow: 0 16px 45px rgba(0,0,0,.08); }
.header-inner { height: 78px; display: grid; grid-template-columns: 260px 1fr 430px; align-items: center; gap: 28px; }
.logo { display: flex; align-items: center; gap: 12px; font-family: "Playfair Display", serif; font-size: 28px; letter-spacing: .05em; text-transform: uppercase; }
.logo i { color: var(--gold); font-size: 34px; }
.logo small { color: var(--gold); font-size: 20px; letter-spacing: .03em; text-transform: none; }
.mobile-menu-btn { display: none; border: 0; background: transparent; font-size: 32px; justify-self: end; }
.nav { display: flex; align-items: center; justify-content: center; gap: 36px; font-weight: 600; font-size: 15px; }
.nav-item { position: relative; height: 78px; display: flex; align-items: center; gap: 7px; cursor: pointer; }
.nav-item::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold); transform: scaleX(0); transition: .22s; }
.nav-item:hover { color: var(--gold-dark); }
.nav-item:hover::after, .nav-item.is-active::after { transform: scaleX(1); }
.header-actions { display: flex; justify-content: flex-end; align-items: center; gap: 18px; }
.search { width: 245px; height: 42px; border: 1px solid var(--line); border-radius: 8px; display: flex; align-items: center; padding: 0 14px; background: #fff; transition: .2s; }
.search:focus-within { width: 295px; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(200,163,106,.14); }
.search input { border: 0; outline: 0; width: 100%; font-size: 13px; background: transparent; }
.icon-btn { position: relative; width: 38px; height: 38px; display: grid; place-items: center; font-size: 21px; transition: .2s; }
.icon-btn:hover { color: var(--gold-dark); transform: translateY(-2px); }
.badge { position: absolute; top: 2px; right: 0; min-width: 17px; height: 17px; border-radius: 999px; background: var(--gold); color: #fff; font-size: 10px; display: grid; place-items: center; }

.mega-panel { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 25px 55px rgba(0,0,0,.08); opacity: 0; transform: translateY(-12px); pointer-events: none; transition: opacity .22s, transform .22s; }
.mega-panel.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.mega-inner { display: grid; grid-template-columns: 1.2fr .75fr .75fr 350px; gap: 60px; padding: 34px 0 36px; }
.mega-col h3 { margin: 0 0 18px; font-size: 15px; text-transform: uppercase; letter-spacing: .08em; }
.mega-list { columns: 2; list-style: none; padding: 0; margin: 0; }
.mega-list.one { columns: 1; }
.mega-list li { break-inside: avoid; margin: 0 0 13px; color: #242424; }
.mega-list a { transition: .18s; }
.mega-list a:hover { color: var(--gold-dark); padding-left: 5px; }
.mega-feature { min-height: 230px; border-radius: var(--radius); padding: 28px; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(0deg, rgba(0,0,0,.72), rgba(0,0,0,.08)), url('https://images.unsplash.com/photo-1515886657613-9f3515b0c78f?auto=format&fit=crop&w=900&q=80') center/cover; overflow: hidden; }
.mega-feature span { color: var(--gold); text-transform: uppercase; font-size: 12px; font-weight: 800; letter-spacing: .14em; }
.mega-feature strong { font-family: "Playfair Display", serif; font-size: 28px; margin: 7px 0 14px; }
.mega-feature em { width: max-content; font-style: normal; border: 1px solid rgba(255,255,255,.7); padding: 9px 16px; border-radius: 6px; font-weight: 700; font-size: 12px; }

.mobile-drawer { position: fixed; inset: 0 auto 0 0; width: min(360px, 88vw); background: #fff; z-index: 80; transform: translateX(-105%); transition: .28s; padding: 28px; box-shadow: 20px 0 50px rgba(0,0,0,.18); display: flex; flex-direction: column; gap: 20px; }
.mobile-drawer.is-open { transform: translateX(0); }
.drawer-close { align-self: flex-end; border: 0; background: transparent; font-size: 24px; }
.drawer-logo { margin-bottom: 20px; }
.drawer-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 70; opacity: 0; pointer-events: none; transition: .25s; }
.drawer-backdrop.is-open { opacity: 1; pointer-events: auto; }

.hero { min-height: 520px; background: linear-gradient(90deg, rgba(247,243,239,.96) 0%, rgba(247,243,239,.78) 44%, rgba(247,243,239,.12) 70%), url('https://diamondruha.hu/assets/img/banner-3.jpg') center right/cover; display: flex; align-items: center; }
.hero-content { width: min(640px, 100%); padding: 72px 0; }
.kicker { color: var(--muted); text-transform: uppercase; letter-spacing: .14em; font-size: 13px; margin-bottom: 18px; }
h1 { font-family: "Playfair Display", serif; font-size: clamp(42px, 5vw, 76px); line-height: 1.02; margin: 0 0 20px; }
.hero h1 span { color: var(--gold-dark); display: block; font-style: italic; font-weight: 500; }
.hero p { max-width: 520px; color: #4d4945; font-size: 17px; line-height: 1.7; margin: 0 0 28px; }
.btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn { min-width: 145px; height: 48px; border-radius: 7px; display: inline-flex; align-items: center; justify-content: center; padding: 0 22px; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; border: 1px solid #111; transition: .2s; }
.btn:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.btn.black { background: #111; color: #fff; }
.btn.gold { background: var(--gold); color: #fff; border-color: var(--gold); }
.btn.outline { background: transparent; color: #111; }

.section { padding: 34px 0; }
.category-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.cat-card { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 10px 25px rgba(0,0,0,.04); transition: .25s; }
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.cat-card:hover .cat-img { transform: scale(1.06); }
.cat-img { height: 150px; background: var(--rose) center/cover; transition: .35s; }
.img-1 { background-image:url('https://images.unsplash.com/photo-1539109136881-3be0616acf4b?auto=format&fit=crop&w=700&q=80'); }
.img-2 { background-image:url('https://images.unsplash.com/photo-1543163521-1bf539c55dd2?auto=format&fit=crop&w=700&q=80'); }
.img-3 { background-image:url('https://images.unsplash.com/photo-1516762689617-e1cffcef479d?auto=format&fit=crop&w=700&q=80'); }
.img-4 { background-image:url('https://images.unsplash.com/photo-1601924921557-45e6dea0a157?auto=format&fit=crop&w=700&q=80'); }
.img-5 { background-image:url('https://images.unsplash.com/photo-1516257984-b1b4d707412e?auto=format&fit=crop&w=700&q=80'); }
.img-6 { background-image:url('https://images.unsplash.com/photo-1515886657613-9f3515b0c78f?auto=format&fit=crop&w=900&q=80'); }
.cat-body { position: relative; text-align: center; padding: 34px 12px 18px; }
.cat-icon { position: absolute; top: -24px; left: 50%; transform: translateX(-50%); width: 50px; height: 50px; border-radius: 999px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); color: var(--gold-dark); font-size: 22px; }
.cat-body h3 { margin: 0 0 7px; font-size: 14px; text-transform: uppercase; }
.cat-body p { margin: 0; color: var(--muted); font-size: 12px; }
.section-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; gap: 20px; }
.section-title { font-size: 20px; text-transform: uppercase; letter-spacing: .08em; margin: 0; }
.section-title span { color: var(--gold-dark); }
.all-link { color: var(--gold-dark); font-weight: 700; font-size: 13px; }
.slider-controls { display: flex; align-items: center; gap: 10px; }
.slider-controls button { width: 38px; height: 38px; border: 1px solid var(--line); background: #fff; border-radius: 999px; cursor: pointer; transition: .2s; }
.slider-controls button:hover { background: var(--black); color: #fff; }
.product-slider { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 112px) / 8); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; padding-bottom: 8px; }
.product-slider::-webkit-scrollbar { display: none; }
.product-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; position: relative; scroll-snap-align: start; transition: .25s; }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.product-card:hover .product-img { transform: scale(1.04); }
.product-img { height: 235px; background: #f0ece8 center/cover; transition: .35s; }
.product-1 { background-image:url('https://images.unsplash.com/photo-1539008835657-9e8e9680c956?auto=format&fit=crop&w=500&q=80'); }
.product-2 { background-image:url('https://images.unsplash.com/photo-1543163521-1bf539c55dd2?auto=format&fit=crop&w=500&q=80'); }
.product-3 { background-image:url('https://images.unsplash.com/photo-1516762689617-e1cffcef479d?auto=format&fit=crop&w=500&q=80'); }
.product-4 { background-image:url('https://images.unsplash.com/photo-1544441893-675973e31985?auto=format&fit=crop&w=500&q=80'); }
.product-5 { background-image:url('https://images.unsplash.com/photo-1551232864-3f0890e580d9?auto=format&fit=crop&w=500&q=80'); }
.product-6 { background-image:url('https://images.unsplash.com/photo-1542291026-7eec264c27ff?auto=format&fit=crop&w=500&q=80'); }
.product-7 { background-image:url('https://images.unsplash.com/photo-1503342217505-b0a15ec3261c?auto=format&fit=crop&w=500&q=80'); }
.product-8 { background-image:url('https://images.unsplash.com/photo-1529139574466-a303027c1d8b?auto=format&fit=crop&w=500&q=80'); }
.label-new { position: absolute; left: 10px; top: 10px; background: var(--gold); color: #fff; border-radius: 5px; padding: 4px 8px; font-size: 11px; font-weight: 700; z-index: 2; }
.wish { position: absolute; right: 10px; top: 10px; width: 32px; height: 32px; background: rgba(255,255,255,.9); border-radius: 999px; display: grid; place-items: center; z-index: 2; transition: .2s; }
.wish:hover { color: #fff; background: var(--gold); }
.product-info { padding: 13px; text-align: center; }
.product-name { min-height: 40px; font-size: 13px; line-height: 1.45; margin-bottom: 7px; }
.price { font-weight: 800; margin-bottom: 10px; }
.cart-btn { height: 34px; border: 0; width: 100%; background: #111; color: #fff; border-radius: 5px; font-weight: 700; cursor: pointer; transition: .2s; }
.cart-btn:hover { background: var(--gold-dark); }
.sizes { color: var(--muted); font-size: 11px; margin-top: 9px; letter-spacing: .18em; }
.promo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.promo { min-height: 180px; border-radius: 12px; overflow: hidden; padding: 34px; display: flex; flex-direction: column; justify-content: center; color: #fff; background: linear-gradient(90deg, rgba(0,0,0,.78), rgba(0,0,0,.12)), var(--img) center/cover; transition: .25s; }
.promo:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.promo-1 { --img:url('https://images.unsplash.com/photo-1515886657613-9f3515b0c78f?auto=format&fit=crop&w=900&q=80'); }
.promo-2 { --img:url('https://images.unsplash.com/photo-1516762689617-e1cffcef479d?auto=format&fit=crop&w=900&q=80'); }
.promo-3 { --img:url('https://images.unsplash.com/photo-1517841905240-472988babdf9?auto=format&fit=crop&w=900&q=80'); }
.promo h3 { font-family: "Playfair Display", serif; color: var(--gold); font-size: 32px; text-transform: uppercase; margin: 0 0 8px; }
.promo p { margin: 0 0 18px; color: rgba(255,255,255,.9); }
.small-btn { width: max-content; border: 1px solid rgba(255,255,255,.75); color: #fff; padding: 9px 18px; border-radius: 5px; font-size: 12px; font-weight: 700; }
.brand-row { display: grid; grid-template-columns: repeat(7, 1fr); align-items: center; text-align: center; gap: 14px; color: #202020; font-family: "Playfair Display", serif; font-size: 24px; }
.brand { padding: 22px 8px; background: #fff; border-radius: 10px; border: 1px solid var(--line); transition: .2s; }
.brand:hover { color: var(--gold-dark); transform: translateY(-3px); }
.benefits { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.benefit-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.benefit { display: flex; align-items: center; gap: 14px; padding: 26px 0; }
.benefit i { color: var(--gold); font-size: 27px; }
.benefit strong { display: block; font-size: 13px; text-transform: uppercase; }
.benefit span { color: var(--muted); font-size: 12px; }
.newsletter { background: linear-gradient(90deg, #121212, #1e1a17); color: #fff; padding: 38px 0; }
.newsletter-inner { display: grid; grid-template-columns: 1fr 520px; gap: 40px; align-items: center; }
.newsletter h3 { margin: 0 0 8px; font-size: 23px; text-transform: uppercase; letter-spacing: .08em; }
.newsletter p { margin: 0; color: rgba(255,255,255,.74); }
.newsletter-form { display: flex; height: 48px; }
.newsletter-form input { flex: 1; border: 1px solid rgba(255,255,255,.2); background: transparent; color: #fff; padding: 0 16px; outline: 0; border-radius: 7px 0 0 7px; }
.newsletter-form button { width: 170px; border: 0; background: var(--gold); color: #fff; font-weight: 800; border-radius: 0 7px 7px 0; }
.footer { background: #0e0e0e; color: #fff; padding: 46px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr repeat(4, 1fr); gap: 42px; }
.footer h4 { color: #fff; text-transform: uppercase; font-size: 14px; margin: 0 0 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { color: rgba(255,255,255,.68); margin-bottom: 10px; font-size: 13px; }
.footer .logo { color: #fff; margin-bottom: 22px; }
.socials { display: flex; gap: 12px; color: var(--gold); font-size: 20px; }
.copyright { margin-top: 38px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.55); font-size: 12px; display: flex; justify-content: space-between; gap: 20px; }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1200px) {
    .header-inner { grid-template-columns: 220px 1fr auto; }
    .search { display: none; }
    .product-slider { grid-auto-columns: calc((100% - 48px) / 4); }
    .category-grid { grid-template-columns: repeat(3, 1fr); }
    .mega-inner { grid-template-columns: repeat(3, 1fr); }
    .mega-feature { display: none; }
}
@media (max-width: 820px) {
    .container-wide { width: min(100% - 28px, 1480px); }
    .topbar-right, .nav, .header-actions, .mega-panel { display: none; }
    .mobile-menu-btn { display: block; }
    .header-inner { grid-template-columns: 1fr auto; height: 68px; }
    .logo { font-size: 22px; }
    .hero { min-height: auto; background-position: center; }
    .hero-content { padding: 56px 0; }
    .category-grid, .promo-grid, .benefit-row, .footer-grid, .newsletter-inner { grid-template-columns: 1fr; }
    .product-slider { grid-auto-columns: 78%; }
    .brand-row { grid-template-columns: repeat(2, 1fr); }
    .newsletter-form { flex-direction: column; height: auto; gap: 10px; }
    .newsletter-form input, .newsletter-form button { width: 100%; height: 48px; border-radius: 7px; }
    .copyright { flex-direction: column; }
}

.nav-item.has-dropdown {
    position: relative;
}

.small-dropdown {
    position: absolute;
    top: calc(100% + 18px);
    left: 0;
    min-width: 230px;
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    box-shadow: 0 18px 45px rgba(0,0,0,.10);
    padding: 14px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: .2s ease;
    z-index: 50;
}

.nav-item.has-dropdown:hover .small-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.small-dropdown a {
    display: block;
    padding: 9px 18px;
    color: #222;
    font-size: 15px;
    text-decoration: none;
}

.small-dropdown a:hover {
    background: #f7f2ec;
    color: #c49a5a;
}


/* ==========================================================================
   DIAMONDRUHA HTML MODERNIZÁCIÓ & EXTRA ILLESZTÉSEK (HTML MÓDOSÍTÁS NÉLKÜL)
   ========================================================================== */

/* 1. Alap konténer méretezése az új dizájnhoz igazítva */
.container {
    width: min(1480px, calc(100% - 48px));
    margin-inline: auto;
    padding-left: 15px;
    padding-right: 15px;
}

/* 2. Grid elrendezés helyreállítása (Bootstrap osztályok modernizációja) */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -12px;
    margin-right: -12px;
}

[class*="col-"] {
    position: relative;
    width: 100%;
    padding-left: 12px;
    padding-right: 12px;
    box-sizing: border-box;
}

.col-xs-12 { flex: 0 0 100%; max-width: 100%; }
.col-xs-6  { flex: 0 0 50%; max-width: 50%; }

@media (min-width: 768px) {
    .col-sm-12 { flex: 0 0 100%; max-width: 100%; }
    .col-sm-6 { flex: 0 0 50%; max-width: 50%; }
    .col-sm-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
    .col-sm-3 { flex: 0 0 25%; max-width: 25%; } /* Támogatás: 4 termék egy sorban tableten */
}

@media (min-width: 992px) {
    .col-md-12 { flex: 0 0 100%; max-width: 100%; }
    .col-md-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
    .col-md-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
    .col-md-9 { flex: 0 0 75%; max-width: 75%; }
    .col-md-8 { flex: 0 0 66.666667%; max-width: 66.666667%; } /* Támogatás: Főoldali / Listázó főtermék oszlop */
    .col-md-7 { flex: 0 0 58.333333%; max-width: 58.333333%; } /* Támogatás: Termék részletek jobb oldal */
    .col-md-6 { flex: 0 0 50%; max-width: 50%; }
    .col-md-5 { flex: 0 0 41.666667%; max-width: 41.666667%; } /* Támogatás: Termék részletek bal oldal (galéria) */
    .col-md-4 { flex: 0 0 33.333333%; max-width: 33.333333%; } /* Támogatás: Bal oldali szűrősáv asztali gépen */
    .col-md-3 { flex: 0 0 25%; max-width: 25%; }
    .col-md-2 { flex: 0 0 16.666667%; max-width: 16.666667%; } /* Támogatás: 6 termék egy sorban asztali nézetben */
    .col-md-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
}

@media (min-width: 1200px) {
    .col-lg-12 { flex: 0 0 100%; max-width: 100%; }
    .col-lg-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
    .col-lg-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
    .col-lg-9 { flex: 0 0 75%; max-width: 75%; } /* Támogatás: Főoldali / Listázó főtermék oszlop nagyképernyőn */
    .col-lg-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
    .col-lg-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
    .col-lg-6 { flex: 0 0 50%; max-width: 50%; }
    .col-lg-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
    .col-lg-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
    .col-lg-3 { flex: 0 0 25%; max-width: 25%; } /* Támogatás: Bal oldali szűrősáv nagyképernyőn */
    .col-lg-2 { flex: 0 0 16.666667%; max-width: 16.666667%; } /* Támogatás: 6 termék egy sorban nagyképernyőn */
    .col-lg-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }

    /* XL (Extra Large - 1400px+) támogatás az új sablonhoz */
    .col-xl-9 { flex: 0 0 75%; max-width: 75%; }
    .col-xl-3 { flex: 0 0 25%; max-width: 25%; }
}

/* 3. Térközök és rejtések kezelése */
.tol-25 {
    height: 25px;
    width: 100%;
}

@media (max-width: 820px) {
    .container {
        width: min(100% - 28px, 1480px);
        padding-left: 10px;
        padding-right: 10px;
    }
    .hidden-mobile {
        display: none !important;
    }
}

@media (min-width: 821px) {
    .hide-desktop {
        display: none !important;
    }
}

/* 4. Szekció címek modernizálása (.block-title-colored) */
.block-title, .block-title-colored {
    font-family: "Playfair Display", serif;
    font-size: clamp(24px, 3.5vw, 36px);
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin: 45px 0 25px 0;
    text-align: center;
    color: var(--ink);
    position: relative;
    width: 100%;
}

.block-title-colored a, .block-title-colored {
    color: var(--gold-dark);
    transition: color .2s;
    text-decoration: none;
}

.block-title-colored a:hover {
    color: var(--gold);
}

.block-title-colored::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: var(--gold);
    margin: 12px auto 0;
    border-radius: 2px;
}

/* 5. Modern Termék kártya (.product & .product_inside) */
.product {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    margin-bottom: 24px;
    height: calc(100% - 24px); /* Azonos magasság flexbox esetén */
    display: flex;
    flex-direction: column;
}

.product:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.product_inside {
    padding: 16px;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.product .image-box {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: calc(var(--radius) - 6px);
    background: var(--bg);
    margin-bottom: 16px;
    text-align: center;
}

.product .image-box a {
    display: block;
    width: 100%;
    aspect-ratio: 3/4;
    position: relative;
}

.product .image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product:hover .image-box img {
    transform: scale(1.05);
}

/* Akciós plecsni (.badge-akcios2) */
.badge-akcios2 {
    position: absolute;
    left: 12px;
    top: 12px;
    background: var(--gold);
    color: #fff;
    border-radius: 6px;
    padding: 5px 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(200, 163, 106, 0.3);
}

/* Termék címek (.title) */
.product h2.title {
    font-size: 14px;
    line-height: 1.5;
    font-weight: 600;
    margin: 0 0 10px;
    min-height: 42px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: center;
}

.product h2.title a {
    color: var(--ink);
    transition: color 0.2s;
    text-decoration: none;
}

.product h2.title a:hover {
    color: var(--gold-dark);
}

/* Árak formázása (.price.view) */
.product .price.view {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--ink);
    line-height: 1.4;
    text-align: center;
}

.product .price.view .old-price {
    font-size: 12px;
    color: var(--muted);
    text-decoration: line-through;
    margin-right: 6px;
}

.product .price.view .new-price {
    font-weight: 800;
    color: var(--ink);
}

/* Termék leírás */
.product .description {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.5;
    margin-bottom: 14px;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Gombok és Hover elemek (.btn-product) */
.product_inside_hover {
    margin-top: auto;
    width: 100%;
}

.btn.btn-product {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 42px;
    border-radius: 8px;
    background: var(--ink);
    color: #fff !important;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 1px solid var(--ink);
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn.btn-product:hover {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(168, 127, 66, 0.2);
}

.btn.btn-product span.icon {
    margin-right: 8px;
    font-size: 16px;
}

/* ==========================================================================
   KIEMELT MÁRKÁK SPECIÁLIS IGAZÍTÁSA (Kisebb dobozok & logó optimalizálás)
   ========================================================================== */
div.product:has(a[href*="/markak/"]),
div.product:has(img[src*="/marka/"]) {
    height: auto !important;
    min-height: unset !important;
    aspect-ratio: 16 / 10;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

div.product:has(a[href*="/markak/"]) .product_inside,
div.product:has(img[src*="/marka/"]) .product_inside {
    padding: 0 !important;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

div.product:has(a[href*="/markak/"]) .image-box,
div.product:has(img[src*="/marka/"]) .image-box {
    margin: 0 !important;
    background: transparent !important;
    border-radius: 0 !important;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

div.product:has(a[href*="/markak/"]) .image-box a,
div.product:has(img[src*="/marka/"]) .image-box a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: unset !important; /* Felülírjuk az alapértelmezett termék 3/4-es arányát */
}

div.product:has(a[href*="/markak/"]) .image-box img,
div.product:has(img[src*="/marka/"]) .image-box img {
    max-width: 90% !important;
    max-height: 90% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important; /* Torzításmentes beillesztés a keretbe */
    transition: transform 0.3s ease;
}

div.product:has(a[href*="/markak/"]):hover img,
div.product:has(img[src*="/marka/"]):hover img {
    transform: scale(1.05);
}

/* ==========================================================================
   BLOG KÁRTYÁK SPECIÁLIS IGAZÍTÁSA (Teljesen látszódó blogképek)
   ========================================================================== */
div.product:has(a[href*="/blog/"]),
div.product:has(.icon-book) {
    height: calc(100% - 24px);
    display: flex;
    flex-direction: column;
}

div.product:has(a[href*="/blog/"]) .image-box,
div.product:has(.icon-book) .image-box {
    aspect-ratio: 16 / 10 !important;
    overflow: hidden;
    background: var(--bg-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: calc(var(--radius) - 6px);
    margin-bottom: 16px;
}

div.product:has(a[href*="/blog/"]) .image-box a,
div.product:has(.icon-book) .image-box a {
    display: flex !important;
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: unset !important;
}

div.product:has(a[href*="/blog/"]) .image-box img,
div.product:has(.icon-book) .image-box img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important; /* Torzítás- és vágásmentes beillesztés */
    background: var(--bg-soft);
}

/* 6. Főoldali kiemelt menüdobozok (.news-container & .news-box) */
.news-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    width: 100%;
    margin-bottom: 30px;
}

.news-box {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 1 / 1;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.news-box .image, .news-box .image a {
    display: block;
    width: 100%;
    height: 100%;
}

.news-box .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-box:hover .image img {
    transform: scale(1.06);
}

.news-box .info {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(16, 16, 16, 0.75) 0%, rgba(16, 16, 16, 0.1) 60%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 20px;
}

.news-box .info button {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.news-box .info button a {
    color: var(--ink);
    text-decoration: none;
}

.news-box .info button:hover {
    background: var(--gold);
}

.news-box .info button:hover a {
    color: #fff;
}

/* 7. Mobil kategóriamenü gombjai (.hide-desktop .btn-lg) */
.hide-desktop .btn-lg {
    display: block;
    width: 100%;
    padding: 14px 20px;
    background: var(--card);
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 10px;
    text-align: center;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
    transition: all 0.2s;
    text-decoration: none;
}

.hide-desktop .btn-lg:hover {
    background: var(--gold);
    color: #fff;
    border-color: var(--gold);
}

/* 8. Kiemelt kategóriák rács (.subcategory-item) */
.subcategory-listing {
    display: flex;
    flex-wrap: wrap;
    margin-left: -12px;
    margin-right: -12px;
    width: calc(100% + 24px);
}

.subcategory-item.zoom-in {
    display: block;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 24px;
}

.subcategory-item.zoom-in:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.subcategory-item.zoom-in span {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.subcategory-item.zoom-in img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.subcategory-item.zoom-in:hover img {
    transform: scale(1.05);
}

/* 9. Hírek és Információk (.news-box2) */
.news-box2 {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: transform 0.25s, box-shadow 0.25s;
    height: calc(100% - 24px);
    display: flex;
    flex-direction: column;
}

.news-box2:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.news-box2 .image {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--bg);
}

.news-box2 .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-box2:hover .image img {
    transform: scale(1.05);
}

.news-box2 .info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-box2 .info h2 {
    font-family: "Playfair Display", serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 10px;
    color: var(--ink);
}

.news-box2 .info p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.6;
    margin: 0 0 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-box2 .info button {
    margin-top: auto;
    background: var(--ink);
    border: 1px solid var(--ink);
    border-radius: 8px;
    height: 40px;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.news-box2 .info button a {
    color: #fff;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.news-box2 .info button:hover {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
    transform: translateY(-2px);
}

/* 10. Google Értékelések */
.star-title {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 6px;
    color: var(--ink);
    text-align: center;
}

.star-view {
    margin-bottom: 12px;
    display: flex;
    gap: 2px;
    justify-content: center;
}

.star-view i {
    font-size: 14px;
    color: var(--gold) !important;
}

.stardesc {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.5;
    margin-bottom: 14px;
    text-align: center;
    min-height: 60px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.review-date {
    font-size: 11px;
    color: var(--muted);
    text-align: right;
    margin-top: auto;
}

/* 11. Mobil Horizontális Karusszel - Szigorú 1-elemű elrendezés (belógások kizárása) */
@media (max-width: 820px) {
    .carousel-products-mobile {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        gap: 0px !important; /* Teljesen kivesszük a belső távolságot az oszlopok közül */
        padding-bottom: 15px;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
    }

    .carousel-products-mobile::-webkit-scrollbar {
        display: none;
    }

    /* Minden egyes elem pontosan 100% széles, így kizárt bármilyen szomszédos belógás */
    .carousel-products-mobile [class*="col-"] {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        scroll-snap-align: start !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .subcategory-listing.carousel-products-mobile {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        flex-wrap: nowrap !important;
    }
}

/* ==========================================================================
   MOBIL TOPBAR OPTIMALIZÁLÁS (Elcsúszások és törések megszüntetése)
   ========================================================================== */
@media (max-width: 820px) {
    .topbar-inner {
        height: auto;
        min-height: 38px;
        padding: 8px 0;
        justify-content: center;
    }
    .topbar-left {
        gap: 12px;
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
        font-size: 12px;
        width: 100%;
    }
}

@media (max-width: 600px) {
    .topbar-inner {
        height: 38px;
        padding: 0;
    }
    .topbar-left {
        gap: 0;
    }
    /* Okostelefonokon elrejtjük a 2. és 3. üzenetet, hogy ne csússzon szét a dizájn */
    .topbar-left span {
        display: none;
    }
    /* Csak az első, legfontosabb üzenet marad látható, tökéletesen középre igazítva */
    .topbar-left span:first-child {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 11px;
    }
}


/* ==========================================================================
   BEJELENTKEZÉS OLDAL (LOGIN) IGAZÍTÁSA & MODERNIZÁLÁSA
   ========================================================================== */

/* 1. Breadcrumb (Morzsamenü) */
.breadcrumb {
    background: var(--bg-soft);
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
}

.breadcrumb ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--muted);
}

.breadcrumb li a {
    color: var(--muted);
    transition: color 0.18s ease;
    text-decoration: none;
}

.breadcrumb li a:hover {
    color: var(--gold-dark);
}

.breadcrumb li:not(:last-child)::after {
    content: "/";
    margin-left: 8px;
    color: rgba(0, 0, 0, 0.15);
}

/* 2. Login doboz külső elrendezése (Kártya elrendezés) */
.login-form-box {
    max-width: 500px;
    margin: 60px auto;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 0px;
    box-shadow: var(--shadow);
    box-sizing: border-box;
}

@media (max-width: 576px) {
    .login-form-box {
        margin: 0px 0px;
        padding: 0px;
    }
}

/* 3. Címek és bevezető szövegek */
.login-form-box h2 {
    font-family: "Playfair Display", serif;
    font-size: 28px;
    font-weight: 600;
    text-align: center;
    color: var(--ink);
    margin: 0 0 12px 0;
    letter-spacing: 0.08em;
}

.login-form-box h2::after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background: var(--gold);
    margin: 12px auto 0;
    border-radius: 2px;
}

.login-form-box p {
    text-align: center;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.5;
    margin: 0 0 8px 0;
}

/* Az 5%-os kedvezmény kiemelése */
.login-form-box p:last-of-type {
    color: var(--gold-dark);
    font-weight: 700;
    margin-bottom: 30px;
}

/* 4. Beviteli mező csoportok (.input-group) */
.login-form-box .form-group {
    margin-bottom: 20px;
}

.login-form-box .input-group {
    display: flex;
    align-items: stretch;
    width: 100%;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.login-form-box .input-group:focus-within {
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(200, 163, 106, 0.15);
}

/* Ikon hordozó mezők (.input-group-addon) */
.login-form-box .input-group-addon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    background: var(--bg-soft);
    color: var(--muted);
    border-right: 1px solid var(--line);
    font-size: 16px;
    min-width: 48px;
    box-sizing: border-box;
}

/* Jelszó láthatósági ikon (fa-eye) igazítása */
.login-form-box .input-group-addon:last-child {
    border-right: none;
    border-left: 1px solid var(--line);
    cursor: pointer;
    transition: color 0.18s;
}

.login-form-box .input-group-addon:last-child:hover {
    color: var(--gold-dark);
}

/* Mezők belső formázása (form-control) */
.login-form-box .form-control {
    flex: 1;
    height: 48px;
    border: none !important;
    box-shadow: none !important;
    outline: none;
    padding: 0 16px;
    font-size: 14px;
    color: var(--ink);
    background: transparent;
    box-sizing: border-box;
    width: 100%;
}

.login-form-box .form-control::placeholder {
    color: #a8a4a0;
}

/* 5. Gomb és linkek vízszintes elrendezésének igazítása */
@media (min-width: 992px) {
    .login-form-box form .row {
        display: flex !important;
        align-items: center !important;
        width: 100%;
        margin: 0 !important;
    }

    .login-form-box form .row > [class*="col-"] {
        padding: 0 !important;
    }

    /* Gomb oszlopa */
    .login-form-box form .row > [class*="col-"]:first-child {
        flex: 0 0 auto !important;
        width: auto !important;
    }

    /* Linkek oszlopa */
    .login-form-box form .row > [class*="col-"]:last-child {
        flex: 1 !important;
        width: auto !important;
    }

    .login-form-box #sign_in_submit {
        padding: 0 32px;
        width: auto !important;
    }

    .login-form-box .additional-links {
        justify-content: flex-end;
        min-height: unset;
    }
}

@media (max-width: 991px) {
    .login-form-box #sign_in_submit {
        width: 100% !important;
    }

    .login-form-box .additional-links {
        justify-content: center;
        margin-top: 15px;
    }
}

/* 6. Bejelentkezés Gomb (#sign_in_submit) */
.login-form-box #sign_in_submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 48px;
    background: var(--ink);
    color: #fff;
    border: 1px solid var(--ink);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: none;
}

.login-form-box #sign_in_submit:hover {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(168, 127, 66, 0.2);
}

/* 7. Kiegészítő linkek (.additional-links) */
.login-form-box .additional-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    height: 100%;
    min-height: 48px;
}

.login-form-box .additional-links li a {
    color: var(--gold-dark);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.18s ease;
}

.login-form-box .additional-links li a:hover {
    color: var(--gold);
    text-decoration: underline;
}

/* 8. Hibajelzések elegáns, modern formázása */
.login-form-box #errors {
    background: #fdf2f2 !important;
    border: 1px solid #f8b4b4 !important;
    border-radius: 8px !important;
    padding: 16px !important;
    margin-bottom: 24px !important;
    color: #9b1c1c !important;
    text-align: center;
}

.login-form-box #errors h1 {
    font-size: 16px !important;
    font-weight: 700 !important;
    margin: 0 0 6px 0 !important;
    color: #9b1c1c !important;
    text-transform: uppercase;
    line-height: 1.2;
}

.login-form-box #errors p {
    font-size: 13px !important;
    color: #c92a2a !important;
    margin: 0 !important;
}


/* ==========================================================================
   REGISZTRÁCIÓ OLDAL SPECIFIKUS IGAZÍTÁSOK
   ========================================================================== */

/* Regisztrációs űrlap mezők magassága és kerekítése */
.login-form-box select.form-control {
    width: 100%;
    height: 48px;
    border: none !important;
    background: transparent !important;
    color: var(--ink);
    padding: 0 12px;
    font-size: 14px;
    outline: none;
    box-shadow: none !important;
    cursor: pointer;
}

/* Telefonszám beviteli mezők finomhangolása egymás mellett */
.phone-input-row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -6px !important;
    margin-right: -6px !important;
    width: calc(100% + 12px) !important;
}

.phone-input-row > [class*="col-"] {
    padding-left: 6px !important;
    padding-right: 6px !important;
}

/* Adatvédelem és ÁSZF checkbox blokk modernizálása */
.login-form-box .checkbox-wrapper {
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
    display: block !important;
    margin-bottom: 25px;
}

.login-form-box .copych {
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px;
    font-size: 13px !important;
    line-height: 1.5;
    color: var(--muted);
    cursor: pointer;
    text-align: left;
    user-select: none;
}

.login-form-box .copych input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--gold);
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 2px;
}

/* A piros inline linkek felülírása elegáns arany márkaszínre */
.login-form-box .copych a {
    color: var(--gold-dark) !important; /* Felülírja az inline #BF0303 pirosat */
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.18s ease;
}

.login-form-box .copych a:hover {
    color: var(--gold) !important;
    text-decoration: underline;
}

/* Regisztrációs küldő gomb (#reg_submit) */
.login-form-box #reg_submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto !important;
    min-width: 220px;
    height: 48px;
    background: var(--ink);
    color: #fff;
    border: 1px solid var(--ink);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: none;
    padding: 0 34px;
}

.login-form-box #reg_submit:hover {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(168, 127, 66, 0.2);
}

@media (max-width: 991px) {
    .login-form-box #reg_submit {
        width: 100% !important;
    }
}


/* ==========================================================================
   TERMÉK LISTÁZÓ (ÚJ TERMÉKEK / KATEGÓRIÁK) OLDAL SZEKCIÓ
   ========================================================================== */

/* 1. Kategória cím és termékszám */
.number-of-products {
    font-size: 13px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.col-md-8 h1.block-title,
.col-lg-9 h1.block-title,
.col-xl-9 h1.block-title {
    font-size: clamp(24px, 3.5vw, 32px) !important;
    text-align: left !important;
    margin: 0 0 30px 0 !important;
}

.col-md-8 h1.block-title::after,
.col-lg-9 h1.block-title::after,
.col-xl-9 h1.block-title::after {
    margin-left: 0 !important; /* A dekoratív vonal is balra indul */
}

/* 2. Szűrés és Rendezés sáv (.filters-row) */
.filters-row {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 12px 20px;
    margin-bottom: 30px !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
}

.filters-row .pull-left,
.filters-row .pull-right {
    display: flex;
    align-items: center;
    gap: 16px;
    float: none !important; /* Elavult float felülírása flexboxra */
}

.filters-row_select {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filters-row_select label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ink);
    margin: 0;
}

/* Rendezés legördülő menü (select) */
.filters-row_select select.form-control {
    height: 38px;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 0 12px;
    font-size: 13px;
    color: var(--ink);
    background: #fff;
    outline: none;
    cursor: pointer;
    min-width: 180px;
    transition: border-color 0.2s ease;
}

.filters-row_select select.form-control:focus {
    border-color: var(--gold);
}

/* Szűrő gomb mobilon (.btn-filter) */
.btn-filter {
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--ink);
    color: #fff !important;
    border: 1px solid var(--ink);
    border-radius: 6px;
    padding: 0 16px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-filter:hover {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
}

/* 3. Listázó termékkártyák (.product-s) modernizálása */
.product-s {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    height: calc(100% - 24px);
    display: flex;
    flex-direction: column;
    margin-bottom: 24px;
}

.product-listing > a {
    text-decoration: none !important;
}

.product-s:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.product_inside-s {
    padding: 16px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Listázó képdoboz (.image-box-s) */
.image-box-s {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: calc(var(--radius) - 6px);
    background: var(--bg);
    margin-bottom: 16px;
    text-align: center;
    aspect-ratio: 3 / 4;
}

.image-box-s img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-s:hover .image-box-s img {
    transform: scale(1.05);
}

/* "Több típus" jelölés (.ribbon) */
.product_inside-s .ribbon {
    position: absolute;
    right: 12px;
    top: 12px;
    background: rgba(17, 17, 17, 0.85);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 5px 10px;
    border-radius: 6px;
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Információs sáv (.pr-info-s) */
.pr-info-s {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.title-s {
    font-size: 14px;
    line-height: 1.5;
    font-weight: 600;
    margin: 0 0 10px;
    min-height: 42px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: center;
    color: var(--ink);
}

.product-s:hover .title-s {
    color: var(--gold-dark);
}

/* Árak (.price-s) */
.price-s.view {
    font-size: 15px;
    font-weight: 700;
    margin-top: auto;
    margin-bottom: 6px;
    color: var(--ink);
    line-height: 1.4;
    text-align: center;
}

.price-s .old-price-s {
    font-size: 12px;
    color: var(--muted);
    text-decoration: line-through;
    margin-right: 6px;
}

.price-s .new-price-s {
    font-weight: 800;
    color: var(--ink);
}

/* Mobil szűrősáv felső elrendezése és bezáró gombja */
.slide-column-close {
    background: var(--ink);
    padding: 14px 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    display: none;
}

.slide-column-close a {
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.slide-column-close a:hover {
    color: var(--gold);
}

@media (max-width: 991px) {
    .slide-column-close {
        display: block;
    }
}

/* Mobil grid távolságok listázó oldalon */
@media (max-width: 820px) {
    .product-listing.row {
        margin-left: -6px !important;
        margin-right: -6px !important;
    }
    .product-listing .npad {
        padding-left: 6px !important;
        padding-right: 6px !important;
    }
}


/* ==========================================================================
   OLDALSÁV (SIDEBAR / LEFT COLUMN) MODERNIZÁLÁSA
   ========================================================================= */

/* 1. Az oldalsáv elrendezése és a blokkok kártyásítása */
.aside.leftColumn {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.collapse-block {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    box-sizing: border-box;
}

/* Blokkok fejlécének stílusa */
.collapse-block_title {
    font-family: "Playfair Display", serif;
    font-size: 16px !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink);
    margin: 0 0 16px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--gold);
    display: inline-block;
    width: 100%;
}

/* 2. Harmonika Kategóriamenü (#accordian) */
#accordian ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#accordian > ul > li {
    border-bottom: 1px solid var(--line);
    padding: 12px 0;
}

#accordian > ul > li:last-child {
    border-bottom: none;
}

#accordian h3 {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
}

#accordian h3 a {
    color: var(--ink);
    text-decoration: none;
    transition: color 0.18s ease;
}

#accordian h3 a:hover,
#accordian li.active > h3 a {
    color: var(--gold-dark);
}

/* Almenük (másodlagos szintű kategóriák) */
#accordian ul ul {
    padding-left: 14px;
    margin-top: 10px;
}

#accordian ul ul li {
    margin-bottom: 8px;
    font-size: 13px;
}

#accordian ul ul li a {
    color: var(--muted);
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

#accordian ul ul li a:hover,
#accordian li.active > a,
#accordian a.kat_kiemelt {
    color: var(--gold-dark) !important;
    font-weight: 600;
}

/* Nyilak és ikonok a kategóriákban */
#accordian .icon-keyboard_arrow_right {
    font-size: 14px;
    color: var(--gold);
}

#accordian ul ul {
    display: none;
}

/*
   Csak a kezdetben aktív kategóriaágak jelennek meg betöltéskor.
   Itt NEM használunk !important jelölést, hogy a jQuery slideToggle
   gördülékenyen felülírhassa és becsúszva elrejthesse őket!
*/
#accordian li.active > ul,
#accordian li.selected_menu > ul {
    display: block;
}

/* 3. Egyszerű listák (Egyéb kategóriák, kiemelt márkák) */
.list-simple {
    list-style: none;
    padding: 0;
    margin: 0;
}

.list-simple li {
    padding: 8px 0;
    border-bottom: 1px dashed var(--line);
    font-size: 13px;
}

.list-simple li:last-child {
    border-bottom: none;
}

.list-simple a {
    color: var(--muted);
    text-decoration: none;
    transition: all 0.18s ease;
    display: block;
}

.list-simple a:hover {
    color: var(--gold-dark);
    padding-left: 4px;
}

/* További márkák link igazítása */
.collapse-block p.pull-right {
    margin: 14px 0 0 0;
}

.collapse-block p.pull-right a {
    color: var(--gold-dark);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: color 0.18s;
}

.collapse-block p.pull-right a:hover {
    color: var(--gold);
    text-decoration: underline;
}

/* 4. "Nem találsz valamit?" űrlap gombja */
.collapse-block .price-input {
    margin-top: 16px;
}

.collapse-block .price-input button.btn {
    width: 100% !important;
    height: 42px;
    background: var(--ink);
    border: 1px solid var(--ink);
    border-radius: 8px;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: all 0.2s ease;
}

.collapse-block .price-input button.btn:hover {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
    transform: translateY(-2px);
}

/* 5. "Mások nézik" termékajánló (.compare-aside) */
.compare-aside {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.compare-aside .item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
}

.compare-aside .item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.compare-aside .item .img {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    background: var(--bg);
    flex-shrink: 0;
}

.compare-aside .item .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.compare-aside .item a.title {
    font-size: 13px;
    line-height: 1.4;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.18s;
}

.compare-aside .item a.title:hover {
    color: var(--gold-dark);
}

/* 6. Oldalsó Kiemelt Termék (.aside-featured-product) */
.aside-featured-product {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.aside-featured-product .product-img {
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg);
    margin-bottom: 14px;
}

.aside-featured-product .product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.aside-featured-product:hover .product-img img {
    transform: scale(1.05);
}

.aside-featured-product .product-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
}

.aside-featured-product .product-content .title a {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.18s;
}

.aside-featured-product .product-content .title a:hover {
    color: var(--gold-dark);
}

.aside-featured-product .product-content .price {
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
    text-align: center;
}

.aside-featured-product .product-content .price .old-price {
    font-size: 11px;
    color: var(--muted);
    text-decoration: line-through;
    margin-right: 6px;
}

.aside-featured-product .product-content .price .new-price {
    font-weight: 800;
    color: var(--ink);
}

/* 7. Szállítás és Diszkréció (.aside-custom-block) */
.aside-custom-block h6 {
    margin: 16px 0 8px 0;
    font-size: 14px;
    font-weight: 700;
}

.aside-custom-block h6:first-of-type {
    margin-top: 0;
}

.aside-custom-block h6 a {
    color: var(--ink);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.18s ease;
}

.aside-custom-block h6 a:hover {
    color: var(--gold-dark);
}

.aside-custom-block h6 span.color-base {
    color: var(--gold) !important;
    font-size: 18px;
}

.aside-custom-block p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.6;
    margin: 0 0 16px 0;
}

.aside-custom-block p:last-of-type {
    margin-bottom: 0;
}

/* 8. Banner elhelyezés a szűrősávban (.ft_newproductslider) */
.ft_newproductslider {
    width: 100%;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--card);
    box-sizing: border-box;
}

.ft_newproductslider img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}


/* ==========================================================================
   LAPOZÓ (PAGINATION) SPECIÁLIS IGAZÍTÁSA
   ========================================================================== */

/* Külső konténer */
.filters-row_mode {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 30px auto;
    width: 100%;
    clear: both;
}

/* Lapos linkek és spanok (közvetlenül PHP-ből érkezők vagy Bootstrap-szerűen listában) */
.filters-row_mode a,
.filters-row_mode span,
.filters-row_mode li a,
.filters-row_mode li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 8px;
    border-radius: 8px;
    border: 1px solid var(--line);
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
    transition: all 0.2s ease;
    background: var(--card);
    box-sizing: border-box;
    cursor: pointer;
}

/* Hover állapot */
.filters-row_mode a:hover,
.filters-row_mode li a:hover {
    background: var(--gold) !important;
    color: #fff !important;
    border-color: var(--gold) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(200, 163, 106, 0.2);
}

/* Aktív / Jelenlegi oldal kijelölése */
.filters-row_mode span.current,
.filters-row_mode .active,
.filters-row_mode .current,
.filters-row_mode li.active a,
.filters-row_mode li.active span {
    background: var(--ink) !important;
    color: #fff !important;
    border-color: var(--ink) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    cursor: default;
    transform: none !important;
}

/* Ha a PHP pager ul/li listát használ */
.filters-row_mode ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 8px;
    align-items: center;
}

.filters-row_mode li {
    margin: 0;
    padding: 0;
}

/* Inaktív / Letiltott gombok kezelése (pl. "Nincs előző/következő" oldal) */
.filters-row_mode .disabled,
.filters-row_mode li.disabled span,
.filters-row_mode li.disabled a {
    opacity: 0.4;
    cursor: not-allowed;
    background: var(--bg-soft) !important;
    color: var(--muted) !important;
    border-color: var(--line) !important;
    transform: none !important;
    box-shadow: none !important;
}


/* ==========================================================================
   MOBIL SZŰRŐSÁV (SLIDEOUT SIDEBAR) ESZTÉTIKA
   ========================================================================== */
@media (max-width: 991px) {
    /* Kezdeti állapot: a bal menü el van rejtve balra kívülre */
    .col-md-4.col-lg-3.col-xl-3.aside.leftColumn {
        position: fixed !important;
        top: 0 !important;
        left: -320px !important; /* Balra elrejtve a képernyőről */
        width: 300px !important;
        max-width: 300px !important;
        height: 100vh !important;
        overflow-y: auto !important;
        background: var(--card) !important;
        z-index: 9999 !important;
        transition: left 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
        padding: 24px !important;
        box-shadow: 20px 0 50px rgba(0, 0, 0, 0.15) !important;
        display: block !important;
    }

    /* Nyitott állapot: becsúszik a kijelzőre */
    .col-md-4.col-lg-3.col-xl-3.aside.leftColumn.open {
        left: 0 !important;
    }

    /* Sötét háttér maszk (backdrop) */
    .sidebar-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(2px);
        z-index: 9998;
        display: none;
    }
}


/* ==========================================================================
   MEGRENDELÉSI FOLYAMAT (CHECKOUT STEPS & SHIPPING) JAVÍTÁSOK
   ========================================================================== */

/* 1. Folyamatjelző sáv (.progressbar) esztétikája */
.progressbar {
    position: relative;
    margin: 40px 0 25px 0;
    padding: 0;
}

.progressbar .steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.progressbar .step {
    flex: 1;
    text-align: center;
    position: relative;
}

/* Folyamatjelző kis karikák (pöttyök) */
.progressbar .step::before {
    content: "";
    display: block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--line);
    margin: 0 auto 10px;
    border: 3px solid var(--bg-soft);
    box-shadow: 0 0 0 1px var(--line);
    transition: all 0.3s ease;
}

.progressbar .step.active::before {
    background: var(--gold-dark);
    box-shadow: 0 0 0 1px var(--gold-dark);
}

.progressbar .step.current::before {
    background: #fff;
    border-color: var(--gold);
    box-shadow: 0 0 0 2px var(--gold);
}

/* Lépések szöveges feliratai */
.progressbar .step-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
    transition: color 0.3s ease;
}

.progressbar .step.active .step-label {
    color: var(--ink);
}

.progressbar .step.current .step-label {
    color: var(--gold-dark);
}

/* Háttér összekötő vonal */
.progressbar::after {
    content: "";
    position: absolute;
    top: 7px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--line);
    z-index: 1;
}

/* Aktív előrehaladás vonala */
.progressbar .progress {
    position: absolute;
    top: 7px;
    left: 0;
    height: 2px;
    background: var(--gold-dark);
    z-index: 1;
    transition: width 0.3s ease;
}

/* 2. Szélesebb kártya a szállítási és térképes moduloknak */
.main.shop .login-form-box {
    max-width: 800px;
    margin: 30px auto;
}

/* 3. Bootstrap form-group flexboxosítása a vízszintes elrendezésért */
.login-form-box .form-group {
    display: block; /* Alapértelmezett elrendezés (pl. ország választónak) */
    width: 100%;
    margin-bottom: 20px;
}

/* Csak akkor flexboxolunk, ha valóban oszlopokat tartalmaz a soron belüli igazításhoz (pl. rádiógomb + ár) */
.login-form-box .form-group:has([class*="col-"]) {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    margin-left: -12px !important;
    margin-right: -12px !important;
    margin-bottom: 0 !important;
}

.login-form-box .form-group > [class*="col-"] {
    padding-left: 12px !important;
    padding-right: 12px !important;
}

/* Vízszintes igazítás: balra a rádiógomb, jobbra az ár */
.login-form-box .form-group .col-md-6:last-of-type {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
}

/* Legördülő select mezők (natív) elegáns chevront és hátteret kapnak */
.login-form-box select.form-control {
    width: 100% !important;
    height: 48px !important;
    border: 1px solid var(--line) !important;
    border-radius: 8px !important;
    background-color: #fff !important;
    color: var(--ink) !important;
    padding: 0 16px !important;
    font-size: 14px !important;
    outline: none;
    box-shadow: none !important;
    cursor: pointer;
    transition: border-color 0.2s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23171717' class='bi bi-chevron-down' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 16px center !important;
    background-size: 12px !important;
    padding-right: 40px !important;
}

.login-form-box select.form-control:focus {
    border-color: var(--gold) !important;
}

/* Bootstrap Select (selectpicker) egyedi, prémium dizájnja */
.bootstrap-select {
    width: 100% !important;
    margin-top: 8px;
}

/* Az átalakított legördülő gomb stílusa */
.bootstrap-select .btn.dropdown-toggle,
.bootstrap-select .btn-danger,
.bootstrap-select button {
    width: 100% !important;
    height: 48px !important;
    background-color: #fff !important;
    border: 1px solid var(--line) !important;
    border-radius: 8px !important;
    color: var(--ink) !important;
    padding: 0 16px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    box-shadow: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    cursor: pointer !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.bootstrap-select button:focus,
.bootstrap-select .btn:focus {
    border-color: var(--gold) !important;
    box-shadow: 0 0 0 4px rgba(200, 163, 106, 0.15) !important;
    outline: none !important;
}

/* Legördülő opciók listája (Dropdown menu) */
.bootstrap-select .dropdown-menu {
    border: 1px solid var(--line) !important;
    border-radius: 8px !important;
    box-shadow: var(--shadow) !important;
    background: #fff !important;
    padding: 8px 0 !important;
    margin-top: 4px !important;
}

.bootstrap-select .dropdown-menu li {
    margin: 0 !important;
    padding: 0 !important;
}

.bootstrap-select .dropdown-menu li a {
    display: block !important;
    padding: 10px 16px !important;
    color: var(--ink) !important;
    font-size: 14px !important;
    transition: background 0.18s ease, color 0.18s ease !important;
    text-decoration: none !important;
}

.bootstrap-select .dropdown-menu li a:hover,
.bootstrap-select .dropdown-menu li.selected a {
    background-color: var(--bg-soft) !important;
    color: var(--gold-dark) !important;
    font-weight: 600 !important;
}

/* Elegáns nyíl ikon a gomb szélén */
.bootstrap-select .bs-caret,
.bootstrap-select .caret {
    border: none !important; /* Levesszük a Bootstrap alapértelmezett csúnya nyilát */
    width: 12px !important;
    height: 12px !important;
    margin-left: 10px !important;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23171717' class='bi bi-chevron-down' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E") center/contain no-repeat !important;
}

/* 4. Egyedi Rádiógombok (.cont & .checkmark) */
.login-form-box .cont {
    display: block !important;
    position: relative !important;
    padding-left: 35px !important; /* Bőséges hely az átfedések ellen */
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
    user-select: none;
    line-height: 1.3;
    text-align: left;
}

.login-form-box .cont input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.login-form-box .checkmark {
    position: absolute;
    top: 2px; /* Első szövegsorhoz igazítva */
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #fff;
    border: 2px solid var(--line);
    border-radius: 50%;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.login-form-box .cont input:checked ~ .checkmark {
    border-color: var(--gold);
    background-color: #fff;
}

/* Rádiógomb belső pontja */
.login-form-box .checkmark::after {
    content: "";
    position: absolute;
    display: none;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gold-dark);
}

.login-form-box .cont input:checked ~ .checkmark::after {
    display: block;
}

/* 5. Szállítási lehetőségek elegáns soronkénti elválasztása */
.login-form-box .row:has(.postmode) {
    border-top: 1px solid var(--line);
    padding: 16px 0;
    background: #fff;
    margin: 0 !important;
    width: 100%;
    box-sizing: border-box;
}

/* Csak akkor formázzuk leírásként a következő sort, ha az valóban leírást (col-md-12) tartalmaz */
.login-form-box .row:has(.postmode) + .row:has(.col-md-12) {
    /*padding: 12px 20px 20px 20px;*/
    padding: 0px;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--line);
    margin: 0 !important;
    width: 100%;
    box-sizing: border-box;
}

.login-form-box .row:has(.postmode) + .row:has(.col-md-12) span {
    color: var(--muted) !important;
    font-size: 13px !important;
    line-height: 1.5;
}

/* Teljesen elrejtjük a felesleges, üres leírás-placeholder sorokat */
.login-form-box .row:has(.postmode) + .row:not(:has(.col-md-12)) {
    display: none !important;
}

/* Árak / Ingyenes feliratok formázása és igazítása */
.login-form-box .pull-right {
    float: right;
    font-size: 15px;
    font-weight: 700;
    color: var(--gold-dark) !important; /* Prémium arany szín az áraknak és az Ingyenes feliratoknak */
}

/* 6. GLS / Postapont / Foxpost térképes dobozok térnyerésének maximalizálása */
.gls-box, .posta-box, .foxpost-box {
    margin-top: 15px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    overflow: hidden;
    width: 100% !important;
    padding: 0 !important; /* Nullázzuk az oldalsó felesleges paddingeket, hogy a modulok szél-szélig kifeszüljenek */
    box-sizing: border-box;
    float: none !important;
    clear: both;
}

/* Megakadályozzuk a dula keretet és paddinget a Foxpost beágyazott dobozánál */
.foxpost-box .foxpost-box {
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* Térképek, iframok és GLS modulok kifeszítése a szegélyekig */
.gls-box iframe,
.posta-box iframe,
.foxpost-box iframe,
.gls-box gls-dpm,
.gls-box #test-map,
.if-container,
.if-container iframe {
    width: 100% !important;
    height: 600px !important;
    border: none !important;
    display: block;
    margin: 0 !important;
    padding: 0 !important;
}

/* Postapont beépülő modul belső távolságainak finomítása, hogy a gombok ne lógjanak ki */
#postapontvalasztoapi,
#postapontvalasztoapi-container,
.posta-box #valasztott_postapont_info {
    padding: 16px !important;
    box-sizing: border-box;
    width: 100%;
}

/* 7. Mobil törések optimalizálása */
@media (max-width: 767px) {
    .progressbar {
        margin: 25px 0 15px 0;
    }
    .progressbar .step-label {
        font-size: 9px;
        letter-spacing: 0;
    }
    .progressbar .step::before {
        width: 10px;
        height: 10px;
    }
    .progressbar::after,
    .progressbar .progress {
        top: 5px;
    }
    .login-form-box .form-group .col-md-6:last-of-type {
        justify-content: flex-start !important;
        margin-top: 6px !important;
    }
    .login-form-box .pull-right {
        float: none;
    }

    /* Mobil szűrők és leírás-oszlopok felesleges grid paddingjének kiiktatása */
    .login-form-box .row:has(.postmode) + .row > [class*="col-"] {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* Mobilbarát magasság a térképeknek (könnyű görgetés, ujjmegakadás ellen) */
    .gls-box iframe,
    .posta-box iframe,
    .foxpost-box iframe,
    .gls-box gls-dpm,
    .gls-box #test-map,
    .if-container iframe {
        height: 450px !important;
    }
}


/* ==========================================================================
   CÍMVÁLASZTÁS ÉS ADATOK (BILLING & SHIPPING ADDRESSES) IGAZÍTÁSOK
   ========================================================================== */

/* 1. Az aktuálisan kiválasztott cím kártyája (.userbox & .userbox-shipping) */
.userbox, .userbox-shipping {
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-sizing: border-box;
}

.userbox h5, .userbox-shipping h5 {
    font-size: 16px;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 6px 0;
}

.userbox h6, .userbox-shipping h6 {
    font-size: 14px;
    font-weight: 500;
    color: var(--muted);
    margin: 0 0 4px 0;
}

/* Módosítás gomb igazítása az aktuális cím kártyán */
.login-form-box .mod-btn {
    padding: 0 20px;
    height: 38px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 6px;
    border: 1px solid var(--gold) !important;
    background: transparent !important;
    color: var(--gold-dark) !important;
    cursor: pointer;
    transition: all 0.2s ease;
}

.login-form-box .mod-btn:hover {
    background: var(--gold) !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(168, 127, 66, 0.15);
}

/* 2. Választható címek listájának görgethető hordozója */
.address-select, .shipping-address-select {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 280px; /* Megakadályozza a felület túlnyúlását sok cím esetén */
    overflow-y: auto;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--bg-soft);
    margin: 15px 0 24px 0;
    box-sizing: border-box;
}

/* Egyedi görgetősáv a címválasztónak */
.address-select::-webkit-scrollbar,
.shipping-address-select::-webkit-scrollbar {
    width: 6px;
}
.address-select::-webkit-scrollbar-thumb,
.shipping-address-select::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 99px;
}

/* 3. Választható cím kártyák (.address-option & .shipping-option) */
.address-option, .shipping-option {
    display: flex !important;
    align-items: center !important;
    gap: 14px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    box-sizing: border-box;
    width: 100%;
}

.address-option:hover, .shipping-option:hover {
    border-color: var(--gold);
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

/* Kijelölt cím kártya kiemelése */
.address-option.selected, .shipping-option.selected {
    border-color: var(--gold) !important;
    background-color: rgba(200, 163, 106, 0.05) !important;
}

/* 4. Egyedi rádiógomb (.custom-radio) a címkártyákon */
.custom-radio {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid var(--line);
    display: inline-block;
    position: relative;
    box-sizing: border-box;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.address-option input[type="radio"]:checked ~ .custom-radio,
.shipping-option input[type="radio"]:checked ~ .custom-radio {
    border-color: var(--gold);
}

.custom-radio::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold-dark);
    display: none;
}

.address-option input[type="radio"]:checked ~ .custom-radio::after,
.shipping-option input[type="radio"]:checked ~ .custom-radio::after {
    display: block;
}

/* 5. Címkártya belső szövegei */
.custom-address, .shipping-custom-address {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.4;
    text-align: left;
}

.shipping-custom-address-c {
    font-size: 11px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 2px;
}

/* 6. Akció gombok (.button-container & .styled-button) */
.button-container {
    margin: 15px 0;
}

.login-form-box .styled-button,
.login-form-box button.styled-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    height: 42px;
    background: var(--ink);
    color: #fff !important;
    border: 1px solid var(--ink);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: none;
    text-decoration: none;
}

.login-form-box .styled-button:hover,
.login-form-box button.styled-button:hover {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(168, 127, 66, 0.15);
}

/* 7. Alapértelmezett form igazítások a címkártyáknak */
.szlbox, .shipbox {
    margin-top: 30px;
}


/* ==========================================================================
   TERMÉKOLDAL (PRODUCT DETAILS PAGE) IGÁZÍTÁSOK
   ========================================================================== */

/* 1. Asztali képgaléria dizájn */
.product-main-image {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    aspect-ratio: 3 / 4;
}

.product-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#smallGallery {
    display: flex;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
    overflow-x: auto;
}

#smallGallery li {
    width: 80px;
    aspect-ratio: 3 / 4;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

#smallGallery li:hover,
#smallGallery li a.zoomGalleryActive {
    border-color: var(--gold);
}

#smallGallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 2. Mobil képgaléria dizájn */
.mobileGallery-product {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    gap: 12px;
}

.mobileGallery-product li {
    flex: 0 0 100%;
    scroll-snap-align: start;
    aspect-ratio: 3 / 4;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
}

.mobileGallery-product img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 3. Termék adatok és cím stílusa */
.product-info2 h1.title {
    font-family: "Playfair Display", serif;
    font-size: clamp(24px, 3.5vw, 34px);
    font-weight: 600;
    color: var(--ink);
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.product-info2 .price {
    font-size: clamp(20px, 3vw, 26px);
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 24px;
}

.product-info2 .price .price-label2_old {
    font-size: 14px;
    color: var(--muted);
    text-decoration: line-through;
    margin-right: 8px;
    font-weight: 500;
}

.product-info2 .price .huftol {
    font-size: 14px;
    color: var(--muted);
    font-weight: 500;
}

/* Kiegészítő infó lista (Márka, kategória, státusz) */
.productvendorsmallinfo {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 14px;
}

.productvendorsmallinfo span {
    font-weight: 700;
    color: var(--ink);
}

.productvendorsmallinfo a {
    color: var(--gold-dark);
    font-weight: 600;
    transition: color 0.18s ease;
    text-decoration: none;
}

.productvendorsmallinfo a:hover {
    color: var(--gold);
}

/* Kedvencek gomb igazítása */
.wishlist-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: color 0.2s ease;
}

.wishlist-toggle:hover {
    color: var(--gold-dark);
}

/* 4. Méretváltozatok sorai (.wrapper-offset45 & .wrapper-offset20) */
.wrapper-offset45, .wrapper-offset20 {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 16px 20px;
    margin-bottom: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.01);
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
}

.wrapper-offset45 .row, .wrapper-offset20 .row {
    display: flex !important;
    width: 100% !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin: 0 !important;
}

.wrapper-offset45 .col-md-6, .wrapper-offset20 .col-md-6 {
    padding: 0 !important;
    width: auto !important;
}

/* Változatok árai */
.price-label2_old {
    font-size: 11px;
    color: var(--muted);
    text-decoration: line-through;
    margin-right: 6px;
}

.price-label2, .price-label2_orig {
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
}

/* Kosárba gombok méretezése (.btn-addtocart) */
.btn-addtocart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    background: var(--ink);
    border: 1px solid var(--ink);
    color: #fff !important;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0 24px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-addtocart:hover {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(168, 127, 66, 0.15);
}

.btn-addtocart span.icon {
    margin-right: 8px;
    font-size: 14px;
}

/* 5. Ajánlott kiegészítő termékek (.pblock & .wrapper-offset-zero) */
.pblock, .wrapper-offset-zero {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    box-sizing: border-box;
}

.pblock .mpic, .wrapper-offset-zero .nomargin:first-child {
    width: 50px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    background: var(--bg);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pblock .mpic img, .wrapper-offset-zero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pblock .pr-label-elem, .wrapper-offset-zero .pr-label-elem {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
}

.pblock .price-label-elem, .wrapper-offset-zero .price-label-elem {
    font-size: 13px;
    font-weight: 700;
    color: var(--gold-dark);
}

.btn-mini {
    height: 34px !important;
    padding: 0 16px !important;
    font-size: 11px !important;
}

/* 6. Termékleírás és Szállítás fülrendszer (.tt-tabs) */
.tt-tabs {
    margin: 40px 0;
    width: 100%;
}

.tt-tabs__head {
    border-bottom: 2px solid var(--line);
    margin-bottom: 24px;
    position: relative;
}

.tt-tabs__head ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 30px;
    overflow-x: auto;
}

.tt-tabs__head li {
    padding: 12px 0;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    cursor: pointer;
    position: relative;
    transition: color 0.2s ease;
}

.tt-tabs__head li:hover,
.tt-tabs__head li[data-active="true"] {
    color: var(--ink);
}

/* Aktív fül aláhúzása */
.tt-tabs__head li[data-active="true"]::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gold);
}

.tt-tabs__content {
    font-size: 14px;
    line-height: 1.7;
    color: #4d4945;
}

.tt-tabs__content p {
    margin-bottom: 16px;
}

/* Rejtjük a felesleges ismétlődő címeket asztalon */
.tt-tabs__content .tab-title {
    display: none !important;
}

/* Harmonika címek mobilon */
.tt-tabs .tt-tabs__title {
    display: none;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ink);
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    margin-bottom: 12px;
    cursor: pointer;
}

@media (max-width: 820px) {
    .tt-tabs__head {
        display: none; /* Mobilon elrejtjük a füleket */
    }
    .tt-tabs .tt-tabs__title {
        display: block; /* Mobilon harmonika gombként jelennek meg */
    }
}

/* ==========================================================================
   TERMÉKOLDAL GALÉRIA MEGJELENÍTÉS JAVÍTÁSA
   ========================================================================== */

/* Alapértelmezetten (asztali gépen) elrejtjük a mobil galériát */
.mobileGallery-product {
    display: none !important;
}

/* Asztali galéria elemek alapértelmezett láthatósága */
.product-main-image,
#smallGallery {
    display: block;
}
#smallGallery {
    display: flex;
}

/* Mobil nézetben (820px szélesség alatt) váltunk a galériák között */
@media (max-width: 820px) {
    .mobileGallery-product {
        display: flex !important; /* Csak mobilon jelenik meg */
    }

    .product-main-image,
    #smallGallery {
        display: none !important; /* Mobilon elrejtjük az asztali galériát */
    }
}


/* ==========================================================================
   "EZEK A TERMÉKEK IS ÉRDEKELHETNEK" (AJÁNLOTT/HASONLÓ) RÁCS OPTIMALIZÁLÁSA
   ========================================================================== */

/* Az összes lehetséges ajánló konténer rácsba rendezése */
#hasonlo_termekek,
#kieg_termekek,
#related-products,
.related-products,
.product_related {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important; /* Asztalon 4 termék egy sorban */
    gap: 24px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    clear: both !important;
}

/* Ha a rendszeren belül a termékek egy extra .row-ba lennének csomagolva */
#hasonlo_termekek .row,
#kieg_termekek .row,
#related-products .row,
.related-products .row,
.product_related .row {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 24px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Biztosítjuk, hogy a hordozó oszlopok/elemek ne nyújtsák el a kártyákat */
#hasonlo_termekek .product,
#kieg_termekek .product,
#related-products .product,
.related-products .product,
#hasonlo_termekek [class*="col-"],
#kieg_termekek [class*="col-"],
#related-products [class*="col-"] {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    margin-bottom: 0 !important;
}

/* A szekciók fejlécének (címeknek) teljes szélességet biztosítunk, hogy ne essenek szét a rácsban */
#hasonlo_termekek h1, #hasonlo_termekek h2, #hasonlo_termekek h3, #hasonlo_termekek .block-title, #hasonlo_termekek .block-title-colored,
#kieg_termekek h1, #kieg_termekek h2, #kieg_termekek h3, #kieg_termekek .block-title,
#related-products h1, #related-products h2, #related-products h3,
.related-products h1, .related-products h2, .related-products h3 {
    grid-column: 1 / -1 !important;
    width: 100% !important;
}

/* --- Reszponzív töréspontok az ajánló dobozokhoz --- */

/* Kisebb monitorokon és tableteken (3 termék egy sorban) */
@media (max-width: 1199px) {
    #hasonlo_termekek, #kieg_termekek, #related-products, .related-products, .product_related,
    #hasonlo_termekek .row, #kieg_termekek .row, #related-products .row, .related-products .row, .product_related .row {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 20px !important;
    }
}

/* Közepes és kisebb mobilokon (2 termék egymás mellett a jobb átláthatóságért) */
@media (max-width: 820px) {
    #hasonlo_termekek, #kieg_termekek, #related-products, .related-products, .product_related,
    #hasonlo_termekek .row, #kieg_termekek .row, #related-products .row, .related-products .row, .product_related .row {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }
}

/* Nagyon kicsi kijelzőkön (1 termék soronként) */
@media (max-width: 480px) {
    #hasonlo_termekek, #kieg_termekek, #related-products, .related-products, .product_related,
    #hasonlo_termekek .row, #kieg_termekek .row, #related-products .row, .related-products .row, .product_related .row {
        grid-template-columns: repeat(1, 1fr) !important;
        gap: 16px !important;
    }
}





/* ==========================================================================
   KOSÁR OLDAL (SHOPPING CART) MODERNIZÁLÁSA
   ========================================================================== */

/* 1. Külső hordozók (.box-content, .kupon-form-box) */
.shop .box-content {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    margin-bottom: 0px;
    box-sizing: border-box;
}

.shop h4 {
    font-family: "Playfair Display", serif;
    font-size: 24px;
    color: var(--ink);
    margin: 0 0 20px 0;
    font-weight: 600;
}

/* 2. Kosár Táblázat (.table.cart) asztali nézetben */
.table.cart {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 0;
}

.table.cart th {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--muted);
    border-bottom: 2px solid var(--line);
    padding: 14px 10px;
    text-align: left;
}

.table.cart td {
    padding: 20px 10px;
    border-bottom: 1px solid var(--line);
    vertical-align: middle;
}

/* Termék oszlopok testreszabása */
.table.cart .product-thumbnail {
    width: 120px;
    text-align: center;
}

.table.cart .product-thumbnail img {
    border-radius: 8px;
    object-fit: cover;
    margin-bottom: 12px;
}

.table.cart .product-names a {
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
    transition: color 0.18s ease;
}

.table.cart .product-names a:hover {
    color: var(--gold-dark);
}

.table.cart .product-names p {
    margin: 4px 0 0 0;
    color: var(--muted);
}

.table.cart .amount {
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
}

/* Törlés ikon (.delete-item) */
.delete-item {
    color: var(--muted);
    cursor: pointer;
    transition: color 0.18s ease, transform 0.18s ease;
    display: inline-block;
}

.delete-item:hover {
    color: #c92a2a;
    transform: scale(1.15);
}

/* 3. Mennyiség választó számláló (.counter) */
.counter {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--bg-soft);
    overflow: hidden;
    height: 36px;
}

.counter button {
    border: none;
    background: transparent;
    width: 32px;
    height: 100%;
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease;
}

.counter button:hover {
    background: var(--gold);
    color: #fff;
}

.counter .count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
    padding: 0 4px;
}

/* 4. Bruttó Végösszeg sor */
.table.cart .actions {
    border-bottom: none;
    padding-top: 30px;
}

.table.cart .actions-brutto h4 {
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--ink);
    margin: 0;
}

.table.cart .actions-brutto .h4price {
    font-size: 22px;
    font-weight: 800;
    color: var(--gold-dark);
}

/* 5. Kuponkód Blokk (.kupon-form-box) */
.kupon-form-box {
    margin-top: 20px;
}

.kupon-cart-box {
    display: flex;
    flex-direction: column;
    max-width: 440px;
}

.kupon-cart-box h4 {
    font-size: 18px;
    margin-bottom: 4px;
}

.kupon-cart-box span {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 16px;
}

.kupon-cart-box .kuponform {
    width: 100%;
    height: 44px;
    padding: 0 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    outline: none;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}

.kupon-cart-box .kuponform:focus {
    border-color: var(--gold);
}

.kupon-cart-box .kuponerror {
    font-size: 12px;
    color: #c92a2a;
    margin-top: 6px;
    min-height: 18px;
}

.kupon-cart-box #kupon {
    height: 42px;
    background: var(--ink);
    color: #fff;
    border: 1px solid var(--ink);
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.kupon-cart-box #kupon:hover {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(168, 127, 66, 0.15);
}

/* 6. Megrendelés Fő Akciógomb (#sendButton) */
#sendButton {
    margin-top: 30px;
    margin-bottom: 60px;
}

.actions-continue {
    display: flex;
    justify-content: flex-end;
}

.actions-continue input.btn-full {
    min-width: 280px;
    height: 52px;
    background: var(--gold) !important;
    border: 1px solid var(--gold) !important;
    color: #fff !important;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 15px rgba(200, 163, 106, 0.2);
}

.actions-continue input.btn-full:hover {
    background: var(--gold-dark) !important;
    border-color: var(--gold-dark) !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(168, 127, 66, 0.35);
}

/* 7. Mobil Nézetű Kosárelemek Optimalizálása */
@media (max-width: 767px) {
    .shop .box-content {
        padding: 20px 16px;
    }

    .table.cart {
        display: block;
    }

    .table.cart tbody {
        display: block;
        width: 100%;
    }

    /* Rejtjük a felesleges asztali fejléceket */
    .table.cart thead {
        display: none;
    }

    /* Mobil sor elrendezések */
    .tol-5 {
        margin-top: 15px;
        display: flex;
        align-items: flex-start;
    }

    .basket-pic {
        border-radius: 8px;
        object-fit: cover;
        width: 100%;
    }

    .product-link {
        font-size: 14px;
        font-weight: 600;
        color: var(--ink);
        text-decoration: none;
        line-height: 1.4;
        display: block;
        margin-bottom: 4px;
    }

    .varia {
        font-size: 12px;
        color: var(--muted);
        display: block;
        margin-bottom: 4px;
    }

    .egysegar {
        font-size: 12px;
        color: var(--muted);
    }

    .tol-15 {
        margin-top: 10px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-bottom: 15px;
    }

    /* Mobil elválasztó vonal */
    .liner {
        height: 1px;
        background: var(--line);
        margin: 15px 0;
        width: 100%;
    }

    /* Mobil ár kiemelés */
    .newpr {
        font-size: 16px;
        font-weight: 800;
        color: var(--gold-dark) !important; /* Felülírjuk az inline piros színt */
    }

    /* Végösszeg sor mobil elrendezése */
    .table.cart tr:last-child {
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding-top: 20px;
        border-top: 2px solid var(--line);
    }

    .table.cart tr:last-child td {
        display: block;
        width: 100% !important;
        padding: 0 !important;
        border: none;
    }

    .table.cart tr:last-child td:last-child .actions-brutto {
        text-align: right;
    }

    /* Kuponblokk igazítása mobilon */
    .kupon-cart-box {
        max-width: 100%;
    }

    /* Fő megrendelés gomb mobilon */
    .actions-continue {
        justify-content: center;
    }

    .actions-continue input.btn-full {
        width: 100% !important;
    }
}


/* ==========================================================================
   CAROUSEL ÖSSZEAKADÁS ELLENI ÉS NYÍL STÍLUSOK (HA INICIALIZÁLVA VAN A JS)
   ========================================================================== */

/* Ha a Slick carouselt sikerült inicializálni, feloldjuk az átfedő CSS gridet */
.slick-initialized,
.slick-initialized .row {
    display: block !important;
}

.slick-initialized .slick-track {
    display: flex !important;
}

.slick-initialized .slick-slide {
    height: auto !important;
    float: none !important;
}

/* Slick navigációs nyilak prémium stílusa (illeszkedik a webshop arculatához) */
.slick-prev, .slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #fff !important;
    border: 1px solid var(--line) !important;
    color: var(--ink) !important;
    z-index: 10;
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.slick-prev:hover, .slick-next:hover {
    background: var(--black) !important;
    border-color: var(--black) !important;
    color: #fff !important;
}

.slick-prev { left: -15px; }
.slick-next { right: -15px; }

/* Nyíl ikonok finomhangolása (ha szükséges betűtípus alapú ikonokhoz) */
.slick-prev i, .slick-next i {
    font-size: 18px;
    line-height: 1;
}

/* Mobilon elrejtjük a nyilakat az érintőkijelzős használat miatt */
@media (max-width: 820px) {
    .slick-prev, .slick-next {
        display: none !important;
    }
}

/* ==========================================================================
   CAROUSEL FALLBACK (HA NINCS INICIALIZÁLVA A JS)
   ========================================================================== */

/* Csak akkor alkalmazzuk a CSS gridet, ha a Slick még nem fut az elemen */
#hasonlo_termekek:not(.slick-initialized),
#kieg_termekek:not(.slick-initialized),
#related-products:not(.slick-initialized),
.related-products:not(.slick-initialized),
.product_related:not(.slick-initialized) {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 24px !important;
    width: 100% !important;
}

#hasonlo_termekek:not(.slick-initialized) .row,
#kieg_termekek:not(.slick-initialized) .row,
#related-products:not(.slick-initialized) .row {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 24px !important;
    width: 100% !important;
    margin: 0 !important;
}


/* Aktív harmonika fejléc stílusa mobilon */
.tt-tabs .tt-tabs__title.active {
    color: var(--gold-dark) !important;
    border-bottom-color: var(--gold) !important;
    font-weight: 800;
}

.img-responsive{display: block;
    max-width: 100%;
    height: auto;}


/* ==========================================================================
   SZÁLLÍTÁS FÜL SZÖVEGFORMÁZÁS JAVÍTÁSA
   ========================================================================== */

/* Egységes betűméret kényszerítése a szállítás fül minden belső elemére */
.shipping-tab-content,
.shipping-tab-content *,
.shipping-tab-content p,
.shipping-tab-content span,
.shipping-tab-content td,
.shipping-tab-content li {
    font-size: 14px !important;
    line-height: 1.6 !important;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    color: #4d4945 !important; /* Elegáns sötétszürke szín az olvashatóságért */
}

/* Táblázatok finomhangolása, ha a szállítási információk táblázatban vannak */
.shipping-tab-content table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 15px 0 !important;
}

.shipping-tab-content td,
.shipping-tab-content th {
    padding: 10px 12px !important;
    border: 1px solid var(--line) !important;
}

/* Fő termékkép kattinthatóságának jelzése */
.zoom-product {
    cursor: pointer !important;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.zoom-product:hover {
    opacity: 0.95;
}


/* ==========================================================================
   FŐ TERMÉKKÉP DOBOZON BELÜL TARTÁSA (OVERLAP JAVÍTÁS)
   ========================================================================== */

/* A külső hordozó keret méretének és arányának szigorú rögzítése */
.product-main-image {
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 3 / 4 !important;
    overflow: hidden !important;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 20px !important;
    box-sizing: border-box !important;
}

/* A köztes elem (item) kitölti a keretet, és nem engedi kifelé a tartalmat */
.product-main-image-item {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    position: relative !important;
}

/* A nagy kép méreteit a kerethez igazítjuk, így nem tud túlnyúlni rajta */
.product-main-image img,
.product-main-image .zoom-product {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important; /* Torzítás- és levágásmentesen tartja a dobozban a képet */
    display: block !important;
}