.sh-home {
    max-width: 100%;
    margin: 0 auto;
    padding: 22px 18px 65px;
    color: #20252b
}

.sh-home * {
    box-sizing: border-box
}

.sh-top-layout {
    display: grid;
    grid-template-columns: 245px 1fr;
    gap: 20px
}

.sh-catbox {
    border: 1px solid #e5e7eb;
    align-self: start
}

.sh-catbox h3 {
    background: #e11d25;
    color: white;
    font-size: 14px;
    margin: 0;
    padding: 14px
}

.sh-catbox>a {
    display: block;
    padding: 6px 14px;
    border-bottom: 1px solid #eee;
    color: #222;
    text-decoration: none;
    font-size: 13px
}

.sh-catbox>a:hover {
    background: #fff4f4
}

.sh-catbox .sh-cat-sale {
    background: #d71920;
    color: #fff;
    text-align: center;
    font-weight: 700
}

.sh-hero-main img {
    width: 100%;
    height: 355px;
    object-fit: cover
}

.sh-placeholder {
    height: 355px;
    background: #f5f5f5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #777
}

.sh-placeholder strong {
    font-size: 30px
}

.sh-banner {
    display: block;
    margin-bottom: 12px
}

.sh-banner img {
    width: 100%;
    height: auto;
    display: block
}

.sh-features {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    border: 1px solid #e5e7eb;
    margin: 20px 0;
    padding: 16px;
    text-align: center;
    gap: 10px
}

.sh-features strong,.sh-features small {
    display: block
}

.sh-features small {
    color: #777;
    margin-top: 4px
}

.sh-promos {
    display: grid;
    grid-template-columns: 1fr 2.4fr 1fr;
    gap: 15px;
    align-items: start
}

.sh-section {
    text-align: center;
    margin: 58px 0
}

.sh-section>h2 {
    font-size: 32px;
    color: #db272e;
    margin: 0 0 8px
}

.sh-section>p {
    font-size: 17px;
    font-style: italic;
    color: #666;
    margin: 0 0 28px
}

.sh-products {
    display: grid;
    grid-template-columns: repeat(5,minmax(0,1fr));
    gap: 14px;
    text-align: center
}

.sh-product {
    border: 1px solid #ececec;
    padding: 9px 9px 14px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px
}

.sh-photo {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    color: #aaa
}

.sh-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain
}

.sh-product-name {
    font-size: 13px;
    color: #222;
    text-decoration: none;
    line-height: 1.4;
    min-height: 40px;
    font-weight: 600
}

.sh-price {
    font-size: 12px
}

.sh-price b {
    color: #178443
}

.sh-buy {
    margin-top: auto;
    background: #087f89;
    color: white;
    text-decoration: none;
    padding: 10px 5px;
    border-radius: 4px;
    font-size: 12px
}

.sh-sale-tag {
    background: #ed3743;
    color: #fff;
    padding: 3px
}

.sh-review-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 15px;
    text-align: left
}

.sh-review-grid blockquote {
    margin: 0;
    padding: 20px;
    background: #f6f6f6;
    border-radius: 10px
}

.sh-review-grid blockquote div {
    color: #f2ad16
}

.sh-faq {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 12px;
    text-align: left
}

.sh-faq details {
    border: 1px solid #ddd;
    padding: 12px
}

.sh-faq summary {
    cursor: pointer;
    font-weight: 600
}

@media(max-width: 900px) {
    .sh-products {
        grid-template-columns:repeat(3,1fr)
    }

    .sh-top-layout {
        grid-template-columns: 200px 1fr
    }
}

@media(max-width: 600px) {
    .sh-top-layout {
        grid-template-columns:1fr
    }

    .sh-promos {
        grid-template-columns: 1fr 1fr
    }

    .sh-products {
        grid-template-columns: repeat(2,1fr)
    }

    .sh-features,.sh-review-grid,.sh-faq {
        grid-template-columns: 1fr
    }

    .sh-section>h2 {
        font-size: 26px
    }
}

/* V45: banner image and independently editable overlay buttons */
.sh-hero {
    position: relative;
    min-width: 0;
    overflow: hidden;
    background: #111
}

.sh-hero-picture {
    display: block;
    width: 100%;
    height: 100%
}

.sh-hero-picture img {
    display: block;
    width: 100%;
    height: auto;
    min-height: 355px;
    object-fit: cover
}

.sh-hero-actions {
    position: absolute;
    left: 4%;
    bottom: 6%;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    max-width: 92%;
    z-index: 2
}

.sh-hero-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-height: 47px;
    padding: 12px 20px;
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 7px;
    text-decoration: none!important;
    font-weight: 800;
    font-size: clamp(12px,1.3vw,17px);
    box-shadow: 0 5px 16px rgba(0,0,0,.35);
    transition: transform .18s,filter .18s
}

.sh-hero-action:hover,.sh-hero-action:focus-visible {
    transform: translateY(-2px);
    filter: brightness(1.12)
}

.sh-hero-action span {
    font-size: 24px;
    line-height: 1
}

@media(max-width: 700px) {
    .sh-hero-actions {
        bottom:6%;
        left: 3%;
        right: 3%;
        max-width: 94%;
        gap: 6px
    }

    .sh-hero-action {
        min-height: 36px;
        padding: 7px 10px;
        gap: 7px;
        font-size: 11px
    }

    .sh-hero-action span {
        font-size: 17px
    }

    .sh-hero-picture img {
        min-height: 210px
    }
}

@media(max-width: 420px) {
    .sh-hero-actions {
        flex-direction:column;
        align-items: flex-start
    }

    .sh-hero-action {
        min-height: 30px;
        padding: 5px 9px
    }
}

/* V53 – Középső reklámbannerek: eredeti képarány, vágás nélkül */
.sh-promos {
    align-items: start;
}

.sh-promos .sh-promo-column.sh-promo-center {
    display: flex;
    flex-direction: column;
    align-self: start;
    justify-content: flex-start;
    gap: 12px;
    min-width: 0;
    height: auto;
    margin: 0;
    padding: 0;
}

.sh-promos .sh-promo-column.sh-promo-center .sh-banner {
    display: block;
    flex: 0 0 auto;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    overflow: visible;
}

.sh-promos .sh-promo-column.sh-promo-center .sh-banner img {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: initial;
}

/* V54 – Egységes, teljes termékkártyák */
.sh-products{grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch}
.sh-product{position:relative;gap:10px;padding:14px;border-radius:8px;background:#fff}
.sh-product-badges{display:flex;flex-wrap:wrap;gap:4px;min-height:24px}
.sh-product-badges span{font-size:11px;font-weight:700;color:#fff;background:#d71920;padding:5px 7px;border-radius:3px}
.sh-product-badges .sh-tag-new{background:#e11d48}.sh-product-badges .sh-tag-sale{background:#198600}
.sh-product-name{font-size:16px;min-height:unset;font-weight:700}
.sh-product-cats{font-size:12px;color:#64748b;min-height:28px}
.sh-product-sku{font-size:12px;color:#426caa}
.sh-price{font-size:14px}.sh-cart-form{margin-top:auto;width:100%}
.sh-buy{display:block;width:100%;border:0;cursor:pointer;background:#008cc6;color:white;padding:12px 8px;font-weight:700;font-size:14px;text-align:center}
.sh-product>a.sh-buy{margin-top:auto}
/* V54 – Lábléc tördelés és hosszú tartalmak kezelése */
.site-footer .footer-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px}
.site-footer .footer-col{min-width:0;overflow-wrap:anywhere;word-break:normal}
.site-footer .footer-col-content{white-space:normal;line-height:1.65;font-family:inherit;font-size:14px}
.site-footer .footer-col-title{font-size:20px;margin:0 0 18px}
.site-footer .footer-menu{list-style:none;padding:0;margin:0}
.site-footer .footer-menu li{margin:0 0 10px}
.site-footer .footer-menu a{color:inherit;text-decoration:none}
@media(max-width:1050px){.sh-products{grid-template-columns:repeat(3,minmax(0,1fr))}.site-footer .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.sh-products{grid-template-columns:repeat(2,minmax(0,1fr))}.site-footer .footer-grid{grid-template-columns:1fr}}

/* V55: strukturált lábléc; biztonságos tördelés, kattintható elérhetőségek */
.site-footer .footer-col{min-width:0;overflow-wrap:anywhere}
.site-footer .footer-col-content p{margin:0 0 12px;line-height:1.65}
.site-footer .footer-col-content a{color:inherit;text-decoration:underline;text-underline-offset:3px}
.site-footer .footer-v55-contact h5{font-size:1rem;color:#fff;margin:18px 0 8px}
.site-footer .footer-v55-benefits{list-style:none;padding:0;margin:0}
.site-footer .footer-v55-benefits li{position:relative;padding:0 0 8px 20px;line-height:1.5}
.site-footer .footer-v55-benefits li::before{content:"✓";position:absolute;left:0;color:#ef3340;font-weight:700}
.site-footer .footer-v55-help{margin-top:14px!important}

/* Duplex: adminban beállított kategóriaszín a főoldali kategórialistán */
.sh-catbox > a.dx-home-category{border-left:3px solid var(--dx-category-border,#e5e7eb);padding-left:11px}

/* Duplex: a szallitasi elonyok csak mobilon rejtve; asztali nezet valtozatlan. */
@media (max-width: 650px) {
    .sh-features { display: none; }
}

/* Duplex V57: stabil, vagasmentes fooldali banner es gombsor */
.sh-top-layout > * { min-width: 0; }
.sh-hero { display: flex; flex-direction: column; min-width: 0; overflow: hidden; background: #11111100; }
.sh-hero-picture { display: block; width: 100%; height: auto; flex: 0 0 auto; }
.sh-hero-picture img,
.sh-hero .sh-hero-picture img { display: block; width: 100%; height: auto; min-height: 0; max-width: 100%; object-fit: contain; }
.sh-hero-actions { position: static; left: auto; right: auto; bottom: auto; width: 100%; max-width: none; padding: 16px clamp(12px, 3.5%, 40px) 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 12px; background: #111; }
.sh-hero-action { flex: 0 1 auto; min-height: 44px; font-size: clamp(12px, 1.15vw, 16px); }
@media (max-width: 700px) {
 .sh-hero-actions { position: static; left: auto; right: auto; bottom: auto; max-width: none; padding: 12px; gap: 8px; }
 .sh-hero-picture img, .sh-hero .sh-hero-picture img { min-height: 0; }
 .sh-hero-action { min-height: 40px; padding: 9px 12px; font-size: 12px; }
}
@media (max-width: 420px) {
 .sh-hero-actions { flex-direction: row; align-items: stretch; }
 .sh-hero-action { flex: 1 1 145px; }
}

/* Duplex V60 – kompakt Új termékek bevezető mobilon. */
@media(max-width:650px){
 .sh-home .sh-section{margin:22px 0 30px}
 .sh-home .sh-section>h2{font-size:24px;line-height:1.2;margin-bottom:5px}
 .sh-home .sh-section>p{font-size:13px;line-height:1.4;margin:0 auto 14px;max-width:330px}
}
