/* Kane's Guide — «Special products» з реальних продуктів і банер вільного Featured-місця. */
.kg-sp { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.kg-sp__card { display: flex; flex-direction: column; overflow: hidden; border-radius: 12px; background: #fff; box-shadow: 0 6px 20px rgba(16, 24, 40, .06); }
/* Фото заповнює рамку 4:3 повністю: тема/Elementor ставлять img {height:auto}, тож
   без абсолютного позиціювання й !important знизу лишалась сіра смуга. */
.kg-sp__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #F2F0EC; }
.kg-sp .kg-sp__media img { position: absolute; inset: 0; display: block; width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover; border-radius: 0; }
.kg-sp__body { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 22px 24px 26px; }
.kg-sp__by { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #8281A1; }
.kg-sp__title { margin: 0; font-family: "Premier League", Sans-serif; font-size: 24px; line-height: 1.2; }
.kg-sp__title a { color: #0B0A33 !important; }
.kg-sp__price { margin: 0; font-weight: 700; color: #0B0A33; }
.kg-sp__price s { margin-left: 6px; font-weight: 400; color: #8281A1; }
.kg-sp__desc { margin: 0; font-size: 15px; line-height: 1.45; color: #3D3C5C; }
.kg-sp__btn { align-self: flex-start; margin-top: auto; }
/* Категорія без продуктів — секцію «Special products» не показуємо. */
.elementor-element-87dbd64:has(.kg-sp--empty) { display: none !important; }

/* Банер вільного місця (стиль макета Figma 55:161 — eyebrow з квадратом, Helvetica Neue,
   кнопка #E34B36, фото в арці), розкладка під ширину обгортки Elementor (контейнер «Meet the
   Community»: 90% від ширини мінус паддінги 25+25, на мобільному 100% − 50). Праворуч — як у макеті:
   фото на 80% висоти банера з відступом справа ~0.2 висоти, кільця — шар макета 9:4, прив'язаний до
   правого краю на всю висоту, тож лягає навколо фото так само, як у Figma. Розміри — clamp від ширини. */
.kg-feature-banner {
    container-type: inline-size; position: relative; overflow: hidden; isolation: isolate;
    display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: clamp(16px, 3vw, 56px);
    width: calc((100% - 50px) * .9); margin: 48px auto; border-radius: 24px;
    background: #3B3BAD;
    color: #fff; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.kg-feature-banner::before {
    content: ""; position: absolute; z-index: -1; top: 0; right: 0; height: 100%; aspect-ratio: 9 / 4;
    background: url(feature-banner/rings.webp) 0 0 / 100% 100% no-repeat; pointer-events: none;
}
.kg-feature-banner__text {
    display: flex; flex-direction: column; align-items: flex-start;
    padding: clamp(28px, 5cqi, 72px) 0 clamp(28px, 5cqi, 72px) clamp(22px, 5.5cqi, 80px);
}
.kg-feature-banner .kg-feature-banner__eyebrow {
    display: flex; align-items: center; gap: clamp(10px, 1.75cqi, 24px); margin: 0 0 clamp(10px, 1.75cqi, 24px);
    font-size: clamp(11px, 1.75cqi, 24px); font-weight: 500; line-height: .9; letter-spacing: -.03em; text-transform: uppercase; color: #fff;
}
.kg-feature-banner__eyebrow::before { content: ""; flex: none; width: 8px; height: 8px; background: #E34B36; }
.kg-feature-banner .kg-feature-banner__title {
    margin: 0; max-width: 11em; font-family: inherit; font-size: clamp(26px, 4.6cqi, 64px); font-weight: 700; line-height: .9; letter-spacing: -.03em; text-transform: none; color: #fff;
}
.kg-feature-banner .kg-feature-banner__btn,
.kg-feature-banner .kg-feature-banner__btn:visited {
    display: inline-flex; align-items: center; gap: 6px; margin-top: clamp(18px, 2.9cqi, 40px);
    padding: clamp(10px, 1cqi, 13px) clamp(18px, 1.9cqi, 26px); border-radius: 10.55px;
    background: #E34B36; color: #fff !important; text-decoration: none !important;
    font-size: clamp(15px, 1.5cqi, 21px); font-weight: 700; line-height: .9; letter-spacing: -.03em; white-space: nowrap;
    transition: background-color .2s ease;
}
.kg-feature-banner__btn svg { flex: none; width: 1em; height: 1em; }
.kg-feature-banner .kg-feature-banner__btn:hover,
.kg-feature-banner .kg-feature-banner__btn:focus-visible { background: #C93C29; color: #fff !important; }
.kg-feature-banner .kg-feature-banner__btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
/* Фото в арці: 80% висоти банера (відступи зверху й знизу по 10%). Знімки з макета 300×390 — не розтягуємо. */
.kg-feature-banner .kg-feature-banner__photo {
    align-self: center; display: block; margin: clamp(22px, 3.5cqi, 48px) clamp(24px, 7cqi, 98px) clamp(22px, 3.5cqi, 48px) 0;
    width: clamp(120px, 22cqi, 300px) !important; height: auto !important; max-width: none; aspect-ratio: 300 / 390; object-fit: cover; object-position: center top;
    border-radius: 999px 999px 0 0; background: #E3E2E3;
}
@media (max-width: 1024px) {
    .kg-sp { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
    .kg-sp { grid-template-columns: 1fr; }
    .kg-feature-banner { width: calc(100% - 50px); margin: 32px auto; border-radius: 16px; column-gap: 10px; }
    .kg-feature-banner__text { padding-left: 18px; }
    .kg-feature-banner .kg-feature-banner__eyebrow { gap: 8px; font-size: 10px; white-space: nowrap; }
    .kg-feature-banner .kg-feature-banner__title { font-size: 22px; }
    .kg-feature-banner .kg-feature-banner__btn { font-size: 14px; padding: 10px 16px; }
    .kg-feature-banner .kg-feature-banner__photo { width: 104px !important; margin-right: 16px; }
}

/* /listing/: фільтр категорій — без порожніх, згорнутий до 12. */
.elementor-element-9c1c479 .ue_taxonomy_item.kg-cat-unused { display: none !important; }
.elementor-element-9c1c479.kg-cats-collapsed .ue_taxonomy_item.kg-cat-more { display: none !important; }
.elementor-element-9c1c479 .kg-cats-toggle,
.elementor-element-9c1c479 .kg-cats-toggle:hover,
.elementor-element-9c1c479 .kg-cats-toggle:focus {
    margin: 4px 0 0; padding: 6px 14px; border: 1px solid #3B3AAC !important; border-radius: 999px;
    background: transparent !important; color: #3B3AAC !important; font: 600 13px/1.2 inherit; cursor: pointer;
}
.elementor-element-0348e2a:has(.kg-sp--empty) { display: none !important; }
.elementor-element-4eb8638:has(.kg-sp--empty) { display: none !important; }
