/* ================================================================
   SUPER.KG Embed Header CSS  — prefix: skg-hdr-
   All rules scoped inside .skg-hdr-wrap to avoid IPB conflicts.
   ================================================================ */

/* ---------- Reset ---------- */
.skg-hdr-wrap,
.skg-hdr-wrap * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.4;
}

.skg-hdr-wrap a {
    text-decoration: none;
}

/* ---------- Top white bar ---------- */
.skg-hdr-top {
    background: #fff;
    border-bottom: 1px solid #dee2e6;
    padding: 10px 0;
}

.skg-hdr-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Logo */
.skg-hdr-logo {
    flex-shrink: 0;
    display: block;
}

.skg-hdr-logo img {
    display: block;
    height: 60px;
    width: auto;
}

/* Social icons */
.skg-hdr-socials {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #6c757d;
    font-size: 20px;
}

.skg-hdr-socials a {
    color: #6c757d;
    transition: color .15s;
}

.skg-hdr-socials a:hover {
    color: #B00000;
}

/* Search */
.skg-hdr-search {
    display: flex;
    align-items: center;
    flex: 1;
    max-width: 340px;
    gap: 6px;
}

.skg-hdr-search input[type="text"] {
    flex: 1;
    border: 1px solid #ced4da;
    border-radius: 4px;
    padding: 6px 10px;
    font-size: 14px;
    outline: none;
    color: #333;
    background: #fff;
}

.skg-hdr-search input[type="text"]:focus {
    border-color: #B00000;
}

.skg-hdr-search button {
    background: #6c757d;
    border: none;
    border-radius: 4px;
    padding: 6px 12px;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    white-space: nowrap;
}

.skg-hdr-search button:hover {
    background: #B00000;
}

/* Login */
.skg-hdr-login {
    font-size: 13px;
    color: #6c757d;
    white-space: nowrap;
    text-align: center;
    margin-left: auto;
}

.skg-hdr-login a {
    color: #6c757d;
    display: block;
}

.skg-hdr-login a:hover {
    color: #B00000;
}

/* ---------- Red navigation bar (desktop) ---------- */
.skg-hdr-nav-bar {
    background: #B00000;
    display: block;
}

.skg-hdr-nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    align-items: stretch;
}

.skg-hdr-nav-items {
    display: flex;
    align-items: stretch;
    flex: 1;
}

/* Individual nav item */
.skg-hdr-nav-item {
    position: relative;
}

.skg-hdr-nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #fff;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: .3px;
    padding: 10px 13px;
    white-space: nowrap;
    transition: background .15s;
}

.skg-hdr-nav-link:hover {
    background: rgba(0, 0, 0, .18);
    color: #ffd700;
}

/* Dropdown */
.skg-hdr-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid #dee2e6;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .15);
    min-width: 190px;
    z-index: 10000;
    list-style: none;
}

.skg-hdr-nav-item:hover .skg-hdr-dropdown {
    display: block;
}

.skg-hdr-dropdown li a {
    display: block;
    padding: 8px 14px;
    font-size: 13px;
    color: #333;
    white-space: nowrap;
}

.skg-hdr-dropdown li a:hover {
    background: #f5f5f5;
    color: #B00000;
}

/* Ad info button (right side of nav) */
.skg-hdr-ad-btn {
    background: #900;
    display: flex;
    align-items: center;
}

.skg-hdr-ad-btn a {
    color: #fff;
    font-size: 11px;
    text-transform: uppercase;
    padding: 10px 14px;
    white-space: nowrap;
}

.skg-hdr-ad-btn a:hover {
    background: rgba(0, 0, 0, .2);
}

/* ---------- Mobile navigation (details/summary, no JS) ---------- */
.skg-hdr-mobile {
    display: none;
    background: #B00000;
}

.skg-hdr-mobile > summary {
    display: block;
    list-style: none;
    cursor: pointer;
    color: #fff;
    font-size: 15px;
    padding: 10px 16px;
    background: #B00000;
    user-select: none;
}

.skg-hdr-mobile > summary::-webkit-details-marker {
    display: none;
}

.skg-hdr-mobile-links {
    background: #8B0000;
}

.skg-hdr-mobile-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.skg-hdr-mobile-links > ul > li > a {
    display: block;
    color: #fff;
    text-transform: uppercase;
    font-size: 13px;
    padding: 10px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.skg-hdr-mobile-links > ul > li > a:hover {
    background: rgba(0, 0, 0, .15);
}

.skg-hdr-mobile-sub {
    background: rgba(0, 0, 0, .2);
    padding: 0;
    list-style: none;
}

.skg-hdr-mobile-sub li a {
    display: block;
    padding: 8px 32px;
    font-size: 12px;
    color: rgba(255, 255, 255, .85);
    border-bottom: 1px solid rgba(255, 255, 255, .05);
}

.skg-hdr-mobile-sub li a:hover {
    color: #ffd700;
}

.skg-hdr-mobile-ad {
    padding: 10px 20px;
}

.skg-hdr-mobile-ad a {
    color: #ffd700;
    font-size: 12px;
    text-transform: uppercase;
}

/* ---------- Responsive breakpoint ---------- */
@media (max-width: 800px) {
    .skg-hdr-socials,
    .skg-hdr-search,
    .skg-hdr-login {
        display: none;
    }

    .skg-hdr-nav-bar {
        display: none;
    }

    .skg-hdr-mobile {
        display: block;
    }
}
