/* =========================================================================
   MODERN BÉZS BABAKOCSI WEBSHOP – 2025/2026 stílus
   Minimal – Clean – Premium – Bézs domináns
   ========================================================================= */

/* ==========================================================================
   1. VÁLTOZÓK – ÚJ PALETTA
   ========================================================================== */
:root {
    --color-bg-main:    #f8f5f0;       /* lágy bézs/krém */
    --color-bg-card:    #ffffff;
    --color-bg-light:   #fdfaf5;
    --color-text-main:  #2d2a25;       /* mély szürkebarna */
    --color-text-light: #ffffff;
    --color-accent:     #c9a96e;       /* finom aranyos bézs/sárgás */
    --color-accent-dark:#a67c52;       /* mélyebb arany/barna */
    --color-primary:    #4a6b5c;       /* lágy olajzöld – alternatív accent */
    --color-border:     #e0d9cc;
    --color-shadow:     0 8px 24px rgba(0,0,0,0.06);
    --color-shadow-hover: 0 16px 40px rgba(0,0,0,0.10);

    --border-radius:    12px;
    --border-radius-lg: 20px;
    --transition:       all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading:     "Inter", "Helvetica Neue", Arial, sans-serif;
    --font-body:        "Inter", system-ui, -apple-system, sans-serif;
    --font-serif:       "Crimson Text", Georgia, serif;
}

/* Alap beállítások */
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    line-height: 1.68;
    font-size: 1.05rem;
    color: var(--color-text-main);
    background: var(--color-bg-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-image: url("/raktar/sys/bg.png");
}

main { flex: 1; }


.body-box{
background: var(--color-bg-main);

}

.banner{
            width: 100%;
            height: 350px;
            background-size:cover;
            background-repeat: no-repeat;
            background-position: left;
            color:aliceblue;

}

/* ==========================================================================
   2. TIPOGRÁFIA
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-text-main);
    letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); line-height: 1.05; }
h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
h3 { font-size: 1.6rem; }
h4 { font-size: 1.35rem; }

p, li { color: var(--color-text-light);}

.lead{ color: var(--color-text-main); 
font-size: 1rem;
   font-weight: 600;
}

.page-title-column p { color: var(--color-text-main); }
.page-title-column li { color: var(--color-text-main); }

a {
    color: var(--color-accent-dark);
    text-decoration: none;
    transition: var(--transition);
}
a:hover { color: var(--color-accent); }

/* ==========================================================================
   3. GOMBOK – modern floating stílus
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    padding: 0.9rem 1.9rem;
    border-radius: var(--border-radius);
    background: var(--color-accent);
    color: white;
    border: none;
    box-shadow: var(--color-shadow);
    transition: var(--transition);
}
.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--color-shadow-hover);
    background: var(--color-accent-dark);
}
.btn:active { transform: translateY(0); }

.btn-outline {
    background: transparent;
    border: 2px solid var(--color-border);
    color: var(--color-text-main);
}
.btn-outline:hover {
    background: var(--color-accent);
    color: white;
    border-color: var(--color-accent);
}

/* ==========================================================================
   4. KÁRTYÁK – modern, térkitöltő, hover lift
   ========================================================================== */
.card,
.product-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--color-shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;

}
.card:hover,
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--color-shadow-hover);
}

.card-img-top,
.card-img-container {
    width: 100%;
    aspect-ratio: 4 / 3;          /* modernebb, kevésbé négyzetes */
    object-fit: cover;
    background: #f0ece5;
}
.card-body {
    flex: 1 1 auto;
    padding: 1.4rem 1.5rem;
    display: flex;
    flex-direction: column;
}
.card-title {
    font-size: 1.15rem;
    margin: 0 0 0.6rem;
    color: var(--color-text-main);
    font-weight: 600;
}
.card-text { font-size: 0.95rem; color: var(--color-text-light); }

.price {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-accent-dark);
    margin-top: auto;
    padding-top: 0.8rem;
}
.old-price {
    font-size: 1rem;
    color: var(--color-text-light);
    text-decoration: line-through;
    margin-left: 0.8rem;
}

/* Full-width / térkitöltő konténerek */
.container-wide {
    width: 100%;
    max-width: 1480px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.section-padding {
    padding: 5rem 0;
}
.section-bg-light { background: var(--color-bg-light); }

/* ==========================================================================
   5. HEADER / NAV / HERO
   ========================================================================== */
.navbar {
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    border-bottom: 4px solid #a67c52 !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}
.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--color-text-main);
}
S
.nav-link {
    font-weight: 500 !important;
    color: var(--color-text-main);
    padding: 0.6rem 1.1rem !important;
}
.nav-link:hover,
.nav-link.active { color: var(--color-accent-dark); }

.hero {
    position: relative;
    min-height: 70vh;
    background: linear-gradient(rgba(0,0,0,0.18), rgba(0,0,0,0.38)),
                url('hero-babakocsi.jpg') center/cover no-repeat;
    color: white;
    display: flex;
    align-items: center;
}
.hero-content {
    max-width: 900px;
    padding: 2rem;
}

.card-img-bg{
    background-size: contain;         /* kitölti a teret, levágja a felesleget */
    background-position: center;
    background-repeat: no-repeat;

}

.card-img-container {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;           /* vagy 3 / 4, 1 / 1, 5 / 4 – termékfotóktól függ */
    background-color: #ffffff;      /* lágy bézs fallback szín */

    background-size: contain;         /* kitölti a teret, levágja a felesleget */
    background-position: center;
    background-repeat: no-repeat;
    border-radius: var(--border-radius-lg);
    overflow: hidden;               /* fontos – ha van overlay vagy hover */
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

/* Hover effekthez (opcionális, de nagyon jól néz ki) */
.product-card:hover .card-img-container {
    transform: scale(1.04);
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

/* Ha van overlay szöveg vagy ikon a képen */
.card-img-container::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.35) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.product-card:hover .card-img-container::after {
    opacity: 1;
}

/* ==========================================================================
   6. TERMÉKLISTA – grid layout térkitöltéssel
   ========================================================================== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem 1.5rem;
}

/* ==========================================================================
   7. LÁBLÉC
   ========================================================================== */
footer {
    background: var(--color-text-main);
    color: #e0d9cc;
    padding: 4rem 0 2rem;
    margin-top: auto;
}
footer a { color: #d4c9b8; }
footer a:hover { color: var(--color-accent); }



/* ==========================================================================
   MOBILE BOTTOM NAVIGATION BAR
   Csak mobil nézetben jelenik meg – fix alul
   ========================================================================== */

/* Alapértelmezett: rejtve */
.mobile-footer-nav {
    display: none;
}

/* Csak 991px alatt (lg breakpoint alatt) jelenítjük meg */
@media (max-width: 991.98px) {
    .mobile-footer-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 68px;                   /* modernebb magasság – kényelmesebb ujjnak */
        background-color: #ffffff;
        border-top: 1px solid #e0d9cc;  /* lágy bézs keret */
        box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
        z-index: 1030;                  /* navbar alatt ne legyen, de tartalom felett igen */
        justify-content: space-around;
        align-items: center;
        padding: 0 8px;
        backdrop-filter: blur(10px);    /* ha áttetsző hatást akarsz */
        -webkit-backdrop-filter: blur(10px);
    }

    /* iPhone notch / dynamic island / safe-area kompatibilitás */
    @supports (padding-bottom: env(safe-area-inset-bottom)) {
        .mobile-footer-nav {
            padding-bottom: env(safe-area-inset-bottom);
            height: calc(68px + env(safe-area-inset-bottom));
        }
    }

    body {
        /* Ne engedjük, hogy a tartalom alá fusson a sáv */
        padding-bottom: calc(68px + env(safe-area-inset-bottom));
    }
}

/* Egy-egy ikon + szöveg konténer */
.mobile-nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    color: #6b665f;
    font-size:1rem;             /* kicsi, de olvasható szöveg */
    font-weight: 500;
    line-height: 1.1;
    text-align: center;
    padding: 6px 4px;
    transition: color 0.2s ease, transform 0.15s ease;
    user-select: none;
    -webkit-tap-highlight-color: transparent; /* iOS csúnya highlight eltüntetése */
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--color-accent-dark); /* #a67c52 vagy a fő színed */
}

.mobile-nav-link svg,
.mobile-nav-link img {
    width: 26px;
    height: 26px;
    margin-bottom: 3px;
    transition: transform 0.2s ease;
}

.mobile-nav-link:hover svg,
.mobile-nav-link.active svg {
    transform: scale(1.12);
}

/* Ha van badge (pl. kosárban lévő termékek száma) */
.mobile-nav-link .badge {
    position: absolute;
    top: 4px;
    right: calc(50% - 14px);
    font-size: 0.58rem;
    padding: 2px 5px;
    min-width: 16px;
    height: 16px;
    line-height: 12px;
    border-radius: 10px;
}
.card-title-on-image {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;           /* még mindig kell a clamp-hez */
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    max-height: calc(1.8em * 3);    /* line-height × sorok száma */
}

/* ==========================================================================
   8. RESZPONZÍV FINOMHANGOLÁS
   ========================================================================== */
@media (max-width: 992px) {
    .section-padding { padding: 3.5rem 0; }
    h1 { font-size: 3.2rem; }
        .banner{
            width: 100%;
          
            background-size:cover;
            background-repeat: no-repeat;
            background-position: left;
            color:aliceblue;

}
}

@media (max-width: 768px) {
    body { font-size: 1.02rem; }
    .product-grid { gap: 1.8rem 1.2rem; }
    .btn { padding: 0.85rem 1.6rem; }

    .banner{
            width: 100%;
          
            background-size:cover;
            background-repeat: no-repeat;
            background-position: left;
            color:aliceblue;

}
}

@media (max-width: 576px) {
    .card-title-on-image {
        -webkit-line-clamp: 2;
        line-clamp: 2;
        max-height: calc(1.4em * 2);
        font-size: 0.9rem;
        }
            .banner{
            width: 100%;
             height: 150px;
            background-size:cover;
            background-repeat: no-repeat;
            background-position: left;
            color:aliceblue;

}
}



/* ==========================================================================
   0. GLOBÁLIS TISZTÍTÁS (SZÜRKE VONALAK ÉS KERETEK ELTÜNTETÉSE)
   ========================================================================== */
/* Ez a rész kisöpri a Bootstrap összes gyári vékony szürke vonalát mindenhol */
hr, .hr, .border, .border-top, .border-bottom, .card, .list-group-item, .bg-light {
    border: none !important;
    border-width: 0 !important;
    outline: none !important;
    box-shadow: none !important;
}
/* Ha pseudo-elem (::after/::before) */
*:after, *:before {
    background-color: transparent !important;
    display: none !important;
}

/* Ha egy üres div a vonal */
div[class*="separator"], div[class*="line"], hr {
    display: none !important;
    height: 0 !important;
}




/* ==========================================================================
   1. TERMÉKNÉV ÉS LEAD BOX (EDITORIAL DESIGN)
   ========================================================================== */
main .col-lg-9 h1:first-of-type {
    font-family: var(--font-heading) !important;
    font-weight: 800 !important;
    font-size: 2.6rem !important;
    letter-spacing: -0.04em !important;
    color: var(--color-text-main) !important;
    margin-top: -5px !important; /* EZT ADTUK HOZZÁ */
    margin-bottom: 1.8rem !important; /* KICSIT CSÖKKENTVE */
}

/* A BÉZS LEAD BOX - Lekerekítve, arculati színekkel */
main .col-lg-9 .lead,
.page-title-column h1 + p {
    font-family: var(--font-serif) !important;
    font-style: italic !important;
    font-weight: 700 !important;
    font-size: 1.15rem !important;
    line-height: 1.6 !important;
    background-color: #f4ece2 !important; /* Kért halvány bézs */
    border: 1px solid #c1a37a !important; /* Arculati keret */
    border-left: 6px solid #a67c52 !important; /* Vastagabb díszcsík */
    border-radius: 12px !important;
    padding: 1.5rem 2rem !important;
    margin-bottom: 2.5rem !important;
    display: block !important;
    color: var(--color-text-main) !important;
}




/* ==========================================================================
   2. VÁSÁRLÁSI SÁV (ÁR + GOMBOK) - EGY SORBA KÉNYSZERÍTÉS
   ========================================================================== */

/* A teljes bézs sáv: flexbox-szal elrendezve */
main .col-lg-9 .row:has(.bg-light),
main .col-lg-9 .lead + .row {
    background-color: #fdfbf7 !important;
    border: 1px solid #c1a37a !important;
    border-radius: 15px !important;
    padding: 0.8rem 1.8rem !important; 
    display: flex !important;
    flex-direction: row !important;       /* Vízszintes sor */
    flex-wrap: nowrap !important;         /* TILOS A TÖRDELÉS */
    align-items: center !important;       /* Függőleges középre */
    justify-content: space-between !important;
    margin-bottom: 2.5rem !important;
    gap: 0 !important; /* Ne legyen felesleges távolság, amit nem mi adtunk meg */
}

/* AZ ÁR DOBOZA (Ebben van a felirat és a szám) */
main .col-lg-9 .row .bg-light.rounded {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    gap: 0 !important; /* Ne legyen felesleges távolság, amit nem mi adtunk meg */
    display: flex !important;             /* Belső flexbox */
    flex-direction: row !important;       /* Kényszerített sor */
    align-items: center !important;       /* Középre igazítás */
    flex-wrap: nowrap !important;         /* Sehol ne törjön meg */
    width: auto !important;               /* Ne foglalja el a teljes szélességet */
    gap: 0 !important; /* Ne legyen felesleges távolság, amit nem mi adtunk meg */
}


/* "BRUTTÓ ÁR:" Felirat */
main .col-lg-9 .bg-light.rounded small {
    font-size: 1.1rem !important; 
    font-weight: 800 !important;
    color: var(--color-text-main) !important;
    text-transform: uppercase !important;
    margin: 0 !important;
    display: inline-block !important;
    align-items: center !important;
    white-space: nowrap !important;
    line-height: 1 !important;
}

/* Az elválasztó függőleges vonal */
main .col-lg-9 .bg-light.rounded small::after {
    content: "|" !important;
    margin: 0 15px !important;
    color: #c1a37a !important;
    font-weight: 300 !important;
    font-size: 1.6rem !important;
    display: inline-block !important;     /* Maradjon a sorban */
    line-height: 1 !important;
}

/* A SZÁM (ÁR) - Itt a legfontosabb a kényszerítés */
main .col-lg-9 .bg-light.rounded h3 {
    color: #a67c52 !important;
    font-size: 2.2rem !important;
    font-weight: 800 !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    display: inline-block !important;
    white-space: nowrap !important;
    width: auto !important;               /* NE legyen 100% széles */
}

/* GOMBOK ÉS MENNYISÉG KONTÉNER */
main .col-lg-9 .row div:has(input) {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
}

/* Mennyiségválasztó */
main .col-lg-9 .row input.form-control {
    border: 2px solid #c1a37a !important;
    border-radius: 30px !important;
    height: 50px !important;
    width: 75px !important;
    text-align: center;
    margin-right: 12px;
}

/* Kosár gomb */
main .col-lg-9 .btn-success.add-to-cart{
    background-color: #a67c52 !important;
    border-radius: 35px !important;
    padding: 0 35px !important;
    height: 50px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
}



/* ==========================================================================
   TERMÉKLEÍRÁS FORMÁZÁSA (BP-DESCRIPTION) - KOMPAKT ÉS TISZTA
   ========================================================================== */
.bp-description {
    font-size: 1.15rem !important; /* Kicsit nagyobb betű a jobb olvashatóságért */
    line-height: 1.5 !important;   /* Szűkebb sorköz, hogy ne nyúljon meg a szöveg */
    color: #333 !important;
    padding-top: 0.5rem !important; /* Kevesebb hely a cím alatt */
}

/* Bekezdések távolságának szűkítése */
.bp-description p {
    margin-bottom: 0.8rem !important; /* 1.2-ről csökkentve, így feszesebb a szöveg */
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

/* Alcímek (h4) a leírásban - Közelebb a szöveghez */
.bp-description h4 {
    color: #000000 !important;
    font-family: var(--font-heading) !important;
    font-size: 1.3rem !important;
    font-weight: 700 !important;
    margin-top: 1.5rem !important;    /* Kevesebb hely az alcím felett */
    margin-bottom: 0.5rem !important; /* Szinte tapadjon az alatta lévő szöveghez */
}

/* Kiemelések */
.bp-description .accent, 
.bp-description strong {
    color: #a67c52 !important;
    font-weight: 700 !important;
}

/* ==========================================================================
   JAVÍTÁS: A DUPLA DOBOZ ELTÜNTETÉSE
   ========================================================================== */
/* Biztosítjuk, hogy a bp-description-ön belüli p elemek soha ne kapjanak keretet */
.bp-description p:first-of-type {
    background-color: transparent !important;
    border: none !important;
    padding: 0 !important;
    font-family: inherit !important;
    font-style: normal !important;
    border-radius: 0 !important;
}




/* ==========================================================================
   KATEGÓRIA LEAD BOX (AZ ADMINBAN BEÍRT SIMA SZÖVEG)
   ========================================================================== */
/* Ez formázza azt a <p> taget, amit a bp-description elé írsz az adminban */
.category-description > p:first-of-type,
main .col-12 > p:first-of-type,
.description > p:first-of-type {
    font-family: var(--font-serif) !important;
    font-style: italic !important;
    font-weight: 700 !important;
    font-size: 1.15rem !important;
    line-height: 1.6 !important;
    background-color: #f4ece2 !important;
    border: 1px solid #c1a37a !important;
    border-left: 6px solid #a67c52 !important;
    border-radius: 12px !important;
    padding: 1.5rem 2rem !important;
    margin-bottom: 2.5rem !important;
    display: block !important;
    color: var(--color-text-main) !important;
}

/* Alkategória kártyák (ikonok) finomítása */
.category-item, .product-category {
    background: #ffffff !important;
    border: 1px solid #f0f0f0 !important;
    border-radius: 15px !important;
    padding: 15px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02) !important;
}




/* ==========================================================================
   5. TERMÉKJELLEMZŐK (IGAZI TERMÉKKÁRTYA KONTRASZT)
   ========================================================================== */
main .col-lg-9 .card.mt-2 {
    background: #ffffff !important;
    border: 2px solid #c1a37a !important;
    border-radius: 0 !important;
    max-width: 650px !important;
    overflow: hidden !important;
    margin-top: 1rem !important;    /* KEVESEBB HELY FELÜL */
    margin-bottom: 0 !important;    /* NULLA HELY ALUL */
    box-shadow: 0 12px 40px rgba(166, 124, 82, 0.08) !important;
    display: flex !important;
    flex-direction: column !important;
}

main .col-lg-9 .card-header {
    background: #d4b895 !important;
    border-bottom: 2px solid #c1a37a !important;
    padding: 16px !important;
    text-align: center !important;
    color: #5d4a36 !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    font-size: 15px !important;
}

main .col-lg-9 .list-group-item {
    display: flex !important;
    padding: 0 !important;
    border: none !important;
    border-bottom: 1px solid #e8decb !important;
}

/* BAL OLDAL: Paraméter sáv */
main .col-lg-9 .list-group-item span:first-child {
    background: #f4ece2 !important;
    color: #5d4a36 !important;
    font-weight: 700 !important;
    width: 180px !important;
    padding: 12px 20px !important;
    border-right: 2px solid #c1a37a !important;
    font-size: 15px !important;
    flex-shrink: 0;
}

/* JOBB OLDAL: Adat sáv */
main .col-lg-9 .list-group-item span:last-child {
    background: #ffffff !important;
    padding: 12px 20px !important;
    flex: 1;
    display: flex;
    justify-content: flex-end !important;
    text-align: right !important;
    font-size: 15px !important;
}

main .col-lg-9 .list-group-item:nth-child(even) span:last-child {
    background: #fdfbf7 !important;
}

/* KÁRTYA FOOTER */
main .col-lg-9 .card.mt-2::after {
    content: "Babapalota – ahol a stílus és a biztonság minden úton elkísér" !important;
    display: block !important;
    background: #f8f1e7 !important;
    color: #5d4a36 !important;
    padding: 12px !important;
    text-align: center !important;
    font-size: 12px !important;
    font-style: italic !important;
    border-top: 2px solid #c1a37a !important;
}


/* ELTÜNTETJÜK A LÁTHATATLAN ÜRES HELYEKET */
main .col-lg-9 br, 
main .col-lg-9 p:empty,
main .col-lg-9 div:empty {
    display: none !important;
}

/* KIFEJEZETTEN A KAPCSOLÓDÓ TERMÉKEK KONTÉNERÉNEK FELHÚZÁSA */
.mb-4:has(h3), .col-12:has(h3) {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* ==========================================================================
   KATEGÓRIA OLDAL - LEÍRÁS ÉS LEAD BOX (HIVATALOS STÍLUS)
   ========================================================================== */

/* A kategória leírásának alapértelmezett beállításai */
.category-description, 
.description, 
main .col-12 > .description {
    font-size: 1.1rem !important;
    line-height: 1.75 !important;
    color: #333 !important;
    margin-bottom: 2.5rem !important;
}

/* AZ ELSŐ BEKEZDÉS AUTOMATIKUS ÁTALAKÍTÁSA LEAD BOX-SZÁ */
/* A webshop motor által használt konténeren belüli első p elemet célozzuk meg */
.category-description p:first-of-type, 
.description p:first-of-type,
main .col-12 > .description p:first-of-type {
    font-family: var(--font-serif) !important;
    font-style: italic !important;
    font-weight: 700 !important;
    font-size: 1.15rem !important;
    line-height: 1.6 !important;
    background-color: #f4ece2 !important; /* Arculati bézs */
    border: 1px solid #c1a37a !important;   /* Keret */
    border-left: 6px solid #a67c52 !important; /* Díszcsík */
    border-radius: 12px !important;
    padding: 1.5rem 2rem !important;
    margin-bottom: 2rem !important;
    display: block !important;
    color: var(--color-text-main) !important;
}

/* A kategóriaoldali főcím (H1) igazítása */
h1.category-title, 
h1.page-title,
main h1:first-of-type {
    font-family: var(--font-heading) !important;
    font-weight: 800 !important;
    font-size: 2.4rem !important;
    letter-spacing: -0.04em !important;
    color: var(--color-text-main) !important;
    margin-bottom: 1.8rem !important;
}

/* A leírásban esetlegesen előforduló további bekezdések távolsága */
.category-description p:not(:first-of-type), 
.description p:not(:first-of-type) {
    margin-bottom: 1.2rem !important;
}

/* ==========================================================================
   ALKATEGÓRIÁK SZEKCIÓ FORMÁZÁSA (KATEGÓRIA OLDAL)
   ========================================================================== */

/* 1. Az "Alkategóriák..." cím formázása (H3 stílus átvétele a H2-re) */
main h2 {
    font-family: var(--font-heading) !important;
    color: var(--color-text-main) !important;
    font-size: 1.3rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1rem !important;
    /* Elválasztó vonal */
    border-bottom: 1.5px solid #e8decb !important;
    padding-bottom: 12px !important;
    margin-top: 3.5rem !important;
    margin-bottom: 2rem !important;
    position: relative !important;
    display: block !important;
    width: 100% !important;
    text-align: left !important;
}

/* Arculati barna díszítőcsík az Alkategóriák cím alá */
main h2::after {
    content: "" !important;
    display: block !important;
    width: 80px !important;
    height: 3px !important;
    background-color: #a67c52 !important;
    position: absolute !important;
    bottom: -1.5px !important;
    left: 0 !important;
}

/* 2. Alkategória kártyák finomítása (Rosso, Castor, stb.) */
/* Fehér háttér, finom keret és lekerekítés, hogy ne csak lebegjenek a képek */
.category-item, .product-category {
    background: #ffffff !important;
    border: 1px solid #f0f0f0 !important;
    border-radius: 15px !important;
    padding: 15px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02) !important;
    text-align: center !important;
}

/* Hover effekt a kártyákra */
.category-item:hover, .product-category:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 25px rgba(166, 124, 82, 0.1) !important;
    border-color: #d4b895 !important;
}

/* Az alkategóriák neveinek (barna szöveg) pontosítása */
.category-item b, .category-item font, .category-item .name {
    font-family: var(--font-heading) !important;
    color: #a67c52 !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    margin-top: 12px !important;
    display: block !important;
    text-decoration: none !important;
}


/* ==========================================================================
   1. ALCÍMEK EGYSÉGESÍTÉSE (H3) - KATEGÓRIA ÉS TERMÉKOLDAL
   ========================================================================== */
/* Megcélozzuk a Termékleírás, Kapcsolódó termékek és Alkategóriák címeit */
main h3, 
.category-view h3, 
.subcategory-title, 
main .col-12 h3 {
    font-family: var(--font-heading) !important;
    color: var(--color-text-main) !important;
    font-size: 1.4rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1rem !important;
    border-bottom: 1.5px solid #e8decb !important;
    padding-bottom: 12px !important;
    margin-top: 3rem !important;
    margin-bottom: 2rem !important;
    position: relative !important;
    display: block !important;
    width: 100% !important;
    text-align: left !important;
}

/* Az egységes barna díszítőcsík minden H3 alá (Kivéve az árat!) */
main h3:not(.price-h3)::after, 
.category-view h3::after, 
main .col-12 h3::after {
    content: "" !important;
    display: block !important;
    width: 80px !important;
    height: 3px !important;
    background-color: #a67c52 !important;
    position: absolute !important;
    bottom: -1.5px !important;
    left: 0 !important;
}

/* ÁR VÉDELME (Hogy ne kapjon aláhúzást a szám) */
main .bg-light.rounded h3, 
main .price-h3 {
    border-bottom: none !important;
    padding-bottom: 0 !important;
    margin: 0 !important;
}
main .bg-light.rounded h3::after {
    display: none !important;
}

/* ==========================================================================
   2. EGYSÉGES TERMÉKKÁRTYÁK (TERMÉKLISTA)
   ========================================================================== */
/* A kártya külső konténere */
.product-item, .product-card, .category-item {
    background: #ffffff !important;
    border: 1px solid #f2ede4 !important; /* Nagyon halvány bézs keret */
    border-radius: 15px !important;
    padding: 20px !important;
    margin-bottom: 30px !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    text-align: center !important;
    box-shadow: 0 4px 15px rgba(166, 124, 82, 0.03) !important;
}

/* Lebegés effekt (Hover) */
.product-item:hover, .product-card:hover, .category-item:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 15px 35px rgba(166, 124, 82, 0.1) !important;
    border-color: #d4b895 !important;
}

/* Terméknév a listában */
.product-item .name, .product-card .title, .product-item h3:not(.price-h3) {
    font-family: var(--font-heading) !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
    color: var(--color-text-main) !important;
    text-decoration: none !important;
    margin-top: 15px !important;
    margin-bottom: 10px !important;
    line-height: 1.3 !important;
    /* Aláhúzás és csík eltüntetése a kártyán belüli nevekről */
    border: none !important;
    padding: 0 !important;
}
.product-item .name::after { display: none !important; }

/* Ár a listában */
.product-item .price, .product-card .price-tag {
    color: #a67c52 !important;
    font-weight: 800 !important;
    font-size: 1.35rem !important;
    margin-top: auto !important; /* Mindig a kártya aljára kerüljön */
    padding-top: 10px !important;
}

/* Képek a kártyán belül */
.product-item img, .product-card img, .category-item img {
    border-radius: 10px !important;
    max-width: 100% !important;
    height: auto !important;
}

/* "Kosárba" vagy "Megtekintés" gomb a kártyán (ha van) */
.product-item .btn, .product-card .btn {
    background-color: #a67c52 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 25px !important;
    padding: 10px 20px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-size: 0.85rem !important;
    margin-top: 15px !important;
    transition: background 0.2s ease !important;
}

.product-item .btn:hover {
    background-color: #8e6a45 !important;
}

/* ==========================================================================
   1. OLVASHATÓSÁG ÉS BETŰMÉRET (MINDEN LEÍRÁS)
   ========================================================================== */
/* A fő szövegtörzs méretének növelése, hogy tényleg látványos legyen */
.bp-description, 
.category-description, 
.description {
    font-size: 1.25rem !important; /* 1.15-ről 1.25-re emelve - ez már jól látható */
    line-height: 1.65 !important;
    color: #333 !important;
}


/* ==========================================================================
   2. "NINCS KAPCSOLÓDÓ TERMÉK" ALERT BOX JAVÍTÁSA
   ========================================================================== */
/* Eltüntetjük a kék színt és visszaadjuk az arculati designt */
.alert-info, 
.alert.alert-info {
    background-color: #f4ece2 !important; /* Bézs háttér */
    border: 1px solid #c1a37a !important;   /* Szaggatott barna keret */
    color: var(--color-text-main);         /* Sötétbarna szöveg */
    border-radius: 15px !important;
    padding: 1.5rem !important;
    margin-top: 0.5rem !important;         /* Közelebb húzzuk a címhez */
    font-family: var(--font-serif) !important;
    font-style: italic !important;
    text-align: center !important;
    box-shadow: none !important;
}

/* ==========================================================================
   TÉRKÖZÖK FINOMÍTÁSA A KATEGÓRIA OLDALON
   ========================================================================== */

/* 1. A cím és az alatta lévő vonal távolsága a kártyáktól */
main h3, 
.category-view h3, 
main .col-12 h3 {
    margin-top: 4rem !important;    /* Több hely a leírás végétől */
    margin-bottom: 3.5rem !important; /* JELENTŐS TÉRKÖZ a vonal és a kártyák között */
}

/* 2. Az alkategória kártyák (konténer) feletti extra hely biztosítása */
.category-item, .product-category, .subcategory-item {
    margin-top: 10px !important; 
}

/* 3. A kártyákon belüli belső térköz (hogy ne érjen a kép a széléhez) */
.category-item, .product-category {
    padding: 25px !important; /* Több belső hely a kártyán belül */
    margin-bottom: 40px !important; /* Több hely a kártyasorok között */
    background: #ffffff !important;
    border-radius: 20px !important; /* Kicsit kerekebb, modernebb sarkok */
}

/* 4. A képek és a szöveg közötti távolság a kártyán belül */
.category-item img, .product-category img {
    margin-bottom: 20px !important;
}

/* 5. Ha a webshop motor rácsot (grid) használ, adjunk neki köztes távolságot */
.row.category-view, .subcategory-list {
    gap: 25px 0 !important; /* Függőleges távolság a sorok között */
}

.mb-3.display-4.fw-bold, .h2{
color: #ffffff !important;
}

.col-lg-6.col-md-12.mb-4.mb-md-0 .text-uppercase{
color: #ffffff !important;
}