:root {
    --deep-blue: #0A192F;
    --brand-orange: #FF6B00;
    --white: #FFFFFF;
    --text-dim: rgba(255, 255, 255, 0.7);
}

.site-header {
    background: var(--deep-blue);
    height: 70px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Логотип */
.main-logo {
    font-size: 20px;
    font-weight: 800;
    text-decoration: none;
    color: var(--white);
    flex-shrink: 0;
}
.main-logo span { color: var(--brand-orange); }
.main-logo small { font-size: 12px; margin-left: 2px; opacity: 0.6; }

/* Навігація: виправляємо точки та розставляємо в рядок */
.main-nav {
    margin-left: auto; /* Притискає меню до правої частини */
    margin-right: 40px;
}

.nav-list {
    display: flex;         /* В рядок */
    list-style: none;      /* Прибирає точки */
    margin: 0;
    padding: 0;
    gap: 30px;             /* Відстань між пунктами */
}

.nav-link {
    text-decoration: none;
    color: var(--text-dim);
    font-size: 15px;
    font-weight: 500;
    transition: 0.3s;
}

.nav-link:hover, .nav-link.active {
    color: var(--brand-orange);
}

/* Пошук */
.search-wrapper {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    padding: 2px;
    border: 1px solid transparent;
    transition: 0.3s;
}

.search-wrapper.active {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--brand-orange);
}
#searchWrapper.active{
    background: #050A15;
}

.search-input {
    width: 0;
    padding: 0;
    border: none;
    background: transparent;
    color: white;
    outline: none;
    transition: 0.3s;
}

.search-wrapper.active .search-input {
    width: 200px;
    padding: 0 12px;
}

.search-trigger {
    background: none;
    border: none;
    color: var(--text-dim);
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
}

.search-trigger:hover { color: var(--brand-orange); }

/* Футер сайту */
.site-footer {
    background: var(--deep-blue);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 60px 0 0 0;
    margin-top: 80px; /* Відступ від основного контенту */
}

.footer-wrap {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr; /* Перша колонка ширша */
    gap: 40px;
    padding-bottom: 60px;
}

/* Опис проекту в футері */
.footer-description {
    color: var(--text-dim);
    font-size: 14px;
    line-height: 1.6;
    margin-top: 20px;
    max-width: 300px;
}

/* Заголовки колонок */
.footer-column h4 {
    color: var(--white);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Списки посилань */
.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li {
    margin-bottom: 12px;
}

.footer-list a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.footer-list a:hover {
    color: var(--brand-orange);
    padding-left: 5px; /* Легкий ефект при наведенні */
}

/* Копірайт (нижня частина) */
.footer-copyright {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-copyright p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
    margin: 0;
}

/* Адаптивність для мобільних */
@media (max-width: 768px) {
    .footer-wrap {
        grid-template-columns: 1fr 1fr; /* 2 колонки на планшетах */
    }
}

@media (max-width: 480px) {
    .footer-wrap {
        grid-template-columns: 1fr; /* 1 колонка на телефонах */
        text-align: center;
    }
    .footer-description {
        margin: 20px auto;
    }
}
/* 1. Обнуляємо обмеження ширини для всіх батьківських елементів футера */
footer.container.footer.full-width, 
.grid-child, 
.mod-custom.custom {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important; /* Прибираємо зайві фони, якщо вони є */
}

/* 2. Налаштовуємо наш футер, щоб він був головним фоном */
.site-footer {
    background-color: #060E1A !important; /* Глибокий темно-синій */
    width: 100% !important;
    margin: 0;
    padding: 0;
}

/* 3. Центруємо контент всередині футера */
.footer-wrap {
    max-width: 1200px; /* Або та ширина, яка тобі потрібна для тексту */
    margin: 0 auto;
    padding: 60px 20px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
}
:root {
    --bg-deep: #050A15;
    --accent-orange: #FF6B00;
    --glass-white: rgba(255, 255, 255, 0.05);
    --text-muted: #94A3B8;
}

body {
    background-color: var(--bg-deep);
    color: white;
    font-family: 'Inter', sans-serif;
}

/* Hero з ефектом світіння */
.premium-hero {
    position: relative;
    padding: 40px 0 20px;
    text-align: center;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,107,0,0.15) 0%, rgba(5,10,21,0) 70%);
    filter: blur(60px);
    z-index: -1;
}

.hero-subtitle {
    color: var(--accent-orange);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 20px;
    display: block;
}

.premium-hero h1 {
    font-size: 56px;
    font-weight: 900;
    margin-bottom: 40px;
    letter-spacing: -1.5px;
}

.premium-hero h1 span {
    background: linear-gradient(90deg, #FF6B00, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Пошук нового покоління */
.modern-search {
    max-width: 700px;
    margin: 0 auto;
}

.search-inner {
    display: flex;
    align-items: center;
    background: var(--glass-white);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 8px 8px 8px 24px;
    border-radius: 100px;
    transition: 0.3s;
}

.search-inner:focus-within {
    border-color: var(--accent-orange);
    background: rgba(255,255,255,0.08);
}

.search-icon {
    width: 20px;
    stroke: var(--text-muted);
}

.search-inner input {
    flex: 1;
    background: transparent;
    border: none;
    color: white;
    padding: 12px;
    font-size: 16px;
    outline: none;
}

.search-btn {
    background: var(--accent-orange);
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 100px;
    font-weight: 600;
    cursor: pointer;
}

/* Жанри у вигляді "пігулок" */
.genre-pills {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.pill {
    padding: 10px 24px;
    background: var(--glass-white);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 100px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    white-space: nowrap;
    transition: 0.3s;
}

.pill:hover, .pill.active {
    background: var(--accent-orange);
    color: white;
    border-color: var(--accent-orange);
}

/* Картки книг - Кіноафіші */
.poster-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 40px;
    margin-top: 30px;
}

.poster-card {
    cursor: pointer;
    transition: 0.3s;
}

.poster-img {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 2/3;
    margin-bottom: 15px;
    background: #1A1F2B;
}

.poster-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

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

.poster-overlay {
    position: absolute;
    top: 12px;
    right: 12px;
}

.rating-tag {
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

.poster-meta h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.poster-meta p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 12px;
}

.poster-bottom {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--accent-orange);
    font-weight: 600;
}

.flex-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 60px;
}

.flex-title h2 { font-size: 24px; }
.flex-title a { color: var(--accent-orange); text-decoration: none; font-size: 14px; }

/* Загальні стилі секції */
.content-section {
    background-color: #050A15;
    padding: 40px 0;
}

.section-label {
    font-size: 24px;
    font-weight: 700;
    color: white;
}

/* Фільтри жанрів */
.filter-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}

.pill-nav {
    display: flex;
    gap: 10px;
    margin-left: 40px;
    flex: 1;
}

.pill {
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    color: #94A3B8;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.pill:hover, .pill.active {
    background: #FF6B00;
    color: white;
    border-color: #FF6B00;
}

.link-more {
    color: #FF6B00;
    text-decoration: none;
    font-size: 14px;
}

/* Управління сіткою (виправляємо той довгий селект) */
.grid-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-top: 20px;
}

.sort-box {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-label {
    color: #94A3B8;
    font-size: 14px;
}

/* Стильний темний селект */
.dark-select {
    background: #111827;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 15px;
    border-radius: 8px;
    outline: none;
    cursor: pointer;
    font-size: 14px;
}

.dark-select:focus {
    border-color: #FF6B00;
}

/* Картки книг */
.book-posters {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 30px;
}

.book-item {
    transition: 0.3s;
}

.book-visual {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 2/3;
    background: #1A1F2B;
    margin-bottom: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.book-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.book-rating {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    color: white;
    font-weight: 700;
}

.book-details h3 {
    font-size: 16px;
    font-weight: 600;
    color: white;
    margin-bottom: 5px;
}

.book-author {
    color: #94A3B8;
    font-size: 13px;
    margin-bottom: 15px;
}

.book-footer {
    display: flex;
    flex-direction: column; /* Інфо в стовпчик для компактності */
    gap: 5px;
}

.book-time {
    font-size: 12px;
    color: #FF6B00;
    font-weight: 600;
}

.book-price {
    font-size: 12px;
    color: #4ADE80; /* Зелений для безкоштовно або м'який білий */
    opacity: 0.8;
}

/* Ефект наведення */
.book-item:hover .book-visual {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 107, 0, 0.2);
}
/* 2. Виправляємо Тулбар (Пошук та Сортування) */
.catalog-toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    padding: 25px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin: 40px 0;
    gap: 20px;
}

/* Поле пошуку */
.modern-search-form .search-input-group {
    display: flex;
    background: #0f172a;
    border: 1px solid #ff6b00; /* Помаранчевий акцент */
    border-radius: 8px;
    width: 400px;
    overflow: hidden;
}

.modern-search-form input {
    background: transparent !important;
    border: none !important;
    color: #fff !important;
    padding: 12px 15px !important;
    flex: 1;
    outline: none;
}

.btn-orange-icon {
    background: #ff6b00;
    border: none;
    color: white;
    padding: 0 20px;
    cursor: pointer;
}

/* Сортування (Dropdowns) */
.sort-box { display: flex; gap: 15px; align-items: center; }
.sort-box label { color: #94a3b8; font-size: 14px; margin-bottom: 0; }

.dark-select, .orderlistcontainer select, .vm-pagination select {
    background: #0f172a !important;
    color: #fff !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    padding: 10px 15px !important;
    border-radius: 8px !important;
    min-width: 150px;
}

/* 3. Оновлюємо сітку товарів (Важливо!) */
/* VirtueMart часто використовує класи .vm-product або .spacer */
.browse-view .row { display: flex; flex-wrap: wrap; gap: 30px; justify-content: center; }

.product.vm-col { 
    width: 220px !important; 
    float: none !important; 
    display: inline-block;
    vertical-align: top;
    margin: 0;
}

.spacer {
    background: #111827 !important;
    border-radius: 12px;
    padding: 15px;
    transition: 0.3s;
    height: 100%;
    border: 1px solid rgba(255,255,255,0.05);
    text-align: center;
}

.spacer:hover {
    transform: translateY(-8px);
    border-color: #ff6b00;
}

/* Картинка книги */
.vm-product-media-container img {
    width: 100% !important;
    height: 280px !important;
    object-fit: cover !important;
    border-radius: 8px;
    margin-bottom: 15px;
}

/* Заголовок книги */
.vm-product-descr-container-1 h2, .vm-product-descr-container-1 a {
    font-size: 16px !important;
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
}

/* Прибираємо старі зірочки та сміття */
.vm-display-rating, .ratingbox, .vm-product-rating { display: none !important; }

/* Ціна / Час */
.product-price {
    color: #ff6b00;
    font-weight: 700;
    font-size: 14px;
}

/* Пагінація */
.vm-pagination {
    margin-top: 50px;
    background: none !important;
    border: none !important;
}

.pagination li a, .pagination li span {
    background: rgba(255,255,255,0.05) !important;
    border: none !important;
    color: #fff !important;
    border-radius: 4px !important;
    margin: 0 5px;
}

.pagination li.active span { background: #ff6b00 !important; }

.product.vm-col{
    width: 100% !important;
    max-width: 30% !important;
}
div[class*="-view"] .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.category-view  .browse-view .it-view {
    max-width: 30%;
    width: 30%;
}
.category-view .browse-view {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.vm-product-media-container img{
    height: 400px !important;
    width: auto !important;
}
.product-price .vm-price-value, .vm-prices-info {
    display: flex;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 0;
    align-content: center;
    align-items: center;
    gap: 10px;
}


.vm-price-desc {
    font-size: 22px;
}
.vm-product-title a {
    color: #fff;
}
.vm-pagination ul{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 5px;
}
.vm-pagination ul a{
    color: #fff;
}
.vm-pagination ul{
    list-style: none;
}
.vm-pagination ul li span{
    color: #ff6b00;
}
.view-productdetails .vm-product-media-container img {
    height: 100% !important;
    max-height: 550px !important;
    width: auto !important;
}
.view-productdetails  .product-price .vm-price-value{
    display: flex;
    justify-content: flex-start;
    font-size: 22px;
    margin-bottom: 0;
    align-content: center;
    align-items: center;
    gap: 10px;
}
.btn_buy_lib,
.btn_buy_lib:hover,
.btn_buy_lib:focus,
.btn_buy_lib:active{
    background: #FF6B00;
    color: #FFFFFF;
    font-size: 32px;
    padding: 10px 50px;
    border-radius: 10px;
    margin-top: 30px;
    text-decoration: none;
    display: flex;
    justify-content: center;
}
nav.mod-breadcrumbs__wrapper li > span{
    color: #FF6B00;
}
nav.mod-breadcrumbs__wrapper li a {
    text-decoration: none;
}
nav.mod-breadcrumbs__wrapper li a span,
.breadcrumb-item+.breadcrumb-item:before{
    color: #Fff;
}

/* Жанри */

.menu_cats_list{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(220px,1fr));
    gap:18px;
    padding:0;
    margin:40px 0;
    list-style:none;
}

.menu_cats_list li{
    margin:0;
    padding:0;
}

.menu_cats_list li > div{
    height:100%;
}

.menu_cats_list li a{
    position:relative;
    display:flex;
    align-items:center;
    min-height:70px;

    padding:16px 20px 16px 55px;

    color:#fff;
    text-decoration:none;
    font-size:16px;
    font-weight:600;
    line-height:1.3;

    background:linear-gradient(
        135deg,
        #0d1b2f 0%,
        #091321 100%
    );

    border:1px solid rgba(255,106,0,.25);
    border-radius:16px;

    transition:.25s ease;

    overflow:hidden;
}

.menu_cats_list li a:before{
    content:"🎧";

    position:absolute;
    left:18px;
    top:50%;

    transform:translateY(-50%);

    font-size:20px;
}

.menu_cats_list li a:after{
    content:"";

    position:absolute;
    inset:0;

    background:
    radial-gradient(
        circle at top right,
        rgba(255,106,0,.25),
        transparent 55%
    );

    opacity:0;
    transition:.25s ease;
}

.menu_cats_list li a:hover{
    color:#ff7b1a;

    border-color:#ff6a00;

    transform:translateY(-4px);

    box-shadow:
    0 10px 30px rgba(255,106,0,.18);
}

.menu_cats_list li a:hover:after{
    opacity:1;
}

/* мобілка */

@media(max-width:768px){

    .menu_cats_list{
        grid-template-columns:repeat(2,1fr);
        gap:12px;
    }

    .menu_cats_list li a{
        min-height:60px;
        font-size:14px;
        padding:14px 14px 14px 46px;
    }

}

@media(max-width:480px){

    .menu_cats_list{
        grid-template-columns:1fr;
    }

}
@media (max-width: 768px) {

    .site-header .header-wrap {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        min-height: 64px;
    }

    .site-header .main-logo {
        font-size: 22px;
        white-space: nowrap;
    }

    .site-header .main-logo small {
        font-size: 11px;
    }

    .site-header .main-nav {
        display: none;
    }

    .site-header .header-right {
        margin-left: auto;
    }

    .site-header .search-wrapper {
        position: relative;
    }

    .site-header .search-input {
        position: fixed;
        left: 15px;
        right: 15px;
        top: 78px;

        width: auto;
        max-width: none;

        height: 48px;
        padding: 0 16px;

        background: #101b2b;
        color: #fff;

        border: 1px solid rgba(255, 106, 0, .45);
        border-radius: 14px;

        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);

        transition: .25s ease;
        z-index: 9999;
    }

    .site-header .search-wrapper.active .search-input,
    .site-header .search-wrapper:focus-within .search-input {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .site-header .search-trigger {
        width: 44px;
        height: 44px;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}
.burger-btn {
    display: none;
}

@media (max-width: 768px) {

    .burger-btn {
        display: flex;
        width: 44px;
        height: 44px;
        border: 0;
        border-radius: 10px;
        background: #142238;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
    }

    .burger-btn span {
        width: 22px;
        height: 2px;
        background: #fff;
        border-radius: 4px;
        transition: .25s ease;
    }

    .site-header .main-nav {
        display: block;
        position: fixed;
        top: 86px;
        left: 15px;
        right: 15px;
        background: #0d1727;
        border: 1px solid rgba(255, 106, 0, .25);
        border-radius: 18px;
        padding: 18px;
        z-index: 9998;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-12px);
        transition: .25s ease;
    }

    .site-header.menu-open .main-nav {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .site-header .nav-list {
        display: flex;
        flex-direction: column;
        gap: 6px;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .site-header .nav-link {
        display: block;
        padding: 14px 16px;
        border-radius: 12px;
        color: #fff;
        text-decoration: none;
        font-size: 16px;
        font-weight: 600;
        background: rgba(255,255,255,.04);
    }

    .site-header .nav-link:hover,
    .site-header .nav-link.active {
        background: rgba(255, 106, 0, .14);
        color: #ff6a00;
    }

    .site-header.menu-open .burger-btn span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .site-header.menu-open .burger-btn span:nth-child(2) {
        opacity: 0;
    }

    .site-header.menu-open .burger-btn span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}
@media (max-width: 768px) {

    .site-footer {
        padding-top: 40px;
    }

    .site-footer .footer-wrap {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .site-footer .footer-column {
        width: 100%;
        text-align: center;
    }

    .site-footer .about {
        padding-bottom: 15px;
        border-bottom: 1px solid rgba(255,255,255,.08);
    }

    .site-footer .main-logo {
        justify-content: center;
        margin-bottom: 15px;
        font-size: 28px;
    }

    .site-footer .footer-description {
        max-width: 500px;
        margin: 0 auto;
        line-height: 1.6;
        font-size: 14px;
    }

    .site-footer h4 {
        margin-bottom: 15px;
        font-size: 18px;
        color: #fff;
    }

    .site-footer .footer-list {
        list-style: none;
        margin: 0;
        padding: 0;

        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .site-footer .footer-list li {
        margin: 0;
    }

    .site-footer .footer-list a {
        display: block;
        padding: 10px 15px;
        border-radius: 10px;
        background: rgba(255,255,255,.04);
        text-decoration: none;
        transition: .2s;
    }

    .site-footer .footer-list a:hover {
        background: rgba(255,106,0,.12);
    }

    .site-footer .footer-copyright {
        margin-top: 30px;
        padding: 20px 0;
        text-align: center;
    }

    .site-footer .footer-copyright p {
        font-size: 13px;
        line-height: 1.5;
        margin: 0;
    }
    .category-view .browse-view .it-view {
        max-width: 100%;
        width: 100%;
    }
    .it-view > .my-5 {
        margin-top: 10px !important;
        margin-bottom: 10px !important;
    }
    div.category-header{
        padding: 0px !important;
    }
}
.productdetails-view {
    max-width: 100%;
    margin: auto;
}
/* ===== Автори ===== */

.menu_avtory_list{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(280px,1fr));
    gap:16px;

    margin:40px 0;
}

.menu_avtory_list > div[style*="clear:both"]{
    display:contents;
}

.menu_avtory_list .col-md-12,
.menu_avtory_list .col-sm-24,
.menu_avtory_list .col-xs-36{
    float:none !important;
    width:auto !important;
    padding:0 !important;
}

.menu_avtory_list .spacer{
    height:100%;
}

.menu_avtory_list a{
    display:flex;
    align-items:center;
    gap:12px;

    min-height:72px;
    height:100%;

    padding:16px 20px;

    text-decoration:none;
    color:#fff;

    border-radius:14px;

    background:linear-gradient(
        135deg,
        #0f1a2d 0%,
        #09111d 100%
    );

    border:1px solid rgba(255,106,0,.15);

    transition:.25s ease;

    overflow:hidden;
}

.menu_avtory_list a::before{
    content:"✍";
    flex-shrink:0;

    width:38px;
    height:38px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:50%;

    background:rgba(255,106,0,.12);

    color:#ff6a00;
    font-size:18px;
}

.menu_avtory_list a div{
    color:#fff;
    font-size:15px;
    line-height:1.4;
    font-weight:600;
}

.menu_avtory_list a:hover{
    transform:translateY(-4px);

    border-color:#ff6a00;

    box-shadow:
        0 12px 30px rgba(255,106,0,.15);

    background:linear-gradient(
        135deg,
        #15233b 0%,
        #0b1423 100%
    );
}

.menu_avtory_list a:hover div{
    color:#ffb27a;
}

/* планшет */

@media (max-width:991px){

    .menu_avtory_list{
        grid-template-columns:repeat(2,1fr);
    }

}

/* мобілка */

@media (max-width:767px){

    .menu_avtory_list{
        grid-template-columns:1fr;
        gap:12px;
    }

    .menu_avtory_list a{
        min-height:64px;
        padding:14px 16px;
    }

    .menu_avtory_list a div{
        font-size:14px;
    }

    .menu_avtory_list a::before{
        width:34px;
        height:34px;
        font-size:16px;
    }

}
/* ===== Пагінація ПК ===== */

.vm-pagination {
    margin: 50px 0;
    text-align: center;
}

.vm-pagination ul {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;

    padding: 0;
    margin: 0;
    list-style: none;
}

.vm-pagination li {
    margin: 0;
}

.vm-pagination .pagenav {
    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 46px;
    height: 46px;
    padding: 0 16px;

    border-radius: 12px;

    background: linear-gradient(
        135deg,
        #0f1a2d 0%,
        #09111d 100%
    );

    border: 1px solid rgba(255,106,0,.25);

    color: #fff !important;
    text-decoration: none;

    font-size: 15px;
    font-weight: 700;

    transition: .25s ease;
}

.vm-pagination a.pagenav:hover {
    transform: translateY(-2px);

    border-color: #ff6a00;

    color: #ff6a00 !important;

    box-shadow:
        0 10px 25px rgba(255,106,0,.18);
}

.vm-pagination span.pagenav {
    background: #ff6a00;
    border-color: #ff6a00;
    color: #fff !important;

    box-shadow:
        0 8px 20px rgba(255,106,0,.35);
}

/* Початок / Попередня / Наступна / Кінець */

.vm-pagination .pagination-start .pagenav,
.vm-pagination .pagination-prev .pagenav,
.vm-pagination .pagination-next .pagenav,
.vm-pagination .pagination-end .pagenav {
    min-width: auto;
    padding: 0 18px;
}
@media (max-width: 768px) {

    .vm-pagination {
        margin: 30px 0 20px;
        padding: 0 12px;
        text-align: left;
        overflow: hidden;
    }

    .vm-pagination ul {
        display: flex;
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 8px;

        width: 100%;
        max-width: 100%;

        overflow-x: auto;
        overflow-y: hidden;

        padding: 10px 0 14px;
        white-space: nowrap;

        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .vm-pagination ul::-webkit-scrollbar {
        display: none;
    }

    .vm-pagination li {
        flex: 0 0 auto;
    }

    .vm-pagination .pagenav {
        min-width: 40px;
        height: 40px;
        padding: 0 13px;
        font-size: 14px;
        border-radius: 10px;
    }

    .vm-pagination .pagination-start .pagenav,
    .vm-pagination .pagination-prev .pagenav,
    .vm-pagination .pagination-next .pagenav,
    .vm-pagination .pagination-end .pagenav {
        min-width: auto;
        padding: 0 14px;
    }
}
@media (max-width: 768px) {

    .mod-breadcrumbs__wrapper {
        width: 100%;
        overflow: hidden;
    }

    .mod-breadcrumbs.breadcrumb {
        display: flex;
        flex-wrap: nowrap;

        gap: 8px;

        margin: 0;
        padding: 10px 0 !important;

        overflow-x: auto;
        overflow-y: hidden;

        white-space: nowrap;

        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .mod-breadcrumbs.breadcrumb::-webkit-scrollbar {
        display: none;
    }

    .mod-breadcrumbs__item {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .mod-breadcrumbs__item a,
    .mod-breadcrumbs__item span {
        color: #fff;
        font-size: 14px;
        text-decoration: none;
    }

    .mod-breadcrumbs__item.active span {
        color: #ff6a00;
    }
    .main-nav {
    margin-left: auto;
    margin-right: 0px !important;
}
}
.ab-cat-tab{
    text-transform: capitalize;
}


/* форма VirtueMart */
.premium-hero form[action*="/katalog/results"] {
    max-width: 720px;
    margin: 0 auto;
}

.premium-hero form[action*="/katalog/results"] .search {
    display: flex;
    align-items: center;
    width: 100%;
    height: 66px;
    padding: 6px;

    background: #151a26;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 40px;
}

.premium-hero form[action*="/katalog/results"] .inputbox {
    flex: 1;
    height: 100%;
    padding: 0 24px;

    background: transparent !important;
    border: 0 !important;
    outline: none !important;

    color: #fff !important;
    font-size: 16px;
}

.premium-hero form[action*="/katalog/results"] .button {
    height: 52px;
    padding: 0 36px;

    border: 0 !important;
    border-radius: 30px;

    background: #ff6a00 !important;
    color: #fff !important;

    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
}

@media (max-width: 768px) {
    .premium-hero form[action*="/katalog/results"] {
        max-width: 100%;
    }

    .premium-hero form[action*="/katalog/results"] .search {
        height: 56px;
    }

    .premium-hero form[action*="/katalog/results"] .inputbox {
        padding: 0 14px;
        font-size: 14px;
    }

    .premium-hero form[action*="/katalog/results"] .button {
        height: 44px;
        padding: 0 18px;
        font-size: 14px;
    }
}
.search-submit{
    display:none;
}

.search-wrapper.active .search-submit{
    display:block;

    height:42px;
    padding:0 18px;

    border:0;
    border-radius:10px;

    background:#ff6a00;
    color:#fff;

    font-weight:700;
    cursor:pointer;
}

@media (max-width:768px){

    .search-wrapper.active{
        position:fixed;
        top:78px;
        left:15px;
        right:15px;

        display:flex;
        gap:8px;

        z-index:99999;
    }

    .search-wrapper.active .search-input{
        flex:1;
        width:auto;
    }

    .search-wrapper.active .search-submit{
        flex-shrink:0;
    }

    .search-wrapper.active .search-trigger{
        display:none;
    }

}
@media (max-width:768px){

    .site-header .search-wrapper.active{
        position:fixed;
        top:82px;
        left:15px;
        right:15px;
        z-index:99999;

        display:grid;
        grid-template-columns:44px 1fr 86px;
        gap:8px;
        align-items:center;
    }

    .site-header .search-wrapper.active .search-trigger{
        display:flex !important;
        width:44px;
        height:46px;
        order:1;
        pointer-events:none;
        border-radius:10px;
        color:#ff6a00;
    }

    .site-header .search-wrapper.active .search-input{
        position:static;
        order:2;
        width:100%;
        height:46px;
        margin:0;
        padding:0 12px;

        opacity:1;
        visibility:visible;
    }

    .site-header .search-wrapper.active .search-submit{
        display:block !important;
        order:3;
        height:46px;
        padding:0 14px;
        border-radius:10px;

        background:#ff6a00;
        color:#fff;
        font-weight:800;
    }
}
