/*
 * Purpose: Global theme stylesheet placeholder.
 * Module: Assets
 * Author: Kamasa B2B v2
 * State: SKELETON
 */

/* TODO: incluir tokens de diseño en fases posteriores. */
/*
 * Producto WOW
 */
.k-product {
    padding: 3rem 0;
}

.k-product__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 2.5rem;
    align-items: start;
}

.k-product__main {
    display: flex;
    flex-direction: column;
    gap: 2.25rem;
}

.k-product__header {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.k-product__category {
    font-size: 0.95rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(28, 28, 28, 0.6);
    margin: 0;
}

.k-product__title {
    margin: 0;
    font-size: clamp(1.9rem, 2.8vw, 2.8rem);
    color: var(--k-color-dark);
}

.k-product__subtitle,
.k-product__summary {
    margin: 0;
    color: rgba(28, 28, 28, 0.8);
    line-height: 1.6;
}

.k-product__summary {
    font-size: 1rem;
}

.k-product__gallery-block,
.k-product__specs-block,
.k-product__features-block,
.k-product__accessories-block,
.k-product__faq-block {
    background-color: #fff;
    border-radius: 18px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(28, 28, 28, 0.08);
}

.k-product__gallery-block {
    padding: 1.5rem;
}

.k-product__specs-block,
.k-product__features-block,
.k-product__accessories-block,
.k-product__faq-block {
    padding-top: 1.75rem;
}

.k-product__empty {
    margin: 2rem 0;
    color: var(--k-color-muted);
    text-align: center;
}

.k-product__sidebar-wrapper {
    position: relative;
}

/*
 * Gallery
 */

.k-gallery {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.k-gallery__main {
    border-radius: 16px;
    overflow: hidden;
    background-color: #f3f3f3;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.k-gallery__main-image,
.k-gallery__main--placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.k-gallery__main-image--is-fading {
    opacity: 0.3;
}

.k-gallery__main--placeholder {
    min-height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    color: rgba(28, 28, 28, 0.5);
}

.k-gallery__thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 0.65rem;
}

.k-gallery__thumb {
    border: 1px solid rgba(28, 28, 28, 0.15);
    border-radius: 12px;
    padding: 0;
    background: transparent;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.k-gallery__thumb img {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    object-fit: cover;
    display: block;
}

.k-gallery__thumb.is-active {
    border-color: var(--k-color-primary);
}

/*
 * Specs
 */

.k-specs__header {
    margin-bottom: 1.25rem;
}

.k-specs__intro {
    margin: 0;
    color: rgba(28, 28, 28, 0.65);
    font-size: 0.95rem;
}

.k-specs__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.k-specs__item {
    border: 1px solid rgba(28, 28, 28, 0.08);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    background-color: #fafafa;
}

.k-specs__label {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(28, 28, 28, 0.55);
}

.k-specs__value {
    display: block;
    font-size: 1.1rem;
    margin-top: 0.25rem;
    color: var(--k-color-dark);
    font-weight: 600;
}

.k-specs__empty {
    margin: 0;
    color: rgba(28, 28, 28, 0.6);
    font-style: italic;
}

/*
 * Features
 */

.k-features__header {
    margin-bottom: 1.25rem;
}

.k-features__intro {
    margin: 0;
    color: rgba(28, 28, 28, 0.65);
    font-size: 0.95rem;
}

.k-features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.k-feature-card {
    border: 1px solid rgba(28, 28, 28, 0.08);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    gap: 0.9rem;
    background-color: #fdfdfd;
}

.k-feature-card__icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background-color: var(--k-color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1.25rem;
}

.k-feature-card__body {
    flex: 1;
}

.k-feature-card__title {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--k-color-dark);
}

.k-feature-card__description {
    margin: 0.25rem 0 0;
    color: rgba(28, 28, 28, 0.7);
    font-size: 0.95rem;
}

.k-features__empty {
    margin: 0;
    color: rgba(28, 28, 28, 0.6);
    font-style: italic;
}

/*
 * Accessories
 */

.k-accessories__header {
    margin-bottom: 1rem;
}

.k-accessories__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.25rem;
}

.k-accessory-card {
    border: 1px solid rgba(28, 28, 28, 0.1);
    border-radius: 14px;
    overflow: hidden;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    min-height: 220px;
    box-shadow: 0 12px 24px rgba(28, 28, 28, 0.05);
}

.k-accessory-card__img {
    height: 140px;
    background: linear-gradient(135deg, #f5f5f5, #eaeaea);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.k-accessory-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.k-accessory-card__body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    flex: 1;
}

.k-accessory-card__title {
    margin: 0;
    font-size: 1.05rem;
    color: var(--k-color-dark);
}

.k-accessory-card__code {
    margin: 0;
    color: rgba(28, 28, 28, 0.6);
    font-size: 0.9rem;
}

.k-accessory-card__cta {
    margin-top: auto;
    width: fit-content;
}

.k-accessories__empty {
    margin: 0;
    color: rgba(28, 28, 28, 0.6);
    font-style: italic;
}

.k-accessories__note {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: rgba(28, 28, 28, 0.55);
}

/*
 * FAQ
 */

.k-faq__header {
    margin-bottom: 1rem;
}

.k-faq__list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.k-faq__item {
    border: 1px solid rgba(28, 28, 28, 0.1);
    border-radius: 12px;
    padding: 1rem;
    background-color: #fdfdfa;
}

.k-faq__question {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--k-color-dark);
}

.k-faq__answer {
    margin: 0.35rem 0 0;
    color: rgba(28, 28, 28, 0.7);
}

/*
 * Sidebar
 */

.k-product-sidebar {
    position: sticky;
    top: 90px;
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(28, 28, 28, 0.1);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.k-product-sidebar__panel {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.k-product-sidebar__label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: rgba(28, 28, 28, 0.55);
    margin: 0;
}

.k-product-sidebar__title {
    margin: 0;
    font-size: 1.6rem;
    color: var(--k-color-dark);
}

.k-product-sidebar__meta {
    margin: 0;
    color: rgba(28, 28, 28, 0.7);
    font-size: 0.95rem;
}

.k-product-sidebar__price {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-top: 0.65rem;
}

.k-product-sidebar__price-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    color: rgba(28, 28, 28, 0.7);
}

.k-product-sidebar__price-row strong {
    color: var(--k-color-dark);
}

.k-product-sidebar__price-row--saving strong {
    color: var(--k-color-primary);
}

.k-product-sidebar__tier {
    margin: 0;
    color: rgba(28, 28, 28, 0.65);
    font-size: 0.9rem;
}

.k-product-sidebar__note {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(28, 28, 28, 0.6);
}

.k-product-sidebar__actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.k-product-sidebar__action {
    width: 100%;
    border-radius: 10px;
    font-weight: 600;
}

/*
 * Buttons
 */

.k-btn--primary {
    background-color: var(--k-color-primary);
    border: none;
    color: #fff;
}

.k-btn--outline {
    background: transparent;
    border: 1px solid rgba(28, 28, 28, 0.35);
    color: var(--k-color-dark);
}

.k-btn--ghost {
    background: rgba(230, 46, 57, 0.08);
    border: 1px solid transparent;
    color: var(--k-color-primary);
}

.k-btn--ghost:hover {
    border-color: rgba(230, 46, 57, 0.4);
}

@media (max-width: 1024px) {
    .k-product__layout {
        grid-template-columns: 1fr;
    }

    .k-product__sidebar {
        position: relative;
        top: auto;
        box-shadow: none;
        padding: 1.5rem;
    }

    .k-product__gallery-block,
    .k-product__specs-block,
    .k-product__features-block,
    .k-product__accessories-block,
    .k-product__faq-block {
        padding: 1.5rem;
    }
}

/*
 * Catalogo WOW Profesional
 */

.k-catalog {
    display: grid;
    gap: 2rem;
}

.k-catalog__filters {
    background-color: #fff;
    border: 1px solid rgba(28, 28, 28, 0.1);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 20px 38px rgba(28, 28, 28, 0.06);
    transition: box-shadow 0.3s ease;
}

.k-catalog__filters-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.k-catalog__filters-title {
    margin: 0;
    font-size: 1.3rem;
    color: var(--k-color-dark);
}

.k-catalog__filters-subtitle {
    margin: 0;
    color: rgba(28, 28, 28, 0.65);
    font-size: 0.9rem;
}

.k-catalog__filters-toggle {
    border: 1px solid rgba(28, 28, 28, 0.2);
    background: transparent;
    color: var(--k-color-dark);
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
    font-size: 0.9rem;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.k-catalog__filters-toggle:hover {
    border-color: var(--k-color-dark);
    color: var(--k-color-dark);
}

.k-catalog__filters-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.k-catalog__filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.k-catalog__filter-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(28, 28, 28, 0.55);
}

.k-catalog__filter-input {
    padding: 0.65rem 0.9rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(28, 28, 28, 0.15);
    background: #fafafa;
    font-size: 0.95rem;
    color: var(--k-color-dark);
    width: 100%;
}

.k-catalog__filter-input:focus {
    border-color: var(--k-color-dark);
    outline: none;
    background: #fff;
}

.k-catalog__filter-price {
    display: flex;
    gap: 0.6rem;
    align-items: center;
}

.k-catalog__filter-range-separator {
    font-weight: 600;
    color: rgba(28, 28, 28, 0.4);
}

.k-catalog__filters-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.k-catalog__filters-link {
    font-size: 0.9rem;
    color: var(--k-color-muted);
    text-decoration: none;
}

.k-catalog__filters-note {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(28, 28, 28, 0.65);
}

.k-catalog__results {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.k-catalog__grid-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
}

.k-catalog-card {
    background-color: #fff;
    border-radius: 18px;
    border: 1px solid rgba(28, 28, 28, 0.08);
    box-shadow: 0 20px 36px rgba(28, 28, 28, 0.05);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.k-catalog-card__media {
    min-height: 180px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.k-catalog-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.k-catalog-card__media-placeholder {
    font-size: 0.9rem;
    color: rgba(28, 28, 28, 0.6);
}

.k-catalog-card__body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.k-catalog-card__category {
    margin: 0;
    font-size: 0.8rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(28, 28, 28, 0.55);
}

.k-catalog-card__title {
    margin: 0;
    font-size: 1.25rem;
    color: var(--k-color-dark);
}

.k-catalog-card__description {
    margin: 0;
    color: rgba(28, 28, 28, 0.75);
    font-size: 0.95rem;
    line-height: 1.5;
}

.k-catalog-card__pricing {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.k-catalog-card__actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.35rem;
}

.k-catalog-card__action {
    flex: 1;
    text-align: center;
}

.k-price {
    font-size: 1rem;
    font-weight: 600;
}

.k-price--base {
    color: rgba(28, 28, 28, 0.75);
}

.k-price--client {
    color: var(--k-color-dark);
}

.k-price__saving {
    color: var(--k-color-primary);
    font-size: 0.85rem;
}

.k-catalog__sort {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.k-catalog__sort-form {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    background: #fff;
    border: 1px solid rgba(28, 28, 28, 0.12);
    border-radius: 14px;
    padding: 0.65rem 1rem;
}

.k-catalog__sort-label {
    font-size: 0.9rem;
    color: rgba(28, 28, 28, 0.65);
}

.k-catalog__sort-select {
    min-width: 220px;
    border: 1px solid rgba(28, 28, 28, 0.15);
    border-radius: 0.75rem;
    padding: 0.45rem 0.75rem;
    background: #f8f8f8;
    color: var(--k-color-dark);
    font-size: 0.95rem;
}

.k-catalog__sort-meta {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(28, 28, 28, 0.65);
}

.k-catalog__pagination {
    display: flex;
    justify-content: center;
}

.k-catalog__pagination-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 0.25rem;
}

.k-catalog__pagination-item {
    display: flex;
}

.k-catalog__pagination-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid transparent;
    background: #fff;
    color: var(--k-color-dark);
    font-weight: 600;
    text-decoration: none;
}

.k-catalog__pagination-link--active {
    border-color: rgba(28, 28, 28, 0.2);
    background: rgba(230, 46, 57, 0.08);
}

.k-catalog__pagination-link[aria-disabled="true"] {
    opacity: 0.5;
    pointer-events: none;
}

.k-catalog__empty {
    margin: 0;
    padding: 2rem;
    text-align: center;
    color: rgba(28, 28, 28, 0.6);
    font-style: italic;
    border: 1px dashed rgba(28, 28, 28, 0.2);
    border-radius: 14px;
}

@media (min-width: 1024px) {
    .k-catalog {
        grid-template-columns: 260px minmax(0, 1fr);
        align-items: start;
    }

    .k-catalog__filters {
        position: sticky;
        top: 90px;
        height: fit-content;
    }

    .k-catalog__filters-toggle {
        display: none;
    }
}

@media (max-width: 1023px) {
    .k-catalog__filters-toggle {
        display: inline-flex;
        justify-content: center;
    }

    .k-catalog__filters-form {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .k-catalog__filters--is-open .k-catalog__filters-form {
        max-height: 1200px;
    }
}

/* Agent widget */
.k-agent {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
    z-index: 1200;
    font-family: inherit;
}

.k-agent__launcher {
    background: var(--k-color-primary, #d62f18);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 0.85rem 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(15, 15, 15, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.k-agent__launcher:hover,
.k-agent__launcher:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 18px 32px rgba(15, 15, 15, 0.28);
}

.k-agent__panel {
    position: absolute;
    right: 0;
    bottom: calc(100% + 0.6rem);
    width: min(360px, 90vw);
    background: #fff;
    border: 1px solid rgba(28, 28, 28, 0.12);
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(5, 5, 5, 0.25);
    padding: 1.15rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(1rem);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.k-agent--open .k-agent__panel {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.k-agent__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.k-agent__titles {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.k-agent__title {
    margin: 0;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--k-color-dark, #191919);
}

.k-agent__subtitle {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(28, 28, 28, 0.72);
}

.k-agent__close {
    border: none;
    background: transparent;
    color: rgba(28, 28, 28, 0.6);
    font-size: 1.6rem;
    line-height: 1;
    padding: 0;
    cursor: pointer;
}

.k-agent__messages {
    min-height: 120px;
    max-height: 220px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    padding-right: 0.25rem;
}

.k-agent__message {
    border-radius: 12px;
    padding: 0.65rem 0.9rem;
    font-size: 0.9rem;
    line-height: 1.4;
    word-break: break-word;
    max-width: 100%;
}

.k-agent__message--agent {
    background: #f4f4f4;
    color: var(--k-color-dark, #1a1a1a);
}

.k-agent__message--user {
    background: var(--k-color-dark, #111);
    color: #fff;
    align-self: flex-end;
}

.k-agent__status {
    font-size: 0.85rem;
    color: rgba(28, 28, 28, 0.72);
}

.k-agent__suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.k-agent__suggestion {
    border: 1px solid rgba(28, 28, 28, 0.18);
    border-radius: 999px;
    background: #fff;
    padding: 0.35rem 0.85rem;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.k-agent__suggestion:hover,
.k-agent__suggestion:focus-visible {
    border-color: var(--k-color-primary, #d62f18);
    background: rgba(214, 47, 24, 0.08);
}

.k-agent__input {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.k-agent__input textarea {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(28, 28, 28, 0.2);
    padding: 0.8rem;
    font-size: 0.95rem;
    min-height: 80px;
    resize: vertical;
    font-family: inherit;
    color: var(--k-color-dark, #1a1a1a);
}

.k-agent__input textarea:focus {
    outline: 2px solid rgba(214, 47, 24, 0.4);
}

.k-agent__submit {
    align-self: flex-end;
    border: none;
    border-radius: 12px;
    padding: 0.6rem 1.2rem;
    background: var(--k-color-dark, #1a1a1a);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.k-agent__submit:disabled {
    opacity: 0.6;
    cursor: progress;
}

@media (max-width: 640px) {
    .k-agent {
        right: 0.75rem;
        left: 0.75rem;
        align-items: flex-end;
    }

    .k-agent__panel {
        width: calc(100% - 1.5rem);
        bottom: calc(100% + 0.35rem);
    }

    .k-agent__messages {
        max-height: 180px;
    }

    .k-agent__launcher {
        width: 100%;
    }
}

.k-header__language-switcher {
    display: inline-flex;
    gap: 0.25rem;
    margin-left: 0.75rem;
}

.k-header__language-option {
    border: 1px solid currentColor;
    background: transparent;
    color: inherit;
    border-radius: 999px;
    padding: 0.25rem 0.75rem;
    font-size: 0.8125rem;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.k-header__language-option--active {
    background: currentColor;
    color: #fff;
}

/*
 * Header 1.0 Styles
 */

.k-header {
    background-color: #fff;
    position: relative;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* --- ROW 1: BRAND | SEARCH | ACTIONS --- */

.k-header__top {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    background-color: #fff;
    padding: var(--k-spacing-base, 1rem) 0;
}

.k-header__inner-top {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 var(--k-spacing-gutter, 1.5rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

/* Brand */
.k-header__brand {
    flex-shrink: 0;
}

.k-header__logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--k-color-text, #111);
}

.k-header__logo-mark {
    width: 48px;
    height: 48px;
    background-color: var(--k-color-primary, #0056b3);
    border-radius: var(--k-radius-small, 8px);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
}

.k-header__logo-mark::after {
    content: "K";
    color: #fff;
    font-weight: 800;
    font-size: 1.6rem;
    font-family: var(--k-font-heading, sans-serif);
}

.k-header__logo-text {
    font-family: var(--k-font-heading, sans-serif);
    font-weight: 700;
    font-size: 1.4rem;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    display: flex;
    flex-direction: column;
}

.k-header__logo-text small {
    font-weight: 600;
    font-size: 0.65rem;
    letter-spacing: 0.35em;
    color: var(--k-color-muted, #777);
    margin-top: 2px;
}

/* Search (Simple) */
.k-header__search {
    flex: 1;
    max-width: 550px;
}

.k-search-simple {
    display: flex;
    align-items: center;
    background: #f4f6f8;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 50px;
    padding: 0.25rem 0.25rem 0.25rem 1.25rem;
    transition: all 0.2s ease;
}

.k-search-simple:focus-within {
    background: #fff;
    border-color: var(--k-color-primary, #0056b3);
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
}

.k-search-simple__input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 0.95rem;
    height: 38px;
    outline: none;
    color: var(--k-color-text, #222);
}

.k-search-simple__btn {
    width: 42px;
    height: 42px;
    border: none;
    background-color: var(--k-color-primary, #0056b3);
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.k-search-simple__btn:hover {
    background-color: var(--k-color-secondary, #004494);
}

/* Actions Container */
.k-header__actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* User Menu Dropdown Wrapper */
.k-header__user-menu {
    position: relative;
    padding-bottom: 0;
}

/* Login Trigger */
.k-header__login {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: var(--k-color-text, #333);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
}

.k-header__login-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #f4f6f8;
    border-radius: 50%;
    color: var(--k-color-primary, #0056b3);
    transition: background-color 0.2s;
}

.k-header__user-menu:hover .k-header__login-icon,
.k-header__login:hover .k-header__login-icon {
    background-color: rgba(0, 86, 179, 0.1);
}

/* User Dropdown Body */
.k-header__user-dropdown {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 100%;
    right: 0;
    width: 220px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 1rem;
    margin-top: 0.75rem;
    transform: translateY(10px);
    transition: all 0.2s ease;
    z-index: 1010;
}

.k-header__user-dropdown::before {
    content: "";
    position: absolute;
    top: -6px;
    right: 32px;
    width: 12px;
    height: 12px;
    background: #fff;
    transform: rotate(45deg);
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    border-left: 1px solid rgba(0, 0, 0, 0.04);
}

.k-header__user-menu:hover .k-header__user-dropdown {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.k-btn-block {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.6rem;
    margin-bottom: 0.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.k-btn-block:last-child {
    margin-bottom: 0;
}

.k-btn-primary {
    background-color: var(--k-color-primary, #0056b3);
    color: #fff;
}

.k-btn-primary:hover {
    background-color: var(--k-color-secondary, #004494);
}

.k-btn-outline {
    background-color: transparent;
    border: 1px solid #ddd;
    color: var(--k-color-text, #333);
}

.k-btn-outline:hover {
    border-color: var(--k-color-primary, #0056b3);
    color: var(--k-color-primary, #0056b3);
}

/* Language Switcher */
.k-header__language-switcher {
    display: flex;
    background-color: #f4f6f8;
    padding: 3px;
    border-radius: 6px;
}

.k-header__language-option {
    border: none;
    background: transparent;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.4rem 0.6rem;
    border-radius: 4px;
    cursor: pointer;
    color: #888;
    text-transform: uppercase;
}

.k-header__language-option.is-active {
    background-color: #fff;
    color: var(--k-color-text, #111);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* --- ROW 2: NAVIGATION --- */

.k-header__bottom {
    background-color: var(--k-color-secondary, #2c3e50);
    color: #fff;
    position: relative;
}

.k-header__inner-bottom {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 var(--k-spacing-gutter, 1.5rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 52px;
}

.k-header__nav {
    display: flex;
    align-items: center;
    height: 100%;
}

.k-header__menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 0;
    height: 100%;
}

.k-header__menu>li {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.k-header__menu>li>a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    padding: 0 1.25rem;
    height: 100%;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    border-bottom: 3px solid transparent;
    transition: all 0.2s ease;
}

.k-header__menu>li>a:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
}

/* "Categories" Special Item */
.k-menu-categories>a {
    color: #fff !important;
    background-color: var(--k-color-primary, #0056b3);
    padding: 0 1.5rem !important;
    font-weight: 700 !important;
    margin-right: 1rem;
}

.k-menu-categories>a:hover {
    background-color: #004494 !important;
}

.k-icon-menu {
    font-size: 1.2rem;
    margin-right: 0.5rem;
    line-height: 1;
}

/* Nav Dropdown (Sub-menu) */
.k-header__menu .sub-menu {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    background: #fff;
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 1010;
    transform: translateY(10px);
    transition: all 0.2s ease;
}

.k-header__menu li:hover .sub-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.k-header__menu .sub-menu li {
    display: block;
    width: 100%;
}

.k-header__menu .sub-menu li a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--k-color-text, #333);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: none;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s;
    height: auto;
}

.k-header__menu .sub-menu li:last-child a {
    border-bottom: none;
}

.k-header__menu .sub-menu li a:hover {
    background-color: #f9f9f9;
    color: var(--k-color-primary, #0056b3);
}

/* WhatsApp Button in Header */
.k-header__whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #25D366;
    color: #fff !important;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(37, 211, 102, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.k-header__whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
    background-color: #1ebc57;
}

/* Responsive */
@media (max-width: 1024px) {
    .k-header__inner-top {
        flex-wrap: wrap;
        padding: 1rem;
        gap: 1rem;
    }

    .k-header__search {
        order: 3;
        flex: 1 1 100%;
        max-width: 100%;
        margin-top: 0.5rem;
    }

    .k-header__inner-bottom {
        display: none;
    }
}