/* ===================================
   OPTOMANIA - HOME PAGE STYLES
   Garden & Home Store Design
   =================================== */

/* --- GLOBAL RESET --- */
*, *::before, *::after {
    box-sizing: border-box;
}

/* --- CSS VARIABLES --- */
:root {
    /* Мінімалістична колірна палітра */
    --om-text-dark: #1a1a1a;      /* Темно-сірий/чорний для заголовків */
    --om-text: #4a4a4a;            /* Середній сірий для основного тексту */
    --om-text-light: #666666;      /* Світліший сірий для другорядного тексту */
    --om-bg-white: #ffffff;        /* Білий фон */
    --om-bg-light: #f8f8f8;        /* Світло-сірий фон для блоків */
    --om-border: #e8e8e8;          /* Світла рамка */
    
    /* Акцентні кольори (мінімально) */
    --om-primary: #2e7d32;
    --om-primary-dark: #1b5e20;
    --om-accent: #ff6f00;
    --om-danger: #d32f2f;
}

/* --- BASE TYPOGRAPHY --- */
.om-home {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    background: var(--om-bg-white);
}

.om-home *:not([class*="fa-"]):not(.fas):not(.far):not(.fab):not(.fal):not(.fad) {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Забезпечуємо правильне відображення Font Awesome іконок */
.om-home .fas,
.om-home .far,
.om-home .fab,
.om-home .fal,
.om-home .fad,
.om-home .fa,
.om-home .fa-solid,
.om-home .fa-regular,
.om-home .fa-brands,
.om-home [class*="fa-"],
.om-home i.fas,
.om-home i.far,
.om-home i.fab,
.om-home i.fa {
    font-family: "Font Awesome 6 Free" !important;
    font-style: normal;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    text-rendering: auto;
    line-height: 1;
}

.om-home .fas,
.om-home .fa-solid,
.om-home .fa,
.om-home i.fas,
.om-home i.fa {
    font-weight: 900 !important;
}

.om-home .far,
.om-home .fa-regular,
.om-home i.far {
    font-weight: 400 !important;
}

.om-home .fab,
.om-home .fa-brands,
.om-home i.fab {
    font-family: "Font Awesome 6 Brands" !important;
    font-weight: 400 !important;
}

/* Основний шрифт для заголовків */
.om-section-title,
.om-banner-title,
h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    color: var(--om-text-dark);
    letter-spacing: -0.02em;
}

/* Допоміжний шрифт для body тексту */
.om-home p,
.om-home span:not(.om-section-title):not(.om-banner-title):not(.fas):not(.far):not(.fab):not([class*="fa-"]),
.om-home div:not(.om-section-title):not(.om-banner-title) {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    color: var(--om-text);
    line-height: 1.6;
}

/* --- CONTAINER --- */
/* Використовуємо таку ж ширину як у container-xl з хедера */
.om-container {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 0 12px; /* Такий самий padding як у хедера */
    overflow-x: hidden; /* Запобігаємо горизонтальному скролу */
    box-sizing: border-box;
}

/* Bootstrap container-xl breakpoints */
@media (min-width: 576px) {
    .om-container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .om-container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .om-container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .om-container {
        max-width: 1140px;
    }
}

@media (min-width: 1400px) {
    .om-container {
        max-width: 1320px;
    }
}

/* --- HERO SECTION --- */
.om-hero {
    padding: 20px 0;
    overflow-x: hidden; /* Запобігаємо горизонтальному скролу */
    width: 100%;
    max-width: 100%;
}

.om-hero-grid {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 20px;
}

@media (max-width: 1024px) {
    .om-hero-grid {
        grid-template-columns: 220px 1fr;
    }
}

@media (max-width: 768px) {
    .om-hero-grid {
        grid-template-columns: 1fr;
    }
    .om-sidebar-menu {
        display: none;
    }
}

/* --- SIDEBAR MENU --- */
.om-sidebar-menu {
    background: var(--om-white);
    border-radius: 8px;
    border: 1px solid var(--om-border);
    position: relative;
    z-index: 100;
}

/* Кастомний scrollbar для сайдбару */
.om-sidebar-menu::-webkit-scrollbar {
    width: 6px;
}

.om-sidebar-menu::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.om-sidebar-menu::-webkit-scrollbar-thumb {
    background: var(--om-primary);
    border-radius: 3px;
}

.om-sidebar-menu::-webkit-scrollbar-thumb:hover {
    background: var(--om-primary-dark);
}

.om-sidebar-menu > ul {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 380px; /* Обмежуємо висоту як у банеру */
    overflow-y: auto; /* Додаємо прокрутку */
    overflow-x: visible; /* Дозволяємо мега-меню виходити за межі */
    position: relative;
}

.om-sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    border-bottom: 1px solid var(--om-border);
    transition: 0.2s;
    font-size: 14px;
    color: var(--om-text);
    text-decoration: none;
}

.om-sidebar-menu a:hover {
    background: #e8f5e9;
    padding-left: 20px;
    color: var(--om-primary);
}

.om-sidebar-menu li:last-child a {
    border-bottom: none;
}

.om-sidebar-icon {
    font-size: 16px;
    min-width: 24px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.om-sidebar-icon i {
    font-size: 16px;
}

.om-sidebar-arrow {
    margin-left: auto;
    opacity: 0.5;
}

/* --- MEGA MENU --- */
.om-hero-grid {
    position: relative;
    overflow: visible; /* Дозволяємо мега-меню виходити */
}

.om-category-item {
    position: relative;
}

.om-mega-menu {
    position: fixed; /* JavaScript встановить позицію */
    background: #ffffff;
    border: 1px solid var(--om-border);
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    min-width: 300px;
    max-width: 400px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    z-index: 10000;
    padding: 20px;
    pointer-events: none;
    white-space: nowrap;
    backdrop-filter: blur(10px);
}

.om-mega-menu-content {
    position: relative;
}

.om-mega-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--om-primary);
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--om-primary);
}

.om-mega-subcategories {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
}

.om-mega-subcategories li {
    margin-bottom: 8px;
}

.om-mega-subcategories a {
    display: block;
    padding: 8px 12px;
    color: var(--om-text);
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s;
    font-size: 14px;
}

.om-mega-subcategories a:hover {
    background: #e8f5e9;
    color: var(--om-primary);
    padding-left: 18px;
}

.om-mega-view-all {
    display: inline-block;
    padding: 10px 20px;
    background: var(--om-primary);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    margin-top: 10px;
}

.om-mega-view-all:hover {
    background: var(--om-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.3);
}

/* Підсвітка категорії при hover */
.om-category-item.has-children:hover > a {
    background: #e8f5e9;
    color: var(--om-primary);
    font-weight: 600;
}

/* --- HERO BANNER --- */
.om-hero-banner {
    background: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%);
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    display: flex;
    align-items: center;
    min-height: 380px;
    position: relative;
    overflow: hidden;
}

/* Відео фон */
.om-hero-banner video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    object-fit: cover;
}

/* Затемнення поверх відео */
.om-hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Затемнення 50% */
    z-index: 1;
    border-radius: 8px;
}

.om-banner-content {
    position: relative;
    z-index: 2;
    padding: 40px;
    color: white;
    max-width: 70%;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7); /* Тінь для тексту для кращої читабельності */
}

@media (max-width: 768px) {
    .om-banner-content {
        padding: 20px;
        max-width: 100%;
    }
}

.om-banner-badge {
    display: inline-block;
    background: var(--om-primary);
    color: #ffffff !important;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
}

.om-banner-title {
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 15px 0;
    line-height: 1.2;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.8), 0 0 20px rgba(0,0,0,0.5);
}

@media (max-width: 768px) {
    .om-banner-title {
        font-size: 24px;
    }
}

.om-banner-text {
    font-size: 18px;
    margin-bottom: 25px;
    color: #ffffff !important;
    opacity: 1;
    line-height: 1.5;
    text-shadow: 0 2px 6px rgba(0,0,0,0.7);
}

.om-btn-banner {
    display: inline-block;
    background: var(--om-primary);
    color: #ffffff;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.3);
    transition: all 0.2s;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.om-btn-banner:hover {
    background: var(--om-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(46, 125, 50, 0.4);
    color: #ffffff;
}

/* --- WIDGET TOP SECTION --- */
.om-widget-top-section {
    margin-bottom: 20px;
}

.om-widget-compact {
    max-width: 100%;
    margin: 0 auto;
}

/* --- SEASON WIDGET --- */
.om-season-widget {
    background: linear-gradient(135deg, #37474f 0%, #263238 100%);
    color: white;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    border: 1px solid #455a64;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    height: 100%;
}

/* Компактний варіант для верхньої секції */
.om-widget-compact.om-season-widget {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    padding: 16px 28px;
    height: auto;
    min-height: auto;
    color: #ffffff !important;
}

.om-widget-compact.om-season-widget * {
    color: #ffffff !important;
}

.om-widget-compact.om-season-widget b {
    color: #ffffff !important;
    font-weight: 600;
}

.om-widget-compact .om-season-header {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
    border-right: 1px solid rgba(255,255,255,0.2);
    padding-right: 20px;
    margin-right: 0;
    flex-shrink: 0;
}

.om-widget-compact .om-season-date {
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
    color: #ffffff;
}

.om-widget-compact > div:nth-child(2) {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.om-widget-compact .om-season-icon {
    font-size: 24px;
    margin-bottom: 0;
    margin-right: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    color: #ffffff;
}

.om-widget-compact .om-season-icon i {
    font-size: 24px;
    color: #ffffff;
}

.om-widget-compact .om-season-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 0;
    line-height: 1.2;
    color: #ffffff;
}

.om-widget-compact .om-season-subtitle {
    font-size: 12px;
    margin-bottom: 0;
    line-height: 1.2;
    color: rgba(255,255,255,0.8);
}

.om-widget-compact > div:nth-child(2) > div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.om-widget-compact .om-season-advice {
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin-bottom: 0;
    padding: 10px 16px;
    background: rgba(255,255,255,0.1);
    border-radius: 6px;
    flex: 1;
    align-items: center;
}

.om-widget-compact .om-advice-row {
    margin-bottom: 0;
    font-size: 13px;
    line-height: 1.4;
    display: flex;
    gap: 8px;
    align-items: flex-start;
    color: #ffffff;
}

.om-widget-compact .om-advice-row span {
    color: #ffffff;
}

.om-widget-compact .om-advice-row b {
    color: #ffffff;
    font-weight: 600;
}

.om-widget-compact .om-icon-ok {
    font-size: 14px;
    min-width: 16px;
    flex-shrink: 0;
    color: rgba(255,255,255,0.9);
    display: inline-flex;
    align-items: center;
}

.om-widget-compact .om-icon-ok i {
    font-size: 12px;
    color: rgba(255,255,255,0.9);
}

.om-widget-compact .om-btn-season {
    padding: 10px 20px;
    font-size: 13px;
    white-space: nowrap;
    flex-shrink: 0;
    border-radius: 6px;
    background: rgba(255,255,255,0.15);
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.3);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.om-widget-compact .om-btn-season i {
    font-size: 13px;
    color: #ffffff;
}

.om-widget-compact .om-btn-season:hover {
    background: #ffffff;
    color: #1a1a1a !important;
}

.om-widget-compact .om-btn-season:hover i {
    color: #1a1a1a !important;
}

@media (max-width: 768px) {
    .om-widget-compact.om-season-widget {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 12px 15px;
    }
    
    .om-widget-compact .om-season-header {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding-right: 0;
        padding-bottom: 8px;
        margin-bottom: 8px;
        margin-right: 0;
    }
    
    .om-widget-compact .om-season-advice {
        flex-direction: column;
        gap: 8px;
        align-items: stretch;
    }
    
    .om-widget-compact .om-btn-season {
        width: 100%;
        text-align: center;
    }
}

.om-season-header {
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.om-season-date {
    font-size: 18px;
    font-weight: bold;
}

.om-season-icon {
    font-size: 48px;
    margin-bottom: 10px;
    display: block;
}

.om-season-title {
    font-weight: 600;
    font-size: 16px;
    color: #fff;
    margin-bottom: 5px;
}

.om-season-subtitle {
    font-size: 12px;
    color: #90a4ae;
    margin-bottom: 15px;
}

.om-season-advice {
    text-align: left;
    font-size: 13px;
    background: rgba(0,0,0,0.2);
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 15px;
}

.om-advice-row {
    display: flex;
    gap: 10px;
    margin-bottom: 8px;
    line-height: 1.4;
}

.om-advice-row:last-child {
    margin-bottom: 0;
}

.om-icon-ok {
    color: #81c784;
    font-weight: bold;
    min-width: 20px;
}

.om-icon-no {
    color: #e57373;
    font-weight: bold;
    min-width: 20px;
}

.om-btn-season {
    background: rgba(255,255,255,0.1);
    color: #fff;
    padding: 10px 0;
    border-radius: 4px;
    font-size: 13px;
    border: 1px solid rgba(255,255,255,0.2);
    transition: 0.2s;
    display: block;
    text-decoration: none;
    cursor: pointer;
}

.om-btn-season:hover {
    background: #fff;
    color: var(--om-text-dark);
}

/* --- FEATURES BAR --- */
.om-features-section {
    background: var(--om-bg-light);
    border-radius: 12px;
    padding: 60px 40px;
    margin-bottom: 80px;
    border: none;
    box-shadow: none;
}

.om-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 50px;
    align-items: center;
}

.om-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.om-feature-icon {
    width: 56px;
    height: 56px;
    background: var(--om-bg-white);
    color: var(--om-text-dark);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    font-style: normal;
}

.om-feature-icon i {
    font-size: 24px;
    color: var(--om-text-dark);
}

.om-feature-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.om-feature-title {
    font-weight: 600;
    font-size: 16px;
    color: var(--om-text-dark);
    margin: 0;
    line-height: 1.3;
}

.om-feature-desc {
    font-size: 14px;
    color: var(--om-text);
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
}

.om-calendar-link {
    background: var(--om-bg-white);
    color: var(--om-text-dark);
    padding: 16px 28px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    font-size: 15px;
    border: 1px solid var(--om-border);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.2s;
    text-decoration: none;
    cursor: pointer;
}

.om-calendar-link i {
    font-size: 15px;
    color: var(--om-text-dark);
}

.om-calendar-link:hover {
    background: var(--om-text-dark);
    color: var(--om-bg-white);
    transform: none;
    border-color: var(--om-text-dark);
}

.om-calendar-link:hover i {
    color: var(--om-bg-white);
}

/* --- SECTION STYLES --- */
.om-section {
    margin-bottom: 60px;
    padding: 0;
}

.om-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.om-section-title {
    font-size: 42px;
    font-weight: 800;
    margin: 0 0 32px 0;
    color: var(--om-text-dark);
    letter-spacing: -0.02em;
    line-height: 1.2;
    position: relative;
    display: inline-block;
}

/* Фірмовий акцент - зелена лінія під заголовком */
.om-section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--om-primary);
    border-radius: 2px;
}

.om-view-all {
    color: var(--om-text);
    font-weight: 500;
    font-size: 15px;
    text-decoration: none;
    transition: color 0.2s;
}

.om-view-all:hover {
    color: var(--om-text-dark);
    text-decoration: none;
}

/* --- CATEGORIES GRID --- */
.om-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
    margin-top: 8px;
}

.om-cat-card {
    background: var(--om-bg-white);
    border-radius: 12px;
    text-align: center;
    box-shadow: none;
    transition: all 0.2s;
    overflow: hidden;
    border: 1px solid var(--om-border);
    text-decoration: none;
    display: block;
    padding: 0;
}

.om-cat-card:hover {
    transform: none;
    border-color: var(--om-text-dark);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.om-cat-img {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    background: var(--om-bg-light);
    border-bottom: 1px solid var(--om-border);
    color: var(--om-text-light);
}

.om-cat-img i {
    font-size: 32px;
    color: var(--om-text-light);
}

.om-cat-name {
    padding: 24px 20px;
    font-weight: 500;
    display: block;
    color: var(--om-text-dark);
    font-size: 15px;
    line-height: 1.4;
}

/* --- SLIDER WRAPPER --- */
.om-slider-wrapper {
    position: relative;
}

/* --- PRODUCTS SLIDER --- */
.om-products-slider {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

/* Hide scrollbar */
.om-products-slider::-webkit-scrollbar {
    display: none;
}

/* --- SLIDER NAVIGATION --- */
.om-slider-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

.om-slider-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--om-border);
    background: var(--om-bg-white);
    color: var(--om-text-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-size: 16px;
}

.om-slider-btn:hover {
    background: var(--om-text-dark);
    border-color: var(--om-text-dark);
    color: #ffffff;
}

.om-slider-btn:active {
    transform: scale(0.95);
}

.om-slider-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.om-slider-btn:disabled:hover {
    background: var(--om-bg-white);
    color: var(--om-text-dark);
    border-color: var(--om-border);
}

.om-slider-btn i {
    font-size: 14px;
}

/* Sale section slider nav */
.om-sale-section .om-slider-btn {
    border-color: rgba(211, 47, 47, 0.3);
}

.om-sale-section .om-slider-btn:hover {
    background: var(--om-danger);
    border-color: var(--om-danger);
}

/* --- PRODUCT CARD --- */
.om-product-card {
    min-width: 240px;
    max-width: 240px;
    height: 420px;
    background: var(--om-bg-white);
    border: 1px solid var(--om-border);
    border-radius: 12px;
    padding: 0;
    scroll-snap-align: start;
    position: relative;
    transition: all 0.2s;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.om-product-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    transform: none;
    border-color: var(--om-text-dark);
}

.om-prod-img {
    height: 200px;
    background: var(--om-bg-light);
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--om-text-light);
    border-radius: 0;
    font-size: 48px;
    border-bottom: 1px solid var(--om-border);
    flex-shrink: 0;
}

.om-prod-title {
    font-size: 15px;
    margin: 0;
    padding: 20px 20px 12px;
    display: block;
    min-height: 60px;
    max-height: 60px;
    overflow: hidden;
    line-height: 1.4;
    color: var(--om-text-dark);
    text-decoration: none;
    font-weight: 500;
    flex-shrink: 0;
}

.om-prod-title:hover {
    color: var(--om-text);
}

.om-prod-price {
    font-size: 22px;
    font-weight: 700;
    color: var(--om-text-dark);
    padding: 0 20px 12px;
    margin: 0;
    flex-shrink: 0;
}

.om-old-price {
    font-size: 15px;
    text-decoration: line-through;
    color: var(--om-text-light);
    margin-left: 8px;
    font-weight: 400;
}

.om-btn-buy {
    width: calc(100% - 40px);
    background: var(--om-primary);
    color: var(--om-bg-white);
    border: none;
    padding: 14px;
    margin: auto 20px 20px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.2s;
    flex-shrink: 0;
    margin-top: auto;
}

.om-btn-buy:hover {
    background: var(--om-primary-dark);
    color: var(--om-bg-white);
}

.om-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 12px;
    font-size: 11px;
    border-radius: 6px;
    color: #ffffff !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
}

.om-badge-sale {
    background: var(--om-danger);
    color: #ffffff !important;
}

.om-badge-new {
    background: var(--om-accent);
    color: #ffffff !important;
}

.om-badge-hit {
    background: var(--om-primary);
    color: #ffffff !important;
}

/* --- SALE SECTION --- */
.om-sale-section {
    background: var(--om-bg-light);
    padding: 60px 40px;
    border-radius: 12px;
    border: none;
}

.om-timer {
    font-family: monospace;
    color: var(--om-danger);
    font-weight: bold;
    font-size: 1.2rem;
}

/* --- ABOUT SECTION --- */
.om-about-section {
    background: var(--om-bg-white);
    border-radius: 12px;
    padding: 80px 60px;
    border: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

@media (max-width: 768px) {
    .om-about-section {
        grid-template-columns: 1fr;
        padding: 50px 30px;
        gap: 50px;
    }
}

.om-about-text h3 {
    margin: 0 0 30px 0;
    color: var(--om-text-dark);
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.om-about-text p {
    line-height: 1.7;
    color: var(--om-text);
    margin-bottom: 20px;
    font-size: 16px;
}

.om-about-link {
    color: var(--om-text-dark);
    font-weight: 600;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s;
}

.om-about-link:hover {
    color: var(--om-text);
    text-decoration: none;
}

.om-about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.om-stat-item {
    background: var(--om-bg-light);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    border: none;
}

.om-stat-number {
    display: block;
    font-size: 48px;
    font-weight: 800;
    color: var(--om-text-dark);
    margin-bottom: 8px;
    line-height: 1;
    letter-spacing: -0.02em;
}

.om-stat-label {
    font-size: 14px;
    color: var(--om-text);
    font-weight: 400;
    line-height: 1.4;
}

/* --- REVIEWS --- */
.om-reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.om-review-card {
    background: var(--om-bg-white);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--om-border);
}

.om-review-header {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
    gap: 20px;
}

.om-review-avatar {
    width: 56px;
    height: 56px;
    background: var(--om-bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    color: var(--om-text-dark);
    overflow: hidden;
}

.om-review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.om-review-avatar i {
    font-size: 20px;
    color: var(--om-text-dark);
}

.om-review-author {
    font-weight: 600;
    color: var(--om-text-dark);
    font-size: 16px;
    margin-bottom: 4px;
}

.om-stars {
    color: var(--om-text-dark);
    font-size: 16px;
    opacity: 0.6;
}

.om-review-text {
    font-size: 15px;
    font-style: normal;
    color: var(--om-text);
    line-height: 1.7;
    margin: 0;
}

/* --- TAGS CLOUD --- */
.om-tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.om-tag-pill {
    background: var(--om-bg-white);
    border: 1px solid var(--om-border);
    color: var(--om-text-dark);
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.2s;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.om-tag-pill i {
    font-size: 14px;
    color: var(--om-text-dark);
}

.om-tag-pill:hover {
    background: var(--om-text-dark);
    color: var(--om-bg-white);
    border-color: var(--om-text-dark);
}

.om-tag-pill:hover i {
    color: var(--om-bg-white);
}

/* --- VIDEOS --- */
.om-video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
}

.om-video-card {
    background: var(--om-bg-white);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--om-border);
    transition: all 0.2s;
}

.om-video-card:hover {
    transform: none;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    border-color: var(--om-text-dark);
}

.om-video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    background: var(--om-text-dark);
    overflow: hidden;
}

.om-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.om-video-caption {
    padding: 24px;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.5;
    display: block;
    color: var(--om-text-dark);
    text-decoration: none;
    transition: color 0.2s;
}

.om-video-caption:hover {
    color: var(--om-text);
}

/* --- BLOG --- */
.om-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.om-blog-card {
    background: var(--om-bg-white);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--om-border);
    transition: all 0.2s;
}

.om-blog-card:hover {
    transform: none;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    border-color: var(--om-text-dark);
}

.om-blog-img {
    height: 200px;
    background: var(--om-bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--om-text-light);
    border-bottom: 1px solid var(--om-border);
    overflow: hidden;
}

.om-blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.om-blog-card:hover .om-blog-img img {
    transform: scale(1.05);
}

.om-blog-content {
    padding: 32px;
}

.om-blog-date {
    font-size: 13px;
    color: var(--om-text-light);
    margin-bottom: 12px;
    display: block;
    font-weight: 400;
}

.om-blog-title {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 12px;
    display: block;
    color: var(--om-text-dark);
    line-height: 1.4;
    text-decoration: none;
    transition: color 0.2s;
}

.om-blog-title:hover {
    color: var(--om-text);
}

.om-blog-excerpt {
    font-size: 15px;
    color: var(--om-text);
    line-height: 1.6;
    margin: 0;
    font-weight: 400;
}

@media (max-width: 768px) {
    .om-video-grid {
        grid-template-columns: 1fr;
    }
    
    .om-blog-grid {
        grid-template-columns: 1fr;
    }
}

/* --- FAQ --- */
.om-faq-block details {
    background: var(--om-bg-white);
    border: 1px solid var(--om-border);
    margin-bottom: 16px;
    border-radius: 12px;
    padding: 24px 32px;
    transition: all 0.2s;
}

.om-faq-block details:hover {
    border-color: var(--om-text-dark);
}

.om-faq-block summary {
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    outline: none;
    color: var(--om-text-dark);
    line-height: 1.5;
}

.om-faq-block p {
    margin: 20px 0 0;
    font-size: 15px;
    color: var(--om-text);
    line-height: 1.7;
    font-weight: 400;
}

/* --- SEO BLOCK --- */
.om-seo-block {
    background: var(--om-bg-white);
    padding: 80px 0;
    margin-top: 80px;
}

.om-seo-content {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.7;
}

.om-seo-content h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--om-text-dark);
    margin-bottom: 30px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.om-seo-content p {
    font-size: 16px;
    color: var(--om-text);
    margin-bottom: 20px;
    font-weight: 400;
    line-height: 1.7;
}

.om-seo-content strong {
    font-weight: 600;
    color: var(--om-text-dark);
}

.om-seo-content {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.7;
    color: #555;
}

.om-seo-content h2 {
    font-size: 24px;
    color: var(--om-text);
    margin-bottom: 20px;
}

/* --- BTN UP --- */
.om-btn-up {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--om-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 999;
    font-size: 24px;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    border: none;
}

.om-btn-up.visible {
    opacity: 0.9;
    visibility: visible;
}

.om-btn-up:hover {
    opacity: 1;
    transform: translateY(-3px);
}

/* --- ANIMATIONS --- */
.om-animate {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.om-animate.animate-ready {
    opacity: 0;
    transform: translateY(20px);
}

.om-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- SALE BANNER SMALL --- */
.om-sale-banner {
    background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.om-sale-banner-text {
    font-size: 18px;
    font-weight: 600;
}

.om-sale-banner-btn {
    background: white;
    color: #d32f2f;
    padding: 10px 25px;
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none;
    transition: 0.2s;
}

.om-sale-banner-btn:hover {
    background: #fff3e0;
    transform: scale(1.05);
}

/* === SEARCH OVERLAY & RESULTS === */
/* Overlay blur behind search */
body.search-active::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 999;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Search dropdown - single column on desktop */
.search-dropdown,
.oct-search-dropdown,
#searchDropdown,
.pr-header-search-results {
    max-width: 500px !important;
    width: 100% !important;
}

.search-dropdown .product-item,
.oct-search-dropdown .product-item,
#searchDropdown .product-item,
.pr-header-search-results .product-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    width: 100% !important;
    padding: 12px 15px !important;
    border-bottom: 1px solid #eee !important;
    gap: 15px !important;
}

.search-dropdown .product-grid,
.oct-search-dropdown .product-grid,
#searchDropdown .product-grid,
.pr-header-search-results .product-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
}

/* === CATEGORIES GRID - 5 items === */
.om-categories-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    margin-top: 8px;
}

@media (max-width: 1200px) {
    .om-categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .om-categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .om-categories-grid {
        grid-template-columns: 1fr;
    }
}

/* === UNIQUE DESIGN ELEMENTS === */
/* Фірмовий кутовий акцент на картках */
.om-product-card::before,
.om-cat-card::before,
.om-review-card::before,
.om-blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 40px;
    background: var(--om-primary);
    border-radius: 0 0 4px 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.om-product-card:hover::before,
.om-cat-card:hover::before,
.om-review-card:hover::before,
.om-blog-card:hover::before {
    opacity: 1;
}

/* Фірмова рамка на features */
.om-feature-icon {
    border-left: 3px solid var(--om-primary);
}

/* =============================================
   MOBILE RESPONSIVE STYLES
   ============================================= */

/* Tablet - 1024px */
@media (max-width: 1024px) {
    .om-section-title {
        font-size: 32px;
    }
    
    .om-banner-title {
        font-size: 28px;
    }
    
    .om-banner-text {
        font-size: 16px;
    }
    
    .om-about-section {
        padding: 50px 30px;
        gap: 40px;
    }
    
    .om-stat-number {
        font-size: 36px;
    }
    
    .om-features-section {
        padding: 40px 25px;
    }
}

/* Mobile - 768px */
@media (max-width: 768px) {
    /* Container */
    .om-container {
        padding: 0 15px;
    }
    
    /* Hero Section */
    .om-hero {
        padding: 10px 0;
    }
    
    .om-hero-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .om-sidebar-menu {
        display: none;
    }
    
    /* Banner */
    .om-hero-banner {
        min-height: 336px; /* +20% від 280px */
        border-radius: 12px;
    }
    
    .om-banner-content {
        padding: 25px;
        max-width: 100%;
    }
    
    .om-banner-badge {
        font-size: 11px;
        padding: 6px 14px;
    }
    
    .om-banner-title {
        font-size: 22px !important;
        margin-bottom: 10px;
    }
    
    .om-banner-text {
        font-size: 14px !important;
        margin-bottom: 15px;
        color: #ffffff !important;
    }
    
    .om-btn-banner {
        padding: 12px 24px;
        font-size: 14px;
        width: 100%;
        text-align: center;
    }
    
    /* Section Titles */
    .om-section {
        margin-bottom: 40px;
    }
    
    .om-section-title {
        font-size: 24px !important;
        margin-bottom: 20px;
    }
    
    .om-section-title::after {
        width: 40px;
        height: 3px;
        bottom: -6px;
    }
    
    /* Widget Compact */
    .om-widget-compact.om-season-widget {
        flex-direction: column;
        padding: 15px;
        gap: 12px;
    }
    
    .om-widget-compact .om-season-header {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.2);
        padding: 0 0 10px 0;
        margin: 0;
    }
    
    .om-widget-compact > div:nth-child(2) {
        justify-content: center;
    }
    
    .om-widget-compact .om-season-advice {
        flex-direction: column;
        gap: 10px;
        padding: 12px;
    }
    
    .om-widget-compact .om-btn-season {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
    }
    
    /* Features */
    .om-features-section {
        padding: 30px 20px;
        margin-bottom: 40px;
    }
    
    .om-features-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .om-feature-item {
        gap: 15px;
    }
    
    .om-feature-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
    
    .om-feature-title {
        font-size: 15px;
    }
    
    .om-feature-desc {
        font-size: 13px;
    }
    
    .om-calendar-link {
        padding: 14px 20px;
        font-size: 14px;
    }
    
    /* Categories */
    .om-categories-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px;
    }
    
    .om-cat-card {
        border-radius: 10px;
    }
    
    .om-cat-img {
        height: 100px;
    }
    
    .om-cat-name {
        padding: 15px 12px;
        font-size: 13px;
    }
    
    /* Slider Nav */
    .om-slider-nav {
        margin-top: 15px;
        gap: 10px;
    }
    
    .om-slider-btn {
        width: 44px;
        height: 44px;
    }
    
    /* Products */
    .om-products-slider {
        gap: 12px;
        padding-bottom: 10px;
    }
    
    .om-product-card {
        min-width: 200px;
        max-width: 200px;
        height: 360px;
    }
    
    .om-prod-img {
        height: 160px;
    }
    
    .om-prod-title {
        padding: 15px 15px 10px;
        font-size: 13px;
        min-height: 50px;
        max-height: 50px;
    }
    
    .om-prod-price {
        font-size: 18px;
        padding: 0 15px 10px;
    }
    
    .om-btn-buy {
        width: calc(100% - 30px);
        margin: auto 15px 15px;
        padding: 12px;
        font-size: 13px;
    }
    
    .om-badge {
        top: 10px;
        left: 10px;
        padding: 4px 10px;
        font-size: 10px;
    }
    
    /* About Section */
    .om-about-section {
        grid-template-columns: 1fr;
        padding: 40px 20px;
        gap: 30px;
    }
    
    .om-about-text h3 {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .om-about-text p {
        font-size: 14px;
    }
    
    .om-about-stats {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    
    .om-stat-item {
        padding: 25px 15px;
    }
    
    .om-stat-number {
        font-size: 28px;
    }
    
    .om-stat-label {
        font-size: 12px;
    }
    
    /* Reviews */
    .om-reviews-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .om-review-card {
        padding: 25px;
    }
    
    .om-review-header {
        gap: 15px;
        margin-bottom: 15px;
    }
    
    .om-review-avatar {
        width: 48px;
        height: 48px;
    }
    
    .om-review-author {
        font-size: 15px;
    }
    
    .om-review-text {
        font-size: 14px;
    }
    
    /* Tags */
    .om-tags-cloud {
        gap: 10px;
    }
    
    .om-tag-pill {
        padding: 10px 18px;
        font-size: 13px;
    }
    
    /* Videos */
    .om-video-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .om-video-caption {
        padding: 15px;
        font-size: 13px;
    }
    
    /* Blog */
    .om-blog-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .om-blog-img {
        height: 180px;
    }
    
    .om-blog-content {
        padding: 20px;
    }
    
    .om-blog-title {
        font-size: 16px;
    }
    
    .om-blog-excerpt {
        font-size: 14px;
    }
    
    /* FAQ */
    .om-faq-block details {
        padding: 18px 20px;
    }
    
    .om-faq-block summary {
        font-size: 14px;
    }
    
    .om-faq-block p {
        font-size: 14px;
        margin-top: 15px;
    }
    
    /* SEO Block */
    .om-seo-block {
        padding: 50px 0;
        margin-top: 40px;
    }
    
    .om-seo-content h2 {
        font-size: 24px;
    }
    
    .om-seo-content p {
        font-size: 14px;
    }
    
    /* Sale Banner */
    .om-sale-section {
        padding: 30px 20px;
    }
}

/* Small Mobile - 480px */
@media (max-width: 480px) {
    .om-container {
        padding: 0 12px;
    }
    
    .om-slider-btn {
        width: 40px;
        height: 40px;
    }
    
    .om-slider-btn i {
        font-size: 12px;
    }
    
    .om-hero-banner {
        min-height: 288px; /* +20% від 240px */
    }
    
    .om-banner-content {
        padding: 20px;
    }
    
    .om-banner-title {
        font-size: 18px !important;
    }
    
    .om-banner-text {
        font-size: 13px !important;
    }
    
    .om-section-title {
        font-size: 20px !important;
    }
    
    .om-categories-grid {
        grid-template-columns: 1fr !important;
        gap: 10px;
    }
    
    .om-cat-img {
        height: 80px;
    }
    
    .om-product-card {
        min-width: 160px;
        max-width: 160px;
        height: 320px;
    }
    
    .om-prod-img {
        height: 130px;
    }
    
    .om-prod-title {
        font-size: 12px;
        padding: 12px 12px 8px;
    }
    
    .om-prod-price {
        font-size: 16px;
        padding: 0 12px 8px;
    }
    
    .om-btn-buy {
        width: calc(100% - 24px);
        margin: auto 12px 12px;
        padding: 10px;
        font-size: 12px;
    }
    
    .om-about-stats {
        grid-template-columns: 1fr;
    }
    
    .om-stat-item {
        padding: 20px;
    }
    
    .om-features-grid {
        gap: 20px;
    }
    
    .om-widget-compact .om-season-date {
        font-size: 14px;
    }
    
    .om-widget-compact .om-season-title {
        font-size: 14px;
    }
    
    .om-widget-compact .om-advice-row {
        font-size: 12px;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .om-product-card:hover,
    .om-cat-card:hover,
    .om-review-card:hover,
    .om-blog-card:hover,
    .om-video-card:hover {
        transform: none;
        box-shadow: none;
    }
    
    .om-product-card:active,
    .om-cat-card:active {
        transform: scale(0.98);
    }
    
    .om-btn-buy:active,
    .om-btn-banner:active,
    .om-calendar-link:active {
        transform: scale(0.95);
    }
}
