/* Toys Horizontal Section Base Styling */
.toys-hscroll-section {
    margin: 3rem 0;
    position: relative;
}

/* Mobile: overcome parent padding for edge-to-edge layout */
@media (max-width: 768px) {
    .toys-hscroll-section {
        margin-left: -2rem;
        margin-right: -2rem;
        width: calc(100% + 4rem);
    }
}

/* Toys Section Headers */
.toys-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: -0.8rem;
    padding: 0;
    position: relative;
}

.toys-section-title {
    font-family: var(--hms-font-display, "New Rocker", cursive);
    font-size: var(--hms-h1, 3rem);
    color: var(--hms-text-white, white);
    text-shadow: 4px 2px 0 var(--hms-text-black, #000000);
    -webkit-text-stroke: 1px var(--hms-text-black, #000000);
    letter-spacing: 0.8px;
    line-height: 1.2;
    margin: 0;
    text-align: left;
}

.toys-section-title a {
    color: inherit;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.toys-section-title a:hover {
    color: var(--hms-pink, #ff69b4);
    text-shadow: 
        4px 2px 0 var(--hms-text-black, #000000),
        0 0 20px var(--hms-pink, #ff69b4);
    transform: translateY(-2px);
}

/* Toys Scroll Container */
.toys-scroll-container {
    overflow: visible;
    position: relative;
    margin: 0;
    padding: 0;
}

.toys-horizontal-cards {
    display: flex;
    gap: 38px;
    padding: 45px 35px 60px 35px;
    overflow-x: auto;
    overflow-y: visible;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    box-sizing: border-box;
}

/* Hide scrollbar completely */
.toys-horizontal-cards::-webkit-scrollbar {
    display: none;
}

/* Toys Scroll Navigation Arrows */
.toys-scroll-nav {
    position: absolute;
    top: calc(50% - 10px);
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #ff69b4;
    font-size: 3rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 20;
    font-weight: bold;
    padding: 20px;
    min-width: 60px;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 
        -2px -2px 0 #000,
        2px -2px 0 #000,
        -2px 2px 0 #000,
        2px 2px 0 #000,
        -2px 0 0 #000,
        2px 0 0 #000,
        0 -2px 0 #000,
        0 2px 0 #000,
        0 0 15px rgba(255, 105, 180, 0.8);
}

/* Desktop: Make arrows 4.5rem and position higher */
@media (min-width: 769px) {
    .toys-scroll-nav {
        font-size: 4.5rem;
        min-width: 80px;
        min-height: 100px;
        top: calc(50% - 13px);
    }
}

.toys-scroll-nav:hover {
    color: #ff1493;
    transform: translateY(-50%) scale(1.2);
    text-shadow: 
        -2px -2px 0 #000,
        2px -2px 0 #000,
        -2px 2px 0 #000,
        2px 2px 0 #000,
        -2px 0 0 #000,
        2px 0 0 #000,
        0 -2px 0 #000,
        0 2px 0 #000,
        0 0 25px rgba(255, 105, 180, 1);
}

.toys-scroll-left {
    left: 10px;
}

.toys-scroll-right {
    right: 10px;
}

.toys-scroll-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Toy Card Specific Sizing - Keep 1:1 aspect ratio */
.toys-horizontal-cards > div {
    flex: 0 0 250px !important;
    width: 250px !important;
    height: 250px !important;
    margin: 0 !important;
    position: relative !important;
}



/* Mobile Optimizations */
@media (max-width: 768px) {
    .toys-hscroll-section {
        height: 45vh;
        min-height: 350px;
    }
    
    .toys-section-header {
        flex-direction: row;
        gap: 0.5rem;
        text-align: left;
        padding: 0 2rem;
        align-items: center;
        justify-content: flex-start;
    }
    
    .toys-section-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
        margin: 0;
        flex-shrink: 1;
    }
}
