
.stock-status {
    display: flex;
    align-items: center;
    color: #27ae60 !important; /* Додано !important */
    font-weight: bold;
    font-size: 0.9em;
    margin: 10px 0;
}

.check-icon {
    margin-right: 8px;
    background-color: #27ae60 !important; /* Зелений фон */
    color: white !important;             /* Біла галочка */
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

/* --- БАЗОВІ НАЛАШТУВАННЯ ДЛЯ ВСЬОГО САЙТУ --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    display: flex;
    flex-direction: column;
}

.page-section {
    width: 100%;
}

/* --- ВЕРХНЯ СМУГА (ШАПКА З МЕНЮ) --- */
.top-bar {
    width: 100%;
    height: 60px;
    background: linear-gradient(to right, #0475ed, #024b9c); 
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px; 
    position: relative;
    z-index: 100;
}

.logo-link { 
    display: flex; 
    align-items: center; 
    text-decoration: none; /* прибираємо підкреслення під текстом слогана */
    gap: 15px; /* відступ між картинкою логотипа та текстом */
}

.logo-img { 
    height: 40px; 
    width: auto; 
    display: block; 
    transition: transform 0.2s ease; 
}
.logo-link:hover .logo-img { 
    transform: scale(1.03); 
}

/* Стиль для нового білого тексту біля логотипа */
.logo-text {
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 0.3px;
    opacity: 0.95;
    white-space: nowrap;
}

.top-menu { display: flex; gap: 30px; align-items: center; }

.menu-item {
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
    opacity: 0.9;
    padding: 5px 0;
    position: relative;
}

.menu-item:hover { opacity: 1; text-shadow: 0 0 10px rgba(255, 255, 255, 0.5); }
.menu-item::after { content: ''; position: absolute; width: 100%; transform: scaleX(0); height: 2px; bottom: 0; left: 0; background-color: #ffffff; transform-origin: bottom right; transition: transform 0.25s ease-out; }
.menu-item:hover::after { transform: scaleX(1); transform-origin: bottom left; }

/* --- СТИЛІ ДЛЯ ХЛІБНИХ КРИХТ --- */
.breadcrumbs-container { width: 100%; background-color: #eaeaea; border-bottom: 1px solid #dcdcdc; padding: 10px 20px; }
.breadcrumbs { max-width: 1200px; margin: 0 auto; font-size: 14px; color: #666666; }
.breadcrumbs a { color: #0475ed; text-decoration: none; transition: color 0.2s; }
.breadcrumbs a:hover { text-decoration: underline; color: #024b9c; }
.breadcrumbs span { color: #333333; font-weight: bold; }

/* --- СЛАЙДЕР-ЗАСТАВКА --- */
.header-slider { position: relative; width: 100%; height: 500px; overflow: hidden; background-color: #1a1a1a; }
.slides-container { width: 100%; height: 100%; display: flex; }
.slide { min-width: 100%; height: 100%; display: none; position: relative; justify-content: center; align-items: center; }
.slide.active { display: flex; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide:nth-child(1) img { object-position: center top; opacity: 0.5; }
.slide:nth-child(2) img { object-position: center center; opacity: 0.5; }
.slide-content { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; z-index: 6; width: 90%; }
.slider-btn { display: inline-block; padding: 16px 40px; font-size: 18px; font-weight: bold; color: #ffffff; text-decoration: none; text-transform: uppercase; letter-spacing: 1px; background: linear-gradient(to right, #0475ed, #024b9c); border-radius: 30px; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); transition: all 0.3s ease; }
.slider-btn:hover { background: linear-gradient(to right, #4ed1fc, #0475ed); transform: translateY(-3px); box-shadow: 0 6px 20px rgba(4, 117, 237, 0.4); }
.slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255, 255, 255, 0.3); color: #fff; border: none; font-size: 30px; padding: 15px 20px; cursor: pointer; border-radius: 50%; transition: background 0.3s ease; z-index: 7; }
.slider-arrow:hover { background: rgba(255, 255, 255, 0.7); color: #000; }
.prev-arrow { left: 20px; }
.next-arrow { right: 20px; }

/* --- СТИЛІ КАТАЛОГУ --- */
.product-main { width: 100%; max-width: 1200px; margin: 0 auto; padding: 40px 20px; background-color: #f4f4f4; }
.products-grid { display: flex; flex-wrap: wrap; gap: 30px; justify-content: center; width: 100%; }
.product-card { background-color: #ffffff; max-width: 400px; width: 100%; padding: 30px; border: 1px solid #e0e0e0; box-shadow: 0 5px 15px rgba(0,0,0,0.05); display: flex; flex-direction: column; align-items: center; }
.product-img-box { width: 100%; display: flex; justify-content: center; margin-bottom: 25px; }
.product-img-box img { max-height: 250px; width: auto; max-width: 100%; object-fit: contain; }
.product-title { font-size: 22px; font-weight: bold; color: #111111; background-color: #f0f0f0; padding: 8px 20px; border-radius: 4px; margin-bottom: 20px; }
.product-text { font-size: 15px; color: #444444; line-height: 1.6; margin-bottom: 25px; text-align: justify; flex-grow: 1; }
.detail-link { align-self: flex-end; color: #e67e22; text-decoration: none; font-weight: bold; font-size: 16px; }
.detail-link:hover { text-decoration: underline; }

/* --- СТИЛІ ДЛЯ ДЕТАЛЬНОГО ОПИСУ ТОВАРУ --- */
.detail-page-main { width: 100%; background-color: #ffffff; padding: 40px 20px; display: flex; justify-content: center; }
.detail-container { max-width: 800px; width: 100%; display: flex; flex-direction: column; align-items: center; }
.detail-img-box { width: 100%; display: flex; justify-content: center; margin-bottom: 40px; }
.detail-img-box img { max-height: 300px; width: auto; max-width: 100%; object-fit: contain; }
.detail-content-text { width: 100%; color: #333333; font-size: 16px; line-height: 1.7; }
.detail-content-text h1 { font-size: 28px; color: #111111; margin-bottom: 25px; border-bottom: 2px solid #0475ed; padding-bottom: 10px; }
.detail-content-text h3 { font-size: 20px; color: #0475ed; margin-top: 35px; margin-bottom: 15px; }
.detail-content-text p { margin-bottom: 20px; text-align: justify; }
.features-list { list-style-type: none; padding-left: 5px; margin-bottom: 40px; }
.features-list li { position: relative; padding-left: 25px; margin-bottom: 12px; text-align: left; }
.features-list li::before { content: "•"; position: absolute; left: 5px; top: 0; color: #0475ed; font-size: 22px; line-height: 1; }

/* Блок завантаження файлів */
.download-box { margin-top: 40px; border-top: 2px dashed #dddddd; padding-top: 25px; width: 100%; }
.download-box h3 { font-size: 18px; color: #333333; margin-bottom: 15px !important; margin-top: 0 !important; }
.download-link { display: flex; align-items: center; justify-content: space-between; background-color: #f8f9fa; border: 1px solid #ced4da; border-radius: 8px; padding: 12px 20px; text-decoration: none; color: #333333; transition: all 0.2s ease; max-width: 100%; }
.download-link:hover { background-color: #e9ecef; border-color: #0475ed; transform: translateY(-1px); box-shadow: 0 4px 8px rgba(0,0,0,0.05); }
.file-icon { font-size: 22px; margin-right: 12px; display: inline-block; }
.file-name { font-size: 15px; font-weight: normal; color: #0475ed; flex-grow: 1; text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-right: 15px; }
.download-link:hover .file-name { text-decoration: underline; }
.download-badge { background-color: #e67e22; color: #ffffff; font-size: 12px; font-weight: bold; text-transform: uppercase; padding: 6px 14px; border-radius: 20px; letter-spacing: 0.5px; }
.download-link:hover .download-badge { background-color: #d35400; }

.back-box { margin-top: 30px; border-top: 1px solid #eeeeee; padding-top: 20px; width: 100%; }
.back-to-product-btn { display: inline-block; color: #0475ed; text-decoration: none; font-weight: bold; }
.back-to-product-btn:hover { color: #4ed1fc; text-decoration: underline; }

/* --- СТИЛІ СТОРІНКИ ЦІН --- */
.prices-main { width: 100%; background-color: #ffffff; padding: 40px 20px; display: flex; justify-content: center; }
.prices-container { max-width: 1200px; width: 100%; }
.prices-heading { font-size: 26px; color: #111111; margin-bottom: 30px; text-align: center; border-bottom: 2px solid #0475ed; padding-bottom: 10px; }
.table-responsive { width: 100%; overflow-x: auto; margin-bottom: 30px; border: 1px solid #dcdcdc; }
.price-table { width: 100%; border-collapse: collapse; text-align: center; font-size: 14px; min-width: 900px; }
.price-table th, .price-table td { border: 1px solid #cccccc; padding: 10px 8px; vertical-align: middle; }
.price-table th { background-color: #f2f7fc; color: #333333; font-weight: bold; }
.price-table th small { font-weight: normal; color: #666666; }
.price-table tbody tr:nth-child(even) { background-color: #f9f9f9; }
.price-table tbody tr:hover { background-color: #f0f4f8; }
.bold-text { font-weight: bold; color: #111111; text-align: left; padding-left: 15px !important; }
.price-cell { font-weight: bold; color: #d35400; font-size: 15px; }
.table-legend { background-color: #fcfcfc; border-left: 4px solid #0475ed; padding: 15px 20px; margin-top: 10px; }
.table-legend p { font-size: 13.5px; color: #555555; line-height: 1.6; margin-bottom: 8px; text-align: left; }
.table-legend p:last-child { margin-bottom: 0; }

/* --- СТИЛІ ДЛЯ ФУТЕРА --- */
.site-footer { background-color: #222222; color: #ffffff; padding: 40px 20px 20px 20px; margin-top: auto; }
.footer-container { max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; }
.footer-column { flex: 1; min-width: 250px; }
.footer-column h3 { font-size: 18px; color: #4ed1fc; margin-bottom: 15px; text-transform: uppercase; border-bottom: 2px solid #0475ed; padding-bottom: 5px; display: inline-block; }
.footer-column p { font-size: 14px; line-height: 1.6; margin-bottom: 10px; color: #ccc; }
.footer-column a { color: #ffffff; text-decoration: none; }
.footer-column a:hover { color: #4ed1fc; text-decoration: underline; }
.footer-bottom { text-align: center; margin-top: 30px; padding-top: 20px; border-top: 1px solid #333; font-size: 12px; color: #777; }

/* --- АДАПТИВНІСТЬ --- */
@media (max-width: 992px) {
    /* Приховуємо довгий слоган на середніх і малих екранах, щоб меню не злипалося */
    .logo-text { display: none; }
}

@media (max-width: 768px) {
    .top-bar { padding: 0 15px; flex-direction: column; height: auto; padding-top: 10px; padding-bottom: 10px; gap: 10px; }
    .top-menu { gap: 15px; flex-wrap: wrap; justify-content: center; }
    .menu-item { font-size: 13px; }
    .header-slider { height: 250px; }
    .slider-btn { padding: 12px 25px; font-size: 14px; }
    .slider-arrow { font-size: 20px; padding: 10px 15px; }
    .prev-arrow { left: 10px; }
    .next-arrow { right: 10px; }
    .products-grid { flex-direction: column; align-items: center; }
    .footer-container { flex-direction: column; gap: 20px; }
    .footer-column { text-align: center; }
    .footer-column h3 { margin: 0 auto 15px auto; display: block; width: fit-content; }
    .detail-content-text h1 { font-size: 22px; }
    .breadcrumbs { font-size: 12px; text-align: center; }
    .prices-heading { font-size: 20px; }
    .download-link { padding: 10px 12px; }
    .file-name { font-size: 13.5px; }
}
.product-slider {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.p-slides-wrapper {
    width: 100%;
    height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.p-slide {
    display: none;
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.p-slide.active { display: block; }

/* Стрілки з вашим кольором #E0FFFF */
.p-slider-arrow { 
    position: absolute; 
    top: 50%; 
    transform: translateY(-50%); 
    background: rgba(250, 250, 250, 0.2); 
    color: #E0FFFF; 
    border: none; 
    padding: 10px 15px; 
    cursor: pointer; 
    border-radius: 5px; 
    z-index: 10;
    font-size: 24px;
    text-shadow: 0 0 5px rgba(0,0,0,0.5);
    transition: background 0.3s;
}
.p-slider-arrow:hover { background: rgba(4, 117, 237, 1); }
.p-prev { left: 5px; }
.p-next { right: 5px; }

/* --- Інші елементи --- */
.breadcrumbs { padding: 10px 20px; background: #f4f4f4; }
.features-list { line-height: 1.6; }
.price-table { width: 100%; border-collapse: collapse; margin-top: 20px; }
.price-table th, .price-table td { border: 1px solid #ddd; padding: 10px; text-align: center; }
.site-footer { background: #333; color: white; padding: 40px 5%; margin-top: 40px; }
.footer-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.footer-bottom { text-align: center; margin-top: 20px; border-top: 1px solid #555; padding-top: 20px; }



