.logo-img {
    height: 46px;
}

.shop-bar {
    border-top: 1px solid rgba(255, 255, 255, .1);
    margin-top: 14px;
    margin-bottom: -16px;
    background: #0a0a0a;
}

.shop-bar-inner {
    position: relative;
    display: flex;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.shop-bar-inner::-webkit-scrollbar {
    display: none;
}

.shop-bar-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    padding: 12px 14px;
    color: rgba(255, 255, 255, .65);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: color .2s;
}

.shop-bar-link:hover {
    color: #fff;
}

.shop-bar-link.active {
    color: #fff;
    font-weight: 700;
}

.shop-bar-link.active::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 0;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: #fff;
}

.shop-bar-age,
.cart-age {
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    padding: 3px 5px;
    border-radius: 4px;
    border: 1px solid currentColor;
    opacity: .8;
}

.categories-nav-parents h3,
.categories-nav-title {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 6px;
}

.breadcrumbs {
    margin: 14px 0 6px;
    font-size: 13px;
    color: #6b7280;
}

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumbs li:not(:last-child)::after {
    content: "›";
    margin-left: 4px;
    color: #9ca3af;
}

.breadcrumbs a {
    color: #4b5563;
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: #000;
    text-decoration: underline;
}

.hub-hero {
    text-align: center;
    padding: 36px 0 28px;
}

.hub-hero h1 {
    font-size: 44px;
    font-weight: 800;
    letter-spacing: -1px;
    color: #000;
    margin-bottom: 8px;
}

.hub-hero p {
    font-size: 18px;
    color: #6b7280;
    max-width: 560px;
    margin: 0 auto;
}

.shop-hero {
    padding-top: 10px;
}

.shop-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 18px;
}

.shop-tile {
    position: relative;
    display: block;
    aspect-ratio: 3 / 2;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(135deg, #111 0%, #3a3a3a 100%);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .12);
    transition: transform .25s, box-shadow .25s;
}

.shop-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, .2);
}

.shop-tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}

.shop-tile:hover img {
    transform: scale(1.05);
}

.shop-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, .8) 100%);
}

.shop-tile-body {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 18px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.shop-tile-name {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -.5px;
}

.shop-tile-tagline {
    font-size: 14px;
    color: rgba(255, 255, 255, .8);
}

.shop-tile-age {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 1;
    padding: 4px 8px;
    border-radius: 6px;
    background: rgba(0, 0, 0, .6);
    border: 1px solid rgba(255, 255, 255, .6);
    font-size: 13px;
    font-weight: 700;
}

.product-shop {
    display: block;
    padding: 0 16px;
    margin-top: 10px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .4px;
    color: #9ca3af;
}

.product-card.is-age-locked .product-image img {
    filter: blur(18px) grayscale(.4);
    transform: scale(1.1);
}

.product-card.is-age-locked .product-name {
    filter: blur(5px);
    user-select: none;
}

.product-card.is-age-locked .product-image {
    overflow: hidden;
}

.age-lock-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 5;
    transform: translate(-50%, -50%);
    padding: 8px 14px;
    border-radius: 8px;
    background: rgba(0, 0, 0, .75);
    color: #fff;
    font-size: 18px;
    font-weight: 800;
}

.shop-about-text {
    color: #4b5563;
    line-height: 1.6;
    max-width: 900px;
}

.search-header {
    margin: 24px 0;
}

.search-header a {
    color: #000;
    text-decoration: underline;
}

.loading-spinner,
.end-message {
    text-align: center;
    padding: 15px 0;
    color: #6b7280;
}

.loading-spinner[hidden],
.end-message[hidden],
.pagination-wrapper[hidden] {
    display: none;
}

.cart-shop-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 14px 0 2px;
    padding-bottom: 6px;
    border-bottom: 1px solid #e5e7eb;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .4px;
    color: #6b7280;
}

.cart-item-info h4 a {
    color: inherit;
    text-decoration: none;
}

.cart-item-info h4 a:hover {
    text-decoration: underline;
}

.age-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, .6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.age-modal[hidden] {
    display: none;
}

.age-modal-box {
    width: 100%;
    max-width: 440px;
    background: #fff;
    border-radius: 12px;
    padding: 26px 24px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .4);
}

.age-modal-box h2 {
    font-size: 22px;
    margin-bottom: 12px;
}

.age-modal-text {
    font-size: 14px;
    line-height: 1.55;
    color: #4b5563;
    background: #fef3c7;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 18px;
}

.age-modal-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.age-modal-buttons .btn {
    width: 100%;
    padding: 12px;
    font-size: 16px;
}

.btn-dark {
    background: #000;
    color: #fff;
    border: 1px solid #000;
}

.btn-dark:hover {
    background: #222;
    color: #fff;
}

body.age-modal-open {
    overflow: hidden;
}

.footer-brand {
    font-size: 22px !important;
    font-weight: 800;
    color: #fff;
}

.footer-title {
    font-size: 13px !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: rgba(255, 255, 255, .5);
}

.footer-section {
    text-align: left;
    gap: 12px;
}

.footer-section a {
    font-size: 16px;
}

.footer-tg {
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
}

.footer .footer-dev {
    font-size: 14px;
    border: 0;
    color: rgba(255, 255, 255, .3);
}

.footer .footer-dev:hover {
    color: rgba(255, 255, 255, .7);
}

@media (max-width: 640px) {
    .logo-img {
        height: 36px;
    }

    .shop-bar {
        margin-top: 10px;
    }

    .shop-bar-link {
        padding: 11px 10px;
        font-size: 14px;
    }

    .shop-bar-link.active::after {
        left: 10px;
        right: 10px;
    }

    .hub-hero {
        padding: 22px 0 16px;
    }

    .hub-hero h1 {
        font-size: 32px;
    }

    .hub-hero p {
        font-size: 15px;
    }

    .shop-tiles {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .shop-tile {
        aspect-ratio: 16 / 9;
    }

    .shop-tile-name {
        font-size: 22px;
    }

    .footer-sections {
        flex-direction: column;
    }
}

.sort-bar {
    display: flex;
    gap: 8px;
    margin: -4px 0 20px;
    padding: 2px 0 6px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.sort-bar::-webkit-scrollbar {
    display: none;
}

.sort-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex-shrink: 0;
    padding: 9px 15px 9px 12px;
    border: 1px solid #d1d5db;
    border-radius: 999px;
    background: #fff;
    color: #1f2937;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: border-color .15s, background .15s, color .15s;
}

.sort-chip svg {
    flex-shrink: 0;
    color: #6b7280;
    transition: color .15s;
}

.sort-chip:hover {
    border-color: #111;
}

.sort-chip:hover svg {
    color: #111;
}

.sort-chip.is-active {
    border-color: #000;
    background: #000;
    color: #fff;
}

.sort-chip.is-active svg {
    color: #fff;
}

.sort-chip:focus-visible {
    outline: 2px solid #000;
    outline-offset: 2px;
}

@media (max-width: 640px) {
    .sort-bar {
        margin: -6px -20px 16px;
        padding: 2px 20px 6px;
    }

    .sort-chip {
        padding: 8px 13px 8px 10px;
        font-size: 13.5px;
    }
}

@media (min-width: 769px) {
    #catalog {
        scroll-margin-top: 150px;
    }
}

.products-grid.is-loading {
    opacity: .4;
    pointer-events: none;
    transition: opacity .15s;
}

.products-grid {
    transition: opacity .2s;
}
