/* =============================================
   KanvazoStudio — Shop Page Styles
   Additional styles for category pages
   ============================================= */

/* Shop Hero Banner */
.shop-hero {
    min-height: 35vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 2rem 4rem;
    position: relative;
    background:
        radial-gradient(ellipse 80% 60% at 50% 50%, rgba(232, 0, 61, 0.08) 0%, transparent 70%),
        linear-gradient(to bottom, rgba(13, 13, 13, 0.9), var(--ks-bg));
    overflow: hidden;
}

.shop-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-size: 180px 180px;
    opacity: 0.03;
    pointer-events: none;
}

.shop-hero-content {
    position: relative;
    z-index: 1;
}

.shop-hero-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(52px, 9vw, 100px);
    line-height: 0.9;
    color: #ffffff;
    margin: 0.25em 0 0.2em;
    letter-spacing: -0.01em;
}

.shop-hero-sub {
    color: var(--ks-muted);
    font-size: 15px;
    max-width: 480px;
    margin: 0 auto 1.5rem;
    line-height: 1.7;
}

.shop-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 12px;
    color: var(--ks-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.shop-breadcrumb a {
    color: var(--ks-cyan);
    transition: color 0.2s;
}

.shop-breadcrumb a:hover {
    color: var(--ks-red);
}

.shop-breadcrumb span:last-child {
    color: var(--ks-text);
}

/* Shop Section */
.shop-section {
    padding: 4rem 0 6rem;
}

/* Empty state */
.shop-empty {
    text-align: center;
    color: var(--ks-muted);
    font-size: 1rem;
    padding: 4rem 0;
    grid-column: 1 / -1;
}

/* ============================================
   PAGINATION
   ============================================ */
.shop-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 4rem;
    flex-wrap: wrap;
}

.page-btn {
    min-width: 44px;
    height: 44px;
    padding: 0 0.75rem;
    border: 1.5px solid var(--ks-border);
    background: transparent;
    color: var(--ks-muted);
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.18s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.page-btn:hover:not(.disabled):not(.active) {
    border-color: var(--ks-red);
    color: var(--ks-red);
    background: rgba(232, 0, 61, 0.06);
}

.page-btn.active {
    background: var(--ks-red);
    border-color: var(--ks-red);
    color: #ffffff;
    box-shadow: 0 0 20px rgba(232, 0, 61, 0.3);
}

.page-btn.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.page-ellipsis {
    color: var(--ks-muted);
    font-size: 14px;
    padding: 0 0.25rem;
    user-select: none;
}

/* ============================================
   NAV ACTIVE STATE (for shop pages)
   ============================================ */
.nav-active {
    color: var(--ks-red) !important;
    border-bottom: 2px solid var(--ks-red);
    padding-bottom: 2px;
}

/* ============================================
   LANDING: Category Preview (5-product mini carousel)
   ============================================ */
.category-preview {
    position: relative;
    overflow: hidden;
}

.category-preview-track {
    display: grid;
    grid-template-columns: repeat(5, minmax(220px, 1fr));
    gap: 1.5rem;
}

/* On mobile: scroll */
@media (max-width: 1100px) {
    .category-preview-track {
        grid-template-columns: repeat(3, minmax(200px, 1fr));
    }
}

@media (max-width: 700px) {
    .category-preview-track {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

/* "Ver Más" CTA for sections */
.section-see-more {
    text-align: center;
    margin-top: 2.5rem;
}

.btn-see-more {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 14px 36px;
    border: 1.5px solid var(--ks-red);
    background: transparent;
    color: var(--ks-red);
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: 100px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.btn-see-more::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--ks-red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 0;
}

.btn-see-more:hover::before {
    transform: scaleX(1);
}

.btn-see-more span,
.btn-see-more svg {
    position: relative;
    z-index: 1;
}

.btn-see-more:hover {
    color: #ffffff;
    box-shadow: 0 8px 30px rgba(232, 0, 61, 0.4);
}

/* ============================================
   CAROUSEL LANDING (auto-scroll strip)
   Keep existing carousel-wrapper but add pause on hover
   ============================================ */
.carousel-wrapper:hover .carousel-track {
    animation-play-state: paused;
}

/* ============================================
   HEADER FIXED ON SHOP PAGES
   ============================================ */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0;
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}