/* Mobile nav helpers — primary patterns use Tailwind in gleecy-header.view.html (see templates/layout/_header-mobile-raw.html) */

[x-cloak] {
    display: none !important;
}

/* Featured product tiles — soft edge on gray-50 page background */
.gleecy-featured-tile {
    box-shadow: inset 0 0 0 1px rgba(229, 231, 235, 0.65);
}
.gleecy-featured-tile:hover {
    box-shadow: inset 0 0 0 1px rgba(209, 213, 219, 0.9);
}

/* Amazon-style homepage carousels (auto-rotate; no side arrows) */
.gleecy-carousel-auto .gleecy-carousel-btn {
    display: none !important;
}

.gleecy-carousel-btn {
    position: absolute;
    top: 50%;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 4.5rem;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.12);
    color: #1f2937;
    font-size: 1.75rem;
    line-height: 1;
    transition: background-color 0.15s ease, box-shadow 0.15s ease;
}
.gleecy-carousel-btn:hover {
    background: #fff;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.18);
}
.gleecy-carousel-btn:focus {
    outline: 2px solid #f97316;
    outline-offset: 2px;
}
.gleecy-carousel-btn-prev {
    left: 0;
    border-radius: 0 4px 4px 0;
}
.gleecy-carousel-btn-next {
    right: 0;
    border-radius: 4px 0 0 4px;
}
.gleecy-carousel-btn-strip {
    height: 3.25rem;
    width: 2.25rem;
    background: rgba(255, 255, 255, 0.95);
}
.gleecy-carousel-dots {
    position: absolute;
    right: 0;
    bottom: 0.75rem;
    left: 0;
    z-index: 20;
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    pointer-events: none;
}
.gleecy-carousel-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 9999px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.55);
    pointer-events: auto;
    padding: 0;
}
.gleecy-carousel-dot-active {
    background: #f97316;
    border-color: #ea580c;
}
.gleecy-carousel-viewport {
    touch-action: pan-x pan-y;
}

/* Category nav row — native horizontal swipe (separate from carousels) */
.gleecy-nav2-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
}
.gleecy-nav2-scroll::-webkit-scrollbar {
    display: none;
}

/* Footer — use plain CSS gap (gap-x-8 is not in gleecy-tailwind.css build) */
.gleecy-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    column-gap: 2rem;
    row-gap: 0.75rem;
}
.gleecy-footer-links a {
    padding: 0.125rem 0.25rem;
    white-space: nowrap;
}
.gleecy-footer-social {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    column-gap: 2.5rem;
    row-gap: 1rem;
    margin-top: 2.5rem;
}

/* Ensure mobile flyouts sit above nav2 on small screens */
@media (max-width: 1023px) {
    #language-menu-mobile,
    #language-menu-dropdown-mobile,
    #sign-in-menu-dropdown-mobile,
    #orders-menu-dropdown-mobile,
    #returns-menu-dropdown-mobile {
        z-index: 60;
    }

    #apparel-menu,
    #TeleMedicine-menu {
        z-index: 55;
    }
}
