/* MEEM-style storefront header + hero */

:root {
    --wc-meem-orange: #e8943a;
    --wc-meem-orange-dark: #d47a1f;
    --wc-meem-nav-bg: #f3f4f6;
    --wc-meem-text: #1f2937;
    --wc-meem-muted: #6b7280;
}

/* ── Utility topbar ── */
.wc-utility-topbar {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    font-size: 12px;
    color: var(--wc-meem-muted);
}

.wc-utility-topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 36px;
    padding: 6px 16px;
}

.wc-utility-topbar__welcome {
    font-weight: 500;
    letter-spacing: 0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wc-utility-topbar__links {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.wc-utility-topbar__links a,
.wc-utility-topbar__item {
    color: var(--wc-meem-muted);
    text-decoration: none;
    white-space: nowrap;
}

.wc-utility-topbar__links a:hover {
    color: var(--wc-meem-orange);
    text-decoration: none;
}

/* ── Header stack ── */
.wc-meem-header-stack {
    position: sticky;
    top: 0;
    z-index: 999;
    background: #fff;
    box-shadow: 0 1px 8px rgba(15, 23, 42, 0.06);
}

.wc-meem-header-stack .wc-silver-header {
    position: static !important;
    border-bottom: none !important;
    box-shadow: none !important;
    background: #fff !important;
    min-height: auto !important;
}

.wc-meem-header__main {
    padding: 14px 0;
    border-bottom: 1px solid #eef0f3;
}

.wc-meem-header__main .logoImg img,
.wc-meem-header__main #siteHeaderLogo {
    max-height: 46px;
    width: auto;
}

.wc-meem-search {
    flex: 1;
    max-width: 620px;
    margin: 0 auto;
}

.wc-meem-search__form {
    display: flex;
    align-items: stretch;
    border: 1px solid rgba(232, 148, 58, 0.55);
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
}

.wc-meem-search__category {
    border: none;
    border-right: 1px solid #e5e7eb;
    background: #fafafa;
    padding: 0 12px;
    font-size: 13px;
    color: var(--wc-meem-text);
    min-width: 130px;
    max-width: 150px;
}

.wc-meem-search__input {
    flex: 1;
    border: none;
    padding: 0 14px;
    font-size: 14px;
    min-width: 0;
    background: #fff;
}

.wc-meem-search__input:focus {
    outline: none;
}

.wc-meem-search__btn {
    border: none;
    background: #fff;
    color: var(--wc-meem-orange);
    padding: 0 16px;
    font-size: 16px;
    cursor: pointer;
}

.wc-meem-search__btn:hover {
    background: #fff8f0;
}

.wc-meem-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
}

.wc-meem-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--wc-meem-text);
    text-decoration: none;
    font-size: 12px;
    line-height: 1.2;
    white-space: nowrap;
}

.wc-meem-action:hover {
    color: var(--wc-meem-orange);
    text-decoration: none;
}

.wc-meem-action__icon {
    font-size: 22px;
    color: var(--wc-meem-text);
}

.wc-meem-action__label {
    display: block;
    font-weight: 600;
}

.wc-meem-action__sub {
    display: block;
    font-size: 11px;
    color: var(--wc-meem-muted);
    font-weight: 500;
}

.wc-meem-header-stack .iconset .hdr-icon {
    font-size: 22px !important;
}

.wc-meem-header-stack .wishlist-count,
.wc-meem-header-stack .cart-count {
    background: var(--wc-meem-orange) !important;
}

/* ── Nav bar ── */
.wc-meem-header__nav {
    background: var(--wc-meem-nav-bg);
    border-bottom: 1px solid #e5e7eb;
}

.wc-meem-nav-inner {
    display: flex;
    align-items: stretch;
    min-height: 48px;
}

.wc-meem-browse-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 22px;
    border: none;
    background: #e5e7eb;
    color: var(--wc-meem-text);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s ease;
}

.wc-meem-browse-btn:hover,
.wc-meem-browse-btn.is-open {
    background: #d1d5db;
}

.wc-meem-nav-menu {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin: 0;
    padding: 0 12px;
    list-style: none;
}

.wc-meem-nav-menu > li > a {
    display: block;
    padding: 14px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--wc-meem-text);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.wc-meem-nav-menu > li.wc-meem-nav-dropdown {
    position: relative;
}

.wc-meem-nav-menu > li.wc-meem-nav-dropdown > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.wc-meem-nav-caret {
    font-size: 10px;
    opacity: 0.65;
    transition: transform 0.2s ease;
}

.wc-meem-nav-submenu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 210px;
    max-height: 360px;
    overflow-y: auto;
    margin: 0;
    padding: 8px 0;
    list-style: none;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 1002;
}

.wc-meem-nav-submenu a {
    display: block;
    padding: 9px 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--wc-meem-text);
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s ease, color 0.15s ease;
}

.wc-meem-nav-submenu a:hover {
    background: #f9fafb;
    color: var(--wc-meem-orange);
}

.wc-meem-nav-dropdown:hover > .wc-meem-nav-submenu,
.wc-meem-nav-dropdown:focus-within > .wc-meem-nav-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.wc-meem-nav-dropdown:hover > a .wc-meem-nav-caret,
.wc-meem-nav-dropdown:focus-within > a .wc-meem-nav-caret {
    transform: rotate(180deg);
}

.wc-meem-nav-menu > li > a:hover,
.wc-meem-nav-menu > li.is-active > a {
    color: var(--wc-meem-orange);
    border-bottom-color: var(--wc-meem-orange);
}

.wc-meem-nav-login {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 18px;
    font-size: 13px;
    font-weight: 600;
    color: var(--wc-meem-text);
    text-decoration: none;
    white-space: nowrap;
}

.wc-meem-nav-login:hover {
    color: var(--wc-meem-orange);
    text-decoration: none;
}

/* Hide old centered nav in main row */
.wc-meem-header-stack .d-menu-col {
    display: none !important;
}

/* ── Hero layout (index) ── */
.wc-meem-hero {
    background: #f5f5f5;
}

.wc-meem-hero__layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    min-height: 380px;
}

.wc-meem-hero__sidebar {
    background: #fff;
    border-right: 1px solid #e5e7eb;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.wc-meem-hero__cat-list {
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
    overflow-y: auto;
}

.wc-meem-hero__cat-list li {
    border-bottom: 1px solid #f0f0f0;
}

.wc-meem-hero__cat-list a {
    display: block;
    padding: 11px 18px;
    font-size: 13px;
    color: var(--wc-meem-text);
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
}

.wc-meem-hero__cat-list a:hover {
    background: #fff8f0;
    color: var(--wc-meem-orange);
    text-decoration: none;
}

.wc-meem-hero__cat-all {
    display: block;
    padding: 14px 18px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--wc-meem-orange);
    text-decoration: none;
    border-top: 1px solid #e5e7eb;
}

.wc-meem-hero__cat-all:hover {
    color: var(--wc-meem-orange-dark);
    text-decoration: none;
}

.wc-meem-hero__banner {
    position: relative;
    min-width: 0;
}

.wc-meem-hero__banner .slideshow-wrapper {
    margin: 0;
}

.wc-meem-hero__banner .home-slideshow,
.wc-meem-hero__banner .slideshow-wrap {
    height: 100%;
    min-height: 380px;
}

.wc-meem-hero__banner .slideshow-banner-img {
    width: 100%;
    height: 100%;
    min-height: 380px;
    object-fit: cover;
}

.wc-meem-hero__banner .slideshow-wrap {
    position: relative;
    background: #111;
}

.wc-meem-hero__banner .slideshow-banner-img {
    opacity: 1;
}

.wc-meem-hero__banner .slick-dots {
    bottom: 16px;
    z-index: 4;
}

.wc-meem-hero__banner .slick-dots li button:before {
    font-size: 10px;
    color: #cbd5e1;
    opacity: 1;
}

.wc-meem-hero__banner .slick-dots li.slick-active button:before {
    color: var(--wc-meem-orange);
    opacity: 1;
}

/* Hide old overlay content */
.wc-meem-hero__banner .slideshow-content {
    display: none !important;
}

.wc-meem-header-stack .account-parent {
    position: relative;
}

.wc-meem-header-stack .account-parent:hover #accountBox,
.wc-meem-header-stack #accountBox:hover,
.wc-meem-header-stack #accountBox.active {
    visibility: visible;
    opacity: 1;
    top: 100%;
}

.wc-meem-header-stack #accountBox::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -14px;
    height: 14px;
}

.wc-meem-header-stack .header-cart .cart-count {
    position: absolute;
    top: -6px;
    right: -8px;
}

.wc-meem-header-stack .header-cart {
    position: relative;
}

.wc-meem-header-stack .wishlist-link {
    position: relative;
}

.wc-meem-hero__banner .slideshow .slideshow-wrap {
    aspect-ratio: auto !important;
    max-height: none !important;
}

.wc-meem-hero__banner .slideshow-banner-img {
    object-fit: cover !important;
}

@media (max-width: 991.98px) {
    .wc-meem-search {
        display: none !important;
    }

    .wc-meem-action--call {
        display: none !important;
    }

    .wc-meem-header__nav {
        display: none !important;
    }

    .wc-meem-hero__layout {
        grid-template-columns: 1fr;
    }

    .wc-meem-hero__sidebar {
        display: none;
    }

    .wc-meem-hero__sidebar.is-mobile-open {
        display: flex;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 20;
        width: min(280px, 88vw);
        height: 100%;
        box-shadow: 8px 0 24px rgba(0, 0, 0, 0.12);
    }

    .wc-meem-hero__banner .home-slideshow,
    .wc-meem-hero__banner .slideshow-wrap,
    .wc-meem-hero__banner .slideshow-banner-img {
        min-height: 280px;
    }
}

@media (max-width: 575px) {
    .wc-utility-topbar__welcome {
        font-size: 11px;
    }

    .wc-meem-actions {
        gap: 10px;
    }

    .wc-meem-action__label,
    .wc-meem-action__sub {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wc-meem-browse-btn,
    .wc-meem-nav-menu > li > a,
    .wc-meem-hero__cat-list a {
        transition: none;
    }
}
