@font-face {
    font-family: 'b koodak';
    src: url('../fonts/BKoodakBold.woff') format('woff'),
         url('../fonts/BKoodakBold.ttf') format('truetype');
}
body {
     font-family: 'b koodak', sans-serif;
    direction: rtl;
    overflow-x: hidden;
}
.alert-bar {
    width: 100%;
    background: #ed2224;
    color: #fff;
    text-align: center;
    padding: 8px;
    font-size: 16px;
}
header {
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
}
.header-top {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 6px 32px 6px 16px;
    font-size: 15px;
}
.header-logo {
    margin-left: 0;
    margin-right: 0;
    display: flex;
    align-items: center;
}
.header-logo img {
    height: 32px;
}
.header-actions {
    display: flex;
    align-items: center;
}
.header-actions span,
.header-actions a {
    margin-right: 8px;
    color: #333;
    text-decoration: none;
    font-size: 16px;
}
.header-actions .icon-cart,
.header-actions .icon-heart,
.header-actions .icon-user {
    color: #26a3e4;
    font-size: 18px;
}
.header-actions .icon-cart {margin-right: 2px;}
.header-actions .icon-heart {margin-right: 2px;}
.header-actions .icon-user {margin-right: 2px;}
.header-actions a {margin-right: 9px;}
.header-btn {
    background: #26a3e4;
    color: #000000;
    padding: 8px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.2s, color 0.2s;
}
.header-btn:hover,
.header-btn:focus {
    background: #26a3e4;
    color: #fff;
}
header.sticky {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}


.main-nav {
    display: flex;
    align-items: center;
    padding: 8px 32px;
    background: #fff;
    border-bottom: 2px solid #26a3e4;
    flex-wrap: wrap;
}
.nav-list {
    display: flex;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0 32px 0 0;
    font-size: 16px;
    flex-wrap: wrap;
}
.nav-list > li {
    position: relative;
    margin-left: 26px;
}
.nav-list > li:first-child > a {
    display: flex;
    align-items: center;
    position: relative;
}
.nav-list > li:first-child > a::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    margin-right: 6px;
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
    border-top: 6px solid #333;
    line-height: 1;
    position: relative;
    top: 2px;
}
.nav-list > li > a {
    color: #333;
    text-decoration: none;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background 0.2s;
    display: flex;
    align-items: center;
}
.nav-list > li:hover > a,
.nav-list > li:focus > a {
    background: #26a3e4;
    color: #fff;
}
.nav-list > li:hover .submenu,
.nav-list > li:focus-within .submenu {
    display: block;
}
.submenu {
    display: none;
    position: absolute;
    top: 28px;
    right: 0;
    background: #fff;
    min-width: 220px;
    box-shadow: 0 2px 18px #0002;
    border-radius: 12px;
    z-index: 1000;
    padding: 20px 0;
    text-align: right;
    border: 1px solid #e8e8e8;
    list-style: none;
}
.submenu li {
    padding: 10px 26px 10px 14px;
    font-size: 15px;
    color: #333;
    transition: background 0.15s;
    border-bottom: 1px solid #f5f5f5;
}
.submenu li:last-child {
    border-bottom: none;
}
.submenu li:hover,
.submenu li:focus {
    background: #f3faff;
    color: #26a3e4;
}
.submenu li a {
    color: inherit;
    text-decoration: none;
    display: block;
}


.search-bar {
    display: flex;
    align-items: center;
    margin-right: auto;
    flex-shrink: 1;
}
.search-bar input {
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 5px 10px;
    margin-left: 3px;
    font-size: 15px;
    width: 180px;
    min-width: 0;
}
.search-bar button {
    border: none;
    background: #26a3e4;
    color: #fff;
    border-radius: 6px;
    padding: 6px 16px;
    font-size: 15px;
    margin-right: 3px;
}
.red-btn, .blue-btn {
    margin-right: 14px;
    border: none;
    padding: 7px 14px;
    font-size: 15px;
    border-radius: 6px;
    display: flex;
    align-items: center;
}
.red-btn i, .blue-btn i {
    margin-left: 6px;
}
.red-btn {
    background: #ed2224;
    color: #fff;
}
.blue-btn {
    background: #26a3e4;
    color: #fff;
}
.blue-btn:hover,
.blue-btn:focus {
    color: #fff;
    background: #1d85c9;
    text-decoration: none;
}
.header-btn {
    background: #26a3e4;
    color: #000000;
    padding: 8px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.2s, color 0.2s;
}
.header-btn:hover,
.header-btn:focus {
    background: #26a3e4;
    color: #fff;
}
header.sticky {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.blue-btn {
    text-decoration: none;
    color: #fff;
    background: #26a3e4;
    border: none;
    border-radius: 6px;
    padding: 7px 14px;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
}
.blue-btn:hover,
.blue-btn:focus {
    color: #fff;
    background: #1d85c9;
    text-decoration: none;
}


footer {
    background: #fff;
    margin-top: 30px;
    border-top: 1px solid #ddd;
    font-size: 15px;
}
.footer-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 0 16px 0;
}
.footer-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
}
.footer-col {
    width: 19%;
    min-width: 160px;
    padding: 0 10px;
}
.footer-col h4 {
    font-size: 16px;
    color: #26a3e4;
    margin-bottom: 10px;
}
.footer-col ul {
    padding: 0;
    list-style: none;
    margin: 0 0 8px 0;
}
.footer-col ul li {
    margin-bottom: 6px;
    color: #333;
}
.footer-col ul li a {
    color: #333;
    text-decoration: none;
    transition: color 0.15s;
}
.footer-col ul li a:hover {
    color: #26a3e4;
    text-decoration: underline;
}
.footer-col p {
    font-size: 14px;
    color: #444;
    margin-bottom: 8px;
}
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #eee;
    padding: 10px 32px 10px 16px;
    font-size: 13px;
    color: #888;
    background: #fff;
}
.footer-bottom img {
    height: 22px;
}


@media (max-width: 992px) {
    .header-top {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 12px;
    }
    .header-actions {
        margin-bottom: 8px;
        font-size: 15px;
    }
    .header-logo {
        margin-bottom: 8px;
        justify-content: flex-start;
    }
    .main-nav {
        flex-direction: column;
        padding: 10px 10px;
    }
    .nav-list {
        flex-direction: column;
        margin: 0;
        font-size: 15px;
    }
    .nav-list > li {
        margin-left: 0;
        margin-bottom: 8px;
    }
    .search-bar {
        width: 100%;
        margin: 10px 0 0 0;
    }
    .red-btn, .blue-btn {
        margin: 8px 0 0 0;
        width: 100%;
        justify-content: center;
    }
    .footer-row {
        flex-direction: column;
        align-items: flex-start;
    }
    .footer-col {
        width: 100%;
        min-width: 0;
        margin-bottom: 18px;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 12px;
        font-size: 12px;
    }
}
@media (max-width: 576px) {
    .header-top {
        padding: 8px 4px;
    }
    .main-nav {
        padding: 8px 4px;
    }
    .header-logo img {
        height: 26px;
    }
    .search-bar input {
        width: 100px;
        font-size: 13px;
    }
    .red-btn, .blue-btn {
        font-size: 13px;
        padding: 6px 8px;
    }
    .footer-container {
        padding: 16px 0 8px 0;
    }
    .footer-col h4 {
        font-size: 15px;
    }
    .footer-col p,
    .footer-col ul li {
        font-size: 13px;
    }
    .footer-bottom {
        padding: 8px 8px;
        font-size: 11px;
    }
}