/* ==========================================================================
   Kain46 Core — styles for the Kain46 Elementor widgets and helper classes.
   Values follow the Figma file "Web Kain46" (1440px frames).
   ========================================================================== */

:root {
    --k46-ink: #3b342f;
    --k46-bg: #fafaf7;
    --k46-band: #f6f2ee;
    --k46-line: #e4dbd6;
    --k46-accent: #d1762e;
    --k46-accent-dark: #bb6626;
    --k46-gold: #ef9d26;
    --k46-taupe: #b6a08e;
    --k46-muted: #79706a;
    --k46-pill: #f1edea;
    --k46-pill-2: #f0ebe7;
    --k46-border: #d5d5d5;
    --k46-placeholder: #bfbbb8;
    --k46-font: "Gotham", "Montserrat", "Helvetica Neue", Arial, sans-serif;
}

[class^="k46-"], [class*=" k46-"] { box-sizing: border-box; }
[class^="k46-"] *, [class*=" k46-"] * { box-sizing: border-box; }
.k46-hero, .k46-cats, .k46-pills, .k46-grid, .k46-catalog, .k46-gallery, .k46-pinfo,
.k46-tabs, .k46-breadcrumb, .k46-posts, .k46-empty {
    font-family: var(--k46-font);
    color: var(--k46-ink);
    -webkit-font-smoothing: antialiased;
}
.k46-hero h1, .k46-hero h2, .k46-pinfo h1, .k46-pinfo h2, .k46-catalog h2, .k46-catalog h3, .k46-hero p, .k46-pinfo p, .k46-catalog p { margin: 0; font-family: inherit; color: inherit; }
.k46-hero a, .k46-cats a, .k46-pills a, .k46-grid a, .k46-catalog a, .k46-gallery a, .k46-pinfo a, .k46-posts a, .k46-breadcrumb a { text-decoration: none; color: inherit; box-shadow: none; }
.k46-hero img, .k46-cats img, .k46-pills img, .k46-grid img, .k46-gallery img, .k46-posts img { display: block; max-width: 100%; height: auto; border: 0; border-radius: 0; box-shadow: none; }
.k46-hero button, .k46-catalog button, .k46-gallery button, .k46-pinfo button, .k46-tabs button {
    font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; box-shadow: none; text-transform: none; letter-spacing: normal; min-height: 0; line-height: inherit;
}
.k46-hero button:hover, .k46-hero button:focus, .k46-catalog button:hover, .k46-gallery button:hover, .k46-gallery button:focus,
.k46-pinfo button:hover, .k46-pinfo button:focus, .k46-tabs button:hover, .k46-tabs button:focus { background: none; color: inherit; }
.k46-icon { display: inline-block; flex-shrink: 0; }

/* ---------- Type ---------- */
.k46-eyebrow { font-size: 14.55px; line-height: 17.46px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.k46-h-display { font-size: 54.08px; line-height: 54.97px; font-weight: 700; }
.k46-h-md { font-size: 40.84px; line-height: 41.52px; font-weight: 700; }
.k46-h-xs { font-size: 27.3px; line-height: 32px; font-weight: 700; }
.k46-lead { font-size: 19px; line-height: 24px; }

/* ---------- Arrow (cards, buttons, links). Add class "k46-arrow-after" to a native Elementor Button/Heading to get one. ---------- */
.k46-arrow { display: inline-block; position: relative; width: 25px; height: 7px; flex-shrink: 0; }
.k46-arrow::before { content: ""; position: absolute; left: 0; right: 1px; top: 50%; height: 1.3px; margin-top: -.65px; background: currentColor; }
.k46-arrow::after { content: ""; position: absolute; right: 1px; top: 50%; width: 6px; height: 6px; border-top: 1.3px solid currentColor; border-right: 1.3px solid currentColor; transform: translateY(-50%) rotate(45deg); }
.k46-arrow--sm { width: 19px; }
.k46-arrow--xs { width: 16px; }
.k46-arrow--md { width: 20px; }
.k46-arrow--lg { width: 24px; }
.k46-arrow--lg::before { height: 1.6px; }
.k46-arrow--lg::after { border-width: 1.6px; width: 7px; height: 7px; }

.k46-arrow-after .elementor-button-text::after,
.k46-arrow-after.elementor-widget-heading .elementor-heading-title::after {
    content: "";
    display: inline-block;
    width: 25px;
    height: 7px;
    margin-left: 10px;
    vertical-align: middle;
    background: no-repeat center / 25px 7px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 25 7'%3E%3Cpath d='M0 3.5h24M20.5.4 24 3.5l-3.5 3.1' fill='none' stroke='black' stroke-width='1.3'/%3E%3C/svg%3E");
    -webkit-mask: no-repeat center / 25px 7px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 25 7'%3E%3Cpath d='M0 3.5h24M20.5.4 24 3.5l-3.5 3.1' fill='none' stroke='black' stroke-width='1.3'/%3E%3C/svg%3E");
    mask: no-repeat center / 25px 7px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 25 7'%3E%3Cpath d='M0 3.5h24M20.5.4 24 3.5l-3.5 3.1' fill='none' stroke='black' stroke-width='1.3'/%3E%3C/svg%3E");
    background-color: currentColor;
    transition: transform .2s ease;
}
.k46-arrow-after:hover .elementor-button-text::after,
.k46-arrow-after:hover .elementor-heading-title::after { transform: translateX(4px); }

/* ---------- Buttons ---------- */
.k46-btn {
    display: inline-flex; align-items: center; gap: 8px; height: 35px; padding: 0 15px; border-radius: 9px;
    font-size: 14.55px; line-height: 17.46px; font-weight: 500; white-space: nowrap; transition: background-color .2s ease;
}
.k46-btn--accent { background: var(--k46-accent); color: var(--k46-bg) !important; }
.k46-btn--accent:hover { background: var(--k46-accent-dark); }
.k46-btn--outline { border: 1px solid var(--k46-ink); background: rgba(250, 250, 247, .2); color: var(--k46-ink) !important; gap: 5px; padding: 0 16px 0 17px; }
.k46-btn--outline:hover { background: rgba(250, 250, 247, .7); }
.k46-btn--outline .k46-icon { width: 12px; height: 12px; color: #363636; }

/* ---------- Badge NEW ---------- */
.k46-badge { position: absolute; top: 18px; right: 16px; width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; color: #f4be6f; z-index: 2; }
.k46-badge svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.k46-badge > span { position: relative; font-size: 11.99px; line-height: 1; font-weight: 700; font-family: var(--k46-font); }
.k46-badge--sm { top: 12px; right: 12px; width: 27px; height: 27px; }
.k46-badge--sm > span { font-size: 6.6px; }
.k46-has-badge { position: relative; }

/* ==========================================================================
   Hero slider
   ========================================================================== */
.k46-hero { position: relative; height: 490px; overflow: hidden; background: var(--k46-band); }
.k46-hero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s ease; }
.k46-hero__slide.is-active { opacity: 1; visibility: visible; }
.k46-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.k46-hero__slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to left, rgba(246, 242, 239, 0) 0%, #f5f2ee 52.9%); }
.k46-hero__content { position: relative; z-index: 1; max-width: 1440px; margin: 0 auto; padding: 107px 40px 0 143px; }
.k46-hero__eyebrow { font-weight: 400; }
.k46-hero__title { margin-top: 15px !important; margin-left: -4px !important; max-width: 760px; }
.k46-hero__text { margin-top: 19px !important; max-width: 543px; font-size: 19.16px; line-height: 25px; }
.k46-hero__actions { display: flex; flex-wrap: wrap; gap: 11px; margin: 23px 0 0 2px; }
.k46-hero__actions .k46-btn--accent { min-width: 186px; }
.k46-hero__arrow { position: absolute !important; z-index: 3; top: 50%; width: 44px; height: 44px; margin-top: -31px !important; display: flex !important; align-items: center; justify-content: center; color: #52392a !important; }
.k46-hero__arrow svg { width: 14px; height: 22px; }
.k46-hero__arrow--prev { left: 44px; }
.k46-hero__arrow--next { right: 32px; }
.k46-hero__dots { position: absolute; z-index: 3; left: 50%; bottom: 30px; display: flex; gap: 12px; transform: translateX(-50%); }
.k46-hero__dot { width: 14px; height: 14px; border-radius: 50% !important; background: #f0f0f0 !important; border: 1px solid #dedede !important; }
.k46-hero__dot.is-active { background: #d2d0d0 !important; }

/* ==========================================================================
   Category cards (home) and pills (product page)
   ========================================================================== */
.k46-cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.k46-cat { display: block; background: #fff; }
.k46-cat__img { display: block; aspect-ratio: 197 / 173; overflow: hidden; background: #52392a; }
.k46-cat__img img { width: 100%; height: 100% !important; object-fit: cover; transition: transform .5s ease; }
.k46-cat:hover .k46-cat__img img { transform: scale(1.05); }
.k46-cat__label { display: flex; align-items: center; justify-content: space-between; height: 60px; padding: 0 26px 0 27px; font-size: 14.55px; line-height: 17.46px; font-weight: 500; }

.k46-pills { display: flex; flex-wrap: wrap; gap: 20px 37px; }
.k46-pill { display: inline-flex; align-items: center; }
.k46-pill__img { position: relative; z-index: 1; width: 75px; height: 75px; border-radius: 50%; overflow: hidden; background: #794323; flex-shrink: 0; }
.k46-pill__img img { width: 100%; height: 100% !important; object-fit: cover; object-position: center 20%; }
.k46-pill__label { display: flex; align-items: center; min-width: 133px; height: 45px; margin-left: -38px; padding: 0 17px 0 50px; border-radius: 22.5px; background: var(--k46-pill); font-size: 15.59px; line-height: 18.7px; font-weight: 500; transition: background-color .2s ease; }
.k46-pill:hover .k46-pill__label { background: #e7e0da; }

/* ==========================================================================
   Product cards & grids
   ========================================================================== */
.k46-grid { --k46-cols: 4; display: grid; grid-template-columns: repeat(var(--k46-cols), minmax(0, 1fr)); gap: 15px 18px; }
.k46-grid--lg { gap: 27px; }
.k46-grid--new { --k46-cols: 3; gap: 13px; }
.k46-pcard { position: relative; display: block; background: #fff; border-radius: 7.84px; overflow: hidden; transition: box-shadow .25s ease, transform .25s ease; }
.k46-pcard:hover { box-shadow: 0 10px 24px rgba(59, 52, 47, .08); transform: translateY(-2px); }
.k46-pcard__img { display: block; aspect-ratio: 200 / 96; overflow: hidden; background: #794323; }
.k46-pcard__img img { width: 100%; height: 100% !important; object-fit: cover; }
.k46-pcard__body { position: relative; display: block; padding: 9px 46px 15px 21px; }
.k46-pcard__name { display: block; font-size: 12.6px; line-height: 15.12px; font-weight: 500; }
.k46-pcard__tagline { display: block; margin-top: 3px; font-size: 9.71px; line-height: 11.65px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.k46-pcard__body .k46-arrow { position: absolute; right: 24px; bottom: 15px; }
.k46-pcard--lg { border-radius: 11.24px; }
.k46-pcard--lg .k46-pcard__img { aspect-ratio: 296 / 142; }
.k46-pcard--lg .k46-pcard__body { padding: 13px 64px 20px 32px; min-height: 78px; }
.k46-pcard--lg .k46-pcard__name { font-size: 18.06px; line-height: 21.67px; }
.k46-pcard--lg .k46-pcard__tagline { margin-top: 6px; font-size: 13.92px; line-height: 16.7px; }
.k46-pcard--lg .k46-pcard__body .k46-arrow { right: 34px; bottom: 23px; }

.k46-new-card { position: relative; display: block; background: #fff; border-radius: 10px; overflow: hidden; }
.k46-new-card__img { display: block; aspect-ratio: 255 / 123; overflow: hidden; background: #794323; }
.k46-new-card__img img { width: 100%; height: 100% !important; object-fit: cover; transition: transform .5s ease; }
.k46-new-card:hover .k46-new-card__img img { transform: scale(1.05); }
.k46-new-card__label { display: flex; align-items: center; justify-content: space-between; height: 44px; padding: 0 29px 4px 28px; font-size: 16.06px; line-height: 19.27px; font-weight: 500; }

.k46-empty { padding: 50px 20px; text-align: center; color: var(--k46-muted); }
.k46-empty p { margin: 0 0 6px; }

/* ==========================================================================
   Catalogue
   ========================================================================== */
.k46-catalog { display: grid; grid-template-columns: 353px minmax(0, 1fr); margin: 0; }
.k46-filter { position: relative; margin-left: -6px; padding-right: 62px; border-right: 1px solid rgba(59, 52, 47, .2); align-self: start; min-height: 496px; }
.k46-filter__head { display: flex; align-items: baseline; justify-content: space-between; padding: 0 0 13px 10px; border-bottom: 1px solid rgba(59, 52, 47, .2); }
.k46-filter__reset { font-size: 19.37px; line-height: 22.7px; text-decoration: underline !important; text-underline-offset: 3px; }
.k46-filter__group { padding: 13px 0 20px 10px; }
.k46-filter__group + .k46-filter__group { border-top: 1px solid rgba(59, 52, 47, .2); padding-top: 17px; }
.k46-filter__title { font-size: 18.53px !important; line-height: 21.72px !important; font-weight: 500 !important; }
.k46-filter__list { display: grid; gap: 6px; margin-top: 9px; }
.k46-check { display: flex; align-items: center; gap: 9px; margin: 0 0 0 2px; font-size: 14.74px; line-height: 17.28px; color: var(--k46-muted); cursor: pointer; user-select: none; font-weight: 400; }
.k46-check input { position: absolute; opacity: 0; pointer-events: none; }
.k46-check__box { position: relative; width: 19px; height: 19px; border: .8px solid var(--k46-muted); border-radius: 4px; flex-shrink: 0; transition: background-color .15s ease; }
.k46-check input:checked + .k46-check__box { background: var(--k46-ink); border-color: var(--k46-ink); }
.k46-check input:checked + .k46-check__box::after { content: ""; position: absolute; left: 6px; top: 2.5px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.k46-check input:focus-visible + .k46-check__box { outline: 2px solid var(--k46-accent); outline-offset: 2px; }
.k46-filter__apply { display: none !important; }

.k46-catalog__main { padding-left: 59px; min-width: 0; }
.k46-catalog__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.k46-catalog__count { margin-top: 4px !important; font-size: 18.53px; line-height: 21.72px; }
.k46-catalog__tools { display: flex; align-items: center; margin-top: 18px; }
.k46-search { position: relative; width: 203px; height: 31px; margin: 0 31px 0 0; }
.k46-search .k46-icon { position: absolute; left: 11px; top: 7px; width: 17px; height: 17px; color: var(--k46-placeholder); pointer-events: none; }
.k46-catalog .k46-search input {
    width: 100%; height: 100%; margin: 0; padding: 0 10px 0 38px; border: 1px solid var(--k46-border); border-radius: 4px; background: var(--k46-band);
    font: 400 14px/1 var(--k46-font); color: var(--k46-ink); box-shadow: none; outline: none;
}
.k46-catalog .k46-search input::placeholder { color: var(--k46-placeholder); }
.k46-catalog .k46-search input:focus { border-color: var(--k46-taupe); }
.k46-sort { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 14px; font-weight: 400; }
.k46-sort__select { position: relative; }
.k46-catalog .k46-sort select {
    appearance: none; -webkit-appearance: none; width: 140px; height: 31px; margin: 0; padding: 0 30px 0 12px; border: 1px solid var(--k46-border); border-radius: 4px;
    background: #fff; font: 500 14px/1 var(--k46-font); color: var(--k46-ink); cursor: pointer; box-shadow: none; outline: none;
}
.k46-sort__select .k46-icon, .k46-sort__select svg { position: absolute; right: 16px; top: 12px; width: 11px; height: 7px; pointer-events: none; }
.k46-catalog__grid { margin-top: 19px; }
.k46-pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 28px; font-family: var(--k46-font); }
.k46-pagination a, .k46-pagination span {
    display: flex; align-items: center; justify-content: center; min-width: 31px; height: 31px; padding: 0 6px; border: 1px solid var(--k46-border);
    border-radius: 4px; background: #fff; font-size: 12.6px; font-weight: 500; color: var(--k46-ink); text-decoration: none;
}
.k46-pagination a:hover { background: var(--k46-band); }
.k46-pagination .is-current { background: var(--k46-ink); color: #fff; }
.k46-pagination .is-disabled { opacity: .45; }
.k46-pagination svg { width: 7px; height: 11px; }

/* ==========================================================================
   Product detail
   ========================================================================== */
.k46-breadcrumb { font-size: 19px; line-height: 24px; color: #ada8a5; }
.k46-breadcrumb a:hover { color: var(--k46-ink); }
.k46-breadcrumb [aria-current] { color: var(--k46-ink); }

.k46-gallery { display: grid; grid-template-columns: 68px minmax(0, 1fr); gap: 0 29px; }
.k46-gallery__thumbs { display: flex; flex-direction: column; gap: 5px; }
.k46-gallery__thumb { width: 68px; height: 68px; padding: 2px !important; border: 1px solid transparent !important; border-radius: 10px !important; transition: border-color .2s ease; }
.k46-gallery__thumb img { width: 62px; height: 62px !important; border-radius: 7px !important; object-fit: cover; }
.k46-gallery__thumb.is-active { border-color: #d9d9d9 !important; }
.k46-gallery__media { margin-top: 3px; }
.k46-gallery__main { position: relative; display: block; width: 100%; aspect-ratio: 495 / 649; border-radius: 7px; overflow: hidden; background: #d9d9d9; cursor: zoom-in; }
.k46-gallery__main img { width: 100%; height: 100% !important; object-fit: cover; }
.k46-gallery__zoom { position: absolute; right: 25px; bottom: 24px; color: #fafaf7; }
.k46-gallery__zoom .k46-icon { width: 24px; height: 24px; }
.k46-buy {
    display: inline-flex; align-items: center; gap: 13px; height: 39px; margin-top: 26px; padding: 0 28px 0 18px; border-radius: 10.28px;
    background: var(--k46-accent); color: #fafaf7 !important; font-size: 16.62px; line-height: 19.94px; font-weight: 500; transition: background-color .2s ease;
}
.k46-buy:hover { background: var(--k46-accent-dark); }
.k46-buy .k46-icon { width: 14px; height: 14px; }

.k46-pinfo { padding-top: 10px; }
.k46-pinfo__subtitle { margin-top: 9px !important; padding-bottom: 25px; border-bottom: 2px solid var(--k46-line); }
.k46-pinfo__label { font-size: 19px !important; line-height: 24px !important; font-weight: 500 !important; }
.k46-pinfo__colors { margin-top: 27px; }
.k46-swatches { display: grid; grid-template-columns: repeat(auto-fill, 54px); justify-content: start; column-gap: 19px; row-gap: 22px; margin: 13px -9px 0 -4px; }
.k46-swatch { display: flex !important; flex-direction: column; align-items: center; gap: 10px; }
.k46-swatch__dot { width: 37px; height: 37px; border-radius: 50%; transition: box-shadow .2s ease; }
.k46-swatch__dot--light { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); }
.k46-swatch.is-active .k46-swatch__dot { box-shadow: 0 0 0 4px var(--k46-bg), 0 0 0 5.26px #c2c1c1; }
.k46-swatch__name { font-size: 9.13px; line-height: 11.53px; text-align: center; }
.k46-pinfo__specs { margin-top: 56px; }
.k46-pinfo__specs .k46-pinfo__label { padding-bottom: 12px; border-bottom: 2px solid var(--k46-line); }
.k46-specs { margin: 8px 0 0; }
.k46-specs div { display: grid; grid-template-columns: 148px 1fr; gap: 16px; font-size: 16.72px; line-height: 21.12px; }
.k46-specs div + div { margin-top: 12px; }
.k46-specs dt { margin: 0; font-weight: 400; }
.k46-specs dd { margin: 0; color: var(--k46-muted); }
.k46-pinfo__fits { margin-top: 34px; }
.k46-tags { display: flex; flex-wrap: wrap; gap: 10px 14px; margin-top: 10px; }
.k46-pinfo .k46-tag { color: var(--k46-ink); }
.k46-tag { display: inline-flex; align-items: center; justify-content: center; min-width: 103px; height: 33px; padding: 0 18px; border-radius: 22.5px; background: var(--k46-pill-2); font-size: 15px; line-height: 21.12px; transition: background-color .2s ease; }
.k46-tag:hover { background: #e6ded8; }

.k46-tabs__list { display: flex; gap: 40px; border-bottom: 2px solid var(--k46-line); }
.k46-tabs__tab { position: relative; padding: 0 9px 19px 0 !important; font-size: 19px !important; line-height: 24px !important; font-weight: 500 !important; color: #c6c6c6 !important; transition: color .2s ease; }
.k46-tabs__tab.is-active { color: var(--k46-ink) !important; }
.k46-tabs__tab.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2.5px; height: 3px; background: var(--k46-ink); }
.k46-tabs__panel { padding: 33px 0 0 3px; font-size: 19px; line-height: 24px; }
.k46-tabs__panel[hidden] { display: none; }
.k46-prose p { margin: 0; }
.k46-prose h1, .k46-prose h2, .k46-prose h3, .k46-prose h4 { margin: 24px 0 0; font-family: var(--k46-font); font-size: 19px; line-height: 24px; font-weight: 700; color: var(--k46-ink); }
.k46-prose strong { font-weight: 600; }
.k46-prose p + p, .k46-prose ul, .k46-prose ol { margin-top: 24px; }

/* ==========================================================================
   Blog cards
   ========================================================================== */
.k46-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 41px; text-align: left; }
.k46-post { display: block; background: #fff; border-radius: 10px; overflow: hidden; transition: box-shadow .25s ease, transform .25s ease; }
.k46-post:hover { box-shadow: 0 12px 30px rgba(59, 52, 47, .08); transform: translateY(-2px); }
.k46-post__img { display: block; aspect-ratio: 373 / 148; overflow: hidden; background: var(--k46-band); }
.k46-post__img img { width: 100%; height: 100% !important; object-fit: cover; }
.k46-post__body { display: block; min-height: 87px; padding: 20px 27px 18px; }
.k46-post__title { display: block; font-size: 19px; line-height: 25px; font-weight: 500; color: #000; }
.k46-post__meta { display: block; margin-top: 8px; font-size: 13px; color: var(--k46-muted); }
.k46-post__excerpt { display: block; margin-top: 8px; font-size: 14.5px; line-height: 21px; }

/* ==========================================================================
   Helpers for native Elementor elements
   ========================================================================== */
/* FAQ accordion look (add class "k46-faq" to an Elementor Accordion widget) */
.k46-faq .elementor-accordion-item { border: 1px solid #cdcdcd !important; background: #fcf9f9; }
.k46-faq .elementor-accordion-item + .elementor-accordion-item { margin-top: 1px; }
.k46-faq .elementor-tab-title { display: flex; align-items: center; min-height: 52px; padding: 10px 20px 10px 36px !important; border: 0 !important; }
.k46-faq .elementor-accordion-title { flex: 1; }
.k46-faq .elementor-tab-content { border: 0 !important; padding: 0 60px 20px 36px !important; }
/* Header nav underline exactly like the design */
.k46-nav .elementor-nav-menu--main .elementor-item.elementor-item-active,
.k46-nav .elementor-nav-menu--main .elementor-item:hover { color: #ef9d26; }

/* Lightbox for the product gallery */
.k46-lightbox { position: fixed; inset: 0; z-index: 99999; display: none; align-items: center; justify-content: center; padding: 24px; background: rgba(28, 24, 21, .88); }
.k46-lightbox.is-open { display: flex; }
.k46-lightbox img { max-width: 100%; max-height: 100%; border-radius: 8px; }
.k46-lightbox button { position: absolute; top: 16px; right: 20px; width: 40px; height: 40px; color: #fff; font-size: 34px; line-height: 1; background: none; border: 0; cursor: pointer; }

/* ==========================================================================
   Responsive (Elementor breakpoints: tablet <= 1024, mobile <= 767)
   ========================================================================== */
@media (max-width: 1280px) {
    .k46-hero__content { padding-left: 100px; }
    .k46-catalog { grid-template-columns: 260px minmax(0, 1fr); }
    .k46-filter { padding-right: 24px; }
    .k46-catalog__main { padding-left: 32px; }
    .k46-catalog__head { flex-direction: column; gap: 0; }
    .k46-catalog__grid { --k46-cols: 3; }
    .k46-swatches { grid-template-columns: repeat(7, 54px); }
}
@media (max-width: 1024px) {
    .k46-h-display { font-size: 42px; line-height: 44px; }
    .k46-h-md { font-size: 32px; line-height: 35px; }
    .k46-hero { height: auto; min-height: 460px; }
    .k46-hero__slide.is-active { position: relative; }
    .k46-hero__slide::after { background: linear-gradient(to left, rgba(246, 242, 239, .35) 0%, #f5f2ee 70%); }
    .k46-hero__content { padding: 80px 48px 90px; }
    .k46-hero__arrow--prev { left: 0; }
    .k46-hero__arrow--next { right: 0; }
    .k46-cats { grid-template-columns: repeat(3, 1fr); }
    .k46-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
    .k46-catalog { grid-template-columns: 1fr; }
    .k46-filter { margin: 0 0 24px; padding: 0; border-right: 0; min-height: 0; }
    .k46-filter__body { display: none; }
    .k46-filter.is-open .k46-filter__body { display: block; }
    .k46-filter__head { padding-left: 0; cursor: pointer; }
    .k46-filter__group { padding-left: 0; }
    .k46-filter__list { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
    .k46-filter__apply { display: inline-flex !important; margin-top: 4px; }
    .k46-catalog__main { padding-left: 0; }
    .k46-gallery { grid-template-columns: 1fr; gap: 16px; }
    .k46-gallery__thumbs { order: 2; flex-direction: row; overflow-x: auto; }
    .k46-gallery__media { order: 1; margin: 0; }
    .k46-gallery__main { aspect-ratio: 4 / 5; max-height: 70vh; }
    .k46-swatches { grid-template-columns: repeat(auto-fill, 54px); justify-content: start; gap: 18px 14px; margin: 13px 0 0; }
}
@media (max-width: 767px) {
    .k46-hero__title { margin-left: 0 !important; }
    .k46-hero__text { margin-top: 14px !important; }
    .k46-h-display { font-size: 34px; line-height: 37px; }
    .k46-h-md { font-size: 28px; line-height: 32px; }
    .k46-lead, .k46-tabs__panel { font-size: 16.5px; line-height: 24px; }
    .k46-hero__content { padding: 64px 24px 80px; }
    .k46-hero__text { font-size: 16.5px; line-height: 23px; }
    .k46-hero__arrow { display: none !important; }
    .k46-cats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .k46-cat__label { padding: 0 16px; height: 52px; }
    .k46-posts { grid-template-columns: 1fr; }
    .k46-grid--new { --k46-cols: 1; }
    .k46-pills { gap: 14px 18px; }
    .k46-pill__img { width: 60px; height: 60px; }
    .k46-pill__label { height: 38px; min-width: 110px; margin-left: -30px; padding-left: 40px; font-size: 14.5px; }
    .k46-catalog__tools { flex-wrap: wrap; gap: 12px; }
    .k46-search { width: 100%; margin-right: 0; }
    .k46-catalog__grid { --k46-cols: 2; gap: 12px; }
    .k46-pcard__body { padding: 9px 36px 13px 14px; }
    .k46-pcard__body .k46-arrow { right: 14px; }
    .k46-grid--lg { gap: 12px; }
    .k46-pcard--lg .k46-pcard__body { padding: 12px 40px 16px 16px; min-height: 0; }
    .k46-pcard--lg .k46-pcard__name { font-size: 15px; line-height: 19px; }
    .k46-pcard--lg .k46-pcard__tagline { font-size: 12px; }
    .k46-pcard--lg .k46-pcard__body .k46-arrow { right: 14px; bottom: 18px; width: 18px; }
    .k46-breadcrumb { font-size: 15px; }
    .k46-specs div { grid-template-columns: 120px 1fr; font-size: 15.5px; }
    .k46-tabs__list { gap: 28px; }
    .k46-faq .elementor-tab-title { padding-left: 18px !important; }
    .k46-faq .elementor-tab-content { padding: 0 24px 18px 18px !important; }
}

/* Native Elementor widgets on Kain46 pages: no stray theme paragraph margins */
.elementor-widget-text-editor p:last-child { margin-bottom: 0; }
.elementor-widget-text-editor p { margin-block-start: 0; }

/* Keep a heading on one line on desktop (class k46-nowrap) */
@media (min-width: 1025px) { .k46-nowrap .elementor-heading-title { white-space: nowrap; } }

/* Kain46 Ikon widget */
.k46-icon-wrap { display: inline-flex; line-height: 0; transition: color .2s ease; }
.k46-icon-wrap .k46-icon { display: block; }

/* Kain46 FAQ widget */
.k46-faqlist { display: grid; gap: 1px; font-family: var(--k46-font); color: var(--k46-ink); }
.k46-faqlist__item { background: #fcf9f9; border: 1px solid #cdcdcd; }
.k46-faqlist .k46-faqlist__q {
    display: flex !important; align-items: center; justify-content: space-between; width: 100%; min-height: 52px; padding: 10px 20px 10px 36px !important;
    text-align: left; font-size: 18.84px !important; line-height: 19.15px !important; font-weight: 500 !important; color: var(--k46-ink) !important;
    background: none !important; border: 0 !important; border-radius: 0 !important; cursor: pointer; font-family: inherit !important;
}
.k46-faqlist__q svg { width: 11px; height: 7px; flex-shrink: 0; margin-left: 16px; transition: transform .25s ease; }
.k46-faqlist__item.is-open .k46-faqlist__q svg { transform: rotate(180deg); }
.k46-faqlist__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.k46-faqlist__a > div { overflow: hidden; }
.k46-faqlist__a p { margin: 0; padding: 0 60px 20px 36px; font-size: 16.5px; line-height: 24px; }
.k46-faqlist__item.is-open .k46-faqlist__a { grid-template-rows: 1fr; }
@media (max-width: 767px) {
    .k46-faqlist .k46-faqlist__q { padding-left: 18px !important; font-size: 16px !important; line-height: 21px !important; }
    .k46-faqlist__a p { padding: 0 24px 18px 18px; font-size: 15px; }
}

/* Mobile: feature strip items share one layout (icon left, text right) */
@media (max-width: 1024px) {
    .elementor-widget-k46-icon + .e-con .elementor-widget-heading { margin-top: 0; }
}
