/* ================================
BUTOR PRO LUXUS TEMPLATE
================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;700&family=Inter:wght@300;400;600&display=swap');

*{
box-sizing:border-box;
margin:0;
padding:0;
}

body{
font-family:'Inter',sans-serif;
background:#f5f1ea;
color:#1e1e1e;
line-height:1.6;
}

/* ================================
CONTAINER
================================ */

.container{

padding: 0px 20px 5px 20px;
}

.three-columns-grid{
gap:30px;
}

.three-col{
background:#fbfaf9;
border-radius:3px;
padding:25px;
box-shadow:0 10px 25px rgba(0,0,0,.06);
}

/* ================================
HEADER
================================ */

header{
background:#ffffff;
border-bottom:1px solid #eee;
z-index:1000;
}

.topheader-logo img{
height:60px;
}

/* MENU */

nav.top-menu ul{
gap:35px;

}

nav.top-menu a{
font-weight:500;
letter-spacing:.5px;
font-size:18px;
}

nav.top-menu li a {
    color: #c39817;
    padding: 8px 12px;
    display: block;
}


/* ================================
CATEGORY GRID
================================ */

.category-grid{
display:grid;
gap:30px;
margin-top:30px;
}

.category-card{
border-radius:10px;
padding:30px;
transition:.3s;
box-shadow:0 8px 30px rgba(0,0,0,.08);
}

.category-card{

box-shadow:0 16px 40px rgba(0,0,0,.15);
}

.cat-name{
font-family:'Playfair Display',serif;
font-size:22px;
color:#3b2f2f;
}

/* ================================
MODULE = usfefull info
================================ */

.useful-info-text {
 color:#a97a1f;
}

.useful-info-simple .useful-info-header h3 {
	color:#a97a1f;
}

/* ================================
PRODUCT GRID
================================ */

.product-grid{
gap:35px;
margin-top:30px;
}

.product-card{
background:#fff;
border-radius:8px;
transition:.35s;
box-shadow:0 6px 30px rgba(0,0,0,.08);
}

.product-card{
transform:(-10px);
box-shadow:0 16px 45px rgba(0,0,0,.18);
}

/* IMAGE */

.product-card img{
width:100%;
height:240px;
transition:.4s;
}



/* TITLE */

.product-card h2{
font-family:'Playfair Display',serif;
font-size:18px;
padding:18px;
}

/* PRICE */

.product-card .price{
font-size:22px;
font-weight:600;
color:#2e7d32;
padding:0 18px 15px;
}

/* BUTTON */

.product-details-btn{

margin:10px 18px 20px;
padding:12px 18px;
background:#2e7d32;
border-radius:4px;
font-weight:600;
transition:.3s;
}

.product-details-btn

/* ================================
PRODUCT PAGE
================================ */

.product-page{

gap:40px;
}

.product-title{
font-family:'Playfair Display',serif;
font-size:34px;
margin-bottom:10px;
}

.product-price{
font-size:30px;
color:#2e7d32;
font-weight:600;
}

/* ================================
BREADCRUMB
================================ */

.breadcrumb{
font-size:14px;
margin:15px 0;
color:#666;
}

/* ================================
SIDEBAR
================================ */

.content-left,
.content-right{
background:#f3f2ef;
padding:0px;
border-radius:6px;
box-shadow:0 4px 20px rgba(0,0,0,.05);
}

.category-title {
	color: #829b27;
}

.module-scope-left .cat-row {
	border-bottom: 1px solid #e5dfc2;
}

/* ================================
CONTENT
================================ */
.content-center {
    background: #f3ebdf;
    padding: 20px 15px;
}


/* ================================
HAMBURGER
================================ */

.hamburger{
font-size:28px;

}


/* ============================= */
/* BUTOR PRO HEADER */
/* ============================= */

header{
display:flex;
align-items:center;
justify-content:space-between;
padding:18px 30px;
background:#fff;
border-bottom:1px solid #eee;
}

/* LOGO */

.topheader-logo{
display:flex;
align-items:center;
gap:10px;
font-family:'Playfair Display',serif;
font-size:20px;
}

.topheader-logo a{
display:flex;
align-items:center;
gap:10px;
text-decoration:none;
color:#3b2f2f;
}

/* MENU */

nav.top-menu{
display:flex;
align-items:center;
gap:30px;
}

nav.top-menu ul{
display:flex;
gap:30px;
list-style:none;
}

/* CART */

#cart-link{
background:#e3d986;
color:white;
padding:10px 18px;
border-radius:4px;
font-weight:600;
text-decoration:none;
}

/* MOBILE MENU */

.menu-items{
display:none;
position:absolute;
top:80px;
left:0;
width:100%;
background:#f5f1ea;
box-shadow:0 10px 30px rgba(0,0,0,.15);
padding:20px;
}

.menu-items.active{
display:block;
}

.menu-items ul{
flex-direction:column;
gap:15px;
}

.hamburger{
display:none;
}



/* MOBILE */

@media(max-width:900px){

nav.top-menu{
display:none;
}

.hamburger{
display:block;
}

}

@media (max-width: 768px) {
    .category-menu a, .page-menu a {
        color: #c79f4e;
        display: inline-block;
    }
}

/* ==================== Footer Lux ==================== */
div#footer {
    width: 100%;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    background: #324f33; /* bútoros sötétzöld */
    background: linear-gradient(135deg, #324f33 0%, #1e3a24 100%);
}

div#footer a, div#footer p, div#footer li, div#footer h4 {
    margin: 0;
    padding: 0;
    font-family: 'Work Sans', sans-serif;
    list-style: none;
}

div#footer section {
    padding: 80px 13% 70px;
}

div#footer .footer {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(200px,auto));
    gap: 3.5rem;
	background: #324f33;
}

div#footer .footer-content h4 {
    color: #fff9e6;
    margin-bottom: 1.5rem;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

div#footer .footer-content li {
    margin-bottom: 14px;
}

div#footer .footer-content li a {
    display: block;
    color: #e0d9c2;
    font-size: 15px;
    font-weight: 400;
    transition: all 0.35s ease;
    text-decoration: none;
}

div#footer .footer-content li a:hover {
    transform: translateY(-2px) translateX(-3px);
    color: #fff9e6;
    text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}

div#footer .footer-content p {
    color: #e0d9c2;
    font-size: 16px;
    line-height: 28px;
    margin: 20px 0;
    text-shadow: 0 0 1px rgba(0,0,0,0.3);
}

div#footer .icons a {
    display: inline-block;
    font-size: 22px;
    color: #e0d9c2;            
    margin-right: 15px;
    transition: all 0.35s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    border-radius: 50%;
    padding: 5px;
}

div#footer .icons a:hover {
    color: #fff9e6;
    transform: scale(1.2);
    box-shadow: 0 4px 12px rgba(0,0,0,0.35);
}

/* MOBILE FOOTER */
@media (max-width: 1690px) {
    div#footer section {
        padding: 50px 5% 40px;
    }
}

@media (max-width: 1120px) {
    div#footer .footer {
        grid-template-columns: repeat(auto-fit, minmax(300px, auto));
        gap: 2rem;
    }
}

@media (max-width: 700px) {
    div#footer .footer {
        grid-template-columns: repeat(auto-fit, minmax(150px, auto));
        gap: 2.5rem;
    }
}

/* ==================== Butor Pro Category Card – Product Style ==================== */
.category-card {
    background: #f5f1ea; /* világos bézs, illeszkedik a template-hez */
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: transform 0.35s, box-shadow 0.35s, background 0.35s;
    box-shadow: 0 6px 30px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 45px rgba(0,0,0,0.18);
    background: #f9f5eb; /* enyhe hover világosítás */
}

.category-card a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    width: 100%;
    height: 100%;
}

.category-card .cat-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    border-radius: 50%;
    background: #ffffff;
    transition: transform 0.35s, box-shadow 0.35s, background 0.35s;
}

.category-card:hover .cat-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    background: #f0e8d8; /* hover bézs tónus */
}

.category-card .cat-icon svg {
    width: 36px;
    height: 36px;
    fill: #c79f4e; /* arany szín a bútoros oldalhoz*/
}

.cat-name {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 1.2;
    color: #3b2f2f;
    margin: 0;
    transition: color 0.3s;
}

.category-card:hover .cat-name {
    color: #2e7d32; /* finom zöld hover */
}

/* ========================================================= */
/* === Mobil kategóriafa új stílus: inline nyíl + fix sortörés === */
/* ========================================================= */

.mobile-cat-tree,
.mobile-cat-tree ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-cat-tree li {
    margin: 4px 0;
}

.mobile-cat-tree .cat-row {
    display: flex;
    align-items: center;
    gap: 20px; /* Ez lesz a távolság a név és a nyíl között */
    padding: 6px 12px;
    justify-content: flex-start; /* NE tolja jobbra a nyilat */
}


.mobile-cat-tree .cat-row .cat-link {
    flex: 1 1 auto; /* a link kitölti a maradék helyet */
    color: #fff;
    text-decoration: none;
    white-space: normal !important;      /* engedjük a sortörést */
    overflow-wrap: break-word !important;/* hosszú szavaknál törés */
    word-break: break-word !important;   /* kompatibilitás böngészőkkel */
    overflow: visible !important;        /* ne vágjon le semmit */
    flex: 1 1 auto;    
}

.mobile-cat-tree .toggle-sub {
    display: inline-block;
    width: auto; /* ne foglaljon fix szélességet */
    text-align: center;
    user-select: none;
    cursor: pointer;
    flex: 0 0 auto;
    font-size: 30px;
    line-height: 1;
    opacity: 0.8;
}

.mobile-cat-tree .child-list {
    padding-left: 12px;
    margin-top: 4px;
    border-left: 1px solid rgba(255,255,255,0.06);
}

.mobile-cat-tree .child-list li .cat-row {
    padding: 4px 10px;
    font-size: 0.95rem;
}