.brand-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

@media (max-width: 768px) {
    .brand-cards {
        grid-template-columns: 1fr;
    }
}

.brand-card {
    display: flex;
    flex-direction: column;
    padding: 28px 24px;
    border-radius: 12px;
    transition: transform 0.2s, box-shadow 0.2s;
    min-height: 180px;
    cursor: pointer;
}

.brand-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.brand-card--cnd {
    background: linear-gradient(135deg, #fef0f6 0%, #fdf5fa 100%);
}

.brand-card--apraise {
    background: linear-gradient(135deg, #f0f5fa 0%, #f5f8fc 100%);
}

.brand-card--maskology {
    background: linear-gradient(135deg, #f0f8f1 0%, #f5faf6 100%);
}

.brand-card--academy {
    background: linear-gradient(135deg, #f3effa 0%, #f7f4fc 100%);
}

.brand-card--bsspange {
    background: linear-gradient(135deg, #fdf4ea 0%, #fdf9f3 100%);
}

.brand-card--footlogix {
    background: linear-gradient(135deg, #ecf7f8 0%, #f4fafb 100%);
}

.brand-card--platinum {
    background: linear-gradient(135deg, #d2e2c1 0%, #ebfed8 100%);
}

.brand-card--cuccio {
    background: linear-gradient(135deg, #fef3c7 0%, #fefbed 100%);
}

.brand-card--pshine {
    background: linear-gradient(135deg, #fdeae3 0%, #fdf5f1 100%);
}

.brand-card__logo {
    font-size: 30px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
    line-height: 1.1;
}

.brand-card__logo sup {
    font-size: 0.4em;
    vertical-align: super;
    margin-left: 2px;
}

.brand-card__desc {
    font-size: 14px;
    line-height: 1.5;
    color: #555;
    margin: 0 0 20px;
    flex: 1;
}

.brand-card__link {
    font-size: 14px;
    font-weight: 600;
    color: #d6047f;
    transition: transform 0.15s;
    display: inline-block;
}

.brand-card:hover .brand-card__link {
    transform: translateX(3px);
}

.is-faq-page .news-wrapper {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 16px !important;
    flex-wrap: unset !important;
    justify-content: unset !important;
}

@media only screen and (max-width: 1200px) {
    .is-faq-page .news-wrapper {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media only screen and (max-width: 480px) {
    .is-faq-page .news-wrapper {
        grid-template-columns: 1fr !important;
    }
}

.is-faq-page .news-wrapper .news-item {
    width: 100% !important;
    float: none !important;
    margin-bottom: 0 !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    background: #fff !important;
    display: flex !important;
    flex-direction: column !important;
    transition: border-color 0.15s !important;
    position: relative !important;
}

.is-faq-page .news-wrapper .news-item:hover {
    border-color: #bbb !important;
}

.is-faq-page .news-wrapper .news-item .image {
    width: 100% !important;
    aspect-ratio: 16 / 10 !important;
    height: auto !important;
    padding-top: 0 !important;
    position: relative !important;
    overflow: hidden !important;
    background: #fff !important;
    margin-right: 0 !important;
    flex: none !important;
    display: block !important;
}

.is-faq-page .news-wrapper .news-item .image img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    max-width: none !important;
    max-height: none !important;
    min-width: 0 !important;
    min-height: 0 !important;
    transform: none !important;
}

.is-faq-page .news-wrapper .news-item .text {
    padding: 14px 16px 16px !important;
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    border-top: 1px solid #f0f0f0 !important;
}

.is-faq-page .news-wrapper .news-item .text .title {
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    margin-top: 0 !important;
    margin-bottom: 6px !important;
    min-height: unset !important;
    order: 1 !important;
}

.is-faq-page .news-wrapper .news-item .text .description {
    font-size: 12px !important;
    line-height: 1.5 !important;
    color: #666 !important;
    order: 2 !important;
}

.is-faq-page .news-wrapper .news-item time {
    display: none !important;
}

.is-faq-page .news-wrapper .news-item .text::after {
    content: "Zobrazit →" !important;
    display: block !important;
    font-size: 12px !important;
    color: #d6047f !important;
    margin-top: 12px !important;
    order: 3 !important;
    transition: color 0.15s, transform 0.15s !important;
}

.is-faq-page .news-wrapper .news-item:hover .text::after {
    color: #d6049e !important;
    transform: translateX(3px) !important;
}

.is-faq-page .news-wrapper .news-item,
.is-faq-page .news-wrapper .news-item * {
    cursor: pointer !important;
}

.brand-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.3px;
    pointer-events: none;
}

.brand-tag--cnd {
    background: #fef0f6;
    color: #d6047f;
}

.brand-tag--apraise {
    background: #e8f0fa;
    color: #2c5282;
}

.brand-tag--maskology {
    background: #e8f5ea;
    color: #2d5f3f;
}

.brand-tag--academy {
    background: #f0eafa;
    color: #6b4ba3;
}

.brand-tag--bsspange {
    background: #fbf0e2;
    color: #9a6314;
}

.brand-tag--footlogix {
    background: #e0f2f4;
    color: #0e7c8b;
}

.brand-tag--platinum {
    background: #d2e2c1;
    color: #376b0a; /* původně #67ae1a */
}

.brand-tag--cuccio {
    background: #fef3c7;
    color: #854d0e;
}

.brand-tag--pshine {
    background: #fdeae3;
    color: #b5462a;
}

.subcategories li.subcategory--virtual a {
    transition: background-color 0.2s, border-color 0.2s !important;
}

.subcategories li.subcategory--virtual a .text {
    font-weight: 500 !important;
}

.subcategories.with-image li.subcategory--virtual a .image img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
}

.subcategories li.subcategory--faq a {
    background-color: #fef0f6 !important;
    border-color: #f8c8dc !important;
}

.subcategories li.subcategory--faq a:hover {
    background-color: #fce0ed !important;
    border-color: #f5a8c4 !important;
}

.subcategories li.subcategory--guide a {
    background-color: #fdf6e9 !important;
    border-color: #f0dcb4 !important;
}

.subcategories li.subcategory--guide a:hover {
    background-color: #faedd3 !important;
    border-color: #e6c98e !important;
}

.subcategories--faq-only li {
    width: 100% !important;
    max-width: 100% !important;
    flex: 1 0 100% !important;
}

@media only screen and (min-width: 767px) {
    .subcategories--faq-only li {
        max-width: 25% !important;
    }
}

@media (min-width: 768px) {
    .overall-wrapper {
        overflow: clip;
        padding-top: 0 !important;
    }

    #header,
    #header.fixed-menu {
        position: sticky !important;
        top: -73px !important;
        z-index: 999;
        background: #fff;
        width: 100%;
    }
}

@media (max-width: 767px) {
    .orderHeader__wrapper,
    .cart-empty .h1.cart-heading,
    .cart-empty h1.cart-heading,
    .cart-content {
        margin-top: 80px !important;
    }

    #content-wrapper.orderWithdraw__container {
        padding-top: 80px !important;
    }
}

.subcategories li.subcategory--choose a {
    background-color: #eef4fc !important;
    border-color: #c6d8f2 !important;
}

.subcategories li.subcategory--choose a:hover {
    background-color: #e0ebfa !important;
    border-color: #a9c4ec !important;
}

.subcategories li.subcategory--bestseller a {
    background-color: #edf8f1 !important;
    border-color: #bfe3cc !important;
}

.subcategories li.subcategory--bestseller a:hover {
    background-color: #dcf1e4 !important;
    border-color: #9dd3b2 !important;
}