/* kicksrtw — house styles */

:root {
    --ink: #141311;
    --charcoal: #1c1b19;
    --ivory: #f6f1e8;
    --parchment: #efe7da;
    --sand: #d8cbb8;
    --gold: #e3b12a;
    --gold-deep: #c49212;
    --muted: #6f675c;
    --line: rgba(20, 19, 17, 0.12);
    --white: #fffcf7;
    --serif: "Cormorant Garamond", "Times New Roman", serif;
    --sans: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

@font-face {
    font-family: 'Theseasons';
    src: url('../Fonts/Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Theseasons';
    src: url('../Fonts/Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Theseasons';
    src: url('../Fonts/Italics.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Theseasons';
    src: url('../Fonts/BoldItalics.ttf') format('truetype');
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: 'Theseasons';
    src: url('../Fonts/Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Theseasons';
    src: url('../Fonts/LightItalics.ttf') format('truetype');
    font-weight: 300;
    font-style: italic;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--sans);
    color: var(--ink);
    background: var(--ivory);
    letter-spacing: 0.01em;
}

.site-header {
    width: 100%;
    background: var(--charcoal);
    position: sticky;
    top: 0;
    z-index: 2000;
    border-bottom: 1px solid rgba(246, 241, 232, 0.08);
}

.sliding-banner {
    background: var(--ink);
    color: var(--ivory);
    padding: 10px 0;
    overflow: hidden;
    position: relative;
    height: auto;
    border-bottom: 1px solid rgba(184, 154, 106, 0.35);
}

.slide-container {
    position: relative;
    width: 100%;
    height: auto;
    padding: 4px 0;
    min-height: 32px;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(-100%);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.slide.active {
    opacity: 1;
    transform: translateY(0);
}

.slide span {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    text-align: center;
    white-space: nowrap;
    color: var(--sand);
}

.main-navigation {
    padding: 18px 0;
}

.nav-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.nav-container--brand-first {
    gap: 32px;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.logo-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(246, 241, 232, 0.22);
}

.logo {
    width: 28px;
    height: auto;
    display: block;
    filter: none;
    color: var(--ivory);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-name {
    font-family: var(--serif);
    font-weight: 500;
    font-size: 1.55rem;
    letter-spacing: 0.12em;
    text-transform: lowercase;
    color: var(--ivory);
}

.brand-tagline {
    font-size: 0.58rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-top: 4px;
}

.nav-center--links {
    display: flex;
    align-items: center;
    gap: 28px;
    position: static;
    left: auto;
    transform: none;
}

.nav-link {
    color: var(--ivory);
    text-decoration: none;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 4px;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--gold);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--gold);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.is-active::after {
    width: 100%;
}

.nav-right {
    display: flex;
    gap: 6px;
    align-items: center;
}

.icon-btn {
    background: none;
    border: none;
    color: var(--ivory);
    font-size: 16px;
    cursor: pointer;
    padding: 8px;
    position: relative;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.icon-btn:hover,
.whatsapp-nav:hover {
    color: var(--gold);
}

.whatsapp-nav {
    color: var(--gold);
}

.cart-count {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--gold);
    color: var(--ink);
    border-radius: 50%;
    width: 16px;
    height: 16px;
    font-size: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.mobile-menu-toggle {
    display: none;
}

.site-alert {
    max-width: 920px;
    margin: 20px auto;
    padding: 14px 20px;
    font-weight: 500;
    text-align: center;
    letter-spacing: 0.04em;
}

.site-alert-dynamic {
    max-width: 920px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-alert-success {
    background: var(--parchment);
    color: var(--ink);
    border: 1px solid var(--sand);
}

.site-alert-error {
    background: #f6ece6;
    color: #8a3b2a;
    border: 1px solid #e4c9bf;
}

.categories-navigation {
    background: transparent;
    border-top: 1px solid rgba(246, 241, 232, 0.1);
}

.categories-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 32px;
}

.mobile-categories-toggle {
    display: none;
    width: 100%;
    background: none;
    border: none;
    color: var(--ivory);
    padding: 14px 0;
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    cursor: pointer;
    justify-content: space-between;
    align-items: center;
    font-family: var(--sans);
}

.mobile-categories-toggle i {
    transition: transform 0.3s ease;
}

.mobile-categories-toggle.active i {
    transform: rotate(180deg);
}

.categories-nav {
    display: block;
}

.categories-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.categories-list li {
    flex: 0 0 auto;
}

.category-link {
    display: block;
    color: var(--sand);
    text-decoration: none;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.2em;
    transition: color 0.3s ease;
    white-space: nowrap;
    padding: 12px 22px;
}

.category-link:hover {
    color: var(--ivory);
}

.last-category,
.first-category {
    padding-right: 22px;
    padding-left: 22px;
}

.search-bar-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(28, 27, 25, 0.97);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.search-bar-container.active {
    opacity: 1;
    visibility: visible;
}

.search-bar-content {
    width: 90%;
    max-width: 760px;
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid var(--gold);
}

.search-form {
    flex: 1;
    display: flex;
    align-items: center;
}

.search-input {
    flex-grow: 1;
    padding: 16px 8px;
    border: none;
    font-size: 1.15rem;
    outline: none;
    background: transparent;
    color: var(--ivory);
    font-family: var(--serif);
}

.search-input::placeholder {
    color: rgba(246, 241, 232, 0.45);
}

.search-submit-btn,
.search-close-btn {
    background: transparent;
    color: var(--ivory);
    border: none;
    padding: 15px 12px;
    font-size: 1.1em;
    cursor: pointer;
}

.search-submit-btn:hover,
.search-close-btn:hover {
    color: var(--gold);
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(20, 19, 17, 0.55);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

@media (max-width: 768px) {
    .main-navigation {
        padding: 12px 0;
    }

    .nav-container {
        padding: 0 16px;
    }

    .nav-container--brand-first {
        gap: 12px;
    }

    .nav-brand {
        flex: 1;
        min-width: 0;
    }

    .logo-mark {
        width: 36px;
        height: 36px;
    }

    .brand-name {
        font-size: 1.25rem;
    }

    .brand-tagline {
        font-size: 0.55rem;
    }

    .nav-center--links {
        display: none;
    }

    .nav-center--links.active {
        display: flex;
        flex-direction: column;
        gap: 18px;
        position: absolute;
        top: 100%;
        right: 0;
        width: 100%;
        background: var(--charcoal);
        padding: 22px 18px 28px;
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
        z-index: 3000;
        border-top: 1px solid rgba(246, 241, 232, 0.08);
    }

    .nav-right {
        gap: 4px;
        margin-left: auto;
    }

    .nav-right .search-btn,
    .nav-right .wishlist-btn,
    .nav-right .account-btn {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .sliding-banner {
        padding: 10px 0;
    }

    .slide span {
        white-space: normal;
        text-align: center;
        max-width: 92%;
        margin: 0 auto;
        line-height: 1.5;
        font-size: 10px;
        letter-spacing: 0.14em;
    }

    .categories-container {
        padding: 0 16px;
    }

    .mobile-categories-toggle {
        display: flex;
    }

    .categories-nav {
        display: none;
        width: 100%;
    }

    .categories-nav.active {
        display: block;
    }

    .categories-list {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .categories-list li {
        width: 100%;
    }

    .category-link,
    .last-category,
    .first-category {
        width: 100%;
        padding: 12px 0;
        border-top: 1px solid rgba(246, 241, 232, 0.08);
    }
}
