/* ================================================
   KKN NAVBAR — all classes prefixed with kkn-
   ================================================ */

:root {
    --kkn-bg:            #f9f8f6;
    --kkn-text:          #1a1a1a;
    --kkn-hover:         #888;
    --kkn-border:        #e8e4df;
    --kkn-drawer-border: #ece9e3;
    --kkn-ls:            0.12em;
}

/* ── STICKY HEADER WRAPPER ── */
.kkn-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: var(--kkn-bg);
}

/* ================================================
   PROMO BAR
   ================================================ */

.kkn-promo-bar {
    position: relative;
    width: 100%;
    background: #e0d7c6;
    color: #000;
    padding: 14px 0;
    font-size: 14px;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    transition: max-height 0.35s ease, padding 0.35s ease, opacity 0.3s ease;
    max-height: 60px;
}

.kkn-promo-wrapper {
    overflow: hidden;
    height: 26px;
    width: 100%;
    position: relative;
    text-align: center;
}

.kkn-promo-item {
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
    margin: 0;
    opacity: 0;
    transform: translateY(30px);
    transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.8s ease;
    will-change: transform, opacity;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    text-decoration: underline;
    line-height: 1.3125rem;
    font-size: 0.875rem;
    font-weight: 400;
}

.kkn-promo-item.kkn-active {
    opacity: 1;
    transform: translateY(0);
}

.kkn-promo-item.kkn-exit {
    opacity: 0;
    transform: translateY(-30px);
}

.kkn-promo-close {
    background: none;
    border: none;
    color: #000;
    font-size: 1.5rem;
    cursor: pointer;
    position: absolute;
    right: 2%;
    top: 50%;
    transform: translateY(-50%);
    line-height: 1;
    padding: 0 4px;
    transition: opacity 0.2s;
}

.kkn-promo-close:hover {
    opacity: 0.5;
}

/* ================================================
   SHARED NAV BASE
   ================================================ */

.kkn-nav {
    background-color: #f9f8f6;
    border-bottom: 1px solid #e8e4df;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    width: 100%;
}

.kkn-brand {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 0.35em;
    color:  #1a1a1a;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
}

.kkn-link {
    color:  #1a1a1a;
    text-decoration: none;
    font-size: 14px;
    letter-spacing:  0.12em;
    font-weight: 500;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.kkn-link:hover {
    color: #888;
}

.kkn-icon-btn {
    background: none;
    border: none;
    padding: 0 5px;
    color:  #1a1a1a;
    font-size: 15px;
    cursor: pointer;
    transition: color 0.2s;
    position: relative;
    line-height: 1;
}

.kkn-icon-btn:hover {
    color: #888;
}

.kkn-badge {
    position: absolute;
    top: -4px;
    right: -2px;
    background: var(--kkn-text);
    color: #fff;
    font-size: 8px;
    font-family: 'Montserrat', sans-serif;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.kkn-divider {
    color: #bbb;
    font-size: 10px;
    margin: 0 2px;
}

.kkn-ship {
    font-size: 10.5px;
    letter-spacing: 0.1em;
    color: #1a1a1a;
    white-space: nowrap;
}

.kkn-lang {
    font-size: 10.5px;
    letter-spacing: 0.1em;
    color: #1a1a1a;
    cursor: pointer;
    border: none;
    background: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    padding: 0 2px;
    text-transform: uppercase;
}

.kkn-lang:focus {
    outline: none;
}

/* ================================================
   DESKTOP NAV — >= 1024px
   ================================================ */

.kkn-nav-desktop {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    height: 60px;
    padding: 0 24px;
}

.kkn-nav-desktop .kkn-left {
    display: flex;
    align-items: center;
    gap: 24px;
}

.kkn-nav-desktop .kkn-right {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-end;
}

/* ================================================
   MOBILE NAV — < 1024px
   ================================================ */

.kkn-nav-mobile {
    display: none;
    align-items: center;
    height: 52px;
    padding: 0 16px;
    position: relative;
}

.kkn-mob-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.kkn-mob-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}

.kkn-mob-center a {
    pointer-events: all;
}

.kkn-mob-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 6px;
}

.kkn-mob-icon {
    font-size: 18px;
}

/* ================================================
   MOBILE DRAWER
   ================================================ */

.kkn-drawer {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: var(--kkn-bg);
    border-top: 1px solid transparent;
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.28s ease,
                padding 0.38s ease,
                border-color 0.3s ease;
}

.kkn-drawer.kkn-open {
    max-height: 600px;
    opacity: 1;
    padding: 16px 20px 20px;
    border-top-color: #e8e4df;
}

#kknHamIcon {
    display: inline-block;
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.15s ease;
}

#kknHamBtn.kkn-open-btn #kknHamIcon {
    transform: rotate(90deg);
}

.kkn-drawer-link {
    color: #1a1a1a;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 12px 0;
    border-bottom: 1px solid #ece9e3;
    transition: color 0.2s, opacity 0.3s ease, transform 0.3s ease;
    opacity: 0;
    transform: translateY(-6px);
}

.kkn-drawer.kkn-open .kkn-drawer-link {
    opacity: 1;
    transform: translateY(0);
}

.kkn-drawer.kkn-open .kkn-drawer-link:nth-child(1) { transition-delay: 0.05s; }
.kkn-drawer.kkn-open .kkn-drawer-link:nth-child(2) { transition-delay: 0.09s; }
.kkn-drawer.kkn-open .kkn-drawer-link:nth-child(3) { transition-delay: 0.13s; }
.kkn-drawer.kkn-open .kkn-drawer-link:nth-child(4) { transition-delay: 0.17s; }
.kkn-drawer.kkn-open .kkn-drawer-link:nth-child(5) { transition-delay: 0.21s; }
.kkn-drawer.kkn-open .kkn-drawer-link:nth-child(6) { transition-delay: 0.25s; }
.kkn-drawer.kkn-open .kkn-drawer-link:nth-child(7) { transition-delay: 0.29s; }
.kkn-drawer.kkn-open .kkn-drawer-link:nth-child(8) { transition-delay: 0.33s; }

.kkn-drawer-link:last-of-type {
    border-bottom: none;
}

.kkn-drawer-link:hover {
    color:  #888;
}

.kkn-drawer-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 14px;
    border-top: 1px solid #ece9e3;
    margin-top: 4px;
    opacity: 0;
    transition: opacity 0.3s ease 0.35s;
}

.kkn-drawer.kkn-open .kkn-drawer-meta {
    opacity: 1;
}

/* ================================================
   RESPONSIVE BREAKPOINTS
   ================================================ */

/* Mobile + iPad — < 1024px */
@media (max-width: 1023px) {
    .kkn-nav-desktop { display: none; }
    .kkn-nav-mobile  { display: flex; }
}

/* Small laptop — 1024px to 1280px */
@media (min-width: 1024px) and (max-width: 1280px) {
    .kkn-nav-desktop            { padding: 0 16px; height: 56px; }
    .kkn-nav-desktop .kkn-left  { gap: 14px; }
    .kkn-nav-desktop .kkn-right { gap: 5px; }
    .kkn-link                   { font-size: 11px; }
    .kkn-brand                  { font-size: 20px; letter-spacing: 0.25em; }
    .kkn-ship, .kkn-lang        { font-size: 9.5px; }
    .kkn-divider                { margin: 0 1px; }
}

/* Standard laptop — 1281px to 1440px */
@media (min-width: 1281px) and (max-width: 1440px) {
    .kkn-nav-desktop            { padding: 0 20px; }
    .kkn-nav-desktop .kkn-left  { gap: 18px; }
    .kkn-nav-desktop .kkn-right { gap: 6px; }
    .kkn-link                   { font-size: 12.5px; }
}

/* Promo bar mobile */
@media (max-width: 600px) {
    .kkn-promo-bar     { padding: 10px 0; }
    .kkn-promo-item    { font-size: 0.72rem; }
    .kkn-promo-wrapper { height: 22px; }
}