/* --- Routine Section --- */
.routine-section {
    padding: 30px 0;
    overflow: hidden;
}

.routine-header {
    background: #f5f5f5;
    border-radius: 8px;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.routine-title {
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0;
    color: #1a1a1a;
}

.routine-nav {
    display: flex;
    gap: 8px;
}

.routine-nav-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: #444;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.routine-nav-btn:hover {
    color: var(--primary);
}

.routine-wrapper {
    margin: 0 -7.5px;
    overflow: hidden;
}

.routine-track {
    display: flex;
    gap: 15px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.routine-item {
    flex: 0 0 calc((100% / 3) - 10px);
}

.routine-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.routine-image {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
    display: block;
}

.routine-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.routine-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff4d4d;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    z-index: 2;
}

.routine-info {
    padding: 12px;
}

.routine-prod-title {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 5px;
    line-height: 1.3;
}

.routine-prod-title a {
    color: #1a1a1a;
    text-decoration: none;
}

.routine-price {
    display: flex;
    gap: 8px;
    align-items: center;
}

.routine-price .price-new {
    color: #e60000;
    font-weight: 800;
    font-size: 14px;
}

.routine-price .price-old {
    color: #aaa;
    text-decoration: line-through;
    font-size: 11px;
}

@media (max-width: 768px) {
    .routine-item {
        flex: 0 0 100%;
    }
    .routine-header {
        border-radius: 6px;
        padding: 8px 12px;
    }
    .routine-title {
        font-size: 1rem;
    }
}
