/* Home Page 19 - Header Area (2-column: categories / slider+promos) */

/* topbar contact items */
.h19-topbar-email a,
.h19-topbar-contact a { display: inline-flex; align-items: center; gap: 6px; }
.h19-topbar-email i,
.h19-topbar-contact i { font-size: 14px; }

@media (max-width: 991px) {
    .home-variant-19.topbar-area .container-one > .row {
        flex-direction: column;
        align-items: center;
        gap: 2px;
    }
    .home-variant-19.topbar-area .container-one > .row > [class*="col-"] {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
        display: flex;
        justify-content: center;
    }
}

.h19-header {
    padding: 30px 0;
    background: #f5f6f8;
}
.h19-grid {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 20px;
    align-items: start;
}
@media (max-width: 1199px) {
    .h19-grid { grid-template-columns: 220px 1fr; }
    .h19-recommend { display: none; }
}
@media (max-width: 767px) {
    .h19-grid { grid-template-columns: 1fr; }
    .h19-categories { display: none; }
}

/* LEFT - categories */
.h19-categories {
    background: #fff;
    border-radius: 8px;
    padding: 20px 0;
}
.h19-cat-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 22px 14px;
    font-size: 20px;
    font-weight: 700;
    color: #222;
}
.h19-cat-list { list-style: none; margin: 0; padding: 0; }
.h19-cat-list li a {
    display: block;
    padding: 9px 22px;
    font-size: 14px;
    color: #444;
    text-decoration: none;
    transition: color .2s, background .2s;
}
.h19-cat-list li a:hover { color: #ff6b35; background: #fafafa; }
.h19-cat-more {
    display: inline-block;
    padding: 12px 22px 0;
    font-size: 14px;
    font-weight: 600;
    color: #2f6fed;
    text-decoration: none;
}

/* CENTER - slider + promos */
.h19-center { display: flex; flex-direction: column; gap: 20px; }
.h19-slider {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    min-height: 540px;
}
.h19-slide {
    position: relative;
    min-height: 540px;
    display: none;
    background: linear-gradient(135deg, #1a2855 0%, #24336b 50%, #16294f 100%);
}
.h19-slide.active { display: block; }
.h19-slide-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
}
.h19-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(20,32,70,0.95) 0%, rgba(20,32,70,0.7) 40%, rgba(20,32,70,0) 65%);
}
.h19-slide-content {
    position: relative;
    z-index: 2;
    padding: 70px 60px;
    max-width: 55%;
}
@media (max-width: 767px) {
    .h19-slide-content { max-width: 100%; padding: 40px 30px; }
    .h19-slider, .h19-slide { min-height: 360px; }
}
.h19-slide-sub { color: rgba(255,255,255,.85); font-size: 18px; margin: 0 0 6px; }
.h19-slide-title { color: #fff; font-size: 42px; font-weight: 700; line-height: 1.15; margin: 0 0 10px; }
.h19-slide-title-color { color: #ff6b35; }
.h19-slide-desc { color: rgba(255,255,255,.85); font-size: 18px; margin: 0 0 28px; }
.h19-slide-btn {
    display: inline-block;
    background: #fff;
    color: #1a2855;
    padding: 12px 34px;
    border-radius: 24px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s;
}
.h19-slide-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0,0,0,.25); color: #1a2855; }
.h19-dots {
    position: absolute;
    bottom: 22px;
    left: 60px;
    z-index: 3;
    display: flex;
    gap: 9px;
}
@media (max-width: 767px) { .h19-dots { left: 30px; } }
.h19-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: rgba(255,255,255,.45);
    cursor: pointer;
    transition: background .2s;
}
.h19-dot.active { background: #ff6b35; }

/* promo row */
.h19-promos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
@media (max-width: 575px) { .h19-promos { grid-template-columns: repeat(2, 1fr); } }
.h19-promo {
    display: block;
    background: #fff;
    border-radius: 8px;
    padding: 18px 16px;
    min-height: 120px;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    transition: background .25s;
}
.h19-promo:hover { background: #eaeaea; }
.h19-promo-title { font-size: 16px; font-weight: 600; color: #222; line-height: 1.3; }
.h19-promo-img {
    position: absolute;
    right: 8px;
    bottom: 8px;
    max-width: 55%;
    max-height: 60px;
    object-fit: contain;
    transition: opacity .25s;
}
.h19-promo:hover .h19-promo-img { opacity: 0; }
.h19-promo-hover {
    position: absolute;
    inset: 0;
    padding: 18px 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    opacity: 0;
    transition: opacity .25s;
    pointer-events: none;
}
.h19-promo:hover .h19-promo-hover { opacity: 1; }
.h19-promo-hover-text { font-size: 16px; color: #222; line-height: 1.4; }
.h19-promo-hover-arrow { font-size: 22px; color: #222; }

/* RIGHT - you may like */
.h19-recommend {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
}
.h19-rec-head { font-size: 20px; font-weight: 700; color: #222; margin: 0 0 16px; }
.h19-rec-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    text-decoration: none;
}
.h19-rec-item img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}
.h19-rec-name { font-size: 15px; font-weight: 600; color: #222; }
.h19-rec-count { font-size: 13px; color: #888; }
.h19-rec-empty { font-size: 14px; font-weight: 600; color: #555; margin: 16px 0 12px; }
.h19-rec-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    border: 1px solid #ff6b35;
    color: #ff6b35;
    background: #fff;
    padding: 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s, color .2s;
}
.h19-rec-btn:hover { background: #ff6b35; color: #fff; }

/* Popular Products — fixed 4-col grid (no slider stretch) */
.h19-popular-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.h19-popular-item {
    min-width: 0;
}
@media (max-width: 1199px) {
    .h19-popular-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767px) {
    .h19-popular-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .h19-popular-grid { grid-template-columns: 1fr; }
}

/* Follow Us (Instagram) — fixed 6-col grid */
.h19-instagram-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}
.h19-instagram-grid .single-instagram {
    min-width: 0;
}
.h19-instagram-grid .instagram-image {
    height: 180px;
}
.h19-instagram-grid .instagram-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}
@media (max-width: 1199px) {
    .h19-instagram-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 767px) {
    .h19-instagram-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
    .h19-instagram-grid { grid-template-columns: repeat(2, 1fr); }
}
