@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;
    background: #f9f9f9;
    margin: 0;
    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;}

.main-nav {
    display: flex;
    align-items: center;
    padding: 8px 32px;
    background: #fff;
    border-bottom: 2px solid #26a3e4;
}
.nav-list {
    display: flex;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0 32px 0 0;
    font-size: 16px;
}
.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;
}
.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;
}
.search-bar input {
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 5px 10px;
    margin-left: 3px;
    font-size: 15px;
    width: 180px;
}
.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 {
    background: #ed2224;
    color: #fff;
}
.blue-btn {
    background: #26a3e4;
    color: #fff;
}

.banner-slider {
    width: 100%;
    background: #f3faff;
    text-align: center;
    padding: 25px 0 18px 0;
    position: relative;
}
.banner-slider img {
    width: 100%; 
    max-width: 1600px;
    height: auto;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 2px 24px #0002;
    display: inline-block;
}

.products-section {
    width: 100%;
    max-width: 1200px;
    margin: 18px auto 0 auto;
    background: #26a3e4;
    border-radius: 20px;
    padding: 20px 90px 32px 90px;
    box-shadow: 0 2px 14px #0001;
}
.products-section h2 {
    text-align: center;
    color: #fff;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 32px;
}
.products-grid {
    display: flex;
    flex-wrap: wrap;                 
    justify-content: space-between;  
    align-items: stretch;             
    margin: 0;
    padding: 0 20px;
}

.products-grid .product-card {
    flex: 0 0 19%;           
    min-width: 210px;
    max-width: 230px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 370px;        
    box-sizing: border-box;
}

.products-grid .product-card:last-child {
    margin-left: 0;
}
.products-grid.grid-2 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 0;
    background: none;
    justify-items: center;
    padding: 24px 32px;
}
.products-grid.grid-2 .product-card {
    width: 210px;
    min-height: 340px;
    margin-left: 0;
    margin-bottom: 18px;
}

.product-card {
    background: #fff;
    border-radius: 18px;
    margin: 0;
    box-shadow: 0 2px 10px #0001;
    width: 230px;
    min-height: 370px;
    padding: 18px 12px 50px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    transition: box-shadow 0.22s, filter 0.22s;
    overflow: hidden;
    border: 1.5px solid #eaeaea;
}
.product-card img {
    width: 140px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 10px;
    margin-top: 7px;
    border-radius: 9px;
    display: block;
    background: #f4faff;
}
.product-title {
    color: #222;
    font-size: 15px;
    text-align: center;
    margin: 6px 0 8px 0;
    height: 44px;
    overflow: hidden;
    font-weight: 500;
}
.product-stars {
    width: 80px;
    height: 16px;
    margin: 3px 0 5px 0;
}
.product-price {
    color: #26a3e4;
    font-size: 17px;
    font-weight: 500;
    margin-top: 2px;
    margin-bottom: 3px;
    text-align: center;
}

.product-card .cart-btn {
    display: none;
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    background: #26a3e4;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 8px 22px;
    font-size: 15px;
    font-family: inherit;
    box-shadow: 0 2px 8px #0002;
    transition: background 0.15s, opacity 0.2s;
    opacity: 0;
    z-index: 2;
}
.product-card:hover .cart-btn,
.product-card:focus-within .cart-btn {
    display: block;
    opacity: 1;
}

.product-card::after {
    content: "";
    pointer-events: none;
    position: absolute;
    inset: 0;
    border-radius: 18px;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0) 50%, rgba(0,0,0,0.18) 100%);
    opacity: 0;
    transition: opacity 0.25s;
    z-index: 1;
}
.product-card:hover::after {
    opacity: 1;
}

.products-pagination {
    margin-top: 20px;
    text-align: center;
}
.products-pagination button {
    border: none;
    background: #fff;
    color: #26a3e4;
    font-size: 16px;
    font-weight: 600;
    padding: 8px 38px;
    border-radius: 8px;
    box-shadow: 0 2px 10px #0001;

}

footer {
    background: #fff;
    margin-top: 30px;
    border-top: 1px solid #ddd;
    font-size: 15px;
}
.footer-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 2fr 1.2fr;
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 0 16px 0;
}
.footer-col {
    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;
}

.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;
}


