body {
    background-color: #fcf9f8;
    -webkit-tap-highlight-color: transparent;
}

.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.po-card-shadow {
    box-shadow: 0 4px 12px rgba(169, 26, 0, 0.06);
}

/* Carrusel de categorías */
.po-categorias-track {
    scroll-snap-type: x proximity;
    scroll-padding-inline: 8px;
    -webkit-overflow-scrolling: touch;
    padding-inline: 2px;
    padding-top: 4px;
}

.po-cat-pill {
    cursor: pointer;
    flex-shrink: 0;
    scroll-snap-align: start;
    border: 1.5px solid rgba(231, 189, 181, 0.75);
    box-shadow: 0 2px 6px rgba(169, 26, 0, 0.1);
    touch-action: manipulation;
    user-select: none;
}

.po-cat-pill:not(.po-active-pill):hover {
    border-color: rgba(169, 26, 0, 0.45);
    box-shadow: 0 4px 10px rgba(169, 26, 0, 0.16);
    transform: translateY(-1px);
}

.po-cat-pill:active {
    transform: scale(0.96);
}

.po-cat-pill:focus-visible {
    outline: 2px solid #a91a00;
    outline-offset: 2px;
}

.po-cat-pill.po-active-pill {
    background-color: #a91a00 !important;
    color: #ffffff !important;
    border-color: #a91a00 !important;
    box-shadow: 0 4px 14px rgba(169, 26, 0, 0.35);
}

.po-cat-pill.po-active-pill:hover {
    background-color: #a91a00 !important;
    opacity: 0.92;
    transform: translateY(-1px);
}

.po-cat-pill.po-active-pill .material-symbols-outlined,
.po-cat-pill.po-active-pill span {
    color: inherit;
}

.po-categorias-fade {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 36px;
    pointer-events: none;
    z-index: 2;
    opacity: 1;
    transition: opacity 0.25s ease;
}

.po-categorias-fade.hidden {
    opacity: 0;
}

.po-categorias-fade--left {
    left: 0;
    background: linear-gradient(to right, #fcf9f8 15%, rgba(252, 249, 248, 0.85) 45%, transparent);
}

.po-categorias-fade--right {
    right: 0;
    background: linear-gradient(to left, #fcf9f8 15%, rgba(252, 249, 248, 0.85) 45%, transparent);
}

.po-cat-hint {
    animation: po-cat-hint-pulse 2.2s ease-in-out infinite;
}

.po-cat-hint-icon {
    animation: po-cat-hint-swipe 1.8s ease-in-out infinite;
}

@keyframes po-cat-hint-pulse {
    0%,
    100% {
        opacity: 0.75;
    }
    50% {
        opacity: 1;
    }
}

@keyframes po-cat-hint-swipe {
    0%,
    100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(6px);
    }
}

.po-glass-header {
    background: rgba(252, 249, 248, 0.85);
    backdrop-filter: blur(12px);
}

.po-hero-gradient {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 60%, rgba(252, 249, 248, 1) 100%);
}

.material-symbols-outlined {
    font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

.po-page-wrap {
    width: 100%;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .po-page-wrap {
        max-width: 960px;
    }
}

@media (min-width: 1024px) {
    .po-page-wrap {
        max-width: 1100px;
    }
}

.po-product-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .po-product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .po-product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.po-img-placeholder {
    background: linear-gradient(135deg, #f0eded 0%, #e7bdb5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #926f68;
}

.po-cart-bar.hidden {
    display: none;
}

.po-product-card[data-hidden="true"] {
    display: none;
}
